236 lines
366 KiB
JavaScript
236 lines
366 KiB
JavaScript
var Vq=Object.create;var{getPrototypeOf:Cq,defineProperty:JU,getOwnPropertyNames:Dq}=Object;var vq=Object.prototype.hasOwnProperty;var K1=(A,j,L)=>{L=A!=null?Vq(Cq(A)):{};let N=j||!A||!A.__esModule?JU(L,"default",{value:A,enumerable:!0}):L;for(let y of Dq(A))if(!vq.call(N,y))JU(N,y,{get:()=>A[y],enumerable:!0});return N};var y2=(A,j)=>()=>(j||A((j={exports:{}}).exports,j),j.exports);var A4=y2((gq,j5)=>{(function(){function A(Q,K){Object.defineProperty(N.prototype,Q,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",K[0],K[1])}})}function j(Q){if(Q===null||typeof Q!=="object")return null;return Q=e0&&Q[e0]||Q["@@iterator"],typeof Q==="function"?Q:null}function L(Q,K){Q=(Q=Q.constructor)&&(Q.displayName||Q.name)||"ReactClass";var v=Q+"."+K;wM[v]||(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,Q),wM[v]=!0)}function N(Q,K,v){this.props=Q,this.context=K,this.refs=nM,this.updater=v||i6}function y(){}function f(Q,K,v){this.props=Q,this.context=K,this.refs=nM,this.updater=v||i6}function p(Q){return""+Q}function c(Q){try{p(Q);var K=!1}catch(d){K=!0}if(K){K=console;var v=K.error,D=typeof Symbol==="function"&&Symbol.toStringTag&&Q[Symbol.toStringTag]||Q.constructor.name||"Object";return v.call(K,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",D),p(Q)}}function C(Q){if(Q==null)return null;if(typeof Q==="function")return Q.$$typeof===d2?null:Q.displayName||Q.name||null;if(typeof Q==="string")return Q;switch(Q){case w1:return"Fragment";case o:return"Profiler";case E:return"StrictMode";case t1:return"Suspense";case CM:return"SuspenseList";case PM:return"Activity"}if(typeof Q==="object")switch(typeof Q.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Q.$$typeof){case n:return"Portal";case r:return(Q.displayName||"Context")+".Provider";case q1:return(Q._context.displayName||"Context")+".Consumer";case l1:var K=Q.render;return Q=Q.displayName,Q||(Q=K.displayName||K.name||"",Q=Q!==""?"ForwardRef("+Q+")":"ForwardRef"),Q;case _1:return K=Q.displayName||null,K!==null?K:C(Q.type)||"Memo";case f1:K=Q._payload,Q=Q._init;try{return C(Q(K))}catch(v){}}return null}function T1(Q){if(Q===w1)return"<>";if(typeof Q==="object"&&Q!==null&&Q.$$typeof===f1)return"<...>";try{var K=C(Q);return K?"<"+K+">":"<...>"}catch(v){return"<...>"}}function V(){var Q=G1.A;return Q===null?null:Q.getOwner()}function P(){return Error("react-stack-top-frame")}function b(Q){if(l2.call(Q,"key")){var K=Object.getOwnPropertyDescriptor(Q,"key").get;if(K&&K.isReactWarning)return!1}return Q.key!==void 0}function A1(Q,K){function v(){M8||(M8=!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))}v.isReactWarning=!0,Object.defineProperty(Q,"key",{get:v,configurable:!0})}function Q0(){var Q=C(this.type);return I4[Q]||(I4[Q]=!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.")),Q=this.props.ref,Q!==void 0?Q:null}function b1(Q,K,v,D,d,$1,i,W1){return v=$1.ref,Q={$$typeof:s,type:Q,key:K,props:$1,_owner:d},(v!==void 0?v:null)!==null?Object.defineProperty(Q,"ref",{enumerable:!1,get:Q0}):Object.defineProperty(Q,"ref",{enumerable:!1,value:null}),Q._store={},Object.defineProperty(Q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Q,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Q,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(Q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:W1}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q}function k1(Q,K){return K=b1(Q.type,K,void 0,void 0,Q._owner,Q.props,Q._debugStack,Q._debugTask),Q._store&&(K._store.validated=Q._store.validated),K}function G0(Q){return typeof Q==="object"&&Q!==null&&Q.$$typeof===s}function t0(Q){var K={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(v){return K[v]})}function x0(Q,K){return typeof Q==="object"&&Q!==null&&Q.key!=null?(c(Q.key),t0(""+Q.key)):K.toString(36)}function VM(){}function rM(Q){switch(Q.status){case"fulfilled":return Q.value;case"rejected":throw Q.reason;default:switch(typeof Q.status==="string"?Q.then(VM,VM):(Q.status="pending",Q.then(function(K){Q.status==="pending"&&(Q.status="fulfilled",Q.value=K)},function(K){Q.status==="pending"&&(Q.status="rejected",Q.reason=K)})),Q.status){case"fulfilled":return Q.value;case"rejected":throw Q.reason}}throw Q}function n1(Q,K,v,D,d){var $1=typeof Q;if($1==="undefined"||$1==="boolean")Q=null;var i=!1;if(Q===null)i=!0;else switch($1){case"bigint":case"string":case"number":i=!0;break;case"object":switch(Q.$$typeof){case s:case n:i=!0;break;case f1:return i=Q._init,n1(i(Q._payload),K,v,D,d)}}if(i){i=Q,d=d(i);var W1=D===""?"."+x0(i,0):D;return DM(d)?(v="",W1!=null&&(v=W1.replace(c2,"$&/")+"/"),n1(d,K,v,"",function(u0){return u0})):d!=null&&(G0(d)&&(d.key!=null&&(i&&i.key===d.key||c(d.key)),v=k1(d,v+(d.key==null||i&&i.key===d.key?"":(""+d.key).replace(c2,"$&/")+"/")+W1),D!==""&&i!=null&&G0(i)&&i.key==null&&i._store&&!i._store.validated&&(v._store.validated=2),d=v),K.push(d)),1}if(i=0,W1=D===""?".":D+":",DM(Q))for(var Z1=0;Z1<Q.length;Z1++)D=Q[Z1],$1=W1+x0(D,Z1),i+=n1(D,K,v,$1,d);else if(Z1=j(Q),typeof Z1==="function")for(Z1===Q.entries&&($8||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),$8=!0),Q=Z1.call(Q),Z1=0;!(D=Q.next()).done;)D=D.value,$1=W1+x0(D,Z1++),i+=n1(D,K,v,$1,d);else if($1==="object"){if(typeof Q.then==="function")return n1(rM(Q),K,v,D,d);throw K=String(Q),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return i}function j1(Q,K,v){if(Q==null)return Q;var D=[],d=0;return n1(Q,D,"","",function($1){return K.call(v,$1,d++)}),D}function m0(Q){if(Q._status===-1){var K=Q._result;K=K(),K.then(function(v){if(Q._status===0||Q._status===-1)Q._status=1,Q._result=v},function(v){if(Q._status===0||Q._status===-1)Q._status=2,Q._result=v}),Q._status===-1&&(Q._status=0,Q._result=K)}if(Q._status===1)return K=Q._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 Q._result}function m(){var Q=G1.H;return Q===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.`),Q}function i1(){}function L1(Q){if(F4===null)try{var K=("require"+Math.random()).slice(0,7);F4=(j5&&j5[K]).call(j5,"timers").setImmediate}catch(v){F4=function(D){G8===!1&&(G8=!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 d=new MessageChannel;d.port1.onmessage=D,d.port2.postMessage(void 0)}}return F4(Q)}function z1(Q){return 1<Q.length&&typeof AggregateError==="function"?AggregateError(Q):Q[0]}function X0(Q,K){K!==e4-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. "),e4=K}function f0(Q,K,v){var D=G1.actQueue;if(D!==null)if(D.length!==0)try{S(D),L1(function(){return f0(Q,K,v)});return}catch(d){G1.thrownErrors.push(d)}else G1.actQueue=null;0<G1.thrownErrors.length?(D=z1(G1.thrownErrors),G1.thrownErrors.length=0,v(D)):K(Q)}function S(Q){if(!M2){M2=!0;var K=0;try{for(;K<Q.length;K++){var v=Q[K];do{G1.didUsePromise=!1;var D=v(!1);if(D!==null){if(G1.didUsePromise){Q[K]=v,Q.splice(0,K);return}v=D}else break}while(1)}Q.length=0}catch(d){Q.splice(0,K+1),G1.thrownErrors.push(d)}finally{M2=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),w1=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),o=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"),CM=Symbol.for("react.suspense_list"),_1=Symbol.for("react.memo"),f1=Symbol.for("react.lazy"),PM=Symbol.for("react.activity"),e0=Symbol.iterator,wM={},i6={isMounted:function(){return!1},enqueueForceUpdate:function(Q){L(Q,"forceUpdate")},enqueueReplaceState:function(Q){L(Q,"replaceState")},enqueueSetState:function(Q){L(Q,"setState")}},t6=Object.assign,nM={};Object.freeze(nM),N.prototype.isReactComponent={},N.prototype.setState=function(Q,K){if(typeof Q!=="object"&&typeof Q!=="function"&&Q!=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,Q,K,"setState")},N.prototype.forceUpdate=function(Q){this.updater.enqueueForceUpdate(this,Q,"forceUpdate")};var V0={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)."]},h2;for(h2 in V0)V0.hasOwnProperty(h2)&&A(h2,V0[h2]);y.prototype=N.prototype,V0=f.prototype=new y,V0.constructor=f,t6(V0,N.prototype),V0.isPureReactComponent=!0;var DM=Array.isArray,d2=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},l2=Object.prototype.hasOwnProperty,e6=console.createTask?console.createTask:function(){return null};V0={react_stack_bottom_frame:function(Q){return Q()}};var M8,p2,I4={},E5=V0.react_stack_bottom_frame.bind(V0,P)(),x$=e6(T1(P)),$8=!1,c2=/\/+/g,H8=typeof reportError==="function"?reportError:function(Q){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Q==="object"&&Q!==null&&typeof Q.message==="string"?String(Q.message):String(Q),error:Q});if(!window.dispatchEvent(K))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",Q);return}console.error(Q)},G8=!1,F4=null,e4=0,s2=!1,M2=!1,iM=typeof queueMicrotask==="function"?function(Q){queueMicrotask(function(){return queueMicrotask(Q)})}:L1;V0=Object.freeze({__proto__:null,c:function(Q){return m().useMemoCache(Q)}}),gq.Children={map:j1,forEach:function(Q,K,v){j1(Q,function(){K.apply(this,arguments)},v)},count:function(Q){var K=0;return j1(Q,function(){K++}),K},toArray:function(Q){return j1(Q,function(K){return K})||[]},only:function(Q){if(!G0(Q))throw Error("React.Children.only expected to receive a single React element child.");return Q}},gq.Component=N,gq.Fragment=w1,gq.Profiler=o,gq.PureComponent=f,gq.StrictMode=E,gq.Suspense=t1,gq.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=G1,gq.__COMPILER_RUNTIME=V0,gq.act=function(Q){var K=G1.actQueue,v=e4;e4++;var D=G1.actQueue=K!==null?K:[],d=!1;try{var $1=Q()}catch(Z1){G1.thrownErrors.push(Z1)}if(0<G1.thrownErrors.length)throw X0(K,v),Q=z1(G1.thrownErrors),G1.thrownErrors.length=0,Q;if($1!==null&&typeof $1==="object"&&typeof $1.then==="function"){var i=$1;return iM(function(){d||s2||(s2=!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){d=!0,i.then(function(WM){if(X0(K,v),v===0){try{S(D),L1(function(){return f0(WM,Z1,u0)})}catch(V$){G1.thrownErrors.push(V$)}if(0<G1.thrownErrors.length){var TM=z1(G1.thrownErrors);G1.thrownErrors.length=0,u0(TM)}}else Z1(WM)},function(WM){X0(K,v),0<G1.thrownErrors.length?(WM=z1(G1.thrownErrors),G1.thrownErrors.length=0,u0(WM)):u0(WM)})}}}var W1=$1;if(X0(K,v),v===0&&(S(D),D.length!==0&&iM(function(){d||s2||(s2=!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 Q=z1(G1.thrownErrors),G1.thrownErrors.length=0,Q;return{then:function(Z1,u0){d=!0,v===0?(G1.actQueue=D,L1(function(){return f0(W1,Z1,u0)})):Z1(W1)}}},gq.cache=function(Q){return function(){return Q.apply(null,arguments)}},gq.captureOwnerStack=function(){var Q=G1.getCurrentStack;return Q===null?null:Q()},gq.cloneElement=function(Q,K,v){if(Q===null||Q===void 0)throw Error("The argument must be a React element, but you passed "+Q+".");var D=t6({},Q.props),d=Q.key,$1=Q._owner;if(K!=null){var i;M:{if(l2.call(K,"ref")&&(i=Object.getOwnPropertyDescriptor(K,"ref").get)&&i.isReactWarning){i=!1;break M}i=K.ref!==void 0}i&&($1=V()),b(K)&&(c(K.key),d=""+K.key);for(W1 in K)!l2.call(K,W1)||W1==="key"||W1==="__self"||W1==="__source"||W1==="ref"&&K.ref===void 0||(D[W1]=K[W1])}var W1=arguments.length-2;if(W1===1)D.children=v;else if(1<W1){i=Array(W1);for(var Z1=0;Z1<W1;Z1++)i[Z1]=arguments[Z1+2];D.children=i}D=b1(Q.type,d,void 0,void 0,$1,D,Q._debugStack,Q._debugTask);for(d=2;d<arguments.length;d++)$1=arguments[d],G0($1)&&$1._store&&($1._store.validated=1);return D},gq.createContext=function(Q){return Q={$$typeof:r,_currentValue:Q,_currentValue2:Q,_threadCount:0,Provider:null,Consumer:null},Q.Provider=Q,Q.Consumer={$$typeof:q1,_context:Q},Q._currentRenderer=null,Q._currentRenderer2=null,Q},gq.createElement=function(Q,K,v){for(var D=2;D<arguments.length;D++){var d=arguments[D];G0(d)&&d._store&&(d._store.validated=1)}if(D={},d=null,K!=null)for(Z1 in p2||!("__self"in K)||"key"in K||(p2=!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")),b(K)&&(c(K.key),d=""+K.key),K)l2.call(K,Z1)&&Z1!=="key"&&Z1!=="__self"&&Z1!=="__source"&&(D[Z1]=K[Z1]);var $1=arguments.length-2;if($1===1)D.children=v;else if(1<$1){for(var i=Array($1),W1=0;W1<$1;W1++)i[W1]=arguments[W1+2];Object.freeze&&Object.freeze(i),D.children=i}if(Q&&Q.defaultProps)for(Z1 in $1=Q.defaultProps,$1)D[Z1]===void 0&&(D[Z1]=$1[Z1]);d&&A1(D,typeof Q==="function"?Q.displayName||Q.name||"Unknown":Q);var Z1=1e4>G1.recentlyCreatedOwnerStacks++;return b1(Q,d,void 0,void 0,V(),D,Z1?Error("react-stack-top-frame"):E5,Z1?e6(T1(Q)):x$)},gq.createRef=function(){var Q={current:null};return Object.seal(Q),Q},gq.forwardRef=function(Q){Q!=null&&Q.$$typeof===_1?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof Q!=="function"?console.error("forwardRef requires a render function but was given %s.",Q===null?"null":typeof Q):Q.length!==0&&Q.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",Q.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),Q!=null&&Q.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var K={$$typeof:l1,render:Q},v;return Object.defineProperty(K,"displayName",{enumerable:!1,configurable:!0,get:function(){return v},set:function(D){v=D,Q.name||Q.displayName||(Object.defineProperty(Q,"name",{value:D}),Q.displayName=D)}}),K},gq.isValidElement=G0,gq.lazy=function(Q){return{$$typeof:f1,_payload:{_status:-1,_result:Q},_init:m0}},gq.memo=function(Q,K){Q==null&&console.error("memo: The first argument must be a component. Instead received: %s",Q===null?"null":typeof Q),K={$$typeof:_1,type:Q,compare:K===void 0?null:K};var v;return Object.defineProperty(K,"displayName",{enumerable:!1,configurable:!0,get:function(){return v},set:function(D){v=D,Q.name||Q.displayName||(Object.defineProperty(Q,"name",{value:D}),Q.displayName=D)}}),K},gq.startTransition=function(Q){var K=G1.T,v={};G1.T=v,v._updatedFibers=new Set;try{var D=Q(),d=G1.S;d!==null&&d(v,D),typeof D==="object"&&D!==null&&typeof D.then==="function"&&D.then(i1,H8)}catch($1){H8($1)}finally{K===null&&v._updatedFibers&&(Q=v._updatedFibers.size,v._updatedFibers.clear(),10<Q&&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}},gq.unstable_useCacheRefresh=function(){return m().useCacheRefresh()},gq.use=function(Q){return m().use(Q)},gq.useActionState=function(Q,K,v){return m().useActionState(Q,K,v)},gq.useCallback=function(Q,K){return m().useCallback(Q,K)},gq.useContext=function(Q){var K=m();return Q.$$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(Q)},gq.useDebugValue=function(Q,K){return m().useDebugValue(Q,K)},gq.useDeferredValue=function(Q,K){return m().useDeferredValue(Q,K)},gq.useEffect=function(Q,K,v){Q==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var D=m();if(typeof v==="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return D.useEffect(Q,K)},gq.useId=function(){return m().useId()},gq.useImperativeHandle=function(Q,K,v){return m().useImperativeHandle(Q,K,v)},gq.useInsertionEffect=function(Q,K){return Q==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),m().useInsertionEffect(Q,K)},gq.useLayoutEffect=function(Q,K){return Q==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),m().useLayoutEffect(Q,K)},gq.useMemo=function(Q,K){return m().useMemo(Q,K)},gq.useOptimistic=function(Q,K){return m().useOptimistic(Q,K)},gq.useReducer=function(Q,K,v){return m().useReducer(Q,K,v)},gq.useRef=function(Q){return m().useRef(Q)},gq.useState=function(Q){return m().useState(Q)},gq.useSyncExternalStore=function(Q,K,v){return m().useSyncExternalStore(Q,K,v)},gq.useTransition=function(){return m().useTransition()},gq.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=y2((Sq)=>{(function(){function A(){if(VM=!1,m0){var S=Sq.unstable_now();L1=S;var s=!0;try{M:{t0=!1,x0&&(x0=!1,n1(m),m=-1),G0=!0;var n=k1;try{$:{f(S);for(b1=L(b);b1!==null&&!(b1.expirationTime>S&&c());){var w1=b1.callback;if(typeof w1==="function"){b1.callback=null,k1=b1.priorityLevel;var E=w1(b1.expirationTime<=S);if(S=Sq.unstable_now(),typeof E==="function"){b1.callback=E,f(S),s=!0;break $}b1===L(b)&&N(b),f(S)}else N(b);b1=L(b)}if(b1!==null)s=!0;else{var o=L(A1);o!==null&&C(p,o.startTime-S),s=!1}}break M}finally{b1=null,k1=n,G0=!1}s=void 0}}finally{s?z1():m0=!1}}}function j(S,s){var n=S.length;S.push(s);M:for(;0<n;){var w1=n-1>>>1,E=S[w1];if(0<y(E,s))S[w1]=s,S[n]=E,n=w1;else break M}}function L(S){return S.length===0?null:S[0]}function N(S){if(S.length===0)return null;var s=S[0],n=S.pop();if(n!==s){S[0]=n;M:for(var w1=0,E=S.length,o=E>>>1;w1<o;){var q1=2*(w1+1)-1,r=S[q1],l1=q1+1,t1=S[l1];if(0>y(r,n))l1<E&&0>y(t1,r)?(S[w1]=t1,S[l1]=n,w1=l1):(S[w1]=r,S[q1]=n,w1=q1);else if(l1<E&&0>y(t1,n))S[w1]=t1,S[l1]=n,w1=l1;else break M}}return s}function y(S,s){var n=S.sortIndex-s.sortIndex;return n!==0?n:S.id-s.id}function f(S){for(var s=L(A1);s!==null;){if(s.callback===null)N(A1);else if(s.startTime<=S)N(A1),s.sortIndex=s.expirationTime,j(b,s);else break;s=L(A1)}}function p(S){if(x0=!1,f(S),!t0)if(L(b)!==null)t0=!0,m0||(m0=!0,z1());else{var s=L(A1);s!==null&&C(p,s.startTime-S)}}function c(){return VM?!0:Sq.unstable_now()-L1<i1?!1:!0}function C(S,s){m=rM(function(){S(Sq.unstable_now())},s)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Sq.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var T1=performance;Sq.unstable_now=function(){return T1.now()}}else{var V=Date,P=V.now();Sq.unstable_now=function(){return V.now()-P}}var b=[],A1=[],Q0=1,b1=null,k1=3,G0=!1,t0=!1,x0=!1,VM=!1,rM=typeof setTimeout==="function"?setTimeout:null,n1=typeof clearTimeout==="function"?clearTimeout:null,j1=typeof setImmediate<"u"?setImmediate:null,m0=!1,m=-1,i1=5,L1=-1;if(typeof j1==="function")var z1=function(){j1(A)};else if(typeof MessageChannel<"u"){var X0=new MessageChannel,f0=X0.port2;X0.port1.onmessage=A,z1=function(){f0.postMessage(null)}}else z1=function(){rM(A,0)};Sq.unstable_IdlePriority=5,Sq.unstable_ImmediatePriority=1,Sq.unstable_LowPriority=4,Sq.unstable_NormalPriority=3,Sq.unstable_Profiling=null,Sq.unstable_UserBlockingPriority=2,Sq.unstable_cancelCallback=function(S){S.callback=null},Sq.unstable_forceFrameRate=function(S){0>S||125<S?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):i1=0<S?Math.floor(1000/S):5},Sq.unstable_getCurrentPriorityLevel=function(){return k1},Sq.unstable_next=function(S){switch(k1){case 1:case 2:case 3:var s=3;break;default:s=k1}var n=k1;k1=s;try{return S()}finally{k1=n}},Sq.unstable_requestPaint=function(){VM=!0},Sq.unstable_runWithPriority=function(S,s){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var n=k1;k1=S;try{return s()}finally{k1=n}},Sq.unstable_scheduleCallback=function(S,s,n){var w1=Sq.unstable_now();switch(typeof n==="object"&&n!==null?(n=n.delay,n=typeof n==="number"&&0<n?w1+n:w1):n=w1,S){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5000}return E=n+E,S={id:Q0++,callback:s,priorityLevel:S,startTime:n,expirationTime:E,sortIndex:-1},n>w1?(S.sortIndex=n,j(A1,S),L(b)===null&&S===L(A1)&&(x0?(n1(m),m=-1):x0=!0,C(p,n-w1))):(S.sortIndex=E,j(b,S),t0||G0||(t0=!0,m0||(m0=!0,z1()))),S},Sq.unstable_shouldYield=c,Sq.unstable_wrapCallback=function(S){var s=k1;return function(){var n=k1;k1=s;try{return S.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 qU=y2((bq)=>{var r9=K1(A4());(function(){function A(){}function j(V){return""+V}function L(V,P,b){var A1=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{j(A1);var Q0=!1}catch(b1){Q0=!0}return Q0&&(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&&A1[Symbol.toStringTag]||A1.constructor.name||"Object"),j(A1)),{$$typeof:C,key:A1==null?null:""+A1,children:V,containerInfo:P,implementation:b}}function N(V,P){if(V==="font")return"";if(typeof P==="string")return P==="use-credentials"?P:""}function y(V){return V===null?"`null`":V===void 0?"`undefined`":V===""?"an empty string":'something with type "'+typeof V+'"'}function f(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 p(){var V=T1.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 c={d:{f:A,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:A,C:A,L:A,m:A,X:A,S:A,M:A},p:0,findDOMNode:null},C=Symbol.for("react.portal"),T1=r9.__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"),bq.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,bq.createPortal=function(V,P){var b=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 L(V,P,null,b)},bq.flushSync=function(V){var P=T1.T,b=c.p;try{if(T1.T=null,c.p=2,V)return V()}finally{T1.T=P,c.p=b,c.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.")}},bq.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.",f(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.",y(P.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",y(V)),typeof V==="string"&&(P?(P=P.crossOrigin,P=typeof P==="string"?P==="use-credentials"?P:"":void 0):P=null,c.d.C(V,P))},bq.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.",y(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`.",f(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`.",f(P))}typeof V==="string"&&c.d.D(V)},bq.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.",f(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".',f(P.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",y(V)),typeof V==="string"&&P&&typeof P.as==="string"){var b=P.as,A1=N(b,P.crossOrigin),Q0=typeof P.integrity==="string"?P.integrity:void 0,b1=typeof P.fetchPriority==="string"?P.fetchPriority:void 0;b==="style"?c.d.S(V,typeof P.precedence==="string"?P.precedence:void 0,{crossOrigin:A1,integrity:Q0,fetchPriority:b1}):b==="script"&&c.d.X(V,{crossOrigin:A1,integrity:Q0,fetchPriority:b1,nonce:typeof P.nonce==="string"?P.nonce:void 0})}},bq.preinitModule=function(V,P){var b="";if(typeof V==="string"&&V||(b+=" The `href` argument encountered was "+y(V)+"."),P!==void 0&&typeof P!=="object"?b+=" The `options` argument encountered was "+y(P)+".":P&&("as"in P)&&P.as!=="script"&&(b+=" The `as` option encountered was "+f(P.as)+"."),b)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",b);else switch(b=P&&typeof P.as==="string"?P.as:"script",b){case"script":break;default:b=f(b),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)',b,V)}if(typeof V==="string")if(typeof P==="object"&&P!==null){if(P.as==null||P.as==="script")b=N(P.as,P.crossOrigin),c.d.M(V,{crossOrigin:b,integrity:typeof P.integrity==="string"?P.integrity:void 0,nonce:typeof P.nonce==="string"?P.nonce:void 0})}else P==null&&c.d.M(V)},bq.preload=function(V,P){var b="";if(typeof V==="string"&&V||(b+=" The `href` argument encountered was "+y(V)+"."),P==null||typeof P!=="object"?b+=" The `options` argument encountered was "+y(P)+".":typeof P.as==="string"&&P.as||(b+=" The `as` option encountered was "+y(P.as)+"."),b&&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',b),typeof V==="string"&&typeof P==="object"&&P!==null&&typeof P.as==="string"){b=P.as;var A1=N(b,P.crossOrigin);c.d.L(V,b,{crossOrigin:A1,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})}},bq.preloadModule=function(V,P){var b="";typeof V==="string"&&V||(b+=" The `href` argument encountered was "+y(V)+"."),P!==void 0&&typeof P!=="object"?b+=" The `options` argument encountered was "+y(P)+".":P&&("as"in P)&&typeof P.as!=="string"&&(b+=" The `as` option encountered was "+y(P.as)+"."),b&&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',b),typeof V==="string"&&(P?(b=N(P.as,P.crossOrigin),c.d.m(V,{as:typeof P.as==="string"&&P.as!=="script"?P.as:void 0,crossOrigin:b,integrity:typeof P.integrity==="string"?P.integrity:void 0})):c.d.m(V))},bq.requestFormReset=function(V){c.d.r(V)},bq.unstable_batchedUpdates=function(V,P){return V(P)},bq.useFormState=function(V,P,b){return p().useFormState(V,P,b)},bq.useFormStatus=function(){return p().useHostTransitionStatus()},bq.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var OU=y2((FO,KU)=>{var kq=K1(qU());KU.exports=kq});var PU=y2((yq)=>{var P1=K1(BU()),o6=K1(A4()),n9=K1(OU());(function(){function A(M,$){for(M=M.memoizedState;M!==null&&0<$;)M=M.next,$--;return M}function j(M,$,H,G){if(H>=$.length)return G;var X=$[H],Z=B0(M)?M.slice():Y1({},M);return Z[X]=j(M[X],$,H+1,G),Z}function L(M,$,H){if($.length!==H.length)console.warn("copyWithRename() expects paths of the same length");else{for(var G=0;G<H.length-1;G++)if($[G]!==H[G]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return N(M,$,H,0)}}function N(M,$,H,G){var X=$[G],Z=B0(M)?M.slice():Y1({},M);return G+1===$.length?(Z[H[G]]=Z[X],B0(Z)?Z.splice(X,1):delete Z[X]):Z[X]=N(M[X],$,H,G+1),Z}function y(M,$,H){var G=$[H],X=B0(M)?M.slice():Y1({},M);if(H+1===$.length)return B0(X)?X.splice(G,1):delete X[G],X;return X[G]=y(M[G],$,H+1),X}function f(){return!1}function p(){return null}function c(){}function C(){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 T1(){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(M){var $=[];return M.forEach(function(H){$.push(H)}),$.sort().join(", ")}function b(M,$,H,G){return new xR(M,$,H,G)}function A1(M,$){M.context===f4&&(I7(M.current,2,$,M,null,null),G6())}function Q0(M,$){if(YM!==null){var H=$.staleFamilies;$=$.updatedFamilies,V8(),h5(M.current,$,H),G6()}}function b1(M){YM=M}function k1(M){return!(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)}function G0(M){var $=M,H=M;if(M.alternate)for(;$.return;)$=$.return;else{M=$;do $=M,($.flags&4098)!==0&&(H=$.return),M=$.return;while(M)}return $.tag===3?H:null}function t0(M){if(M.tag===13){var $=M.memoizedState;if($===null&&(M=M.alternate,M!==null&&($=M.memoizedState)),$!==null)return $.dehydrated}return null}function x0(M){if(G0(M)!==M)throw Error("Unable to find node on an unmounted component.")}function VM(M){var $=M.alternate;if(!$){if($=G0(M),$===null)throw Error("Unable to find node on an unmounted component.");return $!==M?null:M}for(var H=M,G=$;;){var X=H.return;if(X===null)break;var Z=X.alternate;if(Z===null){if(G=X.return,G!==null){H=G;continue}break}if(X.child===Z.child){for(Z=X.child;Z;){if(Z===H)return x0(X),M;if(Z===G)return x0(X),$;Z=Z.sibling}throw Error("Unable to find node on an unmounted component.")}if(H.return!==G.return)H=X,G=Z;else{for(var Y=!1,z=X.child;z;){if(z===H){Y=!0,H=X,G=Z;break}if(z===G){Y=!0,G=X,H=Z;break}z=z.sibling}if(!Y){for(z=Z.child;z;){if(z===H){Y=!0,H=Z,G=X;break}if(z===G){Y=!0,G=Z,H=X;break}z=z.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(H.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(H.tag!==3)throw Error("Unable to find node on an unmounted component.");return H.stateNode.current===H?M:$}function rM(M){var $=M.tag;if($===5||$===26||$===27||$===6)return M;for(M=M.child;M!==null;){if($=rM(M),$!==null)return $;M=M.sibling}return null}function n1(M){if(M===null||typeof M!=="object")return null;return M=gY&&M[gY]||M["@@iterator"],typeof M==="function"?M:null}function j1(M){if(M==null)return null;if(typeof M==="function")return M.$$typeof===lJ?null:M.displayName||M.name||null;if(typeof M==="string")return M;switch(M){case R6:return"Fragment";case x7:return"Profiler";case CH:return"StrictMode";case C7:return"Suspense";case D7:return"SuspenseList";case v7:return"Activity"}if(typeof M==="object")switch(typeof M.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),M.$$typeof){case U6:return"Portal";case fM:return(M.displayName||"Context")+".Provider";case V7:return(M._context.displayName||"Context")+".Consumer";case m8:var $=M.render;return M=M.displayName,M||(M=$.displayName||$.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case DH:return $=M.displayName||null,$!==null?$:j1(M.type)||"Memo";case s0:$=M._payload,M=M._init;try{return j1(M($))}catch(H){}}return null}function m0(M){return typeof M.tag==="number"?m(M):typeof M.name==="string"?M.name:null}function m(M){var $=M.type;switch(M.tag){case 31:return"Activity";case 24:return"Cache";case 9:return($._context.displayName||"Context")+".Consumer";case 10:return($.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return M=$.render,M=M.displayName||M.name||"",$.displayName||(M!==""?"ForwardRef("+M+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return $;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return j1($);case 8:return $===CH?"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 $==="function")return $.displayName||$.name||null;if(typeof $==="string")return $;break;case 29:if($=M._debugInfo,$!=null){for(var H=$.length-1;0<=H;H--)if(typeof $[H].name==="string")return $[H].name}if(M.return!==null)return m(M.return)}return null}function i1(M){return{current:M}}function L1(M,$){0>z4?console.error("Unexpected pop."):($!==S7[z4]&&console.error("Unexpected Fiber popped."),M.current=g7[z4],g7[z4]=null,S7[z4]=null,z4--)}function z1(M,$,H){z4++,g7[z4]=M.current,S7[z4]=H,M.current=$}function X0(M){return M===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),M}function f0(M,$){z1(b4,$,M),z1(f8,M,M),z1(S4,null,M);var H=$.nodeType;switch(H){case 9:case 11:H=H===9?"#document":"#fragment",$=($=$.documentElement)?($=$.namespaceURI)?zY($):W4:W4;break;default:if(H=$.tagName,$=$.namespaceURI)$=zY($),$=QY($,H);else switch(H){case"svg":$=c6;break;case"math":$=w5;break;default:$=W4}}H=H.toLowerCase(),H=wG(null,H),H={context:$,ancestorInfo:H},L1(S4,M),z1(S4,H,M)}function S(M){L1(S4,M),L1(f8,M),L1(b4,M)}function s(){return X0(S4.current)}function n(M){M.memoizedState!==null&&z1(vH,M,M);var $=X0(S4.current),H=M.type,G=QY($.context,H);H=wG($.ancestorInfo,H),G={context:G,ancestorInfo:H},$!==G&&(z1(f8,M,M),z1(S4,G,M))}function w1(M){f8.current===M&&(L1(S4,M),L1(f8,M)),vH.current===M&&(L1(vH,M),F$._currentValue=k2)}function E(M){return typeof Symbol==="function"&&Symbol.toStringTag&&M[Symbol.toStringTag]||M.constructor.name||"Object"}function o(M){try{return q1(M),!1}catch($){return!0}}function q1(M){return""+M}function r(M,$){if(o(M))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",$,E(M)),q1(M)}function l1(M,$){if(o(M))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.",$,E(M)),q1(M)}function t1(M){if(o(M))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.",E(M)),q1(M)}function CM(M){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var $=__REACT_DEVTOOLS_GLOBAL_HOOK__;if($.isDisabled)return!0;if(!$.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{B6=$.inject(M),w0=$}catch(H){console.error("React instrumentation encountered an error: %s.",H)}return $.checkDCE?!0:!1}function _1(M){if(typeof nJ==="function"&&iJ(M),w0&&typeof w0.setStrictMode==="function")try{w0.setStrictMode(B6,M)}catch($){hM||(hM=!0,console.error("React instrumentation encountered an error: %s",$))}}function f1(M){k=M}function PM(){k!==null&&typeof k.markCommitStopped==="function"&&k.markCommitStopped()}function e0(M){k!==null&&typeof k.markComponentRenderStarted==="function"&&k.markComponentRenderStarted(M)}function wM(){k!==null&&typeof k.markComponentRenderStopped==="function"&&k.markComponentRenderStopped()}function i6(M){k!==null&&typeof k.markRenderStarted==="function"&&k.markRenderStarted(M)}function t6(){k!==null&&typeof k.markRenderStopped==="function"&&k.markRenderStopped()}function nM(M,$){k!==null&&typeof k.markStateUpdateScheduled==="function"&&k.markStateUpdateScheduled(M,$)}function V0(M){return M>>>=0,M===0?32:31-(tJ(M)/eJ|0)|0}function h2(M){if(M&1)return"SyncHydrationLane";if(M&2)return"Sync";if(M&4)return"InputContinuousHydration";if(M&8)return"InputContinuous";if(M&16)return"DefaultHydration";if(M&32)return"Default";if(M&128)return"TransitionHydration";if(M&4194048)return"Transition";if(M&62914560)return"Retry";if(M&67108864)return"SelectiveHydration";if(M&134217728)return"IdleHydration";if(M&268435456)return"Idle";if(M&536870912)return"Offscreen";if(M&1073741824)return"Deferred"}function DM(M){var $=M&42;if($!==0)return $;switch(M&-M){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 M&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return M&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."),M}}function d2(M,$,H){var G=M.pendingLanes;if(G===0)return 0;var X=0,Z=M.suspendedLanes,Y=M.pingedLanes;M=M.warmLanes;var z=G&134217727;return z!==0?(G=z&~Z,G!==0?X=DM(G):(Y&=z,Y!==0?X=DM(Y):H||(H=z&~M,H!==0&&(X=DM(H))))):(z=G&~Z,z!==0?X=DM(z):Y!==0?X=DM(Y):H||(H=G&~M,H!==0&&(X=DM(H)))),X===0?0:$!==0&&$!==X&&($&Z)===0&&(Z=X&-X,H=$&-$,Z>=H||Z===32&&(H&4194048)!==0)?$:X}function G1(M,$){return(M.pendingLanes&~(M.suspendedLanes&~M.pingedLanes)&$)===0}function l2(M,$){switch(M){case 1:case 2:case 4:case 8:case 64:return $+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 $+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 e6(){var M=gH;return gH<<=1,(gH&4194048)===0&&(gH=256),M}function M8(){var M=SH;return SH<<=1,(SH&62914560)===0&&(SH=4194304),M}function p2(M){for(var $=[],H=0;31>H;H++)$.push(M);return $}function I4(M,$){M.pendingLanes|=$,$!==268435456&&(M.suspendedLanes=0,M.pingedLanes=0,M.warmLanes=0)}function E5(M,$,H,G,X,Z){var Y=M.pendingLanes;M.pendingLanes=H,M.suspendedLanes=0,M.pingedLanes=0,M.warmLanes=0,M.expiredLanes&=H,M.entangledLanes&=H,M.errorRecoveryDisabledLanes&=H,M.shellSuspendCounter=0;var{entanglements:z,expirationTimes:U,hiddenUpdates:R}=M;for(H=Y&~H;0<H;){var w=31-_0(H),_=1<<w;z[w]=0,U[w]=-1;var O=R[w];if(O!==null)for(R[w]=null,w=0;w<O.length;w++){var I=O[w];I!==null&&(I.lane&=-536870913)}H&=~_}G!==0&&x$(M,G,0),Z!==0&&X===0&&M.tag!==0&&(M.suspendedLanes|=Z&~(Y&~$))}function x$(M,$,H){M.pendingLanes|=$,M.suspendedLanes&=~$;var G=31-_0($);M.entangledLanes|=$,M.entanglements[G]=M.entanglements[G]|1073741824|H&4194090}function $8(M,$){var H=M.entangledLanes|=$;for(M=M.entanglements;H;){var G=31-_0(H),X=1<<G;X&$|M[G]&$&&(M[G]|=$),H&=~X}}function c2(M){switch(M){case 2:M=1;break;case 8:M=4;break;case 32:M=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:M=128;break;case 268435456:M=134217728;break;default:M=0}return M}function H8(M,$,H){if(IM)for(M=M.pendingUpdatersLaneMap;0<H;){var G=31-_0(H),X=1<<G;M[G].add($),H&=~X}}function G8(M,$){if(IM)for(var{pendingUpdatersLaneMap:H,memoizedUpdaters:G}=M;0<$;){var X=31-_0($);M=1<<X,X=H[X],0<X.size&&(X.forEach(function(Z){var Y=Z.alternate;Y!==null&&G.has(Y)||G.add(Z)}),X.clear()),$&=~M}}function F4(M){return M&=-M,o0!==0&&o0<M?FM!==0&&FM<M?(M&134217727)!==0?dM:bH:FM:o0}function e4(){var M=I1.p;if(M!==0)return M;return M=window.event,M===void 0?dM:NY(M.type)}function s2(M,$){var H=I1.p;try{return I1.p=M,$()}finally{I1.p=H}}function M2(M){delete M[W0],delete M[S0],delete M[f7],delete M[MB],delete M[$B]}function iM(M){var $=M[W0];if($)return $;for(var H=M.parentNode;H;){if($=H[y4]||H[W0]){if(H=$.alternate,$.child!==null||H!==null&&H.child!==null)for(M=KY(M);M!==null;){if(H=M[W0])return H;M=KY(M)}return $}M=H,H=M.parentNode}return null}function Q(M){if(M=M[W0]||M[y4]){var $=M.tag;if($===5||$===6||$===13||$===26||$===27||$===3)return M}return null}function K(M){var $=M.tag;if($===5||$===26||$===27||$===6)return M.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function v(M){var $=M[SY];return $||($=M[SY]={hoistableStyles:new Map,hoistableScripts:new Map}),$}function D(M){M[u8]=!0}function d(M,$){$1(M,$),$1(M+"Capture",$)}function $1(M,$){w2[M]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",M),w2[M]=$;var H=M.toLowerCase();u7[H]=M,M==="onDoubleClick"&&(u7.ondblclick=M);for(M=0;M<$.length;M++)bY.add($[M])}function i(M,$){HB[$.type]||$.onChange||$.onInput||$.readOnly||$.disabled||$.value==null||(M==="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`.")),$.onChange||$.readOnly||$.disabled||$.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 W1(M){if(Q4.call(yY,M))return!0;if(Q4.call(kY,M))return!1;if(GB.test(M))return yY[M]=!0;return kY[M]=!0,console.error("Invalid attribute name: `%s`",M),!1}function Z1(M,$,H){if(W1($)){if(!M.hasAttribute($)){switch(typeof H){case"symbol":case"object":return H;case"function":return H;case"boolean":if(H===!1)return H}return H===void 0?void 0:null}if(M=M.getAttribute($),M===""&&H===!0)return!0;return r(H,$),M===""+H?H:M}}function u0(M,$,H){if(W1($))if(H===null)M.removeAttribute($);else{switch(typeof H){case"undefined":case"function":case"symbol":M.removeAttribute($);return;case"boolean":var G=$.toLowerCase().slice(0,5);if(G!=="data-"&&G!=="aria-"){M.removeAttribute($);return}}r(H,$),M.setAttribute($,""+H)}}function WM(M,$,H){if(H===null)M.removeAttribute($);else{switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":M.removeAttribute($);return}r(H,$),M.setAttribute($,""+H)}}function TM(M,$,H,G){if(G===null)M.removeAttribute(H);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":M.removeAttribute(H);return}r(G,H),M.setAttributeNS($,H,""+G)}}function V$(){}function ZR(){if(h8===0){mY=console.log,fY=console.info,uY=console.warn,hY=console.error,dY=console.group,lY=console.groupCollapsed,pY=console.groupEnd;var M={configurable:!0,enumerable:!0,value:V$,writable:!0};Object.defineProperties(console,{info:M,log:M,warn:M,error:M,group:M,groupCollapsed:M,groupEnd:M})}h8++}function YR(){if(h8--,h8===0){var M={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Y1({},M,{value:mY}),info:Y1({},M,{value:fY}),warn:Y1({},M,{value:uY}),error:Y1({},M,{value:hY}),group:Y1({},M,{value:dY}),groupCollapsed:Y1({},M,{value:lY}),groupEnd:Y1({},M,{value:pY})})}0>h8&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function MM(M){if(h7===void 0)try{throw Error()}catch(H){var $=H.stack.trim().match(/\n( *(at )?)/);h7=$&&$[1]||"",cY=-1<H.stack.indexOf(`
|
|
at`)?" (<anonymous>)":-1<H.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
`+h7+M+cY}function N5(M,$){if(!M||d7)return"";var H=l7.get(M);if(H!==void 0)return H;d7=!0,H=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var G=null;G=T.H,T.H=null,ZR();try{var X={DetermineComponentFrameRoot:function(){try{if($){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(u){var I=u}Reflect.construct(M,[],O)}else{try{O.call()}catch(u){I=u}M.call(O.prototype)}}else{try{throw Error()}catch(u){I=u}(O=M())&&typeof O.catch==="function"&&O.catch(function(){})}}catch(u){if(u&&I&&typeof u.stack==="string")return[u.stack,I.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(),z=Y[0],U=Y[1];if(z&&U){var R=z.split(`
|
|
`),w=U.split(`
|
|
`);for(Y=Z=0;Z<R.length&&!R[Z].includes("DetermineComponentFrameRoot");)Z++;for(;Y<w.length&&!w[Y].includes("DetermineComponentFrameRoot");)Y++;if(Z===R.length||Y===w.length)for(Z=R.length-1,Y=w.length-1;1<=Z&&0<=Y&&R[Z]!==w[Y];)Y--;for(;1<=Z&&0<=Y;Z--,Y--)if(R[Z]!==w[Y]){if(Z!==1||Y!==1)do if(Z--,Y--,0>Y||R[Z]!==w[Y]){var _=`
|
|
`+R[Z].replace(" at new "," at ");return M.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",M.displayName)),typeof M==="function"&&l7.set(M,_),_}while(1<=Z&&0<=Y);break}}}finally{d7=!1,T.H=G,YR(),Error.prepareStackTrace=H}return R=(R=M?M.displayName||M.name:"")?MM(R):"",typeof M==="function"&&l7.set(M,R),R}function MG(M){var $=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,M=M.stack,Error.prepareStackTrace=$,M.startsWith(`Error: react-stack-top-frame
|
|
`)&&(M=M.slice(29)),$=M.indexOf(`
|
|
`),$!==-1&&(M=M.slice($+1)),$=M.indexOf("react_stack_bottom_frame"),$!==-1&&($=M.lastIndexOf(`
|
|
`,$)),$!==-1)M=M.slice(0,$);else return"";return M}function zR(M){switch(M.tag){case 26:case 27:case 5:return MM(M.type);case 16:return MM("Lazy");case 13:return MM("Suspense");case 19:return MM("SuspenseList");case 0:case 15:return N5(M.type,!1);case 11:return N5(M.type.render,!1);case 1:return N5(M.type,!0);case 31:return MM("Activity");default:return""}}function $G(M){try{var $="";do{$+=zR(M);var H=M._debugInfo;if(H)for(var G=H.length-1;0<=G;G--){var X=H[G];if(typeof X.name==="string"){var Z=$,Y=X.env,z=MM(X.name+(Y?" ["+Y+"]":""));$=Z+z}}M=M.return}while(M);return $}catch(U){return`
|
|
Error generating stack: `+U.message+`
|
|
`+U.stack}}function HG(M){return(M=M?M.displayName||M.name:"")?MM(M):""}function C$(){if(a0===null)return null;var M=a0._debugOwner;return M!=null?m0(M):null}function QR(){if(a0===null)return"";var M=a0;try{var $="";switch(M.tag===6&&(M=M.return),M.tag){case 26:case 27:case 5:$+=MM(M.type);break;case 13:$+=MM("Suspense");break;case 19:$+=MM("SuspenseList");break;case 31:$+=MM("Activity");break;case 30:case 0:case 15:case 1:M._debugOwner||$!==""||($+=HG(M.type));break;case 11:M._debugOwner||$!==""||($+=HG(M.type.render))}for(;M;)if(typeof M.tag==="number"){var H=M;M=H._debugOwner;var G=H._debugStack;M&&G&&(typeof G!=="string"&&(H._debugStack=G=MG(G)),G!==""&&($+=`
|
|
`+G))}else if(M.debugStack!=null){var X=M.debugStack;(M=M.owner)&&X&&($+=`
|
|
`+MG(X))}else break;var Z=$}catch(Y){Z=`
|
|
Error generating stack: `+Y.message+`
|
|
`+Y.stack}return Z}function l(M,$,H,G,X,Z,Y){var z=a0;x5(M);try{return M!==null&&M._debugTask?M._debugTask.run($.bind(null,H,G,X,Z,Y)):$(H,G,X,Z,Y)}finally{x5(z)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function x5(M){T.getCurrentStack=M===null?null:QR,lM=!1,a0=M}function $M(M){switch(typeof M){case"bigint":case"boolean":case"number":case"string":case"undefined":return M;case"object":return t1(M),M;default:return""}}function GG(M){var $=M.type;return(M=M.nodeName)&&M.toLowerCase()==="input"&&($==="checkbox"||$==="radio")}function UR(M){var $=GG(M)?"checked":"value",H=Object.getOwnPropertyDescriptor(M.constructor.prototype,$);t1(M[$]);var G=""+M[$];if(!M.hasOwnProperty($)&&typeof H<"u"&&typeof H.get==="function"&&typeof H.set==="function"){var{get:X,set:Z}=H;return Object.defineProperty(M,$,{configurable:!0,get:function(){return X.call(this)},set:function(Y){t1(Y),G=""+Y,Z.call(this,Y)}}),Object.defineProperty(M,$,{enumerable:H.enumerable}),{getValue:function(){return G},setValue:function(Y){t1(Y),G=""+Y},stopTracking:function(){M._valueTracker=null,delete M[$]}}}}function D$(M){M._valueTracker||(M._valueTracker=UR(M))}function XG(M){if(!M)return!1;var $=M._valueTracker;if(!$)return!0;var H=$.getValue(),G="";return M&&(G=GG(M)?M.checked?"true":"false":M.value),M=G,M!==H?($.setValue(M),!0):!1}function v$(M){if(M=M||(typeof document<"u"?document:void 0),typeof M>"u")return null;try{return M.activeElement||M.body}catch($){return M.body}}function HM(M){return M.replace(XB,function($){return"\\"+$.charCodeAt(0).toString(16)+" "})}function ZG(M,$){$.checked===void 0||$.defaultChecked===void 0||oY||(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",C$()||"A component",$.type),oY=!0),$.value===void 0||$.defaultValue===void 0||sY||(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",C$()||"A component",$.type),sY=!0)}function V5(M,$,H,G,X,Z,Y,z){if(M.name="",Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"&&typeof Y!=="boolean"?(r(Y,"type"),M.type=Y):M.removeAttribute("type"),$!=null)if(Y==="number"){if($===0&&M.value===""||M.value!=$)M.value=""+$M($)}else M.value!==""+$M($)&&(M.value=""+$M($));else Y!=="submit"&&Y!=="reset"||M.removeAttribute("value");$!=null?C5(M,Y,$M($)):H!=null?C5(M,Y,$M(H)):G!=null&&M.removeAttribute("value"),X==null&&Z!=null&&(M.defaultChecked=!!Z),X!=null&&(M.checked=X&&typeof X!=="function"&&typeof X!=="symbol"),z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"?(r(z,"name"),M.name=""+$M(z)):M.removeAttribute("name")}function YG(M,$,H,G,X,Z,Y,z){if(Z!=null&&typeof Z!=="function"&&typeof Z!=="symbol"&&typeof Z!=="boolean"&&(r(Z,"type"),M.type=Z),$!=null||H!=null){if(!(Z!=="submit"&&Z!=="reset"||$!==void 0&&$!==null))return;H=H!=null?""+$M(H):"",$=$!=null?""+$M($):H,z||$===M.value||(M.value=$),M.defaultValue=$}G=G!=null?G:X,G=typeof G!=="function"&&typeof G!=="symbol"&&!!G,M.checked=z?M.checked:!!G,M.defaultChecked=!!G,Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"&&typeof Y!=="boolean"&&(r(Y,"name"),M.name=Y)}function C5(M,$,H){$==="number"&&v$(M.ownerDocument)===M||M.defaultValue===""+H||(M.defaultValue=""+H)}function zG(M,$){$.value==null&&(typeof $.children==="object"&&$.children!==null?o6.Children.forEach($.children,function(H){H==null||typeof H==="string"||typeof H==="number"||typeof H==="bigint"||rY||(rY=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):$.dangerouslySetInnerHTML==null||nY||(nY=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),$.selected==null||aY||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),aY=!0)}function QG(){var M=C$();return M?`
|
|
|
|
Check the render method of \``+M+"`.":""}function o2(M,$,H,G){if(M=M.options,$){$={};for(var X=0;X<H.length;X++)$["$"+H[X]]=!0;for(H=0;H<M.length;H++)X=$.hasOwnProperty("$"+M[H].value),M[H].selected!==X&&(M[H].selected=X),X&&G&&(M[H].defaultSelected=!0)}else{H=""+$M(H),$=null;for(X=0;X<M.length;X++){if(M[X].value===H){M[X].selected=!0,G&&(M[X].defaultSelected=!0);return}$!==null||M[X].disabled||($=M[X])}$!==null&&($.selected=!0)}}function UG(M,$){for(M=0;M<tY.length;M++){var H=tY[M];if($[H]!=null){var G=B0($[H]);$.multiple&&!G?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",H,QG()):!$.multiple&&G&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",H,QG())}}$.value===void 0||$.defaultValue===void 0||iY||(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"),iY=!0)}function RG(M,$){$.value===void 0||$.defaultValue===void 0||eY||(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",C$()||"A component"),eY=!0),$.children!=null&&$.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function JG(M,$,H){if($!=null&&($=""+$M($),$!==M.value&&(M.value=$),H==null)){M.defaultValue!==$&&(M.defaultValue=$);return}M.defaultValue=H!=null?""+$M(H):""}function BG(M,$,H,G){if($==null){if(G!=null){if(H!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(B0(G)){if(1<G.length)throw Error("<textarea> can only have at most one child.");G=G[0]}H=G}H==null&&(H=""),$=H}H=$M($),M.defaultValue=H,G=M.textContent,G===H&&G!==""&&G!==null&&(M.value=G)}function qG(M,$){return M.serverProps===void 0&&M.serverTail.length===0&&M.children.length===1&&3<M.distanceFromLeaf&&M.distanceFromLeaf>15-$?qG(M.children[0],$):M}function h0(M){return" "+" ".repeat(M)}function a2(M){return"+ "+" ".repeat(M)}function $2(M){return"- "+" ".repeat(M)}function KG(M){switch(M.tag){case 26:case 27:case 5:return M.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return M=M.type,M.displayName||M.name||null;case 11:return M=M.type.render,M.displayName||M.name||null;case 1:return M=M.type,M.displayName||M.name||null;default:return null}}function X8(M,$){return Mz.test(M)?(M=JSON.stringify(M),M.length>$-2?8>$?'{"..."}':"{"+M.slice(0,$-7)+'..."}':"{"+M+"}"):M.length>$?5>$?'{"..."}':M.slice(0,$-3)+"...":M}function g$(M,$,H){var G=120-2*H;if($===null)return a2(H)+X8(M,G)+`
|
|
`;if(typeof $==="string"){for(var X=0;X<$.length&&X<M.length&&$.charCodeAt(X)===M.charCodeAt(X);X++);return X>G-8&&10<X&&(M="..."+M.slice(X-8),$="..."+$.slice(X-8)),a2(H)+X8(M,G)+`
|
|
`+$2(H)+X8($,G)+`
|
|
`}return h0(H)+X8(M,G)+`
|
|
`}function D5(M){return Object.prototype.toString.call(M).replace(/^\[object (.*)\]$/,function($,H){return H})}function Z8(M,$){switch(typeof M){case"string":return M=JSON.stringify(M),M.length>$?5>$?'"..."':M.slice(0,$-4)+'..."':M;case"object":if(M===null)return"null";if(B0(M))return"[...]";if(M.$$typeof===g4)return($=j1(M.type))?"<"+$+">":"<...>";var H=D5(M);if(H==="Object"){H="",$-=2;for(var G in M)if(M.hasOwnProperty(G)){var X=JSON.stringify(G);if(X!=='"'+G+'"'&&(G=X),$-=G.length-2,X=Z8(M[G],15>$?$:15),$-=X.length,0>$){H+=H===""?"...":", ...";break}H+=(H===""?"":",")+G+":"+X}return"{"+H+"}"}return H;case"function":return($=M.displayName||M.name)?"function "+$:"function";default:return String(M)}}function r2(M,$){return typeof M!=="string"||Mz.test(M)?"{"+Z8(M,$-2)+"}":M.length>$-2?5>$?'"..."':'"'+M.slice(0,$-5)+'..."':'"'+M+'"'}function v5(M,$,H){var G=120-H.length-M.length,X=[],Z;for(Z in $)if($.hasOwnProperty(Z)&&Z!=="children"){var Y=r2($[Z],120-H.length-Z.length-1);G-=Z.length+Y.length+2,X.push(Z+"="+Y)}return X.length===0?H+"<"+M+`>
|
|
`:0<G?H+"<"+M+" "+X.join(" ")+`>
|
|
`:H+"<"+M+`
|
|
`+H+" "+X.join(`
|
|
`+H+" ")+`
|
|
`+H+`>
|
|
`}function RR(M,$,H){var G="",X=Y1({},$),Z;for(Z in M)if(M.hasOwnProperty(Z)){delete X[Z];var Y=120-2*H-Z.length-2,z=Z8(M[Z],Y);$.hasOwnProperty(Z)?(Y=Z8($[Z],Y),G+=a2(H)+Z+": "+z+`
|
|
`,G+=$2(H)+Z+": "+Y+`
|
|
`):G+=a2(H)+Z+": "+z+`
|
|
`}for(var U in X)X.hasOwnProperty(U)&&(M=Z8(X[U],120-2*H-U.length-2),G+=$2(H)+U+": "+M+`
|
|
`);return G}function JR(M,$,H,G){var X="",Z=new Map;for(R in H)H.hasOwnProperty(R)&&Z.set(R.toLowerCase(),R);if(Z.size===1&&Z.has("children"))X+=v5(M,$,h0(G));else{for(var Y in $)if($.hasOwnProperty(Y)&&Y!=="children"){var z=120-2*(G+1)-Y.length-1,U=Z.get(Y.toLowerCase());if(U!==void 0){Z.delete(Y.toLowerCase());var R=$[Y];U=H[U];var w=r2(R,z);z=r2(U,z),typeof R==="object"&&R!==null&&typeof U==="object"&&U!==null&&D5(R)==="Object"&&D5(U)==="Object"&&(2<Object.keys(R).length||2<Object.keys(U).length||-1<w.indexOf("...")||-1<z.indexOf("..."))?X+=h0(G+1)+Y+`={{
|
|
`+RR(R,U,G+2)+h0(G+1)+`}}
|
|
`:(X+=a2(G+1)+Y+"="+w+`
|
|
`,X+=$2(G+1)+Y+"="+z+`
|
|
`)}else X+=h0(G+1)+Y+"="+r2($[Y],z)+`
|
|
`}Z.forEach(function(_){if(_!=="children"){var O=120-2*(G+1)-_.length-1;X+=$2(G+1)+_+"="+r2(H[_],O)+`
|
|
`}}),X=X===""?h0(G)+"<"+M+`>
|
|
`:h0(G)+"<"+M+`
|
|
`+X+h0(G)+`>
|
|
`}if(M=H.children,$=$.children,typeof M==="string"||typeof M==="number"||typeof M==="bigint"){if(Z="",typeof $==="string"||typeof $==="number"||typeof $==="bigint")Z=""+$;X+=g$(Z,""+M,G+1)}else if(typeof $==="string"||typeof $==="number"||typeof $==="bigint")X=M==null?X+g$(""+$,null,G+1):X+g$(""+$,void 0,G+1);return X}function OG(M,$){var H=KG(M);if(H===null){H="";for(M=M.child;M;)H+=OG(M,$),M=M.sibling;return H}return h0($)+"<"+H+`>
|
|
`}function g5(M,$){var H=qG(M,$);if(H!==M&&(M.children.length!==1||M.children[0]!==H))return h0($)+`...
|
|
`+g5(H,$+1);H="";var G=M.fiber._debugInfo;if(G)for(var X=0;X<G.length;X++){var Z=G[X].name;typeof Z==="string"&&(H+=h0($)+"<"+Z+`>
|
|
`,$++)}if(G="",X=M.fiber.pendingProps,M.fiber.tag===6)G=g$(X,M.serverProps,$),$++;else if(Z=KG(M.fiber),Z!==null)if(M.serverProps===void 0){G=$;var Y=120-2*G-Z.length-2,z="";for(R in X)if(X.hasOwnProperty(R)&&R!=="children"){var U=r2(X[R],15);if(Y-=R.length+U.length+2,0>Y){z+=" ...";break}z+=" "+R+"="+U}G=h0(G)+"<"+Z+z+`>
|
|
`,$++}else M.serverProps===null?(G=v5(Z,X,a2($)),$++):typeof M.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(G=JR(Z,X,M.serverProps,$),$++);var R="";X=M.fiber.child;for(Z=0;X&&Z<M.children.length;)Y=M.children[Z],Y.fiber===X?(R+=g5(Y,$),Z++):R+=OG(X,$),X=X.sibling;X&&0<M.children.length&&(R+=h0($)+`...
|
|
`),X=M.serverTail,M.serverProps===null&&$--;for(M=0;M<X.length;M++)Z=X[M],R=typeof Z==="string"?R+($2($)+X8(Z,120-2*$)+`
|
|
`):R+v5(Z.type,Z.props,$2($));return H+G+R}function S5(M){try{return`
|
|
|
|
`+g5(M,0)}catch($){return""}}function PG(M,$,H){for(var G=$,X=null,Z=0;G;)G===M&&(Z=0),X={fiber:G,children:X!==null?[X]:[],serverProps:G===$?H:G===M?null:void 0,serverTail:[],distanceFromLeaf:Z},Z++,G=G.return;return X!==null?S5(X).replaceAll(/^[+-]/gm,">"):""}function wG(M,$){var H=Y1({},M||Hz),G={tag:$};if($z.indexOf($)!==-1&&(H.aTagInScope=null,H.buttonTagInScope=null,H.nobrTagInScope=null),YB.indexOf($)!==-1&&(H.pTagInButtonScope=null),ZB.indexOf($)!==-1&&$!=="address"&&$!=="div"&&$!=="p"&&(H.listItemTagAutoclosing=null,H.dlItemTagAutoclosing=null),H.current=G,$==="form"&&(H.formTag=G),$==="a"&&(H.aTagInScope=G),$==="button"&&(H.buttonTagInScope=G),$==="nobr"&&(H.nobrTagInScope=G),$==="p"&&(H.pTagInButtonScope=G),$==="li"&&(H.listItemTagAutoclosing=G),$==="dd"||$==="dt")H.dlItemTagAutoclosing=G;return $==="#document"||$==="html"?H.containerTagInScope=null:H.containerTagInScope||(H.containerTagInScope=G),M!==null||$!=="#document"&&$!=="html"&&$!=="body"?H.implicitRootScope===!0&&(H.implicitRootScope=!1):H.implicitRootScope=!0,H}function WG(M,$,H){switch($){case"select":return M==="hr"||M==="option"||M==="optgroup"||M==="script"||M==="template"||M==="#text";case"optgroup":return M==="option"||M==="#text";case"option":return M==="#text";case"tr":return M==="th"||M==="td"||M==="style"||M==="script"||M==="template";case"tbody":case"thead":case"tfoot":return M==="tr"||M==="style"||M==="script"||M==="template";case"colgroup":return M==="col"||M==="template";case"table":return M==="caption"||M==="colgroup"||M==="tbody"||M==="tfoot"||M==="thead"||M==="style"||M==="script"||M==="template";case"head":return M==="base"||M==="basefont"||M==="bgsound"||M==="link"||M==="meta"||M==="title"||M==="noscript"||M==="noframes"||M==="style"||M==="script"||M==="template";case"html":if(H)break;return M==="head"||M==="body"||M==="frameset";case"frameset":return M==="frame";case"#document":if(!H)return M==="html"}switch(M){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return $!=="h1"&&$!=="h2"&&$!=="h3"&&$!=="h4"&&$!=="h5"&&$!=="h6";case"rp":case"rt":return zB.indexOf($)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return $==null;case"head":return H||$===null;case"html":return H&&$==="#document"||$===null;case"body":return H&&($==="#document"||$==="html")||$===null}return!0}function BR(M,$){switch(M){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 $.pTagInButtonScope;case"form":return $.formTag||$.pTagInButtonScope;case"li":return $.listItemTagAutoclosing;case"dd":case"dt":return $.dlItemTagAutoclosing;case"button":return $.buttonTagInScope;case"a":return $.aTagInScope;case"nobr":return $.nobrTagInScope}return null}function TG(M,$){for(;M;){switch(M.tag){case 5:case 26:case 27:if(M.type===$)return M}M=M.return}return null}function b5(M,$){$=$||Hz;var H=$.current;if($=(H=WG(M,H&&H.tag,$.implicitRootScope)?null:H)?null:BR(M,$),$=H||$,!$)return!0;var G=$.tag;if($=String(!!H)+"|"+M+"|"+G,kH[$])return!1;kH[$]=!0;var X=($=a0)?TG($.return,G):null,Z=$!==null&&X!==null?PG(X,$,null):"",Y="<"+M+">";return H?(H="",G==="table"&&M==="tr"&&(H+=" 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,H,Z)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
This will cause a hydration error.%s`,Y,G,Z),$&&(M=$.return,X===null||M===null||X===M&&M._debugOwner===$._debugOwner||l(X,function(){console.error(`<%s> cannot contain a nested %s.
|
|
See this log for the ancestor stack trace.`,G,Y)})),!1}function S$(M,$,H){if(H||WG("#text",$,!1))return!0;if(H="#text|"+$,kH[H])return!1;kH[H]=!0;var G=(H=a0)?TG(H,$):null;return H=H!==null&&G!==null?PG(G,H,H.tag!==6?{children:null}:null):"",/\S/.test(M)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
This will cause a hydration error.%s`,$,H):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`,$,H),!1}function Y8(M,$){if($){var H=M.firstChild;if(H&&H===M.lastChild&&H.nodeType===3){H.nodeValue=$;return}}M.textContent=$}function qR(M){return M.replace(RB,function($,H){return H.toUpperCase()})}function _G(M,$,H){var G=$.indexOf("--")===0;G||(-1<$.indexOf("-")?q6.hasOwnProperty($)&&q6[$]||(q6[$]=!0,console.error("Unsupported style property %s. Did you mean %s?",$,qR($.replace(UB,"ms-")))):QB.test($)?q6.hasOwnProperty($)&&q6[$]||(q6[$]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",$,$.charAt(0).toUpperCase()+$.slice(1))):!Zz.test(H)||c7.hasOwnProperty(H)&&c7[H]||(c7[H]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,$,H.replace(Zz,""))),typeof H==="number"&&(isNaN(H)?Yz||(Yz=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",$)):isFinite(H)||zz||(zz=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",$)))),H==null||typeof H==="boolean"||H===""?G?M.setProperty($,""):$==="float"?M.cssFloat="":M[$]="":G?M.setProperty($,H):typeof H!=="number"||H===0||Qz.has($)?$==="float"?M.cssFloat=H:(l1(H,$),M[$]=(""+H).trim()):M[$]=H+"px"}function AG(M,$,H){if($!=null&&typeof $!=="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($&&Object.freeze($),M=M.style,H!=null){if($){var G={};if(H){for(var X in H)if(H.hasOwnProperty(X)&&!$.hasOwnProperty(X))for(var Z=p7[X]||[X],Y=0;Y<Z.length;Y++)G[Z[Y]]=X}for(var z in $)if($.hasOwnProperty(z)&&(!H||H[z]!==$[z]))for(X=p7[z]||[z],Z=0;Z<X.length;Z++)G[X[Z]]=z;z={};for(var U in $)for(X=p7[U]||[U],Z=0;Z<X.length;Z++)z[X[Z]]=U;U={};for(var R in G)if(X=G[R],(Z=z[R])&&X!==Z&&(Y=X+","+Z,!U[Y])){U[Y]=!0,Y=console;var w=$[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.",w==null||typeof w==="boolean"||w===""?"Removing":"Updating",X,Z)}}for(var _ in H)!H.hasOwnProperty(_)||$!=null&&$.hasOwnProperty(_)||(_.indexOf("--")===0?M.setProperty(_,""):_==="float"?M.cssFloat="":M[_]="");for(var O in $)R=$[O],$.hasOwnProperty(O)&&H[O]!==R&&_G(M,O,R)}else for(G in $)$.hasOwnProperty(G)&&_G(M,G,$[G])}function z8(M){if(M.indexOf("-")===-1)return!1;switch(M){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 IG(M){return JB.get(M)||M}function KR(M,$){if(Q4.call(O6,$)&&O6[$])return!0;if(qB.test($)){if(M="aria-"+$.slice(4).toLowerCase(),M=Uz.hasOwnProperty(M)?M:null,M==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",$),O6[$]=!0;if($!==M)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",$,M),O6[$]=!0}if(BB.test($)){if(M=$.toLowerCase(),M=Uz.hasOwnProperty(M)?M:null,M==null)return O6[$]=!0,!1;$!==M&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",$,M),O6[$]=!0)}return!0}function OR(M,$){var H=[],G;for(G in $)KR(M,G)||H.push(G);$=H.map(function(X){return"`"+X+"`"}).join(", "),H.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",$,M):1<H.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",$,M)}function PR(M,$,H,G){if(Q4.call(A0,$)&&A0[$])return!0;var X=$.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."),A0[$]=!0;if(typeof H==="function"&&(M==="form"&&$==="action"||M==="input"&&$==="formAction"||M==="button"&&$==="formAction"))return!0;if(G!=null){if(M=G.possibleRegistrationNames,G.registrationNameDependencies.hasOwnProperty($))return!0;if(G=M.hasOwnProperty(X)?M[X]:null,G!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",$,G),A0[$]=!0;if(Jz.test($))return console.error("Unknown event handler property `%s`. It will be ignored.",$),A0[$]=!0}else if(Jz.test($))return KB.test($)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",$),A0[$]=!0;if(OB.test($)||PB.test($))return!0;if(X==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),A0[$]=!0;if(X==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),A0[$]=!0;if(X==="is"&&H!==null&&H!==void 0&&typeof H!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof H),A0[$]=!0;if(typeof H==="number"&&isNaN(H))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",$),A0[$]=!0;if(mH.hasOwnProperty(X)){if(X=mH[X],X!==$)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",$,X),A0[$]=!0}else if($!==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.",$,X),A0[$]=!0;switch($){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 H){case"boolean":switch($){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=$.toLowerCase().slice(0,5),X==="data-"||X==="aria-")return!0;return H?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()}.',H,$,$,H,$):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.',H,$,$,H,$,$,$),A0[$]=!0}case"function":case"symbol":return A0[$]=!0,!1;case"string":if(H==="false"||H==="true"){switch($){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}?",H,$,H==="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".',$,H),A0[$]=!0}}return!0}function wR(M,$,H){var G=[],X;for(X in $)PR(M,X,$[X],H)||G.push(X);$=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):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)}function Q8(M){return wB.test(""+M)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":M}function k5(M){return M=M.target||M.srcElement||window,M.correspondingUseElement&&(M=M.correspondingUseElement),M.nodeType===3?M.parentNode:M}function FG(M){var $=Q(M);if($&&(M=$.stateNode)){var H=M[S0]||null;M:switch(M=$.stateNode,$.type){case"input":if(V5(M,H.value,H.defaultValue,H.defaultValue,H.checked,H.defaultChecked,H.type,H.name),$=H.name,H.type==="radio"&&$!=null){for(H=M;H.parentNode;)H=H.parentNode;r($,"name"),H=H.querySelectorAll('input[name="'+HM(""+$)+'"][type="radio"]');for($=0;$<H.length;$++){var G=H[$];if(G!==M&&G.form===M.form){var X=G[S0]||null;if(!X)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");V5(G,X.value,X.defaultValue,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name)}}for($=0;$<H.length;$++)G=H[$],G.form===M.form&&XG(G)}break M;case"textarea":JG(M,H.value,H.defaultValue);break M;case"select":$=H.value,$!=null&&o2(M,!!H.multiple,$,!1)}}}function jG(M,$,H){if(s7)return M($,H);s7=!0;try{var G=M($);return G}finally{if(s7=!1,P6!==null||w6!==null){if(G6(),P6&&($=P6,M=w6,w6=P6=null,FG($),M))for($=0;$<M.length;$++)FG(M[$])}}}function U8(M,$){var H=M.stateNode;if(H===null)return null;var G=H[S0]||null;if(G===null)return null;H=G[$];M:switch($){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)||(M=M.type,G=!(M==="button"||M==="input"||M==="select"||M==="textarea")),M=!G;break M;default:M=!1}if(M)return null;if(H&&typeof H!=="function")throw Error("Expected `"+$+"` listener to be a function, instead got a value of `"+typeof H+"` type.");return H}function LG(){if(fH)return fH;var M,$=a7,H=$.length,G,X="value"in m4?m4.value:m4.textContent,Z=X.length;for(M=0;M<H&&$[M]===X[M];M++);var Y=H-M;for(G=1;G<=Y&&$[H-G]===X[Z-G];G++);return fH=X.slice(M,1<G?1-G:void 0)}function b$(M){var $=M.keyCode;return"charCode"in M?(M=M.charCode,M===0&&$===13&&(M=13)):M=$,M===10&&(M=13),32<=M||M===13?M:0}function k$(){return!0}function EG(){return!1}function C0(M){function $(H,G,X,Z,Y){this._reactName=H,this._targetInst=X,this.type=G,this.nativeEvent=Z,this.target=Y,this.currentTarget=null;for(var z in M)M.hasOwnProperty(z)&&(H=M[z],this[z]=H?H(Z):Z[z]);return this.isDefaultPrevented=(Z.defaultPrevented!=null?Z.defaultPrevented:Z.returnValue===!1)?k$:EG,this.isPropagationStopped=EG,this}return Y1($.prototype,{preventDefault:function(){this.defaultPrevented=!0;var H=this.nativeEvent;H&&(H.preventDefault?H.preventDefault():typeof H.returnValue!=="unknown"&&(H.returnValue=!1),this.isDefaultPrevented=k$)},stopPropagation:function(){var H=this.nativeEvent;H&&(H.stopPropagation?H.stopPropagation():typeof H.cancelBubble!=="unknown"&&(H.cancelBubble=!0),this.isPropagationStopped=k$)},persist:function(){},isPersistent:k$}),$}function WR(M){var $=this.nativeEvent;return $.getModifierState?$.getModifierState(M):(M=CB[M])?!!$[M]:!1}function y5(){return WR}function NG(M,$){switch(M){case"keyup":return dB.indexOf($.keyCode)!==-1;case"keydown":return $.keyCode!==Oz;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xG(M){return M=M.detail,typeof M==="object"&&"data"in M?M.data:null}function TR(M,$){switch(M){case"compositionend":return xG($);case"keypress":if($.which!==wz)return null;return Tz=!0,Wz;case"textInput":return M=$.data,M===Wz&&Tz?null:M;default:return null}}function _R(M,$){if(W6)return M==="compositionend"||!t7&&NG(M,$)?(M=LG(),fH=a7=m4=null,W6=!1,M):null;switch(M){case"paste":return null;case"keypress":if(!($.ctrlKey||$.altKey||$.metaKey)||$.ctrlKey&&$.altKey){if($.char&&1<$.char.length)return $.char;if($.which)return String.fromCharCode($.which)}return null;case"compositionend":return Pz&&$.locale!=="ko"?null:$.data;default:return null}}function VG(M){var $=M&&M.nodeName&&M.nodeName.toLowerCase();return $==="input"?!!pB[M.type]:$==="textarea"?!0:!1}function AR(M){if(!pM)return!1;M="on"+M;var $=M in document;return $||($=document.createElement("div"),$.setAttribute(M,"return;"),$=typeof $[M]==="function"),$}function CG(M,$,H,G){P6?w6?w6.push(G):w6=[G]:P6=G,$=_H($,"onChange"),0<$.length&&(H=new uH("onChange","change",null,H,G),M.push({event:H,listeners:$}))}function IR(M){iZ(M,0)}function y$(M){var $=K(M);if(XG($))return M}function DG(M,$){if(M==="change")return $}function vG(){o8&&(o8.detachEvent("onpropertychange",gG),a8=o8=null)}function gG(M){if(M.propertyName==="value"&&y$(a8)){var $=[];CG($,a8,M,k5(M)),jG(IR,$)}}function FR(M,$,H){M==="focusin"?(vG(),o8=$,a8=H,o8.attachEvent("onpropertychange",gG)):M==="focusout"&&vG()}function jR(M){if(M==="selectionchange"||M==="keyup"||M==="keydown")return y$(a8)}function LR(M,$){if(M==="click")return y$($)}function ER(M,$){if(M==="input"||M==="change")return y$($)}function NR(M,$){return M===$&&(M!==0||1/M===1/$)||M!==M&&$!==$}function R8(M,$){if(I0(M,$))return!0;if(typeof M!=="object"||M===null||typeof $!=="object"||$===null)return!1;var H=Object.keys(M),G=Object.keys($);if(H.length!==G.length)return!1;for(G=0;G<H.length;G++){var X=H[G];if(!Q4.call($,X)||!I0(M[X],$[X]))return!1}return!0}function SG(M){for(;M&&M.firstChild;)M=M.firstChild;return M}function bG(M,$){var H=SG(M);M=0;for(var G;H;){if(H.nodeType===3){if(G=M+H.textContent.length,M<=$&&G>=$)return{node:H,offset:$-M};M=G}M:{for(;H;){if(H.nextSibling){H=H.nextSibling;break M}H=H.parentNode}H=void 0}H=SG(H)}}function kG(M,$){return M&&$?M===$?!0:M&&M.nodeType===3?!1:$&&$.nodeType===3?kG(M,$.parentNode):("contains"in M)?M.contains($):M.compareDocumentPosition?!!(M.compareDocumentPosition($)&16):!1:!1}function yG(M){M=M!=null&&M.ownerDocument!=null&&M.ownerDocument.defaultView!=null?M.ownerDocument.defaultView:window;for(var $=v$(M.document);$ instanceof M.HTMLIFrameElement;){try{var H=typeof $.contentWindow.location.href==="string"}catch(G){H=!1}if(H)M=$.contentWindow;else break;$=v$(M.document)}return $}function m5(M){var $=M&&M.nodeName&&M.nodeName.toLowerCase();return $&&($==="input"&&(M.type==="text"||M.type==="search"||M.type==="tel"||M.type==="url"||M.type==="password")||$==="textarea"||M.contentEditable==="true")}function mG(M,$,H){var G=H.window===H?H.document:H.nodeType===9?H:H.ownerDocument;M9||T6==null||T6!==v$(G)||(G=T6,("selectionStart"in G)&&m5(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}),r8&&R8(r8,G)||(r8=G,G=_H(e7,"onSelect"),0<G.length&&($=new uH("onSelect","select",null,$,H),M.push({event:$,listeners:G}),$.target=T6)))}function H2(M,$){var H={};return H[M.toLowerCase()]=$.toLowerCase(),H["Webkit"+M]="webkit"+$,H["Moz"+M]="moz"+$,H}function G2(M){if($9[M])return $9[M];if(!_6[M])return M;var $=_6[M],H;for(H in $)if($.hasOwnProperty(H)&&H in Az)return $9[M]=$[H];return M}function _M(M,$){Ez.set(M,$),d($,[M])}function d0(M,$){if(typeof M==="object"&&M!==null){var H=G9.get(M);if(H!==void 0)return H;return $={value:M,source:$,stack:$G($)},G9.set(M,$),$}return{value:M,source:$,stack:$G($)}}function m$(){for(var M=A6,$=X9=A6=0;$<M;){var H=ZM[$];ZM[$++]=null;var G=ZM[$];ZM[$++]=null;var X=ZM[$];ZM[$++]=null;var Z=ZM[$];if(ZM[$++]=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(H,X,Z)}}function f$(M,$,H,G){ZM[A6++]=M,ZM[A6++]=$,ZM[A6++]=H,ZM[A6++]=G,X9|=G,M.lanes|=G,M=M.alternate,M!==null&&(M.lanes|=G)}function f5(M,$,H,G){return f$(M,$,H,G),u$(M)}function D0(M,$){return f$(M,null,null,$),u$(M)}function fG(M,$,H){M.lanes|=H;var G=M.alternate;G!==null&&(G.lanes|=H);for(var X=!1,Z=M.return;Z!==null;)Z.childLanes|=H,G=Z.alternate,G!==null&&(G.childLanes|=H),Z.tag===22&&(M=Z.stateNode,M===null||M._visibility&dH||(X=!0)),M=Z,Z=Z.return;return M.tag===3?(Z=M.stateNode,X&&$!==null&&(X=31-_0(H),M=Z.hiddenUpdates,G=M[X],G===null?M[X]=[$]:G.push($),$.lane=H|536870912),Z):null}function u$(M){if(w$>qq)throw D2=w$=0,W$=S9=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.");D2>Kq&&(D2=0,W$=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.")),M.alternate===null&&(M.flags&4098)!==0&&pZ(M);for(var $=M,H=$.return;H!==null;)$.alternate===null&&($.flags&4098)!==0&&pZ(M),$=H,H=$.return;return $.tag===3?$.stateNode:null}function X2(M){if(YM===null)return M;var $=YM(M);return $===void 0?M:$.current}function u5(M){if(YM===null)return M;var $=YM(M);return $===void 0?M!==null&&M!==void 0&&typeof M.render==="function"&&($=X2(M.render),M.render!==$)?($={$$typeof:m8,render:$},M.displayName!==void 0&&($.displayName=M.displayName),$):M:$.current}function uG(M,$){if(YM===null)return!1;var H=M.elementType;$=$.type;var G=!1,X=typeof $==="object"&&$!==null?$.$$typeof:null;switch(M.tag){case 1:typeof $==="function"&&(G=!0);break;case 0:typeof $==="function"?G=!0:X===s0&&(G=!0);break;case 11:X===m8?G=!0:X===s0&&(G=!0);break;case 14:case 15:X===DH?G=!0:X===s0&&(G=!0);break;default:return!1}return G&&(M=YM(H),M!==void 0&&M===YM($))?!0:!1}function hG(M){YM!==null&&typeof WeakSet==="function"&&(I6===null&&(I6=new WeakSet),I6.add(M))}function h5(M,$,H){var{alternate:G,child:X,sibling:Z,tag:Y,type:z}=M,U=null;switch(Y){case 0:case 15:case 1:U=z;break;case 11:U=z.render}if(YM===null)throw Error("Expected resolveFamily to be set during hot reload.");var R=!1;if(z=!1,U!==null&&(U=YM(U),U!==void 0&&(H.has(U)?z=!0:$.has(U)&&(Y===1?z=!0:R=!0))),I6!==null&&(I6.has(M)||G!==null&&I6.has(G))&&(z=!0),z&&(M._debugNeedsRemount=!0),z||R)G=D0(M,2),G!==null&&c1(G,M,2);X===null||z||h5(X,$,H),Z!==null&&h5(Z,$,H)}function xR(M,$,H,G){this.tag=M,this.key=H,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=$,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,xz||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function d5(M){return M=M.prototype,!(!M||!M.isReactComponent)}function tM(M,$){var H=M.alternate;switch(H===null?(H=b(M.tag,$,M.key,M.mode),H.elementType=M.elementType,H.type=M.type,H.stateNode=M.stateNode,H._debugOwner=M._debugOwner,H._debugStack=M._debugStack,H._debugTask=M._debugTask,H._debugHookTypes=M._debugHookTypes,H.alternate=M,M.alternate=H):(H.pendingProps=$,H.type=M.type,H.flags=0,H.subtreeFlags=0,H.deletions=null,H.actualDuration=-0,H.actualStartTime=-1.1),H.flags=M.flags&65011712,H.childLanes=M.childLanes,H.lanes=M.lanes,H.child=M.child,H.memoizedProps=M.memoizedProps,H.memoizedState=M.memoizedState,H.updateQueue=M.updateQueue,$=M.dependencies,H.dependencies=$===null?null:{lanes:$.lanes,firstContext:$.firstContext,_debugThenableState:$._debugThenableState},H.sibling=M.sibling,H.index=M.index,H.ref=M.ref,H.refCleanup=M.refCleanup,H.selfBaseDuration=M.selfBaseDuration,H.treeBaseDuration=M.treeBaseDuration,H._debugInfo=M._debugInfo,H._debugNeedsRemount=M._debugNeedsRemount,H.tag){case 0:case 15:H.type=X2(M.type);break;case 1:H.type=X2(M.type);break;case 11:H.type=u5(M.type)}return H}function dG(M,$){M.flags&=65011714;var H=M.alternate;return H===null?(M.childLanes=0,M.lanes=$,M.child=null,M.subtreeFlags=0,M.memoizedProps=null,M.memoizedState=null,M.updateQueue=null,M.dependencies=null,M.stateNode=null,M.selfBaseDuration=0,M.treeBaseDuration=0):(M.childLanes=H.childLanes,M.lanes=H.lanes,M.child=H.child,M.subtreeFlags=0,M.deletions=null,M.memoizedProps=H.memoizedProps,M.memoizedState=H.memoizedState,M.updateQueue=H.updateQueue,M.type=H.type,$=H.dependencies,M.dependencies=$===null?null:{lanes:$.lanes,firstContext:$.firstContext,_debugThenableState:$._debugThenableState},M.selfBaseDuration=H.selfBaseDuration,M.treeBaseDuration=H.treeBaseDuration),M}function l5(M,$,H,G,X,Z){var Y=0,z=M;if(typeof M==="function")d5(M)&&(Y=1),z=X2(z);else if(typeof M==="string")Y=s(),Y=xJ(M,H,Y)?26:M==="html"||M==="head"||M==="body"?27:5;else M:switch(M){case v7:return $=b(31,H,$,X),$.elementType=v7,$.lanes=Z,$;case R6:return Z2(H.children,X,Z,$);case CH:Y=8,X|=T0,X|=jM;break;case x7:return M=H,G=X,typeof M.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof M.id),$=b(12,M,$,G|q0),$.elementType=x7,$.lanes=Z,$.stateNode={effectDuration:0,passiveEffectDuration:0},$;case C7:return $=b(13,H,$,X),$.elementType=C7,$.lanes=Z,$;case D7:return $=b(19,H,$,X),$.elementType=D7,$.lanes=Z,$;default:if(typeof M==="object"&&M!==null)switch(M.$$typeof){case hJ:case fM:Y=10;break M;case V7:Y=9;break M;case m8:Y=11,z=u5(z);break M;case DH:Y=14;break M;case s0:Y=16,z=null;break M}if(z="",M===void 0||typeof M==="object"&&M!==null&&Object.keys(M).length===0)z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";M===null?H="null":B0(M)?H="array":M!==void 0&&M.$$typeof===g4?(H="<"+(j1(M.type)||"Unknown")+" />",z=" Did you accidentally export a JSX literal instead of a component?"):H=typeof M,(Y=G?m0(G):null)&&(z+=`
|
|
|
|
Check the render method of \``+Y+"`."),Y=29,H=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(H+"."+z)),z=null}return $=b(Y,H,$,X),$.elementType=M,$.type=z,$.lanes=Z,$._debugOwner=G,$}function h$(M,$,H){return $=l5(M.type,M.key,M.props,M._owner,$,H),$._debugOwner=M._owner,$._debugStack=M._debugStack,$._debugTask=M._debugTask,$}function Z2(M,$,H,G){return M=b(7,M,G,$),M.lanes=H,M}function p5(M,$,H){return M=b(6,M,null,$),M.lanes=H,M}function c5(M,$,H){return $=b(4,M.children!==null?M.children:[],M.key,$),$.lanes=H,$.stateNode={containerInfo:M.containerInfo,pendingChildren:null,implementation:M.implementation},$}function Y2(M,$){z2(),F6[j6++]=pH,F6[j6++]=lH,lH=M,pH=$}function lG(M,$,H){z2(),zM[QM++]=R4,zM[QM++]=J4,zM[QM++]=T2,T2=M;var G=R4;M=J4;var X=32-_0(G)-1;G&=~(1<<X),H+=1;var Z=32-_0($)+X;if(30<Z){var Y=X-X%5;Z=(G&(1<<Y)-1).toString(32),G>>=Y,X-=Y,R4=1<<32-_0($)+X|H<<X|G,J4=Z+M}else R4=1<<Z|H<<X|G,J4=M}function s5(M){z2(),M.return!==null&&(Y2(M,1),lG(M,1,0))}function o5(M){for(;M===lH;)lH=F6[--j6],F6[j6]=null,pH=F6[--j6],F6[j6]=null;for(;M===T2;)T2=zM[--QM],zM[QM]=null,J4=zM[--QM],zM[QM]=null,R4=zM[--QM],zM[QM]=null}function z2(){O1||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Q2(M,$){if(M.return===null){if(UM===null)UM={fiber:M,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:$};else{if(UM.fiber!==M)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");UM.distanceFromLeaf>$&&(UM.distanceFromLeaf=$)}return UM}var H=Q2(M.return,$+1).children;if(0<H.length&&H[H.length-1].fiber===M)return H=H[H.length-1],H.distanceFromLeaf>$&&(H.distanceFromLeaf=$),H;return $={fiber:M,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:$},H.push($),$}function a5(M,$){B4||(M=Q2(M,0),M.serverProps=null,$!==null&&($=JY($),M.serverTail.push($)))}function U2(M){var $="",H=UM;throw H!==null&&(UM=null,$=S5(H)),q8(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)),Z9}function pG(M){var{stateNode:$,type:H,memoizedProps:G}=M;switch($[W0]=M,$[S0]=G,J7(H,G),H){case"dialog":J1("cancel",$),J1("close",$);break;case"iframe":case"object":case"embed":J1("load",$);break;case"video":case"audio":for(H=0;H<T$.length;H++)J1(T$[H],$);break;case"source":J1("error",$);break;case"img":case"image":case"link":J1("error",$),J1("load",$);break;case"details":J1("toggle",$);break;case"input":i("input",G),J1("invalid",$),ZG($,G),YG($,G.value,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name,!0),D$($);break;case"option":zG($,G);break;case"select":i("select",G),J1("invalid",$),UG($,G);break;case"textarea":i("textarea",G),J1("invalid",$),RG($,G),BG($,G.value,G.defaultValue,G.children),D$($)}H=G.children,typeof H!=="string"&&typeof H!=="number"&&typeof H!=="bigint"||$.textContent===""+H||G.suppressHydrationWarning===!0||$Y($.textContent,H)?(G.popover!=null&&(J1("beforetoggle",$),J1("toggle",$)),G.onScroll!=null&&J1("scroll",$),G.onScrollEnd!=null&&J1("scrollend",$),G.onClick!=null&&($.onclick=AH),$=!0):$=!1,$||U2(M)}function cG(M){for(F0=M.return;F0;)switch(F0.tag){case 5:case 13:cM=!1;return;case 27:case 3:cM=!0;return;default:F0=F0.return}}function J8(M){if(M!==F0)return!1;if(!O1)return cG(M),O1=!0,!1;var $=M.tag,H;if(H=$!==3&&$!==27){if(H=$===5)H=M.type,H=!(H!=="form"&&H!=="button")||P7(M.type,M.memoizedProps);H=!H}if(H&&h1){for(H=h1;H;){var G=Q2(M,0),X=JY(H);G.serverTail.push(X),H=X.type==="Suspense"?qY(H):XM(H.nextSibling)}U2(M)}if(cG(M),$===13){if(M=M.memoizedState,M=M!==null?M.dehydrated:null,!M)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");h1=qY(M)}else $===27?($=h1,v4(M.type)?(M=s9,s9=null,h1=M):h1=$):h1=F0?XM(M.stateNode.nextSibling):null;return!0}function B8(){h1=F0=null,B4=O1=!1}function sG(){var M=_2;return M!==null&&(E0===null?E0=M:E0.push.apply(E0,M),_2=null),M}function q8(M){_2===null?_2=[M]:_2.push(M)}function oG(){var M=UM;if(M!==null){UM=null;for(var $=S5(M);0<M.children.length;)M=M.children[0];l(M.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",$)})}}function d$(){L6=cH=null,E6=!1}function j4(M,$,H){z1(Y9,$._currentValue,M),$._currentValue=H,z1(z9,$._currentRenderer,M),$._currentRenderer!==void 0&&$._currentRenderer!==null&&$._currentRenderer!==vz&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),$._currentRenderer=vz}function eM(M,$){M._currentValue=Y9.current;var H=z9.current;L1(z9,$),M._currentRenderer=H,L1(Y9,$)}function r5(M,$,H){for(;M!==null;){var G=M.alternate;if((M.childLanes&$)!==$?(M.childLanes|=$,G!==null&&(G.childLanes|=$)):G!==null&&(G.childLanes&$)!==$&&(G.childLanes|=$),M===H)break;M=M.return}M!==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 n5(M,$,H,G){var X=M.child;X!==null&&(X.return=M);for(;X!==null;){var Z=X.dependencies;if(Z!==null){var Y=X.child;Z=Z.firstContext;M:for(;Z!==null;){var z=Z;Z=X;for(var U=0;U<$.length;U++)if(z.context===$[U]){Z.lanes|=H,z=Z.alternate,z!==null&&(z.lanes|=H),r5(Z.return,H,M),G||(Y=null);break M}Z=z.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|=H,Z=Y.alternate,Z!==null&&(Z.lanes|=H),r5(Y,H,M),Y=null}else Y=X.child;if(Y!==null)Y.return=X;else for(Y=X;Y!==null;){if(Y===M){Y=null;break}if(X=Y.sibling,X!==null){X.return=Y.return,Y=X;break}Y=Y.return}X=Y}}function K8(M,$,H,G){M=null;for(var X=$,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 z=X.type;I0(X.pendingProps.value,Y.value)||(M!==null?M.push(z):M=[z])}}else if(X===vH.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&&(M!==null?M.push(F$):M=[F$])}X=X.return}M!==null&&n5($,M,H,G),$.flags|=262144}function l$(M){for(M=M.firstContext;M!==null;){if(!I0(M.context._currentValue,M.memoizedValue))return!0;M=M.next}return!1}function R2(M){cH=M,L6=null,M=M.dependencies,M!==null&&(M.firstContext=null)}function y1(M){return E6&&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(cH,M)}function p$(M,$){return cH===null&&R2(M),aG(M,$)}function aG(M,$){var H=$._currentValue;if($={context:$,memoizedValue:H,next:null},L6===null){if(M===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().");L6=$,M.dependencies={lanes:0,firstContext:$,_debugThenableState:null},M.flags|=524288}else L6=L6.next=$;return H}function i5(){return{controller:new tB,data:new Map,refCount:0}}function J2(M){M.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),M.refCount++}function O8(M){M.refCount--,0>M.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),M.refCount===0&&eB(Mq,function(){M.controller.abort()})}function M4(){var M=A2;return A2=0,M}function c$(M){var $=A2;return A2=M,$}function P8(M){var $=A2;return A2+=M,$}function t5(M){b0=N6(),0>M.actualStartTime&&(M.actualStartTime=b0)}function e5(M){if(0<=b0){var $=N6()-b0;M.actualDuration+=$,M.selfBaseDuration=$,b0=-1}}function rG(M){if(0<=b0){var $=N6()-b0;M.actualDuration+=$,b0=-1}}function vM(){if(0<=b0){var M=N6()-b0;b0=-1,A2+=M}}function gM(){b0=N6()}function s$(M){for(var $=M.child;$;)M.actualDuration+=$.actualDuration,$=$.sibling}function VR(M,$){if(n8===null){var H=n8=[];Q9=0,I2=z7(),x6={status:"pending",value:void 0,then:function(G){H.push(G)}}}return Q9++,$.then(nG,nG),$}function nG(){if(--Q9===0&&n8!==null){x6!==null&&(x6.status="fulfilled");var M=n8;n8=null,I2=0,x6=null;for(var $=0;$<M.length;$++)(0,M[$])()}}function CR(M,$){var H=[],G={status:"pending",value:null,reason:null,then:function(X){H.push(X)}};return M.then(function(){G.status="fulfilled",G.value=$;for(var X=0;X<H.length;X++)(0,H[X])($)},function(X){G.status="rejected",G.reason=X;for(X=0;X<H.length;X++)(0,H[X])(void 0)}),G}function M3(){var M=F2.current;return M!==null?M:D1.pooledCache}function o$(M,$){$===null?z1(F2,F2.current,M):z1(F2,$.pool,M)}function iG(){var M=M3();return M===null?null:{parent:e1._currentValue,pool:M}}function tG(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function eG(M){return M=M.status,M==="fulfilled"||M==="rejected"}function a$(){}function MX(M,$,H){T.actQueue!==null&&(T.didUsePromise=!0);var G=M.thenables;switch(H=G[H],H===void 0?G.push($):H!==$&&(M.didWarnAboutUncachedPromise||(M.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.")),$.then(a$,a$),$=H),$.status){case"fulfilled":return $.value;case"rejected":throw M=$.reason,HX(M),M;default:if(typeof $.status==="string")$.then(a$,a$);else{if(M=D1,M!==null&&100<M.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.");M=$,M.status="pending",M.then(function(X){if($.status==="pending"){var Z=$;Z.status="fulfilled",Z.value=X}},function(X){if($.status==="pending"){var Z=$;Z.status="rejected",Z.reason=X}})}switch($.status){case"fulfilled":return $.value;case"rejected":throw M=$.reason,HX(M),M}throw X$=$,iH=!0,G$}}function $X(){if(X$===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var M=X$;return X$=null,iH=!1,M}function HX(M){if(M===G$||M===nH)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 $3(M){M.updateQueue={baseState:M.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function H3(M,$){M=M.updateQueue,$.updateQueue===M&&($.updateQueue={baseState:M.baseState,firstBaseUpdate:M.firstBaseUpdate,lastBaseUpdate:M.lastBaseUpdate,shared:M.shared,callbacks:null})}function L4(M){return{lane:M,tag:yz,payload:null,callback:null,next:null}}function E4(M,$,H){var G=M.updateQueue;if(G===null)return null;if(G=G.shared,J9===G&&!uz){var X=m(M);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),uz=!0}if((F1&L0)!==r0)return X=G.pending,X===null?$.next=$:($.next=X.next,X.next=$),G.pending=$,$=u$(M),fG(M,null,H),$;return f$(M,G,$,H),u$(M)}function w8(M,$,H){if($=$.updateQueue,$!==null&&($=$.shared,(H&4194048)!==0)){var G=$.lanes;G&=M.pendingLanes,H|=G,$.lanes=H,$8(M,H)}}function r$(M,$){var{updateQueue:H,alternate:G}=M;if(G!==null&&(G=G.updateQueue,H===G)){var X=null,Z=null;if(H=H.firstBaseUpdate,H!==null){do{var Y={lane:H.lane,tag:H.tag,payload:H.payload,callback:null,next:null};Z===null?X=Z=Y:Z=Z.next=Y,H=H.next}while(H!==null);Z===null?X=Z=$:Z=Z.next=$}else X=Z=$;H={baseState:G.baseState,firstBaseUpdate:X,lastBaseUpdate:Z,shared:G.shared,callbacks:G.callbacks},M.updateQueue=H;return}M=H.lastBaseUpdate,M===null?H.firstBaseUpdate=$:M.next=$,H.lastBaseUpdate=$}function W8(){if(B9){var M=x6;if(M!==null)throw M}}function T8(M,$,H,G){B9=!1;var X=M.updateQueue;u4=!1,J9=X.shared;var{firstBaseUpdate:Z,lastBaseUpdate:Y}=X,z=X.shared.pending;if(z!==null){X.shared.pending=null;var U=z,R=U.next;U.next=null,Y===null?Z=R:Y.next=R,Y=U;var w=M.alternate;w!==null&&(w=w.updateQueue,z=w.lastBaseUpdate,z!==Y&&(z===null?w.firstBaseUpdate=R:z.next=R,w.lastBaseUpdate=U))}if(Z!==null){var _=X.baseState;Y=0,w=R=U=null,z=Z;do{var O=z.lane&-536870913,I=O!==z.lane;if(I?(R1&O)===O:(G&O)===O){O!==0&&O===I2&&(B9=!0),w!==null&&(w=w.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});M:{O=M;var u=z,a=$,v1=H;switch(u.tag){case mz:if(u=u.payload,typeof u==="function"){E6=!0;var B1=u.call(v1,_,a);if(O.mode&T0){_1(!0);try{u.call(v1,_,a)}finally{_1(!1)}}E6=!1,_=B1;break M}_=u;break M;case R9:O.flags=O.flags&-65537|128;case yz:if(B1=u.payload,typeof B1==="function"){if(E6=!0,u=B1.call(v1,_,a),O.mode&T0){_1(!0);try{B1.call(v1,_,a)}finally{_1(!1)}}E6=!1}else u=B1;if(u===null||u===void 0)break M;_=Y1({},_,u);break M;case fz:u4=!0}}O=z.callback,O!==null&&(M.flags|=64,I&&(M.flags|=8192),I=X.callbacks,I===null?X.callbacks=[O]:I.push(O))}else I={lane:O,tag:z.tag,payload:z.payload,callback:z.callback,next:null},w===null?(R=w=I,U=_):w=w.next=I,Y|=O;if(z=z.next,z===null)if(z=X.shared.pending,z===null)break;else I=z,z=I.next,I.next=null,X.lastBaseUpdate=I,X.shared.pending=null}while(1);w===null&&(U=_),X.baseState=U,X.firstBaseUpdate=R,X.lastBaseUpdate=w,Z===null&&(X.shared.lanes=0),p4|=Y,M.lanes=Y,M.memoizedState=_}J9=null}function GX(M,$){if(typeof M!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+M);M.call($)}function DR(M,$){var H=M.shared.hiddenCallbacks;if(H!==null)for(M.shared.hiddenCallbacks=null,M=0;M<H.length;M++)GX(H[M],$)}function XX(M,$){var H=M.callbacks;if(H!==null)for(M.callbacks=null,M=0;M<H.length;M++)GX(H[M],$)}function ZX(M,$){var H=aM;z1(tH,H,M),z1(V6,$,M),aM=H|$.baseLanes}function G3(M){z1(tH,aM,M),z1(V6,V6.current,M)}function X3(M){aM=tH.current,L1(V6,M),L1(tH,M)}function U1(){var M=W;BM===null?BM=[M]:BM.push(M)}function x(){var M=W;if(BM!==null&&(K4++,BM[K4]!==M)){var $=m(t);if(!hz.has($)&&(hz.add($),BM!==null)){for(var H="",G=0;G<=K4;G++){var X=BM[G],Z=G===K4?M:X;for(X=G+1+". "+X;30>X.length;)X+=" ";X+=Z+`
|
|
`,H+=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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`,$,H)}}}function n2(M){M===void 0||M===null||B0(M)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",W,typeof M)}function n$(){var M=m(t);lz.has(M)||(lz.add(M),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",M))}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 Z3(M,$){if(Y$)return!1;if($===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.",W),!1;M.length!==$.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`,W,"["+$.join(", ")+"]","["+M.join(", ")+"]");for(var H=0;H<$.length&&H<M.length;H++)if(!I0(M[H],$[H]))return!1;return!0}function Y3(M,$,H,G,X,Z){if(h4=Z,t=$,BM=M!==null?M._debugHookTypes:null,K4=-1,Y$=M!==null&&M.type!==$.type,Object.prototype.toString.call(H)==="[object AsyncFunction]"||Object.prototype.toString.call(H)==="[object AsyncGeneratorFunction]")Z=m(t),q9.has(Z)||(q9.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+">"));$.memoizedState=null,$.updateQueue=null,$.lanes=0,T.H=M!==null&&M.memoizedState!==null?O9:BM!==null?pz:K9,L2=Z=($.mode&T0)!==g1;var Y=P9(H,G,X);if(L2=!1,D6&&(Y=z3($,H,G,X)),Z){_1(!0);try{Y=z3($,H,G,X)}finally{_1(!1)}}return YX(M,$),Y}function YX(M,$){$._debugHookTypes=BM,$.dependencies===null?q4!==null&&($.dependencies={lanes:0,firstContext:null,_debugThenableState:q4}):$.dependencies._debugThenableState=q4,T.H=$5;var H=C1!==null&&C1.next!==null;if(h4=0,BM=W=a1=C1=t=null,K4=-1,M!==null&&(M.flags&65011712)!==($.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),eH=!1,Z$=0,q4=null,H)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");M===null||Y0||(M=M.dependencies,M!==null&&l$(M)&&(Y0=!0)),iH?(iH=!1,M=!0):M=!1,M&&($=m($)||"Unknown",dz.has($)||q9.has($)||(dz.add($),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 z3(M,$,H,G){t=M;var X=0;do{if(D6&&(q4=null),Z$=0,D6=!1,X>=Hq)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(X+=1,Y$=!1,a1=C1=null,M.updateQueue!=null){var Z=M.updateQueue;Z.lastEffect=null,Z.events=null,Z.stores=null,Z.memoCache!=null&&(Z.memoCache.index=0)}K4=-1,T.H=cz,Z=P9($,H,G)}while(D6);return Z}function vR(){var M=T.H,$=M.useState()[0];return $=typeof $.then==="function"?_8($):$,M=M.useState()[0],(C1!==null?C1.memoizedState:null)!==M&&(t.flags|=1024),$}function Q3(){var M=M5!==0;return M5=0,M}function U3(M,$,H){$.updateQueue=M.updateQueue,$.flags=($.mode&jM)!==g1?$.flags&-402655237:$.flags&-2053,M.lanes&=~H}function R3(M){if(eH){for(M=M.memoizedState;M!==null;){var $=M.queue;$!==null&&($.pending=null),M=M.next}eH=!1}h4=0,BM=a1=C1=t=null,K4=-1,W=null,D6=!1,Z$=M5=0,q4=null}function v0(){var M={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return a1===null?t.memoizedState=a1=M:a1=a1.next=M,a1}function N1(){if(C1===null){var M=t.alternate;M=M!==null?M.memoizedState:null}else M=C1.next;var $=a1===null?t.memoizedState:a1.next;if($!==null)a1=$,C1=M;else{if(M===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=M,M={memoizedState:C1.memoizedState,baseState:C1.baseState,baseQueue:C1.baseQueue,queue:C1.queue,next:null},a1===null?t.memoizedState=a1=M:a1=a1.next=M}return a1}function J3(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function _8(M){var $=Z$;return Z$+=1,q4===null&&(q4=tG()),M=MX(q4,M,$),$=t,(a1===null?$.memoizedState:a1.next)===null&&($=$.alternate,T.H=$!==null&&$.memoizedState!==null?O9:K9),M}function N4(M){if(M!==null&&typeof M==="object"){if(typeof M.then==="function")return _8(M);if(M.$$typeof===fM)return y1(M)}throw Error("An unsupported type was passed to use(): "+String(M))}function B2(M){var $=null,H=t.updateQueue;if(H!==null&&($=H.memoCache),$==null){var G=t.alternate;G!==null&&(G=G.updateQueue,G!==null&&(G=G.memoCache,G!=null&&($={data:G.data.map(function(X){return X.slice()}),index:0})))}if($==null&&($={data:[],index:0}),H===null&&(H=J3(),t.updateQueue=H),H.memoCache=$,H=$.data[$.index],H===void 0||Y$)for(H=$.data[$.index]=Array(M),G=0;G<M;G++)H[G]=dJ;else H.length!==M&&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.",H.length,M);return $.index++,H}function AM(M,$){return typeof $==="function"?$(M):$}function B3(M,$,H){var G=v0();if(H!==void 0){var X=H($);if(L2){_1(!0);try{H($)}finally{_1(!1)}}}else X=$;return G.memoizedState=G.baseState=X,M={pending:null,lanes:0,dispatch:null,lastRenderedReducer:M,lastRenderedState:X},G.queue=M,M=M.dispatch=kR.bind(null,t,M),[G.memoizedState,M]}function i2(M){var $=N1();return q3($,C1,M)}function q3(M,$,H){var G=M.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=H;var X=M.baseQueue,Z=G.pending;if(Z!==null){if(X!==null){var Y=X.next;X.next=Z.next,Z.next=Y}$.baseQueue!==X&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),$.baseQueue=X=Z,G.pending=null}if(Z=M.baseState,X===null)M.memoizedState=Z;else{$=X.next;var z=Y=null,U=null,R=$,w=!1;do{var _=R.lane&-536870913;if(_!==R.lane?(R1&_)===_:(h4&_)===_){var O=R.revertLane;if(O===0)U!==null&&(U=U.next={lane:0,revertLane:0,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null}),_===I2&&(w=!0);else if((h4&O)===O){R=R.next,O===I2&&(w=!0);continue}else _={lane:0,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},U===null?(z=U=_,Y=Z):U=U.next=_,t.lanes|=O,p4|=O;_=R.action,L2&&H(Z,_),Z=R.hasEagerState?R.eagerState:H(Z,_)}else O={lane:_,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},U===null?(z=U=O,Y=Z):U=U.next=O,t.lanes|=_,p4|=_;R=R.next}while(R!==null&&R!==$);if(U===null?Y=Z:U.next=z,!I0(Z,M.memoizedState)&&(Y0=!0,w&&(H=x6,H!==null)))throw H;M.memoizedState=Z,M.baseState=Y,M.baseQueue=U,G.lastRenderedState=Z}return X===null&&(G.lanes=0),[M.memoizedState,G.dispatch]}function A8(M){var $=N1(),H=$.queue;if(H===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");H.lastRenderedReducer=M;var{dispatch:G,pending:X}=H,Z=$.memoizedState;if(X!==null){H.pending=null;var Y=X=X.next;do Z=M(Z,Y.action),Y=Y.next;while(Y!==X);I0(Z,$.memoizedState)||(Y0=!0),$.memoizedState=Z,$.baseQueue===null&&($.baseState=Z),H.lastRenderedState=Z}return[Z,G]}function K3(M,$,H){var G=t,X=v0();if(O1){if(H===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var Z=H();C6||Z===H()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),C6=!0)}else{if(Z=$(),C6||(H=$(),I0(Z,H)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),C6=!0)),D1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(R1&124)!==0||zX(G,$,Z)}return X.memoizedState=Z,H={value:Z,getSnapshot:$},X.queue=H,$H(UX.bind(null,G,H,M),[M]),G.flags|=2048,e2(JM|M0,MH(),QX.bind(null,G,H,Z,$),null),Z}function i$(M,$,H){var G=t,X=N1(),Z=O1;if(Z){if(H===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");H=H()}else if(H=$(),!C6){var Y=$();I0(H,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),C6=!0)}if(Y=!I0((C1||X).memoizedState,H))X.memoizedState=H,Y0=!0;X=X.queue;var z=UX.bind(null,G,X,M);if(g0(2048,M0,z,[M]),X.getSnapshot!==$||Y||a1!==null&&a1.memoizedState.tag&JM){if(G.flags|=2048,e2(JM|M0,MH(),QX.bind(null,G,X,H,$),null),D1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Z||(h4&124)!==0||zX(G,$,H)}return H}function zX(M,$,H){M.flags|=16384,M={getSnapshot:$,value:H},$=t.updateQueue,$===null?($=J3(),t.updateQueue=$,$.stores=[M]):(H=$.stores,H===null?$.stores=[M]:H.push(M))}function QX(M,$,H,G){$.value=H,$.getSnapshot=G,RX($)&&JX(M)}function UX(M,$,H){return H(function(){RX($)&&JX(M)})}function RX(M){var $=M.getSnapshot;M=M.value;try{var H=$();return!I0(M,H)}catch(G){return!0}}function JX(M){var $=D0(M,2);$!==null&&c1($,M,2)}function O3(M){var $=v0();if(typeof M==="function"){var H=M;if(M=H(),L2){_1(!0);try{H()}finally{_1(!1)}}}return $.memoizedState=$.baseState=M,$.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:AM,lastRenderedState:M},$}function P3(M){M=O3(M);var $=M.queue,H=CX.bind(null,t,$);return $.dispatch=H,[M.memoizedState,H]}function w3(M){var $=v0();$.memoizedState=$.baseState=M;var H={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return $.queue=H,$=C3.bind(null,t,!0,H),H.dispatch=$,[M,$]}function BX(M,$){var H=N1();return qX(H,C1,M,$)}function qX(M,$,H,G){return M.baseState=H,q3(M,C1,typeof G==="function"?G:AM)}function KX(M,$){var H=N1();if(C1!==null)return qX(H,C1,M,$);return H.baseState=M,[M,H.queue.dispatch]}function gR(M,$,H,G,X){if(ZH(M))throw Error("Cannot update form state while rendering.");if(M=$.action,M!==null){var Z={payload:X,action:M,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(Y){Z.listeners.push(Y)}};T.T!==null?H(!0):Z.isTransition=!1,G(Z),H=$.pending,H===null?(Z.next=$.pending=Z,OX($,Z)):(Z.next=H.next,$.pending=H.next=Z)}}function OX(M,$){var{action:H,payload:G}=$,X=M.state;if($.isTransition){var Z=T.T,Y={};T.T=Y,T.T._updatedFibers=new Set;try{var z=H(X,G),U=T.S;U!==null&&U(Y,z),PX(M,$,z)}catch(R){W3(M,$,R)}finally{T.T=Z,Z===null&&Y._updatedFibers&&(M=Y._updatedFibers.size,Y._updatedFibers.clear(),10<M&&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=H(X,G),PX(M,$,Y)}catch(R){W3(M,$,R)}}function PX(M,$,H){H!==null&&typeof H==="object"&&typeof H.then==="function"?(H.then(function(G){wX(M,$,G)},function(G){return W3(M,$,G)}),$.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.")):wX(M,$,H)}function wX(M,$,H){$.status="fulfilled",$.value=H,WX($),M.state=H,$=M.pending,$!==null&&(H=$.next,H===$?M.pending=null:(H=H.next,$.next=H,OX(M,H)))}function W3(M,$,H){var G=M.pending;if(M.pending=null,G!==null){G=G.next;do $.status="rejected",$.reason=H,WX($),$=$.next;while($!==G)}M.action=null}function WX(M){M=M.listeners;for(var $=0;$<M.length;$++)(0,M[$])()}function TX(M,$){return $}function t2(M,$){if(O1){var H=D1.formState;if(H!==null){M:{var G=t;if(O1){if(h1){$:{var X=h1;for(var Z=cM;X.nodeType!==8;){if(!Z){X=null;break $}if(X=XM(X.nextSibling),X===null){X=null;break $}}Z=X.data,X=Z===d9||Z===lQ?X:null}if(X){h1=XM(X.nextSibling),G=X.data===d9;break M}}U2(G)}G=!1}G&&($=H[0])}}return H=v0(),H.memoizedState=H.baseState=$,G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:TX,lastRenderedState:$},H.queue=G,H=CX.bind(null,t,G),G.dispatch=H,G=O3(!1),Z=C3.bind(null,t,!1,G.queue),G=v0(),X={state:$,dispatch:null,action:M,pending:null},G.queue=X,H=gR.bind(null,t,X,Z,H),X.dispatch=H,G.memoizedState=M,[$,H,!1]}function t$(M){var $=N1();return _X($,C1,M)}function _X(M,$,H){if($=q3(M,$,TX)[0],M=i2(AM)[0],typeof $==="object"&&$!==null&&typeof $.then==="function")try{var G=_8($)}catch(Y){if(Y===G$)throw nH;throw Y}else G=$;$=N1();var X=$.queue,Z=X.dispatch;return H!==$.memoizedState&&(t.flags|=2048,e2(JM|M0,MH(),SR.bind(null,X,H),null)),[G,Z,M]}function SR(M,$){M.action=$}function e$(M){var $=N1(),H=C1;if(H!==null)return _X($,H,M);N1(),$=$.memoizedState,H=N1();var G=H.queue.dispatch;return H.memoizedState=M,[$,G,!1]}function e2(M,$,H,G){return M={tag:M,create:H,deps:G,inst:$,next:null},$=t.updateQueue,$===null&&($=J3(),t.updateQueue=$),H=$.lastEffect,H===null?$.lastEffect=M.next=M:(G=H.next,H.next=M,M.next=G,$.lastEffect=M),M}function MH(){return{destroy:void 0,resource:void 0}}function T3(M){var $=v0();return M={current:M},$.memoizedState=M}function q2(M,$,H,G){var X=v0();G=G===void 0?null:G,t.flags|=M,X.memoizedState=e2(JM|$,MH(),H,G)}function g0(M,$,H,G){var X=N1();G=G===void 0?null:G;var Z=X.memoizedState.inst;C1!==null&&G!==null&&Z3(G,C1.memoizedState.deps)?X.memoizedState=e2($,Z,H,G):(t.flags|=M,X.memoizedState=e2(JM|$,Z,H,G))}function $H(M,$){(t.mode&jM)!==g1&&(t.mode&Nz)===g1?q2(276826112,M0,M,$):q2(8390656,M0,M,$)}function _3(M,$){var H=4194308;return(t.mode&jM)!==g1&&(H|=134217728),q2(H,K0,M,$)}function AX(M,$){if(typeof $==="function"){M=M();var H=$(M);return function(){typeof H==="function"?H():$(null)}}if($!==null&&$!==void 0)return $.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($).join(", ")+"}"),M=M(),$.current=M,function(){$.current=null}}function A3(M,$,H){typeof $!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",$!==null?typeof $:"null"),H=H!==null&&H!==void 0?H.concat([M]):null;var G=4194308;(t.mode&jM)!==g1&&(G|=134217728),q2(G,K0,AX.bind(null,$,M),H)}function HH(M,$,H){typeof $!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",$!==null?typeof $:"null"),H=H!==null&&H!==void 0?H.concat([M]):null,g0(4,K0,AX.bind(null,$,M),H)}function I3(M,$){return v0().memoizedState=[M,$===void 0?null:$],M}function GH(M,$){var H=N1();$=$===void 0?null:$;var G=H.memoizedState;if($!==null&&Z3($,G[1]))return G[0];return H.memoizedState=[M,$],M}function F3(M,$){var H=v0();$=$===void 0?null:$;var G=M();if(L2){_1(!0);try{M()}finally{_1(!1)}}return H.memoizedState=[G,$],G}function XH(M,$){var H=N1();$=$===void 0?null:$;var G=H.memoizedState;if($!==null&&Z3($,G[1]))return G[0];if(G=M(),L2){_1(!0);try{M()}finally{_1(!1)}}return H.memoizedState=[G,$],G}function j3(M,$){var H=v0();return L3(H,M,$)}function IX(M,$){var H=N1();return jX(H,C1.memoizedState,M,$)}function FX(M,$){var H=N1();return C1===null?L3(H,M,$):jX(H,C1.memoizedState,M,$)}function L3(M,$,H){if(H===void 0||(h4&1073741824)!==0)return M.memoizedState=$;return M.memoizedState=H,M=LZ(),t.lanes|=M,p4|=M,H}function jX(M,$,H,G){if(I0(H,$))return H;if(V6.current!==null)return M=L3(M,H,G),I0(M,$)||(Y0=!0),M;if((h4&42)===0)return Y0=!0,M.memoizedState=H;return M=LZ(),t.lanes|=M,p4|=M,$}function LX(M,$,H,G,X){var Z=I1.p;I1.p=Z!==0&&Z<FM?Z:FM;var Y=T.T,z={};T.T=z,C3(M,!1,$,H),z._updatedFibers=new Set;try{var U=X(),R=T.S;if(R!==null&&R(z,U),U!==null&&typeof U==="object"&&typeof U.then==="function"){var w=CR(U,G);I8(M,$,w,c0(M))}else I8(M,$,G,c0(M))}catch(_){I8(M,$,{then:function(){},status:"rejected",reason:_},c0(M))}finally{I1.p=Z,T.T=Y,Y===null&&z._updatedFibers&&(M=z._updatedFibers.size,z._updatedFibers.clear(),10<M&&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 E3(M,$,H,G){if(M.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var X=EX(M).queue;LX(M,X,$,k2,H===null?V:function(){return NX(M),H(G)})}function EX(M){var $=M.memoizedState;if($!==null)return $;$={memoizedState:k2,baseState:k2,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:AM,lastRenderedState:k2},next:null};var H={};return $.next={memoizedState:H,baseState:H,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:AM,lastRenderedState:H},next:null},M.memoizedState=$,M=M.alternate,M!==null&&(M.memoizedState=$),$}function NX(M){T.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var $=EX(M).next.queue;I8(M,$,{},c0(M))}function N3(){var M=O3(!1);return M=LX.bind(null,t,M.queue,!0,!1),v0().memoizedState=M,[!1,M]}function xX(){var M=i2(AM)[0],$=N1().memoizedState;return[typeof M==="boolean"?M:_8(M),$]}function VX(){var M=A8(AM)[0],$=N1().memoizedState;return[typeof M==="boolean"?M:_8(M),$]}function K2(){return y1(F$)}function x3(){var M=v0(),$=D1.identifierPrefix;if(O1){var H=J4,G=R4;H=(G&~(1<<32-_0(G)-1)).toString(32)+H,$="«"+$+"R"+H,H=M5++,0<H&&($+="H"+H.toString(32)),$+="»"}else H=$q++,$="«"+$+"r"+H.toString(32)+"»";return M.memoizedState=$}function V3(){return v0().memoizedState=bR.bind(null,t)}function bR(M,$){for(var H=M.return;H!==null;){switch(H.tag){case 24:case 3:var G=c0(H);M=L4(G);var X=E4(H,M,G);X!==null&&(c1(X,H,G),w8(X,H,G)),H=i5(),$!==null&&$!==void 0&&X!==null&&console.error("The seed argument is not enabled outside experimental channels."),M.payload={cache:H};return}H=H.return}}function kR(M,$,H){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(M);var X={lane:G,revertLane:0,action:H,hasEagerState:!1,eagerState:null,next:null};ZH(M)?DX($,X):(X=f5(M,$,X,G),X!==null&&(c1(X,M,G),vX(X,$,G))),nM(M,G)}function CX(M,$,H){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(M),I8(M,$,H,G),nM(M,G)}function I8(M,$,H,G){var X={lane:G,revertLane:0,action:H,hasEagerState:!1,eagerState:null,next:null};if(ZH(M))DX($,X);else{var Z=M.alternate;if(M.lanes===0&&(Z===null||Z.lanes===0)&&(Z=$.lastRenderedReducer,Z!==null)){var Y=T.H;T.H=EM;try{var z=$.lastRenderedState,U=Z(z,H);if(X.hasEagerState=!0,X.eagerState=U,I0(U,z))return f$(M,$,X,0),D1===null&&m$(),!1}catch(R){}finally{T.H=Y}}if(H=f5(M,$,X,G),H!==null)return c1(H,M,G),vX(H,$,G),!0}return!1}function C3(M,$,H,G){if(T.T===null&&I2===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:z7(),action:G,hasEagerState:!1,eagerState:null,next:null},ZH(M)){if($)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else $=f5(M,H,G,2),$!==null&&c1($,M,2);nM(M,2)}function ZH(M){var $=M.alternate;return M===t||$!==null&&$===t}function DX(M,$){D6=eH=!0;var H=M.pending;H===null?$.next=$:($.next=H.next,H.next=$),M.pending=$}function vX(M,$,H){if((H&4194048)!==0){var G=$.lanes;G&=M.pendingLanes,H|=G,$.lanes=H,$8(M,H)}}function U0(M){var $=X1;return M!=null&&(X1=$===null?M:$.concat(M)),$}function YH(M,$,H){for(var G=Object.keys(M.props),X=0;X<G.length;X++){var Z=G[X];if(Z!=="children"&&Z!=="key"){$===null&&($=h$(M,H.mode,0),$._debugInfo=X1,$.return=H),l($,function(Y){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Y)},Z);break}}}function zH(M){var $=z$;return z$+=1,v6===null&&(v6=tG()),MX(v6,M,$)}function F8(M,$){$=$.props.ref,M.ref=$!==void 0?$:null}function QH(M,$){if($.$$typeof===uJ)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 M=Object.prototype.toString.call($),Error("Objects are not valid as a React child (found: "+(M==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":M)+"). If you meant to render a collection of children, use an array instead.")}function UH(M,$){var H=m(M)||"Component";YQ[H]||(YQ[H]=!0,$=$.displayName||$.name||"Component",M.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)`,$,$,$):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>`,$,$,H,$,H))}function RH(M,$){var H=m(M)||"Component";zQ[H]||(zQ[H]=!0,$=String($),M.tag===3?console.error(`Symbols are not valid as a React child.
|
|
root.render(%s)`,$):console.error(`Symbols are not valid as a React child.
|
|
<%s>%s</%s>`,H,$,H))}function gX(M){function $(J,B){if(M){var q=J.deletions;q===null?(J.deletions=[B],J.flags|=16):q.push(B)}}function H(J,B){if(!M)return null;for(;B!==null;)$(J,B),B=B.sibling;return null}function G(J){for(var B=new Map;J!==null;)J.key!==null?B.set(J.key,J):B.set(J.index,J),J=J.sibling;return B}function X(J,B){return J=tM(J,B),J.index=0,J.sibling=null,J}function Z(J,B,q){if(J.index=q,!M)return J.flags|=1048576,B;if(q=J.alternate,q!==null)return q=q.index,q<B?(J.flags|=67108866,B):q;return J.flags|=67108866,B}function Y(J){return M&&J.alternate===null&&(J.flags|=67108866),J}function z(J,B,q,F){if(B===null||B.tag!==6)return B=p5(q,J.mode,F),B.return=J,B._debugOwner=J,B._debugTask=J._debugTask,B._debugInfo=X1,B;return B=X(B,q),B.return=J,B._debugInfo=X1,B}function U(J,B,q,F){var g=q.type;if(g===R6)return B=w(J,B,q.props.children,F,q.key),YH(q,B,J),B;if(B!==null&&(B.elementType===g||uG(B,q)||typeof g==="object"&&g!==null&&g.$$typeof===s0&&d4(g)===B.type))return B=X(B,q.props),F8(B,q),B.return=J,B._debugOwner=q._owner,B._debugInfo=X1,B;return B=h$(q,J.mode,F),F8(B,q),B.return=J,B._debugInfo=X1,B}function R(J,B,q,F){if(B===null||B.tag!==4||B.stateNode.containerInfo!==q.containerInfo||B.stateNode.implementation!==q.implementation)return B=c5(q,J.mode,F),B.return=J,B._debugInfo=X1,B;return B=X(B,q.children||[]),B.return=J,B._debugInfo=X1,B}function w(J,B,q,F,g){if(B===null||B.tag!==7)return B=Z2(q,J.mode,F,g),B.return=J,B._debugOwner=J,B._debugTask=J._debugTask,B._debugInfo=X1,B;return B=X(B,q),B.return=J,B._debugInfo=X1,B}function _(J,B,q){if(typeof B==="string"&&B!==""||typeof B==="number"||typeof B==="bigint")return B=p5(""+B,J.mode,q),B.return=J,B._debugOwner=J,B._debugTask=J._debugTask,B._debugInfo=X1,B;if(typeof B==="object"&&B!==null){switch(B.$$typeof){case g4:return q=h$(B,J.mode,q),F8(q,B),q.return=J,J=U0(B._debugInfo),q._debugInfo=X1,X1=J,q;case U6:return B=c5(B,J.mode,q),B.return=J,B._debugInfo=X1,B;case s0:var F=U0(B._debugInfo);return B=d4(B),J=_(J,B,q),X1=F,J}if(B0(B)||n1(B))return q=Z2(B,J.mode,q,null),q.return=J,q._debugOwner=J,q._debugTask=J._debugTask,J=U0(B._debugInfo),q._debugInfo=X1,X1=J,q;if(typeof B.then==="function")return F=U0(B._debugInfo),J=_(J,zH(B),q),X1=F,J;if(B.$$typeof===fM)return _(J,p$(J,B),q);QH(J,B)}return typeof B==="function"&&UH(J,B),typeof B==="symbol"&&RH(J,B),null}function O(J,B,q,F){var g=B!==null?B.key:null;if(typeof q==="string"&&q!==""||typeof q==="number"||typeof q==="bigint")return g!==null?null:z(J,B,""+q,F);if(typeof q==="object"&&q!==null){switch(q.$$typeof){case g4:return q.key===g?(g=U0(q._debugInfo),J=U(J,B,q,F),X1=g,J):null;case U6:return q.key===g?R(J,B,q,F):null;case s0:return g=U0(q._debugInfo),q=d4(q),J=O(J,B,q,F),X1=g,J}if(B0(q)||n1(q)){if(g!==null)return null;return g=U0(q._debugInfo),J=w(J,B,q,F,null),X1=g,J}if(typeof q.then==="function")return g=U0(q._debugInfo),J=O(J,B,zH(q),F),X1=g,J;if(q.$$typeof===fM)return O(J,B,p$(J,q),F);QH(J,q)}return typeof q==="function"&&UH(J,q),typeof q==="symbol"&&RH(J,q),null}function I(J,B,q,F,g){if(typeof F==="string"&&F!==""||typeof F==="number"||typeof F==="bigint")return J=J.get(q)||null,z(B,J,""+F,g);if(typeof F==="object"&&F!==null){switch(F.$$typeof){case g4:return q=J.get(F.key===null?q:F.key)||null,J=U0(F._debugInfo),B=U(B,q,F,g),X1=J,B;case U6:return J=J.get(F.key===null?q:F.key)||null,R(B,J,F,g);case s0:var e=U0(F._debugInfo);return F=d4(F),B=I(J,B,q,F,g),X1=e,B}if(B0(F)||n1(F))return q=J.get(q)||null,J=U0(F._debugInfo),B=w(B,q,F,g,null),X1=J,B;if(typeof F.then==="function")return e=U0(F._debugInfo),B=I(J,B,q,zH(F),g),X1=e,B;if(F.$$typeof===fM)return I(J,B,q,p$(B,F),g);QH(B,F)}return typeof F==="function"&&UH(B,F),typeof F==="symbol"&&RH(B,F),null}function u(J,B,q,F){if(typeof q!=="object"||q===null)return F;switch(q.$$typeof){case g4:case U6:c(J,B,q);var g=q.key;if(typeof g!=="string")break;if(F===null){F=new Set,F.add(g);break}if(!F.has(g)){F.add(g);break}l(B,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.",g)});break;case s0:q=d4(q),u(J,B,q,F)}return F}function a(J,B,q,F){for(var g=null,e=null,h=null,M1=B,H1=B=0,S1=null;M1!==null&&H1<q.length;H1++){M1.index>H1?(S1=M1,M1=null):S1=M1.sibling;var o1=O(J,M1,q[H1],F);if(o1===null){M1===null&&(M1=S1);break}g=u(J,o1,q[H1],g),M&&M1&&o1.alternate===null&&$(J,M1),B=Z(o1,B,H1),h===null?e=o1:h.sibling=o1,h=o1,M1=S1}if(H1===q.length)return H(J,M1),O1&&Y2(J,H1),e;if(M1===null){for(;H1<q.length;H1++)M1=_(J,q[H1],F),M1!==null&&(g=u(J,M1,q[H1],g),B=Z(M1,B,H1),h===null?e=M1:h.sibling=M1,h=M1);return O1&&Y2(J,H1),e}for(M1=G(M1);H1<q.length;H1++)S1=I(M1,J,H1,q[H1],F),S1!==null&&(g=u(J,S1,q[H1],g),M&&S1.alternate!==null&&M1.delete(S1.key===null?H1:S1.key),B=Z(S1,B,H1),h===null?e=S1:h.sibling=S1,h=S1);return M&&M1.forEach(function(_4){return $(J,_4)}),O1&&Y2(J,H1),e}function v1(J,B,q,F){if(q==null)throw Error("An iterable object provided no iterator.");for(var g=null,e=null,h=B,M1=B=0,H1=null,S1=null,o1=q.next();h!==null&&!o1.done;M1++,o1=q.next()){h.index>M1?(H1=h,h=null):H1=h.sibling;var _4=O(J,h,o1.value,F);if(_4===null){h===null&&(h=H1);break}S1=u(J,_4,o1.value,S1),M&&h&&_4.alternate===null&&$(J,h),B=Z(_4,B,M1),e===null?g=_4:e.sibling=_4,e=_4,h=H1}if(o1.done)return H(J,h),O1&&Y2(J,M1),g;if(h===null){for(;!o1.done;M1++,o1=q.next())h=_(J,o1.value,F),h!==null&&(S1=u(J,h,o1.value,S1),B=Z(h,B,M1),e===null?g=h:e.sibling=h,e=h);return O1&&Y2(J,M1),g}for(h=G(h);!o1.done;M1++,o1=q.next())H1=I(h,J,M1,o1.value,F),H1!==null&&(S1=u(J,H1,o1.value,S1),M&&H1.alternate!==null&&h.delete(H1.key===null?M1:H1.key),B=Z(H1,B,M1),e===null?g=H1:e.sibling=H1,e=H1);return M&&h.forEach(function(xq){return $(J,xq)}),O1&&Y2(J,M1),g}function B1(J,B,q,F){if(typeof q==="object"&&q!==null&&q.type===R6&&q.key===null&&(YH(q,null,J),q=q.props.children),typeof q==="object"&&q!==null){switch(q.$$typeof){case g4:var g=U0(q._debugInfo);M:{for(var e=q.key;B!==null;){if(B.key===e){if(e=q.type,e===R6){if(B.tag===7){H(J,B.sibling),F=X(B,q.props.children),F.return=J,F._debugOwner=q._owner,F._debugInfo=X1,YH(q,F,J),J=F;break M}}else if(B.elementType===e||uG(B,q)||typeof e==="object"&&e!==null&&e.$$typeof===s0&&d4(e)===B.type){H(J,B.sibling),F=X(B,q.props),F8(F,q),F.return=J,F._debugOwner=q._owner,F._debugInfo=X1,J=F;break M}H(J,B);break}else $(J,B);B=B.sibling}q.type===R6?(F=Z2(q.props.children,J.mode,F,q.key),F.return=J,F._debugOwner=J,F._debugTask=J._debugTask,F._debugInfo=X1,YH(q,F,J),J=F):(F=h$(q,J.mode,F),F8(F,q),F.return=J,F._debugInfo=X1,J=F)}return J=Y(J),X1=g,J;case U6:M:{g=q;for(q=g.key;B!==null;){if(B.key===q)if(B.tag===4&&B.stateNode.containerInfo===g.containerInfo&&B.stateNode.implementation===g.implementation){H(J,B.sibling),F=X(B,g.children||[]),F.return=J,J=F;break M}else{H(J,B);break}else $(J,B);B=B.sibling}F=c5(g,J.mode,F),F.return=J,J=F}return Y(J);case s0:return g=U0(q._debugInfo),q=d4(q),J=B1(J,B,q,F),X1=g,J}if(B0(q))return g=U0(q._debugInfo),J=a(J,B,q,F),X1=g,J;if(n1(q)){if(g=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 h=e.call(q);if(h===q){if(J.tag!==0||Object.prototype.toString.call(J.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(h)!=="[object Generator]")XQ||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."),XQ=!0}else q.entries!==e||W9||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),W9=!0);return J=v1(J,B,h,F),X1=g,J}if(typeof q.then==="function")return g=U0(q._debugInfo),J=B1(J,B,zH(q),F),X1=g,J;if(q.$$typeof===fM)return B1(J,B,p$(J,q),F);QH(J,q)}if(typeof q==="string"&&q!==""||typeof q==="number"||typeof q==="bigint")return g=""+q,B!==null&&B.tag===6?(H(J,B.sibling),F=X(B,g),F.return=J,J=F):(H(J,B),F=p5(g,J.mode,F),F.return=J,F._debugOwner=J,F._debugTask=J._debugTask,F._debugInfo=X1,J=F),Y(J);return typeof q==="function"&&UH(J,q),typeof q==="symbol"&&RH(J,q),H(J,B)}return function(J,B,q,F){var g=X1;X1=null;try{z$=0;var e=B1(J,B,q,F);return v6=null,e}catch(S1){if(S1===G$||S1===nH)throw S1;var h=b(29,S1,null,J.mode);h.lanes=F,h.return=J;var M1=h._debugInfo=X1;if(h._debugOwner=J._debugOwner,h._debugTask=J._debugTask,M1!=null){for(var H1=M1.length-1;0<=H1;H1--)if(typeof M1[H1].stack==="string"){h._debugOwner=M1[H1],h._debugTask=M1[H1].debugTask;break}}return h}finally{X1=g}}}function x4(M){var $=M.alternate;z1($0,$0.current&S6,M),z1(qM,M,M),oM===null&&($===null||V6.current!==null?oM=M:$.memoizedState!==null&&(oM=M))}function SX(M){if(M.tag===22){if(z1($0,$0.current,M),z1(qM,M,M),oM===null){var $=M.alternate;$!==null&&$.memoizedState!==null&&(oM=M)}}else V4(M)}function V4(M){z1($0,$0.current,M),z1(qM,qM.current,M)}function $4(M){L1(qM,M),oM===M&&(oM=null),L1($0,M)}function JH(M){for(var $=M;$!==null;){if($.tag===13){var H=$.memoizedState;if(H!==null&&(H=H.dehydrated,H===null||H.data===w4||W7(H)))return $}else if($.tag===19&&$.memoizedProps.revealOrder!==void 0){if(($.flags&128)!==0)return $}else if($.child!==null){$.child.return=$,$=$.child;continue}if($===M)break;for(;$.sibling===null;){if($.return===null||$.return===M)return null;$=$.return}$.sibling.return=$.return,$=$.sibling}return null}function D3(M){if(M!==null&&typeof M!=="function"){var $=String(M);TQ.has($)||(TQ.add($),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",M))}}function v3(M,$,H,G){var X=M.memoizedState,Z=H(G,X);if(M.mode&T0){_1(!0);try{Z=H(G,X)}finally{_1(!1)}}Z===void 0&&($=j1($)||"Component",OQ.has($)||(OQ.add($),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",$))),X=Z===null||Z===void 0?X:Y1({},X,Z),M.memoizedState=X,M.lanes===0&&(M.updateQueue.baseState=X)}function bX(M,$,H,G,X,Z,Y){var z=M.stateNode;if(typeof z.shouldComponentUpdate==="function"){if(H=z.shouldComponentUpdate(G,Z,Y),M.mode&T0){_1(!0);try{H=z.shouldComponentUpdate(G,Z,Y)}finally{_1(!1)}}return H===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",j1($)||"Component"),H}return $.prototype&&$.prototype.isPureReactComponent?!R8(H,G)||!R8(X,Z):!0}function kX(M,$,H,G){var X=$.state;typeof $.componentWillReceiveProps==="function"&&$.componentWillReceiveProps(H,G),typeof $.UNSAFE_componentWillReceiveProps==="function"&&$.UNSAFE_componentWillReceiveProps(H,G),$.state!==X&&(M=m(M)||"Component",RQ.has(M)||(RQ.add(M),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",M)),T9.enqueueReplaceState($,$.state,null))}function O2(M,$){var H=$;if("ref"in $){H={};for(var G in $)G!=="ref"&&(H[G]=$[G])}if(M=M.defaultProps){H===$&&(H=Y1({},H));for(var X in M)H[X]===void 0&&(H[X]=M[X])}return H}function yX(M){_9(M),console.warn(`%s
|
|
|
|
%s
|
|
`,b6?"An error occurred in the <"+b6+"> 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 mX(M){var $=b6?"The above error occurred in the <"+b6+"> component.":"The above error occurred in one of your React components.",H="React will try to recreate this component tree from scratch using the error boundary you provided, "+((A9||"Anonymous")+".");if(typeof M==="object"&&M!==null&&typeof M.environmentName==="string"){var G=M.environmentName;M=[`%o
|
|
|
|
%s
|
|
|
|
%s
|
|
`,M,$,H].slice(0),typeof M[0]==="string"?M.splice(0,1,iQ+M[0],tQ,_5+G+_5,eQ):M.splice(0,0,iQ,tQ,_5+G+_5,eQ),M.unshift(console),G=Eq.apply(console.error,M),G()}else console.error(`%o
|
|
|
|
%s
|
|
|
|
%s
|
|
`,M,$,H)}function fX(M){_9(M)}function BH(M,$){try{b6=$.source?m($.source):null,A9=null;var H=$.value;if(T.actQueue!==null)T.thrownErrors.push(H);else{var G=M.onUncaughtError;G(H,{componentStack:$.stack})}}catch(X){setTimeout(function(){throw X})}}function uX(M,$,H){try{b6=H.source?m(H.source):null,A9=m($);var G=M.onCaughtError;G(H.value,{componentStack:H.stack,errorBoundary:$.tag===1?$.stateNode:null})}catch(X){setTimeout(function(){throw X})}}function g3(M,$,H){return H=L4(H),H.tag=R9,H.payload={element:null},H.callback=function(){l($.source,BH,M,$)},H}function S3(M){return M=L4(M),M.tag=R9,M}function b3(M,$,H,G){var X=H.type.getDerivedStateFromError;if(typeof X==="function"){var Z=G.value;M.payload=function(){return X(Z)},M.callback=function(){hG(H),l(G.source,uX,$,H,G)}}var Y=H.stateNode;Y!==null&&typeof Y.componentDidCatch==="function"&&(M.callback=function(){hG(H),l(G.source,uX,$,H,G),typeof X!=="function"&&(s4===null?s4=new Set([this]):s4.add(this)),Gq(this,G),typeof X==="function"||(H.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.",m(H)||"Unknown")})}function yR(M,$,H,G,X){if(H.flags|=32768,IM&&C8(M,X),G!==null&&typeof G==="object"&&typeof G.then==="function"){if($=H.alternate,$!==null&&K8($,H,X,!0),O1&&(B4=!0),H=qM.current,H!==null){switch(H.tag){case 13:return oM===null?M7():H.alternate===null&&d1===P4&&(d1=L9),H.flags&=-257,H.flags|=65536,H.lanes=X,G===U9?H.flags|=16384:($=H.updateQueue,$===null?H.updateQueue=new Set([G]):$.add(G),G7(M,G,X)),!1;case 22:return H.flags|=65536,G===U9?H.flags|=16384:($=H.updateQueue,$===null?($={transitions:null,markerInstances:null,retryQueue:new Set([G])},H.updateQueue=$):(H=$.retryQueue,H===null?$.retryQueue=new Set([G]):H.add(G)),G7(M,G,X)),!1}throw Error("Unexpected Suspense handler tag ("+H.tag+"). This is a bug in React.")}return G7(M,G,X),M7(),!1}if(O1)return B4=!0,$=qM.current,$!==null?(($.flags&65536)===0&&($.flags|=256),$.flags|=65536,$.lanes=X,G!==Z9&&q8(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}),H))):(G!==Z9&&q8(d0(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:G}),H)),M=M.current.alternate,M.flags|=65536,X&=-X,M.lanes|=X,G=d0(G,H),X=g3(M.stateNode,G,X),r$(M,X),d1!==E2&&(d1=f6)),!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}),H);if(O$===null?O$=[Z]:O$.push(Z),d1!==E2&&(d1=f6),$===null)return!0;G=d0(G,H),H=$;do{switch(H.tag){case 3:return H.flags|=65536,M=X&-X,H.lanes|=M,M=g3(H.stateNode,G,M),r$(H,M),!1;case 1:if($=H.type,Z=H.stateNode,(H.flags&128)===0&&(typeof $.getDerivedStateFromError==="function"||Z!==null&&typeof Z.componentDidCatch==="function"&&(s4===null||!s4.has(Z))))return H.flags|=65536,X&=-X,H.lanes|=X,X=S3(X),b3(X,M,H,G),r$(H,X),!1}H=H.return}while(H!==null);return!1}function R0(M,$,H,G){$.child=M===null?QQ($,null,H,G):g6($,M.child,H,G)}function hX(M,$,H,G,X){H=H.render;var Z=$.ref;if("ref"in G){var Y={};for(var z in G)z!=="ref"&&(Y[z]=G[z])}else Y=G;if(R2($),e0($),G=Y3(M,$,H,Y,Z,X),z=Q3(),wM(),M!==null&&!Y0)return U3(M,$,X),H4(M,$,X);return O1&&z&&s5($),$.flags|=1,R0(M,$,G,X),$.child}function dX(M,$,H,G,X){if(M===null){var Z=H.type;if(typeof Z==="function"&&!d5(Z)&&Z.defaultProps===void 0&&H.compare===null)return H=X2(Z),$.tag=15,$.type=H,y3($,Z),lX(M,$,H,G,X);return M=l5(H.type,null,G,$,$.mode,X),M.ref=$.ref,M.return=$,$.child=M}if(Z=M.child,!l3(M,X)){var Y=Z.memoizedProps;if(H=H.compare,H=H!==null?H:R8,H(Y,G)&&M.ref===$.ref)return H4(M,$,X)}return $.flags|=1,M=tM(Z,G),M.ref=$.ref,M.return=$,$.child=M}function lX(M,$,H,G,X){if(M!==null){var Z=M.memoizedProps;if(R8(Z,G)&&M.ref===$.ref&&$.type===M.type)if(Y0=!1,$.pendingProps=G=Z,l3(M,X))(M.flags&131072)!==0&&(Y0=!0);else return $.lanes=M.lanes,H4(M,$,X)}return k3(M,$,H,G,X)}function pX(M,$,H){var G=$.pendingProps,X=G.children,Z=M!==null?M.memoizedState:null;if(G.mode==="hidden"){if(($.flags&128)!==0){if(G=Z!==null?Z.baseLanes|H:H,M!==null){X=$.child=M.child;for(Z=0;X!==null;)Z=Z|X.lanes|X.childLanes,X=X.sibling;$.childLanes=Z&~G}else $.childLanes=0,$.child=null;return cX(M,$,G,H)}if((H&536870912)!==0)$.memoizedState={baseLanes:0,cachePool:null},M!==null&&o$($,Z!==null?Z.cachePool:null),Z!==null?ZX($,Z):G3($),SX($);else return $.lanes=$.childLanes=536870912,cX(M,$,Z!==null?Z.baseLanes|H:H,H)}else Z!==null?(o$($,Z.cachePool),ZX($,Z),V4($),$.memoizedState=null):(M!==null&&o$($,null),G3($),V4($));return R0(M,$,X,H),$.child}function cX(M,$,H,G){var X=M3();return X=X===null?null:{parent:e1._currentValue,pool:X},$.memoizedState={baseLanes:H,cachePool:X},M!==null&&o$($,null),G3($),SX($),M!==null&&K8(M,$,G,!0),null}function qH(M,$){var H=$.ref;if(H===null)M!==null&&M.ref!==null&&($.flags|=4194816);else{if(typeof H!=="function"&&typeof H!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(M===null||M.ref!==H)$.flags|=4194816}}function k3(M,$,H,G,X){if(H.prototype&&typeof H.prototype.render==="function"){var Z=j1(H)||"Unknown";AQ[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),AQ[Z]=!0)}if($.mode&T0&&LM.recordLegacyContextWarning($,null),M===null&&(y3($,$.type),H.contextTypes&&(Z=j1(H)||"Unknown",FQ[Z]||(FQ[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)))),R2($),e0($),H=Y3(M,$,H,G,void 0,X),G=Q3(),wM(),M!==null&&!Y0)return U3(M,$,X),H4(M,$,X);return O1&&G&&s5($),$.flags|=1,R0(M,$,H,X),$.child}function sX(M,$,H,G,X,Z){if(R2($),e0($),K4=-1,Y$=M!==null&&M.type!==$.type,$.updateQueue=null,H=z3($,G,H,X),YX(M,$),G=Q3(),wM(),M!==null&&!Y0)return U3(M,$,Z),H4(M,$,Z);return O1&&G&&s5($),$.flags|=1,R0(M,$,H,Z),$.child}function oX(M,$,H,G,X){switch(p($)){case!1:var Z=$.stateNode,Y=new $.type($.memoizedProps,Z.context).state;Z.updater.enqueueSetState(Z,Y,null);break;case!0:$.flags|=128,$.flags|=65536,Z=Error("Simulated error coming from DevTools");var z=X&-X;if($.lanes|=z,Y=D1,Y===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");z=S3(z),b3(z,Y,$,d0(Z,$)),r$($,z)}if(R2($),$.stateNode===null){if(Y=f4,Z=H.contextType,"contextType"in H&&Z!==null&&(Z===void 0||Z.$$typeof!==fM)&&!WQ.has(H)&&(WQ.add(H),z=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===V7?" 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",j1(H)||"Component",z)),typeof Z==="object"&&Z!==null&&(Y=y1(Z)),Z=new H(G,Y),$.mode&T0){_1(!0);try{Z=new H(G,Y)}finally{_1(!1)}}if(Y=$.memoizedState=Z.state!==null&&Z.state!==void 0?Z.state:null,Z.updater=T9,$.stateNode=Z,Z._reactInternals=$,Z._reactInternalInstance=UQ,typeof H.getDerivedStateFromProps==="function"&&Y===null&&(Y=j1(H)||"Component",JQ.has(Y)||(JQ.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 H.getDerivedStateFromProps==="function"||typeof Z.getSnapshotBeforeUpdate==="function"){var U=z=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?z="componentWillReceiveProps":typeof Z.UNSAFE_componentWillReceiveProps==="function"&&(z="UNSAFE_componentWillReceiveProps"),typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate.__suppressDeprecationWarning!==!0?U="componentWillUpdate":typeof Z.UNSAFE_componentWillUpdate==="function"&&(U="UNSAFE_componentWillUpdate"),Y!==null||z!==null||U!==null){Z=j1(H)||"Component";var R=typeof H.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";qQ.has(Z)||(qQ.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,R,Y!==null?`
|
|
`+Y:"",z!==null?`
|
|
`+z:"",U!==null?`
|
|
`+U:""))}}Z=$.stateNode,Y=j1(H)||"Component",Z.render||(H.prototype&&typeof H.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),H.childContextTypes&&!wQ.has(H)&&(wQ.add(H),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)),H.contextTypes&&!PQ.has(H)&&(PQ.add(H),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),H.prototype&&H.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.",j1(H)||"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),z=Z.props!==G,Z.props!==void 0&&z&&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"||BQ.has(H)||(BQ.add(H),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",j1(H))),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 H.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",Y),(z=Z.state)&&(typeof z!=="object"||B0(z))&&console.error("%s.state: must be set to an object or null",Y),typeof Z.getChildContext==="function"&&typeof H.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",Y),Z=$.stateNode,Z.props=G,Z.state=$.memoizedState,Z.refs={},$3($),Y=H.contextType,Z.context=typeof Y==="object"&&Y!==null?y1(Y):f4,Z.state===G&&(Y=j1(H)||"Component",KQ.has(Y)||(KQ.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))),$.mode&T0&&LM.recordLegacyContextWarning($,Z),LM.recordUnsafeLifecycleWarnings($,Z),Z.state=$.memoizedState,Y=H.getDerivedStateFromProps,typeof Y==="function"&&(v3($,H,Y,G),Z.state=$.memoizedState),typeof H.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.",m($)||"Component"),T9.enqueueReplaceState(Z,Z.state,null)),T8($,G,Z,X),W8(),Z.state=$.memoizedState),typeof Z.componentDidMount==="function"&&($.flags|=4194308),($.mode&jM)!==g1&&($.flags|=134217728),Z=!0}else if(M===null){Z=$.stateNode;var w=$.memoizedProps;z=O2(H,w),Z.props=z;var _=Z.context;U=H.contextType,Y=f4,typeof U==="object"&&U!==null&&(Y=y1(U)),R=H.getDerivedStateFromProps,U=typeof R==="function"||typeof Z.getSnapshotBeforeUpdate==="function",w=$.pendingProps!==w,U||typeof Z.UNSAFE_componentWillReceiveProps!=="function"&&typeof Z.componentWillReceiveProps!=="function"||(w||_!==Y)&&kX($,Z,G,Y),u4=!1;var O=$.memoizedState;Z.state=O,T8($,G,Z,X),W8(),_=$.memoizedState,w||O!==_||u4?(typeof R==="function"&&(v3($,H,R,G),_=$.memoizedState),(z=u4||bX($,H,z,G,O,_,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"&&($.flags|=4194308),($.mode&jM)!==g1&&($.flags|=134217728)):(typeof Z.componentDidMount==="function"&&($.flags|=4194308),($.mode&jM)!==g1&&($.flags|=134217728),$.memoizedProps=G,$.memoizedState=_),Z.props=G,Z.state=_,Z.context=Y,Z=z):(typeof Z.componentDidMount==="function"&&($.flags|=4194308),($.mode&jM)!==g1&&($.flags|=134217728),Z=!1)}else{Z=$.stateNode,H3(M,$),Y=$.memoizedProps,U=O2(H,Y),Z.props=U,R=$.pendingProps,O=Z.context,_=H.contextType,z=f4,typeof _==="object"&&_!==null&&(z=y1(_)),w=H.getDerivedStateFromProps,(_=typeof w==="function"||typeof Z.getSnapshotBeforeUpdate==="function")||typeof Z.UNSAFE_componentWillReceiveProps!=="function"&&typeof Z.componentWillReceiveProps!=="function"||(Y!==R||O!==z)&&kX($,Z,G,z),u4=!1,O=$.memoizedState,Z.state=O,T8($,G,Z,X),W8();var I=$.memoizedState;Y!==R||O!==I||u4||M!==null&&M.dependencies!==null&&l$(M.dependencies)?(typeof w==="function"&&(v3($,H,w,G),I=$.memoizedState),(U=u4||bX($,H,U,G,O,I,z)||M!==null&&M.dependencies!==null&&l$(M.dependencies))?(_||typeof Z.UNSAFE_componentWillUpdate!=="function"&&typeof Z.componentWillUpdate!=="function"||(typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate(G,I,z),typeof Z.UNSAFE_componentWillUpdate==="function"&&Z.UNSAFE_componentWillUpdate(G,I,z)),typeof Z.componentDidUpdate==="function"&&($.flags|=4),typeof Z.getSnapshotBeforeUpdate==="function"&&($.flags|=1024)):(typeof Z.componentDidUpdate!=="function"||Y===M.memoizedProps&&O===M.memoizedState||($.flags|=4),typeof Z.getSnapshotBeforeUpdate!=="function"||Y===M.memoizedProps&&O===M.memoizedState||($.flags|=1024),$.memoizedProps=G,$.memoizedState=I),Z.props=G,Z.state=I,Z.context=z,Z=U):(typeof Z.componentDidUpdate!=="function"||Y===M.memoizedProps&&O===M.memoizedState||($.flags|=4),typeof Z.getSnapshotBeforeUpdate!=="function"||Y===M.memoizedProps&&O===M.memoizedState||($.flags|=1024),Z=!1)}if(z=Z,qH(M,$),Y=($.flags&128)!==0,z||Y){if(z=$.stateNode,x5($),Y&&typeof H.getDerivedStateFromError!=="function")H=null,b0=-1;else{if(e0($),H=az(z),$.mode&T0){_1(!0);try{az(z)}finally{_1(!1)}}wM()}$.flags|=1,M!==null&&Y?($.child=g6($,M.child,null,X),$.child=g6($,null,H,X)):R0(M,$,H,X),$.memoizedState=z.state,M=$.child}else M=H4(M,$,X);return X=$.stateNode,Z&&X.props!==G&&(k6||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",m($)||"a component"),k6=!0),M}function aX(M,$,H,G){return B8(),$.flags|=256,R0(M,$,H,G),$.child}function y3(M,$){$&&$.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
%s.childContextTypes = ...`,$.displayName||$.name||"Component"),typeof $.getDerivedStateFromProps==="function"&&(M=j1($)||"Unknown",jQ[M]||(console.error("%s: Function components do not support getDerivedStateFromProps.",M),jQ[M]=!0)),typeof $.contextType==="object"&&$.contextType!==null&&($=j1($)||"Unknown",IQ[$]||(console.error("%s: Function components do not support contextType.",$),IQ[$]=!0))}function m3(M){return{baseLanes:M,cachePool:iG()}}function f3(M,$,H){return M=M!==null?M.childLanes&~H:0,$&&(M|=i0),M}function rX(M,$,H){var G,X=$.pendingProps;f($)&&($.flags|=128);var Z=!1,Y=($.flags&128)!==0;if((G=Y)||(G=M!==null&&M.memoizedState===null?!1:($0.current&Q$)!==0),G&&(Z=!0,$.flags&=-129),G=($.flags&32)!==0,$.flags&=-33,M===null){if(O1){if(Z?x4($):V4($),O1){var z=h1,U;if(!(U=!z)){M:{var R=z;for(U=cM;R.nodeType!==8;){if(!U){U=null;break M}if(R=XM(R.nextSibling),R===null){U=null;break M}}U=R}U!==null?(z2(),$.memoizedState={dehydrated:U,treeContext:T2!==null?{id:R4,overflow:J4}:null,retryLane:536870912,hydrationErrors:null},R=b(18,null,null,g1),R.stateNode=U,R.return=$,$.child=R,F0=$,h1=null,U=!0):U=!1,U=!U}U&&(a5($,z),U2($))}if(z=$.memoizedState,z!==null&&(z=z.dehydrated,z!==null))return W7(z)?$.lanes=32:$.lanes=536870912,null;$4($)}if(z=X.children,X=X.fallback,Z)return V4($),Z=$.mode,z=KH({mode:"hidden",children:z},Z),X=Z2(X,Z,H,null),z.return=$,X.return=$,z.sibling=X,$.child=z,Z=$.child,Z.memoizedState=m3(H),Z.childLanes=f3(M,G,H),$.memoizedState=F9,X;return x4($),u3($,z)}var w=M.memoizedState;if(w!==null&&(z=w.dehydrated,z!==null)){if(Y)$.flags&256?(x4($),$.flags&=-257,$=h3(M,$,H)):$.memoizedState!==null?(V4($),$.child=M.child,$.flags|=128,$=null):(V4($),Z=X.fallback,z=$.mode,X=KH({mode:"visible",children:X.children},z),Z=Z2(Z,z,H,null),Z.flags|=2,X.return=$,Z.return=$,X.sibling=Z,$.child=X,g6($,M.child,null,H),X=$.child,X.memoizedState=m3(H),X.childLanes=f3(M,G,H),$.memoizedState=F9,$=Z);else if(x4($),O1&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),W7(z)){if(G=z.nextSibling&&z.nextSibling.dataset,G){U=G.dgst;var _=G.msg;R=G.stck;var O=G.cstck}z=_,G=U,X=R,U=Z=O,Z=z?Error(z):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"&&G9.set(Z,X),q8(X),$=h3(M,$,H)}else if(Y0||K8(M,$,H,!1),G=(H&M.childLanes)!==0,Y0||G){if(G=D1,G!==null&&(X=H&-H,X=(X&42)!==0?1:c2(X),X=(X&(G.suspendedLanes|H))!==0?0:X,X!==0&&X!==w.retryLane))throw w.retryLane=X,D0(M,X),c1(G,M,X),_Q;z.data===w4||M7(),$=h3(M,$,H)}else z.data===w4?($.flags|=192,$.child=M.child,$=null):(M=w.treeContext,h1=XM(z.nextSibling),F0=$,O1=!0,_2=null,B4=!1,UM=null,cM=!1,M!==null&&(z2(),zM[QM++]=R4,zM[QM++]=J4,zM[QM++]=T2,R4=M.id,J4=M.overflow,T2=$),$=u3($,X.children),$.flags|=4096);return $}if(Z)return V4($),Z=X.fallback,z=$.mode,U=M.child,R=U.sibling,X=tM(U,{mode:"hidden",children:X.children}),X.subtreeFlags=U.subtreeFlags&65011712,R!==null?Z=tM(R,Z):(Z=Z2(Z,z,H,null),Z.flags|=2),Z.return=$,X.return=$,X.sibling=Z,$.child=X,X=Z,Z=$.child,z=M.child.memoizedState,z===null?z=m3(H):(U=z.cachePool,U!==null?(R=e1._currentValue,U=U.parent!==R?{parent:R,pool:R}:U):U=iG(),z={baseLanes:z.baseLanes|H,cachePool:U}),Z.memoizedState=z,Z.childLanes=f3(M,G,H),$.memoizedState=F9,X;return x4($),H=M.child,M=H.sibling,H=tM(H,{mode:"visible",children:X.children}),H.return=$,H.sibling=null,M!==null&&(G=$.deletions,G===null?($.deletions=[M],$.flags|=16):G.push(M)),$.child=H,$.memoizedState=null,H}function u3(M,$){return $=KH({mode:"visible",children:$},M.mode),$.return=M,M.child=$}function KH(M,$){return M=b(22,M,null,$),M.lanes=0,M.stateNode={_visibility:dH,_pendingMarkers:null,_retryCache:null,_transitions:null},M}function h3(M,$,H){return g6($,M.child,null,H),M=u3($,$.pendingProps.children),M.flags|=2,$.memoizedState=null,M}function nX(M,$,H){M.lanes|=$;var G=M.alternate;G!==null&&(G.lanes|=$),r5(M.return,$,H)}function iX(M,$){var H=B0(M);return M=!H&&typeof n1(M)==="function",H||M?(H=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>",H,$,H),!1):!0}function d3(M,$,H,G,X){var Z=M.memoizedState;Z===null?M.memoizedState={isBackwards:$,rendering:null,renderingStartTime:0,last:G,tail:H,tailMode:X}:(Z.isBackwards=$,Z.rendering=null,Z.renderingStartTime=0,Z.last=G,Z.tail=H,Z.tailMode=X)}function tX(M,$,H){var G=$.pendingProps,X=G.revealOrder,Z=G.tail;if(G=G.children,X!==void 0&&X!=="forwards"&&X!=="backwards"&&X!=="together"&&!LQ[X])if(LQ[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||I9[Z]||(Z!=="collapsed"&&Z!=="hidden"?(I9[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"&&(I9[Z]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',Z)));M:if((X==="forwards"||X==="backwards")&&G!==void 0&&G!==null&&G!==!1)if(B0(G)){for(var Y=0;Y<G.length;Y++)if(!iX(G[Y],Y))break M}else if(Y=n1(G),typeof Y==="function"){if(Y=Y.call(G))for(var z=Y.next(),U=0;!z.done;z=Y.next()){if(!iX(z.value,U))break M;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(R0(M,$,G,H),G=$0.current,(G&Q$)!==0)G=G&S6|Q$,$.flags|=128;else{if(M!==null&&(M.flags&128)!==0)M:for(M=$.child;M!==null;){if(M.tag===13)M.memoizedState!==null&&nX(M,H,$);else if(M.tag===19)nX(M,H,$);else if(M.child!==null){M.child.return=M,M=M.child;continue}if(M===$)break M;for(;M.sibling===null;){if(M.return===null||M.return===$)break M;M=M.return}M.sibling.return=M.return,M=M.sibling}G&=S6}switch(z1($0,G,$),X){case"forwards":H=$.child;for(X=null;H!==null;)M=H.alternate,M!==null&&JH(M)===null&&(X=H),H=H.sibling;H=X,H===null?(X=$.child,$.child=null):(X=H.sibling,H.sibling=null),d3($,!1,X,H,Z);break;case"backwards":H=null,X=$.child;for($.child=null;X!==null;){if(M=X.alternate,M!==null&&JH(M)===null){$.child=X;break}M=X.sibling,X.sibling=H,H=X,X=M}d3($,!0,H,null,Z);break;case"together":d3($,!1,null,null,void 0);break;default:$.memoizedState=null}return $.child}function H4(M,$,H){if(M!==null&&($.dependencies=M.dependencies),b0=-1,p4|=$.lanes,(H&$.childLanes)===0)if(M!==null){if(K8(M,$,H,!1),(H&$.childLanes)===0)return null}else return null;if(M!==null&&$.child!==M.child)throw Error("Resuming work not yet implemented.");if($.child!==null){M=$.child,H=tM(M,M.pendingProps),$.child=H;for(H.return=$;M.sibling!==null;)M=M.sibling,H=H.sibling=tM(M,M.pendingProps),H.return=$;H.sibling=null}return $.child}function l3(M,$){if((M.lanes&$)!==0)return!0;return M=M.dependencies,M!==null&&l$(M)?!0:!1}function mR(M,$,H){switch($.tag){case 3:f0($,$.stateNode.containerInfo),j4($,e1,M.memoizedState.cache),B8();break;case 27:case 5:n($);break;case 4:f0($,$.stateNode.containerInfo);break;case 10:j4($,$.type,$.memoizedProps.value);break;case 12:(H&$.childLanes)!==0&&($.flags|=4),$.flags|=2048;var G=$.stateNode;G.effectDuration=-0,G.passiveEffectDuration=-0;break;case 13:if(G=$.memoizedState,G!==null){if(G.dehydrated!==null)return x4($),$.flags|=128,null;if((H&$.child.childLanes)!==0)return rX(M,$,H);return x4($),M=H4(M,$,H),M!==null?M.sibling:null}x4($);break;case 19:var X=(M.flags&128)!==0;if(G=(H&$.childLanes)!==0,G||(K8(M,$,H,!1),G=(H&$.childLanes)!==0),X){if(G)return tX(M,$,H);$.flags|=128}if(X=$.memoizedState,X!==null&&(X.rendering=null,X.tail=null,X.lastEffect=null),z1($0,$0.current,$),G)break;else return null;case 22:case 23:return $.lanes=0,pX(M,$,H);case 24:j4($,e1,M.memoizedState.cache)}return H4(M,$,H)}function p3(M,$,H){if($._debugNeedsRemount&&M!==null){H=l5($.type,$.key,$.pendingProps,$._debugOwner||null,$.mode,$.lanes),H._debugStack=$._debugStack,H._debugTask=$._debugTask;var G=$.return;if(G===null)throw Error("Cannot swap the root fiber.");if(M.alternate=null,$.alternate=null,H.index=$.index,H.sibling=$.sibling,H.return=$.return,H.ref=$.ref,H._debugInfo=$._debugInfo,$===G.child)G.child=H;else{var X=G.child;if(X===null)throw Error("Expected parent to have a child.");for(;X.sibling!==$;)if(X=X.sibling,X===null)throw Error("Expected to find the previous sibling.");X.sibling=H}return $=G.deletions,$===null?(G.deletions=[M],G.flags|=16):$.push(M),H.flags|=2,H}if(M!==null)if(M.memoizedProps!==$.pendingProps||$.type!==M.type)Y0=!0;else{if(!l3(M,H)&&($.flags&128)===0)return Y0=!1,mR(M,$,H);Y0=(M.flags&131072)!==0?!0:!1}else{if(Y0=!1,G=O1)z2(),G=($.flags&1048576)!==0;G&&(G=$.index,z2(),lG($,pH,G))}switch($.lanes=0,$.tag){case 16:M:if(G=$.pendingProps,M=d4($.elementType),$.type=M,typeof M==="function")d5(M)?(G=O2(M,G),$.tag=1,$.type=M=X2(M),$=oX(null,$,M,G,H)):($.tag=0,y3($,M),$.type=M=X2(M),$=k3(null,$,M,G,H));else{if(M!==void 0&&M!==null){if(X=M.$$typeof,X===m8){$.tag=11,$.type=M=u5(M),$=hX(null,$,M,G,H);break M}else if(X===DH){$.tag=14,$=dX(null,$,M,G,H);break M}}throw $="",M!==null&&typeof M==="object"&&M.$$typeof===s0&&($=" Did you wrap a component in React.lazy() more than once?"),M=j1(M)||M,Error("Element type is invalid. Received a promise that resolves to: "+M+". Lazy element type must resolve to a class or function."+$)}return $;case 0:return k3(M,$,$.type,$.pendingProps,H);case 1:return G=$.type,X=O2(G,$.pendingProps),oX(M,$,G,X,H);case 3:M:{if(f0($,$.stateNode.containerInfo),M===null)throw Error("Should have a current fiber. This is a bug in React.");G=$.pendingProps;var Z=$.memoizedState;X=Z.element,H3(M,$),T8($,G,null,H);var Y=$.memoizedState;if(G=Y.cache,j4($,e1,G),G!==Z.cache&&n5($,[e1],H,!0),W8(),G=Y.element,Z.isDehydrated)if(Z={element:G,isDehydrated:!1,cache:Y.cache},$.updateQueue.baseState=Z,$.memoizedState=Z,$.flags&256){$=aX(M,$,G,H);break M}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."),$),q8(X),$=aX(M,$,G,H);break M}else{switch(M=$.stateNode.containerInfo,M.nodeType){case 9:M=M.body;break;default:M=M.nodeName==="HTML"?M.ownerDocument.body:M}h1=XM(M.firstChild),F0=$,O1=!0,_2=null,B4=!1,UM=null,cM=!0,M=QQ($,null,G,H);for($.child=M;M;)M.flags=M.flags&-3|4096,M=M.sibling}else{if(B8(),G===X){$=H4(M,$,H);break M}R0(M,$,G,H)}$=$.child}return $;case 26:return qH(M,$),M===null?(M=wY($.type,null,$.pendingProps,null))?$.memoizedState=M:O1||(M=$.type,H=$.pendingProps,G=X0(b4.current),G=IH(G).createElement(M),G[W0]=$,G[S0]=H,J0(G,M,H),D(G),$.stateNode=G):$.memoizedState=wY($.type,M.memoizedProps,$.pendingProps,M.memoizedState),null;case 27:return n($),M===null&&O1&&(G=X0(b4.current),X=s(),G=$.stateNode=OY($.type,$.pendingProps,G,X,!1),B4||(X=YY(G,$.type,$.pendingProps,X),X!==null&&(Q2($,0).serverProps=X)),F0=$,cM=!0,X=h1,v4($.type)?(s9=X,h1=XM(G.firstChild)):h1=X),R0(M,$,$.pendingProps.children,H),qH(M,$),M===null&&($.flags|=4194304),$.child;case 5:return M===null&&O1&&(Z=s(),G=b5($.type,Z.ancestorInfo),X=h1,(Y=!X)||(Y=AJ(X,$.type,$.pendingProps,cM),Y!==null?($.stateNode=Y,B4||(Z=YY(Y,$.type,$.pendingProps,Z),Z!==null&&(Q2($,0).serverProps=Z)),F0=$,h1=XM(Y.firstChild),cM=!1,Z=!0):Z=!1,Y=!Z),Y&&(G&&a5($,X),U2($))),n($),X=$.type,Z=$.pendingProps,Y=M!==null?M.memoizedProps:null,G=Z.children,P7(X,Z)?G=null:Y!==null&&P7(X,Y)&&($.flags|=32),$.memoizedState!==null&&(X=Y3(M,$,vR,null,null,H),F$._currentValue=X),qH(M,$),R0(M,$,G,H),$.child;case 6:return M===null&&O1&&(M=$.pendingProps,H=s(),G=H.ancestorInfo.current,M=G!=null?S$(M,G.tag,H.ancestorInfo.implicitRootScope):!0,H=h1,(G=!H)||(G=IJ(H,$.pendingProps,cM),G!==null?($.stateNode=G,F0=$,h1=null,G=!0):G=!1,G=!G),G&&(M&&a5($,H),U2($))),null;case 13:return rX(M,$,H);case 4:return f0($,$.stateNode.containerInfo),G=$.pendingProps,M===null?$.child=g6($,null,G,H):R0(M,$,G,H),$.child;case 11:return hX(M,$,$.type,$.pendingProps,H);case 7:return R0(M,$,$.pendingProps,H),$.child;case 8:return R0(M,$,$.pendingProps.children,H),$.child;case 12:return $.flags|=4,$.flags|=2048,G=$.stateNode,G.effectDuration=-0,G.passiveEffectDuration=-0,R0(M,$,$.pendingProps.children,H),$.child;case 10:return G=$.type,X=$.pendingProps,Z=X.value,"value"in X||EQ||(EQ=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),j4($,G,Z),R0(M,$,X.children,H),$.child;case 9:return X=$.type._context,G=$.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."),R2($),X=y1(X),e0($),G=P9(G,X,void 0),wM(),$.flags|=1,R0(M,$,G,H),$.child;case 14:return dX(M,$,$.type,$.pendingProps,H);case 15:return lX(M,$,$.type,$.pendingProps,H);case 19:return tX(M,$,H);case 31:return G=$.pendingProps,H=$.mode,G={mode:G.mode,children:G.children},M===null?(M=KH(G,H),M.ref=$.ref,$.child=M,M.return=$,$=M):(M=tM(M.child,G),M.ref=$.ref,$.child=M,M.return=$,$=M),$;case 22:return pX(M,$,H);case 24:return R2($),G=y1(e1),M===null?(X=M3(),X===null&&(X=D1,Z=i5(),X.pooledCache=Z,J2(Z),Z!==null&&(X.pooledCacheLanes|=H),X=Z),$.memoizedState={parent:G,cache:X},$3($),j4($,e1,X)):((M.lanes&H)!==0&&(H3(M,$),T8($,null,null,H),W8()),X=M.memoizedState,Z=$.memoizedState,X.parent!==G?(X={parent:G,cache:G},$.memoizedState=X,$.lanes===0&&($.memoizedState=$.updateQueue.baseState=X),j4($,e1,G)):(G=Z.cache,j4($,e1,G),G!==X.cache&&n5($,[e1],H,!0))),R0(M,$,$.pendingProps.children,H),$.child;case 29:throw $.pendingProps}throw Error("Unknown unit of work tag ("+$.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function G4(M){M.flags|=4}function eX(M,$){if($.type!=="stylesheet"||($.state.loading&KM)!==b2)M.flags&=-16777217;else if(M.flags|=16777216,!IY($)){if($=qM.current,$!==null&&((R1&4194048)===R1?oM!==null:(R1&62914560)!==R1&&(R1&536870912)===0||$!==oM))throw X$=U9,kz;M.flags|=8192}}function OH(M,$){$!==null&&(M.flags|=4),M.flags&16384&&($=M.tag!==22?M8():536870912,M.lanes|=$,V2|=$)}function j8(M,$){if(!O1)switch(M.tailMode){case"hidden":$=M.tail;for(var H=null;$!==null;)$.alternate!==null&&(H=$),$=$.sibling;H===null?M.tail=null:H.sibling=null;break;case"collapsed":H=M.tail;for(var G=null;H!==null;)H.alternate!==null&&(G=H),H=H.sibling;G===null?$||M.tail===null?M.tail=null:M.tail.sibling=null:G.sibling=null}}function m1(M){var $=M.alternate!==null&&M.alternate.child===M.child,H=0,G=0;if($)if((M.mode&q0)!==g1){for(var{selfBaseDuration:X,child:Z}=M;Z!==null;)H|=Z.lanes|Z.childLanes,G|=Z.subtreeFlags&65011712,G|=Z.flags&65011712,X+=Z.treeBaseDuration,Z=Z.sibling;M.treeBaseDuration=X}else for(X=M.child;X!==null;)H|=X.lanes|X.childLanes,G|=X.subtreeFlags&65011712,G|=X.flags&65011712,X.return=M,X=X.sibling;else if((M.mode&q0)!==g1){X=M.actualDuration,Z=M.selfBaseDuration;for(var Y=M.child;Y!==null;)H|=Y.lanes|Y.childLanes,G|=Y.subtreeFlags,G|=Y.flags,X+=Y.actualDuration,Z+=Y.treeBaseDuration,Y=Y.sibling;M.actualDuration=X,M.treeBaseDuration=Z}else for(X=M.child;X!==null;)H|=X.lanes|X.childLanes,G|=X.subtreeFlags,G|=X.flags,X.return=M,X=X.sibling;return M.subtreeFlags|=G,M.childLanes=H,$}function fR(M,$,H){var G=$.pendingProps;switch(o5($),$.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return m1($),null;case 1:return m1($),null;case 3:if(H=$.stateNode,G=null,M!==null&&(G=M.memoizedState.cache),$.memoizedState.cache!==G&&($.flags|=2048),eM(e1,$),S($),H.pendingContext&&(H.context=H.pendingContext,H.pendingContext=null),M===null||M.child===null)J8($)?(oG(),G4($)):M===null||M.memoizedState.isDehydrated&&($.flags&256)===0||($.flags|=1024,sG());return m1($),null;case 26:return H=$.memoizedState,M===null?(G4($),H!==null?(m1($),eX($,H)):(m1($),$.flags&=-16777217)):H?H!==M.memoizedState?(G4($),m1($),eX($,H)):(m1($),$.flags&=-16777217):(M.memoizedProps!==G&&G4($),m1($),$.flags&=-16777217),null;case 27:w1($),H=X0(b4.current);var X=$.type;if(M!==null&&$.stateNode!=null)M.memoizedProps!==G&&G4($);else{if(!G){if($.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 m1($),null}M=s(),J8($)?pG($,M):(M=OY(X,G,H,M,!0),$.stateNode=M,G4($))}return m1($),null;case 5:if(w1($),H=$.type,M!==null&&$.stateNode!=null)M.memoizedProps!==G&&G4($);else{if(!G){if($.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 m1($),null}if(X=s(),J8($))pG($,X);else{switch(M=X0(b4.current),b5(H,X.ancestorInfo),X=X.context,M=IH(M),X){case c6:M=M.createElementNS(K6,H);break;case w5:M=M.createElementNS(yH,H);break;default:switch(H){case"svg":M=M.createElementNS(K6,H);break;case"math":M=M.createElementNS(yH,H);break;case"script":M=M.createElement("div"),M.innerHTML="<script></script>",M=M.removeChild(M.firstChild);break;case"select":M=typeof G.is==="string"?M.createElement("select",{is:G.is}):M.createElement("select"),G.multiple?M.multiple=!0:G.size&&(M.size=G.size);break;default:M=typeof G.is==="string"?M.createElement(H,{is:G.is}):M.createElement(H),H.indexOf("-")===-1&&(H!==H.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",H),Object.prototype.toString.call(M)!=="[object HTMLUnknownElement]"||Q4.call(cQ,H)||(cQ[H]=!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)))}}M[W0]=$,M[S0]=G;M:for(X=$.child;X!==null;){if(X.tag===5||X.tag===6)M.appendChild(X.stateNode);else if(X.tag!==4&&X.tag!==27&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===$)break M;for(;X.sibling===null;){if(X.return===null||X.return===$)break M;X=X.return}X.sibling.return=X.return,X=X.sibling}$.stateNode=M;M:switch(J0(M,H,G),H){case"button":case"input":case"select":case"textarea":M=!!G.autoFocus;break M;case"img":M=!0;break M;default:M=!1}M&&G4($)}}return m1($),$.flags&=-16777217,null;case 6:if(M&&$.stateNode!=null)M.memoizedProps!==G&&G4($);else{if(typeof G!=="string"&&$.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(M=X0(b4.current),H=s(),J8($)){M=$.stateNode,H=$.memoizedProps,X=!B4,G=null;var Z=F0;if(Z!==null)switch(Z.tag){case 3:X&&(X=BY(M,H,G),X!==null&&(Q2($,0).serverProps=X));break;case 27:case 5:G=Z.memoizedProps,X&&(X=BY(M,H,G),X!==null&&(Q2($,0).serverProps=X))}M[W0]=$,M=M.nodeValue===H||G!==null&&G.suppressHydrationWarning===!0||$Y(M.nodeValue,H)?!0:!1,M||U2($)}else X=H.ancestorInfo.current,X!=null&&S$(G,X.tag,H.ancestorInfo.implicitRootScope),M=IH(M).createTextNode(G),M[W0]=$,$.stateNode=M}return m1($),null;case 13:if(G=$.memoizedState,M===null||M.memoizedState!==null&&M.memoizedState.dehydrated!==null){if(X=J8($),G!==null&&G.dehydrated!==null){if(M===null){if(!X)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(X=$.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[W0]=$,m1($),($.mode&q0)!==g1&&G!==null&&(X=$.child,X!==null&&($.treeBaseDuration-=X.treeBaseDuration))}else oG(),B8(),($.flags&128)===0&&($.memoizedState=null),$.flags|=4,m1($),($.mode&q0)!==g1&&G!==null&&(X=$.child,X!==null&&($.treeBaseDuration-=X.treeBaseDuration));X=!1}else X=sG(),M!==null&&M.memoizedState!==null&&(M.memoizedState.hydrationErrors=X),X=!0;if(!X){if($.flags&256)return $4($),$;return $4($),null}}if($4($),($.flags&128)!==0)return $.lanes=H,($.mode&q0)!==g1&&s$($),$;return H=G!==null,M=M!==null&&M.memoizedState!==null,H&&(G=$.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&&H&&($.child.flags|=8192),OH($,$.updateQueue),m1($),($.mode&q0)!==g1&&H&&(M=$.child,M!==null&&($.treeBaseDuration-=M.treeBaseDuration)),null;case 4:return S($),M===null&&U7($.stateNode.containerInfo),m1($),null;case 10:return eM($.type,$),m1($),null;case 19:if(L1($0,$),X=$.memoizedState,X===null)return m1($),null;if(G=($.flags&128)!==0,Z=X.rendering,Z===null)if(G)j8(X,!1);else{if(d1!==P4||M!==null&&(M.flags&128)!==0)for(M=$.child;M!==null;){if(Z=JH(M),Z!==null){$.flags|=128,j8(X,!1),M=Z.updateQueue,$.updateQueue=M,OH($,M),$.subtreeFlags=0,M=H;for(H=$.child;H!==null;)dG(H,M),H=H.sibling;return z1($0,$0.current&S6|Q$,$),$.child}M=M.sibling}X.tail!==null&&uM()>Z5&&($.flags|=128,G=!0,j8(X,!1),$.lanes=4194304)}else{if(!G)if(M=JH(Z),M!==null){if($.flags|=128,G=!0,M=M.updateQueue,$.updateQueue=M,OH($,M),j8(X,!0),X.tail===null&&X.tailMode==="hidden"&&!Z.alternate&&!O1)return m1($),null}else 2*uM()-X.renderingStartTime>Z5&&H!==536870912&&($.flags|=128,G=!0,j8(X,!1),$.lanes=4194304);X.isBackwards?(Z.sibling=$.child,$.child=Z):(M=X.last,M!==null?M.sibling=Z:$.child=Z,X.last=Z)}if(X.tail!==null)return M=X.tail,X.rendering=M,X.tail=M.sibling,X.renderingStartTime=uM(),M.sibling=null,H=$0.current,H=G?H&S6|Q$:H&S6,z1($0,H,$),M;return m1($),null;case 22:case 23:return $4($),X3($),G=$.memoizedState!==null,M!==null?M.memoizedState!==null!==G&&($.flags|=8192):G&&($.flags|=8192),G?(H&536870912)!==0&&($.flags&128)===0&&(m1($),$.subtreeFlags&6&&($.flags|=8192)):m1($),H=$.updateQueue,H!==null&&OH($,H.retryQueue),H=null,M!==null&&M.memoizedState!==null&&M.memoizedState.cachePool!==null&&(H=M.memoizedState.cachePool.pool),G=null,$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(G=$.memoizedState.cachePool.pool),G!==H&&($.flags|=2048),M!==null&&L1(F2,$),null;case 24:return H=null,M!==null&&(H=M.memoizedState.cache),$.memoizedState.cache!==H&&($.flags|=2048),eM(e1,$),m1($),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+$.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function uR(M,$){switch(o5($),$.tag){case 1:return M=$.flags,M&65536?($.flags=M&-65537|128,($.mode&q0)!==g1&&s$($),$):null;case 3:return eM(e1,$),S($),M=$.flags,(M&65536)!==0&&(M&128)===0?($.flags=M&-65537|128,$):null;case 26:case 27:case 5:return w1($),null;case 13:if($4($),M=$.memoizedState,M!==null&&M.dehydrated!==null){if($.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");B8()}return M=$.flags,M&65536?($.flags=M&-65537|128,($.mode&q0)!==g1&&s$($),$):null;case 19:return L1($0,$),null;case 4:return S($),null;case 10:return eM($.type,$),null;case 22:case 23:return $4($),X3($),M!==null&&L1(F2,$),M=$.flags,M&65536?($.flags=M&-65537|128,($.mode&q0)!==g1&&s$($),$):null;case 24:return eM(e1,$),null;case 25:return null;default:return null}}function MZ(M,$){switch(o5($),$.tag){case 3:eM(e1,$),S($);break;case 26:case 27:case 5:w1($);break;case 4:S($);break;case 13:$4($);break;case 19:L1($0,$);break;case 10:eM($.type,$);break;case 22:case 23:$4($),X3($),M!==null&&L1(F2,$);break;case 24:eM(e1,$)}}function SM(M){return(M.mode&q0)!==g1}function $Z(M,$){SM(M)?(gM(),L8($,M),vM()):L8($,M)}function c3(M,$,H){SM(M)?(gM(),M6(H,M,$),vM()):M6(H,M,$)}function L8(M,$){try{var H=$.updateQueue,G=H!==null?H.lastEffect:null;if(G!==null){var X=G.next;H=X;do{if((H.tag&M)===M&&((M&M0)!==RM?k!==null&&typeof k.markComponentPassiveEffectMountStarted==="function"&&k.markComponentPassiveEffectMountStarted($):(M&K0)!==RM&&k!==null&&typeof k.markComponentLayoutEffectMountStarted==="function"&&k.markComponentLayoutEffectMountStarted($),G=void 0,(M&j0)!==RM&&(l6=!0),G=l($,Xq,H),(M&j0)!==RM&&(l6=!1),(M&M0)!==RM?k!==null&&typeof k.markComponentPassiveEffectMountStopped==="function"&&k.markComponentPassiveEffectMountStopped():(M&K0)!==RM&&k!==null&&typeof k.markComponentLayoutEffectMountStopped==="function"&&k.markComponentLayoutEffectMountStopped(),G!==void 0&&typeof G!=="function")){var Z=void 0;Z=(H.tag&K0)!==0?"useLayoutEffect":(H.tag&j0)!==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($,function(z,U){console.error("%s must not return anything besides a function, which is used for clean-up.%s",z,U)},Z,Y)}H=H.next}while(H!==X)}}catch(z){x1($,$.return,z)}}function M6(M,$,H){try{var G=$.updateQueue,X=G!==null?G.lastEffect:null;if(X!==null){var Z=X.next;G=Z;do{if((G.tag&M)===M){var Y=G.inst,z=Y.destroy;z!==void 0&&(Y.destroy=void 0,(M&M0)!==RM?k!==null&&typeof k.markComponentPassiveEffectUnmountStarted==="function"&&k.markComponentPassiveEffectUnmountStarted($):(M&K0)!==RM&&k!==null&&typeof k.markComponentLayoutEffectUnmountStarted==="function"&&k.markComponentLayoutEffectUnmountStarted($),(M&j0)!==RM&&(l6=!0),X=$,l(X,Zq,X,H,z),(M&j0)!==RM&&(l6=!1),(M&M0)!==RM?k!==null&&typeof k.markComponentPassiveEffectUnmountStopped==="function"&&k.markComponentPassiveEffectUnmountStopped():(M&K0)!==RM&&k!==null&&typeof k.markComponentLayoutEffectUnmountStopped==="function"&&k.markComponentLayoutEffectUnmountStopped())}G=G.next}while(G!==Z)}}catch(U){x1($,$.return,U)}}function HZ(M,$){SM(M)?(gM(),L8($,M),vM()):L8($,M)}function s3(M,$,H){SM(M)?(gM(),M6(H,M,$),vM()):M6(H,M,$)}function GZ(M){var $=M.updateQueue;if($!==null){var H=M.stateNode;M.type.defaultProps||"ref"in M.memoizedProps||k6||(H.props!==M.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.",m(M)||"instance"),H.state!==M.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.",m(M)||"instance"));try{l(M,XX,$,H)}catch(G){x1(M,M.return,G)}}}function hR(M,$,H){return M.getSnapshotBeforeUpdate($,H)}function dR(M,$){var{memoizedProps:H,memoizedState:G}=$;$=M.stateNode,M.type.defaultProps||"ref"in M.memoizedProps||k6||($.props!==M.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.",m(M)||"instance"),$.state!==M.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.",m(M)||"instance"));try{var X=O2(M.type,H,M.elementType===M.type),Z=l(M,hR,$,X,G);H=NQ,Z!==void 0||H.has(M.type)||(H.add(M.type),l(M,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",m(M))})),$.__reactInternalSnapshotBeforeUpdate=Z}catch(Y){x1(M,M.return,Y)}}function XZ(M,$,H){H.props=O2(M.type,M.memoizedProps),H.state=M.memoizedState,SM(M)?(gM(),l(M,MQ,M,$,H),vM()):l(M,MQ,M,$,H)}function lR(M){var $=M.ref;if($!==null){switch(M.tag){case 26:case 27:case 5:var H=M.stateNode;break;case 30:H=M.stateNode;break;default:H=M.stateNode}if(typeof $==="function")if(SM(M))try{gM(),M.refCleanup=$(H)}finally{vM()}else M.refCleanup=$(H);else typeof $==="string"?console.error("String refs are no longer supported."):$.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",m(M)),$.current=H}}function E8(M,$){try{l(M,lR,M)}catch(H){x1(M,$,H)}}function bM(M,$){var{ref:H,refCleanup:G}=M;if(H!==null)if(typeof G==="function")try{if(SM(M))try{gM(),l(M,G)}finally{vM(M)}else l(M,G)}catch(X){x1(M,$,X)}finally{M.refCleanup=null,M=M.alternate,M!=null&&(M.refCleanup=null)}else if(typeof H==="function")try{if(SM(M))try{gM(),l(M,H,null)}finally{vM(M)}else l(M,H,null)}catch(X){x1(M,$,X)}else H.current=null}function ZZ(M,$,H,G){var X=M.memoizedProps,Z=X.id,Y=X.onCommit;X=X.onRender,$=$===null?"mount":"update",oH&&($="nested-update"),typeof X==="function"&&X(Z,$,M.actualDuration,M.treeBaseDuration,M.actualStartTime,H),typeof Y==="function"&&Y(M.memoizedProps.id,$,G,H)}function pR(M,$,H,G){var X=M.memoizedProps;M=X.id,X=X.onPostCommit,$=$===null?"mount":"update",oH&&($="nested-update"),typeof X==="function"&&X(M,$,G,H)}function YZ(M){var{type:$,memoizedProps:H,stateNode:G}=M;try{l(M,BJ,G,$,H,M)}catch(X){x1(M,M.return,X)}}function o3(M,$,H){try{l(M,qJ,M.stateNode,M.type,H,$,M)}catch(G){x1(M,M.return,G)}}function zZ(M){return M.tag===5||M.tag===3||M.tag===26||M.tag===27&&v4(M.type)||M.tag===4}function a3(M){M:for(;;){for(;M.sibling===null;){if(M.return===null||zZ(M.return))return null;M=M.return}M.sibling.return=M.return;for(M=M.sibling;M.tag!==5&&M.tag!==6&&M.tag!==18;){if(M.tag===27&&v4(M.type))continue M;if(M.flags&2)continue M;if(M.child===null||M.tag===4)continue M;else M.child.return=M,M=M.child}if(!(M.flags&2))return M.stateNode}}function r3(M,$,H){var G=M.tag;if(G===5||G===6)M=M.stateNode,$?(H.nodeType===9?H.body:H.nodeName==="HTML"?H.ownerDocument.body:H).insertBefore(M,$):($=H.nodeType===9?H.body:H.nodeName==="HTML"?H.ownerDocument.body:H,$.appendChild(M),H=H._reactRootContainer,H!==null&&H!==void 0||$.onclick!==null||($.onclick=AH));else if(G!==4&&(G===27&&v4(M.type)&&(H=M.stateNode,$=null),M=M.child,M!==null))for(r3(M,$,H),M=M.sibling;M!==null;)r3(M,$,H),M=M.sibling}function PH(M,$,H){var G=M.tag;if(G===5||G===6)M=M.stateNode,$?H.insertBefore(M,$):H.appendChild(M);else if(G!==4&&(G===27&&v4(M.type)&&(H=M.stateNode),M=M.child,M!==null))for(PH(M,$,H),M=M.sibling;M!==null;)PH(M,$,H),M=M.sibling}function cR(M){for(var $,H=M.return;H!==null;){if(zZ(H)){$=H;break}H=H.return}if($==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch($.tag){case 27:$=$.stateNode,H=a3(M),PH(M,H,$);break;case 5:H=$.stateNode,$.flags&32&&(UY(H),$.flags&=-33),$=a3(M),PH(M,$,H);break;case 3:case 4:$=$.stateNode.containerInfo,H=a3(M),r3(M,H,$);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function QZ(M){var{stateNode:$,memoizedProps:H}=M;try{l(M,EJ,M.type,H,$,M)}catch(G){x1(M,M.return,G)}}function sR(M,$){if(M=M.containerInfo,l9=A5,M=yG(M),m5(M)){if("selectionStart"in M)var H={start:M.selectionStart,end:M.selectionEnd};else M:{H=(H=M.ownerDocument)&&H.defaultView||window;var G=H.getSelection&&H.getSelection();if(G&&G.rangeCount!==0){H=G.anchorNode;var{anchorOffset:X,focusNode:Z}=G;G=G.focusOffset;try{H.nodeType,Z.nodeType}catch(u){H=null;break M}var Y=0,z=-1,U=-1,R=0,w=0,_=M,O=null;$:for(;;){for(var I;;){if(_!==H||X!==0&&_.nodeType!==3||(z=Y+X),_!==Z||G!==0&&_.nodeType!==3||(U=Y+G),_.nodeType===3&&(Y+=_.nodeValue.length),(I=_.firstChild)===null)break;O=_,_=I}for(;;){if(_===M)break $;if(O===H&&++R===X&&(z=Y),O===Z&&++w===G&&(U=Y),(I=_.nextSibling)!==null)break;_=O,O=_.parentNode}_=I}H=z===-1||U===-1?null:{start:z,end:U}}else H=null}H=H||{start:0,end:0}}else H=null;p9={focusedElem:M,selectionRange:H},A5=!1;for(z0=$;z0!==null;)if($=z0,M=$.child,($.subtreeFlags&1024)!==0&&M!==null)M.return=$,z0=M;else for(;z0!==null;){switch(M=$=z0,H=M.alternate,X=M.flags,M.tag){case 0:break;case 11:case 15:break;case 1:(X&1024)!==0&&H!==null&&dR(M,H);break;case 3:if((X&1024)!==0){if(M=M.stateNode.containerInfo,H=M.nodeType,H===9)w7(M);else if(H===1)switch(M.nodeName){case"HEAD":case"HTML":case"BODY":w7(M);break;default:M.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(M=$.sibling,M!==null){M.return=$.return,z0=M;break}z0=$.return}}function UZ(M,$,H){var G=H.flags;switch(H.tag){case 0:case 11:case 15:Z4(M,H),G&4&&$Z(H,K0|JM);break;case 1:if(Z4(M,H),G&4)if(M=H.stateNode,$===null)H.type.defaultProps||"ref"in H.memoizedProps||k6||(M.props!==H.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.",m(H)||"instance"),M.state!==H.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.",m(H)||"instance")),SM(H)?(gM(),l(H,w9,H,M),vM()):l(H,w9,H,M);else{var X=O2(H.type,$.memoizedProps);$=$.memoizedState,H.type.defaultProps||"ref"in H.memoizedProps||k6||(M.props!==H.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.",m(H)||"instance"),M.state!==H.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.",m(H)||"instance")),SM(H)?(gM(),l(H,iz,H,M,X,$,M.__reactInternalSnapshotBeforeUpdate),vM()):l(H,iz,H,M,X,$,M.__reactInternalSnapshotBeforeUpdate)}G&64&&GZ(H),G&512&&E8(H,H.return);break;case 3:if($=M4(),Z4(M,H),G&64&&(G=H.updateQueue,G!==null)){if(X=null,H.child!==null)switch(H.child.tag){case 27:case 5:X=H.child.stateNode;break;case 1:X=H.child.stateNode}try{l(H,XX,G,X)}catch(Y){x1(H,H.return,Y)}}M.effectDuration+=c$($);break;case 27:$===null&&G&4&&QZ(H);case 26:case 5:Z4(M,H),$===null&&G&4&&YZ(H),G&512&&E8(H,H.return);break;case 12:if(G&4){G=M4(),Z4(M,H),M=H.stateNode,M.effectDuration+=P8(G);try{l(H,ZZ,H,$,sH,M.effectDuration)}catch(Y){x1(H,H.return,Y)}}else Z4(M,H);break;case 13:Z4(M,H),G&4&&BZ(M,H),G&64&&(M=H.memoizedState,M!==null&&(M=M.dehydrated,M!==null&&(H=$J.bind(null,H),FJ(M,H))));break;case 22:if(G=H.memoizedState!==null||O4,!G){$=$!==null&&$.memoizedState!==null||s1,X=O4;var Z=s1;O4=G,(s1=$)&&!Z?Y4(M,H,(H.subtreeFlags&8772)!==0):Z4(M,H),O4=X,s1=Z}break;case 30:break;default:Z4(M,H)}}function RZ(M){var $=M.alternate;$!==null&&(M.alternate=null,RZ($)),M.child=null,M.deletions=null,M.sibling=null,M.tag===5&&($=M.stateNode,$!==null&&M2($)),M.stateNode=null,M._debugOwner=null,M.return=null,M.dependencies=null,M.memoizedProps=null,M.memoizedState=null,M.pendingProps=null,M.stateNode=null,M.updateQueue=null}function X4(M,$,H){for(H=H.child;H!==null;)JZ(M,$,H),H=H.sibling}function JZ(M,$,H){if(w0&&typeof w0.onCommitFiberUnmount==="function")try{w0.onCommitFiberUnmount(B6,H)}catch(Z){hM||(hM=!0,console.error("React instrumentation encountered an error: %s",Z))}switch(H.tag){case 26:s1||bM(H,$),X4(M,$,H),H.memoizedState?H.memoizedState.count--:H.stateNode&&(H=H.stateNode,H.parentNode.removeChild(H));break;case 27:s1||bM(H,$);var G=r1,X=k0;v4(H.type)&&(r1=H.stateNode,k0=!1),X4(M,$,H),l(H,g8,H.stateNode),r1=G,k0=X;break;case 5:s1||bM(H,$);case 6:if(G=r1,X=k0,r1=null,X4(M,$,H),r1=G,k0=X,r1!==null)if(k0)try{l(H,PJ,r1,H.stateNode)}catch(Z){x1(H,$,Z)}else try{l(H,OJ,r1,H.stateNode)}catch(Z){x1(H,$,Z)}break;case 18:r1!==null&&(k0?(M=r1,RY(M.nodeType===9?M.body:M.nodeName==="HTML"?M.ownerDocument.body:M,H.stateNode),y8(M)):RY(r1,H.stateNode));break;case 4:G=r1,X=k0,r1=H.stateNode.containerInfo,k0=!0,X4(M,$,H),r1=G,k0=X;break;case 0:case 11:case 14:case 15:s1||M6(j0,H,$),s1||c3(H,$,K0),X4(M,$,H);break;case 1:s1||(bM(H,$),G=H.stateNode,typeof G.componentWillUnmount==="function"&&XZ(H,$,G)),X4(M,$,H);break;case 21:X4(M,$,H);break;case 22:s1=(G=s1)||H.memoizedState!==null,X4(M,$,H),s1=G;break;default:X4(M,$,H)}}function BZ(M,$){if($.memoizedState===null&&(M=$.alternate,M!==null&&(M=M.memoizedState,M!==null&&(M=M.dehydrated,M!==null))))try{l($,LJ,M)}catch(H){x1($,$.return,H)}}function oR(M){switch(M.tag){case 13:case 19:var $=M.stateNode;return $===null&&($=M.stateNode=new xQ),$;case 22:return M=M.stateNode,$=M._retryCache,$===null&&($=M._retryCache=new xQ),$;default:throw Error("Unexpected Suspense handler tag ("+M.tag+"). This is a bug in React.")}}function n3(M,$){var H=oR(M);$.forEach(function(G){var X=HJ.bind(null,M,G);if(!H.has(G)){if(H.add(G),IM)if(y6!==null&&m6!==null)C8(m6,y6);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");G.then(X,X)}})}function l0(M,$){var H=$.deletions;if(H!==null)for(var G=0;G<H.length;G++){var X=M,Z=$,Y=H[G],z=Z;M:for(;z!==null;){switch(z.tag){case 27:if(v4(z.type)){r1=z.stateNode,k0=!1;break M}break;case 5:r1=z.stateNode,k0=!1;break M;case 3:case 4:r1=z.stateNode.containerInfo,k0=!0;break M}z=z.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($.subtreeFlags&13878)for($=$.child;$!==null;)qZ($,M),$=$.sibling}function qZ(M,$){var{alternate:H,flags:G}=M;switch(M.tag){case 0:case 11:case 14:case 15:l0($,M),p0(M),G&4&&(M6(j0|JM,M,M.return),L8(j0|JM,M),c3(M,M.return,K0|JM));break;case 1:l0($,M),p0(M),G&512&&(s1||H===null||bM(H,H.return)),G&64&&O4&&(M=M.updateQueue,M!==null&&(G=M.callbacks,G!==null&&(H=M.shared.hiddenCallbacks,M.shared.hiddenCallbacks=H===null?G:H.concat(G))));break;case 26:var X=NM;if(l0($,M),p0(M),G&512&&(s1||H===null||bM(H,H.return)),G&4)if($=H!==null?H.memoizedState:null,G=M.memoizedState,H===null)if(G===null)if(M.stateNode===null){M:{G=M.type,H=M.memoizedProps,$=X.ownerDocument||X;$:switch(G){case"title":if(X=$.getElementsByTagName("title")[0],!X||X[u8]||X[W0]||X.namespaceURI===K6||X.hasAttribute("itemprop"))X=$.createElement(G),$.head.insertBefore(X,$.querySelector("head > title"));J0(X,G,H),X[W0]=M,D(X),G=X;break M;case"link":var Z=_Y("link","href",$).get(G+(H.href||""));if(Z){for(var Y=0;Y<Z.length;Y++)if(X=Z[Y],X.getAttribute("href")===(H.href==null||H.href===""?null:H.href)&&X.getAttribute("rel")===(H.rel==null?null:H.rel)&&X.getAttribute("title")===(H.title==null?null:H.title)&&X.getAttribute("crossorigin")===(H.crossOrigin==null?null:H.crossOrigin)){Z.splice(Y,1);break $}}X=$.createElement(G),J0(X,G,H),$.head.appendChild(X);break;case"meta":if(Z=_Y("meta","content",$).get(G+(H.content||""))){for(Y=0;Y<Z.length;Y++)if(X=Z[Y],r(H.content,"content"),X.getAttribute("content")===(H.content==null?null:""+H.content)&&X.getAttribute("name")===(H.name==null?null:H.name)&&X.getAttribute("property")===(H.property==null?null:H.property)&&X.getAttribute("http-equiv")===(H.httpEquiv==null?null:H.httpEquiv)&&X.getAttribute("charset")===(H.charSet==null?null:H.charSet)){Z.splice(Y,1);break $}}X=$.createElement(G),J0(X,G,H),$.head.appendChild(X);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+G+'". This is a bug in React.')}X[W0]=M,D(X),G=X}M.stateNode=G}else AY(X,M.type,M.stateNode);else M.stateNode=TY(X,G,M.memoizedProps);else $!==G?($===null?H.stateNode!==null&&(H=H.stateNode,H.parentNode.removeChild(H)):$.count--,G===null?AY(X,M.type,M.stateNode):TY(X,G,M.memoizedProps)):G===null&&M.stateNode!==null&&o3(M,M.memoizedProps,H.memoizedProps);break;case 27:l0($,M),p0(M),G&512&&(s1||H===null||bM(H,H.return)),H!==null&&G&4&&o3(M,M.memoizedProps,H.memoizedProps);break;case 5:if(l0($,M),p0(M),G&512&&(s1||H===null||bM(H,H.return)),M.flags&32){$=M.stateNode;try{l(M,UY,$)}catch(w){x1(M,M.return,w)}}G&4&&M.stateNode!=null&&($=M.memoizedProps,o3(M,$,H!==null?H.memoizedProps:$)),G&1024&&(j9=!0,M.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(l0($,M),p0(M),G&4){if(M.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=M.memoizedProps,H=H!==null?H.memoizedProps:G,$=M.stateNode;try{l(M,KJ,$,H,G)}catch(w){x1(M,M.return,w)}}break;case 3:if(X=M4(),W5=null,Z=NM,NM=FH($.containerInfo),l0($,M),NM=Z,p0(M),G&4&&H!==null&&H.memoizedState.isDehydrated)try{l(M,jJ,$.containerInfo)}catch(w){x1(M,M.return,w)}j9&&(j9=!1,KZ(M)),$.effectDuration+=c$(X);break;case 4:G=NM,NM=FH(M.stateNode.containerInfo),l0($,M),p0(M),NM=G;break;case 12:G=M4(),l0($,M),p0(M),M.stateNode.effectDuration+=P8(G);break;case 13:l0($,M),p0(M),M.child.flags&8192&&M.memoizedState!==null!==(H!==null&&H.memoizedState!==null)&&(C9=uM()),G&4&&(G=M.updateQueue,G!==null&&(M.updateQueue=null,n3(M,G)));break;case 22:X=M.memoizedState!==null;var z=H!==null&&H.memoizedState!==null,U=O4,R=s1;if(O4=U||X,s1=R||z,l0($,M),s1=R,O4=U,p0(M),G&8192)M:for($=M.stateNode,$._visibility=X?$._visibility&~dH:$._visibility|dH,X&&(H===null||z||O4||s1||P2(M)),H=null,$=M;;){if($.tag===5||$.tag===26){if(H===null){z=H=$;try{Z=z.stateNode,X?l(z,wJ,Z):l(z,TJ,z.stateNode,z.memoizedProps)}catch(w){x1(z,z.return,w)}}}else if($.tag===6){if(H===null){z=$;try{Y=z.stateNode,X?l(z,WJ,Y):l(z,_J,Y,z.memoizedProps)}catch(w){x1(z,z.return,w)}}}else if(($.tag!==22&&$.tag!==23||$.memoizedState===null||$===M)&&$.child!==null){$.child.return=$,$=$.child;continue}if($===M)break M;for(;$.sibling===null;){if($.return===null||$.return===M)break M;H===$&&(H=null),$=$.return}H===$&&(H=null),$.sibling.return=$.return,$=$.sibling}G&4&&(G=M.updateQueue,G!==null&&(H=G.retryQueue,H!==null&&(G.retryQueue=null,n3(M,H))));break;case 19:l0($,M),p0(M),G&4&&(G=M.updateQueue,G!==null&&(M.updateQueue=null,n3(M,G)));break;case 30:break;case 21:break;default:l0($,M),p0(M)}}function p0(M){var $=M.flags;if($&2){try{l(M,cR,M)}catch(H){x1(M,M.return,H)}M.flags&=-3}$&4096&&(M.flags&=-4097)}function KZ(M){if(M.subtreeFlags&1024)for(M=M.child;M!==null;){var $=M;KZ($),$.tag===5&&$.flags&1024&&$.stateNode.reset(),M=M.sibling}}function Z4(M,$){if($.subtreeFlags&8772)for($=$.child;$!==null;)UZ(M,$.alternate,$),$=$.sibling}function OZ(M){switch(M.tag){case 0:case 11:case 14:case 15:c3(M,M.return,K0),P2(M);break;case 1:bM(M,M.return);var $=M.stateNode;typeof $.componentWillUnmount==="function"&&XZ(M,M.return,$),P2(M);break;case 27:l(M,g8,M.stateNode);case 26:case 5:bM(M,M.return),P2(M);break;case 22:M.memoizedState===null&&P2(M);break;case 30:P2(M);break;default:P2(M)}}function P2(M){for(M=M.child;M!==null;)OZ(M),M=M.sibling}function PZ(M,$,H,G){var X=H.flags;switch(H.tag){case 0:case 11:case 15:Y4(M,H,G),$Z(H,K0);break;case 1:if(Y4(M,H,G),$=H.stateNode,typeof $.componentDidMount==="function"&&l(H,w9,H,$),$=H.updateQueue,$!==null){M=H.stateNode;try{l(H,DR,$,M)}catch(Z){x1(H,H.return,Z)}}G&&X&64&&GZ(H),E8(H,H.return);break;case 27:QZ(H);case 26:case 5:Y4(M,H,G),G&&$===null&&X&4&&YZ(H),E8(H,H.return);break;case 12:if(G&&X&4){X=M4(),Y4(M,H,G),G=H.stateNode,G.effectDuration+=P8(X);try{l(H,ZZ,H,$,sH,G.effectDuration)}catch(Z){x1(H,H.return,Z)}}else Y4(M,H,G);break;case 13:Y4(M,H,G),G&&X&4&&BZ(M,H);break;case 22:H.memoizedState===null&&Y4(M,H,G),E8(H,H.return);break;case 30:break;default:Y4(M,H,G)}}function Y4(M,$,H){H=H&&($.subtreeFlags&8772)!==0;for($=$.child;$!==null;)PZ(M,$.alternate,$,H),$=$.sibling}function i3(M,$){var H=null;M!==null&&M.memoizedState!==null&&M.memoizedState.cachePool!==null&&(H=M.memoizedState.cachePool.pool),M=null,$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(M=$.memoizedState.cachePool.pool),M!==H&&(M!=null&&J2(M),H!=null&&O8(H))}function t3(M,$){M=null,$.alternate!==null&&(M=$.alternate.memoizedState.cache),$=$.memoizedState.cache,$!==M&&(J2($),M!=null&&O8(M))}function kM(M,$,H,G){if($.subtreeFlags&10256)for($=$.child;$!==null;)wZ(M,$,H,G),$=$.sibling}function wZ(M,$,H,G){var X=$.flags;switch($.tag){case 0:case 11:case 15:kM(M,$,H,G),X&2048&&HZ($,M0|JM);break;case 1:kM(M,$,H,G);break;case 3:var Z=M4();kM(M,$,H,G),X&2048&&(H=null,$.alternate!==null&&(H=$.alternate.memoizedState.cache),$=$.memoizedState.cache,$!==H&&(J2($),H!=null&&O8(H))),M.passiveEffectDuration+=c$(Z);break;case 12:if(X&2048){X=M4(),kM(M,$,H,G),M=$.stateNode,M.passiveEffectDuration+=P8(X);try{l($,pR,$,$.alternate,sH,M.passiveEffectDuration)}catch(z){x1($,$.return,z)}}else kM(M,$,H,G);break;case 13:kM(M,$,H,G);break;case 23:break;case 22:Z=$.stateNode;var Y=$.alternate;$.memoizedState!==null?Z._visibility&U4?kM(M,$,H,G):N8(M,$):Z._visibility&U4?kM(M,$,H,G):(Z._visibility|=U4,$6(M,$,H,G,($.subtreeFlags&10256)!==0)),X&2048&&i3(Y,$);break;case 24:kM(M,$,H,G),X&2048&&t3($.alternate,$);break;default:kM(M,$,H,G)}}function $6(M,$,H,G,X){X=X&&($.subtreeFlags&10256)!==0;for($=$.child;$!==null;)WZ(M,$,H,G,X),$=$.sibling}function WZ(M,$,H,G,X){var Z=$.flags;switch($.tag){case 0:case 11:case 15:$6(M,$,H,G,X),HZ($,M0);break;case 23:break;case 22:var Y=$.stateNode;$.memoizedState!==null?Y._visibility&U4?$6(M,$,H,G,X):N8(M,$):(Y._visibility|=U4,$6(M,$,H,G,X)),X&&Z&2048&&i3($.alternate,$);break;case 24:$6(M,$,H,G,X),X&&Z&2048&&t3($.alternate,$);break;default:$6(M,$,H,G,X)}}function N8(M,$){if($.subtreeFlags&10256)for($=$.child;$!==null;){var H=M,G=$,X=G.flags;switch(G.tag){case 22:N8(H,G),X&2048&&i3(G.alternate,G);break;case 24:N8(H,G),X&2048&&t3(G.alternate,G);break;default:N8(H,G)}$=$.sibling}}function H6(M){if(M.subtreeFlags&U$)for(M=M.child;M!==null;)TZ(M),M=M.sibling}function TZ(M){switch(M.tag){case 26:H6(M),M.flags&U$&&M.memoizedState!==null&&CJ(NM,M.memoizedState,M.memoizedProps);break;case 5:H6(M);break;case 3:case 4:var $=NM;NM=FH(M.stateNode.containerInfo),H6(M),NM=$;break;case 22:M.memoizedState===null&&($=M.alternate,$!==null&&$.memoizedState!==null?($=U$,U$=16777216,H6(M),U$=$):H6(M));break;default:H6(M)}}function _Z(M){var $=M.alternate;if($!==null&&(M=$.child,M!==null)){$.child=null;do $=M.sibling,M.sibling=null,M=$;while(M!==null)}}function x8(M){var $=M.deletions;if((M.flags&16)!==0){if($!==null)for(var H=0;H<$.length;H++){var G=$[H];z0=G,FZ(G,M)}_Z(M)}if(M.subtreeFlags&10256)for(M=M.child;M!==null;)AZ(M),M=M.sibling}function AZ(M){switch(M.tag){case 0:case 11:case 15:x8(M),M.flags&2048&&s3(M,M.return,M0|JM);break;case 3:var $=M4();x8(M),M.stateNode.passiveEffectDuration+=c$($);break;case 12:$=M4(),x8(M),M.stateNode.passiveEffectDuration+=P8($);break;case 22:$=M.stateNode,M.memoizedState!==null&&$._visibility&U4&&(M.return===null||M.return.tag!==13)?($._visibility&=~U4,wH(M)):x8(M);break;default:x8(M)}}function wH(M){var $=M.deletions;if((M.flags&16)!==0){if($!==null)for(var H=0;H<$.length;H++){var G=$[H];z0=G,FZ(G,M)}_Z(M)}for(M=M.child;M!==null;)IZ(M),M=M.sibling}function IZ(M){switch(M.tag){case 0:case 11:case 15:s3(M,M.return,M0),wH(M);break;case 22:var $=M.stateNode;$._visibility&U4&&($._visibility&=~U4,wH(M));break;default:wH(M)}}function FZ(M,$){for(;z0!==null;){var H=z0,G=H;switch(G.tag){case 0:case 11:case 15:s3(G,$,M0);break;case 23:case 22:G.memoizedState!==null&&G.memoizedState.cachePool!==null&&(G=G.memoizedState.cachePool.pool,G!=null&&J2(G));break;case 24:O8(G.memoizedState.cache)}if(G=H.child,G!==null)G.return=H,z0=G;else M:for(H=M;z0!==null;){G=z0;var{sibling:X,return:Z}=G;if(RZ(G),G===H){z0=null;break M}if(X!==null){X.return=Z,z0=X;break M}z0=Z}}}function aR(){zq.forEach(function(M){return M()})}function jZ(){var M=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return M||T.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),M}function c0(M){if((F1&L0)!==r0&&R1!==0)return R1&-R1;var $=T.T;return $!==null?($._updatedFibers||($._updatedFibers=new Set),$._updatedFibers.add(M),M=I2,M!==0?M:z7()):e4()}function LZ(){i0===0&&(i0=(R1&536870912)===0||O1?e6():536870912);var M=qM.current;return M!==null&&(M.flags|=32),i0}function c1(M,$,H){if(l6&&console.error("useInsertionEffect must not schedule updates."),b9&&(Y5=!0),M===D1&&(E1===N2||E1===x2)||M.cancelPendingCommit!==null)X6(M,0),C4(M,R1,i0,!1);if(I4(M,H),(F1&L0)!==0&&M===D1){if(lM)switch($.tag){case 0:case 11:case 15:M=Q1&&m(Q1)||"Unknown",mQ.has(M)||(mQ.add(M),$=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,M));break;case 1:yQ||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),yQ=!0)}}else IM&&H8(M,$,H),XJ($),M===D1&&((F1&L0)===r0&&(c4|=H),d1===E2&&C4(M,R1,i0,!1)),yM(M)}function EZ(M,$,H){if((F1&(L0|xM))!==r0)throw Error("Should not already be working.");var G=!H&&($&124)===0&&($&M.expiredLanes)===0||G1(M,$),X=G?nR(M,$):$7(M,$,!0),Z=G;do{if(X===P4){h6&&!G&&C4(M,$,0,!1);break}else{if(H=M.current.alternate,Z&&!rR(H)){X=$7(M,$,!1),Z=!1;continue}if(X===f6){if(Z=$,M.errorRecoveryDisabledLanes&Z)var Y=0;else Y=M.pendingLanes&-536870913,Y=Y!==0?Y:Y&536870912?536870912:0;if(Y!==0){$=Y;M:{X=M;var z=Y;Y=O$;var U=X.current.memoizedState.isDehydrated;if(U&&(X6(X,z).flags|=256),z=$7(X,z,!1),z!==f6){if(x9&&!U){X.errorRecoveryDisabledLanes|=Z,c4|=Z,X=E2;break M}X=E0,E0=Y,X!==null&&(E0===null?E0=X:E0.push.apply(E0,X))}X=z}if(Z=!1,X!==f6)continue}}if(X===J$){X6(M,0),C4(M,$,0,!0);break}M:{switch(G=M,X){case P4:case J$:throw Error("Root did not complete. This is a bug in React.");case E2:if(($&4194048)!==$)break;case G5:C4(G,$,i0,!l4);break M;case f6:E0=null;break;case L9:case VQ:break;default:throw Error("Unknown root exit status.")}if(T.actQueue!==null)H7(G,H,$,E0,P$,X5,i0,c4,V2);else{if(($&62914560)===$&&(Z=C9+DQ-uM(),10<Z)){if(C4(G,$,i0,!l4),d2(G,0,!0)!==0)break M;G.timeoutHandle=sQ(NZ.bind(null,G,H,E0,P$,X5,$,i0,c4,V2,l4,X,Jq,gz,0),Z);break M}NZ(G,H,E0,P$,X5,$,i0,c4,V2,l4,X,Uq,gz,0)}}}break}while(1);yM(M)}function NZ(M,$,H,G,X,Z,Y,z,U,R,w,_,O,I){if(M.timeoutHandle=S2,_=$.subtreeFlags,_&8192||(_&16785408)===16785408){if(I$={stylesheets:null,count:0,unsuspend:VJ},TZ($),_=DJ(),_!==null){M.cancelPendingCommit=_(H7.bind(null,M,$,Z,H,G,X,Y,z,U,w,Rq,O,I)),C4(M,Z,Y,!R);return}}H7(M,$,Z,H,G,X,Y,z,U)}function rR(M){for(var $=M;;){var H=$.tag;if((H===0||H===11||H===15)&&$.flags&16384&&(H=$.updateQueue,H!==null&&(H=H.stores,H!==null)))for(var G=0;G<H.length;G++){var X=H[G],Z=X.getSnapshot;X=X.value;try{if(!I0(Z(),X))return!1}catch(Y){return!1}}if(H=$.child,$.subtreeFlags&16384&&H!==null)H.return=$,$=H;else{if($===M)break;for(;$.sibling===null;){if($.return===null||$.return===M)return!0;$=$.return}$.sibling.return=$.return,$=$.sibling}}return!0}function C4(M,$,H,G){$&=~V9,$&=~c4,M.suspendedLanes|=$,M.pingedLanes&=~$,G&&(M.warmLanes|=$),G=M.expirationTimes;for(var X=$;0<X;){var Z=31-_0(X),Y=1<<Z;G[Z]=-1,X&=~Y}H!==0&&x$(M,H,$)}function G6(){return(F1&(L0|xM))===r0?(D8(0,!1),!1):!0}function e3(){if(Q1!==null){if(E1===y0)var M=Q1.return;else M=Q1,d$(),R3(M),v6=null,z$=0,M=Q1;for(;M!==null;)MZ(M.alternate,M),M=M.return;Q1=null}}function X6(M,$){var H=M.timeoutHandle;H!==S2&&(M.timeoutHandle=S2,jq(H)),H=M.cancelPendingCommit,H!==null&&(M.cancelPendingCommit=null,H()),e3(),D1=M,Q1=H=tM(M.current,null),R1=$,E1=y0,n0=null,l4=!1,h6=G1(M,$),x9=!1,d1=P4,V2=i0=V9=c4=p4=0,E0=O$=null,X5=!1,($&8)!==0&&($|=$&32);var G=M.entangledLanes;if(G!==0)for(M=M.entanglements,G&=$;0<G;){var X=31-_0(G),Z=1<<X;$|=M[X],G&=~Z}return aM=$,m$(),$=Dz(),1000<$-Cz&&(T.recentlyCreatedOwnerStacks=0,Cz=$),LM.discardPendingWarnings(),H}function xZ(M,$){t=null,T.H=$5,T.getCurrentStack=null,lM=!1,a0=null,$===G$||$===nH?($=$X(),E1=q$):$===kz?($=$X(),E1=CQ):E1=$===_Q?N9:$!==null&&typeof $==="object"&&typeof $.then==="function"?u6:B$,n0=$;var H=Q1;if(H===null)d1=J$,BH(M,d0($,M.current));else switch(H.mode&q0&&e5(H),wM(),E1){case B$:k!==null&&typeof k.markComponentErrored==="function"&&k.markComponentErrored(H,$,R1);break;case N2:case x2:case q$:case u6:case K$:k!==null&&typeof k.markComponentSuspended==="function"&&k.markComponentSuspended(H,$,R1)}}function VZ(){var M=T.H;return T.H=$5,M===null?$5:M}function CZ(){var M=T.A;return T.A=Yq,M}function M7(){d1=E2,l4||(R1&4194048)!==R1&&qM.current!==null||(h6=!0),(p4&134217727)===0&&(c4&134217727)===0||D1===null||C4(D1,R1,i0,!1)}function $7(M,$,H){var G=F1;F1|=L0;var X=VZ(),Z=CZ();if(D1!==M||R1!==$){if(IM){var Y=M.memoizedUpdaters;0<Y.size&&(C8(M,R1),Y.clear()),G8(M,$)}P$=null,X6(M,$)}i6($),$=!1,Y=d1;M:do try{if(E1!==y0&&Q1!==null){var z=Q1,U=n0;switch(E1){case N9:e3(),Y=G5;break M;case q$:case N2:case x2:case u6:qM.current===null&&($=!0);var R=E1;if(E1=y0,n0=null,Z6(M,z,U,R),H&&h6){Y=P4;break M}break;default:R=E1,E1=y0,n0=null,Z6(M,z,U,R)}}DZ(),Y=d1;break}catch(w){xZ(M,w)}while(1);return $&&M.shellSuspendCounter++,d$(),F1=G,T.H=X,T.A=Z,t6(),Q1===null&&(D1=null,R1=0,m$()),Y}function DZ(){for(;Q1!==null;)vZ(Q1)}function nR(M,$){var H=F1;F1|=L0;var G=VZ(),X=CZ();if(D1!==M||R1!==$){if(IM){var Z=M.memoizedUpdaters;0<Z.size&&(C8(M,R1),Z.clear()),G8(M,$)}P$=null,Z5=uM()+vQ,X6(M,$)}else h6=G1(M,$);i6($);M:do try{if(E1!==y0&&Q1!==null)$:switch($=Q1,Z=n0,E1){case B$:E1=y0,n0=null,Z6(M,$,Z,B$);break;case N2:case x2:if(eG(Z)){E1=y0,n0=null,gZ($);break}$=function(){E1!==N2&&E1!==x2||D1!==M||(E1=K$),yM(M)},Z.then($,$);break M;case q$:E1=K$;break M;case CQ:E1=E9;break M;case K$:eG(Z)?(E1=y0,n0=null,gZ($)):(E1=y0,n0=null,Z6(M,$,Z,K$));break;case E9:var Y=null;switch(Q1.tag){case 26:Y=Q1.memoizedState;case 5:case 27:var z=Q1;if(Y?IY(Y):1){E1=y0,n0=null;var U=z.sibling;if(U!==null)Q1=U;else{var R=z.return;R!==null?(Q1=R,WH(R)):Q1=null}break $}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}E1=y0,n0=null,Z6(M,$,Z,E9);break;case u6:E1=y0,n0=null,Z6(M,$,Z,u6);break;case N9:e3(),d1=G5;break M;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}T.actQueue!==null?DZ():iR();break}catch(w){xZ(M,w)}while(1);if(d$(),T.H=G,T.A=X,F1=H,Q1!==null)return k!==null&&typeof k.markRenderYielded==="function"&&k.markRenderYielded(),P4;return t6(),D1=null,R1=0,m$(),d1}function iR(){for(;Q1!==null&&!sJ();)vZ(Q1)}function vZ(M){var $=M.alternate;(M.mode&q0)!==g1?(t5(M),$=l(M,p3,$,M,aM),e5(M)):$=l(M,p3,$,M,aM),M.memoizedProps=M.pendingProps,$===null?WH(M):Q1=$}function gZ(M){var $=l(M,tR,M);M.memoizedProps=M.pendingProps,$===null?WH(M):Q1=$}function tR(M){var $=M.alternate,H=(M.mode&q0)!==g1;switch(H&&t5(M),M.tag){case 15:case 0:$=sX($,M,M.pendingProps,M.type,void 0,R1);break;case 11:$=sX($,M,M.pendingProps,M.type.render,M.ref,R1);break;case 5:R3(M);default:MZ($,M),M=Q1=dG(M,aM),$=p3($,M,aM)}return H&&e5(M),$}function Z6(M,$,H,G){d$(),R3($),v6=null,z$=0;var X=$.return;try{if(yR(M,X,$,H,R1)){d1=J$,BH(M,d0(H,M.current)),Q1=null;return}}catch(Z){if(X!==null)throw Q1=X,Z;d1=J$,BH(M,d0(H,M.current)),Q1=null;return}if($.flags&32768){if(O1||G===B$)M=!0;else if(h6||(R1&536870912)!==0)M=!1;else if(l4=M=!0,G===N2||G===x2||G===q$||G===u6)G=qM.current,G!==null&&G.tag===13&&(G.flags|=16384);SZ($,M)}else WH($)}function WH(M){var $=M;do{if(($.flags&32768)!==0){SZ($,l4);return}var H=$.alternate;if(M=$.return,t5($),H=l($,fR,H,$,aM),($.mode&q0)!==g1&&rG($),H!==null){Q1=H;return}if($=$.sibling,$!==null){Q1=$;return}Q1=$=M}while($!==null);d1===P4&&(d1=VQ)}function SZ(M,$){do{var H=uR(M.alternate,M);if(H!==null){H.flags&=32767,Q1=H;return}if((M.mode&q0)!==g1){rG(M),H=M.actualDuration;for(var G=M.child;G!==null;)H+=G.actualDuration,G=G.sibling;M.actualDuration=H}if(H=M.return,H!==null&&(H.flags|=32768,H.subtreeFlags=0,H.deletions=null),!$&&(M=M.sibling,M!==null)){Q1=M;return}Q1=M=H}while(M!==null);d1=G5,Q1=null}function H7(M,$,H,G,X,Z,Y,z,U){M.cancelPendingCommit=null;do V8();while(O0!==C2);if(LM.flushLegacyContextWarning(),LM.flushPendingUnsafeLifecycleWarnings(),(F1&(L0|xM))!==r0)throw Error("Should not already be working.");if(k!==null&&typeof k.markCommitStarted==="function"&&k.markCommitStarted(H),$===null)PM();else{if(H===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),$===M.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=$.lanes|$.childLanes,Z|=X9,E5(M,H,Z,Y,z,U),M===D1&&(Q1=D1=null,R1=0),d6=$,o4=M,a4=H,v9=Z,g9=X,kQ=G,($.subtreeFlags&10256)!==0||($.flags&10256)!==0?(M.callbackNode=null,M.callbackPriority=0,GJ(J6,function(){return fZ(!0),null})):(M.callbackNode=null,M.callbackPriority=0),sH=N6(),G=($.flags&13878)!==0,($.subtreeFlags&13878)!==0||G){G=T.T,T.T=null,X=I1.p,I1.p=o0,Y=F1,F1|=xM;try{sR(M,$,H)}finally{F1=Y,I1.p=X,T.T=G}}O0=gQ,bZ(),kZ(),yZ()}}function bZ(){if(O0===gQ){O0=C2;var M=o4,$=d6,H=a4,G=($.flags&13878)!==0;if(($.subtreeFlags&13878)!==0||G){G=T.T,T.T=null;var X=I1.p;I1.p=o0;var Z=F1;F1|=xM;try{y6=H,m6=M,qZ($,M),m6=y6=null,H=p9;var Y=yG(M.containerInfo),z=H.focusedElem,U=H.selectionRange;if(Y!==z&&z&&z.ownerDocument&&kG(z.ownerDocument.documentElement,z)){if(U!==null&&m5(z)){var{start:R,end:w}=U;if(w===void 0&&(w=R),"selectionStart"in z)z.selectionStart=R,z.selectionEnd=Math.min(w,z.value.length);else{var _=z.ownerDocument||document,O=_&&_.defaultView||window;if(O.getSelection){var I=O.getSelection(),u=z.textContent.length,a=Math.min(U.start,u),v1=U.end===void 0?a:Math.min(U.end,u);!I.extend&&a>v1&&(Y=v1,v1=a,a=Y);var B1=bG(z,a),J=bG(z,v1);if(B1&&J&&(I.rangeCount!==1||I.anchorNode!==B1.node||I.anchorOffset!==B1.offset||I.focusNode!==J.node||I.focusOffset!==J.offset)){var B=_.createRange();B.setStart(B1.node,B1.offset),I.removeAllRanges(),a>v1?(I.addRange(B),I.extend(J.node,J.offset)):(B.setEnd(J.node,J.offset),I.addRange(B))}}}}_=[];for(I=z;I=I.parentNode;)I.nodeType===1&&_.push({element:I,left:I.scrollLeft,top:I.scrollTop});typeof z.focus==="function"&&z.focus();for(z=0;z<_.length;z++){var q=_[z];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}A5=!!l9,p9=l9=null}finally{F1=Z,I1.p=X,T.T=G}}M.current=$,O0=SQ}}function kZ(){if(O0===SQ){O0=C2;var M=o4,$=d6,H=a4,G=($.flags&8772)!==0;if(($.subtreeFlags&8772)!==0||G){G=T.T,T.T=null;var X=I1.p;I1.p=o0;var Z=F1;F1|=xM;try{k!==null&&typeof k.markLayoutEffectsStarted==="function"&&k.markLayoutEffectsStarted(H),y6=H,m6=M,UZ(M,$.alternate,$),m6=y6=null,k!==null&&typeof k.markLayoutEffectsStopped==="function"&&k.markLayoutEffectsStopped()}finally{F1=Z,I1.p=X,T.T=G}}O0=bQ}}function yZ(){if(O0===Bq||O0===bQ){O0=C2,oJ();var M=o4,$=d6,H=a4,G=kQ,X=($.subtreeFlags&10256)!==0||($.flags&10256)!==0;X?O0=D9:(O0=C2,d6=o4=null,mZ(M,M.pendingLanes),D2=0,W$=null);var Z=M.pendingLanes;if(Z===0&&(s4=null),X||lZ(M),X=F4(H),$=$.stateNode,w0&&typeof w0.onCommitFiberRoot==="function")try{var Y=($.current.flags&128)===128;switch(X){case o0:var z=k7;break;case FM:z=y7;break;case dM:z=J6;break;case bH:z=m7;break;default:z=J6}w0.onCommitFiberRoot(B6,$,z,Y)}catch(_){hM||(hM=!0,console.error("React instrumentation encountered an error: %s",_))}if(IM&&M.memoizedUpdaters.clear(),aR(),G!==null){Y=T.T,z=I1.p,I1.p=o0,T.T=null;try{var U=M.onRecoverableError;for($=0;$<G.length;$++){var R=G[$],w=eR(R.stack);l(R.source,U,R.value,w)}}finally{T.T=Y,I1.p=z}}(a4&3)!==0&&V8(),yM(M),Z=M.pendingLanes,(H&4194090)!==0&&(Z&42)!==0?(aH=!0,M===S9?w$++:(w$=0,S9=M)):w$=0,D8(0,!1),PM()}}function eR(M){return M={componentStack:M},Object.defineProperty(M,"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.')}}),M}function mZ(M,$){(M.pooledCacheLanes&=$)===0&&($=M.pooledCache,$!=null&&(M.pooledCache=null,O8($)))}function V8(M){return bZ(),kZ(),yZ(),fZ(M)}function fZ(){if(O0!==D9)return!1;var M=o4,$=v9;v9=0;var H=F4(a4),G=dM===0||dM>H?dM:H;H=T.T;var X=I1.p;try{I1.p=G,T.T=null,G=g9,g9=null;var Z=o4,Y=a4;if(O0=C2,d6=o4=null,a4=0,(F1&(L0|xM))!==r0)throw Error("Cannot flush passive effects while already rendering.");b9=!0,Y5=!1,k!==null&&typeof k.markPassiveEffectsStarted==="function"&&k.markPassiveEffectsStarted(Y);var z=F1;if(F1|=xM,AZ(Z.current),wZ(Z,Z.current,Y,G),k!==null&&typeof k.markPassiveEffectsStopped==="function"&&k.markPassiveEffectsStopped(),lZ(Z),F1=z,D8(0,!1),Y5?Z===W$?D2++:(D2=0,W$=Z):D2=0,Y5=b9=!1,w0&&typeof w0.onPostCommitFiberRoot==="function")try{w0.onPostCommitFiberRoot(B6,Z)}catch(R){hM||(hM=!0,console.error("React instrumentation encountered an error: %s",R))}var U=Z.current.stateNode;return U.effectDuration=0,U.passiveEffectDuration=0,!0}finally{I1.p=X,T.T=H,mZ(M,$)}}function uZ(M,$,H){$=d0(H,$),$=g3(M.stateNode,$,2),M=E4(M,$,2),M!==null&&(I4(M,2),yM(M))}function x1(M,$,H){if(l6=!1,M.tag===3)uZ(M,M,H);else{for(;$!==null;){if($.tag===3){uZ($,M,H);return}if($.tag===1){var G=$.stateNode;if(typeof $.type.getDerivedStateFromError==="function"||typeof G.componentDidCatch==="function"&&(s4===null||!s4.has(G))){M=d0(H,M),H=S3(2),G=E4($,H,2),G!==null&&(b3(H,G,$,M),I4(G,2),yM(G));return}}$=$.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`,H)}}function G7(M,$,H){var G=M.pingCache;if(G===null){G=M.pingCache=new Qq;var X=new Set;G.set($,X)}else X=G.get($),X===void 0&&(X=new Set,G.set($,X));X.has(H)||(x9=!0,X.add(H),G=MJ.bind(null,M,$,H),IM&&C8(M,H),$.then(G,G))}function MJ(M,$,H){var G=M.pingCache;G!==null&&G.delete($),M.pingedLanes|=M.suspendedLanes&H,M.warmLanes&=~H,jZ()&&T.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`),D1===M&&(R1&H)===H&&(d1===E2||d1===L9&&(R1&62914560)===R1&&uM()-C9<DQ?(F1&L0)===r0&&X6(M,0):V9|=H,V2===R1&&(V2=0)),yM(M)}function hZ(M,$){$===0&&($=M8()),M=D0(M,$),M!==null&&(I4(M,$),yM(M))}function $J(M){var $=M.memoizedState,H=0;$!==null&&(H=$.retryLane),hZ(M,H)}function HJ(M,$){var H=0;switch(M.tag){case 13:var{stateNode:G,memoizedState:X}=M;X!==null&&(H=X.retryLane);break;case 19:G=M.stateNode;break;case 22:G=M.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}G!==null&&G.delete($),hZ(M,H)}function X7(M,$,H){if(($.subtreeFlags&67117056)!==0)for($=$.child;$!==null;){var G=M,X=$,Z=X.type===CH;Z=H||Z,X.tag!==22?X.flags&67108864?Z&&l(X,dZ,G,X,(X.mode&Nz)===g1):X7(G,X,Z):X.memoizedState===null&&(Z&&X.flags&8192?l(X,dZ,G,X):X.subtreeFlags&67108864&&l(X,X7,G,X,Z)),$=$.sibling}}function dZ(M,$){var H=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;_1(!0);try{OZ($),H&&IZ($),PZ(M,$.alternate,$,!1),H&&WZ(M,$,0,null,!1,0)}finally{_1(!1)}}function lZ(M){var $=!0;M.current.mode&(T0|jM)||($=!1),X7(M,M.current,$)}function pZ(M){if((F1&L0)===r0){var $=M.tag;if($===3||$===1||$===0||$===11||$===14||$===15){if($=m(M)||"ReactComponent",z5!==null){if(z5.has($))return;z5.add($)}else z5=new Set([$]);l(M,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 C8(M,$){IM&&M.memoizedUpdaters.forEach(function(H){H8(M,H,$)})}function GJ(M,$){var H=T.actQueue;return H!==null?(H.push($),Oq):b7(M,$)}function XJ(M){jZ()&&T.actQueue===null&&l(M,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`,m(M))})}function yM(M){M!==p6&&M.next===null&&(p6===null?Q5=p6=M:p6=p6.next=M),U5=!0,T.actQueue!==null?y9||(y9=!0,aZ()):k9||(k9=!0,aZ())}function D8(M,$){if(!m9&&U5){m9=!0;do{var H=!1;for(var G=Q5;G!==null;){if(!$)if(M!==0){var X=G.pendingLanes;if(X===0)var Z=0;else{var{suspendedLanes:Y,pingedLanes:z}=G;Z=(1<<31-_0(42|M)+1)-1,Z&=X&~(Y&~z),Z=Z&201326741?Z&201326741|1:Z?Z|2:0}Z!==0&&(H=!0,oZ(G,Z))}else Z=R1,Z=d2(G,G===D1?Z:0,G.cancelPendingCommit!==null||G.timeoutHandle!==S2),(Z&3)===0||G1(G,Z)||(H=!0,oZ(G,Z));G=G.next}}while(H);m9=!1}}function ZJ(){Z7()}function Z7(){U5=y9=k9=!1;var M=0;v2!==0&&(RJ()&&(M=v2),v2=0);for(var $=uM(),H=null,G=Q5;G!==null;){var X=G.next,Z=cZ(G,$);if(Z===0)G.next=null,H===null?Q5=X:H.next=X,X===null&&(p6=H);else if(H=G,M!==0||(Z&3)!==0)U5=!0;G=X}D8(M,!1)}function cZ(M,$){for(var{suspendedLanes:H,pingedLanes:G,expirationTimes:X}=M,Z=M.pendingLanes&-62914561;0<Z;){var Y=31-_0(Z),z=1<<Y,U=X[Y];if(U===-1){if((z&H)===0||(z&G)!==0)X[Y]=l2(z,$)}else U<=$&&(M.expiredLanes|=z);Z&=~z}if($=D1,H=R1,H=d2(M,M===$?H:0,M.cancelPendingCommit!==null||M.timeoutHandle!==S2),G=M.callbackNode,H===0||M===$&&(E1===N2||E1===x2)||M.cancelPendingCommit!==null)return G!==null&&Y7(G),M.callbackNode=null,M.callbackPriority=0;if((H&3)===0||G1(M,H)){if($=H&-H,$!==M.callbackPriority||T.actQueue!==null&&G!==f9)Y7(G);else return $;switch(F4(H)){case o0:case FM:H=y7;break;case dM:H=J6;break;case bH:H=m7;break;default:H=J6}return G=sZ.bind(null,M),T.actQueue!==null?(T.actQueue.push(G),H=f9):H=b7(H,G),M.callbackPriority=$,M.callbackNode=H,$}return G!==null&&Y7(G),M.callbackPriority=2,M.callbackNode=null,2}function sZ(M,$){if(aH=oH=!1,O0!==C2&&O0!==D9)return M.callbackNode=null,M.callbackPriority=0,null;var H=M.callbackNode;if(V8(!0)&&M.callbackNode!==H)return null;var G=R1;if(G=d2(M,M===D1?G:0,M.cancelPendingCommit!==null||M.timeoutHandle!==S2),G===0)return null;return EZ(M,G,$),cZ(M,uM()),M.callbackNode!=null&&M.callbackNode===H?sZ.bind(null,M):null}function oZ(M,$){if(V8())return null;oH=aH,aH=!1,EZ(M,$,!0)}function Y7(M){M!==f9&&M!==null&&cJ(M)}function aZ(){T.actQueue!==null&&T.actQueue.push(function(){return Z7(),null}),Lq(function(){(F1&(L0|xM))!==r0?b7(k7,ZJ):Z7()})}function z7(){return v2===0&&(v2=e6()),v2}function rZ(M){if(M==null||typeof M==="symbol"||typeof M==="boolean")return null;if(typeof M==="function")return M;return r(M,"action"),Q8(""+M)}function nZ(M,$){var H=$.ownerDocument.createElement("input");return H.name=$.name,H.value=$.value,M.id&&H.setAttribute("form",M.id),$.parentNode.insertBefore(H,$),M=new FormData(M),H.parentNode.removeChild(H),M}function YJ(M,$,H,G,X){if($==="submit"&&H&&H.stateNode===X){var Z=rZ((X[S0]||null).action),Y=G.submitter;Y&&($=($=Y[S0]||null)?rZ($.formAction):Y.getAttribute("formAction"),$!==null&&(Z=$,Y=null));var z=new uH("action","action",null,G,X);M.push({event:z,listeners:[{instance:null,listener:function(){if(G.defaultPrevented){if(v2!==0){var U=Y?nZ(X,Y):new FormData(X),R={pending:!0,data:U,method:X.method,action:Z};Object.freeze(R),E3(H,R,null,U)}}else typeof Z==="function"&&(z.preventDefault(),U=Y?nZ(X,Y):new FormData(X),R={pending:!0,data:U,method:X.method,action:Z},Object.freeze(R),E3(H,R,Z,U))},currentTarget:X}]})}}function TH(M,$,H){M.currentTarget=H;try{$(M)}catch(G){_9(G)}M.currentTarget=null}function iZ(M,$){$=($&4)!==0;for(var H=0;H<M.length;H++){var G=M[H];M:{var X=void 0,Z=G.event;if(G=G.listeners,$)for(var Y=G.length-1;0<=Y;Y--){var z=G[Y],U=z.instance,R=z.currentTarget;if(z=z.listener,U!==X&&Z.isPropagationStopped())break M;U!==null?l(U,TH,Z,z,R):TH(Z,z,R),X=U}else for(Y=0;Y<G.length;Y++){if(z=G[Y],U=z.instance,R=z.currentTarget,z=z.listener,U!==X&&Z.isPropagationStopped())break M;U!==null?l(U,TH,Z,z,R):TH(Z,z,R),X=U}}}}function J1(M,$){u9.has(M)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',M);var H=$[f7];H===void 0&&(H=$[f7]=new Set);var G=M+"__bubble";H.has(G)||(tZ($,M,2,!1),H.add(G))}function Q7(M,$,H){u9.has(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.',M);var G=0;$&&(G|=4),tZ(H,M,G,$)}function U7(M){if(!M[R5]){M[R5]=!0,bY.forEach(function(H){H!=="selectionchange"&&(u9.has(H)||Q7(H,!1,M),Q7(H,!0,M))});var $=M.nodeType===9?M:M.ownerDocument;$===null||$[R5]||($[R5]=!0,Q7("selectionchange",!1,$))}}function tZ(M,$,H,G){switch(NY($)){case o0:var X=kJ;break;case FM:X=yJ;break;default:X=j7}H=X.bind(null,$,H,M),X=void 0,!o7||$!=="touchstart"&&$!=="touchmove"&&$!=="wheel"||(X=!0),G?X!==void 0?M.addEventListener($,H,{capture:!0,passive:X}):M.addEventListener($,H,!0):X!==void 0?M.addEventListener($,H,{passive:X}):M.addEventListener($,H,!1)}function R7(M,$,H,G,X){var Z=G;if(($&1)===0&&($&2)===0&&G!==null)M:for(;;){if(G===null)return;var Y=G.tag;if(Y===3||Y===4){var z=G.stateNode.containerInfo;if(z===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(;z!==null;){if(Y=iM(z),Y===null)return;if(U=Y.tag,U===5||U===6||U===26||U===27){G=Z=Y;continue M}z=z.parentNode}}G=G.return}jG(function(){var R=Z,w=k5(H),_=[];M:{var O=Ez.get(M);if(O!==void 0){var I=uH,u=M;switch(M){case"keypress":if(b$(H)===0)break M;case"keydown":case"keyup":I=vB;break;case"focusin":u="focus",I=i7;break;case"focusout":u="blur",I=i7;break;case"beforeblur":case"afterblur":I=i7;break;case"click":if(H.button===2)break M;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":I=Bz;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":I=_B;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":I=bB;break;case Iz:case Fz:case jz:I=FB;break;case Lz:I=yB;break;case"scroll":case"scrollend":I=WB;break;case"wheel":I=fB;break;case"copy":case"cut":case"paste":I=LB;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":I=Kz;break;case"toggle":case"beforetoggle":I=hB}var a=($&4)!==0,v1=!a&&(M==="scroll"||M==="scrollend"),B1=a?O!==null?O+"Capture":null:O;a=[];for(var J=R,B;J!==null;){var q=J;if(B=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||B===null||B1===null||(q=U8(J,B1),q!=null&&a.push(v8(J,q,B))),v1)break;J=J.return}0<a.length&&(O=new I(O,u,null,H,w),_.push({event:O,listeners:a}))}}if(($&7)===0){M:{if(O=M==="mouseover"||M==="pointerover",I=M==="mouseout"||M==="pointerout",O&&H!==d8&&(u=H.relatedTarget||H.fromElement)&&(iM(u)||u[y4]))break M;if(I||O){if(O=w.window===w?w:(O=w.ownerDocument)?O.defaultView||O.parentWindow:window,I){if(u=H.relatedTarget||H.toElement,I=R,u=u?iM(u):null,u!==null&&(v1=G0(u),a=u.tag,u!==v1||a!==5&&a!==27&&a!==6))u=null}else I=null,u=R;if(I!==u){if(a=Bz,q="onMouseLeave",B1="onMouseEnter",J="mouse",M==="pointerout"||M==="pointerover")a=Kz,q="onPointerLeave",B1="onPointerEnter",J="pointer";if(v1=I==null?O:K(I),B=u==null?O:K(u),O=new a(q,J+"leave",I,H,w),O.target=v1,O.relatedTarget=B,q=null,iM(w)===R&&(a=new a(B1,J+"enter",u,H,w),a.target=B,a.relatedTarget=v1,q=a),v1=q,I&&u)$:{a=I,B1=u,J=0;for(B=a;B;B=Y6(B))J++;B=0;for(q=B1;q;q=Y6(q))B++;for(;0<J-B;)a=Y6(a),J--;for(;0<B-J;)B1=Y6(B1),B--;for(;J--;){if(a===B1||B1!==null&&a===B1.alternate)break $;a=Y6(a),B1=Y6(B1)}a=null}else a=null;I!==null&&eZ(_,O,I,a,!1),u!==null&&v1!==null&&eZ(_,v1,u,a,!0)}}}M:{if(O=R?K(R):window,I=O.nodeName&&O.nodeName.toLowerCase(),I==="select"||I==="input"&&O.type==="file")var F=DG;else if(VG(O))if(_z)F=ER;else{F=jR;var g=FR}else I=O.nodeName,!I||I.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?R&&z8(R.elementType)&&(F=DG):F=LR;if(F&&(F=F(M,R))){CG(_,F,H,w);break M}g&&g(M,O,R),M==="focusout"&&R&&O.type==="number"&&R.memoizedProps.value!=null&&C5(O,"number",O.value)}switch(g=R?K(R):window,M){case"focusin":if(VG(g)||g.contentEditable==="true")T6=g,e7=R,r8=null;break;case"focusout":r8=e7=T6=null;break;case"mousedown":M9=!0;break;case"contextmenu":case"mouseup":case"dragend":M9=!1,mG(_,H,w);break;case"selectionchange":if(cB)break;case"keydown":case"keyup":mG(_,H,w)}var e;if(t7)M:{switch(M){case"compositionstart":var h="onCompositionStart";break M;case"compositionend":h="onCompositionEnd";break M;case"compositionupdate":h="onCompositionUpdate";break M}h=void 0}else W6?NG(M,H)&&(h="onCompositionEnd"):M==="keydown"&&H.keyCode===Oz&&(h="onCompositionStart");if(h&&(Pz&&H.locale!=="ko"&&(W6||h!=="onCompositionStart"?h==="onCompositionEnd"&&W6&&(e=LG()):(m4=w,a7=("value"in m4)?m4.value:m4.textContent,W6=!0)),g=_H(R,h),0<g.length&&(h=new qz(h,M,null,H,w),_.push({event:h,listeners:g}),e?h.data=e:(e=xG(H),e!==null&&(h.data=e)))),e=lB?TR(M,H):_R(M,H))h=_H(R,"onBeforeInput"),0<h.length&&(g=new NB("onBeforeInput","beforeinput",null,H,w),_.push({event:g,listeners:h}),g.data=e);YJ(_,M,R,H,w)}iZ(_,$)})}function v8(M,$,H){return{instance:M,listener:$,currentTarget:H}}function _H(M,$){for(var H=$+"Capture",G=[];M!==null;){var X=M,Z=X.stateNode;if(X=X.tag,X!==5&&X!==26&&X!==27||Z===null||(X=U8(M,H),X!=null&&G.unshift(v8(M,X,Z)),X=U8(M,$),X!=null&&G.push(v8(M,X,Z))),M.tag===3)return G;M=M.return}return[]}function Y6(M){if(M===null)return null;do M=M.return;while(M&&M.tag!==5&&M.tag!==27);return M?M:null}function eZ(M,$,H,G,X){for(var Z=$._reactName,Y=[];H!==null&&H!==G;){var z=H,U=z.alternate,R=z.stateNode;if(z=z.tag,U!==null&&U===G)break;z!==5&&z!==26&&z!==27||R===null||(U=R,X?(R=U8(H,Z),R!=null&&Y.unshift(v8(H,R,U))):X||(R=U8(H,Z),R!=null&&Y.push(v8(H,R,U)))),H=H.return}Y.length!==0&&M.push({event:$,listeners:Y})}function J7(M,$){OR(M,$),M!=="input"&&M!=="textarea"&&M!=="select"||$==null||$.value!==null||Rz||(Rz=!0,M==="select"&&$.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.",M):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",M));var H={registrationNameDependencies:w2,possibleRegistrationNames:u7};z8(M)||typeof $.is==="string"||wR(M,$,H),$.contentEditable&&!$.suppressContentEditableWarning&&$.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(M,$,H,G){$!==H&&(H=D4(H),D4($)!==H&&(G[M]=$))}function zJ(M,$,H){$.forEach(function(G){H[HY(G)]=G==="style"?q7(M):M.getAttribute(G)})}function mM(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.",M,M,M):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",M,typeof $)}function MY(M,$){return M=M.namespaceURI===yH||M.namespaceURI===K6?M.ownerDocument.createElementNS(M.namespaceURI,M.tagName):M.ownerDocument.createElement(M.tagName),M.innerHTML=$,M.innerHTML}function D4(M){return o(M)&&(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.",E(M)),q1(M)),(typeof M==="string"?M:""+M).replace(Pq,`
|
|
`).replace(wq,"")}function $Y(M,$){return $=D4($),D4(M)===$?!0:!1}function AH(){}function V1(M,$,H,G,X,Z){switch(H){case"children":if(typeof G==="string")S$(G,$,!1),$==="body"||$==="textarea"&&G===""||Y8(M,G);else if(typeof G==="number"||typeof G==="bigint")S$(""+G,$,!1),$!=="body"&&Y8(M,""+G);break;case"className":WM(M,"class",G);break;case"tabIndex":WM(M,"tabindex",G);break;case"dir":case"role":case"viewBox":case"width":case"height":WM(M,H,G);break;case"style":AG(M,G,Z);break;case"data":if($!=="object"){WM(M,"data",G);break}case"src":case"href":if(G===""&&($!=="a"||H!=="href")){H==="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.',H,H):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,H),M.removeAttribute(H);break}if(G==null||typeof G==="function"||typeof G==="symbol"||typeof G==="boolean"){M.removeAttribute(H);break}r(G,H),G=Q8(""+G),M.setAttribute(H,G);break;case"action":case"formAction":if(G!=null&&($==="form"?H==="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||q5||(q5=!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||B5||(B5=!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."))):$==="input"||$==="button"?H==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):$!=="input"||X.type==="submit"||X.type==="image"||J5?$!=="button"||X.type==null||X.type==="submit"||J5?typeof G==="function"&&(X.name==null||hQ||(hQ=!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||q5||(q5=!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||B5||(B5=!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."))):(J5=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(J5=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):H==="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"){M.setAttribute(H,"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"&&(H==="formAction"?($!=="input"&&V1(M,$,"name",X.name,X,null),V1(M,$,"formEncType",X.formEncType,X,null),V1(M,$,"formMethod",X.formMethod,X,null),V1(M,$,"formTarget",X.formTarget,X,null)):(V1(M,$,"encType",X.encType,X,null),V1(M,$,"method",X.method,X,null),V1(M,$,"target",X.target,X,null)));if(G==null||typeof G==="symbol"||typeof G==="boolean"){M.removeAttribute(H);break}r(G,H),G=Q8(""+G),M.setAttribute(H,G);break;case"onClick":G!=null&&(typeof G!=="function"&&mM(H,G),M.onclick=AH);break;case"onScroll":G!=null&&(typeof G!=="function"&&mM(H,G),J1("scroll",M));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&mM(H,G),J1("scrollend",M));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(H=G.__html,H!=null){if(X.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");M.innerHTML=H}}break;case"multiple":M.multiple=G&&typeof G!=="function"&&typeof G!=="symbol";break;case"muted":M.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"){M.removeAttribute("xlink:href");break}r(G,H),H=Q8(""+G),M.setAttributeNS(g2,"xlink:href",H);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),M.setAttribute(H,""+G)):M.removeAttribute(H);break;case"inert":G!==""||K5[H]||(K5[H]=!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.",H));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"?M.setAttribute(H,""):M.removeAttribute(H);break;case"capture":case"download":G===!0?M.setAttribute(H,""):G!==!1&&G!=null&&typeof G!=="function"&&typeof G!=="symbol"?(r(G,H),M.setAttribute(H,G)):M.removeAttribute(H);break;case"cols":case"rows":case"size":case"span":G!=null&&typeof G!=="function"&&typeof G!=="symbol"&&!isNaN(G)&&1<=G?(r(G,H),M.setAttribute(H,G)):M.removeAttribute(H);break;case"rowSpan":case"start":G==null||typeof G==="function"||typeof G==="symbol"||isNaN(G)?M.removeAttribute(H):(r(G,H),M.setAttribute(H,G));break;case"popover":J1("beforetoggle",M),J1("toggle",M),u0(M,"popover",G);break;case"xlinkActuate":TM(M,g2,"xlink:actuate",G);break;case"xlinkArcrole":TM(M,g2,"xlink:arcrole",G);break;case"xlinkRole":TM(M,g2,"xlink:role",G);break;case"xlinkShow":TM(M,g2,"xlink:show",G);break;case"xlinkTitle":TM(M,g2,"xlink:title",G);break;case"xlinkType":TM(M,g2,"xlink:type",G);break;case"xmlBase":TM(M,h9,"xml:base",G);break;case"xmlLang":TM(M,h9,"xml:lang",G);break;case"xmlSpace":TM(M,h9,"xml:space",G);break;case"is":Z!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),u0(M,"is",G);break;case"innerText":case"textContent":break;case"popoverTarget":dQ||G==null||typeof G!=="object"||(dQ=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",G));default:!(2<H.length)||H[0]!=="o"&&H[0]!=="O"||H[1]!=="n"&&H[1]!=="N"?(H=IG(H),u0(M,H,G)):w2.hasOwnProperty(H)&&G!=null&&typeof G!=="function"&&mM(H,G)}}function B7(M,$,H,G,X,Z){switch(H){case"style":AG(M,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(H=G.__html,H!=null){if(X.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");M.innerHTML=H}}break;case"children":typeof G==="string"?Y8(M,G):(typeof G==="number"||typeof G==="bigint")&&Y8(M,""+G);break;case"onScroll":G!=null&&(typeof G!=="function"&&mM(H,G),J1("scroll",M));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&mM(H,G),J1("scrollend",M));break;case"onClick":G!=null&&(typeof G!=="function"&&mM(H,G),M.onclick=AH);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(w2.hasOwnProperty(H))G!=null&&typeof G!=="function"&&mM(H,G);else M:{if(H[0]==="o"&&H[1]==="n"&&(X=H.endsWith("Capture"),$=H.slice(2,X?H.length-7:void 0),Z=M[S0]||null,Z=Z!=null?Z[H]:null,typeof Z==="function"&&M.removeEventListener($,Z,X),typeof G==="function")){typeof Z!=="function"&&Z!==null&&(H in M?M[H]=null:M.hasAttribute(H)&&M.removeAttribute(H)),M.addEventListener($,G,X);break M}H in M?M[H]=G:G===!0?M.setAttribute(H,""):u0(M,H,G)}}}function J0(M,$,H){switch(J7($,H),$){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":J1("error",M),J1("load",M);var G=!1,X=!1,Z;for(Z in H)if(H.hasOwnProperty(Z)){var Y=H[Z];if(Y!=null)switch(Z){case"src":G=!0;break;case"srcSet":X=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:V1(M,$,Z,Y,H,null)}}X&&V1(M,$,"srcSet",H.srcSet,H,null),G&&V1(M,$,"src",H.src,H,null);return;case"input":i("input",H),J1("invalid",M);var z=Z=Y=X=null,U=null,R=null;for(G in H)if(H.hasOwnProperty(G)){var w=H[G];if(w!=null)switch(G){case"name":X=w;break;case"type":Y=w;break;case"checked":U=w;break;case"defaultChecked":R=w;break;case"value":Z=w;break;case"defaultValue":z=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:V1(M,$,G,w,H,null)}}ZG(M,H),YG(M,Z,z,U,R,Y,X,!1),D$(M);return;case"select":i("select",H),J1("invalid",M),G=Y=Z=null;for(X in H)if(H.hasOwnProperty(X)&&(z=H[X],z!=null))switch(X){case"value":Z=z;break;case"defaultValue":Y=z;break;case"multiple":G=z;default:V1(M,$,X,z,H,null)}UG(M,H),$=Z,H=Y,M.multiple=!!G,$!=null?o2(M,!!G,$,!1):H!=null&&o2(M,!!G,H,!0);return;case"textarea":i("textarea",H),J1("invalid",M),Z=X=G=null;for(Y in H)if(H.hasOwnProperty(Y)&&(z=H[Y],z!=null))switch(Y){case"value":G=z;break;case"defaultValue":X=z;break;case"children":Z=z;break;case"dangerouslySetInnerHTML":if(z!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:V1(M,$,Y,z,H,null)}RG(M,H),BG(M,G,X,Z),D$(M);return;case"option":zG(M,H);for(U in H)if(H.hasOwnProperty(U)&&(G=H[U],G!=null))switch(U){case"selected":M.selected=G&&typeof G!=="function"&&typeof G!=="symbol";break;default:V1(M,$,U,G,H,null)}return;case"dialog":J1("beforetoggle",M),J1("toggle",M),J1("cancel",M),J1("close",M);break;case"iframe":case"object":J1("load",M);break;case"video":case"audio":for(G=0;G<T$.length;G++)J1(T$[G],M);break;case"image":J1("error",M),J1("load",M);break;case"details":J1("toggle",M);break;case"embed":case"source":case"link":J1("error",M),J1("load",M);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(R in H)if(H.hasOwnProperty(R)&&(G=H[R],G!=null))switch(R){case"children":case"dangerouslySetInnerHTML":throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:V1(M,$,R,G,H,null)}return;default:if(z8($)){for(w in H)H.hasOwnProperty(w)&&(G=H[w],G!==void 0&&B7(M,$,w,G,H,void 0));return}}for(z in H)H.hasOwnProperty(z)&&(G=H[z],G!=null&&V1(M,$,z,G,H,null))}function QJ(M,$,H,G){switch(J7($,G),$){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,z=null,U=null,R=null,w=null;for(I in H){var _=H[I];if(H.hasOwnProperty(I)&&_!=null)switch(I){case"checked":break;case"value":break;case"defaultValue":U=_;default:G.hasOwnProperty(I)||V1(M,$,I,null,G,_)}}for(var O in G){var I=G[O];if(_=H[O],G.hasOwnProperty(O)&&(I!=null||_!=null))switch(O){case"type":Z=I;break;case"name":X=I;break;case"checked":R=I;break;case"defaultChecked":w=I;break;case"value":Y=I;break;case"defaultValue":z=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:I!==_&&V1(M,$,O,I,G,_)}}$=H.type==="checkbox"||H.type==="radio"?H.checked!=null:H.value!=null,G=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,$||!G||uQ||(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"),uQ=!0),!$||G||fQ||(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"),fQ=!0),V5(M,Y,z,U,R,w,Z,X);return;case"select":I=Y=z=O=null;for(Z in H)if(U=H[Z],H.hasOwnProperty(Z)&&U!=null)switch(Z){case"value":break;case"multiple":I=U;default:G.hasOwnProperty(Z)||V1(M,$,Z,null,G,U)}for(X in G)if(Z=G[X],U=H[X],G.hasOwnProperty(X)&&(Z!=null||U!=null))switch(X){case"value":O=Z;break;case"defaultValue":z=Z;break;case"multiple":Y=Z;default:Z!==U&&V1(M,$,X,Z,G,U)}G=z,$=Y,H=I,O!=null?o2(M,!!$,O,!1):!!H!==!!$&&(G!=null?o2(M,!!$,G,!0):o2(M,!!$,$?[]:"",!1));return;case"textarea":I=O=null;for(z in H)if(X=H[z],H.hasOwnProperty(z)&&X!=null&&!G.hasOwnProperty(z))switch(z){case"value":break;case"children":break;default:V1(M,$,z,null,G,X)}for(Y in G)if(X=G[Y],Z=H[Y],G.hasOwnProperty(Y)&&(X!=null||Z!=null))switch(Y){case"value":O=X;break;case"defaultValue":I=X;break;case"children":break;case"dangerouslySetInnerHTML":if(X!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:X!==Z&&V1(M,$,Y,X,G,Z)}JG(M,O,I);return;case"option":for(var u in H)if(O=H[u],H.hasOwnProperty(u)&&O!=null&&!G.hasOwnProperty(u))switch(u){case"selected":M.selected=!1;break;default:V1(M,$,u,null,G,O)}for(U in G)if(O=G[U],I=H[U],G.hasOwnProperty(U)&&O!==I&&(O!=null||I!=null))switch(U){case"selected":M.selected=O&&typeof O!=="function"&&typeof O!=="symbol";break;default:V1(M,$,U,O,G,I)}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 a in H)O=H[a],H.hasOwnProperty(a)&&O!=null&&!G.hasOwnProperty(a)&&V1(M,$,a,null,G,O);for(R in G)if(O=G[R],I=H[R],G.hasOwnProperty(R)&&O!==I&&(O!=null||I!=null))switch(R){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:V1(M,$,R,O,G,I)}return;default:if(z8($)){for(var v1 in H)O=H[v1],H.hasOwnProperty(v1)&&O!==void 0&&!G.hasOwnProperty(v1)&&B7(M,$,v1,void 0,G,O);for(w in G)O=G[w],I=H[w],!G.hasOwnProperty(w)||O===I||O===void 0&&I===void 0||B7(M,$,w,O,G,I);return}}for(var B1 in H)O=H[B1],H.hasOwnProperty(B1)&&O!=null&&!G.hasOwnProperty(B1)&&V1(M,$,B1,null,G,O);for(_ in G)O=G[_],I=H[_],!G.hasOwnProperty(_)||O===I||O==null&&I==null||V1(M,$,_,O,G,I)}function HY(M){switch(M){case"class":return"className";case"for":return"htmlFor";default:return M}}function q7(M){var $={};M=M.style;for(var H=0;H<M.length;H++){var G=M[H];$[G]=M.getPropertyValue(G)}return $}function GY(M,$,H){if($!=null&&typeof $!=="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 $)if($.hasOwnProperty(Z)){var Y=$[Z];Y!=null&&typeof Y!=="boolean"&&Y!==""&&(Z.indexOf("--")===0?(l1(Y,Z),G+=X+Z+":"+(""+Y).trim()):typeof Y!=="number"||Y===0||Qz.has(Z)?(l1(Y,Z),G+=X+Z.replace(Gz,"-$1").toLowerCase().replace(Xz,"-ms-")+":"+(""+Y).trim()):G+=X+Z.replace(Gz,"-$1").toLowerCase().replace(Xz,"-ms-")+":"+Y+"px",X=";")}G=G||null,$=M.getAttribute("style"),$!==G&&(G=D4(G),D4($)!==G&&(H.style=q7(M)))}}function GM(M,$,H,G,X,Z){if(X.delete(H),M=M.getAttribute(H),M===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===""+G)return}Z0($,M,G,Z)}function XY(M,$,H,G,X,Z){if(X.delete(H),M=M.getAttribute(H),M===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,G,Z)}function K7(M,$,H,G,X,Z){if(X.delete(H),M=M.getAttribute(H),M===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),M===""+G)return}Z0($,M,G,Z)}function ZY(M,$,H,G,X,Z){if(X.delete(H),M=M.getAttribute(H),M===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===""+G))return}Z0($,M,G,Z)}function O7(M,$,H,G,X,Z){if(X.delete(H),M=M.getAttribute(H),M===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,$),H=Q8(""+G),M===H)return}Z0($,M,G,Z)}function YY(M,$,H,G){for(var X={},Z=new Set,Y=M.attributes,z=0;z<Y.length;z++)switch(Y[z].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:Z.add(Y[z].name)}if(z8($)){for(var U in H)if(H.hasOwnProperty(U)){var R=H[U];if(R!=null){if(w2.hasOwnProperty(U))typeof R!=="function"&&mM(U,R);else if(H.suppressHydrationWarning!==!0)switch(U){case"children":typeof R!=="string"&&typeof R!=="number"||Z0("children",M.textContent,R,X);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":Y=M.innerHTML,R=R?R.__html:void 0,R!=null&&(R=MY(M,R),Z0(U,Y,R,X));continue;case"style":Z.delete(U),GY(M,R,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(M,"class",R),Z0("className",Y,R,X);continue;default:G.context===W4&&$!=="svg"&&$!=="math"?Z.delete(U.toLowerCase()):Z.delete(U),Y=Z1(M,U,R),Z0(U,Y,R,X)}}}}else for(R in H)if(H.hasOwnProperty(R)&&(U=H[R],U!=null)){if(w2.hasOwnProperty(R))typeof U!=="function"&&mM(R,U);else if(H.suppressHydrationWarning!==!0)switch(R){case"children":typeof U!=="string"&&typeof U!=="number"||Z0("children",M.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=M.innerHTML,U=U?U.__html:void 0,U!=null&&(U=MY(M,U),Y!==U&&(X[R]={__html:Y}));continue;case"className":GM(M,R,"class",U,Z,X);continue;case"tabIndex":GM(M,R,"tabindex",U,Z,X);continue;case"style":Z.delete(R),GY(M,U,X);continue;case"multiple":Z.delete(R),Z0(R,M.multiple,U,X);continue;case"muted":Z.delete(R),Z0(R,M.muted,U,X);continue;case"autoFocus":Z.delete("autofocus"),Z0(R,M.autofocus,U,X);continue;case"data":if($!=="object"){Z.delete(R),Y=M.getAttribute("data"),Z0(R,Y,U,X);continue}case"src":case"href":if(!(U!==""||$==="a"&&R==="href"||$==="object"&&R==="data")){R==="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.',R,R):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.',R,R);continue}O7(M,R,R,U,Z,X);continue;case"action":case"formAction":if(Y=M.getAttribute(R),typeof U==="function"){Z.delete(R.toLowerCase()),R==="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===Wq){Z.delete(R.toLowerCase()),Z0(R,"function",U,X);continue}O7(M,R,R.toLowerCase(),U,Z,X);continue;case"xlinkHref":O7(M,R,"xlink:href",U,Z,X);continue;case"contentEditable":K7(M,R,"contenteditable",U,Z,X);continue;case"spellCheck":K7(M,R,"spellcheck",U,Z,X);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":K7(M,R,R,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":XY(M,R,R.toLowerCase(),U,Z,X);continue;case"capture":case"download":M:{z=M;var w=Y=R,_=X;if(Z.delete(w),z=z.getAttribute(w),z===null)switch(typeof U){case"undefined":case"function":case"symbol":break M;default:if(U===!1)break M}else if(U!=null)switch(typeof U){case"function":case"symbol":break;case"boolean":if(U===!0&&z==="")break M;break;default:if(r(U,Y),z===""+U)break M}Z0(Y,z,U,_)}continue;case"cols":case"rows":case"size":case"span":M:{if(z=M,w=Y=R,_=X,Z.delete(w),z=z.getAttribute(w),z===null)switch(typeof U){case"undefined":case"function":case"symbol":case"boolean":break M;default:if(isNaN(U)||1>U)break M}else if(U!=null)switch(typeof U){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(U)||1>U)&&(r(U,Y),z===""+U))break M}Z0(Y,z,U,_)}continue;case"rowSpan":ZY(M,R,"rowspan",U,Z,X);continue;case"start":ZY(M,R,R,U,Z,X);continue;case"xHeight":GM(M,R,"x-height",U,Z,X);continue;case"xlinkActuate":GM(M,R,"xlink:actuate",U,Z,X);continue;case"xlinkArcrole":GM(M,R,"xlink:arcrole",U,Z,X);continue;case"xlinkRole":GM(M,R,"xlink:role",U,Z,X);continue;case"xlinkShow":GM(M,R,"xlink:show",U,Z,X);continue;case"xlinkTitle":GM(M,R,"xlink:title",U,Z,X);continue;case"xlinkType":GM(M,R,"xlink:type",U,Z,X);continue;case"xmlBase":GM(M,R,"xml:base",U,Z,X);continue;case"xmlLang":GM(M,R,"xml:lang",U,Z,X);continue;case"xmlSpace":GM(M,R,"xml:space",U,Z,X);continue;case"inert":U!==""||K5[R]||(K5[R]=!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.",R)),XY(M,R,R,U,Z,X);continue;default:if(!(2<R.length)||R[0]!=="o"&&R[0]!=="O"||R[1]!=="n"&&R[1]!=="N"){z=IG(R),Y=!1,G.context===W4&&$!=="svg"&&$!=="math"?Z.delete(z.toLowerCase()):(w=R.toLowerCase(),w=mH.hasOwnProperty(w)?mH[w]||null:null,w!==null&&w!==R&&(Y=!0,Z.delete(w)),Z.delete(z));M:if(w=M,_=z,z=U,W1(_))if(w.hasAttribute(_))w=w.getAttribute(_),r(z,_),z=w===""+z?z:w;else{switch(typeof z){case"function":case"symbol":break M;case"boolean":if(w=_.toLowerCase().slice(0,5),w!=="data-"&&w!=="aria-")break M}z=z===void 0?void 0:null}else z=void 0;Y||Z0(R,z,U,X)}}}return 0<Z.size&&H.suppressHydrationWarning!==!0&&zJ(M,Z,X),Object.keys(X).length===0?null:X}function UJ(M,$){switch(M.length){case 0:return"";case 1:return M[0];case 2:return M[0]+" "+$+" "+M[1];default:return M.slice(0,-1).join(", ")+", "+$+" "+M[M.length-1]}}function IH(M){return M.nodeType===9?M:M.ownerDocument}function zY(M){switch(M){case K6:return c6;case yH:return w5;default:return W4}}function QY(M,$){if(M===W4)switch($){case"svg":return c6;case"math":return w5;default:return W4}return M===c6&&$==="foreignObject"?W4:M}function P7(M,$){return M==="textarea"||M==="noscript"||typeof $.children==="string"||typeof $.children==="number"||typeof $.children==="bigint"||typeof $.dangerouslySetInnerHTML==="object"&&$.dangerouslySetInnerHTML!==null&&$.dangerouslySetInnerHTML.__html!=null}function RJ(){var M=window.event;if(M&&M.type==="popstate"){if(M===c9)return!1;return c9=M,!0}return c9=null,!1}function JJ(M){setTimeout(function(){throw M})}function BJ(M,$,H){switch($){case"button":case"input":case"select":case"textarea":H.autoFocus&&M.focus();break;case"img":H.src?M.src=H.src:H.srcSet&&(M.srcset=H.srcSet)}}function qJ(M,$,H,G){QJ(M,$,H,G),M[S0]=G}function UY(M){Y8(M,"")}function KJ(M,$,H){M.nodeValue=H}function v4(M){return M==="head"}function OJ(M,$){M.removeChild($)}function PJ(M,$){(M.nodeType===9?M.body:M.nodeName==="HTML"?M.ownerDocument.body:M).removeChild($)}function RY(M,$){var H=$,G=0,X=0;do{var Z=H.nextSibling;if(M.removeChild(H),Z&&Z.nodeType===8)if(H=Z.data,H===P5){if(0<G&&8>G){H=G;var Y=M.ownerDocument;if(H&_q&&g8(Y.documentElement),H&Aq&&g8(Y.body),H&Iq)for(H=Y.head,g8(H),Y=H.firstChild;Y;){var{nextSibling:z,nodeName:U}=Y;Y[u8]||U==="SCRIPT"||U==="STYLE"||U==="LINK"&&Y.rel.toLowerCase()==="stylesheet"||H.removeChild(Y),Y=z}}if(X===0){M.removeChild(Z),y8($);return}X--}else H===O5||H===w4||H===_$?X++:G=H.charCodeAt(0)-48;else G=0;H=Z}while(H);y8($)}function wJ(M){M=M.style,typeof M.setProperty==="function"?M.setProperty("display","none","important"):M.display="none"}function WJ(M){M.nodeValue=""}function TJ(M,$){$=$[Fq],$=$!==void 0&&$!==null&&$.hasOwnProperty("display")?$.display:null,M.style.display=$==null||typeof $==="boolean"?"":(""+$).trim()}function _J(M,$){M.nodeValue=$}function w7(M){var $=M.firstChild;$&&$.nodeType===10&&($=$.nextSibling);for(;$;){var H=$;switch($=$.nextSibling,H.nodeName){case"HTML":case"HEAD":case"BODY":w7(H),M2(H);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(H.rel.toLowerCase()==="stylesheet")continue}M.removeChild(H)}}function AJ(M,$,H,G){for(;M.nodeType===1;){var X=H;if(M.nodeName.toLowerCase()!==$.toLowerCase()){if(!G&&(M.nodeName!=="INPUT"||M.type!=="hidden"))break}else if(!G)if($==="input"&&M.type==="hidden"){r(X.name,"name");var Z=X.name==null?null:""+X.name;if(X.type==="hidden"&&M.getAttribute("name")===Z)return M}else return M;else if(!M[u8])switch($){case"meta":if(!M.hasAttribute("itemprop"))break;return M;case"link":if(Z=M.getAttribute("rel"),Z==="stylesheet"&&M.hasAttribute("data-precedence"))break;else if(Z!==X.rel||M.getAttribute("href")!==(X.href==null||X.href===""?null:X.href)||M.getAttribute("crossorigin")!==(X.crossOrigin==null?null:X.crossOrigin)||M.getAttribute("title")!==(X.title==null?null:X.title))break;return M;case"style":if(M.hasAttribute("data-precedence"))break;return M;case"script":if(Z=M.getAttribute("src"),(Z!==(X.src==null?null:X.src)||M.getAttribute("type")!==(X.type==null?null:X.type)||M.getAttribute("crossorigin")!==(X.crossOrigin==null?null:X.crossOrigin))&&Z&&M.hasAttribute("async")&&!M.hasAttribute("itemprop"))break;return M;default:return M}if(M=XM(M.nextSibling),M===null)break}return null}function IJ(M,$,H){if($==="")return null;for(;M.nodeType!==3;){if((M.nodeType!==1||M.nodeName!=="INPUT"||M.type!=="hidden")&&!H)return null;if(M=XM(M.nextSibling),M===null)return null}return M}function W7(M){return M.data===_$||M.data===w4&&M.ownerDocument.readyState===pQ}function FJ(M,$){var H=M.ownerDocument;if(M.data!==w4||H.readyState===pQ)$();else{var G=function(){$(),H.removeEventListener("DOMContentLoaded",G)};H.addEventListener("DOMContentLoaded",G),M._reactRetry=G}}function XM(M){for(;M!=null;M=M.nextSibling){var $=M.nodeType;if($===1||$===3)break;if($===8){if($=M.data,$===O5||$===_$||$===w4||$===d9||$===lQ)break;if($===P5)return null}}return M}function JY(M){if(M.nodeType===1){for(var $=M.nodeName.toLowerCase(),H={},G=M.attributes,X=0;X<G.length;X++){var Z=G[X];H[HY(Z.name)]=Z.name.toLowerCase()==="style"?q7(M):Z.value}return{type:$,props:H}}return M.nodeType===8?{type:"Suspense",props:{}}:M.nodeValue}function BY(M,$,H){return H===null||H[Tq]!==!0?(M.nodeValue===$?M=null:($=D4($),M=D4(M.nodeValue)===$?null:M.nodeValue),M):null}function qY(M){M=M.nextSibling;for(var $=0;M;){if(M.nodeType===8){var H=M.data;if(H===P5){if($===0)return XM(M.nextSibling);$--}else H!==O5&&H!==_$&&H!==w4||$++}M=M.nextSibling}return null}function KY(M){M=M.previousSibling;for(var $=0;M;){if(M.nodeType===8){var H=M.data;if(H===O5||H===_$||H===w4){if($===0)return M;$--}else H===P5&&$++}M=M.previousSibling}return null}function jJ(M){y8(M)}function LJ(M){y8(M)}function OY(M,$,H,G,X){switch(X&&b5(M,G.ancestorInfo),$=IH(H),M){case"html":if(M=$.documentElement,!M)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 M;case"head":if(M=$.head,!M)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 M;case"body":if(M=$.body,!M)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 M;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function EJ(M,$,H,G){if(!H[y4]&&Q(H)){var X=H.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(M){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=H.attributes;X.length;)H.removeAttributeNode(X[0]);J0(H,M,$),H[W0]=G,H[S0]=$}function g8(M){for(var $=M.attributes;$.length;)M.removeAttributeNode($[0]);M2(M)}function FH(M){return typeof M.getRootNode==="function"?M.getRootNode():M.nodeType===9?M:M.ownerDocument}function PY(M,$,H){var G=s6;if(G&&typeof $==="string"&&$){var X=HM($);X='link[rel="'+M+'"][href="'+X+'"]',typeof H==="string"&&(X+='[crossorigin="'+H+'"]'),nQ.has(X)||(nQ.add(X),M={rel:M,crossOrigin:H,href:$},G.querySelector(X)===null&&($=G.createElement("link"),J0($,"link",M),D($),G.head.appendChild($)))}}function wY(M,$,H,G){var X=(X=b4.current)?FH(X):null;if(!X)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(M){case"meta":case"title":return null;case"style":return typeof H.precedence==="string"&&typeof H.href==="string"?(H=z6(H.href),$=v(X).hoistableStyles,G=$.get(H),G||(G={type:"style",instance:null,count:0,state:null},$.set(H,G)),G):{type:"void",instance:null,count:0,state:null};case"link":if(H.rel==="stylesheet"&&typeof H.href==="string"&&typeof H.precedence==="string"){M=z6(H.href);var Z=v(X).hoistableStyles,Y=Z.get(M);if(!Y&&(X=X.ownerDocument||X,Y={type:"stylesheet",instance:null,count:0,state:{loading:b2,preload:null}},Z.set(M,Y),(Z=X.querySelector(S8(M)))&&!Z._p&&(Y.instance=Z,Y.state.loading=A$|KM),!OM.has(M))){var z={rel:"preload",as:"style",href:H.href,crossOrigin:H.crossOrigin,integrity:H.integrity,media:H.media,hrefLang:H.hrefLang,referrerPolicy:H.referrerPolicy};OM.set(M,z),Z||NJ(X,M,z,Y.state)}if($&&G===null)throw H=`
|
|
|
|
- `+jH($)+`
|
|
+ `+jH(H),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."+H);return Y}if($&&G!==null)throw H=`
|
|
|
|
- `+jH($)+`
|
|
+ `+jH(H),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."+H);return null;case"script":return $=H.async,H=H.src,typeof H==="string"&&$&&typeof $!=="function"&&typeof $!=="symbol"?(H=Q6(H),$=v(X).hoistableScripts,G=$.get(H),G||(G={type:"script",instance:null,count:0,state:null},$.set(H,G)),G):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+M+'". this is a bug in React.')}}function jH(M){var $=0,H="<link";return typeof M.rel==="string"?($++,H+=' rel="'+M.rel+'"'):Q4.call(M,"rel")&&($++,H+=' rel="'+(M.rel===null?"null":"invalid type "+typeof M.rel)+'"'),typeof M.href==="string"?($++,H+=' href="'+M.href+'"'):Q4.call(M,"href")&&($++,H+=' href="'+(M.href===null?"null":"invalid type "+typeof M.href)+'"'),typeof M.precedence==="string"?($++,H+=' precedence="'+M.precedence+'"'):Q4.call(M,"precedence")&&($++,H+=" precedence={"+(M.precedence===null?"null":"invalid type "+typeof M.precedence)+"}"),Object.getOwnPropertyNames(M).length>$&&(H+=" ..."),H+" />"}function z6(M){return'href="'+HM(M)+'"'}function S8(M){return'link[rel="stylesheet"]['+M+"]"}function WY(M){return Y1({},M,{"data-precedence":M.precedence,precedence:null})}function NJ(M,$,H,G){M.querySelector('link[rel="preload"][as="style"]['+$+"]")?G.loading=A$:($=M.createElement("link"),G.preload=$,$.addEventListener("load",function(){return G.loading|=A$}),$.addEventListener("error",function(){return G.loading|=aQ}),J0($,"link",H),D($),M.head.appendChild($))}function Q6(M){return'[src="'+HM(M)+'"]'}function b8(M){return"script[async]"+M}function TY(M,$,H){if($.count++,$.instance===null)switch($.type){case"style":var G=M.querySelector('style[data-href~="'+HM(H.href)+'"]');if(G)return $.instance=G,D(G),G;var X=Y1({},H,{"data-href":H.href,"data-precedence":H.precedence,href:null,precedence:null});return G=(M.ownerDocument||M).createElement("style"),D(G),J0(G,"style",X),LH(G,H.precedence,M),$.instance=G;case"stylesheet":X=z6(H.href);var Z=M.querySelector(S8(X));if(Z)return $.state.loading|=KM,$.instance=Z,D(Z),Z;G=WY(H),(X=OM.get(X))&&T7(G,X),Z=(M.ownerDocument||M).createElement("link"),D(Z);var Y=Z;return Y._p=new Promise(function(z,U){Y.onload=z,Y.onerror=U}),J0(Z,"link",G),$.state.loading|=KM,LH(Z,H.precedence,M),$.instance=Z;case"script":if(Z=Q6(H.src),X=M.querySelector(b8(Z)))return $.instance=X,D(X),X;if(G=H,X=OM.get(Z))G=Y1({},H),_7(G,X);return M=M.ownerDocument||M,X=M.createElement("script"),D(X),J0(X,"link",G),M.head.appendChild(X),$.instance=X;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+$.type+'". this is a bug in React.')}else $.type==="stylesheet"&&($.state.loading&KM)===b2&&(G=$.instance,$.state.loading|=KM,LH(G,H.precedence,M));return $.instance}function LH(M,$,H){for(var G=H.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 z=G[Y];if(z.dataset.precedence===$)Z=z;else if(Z!==X)break}Z?Z.parentNode.insertBefore(M,Z.nextSibling):($=H.nodeType===9?H.head:H,$.insertBefore(M,$.firstChild))}function T7(M,$){M.crossOrigin==null&&(M.crossOrigin=$.crossOrigin),M.referrerPolicy==null&&(M.referrerPolicy=$.referrerPolicy),M.title==null&&(M.title=$.title)}function _7(M,$){M.crossOrigin==null&&(M.crossOrigin=$.crossOrigin),M.referrerPolicy==null&&(M.referrerPolicy=$.referrerPolicy),M.integrity==null&&(M.integrity=$.integrity)}function _Y(M,$,H){if(W5===null){var G=new Map,X=W5=new Map;X.set(H,G)}else X=W5,G=X.get(H),G||(G=new Map,X.set(H,G));if(G.has(M))return G;G.set(M,null),H=H.getElementsByTagName(M);for(X=0;X<H.length;X++){var Z=H[X];if(!(Z[u8]||Z[W0]||M==="link"&&Z.getAttribute("rel")==="stylesheet")&&Z.namespaceURI!==K6){var Y=Z.getAttribute($)||"";Y=M+Y;var z=G.get(Y);z?z.push(Z):G.set(Y,[Z])}}return G}function AY(M,$,H){M=M.ownerDocument||M,M.head.insertBefore(H,$==="title"?M.querySelector("head > title"):null)}function xJ(M,$,H){var G=!H.ancestorInfo.containerTagInScope;if(H.context===c6||$.itemProp!=null)return!G||$.itemProp==null||M!=="meta"&&M!=="title"&&M!=="style"&&M!=="link"&&M!=="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.",M,M),!1;switch(M){case"meta":case"title":return!0;case"style":if(typeof $.precedence!=="string"||typeof $.href!=="string"||$.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 $.rel!=="string"||typeof $.href!=="string"||$.href===""||$.onLoad||$.onError){if($.rel==="stylesheet"&&typeof $.precedence==="string"){M=$.href;var{onError:X,disabled:Z}=$;H=[],$.onLoad&&H.push("`onLoad`"),X&&H.push("`onError`"),Z!=null&&H.push("`disabled`"),X=UJ(H,"and"),X+=H.length===1?" prop":" props",Z=H.length===1?"an "+X:"the "+X,H.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.',M,Z,X)}G&&(typeof $.rel!=="string"||typeof $.href!=="string"||$.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"):($.onError||$.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($.rel){case"stylesheet":return M=$.precedence,$=$.disabled,typeof M!=="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 M==="string"&&$==null;default:return!0}case"script":if(M=$.async&&typeof $.async!=="function"&&typeof $.async!=="symbol",!M||$.onLoad||$.onError||!$.src||typeof $.src!=="string"){G&&(M?$.onLoad||$.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.",M)}return!1}function IY(M){return M.type==="stylesheet"&&(M.state.loading&rQ)===b2?!1:!0}function VJ(){}function CJ(M,$,H){if(I$===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var G=I$;if($.type==="stylesheet"&&(typeof H.media!=="string"||matchMedia(H.media).matches!==!1)&&($.state.loading&KM)===b2){if($.instance===null){var X=z6(H.href),Z=M.querySelector(S8(X));if(Z){M=Z._p,M!==null&&typeof M==="object"&&typeof M.then==="function"&&(G.count++,G=EH.bind(G),M.then(G,G)),$.state.loading|=KM,$.instance=Z,D(Z);return}Z=M.ownerDocument||M,H=WY(H),(X=OM.get(X))&&T7(H,X),Z=Z.createElement("link"),D(Z);var Y=Z;Y._p=new Promise(function(z,U){Y.onload=z,Y.onerror=U}),J0(Z,"link",H),$.instance=Z}G.stylesheets===null&&(G.stylesheets=new Map),G.stylesheets.set($,M),(M=$.state.preload)&&($.state.loading&rQ)===b2&&(G.count++,$=EH.bind(G),M.addEventListener("load",$),M.addEventListener("error",$))}}function DJ(){if(I$===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var M=I$;return M.stylesheets&&M.count===0&&A7(M,M.stylesheets),0<M.count?function($){var H=setTimeout(function(){if(M.stylesheets&&A7(M,M.stylesheets),M.unsuspend){var G=M.unsuspend;M.unsuspend=null,G()}},60000);return M.unsuspend=$,function(){M.unsuspend=null,clearTimeout(H)}}:null}function EH(){if(this.count--,this.count===0){if(this.stylesheets)A7(this,this.stylesheets);else if(this.unsuspend){var M=this.unsuspend;this.unsuspend=null,M()}}}function A7(M,$){M.stylesheets=null,M.unsuspend!==null&&(M.count++,T5=new Map,$.forEach(vJ,M),T5=null,EH.call(M))}function vJ(M,$){if(!($.state.loading&KM)){var H=T5.get(M);if(H)var G=H.get(o9);else{H=new Map,T5.set(M,H);for(var X=M.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")H.set(Y.dataset.precedence,Y),G=Y}G&&H.set(o9,G)}X=$.instance,Y=X.getAttribute("data-precedence"),Z=H.get(Y)||G,Z===G&&H.set(o9,X),H.set(Y,X),this.count++,G=EH.bind(this),X.addEventListener("load",G),X.addEventListener("error",G),Z?Z.parentNode.insertBefore(X,Z.nextSibling):(M=M.nodeType===9?M.head:M,M.insertBefore(X,M.firstChild)),$.state.loading|=KM}}function gJ(M,$,H,G,X,Z,Y,z){this.tag=1,this.containerInfo=M,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=S2,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=p2(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=p2(0),this.hiddenUpdates=p2(null),this.identifierPrefix=G,this.onUncaughtError=X,this.onCaughtError=Z,this.onRecoverableError=Y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,M=this.pendingUpdatersLaneMap=[];for($=0;31>$;$++)M.push(new Set);this._debugRootType=H?"hydrateRoot()":"createRoot()"}function FY(M,$,H,G,X,Z,Y,z,U,R,w,_){return M=new gJ(M,$,H,Y,z,U,R,_),$=rB,Z===!0&&($|=T0|jM),IM&&($|=q0),Z=b(3,null,null,$),M.current=Z,Z.stateNode=M,$=i5(),J2($),M.pooledCache=$,J2($),Z.memoizedState={element:G,isDehydrated:H,cache:$},$3(Z),M}function jY(M){if(!M)return f4;return M=f4,M}function I7(M,$,H,G,X,Z){if(w0&&typeof w0.onScheduleFiberRoot==="function")try{w0.onScheduleFiberRoot(B6,G,H)}catch(Y){hM||(hM=!0,console.error("React instrumentation encountered an error: %s",Y))}k!==null&&typeof k.markRenderScheduled==="function"&&k.markRenderScheduled($),X=jY(X),G.context===null?G.context=X:G.pendingContext=X,lM&&a0!==null&&!MU&&(MU=!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.`,m(a0)||"Unknown")),G=L4($),G.payload={element:H},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),H=E4(M,G,$),H!==null&&(c1(H,M,$),w8(H,M,$))}function LY(M,$){if(M=M.memoizedState,M!==null&&M.dehydrated!==null){var H=M.retryLane;M.retryLane=H!==0&&H<$?H:$}}function F7(M,$){LY(M,$),(M=M.alternate)&&LY(M,$)}function EY(M){if(M.tag===13){var $=D0(M,67108864);$!==null&&c1($,M,67108864),F7(M,67108864)}}function SJ(){return a0}function bJ(){for(var M=new Map,$=1,H=0;31>H;H++){var G=h2($);M.set($,G),$*=2}return M}function kJ(M,$,H,G){var X=T.T;T.T=null;var Z=I1.p;try{I1.p=o0,j7(M,$,H,G)}finally{I1.p=Z,T.T=X}}function yJ(M,$,H,G){var X=T.T;T.T=null;var Z=I1.p;try{I1.p=FM,j7(M,$,H,G)}finally{I1.p=Z,T.T=X}}function j7(M,$,H,G){if(A5){var X=L7(G);if(X===null)R7(M,$,G,I5,H),xY(M,G);else if(mJ(X,M,$,H,G))G.stopPropagation();else if(xY(M,G),$&4&&-1<Nq.indexOf(M)){for(;X!==null;){var Z=Q(X);if(Z!==null)switch(Z.tag){case 3:if(Z=Z.stateNode,Z.current.memoizedState.isDehydrated){var Y=DM(Z.pendingLanes);if(Y!==0){var z=Z;z.pendingLanes|=2;for(z.entangledLanes|=2;Y;){var U=1<<31-_0(Y);z.entanglements[1]|=U,Y&=~U}yM(Z),(F1&(L0|xM))===r0&&(Z5=uM()+vQ,D8(0,!1))}}break;case 13:z=D0(Z,2),z!==null&&c1(z,Z,2),G6(),F7(Z,2)}if(Z=L7(G),Z===null&&R7(M,$,G,I5,H),Z===X)break;X=Z}X!==null&&G.stopPropagation()}else R7(M,$,G,null,H)}}function L7(M){return M=k5(M),E7(M)}function E7(M){if(I5=null,M=iM(M),M!==null){var $=G0(M);if($===null)M=null;else{var H=$.tag;if(H===13){if(M=t0($),M!==null)return M;M=null}else if(H===3){if($.stateNode.current.memoizedState.isDehydrated)return $.tag===3?$.stateNode.containerInfo:null;M=null}else $!==M&&(M=null)}}return I5=M,null}function NY(M){switch(M){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 o0;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 FM;case"message":switch(aJ()){case k7:return o0;case y7:return FM;case J6:case rJ:return dM;case m7:return bH;default:return dM}default:return dM}}function xY(M,$){switch(M){case"focusin":case"focusout":r4=null;break;case"dragenter":case"dragleave":n4=null;break;case"mouseover":case"mouseout":i4=null;break;case"pointerover":case"pointerout":j$.delete($.pointerId);break;case"gotpointercapture":case"lostpointercapture":L$.delete($.pointerId)}}function k8(M,$,H,G,X,Z){if(M===null||M.nativeEvent!==Z)return M={blockedOn:$,domEventName:H,eventSystemFlags:G,nativeEvent:Z,targetContainers:[X]},$!==null&&($=Q($),$!==null&&EY($)),M;return M.eventSystemFlags|=G,$=M.targetContainers,X!==null&&$.indexOf(X)===-1&&$.push(X),M}function mJ(M,$,H,G,X){switch($){case"focusin":return r4=k8(r4,M,$,H,G,X),!0;case"dragenter":return n4=k8(n4,M,$,H,G,X),!0;case"mouseover":return i4=k8(i4,M,$,H,G,X),!0;case"pointerover":var Z=X.pointerId;return j$.set(Z,k8(j$.get(Z)||null,M,$,H,G,X)),!0;case"gotpointercapture":return Z=X.pointerId,L$.set(Z,k8(L$.get(Z)||null,M,$,H,G,X)),!0}return!1}function VY(M){var $=iM(M.target);if($!==null){var H=G0($);if(H!==null){if($=H.tag,$===13){if($=t0(H),$!==null){M.blockedOn=$,s2(M.priority,function(){if(H.tag===13){var G=c0(H);G=c2(G);var X=D0(H,G);X!==null&&c1(X,H,G),F7(H,G)}});return}}else if($===3&&H.stateNode.current.memoizedState.isDehydrated){M.blockedOn=H.tag===3?H.stateNode.containerInfo:null;return}}}M.blockedOn=null}function NH(M){if(M.blockedOn!==null)return!1;for(var $=M.targetContainers;0<$.length;){var H=L7(M.nativeEvent);if(H===null){H=M.nativeEvent;var G=new H.constructor(H.type,H),X=G;d8!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),d8=X,H.target.dispatchEvent(G),d8===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."),d8=null}else return $=Q(H),$!==null&&EY($),M.blockedOn=H,!1;$.shift()}return!0}function CY(M,$,H){NH(M)&&H.delete($)}function fJ(){a9=!1,r4!==null&&NH(r4)&&(r4=null),n4!==null&&NH(n4)&&(n4=null),i4!==null&&NH(i4)&&(i4=null),j$.forEach(CY),L$.forEach(CY)}function xH(M,$){M.blockedOn===$&&(M.blockedOn=null,a9||(a9=!0,P1.unstable_scheduleCallback(P1.unstable_NormalPriority,fJ)))}function DY(M){F5!==M&&(F5=M,P1.unstable_scheduleCallback(P1.unstable_NormalPriority,function(){F5===M&&(F5=null);for(var $=0;$<M.length;$+=3){var H=M[$],G=M[$+1],X=M[$+2];if(typeof G!=="function")if(E7(G||H)===null)continue;else break;var Z=Q(H);Z!==null&&(M.splice($,3),$-=3,H={pending:!0,data:X,method:H.method,action:G},Object.freeze(H),E3(Z,H,G,X))}}))}function y8(M){function $(U){return xH(U,M)}r4!==null&&xH(r4,M),n4!==null&&xH(n4,M),i4!==null&&xH(i4,M),j$.forEach($),L$.forEach($);for(var H=0;H<t4.length;H++){var G=t4[H];G.blockedOn===M&&(G.blockedOn=null)}for(;0<t4.length&&(H=t4[0],H.blockedOn===null);)VY(H),H.blockedOn===null&&t4.shift();if(H=(M.ownerDocument||M).$$reactFormReplay,H!=null)for(G=0;G<H.length;G+=3){var X=H[G],Z=H[G+1],Y=X[S0]||null;if(typeof Z==="function")Y||DY(H);else if(Y){var z=null;if(Z&&Z.hasAttribute("formAction")){if(X=Z,Y=Z[S0]||null)z=Y.formAction;else if(E7(X)!==null)continue}else z=Y.action;typeof z==="function"?H[G+1]=z:(H.splice(G,3),G-=3),DY(H)}}}function N7(M){this._internalRoot=M}function VH(M){this._internalRoot=M}function vY(M){M[y4]&&(M._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,uJ=Symbol.for("react.element"),g4=Symbol.for("react.transitional.element"),U6=Symbol.for("react.portal"),R6=Symbol.for("react.fragment"),CH=Symbol.for("react.strict_mode"),x7=Symbol.for("react.profiler"),hJ=Symbol.for("react.provider"),V7=Symbol.for("react.consumer"),fM=Symbol.for("react.context"),m8=Symbol.for("react.forward_ref"),C7=Symbol.for("react.suspense"),D7=Symbol.for("react.suspense_list"),DH=Symbol.for("react.memo"),s0=Symbol.for("react.lazy"),v7=Symbol.for("react.activity"),dJ=Symbol.for("react.memo_cache_sentinel"),gY=Symbol.iterator,lJ=Symbol.for("react.client.reference"),B0=Array.isArray,T=o6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I1=n9.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,pJ=Object.freeze({pending:!1,data:null,method:null,action:null}),g7=[],S7=[],z4=-1,S4=i1(null),f8=i1(null),b4=i1(null),vH=i1(null),Q4=Object.prototype.hasOwnProperty,b7=P1.unstable_scheduleCallback,cJ=P1.unstable_cancelCallback,sJ=P1.unstable_shouldYield,oJ=P1.unstable_requestPaint,uM=P1.unstable_now,aJ=P1.unstable_getCurrentPriorityLevel,k7=P1.unstable_ImmediatePriority,y7=P1.unstable_UserBlockingPriority,J6=P1.unstable_NormalPriority,rJ=P1.unstable_LowPriority,m7=P1.unstable_IdlePriority,nJ=P1.log,iJ=P1.unstable_setDisableYieldValue,B6=null,w0=null,k=null,hM=!1,IM=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",_0=Math.clz32?Math.clz32:V0,tJ=Math.log,eJ=Math.LN2,gH=256,SH=4194304,o0=2,FM=8,dM=32,bH=268435456,k4=Math.random().toString(36).slice(2),W0="__reactFiber$"+k4,S0="__reactProps$"+k4,y4="__reactContainer$"+k4,f7="__reactEvents$"+k4,MB="__reactListeners$"+k4,$B="__reactHandles$"+k4,SY="__reactResources$"+k4,u8="__reactMarker$"+k4,bY=new Set,w2={},u7={},HB={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},GB=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]*$"),kY={},yY={},h8=0,mY,fY,uY,hY,dY,lY,pY;V$.__reactDisabledLog=!0;var h7,cY,d7=!1,l7=new(typeof WeakMap==="function"?WeakMap:Map),a0=null,lM=!1,XB=/[\n"\\]/g,sY=!1,oY=!1,aY=!1,rY=!1,nY=!1,iY=!1,tY=["value","defaultValue"],eY=!1,Mz=/["'&<>\n\t]|^\s|\s$/,ZB="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(" "),$z="applet caption html table td th marquee object template foreignObject desc title".split(" "),YB=$z.concat(["button"]),zB="dd dt li option optgroup p rp rt".split(" "),Hz={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},kH={},p7={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"]},Gz=/([A-Z])/g,Xz=/^ms-/,QB=/^(?:webkit|moz|o)[A-Z]/,UB=/^-ms-/,RB=/-(.)/g,Zz=/;\s*$/,q6={},c7={},Yz=!1,zz=!1,Qz=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(" ")),yH="http://www.w3.org/1998/Math/MathML",K6="http://www.w3.org/2000/svg",JB=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"]]),mH={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"},Uz={"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},O6={},BB=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]*$"),qB=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]*$"),Rz=!1,A0={},Jz=/^on./,KB=/^on[^A-Z]/,OB=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]*$"),PB=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]*$"),wB=/^[\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,d8=null,P6=null,w6=null,s7=!1,pM=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),o7=!1;if(pM)try{var l8={};Object.defineProperty(l8,"passive",{get:function(){o7=!0}}),window.addEventListener("test",l8,l8),window.removeEventListener("test",l8,l8)}catch(M){o7=!1}var m4=null,a7=null,fH=null,W2={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(M){return M.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},uH=C0(W2),p8=Y1({},W2,{view:0,detail:0}),WB=C0(p8),r7,n7,c8,hH=Y1({},p8,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:y5,button:0,buttons:0,relatedTarget:function(M){return M.relatedTarget===void 0?M.fromElement===M.srcElement?M.toElement:M.fromElement:M.relatedTarget},movementX:function(M){if("movementX"in M)return M.movementX;return M!==c8&&(c8&&M.type==="mousemove"?(r7=M.screenX-c8.screenX,n7=M.screenY-c8.screenY):n7=r7=0,c8=M),r7},movementY:function(M){return"movementY"in M?M.movementY:n7}}),Bz=C0(hH),TB=Y1({},hH,{dataTransfer:0}),_B=C0(TB),AB=Y1({},p8,{relatedTarget:0}),i7=C0(AB),IB=Y1({},W2,{animationName:0,elapsedTime:0,pseudoElement:0}),FB=C0(IB),jB=Y1({},W2,{clipboardData:function(M){return"clipboardData"in M?M.clipboardData:window.clipboardData}}),LB=C0(jB),EB=Y1({},W2,{data:0}),qz=C0(EB),NB=qz,xB={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},VB={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"},CB={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},DB=Y1({},p8,{key:function(M){if(M.key){var $=xB[M.key]||M.key;if($!=="Unidentified")return $}return M.type==="keypress"?(M=b$(M),M===13?"Enter":String.fromCharCode(M)):M.type==="keydown"||M.type==="keyup"?VB[M.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:y5,charCode:function(M){return M.type==="keypress"?b$(M):0},keyCode:function(M){return M.type==="keydown"||M.type==="keyup"?M.keyCode:0},which:function(M){return M.type==="keypress"?b$(M):M.type==="keydown"||M.type==="keyup"?M.keyCode:0}}),vB=C0(DB),gB=Y1({},hH,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kz=C0(gB),SB=Y1({},p8,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:y5}),bB=C0(SB),kB=Y1({},W2,{propertyName:0,elapsedTime:0,pseudoElement:0}),yB=C0(kB),mB=Y1({},hH,{deltaX:function(M){return"deltaX"in M?M.deltaX:("wheelDeltaX"in M)?-M.wheelDeltaX:0},deltaY:function(M){return"deltaY"in M?M.deltaY:("wheelDeltaY"in M)?-M.wheelDeltaY:("wheelDelta"in M)?-M.wheelDelta:0},deltaZ:0,deltaMode:0}),fB=C0(mB),uB=Y1({},W2,{newState:0,oldState:0}),hB=C0(uB),dB=[9,13,27,32],Oz=229,t7=pM&&"CompositionEvent"in window,s8=null;pM&&"documentMode"in document&&(s8=document.documentMode);var lB=pM&&"TextEvent"in window&&!s8,Pz=pM&&(!t7||s8&&8<s8&&11>=s8),wz=32,Wz=String.fromCharCode(wz),Tz=!1,W6=!1,pB={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},o8=null,a8=null,_z=!1;pM&&(_z=AR("input")&&(!document.documentMode||9<document.documentMode));var I0=typeof Object.is==="function"?Object.is:NR,cB=pM&&"documentMode"in document&&11>=document.documentMode,T6=null,e7=null,r8=null,M9=!1,_6={animationend:H2("Animation","AnimationEnd"),animationiteration:H2("Animation","AnimationIteration"),animationstart:H2("Animation","AnimationStart"),transitionrun:H2("Transition","TransitionRun"),transitionstart:H2("Transition","TransitionStart"),transitioncancel:H2("Transition","TransitionCancel"),transitionend:H2("Transition","TransitionEnd")},$9={},Az={};pM&&(Az=document.createElement("div").style,("AnimationEvent"in window)||(delete _6.animationend.animation,delete _6.animationiteration.animation,delete _6.animationstart.animation),("TransitionEvent"in window)||delete _6.transitionend.transition);var Iz=G2("animationend"),Fz=G2("animationiteration"),jz=G2("animationstart"),sB=G2("transitionrun"),oB=G2("transitionstart"),aB=G2("transitioncancel"),Lz=G2("transitionend"),Ez=new Map,H9="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(" ");H9.push("scrollEnd");var G9=new WeakMap,dH=1,U4=2,ZM=[],A6=0,X9=0,f4={};Object.freeze(f4);var YM=null,I6=null,g1=0,rB=1,q0=2,T0=8,jM=16,Nz=64,xz=!1;try{var Vz=Object.preventExtensions({})}catch(M){xz=!0}var F6=[],j6=0,lH=null,pH=0,zM=[],QM=0,T2=null,R4=1,J4="",F0=null,h1=null,O1=!1,B4=!1,UM=null,_2=null,cM=!1,Z9=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."),Cz=0;if(typeof performance==="object"&&typeof performance.now==="function")var nB=performance,Dz=function(){return nB.now()};else{var iB=Date;Dz=function(){return iB.now()}}var Y9=i1(null),z9=i1(null),vz={},cH=null,L6=null,E6=!1,tB=typeof AbortController<"u"?AbortController:function(){var M=[],$=this.signal={aborted:!1,addEventListener:function(H,G){M.push(G)}};this.abort=function(){$.aborted=!0,M.forEach(function(H){return H()})}},eB=P1.unstable_scheduleCallback,Mq=P1.unstable_NormalPriority,e1={$$typeof:fM,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},N6=P1.unstable_now,gz=-0,sH=-0,b0=-1.1,A2=-0,oH=!1,aH=!1,n8=null,Q9=0,I2=0,x6=null,Sz=T.S;T.S=function(M,$){typeof $==="object"&&$!==null&&typeof $.then==="function"&&VR(M,$),Sz!==null&&Sz(M,$)};var F2=i1(null),LM={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},i8=[],t8=[],e8=[],M$=[],$$=[],H$=[],j2=new Set;LM.recordUnsafeLifecycleWarnings=function(M,$){j2.has(M.type)||(typeof $.componentWillMount==="function"&&$.componentWillMount.__suppressDeprecationWarning!==!0&&i8.push(M),M.mode&T0&&typeof $.UNSAFE_componentWillMount==="function"&&t8.push(M),typeof $.componentWillReceiveProps==="function"&&$.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&e8.push(M),M.mode&T0&&typeof $.UNSAFE_componentWillReceiveProps==="function"&&M$.push(M),typeof $.componentWillUpdate==="function"&&$.componentWillUpdate.__suppressDeprecationWarning!==!0&&$$.push(M),M.mode&T0&&typeof $.UNSAFE_componentWillUpdate==="function"&&H$.push(M))},LM.flushPendingUnsafeLifecycleWarnings=function(){var M=new Set;0<i8.length&&(i8.forEach(function(z){M.add(m(z)||"Component"),j2.add(z.type)}),i8=[]);var $=new Set;0<t8.length&&(t8.forEach(function(z){$.add(m(z)||"Component"),j2.add(z.type)}),t8=[]);var H=new Set;0<e8.length&&(e8.forEach(function(z){H.add(m(z)||"Component"),j2.add(z.type)}),e8=[]);var G=new Set;0<M$.length&&(M$.forEach(function(z){G.add(m(z)||"Component"),j2.add(z.type)}),M$=[]);var X=new Set;0<$$.length&&($$.forEach(function(z){X.add(m(z)||"Component"),j2.add(z.type)}),$$=[]);var Z=new Set;if(0<H$.length&&(H$.forEach(function(z){Z.add(m(z)||"Component"),j2.add(z.type)}),H$=[]),0<$.size){var Y=P($);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<M.size&&(Y=P(M),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<H.size&&(Y=P(H),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 rH=new Map,bz=new Set;LM.recordLegacyContextWarning=function(M,$){var H=null;for(var G=M;G!==null;)G.mode&T0&&(H=G),G=G.return;H===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."):!bz.has(M.type)&&(G=rH.get(H),M.type.contextTypes!=null||M.type.childContextTypes!=null||$!==null&&typeof $.getChildContext==="function")&&(G===void 0&&(G=[],rH.set(H,G)),G.push(M))},LM.flushLegacyContextWarning=function(){rH.forEach(function(M){if(M.length!==0){var $=M[0],H=new Set;M.forEach(function(X){H.add(m(X)||"Component"),bz.add(X.type)});var G=P(H);l($,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)})}})},LM.discardPendingWarnings=function(){i8=[],t8=[],e8=[],M$=[],$$=[],H$=[],rH=new Map};var G$=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`."),kz=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."),nH=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."),U9={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.')}},X$=null,iH=!1,RM=0,JM=1,j0=2,K0=4,M0=8,yz=0,mz=1,fz=2,R9=3,u4=!1,uz=!1,J9=null,B9=!1,V6=i1(null),tH=i1(0),C6,hz=new Set,dz=new Set,q9=new Set,lz=new Set,h4=0,t=null,C1=null,a1=null,eH=!1,D6=!1,L2=!1,M5=0,Z$=0,q4=null,$q=0,Hq=25,W=null,BM=null,K4=-1,Y$=!1,$5={readContext:y1,use:N4,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},K9=null,pz=null,O9=null,cz=null,sM=null,EM=null,H5=null;K9={readContext:function(M){return y1(M)},use:N4,useCallback:function(M,$){return W="useCallback",U1(),n2($),I3(M,$)},useContext:function(M){return W="useContext",U1(),y1(M)},useEffect:function(M,$){return W="useEffect",U1(),n2($),$H(M,$)},useImperativeHandle:function(M,$,H){return W="useImperativeHandle",U1(),n2(H),A3(M,$,H)},useInsertionEffect:function(M,$){W="useInsertionEffect",U1(),n2($),q2(4,j0,M,$)},useLayoutEffect:function(M,$){return W="useLayoutEffect",U1(),n2($),_3(M,$)},useMemo:function(M,$){W="useMemo",U1(),n2($);var H=T.H;T.H=sM;try{return F3(M,$)}finally{T.H=H}},useReducer:function(M,$,H){W="useReducer",U1();var G=T.H;T.H=sM;try{return B3(M,$,H)}finally{T.H=G}},useRef:function(M){return W="useRef",U1(),T3(M)},useState:function(M){W="useState",U1();var $=T.H;T.H=sM;try{return P3(M)}finally{T.H=$}},useDebugValue:function(){W="useDebugValue",U1()},useDeferredValue:function(M,$){return W="useDeferredValue",U1(),j3(M,$)},useTransition:function(){return W="useTransition",U1(),N3()},useSyncExternalStore:function(M,$,H){return W="useSyncExternalStore",U1(),K3(M,$,H)},useId:function(){return W="useId",U1(),x3()},useFormState:function(M,$){return W="useFormState",U1(),n$(),t2(M,$)},useActionState:function(M,$){return W="useActionState",U1(),t2(M,$)},useOptimistic:function(M){return W="useOptimistic",U1(),w3(M)},useHostTransitionStatus:K2,useMemoCache:B2,useCacheRefresh:function(){return W="useCacheRefresh",U1(),V3()}},pz={readContext:function(M){return y1(M)},use:N4,useCallback:function(M,$){return W="useCallback",x(),I3(M,$)},useContext:function(M){return W="useContext",x(),y1(M)},useEffect:function(M,$){return W="useEffect",x(),$H(M,$)},useImperativeHandle:function(M,$,H){return W="useImperativeHandle",x(),A3(M,$,H)},useInsertionEffect:function(M,$){W="useInsertionEffect",x(),q2(4,j0,M,$)},useLayoutEffect:function(M,$){return W="useLayoutEffect",x(),_3(M,$)},useMemo:function(M,$){W="useMemo",x();var H=T.H;T.H=sM;try{return F3(M,$)}finally{T.H=H}},useReducer:function(M,$,H){W="useReducer",x();var G=T.H;T.H=sM;try{return B3(M,$,H)}finally{T.H=G}},useRef:function(M){return W="useRef",x(),T3(M)},useState:function(M){W="useState",x();var $=T.H;T.H=sM;try{return P3(M)}finally{T.H=$}},useDebugValue:function(){W="useDebugValue",x()},useDeferredValue:function(M,$){return W="useDeferredValue",x(),j3(M,$)},useTransition:function(){return W="useTransition",x(),N3()},useSyncExternalStore:function(M,$,H){return W="useSyncExternalStore",x(),K3(M,$,H)},useId:function(){return W="useId",x(),x3()},useActionState:function(M,$){return W="useActionState",x(),t2(M,$)},useFormState:function(M,$){return W="useFormState",x(),n$(),t2(M,$)},useOptimistic:function(M){return W="useOptimistic",x(),w3(M)},useHostTransitionStatus:K2,useMemoCache:B2,useCacheRefresh:function(){return W="useCacheRefresh",x(),V3()}},O9={readContext:function(M){return y1(M)},use:N4,useCallback:function(M,$){return W="useCallback",x(),GH(M,$)},useContext:function(M){return W="useContext",x(),y1(M)},useEffect:function(M,$){W="useEffect",x(),g0(2048,M0,M,$)},useImperativeHandle:function(M,$,H){return W="useImperativeHandle",x(),HH(M,$,H)},useInsertionEffect:function(M,$){return W="useInsertionEffect",x(),g0(4,j0,M,$)},useLayoutEffect:function(M,$){return W="useLayoutEffect",x(),g0(4,K0,M,$)},useMemo:function(M,$){W="useMemo",x();var H=T.H;T.H=EM;try{return XH(M,$)}finally{T.H=H}},useReducer:function(M,$,H){W="useReducer",x();var G=T.H;T.H=EM;try{return i2(M,$,H)}finally{T.H=G}},useRef:function(){return W="useRef",x(),N1().memoizedState},useState:function(){W="useState",x();var M=T.H;T.H=EM;try{return i2(AM)}finally{T.H=M}},useDebugValue:function(){W="useDebugValue",x()},useDeferredValue:function(M,$){return W="useDeferredValue",x(),IX(M,$)},useTransition:function(){return W="useTransition",x(),xX()},useSyncExternalStore:function(M,$,H){return W="useSyncExternalStore",x(),i$(M,$,H)},useId:function(){return W="useId",x(),N1().memoizedState},useFormState:function(M){return W="useFormState",x(),n$(),t$(M)},useActionState:function(M){return W="useActionState",x(),t$(M)},useOptimistic:function(M,$){return W="useOptimistic",x(),BX(M,$)},useHostTransitionStatus:K2,useMemoCache:B2,useCacheRefresh:function(){return W="useCacheRefresh",x(),N1().memoizedState}},cz={readContext:function(M){return y1(M)},use:N4,useCallback:function(M,$){return W="useCallback",x(),GH(M,$)},useContext:function(M){return W="useContext",x(),y1(M)},useEffect:function(M,$){W="useEffect",x(),g0(2048,M0,M,$)},useImperativeHandle:function(M,$,H){return W="useImperativeHandle",x(),HH(M,$,H)},useInsertionEffect:function(M,$){return W="useInsertionEffect",x(),g0(4,j0,M,$)},useLayoutEffect:function(M,$){return W="useLayoutEffect",x(),g0(4,K0,M,$)},useMemo:function(M,$){W="useMemo",x();var H=T.H;T.H=H5;try{return XH(M,$)}finally{T.H=H}},useReducer:function(M,$,H){W="useReducer",x();var G=T.H;T.H=H5;try{return A8(M,$,H)}finally{T.H=G}},useRef:function(){return W="useRef",x(),N1().memoizedState},useState:function(){W="useState",x();var M=T.H;T.H=H5;try{return A8(AM)}finally{T.H=M}},useDebugValue:function(){W="useDebugValue",x()},useDeferredValue:function(M,$){return W="useDeferredValue",x(),FX(M,$)},useTransition:function(){return W="useTransition",x(),VX()},useSyncExternalStore:function(M,$,H){return W="useSyncExternalStore",x(),i$(M,$,H)},useId:function(){return W="useId",x(),N1().memoizedState},useFormState:function(M){return W="useFormState",x(),n$(),e$(M)},useActionState:function(M){return W="useActionState",x(),e$(M)},useOptimistic:function(M,$){return W="useOptimistic",x(),KX(M,$)},useHostTransitionStatus:K2,useMemoCache:B2,useCacheRefresh:function(){return W="useCacheRefresh",x(),N1().memoizedState}},sM={readContext:function(M){return T1(),y1(M)},use:function(M){return C(),N4(M)},useCallback:function(M,$){return W="useCallback",C(),U1(),I3(M,$)},useContext:function(M){return W="useContext",C(),U1(),y1(M)},useEffect:function(M,$){return W="useEffect",C(),U1(),$H(M,$)},useImperativeHandle:function(M,$,H){return W="useImperativeHandle",C(),U1(),A3(M,$,H)},useInsertionEffect:function(M,$){W="useInsertionEffect",C(),U1(),q2(4,j0,M,$)},useLayoutEffect:function(M,$){return W="useLayoutEffect",C(),U1(),_3(M,$)},useMemo:function(M,$){W="useMemo",C(),U1();var H=T.H;T.H=sM;try{return F3(M,$)}finally{T.H=H}},useReducer:function(M,$,H){W="useReducer",C(),U1();var G=T.H;T.H=sM;try{return B3(M,$,H)}finally{T.H=G}},useRef:function(M){return W="useRef",C(),U1(),T3(M)},useState:function(M){W="useState",C(),U1();var $=T.H;T.H=sM;try{return P3(M)}finally{T.H=$}},useDebugValue:function(){W="useDebugValue",C(),U1()},useDeferredValue:function(M,$){return W="useDeferredValue",C(),U1(),j3(M,$)},useTransition:function(){return W="useTransition",C(),U1(),N3()},useSyncExternalStore:function(M,$,H){return W="useSyncExternalStore",C(),U1(),K3(M,$,H)},useId:function(){return W="useId",C(),U1(),x3()},useFormState:function(M,$){return W="useFormState",C(),U1(),t2(M,$)},useActionState:function(M,$){return W="useActionState",C(),U1(),t2(M,$)},useOptimistic:function(M){return W="useOptimistic",C(),U1(),w3(M)},useMemoCache:function(M){return C(),B2(M)},useHostTransitionStatus:K2,useCacheRefresh:function(){return W="useCacheRefresh",U1(),V3()}},EM={readContext:function(M){return T1(),y1(M)},use:function(M){return C(),N4(M)},useCallback:function(M,$){return W="useCallback",C(),x(),GH(M,$)},useContext:function(M){return W="useContext",C(),x(),y1(M)},useEffect:function(M,$){W="useEffect",C(),x(),g0(2048,M0,M,$)},useImperativeHandle:function(M,$,H){return W="useImperativeHandle",C(),x(),HH(M,$,H)},useInsertionEffect:function(M,$){return W="useInsertionEffect",C(),x(),g0(4,j0,M,$)},useLayoutEffect:function(M,$){return W="useLayoutEffect",C(),x(),g0(4,K0,M,$)},useMemo:function(M,$){W="useMemo",C(),x();var H=T.H;T.H=EM;try{return XH(M,$)}finally{T.H=H}},useReducer:function(M,$,H){W="useReducer",C(),x();var G=T.H;T.H=EM;try{return i2(M,$,H)}finally{T.H=G}},useRef:function(){return W="useRef",C(),x(),N1().memoizedState},useState:function(){W="useState",C(),x();var M=T.H;T.H=EM;try{return i2(AM)}finally{T.H=M}},useDebugValue:function(){W="useDebugValue",C(),x()},useDeferredValue:function(M,$){return W="useDeferredValue",C(),x(),IX(M,$)},useTransition:function(){return W="useTransition",C(),x(),xX()},useSyncExternalStore:function(M,$,H){return W="useSyncExternalStore",C(),x(),i$(M,$,H)},useId:function(){return W="useId",C(),x(),N1().memoizedState},useFormState:function(M){return W="useFormState",C(),x(),t$(M)},useActionState:function(M){return W="useActionState",C(),x(),t$(M)},useOptimistic:function(M,$){return W="useOptimistic",C(),x(),BX(M,$)},useMemoCache:function(M){return C(),B2(M)},useHostTransitionStatus:K2,useCacheRefresh:function(){return W="useCacheRefresh",x(),N1().memoizedState}},H5={readContext:function(M){return T1(),y1(M)},use:function(M){return C(),N4(M)},useCallback:function(M,$){return W="useCallback",C(),x(),GH(M,$)},useContext:function(M){return W="useContext",C(),x(),y1(M)},useEffect:function(M,$){W="useEffect",C(),x(),g0(2048,M0,M,$)},useImperativeHandle:function(M,$,H){return W="useImperativeHandle",C(),x(),HH(M,$,H)},useInsertionEffect:function(M,$){return W="useInsertionEffect",C(),x(),g0(4,j0,M,$)},useLayoutEffect:function(M,$){return W="useLayoutEffect",C(),x(),g0(4,K0,M,$)},useMemo:function(M,$){W="useMemo",C(),x();var H=T.H;T.H=EM;try{return XH(M,$)}finally{T.H=H}},useReducer:function(M,$,H){W="useReducer",C(),x();var G=T.H;T.H=EM;try{return A8(M,$,H)}finally{T.H=G}},useRef:function(){return W="useRef",C(),x(),N1().memoizedState},useState:function(){W="useState",C(),x();var M=T.H;T.H=EM;try{return A8(AM)}finally{T.H=M}},useDebugValue:function(){W="useDebugValue",C(),x()},useDeferredValue:function(M,$){return W="useDeferredValue",C(),x(),FX(M,$)},useTransition:function(){return W="useTransition",C(),x(),VX()},useSyncExternalStore:function(M,$,H){return W="useSyncExternalStore",C(),x(),i$(M,$,H)},useId:function(){return W="useId",C(),x(),N1().memoizedState},useFormState:function(M){return W="useFormState",C(),x(),e$(M)},useActionState:function(M){return W="useActionState",C(),x(),e$(M)},useOptimistic:function(M,$){return W="useOptimistic",C(),x(),KX(M,$)},useMemoCache:function(M){return C(),B2(M)},useHostTransitionStatus:K2,useCacheRefresh:function(){return W="useCacheRefresh",x(),N1().memoizedState}};var sz={react_stack_bottom_frame:function(M,$,H){var G=lM;lM=!0;try{return M($,H)}finally{lM=G}}},P9=sz.react_stack_bottom_frame.bind(sz),oz={react_stack_bottom_frame:function(M){var $=lM;lM=!0;try{return M.render()}finally{lM=$}}},az=oz.react_stack_bottom_frame.bind(oz),rz={react_stack_bottom_frame:function(M,$){try{$.componentDidMount()}catch(H){x1(M,M.return,H)}}},w9=rz.react_stack_bottom_frame.bind(rz),nz={react_stack_bottom_frame:function(M,$,H,G,X){try{$.componentDidUpdate(H,G,X)}catch(Z){x1(M,M.return,Z)}}},iz=nz.react_stack_bottom_frame.bind(nz),tz={react_stack_bottom_frame:function(M,$){var H=$.stack;M.componentDidCatch($.value,{componentStack:H!==null?H:""})}},Gq=tz.react_stack_bottom_frame.bind(tz),ez={react_stack_bottom_frame:function(M,$,H){try{H.componentWillUnmount()}catch(G){x1(M,$,G)}}},MQ=ez.react_stack_bottom_frame.bind(ez),$Q={react_stack_bottom_frame:function(M){M.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",M.resourceKind);var $=M.create;return M=M.inst,$=$(),M.destroy=$}},Xq=$Q.react_stack_bottom_frame.bind($Q),HQ={react_stack_bottom_frame:function(M,$,H){try{H()}catch(G){x1(M,$,G)}}},Zq=HQ.react_stack_bottom_frame.bind(HQ),GQ={react_stack_bottom_frame:function(M){var $=M._init;return $(M._payload)}},d4=GQ.react_stack_bottom_frame.bind(GQ),v6=null,z$=0,X1=null,W9,XQ=W9=!1,ZQ={},YQ={},zQ={};c=function(M,$,H){if(H!==null&&typeof H==="object"&&H._store&&(!H._store.validated&&H.key==null||H._store.validated===2)){if(typeof H._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.");H._store.validated=1;var G=m(M),X=G||"null";if(!ZQ[X]){ZQ[X]=!0,H=H._owner,M=M._debugOwner;var Z="";M&&typeof M.tag==="number"&&(X=m(M))&&(Z=`
|
|
|
|
Check the render method of \``+X+"`."),Z||G&&(Z=`
|
|
|
|
Check the top-level render call using <`+G+">.");var Y="";H!=null&&M!==H&&(G=null,typeof H.tag==="number"?G=m(H):typeof H.name==="string"&&(G=H.name),G&&(Y=" It was passed a child from "+G+".")),l($,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 g6=gX(!0),QQ=gX(!1),qM=i1(null),oM=null,S6=1,Q$=2,$0=i1(0),UQ={},RQ=new Set,JQ=new Set,BQ=new Set,qQ=new Set,KQ=new Set,OQ=new Set,PQ=new Set,wQ=new Set,WQ=new Set,TQ=new Set;Object.freeze(UQ);var T9={enqueueSetState:function(M,$,H){M=M._reactInternals;var G=c0(M),X=L4(G);X.payload=$,H!==void 0&&H!==null&&(D3(H),X.callback=H),$=E4(M,X,G),$!==null&&(c1($,M,G),w8($,M,G)),nM(M,G)},enqueueReplaceState:function(M,$,H){M=M._reactInternals;var G=c0(M),X=L4(G);X.tag=mz,X.payload=$,H!==void 0&&H!==null&&(D3(H),X.callback=H),$=E4(M,X,G),$!==null&&(c1($,M,G),w8($,M,G)),nM(M,G)},enqueueForceUpdate:function(M,$){M=M._reactInternals;var H=c0(M),G=L4(H);G.tag=fz,$!==void 0&&$!==null&&(D3($),G.callback=$),$=E4(M,G,H),$!==null&&(c1($,M,H),w8($,M,H)),k!==null&&typeof k.markForceUpdateScheduled==="function"&&k.markForceUpdateScheduled(M,H)}},_9=typeof reportError==="function"?reportError:function(M){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M==="object"&&M!==null&&typeof M.message==="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent($))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",M);return}console.error(M)},b6=null,A9=null,_Q=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,AQ={},IQ={},FQ={},jQ={},k6=!1,LQ={},I9={},F9={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},EQ=!1,NQ=null;NQ=new Set;var O4=!1,s1=!1,j9=!1,xQ=typeof WeakSet==="function"?WeakSet:Set,z0=null,y6=null,m6=null,r1=null,k0=!1,NM=null,U$=8192,Yq={getCacheForType:function(M){var $=y1(e1),H=$.data.get(M);return H===void 0&&(H=M(),$.data.set(M,H)),H},getOwner:function(){return a0}};if(typeof Symbol==="function"&&Symbol.for){var R$=Symbol.for;R$("selector.component"),R$("selector.has_pseudo_class"),R$("selector.role"),R$("selector.test_id"),R$("selector.text")}var zq=[],Qq=typeof WeakMap==="function"?WeakMap:Map,r0=0,L0=2,xM=4,P4=0,J$=1,f6=2,L9=3,E2=4,G5=6,VQ=5,F1=r0,D1=null,Q1=null,R1=0,y0=0,B$=1,N2=2,q$=3,CQ=4,E9=5,u6=6,K$=7,N9=8,x2=9,E1=y0,n0=null,l4=!1,h6=!1,x9=!1,aM=0,d1=P4,p4=0,c4=0,V9=0,i0=0,V2=0,O$=null,E0=null,X5=!1,C9=0,DQ=300,Z5=1/0,vQ=500,P$=null,s4=null,Uq=0,Rq=1,Jq=2,C2=0,gQ=1,SQ=2,bQ=3,Bq=4,D9=5,O0=0,o4=null,d6=null,a4=0,v9=0,g9=null,kQ=null,qq=50,w$=0,S9=null,b9=!1,Y5=!1,Kq=50,D2=0,W$=null,l6=!1,z5=null,yQ=!1,mQ=new Set,Oq={},Q5=null,p6=null,k9=!1,y9=!1,U5=!1,m9=!1,v2=0,f9={};(function(){for(var M=0;M<H9.length;M++){var $=H9[M],H=$.toLowerCase();$=$[0].toUpperCase()+$.slice(1),_M(H,"on"+$)}_M(Iz,"onAnimationEnd"),_M(Fz,"onAnimationIteration"),_M(jz,"onAnimationStart"),_M("dblclick","onDoubleClick"),_M("focusin","onFocus"),_M("focusout","onBlur"),_M(sB,"onTransitionRun"),_M(oB,"onTransitionStart"),_M(aB,"onTransitionCancel"),_M(Lz,"onTransitionEnd")})(),$1("onMouseEnter",["mouseout","mouseover"]),$1("onMouseLeave",["mouseout","mouseover"]),$1("onPointerEnter",["pointerout","pointerover"]),$1("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var T$="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(" "),u9=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(T$)),R5="_reactListening"+Math.random().toString(36).slice(2),fQ=!1,uQ=!1,J5=!1,hQ=!1,B5=!1,q5=!1,dQ=!1,K5={},Pq=/\r\n?/g,wq=/\u0000|\uFFFD/g,g2="http://www.w3.org/1999/xlink",h9="http://www.w3.org/XML/1998/namespace",Wq="javascript:throw new Error('React form unexpectedly submitted.')",Tq="suppressHydrationWarning",O5="$",P5="/$",w4="$?",_$="$!",_q=1,Aq=2,Iq=4,d9="F!",lQ="F",pQ="complete",Fq="style",W4=0,c6=1,w5=2,l9=null,p9=null,cQ={dialog:!0,webview:!0},c9=null,sQ=typeof setTimeout==="function"?setTimeout:void 0,jq=typeof clearTimeout==="function"?clearTimeout:void 0,S2=-1,oQ=typeof Promise==="function"?Promise:void 0,Lq=typeof queueMicrotask==="function"?queueMicrotask:typeof oQ<"u"?function(M){return oQ.resolve(null).then(M).catch(JJ)}:sQ,s9=null,b2=0,A$=1,aQ=2,rQ=3,KM=4,OM=new Map,nQ=new Set,T4=I1.d;I1.d={f:function(){var M=T4.f(),$=G6();return M||$},r:function(M){var $=Q(M);$!==null&&$.tag===5&&$.type==="form"?NX($):T4.r(M)},D:function(M){T4.D(M),PY("dns-prefetch",M,null)},C:function(M,$){T4.C(M,$),PY("preconnect",M,$)},L:function(M,$,H){T4.L(M,$,H);var G=s6;if(G&&M&&$){var X='link[rel="preload"][as="'+HM($)+'"]';$==="image"?H&&H.imageSrcSet?(X+='[imagesrcset="'+HM(H.imageSrcSet)+'"]',typeof H.imageSizes==="string"&&(X+='[imagesizes="'+HM(H.imageSizes)+'"]')):X+='[href="'+HM(M)+'"]':X+='[href="'+HM(M)+'"]';var Z=X;switch($){case"style":Z=z6(M);break;case"script":Z=Q6(M)}OM.has(Z)||(M=Y1({rel:"preload",href:$==="image"&&H&&H.imageSrcSet?void 0:M,as:$},H),OM.set(Z,M),G.querySelector(X)!==null||$==="style"&&G.querySelector(S8(Z))||$==="script"&&G.querySelector(b8(Z))||($=G.createElement("link"),J0($,"link",M),D($),G.head.appendChild($)))}},m:function(M,$){T4.m(M,$);var H=s6;if(H&&M){var G=$&&typeof $.as==="string"?$.as:"script",X='link[rel="modulepreload"][as="'+HM(G)+'"][href="'+HM(M)+'"]',Z=X;switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":Z=Q6(M)}if(!OM.has(Z)&&(M=Y1({rel:"modulepreload",href:M},$),OM.set(Z,M),H.querySelector(X)===null)){switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(H.querySelector(b8(Z)))return}G=H.createElement("link"),J0(G,"link",M),D(G),H.head.appendChild(G)}}},X:function(M,$){T4.X(M,$);var H=s6;if(H&&M){var G=v(H).hoistableScripts,X=Q6(M),Z=G.get(X);Z||(Z=H.querySelector(b8(X)),Z||(M=Y1({src:M,async:!0},$),($=OM.get(X))&&_7(M,$),Z=H.createElement("script"),D(Z),J0(Z,"link",M),H.head.appendChild(Z)),Z={type:"script",instance:Z,count:1,state:null},G.set(X,Z))}},S:function(M,$,H){T4.S(M,$,H);var G=s6;if(G&&M){var X=v(G).hoistableStyles,Z=z6(M);$=$||"default";var Y=X.get(Z);if(!Y){var z={loading:b2,preload:null};if(Y=G.querySelector(S8(Z)))z.loading=A$|KM;else{M=Y1({rel:"stylesheet",href:M,"data-precedence":$},H),(H=OM.get(Z))&&T7(M,H);var U=Y=G.createElement("link");D(U),J0(U,"link",M),U._p=new Promise(function(R,w){U.onload=R,U.onerror=w}),U.addEventListener("load",function(){z.loading|=A$}),U.addEventListener("error",function(){z.loading|=aQ}),z.loading|=KM,LH(Y,$,G)}Y={type:"stylesheet",instance:Y,count:1,state:z},X.set(Z,Y)}}},M:function(M,$){T4.M(M,$);var H=s6;if(H&&M){var G=v(H).hoistableScripts,X=Q6(M),Z=G.get(X);Z||(Z=H.querySelector(b8(X)),Z||(M=Y1({src:M,async:!0,type:"module"},$),($=OM.get(X))&&_7(M,$),Z=H.createElement("script"),D(Z),J0(Z,"link",M),H.head.appendChild(Z)),Z={type:"script",instance:Z,count:1,state:null},G.set(X,Z))}}};var s6=typeof document>"u"?null:document,W5=null,I$=null,o9=null,T5=null,k2=pJ,F$={$$typeof:fM,Provider:null,Consumer:null,_currentValue:k2,_currentValue2:k2,_threadCount:0},iQ="%c%s%c ",tQ="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",eQ="",_5=" ",Eq=Function.prototype.bind,MU=!1,$U=null,HU=null,GU=null,XU=null,ZU=null,YU=null,zU=null,QU=null,UU=null;$U=function(M,$,H,G){$=A(M,$),$!==null&&(H=j($.memoizedState,H,0,G),$.memoizedState=H,$.baseState=H,M.memoizedProps=Y1({},M.memoizedProps),H=D0(M,2),H!==null&&c1(H,M,2))},HU=function(M,$,H){$=A(M,$),$!==null&&(H=y($.memoizedState,H,0),$.memoizedState=H,$.baseState=H,M.memoizedProps=Y1({},M.memoizedProps),H=D0(M,2),H!==null&&c1(H,M,2))},GU=function(M,$,H,G){$=A(M,$),$!==null&&(H=L($.memoizedState,H,G),$.memoizedState=H,$.baseState=H,M.memoizedProps=Y1({},M.memoizedProps),H=D0(M,2),H!==null&&c1(H,M,2))},XU=function(M,$,H){M.pendingProps=j(M.memoizedProps,$,0,H),M.alternate&&(M.alternate.pendingProps=M.pendingProps),$=D0(M,2),$!==null&&c1($,M,2)},ZU=function(M,$){M.pendingProps=y(M.memoizedProps,$,0),M.alternate&&(M.alternate.pendingProps=M.pendingProps),$=D0(M,2),$!==null&&c1($,M,2)},YU=function(M,$,H){M.pendingProps=L(M.memoizedProps,$,H),M.alternate&&(M.alternate.pendingProps=M.pendingProps),$=D0(M,2),$!==null&&c1($,M,2)},zU=function(M){var $=D0(M,2);$!==null&&c1($,M,2)},QU=function(M){p=M},UU=function(M){f=M};var A5=!0,I5=null,a9=!1,r4=null,n4=null,i4=null,j$=new Map,L$=new Map,t4=[],Nq="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(" "),F5=null;if(VH.prototype.render=N7.prototype.render=function(M){var $=this._internalRoot;if($===null)throw Error("Cannot update an unmounted root.");var H=arguments;typeof H[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(H[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 H[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),H=M;var G=$.current,X=c0(G);I7(G,X,H,$,null,null)},VH.prototype.unmount=N7.prototype.unmount=function(){var M=arguments;if(typeof M[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()."),M=this._internalRoot,M!==null){this._internalRoot=null;var $=M.containerInfo;(F1&(L0|xM))!==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."),I7(M.current,2,null,M,null,null),G6(),$[y4]=null}},VH.prototype.unstable_scheduleHydration=function(M){if(M){var $=e4();M={blockedOn:null,target:M,priority:$};for(var H=0;H<t4.length&&$!==0&&$<t4[H].priority;H++);t4.splice(H,0,M),H===0&&VY(M)}},function(){var M=o6.version;if(M!=="19.1.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
- react: `+(M+`
|
|
- 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"),I1.findDOMNode=function(M){var $=M._reactInternals;if($===void 0){if(typeof M.render==="function")throw Error("Unable to find node on an unmounted component.");throw M=Object.keys(M).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+M)}return M=VM($),M=M!==null?rM(M):null,M=M===null?null:M.stateNode,M},!function(){var M={bundleType:1,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.1.1"};return M.overrideHookState=$U,M.overrideHookStateDeletePath=HU,M.overrideHookStateRenamePath=GU,M.overrideProps=XU,M.overridePropsDeletePath=ZU,M.overridePropsRenamePath=YU,M.scheduleUpdate=zU,M.setErrorHandler=QU,M.setSuspenseHandler=UU,M.scheduleRefresh=Q0,M.scheduleRoot=A1,M.setRefreshHandler=b1,M.getCurrentFiber=SJ,M.getLaneLabelMap=bJ,M.injectProfilingHooks=f1,CM(M)}()&&pM&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var RU=window.location.protocol;/^(https?|file):$/.test(RU)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(RU==="file:"?`
|
|
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}yq.createRoot=function(M,$){if(!k1(M))throw Error("Target container is not a DOM element.");vY(M);var H=!1,G="",X=yX,Z=mX,Y=fX,z=null;return $!==null&&$!==void 0&&($.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof $==="object"&&$!==null&&$.$$typeof===g4&&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 />);`),$.unstable_strictMode===!0&&(H=!0),$.identifierPrefix!==void 0&&(G=$.identifierPrefix),$.onUncaughtError!==void 0&&(X=$.onUncaughtError),$.onCaughtError!==void 0&&(Z=$.onCaughtError),$.onRecoverableError!==void 0&&(Y=$.onRecoverableError),$.unstable_transitionCallbacks!==void 0&&(z=$.unstable_transitionCallbacks)),$=FY(M,1,!1,null,null,H,G,X,Z,Y,z,null),M[y4]=$.current,U7(M),new N7($)},yq.hydrateRoot=function(M,$,H){if(!k1(M))throw Error("Target container is not a DOM element.");vY(M),$===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var G=!1,X="",Z=yX,Y=mX,z=fX,U=null,R=null;return H!==null&&H!==void 0&&(H.unstable_strictMode===!0&&(G=!0),H.identifierPrefix!==void 0&&(X=H.identifierPrefix),H.onUncaughtError!==void 0&&(Z=H.onUncaughtError),H.onCaughtError!==void 0&&(Y=H.onCaughtError),H.onRecoverableError!==void 0&&(z=H.onRecoverableError),H.unstable_transitionCallbacks!==void 0&&(U=H.unstable_transitionCallbacks),H.formState!==void 0&&(R=H.formState)),$=FY(M,1,!0,$,H!=null?H:null,G,X,Z,Y,z,U,R),$.context=jY(null),H=$.current,G=c0(H),G=c2(G),X=L4(G),X.callback=null,E4(H,X,G),H=G,$.current.lanes=H,I4($,H),yM($),M[y4]=$.current,U7(M),new VH($)},yq.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var WU=y2((DO,wU)=>{var mq=K1(PU());wU.exports=mq});var u1=y2((fq)=>{var f2=K1(A4());(function(){function A(E){if(E==null)return null;if(typeof E==="function")return E.$$typeof===m?null:E.displayName||E.name||null;if(typeof E==="string")return E;switch(E){case Q0:return"Fragment";case k1:return"Profiler";case b1:return"StrictMode";case VM:return"Suspense";case rM:return"SuspenseList";case m0:return"Activity"}if(typeof E==="object")switch(typeof E.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),E.$$typeof){case A1:return"Portal";case t0:return(E.displayName||"Context")+".Provider";case G0:return(E._context.displayName||"Context")+".Consumer";case x0:var o=E.render;return E=E.displayName,E||(E=o.displayName||o.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case n1:return o=E.displayName||null,o!==null?o:A(E.type)||"Memo";case j1:o=E._payload,E=E._init;try{return A(E(o))}catch(q1){}}return null}function j(E){return""+E}function L(E){try{j(E);var o=!1}catch(l1){o=!0}if(o){o=console;var q1=o.error,r=typeof Symbol==="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.constructor.name||"Object";return q1.call(o,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",r),j(E)}}function N(E){if(E===Q0)return"<>";if(typeof E==="object"&&E!==null&&E.$$typeof===j1)return"<...>";try{var o=A(E);return o?"<"+o+">":"<...>"}catch(q1){return"<...>"}}function y(){var E=i1.A;return E===null?null:E.getOwner()}function f(){return Error("react-stack-top-frame")}function p(E){if(L1.call(E,"key")){var o=Object.getOwnPropertyDescriptor(E,"key").get;if(o&&o.isReactWarning)return!1}return E.key!==void 0}function c(E,o){function q1(){f0||(f0=!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)",o))}q1.isReactWarning=!0,Object.defineProperty(E,"key",{get:q1,configurable:!0})}function C(){var E=A(this.type);return S[E]||(S[E]=!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.")),E=this.props.ref,E!==void 0?E:null}function T1(E,o,q1,r,l1,t1,CM,_1){return q1=t1.ref,E={$$typeof:b,type:E,key:o,props:t1,_owner:l1},(q1!==void 0?q1:null)!==null?Object.defineProperty(E,"ref",{enumerable:!1,get:C}):Object.defineProperty(E,"ref",{enumerable:!1,value:null}),E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(E,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(E,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:CM}),Object.defineProperty(E,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:_1}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E}function V(E,o,q1,r,l1,t1,CM,_1){var f1=o.children;if(f1!==void 0)if(r)if(z1(f1)){for(r=0;r<f1.length;r++)P(f1[r]);Object.freeze&&Object.freeze(f1)}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(f1);if(L1.call(o,"key")){f1=A(E);var PM=Object.keys(o).filter(function(wM){return wM!=="key"});r=0<PM.length?"{key: someKey, "+PM.join(": ..., ")+": ...}":"{key: someKey}",w1[f1+r]||(PM=0<PM.length?"{"+PM.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,f1,PM,f1),w1[f1+r]=!0)}if(f1=null,q1!==void 0&&(L(q1),f1=""+q1),p(o)&&(L(o.key),f1=""+o.key),"key"in o){q1={};for(var e0 in o)e0!=="key"&&(q1[e0]=o[e0])}else q1=o;return f1&&c(q1,typeof E==="function"?E.displayName||E.name||"Unknown":E),T1(E,f1,t1,l1,y(),q1,CM,_1)}function P(E){typeof E==="object"&&E!==null&&E.$$typeof===b&&E._store&&(E._store.validated=1)}var b=Symbol.for("react.transitional.element"),A1=Symbol.for("react.portal"),Q0=Symbol.for("react.fragment"),b1=Symbol.for("react.strict_mode"),k1=Symbol.for("react.profiler"),G0=Symbol.for("react.consumer"),t0=Symbol.for("react.context"),x0=Symbol.for("react.forward_ref"),VM=Symbol.for("react.suspense"),rM=Symbol.for("react.suspense_list"),n1=Symbol.for("react.memo"),j1=Symbol.for("react.lazy"),m0=Symbol.for("react.activity"),m=Symbol.for("react.client.reference"),i1=f2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L1=Object.prototype.hasOwnProperty,z1=Array.isArray,X0=console.createTask?console.createTask:function(){return null};f2={react_stack_bottom_frame:function(E){return E()}};var f0,S={},s=f2.react_stack_bottom_frame.bind(f2,f)(),n=X0(N(f)),w1={};fq.Fragment=Q0,fq.jsxDEV=function(E,o,q1,r,l1,t1){var CM=1e4>i1.recentlyCreatedOwnerStacks++;return V(E,o,q1,r,l1,t1,CM?Error("react-stack-top-frame"):s,CM?X0(N(E)):n)}})()});var cU=K1(A4(),1),sU=K1(WU(),1);var L5=K1(u1(),1),uq=({title:A,className:j,children:L})=>{return L5.jsxDEV("details",{className:`st-rnd-details${j?` ${j}`:""}`,children:[L5.jsxDEV("summary",{children:A},void 0,!1,void 0,this),L5.jsxDEV("div",{children:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},TU=uq;var _U=K1(u1(),1),hq=({children:A,className:j,neutral:L,icon:N,...y})=>{return _U.jsxDEV("button",{className:`st-rnd-button${L===!0?" button-neutral":""}${N===!0?" button-icon":""}${j?` ${j}`:""}`,...y,children:A},void 0,!1,void 0,this)},u2=hq;var a6=K1(u1(),1),dq=({id:A,label:j,...L})=>{return a6.jsxDEV(a6.Fragment,{children:[a6.jsxDEV("input",{type:"file",id:A,...L},void 0,!1,void 0,this),a6.jsxDEV("label",{htmlFor:A,className:"st-rnd-button button-neutral",children:j||"Upload"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},AU=dq;var n6=K1(A4(),1);var EU=K1(A4(),1);var IU=(A)=>(Symbol.iterator in A),FU=(A)=>("entries"in A),jU=(A,j)=>{let L=A instanceof Map?A:new Map(A.entries()),N=j instanceof Map?j:new Map(j.entries());if(L.size!==N.size)return!1;for(let[y,f]of L)if(!Object.is(f,N.get(y)))return!1;return!0},lq=(A,j)=>{let L=A[Symbol.iterator](),N=j[Symbol.iterator](),y=L.next(),f=N.next();while(!y.done&&!f.done){if(!Object.is(y.value,f.value))return!1;y=L.next(),f=N.next()}return!!y.done&&!!f.done};function LU(A,j){if(Object.is(A,j))return!0;if(typeof A!=="object"||A===null||typeof j!=="object"||j===null)return!1;if(Object.getPrototypeOf(A)!==Object.getPrototypeOf(j))return!1;if(IU(A)&&IU(j)){if(FU(A)&&FU(j))return jU(A,j);return lq(A,j)}return jU({entries:()=>Object.entries(A)},{entries:()=>Object.entries(j)})}function NU(A){let j=EU.default.useRef(void 0);return(L)=>{let N=A(L);return LU(j.current,N)?j.current:j.current=N}}var VU=K1(u1(),1),pq=({children:A,className:j,...L})=>{return VU.jsxDEV("select",{className:`st-rnd-select${j?` ${j}`:""}`,...L,children:A},void 0,!1,void 0,this)},xU=pq;var N$=K1(A4(),1);var DU=K1(u1(),1),cq=({children:A,className:j,...L})=>{return DU.jsxDEV("dialog",{className:`st-rnd-dialog${j?` ${j}`:""}`,...L,children:A},void 0,!1,void 0,this)},CU=cq;var vU=(A)=>{let j,L=new Set,N=(T1,V)=>{let P=typeof T1==="function"?T1(j):T1;if(!Object.is(P,j)){let b=j;j=(V!=null?V:typeof P!=="object"||P===null)?P:Object.assign({},j,P),L.forEach((A1)=>A1(j,b))}},y=()=>j,c={setState:N,getState:y,getInitialState:()=>C,subscribe:(T1)=>{return L.add(T1),()=>L.delete(T1)}},C=j=A(N,y,c);return c},gU=(A)=>A?vU(A):vU;var E$=K1(A4(),1);var sq=(A)=>A;function oq(A,j=sq){let L=E$.default.useSyncExternalStore(A.subscribe,E$.default.useCallback(()=>j(A.getState()),[A,j]),E$.default.useCallback(()=>j(A.getInitialState()),[A,j]));return E$.default.useDebugValue(L),L}var SU=(A)=>{let j=gU(A),L=(N)=>oq(j,N);return Object.assign(L,j),L},bU=(A)=>A?SU(A):SU;var aq=(A)=>(j,L,N)=>{let y=N.subscribe;return N.subscribe=(p,c,C)=>{let T1=p;if(c){let V=(C==null?void 0:C.equalityFn)||Object.is,P=p(N.getState());if(T1=(b)=>{let A1=p(b);if(!V(P,A1)){let Q0=P;c(P=A1,Q0)}},C==null?void 0:C.fireImmediately)c(P,P)}return y(T1)},A(j,L,N)},kU=aq;var r6="st-randomness-helpers";var yU=(A)=>{let L=SillyTavern.getContext().extensionSettings;if(L[r6]===void 0)L[r6]={wordLists:{}};let N=L[r6];return{wordLists:N.wordLists,addWordList:(y,f)=>A({wordLists:{...N.wordLists,[y]:f}}),removeWordList:(y)=>{let f={...N.wordLists};delete f[y],A({wordLists:f})}}};var N0=bU()(kU(yU));N0.subscribe((A)=>A.wordLists,(A)=>{let j=SillyTavern.getContext(),L=j.extensionSettings;L[r6].wordLists=A,j.saveSettingsDebounced()});var fU=K1(u1(),1),rq=({className:A,...j})=>{return fU.jsxDEV("input",{className:`st-rnd-input${A?` ${A}`:""}`,...j},void 0,!1,void 0,this)},mU=rq;var hU=K1(u1(),1),nq=({className:A,...j})=>{return hU.jsxDEV("textarea",{className:`st-rnd-textarea${A?` ${A}`:""}`,...j},void 0,!1,void 0,this)},uU=nq;var H0=K1(u1(),1),iq=({currentWordList:A})=>{let[j,L]=N$.useState(""),[N,y]=N$.useState(""),f=N$.useRef(null);return H0.jsxDEV(H0.Fragment,{children:[H0.jsxDEV(u2,{type:"button",icon:!0,disabled:A==="",onClick:()=>{if(f.current===null||A==="")return;let p=N0.getState().wordLists[A];if(p===void 0)return;y(A),L(p.join(`
|
|
`)),f.current.showModal()},children:H0.jsxDEV("i",{className:"fa fa-fw fa-pencil"},void 0,!1,void 0,this)},void 0,!1,void 0,this),H0.jsxDEV(CU,{id:"st-rnd-wordlist-edit-dialog",ref:f,children:H0.jsxDEV("div",{children:[H0.jsxDEV("h2",{id:"st-rnd-wordlist-edit-dialog-title",children:["Edit Word List: ",H0.jsxDEV("span",{children:A},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H0.jsxDEV("label",{htmlFor:"st-rnd-wordlist-name",children:"Name"},void 0,!1,void 0,this),H0.jsxDEV("p",{className:"st-rnd-small-text",children:"Name of the word list, used in placeholder and macros."},void 0,!1,void 0,this),H0.jsxDEV(mU,{id:"st-rnd-wordlist-name",type:"text",value:N,onChange:(p)=>y(p.target.value)},void 0,!1,void 0,this),H0.jsxDEV("label",{htmlFor:"st-rnd-wordlist-words",children:"Words"},void 0,!1,void 0,this),H0.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),H0.jsxDEV(uU,{id:"st-rnd-wordlist-words",value:j,onChange:(p)=>L(p.target.value),rows:10},void 0,!1,void 0,this),H0.jsxDEV("div",{id:"st-rnd-wordlist-actions",children:[H0.jsxDEV(u2,{type:"button",neutral:!0,onClick:()=>{if(f.current===null)return;f.current.close(),L(""),y("")},children:"Close"},void 0,!1,void 0,this),H0.jsxDEV(u2,{type:"button",onClick:()=>{if(A===""||N===void 0||j===void 0||f.current===null)return;if(N===""){alert("Name cannot be empty");return}let p=N0.getState().addWordList;if(A!==N){let c=N0.getState().removeWordList;c(A)}p(N,j.split(`
|
|
`)),f.current.close(),L(""),y("")},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)},dU=iq;var P0=K1(u1(),1),tq=()=>{let A=N0(NU((p)=>Object.keys(p.wordLists))),j=N0((p)=>p.addWordList),L=N0((p)=>p.removeWordList),[N,y]=n6.useState(""),f=n6.useCallback((p)=>{let c=p.target.files?.[0];if(c!==void 0&&c.type==="text/plain"){let C=new FileReader;C.onload=(T1)=>{let V=c.name.replace(".txt","");if(A.includes(V)){alert(`A word list with the name ${V} already exists`);return}let P=T1.target?.result;if(typeof P==="string"){let b=P.split(`
|
|
`);j(V,b)}},C.readAsText(c)}},[j,A]);return n6.useEffect(()=>{if(!A.includes(N))y("")},[A,N]),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(xU,{id:"st-rnd-wordlist-select",disabled:A.length===0,value:N,onChange:(p)=>{let c=p.target.value;if(c!=="")y(c)},children:[P0.jsxDEV("option",{value:"",disabled:!0,children:"Select a word list"},void 0,!1,void 0,this),A.map((p)=>P0.jsxDEV("option",{children:p},p,!1,void 0,this))]},void 0,!0,void 0,this),P0.jsxDEV(dU,{currentWordList:N},void 0,!1,void 0,this),P0.jsxDEV(u2,{type:"button",icon:!0,disabled:N==="",onClick:()=>{if(N!==""){let p=N0.getState().wordLists[N];if(p===void 0)return;let c=new Blob([p.join(`
|
|
`)],{type:"text/plain"}),C=URL.createObjectURL(c),T1=document.createElement("a");T1.href=C,T1.download=`${N}.txt`,T1.click(),URL.revokeObjectURL(C)}},children:P0.jsxDEV("i",{className:"fa fa-fw fa-download"},void 0,!1,void 0,this)},void 0,!1,void 0,this),P0.jsxDEV(u2,{type:"button",icon:!0,disabled:N==="",onClick:()=>{if(N!=="")L(N),y("")},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(AU,{id:"upload-wordlist",onChange:f,accept:".txt"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},lU=tq;var i9=K1(u1(),1),eq=()=>{return i9.jsxDEV(TU,{title:"Randomness Helpers",children:i9.jsxDEV(lU,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},pU=eq;var t9=K1(u1(),1),MK=()=>{let A=document.getElementById("extensions_settings");if(A===null)throw Error("[st-randomness-helpers] root container not found");let j=document.createElement("div");A.appendChild(j),sU.default.createRoot(j).render(t9.jsxDEV(cU.StrictMode,{children:t9.jsxDEV(pU,{},void 0,!1,void 0,this)},void 0,!1,void 0,this))},oU=MK;var aU=()=>{let{macros:A}=SillyTavern.getContext(),j=new Map(Object.entries(N0.getState().wordLists));if(j.size===0){console.info("[st-randomness-helpers] No word lists found, skipping random word macros registration");return}A.register("randomWord",{category:"random",description:"Get a random word from the specified word list",returns:"A random word from the specified word list or an empty string if the word list is empty or the dictionary name is not found",exampleUsage:j.keys().toArray().map((L)=>`{{randomWord::${L}}}`),returnType:"string",unnamedArgs:[{name:"dictionary name",description:`The name of the word list to use. Available dictionaries: ${j.keys().toArray().map((L)=>`'${L}'`).join(", ")}`,type:"string",optional:!1,sampleValue:j.keys().next().value??"wordlist"}],handler:({unnamedArgs:[L]})=>{if(!L)return console.error("[st-randomness-helpers] randomWord: No dictionary name provided, returning empty string"),"";if(!j.has(L))return console.error(`[st-randomness-helpers] randomWord: Dictionary ${L} not found, returning empty string`),"";let N=j.get(L);return N[Math.floor(Math.random()*N.length)]}}),A.register("randomWordPlaceholder",{category:"random",description:"Get a placeholder for a random word from the specified word list. The placeholder is in the form of %%randomWord::dictionary name%%",returns:"A placeholder for a random word from the specified word list or an empty string if the word list is empty or the dictionary name is not found",exampleUsage:j.keys().toArray().map((L)=>`{{randomWordPlaceholder::${L}}}`),returnType:"string",unnamedArgs:[{name:"dictionary name",description:`The name of the word list to use. Available dictionaries: ${j.keys().toArray().map((L)=>`'${L}'`).join(", ")}`,type:"string",optional:!1,sampleValue:j.keys().next().value??"wordlist"}],handler:({unnamedArgs:[L]})=>{if(!L)return console.error("[st-randomness-helpers] randomWordPlaceholder: No dictionary name provided, returning empty string"),"";if(!j.has(L))return console.error(`[st-randomness-helpers] randomWordPlaceholder: Dictionary ${L} not found, returning empty string`),"";return`%%randomWord::${L}%%`}})},nU=()=>{aU(),N0.subscribe((A)=>Object.keys(A.wordLists),()=>{let{macros:A}=SillyTavern.getContext();A.registry.unregisterMacro("randomWord"),A.registry.unregisterMacro("randomWordPlaceholder"),aU()})},rU=/%%randomWord::([\w\W]*?)%%/g,iU=()=>{let{eventTypes:A,eventSource:j}=SillyTavern.getContext();j.on(A.GENERATE_AFTER_DATA,(L)=>{if(typeof L.prompt==="string")L.prompt=L.prompt.replaceAll(rU,(N,y)=>{let f=new Map(Object.entries(N0.getState().wordLists)).get(y);if(f===void 0||f.length===0)return console.error(`[st-randomness-helpers] randomWordPlaceholders: No words found for ${y}`),"";return f[Math.floor(Math.random()*f.length)]??""});else if(Array.isArray(L.prompt)){let N=L.prompt.map(({role:y,content:f})=>{return{role:y,content:f.replaceAll(rU,(p,c)=>{let C=new Map(Object.entries(N0.getState().wordLists)).get(c);if(C===void 0||C.length===0)return console.error(`[st-randomness-helpers] randomWordPlaceholders: No words found for ${c}`),"";return C[Math.floor(Math.random()*C.length)]??""})}});L.prompt=N}})};var e9=(A)=>{let j=[...A];for(let L=j.length-1;L>0;L--){let N=Math.floor(Math.random()*(L+1));[j[L],j[N]]=[j[N],j[L]]}return j},eU=()=>{let{macros:A}=SillyTavern.getContext();A.register("shuffle",{category:"random",description:'Shuffle a list of items, last item can contain a separator with the "item;;separator" format',returns:"A shuffled list of items",exampleUsage:["{{shuffle::item1::item2::item3}}","{{shuffle::lemon::orange::apple::banana;;, }}"],strictArgs:!0,list:{min:1,max:Number.POSITIVE_INFINITY},handler:({raw:j,list:L})=>{if(j===void 0||L===null||L===void 0||L?.length===0)return"";let N=j.replace("shuffle::","").split("::"),y=N[N.length-1],f="";if(y.includes(";;")){let p=y.split(";;");N[N.length-1]=p[0],f=p[1]}return e9(N).join(f)}})},tU=/%%shuffle::([\w\W]*?)(;;[\w\W]*?)?%%/g,MR=()=>{let{eventTypes:A,eventSource:j}=SillyTavern.getContext();j.on(A.GENERATE_AFTER_DATA,(L)=>{if(typeof L.prompt==="string")L.prompt=L.prompt.replaceAll(tU,(N,y,f)=>{let p=y.split("::");return e9(p).join(f!==void 0?f.substring(2):"")});else if(Array.isArray(L.prompt))L.prompt=L.prompt.map((N)=>{return N.content=N.content.replaceAll(tU,(y,f,p)=>{let c=f.split("::");return e9(c).join(p!==void 0?p.substring(2):"")}),N})})};var $K=()=>{nU(),eU()},$R=$K;var HR=/%%pick::([\w\W]*?)%%/g,GR=()=>{let{eventTypes:A,eventSource:j}=SillyTavern.getContext();j.on(A.GENERATE_AFTER_DATA,(L)=>{if(typeof L.prompt==="string")L.prompt=L.prompt.replaceAll(HR,(N,y)=>{let f=y.split("::");if(f.length===0)return"";return f[Math.floor(Math.random()*f.length)]??""});else if(Array.isArray(L.prompt))L.prompt=L.prompt.map((N)=>{return N.content=N.content.replaceAll(HR,(y,f)=>{let p=f.split("::");if(p.length===0)return"";return p[Math.floor(Math.random()*p.length)]??""}),N})})};var HK=()=>{iU(),MR(),GR()},XR=HK;oU();$R();XR();
|