236 lines
363 KiB
JavaScript
236 lines
363 KiB
JavaScript
var wq=Object.create;var{getPrototypeOf:Lq,defineProperty:JU,getOwnPropertyNames:Eq}=Object;var Vq=Object.prototype.hasOwnProperty;var K1=(T,L,N)=>{N=T!=null?wq(Lq(T)):{};let S=L||!T||!T.__esModule?JU(N,"default",{value:T,enumerable:!0}):N;for(let u of Eq(T))if(!Vq.call(S,u))JU(S,u,{get:()=>T[u],enumerable:!0});return S};var y6=(T,L)=>()=>(L||T((L={exports:{}}).exports,L),L.exports);var W2=y6((Dq,w3)=>{(function(){function T(z,K){Object.defineProperty(S.prototype,z,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",K[0],K[1])}})}function L(z){if(z===null||typeof z!=="object")return null;return z=e0&&z[e0]||z["@@iterator"],typeof z==="function"?z:null}function N(z,K){z=(z=z.constructor)&&(z.displayName||z.name)||"ReactClass";var C=z+"."+K;_4[C]||(console.error("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.",K,z),_4[C]=!0)}function S(z,K,C){this.props=z,this.context=K,this.refs=n4,this.updater=C||i8}function u(){}function d(z,K,C){this.props=z,this.context=K,this.refs=n4,this.updater=C||i8}function s(z){return""+z}function p(z){try{s(z);var K=!1}catch(h){K=!0}if(K){K=console;var C=K.error,D=typeof Symbol==="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object";return C.call(K,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",D),s(z)}}function x(z){if(z==null)return null;if(typeof z==="function")return z.$$typeof===d6?null:z.displayName||z.name||null;if(typeof z==="string")return z;switch(z){case _1:return"Fragment";case a:return"Profiler";case w:return"StrictMode";case t1:return"Suspense";case C4:return"SuspenseList";case P4:return"Activity"}if(typeof z==="object")switch(typeof z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case n:return"Portal";case r:return(z.displayName||"Context")+".Provider";case q1:return(z._context.displayName||"Context")+".Consumer";case l1:var K=z.render;return z=z.displayName,z||(z=K.displayName||K.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case I1:return K=z.displayName||null,K!==null?K:x(z.type)||"Memo";case m1:K=z._payload,z=z._init;try{return x(z(K))}catch(C){}}return null}function F1(z){if(z===_1)return"<>";if(typeof z==="object"&&z!==null&&z.$$typeof===m1)return"<...>";try{var K=x(z);return K?"<"+K+">":"<...>"}catch(C){return"<...>"}}function V(){var z=G1.A;return z===null?null:z.getOwner()}function P(){return Error("react-stack-top-frame")}function g(z){if(l6.call(z,"key")){var K=Object.getOwnPropertyDescriptor(z,"key").get;if(K&&K.isReactWarning)return!1}return z.key!==void 0}function W1(z,K){function C(){HH||(HH=!0,console.error("%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://react.dev/link/special-props)",K))}C.isReactWarning=!0,Object.defineProperty(z,"key",{get:C,configurable:!0})}function z0(){var z=x(this.type);return j2[z]||(j2[z]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),z=this.props.ref,z!==void 0?z:null}function g1(z,K,C,D,h,M1,i,T1){return C=M1.ref,z={$$typeof:c,type:z,key:K,props:M1,_owner:h},(C!==void 0?C:null)!==null?Object.defineProperty(z,"ref",{enumerable:!1,get:z0}):Object.defineProperty(z,"ref",{enumerable:!1,value:null}),z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(z,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(z,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(z,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:T1}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z}function k1(z,K){return K=g1(z.type,K,void 0,void 0,z._owner,z.props,z._debugStack,z._debugTask),z._store&&(K._store.validated=z._store.validated),K}function G0(z){return typeof z==="object"&&z!==null&&z.$$typeof===c}function t0(z){var K={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(C){return K[C]})}function D0(z,K){return typeof z==="object"&&z!==null&&z.key!=null?(p(z.key),t0(""+z.key)):K.toString(36)}function N4(){}function r4(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status==="string"?z.then(N4,N4):(z.status="pending",z.then(function(K){z.status==="pending"&&(z.status="fulfilled",z.value=K)},function(K){z.status==="pending"&&(z.status="rejected",z.reason=K)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function n1(z,K,C,D,h){var M1=typeof z;if(M1==="undefined"||M1==="boolean")z=null;var i=!1;if(z===null)i=!0;else switch(M1){case"bigint":case"string":case"number":i=!0;break;case"object":switch(z.$$typeof){case c:case n:i=!0;break;case m1:return i=z._init,n1(i(z._payload),K,C,D,h)}}if(i){i=z,h=h(i);var T1=D===""?"."+D0(i,0):D;return x4(h)?(C="",T1!=null&&(C=T1.replace(c6,"$&/")+"/"),n1(h,K,C,"",function(u0){return u0})):h!=null&&(G0(h)&&(h.key!=null&&(i&&i.key===h.key||p(h.key)),C=k1(h,C+(h.key==null||i&&i.key===h.key?"":(""+h.key).replace(c6,"$&/")+"/")+T1),D!==""&&i!=null&&G0(i)&&i.key==null&&i._store&&!i._store.validated&&(C._store.validated=2),h=C),K.push(h)),1}if(i=0,T1=D===""?".":D+":",x4(z))for(var Z1=0;Z1<z.length;Z1++)D=z[Z1],M1=T1+D0(D,Z1),i+=n1(D,K,C,M1,h);else if(Z1=L(z),typeof Z1==="function")for(Z1===z.entries&&(MH||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),MH=!0),z=Z1.call(z),Z1=0;!(D=z.next()).done;)D=D.value,M1=T1+D0(D,Z1++),i+=n1(D,K,C,M1,h);else if(M1==="object"){if(typeof z.then==="function")return n1(r4(z),K,C,D,h);throw K=String(z),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return i}function w1(z,K,C){if(z==null)return z;var D=[],h=0;return n1(z,D,"","",function(M1){return K.call(C,M1,h++)}),D}function f0(z){if(z._status===-1){var K=z._result;K=K(),K.then(function(C){if(z._status===0||z._status===-1)z._status=1,z._result=C},function(C){if(z._status===0||z._status===-1)z._status=2,z._result=C}),z._status===-1&&(z._status=0,z._result=K)}if(z._status===1)return K=z._result,K===void 0&&console.error(`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?`,K),"default"in K||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
|
|
Your code should look like:
|
|
const MyComponent = lazy(() => import('./MyComponent'))`,K),K.default;throw z._result}function y(){var z=G1.H;return z===null&&console.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://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),z}function i1(){}function L1(z){if(A2===null)try{var K=("require"+Math.random()).slice(0,7);A2=(w3&&w3[K]).call(w3,"timers").setImmediate}catch(C){A2=function(D){GH===!1&&(GH=!0,typeof MessageChannel>"u"&&console.error("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 h=new MessageChannel;h.port1.onmessage=D,h.port2.postMessage(void 0)}}return A2(z)}function Q1(z){return 1<z.length&&typeof AggregateError==="function"?AggregateError(z):z[0]}function X0(z,K){K!==e2-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),e2=K}function m0(z,K,C){var D=G1.actQueue;if(D!==null)if(D.length!==0)try{b(D),L1(function(){return m0(z,K,C)});return}catch(h){G1.thrownErrors.push(h)}else G1.actQueue=null;0<G1.thrownErrors.length?(D=Q1(G1.thrownErrors),G1.thrownErrors.length=0,C(D)):K(z)}function b(z){if(!H6){H6=!0;var K=0;try{for(;K<z.length;K++){var C=z[K];do{G1.didUsePromise=!1;var D=C(!1);if(D!==null){if(G1.didUsePromise){z[K]=C,z.splice(0,K);return}C=D}else break}while(1)}z.length=0}catch(h){z.splice(0,K+1),G1.thrownErrors.push(h)}finally{H6=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),_1=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),q1=Symbol.for("react.consumer"),r=Symbol.for("react.context"),l1=Symbol.for("react.forward_ref"),t1=Symbol.for("react.suspense"),C4=Symbol.for("react.suspense_list"),I1=Symbol.for("react.memo"),m1=Symbol.for("react.lazy"),P4=Symbol.for("react.activity"),e0=Symbol.iterator,_4={},i8={isMounted:function(){return!1},enqueueForceUpdate:function(z){N(z,"forceUpdate")},enqueueReplaceState:function(z){N(z,"replaceState")},enqueueSetState:function(z){N(z,"setState")}},t8=Object.assign,n4={};Object.freeze(n4),S.prototype.isReactComponent={},S.prototype.setState=function(z,K){if(typeof z!=="object"&&typeof z!=="function"&&z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,K,"setState")},S.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};var N0={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)."]},h6;for(h6 in N0)N0.hasOwnProperty(h6)&&T(h6,N0[h6]);u.prototype=S.prototype,N0=d.prototype=new u,N0.constructor=d,t8(N0,S.prototype),N0.isPureReactComponent=!0;var x4=Array.isArray,d6=Symbol.for("react.client.reference"),G1={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},l6=Object.prototype.hasOwnProperty,e8=console.createTask?console.createTask:function(){return null};N0={react_stack_bottom_frame:function(z){return z()}};var HH,p6,j2={},E3=N0.react_stack_bottom_frame.bind(N0,P)(),DM=e8(F1(P)),MH=!1,c6=/\/+/g,$H=typeof reportError==="function"?reportError:function(z){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(K))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",z);return}console.error(z)},GH=!1,A2=null,e2=0,s6=!1,H6=!1,i4=typeof queueMicrotask==="function"?function(z){queueMicrotask(function(){return queueMicrotask(z)})}:L1;N0=Object.freeze({__proto__:null,c:function(z){return y().useMemoCache(z)}}),Dq.Children={map:w1,forEach:function(z,K,C){w1(z,function(){K.apply(this,arguments)},C)},count:function(z){var K=0;return w1(z,function(){K++}),K},toArray:function(z){return w1(z,function(K){return K})||[]},only:function(z){if(!G0(z))throw Error("React.Children.only expected to receive a single React element child.");return z}},Dq.Component=S,Dq.Fragment=_1,Dq.Profiler=a,Dq.PureComponent=d,Dq.StrictMode=w,Dq.Suspense=t1,Dq.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=G1,Dq.__COMPILER_RUNTIME=N0,Dq.act=function(z){var K=G1.actQueue,C=e2;e2++;var D=G1.actQueue=K!==null?K:[],h=!1;try{var M1=z()}catch(Z1){G1.thrownErrors.push(Z1)}if(0<G1.thrownErrors.length)throw X0(K,C),z=Q1(G1.thrownErrors),G1.thrownErrors.length=0,z;if(M1!==null&&typeof M1==="object"&&typeof M1.then==="function"){var i=M1;return i4(function(){h||s6||(s6=!0,console.error("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 () => ...);"))}),{then:function(Z1,u0){h=!0,i.then(function(T4){if(X0(K,C),C===0){try{b(D),L1(function(){return m0(T4,Z1,u0)})}catch(NM){G1.thrownErrors.push(NM)}if(0<G1.thrownErrors.length){var I4=Q1(G1.thrownErrors);G1.thrownErrors.length=0,u0(I4)}}else Z1(T4)},function(T4){X0(K,C),0<G1.thrownErrors.length?(T4=Q1(G1.thrownErrors),G1.thrownErrors.length=0,u0(T4)):u0(T4)})}}}var T1=M1;if(X0(K,C),C===0&&(b(D),D.length!==0&&i4(function(){h||s6||(s6=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),G1.actQueue=null),0<G1.thrownErrors.length)throw z=Q1(G1.thrownErrors),G1.thrownErrors.length=0,z;return{then:function(Z1,u0){h=!0,C===0?(G1.actQueue=D,L1(function(){return m0(T1,Z1,u0)})):Z1(T1)}}},Dq.cache=function(z){return function(){return z.apply(null,arguments)}},Dq.captureOwnerStack=function(){var z=G1.getCurrentStack;return z===null?null:z()},Dq.cloneElement=function(z,K,C){if(z===null||z===void 0)throw Error("The argument must be a React element, but you passed "+z+".");var D=t8({},z.props),h=z.key,M1=z._owner;if(K!=null){var i;H:{if(l6.call(K,"ref")&&(i=Object.getOwnPropertyDescriptor(K,"ref").get)&&i.isReactWarning){i=!1;break H}i=K.ref!==void 0}i&&(M1=V()),g(K)&&(p(K.key),h=""+K.key);for(T1 in K)!l6.call(K,T1)||T1==="key"||T1==="__self"||T1==="__source"||T1==="ref"&&K.ref===void 0||(D[T1]=K[T1])}var T1=arguments.length-2;if(T1===1)D.children=C;else if(1<T1){i=Array(T1);for(var Z1=0;Z1<T1;Z1++)i[Z1]=arguments[Z1+2];D.children=i}D=g1(z.type,h,void 0,void 0,M1,D,z._debugStack,z._debugTask);for(h=2;h<arguments.length;h++)M1=arguments[h],G0(M1)&&M1._store&&(M1._store.validated=1);return D},Dq.createContext=function(z){return z={$$typeof:r,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:q1,_context:z},z._currentRenderer=null,z._currentRenderer2=null,z},Dq.createElement=function(z,K,C){for(var D=2;D<arguments.length;D++){var h=arguments[D];G0(h)&&h._store&&(h._store.validated=1)}if(D={},h=null,K!=null)for(Z1 in p6||!("__self"in K)||"key"in K||(p6=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),g(K)&&(p(K.key),h=""+K.key),K)l6.call(K,Z1)&&Z1!=="key"&&Z1!=="__self"&&Z1!=="__source"&&(D[Z1]=K[Z1]);var M1=arguments.length-2;if(M1===1)D.children=C;else if(1<M1){for(var i=Array(M1),T1=0;T1<M1;T1++)i[T1]=arguments[T1+2];Object.freeze&&Object.freeze(i),D.children=i}if(z&&z.defaultProps)for(Z1 in M1=z.defaultProps,M1)D[Z1]===void 0&&(D[Z1]=M1[Z1]);h&&W1(D,typeof z==="function"?z.displayName||z.name||"Unknown":z);var Z1=1e4>G1.recentlyCreatedOwnerStacks++;return g1(z,h,void 0,void 0,V(),D,Z1?Error("react-stack-top-frame"):E3,Z1?e8(F1(z)):DM)},Dq.createRef=function(){var z={current:null};return Object.seal(z),z},Dq.forwardRef=function(z){z!=null&&z.$$typeof===I1?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof z!=="function"?console.error("forwardRef requires a render function but was given %s.",z===null?"null":typeof z):z.length!==0&&z.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",z.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),z!=null&&z.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var K={$$typeof:l1,render:z},C;return Object.defineProperty(K,"displayName",{enumerable:!1,configurable:!0,get:function(){return C},set:function(D){C=D,z.name||z.displayName||(Object.defineProperty(z,"name",{value:D}),z.displayName=D)}}),K},Dq.isValidElement=G0,Dq.lazy=function(z){return{$$typeof:m1,_payload:{_status:-1,_result:z},_init:f0}},Dq.memo=function(z,K){z==null&&console.error("memo: The first argument must be a component. Instead received: %s",z===null?"null":typeof z),K={$$typeof:I1,type:z,compare:K===void 0?null:K};var C;return Object.defineProperty(K,"displayName",{enumerable:!1,configurable:!0,get:function(){return C},set:function(D){C=D,z.name||z.displayName||(Object.defineProperty(z,"name",{value:D}),z.displayName=D)}}),K},Dq.startTransition=function(z){var K=G1.T,C={};G1.T=C,C._updatedFibers=new Set;try{var D=z(),h=G1.S;h!==null&&h(C,D),typeof D==="object"&&D!==null&&typeof D.then==="function"&&D.then(i1,$H)}catch(M1){$H(M1)}finally{K===null&&C._updatedFibers&&(z=C._updatedFibers.size,C._updatedFibers.clear(),10<z&&console.warn("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.")),G1.T=K}},Dq.unstable_useCacheRefresh=function(){return y().useCacheRefresh()},Dq.use=function(z){return y().use(z)},Dq.useActionState=function(z,K,C){return y().useActionState(z,K,C)},Dq.useCallback=function(z,K){return y().useCallback(z,K)},Dq.useContext=function(z){var K=y();return z.$$typeof===q1&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),K.useContext(z)},Dq.useDebugValue=function(z,K){return y().useDebugValue(z,K)},Dq.useDeferredValue=function(z,K){return y().useDeferredValue(z,K)},Dq.useEffect=function(z,K,C){z==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var D=y();if(typeof C==="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return D.useEffect(z,K)},Dq.useId=function(){return y().useId()},Dq.useImperativeHandle=function(z,K,C){return y().useImperativeHandle(z,K,C)},Dq.useInsertionEffect=function(z,K){return z==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),y().useInsertionEffect(z,K)},Dq.useLayoutEffect=function(z,K){return z==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),y().useLayoutEffect(z,K)},Dq.useMemo=function(z,K){return y().useMemo(z,K)},Dq.useOptimistic=function(z,K){return y().useOptimistic(z,K)},Dq.useReducer=function(z,K,C){return y().useReducer(z,K,C)},Dq.useRef=function(z){return y().useRef(z)},Dq.useState=function(z){return y().useState(z)},Dq.useSyncExternalStore=function(z,K,C){return y().useSyncExternalStore(z,K,C)},Dq.useTransition=function(){return y().useTransition()},Dq.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var BU=y6((Nq)=>{(function(){function T(){if(N4=!1,f0){var b=Nq.unstable_now();L1=b;var c=!0;try{H:{t0=!1,D0&&(D0=!1,n1(y),y=-1),G0=!0;var n=k1;try{M:{d(b);for(g1=N(g);g1!==null&&!(g1.expirationTime>b&&p());){var _1=g1.callback;if(typeof _1==="function"){g1.callback=null,k1=g1.priorityLevel;var w=_1(g1.expirationTime<=b);if(b=Nq.unstable_now(),typeof w==="function"){g1.callback=w,d(b),c=!0;break M}g1===N(g)&&S(g),d(b)}else S(g);g1=N(g)}if(g1!==null)c=!0;else{var a=N(W1);a!==null&&x(s,a.startTime-b),c=!1}}break H}finally{g1=null,k1=n,G0=!1}c=void 0}}finally{c?Q1():f0=!1}}}function L(b,c){var n=b.length;b.push(c);H:for(;0<n;){var _1=n-1>>>1,w=b[_1];if(0<u(w,c))b[_1]=c,b[n]=w,n=_1;else break H}}function N(b){return b.length===0?null:b[0]}function S(b){if(b.length===0)return null;var c=b[0],n=b.pop();if(n!==c){b[0]=n;H:for(var _1=0,w=b.length,a=w>>>1;_1<a;){var q1=2*(_1+1)-1,r=b[q1],l1=q1+1,t1=b[l1];if(0>u(r,n))l1<w&&0>u(t1,r)?(b[_1]=t1,b[l1]=n,_1=l1):(b[_1]=r,b[q1]=n,_1=q1);else if(l1<w&&0>u(t1,n))b[_1]=t1,b[l1]=n,_1=l1;else break H}}return c}function u(b,c){var n=b.sortIndex-c.sortIndex;return n!==0?n:b.id-c.id}function d(b){for(var c=N(W1);c!==null;){if(c.callback===null)S(W1);else if(c.startTime<=b)S(W1),c.sortIndex=c.expirationTime,L(g,c);else break;c=N(W1)}}function s(b){if(D0=!1,d(b),!t0)if(N(g)!==null)t0=!0,f0||(f0=!0,Q1());else{var c=N(W1);c!==null&&x(s,c.startTime-b)}}function p(){return N4?!0:Nq.unstable_now()-L1<i1?!1:!0}function x(b,c){y=r4(function(){b(Nq.unstable_now())},c)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Nq.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var F1=performance;Nq.unstable_now=function(){return F1.now()}}else{var V=Date,P=V.now();Nq.unstable_now=function(){return V.now()-P}}var g=[],W1=[],z0=1,g1=null,k1=3,G0=!1,t0=!1,D0=!1,N4=!1,r4=typeof setTimeout==="function"?setTimeout:null,n1=typeof clearTimeout==="function"?clearTimeout:null,w1=typeof setImmediate<"u"?setImmediate:null,f0=!1,y=-1,i1=5,L1=-1;if(typeof w1==="function")var Q1=function(){w1(T)};else if(typeof MessageChannel<"u"){var X0=new MessageChannel,m0=X0.port2;X0.port1.onmessage=T,Q1=function(){m0.postMessage(null)}}else Q1=function(){r4(T,0)};Nq.unstable_IdlePriority=5,Nq.unstable_ImmediatePriority=1,Nq.unstable_LowPriority=4,Nq.unstable_NormalPriority=3,Nq.unstable_Profiling=null,Nq.unstable_UserBlockingPriority=2,Nq.unstable_cancelCallback=function(b){b.callback=null},Nq.unstable_forceFrameRate=function(b){0>b||125<b?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):i1=0<b?Math.floor(1000/b):5},Nq.unstable_getCurrentPriorityLevel=function(){return k1},Nq.unstable_next=function(b){switch(k1){case 1:case 2:case 3:var c=3;break;default:c=k1}var n=k1;k1=c;try{return b()}finally{k1=n}},Nq.unstable_requestPaint=function(){N4=!0},Nq.unstable_runWithPriority=function(b,c){switch(b){case 1:case 2:case 3:case 4:case 5:break;default:b=3}var n=k1;k1=b;try{return c()}finally{k1=n}},Nq.unstable_scheduleCallback=function(b,c,n){var _1=Nq.unstable_now();switch(typeof n==="object"&&n!==null?(n=n.delay,n=typeof n==="number"&&0<n?_1+n:_1):n=_1,b){case 1:var w=-1;break;case 2:w=250;break;case 5:w=1073741823;break;case 4:w=1e4;break;default:w=5000}return w=n+w,b={id:z0++,callback:c,priorityLevel:b,startTime:n,expirationTime:w,sortIndex:-1},n>_1?(b.sortIndex=n,L(W1,b),N(g)===null&&b===N(W1)&&(D0?(n1(y),y=-1):D0=!0,x(s,n-_1))):(b.sortIndex=w,L(g,b),t0||G0||(t0=!0,f0||(f0=!0,Q1()))),b},Nq.unstable_shouldYield=p,Nq.unstable_wrapCallback=function(b){var c=k1;return function(){var n=k1;k1=c;try{return b.apply(this,arguments)}finally{k1=n}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var RU=y6((Cq)=>{var r$=K1(W2());(function(){function T(){}function L(V){return""+V}function N(V,P,g){var W1=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{L(W1);var z0=!1}catch(g1){z0=!0}return z0&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&W1[Symbol.toStringTag]||W1.constructor.name||"Object"),L(W1)),{$$typeof:x,key:W1==null?null:""+W1,children:V,containerInfo:P,implementation:g}}function S(V,P){if(V==="font")return"";if(typeof P==="string")return P==="use-credentials"?P:""}function u(V){return V===null?"`null`":V===void 0?"`undefined`":V===""?"an empty string":'something with type "'+typeof V+'"'}function d(V){return V===null?"`null`":V===void 0?"`undefined`":V===""?"an empty string":typeof V==="string"?JSON.stringify(V):typeof V==="number"?"`"+V+"`":'something with type "'+typeof V+'"'}function s(){var V=F1.H;return V===null&&console.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://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),V}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var p={d:{f:T,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:T,C:T,L:T,m:T,X:T,S:T,M:T},p:0,findDOMNode:null},x=Symbol.for("react.portal"),F1=r$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;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"||console.error("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"),Cq.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=p,Cq.createPortal=function(V,P){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!P||P.nodeType!==1&&P.nodeType!==9&&P.nodeType!==11)throw Error("Target container is not a DOM element.");return N(V,P,null,g)},Cq.flushSync=function(V){var P=F1.T,g=p.p;try{if(F1.T=null,p.p=2,V)return V()}finally{F1.T=P,p.p=g,p.d.f()&&console.error("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.")}},Cq.preconnect=function(V,P){typeof V==="string"&&V?P!=null&&typeof P!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",d(P)):P!=null&&typeof P.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",u(P.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(V)),typeof V==="string"&&(P?(P=P.crossOrigin,P=typeof P==="string"?P==="use-credentials"?P:"":void 0):P=null,p.d.C(V,P))},Cq.prefetchDNS=function(V){if(typeof V!=="string"||!V)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(V));else if(1<arguments.length){var P=arguments[1];typeof P==="object"&&P.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",d(P)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",d(P))}typeof V==="string"&&p.d.D(V)},Cq.preinit=function(V,P){if(typeof V==="string"&&V?P==null||typeof P!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",d(P)):P.as!=="style"&&P.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',d(P.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(V)),typeof V==="string"&&P&&typeof P.as==="string"){var g=P.as,W1=S(g,P.crossOrigin),z0=typeof P.integrity==="string"?P.integrity:void 0,g1=typeof P.fetchPriority==="string"?P.fetchPriority:void 0;g==="style"?p.d.S(V,typeof P.precedence==="string"?P.precedence:void 0,{crossOrigin:W1,integrity:z0,fetchPriority:g1}):g==="script"&&p.d.X(V,{crossOrigin:W1,integrity:z0,fetchPriority:g1,nonce:typeof P.nonce==="string"?P.nonce:void 0})}},Cq.preinitModule=function(V,P){var g="";if(typeof V==="string"&&V||(g+=" The `href` argument encountered was "+u(V)+"."),P!==void 0&&typeof P!=="object"?g+=" The `options` argument encountered was "+u(P)+".":P&&("as"in P)&&P.as!=="script"&&(g+=" The `as` option encountered was "+d(P.as)+"."),g)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",g);else switch(g=P&&typeof P.as==="string"?P.as:"script",g){case"script":break;default:g=d(g),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',g,V)}if(typeof V==="string")if(typeof P==="object"&&P!==null){if(P.as==null||P.as==="script")g=S(P.as,P.crossOrigin),p.d.M(V,{crossOrigin:g,integrity:typeof P.integrity==="string"?P.integrity:void 0,nonce:typeof P.nonce==="string"?P.nonce:void 0})}else P==null&&p.d.M(V)},Cq.preload=function(V,P){var g="";if(typeof V==="string"&&V||(g+=" The `href` argument encountered was "+u(V)+"."),P==null||typeof P!=="object"?g+=" The `options` argument encountered was "+u(P)+".":typeof P.as==="string"&&P.as||(g+=" The `as` option encountered was "+u(P.as)+"."),g&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',g),typeof V==="string"&&typeof P==="object"&&P!==null&&typeof P.as==="string"){g=P.as;var W1=S(g,P.crossOrigin);p.d.L(V,g,{crossOrigin:W1,integrity:typeof P.integrity==="string"?P.integrity:void 0,nonce:typeof P.nonce==="string"?P.nonce:void 0,type:typeof P.type==="string"?P.type:void 0,fetchPriority:typeof P.fetchPriority==="string"?P.fetchPriority:void 0,referrerPolicy:typeof P.referrerPolicy==="string"?P.referrerPolicy:void 0,imageSrcSet:typeof P.imageSrcSet==="string"?P.imageSrcSet:void 0,imageSizes:typeof P.imageSizes==="string"?P.imageSizes:void 0,media:typeof P.media==="string"?P.media:void 0})}},Cq.preloadModule=function(V,P){var g="";typeof V==="string"&&V||(g+=" The `href` argument encountered was "+u(V)+"."),P!==void 0&&typeof P!=="object"?g+=" The `options` argument encountered was "+u(P)+".":P&&("as"in P)&&typeof P.as!=="string"&&(g+=" The `as` option encountered was "+u(P.as)+"."),g&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',g),typeof V==="string"&&(P?(g=S(P.as,P.crossOrigin),p.d.m(V,{as:typeof P.as==="string"&&P.as!=="script"?P.as:void 0,crossOrigin:g,integrity:typeof P.integrity==="string"?P.integrity:void 0})):p.d.m(V))},Cq.requestFormReset=function(V){p.d.r(V)},Cq.unstable_batchedUpdates=function(V,P){return V(P)},Cq.useFormState=function(V,P,g){return s().useFormState(V,P,g)},Cq.useFormStatus=function(){return s().useHostTransitionStatus()},Cq.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var KU=y6((jO,qU)=>{var xq=K1(RU());qU.exports=xq});var OU=y6((vq)=>{var P1=K1(BU()),a8=K1(W2()),n$=K1(KU());(function(){function T(H,M){for(H=H.memoizedState;H!==null&&0<M;)H=H.next,M--;return H}function L(H,M,$,G){if($>=M.length)return G;var X=M[$],Z=R0(H)?H.slice():Y1({},H);return Z[X]=L(H[X],M,$+1,G),Z}function N(H,M,$){if(M.length!==$.length)console.warn("copyWithRename() expects paths of the same length");else{for(var G=0;G<$.length-1;G++)if(M[G]!==$[G]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return S(H,M,$,0)}}function S(H,M,$,G){var X=M[G],Z=R0(H)?H.slice():Y1({},H);return G+1===M.length?(Z[$[G]]=Z[X],R0(Z)?Z.splice(X,1):delete Z[X]):Z[X]=S(H[X],M,$,G+1),Z}function u(H,M,$){var G=M[$],X=R0(H)?H.slice():Y1({},H);if($+1===M.length)return R0(X)?X.splice(G,1):delete X[G],X;return X[G]=u(H[G],M,$+1),X}function d(){return!1}function s(){return null}function p(){}function x(){console.error("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://react.dev/link/rules-of-hooks")}function F1(){console.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().")}function V(){}function P(H){var M=[];return H.forEach(function($){M.push($)}),M.sort().join(", ")}function g(H,M,$,G){return new AJ(H,M,$,G)}function W1(H,M){H.context===m2&&(j9(H.current,2,M,H,null,null),G8())}function z0(H,M){if(Y4!==null){var $=M.staleFamilies;M=M.updatedFamilies,NH(),h3(H.current,M,$),G8()}}function g1(H){Y4=H}function k1(H){return!(!H||H.nodeType!==1&&H.nodeType!==9&&H.nodeType!==11)}function G0(H){var M=H,$=H;if(H.alternate)for(;M.return;)M=M.return;else{H=M;do M=H,(M.flags&4098)!==0&&($=M.return),H=M.return;while(H)}return M.tag===3?$:null}function t0(H){if(H.tag===13){var M=H.memoizedState;if(M===null&&(H=H.alternate,H!==null&&(M=H.memoizedState)),M!==null)return M.dehydrated}return null}function D0(H){if(G0(H)!==H)throw Error("Unable to find node on an unmounted component.")}function N4(H){var M=H.alternate;if(!M){if(M=G0(H),M===null)throw Error("Unable to find node on an unmounted component.");return M!==H?null:H}for(var $=H,G=M;;){var X=$.return;if(X===null)break;var Z=X.alternate;if(Z===null){if(G=X.return,G!==null){$=G;continue}break}if(X.child===Z.child){for(Z=X.child;Z;){if(Z===$)return D0(X),H;if(Z===G)return D0(X),M;Z=Z.sibling}throw Error("Unable to find node on an unmounted component.")}if($.return!==G.return)$=X,G=Z;else{for(var Y=!1,Q=X.child;Q;){if(Q===$){Y=!0,$=X,G=Z;break}if(Q===G){Y=!0,G=X,$=Z;break}Q=Q.sibling}if(!Y){for(Q=Z.child;Q;){if(Q===$){Y=!0,$=Z,G=X;break}if(Q===G){Y=!0,G=Z,$=X;break}Q=Q.sibling}if(!Y)throw 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($.alternate!==G)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if($.tag!==3)throw Error("Unable to find node on an unmounted component.");return $.stateNode.current===$?H:M}function r4(H){var M=H.tag;if(M===5||M===26||M===27||M===6)return H;for(H=H.child;H!==null;){if(M=r4(H),M!==null)return M;H=H.sibling}return null}function n1(H){if(H===null||typeof H!=="object")return null;return H=vY&&H[vY]||H["@@iterator"],typeof H==="function"?H:null}function w1(H){if(H==null)return null;if(typeof H==="function")return H.$$typeof===fB?null:H.displayName||H.name||null;if(typeof H==="string")return H;switch(H){case J8:return"Fragment";case D9:return"Profiler";case C5:return"StrictMode";case C9:return"Suspense";case x9:return"SuspenseList";case v9:return"Activity"}if(typeof H==="object")switch(typeof H.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),H.$$typeof){case U8:return"Portal";case m4:return(H.displayName||"Context")+".Provider";case N9:return(H._context.displayName||"Context")+".Consumer";case fH:var M=H.render;return H=H.displayName,H||(H=M.displayName||M.name||"",H=H!==""?"ForwardRef("+H+")":"ForwardRef"),H;case x5:return M=H.displayName||null,M!==null?M:w1(H.type)||"Memo";case s0:M=H._payload,H=H._init;try{return w1(H(M))}catch($){}}return null}function f0(H){return typeof H.tag==="number"?y(H):typeof H.name==="string"?H.name:null}function y(H){var M=H.type;switch(H.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(M._context.displayName||"Context")+".Consumer";case 10:return(M.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return H=M.render,H=H.displayName||H.name||"",M.displayName||(H!==""?"ForwardRef("+H+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return M;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return w1(M);case 8:return M===C5?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof M==="function")return M.displayName||M.name||null;if(typeof M==="string")return M;break;case 29:if(M=H._debugInfo,M!=null){for(var $=M.length-1;0<=$;$--)if(typeof M[$].name==="string")return M[$].name}if(H.return!==null)return y(H.return)}return null}function i1(H){return{current:H}}function L1(H,M){0>Q2?console.error("Unexpected pop."):(M!==b9[Q2]&&console.error("Unexpected Fiber popped."),H.current=S9[Q2],S9[Q2]=null,b9[Q2]=null,Q2--)}function Q1(H,M,$){Q2++,S9[Q2]=H.current,b9[Q2]=$,H.current=M}function X0(H){return H===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),H}function m0(H,M){Q1(g2,M,H),Q1(mH,H,H),Q1(b2,null,H);var $=M.nodeType;switch($){case 9:case 11:$=$===9?"#document":"#fragment",M=(M=M.documentElement)?(M=M.namespaceURI)?YY(M):T2:T2;break;default:if($=M.tagName,M=M.namespaceURI)M=YY(M),M=QY(M,$);else switch($){case"svg":M=c8;break;case"math":M=_3;break;default:M=T2}}$=$.toLowerCase(),$=PG(null,$),$={context:M,ancestorInfo:$},L1(b2,H),Q1(b2,$,H)}function b(H){L1(b2,H),L1(mH,H),L1(g2,H)}function c(){return X0(b2.current)}function n(H){H.memoizedState!==null&&Q1(v5,H,H);var M=X0(b2.current),$=H.type,G=QY(M.context,$);$=PG(M.ancestorInfo,$),G={context:G,ancestorInfo:$},M!==G&&(Q1(mH,H,H),Q1(b2,G,H))}function _1(H){mH.current===H&&(L1(b2,H),L1(mH,H)),v5.current===H&&(L1(v5,H),AM._currentValue=k6)}function w(H){return typeof Symbol==="function"&&Symbol.toStringTag&&H[Symbol.toStringTag]||H.constructor.name||"Object"}function a(H){try{return q1(H),!1}catch(M){return!0}}function q1(H){return""+H}function r(H,M){if(a(H))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",M,w(H)),q1(H)}function l1(H,M){if(a(H))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",M,w(H)),q1(H)}function t1(H){if(a(H))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",w(H)),q1(H)}function C4(H){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var M=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(M.isDisabled)return!0;if(!M.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{R8=M.inject(H),_0=M}catch($){console.error("React instrumentation encountered an error: %s.",$)}return M.checkDCE?!0:!1}function I1(H){if(typeof cB==="function"&&sB(H),_0&&typeof _0.setStrictMode==="function")try{_0.setStrictMode(R8,H)}catch(M){h4||(h4=!0,console.error("React instrumentation encountered an error: %s",M))}}function m1(H){k=H}function P4(){k!==null&&typeof k.markCommitStopped==="function"&&k.markCommitStopped()}function e0(H){k!==null&&typeof k.markComponentRenderStarted==="function"&&k.markComponentRenderStarted(H)}function _4(){k!==null&&typeof k.markComponentRenderStopped==="function"&&k.markComponentRenderStopped()}function i8(H){k!==null&&typeof k.markRenderStarted==="function"&&k.markRenderStarted(H)}function t8(){k!==null&&typeof k.markRenderStopped==="function"&&k.markRenderStopped()}function n4(H,M){k!==null&&typeof k.markStateUpdateScheduled==="function"&&k.markStateUpdateScheduled(H,M)}function N0(H){return H>>>=0,H===0?32:31-(aB(H)/oB|0)|0}function h6(H){if(H&1)return"SyncHydrationLane";if(H&2)return"Sync";if(H&4)return"InputContinuousHydration";if(H&8)return"InputContinuous";if(H&16)return"DefaultHydration";if(H&32)return"Default";if(H&128)return"TransitionHydration";if(H&4194048)return"Transition";if(H&62914560)return"Retry";if(H&67108864)return"SelectiveHydration";if(H&134217728)return"IdleHydration";if(H&268435456)return"Idle";if(H&536870912)return"Offscreen";if(H&1073741824)return"Deferred"}function x4(H){var M=H&42;if(M!==0)return M;switch(H&-H){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return H&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return H&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),H}}function d6(H,M,$){var G=H.pendingLanes;if(G===0)return 0;var X=0,Z=H.suspendedLanes,Y=H.pingedLanes;H=H.warmLanes;var Q=G&134217727;return Q!==0?(G=Q&~Z,G!==0?X=x4(G):(Y&=Q,Y!==0?X=x4(Y):$||($=Q&~H,$!==0&&(X=x4($))))):(Q=G&~Z,Q!==0?X=x4(Q):Y!==0?X=x4(Y):$||($=G&~H,$!==0&&(X=x4($)))),X===0?0:M!==0&&M!==X&&(M&Z)===0&&(Z=X&-X,$=M&-M,Z>=$||Z===32&&($&4194048)!==0)?M:X}function G1(H,M){return(H.pendingLanes&~(H.suspendedLanes&~H.pingedLanes)&M)===0}function l6(H,M){switch(H){case 1:case 2:case 4:case 8:case 64:return M+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return M+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function e8(){var H=S5;return S5<<=1,(S5&4194048)===0&&(S5=256),H}function HH(){var H=b5;return b5<<=1,(b5&62914560)===0&&(b5=4194304),H}function p6(H){for(var M=[],$=0;31>$;$++)M.push(H);return M}function j2(H,M){H.pendingLanes|=M,M!==268435456&&(H.suspendedLanes=0,H.pingedLanes=0,H.warmLanes=0)}function E3(H,M,$,G,X,Z){var Y=H.pendingLanes;H.pendingLanes=$,H.suspendedLanes=0,H.pingedLanes=0,H.warmLanes=0,H.expiredLanes&=$,H.entangledLanes&=$,H.errorRecoveryDisabledLanes&=$,H.shellSuspendCounter=0;var{entanglements:Q,expirationTimes:U,hiddenUpdates:J}=H;for($=Y&~$;0<$;){var _=31-W0($),W=1<<_;Q[_]=0,U[_]=-1;var O=J[_];if(O!==null)for(J[_]=null,_=0;_<O.length;_++){var j=O[_];j!==null&&(j.lane&=-536870913)}$&=~W}G!==0&&DM(H,G,0),Z!==0&&X===0&&H.tag!==0&&(H.suspendedLanes|=Z&~(Y&~M))}function DM(H,M,$){H.pendingLanes|=M,H.suspendedLanes&=~M;var G=31-W0(M);H.entangledLanes|=M,H.entanglements[G]=H.entanglements[G]|1073741824|$&4194090}function MH(H,M){var $=H.entangledLanes|=M;for(H=H.entanglements;$;){var G=31-W0($),X=1<<G;X&M|H[G]&M&&(H[G]|=M),$&=~X}}function c6(H){switch(H){case 2:H=1;break;case 8:H=4;break;case 32:H=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:H=128;break;case 268435456:H=134217728;break;default:H=0}return H}function $H(H,M,$){if(j4)for(H=H.pendingUpdatersLaneMap;0<$;){var G=31-W0($),X=1<<G;H[G].add(M),$&=~X}}function GH(H,M){if(j4)for(var{pendingUpdatersLaneMap:$,memoizedUpdaters:G}=H;0<M;){var X=31-W0(M);H=1<<X,X=$[X],0<X.size&&(X.forEach(function(Z){var Y=Z.alternate;Y!==null&&G.has(Y)||G.add(Z)}),X.clear()),M&=~H}}function A2(H){return H&=-H,a0!==0&&a0<H?A4!==0&&A4<H?(H&134217727)!==0?d4:g5:A4:a0}function e2(){var H=j1.p;if(H!==0)return H;return H=window.event,H===void 0?d4:EY(H.type)}function s6(H,M){var $=j1.p;try{return j1.p=H,M()}finally{j1.p=$}}function H6(H){delete H[T0],delete H[b0],delete H[m9],delete H[rB],delete H[nB]}function i4(H){var M=H[T0];if(M)return M;for(var $=H.parentNode;$;){if(M=$[y2]||$[T0]){if($=M.alternate,M.child!==null||$!==null&&$.child!==null)for(H=qY(H);H!==null;){if($=H[T0])return $;H=qY(H)}return M}H=$,$=H.parentNode}return null}function z(H){if(H=H[T0]||H[y2]){var M=H.tag;if(M===5||M===6||M===13||M===26||M===27||M===3)return H}return null}function K(H){var M=H.tag;if(M===5||M===26||M===27||M===6)return H.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function C(H){var M=H[SY];return M||(M=H[SY]={hoistableStyles:new Map,hoistableScripts:new Map}),M}function D(H){H[uH]=!0}function h(H,M){M1(H,M),M1(H+"Capture",M)}function M1(H,M){_6[H]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",H),_6[H]=M;var $=H.toLowerCase();u9[$]=H,H==="onDoubleClick"&&(u9.ondblclick=H);for(H=0;H<M.length;H++)bY.add(M[H])}function i(H,M){iB[M.type]||M.onChange||M.onInput||M.readOnly||M.disabled||M.value==null||(H==="select"?console.error("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 `onChange`."):console.error("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`.")),M.onChange||M.readOnly||M.disabled||M.checked==null||console.error("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 T1(H){if(z2.call(kY,H))return!0;if(z2.call(gY,H))return!1;if(tB.test(H))return kY[H]=!0;return gY[H]=!0,console.error("Invalid attribute name: `%s`",H),!1}function Z1(H,M,$){if(T1(M)){if(!H.hasAttribute(M)){switch(typeof $){case"symbol":case"object":return $;case"function":return $;case"boolean":if($===!1)return $}return $===void 0?void 0:null}if(H=H.getAttribute(M),H===""&&$===!0)return!0;return r($,M),H===""+$?$:H}}function u0(H,M,$){if(T1(M))if($===null)H.removeAttribute(M);else{switch(typeof $){case"undefined":case"function":case"symbol":H.removeAttribute(M);return;case"boolean":var G=M.toLowerCase().slice(0,5);if(G!=="data-"&&G!=="aria-"){H.removeAttribute(M);return}}r($,M),H.setAttribute(M,""+$)}}function T4(H,M,$){if($===null)H.removeAttribute(M);else{switch(typeof $){case"undefined":case"function":case"symbol":case"boolean":H.removeAttribute(M);return}r($,M),H.setAttribute(M,""+$)}}function I4(H,M,$,G){if(G===null)H.removeAttribute($);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":H.removeAttribute($);return}r(G,$),H.setAttributeNS(M,$,""+G)}}function NM(){}function HJ(){if(hH===0){yY=console.log,fY=console.info,mY=console.warn,uY=console.error,hY=console.group,dY=console.groupCollapsed,lY=console.groupEnd;var H={configurable:!0,enumerable:!0,value:NM,writable:!0};Object.defineProperties(console,{info:H,log:H,warn:H,error:H,group:H,groupCollapsed:H,groupEnd:H})}hH++}function MJ(){if(hH--,hH===0){var H={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Y1({},H,{value:yY}),info:Y1({},H,{value:fY}),warn:Y1({},H,{value:mY}),error:Y1({},H,{value:uY}),group:Y1({},H,{value:hY}),groupCollapsed:Y1({},H,{value:dY}),groupEnd:Y1({},H,{value:lY})})}0>hH&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function H4(H){if(h9===void 0)try{throw Error()}catch($){var M=$.stack.trim().match(/\n( *(at )?)/);h9=M&&M[1]||"",pY=-1<$.stack.indexOf(`
|
|
at`)?" (<anonymous>)":-1<$.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
`+h9+H+pY}function V3(H,M){if(!H||d9)return"";var $=l9.get(H);if($!==void 0)return $;d9=!0,$=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var G=null;G=F.H,F.H=null,HJ();try{var X={DetermineComponentFrameRoot:function(){try{if(M){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(f){var j=f}Reflect.construct(H,[],O)}else{try{O.call()}catch(f){j=f}H.call(O.prototype)}}else{try{throw Error()}catch(f){j=f}(O=H())&&typeof O.catch==="function"&&O.catch(function(){})}}catch(f){if(f&&j&&typeof f.stack==="string")return[f.stack,j.stack]}return[null,null]}};X.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var Z=Object.getOwnPropertyDescriptor(X.DetermineComponentFrameRoot,"name");Z&&Z.configurable&&Object.defineProperty(X.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var Y=X.DetermineComponentFrameRoot(),Q=Y[0],U=Y[1];if(Q&&U){var J=Q.split(`
|
|
`),_=U.split(`
|
|
`);for(Y=Z=0;Z<J.length&&!J[Z].includes("DetermineComponentFrameRoot");)Z++;for(;Y<_.length&&!_[Y].includes("DetermineComponentFrameRoot");)Y++;if(Z===J.length||Y===_.length)for(Z=J.length-1,Y=_.length-1;1<=Z&&0<=Y&&J[Z]!==_[Y];)Y--;for(;1<=Z&&0<=Y;Z--,Y--)if(J[Z]!==_[Y]){if(Z!==1||Y!==1)do if(Z--,Y--,0>Y||J[Z]!==_[Y]){var W=`
|
|
`+J[Z].replace(" at new "," at ");return H.displayName&&W.includes("<anonymous>")&&(W=W.replace("<anonymous>",H.displayName)),typeof H==="function"&&l9.set(H,W),W}while(1<=Z&&0<=Y);break}}}finally{d9=!1,F.H=G,MJ(),Error.prepareStackTrace=$}return J=(J=H?H.displayName||H.name:"")?H4(J):"",typeof H==="function"&&l9.set(H,J),J}function e$(H){var M=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,H=H.stack,Error.prepareStackTrace=M,H.startsWith(`Error: react-stack-top-frame
|
|
`)&&(H=H.slice(29)),M=H.indexOf(`
|
|
`),M!==-1&&(H=H.slice(M+1)),M=H.indexOf("react_stack_bottom_frame"),M!==-1&&(M=H.lastIndexOf(`
|
|
`,M)),M!==-1)H=H.slice(0,M);else return"";return H}function $J(H){switch(H.tag){case 26:case 27:case 5:return H4(H.type);case 16:return H4("Lazy");case 13:return H4("Suspense");case 19:return H4("SuspenseList");case 0:case 15:return V3(H.type,!1);case 11:return V3(H.type.render,!1);case 1:return V3(H.type,!0);case 31:return H4("Activity");default:return""}}function HG(H){try{var M="";do{M+=$J(H);var $=H._debugInfo;if($)for(var G=$.length-1;0<=G;G--){var X=$[G];if(typeof X.name==="string"){var Z=M,Y=X.env,Q=H4(X.name+(Y?" ["+Y+"]":""));M=Z+Q}}H=H.return}while(H);return M}catch(U){return`
|
|
Error generating stack: `+U.message+`
|
|
`+U.stack}}function MG(H){return(H=H?H.displayName||H.name:"")?H4(H):""}function CM(){if(o0===null)return null;var H=o0._debugOwner;return H!=null?f0(H):null}function GJ(){if(o0===null)return"";var H=o0;try{var M="";switch(H.tag===6&&(H=H.return),H.tag){case 26:case 27:case 5:M+=H4(H.type);break;case 13:M+=H4("Suspense");break;case 19:M+=H4("SuspenseList");break;case 31:M+=H4("Activity");break;case 30:case 0:case 15:case 1:H._debugOwner||M!==""||(M+=MG(H.type));break;case 11:H._debugOwner||M!==""||(M+=MG(H.type.render))}for(;H;)if(typeof H.tag==="number"){var $=H;H=$._debugOwner;var G=$._debugStack;H&&G&&(typeof G!=="string"&&($._debugStack=G=e$(G)),G!==""&&(M+=`
|
|
`+G))}else if(H.debugStack!=null){var X=H.debugStack;(H=H.owner)&&X&&(M+=`
|
|
`+e$(X))}else break;var Z=M}catch(Y){Z=`
|
|
Error generating stack: `+Y.message+`
|
|
`+Y.stack}return Z}function l(H,M,$,G,X,Z,Y){var Q=o0;D3(H);try{return H!==null&&H._debugTask?H._debugTask.run(M.bind(null,$,G,X,Z,Y)):M($,G,X,Z,Y)}finally{D3(Q)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function D3(H){F.getCurrentStack=H===null?null:GJ,l4=!1,o0=H}function M4(H){switch(typeof H){case"bigint":case"boolean":case"number":case"string":case"undefined":return H;case"object":return t1(H),H;default:return""}}function $G(H){var M=H.type;return(H=H.nodeName)&&H.toLowerCase()==="input"&&(M==="checkbox"||M==="radio")}function XJ(H){var M=$G(H)?"checked":"value",$=Object.getOwnPropertyDescriptor(H.constructor.prototype,M);t1(H[M]);var G=""+H[M];if(!H.hasOwnProperty(M)&&typeof $<"u"&&typeof $.get==="function"&&typeof $.set==="function"){var{get:X,set:Z}=$;return Object.defineProperty(H,M,{configurable:!0,get:function(){return X.call(this)},set:function(Y){t1(Y),G=""+Y,Z.call(this,Y)}}),Object.defineProperty(H,M,{enumerable:$.enumerable}),{getValue:function(){return G},setValue:function(Y){t1(Y),G=""+Y},stopTracking:function(){H._valueTracker=null,delete H[M]}}}}function xM(H){H._valueTracker||(H._valueTracker=XJ(H))}function GG(H){if(!H)return!1;var M=H._valueTracker;if(!M)return!0;var $=M.getValue(),G="";return H&&(G=$G(H)?H.checked?"true":"false":H.value),H=G,H!==$?(M.setValue(H),!0):!1}function vM(H){if(H=H||(typeof document<"u"?document:void 0),typeof H>"u")return null;try{return H.activeElement||H.body}catch(M){return H.body}}function $4(H){return H.replace(eB,function(M){return"\\"+M.charCodeAt(0).toString(16)+" "})}function XG(H,M){M.checked===void 0||M.defaultChecked===void 0||sY||(console.error("%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://react.dev/link/controlled-components",CM()||"A component",M.type),sY=!0),M.value===void 0||M.defaultValue===void 0||cY||(console.error("%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://react.dev/link/controlled-components",CM()||"A component",M.type),cY=!0)}function N3(H,M,$,G,X,Z,Y,Q){if(H.name="",Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"&&typeof Y!=="boolean"?(r(Y,"type"),H.type=Y):H.removeAttribute("type"),M!=null)if(Y==="number"){if(M===0&&H.value===""||H.value!=M)H.value=""+M4(M)}else H.value!==""+M4(M)&&(H.value=""+M4(M));else Y!=="submit"&&Y!=="reset"||H.removeAttribute("value");M!=null?C3(H,Y,M4(M)):$!=null?C3(H,Y,M4($)):G!=null&&H.removeAttribute("value"),X==null&&Z!=null&&(H.defaultChecked=!!Z),X!=null&&(H.checked=X&&typeof X!=="function"&&typeof X!=="symbol"),Q!=null&&typeof Q!=="function"&&typeof Q!=="symbol"&&typeof Q!=="boolean"?(r(Q,"name"),H.name=""+M4(Q)):H.removeAttribute("name")}function ZG(H,M,$,G,X,Z,Y,Q){if(Z!=null&&typeof Z!=="function"&&typeof Z!=="symbol"&&typeof Z!=="boolean"&&(r(Z,"type"),H.type=Z),M!=null||$!=null){if(!(Z!=="submit"&&Z!=="reset"||M!==void 0&&M!==null))return;$=$!=null?""+M4($):"",M=M!=null?""+M4(M):$,Q||M===H.value||(H.value=M),H.defaultValue=M}G=G!=null?G:X,G=typeof G!=="function"&&typeof G!=="symbol"&&!!G,H.checked=Q?H.checked:!!G,H.defaultChecked=!!G,Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"&&typeof Y!=="boolean"&&(r(Y,"name"),H.name=Y)}function C3(H,M,$){M==="number"&&vM(H.ownerDocument)===H||H.defaultValue===""+$||(H.defaultValue=""+$)}function YG(H,M){M.value==null&&(typeof M.children==="object"&&M.children!==null?a8.Children.forEach(M.children,function($){$==null||typeof $==="string"||typeof $==="number"||typeof $==="bigint"||oY||(oY=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):M.dangerouslySetInnerHTML==null||rY||(rY=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),M.selected==null||aY||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),aY=!0)}function QG(){var H=CM();return H?`
|
|
|
|
Check the render method of \``+H+"`.":""}function a6(H,M,$,G){if(H=H.options,M){M={};for(var X=0;X<$.length;X++)M["$"+$[X]]=!0;for($=0;$<H.length;$++)X=M.hasOwnProperty("$"+H[$].value),H[$].selected!==X&&(H[$].selected=X),X&&G&&(H[$].defaultSelected=!0)}else{$=""+M4($),M=null;for(X=0;X<H.length;X++){if(H[X].value===$){H[X].selected=!0,G&&(H[X].defaultSelected=!0);return}M!==null||H[X].disabled||(M=H[X])}M!==null&&(M.selected=!0)}}function zG(H,M){for(H=0;H<iY.length;H++){var $=iY[H];if(M[$]!=null){var G=R0(M[$]);M.multiple&&!G?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",$,QG()):!M.multiple&&G&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",$,QG())}}M.value===void 0||M.defaultValue===void 0||nY||(console.error("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://react.dev/link/controlled-components"),nY=!0)}function UG(H,M){M.value===void 0||M.defaultValue===void 0||tY||(console.error("%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://react.dev/link/controlled-components",CM()||"A component"),tY=!0),M.children!=null&&M.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function JG(H,M,$){if(M!=null&&(M=""+M4(M),M!==H.value&&(H.value=M),$==null)){H.defaultValue!==M&&(H.defaultValue=M);return}H.defaultValue=$!=null?""+M4($):""}function BG(H,M,$,G){if(M==null){if(G!=null){if($!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(R0(G)){if(1<G.length)throw Error("<textarea> can only have at most one child.");G=G[0]}$=G}$==null&&($=""),M=$}$=M4(M),H.defaultValue=$,G=H.textContent,G===$&&G!==""&&G!==null&&(H.value=G)}function RG(H,M){return H.serverProps===void 0&&H.serverTail.length===0&&H.children.length===1&&3<H.distanceFromLeaf&&H.distanceFromLeaf>15-M?RG(H.children[0],M):H}function h0(H){return" "+" ".repeat(H)}function o6(H){return"+ "+" ".repeat(H)}function M6(H){return"- "+" ".repeat(H)}function qG(H){switch(H.tag){case 26:case 27:case 5:return H.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return H=H.type,H.displayName||H.name||null;case 11:return H=H.type.render,H.displayName||H.name||null;case 1:return H=H.type,H.displayName||H.name||null;default:return null}}function XH(H,M){return eY.test(H)?(H=JSON.stringify(H),H.length>M-2?8>M?'{"..."}':"{"+H.slice(0,M-7)+'..."}':"{"+H+"}"):H.length>M?5>M?'{"..."}':H.slice(0,M-3)+"...":H}function SM(H,M,$){var G=120-2*$;if(M===null)return o6($)+XH(H,G)+`
|
|
`;if(typeof M==="string"){for(var X=0;X<M.length&&X<H.length&&M.charCodeAt(X)===H.charCodeAt(X);X++);return X>G-8&&10<X&&(H="..."+H.slice(X-8),M="..."+M.slice(X-8)),o6($)+XH(H,G)+`
|
|
`+M6($)+XH(M,G)+`
|
|
`}return h0($)+XH(H,G)+`
|
|
`}function x3(H){return Object.prototype.toString.call(H).replace(/^\[object (.*)\]$/,function(M,$){return $})}function ZH(H,M){switch(typeof H){case"string":return H=JSON.stringify(H),H.length>M?5>M?'"..."':H.slice(0,M-4)+'..."':H;case"object":if(H===null)return"null";if(R0(H))return"[...]";if(H.$$typeof===S2)return(M=w1(H.type))?"<"+M+">":"<...>";var $=x3(H);if($==="Object"){$="",M-=2;for(var G in H)if(H.hasOwnProperty(G)){var X=JSON.stringify(G);if(X!=='"'+G+'"'&&(G=X),M-=G.length-2,X=ZH(H[G],15>M?M:15),M-=X.length,0>M){$+=$===""?"...":", ...";break}$+=($===""?"":",")+G+":"+X}return"{"+$+"}"}return $;case"function":return(M=H.displayName||H.name)?"function "+M:"function";default:return String(H)}}function r6(H,M){return typeof H!=="string"||eY.test(H)?"{"+ZH(H,M-2)+"}":H.length>M-2?5>M?'"..."':'"'+H.slice(0,M-5)+'..."':'"'+H+'"'}function v3(H,M,$){var G=120-$.length-H.length,X=[],Z;for(Z in M)if(M.hasOwnProperty(Z)&&Z!=="children"){var Y=r6(M[Z],120-$.length-Z.length-1);G-=Z.length+Y.length+2,X.push(Z+"="+Y)}return X.length===0?$+"<"+H+`>
|
|
`:0<G?$+"<"+H+" "+X.join(" ")+`>
|
|
`:$+"<"+H+`
|
|
`+$+" "+X.join(`
|
|
`+$+" ")+`
|
|
`+$+`>
|
|
`}function ZJ(H,M,$){var G="",X=Y1({},M),Z;for(Z in H)if(H.hasOwnProperty(Z)){delete X[Z];var Y=120-2*$-Z.length-2,Q=ZH(H[Z],Y);M.hasOwnProperty(Z)?(Y=ZH(M[Z],Y),G+=o6($)+Z+": "+Q+`
|
|
`,G+=M6($)+Z+": "+Y+`
|
|
`):G+=o6($)+Z+": "+Q+`
|
|
`}for(var U in X)X.hasOwnProperty(U)&&(H=ZH(X[U],120-2*$-U.length-2),G+=M6($)+U+": "+H+`
|
|
`);return G}function YJ(H,M,$,G){var X="",Z=new Map;for(J in $)$.hasOwnProperty(J)&&Z.set(J.toLowerCase(),J);if(Z.size===1&&Z.has("children"))X+=v3(H,M,h0(G));else{for(var Y in M)if(M.hasOwnProperty(Y)&&Y!=="children"){var Q=120-2*(G+1)-Y.length-1,U=Z.get(Y.toLowerCase());if(U!==void 0){Z.delete(Y.toLowerCase());var J=M[Y];U=$[U];var _=r6(J,Q);Q=r6(U,Q),typeof J==="object"&&J!==null&&typeof U==="object"&&U!==null&&x3(J)==="Object"&&x3(U)==="Object"&&(2<Object.keys(J).length||2<Object.keys(U).length||-1<_.indexOf("...")||-1<Q.indexOf("..."))?X+=h0(G+1)+Y+`={{
|
|
`+ZJ(J,U,G+2)+h0(G+1)+`}}
|
|
`:(X+=o6(G+1)+Y+"="+_+`
|
|
`,X+=M6(G+1)+Y+"="+Q+`
|
|
`)}else X+=h0(G+1)+Y+"="+r6(M[Y],Q)+`
|
|
`}Z.forEach(function(W){if(W!=="children"){var O=120-2*(G+1)-W.length-1;X+=M6(G+1)+W+"="+r6($[W],O)+`
|
|
`}}),X=X===""?h0(G)+"<"+H+`>
|
|
`:h0(G)+"<"+H+`
|
|
`+X+h0(G)+`>
|
|
`}if(H=$.children,M=M.children,typeof H==="string"||typeof H==="number"||typeof H==="bigint"){if(Z="",typeof M==="string"||typeof M==="number"||typeof M==="bigint")Z=""+M;X+=SM(Z,""+H,G+1)}else if(typeof M==="string"||typeof M==="number"||typeof M==="bigint")X=H==null?X+SM(""+M,null,G+1):X+SM(""+M,void 0,G+1);return X}function KG(H,M){var $=qG(H);if($===null){$="";for(H=H.child;H;)$+=KG(H,M),H=H.sibling;return $}return h0(M)+"<"+$+`>
|
|
`}function S3(H,M){var $=RG(H,M);if($!==H&&(H.children.length!==1||H.children[0]!==$))return h0(M)+`...
|
|
`+S3($,M+1);$="";var G=H.fiber._debugInfo;if(G)for(var X=0;X<G.length;X++){var Z=G[X].name;typeof Z==="string"&&($+=h0(M)+"<"+Z+`>
|
|
`,M++)}if(G="",X=H.fiber.pendingProps,H.fiber.tag===6)G=SM(X,H.serverProps,M),M++;else if(Z=qG(H.fiber),Z!==null)if(H.serverProps===void 0){G=M;var Y=120-2*G-Z.length-2,Q="";for(J in X)if(X.hasOwnProperty(J)&&J!=="children"){var U=r6(X[J],15);if(Y-=J.length+U.length+2,0>Y){Q+=" ...";break}Q+=" "+J+"="+U}G=h0(G)+"<"+Z+Q+`>
|
|
`,M++}else H.serverProps===null?(G=v3(Z,X,o6(M)),M++):typeof H.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(G=YJ(Z,X,H.serverProps,M),M++);var J="";X=H.fiber.child;for(Z=0;X&&Z<H.children.length;)Y=H.children[Z],Y.fiber===X?(J+=S3(Y,M),Z++):J+=KG(X,M),X=X.sibling;X&&0<H.children.length&&(J+=h0(M)+`...
|
|
`),X=H.serverTail,H.serverProps===null&&M--;for(H=0;H<X.length;H++)Z=X[H],J=typeof Z==="string"?J+(M6(M)+XH(Z,120-2*M)+`
|
|
`):J+v3(Z.type,Z.props,M6(M));return $+G+J}function b3(H){try{return`
|
|
|
|
`+S3(H,0)}catch(M){return""}}function OG(H,M,$){for(var G=M,X=null,Z=0;G;)G===H&&(Z=0),X={fiber:G,children:X!==null?[X]:[],serverProps:G===M?$:G===H?null:void 0,serverTail:[],distanceFromLeaf:Z},Z++,G=G.return;return X!==null?b3(X).replaceAll(/^[+-]/gm,">"):""}function PG(H,M){var $=Y1({},H||MQ),G={tag:M};if(HQ.indexOf(M)!==-1&&($.aTagInScope=null,$.buttonTagInScope=null,$.nobrTagInScope=null),MR.indexOf(M)!==-1&&($.pTagInButtonScope=null),HR.indexOf(M)!==-1&&M!=="address"&&M!=="div"&&M!=="p"&&($.listItemTagAutoclosing=null,$.dlItemTagAutoclosing=null),$.current=G,M==="form"&&($.formTag=G),M==="a"&&($.aTagInScope=G),M==="button"&&($.buttonTagInScope=G),M==="nobr"&&($.nobrTagInScope=G),M==="p"&&($.pTagInButtonScope=G),M==="li"&&($.listItemTagAutoclosing=G),M==="dd"||M==="dt")$.dlItemTagAutoclosing=G;return M==="#document"||M==="html"?$.containerTagInScope=null:$.containerTagInScope||($.containerTagInScope=G),H!==null||M!=="#document"&&M!=="html"&&M!=="body"?$.implicitRootScope===!0&&($.implicitRootScope=!1):$.implicitRootScope=!0,$}function _G(H,M,$){switch(M){case"select":return H==="hr"||H==="option"||H==="optgroup"||H==="script"||H==="template"||H==="#text";case"optgroup":return H==="option"||H==="#text";case"option":return H==="#text";case"tr":return H==="th"||H==="td"||H==="style"||H==="script"||H==="template";case"tbody":case"thead":case"tfoot":return H==="tr"||H==="style"||H==="script"||H==="template";case"colgroup":return H==="col"||H==="template";case"table":return H==="caption"||H==="colgroup"||H==="tbody"||H==="tfoot"||H==="thead"||H==="style"||H==="script"||H==="template";case"head":return H==="base"||H==="basefont"||H==="bgsound"||H==="link"||H==="meta"||H==="title"||H==="noscript"||H==="noframes"||H==="style"||H==="script"||H==="template";case"html":if($)break;return H==="head"||H==="body"||H==="frameset";case"frameset":return H==="frame";case"#document":if(!$)return H==="html"}switch(H){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return M!=="h1"&&M!=="h2"&&M!=="h3"&&M!=="h4"&&M!=="h5"&&M!=="h6";case"rp":case"rt":return $R.indexOf(M)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return M==null;case"head":return $||M===null;case"html":return $&&M==="#document"||M===null;case"body":return $&&(M==="#document"||M==="html")||M===null}return!0}function QJ(H,M){switch(H){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 M.pTagInButtonScope;case"form":return M.formTag||M.pTagInButtonScope;case"li":return M.listItemTagAutoclosing;case"dd":case"dt":return M.dlItemTagAutoclosing;case"button":return M.buttonTagInScope;case"a":return M.aTagInScope;case"nobr":return M.nobrTagInScope}return null}function TG(H,M){for(;H;){switch(H.tag){case 5:case 26:case 27:if(H.type===M)return H}H=H.return}return null}function g3(H,M){M=M||MQ;var $=M.current;if(M=($=_G(H,$&&$.tag,M.implicitRootScope)?null:$)?null:QJ(H,M),M=$||M,!M)return!0;var G=M.tag;if(M=String(!!$)+"|"+H+"|"+G,k5[M])return!1;k5[M]=!0;var X=(M=o0)?TG(M.return,G):null,Z=M!==null&&X!==null?OG(X,M,null):"",Y="<"+H+">";return $?($="",G==="table"&&H==="tr"&&($+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
This will cause a hydration error.%s`,Y,G,$,Z)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
This will cause a hydration error.%s`,Y,G,Z),M&&(H=M.return,X===null||H===null||X===H&&H._debugOwner===M._debugOwner||l(X,function(){console.error(`<%s> cannot contain a nested %s.
|
|
See this log for the ancestor stack trace.`,G,Y)})),!1}function bM(H,M,$){if($||_G("#text",M,!1))return!0;if($="#text|"+M,k5[$])return!1;k5[$]=!0;var G=($=o0)?TG($,M):null;return $=$!==null&&G!==null?OG(G,$,$.tag!==6?{children:null}:null):"",/\S/.test(H)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
This will cause a hydration error.%s`,M,$):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
This will cause a hydration error.%s`,M,$),!1}function YH(H,M){if(M){var $=H.firstChild;if($&&$===H.lastChild&&$.nodeType===3){$.nodeValue=M;return}}H.textContent=M}function zJ(H){return H.replace(ZR,function(M,$){return $.toUpperCase()})}function IG(H,M,$){var G=M.indexOf("--")===0;G||(-1<M.indexOf("-")?q8.hasOwnProperty(M)&&q8[M]||(q8[M]=!0,console.error("Unsupported style property %s. Did you mean %s?",M,zJ(M.replace(XR,"ms-")))):GR.test(M)?q8.hasOwnProperty(M)&&q8[M]||(q8[M]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",M,M.charAt(0).toUpperCase()+M.slice(1))):!XQ.test($)||c9.hasOwnProperty($)&&c9[$]||(c9[$]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,M,$.replace(XQ,""))),typeof $==="number"&&(isNaN($)?ZQ||(ZQ=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",M)):isFinite($)||YQ||(YQ=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",M)))),$==null||typeof $==="boolean"||$===""?G?H.setProperty(M,""):M==="float"?H.cssFloat="":H[M]="":G?H.setProperty(M,$):typeof $!=="number"||$===0||QQ.has(M)?M==="float"?H.cssFloat=$:(l1($,M),H[M]=(""+$).trim()):H[M]=$+"px"}function FG(H,M,$){if(M!=null&&typeof M!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(M&&Object.freeze(M),H=H.style,$!=null){if(M){var G={};if($){for(var X in $)if($.hasOwnProperty(X)&&!M.hasOwnProperty(X))for(var Z=p9[X]||[X],Y=0;Y<Z.length;Y++)G[Z[Y]]=X}for(var Q in M)if(M.hasOwnProperty(Q)&&(!$||$[Q]!==M[Q]))for(X=p9[Q]||[Q],Z=0;Z<X.length;Z++)G[X[Z]]=Q;Q={};for(var U in M)for(X=p9[U]||[U],Z=0;Z<X.length;Z++)Q[X[Z]]=U;U={};for(var J in G)if(X=G[J],(Z=Q[J])&&X!==Z&&(Y=X+","+Z,!U[Y])){U[Y]=!0,Y=console;var _=M[X];Y.error.call(Y,"%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.",_==null||typeof _==="boolean"||_===""?"Removing":"Updating",X,Z)}}for(var W in $)!$.hasOwnProperty(W)||M!=null&&M.hasOwnProperty(W)||(W.indexOf("--")===0?H.setProperty(W,""):W==="float"?H.cssFloat="":H[W]="");for(var O in M)J=M[O],M.hasOwnProperty(O)&&$[O]!==J&&IG(H,O,J)}else for(G in M)M.hasOwnProperty(G)&&IG(H,G,M[G])}function QH(H){if(H.indexOf("-")===-1)return!1;switch(H){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}}function WG(H){return YR.get(H)||H}function UJ(H,M){if(z2.call(O8,M)&&O8[M])return!0;if(zR.test(M)){if(H="aria-"+M.slice(4).toLowerCase(),H=zQ.hasOwnProperty(H)?H:null,H==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",M),O8[M]=!0;if(M!==H)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",M,H),O8[M]=!0}if(QR.test(M)){if(H=M.toLowerCase(),H=zQ.hasOwnProperty(H)?H:null,H==null)return O8[M]=!0,!1;M!==H&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",M,H),O8[M]=!0)}return!0}function JJ(H,M){var $=[],G;for(G in M)UJ(H,G)||$.push(G);M=$.map(function(X){return"`"+X+"`"}).join(", "),$.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",M,H):1<$.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",M,H)}function BJ(H,M,$,G){if(z2.call(j0,M)&&j0[M])return!0;var X=M.toLowerCase();if(X==="onfocusin"||X==="onfocusout")return console.error("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."),j0[M]=!0;if(typeof $==="function"&&(H==="form"&&M==="action"||H==="input"&&M==="formAction"||H==="button"&&M==="formAction"))return!0;if(G!=null){if(H=G.possibleRegistrationNames,G.registrationNameDependencies.hasOwnProperty(M))return!0;if(G=H.hasOwnProperty(X)?H[X]:null,G!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",M,G),j0[M]=!0;if(JQ.test(M))return console.error("Unknown event handler property `%s`. It will be ignored.",M),j0[M]=!0}else if(JQ.test(M))return UR.test(M)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",M),j0[M]=!0;if(JR.test(M)||BR.test(M))return!0;if(X==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),j0[M]=!0;if(X==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),j0[M]=!0;if(X==="is"&&$!==null&&$!==void 0&&typeof $!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof $),j0[M]=!0;if(typeof $==="number"&&isNaN($))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",M),j0[M]=!0;if(f5.hasOwnProperty(X)){if(X=f5[X],X!==M)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",M,X),j0[M]=!0}else if(M!==X)return console.error("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.",M,X),j0[M]=!0;switch(M){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof $){case"boolean":switch(M){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(X=M.toLowerCase().slice(0,5),X==="data-"||X==="aria-")return!0;return $?console.error('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()}.',$,M,M,$,M):console.error('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.',$,M,M,$,M,M,M),j0[M]=!0}case"function":case"symbol":return j0[M]=!0,!1;case"string":if($==="false"||$==="true"){switch(M){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",$,M,$==="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".',M,$),j0[M]=!0}}return!0}function RJ(H,M,$){var G=[],X;for(X in M)BJ(H,X,M[X],$)||G.push(X);M=G.map(function(Z){return"`"+Z+"`"}).join(", "),G.length===1?console.error("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://react.dev/link/attribute-behavior ",M,H):1<G.length&&console.error("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://react.dev/link/attribute-behavior ",M,H)}function zH(H){return RR.test(""+H)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":H}function k3(H){return H=H.target||H.srcElement||window,H.correspondingUseElement&&(H=H.correspondingUseElement),H.nodeType===3?H.parentNode:H}function jG(H){var M=z(H);if(M&&(H=M.stateNode)){var $=H[b0]||null;H:switch(H=M.stateNode,M.type){case"input":if(N3(H,$.value,$.defaultValue,$.defaultValue,$.checked,$.defaultChecked,$.type,$.name),M=$.name,$.type==="radio"&&M!=null){for($=H;$.parentNode;)$=$.parentNode;r(M,"name"),$=$.querySelectorAll('input[name="'+$4(""+M)+'"][type="radio"]');for(M=0;M<$.length;M++){var G=$[M];if(G!==H&&G.form===H.form){var X=G[b0]||null;if(!X)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");N3(G,X.value,X.defaultValue,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name)}}for(M=0;M<$.length;M++)G=$[M],G.form===H.form&&GG(G)}break H;case"textarea":JG(H,$.value,$.defaultValue);break H;case"select":M=$.value,M!=null&&a6(H,!!$.multiple,M,!1)}}}function AG(H,M,$){if(s9)return H(M,$);s9=!0;try{var G=H(M);return G}finally{if(s9=!1,P8!==null||_8!==null){if(G8(),P8&&(M=P8,H=_8,_8=P8=null,jG(M),H))for(M=0;M<H.length;M++)jG(H[M])}}}function UH(H,M){var $=H.stateNode;if($===null)return null;var G=$[b0]||null;if(G===null)return null;$=G[M];H:switch(M){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(G=!G.disabled)||(H=H.type,G=!(H==="button"||H==="input"||H==="select"||H==="textarea")),H=!G;break H;default:H=!1}if(H)return null;if($&&typeof $!=="function")throw Error("Expected `"+M+"` listener to be a function, instead got a value of `"+typeof $+"` type.");return $}function wG(){if(m5)return m5;var H,M=o9,$=M.length,G,X="value"in f2?f2.value:f2.textContent,Z=X.length;for(H=0;H<$&&M[H]===X[H];H++);var Y=$-H;for(G=1;G<=Y&&M[$-G]===X[Z-G];G++);return m5=X.slice(H,1<G?1-G:void 0)}function gM(H){var M=H.keyCode;return"charCode"in H?(H=H.charCode,H===0&&M===13&&(H=13)):H=M,H===10&&(H=13),32<=H||H===13?H:0}function kM(){return!0}function LG(){return!1}function C0(H){function M($,G,X,Z,Y){this._reactName=$,this._targetInst=X,this.type=G,this.nativeEvent=Z,this.target=Y,this.currentTarget=null;for(var Q in H)H.hasOwnProperty(Q)&&($=H[Q],this[Q]=$?$(Z):Z[Q]);return this.isDefaultPrevented=(Z.defaultPrevented!=null?Z.defaultPrevented:Z.returnValue===!1)?kM:LG,this.isPropagationStopped=LG,this}return Y1(M.prototype,{preventDefault:function(){this.defaultPrevented=!0;var $=this.nativeEvent;$&&($.preventDefault?$.preventDefault():typeof $.returnValue!=="unknown"&&($.returnValue=!1),this.isDefaultPrevented=kM)},stopPropagation:function(){var $=this.nativeEvent;$&&($.stopPropagation?$.stopPropagation():typeof $.cancelBubble!=="unknown"&&($.cancelBubble=!0),this.isPropagationStopped=kM)},persist:function(){},isPersistent:kM}),M}function qJ(H){var M=this.nativeEvent;return M.getModifierState?M.getModifierState(H):(H=LR[H])?!!M[H]:!1}function y3(){return qJ}function EG(H,M){switch(H){case"keyup":return yR.indexOf(M.keyCode)!==-1;case"keydown":return M.keyCode!==KQ;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function VG(H){return H=H.detail,typeof H==="object"&&"data"in H?H.data:null}function KJ(H,M){switch(H){case"compositionend":return VG(M);case"keypress":if(M.which!==PQ)return null;return TQ=!0,_Q;case"textInput":return H=M.data,H===_Q&&TQ?null:H;default:return null}}function OJ(H,M){if(T8)return H==="compositionend"||!t9&&EG(H,M)?(H=wG(),m5=o9=f2=null,T8=!1,H):null;switch(H){case"paste":return null;case"keypress":if(!(M.ctrlKey||M.altKey||M.metaKey)||M.ctrlKey&&M.altKey){if(M.char&&1<M.char.length)return M.char;if(M.which)return String.fromCharCode(M.which)}return null;case"compositionend":return OQ&&M.locale!=="ko"?null:M.data;default:return null}}function DG(H){var M=H&&H.nodeName&&H.nodeName.toLowerCase();return M==="input"?!!mR[H.type]:M==="textarea"?!0:!1}function PJ(H){if(!p4)return!1;H="on"+H;var M=H in document;return M||(M=document.createElement("div"),M.setAttribute(H,"return;"),M=typeof M[H]==="function"),M}function NG(H,M,$,G){P8?_8?_8.push(G):_8=[G]:P8=G,M=F5(M,"onChange"),0<M.length&&($=new u5("onChange","change",null,$,G),H.push({event:$,listeners:M}))}function _J(H){nZ(H,0)}function yM(H){var M=K(H);if(GG(M))return H}function CG(H,M){if(H==="change")return M}function xG(){aH&&(aH.detachEvent("onpropertychange",vG),oH=aH=null)}function vG(H){if(H.propertyName==="value"&&yM(oH)){var M=[];NG(M,oH,H,k3(H)),AG(_J,M)}}function TJ(H,M,$){H==="focusin"?(xG(),aH=M,oH=$,aH.attachEvent("onpropertychange",vG)):H==="focusout"&&xG()}function IJ(H){if(H==="selectionchange"||H==="keyup"||H==="keydown")return yM(oH)}function FJ(H,M){if(H==="click")return yM(M)}function WJ(H,M){if(H==="input"||H==="change")return yM(M)}function jJ(H,M){return H===M&&(H!==0||1/H===1/M)||H!==H&&M!==M}function JH(H,M){if(A0(H,M))return!0;if(typeof H!=="object"||H===null||typeof M!=="object"||M===null)return!1;var $=Object.keys(H),G=Object.keys(M);if($.length!==G.length)return!1;for(G=0;G<$.length;G++){var X=$[G];if(!z2.call(M,X)||!A0(H[X],M[X]))return!1}return!0}function SG(H){for(;H&&H.firstChild;)H=H.firstChild;return H}function bG(H,M){var $=SG(H);H=0;for(var G;$;){if($.nodeType===3){if(G=H+$.textContent.length,H<=M&&G>=M)return{node:$,offset:M-H};H=G}H:{for(;$;){if($.nextSibling){$=$.nextSibling;break H}$=$.parentNode}$=void 0}$=SG($)}}function gG(H,M){return H&&M?H===M?!0:H&&H.nodeType===3?!1:M&&M.nodeType===3?gG(H,M.parentNode):("contains"in H)?H.contains(M):H.compareDocumentPosition?!!(H.compareDocumentPosition(M)&16):!1:!1}function kG(H){H=H!=null&&H.ownerDocument!=null&&H.ownerDocument.defaultView!=null?H.ownerDocument.defaultView:window;for(var M=vM(H.document);M instanceof H.HTMLIFrameElement;){try{var $=typeof M.contentWindow.location.href==="string"}catch(G){$=!1}if($)H=M.contentWindow;else break;M=vM(H.document)}return M}function f3(H){var M=H&&H.nodeName&&H.nodeName.toLowerCase();return M&&(M==="input"&&(H.type==="text"||H.type==="search"||H.type==="tel"||H.type==="url"||H.type==="password")||M==="textarea"||H.contentEditable==="true")}function yG(H,M,$){var G=$.window===$?$.document:$.nodeType===9?$:$.ownerDocument;H$||I8==null||I8!==vM(G)||(G=I8,("selectionStart"in G)&&f3(G)?G={start:G.selectionStart,end:G.selectionEnd}:(G=(G.ownerDocument&&G.ownerDocument.defaultView||window).getSelection(),G={anchorNode:G.anchorNode,anchorOffset:G.anchorOffset,focusNode:G.focusNode,focusOffset:G.focusOffset}),rH&&JH(rH,G)||(rH=G,G=F5(e9,"onSelect"),0<G.length&&(M=new u5("onSelect","select",null,M,$),H.push({event:M,listeners:G}),M.target=I8)))}function $6(H,M){var $={};return $[H.toLowerCase()]=M.toLowerCase(),$["Webkit"+H]="webkit"+M,$["Moz"+H]="moz"+M,$}function G6(H){if(M$[H])return M$[H];if(!F8[H])return H;var M=F8[H],$;for($ in M)if(M.hasOwnProperty($)&&$ in FQ)return M$[H]=M[$];return H}function F4(H,M){LQ.set(H,M),h(M,[H])}function d0(H,M){if(typeof H==="object"&&H!==null){var $=G$.get(H);if($!==void 0)return $;return M={value:H,source:M,stack:HG(M)},G$.set(H,M),M}return{value:H,source:M,stack:HG(M)}}function fM(){for(var H=W8,M=X$=W8=0;M<H;){var $=Z4[M];Z4[M++]=null;var G=Z4[M];Z4[M++]=null;var X=Z4[M];Z4[M++]=null;var Z=Z4[M];if(Z4[M++]=null,G!==null&&X!==null){var Y=G.pending;Y===null?X.next=X:(X.next=Y.next,Y.next=X),G.pending=X}Z!==0&&fG($,X,Z)}}function mM(H,M,$,G){Z4[W8++]=H,Z4[W8++]=M,Z4[W8++]=$,Z4[W8++]=G,X$|=G,H.lanes|=G,H=H.alternate,H!==null&&(H.lanes|=G)}function m3(H,M,$,G){return mM(H,M,$,G),uM(H)}function x0(H,M){return mM(H,null,null,M),uM(H)}function fG(H,M,$){H.lanes|=$;var G=H.alternate;G!==null&&(G.lanes|=$);for(var X=!1,Z=H.return;Z!==null;)Z.childLanes|=$,G=Z.alternate,G!==null&&(G.childLanes|=$),Z.tag===22&&(H=Z.stateNode,H===null||H._visibility&d5||(X=!0)),H=Z,Z=Z.return;return H.tag===3?(Z=H.stateNode,X&&M!==null&&(X=31-W0($),H=Z.hiddenUpdates,G=H[X],G===null?H[X]=[M]:G.push(M),M.lane=$|536870912),Z):null}function uM(H){if(_M>zq)throw x6=_M=0,TM=b$=null,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.");x6>Uq&&(x6=0,TM=null,console.error("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.")),H.alternate===null&&(H.flags&4098)!==0&&lZ(H);for(var M=H,$=M.return;$!==null;)M.alternate===null&&(M.flags&4098)!==0&&lZ(H),M=$,$=M.return;return M.tag===3?M.stateNode:null}function X6(H){if(Y4===null)return H;var M=Y4(H);return M===void 0?H:M.current}function u3(H){if(Y4===null)return H;var M=Y4(H);return M===void 0?H!==null&&H!==void 0&&typeof H.render==="function"&&(M=X6(H.render),H.render!==M)?(M={$$typeof:fH,render:M},H.displayName!==void 0&&(M.displayName=H.displayName),M):H:M.current}function mG(H,M){if(Y4===null)return!1;var $=H.elementType;M=M.type;var G=!1,X=typeof M==="object"&&M!==null?M.$$typeof:null;switch(H.tag){case 1:typeof M==="function"&&(G=!0);break;case 0:typeof M==="function"?G=!0:X===s0&&(G=!0);break;case 11:X===fH?G=!0:X===s0&&(G=!0);break;case 14:case 15:X===x5?G=!0:X===s0&&(G=!0);break;default:return!1}return G&&(H=Y4($),H!==void 0&&H===Y4(M))?!0:!1}function uG(H){Y4!==null&&typeof WeakSet==="function"&&(j8===null&&(j8=new WeakSet),j8.add(H))}function h3(H,M,$){var{alternate:G,child:X,sibling:Z,tag:Y,type:Q}=H,U=null;switch(Y){case 0:case 15:case 1:U=Q;break;case 11:U=Q.render}if(Y4===null)throw Error("Expected resolveFamily to be set during hot reload.");var J=!1;if(Q=!1,U!==null&&(U=Y4(U),U!==void 0&&($.has(U)?Q=!0:M.has(U)&&(Y===1?Q=!0:J=!0))),j8!==null&&(j8.has(H)||G!==null&&j8.has(G))&&(Q=!0),Q&&(H._debugNeedsRemount=!0),Q||J)G=x0(H,2),G!==null&&c1(G,H,2);X===null||Q||h3(X,M,$),Z!==null&&h3(Z,M,$)}function AJ(H,M,$,G){this.tag=H,this.key=$,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=M,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=G,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,VQ||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function d3(H){return H=H.prototype,!(!H||!H.isReactComponent)}function t4(H,M){var $=H.alternate;switch($===null?($=g(H.tag,M,H.key,H.mode),$.elementType=H.elementType,$.type=H.type,$.stateNode=H.stateNode,$._debugOwner=H._debugOwner,$._debugStack=H._debugStack,$._debugTask=H._debugTask,$._debugHookTypes=H._debugHookTypes,$.alternate=H,H.alternate=$):($.pendingProps=M,$.type=H.type,$.flags=0,$.subtreeFlags=0,$.deletions=null,$.actualDuration=-0,$.actualStartTime=-1.1),$.flags=H.flags&65011712,$.childLanes=H.childLanes,$.lanes=H.lanes,$.child=H.child,$.memoizedProps=H.memoizedProps,$.memoizedState=H.memoizedState,$.updateQueue=H.updateQueue,M=H.dependencies,$.dependencies=M===null?null:{lanes:M.lanes,firstContext:M.firstContext,_debugThenableState:M._debugThenableState},$.sibling=H.sibling,$.index=H.index,$.ref=H.ref,$.refCleanup=H.refCleanup,$.selfBaseDuration=H.selfBaseDuration,$.treeBaseDuration=H.treeBaseDuration,$._debugInfo=H._debugInfo,$._debugNeedsRemount=H._debugNeedsRemount,$.tag){case 0:case 15:$.type=X6(H.type);break;case 1:$.type=X6(H.type);break;case 11:$.type=u3(H.type)}return $}function hG(H,M){H.flags&=65011714;var $=H.alternate;return $===null?(H.childLanes=0,H.lanes=M,H.child=null,H.subtreeFlags=0,H.memoizedProps=null,H.memoizedState=null,H.updateQueue=null,H.dependencies=null,H.stateNode=null,H.selfBaseDuration=0,H.treeBaseDuration=0):(H.childLanes=$.childLanes,H.lanes=$.lanes,H.child=$.child,H.subtreeFlags=0,H.deletions=null,H.memoizedProps=$.memoizedProps,H.memoizedState=$.memoizedState,H.updateQueue=$.updateQueue,H.type=$.type,M=$.dependencies,H.dependencies=M===null?null:{lanes:M.lanes,firstContext:M.firstContext,_debugThenableState:M._debugThenableState},H.selfBaseDuration=$.selfBaseDuration,H.treeBaseDuration=$.treeBaseDuration),H}function l3(H,M,$,G,X,Z){var Y=0,Q=H;if(typeof H==="function")d3(H)&&(Y=1),Q=X6(Q);else if(typeof H==="string")Y=c(),Y=AB(H,$,Y)?26:H==="html"||H==="head"||H==="body"?27:5;else H:switch(H){case v9:return M=g(31,$,M,X),M.elementType=v9,M.lanes=Z,M;case J8:return Z6($.children,X,Z,M);case C5:Y=8,X|=I0,X|=w4;break;case D9:return H=$,G=X,typeof H.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof H.id),M=g(12,H,M,G|q0),M.elementType=D9,M.lanes=Z,M.stateNode={effectDuration:0,passiveEffectDuration:0},M;case C9:return M=g(13,$,M,X),M.elementType=C9,M.lanes=Z,M;case x9:return M=g(19,$,M,X),M.elementType=x9,M.lanes=Z,M;default:if(typeof H==="object"&&H!==null)switch(H.$$typeof){case kB:case m4:Y=10;break H;case N9:Y=9;break H;case fH:Y=11,Q=u3(Q);break H;case x5:Y=14;break H;case s0:Y=16,Q=null;break H}if(Q="",H===void 0||typeof H==="object"&&H!==null&&Object.keys(H).length===0)Q+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";H===null?$="null":R0(H)?$="array":H!==void 0&&H.$$typeof===S2?($="<"+(w1(H.type)||"Unknown")+" />",Q=" Did you accidentally export a JSX literal instead of a component?"):$=typeof H,(Y=G?f0(G):null)&&(Q+=`
|
|
|
|
Check the render method of \``+Y+"`."),Y=29,$=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+($+"."+Q)),Q=null}return M=g(Y,$,M,X),M.elementType=H,M.type=Q,M.lanes=Z,M._debugOwner=G,M}function hM(H,M,$){return M=l3(H.type,H.key,H.props,H._owner,M,$),M._debugOwner=H._owner,M._debugStack=H._debugStack,M._debugTask=H._debugTask,M}function Z6(H,M,$,G){return H=g(7,H,G,M),H.lanes=$,H}function p3(H,M,$){return H=g(6,H,null,M),H.lanes=$,H}function c3(H,M,$){return M=g(4,H.children!==null?H.children:[],H.key,M),M.lanes=$,M.stateNode={containerInfo:H.containerInfo,pendingChildren:null,implementation:H.implementation},M}function Y6(H,M){Q6(),A8[w8++]=p5,A8[w8++]=l5,l5=H,p5=M}function dG(H,M,$){Q6(),Q4[z4++]=J2,Q4[z4++]=B2,Q4[z4++]=I6,I6=H;var G=J2;H=B2;var X=32-W0(G)-1;G&=~(1<<X),$+=1;var Z=32-W0(M)+X;if(30<Z){var Y=X-X%5;Z=(G&(1<<Y)-1).toString(32),G>>=Y,X-=Y,J2=1<<32-W0(M)+X|$<<X|G,B2=Z+H}else J2=1<<Z|$<<X|G,B2=H}function s3(H){Q6(),H.return!==null&&(Y6(H,1),dG(H,1,0))}function a3(H){for(;H===l5;)l5=A8[--w8],A8[w8]=null,p5=A8[--w8],A8[w8]=null;for(;H===I6;)I6=Q4[--z4],Q4[z4]=null,B2=Q4[--z4],Q4[z4]=null,J2=Q4[--z4],Q4[z4]=null}function Q6(){O1||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function z6(H,M){if(H.return===null){if(U4===null)U4={fiber:H,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:M};else{if(U4.fiber!==H)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");U4.distanceFromLeaf>M&&(U4.distanceFromLeaf=M)}return U4}var $=z6(H.return,M+1).children;if(0<$.length&&$[$.length-1].fiber===H)return $=$[$.length-1],$.distanceFromLeaf>M&&($.distanceFromLeaf=M),$;return M={fiber:H,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:M},$.push(M),M}function o3(H,M){R2||(H=z6(H,0),H.serverProps=null,M!==null&&(M=JY(M),H.serverTail.push(M)))}function U6(H){var M="",$=U4;throw $!==null&&(U4=null,M=b3($)),qH(d0(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
|
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
- Date formatting in a user's locale which doesn't match the server.
|
|
- External changing data without sending a snapshot of it along with the HTML.
|
|
- Invalid HTML tag nesting.
|
|
|
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
|
|
https://react.dev/link/hydration-mismatch`+M),H)),Z$}function lG(H){var{stateNode:M,type:$,memoizedProps:G}=H;switch(M[T0]=H,M[b0]=G,B9($,G),$){case"dialog":B1("cancel",M),B1("close",M);break;case"iframe":case"object":case"embed":B1("load",M);break;case"video":case"audio":for($=0;$<IM.length;$++)B1(IM[$],M);break;case"source":B1("error",M);break;case"img":case"image":case"link":B1("error",M),B1("load",M);break;case"details":B1("toggle",M);break;case"input":i("input",G),B1("invalid",M),XG(M,G),ZG(M,G.value,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name,!0),xM(M);break;case"option":YG(M,G);break;case"select":i("select",G),B1("invalid",M),zG(M,G);break;case"textarea":i("textarea",G),B1("invalid",M),UG(M,G),BG(M,G.value,G.defaultValue,G.children),xM(M)}$=G.children,typeof $!=="string"&&typeof $!=="number"&&typeof $!=="bigint"||M.textContent===""+$||G.suppressHydrationWarning===!0||HY(M.textContent,$)?(G.popover!=null&&(B1("beforetoggle",M),B1("toggle",M)),G.onScroll!=null&&B1("scroll",M),G.onScrollEnd!=null&&B1("scrollend",M),G.onClick!=null&&(M.onclick=W5),M=!0):M=!1,M||U6(H)}function pG(H){for(w0=H.return;w0;)switch(w0.tag){case 5:case 13:c4=!1;return;case 27:case 3:c4=!0;return;default:w0=w0.return}}function BH(H){if(H!==w0)return!1;if(!O1)return pG(H),O1=!0,!1;var M=H.tag,$;if($=M!==3&&M!==27){if($=M===5)$=H.type,$=!($!=="form"&&$!=="button")||P9(H.type,H.memoizedProps);$=!$}if($&&h1){for($=h1;$;){var G=z6(H,0),X=JY($);G.serverTail.push(X),$=X.type==="Suspense"?RY($):X4($.nextSibling)}U6(H)}if(pG(H),M===13){if(H=H.memoizedState,H=H!==null?H.dehydrated:null,!H)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");h1=RY(H)}else M===27?(M=h1,v2(H.type)?(H=s$,s$=null,h1=H):h1=M):h1=w0?X4(H.stateNode.nextSibling):null;return!0}function RH(){h1=w0=null,R2=O1=!1}function cG(){var H=F6;return H!==null&&(V0===null?V0=H:V0.push.apply(V0,H),F6=null),H}function qH(H){F6===null?F6=[H]:F6.push(H)}function sG(){var H=U4;if(H!==null){U4=null;for(var M=b3(H);0<H.children.length;)H=H.children[0];l(H.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
|
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
- Date formatting in a user's locale which doesn't match the server.
|
|
- External changing data without sending a snapshot of it along with the HTML.
|
|
- Invalid HTML tag nesting.
|
|
|
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
|
|
%s%s`,"https://react.dev/link/hydration-mismatch",M)})}}function dM(){L8=c5=null,E8=!1}function w2(H,M,$){Q1(Y$,M._currentValue,H),M._currentValue=$,Q1(Q$,M._currentRenderer,H),M._currentRenderer!==void 0&&M._currentRenderer!==null&&M._currentRenderer!==xQ&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),M._currentRenderer=xQ}function e4(H,M){H._currentValue=Y$.current;var $=Q$.current;L1(Q$,M),H._currentRenderer=$,L1(Y$,M)}function r3(H,M,$){for(;H!==null;){var G=H.alternate;if((H.childLanes&M)!==M?(H.childLanes|=M,G!==null&&(G.childLanes|=M)):G!==null&&(G.childLanes&M)!==M&&(G.childLanes|=M),H===$)break;H=H.return}H!==$&&console.error("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 n3(H,M,$,G){var X=H.child;X!==null&&(X.return=H);for(;X!==null;){var Z=X.dependencies;if(Z!==null){var Y=X.child;Z=Z.firstContext;H:for(;Z!==null;){var Q=Z;Z=X;for(var U=0;U<M.length;U++)if(Q.context===M[U]){Z.lanes|=$,Q=Z.alternate,Q!==null&&(Q.lanes|=$),r3(Z.return,$,H),G||(Y=null);break H}Z=Q.next}}else if(X.tag===18){if(Y=X.return,Y===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");Y.lanes|=$,Z=Y.alternate,Z!==null&&(Z.lanes|=$),r3(Y,$,H),Y=null}else Y=X.child;if(Y!==null)Y.return=X;else for(Y=X;Y!==null;){if(Y===H){Y=null;break}if(X=Y.sibling,X!==null){X.return=Y.return,Y=X;break}Y=Y.return}X=Y}}function KH(H,M,$,G){H=null;for(var X=M,Z=!1;X!==null;){if(!Z){if((X.flags&524288)!==0)Z=!0;else if((X.flags&262144)!==0)break}if(X.tag===10){var Y=X.alternate;if(Y===null)throw Error("Should have a current fiber. This is a bug in React.");if(Y=Y.memoizedProps,Y!==null){var Q=X.type;A0(X.pendingProps.value,Y.value)||(H!==null?H.push(Q):H=[Q])}}else if(X===v5.current){if(Y=X.alternate,Y===null)throw Error("Should have a current fiber. This is a bug in React.");Y.memoizedState.memoizedState!==X.memoizedState.memoizedState&&(H!==null?H.push(AM):H=[AM])}X=X.return}H!==null&&n3(M,H,$,G),M.flags|=262144}function lM(H){for(H=H.firstContext;H!==null;){if(!A0(H.context._currentValue,H.memoizedValue))return!0;H=H.next}return!1}function J6(H){c5=H,L8=null,H=H.dependencies,H!==null&&(H.firstContext=null)}function y1(H){return E8&&console.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()."),aG(c5,H)}function pM(H,M){return c5===null&&J6(H),aG(H,M)}function aG(H,M){var $=M._currentValue;if(M={context:M,memoizedValue:$,next:null},L8===null){if(H===null)throw 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().");L8=M,H.dependencies={lanes:0,firstContext:M,_debugThenableState:null},H.flags|=524288}else L8=L8.next=M;return $}function i3(){return{controller:new aR,data:new Map,refCount:0}}function B6(H){H.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),H.refCount++}function OH(H){H.refCount--,0>H.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),H.refCount===0&&oR(rR,function(){H.controller.abort()})}function H2(){var H=W6;return W6=0,H}function cM(H){var M=W6;return W6=H,M}function PH(H){var M=W6;return W6+=H,M}function t3(H){g0=V8(),0>H.actualStartTime&&(H.actualStartTime=g0)}function e3(H){if(0<=g0){var M=V8()-g0;H.actualDuration+=M,H.selfBaseDuration=M,g0=-1}}function oG(H){if(0<=g0){var M=V8()-g0;H.actualDuration+=M,g0=-1}}function v4(){if(0<=g0){var H=V8()-g0;g0=-1,W6+=H}}function S4(){g0=V8()}function sM(H){for(var M=H.child;M;)H.actualDuration+=M.actualDuration,M=M.sibling}function wJ(H,M){if(nH===null){var $=nH=[];z$=0,j6=Q9(),D8={status:"pending",value:void 0,then:function(G){$.push(G)}}}return z$++,M.then(rG,rG),M}function rG(){if(--z$===0&&nH!==null){D8!==null&&(D8.status="fulfilled");var H=nH;nH=null,j6=0,D8=null;for(var M=0;M<H.length;M++)(0,H[M])()}}function LJ(H,M){var $=[],G={status:"pending",value:null,reason:null,then:function(X){$.push(X)}};return H.then(function(){G.status="fulfilled",G.value=M;for(var X=0;X<$.length;X++)(0,$[X])(M)},function(X){G.status="rejected",G.reason=X;for(X=0;X<$.length;X++)(0,$[X])(void 0)}),G}function H7(){var H=A6.current;return H!==null?H:x1.pooledCache}function aM(H,M){M===null?Q1(A6,A6.current,H):Q1(A6,M.pool,H)}function nG(){var H=H7();return H===null?null:{parent:e1._currentValue,pool:H}}function iG(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function tG(H){return H=H.status,H==="fulfilled"||H==="rejected"}function oM(){}function eG(H,M,$){F.actQueue!==null&&(F.didUsePromise=!0);var G=H.thenables;switch($=G[$],$===void 0?G.push(M):$!==M&&(H.didWarnAboutUncachedPromise||(H.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),M.then(oM,oM),M=$),M.status){case"fulfilled":return M.value;case"rejected":throw H=M.reason,MX(H),H;default:if(typeof M.status==="string")M.then(oM,oM);else{if(H=x1,H!==null&&100<H.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");H=M,H.status="pending",H.then(function(X){if(M.status==="pending"){var Z=M;Z.status="fulfilled",Z.value=X}},function(X){if(M.status==="pending"){var Z=M;Z.status="rejected",Z.reason=X}})}switch(M.status){case"fulfilled":return M.value;case"rejected":throw H=M.reason,MX(H),H}throw XM=M,i5=!0,GM}}function HX(){if(XM===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var H=XM;return XM=null,i5=!1,H}function MX(H){if(H===GM||H===n5)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function M7(H){H.updateQueue={baseState:H.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $7(H,M){H=H.updateQueue,M.updateQueue===H&&(M.updateQueue={baseState:H.baseState,firstBaseUpdate:H.firstBaseUpdate,lastBaseUpdate:H.lastBaseUpdate,shared:H.shared,callbacks:null})}function L2(H){return{lane:H,tag:kQ,payload:null,callback:null,next:null}}function E2(H,M,$){var G=H.updateQueue;if(G===null)return null;if(G=G.shared,B$===G&&!mQ){var X=y(H);console.error(`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.
|
|
|
|
Please update the following component: %s`,X),mQ=!0}if((A1&E0)!==r0)return X=G.pending,X===null?M.next=M:(M.next=X.next,X.next=M),G.pending=M,M=uM(H),fG(H,null,$),M;return mM(H,G,M,$),uM(H)}function _H(H,M,$){if(M=M.updateQueue,M!==null&&(M=M.shared,($&4194048)!==0)){var G=M.lanes;G&=H.pendingLanes,$|=G,M.lanes=$,MH(H,$)}}function rM(H,M){var{updateQueue:$,alternate:G}=H;if(G!==null&&(G=G.updateQueue,$===G)){var X=null,Z=null;if($=$.firstBaseUpdate,$!==null){do{var Y={lane:$.lane,tag:$.tag,payload:$.payload,callback:null,next:null};Z===null?X=Z=Y:Z=Z.next=Y,$=$.next}while($!==null);Z===null?X=Z=M:Z=Z.next=M}else X=Z=M;$={baseState:G.baseState,firstBaseUpdate:X,lastBaseUpdate:Z,shared:G.shared,callbacks:G.callbacks},H.updateQueue=$;return}H=$.lastBaseUpdate,H===null?$.firstBaseUpdate=M:H.next=M,$.lastBaseUpdate=M}function TH(){if(R$){var H=D8;if(H!==null)throw H}}function IH(H,M,$,G){R$=!1;var X=H.updateQueue;u2=!1,B$=X.shared;var{firstBaseUpdate:Z,lastBaseUpdate:Y}=X,Q=X.shared.pending;if(Q!==null){X.shared.pending=null;var U=Q,J=U.next;U.next=null,Y===null?Z=J:Y.next=J,Y=U;var _=H.alternate;_!==null&&(_=_.updateQueue,Q=_.lastBaseUpdate,Q!==Y&&(Q===null?_.firstBaseUpdate=J:Q.next=J,_.lastBaseUpdate=U))}if(Z!==null){var W=X.baseState;Y=0,_=J=U=null,Q=Z;do{var O=Q.lane&-536870913,j=O!==Q.lane;if(j?(J1&O)===O:(G&O)===O){O!==0&&O===j6&&(R$=!0),_!==null&&(_=_.next={lane:0,tag:Q.tag,payload:Q.payload,callback:null,next:null});H:{O=H;var f=Q,o=M,v1=$;switch(f.tag){case yQ:if(f=f.payload,typeof f==="function"){E8=!0;var R1=f.call(v1,W,o);if(O.mode&I0){I1(!0);try{f.call(v1,W,o)}finally{I1(!1)}}E8=!1,W=R1;break H}W=f;break H;case J$:O.flags=O.flags&-65537|128;case kQ:if(R1=f.payload,typeof R1==="function"){if(E8=!0,f=R1.call(v1,W,o),O.mode&I0){I1(!0);try{R1.call(v1,W,o)}finally{I1(!1)}}E8=!1}else f=R1;if(f===null||f===void 0)break H;W=Y1({},W,f);break H;case fQ:u2=!0}}O=Q.callback,O!==null&&(H.flags|=64,j&&(H.flags|=8192),j=X.callbacks,j===null?X.callbacks=[O]:j.push(O))}else j={lane:O,tag:Q.tag,payload:Q.payload,callback:Q.callback,next:null},_===null?(J=_=j,U=W):_=_.next=j,Y|=O;if(Q=Q.next,Q===null)if(Q=X.shared.pending,Q===null)break;else j=Q,Q=j.next,j.next=null,X.lastBaseUpdate=j,X.shared.pending=null}while(1);_===null&&(U=W),X.baseState=U,X.firstBaseUpdate=J,X.lastBaseUpdate=_,Z===null&&(X.shared.lanes=0),p2|=Y,H.lanes=Y,H.memoizedState=W}B$=null}function $X(H,M){if(typeof H!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+H);H.call(M)}function EJ(H,M){var $=H.shared.hiddenCallbacks;if($!==null)for(H.shared.hiddenCallbacks=null,H=0;H<$.length;H++)$X($[H],M)}function GX(H,M){var $=H.callbacks;if($!==null)for(H.callbacks=null,H=0;H<$.length;H++)$X($[H],M)}function XX(H,M){var $=o4;Q1(t5,$,H),Q1(N8,M,H),o4=$|M.baseLanes}function G7(H){Q1(t5,o4,H),Q1(N8,N8.current,H)}function X7(H){o4=t5.current,L1(N8,H),L1(t5,H)}function U1(){var H=I;R4===null?R4=[H]:R4.push(H)}function E(){var H=I;if(R4!==null&&(K2++,R4[K2]!==H)){var M=y(t);if(!uQ.has(M)&&(uQ.add(M),R4!==null)){for(var $="",G=0;G<=K2;G++){var X=R4[G],Z=G===K2?H:X;for(X=G+1+". "+X;30>X.length;)X+=" ";X+=Z+`
|
|
`,$+=X}console.error(`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://react.dev/link/rules-of-hooks
|
|
|
|
Previous render Next render
|
|
------------------------------------------------------
|
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`,M,$)}}}function n6(H){H===void 0||H===null||R0(H)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",I,typeof H)}function nM(){var H=y(t);dQ.has(H)||(dQ.add(H),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",H))}function p1(){throw 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://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Z7(H,M){if(YM)return!1;if(M===null)return console.error("%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.",I),!1;H.length!==M.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
|
|
Previous: %s
|
|
Incoming: %s`,I,"["+M.join(", ")+"]","["+H.join(", ")+"]");for(var $=0;$<M.length&&$<H.length;$++)if(!A0(H[$],M[$]))return!1;return!0}function Y7(H,M,$,G,X,Z){if(h2=Z,t=M,R4=H!==null?H._debugHookTypes:null,K2=-1,YM=H!==null&&H.type!==M.type,Object.prototype.toString.call($)==="[object AsyncFunction]"||Object.prototype.toString.call($)==="[object AsyncGeneratorFunction]")Z=y(t),q$.has(Z)||(q$.add(Z),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",Z===null?"An unknown Component":"<"+Z+">"));M.memoizedState=null,M.updateQueue=null,M.lanes=0,F.H=H!==null&&H.memoizedState!==null?O$:R4!==null?lQ:K$,L6=Z=(M.mode&I0)!==S1;var Y=P$($,G,X);if(L6=!1,x8&&(Y=Q7(M,$,G,X)),Z){I1(!0);try{Y=Q7(M,$,G,X)}finally{I1(!1)}}return ZX(H,M),Y}function ZX(H,M){M._debugHookTypes=R4,M.dependencies===null?q2!==null&&(M.dependencies={lanes:0,firstContext:null,_debugThenableState:q2}):M.dependencies._debugThenableState=q2,F.H=M3;var $=C1!==null&&C1.next!==null;if(h2=0,R4=I=o1=C1=t=null,K2=-1,H!==null&&(H.flags&65011712)!==(M.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),e5=!1,ZM=0,q2=null,$)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");H===null||Y0||(H=H.dependencies,H!==null&&lM(H)&&(Y0=!0)),i5?(i5=!1,H=!0):H=!1,H&&(M=y(M)||"Unknown",hQ.has(M)||q$.has(M)||(hQ.add(M),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Q7(H,M,$,G){t=H;var X=0;do{if(x8&&(q2=null),ZM=0,x8=!1,X>=iR)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(X+=1,YM=!1,o1=C1=null,H.updateQueue!=null){var Z=H.updateQueue;Z.lastEffect=null,Z.events=null,Z.stores=null,Z.memoCache!=null&&(Z.memoCache.index=0)}K2=-1,F.H=pQ,Z=P$(M,$,G)}while(x8);return Z}function VJ(){var H=F.H,M=H.useState()[0];return M=typeof M.then==="function"?FH(M):M,H=H.useState()[0],(C1!==null?C1.memoizedState:null)!==H&&(t.flags|=1024),M}function z7(){var H=H3!==0;return H3=0,H}function U7(H,M,$){M.updateQueue=H.updateQueue,M.flags=(M.mode&w4)!==S1?M.flags&-402655237:M.flags&-2053,H.lanes&=~$}function J7(H){if(e5){for(H=H.memoizedState;H!==null;){var M=H.queue;M!==null&&(M.pending=null),H=H.next}e5=!1}h2=0,R4=o1=C1=t=null,K2=-1,I=null,x8=!1,ZM=H3=0,q2=null}function v0(){var H={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return o1===null?t.memoizedState=o1=H:o1=o1.next=H,o1}function V1(){if(C1===null){var H=t.alternate;H=H!==null?H.memoizedState:null}else H=C1.next;var M=o1===null?t.memoizedState:o1.next;if(M!==null)o1=M,C1=H;else{if(H===null){if(t.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}C1=H,H={memoizedState:C1.memoizedState,baseState:C1.baseState,baseQueue:C1.baseQueue,queue:C1.queue,next:null},o1===null?t.memoizedState=o1=H:o1=o1.next=H}return o1}function B7(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function FH(H){var M=ZM;return ZM+=1,q2===null&&(q2=iG()),H=eG(q2,H,M),M=t,(o1===null?M.memoizedState:o1.next)===null&&(M=M.alternate,F.H=M!==null&&M.memoizedState!==null?O$:K$),H}function V2(H){if(H!==null&&typeof H==="object"){if(typeof H.then==="function")return FH(H);if(H.$$typeof===m4)return y1(H)}throw Error("An unsupported type was passed to use(): "+String(H))}function R6(H){var M=null,$=t.updateQueue;if($!==null&&(M=$.memoCache),M==null){var G=t.alternate;G!==null&&(G=G.updateQueue,G!==null&&(G=G.memoCache,G!=null&&(M={data:G.data.map(function(X){return X.slice()}),index:0})))}if(M==null&&(M={data:[],index:0}),$===null&&($=B7(),t.updateQueue=$),$.memoCache=M,$=M.data[M.index],$===void 0||YM)for($=M.data[M.index]=Array(H),G=0;G<H;G++)$[G]=yB;else $.length!==H&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",$.length,H);return M.index++,$}function W4(H,M){return typeof M==="function"?M(H):M}function R7(H,M,$){var G=v0();if($!==void 0){var X=$(M);if(L6){I1(!0);try{$(M)}finally{I1(!1)}}}else X=M;return G.memoizedState=G.baseState=X,H={pending:null,lanes:0,dispatch:null,lastRenderedReducer:H,lastRenderedState:X},G.queue=H,H=H.dispatch=xJ.bind(null,t,H),[G.memoizedState,H]}function i6(H){var M=V1();return q7(M,C1,H)}function q7(H,M,$){var G=H.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=$;var X=H.baseQueue,Z=G.pending;if(Z!==null){if(X!==null){var Y=X.next;X.next=Z.next,Z.next=Y}M.baseQueue!==X&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),M.baseQueue=X=Z,G.pending=null}if(Z=H.baseState,X===null)H.memoizedState=Z;else{M=X.next;var Q=Y=null,U=null,J=M,_=!1;do{var W=J.lane&-536870913;if(W!==J.lane?(J1&W)===W:(h2&W)===W){var O=J.revertLane;if(O===0)U!==null&&(U=U.next={lane:0,revertLane:0,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null}),W===j6&&(_=!0);else if((h2&O)===O){J=J.next,O===j6&&(_=!0);continue}else W={lane:0,revertLane:J.revertLane,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},U===null?(Q=U=W,Y=Z):U=U.next=W,t.lanes|=O,p2|=O;W=J.action,L6&&$(Z,W),Z=J.hasEagerState?J.eagerState:$(Z,W)}else O={lane:W,revertLane:J.revertLane,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},U===null?(Q=U=O,Y=Z):U=U.next=O,t.lanes|=W,p2|=W;J=J.next}while(J!==null&&J!==M);if(U===null?Y=Z:U.next=Q,!A0(Z,H.memoizedState)&&(Y0=!0,_&&($=D8,$!==null)))throw $;H.memoizedState=Z,H.baseState=Y,H.baseQueue=U,G.lastRenderedState=Z}return X===null&&(G.lanes=0),[H.memoizedState,G.dispatch]}function WH(H){var M=V1(),$=M.queue;if($===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");$.lastRenderedReducer=H;var{dispatch:G,pending:X}=$,Z=M.memoizedState;if(X!==null){$.pending=null;var Y=X=X.next;do Z=H(Z,Y.action),Y=Y.next;while(Y!==X);A0(Z,M.memoizedState)||(Y0=!0),M.memoizedState=Z,M.baseQueue===null&&(M.baseState=Z),$.lastRenderedState=Z}return[Z,G]}function K7(H,M,$){var G=t,X=v0();if(O1){if($===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var Z=$();C8||Z===$()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),C8=!0)}else{if(Z=M(),C8||($=M(),A0(Z,$)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),C8=!0)),x1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(J1&124)!==0||YX(G,M,Z)}return X.memoizedState=Z,$={value:Z,getSnapshot:M},X.queue=$,M5(zX.bind(null,G,$,H),[H]),G.flags|=2048,e6(B4|H0,H5(),QX.bind(null,G,$,Z,M),null),Z}function iM(H,M,$){var G=t,X=V1(),Z=O1;if(Z){if($===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");$=$()}else if($=M(),!C8){var Y=M();A0($,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),C8=!0)}if(Y=!A0((C1||X).memoizedState,$))X.memoizedState=$,Y0=!0;X=X.queue;var Q=zX.bind(null,G,X,H);if(S0(2048,H0,Q,[H]),X.getSnapshot!==M||Y||o1!==null&&o1.memoizedState.tag&B4){if(G.flags|=2048,e6(B4|H0,H5(),QX.bind(null,G,X,$,M),null),x1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Z||(h2&124)!==0||YX(G,M,$)}return $}function YX(H,M,$){H.flags|=16384,H={getSnapshot:M,value:$},M=t.updateQueue,M===null?(M=B7(),t.updateQueue=M,M.stores=[H]):($=M.stores,$===null?M.stores=[H]:$.push(H))}function QX(H,M,$,G){M.value=$,M.getSnapshot=G,UX(M)&&JX(H)}function zX(H,M,$){return $(function(){UX(M)&&JX(H)})}function UX(H){var M=H.getSnapshot;H=H.value;try{var $=M();return!A0(H,$)}catch(G){return!0}}function JX(H){var M=x0(H,2);M!==null&&c1(M,H,2)}function O7(H){var M=v0();if(typeof H==="function"){var $=H;if(H=$(),L6){I1(!0);try{$()}finally{I1(!1)}}}return M.memoizedState=M.baseState=H,M.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:W4,lastRenderedState:H},M}function P7(H){H=O7(H);var M=H.queue,$=NX.bind(null,t,M);return M.dispatch=$,[H.memoizedState,$]}function _7(H){var M=v0();M.memoizedState=M.baseState=H;var $={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return M.queue=$,M=C7.bind(null,t,!0,$),$.dispatch=M,[H,M]}function BX(H,M){var $=V1();return RX($,C1,H,M)}function RX(H,M,$,G){return H.baseState=$,q7(H,C1,typeof G==="function"?G:W4)}function qX(H,M){var $=V1();if(C1!==null)return RX($,C1,H,M);return $.baseState=H,[H,$.queue.dispatch]}function DJ(H,M,$,G,X){if(Z5(H))throw Error("Cannot update form state while rendering.");if(H=M.action,H!==null){var Z={payload:X,action:H,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(Y){Z.listeners.push(Y)}};F.T!==null?$(!0):Z.isTransition=!1,G(Z),$=M.pending,$===null?(Z.next=M.pending=Z,KX(M,Z)):(Z.next=$.next,M.pending=$.next=Z)}}function KX(H,M){var{action:$,payload:G}=M,X=H.state;if(M.isTransition){var Z=F.T,Y={};F.T=Y,F.T._updatedFibers=new Set;try{var Q=$(X,G),U=F.S;U!==null&&U(Y,Q),OX(H,M,Q)}catch(J){T7(H,M,J)}finally{F.T=Z,Z===null&&Y._updatedFibers&&(H=Y._updatedFibers.size,Y._updatedFibers.clear(),10<H&&console.warn("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."))}}else try{Y=$(X,G),OX(H,M,Y)}catch(J){T7(H,M,J)}}function OX(H,M,$){$!==null&&typeof $==="object"&&typeof $.then==="function"?($.then(function(G){PX(H,M,G)},function(G){return T7(H,M,G)}),M.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):PX(H,M,$)}function PX(H,M,$){M.status="fulfilled",M.value=$,_X(M),H.state=$,M=H.pending,M!==null&&($=M.next,$===M?H.pending=null:($=$.next,M.next=$,KX(H,$)))}function T7(H,M,$){var G=H.pending;if(H.pending=null,G!==null){G=G.next;do M.status="rejected",M.reason=$,_X(M),M=M.next;while(M!==G)}H.action=null}function _X(H){H=H.listeners;for(var M=0;M<H.length;M++)(0,H[M])()}function TX(H,M){return M}function t6(H,M){if(O1){var $=x1.formState;if($!==null){H:{var G=t;if(O1){if(h1){M:{var X=h1;for(var Z=c4;X.nodeType!==8;){if(!Z){X=null;break M}if(X=X4(X.nextSibling),X===null){X=null;break M}}Z=X.data,X=Z===d$||Z===dz?X:null}if(X){h1=X4(X.nextSibling),G=X.data===d$;break H}}U6(G)}G=!1}G&&(M=$[0])}}return $=v0(),$.memoizedState=$.baseState=M,G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:TX,lastRenderedState:M},$.queue=G,$=NX.bind(null,t,G),G.dispatch=$,G=O7(!1),Z=C7.bind(null,t,!1,G.queue),G=v0(),X={state:M,dispatch:null,action:H,pending:null},G.queue=X,$=DJ.bind(null,t,X,Z,$),X.dispatch=$,G.memoizedState=H,[M,$,!1]}function tM(H){var M=V1();return IX(M,C1,H)}function IX(H,M,$){if(M=q7(H,M,TX)[0],H=i6(W4)[0],typeof M==="object"&&M!==null&&typeof M.then==="function")try{var G=FH(M)}catch(Y){if(Y===GM)throw n5;throw Y}else G=M;M=V1();var X=M.queue,Z=X.dispatch;return $!==M.memoizedState&&(t.flags|=2048,e6(B4|H0,H5(),NJ.bind(null,X,$),null)),[G,Z,H]}function NJ(H,M){H.action=M}function eM(H){var M=V1(),$=C1;if($!==null)return IX(M,$,H);V1(),M=M.memoizedState,$=V1();var G=$.queue.dispatch;return $.memoizedState=H,[M,G,!1]}function e6(H,M,$,G){return H={tag:H,create:$,deps:G,inst:M,next:null},M=t.updateQueue,M===null&&(M=B7(),t.updateQueue=M),$=M.lastEffect,$===null?M.lastEffect=H.next=H:(G=$.next,$.next=H,H.next=G,M.lastEffect=H),H}function H5(){return{destroy:void 0,resource:void 0}}function I7(H){var M=v0();return H={current:H},M.memoizedState=H}function q6(H,M,$,G){var X=v0();G=G===void 0?null:G,t.flags|=H,X.memoizedState=e6(B4|M,H5(),$,G)}function S0(H,M,$,G){var X=V1();G=G===void 0?null:G;var Z=X.memoizedState.inst;C1!==null&&G!==null&&Z7(G,C1.memoizedState.deps)?X.memoizedState=e6(M,Z,$,G):(t.flags|=H,X.memoizedState=e6(B4|M,Z,$,G))}function M5(H,M){(t.mode&w4)!==S1&&(t.mode&EQ)===S1?q6(276826112,H0,H,M):q6(8390656,H0,H,M)}function F7(H,M){var $=4194308;return(t.mode&w4)!==S1&&($|=134217728),q6($,K0,H,M)}function FX(H,M){if(typeof M==="function"){H=H();var $=M(H);return function(){typeof $==="function"?$():M(null)}}if(M!==null&&M!==void 0)return M.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(M).join(", ")+"}"),H=H(),M.current=H,function(){M.current=null}}function W7(H,M,$){typeof M!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",M!==null?typeof M:"null"),$=$!==null&&$!==void 0?$.concat([H]):null;var G=4194308;(t.mode&w4)!==S1&&(G|=134217728),q6(G,K0,FX.bind(null,M,H),$)}function $5(H,M,$){typeof M!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",M!==null?typeof M:"null"),$=$!==null&&$!==void 0?$.concat([H]):null,S0(4,K0,FX.bind(null,M,H),$)}function j7(H,M){return v0().memoizedState=[H,M===void 0?null:M],H}function G5(H,M){var $=V1();M=M===void 0?null:M;var G=$.memoizedState;if(M!==null&&Z7(M,G[1]))return G[0];return $.memoizedState=[H,M],H}function A7(H,M){var $=v0();M=M===void 0?null:M;var G=H();if(L6){I1(!0);try{H()}finally{I1(!1)}}return $.memoizedState=[G,M],G}function X5(H,M){var $=V1();M=M===void 0?null:M;var G=$.memoizedState;if(M!==null&&Z7(M,G[1]))return G[0];if(G=H(),L6){I1(!0);try{H()}finally{I1(!1)}}return $.memoizedState=[G,M],G}function w7(H,M){var $=v0();return L7($,H,M)}function WX(H,M){var $=V1();return AX($,C1.memoizedState,H,M)}function jX(H,M){var $=V1();return C1===null?L7($,H,M):AX($,C1.memoizedState,H,M)}function L7(H,M,$){if($===void 0||(h2&1073741824)!==0)return H.memoizedState=M;return H.memoizedState=$,H=wZ(),t.lanes|=H,p2|=H,$}function AX(H,M,$,G){if(A0($,M))return $;if(N8.current!==null)return H=L7(H,$,G),A0(H,M)||(Y0=!0),H;if((h2&42)===0)return Y0=!0,H.memoizedState=$;return H=wZ(),t.lanes|=H,p2|=H,M}function wX(H,M,$,G,X){var Z=j1.p;j1.p=Z!==0&&Z<A4?Z:A4;var Y=F.T,Q={};F.T=Q,C7(H,!1,M,$),Q._updatedFibers=new Set;try{var U=X(),J=F.S;if(J!==null&&J(Q,U),U!==null&&typeof U==="object"&&typeof U.then==="function"){var _=LJ(U,G);jH(H,M,_,c0(H))}else jH(H,M,G,c0(H))}catch(W){jH(H,M,{then:function(){},status:"rejected",reason:W},c0(H))}finally{j1.p=Z,F.T=Y,Y===null&&Q._updatedFibers&&(H=Q._updatedFibers.size,Q._updatedFibers.clear(),10<H&&console.warn("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."))}}function E7(H,M,$,G){if(H.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var X=LX(H).queue;wX(H,X,M,k6,$===null?V:function(){return EX(H),$(G)})}function LX(H){var M=H.memoizedState;if(M!==null)return M;M={memoizedState:k6,baseState:k6,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:W4,lastRenderedState:k6},next:null};var $={};return M.next={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:W4,lastRenderedState:$},next:null},H.memoizedState=M,H=H.alternate,H!==null&&(H.memoizedState=M),M}function EX(H){F.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var M=LX(H).next.queue;jH(H,M,{},c0(H))}function V7(){var H=O7(!1);return H=wX.bind(null,t,H.queue,!0,!1),v0().memoizedState=H,[!1,H]}function VX(){var H=i6(W4)[0],M=V1().memoizedState;return[typeof H==="boolean"?H:FH(H),M]}function DX(){var H=WH(W4)[0],M=V1().memoizedState;return[typeof H==="boolean"?H:FH(H),M]}function K6(){return y1(AM)}function D7(){var H=v0(),M=x1.identifierPrefix;if(O1){var $=B2,G=J2;$=(G&~(1<<32-W0(G)-1)).toString(32)+$,M="«"+M+"R"+$,$=H3++,0<$&&(M+="H"+$.toString(32)),M+="»"}else $=nR++,M="«"+M+"r"+$.toString(32)+"»";return H.memoizedState=M}function N7(){return v0().memoizedState=CJ.bind(null,t)}function CJ(H,M){for(var $=H.return;$!==null;){switch($.tag){case 24:case 3:var G=c0($);H=L2(G);var X=E2($,H,G);X!==null&&(c1(X,$,G),_H(X,$,G)),$=i3(),M!==null&&M!==void 0&&X!==null&&console.error("The seed argument is not enabled outside experimental channels."),H.payload={cache:$};return}$=$.return}}function xJ(H,M,$){var G=arguments;typeof G[3]==="function"&&console.error("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()."),G=c0(H);var X={lane:G,revertLane:0,action:$,hasEagerState:!1,eagerState:null,next:null};Z5(H)?CX(M,X):(X=m3(H,M,X,G),X!==null&&(c1(X,H,G),xX(X,M,G))),n4(H,G)}function NX(H,M,$){var G=arguments;typeof G[3]==="function"&&console.error("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()."),G=c0(H),jH(H,M,$,G),n4(H,G)}function jH(H,M,$,G){var X={lane:G,revertLane:0,action:$,hasEagerState:!1,eagerState:null,next:null};if(Z5(H))CX(M,X);else{var Z=H.alternate;if(H.lanes===0&&(Z===null||Z.lanes===0)&&(Z=M.lastRenderedReducer,Z!==null)){var Y=F.H;F.H=E4;try{var Q=M.lastRenderedState,U=Z(Q,$);if(X.hasEagerState=!0,X.eagerState=U,A0(U,Q))return mM(H,M,X,0),x1===null&&fM(),!1}catch(J){}finally{F.H=Y}}if($=m3(H,M,X,G),$!==null)return c1($,H,G),xX($,M,G),!0}return!1}function C7(H,M,$,G){if(F.T===null&&j6===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),G={lane:2,revertLane:Q9(),action:G,hasEagerState:!1,eagerState:null,next:null},Z5(H)){if(M)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else M=m3(H,$,G,2),M!==null&&c1(M,H,2);n4(H,2)}function Z5(H){var M=H.alternate;return H===t||M!==null&&M===t}function CX(H,M){x8=e5=!0;var $=H.pending;$===null?M.next=M:(M.next=$.next,$.next=M),H.pending=M}function xX(H,M,$){if(($&4194048)!==0){var G=M.lanes;G&=H.pendingLanes,$|=G,M.lanes=$,MH(H,$)}}function U0(H){var M=X1;return H!=null&&(X1=M===null?H:M.concat(H)),M}function Y5(H,M,$){for(var G=Object.keys(H.props),X=0;X<G.length;X++){var Z=G[X];if(Z!=="children"&&Z!=="key"){M===null&&(M=hM(H,$.mode,0),M._debugInfo=X1,M.return=$),l(M,function(Y){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Y)},Z);break}}}function Q5(H){var M=QM;return QM+=1,v8===null&&(v8=iG()),eG(v8,H,M)}function AH(H,M){M=M.props.ref,H.ref=M!==void 0?M:null}function z5(H,M){if(M.$$typeof===gB)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
- Multiple copies of the "react" package is used.
|
|
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
- A compiler tries to "inline" JSX instead of using the runtime.`);throw H=Object.prototype.toString.call(M),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}function U5(H,M){var $=y(H)||"Component";Zz[$]||(Zz[$]=!0,M=M.displayName||M.name||"Component",H.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
root.render(%s)`,M,M,M):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
<%s>{%s}</%s>`,M,M,$,M,$))}function J5(H,M){var $=y(H)||"Component";Yz[$]||(Yz[$]=!0,M=String(M),H.tag===3?console.error(`Symbols are not valid as a React child.
|
|
root.render(%s)`,M):console.error(`Symbols are not valid as a React child.
|
|
<%s>%s</%s>`,$,M,$))}function vX(H){function M(B,R){if(H){var q=B.deletions;q===null?(B.deletions=[R],B.flags|=16):q.push(R)}}function $(B,R){if(!H)return null;for(;R!==null;)M(B,R),R=R.sibling;return null}function G(B){for(var R=new Map;B!==null;)B.key!==null?R.set(B.key,B):R.set(B.index,B),B=B.sibling;return R}function X(B,R){return B=t4(B,R),B.index=0,B.sibling=null,B}function Z(B,R,q){if(B.index=q,!H)return B.flags|=1048576,R;if(q=B.alternate,q!==null)return q=q.index,q<R?(B.flags|=67108866,R):q;return B.flags|=67108866,R}function Y(B){return H&&B.alternate===null&&(B.flags|=67108866),B}function Q(B,R,q,A){if(R===null||R.tag!==6)return R=p3(q,B.mode,A),R.return=B,R._debugOwner=B,R._debugTask=B._debugTask,R._debugInfo=X1,R;return R=X(R,q),R.return=B,R._debugInfo=X1,R}function U(B,R,q,A){var v=q.type;if(v===J8)return R=_(B,R,q.props.children,A,q.key),Y5(q,R,B),R;if(R!==null&&(R.elementType===v||mG(R,q)||typeof v==="object"&&v!==null&&v.$$typeof===s0&&d2(v)===R.type))return R=X(R,q.props),AH(R,q),R.return=B,R._debugOwner=q._owner,R._debugInfo=X1,R;return R=hM(q,B.mode,A),AH(R,q),R.return=B,R._debugInfo=X1,R}function J(B,R,q,A){if(R===null||R.tag!==4||R.stateNode.containerInfo!==q.containerInfo||R.stateNode.implementation!==q.implementation)return R=c3(q,B.mode,A),R.return=B,R._debugInfo=X1,R;return R=X(R,q.children||[]),R.return=B,R._debugInfo=X1,R}function _(B,R,q,A,v){if(R===null||R.tag!==7)return R=Z6(q,B.mode,A,v),R.return=B,R._debugOwner=B,R._debugTask=B._debugTask,R._debugInfo=X1,R;return R=X(R,q),R.return=B,R._debugInfo=X1,R}function W(B,R,q){if(typeof R==="string"&&R!==""||typeof R==="number"||typeof R==="bigint")return R=p3(""+R,B.mode,q),R.return=B,R._debugOwner=B,R._debugTask=B._debugTask,R._debugInfo=X1,R;if(typeof R==="object"&&R!==null){switch(R.$$typeof){case S2:return q=hM(R,B.mode,q),AH(q,R),q.return=B,B=U0(R._debugInfo),q._debugInfo=X1,X1=B,q;case U8:return R=c3(R,B.mode,q),R.return=B,R._debugInfo=X1,R;case s0:var A=U0(R._debugInfo);return R=d2(R),B=W(B,R,q),X1=A,B}if(R0(R)||n1(R))return q=Z6(R,B.mode,q,null),q.return=B,q._debugOwner=B,q._debugTask=B._debugTask,B=U0(R._debugInfo),q._debugInfo=X1,X1=B,q;if(typeof R.then==="function")return A=U0(R._debugInfo),B=W(B,Q5(R),q),X1=A,B;if(R.$$typeof===m4)return W(B,pM(B,R),q);z5(B,R)}return typeof R==="function"&&U5(B,R),typeof R==="symbol"&&J5(B,R),null}function O(B,R,q,A){var v=R!==null?R.key:null;if(typeof q==="string"&&q!==""||typeof q==="number"||typeof q==="bigint")return v!==null?null:Q(B,R,""+q,A);if(typeof q==="object"&&q!==null){switch(q.$$typeof){case S2:return q.key===v?(v=U0(q._debugInfo),B=U(B,R,q,A),X1=v,B):null;case U8:return q.key===v?J(B,R,q,A):null;case s0:return v=U0(q._debugInfo),q=d2(q),B=O(B,R,q,A),X1=v,B}if(R0(q)||n1(q)){if(v!==null)return null;return v=U0(q._debugInfo),B=_(B,R,q,A,null),X1=v,B}if(typeof q.then==="function")return v=U0(q._debugInfo),B=O(B,R,Q5(q),A),X1=v,B;if(q.$$typeof===m4)return O(B,R,pM(B,q),A);z5(B,q)}return typeof q==="function"&&U5(B,q),typeof q==="symbol"&&J5(B,q),null}function j(B,R,q,A,v){if(typeof A==="string"&&A!==""||typeof A==="number"||typeof A==="bigint")return B=B.get(q)||null,Q(R,B,""+A,v);if(typeof A==="object"&&A!==null){switch(A.$$typeof){case S2:return q=B.get(A.key===null?q:A.key)||null,B=U0(A._debugInfo),R=U(R,q,A,v),X1=B,R;case U8:return B=B.get(A.key===null?q:A.key)||null,J(R,B,A,v);case s0:var e=U0(A._debugInfo);return A=d2(A),R=j(B,R,q,A,v),X1=e,R}if(R0(A)||n1(A))return q=B.get(q)||null,B=U0(A._debugInfo),R=_(R,q,A,v,null),X1=B,R;if(typeof A.then==="function")return e=U0(A._debugInfo),R=j(B,R,q,Q5(A),v),X1=e,R;if(A.$$typeof===m4)return j(B,R,q,pM(R,A),v);z5(R,A)}return typeof A==="function"&&U5(R,A),typeof A==="symbol"&&J5(R,A),null}function f(B,R,q,A){if(typeof q!=="object"||q===null)return A;switch(q.$$typeof){case S2:case U8:p(B,R,q);var v=q.key;if(typeof v!=="string")break;if(A===null){A=new Set,A.add(v);break}if(!A.has(v)){A.add(v);break}l(R,function(){console.error("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.",v)});break;case s0:q=d2(q),f(B,R,q,A)}return A}function o(B,R,q,A){for(var v=null,e=null,m=null,H1=R,$1=R=0,b1=null;H1!==null&&$1<q.length;$1++){H1.index>$1?(b1=H1,H1=null):b1=H1.sibling;var a1=O(B,H1,q[$1],A);if(a1===null){H1===null&&(H1=b1);break}v=f(B,a1,q[$1],v),H&&H1&&a1.alternate===null&&M(B,H1),R=Z(a1,R,$1),m===null?e=a1:m.sibling=a1,m=a1,H1=b1}if($1===q.length)return $(B,H1),O1&&Y6(B,$1),e;if(H1===null){for(;$1<q.length;$1++)H1=W(B,q[$1],A),H1!==null&&(v=f(B,H1,q[$1],v),R=Z(H1,R,$1),m===null?e=H1:m.sibling=H1,m=H1);return O1&&Y6(B,$1),e}for(H1=G(H1);$1<q.length;$1++)b1=j(H1,B,$1,q[$1],A),b1!==null&&(v=f(B,b1,q[$1],v),H&&b1.alternate!==null&&H1.delete(b1.key===null?$1:b1.key),R=Z(b1,R,$1),m===null?e=b1:m.sibling=b1,m=b1);return H&&H1.forEach(function(F2){return M(B,F2)}),O1&&Y6(B,$1),e}function v1(B,R,q,A){if(q==null)throw Error("An iterable object provided no iterator.");for(var v=null,e=null,m=R,H1=R=0,$1=null,b1=null,a1=q.next();m!==null&&!a1.done;H1++,a1=q.next()){m.index>H1?($1=m,m=null):$1=m.sibling;var F2=O(B,m,a1.value,A);if(F2===null){m===null&&(m=$1);break}b1=f(B,F2,a1.value,b1),H&&m&&F2.alternate===null&&M(B,m),R=Z(F2,R,H1),e===null?v=F2:e.sibling=F2,e=F2,m=$1}if(a1.done)return $(B,m),O1&&Y6(B,H1),v;if(m===null){for(;!a1.done;H1++,a1=q.next())m=W(B,a1.value,A),m!==null&&(b1=f(B,m,a1.value,b1),R=Z(m,R,H1),e===null?v=m:e.sibling=m,e=m);return O1&&Y6(B,H1),v}for(m=G(m);!a1.done;H1++,a1=q.next())$1=j(m,B,H1,a1.value,A),$1!==null&&(b1=f(B,$1,a1.value,b1),H&&$1.alternate!==null&&m.delete($1.key===null?H1:$1.key),R=Z($1,R,H1),e===null?v=$1:e.sibling=$1,e=$1);return H&&m.forEach(function(Aq){return M(B,Aq)}),O1&&Y6(B,H1),v}function R1(B,R,q,A){if(typeof q==="object"&&q!==null&&q.type===J8&&q.key===null&&(Y5(q,null,B),q=q.props.children),typeof q==="object"&&q!==null){switch(q.$$typeof){case S2:var v=U0(q._debugInfo);H:{for(var e=q.key;R!==null;){if(R.key===e){if(e=q.type,e===J8){if(R.tag===7){$(B,R.sibling),A=X(R,q.props.children),A.return=B,A._debugOwner=q._owner,A._debugInfo=X1,Y5(q,A,B),B=A;break H}}else if(R.elementType===e||mG(R,q)||typeof e==="object"&&e!==null&&e.$$typeof===s0&&d2(e)===R.type){$(B,R.sibling),A=X(R,q.props),AH(A,q),A.return=B,A._debugOwner=q._owner,A._debugInfo=X1,B=A;break H}$(B,R);break}else M(B,R);R=R.sibling}q.type===J8?(A=Z6(q.props.children,B.mode,A,q.key),A.return=B,A._debugOwner=B,A._debugTask=B._debugTask,A._debugInfo=X1,Y5(q,A,B),B=A):(A=hM(q,B.mode,A),AH(A,q),A.return=B,A._debugInfo=X1,B=A)}return B=Y(B),X1=v,B;case U8:H:{v=q;for(q=v.key;R!==null;){if(R.key===q)if(R.tag===4&&R.stateNode.containerInfo===v.containerInfo&&R.stateNode.implementation===v.implementation){$(B,R.sibling),A=X(R,v.children||[]),A.return=B,B=A;break H}else{$(B,R);break}else M(B,R);R=R.sibling}A=c3(v,B.mode,A),A.return=B,B=A}return Y(B);case s0:return v=U0(q._debugInfo),q=d2(q),B=R1(B,R,q,A),X1=v,B}if(R0(q))return v=U0(q._debugInfo),B=o(B,R,q,A),X1=v,B;if(n1(q)){if(v=U0(q._debugInfo),e=n1(q),typeof e!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var m=e.call(q);if(m===q){if(B.tag!==0||Object.prototype.toString.call(B.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(m)!=="[object Generator]")Gz||console.error("Using Iterators 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. You can also use an Iterable that can iterate multiple times over the same items."),Gz=!0}else q.entries!==e||T$||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),T$=!0);return B=v1(B,R,m,A),X1=v,B}if(typeof q.then==="function")return v=U0(q._debugInfo),B=R1(B,R,Q5(q),A),X1=v,B;if(q.$$typeof===m4)return R1(B,R,pM(B,q),A);z5(B,q)}if(typeof q==="string"&&q!==""||typeof q==="number"||typeof q==="bigint")return v=""+q,R!==null&&R.tag===6?($(B,R.sibling),A=X(R,v),A.return=B,B=A):($(B,R),A=p3(v,B.mode,A),A.return=B,A._debugOwner=B,A._debugTask=B._debugTask,A._debugInfo=X1,B=A),Y(B);return typeof q==="function"&&U5(B,q),typeof q==="symbol"&&J5(B,q),$(B,R)}return function(B,R,q,A){var v=X1;X1=null;try{QM=0;var e=R1(B,R,q,A);return v8=null,e}catch(b1){if(b1===GM||b1===n5)throw b1;var m=g(29,b1,null,B.mode);m.lanes=A,m.return=B;var H1=m._debugInfo=X1;if(m._debugOwner=B._debugOwner,m._debugTask=B._debugTask,H1!=null){for(var $1=H1.length-1;0<=$1;$1--)if(typeof H1[$1].stack==="string"){m._debugOwner=H1[$1],m._debugTask=H1[$1].debugTask;break}}return m}finally{X1=v}}}function D2(H){var M=H.alternate;Q1(M0,M0.current&b8,H),Q1(q4,H,H),a4===null&&(M===null||N8.current!==null?a4=H:M.memoizedState!==null&&(a4=H))}function SX(H){if(H.tag===22){if(Q1(M0,M0.current,H),Q1(q4,H,H),a4===null){var M=H.alternate;M!==null&&M.memoizedState!==null&&(a4=H)}}else N2(H)}function N2(H){Q1(M0,M0.current,H),Q1(q4,q4.current,H)}function M2(H){L1(q4,H),a4===H&&(a4=null),L1(M0,H)}function B5(H){for(var M=H;M!==null;){if(M.tag===13){var $=M.memoizedState;if($!==null&&($=$.dehydrated,$===null||$.data===_2||T9($)))return M}else if(M.tag===19&&M.memoizedProps.revealOrder!==void 0){if((M.flags&128)!==0)return M}else if(M.child!==null){M.child.return=M,M=M.child;continue}if(M===H)break;for(;M.sibling===null;){if(M.return===null||M.return===H)return null;M=M.return}M.sibling.return=M.return,M=M.sibling}return null}function x7(H){if(H!==null&&typeof H!=="function"){var M=String(H);Tz.has(M)||(Tz.add(M),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",H))}}function v7(H,M,$,G){var X=H.memoizedState,Z=$(G,X);if(H.mode&I0){I1(!0);try{Z=$(G,X)}finally{I1(!1)}}Z===void 0&&(M=w1(M)||"Component",Kz.has(M)||(Kz.add(M),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",M))),X=Z===null||Z===void 0?X:Y1({},X,Z),H.memoizedState=X,H.lanes===0&&(H.updateQueue.baseState=X)}function bX(H,M,$,G,X,Z,Y){var Q=H.stateNode;if(typeof Q.shouldComponentUpdate==="function"){if($=Q.shouldComponentUpdate(G,Z,Y),H.mode&I0){I1(!0);try{$=Q.shouldComponentUpdate(G,Z,Y)}finally{I1(!1)}}return $===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",w1(M)||"Component"),$}return M.prototype&&M.prototype.isPureReactComponent?!JH($,G)||!JH(X,Z):!0}function gX(H,M,$,G){var X=M.state;typeof M.componentWillReceiveProps==="function"&&M.componentWillReceiveProps($,G),typeof M.UNSAFE_componentWillReceiveProps==="function"&&M.UNSAFE_componentWillReceiveProps($,G),M.state!==X&&(H=y(H)||"Component",Uz.has(H)||(Uz.add(H),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",H)),I$.enqueueReplaceState(M,M.state,null))}function O6(H,M){var $=M;if("ref"in M){$={};for(var G in M)G!=="ref"&&($[G]=M[G])}if(H=H.defaultProps){$===M&&($=Y1({},$));for(var X in H)$[X]===void 0&&($[X]=H[X])}return $}function kX(H){F$(H),console.warn(`%s
|
|
|
|
%s
|
|
`,g8?"An error occurred in the <"+g8+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function yX(H){var M=g8?"The above error occurred in the <"+g8+"> component.":"The above error occurred in one of your React components.",$="React will try to recreate this component tree from scratch using the error boundary you provided, "+((W$||"Anonymous")+".");if(typeof H==="object"&&H!==null&&typeof H.environmentName==="string"){var G=H.environmentName;H=[`%o
|
|
|
|
%s
|
|
|
|
%s
|
|
`,H,M,$].slice(0),typeof H[0]==="string"?H.splice(0,1,nz+H[0],iz,F3+G+F3,tz):H.splice(0,0,nz,iz,F3+G+F3,tz),H.unshift(console),G=Wq.apply(console.error,H),G()}else console.error(`%o
|
|
|
|
%s
|
|
|
|
%s
|
|
`,H,M,$)}function fX(H){F$(H)}function R5(H,M){try{g8=M.source?y(M.source):null,W$=null;var $=M.value;if(F.actQueue!==null)F.thrownErrors.push($);else{var G=H.onUncaughtError;G($,{componentStack:M.stack})}}catch(X){setTimeout(function(){throw X})}}function mX(H,M,$){try{g8=$.source?y($.source):null,W$=y(M);var G=H.onCaughtError;G($.value,{componentStack:$.stack,errorBoundary:M.tag===1?M.stateNode:null})}catch(X){setTimeout(function(){throw X})}}function S7(H,M,$){return $=L2($),$.tag=J$,$.payload={element:null},$.callback=function(){l(M.source,R5,H,M)},$}function b7(H){return H=L2(H),H.tag=J$,H}function g7(H,M,$,G){var X=$.type.getDerivedStateFromError;if(typeof X==="function"){var Z=G.value;H.payload=function(){return X(Z)},H.callback=function(){uG($),l(G.source,mX,M,$,G)}}var Y=$.stateNode;Y!==null&&typeof Y.componentDidCatch==="function"&&(H.callback=function(){uG($),l(G.source,mX,M,$,G),typeof X!=="function"&&(s2===null?s2=new Set([this]):s2.add(this)),tR(this,G),typeof X==="function"||($.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",y($)||"Unknown")})}function vJ(H,M,$,G,X){if($.flags|=32768,j4&&CH(H,X),G!==null&&typeof G==="object"&&typeof G.then==="function"){if(M=$.alternate,M!==null&&KH(M,$,X,!0),O1&&(R2=!0),$=q4.current,$!==null){switch($.tag){case 13:return a4===null?H9():$.alternate===null&&d1===P2&&(d1=L$),$.flags&=-257,$.flags|=65536,$.lanes=X,G===U$?$.flags|=16384:(M=$.updateQueue,M===null?$.updateQueue=new Set([G]):M.add(G),G9(H,G,X)),!1;case 22:return $.flags|=65536,G===U$?$.flags|=16384:(M=$.updateQueue,M===null?(M={transitions:null,markerInstances:null,retryQueue:new Set([G])},$.updateQueue=M):($=M.retryQueue,$===null?M.retryQueue=new Set([G]):$.add(G)),G9(H,G,X)),!1}throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}return G9(H,G,X),H9(),!1}if(O1)return R2=!0,M=q4.current,M!==null?((M.flags&65536)===0&&(M.flags|=256),M.flags|=65536,M.lanes=X,G!==Z$&&qH(d0(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:G}),$))):(G!==Z$&&qH(d0(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:G}),$)),H=H.current.alternate,H.flags|=65536,X&=-X,H.lanes|=X,G=d0(G,$),X=S7(H.stateNode,G,X),rM(H,X),d1!==E6&&(d1=m8)),!1;var Z=d0(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:G}),$);if(OM===null?OM=[Z]:OM.push(Z),d1!==E6&&(d1=m8),M===null)return!0;G=d0(G,$),$=M;do{switch($.tag){case 3:return $.flags|=65536,H=X&-X,$.lanes|=H,H=S7($.stateNode,G,H),rM($,H),!1;case 1:if(M=$.type,Z=$.stateNode,($.flags&128)===0&&(typeof M.getDerivedStateFromError==="function"||Z!==null&&typeof Z.componentDidCatch==="function"&&(s2===null||!s2.has(Z))))return $.flags|=65536,X&=-X,$.lanes|=X,X=b7(X),g7(X,H,$,G),rM($,X),!1}$=$.return}while($!==null);return!1}function J0(H,M,$,G){M.child=H===null?Qz(M,null,$,G):S8(M,H.child,$,G)}function uX(H,M,$,G,X){$=$.render;var Z=M.ref;if("ref"in G){var Y={};for(var Q in G)Q!=="ref"&&(Y[Q]=G[Q])}else Y=G;if(J6(M),e0(M),G=Y7(H,M,$,Y,Z,X),Q=z7(),_4(),H!==null&&!Y0)return U7(H,M,X),$2(H,M,X);return O1&&Q&&s3(M),M.flags|=1,J0(H,M,G,X),M.child}function hX(H,M,$,G,X){if(H===null){var Z=$.type;if(typeof Z==="function"&&!d3(Z)&&Z.defaultProps===void 0&&$.compare===null)return $=X6(Z),M.tag=15,M.type=$,y7(M,Z),dX(H,M,$,G,X);return H=l3($.type,null,G,M,M.mode,X),H.ref=M.ref,H.return=M,M.child=H}if(Z=H.child,!l7(H,X)){var Y=Z.memoizedProps;if($=$.compare,$=$!==null?$:JH,$(Y,G)&&H.ref===M.ref)return $2(H,M,X)}return M.flags|=1,H=t4(Z,G),H.ref=M.ref,H.return=M,M.child=H}function dX(H,M,$,G,X){if(H!==null){var Z=H.memoizedProps;if(JH(Z,G)&&H.ref===M.ref&&M.type===H.type)if(Y0=!1,M.pendingProps=G=Z,l7(H,X))(H.flags&131072)!==0&&(Y0=!0);else return M.lanes=H.lanes,$2(H,M,X)}return k7(H,M,$,G,X)}function lX(H,M,$){var G=M.pendingProps,X=G.children,Z=H!==null?H.memoizedState:null;if(G.mode==="hidden"){if((M.flags&128)!==0){if(G=Z!==null?Z.baseLanes|$:$,H!==null){X=M.child=H.child;for(Z=0;X!==null;)Z=Z|X.lanes|X.childLanes,X=X.sibling;M.childLanes=Z&~G}else M.childLanes=0,M.child=null;return pX(H,M,G,$)}if(($&536870912)!==0)M.memoizedState={baseLanes:0,cachePool:null},H!==null&&aM(M,Z!==null?Z.cachePool:null),Z!==null?XX(M,Z):G7(M),SX(M);else return M.lanes=M.childLanes=536870912,pX(H,M,Z!==null?Z.baseLanes|$:$,$)}else Z!==null?(aM(M,Z.cachePool),XX(M,Z),N2(M),M.memoizedState=null):(H!==null&&aM(M,null),G7(M),N2(M));return J0(H,M,X,$),M.child}function pX(H,M,$,G){var X=H7();return X=X===null?null:{parent:e1._currentValue,pool:X},M.memoizedState={baseLanes:$,cachePool:X},H!==null&&aM(M,null),G7(M),SX(M),H!==null&&KH(H,M,G,!0),null}function q5(H,M){var $=M.ref;if($===null)H!==null&&H.ref!==null&&(M.flags|=4194816);else{if(typeof $!=="function"&&typeof $!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(H===null||H.ref!==$)M.flags|=4194816}}function k7(H,M,$,G,X){if($.prototype&&typeof $.prototype.render==="function"){var Z=w1($)||"Unknown";Fz[Z]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",Z,Z),Fz[Z]=!0)}if(M.mode&I0&&L4.recordLegacyContextWarning(M,null),H===null&&(y7(M,M.type),$.contextTypes&&(Z=w1($)||"Unknown",jz[Z]||(jz[Z]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",Z)))),J6(M),e0(M),$=Y7(H,M,$,G,void 0,X),G=z7(),_4(),H!==null&&!Y0)return U7(H,M,X),$2(H,M,X);return O1&&G&&s3(M),M.flags|=1,J0(H,M,$,X),M.child}function cX(H,M,$,G,X,Z){if(J6(M),e0(M),K2=-1,YM=H!==null&&H.type!==M.type,M.updateQueue=null,$=Q7(M,G,$,X),ZX(H,M),G=z7(),_4(),H!==null&&!Y0)return U7(H,M,Z),$2(H,M,Z);return O1&&G&&s3(M),M.flags|=1,J0(H,M,$,Z),M.child}function sX(H,M,$,G,X){switch(s(M)){case!1:var Z=M.stateNode,Y=new M.type(M.memoizedProps,Z.context).state;Z.updater.enqueueSetState(Z,Y,null);break;case!0:M.flags|=128,M.flags|=65536,Z=Error("Simulated error coming from DevTools");var Q=X&-X;if(M.lanes|=Q,Y=x1,Y===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Q=b7(Q),g7(Q,Y,M,d0(Z,M)),rM(M,Q)}if(J6(M),M.stateNode===null){if(Y=m2,Z=$.contextType,"contextType"in $&&Z!==null&&(Z===void 0||Z.$$typeof!==m4)&&!_z.has($)&&(_z.add($),Q=Z===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof Z!=="object"?" However, it is set to a "+typeof Z+".":Z.$$typeof===N9?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(Z).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",w1($)||"Component",Q)),typeof Z==="object"&&Z!==null&&(Y=y1(Z)),Z=new $(G,Y),M.mode&I0){I1(!0);try{Z=new $(G,Y)}finally{I1(!1)}}if(Y=M.memoizedState=Z.state!==null&&Z.state!==void 0?Z.state:null,Z.updater=I$,M.stateNode=Z,Z._reactInternals=M,Z._reactInternalInstance=zz,typeof $.getDerivedStateFromProps==="function"&&Y===null&&(Y=w1($)||"Component",Jz.has(Y)||(Jz.add(Y),console.error("`%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.",Y,Z.state===null?"null":"undefined",Y))),typeof $.getDerivedStateFromProps==="function"||typeof Z.getSnapshotBeforeUpdate==="function"){var U=Q=Y=null;if(typeof Z.componentWillMount==="function"&&Z.componentWillMount.__suppressDeprecationWarning!==!0?Y="componentWillMount":typeof Z.UNSAFE_componentWillMount==="function"&&(Y="UNSAFE_componentWillMount"),typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Q="componentWillReceiveProps":typeof Z.UNSAFE_componentWillReceiveProps==="function"&&(Q="UNSAFE_componentWillReceiveProps"),typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate.__suppressDeprecationWarning!==!0?U="componentWillUpdate":typeof Z.UNSAFE_componentWillUpdate==="function"&&(U="UNSAFE_componentWillUpdate"),Y!==null||Q!==null||U!==null){Z=w1($)||"Component";var J=typeof $.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Rz.has(Z)||(Rz.add(Z),console.error(`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://react.dev/link/unsafe-component-lifecycles`,Z,J,Y!==null?`
|
|
`+Y:"",Q!==null?`
|
|
`+Q:"",U!==null?`
|
|
`+U:""))}}Z=M.stateNode,Y=w1($)||"Component",Z.render||($.prototype&&typeof $.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",Y):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",Y)),!Z.getInitialState||Z.getInitialState.isReactClassApproved||Z.state||console.error("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?",Y),Z.getDefaultProps&&!Z.getDefaultProps.isReactClassApproved&&console.error("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.",Y),Z.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",Y),$.childContextTypes&&!Pz.has($)&&(Pz.add($),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",Y)),$.contextTypes&&!Oz.has($)&&(Oz.add($),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",Y)),typeof Z.componentShouldUpdate==="function"&&console.error("%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.",Y),$.prototype&&$.prototype.isPureReactComponent&&typeof Z.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",w1($)||"A pure component"),typeof Z.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",Y),typeof Z.componentDidReceiveProps==="function"&&console.error("%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().",Y),typeof Z.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",Y),typeof Z.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",Y),Q=Z.props!==G,Z.props!==void 0&&Q&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",Y),Z.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",Y,Y),typeof Z.getSnapshotBeforeUpdate!=="function"||typeof Z.componentDidUpdate==="function"||Bz.has($)||(Bz.add($),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",w1($))),typeof Z.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Y),typeof Z.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",Y),typeof $.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",Y),(Q=Z.state)&&(typeof Q!=="object"||R0(Q))&&console.error("%s.state: must be set to an object or null",Y),typeof Z.getChildContext==="function"&&typeof $.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",Y),Z=M.stateNode,Z.props=G,Z.state=M.memoizedState,Z.refs={},M7(M),Y=$.contextType,Z.context=typeof Y==="object"&&Y!==null?y1(Y):m2,Z.state===G&&(Y=w1($)||"Component",qz.has(Y)||(qz.add(Y),console.error("%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.",Y))),M.mode&I0&&L4.recordLegacyContextWarning(M,Z),L4.recordUnsafeLifecycleWarnings(M,Z),Z.state=M.memoizedState,Y=$.getDerivedStateFromProps,typeof Y==="function"&&(v7(M,$,Y,G),Z.state=M.memoizedState),typeof $.getDerivedStateFromProps==="function"||typeof Z.getSnapshotBeforeUpdate==="function"||typeof Z.UNSAFE_componentWillMount!=="function"&&typeof Z.componentWillMount!=="function"||(Y=Z.state,typeof Z.componentWillMount==="function"&&Z.componentWillMount(),typeof Z.UNSAFE_componentWillMount==="function"&&Z.UNSAFE_componentWillMount(),Y!==Z.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y(M)||"Component"),I$.enqueueReplaceState(Z,Z.state,null)),IH(M,G,Z,X),TH(),Z.state=M.memoizedState),typeof Z.componentDidMount==="function"&&(M.flags|=4194308),(M.mode&w4)!==S1&&(M.flags|=134217728),Z=!0}else if(H===null){Z=M.stateNode;var _=M.memoizedProps;Q=O6($,_),Z.props=Q;var W=Z.context;U=$.contextType,Y=m2,typeof U==="object"&&U!==null&&(Y=y1(U)),J=$.getDerivedStateFromProps,U=typeof J==="function"||typeof Z.getSnapshotBeforeUpdate==="function",_=M.pendingProps!==_,U||typeof Z.UNSAFE_componentWillReceiveProps!=="function"&&typeof Z.componentWillReceiveProps!=="function"||(_||W!==Y)&&gX(M,Z,G,Y),u2=!1;var O=M.memoizedState;Z.state=O,IH(M,G,Z,X),TH(),W=M.memoizedState,_||O!==W||u2?(typeof J==="function"&&(v7(M,$,J,G),W=M.memoizedState),(Q=u2||bX(M,$,Q,G,O,W,Y))?(U||typeof Z.UNSAFE_componentWillMount!=="function"&&typeof Z.componentWillMount!=="function"||(typeof Z.componentWillMount==="function"&&Z.componentWillMount(),typeof Z.UNSAFE_componentWillMount==="function"&&Z.UNSAFE_componentWillMount()),typeof Z.componentDidMount==="function"&&(M.flags|=4194308),(M.mode&w4)!==S1&&(M.flags|=134217728)):(typeof Z.componentDidMount==="function"&&(M.flags|=4194308),(M.mode&w4)!==S1&&(M.flags|=134217728),M.memoizedProps=G,M.memoizedState=W),Z.props=G,Z.state=W,Z.context=Y,Z=Q):(typeof Z.componentDidMount==="function"&&(M.flags|=4194308),(M.mode&w4)!==S1&&(M.flags|=134217728),Z=!1)}else{Z=M.stateNode,$7(H,M),Y=M.memoizedProps,U=O6($,Y),Z.props=U,J=M.pendingProps,O=Z.context,W=$.contextType,Q=m2,typeof W==="object"&&W!==null&&(Q=y1(W)),_=$.getDerivedStateFromProps,(W=typeof _==="function"||typeof Z.getSnapshotBeforeUpdate==="function")||typeof Z.UNSAFE_componentWillReceiveProps!=="function"&&typeof Z.componentWillReceiveProps!=="function"||(Y!==J||O!==Q)&&gX(M,Z,G,Q),u2=!1,O=M.memoizedState,Z.state=O,IH(M,G,Z,X),TH();var j=M.memoizedState;Y!==J||O!==j||u2||H!==null&&H.dependencies!==null&&lM(H.dependencies)?(typeof _==="function"&&(v7(M,$,_,G),j=M.memoizedState),(U=u2||bX(M,$,U,G,O,j,Q)||H!==null&&H.dependencies!==null&&lM(H.dependencies))?(W||typeof Z.UNSAFE_componentWillUpdate!=="function"&&typeof Z.componentWillUpdate!=="function"||(typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate(G,j,Q),typeof Z.UNSAFE_componentWillUpdate==="function"&&Z.UNSAFE_componentWillUpdate(G,j,Q)),typeof Z.componentDidUpdate==="function"&&(M.flags|=4),typeof Z.getSnapshotBeforeUpdate==="function"&&(M.flags|=1024)):(typeof Z.componentDidUpdate!=="function"||Y===H.memoizedProps&&O===H.memoizedState||(M.flags|=4),typeof Z.getSnapshotBeforeUpdate!=="function"||Y===H.memoizedProps&&O===H.memoizedState||(M.flags|=1024),M.memoizedProps=G,M.memoizedState=j),Z.props=G,Z.state=j,Z.context=Q,Z=U):(typeof Z.componentDidUpdate!=="function"||Y===H.memoizedProps&&O===H.memoizedState||(M.flags|=4),typeof Z.getSnapshotBeforeUpdate!=="function"||Y===H.memoizedProps&&O===H.memoizedState||(M.flags|=1024),Z=!1)}if(Q=Z,q5(H,M),Y=(M.flags&128)!==0,Q||Y){if(Q=M.stateNode,D3(M),Y&&typeof $.getDerivedStateFromError!=="function")$=null,g0=-1;else{if(e0(M),$=aQ(Q),M.mode&I0){I1(!0);try{aQ(Q)}finally{I1(!1)}}_4()}M.flags|=1,H!==null&&Y?(M.child=S8(M,H.child,null,X),M.child=S8(M,null,$,X)):J0(H,M,$,X),M.memoizedState=Q.state,H=M.child}else H=$2(H,M,X);return X=M.stateNode,Z&&X.props!==G&&(k8||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",y(M)||"a component"),k8=!0),H}function aX(H,M,$,G){return RH(),M.flags|=256,J0(H,M,$,G),M.child}function y7(H,M){M&&M.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
%s.childContextTypes = ...`,M.displayName||M.name||"Component"),typeof M.getDerivedStateFromProps==="function"&&(H=w1(M)||"Unknown",Az[H]||(console.error("%s: Function components do not support getDerivedStateFromProps.",H),Az[H]=!0)),typeof M.contextType==="object"&&M.contextType!==null&&(M=w1(M)||"Unknown",Wz[M]||(console.error("%s: Function components do not support contextType.",M),Wz[M]=!0))}function f7(H){return{baseLanes:H,cachePool:nG()}}function m7(H,M,$){return H=H!==null?H.childLanes&~$:0,M&&(H|=i0),H}function oX(H,M,$){var G,X=M.pendingProps;d(M)&&(M.flags|=128);var Z=!1,Y=(M.flags&128)!==0;if((G=Y)||(G=H!==null&&H.memoizedState===null?!1:(M0.current&zM)!==0),G&&(Z=!0,M.flags&=-129),G=(M.flags&32)!==0,M.flags&=-33,H===null){if(O1){if(Z?D2(M):N2(M),O1){var Q=h1,U;if(!(U=!Q)){H:{var J=Q;for(U=c4;J.nodeType!==8;){if(!U){U=null;break H}if(J=X4(J.nextSibling),J===null){U=null;break H}}U=J}U!==null?(Q6(),M.memoizedState={dehydrated:U,treeContext:I6!==null?{id:J2,overflow:B2}:null,retryLane:536870912,hydrationErrors:null},J=g(18,null,null,S1),J.stateNode=U,J.return=M,M.child=J,w0=M,h1=null,U=!0):U=!1,U=!U}U&&(o3(M,Q),U6(M))}if(Q=M.memoizedState,Q!==null&&(Q=Q.dehydrated,Q!==null))return T9(Q)?M.lanes=32:M.lanes=536870912,null;M2(M)}if(Q=X.children,X=X.fallback,Z)return N2(M),Z=M.mode,Q=K5({mode:"hidden",children:Q},Z),X=Z6(X,Z,$,null),Q.return=M,X.return=M,Q.sibling=X,M.child=Q,Z=M.child,Z.memoizedState=f7($),Z.childLanes=m7(H,G,$),M.memoizedState=A$,X;return D2(M),u7(M,Q)}var _=H.memoizedState;if(_!==null&&(Q=_.dehydrated,Q!==null)){if(Y)M.flags&256?(D2(M),M.flags&=-257,M=h7(H,M,$)):M.memoizedState!==null?(N2(M),M.child=H.child,M.flags|=128,M=null):(N2(M),Z=X.fallback,Q=M.mode,X=K5({mode:"visible",children:X.children},Q),Z=Z6(Z,Q,$,null),Z.flags|=2,X.return=M,Z.return=M,X.sibling=Z,M.child=X,S8(M,H.child,null,$),X=M.child,X.memoizedState=f7($),X.childLanes=m7(H,G,$),M.memoizedState=A$,M=Z);else if(D2(M),O1&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),T9(Q)){if(G=Q.nextSibling&&Q.nextSibling.dataset,G){U=G.dgst;var W=G.msg;J=G.stck;var O=G.cstck}Q=W,G=U,X=J,U=Z=O,Z=Q?Error(Q):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),Z.stack=X||"",Z.digest=G,G=U===void 0?null:U,X={value:Z,source:null,stack:G},typeof G==="string"&&G$.set(Z,X),qH(X),M=h7(H,M,$)}else if(Y0||KH(H,M,$,!1),G=($&H.childLanes)!==0,Y0||G){if(G=x1,G!==null&&(X=$&-$,X=(X&42)!==0?1:c6(X),X=(X&(G.suspendedLanes|$))!==0?0:X,X!==0&&X!==_.retryLane))throw _.retryLane=X,x0(H,X),c1(G,H,X),Iz;Q.data===_2||H9(),M=h7(H,M,$)}else Q.data===_2?(M.flags|=192,M.child=H.child,M=null):(H=_.treeContext,h1=X4(Q.nextSibling),w0=M,O1=!0,F6=null,R2=!1,U4=null,c4=!1,H!==null&&(Q6(),Q4[z4++]=J2,Q4[z4++]=B2,Q4[z4++]=I6,J2=H.id,B2=H.overflow,I6=M),M=u7(M,X.children),M.flags|=4096);return M}if(Z)return N2(M),Z=X.fallback,Q=M.mode,U=H.child,J=U.sibling,X=t4(U,{mode:"hidden",children:X.children}),X.subtreeFlags=U.subtreeFlags&65011712,J!==null?Z=t4(J,Z):(Z=Z6(Z,Q,$,null),Z.flags|=2),Z.return=M,X.return=M,X.sibling=Z,M.child=X,X=Z,Z=M.child,Q=H.child.memoizedState,Q===null?Q=f7($):(U=Q.cachePool,U!==null?(J=e1._currentValue,U=U.parent!==J?{parent:J,pool:J}:U):U=nG(),Q={baseLanes:Q.baseLanes|$,cachePool:U}),Z.memoizedState=Q,Z.childLanes=m7(H,G,$),M.memoizedState=A$,X;return D2(M),$=H.child,H=$.sibling,$=t4($,{mode:"visible",children:X.children}),$.return=M,$.sibling=null,H!==null&&(G=M.deletions,G===null?(M.deletions=[H],M.flags|=16):G.push(H)),M.child=$,M.memoizedState=null,$}function u7(H,M){return M=K5({mode:"visible",children:M},H.mode),M.return=H,H.child=M}function K5(H,M){return H=g(22,H,null,M),H.lanes=0,H.stateNode={_visibility:d5,_pendingMarkers:null,_retryCache:null,_transitions:null},H}function h7(H,M,$){return S8(M,H.child,null,$),H=u7(M,M.pendingProps.children),H.flags|=2,M.memoizedState=null,H}function rX(H,M,$){H.lanes|=M;var G=H.alternate;G!==null&&(G.lanes|=M),r3(H.return,M,$)}function nX(H,M){var $=R0(H);return H=!$&&typeof n1(H)==="function",$||H?($=$?"array":"iterable",console.error("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>",$,M,$),!1):!0}function d7(H,M,$,G,X){var Z=H.memoizedState;Z===null?H.memoizedState={isBackwards:M,rendering:null,renderingStartTime:0,last:G,tail:$,tailMode:X}:(Z.isBackwards=M,Z.rendering=null,Z.renderingStartTime=0,Z.last=G,Z.tail=$,Z.tailMode=X)}function iX(H,M,$){var G=M.pendingProps,X=G.revealOrder,Z=G.tail;if(G=G.children,X!==void 0&&X!=="forwards"&&X!=="backwards"&&X!=="together"&&!wz[X])if(wz[X]=!0,typeof X==="string")switch(X.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',X,X.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',X,X.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',X)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',X);Z===void 0||j$[Z]||(Z!=="collapsed"&&Z!=="hidden"?(j$[Z]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',Z)):X!=="forwards"&&X!=="backwards"&&(j$[Z]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',Z)));H:if((X==="forwards"||X==="backwards")&&G!==void 0&&G!==null&&G!==!1)if(R0(G)){for(var Y=0;Y<G.length;Y++)if(!nX(G[Y],Y))break H}else if(Y=n1(G),typeof Y==="function"){if(Y=Y.call(G))for(var Q=Y.next(),U=0;!Q.done;Q=Y.next()){if(!nX(Q.value,U))break H;U++}}else console.error('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);if(J0(H,M,G,$),G=M0.current,(G&zM)!==0)G=G&b8|zM,M.flags|=128;else{if(H!==null&&(H.flags&128)!==0)H:for(H=M.child;H!==null;){if(H.tag===13)H.memoizedState!==null&&rX(H,$,M);else if(H.tag===19)rX(H,$,M);else if(H.child!==null){H.child.return=H,H=H.child;continue}if(H===M)break H;for(;H.sibling===null;){if(H.return===null||H.return===M)break H;H=H.return}H.sibling.return=H.return,H=H.sibling}G&=b8}switch(Q1(M0,G,M),X){case"forwards":$=M.child;for(X=null;$!==null;)H=$.alternate,H!==null&&B5(H)===null&&(X=$),$=$.sibling;$=X,$===null?(X=M.child,M.child=null):(X=$.sibling,$.sibling=null),d7(M,!1,X,$,Z);break;case"backwards":$=null,X=M.child;for(M.child=null;X!==null;){if(H=X.alternate,H!==null&&B5(H)===null){M.child=X;break}H=X.sibling,X.sibling=$,$=X,X=H}d7(M,!0,$,null,Z);break;case"together":d7(M,!1,null,null,void 0);break;default:M.memoizedState=null}return M.child}function $2(H,M,$){if(H!==null&&(M.dependencies=H.dependencies),g0=-1,p2|=M.lanes,($&M.childLanes)===0)if(H!==null){if(KH(H,M,$,!1),($&M.childLanes)===0)return null}else return null;if(H!==null&&M.child!==H.child)throw Error("Resuming work not yet implemented.");if(M.child!==null){H=M.child,$=t4(H,H.pendingProps),M.child=$;for($.return=M;H.sibling!==null;)H=H.sibling,$=$.sibling=t4(H,H.pendingProps),$.return=M;$.sibling=null}return M.child}function l7(H,M){if((H.lanes&M)!==0)return!0;return H=H.dependencies,H!==null&&lM(H)?!0:!1}function SJ(H,M,$){switch(M.tag){case 3:m0(M,M.stateNode.containerInfo),w2(M,e1,H.memoizedState.cache),RH();break;case 27:case 5:n(M);break;case 4:m0(M,M.stateNode.containerInfo);break;case 10:w2(M,M.type,M.memoizedProps.value);break;case 12:($&M.childLanes)!==0&&(M.flags|=4),M.flags|=2048;var G=M.stateNode;G.effectDuration=-0,G.passiveEffectDuration=-0;break;case 13:if(G=M.memoizedState,G!==null){if(G.dehydrated!==null)return D2(M),M.flags|=128,null;if(($&M.child.childLanes)!==0)return oX(H,M,$);return D2(M),H=$2(H,M,$),H!==null?H.sibling:null}D2(M);break;case 19:var X=(H.flags&128)!==0;if(G=($&M.childLanes)!==0,G||(KH(H,M,$,!1),G=($&M.childLanes)!==0),X){if(G)return iX(H,M,$);M.flags|=128}if(X=M.memoizedState,X!==null&&(X.rendering=null,X.tail=null,X.lastEffect=null),Q1(M0,M0.current,M),G)break;else return null;case 22:case 23:return M.lanes=0,lX(H,M,$);case 24:w2(M,e1,H.memoizedState.cache)}return $2(H,M,$)}function p7(H,M,$){if(M._debugNeedsRemount&&H!==null){$=l3(M.type,M.key,M.pendingProps,M._debugOwner||null,M.mode,M.lanes),$._debugStack=M._debugStack,$._debugTask=M._debugTask;var G=M.return;if(G===null)throw Error("Cannot swap the root fiber.");if(H.alternate=null,M.alternate=null,$.index=M.index,$.sibling=M.sibling,$.return=M.return,$.ref=M.ref,$._debugInfo=M._debugInfo,M===G.child)G.child=$;else{var X=G.child;if(X===null)throw Error("Expected parent to have a child.");for(;X.sibling!==M;)if(X=X.sibling,X===null)throw Error("Expected to find the previous sibling.");X.sibling=$}return M=G.deletions,M===null?(G.deletions=[H],G.flags|=16):M.push(H),$.flags|=2,$}if(H!==null)if(H.memoizedProps!==M.pendingProps||M.type!==H.type)Y0=!0;else{if(!l7(H,$)&&(M.flags&128)===0)return Y0=!1,SJ(H,M,$);Y0=(H.flags&131072)!==0?!0:!1}else{if(Y0=!1,G=O1)Q6(),G=(M.flags&1048576)!==0;G&&(G=M.index,Q6(),dG(M,p5,G))}switch(M.lanes=0,M.tag){case 16:H:if(G=M.pendingProps,H=d2(M.elementType),M.type=H,typeof H==="function")d3(H)?(G=O6(H,G),M.tag=1,M.type=H=X6(H),M=sX(null,M,H,G,$)):(M.tag=0,y7(M,H),M.type=H=X6(H),M=k7(null,M,H,G,$));else{if(H!==void 0&&H!==null){if(X=H.$$typeof,X===fH){M.tag=11,M.type=H=u3(H),M=uX(null,M,H,G,$);break H}else if(X===x5){M.tag=14,M=hX(null,M,H,G,$);break H}}throw M="",H!==null&&typeof H==="object"&&H.$$typeof===s0&&(M=" Did you wrap a component in React.lazy() more than once?"),H=w1(H)||H,Error("Element type is invalid. Received a promise that resolves to: "+H+". Lazy element type must resolve to a class or function."+M)}return M;case 0:return k7(H,M,M.type,M.pendingProps,$);case 1:return G=M.type,X=O6(G,M.pendingProps),sX(H,M,G,X,$);case 3:H:{if(m0(M,M.stateNode.containerInfo),H===null)throw Error("Should have a current fiber. This is a bug in React.");G=M.pendingProps;var Z=M.memoizedState;X=Z.element,$7(H,M),IH(M,G,null,$);var Y=M.memoizedState;if(G=Y.cache,w2(M,e1,G),G!==Z.cache&&n3(M,[e1],$,!0),TH(),G=Y.element,Z.isDehydrated)if(Z={element:G,isDehydrated:!1,cache:Y.cache},M.updateQueue.baseState=Z,M.memoizedState=Z,M.flags&256){M=aX(H,M,G,$);break H}else if(G!==X){X=d0(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),M),qH(X),M=aX(H,M,G,$);break H}else{switch(H=M.stateNode.containerInfo,H.nodeType){case 9:H=H.body;break;default:H=H.nodeName==="HTML"?H.ownerDocument.body:H}h1=X4(H.firstChild),w0=M,O1=!0,F6=null,R2=!1,U4=null,c4=!0,H=Qz(M,null,G,$);for(M.child=H;H;)H.flags=H.flags&-3|4096,H=H.sibling}else{if(RH(),G===X){M=$2(H,M,$);break H}J0(H,M,G,$)}M=M.child}return M;case 26:return q5(H,M),H===null?(H=PY(M.type,null,M.pendingProps,null))?M.memoizedState=H:O1||(H=M.type,$=M.pendingProps,G=X0(g2.current),G=j5(G).createElement(H),G[T0]=M,G[b0]=$,B0(G,H,$),D(G),M.stateNode=G):M.memoizedState=PY(M.type,H.memoizedProps,M.pendingProps,H.memoizedState),null;case 27:return n(M),H===null&&O1&&(G=X0(g2.current),X=c(),G=M.stateNode=KY(M.type,M.pendingProps,G,X,!1),R2||(X=ZY(G,M.type,M.pendingProps,X),X!==null&&(z6(M,0).serverProps=X)),w0=M,c4=!0,X=h1,v2(M.type)?(s$=X,h1=X4(G.firstChild)):h1=X),J0(H,M,M.pendingProps.children,$),q5(H,M),H===null&&(M.flags|=4194304),M.child;case 5:return H===null&&O1&&(Z=c(),G=g3(M.type,Z.ancestorInfo),X=h1,(Y=!X)||(Y=PB(X,M.type,M.pendingProps,c4),Y!==null?(M.stateNode=Y,R2||(Z=ZY(Y,M.type,M.pendingProps,Z),Z!==null&&(z6(M,0).serverProps=Z)),w0=M,h1=X4(Y.firstChild),c4=!1,Z=!0):Z=!1,Y=!Z),Y&&(G&&o3(M,X),U6(M))),n(M),X=M.type,Z=M.pendingProps,Y=H!==null?H.memoizedProps:null,G=Z.children,P9(X,Z)?G=null:Y!==null&&P9(X,Y)&&(M.flags|=32),M.memoizedState!==null&&(X=Y7(H,M,VJ,null,null,$),AM._currentValue=X),q5(H,M),J0(H,M,G,$),M.child;case 6:return H===null&&O1&&(H=M.pendingProps,$=c(),G=$.ancestorInfo.current,H=G!=null?bM(H,G.tag,$.ancestorInfo.implicitRootScope):!0,$=h1,(G=!$)||(G=_B($,M.pendingProps,c4),G!==null?(M.stateNode=G,w0=M,h1=null,G=!0):G=!1,G=!G),G&&(H&&o3(M,$),U6(M))),null;case 13:return oX(H,M,$);case 4:return m0(M,M.stateNode.containerInfo),G=M.pendingProps,H===null?M.child=S8(M,null,G,$):J0(H,M,G,$),M.child;case 11:return uX(H,M,M.type,M.pendingProps,$);case 7:return J0(H,M,M.pendingProps,$),M.child;case 8:return J0(H,M,M.pendingProps.children,$),M.child;case 12:return M.flags|=4,M.flags|=2048,G=M.stateNode,G.effectDuration=-0,G.passiveEffectDuration=-0,J0(H,M,M.pendingProps.children,$),M.child;case 10:return G=M.type,X=M.pendingProps,Z=X.value,"value"in X||Lz||(Lz=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),w2(M,G,Z),J0(H,M,X.children,$),M.child;case 9:return X=M.type._context,G=M.pendingProps.children,typeof G!=="function"&&console.error("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."),J6(M),X=y1(X),e0(M),G=P$(G,X,void 0),_4(),M.flags|=1,J0(H,M,G,$),M.child;case 14:return hX(H,M,M.type,M.pendingProps,$);case 15:return dX(H,M,M.type,M.pendingProps,$);case 19:return iX(H,M,$);case 31:return G=M.pendingProps,$=M.mode,G={mode:G.mode,children:G.children},H===null?(H=K5(G,$),H.ref=M.ref,M.child=H,H.return=M,M=H):(H=t4(H.child,G),H.ref=M.ref,M.child=H,H.return=M,M=H),M;case 22:return lX(H,M,$);case 24:return J6(M),G=y1(e1),H===null?(X=H7(),X===null&&(X=x1,Z=i3(),X.pooledCache=Z,B6(Z),Z!==null&&(X.pooledCacheLanes|=$),X=Z),M.memoizedState={parent:G,cache:X},M7(M),w2(M,e1,X)):((H.lanes&$)!==0&&($7(H,M),IH(M,null,null,$),TH()),X=H.memoizedState,Z=M.memoizedState,X.parent!==G?(X={parent:G,cache:G},M.memoizedState=X,M.lanes===0&&(M.memoizedState=M.updateQueue.baseState=X),w2(M,e1,G)):(G=Z.cache,w2(M,e1,G),G!==X.cache&&n3(M,[e1],$,!0))),J0(H,M,M.pendingProps.children,$),M.child;case 29:throw M.pendingProps}throw Error("Unknown unit of work tag ("+M.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function G2(H){H.flags|=4}function tX(H,M){if(M.type!=="stylesheet"||(M.state.loading&K4)!==g6)H.flags&=-16777217;else if(H.flags|=16777216,!WY(M)){if(M=q4.current,M!==null&&((J1&4194048)===J1?a4!==null:(J1&62914560)!==J1&&(J1&536870912)===0||M!==a4))throw XM=U$,gQ;H.flags|=8192}}function O5(H,M){M!==null&&(H.flags|=4),H.flags&16384&&(M=H.tag!==22?HH():536870912,H.lanes|=M,N6|=M)}function wH(H,M){if(!O1)switch(H.tailMode){case"hidden":M=H.tail;for(var $=null;M!==null;)M.alternate!==null&&($=M),M=M.sibling;$===null?H.tail=null:$.sibling=null;break;case"collapsed":$=H.tail;for(var G=null;$!==null;)$.alternate!==null&&(G=$),$=$.sibling;G===null?M||H.tail===null?H.tail=null:H.tail.sibling=null:G.sibling=null}}function f1(H){var M=H.alternate!==null&&H.alternate.child===H.child,$=0,G=0;if(M)if((H.mode&q0)!==S1){for(var{selfBaseDuration:X,child:Z}=H;Z!==null;)$|=Z.lanes|Z.childLanes,G|=Z.subtreeFlags&65011712,G|=Z.flags&65011712,X+=Z.treeBaseDuration,Z=Z.sibling;H.treeBaseDuration=X}else for(X=H.child;X!==null;)$|=X.lanes|X.childLanes,G|=X.subtreeFlags&65011712,G|=X.flags&65011712,X.return=H,X=X.sibling;else if((H.mode&q0)!==S1){X=H.actualDuration,Z=H.selfBaseDuration;for(var Y=H.child;Y!==null;)$|=Y.lanes|Y.childLanes,G|=Y.subtreeFlags,G|=Y.flags,X+=Y.actualDuration,Z+=Y.treeBaseDuration,Y=Y.sibling;H.actualDuration=X,H.treeBaseDuration=Z}else for(X=H.child;X!==null;)$|=X.lanes|X.childLanes,G|=X.subtreeFlags,G|=X.flags,X.return=H,X=X.sibling;return H.subtreeFlags|=G,H.childLanes=$,M}function bJ(H,M,$){var G=M.pendingProps;switch(a3(M),M.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return f1(M),null;case 1:return f1(M),null;case 3:if($=M.stateNode,G=null,H!==null&&(G=H.memoizedState.cache),M.memoizedState.cache!==G&&(M.flags|=2048),e4(e1,M),b(M),$.pendingContext&&($.context=$.pendingContext,$.pendingContext=null),H===null||H.child===null)BH(M)?(sG(),G2(M)):H===null||H.memoizedState.isDehydrated&&(M.flags&256)===0||(M.flags|=1024,cG());return f1(M),null;case 26:return $=M.memoizedState,H===null?(G2(M),$!==null?(f1(M),tX(M,$)):(f1(M),M.flags&=-16777217)):$?$!==H.memoizedState?(G2(M),f1(M),tX(M,$)):(f1(M),M.flags&=-16777217):(H.memoizedProps!==G&&G2(M),f1(M),M.flags&=-16777217),null;case 27:_1(M),$=X0(g2.current);var X=M.type;if(H!==null&&M.stateNode!=null)H.memoizedProps!==G&&G2(M);else{if(!G){if(M.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return f1(M),null}H=c(),BH(M)?lG(M,H):(H=KY(X,G,$,H,!0),M.stateNode=H,G2(M))}return f1(M),null;case 5:if(_1(M),$=M.type,H!==null&&M.stateNode!=null)H.memoizedProps!==G&&G2(M);else{if(!G){if(M.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return f1(M),null}if(X=c(),BH(M))lG(M,X);else{switch(H=X0(g2.current),g3($,X.ancestorInfo),X=X.context,H=j5(H),X){case c8:H=H.createElementNS(K8,$);break;case _3:H=H.createElementNS(y5,$);break;default:switch($){case"svg":H=H.createElementNS(K8,$);break;case"math":H=H.createElementNS(y5,$);break;case"script":H=H.createElement("div"),H.innerHTML="<script></script>",H=H.removeChild(H.firstChild);break;case"select":H=typeof G.is==="string"?H.createElement("select",{is:G.is}):H.createElement("select"),G.multiple?H.multiple=!0:G.size&&(H.size=G.size);break;default:H=typeof G.is==="string"?H.createElement($,{is:G.is}):H.createElement($),$.indexOf("-")===-1&&($!==$.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",$),Object.prototype.toString.call(H)!=="[object HTMLUnknownElement]"||z2.call(pz,$)||(pz[$]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",$)))}}H[T0]=M,H[b0]=G;H:for(X=M.child;X!==null;){if(X.tag===5||X.tag===6)H.appendChild(X.stateNode);else if(X.tag!==4&&X.tag!==27&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===M)break H;for(;X.sibling===null;){if(X.return===null||X.return===M)break H;X=X.return}X.sibling.return=X.return,X=X.sibling}M.stateNode=H;H:switch(B0(H,$,G),$){case"button":case"input":case"select":case"textarea":H=!!G.autoFocus;break H;case"img":H=!0;break H;default:H=!1}H&&G2(M)}}return f1(M),M.flags&=-16777217,null;case 6:if(H&&M.stateNode!=null)H.memoizedProps!==G&&G2(M);else{if(typeof G!=="string"&&M.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(H=X0(g2.current),$=c(),BH(M)){H=M.stateNode,$=M.memoizedProps,X=!R2,G=null;var Z=w0;if(Z!==null)switch(Z.tag){case 3:X&&(X=BY(H,$,G),X!==null&&(z6(M,0).serverProps=X));break;case 27:case 5:G=Z.memoizedProps,X&&(X=BY(H,$,G),X!==null&&(z6(M,0).serverProps=X))}H[T0]=M,H=H.nodeValue===$||G!==null&&G.suppressHydrationWarning===!0||HY(H.nodeValue,$)?!0:!1,H||U6(M)}else X=$.ancestorInfo.current,X!=null&&bM(G,X.tag,$.ancestorInfo.implicitRootScope),H=j5(H).createTextNode(G),H[T0]=M,M.stateNode=H}return f1(M),null;case 13:if(G=M.memoizedState,H===null||H.memoizedState!==null&&H.memoizedState.dehydrated!==null){if(X=BH(M),G!==null&&G.dehydrated!==null){if(H===null){if(!X)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(X=M.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");X[T0]=M,f1(M),(M.mode&q0)!==S1&&G!==null&&(X=M.child,X!==null&&(M.treeBaseDuration-=X.treeBaseDuration))}else sG(),RH(),(M.flags&128)===0&&(M.memoizedState=null),M.flags|=4,f1(M),(M.mode&q0)!==S1&&G!==null&&(X=M.child,X!==null&&(M.treeBaseDuration-=X.treeBaseDuration));X=!1}else X=cG(),H!==null&&H.memoizedState!==null&&(H.memoizedState.hydrationErrors=X),X=!0;if(!X){if(M.flags&256)return M2(M),M;return M2(M),null}}if(M2(M),(M.flags&128)!==0)return M.lanes=$,(M.mode&q0)!==S1&&sM(M),M;return $=G!==null,H=H!==null&&H.memoizedState!==null,$&&(G=M.child,X=null,G.alternate!==null&&G.alternate.memoizedState!==null&&G.alternate.memoizedState.cachePool!==null&&(X=G.alternate.memoizedState.cachePool.pool),Z=null,G.memoizedState!==null&&G.memoizedState.cachePool!==null&&(Z=G.memoizedState.cachePool.pool),Z!==X&&(G.flags|=2048)),$!==H&&$&&(M.child.flags|=8192),O5(M,M.updateQueue),f1(M),(M.mode&q0)!==S1&&$&&(H=M.child,H!==null&&(M.treeBaseDuration-=H.treeBaseDuration)),null;case 4:return b(M),H===null&&U9(M.stateNode.containerInfo),f1(M),null;case 10:return e4(M.type,M),f1(M),null;case 19:if(L1(M0,M),X=M.memoizedState,X===null)return f1(M),null;if(G=(M.flags&128)!==0,Z=X.rendering,Z===null)if(G)wH(X,!1);else{if(d1!==P2||H!==null&&(H.flags&128)!==0)for(H=M.child;H!==null;){if(Z=B5(H),Z!==null){M.flags|=128,wH(X,!1),H=Z.updateQueue,M.updateQueue=H,O5(M,H),M.subtreeFlags=0,H=$;for($=M.child;$!==null;)hG($,H),$=$.sibling;return Q1(M0,M0.current&b8|zM,M),M.child}H=H.sibling}X.tail!==null&&u4()>Z3&&(M.flags|=128,G=!0,wH(X,!1),M.lanes=4194304)}else{if(!G)if(H=B5(Z),H!==null){if(M.flags|=128,G=!0,H=H.updateQueue,M.updateQueue=H,O5(M,H),wH(X,!0),X.tail===null&&X.tailMode==="hidden"&&!Z.alternate&&!O1)return f1(M),null}else 2*u4()-X.renderingStartTime>Z3&&$!==536870912&&(M.flags|=128,G=!0,wH(X,!1),M.lanes=4194304);X.isBackwards?(Z.sibling=M.child,M.child=Z):(H=X.last,H!==null?H.sibling=Z:M.child=Z,X.last=Z)}if(X.tail!==null)return H=X.tail,X.rendering=H,X.tail=H.sibling,X.renderingStartTime=u4(),H.sibling=null,$=M0.current,$=G?$&b8|zM:$&b8,Q1(M0,$,M),H;return f1(M),null;case 22:case 23:return M2(M),X7(M),G=M.memoizedState!==null,H!==null?H.memoizedState!==null!==G&&(M.flags|=8192):G&&(M.flags|=8192),G?($&536870912)!==0&&(M.flags&128)===0&&(f1(M),M.subtreeFlags&6&&(M.flags|=8192)):f1(M),$=M.updateQueue,$!==null&&O5(M,$.retryQueue),$=null,H!==null&&H.memoizedState!==null&&H.memoizedState.cachePool!==null&&($=H.memoizedState.cachePool.pool),G=null,M.memoizedState!==null&&M.memoizedState.cachePool!==null&&(G=M.memoizedState.cachePool.pool),G!==$&&(M.flags|=2048),H!==null&&L1(A6,M),null;case 24:return $=null,H!==null&&($=H.memoizedState.cache),M.memoizedState.cache!==$&&(M.flags|=2048),e4(e1,M),f1(M),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+M.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function gJ(H,M){switch(a3(M),M.tag){case 1:return H=M.flags,H&65536?(M.flags=H&-65537|128,(M.mode&q0)!==S1&&sM(M),M):null;case 3:return e4(e1,M),b(M),H=M.flags,(H&65536)!==0&&(H&128)===0?(M.flags=H&-65537|128,M):null;case 26:case 27:case 5:return _1(M),null;case 13:if(M2(M),H=M.memoizedState,H!==null&&H.dehydrated!==null){if(M.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");RH()}return H=M.flags,H&65536?(M.flags=H&-65537|128,(M.mode&q0)!==S1&&sM(M),M):null;case 19:return L1(M0,M),null;case 4:return b(M),null;case 10:return e4(M.type,M),null;case 22:case 23:return M2(M),X7(M),H!==null&&L1(A6,M),H=M.flags,H&65536?(M.flags=H&-65537|128,(M.mode&q0)!==S1&&sM(M),M):null;case 24:return e4(e1,M),null;case 25:return null;default:return null}}function eX(H,M){switch(a3(M),M.tag){case 3:e4(e1,M),b(M);break;case 26:case 27:case 5:_1(M);break;case 4:b(M);break;case 13:M2(M);break;case 19:L1(M0,M);break;case 10:e4(M.type,M);break;case 22:case 23:M2(M),X7(M),H!==null&&L1(A6,M);break;case 24:e4(e1,M)}}function b4(H){return(H.mode&q0)!==S1}function HZ(H,M){b4(H)?(S4(),LH(M,H),v4()):LH(M,H)}function c7(H,M,$){b4(H)?(S4(),H8($,H,M),v4()):H8($,H,M)}function LH(H,M){try{var $=M.updateQueue,G=$!==null?$.lastEffect:null;if(G!==null){var X=G.next;$=X;do{if(($.tag&H)===H&&((H&H0)!==J4?k!==null&&typeof k.markComponentPassiveEffectMountStarted==="function"&&k.markComponentPassiveEffectMountStarted(M):(H&K0)!==J4&&k!==null&&typeof k.markComponentLayoutEffectMountStarted==="function"&&k.markComponentLayoutEffectMountStarted(M),G=void 0,(H&L0)!==J4&&(l8=!0),G=l(M,eR,$),(H&L0)!==J4&&(l8=!1),(H&H0)!==J4?k!==null&&typeof k.markComponentPassiveEffectMountStopped==="function"&&k.markComponentPassiveEffectMountStopped():(H&K0)!==J4&&k!==null&&typeof k.markComponentLayoutEffectMountStopped==="function"&&k.markComponentLayoutEffectMountStopped(),G!==void 0&&typeof G!=="function")){var Z=void 0;Z=($.tag&K0)!==0?"useLayoutEffect":($.tag&L0)!==0?"useInsertionEffect":"useEffect";var Y=void 0;Y=G===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof G.then==="function"?`
|
|
|
|
It looks like you wrote `+Z+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
|
|
`+Z+`(() => {
|
|
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://react.dev/link/hooks-data-fetching`:" You returned: "+G,l(M,function(Q,U){console.error("%s must not return anything besides a function, which is used for clean-up.%s",Q,U)},Z,Y)}$=$.next}while($!==X)}}catch(Q){D1(M,M.return,Q)}}function H8(H,M,$){try{var G=M.updateQueue,X=G!==null?G.lastEffect:null;if(X!==null){var Z=X.next;G=Z;do{if((G.tag&H)===H){var Y=G.inst,Q=Y.destroy;Q!==void 0&&(Y.destroy=void 0,(H&H0)!==J4?k!==null&&typeof k.markComponentPassiveEffectUnmountStarted==="function"&&k.markComponentPassiveEffectUnmountStarted(M):(H&K0)!==J4&&k!==null&&typeof k.markComponentLayoutEffectUnmountStarted==="function"&&k.markComponentLayoutEffectUnmountStarted(M),(H&L0)!==J4&&(l8=!0),X=M,l(X,Hq,X,$,Q),(H&L0)!==J4&&(l8=!1),(H&H0)!==J4?k!==null&&typeof k.markComponentPassiveEffectUnmountStopped==="function"&&k.markComponentPassiveEffectUnmountStopped():(H&K0)!==J4&&k!==null&&typeof k.markComponentLayoutEffectUnmountStopped==="function"&&k.markComponentLayoutEffectUnmountStopped())}G=G.next}while(G!==Z)}}catch(U){D1(M,M.return,U)}}function MZ(H,M){b4(H)?(S4(),LH(M,H),v4()):LH(M,H)}function s7(H,M,$){b4(H)?(S4(),H8($,H,M),v4()):H8($,H,M)}function $Z(H){var M=H.updateQueue;if(M!==null){var $=H.stateNode;H.type.defaultProps||"ref"in H.memoizedProps||k8||($.props!==H.memoizedProps&&console.error("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.",y(H)||"instance"),$.state!==H.memoizedState&&console.error("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.",y(H)||"instance"));try{l(H,GX,M,$)}catch(G){D1(H,H.return,G)}}}function kJ(H,M,$){return H.getSnapshotBeforeUpdate(M,$)}function yJ(H,M){var{memoizedProps:$,memoizedState:G}=M;M=H.stateNode,H.type.defaultProps||"ref"in H.memoizedProps||k8||(M.props!==H.memoizedProps&&console.error("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.",y(H)||"instance"),M.state!==H.memoizedState&&console.error("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.",y(H)||"instance"));try{var X=O6(H.type,$,H.elementType===H.type),Z=l(H,kJ,M,X,G);$=Ez,Z!==void 0||$.has(H.type)||($.add(H.type),l(H,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",y(H))})),M.__reactInternalSnapshotBeforeUpdate=Z}catch(Y){D1(H,H.return,Y)}}function GZ(H,M,$){$.props=O6(H.type,H.memoizedProps),$.state=H.memoizedState,b4(H)?(S4(),l(H,eQ,H,M,$),v4()):l(H,eQ,H,M,$)}function fJ(H){var M=H.ref;if(M!==null){switch(H.tag){case 26:case 27:case 5:var $=H.stateNode;break;case 30:$=H.stateNode;break;default:$=H.stateNode}if(typeof M==="function")if(b4(H))try{S4(),H.refCleanup=M($)}finally{v4()}else H.refCleanup=M($);else typeof M==="string"?console.error("String refs are no longer supported."):M.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",y(H)),M.current=$}}function EH(H,M){try{l(H,fJ,H)}catch($){D1(H,M,$)}}function g4(H,M){var{ref:$,refCleanup:G}=H;if($!==null)if(typeof G==="function")try{if(b4(H))try{S4(),l(H,G)}finally{v4(H)}else l(H,G)}catch(X){D1(H,M,X)}finally{H.refCleanup=null,H=H.alternate,H!=null&&(H.refCleanup=null)}else if(typeof $==="function")try{if(b4(H))try{S4(),l(H,$,null)}finally{v4(H)}else l(H,$,null)}catch(X){D1(H,M,X)}else $.current=null}function XZ(H,M,$,G){var X=H.memoizedProps,Z=X.id,Y=X.onCommit;X=X.onRender,M=M===null?"mount":"update",a5&&(M="nested-update"),typeof X==="function"&&X(Z,M,H.actualDuration,H.treeBaseDuration,H.actualStartTime,$),typeof Y==="function"&&Y(H.memoizedProps.id,M,G,$)}function mJ(H,M,$,G){var X=H.memoizedProps;H=X.id,X=X.onPostCommit,M=M===null?"mount":"update",a5&&(M="nested-update"),typeof X==="function"&&X(H,M,G,$)}function ZZ(H){var{type:M,memoizedProps:$,stateNode:G}=H;try{l(H,QB,G,M,$,H)}catch(X){D1(H,H.return,X)}}function a7(H,M,$){try{l(H,zB,H.stateNode,H.type,$,M,H)}catch(G){D1(H,H.return,G)}}function YZ(H){return H.tag===5||H.tag===3||H.tag===26||H.tag===27&&v2(H.type)||H.tag===4}function o7(H){H:for(;;){for(;H.sibling===null;){if(H.return===null||YZ(H.return))return null;H=H.return}H.sibling.return=H.return;for(H=H.sibling;H.tag!==5&&H.tag!==6&&H.tag!==18;){if(H.tag===27&&v2(H.type))continue H;if(H.flags&2)continue H;if(H.child===null||H.tag===4)continue H;else H.child.return=H,H=H.child}if(!(H.flags&2))return H.stateNode}}function r7(H,M,$){var G=H.tag;if(G===5||G===6)H=H.stateNode,M?($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).insertBefore(H,M):(M=$.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,M.appendChild(H),$=$._reactRootContainer,$!==null&&$!==void 0||M.onclick!==null||(M.onclick=W5));else if(G!==4&&(G===27&&v2(H.type)&&($=H.stateNode,M=null),H=H.child,H!==null))for(r7(H,M,$),H=H.sibling;H!==null;)r7(H,M,$),H=H.sibling}function P5(H,M,$){var G=H.tag;if(G===5||G===6)H=H.stateNode,M?$.insertBefore(H,M):$.appendChild(H);else if(G!==4&&(G===27&&v2(H.type)&&($=H.stateNode),H=H.child,H!==null))for(P5(H,M,$),H=H.sibling;H!==null;)P5(H,M,$),H=H.sibling}function uJ(H){for(var M,$=H.return;$!==null;){if(YZ($)){M=$;break}$=$.return}if(M==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(M.tag){case 27:M=M.stateNode,$=o7(H),P5(H,$,M);break;case 5:$=M.stateNode,M.flags&32&&(zY($),M.flags&=-33),M=o7(H),P5(H,M,$);break;case 3:case 4:M=M.stateNode.containerInfo,$=o7(H),r7(H,$,M);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function QZ(H){var{stateNode:M,memoizedProps:$}=H;try{l(H,WB,H.type,$,M,H)}catch(G){D1(H,H.return,G)}}function hJ(H,M){if(H=H.containerInfo,l$=W3,H=kG(H),f3(H)){if("selectionStart"in H)var $={start:H.selectionStart,end:H.selectionEnd};else H:{$=($=H.ownerDocument)&&$.defaultView||window;var G=$.getSelection&&$.getSelection();if(G&&G.rangeCount!==0){$=G.anchorNode;var{anchorOffset:X,focusNode:Z}=G;G=G.focusOffset;try{$.nodeType,Z.nodeType}catch(f){$=null;break H}var Y=0,Q=-1,U=-1,J=0,_=0,W=H,O=null;M:for(;;){for(var j;;){if(W!==$||X!==0&&W.nodeType!==3||(Q=Y+X),W!==Z||G!==0&&W.nodeType!==3||(U=Y+G),W.nodeType===3&&(Y+=W.nodeValue.length),(j=W.firstChild)===null)break;O=W,W=j}for(;;){if(W===H)break M;if(O===$&&++J===X&&(Q=Y),O===Z&&++_===G&&(U=Y),(j=W.nextSibling)!==null)break;W=O,O=W.parentNode}W=j}$=Q===-1||U===-1?null:{start:Q,end:U}}else $=null}$=$||{start:0,end:0}}else $=null;p$={focusedElem:H,selectionRange:$},W3=!1;for(Q0=M;Q0!==null;)if(M=Q0,H=M.child,(M.subtreeFlags&1024)!==0&&H!==null)H.return=M,Q0=H;else for(;Q0!==null;){switch(H=M=Q0,$=H.alternate,X=H.flags,H.tag){case 0:break;case 11:case 15:break;case 1:(X&1024)!==0&&$!==null&&yJ(H,$);break;case 3:if((X&1024)!==0){if(H=H.stateNode.containerInfo,$=H.nodeType,$===9)_9(H);else if($===1)switch(H.nodeName){case"HEAD":case"HTML":case"BODY":_9(H);break;default:H.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((X&1024)!==0)throw 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(H=M.sibling,H!==null){H.return=M.return,Q0=H;break}Q0=M.return}}function zZ(H,M,$){var G=$.flags;switch($.tag){case 0:case 11:case 15:Z2(H,$),G&4&&HZ($,K0|B4);break;case 1:if(Z2(H,$),G&4)if(H=$.stateNode,M===null)$.type.defaultProps||"ref"in $.memoizedProps||k8||(H.props!==$.memoizedProps&&console.error("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.",y($)||"instance"),H.state!==$.memoizedState&&console.error("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.",y($)||"instance")),b4($)?(S4(),l($,_$,$,H),v4()):l($,_$,$,H);else{var X=O6($.type,M.memoizedProps);M=M.memoizedState,$.type.defaultProps||"ref"in $.memoizedProps||k8||(H.props!==$.memoizedProps&&console.error("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.",y($)||"instance"),H.state!==$.memoizedState&&console.error("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.",y($)||"instance")),b4($)?(S4(),l($,nQ,$,H,X,M,H.__reactInternalSnapshotBeforeUpdate),v4()):l($,nQ,$,H,X,M,H.__reactInternalSnapshotBeforeUpdate)}G&64&&$Z($),G&512&&EH($,$.return);break;case 3:if(M=H2(),Z2(H,$),G&64&&(G=$.updateQueue,G!==null)){if(X=null,$.child!==null)switch($.child.tag){case 27:case 5:X=$.child.stateNode;break;case 1:X=$.child.stateNode}try{l($,GX,G,X)}catch(Y){D1($,$.return,Y)}}H.effectDuration+=cM(M);break;case 27:M===null&&G&4&&QZ($);case 26:case 5:Z2(H,$),M===null&&G&4&&ZZ($),G&512&&EH($,$.return);break;case 12:if(G&4){G=H2(),Z2(H,$),H=$.stateNode,H.effectDuration+=PH(G);try{l($,XZ,$,M,s5,H.effectDuration)}catch(Y){D1($,$.return,Y)}}else Z2(H,$);break;case 13:Z2(H,$),G&4&&BZ(H,$),G&64&&(H=$.memoizedState,H!==null&&(H=H.dehydrated,H!==null&&($=nJ.bind(null,$),TB(H,$))));break;case 22:if(G=$.memoizedState!==null||O2,!G){M=M!==null&&M.memoizedState!==null||s1,X=O2;var Z=s1;O2=G,(s1=M)&&!Z?Y2(H,$,($.subtreeFlags&8772)!==0):Z2(H,$),O2=X,s1=Z}break;case 30:break;default:Z2(H,$)}}function UZ(H){var M=H.alternate;M!==null&&(H.alternate=null,UZ(M)),H.child=null,H.deletions=null,H.sibling=null,H.tag===5&&(M=H.stateNode,M!==null&&H6(M)),H.stateNode=null,H._debugOwner=null,H.return=null,H.dependencies=null,H.memoizedProps=null,H.memoizedState=null,H.pendingProps=null,H.stateNode=null,H.updateQueue=null}function X2(H,M,$){for($=$.child;$!==null;)JZ(H,M,$),$=$.sibling}function JZ(H,M,$){if(_0&&typeof _0.onCommitFiberUnmount==="function")try{_0.onCommitFiberUnmount(R8,$)}catch(Z){h4||(h4=!0,console.error("React instrumentation encountered an error: %s",Z))}switch($.tag){case 26:s1||g4($,M),X2(H,M,$),$.memoizedState?$.memoizedState.count--:$.stateNode&&($=$.stateNode,$.parentNode.removeChild($));break;case 27:s1||g4($,M);var G=r1,X=k0;v2($.type)&&(r1=$.stateNode,k0=!1),X2(H,M,$),l($,SH,$.stateNode),r1=G,k0=X;break;case 5:s1||g4($,M);case 6:if(G=r1,X=k0,r1=null,X2(H,M,$),r1=G,k0=X,r1!==null)if(k0)try{l($,BB,r1,$.stateNode)}catch(Z){D1($,M,Z)}else try{l($,JB,r1,$.stateNode)}catch(Z){D1($,M,Z)}break;case 18:r1!==null&&(k0?(H=r1,UY(H.nodeType===9?H.body:H.nodeName==="HTML"?H.ownerDocument.body:H,$.stateNode),yH(H)):UY(r1,$.stateNode));break;case 4:G=r1,X=k0,r1=$.stateNode.containerInfo,k0=!0,X2(H,M,$),r1=G,k0=X;break;case 0:case 11:case 14:case 15:s1||H8(L0,$,M),s1||c7($,M,K0),X2(H,M,$);break;case 1:s1||(g4($,M),G=$.stateNode,typeof G.componentWillUnmount==="function"&&GZ($,M,G)),X2(H,M,$);break;case 21:X2(H,M,$);break;case 22:s1=(G=s1)||$.memoizedState!==null,X2(H,M,$),s1=G;break;default:X2(H,M,$)}}function BZ(H,M){if(M.memoizedState===null&&(H=M.alternate,H!==null&&(H=H.memoizedState,H!==null&&(H=H.dehydrated,H!==null))))try{l(M,FB,H)}catch($){D1(M,M.return,$)}}function dJ(H){switch(H.tag){case 13:case 19:var M=H.stateNode;return M===null&&(M=H.stateNode=new Vz),M;case 22:return H=H.stateNode,M=H._retryCache,M===null&&(M=H._retryCache=new Vz),M;default:throw Error("Unexpected Suspense handler tag ("+H.tag+"). This is a bug in React.")}}function n7(H,M){var $=dJ(H);M.forEach(function(G){var X=iJ.bind(null,H,G);if(!$.has(G)){if($.add(G),j4)if(y8!==null&&f8!==null)CH(f8,y8);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");G.then(X,X)}})}function l0(H,M){var $=M.deletions;if($!==null)for(var G=0;G<$.length;G++){var X=H,Z=M,Y=$[G],Q=Z;H:for(;Q!==null;){switch(Q.tag){case 27:if(v2(Q.type)){r1=Q.stateNode,k0=!1;break H}break;case 5:r1=Q.stateNode,k0=!1;break H;case 3:case 4:r1=Q.stateNode.containerInfo,k0=!0;break H}Q=Q.return}if(r1===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");JZ(X,Z,Y),r1=null,k0=!1,X=Y,Z=X.alternate,Z!==null&&(Z.return=null),X.return=null}if(M.subtreeFlags&13878)for(M=M.child;M!==null;)RZ(M,H),M=M.sibling}function RZ(H,M){var{alternate:$,flags:G}=H;switch(H.tag){case 0:case 11:case 14:case 15:l0(M,H),p0(H),G&4&&(H8(L0|B4,H,H.return),LH(L0|B4,H),c7(H,H.return,K0|B4));break;case 1:l0(M,H),p0(H),G&512&&(s1||$===null||g4($,$.return)),G&64&&O2&&(H=H.updateQueue,H!==null&&(G=H.callbacks,G!==null&&($=H.shared.hiddenCallbacks,H.shared.hiddenCallbacks=$===null?G:$.concat(G))));break;case 26:var X=V4;if(l0(M,H),p0(H),G&512&&(s1||$===null||g4($,$.return)),G&4)if(M=$!==null?$.memoizedState:null,G=H.memoizedState,$===null)if(G===null)if(H.stateNode===null){H:{G=H.type,$=H.memoizedProps,M=X.ownerDocument||X;M:switch(G){case"title":if(X=M.getElementsByTagName("title")[0],!X||X[uH]||X[T0]||X.namespaceURI===K8||X.hasAttribute("itemprop"))X=M.createElement(G),M.head.insertBefore(X,M.querySelector("head > title"));B0(X,G,$),X[T0]=H,D(X),G=X;break H;case"link":var Z=IY("link","href",M).get(G+($.href||""));if(Z){for(var Y=0;Y<Z.length;Y++)if(X=Z[Y],X.getAttribute("href")===($.href==null||$.href===""?null:$.href)&&X.getAttribute("rel")===($.rel==null?null:$.rel)&&X.getAttribute("title")===($.title==null?null:$.title)&&X.getAttribute("crossorigin")===($.crossOrigin==null?null:$.crossOrigin)){Z.splice(Y,1);break M}}X=M.createElement(G),B0(X,G,$),M.head.appendChild(X);break;case"meta":if(Z=IY("meta","content",M).get(G+($.content||""))){for(Y=0;Y<Z.length;Y++)if(X=Z[Y],r($.content,"content"),X.getAttribute("content")===($.content==null?null:""+$.content)&&X.getAttribute("name")===($.name==null?null:$.name)&&X.getAttribute("property")===($.property==null?null:$.property)&&X.getAttribute("http-equiv")===($.httpEquiv==null?null:$.httpEquiv)&&X.getAttribute("charset")===($.charSet==null?null:$.charSet)){Z.splice(Y,1);break M}}X=M.createElement(G),B0(X,G,$),M.head.appendChild(X);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+G+'". This is a bug in React.')}X[T0]=H,D(X),G=X}H.stateNode=G}else FY(X,H.type,H.stateNode);else H.stateNode=TY(X,G,H.memoizedProps);else M!==G?(M===null?$.stateNode!==null&&($=$.stateNode,$.parentNode.removeChild($)):M.count--,G===null?FY(X,H.type,H.stateNode):TY(X,G,H.memoizedProps)):G===null&&H.stateNode!==null&&a7(H,H.memoizedProps,$.memoizedProps);break;case 27:l0(M,H),p0(H),G&512&&(s1||$===null||g4($,$.return)),$!==null&&G&4&&a7(H,H.memoizedProps,$.memoizedProps);break;case 5:if(l0(M,H),p0(H),G&512&&(s1||$===null||g4($,$.return)),H.flags&32){M=H.stateNode;try{l(H,zY,M)}catch(_){D1(H,H.return,_)}}G&4&&H.stateNode!=null&&(M=H.memoizedProps,a7(H,M,$!==null?$.memoizedProps:M)),G&1024&&(w$=!0,H.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(l0(M,H),p0(H),G&4){if(H.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");G=H.memoizedProps,$=$!==null?$.memoizedProps:G,M=H.stateNode;try{l(H,UB,M,$,G)}catch(_){D1(H,H.return,_)}}break;case 3:if(X=H2(),T3=null,Z=V4,V4=A5(M.containerInfo),l0(M,H),V4=Z,p0(H),G&4&&$!==null&&$.memoizedState.isDehydrated)try{l(H,IB,M.containerInfo)}catch(_){D1(H,H.return,_)}w$&&(w$=!1,qZ(H)),M.effectDuration+=cM(X);break;case 4:G=V4,V4=A5(H.stateNode.containerInfo),l0(M,H),p0(H),V4=G;break;case 12:G=H2(),l0(M,H),p0(H),H.stateNode.effectDuration+=PH(G);break;case 13:l0(M,H),p0(H),H.child.flags&8192&&H.memoizedState!==null!==($!==null&&$.memoizedState!==null)&&(C$=u4()),G&4&&(G=H.updateQueue,G!==null&&(H.updateQueue=null,n7(H,G)));break;case 22:X=H.memoizedState!==null;var Q=$!==null&&$.memoizedState!==null,U=O2,J=s1;if(O2=U||X,s1=J||Q,l0(M,H),s1=J,O2=U,p0(H),G&8192)H:for(M=H.stateNode,M._visibility=X?M._visibility&~d5:M._visibility|d5,X&&($===null||Q||O2||s1||P6(H)),$=null,M=H;;){if(M.tag===5||M.tag===26){if($===null){Q=$=M;try{Z=Q.stateNode,X?l(Q,RB,Z):l(Q,KB,Q.stateNode,Q.memoizedProps)}catch(_){D1(Q,Q.return,_)}}}else if(M.tag===6){if($===null){Q=M;try{Y=Q.stateNode,X?l(Q,qB,Y):l(Q,OB,Y,Q.memoizedProps)}catch(_){D1(Q,Q.return,_)}}}else if((M.tag!==22&&M.tag!==23||M.memoizedState===null||M===H)&&M.child!==null){M.child.return=M,M=M.child;continue}if(M===H)break H;for(;M.sibling===null;){if(M.return===null||M.return===H)break H;$===M&&($=null),M=M.return}$===M&&($=null),M.sibling.return=M.return,M=M.sibling}G&4&&(G=H.updateQueue,G!==null&&($=G.retryQueue,$!==null&&(G.retryQueue=null,n7(H,$))));break;case 19:l0(M,H),p0(H),G&4&&(G=H.updateQueue,G!==null&&(H.updateQueue=null,n7(H,G)));break;case 30:break;case 21:break;default:l0(M,H),p0(H)}}function p0(H){var M=H.flags;if(M&2){try{l(H,uJ,H)}catch($){D1(H,H.return,$)}H.flags&=-3}M&4096&&(H.flags&=-4097)}function qZ(H){if(H.subtreeFlags&1024)for(H=H.child;H!==null;){var M=H;qZ(M),M.tag===5&&M.flags&1024&&M.stateNode.reset(),H=H.sibling}}function Z2(H,M){if(M.subtreeFlags&8772)for(M=M.child;M!==null;)zZ(H,M.alternate,M),M=M.sibling}function KZ(H){switch(H.tag){case 0:case 11:case 14:case 15:c7(H,H.return,K0),P6(H);break;case 1:g4(H,H.return);var M=H.stateNode;typeof M.componentWillUnmount==="function"&&GZ(H,H.return,M),P6(H);break;case 27:l(H,SH,H.stateNode);case 26:case 5:g4(H,H.return),P6(H);break;case 22:H.memoizedState===null&&P6(H);break;case 30:P6(H);break;default:P6(H)}}function P6(H){for(H=H.child;H!==null;)KZ(H),H=H.sibling}function OZ(H,M,$,G){var X=$.flags;switch($.tag){case 0:case 11:case 15:Y2(H,$,G),HZ($,K0);break;case 1:if(Y2(H,$,G),M=$.stateNode,typeof M.componentDidMount==="function"&&l($,_$,$,M),M=$.updateQueue,M!==null){H=$.stateNode;try{l($,EJ,M,H)}catch(Z){D1($,$.return,Z)}}G&&X&64&&$Z($),EH($,$.return);break;case 27:QZ($);case 26:case 5:Y2(H,$,G),G&&M===null&&X&4&&ZZ($),EH($,$.return);break;case 12:if(G&&X&4){X=H2(),Y2(H,$,G),G=$.stateNode,G.effectDuration+=PH(X);try{l($,XZ,$,M,s5,G.effectDuration)}catch(Z){D1($,$.return,Z)}}else Y2(H,$,G);break;case 13:Y2(H,$,G),G&&X&4&&BZ(H,$);break;case 22:$.memoizedState===null&&Y2(H,$,G),EH($,$.return);break;case 30:break;default:Y2(H,$,G)}}function Y2(H,M,$){$=$&&(M.subtreeFlags&8772)!==0;for(M=M.child;M!==null;)OZ(H,M.alternate,M,$),M=M.sibling}function i7(H,M){var $=null;H!==null&&H.memoizedState!==null&&H.memoizedState.cachePool!==null&&($=H.memoizedState.cachePool.pool),H=null,M.memoizedState!==null&&M.memoizedState.cachePool!==null&&(H=M.memoizedState.cachePool.pool),H!==$&&(H!=null&&B6(H),$!=null&&OH($))}function t7(H,M){H=null,M.alternate!==null&&(H=M.alternate.memoizedState.cache),M=M.memoizedState.cache,M!==H&&(B6(M),H!=null&&OH(H))}function k4(H,M,$,G){if(M.subtreeFlags&10256)for(M=M.child;M!==null;)PZ(H,M,$,G),M=M.sibling}function PZ(H,M,$,G){var X=M.flags;switch(M.tag){case 0:case 11:case 15:k4(H,M,$,G),X&2048&&MZ(M,H0|B4);break;case 1:k4(H,M,$,G);break;case 3:var Z=H2();k4(H,M,$,G),X&2048&&($=null,M.alternate!==null&&($=M.alternate.memoizedState.cache),M=M.memoizedState.cache,M!==$&&(B6(M),$!=null&&OH($))),H.passiveEffectDuration+=cM(Z);break;case 12:if(X&2048){X=H2(),k4(H,M,$,G),H=M.stateNode,H.passiveEffectDuration+=PH(X);try{l(M,mJ,M,M.alternate,s5,H.passiveEffectDuration)}catch(Q){D1(M,M.return,Q)}}else k4(H,M,$,G);break;case 13:k4(H,M,$,G);break;case 23:break;case 22:Z=M.stateNode;var Y=M.alternate;M.memoizedState!==null?Z._visibility&U2?k4(H,M,$,G):VH(H,M):Z._visibility&U2?k4(H,M,$,G):(Z._visibility|=U2,M8(H,M,$,G,(M.subtreeFlags&10256)!==0)),X&2048&&i7(Y,M);break;case 24:k4(H,M,$,G),X&2048&&t7(M.alternate,M);break;default:k4(H,M,$,G)}}function M8(H,M,$,G,X){X=X&&(M.subtreeFlags&10256)!==0;for(M=M.child;M!==null;)_Z(H,M,$,G,X),M=M.sibling}function _Z(H,M,$,G,X){var Z=M.flags;switch(M.tag){case 0:case 11:case 15:M8(H,M,$,G,X),MZ(M,H0);break;case 23:break;case 22:var Y=M.stateNode;M.memoizedState!==null?Y._visibility&U2?M8(H,M,$,G,X):VH(H,M):(Y._visibility|=U2,M8(H,M,$,G,X)),X&&Z&2048&&i7(M.alternate,M);break;case 24:M8(H,M,$,G,X),X&&Z&2048&&t7(M.alternate,M);break;default:M8(H,M,$,G,X)}}function VH(H,M){if(M.subtreeFlags&10256)for(M=M.child;M!==null;){var $=H,G=M,X=G.flags;switch(G.tag){case 22:VH($,G),X&2048&&i7(G.alternate,G);break;case 24:VH($,G),X&2048&&t7(G.alternate,G);break;default:VH($,G)}M=M.sibling}}function $8(H){if(H.subtreeFlags&UM)for(H=H.child;H!==null;)TZ(H),H=H.sibling}function TZ(H){switch(H.tag){case 26:$8(H),H.flags&UM&&H.memoizedState!==null&&LB(V4,H.memoizedState,H.memoizedProps);break;case 5:$8(H);break;case 3:case 4:var M=V4;V4=A5(H.stateNode.containerInfo),$8(H),V4=M;break;case 22:H.memoizedState===null&&(M=H.alternate,M!==null&&M.memoizedState!==null?(M=UM,UM=16777216,$8(H),UM=M):$8(H));break;default:$8(H)}}function IZ(H){var M=H.alternate;if(M!==null&&(H=M.child,H!==null)){M.child=null;do M=H.sibling,H.sibling=null,H=M;while(H!==null)}}function DH(H){var M=H.deletions;if((H.flags&16)!==0){if(M!==null)for(var $=0;$<M.length;$++){var G=M[$];Q0=G,jZ(G,H)}IZ(H)}if(H.subtreeFlags&10256)for(H=H.child;H!==null;)FZ(H),H=H.sibling}function FZ(H){switch(H.tag){case 0:case 11:case 15:DH(H),H.flags&2048&&s7(H,H.return,H0|B4);break;case 3:var M=H2();DH(H),H.stateNode.passiveEffectDuration+=cM(M);break;case 12:M=H2(),DH(H),H.stateNode.passiveEffectDuration+=PH(M);break;case 22:M=H.stateNode,H.memoizedState!==null&&M._visibility&U2&&(H.return===null||H.return.tag!==13)?(M._visibility&=~U2,_5(H)):DH(H);break;default:DH(H)}}function _5(H){var M=H.deletions;if((H.flags&16)!==0){if(M!==null)for(var $=0;$<M.length;$++){var G=M[$];Q0=G,jZ(G,H)}IZ(H)}for(H=H.child;H!==null;)WZ(H),H=H.sibling}function WZ(H){switch(H.tag){case 0:case 11:case 15:s7(H,H.return,H0),_5(H);break;case 22:var M=H.stateNode;M._visibility&U2&&(M._visibility&=~U2,_5(H));break;default:_5(H)}}function jZ(H,M){for(;Q0!==null;){var $=Q0,G=$;switch(G.tag){case 0:case 11:case 15:s7(G,M,H0);break;case 23:case 22:G.memoizedState!==null&&G.memoizedState.cachePool!==null&&(G=G.memoizedState.cachePool.pool,G!=null&&B6(G));break;case 24:OH(G.memoizedState.cache)}if(G=$.child,G!==null)G.return=$,Q0=G;else H:for($=H;Q0!==null;){G=Q0;var{sibling:X,return:Z}=G;if(UZ(G),G===$){Q0=null;break H}if(X!==null){X.return=Z,Q0=X;break H}Q0=Z}}}function lJ(){$q.forEach(function(H){return H()})}function AZ(){var H=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return H||F.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),H}function c0(H){if((A1&E0)!==r0&&J1!==0)return J1&-J1;var M=F.T;return M!==null?(M._updatedFibers||(M._updatedFibers=new Set),M._updatedFibers.add(H),H=j6,H!==0?H:Q9()):e2()}function wZ(){i0===0&&(i0=(J1&536870912)===0||O1?e8():536870912);var H=q4.current;return H!==null&&(H.flags|=32),i0}function c1(H,M,$){if(l8&&console.error("useInsertionEffect must not schedule updates."),g$&&(Y3=!0),H===x1&&(E1===V6||E1===D6)||H.cancelPendingCommit!==null)X8(H,0),C2(H,J1,i0,!1);if(j2(H,$),(A1&E0)!==0&&H===x1){if(l4)switch(M.tag){case 0:case 11:case 15:H=z1&&y(z1)||"Unknown",yz.has(H)||(yz.add(H),M=y(M)||"Unknown",console.error("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://react.dev/link/setstate-in-render",M,H,H));break;case 1:kz||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),kz=!0)}}else j4&&$H(H,M,$),eJ(M),H===x1&&((A1&E0)===r0&&(c2|=$),d1===E6&&C2(H,J1,i0,!1)),y4(H)}function LZ(H,M,$){if((A1&(E0|D4))!==r0)throw Error("Should not already be working.");var G=!$&&(M&124)===0&&(M&H.expiredLanes)===0||G1(H,M),X=G?cJ(H,M):M9(H,M,!0),Z=G;do{if(X===P2){h8&&!G&&C2(H,M,0,!1);break}else{if($=H.current.alternate,Z&&!pJ($)){X=M9(H,M,!1),Z=!1;continue}if(X===m8){if(Z=M,H.errorRecoveryDisabledLanes&Z)var Y=0;else Y=H.pendingLanes&-536870913,Y=Y!==0?Y:Y&536870912?536870912:0;if(Y!==0){M=Y;H:{X=H;var Q=Y;Y=OM;var U=X.current.memoizedState.isDehydrated;if(U&&(X8(X,Q).flags|=256),Q=M9(X,Q,!1),Q!==m8){if(D$&&!U){X.errorRecoveryDisabledLanes|=Z,c2|=Z,X=E6;break H}X=V0,V0=Y,X!==null&&(V0===null?V0=X:V0.push.apply(V0,X))}X=Q}if(Z=!1,X!==m8)continue}}if(X===BM){X8(H,0),C2(H,M,0,!0);break}H:{switch(G=H,X){case P2:case BM:throw Error("Root did not complete. This is a bug in React.");case E6:if((M&4194048)!==M)break;case G3:C2(G,M,i0,!l2);break H;case m8:V0=null;break;case L$:case Dz:break;default:throw Error("Unknown root exit status.")}if(F.actQueue!==null)$9(G,$,M,V0,PM,X3,i0,c2,N6);else{if((M&62914560)===M&&(Z=C$+Cz-u4(),10<Z)){if(C2(G,M,i0,!l2),d6(G,0,!0)!==0)break H;G.timeoutHandle=cz(EZ.bind(null,G,$,V0,PM,X3,M,i0,c2,N6,l2,X,Yq,vQ,0),Z);break H}EZ(G,$,V0,PM,X3,M,i0,c2,N6,l2,X,Xq,vQ,0)}}}break}while(1);y4(H)}function EZ(H,M,$,G,X,Z,Y,Q,U,J,_,W,O,j){if(H.timeoutHandle=b6,W=M.subtreeFlags,W&8192||(W&16785408)===16785408){if(jM={stylesheets:null,count:0,unsuspend:wB},TZ(M),W=EB(),W!==null){H.cancelPendingCommit=W($9.bind(null,H,M,Z,$,G,X,Y,Q,U,_,Zq,O,j)),C2(H,Z,Y,!J);return}}$9(H,M,Z,$,G,X,Y,Q,U)}function pJ(H){for(var M=H;;){var $=M.tag;if(($===0||$===11||$===15)&&M.flags&16384&&($=M.updateQueue,$!==null&&($=$.stores,$!==null)))for(var G=0;G<$.length;G++){var X=$[G],Z=X.getSnapshot;X=X.value;try{if(!A0(Z(),X))return!1}catch(Y){return!1}}if($=M.child,M.subtreeFlags&16384&&$!==null)$.return=M,M=$;else{if(M===H)break;for(;M.sibling===null;){if(M.return===null||M.return===H)return!0;M=M.return}M.sibling.return=M.return,M=M.sibling}}return!0}function C2(H,M,$,G){M&=~N$,M&=~c2,H.suspendedLanes|=M,H.pingedLanes&=~M,G&&(H.warmLanes|=M),G=H.expirationTimes;for(var X=M;0<X;){var Z=31-W0(X),Y=1<<Z;G[Z]=-1,X&=~Y}$!==0&&DM(H,$,M)}function G8(){return(A1&(E0|D4))===r0?(xH(0,!1),!1):!0}function e7(){if(z1!==null){if(E1===y0)var H=z1.return;else H=z1,dM(),J7(H),v8=null,QM=0,H=z1;for(;H!==null;)eX(H.alternate,H),H=H.return;z1=null}}function X8(H,M){var $=H.timeoutHandle;$!==b6&&(H.timeoutHandle=b6,Iq($)),$=H.cancelPendingCommit,$!==null&&(H.cancelPendingCommit=null,$()),e7(),x1=H,z1=$=t4(H.current,null),J1=M,E1=y0,n0=null,l2=!1,h8=G1(H,M),D$=!1,d1=P2,N6=i0=N$=c2=p2=0,V0=OM=null,X3=!1,(M&8)!==0&&(M|=M&32);var G=H.entangledLanes;if(G!==0)for(H=H.entanglements,G&=M;0<G;){var X=31-W0(G),Z=1<<X;M|=H[X],G&=~Z}return o4=M,fM(),M=CQ(),1000<M-NQ&&(F.recentlyCreatedOwnerStacks=0,NQ=M),L4.discardPendingWarnings(),$}function VZ(H,M){t=null,F.H=M3,F.getCurrentStack=null,l4=!1,o0=null,M===GM||M===n5?(M=HX(),E1=qM):M===gQ?(M=HX(),E1=Nz):E1=M===Iz?V$:M!==null&&typeof M==="object"&&typeof M.then==="function"?u8:RM,n0=M;var $=z1;if($===null)d1=BM,R5(H,d0(M,H.current));else switch($.mode&q0&&e3($),_4(),E1){case RM:k!==null&&typeof k.markComponentErrored==="function"&&k.markComponentErrored($,M,J1);break;case V6:case D6:case qM:case u8:case KM:k!==null&&typeof k.markComponentSuspended==="function"&&k.markComponentSuspended($,M,J1)}}function DZ(){var H=F.H;return F.H=M3,H===null?M3:H}function NZ(){var H=F.A;return F.A=Mq,H}function H9(){d1=E6,l2||(J1&4194048)!==J1&&q4.current!==null||(h8=!0),(p2&134217727)===0&&(c2&134217727)===0||x1===null||C2(x1,J1,i0,!1)}function M9(H,M,$){var G=A1;A1|=E0;var X=DZ(),Z=NZ();if(x1!==H||J1!==M){if(j4){var Y=H.memoizedUpdaters;0<Y.size&&(CH(H,J1),Y.clear()),GH(H,M)}PM=null,X8(H,M)}i8(M),M=!1,Y=d1;H:do try{if(E1!==y0&&z1!==null){var Q=z1,U=n0;switch(E1){case V$:e7(),Y=G3;break H;case qM:case V6:case D6:case u8:q4.current===null&&(M=!0);var J=E1;if(E1=y0,n0=null,Z8(H,Q,U,J),$&&h8){Y=P2;break H}break;default:J=E1,E1=y0,n0=null,Z8(H,Q,U,J)}}CZ(),Y=d1;break}catch(_){VZ(H,_)}while(1);return M&&H.shellSuspendCounter++,dM(),A1=G,F.H=X,F.A=Z,t8(),z1===null&&(x1=null,J1=0,fM()),Y}function CZ(){for(;z1!==null;)xZ(z1)}function cJ(H,M){var $=A1;A1|=E0;var G=DZ(),X=NZ();if(x1!==H||J1!==M){if(j4){var Z=H.memoizedUpdaters;0<Z.size&&(CH(H,J1),Z.clear()),GH(H,M)}PM=null,Z3=u4()+xz,X8(H,M)}else h8=G1(H,M);i8(M);H:do try{if(E1!==y0&&z1!==null)M:switch(M=z1,Z=n0,E1){case RM:E1=y0,n0=null,Z8(H,M,Z,RM);break;case V6:case D6:if(tG(Z)){E1=y0,n0=null,vZ(M);break}M=function(){E1!==V6&&E1!==D6||x1!==H||(E1=KM),y4(H)},Z.then(M,M);break H;case qM:E1=KM;break H;case Nz:E1=E$;break H;case KM:tG(Z)?(E1=y0,n0=null,vZ(M)):(E1=y0,n0=null,Z8(H,M,Z,KM));break;case E$:var Y=null;switch(z1.tag){case 26:Y=z1.memoizedState;case 5:case 27:var Q=z1;if(Y?WY(Y):1){E1=y0,n0=null;var U=Q.sibling;if(U!==null)z1=U;else{var J=Q.return;J!==null?(z1=J,T5(J)):z1=null}break M}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}E1=y0,n0=null,Z8(H,M,Z,E$);break;case u8:E1=y0,n0=null,Z8(H,M,Z,u8);break;case V$:e7(),d1=G3;break H;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}F.actQueue!==null?CZ():sJ();break}catch(_){VZ(H,_)}while(1);if(dM(),F.H=G,F.A=X,A1=$,z1!==null)return k!==null&&typeof k.markRenderYielded==="function"&&k.markRenderYielded(),P2;return t8(),x1=null,J1=0,fM(),d1}function sJ(){for(;z1!==null&&!hB();)xZ(z1)}function xZ(H){var M=H.alternate;(H.mode&q0)!==S1?(t3(H),M=l(H,p7,M,H,o4),e3(H)):M=l(H,p7,M,H,o4),H.memoizedProps=H.pendingProps,M===null?T5(H):z1=M}function vZ(H){var M=l(H,aJ,H);H.memoizedProps=H.pendingProps,M===null?T5(H):z1=M}function aJ(H){var M=H.alternate,$=(H.mode&q0)!==S1;switch($&&t3(H),H.tag){case 15:case 0:M=cX(M,H,H.pendingProps,H.type,void 0,J1);break;case 11:M=cX(M,H,H.pendingProps,H.type.render,H.ref,J1);break;case 5:J7(H);default:eX(M,H),H=z1=hG(H,o4),M=p7(M,H,o4)}return $&&e3(H),M}function Z8(H,M,$,G){dM(),J7(M),v8=null,QM=0;var X=M.return;try{if(vJ(H,X,M,$,J1)){d1=BM,R5(H,d0($,H.current)),z1=null;return}}catch(Z){if(X!==null)throw z1=X,Z;d1=BM,R5(H,d0($,H.current)),z1=null;return}if(M.flags&32768){if(O1||G===RM)H=!0;else if(h8||(J1&536870912)!==0)H=!1;else if(l2=H=!0,G===V6||G===D6||G===qM||G===u8)G=q4.current,G!==null&&G.tag===13&&(G.flags|=16384);SZ(M,H)}else T5(M)}function T5(H){var M=H;do{if((M.flags&32768)!==0){SZ(M,l2);return}var $=M.alternate;if(H=M.return,t3(M),$=l(M,bJ,$,M,o4),(M.mode&q0)!==S1&&oG(M),$!==null){z1=$;return}if(M=M.sibling,M!==null){z1=M;return}z1=M=H}while(M!==null);d1===P2&&(d1=Dz)}function SZ(H,M){do{var $=gJ(H.alternate,H);if($!==null){$.flags&=32767,z1=$;return}if((H.mode&q0)!==S1){oG(H),$=H.actualDuration;for(var G=H.child;G!==null;)$+=G.actualDuration,G=G.sibling;H.actualDuration=$}if($=H.return,$!==null&&($.flags|=32768,$.subtreeFlags=0,$.deletions=null),!M&&(H=H.sibling,H!==null)){z1=H;return}z1=H=$}while(H!==null);d1=G3,z1=null}function $9(H,M,$,G,X,Z,Y,Q,U){H.cancelPendingCommit=null;do NH();while(O0!==C6);if(L4.flushLegacyContextWarning(),L4.flushPendingUnsafeLifecycleWarnings(),(A1&(E0|D4))!==r0)throw Error("Should not already be working.");if(k!==null&&typeof k.markCommitStarted==="function"&&k.markCommitStarted($),M===null)P4();else{if($===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),M===H.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(Z=M.lanes|M.childLanes,Z|=X$,E3(H,$,Z,Y,Q,U),H===x1&&(z1=x1=null,J1=0),d8=M,a2=H,o2=$,v$=Z,S$=X,gz=G,(M.subtreeFlags&10256)!==0||(M.flags&10256)!==0?(H.callbackNode=null,H.callbackPriority=0,tJ(B8,function(){return fZ(!0),null})):(H.callbackNode=null,H.callbackPriority=0),s5=V8(),G=(M.flags&13878)!==0,(M.subtreeFlags&13878)!==0||G){G=F.T,F.T=null,X=j1.p,j1.p=a0,Y=A1,A1|=D4;try{hJ(H,M,$)}finally{A1=Y,j1.p=X,F.T=G}}O0=vz,bZ(),gZ(),kZ()}}function bZ(){if(O0===vz){O0=C6;var H=a2,M=d8,$=o2,G=(M.flags&13878)!==0;if((M.subtreeFlags&13878)!==0||G){G=F.T,F.T=null;var X=j1.p;j1.p=a0;var Z=A1;A1|=D4;try{y8=$,f8=H,RZ(M,H),f8=y8=null,$=p$;var Y=kG(H.containerInfo),Q=$.focusedElem,U=$.selectionRange;if(Y!==Q&&Q&&Q.ownerDocument&&gG(Q.ownerDocument.documentElement,Q)){if(U!==null&&f3(Q)){var{start:J,end:_}=U;if(_===void 0&&(_=J),"selectionStart"in Q)Q.selectionStart=J,Q.selectionEnd=Math.min(_,Q.value.length);else{var W=Q.ownerDocument||document,O=W&&W.defaultView||window;if(O.getSelection){var j=O.getSelection(),f=Q.textContent.length,o=Math.min(U.start,f),v1=U.end===void 0?o:Math.min(U.end,f);!j.extend&&o>v1&&(Y=v1,v1=o,o=Y);var R1=bG(Q,o),B=bG(Q,v1);if(R1&&B&&(j.rangeCount!==1||j.anchorNode!==R1.node||j.anchorOffset!==R1.offset||j.focusNode!==B.node||j.focusOffset!==B.offset)){var R=W.createRange();R.setStart(R1.node,R1.offset),j.removeAllRanges(),o>v1?(j.addRange(R),j.extend(B.node,B.offset)):(R.setEnd(B.node,B.offset),j.addRange(R))}}}}W=[];for(j=Q;j=j.parentNode;)j.nodeType===1&&W.push({element:j,left:j.scrollLeft,top:j.scrollTop});typeof Q.focus==="function"&&Q.focus();for(Q=0;Q<W.length;Q++){var q=W[Q];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}W3=!!l$,p$=l$=null}finally{A1=Z,j1.p=X,F.T=G}}H.current=M,O0=Sz}}function gZ(){if(O0===Sz){O0=C6;var H=a2,M=d8,$=o2,G=(M.flags&8772)!==0;if((M.subtreeFlags&8772)!==0||G){G=F.T,F.T=null;var X=j1.p;j1.p=a0;var Z=A1;A1|=D4;try{k!==null&&typeof k.markLayoutEffectsStarted==="function"&&k.markLayoutEffectsStarted($),y8=$,f8=H,zZ(H,M.alternate,M),f8=y8=null,k!==null&&typeof k.markLayoutEffectsStopped==="function"&&k.markLayoutEffectsStopped()}finally{A1=Z,j1.p=X,F.T=G}}O0=bz}}function kZ(){if(O0===Qq||O0===bz){O0=C6,dB();var H=a2,M=d8,$=o2,G=gz,X=(M.subtreeFlags&10256)!==0||(M.flags&10256)!==0;X?O0=x$:(O0=C6,d8=a2=null,yZ(H,H.pendingLanes),x6=0,TM=null);var Z=H.pendingLanes;if(Z===0&&(s2=null),X||dZ(H),X=A2($),M=M.stateNode,_0&&typeof _0.onCommitFiberRoot==="function")try{var Y=(M.current.flags&128)===128;switch(X){case a0:var Q=k9;break;case A4:Q=y9;break;case d4:Q=B8;break;case g5:Q=f9;break;default:Q=B8}_0.onCommitFiberRoot(R8,M,Q,Y)}catch(W){h4||(h4=!0,console.error("React instrumentation encountered an error: %s",W))}if(j4&&H.memoizedUpdaters.clear(),lJ(),G!==null){Y=F.T,Q=j1.p,j1.p=a0,F.T=null;try{var U=H.onRecoverableError;for(M=0;M<G.length;M++){var J=G[M],_=oJ(J.stack);l(J.source,U,J.value,_)}}finally{F.T=Y,j1.p=Q}}(o2&3)!==0&&NH(),y4(H),Z=H.pendingLanes,($&4194090)!==0&&(Z&42)!==0?(o5=!0,H===b$?_M++:(_M=0,b$=H)):_M=0,xH(0,!1),P4()}}function oJ(H){return H={componentStack:H},Object.defineProperty(H,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),H}function yZ(H,M){(H.pooledCacheLanes&=M)===0&&(M=H.pooledCache,M!=null&&(H.pooledCache=null,OH(M)))}function NH(H){return bZ(),gZ(),kZ(),fZ(H)}function fZ(){if(O0!==x$)return!1;var H=a2,M=v$;v$=0;var $=A2(o2),G=d4===0||d4>$?d4:$;$=F.T;var X=j1.p;try{j1.p=G,F.T=null,G=S$,S$=null;var Z=a2,Y=o2;if(O0=C6,d8=a2=null,o2=0,(A1&(E0|D4))!==r0)throw Error("Cannot flush passive effects while already rendering.");g$=!0,Y3=!1,k!==null&&typeof k.markPassiveEffectsStarted==="function"&&k.markPassiveEffectsStarted(Y);var Q=A1;if(A1|=D4,FZ(Z.current),PZ(Z,Z.current,Y,G),k!==null&&typeof k.markPassiveEffectsStopped==="function"&&k.markPassiveEffectsStopped(),dZ(Z),A1=Q,xH(0,!1),Y3?Z===TM?x6++:(x6=0,TM=Z):x6=0,Y3=g$=!1,_0&&typeof _0.onPostCommitFiberRoot==="function")try{_0.onPostCommitFiberRoot(R8,Z)}catch(J){h4||(h4=!0,console.error("React instrumentation encountered an error: %s",J))}var U=Z.current.stateNode;return U.effectDuration=0,U.passiveEffectDuration=0,!0}finally{j1.p=X,F.T=$,yZ(H,M)}}function mZ(H,M,$){M=d0($,M),M=S7(H.stateNode,M,2),H=E2(H,M,2),H!==null&&(j2(H,2),y4(H))}function D1(H,M,$){if(l8=!1,H.tag===3)mZ(H,H,$);else{for(;M!==null;){if(M.tag===3){mZ(M,H,$);return}if(M.tag===1){var G=M.stateNode;if(typeof M.type.getDerivedStateFromError==="function"||typeof G.componentDidCatch==="function"&&(s2===null||!s2.has(G))){H=d0($,H),$=b7(2),G=E2(M,$,2),G!==null&&(g7($,G,M,H),j2(G,2),y4(G));return}}M=M.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
|
|
Error message:
|
|
|
|
%s`,$)}}function G9(H,M,$){var G=H.pingCache;if(G===null){G=H.pingCache=new Gq;var X=new Set;G.set(M,X)}else X=G.get(M),X===void 0&&(X=new Set,G.set(M,X));X.has($)||(D$=!0,X.add($),G=rJ.bind(null,H,M,$),j4&&CH(H,$),M.then(G,G))}function rJ(H,M,$){var G=H.pingCache;G!==null&&G.delete(M),H.pingedLanes|=H.suspendedLanes&$,H.warmLanes&=~$,AZ()&&F.actQueue===null&&console.error(`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://react.dev/link/wrap-tests-with-act`),x1===H&&(J1&$)===$&&(d1===E6||d1===L$&&(J1&62914560)===J1&&u4()-C$<Cz?(A1&E0)===r0&&X8(H,0):N$|=$,N6===J1&&(N6=0)),y4(H)}function uZ(H,M){M===0&&(M=HH()),H=x0(H,M),H!==null&&(j2(H,M),y4(H))}function nJ(H){var M=H.memoizedState,$=0;M!==null&&($=M.retryLane),uZ(H,$)}function iJ(H,M){var $=0;switch(H.tag){case 13:var{stateNode:G,memoizedState:X}=H;X!==null&&($=X.retryLane);break;case 19:G=H.stateNode;break;case 22:G=H.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}G!==null&&G.delete(M),uZ(H,$)}function X9(H,M,$){if((M.subtreeFlags&67117056)!==0)for(M=M.child;M!==null;){var G=H,X=M,Z=X.type===C5;Z=$||Z,X.tag!==22?X.flags&67108864?Z&&l(X,hZ,G,X,(X.mode&EQ)===S1):X9(G,X,Z):X.memoizedState===null&&(Z&&X.flags&8192?l(X,hZ,G,X):X.subtreeFlags&67108864&&l(X,X9,G,X,Z)),M=M.sibling}}function hZ(H,M){var $=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;I1(!0);try{KZ(M),$&&WZ(M),OZ(H,M.alternate,M,!1),$&&_Z(H,M,0,null,!1,0)}finally{I1(!1)}}function dZ(H){var M=!0;H.current.mode&(I0|w4)||(M=!1),X9(H,H.current,M)}function lZ(H){if((A1&E0)===r0){var M=H.tag;if(M===3||M===1||M===0||M===11||M===14||M===15){if(M=y(H)||"ReactComponent",Q3!==null){if(Q3.has(M))return;Q3.add(M)}else Q3=new Set([M]);l(H,function(){console.error("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.")})}}}function CH(H,M){j4&&H.memoizedUpdaters.forEach(function($){$H(H,$,M)})}function tJ(H,M){var $=F.actQueue;return $!==null?($.push(M),Jq):g9(H,M)}function eJ(H){AZ()&&F.actQueue===null&&l(H,function(){console.error(`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://react.dev/link/wrap-tests-with-act`,y(H))})}function y4(H){H!==p8&&H.next===null&&(p8===null?z3=p8=H:p8=p8.next=H),U3=!0,F.actQueue!==null?y$||(y$=!0,aZ()):k$||(k$=!0,aZ())}function xH(H,M){if(!f$&&U3){f$=!0;do{var $=!1;for(var G=z3;G!==null;){if(!M)if(H!==0){var X=G.pendingLanes;if(X===0)var Z=0;else{var{suspendedLanes:Y,pingedLanes:Q}=G;Z=(1<<31-W0(42|H)+1)-1,Z&=X&~(Y&~Q),Z=Z&201326741?Z&201326741|1:Z?Z|2:0}Z!==0&&($=!0,sZ(G,Z))}else Z=J1,Z=d6(G,G===x1?Z:0,G.cancelPendingCommit!==null||G.timeoutHandle!==b6),(Z&3)===0||G1(G,Z)||($=!0,sZ(G,Z));G=G.next}}while($);f$=!1}}function HB(){Z9()}function Z9(){U3=y$=k$=!1;var H=0;v6!==0&&(ZB()&&(H=v6),v6=0);for(var M=u4(),$=null,G=z3;G!==null;){var X=G.next,Z=pZ(G,M);if(Z===0)G.next=null,$===null?z3=X:$.next=X,X===null&&(p8=$);else if($=G,H!==0||(Z&3)!==0)U3=!0;G=X}xH(H,!1)}function pZ(H,M){for(var{suspendedLanes:$,pingedLanes:G,expirationTimes:X}=H,Z=H.pendingLanes&-62914561;0<Z;){var Y=31-W0(Z),Q=1<<Y,U=X[Y];if(U===-1){if((Q&$)===0||(Q&G)!==0)X[Y]=l6(Q,M)}else U<=M&&(H.expiredLanes|=Q);Z&=~Q}if(M=x1,$=J1,$=d6(H,H===M?$:0,H.cancelPendingCommit!==null||H.timeoutHandle!==b6),G=H.callbackNode,$===0||H===M&&(E1===V6||E1===D6)||H.cancelPendingCommit!==null)return G!==null&&Y9(G),H.callbackNode=null,H.callbackPriority=0;if(($&3)===0||G1(H,$)){if(M=$&-$,M!==H.callbackPriority||F.actQueue!==null&&G!==m$)Y9(G);else return M;switch(A2($)){case a0:case A4:$=y9;break;case d4:$=B8;break;case g5:$=f9;break;default:$=B8}return G=cZ.bind(null,H),F.actQueue!==null?(F.actQueue.push(G),$=m$):$=g9($,G),H.callbackPriority=M,H.callbackNode=$,M}return G!==null&&Y9(G),H.callbackPriority=2,H.callbackNode=null,2}function cZ(H,M){if(o5=a5=!1,O0!==C6&&O0!==x$)return H.callbackNode=null,H.callbackPriority=0,null;var $=H.callbackNode;if(NH(!0)&&H.callbackNode!==$)return null;var G=J1;if(G=d6(H,H===x1?G:0,H.cancelPendingCommit!==null||H.timeoutHandle!==b6),G===0)return null;return LZ(H,G,M),pZ(H,u4()),H.callbackNode!=null&&H.callbackNode===$?cZ.bind(null,H):null}function sZ(H,M){if(NH())return null;a5=o5,o5=!1,LZ(H,M,!0)}function Y9(H){H!==m$&&H!==null&&uB(H)}function aZ(){F.actQueue!==null&&F.actQueue.push(function(){return Z9(),null}),Fq(function(){(A1&(E0|D4))!==r0?g9(k9,HB):Z9()})}function Q9(){return v6===0&&(v6=e8()),v6}function oZ(H){if(H==null||typeof H==="symbol"||typeof H==="boolean")return null;if(typeof H==="function")return H;return r(H,"action"),zH(""+H)}function rZ(H,M){var $=M.ownerDocument.createElement("input");return $.name=M.name,$.value=M.value,H.id&&$.setAttribute("form",H.id),M.parentNode.insertBefore($,M),H=new FormData(H),$.parentNode.removeChild($),H}function MB(H,M,$,G,X){if(M==="submit"&&$&&$.stateNode===X){var Z=oZ((X[b0]||null).action),Y=G.submitter;Y&&(M=(M=Y[b0]||null)?oZ(M.formAction):Y.getAttribute("formAction"),M!==null&&(Z=M,Y=null));var Q=new u5("action","action",null,G,X);H.push({event:Q,listeners:[{instance:null,listener:function(){if(G.defaultPrevented){if(v6!==0){var U=Y?rZ(X,Y):new FormData(X),J={pending:!0,data:U,method:X.method,action:Z};Object.freeze(J),E7($,J,null,U)}}else typeof Z==="function"&&(Q.preventDefault(),U=Y?rZ(X,Y):new FormData(X),J={pending:!0,data:U,method:X.method,action:Z},Object.freeze(J),E7($,J,Z,U))},currentTarget:X}]})}}function I5(H,M,$){H.currentTarget=$;try{M(H)}catch(G){F$(G)}H.currentTarget=null}function nZ(H,M){M=(M&4)!==0;for(var $=0;$<H.length;$++){var G=H[$];H:{var X=void 0,Z=G.event;if(G=G.listeners,M)for(var Y=G.length-1;0<=Y;Y--){var Q=G[Y],U=Q.instance,J=Q.currentTarget;if(Q=Q.listener,U!==X&&Z.isPropagationStopped())break H;U!==null?l(U,I5,Z,Q,J):I5(Z,Q,J),X=U}else for(Y=0;Y<G.length;Y++){if(Q=G[Y],U=Q.instance,J=Q.currentTarget,Q=Q.listener,U!==X&&Z.isPropagationStopped())break H;U!==null?l(U,I5,Z,Q,J):I5(Z,Q,J),X=U}}}}function B1(H,M){u$.has(H)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',H);var $=M[m9];$===void 0&&($=M[m9]=new Set);var G=H+"__bubble";$.has(G)||(iZ(M,H,2,!1),$.add(G))}function z9(H,M,$){u$.has(H)&&!M&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',H);var G=0;M&&(G|=4),iZ($,H,G,M)}function U9(H){if(!H[J3]){H[J3]=!0,bY.forEach(function($){$!=="selectionchange"&&(u$.has($)||z9($,!1,H),z9($,!0,H))});var M=H.nodeType===9?H:H.ownerDocument;M===null||M[J3]||(M[J3]=!0,z9("selectionchange",!1,M))}}function iZ(H,M,$,G){switch(EY(M)){case a0:var X=xB;break;case A4:X=vB;break;default:X=w9}$=X.bind(null,M,$,H),X=void 0,!a9||M!=="touchstart"&&M!=="touchmove"&&M!=="wheel"||(X=!0),G?X!==void 0?H.addEventListener(M,$,{capture:!0,passive:X}):H.addEventListener(M,$,!0):X!==void 0?H.addEventListener(M,$,{passive:X}):H.addEventListener(M,$,!1)}function J9(H,M,$,G,X){var Z=G;if((M&1)===0&&(M&2)===0&&G!==null)H:for(;;){if(G===null)return;var Y=G.tag;if(Y===3||Y===4){var Q=G.stateNode.containerInfo;if(Q===X)break;if(Y===4)for(Y=G.return;Y!==null;){var U=Y.tag;if((U===3||U===4)&&Y.stateNode.containerInfo===X)return;Y=Y.return}for(;Q!==null;){if(Y=i4(Q),Y===null)return;if(U=Y.tag,U===5||U===6||U===26||U===27){G=Z=Y;continue H}Q=Q.parentNode}}G=G.return}AG(function(){var J=Z,_=k3($),W=[];H:{var O=LQ.get(H);if(O!==void 0){var j=u5,f=H;switch(H){case"keypress":if(gM($)===0)break H;case"keydown":case"keyup":j=VR;break;case"focusin":f="focus",j=i9;break;case"focusout":f="blur",j=i9;break;case"beforeblur":case"afterblur":j=i9;break;case"click":if($.button===2)break H;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=BQ;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=OR;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=CR;break;case WQ:case jQ:case AQ:j=TR;break;case wQ:j=vR;break;case"scroll":case"scrollend":j=qR;break;case"wheel":j=bR;break;case"copy":case"cut":case"paste":j=FR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=qQ;break;case"toggle":case"beforetoggle":j=kR}var o=(M&4)!==0,v1=!o&&(H==="scroll"||H==="scrollend"),R1=o?O!==null?O+"Capture":null:O;o=[];for(var B=J,R;B!==null;){var q=B;if(R=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||R===null||R1===null||(q=UH(B,R1),q!=null&&o.push(vH(B,q,R))),v1)break;B=B.return}0<o.length&&(O=new j(O,f,null,$,_),W.push({event:O,listeners:o}))}}if((M&7)===0){H:{if(O=H==="mouseover"||H==="pointerover",j=H==="mouseout"||H==="pointerout",O&&$!==dH&&(f=$.relatedTarget||$.fromElement)&&(i4(f)||f[y2]))break H;if(j||O){if(O=_.window===_?_:(O=_.ownerDocument)?O.defaultView||O.parentWindow:window,j){if(f=$.relatedTarget||$.toElement,j=J,f=f?i4(f):null,f!==null&&(v1=G0(f),o=f.tag,f!==v1||o!==5&&o!==27&&o!==6))f=null}else j=null,f=J;if(j!==f){if(o=BQ,q="onMouseLeave",R1="onMouseEnter",B="mouse",H==="pointerout"||H==="pointerover")o=qQ,q="onPointerLeave",R1="onPointerEnter",B="pointer";if(v1=j==null?O:K(j),R=f==null?O:K(f),O=new o(q,B+"leave",j,$,_),O.target=v1,O.relatedTarget=R,q=null,i4(_)===J&&(o=new o(R1,B+"enter",f,$,_),o.target=R,o.relatedTarget=v1,q=o),v1=q,j&&f)M:{o=j,R1=f,B=0;for(R=o;R;R=Y8(R))B++;R=0;for(q=R1;q;q=Y8(q))R++;for(;0<B-R;)o=Y8(o),B--;for(;0<R-B;)R1=Y8(R1),R--;for(;B--;){if(o===R1||R1!==null&&o===R1.alternate)break M;o=Y8(o),R1=Y8(R1)}o=null}else o=null;j!==null&&tZ(W,O,j,o,!1),f!==null&&v1!==null&&tZ(W,v1,f,o,!0)}}}H:{if(O=J?K(J):window,j=O.nodeName&&O.nodeName.toLowerCase(),j==="select"||j==="input"&&O.type==="file")var A=CG;else if(DG(O))if(IQ)A=WJ;else{A=IJ;var v=TJ}else j=O.nodeName,!j||j.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?J&&QH(J.elementType)&&(A=CG):A=FJ;if(A&&(A=A(H,J))){NG(W,A,$,_);break H}v&&v(H,O,J),H==="focusout"&&J&&O.type==="number"&&J.memoizedProps.value!=null&&C3(O,"number",O.value)}switch(v=J?K(J):window,H){case"focusin":if(DG(v)||v.contentEditable==="true")I8=v,e9=J,rH=null;break;case"focusout":rH=e9=I8=null;break;case"mousedown":H$=!0;break;case"contextmenu":case"mouseup":case"dragend":H$=!1,yG(W,$,_);break;case"selectionchange":if(uR)break;case"keydown":case"keyup":yG(W,$,_)}var e;if(t9)H:{switch(H){case"compositionstart":var m="onCompositionStart";break H;case"compositionend":m="onCompositionEnd";break H;case"compositionupdate":m="onCompositionUpdate";break H}m=void 0}else T8?EG(H,$)&&(m="onCompositionEnd"):H==="keydown"&&$.keyCode===KQ&&(m="onCompositionStart");if(m&&(OQ&&$.locale!=="ko"&&(T8||m!=="onCompositionStart"?m==="onCompositionEnd"&&T8&&(e=wG()):(f2=_,o9=("value"in f2)?f2.value:f2.textContent,T8=!0)),v=F5(J,m),0<v.length&&(m=new RQ(m,H,null,$,_),W.push({event:m,listeners:v}),e?m.data=e:(e=VG($),e!==null&&(m.data=e)))),e=fR?KJ(H,$):OJ(H,$))m=F5(J,"onBeforeInput"),0<m.length&&(v=new jR("onBeforeInput","beforeinput",null,$,_),W.push({event:v,listeners:m}),v.data=e);MB(W,H,J,$,_)}nZ(W,M)})}function vH(H,M,$){return{instance:H,listener:M,currentTarget:$}}function F5(H,M){for(var $=M+"Capture",G=[];H!==null;){var X=H,Z=X.stateNode;if(X=X.tag,X!==5&&X!==26&&X!==27||Z===null||(X=UH(H,$),X!=null&&G.unshift(vH(H,X,Z)),X=UH(H,M),X!=null&&G.push(vH(H,X,Z))),H.tag===3)return G;H=H.return}return[]}function Y8(H){if(H===null)return null;do H=H.return;while(H&&H.tag!==5&&H.tag!==27);return H?H:null}function tZ(H,M,$,G,X){for(var Z=M._reactName,Y=[];$!==null&&$!==G;){var Q=$,U=Q.alternate,J=Q.stateNode;if(Q=Q.tag,U!==null&&U===G)break;Q!==5&&Q!==26&&Q!==27||J===null||(U=J,X?(J=UH($,Z),J!=null&&Y.unshift(vH($,J,U))):X||(J=UH($,Z),J!=null&&Y.push(vH($,J,U)))),$=$.return}Y.length!==0&&H.push({event:M,listeners:Y})}function B9(H,M){JJ(H,M),H!=="input"&&H!=="textarea"&&H!=="select"||M==null||M.value!==null||UQ||(UQ=!0,H==="select"&&M.multiple?console.error("`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.",H):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",H));var $={registrationNameDependencies:_6,possibleRegistrationNames:u9};QH(H)||typeof M.is==="string"||RJ(H,M,$),M.contentEditable&&!M.suppressContentEditableWarning&&M.children!=null&&console.error("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.")}function Z0(H,M,$,G){M!==$&&($=x2($),x2(M)!==$&&(G[H]=M))}function $B(H,M,$){M.forEach(function(G){$[MY(G)]=G==="style"?q9(H):H.getAttribute(G)})}function f4(H,M){M===!1?console.error("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.",H,H,H):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",H,typeof M)}function eZ(H,M){return H=H.namespaceURI===y5||H.namespaceURI===K8?H.ownerDocument.createElementNS(H.namespaceURI,H.tagName):H.ownerDocument.createElement(H.tagName),H.innerHTML=M,H.innerHTML}function x2(H){return a(H)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",w(H)),q1(H)),(typeof H==="string"?H:""+H).replace(Bq,`
|
|
`).replace(Rq,"")}function HY(H,M){return M=x2(M),x2(H)===M?!0:!1}function W5(){}function N1(H,M,$,G,X,Z){switch($){case"children":if(typeof G==="string")bM(G,M,!1),M==="body"||M==="textarea"&&G===""||YH(H,G);else if(typeof G==="number"||typeof G==="bigint")bM(""+G,M,!1),M!=="body"&&YH(H,""+G);break;case"className":T4(H,"class",G);break;case"tabIndex":T4(H,"tabindex",G);break;case"dir":case"role":case"viewBox":case"width":case"height":T4(H,$,G);break;case"style":FG(H,G,Z);break;case"data":if(M!=="object"){T4(H,"data",G);break}case"src":case"href":if(G===""&&(M!=="a"||$!=="href")){$==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',$,$):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',$,$),H.removeAttribute($);break}if(G==null||typeof G==="function"||typeof G==="symbol"||typeof G==="boolean"){H.removeAttribute($);break}r(G,$),G=zH(""+G),H.setAttribute($,G);break;case"action":case"formAction":if(G!=null&&(M==="form"?$==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof G==="function"&&(X.encType==null&&X.method==null||q3||(q3=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),X.target==null||R3||(R3=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):M==="input"||M==="button"?$==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):M!=="input"||X.type==="submit"||X.type==="image"||B3?M!=="button"||X.type==null||X.type==="submit"||B3?typeof G==="function"&&(X.name==null||uz||(uz=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),X.formEncType==null&&X.formMethod==null||q3||(q3=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),X.formTarget==null||R3||(R3=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(B3=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(B3=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):$==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof G==="function"){H.setAttribute($,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof Z==="function"&&($==="formAction"?(M!=="input"&&N1(H,M,"name",X.name,X,null),N1(H,M,"formEncType",X.formEncType,X,null),N1(H,M,"formMethod",X.formMethod,X,null),N1(H,M,"formTarget",X.formTarget,X,null)):(N1(H,M,"encType",X.encType,X,null),N1(H,M,"method",X.method,X,null),N1(H,M,"target",X.target,X,null)));if(G==null||typeof G==="symbol"||typeof G==="boolean"){H.removeAttribute($);break}r(G,$),G=zH(""+G),H.setAttribute($,G);break;case"onClick":G!=null&&(typeof G!=="function"&&f4($,G),H.onclick=W5);break;case"onScroll":G!=null&&(typeof G!=="function"&&f4($,G),B1("scroll",H));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&f4($,G),B1("scrollend",H));break;case"dangerouslySetInnerHTML":if(G!=null){if(typeof G!=="object"||!("__html"in G))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if($=G.__html,$!=null){if(X.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");H.innerHTML=$}}break;case"multiple":H.multiple=G&&typeof G!=="function"&&typeof G!=="symbol";break;case"muted":H.muted=G&&typeof G!=="function"&&typeof G!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(G==null||typeof G==="function"||typeof G==="boolean"||typeof G==="symbol"){H.removeAttribute("xlink:href");break}r(G,$),$=zH(""+G),H.setAttributeNS(S6,"xlink:href",$);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":G!=null&&typeof G!=="function"&&typeof G!=="symbol"?(r(G,$),H.setAttribute($,""+G)):H.removeAttribute($);break;case"inert":G!==""||K3[$]||(K3[$]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",$));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":G&&typeof G!=="function"&&typeof G!=="symbol"?H.setAttribute($,""):H.removeAttribute($);break;case"capture":case"download":G===!0?H.setAttribute($,""):G!==!1&&G!=null&&typeof G!=="function"&&typeof G!=="symbol"?(r(G,$),H.setAttribute($,G)):H.removeAttribute($);break;case"cols":case"rows":case"size":case"span":G!=null&&typeof G!=="function"&&typeof G!=="symbol"&&!isNaN(G)&&1<=G?(r(G,$),H.setAttribute($,G)):H.removeAttribute($);break;case"rowSpan":case"start":G==null||typeof G==="function"||typeof G==="symbol"||isNaN(G)?H.removeAttribute($):(r(G,$),H.setAttribute($,G));break;case"popover":B1("beforetoggle",H),B1("toggle",H),u0(H,"popover",G);break;case"xlinkActuate":I4(H,S6,"xlink:actuate",G);break;case"xlinkArcrole":I4(H,S6,"xlink:arcrole",G);break;case"xlinkRole":I4(H,S6,"xlink:role",G);break;case"xlinkShow":I4(H,S6,"xlink:show",G);break;case"xlinkTitle":I4(H,S6,"xlink:title",G);break;case"xlinkType":I4(H,S6,"xlink:type",G);break;case"xmlBase":I4(H,h$,"xml:base",G);break;case"xmlLang":I4(H,h$,"xml:lang",G);break;case"xmlSpace":I4(H,h$,"xml:space",G);break;case"is":Z!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),u0(H,"is",G);break;case"innerText":case"textContent":break;case"popoverTarget":hz||G==null||typeof G!=="object"||(hz=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",G));default:!(2<$.length)||$[0]!=="o"&&$[0]!=="O"||$[1]!=="n"&&$[1]!=="N"?($=WG($),u0(H,$,G)):_6.hasOwnProperty($)&&G!=null&&typeof G!=="function"&&f4($,G)}}function R9(H,M,$,G,X,Z){switch($){case"style":FG(H,G,Z);break;case"dangerouslySetInnerHTML":if(G!=null){if(typeof G!=="object"||!("__html"in G))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if($=G.__html,$!=null){if(X.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");H.innerHTML=$}}break;case"children":typeof G==="string"?YH(H,G):(typeof G==="number"||typeof G==="bigint")&&YH(H,""+G);break;case"onScroll":G!=null&&(typeof G!=="function"&&f4($,G),B1("scroll",H));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&f4($,G),B1("scrollend",H));break;case"onClick":G!=null&&(typeof G!=="function"&&f4($,G),H.onclick=W5);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(_6.hasOwnProperty($))G!=null&&typeof G!=="function"&&f4($,G);else H:{if($[0]==="o"&&$[1]==="n"&&(X=$.endsWith("Capture"),M=$.slice(2,X?$.length-7:void 0),Z=H[b0]||null,Z=Z!=null?Z[$]:null,typeof Z==="function"&&H.removeEventListener(M,Z,X),typeof G==="function")){typeof Z!=="function"&&Z!==null&&($ in H?H[$]=null:H.hasAttribute($)&&H.removeAttribute($)),H.addEventListener(M,G,X);break H}$ in H?H[$]=G:G===!0?H.setAttribute($,""):u0(H,$,G)}}}function B0(H,M,$){switch(B9(M,$),M){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":B1("error",H),B1("load",H);var G=!1,X=!1,Z;for(Z in $)if($.hasOwnProperty(Z)){var Y=$[Z];if(Y!=null)switch(Z){case"src":G=!0;break;case"srcSet":X=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(M+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:N1(H,M,Z,Y,$,null)}}X&&N1(H,M,"srcSet",$.srcSet,$,null),G&&N1(H,M,"src",$.src,$,null);return;case"input":i("input",$),B1("invalid",H);var Q=Z=Y=X=null,U=null,J=null;for(G in $)if($.hasOwnProperty(G)){var _=$[G];if(_!=null)switch(G){case"name":X=_;break;case"type":Y=_;break;case"checked":U=_;break;case"defaultChecked":J=_;break;case"value":Z=_;break;case"defaultValue":Q=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(M+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:N1(H,M,G,_,$,null)}}XG(H,$),ZG(H,Z,Q,U,J,Y,X,!1),xM(H);return;case"select":i("select",$),B1("invalid",H),G=Y=Z=null;for(X in $)if($.hasOwnProperty(X)&&(Q=$[X],Q!=null))switch(X){case"value":Z=Q;break;case"defaultValue":Y=Q;break;case"multiple":G=Q;default:N1(H,M,X,Q,$,null)}zG(H,$),M=Z,$=Y,H.multiple=!!G,M!=null?a6(H,!!G,M,!1):$!=null&&a6(H,!!G,$,!0);return;case"textarea":i("textarea",$),B1("invalid",H),Z=X=G=null;for(Y in $)if($.hasOwnProperty(Y)&&(Q=$[Y],Q!=null))switch(Y){case"value":G=Q;break;case"defaultValue":X=Q;break;case"children":Z=Q;break;case"dangerouslySetInnerHTML":if(Q!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:N1(H,M,Y,Q,$,null)}UG(H,$),BG(H,G,X,Z),xM(H);return;case"option":YG(H,$);for(U in $)if($.hasOwnProperty(U)&&(G=$[U],G!=null))switch(U){case"selected":H.selected=G&&typeof G!=="function"&&typeof G!=="symbol";break;default:N1(H,M,U,G,$,null)}return;case"dialog":B1("beforetoggle",H),B1("toggle",H),B1("cancel",H),B1("close",H);break;case"iframe":case"object":B1("load",H);break;case"video":case"audio":for(G=0;G<IM.length;G++)B1(IM[G],H);break;case"image":B1("error",H),B1("load",H);break;case"details":B1("toggle",H);break;case"embed":case"source":case"link":B1("error",H),B1("load",H);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(J in $)if($.hasOwnProperty(J)&&(G=$[J],G!=null))switch(J){case"children":case"dangerouslySetInnerHTML":throw Error(M+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:N1(H,M,J,G,$,null)}return;default:if(QH(M)){for(_ in $)$.hasOwnProperty(_)&&(G=$[_],G!==void 0&&R9(H,M,_,G,$,void 0));return}}for(Q in $)$.hasOwnProperty(Q)&&(G=$[Q],G!=null&&N1(H,M,Q,G,$,null))}function GB(H,M,$,G){switch(B9(M,G),M){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var X=null,Z=null,Y=null,Q=null,U=null,J=null,_=null;for(j in $){var W=$[j];if($.hasOwnProperty(j)&&W!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":U=W;default:G.hasOwnProperty(j)||N1(H,M,j,null,G,W)}}for(var O in G){var j=G[O];if(W=$[O],G.hasOwnProperty(O)&&(j!=null||W!=null))switch(O){case"type":Z=j;break;case"name":X=j;break;case"checked":J=j;break;case"defaultChecked":_=j;break;case"value":Y=j;break;case"defaultValue":Q=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(M+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:j!==W&&N1(H,M,O,j,G,W)}}M=$.type==="checkbox"||$.type==="radio"?$.checked!=null:$.value!=null,G=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,M||!G||mz||(console.error("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://react.dev/link/controlled-components"),mz=!0),!M||G||fz||(console.error("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://react.dev/link/controlled-components"),fz=!0),N3(H,Y,Q,U,J,_,Z,X);return;case"select":j=Y=Q=O=null;for(Z in $)if(U=$[Z],$.hasOwnProperty(Z)&&U!=null)switch(Z){case"value":break;case"multiple":j=U;default:G.hasOwnProperty(Z)||N1(H,M,Z,null,G,U)}for(X in G)if(Z=G[X],U=$[X],G.hasOwnProperty(X)&&(Z!=null||U!=null))switch(X){case"value":O=Z;break;case"defaultValue":Q=Z;break;case"multiple":Y=Z;default:Z!==U&&N1(H,M,X,Z,G,U)}G=Q,M=Y,$=j,O!=null?a6(H,!!M,O,!1):!!$!==!!M&&(G!=null?a6(H,!!M,G,!0):a6(H,!!M,M?[]:"",!1));return;case"textarea":j=O=null;for(Q in $)if(X=$[Q],$.hasOwnProperty(Q)&&X!=null&&!G.hasOwnProperty(Q))switch(Q){case"value":break;case"children":break;default:N1(H,M,Q,null,G,X)}for(Y in G)if(X=G[Y],Z=$[Y],G.hasOwnProperty(Y)&&(X!=null||Z!=null))switch(Y){case"value":O=X;break;case"defaultValue":j=X;break;case"children":break;case"dangerouslySetInnerHTML":if(X!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:X!==Z&&N1(H,M,Y,X,G,Z)}JG(H,O,j);return;case"option":for(var f in $)if(O=$[f],$.hasOwnProperty(f)&&O!=null&&!G.hasOwnProperty(f))switch(f){case"selected":H.selected=!1;break;default:N1(H,M,f,null,G,O)}for(U in G)if(O=G[U],j=$[U],G.hasOwnProperty(U)&&O!==j&&(O!=null||j!=null))switch(U){case"selected":H.selected=O&&typeof O!=="function"&&typeof O!=="symbol";break;default:N1(H,M,U,O,G,j)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var o in $)O=$[o],$.hasOwnProperty(o)&&O!=null&&!G.hasOwnProperty(o)&&N1(H,M,o,null,G,O);for(J in G)if(O=G[J],j=$[J],G.hasOwnProperty(J)&&O!==j&&(O!=null||j!=null))switch(J){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(M+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:N1(H,M,J,O,G,j)}return;default:if(QH(M)){for(var v1 in $)O=$[v1],$.hasOwnProperty(v1)&&O!==void 0&&!G.hasOwnProperty(v1)&&R9(H,M,v1,void 0,G,O);for(_ in G)O=G[_],j=$[_],!G.hasOwnProperty(_)||O===j||O===void 0&&j===void 0||R9(H,M,_,O,G,j);return}}for(var R1 in $)O=$[R1],$.hasOwnProperty(R1)&&O!=null&&!G.hasOwnProperty(R1)&&N1(H,M,R1,null,G,O);for(W in G)O=G[W],j=$[W],!G.hasOwnProperty(W)||O===j||O==null&&j==null||N1(H,M,W,O,G,j)}function MY(H){switch(H){case"class":return"className";case"for":return"htmlFor";default:return H}}function q9(H){var M={};H=H.style;for(var $=0;$<H.length;$++){var G=H[$];M[G]=H.getPropertyValue(G)}return M}function $Y(H,M,$){if(M!=null&&typeof M!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var G,X=G="",Z;for(Z in M)if(M.hasOwnProperty(Z)){var Y=M[Z];Y!=null&&typeof Y!=="boolean"&&Y!==""&&(Z.indexOf("--")===0?(l1(Y,Z),G+=X+Z+":"+(""+Y).trim()):typeof Y!=="number"||Y===0||QQ.has(Z)?(l1(Y,Z),G+=X+Z.replace($Q,"-$1").toLowerCase().replace(GQ,"-ms-")+":"+(""+Y).trim()):G+=X+Z.replace($Q,"-$1").toLowerCase().replace(GQ,"-ms-")+":"+Y+"px",X=";")}G=G||null,M=H.getAttribute("style"),M!==G&&(G=x2(G),x2(M)!==G&&($.style=q9(H)))}}function G4(H,M,$,G,X,Z){if(X.delete($),H=H.getAttribute($),H===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(r(G,M),H===""+G)return}Z0(M,H,G,Z)}function GY(H,M,$,G,X,Z){if(X.delete($),H=H.getAttribute($),H===null){switch(typeof G){case"function":case"symbol":return}if(!G)return}else switch(typeof G){case"function":case"symbol":break;default:if(G)return}Z0(M,H,G,Z)}function K9(H,M,$,G,X,Z){if(X.delete($),H=H.getAttribute($),H===null)switch(typeof G){case"undefined":case"function":case"symbol":return}else if(G!=null)switch(typeof G){case"function":case"symbol":break;default:if(r(G,$),H===""+G)return}Z0(M,H,G,Z)}function XY(H,M,$,G,X,Z){if(X.delete($),H=H.getAttribute($),H===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(G))return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(!isNaN(G)&&(r(G,M),H===""+G))return}Z0(M,H,G,Z)}function O9(H,M,$,G,X,Z){if(X.delete($),H=H.getAttribute($),H===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(r(G,M),$=zH(""+G),H===$)return}Z0(M,H,G,Z)}function ZY(H,M,$,G){for(var X={},Z=new Set,Y=H.attributes,Q=0;Q<Y.length;Q++)switch(Y[Q].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:Z.add(Y[Q].name)}if(QH(M)){for(var U in $)if($.hasOwnProperty(U)){var J=$[U];if(J!=null){if(_6.hasOwnProperty(U))typeof J!=="function"&&f4(U,J);else if($.suppressHydrationWarning!==!0)switch(U){case"children":typeof J!=="string"&&typeof J!=="number"||Z0("children",H.textContent,J,X);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":Y=H.innerHTML,J=J?J.__html:void 0,J!=null&&(J=eZ(H,J),Z0(U,Y,J,X));continue;case"style":Z.delete(U),$Y(H,J,X);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":Z.delete(U.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",U);continue;case"className":Z.delete("class"),Y=Z1(H,"class",J),Z0("className",Y,J,X);continue;default:G.context===T2&&M!=="svg"&&M!=="math"?Z.delete(U.toLowerCase()):Z.delete(U),Y=Z1(H,U,J),Z0(U,Y,J,X)}}}}else for(J in $)if($.hasOwnProperty(J)&&(U=$[J],U!=null)){if(_6.hasOwnProperty(J))typeof U!=="function"&&f4(J,U);else if($.suppressHydrationWarning!==!0)switch(J){case"children":typeof U!=="string"&&typeof U!=="number"||Z0("children",H.textContent,U,X);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":Y=H.innerHTML,U=U?U.__html:void 0,U!=null&&(U=eZ(H,U),Y!==U&&(X[J]={__html:Y}));continue;case"className":G4(H,J,"class",U,Z,X);continue;case"tabIndex":G4(H,J,"tabindex",U,Z,X);continue;case"style":Z.delete(J),$Y(H,U,X);continue;case"multiple":Z.delete(J),Z0(J,H.multiple,U,X);continue;case"muted":Z.delete(J),Z0(J,H.muted,U,X);continue;case"autoFocus":Z.delete("autofocus"),Z0(J,H.autofocus,U,X);continue;case"data":if(M!=="object"){Z.delete(J),Y=H.getAttribute("data"),Z0(J,Y,U,X);continue}case"src":case"href":if(!(U!==""||M==="a"&&J==="href"||M==="object"&&J==="data")){J==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',J,J):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',J,J);continue}O9(H,J,J,U,Z,X);continue;case"action":case"formAction":if(Y=H.getAttribute(J),typeof U==="function"){Z.delete(J.toLowerCase()),J==="formAction"?(Z.delete("name"),Z.delete("formenctype"),Z.delete("formmethod"),Z.delete("formtarget")):(Z.delete("enctype"),Z.delete("method"),Z.delete("target"));continue}else if(Y===qq){Z.delete(J.toLowerCase()),Z0(J,"function",U,X);continue}O9(H,J,J.toLowerCase(),U,Z,X);continue;case"xlinkHref":O9(H,J,"xlink:href",U,Z,X);continue;case"contentEditable":K9(H,J,"contenteditable",U,Z,X);continue;case"spellCheck":K9(H,J,"spellcheck",U,Z,X);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":K9(H,J,J,U,Z,X);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":GY(H,J,J.toLowerCase(),U,Z,X);continue;case"capture":case"download":H:{Q=H;var _=Y=J,W=X;if(Z.delete(_),Q=Q.getAttribute(_),Q===null)switch(typeof U){case"undefined":case"function":case"symbol":break H;default:if(U===!1)break H}else if(U!=null)switch(typeof U){case"function":case"symbol":break;case"boolean":if(U===!0&&Q==="")break H;break;default:if(r(U,Y),Q===""+U)break H}Z0(Y,Q,U,W)}continue;case"cols":case"rows":case"size":case"span":H:{if(Q=H,_=Y=J,W=X,Z.delete(_),Q=Q.getAttribute(_),Q===null)switch(typeof U){case"undefined":case"function":case"symbol":case"boolean":break H;default:if(isNaN(U)||1>U)break H}else if(U!=null)switch(typeof U){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(U)||1>U)&&(r(U,Y),Q===""+U))break H}Z0(Y,Q,U,W)}continue;case"rowSpan":XY(H,J,"rowspan",U,Z,X);continue;case"start":XY(H,J,J,U,Z,X);continue;case"xHeight":G4(H,J,"x-height",U,Z,X);continue;case"xlinkActuate":G4(H,J,"xlink:actuate",U,Z,X);continue;case"xlinkArcrole":G4(H,J,"xlink:arcrole",U,Z,X);continue;case"xlinkRole":G4(H,J,"xlink:role",U,Z,X);continue;case"xlinkShow":G4(H,J,"xlink:show",U,Z,X);continue;case"xlinkTitle":G4(H,J,"xlink:title",U,Z,X);continue;case"xlinkType":G4(H,J,"xlink:type",U,Z,X);continue;case"xmlBase":G4(H,J,"xml:base",U,Z,X);continue;case"xmlLang":G4(H,J,"xml:lang",U,Z,X);continue;case"xmlSpace":G4(H,J,"xml:space",U,Z,X);continue;case"inert":U!==""||K3[J]||(K3[J]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",J)),GY(H,J,J,U,Z,X);continue;default:if(!(2<J.length)||J[0]!=="o"&&J[0]!=="O"||J[1]!=="n"&&J[1]!=="N"){Q=WG(J),Y=!1,G.context===T2&&M!=="svg"&&M!=="math"?Z.delete(Q.toLowerCase()):(_=J.toLowerCase(),_=f5.hasOwnProperty(_)?f5[_]||null:null,_!==null&&_!==J&&(Y=!0,Z.delete(_)),Z.delete(Q));H:if(_=H,W=Q,Q=U,T1(W))if(_.hasAttribute(W))_=_.getAttribute(W),r(Q,W),Q=_===""+Q?Q:_;else{switch(typeof Q){case"function":case"symbol":break H;case"boolean":if(_=W.toLowerCase().slice(0,5),_!=="data-"&&_!=="aria-")break H}Q=Q===void 0?void 0:null}else Q=void 0;Y||Z0(J,Q,U,X)}}}return 0<Z.size&&$.suppressHydrationWarning!==!0&&$B(H,Z,X),Object.keys(X).length===0?null:X}function XB(H,M){switch(H.length){case 0:return"";case 1:return H[0];case 2:return H[0]+" "+M+" "+H[1];default:return H.slice(0,-1).join(", ")+", "+M+" "+H[H.length-1]}}function j5(H){return H.nodeType===9?H:H.ownerDocument}function YY(H){switch(H){case K8:return c8;case y5:return _3;default:return T2}}function QY(H,M){if(H===T2)switch(M){case"svg":return c8;case"math":return _3;default:return T2}return H===c8&&M==="foreignObject"?T2:H}function P9(H,M){return H==="textarea"||H==="noscript"||typeof M.children==="string"||typeof M.children==="number"||typeof M.children==="bigint"||typeof M.dangerouslySetInnerHTML==="object"&&M.dangerouslySetInnerHTML!==null&&M.dangerouslySetInnerHTML.__html!=null}function ZB(){var H=window.event;if(H&&H.type==="popstate"){if(H===c$)return!1;return c$=H,!0}return c$=null,!1}function YB(H){setTimeout(function(){throw H})}function QB(H,M,$){switch(M){case"button":case"input":case"select":case"textarea":$.autoFocus&&H.focus();break;case"img":$.src?H.src=$.src:$.srcSet&&(H.srcset=$.srcSet)}}function zB(H,M,$,G){GB(H,M,$,G),H[b0]=G}function zY(H){YH(H,"")}function UB(H,M,$){H.nodeValue=$}function v2(H){return H==="head"}function JB(H,M){H.removeChild(M)}function BB(H,M){(H.nodeType===9?H.body:H.nodeName==="HTML"?H.ownerDocument.body:H).removeChild(M)}function UY(H,M){var $=M,G=0,X=0;do{var Z=$.nextSibling;if(H.removeChild($),Z&&Z.nodeType===8)if($=Z.data,$===P3){if(0<G&&8>G){$=G;var Y=H.ownerDocument;if($&Oq&&SH(Y.documentElement),$&Pq&&SH(Y.body),$&_q)for($=Y.head,SH($),Y=$.firstChild;Y;){var{nextSibling:Q,nodeName:U}=Y;Y[uH]||U==="SCRIPT"||U==="STYLE"||U==="LINK"&&Y.rel.toLowerCase()==="stylesheet"||$.removeChild(Y),Y=Q}}if(X===0){H.removeChild(Z),yH(M);return}X--}else $===O3||$===_2||$===FM?X++:G=$.charCodeAt(0)-48;else G=0;$=Z}while($);yH(M)}function RB(H){H=H.style,typeof H.setProperty==="function"?H.setProperty("display","none","important"):H.display="none"}function qB(H){H.nodeValue=""}function KB(H,M){M=M[Tq],M=M!==void 0&&M!==null&&M.hasOwnProperty("display")?M.display:null,H.style.display=M==null||typeof M==="boolean"?"":(""+M).trim()}function OB(H,M){H.nodeValue=M}function _9(H){var M=H.firstChild;M&&M.nodeType===10&&(M=M.nextSibling);for(;M;){var $=M;switch(M=M.nextSibling,$.nodeName){case"HTML":case"HEAD":case"BODY":_9($),H6($);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if($.rel.toLowerCase()==="stylesheet")continue}H.removeChild($)}}function PB(H,M,$,G){for(;H.nodeType===1;){var X=$;if(H.nodeName.toLowerCase()!==M.toLowerCase()){if(!G&&(H.nodeName!=="INPUT"||H.type!=="hidden"))break}else if(!G)if(M==="input"&&H.type==="hidden"){r(X.name,"name");var Z=X.name==null?null:""+X.name;if(X.type==="hidden"&&H.getAttribute("name")===Z)return H}else return H;else if(!H[uH])switch(M){case"meta":if(!H.hasAttribute("itemprop"))break;return H;case"link":if(Z=H.getAttribute("rel"),Z==="stylesheet"&&H.hasAttribute("data-precedence"))break;else if(Z!==X.rel||H.getAttribute("href")!==(X.href==null||X.href===""?null:X.href)||H.getAttribute("crossorigin")!==(X.crossOrigin==null?null:X.crossOrigin)||H.getAttribute("title")!==(X.title==null?null:X.title))break;return H;case"style":if(H.hasAttribute("data-precedence"))break;return H;case"script":if(Z=H.getAttribute("src"),(Z!==(X.src==null?null:X.src)||H.getAttribute("type")!==(X.type==null?null:X.type)||H.getAttribute("crossorigin")!==(X.crossOrigin==null?null:X.crossOrigin))&&Z&&H.hasAttribute("async")&&!H.hasAttribute("itemprop"))break;return H;default:return H}if(H=X4(H.nextSibling),H===null)break}return null}function _B(H,M,$){if(M==="")return null;for(;H.nodeType!==3;){if((H.nodeType!==1||H.nodeName!=="INPUT"||H.type!=="hidden")&&!$)return null;if(H=X4(H.nextSibling),H===null)return null}return H}function T9(H){return H.data===FM||H.data===_2&&H.ownerDocument.readyState===lz}function TB(H,M){var $=H.ownerDocument;if(H.data!==_2||$.readyState===lz)M();else{var G=function(){M(),$.removeEventListener("DOMContentLoaded",G)};$.addEventListener("DOMContentLoaded",G),H._reactRetry=G}}function X4(H){for(;H!=null;H=H.nextSibling){var M=H.nodeType;if(M===1||M===3)break;if(M===8){if(M=H.data,M===O3||M===FM||M===_2||M===d$||M===dz)break;if(M===P3)return null}}return H}function JY(H){if(H.nodeType===1){for(var M=H.nodeName.toLowerCase(),$={},G=H.attributes,X=0;X<G.length;X++){var Z=G[X];$[MY(Z.name)]=Z.name.toLowerCase()==="style"?q9(H):Z.value}return{type:M,props:$}}return H.nodeType===8?{type:"Suspense",props:{}}:H.nodeValue}function BY(H,M,$){return $===null||$[Kq]!==!0?(H.nodeValue===M?H=null:(M=x2(M),H=x2(H.nodeValue)===M?null:H.nodeValue),H):null}function RY(H){H=H.nextSibling;for(var M=0;H;){if(H.nodeType===8){var $=H.data;if($===P3){if(M===0)return X4(H.nextSibling);M--}else $!==O3&&$!==FM&&$!==_2||M++}H=H.nextSibling}return null}function qY(H){H=H.previousSibling;for(var M=0;H;){if(H.nodeType===8){var $=H.data;if($===O3||$===FM||$===_2){if(M===0)return H;M--}else $===P3&&M++}H=H.previousSibling}return null}function IB(H){yH(H)}function FB(H){yH(H)}function KY(H,M,$,G,X){switch(X&&g3(H,G.ancestorInfo),M=j5($),H){case"html":if(H=M.documentElement,!H)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return H;case"head":if(H=M.head,!H)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return H;case"body":if(H=M.body,!H)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return H;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function WB(H,M,$,G){if(!$[y2]&&z($)){var X=$.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",X,X,X)}switch(H){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(X=$.attributes;X.length;)$.removeAttributeNode(X[0]);B0($,H,M),$[T0]=G,$[b0]=M}function SH(H){for(var M=H.attributes;M.length;)H.removeAttributeNode(M[0]);H6(H)}function A5(H){return typeof H.getRootNode==="function"?H.getRootNode():H.nodeType===9?H:H.ownerDocument}function OY(H,M,$){var G=s8;if(G&&typeof M==="string"&&M){var X=$4(M);X='link[rel="'+H+'"][href="'+X+'"]',typeof $==="string"&&(X+='[crossorigin="'+$+'"]'),rz.has(X)||(rz.add(X),H={rel:H,crossOrigin:$,href:M},G.querySelector(X)===null&&(M=G.createElement("link"),B0(M,"link",H),D(M),G.head.appendChild(M)))}}function PY(H,M,$,G){var X=(X=g2.current)?A5(X):null;if(!X)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(H){case"meta":case"title":return null;case"style":return typeof $.precedence==="string"&&typeof $.href==="string"?($=Q8($.href),M=C(X).hoistableStyles,G=M.get($),G||(G={type:"style",instance:null,count:0,state:null},M.set($,G)),G):{type:"void",instance:null,count:0,state:null};case"link":if($.rel==="stylesheet"&&typeof $.href==="string"&&typeof $.precedence==="string"){H=Q8($.href);var Z=C(X).hoistableStyles,Y=Z.get(H);if(!Y&&(X=X.ownerDocument||X,Y={type:"stylesheet",instance:null,count:0,state:{loading:g6,preload:null}},Z.set(H,Y),(Z=X.querySelector(bH(H)))&&!Z._p&&(Y.instance=Z,Y.state.loading=WM|K4),!O4.has(H))){var Q={rel:"preload",as:"style",href:$.href,crossOrigin:$.crossOrigin,integrity:$.integrity,media:$.media,hrefLang:$.hrefLang,referrerPolicy:$.referrerPolicy};O4.set(H,Q),Z||jB(X,H,Q,Y.state)}if(M&&G===null)throw $=`
|
|
|
|
- `+w5(M)+`
|
|
+ `+w5($),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+$);return Y}if(M&&G!==null)throw $=`
|
|
|
|
- `+w5(M)+`
|
|
+ `+w5($),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+$);return null;case"script":return M=$.async,$=$.src,typeof $==="string"&&M&&typeof M!=="function"&&typeof M!=="symbol"?($=z8($),M=C(X).hoistableScripts,G=M.get($),G||(G={type:"script",instance:null,count:0,state:null},M.set($,G)),G):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+H+'". this is a bug in React.')}}function w5(H){var M=0,$="<link";return typeof H.rel==="string"?(M++,$+=' rel="'+H.rel+'"'):z2.call(H,"rel")&&(M++,$+=' rel="'+(H.rel===null?"null":"invalid type "+typeof H.rel)+'"'),typeof H.href==="string"?(M++,$+=' href="'+H.href+'"'):z2.call(H,"href")&&(M++,$+=' href="'+(H.href===null?"null":"invalid type "+typeof H.href)+'"'),typeof H.precedence==="string"?(M++,$+=' precedence="'+H.precedence+'"'):z2.call(H,"precedence")&&(M++,$+=" precedence={"+(H.precedence===null?"null":"invalid type "+typeof H.precedence)+"}"),Object.getOwnPropertyNames(H).length>M&&($+=" ..."),$+" />"}function Q8(H){return'href="'+$4(H)+'"'}function bH(H){return'link[rel="stylesheet"]['+H+"]"}function _Y(H){return Y1({},H,{"data-precedence":H.precedence,precedence:null})}function jB(H,M,$,G){H.querySelector('link[rel="preload"][as="style"]['+M+"]")?G.loading=WM:(M=H.createElement("link"),G.preload=M,M.addEventListener("load",function(){return G.loading|=WM}),M.addEventListener("error",function(){return G.loading|=az}),B0(M,"link",$),D(M),H.head.appendChild(M))}function z8(H){return'[src="'+$4(H)+'"]'}function gH(H){return"script[async]"+H}function TY(H,M,$){if(M.count++,M.instance===null)switch(M.type){case"style":var G=H.querySelector('style[data-href~="'+$4($.href)+'"]');if(G)return M.instance=G,D(G),G;var X=Y1({},$,{"data-href":$.href,"data-precedence":$.precedence,href:null,precedence:null});return G=(H.ownerDocument||H).createElement("style"),D(G),B0(G,"style",X),L5(G,$.precedence,H),M.instance=G;case"stylesheet":X=Q8($.href);var Z=H.querySelector(bH(X));if(Z)return M.state.loading|=K4,M.instance=Z,D(Z),Z;G=_Y($),(X=O4.get(X))&&I9(G,X),Z=(H.ownerDocument||H).createElement("link"),D(Z);var Y=Z;return Y._p=new Promise(function(Q,U){Y.onload=Q,Y.onerror=U}),B0(Z,"link",G),M.state.loading|=K4,L5(Z,$.precedence,H),M.instance=Z;case"script":if(Z=z8($.src),X=H.querySelector(gH(Z)))return M.instance=X,D(X),X;if(G=$,X=O4.get(Z))G=Y1({},$),F9(G,X);return H=H.ownerDocument||H,X=H.createElement("script"),D(X),B0(X,"link",G),H.head.appendChild(X),M.instance=X;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+M.type+'". this is a bug in React.')}else M.type==="stylesheet"&&(M.state.loading&K4)===g6&&(G=M.instance,M.state.loading|=K4,L5(G,$.precedence,H));return M.instance}function L5(H,M,$){for(var G=$.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),X=G.length?G[G.length-1]:null,Z=X,Y=0;Y<G.length;Y++){var Q=G[Y];if(Q.dataset.precedence===M)Z=Q;else if(Z!==X)break}Z?Z.parentNode.insertBefore(H,Z.nextSibling):(M=$.nodeType===9?$.head:$,M.insertBefore(H,M.firstChild))}function I9(H,M){H.crossOrigin==null&&(H.crossOrigin=M.crossOrigin),H.referrerPolicy==null&&(H.referrerPolicy=M.referrerPolicy),H.title==null&&(H.title=M.title)}function F9(H,M){H.crossOrigin==null&&(H.crossOrigin=M.crossOrigin),H.referrerPolicy==null&&(H.referrerPolicy=M.referrerPolicy),H.integrity==null&&(H.integrity=M.integrity)}function IY(H,M,$){if(T3===null){var G=new Map,X=T3=new Map;X.set($,G)}else X=T3,G=X.get($),G||(G=new Map,X.set($,G));if(G.has(H))return G;G.set(H,null),$=$.getElementsByTagName(H);for(X=0;X<$.length;X++){var Z=$[X];if(!(Z[uH]||Z[T0]||H==="link"&&Z.getAttribute("rel")==="stylesheet")&&Z.namespaceURI!==K8){var Y=Z.getAttribute(M)||"";Y=H+Y;var Q=G.get(Y);Q?Q.push(Z):G.set(Y,[Z])}}return G}function FY(H,M,$){H=H.ownerDocument||H,H.head.insertBefore($,M==="title"?H.querySelector("head > title"):null)}function AB(H,M,$){var G=!$.ancestorInfo.containerTagInScope;if($.context===c8||M.itemProp!=null)return!G||M.itemProp==null||H!=="meta"&&H!=="title"&&H!=="style"&&H!=="link"&&H!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",H,H),!1;switch(H){case"meta":case"title":return!0;case"style":if(typeof M.precedence!=="string"||typeof M.href!=="string"||M.href===""){G&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof M.rel!=="string"||typeof M.href!=="string"||M.href===""||M.onLoad||M.onError){if(M.rel==="stylesheet"&&typeof M.precedence==="string"){H=M.href;var{onError:X,disabled:Z}=M;$=[],M.onLoad&&$.push("`onLoad`"),X&&$.push("`onError`"),Z!=null&&$.push("`disabled`"),X=XB($,"and"),X+=$.length===1?" prop":" props",Z=$.length===1?"an "+X:"the "+X,$.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',H,Z,X)}G&&(typeof M.rel!=="string"||typeof M.href!=="string"||M.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(M.onError||M.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(M.rel){case"stylesheet":return H=M.precedence,M=M.disabled,typeof H!=="string"&&G&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof H==="string"&&M==null;default:return!0}case"script":if(H=M.async&&typeof M.async!=="function"&&typeof M.async!=="symbol",!H||M.onLoad||M.onError||!M.src||typeof M.src!=="string"){G&&(H?M.onLoad||M.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":G&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",H)}return!1}function WY(H){return H.type==="stylesheet"&&(H.state.loading&oz)===g6?!1:!0}function wB(){}function LB(H,M,$){if(jM===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var G=jM;if(M.type==="stylesheet"&&(typeof $.media!=="string"||matchMedia($.media).matches!==!1)&&(M.state.loading&K4)===g6){if(M.instance===null){var X=Q8($.href),Z=H.querySelector(bH(X));if(Z){H=Z._p,H!==null&&typeof H==="object"&&typeof H.then==="function"&&(G.count++,G=E5.bind(G),H.then(G,G)),M.state.loading|=K4,M.instance=Z,D(Z);return}Z=H.ownerDocument||H,$=_Y($),(X=O4.get(X))&&I9($,X),Z=Z.createElement("link"),D(Z);var Y=Z;Y._p=new Promise(function(Q,U){Y.onload=Q,Y.onerror=U}),B0(Z,"link",$),M.instance=Z}G.stylesheets===null&&(G.stylesheets=new Map),G.stylesheets.set(M,H),(H=M.state.preload)&&(M.state.loading&oz)===g6&&(G.count++,M=E5.bind(G),H.addEventListener("load",M),H.addEventListener("error",M))}}function EB(){if(jM===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var H=jM;return H.stylesheets&&H.count===0&&W9(H,H.stylesheets),0<H.count?function(M){var $=setTimeout(function(){if(H.stylesheets&&W9(H,H.stylesheets),H.unsuspend){var G=H.unsuspend;H.unsuspend=null,G()}},60000);return H.unsuspend=M,function(){H.unsuspend=null,clearTimeout($)}}:null}function E5(){if(this.count--,this.count===0){if(this.stylesheets)W9(this,this.stylesheets);else if(this.unsuspend){var H=this.unsuspend;this.unsuspend=null,H()}}}function W9(H,M){H.stylesheets=null,H.unsuspend!==null&&(H.count++,I3=new Map,M.forEach(VB,H),I3=null,E5.call(H))}function VB(H,M){if(!(M.state.loading&K4)){var $=I3.get(H);if($)var G=$.get(a$);else{$=new Map,I3.set(H,$);for(var X=H.querySelectorAll("link[data-precedence],style[data-precedence]"),Z=0;Z<X.length;Z++){var Y=X[Z];if(Y.nodeName==="LINK"||Y.getAttribute("media")!=="not all")$.set(Y.dataset.precedence,Y),G=Y}G&&$.set(a$,G)}X=M.instance,Y=X.getAttribute("data-precedence"),Z=$.get(Y)||G,Z===G&&$.set(a$,X),$.set(Y,X),this.count++,G=E5.bind(this),X.addEventListener("load",G),X.addEventListener("error",G),Z?Z.parentNode.insertBefore(X,Z.nextSibling):(H=H.nodeType===9?H.head:H,H.insertBefore(X,H.firstChild)),M.state.loading|=K4}}function DB(H,M,$,G,X,Z,Y,Q){this.tag=1,this.containerInfo=H,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=b6,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=p6(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=p6(0),this.hiddenUpdates=p6(null),this.identifierPrefix=G,this.onUncaughtError=X,this.onCaughtError=Z,this.onRecoverableError=Y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Q,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,H=this.pendingUpdatersLaneMap=[];for(M=0;31>M;M++)H.push(new Set);this._debugRootType=$?"hydrateRoot()":"createRoot()"}function jY(H,M,$,G,X,Z,Y,Q,U,J,_,W){return H=new DB(H,M,$,Y,Q,U,J,W),M=pR,Z===!0&&(M|=I0|w4),j4&&(M|=q0),Z=g(3,null,null,M),H.current=Z,Z.stateNode=H,M=i3(),B6(M),H.pooledCache=M,B6(M),Z.memoizedState={element:G,isDehydrated:$,cache:M},M7(Z),H}function AY(H){if(!H)return m2;return H=m2,H}function j9(H,M,$,G,X,Z){if(_0&&typeof _0.onScheduleFiberRoot==="function")try{_0.onScheduleFiberRoot(R8,G,$)}catch(Y){h4||(h4=!0,console.error("React instrumentation encountered an error: %s",Y))}k!==null&&typeof k.markRenderScheduled==="function"&&k.markRenderScheduled(M),X=AY(X),G.context===null?G.context=X:G.pendingContext=X,l4&&o0!==null&&!ez&&(ez=!0,console.error(`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.`,y(o0)||"Unknown")),G=L2(M),G.payload={element:$},Z=Z===void 0?null:Z,Z!==null&&(typeof Z!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Z),G.callback=Z),$=E2(H,G,M),$!==null&&(c1($,H,M),_H($,H,M))}function wY(H,M){if(H=H.memoizedState,H!==null&&H.dehydrated!==null){var $=H.retryLane;H.retryLane=$!==0&&$<M?$:M}}function A9(H,M){wY(H,M),(H=H.alternate)&&wY(H,M)}function LY(H){if(H.tag===13){var M=x0(H,67108864);M!==null&&c1(M,H,67108864),A9(H,67108864)}}function NB(){return o0}function CB(){for(var H=new Map,M=1,$=0;31>$;$++){var G=h6(M);H.set(M,G),M*=2}return H}function xB(H,M,$,G){var X=F.T;F.T=null;var Z=j1.p;try{j1.p=a0,w9(H,M,$,G)}finally{j1.p=Z,F.T=X}}function vB(H,M,$,G){var X=F.T;F.T=null;var Z=j1.p;try{j1.p=A4,w9(H,M,$,G)}finally{j1.p=Z,F.T=X}}function w9(H,M,$,G){if(W3){var X=L9(G);if(X===null)J9(H,M,G,j3,$),VY(H,G);else if(SB(X,H,M,$,G))G.stopPropagation();else if(VY(H,G),M&4&&-1<jq.indexOf(H)){for(;X!==null;){var Z=z(X);if(Z!==null)switch(Z.tag){case 3:if(Z=Z.stateNode,Z.current.memoizedState.isDehydrated){var Y=x4(Z.pendingLanes);if(Y!==0){var Q=Z;Q.pendingLanes|=2;for(Q.entangledLanes|=2;Y;){var U=1<<31-W0(Y);Q.entanglements[1]|=U,Y&=~U}y4(Z),(A1&(E0|D4))===r0&&(Z3=u4()+xz,xH(0,!1))}}break;case 13:Q=x0(Z,2),Q!==null&&c1(Q,Z,2),G8(),A9(Z,2)}if(Z=L9(G),Z===null&&J9(H,M,G,j3,$),Z===X)break;X=Z}X!==null&&G.stopPropagation()}else J9(H,M,G,null,$)}}function L9(H){return H=k3(H),E9(H)}function E9(H){if(j3=null,H=i4(H),H!==null){var M=G0(H);if(M===null)H=null;else{var $=M.tag;if($===13){if(H=t0(M),H!==null)return H;H=null}else if($===3){if(M.stateNode.current.memoizedState.isDehydrated)return M.tag===3?M.stateNode.containerInfo:null;H=null}else M!==H&&(H=null)}}return j3=H,null}function EY(H){switch(H){case"beforetoggle":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"toggle":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 a0;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return A4;case"message":switch(lB()){case k9:return a0;case y9:return A4;case B8:case pB:return d4;case f9:return g5;default:return d4}default:return d4}}function VY(H,M){switch(H){case"focusin":case"focusout":r2=null;break;case"dragenter":case"dragleave":n2=null;break;case"mouseover":case"mouseout":i2=null;break;case"pointerover":case"pointerout":wM.delete(M.pointerId);break;case"gotpointercapture":case"lostpointercapture":LM.delete(M.pointerId)}}function kH(H,M,$,G,X,Z){if(H===null||H.nativeEvent!==Z)return H={blockedOn:M,domEventName:$,eventSystemFlags:G,nativeEvent:Z,targetContainers:[X]},M!==null&&(M=z(M),M!==null&&LY(M)),H;return H.eventSystemFlags|=G,M=H.targetContainers,X!==null&&M.indexOf(X)===-1&&M.push(X),H}function SB(H,M,$,G,X){switch(M){case"focusin":return r2=kH(r2,H,M,$,G,X),!0;case"dragenter":return n2=kH(n2,H,M,$,G,X),!0;case"mouseover":return i2=kH(i2,H,M,$,G,X),!0;case"pointerover":var Z=X.pointerId;return wM.set(Z,kH(wM.get(Z)||null,H,M,$,G,X)),!0;case"gotpointercapture":return Z=X.pointerId,LM.set(Z,kH(LM.get(Z)||null,H,M,$,G,X)),!0}return!1}function DY(H){var M=i4(H.target);if(M!==null){var $=G0(M);if($!==null){if(M=$.tag,M===13){if(M=t0($),M!==null){H.blockedOn=M,s6(H.priority,function(){if($.tag===13){var G=c0($);G=c6(G);var X=x0($,G);X!==null&&c1(X,$,G),A9($,G)}});return}}else if(M===3&&$.stateNode.current.memoizedState.isDehydrated){H.blockedOn=$.tag===3?$.stateNode.containerInfo:null;return}}}H.blockedOn=null}function V5(H){if(H.blockedOn!==null)return!1;for(var M=H.targetContainers;0<M.length;){var $=L9(H.nativeEvent);if($===null){$=H.nativeEvent;var G=new $.constructor($.type,$),X=G;dH!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),dH=X,$.target.dispatchEvent(G),dH===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),dH=null}else return M=z($),M!==null&&LY(M),H.blockedOn=$,!1;M.shift()}return!0}function NY(H,M,$){V5(H)&&$.delete(M)}function bB(){o$=!1,r2!==null&&V5(r2)&&(r2=null),n2!==null&&V5(n2)&&(n2=null),i2!==null&&V5(i2)&&(i2=null),wM.forEach(NY),LM.forEach(NY)}function D5(H,M){H.blockedOn===M&&(H.blockedOn=null,o$||(o$=!0,P1.unstable_scheduleCallback(P1.unstable_NormalPriority,bB)))}function CY(H){A3!==H&&(A3=H,P1.unstable_scheduleCallback(P1.unstable_NormalPriority,function(){A3===H&&(A3=null);for(var M=0;M<H.length;M+=3){var $=H[M],G=H[M+1],X=H[M+2];if(typeof G!=="function")if(E9(G||$)===null)continue;else break;var Z=z($);Z!==null&&(H.splice(M,3),M-=3,$={pending:!0,data:X,method:$.method,action:G},Object.freeze($),E7(Z,$,G,X))}}))}function yH(H){function M(U){return D5(U,H)}r2!==null&&D5(r2,H),n2!==null&&D5(n2,H),i2!==null&&D5(i2,H),wM.forEach(M),LM.forEach(M);for(var $=0;$<t2.length;$++){var G=t2[$];G.blockedOn===H&&(G.blockedOn=null)}for(;0<t2.length&&($=t2[0],$.blockedOn===null);)DY($),$.blockedOn===null&&t2.shift();if($=(H.ownerDocument||H).$$reactFormReplay,$!=null)for(G=0;G<$.length;G+=3){var X=$[G],Z=$[G+1],Y=X[b0]||null;if(typeof Z==="function")Y||CY($);else if(Y){var Q=null;if(Z&&Z.hasAttribute("formAction")){if(X=Z,Y=Z[b0]||null)Q=Y.formAction;else if(E9(X)!==null)continue}else Q=Y.action;typeof Q==="function"?$[G+1]=Q:($.splice(G,3),G-=3),CY($)}}}function V9(H){this._internalRoot=H}function N5(H){this._internalRoot=H}function xY(H){H[y2]&&(H._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("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."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Y1=Object.assign,gB=Symbol.for("react.element"),S2=Symbol.for("react.transitional.element"),U8=Symbol.for("react.portal"),J8=Symbol.for("react.fragment"),C5=Symbol.for("react.strict_mode"),D9=Symbol.for("react.profiler"),kB=Symbol.for("react.provider"),N9=Symbol.for("react.consumer"),m4=Symbol.for("react.context"),fH=Symbol.for("react.forward_ref"),C9=Symbol.for("react.suspense"),x9=Symbol.for("react.suspense_list"),x5=Symbol.for("react.memo"),s0=Symbol.for("react.lazy"),v9=Symbol.for("react.activity"),yB=Symbol.for("react.memo_cache_sentinel"),vY=Symbol.iterator,fB=Symbol.for("react.client.reference"),R0=Array.isArray,F=a8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j1=n$.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,mB=Object.freeze({pending:!1,data:null,method:null,action:null}),S9=[],b9=[],Q2=-1,b2=i1(null),mH=i1(null),g2=i1(null),v5=i1(null),z2=Object.prototype.hasOwnProperty,g9=P1.unstable_scheduleCallback,uB=P1.unstable_cancelCallback,hB=P1.unstable_shouldYield,dB=P1.unstable_requestPaint,u4=P1.unstable_now,lB=P1.unstable_getCurrentPriorityLevel,k9=P1.unstable_ImmediatePriority,y9=P1.unstable_UserBlockingPriority,B8=P1.unstable_NormalPriority,pB=P1.unstable_LowPriority,f9=P1.unstable_IdlePriority,cB=P1.log,sB=P1.unstable_setDisableYieldValue,R8=null,_0=null,k=null,h4=!1,j4=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",W0=Math.clz32?Math.clz32:N0,aB=Math.log,oB=Math.LN2,S5=256,b5=4194304,a0=2,A4=8,d4=32,g5=268435456,k2=Math.random().toString(36).slice(2),T0="__reactFiber$"+k2,b0="__reactProps$"+k2,y2="__reactContainer$"+k2,m9="__reactEvents$"+k2,rB="__reactListeners$"+k2,nB="__reactHandles$"+k2,SY="__reactResources$"+k2,uH="__reactMarker$"+k2,bY=new Set,_6={},u9={},iB={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},tB=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),gY={},kY={},hH=0,yY,fY,mY,uY,hY,dY,lY;NM.__reactDisabledLog=!0;var h9,pY,d9=!1,l9=new(typeof WeakMap==="function"?WeakMap:Map),o0=null,l4=!1,eB=/[\n"\\]/g,cY=!1,sY=!1,aY=!1,oY=!1,rY=!1,nY=!1,iY=["value","defaultValue"],tY=!1,eY=/["'&<>\n\t]|^\s|\s$/,HR="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".split(" "),HQ="applet caption html table td th marquee object template foreignObject desc title".split(" "),MR=HQ.concat(["button"]),$R="dd dt li option optgroup p rp rt".split(" "),MQ={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},k5={},p9={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),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".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),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".split(" "),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"]},$Q=/([A-Z])/g,GQ=/^ms-/,GR=/^(?:webkit|moz|o)[A-Z]/,XR=/^-ms-/,ZR=/-(.)/g,XQ=/;\s*$/,q8={},c9={},ZQ=!1,YQ=!1,QQ=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),y5="http://www.w3.org/1998/Math/MathML",K8="http://www.w3.org/2000/svg",YR=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),f5={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",fetchpriority:"fetchPriority",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",inert:"inert",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",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",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",transformorigin:"transformOrigin","transform-origin":"transformOrigin",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"},zQ={"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},O8={},QR=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),zR=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),UQ=!1,j0={},JQ=/^on./,UR=/^on[^A-Z]/,JR=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),BR=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),RR=/^[\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,dH=null,P8=null,_8=null,s9=!1,p4=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),a9=!1;if(p4)try{var lH={};Object.defineProperty(lH,"passive",{get:function(){a9=!0}}),window.addEventListener("test",lH,lH),window.removeEventListener("test",lH,lH)}catch(H){a9=!1}var f2=null,o9=null,m5=null,T6={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(H){return H.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},u5=C0(T6),pH=Y1({},T6,{view:0,detail:0}),qR=C0(pH),r9,n9,cH,h5=Y1({},pH,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:y3,button:0,buttons:0,relatedTarget:function(H){return H.relatedTarget===void 0?H.fromElement===H.srcElement?H.toElement:H.fromElement:H.relatedTarget},movementX:function(H){if("movementX"in H)return H.movementX;return H!==cH&&(cH&&H.type==="mousemove"?(r9=H.screenX-cH.screenX,n9=H.screenY-cH.screenY):n9=r9=0,cH=H),r9},movementY:function(H){return"movementY"in H?H.movementY:n9}}),BQ=C0(h5),KR=Y1({},h5,{dataTransfer:0}),OR=C0(KR),PR=Y1({},pH,{relatedTarget:0}),i9=C0(PR),_R=Y1({},T6,{animationName:0,elapsedTime:0,pseudoElement:0}),TR=C0(_R),IR=Y1({},T6,{clipboardData:function(H){return"clipboardData"in H?H.clipboardData:window.clipboardData}}),FR=C0(IR),WR=Y1({},T6,{data:0}),RQ=C0(WR),jR=RQ,AR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wR={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"},LR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},ER=Y1({},pH,{key:function(H){if(H.key){var M=AR[H.key]||H.key;if(M!=="Unidentified")return M}return H.type==="keypress"?(H=gM(H),H===13?"Enter":String.fromCharCode(H)):H.type==="keydown"||H.type==="keyup"?wR[H.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:y3,charCode:function(H){return H.type==="keypress"?gM(H):0},keyCode:function(H){return H.type==="keydown"||H.type==="keyup"?H.keyCode:0},which:function(H){return H.type==="keypress"?gM(H):H.type==="keydown"||H.type==="keyup"?H.keyCode:0}}),VR=C0(ER),DR=Y1({},h5,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qQ=C0(DR),NR=Y1({},pH,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:y3}),CR=C0(NR),xR=Y1({},T6,{propertyName:0,elapsedTime:0,pseudoElement:0}),vR=C0(xR),SR=Y1({},h5,{deltaX:function(H){return"deltaX"in H?H.deltaX:("wheelDeltaX"in H)?-H.wheelDeltaX:0},deltaY:function(H){return"deltaY"in H?H.deltaY:("wheelDeltaY"in H)?-H.wheelDeltaY:("wheelDelta"in H)?-H.wheelDelta:0},deltaZ:0,deltaMode:0}),bR=C0(SR),gR=Y1({},T6,{newState:0,oldState:0}),kR=C0(gR),yR=[9,13,27,32],KQ=229,t9=p4&&"CompositionEvent"in window,sH=null;p4&&"documentMode"in document&&(sH=document.documentMode);var fR=p4&&"TextEvent"in window&&!sH,OQ=p4&&(!t9||sH&&8<sH&&11>=sH),PQ=32,_Q=String.fromCharCode(PQ),TQ=!1,T8=!1,mR={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},aH=null,oH=null,IQ=!1;p4&&(IQ=PJ("input")&&(!document.documentMode||9<document.documentMode));var A0=typeof Object.is==="function"?Object.is:jJ,uR=p4&&"documentMode"in document&&11>=document.documentMode,I8=null,e9=null,rH=null,H$=!1,F8={animationend:$6("Animation","AnimationEnd"),animationiteration:$6("Animation","AnimationIteration"),animationstart:$6("Animation","AnimationStart"),transitionrun:$6("Transition","TransitionRun"),transitionstart:$6("Transition","TransitionStart"),transitioncancel:$6("Transition","TransitionCancel"),transitionend:$6("Transition","TransitionEnd")},M$={},FQ={};p4&&(FQ=document.createElement("div").style,("AnimationEvent"in window)||(delete F8.animationend.animation,delete F8.animationiteration.animation,delete F8.animationstart.animation),("TransitionEvent"in window)||delete F8.transitionend.transition);var WQ=G6("animationend"),jQ=G6("animationiteration"),AQ=G6("animationstart"),hR=G6("transitionrun"),dR=G6("transitionstart"),lR=G6("transitioncancel"),wQ=G6("transitionend"),LQ=new Map,$$="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");$$.push("scrollEnd");var G$=new WeakMap,d5=1,U2=2,Z4=[],W8=0,X$=0,m2={};Object.freeze(m2);var Y4=null,j8=null,S1=0,pR=1,q0=2,I0=8,w4=16,EQ=64,VQ=!1;try{var DQ=Object.preventExtensions({});}catch(H){VQ=!0}var A8=[],w8=0,l5=null,p5=0,Q4=[],z4=0,I6=null,J2=1,B2="",w0=null,h1=null,O1=!1,R2=!1,U4=null,F6=null,c4=!1,Z$=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),NQ=0;if(typeof performance==="object"&&typeof performance.now==="function")var cR=performance,CQ=function(){return cR.now()};else{var sR=Date;CQ=function(){return sR.now()}}var Y$=i1(null),Q$=i1(null),xQ={},c5=null,L8=null,E8=!1,aR=typeof AbortController<"u"?AbortController:function(){var H=[],M=this.signal={aborted:!1,addEventListener:function($,G){H.push(G)}};this.abort=function(){M.aborted=!0,H.forEach(function($){return $()})}},oR=P1.unstable_scheduleCallback,rR=P1.unstable_NormalPriority,e1={$$typeof:m4,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},V8=P1.unstable_now,vQ=-0,s5=-0,g0=-1.1,W6=-0,a5=!1,o5=!1,nH=null,z$=0,j6=0,D8=null,SQ=F.S;F.S=function(H,M){typeof M==="object"&&M!==null&&typeof M.then==="function"&&wJ(H,M),SQ!==null&&SQ(H,M)};var A6=i1(null),L4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},iH=[],tH=[],eH=[],HM=[],MM=[],$M=[],w6=new Set;L4.recordUnsafeLifecycleWarnings=function(H,M){w6.has(H.type)||(typeof M.componentWillMount==="function"&&M.componentWillMount.__suppressDeprecationWarning!==!0&&iH.push(H),H.mode&I0&&typeof M.UNSAFE_componentWillMount==="function"&&tH.push(H),typeof M.componentWillReceiveProps==="function"&&M.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&eH.push(H),H.mode&I0&&typeof M.UNSAFE_componentWillReceiveProps==="function"&&HM.push(H),typeof M.componentWillUpdate==="function"&&M.componentWillUpdate.__suppressDeprecationWarning!==!0&&MM.push(H),H.mode&I0&&typeof M.UNSAFE_componentWillUpdate==="function"&&$M.push(H))},L4.flushPendingUnsafeLifecycleWarnings=function(){var H=new Set;0<iH.length&&(iH.forEach(function(Q){H.add(y(Q)||"Component"),w6.add(Q.type)}),iH=[]);var M=new Set;0<tH.length&&(tH.forEach(function(Q){M.add(y(Q)||"Component"),w6.add(Q.type)}),tH=[]);var $=new Set;0<eH.length&&(eH.forEach(function(Q){$.add(y(Q)||"Component"),w6.add(Q.type)}),eH=[]);var G=new Set;0<HM.length&&(HM.forEach(function(Q){G.add(y(Q)||"Component"),w6.add(Q.type)}),HM=[]);var X=new Set;0<MM.length&&(MM.forEach(function(Q){X.add(y(Q)||"Component"),w6.add(Q.type)}),MM=[]);var Z=new Set;if(0<$M.length&&($M.forEach(function(Q){Z.add(y(Q)||"Component"),w6.add(Q.type)}),$M=[]),0<M.size){var Y=P(M);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/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`,Y)}0<G.size&&(Y=P(G),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/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://react.dev/link/derived-state
|
|
|
|
Please update the following components: %s`,Y)),0<Z.size&&(Y=P(Z),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
|
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
|
|
Please update the following components: %s`,Y)),0<H.size&&(Y=P(H),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/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`,Y)),0<$.size&&(Y=P($),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/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://react.dev/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`,Y)),0<X.size&&(Y=P(X),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/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`,Y))};var r5=new Map,bQ=new Set;L4.recordLegacyContextWarning=function(H,M){var $=null;for(var G=H;G!==null;)G.mode&I0&&($=G),G=G.return;$===null?console.error("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."):!bQ.has(H.type)&&(G=r5.get($),H.type.contextTypes!=null||H.type.childContextTypes!=null||M!==null&&typeof M.getChildContext==="function")&&(G===void 0&&(G=[],r5.set($,G)),G.push(H))},L4.flushLegacyContextWarning=function(){r5.forEach(function(H){if(H.length!==0){var M=H[0],$=new Set;H.forEach(function(X){$.add(y(X)||"Component"),bQ.add(X.type)});var G=P($);l(M,function(){console.error(`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://react.dev/link/legacy-context`,G)})}})},L4.discardPendingWarnings=function(){iH=[],tH=[],eH=[],HM=[],MM=[],$M=[],r5=new Map};var GM=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),gQ=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),n5=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),U$={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},XM=null,i5=!1,J4=0,B4=1,L0=2,K0=4,H0=8,kQ=0,yQ=1,fQ=2,J$=3,u2=!1,mQ=!1,B$=null,R$=!1,N8=i1(null),t5=i1(0),C8,uQ=new Set,hQ=new Set,q$=new Set,dQ=new Set,h2=0,t=null,C1=null,o1=null,e5=!1,x8=!1,L6=!1,H3=0,ZM=0,q2=null,nR=0,iR=25,I=null,R4=null,K2=-1,YM=!1,M3={readContext:y1,use:V2,useCallback:p1,useContext:p1,useEffect:p1,useImperativeHandle:p1,useLayoutEffect:p1,useInsertionEffect:p1,useMemo:p1,useReducer:p1,useRef:p1,useState:p1,useDebugValue:p1,useDeferredValue:p1,useTransition:p1,useSyncExternalStore:p1,useId:p1,useHostTransitionStatus:p1,useFormState:p1,useActionState:p1,useOptimistic:p1,useMemoCache:p1,useCacheRefresh:p1},K$=null,lQ=null,O$=null,pQ=null,s4=null,E4=null,$3=null;K$={readContext:function(H){return y1(H)},use:V2,useCallback:function(H,M){return I="useCallback",U1(),n6(M),j7(H,M)},useContext:function(H){return I="useContext",U1(),y1(H)},useEffect:function(H,M){return I="useEffect",U1(),n6(M),M5(H,M)},useImperativeHandle:function(H,M,$){return I="useImperativeHandle",U1(),n6($),W7(H,M,$)},useInsertionEffect:function(H,M){I="useInsertionEffect",U1(),n6(M),q6(4,L0,H,M)},useLayoutEffect:function(H,M){return I="useLayoutEffect",U1(),n6(M),F7(H,M)},useMemo:function(H,M){I="useMemo",U1(),n6(M);var $=F.H;F.H=s4;try{return A7(H,M)}finally{F.H=$}},useReducer:function(H,M,$){I="useReducer",U1();var G=F.H;F.H=s4;try{return R7(H,M,$)}finally{F.H=G}},useRef:function(H){return I="useRef",U1(),I7(H)},useState:function(H){I="useState",U1();var M=F.H;F.H=s4;try{return P7(H)}finally{F.H=M}},useDebugValue:function(){I="useDebugValue",U1()},useDeferredValue:function(H,M){return I="useDeferredValue",U1(),w7(H,M)},useTransition:function(){return I="useTransition",U1(),V7()},useSyncExternalStore:function(H,M,$){return I="useSyncExternalStore",U1(),K7(H,M,$)},useId:function(){return I="useId",U1(),D7()},useFormState:function(H,M){return I="useFormState",U1(),nM(),t6(H,M)},useActionState:function(H,M){return I="useActionState",U1(),t6(H,M)},useOptimistic:function(H){return I="useOptimistic",U1(),_7(H)},useHostTransitionStatus:K6,useMemoCache:R6,useCacheRefresh:function(){return I="useCacheRefresh",U1(),N7()}},lQ={readContext:function(H){return y1(H)},use:V2,useCallback:function(H,M){return I="useCallback",E(),j7(H,M)},useContext:function(H){return I="useContext",E(),y1(H)},useEffect:function(H,M){return I="useEffect",E(),M5(H,M)},useImperativeHandle:function(H,M,$){return I="useImperativeHandle",E(),W7(H,M,$)},useInsertionEffect:function(H,M){I="useInsertionEffect",E(),q6(4,L0,H,M)},useLayoutEffect:function(H,M){return I="useLayoutEffect",E(),F7(H,M)},useMemo:function(H,M){I="useMemo",E();var $=F.H;F.H=s4;try{return A7(H,M)}finally{F.H=$}},useReducer:function(H,M,$){I="useReducer",E();var G=F.H;F.H=s4;try{return R7(H,M,$)}finally{F.H=G}},useRef:function(H){return I="useRef",E(),I7(H)},useState:function(H){I="useState",E();var M=F.H;F.H=s4;try{return P7(H)}finally{F.H=M}},useDebugValue:function(){I="useDebugValue",E()},useDeferredValue:function(H,M){return I="useDeferredValue",E(),w7(H,M)},useTransition:function(){return I="useTransition",E(),V7()},useSyncExternalStore:function(H,M,$){return I="useSyncExternalStore",E(),K7(H,M,$)},useId:function(){return I="useId",E(),D7()},useActionState:function(H,M){return I="useActionState",E(),t6(H,M)},useFormState:function(H,M){return I="useFormState",E(),nM(),t6(H,M)},useOptimistic:function(H){return I="useOptimistic",E(),_7(H)},useHostTransitionStatus:K6,useMemoCache:R6,useCacheRefresh:function(){return I="useCacheRefresh",E(),N7()}},O$={readContext:function(H){return y1(H)},use:V2,useCallback:function(H,M){return I="useCallback",E(),G5(H,M)},useContext:function(H){return I="useContext",E(),y1(H)},useEffect:function(H,M){I="useEffect",E(),S0(2048,H0,H,M)},useImperativeHandle:function(H,M,$){return I="useImperativeHandle",E(),$5(H,M,$)},useInsertionEffect:function(H,M){return I="useInsertionEffect",E(),S0(4,L0,H,M)},useLayoutEffect:function(H,M){return I="useLayoutEffect",E(),S0(4,K0,H,M)},useMemo:function(H,M){I="useMemo",E();var $=F.H;F.H=E4;try{return X5(H,M)}finally{F.H=$}},useReducer:function(H,M,$){I="useReducer",E();var G=F.H;F.H=E4;try{return i6(H,M,$)}finally{F.H=G}},useRef:function(){return I="useRef",E(),V1().memoizedState},useState:function(){I="useState",E();var H=F.H;F.H=E4;try{return i6(W4)}finally{F.H=H}},useDebugValue:function(){I="useDebugValue",E()},useDeferredValue:function(H,M){return I="useDeferredValue",E(),WX(H,M)},useTransition:function(){return I="useTransition",E(),VX()},useSyncExternalStore:function(H,M,$){return I="useSyncExternalStore",E(),iM(H,M,$)},useId:function(){return I="useId",E(),V1().memoizedState},useFormState:function(H){return I="useFormState",E(),nM(),tM(H)},useActionState:function(H){return I="useActionState",E(),tM(H)},useOptimistic:function(H,M){return I="useOptimistic",E(),BX(H,M)},useHostTransitionStatus:K6,useMemoCache:R6,useCacheRefresh:function(){return I="useCacheRefresh",E(),V1().memoizedState}},pQ={readContext:function(H){return y1(H)},use:V2,useCallback:function(H,M){return I="useCallback",E(),G5(H,M)},useContext:function(H){return I="useContext",E(),y1(H)},useEffect:function(H,M){I="useEffect",E(),S0(2048,H0,H,M)},useImperativeHandle:function(H,M,$){return I="useImperativeHandle",E(),$5(H,M,$)},useInsertionEffect:function(H,M){return I="useInsertionEffect",E(),S0(4,L0,H,M)},useLayoutEffect:function(H,M){return I="useLayoutEffect",E(),S0(4,K0,H,M)},useMemo:function(H,M){I="useMemo",E();var $=F.H;F.H=$3;try{return X5(H,M)}finally{F.H=$}},useReducer:function(H,M,$){I="useReducer",E();var G=F.H;F.H=$3;try{return WH(H,M,$)}finally{F.H=G}},useRef:function(){return I="useRef",E(),V1().memoizedState},useState:function(){I="useState",E();var H=F.H;F.H=$3;try{return WH(W4)}finally{F.H=H}},useDebugValue:function(){I="useDebugValue",E()},useDeferredValue:function(H,M){return I="useDeferredValue",E(),jX(H,M)},useTransition:function(){return I="useTransition",E(),DX()},useSyncExternalStore:function(H,M,$){return I="useSyncExternalStore",E(),iM(H,M,$)},useId:function(){return I="useId",E(),V1().memoizedState},useFormState:function(H){return I="useFormState",E(),nM(),eM(H)},useActionState:function(H){return I="useActionState",E(),eM(H)},useOptimistic:function(H,M){return I="useOptimistic",E(),qX(H,M)},useHostTransitionStatus:K6,useMemoCache:R6,useCacheRefresh:function(){return I="useCacheRefresh",E(),V1().memoizedState}},s4={readContext:function(H){return F1(),y1(H)},use:function(H){return x(),V2(H)},useCallback:function(H,M){return I="useCallback",x(),U1(),j7(H,M)},useContext:function(H){return I="useContext",x(),U1(),y1(H)},useEffect:function(H,M){return I="useEffect",x(),U1(),M5(H,M)},useImperativeHandle:function(H,M,$){return I="useImperativeHandle",x(),U1(),W7(H,M,$)},useInsertionEffect:function(H,M){I="useInsertionEffect",x(),U1(),q6(4,L0,H,M)},useLayoutEffect:function(H,M){return I="useLayoutEffect",x(),U1(),F7(H,M)},useMemo:function(H,M){I="useMemo",x(),U1();var $=F.H;F.H=s4;try{return A7(H,M)}finally{F.H=$}},useReducer:function(H,M,$){I="useReducer",x(),U1();var G=F.H;F.H=s4;try{return R7(H,M,$)}finally{F.H=G}},useRef:function(H){return I="useRef",x(),U1(),I7(H)},useState:function(H){I="useState",x(),U1();var M=F.H;F.H=s4;try{return P7(H)}finally{F.H=M}},useDebugValue:function(){I="useDebugValue",x(),U1()},useDeferredValue:function(H,M){return I="useDeferredValue",x(),U1(),w7(H,M)},useTransition:function(){return I="useTransition",x(),U1(),V7()},useSyncExternalStore:function(H,M,$){return I="useSyncExternalStore",x(),U1(),K7(H,M,$)},useId:function(){return I="useId",x(),U1(),D7()},useFormState:function(H,M){return I="useFormState",x(),U1(),t6(H,M)},useActionState:function(H,M){return I="useActionState",x(),U1(),t6(H,M)},useOptimistic:function(H){return I="useOptimistic",x(),U1(),_7(H)},useMemoCache:function(H){return x(),R6(H)},useHostTransitionStatus:K6,useCacheRefresh:function(){return I="useCacheRefresh",U1(),N7()}},E4={readContext:function(H){return F1(),y1(H)},use:function(H){return x(),V2(H)},useCallback:function(H,M){return I="useCallback",x(),E(),G5(H,M)},useContext:function(H){return I="useContext",x(),E(),y1(H)},useEffect:function(H,M){I="useEffect",x(),E(),S0(2048,H0,H,M)},useImperativeHandle:function(H,M,$){return I="useImperativeHandle",x(),E(),$5(H,M,$)},useInsertionEffect:function(H,M){return I="useInsertionEffect",x(),E(),S0(4,L0,H,M)},useLayoutEffect:function(H,M){return I="useLayoutEffect",x(),E(),S0(4,K0,H,M)},useMemo:function(H,M){I="useMemo",x(),E();var $=F.H;F.H=E4;try{return X5(H,M)}finally{F.H=$}},useReducer:function(H,M,$){I="useReducer",x(),E();var G=F.H;F.H=E4;try{return i6(H,M,$)}finally{F.H=G}},useRef:function(){return I="useRef",x(),E(),V1().memoizedState},useState:function(){I="useState",x(),E();var H=F.H;F.H=E4;try{return i6(W4)}finally{F.H=H}},useDebugValue:function(){I="useDebugValue",x(),E()},useDeferredValue:function(H,M){return I="useDeferredValue",x(),E(),WX(H,M)},useTransition:function(){return I="useTransition",x(),E(),VX()},useSyncExternalStore:function(H,M,$){return I="useSyncExternalStore",x(),E(),iM(H,M,$)},useId:function(){return I="useId",x(),E(),V1().memoizedState},useFormState:function(H){return I="useFormState",x(),E(),tM(H)},useActionState:function(H){return I="useActionState",x(),E(),tM(H)},useOptimistic:function(H,M){return I="useOptimistic",x(),E(),BX(H,M)},useMemoCache:function(H){return x(),R6(H)},useHostTransitionStatus:K6,useCacheRefresh:function(){return I="useCacheRefresh",E(),V1().memoizedState}},$3={readContext:function(H){return F1(),y1(H)},use:function(H){return x(),V2(H)},useCallback:function(H,M){return I="useCallback",x(),E(),G5(H,M)},useContext:function(H){return I="useContext",x(),E(),y1(H)},useEffect:function(H,M){I="useEffect",x(),E(),S0(2048,H0,H,M)},useImperativeHandle:function(H,M,$){return I="useImperativeHandle",x(),E(),$5(H,M,$)},useInsertionEffect:function(H,M){return I="useInsertionEffect",x(),E(),S0(4,L0,H,M)},useLayoutEffect:function(H,M){return I="useLayoutEffect",x(),E(),S0(4,K0,H,M)},useMemo:function(H,M){I="useMemo",x(),E();var $=F.H;F.H=E4;try{return X5(H,M)}finally{F.H=$}},useReducer:function(H,M,$){I="useReducer",x(),E();var G=F.H;F.H=E4;try{return WH(H,M,$)}finally{F.H=G}},useRef:function(){return I="useRef",x(),E(),V1().memoizedState},useState:function(){I="useState",x(),E();var H=F.H;F.H=E4;try{return WH(W4)}finally{F.H=H}},useDebugValue:function(){I="useDebugValue",x(),E()},useDeferredValue:function(H,M){return I="useDeferredValue",x(),E(),jX(H,M)},useTransition:function(){return I="useTransition",x(),E(),DX()},useSyncExternalStore:function(H,M,$){return I="useSyncExternalStore",x(),E(),iM(H,M,$)},useId:function(){return I="useId",x(),E(),V1().memoizedState},useFormState:function(H){return I="useFormState",x(),E(),eM(H)},useActionState:function(H){return I="useActionState",x(),E(),eM(H)},useOptimistic:function(H,M){return I="useOptimistic",x(),E(),qX(H,M)},useMemoCache:function(H){return x(),R6(H)},useHostTransitionStatus:K6,useCacheRefresh:function(){return I="useCacheRefresh",E(),V1().memoizedState}};var cQ={react_stack_bottom_frame:function(H,M,$){var G=l4;l4=!0;try{return H(M,$)}finally{l4=G}}},P$=cQ.react_stack_bottom_frame.bind(cQ),sQ={react_stack_bottom_frame:function(H){var M=l4;l4=!0;try{return H.render()}finally{l4=M}}},aQ=sQ.react_stack_bottom_frame.bind(sQ),oQ={react_stack_bottom_frame:function(H,M){try{M.componentDidMount()}catch($){D1(H,H.return,$)}}},_$=oQ.react_stack_bottom_frame.bind(oQ),rQ={react_stack_bottom_frame:function(H,M,$,G,X){try{M.componentDidUpdate($,G,X)}catch(Z){D1(H,H.return,Z)}}},nQ=rQ.react_stack_bottom_frame.bind(rQ),iQ={react_stack_bottom_frame:function(H,M){var $=M.stack;H.componentDidCatch(M.value,{componentStack:$!==null?$:""})}},tR=iQ.react_stack_bottom_frame.bind(iQ),tQ={react_stack_bottom_frame:function(H,M,$){try{$.componentWillUnmount()}catch(G){D1(H,M,G)}}},eQ=tQ.react_stack_bottom_frame.bind(tQ),Hz={react_stack_bottom_frame:function(H){H.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",H.resourceKind);var M=H.create;return H=H.inst,M=M(),H.destroy=M}},eR=Hz.react_stack_bottom_frame.bind(Hz),Mz={react_stack_bottom_frame:function(H,M,$){try{$()}catch(G){D1(H,M,G)}}},Hq=Mz.react_stack_bottom_frame.bind(Mz),$z={react_stack_bottom_frame:function(H){var M=H._init;return M(H._payload)}},d2=$z.react_stack_bottom_frame.bind($z),v8=null,QM=0,X1=null,T$,Gz=T$=!1,Xz={},Zz={},Yz={};p=function(H,M,$){if($!==null&&typeof $==="object"&&$._store&&(!$._store.validated&&$.key==null||$._store.validated===2)){if(typeof $._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");$._store.validated=1;var G=y(H),X=G||"null";if(!Xz[X]){Xz[X]=!0,$=$._owner,H=H._debugOwner;var Z="";H&&typeof H.tag==="number"&&(X=y(H))&&(Z=`
|
|
|
|
Check the render method of \``+X+"`."),Z||G&&(Z=`
|
|
|
|
Check the top-level render call using <`+G+">.");var Y="";$!=null&&H!==$&&(G=null,typeof $.tag==="number"?G=y($):typeof $.name==="string"&&(G=$.name),G&&(Y=" It was passed a child from "+G+".")),l(M,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',Z,Y)})}}};var S8=vX(!0),Qz=vX(!1),q4=i1(null),a4=null,b8=1,zM=2,M0=i1(0),zz={},Uz=new Set,Jz=new Set,Bz=new Set,Rz=new Set,qz=new Set,Kz=new Set,Oz=new Set,Pz=new Set,_z=new Set,Tz=new Set;Object.freeze(zz);var I$={enqueueSetState:function(H,M,$){H=H._reactInternals;var G=c0(H),X=L2(G);X.payload=M,$!==void 0&&$!==null&&(x7($),X.callback=$),M=E2(H,X,G),M!==null&&(c1(M,H,G),_H(M,H,G)),n4(H,G)},enqueueReplaceState:function(H,M,$){H=H._reactInternals;var G=c0(H),X=L2(G);X.tag=yQ,X.payload=M,$!==void 0&&$!==null&&(x7($),X.callback=$),M=E2(H,X,G),M!==null&&(c1(M,H,G),_H(M,H,G)),n4(H,G)},enqueueForceUpdate:function(H,M){H=H._reactInternals;var $=c0(H),G=L2($);G.tag=fQ,M!==void 0&&M!==null&&(x7(M),G.callback=M),M=E2(H,G,$),M!==null&&(c1(M,H,$),_H(M,H,$)),k!==null&&typeof k.markForceUpdateScheduled==="function"&&k.markForceUpdateScheduled(H,$)}},F$=typeof reportError==="function"?reportError:function(H){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var M=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof H==="object"&&H!==null&&typeof H.message==="string"?String(H.message):String(H),error:H});if(!window.dispatchEvent(M))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",H);return}console.error(H)},g8=null,W$=null,Iz=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Y0=!1,Fz={},Wz={},jz={},Az={},k8=!1,wz={},j$={},A$={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},Lz=!1,Ez=null;Ez=new Set;var O2=!1,s1=!1,w$=!1,Vz=typeof WeakSet==="function"?WeakSet:Set,Q0=null,y8=null,f8=null,r1=null,k0=!1,V4=null,UM=8192,Mq={getCacheForType:function(H){var M=y1(e1),$=M.data.get(H);return $===void 0&&($=H(),M.data.set(H,$)),$},getOwner:function(){return o0}};if(typeof Symbol==="function"&&Symbol.for){var JM=Symbol.for;JM("selector.component"),JM("selector.has_pseudo_class"),JM("selector.role"),JM("selector.test_id"),JM("selector.text")}var $q=[],Gq=typeof WeakMap==="function"?WeakMap:Map,r0=0,E0=2,D4=4,P2=0,BM=1,m8=2,L$=3,E6=4,G3=6,Dz=5,A1=r0,x1=null,z1=null,J1=0,y0=0,RM=1,V6=2,qM=3,Nz=4,E$=5,u8=6,KM=7,V$=8,D6=9,E1=y0,n0=null,l2=!1,h8=!1,D$=!1,o4=0,d1=P2,p2=0,c2=0,N$=0,i0=0,N6=0,OM=null,V0=null,X3=!1,C$=0,Cz=300,Z3=1/0,xz=500,PM=null,s2=null,Xq=0,Zq=1,Yq=2,C6=0,vz=1,Sz=2,bz=3,Qq=4,x$=5,O0=0,a2=null,d8=null,o2=0,v$=0,S$=null,gz=null,zq=50,_M=0,b$=null,g$=!1,Y3=!1,Uq=50,x6=0,TM=null,l8=!1,Q3=null,kz=!1,yz=new Set,Jq={},z3=null,p8=null,k$=!1,y$=!1,U3=!1,f$=!1,v6=0,m$={};(function(){for(var H=0;H<$$.length;H++){var M=$$[H],$=M.toLowerCase();M=M[0].toUpperCase()+M.slice(1),F4($,"on"+M)}F4(WQ,"onAnimationEnd"),F4(jQ,"onAnimationIteration"),F4(AQ,"onAnimationStart"),F4("dblclick","onDoubleClick"),F4("focusin","onFocus"),F4("focusout","onBlur"),F4(hR,"onTransitionRun"),F4(dR,"onTransitionStart"),F4(lR,"onTransitionCancel"),F4(wQ,"onTransitionEnd")})(),M1("onMouseEnter",["mouseout","mouseover"]),M1("onMouseLeave",["mouseout","mouseover"]),M1("onPointerEnter",["pointerout","pointerover"]),M1("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var IM="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),u$=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(IM)),J3="_reactListening"+Math.random().toString(36).slice(2),fz=!1,mz=!1,B3=!1,uz=!1,R3=!1,q3=!1,hz=!1,K3={},Bq=/\r\n?/g,Rq=/\u0000|\uFFFD/g,S6="http://www.w3.org/1999/xlink",h$="http://www.w3.org/XML/1998/namespace",qq="javascript:throw new Error('React form unexpectedly submitted.')",Kq="suppressHydrationWarning",O3="$",P3="/$",_2="$?",FM="$!",Oq=1,Pq=2,_q=4,d$="F!",dz="F",lz="complete",Tq="style",T2=0,c8=1,_3=2,l$=null,p$=null,pz={dialog:!0,webview:!0},c$=null,cz=typeof setTimeout==="function"?setTimeout:void 0,Iq=typeof clearTimeout==="function"?clearTimeout:void 0,b6=-1,sz=typeof Promise==="function"?Promise:void 0,Fq=typeof queueMicrotask==="function"?queueMicrotask:typeof sz<"u"?function(H){return sz.resolve(null).then(H).catch(YB)}:cz,s$=null,g6=0,WM=1,az=2,oz=3,K4=4,O4=new Map,rz=new Set,I2=j1.d;j1.d={f:function(){var H=I2.f(),M=G8();return H||M},r:function(H){var M=z(H);M!==null&&M.tag===5&&M.type==="form"?EX(M):I2.r(H)},D:function(H){I2.D(H),OY("dns-prefetch",H,null)},C:function(H,M){I2.C(H,M),OY("preconnect",H,M)},L:function(H,M,$){I2.L(H,M,$);var G=s8;if(G&&H&&M){var X='link[rel="preload"][as="'+$4(M)+'"]';M==="image"?$&&$.imageSrcSet?(X+='[imagesrcset="'+$4($.imageSrcSet)+'"]',typeof $.imageSizes==="string"&&(X+='[imagesizes="'+$4($.imageSizes)+'"]')):X+='[href="'+$4(H)+'"]':X+='[href="'+$4(H)+'"]';var Z=X;switch(M){case"style":Z=Q8(H);break;case"script":Z=z8(H)}O4.has(Z)||(H=Y1({rel:"preload",href:M==="image"&&$&&$.imageSrcSet?void 0:H,as:M},$),O4.set(Z,H),G.querySelector(X)!==null||M==="style"&&G.querySelector(bH(Z))||M==="script"&&G.querySelector(gH(Z))||(M=G.createElement("link"),B0(M,"link",H),D(M),G.head.appendChild(M)))}},m:function(H,M){I2.m(H,M);var $=s8;if($&&H){var G=M&&typeof M.as==="string"?M.as:"script",X='link[rel="modulepreload"][as="'+$4(G)+'"][href="'+$4(H)+'"]',Z=X;switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":Z=z8(H)}if(!O4.has(Z)&&(H=Y1({rel:"modulepreload",href:H},M),O4.set(Z,H),$.querySelector(X)===null)){switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if($.querySelector(gH(Z)))return}G=$.createElement("link"),B0(G,"link",H),D(G),$.head.appendChild(G)}}},X:function(H,M){I2.X(H,M);var $=s8;if($&&H){var G=C($).hoistableScripts,X=z8(H),Z=G.get(X);Z||(Z=$.querySelector(gH(X)),Z||(H=Y1({src:H,async:!0},M),(M=O4.get(X))&&F9(H,M),Z=$.createElement("script"),D(Z),B0(Z,"link",H),$.head.appendChild(Z)),Z={type:"script",instance:Z,count:1,state:null},G.set(X,Z))}},S:function(H,M,$){I2.S(H,M,$);var G=s8;if(G&&H){var X=C(G).hoistableStyles,Z=Q8(H);M=M||"default";var Y=X.get(Z);if(!Y){var Q={loading:g6,preload:null};if(Y=G.querySelector(bH(Z)))Q.loading=WM|K4;else{H=Y1({rel:"stylesheet",href:H,"data-precedence":M},$),($=O4.get(Z))&&I9(H,$);var U=Y=G.createElement("link");D(U),B0(U,"link",H),U._p=new Promise(function(J,_){U.onload=J,U.onerror=_}),U.addEventListener("load",function(){Q.loading|=WM}),U.addEventListener("error",function(){Q.loading|=az}),Q.loading|=K4,L5(Y,M,G)}Y={type:"stylesheet",instance:Y,count:1,state:Q},X.set(Z,Y)}}},M:function(H,M){I2.M(H,M);var $=s8;if($&&H){var G=C($).hoistableScripts,X=z8(H),Z=G.get(X);Z||(Z=$.querySelector(gH(X)),Z||(H=Y1({src:H,async:!0,type:"module"},M),(M=O4.get(X))&&F9(H,M),Z=$.createElement("script"),D(Z),B0(Z,"link",H),$.head.appendChild(Z)),Z={type:"script",instance:Z,count:1,state:null},G.set(X,Z))}}};var s8=typeof document>"u"?null:document,T3=null,jM=null,a$=null,I3=null,k6=mB,AM={$$typeof:m4,Provider:null,Consumer:null,_currentValue:k6,_currentValue2:k6,_threadCount:0},nz="%c%s%c ",iz="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",tz="",F3=" ",Wq=Function.prototype.bind,ez=!1,HU=null,MU=null,$U=null,GU=null,XU=null,ZU=null,YU=null,QU=null,zU=null;HU=function(H,M,$,G){M=T(H,M),M!==null&&($=L(M.memoizedState,$,0,G),M.memoizedState=$,M.baseState=$,H.memoizedProps=Y1({},H.memoizedProps),$=x0(H,2),$!==null&&c1($,H,2))},MU=function(H,M,$){M=T(H,M),M!==null&&($=u(M.memoizedState,$,0),M.memoizedState=$,M.baseState=$,H.memoizedProps=Y1({},H.memoizedProps),$=x0(H,2),$!==null&&c1($,H,2))},$U=function(H,M,$,G){M=T(H,M),M!==null&&($=N(M.memoizedState,$,G),M.memoizedState=$,M.baseState=$,H.memoizedProps=Y1({},H.memoizedProps),$=x0(H,2),$!==null&&c1($,H,2))},GU=function(H,M,$){H.pendingProps=L(H.memoizedProps,M,0,$),H.alternate&&(H.alternate.pendingProps=H.pendingProps),M=x0(H,2),M!==null&&c1(M,H,2)},XU=function(H,M){H.pendingProps=u(H.memoizedProps,M,0),H.alternate&&(H.alternate.pendingProps=H.pendingProps),M=x0(H,2),M!==null&&c1(M,H,2)},ZU=function(H,M,$){H.pendingProps=N(H.memoizedProps,M,$),H.alternate&&(H.alternate.pendingProps=H.pendingProps),M=x0(H,2),M!==null&&c1(M,H,2)},YU=function(H){var M=x0(H,2);M!==null&&c1(M,H,2)},QU=function(H){s=H},zU=function(H){d=H};var W3=!0,j3=null,o$=!1,r2=null,n2=null,i2=null,wM=new Map,LM=new Map,t2=[],jq="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".split(" "),A3=null;if(N5.prototype.render=V9.prototype.render=function(H){var M=this._internalRoot;if(M===null)throw Error("Cannot update an unmounted root.");var $=arguments;typeof $[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):k1($[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof $[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),$=H;var G=M.current,X=c0(G);j9(G,X,$,M,null,null)},N5.prototype.unmount=V9.prototype.unmount=function(){var H=arguments;if(typeof H[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),H=this._internalRoot,H!==null){this._internalRoot=null;var M=H.containerInfo;(A1&(E0|D4))!==r0&&console.error("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."),j9(H.current,2,null,H,null,null),G8(),M[y2]=null}},N5.prototype.unstable_scheduleHydration=function(H){if(H){var M=e2();H={blockedOn:null,target:H,priority:M};for(var $=0;$<t2.length&&M!==0&&M<t2[$].priority;$++);t2.splice($,0,H),$===0&&DY(H)}},function(){var H=a8.version;if(H!=="19.1.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
- react: `+(H+`
|
|
- react-dom: 19.1.1
|
|
Learn more: https://react.dev/warnings/version-mismatch`))}(),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"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),j1.findDOMNode=function(H){var M=H._reactInternals;if(M===void 0){if(typeof H.render==="function")throw Error("Unable to find node on an unmounted component.");throw H=Object.keys(H).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+H)}return H=N4(M),H=H!==null?r4(H):null,H=H===null?null:H.stateNode,H},!function(){var H={bundleType:1,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:F,reconcilerVersion:"19.1.1"};return H.overrideHookState=HU,H.overrideHookStateDeletePath=MU,H.overrideHookStateRenamePath=$U,H.overrideProps=GU,H.overridePropsDeletePath=XU,H.overridePropsRenamePath=ZU,H.scheduleUpdate=YU,H.setErrorHandler=QU,H.setSuspenseHandler=zU,H.scheduleRefresh=z0,H.scheduleRoot=W1,H.setRefreshHandler=g1,H.getCurrentFiber=NB,H.getLaneLabelMap=CB,H.injectProfilingHooks=m1,C4(H)}()&&p4&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var UU=window.location.protocol;/^(https?|file):$/.test(UU)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(UU==="file:"?`
|
|
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}vq.createRoot=function(H,M){if(!k1(H))throw Error("Target container is not a DOM element.");xY(H);var $=!1,G="",X=kX,Z=yX,Y=fX,Q=null;return M!==null&&M!==void 0&&(M.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof M==="object"&&M!==null&&M.$$typeof===S2&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
|
|
let root = createRoot(domContainer);
|
|
root.render(<App />);`),M.unstable_strictMode===!0&&($=!0),M.identifierPrefix!==void 0&&(G=M.identifierPrefix),M.onUncaughtError!==void 0&&(X=M.onUncaughtError),M.onCaughtError!==void 0&&(Z=M.onCaughtError),M.onRecoverableError!==void 0&&(Y=M.onRecoverableError),M.unstable_transitionCallbacks!==void 0&&(Q=M.unstable_transitionCallbacks)),M=jY(H,1,!1,null,null,$,G,X,Z,Y,Q,null),H[y2]=M.current,U9(H),new V9(M)},vq.hydrateRoot=function(H,M,$){if(!k1(H))throw Error("Target container is not a DOM element.");xY(H),M===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var G=!1,X="",Z=kX,Y=yX,Q=fX,U=null,J=null;return $!==null&&$!==void 0&&($.unstable_strictMode===!0&&(G=!0),$.identifierPrefix!==void 0&&(X=$.identifierPrefix),$.onUncaughtError!==void 0&&(Z=$.onUncaughtError),$.onCaughtError!==void 0&&(Y=$.onCaughtError),$.onRecoverableError!==void 0&&(Q=$.onRecoverableError),$.unstable_transitionCallbacks!==void 0&&(U=$.unstable_transitionCallbacks),$.formState!==void 0&&(J=$.formState)),M=jY(H,1,!0,M,$!=null?$:null,G,X,Z,Y,Q,U,J),M.context=AY(null),$=M.current,G=c0($),G=c6(G),X=L2(G),X.callback=null,E2($,X,G),$=G,M.current.lanes=$,j2(M,$),y4(M),H[y2]=M.current,U9(H),new N5(M)},vq.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var _U=y6((CO,PU)=>{var Sq=K1(OU());PU.exports=Sq});var u1=y6((bq)=>{var m6=K1(W2());(function(){function T(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===y?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case z0:return"Fragment";case k1:return"Profiler";case g1:return"StrictMode";case N4:return"Suspense";case r4:return"SuspenseList";case f0:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case W1:return"Portal";case t0:return(w.displayName||"Context")+".Provider";case G0:return(w._context.displayName||"Context")+".Consumer";case D0:var a=w.render;return w=w.displayName,w||(w=a.displayName||a.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case n1:return a=w.displayName||null,a!==null?a:T(w.type)||"Memo";case w1:a=w._payload,w=w._init;try{return T(w(a))}catch(q1){}}return null}function L(w){return""+w}function N(w){try{L(w);var a=!1}catch(l1){a=!0}if(a){a=console;var q1=a.error,r=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return q1.call(a,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",r),L(w)}}function S(w){if(w===z0)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===w1)return"<...>";try{var a=T(w);return a?"<"+a+">":"<...>"}catch(q1){return"<...>"}}function u(){var w=i1.A;return w===null?null:w.getOwner()}function d(){return Error("react-stack-top-frame")}function s(w){if(L1.call(w,"key")){var a=Object.getOwnPropertyDescriptor(w,"key").get;if(a&&a.isReactWarning)return!1}return w.key!==void 0}function p(w,a){function q1(){m0||(m0=!0,console.error("%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://react.dev/link/special-props)",a))}q1.isReactWarning=!0,Object.defineProperty(w,"key",{get:q1,configurable:!0})}function x(){var w=T(this.type);return b[w]||(b[w]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),w=this.props.ref,w!==void 0?w:null}function F1(w,a,q1,r,l1,t1,C4,I1){return q1=t1.ref,w={$$typeof:g,type:w,key:a,props:t1,_owner:l1},(q1!==void 0?q1:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:x}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:C4}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:I1}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function V(w,a,q1,r,l1,t1,C4,I1){var m1=a.children;if(m1!==void 0)if(r)if(Q1(m1)){for(r=0;r<m1.length;r++)P(m1[r]);Object.freeze&&Object.freeze(m1)}else console.error("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 P(m1);if(L1.call(a,"key")){m1=T(w);var P4=Object.keys(a).filter(function(_4){return _4!=="key"});r=0<P4.length?"{key: someKey, "+P4.join(": ..., ")+": ...}":"{key: someKey}",_1[m1+r]||(P4=0<P4.length?"{"+P4.join(": ..., ")+": ...}":"{}",console.error(`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} />`,r,m1,P4,m1),_1[m1+r]=!0)}if(m1=null,q1!==void 0&&(N(q1),m1=""+q1),s(a)&&(N(a.key),m1=""+a.key),"key"in a){q1={};for(var e0 in a)e0!=="key"&&(q1[e0]=a[e0])}else q1=a;return m1&&p(q1,typeof w==="function"?w.displayName||w.name||"Unknown":w),F1(w,m1,t1,l1,u(),q1,C4,I1)}function P(w){typeof w==="object"&&w!==null&&w.$$typeof===g&&w._store&&(w._store.validated=1)}var g=Symbol.for("react.transitional.element"),W1=Symbol.for("react.portal"),z0=Symbol.for("react.fragment"),g1=Symbol.for("react.strict_mode"),k1=Symbol.for("react.profiler"),G0=Symbol.for("react.consumer"),t0=Symbol.for("react.context"),D0=Symbol.for("react.forward_ref"),N4=Symbol.for("react.suspense"),r4=Symbol.for("react.suspense_list"),n1=Symbol.for("react.memo"),w1=Symbol.for("react.lazy"),f0=Symbol.for("react.activity"),y=Symbol.for("react.client.reference"),i1=m6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L1=Object.prototype.hasOwnProperty,Q1=Array.isArray,X0=console.createTask?console.createTask:function(){return null};m6={react_stack_bottom_frame:function(w){return w()}};var m0,b={},c=m6.react_stack_bottom_frame.bind(m6,d)(),n=X0(S(d)),_1={};bq.Fragment=z0,bq.jsxDEV=function(w,a,q1,r,l1,t1){var C4=1e4>i1.recentlyCreatedOwnerStacks++;return V(w,a,q1,r,l1,t1,C4?Error("react-stack-top-frame"):c,C4?X0(S(w)):n)}})()});var pU=K1(W2(),1),cU=K1(_U(),1);var L3=K1(u1(),1),gq=({title:T,className:L,children:N})=>{return L3.jsxDEV("details",{className:`st-rnd-details${L?` ${L}`:""}`,children:[L3.jsxDEV("summary",{children:T},void 0,!1,void 0,this),L3.jsxDEV("div",{children:N},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},TU=gq;var IU=K1(u1(),1),kq=({children:T,className:L,neutral:N,icon:S,...u})=>{return IU.jsxDEV("button",{className:`st-rnd-button${N===!0?" button-neutral":""}${S===!0?" button-icon":""}${L?` ${L}`:""}`,...u,children:T},void 0,!1,void 0,this)},u6=kq;var o8=K1(u1(),1),yq=({id:T,label:L,...N})=>{return o8.jsxDEV(o8.Fragment,{children:[o8.jsxDEV("input",{type:"file",id:T,...N},void 0,!1,void 0,this),o8.jsxDEV("label",{htmlFor:T,className:"st-rnd-button button-neutral",children:L||"Upload"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},FU=yq;var n8=K1(W2(),1);var LU=K1(W2(),1);var WU=(T)=>(Symbol.iterator in T),jU=(T)=>("entries"in T),AU=(T,L)=>{let N=T instanceof Map?T:new Map(T.entries()),S=L instanceof Map?L:new Map(L.entries());if(N.size!==S.size)return!1;for(let[u,d]of N)if(!Object.is(d,S.get(u)))return!1;return!0},fq=(T,L)=>{let N=T[Symbol.iterator](),S=L[Symbol.iterator](),u=N.next(),d=S.next();while(!u.done&&!d.done){if(!Object.is(u.value,d.value))return!1;u=N.next(),d=S.next()}return!!u.done&&!!d.done};function wU(T,L){if(Object.is(T,L))return!0;if(typeof T!=="object"||T===null||typeof L!=="object"||L===null)return!1;if(Object.getPrototypeOf(T)!==Object.getPrototypeOf(L))return!1;if(WU(T)&&WU(L)){if(jU(T)&&jU(L))return AU(T,L);return fq(T,L)}return AU({entries:()=>Object.entries(T)},{entries:()=>Object.entries(L)})}function EU(T){let L=LU.default.useRef(void 0);return(N)=>{let S=T(N);return wU(L.current,S)?L.current:L.current=S}}var DU=K1(u1(),1),mq=({children:T,className:L,...N})=>{return DU.jsxDEV("select",{className:`st-rnd-select${L?` ${L}`:""}`,...N,children:T},void 0,!1,void 0,this)},VU=mq;var VM=K1(W2(),1);var CU=K1(u1(),1),uq=({children:T,className:L,...N})=>{return CU.jsxDEV("dialog",{className:`st-rnd-dialog${L?` ${L}`:""}`,...N,children:T},void 0,!1,void 0,this)},NU=uq;var xU=(T)=>{let L,N=new Set,S=(F1,V)=>{let P=typeof F1==="function"?F1(L):F1;if(!Object.is(P,L)){let g=L;L=(V!=null?V:typeof P!=="object"||P===null)?P:Object.assign({},L,P),N.forEach((W1)=>W1(L,g))}},u=()=>L,p={setState:S,getState:u,getInitialState:()=>x,subscribe:(F1)=>{return N.add(F1),()=>N.delete(F1)}},x=L=T(S,u,p);return p},vU=(T)=>T?xU(T):xU;var EM=K1(W2(),1);var hq=(T)=>T;function dq(T,L=hq){let N=EM.default.useSyncExternalStore(T.subscribe,EM.default.useCallback(()=>L(T.getState()),[T,L]),EM.default.useCallback(()=>L(T.getInitialState()),[T,L]));return EM.default.useDebugValue(N),N}var SU=(T)=>{let L=vU(T),N=(S)=>dq(L,S);return Object.assign(N,L),N},bU=(T)=>T?SU(T):SU;var lq=(T)=>(L,N,S)=>{let u=S.subscribe;return S.subscribe=(s,p,x)=>{let F1=s;if(p){let V=(x==null?void 0:x.equalityFn)||Object.is,P=s(S.getState());if(F1=(g)=>{let W1=s(g);if(!V(P,W1)){let z0=P;p(P=W1,z0)}},x==null?void 0:x.fireImmediately)p(P,P)}return u(F1)},T(L,N,S)},gU=lq;var r8="st-randomness-helpers";var kU=(T)=>{let N=SillyTavern.getContext().extensionSettings;if(N[r8]===void 0)N[r8]={wordLists:{}};let S=N[r8];return{wordLists:S.wordLists,addWordList:(u,d)=>T({wordLists:{...S.wordLists,[u]:d}}),removeWordList:(u)=>{let d={...S.wordLists};delete d[u],T({wordLists:d})}}};var F0=bU()(gU(kU));F0.subscribe((T)=>T.wordLists,(T)=>{let L=SillyTavern.getContext(),N=L.extensionSettings;N[r8].wordLists=T,L.saveSettingsDebounced()});var fU=K1(u1(),1),pq=({className:T,...L})=>{return fU.jsxDEV("input",{className:`st-rnd-input${T?` ${T}`:""}`,...L},void 0,!1,void 0,this)},yU=pq;var uU=K1(u1(),1),cq=({className:T,...L})=>{return uU.jsxDEV("textarea",{className:`st-rnd-textarea${T?` ${T}`:""}`,...L},void 0,!1,void 0,this)},mU=cq;var $0=K1(u1(),1),sq=({currentWordList:T})=>{let[L,N]=VM.useState(""),[S,u]=VM.useState(""),d=VM.useRef(null);return $0.jsxDEV($0.Fragment,{children:[$0.jsxDEV(u6,{type:"button",icon:!0,disabled:T==="",onClick:()=>{if(d.current===null||T==="")return;let s=F0.getState().wordLists[T];if(s===void 0)return;u(T),N(s.join(`
|
|
`)),d.current.showModal()},children:$0.jsxDEV("i",{className:"fa fa-fw fa-pencil"},void 0,!1,void 0,this)},void 0,!1,void 0,this),$0.jsxDEV(NU,{id:"st-rnd-wordlist-edit-dialog",ref:d,children:$0.jsxDEV("div",{children:[$0.jsxDEV("h2",{id:"st-rnd-wordlist-edit-dialog-title",children:["Edit Word List: ",$0.jsxDEV("span",{children:T},void 0,!1,void 0,this)]},void 0,!0,void 0,this),$0.jsxDEV("label",{htmlFor:"st-rnd-wordlist-name",children:"Name"},void 0,!1,void 0,this),$0.jsxDEV("p",{className:"st-rnd-small-text",children:"Name of the word list, used in placeholder and macros."},void 0,!1,void 0,this),$0.jsxDEV(yU,{id:"st-rnd-wordlist-name",type:"text",value:S,onChange:(s)=>u(s.target.value)},void 0,!1,void 0,this),$0.jsxDEV("label",{htmlFor:"st-rnd-wordlist-words",children:"Words"},void 0,!1,void 0,this),$0.jsxDEV("p",{className:"st-rnd-small-text",children:"Words separated by newlines, words can be more than one word!"},void 0,!1,void 0,this),$0.jsxDEV(mU,{id:"st-rnd-wordlist-words",value:L,onChange:(s)=>N(s.target.value),rows:10},void 0,!1,void 0,this),$0.jsxDEV("div",{id:"st-rnd-wordlist-actions",children:[$0.jsxDEV(u6,{type:"button",neutral:!0,onClick:()=>{if(d.current===null)return;d.current.close(),N(""),u("")},children:"Close"},void 0,!1,void 0,this),$0.jsxDEV(u6,{type:"button",onClick:()=>{if(T===""||S===void 0||L===void 0||d.current===null)return;if(S===""){alert("Name cannot be empty");return}let s=F0.getState().addWordList;if(T!==S){let p=F0.getState().removeWordList;p(T)}s(S,L.split(`
|
|
`)),d.current.close(),N(""),u("")},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},hU=sq;var P0=K1(u1(),1),aq=()=>{let T=F0(EU((s)=>Object.keys(s.wordLists))),L=F0((s)=>s.addWordList),N=F0((s)=>s.removeWordList),[S,u]=n8.useState(""),d=n8.useCallback((s)=>{let p=s.target.files?.[0];if(p!==void 0&&p.type==="text/plain"){let x=new FileReader;x.onload=(F1)=>{let V=p.name.replace(".txt","");if(T.includes(V)){alert(`A word list with the name ${V} already exists`);return}let P=F1.target?.result;if(typeof P==="string"){let g=P.split(`
|
|
`);L(V,g)}},x.readAsText(p)}},[L,T]);return n8.useEffect(()=>{if(!T.includes(S))u("")},[T,S]),P0.jsxDEV(P0.Fragment,{children:[P0.jsxDEV("strong",{children:"Word Lists"},void 0,!1,void 0,this),P0.jsxDEV("div",{id:"st-rnd-wordlist-controls",children:[P0.jsxDEV(VU,{id:"st-rnd-wordlist-select",disabled:T.length===0,value:S,onChange:(s)=>{let p=s.target.value;if(p!=="")u(p)},children:[P0.jsxDEV("option",{value:"",disabled:!0,children:"Select a word list"},void 0,!1,void 0,this),T.map((s)=>P0.jsxDEV("option",{children:s},s,!1,void 0,this))]},void 0,!0,void 0,this),P0.jsxDEV(hU,{currentWordList:S},void 0,!1,void 0,this),P0.jsxDEV(u6,{type:"button",icon:!0,disabled:S==="",onClick:()=>{if(S!==""){let s=F0.getState().wordLists[S];if(s===void 0)return;let p=new Blob([s.join(`
|
|
`)],{type:"text/plain"}),x=URL.createObjectURL(p),F1=document.createElement("a");F1.href=x,F1.download=`${S}.txt`,F1.click(),URL.revokeObjectURL(x)}},children:P0.jsxDEV("i",{className:"fa fa-fw fa-download"},void 0,!1,void 0,this)},void 0,!1,void 0,this),P0.jsxDEV(u6,{type:"button",icon:!0,disabled:S==="",onClick:()=>{if(S!=="")N(S),u("")},children:P0.jsxDEV("i",{className:"fa fa-fw fa-trash"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P0.jsxDEV("p",{className:"st-rnd-small-text",children:"Wordlists are txt files with one (or more) word per line, are used in placeholders and macros."},void 0,!1,void 0,this),P0.jsxDEV("div",{id:"st-rnd-upload-wordlist-container",children:P0.jsxDEV(FU,{id:"upload-wordlist",onChange:d,accept:".txt"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},dU=aq;var i$=K1(u1(),1),oq=()=>{return i$.jsxDEV(TU,{title:"Randomness Helpers",children:i$.jsxDEV(dU,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},lU=oq;var t$=K1(u1(),1),rq=()=>{let T=document.getElementById("extensions_settings");if(T===null)throw Error("[st-randomness-helpers] root container not found");let L=document.createElement("div");T.appendChild(L),cU.default.createRoot(L).render(t$.jsxDEV(pU.StrictMode,{children:t$.jsxDEV(lU,{},void 0,!1,void 0,this)},void 0,!1,void 0,this))},sU=rq;var aU=(T)=>{let{registerMacro:L}=SillyTavern.getContext(),N=F0.getState().wordLists[T];if(N===void 0||N.length===0)return;L(`randomWord::${T}`,()=>{let S=F0.getState().wordLists[T];return S[Math.floor(Math.random()*S.length)]},`Generates a random word from the word list '${T}'`),L(`placeholder::randomWord::${T}`,()=>{return`%%randomWord::${T}%%`},`Returns a placeholder for a random word from the word list '${T}'`)},oU=()=>{for(let T of Object.keys(F0.getState().wordLists))aU(T);F0.subscribe((T)=>Object.keys(T.wordLists),(T,L)=>{let N=new Set(T),S=new Set(L),u=S.difference(N),d=N.difference(S),{unregisterMacro:s}=SillyTavern.getContext();for(let p of u)s(`randomWord::${p}`),s(`placeholder::randomWord::${p}`);for(let p of d)aU(p)})},nq=/%%randomWord::([\w\W]*?)%%/g,rU=()=>{let{eventTypes:T,eventSource:L}=SillyTavern.getContext();L.on(T.GENERATE_AFTER_DATA,(N)=>{N.prompt=N.prompt.replaceAll(nq,(S,u)=>{let d=F0.getState().wordLists[u];if(d===void 0||d.length===0)return"";return d[Math.floor(Math.random()*d.length)]??""})})};var iq=()=>{oU()},nU=iq;var tq=(T)=>{let L=[...T];for(let N=L.length-1;N>0;N--){let S=Math.floor(Math.random()*(N+1));[L[N],L[S]]=[L[S],L[N]]}return L},eq=/%%shuffle::([\w\W]*?)(;;[\w\W]*?)?%%/g,iU=()=>{let{eventTypes:T,eventSource:L}=SillyTavern.getContext();L.on(T.GENERATE_AFTER_DATA,(N)=>{N.prompt=N.prompt.replaceAll(eq,(S,u,d)=>{let s=u.split("::");return tq(s).join(d!==void 0?d.substring(2):"")})})};var HK=/%%pick::([\w\W]*?)%%/g,tU=()=>{let{eventTypes:T,eventSource:L}=SillyTavern.getContext();L.on(T.GENERATE_AFTER_DATA,(N)=>{N.prompt=N.prompt.replaceAll(HK,(S,u)=>{let d=u.split("::");if(d.length===0)return"";return d[Math.floor(Math.random()*d.length)]??""})})};var MK=()=>{rU(),iU(),tU()},eU=MK;sU();nU();eU();
|