@sampleapp.ai/sdk 1.0.27 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/chat-bar.js +1 -2
- package/dist/index.es.js +388 -614
- package/dist/index.standalone.js +0 -4
- package/dist/index.standalone.umd.js +14 -79
- package/dist/index.umd.js +86 -151
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Fa,
|
|
1
|
+
(function(Fa,kl){typeof exports=="object"&&typeof module<"u"?kl(exports):typeof define=="function"&&define.amd?define(["exports"],kl):(Fa=typeof globalThis<"u"?globalThis:Fa||self,kl(Fa.SampleApp={}))})(this,(function(Fa){"use strict";function kl(z){return z&&z.__esModule&&Object.prototype.hasOwnProperty.call(z,"default")?z.default:z}var vr={exports:{}},ju={exports:{}};ju.exports;var Fd;function Ev(){return Fd||(Fd=1,(function(z,M){/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react.development.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/(function(){function
|
|
9
|
+
*/(function(){function de(c,p){Object.defineProperty(pe.prototype,c,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})}function F(c){return c===null||typeof c!="object"?null:(c=Xu&&c[Xu]||c["@@iterator"],typeof c=="function"?c:null)}function ce(c,p){c=(c=c.constructor)&&(c.displayName||c.name)||"ReactClass";var D=c+"."+p;Qu[D]||(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.",p,c),Qu[D]=!0)}function pe(c,p,D){this.props=c,this.context=p,this.refs=Zu,this.updater=D||va}function Le(){}function Ke(c,p,D){this.props=c,this.context=p,this.refs=Zu,this.updater=D||va}function O(c){return""+c}function Ne(c){try{O(c);var p=!1}catch{p=!0}if(p){p=console;var D=p.error,w=typeof Symbol=="function"&&Symbol.toStringTag&&c[Symbol.toStringTag]||c.constructor.name||"Object";return D.call(p,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",w),O(c)}}function je(c){if(c==null)return null;if(typeof c=="function")return c.$$typeof===Or?null:c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case H:return"Fragment";case G:return"Profiler";case j:return"StrictMode";case Te:return"Suspense";case Gu:return"SuspenseList";case ga:return"Activity"}if(typeof c=="object")switch(typeof c.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),c.$$typeof){case ue:return"Portal";case ot:return(c.displayName||"Context")+".Provider";case xe:return(c._context.displayName||"Context")+".Consumer";case It:var p=c.render;return c=c.displayName,c||(c=p.displayName||p.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case Xn:return p=c.displayName||null,p!==null?p:je(c.type)||"Memo";case Dn:p=c._payload,c=c._init;try{return je(c(p))}catch{}}return null}function A(c){if(c===H)return"<>";if(typeof c=="object"&&c!==null&&c.$$typeof===Dn)return"<...>";try{var p=je(c);return p?"<"+p+">":"<...>"}catch{return"<...>"}}function g(){var c=ne.A;return c===null?null:c.getOwner()}function _(){return Error("react-stack-top-frame")}function ge(c){if(Pa.call(c,"key")){var p=Object.getOwnPropertyDescriptor(c,"key").get;if(p&&p.isReactWarning)return!1}return c.key!==void 0}function Ve(c,p){function D(){Sa||(Sa=!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)",p))}D.isReactWarning=!0,Object.defineProperty(c,"key",{get:D,configurable:!0})}function be(){var c=je(this.type);return $u[c]||($u[c]=!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.")),c=this.props.ref,c!==void 0?c:null}function re(c,p,D,w,N,ee,W,me){return D=ee.ref,c={$$typeof:Y,type:c,key:p,props:ee,_owner:N},(D!==void 0?D:null)!==null?Object.defineProperty(c,"ref",{enumerable:!1,get:be}):Object.defineProperty(c,"ref",{enumerable:!1,value:null}),c._store={},Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(c,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(c,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:W}),Object.defineProperty(c,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:me}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}function Ze(c,p){return p=re(c.type,p,void 0,void 0,c._owner,c.props,c._debugStack,c._debugTask),c._store&&(p._store.validated=c._store.validated),p}function Qe(c){return typeof c=="object"&&c!==null&&c.$$typeof===Y}function Ot(c){var p={"=":"=0",":":"=2"};return"$"+c.replace(/[=:]/g,function(D){return p[D]})}function Ee(c,p){return typeof c=="object"&&c!==null&&c.key!=null?(Ne(c.key),Ot(""+c.key)):p.toString(36)}function qe(){}function Oe(c){switch(c.status){case"fulfilled":return c.value;case"rejected":throw c.reason;default:switch(typeof c.status=="string"?c.then(qe,qe):(c.status="pending",c.then(function(p){c.status==="pending"&&(c.status="fulfilled",c.value=p)},function(p){c.status==="pending"&&(c.status="rejected",c.reason=p)})),c.status){case"fulfilled":return c.value;case"rejected":throw c.reason}}throw c}function Ue(c,p,D,w,N){var ee=typeof c;(ee==="undefined"||ee==="boolean")&&(c=null);var W=!1;if(c===null)W=!0;else switch(ee){case"bigint":case"string":case"number":W=!0;break;case"object":switch(c.$$typeof){case Y:case ue:W=!0;break;case Dn:return W=c._init,Ue(W(c._payload),p,D,w,N)}}if(W){W=c,N=N(W);var me=w===""?"."+Ee(W,0):w;return ba(N)?(D="",me!=null&&(D=me.replace(Wu,"$&/")+"/"),Ue(N,p,D,"",function(st){return st})):N!=null&&(Qe(N)&&(N.key!=null&&(W&&W.key===N.key||Ne(N.key)),D=Ze(N,D+(N.key==null||W&&W.key===N.key?"":(""+N.key).replace(Wu,"$&/")+"/")+me),w!==""&&W!=null&&Qe(W)&&W.key==null&&W._store&&!W._store.validated&&(D._store.validated=2),N=D),p.push(N)),1}if(W=0,me=w===""?".":w+":",ba(c))for(var I=0;I<c.length;I++)w=c[I],ee=me+Ee(w,I),W+=Ue(w,p,D,ee,N);else if(I=F(c),typeof I=="function")for(I===c.entries&&(Ku||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ku=!0),c=I.call(c),I=0;!(w=c.next()).done;)w=w.value,ee=me+Ee(w,I++),W+=Ue(w,p,D,ee,N);else if(ee==="object"){if(typeof c.then=="function")return Ue(Oe(c),p,D,w,N);throw p=String(c),Error("Objects are not valid as a React child (found: "+(p==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":p)+"). If you meant to render a collection of children, use an array instead.")}return W}function L(c,p,D){if(c==null)return c;var w=[],N=0;return Ue(c,w,"","",function(ee){return p.call(D,ee,N++)}),w}function Se(c){if(c._status===-1){var p=c._result;p=p(),p.then(function(D){(c._status===0||c._status===-1)&&(c._status=1,c._result=D)},function(D){(c._status===0||c._status===-1)&&(c._status=2,c._result=D)}),c._status===-1&&(c._status=0,c._result=p)}if(c._status===1)return p=c._result,p===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
10
10
|
|
|
11
11
|
Your code should look like:
|
|
12
12
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -14,11 +14,11 @@ Your code should look like:
|
|
|
14
14
|
Did you accidentally put curly braces around the import?`,p),"default"in p||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
15
15
|
|
|
16
16
|
Your code should look like:
|
|
17
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,p),p.default;throw c._result}function
|
|
17
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,p),p.default;throw c._result}function X(){var c=ne.H;return c===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:
|
|
18
18
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
19
19
|
2. You might be breaking the Rules of Hooks
|
|
20
20
|
3. You might have more than one copy of React in the same app
|
|
21
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),c}function me(){}function je(c){if(ql===null)try{var p=("require"+Math.random()).slice(0,7);ql=(M&&M[p]).call(M,"timers").setImmediate}catch{ql=function(z){Fo===!1&&(Fo=!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 N=new MessageChannel;N.port1.onmessage=z,N.port2.postMessage(void 0)}}return ql(c)}function lt(c){return 1<c.length&&typeof AggregateError=="function"?new AggregateError(c):c[0]}function ot(c,p){p!==Ta-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. "),Ta=p}function w(c,p,O){var z=ue.actQueue;if(z!==null)if(z.length!==0)try{X(z),je(function(){return w(c,p,O)});return}catch(N){ue.thrownErrors.push(N)}else ue.actQueue=null;0<ue.thrownErrors.length?(z=lt(ue.thrownErrors),ue.thrownErrors.length=0,O(z)):p(c)}function X(c){if(!gn){gn=!0;var p=0;try{for(;p<c.length;p++){var O=c[p];do{ue.didUsePromise=!1;var z=O(!1);if(z!==null){if(ue.didUsePromise){c[p]=O,c.splice(0,p);return}O=z}else break}while(!0)}c.length=0}catch(N){c.splice(0,p+1),ue.thrownErrors.push(N)}finally{gn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var q=Symbol.for("react.transitional.element"),re=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),De=Symbol.for("react.consumer"),ut=Symbol.for("react.context"),It=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),Xo=Symbol.for("react.suspense_list"),Xn=Symbol.for("react.memo"),On=Symbol.for("react.lazy"),ga=Symbol.for("react.activity"),Qo=Symbol.iterator,Zo={},va={isMounted:function(){return!1},enqueueForceUpdate:function(c){te(c,"forceUpdate")},enqueueReplaceState:function(c){te(c,"replaceState")},enqueueSetState:function(c){te(c,"setState")}},Ti=Object.assign,$o={};Object.freeze($o),ae.prototype.isReactComponent={},ae.prototype.setState=function(c,p){if(typeof c!="object"&&typeof c!="function"&&c!=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,c,p,"setState")},ae.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};var et={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)."]},Qn;for(Qn in et)et.hasOwnProperty(Qn)&&V(Qn,et[Qn]);Ue.prototype=ae.prototype,et=Ke.prototype=new Ue,et.constructor=Ke,Ti(et,ae.prototype),et.isPureReactComponent=!0;var ba=Array.isArray,Dr=Symbol.for("react.client.reference"),ue={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Pa=Object.prototype.hasOwnProperty,Nl=console.createTask?console.createTask:function(){return null};et={react_stack_bottom_frame:function(c){return c()}};var Sa,Ei,Jo={},Ri=et.react_stack_bottom_frame.bind(et,H)(),Ko=Nl(A(H)),Wo=!1,Io=/\/+/g,Yl=typeof reportError=="function"?reportError:function(c){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var p=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof c=="object"&&c!==null&&typeof c.message=="string"?String(c.message):String(c),error:c});if(!window.dispatchEvent(p))return}console.error(c)},Fo=!1,ql=null,Ta=0,yn=!1,gn=!1,Ea=typeof queueMicrotask=="function"?function(c){queueMicrotask(function(){return queueMicrotask(c)})}:je;et=Object.freeze({__proto__:null,c:function(c){return Z().useMemoCache(c)}}),D.Children={map:L,forEach:function(c,p,O){L(c,function(){p.apply(this,arguments)},O)},count:function(c){var p=0;return L(c,function(){p++}),p},toArray:function(c){return L(c,function(p){return p})||[]},only:function(c){if(!Qe(c))throw Error("React.Children.only expected to receive a single React element child.");return c}},D.Component=ae,D.Fragment=_,D.Profiler=Q,D.PureComponent=Ke,D.StrictMode=G,D.Suspense=Te,D.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ue,D.__COMPILER_RUNTIME=et,D.act=function(c){var p=ue.actQueue,O=Ta;Ta++;var z=ue.actQueue=p!==null?p:[],N=!1;try{var le=c()}catch(ee){ue.thrownErrors.push(ee)}if(0<ue.thrownErrors.length)throw ot(p,O),c=lt(ue.thrownErrors),ue.thrownErrors.length=0,c;if(le!==null&&typeof le=="object"&&typeof le.then=="function"){var P=le;return Ea(function(){N||yn||(yn=!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(ee,st){N=!0,P.then(function(Zn){if(ot(p,O),O===0){try{X(z),je(function(){return w(Zn,ee,st)})}catch(wr){ue.thrownErrors.push(wr)}if(0<ue.thrownErrors.length){var Cr=lt(ue.thrownErrors);ue.thrownErrors.length=0,st(Cr)}}else ee(Zn)},function(Zn){ot(p,O),0<ue.thrownErrors.length&&(Zn=lt(ue.thrownErrors),ue.thrownErrors.length=0),st(Zn)})}}}var ye=le;if(ot(p,O),O===0&&(X(z),z.length!==0&&Ea(function(){N||yn||(yn=!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(() => ...)"))}),ue.actQueue=null),0<ue.thrownErrors.length)throw c=lt(ue.thrownErrors),ue.thrownErrors.length=0,c;return{then:function(ee,st){N=!0,O===0?(ue.actQueue=z,je(function(){return w(ye,ee,st)})):ee(ye)}}},D.cache=function(c){return function(){return c.apply(null,arguments)}},D.captureOwnerStack=function(){var c=ue.getCurrentStack;return c===null?null:c()},D.cloneElement=function(c,p,O){if(c==null)throw Error("The argument must be a React element, but you passed "+c+".");var z=Ti({},c.props),N=c.key,le=c._owner;if(p!=null){var P;e:{if(Pa.call(p,"ref")&&(P=Object.getOwnPropertyDescriptor(p,"ref").get)&&P.isReactWarning){P=!1;break e}P=p.ref!==void 0}P&&(le=g()),ve(p)&&(Ne(p.key),N=""+p.key);for(ye in p)!Pa.call(p,ye)||ye==="key"||ye==="__self"||ye==="__source"||ye==="ref"&&p.ref===void 0||(z[ye]=p[ye])}var ye=arguments.length-2;if(ye===1)z.children=O;else if(1<ye){P=Array(ye);for(var ee=0;ee<ye;ee++)P[ee]=arguments[ee+2];z.children=P}for(z=de(c.type,N,void 0,void 0,le,z,c._debugStack,c._debugTask),N=2;N<arguments.length;N++)le=arguments[N],Qe(le)&&le._store&&(le._store.validated=1);return z},D.createContext=function(c){return c={$$typeof:ut,_currentValue:c,_currentValue2:c,_threadCount:0,Provider:null,Consumer:null},c.Provider=c,c.Consumer={$$typeof:De,_context:c},c._currentRenderer=null,c._currentRenderer2=null,c},D.createElement=function(c,p,O){for(var z=2;z<arguments.length;z++){var N=arguments[z];Qe(N)&&N._store&&(N._store.validated=1)}if(z={},N=null,p!=null)for(ee in Ei||!("__self"in p)||"key"in p||(Ei=!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")),ve(p)&&(Ne(p.key),N=""+p.key),p)Pa.call(p,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(z[ee]=p[ee]);var le=arguments.length-2;if(le===1)z.children=O;else if(1<le){for(var P=Array(le),ye=0;ye<le;ye++)P[ye]=arguments[ye+2];Object.freeze&&Object.freeze(P),z.children=P}if(c&&c.defaultProps)for(ee in le=c.defaultProps,le)z[ee]===void 0&&(z[ee]=le[ee]);N&&Ye(z,typeof c=="function"?c.displayName||c.name||"Unknown":c);var ee=1e4>ue.recentlyCreatedOwnerStacks++;return de(c,N,void 0,void 0,g(),z,ee?Error("react-stack-top-frame"):Ri,ee?Nl(A(c)):Ko)},D.createRef=function(){var c={current:null};return Object.seal(c),c},D.forwardRef=function(c){c!=null&&c.$$typeof===Xn?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof c!="function"?console.error("forwardRef requires a render function but was given %s.",c===null?"null":typeof c):c.length!==0&&c.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",c.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),c!=null&&c.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var p={$$typeof:It,render:c},O;return Object.defineProperty(p,"displayName",{enumerable:!1,configurable:!0,get:function(){return O},set:function(z){O=z,c.name||c.displayName||(Object.defineProperty(c,"name",{value:z}),c.displayName=z)}}),p},D.isValidElement=Qe,D.lazy=function(c){return{$$typeof:On,_payload:{_status:-1,_result:c},_init:Se}},D.memo=function(c,p){c==null&&console.error("memo: The first argument must be a component. Instead received: %s",c===null?"null":typeof c),p={$$typeof:Xn,type:c,compare:p===void 0?null:p};var O;return Object.defineProperty(p,"displayName",{enumerable:!1,configurable:!0,get:function(){return O},set:function(z){O=z,c.name||c.displayName||(Object.defineProperty(c,"name",{value:z}),c.displayName=z)}}),p},D.startTransition=function(c){var p=ue.T,O={};ue.T=O,O._updatedFibers=new Set;try{var z=c(),N=ue.S;N!==null&&N(O,z),typeof z=="object"&&z!==null&&typeof z.then=="function"&&z.then(me,Yl)}catch(le){Yl(le)}finally{p===null&&O._updatedFibers&&(c=O._updatedFibers.size,O._updatedFibers.clear(),10<c&&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.")),ue.T=p}},D.unstable_useCacheRefresh=function(){return Z().useCacheRefresh()},D.use=function(c){return Z().use(c)},D.useActionState=function(c,p,O){return Z().useActionState(c,p,O)},D.useCallback=function(c,p){return Z().useCallback(c,p)},D.useContext=function(c){var p=Z();return c.$$typeof===De&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),p.useContext(c)},D.useDebugValue=function(c,p){return Z().useDebugValue(c,p)},D.useDeferredValue=function(c,p){return Z().useDeferredValue(c,p)},D.useEffect=function(c,p,O){c==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var z=Z();if(typeof O=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return z.useEffect(c,p)},D.useId=function(){return Z().useId()},D.useImperativeHandle=function(c,p,O){return Z().useImperativeHandle(c,p,O)},D.useInsertionEffect=function(c,p){return c==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Z().useInsertionEffect(c,p)},D.useLayoutEffect=function(c,p){return c==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Z().useLayoutEffect(c,p)},D.useMemo=function(c,p){return Z().useMemo(c,p)},D.useOptimistic=function(c,p){return Z().useOptimistic(c,p)},D.useReducer=function(c,p,O){return Z().useReducer(c,p,O)},D.useRef=function(c){return Z().useRef(c)},D.useState=function(c){return Z().useState(c)},D.useSyncExternalStore=function(c,p,O){return Z().useSyncExternalStore(c,p,O)},D.useTransition=function(){return Z().useTransition()},D.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Vo,Vo.exports)),Vo.exports}var th;function br(){return th||(th=1,vr.exports=Ev()),vr.exports}var ce=br();const j=Bl(ce);var Sr={exports:{}},Go={},Tr={exports:{}},Er={},nh;function Rv(){return nh||(nh=1,(function(M){/**
|
|
21
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),c}function he(){}function Ye(c){if(Yl===null)try{var p=("require"+Math.random()).slice(0,7);Yl=(z&&z[p]).call(z,"timers").setImmediate}catch{Yl=function(w){Iu===!1&&(Iu=!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 N=new MessageChannel;N.port1.onmessage=w,N.port2.postMessage(void 0)}}return Yl(c)}function lt(c){return 1<c.length&&typeof AggregateError=="function"?new AggregateError(c):c[0]}function ut(c,p){p!==Ta-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. "),Ta=p}function C(c,p,D){var w=ne.actQueue;if(w!==null)if(w.length!==0)try{V(w),Ye(function(){return C(c,p,D)});return}catch(N){ne.thrownErrors.push(N)}else ne.actQueue=null;0<ne.thrownErrors.length?(w=lt(ne.thrownErrors),ne.thrownErrors.length=0,D(w)):p(c)}function V(c){if(!gn){gn=!0;var p=0;try{for(;p<c.length;p++){var D=c[p];do{ne.didUsePromise=!1;var w=D(!1);if(w!==null){if(ne.didUsePromise){c[p]=D,c.splice(0,p);return}D=w}else break}while(!0)}c.length=0}catch(N){c.splice(0,p+1),ne.thrownErrors.push(N)}finally{gn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Y=Symbol.for("react.transitional.element"),ue=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),xe=Symbol.for("react.consumer"),ot=Symbol.for("react.context"),It=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),Gu=Symbol.for("react.suspense_list"),Xn=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),ga=Symbol.for("react.activity"),Xu=Symbol.iterator,Qu={},va={isMounted:function(){return!1},enqueueForceUpdate:function(c){ce(c,"forceUpdate")},enqueueReplaceState:function(c){ce(c,"replaceState")},enqueueSetState:function(c){ce(c,"setState")}},Ti=Object.assign,Zu={};Object.freeze(Zu),pe.prototype.isReactComponent={},pe.prototype.setState=function(c,p){if(typeof c!="object"&&typeof c!="function"&&c!=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,c,p,"setState")},pe.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};var et={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)."]},Qn;for(Qn in et)et.hasOwnProperty(Qn)&&de(Qn,et[Qn]);Le.prototype=pe.prototype,et=Ke.prototype=new Le,et.constructor=Ke,Ti(et,pe.prototype),et.isPureReactComponent=!0;var ba=Array.isArray,Or=Symbol.for("react.client.reference"),ne={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Pa=Object.prototype.hasOwnProperty,Nl=console.createTask?console.createTask:function(){return null};et={react_stack_bottom_frame:function(c){return c()}};var Sa,Ei,$u={},Ri=et.react_stack_bottom_frame.bind(et,_)(),Ju=Nl(A(_)),Ku=!1,Wu=/\/+/g,ql=typeof reportError=="function"?reportError:function(c){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var p=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof c=="object"&&c!==null&&typeof c.message=="string"?String(c.message):String(c),error:c});if(!window.dispatchEvent(p))return}console.error(c)},Iu=!1,Yl=null,Ta=0,yn=!1,gn=!1,Ea=typeof queueMicrotask=="function"?function(c){queueMicrotask(function(){return queueMicrotask(c)})}:Ye;et=Object.freeze({__proto__:null,c:function(c){return X().useMemoCache(c)}}),M.Children={map:L,forEach:function(c,p,D){L(c,function(){p.apply(this,arguments)},D)},count:function(c){var p=0;return L(c,function(){p++}),p},toArray:function(c){return L(c,function(p){return p})||[]},only:function(c){if(!Qe(c))throw Error("React.Children.only expected to receive a single React element child.");return c}},M.Component=pe,M.Fragment=H,M.Profiler=G,M.PureComponent=Ke,M.StrictMode=j,M.Suspense=Te,M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ne,M.__COMPILER_RUNTIME=et,M.act=function(c){var p=ne.actQueue,D=Ta;Ta++;var w=ne.actQueue=p!==null?p:[],N=!1;try{var ee=c()}catch(I){ne.thrownErrors.push(I)}if(0<ne.thrownErrors.length)throw ut(p,D),c=lt(ne.thrownErrors),ne.thrownErrors.length=0,c;if(ee!==null&&typeof ee=="object"&&typeof ee.then=="function"){var W=ee;return Ea(function(){N||yn||(yn=!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(I,st){N=!0,W.then(function(Zn){if(ut(p,D),D===0){try{V(w),Ye(function(){return C(Zn,I,st)})}catch(xr){ne.thrownErrors.push(xr)}if(0<ne.thrownErrors.length){var Dr=lt(ne.thrownErrors);ne.thrownErrors.length=0,st(Dr)}}else I(Zn)},function(Zn){ut(p,D),0<ne.thrownErrors.length&&(Zn=lt(ne.thrownErrors),ne.thrownErrors.length=0),st(Zn)})}}}var me=ee;if(ut(p,D),D===0&&(V(w),w.length!==0&&Ea(function(){N||yn||(yn=!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(() => ...)"))}),ne.actQueue=null),0<ne.thrownErrors.length)throw c=lt(ne.thrownErrors),ne.thrownErrors.length=0,c;return{then:function(I,st){N=!0,D===0?(ne.actQueue=w,Ye(function(){return C(me,I,st)})):I(me)}}},M.cache=function(c){return function(){return c.apply(null,arguments)}},M.captureOwnerStack=function(){var c=ne.getCurrentStack;return c===null?null:c()},M.cloneElement=function(c,p,D){if(c==null)throw Error("The argument must be a React element, but you passed "+c+".");var w=Ti({},c.props),N=c.key,ee=c._owner;if(p!=null){var W;e:{if(Pa.call(p,"ref")&&(W=Object.getOwnPropertyDescriptor(p,"ref").get)&&W.isReactWarning){W=!1;break e}W=p.ref!==void 0}W&&(ee=g()),ge(p)&&(Ne(p.key),N=""+p.key);for(me in p)!Pa.call(p,me)||me==="key"||me==="__self"||me==="__source"||me==="ref"&&p.ref===void 0||(w[me]=p[me])}var me=arguments.length-2;if(me===1)w.children=D;else if(1<me){W=Array(me);for(var I=0;I<me;I++)W[I]=arguments[I+2];w.children=W}for(w=re(c.type,N,void 0,void 0,ee,w,c._debugStack,c._debugTask),N=2;N<arguments.length;N++)ee=arguments[N],Qe(ee)&&ee._store&&(ee._store.validated=1);return w},M.createContext=function(c){return c={$$typeof:ot,_currentValue:c,_currentValue2:c,_threadCount:0,Provider:null,Consumer:null},c.Provider=c,c.Consumer={$$typeof:xe,_context:c},c._currentRenderer=null,c._currentRenderer2=null,c},M.createElement=function(c,p,D){for(var w=2;w<arguments.length;w++){var N=arguments[w];Qe(N)&&N._store&&(N._store.validated=1)}if(w={},N=null,p!=null)for(I in Ei||!("__self"in p)||"key"in p||(Ei=!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")),ge(p)&&(Ne(p.key),N=""+p.key),p)Pa.call(p,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(w[I]=p[I]);var ee=arguments.length-2;if(ee===1)w.children=D;else if(1<ee){for(var W=Array(ee),me=0;me<ee;me++)W[me]=arguments[me+2];Object.freeze&&Object.freeze(W),w.children=W}if(c&&c.defaultProps)for(I in ee=c.defaultProps,ee)w[I]===void 0&&(w[I]=ee[I]);N&&Ve(w,typeof c=="function"?c.displayName||c.name||"Unknown":c);var I=1e4>ne.recentlyCreatedOwnerStacks++;return re(c,N,void 0,void 0,g(),w,I?Error("react-stack-top-frame"):Ri,I?Nl(A(c)):Ju)},M.createRef=function(){var c={current:null};return Object.seal(c),c},M.forwardRef=function(c){c!=null&&c.$$typeof===Xn?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof c!="function"?console.error("forwardRef requires a render function but was given %s.",c===null?"null":typeof c):c.length!==0&&c.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",c.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),c!=null&&c.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var p={$$typeof:It,render:c},D;return Object.defineProperty(p,"displayName",{enumerable:!1,configurable:!0,get:function(){return D},set:function(w){D=w,c.name||c.displayName||(Object.defineProperty(c,"name",{value:w}),c.displayName=w)}}),p},M.isValidElement=Qe,M.lazy=function(c){return{$$typeof:Dn,_payload:{_status:-1,_result:c},_init:Se}},M.memo=function(c,p){c==null&&console.error("memo: The first argument must be a component. Instead received: %s",c===null?"null":typeof c),p={$$typeof:Xn,type:c,compare:p===void 0?null:p};var D;return Object.defineProperty(p,"displayName",{enumerable:!1,configurable:!0,get:function(){return D},set:function(w){D=w,c.name||c.displayName||(Object.defineProperty(c,"name",{value:w}),c.displayName=w)}}),p},M.startTransition=function(c){var p=ne.T,D={};ne.T=D,D._updatedFibers=new Set;try{var w=c(),N=ne.S;N!==null&&N(D,w),typeof w=="object"&&w!==null&&typeof w.then=="function"&&w.then(he,ql)}catch(ee){ql(ee)}finally{p===null&&D._updatedFibers&&(c=D._updatedFibers.size,D._updatedFibers.clear(),10<c&&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.")),ne.T=p}},M.unstable_useCacheRefresh=function(){return X().useCacheRefresh()},M.use=function(c){return X().use(c)},M.useActionState=function(c,p,D){return X().useActionState(c,p,D)},M.useCallback=function(c,p){return X().useCallback(c,p)},M.useContext=function(c){var p=X();return c.$$typeof===xe&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),p.useContext(c)},M.useDebugValue=function(c,p){return X().useDebugValue(c,p)},M.useDeferredValue=function(c,p){return X().useDeferredValue(c,p)},M.useEffect=function(c,p,D){c==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var w=X();if(typeof D=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return w.useEffect(c,p)},M.useId=function(){return X().useId()},M.useImperativeHandle=function(c,p,D){return X().useImperativeHandle(c,p,D)},M.useInsertionEffect=function(c,p){return c==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),X().useInsertionEffect(c,p)},M.useLayoutEffect=function(c,p){return c==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),X().useLayoutEffect(c,p)},M.useMemo=function(c,p){return X().useMemo(c,p)},M.useOptimistic=function(c,p){return X().useOptimistic(c,p)},M.useReducer=function(c,p,D){return X().useReducer(c,p,D)},M.useRef=function(c){return X().useRef(c)},M.useState=function(c){return X().useState(c)},M.useSyncExternalStore=function(c,p,D){return X().useSyncExternalStore(c,p,D)},M.useTransition=function(){return X().useTransition()},M.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(ju,ju.exports)),ju.exports}var Pd;function br(){return Pd||(Pd=1,vr.exports=Ev()),vr.exports}var le=br();const ve=kl(le);var Sr={exports:{}},Vu={},Tr={exports:{}},Er={},eh;function Rv(){return eh||(eh=1,(function(z){/**
|
|
22
22
|
* @license React
|
|
23
23
|
* scheduler.development.js
|
|
24
24
|
*
|
|
@@ -26,7 +26,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
26
26
|
*
|
|
27
27
|
* This source code is licensed under the MIT license found in the
|
|
28
28
|
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/(function(){function
|
|
29
|
+
*/(function(){function M(){if(Ee=!1,L){var C=z.unstable_now();he=C;var V=!0;try{e:{Qe=!1,Ot&&(Ot=!1,Oe(Se),Se=-1),Ze=!0;var Y=re;try{t:{for(Le(C),be=F(_);be!==null&&!(be.expirationTime>C&&O());){var ue=be.callback;if(typeof ue=="function"){be.callback=null,re=be.priorityLevel;var H=ue(be.expirationTime<=C);if(C=z.unstable_now(),typeof H=="function"){be.callback=H,Le(C),V=!0;break t}be===F(_)&&ce(_),Le(C)}else ce(_);be=F(_)}if(be!==null)V=!0;else{var j=F(ge);j!==null&&Ne(Ke,j.startTime-C),V=!1}}break e}finally{be=null,re=Y,Ze=!1}V=void 0}}finally{V?Ye():L=!1}}}function de(C,V){var Y=C.length;C.push(V);e:for(;0<Y;){var ue=Y-1>>>1,H=C[ue];if(0<pe(H,V))C[ue]=V,C[Y]=H,Y=ue;else break e}}function F(C){return C.length===0?null:C[0]}function ce(C){if(C.length===0)return null;var V=C[0],Y=C.pop();if(Y!==V){C[0]=Y;e:for(var ue=0,H=C.length,j=H>>>1;ue<j;){var G=2*(ue+1)-1,xe=C[G],ot=G+1,It=C[ot];if(0>pe(xe,Y))ot<H&&0>pe(It,xe)?(C[ue]=It,C[ot]=Y,ue=ot):(C[ue]=xe,C[G]=Y,ue=G);else if(ot<H&&0>pe(It,Y))C[ue]=It,C[ot]=Y,ue=ot;else break e}}return V}function pe(C,V){var Y=C.sortIndex-V.sortIndex;return Y!==0?Y:C.id-V.id}function Le(C){for(var V=F(ge);V!==null;){if(V.callback===null)ce(ge);else if(V.startTime<=C)ce(ge),V.sortIndex=V.expirationTime,de(_,V);else break;V=F(ge)}}function Ke(C){if(Ot=!1,Le(C),!Qe)if(F(_)!==null)Qe=!0,L||(L=!0,Ye());else{var V=F(ge);V!==null&&Ne(Ke,V.startTime-C)}}function O(){return Ee?!0:!(z.unstable_now()-he<X)}function Ne(C,V){Se=qe(function(){C(z.unstable_now())},V)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),z.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var je=performance;z.unstable_now=function(){return je.now()}}else{var A=Date,g=A.now();z.unstable_now=function(){return A.now()-g}}var _=[],ge=[],Ve=1,be=null,re=3,Ze=!1,Qe=!1,Ot=!1,Ee=!1,qe=typeof setTimeout=="function"?setTimeout:null,Oe=typeof clearTimeout=="function"?clearTimeout:null,Ue=typeof setImmediate<"u"?setImmediate:null,L=!1,Se=-1,X=5,he=-1;if(typeof Ue=="function")var Ye=function(){Ue(M)};else if(typeof MessageChannel<"u"){var lt=new MessageChannel,ut=lt.port2;lt.port1.onmessage=M,Ye=function(){ut.postMessage(null)}}else Ye=function(){qe(M,0)};z.unstable_IdlePriority=5,z.unstable_ImmediatePriority=1,z.unstable_LowPriority=4,z.unstable_NormalPriority=3,z.unstable_Profiling=null,z.unstable_UserBlockingPriority=2,z.unstable_cancelCallback=function(C){C.callback=null},z.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):X=0<C?Math.floor(1e3/C):5},z.unstable_getCurrentPriorityLevel=function(){return re},z.unstable_next=function(C){switch(re){case 1:case 2:case 3:var V=3;break;default:V=re}var Y=re;re=V;try{return C()}finally{re=Y}},z.unstable_requestPaint=function(){Ee=!0},z.unstable_runWithPriority=function(C,V){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var Y=re;re=C;try{return V()}finally{re=Y}},z.unstable_scheduleCallback=function(C,V,Y){var ue=z.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?ue+Y:ue):Y=ue,C){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=Y+H,C={id:Ve++,callback:V,priorityLevel:C,startTime:Y,expirationTime:H,sortIndex:-1},Y>ue?(C.sortIndex=Y,de(ge,C),F(_)===null&&C===F(ge)&&(Ot?(Oe(Se),Se=-1):Ot=!0,Ne(Ke,Y-ue))):(C.sortIndex=H,de(_,C),Qe||Ze||(Qe=!0,L||(L=!0,Ye()))),C},z.unstable_shouldYield=O,z.unstable_wrapCallback=function(C){var V=re;return function(){var Y=re;re=V;try{return C.apply(this,arguments)}finally{re=Y}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Er)),Er}var th;function Av(){return th||(th=1,Tr.exports=Rv()),Tr.exports}var Rr={exports:{}},Tt={},nh;function Ov(){if(nh)return Tt;nh=1;/**
|
|
30
30
|
* @license React
|
|
31
31
|
* react-dom.development.js
|
|
32
32
|
*
|
|
@@ -34,11 +34,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
34
34
|
*
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/return(function(){function
|
|
37
|
+
*/return(function(){function z(){}function M(A){return""+A}function de(A,g,_){var ge=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{M(ge);var Ve=!1}catch{Ve=!0}return Ve&&(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&&ge[Symbol.toStringTag]||ge.constructor.name||"Object"),M(ge)),{$$typeof:Ne,key:ge==null?null:""+ge,children:A,containerInfo:g,implementation:_}}function F(A,g){if(A==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}function ce(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":'something with type "'+typeof A+'"'}function pe(A){return A===null?"`null`":A===void 0?"`undefined`":A===""?"an empty string":typeof A=="string"?JSON.stringify(A):typeof A=="number"?"`"+A+"`":'something with type "'+typeof A+'"'}function Le(){var A=je.H;return A===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:
|
|
38
38
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
39
39
|
2. You might be breaking the Rules of Hooks
|
|
40
40
|
3. You might have more than one copy of React in the same app
|
|
41
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),A}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ke=br(),
|
|
41
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),A}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ke=br(),O={d:{f:z,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:z,C:z,L:z,m:z,X:z,S:z,M:z},p:0,findDOMNode:null},Ne=Symbol.for("react.portal"),je=Ke.__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"),Tt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,Tt.createPortal=function(A,g){var _=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error("Target container is not a DOM element.");return de(A,g,null,_)},Tt.flushSync=function(A){var g=je.T,_=O.p;try{if(je.T=null,O.p=2,A)return A()}finally{je.T=g,O.p=_,O.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.")}},Tt.preconnect=function(A,g){typeof A=="string"&&A?g!=null&&typeof g!="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.",pe(g)):g!=null&&typeof g.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.",ce(g.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",ce(A)),typeof A=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,O.d.C(A,g))},Tt.prefetchDNS=function(A){if(typeof A!="string"||!A)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",ce(A));else if(1<arguments.length){var g=arguments[1];typeof g=="object"&&g.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`.",pe(g)):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`.",pe(g))}typeof A=="string"&&O.d.D(A)},Tt.preinit=function(A,g){if(typeof A=="string"&&A?g==null||typeof g!="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.",pe(g)):g.as!=="style"&&g.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".',pe(g.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",ce(A)),typeof A=="string"&&g&&typeof g.as=="string"){var _=g.as,ge=F(_,g.crossOrigin),Ve=typeof g.integrity=="string"?g.integrity:void 0,be=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;_==="style"?O.d.S(A,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:ge,integrity:Ve,fetchPriority:be}):_==="script"&&O.d.X(A,{crossOrigin:ge,integrity:Ve,fetchPriority:be,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Tt.preinitModule=function(A,g){var _="";if(typeof A=="string"&&A||(_+=" The `href` argument encountered was "+ce(A)+"."),g!==void 0&&typeof g!="object"?_+=" The `options` argument encountered was "+ce(g)+".":g&&"as"in g&&g.as!=="script"&&(_+=" The `as` option encountered was "+pe(g.as)+"."),_)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",_);else switch(_=g&&typeof g.as=="string"?g.as:"script",_){case"script":break;default:_=pe(_),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)',_,A)}typeof A=="string"&&(typeof g=="object"&&g!==null?(g.as==null||g.as==="script")&&(_=F(g.as,g.crossOrigin),O.d.M(A,{crossOrigin:_,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})):g==null&&O.d.M(A))},Tt.preload=function(A,g){var _="";if(typeof A=="string"&&A||(_+=" The `href` argument encountered was "+ce(A)+"."),g==null||typeof g!="object"?_+=" The `options` argument encountered was "+ce(g)+".":typeof g.as=="string"&&g.as||(_+=" The `as` option encountered was "+ce(g.as)+"."),_&&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',_),typeof A=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){_=g.as;var ge=F(_,g.crossOrigin);O.d.L(A,_,{crossOrigin:ge,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Tt.preloadModule=function(A,g){var _="";typeof A=="string"&&A||(_+=" The `href` argument encountered was "+ce(A)+"."),g!==void 0&&typeof g!="object"?_+=" The `options` argument encountered was "+ce(g)+".":g&&"as"in g&&typeof g.as!="string"&&(_+=" The `as` option encountered was "+ce(g.as)+"."),_&&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',_),typeof A=="string"&&(g?(_=F(g.as,g.crossOrigin),O.d.m(A,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:_,integrity:typeof g.integrity=="string"?g.integrity:void 0})):O.d.m(A))},Tt.requestFormReset=function(A){O.d.r(A)},Tt.unstable_batchedUpdates=function(A,g){return A(g)},Tt.useFormState=function(A,g,_){return Le().useFormState(A,g,_)},Tt.useFormStatus=function(){return Le().useHostTransitionStatus()},Tt.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Tt}var ah;function Dv(){return ah||(ah=1,Rr.exports=Ov()),Rr.exports}var lh;function xv(){if(lh)return Vu;lh=1;/**
|
|
42
42
|
* @license React
|
|
43
43
|
* react-dom-client.development.js
|
|
44
44
|
*
|
|
@@ -46,61 +46,61 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
46
46
|
*
|
|
47
47
|
* This source code is licensed under the MIT license found in the
|
|
48
48
|
* LICENSE file in the root directory of this source tree.
|
|
49
|
-
*/return(function(){function M(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function D(e,t,n,a){if(n>=t.length)return a;var l=t[n],o=gt(e)?e.slice():oe({},e);return o[l]=D(e[l],t,n+1,a),o}function V(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return I(e,t,n,0)}}function I(e,t,n,a){var l=t[a],o=gt(e)?e.slice():oe({},e);return a+1===t.length?(o[n[a]]=o[l],gt(o)?o.splice(l,1):delete o[l]):o[l]=I(e[l],t,n,a+1),o}function te(e,t,n){var a=t[n],l=gt(e)?e.slice():oe({},e);return n+1===t.length?(gt(l)?l.splice(a,1):delete l[a],l):(l[a]=te(e[a],t,n+1),l)}function ae(){return!1}function Ue(){return null}function Ke(){}function x(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function Ne(){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 Ve(){}function A(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function g(e,t,n,a){return new hb(e,t,n,a)}function H(e,t){e.context===Na&&(Of(e.current,2,t,e,null,null),Il())}function ve(e,t){if(on!==null){var n=t.staleFamilies;t=t.updatedFamilies,Au(),Xr(e.current,t,n),Il()}}function Ye(e){on=e}function be(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function de(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ze(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Qe(e){if(de(e)!==e)throw Error("Unable to find node on an unmounted component.")}function xt(e){var t=e.alternate;if(!t){if(t=de(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var l=n.return;if(l===null)break;var o=l.alternate;if(o===null){if(a=l.return,a!==null){n=a;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===n)return Qe(l),e;if(o===a)return Qe(l),t;o=o.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=l,a=o;else{for(var u=!1,i=l.child;i;){if(i===n){u=!0,n=l,a=o;break}if(i===a){u=!0,a=l,n=o;break}i=i.sibling}if(!u){for(i=o.child;i;){if(i===n){u=!0,n=o,a=l;break}if(i===a){u=!0,a=o,n=l;break}i=i.sibling}if(!u)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(n.alternate!==a)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(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function Ee(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Ee(e),t!==null)return t;e=e.sibling}return null}function qe(e){return e===null||typeof e!="object"?null:(e=Xy&&e[Xy]||e["@@iterator"],typeof e=="function"?e:null)}function xe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===wS?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case lo:return"Fragment";case Hf:return"Profiler";case Ac:return"StrictMode";case kf:return"Suspense";case Bf:return"SuspenseList";case Lf: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 ao:return"Portal";case _n:return(e.displayName||"Context")+".Provider";case _f:return(e._context.displayName||"Context")+".Consumer";case Hu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xc:return t=e.displayName||null,t!==null?t:xe(e.type)||"Memo";case Zt:t=e._payload,e=e._init;try{return xe(e(t))}catch{}}return null}function He(e){return typeof e.tag=="number"?L(e):typeof e.name=="string"?e.name:null}function L(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xe(t);case 8:return t===Ac?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return L(e.return)}return null}function Se(e){return{current:e}}function Z(e,t){0>na?console.error("Unexpected pop."):(t!==Yf[na]&&console.error("Unexpected Fiber popped."),e.current=Nf[na],Nf[na]=null,Yf[na]=null,na--)}function me(e,t,n){na++,Nf[na]=e.current,Yf[na]=n,e.current=t}function je(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function lt(e,t){me(_a,t,e),me(_u,e,e),me(Ha,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?vy(t):pa;break;default:if(n=t.tagName,t=t.namespaceURI)t=vy(t),t=by(t,n);else switch(n){case"svg":t=qo;break;case"math":t=fr;break;default:t=pa}}n=n.toLowerCase(),n=Ch(null,n),n={context:t,ancestorInfo:n},Z(Ha,e),me(Ha,n,e)}function ot(e){Z(Ha,e),Z(_u,e),Z(_a,e)}function w(){return je(Ha.current)}function X(e){e.memoizedState!==null&&me(Oc,e,e);var t=je(Ha.current),n=e.type,a=by(t.context,n);n=Ch(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(me(_u,e,e),me(Ha,a,e))}function q(e){_u.current===e&&(Z(Ha,e),Z(_u,e)),Oc.current===e&&(Z(Oc,e),vi._currentValue=kl)}function re(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function _(e){try{return G(e),!1}catch{return!0}}function G(e){return""+e}function Q(e,t){if(_(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,re(e)),G(e)}function De(e,t){if(_(e))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.",t,re(e)),G(e)}function ut(e){if(_(e))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.",re(e)),G(e)}function It(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.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{uo=t.inject(e),Et=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function Te(e){if(typeof BS=="function"&&LS(e),Et&&typeof Et.setStrictMode=="function")try{Et.setStrictMode(uo,e)}catch(t){Bn||(Bn=!0,console.error("React instrumentation encountered an error: %s",t))}}function Xo(e){U=e}function Xn(){U!==null&&typeof U.markCommitStopped=="function"&&U.markCommitStopped()}function On(e){U!==null&&typeof U.markComponentRenderStarted=="function"&&U.markComponentRenderStarted(e)}function ga(){U!==null&&typeof U.markComponentRenderStopped=="function"&&U.markComponentRenderStopped()}function Qo(e){U!==null&&typeof U.markRenderStarted=="function"&&U.markRenderStarted(e)}function Zo(){U!==null&&typeof U.markRenderStopped=="function"&&U.markRenderStopped()}function va(e,t){U!==null&&typeof U.markStateUpdateScheduled=="function"&&U.markStateUpdateScheduled(e,t)}function Ti(e){return e>>>=0,e===0?32:31-(NS(e)/YS|0)|0}function $o(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function et(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&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."),e}}function Qn(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var l=0,o=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var i=a&134217727;return i!==0?(a=i&~o,a!==0?l=et(a):(u&=i,u!==0?l=et(u):n||(n=i&~e,n!==0&&(l=et(n))))):(i=a&~o,i!==0?l=et(i):u!==0?l=et(u):n||(n=a&~e,n!==0&&(l=et(n)))),l===0?0:t!==0&&t!==l&&(t&o)===0&&(o=l&-l,n=t&-t,o>=n||o===32&&(n&4194048)!==0)?t:l}function ba(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Dr(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+5e3;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 ue(){var e=Dc;return Dc<<=1,(Dc&4194048)===0&&(Dc=256),e}function Pa(){var e=Cc;return Cc<<=1,(Cc&62914560)===0&&(Cc=4194304),e}function Nl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Sa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ei(e,t,n,a,l,o){var u=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var i=e.entanglements,r=e.expirationTimes,s=e.hiddenUpdates;for(n=u&~n;0<n;){var y=31-Ot(n),S=1<<y;i[y]=0,r[y]=-1;var m=s[y];if(m!==null)for(s[y]=null,y=0;y<m.length;y++){var T=m[y];T!==null&&(T.lane&=-536870913)}n&=~S}a!==0&&Jo(e,a,0),o!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=o&~(u&~t))}function Jo(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Ot(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&4194090}function Ri(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Ot(n),l=1<<a;l&t|e[a]&t&&(e[a]|=t),n&=~l}}function Ko(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Wo(e,t,n){if(Sn)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-Ot(n),l=1<<a;e[a].add(t),n&=~l}}function Io(e,t){if(Sn)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var l=31-Ot(t);e=1<<l,l=n[l],0<l.size&&(l.forEach(function(o){var u=o.alternate;u!==null&&a.has(u)||a.add(o)}),l.clear()),t&=~e}}function Yl(e){return e&=-e,an<e?Ln<e?(e&134217727)!==0?la:wc:Ln:an}function Fo(){var e=Re.p;return e!==0?e:(e=window.event,e===void 0?la:Ny(e.type))}function ql(e,t){var n=Re.p;try{return Re.p=e,t()}finally{Re.p=n}}function Ta(e){delete e[Rt],delete e[Lt],delete e[Xf],delete e[qS],delete e[jS]}function yn(e){var t=e[Rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ba]||n[Rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=xy(e);e!==null;){if(n=e[Rt])return n;e=xy(e)}return t}e=n,n=e.parentNode}return null}function gn(e){if(e=e[Rt]||e[Ba]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Ea(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function c(e){var t=e[Qy];return t||(t=e[Qy]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function p(e){e[ku]=!0}function O(e,t){z(e,t),z(e+"Capture",t)}function z(e,t){yl[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),yl[e]=t;var n=e.toLowerCase();for(Qf[n]=e,e==="onDoubleClick"&&(Qf.ondblclick=e),e=0;e<t.length;e++)Zy.add(t[e])}function N(e,t){VS[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"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`.":"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`."),t.onChange||t.readOnly||t.disabled||t.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 le(e){return aa.call(Jy,e)?!0:aa.call($y,e)?!1:GS.test(e)?Jy[e]=!0:($y[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function P(e,t,n){if(le(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(Q(n,t),e===""+n?n:e)}}function ye(e,t,n){if(le(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}Q(n,t),e.setAttribute(t,""+n)}}function ee(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Q(n,t),e.setAttribute(t,""+n)}}function st(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}Q(a,n),e.setAttributeNS(t,n,""+a)}}function Zn(){}function Cr(){if(Bu===0){Ky=console.log,Wy=console.info,Iy=console.warn,Fy=console.error,Py=console.group,eg=console.groupCollapsed,tg=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Zn,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Bu++}function wr(){if(Bu--,Bu===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:oe({},e,{value:Ky}),info:oe({},e,{value:Wy}),warn:oe({},e,{value:Iy}),error:oe({},e,{value:Fy}),group:oe({},e,{value:Py}),groupCollapsed:oe({},e,{value:eg}),groupEnd:oe({},e,{value:tg})})}0>Bu&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ft(e){if(Zf===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Zf=t&&t[1]||"",ng=-1<n.stack.indexOf(`
|
|
49
|
+
*/return(function(){function z(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function M(e,t,n,a){if(n>=t.length)return a;var l=t[n],u=gt(e)?e.slice():te({},e);return u[l]=M(e[l],t,n+1,a),u}function de(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return F(e,t,n,0)}}function F(e,t,n,a){var l=t[a],u=gt(e)?e.slice():te({},e);return a+1===t.length?(u[n[a]]=u[l],gt(u)?u.splice(l,1):delete u[l]):u[l]=F(e[l],t,n,a+1),u}function ce(e,t,n){var a=t[n],l=gt(e)?e.slice():te({},e);return n+1===t.length?(gt(l)?l.splice(a,1):delete l[a],l):(l[a]=ce(e[a],t,n+1),l)}function pe(){return!1}function Le(){return null}function Ke(){}function O(){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 Ne(){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 je(){}function A(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function g(e,t,n,a){return new fb(e,t,n,a)}function _(e,t){e.context===Na&&(Af(e.current,2,t,e,null,null),Il())}function ge(e,t){if(un!==null){var n=t.staleFamilies;t=t.updatedFamilies,Ao(),Vr(e.current,t,n),Il()}}function Ve(e){un=e}function be(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function re(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ze(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Qe(e){if(re(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Ot(e){var t=e.alternate;if(!t){if(t=re(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var l=n.return;if(l===null)break;var u=l.alternate;if(u===null){if(a=l.return,a!==null){n=a;continue}break}if(l.child===u.child){for(u=l.child;u;){if(u===n)return Qe(l),e;if(u===a)return Qe(l),t;u=u.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=l,a=u;else{for(var o=!1,i=l.child;i;){if(i===n){o=!0,n=l,a=u;break}if(i===a){o=!0,a=l,n=u;break}i=i.sibling}if(!o){for(i=u.child;i;){if(i===n){o=!0,n=u,a=l;break}if(i===a){o=!0,a=u,n=l;break}i=i.sibling}if(!o)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(n.alternate!==a)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(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function Ee(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Ee(e),t!==null)return t;e=e.sibling}return null}function qe(e){return e===null||typeof e!="object"?null:(e=Xy&&e[Xy]||e["@@iterator"],typeof e=="function"?e:null)}function Oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===xS?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case lu:return"Fragment";case zf:return"Profiler";case Ac:return"StrictMode";case Hf:return"Suspense";case _f:return"SuspenseList";case Bf: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 au:return"Portal";case _n:return(e.displayName||"Context")+".Provider";case Uf:return(e._context.displayName||"Context")+".Consumer";case Ho:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Oc:return t=e.displayName||null,t!==null?t:Oe(e.type)||"Memo";case Zt:t=e._payload,e=e._init;try{return Oe(e(t))}catch{}}return null}function Ue(e){return typeof e.tag=="number"?L(e):typeof e.name=="string"?e.name:null}function L(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Oe(t);case 8:return t===Ac?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return L(e.return)}return null}function Se(e){return{current:e}}function X(e,t){0>na?console.error("Unexpected pop."):(t!==Lf[na]&&console.error("Unexpected Fiber popped."),e.current=kf[na],kf[na]=null,Lf[na]=null,na--)}function he(e,t,n){na++,kf[na]=e.current,Lf[na]=n,e.current=t}function Ye(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function lt(e,t){he(_a,t,e),he(_o,e,e),he(Ha,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?vy(t):pa;break;default:if(n=t.tagName,t=t.namespaceURI)t=vy(t),t=by(t,n);else switch(n){case"svg":t=qu;break;case"math":t=fr;break;default:t=pa}}n=n.toLowerCase(),n=Ch(null,n),n={context:t,ancestorInfo:n},X(Ha,e),he(Ha,n,e)}function ut(e){X(Ha,e),X(_o,e),X(_a,e)}function C(){return Ye(Ha.current)}function V(e){e.memoizedState!==null&&he(Dc,e,e);var t=Ye(Ha.current),n=e.type,a=by(t.context,n);n=Ch(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(he(_o,e,e),he(Ha,a,e))}function Y(e){_o.current===e&&(X(Ha,e),X(_o,e)),Dc.current===e&&(X(Dc,e),vi._currentValue=Bl)}function ue(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function H(e){try{return j(e),!1}catch{return!0}}function j(e){return""+e}function G(e,t){if(H(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,ue(e)),j(e)}function xe(e,t){if(H(e))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.",t,ue(e)),j(e)}function ot(e){if(H(e))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.",ue(e)),j(e)}function It(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.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{ou=t.inject(e),Et=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function Te(e){if(typeof _S=="function"&&BS(e),Et&&typeof Et.setStrictMode=="function")try{Et.setStrictMode(ou,e)}catch(t){kn||(kn=!0,console.error("React instrumentation encountered an error: %s",t))}}function Gu(e){U=e}function Xn(){U!==null&&typeof U.markCommitStopped=="function"&&U.markCommitStopped()}function Dn(e){U!==null&&typeof U.markComponentRenderStarted=="function"&&U.markComponentRenderStarted(e)}function ga(){U!==null&&typeof U.markComponentRenderStopped=="function"&&U.markComponentRenderStopped()}function Xu(e){U!==null&&typeof U.markRenderStarted=="function"&&U.markRenderStarted(e)}function Qu(){U!==null&&typeof U.markRenderStopped=="function"&&U.markRenderStopped()}function va(e,t){U!==null&&typeof U.markStateUpdateScheduled=="function"&&U.markStateUpdateScheduled(e,t)}function Ti(e){return e>>>=0,e===0?32:31-(kS(e)/LS|0)|0}function Zu(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function et(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&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."),e}}function Qn(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var l=0,u=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var i=a&134217727;return i!==0?(a=i&~u,a!==0?l=et(a):(o&=i,o!==0?l=et(o):n||(n=i&~e,n!==0&&(l=et(n))))):(i=a&~u,i!==0?l=et(i):o!==0?l=et(o):n||(n=a&~e,n!==0&&(l=et(n)))),l===0?0:t!==0&&t!==l&&(t&u)===0&&(u=l&-l,n=t&-t,u>=n||u===32&&(n&4194048)!==0)?t:l}function ba(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Or(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+5e3;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 ne(){var e=xc;return xc<<=1,(xc&4194048)===0&&(xc=256),e}function Pa(){var e=Cc;return Cc<<=1,(Cc&62914560)===0&&(Cc=4194304),e}function Nl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Sa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ei(e,t,n,a,l,u){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var i=e.entanglements,r=e.expirationTimes,s=e.hiddenUpdates;for(n=o&~n;0<n;){var y=31-Dt(n),S=1<<y;i[y]=0,r[y]=-1;var m=s[y];if(m!==null)for(s[y]=null,y=0;y<m.length;y++){var T=m[y];T!==null&&(T.lane&=-536870913)}n&=~S}a!==0&&$u(e,a,0),u!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=u&~(o&~t))}function $u(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Dt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&4194090}function Ri(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Dt(n),l=1<<a;l&t|e[a]&t&&(e[a]|=t),n&=~l}}function Ju(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ku(e,t,n){if(Sn)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-Dt(n),l=1<<a;e[a].add(t),n&=~l}}function Wu(e,t){if(Sn)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var l=31-Dt(t);e=1<<l,l=n[l],0<l.size&&(l.forEach(function(u){var o=u.alternate;o!==null&&a.has(o)||a.add(u)}),l.clear()),t&=~e}}function ql(e){return e&=-e,an<e?Ln<e?(e&134217727)!==0?la:wc:Ln:an}function Iu(){var e=Re.p;return e!==0?e:(e=window.event,e===void 0?la:Ny(e.type))}function Yl(e,t){var n=Re.p;try{return Re.p=e,t()}finally{Re.p=n}}function Ta(e){delete e[Rt],delete e[Lt],delete e[Vf],delete e[NS],delete e[qS]}function yn(e){var t=e[Rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ka]||n[Rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Oy(e);e!==null;){if(n=e[Rt])return n;e=Oy(e)}return t}e=n,n=e.parentNode}return null}function gn(e){if(e=e[Rt]||e[ka]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Ea(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function c(e){var t=e[Qy];return t||(t=e[Qy]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function p(e){e[Bo]=!0}function D(e,t){w(e,t),w(e+"Capture",t)}function w(e,t){yl[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),yl[e]=t;var n=e.toLowerCase();for(Gf[n]=e,e==="onDoubleClick"&&(Gf.ondblclick=e),e=0;e<t.length;e++)Zy.add(t[e])}function N(e,t){YS[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"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`.":"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`."),t.onChange||t.readOnly||t.disabled||t.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 ee(e){return aa.call(Jy,e)?!0:aa.call($y,e)?!1:jS.test(e)?Jy[e]=!0:($y[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function W(e,t,n){if(ee(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(G(n,t),e===""+n?n:e)}}function me(e,t,n){if(ee(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}G(n,t),e.setAttribute(t,""+n)}}function I(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}G(n,t),e.setAttribute(t,""+n)}}function st(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}G(a,n),e.setAttributeNS(t,n,""+a)}}function Zn(){}function Dr(){if(ko===0){Ky=console.log,Wy=console.info,Iy=console.warn,Fy=console.error,Py=console.group,eg=console.groupCollapsed,tg=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Zn,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ko++}function xr(){if(ko--,ko===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:te({},e,{value:Ky}),info:te({},e,{value:Wy}),warn:te({},e,{value:Iy}),error:te({},e,{value:Fy}),group:te({},e,{value:Py}),groupCollapsed:te({},e,{value:eg}),groupEnd:te({},e,{value:tg})})}0>ko&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ft(e){if(Xf===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Xf=t&&t[1]||"",ng=-1<n.stack.indexOf(`
|
|
50
50
|
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
51
|
-
`+
|
|
51
|
+
`+Xf+e+ng}function Cr(e,t){if(!e||Qf)return"";var n=Zf.get(e);if(n!==void 0)return n;Qf=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=b.H,b.H=null,Dr();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var m=function(){throw Error()};if(Object.defineProperty(m.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(m,[])}catch(B){var T=B}Reflect.construct(e,[],m)}else{try{m.call()}catch(B){T=B}e.call(m.prototype)}}else{try{throw Error()}catch(B){T=B}(m=e())&&typeof m.catch=="function"&&m.catch(function(){})}}catch(B){if(B&&T&&typeof B.stack=="string")return[B.stack,T.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=l.DetermineComponentFrameRoot(),i=o[0],r=o[1];if(i&&r){var s=i.split(`
|
|
52
52
|
`),y=r.split(`
|
|
53
|
-
`);for(u=
|
|
54
|
-
`+s[
|
|
53
|
+
`);for(o=u=0;u<s.length&&!s[u].includes("DetermineComponentFrameRoot");)u++;for(;o<y.length&&!y[o].includes("DetermineComponentFrameRoot");)o++;if(u===s.length||o===y.length)for(u=s.length-1,o=y.length-1;1<=u&&0<=o&&s[u]!==y[o];)o--;for(;1<=u&&0<=o;u--,o--)if(s[u]!==y[o]){if(u!==1||o!==1)do if(u--,o--,0>o||s[u]!==y[o]){var S=`
|
|
54
|
+
`+s[u].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),typeof e=="function"&&Zf.set(e,S),S}while(1<=u&&0<=o);break}}}finally{Qf=!1,b.H=a,xr(),Error.prepareStackTrace=n}return s=(s=e?e.displayName||e.name:"")?Ft(s):"",typeof e=="function"&&Zf.set(e,s),s}function fh(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
55
55
|
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
56
56
|
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
57
|
-
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function
|
|
57
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Xv(e){switch(e.tag){case 26:case 27:case 5:return Ft(e.type);case 16:return Ft("Lazy");case 13:return Ft("Suspense");case 19:return Ft("SuspenseList");case 0:case 15:return Cr(e.type,!1);case 11:return Cr(e.type.render,!1);case 1:return Cr(e.type,!0);case 31:return Ft("Activity");default:return""}}function dh(e){try{var t="";do{t+=Xv(e);var n=e._debugInfo;if(n)for(var a=n.length-1;0<=a;a--){var l=n[a];if(typeof l.name=="string"){var u=t,o=l.env,i=Ft(l.name+(o?" ["+o+"]":""));t=u+i}}e=e.return}while(e);return t}catch(r){return`
|
|
58
58
|
Error generating stack: `+r.message+`
|
|
59
|
-
`+r.stack}}function hh(e){return(e=e?e.displayName||e.name:"")?Ft(e):""}function Ai(){if($t===null)return null;var e=$t._debugOwner;return e!=null?
|
|
59
|
+
`+r.stack}}function hh(e){return(e=e?e.displayName||e.name:"")?Ft(e):""}function Ai(){if($t===null)return null;var e=$t._debugOwner;return e!=null?Ue(e):null}function Qv(){if($t===null)return"";var e=$t;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Ft(e.type);break;case 13:t+=Ft("Suspense");break;case 19:t+=Ft("SuspenseList");break;case 31:t+=Ft("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=hh(e.type));break;case 11:e._debugOwner||t!==""||(t+=hh(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var a=n._debugStack;e&&a&&(typeof a!="string"&&(n._debugStack=a=fh(a)),a!==""&&(t+=`
|
|
60
60
|
`+a))}else if(e.debugStack!=null){var l=e.debugStack;(e=e.owner)&&l&&(t+=`
|
|
61
|
-
`+fh(l))}else break;var
|
|
62
|
-
Error generating stack: `+
|
|
63
|
-
`+
|
|
64
|
-
|
|
65
|
-
Check the render method of \``+e+"`.":""}function jl(e,t,n,a){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Pt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,a&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Sh(e,t){for(e=0;e<rg.length;e++){var n=rg[e];if(t[n]!=null){var a=gt(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,bh()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,bh())}}t.value===void 0||t.defaultValue===void 0||cg||(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"),cg=!0)}function Th(e,t){t.value===void 0||t.defaultValue===void 0||sg||(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",Ai()||"A component"),sg=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Eh(e,t,n){if(t!=null&&(t=""+Pt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Pt(n):""}function Rh(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(gt(a)){if(1<a.length)throw Error("<textarea> can only have at most one child.");a=a[0]}n=a}n==null&&(n=""),t=n}n=Pt(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a)}function Ah(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Ah(e.children[0],t):e}function jt(e){return" "+" ".repeat(e)}function Vl(e){return"+ "+" ".repeat(e)}function el(e){return"- "+" ".repeat(e)}function
|
|
66
|
-
`;if(typeof t=="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>a-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),Vl(n)+
|
|
67
|
-
`+el(n)+
|
|
68
|
-
`}return jt(n)+
|
|
69
|
-
`}function
|
|
61
|
+
`+fh(l))}else break;var u=t}catch(o){u=`
|
|
62
|
+
Error generating stack: `+o.message+`
|
|
63
|
+
`+o.stack}return u}function q(e,t,n,a,l,u,o){var i=$t;wr(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,l,u,o)):t(n,a,l,u,o)}finally{wr(i)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function wr(e){b.getCurrentStack=e===null?null:Qv,Nn=!1,$t=e}function Pt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return ot(e),e;default:return""}}function ph(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Zv(e){var t=ph(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ot(e[t]);var a=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){ot(o),a=""+o,u.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(o){ot(o),a=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Oi(e){e._valueTracker||(e._valueTracker=Zv(e))}function mh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=ph(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Di(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function en(e){return e.replace(VS,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function yh(e,t){t.checked===void 0||t.defaultChecked===void 0||lg||(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",Ai()||"A component",t.type),lg=!0),t.value===void 0||t.defaultValue===void 0||ag||(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",Ai()||"A component",t.type),ag=!0)}function Mr(e,t,n,a,l,u,o,i){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?(G(o,"type"),e.type=o):e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Pt(t)):e.value!==""+Pt(t)&&(e.value=""+Pt(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?zr(e,o,Pt(t)):n!=null?zr(e,o,Pt(n)):a!=null&&e.removeAttribute("value"),l==null&&u!=null&&(e.defaultChecked=!!u),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?(G(i,"name"),e.name=""+Pt(i)):e.removeAttribute("name")}function gh(e,t,n,a,l,u,o,i){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(G(u,"type"),e.type=u),t!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||t!=null))return;n=n!=null?""+Pt(n):"",t=t!=null?""+Pt(t):n,i||t===e.value||(e.value=t),e.defaultValue=t}a=a??l,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=i?e.checked:!!a,e.defaultChecked=!!a,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(G(o,"name"),e.name=o)}function zr(e,t,n){t==="number"&&Di(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function vh(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Mf.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||og||(og=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||ig||(ig=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||ug||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ug=!0)}function bh(){var e=Ai();return e?`
|
|
64
|
+
|
|
65
|
+
Check the render method of \``+e+"`.":""}function jl(e,t,n,a){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Pt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,a&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Sh(e,t){for(e=0;e<rg.length;e++){var n=rg[e];if(t[n]!=null){var a=gt(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,bh()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,bh())}}t.value===void 0||t.defaultValue===void 0||cg||(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"),cg=!0)}function Th(e,t){t.value===void 0||t.defaultValue===void 0||sg||(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",Ai()||"A component"),sg=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Eh(e,t,n){if(t!=null&&(t=""+Pt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Pt(n):""}function Rh(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(gt(a)){if(1<a.length)throw Error("<textarea> can only have at most one child.");a=a[0]}n=a}n==null&&(n=""),t=n}n=Pt(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a)}function Ah(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Ah(e.children[0],t):e}function jt(e){return" "+" ".repeat(e)}function Vl(e){return"+ "+" ".repeat(e)}function el(e){return"- "+" ".repeat(e)}function Oh(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Fu(e,t){return fg.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function xi(e,t,n){var a=120-2*n;if(t===null)return Vl(n)+Fu(e,a)+`
|
|
66
|
+
`;if(typeof t=="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>a-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),Vl(n)+Fu(e,a)+`
|
|
67
|
+
`+el(n)+Fu(t,a)+`
|
|
68
|
+
`}return jt(n)+Fu(e,a)+`
|
|
69
|
+
`}function Ur(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Pu(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(gt(e))return"[...]";if(e.$$typeof===Ua)return(t=Oe(e.type))?"<"+t+">":"<...>";var n=Ur(e);if(n==="Object"){n="",t-=2;for(var a in e)if(e.hasOwnProperty(a)){var l=JSON.stringify(a);if(l!=='"'+a+'"'&&(a=l),t-=a.length-2,l=Pu(e[a],15>t?t:15),t-=l.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+a+":"+l}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Gl(e,t){return typeof e!="string"||fg.test(e)?"{"+Pu(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Hr(e,t,n){var a=120-n.length-e.length,l=[],u;for(u in t)if(t.hasOwnProperty(u)&&u!=="children"){var o=Gl(t[u],120-n.length-u.length-1);a-=u.length+o.length+2,l.push(u+"="+o)}return l.length===0?n+"<"+e+`>
|
|
70
70
|
`:0<a?n+"<"+e+" "+l.join(" ")+`>
|
|
71
71
|
`:n+"<"+e+`
|
|
72
72
|
`+n+" "+l.join(`
|
|
73
73
|
`+n+" ")+`
|
|
74
74
|
`+n+`>
|
|
75
|
-
`}function
|
|
76
|
-
`,a+=el(n)+
|
|
77
|
-
`):a+=Vl(n)+
|
|
78
|
-
`}for(var r in l)l.hasOwnProperty(r)&&(e=
|
|
79
|
-
`);return a}function
|
|
80
|
-
|
|
81
|
-
`:(l+=Vl(a+1)+
|
|
82
|
-
`,l+=el(a+1)+
|
|
83
|
-
`)}else l+=jt(a+1)+
|
|
84
|
-
`}
|
|
75
|
+
`}function $v(e,t,n){var a="",l=te({},t),u;for(u in e)if(e.hasOwnProperty(u)){delete l[u];var o=120-2*n-u.length-2,i=Pu(e[u],o);t.hasOwnProperty(u)?(o=Pu(t[u],o),a+=Vl(n)+u+": "+i+`
|
|
76
|
+
`,a+=el(n)+u+": "+o+`
|
|
77
|
+
`):a+=Vl(n)+u+": "+i+`
|
|
78
|
+
`}for(var r in l)l.hasOwnProperty(r)&&(e=Pu(l[r],120-2*n-r.length-2),a+=el(n)+r+": "+e+`
|
|
79
|
+
`);return a}function Jv(e,t,n,a){var l="",u=new Map;for(s in n)n.hasOwnProperty(s)&&u.set(s.toLowerCase(),s);if(u.size===1&&u.has("children"))l+=Hr(e,t,jt(a));else{for(var o in t)if(t.hasOwnProperty(o)&&o!=="children"){var i=120-2*(a+1)-o.length-1,r=u.get(o.toLowerCase());if(r!==void 0){u.delete(o.toLowerCase());var s=t[o];r=n[r];var y=Gl(s,i);i=Gl(r,i),typeof s=="object"&&s!==null&&typeof r=="object"&&r!==null&&Ur(s)==="Object"&&Ur(r)==="Object"&&(2<Object.keys(s).length||2<Object.keys(r).length||-1<y.indexOf("...")||-1<i.indexOf("..."))?l+=jt(a+1)+o+`={{
|
|
80
|
+
`+$v(s,r,a+2)+jt(a+1)+`}}
|
|
81
|
+
`:(l+=Vl(a+1)+o+"="+y+`
|
|
82
|
+
`,l+=el(a+1)+o+"="+i+`
|
|
83
|
+
`)}else l+=jt(a+1)+o+"="+Gl(t[o],i)+`
|
|
84
|
+
`}u.forEach(function(S){if(S!=="children"){var m=120-2*(a+1)-S.length-1;l+=el(a+1)+S+"="+Gl(n[S],m)+`
|
|
85
85
|
`}}),l=l===""?jt(a)+"<"+e+`>
|
|
86
86
|
`:jt(a)+"<"+e+`
|
|
87
87
|
`+l+jt(a)+`>
|
|
88
|
-
`}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(
|
|
89
|
-
`}function
|
|
90
|
-
`+
|
|
91
|
-
`,t++)}if(a="",l=e.fiber.pendingProps,e.fiber.tag===6)a=
|
|
92
|
-
`,t++}else e.serverProps===null?(a=
|
|
93
|
-
`),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)
|
|
94
|
-
`):s+
|
|
95
|
-
|
|
96
|
-
`+
|
|
97
|
-
This will cause a hydration error.%s`,
|
|
98
|
-
This will cause a hydration error.%s`,
|
|
99
|
-
See this log for the ancestor stack trace.`,a,
|
|
88
|
+
`}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(u="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(u=""+t),l+=xi(u,""+e,a+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(l=e==null?l+xi(""+t,null,a+1):l+xi(""+t,void 0,a+1)),l}function Dh(e,t){var n=Oh(e);if(n===null){for(n="",e=e.child;e;)n+=Dh(e,t),e=e.sibling;return n}return jt(t)+"<"+n+`>
|
|
89
|
+
`}function _r(e,t){var n=Ah(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return jt(t)+`...
|
|
90
|
+
`+_r(n,t+1);n="";var a=e.fiber._debugInfo;if(a)for(var l=0;l<a.length;l++){var u=a[l].name;typeof u=="string"&&(n+=jt(t)+"<"+u+`>
|
|
91
|
+
`,t++)}if(a="",l=e.fiber.pendingProps,e.fiber.tag===6)a=xi(l,e.serverProps,t),t++;else if(u=Oh(e.fiber),u!==null)if(e.serverProps===void 0){a=t;var o=120-2*a-u.length-2,i="";for(s in l)if(l.hasOwnProperty(s)&&s!=="children"){var r=Gl(l[s],15);if(o-=s.length+r.length+2,0>o){i+=" ...";break}i+=" "+s+"="+r}a=jt(a)+"<"+u+i+`>
|
|
92
|
+
`,t++}else e.serverProps===null?(a=Hr(u,l,Vl(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(a=Jv(u,l,e.serverProps,t),t++);var s="";for(l=e.fiber.child,u=0;l&&u<e.children.length;)o=e.children[u],o.fiber===l?(s+=_r(o,t),u++):s+=Dh(l,t),l=l.sibling;for(l&&0<e.children.length&&(s+=jt(t)+`...
|
|
93
|
+
`),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)u=l[e],s=typeof u=="string"?s+(el(t)+Fu(u,120-2*t)+`
|
|
94
|
+
`):s+Hr(u.type,u.props,el(t));return n+a+s}function Br(e){try{return`
|
|
95
|
+
|
|
96
|
+
`+_r(e,0)}catch{return""}}function xh(e,t,n){for(var a=t,l=null,u=0;a;)a===e&&(u=0),l={fiber:a,children:l!==null?[l]:[],serverProps:a===t?n:a===e?null:void 0,serverTail:[],distanceFromLeaf:u},u++,a=a.return;return l!==null?Br(l).replaceAll(/^[+-]/gm,">"):""}function Ch(e,t){var n=te({},e||hg),a={tag:t};return dg.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),XS.indexOf(t)!==-1&&(n.pTagInButtonScope=null),GS.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,t==="form"&&(n.formTag=a),t==="a"&&(n.aTagInScope=a),t==="button"&&(n.buttonTagInScope=a),t==="nobr"&&(n.nobrTagInScope=a),t==="p"&&(n.pTagInButtonScope=a),t==="li"&&(n.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=a),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=a),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function wh(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return QS.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function Kv(e,t){switch(e){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 t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Mh(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function kr(e,t){t=t||hg;var n=t.current;if(t=(n=wh(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Kv(e,t),t=n||t,!t)return!0;var a=t.tag;if(t=String(!!n)+"|"+e+"|"+a,Mc[t])return!1;Mc[t]=!0;var l=(t=$t)?Mh(t.return,a):null,u=t!==null&&l!==null?xh(l,t,null):"",o="<"+e+">";return n?(n="",a==="table"&&e==="tr"&&(n+=" 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
|
|
97
|
+
This will cause a hydration error.%s`,o,a,n,u)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
98
|
+
This will cause a hydration error.%s`,o,a,u),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||q(l,function(){console.error(`<%s> cannot contain a nested %s.
|
|
99
|
+
See this log for the ancestor stack trace.`,a,o)})),!1}function Ci(e,t,n){if(n||wh("#text",t,!1))return!0;if(n="#text|"+t,Mc[n])return!1;Mc[n]=!0;var a=(n=$t)?Mh(n,t):null;return n=n!==null&&a!==null?xh(a,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
100
100
|
This will cause a hydration error.%s`,t,n):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.
|
|
101
|
-
This will cause a hydration error.%s`,t,n),!1}function tu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Fv(e){return e.replace(WS,function(t,n){return n.toUpperCase()})}function zh(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?io.hasOwnProperty(t)&&io[t]||(io[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Fv(t.replace(KS,"ms-")))):JS.test(t)?io.hasOwnProperty(t)&&io[t]||(io[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!yg.test(n)||Wf.hasOwnProperty(n)&&Wf[n]||(Wf[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(yg,""))),typeof n=="number"&&(isNaN(n)?gg||(gg=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||vg||(vg=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||bg.has(t)?t==="float"?e.cssFloat=n:(De(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Uh(e,t,n){if(t!=null&&typeof t!="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(t&&Object.freeze(t),e=e.style,n!=null){if(t){var a={};if(n){for(var l in n)if(n.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var o=Kf[l]||[l],u=0;u<o.length;u++)a[o[u]]=l}for(var i in t)if(t.hasOwnProperty(i)&&(!n||n[i]!==t[i]))for(l=Kf[i]||[i],o=0;o<l.length;o++)a[l[o]]=i;i={};for(var r in t)for(l=Kf[r]||[r],o=0;o<l.length;o++)i[l[o]]=r;r={};for(var s in a)if(l=a[s],(o=i[s])&&l!==o&&(u=l+","+o,!r[u])){r[u]=!0,u=console;var y=t[l];u.error.call(u,"%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.",y==null||typeof y=="boolean"||y===""?"Removing":"Updating",l,o)}}for(var S in n)!n.hasOwnProperty(S)||t!=null&&t.hasOwnProperty(S)||(S.indexOf("--")===0?e.setProperty(S,""):S==="float"?e.cssFloat="":e[S]="");for(var m in t)s=t[m],t.hasOwnProperty(m)&&n[m]!==s&&zh(e,m,s)}else for(a in t)t.hasOwnProperty(a)&&zh(e,a,t[a])}function nu(e){if(e.indexOf("-")===-1)return!1;switch(e){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 Hh(e){return IS.get(e)||e}function Pv(e,t){if(aa.call(ro,t)&&ro[t])return!0;if(PS.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Sg.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ro[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),ro[t]=!0}if(FS.test(t)){if(e=t.toLowerCase(),e=Sg.hasOwnProperty(e)?e:null,e==null)return ro[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),ro[t]=!0)}return!0}function eb(e,t){var n=[],a;for(a in t)Pv(e,a)||n.push(a);t=n.map(function(l){return"`"+l+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function tb(e,t,n,a){if(aa.call(Dt,t)&&Dt[t])return!0;var l=t.toLowerCase();if(l==="onfocusin"||l==="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."),Dt[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(a!=null){if(e=a.possibleRegistrationNames,a.registrationNameDependencies.hasOwnProperty(t))return!0;if(a=e.hasOwnProperty(l)?e[l]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),Dt[t]=!0;if(Eg.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Dt[t]=!0}else if(Eg.test(t))return e1.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Dt[t]=!0;if(t1.test(t)||n1.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Dt[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Dt[t]=!0;if(l==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Dt[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Dt[t]=!0;if(Uc.hasOwnProperty(l)){if(l=Uc[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),Dt[t]=!0}else if(t!==l)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.",t,l),Dt[t]=!0;switch(t){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 n){case"boolean":switch(t){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:return l=t.toLowerCase().slice(0,5),l==="data-"||l==="aria-"?!0:(n?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,t,t,n,t):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.',n,t,t,n,t,t,t),Dt[t]=!0)}case"function":case"symbol":return Dt[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){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}?",n,t,n==="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".',t,n),Dt[t]=!0}}return!0}function nb(e,t,n){var a=[],l;for(l in t)tb(e,l,t[l],n)||a.push(l);t=a.map(function(o){return"`"+o+"`"}).join(", "),a.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 ",t,e):1<a.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 ",t,e)}function au(e){return a1.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Yr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function _h(e){var t=gn(e);if(t&&(e=t.stateNode)){var n=e[Lt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ur(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(Q(t,"name"),n=n.querySelectorAll('input[name="'+en(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var l=a[Lt]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ur(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&mh(a)}break e;case"textarea":Eh(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&jl(e,!!n.multiple,t,!1)}}}function kh(e,t,n){if(If)return e(t,n);If=!0;try{var a=e(t);return a}finally{if(If=!1,(so!==null||fo!==null)&&(Il(),so&&(t=so,e=fo,fo=so=null,_h(t),e)))for(t=0;t<e.length;t++)_h(e[t])}}function lu(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Lt]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Bh(){if(Hc)return Hc;var e,t=Pf,n=t.length,a,l="value"in La?La.value:La.textContent,o=l.length;for(e=0;e<n&&t[e]===l[e];e++);var u=n-e;for(a=1;a<=u&&t[n-a]===l[o-a];a++);return Hc=l.slice(e,1<a?1-a:void 0)}function wi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Mi(){return!0}function Lh(){return!1}function Ht(e){function t(n,a,l,o,u){this._reactName=n,this._targetInst=l,this.type=a,this.nativeEvent=o,this.target=u,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(o):o[i]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Mi:Lh,this.isPropagationStopped=Lh,this}return oe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Mi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Mi)},persist:function(){},isPersistent:Mi}),t}function ab(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=y1[e])?!!t[e]:!1}function qr(){return ab}function Nh(e,t){switch(e){case"keyup":return C1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Og;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function lb(e,t){switch(e){case"compositionend":return Yh(t);case"keypress":return t.which!==Cg?null:(Mg=!0,wg);case"textInput":return e=t.data,e===wg&&Mg?null:e;default:return null}}function ob(e,t){if(ho)return e==="compositionend"||!ad&&Nh(e,t)?(e=Bh(),Hc=Pf=La=null,ho=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dg&&t.locale!=="ko"?null:t.data;default:return null}}function qh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!M1[e.type]:t==="textarea"}function ub(e){if(!Yn)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function jh(e,t,n,a){so?fo?fo.push(a):fo=[a]:so=a,t=pc(t,"onChange"),0<t.length&&(n=new _c("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function ib(e){cy(e,0)}function zi(e){var t=Ea(e);if(mh(t))return e}function Vh(e,t){if(e==="change")return t}function Gh(){Vu&&(Vu.detachEvent("onpropertychange",Xh),Gu=Vu=null)}function Xh(e){if(e.propertyName==="value"&&zi(Gu)){var t=[];jh(t,Gu,e,Yr(e)),kh(ib,t)}}function cb(e,t,n){e==="focusin"?(Gh(),Vu=t,Gu=n,Vu.attachEvent("onpropertychange",Xh)):e==="focusout"&&Gh()}function rb(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zi(Gu)}function sb(e,t){if(e==="click")return zi(t)}function fb(e,t){if(e==="input"||e==="change")return zi(t)}function db(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function ou(e,t){if(Ct(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var l=n[a];if(!aa.call(t,l)||!Ct(e[l],t[l]))return!1}return!0}function Qh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Zh(e,t){var n=Qh(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qh(n)}}function $h(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$h(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jh(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Oi(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Oi(e.document)}return t}function jr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Kh(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;od||po==null||po!==Oi(a)||(a=po,"selectionStart"in a&&jr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Xu&&ou(Xu,a)||(Xu=a,a=pc(ld,"onSelect"),0<a.length&&(t=new _c("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=po)))}function tl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function nl(e){if(ud[e])return ud[e];if(!mo[e])return e;var t=mo[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ug)return ud[e]=t[n];return e}function vn(e,t){Lg.set(e,t),O(t,[e])}function Vt(e,t){if(typeof e=="object"&&e!==null){var n=cd.get(e);return n!==void 0?n:(t={value:e,source:t,stack:dh(t)},cd.set(e,t),t)}return{value:e,source:t,stack:dh(t)}}function Ui(){for(var e=yo,t=rd=yo=0;t<e;){var n=ln[t];ln[t++]=null;var a=ln[t];ln[t++]=null;var l=ln[t];ln[t++]=null;var o=ln[t];if(ln[t++]=null,a!==null&&l!==null){var u=a.pending;u===null?l.next=l:(l.next=u.next,u.next=l),a.pending=l}o!==0&&Wh(n,l,o)}}function Hi(e,t,n,a){ln[yo++]=e,ln[yo++]=t,ln[yo++]=n,ln[yo++]=a,rd|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Vr(e,t,n,a){return Hi(e,t,n,a),_i(e)}function _t(e,t){return Hi(e,null,null,t),_i(e)}function Wh(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var l=!1,o=e.return;o!==null;)o.childLanes|=n,a=o.alternate,a!==null&&(a.childLanes|=n),o.tag===22&&(e=o.stateNode,e===null||e._visibility&Bc||(l=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,l&&t!==null&&(l=31-Ot(n),e=o.hiddenUpdates,a=e[l],a===null?e[l]=[t]:a.push(t),t.lane=n|536870912),o):null}function _i(e){if(di>P1)throw Ml=di=0,hi=Yd=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.");Ml>eT&&(Ml=0,hi=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.")),e.alternate===null&&(e.flags&4098)!==0&&ty(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&ty(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function al(e){if(on===null)return e;var t=on(e);return t===void 0?e:t.current}function Gr(e){if(on===null)return e;var t=on(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=al(e.render),e.render!==t)?(t={$$typeof:Hu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Ih(e,t){if(on===null)return!1;var n=e.elementType;t=t.type;var a=!1,l=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(a=!0);break;case 0:(typeof t=="function"||l===Zt)&&(a=!0);break;case 11:(l===Hu||l===Zt)&&(a=!0);break;case 14:case 15:(l===xc||l===Zt)&&(a=!0);break;default:return!1}return!!(a&&(e=on(n),e!==void 0&&e===on(t)))}function Fh(e){on!==null&&typeof WeakSet=="function"&&(go===null&&(go=new WeakSet),go.add(e))}function Xr(e,t,n){var a=e.alternate,l=e.child,o=e.sibling,u=e.tag,i=e.type,r=null;switch(u){case 0:case 15:case 1:r=i;break;case 11:r=i.render}if(on===null)throw Error("Expected resolveFamily to be set during hot reload.");var s=!1;i=!1,r!==null&&(r=on(r),r!==void 0&&(n.has(r)?i=!0:t.has(r)&&(u===1?i=!0:s=!0))),go!==null&&(go.has(e)||a!==null&&go.has(a))&&(i=!0),i&&(e._debugNeedsRemount=!0),(i||s)&&(a=_t(e,2),a!==null&&Ie(a,e,2)),l===null||i||Xr(l,t,n),o!==null&&Xr(o,t,n)}function hb(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,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,Yg||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Qr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $n(e,t){var n=e.alternate;switch(n===null?(n=g(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=al(e.type);break;case 1:n.type=al(e.type);break;case 11:n.type=Gr(e.type)}return n}function Ph(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Zr(e,t,n,a,l,o){var u=0,i=e;if(typeof e=="function")Qr(e)&&(u=1),i=al(i);else if(typeof e=="string")u=w(),u=hS(e,n,u)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Lf:return t=g(31,n,t,l),t.elementType=Lf,t.lanes=o,t;case lo:return ll(n.children,l,o,t);case Ac:u=8,l|=At,l|=Tn;break;case Hf:return e=n,a=l,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=g(12,e,t,a|vt),t.elementType=Hf,t.lanes=o,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case kf:return t=g(13,n,t,l),t.elementType=kf,t.lanes=o,t;case Bf:return t=g(19,n,t,l),t.elementType=Bf,t.lanes=o,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case DS:case _n:u=10;break e;case _f:u=9;break e;case Hu:u=11,i=Gr(i);break e;case xc:u=14;break e;case Zt:u=16,i=null;break e}i="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":gt(e)?n="array":e!==void 0&&e.$$typeof===Ua?(n="<"+(xe(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(u=a?He(a):null)&&(i+=`
|
|
101
|
+
This will cause a hydration error.%s`,t,n),!1}function eo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Wv(e){return e.replace(JS,function(t,n){return n.toUpperCase()})}function zh(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?iu.hasOwnProperty(t)&&iu[t]||(iu[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Wv(t.replace($S,"ms-")))):ZS.test(t)?iu.hasOwnProperty(t)&&iu[t]||(iu[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!yg.test(n)||Jf.hasOwnProperty(n)&&Jf[n]||(Jf[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(yg,""))),typeof n=="number"&&(isNaN(n)?gg||(gg=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||vg||(vg=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||bg.has(t)?t==="float"?e.cssFloat=n:(xe(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Uh(e,t,n){if(t!=null&&typeof t!="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(t&&Object.freeze(t),e=e.style,n!=null){if(t){var a={};if(n){for(var l in n)if(n.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var u=$f[l]||[l],o=0;o<u.length;o++)a[u[o]]=l}for(var i in t)if(t.hasOwnProperty(i)&&(!n||n[i]!==t[i]))for(l=$f[i]||[i],u=0;u<l.length;u++)a[l[u]]=i;i={};for(var r in t)for(l=$f[r]||[r],u=0;u<l.length;u++)i[l[u]]=r;r={};for(var s in a)if(l=a[s],(u=i[s])&&l!==u&&(o=l+","+u,!r[o])){r[o]=!0,o=console;var y=t[l];o.error.call(o,"%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.",y==null||typeof y=="boolean"||y===""?"Removing":"Updating",l,u)}}for(var S in n)!n.hasOwnProperty(S)||t!=null&&t.hasOwnProperty(S)||(S.indexOf("--")===0?e.setProperty(S,""):S==="float"?e.cssFloat="":e[S]="");for(var m in t)s=t[m],t.hasOwnProperty(m)&&n[m]!==s&&zh(e,m,s)}else for(a in t)t.hasOwnProperty(a)&&zh(e,a,t[a])}function to(e){if(e.indexOf("-")===-1)return!1;switch(e){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 Hh(e){return KS.get(e)||e}function Iv(e,t){if(aa.call(ru,t)&&ru[t])return!0;if(IS.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Sg.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ru[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),ru[t]=!0}if(WS.test(t)){if(e=t.toLowerCase(),e=Sg.hasOwnProperty(e)?e:null,e==null)return ru[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),ru[t]=!0)}return!0}function Fv(e,t){var n=[],a;for(a in t)Iv(e,a)||n.push(a);t=n.map(function(l){return"`"+l+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Pv(e,t,n,a){if(aa.call(xt,t)&&xt[t])return!0;var l=t.toLowerCase();if(l==="onfocusin"||l==="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."),xt[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(a!=null){if(e=a.possibleRegistrationNames,a.registrationNameDependencies.hasOwnProperty(t))return!0;if(a=e.hasOwnProperty(l)?e[l]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),xt[t]=!0;if(Eg.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),xt[t]=!0}else if(Eg.test(t))return FS.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),xt[t]=!0;if(PS.test(t)||e1.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),xt[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),xt[t]=!0;if(l==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),xt[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),xt[t]=!0;if(Uc.hasOwnProperty(l)){if(l=Uc[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),xt[t]=!0}else if(t!==l)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.",t,l),xt[t]=!0;switch(t){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 n){case"boolean":switch(t){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:return l=t.toLowerCase().slice(0,5),l==="data-"||l==="aria-"?!0:(n?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,t,t,n,t):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.',n,t,t,n,t,t,t),xt[t]=!0)}case"function":case"symbol":return xt[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){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}?",n,t,n==="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".',t,n),xt[t]=!0}}return!0}function eb(e,t,n){var a=[],l;for(l in t)Pv(e,l,t[l],n)||a.push(l);t=a.map(function(u){return"`"+u+"`"}).join(", "),a.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 ",t,e):1<a.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 ",t,e)}function no(e){return t1.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Lr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function _h(e){var t=gn(e);if(t&&(e=t.stateNode)){var n=e[Lt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Mr(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(G(t,"name"),n=n.querySelectorAll('input[name="'+en(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var l=a[Lt]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Mr(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&mh(a)}break e;case"textarea":Eh(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&jl(e,!!n.multiple,t,!1)}}}function Bh(e,t,n){if(Kf)return e(t,n);Kf=!0;try{var a=e(t);return a}finally{if(Kf=!1,(su!==null||fu!==null)&&(Il(),su&&(t=su,e=fu,fu=su=null,_h(t),e)))for(t=0;t<e.length;t++)_h(e[t])}}function ao(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Lt]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function kh(){if(Hc)return Hc;var e,t=If,n=t.length,a,l="value"in La?La.value:La.textContent,u=l.length;for(e=0;e<n&&t[e]===l[e];e++);var o=n-e;for(a=1;a<=o&&t[n-a]===l[u-a];a++);return Hc=l.slice(e,1<a?1-a:void 0)}function wi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Mi(){return!0}function Lh(){return!1}function Ht(e){function t(n,a,l,u,o){this._reactName=n,this._targetInst=l,this.type=a,this.nativeEvent=u,this.target=o,this.currentTarget=null;for(var i in e)e.hasOwnProperty(i)&&(n=e[i],this[i]=n?n(u):u[i]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Mi:Lh,this.isPropagationStopped=Lh,this}return te(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Mi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Mi)},persist:function(){},isPersistent:Mi}),t}function tb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=p1[e])?!!t[e]:!1}function Nr(){return tb}function Nh(e,t){switch(e){case"keyup":return D1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Dg;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function nb(e,t){switch(e){case"compositionend":return qh(t);case"keypress":return t.which!==Cg?null:(Mg=!0,wg);case"textInput":return e=t.data,e===wg&&Mg?null:e;default:return null}}function ab(e,t){if(du)return e==="compositionend"||!td&&Nh(e,t)?(e=kh(),Hc=If=La=null,du=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return xg&&t.locale!=="ko"?null:t.data;default:return null}}function Yh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!C1[e.type]:t==="textarea"}function lb(e){if(!qn)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function jh(e,t,n,a){su?fu?fu.push(a):fu=[a]:su=a,t=pc(t,"onChange"),0<t.length&&(n=new _c("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function ub(e){cy(e,0)}function zi(e){var t=Ea(e);if(mh(t))return e}function Vh(e,t){if(e==="change")return t}function Gh(){Vo&&(Vo.detachEvent("onpropertychange",Xh),Go=Vo=null)}function Xh(e){if(e.propertyName==="value"&&zi(Go)){var t=[];jh(t,Go,e,Lr(e)),Bh(ub,t)}}function ob(e,t,n){e==="focusin"?(Gh(),Vo=t,Go=n,Vo.attachEvent("onpropertychange",Xh)):e==="focusout"&&Gh()}function ib(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zi(Go)}function cb(e,t){if(e==="click")return zi(t)}function rb(e,t){if(e==="input"||e==="change")return zi(t)}function sb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function lo(e,t){if(Ct(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var l=n[a];if(!aa.call(t,l)||!Ct(e[l],t[l]))return!1}return!0}function Qh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Zh(e,t){var n=Qh(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qh(n)}}function $h(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$h(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jh(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Di(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Di(e.document)}return t}function qr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Kh(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ad||hu==null||hu!==Di(a)||(a=hu,"selectionStart"in a&&qr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Xo&&lo(Xo,a)||(Xo=a,a=pc(nd,"onSelect"),0<a.length&&(t=new _c("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=hu)))}function tl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function nl(e){if(ld[e])return ld[e];if(!pu[e])return e;var t=pu[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ug)return ld[e]=t[n];return e}function vn(e,t){Lg.set(e,t),D(t,[e])}function Vt(e,t){if(typeof e=="object"&&e!==null){var n=od.get(e);return n!==void 0?n:(t={value:e,source:t,stack:dh(t)},od.set(e,t),t)}return{value:e,source:t,stack:dh(t)}}function Ui(){for(var e=mu,t=id=mu=0;t<e;){var n=ln[t];ln[t++]=null;var a=ln[t];ln[t++]=null;var l=ln[t];ln[t++]=null;var u=ln[t];if(ln[t++]=null,a!==null&&l!==null){var o=a.pending;o===null?l.next=l:(l.next=o.next,o.next=l),a.pending=l}u!==0&&Wh(n,l,u)}}function Hi(e,t,n,a){ln[mu++]=e,ln[mu++]=t,ln[mu++]=n,ln[mu++]=a,id|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Yr(e,t,n,a){return Hi(e,t,n,a),_i(e)}function _t(e,t){return Hi(e,null,null,t),_i(e)}function Wh(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var l=!1,u=e.return;u!==null;)u.childLanes|=n,a=u.alternate,a!==null&&(a.childLanes|=n),u.tag===22&&(e=u.stateNode,e===null||e._visibility&kc||(l=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,l&&t!==null&&(l=31-Dt(n),e=u.hiddenUpdates,a=e[l],a===null?e[l]=[t]:a.push(t),t.lane=n|536870912),u):null}function _i(e){if(di>I1)throw Ml=di=0,hi=Ld=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.");Ml>F1&&(Ml=0,hi=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.")),e.alternate===null&&(e.flags&4098)!==0&&ty(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&ty(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function al(e){if(un===null)return e;var t=un(e);return t===void 0?e:t.current}function jr(e){if(un===null)return e;var t=un(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=al(e.render),e.render!==t)?(t={$$typeof:Ho,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Ih(e,t){if(un===null)return!1;var n=e.elementType;t=t.type;var a=!1,l=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(a=!0);break;case 0:(typeof t=="function"||l===Zt)&&(a=!0);break;case 11:(l===Ho||l===Zt)&&(a=!0);break;case 14:case 15:(l===Oc||l===Zt)&&(a=!0);break;default:return!1}return!!(a&&(e=un(n),e!==void 0&&e===un(t)))}function Fh(e){un!==null&&typeof WeakSet=="function"&&(yu===null&&(yu=new WeakSet),yu.add(e))}function Vr(e,t,n){var a=e.alternate,l=e.child,u=e.sibling,o=e.tag,i=e.type,r=null;switch(o){case 0:case 15:case 1:r=i;break;case 11:r=i.render}if(un===null)throw Error("Expected resolveFamily to be set during hot reload.");var s=!1;i=!1,r!==null&&(r=un(r),r!==void 0&&(n.has(r)?i=!0:t.has(r)&&(o===1?i=!0:s=!0))),yu!==null&&(yu.has(e)||a!==null&&yu.has(a))&&(i=!0),i&&(e._debugNeedsRemount=!0),(i||s)&&(a=_t(e,2),a!==null&&Ie(a,e,2)),l===null||i||Vr(l,t,n),u!==null&&Vr(u,t,n)}function fb(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,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,qg||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Gr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $n(e,t){var n=e.alternate;switch(n===null?(n=g(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=al(e.type);break;case 1:n.type=al(e.type);break;case 11:n.type=jr(e.type)}return n}function Ph(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Xr(e,t,n,a,l,u){var o=0,i=e;if(typeof e=="function")Gr(e)&&(o=1),i=al(i);else if(typeof e=="string")o=C(),o=fS(e,n,o)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Bf:return t=g(31,n,t,l),t.elementType=Bf,t.lanes=u,t;case lu:return ll(n.children,l,u,t);case Ac:o=8,l|=At,l|=Tn;break;case zf:return e=n,a=l,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=g(12,e,t,a|vt),t.elementType=zf,t.lanes=u,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Hf:return t=g(13,n,t,l),t.elementType=Hf,t.lanes=u,t;case _f:return t=g(19,n,t,l),t.elementType=_f,t.lanes=u,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case OS:case _n:o=10;break e;case Uf:o=9;break e;case Ho:o=11,i=jr(i);break e;case Oc:o=14;break e;case Zt:o=16,i=null;break e}i="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":gt(e)?n="array":e!==void 0&&e.$$typeof===Ua?(n="<"+(Oe(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(o=a?Ue(a):null)&&(i+=`
|
|
102
102
|
|
|
103
|
-
Check the render method of \``+
|
|
103
|
+
Check the render method of \``+o+"`."),o=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+i)),i=null}return t=g(o,n,t,l),t.elementType=e,t.type=i,t.lanes=u,t._debugOwner=a,t}function Bi(e,t,n){return t=Xr(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function ll(e,t,n,a){return e=g(7,e,a,t),e.lanes=n,e}function Qr(e,t,n){return e=g(6,e,null,t),e.lanes=n,e}function Zr(e,t,n){return t=g(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ul(e,t){ol(),gu[vu++]=Nc,gu[vu++]=Lc,Lc=e,Nc=t}function ep(e,t,n){ol(),on[cn++]=oa,on[cn++]=ia,on[cn++]=vl,vl=e;var a=oa;e=ia;var l=32-Dt(a)-1;a&=~(1<<l),n+=1;var u=32-Dt(t)+l;if(30<u){var o=l-l%5;u=(a&(1<<o)-1).toString(32),a>>=o,l-=o,oa=1<<32-Dt(t)+l|n<<l|a,ia=u+e}else oa=1<<u|n<<l|a,ia=e}function $r(e){ol(),e.return!==null&&(ul(e,1),ep(e,1,0))}function Jr(e){for(;e===Lc;)Lc=gu[--vu],gu[vu]=null,Nc=gu[--vu],gu[vu]=null;for(;e===vl;)vl=on[--cn],on[cn]=null,ia=on[--cn],on[cn]=null,oa=on[--cn],on[cn]=null}function ol(){ye||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function il(e,t){if(e.return===null){if(rn===null)rn={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(rn.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");rn.distanceFromLeaf>t&&(rn.distanceFromLeaf=t)}return rn}var n=il(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Kr(e,t){ca||(e=il(e,0),e.serverProps=null,t!==null&&(t=Ey(t),e.serverTail.push(t)))}function cl(e){var t="",n=rn;throw n!==null&&(rn=null,t=Br(n)),io(Vt(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:
|
|
104
104
|
|
|
105
105
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
106
106
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -110,7 +110,7 @@ Check the render method of \``+u+"`."),u=29,n=Error("Element type is invalid: ex
|
|
|
110
110
|
|
|
111
111
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
112
112
|
|
|
113
|
-
https://react.dev/link/hydration-mismatch`+t),e)),
|
|
113
|
+
https://react.dev/link/hydration-mismatch`+t),e)),cd}function tp(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[Rt]=e,t[Lt]=a,hf(n,a),n){case"dialog":se("cancel",t),se("close",t);break;case"iframe":case"object":case"embed":se("load",t);break;case"video":case"audio":for(n=0;n<pi.length;n++)se(pi[n],t);break;case"source":se("error",t);break;case"img":case"image":case"link":se("error",t),se("load",t);break;case"details":se("toggle",t);break;case"input":N("input",a),se("invalid",t),yh(t,a),gh(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Oi(t);break;case"option":vh(t,a);break;case"select":N("select",a),se("invalid",t),Sh(t,a);break;case"textarea":N("textarea",a),se("invalid",t),Th(t,a),Rh(t,a.value,a.defaultValue,a.children),Oi(t)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||dy(t.textContent,n)?(a.popover!=null&&(se("beforetoggle",t),se("toggle",t)),a.onScroll!=null&&se("scroll",t),a.onScrollEnd!=null&&se("scrollend",t),a.onClick!=null&&(t.onclick=mc),t=!0):t=!1,t||cl(e)}function np(e){for(wt=e.return;wt;)switch(wt.tag){case 5:case 13:Yn=!1;return;case 27:case 3:Yn=!0;return;default:wt=wt.return}}function uo(e){if(e!==wt)return!1;if(!ye)return np(e),ye=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||vf(e.type,e.memoizedProps)),n=!n),n&&$e){for(n=$e;n;){var a=il(e,0),l=Ey(n);a.serverTail.push(l),n=l.type==="Suspense"?Ay(n):nn(n.nextSibling)}cl(e)}if(np(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");$e=Ay(e)}else t===27?(t=$e,za(e.type)?(e=Kd,Kd=null,$e=e):$e=t):$e=wt?nn(e.stateNode.nextSibling):null;return!0}function oo(){$e=wt=null,ca=ye=!1}function ap(){var e=bl;return e!==null&&(Ut===null?Ut=e:Ut.push.apply(Ut,e),bl=null),e}function io(e){bl===null?bl=[e]:bl.push(e)}function lp(){var e=rn;if(e!==null){rn=null;for(var t=Br(e);0<e.children.length;)e=e.children[0];q(e.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:
|
|
114
114
|
|
|
115
115
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
116
116
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -120,56 +120,56 @@ https://react.dev/link/hydration-mismatch`+t),e)),sd}function tp(e){var t=e.stat
|
|
|
120
120
|
|
|
121
121
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
122
122
|
|
|
123
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function
|
|
123
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function ki(){bu=qc=null,Su=!1}function Ra(e,t,n){he(rd,t._currentValue,e),t._currentValue=n,he(sd,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Gg&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Gg}function Jn(e,t){e._currentValue=rd.current;var n=sd.current;X(sd,t),e._currentRenderer=n,X(rd,t)}function Wr(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}e!==n&&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 Ir(e,t,n,a){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var u=l.dependencies;if(u!==null){var o=l.child;u=u.firstContext;e:for(;u!==null;){var i=u;u=l;for(var r=0;r<t.length;r++)if(i.context===t[r]){u.lanes|=n,i=u.alternate,i!==null&&(i.lanes|=n),Wr(u.return,n,e),a||(o=null);break e}u=i.next}}else if(l.tag===18){if(o=l.return,o===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Wr(o,n,e),o=null}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===e){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}}function co(e,t,n,a){e=null;for(var l=t,u=!1;l!==null;){if(!u){if((l.flags&524288)!==0)u=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var o=l.alternate;if(o===null)throw Error("Should have a current fiber. This is a bug in React.");if(o=o.memoizedProps,o!==null){var i=l.type;Ct(l.pendingProps.value,o.value)||(e!==null?e.push(i):e=[i])}}else if(l===Dc.current){if(o=l.alternate,o===null)throw Error("Should have a current fiber. This is a bug in React.");o.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(vi):e=[vi])}l=l.return}e!==null&&Ir(t,e,n,a),t.flags|=262144}function Li(e){for(e=e.firstContext;e!==null;){if(!Ct(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rl(e){qc=e,bu=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ge(e){return Su&&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()."),up(qc,e)}function Ni(e,t){return qc===null&&rl(e),up(e,t)}function up(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},bu===null){if(e===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().");bu=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else bu=bu.next=t;return n}function Fr(){return{controller:new k1,data:new Map,refCount:0}}function sl(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function ro(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&L1(N1,function(){e.controller.abort()})}function Kn(){var e=Sl;return Sl=0,e}function qi(e){var t=Sl;return Sl=e,t}function so(e){var t=Sl;return Sl+=e,t}function Pr(e){Nt=Tu(),0>e.actualStartTime&&(e.actualStartTime=Nt)}function es(e){if(0<=Nt){var t=Tu()-Nt;e.actualDuration+=t,e.selfBaseDuration=t,Nt=-1}}function op(e){if(0<=Nt){var t=Tu()-Nt;e.actualDuration+=t,Nt=-1}}function xn(){if(0<=Nt){var e=Tu()-Nt;Nt=-1,Sl+=e}}function Cn(){Nt=Tu()}function Yi(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function db(e,t){if(Qo===null){var n=Qo=[];fd=0,Tl=rf(),Eu={status:"pending",value:void 0,then:function(a){n.push(a)}}}return fd++,t.then(ip,ip),t}function ip(){if(--fd===0&&Qo!==null){Eu!==null&&(Eu.status="fulfilled");var e=Qo;Qo=null,Tl=0,Eu=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function hb(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(l){n.push(l)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var l=0;l<n.length;l++)(0,n[l])(t)},function(l){for(a.status="rejected",a.reason=l,l=0;l<n.length;l++)(0,n[l])(void 0)}),a}function ts(){var e=El.current;return e!==null?e:He.pooledCache}function ji(e,t){t===null?he(El,El.current,e):he(El,t.pool,e)}function cp(){var e=ts();return e===null?null:{parent:it._currentValue,pool:e}}function rp(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function sp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Vi(){}function fp(e,t,n){b.actQueue!==null&&(b.didUsePromise=!0);var a=e.thenables;switch(n=a[n],n===void 0?a.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.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.")),t.then(Vi,Vi),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,hp(e),e;default:if(typeof t.status=="string")t.then(Vi,Vi);else{if(e=He,e!==null&&100<e.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.");e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=l}},function(l){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,hp(e),e}throw Po=t,Qc=!0,Fo}}function dp(){if(Po===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Po;return Po=null,Qc=!1,e}function hp(e){if(e===Fo||e===Xc)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 ns(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function as(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Aa(e){return{lane:e,tag:Jg,payload:null,callback:null,next:null}}function Oa(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,pd===a&&!Ig){var l=L(e);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.
|
|
124
124
|
|
|
125
|
-
Please update the following component: %s`,l),Ig=!0}return(Ae&zt)!==Jt?(l=a.pending,l===null?t.next=t:(t.next=l.next,l.next=t),a.pending=t,t=_i(e),Wh(e,null,n),t):(Hi(e,a,t,n),_i(e))}function
|
|
125
|
+
Please update the following component: %s`,l),Ig=!0}return(Ae&zt)!==Jt?(l=a.pending,l===null?t.next=t:(t.next=l.next,l.next=t),a.pending=t,t=_i(e),Wh(e,null,n),t):(Hi(e,a,t,n),_i(e))}function fo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ri(e,n)}}function Gi(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var l=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?l=u=o:u=u.next=o,n=n.next}while(n!==null);u===null?l=u=t:u=u.next=t}else l=u=t;n={baseState:a.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ho(){if(md){var e=Eu;if(e!==null)throw e}}function po(e,t,n,a){md=!1;var l=e.updateQueue;qa=!1,pd=l.shared;var u=l.firstBaseUpdate,o=l.lastBaseUpdate,i=l.shared.pending;if(i!==null){l.shared.pending=null;var r=i,s=r.next;r.next=null,o===null?u=s:o.next=s,o=r;var y=e.alternate;y!==null&&(y=y.updateQueue,i=y.lastBaseUpdate,i!==o&&(i===null?y.firstBaseUpdate=s:i.next=s,y.lastBaseUpdate=r))}if(u!==null){var S=l.baseState;o=0,y=s=r=null,i=u;do{var m=i.lane&-536870913,T=m!==i.lane;if(T?(ie&m)===m:(a&m)===m){m!==0&&m===Tl&&(md=!0),y!==null&&(y=y.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});e:{m=e;var B=i,Q=t,_e=n;switch(B.tag){case Kg:if(B=B.payload,typeof B=="function"){Su=!0;var fe=B.call(_e,S,Q);if(m.mode&At){Te(!0);try{B.call(_e,S,Q)}finally{Te(!1)}}Su=!1,S=fe;break e}S=B;break e;case hd:m.flags=m.flags&-65537|128;case Jg:if(fe=B.payload,typeof fe=="function"){if(Su=!0,B=fe.call(_e,S,Q),m.mode&At){Te(!0);try{fe.call(_e,S,Q)}finally{Te(!1)}}Su=!1}else B=fe;if(B==null)break e;S=te({},S,B);break e;case Wg:qa=!0}}m=i.callback,m!==null&&(e.flags|=64,T&&(e.flags|=8192),T=l.callbacks,T===null?l.callbacks=[m]:T.push(m))}else T={lane:m,tag:i.tag,payload:i.payload,callback:i.callback,next:null},y===null?(s=y=T,r=S):y=y.next=T,o|=m;if(i=i.next,i===null){if(i=l.shared.pending,i===null)break;T=i,i=T.next,T.next=null,l.lastBaseUpdate=T,l.shared.pending=null}}while(!0);y===null&&(r=S),l.baseState=r,l.firstBaseUpdate=s,l.lastBaseUpdate=y,u===null&&(l.shared.lanes=0),Ga|=o,e.lanes=o,e.memoizedState=S}pd=null}function pp(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function pb(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)pp(n[e],t)}function mp(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)pp(n[e],t)}function yp(e,t){var n=Gn;he(Zc,n,e),he(Ru,t,e),Gn=n|t.baseLanes}function ls(e){he(Zc,Gn,e),he(Ru,Ru.current,e)}function us(e){Gn=Zc.current,X(Ru,e),X(Zc,e)}function oe(){var e=v;dn===null?dn=[e]:dn.push(e)}function R(){var e=v;if(dn!==null&&(sa++,dn[sa]!==e)){var t=L(Z);if(!Fg.has(t)&&(Fg.add(t),dn!==null)){for(var n="",a=0;a<=sa;a++){var l=dn[a],u=a===sa?e:l;for(l=a+1+". "+l;30>l.length;)l+=" ";l+=u+`
|
|
126
126
|
`,n+=l}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
|
|
127
127
|
|
|
128
128
|
Previous render Next render
|
|
129
129
|
------------------------------------------------------
|
|
130
130
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
131
|
-
`,t,n)}}}function Xl(e){e==null||gt(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",v,typeof e)}function Xi(){var e=L(
|
|
131
|
+
`,t,n)}}}function Xl(e){e==null||gt(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",v,typeof e)}function Xi(){var e=L(Z);e0.has(e)||(e0.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function We(){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:
|
|
132
132
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
133
133
|
2. You might be breaking the Rules of Hooks
|
|
134
134
|
3. You might have more than one copy of React in the same app
|
|
135
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function
|
|
135
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function os(e,t){if(ti)return!1;if(t===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.",v),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
136
136
|
|
|
137
137
|
Previous: %s
|
|
138
|
-
Incoming: %s`,v,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Ct(e[n],t[n]))return!1;return!0}function rs(e,t,n,a,l,o){qa=o,J=t,dn=e!==null?e._debugHookTypes:null,sa=-1,ti=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(o=L(J),vd.has(o)||(vd.add(o),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.",o===null?"An unknown Component":"<"+o+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,b.H=e!==null&&e.memoizedState!==null?Sd:dn!==null?t0:bd,Al=o=(t.mode&At)!==Be;var u=Td(n,a,l);if(Al=!1,Oo&&(u=ss(t,n,a,l)),o){Te(!0);try{u=ss(t,n,a,l)}finally{Te(!1)}}return gp(e,t),u}function gp(e,t){t._debugHookTypes=dn,t.dependencies===null?ra!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:ra}):t.dependencies._debugThenableState=ra,b.H=Kc;var n=ze!==null&&ze.next!==null;if(qa=0,dn=v=nt=ze=J=null,sa=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),$c=!1,ei=0,ra=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||dt||(e=e.dependencies,e!==null&&Li(e)&&(dt=!0)),Qc?(Qc=!1,e=!0):e=!1,e&&(t=L(t)||"Unknown",Pg.has(t)||vd.has(t)||(Pg.add(t),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 ss(e,t,n,a){J=e;var l=0;do{if(Oo&&(ra=null),ei=0,Oo=!1,l>=V1)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,ti=!1,nt=ze=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}sa=-1,b.H=n0,o=Td(t,n,a)}while(Oo);return o}function gb(){var e=b.H,t=e.useState()[0];return t=typeof t.then=="function"?mu(t):t,e=e.useState()[0],(ze!==null?ze.memoizedState:null)!==e&&(J.flags|=1024),t}function fs(){var e=Jc!==0;return Jc=0,e}function ds(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Tn)!==Be?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function hs(e){if($c){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}$c=!1}qa=0,dn=nt=ze=J=null,sa=-1,v=null,Oo=!1,ei=Jc=0,ra=null}function kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?J.memoizedState=nt=e:nt=nt.next=e,nt}function Ce(){if(ze===null){var e=J.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var t=nt===null?J.memoizedState:nt.next;if(t!==null)nt=t,ze=e;else{if(e===null)throw J.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},nt===null?J.memoizedState=nt=e:nt=nt.next=e}return nt}function ps(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function mu(e){var t=ei;return ei+=1,ra===null&&(ra=rp()),e=fp(ra,e,t),t=J,(nt===null?t.memoizedState:nt.next)===null&&(t=t.alternate,b.H=t!==null&&t.memoizedState!==null?Sd:bd),e}function Oa(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return mu(e);if(e.$$typeof===_n)return Ge(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function fl(e){var t=null,n=J.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=J.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ps(),J.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||ti)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=CS;else n.length!==e&&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.",n.length,e);return t.index++,n}function bn(e,t){return typeof t=="function"?t(e):t}function ms(e,t,n){var a=kt();if(n!==void 0){var l=n(t);if(Al){Te(!0);try{n(t)}finally{Te(!1)}}}else l=t;return a.memoizedState=a.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},a.queue=e,e=e.dispatch=Tb.bind(null,J,e),[a.memoizedState,e]}function Ql(e){var t=Ce();return ys(t,ze,e)}function ys(e,t,n){var a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=n;var l=e.baseQueue,o=a.pending;if(o!==null){if(l!==null){var u=l.next;l.next=o.next,o.next=u}t.baseQueue!==l&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=l=o,a.pending=null}if(o=e.baseState,l===null)e.memoizedState=o;else{t=l.next;var i=u=null,r=null,s=t,y=!1;do{var S=s.lane&-536870913;if(S!==s.lane?(fe&S)===S:(qa&S)===S){var m=s.revertLane;if(m===0)r!==null&&(r=r.next={lane:0,revertLane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),S===Tl&&(y=!0);else if((qa&m)===m){s=s.next,m===Tl&&(y=!0);continue}else S={lane:0,revertLane:s.revertLane,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},r===null?(i=r=S,u=o):r=r.next=S,J.lanes|=m,Ga|=m;S=s.action,Al&&n(o,S),o=s.hasEagerState?s.eagerState:n(o,S)}else m={lane:S,revertLane:s.revertLane,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},r===null?(i=r=m,u=o):r=r.next=m,J.lanes|=S,Ga|=S;s=s.next}while(s!==null&&s!==t);if(r===null?u=o:r.next=i,!Ct(o,e.memoizedState)&&(dt=!0,y&&(n=Ro,n!==null)))throw n;e.memoizedState=o,e.baseState=u,e.baseQueue=r,a.lastRenderedState=o}return l===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function yu(e){var t=Ce(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var a=n.dispatch,l=n.pending,o=t.memoizedState;if(l!==null){n.pending=null;var u=l=l.next;do o=e(o,u.action),u=u.next;while(u!==l);Ct(o,t.memoizedState)||(dt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,a]}function gs(e,t,n){var a=J,l=kt();if(ge){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var o=n();xo||o===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),xo=!0)}else{if(o=t(),xo||(n=t(),Ct(o,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),xo=!0)),_e===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(fe&124)!==0||vp(a,t,o)}return l.memoizedState=o,n={value:o,getSnapshot:t},l.queue=n,Ki(Sp.bind(null,a,n,e),[e]),a.flags|=2048,$l(fn|ct,Ji(),bp.bind(null,a,n,o,t),null),o}function Qi(e,t,n){var a=J,l=Ce(),o=ge;if(o){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!xo){var u=t();Ct(n,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),xo=!0)}(u=!Ct((ze||l).memoizedState,n))&&(l.memoizedState=n,dt=!0),l=l.queue;var i=Sp.bind(null,a,l,e);if(Bt(2048,ct,i,[e]),l.getSnapshot!==t||u||nt!==null&&nt.memoizedState.tag&fn){if(a.flags|=2048,$l(fn|ct,Ji(),bp.bind(null,a,l,n,t),null),_e===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");o||(qa&124)!==0||vp(a,t,n)}return n}function vp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=J.updateQueue,t===null?(t=ps(),J.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function bp(e,t,n,a){t.value=n,t.getSnapshot=a,Tp(t)&&Ep(e)}function Sp(e,t,n){return n(function(){Tp(t)&&Ep(e)})}function Tp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ct(e,n)}catch{return!0}}function Ep(e){var t=_t(e,2);t!==null&&Ie(t,e,2)}function vs(e){var t=kt();if(typeof e=="function"){var n=e;if(e=n(),Al){Te(!0);try{n()}finally{Te(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:e},t}function bs(e){e=vs(e);var t=e.queue,n=jp.bind(null,J,t);return t.dispatch=n,[e.memoizedState,n]}function Ss(e){var t=kt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Hs.bind(null,J,!0,n),n.dispatch=t,[e,t]}function Rp(e,t){var n=Ce();return Ap(n,ze,e,t)}function Ap(e,t,n,a){return e.baseState=n,ys(e,ze,typeof a=="function"?a:bn)}function xp(e,t){var n=Ce();return ze!==null?Ap(n,ze,e,t):(n.baseState=e,[e,n.queue.dispatch])}function vb(e,t,n,a,l){if(Pi(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var o={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){o.listeners.push(u)}};b.T!==null?n(!0):o.isTransition=!1,a(o),n=t.pending,n===null?(o.next=t.pending=o,Op(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Op(e,t){var n=t.action,a=t.payload,l=e.state;if(t.isTransition){var o=b.T,u={};b.T=u,b.T._updatedFibers=new Set;try{var i=n(l,a),r=b.S;r!==null&&r(u,i),Dp(e,t,i)}catch(s){Ts(e,t,s)}finally{b.T=o,o===null&&u._updatedFibers&&(e=u._updatedFibers.size,u._updatedFibers.clear(),10<e&&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{u=n(l,a),Dp(e,t,u)}catch(s){Ts(e,t,s)}}function Dp(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(a){Cp(e,t,a)},function(a){return Ts(e,t,a)}),t.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.")):Cp(e,t,n)}function Cp(e,t,n){t.status="fulfilled",t.value=n,wp(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Op(e,n)))}function Ts(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,wp(t),t=t.next;while(t!==a)}e.action=null}function wp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Mp(e,t){return t}function Zl(e,t){if(ge){var n=_e.formState;if(n!==null){e:{var a=J;if(ge){if($e){t:{for(var l=$e,o=qn;l.nodeType!==8;){if(!o){l=null;break t}if(l=nn(l.nextSibling),l===null){l=null;break t}}o=l.data,l=o===$d||o===ev?l:null}if(l){$e=nn(l.nextSibling),a=l.data===$d;break e}}cl(a)}a=!1}a&&(t=n[0])}}return n=kt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mp,lastRenderedState:t},n.queue=a,n=jp.bind(null,J,a),a.dispatch=n,a=vs(!1),o=Hs.bind(null,J,!1,a.queue),a=kt(),l={state:t,dispatch:null,action:e,pending:null},a.queue=l,n=vb.bind(null,J,l,o,n),l.dispatch=n,a.memoizedState=e,[t,n,!1]}function Zi(e){var t=Ce();return zp(t,ze,e)}function zp(e,t,n){if(t=ys(e,t,Mp)[0],e=Ql(bn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=mu(t)}catch(u){throw u===Fu?Xc:u}else a=t;t=Ce();var l=t.queue,o=l.dispatch;return n!==t.memoizedState&&(J.flags|=2048,$l(fn|ct,Ji(),bb.bind(null,l,n),null)),[a,o,e]}function bb(e,t){e.action=t}function $i(e){var t=Ce(),n=ze;if(n!==null)return zp(t,n,e);Ce(),t=t.memoizedState,n=Ce();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function $l(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=J.updateQueue,t===null&&(t=ps(),J.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Ji(){return{destroy:void 0,resource:void 0}}function Es(e){var t=kt();return e={current:e},t.memoizedState=e}function dl(e,t,n,a){var l=kt();a=a===void 0?null:a,J.flags|=e,l.memoizedState=$l(fn|t,Ji(),n,a)}function Bt(e,t,n,a){var l=Ce();a=a===void 0?null:a;var o=l.memoizedState.inst;ze!==null&&a!==null&&cs(a,ze.memoizedState.deps)?l.memoizedState=$l(t,o,n,a):(J.flags|=e,l.memoizedState=$l(fn|t,o,n,a))}function Ki(e,t){(J.mode&Tn)!==Be&&(J.mode&Ng)===Be?dl(276826112,ct,e,t):dl(8390656,ct,e,t)}function Rs(e,t){var n=4194308;return(J.mode&Tn)!==Be&&(n|=134217728),dl(n,bt,e,t)}function Up(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.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(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function As(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var a=4194308;(J.mode&Tn)!==Be&&(a|=134217728),dl(a,bt,Up.bind(null,t,e),n)}function Wi(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,Bt(4,bt,Up.bind(null,t,e),n)}function xs(e,t){return kt().memoizedState=[e,t===void 0?null:t],e}function Ii(e,t){var n=Ce();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&cs(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Os(e,t){var n=kt();t=t===void 0?null:t;var a=e();if(Al){Te(!0);try{e()}finally{Te(!1)}}return n.memoizedState=[a,t],a}function Fi(e,t){var n=Ce();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&cs(t,a[1]))return a[0];if(a=e(),Al){Te(!0);try{e()}finally{Te(!1)}}return n.memoizedState=[a,t],a}function Ds(e,t){var n=kt();return Cs(n,e,t)}function Hp(e,t){var n=Ce();return kp(n,ze.memoizedState,e,t)}function _p(e,t){var n=Ce();return ze===null?Cs(n,e,t):kp(n,ze.memoizedState,e,t)}function Cs(e,t,n){return n===void 0||(qa&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=Bm(),J.lanes|=e,Ga|=e,n)}function kp(e,t,n,a){return Ct(n,t)?n:Ao.current!==null?(e=Cs(e,n,a),Ct(e,t)||(dt=!0),e):(qa&42)===0?(dt=!0,e.memoizedState=n):(e=Bm(),J.lanes|=e,Ga|=e,t)}function Bp(e,t,n,a,l){var o=Re.p;Re.p=o!==0&&o<Ln?o:Ln;var u=b.T,i={};b.T=i,Hs(e,!1,t,n),i._updatedFibers=new Set;try{var r=l(),s=b.S;if(s!==null&&s(i,r),r!==null&&typeof r=="object"&&typeof r.then=="function"){var y=mb(r,a);gu(e,t,y,Qt(e))}else gu(e,t,a,Qt(e))}catch(S){gu(e,t,{then:function(){},status:"rejected",reason:S},Qt(e))}finally{Re.p=o,b.T=u,u===null&&i._updatedFibers&&(e=i._updatedFibers.size,i._updatedFibers.clear(),10<e&&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 ws(e,t,n,a){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=Lp(e).queue;Bp(e,l,t,kl,n===null?Ve:function(){return Np(e),n(a)})}function Lp(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:kl,baseState:kl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:kl},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Np(e){b.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Lp(e).next.queue;gu(e,t,{},Qt(e))}function Ms(){var e=vs(!1);return e=Bp.bind(null,J,e.queue,!0,!1),kt().memoizedState=e,[!1,e]}function Yp(){var e=Ql(bn)[0],t=Ce().memoizedState;return[typeof e=="boolean"?e:mu(e),t]}function qp(){var e=yu(bn)[0],t=Ce().memoizedState;return[typeof e=="boolean"?e:mu(e),t]}function hl(){return Ge(vi)}function zs(){var e=kt(),t=_e.identifierPrefix;if(ge){var n=ia,a=ua;n=(a&~(1<<32-Ot(a)-1)).toString(32)+n,t="«"+t+"R"+n,n=Jc++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=j1++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function Us(){return kt().memoizedState=Sb.bind(null,J)}function Sb(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=Qt(n);e=Aa(a);var l=xa(n,e,a);l!==null&&(Ie(l,n,a),du(l,n,a)),n=es(),t!=null&&l!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function Tb(e,t,n){var a=arguments;typeof a[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()."),a=Qt(e);var l={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};Pi(e)?Vp(t,l):(l=Vr(e,t,l,a),l!==null&&(Ie(l,e,a),Gp(l,t,a))),va(e,a)}function jp(e,t,n){var a=arguments;typeof a[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()."),a=Qt(e),gu(e,t,n,a),va(e,a)}function gu(e,t,n,a){var l={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Pi(e))Vp(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null)){var u=b.H;b.H=Rn;try{var i=t.lastRenderedState,r=o(i,n);if(l.hasEagerState=!0,l.eagerState=r,Ct(r,i))return Hi(e,t,l,0),_e===null&&Ui(),!1}catch{}finally{b.H=u}}if(n=Vr(e,t,l,a),n!==null)return Ie(n,e,a),Gp(n,t,a),!0}return!1}function Hs(e,t,n,a){if(b.T===null&&Tl===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."),a={lane:2,revertLane:ff(),action:a,hasEagerState:!1,eagerState:null,next:null},Pi(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Vr(e,n,a,2),t!==null&&Ie(t,e,2);va(e,2)}function Pi(e){var t=e.alternate;return e===J||t!==null&&t===J}function Vp(e,t){Oo=$c=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gp(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ri(e,n)}}function pt(e){var t=ne;return e!=null&&(ne=t===null?e:t.concat(e)),t}function ec(e,t,n){for(var a=Object.keys(e.props),l=0;l<a.length;l++){var o=a[l];if(o!=="children"&&o!=="key"){t===null&&(t=ki(e,n.mode,0),t._debugInfo=ne,t.return=n),Y(t,function(u){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u)},o);break}}}function tc(e){var t=ni;return ni+=1,Do===null&&(Do=rp()),fp(Do,e,t)}function vu(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function nc(e,t){throw t.$$typeof===OS?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
138
|
+
Incoming: %s`,v,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Ct(e[n],t[n]))return!1;return!0}function is(e,t,n,a,l,u){Ya=u,Z=t,dn=e!==null?e._debugHookTypes:null,sa=-1,ti=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(u=L(Z),yd.has(u)||(yd.add(u),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.",u===null?"An unknown Component":"<"+u+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,b.H=e!==null&&e.memoizedState!==null?vd:dn!==null?t0:gd,Al=u=(t.mode&At)!==Be;var o=bd(n,a,l);if(Al=!1,Ou&&(o=cs(t,n,a,l)),u){Te(!0);try{o=cs(t,n,a,l)}finally{Te(!1)}}return gp(e,t),o}function gp(e,t){t._debugHookTypes=dn,t.dependencies===null?ra!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:ra}):t.dependencies._debugThenableState=ra,b.H=Kc;var n=ze!==null&&ze.next!==null;if(Ya=0,dn=v=nt=ze=Z=null,sa=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),$c=!1,ei=0,ra=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||dt||(e=e.dependencies,e!==null&&Li(e)&&(dt=!0)),Qc?(Qc=!1,e=!0):e=!1,e&&(t=L(t)||"Unknown",Pg.has(t)||yd.has(t)||(Pg.add(t),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 cs(e,t,n,a){Z=e;var l=0;do{if(Ou&&(ra=null),ei=0,Ou=!1,l>=Y1)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,ti=!1,nt=ze=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}sa=-1,b.H=n0,u=bd(t,n,a)}while(Ou);return u}function mb(){var e=b.H,t=e.useState()[0];return t=typeof t.then=="function"?mo(t):t,e=e.useState()[0],(ze!==null?ze.memoizedState:null)!==e&&(Z.flags|=1024),t}function rs(){var e=Jc!==0;return Jc=0,e}function ss(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Tn)!==Be?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function fs(e){if($c){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}$c=!1}Ya=0,dn=nt=ze=Z=null,sa=-1,v=null,Ou=!1,ei=Jc=0,ra=null}function Bt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?Z.memoizedState=nt=e:nt=nt.next=e,nt}function Ce(){if(ze===null){var e=Z.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var t=nt===null?Z.memoizedState:nt.next;if(t!==null)nt=t,ze=e;else{if(e===null)throw Z.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},nt===null?Z.memoizedState=nt=e:nt=nt.next=e}return nt}function ds(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function mo(e){var t=ei;return ei+=1,ra===null&&(ra=rp()),e=fp(ra,e,t),t=Z,(nt===null?t.memoizedState:nt.next)===null&&(t=t.alternate,b.H=t!==null&&t.memoizedState!==null?vd:gd),e}function Da(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return mo(e);if(e.$$typeof===_n)return Ge(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function fl(e){var t=null,n=Z.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Z.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ds(),Z.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||ti)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=DS;else n.length!==e&&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.",n.length,e);return t.index++,n}function bn(e,t){return typeof t=="function"?t(e):t}function hs(e,t,n){var a=Bt();if(n!==void 0){var l=n(t);if(Al){Te(!0);try{n(t)}finally{Te(!1)}}}else l=t;return a.memoizedState=a.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},a.queue=e,e=e.dispatch=bb.bind(null,Z,e),[a.memoizedState,e]}function Ql(e){var t=Ce();return ps(t,ze,e)}function ps(e,t,n){var a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=n;var l=e.baseQueue,u=a.pending;if(u!==null){if(l!==null){var o=l.next;l.next=u.next,u.next=o}t.baseQueue!==l&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=l=u,a.pending=null}if(u=e.baseState,l===null)e.memoizedState=u;else{t=l.next;var i=o=null,r=null,s=t,y=!1;do{var S=s.lane&-536870913;if(S!==s.lane?(ie&S)===S:(Ya&S)===S){var m=s.revertLane;if(m===0)r!==null&&(r=r.next={lane:0,revertLane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),S===Tl&&(y=!0);else if((Ya&m)===m){s=s.next,m===Tl&&(y=!0);continue}else S={lane:0,revertLane:s.revertLane,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},r===null?(i=r=S,o=u):r=r.next=S,Z.lanes|=m,Ga|=m;S=s.action,Al&&n(u,S),u=s.hasEagerState?s.eagerState:n(u,S)}else m={lane:S,revertLane:s.revertLane,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null},r===null?(i=r=m,o=u):r=r.next=m,Z.lanes|=S,Ga|=S;s=s.next}while(s!==null&&s!==t);if(r===null?o=u:r.next=i,!Ct(u,e.memoizedState)&&(dt=!0,y&&(n=Eu,n!==null)))throw n;e.memoizedState=u,e.baseState=o,e.baseQueue=r,a.lastRenderedState=u}return l===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function yo(e){var t=Ce(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var a=n.dispatch,l=n.pending,u=t.memoizedState;if(l!==null){n.pending=null;var o=l=l.next;do u=e(u,o.action),o=o.next;while(o!==l);Ct(u,t.memoizedState)||(dt=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,a]}function ms(e,t,n){var a=Z,l=Bt();if(ye){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var u=n();Au||u===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Au=!0)}else{if(u=t(),Au||(n=t(),Ct(u,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Au=!0)),He===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(ie&124)!==0||vp(a,t,u)}return l.memoizedState=u,n={value:u,getSnapshot:t},l.queue=n,Ki(Sp.bind(null,a,n,e),[e]),a.flags|=2048,$l(fn|ct,Ji(),bp.bind(null,a,n,u,t),null),u}function Qi(e,t,n){var a=Z,l=Ce(),u=ye;if(u){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Au){var o=t();Ct(n,o)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Au=!0)}(o=!Ct((ze||l).memoizedState,n))&&(l.memoizedState=n,dt=!0),l=l.queue;var i=Sp.bind(null,a,l,e);if(kt(2048,ct,i,[e]),l.getSnapshot!==t||o||nt!==null&&nt.memoizedState.tag&fn){if(a.flags|=2048,$l(fn|ct,Ji(),bp.bind(null,a,l,n,t),null),He===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");u||(Ya&124)!==0||vp(a,t,n)}return n}function vp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Z.updateQueue,t===null?(t=ds(),Z.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function bp(e,t,n,a){t.value=n,t.getSnapshot=a,Tp(t)&&Ep(e)}function Sp(e,t,n){return n(function(){Tp(t)&&Ep(e)})}function Tp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ct(e,n)}catch{return!0}}function Ep(e){var t=_t(e,2);t!==null&&Ie(t,e,2)}function ys(e){var t=Bt();if(typeof e=="function"){var n=e;if(e=n(),Al){Te(!0);try{n()}finally{Te(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:e},t}function gs(e){e=ys(e);var t=e.queue,n=jp.bind(null,Z,t);return t.dispatch=n,[e.memoizedState,n]}function vs(e){var t=Bt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=zs.bind(null,Z,!0,n),n.dispatch=t,[e,t]}function Rp(e,t){var n=Ce();return Ap(n,ze,e,t)}function Ap(e,t,n,a){return e.baseState=n,ps(e,ze,typeof a=="function"?a:bn)}function Op(e,t){var n=Ce();return ze!==null?Ap(n,ze,e,t):(n.baseState=e,[e,n.queue.dispatch])}function yb(e,t,n,a,l){if(Pi(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var u={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){u.listeners.push(o)}};b.T!==null?n(!0):u.isTransition=!1,a(u),n=t.pending,n===null?(u.next=t.pending=u,Dp(t,u)):(u.next=n.next,t.pending=n.next=u)}}function Dp(e,t){var n=t.action,a=t.payload,l=e.state;if(t.isTransition){var u=b.T,o={};b.T=o,b.T._updatedFibers=new Set;try{var i=n(l,a),r=b.S;r!==null&&r(o,i),xp(e,t,i)}catch(s){bs(e,t,s)}finally{b.T=u,u===null&&o._updatedFibers&&(e=o._updatedFibers.size,o._updatedFibers.clear(),10<e&&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{o=n(l,a),xp(e,t,o)}catch(s){bs(e,t,s)}}function xp(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(a){Cp(e,t,a)},function(a){return bs(e,t,a)}),t.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.")):Cp(e,t,n)}function Cp(e,t,n){t.status="fulfilled",t.value=n,wp(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Dp(e,n)))}function bs(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,wp(t),t=t.next;while(t!==a)}e.action=null}function wp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Mp(e,t){return t}function Zl(e,t){if(ye){var n=He.formState;if(n!==null){e:{var a=Z;if(ye){if($e){t:{for(var l=$e,u=Yn;l.nodeType!==8;){if(!u){l=null;break t}if(l=nn(l.nextSibling),l===null){l=null;break t}}u=l.data,l=u===Qd||u===ev?l:null}if(l){$e=nn(l.nextSibling),a=l.data===Qd;break e}}cl(a)}a=!1}a&&(t=n[0])}}return n=Bt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mp,lastRenderedState:t},n.queue=a,n=jp.bind(null,Z,a),a.dispatch=n,a=ys(!1),u=zs.bind(null,Z,!1,a.queue),a=Bt(),l={state:t,dispatch:null,action:e,pending:null},a.queue=l,n=yb.bind(null,Z,l,u,n),l.dispatch=n,a.memoizedState=e,[t,n,!1]}function Zi(e){var t=Ce();return zp(t,ze,e)}function zp(e,t,n){if(t=ps(e,t,Mp)[0],e=Ql(bn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=mo(t)}catch(o){throw o===Fo?Xc:o}else a=t;t=Ce();var l=t.queue,u=l.dispatch;return n!==t.memoizedState&&(Z.flags|=2048,$l(fn|ct,Ji(),gb.bind(null,l,n),null)),[a,u,e]}function gb(e,t){e.action=t}function $i(e){var t=Ce(),n=ze;if(n!==null)return zp(t,n,e);Ce(),t=t.memoizedState,n=Ce();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function $l(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=Z.updateQueue,t===null&&(t=ds(),Z.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Ji(){return{destroy:void 0,resource:void 0}}function Ss(e){var t=Bt();return e={current:e},t.memoizedState=e}function dl(e,t,n,a){var l=Bt();a=a===void 0?null:a,Z.flags|=e,l.memoizedState=$l(fn|t,Ji(),n,a)}function kt(e,t,n,a){var l=Ce();a=a===void 0?null:a;var u=l.memoizedState.inst;ze!==null&&a!==null&&os(a,ze.memoizedState.deps)?l.memoizedState=$l(t,u,n,a):(Z.flags|=e,l.memoizedState=$l(fn|t,u,n,a))}function Ki(e,t){(Z.mode&Tn)!==Be&&(Z.mode&Ng)===Be?dl(276826112,ct,e,t):dl(8390656,ct,e,t)}function Ts(e,t){var n=4194308;return(Z.mode&Tn)!==Be&&(n|=134217728),dl(n,bt,e,t)}function Up(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.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(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Es(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var a=4194308;(Z.mode&Tn)!==Be&&(a|=134217728),dl(a,bt,Up.bind(null,t,e),n)}function Wi(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,kt(4,bt,Up.bind(null,t,e),n)}function Rs(e,t){return Bt().memoizedState=[e,t===void 0?null:t],e}function Ii(e,t){var n=Ce();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&os(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function As(e,t){var n=Bt();t=t===void 0?null:t;var a=e();if(Al){Te(!0);try{e()}finally{Te(!1)}}return n.memoizedState=[a,t],a}function Fi(e,t){var n=Ce();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&os(t,a[1]))return a[0];if(a=e(),Al){Te(!0);try{e()}finally{Te(!1)}}return n.memoizedState=[a,t],a}function Os(e,t){var n=Bt();return Ds(n,e,t)}function Hp(e,t){var n=Ce();return Bp(n,ze.memoizedState,e,t)}function _p(e,t){var n=Ce();return ze===null?Ds(n,e,t):Bp(n,ze.memoizedState,e,t)}function Ds(e,t,n){return n===void 0||(Ya&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=km(),Z.lanes|=e,Ga|=e,n)}function Bp(e,t,n,a){return Ct(n,t)?n:Ru.current!==null?(e=Ds(e,n,a),Ct(e,t)||(dt=!0),e):(Ya&42)===0?(dt=!0,e.memoizedState=n):(e=km(),Z.lanes|=e,Ga|=e,t)}function kp(e,t,n,a,l){var u=Re.p;Re.p=u!==0&&u<Ln?u:Ln;var o=b.T,i={};b.T=i,zs(e,!1,t,n),i._updatedFibers=new Set;try{var r=l(),s=b.S;if(s!==null&&s(i,r),r!==null&&typeof r=="object"&&typeof r.then=="function"){var y=hb(r,a);go(e,t,y,Qt(e))}else go(e,t,a,Qt(e))}catch(S){go(e,t,{then:function(){},status:"rejected",reason:S},Qt(e))}finally{Re.p=u,b.T=o,o===null&&i._updatedFibers&&(e=i._updatedFibers.size,i._updatedFibers.clear(),10<e&&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 xs(e,t,n,a){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=Lp(e).queue;kp(e,l,t,Bl,n===null?je:function(){return Np(e),n(a)})}function Lp(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Bl,baseState:Bl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:Bl},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Np(e){b.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Lp(e).next.queue;go(e,t,{},Qt(e))}function Cs(){var e=ys(!1);return e=kp.bind(null,Z,e.queue,!0,!1),Bt().memoizedState=e,[!1,e]}function qp(){var e=Ql(bn)[0],t=Ce().memoizedState;return[typeof e=="boolean"?e:mo(e),t]}function Yp(){var e=yo(bn)[0],t=Ce().memoizedState;return[typeof e=="boolean"?e:mo(e),t]}function hl(){return Ge(vi)}function ws(){var e=Bt(),t=He.identifierPrefix;if(ye){var n=ia,a=oa;n=(a&~(1<<32-Dt(a)-1)).toString(32)+n,t="«"+t+"R"+n,n=Jc++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=q1++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function Ms(){return Bt().memoizedState=vb.bind(null,Z)}function vb(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=Qt(n);e=Aa(a);var l=Oa(n,e,a);l!==null&&(Ie(l,n,a),fo(l,n,a)),n=Fr(),t!=null&&l!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function bb(e,t,n){var a=arguments;typeof a[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()."),a=Qt(e);var l={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};Pi(e)?Vp(t,l):(l=Yr(e,t,l,a),l!==null&&(Ie(l,e,a),Gp(l,t,a))),va(e,a)}function jp(e,t,n){var a=arguments;typeof a[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()."),a=Qt(e),go(e,t,n,a),va(e,a)}function go(e,t,n,a){var l={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Pi(e))Vp(t,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null)){var o=b.H;b.H=Rn;try{var i=t.lastRenderedState,r=u(i,n);if(l.hasEagerState=!0,l.eagerState=r,Ct(r,i))return Hi(e,t,l,0),He===null&&Ui(),!1}catch{}finally{b.H=o}}if(n=Yr(e,t,l,a),n!==null)return Ie(n,e,a),Gp(n,t,a),!0}return!1}function zs(e,t,n,a){if(b.T===null&&Tl===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."),a={lane:2,revertLane:rf(),action:a,hasEagerState:!1,eagerState:null,next:null},Pi(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Yr(e,n,a,2),t!==null&&Ie(t,e,2);va(e,2)}function Pi(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Vp(e,t){Ou=$c=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gp(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ri(e,n)}}function pt(e){var t=P;return e!=null&&(P=t===null?e:t.concat(e)),t}function ec(e,t,n){for(var a=Object.keys(e.props),l=0;l<a.length;l++){var u=a[l];if(u!=="children"&&u!=="key"){t===null&&(t=Bi(e,n.mode,0),t._debugInfo=P,t.return=n),q(t,function(o){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o)},u);break}}}function tc(e){var t=ni;return ni+=1,Du===null&&(Du=rp()),fp(Du,e,t)}function vo(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function nc(e,t){throw t.$$typeof===AS?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
139
139
|
- Multiple copies of the "react" package is used.
|
|
140
140
|
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
141
141
|
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function ac(e,t){var n=L(e)||"Component";g0[n]||(g0[n]=!0,t=t.displayName||t.name||"Component",e.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.
|
|
142
142
|
root.render(%s)`,t,t,t):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.
|
|
143
143
|
<%s>{%s}</%s>`,t,t,n,t,n))}function lc(e,t){var n=L(e)||"Component";v0[n]||(v0[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
144
144
|
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
145
|
-
<%s>%s</%s>`,n,t,n))}function Xp(e){function t(f,d){if(e){var h=f.deletions;h===null?(f.deletions=[d],f.flags|=16):h.push(d)}}function n(f,d){if(!e)return null;for(;d!==null;)t(f,d),d=d.sibling;return null}function a(f){for(var d=new Map;f!==null;)f.key!==null?d.set(f.key,f):d.set(f.index,f),f=f.sibling;return d}function l(f,d){return f=$n(f,d),f.index=0,f.sibling=null,f}function o(f,d,h){return f.index=h,e?(h=f.alternate,h!==null?(h=h.index,h<d?(f.flags|=67108866,d):h):(f.flags|=67108866,d)):(f.flags|=1048576,d)}function u(f){return e&&f.alternate===null&&(f.flags|=67108866),f}function i(f,d,h,E){return d===null||d.tag!==6?(d=$r(h,f.mode,E),d.return=f,d._debugOwner=f,d._debugTask=f._debugTask,d._debugInfo=ne,d):(d=l(d,h),d.return=f,d._debugInfo=ne,d)}function r(f,d,h,E){var C=h.type;return C===lo?(d=y(f,d,h.props.children,E,h.key),ec(h,d,f),d):d!==null&&(d.elementType===C||Ih(d,h)||typeof C=="object"&&C!==null&&C.$$typeof===Zt&&ja(C)===d.type)?(d=l(d,h.props),vu(d,h),d.return=f,d._debugOwner=h._owner,d._debugInfo=ne,d):(d=ki(h,f.mode,E),vu(d,h),d.return=f,d._debugInfo=ne,d)}function s(f,d,h,E){return d===null||d.tag!==4||d.stateNode.containerInfo!==h.containerInfo||d.stateNode.implementation!==h.implementation?(d=Jr(h,f.mode,E),d.return=f,d._debugInfo=ne,d):(d=l(d,h.children||[]),d.return=f,d._debugInfo=ne,d)}function y(f,d,h,E,C){return d===null||d.tag!==7?(d=ll(h,f.mode,E,C),d.return=f,d._debugOwner=f,d._debugTask=f._debugTask,d._debugInfo=ne,d):(d=l(d,h),d.return=f,d._debugInfo=ne,d)}function S(f,d,h){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=$r(""+d,f.mode,h),d.return=f,d._debugOwner=f,d._debugTask=f._debugTask,d._debugInfo=ne,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Ua:return h=ki(d,f.mode,h),vu(h,d),h.return=f,f=pt(d._debugInfo),h._debugInfo=ne,ne=f,h;case ao:return d=Jr(d,f.mode,h),d.return=f,d._debugInfo=ne,d;case Zt:var E=pt(d._debugInfo);return d=ja(d),f=S(f,d,h),ne=E,f}if(gt(d)||qe(d))return h=ll(d,f.mode,h,null),h.return=f,h._debugOwner=f,h._debugTask=f._debugTask,f=pt(d._debugInfo),h._debugInfo=ne,ne=f,h;if(typeof d.then=="function")return E=pt(d._debugInfo),f=S(f,tc(d),h),ne=E,f;if(d.$$typeof===_n)return S(f,Ni(f,d),h);nc(f,d)}return typeof d=="function"&&ac(f,d),typeof d=="symbol"&&lc(f,d),null}function m(f,d,h,E){var C=d!==null?d.key:null;if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return C!==null?null:i(f,d,""+h,E);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ua:return h.key===C?(C=pt(h._debugInfo),f=r(f,d,h,E),ne=C,f):null;case ao:return h.key===C?s(f,d,h,E):null;case Zt:return C=pt(h._debugInfo),h=ja(h),f=m(f,d,h,E),ne=C,f}if(gt(h)||qe(h))return C!==null?null:(C=pt(h._debugInfo),f=y(f,d,h,E,null),ne=C,f);if(typeof h.then=="function")return C=pt(h._debugInfo),f=m(f,d,tc(h),E),ne=C,f;if(h.$$typeof===_n)return m(f,d,Ni(f,h),E);nc(f,h)}return typeof h=="function"&&ac(f,h),typeof h=="symbol"&&lc(f,h),null}function T(f,d,h,E,C){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return f=f.get(h)||null,i(d,f,""+E,C);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Ua:return h=f.get(E.key===null?h:E.key)||null,f=pt(E._debugInfo),d=r(d,h,E,C),ne=f,d;case ao:return f=f.get(E.key===null?h:E.key)||null,s(d,f,E,C);case Zt:var K=pt(E._debugInfo);return E=ja(E),d=T(f,d,h,E,C),ne=K,d}if(gt(E)||qe(E))return h=f.get(h)||null,f=pt(E._debugInfo),d=y(d,h,E,C,null),ne=f,d;if(typeof E.then=="function")return K=pt(E._debugInfo),d=T(f,d,h,tc(E),C),ne=K,d;if(E.$$typeof===_n)return T(f,d,h,Ni(d,E),C);nc(d,E)}return typeof E=="function"&&ac(d,E),typeof E=="symbol"&&lc(d,E),null}function k(f,d,h,E){if(typeof h!="object"||h===null)return E;switch(h.$$typeof){case Ua:case ao:Ke(f,d,h);var C=h.key;if(typeof C!="string")break;if(E===null){E=new Set,E.add(C);break}if(!E.has(C)){E.add(C);break}Y(d,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.",C)});break;case Zt:h=ja(h),k(f,d,h,E)}return E}function $(f,d,h,E){for(var C=null,K=null,B=null,W=d,F=d=0,Le=null;W!==null&&F<h.length;F++){W.index>F?(Le=W,W=null):Le=W.sibling;var Pe=m(f,W,h[F],E);if(Pe===null){W===null&&(W=Le);break}C=k(f,Pe,h[F],C),e&&W&&Pe.alternate===null&&t(f,W),d=o(Pe,d,F),B===null?K=Pe:B.sibling=Pe,B=Pe,W=Le}if(F===h.length)return n(f,W),ge&&ol(f,F),K;if(W===null){for(;F<h.length;F++)W=S(f,h[F],E),W!==null&&(C=k(f,W,h[F],C),d=o(W,d,F),B===null?K=W:B.sibling=W,B=W);return ge&&ol(f,F),K}for(W=a(W);F<h.length;F++)Le=T(W,f,F,h[F],E),Le!==null&&(C=k(f,Le,h[F],C),e&&Le.alternate!==null&&W.delete(Le.key===null?F:Le.key),d=o(Le,d,F),B===null?K=Le:B.sibling=Le,B=Le);return e&&W.forEach(function(ya){return t(f,ya)}),ge&&ol(f,F),K}function ke(f,d,h,E){if(h==null)throw Error("An iterable object provided no iterator.");for(var C=null,K=null,B=d,W=d=0,F=null,Le=null,Pe=h.next();B!==null&&!Pe.done;W++,Pe=h.next()){B.index>W?(F=B,B=null):F=B.sibling;var ya=m(f,B,Pe.value,E);if(ya===null){B===null&&(B=F);break}Le=k(f,ya,Pe.value,Le),e&&B&&ya.alternate===null&&t(f,B),d=o(ya,d,W),K===null?C=ya:K.sibling=ya,K=ya,B=F}if(Pe.done)return n(f,B),ge&&ol(f,W),C;if(B===null){for(;!Pe.done;W++,Pe=h.next())B=S(f,Pe.value,E),B!==null&&(Le=k(f,B,Pe.value,Le),d=o(B,d,W),K===null?C=B:K.sibling=B,K=B);return ge&&ol(f,W),C}for(B=a(B);!Pe.done;W++,Pe=h.next())F=T(B,f,W,Pe.value,E),F!==null&&(Le=k(f,F,Pe.value,Le),e&&F.alternate!==null&&B.delete(F.key===null?W:F.key),d=o(F,d,W),K===null?C=F:K.sibling=F,K=F);return e&&B.forEach(function(pT){return t(f,pT)}),ge&&ol(f,W),C}function pe(f,d,h,E){if(typeof h=="object"&&h!==null&&h.type===lo&&h.key===null&&(ec(h,null,f),h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Ua:var C=pt(h._debugInfo);e:{for(var K=h.key;d!==null;){if(d.key===K){if(K=h.type,K===lo){if(d.tag===7){n(f,d.sibling),E=l(d,h.props.children),E.return=f,E._debugOwner=h._owner,E._debugInfo=ne,ec(h,E,f),f=E;break e}}else if(d.elementType===K||Ih(d,h)||typeof K=="object"&&K!==null&&K.$$typeof===Zt&&ja(K)===d.type){n(f,d.sibling),E=l(d,h.props),vu(E,h),E.return=f,E._debugOwner=h._owner,E._debugInfo=ne,f=E;break e}n(f,d);break}else t(f,d);d=d.sibling}h.type===lo?(E=ll(h.props.children,f.mode,E,h.key),E.return=f,E._debugOwner=f,E._debugTask=f._debugTask,E._debugInfo=ne,ec(h,E,f),f=E):(E=ki(h,f.mode,E),vu(E,h),E.return=f,E._debugInfo=ne,f=E)}return f=u(f),ne=C,f;case ao:e:{for(C=h,h=C.key;d!==null;){if(d.key===h)if(d.tag===4&&d.stateNode.containerInfo===C.containerInfo&&d.stateNode.implementation===C.implementation){n(f,d.sibling),E=l(d,C.children||[]),E.return=f,f=E;break e}else{n(f,d);break}else t(f,d);d=d.sibling}E=Jr(C,f.mode,E),E.return=f,f=E}return u(f);case Zt:return C=pt(h._debugInfo),h=ja(h),f=pe(f,d,h,E),ne=C,f}if(gt(h))return C=pt(h._debugInfo),f=$(f,d,h,E),ne=C,f;if(qe(h)){if(C=pt(h._debugInfo),K=qe(h),typeof K!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var B=K.call(h);return B===h?(f.tag!==0||Object.prototype.toString.call(f.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(B)!=="[object Generator]")&&(m0||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."),m0=!0):h.entries!==K||Rd||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Rd=!0),f=ke(f,d,B,E),ne=C,f}if(typeof h.then=="function")return C=pt(h._debugInfo),f=pe(f,d,tc(h),E),ne=C,f;if(h.$$typeof===_n)return pe(f,d,Ni(f,h),E);nc(f,h)}return typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint"?(C=""+h,d!==null&&d.tag===6?(n(f,d.sibling),E=l(d,C),E.return=f,f=E):(n(f,d),E=$r(C,f.mode,E),E.return=f,E._debugOwner=f,E._debugTask=f._debugTask,E._debugInfo=ne,f=E),u(f)):(typeof h=="function"&&ac(f,h),typeof h=="symbol"&&lc(f,h),n(f,d))}return function(f,d,h,E){var C=ne;ne=null;try{ni=0;var K=pe(f,d,h,E);return Do=null,K}catch(Le){if(Le===Fu||Le===Xc)throw Le;var B=g(29,Le,null,f.mode);B.lanes=E,B.return=f;var W=B._debugInfo=ne;if(B._debugOwner=f._debugOwner,B._debugTask=f._debugTask,W!=null){for(var F=W.length-1;0<=F;F--)if(typeof W[F].stack=="string"){B._debugOwner=W[F],B._debugTask=W[F].debugTask;break}}return B}finally{ne=C}}}function Da(e){var t=e.alternate;me(rt,rt.current&wo,e),me(hn,e,e),Vn===null&&(t===null||Ao.current!==null||t.memoizedState!==null)&&(Vn=e)}function Qp(e){if(e.tag===22){if(me(rt,rt.current,e),me(hn,e,e),Vn===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Vn=e)}}else Ca(e)}function Ca(e){me(rt,rt.current,e),me(hn,hn.current,e)}function Wn(e){Z(hn,e),Vn===e&&(Vn=null),Z(rt,e)}function oc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===ha||Ef(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function _s(e){if(e!==null&&typeof e!="function"){var t=String(e);M0.has(t)||(M0.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function ks(e,t,n,a){var l=e.memoizedState,o=n(a,l);if(e.mode&At){Te(!0);try{o=n(a,l)}finally{Te(!1)}}o===void 0&&(t=xe(t)||"Component",O0.has(t)||(O0.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=o==null?l:oe({},l,o),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function Zp(e,t,n,a,l,o,u){var i=e.stateNode;if(typeof i.shouldComponentUpdate=="function"){if(n=i.shouldComponentUpdate(a,o,u),e.mode&At){Te(!0);try{n=i.shouldComponentUpdate(a,o,u)}finally{Te(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",xe(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!ou(n,a)||!ou(l,o):!0}function $p(e,t,n,a){var l=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==l&&(e=L(e)||"Component",T0.has(e)||(T0.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Ad.enqueueReplaceState(t,t.state,null))}function pl(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=oe({},n));for(var l in e)n[l]===void 0&&(n[l]=e[l])}return n}function Jp(e){xd(e),console.warn(`%s
|
|
145
|
+
<%s>%s</%s>`,n,t,n))}function Xp(e){function t(f,d){if(e){var h=f.deletions;h===null?(f.deletions=[d],f.flags|=16):h.push(d)}}function n(f,d){if(!e)return null;for(;d!==null;)t(f,d),d=d.sibling;return null}function a(f){for(var d=new Map;f!==null;)f.key!==null?d.set(f.key,f):d.set(f.index,f),f=f.sibling;return d}function l(f,d){return f=$n(f,d),f.index=0,f.sibling=null,f}function u(f,d,h){return f.index=h,e?(h=f.alternate,h!==null?(h=h.index,h<d?(f.flags|=67108866,d):h):(f.flags|=67108866,d)):(f.flags|=1048576,d)}function o(f){return e&&f.alternate===null&&(f.flags|=67108866),f}function i(f,d,h,E){return d===null||d.tag!==6?(d=Qr(h,f.mode,E),d.return=f,d._debugOwner=f,d._debugTask=f._debugTask,d._debugInfo=P,d):(d=l(d,h),d.return=f,d._debugInfo=P,d)}function r(f,d,h,E){var x=h.type;return x===lu?(d=y(f,d,h.props.children,E,h.key),ec(h,d,f),d):d!==null&&(d.elementType===x||Ih(d,h)||typeof x=="object"&&x!==null&&x.$$typeof===Zt&&ja(x)===d.type)?(d=l(d,h.props),vo(d,h),d.return=f,d._debugOwner=h._owner,d._debugInfo=P,d):(d=Bi(h,f.mode,E),vo(d,h),d.return=f,d._debugInfo=P,d)}function s(f,d,h,E){return d===null||d.tag!==4||d.stateNode.containerInfo!==h.containerInfo||d.stateNode.implementation!==h.implementation?(d=Zr(h,f.mode,E),d.return=f,d._debugInfo=P,d):(d=l(d,h.children||[]),d.return=f,d._debugInfo=P,d)}function y(f,d,h,E,x){return d===null||d.tag!==7?(d=ll(h,f.mode,E,x),d.return=f,d._debugOwner=f,d._debugTask=f._debugTask,d._debugInfo=P,d):(d=l(d,h),d.return=f,d._debugInfo=P,d)}function S(f,d,h){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=Qr(""+d,f.mode,h),d.return=f,d._debugOwner=f,d._debugTask=f._debugTask,d._debugInfo=P,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Ua:return h=Bi(d,f.mode,h),vo(h,d),h.return=f,f=pt(d._debugInfo),h._debugInfo=P,P=f,h;case au:return d=Zr(d,f.mode,h),d.return=f,d._debugInfo=P,d;case Zt:var E=pt(d._debugInfo);return d=ja(d),f=S(f,d,h),P=E,f}if(gt(d)||qe(d))return h=ll(d,f.mode,h,null),h.return=f,h._debugOwner=f,h._debugTask=f._debugTask,f=pt(d._debugInfo),h._debugInfo=P,P=f,h;if(typeof d.then=="function")return E=pt(d._debugInfo),f=S(f,tc(d),h),P=E,f;if(d.$$typeof===_n)return S(f,Ni(f,d),h);nc(f,d)}return typeof d=="function"&&ac(f,d),typeof d=="symbol"&&lc(f,d),null}function m(f,d,h,E){var x=d!==null?d.key:null;if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return x!==null?null:i(f,d,""+h,E);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Ua:return h.key===x?(x=pt(h._debugInfo),f=r(f,d,h,E),P=x,f):null;case au:return h.key===x?s(f,d,h,E):null;case Zt:return x=pt(h._debugInfo),h=ja(h),f=m(f,d,h,E),P=x,f}if(gt(h)||qe(h))return x!==null?null:(x=pt(h._debugInfo),f=y(f,d,h,E,null),P=x,f);if(typeof h.then=="function")return x=pt(h._debugInfo),f=m(f,d,tc(h),E),P=x,f;if(h.$$typeof===_n)return m(f,d,Ni(f,h),E);nc(f,h)}return typeof h=="function"&&ac(f,h),typeof h=="symbol"&&lc(f,h),null}function T(f,d,h,E,x){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return f=f.get(h)||null,i(d,f,""+E,x);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Ua:return h=f.get(E.key===null?h:E.key)||null,f=pt(E._debugInfo),d=r(d,h,E,x),P=f,d;case au:return f=f.get(E.key===null?h:E.key)||null,s(d,f,E,x);case Zt:var $=pt(E._debugInfo);return E=ja(E),d=T(f,d,h,E,x),P=$,d}if(gt(E)||qe(E))return h=f.get(h)||null,f=pt(E._debugInfo),d=y(d,h,E,x,null),P=f,d;if(typeof E.then=="function")return $=pt(E._debugInfo),d=T(f,d,h,tc(E),x),P=$,d;if(E.$$typeof===_n)return T(f,d,h,Ni(d,E),x);nc(d,E)}return typeof E=="function"&&ac(d,E),typeof E=="symbol"&&lc(d,E),null}function B(f,d,h,E){if(typeof h!="object"||h===null)return E;switch(h.$$typeof){case Ua:case au:Ke(f,d,h);var x=h.key;if(typeof x!="string")break;if(E===null){E=new Set,E.add(x);break}if(!E.has(x)){E.add(x);break}q(d,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.",x)});break;case Zt:h=ja(h),B(f,d,h,E)}return E}function Q(f,d,h,E){for(var x=null,$=null,k=null,J=d,K=d=0,ke=null;J!==null&&K<h.length;K++){J.index>K?(ke=J,J=null):ke=J.sibling;var Pe=m(f,J,h[K],E);if(Pe===null){J===null&&(J=ke);break}x=B(f,Pe,h[K],x),e&&J&&Pe.alternate===null&&t(f,J),d=u(Pe,d,K),k===null?$=Pe:k.sibling=Pe,k=Pe,J=ke}if(K===h.length)return n(f,J),ye&&ul(f,K),$;if(J===null){for(;K<h.length;K++)J=S(f,h[K],E),J!==null&&(x=B(f,J,h[K],x),d=u(J,d,K),k===null?$=J:k.sibling=J,k=J);return ye&&ul(f,K),$}for(J=a(J);K<h.length;K++)ke=T(J,f,K,h[K],E),ke!==null&&(x=B(f,ke,h[K],x),e&&ke.alternate!==null&&J.delete(ke.key===null?K:ke.key),d=u(ke,d,K),k===null?$=ke:k.sibling=ke,k=ke);return e&&J.forEach(function(ya){return t(f,ya)}),ye&&ul(f,K),$}function _e(f,d,h,E){if(h==null)throw Error("An iterable object provided no iterator.");for(var x=null,$=null,k=d,J=d=0,K=null,ke=null,Pe=h.next();k!==null&&!Pe.done;J++,Pe=h.next()){k.index>J?(K=k,k=null):K=k.sibling;var ya=m(f,k,Pe.value,E);if(ya===null){k===null&&(k=K);break}ke=B(f,ya,Pe.value,ke),e&&k&&ya.alternate===null&&t(f,k),d=u(ya,d,J),$===null?x=ya:$.sibling=ya,$=ya,k=K}if(Pe.done)return n(f,k),ye&&ul(f,J),x;if(k===null){for(;!Pe.done;J++,Pe=h.next())k=S(f,Pe.value,E),k!==null&&(ke=B(f,k,Pe.value,ke),d=u(k,d,J),$===null?x=k:$.sibling=k,$=k);return ye&&ul(f,J),x}for(k=a(k);!Pe.done;J++,Pe=h.next())K=T(k,f,J,Pe.value,E),K!==null&&(ke=B(f,K,Pe.value,ke),e&&K.alternate!==null&&k.delete(K.key===null?J:K.key),d=u(K,d,J),$===null?x=K:$.sibling=K,$=K);return e&&k.forEach(function(dT){return t(f,dT)}),ye&&ul(f,J),x}function fe(f,d,h,E){if(typeof h=="object"&&h!==null&&h.type===lu&&h.key===null&&(ec(h,null,f),h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Ua:var x=pt(h._debugInfo);e:{for(var $=h.key;d!==null;){if(d.key===$){if($=h.type,$===lu){if(d.tag===7){n(f,d.sibling),E=l(d,h.props.children),E.return=f,E._debugOwner=h._owner,E._debugInfo=P,ec(h,E,f),f=E;break e}}else if(d.elementType===$||Ih(d,h)||typeof $=="object"&&$!==null&&$.$$typeof===Zt&&ja($)===d.type){n(f,d.sibling),E=l(d,h.props),vo(E,h),E.return=f,E._debugOwner=h._owner,E._debugInfo=P,f=E;break e}n(f,d);break}else t(f,d);d=d.sibling}h.type===lu?(E=ll(h.props.children,f.mode,E,h.key),E.return=f,E._debugOwner=f,E._debugTask=f._debugTask,E._debugInfo=P,ec(h,E,f),f=E):(E=Bi(h,f.mode,E),vo(E,h),E.return=f,E._debugInfo=P,f=E)}return f=o(f),P=x,f;case au:e:{for(x=h,h=x.key;d!==null;){if(d.key===h)if(d.tag===4&&d.stateNode.containerInfo===x.containerInfo&&d.stateNode.implementation===x.implementation){n(f,d.sibling),E=l(d,x.children||[]),E.return=f,f=E;break e}else{n(f,d);break}else t(f,d);d=d.sibling}E=Zr(x,f.mode,E),E.return=f,f=E}return o(f);case Zt:return x=pt(h._debugInfo),h=ja(h),f=fe(f,d,h,E),P=x,f}if(gt(h))return x=pt(h._debugInfo),f=Q(f,d,h,E),P=x,f;if(qe(h)){if(x=pt(h._debugInfo),$=qe(h),typeof $!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var k=$.call(h);return k===h?(f.tag!==0||Object.prototype.toString.call(f.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(k)!=="[object Generator]")&&(m0||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."),m0=!0):h.entries!==$||Td||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Td=!0),f=_e(f,d,k,E),P=x,f}if(typeof h.then=="function")return x=pt(h._debugInfo),f=fe(f,d,tc(h),E),P=x,f;if(h.$$typeof===_n)return fe(f,d,Ni(f,h),E);nc(f,h)}return typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint"?(x=""+h,d!==null&&d.tag===6?(n(f,d.sibling),E=l(d,x),E.return=f,f=E):(n(f,d),E=Qr(x,f.mode,E),E.return=f,E._debugOwner=f,E._debugTask=f._debugTask,E._debugInfo=P,f=E),o(f)):(typeof h=="function"&&ac(f,h),typeof h=="symbol"&&lc(f,h),n(f,d))}return function(f,d,h,E){var x=P;P=null;try{ni=0;var $=fe(f,d,h,E);return Du=null,$}catch(ke){if(ke===Fo||ke===Xc)throw ke;var k=g(29,ke,null,f.mode);k.lanes=E,k.return=f;var J=k._debugInfo=P;if(k._debugOwner=f._debugOwner,k._debugTask=f._debugTask,J!=null){for(var K=J.length-1;0<=K;K--)if(typeof J[K].stack=="string"){k._debugOwner=J[K],k._debugTask=J[K].debugTask;break}}return k}finally{P=x}}}function xa(e){var t=e.alternate;he(rt,rt.current&Cu,e),he(hn,e,e),Vn===null&&(t===null||Ru.current!==null||t.memoizedState!==null)&&(Vn=e)}function Qp(e){if(e.tag===22){if(he(rt,rt.current,e),he(hn,e,e),Vn===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Vn=e)}}else Ca(e)}function Ca(e){he(rt,rt.current,e),he(hn,hn.current,e)}function Wn(e){X(hn,e),Vn===e&&(Vn=null),X(rt,e)}function uc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===ha||Sf(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Us(e){if(e!==null&&typeof e!="function"){var t=String(e);M0.has(t)||(M0.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Hs(e,t,n,a){var l=e.memoizedState,u=n(a,l);if(e.mode&At){Te(!0);try{u=n(a,l)}finally{Te(!1)}}u===void 0&&(t=Oe(t)||"Component",D0.has(t)||(D0.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=u==null?l:te({},l,u),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function Zp(e,t,n,a,l,u,o){var i=e.stateNode;if(typeof i.shouldComponentUpdate=="function"){if(n=i.shouldComponentUpdate(a,u,o),e.mode&At){Te(!0);try{n=i.shouldComponentUpdate(a,u,o)}finally{Te(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Oe(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!lo(n,a)||!lo(l,u):!0}function $p(e,t,n,a){var l=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==l&&(e=L(e)||"Component",T0.has(e)||(T0.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Ed.enqueueReplaceState(t,t.state,null))}function pl(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=te({},n));for(var l in e)n[l]===void 0&&(n[l]=e[l])}return n}function Jp(e){Rd(e),console.warn(`%s
|
|
146
146
|
|
|
147
147
|
%s
|
|
148
|
-
`,
|
|
149
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Kp(e){var t=
|
|
148
|
+
`,wu?"An error occurred in the <"+wu+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
149
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Kp(e){var t=wu?"The above error occurred in the <"+wu+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Ad||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var a=e.environmentName;e=[`%o
|
|
150
150
|
|
|
151
151
|
%s
|
|
152
152
|
|
|
153
153
|
%s
|
|
154
|
-
`,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,cv+e[0],rv,pr+a+pr,sv):e.splice(0,0,cv,rv,pr+a+pr,sv),e.unshift(console),a=
|
|
154
|
+
`,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,cv+e[0],rv,pr+a+pr,sv):e.splice(0,0,cv,rv,pr+a+pr,sv),e.unshift(console),a=sT.apply(console.error,e),a()}else console.error(`%o
|
|
155
155
|
|
|
156
156
|
%s
|
|
157
157
|
|
|
158
158
|
%s
|
|
159
|
-
`,e,t,n)}function Wp(e){
|
|
159
|
+
`,e,t,n)}function Wp(e){Rd(e)}function oc(e,t){try{wu=t.source?L(t.source):null,Ad=null;var n=t.value;if(b.actQueue!==null)b.thrownErrors.push(n);else{var a=e.onUncaughtError;a(n,{componentStack:t.stack})}}catch(l){setTimeout(function(){throw l})}}function Ip(e,t,n){try{wu=n.source?L(n.source):null,Ad=L(t);var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function _s(e,t,n){return n=Aa(n),n.tag=hd,n.payload={element:null},n.callback=function(){q(t.source,oc,e,t)},n}function Bs(e){return e=Aa(e),e.tag=hd,e}function ks(e,t,n,a){var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var u=a.value;e.payload=function(){return l(u)},e.callback=function(){Fh(n),q(a.source,Ip,t,n,a)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){Fh(n),q(a.source,Ip,t,n,a),typeof l!="function"&&(Qa===null?Qa=new Set([this]):Qa.add(this)),j1(this,a),typeof l=="function"||(n.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.",L(n)||"Unknown")})}function Sb(e,t,n,a,l){if(n.flags|=32768,Sn&&Oo(e,l),a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&co(t,n,l,!0),ye&&(ca=!0),n=hn.current,n!==null){switch(n.tag){case 13:return Vn===null?tf():n.alternate===null&&Je===da&&(Je=Cd),n.flags&=-257,n.flags|=65536,n.lanes=l,a===dd?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),lf(e,a,l)),!1;case 22:return n.flags|=65536,a===dd?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),lf(e,a,l)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return lf(e,a,l),tf(),!1}if(ye)return ca=!0,t=hn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,a!==cd&&io(Vt(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:a}),n))):(a!==cd&&io(Vt(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:a}),n)),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,a=Vt(a,n),l=_s(e.stateNode,a,l),Gi(e,l),Je!==Ol&&(Je=Hu)),!1;var u=Vt(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:a}),n);if(si===null?si=[u]:si.push(u),Je!==Ol&&(Je=Hu),t===null)return!0;a=Vt(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=l&-l,n.lanes|=e,e=_s(n.stateNode,a,e),Gi(n,e),!1;case 1:if(t=n.type,u=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Qa===null||!Qa.has(u))))return n.flags|=65536,l&=-l,n.lanes|=l,l=Bs(l),ks(l,e,n,a),Gi(n,l),!1}n=n.return}while(n!==null);return!1}function mt(e,t,n,a){t.child=e===null?b0(t,null,n,a):xu(t,e.child,n,a)}function Fp(e,t,n,a,l){n=n.render;var u=t.ref;if("ref"in a){var o={};for(var i in a)i!=="ref"&&(o[i]=a[i])}else o=a;return rl(t),Dn(t),a=is(e,t,n,o,u,l),i=rs(),ga(),e!==null&&!dt?(ss(e,t,l),In(e,t,l)):(ye&&i&&$r(t),t.flags|=1,mt(e,t,a,l),t.child)}function Pp(e,t,n,a,l){if(e===null){var u=n.type;return typeof u=="function"&&!Gr(u)&&u.defaultProps===void 0&&n.compare===null?(n=al(u),t.tag=15,t.type=n,Ns(t,u),em(e,t,n,a,l)):(e=Xr(n.type,null,a,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Xs(e,l)){var o=u.memoizedProps;if(n=n.compare,n=n!==null?n:lo,n(o,a)&&e.ref===t.ref)return In(e,t,l)}return t.flags|=1,e=$n(u,a),e.ref=t.ref,e.return=t,t.child=e}function em(e,t,n,a,l){if(e!==null){var u=e.memoizedProps;if(lo(u,a)&&e.ref===t.ref&&t.type===e.type)if(dt=!1,t.pendingProps=a=u,Xs(e,l))(e.flags&131072)!==0&&(dt=!0);else return t.lanes=e.lanes,In(e,t,l)}return Ls(e,t,n,a,l)}function tm(e,t,n){var a=t.pendingProps,l=a.children,u=e!==null?e.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=u!==null?u.baseLanes|n:n,e!==null){for(l=t.child=e.child,u=0;l!==null;)u=u|l.lanes|l.childLanes,l=l.sibling;t.childLanes=u&~a}else t.childLanes=0,t.child=null;return nm(e,t,a,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ji(t,u!==null?u.cachePool:null),u!==null?yp(t,u):ls(t),Qp(t);else return t.lanes=t.childLanes=536870912,nm(e,t,u!==null?u.baseLanes|n:n,n)}else u!==null?(ji(t,u.cachePool),yp(t,u),Ca(t),t.memoizedState=null):(e!==null&&ji(t,null),ls(t),Ca(t));return mt(e,t,l,n),t.child}function nm(e,t,n,a){var l=ts();return l=l===null?null:{parent:it._currentValue,pool:l},t.memoizedState={baseLanes:n,cachePool:l},e!==null&&ji(t,null),ls(t),Qp(t),e!==null&&co(e,t,a,!0),null}function ic(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Ls(e,t,n,a,l){if(n.prototype&&typeof n.prototype.render=="function"){var u=Oe(n)||"Unknown";U0[u]||(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.",u,u),U0[u]=!0)}return t.mode&At&&En.recordLegacyContextWarning(t,null),e===null&&(Ns(t,t.type),n.contextTypes&&(u=Oe(n)||"Unknown",_0[u]||(_0[u]=!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)",u)))),rl(t),Dn(t),n=is(e,t,n,a,void 0,l),a=rs(),ga(),e!==null&&!dt?(ss(e,t,l),In(e,t,l)):(ye&&a&&$r(t),t.flags|=1,mt(e,t,n,l),t.child)}function am(e,t,n,a,l,u){return rl(t),Dn(t),sa=-1,ti=e!==null&&e.type!==t.type,t.updateQueue=null,n=cs(t,a,n,l),gp(e,t),a=rs(),ga(),e!==null&&!dt?(ss(e,t,u),In(e,t,u)):(ye&&a&&$r(t),t.flags|=1,mt(e,t,n,u),t.child)}function lm(e,t,n,a,l){switch(Le(t)){case!1:var u=t.stateNode,o=new t.type(t.memoizedProps,u.context).state;u.updater.enqueueSetState(u,o,null);break;case!0:t.flags|=128,t.flags|=65536,u=Error("Simulated error coming from DevTools");var i=l&-l;if(t.lanes|=i,o=He,o===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");i=Bs(i),ks(i,o,t,Vt(u,t)),Gi(t,i)}if(rl(t),t.stateNode===null){if(o=Na,u=n.contextType,"contextType"in n&&u!==null&&(u===void 0||u.$$typeof!==_n)&&!w0.has(n)&&(w0.add(n),i=u===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 u!="object"?" However, it is set to a "+typeof u+".":u.$$typeof===Uf?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(u).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Oe(n)||"Component",i)),typeof u=="object"&&u!==null&&(o=Ge(u)),u=new n(a,o),t.mode&At){Te(!0);try{u=new n(a,o)}finally{Te(!1)}}if(o=t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ed,t.stateNode=u,u._reactInternals=t,u._reactInternalInstance=S0,typeof n.getDerivedStateFromProps=="function"&&o===null&&(o=Oe(n)||"Component",E0.has(o)||(E0.add(o),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.",o,u.state===null?"null":"undefined",o))),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"){var r=i=o=null;if(typeof u.componentWillMount=="function"&&u.componentWillMount.__suppressDeprecationWarning!==!0?o="componentWillMount":typeof u.UNSAFE_componentWillMount=="function"&&(o="UNSAFE_componentWillMount"),typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps.__suppressDeprecationWarning!==!0?i="componentWillReceiveProps":typeof u.UNSAFE_componentWillReceiveProps=="function"&&(i="UNSAFE_componentWillReceiveProps"),typeof u.componentWillUpdate=="function"&&u.componentWillUpdate.__suppressDeprecationWarning!==!0?r="componentWillUpdate":typeof u.UNSAFE_componentWillUpdate=="function"&&(r="UNSAFE_componentWillUpdate"),o!==null||i!==null||r!==null){u=Oe(n)||"Component";var s=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";A0.has(u)||(A0.add(u),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
160
160
|
|
|
161
161
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
162
162
|
|
|
163
163
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
164
|
-
https://react.dev/link/unsafe-component-lifecycles`,
|
|
165
|
-
`+
|
|
164
|
+
https://react.dev/link/unsafe-component-lifecycles`,u,s,o!==null?`
|
|
165
|
+
`+o:"",i!==null?`
|
|
166
166
|
`+i:"",r!==null?`
|
|
167
|
-
`+r:""))}}
|
|
168
|
-
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=xe(t)||"Unknown",k0[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),k0[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=xe(t)||"Unknown",H0[t]||(console.error("%s: Function components do not support contextType.",t),H0[t]=!0))}function js(e){return{baseLanes:e,cachePool:cp()}}function Vs(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Wt),e}function um(e,t,n){var a,l=t.pendingProps;ae(t)&&(t.flags|=128);var o=!1,u=(t.flags&128)!==0;if((a=u)||(a=e!==null&&e.memoizedState===null?!1:(rt.current&ai)!==0),a&&(o=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(ge){if(o?Da(t):Ca(t),ge){var i=$e,r;if(!(r=!i)){e:{var s=i;for(r=qn;s.nodeType!==8;){if(!r){r=null;break e}if(s=nn(s.nextSibling),s===null){r=null;break e}}r=s}r!==null?(ul(),t.memoizedState={dehydrated:r,treeContext:vl!==null?{id:ua,overflow:ia}:null,retryLane:536870912,hydrationErrors:null},s=g(18,null,null,Be),s.stateNode=r,s.return=t,t.child=s,wt=t,$e=null,r=!0):r=!1,r=!r}r&&(Ir(t,i),cl(t))}if(i=t.memoizedState,i!==null&&(i=i.dehydrated,i!==null))return Ef(i)?t.lanes=32:t.lanes=536870912,null;Wn(t)}return i=l.children,l=l.fallback,o?(Ca(t),o=t.mode,i=cc({mode:"hidden",children:i},o),l=ll(l,o,n,null),i.return=t,l.return=t,i.sibling=l,t.child=i,o=t.child,o.memoizedState=js(n),o.childLanes=Vs(e,a,n),t.memoizedState=Cd,l):(Da(t),Gs(t,i))}var y=e.memoizedState;if(y!==null&&(i=y.dehydrated,i!==null)){if(u)t.flags&256?(Da(t),t.flags&=-257,t=Xs(e,t,n)):t.memoizedState!==null?(Ca(t),t.child=e.child,t.flags|=128,t=null):(Ca(t),o=l.fallback,i=t.mode,l=cc({mode:"visible",children:l.children},i),o=ll(o,i,n,null),o.flags|=2,l.return=t,o.return=t,l.sibling=o,t.child=l,Co(t,e.child,null,n),l=t.child,l.memoizedState=js(n),l.childLanes=Vs(e,a,n),t.memoizedState=Cd,t=o);else if(Da(t),ge&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Ef(i)){if(a=i.nextSibling&&i.nextSibling.dataset,a){r=a.dgst;var S=a.msg;s=a.stck;var m=a.cstck}i=S,a=r,l=s,r=o=m,o=Error(i||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),o.stack=l||"",o.digest=a,a=r===void 0?null:r,l={value:o,source:null,stack:a},typeof a=="string"&&cd.set(o,l),cu(l),t=Xs(e,t,n)}else if(dt||ru(e,t,n,!1),a=(n&e.childLanes)!==0,dt||a){if(a=_e,a!==null&&(l=n&-n,l=(l&42)!==0?1:Ko(l),l=(l&(a.suspendedLanes|n))!==0?0:l,l!==0&&l!==y.retryLane))throw y.retryLane=l,_t(e,l),Ie(a,e,l),z0;i.data===ha||af(),t=Xs(e,t,n)}else i.data===ha?(t.flags|=192,t.child=e.child,t=null):(e=y.treeContext,$e=nn(i.nextSibling),wt=t,ge=!0,bl=null,ca=!1,rn=null,qn=!1,e!==null&&(ul(),un[cn++]=ua,un[cn++]=ia,un[cn++]=vl,ua=e.id,ia=e.overflow,vl=t),t=Gs(t,l.children),t.flags|=4096);return t}return o?(Ca(t),o=l.fallback,i=t.mode,r=e.child,s=r.sibling,l=$n(r,{mode:"hidden",children:l.children}),l.subtreeFlags=r.subtreeFlags&65011712,s!==null?o=$n(s,o):(o=ll(o,i,n,null),o.flags|=2),o.return=t,l.return=t,l.sibling=o,t.child=l,l=o,o=t.child,i=e.child.memoizedState,i===null?i=js(n):(r=i.cachePool,r!==null?(s=it._currentValue,r=r.parent!==s?{parent:s,pool:s}:r):r=cp(),i={baseLanes:i.baseLanes|n,cachePool:r}),o.memoizedState=i,o.childLanes=Vs(e,a,n),t.memoizedState=Cd,l):(Da(t),n=e.child,e=n.sibling,n=$n(n,{mode:"visible",children:l.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function Gs(e,t){return t=cc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function cc(e,t){return e=g(22,e,null,t),e.lanes=0,e.stateNode={_visibility:Bc,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Xs(e,t,n){return Co(t,e.child,null,n),e=Gs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function im(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Fr(e.return,t,n)}function cm(e,t){var n=gt(e);return e=!n&&typeof qe(e)=="function",n||e?(n=n?"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>",n,t,n),!1):!0}function Qs(e,t,n,a,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=l)}function rm(e,t,n){var a=t.pendingProps,l=a.revealOrder,o=a.tail;if(a=a.children,l!==void 0&&l!=="forwards"&&l!=="backwards"&&l!=="together"&&!B0[l])if(B0[l]=!0,typeof l=="string")switch(l.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',l,l.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.',l,l.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',l);o===void 0||Dd[o]||(o!=="collapsed"&&o!=="hidden"?(Dd[o]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',o)):l!=="forwards"&&l!=="backwards"&&(Dd[o]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',o)));e:if((l==="forwards"||l==="backwards")&&a!==void 0&&a!==null&&a!==!1)if(gt(a)){for(var u=0;u<a.length;u++)if(!cm(a[u],u))break e}else if(u=qe(a),typeof u=="function"){if(u=u.call(a))for(var i=u.next(),r=0;!i.done;i=u.next()){if(!cm(i.value,r))break e;r++}}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?',l);if(mt(e,t,a,n),a=rt.current,(a&ai)!==0)a=a&wo|ai,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&im(e,n,t);else if(e.tag===19)im(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=wo}switch(me(rt,a,t),l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&oc(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Qs(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&oc(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Qs(t,!0,n,null,o);break;case"together":Qs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function In(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nt=-1,Ga|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ru(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=$n(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=$n(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Zs(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Li(e)))}function Rb(e,t,n){switch(t.tag){case 3:lt(t,t.stateNode.containerInfo),Ra(t,it,e.memoizedState.cache),iu();break;case 27:case 5:X(t);break;case 4:lt(t,t.stateNode.containerInfo);break;case 10:Ra(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(Da(t),t.flags|=128,null):(n&t.child.childLanes)!==0?um(e,t,n):(Da(t),e=In(e,t,n),e!==null?e.sibling:null);Da(t);break;case 19:var l=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(ru(e,t,n,!1),a=(n&t.childLanes)!==0),l){if(a)return rm(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),me(rt,rt.current,t),a)break;return null;case 22:case 23:return t.lanes=0,tm(e,t,n);case 24:Ra(t,it,e.memoizedState.cache)}return In(e,t,n)}function $s(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Zr(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===a.child)a.child=n;else{var l=a.child;if(l===null)throw Error("Expected parent to have a child.");for(;l.sibling!==t;)if(l=l.sibling,l===null)throw Error("Expected to find the previous sibling.");l.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)dt=!0;else{if(!Zs(e,n)&&(t.flags&128)===0)return dt=!1,Rb(e,t,n);dt=(e.flags&131072)!==0}else dt=!1,(a=ge)&&(ul(),a=(t.flags&1048576)!==0),a&&(a=t.index,ul(),ep(t,Nc,a));switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=ja(t.elementType),t.type=e,typeof e=="function")Qr(e)?(a=pl(e,a),t.tag=1,t.type=e=al(e),t=lm(null,t,e,a,n)):(t.tag=0,qs(t,e),t.type=e=al(e),t=Ys(null,t,e,a,n));else{if(e!=null){if(l=e.$$typeof,l===Hu){t.tag=11,t.type=e=Gr(e),t=Fp(null,t,e,a,n);break e}else if(l===xc){t.tag=14,t=Pp(null,t,e,a,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Zt&&(t=" Did you wrap a component in React.lazy() more than once?"),e=xe(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Ys(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,l=pl(a,t.pendingProps),lm(e,t,a,l,n);case 3:e:{if(lt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var o=t.memoizedState;l=o.element,os(e,t),pu(t,a,null,n);var u=t.memoizedState;if(a=u.cache,Ra(t,it,a),a!==o.cache&&Pr(t,[it],n,!0),hu(),a=u.element,o.isDehydrated)if(o={element:a,isDehydrated:!1,cache:u.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=om(e,t,a,n);break e}else if(a!==l){l=Vt(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),cu(l),t=om(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for($e=nn(e.firstChild),wt=t,ge=!0,bl=null,ca=!1,rn=null,qn=!0,e=b0(t,null,a,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(iu(),a===l){t=In(e,t,n);break e}mt(e,t,a,n)}t=t.child}return t;case 26:return ic(e,t),e===null?(e=Cy(t.type,null,t.pendingProps,null))?t.memoizedState=e:ge||(e=t.type,n=t.pendingProps,a=je(_a.current),a=yc(a).createElement(e),a[Rt]=t,a[Lt]=n,yt(a,e,n),p(a),t.stateNode=a):t.memoizedState=Cy(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return X(t),e===null&&ge&&(a=je(_a.current),l=w(),a=t.stateNode=Oy(t.type,t.pendingProps,a,l,!1),ca||(l=gy(a,t.type,t.pendingProps,l),l!==null&&(il(t,0).serverProps=l)),wt=t,qn=!0,l=$e,za(t.type)?(Id=l,$e=nn(a.firstChild)):$e=l),mt(e,t,t.pendingProps.children,n),ic(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ge&&(o=w(),a=Nr(t.type,o.ancestorInfo),l=$e,(u=!l)||(u=uS(l,t.type,t.pendingProps,qn),u!==null?(t.stateNode=u,ca||(o=gy(u,t.type,t.pendingProps,o),o!==null&&(il(t,0).serverProps=o)),wt=t,$e=nn(u.firstChild),qn=!1,o=!0):o=!1,u=!o),u&&(a&&Ir(t,l),cl(t))),X(t),l=t.type,o=t.pendingProps,u=e!==null?e.memoizedProps:null,a=o.children,Sf(l,o)?a=null:u!==null&&Sf(l,u)&&(t.flags|=32),t.memoizedState!==null&&(l=rs(e,t,gb,null,null,n),vi._currentValue=l),ic(e,t),mt(e,t,a,n),t.child;case 6:return e===null&&ge&&(e=t.pendingProps,n=w(),a=n.ancestorInfo.current,e=a!=null?Ci(e,a.tag,n.ancestorInfo.implicitRootScope):!0,n=$e,(a=!n)||(a=iS(n,t.pendingProps,qn),a!==null?(t.stateNode=a,wt=t,$e=null,a=!0):a=!1,a=!a),a&&(e&&Ir(t,n),cl(t))),null;case 13:return um(e,t,n);case 4:return lt(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Co(t,null,a,n):mt(e,t,a,n),t.child;case 11:return Fp(e,t,t.type,t.pendingProps,n);case 7:return mt(e,t,t.pendingProps,n),t.child;case 8:return mt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,mt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.type,l=t.pendingProps,o=l.value,"value"in l||L0||(L0=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ra(t,a,o),mt(e,t,l.children,n),t.child;case 9:return l=t.type._context,a=t.pendingProps.children,typeof a!="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."),rl(t),l=Ge(l),On(t),a=Td(a,l,void 0),ga(),t.flags|=1,mt(e,t,a,n),t.child;case 14:return Pp(e,t,t.type,t.pendingProps,n);case 15:return em(e,t,t.type,t.pendingProps,n);case 19:return rm(e,t,n);case 31:return a=t.pendingProps,n=t.mode,a={mode:a.mode,children:a.children},e===null?(e=cc(a,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=$n(e.child,a),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return tm(e,t,n);case 24:return rl(t),a=Ge(it),e===null?(l=as(),l===null&&(l=_e,o=es(),l.pooledCache=o,sl(o),o!==null&&(l.pooledCacheLanes|=n),l=o),t.memoizedState={parent:a,cache:l},ls(t),Ra(t,it,l)):((e.lanes&n)!==0&&(os(e,t),pu(t,null,null,n),hu()),l=e.memoizedState,o=t.memoizedState,l.parent!==a?(l={parent:a,cache:a},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),Ra(t,it,a)):(a=o.cache,Ra(t,it,a),a!==l.cache&&Pr(t,[it],n,!0))),mt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Fn(e){e.flags|=4}function sm(e,t){if(t.type!=="stylesheet"||(t.state.loading&pn)!==_l)e.flags&=-16777217;else if(e.flags|=16777216,!Hy(t)){if(t=hn.current,t!==null&&((fe&4194048)===fe?Vn!==null:(fe&62914560)!==fe&&(fe&536870912)===0||t!==Vn))throw Pu=pd,$g;e.flags|=8192}}function rc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Pa():536870912,e.lanes|=t,Cl|=t)}function bu(e,t){if(!ge)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&vt)!==Be){for(var l=e.selfBaseDuration,o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&65011712,a|=o.flags&65011712,l+=o.treeBaseDuration,o=o.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags&65011712,a|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&vt)!==Be){l=e.actualDuration,o=e.selfBaseDuration;for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,l+=u.actualDuration,o+=u.treeBaseDuration,u=u.sibling;e.actualDuration=l,e.treeBaseDuration=o}else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags,a|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function Ab(e,t,n){var a=t.pendingProps;switch(Wr(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(t),null;case 1:return Xe(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Jn(it,t),ot(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(uu(t)?(lp(),Fn(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ap())),Xe(t),null;case 26:return n=t.memoizedState,e===null?(Fn(t),n!==null?(Xe(t),sm(t,n)):(Xe(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Fn(t),Xe(t),sm(t,n)):(Xe(t),t.flags&=-16777217):(e.memoizedProps!==a&&Fn(t),Xe(t),t.flags&=-16777217),null;case 27:q(t),n=je(_a.current);var l=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Fn(t);else{if(!a){if(t.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 Xe(t),null}e=w(),uu(t)?tp(t):(e=Oy(l,a,n,e,!0),t.stateNode=e,Fn(t))}return Xe(t),null;case 5:if(q(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Fn(t);else{if(!a){if(t.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 Xe(t),null}if(l=w(),uu(t))tp(t);else{switch(e=je(_a.current),Nr(n,l.ancestorInfo),l=l.context,e=yc(e),l){case qo:e=e.createElementNS(co,n);break;case fr:e=e.createElementNS(zc,n);break;default:switch(n){case"svg":e=e.createElementNS(co,n);break;case"math":e=e.createElementNS(zc,n);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?e.createElement("select",{is:a.is}):e.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?e.createElement(n,{is:a.is}):e.createElement(n),n.indexOf("-")===-1&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||aa.call(nv,n)||(nv[n]=!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.",n)))}}e[Rt]=t,e[Lt]=a;e:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)e.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;l.sibling===null;){if(l.return===null||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=e;e:switch(yt(e,n,a),n){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Fn(t)}}return Xe(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Fn(t);else{if(typeof a!="string"&&t.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(e=je(_a.current),n=w(),uu(t)){e=t.stateNode,n=t.memoizedProps,l=!ca,a=null;var o=wt;if(o!==null)switch(o.tag){case 3:l&&(l=Ry(e,n,a),l!==null&&(il(t,0).serverProps=l));break;case 27:case 5:a=o.memoizedProps,l&&(l=Ry(e,n,a),l!==null&&(il(t,0).serverProps=l))}e[Rt]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||dy(e.nodeValue,n)),e||cl(t)}else l=n.ancestorInfo.current,l!=null&&Ci(a,l.tag,n.ancestorInfo.implicitRootScope),e=yc(e).createTextNode(a),e[Rt]=t,t.stateNode=e}return Xe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=uu(t),a!==null&&a.dehydrated!==null){if(e===null){if(!l)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");l[Rt]=t,Xe(t),(t.mode&vt)!==Be&&a!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else lp(),iu(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,Xe(t),(t.mode&vt)!==Be&&a!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=ap(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(Wn(t),t):(Wn(t),null)}return Wn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&vt)!==Be&&qi(t),t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,l=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(l=a.alternate.memoizedState.cachePool.pool),o=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==l&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),rc(t,t.updateQueue),Xe(t),(t.mode&vt)!==Be&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return ot(t),e===null&&hf(t.stateNode.containerInfo),Xe(t),null;case 10:return Jn(t.type,t),Xe(t),null;case 19:if(Z(rt,t),l=t.memoizedState,l===null)return Xe(t),null;if(a=(t.flags&128)!==0,o=l.rendering,o===null)if(a)bu(l,!1);else{if(Je!==da||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=oc(e),o!==null){for(t.flags|=128,bu(l,!1),e=o.updateQueue,t.updateQueue=e,rc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ph(n,e),n=n.sibling;return me(rt,rt.current&wo|ai,t),t.child}e=e.sibling}l.tail!==null&&kn()>Pc&&(t.flags|=128,a=!0,bu(l,!1),t.lanes=4194304)}else{if(!a)if(e=oc(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,rc(t,e),bu(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!ge)return Xe(t),null}else 2*kn()-l.renderingStartTime>Pc&&n!==536870912&&(t.flags|=128,a=!0,bu(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(e=l.last,e!==null?e.sibling=o:t.child=o,l.last=o)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=kn(),e.sibling=null,n=rt.current,n=a?n&wo|ai:n&wo,me(rt,n,t),e):(Xe(t),null);case 22:case 23:return Wn(t),is(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),n=t.updateQueue,n!==null&&rc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&Z(El,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Jn(it,t),Xe(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function xb(e,t){switch(Wr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&vt)!==Be&&qi(t),t):null;case 3:return Jn(it,t),ot(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return q(t),null;case 13:if(Wn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");iu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&vt)!==Be&&qi(t),t):null;case 19:return Z(rt,t),null;case 4:return ot(t),null;case 10:return Jn(t.type,t),null;case 22:case 23:return Wn(t),is(t),e!==null&&Z(El,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&vt)!==Be&&qi(t),t):null;case 24:return Jn(it,t),null;case 25:return null;default:return null}}function fm(e,t){switch(Wr(t),t.tag){case 3:Jn(it,t),ot(t);break;case 26:case 27:case 5:q(t);break;case 4:ot(t);break;case 13:Wn(t);break;case 19:Z(rt,t);break;case 10:Jn(t.type,t);break;case 22:case 23:Wn(t),is(t),e!==null&&Z(El,t);break;case 24:Jn(it,t)}}function wn(e){return(e.mode&vt)!==Be}function dm(e,t){wn(e)?(Cn(),Su(t,e),Dn()):Su(t,e)}function Js(e,t,n){wn(e)?(Cn(),Jl(n,e,t),Dn()):Jl(n,e,t)}function Su(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var l=a.next;n=l;do{if((n.tag&e)===e&&((e&ct)!==sn?U!==null&&typeof U.markComponentPassiveEffectMountStarted=="function"&&U.markComponentPassiveEffectMountStarted(t):(e&bt)!==sn&&U!==null&&typeof U.markComponentLayoutEffectMountStarted=="function"&&U.markComponentLayoutEffectMountStarted(t),a=void 0,(e&Mt)!==sn&&(No=!0),a=Y(t,X1,n),(e&Mt)!==sn&&(No=!1),(e&ct)!==sn?U!==null&&typeof U.markComponentPassiveEffectMountStopped=="function"&&U.markComponentPassiveEffectMountStopped():(e&bt)!==sn&&U!==null&&typeof U.markComponentLayoutEffectMountStopped=="function"&&U.markComponentLayoutEffectMountStopped(),a!==void 0&&typeof a!="function")){var o=void 0;o=(n.tag&bt)!==0?"useLayoutEffect":(n.tag&Mt)!==0?"useInsertionEffect":"useEffect";var u=void 0;u=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then=="function"?`
|
|
167
|
+
`+r:""))}}u=t.stateNode,o=Oe(n)||"Component",u.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",o):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",o)),!u.getInitialState||u.getInitialState.isReactClassApproved||u.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?",o),u.getDefaultProps&&!u.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.",o),u.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),n.childContextTypes&&!C0.has(n)&&(C0.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",o)),n.contextTypes&&!x0.has(n)&&(x0.add(n),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)",o)),typeof u.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.",o),n.prototype&&n.prototype.isPureReactComponent&&typeof u.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.",Oe(n)||"A pure component"),typeof u.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),typeof u.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().",o),typeof u.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),typeof u.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o),i=u.props!==a,u.props!==void 0&&i&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o),u.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.",o,o),typeof u.getSnapshotBeforeUpdate!="function"||typeof u.componentDidUpdate=="function"||R0.has(n)||(R0.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Oe(n))),typeof u.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof u.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o),(i=u.state)&&(typeof i!="object"||gt(i))&&console.error("%s.state: must be set to an object or null",o),typeof u.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o),u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},ns(t),o=n.contextType,u.context=typeof o=="object"&&o!==null?Ge(o):Na,u.state===a&&(o=Oe(n)||"Component",O0.has(o)||(O0.add(o),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.",o))),t.mode&At&&En.recordLegacyContextWarning(t,u),En.recordUnsafeLifecycleWarnings(t,u),u.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(Hs(t,n,o,a),u.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(o=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),o!==u.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",L(t)||"Component"),Ed.enqueueReplaceState(u,u.state,null)),po(t,a,u,l),ho(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Tn)!==Be&&(t.flags|=134217728),u=!0}else if(e===null){u=t.stateNode;var y=t.memoizedProps;i=pl(n,y),u.props=i;var S=u.context;r=n.contextType,o=Na,typeof r=="object"&&r!==null&&(o=Ge(r)),s=n.getDerivedStateFromProps,r=typeof s=="function"||typeof u.getSnapshotBeforeUpdate=="function",y=t.pendingProps!==y,r||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(y||S!==o)&&$p(t,u,a,o),qa=!1;var m=t.memoizedState;u.state=m,po(t,a,u,l),ho(),S=t.memoizedState,y||m!==S||qa?(typeof s=="function"&&(Hs(t,n,s,a),S=t.memoizedState),(i=qa||Zp(t,n,i,a,m,S,o))?(r||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Tn)!==Be&&(t.flags|=134217728)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Tn)!==Be&&(t.flags|=134217728),t.memoizedProps=a,t.memoizedState=S),u.props=a,u.state=S,u.context=o,u=i):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Tn)!==Be&&(t.flags|=134217728),u=!1)}else{u=t.stateNode,as(e,t),o=t.memoizedProps,r=pl(n,o),u.props=r,s=t.pendingProps,m=u.context,S=n.contextType,i=Na,typeof S=="object"&&S!==null&&(i=Ge(S)),y=n.getDerivedStateFromProps,(S=typeof y=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==s||m!==i)&&$p(t,u,a,i),qa=!1,m=t.memoizedState,u.state=m,po(t,a,u,l),ho();var T=t.memoizedState;o!==s||m!==T||qa||e!==null&&e.dependencies!==null&&Li(e.dependencies)?(typeof y=="function"&&(Hs(t,n,y,a),T=t.memoizedState),(r=qa||Zp(t,n,r,a,m,T,i)||e!==null&&e.dependencies!==null&&Li(e.dependencies))?(S||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,T,i),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,T,i)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=T),u.props=a,u.state=T,u.context=i,u=r):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),u=!1)}if(i=u,ic(e,t),o=(t.flags&128)!==0,i||o){if(i=t.stateNode,wr(t),o&&typeof n.getDerivedStateFromError!="function")n=null,Nt=-1;else{if(Dn(t),n=u0(i),t.mode&At){Te(!0);try{u0(i)}finally{Te(!1)}}ga()}t.flags|=1,e!==null&&o?(t.child=xu(t,e.child,null,l),t.child=xu(t,null,n,l)):mt(e,t,n,l),t.memoizedState=i.state,e=t.child}else e=In(e,t,l);return l=t.stateNode,u&&l.props!==a&&(Mu||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",L(t)||"a component"),Mu=!0),e}function um(e,t,n,a){return oo(),t.flags|=256,mt(e,t,n,a),t.child}function Ns(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
168
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=Oe(t)||"Unknown",B0[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),B0[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=Oe(t)||"Unknown",H0[t]||(console.error("%s: Function components do not support contextType.",t),H0[t]=!0))}function qs(e){return{baseLanes:e,cachePool:cp()}}function Ys(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Wt),e}function om(e,t,n){var a,l=t.pendingProps;pe(t)&&(t.flags|=128);var u=!1,o=(t.flags&128)!==0;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(rt.current&ai)!==0),a&&(u=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(ye){if(u?xa(t):Ca(t),ye){var i=$e,r;if(!(r=!i)){e:{var s=i;for(r=Yn;s.nodeType!==8;){if(!r){r=null;break e}if(s=nn(s.nextSibling),s===null){r=null;break e}}r=s}r!==null?(ol(),t.memoizedState={dehydrated:r,treeContext:vl!==null?{id:oa,overflow:ia}:null,retryLane:536870912,hydrationErrors:null},s=g(18,null,null,Be),s.stateNode=r,s.return=t,t.child=s,wt=t,$e=null,r=!0):r=!1,r=!r}r&&(Kr(t,i),cl(t))}if(i=t.memoizedState,i!==null&&(i=i.dehydrated,i!==null))return Sf(i)?t.lanes=32:t.lanes=536870912,null;Wn(t)}return i=l.children,l=l.fallback,u?(Ca(t),u=t.mode,i=cc({mode:"hidden",children:i},u),l=ll(l,u,n,null),i.return=t,l.return=t,i.sibling=l,t.child=i,u=t.child,u.memoizedState=qs(n),u.childLanes=Ys(e,a,n),t.memoizedState=Dd,l):(xa(t),js(t,i))}var y=e.memoizedState;if(y!==null&&(i=y.dehydrated,i!==null)){if(o)t.flags&256?(xa(t),t.flags&=-257,t=Vs(e,t,n)):t.memoizedState!==null?(Ca(t),t.child=e.child,t.flags|=128,t=null):(Ca(t),u=l.fallback,i=t.mode,l=cc({mode:"visible",children:l.children},i),u=ll(u,i,n,null),u.flags|=2,l.return=t,u.return=t,l.sibling=u,t.child=l,xu(t,e.child,null,n),l=t.child,l.memoizedState=qs(n),l.childLanes=Ys(e,a,n),t.memoizedState=Dd,t=u);else if(xa(t),ye&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Sf(i)){if(a=i.nextSibling&&i.nextSibling.dataset,a){r=a.dgst;var S=a.msg;s=a.stck;var m=a.cstck}i=S,a=r,l=s,r=u=m,u=Error(i||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),u.stack=l||"",u.digest=a,a=r===void 0?null:r,l={value:u,source:null,stack:a},typeof a=="string"&&od.set(u,l),io(l),t=Vs(e,t,n)}else if(dt||co(e,t,n,!1),a=(n&e.childLanes)!==0,dt||a){if(a=He,a!==null&&(l=n&-n,l=(l&42)!==0?1:Ju(l),l=(l&(a.suspendedLanes|n))!==0?0:l,l!==0&&l!==y.retryLane))throw y.retryLane=l,_t(e,l),Ie(a,e,l),z0;i.data===ha||tf(),t=Vs(e,t,n)}else i.data===ha?(t.flags|=192,t.child=e.child,t=null):(e=y.treeContext,$e=nn(i.nextSibling),wt=t,ye=!0,bl=null,ca=!1,rn=null,Yn=!1,e!==null&&(ol(),on[cn++]=oa,on[cn++]=ia,on[cn++]=vl,oa=e.id,ia=e.overflow,vl=t),t=js(t,l.children),t.flags|=4096);return t}return u?(Ca(t),u=l.fallback,i=t.mode,r=e.child,s=r.sibling,l=$n(r,{mode:"hidden",children:l.children}),l.subtreeFlags=r.subtreeFlags&65011712,s!==null?u=$n(s,u):(u=ll(u,i,n,null),u.flags|=2),u.return=t,l.return=t,l.sibling=u,t.child=l,l=u,u=t.child,i=e.child.memoizedState,i===null?i=qs(n):(r=i.cachePool,r!==null?(s=it._currentValue,r=r.parent!==s?{parent:s,pool:s}:r):r=cp(),i={baseLanes:i.baseLanes|n,cachePool:r}),u.memoizedState=i,u.childLanes=Ys(e,a,n),t.memoizedState=Dd,l):(xa(t),n=e.child,e=n.sibling,n=$n(n,{mode:"visible",children:l.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function js(e,t){return t=cc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function cc(e,t){return e=g(22,e,null,t),e.lanes=0,e.stateNode={_visibility:kc,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Vs(e,t,n){return xu(t,e.child,null,n),e=js(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function im(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Wr(e.return,t,n)}function cm(e,t){var n=gt(e);return e=!n&&typeof qe(e)=="function",n||e?(n=n?"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>",n,t,n),!1):!0}function Gs(e,t,n,a,l){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:l}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=n,u.tailMode=l)}function rm(e,t,n){var a=t.pendingProps,l=a.revealOrder,u=a.tail;if(a=a.children,l!==void 0&&l!=="forwards"&&l!=="backwards"&&l!=="together"&&!k0[l])if(k0[l]=!0,typeof l=="string")switch(l.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',l,l.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.',l,l.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',l);u===void 0||Od[u]||(u!=="collapsed"&&u!=="hidden"?(Od[u]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',u)):l!=="forwards"&&l!=="backwards"&&(Od[u]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',u)));e:if((l==="forwards"||l==="backwards")&&a!==void 0&&a!==null&&a!==!1)if(gt(a)){for(var o=0;o<a.length;o++)if(!cm(a[o],o))break e}else if(o=qe(a),typeof o=="function"){if(o=o.call(a))for(var i=o.next(),r=0;!i.done;i=o.next()){if(!cm(i.value,r))break e;r++}}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?',l);if(mt(e,t,a,n),a=rt.current,(a&ai)!==0)a=a&Cu|ai,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&im(e,n,t);else if(e.tag===19)im(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=Cu}switch(he(rt,a,t),l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&uc(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Gs(t,!1,l,n,u);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&uc(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Gs(t,!0,n,null,u);break;case"together":Gs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function In(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nt=-1,Ga|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(co(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=$n(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=$n(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Xs(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Li(e)))}function Tb(e,t,n){switch(t.tag){case 3:lt(t,t.stateNode.containerInfo),Ra(t,it,e.memoizedState.cache),oo();break;case 27:case 5:V(t);break;case 4:lt(t,t.stateNode.containerInfo);break;case 10:Ra(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(xa(t),t.flags|=128,null):(n&t.child.childLanes)!==0?om(e,t,n):(xa(t),e=In(e,t,n),e!==null?e.sibling:null);xa(t);break;case 19:var l=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(co(e,t,n,!1),a=(n&t.childLanes)!==0),l){if(a)return rm(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),he(rt,rt.current,t),a)break;return null;case 22:case 23:return t.lanes=0,tm(e,t,n);case 24:Ra(t,it,e.memoizedState.cache)}return In(e,t,n)}function Qs(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Xr(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===a.child)a.child=n;else{var l=a.child;if(l===null)throw Error("Expected parent to have a child.");for(;l.sibling!==t;)if(l=l.sibling,l===null)throw Error("Expected to find the previous sibling.");l.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)dt=!0;else{if(!Xs(e,n)&&(t.flags&128)===0)return dt=!1,Tb(e,t,n);dt=(e.flags&131072)!==0}else dt=!1,(a=ye)&&(ol(),a=(t.flags&1048576)!==0),a&&(a=t.index,ol(),ep(t,Nc,a));switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=ja(t.elementType),t.type=e,typeof e=="function")Gr(e)?(a=pl(e,a),t.tag=1,t.type=e=al(e),t=lm(null,t,e,a,n)):(t.tag=0,Ns(t,e),t.type=e=al(e),t=Ls(null,t,e,a,n));else{if(e!=null){if(l=e.$$typeof,l===Ho){t.tag=11,t.type=e=jr(e),t=Fp(null,t,e,a,n);break e}else if(l===Oc){t.tag=14,t=Pp(null,t,e,a,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Zt&&(t=" Did you wrap a component in React.lazy() more than once?"),e=Oe(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Ls(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,l=pl(a,t.pendingProps),lm(e,t,a,l,n);case 3:e:{if(lt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var u=t.memoizedState;l=u.element,as(e,t),po(t,a,null,n);var o=t.memoizedState;if(a=o.cache,Ra(t,it,a),a!==u.cache&&Ir(t,[it],n,!0),ho(),a=o.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=um(e,t,a,n);break e}else if(a!==l){l=Vt(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),io(l),t=um(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for($e=nn(e.firstChild),wt=t,ye=!0,bl=null,ca=!1,rn=null,Yn=!0,e=b0(t,null,a,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(oo(),a===l){t=In(e,t,n);break e}mt(e,t,a,n)}t=t.child}return t;case 26:return ic(e,t),e===null?(e=Cy(t.type,null,t.pendingProps,null))?t.memoizedState=e:ye||(e=t.type,n=t.pendingProps,a=Ye(_a.current),a=yc(a).createElement(e),a[Rt]=t,a[Lt]=n,yt(a,e,n),p(a),t.stateNode=a):t.memoizedState=Cy(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return V(t),e===null&&ye&&(a=Ye(_a.current),l=C(),a=t.stateNode=Dy(t.type,t.pendingProps,a,l,!1),ca||(l=gy(a,t.type,t.pendingProps,l),l!==null&&(il(t,0).serverProps=l)),wt=t,Yn=!0,l=$e,za(t.type)?(Kd=l,$e=nn(a.firstChild)):$e=l),mt(e,t,t.pendingProps.children,n),ic(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ye&&(u=C(),a=kr(t.type,u.ancestorInfo),l=$e,(o=!l)||(o=lS(l,t.type,t.pendingProps,Yn),o!==null?(t.stateNode=o,ca||(u=gy(o,t.type,t.pendingProps,u),u!==null&&(il(t,0).serverProps=u)),wt=t,$e=nn(o.firstChild),Yn=!1,u=!0):u=!1,o=!u),o&&(a&&Kr(t,l),cl(t))),V(t),l=t.type,u=t.pendingProps,o=e!==null?e.memoizedProps:null,a=u.children,vf(l,u)?a=null:o!==null&&vf(l,o)&&(t.flags|=32),t.memoizedState!==null&&(l=is(e,t,mb,null,null,n),vi._currentValue=l),ic(e,t),mt(e,t,a,n),t.child;case 6:return e===null&&ye&&(e=t.pendingProps,n=C(),a=n.ancestorInfo.current,e=a!=null?Ci(e,a.tag,n.ancestorInfo.implicitRootScope):!0,n=$e,(a=!n)||(a=uS(n,t.pendingProps,Yn),a!==null?(t.stateNode=a,wt=t,$e=null,a=!0):a=!1,a=!a),a&&(e&&Kr(t,n),cl(t))),null;case 13:return om(e,t,n);case 4:return lt(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=xu(t,null,a,n):mt(e,t,a,n),t.child;case 11:return Fp(e,t,t.type,t.pendingProps,n);case 7:return mt(e,t,t.pendingProps,n),t.child;case 8:return mt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,mt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.type,l=t.pendingProps,u=l.value,"value"in l||L0||(L0=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ra(t,a,u),mt(e,t,l.children,n),t.child;case 9:return l=t.type._context,a=t.pendingProps.children,typeof a!="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."),rl(t),l=Ge(l),Dn(t),a=bd(a,l,void 0),ga(),t.flags|=1,mt(e,t,a,n),t.child;case 14:return Pp(e,t,t.type,t.pendingProps,n);case 15:return em(e,t,t.type,t.pendingProps,n);case 19:return rm(e,t,n);case 31:return a=t.pendingProps,n=t.mode,a={mode:a.mode,children:a.children},e===null?(e=cc(a,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=$n(e.child,a),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return tm(e,t,n);case 24:return rl(t),a=Ge(it),e===null?(l=ts(),l===null&&(l=He,u=Fr(),l.pooledCache=u,sl(u),u!==null&&(l.pooledCacheLanes|=n),l=u),t.memoizedState={parent:a,cache:l},ns(t),Ra(t,it,l)):((e.lanes&n)!==0&&(as(e,t),po(t,null,null,n),ho()),l=e.memoizedState,u=t.memoizedState,l.parent!==a?(l={parent:a,cache:a},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),Ra(t,it,a)):(a=u.cache,Ra(t,it,a),a!==l.cache&&Ir(t,[it],n,!0))),mt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Fn(e){e.flags|=4}function sm(e,t){if(t.type!=="stylesheet"||(t.state.loading&pn)!==_l)e.flags&=-16777217;else if(e.flags|=16777216,!Hy(t)){if(t=hn.current,t!==null&&((ie&4194048)===ie?Vn!==null:(ie&62914560)!==ie&&(ie&536870912)===0||t!==Vn))throw Po=dd,$g;e.flags|=8192}}function rc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Pa():536870912,e.lanes|=t,Cl|=t)}function bo(e,t){if(!ye)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&vt)!==Be){for(var l=e.selfBaseDuration,u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,l+=u.treeBaseDuration,u=u.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags&65011712,a|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&vt)!==Be){l=e.actualDuration,u=e.selfBaseDuration;for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,l+=o.actualDuration,u+=o.treeBaseDuration,o=o.sibling;e.actualDuration=l,e.treeBaseDuration=u}else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags,a|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function Eb(e,t,n){var a=t.pendingProps;switch(Jr(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(t),null;case 1:return Xe(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Jn(it,t),ut(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(uo(t)?(lp(),Fn(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ap())),Xe(t),null;case 26:return n=t.memoizedState,e===null?(Fn(t),n!==null?(Xe(t),sm(t,n)):(Xe(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Fn(t),Xe(t),sm(t,n)):(Xe(t),t.flags&=-16777217):(e.memoizedProps!==a&&Fn(t),Xe(t),t.flags&=-16777217),null;case 27:Y(t),n=Ye(_a.current);var l=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Fn(t);else{if(!a){if(t.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 Xe(t),null}e=C(),uo(t)?tp(t):(e=Dy(l,a,n,e,!0),t.stateNode=e,Fn(t))}return Xe(t),null;case 5:if(Y(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Fn(t);else{if(!a){if(t.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 Xe(t),null}if(l=C(),uo(t))tp(t);else{switch(e=Ye(_a.current),kr(n,l.ancestorInfo),l=l.context,e=yc(e),l){case qu:e=e.createElementNS(cu,n);break;case fr:e=e.createElementNS(zc,n);break;default:switch(n){case"svg":e=e.createElementNS(cu,n);break;case"math":e=e.createElementNS(zc,n);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?e.createElement("select",{is:a.is}):e.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?e.createElement(n,{is:a.is}):e.createElement(n),n.indexOf("-")===-1&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||aa.call(nv,n)||(nv[n]=!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.",n)))}}e[Rt]=t,e[Lt]=a;e:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)e.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;l.sibling===null;){if(l.return===null||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=e;e:switch(yt(e,n,a),n){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Fn(t)}}return Xe(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Fn(t);else{if(typeof a!="string"&&t.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(e=Ye(_a.current),n=C(),uo(t)){e=t.stateNode,n=t.memoizedProps,l=!ca,a=null;var u=wt;if(u!==null)switch(u.tag){case 3:l&&(l=Ry(e,n,a),l!==null&&(il(t,0).serverProps=l));break;case 27:case 5:a=u.memoizedProps,l&&(l=Ry(e,n,a),l!==null&&(il(t,0).serverProps=l))}e[Rt]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||dy(e.nodeValue,n)),e||cl(t)}else l=n.ancestorInfo.current,l!=null&&Ci(a,l.tag,n.ancestorInfo.implicitRootScope),e=yc(e).createTextNode(a),e[Rt]=t,t.stateNode=e}return Xe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=uo(t),a!==null&&a.dehydrated!==null){if(e===null){if(!l)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");l[Rt]=t,Xe(t),(t.mode&vt)!==Be&&a!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else lp(),oo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,Xe(t),(t.mode&vt)!==Be&&a!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=ap(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(Wn(t),t):(Wn(t),null)}return Wn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&vt)!==Be&&Yi(t),t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,l=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(l=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==l&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),rc(t,t.updateQueue),Xe(t),(t.mode&vt)!==Be&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return ut(t),e===null&&ff(t.stateNode.containerInfo),Xe(t),null;case 10:return Jn(t.type,t),Xe(t),null;case 19:if(X(rt,t),l=t.memoizedState,l===null)return Xe(t),null;if(a=(t.flags&128)!==0,u=l.rendering,u===null)if(a)bo(l,!1);else{if(Je!==da||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=uc(e),u!==null){for(t.flags|=128,bo(l,!1),e=u.updateQueue,t.updateQueue=e,rc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ph(n,e),n=n.sibling;return he(rt,rt.current&Cu|ai,t),t.child}e=e.sibling}l.tail!==null&&Bn()>Pc&&(t.flags|=128,a=!0,bo(l,!1),t.lanes=4194304)}else{if(!a)if(e=uc(u),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,rc(t,e),bo(l,!0),l.tail===null&&l.tailMode==="hidden"&&!u.alternate&&!ye)return Xe(t),null}else 2*Bn()-l.renderingStartTime>Pc&&n!==536870912&&(t.flags|=128,a=!0,bo(l,!1),t.lanes=4194304);l.isBackwards?(u.sibling=t.child,t.child=u):(e=l.last,e!==null?e.sibling=u:t.child=u,l.last=u)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=Bn(),e.sibling=null,n=rt.current,n=a?n&Cu|ai:n&Cu,he(rt,n,t),e):(Xe(t),null);case 22:case 23:return Wn(t),us(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),n=t.updateQueue,n!==null&&rc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&X(El,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Jn(it,t),Xe(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Rb(e,t){switch(Jr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&vt)!==Be&&Yi(t),t):null;case 3:return Jn(it,t),ut(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Y(t),null;case 13:if(Wn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");oo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&vt)!==Be&&Yi(t),t):null;case 19:return X(rt,t),null;case 4:return ut(t),null;case 10:return Jn(t.type,t),null;case 22:case 23:return Wn(t),us(t),e!==null&&X(El,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&vt)!==Be&&Yi(t),t):null;case 24:return Jn(it,t),null;case 25:return null;default:return null}}function fm(e,t){switch(Jr(t),t.tag){case 3:Jn(it,t),ut(t);break;case 26:case 27:case 5:Y(t);break;case 4:ut(t);break;case 13:Wn(t);break;case 19:X(rt,t);break;case 10:Jn(t.type,t);break;case 22:case 23:Wn(t),us(t),e!==null&&X(El,t);break;case 24:Jn(it,t)}}function wn(e){return(e.mode&vt)!==Be}function dm(e,t){wn(e)?(Cn(),So(t,e),xn()):So(t,e)}function Zs(e,t,n){wn(e)?(Cn(),Jl(n,e,t),xn()):Jl(n,e,t)}function So(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var l=a.next;n=l;do{if((n.tag&e)===e&&((e&ct)!==sn?U!==null&&typeof U.markComponentPassiveEffectMountStarted=="function"&&U.markComponentPassiveEffectMountStarted(t):(e&bt)!==sn&&U!==null&&typeof U.markComponentLayoutEffectMountStarted=="function"&&U.markComponentLayoutEffectMountStarted(t),a=void 0,(e&Mt)!==sn&&(Lu=!0),a=q(t,V1,n),(e&Mt)!==sn&&(Lu=!1),(e&ct)!==sn?U!==null&&typeof U.markComponentPassiveEffectMountStopped=="function"&&U.markComponentPassiveEffectMountStopped():(e&bt)!==sn&&U!==null&&typeof U.markComponentLayoutEffectMountStopped=="function"&&U.markComponentLayoutEffectMountStopped(),a!==void 0&&typeof a!="function")){var u=void 0;u=(n.tag&bt)!==0?"useLayoutEffect":(n.tag&Mt)!==0?"useInsertionEffect":"useEffect";var o=void 0;o=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then=="function"?`
|
|
169
169
|
|
|
170
|
-
It looks like you wrote `+
|
|
170
|
+
It looks like you wrote `+u+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
171
171
|
|
|
172
|
-
`+
|
|
172
|
+
`+u+`(() => {
|
|
173
173
|
async function fetchData() {
|
|
174
174
|
// You can await here
|
|
175
175
|
const response = await MyAPI.getData(someId);
|
|
@@ -178,11 +178,11 @@ It looks like you wrote `+o+`(async () => ...) or returned a Promise. Instead, w
|
|
|
178
178
|
fetchData();
|
|
179
179
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
180
180
|
|
|
181
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,Y(t,function(i,r){console.error("%s must not return anything besides a function, which is used for clean-up.%s",i,r)},o,u)}n=n.next}while(n!==l)}}catch(i){we(t,t.return,i)}}function Jl(e,t,n){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var o=l.next;a=o;do{if((a.tag&e)===e){var u=a.inst,i=u.destroy;i!==void 0&&(u.destroy=void 0,(e&ct)!==sn?U!==null&&typeof U.markComponentPassiveEffectUnmountStarted=="function"&&U.markComponentPassiveEffectUnmountStarted(t):(e&bt)!==sn&&U!==null&&typeof U.markComponentLayoutEffectUnmountStarted=="function"&&U.markComponentLayoutEffectUnmountStarted(t),(e&Mt)!==sn&&(No=!0),l=t,Y(l,Q1,l,n,i),(e&Mt)!==sn&&(No=!1),(e&ct)!==sn?U!==null&&typeof U.markComponentPassiveEffectUnmountStopped=="function"&&U.markComponentPassiveEffectUnmountStopped():(e&bt)!==sn&&U!==null&&typeof U.markComponentLayoutEffectUnmountStopped=="function"&&U.markComponentLayoutEffectUnmountStopped())}a=a.next}while(a!==o)}}catch(r){we(t,t.return,r)}}function hm(e,t){wn(e)?(Cn(),Su(t,e),Dn()):Su(t,e)}function Ks(e,t,n){wn(e)?(Cn(),Jl(n,e,t),Dn()):Jl(n,e,t)}function pm(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||zo||(n.props!==e.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.",L(e)||"instance"),n.state!==e.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.",L(e)||"instance"));try{Y(e,mp,t,n)}catch(a){we(e,e.return,a)}}}function Ob(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function Db(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||zo||(t.props!==e.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.",L(e)||"instance"),t.state!==e.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.",L(e)||"instance"));try{var l=pl(e.type,n,e.elementType===e.type),o=Y(e,Ob,t,l,a);n=N0,o!==void 0||n.has(e.type)||(n.add(e.type),Y(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",L(e))})),t.__reactInternalSnapshotBeforeUpdate=o}catch(u){we(e,e.return,u)}}function mm(e,t,n){n.props=pl(e.type,e.memoizedProps),n.state=e.memoizedState,wn(e)?(Cn(),Y(e,f0,e,t,n),Dn()):Y(e,f0,e,t,n)}function Cb(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(wn(e))try{Cn(),e.refCleanup=t(n)}finally{Dn()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",L(e)),t.current=n}}function Tu(e,t){try{Y(e,Cb,e)}catch(n){we(e,t,n)}}function Mn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{if(wn(e))try{Cn(),Y(e,a)}finally{Dn(e)}else Y(e,a)}catch(l){we(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(wn(e))try{Cn(),Y(e,n,null)}finally{Dn(e)}else Y(e,n,null)}catch(l){we(e,t,l)}else n.current=null}function ym(e,t,n,a){var l=e.memoizedProps,o=l.id,u=l.onCommit;l=l.onRender,t=t===null?"mount":"update",jc&&(t="nested-update"),typeof l=="function"&&l(o,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof u=="function"&&u(e.memoizedProps.id,t,a,n)}function wb(e,t,n,a){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",jc&&(t="nested-update"),typeof l=="function"&&l(e,t,a,n)}function gm(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{Y(e,Ib,a,t,n,e)}catch(l){we(e,e.return,l)}}function Ws(e,t,n){try{Y(e,Fb,e.stateNode,e.type,n,t,e)}catch(a){we(e,e.return,a)}}function vm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&za(e.type)||e.tag===4}function Is(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&za(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fs(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=mc));else if(a!==4&&(a===27&&za(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Fs(e,t,n),e=e.sibling;e!==null;)Fs(e,t,n),e=e.sibling}function sc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&za(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(sc(e,t,n),e=e.sibling;e!==null;)sc(e,t,n),e=e.sibling}function Mb(e){for(var t,n=e.return;n!==null;){if(vm(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=Is(e),sc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Sy(n),t.flags&=-33),t=Is(e),sc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Is(e),Fs(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function bm(e){var t=e.stateNode,n=e.memoizedProps;try{Y(e,fS,e.type,n,t,e)}catch(a){we(e,e.return,a)}}function zb(e,t){if(e=e.containerInfo,Jd=mr,e=Jh(e),jr(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var l=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var u=0,i=-1,r=-1,s=0,y=0,S=e,m=null;t:for(;;){for(var T;S!==n||l!==0&&S.nodeType!==3||(i=u+l),S!==o||a!==0&&S.nodeType!==3||(r=u+a),S.nodeType===3&&(u+=S.nodeValue.length),(T=S.firstChild)!==null;)m=S,S=T;for(;;){if(S===e)break t;if(m===n&&++s===l&&(i=u),m===o&&++y===a&&(r=u),(T=S.nextSibling)!==null)break;S=m,m=S.parentNode}S=T}n=i===-1||r===-1?null:{start:i,end:r}}else n=null}n=n||{start:0,end:0}}else n=null;for(Kd={focusedElem:e,selectionRange:n},mr=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){switch(e=t=ht,n=e.alternate,l=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(l&1024)!==0&&n!==null&&Db(e,n);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Tf(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Tf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&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(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}}function Sm(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:ea(e,n),a&4&&dm(n,bt|fn);break;case 1:if(ea(e,n),a&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||zo||(e.props!==n.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.",L(n)||"instance"),e.state!==n.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.",L(n)||"instance")),wn(n)?(Cn(),Y(n,Ed,n,e),Dn()):Y(n,Ed,n,e);else{var l=pl(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||zo||(e.props!==n.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.",L(n)||"instance"),e.state!==n.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.",L(n)||"instance")),wn(n)?(Cn(),Y(n,c0,n,e,l,t,e.__reactInternalSnapshotBeforeUpdate),Dn()):Y(n,c0,n,e,l,t,e.__reactInternalSnapshotBeforeUpdate)}a&64&&pm(n),a&512&&Tu(n,n.return);break;case 3:if(t=Kn(),ea(e,n),a&64&&(a=n.updateQueue,a!==null)){if(l=null,n.child!==null)switch(n.child.tag){case 27:case 5:l=n.child.stateNode;break;case 1:l=n.child.stateNode}try{Y(n,mp,a,l)}catch(u){we(n,n.return,u)}}e.effectDuration+=Yi(t);break;case 27:t===null&&a&4&&bm(n);case 26:case 5:ea(e,n),t===null&&a&4&&gm(n),a&512&&Tu(n,n.return);break;case 12:if(a&4){a=Kn(),ea(e,n),e=n.stateNode,e.effectDuration+=fu(a);try{Y(n,ym,n,t,qc,e.effectDuration)}catch(u){we(n,n.return,u)}}else ea(e,n);break;case 13:ea(e,n),a&4&&Rm(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=qb.bind(null,n),cS(e,n))));break;case 22:if(a=n.memoizedState!==null||fa,!a){t=t!==null&&t.memoizedState!==null||Fe,l=fa;var o=Fe;fa=a,(Fe=t)&&!o?ta(e,n,(n.subtreeFlags&8772)!==0):ea(e,n),fa=l,Fe=o}break;case 30:break;default:ea(e,n)}}function Tm(e){var t=e.alternate;t!==null&&(e.alternate=null,Tm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ta(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pn(e,t,n){for(n=n.child;n!==null;)Em(e,t,n),n=n.sibling}function Em(e,t,n){if(Et&&typeof Et.onCommitFiberUnmount=="function")try{Et.onCommitFiberUnmount(uo,n)}catch(o){Bn||(Bn=!0,console.error("React instrumentation encountered an error: %s",o))}switch(n.tag){case 26:Fe||Mn(n,t),Pn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Fe||Mn(n,t);var a=at,l=Yt;za(n.type)&&(at=n.stateNode,Yt=!1),Pn(e,t,n),Y(n,Cu,n.stateNode),at=a,Yt=l;break;case 5:Fe||Mn(n,t);case 6:if(a=at,l=Yt,at=null,Pn(e,t,n),at=a,Yt=l,at!==null)if(Yt)try{Y(n,tS,at,n.stateNode)}catch(o){we(n,t,o)}else try{Y(n,eS,at,n.stateNode)}catch(o){we(n,t,o)}break;case 18:at!==null&&(Yt?(e=at,Ty(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Uu(e)):Ty(at,n.stateNode));break;case 4:a=at,l=Yt,at=n.stateNode.containerInfo,Yt=!0,Pn(e,t,n),at=a,Yt=l;break;case 0:case 11:case 14:case 15:Fe||Jl(Mt,n,t),Fe||Js(n,t,bt),Pn(e,t,n);break;case 1:Fe||(Mn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&mm(n,t,a)),Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:Fe=(a=Fe)||n.memoizedState!==null,Pn(e,t,n),Fe=a;break;default:Pn(e,t,n)}}function Rm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Y(t,sS,e)}catch(n){we(t,t.return,n)}}function Ub(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Y0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Y0),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Ps(e,t){var n=Ub(e);t.forEach(function(a){var l=jb.bind(null,e,a);if(!n.has(a)){if(n.add(a),Sn)if(Uo!==null&&Ho!==null)xu(Ho,Uo);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(l,l)}})}function Gt(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var l=e,o=t,u=n[a],i=o;e:for(;i!==null;){switch(i.tag){case 27:if(za(i.type)){at=i.stateNode,Yt=!1;break e}break;case 5:at=i.stateNode,Yt=!1;break e;case 3:case 4:at=i.stateNode.containerInfo,Yt=!0;break e}i=i.return}if(at===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Em(l,o,u),at=null,Yt=!1,l=u,o=l.alternate,o!==null&&(o.return=null),l.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Am(t,e),t=t.sibling}function Am(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Gt(t,e),Xt(e),a&4&&(Jl(Mt|fn,e,e.return),Su(Mt|fn,e),Js(e,e.return,bt|fn));break;case 1:Gt(t,e),Xt(e),a&512&&(Fe||n===null||Mn(n,n.return)),a&64&&fa&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var l=An;if(Gt(t,e),Xt(e),a&512&&(Fe||n===null||Mn(n,n.return)),a&4)if(t=n!==null?n.memoizedState:null,a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,t=l.ownerDocument||l;t:switch(a){case"title":l=t.getElementsByTagName("title")[0],(!l||l[ku]||l[Rt]||l.namespaceURI===co||l.hasAttribute("itemprop"))&&(l=t.createElement(a),t.head.insertBefore(l,t.querySelector("head > title"))),yt(l,a,n),l[Rt]=e,p(l),a=l;break e;case"link":var o=zy("link","href",t).get(a+(n.href||""));if(o){for(var u=0;u<o.length;u++)if(l=o[u],l.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&l.getAttribute("rel")===(n.rel==null?null:n.rel)&&l.getAttribute("title")===(n.title==null?null:n.title)&&l.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(u,1);break t}}l=t.createElement(a),yt(l,a,n),t.head.appendChild(l);break;case"meta":if(o=zy("meta","content",t).get(a+(n.content||""))){for(u=0;u<o.length;u++)if(l=o[u],Q(n.content,"content"),l.getAttribute("content")===(n.content==null?null:""+n.content)&&l.getAttribute("name")===(n.name==null?null:n.name)&&l.getAttribute("property")===(n.property==null?null:n.property)&&l.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&l.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(u,1);break t}}l=t.createElement(a),yt(l,a,n),t.head.appendChild(l);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+a+'". This is a bug in React.')}l[Rt]=e,p(l),a=l}e.stateNode=a}else Uy(l,e.type,e.stateNode);else e.stateNode=My(l,a,e.memoizedProps);else t!==a?(t===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):t.count--,a===null?Uy(l,e.type,e.stateNode):My(l,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Ws(e,e.memoizedProps,n.memoizedProps);break;case 27:Gt(t,e),Xt(e),a&512&&(Fe||n===null||Mn(n,n.return)),n!==null&&a&4&&Ws(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Gt(t,e),Xt(e),a&512&&(Fe||n===null||Mn(n,n.return)),e.flags&32){t=e.stateNode;try{Y(e,Sy,t)}catch(y){we(e,e.return,y)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,Ws(e,t,n!==null?n.memoizedProps:t)),a&1024&&(wd=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Gt(t,e),Xt(e),a&4){if(e.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.");a=e.memoizedProps,n=n!==null?n.memoizedProps:a,t=e.stateNode;try{Y(e,Pb,t,n,a)}catch(y){we(e,e.return,y)}}break;case 3:if(l=Kn(),dr=null,o=An,An=gc(t.containerInfo),Gt(t,e),An=o,Xt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Y(e,rS,t.containerInfo)}catch(y){we(e,e.return,y)}wd&&(wd=!1,xm(e)),t.effectDuration+=Yi(l);break;case 4:a=An,An=gc(e.stateNode.containerInfo),Gt(t,e),Xt(e),An=a;break;case 12:a=Kn(),Gt(t,e),Xt(e),e.stateNode.effectDuration+=fu(a);break;case 13:Gt(t,e),Xt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(kd=kn()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Ps(e,a)));break;case 22:l=e.memoizedState!==null;var i=n!==null&&n.memoizedState!==null,r=fa,s=Fe;if(fa=r||l,Fe=s||i,Gt(t,e),Fe=s,fa=r,Xt(e),a&8192)e:for(t=e.stateNode,t._visibility=l?t._visibility&~Bc:t._visibility|Bc,l&&(n===null||i||fa||Fe||ml(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){i=n=t;try{o=i.stateNode,l?Y(i,nS,o):Y(i,lS,i.stateNode,i.memoizedProps)}catch(y){we(i,i.return,y)}}}else if(t.tag===6){if(n===null){i=t;try{u=i.stateNode,l?Y(i,aS,u):Y(i,oS,u,i.memoizedProps)}catch(y){we(i,i.return,y)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,Ps(e,n))));break;case 19:Gt(t,e),Xt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Ps(e,a)));break;case 30:break;case 21:break;default:Gt(t,e),Xt(e)}}function Xt(e){var t=e.flags;if(t&2){try{Y(e,Mb,e)}catch(n){we(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xm(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;xm(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ea(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Sm(e,t.alternate,t),t=t.sibling}function Om(e){switch(e.tag){case 0:case 11:case 14:case 15:Js(e,e.return,bt),ml(e);break;case 1:Mn(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&mm(e,e.return,t),ml(e);break;case 27:Y(e,Cu,e.stateNode);case 26:case 5:Mn(e,e.return),ml(e);break;case 22:e.memoizedState===null&&ml(e);break;case 30:ml(e);break;default:ml(e)}}function ml(e){for(e=e.child;e!==null;)Om(e),e=e.sibling}function Dm(e,t,n,a){var l=n.flags;switch(n.tag){case 0:case 11:case 15:ta(e,n,a),dm(n,bt);break;case 1:if(ta(e,n,a),t=n.stateNode,typeof t.componentDidMount=="function"&&Y(n,Ed,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{Y(n,yb,t,e)}catch(o){we(n,n.return,o)}}a&&l&64&&pm(n),Tu(n,n.return);break;case 27:bm(n);case 26:case 5:ta(e,n,a),a&&t===null&&l&4&&gm(n),Tu(n,n.return);break;case 12:if(a&&l&4){l=Kn(),ta(e,n,a),a=n.stateNode,a.effectDuration+=fu(l);try{Y(n,ym,n,t,qc,a.effectDuration)}catch(o){we(n,n.return,o)}}else ta(e,n,a);break;case 13:ta(e,n,a),a&&l&4&&Rm(e,n);break;case 22:n.memoizedState===null&&ta(e,n,a),Tu(n,n.return);break;case 30:break;default:ta(e,n,a)}}function ta(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Dm(e,t.alternate,t,n),t=t.sibling}function ef(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&sl(e),n!=null&&su(n))}function tf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(sl(t),e!=null&&su(e))}function zn(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Cm(e,t,n,a),t=t.sibling}function Cm(e,t,n,a){var l=t.flags;switch(t.tag){case 0:case 11:case 15:zn(e,t,n,a),l&2048&&hm(t,ct|fn);break;case 1:zn(e,t,n,a);break;case 3:var o=Kn();zn(e,t,n,a),l&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(sl(t),n!=null&&su(n))),e.passiveEffectDuration+=Yi(o);break;case 12:if(l&2048){l=Kn(),zn(e,t,n,a),e=t.stateNode,e.passiveEffectDuration+=fu(l);try{Y(t,wb,t,t.alternate,qc,e.passiveEffectDuration)}catch(i){we(t,t.return,i)}}else zn(e,t,n,a);break;case 13:zn(e,t,n,a);break;case 23:break;case 22:o=t.stateNode;var u=t.alternate;t.memoizedState!==null?o._visibility&oa?zn(e,t,n,a):Eu(e,t):o._visibility&oa?zn(e,t,n,a):(o._visibility|=oa,Kl(e,t,n,a,(t.subtreeFlags&10256)!==0)),l&2048&&ef(u,t);break;case 24:zn(e,t,n,a),l&2048&&tf(t.alternate,t);break;default:zn(e,t,n,a)}}function Kl(e,t,n,a,l){for(l=l&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)wm(e,t,n,a,l),t=t.sibling}function wm(e,t,n,a,l){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Kl(e,t,n,a,l),hm(t,ct);break;case 23:break;case 22:var u=t.stateNode;t.memoizedState!==null?u._visibility&oa?Kl(e,t,n,a,l):Eu(e,t):(u._visibility|=oa,Kl(e,t,n,a,l)),l&&o&2048&&ef(t.alternate,t);break;case 24:Kl(e,t,n,a,l),l&&o&2048&&tf(t.alternate,t);break;default:Kl(e,t,n,a,l)}}function Eu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,l=a.flags;switch(a.tag){case 22:Eu(n,a),l&2048&&ef(a.alternate,a);break;case 24:Eu(n,a),l&2048&&tf(a.alternate,a);break;default:Eu(n,a)}t=t.sibling}}function Wl(e){if(e.subtreeFlags&li)for(e=e.child;e!==null;)Mm(e),e=e.sibling}function Mm(e){switch(e.tag){case 26:Wl(e),e.flags&li&&e.memoizedState!==null&&mS(An,e.memoizedState,e.memoizedProps);break;case 5:Wl(e);break;case 3:case 4:var t=An;An=gc(e.stateNode.containerInfo),Wl(e),An=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=li,li=16777216,Wl(e),li=t):Wl(e));break;default:Wl(e)}}function zm(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ru(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];ht=a,_m(a,e)}zm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Um(e),e=e.sibling}function Um(e){switch(e.tag){case 0:case 11:case 15:Ru(e),e.flags&2048&&Ks(e,e.return,ct|fn);break;case 3:var t=Kn();Ru(e),e.stateNode.passiveEffectDuration+=Yi(t);break;case 12:t=Kn(),Ru(e),e.stateNode.passiveEffectDuration+=fu(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&oa&&(e.return===null||e.return.tag!==13)?(t._visibility&=~oa,fc(e)):Ru(e);break;default:Ru(e)}}function fc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];ht=a,_m(a,e)}zm(e)}for(e=e.child;e!==null;)Hm(e),e=e.sibling}function Hm(e){switch(e.tag){case 0:case 11:case 15:Ks(e,e.return,ct),fc(e);break;case 22:var t=e.stateNode;t._visibility&oa&&(t._visibility&=~oa,fc(e));break;default:fc(e)}}function _m(e,t){for(;ht!==null;){var n=ht,a=n;switch(a.tag){case 0:case 11:case 15:Ks(a,t,ct);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(a=a.memoizedState.cachePool.pool,a!=null&&sl(a));break;case 24:su(a.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,ht=a;else e:for(n=e;ht!==null;){a=ht;var l=a.sibling,o=a.return;if(Tm(a),a===n){ht=null;break e}if(l!==null){l.return=o,ht=l;break e}ht=o}}}function Hb(){$1.forEach(function(e){return e()})}function km(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||b.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Qt(e){if((Ae&zt)!==Jt&&fe!==0)return fe&-fe;var t=b.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Tl,e!==0?e:ff()):Fo()}function Bm(){Wt===0&&(Wt=(fe&536870912)===0||ge?ue():536870912);var e=hn.current;return e!==null&&(e.flags|=32),Wt}function Ie(e,t,n){if(No&&console.error("useInsertionEffect must not schedule updates."),qd&&(er=!0),(e===_e&&(Oe===Ol||Oe===Dl)||e.cancelPendingCommit!==null)&&(Fl(e,0),wa(e,fe,Wt,!1)),Sa(e,n),(Ae&zt)!==0&&e===_e){if(Nn)switch(t.tag){case 0:case 11:case 15:e=ie&&L(ie)||"Unknown",K0.has(e)||(K0.add(e),t=L(t)||"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",t,e,e));break;case 1:J0||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),J0=!0)}}else Sn&&Wo(e,t,n),Gb(t),e===_e&&((Ae&zt)===Jt&&(Xa|=n),Je===xl&&wa(e,fe,Wt,!1)),Un(e)}function Lm(e,t,n){if((Ae&(zt|xn))!==Jt)throw Error("Should not already be working.");var a=!n&&(t&124)===0&&(t&e.expiredLanes)===0||ba(e,t),l=a?kb(e,t):lf(e,t,!0),o=a;do{if(l===da){Bo&&!a&&wa(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!_b(n)){l=lf(e,t,!1),o=!1;continue}if(l===_o){if(o=t,e.errorRecoveryDisabledLanes&o)var u=0;else u=e.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){t=u;e:{l=e;var i=u;u=si;var r=l.current.memoizedState.isDehydrated;if(r&&(Fl(l,i).flags|=256),i=lf(l,i,!1),i!==_o){if(Hd&&!r){l.errorRecoveryDisabledLanes|=o,Xa|=o,l=xl;break e}l=Ut,Ut=u,l!==null&&(Ut===null?Ut=l:Ut.push.apply(Ut,l))}l=i}if(o=!1,l!==_o)continue}}if(l===ui){Fl(e,0),wa(e,t,0,!0);break}e:{switch(a=e,l){case da:case ui:throw Error("Root did not complete. This is a bug in React.");case xl:if((t&4194048)!==t)break;case Ic:wa(a,t,Wt,!Va);break e;case _o:Ut=null;break;case Md:case q0:break;default:throw Error("Unknown root exit status.")}if(b.actQueue!==null)of(a,n,t,Ut,fi,Fc,Wt,Xa,Cl);else{if((t&62914560)===t&&(o=kd+V0-kn(),10<o)){if(wa(a,t,Wt,!Va),Qn(a,0,!0)!==0)break e;a.timeoutHandle=av(Nm.bind(null,a,n,Ut,fi,Fc,t,Wt,Xa,Cl,Va,l,I1,Xg,0),o);break e}Nm(a,n,Ut,fi,Fc,t,Wt,Xa,Cl,Va,l,K1,Xg,0)}}}break}while(!0);Un(e)}function Nm(e,t,n,a,l,o,u,i,r,s,y,S,m,T){if(e.timeoutHandle=Hl,S=t.subtreeFlags,(S&8192||(S&16785408)===16785408)&&(gi={stylesheets:null,count:0,unsuspend:pS},Mm(t),S=yS(),S!==null)){e.cancelPendingCommit=S(of.bind(null,e,t,o,n,a,l,u,i,r,y,W1,m,T)),wa(e,o,u,!s);return}of(e,t,o,n,a,l,u,i,r)}function _b(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var l=n[a],o=l.getSnapshot;l=l.value;try{if(!Ct(o(),l))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function wa(e,t,n,a){t&=~_d,t&=~Xa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var l=t;0<l;){var o=31-Ot(l),u=1<<o;a[o]=-1,l&=~u}n!==0&&Jo(e,n,t)}function Il(){return(Ae&(zt|xn))===Jt?(Ou(0),!1):!0}function nf(){if(ie!==null){if(Oe===qt)var e=ie.return;else e=ie,Bi(),hs(e),Do=null,ni=0,e=ie;for(;e!==null;)fm(e.alternate,e),e=e.return;ie=null}}function Fl(e,t){var n=e.timeoutHandle;n!==Hl&&(e.timeoutHandle=Hl,sT(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),nf(),_e=e,ie=n=$n(e.current,null),fe=t,Oe=qt,Kt=null,Va=!1,Bo=ba(e,t),Hd=!1,Je=da,Cl=Wt=_d=Xa=Ga=0,Ut=si=null,Fc=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var l=31-Ot(a),o=1<<l;t|=e[l],a&=~o}return Gn=t,Ui(),t=Vg(),1e3<t-jg&&(b.recentlyCreatedOwnerStacks=0,jg=t),En.discardPendingWarnings(),n}function Ym(e,t){J=null,b.H=Kc,b.getCurrentStack=null,Nn=!1,$t=null,t===Fu||t===Xc?(t=dp(),Oe=ci):t===$g?(t=dp(),Oe=j0):Oe=t===z0?Ud:t!==null&&typeof t=="object"&&typeof t.then=="function"?ko:ii,Kt=t;var n=ie;if(n===null)Je=ui,uc(e,Vt(t,e.current));else switch(n.mode&vt&&ns(n),ga(),Oe){case ii:U!==null&&typeof U.markComponentErrored=="function"&&U.markComponentErrored(n,t,fe);break;case Ol:case Dl:case ci:case ko:case ri:U!==null&&typeof U.markComponentSuspended=="function"&&U.markComponentSuspended(n,t,fe)}}function qm(){var e=b.H;return b.H=Kc,e===null?Kc:e}function jm(){var e=b.A;return b.A=Z1,e}function af(){Je=xl,Va||(fe&4194048)!==fe&&hn.current!==null||(Bo=!0),(Ga&134217727)===0&&(Xa&134217727)===0||_e===null||wa(_e,fe,Wt,!1)}function lf(e,t,n){var a=Ae;Ae|=zt;var l=qm(),o=jm();if(_e!==e||fe!==t){if(Sn){var u=e.memoizedUpdaters;0<u.size&&(xu(e,fe),u.clear()),Io(e,t)}fi=null,Fl(e,t)}Qo(t),t=!1,u=Je;e:do try{if(Oe!==qt&&ie!==null){var i=ie,r=Kt;switch(Oe){case Ud:nf(),u=Ic;break e;case ci:case Ol:case Dl:case ko:hn.current===null&&(t=!0);var s=Oe;if(Oe=qt,Kt=null,Pl(e,i,r,s),n&&Bo){u=da;break e}break;default:s=Oe,Oe=qt,Kt=null,Pl(e,i,r,s)}}Vm(),u=Je;break}catch(y){Ym(e,y)}while(!0);return t&&e.shellSuspendCounter++,Bi(),Ae=a,b.H=l,b.A=o,Zo(),ie===null&&(_e=null,fe=0,Ui()),u}function Vm(){for(;ie!==null;)Gm(ie)}function kb(e,t){var n=Ae;Ae|=zt;var a=qm(),l=jm();if(_e!==e||fe!==t){if(Sn){var o=e.memoizedUpdaters;0<o.size&&(xu(e,fe),o.clear()),Io(e,t)}fi=null,Pc=kn()+G0,Fl(e,t)}else Bo=ba(e,t);Qo(t);e:do try{if(Oe!==qt&&ie!==null)t:switch(t=ie,o=Kt,Oe){case ii:Oe=qt,Kt=null,Pl(e,t,o,ii);break;case Ol:case Dl:if(sp(o)){Oe=qt,Kt=null,Xm(t);break}t=function(){Oe!==Ol&&Oe!==Dl||_e!==e||(Oe=ri),Un(e)},o.then(t,t);break e;case ci:Oe=ri;break e;case j0:Oe=zd;break e;case ri:sp(o)?(Oe=qt,Kt=null,Xm(t)):(Oe=qt,Kt=null,Pl(e,t,o,ri));break;case zd:var u=null;switch(ie.tag){case 26:u=ie.memoizedState;case 5:case 27:var i=ie;if(!u||Hy(u)){Oe=qt,Kt=null;var r=i.sibling;if(r!==null)ie=r;else{var s=i.return;s!==null?(ie=s,dc(s)):ie=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Oe=qt,Kt=null,Pl(e,t,o,zd);break;case ko:Oe=qt,Kt=null,Pl(e,t,o,ko);break;case Ud:nf(),Je=Ic;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}b.actQueue!==null?Vm():Bb();break}catch(y){Ym(e,y)}while(!0);return Bi(),b.H=a,b.A=l,Ae=n,ie!==null?(U!==null&&typeof U.markRenderYielded=="function"&&U.markRenderYielded(),da):(Zo(),_e=null,fe=0,Ui(),Je)}function Bb(){for(;ie!==null&&!US();)Gm(ie)}function Gm(e){var t=e.alternate;(e.mode&vt)!==Be?(ts(e),t=Y(e,$s,t,e,Gn),ns(e)):t=Y(e,$s,t,e,Gn),e.memoizedProps=e.pendingProps,t===null?dc(e):ie=t}function Xm(e){var t=Y(e,Lb,e);e.memoizedProps=e.pendingProps,t===null?dc(e):ie=t}function Lb(e){var t=e.alternate,n=(e.mode&vt)!==Be;switch(n&&ts(e),e.tag){case 15:case 0:t=am(t,e,e.pendingProps,e.type,void 0,fe);break;case 11:t=am(t,e,e.pendingProps,e.type.render,e.ref,fe);break;case 5:hs(e);default:fm(t,e),e=ie=Ph(e,Gn),t=$s(t,e,Gn)}return n&&ns(e),t}function Pl(e,t,n,a){Bi(),hs(t),Do=null,ni=0;var l=t.return;try{if(Eb(e,l,t,n,fe)){Je=ui,uc(e,Vt(n,e.current)),ie=null;return}}catch(o){if(l!==null)throw ie=l,o;Je=ui,uc(e,Vt(n,e.current)),ie=null;return}t.flags&32768?(ge||a===ii?e=!0:Bo||(fe&536870912)!==0?e=!1:(Va=e=!0,(a===Ol||a===Dl||a===ci||a===ko)&&(a=hn.current,a!==null&&a.tag===13&&(a.flags|=16384))),Qm(t,e)):dc(t)}function dc(e){var t=e;do{if((t.flags&32768)!==0){Qm(t,Va);return}var n=t.alternate;if(e=t.return,ts(t),n=Y(t,Ab,n,t,Gn),(t.mode&vt)!==Be&&up(t),n!==null){ie=n;return}if(t=t.sibling,t!==null){ie=t;return}ie=t=e}while(t!==null);Je===da&&(Je=q0)}function Qm(e,t){do{var n=xb(e.alternate,e);if(n!==null){n.flags&=32767,ie=n;return}if((e.mode&vt)!==Be){up(e),n=e.actualDuration;for(var a=e.child;a!==null;)n+=a.actualDuration,a=a.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){ie=e;return}ie=e=n}while(e!==null);Je=Ic,ie=null}function of(e,t,n,a,l,o,u,i,r){e.cancelPendingCommit=null;do Au();while(St!==wl);if(En.flushLegacyContextWarning(),En.flushPendingUnsafeLifecycleWarnings(),(Ae&(zt|xn))!==Jt)throw Error("Should not already be working.");if(U!==null&&typeof U.markCommitStarted=="function"&&U.markCommitStarted(n),t===null)Xn();else{if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.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(o=t.lanes|t.childLanes,o|=rd,Ei(e,n,o,u,i,r),e===_e&&(ie=_e=null,fe=0),Lo=t,Za=e,$a=n,Ld=o,Nd=l,$0=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Vb(oo,function(){return Wm(),null})):(e.callbackNode=null,e.callbackPriority=0),qc=Eo(),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=b.T,b.T=null,l=Re.p,Re.p=an,u=Ae,Ae|=xn;try{zb(e,t,n)}finally{Ae=u,Re.p=l,b.T=a}}St=X0,Zm(),$m(),Jm()}}function Zm(){if(St===X0){St=wl;var e=Za,t=Lo,n=$a,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=b.T,b.T=null;var l=Re.p;Re.p=an;var o=Ae;Ae|=xn;try{Uo=n,Ho=e,Am(t,e),Ho=Uo=null,n=Kd;var u=Jh(e.containerInfo),i=n.focusedElem,r=n.selectionRange;if(u!==i&&i&&i.ownerDocument&&$h(i.ownerDocument.documentElement,i)){if(r!==null&&jr(i)){var s=r.start,y=r.end;if(y===void 0&&(y=s),"selectionStart"in i)i.selectionStart=s,i.selectionEnd=Math.min(y,i.value.length);else{var S=i.ownerDocument||document,m=S&&S.defaultView||window;if(m.getSelection){var T=m.getSelection(),k=i.textContent.length,$=Math.min(r.start,k),ke=r.end===void 0?$:Math.min(r.end,k);!T.extend&&$>ke&&(u=ke,ke=$,$=u);var pe=Zh(i,$),f=Zh(i,ke);if(pe&&f&&(T.rangeCount!==1||T.anchorNode!==pe.node||T.anchorOffset!==pe.offset||T.focusNode!==f.node||T.focusOffset!==f.offset)){var d=S.createRange();d.setStart(pe.node,pe.offset),T.removeAllRanges(),$>ke?(T.addRange(d),T.extend(f.node,f.offset)):(d.setEnd(f.node,f.offset),T.addRange(d))}}}}for(S=[],T=i;T=T.parentNode;)T.nodeType===1&&S.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<S.length;i++){var h=S[i];h.element.scrollLeft=h.left,h.element.scrollTop=h.top}}mr=!!Jd,Kd=Jd=null}finally{Ae=o,Re.p=l,b.T=a}}e.current=t,St=Q0}}function $m(){if(St===Q0){St=wl;var e=Za,t=Lo,n=$a,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=b.T,b.T=null;var l=Re.p;Re.p=an;var o=Ae;Ae|=xn;try{U!==null&&typeof U.markLayoutEffectsStarted=="function"&&U.markLayoutEffectsStarted(n),Uo=n,Ho=e,Sm(e,t.alternate,t),Ho=Uo=null,U!==null&&typeof U.markLayoutEffectsStopped=="function"&&U.markLayoutEffectsStopped()}finally{Ae=o,Re.p=l,b.T=a}}St=Z0}}function Jm(){if(St===F1||St===Z0){St=wl,HS();var e=Za,t=Lo,n=$a,a=$0,l=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;l?St=Bd:(St=wl,Lo=Za=null,Km(e,e.pendingLanes),Ml=0,hi=null);var o=e.pendingLanes;if(o===0&&(Qa=null),l||ey(e),l=Yl(n),t=t.stateNode,Et&&typeof Et.onCommitFiberRoot=="function")try{var u=(t.current.flags&128)===128;switch(l){case an:var i=jf;break;case Ln:i=Vf;break;case la:i=oo;break;case wc:i=Gf;break;default:i=oo}Et.onCommitFiberRoot(uo,t,i,u)}catch(S){Bn||(Bn=!0,console.error("React instrumentation encountered an error: %s",S))}if(Sn&&e.memoizedUpdaters.clear(),Hb(),a!==null){u=b.T,i=Re.p,Re.p=an,b.T=null;try{var r=e.onRecoverableError;for(t=0;t<a.length;t++){var s=a[t],y=Nb(s.stack);Y(s.source,r,s.value,y)}}finally{b.T=u,Re.p=i}}($a&3)!==0&&Au(),Un(e),o=e.pendingLanes,(n&4194090)!==0&&(o&42)!==0?(Vc=!0,e===Yd?di++:(di=0,Yd=e)):di=0,Ou(0),Xn()}}function Nb(e){return e={componentStack:e},Object.defineProperty(e,"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.')}}),e}function Km(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,su(t)))}function Au(e){return Zm(),$m(),Jm(),Wm()}function Wm(){if(St!==Bd)return!1;var e=Za,t=Ld;Ld=0;var n=Yl($a),a=la>n?la:n;n=b.T;var l=Re.p;try{Re.p=a,b.T=null,a=Nd,Nd=null;var o=Za,u=$a;if(St=wl,Lo=Za=null,$a=0,(Ae&(zt|xn))!==Jt)throw Error("Cannot flush passive effects while already rendering.");qd=!0,er=!1,U!==null&&typeof U.markPassiveEffectsStarted=="function"&&U.markPassiveEffectsStarted(u);var i=Ae;if(Ae|=xn,Um(o.current),Cm(o,o.current,u,a),U!==null&&typeof U.markPassiveEffectsStopped=="function"&&U.markPassiveEffectsStopped(),ey(o),Ae=i,Ou(0,!1),er?o===hi?Ml++:(Ml=0,hi=o):Ml=0,er=qd=!1,Et&&typeof Et.onPostCommitFiberRoot=="function")try{Et.onPostCommitFiberRoot(uo,o)}catch(s){Bn||(Bn=!0,console.error("React instrumentation encountered an error: %s",s))}var r=o.current.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,!0}finally{Re.p=l,b.T=n,Km(e,t)}}function Im(e,t,n){t=Vt(n,t),t=Bs(e.stateNode,t,2),e=xa(e,t,2),e!==null&&(Sa(e,2),Un(e))}function we(e,t,n){if(No=!1,e.tag===3)Im(e,e,n);else{for(;t!==null;){if(t.tag===3){Im(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Qa===null||!Qa.has(a))){e=Vt(n,e),n=Ls(2),a=xa(t,n,2),a!==null&&(Ns(n,a,t,e),Sa(a,2),Un(a));return}}t=t.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.
|
|
181
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,q(t,function(i,r){console.error("%s must not return anything besides a function, which is used for clean-up.%s",i,r)},u,o)}n=n.next}while(n!==l)}}catch(i){we(t,t.return,i)}}function Jl(e,t,n){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var u=l.next;a=u;do{if((a.tag&e)===e){var o=a.inst,i=o.destroy;i!==void 0&&(o.destroy=void 0,(e&ct)!==sn?U!==null&&typeof U.markComponentPassiveEffectUnmountStarted=="function"&&U.markComponentPassiveEffectUnmountStarted(t):(e&bt)!==sn&&U!==null&&typeof U.markComponentLayoutEffectUnmountStarted=="function"&&U.markComponentLayoutEffectUnmountStarted(t),(e&Mt)!==sn&&(Lu=!0),l=t,q(l,G1,l,n,i),(e&Mt)!==sn&&(Lu=!1),(e&ct)!==sn?U!==null&&typeof U.markComponentPassiveEffectUnmountStopped=="function"&&U.markComponentPassiveEffectUnmountStopped():(e&bt)!==sn&&U!==null&&typeof U.markComponentLayoutEffectUnmountStopped=="function"&&U.markComponentLayoutEffectUnmountStopped())}a=a.next}while(a!==u)}}catch(r){we(t,t.return,r)}}function hm(e,t){wn(e)?(Cn(),So(t,e),xn()):So(t,e)}function $s(e,t,n){wn(e)?(Cn(),Jl(n,e,t),xn()):Jl(n,e,t)}function pm(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Mu||(n.props!==e.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.",L(e)||"instance"),n.state!==e.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.",L(e)||"instance"));try{q(e,mp,t,n)}catch(a){we(e,e.return,a)}}}function Ab(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function Ob(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Mu||(t.props!==e.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.",L(e)||"instance"),t.state!==e.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.",L(e)||"instance"));try{var l=pl(e.type,n,e.elementType===e.type),u=q(e,Ab,t,l,a);n=N0,u!==void 0||n.has(e.type)||(n.add(e.type),q(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",L(e))})),t.__reactInternalSnapshotBeforeUpdate=u}catch(o){we(e,e.return,o)}}function mm(e,t,n){n.props=pl(e.type,e.memoizedProps),n.state=e.memoizedState,wn(e)?(Cn(),q(e,f0,e,t,n),xn()):q(e,f0,e,t,n)}function Db(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(wn(e))try{Cn(),e.refCleanup=t(n)}finally{xn()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",L(e)),t.current=n}}function To(e,t){try{q(e,Db,e)}catch(n){we(e,t,n)}}function Mn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{if(wn(e))try{Cn(),q(e,a)}finally{xn(e)}else q(e,a)}catch(l){we(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(wn(e))try{Cn(),q(e,n,null)}finally{xn(e)}else q(e,n,null)}catch(l){we(e,t,l)}else n.current=null}function ym(e,t,n,a){var l=e.memoizedProps,u=l.id,o=l.onCommit;l=l.onRender,t=t===null?"mount":"update",jc&&(t="nested-update"),typeof l=="function"&&l(u,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof o=="function"&&o(e.memoizedProps.id,t,a,n)}function xb(e,t,n,a){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",jc&&(t="nested-update"),typeof l=="function"&&l(e,t,a,n)}function gm(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{q(e,Kb,a,t,n,e)}catch(l){we(e,e.return,l)}}function Js(e,t,n){try{q(e,Wb,e.stateNode,e.type,n,t,e)}catch(a){we(e,e.return,a)}}function vm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&za(e.type)||e.tag===4}function Ks(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&za(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ws(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=mc));else if(a!==4&&(a===27&&za(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Ws(e,t,n),e=e.sibling;e!==null;)Ws(e,t,n),e=e.sibling}function sc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&za(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(sc(e,t,n),e=e.sibling;e!==null;)sc(e,t,n),e=e.sibling}function Cb(e){for(var t,n=e.return;n!==null;){if(vm(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=Ks(e),sc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Sy(n),t.flags&=-33),t=Ks(e),sc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Ks(e),Ws(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function bm(e){var t=e.stateNode,n=e.memoizedProps;try{q(e,rS,e.type,n,t,e)}catch(a){we(e,e.return,a)}}function wb(e,t){if(e=e.containerInfo,Zd=mr,e=Jh(e),qr(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var l=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var o=0,i=-1,r=-1,s=0,y=0,S=e,m=null;t:for(;;){for(var T;S!==n||l!==0&&S.nodeType!==3||(i=o+l),S!==u||a!==0&&S.nodeType!==3||(r=o+a),S.nodeType===3&&(o+=S.nodeValue.length),(T=S.firstChild)!==null;)m=S,S=T;for(;;){if(S===e)break t;if(m===n&&++s===l&&(i=o),m===u&&++y===a&&(r=o),(T=S.nextSibling)!==null)break;S=m,m=S.parentNode}S=T}n=i===-1||r===-1?null:{start:i,end:r}}else n=null}n=n||{start:0,end:0}}else n=null;for($d={focusedElem:e,selectionRange:n},mr=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){switch(e=t=ht,n=e.alternate,l=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(l&1024)!==0&&n!==null&&Ob(e,n);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)bf(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":bf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&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(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}}function Sm(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:ea(e,n),a&4&&dm(n,bt|fn);break;case 1:if(ea(e,n),a&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Mu||(e.props!==n.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.",L(n)||"instance"),e.state!==n.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.",L(n)||"instance")),wn(n)?(Cn(),q(n,Sd,n,e),xn()):q(n,Sd,n,e);else{var l=pl(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Mu||(e.props!==n.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.",L(n)||"instance"),e.state!==n.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.",L(n)||"instance")),wn(n)?(Cn(),q(n,c0,n,e,l,t,e.__reactInternalSnapshotBeforeUpdate),xn()):q(n,c0,n,e,l,t,e.__reactInternalSnapshotBeforeUpdate)}a&64&&pm(n),a&512&&To(n,n.return);break;case 3:if(t=Kn(),ea(e,n),a&64&&(a=n.updateQueue,a!==null)){if(l=null,n.child!==null)switch(n.child.tag){case 27:case 5:l=n.child.stateNode;break;case 1:l=n.child.stateNode}try{q(n,mp,a,l)}catch(o){we(n,n.return,o)}}e.effectDuration+=qi(t);break;case 27:t===null&&a&4&&bm(n);case 26:case 5:ea(e,n),t===null&&a&4&&gm(n),a&512&&To(n,n.return);break;case 12:if(a&4){a=Kn(),ea(e,n),e=n.stateNode,e.effectDuration+=so(a);try{q(n,ym,n,t,Yc,e.effectDuration)}catch(o){we(n,n.return,o)}}else ea(e,n);break;case 13:ea(e,n),a&4&&Rm(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Nb.bind(null,n),oS(e,n))));break;case 22:if(a=n.memoizedState!==null||fa,!a){t=t!==null&&t.memoizedState!==null||Fe,l=fa;var u=Fe;fa=a,(Fe=t)&&!u?ta(e,n,(n.subtreeFlags&8772)!==0):ea(e,n),fa=l,Fe=u}break;case 30:break;default:ea(e,n)}}function Tm(e){var t=e.alternate;t!==null&&(e.alternate=null,Tm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ta(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pn(e,t,n){for(n=n.child;n!==null;)Em(e,t,n),n=n.sibling}function Em(e,t,n){if(Et&&typeof Et.onCommitFiberUnmount=="function")try{Et.onCommitFiberUnmount(ou,n)}catch(u){kn||(kn=!0,console.error("React instrumentation encountered an error: %s",u))}switch(n.tag){case 26:Fe||Mn(n,t),Pn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Fe||Mn(n,t);var a=at,l=qt;za(n.type)&&(at=n.stateNode,qt=!1),Pn(e,t,n),q(n,Co,n.stateNode),at=a,qt=l;break;case 5:Fe||Mn(n,t);case 6:if(a=at,l=qt,at=null,Pn(e,t,n),at=a,qt=l,at!==null)if(qt)try{q(n,Pb,at,n.stateNode)}catch(u){we(n,t,u)}else try{q(n,Fb,at,n.stateNode)}catch(u){we(n,t,u)}break;case 18:at!==null&&(qt?(e=at,Ty(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Uo(e)):Ty(at,n.stateNode));break;case 4:a=at,l=qt,at=n.stateNode.containerInfo,qt=!0,Pn(e,t,n),at=a,qt=l;break;case 0:case 11:case 14:case 15:Fe||Jl(Mt,n,t),Fe||Zs(n,t,bt),Pn(e,t,n);break;case 1:Fe||(Mn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&mm(n,t,a)),Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:Fe=(a=Fe)||n.memoizedState!==null,Pn(e,t,n),Fe=a;break;default:Pn(e,t,n)}}function Rm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{q(t,cS,e)}catch(n){we(t,t.return,n)}}function Mb(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new q0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new q0),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Is(e,t){var n=Mb(e);t.forEach(function(a){var l=qb.bind(null,e,a);if(!n.has(a)){if(n.add(a),Sn)if(zu!==null&&Uu!==null)Oo(Uu,zu);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(l,l)}})}function Gt(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var l=e,u=t,o=n[a],i=u;e:for(;i!==null;){switch(i.tag){case 27:if(za(i.type)){at=i.stateNode,qt=!1;break e}break;case 5:at=i.stateNode,qt=!1;break e;case 3:case 4:at=i.stateNode.containerInfo,qt=!0;break e}i=i.return}if(at===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Em(l,u,o),at=null,qt=!1,l=o,u=l.alternate,u!==null&&(u.return=null),l.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Am(t,e),t=t.sibling}function Am(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Gt(t,e),Xt(e),a&4&&(Jl(Mt|fn,e,e.return),So(Mt|fn,e),Zs(e,e.return,bt|fn));break;case 1:Gt(t,e),Xt(e),a&512&&(Fe||n===null||Mn(n,n.return)),a&64&&fa&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var l=An;if(Gt(t,e),Xt(e),a&512&&(Fe||n===null||Mn(n,n.return)),a&4)if(t=n!==null?n.memoizedState:null,a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,t=l.ownerDocument||l;t:switch(a){case"title":l=t.getElementsByTagName("title")[0],(!l||l[Bo]||l[Rt]||l.namespaceURI===cu||l.hasAttribute("itemprop"))&&(l=t.createElement(a),t.head.insertBefore(l,t.querySelector("head > title"))),yt(l,a,n),l[Rt]=e,p(l),a=l;break e;case"link":var u=zy("link","href",t).get(a+(n.href||""));if(u){for(var o=0;o<u.length;o++)if(l=u[o],l.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&l.getAttribute("rel")===(n.rel==null?null:n.rel)&&l.getAttribute("title")===(n.title==null?null:n.title)&&l.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){u.splice(o,1);break t}}l=t.createElement(a),yt(l,a,n),t.head.appendChild(l);break;case"meta":if(u=zy("meta","content",t).get(a+(n.content||""))){for(o=0;o<u.length;o++)if(l=u[o],G(n.content,"content"),l.getAttribute("content")===(n.content==null?null:""+n.content)&&l.getAttribute("name")===(n.name==null?null:n.name)&&l.getAttribute("property")===(n.property==null?null:n.property)&&l.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&l.getAttribute("charset")===(n.charSet==null?null:n.charSet)){u.splice(o,1);break t}}l=t.createElement(a),yt(l,a,n),t.head.appendChild(l);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+a+'". This is a bug in React.')}l[Rt]=e,p(l),a=l}e.stateNode=a}else Uy(l,e.type,e.stateNode);else e.stateNode=My(l,a,e.memoizedProps);else t!==a?(t===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):t.count--,a===null?Uy(l,e.type,e.stateNode):My(l,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Js(e,e.memoizedProps,n.memoizedProps);break;case 27:Gt(t,e),Xt(e),a&512&&(Fe||n===null||Mn(n,n.return)),n!==null&&a&4&&Js(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Gt(t,e),Xt(e),a&512&&(Fe||n===null||Mn(n,n.return)),e.flags&32){t=e.stateNode;try{q(e,Sy,t)}catch(y){we(e,e.return,y)}}a&4&&e.stateNode!=null&&(t=e.memoizedProps,Js(e,t,n!==null?n.memoizedProps:t)),a&1024&&(xd=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Gt(t,e),Xt(e),a&4){if(e.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.");a=e.memoizedProps,n=n!==null?n.memoizedProps:a,t=e.stateNode;try{q(e,Ib,t,n,a)}catch(y){we(e,e.return,y)}}break;case 3:if(l=Kn(),dr=null,u=An,An=gc(t.containerInfo),Gt(t,e),An=u,Xt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{q(e,iS,t.containerInfo)}catch(y){we(e,e.return,y)}xd&&(xd=!1,Om(e)),t.effectDuration+=qi(l);break;case 4:a=An,An=gc(e.stateNode.containerInfo),Gt(t,e),Xt(e),An=a;break;case 12:a=Kn(),Gt(t,e),Xt(e),e.stateNode.effectDuration+=so(a);break;case 13:Gt(t,e),Xt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Hd=Bn()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Is(e,a)));break;case 22:l=e.memoizedState!==null;var i=n!==null&&n.memoizedState!==null,r=fa,s=Fe;if(fa=r||l,Fe=s||i,Gt(t,e),Fe=s,fa=r,Xt(e),a&8192)e:for(t=e.stateNode,t._visibility=l?t._visibility&~kc:t._visibility|kc,l&&(n===null||i||fa||Fe||ml(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){i=n=t;try{u=i.stateNode,l?q(i,eS,u):q(i,nS,i.stateNode,i.memoizedProps)}catch(y){we(i,i.return,y)}}}else if(t.tag===6){if(n===null){i=t;try{o=i.stateNode,l?q(i,tS,o):q(i,aS,o,i.memoizedProps)}catch(y){we(i,i.return,y)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,Is(e,n))));break;case 19:Gt(t,e),Xt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Is(e,a)));break;case 30:break;case 21:break;default:Gt(t,e),Xt(e)}}function Xt(e){var t=e.flags;if(t&2){try{q(e,Cb,e)}catch(n){we(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Om(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Om(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ea(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Sm(e,t.alternate,t),t=t.sibling}function Dm(e){switch(e.tag){case 0:case 11:case 14:case 15:Zs(e,e.return,bt),ml(e);break;case 1:Mn(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&mm(e,e.return,t),ml(e);break;case 27:q(e,Co,e.stateNode);case 26:case 5:Mn(e,e.return),ml(e);break;case 22:e.memoizedState===null&&ml(e);break;case 30:ml(e);break;default:ml(e)}}function ml(e){for(e=e.child;e!==null;)Dm(e),e=e.sibling}function xm(e,t,n,a){var l=n.flags;switch(n.tag){case 0:case 11:case 15:ta(e,n,a),dm(n,bt);break;case 1:if(ta(e,n,a),t=n.stateNode,typeof t.componentDidMount=="function"&&q(n,Sd,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{q(n,pb,t,e)}catch(u){we(n,n.return,u)}}a&&l&64&&pm(n),To(n,n.return);break;case 27:bm(n);case 26:case 5:ta(e,n,a),a&&t===null&&l&4&&gm(n),To(n,n.return);break;case 12:if(a&&l&4){l=Kn(),ta(e,n,a),a=n.stateNode,a.effectDuration+=so(l);try{q(n,ym,n,t,Yc,a.effectDuration)}catch(u){we(n,n.return,u)}}else ta(e,n,a);break;case 13:ta(e,n,a),a&&l&4&&Rm(e,n);break;case 22:n.memoizedState===null&&ta(e,n,a),To(n,n.return);break;case 30:break;default:ta(e,n,a)}}function ta(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)xm(e,t.alternate,t,n),t=t.sibling}function Fs(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&sl(e),n!=null&&ro(n))}function Ps(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(sl(t),e!=null&&ro(e))}function zn(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Cm(e,t,n,a),t=t.sibling}function Cm(e,t,n,a){var l=t.flags;switch(t.tag){case 0:case 11:case 15:zn(e,t,n,a),l&2048&&hm(t,ct|fn);break;case 1:zn(e,t,n,a);break;case 3:var u=Kn();zn(e,t,n,a),l&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(sl(t),n!=null&&ro(n))),e.passiveEffectDuration+=qi(u);break;case 12:if(l&2048){l=Kn(),zn(e,t,n,a),e=t.stateNode,e.passiveEffectDuration+=so(l);try{q(t,xb,t,t.alternate,Yc,e.passiveEffectDuration)}catch(i){we(t,t.return,i)}}else zn(e,t,n,a);break;case 13:zn(e,t,n,a);break;case 23:break;case 22:u=t.stateNode;var o=t.alternate;t.memoizedState!==null?u._visibility&ua?zn(e,t,n,a):Eo(e,t):u._visibility&ua?zn(e,t,n,a):(u._visibility|=ua,Kl(e,t,n,a,(t.subtreeFlags&10256)!==0)),l&2048&&Fs(o,t);break;case 24:zn(e,t,n,a),l&2048&&Ps(t.alternate,t);break;default:zn(e,t,n,a)}}function Kl(e,t,n,a,l){for(l=l&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)wm(e,t,n,a,l),t=t.sibling}function wm(e,t,n,a,l){var u=t.flags;switch(t.tag){case 0:case 11:case 15:Kl(e,t,n,a,l),hm(t,ct);break;case 23:break;case 22:var o=t.stateNode;t.memoizedState!==null?o._visibility&ua?Kl(e,t,n,a,l):Eo(e,t):(o._visibility|=ua,Kl(e,t,n,a,l)),l&&u&2048&&Fs(t.alternate,t);break;case 24:Kl(e,t,n,a,l),l&&u&2048&&Ps(t.alternate,t);break;default:Kl(e,t,n,a,l)}}function Eo(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,l=a.flags;switch(a.tag){case 22:Eo(n,a),l&2048&&Fs(a.alternate,a);break;case 24:Eo(n,a),l&2048&&Ps(a.alternate,a);break;default:Eo(n,a)}t=t.sibling}}function Wl(e){if(e.subtreeFlags&li)for(e=e.child;e!==null;)Mm(e),e=e.sibling}function Mm(e){switch(e.tag){case 26:Wl(e),e.flags&li&&e.memoizedState!==null&&hS(An,e.memoizedState,e.memoizedProps);break;case 5:Wl(e);break;case 3:case 4:var t=An;An=gc(e.stateNode.containerInfo),Wl(e),An=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=li,li=16777216,Wl(e),li=t):Wl(e));break;default:Wl(e)}}function zm(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ro(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];ht=a,_m(a,e)}zm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Um(e),e=e.sibling}function Um(e){switch(e.tag){case 0:case 11:case 15:Ro(e),e.flags&2048&&$s(e,e.return,ct|fn);break;case 3:var t=Kn();Ro(e),e.stateNode.passiveEffectDuration+=qi(t);break;case 12:t=Kn(),Ro(e),e.stateNode.passiveEffectDuration+=so(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&ua&&(e.return===null||e.return.tag!==13)?(t._visibility&=~ua,fc(e)):Ro(e);break;default:Ro(e)}}function fc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];ht=a,_m(a,e)}zm(e)}for(e=e.child;e!==null;)Hm(e),e=e.sibling}function Hm(e){switch(e.tag){case 0:case 11:case 15:$s(e,e.return,ct),fc(e);break;case 22:var t=e.stateNode;t._visibility&ua&&(t._visibility&=~ua,fc(e));break;default:fc(e)}}function _m(e,t){for(;ht!==null;){var n=ht,a=n;switch(a.tag){case 0:case 11:case 15:$s(a,t,ct);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(a=a.memoizedState.cachePool.pool,a!=null&&sl(a));break;case 24:ro(a.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,ht=a;else e:for(n=e;ht!==null;){a=ht;var l=a.sibling,u=a.return;if(Tm(a),a===n){ht=null;break e}if(l!==null){l.return=u,ht=l;break e}ht=u}}}function zb(){Q1.forEach(function(e){return e()})}function Bm(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||b.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Qt(e){if((Ae&zt)!==Jt&&ie!==0)return ie&-ie;var t=b.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Tl,e!==0?e:rf()):Iu()}function km(){Wt===0&&(Wt=(ie&536870912)===0||ye?ne():536870912);var e=hn.current;return e!==null&&(e.flags|=32),Wt}function Ie(e,t,n){if(Lu&&console.error("useInsertionEffect must not schedule updates."),Nd&&(er=!0),(e===He&&(De===Dl||De===xl)||e.cancelPendingCommit!==null)&&(Fl(e,0),wa(e,ie,Wt,!1)),Sa(e,n),(Ae&zt)!==0&&e===He){if(Nn)switch(t.tag){case 0:case 11:case 15:e=ae&&L(ae)||"Unknown",K0.has(e)||(K0.add(e),t=L(t)||"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",t,e,e));break;case 1:J0||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),J0=!0)}}else Sn&&Ku(e,t,n),jb(t),e===He&&((Ae&zt)===Jt&&(Xa|=n),Je===Ol&&wa(e,ie,Wt,!1)),Un(e)}function Lm(e,t,n){if((Ae&(zt|On))!==Jt)throw Error("Should not already be working.");var a=!n&&(t&124)===0&&(t&e.expiredLanes)===0||ba(e,t),l=a?Hb(e,t):nf(e,t,!0),u=a;do{if(l===da){Bu&&!a&&wa(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!Ub(n)){l=nf(e,t,!1),u=!1;continue}if(l===Hu){if(u=t,e.errorRecoveryDisabledLanes&u)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{l=e;var i=o;o=si;var r=l.current.memoizedState.isDehydrated;if(r&&(Fl(l,i).flags|=256),i=nf(l,i,!1),i!==Hu){if(zd&&!r){l.errorRecoveryDisabledLanes|=u,Xa|=u,l=Ol;break e}l=Ut,Ut=o,l!==null&&(Ut===null?Ut=l:Ut.push.apply(Ut,l))}l=i}if(u=!1,l!==Hu)continue}}if(l===oi){Fl(e,0),wa(e,t,0,!0);break}e:{switch(a=e,l){case da:case oi:throw Error("Root did not complete. This is a bug in React.");case Ol:if((t&4194048)!==t)break;case Ic:wa(a,t,Wt,!Va);break e;case Hu:Ut=null;break;case Cd:case Y0:break;default:throw Error("Unknown root exit status.")}if(b.actQueue!==null)af(a,n,t,Ut,fi,Fc,Wt,Xa,Cl);else{if((t&62914560)===t&&(u=Hd+V0-Bn(),10<u)){if(wa(a,t,Wt,!Va),Qn(a,0,!0)!==0)break e;a.timeoutHandle=av(Nm.bind(null,a,n,Ut,fi,Fc,t,Wt,Xa,Cl,Va,l,K1,Xg,0),u);break e}Nm(a,n,Ut,fi,Fc,t,Wt,Xa,Cl,Va,l,$1,Xg,0)}}}break}while(!0);Un(e)}function Nm(e,t,n,a,l,u,o,i,r,s,y,S,m,T){if(e.timeoutHandle=Hl,S=t.subtreeFlags,(S&8192||(S&16785408)===16785408)&&(gi={stylesheets:null,count:0,unsuspend:dS},Mm(t),S=pS(),S!==null)){e.cancelPendingCommit=S(af.bind(null,e,t,u,n,a,l,o,i,r,y,J1,m,T)),wa(e,u,o,!s);return}af(e,t,u,n,a,l,o,i,r)}function Ub(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var l=n[a],u=l.getSnapshot;l=l.value;try{if(!Ct(u(),l))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function wa(e,t,n,a){t&=~Ud,t&=~Xa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var l=t;0<l;){var u=31-Dt(l),o=1<<u;a[u]=-1,l&=~o}n!==0&&$u(e,n,t)}function Il(){return(Ae&(zt|On))===Jt?(Do(0),!1):!0}function ef(){if(ae!==null){if(De===Yt)var e=ae.return;else e=ae,ki(),fs(e),Du=null,ni=0,e=ae;for(;e!==null;)fm(e.alternate,e),e=e.return;ae=null}}function Fl(e,t){var n=e.timeoutHandle;n!==Hl&&(e.timeoutHandle=Hl,cT(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ef(),He=e,ae=n=$n(e.current,null),ie=t,De=Yt,Kt=null,Va=!1,Bu=ba(e,t),zd=!1,Je=da,Cl=Wt=Ud=Xa=Ga=0,Ut=si=null,Fc=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var l=31-Dt(a),u=1<<l;t|=e[l],a&=~u}return Gn=t,Ui(),t=Vg(),1e3<t-jg&&(b.recentlyCreatedOwnerStacks=0,jg=t),En.discardPendingWarnings(),n}function qm(e,t){Z=null,b.H=Kc,b.getCurrentStack=null,Nn=!1,$t=null,t===Fo||t===Xc?(t=dp(),De=ci):t===$g?(t=dp(),De=j0):De=t===z0?Md:t!==null&&typeof t=="object"&&typeof t.then=="function"?_u:ii,Kt=t;var n=ae;if(n===null)Je=oi,oc(e,Vt(t,e.current));else switch(n.mode&vt&&es(n),ga(),De){case ii:U!==null&&typeof U.markComponentErrored=="function"&&U.markComponentErrored(n,t,ie);break;case Dl:case xl:case ci:case _u:case ri:U!==null&&typeof U.markComponentSuspended=="function"&&U.markComponentSuspended(n,t,ie)}}function Ym(){var e=b.H;return b.H=Kc,e===null?Kc:e}function jm(){var e=b.A;return b.A=X1,e}function tf(){Je=Ol,Va||(ie&4194048)!==ie&&hn.current!==null||(Bu=!0),(Ga&134217727)===0&&(Xa&134217727)===0||He===null||wa(He,ie,Wt,!1)}function nf(e,t,n){var a=Ae;Ae|=zt;var l=Ym(),u=jm();if(He!==e||ie!==t){if(Sn){var o=e.memoizedUpdaters;0<o.size&&(Oo(e,ie),o.clear()),Wu(e,t)}fi=null,Fl(e,t)}Xu(t),t=!1,o=Je;e:do try{if(De!==Yt&&ae!==null){var i=ae,r=Kt;switch(De){case Md:ef(),o=Ic;break e;case ci:case Dl:case xl:case _u:hn.current===null&&(t=!0);var s=De;if(De=Yt,Kt=null,Pl(e,i,r,s),n&&Bu){o=da;break e}break;default:s=De,De=Yt,Kt=null,Pl(e,i,r,s)}}Vm(),o=Je;break}catch(y){qm(e,y)}while(!0);return t&&e.shellSuspendCounter++,ki(),Ae=a,b.H=l,b.A=u,Qu(),ae===null&&(He=null,ie=0,Ui()),o}function Vm(){for(;ae!==null;)Gm(ae)}function Hb(e,t){var n=Ae;Ae|=zt;var a=Ym(),l=jm();if(He!==e||ie!==t){if(Sn){var u=e.memoizedUpdaters;0<u.size&&(Oo(e,ie),u.clear()),Wu(e,t)}fi=null,Pc=Bn()+G0,Fl(e,t)}else Bu=ba(e,t);Xu(t);e:do try{if(De!==Yt&&ae!==null)t:switch(t=ae,u=Kt,De){case ii:De=Yt,Kt=null,Pl(e,t,u,ii);break;case Dl:case xl:if(sp(u)){De=Yt,Kt=null,Xm(t);break}t=function(){De!==Dl&&De!==xl||He!==e||(De=ri),Un(e)},u.then(t,t);break e;case ci:De=ri;break e;case j0:De=wd;break e;case ri:sp(u)?(De=Yt,Kt=null,Xm(t)):(De=Yt,Kt=null,Pl(e,t,u,ri));break;case wd:var o=null;switch(ae.tag){case 26:o=ae.memoizedState;case 5:case 27:var i=ae;if(!o||Hy(o)){De=Yt,Kt=null;var r=i.sibling;if(r!==null)ae=r;else{var s=i.return;s!==null?(ae=s,dc(s)):ae=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}De=Yt,Kt=null,Pl(e,t,u,wd);break;case _u:De=Yt,Kt=null,Pl(e,t,u,_u);break;case Md:ef(),Je=Ic;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}b.actQueue!==null?Vm():_b();break}catch(y){qm(e,y)}while(!0);return ki(),b.H=a,b.A=l,Ae=n,ae!==null?(U!==null&&typeof U.markRenderYielded=="function"&&U.markRenderYielded(),da):(Qu(),He=null,ie=0,Ui(),Je)}function _b(){for(;ae!==null&&!MS();)Gm(ae)}function Gm(e){var t=e.alternate;(e.mode&vt)!==Be?(Pr(e),t=q(e,Qs,t,e,Gn),es(e)):t=q(e,Qs,t,e,Gn),e.memoizedProps=e.pendingProps,t===null?dc(e):ae=t}function Xm(e){var t=q(e,Bb,e);e.memoizedProps=e.pendingProps,t===null?dc(e):ae=t}function Bb(e){var t=e.alternate,n=(e.mode&vt)!==Be;switch(n&&Pr(e),e.tag){case 15:case 0:t=am(t,e,e.pendingProps,e.type,void 0,ie);break;case 11:t=am(t,e,e.pendingProps,e.type.render,e.ref,ie);break;case 5:fs(e);default:fm(t,e),e=ae=Ph(e,Gn),t=Qs(t,e,Gn)}return n&&es(e),t}function Pl(e,t,n,a){ki(),fs(t),Du=null,ni=0;var l=t.return;try{if(Sb(e,l,t,n,ie)){Je=oi,oc(e,Vt(n,e.current)),ae=null;return}}catch(u){if(l!==null)throw ae=l,u;Je=oi,oc(e,Vt(n,e.current)),ae=null;return}t.flags&32768?(ye||a===ii?e=!0:Bu||(ie&536870912)!==0?e=!1:(Va=e=!0,(a===Dl||a===xl||a===ci||a===_u)&&(a=hn.current,a!==null&&a.tag===13&&(a.flags|=16384))),Qm(t,e)):dc(t)}function dc(e){var t=e;do{if((t.flags&32768)!==0){Qm(t,Va);return}var n=t.alternate;if(e=t.return,Pr(t),n=q(t,Eb,n,t,Gn),(t.mode&vt)!==Be&&op(t),n!==null){ae=n;return}if(t=t.sibling,t!==null){ae=t;return}ae=t=e}while(t!==null);Je===da&&(Je=Y0)}function Qm(e,t){do{var n=Rb(e.alternate,e);if(n!==null){n.flags&=32767,ae=n;return}if((e.mode&vt)!==Be){op(e),n=e.actualDuration;for(var a=e.child;a!==null;)n+=a.actualDuration,a=a.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){ae=e;return}ae=e=n}while(e!==null);Je=Ic,ae=null}function af(e,t,n,a,l,u,o,i,r){e.cancelPendingCommit=null;do Ao();while(St!==wl);if(En.flushLegacyContextWarning(),En.flushPendingUnsafeLifecycleWarnings(),(Ae&(zt|On))!==Jt)throw Error("Should not already be working.");if(U!==null&&typeof U.markCommitStarted=="function"&&U.markCommitStarted(n),t===null)Xn();else{if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.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(u=t.lanes|t.childLanes,u|=id,Ei(e,n,u,o,i,r),e===He&&(ae=He=null,ie=0),ku=t,Za=e,$a=n,Bd=u,kd=l,$0=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Yb(uu,function(){return Wm(),null})):(e.callbackNode=null,e.callbackPriority=0),Yc=Tu(),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=b.T,b.T=null,l=Re.p,Re.p=an,o=Ae,Ae|=On;try{wb(e,t,n)}finally{Ae=o,Re.p=l,b.T=a}}St=X0,Zm(),$m(),Jm()}}function Zm(){if(St===X0){St=wl;var e=Za,t=ku,n=$a,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=b.T,b.T=null;var l=Re.p;Re.p=an;var u=Ae;Ae|=On;try{zu=n,Uu=e,Am(t,e),Uu=zu=null,n=$d;var o=Jh(e.containerInfo),i=n.focusedElem,r=n.selectionRange;if(o!==i&&i&&i.ownerDocument&&$h(i.ownerDocument.documentElement,i)){if(r!==null&&qr(i)){var s=r.start,y=r.end;if(y===void 0&&(y=s),"selectionStart"in i)i.selectionStart=s,i.selectionEnd=Math.min(y,i.value.length);else{var S=i.ownerDocument||document,m=S&&S.defaultView||window;if(m.getSelection){var T=m.getSelection(),B=i.textContent.length,Q=Math.min(r.start,B),_e=r.end===void 0?Q:Math.min(r.end,B);!T.extend&&Q>_e&&(o=_e,_e=Q,Q=o);var fe=Zh(i,Q),f=Zh(i,_e);if(fe&&f&&(T.rangeCount!==1||T.anchorNode!==fe.node||T.anchorOffset!==fe.offset||T.focusNode!==f.node||T.focusOffset!==f.offset)){var d=S.createRange();d.setStart(fe.node,fe.offset),T.removeAllRanges(),Q>_e?(T.addRange(d),T.extend(f.node,f.offset)):(d.setEnd(f.node,f.offset),T.addRange(d))}}}}for(S=[],T=i;T=T.parentNode;)T.nodeType===1&&S.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<S.length;i++){var h=S[i];h.element.scrollLeft=h.left,h.element.scrollTop=h.top}}mr=!!Zd,$d=Zd=null}finally{Ae=u,Re.p=l,b.T=a}}e.current=t,St=Q0}}function $m(){if(St===Q0){St=wl;var e=Za,t=ku,n=$a,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=b.T,b.T=null;var l=Re.p;Re.p=an;var u=Ae;Ae|=On;try{U!==null&&typeof U.markLayoutEffectsStarted=="function"&&U.markLayoutEffectsStarted(n),zu=n,Uu=e,Sm(e,t.alternate,t),Uu=zu=null,U!==null&&typeof U.markLayoutEffectsStopped=="function"&&U.markLayoutEffectsStopped()}finally{Ae=u,Re.p=l,b.T=a}}St=Z0}}function Jm(){if(St===W1||St===Z0){St=wl,zS();var e=Za,t=ku,n=$a,a=$0,l=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;l?St=_d:(St=wl,ku=Za=null,Km(e,e.pendingLanes),Ml=0,hi=null);var u=e.pendingLanes;if(u===0&&(Qa=null),l||ey(e),l=ql(n),t=t.stateNode,Et&&typeof Et.onCommitFiberRoot=="function")try{var o=(t.current.flags&128)===128;switch(l){case an:var i=qf;break;case Ln:i=Yf;break;case la:i=uu;break;case wc:i=jf;break;default:i=uu}Et.onCommitFiberRoot(ou,t,i,o)}catch(S){kn||(kn=!0,console.error("React instrumentation encountered an error: %s",S))}if(Sn&&e.memoizedUpdaters.clear(),zb(),a!==null){o=b.T,i=Re.p,Re.p=an,b.T=null;try{var r=e.onRecoverableError;for(t=0;t<a.length;t++){var s=a[t],y=kb(s.stack);q(s.source,r,s.value,y)}}finally{b.T=o,Re.p=i}}($a&3)!==0&&Ao(),Un(e),u=e.pendingLanes,(n&4194090)!==0&&(u&42)!==0?(Vc=!0,e===Ld?di++:(di=0,Ld=e)):di=0,Do(0),Xn()}}function kb(e){return e={componentStack:e},Object.defineProperty(e,"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.')}}),e}function Km(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ro(t)))}function Ao(e){return Zm(),$m(),Jm(),Wm()}function Wm(){if(St!==_d)return!1;var e=Za,t=Bd;Bd=0;var n=ql($a),a=la>n?la:n;n=b.T;var l=Re.p;try{Re.p=a,b.T=null,a=kd,kd=null;var u=Za,o=$a;if(St=wl,ku=Za=null,$a=0,(Ae&(zt|On))!==Jt)throw Error("Cannot flush passive effects while already rendering.");Nd=!0,er=!1,U!==null&&typeof U.markPassiveEffectsStarted=="function"&&U.markPassiveEffectsStarted(o);var i=Ae;if(Ae|=On,Um(u.current),Cm(u,u.current,o,a),U!==null&&typeof U.markPassiveEffectsStopped=="function"&&U.markPassiveEffectsStopped(),ey(u),Ae=i,Do(0,!1),er?u===hi?Ml++:(Ml=0,hi=u):Ml=0,er=Nd=!1,Et&&typeof Et.onPostCommitFiberRoot=="function")try{Et.onPostCommitFiberRoot(ou,u)}catch(s){kn||(kn=!0,console.error("React instrumentation encountered an error: %s",s))}var r=u.current.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,!0}finally{Re.p=l,b.T=n,Km(e,t)}}function Im(e,t,n){t=Vt(n,t),t=_s(e.stateNode,t,2),e=Oa(e,t,2),e!==null&&(Sa(e,2),Un(e))}function we(e,t,n){if(Lu=!1,e.tag===3)Im(e,e,n);else{for(;t!==null;){if(t.tag===3){Im(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Qa===null||!Qa.has(a))){e=Vt(n,e),n=Bs(2),a=Oa(t,n,2),a!==null&&(ks(n,a,t,e),Sa(a,2),Un(a));return}}t=t.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.
|
|
182
182
|
|
|
183
183
|
Error message:
|
|
184
184
|
|
|
185
|
-
%s`,n)}}function
|
|
185
|
+
%s`,n)}}function lf(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new Z1;var l=new Set;a.set(t,l)}else l=a.get(t),l===void 0&&(l=new Set,a.set(t,l));l.has(n)||(zd=!0,l.add(n),a=Lb.bind(null,e,t,n),Sn&&Oo(e,n),t.then(a,a))}function Lb(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Bm()&&b.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
186
186
|
|
|
187
187
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
188
188
|
|
|
@@ -191,7 +191,7 @@ act(() => {
|
|
|
191
191
|
});
|
|
192
192
|
/* assert on the output */
|
|
193
193
|
|
|
194
|
-
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`),
|
|
194
|
+
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`),He===e&&(ie&n)===n&&(Je===Ol||Je===Cd&&(ie&62914560)===ie&&Bn()-Hd<V0?(Ae&zt)===Jt&&Fl(e,0):Ud|=n,Cl===ie&&(Cl=0)),Un(e)}function Fm(e,t){t===0&&(t=Pa()),e=_t(e,t),e!==null&&(Sa(e,t),Un(e))}function Nb(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Fm(e,n)}function qb(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),Fm(e,n)}function uf(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var a=e,l=t,u=l.type===Ac;u=n||u,l.tag!==22?l.flags&67108864?u&&q(l,Pm,a,l,(l.mode&Ng)===Be):uf(a,l,u):l.memoizedState===null&&(u&&l.flags&8192?q(l,Pm,a,l):l.subtreeFlags&67108864&&q(l,uf,a,l,u)),t=t.sibling}}function Pm(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Te(!0);try{Dm(t),n&&Hm(t),xm(e,t.alternate,t,!1),n&&wm(e,t,0,null,!1,0)}finally{Te(!1)}}function ey(e){var t=!0;e.current.mode&(At|Tn)||(t=!1),uf(e,e.current,t)}function ty(e){if((Ae&zt)===Jt){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=L(e)||"ReactComponent",tr!==null){if(tr.has(t))return;tr.add(t)}else tr=new Set([t]);q(e,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 Oo(e,t){Sn&&e.memoizedUpdaters.forEach(function(n){Ku(e,n,t)})}function Yb(e,t){var n=b.actQueue;return n!==null?(n.push(t),P1):Nf(e,t)}function jb(e){Bm()&&b.actQueue===null&&q(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
195
195
|
|
|
196
196
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
197
197
|
|
|
@@ -200,136 +200,71 @@ act(() => {
|
|
|
200
200
|
});
|
|
201
201
|
/* assert on the output */
|
|
202
202
|
|
|
203
|
-
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`,L(e))})}function Un(e){e!==Yo&&e.next===null&&(Yo===null?nr=Yo=e:Yo=Yo.next=e),ar=!0,b.actQueue!==null?Vd||(Vd=!0,oy()):jd||(jd=!0,oy())}function Ou(e,t){if(!Gd&&ar){Gd=!0;do for(var n=!1,a=nr;a!==null;){if(e!==0){var l=a.pendingLanes;if(l===0)var o=0;else{var u=a.suspendedLanes,i=a.pingedLanes;o=(1<<31-Ot(42|e)+1)-1,o&=l&~(u&~i),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,ly(a,o))}else o=fe,o=Qn(a,a===_e?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Hl),(o&3)===0||ba(a,o)||(n=!0,ly(a,o));a=a.next}while(n);Gd=!1}}function Xb(){rf()}function rf(){ar=Vd=jd=!1;var e=0;zl!==0&&(Kb()&&(e=zl),zl=0);for(var t=kn(),n=null,a=nr;a!==null;){var l=a.next,o=ny(a,t);o===0?(a.next=null,n===null?nr=l:n.next=l,l===null&&(Yo=n)):(n=a,(e!==0||(o&3)!==0)&&(ar=!0)),a=l}Ou(e)}function ny(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var u=31-Ot(o),i=1<<u,r=l[u];r===-1?((i&n)===0||(i&a)!==0)&&(l[u]=Dr(i,t)):r<=t&&(e.expiredLanes|=i),o&=~i}if(t=_e,n=fe,n=Qn(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Hl),a=e.callbackNode,n===0||e===t&&(Oe===Ol||Oe===Dl)||e.cancelPendingCommit!==null)return a!==null&&sf(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||ba(e,n)){if(t=n&-n,t!==e.callbackPriority||b.actQueue!==null&&a!==Xd)sf(a);else return t;switch(Yl(n)){case an:case Ln:n=Vf;break;case la:n=oo;break;case wc:n=Gf;break;default:n=oo}return a=ay.bind(null,e),b.actQueue!==null?(b.actQueue.push(a),n=Xd):n=qf(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&sf(a),e.callbackPriority=2,e.callbackNode=null,2}function ay(e,t){if(Vc=jc=!1,St!==wl&&St!==Bd)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Au()&&e.callbackNode!==n)return null;var a=fe;return a=Qn(e,e===_e?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Hl),a===0?null:(Lm(e,a,t),ny(e,kn()),e.callbackNode!=null&&e.callbackNode===n?ay.bind(null,e):null)}function ly(e,t){if(Au())return null;jc=Vc,Vc=!1,Lm(e,t,!0)}function sf(e){e!==Xd&&e!==null&&zS(e)}function oy(){b.actQueue!==null&&b.actQueue.push(function(){return rf(),null}),fT(function(){(Ae&(zt|xn))!==Jt?qf(jf,Xb):rf()})}function ff(){return zl===0&&(zl=ue()),zl}function uy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Q(e,"action"),au(""+e))}function iy(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Qb(e,t,n,a,l){if(t==="submit"&&n&&n.stateNode===l){var o=uy((l[Lt]||null).action),u=a.submitter;u&&(t=(t=u[Lt]||null)?uy(t.formAction):u.getAttribute("formAction"),t!==null&&(o=t,u=null));var i=new _c("action","action",null,a,l);e.push({event:i,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(zl!==0){var r=u?iy(l,u):new FormData(l),s={pending:!0,data:r,method:l.method,action:o};Object.freeze(s),ws(n,s,null,r)}}else typeof o=="function"&&(i.preventDefault(),r=u?iy(l,u):new FormData(l),s={pending:!0,data:r,method:l.method,action:o},Object.freeze(s),ws(n,s,o,r))},currentTarget:l}]})}}function hc(e,t,n){e.currentTarget=n;try{t(e)}catch(a){xd(a)}e.currentTarget=null}function cy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var l=void 0,o=a.event;if(a=a.listeners,t)for(var u=a.length-1;0<=u;u--){var i=a[u],r=i.instance,s=i.currentTarget;if(i=i.listener,r!==l&&o.isPropagationStopped())break e;r!==null?Y(r,hc,o,i,s):hc(o,i,s),l=r}else for(u=0;u<a.length;u++){if(i=a[u],r=i.instance,s=i.currentTarget,i=i.listener,r!==l&&o.isPropagationStopped())break e;r!==null?Y(r,hc,o,i,s):hc(o,i,s),l=r}}}}function he(e,t){Qd.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Xf];n===void 0&&(n=t[Xf]=new Set);var a=e+"__bubble";n.has(a)||(ry(t,e,2,!1),n.add(a))}function df(e,t,n){Qd.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=4),ry(n,e,a,t)}function hf(e){if(!e[lr]){e[lr]=!0,Zy.forEach(function(n){n!=="selectionchange"&&(Qd.has(n)||df(n,!1,e),df(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[lr]||(t[lr]=!0,df("selectionchange",!1,t))}}function ry(e,t,n,a){switch(Ny(t)){case an:var l=TS;break;case Ln:l=ES;break;default:l=Cf}n=l.bind(null,t,n,e),l=void 0,!Ff||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),a?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function pf(e,t,n,a,l){var o=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var u=a.tag;if(u===3||u===4){var i=a.stateNode.containerInfo;if(i===l)break;if(u===4)for(u=a.return;u!==null;){var r=u.tag;if((r===3||r===4)&&u.stateNode.containerInfo===l)return;u=u.return}for(;i!==null;){if(u=yn(i),u===null)return;if(r=u.tag,r===5||r===6||r===26||r===27){a=o=u;continue e}i=i.parentNode}}a=a.return}kh(function(){var s=o,y=Yr(n),S=[];e:{var m=Lg.get(e);if(m!==void 0){var T=_c,k=e;switch(e){case"keypress":if(wi(n)===0)break e;case"keydown":case"keyup":T=v1;break;case"focusin":k="focus",T=nd;break;case"focusout":k="blur",T=nd;break;case"beforeblur":case"afterblur":T=nd;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=Rg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=u1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=T1;break;case Hg:case _g:case kg:T=r1;break;case Bg:T=R1;break;case"scroll":case"scrollend":T=l1;break;case"wheel":T=x1;break;case"copy":case"cut":case"paste":T=f1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=xg;break;case"toggle":case"beforetoggle":T=D1}var $=(t&4)!==0,ke=!$&&(e==="scroll"||e==="scrollend"),pe=$?m!==null?m+"Capture":null:m;$=[];for(var f=s,d;f!==null;){var h=f;if(d=h.stateNode,h=h.tag,h!==5&&h!==26&&h!==27||d===null||pe===null||(h=lu(f,pe),h!=null&&$.push(Du(f,h,d))),ke)break;f=f.return}0<$.length&&(m=new T(m,k,null,n,y),S.push({event:m,listeners:$}))}}if((t&7)===0){e:{if(m=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",m&&n!==Lu&&(k=n.relatedTarget||n.fromElement)&&(yn(k)||k[Ba]))break e;if((T||m)&&(m=y.window===y?y:(m=y.ownerDocument)?m.defaultView||m.parentWindow:window,T?(k=n.relatedTarget||n.toElement,T=s,k=k?yn(k):null,k!==null&&(ke=de(k),$=k.tag,k!==ke||$!==5&&$!==27&&$!==6)&&(k=null)):(T=null,k=s),T!==k)){if($=Rg,h="onMouseLeave",pe="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&($=xg,h="onPointerLeave",pe="onPointerEnter",f="pointer"),ke=T==null?m:Ea(T),d=k==null?m:Ea(k),m=new $(h,f+"leave",T,n,y),m.target=ke,m.relatedTarget=d,h=null,yn(y)===s&&($=new $(pe,f+"enter",k,n,y),$.target=d,$.relatedTarget=ke,h=$),ke=h,T&&k)t:{for($=T,pe=k,f=0,d=$;d;d=eo(d))f++;for(d=0,h=pe;h;h=eo(h))d++;for(;0<f-d;)$=eo($),f--;for(;0<d-f;)pe=eo(pe),d--;for(;f--;){if($===pe||pe!==null&&$===pe.alternate)break t;$=eo($),pe=eo(pe)}$=null}else $=null;T!==null&&sy(S,m,T,$,!1),k!==null&&ke!==null&&sy(S,ke,k,$,!0)}}e:{if(m=s?Ea(s):window,T=m.nodeName&&m.nodeName.toLowerCase(),T==="select"||T==="input"&&m.type==="file")var E=Vh;else if(qh(m))if(zg)E=fb;else{E=rb;var C=cb}else T=m.nodeName,!T||T.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?s&&nu(s.elementType)&&(E=Vh):E=sb;if(E&&(E=E(e,s))){jh(S,E,n,y);break e}C&&C(e,m,s),e==="focusout"&&s&&m.type==="number"&&s.memoizedProps.value!=null&&Hr(m,"number",m.value)}switch(C=s?Ea(s):window,e){case"focusin":(qh(C)||C.contentEditable==="true")&&(po=C,ld=s,Xu=null);break;case"focusout":Xu=ld=po=null;break;case"mousedown":od=!0;break;case"contextmenu":case"mouseup":case"dragend":od=!1,Kh(S,n,y);break;case"selectionchange":if(z1)break;case"keydown":case"keyup":Kh(S,n,y)}var K;if(ad)e:{switch(e){case"compositionstart":var B="onCompositionStart";break e;case"compositionend":B="onCompositionEnd";break e;case"compositionupdate":B="onCompositionUpdate";break e}B=void 0}else ho?Nh(e,n)&&(B="onCompositionEnd"):e==="keydown"&&n.keyCode===Og&&(B="onCompositionStart");B&&(Dg&&n.locale!=="ko"&&(ho||B!=="onCompositionStart"?B==="onCompositionEnd"&&ho&&(K=Bh()):(La=y,Pf="value"in La?La.value:La.textContent,ho=!0)),C=pc(s,B),0<C.length&&(B=new Ag(B,e,null,n,y),S.push({event:B,listeners:C}),K?B.data=K:(K=Yh(n),K!==null&&(B.data=K)))),(K=w1?lb(e,n):ob(e,n))&&(B=pc(s,"onBeforeInput"),0<B.length&&(C=new h1("onBeforeInput","beforeinput",null,n,y),S.push({event:C,listeners:B}),C.data=K)),Qb(S,e,s,n,y)}cy(S,t)})}function Du(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pc(e,t){for(var n=t+"Capture",a=[];e!==null;){var l=e,o=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||o===null||(l=lu(e,n),l!=null&&a.unshift(Du(e,l,o)),l=lu(e,t),l!=null&&a.push(Du(e,l,o))),e.tag===3)return a;e=e.return}return[]}function eo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function sy(e,t,n,a,l){for(var o=t._reactName,u=[];n!==null&&n!==a;){var i=n,r=i.alternate,s=i.stateNode;if(i=i.tag,r!==null&&r===a)break;i!==5&&i!==26&&i!==27||s===null||(r=s,l?(s=lu(n,o),s!=null&&u.unshift(Du(n,s,r))):l||(s=lu(n,o),s!=null&&u.push(Du(n,s,r)))),n=n.return}u.length!==0&&e.push({event:t,listeners:u})}function mf(e,t){eb(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Tg||(Tg=!0,e==="select"&&t.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.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:yl,possibleRegistrationNames:Qf};nu(e)||typeof t.is=="string"||nb(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.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 ft(e,t,n,a){t!==n&&(n=Ma(n),Ma(t)!==n&&(a[e]=t))}function Zb(e,t,n){t.forEach(function(a){n[hy(a)]=a==="style"?gf(e):e.getAttribute(a)})}function Hn(e,t){t===!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.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function fy(e,t){return e=e.namespaceURI===zc||e.namespaceURI===co?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Ma(e){return _(e)&&(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.",re(e)),G(e)),(typeof e=="string"?e:""+e).replace(nT,`
|
|
204
|
-
`).replace(aT,"")}function dy(e,t){return t=Ma(t),Ma(e)===t}function mc(){}function Me(e,t,n,a,l,o){switch(n){case"children":typeof a=="string"?(Ci(a,t,!1),t==="body"||t==="textarea"&&a===""||tu(e,a)):(typeof a=="number"||typeof a=="bigint")&&(Ci(""+a,t,!1),t!=="body"&&tu(e,""+a));break;case"className":ee(e,"class",a);break;case"tabIndex":ee(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ee(e,n,a);break;case"style":Uh(e,a,o);break;case"data":if(t!=="object"){ee(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'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.':'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.',n,n),e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Q(a,n),a=au(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(a!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof a=="function"&&(l.encType==null&&l.method==null||ir||(ir=!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.")),l.target==null||ur||(ur=!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."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||l.type==="submit"||l.type==="image"||or?t!=="button"||l.type==null||l.type==="submit"||or?typeof a=="function"&&(l.name==null||F0||(F0=!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.')),l.formEncType==null&&l.formMethod==null||ir||(ir=!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.")),l.formTarget==null||ur||(ur=!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."))):(or=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(or=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof a=="function"){e.setAttribute(n,"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 o=="function"&&(n==="formAction"?(t!=="input"&&Me(e,t,"name",l.name,l,null),Me(e,t,"formEncType",l.formEncType,l,null),Me(e,t,"formMethod",l.formMethod,l,null),Me(e,t,"formTarget",l.formTarget,l,null)):(Me(e,t,"encType",l.encType,l,null),Me(e,t,"method",l.method,l,null),Me(e,t,"target",l.target,l,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Q(a,n),a=au(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!="function"&&Hn(n,a),e.onclick=mc);break;case"onScroll":a!=null&&(typeof a!="function"&&Hn(n,a),he("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&Hn(n,a),he("scrollend",e));break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}Q(a,n),n=au(""+a),e.setAttributeNS(Ul,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?(Q(a,n),e.setAttribute(n,""+a)):e.removeAttribute(n);break;case"inert":a!==""||cr[n]||(cr[n]=!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.",n));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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?(Q(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?(Q(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):(Q(a,n),e.setAttribute(n,a));break;case"popover":he("beforetoggle",e),he("toggle",e),ye(e,"popover",a);break;case"xlinkActuate":st(e,Ul,"xlink:actuate",a);break;case"xlinkArcrole":st(e,Ul,"xlink:arcrole",a);break;case"xlinkRole":st(e,Ul,"xlink:role",a);break;case"xlinkShow":st(e,Ul,"xlink:show",a);break;case"xlinkTitle":st(e,Ul,"xlink:title",a);break;case"xlinkType":st(e,Ul,"xlink:type",a);break;case"xmlBase":st(e,Zd,"xml:base",a);break;case"xmlLang":st(e,Zd,"xml:lang",a);break;case"xmlSpace":st(e,Zd,"xml:space",a);break;case"is":o!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),ye(e,"is",a);break;case"innerText":case"textContent":break;case"popoverTarget":P0||a==null||typeof a!="object"||(P0=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",a));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Hh(n),ye(e,n,a)):yl.hasOwnProperty(n)&&a!=null&&typeof a!="function"&&Hn(n,a)}}function yf(e,t,n,a,l,o){switch(n){case"style":Uh(e,a,o);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof a=="string"?tu(e,a):(typeof a=="number"||typeof a=="bigint")&&tu(e,""+a);break;case"onScroll":a!=null&&(typeof a!="function"&&Hn(n,a),he("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&Hn(n,a),he("scrollend",e));break;case"onClick":a!=null&&(typeof a!="function"&&Hn(n,a),e.onclick=mc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(yl.hasOwnProperty(n))a!=null&&typeof a!="function"&&Hn(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(l=n.endsWith("Capture"),t=n.slice(2,l?n.length-7:void 0),o=e[Lt]||null,o=o!=null?o[n]:null,typeof o=="function"&&e.removeEventListener(t,o,l),typeof a=="function")){typeof o!="function"&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,l);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):ye(e,n,a)}}}function yt(e,t,n){switch(mf(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":he("error",e),he("load",e);var a=!1,l=!1,o;for(o in n)if(n.hasOwnProperty(o)){var u=n[o];if(u!=null)switch(o){case"src":a=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Me(e,t,o,u,n,null)}}l&&Me(e,t,"srcSet",n.srcSet,n,null),a&&Me(e,t,"src",n.src,n,null);return;case"input":N("input",n),he("invalid",e);var i=o=u=l=null,r=null,s=null;for(a in n)if(n.hasOwnProperty(a)){var y=n[a];if(y!=null)switch(a){case"name":l=y;break;case"type":u=y;break;case"checked":r=y;break;case"defaultChecked":s=y;break;case"value":o=y;break;case"defaultValue":i=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Me(e,t,a,y,n,null)}}yh(e,n),gh(e,o,i,r,s,u,l,!1),xi(e);return;case"select":N("select",n),he("invalid",e),a=u=o=null;for(l in n)if(n.hasOwnProperty(l)&&(i=n[l],i!=null))switch(l){case"value":o=i;break;case"defaultValue":u=i;break;case"multiple":a=i;default:Me(e,t,l,i,n,null)}Sh(e,n),t=o,n=u,e.multiple=!!a,t!=null?jl(e,!!a,t,!1):n!=null&&jl(e,!!a,n,!0);return;case"textarea":N("textarea",n),he("invalid",e),o=l=a=null;for(u in n)if(n.hasOwnProperty(u)&&(i=n[u],i!=null))switch(u){case"value":a=i;break;case"defaultValue":l=i;break;case"children":o=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Me(e,t,u,i,n,null)}Th(e,n),Rh(e,a,l,o),xi(e);return;case"option":vh(e,n);for(r in n)if(n.hasOwnProperty(r)&&(a=n[r],a!=null))switch(r){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Me(e,t,r,a,n,null)}return;case"dialog":he("beforetoggle",e),he("toggle",e),he("cancel",e),he("close",e);break;case"iframe":case"object":he("load",e);break;case"video":case"audio":for(a=0;a<pi.length;a++)he(pi[a],e);break;case"image":he("error",e),he("load",e);break;case"details":he("toggle",e);break;case"embed":case"source":case"link":he("error",e),he("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(s in n)if(n.hasOwnProperty(s)&&(a=n[s],a!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Me(e,t,s,a,n,null)}return;default:if(nu(t)){for(y in n)n.hasOwnProperty(y)&&(a=n[y],a!==void 0&&yf(e,t,y,a,n,void 0));return}}for(i in n)n.hasOwnProperty(i)&&(a=n[i],a!=null&&Me(e,t,i,a,n,null))}function $b(e,t,n,a){switch(mf(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,o=null,u=null,i=null,r=null,s=null,y=null;for(T in n){var S=n[T];if(n.hasOwnProperty(T)&&S!=null)switch(T){case"checked":break;case"value":break;case"defaultValue":r=S;default:a.hasOwnProperty(T)||Me(e,t,T,null,a,S)}}for(var m in a){var T=a[m];if(S=n[m],a.hasOwnProperty(m)&&(T!=null||S!=null))switch(m){case"type":o=T;break;case"name":l=T;break;case"checked":s=T;break;case"defaultChecked":y=T;break;case"value":u=T;break;case"defaultValue":i=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:T!==S&&Me(e,t,m,T,a,S)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,a=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,t||!a||I0||(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"),I0=!0),!t||a||W0||(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"),W0=!0),Ur(e,u,i,r,s,y,o,l);return;case"select":T=u=i=m=null;for(o in n)if(r=n[o],n.hasOwnProperty(o)&&r!=null)switch(o){case"value":break;case"multiple":T=r;default:a.hasOwnProperty(o)||Me(e,t,o,null,a,r)}for(l in a)if(o=a[l],r=n[l],a.hasOwnProperty(l)&&(o!=null||r!=null))switch(l){case"value":m=o;break;case"defaultValue":i=o;break;case"multiple":u=o;default:o!==r&&Me(e,t,l,o,a,r)}a=i,t=u,n=T,m!=null?jl(e,!!t,m,!1):!!n!=!!t&&(a!=null?jl(e,!!t,a,!0):jl(e,!!t,t?[]:"",!1));return;case"textarea":T=m=null;for(i in n)if(l=n[i],n.hasOwnProperty(i)&&l!=null&&!a.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:Me(e,t,i,null,a,l)}for(u in a)if(l=a[u],o=n[u],a.hasOwnProperty(u)&&(l!=null||o!=null))switch(u){case"value":m=l;break;case"defaultValue":T=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==o&&Me(e,t,u,l,a,o)}Eh(e,m,T);return;case"option":for(var k in n)if(m=n[k],n.hasOwnProperty(k)&&m!=null&&!a.hasOwnProperty(k))switch(k){case"selected":e.selected=!1;break;default:Me(e,t,k,null,a,m)}for(r in a)if(m=a[r],T=n[r],a.hasOwnProperty(r)&&m!==T&&(m!=null||T!=null))switch(r){case"selected":e.selected=m&&typeof m!="function"&&typeof m!="symbol";break;default:Me(e,t,r,m,a,T)}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 $ in n)m=n[$],n.hasOwnProperty($)&&m!=null&&!a.hasOwnProperty($)&&Me(e,t,$,null,a,m);for(s in a)if(m=a[s],T=n[s],a.hasOwnProperty(s)&&m!==T&&(m!=null||T!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Me(e,t,s,m,a,T)}return;default:if(nu(t)){for(var ke in n)m=n[ke],n.hasOwnProperty(ke)&&m!==void 0&&!a.hasOwnProperty(ke)&&yf(e,t,ke,void 0,a,m);for(y in a)m=a[y],T=n[y],!a.hasOwnProperty(y)||m===T||m===void 0&&T===void 0||yf(e,t,y,m,a,T);return}}for(var pe in n)m=n[pe],n.hasOwnProperty(pe)&&m!=null&&!a.hasOwnProperty(pe)&&Me(e,t,pe,null,a,m);for(S in a)m=a[S],T=n[S],!a.hasOwnProperty(S)||m===T||m==null&&T==null||Me(e,t,S,m,a,T)}function hy(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function gf(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var a=e[n];t[a]=e.getPropertyValue(a)}return t}function py(e,t,n){if(t!=null&&typeof t!="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 a,l=a="",o;for(o in t)if(t.hasOwnProperty(o)){var u=t[o];u!=null&&typeof u!="boolean"&&u!==""&&(o.indexOf("--")===0?(De(u,o),a+=l+o+":"+(""+u).trim()):typeof u!="number"||u===0||bg.has(o)?(De(u,o),a+=l+o.replace(pg,"-$1").toLowerCase().replace(mg,"-ms-")+":"+(""+u).trim()):a+=l+o.replace(pg,"-$1").toLowerCase().replace(mg,"-ms-")+":"+u+"px",l=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=Ma(a),Ma(t)!==a&&(n.style=gf(e)))}}function tn(e,t,n,a,l,o){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Q(a,t),e===""+a)return}ft(t,e,a,o)}function my(e,t,n,a,l,o){if(l.delete(n),e=e.getAttribute(n),e===null){switch(typeof a){case"function":case"symbol":return}if(!a)return}else switch(typeof a){case"function":case"symbol":break;default:if(a)return}ft(t,e,a,o)}function vf(e,t,n,a,l,o){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":return}else if(a!=null)switch(typeof a){case"function":case"symbol":break;default:if(Q(a,n),e===""+a)return}ft(t,e,a,o)}function yy(e,t,n,a,l,o){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(a))return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(!isNaN(a)&&(Q(a,t),e===""+a))return}ft(t,e,a,o)}function bf(e,t,n,a,l,o){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Q(a,t),n=au(""+a),e===n)return}ft(t,e,a,o)}function gy(e,t,n,a){for(var l={},o=new Set,u=e.attributes,i=0;i<u.length;i++)switch(u[i].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:o.add(u[i].name)}if(nu(t)){for(var r in n)if(n.hasOwnProperty(r)){var s=n[r];if(s!=null){if(yl.hasOwnProperty(r))typeof s!="function"&&Hn(r,s);else if(n.suppressHydrationWarning!==!0)switch(r){case"children":typeof s!="string"&&typeof s!="number"||ft("children",e.textContent,s,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,s=s?s.__html:void 0,s!=null&&(s=fy(e,s),ft(r,u,s,l));continue;case"style":o.delete(r),py(e,s,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":o.delete(r.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",r);continue;case"className":o.delete("class"),u=P(e,"class",s),ft("className",u,s,l);continue;default:a.context===pa&&t!=="svg"&&t!=="math"?o.delete(r.toLowerCase()):o.delete(r),u=P(e,r,s),ft(r,u,s,l)}}}}else for(s in n)if(n.hasOwnProperty(s)&&(r=n[s],r!=null)){if(yl.hasOwnProperty(s))typeof r!="function"&&Hn(s,r);else if(n.suppressHydrationWarning!==!0)switch(s){case"children":typeof r!="string"&&typeof r!="number"||ft("children",e.textContent,r,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,r=r?r.__html:void 0,r!=null&&(r=fy(e,r),u!==r&&(l[s]={__html:u}));continue;case"className":tn(e,s,"class",r,o,l);continue;case"tabIndex":tn(e,s,"tabindex",r,o,l);continue;case"style":o.delete(s),py(e,r,l);continue;case"multiple":o.delete(s),ft(s,e.multiple,r,l);continue;case"muted":o.delete(s),ft(s,e.muted,r,l);continue;case"autoFocus":o.delete("autofocus"),ft(s,e.autofocus,r,l);continue;case"data":if(t!=="object"){o.delete(s),u=e.getAttribute("data"),ft(s,u,r,l);continue}case"src":case"href":if(!(r!==""||t==="a"&&s==="href"||t==="object"&&s==="data")){console.error(s==="src"?'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.':'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.',s,s);continue}bf(e,s,s,r,o,l);continue;case"action":case"formAction":if(u=e.getAttribute(s),typeof r=="function"){o.delete(s.toLowerCase()),s==="formAction"?(o.delete("name"),o.delete("formenctype"),o.delete("formmethod"),o.delete("formtarget")):(o.delete("enctype"),o.delete("method"),o.delete("target"));continue}else if(u===lT){o.delete(s.toLowerCase()),ft(s,"function",r,l);continue}bf(e,s,s.toLowerCase(),r,o,l);continue;case"xlinkHref":bf(e,s,"xlink:href",r,o,l);continue;case"contentEditable":vf(e,s,"contenteditable",r,o,l);continue;case"spellCheck":vf(e,s,"spellcheck",r,o,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":vf(e,s,s,r,o,l);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":my(e,s,s.toLowerCase(),r,o,l);continue;case"capture":case"download":e:{i=e;var y=u=s,S=l;if(o.delete(y),i=i.getAttribute(y),i===null)switch(typeof r){case"undefined":case"function":case"symbol":break e;default:if(r===!1)break e}else if(r!=null)switch(typeof r){case"function":case"symbol":break;case"boolean":if(r===!0&&i==="")break e;break;default:if(Q(r,u),i===""+r)break e}ft(u,i,r,S)}continue;case"cols":case"rows":case"size":case"span":e:{if(i=e,y=u=s,S=l,o.delete(y),i=i.getAttribute(y),i===null)switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(r)||1>r)break e}else if(r!=null)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(r)||1>r)&&(Q(r,u),i===""+r))break e}ft(u,i,r,S)}continue;case"rowSpan":yy(e,s,"rowspan",r,o,l);continue;case"start":yy(e,s,s,r,o,l);continue;case"xHeight":tn(e,s,"x-height",r,o,l);continue;case"xlinkActuate":tn(e,s,"xlink:actuate",r,o,l);continue;case"xlinkArcrole":tn(e,s,"xlink:arcrole",r,o,l);continue;case"xlinkRole":tn(e,s,"xlink:role",r,o,l);continue;case"xlinkShow":tn(e,s,"xlink:show",r,o,l);continue;case"xlinkTitle":tn(e,s,"xlink:title",r,o,l);continue;case"xlinkType":tn(e,s,"xlink:type",r,o,l);continue;case"xmlBase":tn(e,s,"xml:base",r,o,l);continue;case"xmlLang":tn(e,s,"xml:lang",r,o,l);continue;case"xmlSpace":tn(e,s,"xml:space",r,o,l);continue;case"inert":r!==""||cr[s]||(cr[s]=!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.",s)),my(e,s,s,r,o,l);continue;default:if(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N"){i=Hh(s),u=!1,a.context===pa&&t!=="svg"&&t!=="math"?o.delete(i.toLowerCase()):(y=s.toLowerCase(),y=Uc.hasOwnProperty(y)&&Uc[y]||null,y!==null&&y!==s&&(u=!0,o.delete(y)),o.delete(i));e:if(y=e,S=i,i=r,le(S))if(y.hasAttribute(S))y=y.getAttribute(S),Q(i,S),i=y===""+i?i:y;else{switch(typeof i){case"function":case"symbol":break e;case"boolean":if(y=S.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")break e}i=i===void 0?void 0:null}else i=void 0;u||ft(s,i,r,l)}}}return 0<o.size&&n.suppressHydrationWarning!==!0&&Zb(e,o,l),Object.keys(l).length===0?null:l}function Jb(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function yc(e){return e.nodeType===9?e:e.ownerDocument}function vy(e){switch(e){case co:return qo;case zc:return fr;default:return pa}}function by(e,t){if(e===pa)switch(t){case"svg":return qo;case"math":return fr;default:return pa}return e===qo&&t==="foreignObject"?pa:e}function Sf(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Kb(){var e=window.event;return e&&e.type==="popstate"?e===Wd?!1:(Wd=e,!0):(Wd=null,!1)}function Wb(e){setTimeout(function(){throw e})}function Ib(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Fb(e,t,n,a){$b(e,t,n,a),e[Lt]=a}function Sy(e){tu(e,"")}function Pb(e,t,n){e.nodeValue=n}function za(e){return e==="head"}function eS(e,t){e.removeChild(t)}function tS(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Ty(e,t){var n=t,a=0,l=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n===sr){if(0<a&&8>a){n=a;var u=e.ownerDocument;if(n&uT&&Cu(u.documentElement),n&iT&&Cu(u.body),n&cT)for(n=u.head,Cu(n),u=n.firstChild;u;){var i=u.nextSibling,r=u.nodeName;u[ku]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=i}}if(l===0){e.removeChild(o),Uu(t);return}l--}else n===rr||n===ha||n===mi?l++:a=n.charCodeAt(0)-48;else a=0;n=o}while(n);Uu(t)}function nS(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function aS(e){e.nodeValue=""}function lS(e,t){t=t[rT],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function oS(e,t){e.nodeValue=t}function Tf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Tf(n),Ta(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function uS(e,t,n,a){for(;e.nodeType===1;){var l=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[ku])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(o=e.getAttribute("rel"),o==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(o!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(o=e.getAttribute("src"),(o!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Q(l.name,"name");var o=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===o)return e}else return e;if(e=nn(e.nextSibling),e===null)break}return null}function iS(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=nn(e.nextSibling),e===null))return null;return e}function Ef(e){return e.data===mi||e.data===ha&&e.ownerDocument.readyState===tv}function cS(e,t){var n=e.ownerDocument;if(e.data!==ha||n.readyState===tv)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function nn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===rr||t===mi||t===ha||t===$d||t===ev)break;if(t===sr)return null}}return e}function Ey(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,l=0;l<a.length;l++){var o=a[l];n[hy(o.name)]=o.name.toLowerCase()==="style"?gf(e):o.value}return{type:t,props:n}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Ry(e,t,n){return n===null||n[oT]!==!0?(e.nodeValue===t?e=null:(t=Ma(t),e=Ma(e.nodeValue)===t?null:e.nodeValue),e):null}function Ay(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===sr){if(t===0)return nn(e.nextSibling);t--}else n!==rr&&n!==mi&&n!==ha||t++}e=e.nextSibling}return null}function xy(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===rr||n===mi||n===ha){if(t===0)return e;t--}else n===sr&&t++}e=e.previousSibling}return null}function rS(e){Uu(e)}function sS(e){Uu(e)}function Oy(e,t,n,a,l){switch(l&&Nr(e,a.ancestorInfo),t=yc(n),e){case"html":if(e=t.documentElement,!e)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 e;case"head":if(e=t.head,!e)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 e;case"body":if(e=t.body,!e)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 e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function fS(e,t,n,a){if(!n[Ba]&&gn(n)){var l=n.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.",l,l,l)}switch(e){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(l=n.attributes;l.length;)n.removeAttributeNode(l[0]);yt(n,e,t),n[Rt]=a,n[Lt]=t}function Cu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ta(e)}function gc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Dy(e,t,n){var a=jo;if(a&&typeof t=="string"&&t){var l=en(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),iv.has(l)||(iv.add(l),e={rel:e,crossOrigin:n,href:t},a.querySelector(l)===null&&(t=a.createElement("link"),yt(t,"link",e),p(t),a.head.appendChild(t)))}}function Cy(e,t,n,a){var l=(l=_a.current)?gc(l):null;if(!l)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=to(n.href),t=c(l).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=to(n.href);var o=c(l).hoistableStyles,u=o.get(e);if(!u&&(l=l.ownerDocument||l,u={type:"stylesheet",instance:null,count:0,state:{loading:_l,preload:null}},o.set(e,u),(o=l.querySelector(wu(e)))&&!o._p&&(u.instance=o,u.state.loading=yi|pn),!mn.has(e))){var i={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};mn.set(e,i),o||dS(l,e,i,u.state)}if(t&&a===null)throw n=`
|
|
203
|
+
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`,L(e))})}function Un(e){e!==Nu&&e.next===null&&(Nu===null?nr=Nu=e:Nu=Nu.next=e),ar=!0,b.actQueue!==null?Yd||(Yd=!0,uy()):qd||(qd=!0,uy())}function Do(e,t){if(!jd&&ar){jd=!0;do for(var n=!1,a=nr;a!==null;){if(e!==0){var l=a.pendingLanes;if(l===0)var u=0;else{var o=a.suspendedLanes,i=a.pingedLanes;u=(1<<31-Dt(42|e)+1)-1,u&=l&~(o&~i),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,ly(a,u))}else u=ie,u=Qn(a,a===He?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Hl),(u&3)===0||ba(a,u)||(n=!0,ly(a,u));a=a.next}while(n);jd=!1}}function Vb(){of()}function of(){ar=Yd=qd=!1;var e=0;zl!==0&&($b()&&(e=zl),zl=0);for(var t=Bn(),n=null,a=nr;a!==null;){var l=a.next,u=ny(a,t);u===0?(a.next=null,n===null?nr=l:n.next=l,l===null&&(Nu=n)):(n=a,(e!==0||(u&3)!==0)&&(ar=!0)),a=l}Do(e)}function ny(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,l=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var o=31-Dt(u),i=1<<o,r=l[o];r===-1?((i&n)===0||(i&a)!==0)&&(l[o]=Or(i,t)):r<=t&&(e.expiredLanes|=i),u&=~i}if(t=He,n=ie,n=Qn(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Hl),a=e.callbackNode,n===0||e===t&&(De===Dl||De===xl)||e.cancelPendingCommit!==null)return a!==null&&cf(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||ba(e,n)){if(t=n&-n,t!==e.callbackPriority||b.actQueue!==null&&a!==Vd)cf(a);else return t;switch(ql(n)){case an:case Ln:n=Yf;break;case la:n=uu;break;case wc:n=jf;break;default:n=uu}return a=ay.bind(null,e),b.actQueue!==null?(b.actQueue.push(a),n=Vd):n=Nf(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&cf(a),e.callbackPriority=2,e.callbackNode=null,2}function ay(e,t){if(Vc=jc=!1,St!==wl&&St!==_d)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ao()&&e.callbackNode!==n)return null;var a=ie;return a=Qn(e,e===He?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Hl),a===0?null:(Lm(e,a,t),ny(e,Bn()),e.callbackNode!=null&&e.callbackNode===n?ay.bind(null,e):null)}function ly(e,t){if(Ao())return null;jc=Vc,Vc=!1,Lm(e,t,!0)}function cf(e){e!==Vd&&e!==null&&wS(e)}function uy(){b.actQueue!==null&&b.actQueue.push(function(){return of(),null}),rT(function(){(Ae&(zt|On))!==Jt?Nf(qf,Vb):of()})}function rf(){return zl===0&&(zl=ne()),zl}function oy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(G(e,"action"),no(""+e))}function iy(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Gb(e,t,n,a,l){if(t==="submit"&&n&&n.stateNode===l){var u=oy((l[Lt]||null).action),o=a.submitter;o&&(t=(t=o[Lt]||null)?oy(t.formAction):o.getAttribute("formAction"),t!==null&&(u=t,o=null));var i=new _c("action","action",null,a,l);e.push({event:i,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(zl!==0){var r=o?iy(l,o):new FormData(l),s={pending:!0,data:r,method:l.method,action:u};Object.freeze(s),xs(n,s,null,r)}}else typeof u=="function"&&(i.preventDefault(),r=o?iy(l,o):new FormData(l),s={pending:!0,data:r,method:l.method,action:u},Object.freeze(s),xs(n,s,u,r))},currentTarget:l}]})}}function hc(e,t,n){e.currentTarget=n;try{t(e)}catch(a){Rd(a)}e.currentTarget=null}function cy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var l=void 0,u=a.event;if(a=a.listeners,t)for(var o=a.length-1;0<=o;o--){var i=a[o],r=i.instance,s=i.currentTarget;if(i=i.listener,r!==l&&u.isPropagationStopped())break e;r!==null?q(r,hc,u,i,s):hc(u,i,s),l=r}else for(o=0;o<a.length;o++){if(i=a[o],r=i.instance,s=i.currentTarget,i=i.listener,r!==l&&u.isPropagationStopped())break e;r!==null?q(r,hc,u,i,s):hc(u,i,s),l=r}}}}function se(e,t){Gd.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Vf];n===void 0&&(n=t[Vf]=new Set);var a=e+"__bubble";n.has(a)||(ry(t,e,2,!1),n.add(a))}function sf(e,t,n){Gd.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=4),ry(n,e,a,t)}function ff(e){if(!e[lr]){e[lr]=!0,Zy.forEach(function(n){n!=="selectionchange"&&(Gd.has(n)||sf(n,!1,e),sf(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[lr]||(t[lr]=!0,sf("selectionchange",!1,t))}}function ry(e,t,n,a){switch(Ny(t)){case an:var l=bS;break;case Ln:l=SS;break;default:l=Df}n=l.bind(null,t,n,e),l=void 0,!Wf||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),a?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function df(e,t,n,a,l){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var o=a.tag;if(o===3||o===4){var i=a.stateNode.containerInfo;if(i===l)break;if(o===4)for(o=a.return;o!==null;){var r=o.tag;if((r===3||r===4)&&o.stateNode.containerInfo===l)return;o=o.return}for(;i!==null;){if(o=yn(i),o===null)return;if(r=o.tag,r===5||r===6||r===26||r===27){a=u=o;continue e}i=i.parentNode}}a=a.return}Bh(function(){var s=u,y=Lr(n),S=[];e:{var m=Lg.get(e);if(m!==void 0){var T=_c,B=e;switch(e){case"keypress":if(wi(n)===0)break e;case"keydown":case"keyup":T=y1;break;case"focusin":B="focus",T=ed;break;case"focusout":B="blur",T=ed;break;case"beforeblur":case"afterblur":T=ed;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=Rg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=l1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=b1;break;case Hg:case _g:case Bg:T=i1;break;case kg:T=T1;break;case"scroll":case"scrollend":T=n1;break;case"wheel":T=R1;break;case"copy":case"cut":case"paste":T=r1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=Og;break;case"toggle":case"beforetoggle":T=O1}var Q=(t&4)!==0,_e=!Q&&(e==="scroll"||e==="scrollend"),fe=Q?m!==null?m+"Capture":null:m;Q=[];for(var f=s,d;f!==null;){var h=f;if(d=h.stateNode,h=h.tag,h!==5&&h!==26&&h!==27||d===null||fe===null||(h=ao(f,fe),h!=null&&Q.push(xo(f,h,d))),_e)break;f=f.return}0<Q.length&&(m=new T(m,B,null,n,y),S.push({event:m,listeners:Q}))}}if((t&7)===0){e:{if(m=e==="mouseover"||e==="pointerover",T=e==="mouseout"||e==="pointerout",m&&n!==Lo&&(B=n.relatedTarget||n.fromElement)&&(yn(B)||B[ka]))break e;if((T||m)&&(m=y.window===y?y:(m=y.ownerDocument)?m.defaultView||m.parentWindow:window,T?(B=n.relatedTarget||n.toElement,T=s,B=B?yn(B):null,B!==null&&(_e=re(B),Q=B.tag,B!==_e||Q!==5&&Q!==27&&Q!==6)&&(B=null)):(T=null,B=s),T!==B)){if(Q=Rg,h="onMouseLeave",fe="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(Q=Og,h="onPointerLeave",fe="onPointerEnter",f="pointer"),_e=T==null?m:Ea(T),d=B==null?m:Ea(B),m=new Q(h,f+"leave",T,n,y),m.target=_e,m.relatedTarget=d,h=null,yn(y)===s&&(Q=new Q(fe,f+"enter",B,n,y),Q.target=d,Q.relatedTarget=_e,h=Q),_e=h,T&&B)t:{for(Q=T,fe=B,f=0,d=Q;d;d=eu(d))f++;for(d=0,h=fe;h;h=eu(h))d++;for(;0<f-d;)Q=eu(Q),f--;for(;0<d-f;)fe=eu(fe),d--;for(;f--;){if(Q===fe||fe!==null&&Q===fe.alternate)break t;Q=eu(Q),fe=eu(fe)}Q=null}else Q=null;T!==null&&sy(S,m,T,Q,!1),B!==null&&_e!==null&&sy(S,_e,B,Q,!0)}}e:{if(m=s?Ea(s):window,T=m.nodeName&&m.nodeName.toLowerCase(),T==="select"||T==="input"&&m.type==="file")var E=Vh;else if(Yh(m))if(zg)E=rb;else{E=ib;var x=ob}else T=m.nodeName,!T||T.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?s&&to(s.elementType)&&(E=Vh):E=cb;if(E&&(E=E(e,s))){jh(S,E,n,y);break e}x&&x(e,m,s),e==="focusout"&&s&&m.type==="number"&&s.memoizedProps.value!=null&&zr(m,"number",m.value)}switch(x=s?Ea(s):window,e){case"focusin":(Yh(x)||x.contentEditable==="true")&&(hu=x,nd=s,Xo=null);break;case"focusout":Xo=nd=hu=null;break;case"mousedown":ad=!0;break;case"contextmenu":case"mouseup":case"dragend":ad=!1,Kh(S,n,y);break;case"selectionchange":if(w1)break;case"keydown":case"keyup":Kh(S,n,y)}var $;if(td)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else du?Nh(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===Dg&&(k="onCompositionStart");k&&(xg&&n.locale!=="ko"&&(du||k!=="onCompositionStart"?k==="onCompositionEnd"&&du&&($=kh()):(La=y,If="value"in La?La.value:La.textContent,du=!0)),x=pc(s,k),0<x.length&&(k=new Ag(k,e,null,n,y),S.push({event:k,listeners:x}),$?k.data=$:($=qh(n),$!==null&&(k.data=$)))),($=x1?nb(e,n):ab(e,n))&&(k=pc(s,"onBeforeInput"),0<k.length&&(x=new f1("onBeforeInput","beforeinput",null,n,y),S.push({event:x,listeners:k}),x.data=$)),Gb(S,e,s,n,y)}cy(S,t)})}function xo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function pc(e,t){for(var n=t+"Capture",a=[];e!==null;){var l=e,u=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||u===null||(l=ao(e,n),l!=null&&a.unshift(xo(e,l,u)),l=ao(e,t),l!=null&&a.push(xo(e,l,u))),e.tag===3)return a;e=e.return}return[]}function eu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function sy(e,t,n,a,l){for(var u=t._reactName,o=[];n!==null&&n!==a;){var i=n,r=i.alternate,s=i.stateNode;if(i=i.tag,r!==null&&r===a)break;i!==5&&i!==26&&i!==27||s===null||(r=s,l?(s=ao(n,u),s!=null&&o.unshift(xo(n,s,r))):l||(s=ao(n,u),s!=null&&o.push(xo(n,s,r)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}function hf(e,t){Fv(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Tg||(Tg=!0,e==="select"&&t.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.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:yl,possibleRegistrationNames:Gf};to(e)||typeof t.is=="string"||eb(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.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 ft(e,t,n,a){t!==n&&(n=Ma(n),Ma(t)!==n&&(a[e]=t))}function Xb(e,t,n){t.forEach(function(a){n[hy(a)]=a==="style"?mf(e):e.getAttribute(a)})}function Hn(e,t){t===!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.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function fy(e,t){return e=e.namespaceURI===zc||e.namespaceURI===cu?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Ma(e){return H(e)&&(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.",ue(e)),j(e)),(typeof e=="string"?e:""+e).replace(eT,`
|
|
204
|
+
`).replace(tT,"")}function dy(e,t){return t=Ma(t),Ma(e)===t}function mc(){}function Me(e,t,n,a,l,u){switch(n){case"children":typeof a=="string"?(Ci(a,t,!1),t==="body"||t==="textarea"&&a===""||eo(e,a)):(typeof a=="number"||typeof a=="bigint")&&(Ci(""+a,t,!1),t!=="body"&&eo(e,""+a));break;case"className":I(e,"class",a);break;case"tabIndex":I(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":I(e,n,a);break;case"style":Uh(e,a,u);break;case"data":if(t!=="object"){I(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'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.':'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.',n,n),e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}G(a,n),a=no(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(a!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof a=="function"&&(l.encType==null&&l.method==null||ir||(ir=!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.")),l.target==null||or||(or=!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."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||l.type==="submit"||l.type==="image"||ur?t!=="button"||l.type==null||l.type==="submit"||ur?typeof a=="function"&&(l.name==null||F0||(F0=!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.')),l.formEncType==null&&l.formMethod==null||ir||(ir=!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.")),l.formTarget==null||or||(or=!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."))):(ur=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(ur=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof a=="function"){e.setAttribute(n,"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 u=="function"&&(n==="formAction"?(t!=="input"&&Me(e,t,"name",l.name,l,null),Me(e,t,"formEncType",l.formEncType,l,null),Me(e,t,"formMethod",l.formMethod,l,null),Me(e,t,"formTarget",l.formTarget,l,null)):(Me(e,t,"encType",l.encType,l,null),Me(e,t,"method",l.method,l,null),Me(e,t,"target",l.target,l,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}G(a,n),a=no(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!="function"&&Hn(n,a),e.onclick=mc);break;case"onScroll":a!=null&&(typeof a!="function"&&Hn(n,a),se("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&Hn(n,a),se("scrollend",e));break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}G(a,n),n=no(""+a),e.setAttributeNS(Ul,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?(G(a,n),e.setAttribute(n,""+a)):e.removeAttribute(n);break;case"inert":a!==""||cr[n]||(cr[n]=!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.",n));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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?(G(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?(G(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):(G(a,n),e.setAttribute(n,a));break;case"popover":se("beforetoggle",e),se("toggle",e),me(e,"popover",a);break;case"xlinkActuate":st(e,Ul,"xlink:actuate",a);break;case"xlinkArcrole":st(e,Ul,"xlink:arcrole",a);break;case"xlinkRole":st(e,Ul,"xlink:role",a);break;case"xlinkShow":st(e,Ul,"xlink:show",a);break;case"xlinkTitle":st(e,Ul,"xlink:title",a);break;case"xlinkType":st(e,Ul,"xlink:type",a);break;case"xmlBase":st(e,Xd,"xml:base",a);break;case"xmlLang":st(e,Xd,"xml:lang",a);break;case"xmlSpace":st(e,Xd,"xml:space",a);break;case"is":u!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),me(e,"is",a);break;case"innerText":case"textContent":break;case"popoverTarget":P0||a==null||typeof a!="object"||(P0=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",a));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Hh(n),me(e,n,a)):yl.hasOwnProperty(n)&&a!=null&&typeof a!="function"&&Hn(n,a)}}function pf(e,t,n,a,l,u){switch(n){case"style":Uh(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof a=="string"?eo(e,a):(typeof a=="number"||typeof a=="bigint")&&eo(e,""+a);break;case"onScroll":a!=null&&(typeof a!="function"&&Hn(n,a),se("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&Hn(n,a),se("scrollend",e));break;case"onClick":a!=null&&(typeof a!="function"&&Hn(n,a),e.onclick=mc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(yl.hasOwnProperty(n))a!=null&&typeof a!="function"&&Hn(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(l=n.endsWith("Capture"),t=n.slice(2,l?n.length-7:void 0),u=e[Lt]||null,u=u!=null?u[n]:null,typeof u=="function"&&e.removeEventListener(t,u,l),typeof a=="function")){typeof u!="function"&&u!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,l);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):me(e,n,a)}}}function yt(e,t,n){switch(hf(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":se("error",e),se("load",e);var a=!1,l=!1,u;for(u in n)if(n.hasOwnProperty(u)){var o=n[u];if(o!=null)switch(u){case"src":a=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Me(e,t,u,o,n,null)}}l&&Me(e,t,"srcSet",n.srcSet,n,null),a&&Me(e,t,"src",n.src,n,null);return;case"input":N("input",n),se("invalid",e);var i=u=o=l=null,r=null,s=null;for(a in n)if(n.hasOwnProperty(a)){var y=n[a];if(y!=null)switch(a){case"name":l=y;break;case"type":o=y;break;case"checked":r=y;break;case"defaultChecked":s=y;break;case"value":u=y;break;case"defaultValue":i=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Me(e,t,a,y,n,null)}}yh(e,n),gh(e,u,i,r,s,o,l,!1),Oi(e);return;case"select":N("select",n),se("invalid",e),a=o=u=null;for(l in n)if(n.hasOwnProperty(l)&&(i=n[l],i!=null))switch(l){case"value":u=i;break;case"defaultValue":o=i;break;case"multiple":a=i;default:Me(e,t,l,i,n,null)}Sh(e,n),t=u,n=o,e.multiple=!!a,t!=null?jl(e,!!a,t,!1):n!=null&&jl(e,!!a,n,!0);return;case"textarea":N("textarea",n),se("invalid",e),u=l=a=null;for(o in n)if(n.hasOwnProperty(o)&&(i=n[o],i!=null))switch(o){case"value":a=i;break;case"defaultValue":l=i;break;case"children":u=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Me(e,t,o,i,n,null)}Th(e,n),Rh(e,a,l,u),Oi(e);return;case"option":vh(e,n);for(r in n)if(n.hasOwnProperty(r)&&(a=n[r],a!=null))switch(r){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Me(e,t,r,a,n,null)}return;case"dialog":se("beforetoggle",e),se("toggle",e),se("cancel",e),se("close",e);break;case"iframe":case"object":se("load",e);break;case"video":case"audio":for(a=0;a<pi.length;a++)se(pi[a],e);break;case"image":se("error",e),se("load",e);break;case"details":se("toggle",e);break;case"embed":case"source":case"link":se("error",e),se("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(s in n)if(n.hasOwnProperty(s)&&(a=n[s],a!=null))switch(s){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Me(e,t,s,a,n,null)}return;default:if(to(t)){for(y in n)n.hasOwnProperty(y)&&(a=n[y],a!==void 0&&pf(e,t,y,a,n,void 0));return}}for(i in n)n.hasOwnProperty(i)&&(a=n[i],a!=null&&Me(e,t,i,a,n,null))}function Qb(e,t,n,a){switch(hf(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,u=null,o=null,i=null,r=null,s=null,y=null;for(T in n){var S=n[T];if(n.hasOwnProperty(T)&&S!=null)switch(T){case"checked":break;case"value":break;case"defaultValue":r=S;default:a.hasOwnProperty(T)||Me(e,t,T,null,a,S)}}for(var m in a){var T=a[m];if(S=n[m],a.hasOwnProperty(m)&&(T!=null||S!=null))switch(m){case"type":u=T;break;case"name":l=T;break;case"checked":s=T;break;case"defaultChecked":y=T;break;case"value":o=T;break;case"defaultValue":i=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:T!==S&&Me(e,t,m,T,a,S)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,a=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,t||!a||I0||(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"),I0=!0),!t||a||W0||(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"),W0=!0),Mr(e,o,i,r,s,y,u,l);return;case"select":T=o=i=m=null;for(u in n)if(r=n[u],n.hasOwnProperty(u)&&r!=null)switch(u){case"value":break;case"multiple":T=r;default:a.hasOwnProperty(u)||Me(e,t,u,null,a,r)}for(l in a)if(u=a[l],r=n[l],a.hasOwnProperty(l)&&(u!=null||r!=null))switch(l){case"value":m=u;break;case"defaultValue":i=u;break;case"multiple":o=u;default:u!==r&&Me(e,t,l,u,a,r)}a=i,t=o,n=T,m!=null?jl(e,!!t,m,!1):!!n!=!!t&&(a!=null?jl(e,!!t,a,!0):jl(e,!!t,t?[]:"",!1));return;case"textarea":T=m=null;for(i in n)if(l=n[i],n.hasOwnProperty(i)&&l!=null&&!a.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:Me(e,t,i,null,a,l)}for(o in a)if(l=a[o],u=n[o],a.hasOwnProperty(o)&&(l!=null||u!=null))switch(o){case"value":m=l;break;case"defaultValue":T=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==u&&Me(e,t,o,l,a,u)}Eh(e,m,T);return;case"option":for(var B in n)if(m=n[B],n.hasOwnProperty(B)&&m!=null&&!a.hasOwnProperty(B))switch(B){case"selected":e.selected=!1;break;default:Me(e,t,B,null,a,m)}for(r in a)if(m=a[r],T=n[r],a.hasOwnProperty(r)&&m!==T&&(m!=null||T!=null))switch(r){case"selected":e.selected=m&&typeof m!="function"&&typeof m!="symbol";break;default:Me(e,t,r,m,a,T)}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 Q in n)m=n[Q],n.hasOwnProperty(Q)&&m!=null&&!a.hasOwnProperty(Q)&&Me(e,t,Q,null,a,m);for(s in a)if(m=a[s],T=n[s],a.hasOwnProperty(s)&&m!==T&&(m!=null||T!=null))switch(s){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Me(e,t,s,m,a,T)}return;default:if(to(t)){for(var _e in n)m=n[_e],n.hasOwnProperty(_e)&&m!==void 0&&!a.hasOwnProperty(_e)&&pf(e,t,_e,void 0,a,m);for(y in a)m=a[y],T=n[y],!a.hasOwnProperty(y)||m===T||m===void 0&&T===void 0||pf(e,t,y,m,a,T);return}}for(var fe in n)m=n[fe],n.hasOwnProperty(fe)&&m!=null&&!a.hasOwnProperty(fe)&&Me(e,t,fe,null,a,m);for(S in a)m=a[S],T=n[S],!a.hasOwnProperty(S)||m===T||m==null&&T==null||Me(e,t,S,m,a,T)}function hy(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function mf(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var a=e[n];t[a]=e.getPropertyValue(a)}return t}function py(e,t,n){if(t!=null&&typeof t!="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 a,l=a="",u;for(u in t)if(t.hasOwnProperty(u)){var o=t[u];o!=null&&typeof o!="boolean"&&o!==""&&(u.indexOf("--")===0?(xe(o,u),a+=l+u+":"+(""+o).trim()):typeof o!="number"||o===0||bg.has(u)?(xe(o,u),a+=l+u.replace(pg,"-$1").toLowerCase().replace(mg,"-ms-")+":"+(""+o).trim()):a+=l+u.replace(pg,"-$1").toLowerCase().replace(mg,"-ms-")+":"+o+"px",l=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=Ma(a),Ma(t)!==a&&(n.style=mf(e)))}}function tn(e,t,n,a,l,u){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(G(a,t),e===""+a)return}ft(t,e,a,u)}function my(e,t,n,a,l,u){if(l.delete(n),e=e.getAttribute(n),e===null){switch(typeof a){case"function":case"symbol":return}if(!a)return}else switch(typeof a){case"function":case"symbol":break;default:if(a)return}ft(t,e,a,u)}function yf(e,t,n,a,l,u){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":return}else if(a!=null)switch(typeof a){case"function":case"symbol":break;default:if(G(a,n),e===""+a)return}ft(t,e,a,u)}function yy(e,t,n,a,l,u){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(a))return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(!isNaN(a)&&(G(a,t),e===""+a))return}ft(t,e,a,u)}function gf(e,t,n,a,l,u){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(G(a,t),n=no(""+a),e===n)return}ft(t,e,a,u)}function gy(e,t,n,a){for(var l={},u=new Set,o=e.attributes,i=0;i<o.length;i++)switch(o[i].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:u.add(o[i].name)}if(to(t)){for(var r in n)if(n.hasOwnProperty(r)){var s=n[r];if(s!=null){if(yl.hasOwnProperty(r))typeof s!="function"&&Hn(r,s);else if(n.suppressHydrationWarning!==!0)switch(r){case"children":typeof s!="string"&&typeof s!="number"||ft("children",e.textContent,s,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":o=e.innerHTML,s=s?s.__html:void 0,s!=null&&(s=fy(e,s),ft(r,o,s,l));continue;case"style":u.delete(r),py(e,s,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":u.delete(r.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",r);continue;case"className":u.delete("class"),o=W(e,"class",s),ft("className",o,s,l);continue;default:a.context===pa&&t!=="svg"&&t!=="math"?u.delete(r.toLowerCase()):u.delete(r),o=W(e,r,s),ft(r,o,s,l)}}}}else for(s in n)if(n.hasOwnProperty(s)&&(r=n[s],r!=null)){if(yl.hasOwnProperty(s))typeof r!="function"&&Hn(s,r);else if(n.suppressHydrationWarning!==!0)switch(s){case"children":typeof r!="string"&&typeof r!="number"||ft("children",e.textContent,r,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":o=e.innerHTML,r=r?r.__html:void 0,r!=null&&(r=fy(e,r),o!==r&&(l[s]={__html:o}));continue;case"className":tn(e,s,"class",r,u,l);continue;case"tabIndex":tn(e,s,"tabindex",r,u,l);continue;case"style":u.delete(s),py(e,r,l);continue;case"multiple":u.delete(s),ft(s,e.multiple,r,l);continue;case"muted":u.delete(s),ft(s,e.muted,r,l);continue;case"autoFocus":u.delete("autofocus"),ft(s,e.autofocus,r,l);continue;case"data":if(t!=="object"){u.delete(s),o=e.getAttribute("data"),ft(s,o,r,l);continue}case"src":case"href":if(!(r!==""||t==="a"&&s==="href"||t==="object"&&s==="data")){console.error(s==="src"?'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.':'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.',s,s);continue}gf(e,s,s,r,u,l);continue;case"action":case"formAction":if(o=e.getAttribute(s),typeof r=="function"){u.delete(s.toLowerCase()),s==="formAction"?(u.delete("name"),u.delete("formenctype"),u.delete("formmethod"),u.delete("formtarget")):(u.delete("enctype"),u.delete("method"),u.delete("target"));continue}else if(o===nT){u.delete(s.toLowerCase()),ft(s,"function",r,l);continue}gf(e,s,s.toLowerCase(),r,u,l);continue;case"xlinkHref":gf(e,s,"xlink:href",r,u,l);continue;case"contentEditable":yf(e,s,"contenteditable",r,u,l);continue;case"spellCheck":yf(e,s,"spellcheck",r,u,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":yf(e,s,s,r,u,l);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":my(e,s,s.toLowerCase(),r,u,l);continue;case"capture":case"download":e:{i=e;var y=o=s,S=l;if(u.delete(y),i=i.getAttribute(y),i===null)switch(typeof r){case"undefined":case"function":case"symbol":break e;default:if(r===!1)break e}else if(r!=null)switch(typeof r){case"function":case"symbol":break;case"boolean":if(r===!0&&i==="")break e;break;default:if(G(r,o),i===""+r)break e}ft(o,i,r,S)}continue;case"cols":case"rows":case"size":case"span":e:{if(i=e,y=o=s,S=l,u.delete(y),i=i.getAttribute(y),i===null)switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(r)||1>r)break e}else if(r!=null)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(r)||1>r)&&(G(r,o),i===""+r))break e}ft(o,i,r,S)}continue;case"rowSpan":yy(e,s,"rowspan",r,u,l);continue;case"start":yy(e,s,s,r,u,l);continue;case"xHeight":tn(e,s,"x-height",r,u,l);continue;case"xlinkActuate":tn(e,s,"xlink:actuate",r,u,l);continue;case"xlinkArcrole":tn(e,s,"xlink:arcrole",r,u,l);continue;case"xlinkRole":tn(e,s,"xlink:role",r,u,l);continue;case"xlinkShow":tn(e,s,"xlink:show",r,u,l);continue;case"xlinkTitle":tn(e,s,"xlink:title",r,u,l);continue;case"xlinkType":tn(e,s,"xlink:type",r,u,l);continue;case"xmlBase":tn(e,s,"xml:base",r,u,l);continue;case"xmlLang":tn(e,s,"xml:lang",r,u,l);continue;case"xmlSpace":tn(e,s,"xml:space",r,u,l);continue;case"inert":r!==""||cr[s]||(cr[s]=!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.",s)),my(e,s,s,r,u,l);continue;default:if(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N"){i=Hh(s),o=!1,a.context===pa&&t!=="svg"&&t!=="math"?u.delete(i.toLowerCase()):(y=s.toLowerCase(),y=Uc.hasOwnProperty(y)&&Uc[y]||null,y!==null&&y!==s&&(o=!0,u.delete(y)),u.delete(i));e:if(y=e,S=i,i=r,ee(S))if(y.hasAttribute(S))y=y.getAttribute(S),G(i,S),i=y===""+i?i:y;else{switch(typeof i){case"function":case"symbol":break e;case"boolean":if(y=S.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")break e}i=i===void 0?void 0:null}else i=void 0;o||ft(s,i,r,l)}}}return 0<u.size&&n.suppressHydrationWarning!==!0&&Xb(e,u,l),Object.keys(l).length===0?null:l}function Zb(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function yc(e){return e.nodeType===9?e:e.ownerDocument}function vy(e){switch(e){case cu:return qu;case zc:return fr;default:return pa}}function by(e,t){if(e===pa)switch(t){case"svg":return qu;case"math":return fr;default:return pa}return e===qu&&t==="foreignObject"?pa:e}function vf(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function $b(){var e=window.event;return e&&e.type==="popstate"?e===Jd?!1:(Jd=e,!0):(Jd=null,!1)}function Jb(e){setTimeout(function(){throw e})}function Kb(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Wb(e,t,n,a){Qb(e,t,n,a),e[Lt]=a}function Sy(e){eo(e,"")}function Ib(e,t,n){e.nodeValue=n}function za(e){return e==="head"}function Fb(e,t){e.removeChild(t)}function Pb(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Ty(e,t){var n=t,a=0,l=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===8)if(n=u.data,n===sr){if(0<a&&8>a){n=a;var o=e.ownerDocument;if(n&lT&&Co(o.documentElement),n&uT&&Co(o.body),n&oT)for(n=o.head,Co(n),o=n.firstChild;o;){var i=o.nextSibling,r=o.nodeName;o[Bo]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=i}}if(l===0){e.removeChild(u),Uo(t);return}l--}else n===rr||n===ha||n===mi?l++:a=n.charCodeAt(0)-48;else a=0;n=u}while(n);Uo(t)}function eS(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function tS(e){e.nodeValue=""}function nS(e,t){t=t[iT],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function aS(e,t){e.nodeValue=t}function bf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":bf(n),Ta(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function lS(e,t,n,a){for(;e.nodeType===1;){var l=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Bo])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){G(l.name,"name");var u=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=nn(e.nextSibling),e===null)break}return null}function uS(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=nn(e.nextSibling),e===null))return null;return e}function Sf(e){return e.data===mi||e.data===ha&&e.ownerDocument.readyState===tv}function oS(e,t){var n=e.ownerDocument;if(e.data!==ha||n.readyState===tv)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function nn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===rr||t===mi||t===ha||t===Qd||t===ev)break;if(t===sr)return null}}return e}function Ey(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,l=0;l<a.length;l++){var u=a[l];n[hy(u.name)]=u.name.toLowerCase()==="style"?mf(e):u.value}return{type:t,props:n}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Ry(e,t,n){return n===null||n[aT]!==!0?(e.nodeValue===t?e=null:(t=Ma(t),e=Ma(e.nodeValue)===t?null:e.nodeValue),e):null}function Ay(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===sr){if(t===0)return nn(e.nextSibling);t--}else n!==rr&&n!==mi&&n!==ha||t++}e=e.nextSibling}return null}function Oy(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===rr||n===mi||n===ha){if(t===0)return e;t--}else n===sr&&t++}e=e.previousSibling}return null}function iS(e){Uo(e)}function cS(e){Uo(e)}function Dy(e,t,n,a,l){switch(l&&kr(e,a.ancestorInfo),t=yc(n),e){case"html":if(e=t.documentElement,!e)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 e;case"head":if(e=t.head,!e)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 e;case"body":if(e=t.body,!e)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 e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function rS(e,t,n,a){if(!n[ka]&&gn(n)){var l=n.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.",l,l,l)}switch(e){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(l=n.attributes;l.length;)n.removeAttributeNode(l[0]);yt(n,e,t),n[Rt]=a,n[Lt]=t}function Co(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ta(e)}function gc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function xy(e,t,n){var a=Yu;if(a&&typeof t=="string"&&t){var l=en(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),iv.has(l)||(iv.add(l),e={rel:e,crossOrigin:n,href:t},a.querySelector(l)===null&&(t=a.createElement("link"),yt(t,"link",e),p(t),a.head.appendChild(t)))}}function Cy(e,t,n,a){var l=(l=_a.current)?gc(l):null;if(!l)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=tu(n.href),t=c(l).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=tu(n.href);var u=c(l).hoistableStyles,o=u.get(e);if(!o&&(l=l.ownerDocument||l,o={type:"stylesheet",instance:null,count:0,state:{loading:_l,preload:null}},u.set(e,o),(u=l.querySelector(wo(e)))&&!u._p&&(o.instance=u,o.state.loading=yi|pn),!mn.has(e))){var i={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};mn.set(e,i),u||sS(l,e,i,o.state)}if(t&&a===null)throw n=`
|
|
205
205
|
|
|
206
206
|
- `+vc(t)+`
|
|
207
|
-
+ `+vc(n),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."+n);return
|
|
207
|
+
+ `+vc(n),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."+n);return o}if(t&&a!==null)throw n=`
|
|
208
208
|
|
|
209
209
|
- `+vc(t)+`
|
|
210
|
-
+ `+vc(n),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."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=no(n),t=c(l).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function vc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):aa.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):aa.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):aa.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function to(e){return'href="'+en(e)+'"'}function wu(e){return'link[rel="stylesheet"]['+e+"]"}function wy(e){return oe({},e,{"data-precedence":e.precedence,precedence:null})}function dS(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=yi:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=yi}),t.addEventListener("error",function(){return a.loading|=ov}),yt(t,"link",n),p(t),e.head.appendChild(t))}function no(e){return'[src="'+en(e)+'"]'}function Mu(e){return"script[async]"+e}function My(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+en(n.href)+'"]');if(a)return t.instance=a,p(a),a;var l=oe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),p(a),yt(a,"style",l),bc(a,n.precedence,e),t.instance=a;case"stylesheet":l=to(n.href);var o=e.querySelector(wu(l));if(o)return t.state.loading|=pn,t.instance=o,p(o),o;a=wy(n),(l=mn.get(l))&&Rf(a,l),o=(e.ownerDocument||e).createElement("link"),p(o);var u=o;return u._p=new Promise(function(i,r){u.onload=i,u.onerror=r}),yt(o,"link",a),t.state.loading|=pn,bc(o,n.precedence,e),t.instance=o;case"script":return o=no(n.src),(l=e.querySelector(Mu(o)))?(t.instance=l,p(l),l):(a=n,(l=mn.get(o))&&(a=oe({},n),Af(a,l)),e=e.ownerDocument||e,l=e.createElement("script"),p(l),yt(l,"link",a),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&pn)===_l&&(a=t.instance,t.state.loading|=pn,bc(a,n.precedence,e));return t.instance}function bc(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=a.length?a[a.length-1]:null,o=l,u=0;u<a.length;u++){var i=a[u];if(i.dataset.precedence===t)o=i;else if(o!==l)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Rf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Af(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function zy(e,t,n){if(dr===null){var a=new Map,l=dr=new Map;l.set(n,a)}else l=dr,a=l.get(n),a||(a=new Map,l.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),l=0;l<n.length;l++){var o=n[l];if(!(o[ku]||o[Rt]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!==co){var u=o.getAttribute(t)||"";u=e+u;var i=a.get(u);i?i.push(o):a.set(u,[o])}}return a}function Uy(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function hS(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===qo||t.itemProp!=null)return!a||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="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.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){a&&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 t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var l=t.onError,o=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),l&&n.push("`onError`"),o!=null&&n.push("`disabled`"),l=Jb(n,"and"),l+=n.length===1?" prop":" props",o=n.length===1?"an "+l:"the "+l,n.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.',e,o,l)}a&&(typeof t.rel!="string"||typeof t.href!="string"||t.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"):(t.onError||t.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(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&a&&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 e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){a&&(e?t.onLoad||t.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":a&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Hy(e){return!(e.type==="stylesheet"&&(e.state.loading&uv)===_l)}function pS(){}function mS(e,t,n){if(gi===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var a=gi;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&pn)===_l){if(t.instance===null){var l=to(n.href),o=e.querySelector(wu(l));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=Sc.bind(a),e.then(a,a)),t.state.loading|=pn,t.instance=o,p(o);return}o=e.ownerDocument||e,n=wy(n),(l=mn.get(l))&&Rf(n,l),o=o.createElement("link"),p(o);var u=o;u._p=new Promise(function(i,r){u.onload=i,u.onerror=r}),yt(o,"link",n),t.instance=o}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&uv)===_l&&(a.count++,t=Sc.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function yS(){if(gi===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=gi;return e.stylesheets&&e.count===0&&xf(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&xf(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function Sc(){if(this.count--,this.count===0){if(this.stylesheets)xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,hr=new Map,t.forEach(gS,e),hr=null,Sc.call(e))}function gS(e,t){if(!(t.state.loading&pn)){var n=hr.get(e);if(n)var a=n.get(Fd);else{n=new Map,hr.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<l.length;o++){var u=l[o];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(n.set(u.dataset.precedence,u),a=u)}a&&n.set(Fd,a)}l=t.instance,u=l.getAttribute("data-precedence"),o=n.get(u)||a,o===a&&n.set(Fd,l),n.set(u,l),this.count++,a=Sc.bind(this),l.addEventListener("load",a),l.addEventListener("error",a),o?o.parentNode.insertBefore(l,o.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=pn}}function vS(e,t,n,a,l,o,u,i){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Hl,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Nl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nl(0),this.hiddenUpdates=Nl(null),this.identifierPrefix=a,this.onUncaughtError=l,this.onCaughtError=o,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=i,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function _y(e,t,n,a,l,o,u,i,r,s,y,S){return e=new vS(e,t,n,u,i,r,s,S),t=k1,o===!0&&(t|=At|Tn),Sn&&(t|=vt),o=g(3,null,null,t),e.current=o,o.stateNode=e,t=es(),sl(t),e.pooledCache=t,sl(t),o.memoizedState={element:a,isDehydrated:n,cache:t},ls(o),e}function ky(e){return e?(e=Na,e):Na}function Of(e,t,n,a,l,o){if(Et&&typeof Et.onScheduleFiberRoot=="function")try{Et.onScheduleFiberRoot(uo,a,n)}catch(u){Bn||(Bn=!0,console.error("React instrumentation encountered an error: %s",u))}U!==null&&typeof U.markRenderScheduled=="function"&&U.markRenderScheduled(t),l=ky(l),a.context===null?a.context=l:a.pendingContext=l,Nn&&$t!==null&&!fv&&(fv=!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.
|
|
210
|
+
+ `+vc(n),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."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=nu(n),t=c(l).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function vc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):aa.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):aa.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):aa.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function tu(e){return'href="'+en(e)+'"'}function wo(e){return'link[rel="stylesheet"]['+e+"]"}function wy(e){return te({},e,{"data-precedence":e.precedence,precedence:null})}function sS(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=yi:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=yi}),t.addEventListener("error",function(){return a.loading|=uv}),yt(t,"link",n),p(t),e.head.appendChild(t))}function nu(e){return'[src="'+en(e)+'"]'}function Mo(e){return"script[async]"+e}function My(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+en(n.href)+'"]');if(a)return t.instance=a,p(a),a;var l=te({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),p(a),yt(a,"style",l),bc(a,n.precedence,e),t.instance=a;case"stylesheet":l=tu(n.href);var u=e.querySelector(wo(l));if(u)return t.state.loading|=pn,t.instance=u,p(u),u;a=wy(n),(l=mn.get(l))&&Tf(a,l),u=(e.ownerDocument||e).createElement("link"),p(u);var o=u;return o._p=new Promise(function(i,r){o.onload=i,o.onerror=r}),yt(u,"link",a),t.state.loading|=pn,bc(u,n.precedence,e),t.instance=u;case"script":return u=nu(n.src),(l=e.querySelector(Mo(u)))?(t.instance=l,p(l),l):(a=n,(l=mn.get(u))&&(a=te({},n),Ef(a,l)),e=e.ownerDocument||e,l=e.createElement("script"),p(l),yt(l,"link",a),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&pn)===_l&&(a=t.instance,t.state.loading|=pn,bc(a,n.precedence,e));return t.instance}function bc(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=a.length?a[a.length-1]:null,u=l,o=0;o<a.length;o++){var i=a[o];if(i.dataset.precedence===t)u=i;else if(u!==l)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Tf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ef(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function zy(e,t,n){if(dr===null){var a=new Map,l=dr=new Map;l.set(n,a)}else l=dr,a=l.get(n),a||(a=new Map,l.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),l=0;l<n.length;l++){var u=n[l];if(!(u[Bo]||u[Rt]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!==cu){var o=u.getAttribute(t)||"";o=e+o;var i=a.get(o);i?i.push(u):a.set(o,[u])}}return a}function Uy(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function fS(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===qu||t.itemProp!=null)return!a||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="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.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){a&&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 t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var l=t.onError,u=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),l&&n.push("`onError`"),u!=null&&n.push("`disabled`"),l=Zb(n,"and"),l+=n.length===1?" prop":" props",u=n.length===1?"an "+l:"the "+l,n.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.',e,u,l)}a&&(typeof t.rel!="string"||typeof t.href!="string"||t.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"):(t.onError||t.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(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&a&&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 e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){a&&(e?t.onLoad||t.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":a&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Hy(e){return!(e.type==="stylesheet"&&(e.state.loading&ov)===_l)}function dS(){}function hS(e,t,n){if(gi===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var a=gi;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&pn)===_l){if(t.instance===null){var l=tu(n.href),u=e.querySelector(wo(l));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=Sc.bind(a),e.then(a,a)),t.state.loading|=pn,t.instance=u,p(u);return}u=e.ownerDocument||e,n=wy(n),(l=mn.get(l))&&Tf(n,l),u=u.createElement("link"),p(u);var o=u;o._p=new Promise(function(i,r){o.onload=i,o.onerror=r}),yt(u,"link",n),t.instance=u}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&ov)===_l&&(a.count++,t=Sc.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function pS(){if(gi===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=gi;return e.stylesheets&&e.count===0&&Rf(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Rf(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function Sc(){if(this.count--,this.count===0){if(this.stylesheets)Rf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Rf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,hr=new Map,t.forEach(mS,e),hr=null,Sc.call(e))}function mS(e,t){if(!(t.state.loading&pn)){var n=hr.get(e);if(n)var a=n.get(Wd);else{n=new Map,hr.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<l.length;u++){var o=l[u];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(n.set(o.dataset.precedence,o),a=o)}a&&n.set(Wd,a)}l=t.instance,o=l.getAttribute("data-precedence"),u=n.get(o)||a,u===a&&n.set(Wd,l),n.set(o,l),this.count++,a=Sc.bind(this),l.addEventListener("load",a),l.addEventListener("error",a),u?u.parentNode.insertBefore(l,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=pn}}function yS(e,t,n,a,l,u,o,i){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Hl,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Nl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nl(0),this.hiddenUpdates=Nl(null),this.identifierPrefix=a,this.onUncaughtError=l,this.onCaughtError=u,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=i,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function _y(e,t,n,a,l,u,o,i,r,s,y,S){return e=new yS(e,t,n,o,i,r,s,S),t=H1,u===!0&&(t|=At|Tn),Sn&&(t|=vt),u=g(3,null,null,t),e.current=u,u.stateNode=e,t=Fr(),sl(t),e.pooledCache=t,sl(t),u.memoizedState={element:a,isDehydrated:n,cache:t},ns(u),e}function By(e){return e?(e=Na,e):Na}function Af(e,t,n,a,l,u){if(Et&&typeof Et.onScheduleFiberRoot=="function")try{Et.onScheduleFiberRoot(ou,a,n)}catch(o){kn||(kn=!0,console.error("React instrumentation encountered an error: %s",o))}U!==null&&typeof U.markRenderScheduled=="function"&&U.markRenderScheduled(t),l=By(l),a.context===null?a.context=l:a.pendingContext=l,Nn&&$t!==null&&!fv&&(fv=!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.
|
|
211
211
|
|
|
212
|
-
Check the render method of %s.`,L($t)||"Unknown")),a=Aa(t),a.payload={element:n},o=o===void 0?null:o,o!==null&&(typeof o!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",o),a.callback=o),n=xa(e,a,t),n!==null&&(Ie(n,e,t),du(n,e,t))}function By(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Df(e,t){By(e,t),(e=e.alternate)&&By(e,t)}function Ly(e){if(e.tag===13){var t=_t(e,67108864);t!==null&&Ie(t,e,67108864),Df(e,67108864)}}function bS(){return $t}function SS(){for(var e=new Map,t=1,n=0;31>n;n++){var a=$o(t);e.set(t,a),t*=2}return e}function TS(e,t,n,a){var l=b.T;b.T=null;var o=Re.p;try{Re.p=an,Cf(e,t,n,a)}finally{Re.p=o,b.T=l}}function ES(e,t,n,a){var l=b.T;b.T=null;var o=Re.p;try{Re.p=Ln,Cf(e,t,n,a)}finally{Re.p=o,b.T=l}}function Cf(e,t,n,a){if(mr){var l=wf(a);if(l===null)pf(e,t,a,yr,n),Yy(e,a);else if(RS(l,e,t,n,a))a.stopPropagation();else if(Yy(e,a),t&4&&-1<hT.indexOf(e)){for(;l!==null;){var o=gn(l);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var u=et(o.pendingLanes);if(u!==0){var i=o;for(i.pendingLanes|=2,i.entangledLanes|=2;u;){var r=1<<31-Ot(u);i.entanglements[1]|=r,u&=~r}Un(o),(Ae&(zt|xn))===Jt&&(Pc=kn()+G0,Ou(0))}}break;case 13:i=_t(o,2),i!==null&&Ie(i,o,2),Il(),Df(o,2)}if(o=wf(a),o===null&&pf(e,t,a,yr,n),o===l)break;l=o}l!==null&&a.stopPropagation()}else pf(e,t,a,null,n)}}function wf(e){return e=Yr(e),Mf(e)}function Mf(e){if(yr=null,e=yn(e),e!==null){var t=de(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Ze(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return yr=e,null}function Ny(e){switch(e){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 an;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 Ln;case"message":switch(_S()){case jf:return an;case Vf:return Ln;case oo:case kS:return la;case Gf:return wc;default:return la}default:return la}}function Yy(e,t){switch(e){case"focusin":case"focusout":Ja=null;break;case"dragenter":case"dragleave":Ka=null;break;case"mouseover":case"mouseout":Wa=null;break;case"pointerover":case"pointerout":bi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Si.delete(t.pointerId)}}function zu(e,t,n,a,l,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:o,targetContainers:[l]},t!==null&&(t=gn(t),t!==null&&Ly(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function RS(e,t,n,a,l){switch(t){case"focusin":return Ja=zu(Ja,e,t,n,a,l),!0;case"dragenter":return Ka=zu(Ka,e,t,n,a,l),!0;case"mouseover":return Wa=zu(Wa,e,t,n,a,l),!0;case"pointerover":var o=l.pointerId;return bi.set(o,zu(bi.get(o)||null,e,t,n,a,l)),!0;case"gotpointercapture":return o=l.pointerId,Si.set(o,zu(Si.get(o)||null,e,t,n,a,l)),!0}return!1}function qy(e){var t=yn(e.target);if(t!==null){var n=de(t);if(n!==null){if(t=n.tag,t===13){if(t=Ze(n),t!==null){e.blockedOn=t,ql(e.priority,function(){if(n.tag===13){var a=Qt(n);a=Ko(a);var l=_t(n,a);l!==null&&Ie(l,n,a),Df(n,a)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Tc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=wf(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),l=a;Lu!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Lu=l,n.target.dispatchEvent(a),Lu===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."),Lu=null}else return t=gn(n),t!==null&&Ly(t),e.blockedOn=n,!1;t.shift()}return!0}function jy(e,t,n){Tc(e)&&n.delete(t)}function AS(){Pd=!1,Ja!==null&&Tc(Ja)&&(Ja=null),Ka!==null&&Tc(Ka)&&(Ka=null),Wa!==null&&Tc(Wa)&&(Wa=null),bi.forEach(jy),Si.forEach(jy)}function Ec(e,t){e.blockedOn===t&&(e.blockedOn=null,Pd||(Pd=!0,tt.unstable_scheduleCallback(tt.unstable_NormalPriority,AS)))}function Vy(e){gr!==e&&(gr=e,tt.unstable_scheduleCallback(tt.unstable_NormalPriority,function(){gr===e&&(gr=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],l=e[t+2];if(typeof a!="function"){if(Mf(a||n)===null)continue;break}var o=gn(n);o!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:l,method:n.method,action:a},Object.freeze(n),ws(o,n,a,l))}}))}function Uu(e){function t(r){return Ec(r,e)}Ja!==null&&Ec(Ja,e),Ka!==null&&Ec(Ka,e),Wa!==null&&Ec(Wa,e),bi.forEach(t),Si.forEach(t);for(var n=0;n<Ia.length;n++){var a=Ia[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Ia.length&&(n=Ia[0],n.blockedOn===null);)qy(n),n.blockedOn===null&&Ia.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var l=n[a],o=n[a+1],u=l[Lt]||null;if(typeof o=="function")u||Vy(n);else if(u){var i=null;if(o&&o.hasAttribute("formAction")){if(l=o,u=o[Lt]||null)i=u.formAction;else if(Mf(l)!==null)continue}else i=u.action;typeof i=="function"?n[a+1]=i:(n.splice(a,3),a-=3),Vy(n)}}}function zf(e){this._internalRoot=e}function Rc(e){this._internalRoot=e}function Gy(e){e[Ba]&&(e._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 tt=Av(),Uf=br(),xS=Ov(),oe=Object.assign,OS=Symbol.for("react.element"),Ua=Symbol.for("react.transitional.element"),ao=Symbol.for("react.portal"),lo=Symbol.for("react.fragment"),Ac=Symbol.for("react.strict_mode"),Hf=Symbol.for("react.profiler"),DS=Symbol.for("react.provider"),_f=Symbol.for("react.consumer"),_n=Symbol.for("react.context"),Hu=Symbol.for("react.forward_ref"),kf=Symbol.for("react.suspense"),Bf=Symbol.for("react.suspense_list"),xc=Symbol.for("react.memo"),Zt=Symbol.for("react.lazy"),Lf=Symbol.for("react.activity"),CS=Symbol.for("react.memo_cache_sentinel"),Xy=Symbol.iterator,wS=Symbol.for("react.client.reference"),gt=Array.isArray,b=Uf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Re=xS.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,MS=Object.freeze({pending:!1,data:null,method:null,action:null}),Nf=[],Yf=[],na=-1,Ha=Se(null),_u=Se(null),_a=Se(null),Oc=Se(null),aa=Object.prototype.hasOwnProperty,qf=tt.unstable_scheduleCallback,zS=tt.unstable_cancelCallback,US=tt.unstable_shouldYield,HS=tt.unstable_requestPaint,kn=tt.unstable_now,_S=tt.unstable_getCurrentPriorityLevel,jf=tt.unstable_ImmediatePriority,Vf=tt.unstable_UserBlockingPriority,oo=tt.unstable_NormalPriority,kS=tt.unstable_LowPriority,Gf=tt.unstable_IdlePriority,BS=tt.log,LS=tt.unstable_setDisableYieldValue,uo=null,Et=null,U=null,Bn=!1,Sn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ot=Math.clz32?Math.clz32:Ti,NS=Math.log,YS=Math.LN2,Dc=256,Cc=4194304,an=2,Ln=8,la=32,wc=268435456,ka=Math.random().toString(36).slice(2),Rt="__reactFiber$"+ka,Lt="__reactProps$"+ka,Ba="__reactContainer$"+ka,Xf="__reactEvents$"+ka,qS="__reactListeners$"+ka,jS="__reactHandles$"+ka,Qy="__reactResources$"+ka,ku="__reactMarker$"+ka,Zy=new Set,yl={},Qf={},VS={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},GS=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]*$"),$y={},Jy={},Bu=0,Ky,Wy,Iy,Fy,Py,eg,tg;Zn.__reactDisabledLog=!0;var Zf,ng,$f=!1,Jf=new(typeof WeakMap=="function"?WeakMap:Map),$t=null,Nn=!1,XS=/[\n"\\]/g,ag=!1,lg=!1,og=!1,ug=!1,ig=!1,cg=!1,rg=["value","defaultValue"],sg=!1,fg=/["'&<>\n\t]|^\s|\s$/,QS="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(" "),dg="applet caption html table td th marquee object template foreignObject desc title".split(" "),ZS=dg.concat(["button"]),$S="dd dt li option optgroup p rp rt".split(" "),hg={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Mc={},Kf={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"]},pg=/([A-Z])/g,mg=/^ms-/,JS=/^(?:webkit|moz|o)[A-Z]/,KS=/^-ms-/,WS=/-(.)/g,yg=/;\s*$/,io={},Wf={},gg=!1,vg=!1,bg=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(" ")),zc="http://www.w3.org/1998/Math/MathML",co="http://www.w3.org/2000/svg",IS=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"]]),Uc={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"},Sg={"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},ro={},FS=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]*$"),PS=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]*$"),Tg=!1,Dt={},Eg=/^on./,e1=/^on[^A-Z]/,t1=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]*$"),n1=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]*$"),a1=/^[\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,Lu=null,so=null,fo=null,If=!1,Yn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ff=!1;if(Yn)try{var Nu={};Object.defineProperty(Nu,"passive",{get:function(){Ff=!0}}),window.addEventListener("test",Nu,Nu),window.removeEventListener("test",Nu,Nu)}catch{Ff=!1}var La=null,Pf=null,Hc=null,gl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_c=Ht(gl),Yu=oe({},gl,{view:0,detail:0}),l1=Ht(Yu),ed,td,qu,kc=oe({},Yu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==qu&&(qu&&e.type==="mousemove"?(ed=e.screenX-qu.screenX,td=e.screenY-qu.screenY):td=ed=0,qu=e),ed)},movementY:function(e){return"movementY"in e?e.movementY:td}}),Rg=Ht(kc),o1=oe({},kc,{dataTransfer:0}),u1=Ht(o1),i1=oe({},Yu,{relatedTarget:0}),nd=Ht(i1),c1=oe({},gl,{animationName:0,elapsedTime:0,pseudoElement:0}),r1=Ht(c1),s1=oe({},gl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),f1=Ht(s1),d1=oe({},gl,{data:0}),Ag=Ht(d1),h1=Ag,p1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},m1={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"},y1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},g1=oe({},Yu,{key:function(e){if(e.key){var t=p1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?m1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qr,charCode:function(e){return e.type==="keypress"?wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),v1=Ht(g1),b1=oe({},kc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xg=Ht(b1),S1=oe({},Yu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qr}),T1=Ht(S1),E1=oe({},gl,{propertyName:0,elapsedTime:0,pseudoElement:0}),R1=Ht(E1),A1=oe({},kc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),x1=Ht(A1),O1=oe({},gl,{newState:0,oldState:0}),D1=Ht(O1),C1=[9,13,27,32],Og=229,ad=Yn&&"CompositionEvent"in window,ju=null;Yn&&"documentMode"in document&&(ju=document.documentMode);var w1=Yn&&"TextEvent"in window&&!ju,Dg=Yn&&(!ad||ju&&8<ju&&11>=ju),Cg=32,wg=String.fromCharCode(Cg),Mg=!1,ho=!1,M1={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},Vu=null,Gu=null,zg=!1;Yn&&(zg=ub("input")&&(!document.documentMode||9<document.documentMode));var Ct=typeof Object.is=="function"?Object.is:db,z1=Yn&&"documentMode"in document&&11>=document.documentMode,po=null,ld=null,Xu=null,od=!1,mo={animationend:tl("Animation","AnimationEnd"),animationiteration:tl("Animation","AnimationIteration"),animationstart:tl("Animation","AnimationStart"),transitionrun:tl("Transition","TransitionRun"),transitionstart:tl("Transition","TransitionStart"),transitioncancel:tl("Transition","TransitionCancel"),transitionend:tl("Transition","TransitionEnd")},ud={},Ug={};Yn&&(Ug=document.createElement("div").style,"AnimationEvent"in window||(delete mo.animationend.animation,delete mo.animationiteration.animation,delete mo.animationstart.animation),"TransitionEvent"in window||delete mo.transitionend.transition);var Hg=nl("animationend"),_g=nl("animationiteration"),kg=nl("animationstart"),U1=nl("transitionrun"),H1=nl("transitionstart"),_1=nl("transitioncancel"),Bg=nl("transitionend"),Lg=new Map,id="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(" ");id.push("scrollEnd");var cd=new WeakMap,Bc=1,oa=2,ln=[],yo=0,rd=0,Na={};Object.freeze(Na);var on=null,go=null,Be=0,k1=1,vt=2,At=8,Tn=16,Ng=64,Yg=!1;try{var qg=Object.preventExtensions({})}catch{Yg=!0}var vo=[],bo=0,Lc=null,Nc=0,un=[],cn=0,vl=null,ua=1,ia="",wt=null,$e=null,ge=!1,ca=!1,rn=null,bl=null,qn=!1,sd=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."),jg=0;if(typeof performance=="object"&&typeof performance.now=="function")var B1=performance,Vg=function(){return B1.now()};else{var L1=Date;Vg=function(){return L1.now()}}var fd=Se(null),dd=Se(null),Gg={},Yc=null,So=null,To=!1,N1=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},Y1=tt.unstable_scheduleCallback,q1=tt.unstable_NormalPriority,it={$$typeof:_n,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Eo=tt.unstable_now,Xg=-0,qc=-0,Nt=-1.1,Sl=-0,jc=!1,Vc=!1,Qu=null,hd=0,Tl=0,Ro=null,Qg=b.S;b.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&pb(e,t),Qg!==null&&Qg(e,t)};var El=Se(null),En={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Zu=[],$u=[],Ju=[],Ku=[],Wu=[],Iu=[],Rl=new Set;En.recordUnsafeLifecycleWarnings=function(e,t){Rl.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Zu.push(e),e.mode&At&&typeof t.UNSAFE_componentWillMount=="function"&&$u.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Ju.push(e),e.mode&At&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Ku.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Wu.push(e),e.mode&At&&typeof t.UNSAFE_componentWillUpdate=="function"&&Iu.push(e))},En.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Zu.length&&(Zu.forEach(function(i){e.add(L(i)||"Component"),Rl.add(i.type)}),Zu=[]);var t=new Set;0<$u.length&&($u.forEach(function(i){t.add(L(i)||"Component"),Rl.add(i.type)}),$u=[]);var n=new Set;0<Ju.length&&(Ju.forEach(function(i){n.add(L(i)||"Component"),Rl.add(i.type)}),Ju=[]);var a=new Set;0<Ku.length&&(Ku.forEach(function(i){a.add(L(i)||"Component"),Rl.add(i.type)}),Ku=[]);var l=new Set;0<Wu.length&&(Wu.forEach(function(i){l.add(L(i)||"Component"),Rl.add(i.type)}),Wu=[]);var o=new Set;if(0<Iu.length&&(Iu.forEach(function(i){o.add(L(i)||"Component"),Rl.add(i.type)}),Iu=[]),0<t.size){var u=A(t);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.
|
|
212
|
+
Check the render method of %s.`,L($t)||"Unknown")),a=Aa(t),a.payload={element:n},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",u),a.callback=u),n=Oa(e,a,t),n!==null&&(Ie(n,e,t),fo(n,e,t))}function ky(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Of(e,t){ky(e,t),(e=e.alternate)&&ky(e,t)}function Ly(e){if(e.tag===13){var t=_t(e,67108864);t!==null&&Ie(t,e,67108864),Of(e,67108864)}}function gS(){return $t}function vS(){for(var e=new Map,t=1,n=0;31>n;n++){var a=Zu(t);e.set(t,a),t*=2}return e}function bS(e,t,n,a){var l=b.T;b.T=null;var u=Re.p;try{Re.p=an,Df(e,t,n,a)}finally{Re.p=u,b.T=l}}function SS(e,t,n,a){var l=b.T;b.T=null;var u=Re.p;try{Re.p=Ln,Df(e,t,n,a)}finally{Re.p=u,b.T=l}}function Df(e,t,n,a){if(mr){var l=xf(a);if(l===null)df(e,t,a,yr,n),qy(e,a);else if(TS(l,e,t,n,a))a.stopPropagation();else if(qy(e,a),t&4&&-1<fT.indexOf(e)){for(;l!==null;){var u=gn(l);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var o=et(u.pendingLanes);if(o!==0){var i=u;for(i.pendingLanes|=2,i.entangledLanes|=2;o;){var r=1<<31-Dt(o);i.entanglements[1]|=r,o&=~r}Un(u),(Ae&(zt|On))===Jt&&(Pc=Bn()+G0,Do(0))}}break;case 13:i=_t(u,2),i!==null&&Ie(i,u,2),Il(),Of(u,2)}if(u=xf(a),u===null&&df(e,t,a,yr,n),u===l)break;l=u}l!==null&&a.stopPropagation()}else df(e,t,a,null,n)}}function xf(e){return e=Lr(e),Cf(e)}function Cf(e){if(yr=null,e=yn(e),e!==null){var t=re(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Ze(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return yr=e,null}function Ny(e){switch(e){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 an;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 Ln;case"message":switch(US()){case qf:return an;case Yf:return Ln;case uu:case HS:return la;case jf:return wc;default:return la}default:return la}}function qy(e,t){switch(e){case"focusin":case"focusout":Ja=null;break;case"dragenter":case"dragleave":Ka=null;break;case"mouseover":case"mouseout":Wa=null;break;case"pointerover":case"pointerout":bi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Si.delete(t.pointerId)}}function zo(e,t,n,a,l,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:u,targetContainers:[l]},t!==null&&(t=gn(t),t!==null&&Ly(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function TS(e,t,n,a,l){switch(t){case"focusin":return Ja=zo(Ja,e,t,n,a,l),!0;case"dragenter":return Ka=zo(Ka,e,t,n,a,l),!0;case"mouseover":return Wa=zo(Wa,e,t,n,a,l),!0;case"pointerover":var u=l.pointerId;return bi.set(u,zo(bi.get(u)||null,e,t,n,a,l)),!0;case"gotpointercapture":return u=l.pointerId,Si.set(u,zo(Si.get(u)||null,e,t,n,a,l)),!0}return!1}function Yy(e){var t=yn(e.target);if(t!==null){var n=re(t);if(n!==null){if(t=n.tag,t===13){if(t=Ze(n),t!==null){e.blockedOn=t,Yl(e.priority,function(){if(n.tag===13){var a=Qt(n);a=Ju(a);var l=_t(n,a);l!==null&&Ie(l,n,a),Of(n,a)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Tc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=xf(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),l=a;Lo!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Lo=l,n.target.dispatchEvent(a),Lo===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."),Lo=null}else return t=gn(n),t!==null&&Ly(t),e.blockedOn=n,!1;t.shift()}return!0}function jy(e,t,n){Tc(e)&&n.delete(t)}function ES(){Id=!1,Ja!==null&&Tc(Ja)&&(Ja=null),Ka!==null&&Tc(Ka)&&(Ka=null),Wa!==null&&Tc(Wa)&&(Wa=null),bi.forEach(jy),Si.forEach(jy)}function Ec(e,t){e.blockedOn===t&&(e.blockedOn=null,Id||(Id=!0,tt.unstable_scheduleCallback(tt.unstable_NormalPriority,ES)))}function Vy(e){gr!==e&&(gr=e,tt.unstable_scheduleCallback(tt.unstable_NormalPriority,function(){gr===e&&(gr=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],l=e[t+2];if(typeof a!="function"){if(Cf(a||n)===null)continue;break}var u=gn(n);u!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:l,method:n.method,action:a},Object.freeze(n),xs(u,n,a,l))}}))}function Uo(e){function t(r){return Ec(r,e)}Ja!==null&&Ec(Ja,e),Ka!==null&&Ec(Ka,e),Wa!==null&&Ec(Wa,e),bi.forEach(t),Si.forEach(t);for(var n=0;n<Ia.length;n++){var a=Ia[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Ia.length&&(n=Ia[0],n.blockedOn===null);)Yy(n),n.blockedOn===null&&Ia.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var l=n[a],u=n[a+1],o=l[Lt]||null;if(typeof u=="function")o||Vy(n);else if(o){var i=null;if(u&&u.hasAttribute("formAction")){if(l=u,o=u[Lt]||null)i=o.formAction;else if(Cf(l)!==null)continue}else i=o.action;typeof i=="function"?n[a+1]=i:(n.splice(a,3),a-=3),Vy(n)}}}function wf(e){this._internalRoot=e}function Rc(e){this._internalRoot=e}function Gy(e){e[ka]&&(e._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 tt=Av(),Mf=br(),RS=Dv(),te=Object.assign,AS=Symbol.for("react.element"),Ua=Symbol.for("react.transitional.element"),au=Symbol.for("react.portal"),lu=Symbol.for("react.fragment"),Ac=Symbol.for("react.strict_mode"),zf=Symbol.for("react.profiler"),OS=Symbol.for("react.provider"),Uf=Symbol.for("react.consumer"),_n=Symbol.for("react.context"),Ho=Symbol.for("react.forward_ref"),Hf=Symbol.for("react.suspense"),_f=Symbol.for("react.suspense_list"),Oc=Symbol.for("react.memo"),Zt=Symbol.for("react.lazy"),Bf=Symbol.for("react.activity"),DS=Symbol.for("react.memo_cache_sentinel"),Xy=Symbol.iterator,xS=Symbol.for("react.client.reference"),gt=Array.isArray,b=Mf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Re=RS.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,CS=Object.freeze({pending:!1,data:null,method:null,action:null}),kf=[],Lf=[],na=-1,Ha=Se(null),_o=Se(null),_a=Se(null),Dc=Se(null),aa=Object.prototype.hasOwnProperty,Nf=tt.unstable_scheduleCallback,wS=tt.unstable_cancelCallback,MS=tt.unstable_shouldYield,zS=tt.unstable_requestPaint,Bn=tt.unstable_now,US=tt.unstable_getCurrentPriorityLevel,qf=tt.unstable_ImmediatePriority,Yf=tt.unstable_UserBlockingPriority,uu=tt.unstable_NormalPriority,HS=tt.unstable_LowPriority,jf=tt.unstable_IdlePriority,_S=tt.log,BS=tt.unstable_setDisableYieldValue,ou=null,Et=null,U=null,kn=!1,Sn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Dt=Math.clz32?Math.clz32:Ti,kS=Math.log,LS=Math.LN2,xc=256,Cc=4194304,an=2,Ln=8,la=32,wc=268435456,Ba=Math.random().toString(36).slice(2),Rt="__reactFiber$"+Ba,Lt="__reactProps$"+Ba,ka="__reactContainer$"+Ba,Vf="__reactEvents$"+Ba,NS="__reactListeners$"+Ba,qS="__reactHandles$"+Ba,Qy="__reactResources$"+Ba,Bo="__reactMarker$"+Ba,Zy=new Set,yl={},Gf={},YS={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},jS=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]*$"),$y={},Jy={},ko=0,Ky,Wy,Iy,Fy,Py,eg,tg;Zn.__reactDisabledLog=!0;var Xf,ng,Qf=!1,Zf=new(typeof WeakMap=="function"?WeakMap:Map),$t=null,Nn=!1,VS=/[\n"\\]/g,ag=!1,lg=!1,ug=!1,og=!1,ig=!1,cg=!1,rg=["value","defaultValue"],sg=!1,fg=/["'&<>\n\t]|^\s|\s$/,GS="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(" "),dg="applet caption html table td th marquee object template foreignObject desc title".split(" "),XS=dg.concat(["button"]),QS="dd dt li option optgroup p rp rt".split(" "),hg={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Mc={},$f={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"]},pg=/([A-Z])/g,mg=/^ms-/,ZS=/^(?:webkit|moz|o)[A-Z]/,$S=/^-ms-/,JS=/-(.)/g,yg=/;\s*$/,iu={},Jf={},gg=!1,vg=!1,bg=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(" ")),zc="http://www.w3.org/1998/Math/MathML",cu="http://www.w3.org/2000/svg",KS=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"]]),Uc={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"},Sg={"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},ru={},WS=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]*$"),IS=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]*$"),Tg=!1,xt={},Eg=/^on./,FS=/^on[^A-Z]/,PS=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]*$"),e1=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]*$"),t1=/^[\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,Lo=null,su=null,fu=null,Kf=!1,qn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wf=!1;if(qn)try{var No={};Object.defineProperty(No,"passive",{get:function(){Wf=!0}}),window.addEventListener("test",No,No),window.removeEventListener("test",No,No)}catch{Wf=!1}var La=null,If=null,Hc=null,gl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_c=Ht(gl),qo=te({},gl,{view:0,detail:0}),n1=Ht(qo),Ff,Pf,Yo,Bc=te({},qo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Yo&&(Yo&&e.type==="mousemove"?(Ff=e.screenX-Yo.screenX,Pf=e.screenY-Yo.screenY):Pf=Ff=0,Yo=e),Ff)},movementY:function(e){return"movementY"in e?e.movementY:Pf}}),Rg=Ht(Bc),a1=te({},Bc,{dataTransfer:0}),l1=Ht(a1),u1=te({},qo,{relatedTarget:0}),ed=Ht(u1),o1=te({},gl,{animationName:0,elapsedTime:0,pseudoElement:0}),i1=Ht(o1),c1=te({},gl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),r1=Ht(c1),s1=te({},gl,{data:0}),Ag=Ht(s1),f1=Ag,d1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},h1={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"},p1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},m1=te({},qo,{key:function(e){if(e.key){var t=d1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=wi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?h1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nr,charCode:function(e){return e.type==="keypress"?wi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?wi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),y1=Ht(m1),g1=te({},Bc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Og=Ht(g1),v1=te({},qo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nr}),b1=Ht(v1),S1=te({},gl,{propertyName:0,elapsedTime:0,pseudoElement:0}),T1=Ht(S1),E1=te({},Bc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),R1=Ht(E1),A1=te({},gl,{newState:0,oldState:0}),O1=Ht(A1),D1=[9,13,27,32],Dg=229,td=qn&&"CompositionEvent"in window,jo=null;qn&&"documentMode"in document&&(jo=document.documentMode);var x1=qn&&"TextEvent"in window&&!jo,xg=qn&&(!td||jo&&8<jo&&11>=jo),Cg=32,wg=String.fromCharCode(Cg),Mg=!1,du=!1,C1={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},Vo=null,Go=null,zg=!1;qn&&(zg=lb("input")&&(!document.documentMode||9<document.documentMode));var Ct=typeof Object.is=="function"?Object.is:sb,w1=qn&&"documentMode"in document&&11>=document.documentMode,hu=null,nd=null,Xo=null,ad=!1,pu={animationend:tl("Animation","AnimationEnd"),animationiteration:tl("Animation","AnimationIteration"),animationstart:tl("Animation","AnimationStart"),transitionrun:tl("Transition","TransitionRun"),transitionstart:tl("Transition","TransitionStart"),transitioncancel:tl("Transition","TransitionCancel"),transitionend:tl("Transition","TransitionEnd")},ld={},Ug={};qn&&(Ug=document.createElement("div").style,"AnimationEvent"in window||(delete pu.animationend.animation,delete pu.animationiteration.animation,delete pu.animationstart.animation),"TransitionEvent"in window||delete pu.transitionend.transition);var Hg=nl("animationend"),_g=nl("animationiteration"),Bg=nl("animationstart"),M1=nl("transitionrun"),z1=nl("transitionstart"),U1=nl("transitioncancel"),kg=nl("transitionend"),Lg=new Map,ud="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(" ");ud.push("scrollEnd");var od=new WeakMap,kc=1,ua=2,ln=[],mu=0,id=0,Na={};Object.freeze(Na);var un=null,yu=null,Be=0,H1=1,vt=2,At=8,Tn=16,Ng=64,qg=!1;try{var Yg=Object.preventExtensions({})}catch{qg=!0}var gu=[],vu=0,Lc=null,Nc=0,on=[],cn=0,vl=null,oa=1,ia="",wt=null,$e=null,ye=!1,ca=!1,rn=null,bl=null,Yn=!1,cd=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."),jg=0;if(typeof performance=="object"&&typeof performance.now=="function")var _1=performance,Vg=function(){return _1.now()};else{var B1=Date;Vg=function(){return B1.now()}}var rd=Se(null),sd=Se(null),Gg={},qc=null,bu=null,Su=!1,k1=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},L1=tt.unstable_scheduleCallback,N1=tt.unstable_NormalPriority,it={$$typeof:_n,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Tu=tt.unstable_now,Xg=-0,Yc=-0,Nt=-1.1,Sl=-0,jc=!1,Vc=!1,Qo=null,fd=0,Tl=0,Eu=null,Qg=b.S;b.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&db(e,t),Qg!==null&&Qg(e,t)};var El=Se(null),En={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Zo=[],$o=[],Jo=[],Ko=[],Wo=[],Io=[],Rl=new Set;En.recordUnsafeLifecycleWarnings=function(e,t){Rl.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Zo.push(e),e.mode&At&&typeof t.UNSAFE_componentWillMount=="function"&&$o.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Jo.push(e),e.mode&At&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Ko.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Wo.push(e),e.mode&At&&typeof t.UNSAFE_componentWillUpdate=="function"&&Io.push(e))},En.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Zo.length&&(Zo.forEach(function(i){e.add(L(i)||"Component"),Rl.add(i.type)}),Zo=[]);var t=new Set;0<$o.length&&($o.forEach(function(i){t.add(L(i)||"Component"),Rl.add(i.type)}),$o=[]);var n=new Set;0<Jo.length&&(Jo.forEach(function(i){n.add(L(i)||"Component"),Rl.add(i.type)}),Jo=[]);var a=new Set;0<Ko.length&&(Ko.forEach(function(i){a.add(L(i)||"Component"),Rl.add(i.type)}),Ko=[]);var l=new Set;0<Wo.length&&(Wo.forEach(function(i){l.add(L(i)||"Component"),Rl.add(i.type)}),Wo=[]);var u=new Set;if(0<Io.length&&(Io.forEach(function(i){u.add(L(i)||"Component"),Rl.add(i.type)}),Io=[]),0<t.size){var o=A(t);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.
|
|
213
213
|
|
|
214
214
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
215
215
|
|
|
216
|
-
Please update the following components: %s`,
|
|
216
|
+
Please update the following components: %s`,o)}0<a.size&&(o=A(a),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.
|
|
217
217
|
|
|
218
218
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
219
219
|
* 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
|
|
220
220
|
|
|
221
|
-
Please update the following components: %s`,
|
|
221
|
+
Please update the following components: %s`,o)),0<u.size&&(o=A(u),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.
|
|
222
222
|
|
|
223
223
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
224
224
|
|
|
225
|
-
Please update the following components: %s`,
|
|
225
|
+
Please update the following components: %s`,o)),0<e.size&&(o=A(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
226
226
|
|
|
227
227
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
228
228
|
* 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.
|
|
229
229
|
|
|
230
|
-
Please update the following components: %s`,
|
|
230
|
+
Please update the following components: %s`,o)),0<n.size&&(o=A(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
231
231
|
|
|
232
232
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
233
233
|
* 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
|
|
234
234
|
* 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.
|
|
235
235
|
|
|
236
|
-
Please update the following components: %s`,
|
|
236
|
+
Please update the following components: %s`,o)),0<l.size&&(o=A(l),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
237
237
|
|
|
238
238
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
239
239
|
* 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.
|
|
240
240
|
|
|
241
|
-
Please update the following components: %s`,
|
|
241
|
+
Please update the following components: %s`,o))};var Gc=new Map,Zg=new Set;En.recordLegacyContextWarning=function(e,t){for(var n=null,a=e;a!==null;)a.mode&At&&(n=a),a=a.return;n===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."):!Zg.has(e.type)&&(a=Gc.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Gc.set(n,a)),a.push(e))},En.flushLegacyContextWarning=function(){Gc.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(l){n.add(L(l)||"Component"),Zg.add(l.type)});var a=A(n);q(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
242
242
|
|
|
243
243
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
244
244
|
|
|
245
245
|
Please update the following components: %s
|
|
246
246
|
|
|
247
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}})},En.discardPendingWarnings=function(){Zu=[],$u=[],Ju=[],Ku=[],Wu=[],Iu=[],Gc=new Map};var Fu=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`."),$g=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."),Xc=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."),pd={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.')}},Pu=null,Qc=!1,sn=0,fn=1,Mt=2,bt=4,ct=8,Jg=0,Kg=1,Wg=2,md=3,Ya=!1,Ig=!1,yd=null,gd=!1,Ao=Se(null),Zc=Se(0),xo,Fg=new Set,Pg=new Set,vd=new Set,e0=new Set,qa=0,J=null,ze=null,nt=null,$c=!1,Oo=!1,Al=!1,Jc=0,ei=0,ra=null,j1=0,V1=25,v=null,dn=null,sa=-1,ti=!1,Kc={readContext:Ge,use:Oa,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useLayoutEffect:We,useInsertionEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useSyncExternalStore:We,useId:We,useHostTransitionStatus:We,useFormState:We,useActionState:We,useOptimistic:We,useMemoCache:We,useCacheRefresh:We},bd=null,t0=null,Sd=null,n0=null,jn=null,Rn=null,Wc=null;bd={readContext:function(e){return Ge(e)},use:Oa,useCallback:function(e,t){return v="useCallback",se(),Xl(t),xs(e,t)},useContext:function(e){return v="useContext",se(),Ge(e)},useEffect:function(e,t){return v="useEffect",se(),Xl(t),Ki(e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",se(),Xl(n),As(e,t,n)},useInsertionEffect:function(e,t){v="useInsertionEffect",se(),Xl(t),dl(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",se(),Xl(t),Rs(e,t)},useMemo:function(e,t){v="useMemo",se(),Xl(t);var n=b.H;b.H=jn;try{return Os(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",se();var a=b.H;b.H=jn;try{return ms(e,t,n)}finally{b.H=a}},useRef:function(e){return v="useRef",se(),Es(e)},useState:function(e){v="useState",se();var t=b.H;b.H=jn;try{return bs(e)}finally{b.H=t}},useDebugValue:function(){v="useDebugValue",se()},useDeferredValue:function(e,t){return v="useDeferredValue",se(),Ds(e,t)},useTransition:function(){return v="useTransition",se(),Ms()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",se(),gs(e,t,n)},useId:function(){return v="useId",se(),zs()},useFormState:function(e,t){return v="useFormState",se(),Xi(),Zl(e,t)},useActionState:function(e,t){return v="useActionState",se(),Zl(e,t)},useOptimistic:function(e){return v="useOptimistic",se(),Ss(e)},useHostTransitionStatus:hl,useMemoCache:fl,useCacheRefresh:function(){return v="useCacheRefresh",se(),Us()}},t0={readContext:function(e){return Ge(e)},use:Oa,useCallback:function(e,t){return v="useCallback",R(),xs(e,t)},useContext:function(e){return v="useContext",R(),Ge(e)},useEffect:function(e,t){return v="useEffect",R(),Ki(e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",R(),As(e,t,n)},useInsertionEffect:function(e,t){v="useInsertionEffect",R(),dl(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",R(),Rs(e,t)},useMemo:function(e,t){v="useMemo",R();var n=b.H;b.H=jn;try{return Os(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",R();var a=b.H;b.H=jn;try{return ms(e,t,n)}finally{b.H=a}},useRef:function(e){return v="useRef",R(),Es(e)},useState:function(e){v="useState",R();var t=b.H;b.H=jn;try{return bs(e)}finally{b.H=t}},useDebugValue:function(){v="useDebugValue",R()},useDeferredValue:function(e,t){return v="useDeferredValue",R(),Ds(e,t)},useTransition:function(){return v="useTransition",R(),Ms()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",R(),gs(e,t,n)},useId:function(){return v="useId",R(),zs()},useActionState:function(e,t){return v="useActionState",R(),Zl(e,t)},useFormState:function(e,t){return v="useFormState",R(),Xi(),Zl(e,t)},useOptimistic:function(e){return v="useOptimistic",R(),Ss(e)},useHostTransitionStatus:hl,useMemoCache:fl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Us()}},Sd={readContext:function(e){return Ge(e)},use:Oa,useCallback:function(e,t){return v="useCallback",R(),Ii(e,t)},useContext:function(e){return v="useContext",R(),Ge(e)},useEffect:function(e,t){v="useEffect",R(),Bt(2048,ct,e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",R(),Wi(e,t,n)},useInsertionEffect:function(e,t){return v="useInsertionEffect",R(),Bt(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",R(),Bt(4,bt,e,t)},useMemo:function(e,t){v="useMemo",R();var n=b.H;b.H=Rn;try{return Fi(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",R();var a=b.H;b.H=Rn;try{return Ql(e,t,n)}finally{b.H=a}},useRef:function(){return v="useRef",R(),Ce().memoizedState},useState:function(){v="useState",R();var e=b.H;b.H=Rn;try{return Ql(bn)}finally{b.H=e}},useDebugValue:function(){v="useDebugValue",R()},useDeferredValue:function(e,t){return v="useDeferredValue",R(),Hp(e,t)},useTransition:function(){return v="useTransition",R(),Yp()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",R(),Qi(e,t,n)},useId:function(){return v="useId",R(),Ce().memoizedState},useFormState:function(e){return v="useFormState",R(),Xi(),Zi(e)},useActionState:function(e){return v="useActionState",R(),Zi(e)},useOptimistic:function(e,t){return v="useOptimistic",R(),Rp(e,t)},useHostTransitionStatus:hl,useMemoCache:fl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Ce().memoizedState}},n0={readContext:function(e){return Ge(e)},use:Oa,useCallback:function(e,t){return v="useCallback",R(),Ii(e,t)},useContext:function(e){return v="useContext",R(),Ge(e)},useEffect:function(e,t){v="useEffect",R(),Bt(2048,ct,e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",R(),Wi(e,t,n)},useInsertionEffect:function(e,t){return v="useInsertionEffect",R(),Bt(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",R(),Bt(4,bt,e,t)},useMemo:function(e,t){v="useMemo",R();var n=b.H;b.H=Wc;try{return Fi(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",R();var a=b.H;b.H=Wc;try{return yu(e,t,n)}finally{b.H=a}},useRef:function(){return v="useRef",R(),Ce().memoizedState},useState:function(){v="useState",R();var e=b.H;b.H=Wc;try{return yu(bn)}finally{b.H=e}},useDebugValue:function(){v="useDebugValue",R()},useDeferredValue:function(e,t){return v="useDeferredValue",R(),_p(e,t)},useTransition:function(){return v="useTransition",R(),qp()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",R(),Qi(e,t,n)},useId:function(){return v="useId",R(),Ce().memoizedState},useFormState:function(e){return v="useFormState",R(),Xi(),$i(e)},useActionState:function(e){return v="useActionState",R(),$i(e)},useOptimistic:function(e,t){return v="useOptimistic",R(),xp(e,t)},useHostTransitionStatus:hl,useMemoCache:fl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Ce().memoizedState}},jn={readContext:function(e){return Ne(),Ge(e)},use:function(e){return x(),Oa(e)},useCallback:function(e,t){return v="useCallback",x(),se(),xs(e,t)},useContext:function(e){return v="useContext",x(),se(),Ge(e)},useEffect:function(e,t){return v="useEffect",x(),se(),Ki(e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",x(),se(),As(e,t,n)},useInsertionEffect:function(e,t){v="useInsertionEffect",x(),se(),dl(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",x(),se(),Rs(e,t)},useMemo:function(e,t){v="useMemo",x(),se();var n=b.H;b.H=jn;try{return Os(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",x(),se();var a=b.H;b.H=jn;try{return ms(e,t,n)}finally{b.H=a}},useRef:function(e){return v="useRef",x(),se(),Es(e)},useState:function(e){v="useState",x(),se();var t=b.H;b.H=jn;try{return bs(e)}finally{b.H=t}},useDebugValue:function(){v="useDebugValue",x(),se()},useDeferredValue:function(e,t){return v="useDeferredValue",x(),se(),Ds(e,t)},useTransition:function(){return v="useTransition",x(),se(),Ms()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",x(),se(),gs(e,t,n)},useId:function(){return v="useId",x(),se(),zs()},useFormState:function(e,t){return v="useFormState",x(),se(),Zl(e,t)},useActionState:function(e,t){return v="useActionState",x(),se(),Zl(e,t)},useOptimistic:function(e){return v="useOptimistic",x(),se(),Ss(e)},useMemoCache:function(e){return x(),fl(e)},useHostTransitionStatus:hl,useCacheRefresh:function(){return v="useCacheRefresh",se(),Us()}},Rn={readContext:function(e){return Ne(),Ge(e)},use:function(e){return x(),Oa(e)},useCallback:function(e,t){return v="useCallback",x(),R(),Ii(e,t)},useContext:function(e){return v="useContext",x(),R(),Ge(e)},useEffect:function(e,t){v="useEffect",x(),R(),Bt(2048,ct,e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",x(),R(),Wi(e,t,n)},useInsertionEffect:function(e,t){return v="useInsertionEffect",x(),R(),Bt(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",x(),R(),Bt(4,bt,e,t)},useMemo:function(e,t){v="useMemo",x(),R();var n=b.H;b.H=Rn;try{return Fi(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",x(),R();var a=b.H;b.H=Rn;try{return Ql(e,t,n)}finally{b.H=a}},useRef:function(){return v="useRef",x(),R(),Ce().memoizedState},useState:function(){v="useState",x(),R();var e=b.H;b.H=Rn;try{return Ql(bn)}finally{b.H=e}},useDebugValue:function(){v="useDebugValue",x(),R()},useDeferredValue:function(e,t){return v="useDeferredValue",x(),R(),Hp(e,t)},useTransition:function(){return v="useTransition",x(),R(),Yp()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",x(),R(),Qi(e,t,n)},useId:function(){return v="useId",x(),R(),Ce().memoizedState},useFormState:function(e){return v="useFormState",x(),R(),Zi(e)},useActionState:function(e){return v="useActionState",x(),R(),Zi(e)},useOptimistic:function(e,t){return v="useOptimistic",x(),R(),Rp(e,t)},useMemoCache:function(e){return x(),fl(e)},useHostTransitionStatus:hl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Ce().memoizedState}},Wc={readContext:function(e){return Ne(),Ge(e)},use:function(e){return x(),Oa(e)},useCallback:function(e,t){return v="useCallback",x(),R(),Ii(e,t)},useContext:function(e){return v="useContext",x(),R(),Ge(e)},useEffect:function(e,t){v="useEffect",x(),R(),Bt(2048,ct,e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",x(),R(),Wi(e,t,n)},useInsertionEffect:function(e,t){return v="useInsertionEffect",x(),R(),Bt(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",x(),R(),Bt(4,bt,e,t)},useMemo:function(e,t){v="useMemo",x(),R();var n=b.H;b.H=Rn;try{return Fi(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",x(),R();var a=b.H;b.H=Rn;try{return yu(e,t,n)}finally{b.H=a}},useRef:function(){return v="useRef",x(),R(),Ce().memoizedState},useState:function(){v="useState",x(),R();var e=b.H;b.H=Rn;try{return yu(bn)}finally{b.H=e}},useDebugValue:function(){v="useDebugValue",x(),R()},useDeferredValue:function(e,t){return v="useDeferredValue",x(),R(),_p(e,t)},useTransition:function(){return v="useTransition",x(),R(),qp()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",x(),R(),Qi(e,t,n)},useId:function(){return v="useId",x(),R(),Ce().memoizedState},useFormState:function(e){return v="useFormState",x(),R(),$i(e)},useActionState:function(e){return v="useActionState",x(),R(),$i(e)},useOptimistic:function(e,t){return v="useOptimistic",x(),R(),xp(e,t)},useMemoCache:function(e){return x(),fl(e)},useHostTransitionStatus:hl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Ce().memoizedState}};var a0={react_stack_bottom_frame:function(e,t,n){var a=Nn;Nn=!0;try{return e(t,n)}finally{Nn=a}}},Td=a0.react_stack_bottom_frame.bind(a0),l0={react_stack_bottom_frame:function(e){var t=Nn;Nn=!0;try{return e.render()}finally{Nn=t}}},o0=l0.react_stack_bottom_frame.bind(l0),u0={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){we(e,e.return,n)}}},Ed=u0.react_stack_bottom_frame.bind(u0),i0={react_stack_bottom_frame:function(e,t,n,a,l){try{t.componentDidUpdate(n,a,l)}catch(o){we(e,e.return,o)}}},c0=i0.react_stack_bottom_frame.bind(i0),r0={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},G1=r0.react_stack_bottom_frame.bind(r0),s0={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(a){we(e,t,a)}}},f0=s0.react_stack_bottom_frame.bind(s0),d0={react_stack_bottom_frame:function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},X1=d0.react_stack_bottom_frame.bind(d0),h0={react_stack_bottom_frame:function(e,t,n){try{n()}catch(a){we(e,t,a)}}},Q1=h0.react_stack_bottom_frame.bind(h0),p0={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},ja=p0.react_stack_bottom_frame.bind(p0),Do=null,ni=0,ne=null,Rd,m0=Rd=!1,y0={},g0={},v0={};Ke=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._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.");n._store.validated=1;var a=L(e),l=a||"null";if(!y0[l]){y0[l]=!0,n=n._owner,e=e._debugOwner;var o="";e&&typeof e.tag=="number"&&(l=L(e))&&(o=`
|
|
247
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}})},En.discardPendingWarnings=function(){Zo=[],$o=[],Jo=[],Ko=[],Wo=[],Io=[],Gc=new Map};var Fo=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`."),$g=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."),Xc=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."),dd={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.')}},Po=null,Qc=!1,sn=0,fn=1,Mt=2,bt=4,ct=8,Jg=0,Kg=1,Wg=2,hd=3,qa=!1,Ig=!1,pd=null,md=!1,Ru=Se(null),Zc=Se(0),Au,Fg=new Set,Pg=new Set,yd=new Set,e0=new Set,Ya=0,Z=null,ze=null,nt=null,$c=!1,Ou=!1,Al=!1,Jc=0,ei=0,ra=null,q1=0,Y1=25,v=null,dn=null,sa=-1,ti=!1,Kc={readContext:Ge,use:Da,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useLayoutEffect:We,useInsertionEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useSyncExternalStore:We,useId:We,useHostTransitionStatus:We,useFormState:We,useActionState:We,useOptimistic:We,useMemoCache:We,useCacheRefresh:We},gd=null,t0=null,vd=null,n0=null,jn=null,Rn=null,Wc=null;gd={readContext:function(e){return Ge(e)},use:Da,useCallback:function(e,t){return v="useCallback",oe(),Xl(t),Rs(e,t)},useContext:function(e){return v="useContext",oe(),Ge(e)},useEffect:function(e,t){return v="useEffect",oe(),Xl(t),Ki(e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",oe(),Xl(n),Es(e,t,n)},useInsertionEffect:function(e,t){v="useInsertionEffect",oe(),Xl(t),dl(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",oe(),Xl(t),Ts(e,t)},useMemo:function(e,t){v="useMemo",oe(),Xl(t);var n=b.H;b.H=jn;try{return As(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",oe();var a=b.H;b.H=jn;try{return hs(e,t,n)}finally{b.H=a}},useRef:function(e){return v="useRef",oe(),Ss(e)},useState:function(e){v="useState",oe();var t=b.H;b.H=jn;try{return gs(e)}finally{b.H=t}},useDebugValue:function(){v="useDebugValue",oe()},useDeferredValue:function(e,t){return v="useDeferredValue",oe(),Os(e,t)},useTransition:function(){return v="useTransition",oe(),Cs()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",oe(),ms(e,t,n)},useId:function(){return v="useId",oe(),ws()},useFormState:function(e,t){return v="useFormState",oe(),Xi(),Zl(e,t)},useActionState:function(e,t){return v="useActionState",oe(),Zl(e,t)},useOptimistic:function(e){return v="useOptimistic",oe(),vs(e)},useHostTransitionStatus:hl,useMemoCache:fl,useCacheRefresh:function(){return v="useCacheRefresh",oe(),Ms()}},t0={readContext:function(e){return Ge(e)},use:Da,useCallback:function(e,t){return v="useCallback",R(),Rs(e,t)},useContext:function(e){return v="useContext",R(),Ge(e)},useEffect:function(e,t){return v="useEffect",R(),Ki(e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",R(),Es(e,t,n)},useInsertionEffect:function(e,t){v="useInsertionEffect",R(),dl(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",R(),Ts(e,t)},useMemo:function(e,t){v="useMemo",R();var n=b.H;b.H=jn;try{return As(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",R();var a=b.H;b.H=jn;try{return hs(e,t,n)}finally{b.H=a}},useRef:function(e){return v="useRef",R(),Ss(e)},useState:function(e){v="useState",R();var t=b.H;b.H=jn;try{return gs(e)}finally{b.H=t}},useDebugValue:function(){v="useDebugValue",R()},useDeferredValue:function(e,t){return v="useDeferredValue",R(),Os(e,t)},useTransition:function(){return v="useTransition",R(),Cs()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",R(),ms(e,t,n)},useId:function(){return v="useId",R(),ws()},useActionState:function(e,t){return v="useActionState",R(),Zl(e,t)},useFormState:function(e,t){return v="useFormState",R(),Xi(),Zl(e,t)},useOptimistic:function(e){return v="useOptimistic",R(),vs(e)},useHostTransitionStatus:hl,useMemoCache:fl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Ms()}},vd={readContext:function(e){return Ge(e)},use:Da,useCallback:function(e,t){return v="useCallback",R(),Ii(e,t)},useContext:function(e){return v="useContext",R(),Ge(e)},useEffect:function(e,t){v="useEffect",R(),kt(2048,ct,e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",R(),Wi(e,t,n)},useInsertionEffect:function(e,t){return v="useInsertionEffect",R(),kt(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",R(),kt(4,bt,e,t)},useMemo:function(e,t){v="useMemo",R();var n=b.H;b.H=Rn;try{return Fi(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",R();var a=b.H;b.H=Rn;try{return Ql(e,t,n)}finally{b.H=a}},useRef:function(){return v="useRef",R(),Ce().memoizedState},useState:function(){v="useState",R();var e=b.H;b.H=Rn;try{return Ql(bn)}finally{b.H=e}},useDebugValue:function(){v="useDebugValue",R()},useDeferredValue:function(e,t){return v="useDeferredValue",R(),Hp(e,t)},useTransition:function(){return v="useTransition",R(),qp()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",R(),Qi(e,t,n)},useId:function(){return v="useId",R(),Ce().memoizedState},useFormState:function(e){return v="useFormState",R(),Xi(),Zi(e)},useActionState:function(e){return v="useActionState",R(),Zi(e)},useOptimistic:function(e,t){return v="useOptimistic",R(),Rp(e,t)},useHostTransitionStatus:hl,useMemoCache:fl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Ce().memoizedState}},n0={readContext:function(e){return Ge(e)},use:Da,useCallback:function(e,t){return v="useCallback",R(),Ii(e,t)},useContext:function(e){return v="useContext",R(),Ge(e)},useEffect:function(e,t){v="useEffect",R(),kt(2048,ct,e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",R(),Wi(e,t,n)},useInsertionEffect:function(e,t){return v="useInsertionEffect",R(),kt(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",R(),kt(4,bt,e,t)},useMemo:function(e,t){v="useMemo",R();var n=b.H;b.H=Wc;try{return Fi(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",R();var a=b.H;b.H=Wc;try{return yo(e,t,n)}finally{b.H=a}},useRef:function(){return v="useRef",R(),Ce().memoizedState},useState:function(){v="useState",R();var e=b.H;b.H=Wc;try{return yo(bn)}finally{b.H=e}},useDebugValue:function(){v="useDebugValue",R()},useDeferredValue:function(e,t){return v="useDeferredValue",R(),_p(e,t)},useTransition:function(){return v="useTransition",R(),Yp()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",R(),Qi(e,t,n)},useId:function(){return v="useId",R(),Ce().memoizedState},useFormState:function(e){return v="useFormState",R(),Xi(),$i(e)},useActionState:function(e){return v="useActionState",R(),$i(e)},useOptimistic:function(e,t){return v="useOptimistic",R(),Op(e,t)},useHostTransitionStatus:hl,useMemoCache:fl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Ce().memoizedState}},jn={readContext:function(e){return Ne(),Ge(e)},use:function(e){return O(),Da(e)},useCallback:function(e,t){return v="useCallback",O(),oe(),Rs(e,t)},useContext:function(e){return v="useContext",O(),oe(),Ge(e)},useEffect:function(e,t){return v="useEffect",O(),oe(),Ki(e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",O(),oe(),Es(e,t,n)},useInsertionEffect:function(e,t){v="useInsertionEffect",O(),oe(),dl(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",O(),oe(),Ts(e,t)},useMemo:function(e,t){v="useMemo",O(),oe();var n=b.H;b.H=jn;try{return As(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",O(),oe();var a=b.H;b.H=jn;try{return hs(e,t,n)}finally{b.H=a}},useRef:function(e){return v="useRef",O(),oe(),Ss(e)},useState:function(e){v="useState",O(),oe();var t=b.H;b.H=jn;try{return gs(e)}finally{b.H=t}},useDebugValue:function(){v="useDebugValue",O(),oe()},useDeferredValue:function(e,t){return v="useDeferredValue",O(),oe(),Os(e,t)},useTransition:function(){return v="useTransition",O(),oe(),Cs()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",O(),oe(),ms(e,t,n)},useId:function(){return v="useId",O(),oe(),ws()},useFormState:function(e,t){return v="useFormState",O(),oe(),Zl(e,t)},useActionState:function(e,t){return v="useActionState",O(),oe(),Zl(e,t)},useOptimistic:function(e){return v="useOptimistic",O(),oe(),vs(e)},useMemoCache:function(e){return O(),fl(e)},useHostTransitionStatus:hl,useCacheRefresh:function(){return v="useCacheRefresh",oe(),Ms()}},Rn={readContext:function(e){return Ne(),Ge(e)},use:function(e){return O(),Da(e)},useCallback:function(e,t){return v="useCallback",O(),R(),Ii(e,t)},useContext:function(e){return v="useContext",O(),R(),Ge(e)},useEffect:function(e,t){v="useEffect",O(),R(),kt(2048,ct,e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",O(),R(),Wi(e,t,n)},useInsertionEffect:function(e,t){return v="useInsertionEffect",O(),R(),kt(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",O(),R(),kt(4,bt,e,t)},useMemo:function(e,t){v="useMemo",O(),R();var n=b.H;b.H=Rn;try{return Fi(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",O(),R();var a=b.H;b.H=Rn;try{return Ql(e,t,n)}finally{b.H=a}},useRef:function(){return v="useRef",O(),R(),Ce().memoizedState},useState:function(){v="useState",O(),R();var e=b.H;b.H=Rn;try{return Ql(bn)}finally{b.H=e}},useDebugValue:function(){v="useDebugValue",O(),R()},useDeferredValue:function(e,t){return v="useDeferredValue",O(),R(),Hp(e,t)},useTransition:function(){return v="useTransition",O(),R(),qp()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",O(),R(),Qi(e,t,n)},useId:function(){return v="useId",O(),R(),Ce().memoizedState},useFormState:function(e){return v="useFormState",O(),R(),Zi(e)},useActionState:function(e){return v="useActionState",O(),R(),Zi(e)},useOptimistic:function(e,t){return v="useOptimistic",O(),R(),Rp(e,t)},useMemoCache:function(e){return O(),fl(e)},useHostTransitionStatus:hl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Ce().memoizedState}},Wc={readContext:function(e){return Ne(),Ge(e)},use:function(e){return O(),Da(e)},useCallback:function(e,t){return v="useCallback",O(),R(),Ii(e,t)},useContext:function(e){return v="useContext",O(),R(),Ge(e)},useEffect:function(e,t){v="useEffect",O(),R(),kt(2048,ct,e,t)},useImperativeHandle:function(e,t,n){return v="useImperativeHandle",O(),R(),Wi(e,t,n)},useInsertionEffect:function(e,t){return v="useInsertionEffect",O(),R(),kt(4,Mt,e,t)},useLayoutEffect:function(e,t){return v="useLayoutEffect",O(),R(),kt(4,bt,e,t)},useMemo:function(e,t){v="useMemo",O(),R();var n=b.H;b.H=Rn;try{return Fi(e,t)}finally{b.H=n}},useReducer:function(e,t,n){v="useReducer",O(),R();var a=b.H;b.H=Rn;try{return yo(e,t,n)}finally{b.H=a}},useRef:function(){return v="useRef",O(),R(),Ce().memoizedState},useState:function(){v="useState",O(),R();var e=b.H;b.H=Rn;try{return yo(bn)}finally{b.H=e}},useDebugValue:function(){v="useDebugValue",O(),R()},useDeferredValue:function(e,t){return v="useDeferredValue",O(),R(),_p(e,t)},useTransition:function(){return v="useTransition",O(),R(),Yp()},useSyncExternalStore:function(e,t,n){return v="useSyncExternalStore",O(),R(),Qi(e,t,n)},useId:function(){return v="useId",O(),R(),Ce().memoizedState},useFormState:function(e){return v="useFormState",O(),R(),$i(e)},useActionState:function(e){return v="useActionState",O(),R(),$i(e)},useOptimistic:function(e,t){return v="useOptimistic",O(),R(),Op(e,t)},useMemoCache:function(e){return O(),fl(e)},useHostTransitionStatus:hl,useCacheRefresh:function(){return v="useCacheRefresh",R(),Ce().memoizedState}};var a0={react_stack_bottom_frame:function(e,t,n){var a=Nn;Nn=!0;try{return e(t,n)}finally{Nn=a}}},bd=a0.react_stack_bottom_frame.bind(a0),l0={react_stack_bottom_frame:function(e){var t=Nn;Nn=!0;try{return e.render()}finally{Nn=t}}},u0=l0.react_stack_bottom_frame.bind(l0),o0={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){we(e,e.return,n)}}},Sd=o0.react_stack_bottom_frame.bind(o0),i0={react_stack_bottom_frame:function(e,t,n,a,l){try{t.componentDidUpdate(n,a,l)}catch(u){we(e,e.return,u)}}},c0=i0.react_stack_bottom_frame.bind(i0),r0={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},j1=r0.react_stack_bottom_frame.bind(r0),s0={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(a){we(e,t,a)}}},f0=s0.react_stack_bottom_frame.bind(s0),d0={react_stack_bottom_frame:function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},V1=d0.react_stack_bottom_frame.bind(d0),h0={react_stack_bottom_frame:function(e,t,n){try{n()}catch(a){we(e,t,a)}}},G1=h0.react_stack_bottom_frame.bind(h0),p0={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},ja=p0.react_stack_bottom_frame.bind(p0),Du=null,ni=0,P=null,Td,m0=Td=!1,y0={},g0={},v0={};Ke=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._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.");n._store.validated=1;var a=L(e),l=a||"null";if(!y0[l]){y0[l]=!0,n=n._owner,e=e._debugOwner;var u="";e&&typeof e.tag=="number"&&(l=L(e))&&(u=`
|
|
248
248
|
|
|
249
|
-
Check the render method of \``+l+"`."),
|
|
249
|
+
Check the render method of \``+l+"`."),u||a&&(u=`
|
|
250
250
|
|
|
251
|
-
Check the top-level render call using <`+a+">.");var u="";n!=null&&e!==n&&(a=null,typeof n.tag=="number"?a=L(n):typeof n.name=="string"&&(a=n.name),a&&(u=" It was passed a child from "+a+".")),Y(t,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.',o,u)})}}};var Co=Xp(!0),b0=Xp(!1),hn=Se(null),Vn=null,wo=1,ai=2,rt=Se(0),S0={},T0=new Set,E0=new Set,R0=new Set,A0=new Set,x0=new Set,O0=new Set,D0=new Set,C0=new Set,w0=new Set,M0=new Set;Object.freeze(S0);var Ad={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Qt(e),l=Aa(a);l.payload=t,n!=null&&(_s(n),l.callback=n),t=xa(e,l,a),t!==null&&(Ie(t,e,a),du(t,e,a)),va(e,a)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Qt(e),l=Aa(a);l.tag=Kg,l.payload=t,n!=null&&(_s(n),l.callback=n),t=xa(e,l,a),t!==null&&(Ie(t,e,a),du(t,e,a)),va(e,a)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qt(e),a=Aa(n);a.tag=Wg,t!=null&&(_s(t),a.callback=t),t=xa(e,a,n),t!==null&&(Ie(t,e,n),du(t,e,n)),U!==null&&typeof U.markForceUpdateScheduled=="function"&&U.markForceUpdateScheduled(e,n)}},xd=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}console.error(e)},Mo=null,Od=null,z0=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."),dt=!1,U0={},H0={},_0={},k0={},zo=!1,B0={},Dd={},Cd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},L0=!1,N0=null;N0=new Set;var fa=!1,Fe=!1,wd=!1,Y0=typeof WeakSet=="function"?WeakSet:Set,ht=null,Uo=null,Ho=null,at=null,Yt=!1,An=null,li=8192,Z1={getCacheForType:function(e){var t=Ge(it),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return $t}};if(typeof Symbol=="function"&&Symbol.for){var oi=Symbol.for;oi("selector.component"),oi("selector.has_pseudo_class"),oi("selector.role"),oi("selector.test_id"),oi("selector.text")}var $1=[],J1=typeof WeakMap=="function"?WeakMap:Map,Jt=0,zt=2,xn=4,da=0,ui=1,_o=2,Md=3,xl=4,Ic=6,q0=5,Ae=Jt,_e=null,ie=null,fe=0,qt=0,ii=1,Ol=2,ci=3,j0=4,zd=5,ko=6,ri=7,Ud=8,Dl=9,Oe=qt,Kt=null,Va=!1,Bo=!1,Hd=!1,Gn=0,Je=da,Ga=0,Xa=0,_d=0,Wt=0,Cl=0,si=null,Ut=null,Fc=!1,kd=0,V0=300,Pc=1/0,G0=500,fi=null,Qa=null,K1=0,W1=1,I1=2,wl=0,X0=1,Q0=2,Z0=3,F1=4,Bd=5,St=0,Za=null,Lo=null,$a=0,Ld=0,Nd=null,$0=null,P1=50,di=0,Yd=null,qd=!1,er=!1,eT=50,Ml=0,hi=null,No=!1,tr=null,J0=!1,K0=new Set,tT={},nr=null,Yo=null,jd=!1,Vd=!1,ar=!1,Gd=!1,zl=0,Xd={};(function(){for(var e=0;e<id.length;e++){var t=id[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),vn(n,"on"+t)}vn(Hg,"onAnimationEnd"),vn(_g,"onAnimationIteration"),vn(kg,"onAnimationStart"),vn("dblclick","onDoubleClick"),vn("focusin","onFocus"),vn("focusout","onBlur"),vn(U1,"onTransitionRun"),vn(H1,"onTransitionStart"),vn(_1,"onTransitionCancel"),vn(Bg,"onTransitionEnd")})(),z("onMouseEnter",["mouseout","mouseover"]),z("onMouseLeave",["mouseout","mouseover"]),z("onPointerEnter",["pointerout","pointerover"]),z("onPointerLeave",["pointerout","pointerover"]),O("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),O("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),O("onBeforeInput",["compositionend","keypress","textInput","paste"]),O("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),O("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),O("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pi="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(" "),Qd=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(pi)),lr="_reactListening"+Math.random().toString(36).slice(2),W0=!1,I0=!1,or=!1,F0=!1,ur=!1,ir=!1,P0=!1,cr={},nT=/\r\n?/g,aT=/\u0000|\uFFFD/g,Ul="http://www.w3.org/1999/xlink",Zd="http://www.w3.org/XML/1998/namespace",lT="javascript:throw new Error('React form unexpectedly submitted.')",oT="suppressHydrationWarning",rr="$",sr="/$",ha="$?",mi="$!",uT=1,iT=2,cT=4,$d="F!",ev="F",tv="complete",rT="style",pa=0,qo=1,fr=2,Jd=null,Kd=null,nv={dialog:!0,webview:!0},Wd=null,av=typeof setTimeout=="function"?setTimeout:void 0,sT=typeof clearTimeout=="function"?clearTimeout:void 0,Hl=-1,lv=typeof Promise=="function"?Promise:void 0,fT=typeof queueMicrotask=="function"?queueMicrotask:typeof lv<"u"?function(e){return lv.resolve(null).then(e).catch(Wb)}:av,Id=null,_l=0,yi=1,ov=2,uv=3,pn=4,mn=new Map,iv=new Set,ma=Re.d;Re.d={f:function(){var e=ma.f(),t=Il();return e||t},r:function(e){var t=gn(e);t!==null&&t.tag===5&&t.type==="form"?Np(t):ma.r(e)},D:function(e){ma.D(e),Dy("dns-prefetch",e,null)},C:function(e,t){ma.C(e,t),Dy("preconnect",e,t)},L:function(e,t,n){ma.L(e,t,n);var a=jo;if(a&&e&&t){var l='link[rel="preload"][as="'+en(t)+'"]';t==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+en(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+en(n.imageSizes)+'"]')):l+='[href="'+en(e)+'"]';var o=l;switch(t){case"style":o=to(e);break;case"script":o=no(e)}mn.has(o)||(e=oe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),mn.set(o,e),a.querySelector(l)!==null||t==="style"&&a.querySelector(wu(o))||t==="script"&&a.querySelector(Mu(o))||(t=a.createElement("link"),yt(t,"link",e),p(t),a.head.appendChild(t)))}},m:function(e,t){ma.m(e,t);var n=jo;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+en(a)+'"][href="'+en(e)+'"]',o=l;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=no(e)}if(!mn.has(o)&&(e=oe({rel:"modulepreload",href:e},t),mn.set(o,e),n.querySelector(l)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Mu(o)))return}a=n.createElement("link"),yt(a,"link",e),p(a),n.head.appendChild(a)}}},X:function(e,t){ma.X(e,t);var n=jo;if(n&&e){var a=c(n).hoistableScripts,l=no(e),o=a.get(l);o||(o=n.querySelector(Mu(l)),o||(e=oe({src:e,async:!0},t),(t=mn.get(l))&&Af(e,t),o=n.createElement("script"),p(o),yt(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(l,o))}},S:function(e,t,n){ma.S(e,t,n);var a=jo;if(a&&e){var l=c(a).hoistableStyles,o=to(e);t=t||"default";var u=l.get(o);if(!u){var i={loading:_l,preload:null};if(u=a.querySelector(wu(o)))i.loading=yi|pn;else{e=oe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=mn.get(o))&&Rf(e,n);var r=u=a.createElement("link");p(r),yt(r,"link",e),r._p=new Promise(function(s,y){r.onload=s,r.onerror=y}),r.addEventListener("load",function(){i.loading|=yi}),r.addEventListener("error",function(){i.loading|=ov}),i.loading|=pn,bc(u,t,a)}u={type:"stylesheet",instance:u,count:1,state:i},l.set(o,u)}}},M:function(e,t){ma.M(e,t);var n=jo;if(n&&e){var a=c(n).hoistableScripts,l=no(e),o=a.get(l);o||(o=n.querySelector(Mu(l)),o||(e=oe({src:e,async:!0,type:"module"},t),(t=mn.get(l))&&Af(e,t),o=n.createElement("script"),p(o),yt(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(l,o))}}};var jo=typeof document>"u"?null:document,dr=null,gi=null,Fd=null,hr=null,kl=MS,vi={$$typeof:_n,Provider:null,Consumer:null,_currentValue:kl,_currentValue2:kl,_threadCount:0},cv="%c%s%c ",rv="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",sv="",pr=" ",dT=Function.prototype.bind,fv=!1,dv=null,hv=null,pv=null,mv=null,yv=null,gv=null,vv=null,bv=null,Sv=null;dv=function(e,t,n,a){t=M(e,t),t!==null&&(n=D(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=oe({},e.memoizedProps),n=_t(e,2),n!==null&&Ie(n,e,2))},hv=function(e,t,n){t=M(e,t),t!==null&&(n=te(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=oe({},e.memoizedProps),n=_t(e,2),n!==null&&Ie(n,e,2))},pv=function(e,t,n,a){t=M(e,t),t!==null&&(n=V(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=oe({},e.memoizedProps),n=_t(e,2),n!==null&&Ie(n,e,2))},mv=function(e,t,n){e.pendingProps=D(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=_t(e,2),t!==null&&Ie(t,e,2)},yv=function(e,t){e.pendingProps=te(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=_t(e,2),t!==null&&Ie(t,e,2)},gv=function(e,t,n){e.pendingProps=V(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=_t(e,2),t!==null&&Ie(t,e,2)},vv=function(e){var t=_t(e,2);t!==null&&Ie(t,e,2)},bv=function(e){Ue=e},Sv=function(e){ae=e};var mr=!0,yr=null,Pd=!1,Ja=null,Ka=null,Wa=null,bi=new Map,Si=new Map,Ia=[],hT="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(" "),gr=null;if(Rc.prototype.render=zf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[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()."):be(n[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 n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var a=t.current,l=Qt(a);Of(a,l,n,t,null,null)},Rc.prototype.unmount=zf.prototype.unmount=function(){var e=arguments;if(typeof e[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()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Ae&(zt|xn))!==Jt&&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."),Of(e.current,2,null,e,null,null),Il(),t[Ba]=null}},Rc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Fo();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ia.length&&t!==0&&t<Ia[n].priority;n++);Ia.splice(n,0,e),n===0&&qy(e)}},(function(){var e=Uf.version;if(e!=="19.1.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
251
|
+
Check the top-level render call using <`+a+">.");var o="";n!=null&&e!==n&&(a=null,typeof n.tag=="number"?a=L(n):typeof n.name=="string"&&(a=n.name),a&&(o=" It was passed a child from "+a+".")),q(t,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.',u,o)})}}};var xu=Xp(!0),b0=Xp(!1),hn=Se(null),Vn=null,Cu=1,ai=2,rt=Se(0),S0={},T0=new Set,E0=new Set,R0=new Set,A0=new Set,O0=new Set,D0=new Set,x0=new Set,C0=new Set,w0=new Set,M0=new Set;Object.freeze(S0);var Ed={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Qt(e),l=Aa(a);l.payload=t,n!=null&&(Us(n),l.callback=n),t=Oa(e,l,a),t!==null&&(Ie(t,e,a),fo(t,e,a)),va(e,a)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Qt(e),l=Aa(a);l.tag=Kg,l.payload=t,n!=null&&(Us(n),l.callback=n),t=Oa(e,l,a),t!==null&&(Ie(t,e,a),fo(t,e,a)),va(e,a)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qt(e),a=Aa(n);a.tag=Wg,t!=null&&(Us(t),a.callback=t),t=Oa(e,a,n),t!==null&&(Ie(t,e,n),fo(t,e,n)),U!==null&&typeof U.markForceUpdateScheduled=="function"&&U.markForceUpdateScheduled(e,n)}},Rd=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}console.error(e)},wu=null,Ad=null,z0=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."),dt=!1,U0={},H0={},_0={},B0={},Mu=!1,k0={},Od={},Dd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},L0=!1,N0=null;N0=new Set;var fa=!1,Fe=!1,xd=!1,q0=typeof WeakSet=="function"?WeakSet:Set,ht=null,zu=null,Uu=null,at=null,qt=!1,An=null,li=8192,X1={getCacheForType:function(e){var t=Ge(it),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return $t}};if(typeof Symbol=="function"&&Symbol.for){var ui=Symbol.for;ui("selector.component"),ui("selector.has_pseudo_class"),ui("selector.role"),ui("selector.test_id"),ui("selector.text")}var Q1=[],Z1=typeof WeakMap=="function"?WeakMap:Map,Jt=0,zt=2,On=4,da=0,oi=1,Hu=2,Cd=3,Ol=4,Ic=6,Y0=5,Ae=Jt,He=null,ae=null,ie=0,Yt=0,ii=1,Dl=2,ci=3,j0=4,wd=5,_u=6,ri=7,Md=8,xl=9,De=Yt,Kt=null,Va=!1,Bu=!1,zd=!1,Gn=0,Je=da,Ga=0,Xa=0,Ud=0,Wt=0,Cl=0,si=null,Ut=null,Fc=!1,Hd=0,V0=300,Pc=1/0,G0=500,fi=null,Qa=null,$1=0,J1=1,K1=2,wl=0,X0=1,Q0=2,Z0=3,W1=4,_d=5,St=0,Za=null,ku=null,$a=0,Bd=0,kd=null,$0=null,I1=50,di=0,Ld=null,Nd=!1,er=!1,F1=50,Ml=0,hi=null,Lu=!1,tr=null,J0=!1,K0=new Set,P1={},nr=null,Nu=null,qd=!1,Yd=!1,ar=!1,jd=!1,zl=0,Vd={};(function(){for(var e=0;e<ud.length;e++){var t=ud[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),vn(n,"on"+t)}vn(Hg,"onAnimationEnd"),vn(_g,"onAnimationIteration"),vn(Bg,"onAnimationStart"),vn("dblclick","onDoubleClick"),vn("focusin","onFocus"),vn("focusout","onBlur"),vn(M1,"onTransitionRun"),vn(z1,"onTransitionStart"),vn(U1,"onTransitionCancel"),vn(kg,"onTransitionEnd")})(),w("onMouseEnter",["mouseout","mouseover"]),w("onMouseLeave",["mouseout","mouseover"]),w("onPointerEnter",["pointerout","pointerover"]),w("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 pi="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(" "),Gd=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(pi)),lr="_reactListening"+Math.random().toString(36).slice(2),W0=!1,I0=!1,ur=!1,F0=!1,or=!1,ir=!1,P0=!1,cr={},eT=/\r\n?/g,tT=/\u0000|\uFFFD/g,Ul="http://www.w3.org/1999/xlink",Xd="http://www.w3.org/XML/1998/namespace",nT="javascript:throw new Error('React form unexpectedly submitted.')",aT="suppressHydrationWarning",rr="$",sr="/$",ha="$?",mi="$!",lT=1,uT=2,oT=4,Qd="F!",ev="F",tv="complete",iT="style",pa=0,qu=1,fr=2,Zd=null,$d=null,nv={dialog:!0,webview:!0},Jd=null,av=typeof setTimeout=="function"?setTimeout:void 0,cT=typeof clearTimeout=="function"?clearTimeout:void 0,Hl=-1,lv=typeof Promise=="function"?Promise:void 0,rT=typeof queueMicrotask=="function"?queueMicrotask:typeof lv<"u"?function(e){return lv.resolve(null).then(e).catch(Jb)}:av,Kd=null,_l=0,yi=1,uv=2,ov=3,pn=4,mn=new Map,iv=new Set,ma=Re.d;Re.d={f:function(){var e=ma.f(),t=Il();return e||t},r:function(e){var t=gn(e);t!==null&&t.tag===5&&t.type==="form"?Np(t):ma.r(e)},D:function(e){ma.D(e),xy("dns-prefetch",e,null)},C:function(e,t){ma.C(e,t),xy("preconnect",e,t)},L:function(e,t,n){ma.L(e,t,n);var a=Yu;if(a&&e&&t){var l='link[rel="preload"][as="'+en(t)+'"]';t==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+en(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+en(n.imageSizes)+'"]')):l+='[href="'+en(e)+'"]';var u=l;switch(t){case"style":u=tu(e);break;case"script":u=nu(e)}mn.has(u)||(e=te({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),mn.set(u,e),a.querySelector(l)!==null||t==="style"&&a.querySelector(wo(u))||t==="script"&&a.querySelector(Mo(u))||(t=a.createElement("link"),yt(t,"link",e),p(t),a.head.appendChild(t)))}},m:function(e,t){ma.m(e,t);var n=Yu;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+en(a)+'"][href="'+en(e)+'"]',u=l;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=nu(e)}if(!mn.has(u)&&(e=te({rel:"modulepreload",href:e},t),mn.set(u,e),n.querySelector(l)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Mo(u)))return}a=n.createElement("link"),yt(a,"link",e),p(a),n.head.appendChild(a)}}},X:function(e,t){ma.X(e,t);var n=Yu;if(n&&e){var a=c(n).hoistableScripts,l=nu(e),u=a.get(l);u||(u=n.querySelector(Mo(l)),u||(e=te({src:e,async:!0},t),(t=mn.get(l))&&Ef(e,t),u=n.createElement("script"),p(u),yt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(l,u))}},S:function(e,t,n){ma.S(e,t,n);var a=Yu;if(a&&e){var l=c(a).hoistableStyles,u=tu(e);t=t||"default";var o=l.get(u);if(!o){var i={loading:_l,preload:null};if(o=a.querySelector(wo(u)))i.loading=yi|pn;else{e=te({rel:"stylesheet",href:e,"data-precedence":t},n),(n=mn.get(u))&&Tf(e,n);var r=o=a.createElement("link");p(r),yt(r,"link",e),r._p=new Promise(function(s,y){r.onload=s,r.onerror=y}),r.addEventListener("load",function(){i.loading|=yi}),r.addEventListener("error",function(){i.loading|=uv}),i.loading|=pn,bc(o,t,a)}o={type:"stylesheet",instance:o,count:1,state:i},l.set(u,o)}}},M:function(e,t){ma.M(e,t);var n=Yu;if(n&&e){var a=c(n).hoistableScripts,l=nu(e),u=a.get(l);u||(u=n.querySelector(Mo(l)),u||(e=te({src:e,async:!0,type:"module"},t),(t=mn.get(l))&&Ef(e,t),u=n.createElement("script"),p(u),yt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(l,u))}}};var Yu=typeof document>"u"?null:document,dr=null,gi=null,Wd=null,hr=null,Bl=CS,vi={$$typeof:_n,Provider:null,Consumer:null,_currentValue:Bl,_currentValue2:Bl,_threadCount:0},cv="%c%s%c ",rv="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",sv="",pr=" ",sT=Function.prototype.bind,fv=!1,dv=null,hv=null,pv=null,mv=null,yv=null,gv=null,vv=null,bv=null,Sv=null;dv=function(e,t,n,a){t=z(e,t),t!==null&&(n=M(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=te({},e.memoizedProps),n=_t(e,2),n!==null&&Ie(n,e,2))},hv=function(e,t,n){t=z(e,t),t!==null&&(n=ce(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=te({},e.memoizedProps),n=_t(e,2),n!==null&&Ie(n,e,2))},pv=function(e,t,n,a){t=z(e,t),t!==null&&(n=de(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=te({},e.memoizedProps),n=_t(e,2),n!==null&&Ie(n,e,2))},mv=function(e,t,n){e.pendingProps=M(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=_t(e,2),t!==null&&Ie(t,e,2)},yv=function(e,t){e.pendingProps=ce(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=_t(e,2),t!==null&&Ie(t,e,2)},gv=function(e,t,n){e.pendingProps=de(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=_t(e,2),t!==null&&Ie(t,e,2)},vv=function(e){var t=_t(e,2);t!==null&&Ie(t,e,2)},bv=function(e){Le=e},Sv=function(e){pe=e};var mr=!0,yr=null,Id=!1,Ja=null,Ka=null,Wa=null,bi=new Map,Si=new Map,Ia=[],fT="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(" "),gr=null;if(Rc.prototype.render=wf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[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()."):be(n[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 n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var a=t.current,l=Qt(a);Af(a,l,n,t,null,null)},Rc.prototype.unmount=wf.prototype.unmount=function(){var e=arguments;if(typeof e[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()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Ae&(zt|On))!==Jt&&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."),Af(e.current,2,null,e,null,null),Il(),t[ka]=null}},Rc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Iu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ia.length&&t!==0&&t<Ia[n].priority;n++);Ia.splice(n,0,e),n===0&&Yy(e)}},(function(){var e=Mf.version;if(e!=="19.1.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
252
252
|
- react: `+(e+`
|
|
253
253
|
- react-dom: 19.1.1
|
|
254
|
-
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"),Re.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=
|
|
255
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}
|
|
254
|
+
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"),Re.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=Ot(t),e=e!==null?Ee(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:b,reconcilerVersion:"19.1.1"};return e.overrideHookState=dv,e.overrideHookStateDeletePath=hv,e.overrideHookStateRenamePath=pv,e.overrideProps=mv,e.overridePropsDeletePath=yv,e.overridePropsRenamePath=gv,e.scheduleUpdate=vv,e.setErrorHandler=bv,e.setSuspenseHandler=Sv,e.scheduleRefresh=ge,e.scheduleRoot=_,e.setRefreshHandler=Ve,e.getCurrentFiber=gS,e.getLaneLabelMap=vS,e.injectProfilingHooks=Gu,It(e)})()&&qn&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var Tv=window.location.protocol;/^(https?|file):$/.test(Tv)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(Tv==="file:"?`
|
|
255
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Vu.createRoot=function(e,t){if(!be(e))throw Error("Target container is not a DOM element.");Gy(e);var n=!1,a="",l=Jp,u=Kp,o=Wp,i=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ua&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
256
256
|
|
|
257
257
|
let root = createRoot(domContainer);
|
|
258
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(
|
|
258
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(i=t.unstable_transitionCallbacks)),t=_y(e,1,!1,null,null,n,a,l,u,o,i,null),e[ka]=t.current,ff(e),new wf(t)},Vu.hydrateRoot=function(e,t,n){if(!be(e))throw Error("Target container is not a DOM element.");Gy(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,l="",u=Jp,o=Kp,i=Wp,r=null,s=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(i=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(r=n.unstable_transitionCallbacks),n.formState!==void 0&&(s=n.formState)),t=_y(e,1,!0,t,n??null,a,l,u,o,i,r,s),t.context=By(null),n=t.current,a=Qt(n),a=Ju(a),l=Aa(a),l.callback=null,Oa(n,l,a),n=a,t.current.lanes=n,Sa(t,n),Un(t),e[ka]=t.current,ff(e),new Rc(t)},Vu.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Vu}var uh;function Cv(){return uh||(uh=1,Sr.exports=xv()),Sr.exports}var wv=Cv();const Mv=kl(wv),zv={display:"flex",minHeight:"60px",width:"100%",borderRadius:"6px",border:"1px solid #e2e8f0",backgroundColor:"transparent",paddingLeft:"12px",paddingRight:"12px",paddingTop:"8px",paddingBottom:"8px",fontSize:"14px",boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)",outline:"none",fontFamily:"inherit",resize:"vertical",transition:"border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out"},Uv={borderColor:"#0f172a",boxShadow:"0 0 0 1px #0f172a"},Hv="#64748b",Ar=le.forwardRef(({style:z,onFocus:M,onBlur:de,...F},ce)=>{const[pe,Le]=le.useState(!1),Ke={...zv,...pe?Uv:{},...z,"--placeholder-color":Hv};F.disabled&&(Ke.cursor="not-allowed",Ke.opacity=.5);const O=je=>{Le(!0),M?.(je)},Ne=je=>{Le(!1),de?.(je)};return le.createElement(le.Fragment,null,le.createElement("style",null,`
|
|
259
259
|
.textarea-with-placeholder::placeholder {
|
|
260
260
|
color: var(--placeholder-color);
|
|
261
261
|
}
|
|
262
|
-
`),
|
|
262
|
+
`),le.createElement("textarea",{className:"textarea-with-placeholder",style:Ke,ref:ce,onFocus:O,onBlur:Ne,...F}))});Ar.displayName="Textarea";const _v={display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"0.5rem",whiteSpace:"nowrap",borderRadius:"15px",fontSize:"14px",fontWeight:"500",transition:"all 0.15s ease-in-out",outline:"none",border:"none",cursor:"pointer",fontFamily:"inherit",flexShrink:0},Bv={default:{backgroundColor:"hsl(var(--sdk-primary, 240 5.9% 10%))",color:"hsl(var(--sdk-primary-foreground, 0 0% 98%))",boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},destructive:{backgroundColor:"hsl(var(--sdk-destructive, 0 84.2% 60.2%))",color:"hsl(var(--sdk-destructive-foreground, 0 0% 98%))",boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},outline:{border:"1px solid hsl(var(--sdk-border, 240 3.7% 25%))",backgroundColor:"hsl(var(--sdk-secondary, 240 3.7% 15.9%))",color:"hsl(var(--sdk-secondary-foreground, 0 0% 98%))",boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},secondary:{backgroundColor:"hsl(var(--sdk-secondary, 240 4.8% 95.9%))",color:"hsl(var(--sdk-secondary-foreground, 240 5.9% 10%))",boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},ghost:{backgroundColor:"transparent",color:"hsl(var(--sdk-foreground, 240 10% 3.9%))"},link:{backgroundColor:"transparent",color:"hsl(var(--sdk-primary, 240 5.9% 10%))",textDecoration:"underline",textUnderlineOffset:"4px"},ghostOutline:{border:"1px solid hsl(var(--sdk-secondary, 240 4.8% 95.9%))",backgroundColor:"transparent",color:"hsl(var(--sdk-muted-foreground, 240 3.8% 46.1%))",boxShadow:"0 1px 2px 0 rgb(0 0 0 / 0.05)"}},kv={default:{height:"36px",paddingLeft:"16px",paddingRight:"16px",paddingTop:"8px",paddingBottom:"8px"},sm:{height:"32px",paddingLeft:"12px",paddingRight:"12px",fontSize:"12px",borderRadius:"6px"},lg:{height:"40px",paddingLeft:"32px",paddingRight:"32px",borderRadius:"6px"},icon:{height:"32px",width:"32px",padding:"0"}},Lv=z=>{switch(z){case"default":return{backgroundColor:"hsl(var(--sdk-primary, 240 5.9% 10%) / 0.9)"};case"destructive":return{backgroundColor:"hsl(var(--sdk-destructive, 0 84.2% 60.2%) / 0.9)"};case"outline":return{backgroundColor:"hsl(var(--sdk-secondary, 240 3.7% 15.9%) / 0.8)",color:"hsl(var(--sdk-secondary-foreground, 0 0% 98%))"};case"secondary":return{backgroundColor:"hsl(var(--sdk-secondary, 240 4.8% 95.9%) / 0.7)"};case"ghost":return{backgroundColor:"hsl(var(--sdk-accent, 240 4.8% 95.9%))",color:"hsl(var(--sdk-accent-foreground, 240 5.9% 10%))"};case"link":return{textDecoration:"underline"};case"ghostOutline":return{backgroundColor:"hsl(var(--sdk-accent, 240 4.8% 95.9%))",color:"hsl(var(--sdk-foreground, 240 10% 3.9%))"};default:return{}}},Nv=z=>{const M={outline:"1px solid hsl(var(--sdk-ring, 240 10% 3.9%))",outlineOffset:"1px"};switch(z){case"outline":return{...M,backgroundColor:"hsl(var(--sdk-secondary, 240 3.7% 15.9%))",color:"hsl(var(--sdk-secondary-foreground, 0 0% 98%))"};default:return M}},oh=le.forwardRef(({variant:z="default",size:M="default",asChild:de=!1,style:F,onMouseEnter:ce,onMouseLeave:pe,onFocus:Le,onBlur:Ke,onClick:O,...Ne},je)=>{const[A,g]=le.useState(!1),[_,ge]=le.useState(!1),Ve={..._v,...Bv[z],...kv[M],...A?Lv(z):{},..._?Nv(z):{},...F};Ne.disabled&&(Ve.pointerEvents="none",Ve.opacity=.5,Ve.cursor="not-allowed");const be=Ee=>{g(!0),ce?.(Ee)},re=Ee=>{g(!1),pe?.(Ee)},Ze=Ee=>{ge(!0),Le?.(Ee)},Qe=Ee=>{ge(!1),Ke?.(Ee)},Ot=Ee=>{setTimeout(()=>{Ee.currentTarget&&Ee.currentTarget.blur()},150),O?.(Ee)};return de&&console.warn("asChild prop is not supported in the inline CSS version of Button."),le.createElement("button",{style:Ve,ref:je,onMouseEnter:be,onMouseLeave:re,onFocus:Ze,onBlur:Qe,onClick:Ot,...Ne})});oh.displayName="Button";const qv={ocean:{primary:"#1ca0fb",shadow:{light:"#dbeafe",dark:"#1e40af"},gradient:"radial-gradient(circle farthest-side at 0 100%, #00ccb1, transparent), radial-gradient(circle farthest-side at 100% 0, #7b61ff, transparent), radial-gradient(circle farthest-side at 100% 100%, #ffc414, transparent), radial-gradient(circle farthest-side at 0 0, #1ca0fb, #141316)",placeholderText:{light:"#60a5fa",dark:"#93c5fd"},tabHint:{text:{light:"#1e40af",dark:"#dbeafe"},bg:{light:"#eff6ff",dark:"#1e3a8a"},border:{light:"#bfdbfe",dark:"#1e40af"}}},autumn:{primary:"#f97316",shadow:{light:"#fed7aa",dark:"#c2410c"},gradient:"radial-gradient(circle farthest-side at 0 100%, #dc2626, transparent), radial-gradient(circle farthest-side at 100% 0, #f59e0b, transparent), radial-gradient(circle farthest-side at 100% 100%, #eab308, transparent), radial-gradient(circle farthest-side at 0 0, #f97316, #141316)",placeholderText:{light:"#fb923c",dark:"#fdba74"},tabHint:{text:{light:"#c2410c",dark:"#fed7aa"},bg:{light:"#fff7ed",dark:"#9a3412"},border:{light:"#fde68a",dark:"#c2410c"}}},mint:{primary:"#10b981",shadow:{light:"#a7f3d0",dark:"#047857"},gradient:"radial-gradient(circle farthest-side at 0 100%, #059669, transparent), radial-gradient(circle farthest-side at 100% 0, #06b6d4, transparent), radial-gradient(circle farthest-side at 100% 100%, #10b981, transparent), radial-gradient(circle farthest-side at 0 0, #14b8a6, #141316)",placeholderText:{light:"#34d399",dark:"#6ee7b7"},tabHint:{text:{light:"#047857",dark:"#a7f3d0"},bg:{light:"#ecfdf5",dark:"#064e3b"},border:{light:"#a7f3d0",dark:"#047857"}}},sunset:{primary:"#ec4899",shadow:{light:"#fce7f3",dark:"#be185d"},gradient:"radial-gradient(circle farthest-side at 0 100%, #f59e0b, transparent), radial-gradient(circle farthest-side at 100% 0, #ec4899, transparent), radial-gradient(circle farthest-side at 100% 100%, #f97316, transparent), radial-gradient(circle farthest-side at 0 0, #ef4444, #141316)",placeholderText:{light:"#f472b6",dark:"#f9a8d4"},tabHint:{text:{light:"#be185d",dark:"#fce7f3"},bg:{light:"#fdf2f8",dark:"#831843"},border:{light:"#fbcfe8",dark:"#be185d"}}},lavender:{primary:"#8b5cf6",shadow:{light:"#ddd6fe",dark:"#5b21b6"},gradient:"radial-gradient(circle farthest-side at 0 100%, #6366f1, transparent), radial-gradient(circle farthest-side at 100% 0, #a855f7, transparent), radial-gradient(circle farthest-side at 100% 100%, #ec4899, transparent), radial-gradient(circle farthest-side at 0 0, #8b5cf6, #141316)",placeholderText:{light:"#a78bfa",dark:"#c4b5fd"},tabHint:{text:{light:"#5b21b6",dark:"#ddd6fe"},bg:{light:"#f5f3ff",dark:"#4c1d95"},border:{light:"#ddd6fe",dark:"#5b21b6"}}},forest:{primary:"#16a34a",shadow:{light:"#bbf7d0",dark:"#15803d"},gradient:"radial-gradient(circle farthest-side at 0 100%, #059669, transparent), radial-gradient(circle farthest-side at 100% 0, #16a34a, transparent), radial-gradient(circle farthest-side at 100% 100%, #65a30d, transparent), radial-gradient(circle farthest-side at 0 0, #166534, #141316)",placeholderText:{light:"#4ade80",dark:"#86efac"},tabHint:{text:{light:"#15803d",dark:"#bbf7d0"},bg:{light:"#f0fdf4",dark:"#14532d"},border:{light:"#bbf7d0",dark:"#15803d"}}},coral:{primary:"#06b6d4",shadow:{light:"#a5f3fc",dark:"#0e7490"},gradient:"radial-gradient(circle farthest-side at 0 100%, #0891b2, transparent), radial-gradient(circle farthest-side at 100% 0, #06b6d4, transparent), radial-gradient(circle farthest-side at 100% 100%, #0d9488, transparent), radial-gradient(circle farthest-side at 0 0, #0284c7, #141316)",placeholderText:{light:"#22d3ee",dark:"#67e8f9"},tabHint:{text:{light:"#0e7490",dark:"#a5f3fc"},bg:{light:"#ecfeff",dark:"#164e63"},border:{light:"#a5f3fc",dark:"#0e7490"}}}},ih=z=>qv[z||"ocean"],Yv=({size:z=20,className:M="",style:de={}})=>ve.createElement(ve.Fragment,null,ve.createElement("style",null,`
|
|
263
263
|
@keyframes icon-spin {
|
|
264
264
|
from { transform: rotate(0deg); }
|
|
265
265
|
to { transform: rotate(360deg); }
|
|
266
266
|
}
|
|
267
|
-
`),j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:M,height:M,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide lucide-loader-circle ${D}`,style:{animation:"icon-spin 1s linear infinite",...V}},j.createElement("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"}))),jv=({size:M=20,className:D="",style:V={}})=>j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:M,height:M,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide lucide-arrow-up ${D}`,style:{...V}},j.createElement("path",{d:"m5 12 7-7 7 7"}),j.createElement("path",{d:"M12 19V5"})),Vv=({isRecording:M=!1,isTranscribing:D=!1,size:V=20,style:I={}})=>{const te={position:"relative",width:`${V}px`,height:`${Math.floor(V*.8)}px`,display:"flex",alignItems:"center",justifyContent:"center",...I};if(D)return j.createElement(j.Fragment,null,j.createElement("style",null,`
|
|
268
|
-
@keyframes icon-spin {
|
|
269
|
-
from { transform: rotate(0deg); }
|
|
270
|
-
to { transform: rotate(360deg); }
|
|
271
|
-
}
|
|
272
|
-
`),j.createElement("div",{style:te},j.createElement("div",{style:{width:`${Math.floor(V*.6)}px`,height:`${Math.floor(V*.6)}px`,border:"2px solid currentColor",borderTop:"2px solid transparent",borderRadius:"50%",animation:"icon-spin 1s linear infinite"}})));if(M)return j.createElement(j.Fragment,null,j.createElement("style",null,`
|
|
273
|
-
@keyframes icon-pulse {
|
|
274
|
-
0%, 100% { transform: scale(1); }
|
|
275
|
-
50% { transform: scale(0.95); }
|
|
276
|
-
}
|
|
277
|
-
`),j.createElement("div",{style:te},j.createElement("div",{style:{width:`${Math.floor(V*.6)}px`,height:`${Math.floor(V*.6)}px`,backgroundColor:"currentColor",borderRadius:"2px",animation:"icon-pulse 1s ease-in-out infinite"}})));const ae=Math.max(1,Math.floor(V*.075)),Ue=Math.max(1,Math.floor(V*.1));return j.createElement(j.Fragment,null,j.createElement("style",null,`
|
|
278
|
-
@keyframes wave1 {
|
|
279
|
-
0%, 100% {
|
|
280
|
-
transform: scaleY(0.4);
|
|
281
|
-
opacity: 0.6;
|
|
282
|
-
}
|
|
283
|
-
50% {
|
|
284
|
-
transform: scaleY(0.8);
|
|
285
|
-
opacity: 0.9;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
@keyframes wave2 {
|
|
290
|
-
0%, 100% {
|
|
291
|
-
transform: scaleY(0.5);
|
|
292
|
-
opacity: 0.7;
|
|
293
|
-
}
|
|
294
|
-
50% {
|
|
295
|
-
transform: scaleY(1);
|
|
296
|
-
opacity: 1;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
@keyframes wave3 {
|
|
301
|
-
0%, 100% {
|
|
302
|
-
transform: scaleY(0.6);
|
|
303
|
-
opacity: 0.8;
|
|
304
|
-
}
|
|
305
|
-
50% {
|
|
306
|
-
transform: scaleY(1);
|
|
307
|
-
opacity: 1;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
@keyframes wave4 {
|
|
312
|
-
0%, 100% {
|
|
313
|
-
transform: scaleY(0.5);
|
|
314
|
-
opacity: 0.7;
|
|
315
|
-
}
|
|
316
|
-
50% {
|
|
317
|
-
transform: scaleY(0.9);
|
|
318
|
-
opacity: 1;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
@keyframes wave5 {
|
|
323
|
-
0%, 100% {
|
|
324
|
-
transform: scaleY(0.4);
|
|
325
|
-
opacity: 0.6;
|
|
326
|
-
}
|
|
327
|
-
50% {
|
|
328
|
-
transform: scaleY(0.7);
|
|
329
|
-
opacity: 0.9;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
`),j.createElement("div",{style:te},j.createElement("div",{style:{display:"flex",alignItems:"center",gap:`${Ue}px`}},j.createElement("div",{style:{width:`${ae}px`,height:`${Math.floor(V*.4)}px`,backgroundColor:"currentColor",borderRadius:"999px",animation:"wave1 1.8s ease-in-out infinite"}}),j.createElement("div",{style:{width:`${ae}px`,height:`${Math.floor(V*.6)}px`,backgroundColor:"currentColor",borderRadius:"999px",animation:"wave2 2.1s ease-in-out infinite"}}),j.createElement("div",{style:{width:`${ae}px`,height:`${Math.floor(V*.8)}px`,backgroundColor:"currentColor",borderRadius:"999px",animation:"wave3 1.6s ease-in-out infinite"}}),j.createElement("div",{style:{width:`${ae}px`,height:`${Math.floor(V*.6)}px`,backgroundColor:"currentColor",borderRadius:"999px",animation:"wave4 1.9s ease-in-out infinite"}}),j.createElement("div",{style:{width:`${ae}px`,height:`${Math.floor(V*.4)}px`,backgroundColor:"currentColor",borderRadius:"999px",animation:"wave5 2.2s ease-in-out infinite"}}))))},rh=ce.forwardRef(({texts:M,typingSpeed:D=30,deletingSpeed:V=15,delayAfterText:I=800,onSubmit:te,isStreaming:ae=!1,className:Ue="",placeholderClassName:Ke="",value:x,onChange:Ne,onFocus:Ve,onBlur:A,onKeyDown:g,onPaste:H,placeholder:ve,rows:Ye=1,...be},de)=>{const[Ze,Qe]=ce.useState(""),[xt,Ee]=ce.useState(!1),[qe,xe]=ce.useState(0),[He,L]=ce.useState(!1),[Se,Z]=ce.useState(!1),[me,je]=ce.useState(!1),[lt,ot]=ce.useState(!1),w=ce.useRef(null),X=de||w,q=M[qe],re=x===""||x===void 0;ce.useEffect(()=>{if(!re)return;let G;return He?(G=setTimeout(()=>{L(!1),je(!0),Z(!0),ot(!0)},I),()=>clearTimeout(G)):me?(G=setTimeout(()=>{ot(!1),setTimeout(()=>{Z(!1),je(!1),Ee(!0)},300)},3e3),()=>clearTimeout(G)):(xt?Ze===""?(Ee(!1),xe(Q=>(Q+1)%M.length)):G=setTimeout(()=>{Qe(Q=>Q.slice(0,-1))},V):Ze===q?L(!0):G=setTimeout(()=>{Qe(q.slice(0,Ze.length+1))},D),()=>clearTimeout(G))},[Ze,xt,qe,He,me,q,M,D,V,I,re]);const _=G=>{if(G.key==="Tab"&&re){G.preventDefault(),Ne?.({target:{value:q}});return}if(G.key==="Enter"){if(G.shiftKey||(G.preventDefault(),ae))return;te?.(G)}g?.(G)};return j.createElement("div",{style:{position:"relative",width:"100%"}},re&&j.createElement("div",{style:{position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none",display:"flex",alignItems:"flex-start",paddingLeft:"4px",paddingRight:"4px",paddingTop:"0",paddingBottom:"0",marginTop:"5px"}},j.createElement("p",{style:{color:"#a1a1aa",fontWeight:"500",lineHeight:"1.25",...Ke?{}:{}}},Ze,j.createElement("span",{style:{fontSize:"12px",color:"#d1d5db",backgroundColor:"#27272a",paddingLeft:"6px",paddingRight:"6px",paddingTop:"2px",paddingBottom:"2px",borderRadius:"8px",border:"1px solid #3f3f46",alignItems:"center",marginLeft:"8px",display:"inline-flex",whiteSpace:"nowrap",opacity:lt?1:0,transform:lt?"scale(1)":"scale(0.8)",transition:"opacity 0.3s ease, transform 0.3s ease",visibility:Se?"visible":"hidden",verticalAlign:"middle"}},"Tab to select"))),j.createElement(Ar,{ref:X,placeholder:ve,style:Ue?{}:{},value:x,onFocus:Ve,onBlur:A,onChange:Ne,onKeyDown:_,onPaste:H,rows:Ye,...be}))});rh.displayName="TypingTextarea";const Gv=({isRecording:M,isTranscribing:D,onVoiceRecording:V})=>j.createElement(xr,{size:"icon",variant:"outline",style:{height:"32px",paddingLeft:"8px",paddingRight:"8px",fontSize:"12px",fontWeight:"500",transition:"all 0.2s ease-in-out",...M&&{backgroundColor:"#ef4444",borderColor:"#ef4444",boxShadow:"0 10px 15px -3px rgba(239, 68, 68, 0.25)",color:"white"},...D&&{backgroundColor:"#3b82f6",borderColor:"#3b82f6",boxShadow:"0 10px 15px -3px rgba(59, 130, 246, 0.25)",color:"white"}},onClick:()=>{V()},disabled:D},j.createElement(Vv,{isRecording:M,isTranscribing:D})),Ll={gradient:"linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899)",shadow:{dark:"rgba(0, 0, 0, 0.2)"}},Xv=(M,D)=>{try{return M?ch(M)||Ll:ch()||Ll}catch(V){return console.warn("Theme system error, using fallback:",V),Ll}},Qv=({placeholder:M="Ask anything...",onSubmit:D,playgroundUid:V,isSubmitting:I,typingTexts:te=["Build me an AI chatbot application using OpenAI API","Build me an ecommerce website using Stripe API","Build me a price tracking tool using AgentQL API","Build me a movie recommendation system using Qdrant API","Build me a weather forecasting app using OpenWeather API","Build me a SMS notification system using Twilio API","Build me a travel booking platform using Skyscanner API"],shouldFocusOnMount:ae=!0,showModelSelector:Ue=!0,projectUid:Ke,theme:x,height:Ne="auto",deepgramApiKey:Ve})=>{const[A,g]=ce.useState(!0),[H,ve]=ce.useState(!1),[Ye,be]=ce.useState(!1),[,de]=ce.useState(!1),[Ze,Qe]=ce.useState(null),[xt,Ee]=ce.useState(null),[qe,xe]=ce.useState(""),He=ce.useRef(null),L=ce.useRef([]),Se=ce.useRef(null),[Z,me]=ce.useState(!1),je=ce.useMemo(()=>{try{return Xv(x,V)}catch(_){return console.warn("Error getting color scheme:",_),Ll}},[x,V]);ce.useEffect(()=>{me(!0)},[]),ce.useEffect(()=>{if(ae&&Se.current&&Z)try{Se.current.focus(),Se.current.select()}catch(_){console.warn("Focus error:",_)}},[Z,ae]);const lt=()=>{g(!0)},ot=()=>{g(!0)},w=()=>{const _=Se.current;if(_)try{_.style.height="auto";const G=Math.min(_.scrollHeight,200);_.style.height=`${G}px`}catch(G){console.warn("Textarea height adjustment error:",G)}};ce.useEffect(()=>{w()},[qe]),ce.useEffect(()=>{const _=G=>{const Q=(G.metaKey||G.ctrlKey)&&G.key==="/",De=(G.key==="Enter"||G.key==="Escape")&&(H||Ye);Q?(G.preventDefault(),q()):De&&(G.preventDefault(),H&&!Ye&&q())};return document.addEventListener("keydown",_),()=>{document.removeEventListener("keydown",_)}},[H,Ye]),ce.useEffect(()=>()=>{Ze&&clearTimeout(Ze),He.current&&H&&He.current.stop(),de(!1)},[Ze,H]);const X=async()=>{if(He.current&&H)return ve(!1),be(!0),Ze&&(clearTimeout(Ze),Qe(null)),new Promise(_=>{if(He.current){let G=!1,Q;He.current.ondataavailable=De=>{De.data.size>0&&(G=!0,L.current.push(De.data))},He.current.onstop=async()=>{Q&&clearTimeout(Q);try{if(!G||L.current.length===0)throw new Error("No audio data recorded");const De=new Blob(L.current,{type:"audio/wav"});if(De.size<1024)throw new Error("Audio recording too short");const ut=new FormData;ut.append("audio",De,"recording.wav"),Ve&&ut.append("deepgramApiKey",Ve);const It=await fetch("/api/voice/transcribe",{method:"POST",body:ut});if(It.ok){const{transcription:Te}=await It.json();if(Te&&Te.trim()){const Xo=qe?`${qe} ${Te}`:Te;xe(Xo.trim()),setTimeout(()=>{if(Se.current){Se.current.focus();const Xn=Se.current.value.length;Se.current.setSelectionRange(Xn,Xn)}},100)}}else throw new Error("Transcription failed")}catch(De){console.error("Transcription error:",De),De instanceof Error&&(De.message.includes("No audio data")||De.message.includes("too short"))}finally{L.current=[],He.current=null,Ee(null),be(!1),de(!1),_()}},Q=setTimeout(()=>{console.warn("MediaRecorder stop timeout, forcing cleanup"),L.current=[],He.current=null,Ee(null),be(!1),de(!1),_()},5e3);try{He.current.stop()}catch(De){console.error("Error stopping MediaRecorder:",De),Q&&clearTimeout(Q),L.current=[],He.current=null,Ee(null),be(!1),de(!1),_()}}else Ee(null),be(!1),de(!1),_()})},q=async()=>{if(!Ye)if(H)await X();else try{if(!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia)throw new Error("Browser doesn't support microphone access");const _=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,sampleRate:44100}}),G=new MediaRecorder(_,{mimeType:MediaRecorder.isTypeSupported("audio/webm")?"audio/webm":"audio/mp4"});He.current=G,L.current=[],G.ondataavailable=De=>{De.data.size>0&&L.current.push(De.data)},G.start(200),ve(!0),Ee(Date.now()),de(!0);const Q=setTimeout(async()=>{await X()},6e4);Qe(Q)}catch(_){console.error("Microphone access error:",_),_ instanceof Error&&(_.name==="NotAllowedError"||_.name==="NotFoundError"||_.name==="NotReadableError"||_.name)}},re=_=>{if(_.preventDefault(),!!qe.trim())try{if(V){const G=encodeURIComponent(qe.trim()),Q=`https://${V}.sampleapp.ai?q=${G}`;window.open(Q,"_blank")}D&&D(_)}catch(G){console.error("Submit error:",G)}};return j.createElement("div",null,j.createElement("div",{style:{position:"relative",padding:"2px",width:"100%",maxWidth:"100%",marginLeft:"auto",marginRight:"auto"}},j.createElement("div",{style:{backgroundColor:je.shadow?.dark||"rgba(0, 0, 0, 0.2)",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",borderRadius:"0.85rem",transition:"opacity 0.3s ease-in-out",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",opacity:"1",pointerEvents:"none"}}),j.createElement("div",{style:{background:je.gradient||Ll.gradient,backgroundSize:"400% 400%",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",borderRadius:"0.85rem",zIndex:1,filter:"blur(12px)",transition:"opacity 0.3s ease-in-out",pointerEvents:"none",opacity:A?"0.8":"0.4",animation:"gradient-bg 5s ease infinite"}}),j.createElement("div",{style:{background:je.gradient||Ll.gradient,backgroundSize:"400% 400%",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",borderRadius:"0.85rem",zIndex:1,transition:"opacity 0.3s ease-in-out",pointerEvents:"none",opacity:A?"1":"0.7",animation:"gradient-bg 5s ease infinite"}}),j.createElement("div",{style:{position:"relative",zIndex:10,borderRadius:"0.75rem",backgroundColor:"rgb(24, 24, 27)",width:"100%",paddingLeft:"0.25rem",paddingRight:"0.25rem",paddingTop:"0.5rem",paddingBottom:"0.5rem"}},j.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"4px"}},j.createElement("div",{style:{position:"relative",display:"flex",paddingLeft:"8px",paddingRight:"8px",gap:"8px",paddingTop:"4px",paddingBottom:"4px"}},te.length>0?j.createElement(rh,{texts:te,ref:Se,style:{flex:1,width:"100%",border:"none",boxShadow:"none",outline:"none",paddingLeft:"4px",paddingRight:"4px",resize:"none",fontSize:"16px",overflow:"hidden",backgroundColor:"transparent",display:"block",paddingTop:"0",paddingBottom:"0",lineHeight:"1.5",overflowY:"auto",maxHeight:"192px",marginTop:"4px",color:"#f4f4f5",fontFamily:"inherit",height:Ne},value:qe,onFocus:lt,onBlur:ot,onChange:_=>xe(_.target.value),onSubmit:_=>{if(H||Ye){_.preventDefault();return}re(_)},rows:1}):j.createElement(Ar,{ref:Se,placeholder:M,style:{flex:1,width:"100%",border:"none",boxShadow:"none",outline:"none",paddingLeft:"4px",paddingRight:"4px",resize:"none",fontSize:"16px",overflow:"hidden",backgroundColor:"transparent",display:"block",paddingTop:"0",paddingBottom:"0",lineHeight:"1.5",overflowY:"auto",maxHeight:"192px",marginTop:"4px",color:"#f4f4f5",fontFamily:"inherit",height:Ne},value:qe,onFocus:lt,onBlur:ot,onChange:_=>xe(_.target.value),onKeyDown:_=>{if(_.key==="Enter"){if(_.shiftKey)return;_.preventDefault(),re(_)}},rows:1}),j.createElement("div",{style:{display:"flex",flexDirection:"row",gap:"4px"}},j.createElement(Gv,{isRecording:H,isTranscribing:Ye,onVoiceRecording:q}),j.createElement(xr,{style:{height:"32px",width:"32px"},disabled:qe.length===0||I,variant:"secondary",onClick:re,size:"icon"},I?j.createElement(qv,{size:20,style:{animation:"spin 1s linear infinite"}}):j.createElement(jv,{style:{width:"20px",height:"20px"}})))),j.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:"8px",paddingRight:"8px"}},j.createElement("div",{style:{display:"flex",alignItems:"center",gap:"4px"}},Ue&&j.createElement("div",{style:{display:"flex",alignItems:"center",gap:"8px"}}))))),j.createElement("style",null,`
|
|
267
|
+
`),ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:z,height:z,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide lucide-loader-circle ${M}`,style:{animation:"icon-spin 1s linear infinite",...de}},ve.createElement("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"}))),jv=({size:z=20,className:M="",style:de={}})=>ve.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:z,height:z,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide lucide-arrow-up ${M}`,style:{...de}},ve.createElement("path",{d:"m5 12 7-7 7 7"}),ve.createElement("path",{d:"M12 19V5"})),ch=le.forwardRef(({texts:z,typingSpeed:M=30,deletingSpeed:de=15,delayAfterText:F=800,onSubmit:ce,isStreaming:pe=!1,className:Le="",placeholderClassName:Ke="",value:O,onChange:Ne,onFocus:je,onBlur:A,onKeyDown:g,onPaste:_,placeholder:ge,rows:Ve=1,...be},re)=>{const[Ze,Qe]=le.useState(""),[Ot,Ee]=le.useState(!1),[qe,Oe]=le.useState(0),[Ue,L]=le.useState(!1),[Se,X]=le.useState(!1),[he,Ye]=le.useState(!1),[lt,ut]=le.useState(!1),C=le.useRef(null),V=re||C,Y=z[qe],ue=O===""||O===void 0;le.useEffect(()=>{if(!ue)return;let j;return Ue?(j=setTimeout(()=>{L(!1),Ye(!0),X(!0),ut(!0)},F),()=>clearTimeout(j)):he?(j=setTimeout(()=>{ut(!1),setTimeout(()=>{X(!1),Ye(!1),Ee(!0)},300)},3e3),()=>clearTimeout(j)):(Ot?Ze===""?(Ee(!1),Oe(G=>(G+1)%z.length)):j=setTimeout(()=>{Qe(G=>G.slice(0,-1))},de):Ze===Y?L(!0):j=setTimeout(()=>{Qe(Y.slice(0,Ze.length+1))},M),()=>clearTimeout(j))},[Ze,Ot,qe,Ue,he,Y,z,M,de,F,ue]);const H=j=>{if(j.key==="Tab"&&ue){j.preventDefault(),Ne?.({target:{value:Y}});return}if(j.key==="Enter"){if(j.shiftKey||(j.preventDefault(),pe))return;ce?.(j)}g?.(j)};return ve.createElement("div",{style:{position:"relative",width:"100%"}},ue&&ve.createElement("div",{style:{position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none",display:"flex",alignItems:"flex-start",paddingLeft:"4px",paddingRight:"4px",paddingTop:"0",paddingBottom:"0",marginTop:"5px"}},ve.createElement("p",{style:{color:"#a1a1aa",fontWeight:"500",lineHeight:"1.25",...Ke?{}:{}}},Ze,ve.createElement("span",{style:{fontSize:"12px",color:"#d1d5db",backgroundColor:"#27272a",paddingLeft:"6px",paddingRight:"6px",paddingTop:"2px",paddingBottom:"2px",borderRadius:"8px",border:"1px solid #3f3f46",alignItems:"center",marginLeft:"8px",display:"inline-flex",whiteSpace:"nowrap",opacity:lt?1:0,transform:lt?"scale(1)":"scale(0.8)",transition:"opacity 0.3s ease, transform 0.3s ease",visibility:Se?"visible":"hidden",verticalAlign:"middle"}},"Tab to select"))),ve.createElement(Ar,{ref:V,placeholder:ge,style:Le?{}:{},value:O,onFocus:je,onBlur:A,onChange:Ne,onKeyDown:H,onPaste:_,rows:Ve,...be}))});ch.displayName="TypingTextarea";const Ll={gradient:"linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899)",shadow:{dark:"rgba(0, 0, 0, 0.2)"}},Vv=(z,M)=>{try{return z?ih(z)||Ll:ih()||Ll}catch(de){return console.warn("Theme system error, using fallback:",de),Ll}},Gv=({placeholder:z="Ask anything...",onSubmit:M,playgroundUid:de,isSubmitting:F,typingTexts:ce=["Build me an AI chatbot application using OpenAI API","Build me an ecommerce website using Stripe API","Build me a price tracking tool using AgentQL API","Build me a movie recommendation system using Qdrant API","Build me a weather forecasting app using OpenWeather API","Build me a SMS notification system using Twilio API","Build me a travel booking platform using Skyscanner API"],shouldFocusOnMount:pe=!0,showModelSelector:Le=!0,projectUid:Ke,theme:O,height:Ne="auto",deepgramApiKey:je})=>{const[A,g]=le.useState(!0),[_,ge]=le.useState(!1),[Ve,be]=le.useState(!1),[,re]=le.useState(!1),[Ze,Qe]=le.useState(null),[Ot,Ee]=le.useState(null),[qe,Oe]=le.useState(""),Ue=le.useRef(null),L=le.useRef([]),Se=le.useRef(null),[X,he]=le.useState(!1),Ye=le.useMemo(()=>{try{return Vv(O,de)}catch(H){return console.warn("Error getting color scheme:",H),Ll}},[O,de]);le.useEffect(()=>{he(!0)},[]),le.useEffect(()=>{if(pe&&Se.current&&X)try{Se.current.focus(),Se.current.select()}catch(H){console.warn("Focus error:",H)}},[X,pe]);const lt=()=>{g(!0)},ut=()=>{g(!0)},C=()=>{const H=Se.current;if(H)try{H.style.height="auto";const j=Math.min(H.scrollHeight,200);H.style.height=`${j}px`}catch(j){console.warn("Textarea height adjustment error:",j)}};le.useEffect(()=>{C()},[qe]),le.useEffect(()=>{const H=j=>{const G=(j.metaKey||j.ctrlKey)&&j.key==="/",xe=(j.key==="Enter"||j.key==="Escape")&&(_||Ve);G?(j.preventDefault(),Y()):xe&&(j.preventDefault(),_&&!Ve&&Y())};return document.addEventListener("keydown",H),()=>{document.removeEventListener("keydown",H)}},[_,Ve]),le.useEffect(()=>()=>{Ze&&clearTimeout(Ze),Ue.current&&_&&Ue.current.stop(),re(!1)},[Ze,_]);const V=async()=>{if(Ue.current&&_)return ge(!1),be(!0),Ze&&(clearTimeout(Ze),Qe(null)),new Promise(H=>{if(Ue.current){let j=!1,G;Ue.current.ondataavailable=xe=>{xe.data.size>0&&(j=!0,L.current.push(xe.data))},Ue.current.onstop=async()=>{G&&clearTimeout(G);try{if(!j||L.current.length===0)throw new Error("No audio data recorded");const xe=new Blob(L.current,{type:"audio/wav"});if(xe.size<1024)throw new Error("Audio recording too short");const ot=new FormData;ot.append("audio",xe,"recording.wav"),je&&ot.append("deepgramApiKey",je);const It=await fetch("/api/voice/transcribe",{method:"POST",body:ot});if(It.ok){const{transcription:Te}=await It.json();if(Te&&Te.trim()){const Gu=qe?`${qe} ${Te}`:Te;Oe(Gu.trim()),setTimeout(()=>{if(Se.current){Se.current.focus();const Xn=Se.current.value.length;Se.current.setSelectionRange(Xn,Xn)}},100)}}else throw new Error("Transcription failed")}catch(xe){console.error("Transcription error:",xe),xe instanceof Error&&(xe.message.includes("No audio data")||xe.message.includes("too short"))}finally{L.current=[],Ue.current=null,Ee(null),be(!1),re(!1),H()}},G=setTimeout(()=>{console.warn("MediaRecorder stop timeout, forcing cleanup"),L.current=[],Ue.current=null,Ee(null),be(!1),re(!1),H()},5e3);try{Ue.current.stop()}catch(xe){console.error("Error stopping MediaRecorder:",xe),G&&clearTimeout(G),L.current=[],Ue.current=null,Ee(null),be(!1),re(!1),H()}}else Ee(null),be(!1),re(!1),H()})},Y=async()=>{if(!Ve)if(_)await V();else try{if(!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia)throw new Error("Browser doesn't support microphone access");const H=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,sampleRate:44100}}),j=new MediaRecorder(H,{mimeType:MediaRecorder.isTypeSupported("audio/webm")?"audio/webm":"audio/mp4"});Ue.current=j,L.current=[],j.ondataavailable=xe=>{xe.data.size>0&&L.current.push(xe.data)},j.start(200),ge(!0),Ee(Date.now()),re(!0);const G=setTimeout(async()=>{await V()},6e4);Qe(G)}catch(H){console.error("Microphone access error:",H),H instanceof Error&&(H.name==="NotAllowedError"||H.name==="NotFoundError"||H.name==="NotReadableError"||H.name)}},ue=H=>{if(H.preventDefault(),!!qe.trim())try{if(de){const j=encodeURIComponent(qe.trim()),G=`https://${de}.sampleapp.ai?q=${j}`;window.open(G,"_blank")}M&&M(H)}catch(j){console.error("Submit error:",j)}};return ve.createElement("div",null,ve.createElement("div",{style:{position:"relative",padding:"2px",width:"100%",maxWidth:"100%",marginLeft:"auto",marginRight:"auto"}},ve.createElement("div",{style:{backgroundColor:Ye.shadow?.dark||"rgba(0, 0, 0, 0.2)",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",borderRadius:"0.85rem",transition:"opacity 0.3s ease-in-out",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",opacity:"1",pointerEvents:"none"}}),ve.createElement("div",{style:{background:Ye.gradient||Ll.gradient,backgroundSize:"400% 400%",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",borderRadius:"0.85rem",zIndex:1,filter:"blur(12px)",transition:"opacity 0.3s ease-in-out",pointerEvents:"none",opacity:A?"0.8":"0.4",animation:"gradient-bg 5s ease infinite"}}),ve.createElement("div",{style:{background:Ye.gradient||Ll.gradient,backgroundSize:"400% 400%",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",borderRadius:"0.85rem",zIndex:1,transition:"opacity 0.3s ease-in-out",pointerEvents:"none",opacity:A?"1":"0.7",animation:"gradient-bg 5s ease infinite"}}),ve.createElement("div",{style:{position:"relative",zIndex:10,borderRadius:"0.75rem",backgroundColor:"rgb(24, 24, 27)",width:"100%",paddingLeft:"0.25rem",paddingRight:"0.25rem",paddingTop:"0.5rem",paddingBottom:"0.5rem"}},ve.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"4px"}},ve.createElement("div",{style:{position:"relative",display:"flex",paddingLeft:"8px",paddingRight:"8px",gap:"8px",paddingTop:"4px",paddingBottom:"4px"}},ce.length>0?ve.createElement(ch,{texts:ce,ref:Se,style:{flex:1,width:"100%",border:"none",boxShadow:"none",outline:"none",paddingLeft:"4px",paddingRight:"4px",resize:"none",fontSize:"16px",overflow:"hidden",backgroundColor:"transparent",display:"block",paddingTop:"0",paddingBottom:"0",lineHeight:"1.5",overflowY:"auto",maxHeight:"192px",marginTop:"4px",color:"#f4f4f5",fontFamily:"inherit",height:Ne},value:qe,onFocus:lt,onBlur:ut,onChange:H=>Oe(H.target.value),onSubmit:H=>{if(_||Ve){H.preventDefault();return}ue(H)},rows:1}):ve.createElement(Ar,{ref:Se,placeholder:z,style:{flex:1,width:"100%",border:"none",boxShadow:"none",outline:"none",paddingLeft:"4px",paddingRight:"4px",resize:"none",fontSize:"16px",overflow:"hidden",backgroundColor:"transparent",display:"block",paddingTop:"0",paddingBottom:"0",lineHeight:"1.5",overflowY:"auto",maxHeight:"192px",marginTop:"4px",color:"#f4f4f5",fontFamily:"inherit",height:Ne},value:qe,onFocus:lt,onBlur:ut,onChange:H=>Oe(H.target.value),onKeyDown:H=>{if(H.key==="Enter"){if(H.shiftKey)return;H.preventDefault(),ue(H)}},rows:1}),ve.createElement("div",{style:{display:"flex",flexDirection:"row",gap:"4px"}},ve.createElement(oh,{style:{height:"32px",width:"32px"},disabled:qe.length===0||F,variant:"secondary",onClick:ue,size:"icon"},F?ve.createElement(Yv,{size:20,style:{animation:"spin 1s linear infinite"}}):ve.createElement(jv,{style:{width:"20px",height:"20px"}})))),ve.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:"8px",paddingRight:"8px"}},ve.createElement("div",{style:{display:"flex",alignItems:"center",gap:"4px"}},Le&&ve.createElement("div",{style:{display:"flex",alignItems:"center",gap:"8px"}}))))),ve.createElement("style",null,`
|
|
333
268
|
@keyframes gradient-bg {
|
|
334
269
|
0%,
|
|
335
270
|
100% {
|
|
@@ -347,4 +282,4 @@ You might need to use a local HTTP server (instead of file://): https://react.de
|
|
|
347
282
|
transform: rotate(360deg);
|
|
348
283
|
}
|
|
349
284
|
}
|
|
350
|
-
`)))};function
|
|
285
|
+
`)))};function rh(z,M){try{const de={...z};let F;if(!M)F=document.createElement("div"),F.id="sampleapp-chatbar-"+Date.now(),document.body.appendChild(F);else if(typeof M=="string"){const Le=document.querySelector(M);if(!Le)throw new Error(`Container not found: ${M}`);F=Le}else F=M;const ce=Mv.createRoot(F),pe=ve.createElement(Gv,de);return ce.render(pe),{unmount:()=>{ce.unmount(),M||F.remove()},container:F}}catch(de){throw console.error("SampleApp SDK Error:",de),console.error("Error details:",{message:de.message,stack:de.stack}),de}}const sh={ChatBar:rh,version:"1.0.25"};typeof window<"u"&&(window.SampleApp=sh),Fa.ChatBar=rh,Fa.default=sh,Object.defineProperties(Fa,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|