@c4a/server-cli 0.4.10 → 0.4.11

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.
@@ -0,0 +1,238 @@
1
+ function qD(i,r){for(var u=0;u<r.length;u++){const c=r[u];if(typeof c!="string"&&!Array.isArray(c)){for(const f in c)if(f!=="default"&&!(f in i)){const h=Object.getOwnPropertyDescriptor(c,f);h&&Object.defineProperty(i,f,h.get?h:{enumerable:!0,get:()=>c[f]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))c(f);new MutationObserver(f=>{for(const h of f)if(h.type==="childList")for(const p of h.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&c(p)}).observe(document,{childList:!0,subtree:!0});function u(f){const h={};return f.integrity&&(h.integrity=f.integrity),f.referrerPolicy&&(h.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?h.credentials="include":f.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function c(f){if(f.ep)return;f.ep=!0;const h=u(f);fetch(f.href,h)}})();function GD(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var eg={exports:{}},sd={},tg={exports:{}},zs={exports:{}};zs.exports;var aE;function XD(){return aE||(aE=1,(function(i,r){(function(){function u(b,U){Object.defineProperty(h.prototype,b,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})}function c(b){return b===null||typeof b!="object"?null:(b=fo&&b[fo]||b["@@iterator"],typeof b=="function"?b:null)}function f(b,U){b=(b=b.constructor)&&(b.displayName||b.name)||"ReactClass";var F=b+"."+U;Ot[F]||(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.",U,b),Ot[F]=!0)}function h(b,U,F){this.props=b,this.context=U,this.refs=it,this.updater=F||Ln}function p(){}function m(b,U,F){this.props=b,this.context=U,this.refs=it,this.updater=F||Ln}function v(){}function E(b){return""+b}function R(b){try{E(b);var U=!1}catch{U=!0}if(U){U=console;var F=U.error,te=typeof Symbol=="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return F.call(U,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",te),E(b)}}function S(b){if(b==null)return null;if(typeof b=="function")return b.$$typeof===eu?null:b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case $:return"Fragment";case Me:return"Profiler";case he:return"StrictMode";case rt:return"Suspense";case pn:return"SuspenseList";case se:return"Activity"}if(typeof b=="object")switch(typeof b.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case $e:return"Portal";case pt:return b.displayName||"Context";case Re:return(b._context.displayName||"Context")+".Consumer";case Ft:var U=b.render;return b=b.displayName,b||(b=U.displayName||U.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case Wt:return U=b.displayName||null,U!==null?U:S(b.type)||"Memo";case Aa:U=b._payload,b=b._init;try{return S(b(U))}catch{}}return null}function x(b){if(b===$)return"<>";if(typeof b=="object"&&b!==null&&b.$$typeof===Aa)return"<...>";try{var U=S(b);return U?"<"+U+">":"<...>"}catch{return"<...>"}}function T(){var b=pe.A;return b===null?null:b.getOwner()}function L(){return Error("react-stack-top-frame")}function Q(b){if(po.call(b,"key")){var U=Object.getOwnPropertyDescriptor(b,"key").get;if(U&&U.isReactWarning)return!1}return b.key!==void 0}function Y(b,U){function F(){Cl||(Cl=!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)",U))}F.isReactWarning=!0,Object.defineProperty(b,"key",{get:F,configurable:!0})}function J(){var b=S(this.type);return sa[b]||(sa[b]=!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.")),b=this.props.ref,b!==void 0?b:null}function W(b,U,F,te,me,je){var be=F.ref;return b={$$typeof:de,type:b,key:U,props:F,_owner:te},(be!==void 0?be:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:J}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:me}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:je}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function ie(b,U){return U=W(b.type,U,b.props,b._owner,b._debugStack,b._debugTask),b._store&&(U._store.validated=b._store.validated),U}function Ee(b){ye(b)?b._store&&(b._store.validated=1):typeof b=="object"&&b!==null&&b.$$typeof===Aa&&(b._payload.status==="fulfilled"?ye(b._payload.value)&&b._payload.value._store&&(b._payload.value._store.validated=1):b._store&&(b._store.validated=1))}function ye(b){return typeof b=="object"&&b!==null&&b.$$typeof===de}function Ve(b){var U={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(F){return U[F]})}function Le(b,U){return typeof b=="object"&&b!==null&&b.key!=null?(R(b.key),Ve(""+b.key)):U.toString(36)}function M(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(v,v):(b.status="pending",b.then(function(U){b.status==="pending"&&(b.status="fulfilled",b.value=U)},function(U){b.status==="pending"&&(b.status="rejected",b.reason=U)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function ae(b,U,F,te,me){var je=typeof b;(je==="undefined"||je==="boolean")&&(b=null);var be=!1;if(b===null)be=!0;else switch(je){case"bigint":case"string":case"number":be=!0;break;case"object":switch(b.$$typeof){case de:case $e:be=!0;break;case Aa:return be=b._init,ae(be(b._payload),U,F,te,me)}}if(be){be=b,me=me(be);var Ie=te===""?"."+Le(be,0):te;return ho(me)?(F="",Ie!=null&&(F=Ie.replace(jn,"$&/")+"/"),ae(me,U,F,"",function(en){return en})):me!=null&&(ye(me)&&(me.key!=null&&(be&&be.key===me.key||R(me.key)),F=ie(me,F+(me.key==null||be&&be.key===me.key?"":(""+me.key).replace(jn,"$&/")+"/")+Ie),te!==""&&be!=null&&ye(be)&&be.key==null&&be._store&&!be._store.validated&&(F._store.validated=2),me=F),U.push(me)),1}if(be=0,Ie=te===""?".":te+":",ho(b))for(var Be=0;Be<b.length;Be++)te=b[Be],je=Ie+Le(te,Be),be+=ae(te,U,F,je,me);else if(Be=c(b),typeof Be=="function")for(Be===b.entries&&(ca||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ca=!0),b=Be.call(b),Be=0;!(te=b.next()).done;)te=te.value,je=Ie+Le(te,Be++),be+=ae(te,U,F,je,me);else if(je==="object"){if(typeof b.then=="function")return ae(M(b),U,F,te,me);throw U=String(b),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return be}function X(b,U,F){if(b==null)return b;var te=[],me=0;return ae(b,te,"","",function(je){return U.call(F,je,me++)}),te}function Te(b){if(b._status===-1){var U=b._ioInfo;U!=null&&(U.start=U.end=performance.now()),U=b._result;var F=U();if(F.then(function(me){if(b._status===0||b._status===-1){b._status=1,b._result=me;var je=b._ioInfo;je!=null&&(je.end=performance.now()),F.status===void 0&&(F.status="fulfilled",F.value=me)}},function(me){if(b._status===0||b._status===-1){b._status=2,b._result=me;var je=b._ioInfo;je!=null&&(je.end=performance.now()),F.status===void 0&&(F.status="rejected",F.reason=me)}}),U=b._ioInfo,U!=null){U.value=F;var te=F.displayName;typeof te=="string"&&(U.name=te)}b._status===-1&&(b._status=0,b._result=F)}if(b._status===1)return U=b._result,U===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
+
3
+ Your code should look like:
4
+ const MyComponent = lazy(() => import('./MyComponent'))
5
+
6
+ Did you accidentally put curly braces around the import?`,U),"default"in U||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
+
8
+ Your code should look like:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,U),U.default;throw b._result}function I(){var b=pe.H;return b===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:
10
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
+ 2. You might be breaking the Rules of Hooks
12
+ 3. You might have more than one copy of React in the same app
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),b}function ce(){pe.asyncTransitions--}function xe(b){if(Al===null)try{var U=("require"+Math.random()).slice(0,7);Al=(i&&i[U]).call(i,"timers").setImmediate}catch{Al=function(te){go===!1&&(go=!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 me=new MessageChannel;me.port1.onmessage=te,me.port2.postMessage(void 0)}}return Al(b)}function Ae(b){return 1<b.length&&typeof AggregateError=="function"?new AggregateError(b):b[0]}function Z(b,U){U!==fa-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. "),fa=U}function oe(b,U,F){var te=pe.actQueue;if(te!==null)if(te.length!==0)try{fe(te),xe(function(){return oe(b,U,F)});return}catch(me){pe.thrownErrors.push(me)}else pe.actQueue=null;0<pe.thrownErrors.length?(te=Ae(pe.thrownErrors),pe.thrownErrors.length=0,F(te)):U(b)}function fe(b){if(!mn){mn=!0;var U=0;try{for(;U<b.length;U++){var F=b[U];do{pe.didUsePromise=!1;var te=F(!1);if(te!==null){if(pe.didUsePromise){b[U]=F,b.splice(0,U);return}F=te}else break}while(!0)}b.length=0}catch(me){b.splice(0,U+1),pe.thrownErrors.push(me)}finally{mn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var de=Symbol.for("react.transitional.element"),$e=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),Re=Symbol.for("react.consumer"),pt=Symbol.for("react.context"),Ft=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),pn=Symbol.for("react.suspense_list"),Wt=Symbol.for("react.memo"),Aa=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),fo=Symbol.iterator,Ot={},Ln={isMounted:function(){return!1},enqueueForceUpdate:function(b){f(b,"forceUpdate")},enqueueReplaceState:function(b){f(b,"replaceState")},enqueueSetState:function(b){f(b,"setState")}},Na=Object.assign,it={};Object.freeze(it),h.prototype.isReactComponent={},h.prototype.setState=function(b,U){if(typeof b!="object"&&typeof b!="function"&&b!=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,b,U,"setState")},h.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};var Ct={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)."]};for(Ma in Ct)Ct.hasOwnProperty(Ma)&&u(Ma,Ct[Ma]);p.prototype=h.prototype,Ct=m.prototype=new p,Ct.constructor=m,Na(Ct,h.prototype),Ct.isPureReactComponent=!0;var ho=Array.isArray,eu=Symbol.for("react.client.reference"),pe={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},po=Object.prototype.hasOwnProperty,ua=console.createTask?console.createTask:function(){return null};Ct={react_stack_bottom_frame:function(b){return b()}};var Cl,Fa,sa={},_a=Ct.react_stack_bottom_frame.bind(Ct,L)(),mo=ua(x(L)),ca=!1,jn=/\/+/g,xn=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},go=!1,Al=null,fa=0,Nl=!1,mn=!1,_l=typeof queueMicrotask=="function"?function(b){queueMicrotask(function(){return queueMicrotask(b)})}:xe;Ct=Object.freeze({__proto__:null,c:function(b){return I().useMemoCache(b)}});var Ma={map:X,forEach:function(b,U,F){X(b,function(){U.apply(this,arguments)},F)},count:function(b){var U=0;return X(b,function(){U++}),U},toArray:function(b){return X(b,function(U){return U})||[]},only:function(b){if(!ye(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};r.Activity=se,r.Children=Ma,r.Component=h,r.Fragment=$,r.Profiler=Me,r.PureComponent=m,r.StrictMode=he,r.Suspense=rt,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=pe,r.__COMPILER_RUNTIME=Ct,r.act=function(b){var U=pe.actQueue,F=fa;fa++;var te=pe.actQueue=U!==null?U:[],me=!1;try{var je=b()}catch(Be){pe.thrownErrors.push(Be)}if(0<pe.thrownErrors.length)throw Z(U,F),b=Ae(pe.thrownErrors),pe.thrownErrors.length=0,b;if(je!==null&&typeof je=="object"&&typeof je.then=="function"){var be=je;return _l(function(){me||Nl||(Nl=!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(Be,en){me=!0,be.then(function(Rn){if(Z(U,F),F===0){try{fe(te),xe(function(){return oe(Rn,Be,en)})}catch(Ul){pe.thrownErrors.push(Ul)}if(0<pe.thrownErrors.length){var Ml=Ae(pe.thrownErrors);pe.thrownErrors.length=0,en(Ml)}}else Be(Rn)},function(Rn){Z(U,F),0<pe.thrownErrors.length&&(Rn=Ae(pe.thrownErrors),pe.thrownErrors.length=0),en(Rn)})}}}var Ie=je;if(Z(U,F),F===0&&(fe(te),te.length!==0&&_l(function(){me||Nl||(Nl=!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(() => ...)"))}),pe.actQueue=null),0<pe.thrownErrors.length)throw b=Ae(pe.thrownErrors),pe.thrownErrors.length=0,b;return{then:function(Be,en){me=!0,F===0?(pe.actQueue=te,xe(function(){return oe(Ie,Be,en)})):Be(Ie)}}},r.cache=function(b){return function(){return b.apply(null,arguments)}},r.cacheSignal=function(){return null},r.captureOwnerStack=function(){var b=pe.getCurrentStack;return b===null?null:b()},r.cloneElement=function(b,U,F){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var te=Na({},b.props),me=b.key,je=b._owner;if(U!=null){var be;e:{if(po.call(U,"ref")&&(be=Object.getOwnPropertyDescriptor(U,"ref").get)&&be.isReactWarning){be=!1;break e}be=U.ref!==void 0}be&&(je=T()),Q(U)&&(R(U.key),me=""+U.key);for(Ie in U)!po.call(U,Ie)||Ie==="key"||Ie==="__self"||Ie==="__source"||Ie==="ref"&&U.ref===void 0||(te[Ie]=U[Ie])}var Ie=arguments.length-2;if(Ie===1)te.children=F;else if(1<Ie){be=Array(Ie);for(var Be=0;Be<Ie;Be++)be[Be]=arguments[Be+2];te.children=be}for(te=W(b.type,me,te,je,b._debugStack,b._debugTask),me=2;me<arguments.length;me++)Ee(arguments[me]);return te},r.createContext=function(b){return b={$$typeof:pt,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:Re,_context:b},b._currentRenderer=null,b._currentRenderer2=null,b},r.createElement=function(b,U,F){for(var te=2;te<arguments.length;te++)Ee(arguments[te]);te={};var me=null;if(U!=null)for(Be in Fa||!("__self"in U)||"key"in U||(Fa=!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")),Q(U)&&(R(U.key),me=""+U.key),U)po.call(U,Be)&&Be!=="key"&&Be!=="__self"&&Be!=="__source"&&(te[Be]=U[Be]);var je=arguments.length-2;if(je===1)te.children=F;else if(1<je){for(var be=Array(je),Ie=0;Ie<je;Ie++)be[Ie]=arguments[Ie+2];Object.freeze&&Object.freeze(be),te.children=be}if(b&&b.defaultProps)for(Be in je=b.defaultProps,je)te[Be]===void 0&&(te[Be]=je[Be]);me&&Y(te,typeof b=="function"?b.displayName||b.name||"Unknown":b);var Be=1e4>pe.recentlyCreatedOwnerStacks++;return W(b,me,te,T(),Be?Error("react-stack-top-frame"):_a,Be?ua(x(b)):mo)},r.createRef=function(){var b={current:null};return Object.seal(b),b},r.forwardRef=function(b){b!=null&&b.$$typeof===Wt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof b!="function"?console.error("forwardRef requires a render function but was given %s.",b===null?"null":typeof b):b.length!==0&&b.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",b.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),b!=null&&b.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var U={$$typeof:Ft,render:b},F;return Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(te){F=te,b.name||b.displayName||(Object.defineProperty(b,"name",{value:te}),b.displayName=te)}}),U},r.isValidElement=ye,r.lazy=function(b){b={_status:-1,_result:b};var U={$$typeof:Aa,_payload:b,_init:Te},F={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return b._ioInfo=F,U._debugInfo=[{awaited:F}],U},r.memo=function(b,U){b==null&&console.error("memo: The first argument must be a component. Instead received: %s",b===null?"null":typeof b),U={$$typeof:Wt,type:b,compare:U===void 0?null:U};var F;return Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return F},set:function(te){F=te,b.name||b.displayName||(Object.defineProperty(b,"name",{value:te}),b.displayName=te)}}),U},r.startTransition=function(b){var U=pe.T,F={};F._updatedFibers=new Set,pe.T=F;try{var te=b(),me=pe.S;me!==null&&me(F,te),typeof te=="object"&&te!==null&&typeof te.then=="function"&&(pe.asyncTransitions++,te.then(ce,ce),te.then(v,xn))}catch(je){xn(je)}finally{U===null&&F._updatedFibers&&(b=F._updatedFibers.size,F._updatedFibers.clear(),10<b&&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.")),U!==null&&F.types!==null&&(U.types!==null&&U.types!==F.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),U.types=F.types),pe.T=U}},r.unstable_useCacheRefresh=function(){return I().useCacheRefresh()},r.use=function(b){return I().use(b)},r.useActionState=function(b,U,F){return I().useActionState(b,U,F)},r.useCallback=function(b,U){return I().useCallback(b,U)},r.useContext=function(b){var U=I();return b.$$typeof===Re&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),U.useContext(b)},r.useDebugValue=function(b,U){return I().useDebugValue(b,U)},r.useDeferredValue=function(b,U){return I().useDeferredValue(b,U)},r.useEffect=function(b,U){return b==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),I().useEffect(b,U)},r.useEffectEvent=function(b){return I().useEffectEvent(b)},r.useId=function(){return I().useId()},r.useImperativeHandle=function(b,U,F){return I().useImperativeHandle(b,U,F)},r.useInsertionEffect=function(b,U){return b==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),I().useInsertionEffect(b,U)},r.useLayoutEffect=function(b,U){return b==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),I().useLayoutEffect(b,U)},r.useMemo=function(b,U){return I().useMemo(b,U)},r.useOptimistic=function(b,U){return I().useOptimistic(b,U)},r.useReducer=function(b,U,F){return I().useReducer(b,U,F)},r.useRef=function(b){return I().useRef(b)},r.useState=function(b){return I().useState(b)},r.useSyncExternalStore=function(b,U,F){return I().useSyncExternalStore(b,U,F)},r.useTransition=function(){return I().useTransition()},r.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(zs,zs.exports)),zs.exports}var lE;function Xs(){return lE||(lE=1,tg.exports=XD()),tg.exports}var oE;function QD(){if(oE)return sd;oE=1;return(function(){function i($){if($==null)return null;if(typeof $=="function")return $.$$typeof===Te?null:$.displayName||$.name||null;if(typeof $=="string")return $;switch($){case Y:return"Fragment";case W:return"Profiler";case J:return"StrictMode";case Ve:return"Suspense";case Le:return"SuspenseList";case X:return"Activity"}if(typeof $=="object")switch(typeof $.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case Q:return"Portal";case Ee:return $.displayName||"Context";case ie:return($._context.displayName||"Context")+".Consumer";case ye:var he=$.render;return $=$.displayName,$||($=he.displayName||he.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case M:return he=$.displayName||null,he!==null?he:i($.type)||"Memo";case ae:he=$._payload,$=$._init;try{return i($(he))}catch{}}return null}function r($){return""+$}function u($){try{r($);var he=!1}catch{he=!0}if(he){he=console;var Me=he.error,Re=typeof Symbol=="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object";return Me.call(he,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Re),r($)}}function c($){if($===Y)return"<>";if(typeof $=="object"&&$!==null&&$.$$typeof===ae)return"<...>";try{var he=i($);return he?"<"+he+">":"<...>"}catch{return"<...>"}}function f(){var $=I.A;return $===null?null:$.getOwner()}function h(){return Error("react-stack-top-frame")}function p($){if(ce.call($,"key")){var he=Object.getOwnPropertyDescriptor($,"key").get;if(he&&he.isReactWarning)return!1}return $.key!==void 0}function m($,he){function Me(){Z||(Z=!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)",he))}Me.isReactWarning=!0,Object.defineProperty($,"key",{get:Me,configurable:!0})}function v(){var $=i(this.type);return oe[$]||(oe[$]=!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.")),$=this.props.ref,$!==void 0?$:null}function E($,he,Me,Re,pt,Ft){var rt=Me.ref;return $={$$typeof:L,type:$,key:he,props:Me,_owner:Re},(rt!==void 0?rt:null)!==null?Object.defineProperty($,"ref",{enumerable:!1,get:v}):Object.defineProperty($,"ref",{enumerable:!1,value:null}),$._store={},Object.defineProperty($._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty($,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty($,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:pt}),Object.defineProperty($,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ft}),Object.freeze&&(Object.freeze($.props),Object.freeze($)),$}function R($,he,Me,Re,pt,Ft){var rt=he.children;if(rt!==void 0)if(Re)if(xe(rt)){for(Re=0;Re<rt.length;Re++)S(rt[Re]);Object.freeze&&Object.freeze(rt)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else S(rt);if(ce.call(he,"key")){rt=i($);var pn=Object.keys(he).filter(function(Aa){return Aa!=="key"});Re=0<pn.length?"{key: someKey, "+pn.join(": ..., ")+": ...}":"{key: someKey}",$e[rt+Re]||(pn=0<pn.length?"{"+pn.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
14
+ let props = %s;
15
+ <%s {...props} />
16
+ React keys must be passed directly to JSX without using spread:
17
+ let props = %s;
18
+ <%s key={someKey} {...props} />`,Re,rt,pn,rt),$e[rt+Re]=!0)}if(rt=null,Me!==void 0&&(u(Me),rt=""+Me),p(he)&&(u(he.key),rt=""+he.key),"key"in he){Me={};for(var Wt in he)Wt!=="key"&&(Me[Wt]=he[Wt])}else Me=he;return rt&&m(Me,typeof $=="function"?$.displayName||$.name||"Unknown":$),E($,rt,Me,f(),pt,Ft)}function S($){x($)?$._store&&($._store.validated=1):typeof $=="object"&&$!==null&&$.$$typeof===ae&&($._payload.status==="fulfilled"?x($._payload.value)&&$._payload.value._store&&($._payload.value._store.validated=1):$._store&&($._store.validated=1))}function x($){return typeof $=="object"&&$!==null&&$.$$typeof===L}var T=Xs(),L=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),ie=Symbol.for("react.consumer"),Ee=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),Ve=Symbol.for("react.suspense"),Le=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),ae=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),Te=Symbol.for("react.client.reference"),I=T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce=Object.prototype.hasOwnProperty,xe=Array.isArray,Ae=console.createTask?console.createTask:function(){return null};T={react_stack_bottom_frame:function($){return $()}};var Z,oe={},fe=T.react_stack_bottom_frame.bind(T,h)(),de=Ae(c(h)),$e={};sd.Fragment=Y,sd.jsxDEV=function($,he,Me,Re){var pt=1e4>I.recentlyCreatedOwnerStacks++;return R($,he,Me,Re,pt?Error("react-stack-top-frame"):fe,pt?Ae(c($)):de)}})(),sd}var rE;function ZD(){return rE||(rE=1,eg.exports=QD()),eg.exports}var G=ZD();const Ye=i=>typeof i=="string",As=()=>{let i,r;const u=new Promise((c,f)=>{i=c,r=f});return u.resolve=i,u.reject=r,u},iE=i=>i==null?"":""+i,JD=(i,r,u)=>{i.forEach(c=>{r[c]&&(u[c]=r[c])})},FD=/###/g,uE=i=>i&&i.indexOf("###")>-1?i.replace(FD,"."):i,sE=i=>!i||Ye(i),ks=(i,r,u)=>{const c=Ye(r)?r.split("."):r;let f=0;for(;f<c.length-1;){if(sE(i))return{};const h=uE(c[f]);!i[h]&&u&&(i[h]=new u),Object.prototype.hasOwnProperty.call(i,h)?i=i[h]:i={},++f}return sE(i)?{}:{obj:i,k:uE(c[f])}},cE=(i,r,u)=>{const{obj:c,k:f}=ks(i,r,Object);if(c!==void 0||r.length===1){c[f]=u;return}let h=r[r.length-1],p=r.slice(0,r.length-1),m=ks(i,p,Object);for(;m.obj===void 0&&p.length;)h=`${p[p.length-1]}.${h}`,p=p.slice(0,p.length-1),m=ks(i,p,Object),m?.obj&&typeof m.obj[`${m.k}.${h}`]<"u"&&(m.obj=void 0);m.obj[`${m.k}.${h}`]=u},KD=(i,r,u,c)=>{const{obj:f,k:h}=ks(i,r,Object);f[h]=f[h]||[],f[h].push(u)},yd=(i,r)=>{const{obj:u,k:c}=ks(i,r);if(u&&Object.prototype.hasOwnProperty.call(u,c))return u[c]},PD=(i,r,u)=>{const c=yd(i,u);return c!==void 0?c:yd(r,u)},gx=(i,r,u)=>{for(const c in r)c!=="__proto__"&&c!=="constructor"&&(c in i?Ye(i[c])||i[c]instanceof String||Ye(r[c])||r[c]instanceof String?u&&(i[c]=r[c]):gx(i[c],r[c],u):i[c]=r[c]);return i},Xr=i=>i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var ID={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const WD=i=>Ye(i)?i.replace(/[&<>"'\/]/g,r=>ID[r]):i;class eO{constructor(r){this.capacity=r,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(r){const u=this.regExpMap.get(r);if(u!==void 0)return u;const c=new RegExp(r);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(r,c),this.regExpQueue.push(r),c}}const tO=[" ",",","?","!",";"],nO=new eO(20),aO=(i,r,u)=>{r=r||"",u=u||"";const c=tO.filter(p=>r.indexOf(p)<0&&u.indexOf(p)<0);if(c.length===0)return!0;const f=nO.getRegExp(`(${c.map(p=>p==="?"?"\\?":p).join("|")})`);let h=!f.test(i);if(!h){const p=i.indexOf(u);p>0&&!f.test(i.substring(0,p))&&(h=!0)}return h},yg=(i,r,u=".")=>{if(!i)return;if(i[r])return Object.prototype.hasOwnProperty.call(i,r)?i[r]:void 0;const c=r.split(u);let f=i;for(let h=0;h<c.length;){if(!f||typeof f!="object")return;let p,m="";for(let v=h;v<c.length;++v)if(v!==h&&(m+=u),m+=c[v],p=f[m],p!==void 0){if(["string","number","boolean"].indexOf(typeof p)>-1&&v<c.length-1)continue;h+=v-h+1;break}f=p}return f},Ys=i=>i?.replace("_","-"),lO={type:"logger",log(i){this.output("log",i)},warn(i){this.output("warn",i)},error(i){this.output("error",i)},output(i,r){console?.[i]?.apply?.(console,r)}};class vd{constructor(r,u={}){this.init(r,u)}init(r,u={}){this.prefix=u.prefix||"i18next:",this.logger=r||lO,this.options=u,this.debug=u.debug}log(...r){return this.forward(r,"log","",!0)}warn(...r){return this.forward(r,"warn","",!0)}error(...r){return this.forward(r,"error","")}deprecate(...r){return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(r,u,c,f){return f&&!this.debug?null:(Ye(r[0])&&(r[0]=`${c}${this.prefix} ${r[0]}`),this.logger[u](r))}create(r){return new vd(this.logger,{prefix:`${this.prefix}:${r}:`,...this.options})}clone(r){return r=r||this.options,r.prefix=r.prefix||this.prefix,new vd(this.logger,r)}}var Dl=new vd;class xd{constructor(){this.observers={}}on(r,u){return r.split(" ").forEach(c=>{this.observers[c]||(this.observers[c]=new Map);const f=this.observers[c].get(u)||0;this.observers[c].set(u,f+1)}),this}off(r,u){if(this.observers[r]){if(!u){delete this.observers[r];return}this.observers[r].delete(u)}}emit(r,...u){this.observers[r]&&Array.from(this.observers[r].entries()).forEach(([f,h])=>{for(let p=0;p<h;p++)f(...u)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([f,h])=>{for(let p=0;p<h;p++)f.apply(f,[r,...u])})}}class fE extends xd{constructor(r,u={ns:["translation"],defaultNS:"translation"}){super(),this.data=r||{},this.options=u,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(r){this.options.ns.indexOf(r)<0&&this.options.ns.push(r)}removeNamespaces(r){const u=this.options.ns.indexOf(r);u>-1&&this.options.ns.splice(u,1)}getResource(r,u,c,f={}){const h=f.keySeparator!==void 0?f.keySeparator:this.options.keySeparator,p=f.ignoreJSONStructure!==void 0?f.ignoreJSONStructure:this.options.ignoreJSONStructure;let m;r.indexOf(".")>-1?m=r.split("."):(m=[r,u],c&&(Array.isArray(c)?m.push(...c):Ye(c)&&h?m.push(...c.split(h)):m.push(c)));const v=yd(this.data,m);return!v&&!u&&!c&&r.indexOf(".")>-1&&(r=m[0],u=m[1],c=m.slice(2).join(".")),v||!p||!Ye(c)?v:yg(this.data?.[r]?.[u],c,h)}addResource(r,u,c,f,h={silent:!1}){const p=h.keySeparator!==void 0?h.keySeparator:this.options.keySeparator;let m=[r,u];c&&(m=m.concat(p?c.split(p):c)),r.indexOf(".")>-1&&(m=r.split("."),f=u,u=m[1]),this.addNamespaces(u),cE(this.data,m,f),h.silent||this.emit("added",r,u,c,f)}addResources(r,u,c,f={silent:!1}){for(const h in c)(Ye(c[h])||Array.isArray(c[h]))&&this.addResource(r,u,h,c[h],{silent:!0});f.silent||this.emit("added",r,u,c)}addResourceBundle(r,u,c,f,h,p={silent:!1,skipCopy:!1}){let m=[r,u];r.indexOf(".")>-1&&(m=r.split("."),f=c,c=u,u=m[1]),this.addNamespaces(u);let v=yd(this.data,m)||{};p.skipCopy||(c=JSON.parse(JSON.stringify(c))),f?gx(v,c,h):v={...v,...c},cE(this.data,m,v),p.silent||this.emit("added",r,u,c)}removeResourceBundle(r,u){this.hasResourceBundle(r,u)&&delete this.data[r][u],this.removeNamespaces(u),this.emit("removed",r,u)}hasResourceBundle(r,u){return this.getResource(r,u)!==void 0}getResourceBundle(r,u){return u||(u=this.options.defaultNS),this.getResource(r,u)}getDataByLanguage(r){return this.data[r]}hasLanguageSomeTranslations(r){const u=this.getDataByLanguage(r);return!!(u&&Object.keys(u)||[]).find(f=>u[f]&&Object.keys(u[f]).length>0)}toJSON(){return this.data}}var yx={processors:{},addPostProcessor(i){this.processors[i.name]=i},handle(i,r,u,c,f){return i.forEach(h=>{r=this.processors[h]?.process(r,u,c,f)??r}),r}};const vx=Symbol("i18next/PATH_KEY");function oO(){const i=[],r=Object.create(null);let u;return r.get=(c,f)=>(u?.revoke?.(),f===vx?i:(i.push(f),u=Proxy.revocable(c,r),u.proxy)),Proxy.revocable(Object.create(null),r).proxy}function vg(i,r){const{[vx]:u}=i(oO());return u.join(r?.keySeparator??".")}const dE={},ng=i=>!Ye(i)&&typeof i!="boolean"&&typeof i!="number";class bd extends xd{constructor(r,u={}){super(),JD(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,this),this.options=u,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Dl.create("translator")}changeLanguage(r){r&&(this.language=r)}exists(r,u={interpolation:{}}){const c={...u};if(r==null)return!1;const f=this.resolve(r,c);if(f?.res===void 0)return!1;const h=ng(f.res);return!(c.returnObjects===!1&&h)}extractFromKey(r,u){let c=u.nsSeparator!==void 0?u.nsSeparator:this.options.nsSeparator;c===void 0&&(c=":");const f=u.keySeparator!==void 0?u.keySeparator:this.options.keySeparator;let h=u.ns||this.options.defaultNS||[];const p=c&&r.indexOf(c)>-1,m=!this.options.userDefinedKeySeparator&&!u.keySeparator&&!this.options.userDefinedNsSeparator&&!u.nsSeparator&&!aO(r,c,f);if(p&&!m){const v=r.match(this.interpolator.nestingRegexp);if(v&&v.length>0)return{key:r,namespaces:Ye(h)?[h]:h};const E=r.split(c);(c!==f||c===f&&this.options.ns.indexOf(E[0])>-1)&&(h=E.shift()),r=E.join(f)}return{key:r,namespaces:Ye(h)?[h]:h}}translate(r,u,c){let f=typeof u=="object"?{...u}:u;if(typeof f!="object"&&this.options.overloadTranslationOptionHandler&&(f=this.options.overloadTranslationOptionHandler(arguments)),typeof f=="object"&&(f={...f}),f||(f={}),r==null)return"";typeof r=="function"&&(r=vg(r,{...this.options,...f})),Array.isArray(r)||(r=[String(r)]);const h=f.returnDetails!==void 0?f.returnDetails:this.options.returnDetails,p=f.keySeparator!==void 0?f.keySeparator:this.options.keySeparator,{key:m,namespaces:v}=this.extractFromKey(r[r.length-1],f),E=v[v.length-1];let R=f.nsSeparator!==void 0?f.nsSeparator:this.options.nsSeparator;R===void 0&&(R=":");const S=f.lng||this.language,x=f.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(S?.toLowerCase()==="cimode")return x?h?{res:`${E}${R}${m}`,usedKey:m,exactUsedKey:m,usedLng:S,usedNS:E,usedParams:this.getUsedParamsDetails(f)}:`${E}${R}${m}`:h?{res:m,usedKey:m,exactUsedKey:m,usedLng:S,usedNS:E,usedParams:this.getUsedParamsDetails(f)}:m;const T=this.resolve(r,f);let L=T?.res;const Q=T?.usedKey||m,Y=T?.exactUsedKey||m,J=["[object Number]","[object Function]","[object RegExp]"],W=f.joinArrays!==void 0?f.joinArrays:this.options.joinArrays,ie=!this.i18nFormat||this.i18nFormat.handleAsObject,Ee=f.count!==void 0&&!Ye(f.count),ye=bd.hasDefaultValue(f),Ve=Ee?this.pluralResolver.getSuffix(S,f.count,f):"",Le=f.ordinal&&Ee?this.pluralResolver.getSuffix(S,f.count,{ordinal:!1}):"",M=Ee&&!f.ordinal&&f.count===0,ae=M&&f[`defaultValue${this.options.pluralSeparator}zero`]||f[`defaultValue${Ve}`]||f[`defaultValue${Le}`]||f.defaultValue;let X=L;ie&&!L&&ye&&(X=ae);const Te=ng(X),I=Object.prototype.toString.apply(X);if(ie&&X&&Te&&J.indexOf(I)<0&&!(Ye(W)&&Array.isArray(X))){if(!f.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ce=this.options.returnedObjectHandler?this.options.returnedObjectHandler(Q,X,{...f,ns:v}):`key '${m} (${this.language})' returned an object instead of string.`;return h?(T.res=ce,T.usedParams=this.getUsedParamsDetails(f),T):ce}if(p){const ce=Array.isArray(X),xe=ce?[]:{},Ae=ce?Y:Q;for(const Z in X)if(Object.prototype.hasOwnProperty.call(X,Z)){const oe=`${Ae}${p}${Z}`;ye&&!L?xe[Z]=this.translate(oe,{...f,defaultValue:ng(ae)?ae[Z]:void 0,joinArrays:!1,ns:v}):xe[Z]=this.translate(oe,{...f,joinArrays:!1,ns:v}),xe[Z]===oe&&(xe[Z]=X[Z])}L=xe}}else if(ie&&Ye(W)&&Array.isArray(L))L=L.join(W),L&&(L=this.extendTranslation(L,r,f,c));else{let ce=!1,xe=!1;!this.isValidLookup(L)&&ye&&(ce=!0,L=ae),this.isValidLookup(L)||(xe=!0,L=m);const Z=(f.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&xe?void 0:L,oe=ye&&ae!==L&&this.options.updateMissing;if(xe||ce||oe){if(this.logger.log(oe?"updateKey":"missingKey",S,E,m,oe?ae:L),p){const $=this.resolve(m,{...f,keySeparator:!1});$&&$.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let fe=[];const de=this.languageUtils.getFallbackCodes(this.options.fallbackLng,f.lng||this.language);if(this.options.saveMissingTo==="fallback"&&de&&de[0])for(let $=0;$<de.length;$++)fe.push(de[$]);else this.options.saveMissingTo==="all"?fe=this.languageUtils.toResolveHierarchy(f.lng||this.language):fe.push(f.lng||this.language);const $e=($,he,Me)=>{const Re=ye&&Me!==L?Me:Z;this.options.missingKeyHandler?this.options.missingKeyHandler($,E,he,Re,oe,f):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing($,E,he,Re,oe,f),this.emit("missingKey",$,E,he,L)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Ee?fe.forEach($=>{const he=this.pluralResolver.getSuffixes($,f);M&&f[`defaultValue${this.options.pluralSeparator}zero`]&&he.indexOf(`${this.options.pluralSeparator}zero`)<0&&he.push(`${this.options.pluralSeparator}zero`),he.forEach(Me=>{$e([$],m+Me,f[`defaultValue${Me}`]||ae)})}):$e(fe,m,ae))}L=this.extendTranslation(L,r,f,T,c),xe&&L===m&&this.options.appendNamespaceToMissingKey&&(L=`${E}${R}${m}`),(xe||ce)&&this.options.parseMissingKeyHandler&&(L=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${E}${R}${m}`:m,ce?L:void 0,f))}return h?(T.res=L,T.usedParams=this.getUsedParamsDetails(f),T):L}extendTranslation(r,u,c,f,h){if(this.i18nFormat?.parse)r=this.i18nFormat.parse(r,{...this.options.interpolation.defaultVariables,...c},c.lng||this.language||f.usedLng,f.usedNS,f.usedKey,{resolved:f});else if(!c.skipInterpolation){c.interpolation&&this.interpolator.init({...c,interpolation:{...this.options.interpolation,...c.interpolation}});const v=Ye(r)&&(c?.interpolation?.skipOnVariables!==void 0?c.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let E;if(v){const S=r.match(this.interpolator.nestingRegexp);E=S&&S.length}let R=c.replace&&!Ye(c.replace)?c.replace:c;if(this.options.interpolation.defaultVariables&&(R={...this.options.interpolation.defaultVariables,...R}),r=this.interpolator.interpolate(r,R,c.lng||this.language||f.usedLng,c),v){const S=r.match(this.interpolator.nestingRegexp),x=S&&S.length;E<x&&(c.nest=!1)}!c.lng&&f&&f.res&&(c.lng=this.language||f.usedLng),c.nest!==!1&&(r=this.interpolator.nest(r,(...S)=>h?.[0]===S[0]&&!c.context?(this.logger.warn(`It seems you are nesting recursively key: ${S[0]} in key: ${u[0]}`),null):this.translate(...S,u),c)),c.interpolation&&this.interpolator.reset()}const p=c.postProcess||this.options.postProcess,m=Ye(p)?[p]:p;return r!=null&&m?.length&&c.applyPostProcessor!==!1&&(r=yx.handle(m,r,u,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...f,usedParams:this.getUsedParamsDetails(c)},...c}:c,this)),r}resolve(r,u={}){let c,f,h,p,m;return Ye(r)&&(r=[r]),r.forEach(v=>{if(this.isValidLookup(c))return;const E=this.extractFromKey(v,u),R=E.key;f=R;let S=E.namespaces;this.options.fallbackNS&&(S=S.concat(this.options.fallbackNS));const x=u.count!==void 0&&!Ye(u.count),T=x&&!u.ordinal&&u.count===0,L=u.context!==void 0&&(Ye(u.context)||typeof u.context=="number")&&u.context!=="",Q=u.lngs?u.lngs:this.languageUtils.toResolveHierarchy(u.lng||this.language,u.fallbackLng);S.forEach(Y=>{this.isValidLookup(c)||(m=Y,!dE[`${Q[0]}-${Y}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(m)&&(dE[`${Q[0]}-${Y}`]=!0,this.logger.warn(`key "${f}" for languages "${Q.join(", ")}" won't get resolved as namespace "${m}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),Q.forEach(J=>{if(this.isValidLookup(c))return;p=J;const W=[R];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(W,R,J,Y,u);else{let Ee;x&&(Ee=this.pluralResolver.getSuffix(J,u.count,u));const ye=`${this.options.pluralSeparator}zero`,Ve=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(x&&(u.ordinal&&Ee.indexOf(Ve)===0&&W.push(R+Ee.replace(Ve,this.options.pluralSeparator)),W.push(R+Ee),T&&W.push(R+ye)),L){const Le=`${R}${this.options.contextSeparator||"_"}${u.context}`;W.push(Le),x&&(u.ordinal&&Ee.indexOf(Ve)===0&&W.push(Le+Ee.replace(Ve,this.options.pluralSeparator)),W.push(Le+Ee),T&&W.push(Le+ye))}}let ie;for(;ie=W.pop();)this.isValidLookup(c)||(h=ie,c=this.getResource(J,Y,ie,u))}))})}),{res:c,usedKey:f,exactUsedKey:h,usedLng:p,usedNS:m}}isValidLookup(r){return r!==void 0&&!(!this.options.returnNull&&r===null)&&!(!this.options.returnEmptyString&&r==="")}getResource(r,u,c,f={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(r,u,c,f):this.resourceStore.getResource(r,u,c,f)}getUsedParamsDetails(r={}){const u=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],c=r.replace&&!Ye(r.replace);let f=c?r.replace:r;if(c&&typeof r.count<"u"&&(f.count=r.count),this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),!c){f={...f};for(const h of u)delete f[h]}return f}static hasDefaultValue(r){const u="defaultValue";for(const c in r)if(Object.prototype.hasOwnProperty.call(r,c)&&u===c.substring(0,u.length)&&r[c]!==void 0)return!0;return!1}}class hE{constructor(r){this.options=r,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Dl.create("languageUtils")}getScriptPartFromCode(r){if(r=Ys(r),!r||r.indexOf("-")<0)return null;const u=r.split("-");return u.length===2||(u.pop(),u[u.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(u.join("-"))}getLanguagePartFromCode(r){if(r=Ys(r),!r||r.indexOf("-")<0)return r;const u=r.split("-");return this.formatLanguageCode(u[0])}formatLanguageCode(r){if(Ye(r)&&r.indexOf("-")>-1){let u;try{u=Intl.getCanonicalLocales(r)[0]}catch{}return u&&this.options.lowerCaseLng&&(u=u.toLowerCase()),u||(this.options.lowerCaseLng?r.toLowerCase():r)}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}isSupportedCode(r){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)>-1}getBestMatchFromCodes(r){if(!r)return null;let u;return r.forEach(c=>{if(u)return;const f=this.formatLanguageCode(c);(!this.options.supportedLngs||this.isSupportedCode(f))&&(u=f)}),!u&&this.options.supportedLngs&&r.forEach(c=>{if(u)return;const f=this.getScriptPartFromCode(c);if(this.isSupportedCode(f))return u=f;const h=this.getLanguagePartFromCode(c);if(this.isSupportedCode(h))return u=h;u=this.options.supportedLngs.find(p=>{if(p===h)return p;if(!(p.indexOf("-")<0&&h.indexOf("-")<0)&&(p.indexOf("-")>0&&h.indexOf("-")<0&&p.substring(0,p.indexOf("-"))===h||p.indexOf(h)===0&&h.length>1))return p})}),u||(u=this.getFallbackCodes(this.options.fallbackLng)[0]),u}getFallbackCodes(r,u){if(!r)return[];if(typeof r=="function"&&(r=r(u)),Ye(r)&&(r=[r]),Array.isArray(r))return r;if(!u)return r.default||[];let c=r[u];return c||(c=r[this.getScriptPartFromCode(u)]),c||(c=r[this.formatLanguageCode(u)]),c||(c=r[this.getLanguagePartFromCode(u)]),c||(c=r.default),c||[]}toResolveHierarchy(r,u){const c=this.getFallbackCodes((u===!1?[]:u)||this.options.fallbackLng||[],r),f=[],h=p=>{p&&(this.isSupportedCode(p)?f.push(p):this.logger.warn(`rejecting language code not found in supportedLngs: ${p}`))};return Ye(r)&&(r.indexOf("-")>-1||r.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&h(this.formatLanguageCode(r)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&h(this.getScriptPartFromCode(r)),this.options.load!=="currentOnly"&&h(this.getLanguagePartFromCode(r))):Ye(r)&&h(this.formatLanguageCode(r)),c.forEach(p=>{f.indexOf(p)<0&&h(this.formatLanguageCode(p))}),f}}const pE={zero:0,one:1,two:2,few:3,many:4,other:5},mE={select:i=>i===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class rO{constructor(r,u={}){this.languageUtils=r,this.options=u,this.logger=Dl.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(r,u={}){const c=Ys(r==="dev"?"en":r),f=u.ordinal?"ordinal":"cardinal",h=JSON.stringify({cleanedCode:c,type:f});if(h in this.pluralRulesCache)return this.pluralRulesCache[h];let p;try{p=new Intl.PluralRules(c,{type:f})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),mE;if(!r.match(/-|_/))return mE;const v=this.languageUtils.getLanguagePartFromCode(r);p=this.getRule(v,u)}return this.pluralRulesCache[h]=p,p}needsPlural(r,u={}){let c=this.getRule(r,u);return c||(c=this.getRule("dev",u)),c?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(r,u,c={}){return this.getSuffixes(r,c).map(f=>`${u}${f}`)}getSuffixes(r,u={}){let c=this.getRule(r,u);return c||(c=this.getRule("dev",u)),c?c.resolvedOptions().pluralCategories.sort((f,h)=>pE[f]-pE[h]).map(f=>`${this.options.prepend}${u.ordinal?`ordinal${this.options.prepend}`:""}${f}`):[]}getSuffix(r,u,c={}){const f=this.getRule(r,c);return f?`${this.options.prepend}${c.ordinal?`ordinal${this.options.prepend}`:""}${f.select(u)}`:(this.logger.warn(`no plural rule found for: ${r}`),this.getSuffix("dev",u,c))}}const gE=(i,r,u,c=".",f=!0)=>{let h=PD(i,r,u);return!h&&f&&Ye(u)&&(h=yg(i,u,c),h===void 0&&(h=yg(r,u,c))),h},ag=i=>i.replace(/\$/g,"$$$$");class yE{constructor(r={}){this.logger=Dl.create("interpolator"),this.options=r,this.format=r?.interpolation?.format||(u=>u),this.init(r)}init(r={}){r.interpolation||(r.interpolation={escapeValue:!0});const{escape:u,escapeValue:c,useRawValueToEscape:f,prefix:h,prefixEscaped:p,suffix:m,suffixEscaped:v,formatSeparator:E,unescapeSuffix:R,unescapePrefix:S,nestingPrefix:x,nestingPrefixEscaped:T,nestingSuffix:L,nestingSuffixEscaped:Q,nestingOptionsSeparator:Y,maxReplaces:J,alwaysFormat:W}=r.interpolation;this.escape=u!==void 0?u:WD,this.escapeValue=c!==void 0?c:!0,this.useRawValueToEscape=f!==void 0?f:!1,this.prefix=h?Xr(h):p||"{{",this.suffix=m?Xr(m):v||"}}",this.formatSeparator=E||",",this.unescapePrefix=R?"":S||"-",this.unescapeSuffix=this.unescapePrefix?"":R||"",this.nestingPrefix=x?Xr(x):T||Xr("$t("),this.nestingSuffix=L?Xr(L):Q||Xr(")"),this.nestingOptionsSeparator=Y||",",this.maxReplaces=J||1e3,this.alwaysFormat=W!==void 0?W:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const r=(u,c)=>u?.source===c?(u.lastIndex=0,u):new RegExp(c,"g");this.regexp=r(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=r(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=r(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(r,u,c,f){let h,p,m;const v=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},E=T=>{if(T.indexOf(this.formatSeparator)<0){const J=gE(u,v,T,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(J,void 0,c,{...f,...u,interpolationkey:T}):J}const L=T.split(this.formatSeparator),Q=L.shift().trim(),Y=L.join(this.formatSeparator).trim();return this.format(gE(u,v,Q,this.options.keySeparator,this.options.ignoreJSONStructure),Y,c,{...f,...u,interpolationkey:Q})};this.resetRegExp();const R=f?.missingInterpolationHandler||this.options.missingInterpolationHandler,S=f?.interpolation?.skipOnVariables!==void 0?f.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:T=>ag(T)},{regex:this.regexp,safeValue:T=>this.escapeValue?ag(this.escape(T)):ag(T)}].forEach(T=>{for(m=0;h=T.regex.exec(r);){const L=h[1].trim();if(p=E(L),p===void 0)if(typeof R=="function"){const Y=R(r,h,f);p=Ye(Y)?Y:""}else if(f&&Object.prototype.hasOwnProperty.call(f,L))p="";else if(S){p=h[0];continue}else this.logger.warn(`missed to pass in variable ${L} for interpolating ${r}`),p="";else!Ye(p)&&!this.useRawValueToEscape&&(p=iE(p));const Q=T.safeValue(p);if(r=r.replace(h[0],Q),S?(T.regex.lastIndex+=p.length,T.regex.lastIndex-=h[0].length):T.regex.lastIndex=0,m++,m>=this.maxReplaces)break}}),r}nest(r,u,c={}){let f,h,p;const m=(v,E)=>{const R=this.nestingOptionsSeparator;if(v.indexOf(R)<0)return v;const S=v.split(new RegExp(`${Xr(R)}[ ]*{`));let x=`{${S[1]}`;v=S[0],x=this.interpolate(x,p);const T=x.match(/'/g),L=x.match(/"/g);((T?.length??0)%2===0&&!L||(L?.length??0)%2!==0)&&(x=x.replace(/'/g,'"'));try{p=JSON.parse(x),E&&(p={...E,...p})}catch(Q){return this.logger.warn(`failed parsing options string in nesting for key ${v}`,Q),`${v}${R}${x}`}return p.defaultValue&&p.defaultValue.indexOf(this.prefix)>-1&&delete p.defaultValue,v};for(;f=this.nestingRegexp.exec(r);){let v=[];p={...c},p=p.replace&&!Ye(p.replace)?p.replace:p,p.applyPostProcessor=!1,delete p.defaultValue;const E=/{.*}/.test(f[1])?f[1].lastIndexOf("}")+1:f[1].indexOf(this.formatSeparator);if(E!==-1&&(v=f[1].slice(E).split(this.formatSeparator).map(R=>R.trim()).filter(Boolean),f[1]=f[1].slice(0,E)),h=u(m.call(this,f[1].trim(),p),p),h&&f[0]===r&&!Ye(h))return h;Ye(h)||(h=iE(h)),h||(this.logger.warn(`missed to resolve ${f[1]} for nesting ${r}`),h=""),v.length&&(h=v.reduce((R,S)=>this.format(R,S,c.lng,{...c,interpolationkey:f[1].trim()}),h.trim())),r=r.replace(f[0],h),this.regexp.lastIndex=0}return r}}const iO=i=>{let r=i.toLowerCase().trim();const u={};if(i.indexOf("(")>-1){const c=i.split("(");r=c[0].toLowerCase().trim();const f=c[1].substring(0,c[1].length-1);r==="currency"&&f.indexOf(":")<0?u.currency||(u.currency=f.trim()):r==="relativetime"&&f.indexOf(":")<0?u.range||(u.range=f.trim()):f.split(";").forEach(p=>{if(p){const[m,...v]=p.split(":"),E=v.join(":").trim().replace(/^'+|'+$/g,""),R=m.trim();u[R]||(u[R]=E),E==="false"&&(u[R]=!1),E==="true"&&(u[R]=!0),isNaN(E)||(u[R]=parseInt(E,10))}})}return{formatName:r,formatOptions:u}},vE=i=>{const r={};return(u,c,f)=>{let h=f;f&&f.interpolationkey&&f.formatParams&&f.formatParams[f.interpolationkey]&&f[f.interpolationkey]&&(h={...h,[f.interpolationkey]:void 0});const p=c+JSON.stringify(h);let m=r[p];return m||(m=i(Ys(c),f),r[p]=m),m(u)}},uO=i=>(r,u,c)=>i(Ys(u),c)(r);class sO{constructor(r={}){this.logger=Dl.create("formatter"),this.options=r,this.init(r)}init(r,u={interpolation:{}}){this.formatSeparator=u.interpolation.formatSeparator||",";const c=u.cacheInBuiltFormats?vE:uO;this.formats={number:c((f,h)=>{const p=new Intl.NumberFormat(f,{...h});return m=>p.format(m)}),currency:c((f,h)=>{const p=new Intl.NumberFormat(f,{...h,style:"currency"});return m=>p.format(m)}),datetime:c((f,h)=>{const p=new Intl.DateTimeFormat(f,{...h});return m=>p.format(m)}),relativetime:c((f,h)=>{const p=new Intl.RelativeTimeFormat(f,{...h});return m=>p.format(m,h.range||"day")}),list:c((f,h)=>{const p=new Intl.ListFormat(f,{...h});return m=>p.format(m)})}}add(r,u){this.formats[r.toLowerCase().trim()]=u}addCached(r,u){this.formats[r.toLowerCase().trim()]=vE(u)}format(r,u,c,f={}){const h=u.split(this.formatSeparator);if(h.length>1&&h[0].indexOf("(")>1&&h[0].indexOf(")")<0&&h.find(m=>m.indexOf(")")>-1)){const m=h.findIndex(v=>v.indexOf(")")>-1);h[0]=[h[0],...h.splice(1,m)].join(this.formatSeparator)}return h.reduce((m,v)=>{const{formatName:E,formatOptions:R}=iO(v);if(this.formats[E]){let S=m;try{const x=f?.formatParams?.[f.interpolationkey]||{},T=x.locale||x.lng||f.locale||f.lng||c;S=this.formats[E](m,T,{...R,...f,...x})}catch(x){this.logger.warn(x)}return S}else this.logger.warn(`there was no format function for ${E}`);return m},r)}}const cO=(i,r)=>{i.pending[r]!==void 0&&(delete i.pending[r],i.pendingCount--)};class fO extends xd{constructor(r,u,c,f={}){super(),this.backend=r,this.store=u,this.services=c,this.languageUtils=c.languageUtils,this.options=f,this.logger=Dl.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=f.maxParallelReads||10,this.readingCalls=0,this.maxRetries=f.maxRetries>=0?f.maxRetries:5,this.retryTimeout=f.retryTimeout>=1?f.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(c,f.backend,f)}queueLoad(r,u,c,f){const h={},p={},m={},v={};return r.forEach(E=>{let R=!0;u.forEach(S=>{const x=`${E}|${S}`;!c.reload&&this.store.hasResourceBundle(E,S)?this.state[x]=2:this.state[x]<0||(this.state[x]===1?p[x]===void 0&&(p[x]=!0):(this.state[x]=1,R=!1,p[x]===void 0&&(p[x]=!0),h[x]===void 0&&(h[x]=!0),v[S]===void 0&&(v[S]=!0)))}),R||(m[E]=!0)}),(Object.keys(h).length||Object.keys(p).length)&&this.queue.push({pending:p,pendingCount:Object.keys(p).length,loaded:{},errors:[],callback:f}),{toLoad:Object.keys(h),pending:Object.keys(p),toLoadLanguages:Object.keys(m),toLoadNamespaces:Object.keys(v)}}loaded(r,u,c){const f=r.split("|"),h=f[0],p=f[1];u&&this.emit("failedLoading",h,p,u),!u&&c&&this.store.addResourceBundle(h,p,c,void 0,void 0,{skipCopy:!0}),this.state[r]=u?-1:2,u&&c&&(this.state[r]=0);const m={};this.queue.forEach(v=>{KD(v.loaded,[h],p),cO(v,r),u&&v.errors.push(u),v.pendingCount===0&&!v.done&&(Object.keys(v.loaded).forEach(E=>{m[E]||(m[E]={});const R=v.loaded[E];R.length&&R.forEach(S=>{m[E][S]===void 0&&(m[E][S]=!0)})}),v.done=!0,v.errors.length?v.callback(v.errors):v.callback())}),this.emit("loaded",m),this.queue=this.queue.filter(v=>!v.done)}read(r,u,c,f=0,h=this.retryTimeout,p){if(!r.length)return p(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:r,ns:u,fcName:c,tried:f,wait:h,callback:p});return}this.readingCalls++;const m=(E,R)=>{if(this.readingCalls--,this.waitingReads.length>0){const S=this.waitingReads.shift();this.read(S.lng,S.ns,S.fcName,S.tried,S.wait,S.callback)}if(E&&R&&f<this.maxRetries){setTimeout(()=>{this.read.call(this,r,u,c,f+1,h*2,p)},h);return}p(E,R)},v=this.backend[c].bind(this.backend);if(v.length===2){try{const E=v(r,u);E&&typeof E.then=="function"?E.then(R=>m(null,R)).catch(m):m(null,E)}catch(E){m(E)}return}return v(r,u,m)}prepareLoading(r,u,c={},f){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),f&&f();Ye(r)&&(r=this.languageUtils.toResolveHierarchy(r)),Ye(u)&&(u=[u]);const h=this.queueLoad(r,u,c,f);if(!h.toLoad.length)return h.pending.length||f(),null;h.toLoad.forEach(p=>{this.loadOne(p)})}load(r,u,c){this.prepareLoading(r,u,{},c)}reload(r,u,c){this.prepareLoading(r,u,{reload:!0},c)}loadOne(r,u=""){const c=r.split("|"),f=c[0],h=c[1];this.read(f,h,"read",void 0,void 0,(p,m)=>{p&&this.logger.warn(`${u}loading namespace ${h} for language ${f} failed`,p),!p&&m&&this.logger.log(`${u}loaded namespace ${h} for language ${f}`,m),this.loaded(r,p,m)})}saveMissing(r,u,c,f,h,p={},m=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(u)){this.logger.warn(`did not save key "${c}" as the namespace "${u}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(c==null||c==="")){if(this.backend?.create){const v={...p,isUpdate:h},E=this.backend.create.bind(this.backend);if(E.length<6)try{let R;E.length===5?R=E(r,u,c,f,v):R=E(r,u,c,f),R&&typeof R.then=="function"?R.then(S=>m(null,S)).catch(m):m(null,R)}catch(R){m(R)}else E(r,u,c,f,m,v)}!r||!r[0]||this.store.addResource(r[0],u,c,f)}}}const lg=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:i=>{let r={};if(typeof i[1]=="object"&&(r=i[1]),Ye(i[1])&&(r.defaultValue=i[1]),Ye(i[2])&&(r.tDescription=i[2]),typeof i[2]=="object"||typeof i[3]=="object"){const u=i[3]||i[2];Object.keys(u).forEach(c=>{r[c]=u[c]})}return r},interpolation:{escapeValue:!0,format:i=>i,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),bE=i=>(Ye(i.ns)&&(i.ns=[i.ns]),Ye(i.fallbackLng)&&(i.fallbackLng=[i.fallbackLng]),Ye(i.fallbackNS)&&(i.fallbackNS=[i.fallbackNS]),i.supportedLngs?.indexOf?.("cimode")<0&&(i.supportedLngs=i.supportedLngs.concat(["cimode"])),typeof i.initImmediate=="boolean"&&(i.initAsync=i.initImmediate),i),cd=()=>{},dO=i=>{Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach(u=>{typeof i[u]=="function"&&(i[u]=i[u].bind(i))})},bx="__i18next_supportNoticeShown",hO=()=>typeof globalThis<"u"&&!!globalThis[bx],pO=()=>{typeof globalThis<"u"&&(globalThis[bx]=!0)},mO=i=>!!(i?.modules?.backend?.name?.indexOf("Locize")>0||i?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||i?.options?.backend?.backends&&i.options.backend.backends.some(r=>r?.name?.indexOf("Locize")>0||r?.constructor?.name?.indexOf("Locize")>0)||i?.options?.backend?.projectId||i?.options?.backend?.backendOptions&&i.options.backend.backendOptions.some(r=>r?.projectId));class Vs extends xd{constructor(r={},u){if(super(),this.options=bE(r),this.services={},this.logger=Dl,this.modules={external:[]},dO(this),u&&!this.isInitialized&&!r.isClone){if(!this.options.initAsync)return this.init(r,u),this;setTimeout(()=>{this.init(r,u)},0)}}init(r={},u){this.isInitializing=!0,typeof r=="function"&&(u=r,r={}),r.defaultNS==null&&r.ns&&(Ye(r.ns)?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const c=lg();this.options={...c,...this.options,...bE(r)},this.options.interpolation={...c.interpolation,...this.options.interpolation},r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=c.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!mO(this)&&!hO()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),pO());const f=E=>E?typeof E=="function"?new E:E:null;if(!this.options.isClone){this.modules.logger?Dl.init(f(this.modules.logger),this.options):Dl.init(null,this.options);let E;this.modules.formatter?E=this.modules.formatter:E=sO;const R=new hE(this.options);this.store=new fE(this.options.resources,this.options);const S=this.services;S.logger=Dl,S.resourceStore=this.store,S.languageUtils=R,S.pluralResolver=new rO(R,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==c.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),E&&(!this.options.interpolation.format||this.options.interpolation.format===c.interpolation.format)&&(S.formatter=f(E),S.formatter.init&&S.formatter.init(S,this.options),this.options.interpolation.format=S.formatter.format.bind(S.formatter)),S.interpolator=new yE(this.options),S.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},S.backendConnector=new fO(f(this.modules.backend),S.resourceStore,S,this.options),S.backendConnector.on("*",(T,...L)=>{this.emit(T,...L)}),this.modules.languageDetector&&(S.languageDetector=f(this.modules.languageDetector),S.languageDetector.init&&S.languageDetector.init(S,this.options.detection,this.options)),this.modules.i18nFormat&&(S.i18nFormat=f(this.modules.i18nFormat),S.i18nFormat.init&&S.i18nFormat.init(this)),this.translator=new bd(this.services,this.options),this.translator.on("*",(T,...L)=>{this.emit(T,...L)}),this.modules.external.forEach(T=>{T.init&&T.init(this)})}if(this.format=this.options.interpolation.format,u||(u=cd),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const E=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);E.length>0&&E[0]!=="dev"&&(this.options.lng=E[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(E=>{this[E]=(...R)=>this.store[E](...R)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(E=>{this[E]=(...R)=>(this.store[E](...R),this)});const m=As(),v=()=>{const E=(R,S)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),m.resolve(S),u(R,S)};if(this.languages&&!this.isInitialized)return E(null,this.t.bind(this));this.changeLanguage(this.options.lng,E)};return this.options.resources||!this.options.initAsync?v():setTimeout(v,0),m}loadResources(r,u=cd){let c=u;const f=Ye(r)?r:this.language;if(typeof r=="function"&&(c=r),!this.options.resources||this.options.partialBundledLanguages){if(f?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return c();const h=[],p=m=>{if(!m||m==="cimode")return;this.services.languageUtils.toResolveHierarchy(m).forEach(E=>{E!=="cimode"&&h.indexOf(E)<0&&h.push(E)})};f?p(f):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(v=>p(v)),this.options.preload?.forEach?.(m=>p(m)),this.services.backendConnector.load(h,this.options.ns,m=>{!m&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),c(m)})}else c(null)}reloadResources(r,u,c){const f=As();return typeof r=="function"&&(c=r,r=void 0),typeof u=="function"&&(c=u,u=void 0),r||(r=this.languages),u||(u=this.options.ns),c||(c=cd),this.services.backendConnector.reload(r,u,h=>{f.resolve(),c(h)}),f}use(r){if(!r)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!r.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return r.type==="backend"&&(this.modules.backend=r),(r.type==="logger"||r.log&&r.warn&&r.error)&&(this.modules.logger=r),r.type==="languageDetector"&&(this.modules.languageDetector=r),r.type==="i18nFormat"&&(this.modules.i18nFormat=r),r.type==="postProcessor"&&yx.addPostProcessor(r),r.type==="formatter"&&(this.modules.formatter=r),r.type==="3rdParty"&&this.modules.external.push(r),this}setResolvedLanguage(r){if(!(!r||!this.languages)&&!(["cimode","dev"].indexOf(r)>-1)){for(let u=0;u<this.languages.length;u++){const c=this.languages[u];if(!(["cimode","dev"].indexOf(c)>-1)&&this.store.hasLanguageSomeTranslations(c)){this.resolvedLanguage=c;break}}!this.resolvedLanguage&&this.languages.indexOf(r)<0&&this.store.hasLanguageSomeTranslations(r)&&(this.resolvedLanguage=r,this.languages.unshift(r))}}changeLanguage(r,u){this.isLanguageChangingTo=r;const c=As();this.emit("languageChanging",r);const f=m=>{this.language=m,this.languages=this.services.languageUtils.toResolveHierarchy(m),this.resolvedLanguage=void 0,this.setResolvedLanguage(m)},h=(m,v)=>{v?this.isLanguageChangingTo===r&&(f(v),this.translator.changeLanguage(v),this.isLanguageChangingTo=void 0,this.emit("languageChanged",v),this.logger.log("languageChanged",v)):this.isLanguageChangingTo=void 0,c.resolve((...E)=>this.t(...E)),u&&u(m,(...E)=>this.t(...E))},p=m=>{!r&&!m&&this.services.languageDetector&&(m=[]);const v=Ye(m)?m:m&&m[0],E=this.store.hasLanguageSomeTranslations(v)?v:this.services.languageUtils.getBestMatchFromCodes(Ye(m)?[m]:m);E&&(this.language||f(E),this.translator.language||this.translator.changeLanguage(E),this.services.languageDetector?.cacheUserLanguage?.(E)),this.loadResources(E,R=>{h(R,E)})};return!r&&this.services.languageDetector&&!this.services.languageDetector.async?p(this.services.languageDetector.detect()):!r&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(p):this.services.languageDetector.detect(p):p(r),c}getFixedT(r,u,c){const f=(h,p,...m)=>{let v;typeof p!="object"?v=this.options.overloadTranslationOptionHandler([h,p].concat(m)):v={...p},v.lng=v.lng||f.lng,v.lngs=v.lngs||f.lngs,v.ns=v.ns||f.ns,v.keyPrefix!==""&&(v.keyPrefix=v.keyPrefix||c||f.keyPrefix);const E=this.options.keySeparator||".";let R;return v.keyPrefix&&Array.isArray(h)?R=h.map(S=>(typeof S=="function"&&(S=vg(S,{...this.options,...p})),`${v.keyPrefix}${E}${S}`)):(typeof h=="function"&&(h=vg(h,{...this.options,...p})),R=v.keyPrefix?`${v.keyPrefix}${E}${h}`:h),this.t(R,v)};return Ye(r)?f.lng=r:f.lngs=r,f.ns=u,f.keyPrefix=c,f}t(...r){return this.translator?.translate(...r)}exists(...r){return this.translator?.exists(...r)}setDefaultNamespace(r){this.options.defaultNS=r}hasLoadedNamespace(r,u={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const c=u.lng||this.resolvedLanguage||this.languages[0],f=this.options?this.options.fallbackLng:!1,h=this.languages[this.languages.length-1];if(c.toLowerCase()==="cimode")return!0;const p=(m,v)=>{const E=this.services.backendConnector.state[`${m}|${v}`];return E===-1||E===0||E===2};if(u.precheck){const m=u.precheck(this,p);if(m!==void 0)return m}return!!(this.hasResourceBundle(c,r)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||p(c,r)&&(!f||p(h,r)))}loadNamespaces(r,u){const c=As();return this.options.ns?(Ye(r)&&(r=[r]),r.forEach(f=>{this.options.ns.indexOf(f)<0&&this.options.ns.push(f)}),this.loadResources(f=>{c.resolve(),u&&u(f)}),c):(u&&u(),Promise.resolve())}loadLanguages(r,u){const c=As();Ye(r)&&(r=[r]);const f=this.options.preload||[],h=r.filter(p=>f.indexOf(p)<0&&this.services.languageUtils.isSupportedCode(p));return h.length?(this.options.preload=f.concat(h),this.loadResources(p=>{c.resolve(),u&&u(p)}),c):(u&&u(),Promise.resolve())}dir(r){if(r||(r=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!r)return"rtl";try{const f=new Intl.Locale(r);if(f&&f.getTextInfo){const h=f.getTextInfo();if(h&&h.direction)return h.direction}}catch{}const u=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],c=this.services?.languageUtils||new hE(lg());return r.toLowerCase().indexOf("-latn")>1?"ltr":u.indexOf(c.getLanguagePartFromCode(r))>-1||r.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(r={},u){const c=new Vs(r,u);return c.createInstance=Vs.createInstance,c}cloneInstance(r={},u=cd){const c=r.forkResourceStore;c&&delete r.forkResourceStore;const f={...this.options,...r,isClone:!0},h=new Vs(f);if((r.debug!==void 0||r.prefix!==void 0)&&(h.logger=h.logger.clone(r)),["store","services","language"].forEach(m=>{h[m]=this[m]}),h.services={...this.services},h.services.utils={hasLoadedNamespace:h.hasLoadedNamespace.bind(h)},c){const m=Object.keys(this.store.data).reduce((v,E)=>(v[E]={...this.store.data[E]},v[E]=Object.keys(v[E]).reduce((R,S)=>(R[S]={...v[E][S]},R),v[E]),v),{});h.store=new fE(m,f),h.services.resourceStore=h.store}if(r.interpolation){const v={...lg().interpolation,...this.options.interpolation,...r.interpolation},E={...f,interpolation:v};h.services.interpolator=new yE(E)}return h.translator=new bd(h.services,f),h.translator.on("*",(m,...v)=>{h.emit(m,...v)}),h.init(f,u),h.translator.options=f,h.translator.backendConnector.services.utils={hasLoadedNamespace:h.hasLoadedNamespace.bind(h)},h}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const zn=Vs.createInstance();zn.createInstance;zn.dir;zn.init;zn.loadResources;zn.reloadResources;zn.use;zn.changeLanguage;zn.getFixedT;zn.t;zn.exists;zn.setDefaultNamespace;zn.hasLoadedNamespace;zn.loadNamespaces;zn.loadLanguages;var j=Xs();const Ls=GD(j),gO=qD({__proto__:null,default:Ls},[j]),yO=(i,r,u,c)=>{const f=[u,{code:r,...c||{}}];if(i?.services?.logger?.forward)return i.services.logger.forward(f,"warn","react-i18next::",!0);Zr(f[0])&&(f[0]=`react-i18next:: ${f[0]}`),i?.services?.logger?.warn?i.services.logger.warn(...f):console?.warn&&console.warn(...f)},SE={},Sx=(i,r,u,c)=>{Zr(u)&&SE[u]||(Zr(u)&&(SE[u]=new Date),yO(i,r,u,c))},Ex=(i,r)=>()=>{if(i.isInitialized)r();else{const u=()=>{setTimeout(()=>{i.off("initialized",u)},0),r()};i.on("initialized",u)}},bg=(i,r,u)=>{i.loadNamespaces(r,Ex(i,u))},EE=(i,r,u,c)=>{if(Zr(u)&&(u=[u]),i.options.preload&&i.options.preload.indexOf(r)>-1)return bg(i,u,c);u.forEach(f=>{i.options.ns.indexOf(f)<0&&i.options.ns.push(f)}),i.loadLanguages(r,Ex(i,c))},vO=(i,r,u={})=>!r.languages||!r.languages.length?(Sx(r,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:r.languages}),!0):r.hasLoadedNamespace(i,{lng:u.lng,precheck:(c,f)=>{if(u.bindI18n&&u.bindI18n.indexOf("languageChanging")>-1&&c.services.backendConnector.backend&&c.isLanguageChangingTo&&!f(c.isLanguageChangingTo,i))return!1}}),Zr=i=>typeof i=="string",bO=i=>typeof i=="object"&&i!==null,SO=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,EO={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},xO=i=>EO[i],RO=i=>i.replace(SO,xO);let Sg={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:RO,transDefaultProps:void 0};const wO=(i={})=>{Sg={...Sg,...i}},TO=()=>Sg;let xx;const DO=i=>{xx=i},OO=()=>xx,CO={type:"3rdParty",init(i){wO(i.options.react),DO(i)}},AO=j.createContext();class NO{constructor(){this.usedNamespaces={}}addUsedNamespaces(r){r.forEach(u=>{this.usedNamespaces[u]||(this.usedNamespaces[u]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var og={exports:{}},rg={},xE;function _O(){if(xE)return rg;xE=1;return(function(){function i(T,L){return T===L&&(T!==0||1/T===1/L)||T!==T&&L!==L}function r(T,L){R||f.startTransition===void 0||(R=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var Q=L();if(!S){var Y=L();h(Q,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),S=!0)}Y=p({inst:{value:Q,getSnapshot:L}});var J=Y[0].inst,W=Y[1];return v(function(){J.value=Q,J.getSnapshot=L,u(J)&&W({inst:J})},[T,Q,L]),m(function(){return u(J)&&W({inst:J}),T(function(){u(J)&&W({inst:J})})},[T]),E(Q),Q}function u(T){var L=T.getSnapshot;T=T.value;try{var Q=L();return!h(T,Q)}catch{return!0}}function c(T,L){return L()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var f=Xs(),h=typeof Object.is=="function"?Object.is:i,p=f.useState,m=f.useEffect,v=f.useLayoutEffect,E=f.useDebugValue,R=!1,S=!1,x=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:r;rg.useSyncExternalStore=f.useSyncExternalStore!==void 0?f.useSyncExternalStore:x,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),rg}var RE;function MO(){return RE||(RE=1,og.exports=_O()),og.exports}var UO=MO();const zO=(i,r)=>Zr(r)?r:bO(r)&&Zr(r.defaultValue)?r.defaultValue:Array.isArray(i)?i[i.length-1]:i,LO={t:zO,ready:!1},jO=()=>()=>{},Ut=(i,r={})=>{const{i18n:u}=r,{i18n:c,defaultNS:f}=j.useContext(AO)||{},h=u||c||OO();h&&!h.reportNamespaces&&(h.reportNamespaces=new NO),h||Sx(h,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const p=j.useMemo(()=>({...TO(),...h?.options?.react,...r}),[h,r]),{useSuspense:m,keyPrefix:v}=p,E=f||h?.options?.defaultNS,R=Zr(E)?[E]:E||["translation"],S=j.useMemo(()=>R,R);h?.reportNamespaces?.addUsedNamespaces?.(S);const x=j.useRef(0),T=j.useCallback(ae=>{if(!h)return jO;const{bindI18n:X,bindI18nStore:Te}=p,I=()=>{x.current+=1,ae()};return X&&h.on(X,I),Te&&h.store.on(Te,I),()=>{X&&X.split(" ").forEach(ce=>h.off(ce,I)),Te&&Te.split(" ").forEach(ce=>h.store.off(ce,I))}},[h,p]),L=j.useRef(),Q=j.useCallback(()=>{if(!h)return LO;const ae=!!(h.isInitialized||h.initializedStoreOnce)&&S.every(Ae=>vO(Ae,h,p)),X=r.lng||h.language,Te=x.current,I=L.current;if(I&&I.ready===ae&&I.lng===X&&I.keyPrefix===v&&I.revision===Te)return I;const xe={t:h.getFixedT(X,p.nsMode==="fallback"?S:S[0],v),ready:ae,lng:X,keyPrefix:v,revision:Te};return L.current=xe,xe},[h,S,v,p,r.lng]),[Y,J]=j.useState(0),{t:W,ready:ie}=UO.useSyncExternalStore(T,Q,Q);j.useEffect(()=>{if(h&&!ie&&!m){const ae=()=>J(X=>X+1);r.lng?EE(h,r.lng,S,ae):bg(h,S,ae)}},[h,r.lng,S,ie,m,Y]);const Ee=h||{},ye=j.useRef(null),Ve=j.useRef(),Le=ae=>{const X=Object.getOwnPropertyDescriptors(ae);X.__original&&delete X.__original;const Te=Object.create(Object.getPrototypeOf(ae),X);if(!Object.prototype.hasOwnProperty.call(Te,"__original"))try{Object.defineProperty(Te,"__original",{value:ae,writable:!1,enumerable:!1,configurable:!1})}catch{}return Te},M=j.useMemo(()=>{const ae=Ee,X=ae?.language;let Te=ae;ae&&(ye.current&&ye.current.__original===ae?Ve.current!==X?(Te=Le(ae),ye.current=Te,Ve.current=X):Te=ye.current:(Te=Le(ae),ye.current=Te,Ve.current=X));const I=[W,Te,ie];return I.t=W,I.i18n=Te,I.ready=ie,I},[W,Ee,ie,Ee.resolvedLanguage,Ee.language,Ee.languages]);if(h&&m&&!ie)throw new Promise(ae=>{const X=()=>ae();r.lng?EE(h,r.lng,S,X):bg(h,S,X)});return M},{slice:HO,forEach:kO}=[];function VO(i){return kO.call(HO.call(arguments,1),r=>{if(r)for(const u in r)i[u]===void 0&&(i[u]=r[u])}),i}function BO(i){return typeof i!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(u=>u.test(i))}const wE=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,YO=function(i,r){const c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},f=encodeURIComponent(r);let h=`${i}=${f}`;if(c.maxAge>0){const p=c.maxAge-0;if(Number.isNaN(p))throw new Error("maxAge should be a Number");h+=`; Max-Age=${Math.floor(p)}`}if(c.domain){if(!wE.test(c.domain))throw new TypeError("option domain is invalid");h+=`; Domain=${c.domain}`}if(c.path){if(!wE.test(c.path))throw new TypeError("option path is invalid");h+=`; Path=${c.path}`}if(c.expires){if(typeof c.expires.toUTCString!="function")throw new TypeError("option expires is invalid");h+=`; Expires=${c.expires.toUTCString()}`}if(c.httpOnly&&(h+="; HttpOnly"),c.secure&&(h+="; Secure"),c.sameSite)switch(typeof c.sameSite=="string"?c.sameSite.toLowerCase():c.sameSite){case!0:h+="; SameSite=Strict";break;case"lax":h+="; SameSite=Lax";break;case"strict":h+="; SameSite=Strict";break;case"none":h+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return c.partitioned&&(h+="; Partitioned"),h},TE={create(i,r,u,c){let f=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};u&&(f.expires=new Date,f.expires.setTime(f.expires.getTime()+u*60*1e3)),c&&(f.domain=c),document.cookie=YO(i,r,f)},read(i){const r=`${i}=`,u=document.cookie.split(";");for(let c=0;c<u.length;c++){let f=u[c];for(;f.charAt(0)===" ";)f=f.substring(1,f.length);if(f.indexOf(r)===0)return f.substring(r.length,f.length)}return null},remove(i,r){this.create(i,"",-1,r)}};var $O={name:"cookie",lookup(i){let{lookupCookie:r}=i;if(r&&typeof document<"u")return TE.read(r)||void 0},cacheUserLanguage(i,r){let{lookupCookie:u,cookieMinutes:c,cookieDomain:f,cookieOptions:h}=r;u&&typeof document<"u"&&TE.create(u,i,c,f,h)}},qO={name:"querystring",lookup(i){let{lookupQuerystring:r}=i,u;if(typeof window<"u"){let{search:c}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(c=window.location.hash.substring(window.location.hash.indexOf("?")));const h=c.substring(1).split("&");for(let p=0;p<h.length;p++){const m=h[p].indexOf("=");m>0&&h[p].substring(0,m)===r&&(u=h[p].substring(m+1))}}return u}},GO={name:"hash",lookup(i){let{lookupHash:r,lookupFromHashIndex:u}=i,c;if(typeof window<"u"){const{hash:f}=window.location;if(f&&f.length>2){const h=f.substring(1);if(r){const p=h.split("&");for(let m=0;m<p.length;m++){const v=p[m].indexOf("=");v>0&&p[m].substring(0,v)===r&&(c=p[m].substring(v+1))}}if(c)return c;if(!c&&u>-1){const p=f.match(/\/([a-zA-Z-]*)/g);return Array.isArray(p)?p[typeof u=="number"?u:0]?.replace("/",""):void 0}}}return c}};let Ji=null;const DE=()=>{if(Ji!==null)return Ji;try{if(Ji=typeof window<"u"&&window.localStorage!==null,!Ji)return!1;const i="i18next.translate.boo";window.localStorage.setItem(i,"foo"),window.localStorage.removeItem(i)}catch{Ji=!1}return Ji};var XO={name:"localStorage",lookup(i){let{lookupLocalStorage:r}=i;if(r&&DE())return window.localStorage.getItem(r)||void 0},cacheUserLanguage(i,r){let{lookupLocalStorage:u}=r;u&&DE()&&window.localStorage.setItem(u,i)}};let Fi=null;const OE=()=>{if(Fi!==null)return Fi;try{if(Fi=typeof window<"u"&&window.sessionStorage!==null,!Fi)return!1;const i="i18next.translate.boo";window.sessionStorage.setItem(i,"foo"),window.sessionStorage.removeItem(i)}catch{Fi=!1}return Fi};var QO={name:"sessionStorage",lookup(i){let{lookupSessionStorage:r}=i;if(r&&OE())return window.sessionStorage.getItem(r)||void 0},cacheUserLanguage(i,r){let{lookupSessionStorage:u}=r;u&&OE()&&window.sessionStorage.setItem(u,i)}},ZO={name:"navigator",lookup(i){const r=[];if(typeof navigator<"u"){const{languages:u,userLanguage:c,language:f}=navigator;if(u)for(let h=0;h<u.length;h++)r.push(u[h]);c&&r.push(c),f&&r.push(f)}return r.length>0?r:void 0}},JO={name:"htmlTag",lookup(i){let{htmlTag:r}=i,u;const c=r||(typeof document<"u"?document.documentElement:null);return c&&typeof c.getAttribute=="function"&&(u=c.getAttribute("lang")),u}},FO={name:"path",lookup(i){let{lookupFromPathIndex:r}=i;if(typeof window>"u")return;const u=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(u)?u[typeof r=="number"?r:0]?.replace("/",""):void 0}},KO={name:"subdomain",lookup(i){let{lookupFromSubdomainIndex:r}=i;const u=typeof r=="number"?r+1:1,c=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(c)return c[u]}};let Rx=!1;try{document.cookie,Rx=!0}catch{}const wx=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];Rx||wx.splice(1,1);const PO=()=>({order:wx,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:i=>i});class Tx{constructor(r){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(r,u)}init(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r,this.options=VO(u,this.options||{},PO()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=f=>f.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=c,this.addDetector($O),this.addDetector(qO),this.addDetector(XO),this.addDetector(QO),this.addDetector(ZO),this.addDetector(JO),this.addDetector(FO),this.addDetector(KO),this.addDetector(GO)}addDetector(r){return this.detectors[r.name]=r,this}detect(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,u=[];return r.forEach(c=>{if(this.detectors[c]){let f=this.detectors[c].lookup(this.options);f&&typeof f=="string"&&(f=[f]),f&&(u=u.concat(f))}}),u=u.filter(c=>c!=null&&!BO(c)).map(c=>this.options.convertDetectedLanguage(c)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?u:u.length>0?u[0]:null}cacheUserLanguage(r){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;u&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||u.forEach(c=>{this.detectors[c]&&this.detectors[c].cacheUserLanguage(r,this.options)}))}}Tx.type="languageDetector";const IO={"nav.home":"Home","nav.studio":"Studio","nav.docs":"Docs","nav.login":"Login","nav.logout":"Logout","header.status.connected":"Connected","header.status.disconnected":"Disconnected","header.status.reconnecting":"Reconnecting","footer.copyright":"GitHub · @Context4AI {{year}}. All rights reserved.","footer.tagline":"Knowledge Factory","footer.theme.dark":"Dark","footer.theme.light":"Light","footer.theme.system":"System","studio.sidebar.sources":"Sources","studio.sidebar.modeling":"Modeling","studio.sidebar.brain":"Brain","studio.sidebar.discovery":"Discovery","studio.sidebar.sharing":"Sharing","studio.sidebar.collaboration":"Collaboration","studio.sidebar.settings":"Settings","placeholder.coming":"Coming in {{version}}","page.login.title":"Login","page.login.description":"Authentication and user management.","page.docs.title":"Docs","page.docs.description":"Public documentation portal.","page.sources.title":"Sources","page.sources.description":"Add code repositories, documents, and other input materials for your brain to index.","page.modeling.title":"Modeling","page.modeling.description":"Model indexed content with AI — only what stands up to scrutiny gets written to the knowledge graph.","page.brain.title":"Brain","page.brain.description":"All modeled knowledge lives here — browse, search, analyze, and use it anytime.","page.discovery.title":"Discovery","page.discovery.description":"Explore knowledge curated by others and add what's useful to your own brain.","page.sharing.title":"Sharing","page.sharing.description":"Package and export knowledge from your brain for others and AI to use directly.","page.collaboration.title":"Collaboration","page.collaboration.description":"Stay in sync with other brains — get notified on updates, no manual transfer needed.","page.settings.title":"Settings","page.settings.description":"Manage workspace members and configuration.","page.code_setup.title":"Code Setup","page.code_setup.description":"Repository selection and configuration for code modeling.","page.code_compile.title":"Code Compile","page.code_compile.description":"Compilation progress tracking for code modeling.","page.code_review.title":"Code Review","page.code_review.description":"Review and approve modeling results.","page.code_result.title":"Code Result","page.code_result.description":"View final modeling results and generated knowledge graph.","home.hero.title":"Context For AI","home.hero.description":"Transform code repositories and business documents into structured knowledge graphs.","home.hero.cta.studio":"Enter Studio","home.hero.cta.github":"GitHub","notfound.title":"404","notfound.description":"The page you're looking for doesn't exist.","notfound.back":"Back to Home"},WO={"nav.home":"首页","nav.studio":"工作台","nav.docs":"文档","nav.login":"登录","nav.logout":"退出登录","header.status.connected":"已连接","header.status.disconnected":"已断开","header.status.reconnecting":"重连中","footer.copyright":"GitHub · @Context4AI {{year}}. 版权所有 ","footer.tagline":"知识工厂","footer.theme.dark":"暗色","footer.theme.light":"亮色","footer.theme.system":"跟随系统","studio.sidebar.sources":"知识索引","studio.sidebar.modeling":"知识建模","studio.sidebar.brain":"知识大脑","studio.sidebar.discovery":"发现知识","studio.sidebar.sharing":"分享知识","studio.sidebar.collaboration":"知识协同","studio.sidebar.settings":"设置","placeholder.coming":"计划在 {{version}} 版本实现","page.login.title":"登录","page.login.description":"身份验证与用户管理。","page.docs.title":"文档","page.docs.description":"公开文档门户。","page.sources.title":"知识索引","page.sources.description":"添加代码仓库、文档等输入材料,让大脑完成初步索引。","page.modeling.title":"知识建模","page.modeling.description":"和 AI 一起对索引内容建模,只有经得起推敲的才写入知识图谱。","page.brain.title":"知识大脑","page.brain.description":"建模完成的全部知识都在这里——浏览、搜索、分析,随时调用。","page.discovery.title":"发现知识","page.discovery.description":"看看别人整理好的知识,发现有用的一键补充到自己的大脑。","page.sharing.title":"分享知识","page.sharing.description":"把大脑中的知识打包输出,让别人和 AI 都能直接使用。","page.collaboration.title":"知识协同","page.collaboration.description":"和其他大脑保持同步,知识更新时自动通知,不用手动搬运。","page.settings.title":"设置","page.settings.description":"管理大脑的成员和配置。","page.code_setup.title":"代码设置","page.code_setup.description":"代码建模的仓库选择与配置。","page.code_compile.title":"代码编译","page.code_compile.description":"代码建模的编译进度追踪。","page.code_review.title":"代码审查","page.code_review.description":"审查并确认建模结果。","page.code_result.title":"代码结果","page.code_result.description":"查看最终建模结果与生成的知识图谱。","home.hero.title":"Context For AI","home.hero.description":"将代码仓库和业务文档转化为结构化知识图谱。","home.hero.cta.studio":"进入工作台","home.hero.cta.github":"GitHub","notfound.title":"404","notfound.description":"您访问的页面不存在。","notfound.back":"返回首页"};zn.use(Tx).use(CO).init({resources:{en:{translation:IO},zh:{translation:WO}},fallbackLng:"en",interpolation:{escapeValue:!1},detection:{order:["localStorage"],caches:["localStorage"],lookupLocalStorage:"lang"}});var ig={exports:{}},Ns={},ug={exports:{}},sg={},CE;function eC(){return CE||(CE=1,(function(i){(function(){function r(){if(ye=!1,ae){var Z=i.unstable_now();I=Z;var oe=!0;try{e:{ie=!1,Ee&&(Ee=!1,Le(X),X=-1),W=!0;var fe=J;try{t:{for(p(Z),Y=c(T);Y!==null&&!(Y.expirationTime>Z&&v());){var de=Y.callback;if(typeof de=="function"){Y.callback=null,J=Y.priorityLevel;var $e=de(Y.expirationTime<=Z);if(Z=i.unstable_now(),typeof $e=="function"){Y.callback=$e,p(Z),oe=!0;break t}Y===c(T)&&f(T),p(Z)}else f(T);Y=c(T)}if(Y!==null)oe=!0;else{var $=c(L);$!==null&&E(m,$.startTime-Z),oe=!1}}break e}finally{Y=null,J=fe,W=!1}oe=void 0}}finally{oe?ce():ae=!1}}}function u(Z,oe){var fe=Z.length;Z.push(oe);e:for(;0<fe;){var de=fe-1>>>1,$e=Z[de];if(0<h($e,oe))Z[de]=oe,Z[fe]=$e,fe=de;else break e}}function c(Z){return Z.length===0?null:Z[0]}function f(Z){if(Z.length===0)return null;var oe=Z[0],fe=Z.pop();if(fe!==oe){Z[0]=fe;e:for(var de=0,$e=Z.length,$=$e>>>1;de<$;){var he=2*(de+1)-1,Me=Z[he],Re=he+1,pt=Z[Re];if(0>h(Me,fe))Re<$e&&0>h(pt,Me)?(Z[de]=pt,Z[Re]=fe,de=Re):(Z[de]=Me,Z[he]=fe,de=he);else if(Re<$e&&0>h(pt,fe))Z[de]=pt,Z[Re]=fe,de=Re;else break e}}return oe}function h(Z,oe){var fe=Z.sortIndex-oe.sortIndex;return fe!==0?fe:Z.id-oe.id}function p(Z){for(var oe=c(L);oe!==null;){if(oe.callback===null)f(L);else if(oe.startTime<=Z)f(L),oe.sortIndex=oe.expirationTime,u(T,oe);else break;oe=c(L)}}function m(Z){if(Ee=!1,p(Z),!ie)if(c(T)!==null)ie=!0,ae||(ae=!0,ce());else{var oe=c(L);oe!==null&&E(m,oe.startTime-Z)}}function v(){return ye?!0:!(i.unstable_now()-I<Te)}function E(Z,oe){X=Ve(function(){Z(i.unstable_now())},oe)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var R=performance;i.unstable_now=function(){return R.now()}}else{var S=Date,x=S.now();i.unstable_now=function(){return S.now()-x}}var T=[],L=[],Q=1,Y=null,J=3,W=!1,ie=!1,Ee=!1,ye=!1,Ve=typeof setTimeout=="function"?setTimeout:null,Le=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null,ae=!1,X=-1,Te=5,I=-1;if(typeof M=="function")var ce=function(){M(r)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,Ae=xe.port2;xe.port1.onmessage=r,ce=function(){Ae.postMessage(null)}}else ce=function(){Ve(r,0)};i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(Z){Z.callback=null},i.unstable_forceFrameRate=function(Z){0>Z||125<Z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Te=0<Z?Math.floor(1e3/Z):5},i.unstable_getCurrentPriorityLevel=function(){return J},i.unstable_next=function(Z){switch(J){case 1:case 2:case 3:var oe=3;break;default:oe=J}var fe=J;J=oe;try{return Z()}finally{J=fe}},i.unstable_requestPaint=function(){ye=!0},i.unstable_runWithPriority=function(Z,oe){switch(Z){case 1:case 2:case 3:case 4:case 5:break;default:Z=3}var fe=J;J=Z;try{return oe()}finally{J=fe}},i.unstable_scheduleCallback=function(Z,oe,fe){var de=i.unstable_now();switch(typeof fe=="object"&&fe!==null?(fe=fe.delay,fe=typeof fe=="number"&&0<fe?de+fe:de):fe=de,Z){case 1:var $e=-1;break;case 2:$e=250;break;case 5:$e=1073741823;break;case 4:$e=1e4;break;default:$e=5e3}return $e=fe+$e,Z={id:Q++,callback:oe,priorityLevel:Z,startTime:fe,expirationTime:$e,sortIndex:-1},fe>de?(Z.sortIndex=fe,u(L,Z),c(T)===null&&Z===c(L)&&(Ee?(Le(X),X=-1):Ee=!0,E(m,fe-de))):(Z.sortIndex=$e,u(T,Z),ie||W||(ie=!0,ae||(ae=!0,ce()))),Z},i.unstable_shouldYield=v,i.unstable_wrapCallback=function(Z){var oe=J;return function(){var fe=J;J=oe;try{return Z.apply(this,arguments)}finally{J=fe}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(sg)),sg}var AE;function tC(){return AE||(AE=1,ug.exports=eC()),ug.exports}var cg={exports:{}},Sn={},NE;function nC(){if(NE)return Sn;NE=1;return(function(){function i(){}function r(S){return""+S}function u(S,x,T){var L=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(L);var Q=!1}catch{Q=!0}return Q&&(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&&L[Symbol.toStringTag]||L.constructor.name||"Object"),r(L)),{$$typeof:E,key:L==null?null:""+L,children:S,containerInfo:x,implementation:T}}function c(S,x){if(S==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}function f(S){return S===null?"`null`":S===void 0?"`undefined`":S===""?"an empty string":'something with type "'+typeof S+'"'}function h(S){return S===null?"`null`":S===void 0?"`undefined`":S===""?"an empty string":typeof S=="string"?JSON.stringify(S):typeof S=="number"?"`"+S+"`":'something with type "'+typeof S+'"'}function p(){var S=R.H;return S===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:
19
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
20
+ 2. You might be breaking the Rules of Hooks
21
+ 3. You might have more than one copy of React in the same app
22
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),S}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var m=Xs(),v={d:{f:i,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},E=Symbol.for("react.portal"),R=m.__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"),Sn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=v,Sn.createPortal=function(S,x){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)throw Error("Target container is not a DOM element.");return u(S,x,null,T)},Sn.flushSync=function(S){var x=R.T,T=v.p;try{if(R.T=null,v.p=2,S)return S()}finally{R.T=x,v.p=T,v.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.")}},Sn.preconnect=function(S,x){typeof S=="string"&&S?x!=null&&typeof x!="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.",h(x)):x!=null&&typeof x.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.",f(x.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(S)),typeof S=="string"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,v.d.C(S,x))},Sn.prefetchDNS=function(S){if(typeof S!="string"||!S)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(S));else if(1<arguments.length){var x=arguments[1];typeof x=="object"&&x.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`.",h(x)):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`.",h(x))}typeof S=="string"&&v.d.D(S)},Sn.preinit=function(S,x){if(typeof S=="string"&&S?x==null||typeof x!="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.",h(x)):x.as!=="style"&&x.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".',h(x.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(S)),typeof S=="string"&&x&&typeof x.as=="string"){var T=x.as,L=c(T,x.crossOrigin),Q=typeof x.integrity=="string"?x.integrity:void 0,Y=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;T==="style"?v.d.S(S,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:L,integrity:Q,fetchPriority:Y}):T==="script"&&v.d.X(S,{crossOrigin:L,integrity:Q,fetchPriority:Y,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},Sn.preinitModule=function(S,x){var T="";typeof S=="string"&&S||(T+=" The `href` argument encountered was "+f(S)+"."),x!==void 0&&typeof x!="object"?T+=" The `options` argument encountered was "+f(x)+".":x&&"as"in x&&x.as!=="script"&&(T+=" The `as` option encountered was "+h(x.as)+"."),T?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",T):(T=x&&typeof x.as=="string"?x.as:"script",T)==="script"||(T=h(T),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)',T,S)),typeof S=="string"&&(typeof x=="object"&&x!==null?(x.as==null||x.as==="script")&&(T=c(x.as,x.crossOrigin),v.d.M(S,{crossOrigin:T,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})):x==null&&v.d.M(S))},Sn.preload=function(S,x){var T="";if(typeof S=="string"&&S||(T+=" The `href` argument encountered was "+f(S)+"."),x==null||typeof x!="object"?T+=" The `options` argument encountered was "+f(x)+".":typeof x.as=="string"&&x.as||(T+=" The `as` option encountered was "+f(x.as)+"."),T&&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',T),typeof S=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){T=x.as;var L=c(T,x.crossOrigin);v.d.L(S,T,{crossOrigin:L,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0,type:typeof x.type=="string"?x.type:void 0,fetchPriority:typeof x.fetchPriority=="string"?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy=="string"?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet=="string"?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes=="string"?x.imageSizes:void 0,media:typeof x.media=="string"?x.media:void 0})}},Sn.preloadModule=function(S,x){var T="";typeof S=="string"&&S||(T+=" The `href` argument encountered was "+f(S)+"."),x!==void 0&&typeof x!="object"?T+=" The `options` argument encountered was "+f(x)+".":x&&"as"in x&&typeof x.as!="string"&&(T+=" The `as` option encountered was "+f(x.as)+"."),T&&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',T),typeof S=="string"&&(x?(T=c(x.as,x.crossOrigin),v.d.m(S,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:T,integrity:typeof x.integrity=="string"?x.integrity:void 0})):v.d.m(S))},Sn.requestFormReset=function(S){v.d.r(S)},Sn.unstable_batchedUpdates=function(S,x){return S(x)},Sn.useFormState=function(S,x,T){return p().useFormState(S,x,T)},Sn.useFormStatus=function(){return p().useHostTransitionStatus()},Sn.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Sn}var _E;function aC(){return _E||(_E=1,cg.exports=nC()),cg.exports}var ME;function lC(){if(ME)return Ns;ME=1;return(function(){function i(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function r(e,t,n,a){if(n>=t.length)return a;var l=t[n],o=Kt(e)?e.slice():Fe({},e);return o[l]=r(e[l],t,n+1,a),o}function u(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 c(e,t,n,0)}}function c(e,t,n,a){var l=t[a],o=Kt(e)?e.slice():Fe({},e);return a+1===t.length?(o[n[a]]=o[l],Kt(o)?o.splice(l,1):delete o[l]):o[l]=c(e[l],t,n,a+1),o}function f(e,t,n){var a=t[n],l=Kt(e)?e.slice():Fe({},e);return n+1===t.length?(Kt(l)?l.splice(a,1):delete l[a],l):(l[a]=f(e[a],t,n+1),l)}function h(){return!1}function p(){return null}function m(){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 v(){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 E(){}function R(){}function S(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function x(e,t,n,a){return new NR(e,t,n,a)}function T(e,t){e.context===ko&&(bp(e.current,2,t,e,null,null),oi())}function L(e,t){if(ya!==null){var n=t.staleFamilies;t=t.updatedFamilies,wu(),sy(e.current,t,n),oi()}}function Q(e){ya=e}function Y(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function J(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 W(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 ie(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Ee(e){if(J(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ye(e){var t=e.alternate;if(!t){if(t=J(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 Ee(l),e;if(o===a)return Ee(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 s=!1,d=l.child;d;){if(d===n){s=!0,n=l,a=o;break}if(d===a){s=!0,a=l,n=o;break}d=d.sibling}if(!s){for(d=o.child;d;){if(d===n){s=!0,n=o,a=l;break}if(d===a){s=!0,a=o,n=l;break}d=d.sibling}if(!s)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 Ve(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Ve(e),t!==null)return t;e=e.sibling}return null}function Le(e){return e===null||typeof e!="object"?null:(e=g0&&e[g0]||e["@@iterator"],typeof e=="function"?e:null)}function M(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Iw?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case di:return"Fragment";case Dp:return"Profiler";case nf:return"StrictMode";case Cp:return"Suspense";case Ap:return"SuspenseList";case Np: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 fi:return"Portal";case gl:return e.displayName||"Context";case Op:return(e._context.displayName||"Context")+".Consumer";case zu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case af:return t=e.displayName||null,t!==null?t:M(e.type)||"Memo";case In:t=e._payload,e=e._init;try{return M(e(t))}catch{}}return null}function ae(e){return typeof e.tag=="number"?X(e):typeof e.name=="string"?e.name:null}function X(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";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 M(t);case 8:return t===nf?"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 X(e.return)}return null}function Te(e){return{current:e}}function I(e,t){0>ql?console.error("Unexpected pop."):(t!==Mp[ql]&&console.error("Unexpected Fiber popped."),e.current=_p[ql],_p[ql]=null,Mp[ql]=null,ql--)}function ce(e,t,n){ql++,_p[ql]=e.current,Mp[ql]=n,e.current=t}function xe(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 Ae(e,t){ce(Mo,t,e),ce(Lu,e,e),ce(_o,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Bb(t):lo;break;default:if(n=t.tagName,t=t.namespaceURI)t=Bb(t),t=Yb(t,n);else switch(n){case"svg":t=Qi;break;case"math":t=nd;break;default:t=lo}}n=n.toLowerCase(),n=Ps(null,n),n={context:t,ancestorInfo:n},I(_o,e),ce(_o,n,e)}function Z(e){I(_o,e),I(Lu,e),I(Mo,e)}function oe(){return xe(_o.current)}function fe(e){e.memoizedState!==null&&ce(lf,e,e);var t=xe(_o.current),n=e.type,a=Yb(t.context,n);n=Ps(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(ce(Lu,e,e),ce(_o,a,e))}function de(e){Lu.current===e&&(I(_o,e),I(Lu,e)),lf.current===e&&(I(lf,e),Ds._currentValue=Gr)}function $e(){}function $(){if(ju===0){y0=console.log,v0=console.info,b0=console.warn,S0=console.error,E0=console.group,x0=console.groupCollapsed,R0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:$e,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ju++}function he(){if(ju--,ju===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Fe({},e,{value:y0}),info:Fe({},e,{value:v0}),warn:Fe({},e,{value:b0}),error:Fe({},e,{value:S0}),group:Fe({},e,{value:E0}),groupCollapsed:Fe({},e,{value:x0}),groupEnd:Fe({},e,{value:R0})})}0>ju&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Me(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
23
+ `)&&(e=e.slice(29)),t=e.indexOf(`
24
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
25
+ `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Re(e){if(Up===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Up=t&&t[1]||"",w0=-1<n.stack.indexOf(`
26
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
27
+ `+Up+e+w0}function pt(e,t){if(!e||zp)return"";var n=Lp.get(e);if(n!==void 0)return n;zp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=B.H,B.H=null,$();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var O=function(){throw Error()};if(Object.defineProperty(O.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(O,[])}catch(ne){var H=ne}Reflect.construct(e,[],O)}else{try{O.call()}catch(ne){H=ne}e.call(O.prototype)}}else{try{throw Error()}catch(ne){H=ne}(O=e())&&typeof O.catch=="function"&&O.catch(function(){})}}catch(ne){if(ne&&H&&typeof ne.stack=="string")return[ne.stack,H.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=l.DetermineComponentFrameRoot(),d=s[0],g=s[1];if(d&&g){var y=d.split(`
28
+ `),N=g.split(`
29
+ `);for(s=o=0;o<y.length&&!y[o].includes("DetermineComponentFrameRoot");)o++;for(;s<N.length&&!N[s].includes("DetermineComponentFrameRoot");)s++;if(o===y.length||s===N.length)for(o=y.length-1,s=N.length-1;1<=o&&0<=s&&y[o]!==N[s];)s--;for(;1<=o&&0<=s;o--,s--)if(y[o]!==N[s]){if(o!==1||s!==1)do if(o--,s--,0>s||y[o]!==N[s]){var _=`
30
+ `+y[o].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),typeof e=="function"&&Lp.set(e,_),_}while(1<=o&&0<=s);break}}}finally{zp=!1,B.H=a,he(),Error.prepareStackTrace=n}return y=(y=e?e.displayName||e.name:"")?Re(y):"",typeof e=="function"&&Lp.set(e,y),y}function Ft(e,t){switch(e.tag){case 26:case 27:case 5:return Re(e.type);case 16:return Re("Lazy");case 13:return e.child!==t&&t!==null?Re("Suspense Fallback"):Re("Suspense");case 19:return Re("SuspenseList");case 0:case 15:return pt(e.type,!1);case 11:return pt(e.type.render,!1);case 1:return pt(e.type,!0);case 31:return Re("Activity");default:return""}}function rt(e){try{var t="",n=null;do{t+=Ft(e,n);var a=e._debugInfo;if(a)for(var l=a.length-1;0<=l;l--){var o=a[l];if(typeof o.name=="string"){var s=t;e:{var d=o.name,g=o.env,y=o.debugLocation;if(y!=null){var N=Me(y),_=N.lastIndexOf(`
31
+ `),O=_===-1?N:N.slice(_+1);if(O.indexOf(d)!==-1){var H=`
32
+ `+O;break e}}H=Re(d+(g?" ["+g+"]":""))}t=s+H}}n=e,e=e.return}while(e);return t}catch(ne){return`
33
+ Error generating stack: `+ne.message+`
34
+ `+ne.stack}}function pn(e){return(e=e?e.displayName||e.name:"")?Re(e):""}function Wt(){if(Wn===null)return null;var e=Wn._debugOwner;return e!=null?ae(e):null}function Aa(){if(Wn===null)return"";var e=Wn;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Re(e.type);break;case 13:t+=Re("Suspense");break;case 19:t+=Re("SuspenseList");break;case 31:t+=Re("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=pn(e.type));break;case 11:e._debugOwner||t!==""||(t+=pn(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var a=n._debugStack;if(e&&a){var l=Me(a);l!==""&&(t+=`
35
+ `+l)}}else if(e.debugStack!=null){var o=e.debugStack;(e=e.owner)&&o&&(t+=`
36
+ `+Me(o))}else break;var s=t}catch(d){s=`
37
+ Error generating stack: `+d.message+`
38
+ `+d.stack}return s}function se(e,t,n,a,l,o,s){var d=Wn;fo(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,l,o,s)):t(n,a,l,o,s)}finally{fo(d)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function fo(e){B.getCurrentStack=e===null?null:Aa,yl=!1,Wn=e}function Ot(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Ln(e){try{return Na(e),!1}catch{return!0}}function Na(e){return""+e}function it(e,t){if(Ln(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,Ot(e)),Na(e)}function Ct(e,t){if(Ln(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,Ot(e)),Na(e)}function ho(e){if(Ln(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.",Ot(e)),Na(e)}function eu(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{pi=t.inject(e),vn=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function pe(e){if(typeof oT=="function"&&rT(e),vn&&typeof vn.setStrictMode=="function")try{vn.setStrictMode(pi,e)}catch(t){vl||(vl=!0,console.error("React instrumentation encountered an error: %o",t))}}function po(e){return e>>>=0,e===0?32:31-(iT(e)/uT|0)|0}function ua(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:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;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 Cl(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var l=0,o=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~o,a!==0?l=ua(a):(s&=d,s!==0?l=ua(s):n||(n=d&~e,n!==0&&(l=ua(n))))):(d=a&~o,d!==0?l=ua(d):s!==0?l=ua(s):n||(n=a&~e,n!==0&&(l=ua(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 Fa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function sa(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 _a(){var e=uf;return uf<<=1,(uf&62914560)===0&&(uf=4194304),e}function mo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ca(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function jn(e,t,n,a,l,o){var s=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 d=e.entanglements,g=e.expirationTimes,y=e.hiddenUpdates;for(n=s&~n;0<n;){var N=31-Dn(n),_=1<<N;d[N]=0,g[N]=-1;var O=y[N];if(O!==null)for(y[N]=null,N=0;N<O.length;N++){var H=O[N];H!==null&&(H.lane&=-536870913)}n&=~_}a!==0&&xn(e,a,0),o!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=o&~(s&~t))}function xn(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Dn(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function go(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Dn(n),l=1<<a;l&t|e[a]&t&&(e[a]|=t),n&=~l}}function Al(e,t){var n=t&-t;return n=(n&42)!==0?1:fa(n),(n&(e.suspendedLanes|t))!==0?0:n}function fa(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 Nl(e,t,n){if(bl)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-Dn(n),l=1<<a;e[a].add(t),n&=~l}}function mn(e,t){if(bl)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var l=31-Dn(t);e=1<<l,l=n[l],0<l.size&&(l.forEach(function(o){var s=o.alternate;s!==null&&a.has(s)||a.add(o)}),l.clear()),t&=~e}}function _l(e){return e&=-e,pa<e?Sl<e?(e&134217727)!==0?Gl:sf:Sl:pa}function Ma(){var e=ft.p;return e!==0?e:(e=window.event,e===void 0?Gl:s0(e.type))}function b(e,t){var n=ft.p;try{return ft.p=e,t()}finally{ft.p=n}}function U(e){delete e[dn],delete e[On],delete e[Bp],delete e[sT],delete e[cT]}function F(e){var t=e[dn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[zo]||n[dn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Fb(e);e!==null;){if(n=e[dn])return n;e=Fb(e)}return t}e=n,n=e.parentNode}return null}function te(e){if(e=e[dn]||e[zo]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function me(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function je(e){var t=e[T0];return t||(t=e[T0]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function be(e){e[Hu]=!0}function Ie(e,t){Be(e,t),Be(e+"Capture",t)}function Be(e,t){Er[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Er[e]=t;var n=e.toLowerCase();for(Yp[n]=e,e==="onDoubleClick"&&(Yp.ondblclick=e),e=0;e<t.length;e++)D0.add(t[e])}function en(e,t){fT[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 Rn(e){return Ba.call(C0,e)?!0:Ba.call(O0,e)?!1:dT.test(e)?C0[e]=!0:(O0[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Ml(e,t,n){if(Rn(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:(it(n,t),e===""+n?n:e)}}function Ul(e,t,n){if(Rn(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}}it(n,t),e.setAttribute(t,""+n)}}function Fr(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}it(n,t),e.setAttribute(t,""+n)}}function Ua(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}it(a,n),e.setAttributeNS(t,n,""+a)}}function D(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return ho(e),e;default:return""}}function z(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function V(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var l=a.get,o=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(s){ho(s),n=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(s){ho(s),n=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function P(e){if(!e._valueTracker){var t=z(e)?"checked":"value";e._valueTracker=V(e,t,""+e[t])}}function ee(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=z(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Se(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 re(e){return e.replace(hT,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function De(e,t){t.checked===void 0||t.defaultChecked===void 0||N0||(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",Wt()||"A component",t.type),N0=!0),t.value===void 0||t.defaultValue===void 0||A0||(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",Wt()||"A component",t.type),A0=!0)}function ge(e,t,n,a,l,o,s,d){e.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?(it(s,"type"),e.type=s):e.removeAttribute("type"),t!=null?s==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+D(t)):e.value!==""+D(t)&&(e.value=""+D(t)):s!=="submit"&&s!=="reset"||e.removeAttribute("value"),t!=null?Ne(e,s,D(t)):n!=null?Ne(e,s,D(n)):a!=null&&e.removeAttribute("value"),l==null&&o!=null&&(e.defaultChecked=!!o),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(it(d,"name"),e.name=""+D(d)):e.removeAttribute("name")}function _e(e,t,n,a,l,o,s,d){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(it(o,"type"),e.type=o),t!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||t!=null)){P(e);return}n=n!=null?""+D(n):"",t=t!=null?""+D(t):n,d||t===e.value||(e.value=t),e.defaultValue=t}a=a??l,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(it(s,"name"),e.name=s),P(e)}function Ne(e,t,n){t==="number"&&Se(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function we(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Tp.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||M0||(M0=!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||U0||(U0=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||_0||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),_0=!0)}function ut(){var e=Wt();return e?`
39
+
40
+ Check the render method of \``+e+"`.":""}function Ke(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=""+D(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 St(e,t){for(e=0;e<L0.length;e++){var n=L0[e];if(t[n]!=null){var a=Kt(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,ut()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,ut())}}t.value===void 0||t.defaultValue===void 0||z0||(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"),z0=!0)}function jt(e,t){t.value===void 0||t.defaultValue===void 0||j0||(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",Wt()||"A component"),j0=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function tn(e,t,n){if(t!=null&&(t=""+D(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+D(n):""}function st(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(Kt(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=D(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),P(e)}function wn(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?wn(e.children[0],t):e}function Ht(e){return" "+" ".repeat(e)}function da(e){return"+ "+" ".repeat(e)}function gn(e){return"- "+" ".repeat(e)}function Xn(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";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 zl(e,t){return H0.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 Ka(e,t,n){var a=120-2*n;if(t===null)return da(n)+zl(e,a)+`
41
+ `;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)),da(n)+zl(e,a)+`
42
+ `+gn(n)+zl(t,a)+`
43
+ `}return Ht(n)+zl(e,a)+`
44
+ `}function za(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Pa(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(Kt(e))return"[...]";if(e.$$typeof===ml)return(t=M(e.type))?"<"+t+">":"<...>";var n=za(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=Pa(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 La(e,t){return typeof e!="string"||H0.test(e)?"{"+Pa(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function et(e,t,n){var a=120-n.length-e.length,l=[],o;for(o in t)if(t.hasOwnProperty(o)&&o!=="children"){var s=La(t[o],120-n.length-o.length-1);a-=o.length+s.length+2,l.push(o+"="+s)}return l.length===0?n+"<"+e+`>
45
+ `:0<a?n+"<"+e+" "+l.join(" ")+`>
46
+ `:n+"<"+e+`
47
+ `+n+" "+l.join(`
48
+ `+n+" ")+`
49
+ `+n+`>
50
+ `}function nn(e,t,n){var a="",l=Fe({},t),o;for(o in e)if(e.hasOwnProperty(o)){delete l[o];var s=120-2*n-o.length-2,d=Pa(e[o],s);t.hasOwnProperty(o)?(s=Pa(t[o],s),a+=da(n)+o+": "+d+`
51
+ `,a+=gn(n)+o+": "+s+`
52
+ `):a+=da(n)+o+": "+d+`
53
+ `}for(var g in l)l.hasOwnProperty(g)&&(e=Pa(l[g],120-2*n-g.length-2),a+=gn(n)+g+": "+e+`
54
+ `);return a}function yo(e,t,n,a){var l="",o=new Map;for(y in n)n.hasOwnProperty(y)&&o.set(y.toLowerCase(),y);if(o.size===1&&o.has("children"))l+=et(e,t,Ht(a));else{for(var s in t)if(t.hasOwnProperty(s)&&s!=="children"){var d=120-2*(a+1)-s.length-1,g=o.get(s.toLowerCase());if(g!==void 0){o.delete(s.toLowerCase());var y=t[s];g=n[g];var N=La(y,d);d=La(g,d),typeof y=="object"&&y!==null&&typeof g=="object"&&g!==null&&za(y)==="Object"&&za(g)==="Object"&&(2<Object.keys(y).length||2<Object.keys(g).length||-1<N.indexOf("...")||-1<d.indexOf("..."))?l+=Ht(a+1)+s+`={{
55
+ `+nn(y,g,a+2)+Ht(a+1)+`}}
56
+ `:(l+=da(a+1)+s+"="+N+`
57
+ `,l+=gn(a+1)+s+"="+d+`
58
+ `)}else l+=Ht(a+1)+s+"="+La(t[s],d)+`
59
+ `}o.forEach(function(_){if(_!=="children"){var O=120-2*(a+1)-_.length-1;l+=gn(a+1)+_+"="+La(n[_],O)+`
60
+ `}}),l=l===""?Ht(a)+"<"+e+`>
61
+ `:Ht(a)+"<"+e+`
62
+ `+l+Ht(a)+`>
63
+ `}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(o="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=""+t),l+=Ka(o,""+e,a+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(l=e==null?l+Ka(""+t,null,a+1):l+Ka(""+t,void 0,a+1)),l}function Ia(e,t){var n=Xn(e);if(n===null){for(n="",e=e.child;e;)n+=Ia(e,t),e=e.sibling;return n}return Ht(t)+"<"+n+`>
64
+ `}function Et(e,t){var n=wn(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Ht(t)+`...
65
+ `+Et(n,t+1);n="";var a=e.fiber._debugInfo;if(a)for(var l=0;l<a.length;l++){var o=a[l].name;typeof o=="string"&&(n+=Ht(t)+"<"+o+`>
66
+ `,t++)}if(a="",l=e.fiber.pendingProps,e.fiber.tag===6)a=Ka(l,e.serverProps,t),t++;else if(o=Xn(e.fiber),o!==null)if(e.serverProps===void 0){a=t;var s=120-2*a-o.length-2,d="";for(y in l)if(l.hasOwnProperty(y)&&y!=="children"){var g=La(l[y],15);if(s-=y.length+g.length+2,0>s){d+=" ...";break}d+=" "+y+"="+g}a=Ht(a)+"<"+o+d+`>
67
+ `,t++}else e.serverProps===null?(a=et(o,l,da(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=yo(o,l,e.serverProps,t),t++);var y="";for(l=e.fiber.child,o=0;l&&o<e.children.length;)s=e.children[o],s.fiber===l?(y+=Et(s,t),o++):y+=Ia(l,t),l=l.sibling;for(l&&0<e.children.length&&(y+=Ht(t)+`...
68
+ `),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)o=l[e],y=typeof o=="string"?y+(gn(t)+zl(o,120-2*t)+`
69
+ `):y+et(o.type,o.props,gn(t));return n+a+y}function vo(e){try{return`
70
+
71
+ `+Et(e,0)}catch{return""}}function tu(e,t,n){for(var a=t,l=null,o=0;a;)a===e&&(o=0),l={fiber:a,children:l!==null?[l]:[],serverProps:a===t?n:a===e?null:void 0,serverTail:[],distanceFromLeaf:o},o++,a=a.return;return l!==null?vo(l).replaceAll(/^[+-]/gm,">"):""}function Ps(e,t){var n=Fe({},e||V0),a={tag:t};return k0.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),mT.indexOf(t)!==-1&&(n.pTagInButtonScope=null),pT.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 Lg(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 gT.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 cR(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 jg(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 Dd(e,t){t=t||V0;var n=t.current;if(t=(n=Lg(e,n&&n.tag,t.implicitRootScope)?null:n)?null:cR(e,t),t=n||t,!t)return!0;var a=t.tag;if(t=String(!!n)+"|"+e+"|"+a,cf[t])return!1;cf[t]=!0;var l=(t=Wn)?jg(t.return,a):null,o=t!==null&&l!==null?tu(l,t,null):"",s="<"+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
72
+ This will cause a hydration error.%s`,s,a,n,o)):console.error(`In HTML, %s cannot be a descendant of <%s>.
73
+ This will cause a hydration error.%s`,s,a,o),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||se(l,function(){console.error(`<%s> cannot contain a nested %s.
74
+ See this log for the ancestor stack trace.`,a,s)})),!1}function Is(e,t,n){if(n||Lg("#text",t,!1))return!0;if(n="#text|"+t,cf[n])return!1;cf[n]=!0;var a=(n=Wn)?jg(n,t):null;return n=n!==null&&a!==null?tu(a,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
75
+ 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.
76
+ This will cause a hydration error.%s`,t,n),!1}function nu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function fR(e){return e.replace(bT,function(t,n){return n.toUpperCase()})}function Hg(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?mi.hasOwnProperty(t)&&mi[t]||(mi[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,fR(t.replace(vT,"ms-")))):yT.test(t)?mi.hasOwnProperty(t)&&mi[t]||(mi[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!$0.test(n)||qp.hasOwnProperty(n)&&qp[n]||(qp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace($0,""))),typeof n=="number"&&(isNaN(n)?q0||(q0=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||G0||(G0=!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||X0.has(t)?t==="float"?e.cssFloat=n:(Ct(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function kg(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=$p[l]||[l],s=0;s<o.length;s++)a[o[s]]=l}for(var d in t)if(t.hasOwnProperty(d)&&(!n||n[d]!==t[d]))for(l=$p[d]||[d],o=0;o<l.length;o++)a[l[o]]=d;d={};for(var g in t)for(l=$p[g]||[g],o=0;o<l.length;o++)d[l[o]]=g;g={};for(var y in a)if(l=a[y],(o=d[y])&&l!==o&&(s=l+","+o,!g[s])){g[s]=!0,s=console;var N=t[l];s.error.call(s,"%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.",N==null||typeof N=="boolean"||N===""?"Removing":"Updating",l,o)}}for(var _ in n)!n.hasOwnProperty(_)||t!=null&&t.hasOwnProperty(_)||(_.indexOf("--")===0?e.setProperty(_,""):_==="float"?e.cssFloat="":e[_]="");for(var O in t)y=t[O],t.hasOwnProperty(O)&&n[O]!==y&&Hg(e,O,y)}else for(a in t)t.hasOwnProperty(a)&&Hg(e,a,t[a])}function au(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 Vg(e){return ST.get(e)||e}function dR(e,t){if(Ba.call(yi,t)&&yi[t])return!0;if(xT.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Q0.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),yi[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),yi[t]=!0}if(ET.test(t)){if(e=t.toLowerCase(),e=Q0.hasOwnProperty(e)?e:null,e==null)return yi[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),yi[t]=!0)}return!0}function hR(e,t){var n=[],a;for(a in t)dR(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 pR(e,t,n,a){if(Ba.call(Cn,t)&&Cn[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."),Cn[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),Cn[t]=!0;if(J0.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Cn[t]=!0}else if(J0.test(t))return RT.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Cn[t]=!0;if(wT.test(t)||TT.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Cn[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Cn[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),Cn[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),Cn[t]=!0;if(df.hasOwnProperty(l)){if(l=df[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),Cn[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),Cn[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),Cn[t]=!0)}case"function":case"symbol":return Cn[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),Cn[t]=!0}}return!0}function mR(e,t,n){var a=[],l;for(l in t)pR(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 lu(e){return DT.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ll(){}function Od(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Bg(e){var t=te(e);if(t&&(e=t.stateNode)){var n=e[On]||null;e:switch(e=t.stateNode,t.type){case"input":if(ge(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(it(t,"name"),n=n.querySelectorAll('input[name="'+re(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var l=a[On]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");ge(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&&ee(a)}break e;case"textarea":tn(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ke(e,!!n.multiple,t,!1)}}}function Yg(e,t,n){if(Gp)return e(t,n);Gp=!0;try{var a=e(t);return a}finally{if(Gp=!1,(vi!==null||bi!==null)&&(oi(),vi&&(t=vi,e=bi,bi=vi=null,Bg(t),e)))for(t=0;t<e.length;t++)Bg(e[t])}}function ou(e,t){var n=e.stateNode;if(n===null)return null;var a=n[On]||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 $g(){if(hf)return hf;var e,t=Qp,n=t.length,a,l="value"in Lo?Lo.value:Lo.textContent,o=l.length;for(e=0;e<n&&t[e]===l[e];e++);var s=n-e;for(a=1;a<=s&&t[n-a]===l[o-a];a++);return hf=l.slice(e,1<a?1-a:void 0)}function Ws(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 ec(){return!0}function qg(){return!1}function Hn(e){function t(n,a,l,o,s){this._reactName=n,this._targetInst=l,this.type=a,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(n=e[d],this[d]=n?n(o):o[d]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?ec:qg,this.isPropagationStopped=qg,this}return Fe(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=ec)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ec)},persist:function(){},isPersistent:ec}),t}function gR(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=VT[e])?!!t[e]:!1}function Cd(){return gR}function Gg(e,t){switch(e){case"keyup":return PT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==I0;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function yR(e,t){switch(e){case"compositionend":return Xg(t);case"keypress":return t.which!==eS?null:(nS=!0,tS);case"textInput":return e=t.data,e===tS&&nS?null:e;default:return null}}function vR(e,t){if(Si)return e==="compositionend"||!Kp&&Gg(e,t)?(e=$g(),hf=Qp=Lo=null,Si=!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 W0&&t.locale!=="ko"?null:t.data;default:return null}}function Qg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!WT[e.type]:t==="textarea"}function bR(e){if(!El)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 Zg(e,t,n,a){vi?bi?bi.push(a):bi=[a]:vi=a,t=Qc(t,"onChange"),0<t.length&&(n=new pf("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function SR(e){Ab(e,0)}function tc(e){var t=me(e);if(ee(t))return e}function Jg(e,t){if(e==="change")return t}function Fg(){qu&&(qu.detachEvent("onpropertychange",Kg),Gu=qu=null)}function Kg(e){if(e.propertyName==="value"&&tc(Gu)){var t=[];Zg(t,Gu,e,Od(e)),Yg(SR,t)}}function ER(e,t,n){e==="focusin"?(Fg(),qu=t,Gu=n,qu.attachEvent("onpropertychange",Kg)):e==="focusout"&&Fg()}function xR(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return tc(Gu)}function RR(e,t){if(e==="click")return tc(t)}function wR(e,t){if(e==="input"||e==="change")return tc(t)}function TR(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function ru(e,t){if(An(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(!Ba.call(t,l)||!An(e[l],t[l]))return!1}return!0}function Pg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ig(e,t){var n=Pg(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=Pg(n)}}function Wg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Wg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ey(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Se(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=Se(e.document)}return t}function Ad(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 ty(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ip||Ei==null||Ei!==Se(a)||(a=Ei,"selectionStart"in a&&Ad(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&&ru(Xu,a)||(Xu=a,a=Qc(Pp,"onSelect"),0<a.length&&(t=new pf("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Ei)))}function ir(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function ur(e){if(Wp[e])return Wp[e];if(!xi[e])return e;var t=xi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in lS)return Wp[e]=t[n];return e}function ja(e,t){sS.set(e,t),Ie(t,[e])}function DR(e){for(var t=gf,n=0;n<e.length;n++){var a=e[n];if(typeof a=="object"&&a!==null)if(Kt(a)&&a.length===2&&typeof a[0]=="string"){if(t!==gf&&t!==lm)return nm;t=lm}else return nm;else{if(typeof a=="function"||typeof a=="string"&&50<a.length||t!==gf&&t!==am)return nm;t=am}}return t}function Nd(e,t,n,a){for(var l in e)Ba.call(e,l)&&l[0]!=="_"&&Wa(l,e[l],t,n,a)}function Wa(e,t,n,a,l){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===ml){var o=M(t.type)||"…",s=t.key;t=t.props;var d=Object.keys(t),g=d.length;if(s==null&&g===0){t="<"+o+" />";break}if(3>a||g===1&&d[0]==="children"&&s==null){t="<"+o+" … />";break}n.push([l+"  ".repeat(a)+e,"<"+o]),s!==null&&Wa("key",s,n,a+1,l),e=!1;for(var y in t)y==="children"?t.children!=null&&(!Kt(t.children)||0<t.children.length)&&(e=!0):Ba.call(t,y)&&y[0]!=="_"&&Wa(y,t[y],n,a+1,l);n.push(["",e?">…</"+o+">":"/>"]);return}if(o=Object.prototype.toString.call(t),o=o.slice(8,o.length-1),o==="Array"){if(y=DR(t),y===am||y===gf){t=JSON.stringify(t);break}else if(y===lm){for(n.push([l+"  ".repeat(a)+e,""]),e=0;e<t.length;e++)o=t[e],Wa(o[0],o[1],n,a+1,l);return}}if(o==="Promise"){if(t.status==="fulfilled"){if(o=n.length,Wa(e,t.value,n,a,l),n.length>o){n=n[o],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(o=n.length,Wa(e,t.reason,n,a,l),n.length>o)){n=n[o],n[1]="Rejected Promise<"+n[1]+">";return}n.push(["  ".repeat(a)+e,"Promise"]);return}o==="Object"&&(y=Object.getPrototypeOf(t))&&typeof y.constructor=="function"&&(o=y.constructor.name),n.push([l+"  ".repeat(a)+e,o==="Object"?3>a?"":"…":o]),3>a&&Nd(t,n,a+1,l);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===rD?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([l+"  ".repeat(a)+e,t])}function ny(e,t,n,a){var l=!0;for(s in e)s in t||(n.push([yf+"  ".repeat(a)+s,"…"]),l=!1);for(var o in t)if(o in e){var s=e[o],d=t[o];if(s!==d){if(a===0&&o==="children")l="  ".repeat(a)+o,n.push([yf+l,"…"],[vf+l,"…"]);else{if(!(3<=a)){if(typeof s=="object"&&typeof d=="object"&&s!==null&&d!==null&&s.$$typeof===d.$$typeof)if(d.$$typeof===ml){if(s.type===d.type&&s.key===d.key){s=M(d.type)||"…",l="  ".repeat(a)+o,s="<"+s+" … />",n.push([yf+l,s],[vf+l,s]),l=!1;continue}}else{var g=Object.prototype.toString.call(s),y=Object.prototype.toString.call(d);if(g===y&&(y==="[object Object]"||y==="[object Array]")){g=[dS+"  ".repeat(a)+o,y==="[object Array]"?"Array":""],n.push(g),y=n.length,ny(s,d,n,a+1)?y===n.length&&(g[1]="Referentially unequal but deeply equal objects. Consider memoization."):l=!1;continue}}else if(typeof s=="function"&&typeof d=="function"&&s.name===d.name&&s.length===d.length&&(g=Function.prototype.toString.call(s),y=Function.prototype.toString.call(d),g===y)){s=d.name===""?"() => {}":d.name+"() {}",n.push([dS+"  ".repeat(a)+o,s+" Referentially unequal function closure. Consider memoization."]);continue}}Wa(o,s,n,a,yf),Wa(o,d,n,a,vf)}l=!1}}else n.push([vf+"  ".repeat(a)+o,"…"]),l=!1;return l}function Ha(e){lt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function el(e,t,n,a){xt&&(Ho.start=t,Ho.end=n,Xl.color="warning",Xl.tooltipText=a,Xl.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,a,Ho)):performance.measure(a,Ho))}function nc(e,t,n){el(e,t,n,"Reconnect")}function ac(e,t,n,a,l){var o=X(e);if(o!==null&&xt){var s=e.alternate,d=e.actualDuration;if(s===null||s.child!==e.child)for(var g=e.child;g!==null;g=g.sibling)d-=g.actualDuration;a=.5>d?a?"tertiary-light":"primary-light":10>d?a?"tertiary":"primary":100>d?a?"tertiary-dark":"primary-dark":"error";var y=e.memoizedProps;d=e._debugTask,y!==null&&s!==null&&s.memoizedProps!==y?(g=[iD],y=ny(s.memoizedProps,y,g,0),1<g.length&&(y&&!jo&&(s.lanes&l)===0&&100<e.actualDuration?(jo=!0,g[0]=uD,Xl.color="warning",Xl.tooltipText=hS):(Xl.color=a,Xl.tooltipText=o),Xl.properties=g,Ho.start=t,Ho.end=n,d!=null?d.run(performance.measure.bind(performance,"​"+o,Ho)):performance.measure("​"+o,Ho))):d!=null?d.run(console.timeStamp.bind(console,o,t,n,ma,void 0,a)):console.timeStamp(o,t,n,ma,void 0,a)}}function _d(e,t,n,a){if(xt){var l=X(e);if(l!==null){for(var o=null,s=[],d=0;d<a.length;d++){var g=a[d];o==null&&g.source!==null&&(o=g.source._debugTask),g=g.value,s.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}e.key!==null&&Wa("key",e.key,s,0,""),e.memoizedProps!==null&&Nd(e.memoizedProps,s,0,""),o==null&&(o=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:ma,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:s}}},o?o.run(performance.measure.bind(performance,"​"+l,e)):performance.measure("​"+l,e)}}}function tl(e,t,n,a,l){if(l!==null){if(xt){var o=X(e);if(o!==null){a=[];for(var s=0;s<l.length;s++){var d=l[s].value;a.push(["Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e.key!==null&&Wa("key",e.key,a,0,""),e.memoizedProps!==null&&Nd(e.memoizedProps,a,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:ma,tooltipText:"A lifecycle or effect errored",properties:a}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+o,t)):performance.measure("​"+o,t)}}}else o=X(e),o!==null&&xt&&(l=1>a?"secondary-light":100>a?"secondary":500>a?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,o,t,n,ma,void 0,l)):console.timeStamp(o,t,n,ma,void 0,l))}function OR(e,t,n,a){if(xt&&!(t<=e)){var l=(n&738197653)===n?"tertiary-dark":"primary-dark";n=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",a?a.run(console.timeStamp.bind(console,n,e,t,lt,nt,l)):console.timeStamp(n,e,t,lt,nt,l)}}function ay(e,t,n,a){!xt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Prewarm",e,t,lt,nt,n)):console.timeStamp("Prewarm",e,t,lt,nt,n))}function ly(e,t,n,a){!xt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Suspended",e,t,lt,nt,n)):console.timeStamp("Suspended",e,t,lt,nt,n))}function CR(e,t,n,a,l,o){if(xt&&!(t<=e)){n=[];for(var s=0;s<a.length;s++){var d=a[s].value;n.push(["Recoverable Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:lt,trackGroup:nt,tooltipText:l?"Hydration Failed":"Recovered after Error",properties:n}}},o?o.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Md(e,t,n,a){!xt||t<=e||(a?a.run(console.timeStamp.bind(console,"Errored",e,t,lt,nt,"error")):console.timeStamp("Errored",e,t,lt,nt,"error"))}function AR(e,t,n,a){!xt||t<=e||(a?a.run(console.timeStamp.bind(console,n,e,t,lt,nt,"secondary-light")):console.timeStamp(n,e,t,lt,nt,"secondary-light"))}function oy(e,t,n,a,l){if(xt&&!(t<=e)){for(var o=[],s=0;s<n.length;s++){var d=n[s].value;o.push(["Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"error",track:lt,trackGroup:nt,tooltipText:a?"Remaining Effects Errored":"Commit Errored",properties:o}}},l?l.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function Ud(e,t,n){!xt||t<=e||console.timeStamp("Animating",e,t,lt,nt,"secondary-dark")}function lc(){for(var e=Ri,t=om=Ri=0;t<e;){var n=ga[t];ga[t++]=null;var a=ga[t];ga[t++]=null;var l=ga[t];ga[t++]=null;var o=ga[t];if(ga[t++]=null,a!==null&&l!==null){var s=a.pending;s===null?l.next=l:(l.next=s.next,s.next=l),a.pending=l}o!==0&&ry(n,l,o)}}function oc(e,t,n,a){ga[Ri++]=e,ga[Ri++]=t,ga[Ri++]=n,ga[Ri++]=a,om|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function zd(e,t,n,a){return oc(e,t,n,a),rc(e)}function yn(e,t){return oc(e,null,null,t),rc(e)}function ry(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&Qu||(l=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,l&&t!==null&&(l=31-Dn(n),e=o.hiddenUpdates,a=e[l],a===null?e[l]=[t]:a.push(t),t.lane=n|536870912),o):null}function rc(e){if(bs>wD)throw kr=bs=0,Ss=km=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.");kr>TD&&(kr=0,Ss=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&&xb(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&xb(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function sr(e){if(ya===null)return e;var t=ya(e);return t===void 0?e:t.current}function Ld(e){if(ya===null)return e;var t=ya(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=sr(e.render),e.render!==t)?(t={$$typeof:zu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function iy(e,t){if(ya===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===In)&&(a=!0);break;case 11:(l===zu||l===In)&&(a=!0);break;case 14:case 15:(l===af||l===In)&&(a=!0);break;default:return!1}return!!(a&&(e=ya(n),e!==void 0&&e===ya(t)))}function uy(e){ya!==null&&typeof WeakSet=="function"&&(wi===null&&(wi=new WeakSet),wi.add(e))}function sy(e,t,n){do{var a=e,l=a.alternate,o=a.child,s=a.sibling,d=a.tag;a=a.type;var g=null;switch(d){case 0:case 15:case 1:g=a;break;case 11:g=a.render}if(ya===null)throw Error("Expected resolveFamily to be set during hot reload.");var y=!1;if(a=!1,g!==null&&(g=ya(g),g!==void 0&&(n.has(g)?a=!0:t.has(g)&&(d===1?a=!0:y=!0))),wi!==null&&(wi.has(e)||l!==null&&wi.has(l))&&(a=!0),a&&(e._debugNeedsRemount=!0),(a||y)&&(l=yn(e,2),l!==null&&_t(l,e,2)),o===null||a||sy(o,t,n),s===null)break;e=s}while(!0)}function NR(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,pS||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function jd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jl(e,t){var n=e.alternate;switch(n===null?(n=x(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=sr(e.type);break;case 1:n.type=sr(e.type);break;case 11:n.type=Ld(e.type)}return n}function cy(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 Hd(e,t,n,a,l,o){var s=0,d=e;if(typeof e=="function")jd(e)&&(s=1),d=sr(d);else if(typeof e=="string")s=oe(),s=Vw(e,n,s)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Np:return t=x(31,n,t,l),t.elementType=Np,t.lanes=o,t;case di:return cr(n.children,l,o,t);case nf:s=8,l|=bn,l|=Ya;break;case Dp: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=x(12,e,t,a|Ge),t.elementType=Dp,t.lanes=o,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Cp:return t=x(13,n,t,l),t.elementType=Cp,t.lanes=o,t;case Ap:return t=x(19,n,t,l),t.elementType=Ap,t.lanes=o,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gl:s=10;break e;case Op:s=9;break e;case zu:s=11,d=Ld(d);break e;case af:s=14;break e;case In:s=16,d=null;break e}d="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Kt(e)?n="array":e!==void 0&&e.$$typeof===ml?(n="<"+(M(e.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(s=a?ae(a):null)&&(d+=`
77
+
78
+ Check the render method of \``+s+"`."),s=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+d)),d=null}return t=x(s,n,t,l),t.elementType=e,t.type=d,t.lanes=o,t._debugOwner=a,t}function ic(e,t,n){return t=Hd(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function cr(e,t,n,a){return e=x(7,e,a,t),e.lanes=n,e}function kd(e,t,n){return e=x(6,e,null,t),e.lanes=n,e}function fy(e){var t=x(18,null,null,ze);return t.stateNode=e,t}function Vd(e,t,n){return t=x(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qn(e,t){if(typeof e=="object"&&e!==null){var n=rm.get(e);return n!==void 0?n:(t={value:e,source:t,stack:rt(t)},rm.set(e,t),t)}return{value:e,source:t,stack:rt(t)}}function Hl(e,t){bo(),Ti[Di++]=Zu,Ti[Di++]=bf,bf=e,Zu=t}function dy(e,t,n){bo(),va[ba++]=Zl,va[ba++]=Jl,va[ba++]=Rr,Rr=e;var a=Zl;e=Jl;var l=32-Dn(a)-1;a&=~(1<<l),n+=1;var o=32-Dn(t)+l;if(30<o){var s=l-l%5;o=(a&(1<<s)-1).toString(32),a>>=s,l-=s,Zl=1<<32-Dn(t)+l|n<<l|a,Jl=o+e}else Zl=1<<o|n<<l|a,Jl=e}function Bd(e){bo(),e.return!==null&&(Hl(e,1),dy(e,1,0))}function Yd(e){for(;e===bf;)bf=Ti[--Di],Ti[Di]=null,Zu=Ti[--Di],Ti[Di]=null;for(;e===Rr;)Rr=va[--ba],va[ba]=null,Jl=va[--ba],va[ba]=null,Zl=va[--ba],va[ba]=null}function hy(){return bo(),Rr!==null?{id:Zl,overflow:Jl}:null}function py(e,t){bo(),va[ba++]=Zl,va[ba++]=Jl,va[ba++]=Rr,Zl=t.id,Jl=t.overflow,Rr=e}function bo(){We||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function fr(e,t){if(e.return===null){if(ea===null)ea={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ea.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ea.distanceFromLeaf>t&&(ea.distanceFromLeaf=t)}return ea}var n=fr(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 my(){We&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function uc(e,t){xl||(e=fr(e,0),e.serverProps=null,t!==null&&(t=Zb(t),e.serverTail.push(t)))}function So(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",a=ea;throw a!==null&&(ea=null,n=vo(a)),iu(Qn(Error("Hydration failed because the server rendered "+(t?"text":"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:
79
+
80
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
81
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
82
+ - Date formatting in a user's locale which doesn't match the server.
83
+ - External changing data without sending a snapshot of it along with the HTML.
84
+ - Invalid HTML tag nesting.
85
+
86
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
87
+
88
+ https://react.dev/link/hydration-mismatch`+n),e)),im}function gy(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[dn]=e,t[On]=a,ip(n,a),n){case"dialog":tt("cancel",t),tt("close",t);break;case"iframe":case"object":case"embed":tt("load",t);break;case"video":case"audio":for(n=0;n<Es.length;n++)tt(Es[n],t);break;case"source":tt("error",t);break;case"img":case"image":case"link":tt("error",t),tt("load",t);break;case"details":tt("toggle",t);break;case"input":en("input",a),tt("invalid",t),De(t,a),_e(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"option":we(t,a);break;case"select":en("select",a),tt("invalid",t),St(t,a);break;case"textarea":en("textarea",a),tt("invalid",t),jt(t,a),st(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||Ub(t.textContent,n)?(a.popover!=null&&(tt("beforetoggle",t),tt("toggle",t)),a.onScroll!=null&&tt("scroll",t),a.onScrollEnd!=null&&tt("scrollend",t),a.onClick!=null&&(t.onclick=Ll),t=!0):t=!1,t||So(e,!0)}function yy(e){for(hn=e.return;hn;)switch(hn.tag){case 5:case 31:case 13:Sa=!1;return;case 27:case 3:Sa=!0;return;default:hn=hn.return}}function Kr(e){if(e!==hn)return!1;if(!We)return yy(e),We=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||dp(e.type,e.memoizedProps)),n=!n),n&&Rt){for(n=Rt;n;){var a=fr(e,0),l=Zb(n);a.serverTail.push(l),n=l.type==="Suspense"?gp(n):Pn(n.nextSibling)}So(e)}if(yy(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.");Rt=gp(e)}else if(t===31){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.");Rt=gp(e)}else t===27?(t=Rt,No(e.type)?(e=Km,Km=null,Rt=e):Rt=t):Rt=hn?Pn(e.stateNode.nextSibling):null;return!0}function dr(){Rt=hn=null,xl=We=!1}function $d(){var e=Vo;return e!==null&&(Un===null?Un=e:Un.push.apply(Un,e),Vo=null),e}function iu(e){Vo===null?Vo=[e]:Vo.push(e)}function qd(){var e=ea;if(e!==null){ea=null;for(var t=vo(e);0<e.children.length;)e=e.children[0];se(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:
89
+
90
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
91
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
92
+ - Date formatting in a user's locale which doesn't match the server.
93
+ - External changing data without sending a snapshot of it along with the HTML.
94
+ - Invalid HTML tag nesting.
95
+
96
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
97
+
98
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function sc(){Oi=Sf=null,Ci=!1}function Eo(e,t,n){ce(um,t._currentValue,e),t._currentValue=n,ce(sm,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==gS&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=gS}function kl(e,t){e._currentValue=um.current;var n=sm.current;I(sm,t),e._currentRenderer=n,I(um,t)}function Gd(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 Xd(e,t,n,a){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var o=l.dependencies;if(o!==null){var s=l.child;o=o.firstContext;e:for(;o!==null;){var d=o;o=l;for(var g=0;g<t.length;g++)if(d.context===t[g]){o.lanes|=n,d=o.alternate,d!==null&&(d.lanes|=n),Gd(o.return,n,e),a||(s=null);break e}o=d.next}}else if(l.tag===18){if(s=l.return,s===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Gd(s,n,e),s=null}else s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===e){s=null;break}if(l=s.sibling,l!==null){l.return=s.return,s=l;break}s=s.return}l=s}}function Pr(e,t,n,a){e=null;for(var l=t,o=!1;l!==null;){if(!o){if((l.flags&524288)!==0)o=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var s=l.alternate;if(s===null)throw Error("Should have a current fiber. This is a bug in React.");if(s=s.memoizedProps,s!==null){var d=l.type;An(l.pendingProps.value,s.value)||(e!==null?e.push(d):e=[d])}}else if(l===lf.current){if(s=l.alternate,s===null)throw Error("Should have a current fiber. This is a bug in React.");s.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(Ds):e=[Ds])}l=l.return}e!==null&&Xd(t,e,n,a),t.flags|=262144}function cc(e){for(e=e.firstContext;e!==null;){if(!An(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function hr(e){Sf=e,Oi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Tt(e){return Ci&&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()."),vy(Sf,e)}function fc(e,t){return Sf===null&&hr(e),vy(e,t)}function vy(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Oi===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().");Oi=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Oi=Oi.next=t;return n}function Qd(){return{controller:new fD,data:new Map,refCount:0}}function pr(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 uu(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&&dD(hD,function(){e.controller.abort()})}function nl(e,t,n){(e&127)!==0?0>Rl&&(Rl=qt(),Fu=Ef(t),cm=t,n!=null&&(fm=X(n)),(ot&(It|aa))!==un&&(Mt=!0,Yo=Ju),e=Au(),t=Cu(),e!==Ai||t!==Ku?Ai=-1.1:t!==null&&(Yo=Ju),Dr=e,Ku=t):(e&4194048)!==0&&0>Ea&&(Ea=qt(),Pu=Ef(t),yS=t,n!=null&&(vS=X(n)),0>Il)&&(e=Au(),t=Cu(),(e!==qo||t!==Or)&&(qo=-1.1),$o=e,Or=t)}function _R(e){if(0>Rl){Rl=qt(),Fu=e._debugTask!=null?e._debugTask:null,(ot&(It|aa))!==un&&(Yo=Ju);var t=Au(),n=Cu();t!==Ai||n!==Ku?Ai=-1.1:n!==null&&(Yo=Ju),Dr=t,Ku=n}0>Ea&&(Ea=qt(),Pu=e._debugTask!=null?e._debugTask:null,0>Il)&&(e=Au(),t=Cu(),(e!==qo||t!==Or)&&(qo=-1.1),$o=e,Or=t)}function Vl(){var e=wr;return wr=0,e}function dc(e){var t=wr;return wr=e,t}function su(e){var t=wr;return wr+=e,t}function hc(){Ue=Ce=-1.1}function Zn(){var e=Ce;return Ce=-1.1,e}function Jn(e){0<=e&&(Ce=e)}function al(){var e=At;return At=-0,e}function ll(e){0<=e&&(At=e)}function ol(){var e=Dt;return Dt=null,e}function rl(){var e=Mt;return Mt=!1,e}function Zd(e){Nn=qt(),0>e.actualStartTime&&(e.actualStartTime=Nn)}function Jd(e){if(0<=Nn){var t=qt()-Nn;e.actualDuration+=t,e.selfBaseDuration=t,Nn=-1}}function by(e){if(0<=Nn){var t=qt()-Nn;e.actualDuration+=t,Nn=-1}}function il(){if(0<=Nn){var e=qt(),t=e-Nn;Nn=-1,wr+=t,At+=t,Ue=e}}function Sy(e){Dt===null&&(Dt=[]),Dt.push(e),Kl===null&&(Kl=[]),Kl.push(e)}function ul(){Nn=qt(),0>Ce&&(Ce=Nn)}function cu(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function MR(e,t){if(Wu===null){var n=Wu=[];hm=0,Cr=ap(),Ni={status:"pending",value:void 0,then:function(a){n.push(a)}}}return hm++,t.then(Ey,Ey),t}function Ey(){if(--hm===0&&(-1<Ea||(Il=-1.1),Wu!==null)){Ni!==null&&(Ni.status="fulfilled");var e=Wu;Wu=null,Cr=0,Ni=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function UR(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 Fd(){var e=Ar.current;return e!==null?e:yt.pooledCache}function pc(e,t){t===null?ce(Ar,Ar.current,e):ce(Ar,t.pool,e)}function xy(){var e=Fd();return e===null?null:{parent:$t._currentValue,pool:e}}function Ry(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function wy(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Ty(e,t,n){B.actQueue!==null&&(B.didUsePromise=!0);var a=e.thenables;if(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(Ll,Ll),t=n),t._debugInfo===void 0){e=performance.now(),a=t.displayName;var l={name:typeof a=="string"?a:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:l}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){l.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Oy(e),e;default:if(typeof t.status=="string")t.then(Ll,Ll);else{if(e=yt,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(o){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=o}},function(o){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Oy(e),e}throw _r=t,rs=!0,_i}}function xo(e){try{return vD(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(_r=t,rs=!0,_i):t}}function Dy(){if(_r===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=_r;return _r=null,rs=!1,e}function Oy(e){if(e===_i||e===Af)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 sn(e){var t=Xe;return e!=null&&(Xe=t===null?e:t.concat(e)),t}function Kd(){var e=Xe;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function mc(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=ic(e,n.mode,0),t._debugInfo=Xe,t.return=n),se(t,function(s){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s)},o);break}}}function gc(e){var t=is;return is+=1,Mi===null&&(Mi=Ry()),Ty(Mi,e,t)}function fu(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Cy(e,t){throw t.$$typeof===Kw?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
99
+ - Multiple copies of the "react" package is used.
100
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
101
+ - 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 yc(e,t){var n=Kd();n!==null?n.run(Cy.bind(null,e,t)):Cy(e,t)}function Ay(e,t){var n=X(e)||"Component";kS[n]||(kS[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.
102
+ 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.
103
+ <%s>{%s}</%s>`,t,t,n,t,n))}function vc(e,t){var n=Kd();n!==null?n.run(Ay.bind(null,e,t)):Ay(e,t)}function Ny(e,t){var n=X(e)||"Component";VS[n]||(VS[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
104
+ root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
105
+ <%s>%s</%s>`,n,t,n))}function bc(e,t){var n=Kd();n!==null?n.run(Ny.bind(null,e,t)):Ny(e,t)}function _y(e){function t(w,C){if(e){var A=w.deletions;A===null?(w.deletions=[C],w.flags|=16):A.push(C)}}function n(w,C){if(!e)return null;for(;C!==null;)t(w,C),C=C.sibling;return null}function a(w){for(var C=new Map;w!==null;)w.key!==null?C.set(w.key,w):C.set(w.index,w),w=w.sibling;return C}function l(w,C){return w=jl(w,C),w.index=0,w.sibling=null,w}function o(w,C,A){return w.index=A,e?(A=w.alternate,A!==null?(A=A.index,A<C?(w.flags|=67108866,C):A):(w.flags|=67108866,C)):(w.flags|=1048576,C)}function s(w){return e&&w.alternate===null&&(w.flags|=67108866),w}function d(w,C,A,q){return C===null||C.tag!==6?(C=kd(A,w.mode,q),C.return=w,C._debugOwner=w,C._debugTask=w._debugTask,C._debugInfo=Xe,C):(C=l(C,A),C.return=w,C._debugInfo=Xe,C)}function g(w,C,A,q){var le=A.type;return le===di?(C=N(w,C,A.props.children,q,A.key),mc(A,C,w),C):C!==null&&(C.elementType===le||iy(C,A)||typeof le=="object"&&le!==null&&le.$$typeof===In&&xo(le)===C.type)?(C=l(C,A.props),fu(C,A),C.return=w,C._debugOwner=A._owner,C._debugInfo=Xe,C):(C=ic(A,w.mode,q),fu(C,A),C.return=w,C._debugInfo=Xe,C)}function y(w,C,A,q){return C===null||C.tag!==4||C.stateNode.containerInfo!==A.containerInfo||C.stateNode.implementation!==A.implementation?(C=Vd(A,w.mode,q),C.return=w,C._debugInfo=Xe,C):(C=l(C,A.children||[]),C.return=w,C._debugInfo=Xe,C)}function N(w,C,A,q,le){return C===null||C.tag!==7?(C=cr(A,w.mode,q,le),C.return=w,C._debugOwner=w,C._debugTask=w._debugTask,C._debugInfo=Xe,C):(C=l(C,A),C.return=w,C._debugInfo=Xe,C)}function _(w,C,A){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=kd(""+C,w.mode,A),C.return=w,C._debugOwner=w,C._debugTask=w._debugTask,C._debugInfo=Xe,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case ml:return A=ic(C,w.mode,A),fu(A,C),A.return=w,w=sn(C._debugInfo),A._debugInfo=Xe,Xe=w,A;case fi:return C=Vd(C,w.mode,A),C.return=w,C._debugInfo=Xe,C;case In:var q=sn(C._debugInfo);return C=xo(C),w=_(w,C,A),Xe=q,w}if(Kt(C)||Le(C))return A=cr(C,w.mode,A,null),A.return=w,A._debugOwner=w,A._debugTask=w._debugTask,w=sn(C._debugInfo),A._debugInfo=Xe,Xe=w,A;if(typeof C.then=="function")return q=sn(C._debugInfo),w=_(w,gc(C),A),Xe=q,w;if(C.$$typeof===gl)return _(w,fc(w,C),A);yc(w,C)}return typeof C=="function"&&vc(w,C),typeof C=="symbol"&&bc(w,C),null}function O(w,C,A,q){var le=C!==null?C.key:null;if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return le!==null?null:d(w,C,""+A,q);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case ml:return A.key===le?(le=sn(A._debugInfo),w=g(w,C,A,q),Xe=le,w):null;case fi:return A.key===le?y(w,C,A,q):null;case In:return le=sn(A._debugInfo),A=xo(A),w=O(w,C,A,q),Xe=le,w}if(Kt(A)||Le(A))return le!==null?null:(le=sn(A._debugInfo),w=N(w,C,A,q,null),Xe=le,w);if(typeof A.then=="function")return le=sn(A._debugInfo),w=O(w,C,gc(A),q),Xe=le,w;if(A.$$typeof===gl)return O(w,C,fc(w,A),q);yc(w,A)}return typeof A=="function"&&vc(w,A),typeof A=="symbol"&&bc(w,A),null}function H(w,C,A,q,le){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return w=w.get(A)||null,d(C,w,""+q,le);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case ml:return A=w.get(q.key===null?A:q.key)||null,w=sn(q._debugInfo),C=g(C,A,q,le),Xe=w,C;case fi:return w=w.get(q.key===null?A:q.key)||null,y(C,w,q,le);case In:var ke=sn(q._debugInfo);return q=xo(q),C=H(w,C,A,q,le),Xe=ke,C}if(Kt(q)||Le(q))return A=w.get(A)||null,w=sn(q._debugInfo),C=N(C,A,q,le,null),Xe=w,C;if(typeof q.then=="function")return ke=sn(q._debugInfo),C=H(w,C,A,gc(q),le),Xe=ke,C;if(q.$$typeof===gl)return H(w,C,A,fc(C,q),le);yc(C,q)}return typeof q=="function"&&vc(C,q),typeof q=="symbol"&&bc(C,q),null}function ne(w,C,A,q){if(typeof A!="object"||A===null)return q;switch(A.$$typeof){case ml:case fi:R(w,C,A);var le=A.key;if(typeof le!="string")break;if(q===null){q=new Set,q.add(le);break}if(!q.has(le)){q.add(le);break}se(C,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.",le)});break;case In:A=xo(A),ne(w,C,A,q)}return q}function ue(w,C,A,q){for(var le=null,ke=null,Oe=null,ve=C,qe=C=0,wt=null;ve!==null&&qe<A.length;qe++){ve.index>qe?(wt=ve,ve=null):wt=ve.sibling;var Vt=O(w,ve,A[qe],q);if(Vt===null){ve===null&&(ve=wt);break}le=ne(w,Vt,A[qe],le),e&&ve&&Vt.alternate===null&&t(w,ve),C=o(Vt,C,qe),Oe===null?ke=Vt:Oe.sibling=Vt,Oe=Vt,ve=wt}if(qe===A.length)return n(w,ve),We&&Hl(w,qe),ke;if(ve===null){for(;qe<A.length;qe++)ve=_(w,A[qe],q),ve!==null&&(le=ne(w,ve,A[qe],le),C=o(ve,C,qe),Oe===null?ke=ve:Oe.sibling=ve,Oe=ve);return We&&Hl(w,qe),ke}for(ve=a(ve);qe<A.length;qe++)wt=H(ve,w,qe,A[qe],q),wt!==null&&(le=ne(w,wt,A[qe],le),e&&wt.alternate!==null&&ve.delete(wt.key===null?qe:wt.key),C=o(wt,C,qe),Oe===null?ke=wt:Oe.sibling=wt,Oe=wt);return e&&ve.forEach(function(ro){return t(w,ro)}),We&&Hl(w,qe),ke}function bt(w,C,A,q){if(A==null)throw Error("An iterable object provided no iterator.");for(var le=null,ke=null,Oe=C,ve=C=0,qe=null,wt=null,Vt=A.next();Oe!==null&&!Vt.done;ve++,Vt=A.next()){Oe.index>ve?(qe=Oe,Oe=null):qe=Oe.sibling;var ro=O(w,Oe,Vt.value,q);if(ro===null){Oe===null&&(Oe=qe);break}wt=ne(w,ro,Vt.value,wt),e&&Oe&&ro.alternate===null&&t(w,Oe),C=o(ro,C,ve),ke===null?le=ro:ke.sibling=ro,ke=ro,Oe=qe}if(Vt.done)return n(w,Oe),We&&Hl(w,ve),le;if(Oe===null){for(;!Vt.done;ve++,Vt=A.next())Oe=_(w,Vt.value,q),Oe!==null&&(wt=ne(w,Oe,Vt.value,wt),C=o(Oe,C,ve),ke===null?le=Oe:ke.sibling=Oe,ke=Oe);return We&&Hl(w,ve),le}for(Oe=a(Oe);!Vt.done;ve++,Vt=A.next())qe=H(Oe,w,ve,Vt.value,q),qe!==null&&(wt=ne(w,qe,Vt.value,wt),e&&qe.alternate!==null&&Oe.delete(qe.key===null?ve:qe.key),C=o(qe,C,ve),ke===null?le=qe:ke.sibling=qe,ke=qe);return e&&Oe.forEach(function($D){return t(w,$D)}),We&&Hl(w,ve),le}function at(w,C,A,q){if(typeof A=="object"&&A!==null&&A.type===di&&A.key===null&&(mc(A,null,w),A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case ml:var le=sn(A._debugInfo);e:{for(var ke=A.key;C!==null;){if(C.key===ke){if(ke=A.type,ke===di){if(C.tag===7){n(w,C.sibling),q=l(C,A.props.children),q.return=w,q._debugOwner=A._owner,q._debugInfo=Xe,mc(A,q,w),w=q;break e}}else if(C.elementType===ke||iy(C,A)||typeof ke=="object"&&ke!==null&&ke.$$typeof===In&&xo(ke)===C.type){n(w,C.sibling),q=l(C,A.props),fu(q,A),q.return=w,q._debugOwner=A._owner,q._debugInfo=Xe,w=q;break e}n(w,C);break}else t(w,C);C=C.sibling}A.type===di?(q=cr(A.props.children,w.mode,q,A.key),q.return=w,q._debugOwner=w,q._debugTask=w._debugTask,q._debugInfo=Xe,mc(A,q,w),w=q):(q=ic(A,w.mode,q),fu(q,A),q.return=w,q._debugInfo=Xe,w=q)}return w=s(w),Xe=le,w;case fi:e:{for(le=A,A=le.key;C!==null;){if(C.key===A)if(C.tag===4&&C.stateNode.containerInfo===le.containerInfo&&C.stateNode.implementation===le.implementation){n(w,C.sibling),q=l(C,le.children||[]),q.return=w,w=q;break e}else{n(w,C);break}else t(w,C);C=C.sibling}q=Vd(le,w.mode,q),q.return=w,w=q}return s(w);case In:return le=sn(A._debugInfo),A=xo(A),w=at(w,C,A,q),Xe=le,w}if(Kt(A))return le=sn(A._debugInfo),w=ue(w,C,A,q),Xe=le,w;if(Le(A)){if(le=sn(A._debugInfo),ke=Le(A),typeof ke!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Oe=ke.call(A);return Oe===A?(w.tag!==0||Object.prototype.toString.call(w.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Oe)!=="[object Generator]")&&(jS||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."),jS=!0):A.entries!==ke||ym||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ym=!0),w=bt(w,C,Oe,q),Xe=le,w}if(typeof A.then=="function")return le=sn(A._debugInfo),w=at(w,C,gc(A),q),Xe=le,w;if(A.$$typeof===gl)return at(w,C,fc(w,A),q);yc(w,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(le=""+A,C!==null&&C.tag===6?(n(w,C.sibling),q=l(C,le),q.return=w,w=q):(n(w,C),q=kd(le,w.mode,q),q.return=w,q._debugOwner=w,q._debugTask=w._debugTask,q._debugInfo=Xe,w=q),s(w)):(typeof A=="function"&&vc(w,A),typeof A=="symbol"&&bc(w,A),n(w,C))}return function(w,C,A,q){var le=Xe;Xe=null;try{is=0;var ke=at(w,C,A,q);return Mi=null,ke}catch(wt){if(wt===_i||wt===Af)throw wt;var Oe=x(29,wt,null,w.mode);Oe.lanes=q,Oe.return=w;var ve=Oe._debugInfo=Xe;if(Oe._debugOwner=w._debugOwner,Oe._debugTask=w._debugTask,ve!=null){for(var qe=ve.length-1;0<=qe;qe--)if(typeof ve[qe].stack=="string"){Oe._debugOwner=ve[qe],Oe._debugTask=ve[qe].debugTask;break}}return Oe}finally{Xe=le}}}function My(e,t){var n=Kt(e);return e=!n&&typeof Le(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 Pd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Id(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 Ro(e){return{lane:e,tag:YS,payload:null,callback:null,next:null}}function wo(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,bm===a&&!GS){var l=X(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.
106
+
107
+ Please update the following component: %s`,l),GS=!0}return(ot&It)!==un?(l=a.pending,l===null?t.next=t:(t.next=l.next,l.next=t),a.pending=t,t=rc(e),ry(e,null,n),t):(oc(e,a,t,n),rc(e))}function du(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,go(e,n)}}function Sc(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?l=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:a.baseState,firstBaseUpdate:l,lastBaseUpdate:o,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 hu(){if(Sm){var e=Ni;if(e!==null)throw e}}function pu(e,t,n,a){Sm=!1;var l=e.updateQueue;Go=!1,bm=l.shared;var o=l.firstBaseUpdate,s=l.lastBaseUpdate,d=l.shared.pending;if(d!==null){l.shared.pending=null;var g=d,y=g.next;g.next=null,s===null?o=y:s.next=y,s=g;var N=e.alternate;N!==null&&(N=N.updateQueue,d=N.lastBaseUpdate,d!==s&&(d===null?N.firstBaseUpdate=y:d.next=y,N.lastBaseUpdate=g))}if(o!==null){var _=l.baseState;s=0,N=y=g=null,d=o;do{var O=d.lane&-536870913,H=O!==d.lane;if(H?(Qe&O)===O:(a&O)===O){O!==0&&O===Cr&&(Sm=!0),N!==null&&(N=N.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{O=e;var ne=d,ue=t,bt=n;switch(ne.tag){case $S:if(ne=ne.payload,typeof ne=="function"){Ci=!0;var at=ne.call(bt,_,ue);if(O.mode&bn){pe(!0);try{ne.call(bt,_,ue)}finally{pe(!1)}}Ci=!1,_=at;break e}_=ne;break e;case vm:O.flags=O.flags&-65537|128;case YS:if(at=ne.payload,typeof at=="function"){if(Ci=!0,ne=at.call(bt,_,ue),O.mode&bn){pe(!0);try{at.call(bt,_,ue)}finally{pe(!1)}}Ci=!1}else ne=at;if(ne==null)break e;_=Fe({},_,ne);break e;case qS:Go=!0}}O=d.callback,O!==null&&(e.flags|=64,H&&(e.flags|=8192),H=l.callbacks,H===null?l.callbacks=[O]:H.push(O))}else H={lane:O,tag:d.tag,payload:d.payload,callback:d.callback,next:null},N===null?(y=N=H,g=_):N=N.next=H,s|=O;if(d=d.next,d===null){if(d=l.shared.pending,d===null)break;H=d,d=H.next,H.next=null,l.lastBaseUpdate=H,l.shared.pending=null}}while(!0);N===null&&(g=_),l.baseState=g,l.firstBaseUpdate=y,l.lastBaseUpdate=N,o===null&&(l.shared.lanes=0),Zo|=s,e.lanes=s,e.memoizedState=_}bm=null}function Uy(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function zR(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Uy(n[e],t)}function zy(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Uy(n[e],t)}function Ly(e,t){var n=Tl;ce(_f,n,e),ce(Ui,t,e),Tl=n|t.baseLanes}function Wd(e){ce(_f,Tl,e),ce(Ui,Ui.current,e)}function eh(e){Tl=_f.current,I(Ui,e),I(_f,e)}function To(e){var t=e.alternate;ce(kt,kt.current&zi,e),ce(ta,e,e),xa===null&&(t===null||Ui.current!==null||t.memoizedState!==null)&&(xa=e)}function th(e){ce(kt,kt.current,e),ce(ta,e,e),xa===null&&(xa=e)}function jy(e){e.tag===22?(ce(kt,kt.current,e),ce(ta,e,e),xa===null&&(xa=e)):Do(e)}function Do(e){ce(kt,kt.current,e),ce(ta,ta.current,e)}function Fn(e){I(ta,e),xa===e&&(xa=null),I(kt,e)}function Ec(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||pp(n)||mp(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){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 Je(){var e=k;wa===null?wa=[e]:wa.push(e)}function K(){var e=k;if(wa!==null&&(to++,wa[to]!==e)){var t=X(He);if(!XS.has(t)&&(XS.add(t),wa!==null)){for(var n="",a=0;a<=to;a++){var l=wa[a],o=a===to?e:l;for(l=a+1+". "+l;30>l.length;)l+=" ";l+=o+`
108
+ `,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
109
+
110
+ Previous render Next render
111
+ ------------------------------------------------------
112
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113
+ `,t,n)}}}function Ir(e){e==null||Kt(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.",k,typeof e)}function xc(){var e=X(He);ZS.has(e)||(ZS.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function zt(){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:
114
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
115
+ 2. You might be breaking the Rules of Hooks
116
+ 3. You might have more than one copy of React in the same app
117
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function nh(e,t){if(cs)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.",k),!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.
118
+
119
+ Previous: %s
120
+ Incoming: %s`,k,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!An(e[n],t[n]))return!1;return!0}function ah(e,t,n,a,l,o){Wl=o,He=t,wa=e!==null?e._debugHookTypes:null,to=-1,cs=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(o=X(He),Em.has(o)||(Em.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?Rm:wa!==null?JS:xm,Ur=o=(t.mode&bn)!==ze;var s=pm(n,a,l);if(Ur=!1,ji&&(s=lh(t,n,a,l)),o){pe(!0);try{s=lh(t,n,a,l)}finally{pe(!1)}}return Hy(e,t),s}function Hy(e,t){t._debugHookTypes=wa,t.dependencies===null?eo!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:eo}):t.dependencies._debugThenableState=eo,B.H=fs;var n=gt!==null&&gt.next!==null;if(Wl=0,wa=k=Gt=gt=He=null,to=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Uf=!1,ss=0,eo=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Xt||(e=e.dependencies,e!==null&&cc(e)&&(Xt=!0)),rs?(rs=!1,e=!0):e=!1,e&&(t=X(t)||"Unknown",QS.has(t)||Em.has(t)||(QS.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 lh(e,t,n,a){He=e;var l=0;do{if(ji&&(eo=null),ss=0,ji=!1,l>=SD)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,cs=!1,Gt=gt=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}to=-1,B.H=FS,o=pm(t,n,a)}while(ji);return o}function LR(){var e=B.H,t=e.useState()[0];return t=typeof t.then=="function"?mu(t):t,e=e.useState()[0],(gt!==null?gt.memoizedState:null)!==e&&(He.flags|=1024),t}function oh(){var e=zf!==0;return zf=0,e}function rh(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ya)!==ze?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function ih(e){if(Uf){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Uf=!1}Wl=0,wa=Gt=gt=He=null,to=-1,k=null,ji=!1,ss=zf=0,eo=null}function Tn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?He.memoizedState=Gt=e:Gt=Gt.next=e,Gt}function dt(){if(gt===null){var e=He.alternate;e=e!==null?e.memoizedState:null}else e=gt.next;var t=Gt===null?He.memoizedState:Gt.next;if(t!==null)Gt=t,gt=e;else{if(e===null)throw He.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.");gt=e,e={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},Gt===null?He.memoizedState=Gt=e:Gt=Gt.next=e}return Gt}function Rc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function mu(e){var t=ss;return ss+=1,eo===null&&(eo=Ry()),e=Ty(eo,e,t),t=He,(Gt===null?t.memoizedState:Gt.next)===null&&(t=t.alternate,B.H=t!==null&&t.memoizedState!==null?Rm:xm),e}function Oo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return mu(e);if(e.$$typeof===gl)return Tt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function mr(e){var t=null,n=He.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=He.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=Rc(),He.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||cs)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=Pw;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 ka(e,t){return typeof t=="function"?t(e):t}function uh(e,t,n){var a=Tn();if(n!==void 0){var l=n(t);if(Ur){pe(!0);try{n(t)}finally{pe(!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=BR.bind(null,He,e),[a.memoizedState,e]}function Wr(e){var t=dt();return sh(t,gt,e)}function sh(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 s=l.next;l.next=o.next,o.next=s}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 d=s=null,g=null,y=t,N=!1;do{var _=y.lane&-536870913;if(_!==y.lane?(Qe&_)===_:(Wl&_)===_){var O=y.revertLane;if(O===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null}),_===Cr&&(N=!0);else if((Wl&O)===O){y=y.next,O===Cr&&(N=!0);continue}else _={lane:0,revertLane:y.revertLane,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},g===null?(d=g=_,s=o):g=g.next=_,He.lanes|=O,Zo|=O;_=y.action,Ur&&n(o,_),o=y.hasEagerState?y.eagerState:n(o,_)}else O={lane:_,revertLane:y.revertLane,gesture:y.gesture,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},g===null?(d=g=O,s=o):g=g.next=O,He.lanes|=_,Zo|=_;y=y.next}while(y!==null&&y!==t);if(g===null?s=o:g.next=d,!An(o,e.memoizedState)&&(Xt=!0,N&&(n=Ni,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=g,a.lastRenderedState=o}return l===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function gu(e){var t=dt(),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 s=l=l.next;do o=e(o,s.action),s=s.next;while(s!==l);An(o,t.memoizedState)||(Xt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,a]}function ch(e,t,n){var a=He,l=Tn();if(We){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var o=n();Li||o===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Li=!0)}else{if(o=t(),Li||(n=t(),An(o,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Li=!0)),yt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Qe&127)!==0||ky(a,t,o)}return l.memoizedState=o,n={value:o,getSnapshot:t},l.queue=n,Oc(By.bind(null,a,n,e),[e]),a.flags|=2048,ti(Ra|Mn,{destroy:void 0},Vy.bind(null,a,n,o,t),null),o}function wc(e,t,n){var a=He,l=dt(),o=We;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(),!Li){var s=t();An(n,s)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Li=!0)}(s=!An((gt||l).memoizedState,n))&&(l.memoizedState=n,Xt=!0),l=l.queue;var d=By.bind(null,a,l,e);if(kn(2048,Mn,d,[e]),l.getSnapshot!==t||s||Gt!==null&&Gt.memoizedState.tag&Ra){if(a.flags|=2048,ti(Ra|Mn,{destroy:void 0},Vy.bind(null,a,l,n,t),null),yt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");o||(Wl&127)!==0||ky(a,t,n)}return n}function ky(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=He.updateQueue,t===null?(t=Rc(),He.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vy(e,t,n,a){t.value=n,t.getSnapshot=a,Yy(t)&&$y(e)}function By(e,t,n){return n(function(){Yy(t)&&(nl(2,"updateSyncExternalStore()",e),$y(e))})}function Yy(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!An(e,n)}catch{return!0}}function $y(e){var t=yn(e,2);t!==null&&_t(t,e,2)}function fh(e){var t=Tn();if(typeof e=="function"){var n=e;if(e=n(),Ur){pe(!0);try{n()}finally{pe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:e},t}function dh(e){e=fh(e);var t=e.queue,n=iv.bind(null,He,t);return t.dispatch=n,[e.memoizedState,n]}function hh(e){var t=Tn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Oh.bind(null,He,!0,n),n.dispatch=t,[e,t]}function qy(e,t){var n=dt();return Gy(n,gt,e,t)}function Gy(e,t,n,a){return e.baseState=n,sh(e,gt,typeof a=="function"?a:ka)}function Xy(e,t){var n=dt();return gt!==null?Gy(n,gt,e,t):(n.baseState=e,[e,n.queue.dispatch])}function jR(e,t,n,a,l){if(Uc(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(s){o.listeners.push(s)}};B.T!==null?n(!0):o.isTransition=!1,a(o),n=t.pending,n===null?(o.next=t.pending=o,Qy(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Qy(e,t){var n=t.action,a=t.payload,l=e.state;if(t.isTransition){var o=B.T,s={};s._updatedFibers=new Set,B.T=s;try{var d=n(l,a),g=B.S;g!==null&&g(s,d),Zy(e,t,d)}catch(y){ph(e,t,y)}finally{o!==null&&s.types!==null&&(o.types!==null&&o.types!==s.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),o.types=s.types),B.T=o,o===null&&s._updatedFibers&&(e=s._updatedFibers.size,s._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{s=n(l,a),Zy(e,t,s)}catch(y){ph(e,t,y)}}function Zy(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(B.asyncTransitions++,n.then(Mc,Mc),n.then(function(a){Jy(e,t,a)},function(a){return ph(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.")):Jy(e,t,n)}function Jy(e,t,n){t.status="fulfilled",t.value=n,Fy(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Qy(e,n)))}function ph(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,Fy(t),t=t.next;while(t!==a)}e.action=null}function Fy(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ky(e,t){return t}function ei(e,t){if(We){var n=yt.formState;if(n!==null){e:{var a=He;if(We){if(Rt){t:{for(var l=Rt,o=Sa;l.nodeType!==8;){if(!o){l=null;break t}if(l=Pn(l.nextSibling),l===null){l=null;break t}}o=l.data,l=o===Qm||o===z1?l:null}if(l){Rt=Pn(l.nextSibling),a=l.data===Qm;break e}}So(a)}a=!1}a&&(t=n[0])}}return n=Tn(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ky,lastRenderedState:t},n.queue=a,n=iv.bind(null,He,a),a.dispatch=n,a=fh(!1),o=Oh.bind(null,He,!1,a.queue),a=Tn(),l={state:t,dispatch:null,action:e,pending:null},a.queue=l,n=jR.bind(null,He,l,o,n),l.dispatch=n,a.memoizedState=e,[t,n,!1]}function Tc(e){var t=dt();return Py(t,gt,e)}function Py(e,t,n){if(t=sh(e,t,Ky)[0],e=Wr(ka)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=mu(t)}catch(s){throw s===_i?Af:s}else a=t;t=dt();var l=t.queue,o=l.dispatch;return n!==t.memoizedState&&(He.flags|=2048,ti(Ra|Mn,{destroy:void 0},HR.bind(null,l,n),null)),[a,o,e]}function HR(e,t){e.action=t}function Dc(e){var t=dt(),n=gt;if(n!==null)return Py(t,n,e);dt(),t=t.memoizedState,n=dt();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function ti(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=He.updateQueue,t===null&&(t=Rc(),He.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 mh(e){var t=Tn();return e={current:e},t.memoizedState=e}function gr(e,t,n,a){var l=Tn();He.flags|=e,l.memoizedState=ti(Ra|t,{destroy:void 0},n,a===void 0?null:a)}function kn(e,t,n,a){var l=dt();a=a===void 0?null:a;var o=l.memoizedState.inst;gt!==null&&a!==null&&nh(a,gt.memoizedState.deps)?l.memoizedState=ti(t,o,n,a):(He.flags|=e,l.memoizedState=ti(Ra|t,o,n,a))}function Oc(e,t){(He.mode&Ya)!==ze?gr(276826112,Mn,e,t):gr(8390656,Mn,e,t)}function kR(e){He.flags|=4;var t=He.updateQueue;if(t===null)t=Rc(),He.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function gh(e){var t=Tn(),n={impl:e};return t.memoizedState=n,function(){if((ot&It)!==un)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function Cc(e){var t=dt().memoizedState;return kR({ref:t,nextImpl:e}),function(){if((ot&It)!==un)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function yh(e,t){var n=4194308;return(He.mode&Ya)!==ze&&(n|=134217728),gr(n,na,e,t)}function Iy(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 vh(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;(He.mode&Ya)!==ze&&(a|=134217728),gr(a,na,Iy.bind(null,t,e),n)}function Ac(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,kn(4,na,Iy.bind(null,t,e),n)}function bh(e,t){return Tn().memoizedState=[e,t===void 0?null:t],e}function Nc(e,t){var n=dt();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&nh(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Sh(e,t){var n=Tn();t=t===void 0?null:t;var a=e();if(Ur){pe(!0);try{e()}finally{pe(!1)}}return n.memoizedState=[a,t],a}function _c(e,t){var n=dt();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&nh(t,a[1]))return a[0];if(a=e(),Ur){pe(!0);try{e()}finally{pe(!1)}}return n.memoizedState=[a,t],a}function Eh(e,t){var n=Tn();return xh(n,e,t)}function Wy(e,t){var n=dt();return tv(n,gt.memoizedState,e,t)}function ev(e,t){var n=dt();return gt===null?xh(n,e,t):tv(n,gt.memoizedState,e,t)}function xh(e,t,n){return n===void 0||(Wl&1073741824)!==0&&(Qe&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=nb(),He.lanes|=e,Zo|=e,n)}function tv(e,t,n,a){return An(n,t)?n:Ui.current!==null?(e=xh(e,n,a),An(e,t)||(Xt=!0),e):(Wl&42)===0||(Wl&1073741824)!==0&&(Qe&261930)===0?(Xt=!0,e.memoizedState=n):(e=nb(),He.lanes|=e,Zo|=e,t)}function Mc(){B.asyncTransitions--}function nv(e,t,n,a,l){var o=ft.p;ft.p=o!==0&&o<Sl?o:Sl;var s=B.T,d={};d._updatedFibers=new Set,B.T=d,Oh(e,!1,t,n);try{var g=l(),y=B.S;if(y!==null&&y(d,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){B.asyncTransitions++,g.then(Mc,Mc);var N=UR(g,a);yu(e,t,N,Kn(e))}else yu(e,t,a,Kn(e))}catch(_){yu(e,t,{then:function(){},status:"rejected",reason:_},Kn(e))}finally{ft.p=o,s!==null&&d.types!==null&&(s.types!==null&&s.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),s.types=d.types),B.T=s,s===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._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 Rh(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=av(e).queue;_R(e),nv(e,l,t,Gr,n===null?E:function(){return lv(e),n(a)})}function av(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Gr,baseState:Gr,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:Gr},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ka,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function lv(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=av(e);t.next===null&&(t=e.alternate.memoizedState),yu(e,t.next.queue,{},Kn(e))}function wh(){var e=fh(!1);return e=nv.bind(null,He,e.queue,!0,!1),Tn().memoizedState=e,[!1,e]}function ov(){var e=Wr(ka)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:mu(e),t]}function rv(){var e=gu(ka)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:mu(e),t]}function yr(){return Tt(Ds)}function Th(){var e=Tn(),t=yt.identifierPrefix;if(We){var n=Jl,a=Zl;n=(a&~(1<<32-Dn(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=zf++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=bD++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function Dh(){return Tn().memoizedState=VR.bind(null,He)}function VR(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=Kn(n),l=Ro(a),o=wo(n,l,a);o!==null&&(nl(a,"refresh()",e),_t(o,n,a),du(o,n,a)),e=Qd(),t!=null&&o!==null&&console.error("The seed argument is not enabled outside experimental channels."),l.payload={cache:e};return}n=n.return}}function BR(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=Kn(e);var l={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Uc(e)?uv(t,l):(l=zd(e,t,l,a),l!==null&&(nl(a,"dispatch()",e),_t(l,e,a),sv(l,t,a)))}function iv(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=Kn(e),yu(e,t,n,a)&&nl(a,"setState()",e)}function yu(e,t,n,a){var l={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Uc(e))uv(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null)){var s=B.H;B.H=qa;try{var d=t.lastRenderedState,g=o(d,n);if(l.hasEagerState=!0,l.eagerState=g,An(g,d))return oc(e,t,l,0),yt===null&&lc(),!1}catch{}finally{B.H=s}}if(n=zd(e,t,l,a),n!==null)return _t(n,e,a),sv(n,t,a),!0}return!1}function Oh(e,t,n,a){if(B.T===null&&Cr===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:ap(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Uc(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=zd(e,n,a,2),t!==null&&(nl(2,"setOptimistic()",e),_t(t,e,2))}function Uc(e){var t=e.alternate;return e===He||t!==null&&t===He}function uv(e,t){ji=Uf=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sv(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,go(e,n)}}function Ch(e){if(e!==null&&typeof e!="function"){var t=String(e);r1.has(t)||(r1.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Ah(e,t,n,a){var l=e.memoizedState,o=n(a,l);if(e.mode&bn){pe(!0);try{o=n(a,l)}finally{pe(!1)}}o===void 0&&(t=M(t)||"Component",n1.has(t)||(n1.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=o==null?l:Fe({},l,o),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function cv(e,t,n,a,l,o,s){var d=e.stateNode;if(typeof d.shouldComponentUpdate=="function"){if(n=d.shouldComponentUpdate(a,o,s),e.mode&bn){pe(!0);try{n=d.shouldComponentUpdate(a,o,s)}finally{pe(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",M(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!ru(n,a)||!ru(l,o):!0}function fv(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=X(e)||"Component",PS.has(e)||(PS.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),wm.enqueueReplaceState(t,t.state,null))}function vr(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=Fe({},n));for(var l in e)n[l]===void 0&&(n[l]=e[l])}return n}function dv(e){tm(e),console.warn(`%s
121
+
122
+ %s
123
+ `,Hi?"An error occurred in the <"+Hi+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
124
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function hv(e){var t=Hi?"The above error occurred in the <"+Hi+"> 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, "+((Tm||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var a=e.environmentName;e=[`%o
125
+
126
+ %s
127
+
128
+ %s
129
+ `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,$1+" "+e[0],q1,od+a+od,G1):e.splice(0,0,$1,q1,od+a+od,G1),e.unshift(console),a=BD.apply(console.error,e),a()}else console.error(`%o
130
+
131
+ %s
132
+
133
+ %s
134
+ `,e,t,n)}function pv(e){tm(e)}function zc(e,t){try{Hi=t.source?X(t.source):null,Tm=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 mv(e,t,n){try{Hi=n.source?X(n.source):null,Tm=X(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 Nh(e,t,n){return n=Ro(n),n.tag=vm,n.payload={element:null},n.callback=function(){se(t.source,zc,e,t)},n}function _h(e){return e=Ro(e),e.tag=vm,e}function Mh(e,t,n,a){var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var o=a.value;e.payload=function(){return l(o)},e.callback=function(){uy(n),se(a.source,mv,t,n,a)}}var s=n.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(e.callback=function(){uy(n),se(a.source,mv,t,n,a),typeof l!="function"&&(Fo===null?Fo=new Set([this]):Fo.add(this)),mD(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.",X(n)||"Unknown")})}function YR(e,t,n,a,l){if(n.flags|=32768,bl&&Tu(e,l),a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Pr(t,n,l,!0),We&&(xl=!0),n=ta.current,n!==null){switch(n.tag){case 31:case 13:return xa===null?qc():n.alternate===null&&Nt===ao&&(Nt=Hf),n.flags&=-257,n.flags|=65536,n.lanes=l,a===Nf?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),Wh(e,a,l)),!1;case 22:return n.flags|=65536,a===Nf?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)),Wh(e,a,l)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Wh(e,a,l),qc(),!1}if(We)return xl=!0,t=ta.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,a!==im&&iu(Qn(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!==im&&iu(Qn(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=Qn(a,n),l=Nh(e.stateNode,a,l),Sc(e,l),Nt!==Xo&&(Nt=zr)),!1;var o=Qn(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(ys===null?ys=[o]:ys.push(o),Nt!==Xo&&(Nt=zr),t===null)return!0;a=Qn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=l&-l,n.lanes|=e,e=Nh(n.stateNode,a,e),Sc(n,e),!1;case 1:if(t=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Fo===null||!Fo.has(o))))return n.flags|=65536,l&=-l,n.lanes|=l,l=_h(l),Mh(l,e,n,a),Sc(n,l),!1}n=n.return}while(n!==null);return!1}function cn(e,t,n,a){t.child=e===null?BS(t,null,n,a):Mr(t,e.child,n,a)}function gv(e,t,n,a,l){n=n.render;var o=t.ref;if("ref"in a){var s={};for(var d in a)d!=="ref"&&(s[d]=a[d])}else s=a;return hr(t),a=ah(e,t,n,s,o,l),d=oh(),e!==null&&!Xt?(rh(e,t,l),Bl(e,t,l)):(We&&d&&Bd(t),t.flags|=1,cn(e,t,a,l),t.child)}function yv(e,t,n,a,l){if(e===null){var o=n.type;return typeof o=="function"&&!jd(o)&&o.defaultProps===void 0&&n.compare===null?(n=sr(o),t.tag=15,t.type=n,zh(t,o),vv(e,t,n,a,l)):(e=Hd(n.type,null,a,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!Bh(e,l)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:ru,n(s,a)&&e.ref===t.ref)return Bl(e,t,l)}return t.flags|=1,e=jl(o,a),e.ref=t.ref,e.return=t,t.child=e}function vv(e,t,n,a,l){if(e!==null){var o=e.memoizedProps;if(ru(o,a)&&e.ref===t.ref&&t.type===e.type)if(Xt=!1,t.pendingProps=a=o,Bh(e,l))(e.flags&131072)!==0&&(Xt=!0);else return t.lanes=e.lanes,Bl(e,t,l)}return Uh(e,t,n,a,l)}function bv(e,t,n,a){var l=a.children,o=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Qu,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,e!==null){for(a=t.child=e.child,l=0;a!==null;)l=l|a.lanes|a.childLanes,a=a.sibling;a=l&~o}else a=0,t.child=null;return Sv(e,t,o,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&pc(t,o!==null?o.cachePool:null),o!==null?Ly(t,o):Wd(t),jy(t);else return a=t.lanes=536870912,Sv(e,t,o!==null?o.baseLanes|n:n,n,a)}else o!==null?(pc(t,o.cachePool),Ly(t,o),Do(t),t.memoizedState=null):(e!==null&&pc(t,null),Wd(t),Do(t));return cn(e,t,l,n),t.child}function vu(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Qu,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Sv(e,t,n,a,l){var o=Fd();return o=o===null?null:{parent:$t._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},e!==null&&pc(t,null),Wd(t),jy(t),e!==null&&Pr(e,t,a,!0),t.childLanes=l,null}function Lc(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
135
+ - <Activity %s>
136
+ + <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=Hc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Ev(e,t,n){return Mr(t,e.child,null,n),e=Lc(t,t.pendingProps),e.flags|=2,Fn(t),t.memoizedState=null,e}function $R(e,t,n){var a=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(We){if(a.mode==="hidden")return e=Lc(t,a),t.lanes=536870912,vu(null,e);if(th(t),(e=Rt)?(n=Qb(e,Sa),n=n!==null&&n.data===Br?n:null,n!==null&&(a={dehydrated:n,treeContext:hy(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=fy(n),a.return=t,t.child=a,hn=t,Rt=null)):n=null,n===null)throw uc(t,e),So(t);return t.lanes=536870912,null}return Lc(t,a)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(th(t),l)if(t.flags&256)t.flags&=-257,t=Ev(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(my(),(n&536870912)!==0&&$c(t),Xt||Pr(e,t,n,!1),l=(n&e.childLanes)!==0,Xt||l){if(a=yt,a!==null&&(s=Al(a,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,yn(e,s),_t(a,e,s),Dm;qc(),t=Ev(e,t,n)}else e=o.treeContext,Rt=Pn(s.nextSibling),hn=t,We=!0,Vo=null,xl=!1,ea=null,Sa=!1,e!==null&&py(t,e),t=Lc(t,a),t.flags|=4096;return t}return o=e.child,a={mode:a.mode,children:a.children},(n&536870912)!==0&&(n&e.lanes)!==0&&$c(t),e=jl(o,a),e.ref=t.ref,t.child=e,e.return=t,e}function jc(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 Uh(e,t,n,a,l){if(n.prototype&&typeof n.prototype.render=="function"){var o=M(n)||"Unknown";i1[o]||(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.",o,o),i1[o]=!0)}return t.mode&bn&&$a.recordLegacyContextWarning(t,null),e===null&&(zh(t,t.type),n.contextTypes&&(o=M(n)||"Unknown",s1[o]||(s1[o]=!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)",o)))),hr(t),n=ah(e,t,n,a,void 0,l),a=oh(),e!==null&&!Xt?(rh(e,t,l),Bl(e,t,l)):(We&&a&&Bd(t),t.flags|=1,cn(e,t,n,l),t.child)}function xv(e,t,n,a,l,o){return hr(t),to=-1,cs=e!==null&&e.type!==t.type,t.updateQueue=null,n=lh(t,a,n,l),Hy(e,t),a=oh(),e!==null&&!Xt?(rh(e,t,o),Bl(e,t,o)):(We&&a&&Bd(t),t.flags|=1,cn(e,t,n,o),t.child)}function Rv(e,t,n,a,l){switch(p(t)){case!1:var o=t.stateNode,s=new t.type(t.memoizedProps,o.context).state;o.updater.enqueueSetState(o,s,null);break;case!0:t.flags|=128,t.flags|=65536,o=Error("Simulated error coming from DevTools");var d=l&-l;if(t.lanes|=d,s=yt,s===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");d=_h(d),Mh(d,s,t,Qn(o,t)),Sc(t,d)}if(hr(t),t.stateNode===null){if(s=ko,o=n.contextType,"contextType"in n&&o!==null&&(o===void 0||o.$$typeof!==gl)&&!o1.has(n)&&(o1.add(n),d=o===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 o!="object"?" However, it is set to a "+typeof o+".":o.$$typeof===Op?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(o).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",M(n)||"Component",d)),typeof o=="object"&&o!==null&&(s=Tt(o)),o=new n(a,s),t.mode&bn){pe(!0);try{o=new n(a,s)}finally{pe(!1)}}if(s=t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=wm,t.stateNode=o,o._reactInternals=t,o._reactInternalInstance=KS,typeof n.getDerivedStateFromProps=="function"&&s===null&&(s=M(n)||"Component",IS.has(s)||(IS.add(s),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.",s,o.state===null?"null":"undefined",s))),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"){var g=d=s=null;if(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0?s="componentWillMount":typeof o.UNSAFE_componentWillMount=="function"&&(s="UNSAFE_componentWillMount"),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0?d="componentWillReceiveProps":typeof o.UNSAFE_componentWillReceiveProps=="function"&&(d="UNSAFE_componentWillReceiveProps"),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0?g="componentWillUpdate":typeof o.UNSAFE_componentWillUpdate=="function"&&(g="UNSAFE_componentWillUpdate"),s!==null||d!==null||g!==null){o=M(n)||"Component";var y=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";e1.has(o)||(e1.add(o),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
137
+
138
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
139
+
140
+ The above lifecycles should be removed. Learn more about this warning here:
141
+ https://react.dev/link/unsafe-component-lifecycles`,o,y,s!==null?`
142
+ `+s:"",d!==null?`
143
+ `+d:"",g!==null?`
144
+ `+g:""))}}o=t.stateNode,s=M(n)||"Component",o.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?",s):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",s)),!o.getInitialState||o.getInitialState.isReactClassApproved||o.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?",s),o.getDefaultProps&&!o.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.",s),o.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",s),n.childContextTypes&&!l1.has(n)&&(l1.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)",s)),n.contextTypes&&!a1.has(n)&&(a1.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)",s)),typeof o.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.",s),n.prototype&&n.prototype.isPureReactComponent&&typeof o.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.",M(n)||"A pure component"),typeof o.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),typeof o.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().",s),typeof o.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),typeof o.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s),d=o.props!==a,o.props!==void 0&&d&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",s),o.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.",s,s),typeof o.getSnapshotBeforeUpdate!="function"||typeof o.componentDidUpdate=="function"||WS.has(n)||(WS.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",M(n))),typeof o.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof o.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),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.",s),(d=o.state)&&(typeof d!="object"||Kt(d))&&console.error("%s.state: must be set to an object or null",s),typeof o.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s),o=t.stateNode,o.props=a,o.state=t.memoizedState,o.refs={},Pd(t),s=n.contextType,o.context=typeof s=="object"&&s!==null?Tt(s):ko,o.state===a&&(s=M(n)||"Component",t1.has(s)||(t1.add(s),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.",s))),t.mode&bn&&$a.recordLegacyContextWarning(t,o),$a.recordUnsafeLifecycleWarnings(t,o),o.state=t.memoizedState,s=n.getDerivedStateFromProps,typeof s=="function"&&(Ah(t,n,s,a),o.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(s=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),s!==o.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",X(t)||"Component"),wm.enqueueReplaceState(o,o.state,null)),pu(t,a,o,l),hu(),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ya)!==ze&&(t.flags|=134217728),o=!0}else if(e===null){o=t.stateNode;var N=t.memoizedProps;d=vr(n,N),o.props=d;var _=o.context;g=n.contextType,s=ko,typeof g=="object"&&g!==null&&(s=Tt(g)),y=n.getDerivedStateFromProps,g=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function",N=t.pendingProps!==N,g||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(N||_!==s)&&fv(t,o,a,s),Go=!1;var O=t.memoizedState;o.state=O,pu(t,a,o,l),hu(),_=t.memoizedState,N||O!==_||Go?(typeof y=="function"&&(Ah(t,n,y,a),_=t.memoizedState),(d=Go||cv(t,n,d,a,O,_,s))?(g||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ya)!==ze&&(t.flags|=134217728)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ya)!==ze&&(t.flags|=134217728),t.memoizedProps=a,t.memoizedState=_),o.props=a,o.state=_,o.context=s,o=d):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ya)!==ze&&(t.flags|=134217728),o=!1)}else{o=t.stateNode,Id(e,t),s=t.memoizedProps,g=vr(n,s),o.props=g,y=t.pendingProps,O=o.context,_=n.contextType,d=ko,typeof _=="object"&&_!==null&&(d=Tt(_)),N=n.getDerivedStateFromProps,(_=typeof N=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==y||O!==d)&&fv(t,o,a,d),Go=!1,O=t.memoizedState,o.state=O,pu(t,a,o,l),hu();var H=t.memoizedState;s!==y||O!==H||Go||e!==null&&e.dependencies!==null&&cc(e.dependencies)?(typeof N=="function"&&(Ah(t,n,N,a),H=t.memoizedState),(g=Go||cv(t,n,g,a,O,H,d)||e!==null&&e.dependencies!==null&&cc(e.dependencies))?(_||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(a,H,d),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(a,H,d)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=H),o.props=a,o.state=H,o.context=d,o=g):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),o=!1)}if(d=o,jc(e,t),s=(t.flags&128)!==0,d||s){if(d=t.stateNode,fo(t),s&&typeof n.getDerivedStateFromError!="function")n=null,Nn=-1;else if(n=DS(d),t.mode&bn){pe(!0);try{DS(d)}finally{pe(!1)}}t.flags|=1,e!==null&&s?(t.child=Mr(t,e.child,null,l),t.child=Mr(t,null,n,l)):cn(e,t,n,l),t.memoizedState=d.state,e=t.child}else e=Bl(e,t,l);return l=t.stateNode,o&&l.props!==a&&(ki||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",X(t)||"a component"),ki=!0),e}function wv(e,t,n,a){return dr(),t.flags|=256,cn(e,t,n,a),t.child}function zh(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
145
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=M(t)||"Unknown",c1[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),c1[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=M(t)||"Unknown",u1[t]||(console.error("%s: Function components do not support contextType.",t),u1[t]=!0))}function Lh(e){return{baseLanes:e,cachePool:xy()}}function jh(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=qn),e}function Tv(e,t,n){var a,l=t.pendingProps;h(t)&&(t.flags|=128);var o=!1,s=(t.flags&128)!==0;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(kt.current&us)!==0),a&&(o=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(We){if(o?To(t):Do(t),(e=Rt)?(n=Qb(e,Sa),n=n!==null&&n.data!==Br?n:null,n!==null&&(a={dehydrated:n,treeContext:hy(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=fy(n),a.return=t,t.child=a,hn=t,Rt=null)):n=null,n===null)throw uc(t,e),So(t);return mp(n)?t.lanes=32:t.lanes=536870912,null}var d=l.children;if(l=l.fallback,o){Do(t);var g=t.mode;return d=Hc({mode:"hidden",children:d},g),l=cr(l,g,n,null),d.return=t,l.return=t,d.sibling=l,t.child=d,l=t.child,l.memoizedState=Lh(n),l.childLanes=jh(e,a,n),t.memoizedState=Om,vu(null,l)}return To(t),Hh(t,d)}var y=e.memoizedState;if(y!==null){var N=y.dehydrated;if(N!==null){if(s)t.flags&256?(To(t),t.flags&=-257,t=kh(e,t,n)):t.memoizedState!==null?(Do(t),t.child=e.child,t.flags|=128,t=null):(Do(t),d=l.fallback,g=t.mode,l=Hc({mode:"visible",children:l.children},g),d=cr(d,g,n,null),d.flags|=2,l.return=t,d.return=t,l.sibling=d,t.child=l,Mr(t,e.child,null,n),l=t.child,l.memoizedState=Lh(n),l.childLanes=jh(e,a,n),t.memoizedState=Om,t=vu(null,l));else if(To(t),my(),(n&536870912)!==0&&$c(t),mp(N)){if(a=N.nextSibling&&N.nextSibling.dataset,a){d=a.dgst;var _=a.msg;g=a.stck;var O=a.cstck}o=_,a=d,l=g,N=O,d=o,g=N,d=Error(d||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),d.stack=l||"",d.digest=a,a=g===void 0?null:g,l={value:d,source:null,stack:a},typeof a=="string"&&rm.set(d,l),iu(l),t=kh(e,t,n)}else if(Xt||Pr(e,t,n,!1),a=(n&e.childLanes)!==0,Xt||a){if(a=yt,a!==null&&(l=Al(a,n),l!==0&&l!==y.retryLane))throw y.retryLane=l,yn(e,l),_t(a,e,l),Dm;pp(N)||qc(),t=kh(e,t,n)}else pp(N)?(t.flags|=192,t.child=e.child,t=null):(e=y.treeContext,Rt=Pn(N.nextSibling),hn=t,We=!0,Vo=null,xl=!1,ea=null,Sa=!1,e!==null&&py(t,e),t=Hh(t,l.children),t.flags|=4096);return t}}return o?(Do(t),d=l.fallback,g=t.mode,O=e.child,N=O.sibling,l=jl(O,{mode:"hidden",children:l.children}),l.subtreeFlags=O.subtreeFlags&65011712,N!==null?d=jl(N,d):(d=cr(d,g,n,null),d.flags|=2),d.return=t,l.return=t,l.sibling=d,t.child=l,vu(null,l),l=t.child,d=e.child.memoizedState,d===null?d=Lh(n):(g=d.cachePool,g!==null?(O=$t._currentValue,g=g.parent!==O?{parent:O,pool:O}:g):g=xy(),d={baseLanes:d.baseLanes|n,cachePool:g}),l.memoizedState=d,l.childLanes=jh(e,a,n),t.memoizedState=Om,vu(e.child,l)):(y!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&$c(t),To(t),n=e.child,e=n.sibling,n=jl(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 Hh(e,t){return t=Hc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Hc(e,t){return e=x(22,e,null,t),e.lanes=0,e}function kh(e,t,n){return Mr(t,e.child,null,n),e=Hh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Dv(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Gd(e.return,t,n)}function Vh(e,t,n,a,l,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:l,treeForkCount:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=n,s.tailMode=l,s.treeForkCount=o)}function Ov(e,t,n){var a=t.pendingProps,l=a.revealOrder,o=a.tail,s=a.children,d=kt.current;if((a=(d&us)!==0)?(d=d&zi|us,t.flags|=128):d&=zi,ce(kt,d,t),d=l??"null",l!=="forwards"&&l!=="unstable_legacy-backwards"&&l!=="together"&&l!=="independent"&&!f1[d])if(f1[d]=!0,l==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(l==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof l=="string")switch(l.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":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 "independent", "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l);d=o??"null",jf[d]||(o==null?(l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&(jf[d]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):o!=="visible"&&o!=="collapsed"&&o!=="hidden"?(jf[d]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',o)):l!=="forwards"&&l!=="backwards"&&l!=="unstable_legacy-backwards"&&(jf[d]=!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"||l==="unstable_legacy-backwards")&&s!==void 0&&s!==null&&s!==!1)if(Kt(s)){for(d=0;d<s.length;d++)if(!My(s[d],d))break e}else if(d=Le(s),typeof d=="function"){if(d=d.call(s))for(var g=d.next(),y=0;!g.done;g=d.next()){if(!My(g.value,y))break e;y++}}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(cn(e,t,s,n),We?(bo(),s=Zu):s=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Dv(e,n,t);else if(e.tag===19)Dv(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}switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Ec(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Vh(t,!1,l,n,o,s);break;case"backwards":case"unstable_legacy-backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Ec(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Vh(t,!0,n,null,o,s);break;case"together":Vh(t,!1,null,null,void 0,s);break;default:t.memoizedState=null}return t.child}function Bl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nn=-1,Zo|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Pr(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=jl(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=jl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Bh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&cc(e)))}function qR(e,t,n){switch(t.tag){case 3:Ae(t,t.stateNode.containerInfo),Eo(t,$t,e.memoizedState.cache),dr();break;case 27:case 5:fe(t);break;case 4:Ae(t,t.stateNode.containerInfo);break;case 10:Eo(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 31:if(t.memoizedState!==null)return t.flags|=128,th(t),null;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(To(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Tv(e,t,n):(To(t),e=Bl(e,t,n),e!==null?e.sibling:null);To(t);break;case 19:var l=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Pr(e,t,n,!1),a=(n&t.childLanes)!==0),l){if(a)return Ov(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ce(kt,kt.current,t),a)break;return null;case 22:return t.lanes=0,bv(e,t,n,t.pendingProps);case 24:Eo(t,$t,e.memoizedState.cache)}return Bl(e,t,n)}function Yh(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Hd(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)Xt=!0;else{if(!Bh(e,n)&&(t.flags&128)===0)return Xt=!1,qR(e,t,n);Xt=(e.flags&131072)!==0}else Xt=!1,(a=We)&&(bo(),a=(t.flags&1048576)!==0),a&&(a=t.index,bo(),dy(t,Zu,a));switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=xo(t.elementType),t.type=e,typeof e=="function")jd(e)?(a=vr(e,a),t.tag=1,t.type=e=sr(e),t=Rv(null,t,e,a,n)):(t.tag=0,zh(t,e),t.type=e=sr(e),t=Uh(null,t,e,a,n));else{if(e!=null){if(l=e.$$typeof,l===zu){t.tag=11,t.type=e=Ld(e),t=gv(null,t,e,a,n);break e}else if(l===af){t.tag=14,t=yv(null,t,e,a,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===In&&(t=" Did you wrap a component in React.lazy() more than once?"),n=M(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Uh(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,l=vr(a,t.pendingProps),Rv(e,t,a,l,n);case 3:e:{if(Ae(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,Id(e,t),pu(t,a,null,n);var s=t.memoizedState;if(a=s.cache,Eo(t,$t,a),a!==o.cache&&Xd(t,[$t],n,!0),hu(),a=s.element,o.isDehydrated)if(o={element:a,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=wv(e,t,a,n);break e}else if(a!==l){l=Qn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),iu(l),t=wv(e,t,a,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Rt=Pn(e.firstChild),hn=t,We=!0,Vo=null,xl=!1,ea=null,Sa=!0,n=BS(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(dr(),a===l){t=Bl(e,t,n);break e}cn(e,t,a,n)}t=t.child}return t;case 26:return jc(e,t),e===null?(n=Ib(t.type,null,t.pendingProps,null))?t.memoizedState=n:We||(n=t.type,e=t.pendingProps,a=xe(Mo.current),a=Zc(a).createElement(n),a[dn]=t,a[On]=e,fn(a,n,e),be(a),t.stateNode=a):t.memoizedState=Ib(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return fe(t),e===null&&We&&(a=xe(Mo.current),l=oe(),a=t.stateNode=Kb(t.type,t.pendingProps,a,l,!1),xl||(l=kb(a,t.type,t.pendingProps,l),l!==null&&(fr(t,0).serverProps=l)),hn=t,Sa=!0,l=Rt,No(t.type)?(Km=l,Rt=Pn(a.firstChild)):Rt=l),cn(e,t,t.pendingProps.children,n),jc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&We&&(o=oe(),a=Dd(t.type,o.ancestorInfo),l=Rt,(s=!l)||(s=_w(l,t.type,t.pendingProps,Sa),s!==null?(t.stateNode=s,xl||(o=kb(s,t.type,t.pendingProps,o),o!==null&&(fr(t,0).serverProps=o)),hn=t,Rt=Pn(s.firstChild),Sa=!1,o=!0):o=!1,s=!o),s&&(a&&uc(t,l),So(t))),fe(t),l=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,a=o.children,dp(l,o)?a=null:s!==null&&dp(l,s)&&(t.flags|=32),t.memoizedState!==null&&(l=ah(e,t,LR,null,null,n),Ds._currentValue=l),jc(e,t),cn(e,t,a,n),t.child;case 6:return e===null&&We&&(n=t.pendingProps,e=oe(),a=e.ancestorInfo.current,n=a!=null?Is(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=Rt,(a=!e)||(a=Mw(e,t.pendingProps,Sa),a!==null?(t.stateNode=a,hn=t,Rt=null,a=!0):a=!1,a=!a),a&&(n&&uc(t,e),So(t))),null;case 13:return Tv(e,t,n);case 4:return Ae(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Mr(t,null,a,n):cn(e,t,a,n),t.child;case 11:return gv(e,t,t.type,t.pendingProps,n);case 7:return cn(e,t,t.pendingProps,n),t.child;case 8:return cn(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,cn(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.type,l=t.pendingProps,o=l.value,"value"in l||d1||(d1=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Eo(t,a,o),cn(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."),hr(t),l=Tt(l),a=pm(a,l,void 0),t.flags|=1,cn(e,t,a,n),t.child;case 14:return yv(e,t,t.type,t.pendingProps,n);case 15:return vv(e,t,t.type,t.pendingProps,n);case 19:return Ov(e,t,n);case 31:return $R(e,t,n);case 22:return bv(e,t,n,t.pendingProps);case 24:return hr(t),a=Tt($t),e===null?(l=Fd(),l===null&&(l=yt,o=Qd(),l.pooledCache=o,pr(o),o!==null&&(l.pooledCacheLanes|=n),l=o),t.memoizedState={parent:a,cache:l},Pd(t),Eo(t,$t,l)):((e.lanes&n)!==0&&(Id(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),Eo(t,$t,a)):(a=o.cache,Eo(t,$t,a),a!==l.cache&&Xd(t,[$t],n,!0))),cn(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 Yl(e){e.flags|=4}function $h(e,t,n,a,l){if((t=(e.mode&cD)!==ze)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(rb())e.flags|=8192;else throw _r=Nf,gm}else e.flags&=-16777217}function Cv(e,t){if(t.type!=="stylesheet"||(t.state.loading&Ta)!==qr)e.flags&=-16777217;else if(e.flags|=16777216,!a0(t))if(rb())e.flags|=8192;else throw _r=Nf,gm}function kc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?_a():536870912,e.lanes|=t,Hr|=t)}function bu(e,t){if(!We)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 vt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&Ge)!==ze){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&Ge)!==ze){l=e.actualDuration,o=e.selfBaseDuration;for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags,a|=s.flags,l+=s.actualDuration,o+=s.treeBaseDuration,s=s.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 GR(e,t,n){var a=t.pendingProps;switch(Yd(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(t),null;case 1:return vt(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),kl($t,t),Z(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Kr(t)?(qd(),Yl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,$d())),vt(t),null;case 26:var l=t.type,o=t.memoizedState;return e===null?(Yl(t),o!==null?(vt(t),Cv(t,o)):(vt(t),$h(t,l,null,a,n))):o?o!==e.memoizedState?(Yl(t),vt(t),Cv(t,o)):(vt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Yl(t),vt(t),$h(t,l,e,a,n)),null;case 27:if(de(t),n=xe(Mo.current),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Yl(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 vt(t),null}e=oe(),Kr(t)?gy(t):(e=Kb(l,a,n,e,!0),t.stateNode=e,Yl(t))}return vt(t),null;case 5:if(de(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Yl(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 vt(t),null}var s=oe();if(Kr(t))gy(t);else{switch(o=xe(Mo.current),Dd(l,s.ancestorInfo),s=s.context,o=Zc(o),s){case Qi:o=o.createElementNS(gi,l);break;case nd:o=o.createElementNS(ff,l);break;default:switch(l){case"svg":o=o.createElementNS(gi,l);break;case"math":o=o.createElementNS(ff,l);break;case"script":o=o.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof a.is=="string"?o.createElement("select",{is:a.is}):o.createElement("select"),a.multiple?o.multiple=!0:a.size&&(o.size=a.size);break;default:o=typeof a.is=="string"?o.createElement(l,{is:a.is}):o.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(o)!=="[object HTMLUnknownElement]"||Ba.call(j1,l)||(j1[l]=!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.",l)))}}o[dn]=t,o[On]=a;e:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;s.sibling===null;){if(s.return===null||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;e:switch(fn(o,l,a),l){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Yl(t)}}return vt(t),$h(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Yl(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=xe(Mo.current),n=oe(),Kr(t)){if(e=t.stateNode,n=t.memoizedProps,l=!xl,a=null,o=hn,o!==null)switch(o.tag){case 3:l&&(l=Jb(e,n,a),l!==null&&(fr(t,0).serverProps=l));break;case 27:case 5:a=o.memoizedProps,l&&(l=Jb(e,n,a),l!==null&&(fr(t,0).serverProps=l))}e[dn]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Ub(e.nodeValue,n)),e||So(t,!0)}else l=n.ancestorInfo.current,l!=null&&Is(a,l.tag,n.ancestorInfo.implicitRootScope),e=Zc(e).createTextNode(a),e[dn]=t,t.stateNode=e}return vt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Kr(t),n!==null){if(e===null){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[dn]=t,vt(t),(t.mode&Ge)!==ze&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else qd(),dr(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&Ge)!==ze&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=$d(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Fn(t),t):(Fn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return vt(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=a,o=Kr(t),l!==null&&l.dehydrated!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");o[dn]=t,vt(t),(t.mode&Ge)!==ze&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else qd(),dr(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&Ge)!==ze&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=$d(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(Fn(t),t):(Fn(t),null)}return Fn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Ge)!==ze&&cu(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),kc(t,t.updateQueue),vt(t),(t.mode&Ge)!==ze&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Z(t),e===null&&op(t.stateNode.containerInfo),vt(t),null;case 10:return kl(t.type,t),vt(t),null;case 19:if(I(kt,t),a=t.memoizedState,a===null)return vt(t),null;if(l=(t.flags&128)!==0,o=a.rendering,o===null)if(l)bu(a,!1);else{if(Nt!==ao||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=Ec(e),o!==null){for(t.flags|=128,bu(a,!1),e=o.updateQueue,t.updateQueue=e,kc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)cy(n,e),n=n.sibling;return ce(kt,kt.current&zi|us,t),We&&Hl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&ln()>qf&&(t.flags|=128,l=!0,bu(a,!1),t.lanes=4194304)}else{if(!l)if(e=Ec(o),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,kc(t,e),bu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!We)return vt(t),null}else 2*ln()-a.renderingStartTime>qf&&n!==536870912&&(t.flags|=128,l=!0,bu(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(e=a.last,e!==null?e.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=ln(),e.sibling=null,n=kt.current,n=l?n&zi|us:n&zi,ce(kt,n,t),We&&Hl(t,a.treeForkCount),e):(vt(t),null);case 22:case 23:return Fn(t),eh(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&&(vt(t),t.subtreeFlags&6&&(t.flags|=8192)):vt(t),n=t.updateQueue,n!==null&&kc(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&&I(Ar,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),kl($t,t),vt(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 XR(e,t){switch(Yd(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ge)!==ze&&cu(t),t):null;case 3:return kl($t,t),Z(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return de(t),null;case 31:if(t.memoizedState!==null){if(Fn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");dr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ge)!==ze&&cu(t),t):null;case 13:if(Fn(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.");dr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ge)!==ze&&cu(t),t):null;case 19:return I(kt,t),null;case 4:return Z(t),null;case 10:return kl(t.type,t),null;case 22:case 23:return Fn(t),eh(t),e!==null&&I(Ar,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ge)!==ze&&cu(t),t):null;case 24:return kl($t,t),null;case 25:return null;default:return null}}function Av(e,t){switch(Yd(t),t.tag){case 3:kl($t,t),Z(t);break;case 26:case 27:case 5:de(t);break;case 4:Z(t);break;case 31:t.memoizedState!==null&&Fn(t);break;case 13:Fn(t);break;case 19:I(kt,t);break;case 10:kl(t.type,t);break;case 22:case 23:Fn(t),eh(t),e!==null&&I(Ar,t);break;case 24:kl($t,t)}}function sl(e){return(e.mode&Ge)!==ze}function Nv(e,t){sl(e)?(ul(),Su(t,e),il()):Su(t,e)}function qh(e,t,n){sl(e)?(ul(),ni(n,e,t),il()):ni(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&&(a=void 0,(e&_n)!==Mf&&(qi=!0),a=se(t,gD,n),(e&_n)!==Mf&&(qi=!1),a!==void 0&&typeof a!="function")){var o=void 0;o=(n.tag&na)!==0?"useLayoutEffect":(n.tag&_n)!==0?"useInsertionEffect":"useEffect";var s=void 0;s=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then=="function"?`
146
+
147
+ It looks like you wrote `+o+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
148
+
149
+ `+o+`(() => {
150
+ async function fetchData() {
151
+ // You can await here
152
+ const response = await MyAPI.getData(someId);
153
+ // ...
154
+ }
155
+ fetchData();
156
+ }, [someId]); // Or [] if effect doesn't need props or state
157
+
158
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,se(t,function(d,g){console.error("%s must not return anything besides a function, which is used for clean-up.%s",d,g)},o,s)}n=n.next}while(n!==l)}}catch(d){ct(t,t.return,d)}}function ni(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 s=a.inst,d=s.destroy;d!==void 0&&(s.destroy=void 0,(e&_n)!==Mf&&(qi=!0),l=t,se(l,yD,l,n,d),(e&_n)!==Mf&&(qi=!1))}a=a.next}while(a!==o)}}catch(g){ct(t,t.return,g)}}function _v(e,t){sl(e)?(ul(),Su(t,e),il()):Su(t,e)}function Gh(e,t,n){sl(e)?(ul(),ni(n,e,t),il()):ni(n,e,t)}function Mv(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||ki||(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.",X(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.",X(e)||"instance"));try{se(e,zy,t,n)}catch(a){ct(e,e.return,a)}}}function QR(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function ZR(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||ki||(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.",X(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.",X(e)||"instance"));try{var l=vr(e.type,n),o=se(e,QR,t,l,a);n=h1,o!==void 0||n.has(e.type)||(n.add(e.type),se(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",X(e))})),t.__reactInternalSnapshotBeforeUpdate=o}catch(s){ct(e,e.return,s)}}function Uv(e,t,n){n.props=vr(e.type,e.memoizedProps),n.state=e.memoizedState,sl(e)?(ul(),se(e,MS,e,t,n),il()):se(e,MS,e,t,n)}function JR(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(sl(e))try{ul(),e.refCleanup=t(n)}finally{il()}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().",X(e)),t.current=n}}function Eu(e,t){try{se(e,JR,e)}catch(n){ct(e,t,n)}}function cl(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{if(sl(e))try{ul(),se(e,a)}finally{il(e)}else se(e,a)}catch(l){ct(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(sl(e))try{ul(),se(e,n,null)}finally{il(e)}else se(e,n,null)}catch(l){ct(e,t,l)}else n.current=null}function zv(e,t,n,a){var l=e.memoizedProps,o=l.id,s=l.onCommit;l=l.onRender,t=t===null?"mount":"update",Df&&(t="nested-update"),typeof l=="function"&&l(o,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof s=="function"&&s(o,t,a,n)}function FR(e,t,n,a){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",Df&&(t="nested-update"),typeof l=="function"&&l(e,t,a,n)}function Lv(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{se(e,bw,a,t,n,e)}catch(l){ct(e,e.return,l)}}function Xh(e,t,n){try{se(e,Ew,e.stateNode,e.type,n,t,e)}catch(a){ct(e,e.return,a)}}function jv(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&No(e.type)||e.tag===4}function Qh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jv(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&&No(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 Zh(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(qb(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(qb(n),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=Ll));else if(a!==4&&(a===27&&No(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Zh(e,t,n),e=e.sibling;e!==null;)Zh(e,t,n),e=e.sibling}function Vc(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&&No(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Vc(e,t,n),e=e.sibling;e!==null;)Vc(e,t,n),e=e.sibling}function KR(e){for(var t,n=e.return;n!==null;){if(jv(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=Qh(e),Vc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&($b(n),t.flags&=-33),t=Qh(e),Vc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Qh(e),Zh(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 Hv(e){var t=e.stateNode,n=e.memoizedProps;try{se(e,Hw,e.type,n,t,e)}catch(a){ct(e,e.return,a)}}function kv(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function PR(e,t){if(e=e.containerInfo,Zm=rd,e=ey(e),Ad(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 s=0,d=-1,g=-1,y=0,N=0,_=e,O=null;t:for(;;){for(var H;_!==n||l!==0&&_.nodeType!==3||(d=s+l),_!==o||a!==0&&_.nodeType!==3||(g=s+a),_.nodeType===3&&(s+=_.nodeValue.length),(H=_.firstChild)!==null;)O=_,_=H;for(;;){if(_===e)break t;if(O===n&&++y===l&&(d=s),O===o&&++N===a&&(g=s),(H=_.nextSibling)!==null)break;_=O,O=_.parentNode}_=H}n=d===-1||g===-1?null:{start:d,end:g}}else n=null}n=n||{start:0,end:0}}else n=null;for(Jm={focusedElem:e,selectionRange:n},rd=!1,rn=t;rn!==null;)if(t=rn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,rn=e;else for(;rn!==null;){switch(e=t=rn,n=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)l=e[n],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:(l&1024)!==0&&n!==null&&ZR(e,n);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)hp(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":hp(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,rn=e;break}rn=t.return}}function Vv(e,t,n){var a=Zn(),l=al(),o=ol(),s=rl(),d=n.flags;switch(n.tag){case 0:case 11:case 15:fl(e,n),d&4&&Nv(n,na|Ra);break;case 1:if(fl(e,n),d&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||ki||(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.",X(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.",X(n)||"instance")),sl(n)?(ul(),se(n,mm,n,e),il()):se(n,mm,n,e);else{var g=vr(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||ki||(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.",X(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.",X(n)||"instance")),sl(n)?(ul(),se(n,AS,n,e,g,t,e.__reactInternalSnapshotBeforeUpdate),il()):se(n,AS,n,e,g,t,e.__reactInternalSnapshotBeforeUpdate)}d&64&&Mv(n),d&512&&Eu(n,n.return);break;case 3:if(t=Vl(),fl(e,n),d&64&&(d=n.updateQueue,d!==null)){if(g=null,n.child!==null)switch(n.child.tag){case 27:case 5:g=n.child.stateNode;break;case 1:g=n.child.stateNode}try{se(n,zy,d,g)}catch(N){ct(n,n.return,N)}}e.effectDuration+=dc(t);break;case 27:t===null&&d&4&&Hv(n);case 26:case 5:if(fl(e,n),t===null){if(d&4)Lv(n);else if(d&64){e=n.type,t=n.memoizedProps,g=n.stateNode;try{se(n,Sw,g,e,t,n)}catch(N){ct(n,n.return,N)}}}d&512&&Eu(n,n.return);break;case 12:if(d&4){d=Vl(),fl(e,n),e=n.stateNode,e.effectDuration+=su(d);try{se(n,zv,n,t,Bo,e.effectDuration)}catch(N){ct(n,n.return,N)}}else fl(e,n);break;case 31:fl(e,n),d&4&&$v(e,n);break;case 13:fl(e,n),d&4&&qv(e,n),d&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(d=rw.bind(null,n),Uw(e,d))));break;case 22:if(d=n.memoizedState!==null||no,!d){t=t!==null&&t.memoizedState!==null||Qt,g=no;var y=Qt;no=d,(Qt=t)&&!y?(dl(e,n,(n.subtreeFlags&8772)!==0),(n.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&nc(n,Ce,Ue)):fl(e,n),no=g,Qt=y}break;case 30:break;default:fl(e,n)}(n.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&((Mt||.05<At)&&tl(n,Ce,Ue,At,Dt),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<Ue-Ce&&(kv(n.return.alternate,n.return)||el(n,Ce,Ue,"Mount"))),Jn(a),ll(l),Dt=o,Mt=s}function Bv(e){var t=e.alternate;t!==null&&(e.alternate=null,Bv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&U(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 $l(e,t,n){for(n=n.child;n!==null;)Yv(e,t,n),n=n.sibling}function Yv(e,t,n){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(pi,n)}catch(y){vl||(vl=!0,console.error("React instrumentation encountered an error: %o",y))}var a=Zn(),l=al(),o=ol(),s=rl();switch(n.tag){case 26:Qt||cl(n,t),$l(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:Qt||cl(n,t);var d=Zt,g=Yn;No(n.type)&&(Zt=n.stateNode,Yn=!1),$l(e,t,n),se(n,Nu,n.stateNode),Zt=d,Yn=g;break;case 5:Qt||cl(n,t);case 6:if(d=Zt,g=Yn,Zt=null,$l(e,t,n),Zt=d,Yn=g,Zt!==null)if(Yn)try{se(n,ww,Zt,n.stateNode)}catch(y){ct(n,t,y)}else try{se(n,Rw,Zt,n.stateNode)}catch(y){ct(n,t,y)}break;case 18:Zt!==null&&(Yn?(e=Zt,Gb(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ci(e)):Gb(Zt,n.stateNode));break;case 4:d=Zt,g=Yn,Zt=n.stateNode.containerInfo,Yn=!0,$l(e,t,n),Zt=d,Yn=g;break;case 0:case 11:case 14:case 15:ni(_n,n,t),Qt||qh(n,t,na),$l(e,t,n);break;case 1:Qt||(cl(n,t),d=n.stateNode,typeof d.componentWillUnmount=="function"&&Uv(n,t,d)),$l(e,t,n);break;case 21:$l(e,t,n);break;case 22:Qt=(d=Qt)||n.memoizedState!==null,$l(e,t,n),Qt=d;break;default:$l(e,t,n)}(n.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Mt||.05<At)&&tl(n,Ce,Ue,At,Dt),Jn(a),ll(l),Dt=o,Mt=s}function $v(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{se(t,Lw,e)}catch(n){ct(t,t.return,n)}}}function qv(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{se(t,jw,e)}catch(n){ct(t,t.return,n)}}function IR(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new p1),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new p1),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Bc(e,t){var n=IR(e);t.forEach(function(a){if(!n.has(a)){if(n.add(a),bl)if(Vi!==null&&Bi!==null)Tu(Bi,Vi);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var l=iw.bind(null,e,a);a.then(l,l)}})}function Vn(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var l=e,o=t,s=n[a],d=Zn(),g=o;e:for(;g!==null;){switch(g.tag){case 27:if(No(g.type)){Zt=g.stateNode,Yn=!1;break e}break;case 5:Zt=g.stateNode,Yn=!1;break e;case 3:case 4:Zt=g.stateNode.containerInfo,Yn=!0;break e}g=g.return}if(Zt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Yv(l,o,s),Zt=null,Yn=!1,(s.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&el(s,Ce,Ue,"Unmount"),Jn(d),l=s,o=l.alternate,o!==null&&(o.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Gv(t,e),t=t.sibling}function Gv(e,t){var n=Zn(),a=al(),l=ol(),o=rl(),s=e.alternate,d=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Vn(t,e),Bn(e),d&4&&(ni(_n|Ra,e,e.return),Su(_n|Ra,e),qh(e,e.return,na|Ra));break;case 1:if(Vn(t,e),Bn(e),d&512&&(Qt||s===null||cl(s,s.return)),d&64&&no&&(d=e.updateQueue,d!==null&&(s=d.callbacks,s!==null))){var g=d.shared.hiddenCallbacks;d.shared.hiddenCallbacks=g===null?s:g.concat(s)}break;case 26:if(g=Ga,Vn(t,e),Bn(e),d&512&&(Qt||s===null||cl(s,s.return)),d&4){var y=s!==null?s.memoizedState:null;if(d=e.memoizedState,s===null)if(d===null)if(e.stateNode===null){e:{d=e.type,s=e.memoizedProps,g=g.ownerDocument||g;t:switch(d){case"title":y=g.getElementsByTagName("title")[0],(!y||y[Hu]||y[dn]||y.namespaceURI===gi||y.hasAttribute("itemprop"))&&(y=g.createElement(d),g.head.insertBefore(y,g.querySelector("head > title"))),fn(y,d,s),y[dn]=e,be(y),d=y;break e;case"link":var N=t0("link","href",g).get(d+(s.href||""));if(N){for(var _=0;_<N.length;_++)if(y=N[_],y.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&y.getAttribute("rel")===(s.rel==null?null:s.rel)&&y.getAttribute("title")===(s.title==null?null:s.title)&&y.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){N.splice(_,1);break t}}y=g.createElement(d),fn(y,d,s),g.head.appendChild(y);break;case"meta":if(N=t0("meta","content",g).get(d+(s.content||""))){for(_=0;_<N.length;_++)if(y=N[_],it(s.content,"content"),y.getAttribute("content")===(s.content==null?null:""+s.content)&&y.getAttribute("name")===(s.name==null?null:s.name)&&y.getAttribute("property")===(s.property==null?null:s.property)&&y.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&y.getAttribute("charset")===(s.charSet==null?null:s.charSet)){N.splice(_,1);break t}}y=g.createElement(d),fn(y,d,s),g.head.appendChild(y);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+d+'". This is a bug in React.')}y[dn]=e,be(y),d=y}e.stateNode=d}else n0(g,e.type,e.stateNode);else e.stateNode=e0(g,d,e.memoizedProps);else y!==d?(y===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):y.count--,d===null?n0(g,e.type,e.stateNode):e0(g,d,e.memoizedProps)):d===null&&e.stateNode!==null&&Xh(e,e.memoizedProps,s.memoizedProps)}break;case 27:Vn(t,e),Bn(e),d&512&&(Qt||s===null||cl(s,s.return)),s!==null&&d&4&&Xh(e,e.memoizedProps,s.memoizedProps);break;case 5:if(Vn(t,e),Bn(e),d&512&&(Qt||s===null||cl(s,s.return)),e.flags&32){g=e.stateNode;try{se(e,$b,g)}catch(ue){ct(e,e.return,ue)}}d&4&&e.stateNode!=null&&(g=e.memoizedProps,Xh(e,g,s!==null?s.memoizedProps:g)),d&1024&&(Cm=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Vn(t,e),Bn(e),d&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.");d=e.memoizedProps,s=s!==null?s.memoizedProps:d,g=e.stateNode;try{se(e,xw,g,s,d)}catch(ue){ct(e,e.return,ue)}}break;case 3:if(g=Vl(),ad=null,y=Ga,Ga=Jc(t.containerInfo),Vn(t,e),Ga=y,Bn(e),d&4&&s!==null&&s.memoizedState.isDehydrated)try{se(e,zw,t.containerInfo)}catch(ue){ct(e,e.return,ue)}Cm&&(Cm=!1,Xv(e)),t.effectDuration+=dc(g);break;case 4:d=Ga,Ga=Jc(e.stateNode.containerInfo),Vn(t,e),Bn(e),Ga=d;break;case 12:d=Vl(),Vn(t,e),Bn(e),e.stateNode.effectDuration+=su(d);break;case 31:Vn(t,e),Bn(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Bc(e,d)));break;case 13:Vn(t,e),Bn(e),e.child.flags&8192&&e.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&($f=ln()),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Bc(e,d)));break;case 22:g=e.memoizedState!==null;var O=s!==null&&s.memoizedState!==null,H=no,ne=Qt;if(no=H||g,Qt=ne||O,Vn(t,e),Qt=ne,no=H,O&&!g&&!H&&!ne&&(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&nc(e,Ce,Ue),Bn(e),d&8192)e:for(t=e.stateNode,t._visibility=g?t._visibility&~Qu:t._visibility|Qu,!g||s===null||O||no||Qt||(br(e),(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&el(e,Ce,Ue,"Disconnect")),s=null,t=e;;){if(t.tag===5||t.tag===26){if(s===null){O=s=t;try{y=O.stateNode,g?se(O,Dw,y):se(O,Aw,O.stateNode,O.memoizedProps)}catch(ue){ct(O,O.return,ue)}}}else if(t.tag===6){if(s===null){O=t;try{N=O.stateNode,g?se(O,Ow,N):se(O,Nw,N,O.memoizedProps)}catch(ue){ct(O,O.return,ue)}}}else if(t.tag===18){if(s===null){O=t;try{_=O.stateNode,g?se(O,Tw,_):se(O,Cw,O.stateNode)}catch(ue){ct(O,O.return,ue)}}}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;s===t&&(s=null),t=t.return}s===t&&(s=null),t.sibling.return=t.return,t=t.sibling}d&4&&(d=e.updateQueue,d!==null&&(s=d.retryQueue,s!==null&&(d.retryQueue=null,Bc(e,s))));break;case 19:Vn(t,e),Bn(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Bc(e,d)));break;case 30:break;case 21:break;default:Vn(t,e),Bn(e)}(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&((Mt||.05<At)&&tl(e,Ce,Ue,At,Dt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ue-Ce&&(kv(e.return.alternate,e.return)||el(e,Ce,Ue,"Mount"))),Jn(n),ll(a),Dt=l,Mt=o}function Bn(e){var t=e.flags;if(t&2){try{se(e,KR,e)}catch(n){ct(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Xv(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Xv(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function fl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Vv(e,t.alternate,t),t=t.sibling}function Qv(e){var t=Zn(),n=al(),a=ol(),l=rl();switch(e.tag){case 0:case 11:case 14:case 15:qh(e,e.return,na),br(e);break;case 1:cl(e,e.return);var o=e.stateNode;typeof o.componentWillUnmount=="function"&&Uv(e,e.return,o),br(e);break;case 27:se(e,Nu,e.stateNode);case 26:case 5:cl(e,e.return),br(e);break;case 22:e.memoizedState===null&&br(e);break;case 30:br(e);break;default:br(e)}(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Mt||.05<At)&&tl(e,Ce,Ue,At,Dt),Jn(t),ll(n),Dt=a,Mt=l}function br(e){for(e=e.child;e!==null;)Qv(e),e=e.sibling}function Zv(e,t,n,a){var l=Zn(),o=al(),s=ol(),d=rl(),g=n.flags;switch(n.tag){case 0:case 11:case 15:dl(e,n,a),Nv(n,na);break;case 1:if(dl(e,n,a),t=n.stateNode,typeof t.componentDidMount=="function"&&se(n,mm,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{se(n,zR,t,e)}catch(y){ct(n,n.return,y)}}a&&g&64&&Mv(n),Eu(n,n.return);break;case 27:Hv(n);case 26:case 5:dl(e,n,a),a&&t===null&&g&4&&Lv(n),Eu(n,n.return);break;case 12:if(a&&g&4){g=Vl(),dl(e,n,a),a=n.stateNode,a.effectDuration+=su(g);try{se(n,zv,n,t,Bo,a.effectDuration)}catch(y){ct(n,n.return,y)}}else dl(e,n,a);break;case 31:dl(e,n,a),a&&g&4&&$v(e,n);break;case 13:dl(e,n,a),a&&g&4&&qv(e,n);break;case 22:n.memoizedState===null&&dl(e,n,a),Eu(n,n.return);break;case 30:break;default:dl(e,n,a)}(n.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Mt||.05<At)&&tl(n,Ce,Ue,At,Dt),Jn(l),ll(o),Dt=s,Mt=d}function dl(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Zv(e,t.alternate,t,n),t=t.sibling}function Jh(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&&pr(e),n!=null&&uu(n))}function Fh(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(pr(t),e!=null&&uu(e))}function Va(e,t,n,a,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var o=t.sibling;Jv(e,t,n,a,o!==null?o.actualStartTime:l),t=o}}function Jv(e,t,n,a,l){var o=Zn(),s=al(),d=ol(),g=rl(),y=jo,N=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ge)!==ze&&0<t.actualStartTime&&(t.flags&1)!==0&&ac(t,t.actualStartTime,l,Pt,n),Va(e,t,n,a,l),N&2048&&_v(t,Mn|Ra);break;case 1:(t.mode&Ge)!==ze&&0<t.actualStartTime&&((t.flags&128)!==0?_d(t,t.actualStartTime,l,[]):(t.flags&1)!==0&&ac(t,t.actualStartTime,l,Pt,n)),Va(e,t,n,a,l);break;case 3:var _=Vl(),O=Pt;Pt=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Va(e,t,n,a,l),Pt=O,N&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),a=t.memoizedState.cache,a!==n&&(pr(a),n!=null&&uu(n))),e.passiveEffectDuration+=dc(_);break;case 12:if(N&2048){N=Vl(),Va(e,t,n,a,l),e=t.stateNode,e.passiveEffectDuration+=su(N);try{se(t,FR,t,t.alternate,Bo,e.passiveEffectDuration)}catch(H){ct(t,t.return,H)}}else Va(e,t,n,a,l);break;case 31:N=Pt,_=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,_!==null&&O===null?(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(Pt=!1,_=_.hydrationErrors,_!==null&&_d(t,t.actualStartTime,l,_)):Pt=!0):Pt=!1,Va(e,t,n,a,l),Pt=N;break;case 13:N=Pt,_=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,_===null||_.dehydrated===null||O!==null&&O.dehydrated!==null?Pt=!1:(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(Pt=!1,_=_.hydrationErrors,_!==null&&_d(t,t.actualStartTime,l,_)):Pt=!0),Va(e,t,n,a,l),Pt=N;break;case 23:break;case 22:O=t.stateNode,_=t.alternate,t.memoizedState!==null?O._visibility&Ql?Va(e,t,n,a,l):xu(e,t,n,a,l):O._visibility&Ql?Va(e,t,n,a,l):(O._visibility|=Ql,ai(e,t,n,a,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),l),(t.mode&Ge)===ze||Pt||(e=t.actualStartTime,0<=e&&.05<l-e&&nc(t,e,l),0<=Ce&&0<=Ue&&.05<Ue-Ce&&nc(t,Ce,Ue))),N&2048&&Jh(_,t);break;case 24:Va(e,t,n,a,l),N&2048&&Fh(t.alternate,t);break;default:Va(e,t,n,a,l)}(t.mode&Ge)!==ze&&((e=!Pt&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<l-n&&el(t,n,l,"Mount")),0<=Ce&&0<=Ue&&((Mt||.05<At)&&tl(t,Ce,Ue,At,Dt),e&&.05<Ue-Ce&&el(t,Ce,Ue,"Mount"))),Jn(o),ll(s),Dt=d,Mt=g,jo=y}function ai(e,t,n,a,l,o){for(l=l&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var s=t.sibling;Fv(e,t,n,a,l,s!==null?s.actualStartTime:o),t=s}}function Fv(e,t,n,a,l,o){var s=Zn(),d=al(),g=ol(),y=rl(),N=jo;l&&(t.mode&Ge)!==ze&&0<t.actualStartTime&&(t.flags&1)!==0&&ac(t,t.actualStartTime,o,Pt,n);var _=t.flags;switch(t.tag){case 0:case 11:case 15:ai(e,t,n,a,l,o),_v(t,Mn);break;case 23:break;case 22:var O=t.stateNode;t.memoizedState!==null?O._visibility&Ql?ai(e,t,n,a,l,o):xu(e,t,n,a,o):(O._visibility|=Ql,ai(e,t,n,a,l,o)),l&&_&2048&&Jh(t.alternate,t);break;case 24:ai(e,t,n,a,l,o),l&&_&2048&&Fh(t.alternate,t);break;default:ai(e,t,n,a,l,o)}(t.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Mt||.05<At)&&tl(t,Ce,Ue,At,Dt),Jn(s),ll(d),Dt=g,Mt=y,jo=N}function xu(e,t,n,a,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var o=t.child;o!==null;){t=o.sibling;var s=e,d=n,g=a,y=t!==null?t.actualStartTime:l,N=jo;(o.mode&Ge)!==ze&&0<o.actualStartTime&&(o.flags&1)!==0&&ac(o,o.actualStartTime,y,Pt,d);var _=o.flags;switch(o.tag){case 22:xu(s,o,d,g,y),_&2048&&Jh(o.alternate,o);break;case 24:xu(s,o,d,g,y),_&2048&&Fh(o.alternate,o);break;default:xu(s,o,d,g,y)}jo=N,o=t}}function li(e,t,n){if(e.subtreeFlags&ds)for(e=e.child;e!==null;)Kv(e,t,n),e=e.sibling}function Kv(e,t,n){switch(e.tag){case 26:li(e,t,n),e.flags&ds&&e.memoizedState!==null&&Bw(n,Ga,e.memoizedState,e.memoizedProps);break;case 5:li(e,t,n);break;case 3:case 4:var a=Ga;Ga=Jc(e.stateNode.containerInfo),li(e,t,n),Ga=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=ds,ds=16777216,li(e,t,n),ds=a):li(e,t,n));break;default:li(e,t,n)}}function Pv(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],l=Zn();rn=a,eb(a,e),(a.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&el(a,Ce,Ue,"Unmount"),Jn(l)}Pv(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Iv(e),e=e.sibling}function Iv(e){var t=Zn(),n=al(),a=ol(),l=rl();switch(e.tag){case 0:case 11:case 15:Ru(e),e.flags&2048&&Gh(e,e.return,Mn|Ra);break;case 3:var o=Vl();Ru(e),e.stateNode.passiveEffectDuration+=dc(o);break;case 12:o=Vl(),Ru(e),e.stateNode.passiveEffectDuration+=su(o);break;case 22:o=e.stateNode,e.memoizedState!==null&&o._visibility&Ql&&(e.return===null||e.return.tag!==13)?(o._visibility&=~Ql,Yc(e),(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&el(e,Ce,Ue,"Disconnect")):Ru(e);break;default:Ru(e)}(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Mt||.05<At)&&tl(e,Ce,Ue,At,Dt),Jn(t),ll(n),Mt=l,Dt=a}function Yc(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],l=Zn();rn=a,eb(a,e),(a.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&.05<Ue-Ce&&el(a,Ce,Ue,"Unmount"),Jn(l)}Pv(e)}for(e=e.child;e!==null;)Wv(e),e=e.sibling}function Wv(e){var t=Zn(),n=al(),a=ol(),l=rl();switch(e.tag){case 0:case 11:case 15:Gh(e,e.return,Mn),Yc(e);break;case 22:var o=e.stateNode;o._visibility&Ql&&(o._visibility&=~Ql,Yc(e));break;default:Yc(e)}(e.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Mt||.05<At)&&tl(e,Ce,Ue,At,Dt),Jn(t),ll(n),Mt=l,Dt=a}function eb(e,t){for(;rn!==null;){var n=rn,a=n,l=t,o=Zn(),s=al(),d=ol(),g=rl();switch(a.tag){case 0:case 11:case 15:Gh(a,l,Mn);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool,l!=null&&pr(l));break;case 24:uu(a.memoizedState.cache)}if((a.mode&Ge)!==ze&&0<=Ce&&0<=Ue&&(Mt||.05<At)&&tl(a,Ce,Ue,At,Dt),Jn(o),ll(s),Mt=g,Dt=d,a=n.child,a!==null)a.return=n,rn=a;else e:for(n=e;rn!==null;){if(a=rn,o=a.sibling,s=a.return,Bv(a),a===n){rn=null;break e}if(o!==null){o.return=s,rn=o;break e}rn=s}}}function WR(){xD.forEach(function(e){return e()})}function tb(){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 Kn(e){if((ot&It)!==un&&Qe!==0)return Qe&-Qe;var t=B.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),ap()):Ma()}function nb(){if(qn===0)if((Qe&536870912)===0||We){var e=rf;rf<<=1,(rf&3932160)===0&&(rf=262144),qn=e}else qn=536870912;return e=ta.current,e!==null&&(e.flags|=32),qn}function _t(e,t,n){if(qi&&console.error("useInsertionEffect must not schedule updates."),Vm&&(Qf=!0),(e===yt&&(ht===Lr||ht===jr)||e.cancelPendingCommit!==null)&&(ri(e,0),Co(e,Qe,qn,!1)),ca(e,n),(ot&It)!==un&&e===yt){if(yl)switch(t.tag){case 0:case 11:case 15:e=Ze&&X(Ze)||"Unknown",A1.has(e)||(A1.add(e),t=X(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:C1||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),C1=!0)}}else bl&&Nl(e,t,n),sw(t),e===yt&&((ot&It)===un&&(Jo|=n),Nt===Xo&&Co(e,Qe,qn,!1)),hl(e)}function ab(e,t,n){if((ot&(It|aa))!==un)throw Error("Should not already be working.");if(Qe!==0&&Ze!==null){var a=Ze,l=ln();switch(ES){case ms:case Lr:var o=Iu;xt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Suspended",o,l,ma,void 0,"primary-light")):console.timeStamp("Suspended",o,l,ma,void 0,"primary-light"));break;case jr:o=Iu,xt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Action",o,l,ma,void 0,"primary-light")):console.timeStamp("Action",o,l,ma,void 0,"primary-light"));break;default:xt&&(a=l-Iu,3>a||console.timeStamp("Blocked",Iu,l,ma,void 0,5>a?"primary-light":10>a?"primary":100>a?"primary-dark":"error"))}}o=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Fa(e,t))?tw(e,t):Ph(e,t,!0);var s=n;do{if(o===ao){Yi&&!n&&Co(e,t,0,!1),t=ht,Iu=qt(),ES=t;break}else{if(a=ln(),l=e.current.alternate,s&&!ew(l)){Ha(t),l=on,o=a,!xt||o<=l||(Lt?Lt.run(console.timeStamp.bind(console,"Teared Render",l,o,lt,nt,"error")):console.timeStamp("Teared Render",l,o,lt,nt,"error")),Sr(t,a),o=Ph(e,t,!1),s=!1;continue}if(o===zr){if(s=t,e.errorRecoveryDisabledLanes&s)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){Ha(t),Md(on,a,t,Lt),Sr(t,a),t=d;e:{a=e,o=s,s=ys;var g=a.current.memoizedState.isDehydrated;if(g&&(ri(a,d).flags|=256),d=Ph(a,d,!1),d!==zr){if(_m&&!g){a.errorRecoveryDisabledLanes|=o,Jo|=o,o=Xo;break e}a=Un,Un=s,a!==null&&(Un===null?Un=a:Un.push.apply(Un,a))}o=d}if(s=!1,o!==zr)continue;a=ln()}}if(o===ps){Ha(t),Md(on,a,t,Lt),Sr(t,a),ri(e,0),Co(e,t,0,!0);break}e:{switch(n=e,o){case ao:case ps:throw Error("Root did not complete. This is a bug in React.");case Xo:if((t&4194048)!==t)break;case kf:Ha(t),ay(on,a,t,Lt),Sr(t,a),l=t,(l&127)!==0?Rf=a:(l&4194048)!==0&&(wf=a),Co(n,t,qn,!Qo);break e;case zr:Un=null;break;case Hf:case m1:break;default:throw Error("Unknown root exit status.")}if(B.actQueue!==null)Ih(n,l,t,Un,vs,Yf,qn,Jo,Hr,o,null,null,on,a);else{if((t&62914560)===t&&(s=$f+v1-ln(),10<s)){if(Co(n,t,qn,!Qo),Cl(n,0,!0)!==0)break e;Xa=t,n.timeoutHandle=H1(lb.bind(null,n,l,Un,vs,Yf,t,qn,Jo,Hr,Qo,o,"Throttled",on,a),s);break e}lb(n,l,Un,vs,Yf,t,qn,Jo,Hr,Qo,o,null,on,a)}}}break}while(!0);hl(e)}function lb(e,t,n,a,l,o,s,d,g,y,N,_,O,H){e.timeoutHandle=$r;var ne=t.subtreeFlags,ue=null;if((ne&8192||(ne&16785408)===16785408)&&(ue={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ll},Kv(t,o,ue),ne=(o&62914560)===o?$f-ln():(o&4194048)===o?y1-ln():0,ne=Yw(ue,ne),ne!==null)){Xa=o,e.cancelPendingCommit=ne(Ih.bind(null,e,t,o,n,a,l,s,d,g,N,ue,ue.waitingForViewTransition?"Waiting for the previous Animation":0<ue.count?0<ue.imgCount?"Suspended on CSS and Images":"Suspended on CSS":ue.imgCount===1?"Suspended on an Image":0<ue.imgCount?"Suspended on Images":null,O,H)),Co(e,o,s,!y);return}Ih(e,t,o,n,a,l,s,d,g,N,ue,_,O,H)}function ew(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(!An(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 Co(e,t,n,a){t&=~Mm,t&=~Jo,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var l=t;0<l;){var o=31-Dn(l),s=1<<o;a[o]=-1,l&=~s}n!==0&&xn(e,n,t)}function oi(){return(ot&(It|aa))===un?(Du(0),!1):!0}function Kh(){if(Ze!==null){if(ht===$n)var e=Ze.return;else e=Ze,sc(),ih(e),Mi=null,is=0,e=Ze;for(;e!==null;)Av(e.alternate,e),e=e.return;Ze=null}}function Sr(e,t){(e&127)!==0&&(Tr=t),(e&4194048)!==0&&(Pl=t),(e&62914560)!==0&&(bS=t),(e&2080374784)!==0&&(SS=t)}function ri(e,t){xt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",nt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",nt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",nt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",nt,"primary-light"));var n=on;if(on=qt(),Qe!==0&&0<n){if(Ha(Qe),Nt===Hf||Nt===Xo)ay(n,on,t,Lt);else{var a=on,l=Lt;if(xt&&!(a<=n)){var o=(t&738197653)===t?"tertiary-dark":"primary-dark",s=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";l?l.run(console.timeStamp.bind(console,s,n,a,lt,nt,o)):console.timeStamp(s,n,a,lt,nt,o)}}Sr(Qe,on)}if(n=Lt,Lt=null,(t&127)!==0){Lt=Fu,l=0<=Rl&&Rl<Tr?Tr:Rl,a=0<=Dr&&Dr<Tr?Tr:Dr,o=0<=a?a:0<=l?l:on,0<=Rf?(Ha(2),ly(Rf,o,t,n)):Tf&127,n=l;var d=a,g=Ku,y=0<Ai,N=Yo===Ju,_=Yo===xf;if(l=on,a=Fu,o=cm,s=fm,xt){if(lt="Blocking",0<n?n>l&&(n=l):n=l,0<d?d>n&&(d=n):d=n,g!==null&&n>d){var O=y?"secondary-light":"warning";a?a.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+g,d,n,lt,nt,O)):console.timeStamp(y?"Consecutive":"Event: "+g,d,n,lt,nt,O)}l>n&&(d=N?"error":(t&738197653)===t?"tertiary-light":"primary-light",N=_?"Promise Resolved":N?"Cascading Update":5<l-n?"Update Blocked":"Update",_=[],s!=null&&_.push(["Component name",s]),o!=null&&_.push(["Method name",o]),n={start:n,end:l,detail:{devtools:{properties:_,track:lt,trackGroup:nt,color:d}}},a?a.run(performance.measure.bind(performance,N,n)):performance.measure(N,n))}Rl=-1.1,Yo=0,fm=cm=null,Rf=-1.1,Ai=Dr,Dr=-1.1,Tr=qt()}if((t&4194048)!==0&&(Lt=Pu,l=0<=Il&&Il<Pl?Pl:Il,n=0<=Ea&&Ea<Pl?Pl:Ea,a=0<=$o&&$o<Pl?Pl:$o,o=0<=a?a:0<=n?n:on,0<=wf?(Ha(256),ly(wf,o,t,Lt)):Tf&4194048,_=a,d=Or,g=0<qo,y=dm===xf,o=on,a=Pu,s=yS,N=vS,xt&&(lt="Transition",0<n?n>o&&(n=o):n=o,0<l?l>n&&(l=n):l=n,0<_?_>l&&(_=l):_=l,l>_&&d!==null&&(O=g?"secondary-light":"warning",a?a.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+d,_,l,lt,nt,O)):console.timeStamp(g?"Consecutive":"Event: "+d,_,l,lt,nt,O)),n>l&&(a?a.run(console.timeStamp.bind(console,"Action",l,n,lt,nt,"primary-dark")):console.timeStamp("Action",l,n,lt,nt,"primary-dark")),o>n&&(l=y?"Promise Resolved":5<o-n?"Update Blocked":"Update",_=[],N!=null&&_.push(["Component name",N]),s!=null&&_.push(["Method name",s]),n={start:n,end:o,detail:{devtools:{properties:_,track:lt,trackGroup:nt,color:"primary-light"}}},a?a.run(performance.measure.bind(performance,l,n)):performance.measure(l,n))),Ea=Il=-1.1,dm=0,wf=-1.1,qo=$o,$o=-1.1,Pl=qt()),(t&62914560)!==0&&(Tf&62914560)!==0&&(Ha(4194304),Ud(bS,on)),(t&2080374784)!==0&&(Tf&2080374784)!==0&&(Ha(268435456),Ud(SS,on)),n=e.timeoutHandle,n!==$r&&(e.timeoutHandle=$r,LD(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Xa=0,Kh(),yt=e,Ze=n=jl(e.current,null),Qe=t,ht=$n,la=null,Qo=!1,Yi=Fa(e,t),_m=!1,Nt=ao,Hr=qn=Mm=Jo=Zo=0,Un=ys=null,Yf=!1,(t&8)!==0&&(t|=t&32),a=e.entangledLanes,a!==0)for(e=e.entanglements,a&=t;0<a;)l=31-Dn(a),o=1<<l,t|=e[l],a&=~o;return Tl=t,lc(),e=fS(),1e3<e-cS&&(B.recentlyCreatedOwnerStacks=0,cS=e),$a.discardPendingWarnings(),n}function ob(e,t){He=null,B.H=fs,B.getCurrentStack=null,yl=!1,Wn=null,t===_i||t===Af?(t=Dy(),ht=ms):t===gm?(t=Dy(),ht=g1):ht=t===Dm?Nm:t!==null&&typeof t=="object"&&typeof t.then=="function"?gs:Vf,la=t;var n=Ze;n===null?(Nt=ps,zc(e,Qn(t,e.current))):n.mode&Ge&&Jd(n)}function rb(){var e=ta.current;return e===null?!0:(Qe&4194048)===Qe?xa===null:(Qe&62914560)===Qe||(Qe&536870912)!==0?e===xa:!1}function ib(){var e=B.H;return B.H=fs,e===null?fs:e}function ub(){var e=B.A;return B.A=ED,e}function $c(e){Lt===null&&(Lt=e._debugTask==null?null:e._debugTask)}function qc(){Nt=Xo,Qo||(Qe&4194048)!==Qe&&ta.current!==null||(Yi=!0),(Zo&134217727)===0&&(Jo&134217727)===0||yt===null||Co(yt,Qe,qn,!1)}function Ph(e,t,n){var a=ot;ot|=It;var l=ib(),o=ub();if(yt!==e||Qe!==t){if(bl){var s=e.memoizedUpdaters;0<s.size&&(Tu(e,Qe),s.clear()),mn(e,t)}vs=null,ri(e,t)}t=!1,s=Nt;e:do try{if(ht!==$n&&Ze!==null){var d=Ze,g=la;switch(ht){case Nm:Kh(),s=kf;break e;case ms:case Lr:case jr:case gs:ta.current===null&&(t=!0);var y=ht;if(ht=$n,la=null,ii(e,d,g,y),n&&Yi){s=ao;break e}break;default:y=ht,ht=$n,la=null,ii(e,d,g,y)}}sb(),s=Nt;break}catch(N){ob(e,N)}while(!0);return t&&e.shellSuspendCounter++,sc(),ot=a,B.H=l,B.A=o,Ze===null&&(yt=null,Qe=0,lc()),s}function sb(){for(;Ze!==null;)cb(Ze)}function tw(e,t){var n=ot;ot|=It;var a=ib(),l=ub();if(yt!==e||Qe!==t){if(bl){var o=e.memoizedUpdaters;0<o.size&&(Tu(e,Qe),o.clear()),mn(e,t)}vs=null,qf=ln()+b1,ri(e,t)}else Yi=Fa(e,t);e:do try{if(ht!==$n&&Ze!==null)t:switch(t=Ze,o=la,ht){case Vf:ht=$n,la=null,ii(e,t,o,Vf);break;case Lr:case jr:if(wy(o)){ht=$n,la=null,fb(t);break}t=function(){ht!==Lr&&ht!==jr||yt!==e||(ht=Bf),hl(e)},o.then(t,t);break e;case ms:ht=Bf;break e;case g1:ht=Am;break e;case Bf:wy(o)?(ht=$n,la=null,fb(t)):(ht=$n,la=null,ii(e,t,o,Bf));break;case Am:var s=null;switch(Ze.tag){case 26:s=Ze.memoizedState;case 5:case 27:var d=Ze;if(s?a0(s):d.stateNode.complete){ht=$n,la=null;var g=d.sibling;if(g!==null)Ze=g;else{var y=d.return;y!==null?(Ze=y,Gc(y)):Ze=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ht=$n,la=null,ii(e,t,o,Am);break;case gs:ht=$n,la=null,ii(e,t,o,gs);break;case Nm:Kh(),Nt=kf;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}B.actQueue!==null?sb():nw();break}catch(N){ob(e,N)}while(!0);return sc(),B.H=a,B.A=l,ot=n,Ze!==null?ao:(yt=null,Qe=0,lc(),Nt)}function nw(){for(;Ze!==null&&!tT();)cb(Ze)}function cb(e){var t=e.alternate;(e.mode&Ge)!==ze?(Zd(e),t=se(e,Yh,t,e,Tl),Jd(e)):t=se(e,Yh,t,e,Tl),e.memoizedProps=e.pendingProps,t===null?Gc(e):Ze=t}function fb(e){var t=se(e,aw,e);e.memoizedProps=e.pendingProps,t===null?Gc(e):Ze=t}function aw(e){var t=e.alternate,n=(e.mode&Ge)!==ze;switch(n&&Zd(e),e.tag){case 15:case 0:t=xv(t,e,e.pendingProps,e.type,void 0,Qe);break;case 11:t=xv(t,e,e.pendingProps,e.type.render,e.ref,Qe);break;case 5:ih(e);default:Av(t,e),e=Ze=cy(e,Tl),t=Yh(t,e,Tl)}return n&&Jd(e),t}function ii(e,t,n,a){sc(),ih(t),Mi=null,is=0;var l=t.return;try{if(YR(e,l,t,n,Qe)){Nt=ps,zc(e,Qn(n,e.current)),Ze=null;return}}catch(o){if(l!==null)throw Ze=l,o;Nt=ps,zc(e,Qn(n,e.current)),Ze=null;return}t.flags&32768?(We||a===Vf?e=!0:Yi||(Qe&536870912)!==0?e=!1:(Qo=e=!0,(a===Lr||a===jr||a===ms||a===gs)&&(a=ta.current,a!==null&&a.tag===13&&(a.flags|=16384))),db(t,e)):Gc(t)}function Gc(e){var t=e;do{if((t.flags&32768)!==0){db(t,Qo);return}var n=t.alternate;if(e=t.return,Zd(t),n=se(t,GR,n,t,Tl),(t.mode&Ge)!==ze&&by(t),n!==null){Ze=n;return}if(t=t.sibling,t!==null){Ze=t;return}Ze=t=e}while(t!==null);Nt===ao&&(Nt=m1)}function db(e,t){do{var n=XR(e.alternate,e);if(n!==null){n.flags&=32767,Ze=n;return}if((e.mode&Ge)!==ze){by(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)){Ze=e;return}Ze=e=n}while(e!==null);Nt=kf,Ze=null}function Ih(e,t,n,a,l,o,s,d,g,y,N,_,O,H){e.cancelPendingCommit=null;do wu();while(Jt!==Ko);if($a.flushLegacyContextWarning(),$a.flushPendingUnsafeLifecycleWarnings(),(ot&(It|aa))!==un)throw Error("Should not already be working.");if(Ha(n),y===zr?Md(O,H,n,Lt):a!==null?CR(O,H,n,a,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Lt):OR(O,H,n,Lt),t!==null){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|=om,jn(e,n,o,s,d,g),e===yt&&(Ze=yt=null,Qe=0),$i=t,Po=e,Xa=n,Lm=o,Hm=l,T1=a,jm=H,D1=_,Qa=Gf,O1=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,uw(hi,function(){return ws=window.event,Qa===Gf&&(Qa=zm),yb(),null})):(e.callbackNode=null,e.callbackPriority=0),Kl=null,Bo=qt(),_!==null&&AR(H,Bo,_,Lt),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null,l=ft.p,ft.p=pa,s=ot,ot|=aa;try{PR(e,t,n)}finally{ot=s,ft.p=l,B.T=a}}Jt=E1,hb(),pb(),mb()}}function hb(){if(Jt===E1){Jt=Ko;var e=Po,t=$i,n=Xa,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null;var l=ft.p;ft.p=pa;var o=ot;ot|=aa;try{Vi=n,Bi=e,hc(),Gv(t,e),Bi=Vi=null,n=Jm;var s=ey(e.containerInfo),d=n.focusedElem,g=n.selectionRange;if(s!==d&&d&&d.ownerDocument&&Wg(d.ownerDocument.documentElement,d)){if(g!==null&&Ad(d)){var y=g.start,N=g.end;if(N===void 0&&(N=y),"selectionStart"in d)d.selectionStart=y,d.selectionEnd=Math.min(N,d.value.length);else{var _=d.ownerDocument||document,O=_&&_.defaultView||window;if(O.getSelection){var H=O.getSelection(),ne=d.textContent.length,ue=Math.min(g.start,ne),bt=g.end===void 0?ue:Math.min(g.end,ne);!H.extend&&ue>bt&&(s=bt,bt=ue,ue=s);var at=Ig(d,ue),w=Ig(d,bt);if(at&&w&&(H.rangeCount!==1||H.anchorNode!==at.node||H.anchorOffset!==at.offset||H.focusNode!==w.node||H.focusOffset!==w.offset)){var C=_.createRange();C.setStart(at.node,at.offset),H.removeAllRanges(),ue>bt?(H.addRange(C),H.extend(w.node,w.offset)):(C.setEnd(w.node,w.offset),H.addRange(C))}}}}for(_=[],H=d;H=H.parentNode;)H.nodeType===1&&_.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<_.length;d++){var A=_[d];A.element.scrollLeft=A.left,A.element.scrollTop=A.top}}rd=!!Zm,Jm=Zm=null}finally{ot=o,ft.p=l,B.T=a}}e.current=t,Jt=x1}}function pb(){if(Jt===x1){Jt=Ko;var e=O1;if(e!==null){Bo=qt();var t=Fl,n=Bo;!xt||n<=t||console.timeStamp(e,t,n,lt,nt,"secondary-light")}e=Po,t=$i,n=Xa;var a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=B.T,B.T=null;var l=ft.p;ft.p=pa;var o=ot;ot|=aa;try{Vi=n,Bi=e,hc(),Vv(e,t.alternate,t),Bi=Vi=null}finally{ot=o,ft.p=l,B.T=a}}e=jm,t=D1,Fl=qt(),e=t===null?e:Bo,t=Fl,n=Qa===Um,a=Lt,Kl!==null?oy(e,t,Kl,!1,a):!xt||t<=e||(a?a.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,lt,nt,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,lt,nt,n?"error":"secondary-dark")),Jt=R1}}function mb(){if(Jt===w1||Jt===R1){if(Jt===w1){var e=Fl;Fl=qt();var t=Fl,n=Qa===Um;!xt||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,lt,nt,n?" error":"secondary-light"),Qa!==Um&&(Qa=S1)}Jt=Ko,nT(),e=Po;var a=$i;t=Xa,n=T1;var l=a.actualDuration!==0||(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;l?Jt=Xf:(Jt=Ko,$i=Po=null,gb(e,e.pendingLanes),kr=0,Ss=null);var o=e.pendingLanes;if(o===0&&(Fo=null),l||Eb(e),o=_l(t),a=a.stateNode,vn&&typeof vn.onCommitFiberRoot=="function")try{var s=(a.current.flags&128)===128;switch(o){case pa:var d=Hp;break;case Sl:d=kp;break;case Gl:d=hi;break;case sf:d=Vp;break;default:d=hi}vn.onCommitFiberRoot(pi,a,d,s)}catch(_){vl||(vl=!0,console.error("React instrumentation encountered an error: %o",_))}if(bl&&e.memoizedUpdaters.clear(),WR(),n!==null){s=B.T,d=ft.p,ft.p=pa,B.T=null;try{var g=e.onRecoverableError;for(a=0;a<n.length;a++){var y=n[a],N=lw(y.stack);se(y.source,g,y.value,N)}}finally{B.T=s,ft.p=d}}(Xa&3)!==0&&wu(),hl(e),o=e.pendingLanes,(t&261930)!==0&&(o&42)!==0?(Of=!0,e===km?bs++:(bs=0,km=e)):bs=0,l||Sr(t,Fl),Du(0)}}function lw(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 gb(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,uu(t)))}function wu(){return hb(),pb(),mb(),yb()}function yb(){if(Jt!==Xf)return!1;var e=Po,t=Lm;Lm=0;var n=_l(Xa),a=Gl>n?Gl:n;n=B.T;var l=ft.p;try{ft.p=a,B.T=null;var o=Hm;Hm=null,a=Po;var s=Xa;if(Jt=Ko,$i=Po=null,Xa=0,(ot&(It|aa))!==un)throw Error("Cannot flush passive effects while already rendering.");Ha(s),Vm=!0,Qf=!1;var d=0;if(Kl=null,d=ln(),Qa===S1)Ud(Fl,d,pD);else{var g=Fl,y=d,N=Qa===zm;!xt||y<=g||(Lt?Lt.run(console.timeStamp.bind(console,N?"Waiting for Paint":"Waiting",g,y,lt,nt,"secondary-light")):console.timeStamp(N?"Waiting for Paint":"Waiting",g,y,lt,nt,"secondary-light"))}g=ot,ot|=aa;var _=a.current;hc(),Iv(_);var O=a.current;_=jm,hc(),Jv(a,O,s,o,_),Eb(a),ot=g;var H=ln();if(O=d,_=Lt,Kl!==null?oy(O,H,Kl,!0,_):!xt||H<=O||(_?_.run(console.timeStamp.bind(console,"Remaining Effects",O,H,lt,nt,"secondary-dark")):console.timeStamp("Remaining Effects",O,H,lt,nt,"secondary-dark")),Sr(s,H),Du(0,!1),Qf?a===Ss?kr++:(kr=0,Ss=a):kr=0,Qf=Vm=!1,vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(pi,a)}catch(ue){vl||(vl=!0,console.error("React instrumentation encountered an error: %o",ue))}var ne=a.current.stateNode;return ne.effectDuration=0,ne.passiveEffectDuration=0,!0}finally{ft.p=l,B.T=n,gb(e,t)}}function vb(e,t,n){t=Qn(n,t),Sy(t),t=Nh(e.stateNode,t,2),e=wo(e,t,2),e!==null&&(ca(e,2),hl(e))}function ct(e,t,n){if(qi=!1,e.tag===3)vb(e,e,n);else{for(;t!==null;){if(t.tag===3){vb(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Fo===null||!Fo.has(a))){e=Qn(n,e),Sy(e),n=_h(2),a=wo(t,n,2),a!==null&&(Mh(n,a,t,e),ca(a,2),hl(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.
159
+
160
+ Error message:
161
+
162
+ %s`,n)}}function Wh(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new RD;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)||(_m=!0,l.add(n),a=ow.bind(null,e,t,n),bl&&Tu(e,n),t.then(a,a))}function ow(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>Rl&&(Tr=Rl=qt(),Fu=Ef("Promise Resolved"),Yo=xf):(n&4194048)!==0&&0>Ea&&(Pl=Ea=qt(),Pu=Ef("Promise Resolved"),dm=xf),tb()&&B.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
163
+
164
+ When testing, code that resolves suspended data should be wrapped into act(...):
165
+
166
+ act(() => {
167
+ /* finish loading suspended data */
168
+ });
169
+ /* assert on the output */
170
+
171
+ 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`),yt===e&&(Qe&n)===n&&(Nt===Xo||Nt===Hf&&(Qe&62914560)===Qe&&ln()-$f<v1?(ot&It)===un&&ri(e,0):Mm|=n,Hr===Qe&&(Hr=0)),hl(e)}function bb(e,t){t===0&&(t=_a()),e=yn(e,t),e!==null&&(ca(e,t),hl(e))}function rw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),bb(e,n)}function iw(e,t){var n=0;switch(e.tag){case 31: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),bb(e,n)}function ep(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var a=e,l=t,o=l.type===nf;o=n||o,l.tag!==22?l.flags&67108864?o&&se(l,Sb,a,l):ep(a,l,o):l.memoizedState===null&&(o&&l.flags&8192?se(l,Sb,a,l):l.subtreeFlags&67108864&&se(l,ep,a,l,o)),t=t.sibling}}function Sb(e,t){pe(!0);try{Qv(t),Wv(t),Zv(e,t.alternate,t,!1),Fv(e,t,0,null,!1,0)}finally{pe(!1)}}function Eb(e){var t=!0;e.current.mode&(bn|Ya)||(t=!1),ep(e,e.current,t)}function xb(e){if((ot&It)===un){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=X(e)||"ReactComponent",Zf!==null){if(Zf.has(t))return;Zf.add(t)}else Zf=new Set([t]);se(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 tries to update the component. Move this work to useEffect instead.")})}}}function Tu(e,t){bl&&e.memoizedUpdaters.forEach(function(n){Nl(e,n,t)})}function uw(e,t){var n=B.actQueue;return n!==null?(n.push(t),DD):jp(e,t)}function sw(e){tb()&&B.actQueue===null&&se(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
172
+
173
+ When testing, code that causes React state updates should be wrapped into act(...):
174
+
175
+ act(() => {
176
+ /* fire events that update state */
177
+ });
178
+ /* assert on the output */
179
+
180
+ 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`,X(e))})}function hl(e){e!==Gi&&e.next===null&&(Gi===null?Jf=Gi=e:Gi=Gi.next=e),Ff=!0,B.actQueue!==null?Ym||(Ym=!0,Db()):Bm||(Bm=!0,Db())}function Du(e,t){if(!$m&&Ff){$m=!0;do for(var n=!1,a=Jf;a!==null;){if(e!==0){var l=a.pendingLanes;if(l===0)var o=0;else{var s=a.suspendedLanes,d=a.pingedLanes;o=(1<<31-Dn(42|e)+1)-1,o&=l&~(s&~d),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,Tb(a,o))}else o=Qe,o=Cl(a,a===yt?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==$r),(o&3)===0||Fa(a,o)||(n=!0,Tb(a,o));a=a.next}while(n);$m=!1}}function cw(){ws=window.event,tp()}function tp(){Ff=Ym=Bm=!1;var e=0;Io!==0&&yw()&&(e=Io);for(var t=ln(),n=null,a=Jf;a!==null;){var l=a.next,o=Rb(a,t);o===0?(a.next=null,n===null?Jf=l:n.next=l,l===null&&(Gi=n)):(n=a,(e!==0||(o&3)!==0)&&(Ff=!0)),a=l}Jt!==Ko&&Jt!==Xf||Du(e),Io!==0&&(Io=0)}function Rb(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var s=31-Dn(o),d=1<<s,g=l[s];g===-1?((d&n)===0||(d&a)!==0)&&(l[s]=sa(d,t)):g<=t&&(e.expiredLanes|=d),o&=~d}if(t=yt,n=Qe,n=Cl(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==$r),a=e.callbackNode,n===0||e===t&&(ht===Lr||ht===jr)||e.cancelPendingCommit!==null)return a!==null&&np(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Fa(e,n)){if(t=n&-n,t!==e.callbackPriority||B.actQueue!==null&&a!==qm)np(a);else return t;switch(_l(n)){case pa:case Sl:n=kp;break;case Gl:n=hi;break;case sf:n=Vp;break;default:n=hi}return a=wb.bind(null,e),B.actQueue!==null?(B.actQueue.push(a),n=qm):n=jp(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&np(a),e.callbackPriority=2,e.callbackNode=null,2}function wb(e,t){if(Of=Df=!1,ws=window.event,Jt!==Ko&&Jt!==Xf)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Qa===Gf&&(Qa=zm),wu()&&e.callbackNode!==n)return null;var a=Qe;return a=Cl(e,e===yt?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==$r),a===0?null:(ab(e,a,t),Rb(e,ln()),e.callbackNode!=null&&e.callbackNode===n?wb.bind(null,e):null)}function Tb(e,t){if(wu())return null;Df=Of,Of=!1,ab(e,t,!0)}function np(e){e!==qm&&e!==null&&eT(e)}function Db(){B.actQueue!==null&&B.actQueue.push(function(){return tp(),null}),jD(function(){(ot&(It|aa))!==un?jp(Hp,cw):tp()})}function ap(){if(Io===0){var e=Cr;e===0&&(e=of,of<<=1,(of&261888)===0&&(of=256)),Io=e}return Io}function Ob(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(it(e,"action"),lu(""+e))}function Cb(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 fw(e,t,n,a,l){if(t==="submit"&&n&&n.stateNode===l){var o=Ob((l[On]||null).action),s=a.submitter;s&&(t=(t=s[On]||null)?Ob(t.formAction):s.getAttribute("formAction"),t!==null&&(o=t,s=null));var d=new pf("action","action",null,a,l);e.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Io!==0){var g=s?Cb(l,s):new FormData(l),y={pending:!0,data:g,method:l.method,action:o};Object.freeze(y),Rh(n,y,null,g)}}else typeof o=="function"&&(d.preventDefault(),g=s?Cb(l,s):new FormData(l),y={pending:!0,data:g,method:l.method,action:o},Object.freeze(y),Rh(n,y,o,g))},currentTarget:l}]})}}function Xc(e,t,n){e.currentTarget=n;try{t(e)}catch(a){tm(a)}e.currentTarget=null}function Ab(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 s=a.length-1;0<=s;s--){var d=a[s],g=d.instance,y=d.currentTarget;if(d=d.listener,g!==l&&o.isPropagationStopped())break e;g!==null?se(g,Xc,o,d,y):Xc(o,d,y),l=g}else for(s=0;s<a.length;s++){if(d=a[s],g=d.instance,y=d.currentTarget,d=d.listener,g!==l&&o.isPropagationStopped())break e;g!==null?se(g,Xc,o,d,y):Xc(o,d,y),l=g}}}}function tt(e,t){Gm.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[Bp];n===void 0&&(n=t[Bp]=new Set);var a=e+"__bubble";n.has(a)||(Nb(t,e,2,!1),n.add(a))}function lp(e,t,n){Gm.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),Nb(n,e,a,t)}function op(e){if(!e[Kf]){e[Kf]=!0,D0.forEach(function(n){n!=="selectionchange"&&(Gm.has(n)||lp(n,!1,e),lp(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Kf]||(t[Kf]=!0,lp("selectionchange",!1,t))}}function Nb(e,t,n,a){switch(s0(t)){case pa:var l=Xw;break;case Sl:l=Qw;break;default:l=Ep}n=l.bind(null,t,n,e),l=void 0,!Xp||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 rp(e,t,n,a,l){var o=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var s=a.tag;if(s===3||s===4){var d=a.stateNode.containerInfo;if(d===l)break;if(s===4)for(s=a.return;s!==null;){var g=s.tag;if((g===3||g===4)&&s.stateNode.containerInfo===l)return;s=s.return}for(;d!==null;){if(s=F(d),s===null)return;if(g=s.tag,g===5||g===6||g===26||g===27){a=o=s;continue e}d=d.parentNode}}a=a.return}Yg(function(){var y=o,N=Od(n),_=[];e:{var O=sS.get(e);if(O!==void 0){var H=pf,ne=e;switch(e){case"keypress":if(Ws(n)===0)break e;case"keydown":case"keyup":H=YT;break;case"focusin":ne="focus",H=Fp;break;case"focusout":ne="blur",H=Fp;break;case"beforeblur":case"afterblur":H=Fp;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":H=F0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=AT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=GT;break;case oS:case rS:case iS:H=MT;break;case uS:H=QT;break;case"scroll":case"scrollend":H=OT;break;case"wheel":H=JT;break;case"copy":case"cut":case"paste":H=zT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=P0;break;case"toggle":case"beforetoggle":H=KT}var ue=(t&4)!==0,bt=!ue&&(e==="scroll"||e==="scrollend"),at=ue?O!==null?O+"Capture":null:O;ue=[];for(var w=y,C;w!==null;){var A=w;if(C=A.stateNode,A=A.tag,A!==5&&A!==26&&A!==27||C===null||at===null||(A=ou(w,at),A!=null&&ue.push(Ou(w,A,C))),bt)break;w=w.return}0<ue.length&&(O=new H(O,ne,null,n,N),_.push({event:O,listeners:ue}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",O&&n!==ku&&(ne=n.relatedTarget||n.fromElement)&&(F(ne)||ne[zo]))break e;if((H||O)&&(O=N.window===N?N:(O=N.ownerDocument)?O.defaultView||O.parentWindow:window,H?(ne=n.relatedTarget||n.toElement,H=y,ne=ne?F(ne):null,ne!==null&&(bt=J(ne),ue=ne.tag,ne!==bt||ue!==5&&ue!==27&&ue!==6)&&(ne=null)):(H=null,ne=y),H!==ne)){if(ue=F0,A="onMouseLeave",at="onMouseEnter",w="mouse",(e==="pointerout"||e==="pointerover")&&(ue=P0,A="onPointerLeave",at="onPointerEnter",w="pointer"),bt=H==null?O:me(H),C=ne==null?O:me(ne),O=new ue(A,w+"leave",H,n,N),O.target=bt,O.relatedTarget=C,A=null,F(N)===y&&(ue=new ue(at,w+"enter",ne,n,N),ue.target=C,ue.relatedTarget=bt,A=ue),bt=A,H&&ne)t:{for(ue=dw,at=H,w=ne,C=0,A=at;A;A=ue(A))C++;A=0;for(var q=w;q;q=ue(q))A++;for(;0<C-A;)at=ue(at),C--;for(;0<A-C;)w=ue(w),A--;for(;C--;){if(at===w||w!==null&&at===w.alternate){ue=at;break t}at=ue(at),w=ue(w)}ue=null}else ue=null;H!==null&&_b(_,O,H,ue,!1),ne!==null&&bt!==null&&_b(_,bt,ne,ue,!0)}}e:{if(O=y?me(y):window,H=O.nodeName&&O.nodeName.toLowerCase(),H==="select"||H==="input"&&O.type==="file")var le=Jg;else if(Qg(O))if(aS)le=wR;else{le=xR;var ke=ER}else H=O.nodeName,!H||H.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?y&&au(y.elementType)&&(le=Jg):le=RR;if(le&&(le=le(e,y))){Zg(_,le,n,N);break e}ke&&ke(e,O,y),e==="focusout"&&y&&O.type==="number"&&y.memoizedProps.value!=null&&Ne(O,"number",O.value)}switch(ke=y?me(y):window,e){case"focusin":(Qg(ke)||ke.contentEditable==="true")&&(Ei=ke,Pp=y,Xu=null);break;case"focusout":Xu=Pp=Ei=null;break;case"mousedown":Ip=!0;break;case"contextmenu":case"mouseup":case"dragend":Ip=!1,ty(_,n,N);break;case"selectionchange":if(eD)break;case"keydown":case"keyup":ty(_,n,N)}var Oe;if(Kp)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else Si?Gg(e,n)&&(ve="onCompositionEnd"):e==="keydown"&&n.keyCode===I0&&(ve="onCompositionStart");ve&&(W0&&n.locale!=="ko"&&(Si||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&Si&&(Oe=$g()):(Lo=N,Qp="value"in Lo?Lo.value:Lo.textContent,Si=!0)),ke=Qc(y,ve),0<ke.length&&(ve=new K0(ve,e,null,n,N),_.push({event:ve,listeners:ke}),Oe?ve.data=Oe:(Oe=Xg(n),Oe!==null&&(ve.data=Oe)))),(Oe=IT?yR(e,n):vR(e,n))&&(ve=Qc(y,"onBeforeInput"),0<ve.length&&(ke=new jT("onBeforeInput","beforeinput",null,n,N),_.push({event:ke,listeners:ve}),ke.data=Oe)),fw(_,e,y,n,N)}Ab(_,t)})}function Ou(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qc(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=ou(e,n),l!=null&&a.unshift(Ou(e,l,o)),l=ou(e,t),l!=null&&a.push(Ou(e,l,o))),e.tag===3)return a;e=e.return}return[]}function dw(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function _b(e,t,n,a,l){for(var o=t._reactName,s=[];n!==null&&n!==a;){var d=n,g=d.alternate,y=d.stateNode;if(d=d.tag,g!==null&&g===a)break;d!==5&&d!==26&&d!==27||y===null||(g=y,l?(y=ou(n,o),y!=null&&s.unshift(Ou(n,y,g))):l||(y=ou(n,o),y!=null&&s.push(Ou(n,y,g)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}function ip(e,t){hR(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Z0||(Z0=!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:Er,possibleRegistrationNames:Yp};au(e)||typeof t.is=="string"||mR(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 an(e,t,n,a){t!==n&&(n=Ao(n),Ao(t)!==n&&(a[e]=t))}function hw(e,t,n){t.forEach(function(a){n[zb(a)]=a==="style"?sp(e):e.getAttribute(a)})}function pl(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 Mb(e,t){return e=e.namespaceURI===ff||e.namespaceURI===gi?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Ao(e){return Ln(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.",Ot(e)),Na(e)),(typeof e=="string"?e:""+e).replace(OD,`
181
+ `).replace(CD,"")}function Ub(e,t){return t=Ao(t),Ao(e)===t}function mt(e,t,n,a,l,o){switch(n){case"children":typeof a=="string"?(Is(a,t,!1),t==="body"||t==="textarea"&&a===""||nu(e,a)):(typeof a=="number"||typeof a=="bigint")&&(Is(""+a,t,!1),t!=="body"&&nu(e,""+a));break;case"className":Fr(e,"class",a);break;case"tabIndex":Fr(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Fr(e,n,a);break;case"style":kg(e,a,o);break;case"data":if(t!=="object"){Fr(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}it(a,n),a=lu(""+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||Wf||(Wf=!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||If||(If=!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"||Pf?t!=="button"||l.type==null||l.type==="submit"||Pf?typeof a=="function"&&(l.name==null||M1||(M1=!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||Wf||(Wf=!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||If||(If=!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."))):(Pf=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Pf=!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"&&mt(e,t,"name",l.name,l,null),mt(e,t,"formEncType",l.formEncType,l,null),mt(e,t,"formMethod",l.formMethod,l,null),mt(e,t,"formTarget",l.formTarget,l,null)):(mt(e,t,"encType",l.encType,l,null),mt(e,t,"method",l.method,l,null),mt(e,t,"target",l.target,l,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}it(a,n),a=lu(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!="function"&&pl(n,a),e.onclick=Ll);break;case"onScroll":a!=null&&(typeof a!="function"&&pl(n,a),tt("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&pl(n,a),tt("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}it(a,n),n=lu(""+a),e.setAttributeNS(Vr,"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"?(it(a,n),e.setAttribute(n,""+a)):e.removeAttribute(n);break;case"inert":a!==""||ed[n]||(ed[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"?(it(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?(it(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):(it(a,n),e.setAttribute(n,a));break;case"popover":tt("beforetoggle",e),tt("toggle",e),Ul(e,"popover",a);break;case"xlinkActuate":Ua(e,Vr,"xlink:actuate",a);break;case"xlinkArcrole":Ua(e,Vr,"xlink:arcrole",a);break;case"xlinkRole":Ua(e,Vr,"xlink:role",a);break;case"xlinkShow":Ua(e,Vr,"xlink:show",a);break;case"xlinkTitle":Ua(e,Vr,"xlink:title",a);break;case"xlinkType":Ua(e,Vr,"xlink:type",a);break;case"xmlBase":Ua(e,Xm,"xml:base",a);break;case"xmlLang":Ua(e,Xm,"xml:lang",a);break;case"xmlSpace":Ua(e,Xm,"xml:space",a);break;case"is":o!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Ul(e,"is",a);break;case"innerText":case"textContent":break;case"popoverTarget":U1||a==null||typeof a!="object"||(U1=!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=Vg(n),Ul(e,n,a)):Er.hasOwnProperty(n)&&a!=null&&typeof a!="function"&&pl(n,a)}}function up(e,t,n,a,l,o){switch(n){case"style":kg(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"?nu(e,a):(typeof a=="number"||typeof a=="bigint")&&nu(e,""+a);break;case"onScroll":a!=null&&(typeof a!="function"&&pl(n,a),tt("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&pl(n,a),tt("scrollend",e));break;case"onClick":a!=null&&(typeof a!="function"&&pl(n,a),e.onclick=Ll);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Er.hasOwnProperty(n))a!=null&&typeof a!="function"&&pl(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[On]||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,""):Ul(e,n,a)}}}function fn(e,t,n){switch(ip(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":tt("error",e),tt("load",e);var a=!1,l=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=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:mt(e,t,o,s,n,null)}}l&&mt(e,t,"srcSet",n.srcSet,n,null),a&&mt(e,t,"src",n.src,n,null);return;case"input":en("input",n),tt("invalid",e);var d=o=s=l=null,g=null,y=null;for(a in n)if(n.hasOwnProperty(a)){var N=n[a];if(N!=null)switch(a){case"name":l=N;break;case"type":s=N;break;case"checked":g=N;break;case"defaultChecked":y=N;break;case"value":o=N;break;case"defaultValue":d=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,a,N,n,null)}}De(e,n),_e(e,o,d,g,y,s,l,!1);return;case"select":en("select",n),tt("invalid",e),a=s=o=null;for(l in n)if(n.hasOwnProperty(l)&&(d=n[l],d!=null))switch(l){case"value":o=d;break;case"defaultValue":s=d;break;case"multiple":a=d;default:mt(e,t,l,d,n,null)}St(e,n),t=o,n=s,e.multiple=!!a,t!=null?Ke(e,!!a,t,!1):n!=null&&Ke(e,!!a,n,!0);return;case"textarea":en("textarea",n),tt("invalid",e),o=l=a=null;for(s in n)if(n.hasOwnProperty(s)&&(d=n[s],d!=null))switch(s){case"value":a=d;break;case"defaultValue":l=d;break;case"children":o=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mt(e,t,s,d,n,null)}jt(e,n),st(e,a,l,o);return;case"option":we(e,n);for(g in n)n.hasOwnProperty(g)&&(a=n[g],a!=null)&&(g==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":mt(e,t,g,a,n,null));return;case"dialog":tt("beforetoggle",e),tt("toggle",e),tt("cancel",e),tt("close",e);break;case"iframe":case"object":tt("load",e);break;case"video":case"audio":for(a=0;a<Es.length;a++)tt(Es[a],e);break;case"image":tt("error",e),tt("load",e);break;case"details":tt("toggle",e);break;case"embed":case"source":case"link":tt("error",e),tt("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(y in n)if(n.hasOwnProperty(y)&&(a=n[y],a!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,y,a,n,null)}return;default:if(au(t)){for(N in n)n.hasOwnProperty(N)&&(a=n[N],a!==void 0&&up(e,t,N,a,n,void 0));return}}for(d in n)n.hasOwnProperty(d)&&(a=n[d],a!=null&&mt(e,t,d,a,n,null))}function pw(e,t,n,a){switch(ip(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,s=null,d=null,g=null,y=null,N=null;for(H in n){var _=n[H];if(n.hasOwnProperty(H)&&_!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":g=_;default:a.hasOwnProperty(H)||mt(e,t,H,null,a,_)}}for(var O in a){var H=a[O];if(_=n[O],a.hasOwnProperty(O)&&(H!=null||_!=null))switch(O){case"type":o=H;break;case"name":l=H;break;case"checked":y=H;break;case"defaultChecked":N=H;break;case"value":s=H;break;case"defaultValue":d=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:H!==_&&mt(e,t,O,H,a,_)}}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||_1||(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"),_1=!0),!t||a||N1||(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"),N1=!0),ge(e,s,d,g,y,N,o,l);return;case"select":H=s=d=O=null;for(o in n)if(g=n[o],n.hasOwnProperty(o)&&g!=null)switch(o){case"value":break;case"multiple":H=g;default:a.hasOwnProperty(o)||mt(e,t,o,null,a,g)}for(l in a)if(o=a[l],g=n[l],a.hasOwnProperty(l)&&(o!=null||g!=null))switch(l){case"value":O=o;break;case"defaultValue":d=o;break;case"multiple":s=o;default:o!==g&&mt(e,t,l,o,a,g)}a=d,t=s,n=H,O!=null?Ke(e,!!t,O,!1):!!n!=!!t&&(a!=null?Ke(e,!!t,a,!0):Ke(e,!!t,t?[]:"",!1));return;case"textarea":H=O=null;for(d in n)if(l=n[d],n.hasOwnProperty(d)&&l!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:mt(e,t,d,null,a,l)}for(s in a)if(l=a[s],o=n[s],a.hasOwnProperty(s)&&(l!=null||o!=null))switch(s){case"value":O=l;break;case"defaultValue":H=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==o&&mt(e,t,s,l,a,o)}tn(e,O,H);return;case"option":for(var ne in n)O=n[ne],n.hasOwnProperty(ne)&&O!=null&&!a.hasOwnProperty(ne)&&(ne==="selected"?e.selected=!1:mt(e,t,ne,null,a,O));for(g in a)O=a[g],H=n[g],a.hasOwnProperty(g)&&O!==H&&(O!=null||H!=null)&&(g==="selected"?e.selected=O&&typeof O!="function"&&typeof O!="symbol":mt(e,t,g,O,a,H));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 ue in n)O=n[ue],n.hasOwnProperty(ue)&&O!=null&&!a.hasOwnProperty(ue)&&mt(e,t,ue,null,a,O);for(y in a)if(O=a[y],H=n[y],a.hasOwnProperty(y)&&O!==H&&(O!=null||H!=null))switch(y){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,y,O,a,H)}return;default:if(au(t)){for(var bt in n)O=n[bt],n.hasOwnProperty(bt)&&O!==void 0&&!a.hasOwnProperty(bt)&&up(e,t,bt,void 0,a,O);for(N in a)O=a[N],H=n[N],!a.hasOwnProperty(N)||O===H||O===void 0&&H===void 0||up(e,t,N,O,a,H);return}}for(var at in n)O=n[at],n.hasOwnProperty(at)&&O!=null&&!a.hasOwnProperty(at)&&mt(e,t,at,null,a,O);for(_ in a)O=a[_],H=n[_],!a.hasOwnProperty(_)||O===H||O==null&&H==null||mt(e,t,_,O,a,H)}function zb(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function sp(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 Lb(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 s=t[o];s!=null&&typeof s!="boolean"&&s!==""&&(o.indexOf("--")===0?(Ct(s,o),a+=l+o+":"+(""+s).trim()):typeof s!="number"||s===0||X0.has(o)?(Ct(s,o),a+=l+o.replace(B0,"-$1").toLowerCase().replace(Y0,"-ms-")+":"+(""+s).trim()):a+=l+o.replace(B0,"-$1").toLowerCase().replace(Y0,"-ms-")+":"+s+"px",l=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=Ao(a),Ao(t)!==a&&(n.style=sp(e)))}}function ha(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(it(a,t),e===""+a)return}an(t,e,a,o)}function jb(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}an(t,e,a,o)}function cp(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(it(a,n),e===""+a)return}an(t,e,a,o)}function Hb(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)&&(it(a,t),e===""+a))return}an(t,e,a,o)}function fp(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(it(a,t),n=lu(""+a),e===n)return}an(t,e,a,o)}function kb(e,t,n,a){for(var l={},o=new Set,s=e.attributes,d=0;d<s.length;d++)switch(s[d].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:o.add(s[d].name)}if(au(t)){for(var g in n)if(n.hasOwnProperty(g)){var y=n[g];if(y!=null){if(Er.hasOwnProperty(g))typeof y!="function"&&pl(g,y);else if(n.suppressHydrationWarning!==!0)switch(g){case"children":typeof y!="string"&&typeof y!="number"||an("children",e.textContent,y,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":s=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=Mb(e,y),an(g,s,y,l));continue;case"style":o.delete(g),Lb(e,y,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":o.delete(g.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",g);continue;case"className":o.delete("class"),s=Ml(e,"class",y),an("className",s,y,l);continue;default:a.context===lo&&t!=="svg"&&t!=="math"?o.delete(g.toLowerCase()):o.delete(g),s=Ml(e,g,y),an(g,s,y,l)}}}}else for(y in n)if(n.hasOwnProperty(y)&&(g=n[y],g!=null)){if(Er.hasOwnProperty(y))typeof g!="function"&&pl(y,g);else if(n.suppressHydrationWarning!==!0)switch(y){case"children":typeof g!="string"&&typeof g!="number"||an("children",e.textContent,g,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":s=e.innerHTML,g=g?g.__html:void 0,g!=null&&(g=Mb(e,g),s!==g&&(l[y]={__html:s}));continue;case"className":ha(e,y,"class",g,o,l);continue;case"tabIndex":ha(e,y,"tabindex",g,o,l);continue;case"style":o.delete(y),Lb(e,g,l);continue;case"multiple":o.delete(y),an(y,e.multiple,g,l);continue;case"muted":o.delete(y),an(y,e.muted,g,l);continue;case"autoFocus":o.delete("autofocus"),an(y,e.autofocus,g,l);continue;case"data":if(t!=="object"){o.delete(y),s=e.getAttribute("data"),an(y,s,g,l);continue}case"src":case"href":if(!(g!==""||t==="a"&&y==="href"||t==="object"&&y==="data")){console.error(y==="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.',y,y);continue}fp(e,y,y,g,o,l);continue;case"action":case"formAction":if(s=e.getAttribute(y),typeof g=="function"){o.delete(y.toLowerCase()),y==="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(s===AD){o.delete(y.toLowerCase()),an(y,"function",g,l);continue}fp(e,y,y.toLowerCase(),g,o,l);continue;case"xlinkHref":fp(e,y,"xlink:href",g,o,l);continue;case"contentEditable":cp(e,y,"contenteditable",g,o,l);continue;case"spellCheck":cp(e,y,"spellcheck",g,o,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":cp(e,y,y,g,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":jb(e,y,y.toLowerCase(),g,o,l);continue;case"capture":case"download":e:{d=e;var N=s=y,_=l;if(o.delete(N),d=d.getAttribute(N),d===null)switch(typeof g){case"undefined":case"function":case"symbol":break e;default:if(g===!1)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":break;case"boolean":if(g===!0&&d==="")break e;break;default:if(it(g,s),d===""+g)break e}an(s,d,g,_)}continue;case"cols":case"rows":case"size":case"span":e:{if(d=e,N=s=y,_=l,o.delete(N),d=d.getAttribute(N),d===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(g)||1>g)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(g)||1>g)&&(it(g,s),d===""+g))break e}an(s,d,g,_)}continue;case"rowSpan":Hb(e,y,"rowspan",g,o,l);continue;case"start":Hb(e,y,y,g,o,l);continue;case"xHeight":ha(e,y,"x-height",g,o,l);continue;case"xlinkActuate":ha(e,y,"xlink:actuate",g,o,l);continue;case"xlinkArcrole":ha(e,y,"xlink:arcrole",g,o,l);continue;case"xlinkRole":ha(e,y,"xlink:role",g,o,l);continue;case"xlinkShow":ha(e,y,"xlink:show",g,o,l);continue;case"xlinkTitle":ha(e,y,"xlink:title",g,o,l);continue;case"xlinkType":ha(e,y,"xlink:type",g,o,l);continue;case"xmlBase":ha(e,y,"xml:base",g,o,l);continue;case"xmlLang":ha(e,y,"xml:lang",g,o,l);continue;case"xmlSpace":ha(e,y,"xml:space",g,o,l);continue;case"inert":g!==""||ed[y]||(ed[y]=!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.",y)),jb(e,y,y,g,o,l);continue;default:if(!(2<y.length)||y[0]!=="o"&&y[0]!=="O"||y[1]!=="n"&&y[1]!=="N"){d=Vg(y),s=!1,a.context===lo&&t!=="svg"&&t!=="math"?o.delete(d.toLowerCase()):(N=y.toLowerCase(),N=df.hasOwnProperty(N)&&df[N]||null,N!==null&&N!==y&&(s=!0,o.delete(N)),o.delete(d));e:if(N=e,_=d,d=g,Rn(_))if(N.hasAttribute(_))N=N.getAttribute(_),it(d,_),d=N===""+d?d:N;else{switch(typeof d){case"function":case"symbol":break e;case"boolean":if(N=_.toLowerCase().slice(0,5),N!=="data-"&&N!=="aria-")break e}d=d===void 0?void 0:null}else d=void 0;s||an(y,d,g,l)}}}return 0<o.size&&n.suppressHydrationWarning!==!0&&hw(e,o,l),Object.keys(l).length===0?null:l}function mw(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 Vb(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function gw(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var l=n[a],o=l.transferSize,s=l.initiatorType,d=l.duration;if(o&&d&&Vb(s)){for(s=0,d=l.responseEnd,a+=1;a<n.length;a++){var g=n[a],y=g.startTime;if(y>d)break;var N=g.transferSize,_=g.initiatorType;N&&Vb(_)&&(g=g.responseEnd,s+=N*(g<d?1:(d-y)/(g-y)))}if(--a,t+=8*(o+s)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function Zc(e){return e.nodeType===9?e:e.ownerDocument}function Bb(e){switch(e){case gi:return Qi;case ff:return nd;default:return lo}}function Yb(e,t){if(e===lo)switch(t){case"svg":return Qi;case"math":return nd;default:return lo}return e===Qi&&t==="foreignObject"?lo:e}function dp(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 yw(){var e=window.event;return e&&e.type==="popstate"?e===Fm?!1:(Fm=e,!0):(Fm=null,!1)}function Cu(){var e=window.event;return e&&e!==ws?e.type:null}function Au(){var e=window.event;return e&&e!==ws?e.timeStamp:-1.1}function vw(e){setTimeout(function(){throw e})}function bw(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 Sw(){}function Ew(e,t,n,a){pw(e,t,n,a),e[On]=a}function $b(e){nu(e,"")}function xw(e,t,n){e.nodeValue=n}function qb(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[On]||null;if(t!==null){var n=te(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,se(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,se(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function No(e){return e==="head"}function Rw(e,t){e.removeChild(t)}function ww(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Gb(e,t){var n=t,a=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n===Rs||n===td){if(a===0){e.removeChild(l),ci(t);return}a--}else if(n===xs||n===Wo||n===Yr||n===Xi||n===Br)a++;else if(n===_D)Nu(e.ownerDocument.documentElement);else if(n===UD){n=e.ownerDocument.head,Nu(n);for(var o=n.firstChild;o;){var s=o.nextSibling,d=o.nodeName;o[Hu]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=s}}else n===MD&&Nu(e.ownerDocument.body);n=l}while(n);ci(t)}function Xb(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n===Rs){if(e===0)break;e--}else n!==xs&&n!==Wo&&n!==Yr&&n!==Xi||e++;n=a}while(n)}function Tw(e){Xb(e,!0)}function Dw(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Ow(e){e.nodeValue=""}function Cw(e){Xb(e,!1)}function Aw(e,t){t=t[zD],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Nw(e,t){e.nodeValue=t}function hp(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":hp(n),U(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function _w(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[Hu])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"){it(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=Pn(e.nextSibling),e===null)break}return null}function Mw(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Pn(e.nextSibling),e===null))return null;return e}function Qb(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Pn(e.nextSibling),e===null))return null;return e}function pp(e){return e.data===Wo||e.data===Yr}function mp(e){return e.data===Xi||e.data===Wo&&e.ownerDocument.readyState!==L1}function Uw(e,t){var n=e.ownerDocument;if(e.data===Yr)e._reactRetry=t;else if(e.data!==Wo||n.readyState!==L1)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Pn(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===xs||t===Xi||t===Wo||t===Yr||t===Br||t===Qm||t===z1)break;if(t===Rs||t===td)return null}}return e}function Zb(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[zb(o.name)]=o.name.toLowerCase()==="style"?sp(e):o.value}return{type:t,props:n}}return e.nodeType===8?e.data===Br?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function Jb(e,t,n){return n===null||n[ND]!==!0?(e.nodeValue===t?e=null:(t=Ao(t),e=Ao(e.nodeValue)===t?null:e.nodeValue),e):null}function gp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Rs||n===td){if(t===0)return Pn(e.nextSibling);t--}else n!==xs&&n!==Xi&&n!==Wo&&n!==Yr&&n!==Br||t++}e=e.nextSibling}return null}function Fb(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===xs||n===Xi||n===Wo||n===Yr||n===Br){if(t===0)return e;t--}else n!==Rs&&n!==td||t++}e=e.previousSibling}return null}function zw(e){ci(e)}function Lw(e){ci(e)}function jw(e){ci(e)}function Kb(e,t,n,a,l){switch(l&&Dd(e,a.ancestorInfo),t=Zc(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 Hw(e,t,n,a){if(!n[zo]&&te(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]);fn(n,e,t),n[dn]=a,n[On]=t}function Nu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);U(e)}function Jc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Pb(e,t,n){var a=Zi;if(a&&typeof t=="string"&&t){var l=re(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),Y1.has(l)||(Y1.add(l),e={rel:e,crossOrigin:n,href:t},a.querySelector(l)===null&&(t=a.createElement("link"),fn(t,"link",e),be(t),a.head.appendChild(t)))}}function Ib(e,t,n,a){var l=(l=Mo.current)?Jc(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=ui(n.href),t=je(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=ui(n.href);var o=je(l).hoistableStyles,s=o.get(e);if(!s&&(l=l.ownerDocument||l,s={type:"stylesheet",instance:null,count:0,state:{loading:qr,preload:null}},o.set(e,s),(o=l.querySelector(_u(e)))&&!o._p&&(s.instance=o,s.state.loading=Ts|Ta),!Da.has(e))){var d={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};Da.set(e,d),o||kw(l,e,d,s.state)}if(t&&a===null)throw n=`
182
+
183
+ - `+Fc(t)+`
184
+ + `+Fc(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 s}if(t&&a!==null)throw n=`
185
+
186
+ - `+Fc(t)+`
187
+ + `+Fc(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=si(n),t=je(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 Fc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):Ba.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):Ba.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):Ba.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function ui(e){return'href="'+re(e)+'"'}function _u(e){return'link[rel="stylesheet"]['+e+"]"}function Wb(e){return Fe({},e,{"data-precedence":e.precedence,precedence:null})}function kw(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=Ts:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=Ts}),t.addEventListener("error",function(){return a.loading|=V1}),fn(t,"link",n),be(t),e.head.appendChild(t))}function si(e){return'[src="'+re(e)+'"]'}function Mu(e){return"script[async]"+e}function e0(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+re(n.href)+'"]');if(a)return t.instance=a,be(a),a;var l=Fe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),be(a),fn(a,"style",l),Kc(a,n.precedence,e),t.instance=a;case"stylesheet":l=ui(n.href);var o=e.querySelector(_u(l));if(o)return t.state.loading|=Ta,t.instance=o,be(o),o;a=Wb(n),(l=Da.get(l))&&yp(a,l),o=(e.ownerDocument||e).createElement("link"),be(o);var s=o;return s._p=new Promise(function(d,g){s.onload=d,s.onerror=g}),fn(o,"link",a),t.state.loading|=Ta,Kc(o,n.precedence,e),t.instance=o;case"script":return o=si(n.src),(l=e.querySelector(Mu(o)))?(t.instance=l,be(l),l):(a=n,(l=Da.get(o))&&(a=Fe({},n),vp(a,l)),e=e.ownerDocument||e,l=e.createElement("script"),be(l),fn(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&Ta)===qr&&(a=t.instance,t.state.loading|=Ta,Kc(a,n.precedence,e));return t.instance}function Kc(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,s=0;s<a.length;s++){var d=a[s];if(d.dataset.precedence===t)o=d;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 yp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function vp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function t0(e,t,n){if(ad===null){var a=new Map,l=ad=new Map;l.set(n,a)}else l=ad,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[Hu]||o[dn]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!==gi){var s=o.getAttribute(t)||"";s=e+s;var d=a.get(s);d?d.push(o):a.set(s,[o])}}return a}function n0(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function Vw(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===Qi||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=mw(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}return t.rel==="stylesheet"?(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):!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 a0(e){return!(e.type==="stylesheet"&&(e.state.loading&B1)===qr)}function Bw(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&Ta)===qr){if(n.instance===null){var l=ui(a.href),o=t.querySelector(_u(l));if(o){t=o._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Pc.bind(e),t.then(e,e)),n.state.loading|=Ta,n.instance=o,be(o);return}o=t.ownerDocument||t,a=Wb(a),(l=Da.get(l))&&yp(a,l),o=o.createElement("link"),be(o);var s=o;s._p=new Promise(function(d,g){s.onload=d,s.onerror=g}),fn(o,"link",a),n.instance=o}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&B1)===qr&&(e.count++,n=Pc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function Yw(e,t){return e.stylesheets&&e.count===0&&Ic(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Ic(e,e.stylesheets),e.unsuspend){var o=e.unsuspend;e.unsuspend=null,o()}},HD+t);0<e.imgBytes&&Pm===0&&(Pm=125*gw()*VD);var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ic(e,e.stylesheets),e.unsuspend)){var o=e.unsuspend;e.unsuspend=null,o()}},(e.imgBytes>Pm?50:kD)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(l)}}:null}function Pc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ic(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Ic(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ld=new Map,t.forEach($w,e),ld=null,Pc.call(e))}function $w(e,t){if(!(t.state.loading&Ta)){var n=ld.get(e);if(n)var a=n.get(Im);else{n=new Map,ld.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<l.length;o++){var s=l[o];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(n.set(s.dataset.precedence,s),a=s)}a&&n.set(Im,a)}l=t.instance,s=l.getAttribute("data-precedence"),o=n.get(s)||a,o===a&&n.set(Im,l),n.set(s,l),this.count++,a=Pc.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|=Ta}}function qw(e,t,n,a,l,o,s,d,g){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=$r,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=mo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mo(0),this.hiddenUpdates=mo(null),this.identifierPrefix=a,this.onUncaughtError=l,this.onCaughtError=o,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,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 l0(e,t,n,a,l,o,s,d,g,y,N,_){return e=new qw(e,t,n,s,g,y,N,_,d),t=sD,o===!0&&(t|=bn|Ya),t|=Ge,o=x(3,null,null,t),e.current=o,o.stateNode=e,t=Qd(),pr(t),e.pooledCache=t,pr(t),o.memoizedState={element:a,isDehydrated:n,cache:t},Pd(o),e}function o0(e){return e?(e=ko,e):ko}function bp(e,t,n,a,l,o){if(vn&&typeof vn.onScheduleFiberRoot=="function")try{vn.onScheduleFiberRoot(pi,a,n)}catch(s){vl||(vl=!0,console.error("React instrumentation encountered an error: %o",s))}l=o0(l),a.context===null?a.context=l:a.pendingContext=l,yl&&Wn!==null&&!X1&&(X1=!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.
188
+
189
+ Check the render method of %s.`,X(Wn)||"Unknown")),a=Ro(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=wo(e,a,t),n!==null&&(nl(t,"root.render()",null),_t(n,e,t),du(n,e,t))}function r0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Sp(e,t){r0(e,t),(e=e.alternate)&&r0(e,t)}function i0(e){if(e.tag===13||e.tag===31){var t=yn(e,67108864);t!==null&&_t(t,e,67108864),Sp(e,67108864)}}function u0(e){if(e.tag===13||e.tag===31){var t=Kn(e);t=fa(t);var n=yn(e,t);n!==null&&_t(n,e,t),Sp(e,t)}}function Gw(){return Wn}function Xw(e,t,n,a){var l=B.T;B.T=null;var o=ft.p;try{ft.p=pa,Ep(e,t,n,a)}finally{ft.p=o,B.T=l}}function Qw(e,t,n,a){var l=B.T;B.T=null;var o=ft.p;try{ft.p=Sl,Ep(e,t,n,a)}finally{ft.p=o,B.T=l}}function Ep(e,t,n,a){if(rd){var l=xp(a);if(l===null)rp(e,t,a,id,n),c0(e,a);else if(Zw(l,e,t,n,a))a.stopPropagation();else if(c0(e,a),t&4&&-1<YD.indexOf(e)){for(;l!==null;){var o=te(l);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var s=ua(o.pendingLanes);if(s!==0){var d=o;for(d.pendingLanes|=2,d.entangledLanes|=2;s;){var g=1<<31-Dn(s);d.entanglements[1]|=g,s&=~g}hl(o),(ot&(It|aa))===un&&(qf=ln()+b1,Du(0))}}break;case 31:case 13:d=yn(o,2),d!==null&&_t(d,o,2),oi(),Sp(o,2)}if(o=xp(a),o===null&&rp(e,t,a,id,n),o===l)break;l=o}l!==null&&a.stopPropagation()}else rp(e,t,a,null,n)}}function xp(e){return e=Od(e),Rp(e)}function Rp(e){if(id=null,e=F(e),e!==null){var t=J(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=W(t),e!==null)return e;e=null}else if(n===31){if(e=ie(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 id=e,null}function s0(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 pa;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 Sl;case"message":switch(aT()){case Hp:return pa;case kp:return Sl;case hi:case lT:return Gl;case Vp:return sf;default:return Gl}default:return Gl}}function c0(e,t){switch(e){case"focusin":case"focusout":er=null;break;case"dragenter":case"dragleave":tr=null;break;case"mouseover":case"mouseout":nr=null;break;case"pointerover":case"pointerout":Os.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Cs.delete(t.pointerId)}}function Uu(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=te(t),t!==null&&i0(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Zw(e,t,n,a,l){switch(t){case"focusin":return er=Uu(er,e,t,n,a,l),!0;case"dragenter":return tr=Uu(tr,e,t,n,a,l),!0;case"mouseover":return nr=Uu(nr,e,t,n,a,l),!0;case"pointerover":var o=l.pointerId;return Os.set(o,Uu(Os.get(o)||null,e,t,n,a,l)),!0;case"gotpointercapture":return o=l.pointerId,Cs.set(o,Uu(Cs.get(o)||null,e,t,n,a,l)),!0}return!1}function f0(e){var t=F(e.target);if(t!==null){var n=J(t);if(n!==null){if(t=n.tag,t===13){if(t=W(n),t!==null){e.blockedOn=t,b(e.priority,function(){u0(n)});return}}else if(t===31){if(t=ie(n),t!==null){e.blockedOn=t,b(e.priority,function(){u0(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Wc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=xp(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),l=a;ku!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),ku=l,n.target.dispatchEvent(a),ku===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."),ku=null}else return t=te(n),t!==null&&i0(t),e.blockedOn=n,!1;t.shift()}return!0}function d0(e,t,n){Wc(e)&&n.delete(t)}function Jw(){Wm=!1,er!==null&&Wc(er)&&(er=null),tr!==null&&Wc(tr)&&(tr=null),nr!==null&&Wc(nr)&&(nr=null),Os.forEach(d0),Cs.forEach(d0)}function ef(e,t){e.blockedOn===t&&(e.blockedOn=null,Wm||(Wm=!0,Yt.unstable_scheduleCallback(Yt.unstable_NormalPriority,Jw)))}function h0(e){ud!==e&&(ud=e,Yt.unstable_scheduleCallback(Yt.unstable_NormalPriority,function(){ud===e&&(ud=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(Rp(a||n)===null)continue;break}var o=te(n);o!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:l,method:n.method,action:a},Object.freeze(n),Rh(o,n,a,l))}}))}function ci(e){function t(g){return ef(g,e)}er!==null&&ef(er,e),tr!==null&&ef(tr,e),nr!==null&&ef(nr,e),Os.forEach(t),Cs.forEach(t);for(var n=0;n<ar.length;n++){var a=ar[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ar.length&&(n=ar[0],n.blockedOn===null);)f0(n),n.blockedOn===null&&ar.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],s=l[On]||null;if(typeof o=="function")s||h0(n);else if(s){var d=null;if(o&&o.hasAttribute("formAction")){if(l=o,s=o[On]||null)d=s.formAction;else if(Rp(l)!==null)continue}else d=s.action;typeof d=="function"?n[a+1]=d:(n.splice(a,3),a-=3),h0(n)}}}function p0(){function e(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(s){return l=s})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function wp(e){this._internalRoot=e}function tf(e){this._internalRoot=e}function m0(e){e[zo]&&(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 Yt=tC(),Tp=Xs(),Fw=aC(),Fe=Object.assign,Kw=Symbol.for("react.element"),ml=Symbol.for("react.transitional.element"),fi=Symbol.for("react.portal"),di=Symbol.for("react.fragment"),nf=Symbol.for("react.strict_mode"),Dp=Symbol.for("react.profiler"),Op=Symbol.for("react.consumer"),gl=Symbol.for("react.context"),zu=Symbol.for("react.forward_ref"),Cp=Symbol.for("react.suspense"),Ap=Symbol.for("react.suspense_list"),af=Symbol.for("react.memo"),In=Symbol.for("react.lazy"),Np=Symbol.for("react.activity"),Pw=Symbol.for("react.memo_cache_sentinel"),g0=Symbol.iterator,Iw=Symbol.for("react.client.reference"),Kt=Array.isArray,B=Tp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ft=Fw.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ww=Object.freeze({pending:!1,data:null,method:null,action:null}),_p=[],Mp=[],ql=-1,_o=Te(null),Lu=Te(null),Mo=Te(null),lf=Te(null),ju=0,y0,v0,b0,S0,E0,x0,R0;$e.__reactDisabledLog=!0;var Up,w0,zp=!1,Lp=new(typeof WeakMap=="function"?WeakMap:Map),Wn=null,yl=!1,Ba=Object.prototype.hasOwnProperty,jp=Yt.unstable_scheduleCallback,eT=Yt.unstable_cancelCallback,tT=Yt.unstable_shouldYield,nT=Yt.unstable_requestPaint,ln=Yt.unstable_now,aT=Yt.unstable_getCurrentPriorityLevel,Hp=Yt.unstable_ImmediatePriority,kp=Yt.unstable_UserBlockingPriority,hi=Yt.unstable_NormalPriority,lT=Yt.unstable_LowPriority,Vp=Yt.unstable_IdlePriority,oT=Yt.log,rT=Yt.unstable_setDisableYieldValue,pi=null,vn=null,vl=!1,bl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Dn=Math.clz32?Math.clz32:po,iT=Math.log,uT=Math.LN2,of=256,rf=262144,uf=4194304,pa=2,Sl=8,Gl=32,sf=268435456,Uo=Math.random().toString(36).slice(2),dn="__reactFiber$"+Uo,On="__reactProps$"+Uo,zo="__reactContainer$"+Uo,Bp="__reactEvents$"+Uo,sT="__reactListeners$"+Uo,cT="__reactHandles$"+Uo,T0="__reactResources$"+Uo,Hu="__reactMarker$"+Uo,D0=new Set,Er={},Yp={},fT={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},dT=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]*$"),O0={},C0={},hT=/[\n"\\]/g,A0=!1,N0=!1,_0=!1,M0=!1,U0=!1,z0=!1,L0=["value","defaultValue"],j0=!1,H0=/["'&<>\n\t]|^\s|\s$/,pT="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(" "),k0="applet caption html table td th marquee object template foreignObject desc title".split(" "),mT=k0.concat(["button"]),gT="dd dt li option optgroup p rp rt".split(" "),V0={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},cf={},$p={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"]},B0=/([A-Z])/g,Y0=/^ms-/,yT=/^(?:webkit|moz|o)[A-Z]/,vT=/^-ms-/,bT=/-(.)/g,$0=/;\s*$/,mi={},qp={},q0=!1,G0=!1,X0=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(" ")),ff="http://www.w3.org/1998/Math/MathML",gi="http://www.w3.org/2000/svg",ST=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"]]),df={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"},Q0={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},yi={},ET=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]*$"),xT=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]*$"),Z0=!1,Cn={},J0=/^on./,RT=/^on[^A-Z]/,wT=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]*$"),TT=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]*$"),DT=/^[\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,ku=null,vi=null,bi=null,Gp=!1,El=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xp=!1;if(El)try{var Vu={};Object.defineProperty(Vu,"passive",{get:function(){Xp=!0}}),window.addEventListener("test",Vu,Vu),window.removeEventListener("test",Vu,Vu)}catch{Xp=!1}var Lo=null,Qp=null,hf=null,xr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pf=Hn(xr),Bu=Fe({},xr,{view:0,detail:0}),OT=Hn(Bu),Zp,Jp,Yu,mf=Fe({},Bu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cd,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!==Yu&&(Yu&&e.type==="mousemove"?(Zp=e.screenX-Yu.screenX,Jp=e.screenY-Yu.screenY):Jp=Zp=0,Yu=e),Zp)},movementY:function(e){return"movementY"in e?e.movementY:Jp}}),F0=Hn(mf),CT=Fe({},mf,{dataTransfer:0}),AT=Hn(CT),NT=Fe({},Bu,{relatedTarget:0}),Fp=Hn(NT),_T=Fe({},xr,{animationName:0,elapsedTime:0,pseudoElement:0}),MT=Hn(_T),UT=Fe({},xr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zT=Hn(UT),LT=Fe({},xr,{data:0}),K0=Hn(LT),jT=K0,HT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kT={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"},VT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},BT=Fe({},Bu,{key:function(e){if(e.key){var t=HT[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ws(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cd,charCode:function(e){return e.type==="keypress"?Ws(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ws(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),YT=Hn(BT),$T=Fe({},mf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),P0=Hn($T),qT=Fe({},Bu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cd}),GT=Hn(qT),XT=Fe({},xr,{propertyName:0,elapsedTime:0,pseudoElement:0}),QT=Hn(XT),ZT=Fe({},mf,{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}),JT=Hn(ZT),FT=Fe({},xr,{newState:0,oldState:0}),KT=Hn(FT),PT=[9,13,27,32],I0=229,Kp=El&&"CompositionEvent"in window,$u=null;El&&"documentMode"in document&&($u=document.documentMode);var IT=El&&"TextEvent"in window&&!$u,W0=El&&(!Kp||$u&&8<$u&&11>=$u),eS=32,tS=String.fromCharCode(eS),nS=!1,Si=!1,WT={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},qu=null,Gu=null,aS=!1;El&&(aS=bR("input")&&(!document.documentMode||9<document.documentMode));var An=typeof Object.is=="function"?Object.is:TR,eD=El&&"documentMode"in document&&11>=document.documentMode,Ei=null,Pp=null,Xu=null,Ip=!1,xi={animationend:ir("Animation","AnimationEnd"),animationiteration:ir("Animation","AnimationIteration"),animationstart:ir("Animation","AnimationStart"),transitionrun:ir("Transition","TransitionRun"),transitionstart:ir("Transition","TransitionStart"),transitioncancel:ir("Transition","TransitionCancel"),transitionend:ir("Transition","TransitionEnd")},Wp={},lS={};El&&(lS=document.createElement("div").style,"AnimationEvent"in window||(delete xi.animationend.animation,delete xi.animationiteration.animation,delete xi.animationstart.animation),"TransitionEvent"in window||delete xi.transitionend.transition);var oS=ur("animationend"),rS=ur("animationiteration"),iS=ur("animationstart"),tD=ur("transitionrun"),nD=ur("transitionstart"),aD=ur("transitioncancel"),uS=ur("transitionend"),sS=new Map,em="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(" ");em.push("scrollEnd");var cS=0;if(typeof performance=="object"&&typeof performance.now=="function")var lD=performance,fS=function(){return lD.now()};else{var oD=Date;fS=function(){return oD.now()}}var tm=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}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},rD="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",gf=0,nm=1,am=2,lm=3,yf="– ",vf="+ ",dS="  ",xt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",ma="Components ⚛",nt="Scheduler ⚛",lt="Blocking",jo=!1,Xl={color:"primary",properties:null,tooltipText:"",track:ma},Ho={start:-0,end:-0,detail:{devtools:Xl}},iD=["Changed Props",""],hS="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",uD=["Changed Props",hS],Qu=1,Ql=2,ga=[],Ri=0,om=0,ko={};Object.freeze(ko);var ya=null,wi=null,ze=0,sD=1,Ge=2,bn=8,Ya=16,cD=32,pS=!1;try{var mS=Object.preventExtensions({})}catch{pS=!0}var rm=new WeakMap,Ti=[],Di=0,bf=null,Zu=0,va=[],ba=0,Rr=null,Zl=1,Jl="",hn=null,Rt=null,We=!1,xl=!1,ea=null,Vo=null,Sa=!1,im=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."),um=Te(null),sm=Te(null),gS={},Sf=null,Oi=null,Ci=!1,fD=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()})}},dD=Yt.unstable_scheduleCallback,hD=Yt.unstable_NormalPriority,$t={$$typeof:gl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},qt=Yt.unstable_now,Ef=console.createTask?console.createTask:function(){return null},Ju=1,xf=2,on=-0,Bo=-0,Fl=-0,Kl=null,Nn=-1.1,wr=-0,At=-0,Ce=-1.1,Ue=-1.1,Dt=null,Mt=!1,Tr=-0,Rl=-1.1,Fu=null,Yo=0,cm=null,fm=null,Dr=-1.1,Ku=null,Ai=-1.1,Rf=-1.1,Pl=-0,Il=-1.1,Ea=-1.1,dm=0,Pu=null,yS=null,vS=null,$o=-1.1,Or=null,qo=-1.1,wf=-1.1,bS=-0,SS=-0,Tf=0,pD=null,ES=0,Iu=-1.1,Df=!1,Of=!1,Wu=null,hm=0,Cr=0,Ni=null,xS=B.S;B.S=function(e,t){if(y1=ln(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Il&&0>Ea){Il=qt();var n=Au(),a=Cu();(n!==qo||a!==Or)&&(qo=-1.1),$o=n,Or=a}MR(e,t)}xS!==null&&xS(e,t)};var Ar=Te(null),$a={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},es=[],ts=[],ns=[],as=[],ls=[],os=[],Nr=new Set;$a.recordUnsafeLifecycleWarnings=function(e,t){Nr.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&es.push(e),e.mode&bn&&typeof t.UNSAFE_componentWillMount=="function"&&ts.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ns.push(e),e.mode&bn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&as.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ls.push(e),e.mode&bn&&typeof t.UNSAFE_componentWillUpdate=="function"&&os.push(e))},$a.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<es.length&&(es.forEach(function(d){e.add(X(d)||"Component"),Nr.add(d.type)}),es=[]);var t=new Set;0<ts.length&&(ts.forEach(function(d){t.add(X(d)||"Component"),Nr.add(d.type)}),ts=[]);var n=new Set;0<ns.length&&(ns.forEach(function(d){n.add(X(d)||"Component"),Nr.add(d.type)}),ns=[]);var a=new Set;0<as.length&&(as.forEach(function(d){a.add(X(d)||"Component"),Nr.add(d.type)}),as=[]);var l=new Set;0<ls.length&&(ls.forEach(function(d){l.add(X(d)||"Component"),Nr.add(d.type)}),ls=[]);var o=new Set;if(0<os.length&&(os.forEach(function(d){o.add(X(d)||"Component"),Nr.add(d.type)}),os=[]),0<t.size){var s=S(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.
190
+
191
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
192
+
193
+ Please update the following components: %s`,s)}0<a.size&&(s=S(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.
194
+
195
+ * Move data fetching code or side effects to componentDidUpdate.
196
+ * 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
197
+
198
+ Please update the following components: %s`,s)),0<o.size&&(s=S(o),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.
199
+
200
+ * Move data fetching code or side effects to componentDidUpdate.
201
+
202
+ Please update the following components: %s`,s)),0<e.size&&(s=S(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
203
+
204
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
205
+ * 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.
206
+
207
+ Please update the following components: %s`,s)),0<n.size&&(s=S(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
208
+
209
+ * Move data fetching code or side effects to componentDidUpdate.
210
+ * 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
211
+ * 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.
212
+
213
+ Please update the following components: %s`,s)),0<l.size&&(s=S(l),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
214
+
215
+ * Move data fetching code or side effects to componentDidUpdate.
216
+ * 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.
217
+
218
+ Please update the following components: %s`,s))};var Cf=new Map,RS=new Set;$a.recordLegacyContextWarning=function(e,t){for(var n=null,a=e;a!==null;)a.mode&bn&&(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."):!RS.has(e.type)&&(a=Cf.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Cf.set(n,a)),a.push(e))},$a.flushLegacyContextWarning=function(){Cf.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(l){n.add(X(l)||"Component"),RS.add(l.type)});var a=S(n);se(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
219
+
220
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
221
+
222
+ Please update the following components: %s
223
+
224
+ Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}})},$a.discardPendingWarnings=function(){es=[],ts=[],ns=[],as=[],ls=[],os=[],Cf=new Map};var wS={react_stack_bottom_frame:function(e,t,n){var a=yl;yl=!0;try{return e(t,n)}finally{yl=a}}},pm=wS.react_stack_bottom_frame.bind(wS),TS={react_stack_bottom_frame:function(e){var t=yl;yl=!0;try{return e.render()}finally{yl=t}}},DS=TS.react_stack_bottom_frame.bind(TS),OS={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){ct(e,e.return,n)}}},mm=OS.react_stack_bottom_frame.bind(OS),CS={react_stack_bottom_frame:function(e,t,n,a,l){try{t.componentDidUpdate(n,a,l)}catch(o){ct(e,e.return,o)}}},AS=CS.react_stack_bottom_frame.bind(CS),NS={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},mD=NS.react_stack_bottom_frame.bind(NS),_S={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(a){ct(e,t,a)}}},MS=_S.react_stack_bottom_frame.bind(_S),US={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},gD=US.react_stack_bottom_frame.bind(US),zS={react_stack_bottom_frame:function(e,t,n){try{n()}catch(a){ct(e,t,a)}}},yD=zS.react_stack_bottom_frame.bind(zS),LS={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},vD=LS.react_stack_bottom_frame.bind(LS),_i=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`."),gm=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."),Af=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."),Nf={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.')}},_r=null,rs=!1,Mi=null,is=0,Xe=null,ym,jS=ym=!1,HS={},kS={},VS={};R=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=X(e),l=a||"null";if(!HS[l]){HS[l]=!0,n=n._owner,e=e._debugOwner;var o="";e&&typeof e.tag=="number"&&(l=X(e))&&(o=`
225
+
226
+ Check the render method of \``+l+"`."),o||a&&(o=`
227
+
228
+ Check the top-level render call using <`+a+">.");var s="";n!=null&&e!==n&&(a=null,typeof n.tag=="number"?a=X(n):typeof n.name=="string"&&(a=n.name),a&&(s=" It was passed a child from "+a+".")),se(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,s)})}}};var Mr=_y(!0),BS=_y(!1),YS=0,$S=1,qS=2,vm=3,Go=!1,GS=!1,bm=null,Sm=!1,Ui=Te(null),_f=Te(0),ta=Te(null),xa=null,zi=1,us=2,kt=Te(0),Mf=0,Ra=1,_n=2,na=4,Mn=8,Li,XS=new Set,QS=new Set,Em=new Set,ZS=new Set,Wl=0,He=null,gt=null,Gt=null,Uf=!1,ji=!1,Ur=!1,zf=0,ss=0,eo=null,bD=0,SD=25,k=null,wa=null,to=-1,cs=!1,fs={readContext:Tt,use:Oo,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useLayoutEffect:zt,useInsertionEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useSyncExternalStore:zt,useId:zt,useHostTransitionStatus:zt,useFormState:zt,useActionState:zt,useOptimistic:zt,useMemoCache:zt,useCacheRefresh:zt};fs.useEffectEvent=zt;var xm=null,JS=null,Rm=null,FS=null,wl=null,qa=null,Lf=null;xm={readContext:function(e){return Tt(e)},use:Oo,useCallback:function(e,t){return k="useCallback",Je(),Ir(t),bh(e,t)},useContext:function(e){return k="useContext",Je(),Tt(e)},useEffect:function(e,t){return k="useEffect",Je(),Ir(t),Oc(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",Je(),Ir(n),vh(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",Je(),Ir(t),gr(4,_n,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",Je(),Ir(t),yh(e,t)},useMemo:function(e,t){k="useMemo",Je(),Ir(t);var n=B.H;B.H=wl;try{return Sh(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",Je();var a=B.H;B.H=wl;try{return uh(e,t,n)}finally{B.H=a}},useRef:function(e){return k="useRef",Je(),mh(e)},useState:function(e){k="useState",Je();var t=B.H;B.H=wl;try{return dh(e)}finally{B.H=t}},useDebugValue:function(){k="useDebugValue",Je()},useDeferredValue:function(e,t){return k="useDeferredValue",Je(),Eh(e,t)},useTransition:function(){return k="useTransition",Je(),wh()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",Je(),ch(e,t,n)},useId:function(){return k="useId",Je(),Th()},useFormState:function(e,t){return k="useFormState",Je(),xc(),ei(e,t)},useActionState:function(e,t){return k="useActionState",Je(),ei(e,t)},useOptimistic:function(e){return k="useOptimistic",Je(),hh(e)},useHostTransitionStatus:yr,useMemoCache:mr,useCacheRefresh:function(){return k="useCacheRefresh",Je(),Dh()},useEffectEvent:function(e){return k="useEffectEvent",Je(),gh(e)}},JS={readContext:function(e){return Tt(e)},use:Oo,useCallback:function(e,t){return k="useCallback",K(),bh(e,t)},useContext:function(e){return k="useContext",K(),Tt(e)},useEffect:function(e,t){return k="useEffect",K(),Oc(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",K(),vh(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",K(),gr(4,_n,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",K(),yh(e,t)},useMemo:function(e,t){k="useMemo",K();var n=B.H;B.H=wl;try{return Sh(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",K();var a=B.H;B.H=wl;try{return uh(e,t,n)}finally{B.H=a}},useRef:function(e){return k="useRef",K(),mh(e)},useState:function(e){k="useState",K();var t=B.H;B.H=wl;try{return dh(e)}finally{B.H=t}},useDebugValue:function(){k="useDebugValue",K()},useDeferredValue:function(e,t){return k="useDeferredValue",K(),Eh(e,t)},useTransition:function(){return k="useTransition",K(),wh()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",K(),ch(e,t,n)},useId:function(){return k="useId",K(),Th()},useActionState:function(e,t){return k="useActionState",K(),ei(e,t)},useFormState:function(e,t){return k="useFormState",K(),xc(),ei(e,t)},useOptimistic:function(e){return k="useOptimistic",K(),hh(e)},useHostTransitionStatus:yr,useMemoCache:mr,useCacheRefresh:function(){return k="useCacheRefresh",K(),Dh()},useEffectEvent:function(e){return k="useEffectEvent",K(),gh(e)}},Rm={readContext:function(e){return Tt(e)},use:Oo,useCallback:function(e,t){return k="useCallback",K(),Nc(e,t)},useContext:function(e){return k="useContext",K(),Tt(e)},useEffect:function(e,t){k="useEffect",K(),kn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",K(),Ac(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",K(),kn(4,_n,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",K(),kn(4,na,e,t)},useMemo:function(e,t){k="useMemo",K();var n=B.H;B.H=qa;try{return _c(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",K();var a=B.H;B.H=qa;try{return Wr(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",K(),dt().memoizedState},useState:function(){k="useState",K();var e=B.H;B.H=qa;try{return Wr(ka)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",K()},useDeferredValue:function(e,t){return k="useDeferredValue",K(),Wy(e,t)},useTransition:function(){return k="useTransition",K(),ov()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",K(),wc(e,t,n)},useId:function(){return k="useId",K(),dt().memoizedState},useFormState:function(e){return k="useFormState",K(),xc(),Tc(e)},useActionState:function(e){return k="useActionState",K(),Tc(e)},useOptimistic:function(e,t){return k="useOptimistic",K(),qy(e,t)},useHostTransitionStatus:yr,useMemoCache:mr,useCacheRefresh:function(){return k="useCacheRefresh",K(),dt().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",K(),Cc(e)}},FS={readContext:function(e){return Tt(e)},use:Oo,useCallback:function(e,t){return k="useCallback",K(),Nc(e,t)},useContext:function(e){return k="useContext",K(),Tt(e)},useEffect:function(e,t){k="useEffect",K(),kn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",K(),Ac(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",K(),kn(4,_n,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",K(),kn(4,na,e,t)},useMemo:function(e,t){k="useMemo",K();var n=B.H;B.H=Lf;try{return _c(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",K();var a=B.H;B.H=Lf;try{return gu(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",K(),dt().memoizedState},useState:function(){k="useState",K();var e=B.H;B.H=Lf;try{return gu(ka)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",K()},useDeferredValue:function(e,t){return k="useDeferredValue",K(),ev(e,t)},useTransition:function(){return k="useTransition",K(),rv()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",K(),wc(e,t,n)},useId:function(){return k="useId",K(),dt().memoizedState},useFormState:function(e){return k="useFormState",K(),xc(),Dc(e)},useActionState:function(e){return k="useActionState",K(),Dc(e)},useOptimistic:function(e,t){return k="useOptimistic",K(),Xy(e,t)},useHostTransitionStatus:yr,useMemoCache:mr,useCacheRefresh:function(){return k="useCacheRefresh",K(),dt().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",K(),Cc(e)}},wl={readContext:function(e){return v(),Tt(e)},use:function(e){return m(),Oo(e)},useCallback:function(e,t){return k="useCallback",m(),Je(),bh(e,t)},useContext:function(e){return k="useContext",m(),Je(),Tt(e)},useEffect:function(e,t){return k="useEffect",m(),Je(),Oc(e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",m(),Je(),vh(e,t,n)},useInsertionEffect:function(e,t){k="useInsertionEffect",m(),Je(),gr(4,_n,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",m(),Je(),yh(e,t)},useMemo:function(e,t){k="useMemo",m(),Je();var n=B.H;B.H=wl;try{return Sh(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",m(),Je();var a=B.H;B.H=wl;try{return uh(e,t,n)}finally{B.H=a}},useRef:function(e){return k="useRef",m(),Je(),mh(e)},useState:function(e){k="useState",m(),Je();var t=B.H;B.H=wl;try{return dh(e)}finally{B.H=t}},useDebugValue:function(){k="useDebugValue",m(),Je()},useDeferredValue:function(e,t){return k="useDeferredValue",m(),Je(),Eh(e,t)},useTransition:function(){return k="useTransition",m(),Je(),wh()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",m(),Je(),ch(e,t,n)},useId:function(){return k="useId",m(),Je(),Th()},useFormState:function(e,t){return k="useFormState",m(),Je(),ei(e,t)},useActionState:function(e,t){return k="useActionState",m(),Je(),ei(e,t)},useOptimistic:function(e){return k="useOptimistic",m(),Je(),hh(e)},useMemoCache:function(e){return m(),mr(e)},useHostTransitionStatus:yr,useCacheRefresh:function(){return k="useCacheRefresh",Je(),Dh()},useEffectEvent:function(e){return k="useEffectEvent",m(),Je(),gh(e)}},qa={readContext:function(e){return v(),Tt(e)},use:function(e){return m(),Oo(e)},useCallback:function(e,t){return k="useCallback",m(),K(),Nc(e,t)},useContext:function(e){return k="useContext",m(),K(),Tt(e)},useEffect:function(e,t){k="useEffect",m(),K(),kn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",m(),K(),Ac(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",m(),K(),kn(4,_n,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",m(),K(),kn(4,na,e,t)},useMemo:function(e,t){k="useMemo",m(),K();var n=B.H;B.H=qa;try{return _c(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",m(),K();var a=B.H;B.H=qa;try{return Wr(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",m(),K(),dt().memoizedState},useState:function(){k="useState",m(),K();var e=B.H;B.H=qa;try{return Wr(ka)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",m(),K()},useDeferredValue:function(e,t){return k="useDeferredValue",m(),K(),Wy(e,t)},useTransition:function(){return k="useTransition",m(),K(),ov()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",m(),K(),wc(e,t,n)},useId:function(){return k="useId",m(),K(),dt().memoizedState},useFormState:function(e){return k="useFormState",m(),K(),Tc(e)},useActionState:function(e){return k="useActionState",m(),K(),Tc(e)},useOptimistic:function(e,t){return k="useOptimistic",m(),K(),qy(e,t)},useMemoCache:function(e){return m(),mr(e)},useHostTransitionStatus:yr,useCacheRefresh:function(){return k="useCacheRefresh",K(),dt().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",m(),K(),Cc(e)}},Lf={readContext:function(e){return v(),Tt(e)},use:function(e){return m(),Oo(e)},useCallback:function(e,t){return k="useCallback",m(),K(),Nc(e,t)},useContext:function(e){return k="useContext",m(),K(),Tt(e)},useEffect:function(e,t){k="useEffect",m(),K(),kn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return k="useImperativeHandle",m(),K(),Ac(e,t,n)},useInsertionEffect:function(e,t){return k="useInsertionEffect",m(),K(),kn(4,_n,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",m(),K(),kn(4,na,e,t)},useMemo:function(e,t){k="useMemo",m(),K();var n=B.H;B.H=qa;try{return _c(e,t)}finally{B.H=n}},useReducer:function(e,t,n){k="useReducer",m(),K();var a=B.H;B.H=qa;try{return gu(e,t,n)}finally{B.H=a}},useRef:function(){return k="useRef",m(),K(),dt().memoizedState},useState:function(){k="useState",m(),K();var e=B.H;B.H=qa;try{return gu(ka)}finally{B.H=e}},useDebugValue:function(){k="useDebugValue",m(),K()},useDeferredValue:function(e,t){return k="useDeferredValue",m(),K(),ev(e,t)},useTransition:function(){return k="useTransition",m(),K(),rv()},useSyncExternalStore:function(e,t,n){return k="useSyncExternalStore",m(),K(),wc(e,t,n)},useId:function(){return k="useId",m(),K(),dt().memoizedState},useFormState:function(e){return k="useFormState",m(),K(),Dc(e)},useActionState:function(e){return k="useActionState",m(),K(),Dc(e)},useOptimistic:function(e,t){return k="useOptimistic",m(),K(),Xy(e,t)},useMemoCache:function(e){return m(),mr(e)},useHostTransitionStatus:yr,useCacheRefresh:function(){return k="useCacheRefresh",K(),dt().memoizedState},useEffectEvent:function(e){return k="useEffectEvent",m(),K(),Cc(e)}};var KS={},PS=new Set,IS=new Set,WS=new Set,e1=new Set,t1=new Set,n1=new Set,a1=new Set,l1=new Set,o1=new Set,r1=new Set;Object.freeze(KS);var wm={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Kn(e),l=Ro(a);l.payload=t,n!=null&&(Ch(n),l.callback=n),t=wo(e,l,a),t!==null&&(nl(a,"this.setState()",e),_t(t,e,a),du(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Kn(e),l=Ro(a);l.tag=$S,l.payload=t,n!=null&&(Ch(n),l.callback=n),t=wo(e,l,a),t!==null&&(nl(a,"this.replaceState()",e),_t(t,e,a),du(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Kn(e),a=Ro(n);a.tag=qS,t!=null&&(Ch(t),a.callback=t),t=wo(e,a,n),t!==null&&(nl(n,"this.forceUpdate()",e),_t(t,e,n),du(t,e,n))}},Hi=null,Tm=null,Dm=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."),Xt=!1,i1={},u1={},s1={},c1={},ki=!1,f1={},jf={},Om={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},d1=!1,h1=null;h1=new Set;var no=!1,Qt=!1,Cm=!1,p1=typeof WeakSet=="function"?WeakSet:Set,rn=null,Vi=null,Bi=null,Zt=null,Yn=!1,Ga=null,Pt=!1,ds=8192,ED={getCacheForType:function(e){var t=Tt($t),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Tt($t).controller.signal},getOwner:function(){return Wn}};if(typeof Symbol=="function"&&Symbol.for){var hs=Symbol.for;hs("selector.component"),hs("selector.has_pseudo_class"),hs("selector.role"),hs("selector.test_id"),hs("selector.text")}var xD=[],RD=typeof WeakMap=="function"?WeakMap:Map,un=0,It=2,aa=4,ao=0,ps=1,zr=2,Hf=3,Xo=4,kf=6,m1=5,ot=un,yt=null,Ze=null,Qe=0,$n=0,Vf=1,Lr=2,ms=3,g1=4,Am=5,gs=6,Bf=7,Nm=8,jr=9,ht=$n,la=null,Qo=!1,Yi=!1,_m=!1,Tl=0,Nt=ao,Zo=0,Jo=0,Mm=0,qn=0,Hr=0,ys=null,Un=null,Yf=!1,$f=0,y1=0,v1=300,qf=1/0,b1=500,vs=null,Lt=null,Fo=null,Gf=0,Um=1,zm=2,S1=3,Ko=0,E1=1,x1=2,R1=3,w1=4,Xf=5,Jt=0,Po=null,$i=null,Xa=0,Lm=0,jm=-0,Hm=null,T1=null,D1=null,Qa=Gf,O1=null,wD=50,bs=0,km=null,Vm=!1,Qf=!1,TD=50,kr=0,Ss=null,qi=!1,Zf=null,C1=!1,A1=new Set,DD={},Jf=null,Gi=null,Bm=!1,Ym=!1,Ff=!1,$m=!1,Io=0,qm={};(function(){for(var e=0;e<em.length;e++){var t=em[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),ja(n,"on"+t)}ja(oS,"onAnimationEnd"),ja(rS,"onAnimationIteration"),ja(iS,"onAnimationStart"),ja("dblclick","onDoubleClick"),ja("focusin","onFocus"),ja("focusout","onBlur"),ja(tD,"onTransitionRun"),ja(nD,"onTransitionStart"),ja(aD,"onTransitionCancel"),ja(uS,"onTransitionEnd")})(),Be("onMouseEnter",["mouseout","mouseover"]),Be("onMouseLeave",["mouseout","mouseover"]),Be("onPointerEnter",["pointerout","pointerover"]),Be("onPointerLeave",["pointerout","pointerover"]),Ie("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ie("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ie("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ie("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ie("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ie("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Es="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(" "),Gm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Es)),Kf="_reactListening"+Math.random().toString(36).slice(2),N1=!1,_1=!1,Pf=!1,M1=!1,If=!1,Wf=!1,U1=!1,ed={},OD=/\r\n?/g,CD=/\u0000|\uFFFD/g,Vr="http://www.w3.org/1999/xlink",Xm="http://www.w3.org/XML/1998/namespace",AD="javascript:throw new Error('React form unexpectedly submitted.')",ND="suppressHydrationWarning",Br="&",td="/&",xs="$",Rs="/$",Wo="$?",Yr="$~",Xi="$!",_D="html",MD="body",UD="head",Qm="F!",z1="F",L1="loading",zD="style",lo=0,Qi=1,nd=2,Zm=null,Jm=null,j1={dialog:!0,webview:!0},Fm=null,ws=void 0,H1=typeof setTimeout=="function"?setTimeout:void 0,LD=typeof clearTimeout=="function"?clearTimeout:void 0,$r=-1,k1=typeof Promise=="function"?Promise:void 0,jD=typeof queueMicrotask=="function"?queueMicrotask:typeof k1<"u"?function(e){return k1.resolve(null).then(e).catch(vw)}:H1,Km=null,qr=0,Ts=1,V1=2,B1=3,Ta=4,Da=new Map,Y1=new Set,oo=ft.d;ft.d={f:function(){var e=oo.f(),t=oi();return e||t},r:function(e){var t=te(e);t!==null&&t.tag===5&&t.type==="form"?lv(t):oo.r(e)},D:function(e){oo.D(e),Pb("dns-prefetch",e,null)},C:function(e,t){oo.C(e,t),Pb("preconnect",e,t)},L:function(e,t,n){oo.L(e,t,n);var a=Zi;if(a&&e&&t){var l='link[rel="preload"][as="'+re(t)+'"]';t==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+re(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+re(n.imageSizes)+'"]')):l+='[href="'+re(e)+'"]';var o=l;switch(t){case"style":o=ui(e);break;case"script":o=si(e)}Da.has(o)||(e=Fe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Da.set(o,e),a.querySelector(l)!==null||t==="style"&&a.querySelector(_u(o))||t==="script"&&a.querySelector(Mu(o))||(t=a.createElement("link"),fn(t,"link",e),be(t),a.head.appendChild(t)))}},m:function(e,t){oo.m(e,t);var n=Zi;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+re(a)+'"][href="'+re(e)+'"]',o=l;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=si(e)}if(!Da.has(o)&&(e=Fe({rel:"modulepreload",href:e},t),Da.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"),fn(a,"link",e),be(a),n.head.appendChild(a)}}},X:function(e,t){oo.X(e,t);var n=Zi;if(n&&e){var a=je(n).hoistableScripts,l=si(e),o=a.get(l);o||(o=n.querySelector(Mu(l)),o||(e=Fe({src:e,async:!0},t),(t=Da.get(l))&&vp(e,t),o=n.createElement("script"),be(o),fn(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){oo.S(e,t,n);var a=Zi;if(a&&e){var l=je(a).hoistableStyles,o=ui(e);t=t||"default";var s=l.get(o);if(!s){var d={loading:qr,preload:null};if(s=a.querySelector(_u(o)))d.loading=Ts|Ta;else{e=Fe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Da.get(o))&&yp(e,n);var g=s=a.createElement("link");be(g),fn(g,"link",e),g._p=new Promise(function(y,N){g.onload=y,g.onerror=N}),g.addEventListener("load",function(){d.loading|=Ts}),g.addEventListener("error",function(){d.loading|=V1}),d.loading|=Ta,Kc(s,t,a)}s={type:"stylesheet",instance:s,count:1,state:d},l.set(o,s)}}},M:function(e,t){oo.M(e,t);var n=Zi;if(n&&e){var a=je(n).hoistableScripts,l=si(e),o=a.get(l);o||(o=n.querySelector(Mu(l)),o||(e=Fe({src:e,async:!0,type:"module"},t),(t=Da.get(l))&&vp(e,t),o=n.createElement("script"),be(o),fn(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(l,o))}}};var Zi=typeof document>"u"?null:document,ad=null,HD=6e4,kD=800,VD=500,Pm=0,Im=null,ld=null,Gr=Ww,Ds={$$typeof:gl,Provider:null,Consumer:null,_currentValue:Gr,_currentValue2:Gr,_threadCount:0},$1="%c%s%c",q1="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",G1="",od=" ",BD=Function.prototype.bind,X1=!1,Q1=null,Z1=null,J1=null,F1=null,K1=null,P1=null,I1=null,W1=null,eE=null,tE=null;Q1=function(e,t,n,a){t=i(e,t),t!==null&&(n=r(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Fe({},e.memoizedProps),n=yn(e,2),n!==null&&_t(n,e,2))},Z1=function(e,t,n){t=i(e,t),t!==null&&(n=f(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Fe({},e.memoizedProps),n=yn(e,2),n!==null&&_t(n,e,2))},J1=function(e,t,n,a){t=i(e,t),t!==null&&(n=u(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Fe({},e.memoizedProps),n=yn(e,2),n!==null&&_t(n,e,2))},F1=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=yn(e,2),t!==null&&_t(t,e,2)},K1=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=yn(e,2),t!==null&&_t(t,e,2)},P1=function(e,t,n){e.pendingProps=u(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=yn(e,2),t!==null&&_t(t,e,2)},I1=function(e){var t=yn(e,2);t!==null&&_t(t,e,2)},W1=function(e){var t=_a(),n=yn(e,t);n!==null&&_t(n,e,t)},eE=function(e){p=e},tE=function(e){h=e};var rd=!0,id=null,Wm=!1,er=null,tr=null,nr=null,Os=new Map,Cs=new Map,ar=[],YD="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(" "),ud=null;if(tf.prototype.render=wp.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()."):Y(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=Kn(a);bp(a,l,n,t,null,null)},tf.prototype.unmount=wp.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;(ot&(It|aa))!==un&&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."),bp(e.current,2,null,e,null,null),oi(),t[zo]=null}},tf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ma();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ar.length&&t!==0&&t<ar[n].priority;n++);ar.splice(n,0,e),n===0&&f0(e)}},(function(){var e=Tp.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
229
+ - react: `+(e+`
230
+ - react-dom: 19.2.4
231
+ 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"),ft.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=ye(t),e=e!==null?Ve(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.4"};return e.overrideHookState=Q1,e.overrideHookStateDeletePath=Z1,e.overrideHookStateRenamePath=J1,e.overrideProps=F1,e.overridePropsDeletePath=K1,e.overridePropsRenamePath=P1,e.scheduleUpdate=I1,e.scheduleRetry=W1,e.setErrorHandler=eE,e.setSuspenseHandler=tE,e.scheduleRefresh=L,e.scheduleRoot=T,e.setRefreshHandler=Q,e.getCurrentFiber=Gw,eu(e)})()&&El&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var nE=window.location.protocol;/^(https?|file):$/.test(nE)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(nE==="file:"?`
232
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Ns.createRoot=function(e,t){if(!Y(e))throw Error("Target container is not a DOM element.");m0(e);var n=!1,a="",l=dv,o=hv,s=pv;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===ml&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
233
+
234
+ let root = createRoot(domContainer);
235
+ 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&&(o=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=l0(e,1,!1,null,null,n,a,null,l,o,s,p0),e[zo]=t.current,op(e),new wp(t)},Ns.hydrateRoot=function(e,t,n){if(!Y(e))throw Error("Target container is not a DOM element.");m0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,l="",o=dv,s=hv,d=pv,g=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(s=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(g=n.formState)),t=l0(e,1,!0,t,n??null,a,l,g,o,s,d,p0),t.context=o0(null),n=t.current,a=Kn(n),a=fa(a),l=Ro(a),l.callback=null,wo(n,l,a),nl(a,"hydrateRoot()",null),n=a,t.current.lanes=n,ca(t,n),hl(t),e[zo]=t.current,op(e),new tf(t)},Ns.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Ns}var UE;function oC(){return UE||(UE=1,ig.exports=lC()),ig.exports}var rC=oC();var Dx=i=>{throw TypeError(i)},iC=(i,r,u)=>r.has(i)||Dx("Cannot "+u),fg=(i,r,u)=>(iC(i,r,"read from private field"),u?u.call(i):r.get(i)),uC=(i,r,u)=>r.has(i)?Dx("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(i):r.set(i,u),zE="popstate";function LE(i){return typeof i=="object"&&i!=null&&"pathname"in i&&"search"in i&&"hash"in i&&"state"in i&&"key"in i}function sC(i={}){function r(c,f){let h=f.state?.masked,{pathname:p,search:m,hash:v}=h||c.location;return $s("",{pathname:p,search:m,hash:v},f.state&&f.state.usr||null,f.state&&f.state.key||"default",h?{pathname:c.location.pathname,search:c.location.search,hash:c.location.hash}:void 0)}function u(c,f){return typeof f=="string"?f:Ol(f)}return fC(r,u,null,i)}function Pe(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}function Bt(i,r){if(!i){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function cC(){return Math.random().toString(36).substring(2,10)}function jE(i,r){return{usr:i.state,key:i.key,idx:r,masked:i.unstable_mask?{pathname:i.pathname,search:i.search,hash:i.hash}:void 0}}function $s(i,r,u=null,c,f){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof r=="string"?so(r):r,state:u,key:r&&r.key||c||cC(),unstable_mask:f}}function Ol({pathname:i="/",search:r="",hash:u=""}){return r&&r!=="?"&&(i+=r.charAt(0)==="?"?r:"?"+r),u&&u!=="#"&&(i+=u.charAt(0)==="#"?u:"#"+u),i}function so(i){let r={};if(i){let u=i.indexOf("#");u>=0&&(r.hash=i.substring(u),i=i.substring(0,u));let c=i.indexOf("?");c>=0&&(r.search=i.substring(c),i=i.substring(0,c)),i&&(r.pathname=i)}return r}function fC(i,r,u,c={}){let{window:f=document.defaultView,v5Compat:h=!1}=c,p=f.history,m="POP",v=null,E=R();E==null&&(E=0,p.replaceState({...p.state,idx:E},""));function R(){return(p.state||{idx:null}).idx}function S(){m="POP";let Y=R(),J=Y==null?null:Y-E;E=Y,v&&v({action:m,location:Q.location,delta:J})}function x(Y,J){m="PUSH";let W=LE(Y)?Y:$s(Q.location,Y,J);E=R()+1;let ie=jE(W,E),Ee=Q.createHref(W.unstable_mask||W);try{p.pushState(ie,"",Ee)}catch(ye){if(ye instanceof DOMException&&ye.name==="DataCloneError")throw ye;f.location.assign(Ee)}h&&v&&v({action:m,location:Q.location,delta:1})}function T(Y,J){m="REPLACE";let W=LE(Y)?Y:$s(Q.location,Y,J);E=R();let ie=jE(W,E),Ee=Q.createHref(W.unstable_mask||W);p.replaceState(ie,"",Ee),h&&v&&v({action:m,location:Q.location,delta:0})}function L(Y){return Ox(Y)}let Q={get action(){return m},get location(){return i(f,p)},listen(Y){if(v)throw new Error("A history only accepts one active listener");return f.addEventListener(zE,S),v=Y,()=>{f.removeEventListener(zE,S),v=null}},createHref(Y){return r(f,Y)},createURL:L,encodeLocation(Y){let J=L(Y);return{pathname:J.pathname,search:J.search,hash:J.hash}},push:x,replace:T,go(Y){return p.go(Y)}};return Q}function Ox(i,r=!1){let u="http://localhost";typeof window<"u"&&(u=window.location.origin!=="null"?window.location.origin:window.location.href),Pe(u,"No window.location.(origin|href) available to create URL");let c=typeof i=="string"?i:Ol(i);return c=c.replace(/ $/,"%20"),!r&&c.startsWith("//")&&(c=u+c),new URL(c,u)}var js,HE=class{constructor(i){if(uC(this,js,new Map),i)for(let[r,u]of i)this.set(r,u)}get(i){if(fg(this,js).has(i))return fg(this,js).get(i);if(i.defaultValue!==void 0)return i.defaultValue;throw new Error("No value found for context")}set(i,r){fg(this,js).set(i,r)}};js=new WeakMap;var dC=new Set(["lazy","caseSensitive","path","id","index","children"]);function hC(i){return dC.has(i)}var pC=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function mC(i){return pC.has(i)}function gC(i){return i.index===!0}function qs(i,r,u=[],c={},f=!1){return i.map((h,p)=>{let m=[...u,String(p)],v=typeof h.id=="string"?h.id:m.join("-");if(Pe(h.index!==!0||!h.children,"Cannot specify children on an index route"),Pe(f||!c[v],`Found a route id collision on id "${v}". Route id's must be globally unique within Data Router usages`),gC(h)){let E={...h,id:v};return c[v]=kE(E,r(E)),E}else{let E={...h,id:v,children:void 0};return c[v]=kE(E,r(E)),h.children&&(E.children=qs(h.children,r,m,c,f)),E}})}function kE(i,r){return Object.assign(i,{...r,...typeof r.lazy=="object"&&r.lazy!=null?{lazy:{...i.lazy,...r.lazy}}:{}})}function lr(i,r,u="/"){return Hs(i,r,u,!1)}function Hs(i,r,u,c){let f=typeof r=="string"?so(r):r,h=Ca(f.pathname||"/",u);if(h==null)return null;let p=Cx(i);vC(p);let m=null;for(let v=0;m==null&&v<p.length;++v){let E=AC(h);m=OC(p[v],E,c)}return m}function yC(i,r){let{route:u,pathname:c,params:f}=i;return{id:u.id,pathname:c,params:f,data:r[u.id],loaderData:r[u.id],handle:u.handle}}function Cx(i,r=[],u=[],c="",f=!1){let h=(p,m,v=f,E)=>{let R={relativePath:E===void 0?p.path||"":E,caseSensitive:p.caseSensitive===!0,childrenIndex:m,route:p};if(R.relativePath.startsWith("/")){if(!R.relativePath.startsWith(c)&&v)return;Pe(R.relativePath.startsWith(c),`Absolute route path "${R.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),R.relativePath=R.relativePath.slice(c.length)}let S=Za([c,R.relativePath]),x=u.concat(R);p.children&&p.children.length>0&&(Pe(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${S}".`),Cx(p.children,r,x,S,v)),!(p.path==null&&!p.index)&&r.push({path:S,score:TC(S,p.index),routesMeta:x})};return i.forEach((p,m)=>{if(p.path===""||!p.path?.includes("?"))h(p,m);else for(let v of Ax(p.path))h(p,m,!0,v)}),r}function Ax(i){let r=i.split("/");if(r.length===0)return[];let[u,...c]=r,f=u.endsWith("?"),h=u.replace(/\?$/,"");if(c.length===0)return f?[h,""]:[h];let p=Ax(c.join("/")),m=[];return m.push(...p.map(v=>v===""?h:[h,v].join("/"))),f&&m.push(...p),m.map(v=>i.startsWith("/")&&v===""?"/":v)}function vC(i){i.sort((r,u)=>r.score!==u.score?u.score-r.score:DC(r.routesMeta.map(c=>c.childrenIndex),u.routesMeta.map(c=>c.childrenIndex)))}var bC=/^:[\w-]+$/,SC=3,EC=2,xC=1,RC=10,wC=-2,VE=i=>i==="*";function TC(i,r){let u=i.split("/"),c=u.length;return u.some(VE)&&(c+=wC),r&&(c+=EC),u.filter(f=>!VE(f)).reduce((f,h)=>f+(bC.test(h)?SC:h===""?xC:RC),c)}function DC(i,r){return i.length===r.length&&i.slice(0,-1).every((c,f)=>c===r[f])?i[i.length-1]-r[r.length-1]:0}function OC(i,r,u=!1){let{routesMeta:c}=i,f={},h="/",p=[];for(let m=0;m<c.length;++m){let v=c[m],E=m===c.length-1,R=h==="/"?r:r.slice(h.length)||"/",S=Sd({path:v.relativePath,caseSensitive:v.caseSensitive,end:E},R),x=v.route;if(!S&&E&&u&&!c[c.length-1].route.index&&(S=Sd({path:v.relativePath,caseSensitive:v.caseSensitive,end:!1},R)),!S)return null;Object.assign(f,S.params),p.push({params:f,pathname:Za([h,S.pathname]),pathnameBase:MC(Za([h,S.pathnameBase])),route:x}),S.pathnameBase!=="/"&&(h=Za([h,S.pathnameBase]))}return p}function Sd(i,r){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[u,c]=CC(i.path,i.caseSensitive,i.end),f=r.match(u);if(!f)return null;let h=f[0],p=h.replace(/(.)\/+$/,"$1"),m=f.slice(1);return{params:c.reduce((E,{paramName:R,isOptional:S},x)=>{if(R==="*"){let L=m[x]||"";p=h.slice(0,h.length-L.length).replace(/(.)\/+$/,"$1")}const T=m[x];return S&&!T?E[R]=void 0:E[R]=(T||"").replace(/%2F/g,"/"),E},{}),pathname:h,pathnameBase:p,pattern:i}}function CC(i,r=!1,u=!0){Bt(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let c=[],f="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,m,v,E,R)=>{if(c.push({paramName:m,isOptional:v!=null}),v){let S=R.charAt(E+p.length);return S&&S!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(c.push({paramName:"*"}),f+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):u?f+="\\/*$":i!==""&&i!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,r?void 0:"i"),c]}function AC(i){try{return i.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Bt(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),i}}function Ca(i,r){if(r==="/")return i;if(!i.toLowerCase().startsWith(r.toLowerCase()))return null;let u=r.endsWith("/")?r.length-1:r.length,c=i.charAt(u);return c&&c!=="/"?null:i.slice(u)||"/"}function NC({basename:i,pathname:r}){return r==="/"?i:Za([i,r])}var Nx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tg=i=>Nx.test(i);function _C(i,r="/"){let{pathname:u,search:c="",hash:f=""}=typeof i=="string"?so(i):i,h;return u?(u=u.replace(/\/\/+/g,"/"),u.startsWith("/")?h=BE(u.substring(1),"/"):h=BE(u,r)):h=r,{pathname:h,search:UC(c),hash:zC(f)}}function BE(i,r){let u=r.replace(/\/+$/,"").split("/");return i.split("/").forEach(f=>{f===".."?u.length>1&&u.pop():f!=="."&&u.push(f)}),u.length>1?u.join("/"):"/"}function dg(i,r,u,c){return`Cannot include a '${i}' character in a manually specified \`to.${r}\` field [${JSON.stringify(c)}]. Please separate it out to the \`to.${u}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function _x(i){return i.filter((r,u)=>u===0||r.route.path&&r.route.path.length>0)}function Rd(i){let r=_x(i);return r.map((u,c)=>c===r.length-1?u.pathname:u.pathnameBase)}function Qs(i,r,u,c=!1){let f;typeof i=="string"?f=so(i):(f={...i},Pe(!f.pathname||!f.pathname.includes("?"),dg("?","pathname","search",f)),Pe(!f.pathname||!f.pathname.includes("#"),dg("#","pathname","hash",f)),Pe(!f.search||!f.search.includes("#"),dg("#","search","hash",f)));let h=i===""||f.pathname==="",p=h?"/":f.pathname,m;if(p==null)m=u;else{let S=r.length-1;if(!c&&p.startsWith("..")){let x=p.split("/");for(;x[0]==="..";)x.shift(),S-=1;f.pathname=x.join("/")}m=S>=0?r[S]:"/"}let v=_C(f,m),E=p&&p!=="/"&&p.endsWith("/"),R=(h||p===".")&&u.endsWith("/");return!v.pathname.endsWith("/")&&(E||R)&&(v.pathname+="/"),v}var Za=i=>i.join("/").replace(/\/\/+/g,"/"),MC=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),UC=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,zC=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i,Zs=class{constructor(i,r,u,c=!1){this.status=i,this.statusText=r||"",this.internal=c,u instanceof Error?(this.data=u.toString(),this.error=u):this.data=u}};function Gs(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}function Js(i){return i.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Mx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Ux(i,r){let u=i;if(typeof u!="string"||!Nx.test(u))return{absoluteURL:void 0,isExternal:!1,to:u};let c=u,f=!1;if(Mx)try{let h=new URL(window.location.href),p=u.startsWith("//")?new URL(h.protocol+u):new URL(u),m=Ca(p.pathname,r);p.origin===h.origin&&m!=null?u=m+p.search+p.hash:f=!0}catch{Bt(!1,`<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:c,isExternal:f,to:u}}var rr=Symbol("Uninstrumented");function LC(i,r){let u={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};i.forEach(f=>f({id:r.id,index:r.index,path:r.path,instrument(h){let p=Object.keys(u);for(let m of p)h[m]&&u[m].push(h[m])}}));let c={};if(typeof r.lazy=="function"&&u.lazy.length>0){let f=Pi(u.lazy,r.lazy,()=>{});f&&(c.lazy=f)}if(typeof r.lazy=="object"){let f=r.lazy;["middleware","loader","action"].forEach(h=>{let p=f[h],m=u[`lazy.${h}`];if(typeof p=="function"&&m.length>0){let v=Pi(m,p,()=>{});v&&(c.lazy=Object.assign(c.lazy||{},{[h]:v}))}})}return["loader","action"].forEach(f=>{let h=r[f];if(typeof h=="function"&&u[f].length>0){let p=h[rr]??h,m=Pi(u[f],p,(...v)=>YE(v[0]));m&&(f==="loader"&&p.hydrate===!0&&(m.hydrate=!0),m[rr]=p,c[f]=m)}}),r.middleware&&r.middleware.length>0&&u.middleware.length>0&&(c.middleware=r.middleware.map(f=>{let h=f[rr]??f,p=Pi(u.middleware,h,(...m)=>YE(m[0]));return p?(p[rr]=h,p):f})),c}function jC(i,r){let u={navigate:[],fetch:[]};if(r.forEach(c=>c({instrument(f){let h=Object.keys(f);for(let p of h)f[p]&&u[p].push(f[p])}})),u.navigate.length>0){let c=i.navigate[rr]??i.navigate,f=Pi(u.navigate,c,(...h)=>{let[p,m]=h;return{to:typeof p=="number"||typeof p=="string"?p:p?Ol(p):".",...$E(i,m??{})}});f&&(f[rr]=c,i.navigate=f)}if(u.fetch.length>0){let c=i.fetch[rr]??i.fetch,f=Pi(u.fetch,c,(...h)=>{let[p,,m,v]=h;return{href:m??".",fetcherKey:p,...$E(i,v??{})}});f&&(f[rr]=c,i.fetch=f)}return i}function Pi(i,r,u){return i.length===0?null:async(...c)=>{let f=await zx(i,u(...c),()=>r(...c),i.length-1);if(f.type==="error")throw f.value;return f.value}}async function zx(i,r,u,c){let f=i[c],h;if(f){let p,m=async()=>(p?console.error("You cannot call instrumented handlers more than once"):p=zx(i,r,u,c-1),h=await p,Pe(h,"Expected a result"),h.type==="error"&&h.value instanceof Error?{status:"error",error:h.value}:{status:"success",error:void 0});try{await f(m,r)}catch(v){console.error("An instrumentation function threw an error:",v)}p||await m(),await p}else try{h={type:"success",value:await u()}}catch(p){h={type:"error",value:p}}return h||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function YE(i){let{request:r,context:u,params:c,unstable_pattern:f}=i;return{request:HC(r),params:{...c},unstable_pattern:f,context:kC(u)}}function $E(i,r){return{currentUrl:Ol(i.state.location),..."formMethod"in r?{formMethod:r.formMethod}:{},..."formEncType"in r?{formEncType:r.formEncType}:{},..."formData"in r?{formData:r.formData}:{},..."body"in r?{body:r.body}:{}}}function HC(i){return{method:i.method,url:i.url,headers:{get:(...r)=>i.headers.get(...r)}}}function kC(i){if(BC(i)){let r={...i};return Object.freeze(r),r}else return{get:r=>i.get(r)}}var VC=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function BC(i){if(i===null||typeof i!="object")return!1;const r=Object.getPrototypeOf(i);return r===Object.prototype||r===null||Object.getOwnPropertyNames(r).sort().join("\0")===VC}var Lx=["POST","PUT","PATCH","DELETE"],YC=new Set(Lx),$C=["GET",...Lx],qC=new Set($C),jx=new Set([301,302,303,307,308]),GC=new Set([307,308]),hg={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},XC={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},_s={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},QC=i=>({hasErrorBoundary:!!i.hasErrorBoundary}),Hx="remix-router-transitions",kx=Symbol("ResetLoaderData");function ZC(i){const r=i.window?i.window:typeof window<"u"?window:void 0,u=typeof r<"u"&&typeof r.document<"u"&&typeof r.document.createElement<"u";Pe(i.routes.length>0,"You must provide a non-empty routes array to createRouter");let c=i.hydrationRouteProperties||[],f=i.mapRouteProperties||QC,h=f;if(i.unstable_instrumentations){let D=i.unstable_instrumentations;h=z=>({...f(z),...LC(D.map(V=>V.route).filter(Boolean),z)})}let p={},m=qs(i.routes,h,void 0,p),v,E=i.basename||"/";E.startsWith("/")||(E=`/${E}`);let R=i.dataStrategy||IC,S={...i.future},x=null,T=new Set,L=null,Q=null,Y=null,J=i.hydrationData!=null,W=lr(m,i.history.location,E),ie=!1,Ee=null,ye,Ve;if(W==null&&!i.patchRoutesOnNavigation){let D=Oa(404,{pathname:i.history.location.pathname}),{matches:z,route:V}=fd(m);ye=!0,Ve=!ye,W=z,Ee={[V.id]:D}}else if(W&&!i.hydrationData&&Rn(W,m,i.history.location.pathname).active&&(W=null),W)if(W.some(D=>D.route.lazy))ye=!1,Ve=!ye;else if(!W.some(D=>Dg(D.route)))ye=!0,Ve=!ye;else{let D=i.hydrationData?i.hydrationData.loaderData:null,z=i.hydrationData?i.hydrationData.errors:null,V=W;if(z){let P=W.findIndex(ee=>z[ee.route.id]!==void 0);V=V.slice(0,P+1)}Ve=!1,ye=V.every(P=>{let ee=Vx(P.route,D,z);return Ve=Ve||ee.renderFallback,!ee.shouldLoad})}else{ye=!1,Ve=!ye,W=[];let D=Rn(null,m,i.history.location.pathname);D.active&&D.matches&&(ie=!0,W=D.matches)}let Le,M={historyAction:i.history.action,location:i.history.location,matches:W,initialized:ye,renderFallback:Ve,navigation:hg,restoreScrollPosition:i.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:i.hydrationData&&i.hydrationData.loaderData||{},actionData:i.hydrationData&&i.hydrationData.actionData||null,errors:i.hydrationData&&i.hydrationData.errors||Ee,fetchers:new Map,blockers:new Map},ae="POP",X=null,Te=!1,I,ce=!1,xe=new Map,Ae=null,Z=!1,oe=!1,fe=new Set,de=new Map,$e=0,$=-1,he=new Map,Me=new Set,Re=new Map,pt=new Map,Ft=new Set,rt=new Map,pn,Wt=null;function Aa(){if(x=i.history.listen(({action:D,location:z,delta:V})=>{if(pn){pn(),pn=void 0;return}Bt(rt.size===0||V!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let P=me({currentLocation:M.location,nextLocation:z,historyAction:D});if(P&&V!=null){let ee=new Promise(Se=>{pn=Se});i.history.go(V*-1),te(P,{state:"blocked",location:z,proceed(){te(P,{state:"proceeding",proceed:void 0,reset:void 0,location:z}),ee.then(()=>i.history.go(V))},reset(){let Se=new Map(M.blockers);Se.set(P,_s),Ot({blockers:Se})}}),X?.resolve(),X=null;return}return Ct(D,z)}),u){gA(r,xe);let D=()=>yA(r,xe);r.addEventListener("pagehide",D),Ae=()=>r.removeEventListener("pagehide",D)}return M.initialized||Ct("POP",M.location,{initialHydration:!0}),Le}function se(){x&&x(),Ae&&Ae(),T.clear(),I&&I.abort(),M.fetchers.forEach((D,z)=>fa(z)),M.blockers.forEach((D,z)=>F(z))}function fo(D){return T.add(D),()=>T.delete(D)}function Ot(D,z={}){D.matches&&(D.matches=D.matches.map(ee=>{let Se=p[ee.route.id],re=ee.route;return re.element!==Se.element||re.errorElement!==Se.errorElement||re.hydrateFallbackElement!==Se.hydrateFallbackElement?{...ee,route:Se}:ee})),M={...M,...D};let V=[],P=[];M.fetchers.forEach((ee,Se)=>{ee.state==="idle"&&(Ft.has(Se)?V.push(Se):P.push(Se))}),Ft.forEach(ee=>{!M.fetchers.has(ee)&&!de.has(ee)&&V.push(ee)}),[...T].forEach(ee=>ee(M,{deletedFetchers:V,newErrors:D.errors??null,viewTransitionOpts:z.viewTransitionOpts,flushSync:z.flushSync===!0})),V.forEach(ee=>fa(ee)),P.forEach(ee=>M.fetchers.delete(ee))}function Ln(D,z,{flushSync:V}={}){let P=M.actionData!=null&&M.navigation.formMethod!=null&&En(M.navigation.formMethod)&&M.navigation.state==="loading"&&D.state?._isRedirect!==!0,ee;z.actionData?Object.keys(z.actionData).length>0?ee=z.actionData:ee=null:P?ee=M.actionData:ee=null;let Se=z.loaderData?IE(M.loaderData,z.loaderData,z.matches||[],z.errors):M.loaderData,re=M.blockers;re.size>0&&(re=new Map(re),re.forEach((Ne,we)=>re.set(we,_s)));let De=Z?!1:en(D,z.matches||M.matches),ge=Te===!0||M.navigation.formMethod!=null&&En(M.navigation.formMethod)&&D.state?._isRedirect!==!0;v&&(m=v,v=void 0),Z||ae==="POP"||(ae==="PUSH"?i.history.push(D,D.state):ae==="REPLACE"&&i.history.replace(D,D.state));let _e;if(ae==="POP"){let Ne=xe.get(M.location.pathname);Ne&&Ne.has(D.pathname)?_e={currentLocation:M.location,nextLocation:D}:xe.has(D.pathname)&&(_e={currentLocation:D,nextLocation:M.location})}else if(ce){let Ne=xe.get(M.location.pathname);Ne?Ne.add(D.pathname):(Ne=new Set([D.pathname]),xe.set(M.location.pathname,Ne)),_e={currentLocation:M.location,nextLocation:D}}Ot({...z,actionData:ee,loaderData:Se,historyAction:ae,location:D,initialized:!0,renderFallback:!1,navigation:hg,revalidation:"idle",restoreScrollPosition:De,preventScrollReset:ge,blockers:re},{viewTransitionOpts:_e,flushSync:V===!0}),ae="POP",Te=!1,ce=!1,Z=!1,oe=!1,X?.resolve(),X=null,Wt?.resolve(),Wt=null}async function Na(D,z){if(X?.resolve(),X=null,typeof D=="number"){X||(X=nx());let St=X.promise;return i.history.go(D),St}let V=Eg(M.location,M.matches,E,D,z?.fromRouteId,z?.relative),{path:P,submission:ee,error:Se}=qE(!1,V,z),re;z?.unstable_mask&&(re={pathname:"",search:"",hash:"",...typeof z.unstable_mask=="string"?so(z.unstable_mask):{...M.location.unstable_mask,...z.unstable_mask}});let De=M.location,ge=$s(De,P,z&&z.state,void 0,re);ge={...ge,...i.history.encodeLocation(ge)};let _e=z&&z.replace!=null?z.replace:void 0,Ne="PUSH";_e===!0?Ne="REPLACE":_e===!1||ee!=null&&En(ee.formMethod)&&ee.formAction===M.location.pathname+M.location.search&&(Ne="REPLACE");let we=z&&"preventScrollReset"in z?z.preventScrollReset===!0:void 0,ut=(z&&z.flushSync)===!0,Ke=me({currentLocation:De,nextLocation:ge,historyAction:Ne});if(Ke){te(Ke,{state:"blocked",location:ge,proceed(){te(Ke,{state:"proceeding",proceed:void 0,reset:void 0,location:ge}),Na(D,z)},reset(){let St=new Map(M.blockers);St.set(Ke,_s),Ot({blockers:St})}});return}await Ct(Ne,ge,{submission:ee,pendingError:Se,preventScrollReset:we,replace:z&&z.replace,enableViewTransition:z&&z.viewTransition,flushSync:ut,callSiteDefaultShouldRevalidate:z&&z.unstable_defaultShouldRevalidate})}function it(){Wt||(Wt=nx()),ca(),Ot({revalidation:"loading"});let D=Wt.promise;return M.navigation.state==="submitting"?D:M.navigation.state==="idle"?(Ct(M.historyAction,M.location,{startUninterruptedRevalidation:!0}),D):(Ct(ae||M.historyAction,M.navigation.location,{overrideNavigation:M.navigation,enableViewTransition:ce===!0}),D)}async function Ct(D,z,V){I&&I.abort(),I=null,ae=D,Z=(V&&V.startUninterruptedRevalidation)===!0,Be(M.location,M.matches),Te=(V&&V.preventScrollReset)===!0,ce=(V&&V.enableViewTransition)===!0;let P=v||m,ee=V&&V.overrideNavigation,Se=V?.initialHydration&&M.matches&&M.matches.length>0&&!ie?M.matches:lr(P,z,E),re=(V&&V.flushSync)===!0;if(Se&&M.initialized&&!oe&&rA(M.location,z)&&!(V&&V.submission&&En(V.submission.formMethod))){Ln(z,{matches:Se},{flushSync:re});return}let De=Rn(Se,P,z.pathname);if(De.active&&De.matches&&(Se=De.matches),!Se){let{error:jt,notFoundMatches:tn,route:st}=je(z.pathname);Ln(z,{matches:tn,loaderData:{},errors:{[st.id]:jt}},{flushSync:re});return}I=new AbortController;let ge=Ki(i.history,z,I.signal,V&&V.submission),_e=i.getContext?await i.getContext():new HE,Ne;if(V&&V.pendingError)Ne=[or(Se).route.id,{type:"error",error:V.pendingError}];else if(V&&V.submission&&En(V.submission.formMethod)){let jt=await ho(ge,z,V.submission,Se,_e,De.active,V&&V.initialHydration===!0,{replace:V.replace,flushSync:re});if(jt.shortCircuited)return;if(jt.pendingActionResult){let[tn,st]=jt.pendingActionResult;if(oa(st)&&Gs(st.error)&&st.error.status===404){I=null,Ln(z,{matches:jt.matches,loaderData:{},errors:{[tn]:st.error}});return}}Se=jt.matches||Se,Ne=jt.pendingActionResult,ee=pg(z,V.submission),re=!1,De.active=!1,ge=Ki(i.history,ge.url,ge.signal)}let{shortCircuited:we,matches:ut,loaderData:Ke,errors:St}=await eu(ge,z,Se,_e,De.active,ee,V&&V.submission,V&&V.fetcherSubmission,V&&V.replace,V&&V.initialHydration===!0,re,Ne,V&&V.callSiteDefaultShouldRevalidate);we||(I=null,Ln(z,{matches:ut||Se,...WE(Ne),loaderData:Ke,errors:St}))}async function ho(D,z,V,P,ee,Se,re,De={}){ca();let ge=pA(z,V);if(Ot({navigation:ge},{flushSync:De.flushSync===!0}),Se){let we=await Ml(P,z.pathname,D.signal);if(we.type==="aborted")return{shortCircuited:!0};if(we.type==="error"){if(we.partialMatches.length===0){let{matches:Ke,route:St}=fd(m);return{matches:Ke,pendingActionResult:[St.id,{type:"error",error:we.error}]}}let ut=or(we.partialMatches).route.id;return{matches:we.partialMatches,pendingActionResult:[ut,{type:"error",error:we.error}]}}else if(we.matches)P=we.matches;else{let{notFoundMatches:ut,error:Ke,route:St}=je(z.pathname);return{matches:ut,pendingActionResult:[St.id,{type:"error",error:Ke}]}}}let _e,Ne=pd(P,z);if(!Ne.route.action&&!Ne.route.lazy)_e={type:"error",error:Oa(405,{method:D.method,pathname:z.pathname,routeId:Ne.route.id})};else{let we=Ii(h,p,D,P,Ne,re?[]:c,ee),ut=await _a(D,we,ee,null);if(_e=ut[Ne.route.id],!_e){for(let Ke of P)if(ut[Ke.route.id]){_e=ut[Ke.route.id];break}}if(D.signal.aborted)return{shortCircuited:!0}}if(Qr(_e)){let we;return De&&De.replace!=null?we=De.replace:we=FE(_e.response.headers.get("Location"),new URL(D.url),E,i.history)===M.location.pathname+M.location.search,await sa(D,_e,!0,{submission:V,replace:we}),{shortCircuited:!0}}if(oa(_e)){let we=or(P,Ne.route.id);return(De&&De.replace)!==!0&&(ae="PUSH"),{matches:P,pendingActionResult:[we.route.id,_e,Ne.route.id]}}return{matches:P,pendingActionResult:[Ne.route.id,_e]}}async function eu(D,z,V,P,ee,Se,re,De,ge,_e,Ne,we,ut){let Ke=Se||pg(z,re),St=re||De||tx(Ke),jt=!Z&&!_e;if(ee){if(jt){let nn=pe(we);Ot({navigation:Ke,...nn!==void 0?{actionData:nn}:{}},{flushSync:Ne})}let et=await Ml(V,z.pathname,D.signal);if(et.type==="aborted")return{shortCircuited:!0};if(et.type==="error"){if(et.partialMatches.length===0){let{matches:yo,route:Ia}=fd(m);return{matches:yo,loaderData:{},errors:{[Ia.id]:et.error}}}let nn=or(et.partialMatches).route.id;return{matches:et.partialMatches,loaderData:{},errors:{[nn]:et.error}}}else if(et.matches)V=et.matches;else{let{error:nn,notFoundMatches:yo,route:Ia}=je(z.pathname);return{matches:yo,loaderData:{},errors:{[Ia.id]:nn}}}}let tn=v||m,{dsMatches:st,revalidatingFetchers:wn}=GE(D,P,h,p,i.history,M,V,St,z,_e?[]:c,_e===!0,oe,fe,Ft,Re,Me,tn,E,i.patchRoutesOnNavigation!=null,we,ut);if($=++$e,!i.dataStrategy&&!st.some(et=>et.shouldLoad)&&!st.some(et=>et.route.middleware&&et.route.middleware.length>0)&&wn.length===0){let et=Ma();return Ln(z,{matches:V,loaderData:{},errors:we&&oa(we[1])?{[we[0]]:we[1].error}:null,...WE(we),...et?{fetchers:new Map(M.fetchers)}:{}},{flushSync:Ne}),{shortCircuited:!0}}if(jt){let et={};if(!ee){et.navigation=Ke;let nn=pe(we);nn!==void 0&&(et.actionData=nn)}wn.length>0&&(et.fetchers=po(wn)),Ot(et,{flushSync:Ne})}wn.forEach(et=>{mn(et.key),et.controller&&de.set(et.key,et.controller)});let Ht=()=>wn.forEach(et=>mn(et.key));I&&I.signal.addEventListener("abort",Ht);let{loaderResults:da,fetcherResults:gn}=await mo(st,wn,D,P);if(D.signal.aborted)return{shortCircuited:!0};I&&I.signal.removeEventListener("abort",Ht),wn.forEach(et=>de.delete(et.key));let Xn=dd(da);if(Xn)return await sa(D,Xn.result,!0,{replace:ge}),{shortCircuited:!0};if(Xn=dd(gn),Xn)return Me.add(Xn.key),await sa(D,Xn.result,!0,{replace:ge}),{shortCircuited:!0};let{loaderData:zl,errors:Ka}=PE(M,V,da,we,wn,gn);_e&&M.errors&&(Ka={...M.errors,...Ka});let za=Ma(),Pa=b($),La=za||Pa||wn.length>0;return{matches:V,loaderData:zl,errors:Ka,...La?{fetchers:new Map(M.fetchers)}:{}}}function pe(D){if(D&&!oa(D[1]))return{[D[0]]:D[1].data};if(M.actionData)return Object.keys(M.actionData).length===0?null:M.actionData}function po(D){return D.forEach(z=>{let V=M.fetchers.get(z.key),P=Ms(void 0,V?V.data:void 0);M.fetchers.set(z.key,P)}),new Map(M.fetchers)}async function ua(D,z,V,P){mn(D);let ee=(P&&P.flushSync)===!0,Se=v||m,re=Eg(M.location,M.matches,E,V,z,P?.relative),De=lr(Se,re,E),ge=Rn(De,Se,re);if(ge.active&&ge.matches&&(De=ge.matches),!De){xn(D,z,Oa(404,{pathname:re}),{flushSync:ee});return}let{path:_e,submission:Ne,error:we}=qE(!0,re,P);if(we){xn(D,z,we,{flushSync:ee});return}let ut=i.getContext?await i.getContext():new HE,Ke=(P&&P.preventScrollReset)===!0;if(Ne&&En(Ne.formMethod)){await Cl(D,z,_e,De,ut,ge.active,ee,Ke,Ne,P&&P.unstable_defaultShouldRevalidate);return}Re.set(D,{routeId:z,path:_e}),await Fa(D,z,_e,De,ut,ge.active,ee,Ke,Ne)}async function Cl(D,z,V,P,ee,Se,re,De,ge,_e){ca(),Re.delete(D);let Ne=M.fetchers.get(D);jn(D,mA(ge,Ne),{flushSync:re});let we=new AbortController,ut=Ki(i.history,V,we.signal,ge);if(Se){let Et=await Ml(P,new URL(ut.url).pathname,ut.signal,D);if(Et.type==="aborted")return;if(Et.type==="error"){xn(D,z,Et.error,{flushSync:re});return}else if(Et.matches)P=Et.matches;else{xn(D,z,Oa(404,{pathname:V}),{flushSync:re});return}}let Ke=pd(P,V);if(!Ke.route.action&&!Ke.route.lazy){let Et=Oa(405,{method:ge.formMethod,pathname:V,routeId:z});xn(D,z,Et,{flushSync:re});return}de.set(D,we);let St=$e,jt=Ii(h,p,ut,P,Ke,c,ee),tn=await _a(ut,jt,ee,D),st=tn[Ke.route.id];if(!st){for(let Et of jt)if(tn[Et.route.id]){st=tn[Et.route.id];break}}if(ut.signal.aborted){de.get(D)===we&&de.delete(D);return}if(Ft.has(D)){if(Qr(st)||oa(st)){jn(D,io(void 0));return}}else{if(Qr(st))if(de.delete(D),$>St){jn(D,io(void 0));return}else return Me.add(D),jn(D,Ms(ge)),sa(ut,st,!1,{fetcherSubmission:ge,preventScrollReset:De});if(oa(st)){xn(D,z,st.error);return}}let wn=M.navigation.location||M.location,Ht=Ki(i.history,wn,we.signal),da=v||m,gn=M.navigation.state!=="idle"?lr(da,M.navigation.location,E):M.matches;Pe(gn,"Didn't find any matches after fetcher action");let Xn=++$e;he.set(D,Xn);let zl=Ms(ge,st.data);M.fetchers.set(D,zl);let{dsMatches:Ka,revalidatingFetchers:za}=GE(Ht,ee,h,p,i.history,M,gn,ge,wn,c,!1,oe,fe,Ft,Re,Me,da,E,i.patchRoutesOnNavigation!=null,[Ke.route.id,st],_e);za.filter(Et=>Et.key!==D).forEach(Et=>{let vo=Et.key,tu=M.fetchers.get(vo),Ps=Ms(void 0,tu?tu.data:void 0);M.fetchers.set(vo,Ps),mn(vo),Et.controller&&de.set(vo,Et.controller)}),Ot({fetchers:new Map(M.fetchers)});let Pa=()=>za.forEach(Et=>mn(Et.key));we.signal.addEventListener("abort",Pa);let{loaderResults:La,fetcherResults:et}=await mo(Ka,za,Ht,ee);if(we.signal.aborted)return;if(we.signal.removeEventListener("abort",Pa),he.delete(D),de.delete(D),za.forEach(Et=>de.delete(Et.key)),M.fetchers.has(D)){let Et=io(st.data);M.fetchers.set(D,Et)}let nn=dd(La);if(nn)return sa(Ht,nn.result,!1,{preventScrollReset:De});if(nn=dd(et),nn)return Me.add(nn.key),sa(Ht,nn.result,!1,{preventScrollReset:De});let{loaderData:yo,errors:Ia}=PE(M,gn,La,void 0,za,et);b(Xn),M.navigation.state==="loading"&&Xn>$?(Pe(ae,"Expected pending action"),I&&I.abort(),Ln(M.navigation.location,{matches:gn,loaderData:yo,errors:Ia,fetchers:new Map(M.fetchers)})):(Ot({errors:Ia,loaderData:IE(M.loaderData,yo,gn,Ia),fetchers:new Map(M.fetchers)}),oe=!1)}async function Fa(D,z,V,P,ee,Se,re,De,ge){let _e=M.fetchers.get(D);jn(D,Ms(ge,_e?_e.data:void 0),{flushSync:re});let Ne=new AbortController,we=Ki(i.history,V,Ne.signal);if(Se){let st=await Ml(P,new URL(we.url).pathname,we.signal,D);if(st.type==="aborted")return;if(st.type==="error"){xn(D,z,st.error,{flushSync:re});return}else if(st.matches)P=st.matches;else{xn(D,z,Oa(404,{pathname:V}),{flushSync:re});return}}let ut=pd(P,V);de.set(D,Ne);let Ke=$e,St=Ii(h,p,we,P,ut,c,ee),tn=(await _a(we,St,ee,D))[ut.route.id];if(de.get(D)===Ne&&de.delete(D),!we.signal.aborted){if(Ft.has(D)){jn(D,io(void 0));return}if(Qr(tn))if($>Ke){jn(D,io(void 0));return}else{Me.add(D),await sa(we,tn,!1,{preventScrollReset:De});return}if(oa(tn)){xn(D,z,tn.error);return}jn(D,io(tn.data))}}async function sa(D,z,V,{submission:P,fetcherSubmission:ee,preventScrollReset:Se,replace:re}={}){V||(X?.resolve(),X=null),z.response.headers.has("X-Remix-Revalidate")&&(oe=!0);let De=z.response.headers.get("Location");Pe(De,"Expected a Location header on the redirect Response"),De=FE(De,new URL(D.url),E,i.history);let ge=$s(M.location,De,{_isRedirect:!0});if(u){let St=!1;if(z.response.headers.has("X-Remix-Reload-Document"))St=!0;else if(Tg(De)){const jt=Ox(De,!0);St=jt.origin!==r.location.origin||Ca(jt.pathname,E)==null}if(St){re?r.location.replace(De):r.location.assign(De);return}}I=null;let _e=re===!0||z.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ne,formAction:we,formEncType:ut}=M.navigation;!P&&!ee&&Ne&&we&&ut&&(P=tx(M.navigation));let Ke=P||ee;if(GC.has(z.response.status)&&Ke&&En(Ke.formMethod))await Ct(_e,ge,{submission:{...Ke,formAction:De},preventScrollReset:Se||Te,enableViewTransition:V?ce:void 0});else{let St=pg(ge,P);await Ct(_e,ge,{overrideNavigation:St,fetcherSubmission:ee,preventScrollReset:Se||Te,enableViewTransition:V?ce:void 0})}}async function _a(D,z,V,P){let ee,Se={};try{ee=await eA(R,D,z,P,V,!1)}catch(re){return z.filter(De=>De.shouldLoad).forEach(De=>{Se[De.route.id]={type:"error",error:re}}),Se}if(D.signal.aborted)return Se;if(!En(D.method))for(let re of z){if(ee[re.route.id]?.type==="error")break;!ee.hasOwnProperty(re.route.id)&&!M.loaderData.hasOwnProperty(re.route.id)&&(!M.errors||!M.errors.hasOwnProperty(re.route.id))&&re.shouldCallHandler()&&(ee[re.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${re.route.id}`)})}for(let[re,De]of Object.entries(ee))if(cA(De)){let ge=De.result;Se[re]={type:"redirect",response:lA(ge,D,re,z,E)}}else Se[re]=await aA(De);return Se}async function mo(D,z,V,P){let ee=_a(V,D,P,null),Se=Promise.all(z.map(async ge=>{if(ge.matches&&ge.match&&ge.request&&ge.controller){let Ne=(await _a(ge.request,ge.matches,P,ge.key))[ge.match.route.id];return{[ge.key]:Ne}}else return Promise.resolve({[ge.key]:{type:"error",error:Oa(404,{pathname:ge.path})}})})),re=await ee,De=(await Se).reduce((ge,_e)=>Object.assign(ge,_e),{});return{loaderResults:re,fetcherResults:De}}function ca(){oe=!0,Re.forEach((D,z)=>{de.has(z)&&fe.add(z),mn(z)})}function jn(D,z,V={}){M.fetchers.set(D,z),Ot({fetchers:new Map(M.fetchers)},{flushSync:(V&&V.flushSync)===!0})}function xn(D,z,V,P={}){let ee=or(M.matches,z);fa(D),Ot({errors:{[ee.route.id]:V},fetchers:new Map(M.fetchers)},{flushSync:(P&&P.flushSync)===!0})}function go(D){return pt.set(D,(pt.get(D)||0)+1),Ft.has(D)&&Ft.delete(D),M.fetchers.get(D)||XC}function Al(D,z){mn(D,z?.reason),jn(D,io(null))}function fa(D){let z=M.fetchers.get(D);de.has(D)&&!(z&&z.state==="loading"&&he.has(D))&&mn(D),Re.delete(D),he.delete(D),Me.delete(D),Ft.delete(D),fe.delete(D),M.fetchers.delete(D)}function Nl(D){let z=(pt.get(D)||0)-1;z<=0?(pt.delete(D),Ft.add(D)):pt.set(D,z),Ot({fetchers:new Map(M.fetchers)})}function mn(D,z){let V=de.get(D);V&&(V.abort(z),de.delete(D))}function _l(D){for(let z of D){let V=go(z),P=io(V.data);M.fetchers.set(z,P)}}function Ma(){let D=[],z=!1;for(let V of Me){let P=M.fetchers.get(V);Pe(P,`Expected fetcher: ${V}`),P.state==="loading"&&(Me.delete(V),D.push(V),z=!0)}return _l(D),z}function b(D){let z=[];for(let[V,P]of he)if(P<D){let ee=M.fetchers.get(V);Pe(ee,`Expected fetcher: ${V}`),ee.state==="loading"&&(mn(V),he.delete(V),z.push(V))}return _l(z),z.length>0}function U(D,z){let V=M.blockers.get(D)||_s;return rt.get(D)!==z&&rt.set(D,z),V}function F(D){M.blockers.delete(D),rt.delete(D)}function te(D,z){let V=M.blockers.get(D)||_s;Pe(V.state==="unblocked"&&z.state==="blocked"||V.state==="blocked"&&z.state==="blocked"||V.state==="blocked"&&z.state==="proceeding"||V.state==="blocked"&&z.state==="unblocked"||V.state==="proceeding"&&z.state==="unblocked",`Invalid blocker state transition: ${V.state} -> ${z.state}`);let P=new Map(M.blockers);P.set(D,z),Ot({blockers:P})}function me({currentLocation:D,nextLocation:z,historyAction:V}){if(rt.size===0)return;rt.size>1&&Bt(!1,"A router only supports one blocker at a time");let P=Array.from(rt.entries()),[ee,Se]=P[P.length-1],re=M.blockers.get(ee);if(!(re&&re.state==="proceeding")&&Se({currentLocation:D,nextLocation:z,historyAction:V}))return ee}function je(D){let z=Oa(404,{pathname:D}),V=v||m,{matches:P,route:ee}=fd(V);return{notFoundMatches:P,route:ee,error:z}}function be(D,z,V){if(L=D,Y=z,Q=V||null,!J&&M.navigation===hg){J=!0;let P=en(M.location,M.matches);P!=null&&Ot({restoreScrollPosition:P})}return()=>{L=null,Y=null,Q=null}}function Ie(D,z){return Q&&Q(D,z.map(P=>yC(P,M.loaderData)))||D.key}function Be(D,z){if(L&&Y){let V=Ie(D,z);L[V]=Y()}}function en(D,z){if(L){let V=Ie(D,z),P=L[V];if(typeof P=="number")return P}return null}function Rn(D,z,V){if(i.patchRoutesOnNavigation)if(D){if(Object.keys(D[0].params).length>0)return{active:!0,matches:Hs(z,V,E,!0)}}else return{active:!0,matches:Hs(z,V,E,!0)||[]};return{active:!1,matches:null}}async function Ml(D,z,V,P){if(!i.patchRoutesOnNavigation)return{type:"success",matches:D};let ee=D;for(;;){let Se=v==null,re=v||m,De=p;try{await i.patchRoutesOnNavigation({signal:V,path:z,matches:ee,fetcherKey:P,patch:(Ne,we)=>{V.aborted||XE(Ne,we,re,De,h,!1)}})}catch(Ne){return{type:"error",error:Ne,partialMatches:ee}}finally{Se&&!V.aborted&&(m=[...m])}if(V.aborted)return{type:"aborted"};let ge=lr(re,z,E),_e=null;if(ge){if(Object.keys(ge[0].params).length===0)return{type:"success",matches:ge};if(_e=Hs(re,z,E,!0),!(_e&&ee.length<_e.length&&Ul(ee,_e.slice(0,ee.length))))return{type:"success",matches:ge}}if(_e||(_e=Hs(re,z,E,!0)),!_e||Ul(ee,_e))return{type:"success",matches:null};ee=_e}}function Ul(D,z){return D.length===z.length&&D.every((V,P)=>V.route.id===z[P].route.id)}function Fr(D){p={},v=qs(D,h,void 0,p)}function Ua(D,z,V=!1){let P=v==null;XE(D,z,v||m,p,h,V),P&&(m=[...m],Ot({}))}return Le={get basename(){return E},get future(){return S},get state(){return M},get routes(){return m},get window(){return r},initialize:Aa,subscribe:fo,enableScrollRestoration:be,navigate:Na,fetch:ua,revalidate:it,createHref:D=>i.history.createHref(D),encodeLocation:D=>i.history.encodeLocation(D),getFetcher:go,resetFetcher:Al,deleteFetcher:Nl,dispose:se,getBlocker:U,deleteBlocker:F,patchRoutes:Ua,_internalFetchControllers:de,_internalSetRoutes:Fr,_internalSetStateDoNotUseOrYouWillBreakYourApp(D){Ot(D)}},i.unstable_instrumentations&&(Le=jC(Le,i.unstable_instrumentations.map(D=>D.router).filter(Boolean))),Le}function JC(i){return i!=null&&("formData"in i&&i.formData!=null||"body"in i&&i.body!==void 0)}function Eg(i,r,u,c,f,h){let p,m;if(f){p=[];for(let E of r)if(p.push(E),E.route.id===f){m=E;break}}else p=r,m=r[r.length-1];let v=Qs(c||".",Rd(p),Ca(i.pathname,u)||i.pathname,h==="path");if(c==null&&(v.search=i.search,v.hash=i.hash),(c==null||c===""||c===".")&&m){let E=Cg(v.search);if(m.route.index&&!E)v.search=v.search?v.search.replace(/^\?/,"?index&"):"?index";else if(!m.route.index&&E){let R=new URLSearchParams(v.search),S=R.getAll("index");R.delete("index"),S.filter(T=>T).forEach(T=>R.append("index",T));let x=R.toString();v.search=x?`?${x}`:""}}return u!=="/"&&(v.pathname=NC({basename:u,pathname:v.pathname})),Ol(v)}function qE(i,r,u){if(!u||!JC(u))return{path:r};if(u.formMethod&&!hA(u.formMethod))return{path:r,error:Oa(405,{method:u.formMethod})};let c=()=>({path:r,error:Oa(400,{type:"invalid-body"})}),h=(u.formMethod||"get").toUpperCase(),p=Xx(r);if(u.body!==void 0){if(u.formEncType==="text/plain"){if(!En(h))return c();let S=typeof u.body=="string"?u.body:u.body instanceof FormData||u.body instanceof URLSearchParams?Array.from(u.body.entries()).reduce((x,[T,L])=>`${x}${T}=${L}
236
+ `,""):String(u.body);return{path:r,submission:{formMethod:h,formAction:p,formEncType:u.formEncType,formData:void 0,json:void 0,text:S}}}else if(u.formEncType==="application/json"){if(!En(h))return c();try{let S=typeof u.body=="string"?JSON.parse(u.body):u.body;return{path:r,submission:{formMethod:h,formAction:p,formEncType:u.formEncType,formData:void 0,json:S,text:void 0}}}catch{return c()}}}Pe(typeof FormData=="function","FormData is not available in this environment");let m,v;if(u.formData)m=Rg(u.formData),v=u.formData;else if(u.body instanceof FormData)m=Rg(u.body),v=u.body;else if(u.body instanceof URLSearchParams)m=u.body,v=KE(m);else if(u.body==null)m=new URLSearchParams,v=new FormData;else try{m=new URLSearchParams(u.body),v=KE(m)}catch{return c()}let E={formMethod:h,formAction:p,formEncType:u&&u.formEncType||"application/x-www-form-urlencoded",formData:v,json:void 0,text:void 0};if(En(E.formMethod))return{path:r,submission:E};let R=so(r);return i&&R.search&&Cg(R.search)&&m.append("index",""),R.search=`?${m}`,{path:Ol(R),submission:E}}function GE(i,r,u,c,f,h,p,m,v,E,R,S,x,T,L,Q,Y,J,W,ie,Ee){let ye=ie?oa(ie[1])?ie[1].error:ie[1].data:void 0,Ve=f.createURL(h.location),Le=f.createURL(v),M;if(R&&h.errors){let Ae=Object.keys(h.errors)[0];M=p.findIndex(Z=>Z.route.id===Ae)}else if(ie&&oa(ie[1])){let Ae=ie[0];M=p.findIndex(Z=>Z.route.id===Ae)-1}let ae=ie?ie[1].statusCode:void 0,X=ae&&ae>=400,Te={currentUrl:Ve,currentParams:h.matches[0]?.params||{},nextUrl:Le,nextParams:p[0].params,...m,actionResult:ye,actionStatus:ae},I=Js(p),ce=p.map((Ae,Z)=>{let{route:oe}=Ae,fe=null;if(M!=null&&Z>M)fe=!1;else if(oe.lazy)fe=!0;else if(!Dg(oe))fe=!1;else if(R){let{shouldLoad:he}=Vx(oe,h.loaderData,h.errors);fe=he}else FC(h.loaderData,h.matches[Z],Ae)&&(fe=!0);if(fe!==null)return xg(u,c,i,I,Ae,E,r,fe);let de=!1;typeof Ee=="boolean"?de=Ee:X?de=!1:(S||Ve.pathname+Ve.search===Le.pathname+Le.search||Ve.search!==Le.search||KC(h.matches[Z],Ae))&&(de=!0);let $e={...Te,defaultShouldRevalidate:de},$=Bs(Ae,$e);return xg(u,c,i,I,Ae,E,r,$,$e,Ee)}),xe=[];return L.forEach((Ae,Z)=>{if(R||!p.some(Re=>Re.route.id===Ae.routeId)||T.has(Z))return;let oe=h.fetchers.get(Z),fe=oe&&oe.state!=="idle"&&oe.data===void 0,de=lr(Y,Ae.path,J);if(!de){if(W&&fe)return;xe.push({key:Z,routeId:Ae.routeId,path:Ae.path,matches:null,match:null,request:null,controller:null});return}if(Q.has(Z))return;let $e=pd(de,Ae.path),$=new AbortController,he=Ki(f,Ae.path,$.signal),Me=null;if(x.has(Z))x.delete(Z),Me=Ii(u,c,he,de,$e,E,r);else if(fe)S&&(Me=Ii(u,c,he,de,$e,E,r));else{let Re;typeof Ee=="boolean"?Re=Ee:X?Re=!1:Re=S;let pt={...Te,defaultShouldRevalidate:Re};Bs($e,pt)&&(Me=Ii(u,c,he,de,$e,E,r,pt))}Me&&xe.push({key:Z,routeId:Ae.routeId,path:Ae.path,matches:Me,match:$e,request:he,controller:$})}),{dsMatches:ce,revalidatingFetchers:xe}}function Dg(i){return i.loader!=null||i.middleware!=null&&i.middleware.length>0}function Vx(i,r,u){if(i.lazy)return{shouldLoad:!0,renderFallback:!0};if(!Dg(i))return{shouldLoad:!1,renderFallback:!1};let c=r!=null&&i.id in r,f=u!=null&&u[i.id]!==void 0;if(!c&&f)return{shouldLoad:!1,renderFallback:!1};if(typeof i.loader=="function"&&i.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!c};let h=!c&&!f;return{shouldLoad:h,renderFallback:h}}function FC(i,r,u){let c=!r||u.route.id!==r.route.id,f=!i.hasOwnProperty(u.route.id);return c||f}function KC(i,r){let u=i.route.path;return i.pathname!==r.pathname||u!=null&&u.endsWith("*")&&i.params["*"]!==r.params["*"]}function Bs(i,r){if(i.route.shouldRevalidate){let u=i.route.shouldRevalidate(r);if(typeof u=="boolean")return u}return r.defaultShouldRevalidate}function XE(i,r,u,c,f,h){let p;if(i){let E=c[i];Pe(E,`No route found to patch children into: routeId = ${i}`),E.children||(E.children=[]),p=E.children}else p=u;let m=[],v=[];if(r.forEach(E=>{let R=p.find(S=>Bx(E,S));R?v.push({existingRoute:R,newRoute:E}):m.push(E)}),m.length>0){let E=qs(m,f,[i||"_","patch",String(p?.length||"0")],c);p.push(...E)}if(h&&v.length>0)for(let E=0;E<v.length;E++){let{existingRoute:R,newRoute:S}=v[E],x=R,[T]=qs([S],f,[],{},!0);Object.assign(x,{element:T.element?T.element:x.element,errorElement:T.errorElement?T.errorElement:x.errorElement,hydrateFallbackElement:T.hydrateFallbackElement?T.hydrateFallbackElement:x.hydrateFallbackElement})}}function Bx(i,r){return"id"in i&&"id"in r&&i.id===r.id?!0:i.index===r.index&&i.path===r.path&&i.caseSensitive===r.caseSensitive?(!i.children||i.children.length===0)&&(!r.children||r.children.length===0)?!0:i.children?.every((u,c)=>r.children?.some(f=>Bx(u,f)))??!1:!1}var QE=new WeakMap,Yx=({key:i,route:r,manifest:u,mapRouteProperties:c})=>{let f=u[r.id];if(Pe(f,"No route found in manifest"),!f.lazy||typeof f.lazy!="object")return;let h=f.lazy[i];if(!h)return;let p=QE.get(f);p||(p={},QE.set(f,p));let m=p[i];if(m)return m;let v=(async()=>{let E=hC(i),S=f[i]!==void 0&&i!=="hasErrorBoundary";if(E)Bt(!E,"Route property "+i+" is not a supported lazy route property. This property will be ignored."),p[i]=Promise.resolve();else if(S)Bt(!1,`Route "${f.id}" has a static property "${i}" defined. The lazy property will be ignored.`);else{let x=await h();x!=null&&(Object.assign(f,{[i]:x}),Object.assign(f,c(f)))}typeof f.lazy=="object"&&(f.lazy[i]=void 0,Object.values(f.lazy).every(x=>x===void 0)&&(f.lazy=void 0))})();return p[i]=v,v},ZE=new WeakMap;function PC(i,r,u,c,f){let h=u[i.id];if(Pe(h,"No route found in manifest"),!i.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof i.lazy=="function"){let R=ZE.get(h);if(R)return{lazyRoutePromise:R,lazyHandlerPromise:R};let S=(async()=>{Pe(typeof i.lazy=="function","No lazy route function found");let x=await i.lazy(),T={};for(let L in x){let Q=x[L];if(Q===void 0)continue;let Y=mC(L),W=h[L]!==void 0&&L!=="hasErrorBoundary";Y?Bt(!Y,"Route property "+L+" is not a supported property to be returned from a lazy route function. This property will be ignored."):W?Bt(!W,`Route "${h.id}" has a static property "${L}" defined but its lazy function is also returning a value for this property. The lazy route property "${L}" will be ignored.`):T[L]=Q}Object.assign(h,T),Object.assign(h,{...c(h),lazy:void 0})})();return ZE.set(h,S),S.catch(()=>{}),{lazyRoutePromise:S,lazyHandlerPromise:S}}let p=Object.keys(i.lazy),m=[],v;for(let R of p){if(f&&f.includes(R))continue;let S=Yx({key:R,route:i,manifest:u,mapRouteProperties:c});S&&(m.push(S),R===r&&(v=S))}let E=m.length>0?Promise.all(m).then(()=>{}):void 0;return E?.catch(()=>{}),v?.catch(()=>{}),{lazyRoutePromise:E,lazyHandlerPromise:v}}async function JE(i){let r=i.matches.filter(f=>f.shouldLoad),u={};return(await Promise.all(r.map(f=>f.resolve()))).forEach((f,h)=>{u[r[h].route.id]=f}),u}async function IC(i){return i.matches.some(r=>r.route.middleware)?$x(i,()=>JE(i)):JE(i)}function $x(i,r){return WC(i,r,c=>{if(dA(c))throw c;return c},uA,u);function u(c,f,h){if(h)return Promise.resolve(Object.assign(h.value,{[f]:{type:"error",result:c}}));{let{matches:p}=i,m=Math.min(Math.max(p.findIndex(E=>E.route.id===f),0),Math.max(p.findIndex(E=>E.shouldCallHandler()),0)),v=or(p,p[m].route.id).route.id;return Promise.resolve({[v]:{type:"error",result:c}})}}}async function WC(i,r,u,c,f){let{matches:h,request:p,params:m,context:v,unstable_pattern:E}=i,R=h.flatMap(x=>x.route.middleware?x.route.middleware.map(T=>[x.route.id,T]):[]);return await qx({request:p,params:m,context:v,unstable_pattern:E},R,r,u,c,f)}async function qx(i,r,u,c,f,h,p=0){let{request:m}=i;if(m.signal.aborted)throw m.signal.reason??new Error(`Request aborted: ${m.method} ${m.url}`);let v=r[p];if(!v)return await u();let[E,R]=v,S,x=async()=>{if(S)throw new Error("You may only call `next()` once per middleware");try{return S={value:await qx(i,r,u,c,f,h,p+1)},S.value}catch(T){return S={value:await h(T,E,S)},S.value}};try{let T=await R(i,x),L=T!=null?c(T):void 0;return f(L)?L:S?L??S.value:(S={value:await x()},S.value)}catch(T){return await h(T,E,S)}}function Gx(i,r,u,c,f){let h=Yx({key:"middleware",route:c.route,manifest:r,mapRouteProperties:i}),p=PC(c.route,En(u.method)?"action":"loader",r,i,f);return{middleware:h,route:p.lazyRoutePromise,handler:p.lazyHandlerPromise}}function xg(i,r,u,c,f,h,p,m,v=null,E){let R=!1,S=Gx(i,r,u,f,h);return{...f,_lazyPromises:S,shouldLoad:m,shouldRevalidateArgs:v,shouldCallHandler(x){return R=!0,v?typeof E=="boolean"?Bs(f,{...v,defaultShouldRevalidate:E}):typeof x=="boolean"?Bs(f,{...v,defaultShouldRevalidate:x}):Bs(f,v):m},resolve(x){let{lazy:T,loader:L,middleware:Q}=f.route,Y=R||m||x&&!En(u.method)&&(T||L),J=Q&&Q.length>0&&!L&&!T;return Y&&(En(u.method)||!J)?tA({request:u,unstable_pattern:c,match:f,lazyHandlerPromise:S?.handler,lazyRoutePromise:S?.route,handlerOverride:x,scopedContext:p}):Promise.resolve({type:"data",result:void 0})}}}function Ii(i,r,u,c,f,h,p,m=null){return c.map(v=>v.route.id!==f.route.id?{...v,shouldLoad:!1,shouldRevalidateArgs:m,shouldCallHandler:()=>!1,_lazyPromises:Gx(i,r,u,v,h),resolve:()=>Promise.resolve({type:"data",result:void 0})}:xg(i,r,u,Js(c),v,h,p,!0,m))}async function eA(i,r,u,c,f,h){u.some(E=>E._lazyPromises?.middleware)&&await Promise.all(u.map(E=>E._lazyPromises?.middleware));let p={request:r,unstable_pattern:Js(u),params:u[0].params,context:f,matches:u},v=await i({...p,fetcherKey:c,runClientMiddleware:E=>{let R=p;return $x(R,()=>E({...R,fetcherKey:c,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(u.flatMap(E=>[E._lazyPromises?.handler,E._lazyPromises?.route]))}catch{}return v}async function tA({request:i,unstable_pattern:r,match:u,lazyHandlerPromise:c,lazyRoutePromise:f,handlerOverride:h,scopedContext:p}){let m,v,E=En(i.method),R=E?"action":"loader",S=x=>{let T,L=new Promise((J,W)=>T=W);v=()=>T(),i.signal.addEventListener("abort",v);let Q=J=>typeof x!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${R}" [routeId: ${u.route.id}]`)):x({request:i,unstable_pattern:r,params:u.params,context:p},...J!==void 0?[J]:[]),Y=(async()=>{try{return{type:"data",result:await(h?h(W=>Q(W)):Q())}}catch(J){return{type:"error",result:J}}})();return Promise.race([Y,L])};try{let x=E?u.route.action:u.route.loader;if(c||f)if(x){let T,[L]=await Promise.all([S(x).catch(Q=>{T=Q}),c,f]);if(T!==void 0)throw T;m=L}else{await c;let T=E?u.route.action:u.route.loader;if(T)[m]=await Promise.all([S(T),f]);else if(R==="action"){let L=new URL(i.url),Q=L.pathname+L.search;throw Oa(405,{method:i.method,pathname:Q,routeId:u.route.id})}else return{type:"data",result:void 0}}else if(x)m=await S(x);else{let T=new URL(i.url),L=T.pathname+T.search;throw Oa(404,{pathname:L})}}catch(x){return{type:"error",result:x}}finally{v&&i.signal.removeEventListener("abort",v)}return m}async function nA(i){let r=i.headers.get("Content-Type");return r&&/\bapplication\/json\b/.test(r)?i.body==null?null:i.json():i.text()}async function aA(i){let{result:r,type:u}=i;if(Og(r)){let c;try{c=await nA(r)}catch(f){return{type:"error",error:f}}return u==="error"?{type:"error",error:new Zs(r.status,r.statusText,c),statusCode:r.status,headers:r.headers}:{type:"data",data:c,statusCode:r.status,headers:r.headers}}return u==="error"?ex(r)?r.data instanceof Error?{type:"error",error:r.data,statusCode:r.init?.status,headers:r.init?.headers?new Headers(r.init.headers):void 0}:{type:"error",error:iA(r),statusCode:Gs(r)?r.status:void 0,headers:r.init?.headers?new Headers(r.init.headers):void 0}:{type:"error",error:r,statusCode:Gs(r)?r.status:void 0}:ex(r)?{type:"data",data:r.data,statusCode:r.init?.status,headers:r.init?.headers?new Headers(r.init.headers):void 0}:{type:"data",data:r}}function lA(i,r,u,c,f){let h=i.headers.get("Location");if(Pe(h,"Redirects returned/thrown from loaders/actions must have a Location header"),!Tg(h)){let p=c.slice(0,c.findIndex(m=>m.route.id===u)+1);h=Eg(new URL(r.url),p,f,h),i.headers.set("Location",h)}return i}function FE(i,r,u,c){let f=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(Tg(i)){let h=i,p=h.startsWith("//")?new URL(r.protocol+h):new URL(h);if(f.includes(p.protocol))throw new Error("Invalid redirect location");let m=Ca(p.pathname,u)!=null;if(p.origin===r.origin&&m)return p.pathname+p.search+p.hash}try{let h=c.createURL(i);if(f.includes(h.protocol))throw new Error("Invalid redirect location")}catch{}return i}function Ki(i,r,u,c){let f=i.createURL(Xx(r)).toString(),h={signal:u};if(c&&En(c.formMethod)){let{formMethod:p,formEncType:m}=c;h.method=p.toUpperCase(),m==="application/json"?(h.headers=new Headers({"Content-Type":m}),h.body=JSON.stringify(c.json)):m==="text/plain"?h.body=c.text:m==="application/x-www-form-urlencoded"&&c.formData?h.body=Rg(c.formData):h.body=c.formData}return new Request(f,h)}function Rg(i){let r=new URLSearchParams;for(let[u,c]of i.entries())r.append(u,typeof c=="string"?c:c.name);return r}function KE(i){let r=new FormData;for(let[u,c]of i.entries())r.append(u,c);return r}function oA(i,r,u,c=!1,f=!1){let h={},p=null,m,v=!1,E={},R=u&&oa(u[1])?u[1].error:void 0;return i.forEach(S=>{if(!(S.route.id in r))return;let x=S.route.id,T=r[x];if(Pe(!Qr(T),"Cannot handle redirect results in processLoaderData"),oa(T)){let L=T.error;if(R!==void 0&&(L=R,R=void 0),p=p||{},f)p[x]=L;else{let Q=or(i,x);p[Q.route.id]==null&&(p[Q.route.id]=L)}c||(h[x]=kx),v||(v=!0,m=Gs(T.error)?T.error.status:500),T.headers&&(E[x]=T.headers)}else h[x]=T.data,T.statusCode&&T.statusCode!==200&&!v&&(m=T.statusCode),T.headers&&(E[x]=T.headers)}),R!==void 0&&u&&(p={[u[0]]:R},u[2]&&(h[u[2]]=void 0)),{loaderData:h,errors:p,statusCode:m||200,loaderHeaders:E}}function PE(i,r,u,c,f,h){let{loaderData:p,errors:m}=oA(r,u,c);return f.filter(v=>!v.matches||v.matches.some(E=>E.shouldLoad)).forEach(v=>{let{key:E,match:R,controller:S}=v;if(S&&S.signal.aborted)return;let x=h[E];if(Pe(x,"Did not find corresponding fetcher result"),oa(x)){let T=or(i.matches,R?.route.id);m&&m[T.route.id]||(m={...m,[T.route.id]:x.error}),i.fetchers.delete(E)}else if(Qr(x))Pe(!1,"Unhandled fetcher revalidation redirect");else{let T=io(x.data);i.fetchers.set(E,T)}}),{loaderData:p,errors:m}}function IE(i,r,u,c){let f=Object.entries(r).filter(([,h])=>h!==kx).reduce((h,[p,m])=>(h[p]=m,h),{});for(let h of u){let p=h.route.id;if(!r.hasOwnProperty(p)&&i.hasOwnProperty(p)&&h.route.loader&&(f[p]=i[p]),c&&c.hasOwnProperty(p))break}return f}function WE(i){return i?oa(i[1])?{actionData:{}}:{actionData:{[i[0]]:i[1].data}}:{}}function or(i,r){return(r?i.slice(0,i.findIndex(c=>c.route.id===r)+1):[...i]).reverse().find(c=>c.route.hasErrorBoundary===!0)||i[0]}function fd(i){let r=i.length===1?i[0]:i.find(u=>u.index||!u.path||u.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:r}],route:r}}function Oa(i,{pathname:r,routeId:u,method:c,type:f,message:h}={}){let p="Unknown Server Error",m="Unknown @remix-run/router error";return i===400?(p="Bad Request",c&&r&&u?m=`You made a ${c} request to "${r}" but did not provide a \`loader\` for route "${u}", so there is no way to handle the request.`:f==="invalid-body"&&(m="Unable to encode submission body")):i===403?(p="Forbidden",m=`Route "${u}" does not match URL "${r}"`):i===404?(p="Not Found",m=`No route matches URL "${r}"`):i===405&&(p="Method Not Allowed",c&&r&&u?m=`You made a ${c.toUpperCase()} request to "${r}" but did not provide an \`action\` for route "${u}", so there is no way to handle the request.`:c&&(m=`Invalid request method "${c.toUpperCase()}"`)),new Zs(i||500,p,new Error(m),!0)}function dd(i){let r=Object.entries(i);for(let u=r.length-1;u>=0;u--){let[c,f]=r[u];if(Qr(f))return{key:c,result:f}}}function Xx(i){let r=typeof i=="string"?so(i):i;return Ol({...r,hash:""})}function rA(i,r){return i.pathname!==r.pathname||i.search!==r.search?!1:i.hash===""?r.hash!=="":i.hash===r.hash?!0:r.hash!==""}function iA(i){return new Zs(i.init?.status??500,i.init?.statusText??"Internal Server Error",i.data)}function uA(i){return i!=null&&typeof i=="object"&&Object.entries(i).every(([r,u])=>typeof r=="string"&&sA(u))}function sA(i){return i!=null&&typeof i=="object"&&"type"in i&&"result"in i&&(i.type==="data"||i.type==="error")}function cA(i){return Og(i.result)&&jx.has(i.result.status)}function oa(i){return i.type==="error"}function Qr(i){return(i&&i.type)==="redirect"}function ex(i){return typeof i=="object"&&i!=null&&"type"in i&&"data"in i&&"init"in i&&i.type==="DataWithResponseInit"}function Og(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.headers=="object"&&typeof i.body<"u"}function fA(i){return jx.has(i)}function dA(i){return Og(i)&&fA(i.status)&&i.headers.has("Location")}function hA(i){return qC.has(i.toUpperCase())}function En(i){return YC.has(i.toUpperCase())}function Cg(i){return new URLSearchParams(i).getAll("index").some(r=>r==="")}function pd(i,r){let u=typeof r=="string"?so(r).search:r.search;if(i[i.length-1].route.index&&Cg(u||""))return i[i.length-1];let c=_x(i);return c[c.length-1]}function tx(i){let{formMethod:r,formAction:u,formEncType:c,text:f,formData:h,json:p}=i;if(!(!r||!u||!c)){if(f!=null)return{formMethod:r,formAction:u,formEncType:c,formData:void 0,json:void 0,text:f};if(h!=null)return{formMethod:r,formAction:u,formEncType:c,formData:h,json:void 0,text:void 0};if(p!==void 0)return{formMethod:r,formAction:u,formEncType:c,formData:void 0,json:p,text:void 0}}}function pg(i,r){return r?{state:"loading",location:i,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}:{state:"loading",location:i,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function pA(i,r){return{state:"submitting",location:i,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}}function Ms(i,r){return i?{state:"loading",formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text,data:r}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:r}}function mA(i,r){return{state:"submitting",formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text,data:r?r.data:void 0}}function io(i){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:i}}function gA(i,r){try{let u=i.sessionStorage.getItem(Hx);if(u){let c=JSON.parse(u);for(let[f,h]of Object.entries(c||{}))h&&Array.isArray(h)&&r.set(f,new Set(h||[]))}}catch{}}function yA(i,r){if(r.size>0){let u={};for(let[c,f]of r)u[c]=[...f];try{i.sessionStorage.setItem(Hx,JSON.stringify(u))}catch(c){Bt(!1,`Failed to save applied view transitions in sessionStorage (${c}).`)}}}function nx(){let i,r,u=new Promise((c,f)=>{i=async h=>{c(h);try{await u}catch{}},r=async h=>{f(h);try{await u}catch{}}});return{promise:u,resolve:i,reject:r}}var Jr=j.createContext(null);Jr.displayName="DataRouter";var Fs=j.createContext(null);Fs.displayName="DataRouterState";var Qx=j.createContext(!1);function vA(){return j.useContext(Qx)}var Ag=j.createContext({isTransitioning:!1});Ag.displayName="ViewTransition";var Zx=j.createContext(new Map);Zx.displayName="Fetchers";var bA=j.createContext(null);bA.displayName="Await";var ra=j.createContext(null);ra.displayName="Navigation";var wd=j.createContext(null);wd.displayName="Location";var Ja=j.createContext({outlet:null,matches:[],isDataRoute:!1});Ja.displayName="Route";var Ng=j.createContext(null);Ng.displayName="RouteError";var Jx="REACT_ROUTER_ERROR",SA="REDIRECT",EA="ROUTE_ERROR_RESPONSE";function xA(i){if(i.startsWith(`${Jx}:${SA}:{`))try{let r=JSON.parse(i.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function RA(i){if(i.startsWith(`${Jx}:${EA}:{`))try{let r=JSON.parse(i.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new Zs(r.status,r.statusText,r.data)}catch{}}function wA(i,{relative:r}={}){Pe(Wi(),"useHref() may be used only in the context of a <Router> component.");let{basename:u,navigator:c}=j.useContext(ra),{hash:f,pathname:h,search:p}=Ks(i,{relative:r}),m=h;return u!=="/"&&(m=h==="/"?u:Za([u,h])),c.createHref({pathname:m,search:p,hash:f})}function Wi(){return j.useContext(wd)!=null}function co(){return Pe(Wi(),"useLocation() may be used only in the context of a <Router> component."),j.useContext(wd).location}var Fx="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Kx(i){j.useContext(ra).static||j.useLayoutEffect(i)}function Px(){let{isDataRoute:i}=j.useContext(Ja);return i?VA():TA()}function TA(){Pe(Wi(),"useNavigate() may be used only in the context of a <Router> component.");let i=j.useContext(Jr),{basename:r,navigator:u}=j.useContext(ra),{matches:c}=j.useContext(Ja),{pathname:f}=co(),h=JSON.stringify(Rd(c)),p=j.useRef(!1);return Kx(()=>{p.current=!0}),j.useCallback((v,E={})=>{if(Bt(p.current,Fx),!p.current)return;if(typeof v=="number"){u.go(v);return}let R=Qs(v,JSON.parse(h),f,E.relative==="path");i==null&&r!=="/"&&(R.pathname=R.pathname==="/"?r:Za([r,R.pathname])),(E.replace?u.replace:u.push)(R,E.state,E)},[r,u,h,f,i])}var DA=j.createContext(null);function OA(i){let r=j.useContext(Ja).outlet;return j.useMemo(()=>r&&j.createElement(DA.Provider,{value:i},r),[r,i])}function Ks(i,{relative:r}={}){let{matches:u}=j.useContext(Ja),{pathname:c}=co(),f=JSON.stringify(Rd(u));return j.useMemo(()=>Qs(i,JSON.parse(f),c,r==="path"),[i,f,c,r])}function CA(i,r,u){Pe(Wi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=j.useContext(ra),{matches:f}=j.useContext(Ja),h=f[f.length-1],p=h?h.params:{},m=h?h.pathname:"/",v=h?h.pathnameBase:"/",E=h&&h.route;{let Y=E&&E.path||"";Wx(m,!E||Y.endsWith("*")||Y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${Y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
237
+
238
+ Please change the parent <Route path="${Y}"> to <Route path="${Y==="/"?"*":`${Y}/*`}">.`)}let R=co(),S;S=R;let x=S.pathname||"/",T=x;if(v!=="/"){let Y=v.replace(/^\//,"").split("/");T="/"+x.replace(/^\//,"").split("/").slice(Y.length).join("/")}let L=lr(i,{pathname:T});return Bt(E||L!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Bt(L==null||L[L.length-1].route.element!==void 0||L[L.length-1].route.Component!==void 0||L[L.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),UA(L&&L.map(Y=>Object.assign({},Y,{params:Object.assign({},p,Y.params),pathname:Za([v,c.encodeLocation?c.encodeLocation(Y.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Y.pathname]),pathnameBase:Y.pathnameBase==="/"?v:Za([v,c.encodeLocation?c.encodeLocation(Y.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:Y.pathnameBase])})),f,u)}function AA(){let i=kA(),r=Gs(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),u=i instanceof Error?i.stack:null,c="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:c},h={padding:"2px 4px",backgroundColor:c},p=null;return console.error("Error handled by React Router default ErrorBoundary:",i),p=j.createElement(j.Fragment,null,j.createElement("p",null,"💿 Hey developer 👋"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:h},"ErrorBoundary")," or"," ",j.createElement("code",{style:h},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},r),u?j.createElement("pre",{style:f},u):null,p)}var NA=j.createElement(AA,null),Ix=class extends j.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,r){return r.location!==i.location||r.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:r.error,location:r.location,revalidation:i.revalidation||r.revalidation}}componentDidCatch(i,r){this.props.onError?this.props.onError(i,r):console.error("React Router caught the following error during render",i)}render(){let i=this.state.error;if(this.context&&typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){const u=RA(i.digest);u&&(i=u)}let r=i!==void 0?j.createElement(Ja.Provider,{value:this.props.routeContext},j.createElement(Ng.Provider,{value:i,children:this.props.component})):this.props.children;return this.context?j.createElement(_A,{error:i},r):r}};Ix.contextType=Qx;var mg=new WeakMap;function _A({children:i,error:r}){let{basename:u}=j.useContext(ra);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let c=xA(r.digest);if(c){let f=mg.get(r);if(f)throw f;let h=Ux(c.location,u);if(Mx&&!mg.get(r))if(h.isExternal||c.reloadDocument)window.location.href=h.absoluteURL||h.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(h.to,{replace:c.replace}));throw mg.set(r,p),p}return j.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return i}function MA({routeContext:i,match:r,children:u}){let c=j.useContext(Jr);return c&&c.static&&c.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=r.route.id),j.createElement(Ja.Provider,{value:i},u)}function UA(i,r=[],u){let c=u?.state;if(i==null){if(!c)return null;if(c.errors)i=c.matches;else if(r.length===0&&!c.initialized&&c.matches.length>0)i=c.matches;else return null}let f=i,h=c?.errors;if(h!=null){let R=f.findIndex(S=>S.route.id&&h?.[S.route.id]!==void 0);Pe(R>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),f=f.slice(0,Math.min(f.length,R+1))}let p=!1,m=-1;if(u&&c){p=c.renderFallback;for(let R=0;R<f.length;R++){let S=f[R];if((S.route.HydrateFallback||S.route.hydrateFallbackElement)&&(m=R),S.route.id){let{loaderData:x,errors:T}=c,L=S.route.loader&&!x.hasOwnProperty(S.route.id)&&(!T||T[S.route.id]===void 0);if(S.route.lazy||L){u.isStatic&&(p=!0),m>=0?f=f.slice(0,m+1):f=[f[0]];break}}}}let v=u?.onError,E=c&&v?(R,S)=>{v(R,{location:c.location,params:c.matches?.[0]?.params??{},unstable_pattern:Js(c.matches),errorInfo:S})}:void 0;return f.reduceRight((R,S,x)=>{let T,L=!1,Q=null,Y=null;c&&(T=h&&S.route.id?h[S.route.id]:void 0,Q=S.route.errorElement||NA,p&&(m<0&&x===0?(Wx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),L=!0,Y=null):m===x&&(L=!0,Y=S.route.hydrateFallbackElement||null)));let J=r.concat(f.slice(0,x+1)),W=()=>{let ie;return T?ie=Q:L?ie=Y:S.route.Component?ie=j.createElement(S.route.Component,null):S.route.element?ie=S.route.element:ie=R,j.createElement(MA,{match:S,routeContext:{outlet:R,matches:J,isDataRoute:c!=null},children:ie})};return c&&(S.route.ErrorBoundary||S.route.errorElement||x===0)?j.createElement(Ix,{location:c.location,revalidation:c.revalidation,component:Q,error:T,children:W(),routeContext:{outlet:null,matches:J,isDataRoute:!0},onError:E}):W()},null)}function _g(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function zA(i){let r=j.useContext(Jr);return Pe(r,_g(i)),r}function LA(i){let r=j.useContext(Fs);return Pe(r,_g(i)),r}function jA(i){let r=j.useContext(Ja);return Pe(r,_g(i)),r}function Mg(i){let r=jA(i),u=r.matches[r.matches.length-1];return Pe(u.route.id,`${i} can only be used on routes that contain a unique "id"`),u.route.id}function HA(){return Mg("useRouteId")}function kA(){let i=j.useContext(Ng),r=LA("useRouteError"),u=Mg("useRouteError");return i!==void 0?i:r.errors?.[u]}function VA(){let{router:i}=zA("useNavigate"),r=Mg("useNavigate"),u=j.useRef(!1);return Kx(()=>{u.current=!0}),j.useCallback(async(f,h={})=>{Bt(u.current,Fx),u.current&&(typeof f=="number"?await i.navigate(f):await i.navigate(f,{fromRouteId:r,...h}))},[i,r])}var ax={};function Wx(i,r,u){!r&&!ax[i]&&(ax[i]=!0,Bt(!1,u))}var lx={};function ox(i,r){!i&&!lx[r]&&(lx[r]=!0,console.warn(r))}var BA="useOptimistic",rx=gO[BA],YA=()=>{};function $A(i){return rx?rx(i):[i,YA]}function qA(i){let r={hasErrorBoundary:i.hasErrorBoundary||i.ErrorBoundary!=null||i.errorElement!=null};return i.Component&&(i.element&&Bt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(r,{element:j.createElement(i.Component),Component:void 0})),i.HydrateFallback&&(i.hydrateFallbackElement&&Bt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(r,{hydrateFallbackElement:j.createElement(i.HydrateFallback),HydrateFallback:void 0})),i.ErrorBoundary&&(i.errorElement&&Bt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(r,{errorElement:j.createElement(i.ErrorBoundary),ErrorBoundary:void 0})),r}var GA=["HydrateFallback","hydrateFallbackElement"],XA=class{constructor(){this.status="pending",this.promise=new Promise((i,r)=>{this.resolve=u=>{this.status==="pending"&&(this.status="resolved",i(u))},this.reject=u=>{this.status==="pending"&&(this.status="rejected",r(u))}})}};function QA({router:i,flushSync:r,onError:u,unstable_useTransitions:c}){c=vA()||c;let[h,p]=j.useState(i.state),[m,v]=$A(h),[E,R]=j.useState(),[S,x]=j.useState({isTransitioning:!1}),[T,L]=j.useState(),[Q,Y]=j.useState(),[J,W]=j.useState(),ie=j.useRef(new Map),Ee=j.useCallback((M,{deletedFetchers:ae,newErrors:X,flushSync:Te,viewTransitionOpts:I})=>{X&&u&&Object.values(X).forEach(xe=>u(xe,{location:M.location,params:M.matches[0]?.params??{},unstable_pattern:Js(M.matches)})),M.fetchers.forEach((xe,Ae)=>{xe.data!==void 0&&ie.current.set(Ae,xe.data)}),ae.forEach(xe=>ie.current.delete(xe)),ox(Te===!1||r!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let ce=i.window!=null&&i.window.document!=null&&typeof i.window.document.startViewTransition=="function";if(ox(I==null||ce,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!I||!ce){r&&Te?r(()=>p(M)):c===!1?p(M):j.startTransition(()=>{c===!0&&v(xe=>ix(xe,M)),p(M)});return}if(r&&Te){r(()=>{Q&&(T?.resolve(),Q.skipTransition()),x({isTransitioning:!0,flushSync:!0,currentLocation:I.currentLocation,nextLocation:I.nextLocation})});let xe=i.window.document.startViewTransition(()=>{r(()=>p(M))});xe.finished.finally(()=>{r(()=>{L(void 0),Y(void 0),R(void 0),x({isTransitioning:!1})})}),r(()=>Y(xe));return}Q?(T?.resolve(),Q.skipTransition(),W({state:M,currentLocation:I.currentLocation,nextLocation:I.nextLocation})):(R(M),x({isTransitioning:!0,flushSync:!1,currentLocation:I.currentLocation,nextLocation:I.nextLocation}))},[i.window,r,Q,T,c,v,u]);j.useLayoutEffect(()=>i.subscribe(Ee),[i,Ee]),j.useEffect(()=>{S.isTransitioning&&!S.flushSync&&L(new XA)},[S]),j.useEffect(()=>{if(T&&E&&i.window){let M=E,ae=T.promise,X=i.window.document.startViewTransition(async()=>{c===!1?p(M):j.startTransition(()=>{c===!0&&v(Te=>ix(Te,M)),p(M)}),await ae});X.finished.finally(()=>{L(void 0),Y(void 0),R(void 0),x({isTransitioning:!1})}),Y(X)}},[E,T,i.window,c,v]),j.useEffect(()=>{T&&E&&m.location.key===E.location.key&&T.resolve()},[T,Q,m.location,E]),j.useEffect(()=>{!S.isTransitioning&&J&&(R(J.state),x({isTransitioning:!0,flushSync:!1,currentLocation:J.currentLocation,nextLocation:J.nextLocation}),W(void 0))},[S.isTransitioning,J]);let ye=j.useMemo(()=>({createHref:i.createHref,encodeLocation:i.encodeLocation,go:M=>i.navigate(M),push:(M,ae,X)=>i.navigate(M,{state:ae,preventScrollReset:X?.preventScrollReset}),replace:(M,ae,X)=>i.navigate(M,{replace:!0,state:ae,preventScrollReset:X?.preventScrollReset})}),[i]),Ve=i.basename||"/",Le=j.useMemo(()=>({router:i,navigator:ye,static:!1,basename:Ve,onError:u}),[i,ye,Ve,u]);return j.createElement(j.Fragment,null,j.createElement(Jr.Provider,{value:Le},j.createElement(Fs.Provider,{value:m},j.createElement(Zx.Provider,{value:ie.current},j.createElement(Ag.Provider,{value:S},j.createElement(KA,{basename:Ve,location:m.location,navigationType:m.historyAction,navigator:ye,unstable_useTransitions:c},j.createElement(ZA,{routes:i.routes,future:i.future,state:m,isStatic:!1,onError:u})))))),null)}function ix(i,r){return{...i,navigation:r.navigation.state!=="idle"?r.navigation:i.navigation,revalidation:r.revalidation!=="idle"?r.revalidation:i.revalidation,actionData:r.navigation.state!=="submitting"?r.actionData:i.actionData,fetchers:r.fetchers}}var ZA=j.memo(JA);function JA({routes:i,future:r,state:u,isStatic:c,onError:f}){return CA(i,void 0,{state:u,isStatic:c,onError:f})}function FA({to:i,replace:r,state:u,relative:c}){Pe(Wi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=j.useContext(ra);Bt(!f,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:h}=j.useContext(Ja),{pathname:p}=co(),m=Px(),v=Qs(i,Rd(h),p,c==="path"),E=JSON.stringify(v);return j.useEffect(()=>{m(JSON.parse(E),{replace:r,state:u,relative:c})},[m,E,c,r,u]),null}function eR(i){return OA(i.context)}function KA({basename:i="/",children:r=null,location:u,navigationType:c="POP",navigator:f,static:h=!1,unstable_useTransitions:p}){Pe(!Wi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=i.replace(/^\/*/,"/"),v=j.useMemo(()=>({basename:m,navigator:f,static:h,unstable_useTransitions:p,future:{}}),[m,f,h,p]);typeof u=="string"&&(u=so(u));let{pathname:E="/",search:R="",hash:S="",state:x=null,key:T="default",unstable_mask:L}=u,Q=j.useMemo(()=>{let Y=Ca(E,m);return Y==null?null:{location:{pathname:Y,search:R,hash:S,state:x,key:T,unstable_mask:L},navigationType:c}},[m,E,R,S,x,T,c,L]);return Bt(Q!=null,`<Router basename="${m}"> is not able to match the URL "${E}${R}${S}" because it does not start with the basename, so the <Router> won't render anything.`),Q==null?null:j.createElement(ra.Provider,{value:v},j.createElement(wd.Provider,{children:r,value:Q}))}var md="get",gd="application/x-www-form-urlencoded";function Td(i){return typeof HTMLElement<"u"&&i instanceof HTMLElement}function PA(i){return Td(i)&&i.tagName.toLowerCase()==="button"}function IA(i){return Td(i)&&i.tagName.toLowerCase()==="form"}function WA(i){return Td(i)&&i.tagName.toLowerCase()==="input"}function eN(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function tN(i,r){return i.button===0&&(!r||r==="_self")&&!eN(i)}var hd=null;function nN(){if(hd===null)try{new FormData(document.createElement("form"),0),hd=!1}catch{hd=!0}return hd}var aN=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function gg(i){return i!=null&&!aN.has(i)?(Bt(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${gd}"`),null):i}function lN(i,r){let u,c,f,h,p;if(IA(i)){let m=i.getAttribute("action");c=m?Ca(m,r):null,u=i.getAttribute("method")||md,f=gg(i.getAttribute("enctype"))||gd,h=new FormData(i)}else if(PA(i)||WA(i)&&(i.type==="submit"||i.type==="image")){let m=i.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let v=i.getAttribute("formaction")||m.getAttribute("action");if(c=v?Ca(v,r):null,u=i.getAttribute("formmethod")||m.getAttribute("method")||md,f=gg(i.getAttribute("formenctype"))||gg(m.getAttribute("enctype"))||gd,h=new FormData(m,i),!nN()){let{name:E,type:R,value:S}=i;if(R==="image"){let x=E?`${E}.`:"";h.append(`${x}x`,"0"),h.append(`${x}y`,"0")}else E&&h.append(E,S)}}else{if(Td(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');u=md,c=null,f=gd,p=i}return h&&f==="text/plain"&&(p=h,h=void 0),{action:c,method:u.toLowerCase(),encType:f,formData:h,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ug(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}function oN(i,r,u,c){let f=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return u?f.pathname.endsWith("/")?f.pathname=`${f.pathname}_.${c}`:f.pathname=`${f.pathname}.${c}`:f.pathname==="/"?f.pathname=`_root.${c}`:r&&Ca(f.pathname,r)==="/"?f.pathname=`${r.replace(/\/$/,"")}/_root.${c}`:f.pathname=`${f.pathname.replace(/\/$/,"")}.${c}`,f}async function rN(i,r){if(i.id in r)return r[i.id];try{let u=await import(i.module);return r[i.id]=u,u}catch(u){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(u),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function iN(i){return i==null?!1:i.href==null?i.rel==="preload"&&typeof i.imageSrcSet=="string"&&typeof i.imageSizes=="string":typeof i.rel=="string"&&typeof i.href=="string"}async function uN(i,r,u){let c=await Promise.all(i.map(async f=>{let h=r.routes[f.route.id];if(h){let p=await rN(h,u);return p.links?p.links():[]}return[]}));return dN(c.flat(1).filter(iN).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function ux(i,r,u,c,f,h){let p=(v,E)=>u[E]?v.route.id!==u[E].route.id:!0,m=(v,E)=>u[E].pathname!==v.pathname||u[E].route.path?.endsWith("*")&&u[E].params["*"]!==v.params["*"];return h==="assets"?r.filter((v,E)=>p(v,E)||m(v,E)):h==="data"?r.filter((v,E)=>{let R=c.routes[v.route.id];if(!R||!R.hasLoader)return!1;if(p(v,E)||m(v,E))return!0;if(v.route.shouldRevalidate){let S=v.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:u[0]?.params||{},nextUrl:new URL(i,window.origin),nextParams:v.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function sN(i,r,{includeHydrateFallback:u}={}){return cN(i.map(c=>{let f=r.routes[c.route.id];if(!f)return[];let h=[f.module];return f.clientActionModule&&(h=h.concat(f.clientActionModule)),f.clientLoaderModule&&(h=h.concat(f.clientLoaderModule)),u&&f.hydrateFallbackModule&&(h=h.concat(f.hydrateFallbackModule)),f.imports&&(h=h.concat(f.imports)),h}).flat(1))}function cN(i){return[...new Set(i)]}function fN(i){let r={},u=Object.keys(i).sort();for(let c of u)r[c]=i[c];return r}function dN(i,r){let u=new Set;return new Set(r),i.reduce((c,f)=>{let h=JSON.stringify(fN(f));return u.has(h)||(u.add(h),c.push({key:h,link:f})),c},[])}function tR(){let i=j.useContext(Jr);return Ug(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function hN(){let i=j.useContext(Fs);return Ug(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var zg=j.createContext(void 0);zg.displayName="FrameworkContext";function nR(){let i=j.useContext(zg);return Ug(i,"You must render this element inside a <HydratedRouter> element"),i}function pN(i,r){let u=j.useContext(zg),[c,f]=j.useState(!1),[h,p]=j.useState(!1),{onFocus:m,onBlur:v,onMouseEnter:E,onMouseLeave:R,onTouchStart:S}=r,x=j.useRef(null);j.useEffect(()=>{if(i==="render"&&p(!0),i==="viewport"){let Q=J=>{J.forEach(W=>{p(W.isIntersecting)})},Y=new IntersectionObserver(Q,{threshold:.5});return x.current&&Y.observe(x.current),()=>{Y.disconnect()}}},[i]),j.useEffect(()=>{if(c){let Q=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(Q)}}},[c]);let T=()=>{f(!0)},L=()=>{f(!1),p(!1)};return u?i!=="intent"?[h,x,{}]:[h,x,{onFocus:Us(m,T),onBlur:Us(v,L),onMouseEnter:Us(E,T),onMouseLeave:Us(R,L),onTouchStart:Us(S,T)}]:[!1,x,{}]}function Us(i,r){return u=>{i&&i(u),u.defaultPrevented||r(u)}}function mN({page:i,...r}){let{router:u}=tR(),c=j.useMemo(()=>lr(u.routes,i,u.basename),[u.routes,i,u.basename]);return c?j.createElement(yN,{page:i,matches:c,...r}):null}function gN(i){let{manifest:r,routeModules:u}=nR(),[c,f]=j.useState([]);return j.useEffect(()=>{let h=!1;return uN(i,r,u).then(p=>{h||f(p)}),()=>{h=!0}},[i,r,u]),c}function yN({page:i,matches:r,...u}){let c=co(),{future:f,manifest:h,routeModules:p}=nR(),{basename:m}=tR(),{loaderData:v,matches:E}=hN(),R=j.useMemo(()=>ux(i,r,E,h,c,"data"),[i,r,E,h,c]),S=j.useMemo(()=>ux(i,r,E,h,c,"assets"),[i,r,E,h,c]),x=j.useMemo(()=>{if(i===c.pathname+c.search+c.hash)return[];let Q=new Set,Y=!1;if(r.forEach(W=>{let ie=h.routes[W.route.id];!ie||!ie.hasLoader||(!R.some(Ee=>Ee.route.id===W.route.id)&&W.route.id in v&&p[W.route.id]?.shouldRevalidate||ie.hasClientLoader?Y=!0:Q.add(W.route.id))}),Q.size===0)return[];let J=oN(i,m,f.unstable_trailingSlashAwareDataRequests,"data");return Y&&Q.size>0&&J.searchParams.set("_routes",r.filter(W=>Q.has(W.route.id)).map(W=>W.route.id).join(",")),[J.pathname+J.search]},[m,f.unstable_trailingSlashAwareDataRequests,v,c,h,R,r,i,p]),T=j.useMemo(()=>sN(S,h),[S,h]),L=gN(S);return j.createElement(j.Fragment,null,x.map(Q=>j.createElement("link",{key:Q,rel:"prefetch",as:"fetch",href:Q,...u})),T.map(Q=>j.createElement("link",{key:Q,rel:"modulepreload",href:Q,...u})),L.map(({key:Q,link:Y})=>j.createElement("link",{key:Q,nonce:u.nonce,...Y,crossOrigin:Y.crossOrigin??u.crossOrigin})))}function vN(...i){return r=>{i.forEach(u=>{typeof u=="function"?u(r):u!=null&&(u.current=r)})}}var bN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{bN&&(window.__reactRouterVersion="7.13.1")}catch{}function SN(i,r){return ZC({basename:r?.basename,getContext:r?.getContext,future:r?.future,history:sC({window:r?.window}),hydrationData:EN(),routes:i,mapRouteProperties:qA,hydrationRouteProperties:GA,dataStrategy:r?.dataStrategy,patchRoutesOnNavigation:r?.patchRoutesOnNavigation,window:r?.window,unstable_instrumentations:r?.unstable_instrumentations}).initialize()}function EN(){let i=window?.__staticRouterHydrationData;return i&&i.errors&&(i={...i,errors:xN(i.errors)}),i}function xN(i){if(!i)return null;let r=Object.entries(i),u={};for(let[c,f]of r)if(f&&f.__type==="RouteErrorResponse")u[c]=new Zs(f.status,f.statusText,f.data,f.internal===!0);else if(f&&f.__type==="Error"){if(f.__subType){let h=window[f.__subType];if(typeof h=="function")try{let p=new h(f.message);p.stack="",u[c]=p}catch{}}if(u[c]==null){let h=new Error(f.message);h.stack="",u[c]=h}}else u[c]=f;return u}var aR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,uo=j.forwardRef(function({onClick:r,discover:u="render",prefetch:c="none",relative:f,reloadDocument:h,replace:p,unstable_mask:m,state:v,target:E,to:R,preventScrollReset:S,viewTransition:x,unstable_defaultShouldRevalidate:T,...L},Q){let{basename:Y,navigator:J,unstable_useTransitions:W}=j.useContext(ra),ie=typeof R=="string"&&aR.test(R),Ee=Ux(R,Y);R=Ee.to;let ye=wA(R,{relative:f}),Ve=co(),Le=null;if(m){let Ae=Qs(m,[],Ve.unstable_mask?Ve.unstable_mask.pathname:"/",!0);Y!=="/"&&(Ae.pathname=Ae.pathname==="/"?Y:Za([Y,Ae.pathname])),Le=J.createHref(Ae)}let[M,ae,X]=pN(c,L),Te=TN(R,{replace:p,unstable_mask:m,state:v,target:E,preventScrollReset:S,relative:f,viewTransition:x,unstable_defaultShouldRevalidate:T,unstable_useTransitions:W});function I(Ae){r&&r(Ae),Ae.defaultPrevented||Te(Ae)}let ce=!(Ee.isExternal||h),xe=j.createElement("a",{...L,...X,href:(ce?Le:void 0)||Ee.absoluteURL||ye,onClick:ce?I:r,ref:vN(Q,ae),target:E,"data-discover":!ie&&u==="render"?"true":void 0});return M&&!ie?j.createElement(j.Fragment,null,xe,j.createElement(mN,{page:ye})):xe});uo.displayName="Link";var Ed=j.forwardRef(function({"aria-current":r="page",caseSensitive:u=!1,className:c="",end:f=!1,style:h,to:p,viewTransition:m,children:v,...E},R){let S=Ks(p,{relative:E.relative}),x=co(),T=j.useContext(Fs),{navigator:L,basename:Q}=j.useContext(ra),Y=T!=null&&NN(S)&&m===!0,J=L.encodeLocation?L.encodeLocation(S).pathname:S.pathname,W=x.pathname,ie=T&&T.navigation&&T.navigation.location?T.navigation.location.pathname:null;u||(W=W.toLowerCase(),ie=ie?ie.toLowerCase():null,J=J.toLowerCase()),ie&&Q&&(ie=Ca(ie,Q)||ie);const Ee=J!=="/"&&J.endsWith("/")?J.length-1:J.length;let ye=W===J||!f&&W.startsWith(J)&&W.charAt(Ee)==="/",Ve=ie!=null&&(ie===J||!f&&ie.startsWith(J)&&ie.charAt(J.length)==="/"),Le={isActive:ye,isPending:Ve,isTransitioning:Y},M=ye?r:void 0,ae;typeof c=="function"?ae=c(Le):ae=[c,ye?"active":null,Ve?"pending":null,Y?"transitioning":null].filter(Boolean).join(" ");let X=typeof h=="function"?h(Le):h;return j.createElement(uo,{...E,"aria-current":M,className:ae,ref:R,style:X,to:p,viewTransition:m},typeof v=="function"?v(Le):v)});Ed.displayName="NavLink";var RN=j.forwardRef(({discover:i="render",fetcherKey:r,navigate:u,reloadDocument:c,replace:f,state:h,method:p=md,action:m,onSubmit:v,relative:E,preventScrollReset:R,viewTransition:S,unstable_defaultShouldRevalidate:x,...T},L)=>{let{unstable_useTransitions:Q}=j.useContext(ra),Y=CN(),J=AN(m,{relative:E}),W=p.toLowerCase()==="get"?"get":"post",ie=typeof m=="string"&&aR.test(m),Ee=ye=>{if(v&&v(ye),ye.defaultPrevented)return;ye.preventDefault();let Ve=ye.nativeEvent.submitter,Le=Ve?.getAttribute("formmethod")||p,M=()=>Y(Ve||ye.currentTarget,{fetcherKey:r,method:Le,navigate:u,replace:f,state:h,relative:E,preventScrollReset:R,viewTransition:S,unstable_defaultShouldRevalidate:x});Q&&u!==!1?j.startTransition(()=>M()):M()};return j.createElement("form",{ref:L,method:W,action:J,onSubmit:c?v:Ee,...T,"data-discover":!ie&&i==="render"?"true":void 0})});RN.displayName="Form";function wN(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lR(i){let r=j.useContext(Jr);return Pe(r,wN(i)),r}function TN(i,{target:r,replace:u,unstable_mask:c,state:f,preventScrollReset:h,relative:p,viewTransition:m,unstable_defaultShouldRevalidate:v,unstable_useTransitions:E}={}){let R=Px(),S=co(),x=Ks(i,{relative:p});return j.useCallback(T=>{if(tN(T,r)){T.preventDefault();let L=u!==void 0?u:Ol(S)===Ol(x),Q=()=>R(i,{replace:L,unstable_mask:c,state:f,preventScrollReset:h,relative:p,viewTransition:m,unstable_defaultShouldRevalidate:v});E?j.startTransition(()=>Q()):Q()}},[S,R,x,u,c,f,r,i,h,p,m,v,E])}var DN=0,ON=()=>`__${String(++DN)}__`;function CN(){let{router:i}=lR("useSubmit"),{basename:r}=j.useContext(ra),u=HA(),c=i.fetch,f=i.navigate;return j.useCallback(async(h,p={})=>{let{action:m,method:v,encType:E,formData:R,body:S}=lN(h,r);if(p.navigate===!1){let x=p.fetcherKey||ON();await c(x,u,p.action||m,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:R,body:S,formMethod:p.method||v,formEncType:p.encType||E,flushSync:p.flushSync})}else await f(p.action||m,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:R,body:S,formMethod:p.method||v,formEncType:p.encType||E,replace:p.replace,state:p.state,fromRouteId:u,flushSync:p.flushSync,viewTransition:p.viewTransition})},[c,f,r,u])}function AN(i,{relative:r}={}){let{basename:u}=j.useContext(ra),c=j.useContext(Ja);Pe(c,"useFormAction must be used inside a RouteContext");let[f]=c.matches.slice(-1),h={...Ks(i||".",{relative:r})},p=co();if(i==null){h.search=p.search;let m=new URLSearchParams(h.search),v=m.getAll("index");if(v.some(R=>R==="")){m.delete("index"),v.filter(S=>S).forEach(S=>m.append("index",S));let R=m.toString();h.search=R?`?${R}`:""}}return(!i||i===".")&&f.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),u!=="/"&&(h.pathname=h.pathname==="/"?u:Za([u,h.pathname])),Ol(h)}function NN(i,{relative:r}={}){let u=j.useContext(Ag);Pe(u!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=lR("useViewTransitionState"),f=Ks(i,{relative:r});if(!u.isTransitioning)return!1;let h=Ca(u.currentLocation.pathname,c)||u.currentLocation.pathname,p=Ca(u.nextLocation.pathname,c)||u.nextLocation.pathname;return Sd(f.pathname,p)!=null||Sd(f.pathname,h)!=null}const oR=(...i)=>i.filter((r,u,c)=>!!r&&r.trim()!==""&&c.indexOf(r)===u).join(" ").trim();const _N=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const MN=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,u,c)=>c?c.toUpperCase():u.toLowerCase());const sx=i=>{const r=MN(i);return r.charAt(0).toUpperCase()+r.slice(1)};var UN={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const zN=i=>{for(const r in i)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};const LN=j.forwardRef(({color:i="currentColor",size:r=24,strokeWidth:u=2,absoluteStrokeWidth:c,className:f="",children:h,iconNode:p,...m},v)=>j.createElement("svg",{ref:v,...UN,width:r,height:r,stroke:i,strokeWidth:c?Number(u)*24/Number(r):u,className:oR("lucide",f),...!h&&!zN(m)&&{"aria-hidden":"true"},...m},[...p.map(([E,R])=>j.createElement(E,R)),...Array.isArray(h)?h:[h]]));const Gn=(i,r)=>{const u=j.forwardRef(({className:c,...f},h)=>j.createElement(LN,{ref:h,iconNode:r,className:oR(`lucide-${_N(sx(i))}`,`lucide-${i}`,c),...f}));return u.displayName=sx(i),u};const jN=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],HN=Gn("arrow-right",jN);const kN=[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]],VN=Gn("boxes",kN);const BN=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],YN=Gn("brain",BN);const $N=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],qN=Gn("database",$N);const GN=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],XN=Gn("menu",GN);const QN=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],ZN=Gn("monitor",QN);const JN=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],FN=Gn("moon",JN);const KN=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],PN=Gn("panel-left",KN);const IN=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],WN=Gn("search",IN);const e4=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],t4=Gn("settings",e4);const n4=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],a4=Gn("share-2",n4);const l4=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],o4=Gn("sun",l4);const r4=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],i4=Gn("users",r4);const u4=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],s4=Gn("x",u4),cx=i=>{let r;const u=new Set,c=(E,R)=>{const S=typeof E=="function"?E(r):E;if(!Object.is(S,r)){const x=r;r=R??(typeof S!="object"||S===null)?S:Object.assign({},r,S),u.forEach(T=>T(r,x))}},f=()=>r,m={setState:c,getState:f,getInitialState:()=>v,subscribe:E=>(u.add(E),()=>u.delete(E))},v=r=i(c,f,m);return m},c4=(i=>i?cx(i):cx),f4=i=>i;function d4(i,r=f4){const u=Ls.useSyncExternalStore(i.subscribe,Ls.useCallback(()=>r(i.getState()),[i,r]),Ls.useCallback(()=>r(i.getInitialState()),[i,r]));return Ls.useDebugValue(u),u}const fx=i=>{const r=c4(i),u=c=>d4(r,c);return Object.assign(u,r),u},rR=(i=>i?fx(i):fx),h4=rR(i=>({status:"disconnected",setStatus:r=>i({status:r})})),p4={connected:"bg-c4a-success",disconnected:"bg-c4a-error",reconnecting:"bg-c4a-warning"};function wg(){const{t:i}=Ut(),r=h4(f=>f.status),u=p4[r]??"bg-c4a-text-muted",c=i(`header.status.${r}`);return G.jsxDEV("div",{className:"group relative flex items-center",title:c,children:[G.jsxDEV("span",{className:`inline-block h-[7px] w-[7px] rounded-full ${u}`},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/DaemonStatus.tsx",lineNumber:18,columnNumber:7},this),G.jsxDEV("span",{className:"pointer-events-none absolute right-full mr-2 hidden whitespace-nowrap rounded bg-c4a-bg-elevated px-2 py-1 font-mono text-xs text-c4a-text-secondary shadow-c4a-md group-hover:block",children:c},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/DaemonStatus.tsx",lineNumber:19,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/DaemonStatus.tsx",lineNumber:17,columnNumber:5},this)}const dx=[{to:"/",labelKey:"nav.home"},{to:"/studio",labelKey:"nav.studio"},{to:"/docs",labelKey:"nav.docs"}];function m4(){const{t:i}=Ut(),[r,u]=j.useState(!1);return G.jsxDEV("header",{className:"sticky top-0 z-40 border-b border-c4a-border-subtle bg-c4a-bg-base/95 backdrop-blur-sm",children:[G.jsxDEV("div",{className:"flex h-14 items-center justify-between px-4",children:[G.jsxDEV(uo,{to:"/",className:"flex items-center gap-2 text-c4a-text-primary",children:[G.jsxDEV("span",{className:"font-mono text-lg font-bold text-c4a-accent",children:"C4A"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:22,columnNumber:11},this),G.jsxDEV("span",{className:"hidden font-mono text-sm font-semibold uppercase tracking-tight md:inline",children:"Context4AI"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:25,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:21,columnNumber:9},this),G.jsxDEV("div",{className:"hidden items-center gap-6 md:flex",children:[G.jsxDEV("nav",{className:"flex items-center gap-4",children:dx.map(({to:c,labelKey:f})=>G.jsxDEV(Ed,{to:c,end:c==="/",className:({isActive:h})=>`font-mono text-xs uppercase tracking-tight transition-colors duration-150 ${h?"text-c4a-accent":"text-c4a-text-secondary hover:text-c4a-text-primary"}`,children:i(f)},c,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:34,columnNumber:15},this))},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:32,columnNumber:11},this),G.jsxDEV("div",{className:"flex items-center gap-3",children:[G.jsxDEV(wg,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:51,columnNumber:13},this),G.jsxDEV(uo,{to:"/login",className:"font-mono text-xs uppercase tracking-tight text-c4a-text-muted transition-colors duration-150 hover:text-c4a-text-primary",children:i("nav.login")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:52,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:50,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:31,columnNumber:9},this),G.jsxDEV("button",{onClick:()=>u(!r),className:"text-c4a-text-secondary md:hidden",children:r?G.jsxDEV(s4,{size:20},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:66,columnNumber:23},this):G.jsxDEV(XN,{size:20},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:66,columnNumber:41},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:62,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:19,columnNumber:7},this),r&&G.jsxDEV("div",{className:"border-t border-c4a-border-subtle bg-c4a-bg-surface px-4 pb-4 pt-2 md:hidden",children:[G.jsxDEV("nav",{className:"flex flex-col gap-2",children:dx.map(({to:c,labelKey:f})=>G.jsxDEV(Ed,{to:c,end:c==="/",onClick:()=>u(!1),className:({isActive:h})=>`block py-2 font-mono text-xs uppercase tracking-tight transition-colors duration-150 ${h?"text-c4a-accent":"text-c4a-text-secondary hover:text-c4a-text-primary"}`,children:i(f)},c,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:75,columnNumber:15},this))},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:73,columnNumber:11},this),G.jsxDEV("div",{className:"mt-2 border-t border-c4a-border-subtle pt-2",children:G.jsxDEV("div",{className:"flex items-center gap-3",children:[G.jsxDEV(wg,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:94,columnNumber:15},this),G.jsxDEV(uo,{to:"/login",onClick:()=>u(!1),className:"font-mono text-xs uppercase tracking-tight text-c4a-text-muted transition-colors duration-150 hover:text-c4a-text-primary",children:i("nav.login")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:95,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:93,columnNumber:13},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:92,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:72,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Header.tsx",lineNumber:18,columnNumber:5},this)}function g4(i){return i==="system"&&typeof window<"u"?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":i==="system"?"dark":i}function iR(i){if(typeof window>"u")return;const r=g4(i);document.documentElement.setAttribute("data-theme",r),localStorage.setItem("theme",i)}function y4(){try{return localStorage.getItem("theme")||"system"}catch{return"system"}}const uR=rR(i=>({theme:y4(),setTheme:r=>{iR(r),i({theme:r})}}));let hx=!1;function v4(){if(hx||typeof window>"u")return;hx=!0;const i=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{const{theme:u}=uR.getState();u==="system"&&iR("system")};i.addEventListener("change",r)}v4();const b4=[{mode:"light",icon:o4,labelKey:"footer.theme.light"},{mode:"dark",icon:FN,labelKey:"footer.theme.dark"},{mode:"system",icon:ZN,labelKey:"footer.theme.system"}];function S4(){const{t:i}=Ut(),{theme:r,setTheme:u}=uR();return G.jsxDEV("div",{className:"flex items-center gap-1",children:b4.map(({mode:c,icon:f,labelKey:h})=>G.jsxDEV("button",{onClick:()=>u(c),title:i(h),className:`cursor-pointer rounded p-1.5 transition-colors duration-150 ${r===c?"bg-c4a-bg-active text-c4a-accent":"text-c4a-text-muted hover:text-c4a-text-secondary hover:bg-c4a-bg-hover"}`,children:G.jsxDEV(f,{size:14},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/ThemeSwitcher.tsx",lineNumber:30,columnNumber:11},this)},c,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/ThemeSwitcher.tsx",lineNumber:20,columnNumber:9},this))},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/ThemeSwitcher.tsx",lineNumber:18,columnNumber:5},this)}function E4(){const{i18n:i}=Ut(),r=()=>{const u=i.language==="en"?"zh":"en";i.changeLanguage(u)};return G.jsxDEV("button",{onClick:r,className:"cursor-pointer rounded px-2 py-1 font-mono text-xs uppercase tracking-tight text-c4a-text-muted transition-colors duration-150 hover:text-c4a-text-secondary hover:bg-c4a-bg-hover",children:i.language==="en"?"CN":"EN"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/LanguageSwitcher.tsx",lineNumber:12,columnNumber:5},this)}const x4="_brandIcon_1c7st_1",R4="_iconPulse_1c7st_35",px={brandIcon:x4,iconPulse:R4};function sR(){const{t:i}=Ut(),r=new Date().getFullYear();return G.jsxDEV("footer",{className:"border-t border-c4a-border-subtle bg-c4a-bg-base px-4 py-4",children:G.jsxDEV("div",{className:"flex items-end justify-between gap-4",children:[G.jsxDEV("div",{className:"hidden items-center gap-3 md:flex",children:[G.jsxDEV("div",{className:px.brandIcon,children:G.jsxDEV("span",{className:px.iconPulse,children:"C4A"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:16,columnNumber:13},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:15,columnNumber:11},this),G.jsxDEV("div",{className:"flex flex-col",children:[G.jsxDEV("span",{className:"font-mono text-xs font-semibold uppercase tracking-tight text-c4a-text-primary",children:"Context4AI"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:19,columnNumber:13},this),G.jsxDEV("span",{className:"font-mono text-[10px] uppercase tracking-wider text-c4a-text-muted",children:i("footer.tagline")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:22,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:18,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:14,columnNumber:9},this),G.jsxDEV("div",{className:"ml-auto flex flex-col items-end gap-2",children:[G.jsxDEV("div",{className:"flex items-center gap-2",children:[G.jsxDEV(S4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:31,columnNumber:13},this),G.jsxDEV(E4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:32,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:30,columnNumber:11},this),G.jsxDEV("p",{className:"font-mono text-[11px] text-c4a-text-muted",children:i("footer.copyright",{year:r})},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:34,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:29,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:12,columnNumber:7},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Footer.tsx",lineNumber:11,columnNumber:5},this)}function w4(){return G.jsxDEV("div",{className:"flex min-h-screen flex-col",children:[G.jsxDEV(m4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:8,columnNumber:7},this),G.jsxDEV("main",{className:"mx-auto flex w-full max-w-[1200px] flex-1 flex-col px-4",children:G.jsxDEV(eR,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:10,columnNumber:9},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:9,columnNumber:7},this),G.jsxDEV(sR,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:12,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/RootLayout.tsx",lineNumber:7,columnNumber:5},this)}function T4({onToggleSidebar:i}){const{t:r}=Ut();return G.jsxDEV("header",{className:"sticky top-0 z-40 border-b border-c4a-border-subtle bg-c4a-bg-base/95 backdrop-blur-sm",children:G.jsxDEV("div",{className:"flex h-14 items-center justify-between px-4",children:[G.jsxDEV("div",{className:"flex items-center gap-2",children:[i&&G.jsxDEV("button",{onClick:i,className:"text-c4a-text-secondary transition-colors duration-150 hover:text-c4a-text-primary md:hidden",children:G.jsxDEV(PN,{size:20},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:23,columnNumber:15},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:19,columnNumber:13},this),G.jsxDEV(uo,{to:"/",className:"flex items-center gap-2 text-c4a-text-primary",children:[G.jsxDEV("span",{className:"font-mono text-lg font-bold text-c4a-accent",children:"C4A"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:30,columnNumber:13},this),G.jsxDEV("span",{className:"hidden font-mono text-sm font-semibold uppercase tracking-tight md:inline",children:"Context4AI"},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:33,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:26,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:17,columnNumber:9},this),G.jsxDEV("div",{className:"flex items-center gap-3",children:[G.jsxDEV(wg,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:41,columnNumber:11},this),G.jsxDEV(uo,{to:"/login",className:"font-mono text-xs uppercase tracking-tight text-c4a-text-muted transition-colors duration-150 hover:text-c4a-text-primary",children:r("nav.login")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:42,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:40,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:15,columnNumber:7},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/StudioHeader.tsx",lineNumber:14,columnNumber:5},this)}const D4=i=>`flex items-center gap-2 rounded px-3 py-2 font-mono text-xs uppercase tracking-tight transition-colors duration-150 ${i?"bg-c4a-bg-active text-c4a-accent":"text-c4a-text-secondary hover:bg-c4a-bg-hover hover:text-c4a-text-primary"}`,O4=[{to:"/studio/sources",icon:qN,i18nKey:"studio.sidebar.sources"},{to:"/studio/modeling",icon:VN,i18nKey:"studio.sidebar.modeling"},{to:"/studio/brain",icon:YN,i18nKey:"studio.sidebar.brain"},{to:"/studio/discovery",icon:WN,i18nKey:"studio.sidebar.discovery"},{to:"/studio/sharing",icon:a4,i18nKey:"studio.sidebar.sharing"},{to:"/studio/collaboration",icon:i4,i18nKey:"studio.sidebar.collaboration"},{to:"/studio/settings",icon:t4,i18nKey:"studio.sidebar.settings"}];function mx({onNavigate:i}){const{t:r}=Ut();return G.jsxDEV("aside",{className:"flex h-full w-[300px] shrink-0 flex-col border-r border-c4a-border-subtle bg-c4a-bg-surface p-4",children:G.jsxDEV("nav",{className:"flex flex-col gap-1",children:O4.map(({to:u,icon:c,i18nKey:f})=>G.jsxDEV(Ed,{to:u,onClick:i,className:({isActive:h})=>D4(h),children:[G.jsxDEV(c,{size:14},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:47,columnNumber:13},this),r(f)]},u,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:41,columnNumber:11},this))},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:39,columnNumber:7},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Sidebar.tsx",lineNumber:38,columnNumber:5},this)}function C4(){const[i,r]=j.useState(!1);return G.jsxDEV("div",{className:"flex min-h-screen flex-col",children:[G.jsxDEV(T4,{onToggleSidebar:()=>r(!i)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:12,columnNumber:7},this),G.jsxDEV("div",{className:"flex flex-1",children:[G.jsxDEV("div",{className:"hidden md:block",children:G.jsxDEV(mx,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:17,columnNumber:11},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:16,columnNumber:9},this),i&&G.jsxDEV(G.Fragment,{children:[G.jsxDEV("div",{className:"fixed inset-0 z-20 bg-black/40 md:hidden",onClick:()=>r(!1)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:23,columnNumber:13},this),G.jsxDEV("div",{className:"fixed inset-y-0 left-0 z-20 md:hidden",children:G.jsxDEV(mx,{onNavigate:()=>r(!1)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:28,columnNumber:15},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:27,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:22,columnNumber:11},this),G.jsxDEV("main",{className:"flex flex-1 flex-col overflow-x-hidden",children:G.jsxDEV(eR,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:34,columnNumber:11},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:33,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:14,columnNumber:7},this),G.jsxDEV(sR,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:38,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/layouts/StudioLayout.tsx",lineNumber:11,columnNumber:5},this)}function A4(){const{t:i}=Ut();return G.jsxDEV("div",{className:"flex flex-1 flex-col items-center justify-center py-20 text-center",children:[G.jsxDEV("h1",{className:"font-mono text-4xl font-bold uppercase tracking-wide text-c4a-text-primary md:text-5xl",children:i("home.hero.title")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:10,columnNumber:7},this),G.jsxDEV("p",{className:"mt-6 max-w-lg text-base text-c4a-text-secondary",children:i("home.hero.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:13,columnNumber:7},this),G.jsxDEV("div",{className:"mt-10 flex items-center gap-4",children:[G.jsxDEV(uo,{to:"/studio",className:"flex items-center gap-2 rounded bg-c4a-accent px-5 py-2.5 font-mono text-xs font-semibold uppercase tracking-tight text-white transition-colors duration-150 hover:bg-c4a-accent-hover",children:[i("home.hero.cta.studio"),G.jsxDEV(HN,{size:14},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:22,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:17,columnNumber:9},this),G.jsxDEV("a",{href:"https://github.com/anthropics/c4a",target:"_blank",rel:"noopener noreferrer",className:"rounded border border-c4a-border-default px-5 py-2.5 font-mono text-xs font-semibold uppercase tracking-tight text-c4a-text-secondary transition-colors duration-150 hover:border-c4a-border-strong hover:text-c4a-text-primary",children:i("home.hero.cta.github")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:24,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:16,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Home.tsx",lineNumber:9,columnNumber:5},this)}function ia({title:i,version:r,description:u}){const{t:c}=Ut();return G.jsxDEV("div",{className:"flex flex-1 items-center justify-center p-8",children:G.jsxDEV("div",{className:"max-w-md text-center",children:[G.jsxDEV("h2",{className:"font-mono text-2xl font-bold uppercase text-c4a-text-primary",children:i},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:15,columnNumber:9},this),r&&G.jsxDEV("span",{className:"mt-3 inline-block rounded border border-c4a-border-default bg-c4a-bg-surface px-3 py-1 font-mono text-xs uppercase text-c4a-accent",children:c("placeholder.coming",{version:r})},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:19,columnNumber:11},this),G.jsxDEV("p",{className:"mt-4 text-sm text-c4a-text-secondary",children:u},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:23,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:14,columnNumber:7},this)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/components/Placeholder.tsx",lineNumber:13,columnNumber:5},this)}function N4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.login.title"),version:"0.5.0",description:i("page.login.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Login.tsx",lineNumber:8,columnNumber:5},this)}function _4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.docs.title"),version:"0.4.13",description:i("page.docs.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/Docs.tsx",lineNumber:8,columnNumber:5},this)}function M4(){const{t:i}=Ut();return G.jsxDEV("div",{className:"flex min-h-screen flex-col items-center justify-center bg-c4a-bg-base p-8 text-center",children:[G.jsxDEV("h1",{className:"font-mono text-6xl font-bold text-c4a-accent",children:i("notfound.title")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/NotFound.tsx",lineNumber:9,columnNumber:7},this),G.jsxDEV("p",{className:"mt-4 text-base text-c4a-text-secondary",children:i("notfound.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/NotFound.tsx",lineNumber:12,columnNumber:7},this),G.jsxDEV(uo,{to:"/",className:"mt-8 rounded border border-c4a-border-default px-5 py-2.5 font-mono text-xs uppercase tracking-tight text-c4a-text-secondary transition-colors duration-150 hover:border-c4a-border-strong hover:text-c4a-text-primary",children:i("notfound.back")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/NotFound.tsx",lineNumber:15,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/NotFound.tsx",lineNumber:8,columnNumber:5},this)}function U4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.sources.title"),version:"0.4.12",description:i("page.sources.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Sources.tsx",lineNumber:8,columnNumber:5},this)}function z4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.modeling.title"),version:"0.4.16",description:i("page.modeling.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Modeling.tsx",lineNumber:8,columnNumber:5},this)}function L4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.brain.title"),version:"0.4.18",description:i("page.brain.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Brain.tsx",lineNumber:8,columnNumber:5},this)}function j4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.discovery.title"),version:"0.6.x",description:i("page.discovery.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Discovery.tsx",lineNumber:8,columnNumber:5},this)}function H4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.sharing.title"),version:"0.4.39",description:i("page.sharing.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Sharing.tsx",lineNumber:8,columnNumber:5},this)}function k4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.collaboration.title"),version:"0.5.x",description:i("page.collaboration.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Collaboration.tsx",lineNumber:8,columnNumber:5},this)}function V4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.settings.title"),version:"0.5.x",description:i("page.settings.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/Settings.tsx",lineNumber:8,columnNumber:5},this)}function B4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.code_setup.title"),version:"0.4.13",description:i("page.code_setup.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/modeling/CodeSetup.tsx",lineNumber:8,columnNumber:5},this)}function Y4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.code_compile.title"),version:"0.4.13",description:i("page.code_compile.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/modeling/CodeCompile.tsx",lineNumber:8,columnNumber:5},this)}function $4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.code_review.title"),version:"0.4.14",description:i("page.code_review.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/modeling/CodeReview.tsx",lineNumber:8,columnNumber:5},this)}function q4(){const{t:i}=Ut();return G.jsxDEV(ia,{title:i("page.code_result.title"),version:"0.4.14",description:i("page.code_result.description")},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/pages/studio/modeling/CodeResult.tsx",lineNumber:8,columnNumber:5},this)}const G4=SN([{element:G.jsxDEV(w4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:23,columnNumber:14},void 0),children:[{path:"/",element:G.jsxDEV(A4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:25,columnNumber:29},void 0)},{path:"/login",element:G.jsxDEV(N4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:26,columnNumber:34},void 0)},{path:"/docs",element:G.jsxDEV(_4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:27,columnNumber:33},void 0)}]},{path:"/studio",element:G.jsxDEV(C4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:34,columnNumber:14},void 0),children:[{index:!0,element:G.jsxDEV(FA,{to:"/studio/sources",replace:!0},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:36,columnNumber:31},void 0)},{path:"sources",element:G.jsxDEV(U4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:37,columnNumber:35},void 0)},{path:"modeling",element:G.jsxDEV(z4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:38,columnNumber:36},void 0)},{path:"modeling/code/setup",element:G.jsxDEV(B4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:39,columnNumber:47},void 0)},{path:"modeling/code/compile",element:G.jsxDEV(Y4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:40,columnNumber:49},void 0)},{path:"modeling/code/review",element:G.jsxDEV($4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:41,columnNumber:48},void 0)},{path:"modeling/code/result",element:G.jsxDEV(q4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:42,columnNumber:48},void 0)},{path:"brain",element:G.jsxDEV(L4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:43,columnNumber:33},void 0)},{path:"discovery",element:G.jsxDEV(j4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:44,columnNumber:37},void 0)},{path:"sharing",element:G.jsxDEV(H4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:45,columnNumber:35},void 0)},{path:"collaboration",element:G.jsxDEV(k4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:46,columnNumber:41},void 0)},{path:"settings",element:G.jsxDEV(V4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:47,columnNumber:36},void 0)}]},{path:"*",element:G.jsxDEV(M4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/router.tsx",lineNumber:52,columnNumber:25},void 0)}]);function X4(){return G.jsxDEV(QA,{router:G4},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/App.tsx",lineNumber:5,columnNumber:10},this)}rC.createRoot(document.getElementById("root")).render(G.jsxDEV(j.StrictMode,{children:G.jsxDEV(X4,{},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/main.tsx",lineNumber:9,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/bytedance/github/c4a/packages/web/src/main.tsx",lineNumber:8,columnNumber:3},void 0));