zora-agent 0.10.3 → 0.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/daemon.js +1 -0
- package/dist/cli/daemon.js.map +1 -1
- package/dist/dashboard/frontend/dist/assets/index-DUWsm1g-.js +277 -0
- package/dist/dashboard/frontend/dist/index.html +1 -1
- package/dist/dashboard/server.d.ts +9 -0
- package/dist/dashboard/server.d.ts.map +1 -1
- package/dist/dashboard/server.js +117 -7
- package/dist/dashboard/server.js.map +1 -1
- package/dist/orchestrator/code-tool-runner.d.ts +7 -1
- package/dist/orchestrator/code-tool-runner.d.ts.map +1 -1
- package/dist/orchestrator/code-tool-runner.js +56 -30
- package/dist/orchestrator/code-tool-runner.js.map +1 -1
- package/dist/orchestrator/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator/orchestrator.js +22 -1
- package/dist/orchestrator/orchestrator.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))s(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function s(u){if(u.ep)return;u.ep=!0;const f=i(u);fetch(u.href,f)}})();function Rc(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ug={exports:{}},ah={},jg={exports:{}},yc={exports:{}};yc.exports;var QT;function f_(){return QT||(QT=1,(function(n,a){(function(){function i(T,q){Object.defineProperty(f.prototype,T,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",q[0],q[1])}})}function s(T){return T===null||typeof T!="object"?null:(T=Kn&&T[Kn]||T["@@iterator"],typeof T=="function"?T:null)}function u(T,q){T=(T=T.constructor)&&(T.displayName||T.name)||"ReactClass";var de=T+"."+q;Hr[de]||(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.",q,T),Hr[de]=!0)}function f(T,q,de){this.props=T,this.context=q,this.refs=lt,this.updater=de||Ba}function d(){}function h(T,q,de){this.props=T,this.context=q,this.refs=lt,this.updater=de||Ba}function b(){}function y(T){return""+T}function p(T){try{y(T);var q=!1}catch{q=!0}if(q){q=console;var de=q.error,be=typeof Symbol=="function"&&Symbol.toStringTag&&T[Symbol.toStringTag]||T.constructor.name||"Object";return de.call(q,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",be),y(T)}}function v(T){if(T==null)return null;if(typeof T=="function")return T.$$typeof===ls?null:T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case U:return"Fragment";case C:return"Profiler";case ue:return"StrictMode";case je:return"Suspense";case Ke:return"SuspenseList";case we:return"Activity"}if(typeof T=="object")switch(typeof T.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),T.$$typeof){case z:return"Portal";case at:return T.displayName||"Context";case xe:return(T._context.displayName||"Context")+".Consumer";case gn:var q=T.render;return T=T.displayName,T||(T=q.displayName||q.name||"",T=T!==""?"ForwardRef("+T+")":"ForwardRef"),T;case Ut:return q=T.displayName||null,q!==null?q:v(T.type)||"Memo";case Lt:q=T._payload,T=T._init;try{return v(T(q))}catch{}}return null}function x(T){if(T===U)return"<>";if(typeof T=="object"&&T!==null&&T.$$typeof===Lt)return"<...>";try{var q=v(T);return q?"<"+q+">":"<...>"}catch{return"<...>"}}function S(){var T=De.A;return T===null?null:T.getOwner()}function N(){return Error("react-stack-top-frame")}function V(T){if(gi.call(T,"key")){var q=Object.getOwnPropertyDescriptor(T,"key").get;if(q&&q.isReactWarning)return!1}return T.key!==void 0}function R(T,q){function de(){Ha||(Ha=!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)",q))}de.isReactWarning=!0,Object.defineProperty(T,"key",{get:de,configurable:!0})}function _(){var T=v(this.type);return us[T]||(us[T]=!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.")),T=this.props.ref,T!==void 0?T:null}function X(T,q,de,be,Ce,Pe){var Oe=de.ref;return T={$$typeof:Ae,type:T,key:q,props:de,_owner:be},(Oe!==void 0?Oe:null)!==null?Object.defineProperty(T,"ref",{enumerable:!1,get:_}):Object.defineProperty(T,"ref",{enumerable:!1,value:null}),T._store={},Object.defineProperty(T._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(T,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(T,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ce}),Object.defineProperty(T,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Pe}),Object.freeze&&(Object.freeze(T.props),Object.freeze(T)),T}function I(T,q){return q=X(T.type,q,T.props,T._owner,T._debugStack,T._debugTask),T._store&&(q._store.validated=T._store.validated),q}function ie(T){re(T)?T._store&&(T._store.validated=1):typeof T=="object"&&T!==null&&T.$$typeof===Lt&&(T._payload.status==="fulfilled"?re(T._payload.value)&&T._payload.value._store&&(T._payload.value._store.validated=1):T._store&&(T._store.validated=1))}function re(T){return typeof T=="object"&&T!==null&&T.$$typeof===Ae}function G(T){var q={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(de){return q[de]})}function ge(T,q){return typeof T=="object"&&T!==null&&T.key!=null?(p(T.key),G(""+T.key)):q.toString(36)}function le(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(b,b):(T.status="pending",T.then(function(q){T.status==="pending"&&(T.status="fulfilled",T.value=q)},function(q){T.status==="pending"&&(T.status="rejected",T.reason=q)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function ce(T,q,de,be,Ce){var Pe=typeof T;(Pe==="undefined"||Pe==="boolean")&&(T=null);var Oe=!1;if(T===null)Oe=!0;else switch(Pe){case"bigint":case"string":case"number":Oe=!0;break;case"object":switch(T.$$typeof){case Ae:case z:Oe=!0;break;case Lt:return Oe=T._init,ce(Oe(T._payload),q,de,be,Ce)}}if(Oe){Oe=T,Ce=Ce(Oe);var ot=be===""?"."+ge(Oe,0):be;return yi(Ce)?(de="",ot!=null&&(de=ot.replace(Ie,"$&/")+"/"),ce(Ce,q,de,"",function(An){return An})):Ce!=null&&(re(Ce)&&(Ce.key!=null&&(Oe&&Oe.key===Ce.key||p(Ce.key)),de=I(Ce,de+(Ce.key==null||Oe&&Oe.key===Ce.key?"":(""+Ce.key).replace(Ie,"$&/")+"/")+ot),be!==""&&Oe!=null&&re(Oe)&&Oe.key==null&&Oe._store&&!Oe._store.validated&&(de._store.validated=2),Ce=de),q.push(Ce)),1}if(Oe=0,ot=be===""?".":be+":",yi(T))for(var qe=0;qe<T.length;qe++)be=T[qe],Pe=ot+ge(be,qe),Oe+=ce(be,q,de,Pe,Ce);else if(qe=s(T),typeof qe=="function")for(qe===T.entries&&(Te||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Te=!0),T=qe.call(T),qe=0;!(be=T.next()).done;)be=be.value,Pe=ot+ge(be,qe++),Oe+=ce(be,q,de,Pe,Ce);else if(Pe==="object"){if(typeof T.then=="function")return ce(le(T),q,de,be,Ce);throw q=String(T),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return Oe}function F(T,q,de){if(T==null)return T;var be=[],Ce=0;return ce(T,be,"","",function(Pe){return q.call(de,Pe,Ce++)}),be}function he(T){if(T._status===-1){var q=T._ioInfo;q!=null&&(q.start=q.end=performance.now()),q=T._result;var de=q();if(de.then(function(Ce){if(T._status===0||T._status===-1){T._status=1,T._result=Ce;var Pe=T._ioInfo;Pe!=null&&(Pe.end=performance.now()),de.status===void 0&&(de.status="fulfilled",de.value=Ce)}},function(Ce){if(T._status===0||T._status===-1){T._status=2,T._result=Ce;var Pe=T._ioInfo;Pe!=null&&(Pe.end=performance.now()),de.status===void 0&&(de.status="rejected",de.reason=Ce)}}),q=T._ioInfo,q!=null){q.value=de;var be=de.displayName;typeof be=="string"&&(q.name=be)}T._status===-1&&(T._status=0,T._result=de)}if(T._status===1)return q=T._result,q===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?`,q),"default"in q||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'))`,q),q.default;throw T._result}function se(){var T=De.H;return T===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.`),T}function W(){De.asyncTransitions--}function K(T){if(Dn===null)try{var q=("require"+Math.random()).slice(0,7);Dn=(n&&n[q]).call(n,"timers").setImmediate}catch{Dn=function(be){Pt===!1&&(Pt=!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 Ce=new MessageChannel;Ce.port1.onmessage=be,Ce.port2.postMessage(void 0)}}return Dn(T)}function oe(T){return 1<T.length&&typeof AggregateError=="function"?new AggregateError(T):T[0]}function Y(T,q){q!==an-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. "),an=q}function ae(T,q,de){var be=De.actQueue;if(be!==null)if(be.length!==0)try{pe(be),K(function(){return ae(T,q,de)});return}catch(Ce){De.thrownErrors.push(Ce)}else De.actQueue=null;0<De.thrownErrors.length?(be=oe(De.thrownErrors),De.thrownErrors.length=0,de(be)):q(T)}function pe(T){if(!gr){gr=!0;var q=0;try{for(;q<T.length;q++){var de=T[q];do{De.didUsePromise=!1;var be=de(!1);if(be!==null){if(De.didUsePromise){T[q]=de,T.splice(0,q);return}de=be}else break}while(!0)}T.length=0}catch(Ce){T.splice(0,q+1),De.thrownErrors.push(Ce)}finally{gr=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ae=Symbol.for("react.transitional.element"),z=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),ue=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),xe=Symbol.for("react.consumer"),at=Symbol.for("react.context"),gn=Symbol.for("react.forward_ref"),je=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),Ut=Symbol.for("react.memo"),Lt=Symbol.for("react.lazy"),we=Symbol.for("react.activity"),Kn=Symbol.iterator,Hr={},Ba={isMounted:function(){return!1},enqueueForceUpdate:function(T){u(T,"forceUpdate")},enqueueReplaceState:function(T){u(T,"replaceState")},enqueueSetState:function(T){u(T,"setState")}},Pr=Object.assign,lt={};Object.freeze(lt),f.prototype.isReactComponent={},f.prototype.setState=function(T,q){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,q,"setState")},f.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};var Wt={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(Nn in Wt)Wt.hasOwnProperty(Nn)&&i(Nn,Wt[Nn]);d.prototype=f.prototype,Wt=h.prototype=new d,Wt.constructor=h,Pr(Wt,f.prototype),Wt.isPureReactComponent=!0;var yi=Array.isArray,ls=Symbol.for("react.client.reference"),De={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},gi=Object.prototype.hasOwnProperty,yr=console.createTask?console.createTask:function(){return null};Wt={react_stack_bottom_frame:function(T){return T()}};var Ha,ra,us={},ee=Wt.react_stack_bottom_frame.bind(Wt,N)(),te=yr(x(N)),Te=!1,Ie=/\/+/g,it=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},Pt=!1,Dn=null,an=0,Wn=!1,gr=!1,qt=typeof queueMicrotask=="function"?function(T){queueMicrotask(function(){return queueMicrotask(T)})}:K;Wt=Object.freeze({__proto__:null,c:function(T){return se().useMemoCache(T)}});var Nn={map:F,forEach:function(T,q,de){F(T,function(){q.apply(this,arguments)},de)},count:function(T){var q=0;return F(T,function(){q++}),q},toArray:function(T){return F(T,function(q){return q})||[]},only:function(T){if(!re(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};a.Activity=we,a.Children=Nn,a.Component=f,a.Fragment=U,a.Profiler=C,a.PureComponent=h,a.StrictMode=ue,a.Suspense=je,a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=De,a.__COMPILER_RUNTIME=Wt,a.act=function(T){var q=De.actQueue,de=an;an++;var be=De.actQueue=q!==null?q:[],Ce=!1;try{var Pe=T()}catch(qe){De.thrownErrors.push(qe)}if(0<De.thrownErrors.length)throw Y(q,de),T=oe(De.thrownErrors),De.thrownErrors.length=0,T;if(Pe!==null&&typeof Pe=="object"&&typeof Pe.then=="function"){var Oe=Pe;return qt(function(){Ce||Wn||(Wn=!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(qe,An){Ce=!0,Oe.then(function(aa){if(Y(q,de),de===0){try{pe(be),K(function(){return ae(aa,qe,An)})}catch(cs){De.thrownErrors.push(cs)}if(0<De.thrownErrors.length){var Ic=oe(De.thrownErrors);De.thrownErrors.length=0,An(Ic)}}else qe(aa)},function(aa){Y(q,de),0<De.thrownErrors.length&&(aa=oe(De.thrownErrors),De.thrownErrors.length=0),An(aa)})}}}var ot=Pe;if(Y(q,de),de===0&&(pe(be),be.length!==0&&qt(function(){Ce||Wn||(Wn=!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(() => ...)"))}),De.actQueue=null),0<De.thrownErrors.length)throw T=oe(De.thrownErrors),De.thrownErrors.length=0,T;return{then:function(qe,An){Ce=!0,de===0?(De.actQueue=be,K(function(){return ae(ot,qe,An)})):qe(ot)}}},a.cache=function(T){return function(){return T.apply(null,arguments)}},a.cacheSignal=function(){return null},a.captureOwnerStack=function(){var T=De.getCurrentStack;return T===null?null:T()},a.cloneElement=function(T,q,de){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var be=Pr({},T.props),Ce=T.key,Pe=T._owner;if(q!=null){var Oe;e:{if(gi.call(q,"ref")&&(Oe=Object.getOwnPropertyDescriptor(q,"ref").get)&&Oe.isReactWarning){Oe=!1;break e}Oe=q.ref!==void 0}Oe&&(Pe=S()),V(q)&&(p(q.key),Ce=""+q.key);for(ot in q)!gi.call(q,ot)||ot==="key"||ot==="__self"||ot==="__source"||ot==="ref"&&q.ref===void 0||(be[ot]=q[ot])}var ot=arguments.length-2;if(ot===1)be.children=de;else if(1<ot){Oe=Array(ot);for(var qe=0;qe<ot;qe++)Oe[qe]=arguments[qe+2];be.children=Oe}for(be=X(T.type,Ce,be,Pe,T._debugStack,T._debugTask),Ce=2;Ce<arguments.length;Ce++)ie(arguments[Ce]);return be},a.createContext=function(T){return T={$$typeof:at,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:xe,_context:T},T._currentRenderer=null,T._currentRenderer2=null,T},a.createElement=function(T,q,de){for(var be=2;be<arguments.length;be++)ie(arguments[be]);be={};var Ce=null;if(q!=null)for(qe in ra||!("__self"in q)||"key"in q||(ra=!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")),V(q)&&(p(q.key),Ce=""+q.key),q)gi.call(q,qe)&&qe!=="key"&&qe!=="__self"&&qe!=="__source"&&(be[qe]=q[qe]);var Pe=arguments.length-2;if(Pe===1)be.children=de;else if(1<Pe){for(var Oe=Array(Pe),ot=0;ot<Pe;ot++)Oe[ot]=arguments[ot+2];Object.freeze&&Object.freeze(Oe),be.children=Oe}if(T&&T.defaultProps)for(qe in Pe=T.defaultProps,Pe)be[qe]===void 0&&(be[qe]=Pe[qe]);Ce&&R(be,typeof T=="function"?T.displayName||T.name||"Unknown":T);var qe=1e4>De.recentlyCreatedOwnerStacks++;return X(T,Ce,be,S(),qe?Error("react-stack-top-frame"):ee,qe?yr(x(T)):te)},a.createRef=function(){var T={current:null};return Object.seal(T),T},a.forwardRef=function(T){T!=null&&T.$$typeof===Ut?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof T!="function"?console.error("forwardRef requires a render function but was given %s.",T===null?"null":typeof T):T.length!==0&&T.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",T.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),T!=null&&T.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var q={$$typeof:gn,render:T},de;return Object.defineProperty(q,"displayName",{enumerable:!1,configurable:!0,get:function(){return de},set:function(be){de=be,T.name||T.displayName||(Object.defineProperty(T,"name",{value:be}),T.displayName=be)}}),q},a.isValidElement=re,a.lazy=function(T){T={_status:-1,_result:T};var q={$$typeof:Lt,_payload:T,_init:he},de={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return T._ioInfo=de,q._debugInfo=[{awaited:de}],q},a.memo=function(T,q){T==null&&console.error("memo: The first argument must be a component. Instead received: %s",T===null?"null":typeof T),q={$$typeof:Ut,type:T,compare:q===void 0?null:q};var de;return Object.defineProperty(q,"displayName",{enumerable:!1,configurable:!0,get:function(){return de},set:function(be){de=be,T.name||T.displayName||(Object.defineProperty(T,"name",{value:be}),T.displayName=be)}}),q},a.startTransition=function(T){var q=De.T,de={};de._updatedFibers=new Set,De.T=de;try{var be=T(),Ce=De.S;Ce!==null&&Ce(de,be),typeof be=="object"&&be!==null&&typeof be.then=="function"&&(De.asyncTransitions++,be.then(W,W),be.then(b,it))}catch(Pe){it(Pe)}finally{q===null&&de._updatedFibers&&(T=de._updatedFibers.size,de._updatedFibers.clear(),10<T&&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.")),q!==null&&de.types!==null&&(q.types!==null&&q.types!==de.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."),q.types=de.types),De.T=q}},a.unstable_useCacheRefresh=function(){return se().useCacheRefresh()},a.use=function(T){return se().use(T)},a.useActionState=function(T,q,de){return se().useActionState(T,q,de)},a.useCallback=function(T,q){return se().useCallback(T,q)},a.useContext=function(T){var q=se();return T.$$typeof===xe&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),q.useContext(T)},a.useDebugValue=function(T,q){return se().useDebugValue(T,q)},a.useDeferredValue=function(T,q){return se().useDeferredValue(T,q)},a.useEffect=function(T,q){return T==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),se().useEffect(T,q)},a.useEffectEvent=function(T){return se().useEffectEvent(T)},a.useId=function(){return se().useId()},a.useImperativeHandle=function(T,q,de){return se().useImperativeHandle(T,q,de)},a.useInsertionEffect=function(T,q){return T==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),se().useInsertionEffect(T,q)},a.useLayoutEffect=function(T,q){return T==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),se().useLayoutEffect(T,q)},a.useMemo=function(T,q){return se().useMemo(T,q)},a.useOptimistic=function(T,q){return se().useOptimistic(T,q)},a.useReducer=function(T,q,de){return se().useReducer(T,q,de)},a.useRef=function(T){return se().useRef(T)},a.useState=function(T){return se().useState(T)},a.useSyncExternalStore=function(T,q,de){return se().useSyncExternalStore(T,q,de)},a.useTransition=function(){return se().useTransition()},a.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(yc,yc.exports)),yc.exports}var ZT;function zc(){return ZT||(ZT=1,jg.exports=f_()),jg.exports}var JT;function d_(){if(JT)return ah;JT=1;return(function(){function n(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===he?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case R:return"Fragment";case X:return"Profiler";case _:return"StrictMode";case G:return"Suspense";case ge:return"SuspenseList";case F:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case V:return"Portal";case ie:return U.displayName||"Context";case I:return(U._context.displayName||"Context")+".Consumer";case re:var ue=U.render;return U=U.displayName,U||(U=ue.displayName||ue.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case le:return ue=U.displayName||null,ue!==null?ue:n(U.type)||"Memo";case ce:ue=U._payload,U=U._init;try{return n(U(ue))}catch{}}return null}function a(U){return""+U}function i(U){try{a(U);var ue=!1}catch{ue=!0}if(ue){ue=console;var C=ue.error,xe=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return C.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xe),a(U)}}function s(U){if(U===R)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===ce)return"<...>";try{var ue=n(U);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function u(){var U=se.A;return U===null?null:U.getOwner()}function f(){return Error("react-stack-top-frame")}function d(U){if(W.call(U,"key")){var ue=Object.getOwnPropertyDescriptor(U,"key").get;if(ue&&ue.isReactWarning)return!1}return U.key!==void 0}function h(U,ue){function C(){Y||(Y=!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)",ue))}C.isReactWarning=!0,Object.defineProperty(U,"key",{get:C,configurable:!0})}function b(){var U=n(this.type);return ae[U]||(ae[U]=!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.")),U=this.props.ref,U!==void 0?U:null}function y(U,ue,C,xe,at,gn){var je=C.ref;return U={$$typeof:N,type:U,key:ue,props:C,_owner:xe},(je!==void 0?je:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:b}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:at}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:gn}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function p(U,ue,C,xe,at,gn){var je=ue.children;if(je!==void 0)if(xe)if(K(je)){for(xe=0;xe<je.length;xe++)v(je[xe]);Object.freeze&&Object.freeze(je)}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 v(je);if(W.call(ue,"key")){je=n(U);var Ke=Object.keys(ue).filter(function(Lt){return Lt!=="key"});xe=0<Ke.length?"{key: someKey, "+Ke.join(": ..., ")+": ...}":"{key: someKey}",z[je+xe]||(Ke=0<Ke.length?"{"+Ke.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} />`,xe,je,Ke,je),z[je+xe]=!0)}if(je=null,C!==void 0&&(i(C),je=""+C),d(ue)&&(i(ue.key),je=""+ue.key),"key"in ue){C={};for(var Ut in ue)Ut!=="key"&&(C[Ut]=ue[Ut])}else C=ue;return je&&h(C,typeof U=="function"?U.displayName||U.name||"Unknown":U),y(U,je,C,u(),at,gn)}function v(U){x(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===ce&&(U._payload.status==="fulfilled"?x(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function x(U){return typeof U=="object"&&U!==null&&U.$$typeof===N}var S=zc(),N=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),le=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),he=Symbol.for("react.client.reference"),se=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=Object.prototype.hasOwnProperty,K=Array.isArray,oe=console.createTask?console.createTask:function(){return null};S={react_stack_bottom_frame:function(U){return U()}};var Y,ae={},pe=S.react_stack_bottom_frame.bind(S,f)(),Ae=oe(s(f)),z={};ah.Fragment=R,ah.jsxDEV=function(U,ue,C,xe){var at=1e4>se.recentlyCreatedOwnerStacks++;return p(U,ue,C,xe,at?Error("react-stack-top-frame"):pe,at?oe(s(U)):Ae)}})(),ah}var KT;function h_(){return KT||(KT=1,Ug.exports=d_()),Ug.exports}var A=h_(),me=zc();const Ph=Rc(me);var Vg={exports:{}},lc={},Lg={exports:{}},Bg={},WT;function m_(){return WT||(WT=1,(function(n){(function(){function a(){if(re=!1,ce){var Y=n.unstable_now();se=Y;var ae=!0;try{e:{I=!1,ie&&(ie=!1,ge(F),F=-1),X=!0;var pe=_;try{t:{for(d(Y),R=s(S);R!==null&&!(R.expirationTime>Y&&b());){var Ae=R.callback;if(typeof Ae=="function"){R.callback=null,_=R.priorityLevel;var z=Ae(R.expirationTime<=Y);if(Y=n.unstable_now(),typeof z=="function"){R.callback=z,d(Y),ae=!0;break t}R===s(S)&&u(S),d(Y)}else u(S);R=s(S)}if(R!==null)ae=!0;else{var U=s(N);U!==null&&y(h,U.startTime-Y),ae=!1}}break e}finally{R=null,_=pe,X=!1}ae=void 0}}finally{ae?W():ce=!1}}}function i(Y,ae){var pe=Y.length;Y.push(ae);e:for(;0<pe;){var Ae=pe-1>>>1,z=Y[Ae];if(0<f(z,ae))Y[Ae]=ae,Y[pe]=z,pe=Ae;else break e}}function s(Y){return Y.length===0?null:Y[0]}function u(Y){if(Y.length===0)return null;var ae=Y[0],pe=Y.pop();if(pe!==ae){Y[0]=pe;e:for(var Ae=0,z=Y.length,U=z>>>1;Ae<U;){var ue=2*(Ae+1)-1,C=Y[ue],xe=ue+1,at=Y[xe];if(0>f(C,pe))xe<z&&0>f(at,C)?(Y[Ae]=at,Y[xe]=pe,Ae=xe):(Y[Ae]=C,Y[ue]=pe,Ae=ue);else if(xe<z&&0>f(at,pe))Y[Ae]=at,Y[xe]=pe,Ae=xe;else break e}}return ae}function f(Y,ae){var pe=Y.sortIndex-ae.sortIndex;return pe!==0?pe:Y.id-ae.id}function d(Y){for(var ae=s(N);ae!==null;){if(ae.callback===null)u(N);else if(ae.startTime<=Y)u(N),ae.sortIndex=ae.expirationTime,i(S,ae);else break;ae=s(N)}}function h(Y){if(ie=!1,d(Y),!I)if(s(S)!==null)I=!0,ce||(ce=!0,W());else{var ae=s(N);ae!==null&&y(h,ae.startTime-Y)}}function b(){return re?!0:!(n.unstable_now()-se<he)}function y(Y,ae){F=G(function(){Y(n.unstable_now())},ae)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;n.unstable_now=function(){return p.now()}}else{var v=Date,x=v.now();n.unstable_now=function(){return v.now()-x}}var S=[],N=[],V=1,R=null,_=3,X=!1,I=!1,ie=!1,re=!1,G=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,le=typeof setImmediate<"u"?setImmediate:null,ce=!1,F=-1,he=5,se=-1;if(typeof le=="function")var W=function(){le(a)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,oe=K.port2;K.port1.onmessage=a,W=function(){oe.postMessage(null)}}else W=function(){G(a,0)};n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Y){Y.callback=null},n.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<Y?Math.floor(1e3/Y):5},n.unstable_getCurrentPriorityLevel=function(){return _},n.unstable_next=function(Y){switch(_){case 1:case 2:case 3:var ae=3;break;default:ae=_}var pe=_;_=ae;try{return Y()}finally{_=pe}},n.unstable_requestPaint=function(){re=!0},n.unstable_runWithPriority=function(Y,ae){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var pe=_;_=Y;try{return ae()}finally{_=pe}},n.unstable_scheduleCallback=function(Y,ae,pe){var Ae=n.unstable_now();switch(typeof pe=="object"&&pe!==null?(pe=pe.delay,pe=typeof pe=="number"&&0<pe?Ae+pe:Ae):pe=Ae,Y){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=pe+z,Y={id:V++,callback:ae,priorityLevel:Y,startTime:pe,expirationTime:z,sortIndex:-1},pe>Ae?(Y.sortIndex=pe,i(N,Y),s(S)===null&&Y===s(N)&&(ie?(ge(F),F=-1):ie=!0,y(h,pe-Ae))):(Y.sortIndex=z,i(S,Y),I||X||(I=!0,ce||(ce=!0,W()))),Y},n.unstable_shouldYield=b,n.unstable_wrapCallback=function(Y){var ae=_;return function(){var pe=_;_=ae;try{return Y.apply(this,arguments)}finally{_=pe}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Bg)),Bg}var ek;function p_(){return ek||(ek=1,Lg.exports=m_()),Lg.exports}var Hg={exports:{}},Sn={},tk;function y_(){if(tk)return Sn;tk=1;return(function(){function n(){}function a(v){return""+v}function i(v,x,S){var N=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{a(N);var V=!1}catch{V=!0}return V&&(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&&N[Symbol.toStringTag]||N.constructor.name||"Object"),a(N)),{$$typeof:y,key:N==null?null:""+N,children:v,containerInfo:x,implementation:S}}function s(v,x){if(v==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}function u(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":'something with type "'+typeof v+'"'}function f(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":typeof v=="string"?JSON.stringify(v):typeof v=="number"?"`"+v+"`":'something with type "'+typeof v+'"'}function d(){var v=p.H;return v===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
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.`),v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var h=zc(),b={d:{f:n,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},y=Symbol.for("react.portal"),p=h.__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=b,Sn.createPortal=function(v,x){var S=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 i(v,x,null,S)},Sn.flushSync=function(v){var x=p.T,S=b.p;try{if(p.T=null,b.p=2,v)return v()}finally{p.T=x,b.p=S,b.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(v,x){typeof v=="string"&&v?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.",f(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.",u(x.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v=="string"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,b.d.C(v,x))},Sn.prefetchDNS=function(v){if(typeof v!="string"||!v)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v));else if(1<arguments.length){var 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`.",f(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`.",f(x))}typeof v=="string"&&b.d.D(v)},Sn.preinit=function(v,x){if(typeof v=="string"&&v?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.",f(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".',f(x.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",u(v)),typeof v=="string"&&x&&typeof x.as=="string"){var S=x.as,N=s(S,x.crossOrigin),V=typeof x.integrity=="string"?x.integrity:void 0,R=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;S==="style"?b.d.S(v,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:N,integrity:V,fetchPriority:R}):S==="script"&&b.d.X(v,{crossOrigin:N,integrity:V,fetchPriority:R,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},Sn.preinitModule=function(v,x){var S="";typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x!==void 0&&typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":x&&"as"in x&&x.as!=="script"&&(S+=" The `as` option encountered was "+f(x.as)+"."),S?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",S):(S=x&&typeof x.as=="string"?x.as:"script",S)==="script"||(S=f(S),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)',S,v)),typeof v=="string"&&(typeof x=="object"&&x!==null?(x.as==null||x.as==="script")&&(S=s(x.as,x.crossOrigin),b.d.M(v,{crossOrigin:S,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})):x==null&&b.d.M(v))},Sn.preload=function(v,x){var S="";if(typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x==null||typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":typeof x.as=="string"&&x.as||(S+=" The `as` option encountered was "+u(x.as)+"."),S&&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',S),typeof v=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){S=x.as;var N=s(S,x.crossOrigin);b.d.L(v,S,{crossOrigin:N,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(v,x){var S="";typeof v=="string"&&v||(S+=" The `href` argument encountered was "+u(v)+"."),x!==void 0&&typeof x!="object"?S+=" The `options` argument encountered was "+u(x)+".":x&&"as"in x&&typeof x.as!="string"&&(S+=" The `as` option encountered was "+u(x.as)+"."),S&&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',S),typeof v=="string"&&(x?(S=s(x.as,x.crossOrigin),b.d.m(v,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:S,integrity:typeof x.integrity=="string"?x.integrity:void 0})):b.d.m(v))},Sn.requestFormReset=function(v){b.d.r(v)},Sn.unstable_batchedUpdates=function(v,x){return v(x)},Sn.useFormState=function(v,x,S){return d().useFormState(v,x,S)},Sn.useFormStatus=function(){return d().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 nk;function g_(){return nk||(nk=1,Hg.exports=y_()),Hg.exports}var rk;function b_(){if(rk)return lc;rk=1;return(function(){function n(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function a(e,t,r,o){if(r>=t.length)return o;var l=t[r],c=en(e)?e.slice():Je({},e);return c[l]=a(e[l],t,r+1,o),c}function i(e,t,r){if(t.length!==r.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<r.length-1;o++)if(t[o]!==r[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,t,r,0)}}function s(e,t,r,o){var l=t[o],c=en(e)?e.slice():Je({},e);return o+1===t.length?(c[r[o]]=c[l],en(c)?c.splice(l,1):delete c[l]):c[l]=s(e[l],t,r,o+1),c}function u(e,t,r){var o=t[r],l=en(e)?e.slice():Je({},e);return r+1===t.length?(en(l)?l.splice(o,1):delete l[o],l):(l[o]=u(e[o],t,r+1),l)}function f(){return!1}function d(){return null}function h(){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 b(){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 y(){}function p(){}function v(e){var t=[];return e.forEach(function(r){t.push(r)}),t.sort().join(", ")}function x(e,t,r,o){return new KR(e,t,r,o)}function S(e,t){e.context===Vi&&(ey(e.current,2,t,e,null,null),Es())}function N(e,t){if(Tr!==null){var r=t.staleFamilies;t=t.updatedFamilies,ru(),tx(e.current,t,r),Es()}}function V(e){Tr=e}function R(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function X(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 I(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 ie(e){if(_(e)!==e)throw Error("Unable to find node on an unmounted component.")}function re(e){var t=e.alternate;if(!t){if(t=_(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,o=t;;){var l=r.return;if(l===null)break;var c=l.alternate;if(c===null){if(o=l.return,o!==null){r=o;continue}break}if(l.child===c.child){for(c=l.child;c;){if(c===r)return ie(l),e;if(c===o)return ie(l),t;c=c.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=l,o=c;else{for(var m=!1,g=l.child;g;){if(g===r){m=!0,r=l,o=c;break}if(g===o){m=!0,o=l,r=c;break}g=g.sibling}if(!m){for(g=c.child;g;){if(g===r){m=!0,r=c,o=l;break}if(g===o){m=!0,o=c,r=l;break}g=g.sibling}if(!m)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(r.alternate!==o)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(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function G(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=G(e),t!==null)return t;e=e.sibling}return null}function ge(e){return e===null||typeof e!="object"?null:(e=lw&&e[lw]||e["@@iterator"],typeof e=="function"?e:null)}function le(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===xO?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Rs:return"Fragment";case sy:return"Profiler";case Kf:return"StrictMode";case uy:return"Suspense";case cy:return"SuspenseList";case fy: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 Cs:return"Portal";case wa:return e.displayName||"Context";case ly:return(e._context.displayName||"Context")+".Consumer";case hu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wf:return t=e.displayName||null,t!==null?t:le(e.type)||"Memo";case sr:t=e._payload,e=e._init;try{return le(e(t))}catch{}}return null}function ce(e){return typeof e.tag=="number"?F(e):typeof e.name=="string"?e.name:null}function F(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 le(t);case 8:return t===Kf?"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 r=t.length-1;0<=r;r--)if(typeof t[r].name=="string")return t[r].name}if(e.return!==null)return F(e.return)}return null}function he(e){return{current:e}}function se(e,t){0>Za?console.error("Unexpected pop."):(t!==hy[Za]&&console.error("Unexpected Fiber popped."),e.current=dy[Za],dy[Za]=null,hy[Za]=null,Za--)}function W(e,t,r){Za++,dy[Za]=e.current,hy[Za]=r,e.current=t}function K(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 oe(e,t){W(zi,t,e),W(mu,e,e),W(Ri,null,e);var r=t.nodeType;switch(r){case 9:case 11:r=r===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?OS(t):fi;break;default:if(r=t.tagName,t=t.namespaceURI)t=OS(t),t=MS(t,r);else switch(r){case"svg":t=cl;break;case"math":t=Jd;break;default:t=fi}}r=r.toLowerCase(),r=Dv(null,r),r={context:t,ancestorInfo:r},se(Ri,e),W(Ri,r,e)}function Y(e){se(Ri,e),se(mu,e),se(zi,e)}function ae(){return K(Ri.current)}function pe(e){e.memoizedState!==null&&W(ed,e,e);var t=K(Ri.current),r=e.type,o=MS(t.context,r);r=Dv(t.ancestorInfo,r),o={context:o,ancestorInfo:r},t!==o&&(W(mu,e,e),W(Ri,o,e))}function Ae(e){mu.current===e&&(se(Ri,e),se(mu,e)),ed.current===e&&(se(ed,e),ic._currentValue=Jo)}function z(){}function U(){if(pu===0){uw=console.log,cw=console.info,fw=console.warn,dw=console.error,hw=console.group,mw=console.groupCollapsed,pw=console.groupEnd;var e={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}pu++}function ue(){if(pu--,pu===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Je({},e,{value:uw}),info:Je({},e,{value:cw}),warn:Je({},e,{value:fw}),error:Je({},e,{value:dw}),group:Je({},e,{value:hw}),groupCollapsed:Je({},e,{value:mw}),groupEnd:Je({},e,{value:pw})})}0>pu&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function C(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 xe(e){if(my===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);my=t&&t[1]||"",yw=-1<r.stack.indexOf(`
|
|
26
|
+
at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
27
|
+
`+my+e+yw}function at(e,t){if(!e||py)return"";var r=yy.get(e);if(r!==void 0)return r;py=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=Z.H,Z.H=null,U();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(ve){var $=ve}Reflect.construct(e,[],M)}else{try{M.call()}catch(ve){$=ve}e.call(M.prototype)}}else{try{throw Error()}catch(ve){$=ve}(M=e())&&typeof M.catch=="function"&&M.catch(function(){})}}catch(ve){if(ve&&$&&typeof ve.stack=="string")return[ve.stack,$.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=l.DetermineComponentFrameRoot(),g=m[0],w=m[1];if(g&&w){var E=g.split(`
|
|
28
|
+
`),B=w.split(`
|
|
29
|
+
`);for(m=c=0;c<E.length&&!E[c].includes("DetermineComponentFrameRoot");)c++;for(;m<B.length&&!B[m].includes("DetermineComponentFrameRoot");)m++;if(c===E.length||m===B.length)for(c=E.length-1,m=B.length-1;1<=c&&0<=m&&E[c]!==B[m];)m--;for(;1<=c&&0<=m;c--,m--)if(E[c]!==B[m]){if(c!==1||m!==1)do if(c--,m--,0>m||E[c]!==B[m]){var H=`
|
|
30
|
+
`+E[c].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),typeof e=="function"&&yy.set(e,H),H}while(1<=c&&0<=m);break}}}finally{py=!1,Z.H=o,ue(),Error.prepareStackTrace=r}return E=(E=e?e.displayName||e.name:"")?xe(E):"",typeof e=="function"&&yy.set(e,E),E}function gn(e,t){switch(e.tag){case 26:case 27:case 5:return xe(e.type);case 16:return xe("Lazy");case 13:return e.child!==t&&t!==null?xe("Suspense Fallback"):xe("Suspense");case 19:return xe("SuspenseList");case 0:case 15:return at(e.type,!1);case 11:return at(e.type.render,!1);case 1:return at(e.type,!0);case 31:return xe("Activity");default:return""}}function je(e){try{var t="",r=null;do{t+=gn(e,r);var o=e._debugInfo;if(o)for(var l=o.length-1;0<=l;l--){var c=o[l];if(typeof c.name=="string"){var m=t;e:{var g=c.name,w=c.env,E=c.debugLocation;if(E!=null){var B=C(E),H=B.lastIndexOf(`
|
|
31
|
+
`),M=H===-1?B:B.slice(H+1);if(M.indexOf(g)!==-1){var $=`
|
|
32
|
+
`+M;break e}}$=xe(g+(w?" ["+w+"]":""))}t=m+$}}r=e,e=e.return}while(e);return t}catch(ve){return`
|
|
33
|
+
Error generating stack: `+ve.message+`
|
|
34
|
+
`+ve.stack}}function Ke(e){return(e=e?e.displayName||e.name:"")?xe(e):""}function Ut(){if(lr===null)return null;var e=lr._debugOwner;return e!=null?ce(e):null}function Lt(){if(lr===null)return"";var e=lr;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=xe(e.type);break;case 13:t+=xe("Suspense");break;case 19:t+=xe("SuspenseList");break;case 31:t+=xe("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Ke(e.type));break;case 11:e._debugOwner||t!==""||(t+=Ke(e.type.render))}for(;e;)if(typeof e.tag=="number"){var r=e;e=r._debugOwner;var o=r._debugStack;if(e&&o){var l=C(o);l!==""&&(t+=`
|
|
35
|
+
`+l)}}else if(e.debugStack!=null){var c=e.debugStack;(e=e.owner)&&c&&(t+=`
|
|
36
|
+
`+C(c))}else break;var m=t}catch(g){m=`
|
|
37
|
+
Error generating stack: `+g.message+`
|
|
38
|
+
`+g.stack}return m}function we(e,t,r,o,l,c,m){var g=lr;Kn(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,r,o,l,c,m)):t(r,o,l,c,m)}finally{Kn(g)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Kn(e){Z.getCurrentStack=e===null?null:Lt,Ea=!1,lr=e}function Hr(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Ba(e){try{return Pr(e),!1}catch{return!0}}function Pr(e){return""+e}function lt(e,t){if(Ba(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,Hr(e)),Pr(e)}function Wt(e,t){if(Ba(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,Hr(e)),Pr(e)}function yi(e){if(Ba(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.",Hr(e)),Pr(e)}function ls(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{Os=t.inject(e),vn=t}catch(r){console.error("React instrumentation encountered an error: %o.",r)}return!!t.checkDCE}function De(e){if(typeof NO=="function"&&AO(e),vn&&typeof vn.setStrictMode=="function")try{vn.setStrictMode(Os,e)}catch(t){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",t))}}function gi(e){return e>>>=0,e===0?32:31-(CO(e)/RO|0)|0}function yr(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 Ha(e,t,r){var o=e.pendingLanes;if(o===0)return 0;var l=0,c=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var g=o&134217727;return g!==0?(o=g&~c,o!==0?l=yr(o):(m&=g,m!==0?l=yr(m):r||(r=g&~e,r!==0&&(l=yr(r))))):(g=o&~c,g!==0?l=yr(g):m!==0?l=yr(m):r||(r=o&~e,r!==0&&(l=yr(r)))),l===0?0:t!==0&&t!==l&&(t&c)===0&&(c=l&-l,r=t&-t,c>=r||c===32&&(r&4194048)!==0)?t:l}function ra(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function us(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 ee(){var e=rd;return rd<<=1,(rd&62914560)===0&&(rd=4194304),e}function te(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Te(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ie(e,t,r,o,l,c){var m=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var g=e.entanglements,w=e.expirationTimes,E=e.hiddenUpdates;for(r=m&~r;0<r;){var B=31-Rn(r),H=1<<B;g[B]=0,w[B]=-1;var M=E[B];if(M!==null)for(E[B]=null,B=0;B<M.length;B++){var $=M[B];$!==null&&($.lane&=-536870913)}r&=~H}o!==0&&it(e,o,0),c!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=c&~(m&~t))}function it(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Rn(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|r&261930}function Pt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-Rn(r),l=1<<o;l&t|e[o]&t&&(e[o]|=t),r&=~l}}function Dn(e,t){var r=t&-t;return r=(r&42)!==0?1:an(r),(r&(e.suspendedLanes|t))!==0?0:r}function an(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 Wn(e,t,r){if(ka)for(e=e.pendingUpdatersLaneMap;0<r;){var o=31-Rn(r),l=1<<o;e[o].add(t),r&=~l}}function gr(e,t){if(ka)for(var r=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var l=31-Rn(t);e=1<<l,l=r[l],0<l.size&&(l.forEach(function(c){var m=c.alternate;m!==null&&o.has(m)||o.add(c)}),l.clear()),t&=~e}}function qt(e){return e&=-e,Sr<e?Da<e?(e&134217727)!==0?Ja:ad:Da:Sr}function Nn(){var e=ft.p;return e!==0?e:(e=window.event,e===void 0?Ja:tw(e.type))}function T(e,t){var r=ft.p;try{return ft.p=e,t()}finally{ft.p=r}}function q(e){delete e[mn],delete e[zn],delete e[Sy],delete e[zO],delete e[OO]}function de(e){var t=e[mn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Mi]||r[mn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=PS(e);e!==null;){if(r=e[mn])return r;e=PS(e)}return t}e=r,r=e.parentNode}return null}function be(e){if(e=e[mn]||e[Mi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ce(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Pe(e){var t=e[gw];return t||(t=e[gw]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Oe(e){e[yu]=!0}function ot(e,t){qe(e,t),qe(e+"Capture",t)}function qe(e,t){Ao[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ao[e]=t;var r=e.toLowerCase();for(wy[r]=e,e==="onDoubleClick"&&(wy.ondblclick=e),e=0;e<t.length;e++)bw.add(t[e])}function An(e,t){MO[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 aa(e){return Gr.call(xw,e)?!0:Gr.call(vw,e)?!1:_O.test(e)?xw[e]=!0:(vw[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Ic(e,t,r){if(aa(t)){if(!e.hasAttribute(t)){switch(typeof r){case"symbol":case"object":return r;case"function":return r;case"boolean":if(r===!1)return r}return r===void 0?void 0:null}return e=e.getAttribute(t),e===""&&r===!0?!0:(lt(r,t),e===""+r?r:e)}}function cs(e,t,r){if(aa(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}lt(r,t),e.setAttribute(t,""+r)}}function Fc(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}lt(r,t),e.setAttribute(t,""+r)}}function Pa(e,t,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}lt(o,r),e.setAttributeNS(t,r,""+o)}}function br(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return yi(e),e;default:return""}}function dv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function CR(e,t,r){var o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var l=o.get,c=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(m){yi(m),r=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return r},setValue:function(m){yi(m),r=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function em(e){if(!e._valueTracker){var t=dv(e)?"checked":"value";e._valueTracker=CR(e,t,""+e[t])}}function hv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=dv(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function Yc(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 vr(e){return e.replace(UO,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function mv(e,t){t.checked===void 0||t.defaultChecked===void 0||ww||(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",Ut()||"A component",t.type),ww=!0),t.value===void 0||t.defaultValue===void 0||Sw||(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",Ut()||"A component",t.type),Sw=!0)}function tm(e,t,r,o,l,c,m,g){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?(lt(m,"type"),e.type=m):e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+br(t)):e.value!==""+br(t)&&(e.value=""+br(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?nm(e,m,br(t)):r!=null?nm(e,m,br(r)):o!=null&&e.removeAttribute("value"),l==null&&c!=null&&(e.defaultChecked=!!c),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(lt(g,"name"),e.name=""+br(g)):e.removeAttribute("name")}function pv(e,t,r,o,l,c,m,g){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(lt(c,"type"),e.type=c),t!=null||r!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){em(e);return}r=r!=null?""+br(r):"",t=t!=null?""+br(t):r,g||t===e.value||(e.value=t),e.defaultValue=t}o=o??l,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=g?e.checked:!!o,e.defaultChecked=!!o,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(lt(m,"name"),e.name=m),em(e)}function nm(e,t,r){t==="number"&&Yc(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function yv(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?oy.Children.forEach(t.children,function(r){r==null||typeof r=="string"||typeof r=="number"||typeof r=="bigint"||Tw||(Tw=!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||kw||(kw=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||Ew||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ew=!0)}function gv(){var e=Ut();return e?`
|
|
39
|
+
|
|
40
|
+
Check the render method of \``+e+"`.":""}function fs(e,t,r,o){if(e=e.options,t){t={};for(var l=0;l<r.length;l++)t["$"+r[l]]=!0;for(r=0;r<e.length;r++)l=t.hasOwnProperty("$"+e[r].value),e[r].selected!==l&&(e[r].selected=l),l&&o&&(e[r].defaultSelected=!0)}else{for(r=""+br(r),t=null,l=0;l<e.length;l++){if(e[l].value===r){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function bv(e,t){for(e=0;e<Nw.length;e++){var r=Nw[e];if(t[r]!=null){var o=en(t[r]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",r,gv()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",r,gv())}}t.value===void 0||t.defaultValue===void 0||Dw||(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"),Dw=!0)}function vv(e,t){t.value===void 0||t.defaultValue===void 0||Aw||(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",Ut()||"A component"),Aw=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function xv(e,t,r){if(t!=null&&(t=""+br(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+br(r):""}function Sv(e,t,r,o){if(t==null){if(o!=null){if(r!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(en(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}r=o}r==null&&(r=""),t=r}r=br(t),e.defaultValue=r,o=e.textContent,o===r&&o!==""&&o!==null&&(e.value=o),em(e)}function wv(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?wv(e.children[0],t):e}function er(e){return" "+" ".repeat(e)}function ds(e){return"+ "+" ".repeat(e)}function ho(e){return"- "+" ".repeat(e)}function Ev(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 Ml(e,t){return Cw.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 Gc(e,t,r){var o=120-2*r;if(t===null)return ds(r)+Ml(e,o)+`
|
|
41
|
+
`;if(typeof t=="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>o-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),ds(r)+Ml(e,o)+`
|
|
42
|
+
`+ho(r)+Ml(t,o)+`
|
|
43
|
+
`}return er(r)+Ml(e,o)+`
|
|
44
|
+
`}function rm(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,r){return r})}function _l(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(en(e))return"[...]";if(e.$$typeof===Sa)return(t=le(e.type))?"<"+t+">":"<...>";var r=rm(e);if(r==="Object"){r="",t-=2;for(var o in e)if(e.hasOwnProperty(o)){var l=JSON.stringify(o);if(l!=='"'+o+'"'&&(o=l),t-=o.length-2,l=_l(e[o],15>t?t:15),t-=l.length,0>t){r+=r===""?"...":", ...";break}r+=(r===""?"":",")+o+":"+l}return"{"+r+"}"}return r;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function hs(e,t){return typeof e!="string"||Cw.test(e)?"{"+_l(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function am(e,t,r){var o=120-r.length-e.length,l=[],c;for(c in t)if(t.hasOwnProperty(c)&&c!=="children"){var m=hs(t[c],120-r.length-c.length-1);o-=c.length+m.length+2,l.push(c+"="+m)}return l.length===0?r+"<"+e+`>
|
|
45
|
+
`:0<o?r+"<"+e+" "+l.join(" ")+`>
|
|
46
|
+
`:r+"<"+e+`
|
|
47
|
+
`+r+" "+l.join(`
|
|
48
|
+
`+r+" ")+`
|
|
49
|
+
`+r+`>
|
|
50
|
+
`}function RR(e,t,r){var o="",l=Je({},t),c;for(c in e)if(e.hasOwnProperty(c)){delete l[c];var m=120-2*r-c.length-2,g=_l(e[c],m);t.hasOwnProperty(c)?(m=_l(t[c],m),o+=ds(r)+c+": "+g+`
|
|
51
|
+
`,o+=ho(r)+c+": "+m+`
|
|
52
|
+
`):o+=ds(r)+c+": "+g+`
|
|
53
|
+
`}for(var w in l)l.hasOwnProperty(w)&&(e=_l(l[w],120-2*r-w.length-2),o+=ho(r)+w+": "+e+`
|
|
54
|
+
`);return o}function zR(e,t,r,o){var l="",c=new Map;for(E in r)r.hasOwnProperty(E)&&c.set(E.toLowerCase(),E);if(c.size===1&&c.has("children"))l+=am(e,t,er(o));else{for(var m in t)if(t.hasOwnProperty(m)&&m!=="children"){var g=120-2*(o+1)-m.length-1,w=c.get(m.toLowerCase());if(w!==void 0){c.delete(m.toLowerCase());var E=t[m];w=r[w];var B=hs(E,g);g=hs(w,g),typeof E=="object"&&E!==null&&typeof w=="object"&&w!==null&&rm(E)==="Object"&&rm(w)==="Object"&&(2<Object.keys(E).length||2<Object.keys(w).length||-1<B.indexOf("...")||-1<g.indexOf("..."))?l+=er(o+1)+m+`={{
|
|
55
|
+
`+RR(E,w,o+2)+er(o+1)+`}}
|
|
56
|
+
`:(l+=ds(o+1)+m+"="+B+`
|
|
57
|
+
`,l+=ho(o+1)+m+"="+g+`
|
|
58
|
+
`)}else l+=er(o+1)+m+"="+hs(t[m],g)+`
|
|
59
|
+
`}c.forEach(function(H){if(H!=="children"){var M=120-2*(o+1)-H.length-1;l+=ho(o+1)+H+"="+hs(r[H],M)+`
|
|
60
|
+
`}}),l=l===""?er(o)+"<"+e+`>
|
|
61
|
+
`:er(o)+"<"+e+`
|
|
62
|
+
`+l+er(o)+`>
|
|
63
|
+
`}return e=r.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(c="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(c=""+t),l+=Gc(c,""+e,o+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(l=e==null?l+Gc(""+t,null,o+1):l+Gc(""+t,void 0,o+1)),l}function Tv(e,t){var r=Ev(e);if(r===null){for(r="",e=e.child;e;)r+=Tv(e,t),e=e.sibling;return r}return er(t)+"<"+r+`>
|
|
64
|
+
`}function im(e,t){var r=wv(e,t);if(r!==e&&(e.children.length!==1||e.children[0]!==r))return er(t)+`...
|
|
65
|
+
`+im(r,t+1);r="";var o=e.fiber._debugInfo;if(o)for(var l=0;l<o.length;l++){var c=o[l].name;typeof c=="string"&&(r+=er(t)+"<"+c+`>
|
|
66
|
+
`,t++)}if(o="",l=e.fiber.pendingProps,e.fiber.tag===6)o=Gc(l,e.serverProps,t),t++;else if(c=Ev(e.fiber),c!==null)if(e.serverProps===void 0){o=t;var m=120-2*o-c.length-2,g="";for(E in l)if(l.hasOwnProperty(E)&&E!=="children"){var w=hs(l[E],15);if(m-=E.length+w.length+2,0>m){g+=" ...";break}g+=" "+E+"="+w}o=er(o)+"<"+c+g+`>
|
|
67
|
+
`,t++}else e.serverProps===null?(o=am(c,l,ds(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."):(o=zR(c,l,e.serverProps,t),t++);var E="";for(l=e.fiber.child,c=0;l&&c<e.children.length;)m=e.children[c],m.fiber===l?(E+=im(m,t),c++):E+=Tv(l,t),l=l.sibling;for(l&&0<e.children.length&&(E+=er(t)+`...
|
|
68
|
+
`),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)c=l[e],E=typeof c=="string"?E+(ho(t)+Ml(c,120-2*t)+`
|
|
69
|
+
`):E+am(c.type,c.props,ho(t));return r+o+E}function om(e){try{return`
|
|
70
|
+
|
|
71
|
+
`+im(e,0)}catch{return""}}function kv(e,t,r){for(var o=t,l=null,c=0;o;)o===e&&(c=0),l={fiber:o,children:l!==null?[l]:[],serverProps:o===t?r:o===e?null:void 0,serverTail:[],distanceFromLeaf:c},c++,o=o.return;return l!==null?om(l).replaceAll(/^[+-]/gm,">"):""}function Dv(e,t){var r=Je({},e||zw),o={tag:t};return Rw.indexOf(t)!==-1&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),VO.indexOf(t)!==-1&&(r.pTagInButtonScope=null),jO.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=o,t==="form"&&(r.formTag=o),t==="a"&&(r.aTagInScope=o),t==="button"&&(r.buttonTagInScope=o),t==="nobr"&&(r.nobrTagInScope=o),t==="p"&&(r.pTagInButtonScope=o),t==="li"&&(r.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(r.dlItemTagAutoclosing=o),t==="#document"||t==="html"?r.containerTagInScope=null:r.containerTagInScope||(r.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?r.implicitRootScope===!0&&(r.implicitRootScope=!1):r.implicitRootScope=!0,r}function Nv(e,t,r){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(r)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!r)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 LO.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 r||t===null;case"html":return r&&t==="#document"||t===null;case"body":return r&&(t==="#document"||t==="html")||t===null}return!0}function OR(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 Av(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 sm(e,t){t=t||zw;var r=t.current;if(t=(r=Nv(e,r&&r.tag,t.implicitRootScope)?null:r)?null:OR(e,t),t=r||t,!t)return!0;var o=t.tag;if(t=String(!!r)+"|"+e+"|"+o,id[t])return!1;id[t]=!0;var l=(t=lr)?Av(t.return,o):null,c=t!==null&&l!==null?kv(l,t,null):"",m="<"+e+">";return r?(r="",o==="table"&&e==="tr"&&(r+=" 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`,m,o,r,c)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
73
|
+
This will cause a hydration error.%s`,m,o,c),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||we(l,function(){console.error(`<%s> cannot contain a nested %s.
|
|
74
|
+
See this log for the ancestor stack trace.`,o,m)})),!1}function $c(e,t,r){if(r||Nv("#text",t,!1))return!0;if(r="#text|"+t,id[r])return!1;id[r]=!0;var o=(r=lr)?Av(r,t):null;return r=r!==null&&o!==null?kv(o,r,r.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,r):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,r),!1}function Ul(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}function MR(e){return e.replace(PO,function(t,r){return r.toUpperCase()})}function Cv(e,t,r){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?Ms.hasOwnProperty(t)&&Ms[t]||(Ms[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,MR(t.replace(HO,"ms-")))):BO.test(t)?Ms.hasOwnProperty(t)&&Ms[t]||(Ms[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!_w.test(r)||Ty.hasOwnProperty(r)&&Ty[r]||(Ty[r]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,r.replace(_w,""))),typeof r=="number"&&(isNaN(r)?Uw||(Uw=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(r)||jw||(jw=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),r==null||typeof r=="boolean"||r===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,r):typeof r!="number"||r===0||Vw.has(t)?t==="float"?e.cssFloat=r:(Wt(r,t),e[t]=(""+r).trim()):e[t]=r+"px"}function Rv(e,t,r){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,r!=null){if(t){var o={};if(r){for(var l in r)if(r.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var c=Ey[l]||[l],m=0;m<c.length;m++)o[c[m]]=l}for(var g in t)if(t.hasOwnProperty(g)&&(!r||r[g]!==t[g]))for(l=Ey[g]||[g],c=0;c<l.length;c++)o[l[c]]=g;g={};for(var w in t)for(l=Ey[w]||[w],c=0;c<l.length;c++)g[l[c]]=w;w={};for(var E in o)if(l=o[E],(c=g[E])&&l!==c&&(m=l+","+c,!w[m])){w[m]=!0,m=console;var B=t[l];m.error.call(m,"%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.",B==null||typeof B=="boolean"||B===""?"Removing":"Updating",l,c)}}for(var H in r)!r.hasOwnProperty(H)||t!=null&&t.hasOwnProperty(H)||(H.indexOf("--")===0?e.setProperty(H,""):H==="float"?e.cssFloat="":e[H]="");for(var M in t)E=t[M],t.hasOwnProperty(M)&&r[M]!==E&&Cv(e,M,E)}else for(o in t)t.hasOwnProperty(o)&&Cv(e,o,t[o])}function jl(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 zv(e){return qO.get(e)||e}function _R(e,t){if(Gr.call(Us,t)&&Us[t])return!0;if(FO.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Lw.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Us[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Us[t]=!0}if(IO.test(t)){if(e=t.toLowerCase(),e=Lw.hasOwnProperty(e)?e:null,e==null)return Us[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Us[t]=!0)}return!0}function UR(e,t){var r=[],o;for(o in t)_R(e,o)||r.push(o);t=r.map(function(l){return"`"+l+"`"}).join(", "),r.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<r.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function jR(e,t,r,o){if(Gr.call(On,t)&&On[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."),On[t]=!0;if(typeof r=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(l)?e[l]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),On[t]=!0;if(Hw.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),On[t]=!0}else if(Hw.test(t))return YO.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),On[t]=!0;if(GO.test(t)||$O.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),On[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),On[t]=!0;if(l==="is"&&r!==null&&r!==void 0&&typeof r!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof r),On[t]=!0;if(typeof r=="number"&&isNaN(r))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),On[t]=!0;if(sd.hasOwnProperty(l)){if(l=sd[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),On[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),On[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 r){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:(r?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()}.',r,t,t,r,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.',r,t,t,r,t,t,t),On[t]=!0)}case"function":case"symbol":return On[t]=!0,!1;case"string":if(r==="false"||r==="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}?",r,t,r==="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,r),On[t]=!0}}return!0}function VR(e,t,r){var o=[],l;for(l in t)jR(e,l,t[l],r)||o.push(l);t=o.map(function(c){return"`"+c+"`"}).join(", "),o.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<o.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 Vl(e){return XO.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function qa(){}function lm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Ov(e){var t=be(e);if(t&&(e=t.stateNode)){var r=e[zn]||null;e:switch(e=t.stateNode,t.type){case"input":if(tm(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(lt(t,"name"),r=r.querySelectorAll('input[name="'+vr(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var l=o[zn]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");tm(o,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<r.length;t++)o=r[t],o.form===e.form&&hv(o)}break e;case"textarea":xv(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&fs(e,!!r.multiple,t,!1)}}}function Mv(e,t,r){if(ky)return e(t,r);ky=!0;try{var o=e(t);return o}finally{if(ky=!1,(js!==null||Vs!==null)&&(Es(),js&&(t=js,e=Vs,Vs=js=null,Ov(t),e)))for(t=0;t<e.length;t++)Ov(e[t])}}function Ll(e,t){var r=e.stateNode;if(r===null)return null;var o=r[zn]||null;if(o===null)return null;r=o[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":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}function _v(){if(ld)return ld;var e,t=Ny,r=t.length,o,l="value"in _i?_i.value:_i.textContent,c=l.length;for(e=0;e<r&&t[e]===l[e];e++);var m=r-e;for(o=1;o<=m&&t[r-o]===l[c-o];o++);return ld=l.slice(e,1<o?1-o:void 0)}function Xc(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 Qc(){return!0}function Uv(){return!1}function Hn(e){function t(r,o,l,c,m){this._reactName=r,this._targetInst=l,this.type=o,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(r=e[g],this[g]=r?r(c):c[g]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Qc:Uv,this.isPropagationStopped=Uv,this}return Je(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Qc)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Qc)},persist:function(){},isPersistent:Qc}),t}function LR(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=sM[e])?!!t[e]:!1}function um(){return LR}function jv(e,t){switch(e){case"keyup":return vM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Fw;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function BR(e,t){switch(e){case"compositionend":return Vv(t);case"keypress":return t.which!==Gw?null:(Xw=!0,$w);case"textInput":return e=t.data,e===$w&&Xw?null:e;default:return null}}function HR(e,t){if(Ls)return e==="compositionend"||!zy&&jv(e,t)?(e=_v(),ld=Ny=_i=null,Ls=!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 Yw&&t.locale!=="ko"?null:t.data;default:return null}}function Lv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!SM[e.type]:t==="textarea"}function PR(e){if(!Na)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 Bv(e,t,r,o){js?Vs?Vs.push(o):Vs=[o]:js=o,t=qf(t,"onChange"),0<t.length&&(r=new ud("onChange","change",null,r,o),e.push({event:r,listeners:t}))}function qR(e){SS(e,0)}function Zc(e){var t=Ce(e);if(hv(t))return e}function Hv(e,t){if(e==="change")return t}function Pv(){wu&&(wu.detachEvent("onpropertychange",qv),Eu=wu=null)}function qv(e){if(e.propertyName==="value"&&Zc(Eu)){var t=[];Bv(t,Eu,e,lm(e)),Mv(qR,t)}}function IR(e,t,r){e==="focusin"?(Pv(),wu=t,Eu=r,wu.attachEvent("onpropertychange",qv)):e==="focusout"&&Pv()}function FR(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zc(Eu)}function YR(e,t){if(e==="click")return Zc(t)}function GR(e,t){if(e==="input"||e==="change")return Zc(t)}function $R(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Bl(e,t){if(Mn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var l=r[o];if(!Gr.call(t,l)||!Mn(e[l],t[l]))return!1}return!0}function Iv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fv(e,t){var r=Iv(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=t&&o>=t)return{node:r,offset:t-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Iv(r)}}function Yv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yc(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Yc(e.document)}return t}function cm(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 $v(e,t,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;My||Bs==null||Bs!==Yc(o)||(o=Bs,"selectionStart"in o&&cm(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Tu&&Bl(Tu,o)||(Tu=o,o=qf(Oy,"onSelect"),0<o.length&&(t=new ud("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=Bs)))}function mo(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}function po(e){if(_y[e])return _y[e];if(!Hs[e])return e;var t=Hs[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Zw)return _y[e]=t[r];return e}function qr(e,t){tE.set(e,t),ot(t,[e])}function XR(e){for(var t=fd,r=0;r<e.length;r++){var o=e[r];if(typeof o=="object"&&o!==null)if(en(o)&&o.length===2&&typeof o[0]=="string"){if(t!==fd&&t!==By)return Vy;t=By}else return Vy;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||t!==fd&&t!==Ly)return Vy;t=Ly}}return t}function fm(e,t,r,o){for(var l in e)Gr.call(e,l)&&l[0]!=="_"&&ia(l,e[l],t,r,o)}function ia(e,t,r,o,l){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Sa){var c=le(t.type)||"…",m=t.key;t=t.props;var g=Object.keys(t),w=g.length;if(m==null&&w===0){t="<"+c+" />";break}if(3>o||w===1&&g[0]==="children"&&m==null){t="<"+c+" … />";break}r.push([l+" ".repeat(o)+e,"<"+c]),m!==null&&ia("key",m,r,o+1,l),e=!1;for(var E in t)E==="children"?t.children!=null&&(!en(t.children)||0<t.children.length)&&(e=!0):Gr.call(t,E)&&E[0]!=="_"&&ia(E,t[E],r,o+1,l);r.push(["",e?">…</"+c+">":"/>"]);return}if(c=Object.prototype.toString.call(t),c=c.slice(8,c.length-1),c==="Array"){if(E=XR(t),E===Ly||E===fd){t=JSON.stringify(t);break}else if(E===By){for(r.push([l+" ".repeat(o)+e,""]),e=0;e<t.length;e++)c=t[e],ia(c[0],c[1],r,o+1,l);return}}if(c==="Promise"){if(t.status==="fulfilled"){if(c=r.length,ia(e,t.value,r,o,l),r.length>c){r=r[c],r[1]="Promise<"+(r[1]||"Object")+">";return}}else if(t.status==="rejected"&&(c=r.length,ia(e,t.reason,r,o,l),r.length>c)){r=r[c],r[1]="Rejected Promise<"+r[1]+">";return}r.push([" ".repeat(o)+e,"Promise"]);return}c==="Object"&&(E=Object.getPrototypeOf(t))&&typeof E.constructor=="function"&&(c=E.constructor.name),r.push([l+" ".repeat(o)+e,c==="Object"?3>o?"":"…":c]),3>o&&fm(t,r,o+1,l);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===AM?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}r.push([l+" ".repeat(o)+e,t])}function Xv(e,t,r,o){var l=!0;for(m in e)m in t||(r.push([dd+" ".repeat(o)+m,"…"]),l=!1);for(var c in t)if(c in e){var m=e[c],g=t[c];if(m!==g){if(o===0&&c==="children")l=" ".repeat(o)+c,r.push([dd+l,"…"],[hd+l,"…"]);else{if(!(3<=o)){if(typeof m=="object"&&typeof g=="object"&&m!==null&&g!==null&&m.$$typeof===g.$$typeof)if(g.$$typeof===Sa){if(m.type===g.type&&m.key===g.key){m=le(g.type)||"…",l=" ".repeat(o)+c,m="<"+m+" … />",r.push([dd+l,m],[hd+l,m]),l=!1;continue}}else{var w=Object.prototype.toString.call(m),E=Object.prototype.toString.call(g);if(w===E&&(E==="[object Object]"||E==="[object Array]")){w=[aE+" ".repeat(o)+c,E==="[object Array]"?"Array":""],r.push(w),E=r.length,Xv(m,g,r,o+1)?E===r.length&&(w[1]="Referentially unequal but deeply equal objects. Consider memoization."):l=!1;continue}}else if(typeof m=="function"&&typeof g=="function"&&m.name===g.name&&m.length===g.length&&(w=Function.prototype.toString.call(m),E=Function.prototype.toString.call(g),w===E)){m=g.name===""?"() => {}":g.name+"() {}",r.push([aE+" ".repeat(o)+c,m+" Referentially unequal function closure. Consider memoization."]);continue}}ia(c,m,r,o,dd),ia(c,g,r,o,hd)}l=!1}}else r.push([hd+" ".repeat(o)+c,"…"]),l=!1;return l}function Ir(e){rt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function oa(e,t,r,o){xt&&(ji.start=t,ji.end=r,Ka.color="warning",Ka.tooltipText=o,Ka.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,o,ji)):performance.measure(o,ji))}function Jc(e,t,r){oa(e,t,r,"Reconnect")}function Kc(e,t,r,o,l){var c=F(e);if(c!==null&&xt){var m=e.alternate,g=e.actualDuration;if(m===null||m.child!==e.child)for(var w=e.child;w!==null;w=w.sibling)g-=w.actualDuration;o=.5>g?o?"tertiary-light":"primary-light":10>g?o?"tertiary":"primary":100>g?o?"tertiary-dark":"primary-dark":"error";var E=e.memoizedProps;g=e._debugTask,E!==null&&m!==null&&m.memoizedProps!==E?(w=[CM],E=Xv(m.memoizedProps,E,w,0),1<w.length&&(E&&!Ui&&(m.lanes&l)===0&&100<e.actualDuration?(Ui=!0,w[0]=RM,Ka.color="warning",Ka.tooltipText=iE):(Ka.color=o,Ka.tooltipText=c),Ka.properties=w,ji.start=t,ji.end=r,g!=null?g.run(performance.measure.bind(performance,""+c,ji)):performance.measure(""+c,ji))):g!=null?g.run(console.timeStamp.bind(console,c,t,r,wr,void 0,o)):console.timeStamp(c,t,r,wr,void 0,o)}}function dm(e,t,r,o){if(xt){var l=F(e);if(l!==null){for(var c=null,m=[],g=0;g<o.length;g++){var w=o[g];c==null&&w.source!==null&&(c=w.source._debugTask),w=w.value,m.push(["Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}e.key!==null&&ia("key",e.key,m,0,""),e.memoizedProps!==null&&fm(e.memoizedProps,m,0,""),c==null&&(c=e._debugTask),e={start:t,end:r,detail:{devtools:{color:"error",track:wr,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:m}}},c?c.run(performance.measure.bind(performance,""+l,e)):performance.measure(""+l,e)}}}function sa(e,t,r,o,l){if(l!==null){if(xt){var c=F(e);if(c!==null){o=[];for(var m=0;m<l.length;m++){var g=l[m].value;o.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}e.key!==null&&ia("key",e.key,o,0,""),e.memoizedProps!==null&&fm(e.memoizedProps,o,0,""),t={start:t,end:r,detail:{devtools:{color:"error",track:wr,tooltipText:"A lifecycle or effect errored",properties:o}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,""+c,t)):performance.measure(""+c,t)}}}else c=F(e),c!==null&&xt&&(l=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,c,t,r,wr,void 0,l)):console.timeStamp(c,t,r,wr,void 0,l))}function QR(e,t,r,o){if(xt&&!(t<=e)){var l=(r&738197653)===r?"tertiary-dark":"primary-dark";r=(r&536870912)===r?"Prepared":(r&201326741)===r?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,r,e,t,rt,tt,l)):console.timeStamp(r,e,t,rt,tt,l)}}function Qv(e,t,r,o){!xt||t<=e||(r=(r&738197653)===r?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",e,t,rt,tt,r)):console.timeStamp("Prewarm",e,t,rt,tt,r))}function Zv(e,t,r,o){!xt||t<=e||(r=(r&738197653)===r?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",e,t,rt,tt,r)):console.timeStamp("Suspended",e,t,rt,tt,r))}function ZR(e,t,r,o,l,c){if(xt&&!(t<=e)){r=[];for(var m=0;m<o.length;m++){var g=o[m].value;r.push(["Recoverable Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:rt,trackGroup:tt,tooltipText:l?"Hydration Failed":"Recovered after Error",properties:r}}},c?c.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function hm(e,t,r,o){!xt||t<=e||(o?o.run(console.timeStamp.bind(console,"Errored",e,t,rt,tt,"error")):console.timeStamp("Errored",e,t,rt,tt,"error"))}function JR(e,t,r,o){!xt||t<=e||(o?o.run(console.timeStamp.bind(console,r,e,t,rt,tt,"secondary-light")):console.timeStamp(r,e,t,rt,tt,"secondary-light"))}function Jv(e,t,r,o,l){if(xt&&!(t<=e)){for(var c=[],m=0;m<r.length;m++){var g=r[m].value;c.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}e={start:e,end:t,detail:{devtools:{color:"error",track:rt,trackGroup:tt,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:c}}},l?l.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function mm(e,t,r){!xt||t<=e||console.timeStamp("Animating",e,t,rt,tt,"secondary-dark")}function Wc(){for(var e=Ps,t=Hy=Ps=0;t<e;){var r=Er[t];Er[t++]=null;var o=Er[t];Er[t++]=null;var l=Er[t];Er[t++]=null;var c=Er[t];if(Er[t++]=null,o!==null&&l!==null){var m=o.pending;m===null?l.next=l:(l.next=m.next,m.next=l),o.pending=l}c!==0&&Kv(r,l,c)}}function ef(e,t,r,o){Er[Ps++]=e,Er[Ps++]=t,Er[Ps++]=r,Er[Ps++]=o,Hy|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function pm(e,t,r,o){return ef(e,t,r,o),tf(e)}function bn(e,t){return ef(e,null,null,t),tf(e)}function Kv(e,t,r){e.lanes|=r;var o=e.alternate;o!==null&&(o.lanes|=r);for(var l=!1,c=e.return;c!==null;)c.childLanes|=r,o=c.alternate,o!==null&&(o.childLanes|=r),c.tag===22&&(e=c.stateNode,e===null||e._visibility&ku||(l=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,l&&t!==null&&(l=31-Rn(r),e=c.hiddenUpdates,o=e[l],o===null?e[l]=[t]:o.push(t),t.lane=r|536870912),c):null}function tf(e){if(Ku>GM)throw Yo=Ku=0,Wu=vg=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.");Yo>$M&&(Yo=0,Wu=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&&mS(e);for(var t=e,r=t.return;r!==null;)t.alternate===null&&(t.flags&4098)!==0&&mS(e),t=r,r=t.return;return t.tag===3?t.stateNode:null}function yo(e){if(Tr===null)return e;var t=Tr(e);return t===void 0?e:t.current}function ym(e){if(Tr===null)return e;var t=Tr(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=yo(e.render),e.render!==t)?(t={$$typeof:hu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Wv(e,t){if(Tr===null)return!1;var r=e.elementType;t=t.type;var o=!1,l=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||l===sr)&&(o=!0);break;case 11:(l===hu||l===sr)&&(o=!0);break;case 14:case 15:(l===Wf||l===sr)&&(o=!0);break;default:return!1}return!!(o&&(e=Tr(r),e!==void 0&&e===Tr(t)))}function ex(e){Tr!==null&&typeof WeakSet=="function"&&(qs===null&&(qs=new WeakSet),qs.add(e))}function tx(e,t,r){do{var o=e,l=o.alternate,c=o.child,m=o.sibling,g=o.tag;o=o.type;var w=null;switch(g){case 0:case 15:case 1:w=o;break;case 11:w=o.render}if(Tr===null)throw Error("Expected resolveFamily to be set during hot reload.");var E=!1;if(o=!1,w!==null&&(w=Tr(w),w!==void 0&&(r.has(w)?o=!0:t.has(w)&&(g===1?o=!0:E=!0))),qs!==null&&(qs.has(e)||l!==null&&qs.has(l))&&(o=!0),o&&(e._debugNeedsRemount=!0),(o||E)&&(l=bn(e,2),l!==null&&zt(l,e,2)),c===null||o||tx(c,t,r),m===null)break;e=m}while(!0)}function KR(e,t,r,o){this.tag=e,this.key=r,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=o,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,oE||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function gm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ia(e,t){var r=e.alternate;switch(r===null?(r=x(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r._debugOwner=e._debugOwner,r._debugStack=e._debugStack,r._debugTask=e._debugTask,r._debugHookTypes=e._debugHookTypes,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null,r.actualDuration=-0,r.actualStartTime=-1.1),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r.selfBaseDuration=e.selfBaseDuration,r.treeBaseDuration=e.treeBaseDuration,r._debugInfo=e._debugInfo,r._debugNeedsRemount=e._debugNeedsRemount,r.tag){case 0:case 15:r.type=yo(e.type);break;case 1:r.type=yo(e.type);break;case 11:r.type=ym(e.type)}return r}function nx(e,t){e.flags&=65011714;var r=e.alternate;return r===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=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=r.selfBaseDuration,e.treeBaseDuration=r.treeBaseDuration),e}function bm(e,t,r,o,l,c){var m=0,g=e;if(typeof e=="function")gm(e)&&(m=1),g=yo(g);else if(typeof e=="string")m=ae(),m=sO(e,r,m)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case fy:return t=x(31,r,t,l),t.elementType=fy,t.lanes=c,t;case Rs:return go(r.children,l,c,t);case Kf:m=8,l|=xn,l|=$r;break;case sy:return e=r,o=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,o|Ye),t.elementType=sy,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case uy:return t=x(13,r,t,l),t.elementType=uy,t.lanes=c,t;case cy:return t=x(19,r,t,l),t.elementType=cy,t.lanes=c,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case wa:m=10;break e;case ly:m=9;break e;case hu:m=11,g=ym(g);break e;case Wf:m=14;break e;case sr:m=16,g=null;break e}g="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" 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?r="null":en(e)?r="array":e!==void 0&&e.$$typeof===Sa?(r="<"+(le(e.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?"):r=typeof e,(m=o?ce(o):null)&&(g+=`
|
|
77
|
+
|
|
78
|
+
Check the render method of \``+m+"`."),m=29,r=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(r+"."+g)),g=null}return t=x(m,r,t,l),t.elementType=e,t.type=g,t.lanes=c,t._debugOwner=o,t}function nf(e,t,r){return t=bm(e.type,e.key,e.props,e._owner,t,r),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function go(e,t,r,o){return e=x(7,e,o,t),e.lanes=r,e}function vm(e,t,r){return e=x(6,e,null,t),e.lanes=r,e}function rx(e){var t=x(18,null,null,Ve);return t.stateNode=e,t}function xm(e,t,r){return t=x(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tr(e,t){if(typeof e=="object"&&e!==null){var r=Py.get(e);return r!==void 0?r:(t={value:e,source:t,stack:je(t)},Py.set(e,t),t)}return{value:e,source:t,stack:je(t)}}function Fa(e,t){bi(),Is[Fs++]=Du,Is[Fs++]=md,md=e,Du=t}function ax(e,t,r){bi(),kr[Dr++]=ei,kr[Dr++]=ti,kr[Dr++]=Ro,Ro=e;var o=ei;e=ti;var l=32-Rn(o)-1;o&=~(1<<l),r+=1;var c=32-Rn(t)+l;if(30<c){var m=l-l%5;c=(o&(1<<m)-1).toString(32),o>>=m,l-=m,ei=1<<32-Rn(t)+l|r<<l|o,ti=c+e}else ei=1<<c|r<<l|o,ti=e}function Sm(e){bi(),e.return!==null&&(Fa(e,1),ax(e,1,0))}function wm(e){for(;e===md;)md=Is[--Fs],Is[Fs]=null,Du=Is[--Fs],Is[Fs]=null;for(;e===Ro;)Ro=kr[--Dr],kr[Dr]=null,ti=kr[--Dr],kr[Dr]=null,ei=kr[--Dr],kr[Dr]=null}function ix(){return bi(),Ro!==null?{id:ei,overflow:ti}:null}function ox(e,t){bi(),kr[Dr++]=ei,kr[Dr++]=ti,kr[Dr++]=Ro,ei=t.id,ti=t.overflow,Ro=e}function bi(){We||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function bo(e,t){if(e.return===null){if(ur===null)ur={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(ur.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");ur.distanceFromLeaf>t&&(ur.distanceFromLeaf=t)}return ur}var r=bo(e.return,t+1).children;return 0<r.length&&r[r.length-1].fiber===e?(r=r[r.length-1],r.distanceFromLeaf>t&&(r.distanceFromLeaf=t),r):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},r.push(t),t)}function sx(){We&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rf(e,t){Aa||(e=bo(e,0),e.serverProps=null,t!==null&&(t=BS(t),e.serverTail.push(t)))}function vi(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,r="",o=ur;throw o!==null&&(ur=null,r=om(o)),Hl(tr(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`+r),e)),qy}function lx(e){var t=e.stateNode,r=e.type,o=e.memoizedProps;switch(t[mn]=e,t[zn]=o,qp(r,o),r){case"dialog":et("cancel",t),et("close",t);break;case"iframe":case"object":case"embed":et("load",t);break;case"video":case"audio":for(r=0;r<ec.length;r++)et(ec[r],t);break;case"source":et("error",t);break;case"img":case"image":case"link":et("error",t),et("load",t);break;case"details":et("toggle",t);break;case"input":An("input",o),et("invalid",t),mv(t,o),pv(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":yv(t,o);break;case"select":An("select",o),et("invalid",t),bv(t,o);break;case"textarea":An("textarea",o),et("invalid",t),vv(t,o),Sv(t,o.value,o.defaultValue,o.children)}r=o.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||o.suppressHydrationWarning===!0||kS(t.textContent,r)?(o.popover!=null&&(et("beforetoggle",t),et("toggle",t)),o.onScroll!=null&&et("scroll",t),o.onScrollEnd!=null&&et("scrollend",t),o.onClick!=null&&(t.onclick=qa),t=!0):t=!1,t||vi(e,!0)}function ux(e){for(pn=e.return;pn;)switch(pn.tag){case 5:case 31:case 13:Nr=!1;return;case 27:case 3:Nr=!0;return;default:pn=pn.return}}function ms(e){if(e!==pn)return!1;if(!We)return ux(e),We=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||$p(e.type,e.memoizedProps)),r=!r),r&&St){for(r=St;r;){var o=bo(e,0),l=BS(r);o.serverTail.push(l),r=l.type==="Suspense"?Jp(r):or(r.nextSibling)}vi(e)}if(ux(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.");St=Jp(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.");St=Jp(e)}else t===27?(t=St,Ci(e.type)?(e=zg,zg=null,St=e):St=t):St=pn?or(e.stateNode.nextSibling):null;return!0}function vo(){St=pn=null,Aa=We=!1}function Em(){var e=Li;return e!==null&&(Vn===null?Vn=e:Vn.push.apply(Vn,e),Li=null),e}function Hl(e){Li===null?Li=[e]:Li.push(e)}function Tm(){var e=ur;if(e!==null){ur=null;for(var t=om(e);0<e.children.length;)e=e.children[0];we(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 af(){Ys=pd=null,Gs=!1}function xi(e,t,r){W(Iy,t._currentValue,e),t._currentValue=r,W(Fy,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==lE&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=lE}function Ya(e,t){e._currentValue=Iy.current;var r=Fy.current;se(Fy,t),e._currentRenderer=r,se(Iy,t)}function km(e,t,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}e!==r&&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 Dm(e,t,r,o){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var c=l.dependencies;if(c!==null){var m=l.child;c=c.firstContext;e:for(;c!==null;){var g=c;c=l;for(var w=0;w<t.length;w++)if(g.context===t[w]){c.lanes|=r,g=c.alternate,g!==null&&(g.lanes|=r),km(c.return,r,e),o||(m=null);break e}c=g.next}}else if(l.tag===18){if(m=l.return,m===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");m.lanes|=r,c=m.alternate,c!==null&&(c.lanes|=r),km(m,r,e),m=null}else m=l.child;if(m!==null)m.return=l;else for(m=l;m!==null;){if(m===e){m=null;break}if(l=m.sibling,l!==null){l.return=m.return,m=l;break}m=m.return}l=m}}function ps(e,t,r,o){e=null;for(var l=t,c=!1;l!==null;){if(!c){if((l.flags&524288)!==0)c=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var m=l.alternate;if(m===null)throw Error("Should have a current fiber. This is a bug in React.");if(m=m.memoizedProps,m!==null){var g=l.type;Mn(l.pendingProps.value,m.value)||(e!==null?e.push(g):e=[g])}}else if(l===ed.current){if(m=l.alternate,m===null)throw Error("Should have a current fiber. This is a bug in React.");m.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(ic):e=[ic])}l=l.return}e!==null&&Dm(t,e,r,o),t.flags|=262144}function of(e){for(e=e.firstContext;e!==null;){if(!Mn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function xo(e){pd=e,Ys=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Dt(e){return Gs&&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()."),cx(pd,e)}function sf(e,t){return pd===null&&xo(e),cx(e,t)}function cx(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},Ys===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().");Ys=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Ys=Ys.next=t;return r}function Nm(){return{controller:new MM,data:new Map,refCount:0}}function So(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 Pl(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&&_M(UM,function(){e.controller.abort()})}function la(e,t,r){(e&127)!==0?0>Ca&&(Ca=Yt(),Au=yd(t),Yy=t,r!=null&&(Gy=F(r)),(st&(nn|dr))!==cn&&(Ot=!0,Hi=Nu),e=lu(),t=su(),e!==$s||t!==Cu?$s=-1.1:t!==null&&(Hi=Nu),Mo=e,Cu=t):(e&4194048)!==0&&0>Ar&&(Ar=Yt(),Ru=yd(t),uE=t,r!=null&&(cE=F(r)),0>ii)&&(e=lu(),t=su(),(e!==qi||t!==_o)&&(qi=-1.1),Pi=e,_o=t)}function WR(e){if(0>Ca){Ca=Yt(),Au=e._debugTask!=null?e._debugTask:null,(st&(nn|dr))!==cn&&(Hi=Nu);var t=lu(),r=su();t!==$s||r!==Cu?$s=-1.1:r!==null&&(Hi=Nu),Mo=t,Cu=r}0>Ar&&(Ar=Yt(),Ru=e._debugTask!=null?e._debugTask:null,0>ii)&&(e=lu(),t=su(),(e!==qi||t!==_o)&&(qi=-1.1),Pi=e,_o=t)}function Ga(){var e=zo;return zo=0,e}function lf(e){var t=zo;return zo=e,t}function ql(e){var t=zo;return zo+=e,t}function uf(){Ue=_e=-1.1}function nr(){var e=_e;return _e=-1.1,e}function rr(e){0<=e&&(_e=e)}function ua(){var e=Ct;return Ct=-0,e}function ca(e){0<=e&&(Ct=e)}function fa(){var e=Nt;return Nt=null,e}function da(){var e=Ot;return Ot=!1,e}function Am(e){_n=Yt(),0>e.actualStartTime&&(e.actualStartTime=_n)}function Cm(e){if(0<=_n){var t=Yt()-_n;e.actualDuration+=t,e.selfBaseDuration=t,_n=-1}}function fx(e){if(0<=_n){var t=Yt()-_n;e.actualDuration+=t,_n=-1}}function ha(){if(0<=_n){var e=Yt(),t=e-_n;_n=-1,zo+=t,Ct+=t,Ue=e}}function dx(e){Nt===null&&(Nt=[]),Nt.push(e),ri===null&&(ri=[]),ri.push(e)}function ma(){_n=Yt(),0>_e&&(_e=_n)}function Il(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function ez(e,t){if(Ou===null){var r=Ou=[];Xy=0,Uo=Lp(),Xs={status:"pending",value:void 0,then:function(o){r.push(o)}}}return Xy++,t.then(hx,hx),t}function hx(){if(--Xy===0&&(-1<Ar||(ii=-1.1),Ou!==null)){Xs!==null&&(Xs.status="fulfilled");var e=Ou;Ou=null,Uo=0,Xs=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function tz(e,t){var r=[],o={status:"pending",value:null,reason:null,then:function(l){r.push(l)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var l=0;l<r.length;l++)(0,r[l])(t)},function(l){for(o.status="rejected",o.reason=l,l=0;l<r.length;l++)(0,r[l])(void 0)}),o}function Rm(){var e=jo.current;return e!==null?e:yt.pooledCache}function cf(e,t){t===null?W(jo,jo.current,e):W(jo,t.pool,e)}function mx(){var e=Rm();return e===null?null:{parent:Ft._currentValue,pool:e}}function px(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function yx(e){return e=e.status,e==="fulfilled"||e==="rejected"}function gx(e,t,r){Z.actQueue!==null&&(Z.didUsePromise=!0);var o=e.thenables;if(r=o[r],r===void 0?o.push(t):r!==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(qa,qa),t=r),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var l={name:typeof o=="string"?o:"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,vx(e),e;default:if(typeof t.status=="string")t.then(qa,qa);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(c){if(t.status==="pending"){var m=t;m.status="fulfilled",m.value=c}},function(c){if(t.status==="pending"){var m=t;m.status="rejected",m.reason=c}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,vx(e),e}throw Lo=t,Bu=!0,Qs}}function Si(e){try{return HM(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Lo=t,Bu=!0,Qs):t}}function bx(){if(Lo===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Lo;return Lo=null,Bu=!1,e}function vx(e){if(e===Qs||e===Td)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 fn(e){var t=Ge;return e!=null&&(Ge=t===null?e:t.concat(e)),t}function zm(){var e=Ge;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var r=e[t].debugTask;if(r!=null)return r}}return null}function ff(e,t,r){for(var o=Object.keys(e.props),l=0;l<o.length;l++){var c=o[l];if(c!=="children"&&c!=="key"){t===null&&(t=nf(e,r.mode,0),t._debugInfo=Ge,t.return=r),we(t,function(m){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m)},c);break}}}function df(e){var t=Hu;return Hu+=1,Zs===null&&(Zs=px()),gx(Zs,e,t)}function Fl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function xx(e,t){throw t.$$typeof===bO?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 hf(e,t){var r=zm();r!==null?r.run(xx.bind(null,e,t)):xx(e,t)}function Sx(e,t){var r=F(e)||"Component";RE[r]||(RE[r]=!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,r,t,r))}function mf(e,t){var r=zm();r!==null?r.run(Sx.bind(null,e,t)):Sx(e,t)}function wx(e,t){var r=F(e)||"Component";zE[r]||(zE[r]=!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>`,r,t,r))}function pf(e,t){var r=zm();r!==null?r.run(wx.bind(null,e,t)):wx(e,t)}function Ex(e){function t(O,j){if(e){var L=O.deletions;L===null?(O.deletions=[j],O.flags|=16):L.push(j)}}function r(O,j){if(!e)return null;for(;j!==null;)t(O,j),j=j.sibling;return null}function o(O){for(var j=new Map;O!==null;)O.key!==null?j.set(O.key,O):j.set(O.index,O),O=O.sibling;return j}function l(O,j){return O=Ia(O,j),O.index=0,O.sibling=null,O}function c(O,j,L){return O.index=L,e?(L=O.alternate,L!==null?(L=L.index,L<j?(O.flags|=67108866,j):L):(O.flags|=67108866,j)):(O.flags|=1048576,j)}function m(O){return e&&O.alternate===null&&(O.flags|=67108866),O}function g(O,j,L,ne){return j===null||j.tag!==6?(j=vm(L,O.mode,ne),j.return=O,j._debugOwner=O,j._debugTask=O._debugTask,j._debugInfo=Ge,j):(j=l(j,L),j.return=O,j._debugInfo=Ge,j)}function w(O,j,L,ne){var Se=L.type;return Se===Rs?(j=B(O,j,L.props.children,ne,L.key),ff(L,j,O),j):j!==null&&(j.elementType===Se||Wv(j,L)||typeof Se=="object"&&Se!==null&&Se.$$typeof===sr&&Si(Se)===j.type)?(j=l(j,L.props),Fl(j,L),j.return=O,j._debugOwner=L._owner,j._debugInfo=Ge,j):(j=nf(L,O.mode,ne),Fl(j,L),j.return=O,j._debugInfo=Ge,j)}function E(O,j,L,ne){return j===null||j.tag!==4||j.stateNode.containerInfo!==L.containerInfo||j.stateNode.implementation!==L.implementation?(j=xm(L,O.mode,ne),j.return=O,j._debugInfo=Ge,j):(j=l(j,L.children||[]),j.return=O,j._debugInfo=Ge,j)}function B(O,j,L,ne,Se){return j===null||j.tag!==7?(j=go(L,O.mode,ne,Se),j.return=O,j._debugOwner=O,j._debugTask=O._debugTask,j._debugInfo=Ge,j):(j=l(j,L),j.return=O,j._debugInfo=Ge,j)}function H(O,j,L){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=vm(""+j,O.mode,L),j.return=O,j._debugOwner=O,j._debugTask=O._debugTask,j._debugInfo=Ge,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Sa:return L=nf(j,O.mode,L),Fl(L,j),L.return=O,O=fn(j._debugInfo),L._debugInfo=Ge,Ge=O,L;case Cs:return j=xm(j,O.mode,L),j.return=O,j._debugInfo=Ge,j;case sr:var ne=fn(j._debugInfo);return j=Si(j),O=H(O,j,L),Ge=ne,O}if(en(j)||ge(j))return L=go(j,O.mode,L,null),L.return=O,L._debugOwner=O,L._debugTask=O._debugTask,O=fn(j._debugInfo),L._debugInfo=Ge,Ge=O,L;if(typeof j.then=="function")return ne=fn(j._debugInfo),O=H(O,df(j),L),Ge=ne,O;if(j.$$typeof===wa)return H(O,sf(O,j),L);hf(O,j)}return typeof j=="function"&&mf(O,j),typeof j=="symbol"&&pf(O,j),null}function M(O,j,L,ne){var Se=j!==null?j.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return Se!==null?null:g(O,j,""+L,ne);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case Sa:return L.key===Se?(Se=fn(L._debugInfo),O=w(O,j,L,ne),Ge=Se,O):null;case Cs:return L.key===Se?E(O,j,L,ne):null;case sr:return Se=fn(L._debugInfo),L=Si(L),O=M(O,j,L,ne),Ge=Se,O}if(en(L)||ge(L))return Se!==null?null:(Se=fn(L._debugInfo),O=B(O,j,L,ne,null),Ge=Se,O);if(typeof L.then=="function")return Se=fn(L._debugInfo),O=M(O,j,df(L),ne),Ge=Se,O;if(L.$$typeof===wa)return M(O,j,sf(O,L),ne);hf(O,L)}return typeof L=="function"&&mf(O,L),typeof L=="symbol"&&pf(O,L),null}function $(O,j,L,ne,Se){if(typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint")return O=O.get(L)||null,g(j,O,""+ne,Se);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case Sa:return L=O.get(ne.key===null?L:ne.key)||null,O=fn(ne._debugInfo),j=w(j,L,ne,Se),Ge=O,j;case Cs:return O=O.get(ne.key===null?L:ne.key)||null,E(j,O,ne,Se);case sr:var Be=fn(ne._debugInfo);return ne=Si(ne),j=$(O,j,L,ne,Se),Ge=Be,j}if(en(ne)||ge(ne))return L=O.get(L)||null,O=fn(ne._debugInfo),j=B(j,L,ne,Se,null),Ge=O,j;if(typeof ne.then=="function")return Be=fn(ne._debugInfo),j=$(O,j,L,df(ne),Se),Ge=Be,j;if(ne.$$typeof===wa)return $(O,j,L,sf(j,ne),Se);hf(j,ne)}return typeof ne=="function"&&mf(j,ne),typeof ne=="symbol"&&pf(j,ne),null}function ve(O,j,L,ne){if(typeof L!="object"||L===null)return ne;switch(L.$$typeof){case Sa:case Cs:p(O,j,L);var Se=L.key;if(typeof Se!="string")break;if(ne===null){ne=new Set,ne.add(Se);break}if(!ne.has(Se)){ne.add(Se);break}we(j,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.",Se)});break;case sr:L=Si(L),ve(O,j,L,ne)}return ne}function Ee(O,j,L,ne){for(var Se=null,Be=null,Me=null,Re=j,Fe=j=0,wt=null;Re!==null&&Fe<L.length;Fe++){Re.index>Fe?(wt=Re,Re=null):wt=Re.sibling;var Ht=M(O,Re,L[Fe],ne);if(Ht===null){Re===null&&(Re=wt);break}Se=ve(O,Ht,L[Fe],Se),e&&Re&&Ht.alternate===null&&t(O,Re),j=c(Ht,j,Fe),Me===null?Be=Ht:Me.sibling=Ht,Me=Ht,Re=wt}if(Fe===L.length)return r(O,Re),We&&Fa(O,Fe),Be;if(Re===null){for(;Fe<L.length;Fe++)Re=H(O,L[Fe],ne),Re!==null&&(Se=ve(O,Re,L[Fe],Se),j=c(Re,j,Fe),Me===null?Be=Re:Me.sibling=Re,Me=Re);return We&&Fa(O,Fe),Be}for(Re=o(Re);Fe<L.length;Fe++)wt=$(Re,O,Fe,L[Fe],ne),wt!==null&&(Se=ve(O,wt,L[Fe],Se),e&&wt.alternate!==null&&Re.delete(wt.key===null?Fe:wt.key),j=c(wt,j,Fe),Me===null?Be=wt:Me.sibling=wt,Me=wt);return e&&Re.forEach(function(hi){return t(O,hi)}),We&&Fa(O,Fe),Be}function bt(O,j,L,ne){if(L==null)throw Error("An iterable object provided no iterator.");for(var Se=null,Be=null,Me=j,Re=j=0,Fe=null,wt=null,Ht=L.next();Me!==null&&!Ht.done;Re++,Ht=L.next()){Me.index>Re?(Fe=Me,Me=null):Fe=Me.sibling;var hi=M(O,Me,Ht.value,ne);if(hi===null){Me===null&&(Me=Fe);break}wt=ve(O,hi,Ht.value,wt),e&&Me&&hi.alternate===null&&t(O,Me),j=c(hi,j,Re),Be===null?Se=hi:Be.sibling=hi,Be=hi,Me=Fe}if(Ht.done)return r(O,Me),We&&Fa(O,Re),Se;if(Me===null){for(;!Ht.done;Re++,Ht=L.next())Me=H(O,Ht.value,ne),Me!==null&&(wt=ve(O,Me,Ht.value,wt),j=c(Me,j,Re),Be===null?Se=Me:Be.sibling=Me,Be=Me);return We&&Fa(O,Re),Se}for(Me=o(Me);!Ht.done;Re++,Ht=L.next())Fe=$(Me,O,Re,Ht.value,ne),Fe!==null&&(wt=ve(O,Fe,Ht.value,wt),e&&Fe.alternate!==null&&Me.delete(Fe.key===null?Re:Fe.key),j=c(Fe,j,Re),Be===null?Se=Fe:Be.sibling=Fe,Be=Fe);return e&&Me.forEach(function(c_){return t(O,c_)}),We&&Fa(O,Re),Se}function nt(O,j,L,ne){if(typeof L=="object"&&L!==null&&L.type===Rs&&L.key===null&&(ff(L,null,O),L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case Sa:var Se=fn(L._debugInfo);e:{for(var Be=L.key;j!==null;){if(j.key===Be){if(Be=L.type,Be===Rs){if(j.tag===7){r(O,j.sibling),ne=l(j,L.props.children),ne.return=O,ne._debugOwner=L._owner,ne._debugInfo=Ge,ff(L,ne,O),O=ne;break e}}else if(j.elementType===Be||Wv(j,L)||typeof Be=="object"&&Be!==null&&Be.$$typeof===sr&&Si(Be)===j.type){r(O,j.sibling),ne=l(j,L.props),Fl(ne,L),ne.return=O,ne._debugOwner=L._owner,ne._debugInfo=Ge,O=ne;break e}r(O,j);break}else t(O,j);j=j.sibling}L.type===Rs?(ne=go(L.props.children,O.mode,ne,L.key),ne.return=O,ne._debugOwner=O,ne._debugTask=O._debugTask,ne._debugInfo=Ge,ff(L,ne,O),O=ne):(ne=nf(L,O.mode,ne),Fl(ne,L),ne.return=O,ne._debugInfo=Ge,O=ne)}return O=m(O),Ge=Se,O;case Cs:e:{for(Se=L,L=Se.key;j!==null;){if(j.key===L)if(j.tag===4&&j.stateNode.containerInfo===Se.containerInfo&&j.stateNode.implementation===Se.implementation){r(O,j.sibling),ne=l(j,Se.children||[]),ne.return=O,O=ne;break e}else{r(O,j);break}else t(O,j);j=j.sibling}ne=xm(Se,O.mode,ne),ne.return=O,O=ne}return m(O);case sr:return Se=fn(L._debugInfo),L=Si(L),O=nt(O,j,L,ne),Ge=Se,O}if(en(L))return Se=fn(L._debugInfo),O=Ee(O,j,L,ne),Ge=Se,O;if(ge(L)){if(Se=fn(L._debugInfo),Be=ge(L),typeof Be!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Me=Be.call(L);return Me===L?(O.tag!==0||Object.prototype.toString.call(O.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Me)!=="[object Generator]")&&(AE||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."),AE=!0):L.entries!==Be||Ky||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ky=!0),O=bt(O,j,Me,ne),Ge=Se,O}if(typeof L.then=="function")return Se=fn(L._debugInfo),O=nt(O,j,df(L),ne),Ge=Se,O;if(L.$$typeof===wa)return nt(O,j,sf(O,L),ne);hf(O,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(Se=""+L,j!==null&&j.tag===6?(r(O,j.sibling),ne=l(j,Se),ne.return=O,O=ne):(r(O,j),ne=vm(Se,O.mode,ne),ne.return=O,ne._debugOwner=O,ne._debugTask=O._debugTask,ne._debugInfo=Ge,O=ne),m(O)):(typeof L=="function"&&mf(O,L),typeof L=="symbol"&&pf(O,L),r(O,j))}return function(O,j,L,ne){var Se=Ge;Ge=null;try{Hu=0;var Be=nt(O,j,L,ne);return Zs=null,Be}catch(wt){if(wt===Qs||wt===Td)throw wt;var Me=x(29,wt,null,O.mode);Me.lanes=ne,Me.return=O;var Re=Me._debugInfo=Ge;if(Me._debugOwner=O._debugOwner,Me._debugTask=O._debugTask,Re!=null){for(var Fe=Re.length-1;0<=Fe;Fe--)if(typeof Re[Fe].stack=="string"){Me._debugOwner=Re[Fe],Me._debugTask=Re[Fe].debugTask;break}}return Me}finally{Ge=Se}}}function Tx(e,t){var r=en(e);return e=!r&&typeof ge(e)=="function",r||e?(r=r?"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>",r,t,r),!1):!0}function Om(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mm(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 wi(e){return{lane:e,tag:ME,payload:null,callback:null,next:null}}function Ei(e,t,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,eg===o&&!jE){var l=F(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),jE=!0}return(st&nn)!==cn?(l=o.pending,l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,t=tf(e),Kv(e,null,r),t):(ef(e,o,t,r),tf(e))}function Yl(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Pt(e,r)}}function yf(e,t){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var l=null,c=null;if(r=r.firstBaseUpdate,r!==null){do{var m={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};c===null?l=c=m:c=c.next=m,r=r.next}while(r!==null);c===null?l=c=t:c=c.next=t}else l=c=t;r={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:c,shared:o.shared,callbacks:o.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Gl(){if(tg){var e=Xs;if(e!==null)throw e}}function $l(e,t,r,o){tg=!1;var l=e.updateQueue;Ii=!1,eg=l.shared;var c=l.firstBaseUpdate,m=l.lastBaseUpdate,g=l.shared.pending;if(g!==null){l.shared.pending=null;var w=g,E=w.next;w.next=null,m===null?c=E:m.next=E,m=w;var B=e.alternate;B!==null&&(B=B.updateQueue,g=B.lastBaseUpdate,g!==m&&(g===null?B.firstBaseUpdate=E:g.next=E,B.lastBaseUpdate=w))}if(c!==null){var H=l.baseState;m=0,B=E=w=null,g=c;do{var M=g.lane&-536870913,$=M!==g.lane;if($?($e&M)===M:(o&M)===M){M!==0&&M===Uo&&(tg=!0),B!==null&&(B=B.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{M=e;var ve=g,Ee=t,bt=r;switch(ve.tag){case _E:if(ve=ve.payload,typeof ve=="function"){Gs=!0;var nt=ve.call(bt,H,Ee);if(M.mode&xn){De(!0);try{ve.call(bt,H,Ee)}finally{De(!1)}}Gs=!1,H=nt;break e}H=ve;break e;case Wy:M.flags=M.flags&-65537|128;case ME:if(nt=ve.payload,typeof nt=="function"){if(Gs=!0,ve=nt.call(bt,H,Ee),M.mode&xn){De(!0);try{nt.call(bt,H,Ee)}finally{De(!1)}}Gs=!1}else ve=nt;if(ve==null)break e;H=Je({},H,ve);break e;case UE:Ii=!0}}M=g.callback,M!==null&&(e.flags|=64,$&&(e.flags|=8192),$=l.callbacks,$===null?l.callbacks=[M]:$.push(M))}else $={lane:M,tag:g.tag,payload:g.payload,callback:g.callback,next:null},B===null?(E=B=$,w=H):B=B.next=$,m|=M;if(g=g.next,g===null){if(g=l.shared.pending,g===null)break;$=g,g=$.next,$.next=null,l.lastBaseUpdate=$,l.shared.pending=null}}while(!0);B===null&&(w=H),l.baseState=w,l.firstBaseUpdate=E,l.lastBaseUpdate=B,c===null&&(l.shared.lanes=0),Gi|=m,e.lanes=m,e.memoizedState=H}eg=null}function kx(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function nz(e,t){var r=e.shared.hiddenCallbacks;if(r!==null)for(e.shared.hiddenCallbacks=null,e=0;e<r.length;e++)kx(r[e],t)}function Dx(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)kx(r[e],t)}function Nx(e,t){var r=za;W(Dd,r,e),W(Js,t,e),za=r|t.baseLanes}function _m(e){W(Dd,za,e),W(Js,Js.current,e)}function Um(e){za=Dd.current,se(Js,e),se(Dd,e)}function Ti(e){var t=e.alternate;W(Bt,Bt.current&Ks,e),W(cr,e,e),Cr===null&&(t===null||Js.current!==null||t.memoizedState!==null)&&(Cr=e)}function jm(e){W(Bt,Bt.current,e),W(cr,e,e),Cr===null&&(Cr=e)}function Ax(e){e.tag===22?(W(Bt,Bt.current,e),W(cr,e,e),Cr===null&&(Cr=e)):ki(e)}function ki(e){W(Bt,Bt.current,e),W(cr,cr.current,e)}function ar(e){se(cr,e),Cr===e&&(Cr=null),se(Bt,e)}function gf(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Qp(r)||Zp(r)))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 Ze(){var e=Q;zr===null?zr=[e]:zr.push(e)}function fe(){var e=Q;if(zr!==null&&(li++,zr[li]!==e)){var t=F(Le);if(!VE.has(t)&&(VE.add(t),zr!==null)){for(var r="",o=0;o<=li;o++){var l=zr[o],c=o===li?e:l;for(l=o+1+". "+l;30>l.length;)l+=" ";l+=c+`
|
|
108
|
+
`,r+=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,r)}}}function ys(e){e==null||en(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.",Q,typeof e)}function bf(){var e=F(Le);BE.has(e)||(BE.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function jt(){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 Vm(e,t){if(Iu)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.",Q),!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`,Q,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var r=0;r<t.length&&r<e.length;r++)if(!Mn(e[r],t[r]))return!1;return!0}function Lm(e,t,r,o,l,c){oi=c,Le=t,zr=e!==null?e._debugHookTypes:null,li=-1,Iu=e!==null&&e.type!==t.type,(Object.prototype.toString.call(r)==="[object AsyncFunction]"||Object.prototype.toString.call(r)==="[object AsyncGeneratorFunction]")&&(c=F(Le),ng.has(c)||(ng.add(c),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.",c===null?"An unknown Component":"<"+c+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,Z.H=e!==null&&e.memoizedState!==null?ag:zr!==null?HE:rg,Ho=c=(t.mode&xn)!==Ve;var m=Qy(r,o,l);if(Ho=!1,el&&(m=Bm(t,r,o,l)),c){De(!0);try{m=Bm(t,r,o,l)}finally{De(!1)}}return Cx(e,t),m}function Cx(e,t){t._debugHookTypes=zr,t.dependencies===null?si!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:si}):t.dependencies._debugThenableState=si,Z.H=Fu;var r=pt!==null&&pt.next!==null;if(oi=0,zr=Q=Gt=pt=Le=null,li=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Ad=!1,qu=0,si=null,r)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||$t||(e=e.dependencies,e!==null&&of(e)&&($t=!0)),Bu?(Bu=!1,e=!0):e=!1,e&&(t=F(t)||"Unknown",LE.has(t)||ng.has(t)||(LE.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 Bm(e,t,r,o){Le=e;var l=0;do{if(el&&(si=null),qu=0,el=!1,l>=qM)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,Iu=!1,Gt=pt=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}li=-1,Z.H=PE,c=Qy(t,r,o)}while(el);return c}function rz(){var e=Z.H,t=e.useState()[0];return t=typeof t.then=="function"?Xl(t):t,e=e.useState()[0],(pt!==null?pt.memoizedState:null)!==e&&(Le.flags|=1024),t}function Hm(){var e=Cd!==0;return Cd=0,e}function Pm(e,t,r){t.updateQueue=e.updateQueue,t.flags=(t.mode&$r)!==Ve?t.flags&-402655237:t.flags&-2053,e.lanes&=~r}function qm(e){if(Ad){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ad=!1}oi=0,zr=Gt=pt=Le=null,li=-1,Q=null,el=!1,qu=Cd=0,si=null}function Cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gt===null?Le.memoizedState=Gt=e:Gt=Gt.next=e,Gt}function dt(){if(pt===null){var e=Le.alternate;e=e!==null?e.memoizedState:null}else e=pt.next;var t=Gt===null?Le.memoizedState:Gt.next;if(t!==null)Gt=t,pt=e;else{if(e===null)throw Le.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.");pt=e,e={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},Gt===null?Le.memoizedState=Gt=e:Gt=Gt.next=e}return Gt}function vf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xl(e){var t=qu;return qu+=1,si===null&&(si=px()),e=gx(si,e,t),t=Le,(Gt===null?t.memoizedState:Gt.next)===null&&(t=t.alternate,Z.H=t!==null&&t.memoizedState!==null?ag:rg),e}function Di(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Xl(e);if(e.$$typeof===wa)return Dt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function wo(e){var t=null,r=Le.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var o=Le.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=vf(),Le.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0||Iu)for(r=t.data[t.index]=Array(e),o=0;o<e;o++)r[o]=vO;else r.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.",r.length,e);return t.index++,r}function Fr(e,t){return typeof t=="function"?t(e):t}function Im(e,t,r){var o=Cn();if(r!==void 0){var l=r(t);if(Ho){De(!0);try{r(t)}finally{De(!1)}}}else l=t;return o.memoizedState=o.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},o.queue=e,e=e.dispatch=lz.bind(null,Le,e),[o.memoizedState,e]}function gs(e){var t=dt();return Fm(t,pt,e)}function Fm(e,t,r){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=r;var l=e.baseQueue,c=o.pending;if(c!==null){if(l!==null){var m=l.next;l.next=c.next,c.next=m}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=c,o.pending=null}if(c=e.baseState,l===null)e.memoizedState=c;else{t=l.next;var g=m=null,w=null,E=t,B=!1;do{var H=E.lane&-536870913;if(H!==E.lane?($e&H)===H:(oi&H)===H){var M=E.revertLane;if(M===0)w!==null&&(w=w.next={lane:0,revertLane:0,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),H===Uo&&(B=!0);else if((oi&M)===M){E=E.next,M===Uo&&(B=!0);continue}else H={lane:0,revertLane:E.revertLane,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},w===null?(g=w=H,m=c):w=w.next=H,Le.lanes|=M,Gi|=M;H=E.action,Ho&&r(c,H),c=E.hasEagerState?E.eagerState:r(c,H)}else M={lane:H,revertLane:E.revertLane,gesture:E.gesture,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},w===null?(g=w=M,m=c):w=w.next=M,Le.lanes|=H,Gi|=H;E=E.next}while(E!==null&&E!==t);if(w===null?m=c:w.next=g,!Mn(c,e.memoizedState)&&($t=!0,B&&(r=Xs,r!==null)))throw r;e.memoizedState=c,e.baseState=m,e.baseQueue=w,o.lastRenderedState=c}return l===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Ql(e){var t=dt(),r=t.queue;if(r===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");r.lastRenderedReducer=e;var o=r.dispatch,l=r.pending,c=t.memoizedState;if(l!==null){r.pending=null;var m=l=l.next;do c=e(c,m.action),m=m.next;while(m!==l);Mn(c,t.memoizedState)||($t=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),r.lastRenderedState=c}return[c,o]}function Ym(e,t,r){var o=Le,l=Cn();if(We){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=r();Ws||c===r()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Ws=!0)}else{if(c=t(),Ws||(r=t(),Mn(c,r)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ws=!0)),yt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");($e&127)!==0||Rx(o,t,c)}return l.memoizedState=c,r={value:c,getSnapshot:t},l.queue=r,Ef(Ox.bind(null,o,r,e),[e]),o.flags|=2048,vs(Rr|jn,{destroy:void 0},zx.bind(null,o,r,c,t),null),c}function xf(e,t,r){var o=Le,l=dt(),c=We;if(c){if(r===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=r()}else if(r=t(),!Ws){var m=t();Mn(r,m)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ws=!0)}(m=!Mn((pt||l).memoizedState,r))&&(l.memoizedState=r,$t=!0),l=l.queue;var g=Ox.bind(null,o,l,e);if(Pn(2048,jn,g,[e]),l.getSnapshot!==t||m||Gt!==null&&Gt.memoizedState.tag&Rr){if(o.flags|=2048,vs(Rr|jn,{destroy:void 0},zx.bind(null,o,l,r,t),null),yt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(oi&127)!==0||Rx(o,t,r)}return r}function Rx(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Le.updateQueue,t===null?(t=vf(),Le.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function zx(e,t,r,o){t.value=r,t.getSnapshot=o,Mx(t)&&_x(e)}function Ox(e,t,r){return r(function(){Mx(t)&&(la(2,"updateSyncExternalStore()",e),_x(e))})}function Mx(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Mn(e,r)}catch{return!0}}function _x(e){var t=bn(e,2);t!==null&&zt(t,e,2)}function Gm(e){var t=Cn();if(typeof e=="function"){var r=e;if(e=r(),Ho){De(!0);try{r()}finally{De(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:e},t}function $m(e){e=Gm(e);var t=e.queue,r=Wx.bind(null,Le,t);return t.dispatch=r,[e.memoizedState,r]}function Xm(e){var t=Cn();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=lp.bind(null,Le,!0,r),r.dispatch=t,[e,t]}function Ux(e,t){var r=dt();return jx(r,pt,e,t)}function jx(e,t,r,o){return e.baseState=r,Fm(e,pt,typeof o=="function"?o:Fr)}function Vx(e,t){var r=dt();return pt!==null?jx(r,pt,e,t):(r.baseState=e,[e,r.queue.dispatch])}function az(e,t,r,o,l){if(Cf(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var c={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};Z.T!==null?r(!0):c.isTransition=!1,o(c),r=t.pending,r===null?(c.next=t.pending=c,Lx(t,c)):(c.next=r.next,t.pending=r.next=c)}}function Lx(e,t){var r=t.action,o=t.payload,l=e.state;if(t.isTransition){var c=Z.T,m={};m._updatedFibers=new Set,Z.T=m;try{var g=r(l,o),w=Z.S;w!==null&&w(m,g),Bx(e,t,g)}catch(E){Qm(e,t,E)}finally{c!==null&&m.types!==null&&(c.types!==null&&c.types!==m.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."),c.types=m.types),Z.T=c,c===null&&m._updatedFibers&&(e=m._updatedFibers.size,m._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{m=r(l,o),Bx(e,t,m)}catch(E){Qm(e,t,E)}}function Bx(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?(Z.asyncTransitions++,r.then(Af,Af),r.then(function(o){Hx(e,t,o)},function(o){return Qm(e,t,o)}),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.")):Hx(e,t,r)}function Hx(e,t,r){t.status="fulfilled",t.value=r,Px(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,Lx(e,r)))}function Qm(e,t,r){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=r,Px(t),t=t.next;while(t!==o)}e.action=null}function Px(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function qx(e,t){return t}function bs(e,t){if(We){var r=yt.formState;if(r!==null){e:{var o=Le;if(We){if(St){t:{for(var l=St,c=Nr;l.nodeType!==8;){if(!c){l=null;break t}if(l=or(l.nextSibling),l===null){l=null;break t}}c=l.data,l=c===Ng||c===DT?l:null}if(l){St=or(l.nextSibling),o=l.data===Ng;break e}}vi(o)}o=!1}o&&(t=r[0])}}return r=Cn(),r.memoizedState=r.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qx,lastRenderedState:t},r.queue=o,r=Wx.bind(null,Le,o),o.dispatch=r,o=Gm(!1),c=lp.bind(null,Le,!1,o.queue),o=Cn(),l={state:t,dispatch:null,action:e,pending:null},o.queue=l,r=az.bind(null,Le,l,c,r),l.dispatch=r,o.memoizedState=e,[t,r,!1]}function Sf(e){var t=dt();return Ix(t,pt,e)}function Ix(e,t,r){if(t=Fm(e,t,qx)[0],e=gs(Fr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=Xl(t)}catch(m){throw m===Qs?Td:m}else o=t;t=dt();var l=t.queue,c=l.dispatch;return r!==t.memoizedState&&(Le.flags|=2048,vs(Rr|jn,{destroy:void 0},iz.bind(null,l,r),null)),[o,c,e]}function iz(e,t){e.action=t}function wf(e){var t=dt(),r=pt;if(r!==null)return Ix(t,r,e);dt(),t=t.memoizedState,r=dt();var o=r.queue.dispatch;return r.memoizedState=e,[t,o,!1]}function vs(e,t,r,o){return e={tag:e,create:r,deps:o,inst:t,next:null},t=Le.updateQueue,t===null&&(t=vf(),Le.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e),e}function Zm(e){var t=Cn();return e={current:e},t.memoizedState=e}function Eo(e,t,r,o){var l=Cn();Le.flags|=e,l.memoizedState=vs(Rr|t,{destroy:void 0},r,o===void 0?null:o)}function Pn(e,t,r,o){var l=dt();o=o===void 0?null:o;var c=l.memoizedState.inst;pt!==null&&o!==null&&Vm(o,pt.memoizedState.deps)?l.memoizedState=vs(t,c,r,o):(Le.flags|=e,l.memoizedState=vs(Rr|t,c,r,o))}function Ef(e,t){(Le.mode&$r)!==Ve?Eo(276826112,jn,e,t):Eo(8390656,jn,e,t)}function oz(e){Le.flags|=4;var t=Le.updateQueue;if(t===null)t=vf(),Le.updateQueue=t,t.events=[e];else{var r=t.events;r===null?t.events=[e]:r.push(e)}}function Jm(e){var t=Cn(),r={impl:e};return t.memoizedState=r,function(){if((st&nn)!==cn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return r.impl.apply(void 0,arguments)}}function Tf(e){var t=dt().memoizedState;return oz({ref:t,nextImpl:e}),function(){if((st&nn)!==cn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Km(e,t){var r=4194308;return(Le.mode&$r)!==Ve&&(r|=134217728),Eo(r,fr,e,t)}function Fx(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():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 Wm(e,t,r){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"),r=r!=null?r.concat([e]):null;var o=4194308;(Le.mode&$r)!==Ve&&(o|=134217728),Eo(o,fr,Fx.bind(null,t,e),r)}function kf(e,t,r){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"),r=r!=null?r.concat([e]):null,Pn(4,fr,Fx.bind(null,t,e),r)}function ep(e,t){return Cn().memoizedState=[e,t===void 0?null:t],e}function Df(e,t){var r=dt();t=t===void 0?null:t;var o=r.memoizedState;return t!==null&&Vm(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function tp(e,t){var r=Cn();t=t===void 0?null:t;var o=e();if(Ho){De(!0);try{e()}finally{De(!1)}}return r.memoizedState=[o,t],o}function Nf(e,t){var r=dt();t=t===void 0?null:t;var o=r.memoizedState;if(t!==null&&Vm(t,o[1]))return o[0];if(o=e(),Ho){De(!0);try{e()}finally{De(!1)}}return r.memoizedState=[o,t],o}function np(e,t){var r=Cn();return rp(r,e,t)}function Yx(e,t){var r=dt();return $x(r,pt.memoizedState,e,t)}function Gx(e,t){var r=dt();return pt===null?rp(r,e,t):$x(r,pt.memoizedState,e,t)}function rp(e,t,r){return r===void 0||(oi&1073741824)!==0&&($e&261930)===0?e.memoizedState=t:(e.memoizedState=r,e=X1(),Le.lanes|=e,Gi|=e,r)}function $x(e,t,r,o){return Mn(r,t)?r:Js.current!==null?(e=rp(e,r,o),Mn(e,t)||($t=!0),e):(oi&42)===0||(oi&1073741824)!==0&&($e&261930)===0?($t=!0,e.memoizedState=r):(e=X1(),Le.lanes|=e,Gi|=e,t)}function Af(){Z.asyncTransitions--}function Xx(e,t,r,o,l){var c=ft.p;ft.p=c!==0&&c<Da?c:Da;var m=Z.T,g={};g._updatedFibers=new Set,Z.T=g,lp(e,!1,t,r);try{var w=l(),E=Z.S;if(E!==null&&E(g,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){Z.asyncTransitions++,w.then(Af,Af);var B=tz(w,o);Zl(e,t,B,ir(e))}else Zl(e,t,o,ir(e))}catch(H){Zl(e,t,{then:function(){},status:"rejected",reason:H},ir(e))}finally{ft.p=c,m!==null&&g.types!==null&&(m.types!==null&&m.types!==g.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."),m.types=g.types),Z.T=m,m===null&&g._updatedFibers&&(e=g._updatedFibers.size,g._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 ap(e,t,r,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=Qx(e).queue;WR(e),Xx(e,l,t,Jo,r===null?y:function(){return Zx(e),r(o)})}function Qx(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Jo,baseState:Jo,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:Jo},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fr,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Zx(e){Z.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Qx(e);t.next===null&&(t=e.alternate.memoizedState),Zl(e,t.next.queue,{},ir(e))}function ip(){var e=Gm(!1);return e=Xx.bind(null,Le,e.queue,!0,!1),Cn().memoizedState=e,[!1,e]}function Jx(){var e=gs(Fr)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]}function Kx(){var e=Ql(Fr)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Xl(e),t]}function To(){return Dt(ic)}function op(){var e=Cn(),t=yt.identifierPrefix;if(We){var r=ti,o=ei;r=(o&~(1<<32-Rn(o)-1)).toString(32)+r,t="_"+t+"R_"+r,r=Cd++,0<r&&(t+="H"+r.toString(32)),t+="_"}else r=PM++,t="_"+t+"r_"+r.toString(32)+"_";return e.memoizedState=t}function sp(){return Cn().memoizedState=sz.bind(null,Le)}function sz(e,t){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var o=ir(r),l=wi(o),c=Ei(r,l,o);c!==null&&(la(o,"refresh()",e),zt(c,r,o),Yl(c,r,o)),e=Nm(),t!=null&&c!==null&&console.error("The seed argument is not enabled outside experimental channels."),l.payload={cache:e};return}r=r.return}}function lz(e,t,r){var o=arguments;typeof o[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()."),o=ir(e);var l={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};Cf(e)?e1(t,l):(l=pm(e,t,l,o),l!==null&&(la(o,"dispatch()",e),zt(l,e,o),t1(l,t,o)))}function Wx(e,t,r){var o=arguments;typeof o[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()."),o=ir(e),Zl(e,t,r,o)&&la(o,"setState()",e)}function Zl(e,t,r,o){var l={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Cf(e))e1(t,l);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var m=Z.H;Z.H=Qr;try{var g=t.lastRenderedState,w=c(g,r);if(l.hasEagerState=!0,l.eagerState=w,Mn(w,g))return ef(e,t,l,0),yt===null&&Wc(),!1}catch{}finally{Z.H=m}}if(r=pm(e,t,l,o),r!==null)return zt(r,e,o),t1(r,t,o),!0}return!1}function lp(e,t,r,o){if(Z.T===null&&Uo===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."),o={lane:2,revertLane:Lp(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Cf(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=pm(e,r,o,2),t!==null&&(la(2,"setOptimistic()",e),zt(t,e,2))}function Cf(e){var t=e.alternate;return e===Le||t!==null&&t===Le}function e1(e,t){el=Ad=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function t1(e,t,r){if((r&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,Pt(e,r)}}function up(e){if(e!==null&&typeof e!="function"){var t=String(e);KE.has(t)||(KE.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function cp(e,t,r,o){var l=e.memoizedState,c=r(o,l);if(e.mode&xn){De(!0);try{c=r(o,l)}finally{De(!1)}}c===void 0&&(t=le(t)||"Component",XE.has(t)||(XE.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=c==null?l:Je({},l,c),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function n1(e,t,r,o,l,c,m){var g=e.stateNode;if(typeof g.shouldComponentUpdate=="function"){if(r=g.shouldComponentUpdate(o,c,m),e.mode&xn){De(!0);try{r=g.shouldComponentUpdate(o,c,m)}finally{De(!1)}}return r===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",le(t)||"Component"),r}return t.prototype&&t.prototype.isPureReactComponent?!Bl(r,o)||!Bl(l,c):!0}function r1(e,t,r,o){var l=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==l&&(e=F(e)||"Component",IE.has(e)||(IE.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),ig.enqueueReplaceState(t,t.state,null))}function ko(e,t){var r=t;if("ref"in t){r={};for(var o in t)o!=="ref"&&(r[o]=t[o])}if(e=e.defaultProps){r===t&&(r=Je({},r));for(var l in e)r[l]===void 0&&(r[l]=e[l])}return r}function a1(e){jy(e),console.warn(`%s
|
|
121
|
+
|
|
122
|
+
%s
|
|
123
|
+
`,tl?"An error occurred in the <"+tl+"> 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 i1(e){var t=tl?"The above error occurred in the <"+tl+"> component.":"The above error occurred in one of your React components.",r="React will try to recreate this component tree from scratch using the error boundary you provided, "+((og||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,e,t,r].slice(0),typeof e[0]=="string"?e.splice(0,1,_T+" "+e[0],UT,eh+o+eh,jT):e.splice(0,0,_T,UT,eh+o+eh,jT),e.unshift(console),o=l_.apply(console.error,e),o()}else console.error(`%o
|
|
130
|
+
|
|
131
|
+
%s
|
|
132
|
+
|
|
133
|
+
%s
|
|
134
|
+
`,e,t,r)}function o1(e){jy(e)}function Rf(e,t){try{tl=t.source?F(t.source):null,og=null;var r=t.value;if(Z.actQueue!==null)Z.thrownErrors.push(r);else{var o=e.onUncaughtError;o(r,{componentStack:t.stack})}}catch(l){setTimeout(function(){throw l})}}function s1(e,t,r){try{tl=r.source?F(r.source):null,og=F(t);var o=e.onCaughtError;o(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function fp(e,t,r){return r=wi(r),r.tag=Wy,r.payload={element:null},r.callback=function(){we(t.source,Rf,e,t)},r}function dp(e){return e=wi(e),e.tag=Wy,e}function hp(e,t,r,o){var l=r.type.getDerivedStateFromError;if(typeof l=="function"){var c=o.value;e.payload=function(){return l(c)},e.callback=function(){ex(r),we(o.source,s1,t,r,o)}}var m=r.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){ex(r),we(o.source,s1,t,r,o),typeof l!="function"&&(Xi===null?Xi=new Set([this]):Xi.add(this)),VM(this,o),typeof l=="function"||(r.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.",F(r)||"Unknown")})}function uz(e,t,r,o,l){if(r.flags|=32768,ka&&au(e,l),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=r.alternate,t!==null&&ps(t,r,l,!0),We&&(Aa=!0),r=cr.current,r!==null){switch(r.tag){case 31:case 13:return Cr===null?Bf():r.alternate===null&&Rt===ci&&(Rt=Od),r.flags&=-257,r.flags|=65536,r.lanes=l,o===kd?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([o]):t.add(o),_p(e,o,l)),!1;case 22:return r.flags|=65536,o===kd?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([o]):r.add(o)),_p(e,o,l)),!1}throw Error("Unexpected Suspense handler tag ("+r.tag+"). This is a bug in React.")}return _p(e,o,l),Bf(),!1}if(We)return Aa=!0,t=cr.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,o!==qy&&Hl(tr(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),r))):(o!==qy&&Hl(tr(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),r)),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,o=tr(o,r),l=fp(e.stateNode,o,l),yf(e,l),Rt!==Fi&&(Rt=Po)),!1;var c=tr(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),r);if(Zu===null?Zu=[c]:Zu.push(c),Rt!==Fi&&(Rt=Po),t===null)return!0;o=tr(o,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=l&-l,r.lanes|=e,e=fp(r.stateNode,o,e),yf(r,e),!1;case 1:if(t=r.type,c=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Xi===null||!Xi.has(c))))return r.flags|=65536,l&=-l,r.lanes|=l,l=dp(l),hp(l,e,r,o),yf(r,l),!1}r=r.return}while(r!==null);return!1}function dn(e,t,r,o){t.child=e===null?OE(t,null,r,o):Bo(t,e.child,r,o)}function l1(e,t,r,o,l){r=r.render;var c=t.ref;if("ref"in o){var m={};for(var g in o)g!=="ref"&&(m[g]=o[g])}else m=o;return xo(t),o=Lm(e,t,r,m,c,l),g=Hm(),e!==null&&!$t?(Pm(e,t,l),$a(e,t,l)):(We&&g&&Sm(t),t.flags|=1,dn(e,t,o,l),t.child)}function u1(e,t,r,o,l){if(e===null){var c=r.type;return typeof c=="function"&&!gm(c)&&c.defaultProps===void 0&&r.compare===null?(r=yo(c),t.tag=15,t.type=r,pp(t,c),c1(e,t,r,o,l)):(e=bm(r.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!Sp(e,l)){var m=c.memoizedProps;if(r=r.compare,r=r!==null?r:Bl,r(m,o)&&e.ref===t.ref)return $a(e,t,l)}return t.flags|=1,e=Ia(c,o),e.ref=t.ref,e.return=t,t.child=e}function c1(e,t,r,o,l){if(e!==null){var c=e.memoizedProps;if(Bl(c,o)&&e.ref===t.ref&&t.type===e.type)if($t=!1,t.pendingProps=o=c,Sp(e,l))(e.flags&131072)!==0&&($t=!0);else return t.lanes=e.lanes,$a(e,t,l)}return mp(e,t,r,o,l)}function f1(e,t,r,o){var l=o.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:ku,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|r:r,e!==null){for(o=t.child=e.child,l=0;o!==null;)l=l|o.lanes|o.childLanes,o=o.sibling;o=l&~c}else o=0,t.child=null;return d1(e,t,c,r,o)}if((r&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&cf(t,c!==null?c.cachePool:null),c!==null?Nx(t,c):_m(t),Ax(t);else return o=t.lanes=536870912,d1(e,t,c!==null?c.baseLanes|r:r,r,o)}else c!==null?(cf(t,c.cachePool),Nx(t,c),ki(t),t.memoizedState=null):(e!==null&&cf(t,null),_m(t),ki(t));return dn(e,t,l,r),t.child}function Jl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:ku,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function d1(e,t,r,o,l){var c=Rm();return c=c===null?null:{parent:Ft._currentValue,pool:c},t.memoizedState={baseLanes:r,cachePool:c},e!==null&&cf(t,null),_m(t),Ax(t),e!==null&&ps(e,t,o,!0),t.childLanes=l,null}function zf(e,t){var r=t.hidden;return r!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
135
|
+
- <Activity %s>
|
|
136
|
+
+ <Activity %s>`,r===!0?"hidden":r===!1?"hidden={false}":"hidden={...}",r?'mode="hidden"':'mode="visible"'),t=Mf({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function h1(e,t,r){return Bo(t,e.child,null,r),e=zf(t,t.pendingProps),e.flags|=2,ar(t),t.memoizedState=null,e}function cz(e,t,r){var o=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(We){if(o.mode==="hidden")return e=zf(t,o),t.lanes=536870912,Jl(null,e);if(jm(t),(e=St)?(r=LS(e,Nr),r=r!==null&&r.data===$o?r:null,r!==null&&(o={dehydrated:r,treeContext:ix(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=rx(r),o.return=t,t.child=o,pn=t,St=null)):r=null,r===null)throw rf(t,e),vi(t);return t.lanes=536870912,null}return zf(t,o)}var c=e.memoizedState;if(c!==null){var m=c.dehydrated;if(jm(t),l)if(t.flags&256)t.flags&=-257,t=h1(e,t,r);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(sx(),(r&536870912)!==0&&Lf(t),$t||ps(e,t,r,!1),l=(r&e.childLanes)!==0,$t||l){if(o=yt,o!==null&&(m=Dn(o,r),m!==0&&m!==c.retryLane))throw c.retryLane=m,bn(e,m),zt(o,e,m),sg;Bf(),t=h1(e,t,r)}else e=c.treeContext,St=or(m.nextSibling),pn=t,We=!0,Li=null,Aa=!1,ur=null,Nr=!1,e!==null&&ox(t,e),t=zf(t,o),t.flags|=4096;return t}return c=e.child,o={mode:o.mode,children:o.children},(r&536870912)!==0&&(r&e.lanes)!==0&&Lf(t),e=Ia(c,o),e.ref=t.ref,t.child=e,e.return=t,e}function Of(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==r)&&(t.flags|=4194816)}}function mp(e,t,r,o,l){if(r.prototype&&typeof r.prototype.render=="function"){var c=le(r)||"Unknown";WE[c]||(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.",c,c),WE[c]=!0)}return t.mode&xn&&Xr.recordLegacyContextWarning(t,null),e===null&&(pp(t,t.type),r.contextTypes&&(c=le(r)||"Unknown",tT[c]||(tT[c]=!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)",c)))),xo(t),r=Lm(e,t,r,o,void 0,l),o=Hm(),e!==null&&!$t?(Pm(e,t,l),$a(e,t,l)):(We&&o&&Sm(t),t.flags|=1,dn(e,t,r,l),t.child)}function m1(e,t,r,o,l,c){return xo(t),li=-1,Iu=e!==null&&e.type!==t.type,t.updateQueue=null,r=Bm(t,o,r,l),Cx(e,t),o=Hm(),e!==null&&!$t?(Pm(e,t,c),$a(e,t,c)):(We&&o&&Sm(t),t.flags|=1,dn(e,t,r,c),t.child)}function p1(e,t,r,o,l){switch(d(t)){case!1:var c=t.stateNode,m=new t.type(t.memoizedProps,c.context).state;c.updater.enqueueSetState(c,m,null);break;case!0:t.flags|=128,t.flags|=65536,c=Error("Simulated error coming from DevTools");var g=l&-l;if(t.lanes|=g,m=yt,m===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");g=dp(g),hp(g,m,t,tr(c,t)),yf(t,g)}if(xo(t),t.stateNode===null){if(m=Vi,c=r.contextType,"contextType"in r&&c!==null&&(c===void 0||c.$$typeof!==wa)&&!JE.has(r)&&(JE.add(r),g=c===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 c!="object"?" However, it is set to a "+typeof c+".":c.$$typeof===ly?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",le(r)||"Component",g)),typeof c=="object"&&c!==null&&(m=Dt(c)),c=new r(o,m),t.mode&xn){De(!0);try{c=new r(o,m)}finally{De(!1)}}if(m=t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=ig,t.stateNode=c,c._reactInternals=t,c._reactInternalInstance=qE,typeof r.getDerivedStateFromProps=="function"&&m===null&&(m=le(r)||"Component",FE.has(m)||(FE.add(m),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.",m,c.state===null?"null":"undefined",m))),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"){var w=g=m=null;if(typeof c.componentWillMount=="function"&&c.componentWillMount.__suppressDeprecationWarning!==!0?m="componentWillMount":typeof c.UNSAFE_componentWillMount=="function"&&(m="UNSAFE_componentWillMount"),typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps.__suppressDeprecationWarning!==!0?g="componentWillReceiveProps":typeof c.UNSAFE_componentWillReceiveProps=="function"&&(g="UNSAFE_componentWillReceiveProps"),typeof c.componentWillUpdate=="function"&&c.componentWillUpdate.__suppressDeprecationWarning!==!0?w="componentWillUpdate":typeof c.UNSAFE_componentWillUpdate=="function"&&(w="UNSAFE_componentWillUpdate"),m!==null||g!==null||w!==null){c=le(r)||"Component";var E=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";GE.has(c)||(GE.add(c),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`,c,E,m!==null?`
|
|
142
|
+
`+m:"",g!==null?`
|
|
143
|
+
`+g:"",w!==null?`
|
|
144
|
+
`+w:""))}}c=t.stateNode,m=le(r)||"Component",c.render||(r.prototype&&typeof r.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",m):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",m)),!c.getInitialState||c.getInitialState.isReactClassApproved||c.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?",m),c.getDefaultProps&&!c.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.",m),c.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),r.childContextTypes&&!ZE.has(r)&&(ZE.add(r),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",m)),r.contextTypes&&!QE.has(r)&&(QE.add(r),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)",m)),typeof c.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.",m),r.prototype&&r.prototype.isPureReactComponent&&typeof c.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.",le(r)||"A pure component"),typeof c.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",m),typeof c.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().",m),typeof c.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",m),typeof c.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",m),g=c.props!==o,c.props!==void 0&&g&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",m),c.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.",m,m),typeof c.getSnapshotBeforeUpdate!="function"||typeof c.componentDidUpdate=="function"||YE.has(r)||(YE.add(r),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",le(r))),typeof c.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof c.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof r.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",m),(g=c.state)&&(typeof g!="object"||en(g))&&console.error("%s.state: must be set to an object or null",m),typeof c.getChildContext=="function"&&typeof r.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",m),c=t.stateNode,c.props=o,c.state=t.memoizedState,c.refs={},Om(t),m=r.contextType,c.context=typeof m=="object"&&m!==null?Dt(m):Vi,c.state===o&&(m=le(r)||"Component",$E.has(m)||($E.add(m),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.",m))),t.mode&xn&&Xr.recordLegacyContextWarning(t,c),Xr.recordUnsafeLifecycleWarnings(t,c),c.state=t.memoizedState,m=r.getDerivedStateFromProps,typeof m=="function"&&(cp(t,r,m,o),c.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(m=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),m!==c.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",F(t)||"Component"),ig.enqueueReplaceState(c,c.state,null)),$l(t,o,c,l),Gl(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),c=!0}else if(e===null){c=t.stateNode;var B=t.memoizedProps;g=ko(r,B),c.props=g;var H=c.context;w=r.contextType,m=Vi,typeof w=="object"&&w!==null&&(m=Dt(w)),E=r.getDerivedStateFromProps,w=typeof E=="function"||typeof c.getSnapshotBeforeUpdate=="function",B=t.pendingProps!==B,w||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(B||H!==m)&&r1(t,c,o,m),Ii=!1;var M=t.memoizedState;c.state=M,$l(t,o,c,l),Gl(),H=t.memoizedState,B||M!==H||Ii?(typeof E=="function"&&(cp(t,r,E,o),H=t.memoizedState),(g=Ii||n1(t,r,g,o,M,H,m))?(w||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=H),c.props=o,c.state=H,c.context=m,c=g):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&$r)!==Ve&&(t.flags|=134217728),c=!1)}else{c=t.stateNode,Mm(e,t),m=t.memoizedProps,w=ko(r,m),c.props=w,E=t.pendingProps,M=c.context,H=r.contextType,g=Vi,typeof H=="object"&&H!==null&&(g=Dt(H)),B=r.getDerivedStateFromProps,(H=typeof B=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==E||M!==g)&&r1(t,c,o,g),Ii=!1,M=t.memoizedState,c.state=M,$l(t,o,c,l),Gl();var $=t.memoizedState;m!==E||M!==$||Ii||e!==null&&e.dependencies!==null&&of(e.dependencies)?(typeof B=="function"&&(cp(t,r,B,o),$=t.memoizedState),(w=Ii||n1(t,r,w,o,M,$,g)||e!==null&&e.dependencies!==null&&of(e.dependencies))?(H||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(o,$,g),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(o,$,g)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=$),c.props=o,c.state=$,c.context=g,c=w):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),c=!1)}if(g=c,Of(e,t),m=(t.flags&128)!==0,g||m){if(g=t.stateNode,Kn(t),m&&typeof r.getDerivedStateFromError!="function")r=null,_n=-1;else if(r=bE(g),t.mode&xn){De(!0);try{bE(g)}finally{De(!1)}}t.flags|=1,e!==null&&m?(t.child=Bo(t,e.child,null,l),t.child=Bo(t,null,r,l)):dn(e,t,r,l),t.memoizedState=g.state,e=t.child}else e=$a(e,t,l);return l=t.stateNode,c&&l.props!==o&&(nl||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",F(t)||"a component"),nl=!0),e}function y1(e,t,r,o){return vo(),t.flags|=256,dn(e,t,r,o),t.child}function pp(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=le(t)||"Unknown",nT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),nT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=le(t)||"Unknown",eT[t]||(console.error("%s: Function components do not support contextType.",t),eT[t]=!0))}function yp(e){return{baseLanes:e,cachePool:mx()}}function gp(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=Gn),e}function g1(e,t,r){var o,l=t.pendingProps;f(t)&&(t.flags|=128);var c=!1,m=(t.flags&128)!==0;if((o=m)||(o=e!==null&&e.memoizedState===null?!1:(Bt.current&Pu)!==0),o&&(c=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(We){if(c?Ti(t):ki(t),(e=St)?(r=LS(e,Nr),r=r!==null&&r.data!==$o?r:null,r!==null&&(o={dehydrated:r,treeContext:ix(),retryLane:536870912,hydrationErrors:null},t.memoizedState=o,o=rx(r),o.return=t,t.child=o,pn=t,St=null)):r=null,r===null)throw rf(t,e),vi(t);return Zp(r)?t.lanes=32:t.lanes=536870912,null}var g=l.children;if(l=l.fallback,c){ki(t);var w=t.mode;return g=Mf({mode:"hidden",children:g},w),l=go(l,w,r,null),g.return=t,l.return=t,g.sibling=l,t.child=g,l=t.child,l.memoizedState=yp(r),l.childLanes=gp(e,o,r),t.memoizedState=lg,Jl(null,l)}return Ti(t),bp(t,g)}var E=e.memoizedState;if(E!==null){var B=E.dehydrated;if(B!==null){if(m)t.flags&256?(Ti(t),t.flags&=-257,t=vp(e,t,r)):t.memoizedState!==null?(ki(t),t.child=e.child,t.flags|=128,t=null):(ki(t),g=l.fallback,w=t.mode,l=Mf({mode:"visible",children:l.children},w),g=go(g,w,r,null),g.flags|=2,l.return=t,g.return=t,l.sibling=g,t.child=l,Bo(t,e.child,null,r),l=t.child,l.memoizedState=yp(r),l.childLanes=gp(e,o,r),t.memoizedState=lg,t=Jl(null,l));else if(Ti(t),sx(),(r&536870912)!==0&&Lf(t),Zp(B)){if(o=B.nextSibling&&B.nextSibling.dataset,o){g=o.dgst;var H=o.msg;w=o.stck;var M=o.cstck}c=H,o=g,l=w,B=M,g=c,w=B,g=Error(g||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),g.stack=l||"",g.digest=o,o=w===void 0?null:w,l={value:g,source:null,stack:o},typeof o=="string"&&Py.set(g,l),Hl(l),t=vp(e,t,r)}else if($t||ps(e,t,r,!1),o=(r&e.childLanes)!==0,$t||o){if(o=yt,o!==null&&(l=Dn(o,r),l!==0&&l!==E.retryLane))throw E.retryLane=l,bn(e,l),zt(o,e,l),sg;Qp(B)||Bf(),t=vp(e,t,r)}else Qp(B)?(t.flags|=192,t.child=e.child,t=null):(e=E.treeContext,St=or(B.nextSibling),pn=t,We=!0,Li=null,Aa=!1,ur=null,Nr=!1,e!==null&&ox(t,e),t=bp(t,l.children),t.flags|=4096);return t}}return c?(ki(t),g=l.fallback,w=t.mode,M=e.child,B=M.sibling,l=Ia(M,{mode:"hidden",children:l.children}),l.subtreeFlags=M.subtreeFlags&65011712,B!==null?g=Ia(B,g):(g=go(g,w,r,null),g.flags|=2),g.return=t,l.return=t,l.sibling=g,t.child=l,Jl(null,l),l=t.child,g=e.child.memoizedState,g===null?g=yp(r):(w=g.cachePool,w!==null?(M=Ft._currentValue,w=w.parent!==M?{parent:M,pool:M}:w):w=mx(),g={baseLanes:g.baseLanes|r,cachePool:w}),l.memoizedState=g,l.childLanes=gp(e,o,r),t.memoizedState=lg,Jl(e.child,l)):(E!==null&&(r&62914560)===r&&(r&e.lanes)!==0&&Lf(t),Ti(t),r=e.child,e=r.sibling,r=Ia(r,{mode:"visible",children:l.children}),r.return=t,r.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=r,t.memoizedState=null,r)}function bp(e,t){return t=Mf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Mf(e,t){return e=x(22,e,null,t),e.lanes=0,e}function vp(e,t,r){return Bo(t,e.child,null,r),e=bp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function b1(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),km(e.return,t,r)}function xp(e,t,r,o,l,c){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:l,treeForkCount:c}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=o,m.tail=r,m.tailMode=l,m.treeForkCount=c)}function v1(e,t,r){var o=t.pendingProps,l=o.revealOrder,c=o.tail,m=o.children,g=Bt.current;if((o=(g&Pu)!==0)?(g=g&Ks|Pu,t.flags|=128):g&=Ks,W(Bt,g,t),g=l??"null",l!=="forwards"&&l!=="unstable_legacy-backwards"&&l!=="together"&&l!=="independent"&&!rT[g])if(rT[g]=!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);g=c??"null",zd[g]||(c==null?(l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&(zd[g]=!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".')):c!=="visible"&&c!=="collapsed"&&c!=="hidden"?(zd[g]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',c)):l!=="forwards"&&l!=="backwards"&&l!=="unstable_legacy-backwards"&&(zd[g]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&m!==void 0&&m!==null&&m!==!1)if(en(m)){for(g=0;g<m.length;g++)if(!Tx(m[g],g))break e}else if(g=ge(m),typeof g=="function"){if(g=g.call(m))for(var w=g.next(),E=0;!w.done;w=g.next()){if(!Tx(w.value,E))break e;E++}}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(dn(e,t,m,r),We?(bi(),m=Du):m=0,!o&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&b1(e,r,t);else if(e.tag===19)b1(e,r,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(r=t.child,l=null;r!==null;)e=r.alternate,e!==null&&gf(e)===null&&(l=r),r=r.sibling;r=l,r===null?(l=t.child,t.child=null):(l=r.sibling,r.sibling=null),xp(t,!1,l,r,c,m);break;case"backwards":case"unstable_legacy-backwards":for(r=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&gf(e)===null){t.child=l;break}e=l.sibling,l.sibling=r,r=l,l=e}xp(t,!0,r,null,c,m);break;case"together":xp(t,!1,null,null,void 0,m);break;default:t.memoizedState=null}return t.child}function $a(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),_n=-1,Gi|=t.lanes,(r&t.childLanes)===0)if(e!==null){if(ps(e,t,r,!1),(r&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,r=Ia(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Ia(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function Sp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&of(e)))}function fz(e,t,r){switch(t.tag){case 3:oe(t,t.stateNode.containerInfo),xi(t,Ft,e.memoizedState.cache),vo();break;case 27:case 5:pe(t);break;case 4:oe(t,t.stateNode.containerInfo);break;case 10:xi(t,t.type,t.memoizedProps.value);break;case 12:(r&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,jm(t),null;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(Ti(t),t.flags|=128,null):(r&t.child.childLanes)!==0?g1(e,t,r):(Ti(t),e=$a(e,t,r),e!==null?e.sibling:null);Ti(t);break;case 19:var l=(e.flags&128)!==0;if(o=(r&t.childLanes)!==0,o||(ps(e,t,r,!1),o=(r&t.childLanes)!==0),l){if(o)return v1(e,t,r);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),W(Bt,Bt.current,t),o)break;return null;case 22:return t.lanes=0,f1(e,t,r,t.pendingProps);case 24:xi(t,Ft,e.memoizedState.cache)}return $a(e,t,r)}function wp(e,t,r){if(t._debugNeedsRemount&&e!==null){r=bm(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),r._debugStack=t._debugStack,r._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,r.index=t.index,r.sibling=t.sibling,r.return=t.return,r.ref=t.ref,r._debugInfo=t._debugInfo,t===o.child)o.child=r;else{var l=o.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=r}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),r.flags|=2,r}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)$t=!0;else{if(!Sp(e,r)&&(t.flags&128)===0)return $t=!1,fz(e,t,r);$t=(e.flags&131072)!==0}else $t=!1,(o=We)&&(bi(),o=(t.flags&1048576)!==0),o&&(o=t.index,bi(),ax(t,Du,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=Si(t.elementType),t.type=e,typeof e=="function")gm(e)?(o=ko(e,o),t.tag=1,t.type=e=yo(e),t=p1(null,t,e,o,r)):(t.tag=0,pp(t,e),t.type=e=yo(e),t=mp(null,t,e,o,r));else{if(e!=null){if(l=e.$$typeof,l===hu){t.tag=11,t.type=e=ym(e),t=l1(null,t,e,o,r);break e}else if(l===Wf){t.tag=14,t=u1(null,t,e,o,r);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===sr&&(t=" Did you wrap a component in React.lazy() more than once?"),r=le(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+r+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return mp(e,t,t.type,t.pendingProps,r);case 1:return o=t.type,l=ko(o,t.pendingProps),p1(e,t,o,l,r);case 3:e:{if(oe(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var c=t.memoizedState;l=c.element,Mm(e,t),$l(t,o,null,r);var m=t.memoizedState;if(o=m.cache,xi(t,Ft,o),o!==c.cache&&Dm(t,[Ft],r,!0),Gl(),o=m.element,c.isDehydrated)if(c={element:o,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=y1(e,t,o,r);break e}else if(o!==l){l=tr(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Hl(l),t=y1(e,t,o,r);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,St=or(e.firstChild),pn=t,We=!0,Li=null,Aa=!1,ur=null,Nr=!0,r=OE(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(vo(),o===l){t=$a(e,t,r);break e}dn(e,t,o,r)}t=t.child}return t;case 26:return Of(e,t),e===null?(r=FS(t.type,null,t.pendingProps,null))?t.memoizedState=r:We||(r=t.type,e=t.pendingProps,o=K(zi.current),o=If(o).createElement(r),o[mn]=t,o[zn]=e,hn(o,r,e),Oe(o),t.stateNode=o):t.memoizedState=FS(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return pe(t),e===null&&We&&(o=K(zi.current),l=ae(),o=t.stateNode=qS(t.type,t.pendingProps,o,l,!1),Aa||(l=RS(o,t.type,t.pendingProps,l),l!==null&&(bo(t,0).serverProps=l)),pn=t,Nr=!0,l=St,Ci(t.type)?(zg=l,St=or(o.firstChild)):St=l),dn(e,t,t.pendingProps.children,r),Of(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&We&&(c=ae(),o=sm(t.type,c.ancestorInfo),l=St,(m=!l)||(m=Wz(l,t.type,t.pendingProps,Nr),m!==null?(t.stateNode=m,Aa||(c=RS(m,t.type,t.pendingProps,c),c!==null&&(bo(t,0).serverProps=c)),pn=t,St=or(m.firstChild),Nr=!1,c=!0):c=!1,m=!c),m&&(o&&rf(t,l),vi(t))),pe(t),l=t.type,c=t.pendingProps,m=e!==null?e.memoizedProps:null,o=c.children,$p(l,c)?o=null:m!==null&&$p(l,m)&&(t.flags|=32),t.memoizedState!==null&&(l=Lm(e,t,rz,null,null,r),ic._currentValue=l),Of(e,t),dn(e,t,o,r),t.child;case 6:return e===null&&We&&(r=t.pendingProps,e=ae(),o=e.ancestorInfo.current,r=o!=null?$c(r,o.tag,e.ancestorInfo.implicitRootScope):!0,e=St,(o=!e)||(o=eO(e,t.pendingProps,Nr),o!==null?(t.stateNode=o,pn=t,St=null,o=!0):o=!1,o=!o),o&&(r&&rf(t,e),vi(t))),null;case 13:return g1(e,t,r);case 4:return oe(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Bo(t,null,o,r):dn(e,t,o,r),t.child;case 11:return l1(e,t,t.type,t.pendingProps,r);case 7:return dn(e,t,t.pendingProps,r),t.child;case 8:return dn(e,t,t.pendingProps.children,r),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,dn(e,t,t.pendingProps.children,r),t.child;case 10:return o=t.type,l=t.pendingProps,c=l.value,"value"in l||aT||(aT=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),xi(t,o,c),dn(e,t,l.children,r),t.child;case 9:return l=t.type._context,o=t.pendingProps.children,typeof o!="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."),xo(t),l=Dt(l),o=Qy(o,l,void 0),t.flags|=1,dn(e,t,o,r),t.child;case 14:return u1(e,t,t.type,t.pendingProps,r);case 15:return c1(e,t,t.type,t.pendingProps,r);case 19:return v1(e,t,r);case 31:return cz(e,t,r);case 22:return f1(e,t,r,t.pendingProps);case 24:return xo(t),o=Dt(Ft),e===null?(l=Rm(),l===null&&(l=yt,c=Nm(),l.pooledCache=c,So(c),c!==null&&(l.pooledCacheLanes|=r),l=c),t.memoizedState={parent:o,cache:l},Om(t),xi(t,Ft,l)):((e.lanes&r)!==0&&(Mm(e,t),$l(t,null,null,r),Gl()),l=e.memoizedState,c=t.memoizedState,l.parent!==o?(l={parent:o,cache:o},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),xi(t,Ft,o)):(o=c.cache,xi(t,Ft,o),o!==l.cache&&Dm(t,[Ft],r,!0))),dn(e,t,t.pendingProps.children,r),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 Xa(e){e.flags|=4}function Ep(e,t,r,o,l){if((t=(e.mode&OM)!==Ve)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(K1())e.flags|=8192;else throw Lo=kd,Jy}else e.flags&=-16777217}function x1(e,t){if(t.type!=="stylesheet"||(t.state.loading&Or)!==Zo)e.flags&=-16777217;else if(e.flags|=16777216,!QS(t))if(K1())e.flags|=8192;else throw Lo=kd,Jy}function _f(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ee():536870912,e.lanes|=t,Fo|=t)}function Kl(e,t){if(!We)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function gt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)if((e.mode&Ye)!==Ve){for(var l=e.selfBaseDuration,c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,l+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,o|=l.subtreeFlags&65011712,o|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&Ye)!==Ve){l=e.actualDuration,c=e.selfBaseDuration;for(var m=e.child;m!==null;)r|=m.lanes|m.childLanes,o|=m.subtreeFlags,o|=m.flags,l+=m.actualDuration,c+=m.treeBaseDuration,m=m.sibling;e.actualDuration=l,e.treeBaseDuration=c}else for(l=e.child;l!==null;)r|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function dz(e,t,r){var o=t.pendingProps;switch(wm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gt(t),null;case 1:return gt(t),null;case 3:return r=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ya(Ft,t),Y(t),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ms(t)?(Tm(),Xa(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Em())),gt(t),null;case 26:var l=t.type,c=t.memoizedState;return e===null?(Xa(t),c!==null?(gt(t),x1(t,c)):(gt(t),Ep(t,l,null,o,r))):c?c!==e.memoizedState?(Xa(t),gt(t),x1(t,c)):(gt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==o&&Xa(t),gt(t),Ep(t,l,e,o,r)),null;case 27:if(Ae(t),r=K(zi.current),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){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 gt(t),null}e=ae(),ms(t)?lx(t):(e=qS(l,o,r,e,!0),t.stateNode=e,Xa(t))}return gt(t),null;case 5:if(Ae(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){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 gt(t),null}var m=ae();if(ms(t))lx(t);else{switch(c=K(zi.current),sm(l,m.ancestorInfo),m=m.context,c=If(c),m){case cl:c=c.createElementNS(_s,l);break;case Jd:c=c.createElementNS(od,l);break;default:switch(l){case"svg":c=c.createElementNS(_s,l);break;case"math":c=c.createElementNS(od,l);break;case"script":c=c.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof o.is=="string"?c.createElement("select",{is:o.is}):c.createElement("select"),o.multiple?c.multiple=!0:o.size&&(c.size=o.size);break;default:c=typeof o.is=="string"?c.createElement(l,{is:o.is}):c.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(c)!=="[object HTMLUnknownElement]"||Gr.call(AT,l)||(AT[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)))}}c[mn]=t,c[zn]=o;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)c.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=c;e:switch(hn(c,l,o),l){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Xa(t)}}return gt(t),Ep(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(typeof o!="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=K(zi.current),r=ae(),ms(t)){if(e=t.stateNode,r=t.memoizedProps,l=!Aa,o=null,c=pn,c!==null)switch(c.tag){case 3:l&&(l=HS(e,r,o),l!==null&&(bo(t,0).serverProps=l));break;case 27:case 5:o=c.memoizedProps,l&&(l=HS(e,r,o),l!==null&&(bo(t,0).serverProps=l))}e[mn]=t,e=!!(e.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||kS(e.nodeValue,r)),e||vi(t,!0)}else l=r.ancestorInfo.current,l!=null&&$c(o,l.tag,r.ancestorInfo.implicitRootScope),e=If(e).createTextNode(o),e[mn]=t,t.stateNode=e}return gt(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(o=ms(t),r!==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(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[mn]=t,gt(t),(t.mode&Ye)!==Ve&&r!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Tm(),vo(),(t.flags&128)===0&&(r=t.memoizedState=null),t.flags|=4,gt(t),(t.mode&Ye)!==Ve&&r!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else r=Em(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(ar(t),t):(ar(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return gt(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=o,c=ms(t),l!==null&&l.dehydrated!==null){if(e===null){if(!c)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");c[mn]=t,gt(t),(t.mode&Ye)!==Ve&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else Tm(),vo(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,gt(t),(t.mode&Ye)!==Ve&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=Em(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(ar(t),t):(ar(t),null)}return ar(t),(t.flags&128)!==0?(t.lanes=r,(t.mode&Ye)!==Ve&&Il(t),t):(r=o!==null,e=e!==null&&e.memoizedState!==null,r&&(o=t.child,l=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(l=o.alternate.memoizedState.cachePool.pool),c=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool),c!==l&&(o.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),_f(t,t.updateQueue),gt(t),(t.mode&Ye)!==Ve&&r&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Y(t),e===null&&Hp(t.stateNode.containerInfo),gt(t),null;case 10:return Ya(t.type,t),gt(t),null;case 19:if(se(Bt,t),o=t.memoizedState,o===null)return gt(t),null;if(l=(t.flags&128)!==0,c=o.rendering,c===null)if(l)Kl(o,!1);else{if(Rt!==ci||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=gf(e),c!==null){for(t.flags|=128,Kl(o,!1),e=c.updateQueue,t.updateQueue=e,_f(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)nx(r,e),r=r.sibling;return W(Bt,Bt.current&Ks|Pu,t),We&&Fa(t,o.treeForkCount),t.child}e=e.sibling}o.tail!==null&&sn()>Ld&&(t.flags|=128,l=!0,Kl(o,!1),t.lanes=4194304)}else{if(!l)if(e=gf(c),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,_f(t,e),Kl(o,!0),o.tail===null&&o.tailMode==="hidden"&&!c.alternate&&!We)return gt(t),null}else 2*sn()-o.renderingStartTime>Ld&&r!==536870912&&(t.flags|=128,l=!0,Kl(o,!1),t.lanes=4194304);o.isBackwards?(c.sibling=t.child,t.child=c):(e=o.last,e!==null?e.sibling=c:t.child=c,o.last=c)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=sn(),e.sibling=null,r=Bt.current,r=l?r&Ks|Pu:r&Ks,W(Bt,r,t),We&&Fa(t,o.treeForkCount),e):(gt(t),null);case 22:case 23:return ar(t),Um(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(r&536870912)!==0&&(t.flags&128)===0&&(gt(t),t.subtreeFlags&6&&(t.flags|=8192)):gt(t),r=t.updateQueue,r!==null&&_f(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==r&&(t.flags|=2048),e!==null&&se(jo,t),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ya(Ft,t),gt(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 hz(e,t){switch(wm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 3:return Ya(Ft,t),Y(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ae(t),null;case 31:if(t.memoizedState!==null){if(ar(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 13:if(ar(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.");vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 19:return se(Bt,t),null;case 4:return Y(t),null;case 10:return Ya(t.type,t),null;case 22:case 23:return ar(t),Um(t),e!==null&&se(jo,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Ye)!==Ve&&Il(t),t):null;case 24:return Ya(Ft,t),null;case 25:return null;default:return null}}function S1(e,t){switch(wm(t),t.tag){case 3:Ya(Ft,t),Y(t);break;case 26:case 27:case 5:Ae(t);break;case 4:Y(t);break;case 31:t.memoizedState!==null&&ar(t);break;case 13:ar(t);break;case 19:se(Bt,t);break;case 10:Ya(t.type,t);break;case 22:case 23:ar(t),Um(t),e!==null&&se(jo,t);break;case 24:Ya(Ft,t)}}function pa(e){return(e.mode&Ye)!==Ve}function w1(e,t){pa(e)?(ma(),Wl(t,e),ha()):Wl(t,e)}function Tp(e,t,r){pa(e)?(ma(),xs(r,e,t),ha()):xs(r,e,t)}function Wl(e,t){try{var r=t.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var l=o.next;r=l;do{if((r.tag&e)===e&&(o=void 0,(e&Un)!==Nd&&(sl=!0),o=we(t,LM,r),(e&Un)!==Nd&&(sl=!1),o!==void 0&&typeof o!="function")){var c=void 0;c=(r.tag&fr)!==0?"useLayoutEffect":(r.tag&Un)!==0?"useInsertionEffect":"useEffect";var m=void 0;m=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
|
|
146
|
+
|
|
147
|
+
It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
148
|
+
|
|
149
|
+
`+c+`(() => {
|
|
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: "+o,we(t,function(g,w){console.error("%s must not return anything besides a function, which is used for clean-up.%s",g,w)},c,m)}r=r.next}while(r!==l)}}catch(g){ct(t,t.return,g)}}function xs(e,t,r){try{var o=t.updateQueue,l=o!==null?o.lastEffect:null;if(l!==null){var c=l.next;o=c;do{if((o.tag&e)===e){var m=o.inst,g=m.destroy;g!==void 0&&(m.destroy=void 0,(e&Un)!==Nd&&(sl=!0),l=t,we(l,BM,l,r,g),(e&Un)!==Nd&&(sl=!1))}o=o.next}while(o!==c)}}catch(w){ct(t,t.return,w)}}function E1(e,t){pa(e)?(ma(),Wl(t,e),ha()):Wl(t,e)}function kp(e,t,r){pa(e)?(ma(),xs(r,e,t),ha()):xs(r,e,t)}function T1(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||nl||(r.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.",F(e)||"instance"),r.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.",F(e)||"instance"));try{we(e,Dx,t,r)}catch(o){ct(e,e.return,o)}}}function mz(e,t,r){return e.getSnapshotBeforeUpdate(t,r)}function pz(e,t){var r=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||nl||(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.",F(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.",F(e)||"instance"));try{var l=ko(e.type,r),c=we(e,mz,t,l,o);r=iT,c!==void 0||r.has(e.type)||(r.add(e.type),we(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",F(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(m){ct(e,e.return,m)}}function k1(e,t,r){r.props=ko(e.type,e.memoizedProps),r.state=e.memoizedState,pa(e)?(ma(),we(e,TE,e,t,r),ha()):we(e,TE,e,t,r)}function yz(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}if(typeof t=="function")if(pa(e))try{ma(),e.refCleanup=t(r)}finally{ha()}else e.refCleanup=t(r);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().",F(e)),t.current=r}}function eu(e,t){try{we(e,yz,e)}catch(r){ct(e,t,r)}}function ya(e,t){var r=e.ref,o=e.refCleanup;if(r!==null)if(typeof o=="function")try{if(pa(e))try{ma(),we(e,o)}finally{ha(e)}else we(e,o)}catch(l){ct(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{if(pa(e))try{ma(),we(e,r,null)}finally{ha(e)}else we(e,r,null)}catch(l){ct(e,t,l)}else r.current=null}function D1(e,t,r,o){var l=e.memoizedProps,c=l.id,m=l.onCommit;l=l.onRender,t=t===null?"mount":"update",Sd&&(t="nested-update"),typeof l=="function"&&l(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,r),typeof m=="function"&&m(c,t,o,r)}function gz(e,t,r,o){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",Sd&&(t="nested-update"),typeof l=="function"&&l(e,t,o,r)}function N1(e){var t=e.type,r=e.memoizedProps,o=e.stateNode;try{we(e,Pz,o,t,r,e)}catch(l){ct(e,e.return,l)}}function Dp(e,t,r){try{we(e,Iz,e.stateNode,e.type,r,t,e)}catch(o){ct(e,e.return,o)}}function A1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ci(e.type)||e.tag===4}function Np(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||A1(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&&Ci(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 Ap(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(US(r),(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t)):(US(r),t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=qa));else if(o!==4&&(o===27&&Ci(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(Ap(e,t,r),e=e.sibling;e!==null;)Ap(e,t,r),e=e.sibling}function Uf(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(o===27&&Ci(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(Uf(e,t,r),e=e.sibling;e!==null;)Uf(e,t,r),e=e.sibling}function bz(e){for(var t,r=e.return;r!==null;){if(A1(r)){t=r;break}r=r.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,r=Np(e),Uf(e,r,t);break;case 5:r=t.stateNode,t.flags&32&&(_S(r),t.flags&=-33),t=Np(e),Uf(e,t,r);break;case 3:case 4:t=t.stateNode.containerInfo,r=Np(e),Ap(e,r,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function C1(e){var t=e.stateNode,r=e.memoizedProps;try{we(e,iO,e.type,r,t,e)}catch(o){ct(e,e.return,o)}}function R1(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 vz(e,t){if(e=e.containerInfo,Ag=th,e=Gv(e),cm(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var l=o.anchorOffset,c=o.focusNode;o=o.focusOffset;try{r.nodeType,c.nodeType}catch{r=null;break e}var m=0,g=-1,w=-1,E=0,B=0,H=e,M=null;t:for(;;){for(var $;H!==r||l!==0&&H.nodeType!==3||(g=m+l),H!==c||o!==0&&H.nodeType!==3||(w=m+o),H.nodeType===3&&(m+=H.nodeValue.length),($=H.firstChild)!==null;)M=H,H=$;for(;;){if(H===e)break t;if(M===r&&++E===l&&(g=m),M===c&&++B===o&&(w=m),($=H.nextSibling)!==null)break;H=M,M=H.parentNode}H=$}r=g===-1||w===-1?null:{start:g,end:w}}else r=null}r=r||{start:0,end:0}}else r=null;for(Cg={focusedElem:e,selectionRange:r},th=!1,un=t;un!==null;)if(t=un,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,un=e;else for(;un!==null;){switch(e=t=un,r=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(r=0;r<e.length;r++)l=e[r],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:(l&1024)!==0&&r!==null&&pz(e,r);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,r=e.nodeType,r===9)Xp(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Xp(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,un=e;break}un=t.return}}function z1(e,t,r){var o=nr(),l=ua(),c=fa(),m=da(),g=r.flags;switch(r.tag){case 0:case 11:case 15:ga(e,r),g&4&&w1(r,fr|Rr);break;case 1:if(ga(e,r),g&4)if(e=r.stateNode,t===null)r.type.defaultProps||"ref"in r.memoizedProps||nl||(e.props!==r.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.",F(r)||"instance"),e.state!==r.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.",F(r)||"instance")),pa(r)?(ma(),we(r,Zy,r,e),ha()):we(r,Zy,r,e);else{var w=ko(r.type,t.memoizedProps);t=t.memoizedState,r.type.defaultProps||"ref"in r.memoizedProps||nl||(e.props!==r.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.",F(r)||"instance"),e.state!==r.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.",F(r)||"instance")),pa(r)?(ma(),we(r,SE,r,e,w,t,e.__reactInternalSnapshotBeforeUpdate),ha()):we(r,SE,r,e,w,t,e.__reactInternalSnapshotBeforeUpdate)}g&64&&T1(r),g&512&&eu(r,r.return);break;case 3:if(t=Ga(),ga(e,r),g&64&&(g=r.updateQueue,g!==null)){if(w=null,r.child!==null)switch(r.child.tag){case 27:case 5:w=r.child.stateNode;break;case 1:w=r.child.stateNode}try{we(r,Dx,g,w)}catch(B){ct(r,r.return,B)}}e.effectDuration+=lf(t);break;case 27:t===null&&g&4&&C1(r);case 26:case 5:if(ga(e,r),t===null){if(g&4)N1(r);else if(g&64){e=r.type,t=r.memoizedProps,w=r.stateNode;try{we(r,qz,w,e,t,r)}catch(B){ct(r,r.return,B)}}}g&512&&eu(r,r.return);break;case 12:if(g&4){g=Ga(),ga(e,r),e=r.stateNode,e.effectDuration+=ql(g);try{we(r,D1,r,t,Bi,e.effectDuration)}catch(B){ct(r,r.return,B)}}else ga(e,r);break;case 31:ga(e,r),g&4&&_1(e,r);break;case 13:ga(e,r),g&4&&U1(e,r),g&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(g=Az.bind(null,r),tO(e,g))));break;case 22:if(g=r.memoizedState!==null||ui,!g){t=t!==null&&t.memoizedState!==null||Xt,w=ui;var E=Xt;ui=g,(Xt=t)&&!E?(ba(e,r,(r.subtreeFlags&8772)!==0),(r.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&Jc(r,_e,Ue)):ga(e,r),ui=w,Xt=E}break;case 30:break;default:ga(e,r)}(r.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&((Ot||.05<Ct)&&sa(r,_e,Ue,Ct,Nt),r.alternate===null&&r.return!==null&&r.return.alternate!==null&&.05<Ue-_e&&(R1(r.return.alternate,r.return)||oa(r,_e,Ue,"Mount"))),rr(o),ca(l),Nt=c,Ot=m}function O1(e){var t=e.alternate;t!==null&&(e.alternate=null,O1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&q(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 Qa(e,t,r){for(r=r.child;r!==null;)M1(e,t,r),r=r.sibling}function M1(e,t,r){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(Os,r)}catch(E){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",E))}var o=nr(),l=ua(),c=fa(),m=da();switch(r.tag){case 26:Xt||ya(r,t),Qa(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(e=r.stateNode,e.parentNode.removeChild(e));break;case 27:Xt||ya(r,t);var g=Qt,w=Fn;Ci(r.type)&&(Qt=r.stateNode,Fn=!1),Qa(e,t,r),we(r,uu,r.stateNode),Qt=g,Fn=w;break;case 5:Xt||ya(r,t);case 6:if(g=Qt,w=Fn,Qt=null,Qa(e,t,r),Qt=g,Fn=w,Qt!==null)if(Fn)try{we(r,Gz,Qt,r.stateNode)}catch(E){ct(r,t,E)}else try{we(r,Yz,Qt,r.stateNode)}catch(E){ct(r,t,E)}break;case 18:Qt!==null&&(Fn?(e=Qt,jS(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),As(e)):jS(Qt,r.stateNode));break;case 4:g=Qt,w=Fn,Qt=r.stateNode.containerInfo,Fn=!0,Qa(e,t,r),Qt=g,Fn=w;break;case 0:case 11:case 14:case 15:xs(Un,r,t),Xt||Tp(r,t,fr),Qa(e,t,r);break;case 1:Xt||(ya(r,t),g=r.stateNode,typeof g.componentWillUnmount=="function"&&k1(r,t,g)),Qa(e,t,r);break;case 21:Qa(e,t,r);break;case 22:Xt=(g=Xt)||r.memoizedState!==null,Qa(e,t,r),Xt=g;break;default:Qa(e,t,r)}(r.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(r,_e,Ue,Ct,Nt),rr(o),ca(l),Nt=c,Ot=m}function _1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{we(t,rO,e)}catch(r){ct(t,t.return,r)}}}function U1(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{we(t,aO,e)}catch(r){ct(t,t.return,r)}}function xz(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new oT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new oT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function jf(e,t){var r=xz(e);t.forEach(function(o){if(!r.has(o)){if(r.add(o),ka)if(rl!==null&&al!==null)au(al,rl);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var l=Cz.bind(null,e,o);o.then(l,l)}})}function qn(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var l=e,c=t,m=r[o],g=nr(),w=c;e:for(;w!==null;){switch(w.tag){case 27:if(Ci(w.type)){Qt=w.stateNode,Fn=!1;break e}break;case 5:Qt=w.stateNode,Fn=!1;break e;case 3:case 4:Qt=w.stateNode.containerInfo,Fn=!0;break e}w=w.return}if(Qt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");M1(l,c,m),Qt=null,Fn=!1,(m.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(m,_e,Ue,"Unmount"),rr(g),l=m,c=l.alternate,c!==null&&(c.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)j1(t,e),t=t.sibling}function j1(e,t){var r=nr(),o=ua(),l=fa(),c=da(),m=e.alternate,g=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:qn(t,e),In(e),g&4&&(xs(Un|Rr,e,e.return),Wl(Un|Rr,e),Tp(e,e.return,fr|Rr));break;case 1:if(qn(t,e),In(e),g&512&&(Xt||m===null||ya(m,m.return)),g&64&&ui&&(g=e.updateQueue,g!==null&&(m=g.callbacks,m!==null))){var w=g.shared.hiddenCallbacks;g.shared.hiddenCallbacks=w===null?m:w.concat(m)}break;case 26:if(w=Zr,qn(t,e),In(e),g&512&&(Xt||m===null||ya(m,m.return)),g&4){var E=m!==null?m.memoizedState:null;if(g=e.memoizedState,m===null)if(g===null)if(e.stateNode===null){e:{g=e.type,m=e.memoizedProps,w=w.ownerDocument||w;t:switch(g){case"title":E=w.getElementsByTagName("title")[0],(!E||E[yu]||E[mn]||E.namespaceURI===_s||E.hasAttribute("itemprop"))&&(E=w.createElement(g),w.head.insertBefore(E,w.querySelector("head > title"))),hn(E,g,m),E[mn]=e,Oe(E),g=E;break e;case"link":var B=$S("link","href",w).get(g+(m.href||""));if(B){for(var H=0;H<B.length;H++)if(E=B[H],E.getAttribute("href")===(m.href==null||m.href===""?null:m.href)&&E.getAttribute("rel")===(m.rel==null?null:m.rel)&&E.getAttribute("title")===(m.title==null?null:m.title)&&E.getAttribute("crossorigin")===(m.crossOrigin==null?null:m.crossOrigin)){B.splice(H,1);break t}}E=w.createElement(g),hn(E,g,m),w.head.appendChild(E);break;case"meta":if(B=$S("meta","content",w).get(g+(m.content||""))){for(H=0;H<B.length;H++)if(E=B[H],lt(m.content,"content"),E.getAttribute("content")===(m.content==null?null:""+m.content)&&E.getAttribute("name")===(m.name==null?null:m.name)&&E.getAttribute("property")===(m.property==null?null:m.property)&&E.getAttribute("http-equiv")===(m.httpEquiv==null?null:m.httpEquiv)&&E.getAttribute("charset")===(m.charSet==null?null:m.charSet)){B.splice(H,1);break t}}E=w.createElement(g),hn(E,g,m),w.head.appendChild(E);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+g+'". This is a bug in React.')}E[mn]=e,Oe(E),g=E}e.stateNode=g}else XS(w,e.type,e.stateNode);else e.stateNode=GS(w,g,e.memoizedProps);else E!==g?(E===null?m.stateNode!==null&&(m=m.stateNode,m.parentNode.removeChild(m)):E.count--,g===null?XS(w,e.type,e.stateNode):GS(w,g,e.memoizedProps)):g===null&&e.stateNode!==null&&Dp(e,e.memoizedProps,m.memoizedProps)}break;case 27:qn(t,e),In(e),g&512&&(Xt||m===null||ya(m,m.return)),m!==null&&g&4&&Dp(e,e.memoizedProps,m.memoizedProps);break;case 5:if(qn(t,e),In(e),g&512&&(Xt||m===null||ya(m,m.return)),e.flags&32){w=e.stateNode;try{we(e,_S,w)}catch(Ee){ct(e,e.return,Ee)}}g&4&&e.stateNode!=null&&(w=e.memoizedProps,Dp(e,w,m!==null?m.memoizedProps:w)),g&1024&&(ug=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(qn(t,e),In(e),g&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.");g=e.memoizedProps,m=m!==null?m.memoizedProps:g,w=e.stateNode;try{we(e,Fz,w,m,g)}catch(Ee){ct(e,e.return,Ee)}}break;case 3:if(w=Ga(),Kd=null,E=Zr,Zr=Ff(t.containerInfo),qn(t,e),Zr=E,In(e),g&4&&m!==null&&m.memoizedState.isDehydrated)try{we(e,nO,t.containerInfo)}catch(Ee){ct(e,e.return,Ee)}ug&&(ug=!1,V1(e)),t.effectDuration+=lf(w);break;case 4:g=Zr,Zr=Ff(e.stateNode.containerInfo),qn(t,e),In(e),Zr=g;break;case 12:g=Ga(),qn(t,e),In(e),e.stateNode.effectDuration+=ql(g);break;case 31:qn(t,e),In(e),g&4&&(g=e.updateQueue,g!==null&&(e.updateQueue=null,jf(e,g)));break;case 13:qn(t,e),In(e),e.child.flags&8192&&e.memoizedState!==null!=(m!==null&&m.memoizedState!==null)&&(Vd=sn()),g&4&&(g=e.updateQueue,g!==null&&(e.updateQueue=null,jf(e,g)));break;case 22:w=e.memoizedState!==null;var M=m!==null&&m.memoizedState!==null,$=ui,ve=Xt;if(ui=$||w,Xt=ve||M,qn(t,e),Xt=ve,ui=$,M&&!w&&!$&&!ve&&(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&Jc(e,_e,Ue),In(e),g&8192)e:for(t=e.stateNode,t._visibility=w?t._visibility&~ku:t._visibility|ku,!w||m===null||M||ui||Xt||(Do(e),(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(e,_e,Ue,"Disconnect")),m=null,t=e;;){if(t.tag===5||t.tag===26){if(m===null){M=m=t;try{E=M.stateNode,w?we(M,Xz,E):we(M,Jz,M.stateNode,M.memoizedProps)}catch(Ee){ct(M,M.return,Ee)}}}else if(t.tag===6){if(m===null){M=t;try{B=M.stateNode,w?we(M,Qz,B):we(M,Kz,B,M.memoizedProps)}catch(Ee){ct(M,M.return,Ee)}}}else if(t.tag===18){if(m===null){M=t;try{H=M.stateNode,w?we(M,$z,H):we(M,Zz,M.stateNode)}catch(Ee){ct(M,M.return,Ee)}}}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;m===t&&(m=null),t=t.return}m===t&&(m=null),t.sibling.return=t.return,t=t.sibling}g&4&&(g=e.updateQueue,g!==null&&(m=g.retryQueue,m!==null&&(g.retryQueue=null,jf(e,m))));break;case 19:qn(t,e),In(e),g&4&&(g=e.updateQueue,g!==null&&(e.updateQueue=null,jf(e,g)));break;case 30:break;case 21:break;default:qn(t,e),In(e)}(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&((Ot||.05<Ct)&&sa(e,_e,Ue,Ct,Nt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Ue-_e&&(R1(e.return.alternate,e.return)||oa(e,_e,Ue,"Mount"))),rr(r),ca(o),Nt=l,Ot=c}function In(e){var t=e.flags;if(t&2){try{we(e,bz,e)}catch(r){ct(e,e.return,r)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function V1(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;V1(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ga(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)z1(e,t.alternate,t),t=t.sibling}function L1(e){var t=nr(),r=ua(),o=fa(),l=da();switch(e.tag){case 0:case 11:case 14:case 15:Tp(e,e.return,fr),Do(e);break;case 1:ya(e,e.return);var c=e.stateNode;typeof c.componentWillUnmount=="function"&&k1(e,e.return,c),Do(e);break;case 27:we(e,uu,e.stateNode);case 26:case 5:ya(e,e.return),Do(e);break;case 22:e.memoizedState===null&&Do(e);break;case 30:Do(e);break;default:Do(e)}(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(e,_e,Ue,Ct,Nt),rr(t),ca(r),Nt=o,Ot=l}function Do(e){for(e=e.child;e!==null;)L1(e),e=e.sibling}function B1(e,t,r,o){var l=nr(),c=ua(),m=fa(),g=da(),w=r.flags;switch(r.tag){case 0:case 11:case 15:ba(e,r,o),w1(r,fr);break;case 1:if(ba(e,r,o),t=r.stateNode,typeof t.componentDidMount=="function"&&we(r,Zy,r,t),t=r.updateQueue,t!==null){e=r.stateNode;try{we(r,nz,t,e)}catch(E){ct(r,r.return,E)}}o&&w&64&&T1(r),eu(r,r.return);break;case 27:C1(r);case 26:case 5:ba(e,r,o),o&&t===null&&w&4&&N1(r),eu(r,r.return);break;case 12:if(o&&w&4){w=Ga(),ba(e,r,o),o=r.stateNode,o.effectDuration+=ql(w);try{we(r,D1,r,t,Bi,o.effectDuration)}catch(E){ct(r,r.return,E)}}else ba(e,r,o);break;case 31:ba(e,r,o),o&&w&4&&_1(e,r);break;case 13:ba(e,r,o),o&&w&4&&U1(e,r);break;case 22:r.memoizedState===null&&ba(e,r,o),eu(r,r.return);break;case 30:break;default:ba(e,r,o)}(r.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(r,_e,Ue,Ct,Nt),rr(l),ca(c),Nt=m,Ot=g}function ba(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)B1(e,t.alternate,t,r),t=t.sibling}function Cp(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&So(e),r!=null&&Pl(r))}function Rp(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(So(t),e!=null&&Pl(e))}function Yr(e,t,r,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var c=t.sibling;H1(e,t,r,o,c!==null?c.actualStartTime:l),t=c}}function H1(e,t,r,o,l){var c=nr(),m=ua(),g=fa(),w=da(),E=Ui,B=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Ye)!==Ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Kc(t,t.actualStartTime,l,tn,r),Yr(e,t,r,o,l),B&2048&&E1(t,jn|Rr);break;case 1:(t.mode&Ye)!==Ve&&0<t.actualStartTime&&((t.flags&128)!==0?dm(t,t.actualStartTime,l,[]):(t.flags&1)!==0&&Kc(t,t.actualStartTime,l,tn,r)),Yr(e,t,r,o,l);break;case 3:var H=Ga(),M=tn;tn=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Yr(e,t,r,o,l),tn=M,B&2048&&(r=null,t.alternate!==null&&(r=t.alternate.memoizedState.cache),o=t.memoizedState.cache,o!==r&&(So(o),r!=null&&Pl(r))),e.passiveEffectDuration+=lf(H);break;case 12:if(B&2048){B=Ga(),Yr(e,t,r,o,l),e=t.stateNode,e.passiveEffectDuration+=ql(B);try{we(t,gz,t,t.alternate,Bi,e.passiveEffectDuration)}catch($){ct(t,t.return,$)}}else Yr(e,t,r,o,l);break;case 31:B=tn,H=t.alternate!==null?t.alternate.memoizedState:null,M=t.memoizedState,H!==null&&M===null?(M=t.deletions,M!==null&&0<M.length&&M[0].tag===18?(tn=!1,H=H.hydrationErrors,H!==null&&dm(t,t.actualStartTime,l,H)):tn=!0):tn=!1,Yr(e,t,r,o,l),tn=B;break;case 13:B=tn,H=t.alternate!==null?t.alternate.memoizedState:null,M=t.memoizedState,H===null||H.dehydrated===null||M!==null&&M.dehydrated!==null?tn=!1:(M=t.deletions,M!==null&&0<M.length&&M[0].tag===18?(tn=!1,H=H.hydrationErrors,H!==null&&dm(t,t.actualStartTime,l,H)):tn=!0),Yr(e,t,r,o,l),tn=B;break;case 23:break;case 22:M=t.stateNode,H=t.alternate,t.memoizedState!==null?M._visibility&Wa?Yr(e,t,r,o,l):tu(e,t,r,o,l):M._visibility&Wa?Yr(e,t,r,o,l):(M._visibility|=Wa,Ss(e,t,r,o,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),l),(t.mode&Ye)===Ve||tn||(e=t.actualStartTime,0<=e&&.05<l-e&&Jc(t,e,l),0<=_e&&0<=Ue&&.05<Ue-_e&&Jc(t,_e,Ue))),B&2048&&Cp(H,t);break;case 24:Yr(e,t,r,o,l),B&2048&&Rp(t.alternate,t);break;default:Yr(e,t,r,o,l)}(t.mode&Ye)!==Ve&&((e=!tn&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(r=t.actualStartTime,0<=r&&.05<l-r&&oa(t,r,l,"Mount")),0<=_e&&0<=Ue&&((Ot||.05<Ct)&&sa(t,_e,Ue,Ct,Nt),e&&.05<Ue-_e&&oa(t,_e,Ue,"Mount"))),rr(c),ca(m),Nt=g,Ot=w,Ui=E}function Ss(e,t,r,o,l,c){for(l=l&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var m=t.sibling;P1(e,t,r,o,l,m!==null?m.actualStartTime:c),t=m}}function P1(e,t,r,o,l,c){var m=nr(),g=ua(),w=fa(),E=da(),B=Ui;l&&(t.mode&Ye)!==Ve&&0<t.actualStartTime&&(t.flags&1)!==0&&Kc(t,t.actualStartTime,c,tn,r);var H=t.flags;switch(t.tag){case 0:case 11:case 15:Ss(e,t,r,o,l,c),E1(t,jn);break;case 23:break;case 22:var M=t.stateNode;t.memoizedState!==null?M._visibility&Wa?Ss(e,t,r,o,l,c):tu(e,t,r,o,c):(M._visibility|=Wa,Ss(e,t,r,o,l,c)),l&&H&2048&&Cp(t.alternate,t);break;case 24:Ss(e,t,r,o,l,c),l&&H&2048&&Rp(t.alternate,t);break;default:Ss(e,t,r,o,l,c)}(t.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(t,_e,Ue,Ct,Nt),rr(m),ca(g),Nt=w,Ot=E,Ui=B}function tu(e,t,r,o,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var c=t.child;c!==null;){t=c.sibling;var m=e,g=r,w=o,E=t!==null?t.actualStartTime:l,B=Ui;(c.mode&Ye)!==Ve&&0<c.actualStartTime&&(c.flags&1)!==0&&Kc(c,c.actualStartTime,E,tn,g);var H=c.flags;switch(c.tag){case 22:tu(m,c,g,w,E),H&2048&&Cp(c.alternate,c);break;case 24:tu(m,c,g,w,E),H&2048&&Rp(c.alternate,c);break;default:tu(m,c,g,w,E)}Ui=B,c=t}}function ws(e,t,r){if(e.subtreeFlags&Yu)for(e=e.child;e!==null;)q1(e,t,r),e=e.sibling}function q1(e,t,r){switch(e.tag){case 26:ws(e,t,r),e.flags&Yu&&e.memoizedState!==null&&lO(r,Zr,e.memoizedState,e.memoizedProps);break;case 5:ws(e,t,r);break;case 3:case 4:var o=Zr;Zr=Ff(e.stateNode.containerInfo),ws(e,t,r),Zr=o;break;case 22:e.memoizedState===null&&(o=e.alternate,o!==null&&o.memoizedState!==null?(o=Yu,Yu=16777216,ws(e,t,r),Yu=o):ws(e,t,r));break;default:ws(e,t,r)}}function I1(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 nu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var o=t[r],l=nr();un=o,G1(o,e),(o.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(o,_e,Ue,"Unmount"),rr(l)}I1(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)F1(e),e=e.sibling}function F1(e){var t=nr(),r=ua(),o=fa(),l=da();switch(e.tag){case 0:case 11:case 15:nu(e),e.flags&2048&&kp(e,e.return,jn|Rr);break;case 3:var c=Ga();nu(e),e.stateNode.passiveEffectDuration+=lf(c);break;case 12:c=Ga(),nu(e),e.stateNode.passiveEffectDuration+=ql(c);break;case 22:c=e.stateNode,e.memoizedState!==null&&c._visibility&Wa&&(e.return===null||e.return.tag!==13)?(c._visibility&=~Wa,Vf(e),(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(e,_e,Ue,"Disconnect")):nu(e);break;default:nu(e)}(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(e,_e,Ue,Ct,Nt),rr(t),ca(r),Ot=l,Nt=o}function Vf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var o=t[r],l=nr();un=o,G1(o,e),(o.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&.05<Ue-_e&&oa(o,_e,Ue,"Unmount"),rr(l)}I1(e)}for(e=e.child;e!==null;)Y1(e),e=e.sibling}function Y1(e){var t=nr(),r=ua(),o=fa(),l=da();switch(e.tag){case 0:case 11:case 15:kp(e,e.return,jn),Vf(e);break;case 22:var c=e.stateNode;c._visibility&Wa&&(c._visibility&=~Wa,Vf(e));break;default:Vf(e)}(e.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(e,_e,Ue,Ct,Nt),rr(t),ca(r),Ot=l,Nt=o}function G1(e,t){for(;un!==null;){var r=un,o=r,l=t,c=nr(),m=ua(),g=fa(),w=da();switch(o.tag){case 0:case 11:case 15:kp(o,l,jn);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(l=o.memoizedState.cachePool.pool,l!=null&&So(l));break;case 24:Pl(o.memoizedState.cache)}if((o.mode&Ye)!==Ve&&0<=_e&&0<=Ue&&(Ot||.05<Ct)&&sa(o,_e,Ue,Ct,Nt),rr(c),ca(m),Ot=w,Nt=g,o=r.child,o!==null)o.return=r,un=o;else e:for(r=e;un!==null;){if(o=un,c=o.sibling,m=o.return,O1(o),o===r){un=null;break e}if(c!==null){c.return=m,un=c;break e}un=m}}}function Sz(){FM.forEach(function(e){return e()})}function $1(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||Z.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ir(e){if((st&nn)!==cn&&$e!==0)return $e&-$e;var t=Z.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Lp()):Nn()}function X1(){if(Gn===0)if(($e&536870912)===0||We){var e=nd;nd<<=1,(nd&3932160)===0&&(nd=262144),Gn=e}else Gn=536870912;return e=cr.current,e!==null&&(e.flags|=32),Gn}function zt(e,t,r){if(sl&&console.error("useInsertionEffect must not schedule updates."),xg&&(Pd=!0),(e===yt&&(ht===qo||ht===Io)||e.cancelPendingCommit!==null)&&(Ts(e,0),Ni(e,$e,Gn,!1)),Te(e,r),(st&nn)!==cn&&e===yt){if(Ea)switch(t.tag){case 0:case 11:case 15:e=Xe&&F(Xe)||"Unknown",ST.has(e)||(ST.add(e),t=F(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:xT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),xT=!0)}}else ka&&Wn(e,t,r),zz(t),e===yt&&((st&nn)===cn&&($i|=r),Rt===Fi&&Ni(e,$e,Gn,!1)),va(e)}function Q1(e,t,r){if((st&(nn|dr))!==cn)throw Error("Should not already be working.");if($e!==0&&Xe!==null){var o=Xe,l=sn();switch(hE){case Xu:case qo:var c=zu;xt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",c,l,wr,void 0,"primary-light")):console.timeStamp("Suspended",c,l,wr,void 0,"primary-light"));break;case Io:c=zu,xt&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",c,l,wr,void 0,"primary-light")):console.timeStamp("Action",c,l,wr,void 0,"primary-light"));break;default:xt&&(o=l-zu,3>o||console.timeStamp("Blocked",zu,l,wr,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}c=(r=!r&&(t&127)===0&&(t&e.expiredLanes)===0||ra(e,t))?Ez(e,t):Op(e,t,!0);var m=r;do{if(c===ci){il&&!r&&Ni(e,t,0,!1),t=ht,zu=Yt(),hE=t;break}else{if(o=sn(),l=e.current.alternate,m&&!wz(l)){Ir(t),l=ln,c=o,!xt||c<=l||(Vt?Vt.run(console.timeStamp.bind(console,"Teared Render",l,c,rt,tt,"error")):console.timeStamp("Teared Render",l,c,rt,tt,"error")),No(t,o),c=Op(e,t,!1),m=!1;continue}if(c===Po){if(m=t,e.errorRecoveryDisabledLanes&m)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){Ir(t),hm(ln,o,t,Vt),No(t,o),t=g;e:{o=e,c=m,m=Zu;var w=o.current.memoizedState.isDehydrated;if(w&&(Ts(o,g).flags|=256),g=Op(o,g,!1),g!==Po){if(dg&&!w){o.errorRecoveryDisabledLanes|=c,$i|=c,c=Fi;break e}o=Vn,Vn=m,o!==null&&(Vn===null?Vn=o:Vn.push.apply(Vn,o))}c=g}if(m=!1,c!==Po)continue;o=sn()}}if(c===$u){Ir(t),hm(ln,o,t,Vt),No(t,o),Ts(e,0),Ni(e,t,0,!0);break}e:{switch(r=e,c){case ci:case $u:throw Error("Root did not complete. This is a bug in React.");case Fi:if((t&4194048)!==t)break;case Md:Ir(t),Qv(ln,o,t,Vt),No(t,o),l=t,(l&127)!==0?bd=o:(l&4194048)!==0&&(vd=o),Ni(r,t,Gn,!Yi);break e;case Po:Vn=null;break;case Od:case sT:break;default:throw Error("Unknown root exit status.")}if(Z.actQueue!==null)Mp(r,l,t,Vn,Ju,jd,Gn,$i,Fo,c,null,null,ln,o);else{if((t&62914560)===t&&(m=Vd+cT-sn(),10<m)){if(Ni(r,t,Gn,!Yi),Ha(r,0,!0)!==0)break e;Jr=t,r.timeoutHandle=CT(Z1.bind(null,r,l,Vn,Ju,jd,t,Gn,$i,Fo,Yi,c,"Throttled",ln,o),m);break e}Z1(r,l,Vn,Ju,jd,t,Gn,$i,Fo,Yi,c,null,ln,o)}}}break}while(!0);va(e)}function Z1(e,t,r,o,l,c,m,g,w,E,B,H,M,$){e.timeoutHandle=Qo;var ve=t.subtreeFlags,Ee=null;if((ve&8192||(ve&16785408)===16785408)&&(Ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:qa},q1(t,c,Ee),ve=(c&62914560)===c?Vd-sn():(c&4194048)===c?uT-sn():0,ve=uO(Ee,ve),ve!==null)){Jr=c,e.cancelPendingCommit=ve(Mp.bind(null,e,t,c,r,o,l,m,g,w,B,Ee,Ee.waitingForViewTransition?"Waiting for the previous Animation":0<Ee.count?0<Ee.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Ee.imgCount===1?"Suspended on an Image":0<Ee.imgCount?"Suspended on Images":null,M,$)),Ni(e,c,m,!E);return}Mp(e,t,c,r,o,l,m,g,w,B,Ee,H,M,$)}function wz(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var o=0;o<r.length;o++){var l=r[o],c=l.getSnapshot;l=l.value;try{if(!Mn(c(),l))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 Ni(e,t,r,o){t&=~hg,t&=~$i,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var l=t;0<l;){var c=31-Rn(l),m=1<<c;o[c]=-1,l&=~m}r!==0&&it(e,r,t)}function Es(){return(st&(nn|dr))===cn?(iu(0),!1):!0}function zp(){if(Xe!==null){if(ht===Yn)var e=Xe.return;else e=Xe,af(),qm(e),Zs=null,Hu=0,e=Xe;for(;e!==null;)S1(e.alternate,e),e=e.return;Xe=null}}function No(e,t){(e&127)!==0&&(Oo=t),(e&4194048)!==0&&(ai=t),(e&62914560)!==0&&(fE=t),(e&2080374784)!==0&&(dE=t)}function Ts(e,t){xt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",tt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",tt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",tt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",tt,"primary-light"));var r=ln;if(ln=Yt(),$e!==0&&0<r){if(Ir($e),Rt===Od||Rt===Fi)Qv(r,ln,t,Vt);else{var o=ln,l=Vt;if(xt&&!(o<=r)){var c=(t&738197653)===t?"tertiary-dark":"primary-dark",m=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";l?l.run(console.timeStamp.bind(console,m,r,o,rt,tt,c)):console.timeStamp(m,r,o,rt,tt,c)}}No($e,ln)}if(r=Vt,Vt=null,(t&127)!==0){Vt=Au,l=0<=Ca&&Ca<Oo?Oo:Ca,o=0<=Mo&&Mo<Oo?Oo:Mo,c=0<=o?o:0<=l?l:ln,0<=bd?(Ir(2),Zv(bd,c,t,r)):xd&127,r=l;var g=o,w=Cu,E=0<$s,B=Hi===Nu,H=Hi===gd;if(l=ln,o=Au,c=Yy,m=Gy,xt){if(rt="Blocking",0<r?r>l&&(r=l):r=l,0<g?g>r&&(g=r):g=r,w!==null&&r>g){var M=E?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+w,g,r,rt,tt,M)):console.timeStamp(E?"Consecutive":"Event: "+w,g,r,rt,tt,M)}l>r&&(g=B?"error":(t&738197653)===t?"tertiary-light":"primary-light",B=H?"Promise Resolved":B?"Cascading Update":5<l-r?"Update Blocked":"Update",H=[],m!=null&&H.push(["Component name",m]),c!=null&&H.push(["Method name",c]),r={start:r,end:l,detail:{devtools:{properties:H,track:rt,trackGroup:tt,color:g}}},o?o.run(performance.measure.bind(performance,B,r)):performance.measure(B,r))}Ca=-1.1,Hi=0,Gy=Yy=null,bd=-1.1,$s=Mo,Mo=-1.1,Oo=Yt()}if((t&4194048)!==0&&(Vt=Ru,l=0<=ii&&ii<ai?ai:ii,r=0<=Ar&&Ar<ai?ai:Ar,o=0<=Pi&&Pi<ai?ai:Pi,c=0<=o?o:0<=r?r:ln,0<=vd?(Ir(256),Zv(vd,c,t,Vt)):xd&4194048,H=o,g=_o,w=0<qi,E=$y===gd,c=ln,o=Ru,m=uE,B=cE,xt&&(rt="Transition",0<r?r>c&&(r=c):r=c,0<l?l>r&&(l=r):l=r,0<H?H>l&&(H=l):H=l,l>H&&g!==null&&(M=w?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,w?"Consecutive":"Event: "+g,H,l,rt,tt,M)):console.timeStamp(w?"Consecutive":"Event: "+g,H,l,rt,tt,M)),r>l&&(o?o.run(console.timeStamp.bind(console,"Action",l,r,rt,tt,"primary-dark")):console.timeStamp("Action",l,r,rt,tt,"primary-dark")),c>r&&(l=E?"Promise Resolved":5<c-r?"Update Blocked":"Update",H=[],B!=null&&H.push(["Component name",B]),m!=null&&H.push(["Method name",m]),r={start:r,end:c,detail:{devtools:{properties:H,track:rt,trackGroup:tt,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,l,r)):performance.measure(l,r))),Ar=ii=-1.1,$y=0,vd=-1.1,qi=Pi,Pi=-1.1,ai=Yt()),(t&62914560)!==0&&(xd&62914560)!==0&&(Ir(4194304),mm(fE,ln)),(t&2080374784)!==0&&(xd&2080374784)!==0&&(Ir(268435456),mm(dE,ln)),r=e.timeoutHandle,r!==Qo&&(e.timeoutHandle=Qo,r_(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),Jr=0,zp(),yt=e,Xe=r=Ia(e.current,null),$e=t,ht=Yn,hr=null,Yi=!1,il=ra(e,t),dg=!1,Rt=ci,Fo=Gn=hg=$i=Gi=0,Vn=Zu=null,jd=!1,(t&8)!==0&&(t|=t&32),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=t;0<o;)l=31-Rn(o),c=1<<l,t|=e[l],o&=~c;return za=t,Wc(),e=rE(),1e3<e-nE&&(Z.recentlyCreatedOwnerStacks=0,nE=e),Xr.discardPendingWarnings(),r}function J1(e,t){Le=null,Z.H=Fu,Z.getCurrentStack=null,Ea=!1,lr=null,t===Qs||t===Td?(t=bx(),ht=Xu):t===Jy?(t=bx(),ht=lT):ht=t===sg?fg:t!==null&&typeof t=="object"&&typeof t.then=="function"?Qu:_d,hr=t;var r=Xe;r===null?(Rt=$u,Rf(e,tr(t,e.current))):r.mode&Ye&&Cm(r)}function K1(){var e=cr.current;return e===null?!0:($e&4194048)===$e?Cr===null:($e&62914560)===$e||($e&536870912)!==0?e===Cr:!1}function W1(){var e=Z.H;return Z.H=Fu,e===null?Fu:e}function eS(){var e=Z.A;return Z.A=IM,e}function Lf(e){Vt===null&&(Vt=e._debugTask==null?null:e._debugTask)}function Bf(){Rt=Fi,Yi||($e&4194048)!==$e&&cr.current!==null||(il=!0),(Gi&134217727)===0&&($i&134217727)===0||yt===null||Ni(yt,$e,Gn,!1)}function Op(e,t,r){var o=st;st|=nn;var l=W1(),c=eS();if(yt!==e||$e!==t){if(ka){var m=e.memoizedUpdaters;0<m.size&&(au(e,$e),m.clear()),gr(e,t)}Ju=null,Ts(e,t)}t=!1,m=Rt;e:do try{if(ht!==Yn&&Xe!==null){var g=Xe,w=hr;switch(ht){case fg:zp(),m=Md;break e;case Xu:case qo:case Io:case Qu:cr.current===null&&(t=!0);var E=ht;if(ht=Yn,hr=null,ks(e,g,w,E),r&&il){m=ci;break e}break;default:E=ht,ht=Yn,hr=null,ks(e,g,w,E)}}tS(),m=Rt;break}catch(B){J1(e,B)}while(!0);return t&&e.shellSuspendCounter++,af(),st=o,Z.H=l,Z.A=c,Xe===null&&(yt=null,$e=0,Wc()),m}function tS(){for(;Xe!==null;)nS(Xe)}function Ez(e,t){var r=st;st|=nn;var o=W1(),l=eS();if(yt!==e||$e!==t){if(ka){var c=e.memoizedUpdaters;0<c.size&&(au(e,$e),c.clear()),gr(e,t)}Ju=null,Ld=sn()+fT,Ts(e,t)}else il=ra(e,t);e:do try{if(ht!==Yn&&Xe!==null)t:switch(t=Xe,c=hr,ht){case _d:ht=Yn,hr=null,ks(e,t,c,_d);break;case qo:case Io:if(yx(c)){ht=Yn,hr=null,rS(t);break}t=function(){ht!==qo&&ht!==Io||yt!==e||(ht=Ud),va(e)},c.then(t,t);break e;case Xu:ht=Ud;break e;case lT:ht=cg;break e;case Ud:yx(c)?(ht=Yn,hr=null,rS(t)):(ht=Yn,hr=null,ks(e,t,c,Ud));break;case cg:var m=null;switch(Xe.tag){case 26:m=Xe.memoizedState;case 5:case 27:var g=Xe;if(m?QS(m):g.stateNode.complete){ht=Yn,hr=null;var w=g.sibling;if(w!==null)Xe=w;else{var E=g.return;E!==null?(Xe=E,Hf(E)):Xe=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ht=Yn,hr=null,ks(e,t,c,cg);break;case Qu:ht=Yn,hr=null,ks(e,t,c,Qu);break;case fg:zp(),Rt=Md;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Z.actQueue!==null?tS():Tz();break}catch(B){J1(e,B)}while(!0);return af(),Z.H=o,Z.A=l,st=r,Xe!==null?ci:(yt=null,$e=0,Wc(),Rt)}function Tz(){for(;Xe!==null&&!EO();)nS(Xe)}function nS(e){var t=e.alternate;(e.mode&Ye)!==Ve?(Am(e),t=we(e,wp,t,e,za),Cm(e)):t=we(e,wp,t,e,za),e.memoizedProps=e.pendingProps,t===null?Hf(e):Xe=t}function rS(e){var t=we(e,kz,e);e.memoizedProps=e.pendingProps,t===null?Hf(e):Xe=t}function kz(e){var t=e.alternate,r=(e.mode&Ye)!==Ve;switch(r&&Am(e),e.tag){case 15:case 0:t=m1(t,e,e.pendingProps,e.type,void 0,$e);break;case 11:t=m1(t,e,e.pendingProps,e.type.render,e.ref,$e);break;case 5:qm(e);default:S1(t,e),e=Xe=nx(e,za),t=wp(t,e,za)}return r&&Cm(e),t}function ks(e,t,r,o){af(),qm(t),Zs=null,Hu=0;var l=t.return;try{if(uz(e,l,t,r,$e)){Rt=$u,Rf(e,tr(r,e.current)),Xe=null;return}}catch(c){if(l!==null)throw Xe=l,c;Rt=$u,Rf(e,tr(r,e.current)),Xe=null;return}t.flags&32768?(We||o===_d?e=!0:il||($e&536870912)!==0?e=!1:(Yi=e=!0,(o===qo||o===Io||o===Xu||o===Qu)&&(o=cr.current,o!==null&&o.tag===13&&(o.flags|=16384))),aS(t,e)):Hf(t)}function Hf(e){var t=e;do{if((t.flags&32768)!==0){aS(t,Yi);return}var r=t.alternate;if(e=t.return,Am(t),r=we(t,dz,r,t,za),(t.mode&Ye)!==Ve&&fx(t),r!==null){Xe=r;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);Rt===ci&&(Rt=sT)}function aS(e,t){do{var r=hz(e.alternate,e);if(r!==null){r.flags&=32767,Xe=r;return}if((e.mode&Ye)!==Ve){fx(e),r=e.actualDuration;for(var o=e.child;o!==null;)r+=o.actualDuration,o=o.sibling;e.actualDuration=r}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){Xe=e;return}Xe=e=r}while(e!==null);Rt=Md,Xe=null}function Mp(e,t,r,o,l,c,m,g,w,E,B,H,M,$){e.cancelPendingCommit=null;do ru();while(Zt!==Qi);if(Xr.flushLegacyContextWarning(),Xr.flushPendingUnsafeLifecycleWarnings(),(st&(nn|dr))!==cn)throw Error("Should not already be working.");if(Ir(r),E===Po?hm(M,$,r,Vt):o!==null?ZR(M,$,r,o,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Vt):QR(M,$,r,Vt),t!==null){if(r===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(c=t.lanes|t.childLanes,c|=Hy,Ie(e,r,c,m,g,w),e===yt&&(Xe=yt=null,$e=0),ol=t,Zi=e,Jr=r,yg=c,bg=l,gT=o,gg=$,bT=H,Kr=Bd,vT=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Rz(zs,function(){return rc=window.event,Kr===Bd&&(Kr=pg),uS(),null})):(e.callbackNode=null,e.callbackPriority=0),ri=null,Bi=Yt(),H!==null&&JR($,Bi,H,Vt),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=Z.T,Z.T=null,l=ft.p,ft.p=Sr,m=st,st|=dr;try{vz(e,t,r)}finally{st=m,ft.p=l,Z.T=o}}Zt=hT,iS(),oS(),sS()}}function iS(){if(Zt===hT){Zt=Qi;var e=Zi,t=ol,r=Jr,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=Z.T,Z.T=null;var l=ft.p;ft.p=Sr;var c=st;st|=dr;try{rl=r,al=e,uf(),j1(t,e),al=rl=null,r=Cg;var m=Gv(e.containerInfo),g=r.focusedElem,w=r.selectionRange;if(m!==g&&g&&g.ownerDocument&&Yv(g.ownerDocument.documentElement,g)){if(w!==null&&cm(g)){var E=w.start,B=w.end;if(B===void 0&&(B=E),"selectionStart"in g)g.selectionStart=E,g.selectionEnd=Math.min(B,g.value.length);else{var H=g.ownerDocument||document,M=H&&H.defaultView||window;if(M.getSelection){var $=M.getSelection(),ve=g.textContent.length,Ee=Math.min(w.start,ve),bt=w.end===void 0?Ee:Math.min(w.end,ve);!$.extend&&Ee>bt&&(m=bt,bt=Ee,Ee=m);var nt=Fv(g,Ee),O=Fv(g,bt);if(nt&&O&&($.rangeCount!==1||$.anchorNode!==nt.node||$.anchorOffset!==nt.offset||$.focusNode!==O.node||$.focusOffset!==O.offset)){var j=H.createRange();j.setStart(nt.node,nt.offset),$.removeAllRanges(),Ee>bt?($.addRange(j),$.extend(O.node,O.offset)):(j.setEnd(O.node,O.offset),$.addRange(j))}}}}for(H=[],$=g;$=$.parentNode;)$.nodeType===1&&H.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<H.length;g++){var L=H[g];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}th=!!Ag,Cg=Ag=null}finally{st=c,ft.p=l,Z.T=o}}e.current=t,Zt=mT}}function oS(){if(Zt===mT){Zt=Qi;var e=vT;if(e!==null){Bi=Yt();var t=ni,r=Bi;!xt||r<=t||console.timeStamp(e,t,r,rt,tt,"secondary-light")}e=Zi,t=ol,r=Jr;var o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=Z.T,Z.T=null;var l=ft.p;ft.p=Sr;var c=st;st|=dr;try{rl=r,al=e,uf(),z1(e,t.alternate,t),al=rl=null}finally{st=c,ft.p=l,Z.T=o}}e=gg,t=bT,ni=Yt(),e=t===null?e:Bi,t=ni,r=Kr===mg,o=Vt,ri!==null?Jv(e,t,ri,!1,o):!xt||t<=e||(o?o.run(console.timeStamp.bind(console,r?"Commit Interrupted View Transition":"Commit",e,t,rt,tt,r?"error":"secondary-dark")):console.timeStamp(r?"Commit Interrupted View Transition":"Commit",e,t,rt,tt,r?"error":"secondary-dark")),Zt=pT}}function sS(){if(Zt===yT||Zt===pT){if(Zt===yT){var e=ni;ni=Yt();var t=ni,r=Kr===mg;!xt||t<=e||console.timeStamp(r?"Interrupted View Transition":"Starting Animation",e,t,rt,tt,r?" error":"secondary-light"),Kr!==mg&&(Kr=dT)}Zt=Qi,TO(),e=Zi;var o=ol;t=Jr,r=gT;var l=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;l?Zt=Hd:(Zt=Qi,ol=Zi=null,lS(e,e.pendingLanes),Yo=0,Wu=null);var c=e.pendingLanes;if(c===0&&(Xi=null),l||hS(e),c=qt(t),o=o.stateNode,vn&&typeof vn.onCommitFiberRoot=="function")try{var m=(o.current.flags&128)===128;switch(c){case Sr:var g=by;break;case Da:g=vy;break;case Ja:g=zs;break;case ad:g=xy;break;default:g=zs}vn.onCommitFiberRoot(Os,o,g,m)}catch(H){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",H))}if(ka&&e.memoizedUpdaters.clear(),Sz(),r!==null){m=Z.T,g=ft.p,ft.p=Sr,Z.T=null;try{var w=e.onRecoverableError;for(o=0;o<r.length;o++){var E=r[o],B=Dz(E.stack);we(E.source,w,E.value,B)}}finally{Z.T=m,ft.p=g}}(Jr&3)!==0&&ru(),va(e),c=e.pendingLanes,(t&261930)!==0&&(c&42)!==0?(wd=!0,e===vg?Ku++:(Ku=0,vg=e)):Ku=0,l||No(t,ni),iu(0)}}function Dz(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 lS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Pl(t)))}function ru(){return iS(),oS(),sS(),uS()}function uS(){if(Zt!==Hd)return!1;var e=Zi,t=yg;yg=0;var r=qt(Jr),o=Ja>r?Ja:r;r=Z.T;var l=ft.p;try{ft.p=o,Z.T=null;var c=bg;bg=null,o=Zi;var m=Jr;if(Zt=Qi,ol=Zi=null,Jr=0,(st&(nn|dr))!==cn)throw Error("Cannot flush passive effects while already rendering.");Ir(m),xg=!0,Pd=!1;var g=0;if(ri=null,g=sn(),Kr===dT)mm(ni,g,jM);else{var w=ni,E=g,B=Kr===pg;!xt||E<=w||(Vt?Vt.run(console.timeStamp.bind(console,B?"Waiting for Paint":"Waiting",w,E,rt,tt,"secondary-light")):console.timeStamp(B?"Waiting for Paint":"Waiting",w,E,rt,tt,"secondary-light"))}w=st,st|=dr;var H=o.current;uf(),F1(H);var M=o.current;H=gg,uf(),H1(o,M,m,c,H),hS(o),st=w;var $=sn();if(M=g,H=Vt,ri!==null?Jv(M,$,ri,!0,H):!xt||$<=M||(H?H.run(console.timeStamp.bind(console,"Remaining Effects",M,$,rt,tt,"secondary-dark")):console.timeStamp("Remaining Effects",M,$,rt,tt,"secondary-dark")),No(m,$),iu(0,!1),Pd?o===Wu?Yo++:(Yo=0,Wu=o):Yo=0,Pd=xg=!1,vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(Os,o)}catch(Ee){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",Ee))}var ve=o.current.stateNode;return ve.effectDuration=0,ve.passiveEffectDuration=0,!0}finally{ft.p=l,Z.T=r,lS(e,t)}}function cS(e,t,r){t=tr(r,t),dx(t),t=fp(e.stateNode,t,2),e=Ei(e,t,2),e!==null&&(Te(e,2),va(e))}function ct(e,t,r){if(sl=!1,e.tag===3)cS(e,e,r);else{for(;t!==null;){if(t.tag===3){cS(t,e,r);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Xi===null||!Xi.has(o))){e=tr(r,e),dx(e),r=dp(2),o=Ei(t,r,2),o!==null&&(hp(r,o,t,e),Te(o,2),va(o));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`,r)}}function _p(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new YM;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(r)||(dg=!0,l.add(r),o=Nz.bind(null,e,t,r),ka&&au(e,r),t.then(o,o))}function Nz(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,(r&127)!==0?0>Ca&&(Oo=Ca=Yt(),Au=yd("Promise Resolved"),Hi=gd):(r&4194048)!==0&&0>Ar&&(ai=Ar=Yt(),Ru=yd("Promise Resolved"),$y=gd),$1()&&Z.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&&($e&r)===r&&(Rt===Fi||Rt===Od&&($e&62914560)===$e&&sn()-Vd<cT?(st&nn)===cn&&Ts(e,0):hg|=r,Fo===$e&&(Fo=0)),va(e)}function fS(e,t){t===0&&(t=ee()),e=bn(e,t),e!==null&&(Te(e,t),va(e))}function Az(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),fS(e,r)}function Cz(e,t){var r=0;switch(e.tag){case 31:case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(r=l.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),fS(e,r)}function Up(e,t,r){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,l=t,c=l.type===Kf;c=r||c,l.tag!==22?l.flags&67108864?c&&we(l,dS,o,l):Up(o,l,c):l.memoizedState===null&&(c&&l.flags&8192?we(l,dS,o,l):l.subtreeFlags&67108864&&we(l,Up,o,l,c)),t=t.sibling}}function dS(e,t){De(!0);try{L1(t),Y1(t),B1(e,t.alternate,t,!1),P1(e,t,0,null,!1,0)}finally{De(!1)}}function hS(e){var t=!0;e.current.mode&(xn|$r)||(t=!1),Up(e,e.current,t)}function mS(e){if((st&nn)===cn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=F(e)||"ReactComponent",qd!==null){if(qd.has(t))return;qd.add(t)}else qd=new Set([t]);we(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 au(e,t){ka&&e.memoizedUpdaters.forEach(function(r){Wn(e,r,t)})}function Rz(e,t){var r=Z.actQueue;return r!==null?(r.push(t),XM):gy(e,t)}function zz(e){$1()&&Z.actQueue===null&&we(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`,F(e))})}function va(e){e!==ll&&e.next===null&&(ll===null?Id=ll=e:ll=ll.next=e),Fd=!0,Z.actQueue!==null?wg||(wg=!0,bS()):Sg||(Sg=!0,bS())}function iu(e,t){if(!Eg&&Fd){Eg=!0;do for(var r=!1,o=Id;o!==null;){if(e!==0){var l=o.pendingLanes;if(l===0)var c=0;else{var m=o.suspendedLanes,g=o.pingedLanes;c=(1<<31-Rn(42|e)+1)-1,c&=l&~(m&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(r=!0,gS(o,c))}else c=$e,c=Ha(o,o===yt?c:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Qo),(c&3)===0||ra(o,c)||(r=!0,gS(o,c));o=o.next}while(r);Eg=!1}}function Oz(){rc=window.event,jp()}function jp(){Fd=wg=Sg=!1;var e=0;Ji!==0&&Bz()&&(e=Ji);for(var t=sn(),r=null,o=Id;o!==null;){var l=o.next,c=pS(o,t);c===0?(o.next=null,r===null?Id=l:r.next=l,l===null&&(ll=r)):(r=o,(e!==0||(c&3)!==0)&&(Fd=!0)),o=l}Zt!==Qi&&Zt!==Hd||iu(e),Ji!==0&&(Ji=0)}function pS(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var m=31-Rn(c),g=1<<m,w=l[m];w===-1?((g&r)===0||(g&o)!==0)&&(l[m]=us(g,t)):w<=t&&(e.expiredLanes|=g),c&=~g}if(t=yt,r=$e,r=Ha(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Qo),o=e.callbackNode,r===0||e===t&&(ht===qo||ht===Io)||e.cancelPendingCommit!==null)return o!==null&&Vp(o),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||ra(e,r)){if(t=r&-r,t!==e.callbackPriority||Z.actQueue!==null&&o!==Tg)Vp(o);else return t;switch(qt(r)){case Sr:case Da:r=vy;break;case Ja:r=zs;break;case ad:r=xy;break;default:r=zs}return o=yS.bind(null,e),Z.actQueue!==null?(Z.actQueue.push(o),r=Tg):r=gy(r,o),e.callbackPriority=t,e.callbackNode=r,t}return o!==null&&Vp(o),e.callbackPriority=2,e.callbackNode=null,2}function yS(e,t){if(wd=Sd=!1,rc=window.event,Zt!==Qi&&Zt!==Hd)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(Kr===Bd&&(Kr=pg),ru()&&e.callbackNode!==r)return null;var o=$e;return o=Ha(e,e===yt?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Qo),o===0?null:(Q1(e,o,t),pS(e,sn()),e.callbackNode!=null&&e.callbackNode===r?yS.bind(null,e):null)}function gS(e,t){if(ru())return null;Sd=wd,wd=!1,Q1(e,t,!0)}function Vp(e){e!==Tg&&e!==null&&wO(e)}function bS(){Z.actQueue!==null&&Z.actQueue.push(function(){return jp(),null}),a_(function(){(st&(nn|dr))!==cn?gy(by,Oz):jp()})}function Lp(){if(Ji===0){var e=Uo;e===0&&(e=td,td<<=1,(td&261888)===0&&(td=256)),Ji=e}return Ji}function vS(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(lt(e,"action"),Vl(""+e))}function xS(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function Mz(e,t,r,o,l){if(t==="submit"&&r&&r.stateNode===l){var c=vS((l[zn]||null).action),m=o.submitter;m&&(t=(t=m[zn]||null)?vS(t.formAction):m.getAttribute("formAction"),t!==null&&(c=t,m=null));var g=new ud("action","action",null,o,l);e.push({event:g,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ji!==0){var w=m?xS(l,m):new FormData(l),E={pending:!0,data:w,method:l.method,action:c};Object.freeze(E),ap(r,E,null,w)}}else typeof c=="function"&&(g.preventDefault(),w=m?xS(l,m):new FormData(l),E={pending:!0,data:w,method:l.method,action:c},Object.freeze(E),ap(r,E,c,w))},currentTarget:l}]})}}function Pf(e,t,r){e.currentTarget=r;try{t(e)}catch(o){jy(o)}e.currentTarget=null}function SS(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var o=e[r];e:{var l=void 0,c=o.event;if(o=o.listeners,t)for(var m=o.length-1;0<=m;m--){var g=o[m],w=g.instance,E=g.currentTarget;if(g=g.listener,w!==l&&c.isPropagationStopped())break e;w!==null?we(w,Pf,c,g,E):Pf(c,g,E),l=w}else for(m=0;m<o.length;m++){if(g=o[m],w=g.instance,E=g.currentTarget,g=g.listener,w!==l&&c.isPropagationStopped())break e;w!==null?we(w,Pf,c,g,E):Pf(c,g,E),l=w}}}}function et(e,t){kg.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var r=t[Sy];r===void 0&&(r=t[Sy]=new Set);var o=e+"__bubble";r.has(o)||(wS(t,e,2,!1),r.add(o))}function Bp(e,t,r){kg.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 o=0;t&&(o|=4),wS(r,e,o,t)}function Hp(e){if(!e[Yd]){e[Yd]=!0,bw.forEach(function(r){r!=="selectionchange"&&(kg.has(r)||Bp(r,!1,e),Bp(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Yd]||(t[Yd]=!0,Bp("selectionchange",!1,t))}}function wS(e,t,r,o){switch(tw(t)){case Sr:var l=hO;break;case Da:l=mO;break;default:l=ny}r=l.bind(null,t,r,e),l=void 0,!Dy||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(t,r,{capture:!0,passive:l}):e.addEventListener(t,r,!0):l!==void 0?e.addEventListener(t,r,{passive:l}):e.addEventListener(t,r,!1)}function Pp(e,t,r,o,l){var c=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var m=o.tag;if(m===3||m===4){var g=o.stateNode.containerInfo;if(g===l)break;if(m===4)for(m=o.return;m!==null;){var w=m.tag;if((w===3||w===4)&&m.stateNode.containerInfo===l)return;m=m.return}for(;g!==null;){if(m=de(g),m===null)return;if(w=m.tag,w===5||w===6||w===26||w===27){o=c=m;continue e}g=g.parentNode}}o=o.return}Mv(function(){var E=c,B=lm(r),H=[];e:{var M=tE.get(e);if(M!==void 0){var $=ud,ve=e;switch(e){case"keypress":if(Xc(r)===0)break e;case"keydown":case"keyup":$=uM;break;case"focusin":ve="focus",$=Ry;break;case"focusout":ve="blur",$=Ry;break;case"beforeblur":case"afterblur":$=Ry;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":$=Pw;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=JO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=dM;break;case Jw:case Kw:case Ww:$=eM;break;case eE:$=mM;break;case"scroll":case"scrollend":$=QO;break;case"wheel":$=yM;break;case"copy":case"cut":case"paste":$=nM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=Iw;break;case"toggle":case"beforetoggle":$=bM}var Ee=(t&4)!==0,bt=!Ee&&(e==="scroll"||e==="scrollend"),nt=Ee?M!==null?M+"Capture":null:M;Ee=[];for(var O=E,j;O!==null;){var L=O;if(j=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||j===null||nt===null||(L=Ll(O,nt),L!=null&&Ee.push(ou(O,L,j))),bt)break;O=O.return}0<Ee.length&&(M=new $(M,ve,null,r,B),H.push({event:M,listeners:Ee}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",$=e==="mouseout"||e==="pointerout",M&&r!==gu&&(ve=r.relatedTarget||r.fromElement)&&(de(ve)||ve[Mi]))break e;if(($||M)&&(M=B.window===B?B:(M=B.ownerDocument)?M.defaultView||M.parentWindow:window,$?(ve=r.relatedTarget||r.toElement,$=E,ve=ve?de(ve):null,ve!==null&&(bt=_(ve),Ee=ve.tag,ve!==bt||Ee!==5&&Ee!==27&&Ee!==6)&&(ve=null)):($=null,ve=E),$!==ve)){if(Ee=Pw,L="onMouseLeave",nt="onMouseEnter",O="mouse",(e==="pointerout"||e==="pointerover")&&(Ee=Iw,L="onPointerLeave",nt="onPointerEnter",O="pointer"),bt=$==null?M:Ce($),j=ve==null?M:Ce(ve),M=new Ee(L,O+"leave",$,r,B),M.target=bt,M.relatedTarget=j,L=null,de(B)===E&&(Ee=new Ee(nt,O+"enter",ve,r,B),Ee.target=j,Ee.relatedTarget=bt,L=Ee),bt=L,$&&ve)t:{for(Ee=_z,nt=$,O=ve,j=0,L=nt;L;L=Ee(L))j++;L=0;for(var ne=O;ne;ne=Ee(ne))L++;for(;0<j-L;)nt=Ee(nt),j--;for(;0<L-j;)O=Ee(O),L--;for(;j--;){if(nt===O||O!==null&&nt===O.alternate){Ee=nt;break t}nt=Ee(nt),O=Ee(O)}Ee=null}else Ee=null;$!==null&&ES(H,M,$,Ee,!1),ve!==null&&bt!==null&&ES(H,bt,ve,Ee,!0)}}e:{if(M=E?Ce(E):window,$=M.nodeName&&M.nodeName.toLowerCase(),$==="select"||$==="input"&&M.type==="file")var Se=Hv;else if(Lv(M))if(Qw)Se=GR;else{Se=FR;var Be=IR}else $=M.nodeName,!$||$.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?E&&jl(E.elementType)&&(Se=Hv):Se=YR;if(Se&&(Se=Se(e,E))){Bv(H,Se,r,B);break e}Be&&Be(e,M,E),e==="focusout"&&E&&M.type==="number"&&E.memoizedProps.value!=null&&nm(M,"number",M.value)}switch(Be=E?Ce(E):window,e){case"focusin":(Lv(Be)||Be.contentEditable==="true")&&(Bs=Be,Oy=E,Tu=null);break;case"focusout":Tu=Oy=Bs=null;break;case"mousedown":My=!0;break;case"contextmenu":case"mouseup":case"dragend":My=!1,$v(H,r,B);break;case"selectionchange":if(wM)break;case"keydown":case"keyup":$v(H,r,B)}var Me;if(zy)e:{switch(e){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else Ls?jv(e,r)&&(Re="onCompositionEnd"):e==="keydown"&&r.keyCode===Fw&&(Re="onCompositionStart");Re&&(Yw&&r.locale!=="ko"&&(Ls||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&Ls&&(Me=_v()):(_i=B,Ny="value"in _i?_i.value:_i.textContent,Ls=!0)),Be=qf(E,Re),0<Be.length&&(Re=new qw(Re,e,null,r,B),H.push({event:Re,listeners:Be}),Me?Re.data=Me:(Me=Vv(r),Me!==null&&(Re.data=Me)))),(Me=xM?BR(e,r):HR(e,r))&&(Re=qf(E,"onBeforeInput"),0<Re.length&&(Be=new aM("onBeforeInput","beforeinput",null,r,B),H.push({event:Be,listeners:Re}),Be.data=Me)),Mz(H,e,E,r,B)}SS(H,t)})}function ou(e,t,r){return{instance:e,listener:t,currentTarget:r}}function qf(e,t){for(var r=t+"Capture",o=[];e!==null;){var l=e,c=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||c===null||(l=Ll(e,r),l!=null&&o.unshift(ou(e,l,c)),l=Ll(e,t),l!=null&&o.push(ou(e,l,c))),e.tag===3)return o;e=e.return}return[]}function _z(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ES(e,t,r,o,l){for(var c=t._reactName,m=[];r!==null&&r!==o;){var g=r,w=g.alternate,E=g.stateNode;if(g=g.tag,w!==null&&w===o)break;g!==5&&g!==26&&g!==27||E===null||(w=E,l?(E=Ll(r,c),E!=null&&m.unshift(ou(r,E,w))):l||(E=Ll(r,c),E!=null&&m.push(ou(r,E,w)))),r=r.return}m.length!==0&&e.push({event:t,listeners:m})}function qp(e,t){UR(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Bw||(Bw=!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 r={registrationNameDependencies:Ao,possibleRegistrationNames:wy};jl(e)||typeof t.is=="string"||VR(e,t,r),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 on(e,t,r,o){t!==r&&(r=Ai(r),Ai(t)!==r&&(o[e]=t))}function Uz(e,t,r){t.forEach(function(o){r[DS(o)]=o==="style"?Fp(e):e.getAttribute(o)})}function xa(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 TS(e,t){return e=e.namespaceURI===od||e.namespaceURI===_s?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Ai(e){return Ba(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.",Hr(e)),Pr(e)),(typeof e=="string"?e:""+e).replace(QM,`
|
|
181
|
+
`).replace(ZM,"")}function kS(e,t){return t=Ai(t),Ai(e)===t}function mt(e,t,r,o,l,c){switch(r){case"children":typeof o=="string"?($c(o,t,!1),t==="body"||t==="textarea"&&o===""||Ul(e,o)):(typeof o=="number"||typeof o=="bigint")&&($c(""+o,t,!1),t!=="body"&&Ul(e,""+o));break;case"className":Fc(e,"class",o);break;case"tabIndex":Fc(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Fc(e,r,o);break;case"style":Rv(e,o,c);break;case"data":if(t!=="object"){Fc(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||r!=="href")){console.error(r==="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.',r,r),e.removeAttribute(r);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}lt(o,r),o=Vl(""+o),e.setAttribute(r,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?r==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(l.encType==null&&l.method==null||Xd||(Xd=!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||$d||($d=!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"?r==="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"||Gd?t!=="button"||l.type==null||l.type==="submit"||Gd?typeof o=="function"&&(l.name==null||TT||(TT=!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||Xd||(Xd=!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||$d||($d=!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."))):(Gd=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Gd=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(r==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(r,"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 c=="function"&&(r==="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(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}lt(o,r),o=Vl(""+o),e.setAttribute(r,o);break;case"onClick":o!=null&&(typeof o!="function"&&xa(r,o),e.onclick=qa);break;case"onScroll":o!=null&&(typeof o!="function"&&xa(r,o),et("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&xa(r,o),et("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=o.__html,r!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}lt(o,r),r=Vl(""+o),e.setAttributeNS(Go,"xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(lt(o,r),e.setAttribute(r,""+o)):e.removeAttribute(r);break;case"inert":o!==""||Qd[r]||(Qd[r]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",r));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":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":o===!0?e.setAttribute(r,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(lt(o,r),e.setAttribute(r,o)):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(lt(o,r),e.setAttribute(r,o)):e.removeAttribute(r);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(r):(lt(o,r),e.setAttribute(r,o));break;case"popover":et("beforetoggle",e),et("toggle",e),cs(e,"popover",o);break;case"xlinkActuate":Pa(e,Go,"xlink:actuate",o);break;case"xlinkArcrole":Pa(e,Go,"xlink:arcrole",o);break;case"xlinkRole":Pa(e,Go,"xlink:role",o);break;case"xlinkShow":Pa(e,Go,"xlink:show",o);break;case"xlinkTitle":Pa(e,Go,"xlink:title",o);break;case"xlinkType":Pa(e,Go,"xlink:type",o);break;case"xmlBase":Pa(e,Dg,"xml:base",o);break;case"xmlLang":Pa(e,Dg,"xml:lang",o);break;case"xmlSpace":Pa(e,Dg,"xml:space",o);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),cs(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":kT||o==null||typeof o!="object"||(kT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N"?(r=zv(r),cs(e,r,o)):Ao.hasOwnProperty(r)&&o!=null&&typeof o!="function"&&xa(r,o)}}function Ip(e,t,r,o,l,c){switch(r){case"style":Rv(e,o,c);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(r=o.__html,r!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=r}}break;case"children":typeof o=="string"?Ul(e,o):(typeof o=="number"||typeof o=="bigint")&&Ul(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&xa(r,o),et("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&xa(r,o),et("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&xa(r,o),e.onclick=qa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ao.hasOwnProperty(r))o!=null&&typeof o!="function"&&xa(r,o);else e:{if(r[0]==="o"&&r[1]==="n"&&(l=r.endsWith("Capture"),t=r.slice(2,l?r.length-7:void 0),c=e[zn]||null,c=c!=null?c[r]:null,typeof c=="function"&&e.removeEventListener(t,c,l),typeof o=="function")){typeof c!="function"&&c!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,o,l);break e}r in e?e[r]=o:o===!0?e.setAttribute(r,""):cs(e,r,o)}}}function hn(e,t,r){switch(qp(t,r),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":et("error",e),et("load",e);var o=!1,l=!1,c;for(c in r)if(r.hasOwnProperty(c)){var m=r[c];if(m!=null)switch(c){case"src":o=!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,c,m,r,null)}}l&&mt(e,t,"srcSet",r.srcSet,r,null),o&&mt(e,t,"src",r.src,r,null);return;case"input":An("input",r),et("invalid",e);var g=c=m=l=null,w=null,E=null;for(o in r)if(r.hasOwnProperty(o)){var B=r[o];if(B!=null)switch(o){case"name":l=B;break;case"type":m=B;break;case"checked":w=B;break;case"defaultChecked":E=B;break;case"value":c=B;break;case"defaultValue":g=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,o,B,r,null)}}mv(e,r),pv(e,c,g,w,E,m,l,!1);return;case"select":An("select",r),et("invalid",e),o=m=c=null;for(l in r)if(r.hasOwnProperty(l)&&(g=r[l],g!=null))switch(l){case"value":c=g;break;case"defaultValue":m=g;break;case"multiple":o=g;default:mt(e,t,l,g,r,null)}bv(e,r),t=c,r=m,e.multiple=!!o,t!=null?fs(e,!!o,t,!1):r!=null&&fs(e,!!o,r,!0);return;case"textarea":An("textarea",r),et("invalid",e),c=l=o=null;for(m in r)if(r.hasOwnProperty(m)&&(g=r[m],g!=null))switch(m){case"value":o=g;break;case"defaultValue":l=g;break;case"children":c=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:mt(e,t,m,g,r,null)}vv(e,r),Sv(e,o,l,c);return;case"option":yv(e,r);for(w in r)r.hasOwnProperty(w)&&(o=r[w],o!=null)&&(w==="selected"?e.selected=o&&typeof o!="function"&&typeof o!="symbol":mt(e,t,w,o,r,null));return;case"dialog":et("beforetoggle",e),et("toggle",e),et("cancel",e),et("close",e);break;case"iframe":case"object":et("load",e);break;case"video":case"audio":for(o=0;o<ec.length;o++)et(ec[o],e);break;case"image":et("error",e),et("load",e);break;case"details":et("toggle",e);break;case"embed":case"source":case"link":et("error",e),et("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(E in r)if(r.hasOwnProperty(E)&&(o=r[E],o!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(e,t,E,o,r,null)}return;default:if(jl(t)){for(B in r)r.hasOwnProperty(B)&&(o=r[B],o!==void 0&&Ip(e,t,B,o,r,void 0));return}}for(g in r)r.hasOwnProperty(g)&&(o=r[g],o!=null&&mt(e,t,g,o,r,null))}function jz(e,t,r,o){switch(qp(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,c=null,m=null,g=null,w=null,E=null,B=null;for($ in r){var H=r[$];if(r.hasOwnProperty($)&&H!=null)switch($){case"checked":break;case"value":break;case"defaultValue":w=H;default:o.hasOwnProperty($)||mt(e,t,$,null,o,H)}}for(var M in o){var $=o[M];if(H=r[M],o.hasOwnProperty(M)&&($!=null||H!=null))switch(M){case"type":c=$;break;case"name":l=$;break;case"checked":E=$;break;case"defaultChecked":B=$;break;case"value":m=$;break;case"defaultValue":g=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$!==H&&mt(e,t,M,$,o,H)}}t=r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||ET||(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"),ET=!0),!t||o||wT||(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"),wT=!0),tm(e,m,g,w,E,B,c,l);return;case"select":$=m=g=M=null;for(c in r)if(w=r[c],r.hasOwnProperty(c)&&w!=null)switch(c){case"value":break;case"multiple":$=w;default:o.hasOwnProperty(c)||mt(e,t,c,null,o,w)}for(l in o)if(c=o[l],w=r[l],o.hasOwnProperty(l)&&(c!=null||w!=null))switch(l){case"value":M=c;break;case"defaultValue":g=c;break;case"multiple":m=c;default:c!==w&&mt(e,t,l,c,o,w)}o=g,t=m,r=$,M!=null?fs(e,!!t,M,!1):!!r!=!!t&&(o!=null?fs(e,!!t,o,!0):fs(e,!!t,t?[]:"",!1));return;case"textarea":$=M=null;for(g in r)if(l=r[g],r.hasOwnProperty(g)&&l!=null&&!o.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:mt(e,t,g,null,o,l)}for(m in o)if(l=o[m],c=r[m],o.hasOwnProperty(m)&&(l!=null||c!=null))switch(m){case"value":M=l;break;case"defaultValue":$=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==c&&mt(e,t,m,l,o,c)}xv(e,M,$);return;case"option":for(var ve in r)M=r[ve],r.hasOwnProperty(ve)&&M!=null&&!o.hasOwnProperty(ve)&&(ve==="selected"?e.selected=!1:mt(e,t,ve,null,o,M));for(w in o)M=o[w],$=r[w],o.hasOwnProperty(w)&&M!==$&&(M!=null||$!=null)&&(w==="selected"?e.selected=M&&typeof M!="function"&&typeof M!="symbol":mt(e,t,w,M,o,$));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 Ee in r)M=r[Ee],r.hasOwnProperty(Ee)&&M!=null&&!o.hasOwnProperty(Ee)&&mt(e,t,Ee,null,o,M);for(E in o)if(M=o[E],$=r[E],o.hasOwnProperty(E)&&M!==$&&(M!=null||$!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:mt(e,t,E,M,o,$)}return;default:if(jl(t)){for(var bt in r)M=r[bt],r.hasOwnProperty(bt)&&M!==void 0&&!o.hasOwnProperty(bt)&&Ip(e,t,bt,void 0,o,M);for(B in o)M=o[B],$=r[B],!o.hasOwnProperty(B)||M===$||M===void 0&&$===void 0||Ip(e,t,B,M,o,$);return}}for(var nt in r)M=r[nt],r.hasOwnProperty(nt)&&M!=null&&!o.hasOwnProperty(nt)&&mt(e,t,nt,null,o,M);for(H in o)M=o[H],$=r[H],!o.hasOwnProperty(H)||M===$||M==null&&$==null||mt(e,t,H,M,o,$)}function DS(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Fp(e){var t={};e=e.style;for(var r=0;r<e.length;r++){var o=e[r];t[o]=e.getPropertyValue(o)}return t}function NS(e,t,r){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 o,l=o="",c;for(c in t)if(t.hasOwnProperty(c)){var m=t[c];m!=null&&typeof m!="boolean"&&m!==""&&(c.indexOf("--")===0?(Wt(m,c),o+=l+c+":"+(""+m).trim()):typeof m!="number"||m===0||Vw.has(c)?(Wt(m,c),o+=l+c.replace(Ow,"-$1").toLowerCase().replace(Mw,"-ms-")+":"+(""+m).trim()):o+=l+c.replace(Ow,"-$1").toLowerCase().replace(Mw,"-ms-")+":"+m+"px",l=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=Ai(o),Ai(t)!==o&&(r.style=Fp(e)))}}function xr(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(lt(o,t),e===""+o)return}on(t,e,o,c)}function AS(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}on(t,e,o,c)}function Yp(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(lt(o,r),e===""+o)return}on(t,e,o,c)}function CS(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(lt(o,t),e===""+o))return}on(t,e,o,c)}function Gp(e,t,r,o,l,c){if(l.delete(r),e=e.getAttribute(r),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(lt(o,t),r=Vl(""+o),e===r)return}on(t,e,o,c)}function RS(e,t,r,o){for(var l={},c=new Set,m=e.attributes,g=0;g<m.length;g++)switch(m[g].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:c.add(m[g].name)}if(jl(t)){for(var w in r)if(r.hasOwnProperty(w)){var E=r[w];if(E!=null){if(Ao.hasOwnProperty(w))typeof E!="function"&&xa(w,E);else if(r.suppressHydrationWarning!==!0)switch(w){case"children":typeof E!="string"&&typeof E!="number"||on("children",e.textContent,E,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=TS(e,E),on(w,m,E,l));continue;case"style":c.delete(w),NS(e,E,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(w.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",w);continue;case"className":c.delete("class"),m=Ic(e,"class",E),on("className",m,E,l);continue;default:o.context===fi&&t!=="svg"&&t!=="math"?c.delete(w.toLowerCase()):c.delete(w),m=Ic(e,w,E),on(w,m,E,l)}}}}else for(E in r)if(r.hasOwnProperty(E)&&(w=r[E],w!=null)){if(Ao.hasOwnProperty(E))typeof w!="function"&&xa(E,w);else if(r.suppressHydrationWarning!==!0)switch(E){case"children":typeof w!="string"&&typeof w!="number"||on("children",e.textContent,w,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":m=e.innerHTML,w=w?w.__html:void 0,w!=null&&(w=TS(e,w),m!==w&&(l[E]={__html:m}));continue;case"className":xr(e,E,"class",w,c,l);continue;case"tabIndex":xr(e,E,"tabindex",w,c,l);continue;case"style":c.delete(E),NS(e,w,l);continue;case"multiple":c.delete(E),on(E,e.multiple,w,l);continue;case"muted":c.delete(E),on(E,e.muted,w,l);continue;case"autoFocus":c.delete("autofocus"),on(E,e.autofocus,w,l);continue;case"data":if(t!=="object"){c.delete(E),m=e.getAttribute("data"),on(E,m,w,l);continue}case"src":case"href":if(!(w!==""||t==="a"&&E==="href"||t==="object"&&E==="data")){console.error(E==="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.',E,E);continue}Gp(e,E,E,w,c,l);continue;case"action":case"formAction":if(m=e.getAttribute(E),typeof w=="function"){c.delete(E.toLowerCase()),E==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(m===JM){c.delete(E.toLowerCase()),on(E,"function",w,l);continue}Gp(e,E,E.toLowerCase(),w,c,l);continue;case"xlinkHref":Gp(e,E,"xlink:href",w,c,l);continue;case"contentEditable":Yp(e,E,"contenteditable",w,c,l);continue;case"spellCheck":Yp(e,E,"spellcheck",w,c,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Yp(e,E,E,w,c,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":AS(e,E,E.toLowerCase(),w,c,l);continue;case"capture":case"download":e:{g=e;var B=m=E,H=l;if(c.delete(B),g=g.getAttribute(B),g===null)switch(typeof w){case"undefined":case"function":case"symbol":break e;default:if(w===!1)break e}else if(w!=null)switch(typeof w){case"function":case"symbol":break;case"boolean":if(w===!0&&g==="")break e;break;default:if(lt(w,m),g===""+w)break e}on(m,g,w,H)}continue;case"cols":case"rows":case"size":case"span":e:{if(g=e,B=m=E,H=l,c.delete(B),g=g.getAttribute(B),g===null)switch(typeof w){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(w)||1>w)break e}else if(w!=null)switch(typeof w){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(w)||1>w)&&(lt(w,m),g===""+w))break e}on(m,g,w,H)}continue;case"rowSpan":CS(e,E,"rowspan",w,c,l);continue;case"start":CS(e,E,E,w,c,l);continue;case"xHeight":xr(e,E,"x-height",w,c,l);continue;case"xlinkActuate":xr(e,E,"xlink:actuate",w,c,l);continue;case"xlinkArcrole":xr(e,E,"xlink:arcrole",w,c,l);continue;case"xlinkRole":xr(e,E,"xlink:role",w,c,l);continue;case"xlinkShow":xr(e,E,"xlink:show",w,c,l);continue;case"xlinkTitle":xr(e,E,"xlink:title",w,c,l);continue;case"xlinkType":xr(e,E,"xlink:type",w,c,l);continue;case"xmlBase":xr(e,E,"xml:base",w,c,l);continue;case"xmlLang":xr(e,E,"xml:lang",w,c,l);continue;case"xmlSpace":xr(e,E,"xml:space",w,c,l);continue;case"inert":w!==""||Qd[E]||(Qd[E]=!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.",E)),AS(e,E,E,w,c,l);continue;default:if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){g=zv(E),m=!1,o.context===fi&&t!=="svg"&&t!=="math"?c.delete(g.toLowerCase()):(B=E.toLowerCase(),B=sd.hasOwnProperty(B)&&sd[B]||null,B!==null&&B!==E&&(m=!0,c.delete(B)),c.delete(g));e:if(B=e,H=g,g=w,aa(H))if(B.hasAttribute(H))B=B.getAttribute(H),lt(g,H),g=B===""+g?g:B;else{switch(typeof g){case"function":case"symbol":break e;case"boolean":if(B=H.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")break e}g=g===void 0?void 0:null}else g=void 0;m||on(E,g,w,l)}}}return 0<c.size&&r.suppressHydrationWarning!==!0&&Uz(e,c,l),Object.keys(l).length===0?null:l}function Vz(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 zS(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Lz(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,r=performance.getEntriesByType("resource"),o=0;o<r.length;o++){var l=r[o],c=l.transferSize,m=l.initiatorType,g=l.duration;if(c&&g&&zS(m)){for(m=0,g=l.responseEnd,o+=1;o<r.length;o++){var w=r[o],E=w.startTime;if(E>g)break;var B=w.transferSize,H=w.initiatorType;B&&zS(H)&&(w=w.responseEnd,m+=B*(w<g?1:(g-E)/(w-E)))}if(--o,t+=8*(c+m)/(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 If(e){return e.nodeType===9?e:e.ownerDocument}function OS(e){switch(e){case _s:return cl;case od:return Jd;default:return fi}}function MS(e,t){if(e===fi)switch(t){case"svg":return cl;case"math":return Jd;default:return fi}return e===cl&&t==="foreignObject"?fi:e}function $p(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 Bz(){var e=window.event;return e&&e.type==="popstate"?e===Rg?!1:(Rg=e,!0):(Rg=null,!1)}function su(){var e=window.event;return e&&e!==rc?e.type:null}function lu(){var e=window.event;return e&&e!==rc?e.timeStamp:-1.1}function Hz(e){setTimeout(function(){throw e})}function Pz(e,t,r){switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&e.focus();break;case"img":r.src?e.src=r.src:r.srcSet&&(e.srcset=r.srcSet)}}function qz(){}function Iz(e,t,r,o){jz(e,t,r,o),e[zn]=o}function _S(e){Ul(e,"")}function Fz(e,t,r){e.nodeValue=r}function US(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[zn]||null;if(t!==null){var r=be(e);r!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,we(r,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,we(r,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 Ci(e){return e==="head"}function Yz(e,t){e.removeChild(t)}function Gz(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function jS(e,t){var r=t,o=0;do{var l=r.nextSibling;if(e.removeChild(r),l&&l.nodeType===8)if(r=l.data,r===nc||r===Zd){if(o===0){e.removeChild(l),As(t);return}o--}else if(r===tc||r===Ki||r===Xo||r===ul||r===$o)o++;else if(r===WM)uu(e.ownerDocument.documentElement);else if(r===t_){r=e.ownerDocument.head,uu(r);for(var c=r.firstChild;c;){var m=c.nextSibling,g=c.nodeName;c[yu]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||r.removeChild(c),c=m}}else r===e_&&uu(e.ownerDocument.body);r=l}while(r);As(t)}function VS(e,t){var r=e;e=0;do{var o=r.nextSibling;if(r.nodeType===1?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),o&&o.nodeType===8)if(r=o.data,r===nc){if(e===0)break;e--}else r!==tc&&r!==Ki&&r!==Xo&&r!==ul||e++;r=o}while(r)}function $z(e){VS(e,!0)}function Xz(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Qz(e){e.nodeValue=""}function Zz(e){VS(e,!1)}function Jz(e,t){t=t[n_],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Kz(e,t){e.nodeValue=t}function Xp(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Xp(r),q(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function Wz(e,t,r,o){for(;e.nodeType===1;){var l=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[yu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==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(c=e.getAttribute("src"),(c!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){lt(l.name,"name");var c=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=or(e.nextSibling),e===null)break}return null}function eO(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=or(e.nextSibling),e===null))return null;return e}function LS(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=or(e.nextSibling),e===null))return null;return e}function Qp(e){return e.data===Ki||e.data===Xo}function Zp(e){return e.data===ul||e.data===Ki&&e.ownerDocument.readyState!==NT}function tO(e,t){var r=e.ownerDocument;if(e.data===Xo)e._reactRetry=t;else if(e.data!==Ki||r.readyState!==NT)t();else{var o=function(){t(),r.removeEventListener("DOMContentLoaded",o)};r.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function or(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===tc||t===ul||t===Ki||t===Xo||t===$o||t===Ng||t===DT)break;if(t===nc||t===Zd)return null}}return e}function BS(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),r={},o=e.attributes,l=0;l<o.length;l++){var c=o[l];r[DS(c.name)]=c.name.toLowerCase()==="style"?Fp(e):c.value}return{type:t,props:r}}return e.nodeType===8?e.data===$o?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function HS(e,t,r){return r===null||r[KM]!==!0?(e.nodeValue===t?e=null:(t=Ai(t),e=Ai(e.nodeValue)===t?null:e.nodeValue),e):null}function Jp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===nc||r===Zd){if(t===0)return or(e.nextSibling);t--}else r!==tc&&r!==ul&&r!==Ki&&r!==Xo&&r!==$o||t++}e=e.nextSibling}return null}function PS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===tc||r===ul||r===Ki||r===Xo||r===$o){if(t===0)return e;t--}else r!==nc&&r!==Zd||t++}e=e.previousSibling}return null}function nO(e){As(e)}function rO(e){As(e)}function aO(e){As(e)}function qS(e,t,r,o,l){switch(l&&sm(e,o.ancestorInfo),t=If(r),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 iO(e,t,r,o){if(!r[Mi]&&be(r)){var l=r.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=r.attributes;l.length;)r.removeAttributeNode(l[0]);hn(r,e,t),r[mn]=o,r[zn]=t}function uu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);q(e)}function Ff(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function IS(e,t,r){var o=fl;if(o&&typeof t=="string"&&t){var l=vr(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof r=="string"&&(l+='[crossorigin="'+r+'"]'),MT.has(l)||(MT.add(l),e={rel:e,crossOrigin:r,href:t},o.querySelector(l)===null&&(t=o.createElement("link"),hn(t,"link",e),Oe(t),o.head.appendChild(t)))}}function FS(e,t,r,o){var l=(l=zi.current)?Ff(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 r.precedence=="string"&&typeof r.href=="string"?(r=Ds(r.href),t=Pe(l).hoistableStyles,o=t.get(r),o||(o={type:"style",instance:null,count:0,state:null},t.set(r,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=Ds(r.href);var c=Pe(l).hoistableStyles,m=c.get(e);if(!m&&(l=l.ownerDocument||l,m={type:"stylesheet",instance:null,count:0,state:{loading:Zo,preload:null}},c.set(e,m),(c=l.querySelector(cu(e)))&&!c._p&&(m.instance=c,m.state.loading=ac|Or),!Mr.has(e))){var g={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy};Mr.set(e,g),c||oO(l,e,g,m.state)}if(t&&o===null)throw r=`
|
|
182
|
+
|
|
183
|
+
- `+Yf(t)+`
|
|
184
|
+
+ `+Yf(r),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."+r);return m}if(t&&o!==null)throw r=`
|
|
185
|
+
|
|
186
|
+
- `+Yf(t)+`
|
|
187
|
+
+ `+Yf(r),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."+r);return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(r=Ns(r),t=Pe(l).hoistableScripts,o=t.get(r),o||(o={type:"script",instance:null,count:0,state:null},t.set(r,o)),o):{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 Yf(e){var t=0,r="<link";return typeof e.rel=="string"?(t++,r+=' rel="'+e.rel+'"'):Gr.call(e,"rel")&&(t++,r+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,r+=' href="'+e.href+'"'):Gr.call(e,"href")&&(t++,r+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,r+=' precedence="'+e.precedence+'"'):Gr.call(e,"precedence")&&(t++,r+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(r+=" ..."),r+" />"}function Ds(e){return'href="'+vr(e)+'"'}function cu(e){return'link[rel="stylesheet"]['+e+"]"}function YS(e){return Je({},e,{"data-precedence":e.precedence,precedence:null})}function oO(e,t,r,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=ac:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=ac}),t.addEventListener("error",function(){return o.loading|=zT}),hn(t,"link",r),Oe(t),e.head.appendChild(t))}function Ns(e){return'[src="'+vr(e)+'"]'}function fu(e){return"script[async]"+e}function GS(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+vr(r.href)+'"]');if(o)return t.instance=o,Oe(o),o;var l=Je({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),Oe(o),hn(o,"style",l),Gf(o,r.precedence,e),t.instance=o;case"stylesheet":l=Ds(r.href);var c=e.querySelector(cu(l));if(c)return t.state.loading|=Or,t.instance=c,Oe(c),c;o=YS(r),(l=Mr.get(l))&&Kp(o,l),c=(e.ownerDocument||e).createElement("link"),Oe(c);var m=c;return m._p=new Promise(function(g,w){m.onload=g,m.onerror=w}),hn(c,"link",o),t.state.loading|=Or,Gf(c,r.precedence,e),t.instance=c;case"script":return c=Ns(r.src),(l=e.querySelector(fu(c)))?(t.instance=l,Oe(l),l):(o=r,(l=Mr.get(c))&&(o=Je({},r),Wp(o,l)),e=e.ownerDocument||e,l=e.createElement("script"),Oe(l),hn(l,"link",o),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&Or)===Zo&&(o=t.instance,t.state.loading|=Or,Gf(o,r.precedence,e));return t.instance}function Gf(e,t,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=o.length?o[o.length-1]:null,c=l,m=0;m<o.length;m++){var g=o[m];if(g.dataset.precedence===t)c=g;else if(c!==l)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function Kp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Wp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function $S(e,t,r){if(Kd===null){var o=new Map,l=Kd=new Map;l.set(r,o)}else l=Kd,o=l.get(r),o||(o=new Map,l.set(r,o));if(o.has(e))return o;for(o.set(e,null),r=r.getElementsByTagName(e),l=0;l<r.length;l++){var c=r[l];if(!(c[yu]||c[mn]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==_s){var m=c.getAttribute(t)||"";m=e+m;var g=o.get(m);g?g.push(c):o.set(m,[c])}}return o}function XS(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function sO(e,t,r){var o=!r.ancestorInfo.containerTagInScope;if(r.context===cl||t.itemProp!=null)return!o||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===""){o&&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,c=t.disabled;r=[],t.onLoad&&r.push("`onLoad`"),l&&r.push("`onError`"),c!=null&&r.push("`disabled`"),l=Vz(r,"and"),l+=r.length===1?" prop":" props",c=r.length===1?"an "+l:"the "+l,r.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,c,l)}o&&(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"&&o&&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"){o&&(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":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function QS(e){return!(e.type==="stylesheet"&&(e.state.loading&OT)===Zo)}function lO(e,t,r,o){if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&Or)===Zo){if(r.instance===null){var l=Ds(o.href),c=t.querySelector(cu(l));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=$f.bind(e),t.then(e,e)),r.state.loading|=Or,r.instance=c,Oe(c);return}c=t.ownerDocument||t,o=YS(o),(l=Mr.get(l))&&Kp(o,l),c=c.createElement("link"),Oe(c);var m=c;m._p=new Promise(function(g,w){m.onload=g,m.onerror=w}),hn(c,"link",o),r.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&(r.state.loading&OT)===Zo&&(e.count++,r=$f.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}function uO(e,t){return e.stylesheets&&e.count===0&&Xf(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var o=setTimeout(function(){if(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},i_+t);0<e.imgBytes&&Og===0&&(Og=125*Lz()*s_);var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xf(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>Og?50:o_)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(l)}}:null}function $f(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Xf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Wd=new Map,t.forEach(cO,e),Wd=null,$f.call(e))}function cO(e,t){if(!(t.state.loading&Or)){var r=Wd.get(e);if(r)var o=r.get(Mg);else{r=new Map,Wd.set(e,r);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<l.length;c++){var m=l[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(r.set(m.dataset.precedence,m),o=m)}o&&r.set(Mg,o)}l=t.instance,m=l.getAttribute("data-precedence"),c=r.get(m)||o,c===o&&r.set(Mg,l),r.set(m,l),this.count++,o=$f.bind(this),l.addEventListener("load",o),l.addEventListener("error",o),c?c.parentNode.insertBefore(l,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=Or}}function fO(e,t,r,o,l,c,m,g,w){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Qo,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=te(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=te(0),this.hiddenUpdates=te(null),this.identifierPrefix=o,this.onUncaughtError=l,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,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=r?"hydrateRoot()":"createRoot()"}function ZS(e,t,r,o,l,c,m,g,w,E,B,H){return e=new fO(e,t,r,m,w,E,B,H,g),t=zM,c===!0&&(t|=xn|$r),t|=Ye,c=x(3,null,null,t),e.current=c,c.stateNode=e,t=Nm(),So(t),e.pooledCache=t,So(t),c.memoizedState={element:o,isDehydrated:r,cache:t},Om(c),e}function JS(e){return e?(e=Vi,e):Vi}function ey(e,t,r,o,l,c){if(vn&&typeof vn.onScheduleFiberRoot=="function")try{vn.onScheduleFiberRoot(Os,o,r)}catch(m){Ta||(Ta=!0,console.error("React instrumentation encountered an error: %o",m))}l=JS(l),o.context===null?o.context=l:o.pendingContext=l,Ea&&lr!==null&&!VT&&(VT=!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.`,F(lr)||"Unknown")),o=wi(t),o.payload={element:r},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),o.callback=c),r=Ei(e,o,t),r!==null&&(la(t,"root.render()",null),zt(r,e,t),Yl(r,e,t))}function KS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function ty(e,t){KS(e,t),(e=e.alternate)&&KS(e,t)}function WS(e){if(e.tag===13||e.tag===31){var t=bn(e,67108864);t!==null&&zt(t,e,67108864),ty(e,67108864)}}function ew(e){if(e.tag===13||e.tag===31){var t=ir(e);t=an(t);var r=bn(e,t);r!==null&&zt(r,e,t),ty(e,t)}}function dO(){return lr}function hO(e,t,r,o){var l=Z.T;Z.T=null;var c=ft.p;try{ft.p=Sr,ny(e,t,r,o)}finally{ft.p=c,Z.T=l}}function mO(e,t,r,o){var l=Z.T;Z.T=null;var c=ft.p;try{ft.p=Da,ny(e,t,r,o)}finally{ft.p=c,Z.T=l}}function ny(e,t,r,o){if(th){var l=ry(o);if(l===null)Pp(e,t,o,nh,r),nw(e,o);else if(pO(l,e,t,r,o))o.stopPropagation();else if(nw(e,o),t&4&&-1<u_.indexOf(e)){for(;l!==null;){var c=be(l);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=yr(c.pendingLanes);if(m!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;m;){var w=1<<31-Rn(m);g.entanglements[1]|=w,m&=~w}va(c),(st&(nn|dr))===cn&&(Ld=sn()+fT,iu(0))}}break;case 31:case 13:g=bn(c,2),g!==null&&zt(g,c,2),Es(),ty(c,2)}if(c=ry(o),c===null&&Pp(e,t,o,nh,r),c===l)break;l=c}l!==null&&o.stopPropagation()}else Pp(e,t,o,null,r)}}function ry(e){return e=lm(e),ay(e)}function ay(e){if(nh=null,e=de(e),e!==null){var t=_(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=X(t),e!==null)return e;e=null}else if(r===31){if(e=I(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return nh=e,null}function tw(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 Sr;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 Da;case"message":switch(kO()){case by:return Sr;case vy:return Da;case zs:case DO:return Ja;case xy:return ad;default:return Ja}default:return Ja}}function nw(e,t){switch(e){case"focusin":case"focusout":Wi=null;break;case"dragenter":case"dragleave":eo=null;break;case"mouseover":case"mouseout":to=null;break;case"pointerover":case"pointerout":oc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sc.delete(t.pointerId)}}function du(e,t,r,o,l,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:c,targetContainers:[l]},t!==null&&(t=be(t),t!==null&&WS(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function pO(e,t,r,o,l){switch(t){case"focusin":return Wi=du(Wi,e,t,r,o,l),!0;case"dragenter":return eo=du(eo,e,t,r,o,l),!0;case"mouseover":return to=du(to,e,t,r,o,l),!0;case"pointerover":var c=l.pointerId;return oc.set(c,du(oc.get(c)||null,e,t,r,o,l)),!0;case"gotpointercapture":return c=l.pointerId,sc.set(c,du(sc.get(c)||null,e,t,r,o,l)),!0}return!1}function rw(e){var t=de(e.target);if(t!==null){var r=_(t);if(r!==null){if(t=r.tag,t===13){if(t=X(r),t!==null){e.blockedOn=t,T(e.priority,function(){ew(r)});return}}else if(t===31){if(t=I(r),t!==null){e.blockedOn=t,T(e.priority,function(){ew(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Qf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=ry(e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r),l=o;gu!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),gu=l,r.target.dispatchEvent(o),gu===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."),gu=null}else return t=be(r),t!==null&&WS(t),e.blockedOn=r,!1;t.shift()}return!0}function aw(e,t,r){Qf(e)&&r.delete(t)}function yO(){_g=!1,Wi!==null&&Qf(Wi)&&(Wi=null),eo!==null&&Qf(eo)&&(eo=null),to!==null&&Qf(to)&&(to=null),oc.forEach(aw),sc.forEach(aw)}function Zf(e,t){e.blockedOn===t&&(e.blockedOn=null,_g||(_g=!0,It.unstable_scheduleCallback(It.unstable_NormalPriority,yO)))}function iw(e){rh!==e&&(rh=e,It.unstable_scheduleCallback(It.unstable_NormalPriority,function(){rh===e&&(rh=null);for(var t=0;t<e.length;t+=3){var r=e[t],o=e[t+1],l=e[t+2];if(typeof o!="function"){if(ay(o||r)===null)continue;break}var c=be(r);c!==null&&(e.splice(t,3),t-=3,r={pending:!0,data:l,method:r.method,action:o},Object.freeze(r),ap(c,r,o,l))}}))}function As(e){function t(w){return Zf(w,e)}Wi!==null&&Zf(Wi,e),eo!==null&&Zf(eo,e),to!==null&&Zf(to,e),oc.forEach(t),sc.forEach(t);for(var r=0;r<no.length;r++){var o=no[r];o.blockedOn===e&&(o.blockedOn=null)}for(;0<no.length&&(r=no[0],r.blockedOn===null);)rw(r),r.blockedOn===null&&no.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(o=0;o<r.length;o+=3){var l=r[o],c=r[o+1],m=l[zn]||null;if(typeof c=="function")m||iw(r);else if(m){var g=null;if(c&&c.hasAttribute("formAction")){if(l=c,m=c[zn]||null)g=m.formAction;else if(ay(l)!==null)continue}else g=m.action;typeof g=="function"?r[o+1]=g:(r.splice(o,3),o-=3),iw(r)}}}function ow(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return l=m})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),o||setTimeout(r,20)}function r(){if(!o&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){o=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function iy(e){this._internalRoot=e}function Jf(e){this._internalRoot=e}function sw(e){e[Mi]&&(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 It=p_(),oy=zc(),gO=g_(),Je=Object.assign,bO=Symbol.for("react.element"),Sa=Symbol.for("react.transitional.element"),Cs=Symbol.for("react.portal"),Rs=Symbol.for("react.fragment"),Kf=Symbol.for("react.strict_mode"),sy=Symbol.for("react.profiler"),ly=Symbol.for("react.consumer"),wa=Symbol.for("react.context"),hu=Symbol.for("react.forward_ref"),uy=Symbol.for("react.suspense"),cy=Symbol.for("react.suspense_list"),Wf=Symbol.for("react.memo"),sr=Symbol.for("react.lazy"),fy=Symbol.for("react.activity"),vO=Symbol.for("react.memo_cache_sentinel"),lw=Symbol.iterator,xO=Symbol.for("react.client.reference"),en=Array.isArray,Z=oy.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ft=gO.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,SO=Object.freeze({pending:!1,data:null,method:null,action:null}),dy=[],hy=[],Za=-1,Ri=he(null),mu=he(null),zi=he(null),ed=he(null),pu=0,uw,cw,fw,dw,hw,mw,pw;z.__reactDisabledLog=!0;var my,yw,py=!1,yy=new(typeof WeakMap=="function"?WeakMap:Map),lr=null,Ea=!1,Gr=Object.prototype.hasOwnProperty,gy=It.unstable_scheduleCallback,wO=It.unstable_cancelCallback,EO=It.unstable_shouldYield,TO=It.unstable_requestPaint,sn=It.unstable_now,kO=It.unstable_getCurrentPriorityLevel,by=It.unstable_ImmediatePriority,vy=It.unstable_UserBlockingPriority,zs=It.unstable_NormalPriority,DO=It.unstable_LowPriority,xy=It.unstable_IdlePriority,NO=It.log,AO=It.unstable_setDisableYieldValue,Os=null,vn=null,Ta=!1,ka=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Rn=Math.clz32?Math.clz32:gi,CO=Math.log,RO=Math.LN2,td=256,nd=262144,rd=4194304,Sr=2,Da=8,Ja=32,ad=268435456,Oi=Math.random().toString(36).slice(2),mn="__reactFiber$"+Oi,zn="__reactProps$"+Oi,Mi="__reactContainer$"+Oi,Sy="__reactEvents$"+Oi,zO="__reactListeners$"+Oi,OO="__reactHandles$"+Oi,gw="__reactResources$"+Oi,yu="__reactMarker$"+Oi,bw=new Set,Ao={},wy={},MO={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},_O=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]*$"),vw={},xw={},UO=/[\n"\\]/g,Sw=!1,ww=!1,Ew=!1,Tw=!1,kw=!1,Dw=!1,Nw=["value","defaultValue"],Aw=!1,Cw=/["'&<>\n\t]|^\s|\s$/,jO="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(" "),Rw="applet caption html table td th marquee object template foreignObject desc title".split(" "),VO=Rw.concat(["button"]),LO="dd dt li option optgroup p rp rt".split(" "),zw={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},id={},Ey={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"]},Ow=/([A-Z])/g,Mw=/^ms-/,BO=/^(?:webkit|moz|o)[A-Z]/,HO=/^-ms-/,PO=/-(.)/g,_w=/;\s*$/,Ms={},Ty={},Uw=!1,jw=!1,Vw=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(" ")),od="http://www.w3.org/1998/Math/MathML",_s="http://www.w3.org/2000/svg",qO=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"]]),sd={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"},Lw={"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},Us={},IO=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]*$"),FO=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]*$"),Bw=!1,On={},Hw=/^on./,YO=/^on[^A-Z]/,GO=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]*$"),$O=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]*$"),XO=/^[\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,gu=null,js=null,Vs=null,ky=!1,Na=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Dy=!1;if(Na)try{var bu={};Object.defineProperty(bu,"passive",{get:function(){Dy=!0}}),window.addEventListener("test",bu,bu),window.removeEventListener("test",bu,bu)}catch{Dy=!1}var _i=null,Ny=null,ld=null,Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ud=Hn(Co),vu=Je({},Co,{view:0,detail:0}),QO=Hn(vu),Ay,Cy,xu,cd=Je({},vu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:um,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!==xu&&(xu&&e.type==="mousemove"?(Ay=e.screenX-xu.screenX,Cy=e.screenY-xu.screenY):Cy=Ay=0,xu=e),Ay)},movementY:function(e){return"movementY"in e?e.movementY:Cy}}),Pw=Hn(cd),ZO=Je({},cd,{dataTransfer:0}),JO=Hn(ZO),KO=Je({},vu,{relatedTarget:0}),Ry=Hn(KO),WO=Je({},Co,{animationName:0,elapsedTime:0,pseudoElement:0}),eM=Hn(WO),tM=Je({},Co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),nM=Hn(tM),rM=Je({},Co,{data:0}),qw=Hn(rM),aM=qw,iM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oM={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"},sM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},lM=Je({},vu,{key:function(e){if(e.key){var t=iM[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?oM[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:um,charCode:function(e){return e.type==="keypress"?Xc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),uM=Hn(lM),cM=Je({},cd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Iw=Hn(cM),fM=Je({},vu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:um}),dM=Hn(fM),hM=Je({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0}),mM=Hn(hM),pM=Je({},cd,{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}),yM=Hn(pM),gM=Je({},Co,{newState:0,oldState:0}),bM=Hn(gM),vM=[9,13,27,32],Fw=229,zy=Na&&"CompositionEvent"in window,Su=null;Na&&"documentMode"in document&&(Su=document.documentMode);var xM=Na&&"TextEvent"in window&&!Su,Yw=Na&&(!zy||Su&&8<Su&&11>=Su),Gw=32,$w=String.fromCharCode(Gw),Xw=!1,Ls=!1,SM={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},wu=null,Eu=null,Qw=!1;Na&&(Qw=PR("input")&&(!document.documentMode||9<document.documentMode));var Mn=typeof Object.is=="function"?Object.is:$R,wM=Na&&"documentMode"in document&&11>=document.documentMode,Bs=null,Oy=null,Tu=null,My=!1,Hs={animationend:mo("Animation","AnimationEnd"),animationiteration:mo("Animation","AnimationIteration"),animationstart:mo("Animation","AnimationStart"),transitionrun:mo("Transition","TransitionRun"),transitionstart:mo("Transition","TransitionStart"),transitioncancel:mo("Transition","TransitionCancel"),transitionend:mo("Transition","TransitionEnd")},_y={},Zw={};Na&&(Zw=document.createElement("div").style,"AnimationEvent"in window||(delete Hs.animationend.animation,delete Hs.animationiteration.animation,delete Hs.animationstart.animation),"TransitionEvent"in window||delete Hs.transitionend.transition);var Jw=po("animationend"),Kw=po("animationiteration"),Ww=po("animationstart"),EM=po("transitionrun"),TM=po("transitionstart"),kM=po("transitioncancel"),eE=po("transitionend"),tE=new Map,Uy="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(" ");Uy.push("scrollEnd");var nE=0;if(typeof performance=="object"&&typeof performance.now=="function")var DM=performance,rE=function(){return DM.now()};else{var NM=Date;rE=function(){return NM.now()}}var jy=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)},AM="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.",fd=0,Vy=1,Ly=2,By=3,dd="– ",hd="+ ",aE=" ",xt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",wr="Components ⚛",tt="Scheduler ⚛",rt="Blocking",Ui=!1,Ka={color:"primary",properties:null,tooltipText:"",track:wr},ji={start:-0,end:-0,detail:{devtools:Ka}},CM=["Changed Props",""],iE="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",RM=["Changed Props",iE],ku=1,Wa=2,Er=[],Ps=0,Hy=0,Vi={};Object.freeze(Vi);var Tr=null,qs=null,Ve=0,zM=1,Ye=2,xn=8,$r=16,OM=32,oE=!1;try{var sE=Object.preventExtensions({})}catch{oE=!0}var Py=new WeakMap,Is=[],Fs=0,md=null,Du=0,kr=[],Dr=0,Ro=null,ei=1,ti="",pn=null,St=null,We=!1,Aa=!1,ur=null,Li=null,Nr=!1,qy=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."),Iy=he(null),Fy=he(null),lE={},pd=null,Ys=null,Gs=!1,MM=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},_M=It.unstable_scheduleCallback,UM=It.unstable_NormalPriority,Ft={$$typeof:wa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Yt=It.unstable_now,yd=console.createTask?console.createTask:function(){return null},Nu=1,gd=2,ln=-0,Bi=-0,ni=-0,ri=null,_n=-1.1,zo=-0,Ct=-0,_e=-1.1,Ue=-1.1,Nt=null,Ot=!1,Oo=-0,Ca=-1.1,Au=null,Hi=0,Yy=null,Gy=null,Mo=-1.1,Cu=null,$s=-1.1,bd=-1.1,ai=-0,ii=-1.1,Ar=-1.1,$y=0,Ru=null,uE=null,cE=null,Pi=-1.1,_o=null,qi=-1.1,vd=-1.1,fE=-0,dE=-0,xd=0,jM=null,hE=0,zu=-1.1,Sd=!1,wd=!1,Ou=null,Xy=0,Uo=0,Xs=null,mE=Z.S;Z.S=function(e,t){if(uT=sn(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>ii&&0>Ar){ii=Yt();var r=lu(),o=su();(r!==qi||o!==_o)&&(qi=-1.1),Pi=r,_o=o}ez(e,t)}mE!==null&&mE(e,t)};var jo=he(null),Xr={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Mu=[],_u=[],Uu=[],ju=[],Vu=[],Lu=[],Vo=new Set;Xr.recordUnsafeLifecycleWarnings=function(e,t){Vo.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Mu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillMount=="function"&&_u.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Uu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ju.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Vu.push(e),e.mode&xn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Lu.push(e))},Xr.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Mu.length&&(Mu.forEach(function(g){e.add(F(g)||"Component"),Vo.add(g.type)}),Mu=[]);var t=new Set;0<_u.length&&(_u.forEach(function(g){t.add(F(g)||"Component"),Vo.add(g.type)}),_u=[]);var r=new Set;0<Uu.length&&(Uu.forEach(function(g){r.add(F(g)||"Component"),Vo.add(g.type)}),Uu=[]);var o=new Set;0<ju.length&&(ju.forEach(function(g){o.add(F(g)||"Component"),Vo.add(g.type)}),ju=[]);var l=new Set;0<Vu.length&&(Vu.forEach(function(g){l.add(F(g)||"Component"),Vo.add(g.type)}),Vu=[]);var c=new Set;if(0<Lu.length&&(Lu.forEach(function(g){c.add(F(g)||"Component"),Vo.add(g.type)}),Lu=[]),0<t.size){var m=v(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`,m)}0<o.size&&(m=v(o),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`,m)),0<c.size&&(m=v(c),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`,m)),0<e.size&&(m=v(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`,m)),0<r.size&&(m=v(r),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`,m)),0<l.size&&(m=v(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`,m))};var Ed=new Map,pE=new Set;Xr.recordLegacyContextWarning=function(e,t){for(var r=null,o=e;o!==null;)o.mode&xn&&(r=o),o=o.return;r===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."):!pE.has(e.type)&&(o=Ed.get(r),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],Ed.set(r,o)),o.push(e))},Xr.flushLegacyContextWarning=function(){Ed.forEach(function(e){if(e.length!==0){var t=e[0],r=new Set;e.forEach(function(l){r.add(F(l)||"Component"),pE.add(l.type)});var o=v(r);we(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`,o)})}})},Xr.discardPendingWarnings=function(){Mu=[],_u=[],Uu=[],ju=[],Vu=[],Lu=[],Ed=new Map};var yE={react_stack_bottom_frame:function(e,t,r){var o=Ea;Ea=!0;try{return e(t,r)}finally{Ea=o}}},Qy=yE.react_stack_bottom_frame.bind(yE),gE={react_stack_bottom_frame:function(e){var t=Ea;Ea=!0;try{return e.render()}finally{Ea=t}}},bE=gE.react_stack_bottom_frame.bind(gE),vE={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(r){ct(e,e.return,r)}}},Zy=vE.react_stack_bottom_frame.bind(vE),xE={react_stack_bottom_frame:function(e,t,r,o,l){try{t.componentDidUpdate(r,o,l)}catch(c){ct(e,e.return,c)}}},SE=xE.react_stack_bottom_frame.bind(xE),wE={react_stack_bottom_frame:function(e,t){var r=t.stack;e.componentDidCatch(t.value,{componentStack:r!==null?r:""})}},VM=wE.react_stack_bottom_frame.bind(wE),EE={react_stack_bottom_frame:function(e,t,r){try{r.componentWillUnmount()}catch(o){ct(e,t,o)}}},TE=EE.react_stack_bottom_frame.bind(EE),kE={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},LM=kE.react_stack_bottom_frame.bind(kE),DE={react_stack_bottom_frame:function(e,t,r){try{r()}catch(o){ct(e,t,o)}}},BM=DE.react_stack_bottom_frame.bind(DE),NE={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},HM=NE.react_stack_bottom_frame.bind(NE),Qs=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`."),Jy=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."),Td=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."),kd={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.')}},Lo=null,Bu=!1,Zs=null,Hu=0,Ge=null,Ky,AE=Ky=!1,CE={},RE={},zE={};p=function(e,t,r){if(r!==null&&typeof r=="object"&&r._store&&(!r._store.validated&&r.key==null||r._store.validated===2)){if(typeof r._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.");r._store.validated=1;var o=F(e),l=o||"null";if(!CE[l]){CE[l]=!0,r=r._owner,e=e._debugOwner;var c="";e&&typeof e.tag=="number"&&(l=F(e))&&(c=`
|
|
225
|
+
|
|
226
|
+
Check the render method of \``+l+"`."),c||o&&(c=`
|
|
227
|
+
|
|
228
|
+
Check the top-level render call using <`+o+">.");var m="";r!=null&&e!==r&&(o=null,typeof r.tag=="number"?o=F(r):typeof r.name=="string"&&(o=r.name),o&&(m=" It was passed a child from "+o+".")),we(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.',c,m)})}}};var Bo=Ex(!0),OE=Ex(!1),ME=0,_E=1,UE=2,Wy=3,Ii=!1,jE=!1,eg=null,tg=!1,Js=he(null),Dd=he(0),cr=he(null),Cr=null,Ks=1,Pu=2,Bt=he(0),Nd=0,Rr=1,Un=2,fr=4,jn=8,Ws,VE=new Set,LE=new Set,ng=new Set,BE=new Set,oi=0,Le=null,pt=null,Gt=null,Ad=!1,el=!1,Ho=!1,Cd=0,qu=0,si=null,PM=0,qM=25,Q=null,zr=null,li=-1,Iu=!1,Fu={readContext:Dt,use:Di,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt};Fu.useEffectEvent=jt;var rg=null,HE=null,ag=null,PE=null,Ra=null,Qr=null,Rd=null;rg={readContext:function(e){return Dt(e)},use:Di,useCallback:function(e,t){return Q="useCallback",Ze(),ys(t),ep(e,t)},useContext:function(e){return Q="useContext",Ze(),Dt(e)},useEffect:function(e,t){return Q="useEffect",Ze(),ys(t),Ef(e,t)},useImperativeHandle:function(e,t,r){return Q="useImperativeHandle",Ze(),ys(r),Wm(e,t,r)},useInsertionEffect:function(e,t){Q="useInsertionEffect",Ze(),ys(t),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",Ze(),ys(t),Km(e,t)},useMemo:function(e,t){Q="useMemo",Ze(),ys(t);var r=Z.H;Z.H=Ra;try{return tp(e,t)}finally{Z.H=r}},useReducer:function(e,t,r){Q="useReducer",Ze();var o=Z.H;Z.H=Ra;try{return Im(e,t,r)}finally{Z.H=o}},useRef:function(e){return Q="useRef",Ze(),Zm(e)},useState:function(e){Q="useState",Ze();var t=Z.H;Z.H=Ra;try{return $m(e)}finally{Z.H=t}},useDebugValue:function(){Q="useDebugValue",Ze()},useDeferredValue:function(e,t){return Q="useDeferredValue",Ze(),np(e,t)},useTransition:function(){return Q="useTransition",Ze(),ip()},useSyncExternalStore:function(e,t,r){return Q="useSyncExternalStore",Ze(),Ym(e,t,r)},useId:function(){return Q="useId",Ze(),op()},useFormState:function(e,t){return Q="useFormState",Ze(),bf(),bs(e,t)},useActionState:function(e,t){return Q="useActionState",Ze(),bs(e,t)},useOptimistic:function(e){return Q="useOptimistic",Ze(),Xm(e)},useHostTransitionStatus:To,useMemoCache:wo,useCacheRefresh:function(){return Q="useCacheRefresh",Ze(),sp()},useEffectEvent:function(e){return Q="useEffectEvent",Ze(),Jm(e)}},HE={readContext:function(e){return Dt(e)},use:Di,useCallback:function(e,t){return Q="useCallback",fe(),ep(e,t)},useContext:function(e){return Q="useContext",fe(),Dt(e)},useEffect:function(e,t){return Q="useEffect",fe(),Ef(e,t)},useImperativeHandle:function(e,t,r){return Q="useImperativeHandle",fe(),Wm(e,t,r)},useInsertionEffect:function(e,t){Q="useInsertionEffect",fe(),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",fe(),Km(e,t)},useMemo:function(e,t){Q="useMemo",fe();var r=Z.H;Z.H=Ra;try{return tp(e,t)}finally{Z.H=r}},useReducer:function(e,t,r){Q="useReducer",fe();var o=Z.H;Z.H=Ra;try{return Im(e,t,r)}finally{Z.H=o}},useRef:function(e){return Q="useRef",fe(),Zm(e)},useState:function(e){Q="useState",fe();var t=Z.H;Z.H=Ra;try{return $m(e)}finally{Z.H=t}},useDebugValue:function(){Q="useDebugValue",fe()},useDeferredValue:function(e,t){return Q="useDeferredValue",fe(),np(e,t)},useTransition:function(){return Q="useTransition",fe(),ip()},useSyncExternalStore:function(e,t,r){return Q="useSyncExternalStore",fe(),Ym(e,t,r)},useId:function(){return Q="useId",fe(),op()},useActionState:function(e,t){return Q="useActionState",fe(),bs(e,t)},useFormState:function(e,t){return Q="useFormState",fe(),bf(),bs(e,t)},useOptimistic:function(e){return Q="useOptimistic",fe(),Xm(e)},useHostTransitionStatus:To,useMemoCache:wo,useCacheRefresh:function(){return Q="useCacheRefresh",fe(),sp()},useEffectEvent:function(e){return Q="useEffectEvent",fe(),Jm(e)}},ag={readContext:function(e){return Dt(e)},use:Di,useCallback:function(e,t){return Q="useCallback",fe(),Df(e,t)},useContext:function(e){return Q="useContext",fe(),Dt(e)},useEffect:function(e,t){Q="useEffect",fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Q="useImperativeHandle",fe(),kf(e,t,r)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Q="useMemo",fe();var r=Z.H;Z.H=Qr;try{return Nf(e,t)}finally{Z.H=r}},useReducer:function(e,t,r){Q="useReducer",fe();var o=Z.H;Z.H=Qr;try{return gs(e,t,r)}finally{Z.H=o}},useRef:function(){return Q="useRef",fe(),dt().memoizedState},useState:function(){Q="useState",fe();var e=Z.H;Z.H=Qr;try{return gs(Fr)}finally{Z.H=e}},useDebugValue:function(){Q="useDebugValue",fe()},useDeferredValue:function(e,t){return Q="useDeferredValue",fe(),Yx(e,t)},useTransition:function(){return Q="useTransition",fe(),Jx()},useSyncExternalStore:function(e,t,r){return Q="useSyncExternalStore",fe(),xf(e,t,r)},useId:function(){return Q="useId",fe(),dt().memoizedState},useFormState:function(e){return Q="useFormState",fe(),bf(),Sf(e)},useActionState:function(e){return Q="useActionState",fe(),Sf(e)},useOptimistic:function(e,t){return Q="useOptimistic",fe(),Ux(e,t)},useHostTransitionStatus:To,useMemoCache:wo,useCacheRefresh:function(){return Q="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Q="useEffectEvent",fe(),Tf(e)}},PE={readContext:function(e){return Dt(e)},use:Di,useCallback:function(e,t){return Q="useCallback",fe(),Df(e,t)},useContext:function(e){return Q="useContext",fe(),Dt(e)},useEffect:function(e,t){Q="useEffect",fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Q="useImperativeHandle",fe(),kf(e,t,r)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Q="useMemo",fe();var r=Z.H;Z.H=Rd;try{return Nf(e,t)}finally{Z.H=r}},useReducer:function(e,t,r){Q="useReducer",fe();var o=Z.H;Z.H=Rd;try{return Ql(e,t,r)}finally{Z.H=o}},useRef:function(){return Q="useRef",fe(),dt().memoizedState},useState:function(){Q="useState",fe();var e=Z.H;Z.H=Rd;try{return Ql(Fr)}finally{Z.H=e}},useDebugValue:function(){Q="useDebugValue",fe()},useDeferredValue:function(e,t){return Q="useDeferredValue",fe(),Gx(e,t)},useTransition:function(){return Q="useTransition",fe(),Kx()},useSyncExternalStore:function(e,t,r){return Q="useSyncExternalStore",fe(),xf(e,t,r)},useId:function(){return Q="useId",fe(),dt().memoizedState},useFormState:function(e){return Q="useFormState",fe(),bf(),wf(e)},useActionState:function(e){return Q="useActionState",fe(),wf(e)},useOptimistic:function(e,t){return Q="useOptimistic",fe(),Vx(e,t)},useHostTransitionStatus:To,useMemoCache:wo,useCacheRefresh:function(){return Q="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Q="useEffectEvent",fe(),Tf(e)}},Ra={readContext:function(e){return b(),Dt(e)},use:function(e){return h(),Di(e)},useCallback:function(e,t){return Q="useCallback",h(),Ze(),ep(e,t)},useContext:function(e){return Q="useContext",h(),Ze(),Dt(e)},useEffect:function(e,t){return Q="useEffect",h(),Ze(),Ef(e,t)},useImperativeHandle:function(e,t,r){return Q="useImperativeHandle",h(),Ze(),Wm(e,t,r)},useInsertionEffect:function(e,t){Q="useInsertionEffect",h(),Ze(),Eo(4,Un,e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",h(),Ze(),Km(e,t)},useMemo:function(e,t){Q="useMemo",h(),Ze();var r=Z.H;Z.H=Ra;try{return tp(e,t)}finally{Z.H=r}},useReducer:function(e,t,r){Q="useReducer",h(),Ze();var o=Z.H;Z.H=Ra;try{return Im(e,t,r)}finally{Z.H=o}},useRef:function(e){return Q="useRef",h(),Ze(),Zm(e)},useState:function(e){Q="useState",h(),Ze();var t=Z.H;Z.H=Ra;try{return $m(e)}finally{Z.H=t}},useDebugValue:function(){Q="useDebugValue",h(),Ze()},useDeferredValue:function(e,t){return Q="useDeferredValue",h(),Ze(),np(e,t)},useTransition:function(){return Q="useTransition",h(),Ze(),ip()},useSyncExternalStore:function(e,t,r){return Q="useSyncExternalStore",h(),Ze(),Ym(e,t,r)},useId:function(){return Q="useId",h(),Ze(),op()},useFormState:function(e,t){return Q="useFormState",h(),Ze(),bs(e,t)},useActionState:function(e,t){return Q="useActionState",h(),Ze(),bs(e,t)},useOptimistic:function(e){return Q="useOptimistic",h(),Ze(),Xm(e)},useMemoCache:function(e){return h(),wo(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Q="useCacheRefresh",Ze(),sp()},useEffectEvent:function(e){return Q="useEffectEvent",h(),Ze(),Jm(e)}},Qr={readContext:function(e){return b(),Dt(e)},use:function(e){return h(),Di(e)},useCallback:function(e,t){return Q="useCallback",h(),fe(),Df(e,t)},useContext:function(e){return Q="useContext",h(),fe(),Dt(e)},useEffect:function(e,t){Q="useEffect",h(),fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Q="useImperativeHandle",h(),fe(),kf(e,t,r)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",h(),fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",h(),fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Q="useMemo",h(),fe();var r=Z.H;Z.H=Qr;try{return Nf(e,t)}finally{Z.H=r}},useReducer:function(e,t,r){Q="useReducer",h(),fe();var o=Z.H;Z.H=Qr;try{return gs(e,t,r)}finally{Z.H=o}},useRef:function(){return Q="useRef",h(),fe(),dt().memoizedState},useState:function(){Q="useState",h(),fe();var e=Z.H;Z.H=Qr;try{return gs(Fr)}finally{Z.H=e}},useDebugValue:function(){Q="useDebugValue",h(),fe()},useDeferredValue:function(e,t){return Q="useDeferredValue",h(),fe(),Yx(e,t)},useTransition:function(){return Q="useTransition",h(),fe(),Jx()},useSyncExternalStore:function(e,t,r){return Q="useSyncExternalStore",h(),fe(),xf(e,t,r)},useId:function(){return Q="useId",h(),fe(),dt().memoizedState},useFormState:function(e){return Q="useFormState",h(),fe(),Sf(e)},useActionState:function(e){return Q="useActionState",h(),fe(),Sf(e)},useOptimistic:function(e,t){return Q="useOptimistic",h(),fe(),Ux(e,t)},useMemoCache:function(e){return h(),wo(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Q="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Q="useEffectEvent",h(),fe(),Tf(e)}},Rd={readContext:function(e){return b(),Dt(e)},use:function(e){return h(),Di(e)},useCallback:function(e,t){return Q="useCallback",h(),fe(),Df(e,t)},useContext:function(e){return Q="useContext",h(),fe(),Dt(e)},useEffect:function(e,t){Q="useEffect",h(),fe(),Pn(2048,jn,e,t)},useImperativeHandle:function(e,t,r){return Q="useImperativeHandle",h(),fe(),kf(e,t,r)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",h(),fe(),Pn(4,Un,e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",h(),fe(),Pn(4,fr,e,t)},useMemo:function(e,t){Q="useMemo",h(),fe();var r=Z.H;Z.H=Qr;try{return Nf(e,t)}finally{Z.H=r}},useReducer:function(e,t,r){Q="useReducer",h(),fe();var o=Z.H;Z.H=Qr;try{return Ql(e,t,r)}finally{Z.H=o}},useRef:function(){return Q="useRef",h(),fe(),dt().memoizedState},useState:function(){Q="useState",h(),fe();var e=Z.H;Z.H=Qr;try{return Ql(Fr)}finally{Z.H=e}},useDebugValue:function(){Q="useDebugValue",h(),fe()},useDeferredValue:function(e,t){return Q="useDeferredValue",h(),fe(),Gx(e,t)},useTransition:function(){return Q="useTransition",h(),fe(),Kx()},useSyncExternalStore:function(e,t,r){return Q="useSyncExternalStore",h(),fe(),xf(e,t,r)},useId:function(){return Q="useId",h(),fe(),dt().memoizedState},useFormState:function(e){return Q="useFormState",h(),fe(),wf(e)},useActionState:function(e){return Q="useActionState",h(),fe(),wf(e)},useOptimistic:function(e,t){return Q="useOptimistic",h(),fe(),Vx(e,t)},useMemoCache:function(e){return h(),wo(e)},useHostTransitionStatus:To,useCacheRefresh:function(){return Q="useCacheRefresh",fe(),dt().memoizedState},useEffectEvent:function(e){return Q="useEffectEvent",h(),fe(),Tf(e)}};var qE={},IE=new Set,FE=new Set,YE=new Set,GE=new Set,$E=new Set,XE=new Set,QE=new Set,ZE=new Set,JE=new Set,KE=new Set;Object.freeze(qE);var ig={enqueueSetState:function(e,t,r){e=e._reactInternals;var o=ir(e),l=wi(o);l.payload=t,r!=null&&(up(r),l.callback=r),t=Ei(e,l,o),t!==null&&(la(o,"this.setState()",e),zt(t,e,o),Yl(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=ir(e),l=wi(o);l.tag=_E,l.payload=t,r!=null&&(up(r),l.callback=r),t=Ei(e,l,o),t!==null&&(la(o,"this.replaceState()",e),zt(t,e,o),Yl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ir(e),o=wi(r);o.tag=UE,t!=null&&(up(t),o.callback=t),t=Ei(e,o,r),t!==null&&(la(r,"this.forceUpdate()",e),zt(t,e,r),Yl(t,e,r))}},tl=null,og=null,sg=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."),$t=!1,WE={},eT={},tT={},nT={},nl=!1,rT={},zd={},lg={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},aT=!1,iT=null;iT=new Set;var ui=!1,Xt=!1,ug=!1,oT=typeof WeakSet=="function"?WeakSet:Set,un=null,rl=null,al=null,Qt=null,Fn=!1,Zr=null,tn=!1,Yu=8192,IM={getCacheForType:function(e){var t=Dt(Ft),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return Dt(Ft).controller.signal},getOwner:function(){return lr}};if(typeof Symbol=="function"&&Symbol.for){var Gu=Symbol.for;Gu("selector.component"),Gu("selector.has_pseudo_class"),Gu("selector.role"),Gu("selector.test_id"),Gu("selector.text")}var FM=[],YM=typeof WeakMap=="function"?WeakMap:Map,cn=0,nn=2,dr=4,ci=0,$u=1,Po=2,Od=3,Fi=4,Md=6,sT=5,st=cn,yt=null,Xe=null,$e=0,Yn=0,_d=1,qo=2,Xu=3,lT=4,cg=5,Qu=6,Ud=7,fg=8,Io=9,ht=Yn,hr=null,Yi=!1,il=!1,dg=!1,za=0,Rt=ci,Gi=0,$i=0,hg=0,Gn=0,Fo=0,Zu=null,Vn=null,jd=!1,Vd=0,uT=0,cT=300,Ld=1/0,fT=500,Ju=null,Vt=null,Xi=null,Bd=0,mg=1,pg=2,dT=3,Qi=0,hT=1,mT=2,pT=3,yT=4,Hd=5,Zt=0,Zi=null,ol=null,Jr=0,yg=0,gg=-0,bg=null,gT=null,bT=null,Kr=Bd,vT=null,GM=50,Ku=0,vg=null,xg=!1,Pd=!1,$M=50,Yo=0,Wu=null,sl=!1,qd=null,xT=!1,ST=new Set,XM={},Id=null,ll=null,Sg=!1,wg=!1,Fd=!1,Eg=!1,Ji=0,Tg={};(function(){for(var e=0;e<Uy.length;e++){var t=Uy[e],r=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),qr(r,"on"+t)}qr(Jw,"onAnimationEnd"),qr(Kw,"onAnimationIteration"),qr(Ww,"onAnimationStart"),qr("dblclick","onDoubleClick"),qr("focusin","onFocus"),qr("focusout","onBlur"),qr(EM,"onTransitionRun"),qr(TM,"onTransitionStart"),qr(kM,"onTransitionCancel"),qr(eE,"onTransitionEnd")})(),qe("onMouseEnter",["mouseout","mouseover"]),qe("onMouseLeave",["mouseout","mouseover"]),qe("onPointerEnter",["pointerout","pointerover"]),qe("onPointerLeave",["pointerout","pointerover"]),ot("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ot("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ot("onBeforeInput",["compositionend","keypress","textInput","paste"]),ot("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ot("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ec="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(" "),kg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ec)),Yd="_reactListening"+Math.random().toString(36).slice(2),wT=!1,ET=!1,Gd=!1,TT=!1,$d=!1,Xd=!1,kT=!1,Qd={},QM=/\r\n?/g,ZM=/\u0000|\uFFFD/g,Go="http://www.w3.org/1999/xlink",Dg="http://www.w3.org/XML/1998/namespace",JM="javascript:throw new Error('React form unexpectedly submitted.')",KM="suppressHydrationWarning",$o="&",Zd="/&",tc="$",nc="/$",Ki="$?",Xo="$~",ul="$!",WM="html",e_="body",t_="head",Ng="F!",DT="F",NT="loading",n_="style",fi=0,cl=1,Jd=2,Ag=null,Cg=null,AT={dialog:!0,webview:!0},Rg=null,rc=void 0,CT=typeof setTimeout=="function"?setTimeout:void 0,r_=typeof clearTimeout=="function"?clearTimeout:void 0,Qo=-1,RT=typeof Promise=="function"?Promise:void 0,a_=typeof queueMicrotask=="function"?queueMicrotask:typeof RT<"u"?function(e){return RT.resolve(null).then(e).catch(Hz)}:CT,zg=null,Zo=0,ac=1,zT=2,OT=3,Or=4,Mr=new Map,MT=new Set,di=ft.d;ft.d={f:function(){var e=di.f(),t=Es();return e||t},r:function(e){var t=be(e);t!==null&&t.tag===5&&t.type==="form"?Zx(t):di.r(e)},D:function(e){di.D(e),IS("dns-prefetch",e,null)},C:function(e,t){di.C(e,t),IS("preconnect",e,t)},L:function(e,t,r){di.L(e,t,r);var o=fl;if(o&&e&&t){var l='link[rel="preload"][as="'+vr(t)+'"]';t==="image"&&r&&r.imageSrcSet?(l+='[imagesrcset="'+vr(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(l+='[imagesizes="'+vr(r.imageSizes)+'"]')):l+='[href="'+vr(e)+'"]';var c=l;switch(t){case"style":c=Ds(e);break;case"script":c=Ns(e)}Mr.has(c)||(e=Je({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),Mr.set(c,e),o.querySelector(l)!==null||t==="style"&&o.querySelector(cu(c))||t==="script"&&o.querySelector(fu(c))||(t=o.createElement("link"),hn(t,"link",e),Oe(t),o.head.appendChild(t)))}},m:function(e,t){di.m(e,t);var r=fl;if(r&&e){var o=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+vr(o)+'"][href="'+vr(e)+'"]',c=l;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ns(e)}if(!Mr.has(c)&&(e=Je({rel:"modulepreload",href:e},t),Mr.set(c,e),r.querySelector(l)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(fu(c)))return}o=r.createElement("link"),hn(o,"link",e),Oe(o),r.head.appendChild(o)}}},X:function(e,t){di.X(e,t);var r=fl;if(r&&e){var o=Pe(r).hoistableScripts,l=Ns(e),c=o.get(l);c||(c=r.querySelector(fu(l)),c||(e=Je({src:e,async:!0},t),(t=Mr.get(l))&&Wp(e,t),c=r.createElement("script"),Oe(c),hn(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},o.set(l,c))}},S:function(e,t,r){di.S(e,t,r);var o=fl;if(o&&e){var l=Pe(o).hoistableStyles,c=Ds(e);t=t||"default";var m=l.get(c);if(!m){var g={loading:Zo,preload:null};if(m=o.querySelector(cu(c)))g.loading=ac|Or;else{e=Je({rel:"stylesheet",href:e,"data-precedence":t},r),(r=Mr.get(c))&&Kp(e,r);var w=m=o.createElement("link");Oe(w),hn(w,"link",e),w._p=new Promise(function(E,B){w.onload=E,w.onerror=B}),w.addEventListener("load",function(){g.loading|=ac}),w.addEventListener("error",function(){g.loading|=zT}),g.loading|=Or,Gf(m,t,o)}m={type:"stylesheet",instance:m,count:1,state:g},l.set(c,m)}}},M:function(e,t){di.M(e,t);var r=fl;if(r&&e){var o=Pe(r).hoistableScripts,l=Ns(e),c=o.get(l);c||(c=r.querySelector(fu(l)),c||(e=Je({src:e,async:!0,type:"module"},t),(t=Mr.get(l))&&Wp(e,t),c=r.createElement("script"),Oe(c),hn(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},o.set(l,c))}}};var fl=typeof document>"u"?null:document,Kd=null,i_=6e4,o_=800,s_=500,Og=0,Mg=null,Wd=null,Jo=SO,ic={$$typeof:wa,Provider:null,Consumer:null,_currentValue:Jo,_currentValue2:Jo,_threadCount:0},_T="%c%s%c",UT="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",jT="",eh=" ",l_=Function.prototype.bind,VT=!1,LT=null,BT=null,HT=null,PT=null,qT=null,IT=null,FT=null,YT=null,GT=null,$T=null;LT=function(e,t,r,o){t=n(e,t),t!==null&&(r=a(t.memoizedState,r,0,o),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&zt(r,e,2))},BT=function(e,t,r){t=n(e,t),t!==null&&(r=u(t.memoizedState,r,0),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&zt(r,e,2))},HT=function(e,t,r,o){t=n(e,t),t!==null&&(r=i(t.memoizedState,r,o),t.memoizedState=r,t.baseState=r,e.memoizedProps=Je({},e.memoizedProps),r=bn(e,2),r!==null&&zt(r,e,2))},PT=function(e,t,r){e.pendingProps=a(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&zt(t,e,2)},qT=function(e,t){e.pendingProps=u(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&zt(t,e,2)},IT=function(e,t,r){e.pendingProps=i(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=bn(e,2),t!==null&&zt(t,e,2)},FT=function(e){var t=bn(e,2);t!==null&&zt(t,e,2)},YT=function(e){var t=ee(),r=bn(e,t);r!==null&&zt(r,e,t)},GT=function(e){d=e},$T=function(e){f=e};var th=!0,nh=null,_g=!1,Wi=null,eo=null,to=null,oc=new Map,sc=new Map,no=[],u_="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(" "),rh=null;if(Jf.prototype.render=iy.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var r=arguments;typeof r[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()."):R(r[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 r[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),r=e;var o=t.current,l=ir(o);ey(o,l,r,t,null,null)},Jf.prototype.unmount=iy.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;(st&(nn|dr))!==cn&&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."),ey(e.current,2,null,e,null,null),Es(),t[Mi]=null}},Jf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Nn();e={blockedOn:null,target:e,priority:t};for(var r=0;r<no.length&&t!==0&&t<no[r].priority;r++);no.splice(r,0,e),r===0&&rw(e)}},(function(){var e=oy.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=re(t),e=e!==null?G(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:Z,reconcilerVersion:"19.2.4"};return e.overrideHookState=LT,e.overrideHookStateDeletePath=BT,e.overrideHookStateRenamePath=HT,e.overrideProps=PT,e.overridePropsDeletePath=qT,e.overridePropsRenamePath=IT,e.scheduleUpdate=FT,e.scheduleRetry=YT,e.setErrorHandler=GT,e.setSuspenseHandler=$T,e.scheduleRefresh=N,e.scheduleRoot=S,e.setRefreshHandler=V,e.getCurrentFiber=dO,ls(e)})()&&Na&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var XT=window.location.protocol;/^(https?|file):$/.test(XT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(XT==="file:"?`
|
|
232
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}lc.createRoot=function(e,t){if(!R(e))throw Error("Target container is not a DOM element.");sw(e);var r=!1,o="",l=a1,c=i1,m=o1;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===Sa&&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&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=ZS(e,1,!1,null,null,r,o,null,l,c,m,ow),e[Mi]=t.current,Hp(e),new iy(t)},lc.hydrateRoot=function(e,t,r){if(!R(e))throw Error("Target container is not a DOM element.");sw(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,l="",c=a1,m=i1,g=o1,w=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(l=r.identifierPrefix),r.onUncaughtError!==void 0&&(c=r.onUncaughtError),r.onCaughtError!==void 0&&(m=r.onCaughtError),r.onRecoverableError!==void 0&&(g=r.onRecoverableError),r.formState!==void 0&&(w=r.formState)),t=ZS(e,1,!0,t,r??null,o,l,w,c,m,g,ow),t.context=JS(null),r=t.current,o=ir(r),o=an(o),l=wi(o),l.callback=null,Ei(r,l,o),la(o,"hydrateRoot()",null),r=o,t.current.lanes=r,Te(t,r),va(t),e[Mi]=t.current,Hp(e),new Jf(t)},lc.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),lc}var ak;function v_(){return ak||(ak=1,Vg.exports=b_()),Vg.exports}var x_=v_();const S_=Rc(x_);const UN=(...n)=>n.filter((a,i,s)=>!!a&&a.trim()!==""&&s.indexOf(a)===i).join(" ").trim();const w_=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const E_=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,i,s)=>s?s.toUpperCase():i.toLowerCase());const ik=n=>{const a=E_(n);return a.charAt(0).toUpperCase()+a.slice(1)};var T_={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 k_=n=>{for(const a in n)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};const D_=me.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:u="",children:f,iconNode:d,...h},b)=>me.createElement("svg",{ref:b,...T_,width:a,height:a,stroke:n,strokeWidth:s?Number(i)*24/Number(a):i,className:UN("lucide",u),...!f&&!k_(h)&&{"aria-hidden":"true"},...h},[...d.map(([y,p])=>me.createElement(y,p)),...Array.isArray(f)?f:[f]]));const At=(n,a)=>{const i=me.forwardRef(({className:s,...u},f)=>me.createElement(D_,{ref:f,iconNode:a,className:UN(`lucide-${w_(ik(n))}`,`lucide-${n}`,s),...u}));return i.displayName=ik(n),i};const N_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ok=At("arrow-right",N_);const A_=[["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],C_=At("ban",A_);const R_=[["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"}]],jN=At("brain",R_);const z_=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],O_=At("check",z_);const M_=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ph=At("chevron-down",M_);const __=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],yh=At("chevron-up",__);const U_=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],kb=At("circle-check-big",U_);const j_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],V_=At("circle-x",j_);const L_=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],f0=At("clock",L_);const B_=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],d0=At("eye",B_);const H_=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],h0=At("file-text",H_);const P_=[["rect",{width:"8",height:"5",x:"14",y:"17",rx:"1",key:"19aais"}],["path",{d:"M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5",key:"1w6v7t"}],["path",{d:"M20 17v-2a2 2 0 1 0-4 0v2",key:"pwaxnr"}]],q_=At("folder-lock",P_);const I_=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],VN=At("folder-open",I_);const F_=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],sk=At("gauge",F_);const Y_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],G_=At("info",Y_);const $_=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],X_=At("layout-grid",$_);const Q_=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Z_=At("pen-line",Q_);const J_=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],K_=At("search",J_);const W_=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],eU=At("send",W_);const tU=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Ah=At("shield",tU);const nU=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],LN=At("sparkles",nU);const rU=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],m0=At("terminal",rU);const aU=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],BN=At("triangle-alert",aU);const iU=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],oU=At("wrench",iU);const sU=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],lU=At("zap",sU);var Pg={exports:{}},uc={},lk;function uU(){if(lk)return uc;lk=1;return(function(){function n(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===he?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case R:return"Fragment";case X:return"Profiler";case _:return"StrictMode";case G:return"Suspense";case ge:return"SuspenseList";case F:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case V:return"Portal";case ie:return U.displayName||"Context";case I:return(U._context.displayName||"Context")+".Consumer";case re:var ue=U.render;return U=U.displayName,U||(U=ue.displayName||ue.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case le:return ue=U.displayName||null,ue!==null?ue:n(U.type)||"Memo";case ce:ue=U._payload,U=U._init;try{return n(U(ue))}catch{}}return null}function a(U){return""+U}function i(U){try{a(U);var ue=!1}catch{ue=!0}if(ue){ue=console;var C=ue.error,xe=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return C.call(ue,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",xe),a(U)}}function s(U){if(U===R)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===ce)return"<...>";try{var ue=n(U);return ue?"<"+ue+">":"<...>"}catch{return"<...>"}}function u(){var U=se.A;return U===null?null:U.getOwner()}function f(){return Error("react-stack-top-frame")}function d(U){if(W.call(U,"key")){var ue=Object.getOwnPropertyDescriptor(U,"key").get;if(ue&&ue.isReactWarning)return!1}return U.key!==void 0}function h(U,ue){function C(){Y||(Y=!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)",ue))}C.isReactWarning=!0,Object.defineProperty(U,"key",{get:C,configurable:!0})}function b(){var U=n(this.type);return ae[U]||(ae[U]=!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.")),U=this.props.ref,U!==void 0?U:null}function y(U,ue,C,xe,at,gn){var je=C.ref;return U={$$typeof:N,type:U,key:ue,props:C,_owner:xe},(je!==void 0?je:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:b}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:at}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:gn}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function p(U,ue,C,xe,at,gn){var je=ue.children;if(je!==void 0)if(xe)if(K(je)){for(xe=0;xe<je.length;xe++)v(je[xe]);Object.freeze&&Object.freeze(je)}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 v(je);if(W.call(ue,"key")){je=n(U);var Ke=Object.keys(ue).filter(function(Lt){return Lt!=="key"});xe=0<Ke.length?"{key: someKey, "+Ke.join(": ..., ")+": ...}":"{key: someKey}",z[je+xe]||(Ke=0<Ke.length?"{"+Ke.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
236
|
+
let props = %s;
|
|
237
|
+
<%s {...props} />
|
|
238
|
+
React keys must be passed directly to JSX without using spread:
|
|
239
|
+
let props = %s;
|
|
240
|
+
<%s key={someKey} {...props} />`,xe,je,Ke,je),z[je+xe]=!0)}if(je=null,C!==void 0&&(i(C),je=""+C),d(ue)&&(i(ue.key),je=""+ue.key),"key"in ue){C={};for(var Ut in ue)Ut!=="key"&&(C[Ut]=ue[Ut])}else C=ue;return je&&h(C,typeof U=="function"?U.displayName||U.name||"Unknown":U),y(U,je,C,u(),at,gn)}function v(U){x(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===ce&&(U._payload.status==="fulfilled"?x(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function x(U){return typeof U=="object"&&U!==null&&U.$$typeof===N}var S=zc(),N=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),le=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),he=Symbol.for("react.client.reference"),se=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W=Object.prototype.hasOwnProperty,K=Array.isArray,oe=console.createTask?console.createTask:function(){return null};S={react_stack_bottom_frame:function(U){return U()}};var Y,ae={},pe=S.react_stack_bottom_frame.bind(S,f)(),Ae=oe(s(f)),z={};uc.Fragment=R,uc.jsx=function(U,ue,C){var xe=1e4>se.recentlyCreatedOwnerStacks++;return p(U,ue,C,!1,xe?Error("react-stack-top-frame"):pe,xe?oe(s(U)):Ae)},uc.jsxs=function(U,ue,C){var xe=1e4>se.recentlyCreatedOwnerStacks++;return p(U,ue,C,!0,xe?Error("react-stack-top-frame"):pe,xe?oe(s(U)):Ae)}})(),uc}var uk;function cU(){return uk||(uk=1,Pg.exports=uU()),Pg.exports}var Vr=cU();const p0=me.createContext({});function y0(n){const a=me.useRef(null);return a.current===null&&(a.current=n()),a.current}const HN=typeof window<"u",PN=HN?me.useLayoutEffect:me.useEffect,qh=me.createContext(null);function g0(n,a){n.indexOf(a)===-1&&n.push(a)}function Ch(n,a){const i=n.indexOf(a);i>-1&&n.splice(i,1)}const Va=(n,a,i)=>i>a?a:i<n?n:i;function Db(n,a){return a?`${n}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${a}`:n}let Dl=()=>{},mi=()=>{};typeof process<"u"&&(Dl=(n,a,i)=>{!n&&typeof console<"u"&&console.warn(Db(a,i))},mi=(n,a,i)=>{if(!n)throw new Error(Db(a,i))});const pi={},qN=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function IN(n){return typeof n=="object"&&n!==null}const FN=n=>/^0[^.\s]+$/u.test(n);function b0(n){let a;return()=>(a===void 0&&(a=n()),a)}const Lr=n=>n,fU=(n,a)=>i=>a(n(i)),Oc=(...n)=>n.reduce(fU),Tc=(n,a,i)=>{const s=a-n;return s===0?1:(i-n)/s};class v0{constructor(){this.subscriptions=[]}add(a){return g0(this.subscriptions,a),()=>Ch(this.subscriptions,a)}notify(a,i,s){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](a,i,s);else for(let f=0;f<u;f++){const d=this.subscriptions[f];d&&d(a,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Br=n=>n*1e3,jr=n=>n/1e3;function YN(n,a){return a?n*(1e3/a):0}const ck=new Set;function x0(n,a,i){n||ck.has(a)||(console.warn(Db(a,i)),ck.add(a))}const GN=(n,a,i)=>(((1-3*i+3*a)*n+(3*i-6*a))*n+3*a)*n,dU=1e-7,hU=12;function mU(n,a,i,s,u){let f,d,h=0;do d=a+(i-a)/2,f=GN(d,s,u)-n,f>0?i=d:a=d;while(Math.abs(f)>dU&&++h<hU);return d}function Mc(n,a,i,s){if(n===a&&i===s)return Lr;const u=f=>mU(f,0,1,n,i);return f=>f===0||f===1?f:GN(u(f),a,s)}const $N=n=>a=>a<=.5?n(2*a)/2:(2-n(2*(1-a)))/2,XN=n=>a=>1-n(1-a),QN=Mc(.33,1.53,.69,.99),S0=XN(QN),ZN=$N(S0),JN=n=>(n*=2)<1?.5*S0(n):.5*(2-Math.pow(2,-10*(n-1))),w0=n=>1-Math.sin(Math.acos(n)),KN=XN(w0),WN=$N(w0),pU=Mc(.42,0,1,1),yU=Mc(0,0,.58,1),eA=Mc(.42,0,.58,1),gU=n=>Array.isArray(n)&&typeof n[0]!="number",tA=n=>Array.isArray(n)&&typeof n[0]=="number",fk={linear:Lr,easeIn:pU,easeInOut:eA,easeOut:yU,circIn:w0,circInOut:WN,circOut:KN,backIn:S0,backInOut:ZN,backOut:QN,anticipate:JN},bU=n=>typeof n=="string",dk=n=>{if(tA(n)){mi(n.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[a,i,s,u]=n;return Mc(a,i,s,u)}else if(bU(n))return mi(fk[n]!==void 0,`Invalid easing type '${n}'`,"invalid-easing-type"),fk[n];return n},ih=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function vU(n,a){let i=new Set,s=new Set,u=!1,f=!1;const d=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function b(p){d.has(p)&&(y.schedule(p),n()),p(h)}const y={schedule:(p,v=!1,x=!1)=>{const N=x&&u?i:s;return v&&d.add(p),N.has(p)||N.add(p),p},cancel:p=>{s.delete(p),d.delete(p)},process:p=>{if(h=p,u){f=!0;return}u=!0,[i,s]=[s,i],i.forEach(b),i.clear(),u=!1,f&&(f=!1,y.process(p))}};return y}const xU=40;function nA(n,a){let i=!1,s=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>i=!0,d=ih.reduce((I,ie)=>(I[ie]=vU(f),I),{}),{setup:h,read:b,resolveKeyframes:y,preUpdate:p,update:v,preRender:x,render:S,postRender:N}=d,V=()=>{const I=pi.useManualTiming?u.timestamp:performance.now();i=!1,pi.useManualTiming||(u.delta=s?1e3/60:Math.max(Math.min(I-u.timestamp,xU),1)),u.timestamp=I,u.isProcessing=!0,h.process(u),b.process(u),y.process(u),p.process(u),v.process(u),x.process(u),S.process(u),N.process(u),u.isProcessing=!1,i&&a&&(s=!1,n(V))},R=()=>{i=!0,s=!0,u.isProcessing||n(V)};return{schedule:ih.reduce((I,ie)=>{const re=d[ie];return I[ie]=(G,ge=!1,le=!1)=>(i||R(),re.schedule(G,ge,le)),I},{}),cancel:I=>{for(let ie=0;ie<ih.length;ie++)d[ih[ie]].cancel(I)},state:u,steps:d}}const{schedule:kt,cancel:lo,state:yn,steps:qg}=nA(typeof requestAnimationFrame<"u"?requestAnimationFrame:Lr,!0);let gh;function SU(){gh=void 0}const Ln={now:()=>(gh===void 0&&Ln.set(yn.isProcessing||pi.useManualTiming?yn.timestamp:performance.now()),gh),set:n=>{gh=n,queueMicrotask(SU)}},rA=n=>a=>typeof a=="string"&&a.startsWith(n),aA=rA("--"),wU=rA("var(--"),E0=n=>wU(n)?EU.test(n.split("/*")[0].trim()):!1,EU=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function hk(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const Nl={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},kc={...Nl,transform:n=>Va(0,1,n)},oh={...Nl,default:1},bc=n=>Math.round(n*1e5)/1e5,T0=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function TU(n){return n==null}const kU=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,k0=(n,a)=>i=>!!(typeof i=="string"&&kU.test(i)&&i.startsWith(n)||a&&!TU(i)&&Object.prototype.hasOwnProperty.call(i,a)),iA=(n,a,i)=>s=>{if(typeof s!="string")return s;const[u,f,d,h]=s.match(T0);return{[n]:parseFloat(u),[a]:parseFloat(f),[i]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},DU=n=>Va(0,255,n),Ig={...Nl,transform:n=>Math.round(DU(n))},ts={test:k0("rgb","red"),parse:iA("red","green","blue"),transform:({red:n,green:a,blue:i,alpha:s=1})=>"rgba("+Ig.transform(n)+", "+Ig.transform(a)+", "+Ig.transform(i)+", "+bc(kc.transform(s))+")"};function NU(n){let a="",i="",s="",u="";return n.length>5?(a=n.substring(1,3),i=n.substring(3,5),s=n.substring(5,7),u=n.substring(7,9)):(a=n.substring(1,2),i=n.substring(2,3),s=n.substring(3,4),u=n.substring(4,5),a+=a,i+=i,s+=s,u+=u),{red:parseInt(a,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:u?parseInt(u,16)/255:1}}const Nb={test:k0("#"),parse:NU,transform:ts.transform},_c=n=>({test:a=>typeof a=="string"&&a.endsWith(n)&&a.split(" ").length===1,parse:parseFloat,transform:a=>`${a}${n}`}),io=_c("deg"),ja=_c("%"),Ne=_c("px"),AU=_c("vh"),CU=_c("vw"),mk={...ja,parse:n=>ja.parse(n)/100,transform:n=>ja.transform(n*100)},pl={test:k0("hsl","hue"),parse:iA("hue","saturation","lightness"),transform:({hue:n,saturation:a,lightness:i,alpha:s=1})=>"hsla("+Math.round(n)+", "+ja.transform(bc(a))+", "+ja.transform(bc(i))+", "+bc(kc.transform(s))+")"},Kt={test:n=>ts.test(n)||Nb.test(n)||pl.test(n),parse:n=>ts.test(n)?ts.parse(n):pl.test(n)?pl.parse(n):Nb.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?ts.transform(n):pl.transform(n),getAnimatableNone:n=>{const a=Kt.parse(n);return a.alpha=0,Kt.transform(a)}},RU=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function zU(n){return isNaN(n)&&typeof n=="string"&&(n.match(T0)?.length||0)+(n.match(RU)?.length||0)>0}const oA="number",sA="color",OU="var",MU="var(",pk="${}",_U=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Dc(n){const a=n.toString(),i=[],s={color:[],number:[],var:[]},u=[];let f=0;const h=a.replace(_U,b=>(Kt.test(b)?(s.color.push(f),u.push(sA),i.push(Kt.parse(b))):b.startsWith(MU)?(s.var.push(f),u.push(OU),i.push(b)):(s.number.push(f),u.push(oA),i.push(parseFloat(b))),++f,pk)).split(pk);return{values:i,split:h,indexes:s,types:u}}function lA(n){return Dc(n).values}function uA(n){const{split:a,types:i}=Dc(n),s=a.length;return u=>{let f="";for(let d=0;d<s;d++)if(f+=a[d],u[d]!==void 0){const h=i[d];h===oA?f+=bc(u[d]):h===sA?f+=Kt.transform(u[d]):f+=u[d]}return f}}const UU=n=>typeof n=="number"?0:Kt.test(n)?Kt.getAnimatableNone(n):n;function jU(n){const a=lA(n);return uA(n)(a.map(UU))}const uo={test:zU,parse:lA,createTransformer:uA,getAnimatableNone:jU};function Fg(n,a,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?n+(a-n)*6*i:i<1/2?a:i<2/3?n+(a-n)*(2/3-i)*6:n}function VU({hue:n,saturation:a,lightness:i,alpha:s}){n/=360,a/=100,i/=100;let u=0,f=0,d=0;if(!a)u=f=d=i;else{const h=i<.5?i*(1+a):i+a-i*a,b=2*i-h;u=Fg(b,h,n+1/3),f=Fg(b,h,n),d=Fg(b,h,n-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(d*255),alpha:s}}function Rh(n,a){return i=>i>0?a:n}const _t=(n,a,i)=>n+(a-n)*i,Yg=(n,a,i)=>{const s=n*n,u=i*(a*a-s)+s;return u<0?0:Math.sqrt(u)},LU=[Nb,ts,pl],BU=n=>LU.find(a=>a.test(n));function yk(n){const a=BU(n);if(Dl(!!a,`'${n}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!a)return!1;let i=a.parse(n);return a===pl&&(i=VU(i)),i}const gk=(n,a)=>{const i=yk(n),s=yk(a);if(!i||!s)return Rh(n,a);const u={...i};return f=>(u.red=Yg(i.red,s.red,f),u.green=Yg(i.green,s.green,f),u.blue=Yg(i.blue,s.blue,f),u.alpha=_t(i.alpha,s.alpha,f),ts.transform(u))},Ab=new Set(["none","hidden"]);function HU(n,a){return Ab.has(n)?i=>i<=0?n:a:i=>i>=1?a:n}function PU(n,a){return i=>_t(n,a,i)}function D0(n){return typeof n=="number"?PU:typeof n=="string"?E0(n)?Rh:Kt.test(n)?gk:FU:Array.isArray(n)?cA:typeof n=="object"?Kt.test(n)?gk:qU:Rh}function cA(n,a){const i=[...n],s=i.length,u=n.map((f,d)=>D0(f)(f,a[d]));return f=>{for(let d=0;d<s;d++)i[d]=u[d](f);return i}}function qU(n,a){const i={...n,...a},s={};for(const u in i)n[u]!==void 0&&a[u]!==void 0&&(s[u]=D0(n[u])(n[u],a[u]));return u=>{for(const f in s)i[f]=s[f](u);return i}}function IU(n,a){const i=[],s={color:0,var:0,number:0};for(let u=0;u<a.values.length;u++){const f=a.types[u],d=n.indexes[f][s[f]],h=n.values[d]??0;i[u]=h,s[f]++}return i}const FU=(n,a)=>{const i=uo.createTransformer(a),s=Dc(n),u=Dc(a);return s.indexes.var.length===u.indexes.var.length&&s.indexes.color.length===u.indexes.color.length&&s.indexes.number.length>=u.indexes.number.length?Ab.has(n)&&!u.values.length||Ab.has(a)&&!s.values.length?HU(n,a):Oc(cA(IU(s,u),u.values),i):(Dl(!0,`Complex values '${n}' and '${a}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Rh(n,a))};function fA(n,a,i){return typeof n=="number"&&typeof a=="number"&&typeof i=="number"?_t(n,a,i):D0(n)(n,a)}const YU=n=>{const a=({timestamp:i})=>n(i);return{start:(i=!0)=>kt.update(a,i),stop:()=>lo(a),now:()=>yn.isProcessing?yn.timestamp:Ln.now()}},dA=(n,a,i=10)=>{let s="";const u=Math.max(Math.round(a/i),2);for(let f=0;f<u;f++)s+=Math.round(n(f/(u-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},zh=2e4;function N0(n){let a=0;const i=50;let s=n.next(a);for(;!s.done&&a<zh;)a+=i,s=n.next(a);return a>=zh?1/0:a}function GU(n,a=100,i){const s=i({...n,keyframes:[0,a]}),u=Math.min(N0(s),zh);return{type:"keyframes",ease:f=>s.next(u*f).value/a,duration:jr(u)}}const $U=5;function hA(n,a,i){const s=Math.max(a-$U,0);return YN(i-n(s),a-s)}const Mt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Gg=.001;function XU({duration:n=Mt.duration,bounce:a=Mt.bounce,velocity:i=Mt.velocity,mass:s=Mt.mass}){let u,f;Dl(n<=Br(Mt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let d=1-a;d=Va(Mt.minDamping,Mt.maxDamping,d),n=Va(Mt.minDuration,Mt.maxDuration,jr(n)),d<1?(u=y=>{const p=y*d,v=p*n,x=p-i,S=Cb(y,d),N=Math.exp(-v);return Gg-x/S*N},f=y=>{const v=y*d*n,x=v*i+i,S=Math.pow(d,2)*Math.pow(y,2)*n,N=Math.exp(-v),V=Cb(Math.pow(y,2),d);return(-u(y)+Gg>0?-1:1)*((x-S)*N)/V}):(u=y=>{const p=Math.exp(-y*n),v=(y-i)*n+1;return-Gg+p*v},f=y=>{const p=Math.exp(-y*n),v=(i-y)*(n*n);return p*v});const h=5/n,b=ZU(u,f,h);if(n=Br(n),isNaN(b))return{stiffness:Mt.stiffness,damping:Mt.damping,duration:n};{const y=Math.pow(b,2)*s;return{stiffness:y,damping:d*2*Math.sqrt(s*y),duration:n}}}const QU=12;function ZU(n,a,i){let s=i;for(let u=1;u<QU;u++)s=s-n(s)/a(s);return s}function Cb(n,a){return n*Math.sqrt(1-a*a)}const JU=["duration","bounce"],KU=["stiffness","damping","mass"];function bk(n,a){return a.some(i=>n[i]!==void 0)}function WU(n){let a={velocity:Mt.velocity,stiffness:Mt.stiffness,damping:Mt.damping,mass:Mt.mass,isResolvedFromDuration:!1,...n};if(!bk(n,KU)&&bk(n,JU))if(n.visualDuration){const i=n.visualDuration,s=2*Math.PI/(i*1.2),u=s*s,f=2*Va(.05,1,1-(n.bounce||0))*Math.sqrt(u);a={...a,mass:Mt.mass,stiffness:u,damping:f}}else{const i=XU(n);a={...a,...i,mass:Mt.mass},a.isResolvedFromDuration=!0}return a}function Oh(n=Mt.visualDuration,a=Mt.bounce){const i=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:a}:n;let{restSpeed:s,restDelta:u}=i;const f=i.keyframes[0],d=i.keyframes[i.keyframes.length-1],h={done:!1,value:f},{stiffness:b,damping:y,mass:p,duration:v,velocity:x,isResolvedFromDuration:S}=WU({...i,velocity:-jr(i.velocity||0)}),N=x||0,V=y/(2*Math.sqrt(b*p)),R=d-f,_=jr(Math.sqrt(b/p)),X=Math.abs(R)<5;s||(s=X?Mt.restSpeed.granular:Mt.restSpeed.default),u||(u=X?Mt.restDelta.granular:Mt.restDelta.default);let I;if(V<1){const re=Cb(_,V);I=G=>{const ge=Math.exp(-V*_*G);return d-ge*((N+V*_*R)/re*Math.sin(re*G)+R*Math.cos(re*G))}}else if(V===1)I=re=>d-Math.exp(-_*re)*(R+(N+_*R)*re);else{const re=_*Math.sqrt(V*V-1);I=G=>{const ge=Math.exp(-V*_*G),le=Math.min(re*G,300);return d-ge*((N+V*_*R)*Math.sinh(le)+re*R*Math.cosh(le))/re}}const ie={calculatedDuration:S&&v||null,next:re=>{const G=I(re);if(S)h.done=re>=v;else{let ge=re===0?N:0;V<1&&(ge=re===0?Br(N):hA(I,re,G));const le=Math.abs(ge)<=s,ce=Math.abs(d-G)<=u;h.done=le&&ce}return h.value=h.done?d:G,h},toString:()=>{const re=Math.min(N0(ie),zh),G=dA(ge=>ie.next(re*ge).value,re,30);return re+"ms "+G},toTransition:()=>{}};return ie}Oh.applyToOptions=n=>{const a=GU(n,100,Oh);return n.ease=a.ease,n.duration=Br(a.duration),n.type="keyframes",n};function Rb({keyframes:n,velocity:a=0,power:i=.8,timeConstant:s=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:d,min:h,max:b,restDelta:y=.5,restSpeed:p}){const v=n[0],x={done:!1,value:v},S=le=>h!==void 0&&le<h||b!==void 0&&le>b,N=le=>h===void 0?b:b===void 0||Math.abs(h-le)<Math.abs(b-le)?h:b;let V=i*a;const R=v+V,_=d===void 0?R:d(R);_!==R&&(V=_-v);const X=le=>-V*Math.exp(-le/s),I=le=>_+X(le),ie=le=>{const ce=X(le),F=I(le);x.done=Math.abs(ce)<=y,x.value=x.done?_:F};let re,G;const ge=le=>{S(x.value)&&(re=le,G=Oh({keyframes:[x.value,N(x.value)],velocity:hA(I,le,x.value),damping:u,stiffness:f,restDelta:y,restSpeed:p}))};return ge(0),{calculatedDuration:null,next:le=>{let ce=!1;return!G&&re===void 0&&(ce=!0,ie(le),ge(le)),re!==void 0&&le>=re?G.next(le-re):(!ce&&ie(le),x)}}}function e3(n,a,i){const s=[],u=i||pi.mix||fA,f=n.length-1;for(let d=0;d<f;d++){let h=u(n[d],n[d+1]);if(a){const b=Array.isArray(a)?a[d]||Lr:a;h=Oc(b,h)}s.push(h)}return s}function t3(n,a,{clamp:i=!0,ease:s,mixer:u}={}){const f=n.length;if(mi(f===a.length,"Both input and output ranges must be the same length","range-length"),f===1)return()=>a[0];if(f===2&&a[0]===a[1])return()=>a[1];const d=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),a=[...a].reverse());const h=e3(a,s,u),b=h.length,y=p=>{if(d&&p<n[0])return a[0];let v=0;if(b>1)for(;v<n.length-2&&!(p<n[v+1]);v++);const x=Tc(n[v],n[v+1],p);return h[v](x)};return i?p=>y(Va(n[0],n[f-1],p)):y}function n3(n,a){const i=n[n.length-1];for(let s=1;s<=a;s++){const u=Tc(0,a,s);n.push(_t(i,1,u))}}function r3(n){const a=[0];return n3(a,n.length-1),a}function a3(n,a){return n.map(i=>i*a)}function i3(n,a){return n.map(()=>a||eA).splice(0,n.length-1)}function yl({duration:n=300,keyframes:a,times:i,ease:s="easeInOut"}){const u=gU(s)?s.map(dk):dk(s),f={done:!1,value:a[0]},d=a3(i&&i.length===a.length?i:r3(a),n),h=t3(d,a,{ease:Array.isArray(u)?u:i3(a,u)});return{calculatedDuration:n,next:b=>(f.value=h(b),f.done=b>=n,f)}}const o3=n=>n!==null;function A0(n,{repeat:a,repeatType:i="loop"},s,u=1){const f=n.filter(o3),h=u<0||a&&i!=="loop"&&a%2===1?0:f.length-1;return!h||s===void 0?f[h]:s}const s3={decay:Rb,inertia:Rb,tween:yl,keyframes:yl,spring:Oh};function mA(n){typeof n.type=="string"&&(n.type=s3[n.type])}class C0{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(a=>{this.resolve=a})}notifyFinished(){this.resolve()}then(a,i){return this.finished.then(a,i)}}const l3=n=>n/100;class R0 extends C0{constructor(a){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==Ln.now()&&this.tick(Ln.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=a,this.initAnimation(),this.play(),a.autoplay===!1&&this.pause()}initAnimation(){const{options:a}=this;mA(a);const{type:i=yl,repeat:s=0,repeatDelay:u=0,repeatType:f,velocity:d=0}=a;let{keyframes:h}=a;const b=i||yl;b!==yl&&mi(h.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${h}`,"spring-two-frames"),b!==yl&&typeof h[0]!="number"&&(this.mixKeyframes=Oc(l3,fA(h[0],h[1])),h=[0,100]);const y=b({...a,keyframes:h});f==="mirror"&&(this.mirroredGenerator=b({...a,keyframes:[...h].reverse(),velocity:-d})),y.calculatedDuration===null&&(y.calculatedDuration=N0(y));const{calculatedDuration:p}=y;this.calculatedDuration=p,this.resolvedDuration=p+u,this.totalDuration=this.resolvedDuration*(s+1)-u,this.generator=y}updateTime(a){const i=Math.round(a-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(a,i=!1){const{generator:s,totalDuration:u,mixKeyframes:f,mirroredGenerator:d,resolvedDuration:h,calculatedDuration:b}=this;if(this.startTime===null)return s.next(0);const{delay:y=0,keyframes:p,repeat:v,repeatType:x,repeatDelay:S,type:N,onUpdate:V,finalKeyframe:R}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,a):this.speed<0&&(this.startTime=Math.min(a-u/this.speed,this.startTime)),i?this.currentTime=a:this.updateTime(a);const _=this.currentTime-y*(this.playbackSpeed>=0?1:-1),X=this.playbackSpeed>=0?_<0:_>u;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let I=this.currentTime,ie=s;if(v){const le=Math.min(this.currentTime,u)/h;let ce=Math.floor(le),F=le%1;!F&&le>=1&&(F=1),F===1&&ce--,ce=Math.min(ce,v+1),ce%2&&(x==="reverse"?(F=1-F,S&&(F-=S/h)):x==="mirror"&&(ie=d)),I=Va(0,1,F)*h}const re=X?{done:!1,value:p[0]}:ie.next(I);f&&(re.value=f(re.value));let{done:G}=re;!X&&b!==null&&(G=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const ge=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&G);return ge&&N!==Rb&&(re.value=A0(p,this.options,R,this.speed)),V&&V(re.value),ge&&this.finish(),re}then(a,i){return this.finished.then(a,i)}get duration(){return jr(this.calculatedDuration)}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+jr(a)}get time(){return jr(this.currentTime)}set time(a){a=Br(a),this.currentTime=a,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=a:this.driver&&(this.startTime=this.driver.now()-a/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(a){this.updateTime(Ln.now());const i=this.playbackSpeed!==a;this.playbackSpeed=a,i&&(this.time=jr(this.currentTime))}play(){if(this.isStopped)return;const{driver:a=YU,startTime:i}=this.options;this.driver||(this.driver=a(u=>this.tick(u))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=i??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ln.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(a){return this.startTime=0,this.tick(a,!0)}attachTimeline(a){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),a.observe(this)}}function u3(n){for(let a=1;a<n.length;a++)n[a]??(n[a]=n[a-1])}const ns=n=>n*180/Math.PI,zb=n=>{const a=ns(Math.atan2(n[1],n[0]));return Ob(a)},c3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:zb,rotateZ:zb,skewX:n=>ns(Math.atan(n[1])),skewY:n=>ns(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},Ob=n=>(n=n%360,n<0&&(n+=360),n),vk=zb,xk=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),Sk=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),f3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:xk,scaleY:Sk,scale:n=>(xk(n)+Sk(n))/2,rotateX:n=>Ob(ns(Math.atan2(n[6],n[5]))),rotateY:n=>Ob(ns(Math.atan2(-n[2],n[0]))),rotateZ:vk,rotate:vk,skewX:n=>ns(Math.atan(n[4])),skewY:n=>ns(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function Mb(n){return n.includes("scale")?1:0}function _b(n,a){if(!n||n==="none")return Mb(a);const i=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,u;if(i)s=f3,u=i;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=c3,u=h}if(!u)return Mb(a);const f=s[a],d=u[1].split(",").map(h3);return typeof f=="function"?f(d):d[f]}const d3=(n,a)=>{const{transform:i="none"}=getComputedStyle(n);return _b(i,a)};function h3(n){return parseFloat(n.trim())}const Al=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Cl=new Set(Al),wk=n=>n===Nl||n===Ne,m3=new Set(["x","y","z"]),p3=Al.filter(n=>!m3.has(n));function y3(n){const a=[];return p3.forEach(i=>{const s=n.getValue(i);s!==void 0&&(a.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),a}const oo={width:({x:n},{paddingLeft:a="0",paddingRight:i="0"})=>n.max-n.min-parseFloat(a)-parseFloat(i),height:({y:n},{paddingTop:a="0",paddingBottom:i="0"})=>n.max-n.min-parseFloat(a)-parseFloat(i),top:(n,{top:a})=>parseFloat(a),left:(n,{left:a})=>parseFloat(a),bottom:({y:n},{top:a})=>parseFloat(a)+(n.max-n.min),right:({x:n},{left:a})=>parseFloat(a)+(n.max-n.min),x:(n,{transform:a})=>_b(a,"x"),y:(n,{transform:a})=>_b(a,"y")};oo.translateX=oo.x;oo.translateY=oo.y;const as=new Set;let Ub=!1,jb=!1,Vb=!1;function pA(){if(jb){const n=Array.from(as).filter(s=>s.needsMeasurement),a=new Set(n.map(s=>s.element)),i=new Map;a.forEach(s=>{const u=y3(s);u.length&&(i.set(s,u),s.render())}),n.forEach(s=>s.measureInitialState()),a.forEach(s=>{s.render();const u=i.get(s);u&&u.forEach(([f,d])=>{s.getValue(f)?.set(d)})}),n.forEach(s=>s.measureEndState()),n.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}jb=!1,Ub=!1,as.forEach(n=>n.complete(Vb)),as.clear()}function yA(){as.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(jb=!0)})}function g3(){Vb=!0,yA(),pA(),Vb=!1}class z0{constructor(a,i,s,u,f,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...a],this.onComplete=i,this.name=s,this.motionValue=u,this.element=f,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(as.add(this),Ub||(Ub=!0,kt.read(yA),kt.resolveKeyframes(pA))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:a,name:i,element:s,motionValue:u}=this;if(a[0]===null){const f=u?.get(),d=a[a.length-1];if(f!==void 0)a[0]=f;else if(s&&i){const h=s.readValue(i,d);h!=null&&(a[0]=h)}a[0]===void 0&&(a[0]=d),u&&f===void 0&&u.set(a[0])}u3(a)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(a=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,a),as.delete(this)}cancel(){this.state==="scheduled"&&(as.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const b3=n=>n.startsWith("--");function v3(n,a,i){b3(a)?n.style.setProperty(a,i):n.style[a]=i}const x3=b0(()=>window.ScrollTimeline!==void 0),S3={};function w3(n,a){const i=b0(n);return()=>S3[a]??i()}const gA=w3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),gc=([n,a,i,s])=>`cubic-bezier(${n}, ${a}, ${i}, ${s})`,Ek={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:gc([0,.65,.55,1]),circOut:gc([.55,0,1,.45]),backIn:gc([.31,.01,.66,-.59]),backOut:gc([.33,1.53,.69,.99])};function bA(n,a){if(n)return typeof n=="function"?gA()?dA(n,a):"ease-out":tA(n)?gc(n):Array.isArray(n)?n.map(i=>bA(i,a)||Ek.easeOut):Ek[n]}function E3(n,a,i,{delay:s=0,duration:u=300,repeat:f=0,repeatType:d="loop",ease:h="easeOut",times:b}={},y=void 0){const p={[a]:i};b&&(p.offset=b);const v=bA(h,u);Array.isArray(v)&&(p.easing=v);const x={delay:s,duration:u,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:f+1,direction:d==="reverse"?"alternate":"normal"};return y&&(x.pseudoElement=y),n.animate(p,x)}function vA(n){return typeof n=="function"&&"applyToOptions"in n}function T3({type:n,...a}){return vA(n)&&gA()?n.applyToOptions(a):(a.duration??(a.duration=300),a.ease??(a.ease="easeOut"),a)}class xA extends C0{constructor(a){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!a)return;const{element:i,name:s,keyframes:u,pseudoElement:f,allowFlatten:d=!1,finalKeyframe:h,onComplete:b}=a;this.isPseudoElement=!!f,this.allowFlatten=d,this.options=a,mi(typeof a.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const y=T3(a);this.animation=E3(i,s,u,y,f),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const p=A0(u,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(p):v3(i,s,p),this.animation.cancel()}b?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:a}=this;a==="idle"||a==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const a=this.options?.element;!this.isPseudoElement&&a?.isConnected&&this.animation.commitStyles?.()}get duration(){const a=this.animation.effect?.getComputedTiming?.().duration||0;return jr(Number(a))}get iterationDuration(){const{delay:a=0}=this.options||{};return this.duration+jr(a)}get time(){return jr(Number(this.animation.currentTime)||0)}set time(a){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Br(a)}get speed(){return this.animation.playbackRate}set speed(a){a<0&&(this.finishedTime=null),this.animation.playbackRate=a}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(a){this.manualStartTime=this.animation.startTime=a}attachTimeline({timeline:a,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,a&&x3()?(this.animation.timeline=a,Lr):i(this)}}const SA={anticipate:JN,backInOut:ZN,circInOut:WN};function k3(n){return n in SA}function D3(n){typeof n.ease=="string"&&k3(n.ease)&&(n.ease=SA[n.ease])}const $g=10;class N3 extends xA{constructor(a){D3(a),mA(a),super(a),a.startTime!==void 0&&(this.startTime=a.startTime),this.options=a}updateMotionValue(a){const{motionValue:i,onUpdate:s,onComplete:u,element:f,...d}=this.options;if(!i)return;if(a!==void 0){i.set(a);return}const h=new R0({...d,autoplay:!1}),b=Math.max($g,Ln.now()-this.startTime),y=Va(0,$g,b-$g);i.setWithVelocity(h.sample(Math.max(0,b-y)).value,h.sample(b).value,y),h.stop()}}const Tk=(n,a)=>a==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(uo.test(n)||n==="0")&&!n.startsWith("url("));function A3(n){const a=n[0];if(n.length===1)return!0;for(let i=0;i<n.length;i++)if(n[i]!==a)return!0}function C3(n,a,i,s){const u=n[0];if(u===null)return!1;if(a==="display"||a==="visibility")return!0;const f=n[n.length-1],d=Tk(u,a),h=Tk(f,a);return Dl(d===h,`You are trying to animate ${a} from "${u}" to "${f}". "${d?f:u}" is not an animatable value.`,"value-not-animatable"),!d||!h?!1:A3(n)||(i==="spring"||vA(i))&&s}function Lb(n){n.duration=0,n.type="keyframes"}const R3=new Set(["opacity","clipPath","filter","transform"]),z3=b0(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function O3(n){const{motionValue:a,name:i,repeatDelay:s,repeatType:u,damping:f,type:d}=n;if(!(a?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:b,transformTemplate:y}=a.owner.getProps();return z3()&&i&&R3.has(i)&&(i!=="transform"||!y)&&!b&&!s&&u!=="mirror"&&f!==0&&d!=="inertia"}const M3=40;class _3 extends C0{constructor({autoplay:a=!0,delay:i=0,type:s="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:d="loop",keyframes:h,name:b,motionValue:y,element:p,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ln.now();const x={autoplay:a,delay:i,type:s,repeat:u,repeatDelay:f,repeatType:d,name:b,motionValue:y,element:p,...v},S=p?.KeyframeResolver||z0;this.keyframeResolver=new S(h,(N,V,R)=>this.onKeyframesResolved(N,V,x,!R),b,y,p),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(a,i,s,u){this.keyframeResolver=void 0;const{name:f,type:d,velocity:h,delay:b,isHandoff:y,onUpdate:p}=s;this.resolvedAt=Ln.now(),C3(a,f,d,h)||((pi.instantAnimations||!b)&&p?.(A0(a,s,i)),a[0]=a[a.length-1],Lb(s),s.repeat=0);const x={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>M3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...s,keyframes:a},S=!y&&O3(x),N=x.motionValue?.owner?.current,V=S?new N3({...x,element:N}):new R0(x);V.finished.then(()=>{this.notifyFinished()}).catch(Lr),this.pendingTimeline&&(this.stopTimeline=V.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=V}get finished(){return this._animation?this.animation.finished:this._finished}then(a,i){return this.finished.finally(a).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),g3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(a){this.animation.time=a}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(a){this.animation.speed=a}get startTime(){return this.animation.startTime}attachTimeline(a){return this._animation?this.stopTimeline=this.animation.attachTimeline(a):this.pendingTimeline=a,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function wA(n,a,i,s=0,u=1){const f=Array.from(n).sort((y,p)=>y.sortNodePosition(p)).indexOf(a),d=n.size,h=(d-1)*s;return typeof i=="function"?i(f,d):u===1?f*s:h-f*s}const U3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function j3(n){const a=U3.exec(n);if(!a)return[,];const[,i,s,u]=a;return[`--${i??s}`,u]}const V3=4;function EA(n,a,i=1){mi(i<=V3,`Max CSS variable fallback depth detected in property "${n}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[s,u]=j3(n);if(!s)return;const f=window.getComputedStyle(a).getPropertyValue(s);if(f){const d=f.trim();return qN(d)?parseFloat(d):d}return E0(u)?EA(u,a,i+1):u}const L3={type:"spring",stiffness:500,damping:25,restSpeed:10},B3=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),H3={type:"keyframes",duration:.8},P3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},q3=(n,{keyframes:a})=>a.length>2?H3:Cl.has(n)?n.startsWith("scale")?B3(a[1]):L3:P3,I3=n=>n!==null;function F3(n,{repeat:a,repeatType:i="loop"},s){const u=n.filter(I3),f=a&&i!=="loop"&&a%2===1?0:u.length-1;return u[f]}function TA(n,a){if(n?.inherit&&a){const{inherit:i,...s}=n;return{...a,...s}}return n}function O0(n,a){const i=n?.[a]??n?.default??n;return i!==n?TA(i,n):i}function Y3({when:n,delay:a,delayChildren:i,staggerChildren:s,staggerDirection:u,repeat:f,repeatType:d,repeatDelay:h,from:b,elapsed:y,...p}){return!!Object.keys(p).length}const M0=(n,a,i,s={},u,f)=>d=>{const h=O0(s,n)||{},b=h.delay||s.delay||0;let{elapsed:y=0}=s;y=y-Br(b);const p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:a.getVelocity(),...h,delay:-y,onUpdate:x=>{a.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:n,motionValue:a,element:f?void 0:u};Y3(h)||Object.assign(p,q3(n,p)),p.duration&&(p.duration=Br(p.duration)),p.repeatDelay&&(p.repeatDelay=Br(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let v=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(Lb(p),p.delay===0&&(v=!0)),(pi.instantAnimations||pi.skipAnimations||u?.shouldSkipAnimations)&&(v=!0,Lb(p),p.delay=0),p.allowFlatten=!h.type&&!h.ease,v&&!f&&a.get()!==void 0){const x=F3(p.keyframes,h);if(x!==void 0){kt.update(()=>{p.onUpdate(x),p.onComplete()});return}}return h.isSync?new R0(p):new _3(p)};function kk(n){const a=[{},{}];return n?.values.forEach((i,s)=>{a[0][s]=i.get(),a[1][s]=i.getVelocity()}),a}function _0(n,a,i,s){if(typeof a=="function"){const[u,f]=kk(s);a=a(i!==void 0?i:n.custom,u,f)}if(typeof a=="string"&&(a=n.variants&&n.variants[a]),typeof a=="function"){const[u,f]=kk(s);a=a(i!==void 0?i:n.custom,u,f)}return a}function Sl(n,a,i){const s=n.getProps();return _0(s,a,i!==void 0?i:s.custom,n)}const kA=new Set(["width","height","top","left","right","bottom",...Al]),Dk=30,G3=n=>!isNaN(parseFloat(n));class $3{constructor(a,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const u=Ln.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(a),this.owner=i.owner}setCurrent(a){this.current=a,this.updatedAt=Ln.now(),this.canTrackVelocity===null&&a!==void 0&&(this.canTrackVelocity=G3(this.current))}setPrevFrameValue(a=this.current){this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt}onChange(a){return x0(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",a)}on(a,i){this.events[a]||(this.events[a]=new v0);const s=this.events[a].add(i);return a==="change"?()=>{s(),kt.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const a in this.events)this.events[a].clear()}attach(a,i){this.passiveEffect=a,this.stopPassiveEffect=i}set(a){this.passiveEffect?this.passiveEffect(a,this.updateAndNotify):this.updateAndNotify(a)}setWithVelocity(a,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=a,this.prevUpdatedAt=this.updatedAt-s}jump(a,i=!0){this.updateAndNotify(a),this.prev=a,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(a){this.dependents||(this.dependents=new Set),this.dependents.add(a)}removeDependent(a){this.dependents&&this.dependents.delete(a)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const a=Ln.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||a-this.updatedAt>Dk)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,Dk);return YN(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(a){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=a(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Tl(n,a){return new $3(n,a)}const Bb=n=>Array.isArray(n);function X3(n,a,i){n.hasValue(a)?n.getValue(a).set(i):n.addValue(a,Tl(i))}function Q3(n){return Bb(n)?n[n.length-1]||0:n}function Z3(n,a){const i=Sl(n,a);let{transitionEnd:s={},transition:u={},...f}=i||{};f={...f,...s};for(const d in f){const h=Q3(f[d]);X3(n,d,h)}}const En=n=>!!(n&&n.getVelocity);function J3(n){return!!(En(n)&&n.add)}function Hb(n,a){const i=n.getValue("willChange");if(J3(i))return i.add(a);if(!i&&pi.WillChange){const s=new pi.WillChange("auto");n.addValue("willChange",s),s.add(a)}}function U0(n){return n.replace(/([A-Z])/g,a=>`-${a.toLowerCase()}`)}const K3="framerAppearId",DA="data-"+U0(K3);function NA(n){return n.props[DA]}function W3({protectedKeys:n,needsAnimating:a},i){const s=n.hasOwnProperty(i)&&a[i]!==!0;return a[i]=!1,s}function AA(n,a,{delay:i=0,transitionOverride:s,type:u}={}){let{transition:f,transitionEnd:d,...h}=a;const b=n.getDefaultTransition();f=f?TA(f,b):b;const y=f?.reduceMotion;s&&(f=s);const p=[],v=u&&n.animationState&&n.animationState.getState()[u];for(const x in h){const S=n.getValue(x,n.latestValues[x]??null),N=h[x];if(N===void 0||v&&W3(v,x))continue;const V={delay:i,...O0(f||{},x)},R=S.get();if(R!==void 0&&!S.isAnimating&&!Array.isArray(N)&&N===R&&!V.velocity)continue;let _=!1;if(window.MotionHandoffAnimation){const ie=NA(n);if(ie){const re=window.MotionHandoffAnimation(ie,x,kt);re!==null&&(V.startTime=re,_=!0)}}Hb(n,x);const X=y??n.shouldReduceMotion;S.start(M0(x,S,N,X&&kA.has(x)?{type:!1}:V,n,_));const I=S.animation;I&&p.push(I)}if(d){const x=()=>kt.update(()=>{d&&Z3(n,d)});p.length?Promise.all(p).then(x):x()}return p}function Pb(n,a,i={}){const s=Sl(n,a,i.type==="exit"?n.presenceContext?.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(u=i.transitionOverride);const f=s?()=>Promise.all(AA(n,s,i)):()=>Promise.resolve(),d=n.variantChildren&&n.variantChildren.size?(b=0)=>{const{delayChildren:y=0,staggerChildren:p,staggerDirection:v}=u;return ej(n,a,b,y,p,v,i)}:()=>Promise.resolve(),{when:h}=u;if(h){const[b,y]=h==="beforeChildren"?[f,d]:[d,f];return b().then(()=>y())}else return Promise.all([f(),d(i.delay)])}function ej(n,a,i=0,s=0,u=0,f=1,d){const h=[];for(const b of n.variantChildren)b.notify("AnimationStart",a),h.push(Pb(b,a,{...d,delay:i+(typeof s=="function"?0:s)+wA(n.variantChildren,b,s,u,f)}).then(()=>b.notify("AnimationComplete",a)));return Promise.all(h)}function tj(n,a,i={}){n.notify("AnimationStart",a);let s;if(Array.isArray(a)){const u=a.map(f=>Pb(n,f,i));s=Promise.all(u)}else if(typeof a=="string")s=Pb(n,a,i);else{const u=typeof a=="function"?Sl(n,a,i.custom):a;s=Promise.all(AA(n,u,i))}return s.then(()=>{n.notify("AnimationComplete",a)})}const nj={test:n=>n==="auto",parse:n=>n},CA=n=>a=>a.test(n),RA=[Nl,Ne,ja,io,CU,AU,nj],Nk=n=>RA.find(CA(n));function rj(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||FN(n):!0}const aj=new Set(["brightness","contrast","saturate","opacity"]);function ij(n){const[a,i]=n.slice(0,-1).split("(");if(a==="drop-shadow")return n;const[s]=i.match(T0)||[];if(!s)return n;const u=i.replace(s,"");let f=aj.has(a)?1:0;return s!==i&&(f*=100),a+"("+f+u+")"}const oj=/\b([a-z-]*)\(.*?\)/gu,qb={...uo,getAnimatableNone:n=>{const a=n.match(oj);return a?a.map(ij).join(" "):n}},Ak={...Nl,transform:Math.round},sj={rotate:io,rotateX:io,rotateY:io,rotateZ:io,scale:oh,scaleX:oh,scaleY:oh,scaleZ:oh,skew:io,skewX:io,skewY:io,distance:Ne,translateX:Ne,translateY:Ne,translateZ:Ne,x:Ne,y:Ne,z:Ne,perspective:Ne,transformPerspective:Ne,opacity:kc,originX:mk,originY:mk,originZ:Ne},j0={borderWidth:Ne,borderTopWidth:Ne,borderRightWidth:Ne,borderBottomWidth:Ne,borderLeftWidth:Ne,borderRadius:Ne,borderTopLeftRadius:Ne,borderTopRightRadius:Ne,borderBottomRightRadius:Ne,borderBottomLeftRadius:Ne,width:Ne,maxWidth:Ne,height:Ne,maxHeight:Ne,top:Ne,right:Ne,bottom:Ne,left:Ne,inset:Ne,insetBlock:Ne,insetBlockStart:Ne,insetBlockEnd:Ne,insetInline:Ne,insetInlineStart:Ne,insetInlineEnd:Ne,padding:Ne,paddingTop:Ne,paddingRight:Ne,paddingBottom:Ne,paddingLeft:Ne,paddingBlock:Ne,paddingBlockStart:Ne,paddingBlockEnd:Ne,paddingInline:Ne,paddingInlineStart:Ne,paddingInlineEnd:Ne,margin:Ne,marginTop:Ne,marginRight:Ne,marginBottom:Ne,marginLeft:Ne,marginBlock:Ne,marginBlockStart:Ne,marginBlockEnd:Ne,marginInline:Ne,marginInlineStart:Ne,marginInlineEnd:Ne,fontSize:Ne,backgroundPositionX:Ne,backgroundPositionY:Ne,...sj,zIndex:Ak,fillOpacity:kc,strokeOpacity:kc,numOctaves:Ak},lj={...j0,color:Kt,backgroundColor:Kt,outlineColor:Kt,fill:Kt,stroke:Kt,borderColor:Kt,borderTopColor:Kt,borderRightColor:Kt,borderBottomColor:Kt,borderLeftColor:Kt,filter:qb,WebkitFilter:qb},zA=n=>lj[n];function OA(n,a){let i=zA(n);return i!==qb&&(i=uo),i.getAnimatableNone?i.getAnimatableNone(a):void 0}const uj=new Set(["auto","none","0"]);function cj(n,a,i){let s=0,u;for(;s<n.length&&!u;){const f=n[s];typeof f=="string"&&!uj.has(f)&&Dc(f).values.length&&(u=n[s]),s++}if(u&&i)for(const f of a)n[f]=OA(i,u)}class fj extends z0{constructor(a,i,s,u,f){super(a,i,s,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:a,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let p=0;p<a.length;p++){let v=a[p];if(typeof v=="string"&&(v=v.trim(),E0(v))){const x=EA(v,i.current);x!==void 0&&(a[p]=x),p===a.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!kA.has(s)||a.length!==2)return;const[u,f]=a,d=Nk(u),h=Nk(f),b=hk(u),y=hk(f);if(b!==y&&oo[s]){this.needsMeasurement=!0;return}if(d!==h)if(wk(d)&&wk(h))for(let p=0;p<a.length;p++){const v=a[p];typeof v=="string"&&(a[p]=parseFloat(v))}else oo[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:a,name:i}=this,s=[];for(let u=0;u<a.length;u++)(a[u]===null||rj(a[u]))&&s.push(u);s.length&&cj(a,s,i)}measureInitialState(){const{element:a,unresolvedKeyframes:i,name:s}=this;if(!a||!a.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=oo[s](a.measureViewportBox(),window.getComputedStyle(a.current)),i[0]=this.measuredOrigin;const u=i[i.length-1];u!==void 0&&a.getValue(s,u).jump(u,!1)}measureEndState(){const{element:a,name:i,unresolvedKeyframes:s}=this;if(!a||!a.current)return;const u=a.getValue(i);u&&u.jump(this.measuredOrigin,!1);const f=s.length-1,d=s[f];s[f]=oo[i](a.measureViewportBox(),window.getComputedStyle(a.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,b])=>{a.getValue(h).set(b)}),this.resolveNoneKeyframes()}}const dj=new Set(["opacity","clipPath","filter","transform"]);function MA(n,a,i){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let s=document;const u=i?.[n]??s.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(s=>s!=null)}const _A=(n,a)=>a&&typeof n=="number"?a.transform(n):n;function Ib(n){return IN(n)&&"offsetHeight"in n}const{schedule:V0}=nA(queueMicrotask,!1),ta={x:!1,y:!1};function UA(){return ta.x||ta.y}function hj(n){return n==="x"||n==="y"?ta[n]?null:(ta[n]=!0,()=>{ta[n]=!1}):ta.x||ta.y?null:(ta.x=ta.y=!0,()=>{ta.x=ta.y=!1})}function jA(n,a){const i=MA(n),s=new AbortController,u={passive:!0,...a,signal:s.signal};return[i,u,()=>s.abort()]}function mj(n){return!(n.pointerType==="touch"||UA())}function pj(n,a,i={}){const[s,u,f]=jA(n,i);return s.forEach(d=>{let h=!1,b=!1,y;const p=()=>{d.removeEventListener("pointerleave",N)},v=R=>{y&&(y(R),y=void 0),p()},x=R=>{h=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),b&&(b=!1,v(R))},S=()=>{h=!0,window.addEventListener("pointerup",x,u),window.addEventListener("pointercancel",x,u)},N=R=>{if(R.pointerType!=="touch"){if(h){b=!0;return}v(R)}},V=R=>{if(!mj(R))return;b=!1;const _=a(d,R);typeof _=="function"&&(y=_,d.addEventListener("pointerleave",N,u))};d.addEventListener("pointerenter",V,u),d.addEventListener("pointerdown",S,u)}),f}const VA=(n,a)=>a?n===a?!0:VA(n,a.parentElement):!1,L0=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,yj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function gj(n){return yj.has(n.tagName)||n.isContentEditable===!0}const bj=new Set(["INPUT","SELECT","TEXTAREA"]);function vj(n){return bj.has(n.tagName)||n.isContentEditable===!0}const bh=new WeakSet;function Ck(n){return a=>{a.key==="Enter"&&n(a)}}function Xg(n,a){n.dispatchEvent(new PointerEvent("pointer"+a,{isPrimary:!0,bubbles:!0}))}const xj=(n,a)=>{const i=n.currentTarget;if(!i)return;const s=Ck(()=>{if(bh.has(i))return;Xg(i,"down");const u=Ck(()=>{Xg(i,"up")}),f=()=>Xg(i,"cancel");i.addEventListener("keyup",u,a),i.addEventListener("blur",f,a)});i.addEventListener("keydown",s,a),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),a)};function Rk(n){return L0(n)&&!UA()}const zk=new WeakSet;function Sj(n,a,i={}){const[s,u,f]=jA(n,i),d=h=>{const b=h.currentTarget;if(!Rk(h)||zk.has(h))return;bh.add(b),i.stopPropagation&&zk.add(h);const y=a(b,h),p=(S,N)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),bh.has(b)&&bh.delete(b),Rk(S)&&typeof y=="function"&&y(S,{success:N})},v=S=>{p(S,b===window||b===document||i.useGlobalTarget||VA(b,S.target))},x=S=>{p(S,!1)};window.addEventListener("pointerup",v,u),window.addEventListener("pointercancel",x,u)};return s.forEach(h=>{(i.useGlobalTarget?window:h).addEventListener("pointerdown",d,u),Ib(h)&&(h.addEventListener("focus",y=>xj(y,u)),!gj(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),f}function B0(n){return IN(n)&&"ownerSVGElement"in n}const vh=new WeakMap;let xh;const LA=(n,a,i)=>(s,u)=>u&&u[0]?u[0][n+"Size"]:B0(s)&&"getBBox"in s?s.getBBox()[a]:s[i],wj=LA("inline","width","offsetWidth"),Ej=LA("block","height","offsetHeight");function Tj({target:n,borderBoxSize:a}){vh.get(n)?.forEach(i=>{i(n,{get width(){return wj(n,a)},get height(){return Ej(n,a)}})})}function kj(n){n.forEach(Tj)}function Dj(){typeof ResizeObserver>"u"||(xh=new ResizeObserver(kj))}function Nj(n,a){xh||Dj();const i=MA(n);return i.forEach(s=>{let u=vh.get(s);u||(u=new Set,vh.set(s,u)),u.add(a),xh?.observe(s)}),()=>{i.forEach(s=>{const u=vh.get(s);u?.delete(a),u?.size||xh?.unobserve(s)})}}const Sh=new Set;let gl;function Aj(){gl=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};Sh.forEach(a=>a(n))},window.addEventListener("resize",gl)}function Cj(n){return Sh.add(n),gl||Aj(),()=>{Sh.delete(n),!Sh.size&&typeof gl=="function"&&(window.removeEventListener("resize",gl),gl=void 0)}}function Ok(n,a){return typeof n=="function"?Cj(n):Nj(n,a)}function Rj(n){return B0(n)&&n.tagName==="svg"}const zj=[...RA,Kt,uo],Oj=n=>zj.find(CA(n)),Mk=()=>({translate:0,scale:1,origin:0,originPoint:0}),bl=()=>({x:Mk(),y:Mk()}),_k=()=>({min:0,max:0}),rn=()=>({x:_k(),y:_k()}),Mj=new WeakMap;function Ih(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function Nc(n){return typeof n=="string"||Array.isArray(n)}const H0=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],P0=["initial",...H0];function Fh(n){return Ih(n.animate)||P0.some(a=>Nc(n[a]))}function BA(n){return!!(Fh(n)||n.variants)}function _j(n,a,i){for(const s in a){const u=a[s],f=i[s];if(En(u))n.addValue(s,u);else if(En(f))n.addValue(s,Tl(u,{owner:n}));else if(f!==u)if(n.hasValue(s)){const d=n.getValue(s);d.liveStyle===!0?d.jump(u):d.hasAnimated||d.set(u)}else{const d=n.getStaticValue(s);n.addValue(s,Tl(d!==void 0?d:u,{owner:n}))}}for(const s in i)a[s]===void 0&&n.removeValue(s);return a}const Fb={current:null},HA={current:!1},Uj=typeof window<"u";function jj(){if(HA.current=!0,!!Uj)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),a=()=>Fb.current=n.matches;n.addEventListener("change",a),a()}else Fb.current=!1}const Uk=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Mh={};function PA(n){Mh=n}function Vj(){return Mh}class Lj{scrapeMotionValuesFromProps(a,i,s){return{}}constructor({parent:a,props:i,presenceContext:s,reducedMotionConfig:u,skipAnimations:f,blockInitialAnimation:d,visualState:h},b={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=z0,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=Ln.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,kt.render(this.render,!1,!0))};const{latestValues:y,renderState:p}=h;this.latestValues=y,this.baseTarget={...y},this.initialValues=i.initial?{...y}:{},this.renderState=p,this.parent=a,this.props=i,this.presenceContext=s,this.depth=a?a.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=f,this.options=b,this.blockInitialAnimation=!!d,this.isControllingVariants=Fh(i),this.isVariantNode=BA(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(a&&a.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const S in x){const N=x[S];y[S]!==void 0&&En(N)&&N.set(y[S])}}mount(a){if(this.hasBeenMounted)for(const i in this.initialValues)this.values.get(i)?.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=a,Mj.set(a,this),this.projection&&!this.projection.instance&&this.projection.mount(a),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(HA.current||jj(),this.shouldReduceMotion=Fb.current),x0(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),lo(this.notifyUpdate),lo(this.render),this.valueSubscriptions.forEach(a=>a()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const a in this.events)this.events[a].clear();for(const a in this.features){const i=this.features[a];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(a){this.children.add(a),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(a)}removeChild(a){this.children.delete(a),this.enteringChildren&&this.enteringChildren.delete(a)}bindToMotionValue(a,i){if(this.valueSubscriptions.has(a)&&this.valueSubscriptions.get(a)(),i.accelerate&&dj.has(a)&&this.current instanceof HTMLElement){const{factory:d,keyframes:h,times:b,ease:y,duration:p}=i.accelerate,v=new xA({element:this.current,name:a,keyframes:h,times:b,ease:y,duration:Br(p)}),x=d(v);this.valueSubscriptions.set(a,()=>{x(),v.cancel()});return}const s=Cl.has(a);s&&this.onBindTransform&&this.onBindTransform();const u=i.on("change",d=>{this.latestValues[a]=d,this.props.onUpdate&&kt.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,a,i)),this.valueSubscriptions.set(a,()=>{u(),f&&f(),i.owner&&i.stop()})}sortNodePosition(a){return!this.current||!this.sortInstanceNodePosition||this.type!==a.type?0:this.sortInstanceNodePosition(this.current,a.current)}updateFeatures(){let a="animation";for(a in Mh){const i=Mh[a];if(!i)continue;const{isEnabled:s,Feature:u}=i;if(!this.features[a]&&u&&s(this.props)&&(this.features[a]=new u(this)),this.features[a]){const f=this.features[a];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rn()}getStaticValue(a){return this.latestValues[a]}setStaticValue(a,i){this.latestValues[a]=i}update(a,i){(a.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=a,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<Uk.length;s++){const u=Uk[s];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,d=a[f];d&&(this.propEventSubscriptions[u]=this.on(u,d))}this.prevMotionValues=_j(this,this.scrapeMotionValuesFromProps(a,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(a){return this.props.variants?this.props.variants[a]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(a){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(a),()=>i.variantChildren.delete(a)}addValue(a,i){const s=this.values.get(a);i!==s&&(s&&this.removeValue(a),this.bindToMotionValue(a,i),this.values.set(a,i),this.latestValues[a]=i.get())}removeValue(a){this.values.delete(a);const i=this.valueSubscriptions.get(a);i&&(i(),this.valueSubscriptions.delete(a)),delete this.latestValues[a],this.removeValueFromRenderState(a,this.renderState)}hasValue(a){return this.values.has(a)}getValue(a,i){if(this.props.values&&this.props.values[a])return this.props.values[a];let s=this.values.get(a);return s===void 0&&i!==void 0&&(s=Tl(i===null?void 0:i,{owner:this}),this.addValue(a,s)),s}readValue(a,i){let s=this.latestValues[a]!==void 0||!this.current?this.latestValues[a]:this.getBaseTargetFromProps(this.props,a)??this.readValueFromInstance(this.current,a,this.options);return s!=null&&(typeof s=="string"&&(qN(s)||FN(s))?s=parseFloat(s):!Oj(s)&&uo.test(i)&&(s=OA(a,i)),this.setBaseTarget(a,En(s)?s.get():s)),En(s)?s.get():s}setBaseTarget(a,i){this.baseTarget[a]=i}getBaseTarget(a){const{initial:i}=this.props;let s;if(typeof i=="string"||typeof i=="object"){const f=_0(this.props,i,this.presenceContext?.custom);f&&(s=f[a])}if(i&&s!==void 0)return s;const u=this.getBaseTargetFromProps(this.props,a);return u!==void 0&&!En(u)?u:this.initialValues[a]!==void 0&&s===void 0?void 0:this.baseTarget[a]}on(a,i){return this.events[a]||(this.events[a]=new v0),this.events[a].add(i)}notify(a,...i){this.events[a]&&this.events[a].notify(...i)}scheduleRenderMicrotask(){V0.render(this.render)}}class qA extends Lj{constructor(){super(...arguments),this.KeyframeResolver=fj}sortInstanceNodePosition(a,i){return a.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(a,i){const s=a.style;return s?s[i]:void 0}removeValueFromRenderState(a,{vars:i,style:s}){delete i[a],delete s[a]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:a}=this.props;En(a)&&(this.childSubscription=a.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class co{constructor(a){this.isMounted=!1,this.node=a}update(){}}function IA({top:n,left:a,right:i,bottom:s}){return{x:{min:a,max:i},y:{min:n,max:s}}}function Bj({x:n,y:a}){return{top:a.min,right:n.max,bottom:a.max,left:n.min}}function Hj(n,a){if(!a)return n;const i=a({x:n.left,y:n.top}),s=a({x:n.right,y:n.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function Qg(n){return n===void 0||n===1}function Yb({scale:n,scaleX:a,scaleY:i}){return!Qg(n)||!Qg(a)||!Qg(i)}function es(n){return Yb(n)||FA(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function FA(n){return jk(n.x)||jk(n.y)}function jk(n){return n&&n!=="0%"}function _h(n,a,i){const s=n-i,u=a*s;return i+u}function Vk(n,a,i,s,u){return u!==void 0&&(n=_h(n,u,s)),_h(n,i,s)+a}function Gb(n,a=0,i=1,s,u){n.min=Vk(n.min,a,i,s,u),n.max=Vk(n.max,a,i,s,u)}function YA(n,{x:a,y:i}){Gb(n.x,a.translate,a.scale,a.originPoint),Gb(n.y,i.translate,i.scale,i.originPoint)}const Lk=.999999999999,Bk=1.0000000000001;function Pj(n,a,i,s=!1){const u=i.length;if(!u)return;a.x=a.y=1;let f,d;for(let h=0;h<u;h++){f=i[h],d=f.projectionDelta;const{visualElement:b}=f.options;b&&b.props.style&&b.props.style.display==="contents"||(s&&f.options.layoutScroll&&f.scroll&&f!==f.root&&xl(n,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),d&&(a.x*=d.x.scale,a.y*=d.y.scale,YA(n,d)),s&&es(f.latestValues)&&xl(n,f.latestValues))}a.x<Bk&&a.x>Lk&&(a.x=1),a.y<Bk&&a.y>Lk&&(a.y=1)}function vl(n,a){n.min=n.min+a,n.max=n.max+a}function Hk(n,a,i,s,u=.5){const f=_t(n.min,n.max,u);Gb(n,a,i,f,s)}function xl(n,a){Hk(n.x,a.x,a.scaleX,a.scale,a.originX),Hk(n.y,a.y,a.scaleY,a.scale,a.originY)}function GA(n,a){return IA(Hj(n.getBoundingClientRect(),a))}function qj(n,a,i){const s=GA(n,i),{scroll:u}=a;return u&&(vl(s.x,u.offset.x),vl(s.y,u.offset.y)),s}const Ij={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Fj=Al.length;function Yj(n,a,i){let s="",u=!0;for(let f=0;f<Fj;f++){const d=Al[f],h=n[d];if(h===void 0)continue;let b=!0;if(typeof h=="number")b=h===(d.startsWith("scale")?1:0);else{const y=parseFloat(h);b=d.startsWith("scale")?y===1:y===0}if(!b||i){const y=_A(h,j0[d]);if(!b){u=!1;const p=Ij[d]||d;s+=`${p}(${y}) `}i&&(a[d]=y)}}return s=s.trim(),i?s=i(a,u?"":s):u&&(s="none"),s}function q0(n,a,i){const{style:s,vars:u,transformOrigin:f}=n;let d=!1,h=!1;for(const b in a){const y=a[b];if(Cl.has(b)){d=!0;continue}else if(aA(b)){u[b]=y;continue}else{const p=_A(y,j0[b]);b.startsWith("origin")?(h=!0,f[b]=p):s[b]=p}}if(a.transform||(d||i?s.transform=Yj(a,n.transform,i):s.transform&&(s.transform="none")),h){const{originX:b="50%",originY:y="50%",originZ:p=0}=f;s.transformOrigin=`${b} ${y} ${p}`}}function $A(n,{style:a,vars:i},s,u){const f=n.style;let d;for(d in a)f[d]=a[d];u?.applyProjectionStyles(f,s);for(d in i)f.setProperty(d,i[d])}function Pk(n,a){return a.max===a.min?0:n/(a.max-a.min)*100}const cc={correct:(n,a)=>{if(!a.target)return n;if(typeof n=="string")if(Ne.test(n))n=parseFloat(n);else return n;const i=Pk(n,a.target.x),s=Pk(n,a.target.y);return`${i}% ${s}%`}},Gj={correct:(n,{treeScale:a,projectionDelta:i})=>{const s=n,u=uo.parse(n);if(u.length>5)return s;const f=uo.createTransformer(n),d=typeof u[0]!="number"?1:0,h=i.x.scale*a.x,b=i.y.scale*a.y;u[0+d]/=h,u[1+d]/=b;const y=_t(h,b,.5);return typeof u[2+d]=="number"&&(u[2+d]/=y),typeof u[3+d]=="number"&&(u[3+d]/=y),f(u)}},$b={borderRadius:{...cc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:cc,borderTopRightRadius:cc,borderBottomLeftRadius:cc,borderBottomRightRadius:cc,boxShadow:Gj};function XA(n,{layout:a,layoutId:i}){return Cl.has(n)||n.startsWith("origin")||(a||i!==void 0)&&(!!$b[n]||n==="opacity")}function I0(n,a,i){const s=n.style,u=a?.style,f={};if(!s)return f;for(const d in s)(En(s[d])||u&&En(u[d])||XA(d,n)||i?.getValue(d)?.liveStyle!==void 0)&&(f[d]=s[d]);return f}function $j(n){return window.getComputedStyle(n)}class Xj extends qA{constructor(){super(...arguments),this.type="html",this.renderInstance=$A}readValueFromInstance(a,i){if(Cl.has(i))return this.projection?.isProjecting?Mb(i):d3(a,i);{const s=$j(a),u=(aA(i)?s.getPropertyValue(i):s[i])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(a,{transformPagePoint:i}){return GA(a,i)}build(a,i,s){q0(a,i,s.transformTemplate)}scrapeMotionValuesFromProps(a,i,s){return I0(a,i,s)}}const Qj={offset:"stroke-dashoffset",array:"stroke-dasharray"},Zj={offset:"strokeDashoffset",array:"strokeDasharray"};function Jj(n,a,i=1,s=0,u=!0){n.pathLength=1;const f=u?Qj:Zj;n[f.offset]=`${-s}`,n[f.array]=`${a} ${i}`}const Kj=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function QA(n,{attrX:a,attrY:i,attrScale:s,pathLength:u,pathSpacing:f=1,pathOffset:d=0,...h},b,y,p){if(q0(n,h,y),b){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:x}=n;v.transform&&(x.transform=v.transform,delete v.transform),(x.transform||v.transformOrigin)&&(x.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),x.transform&&(x.transformBox=p?.transformBox??"fill-box",delete v.transformBox);for(const S of Kj)v[S]!==void 0&&(x[S]=v[S],delete v[S]);a!==void 0&&(v.x=a),i!==void 0&&(v.y=i),s!==void 0&&(v.scale=s),u!==void 0&&Jj(v,u,f,d,!1)}const ZA=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),JA=n=>typeof n=="string"&&n.toLowerCase()==="svg";function Wj(n,a,i,s){$A(n,a,void 0,s);for(const u in a.attrs)n.setAttribute(ZA.has(u)?u:U0(u),a.attrs[u])}function KA(n,a,i){const s=I0(n,a,i);for(const u in n)if(En(n[u])||En(a[u])){const f=Al.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;s[f]=n[u]}return s}class eV extends qA{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rn}getBaseTargetFromProps(a,i){return a[i]}readValueFromInstance(a,i){if(Cl.has(i)){const s=zA(i);return s&&s.default||0}return i=ZA.has(i)?i:U0(i),a.getAttribute(i)}scrapeMotionValuesFromProps(a,i,s){return KA(a,i,s)}build(a,i,s){QA(a,i,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(a,i,s,u){Wj(a,i,s,u)}mount(a){this.isSVGTag=JA(a.tagName),super.mount(a)}}const tV=P0.length;function WA(n){if(!n)return;if(!n.isControllingVariants){const i=n.parent?WA(n.parent)||{}:{};return n.props.initial!==void 0&&(i.initial=n.props.initial),i}const a={};for(let i=0;i<tV;i++){const s=P0[i],u=n.props[s];(Nc(u)||u===!1)&&(a[s]=u)}return a}function eC(n,a){if(!Array.isArray(a))return!1;const i=a.length;if(i!==n.length)return!1;for(let s=0;s<i;s++)if(a[s]!==n[s])return!1;return!0}const nV=[...H0].reverse(),rV=H0.length;function aV(n){return a=>Promise.all(a.map(({animation:i,options:s})=>tj(n,i,s)))}function iV(n){let a=aV(n),i=qk(),s=!0;const u=b=>(y,p)=>{const v=Sl(n,p,b==="exit"?n.presenceContext?.custom:void 0);if(v){const{transition:x,transitionEnd:S,...N}=v;y={...y,...N,...S}}return y};function f(b){a=b(n)}function d(b){const{props:y}=n,p=WA(n.parent)||{},v=[],x=new Set;let S={},N=1/0;for(let R=0;R<rV;R++){const _=nV[R],X=i[_],I=y[_]!==void 0?y[_]:p[_],ie=Nc(I),re=_===b?X.isActive:null;re===!1&&(N=R);let G=I===p[_]&&I!==y[_]&&ie;if(G&&s&&n.manuallyAnimateOnMount&&(G=!1),X.protectedKeys={...S},!X.isActive&&re===null||!I&&!X.prevProp||Ih(I)||typeof I=="boolean")continue;if(_==="exit"&&X.isActive&&re!==!0){X.prevResolvedValues&&(S={...S,...X.prevResolvedValues});continue}const ge=oV(X.prevProp,I);let le=ge||_===b&&X.isActive&&!G&&ie||R>N&&ie,ce=!1;const F=Array.isArray(I)?I:[I];let he=F.reduce(u(_),{});re===!1&&(he={});const{prevResolvedValues:se={}}=X,W={...se,...he},K=ae=>{le=!0,x.has(ae)&&(ce=!0,x.delete(ae)),X.needsAnimating[ae]=!0;const pe=n.getValue(ae);pe&&(pe.liveStyle=!1)};for(const ae in W){const pe=he[ae],Ae=se[ae];if(S.hasOwnProperty(ae))continue;let z=!1;Bb(pe)&&Bb(Ae)?z=!eC(pe,Ae):z=pe!==Ae,z?pe!=null?K(ae):x.add(ae):pe!==void 0&&x.has(ae)?K(ae):X.protectedKeys[ae]=!0}X.prevProp=I,X.prevResolvedValues=he,X.isActive&&(S={...S,...he}),s&&n.blockInitialAnimation&&(le=!1);const oe=G&≥le&&(!oe||ce)&&v.push(...F.map(ae=>{const pe={type:_};if(typeof ae=="string"&&s&&!oe&&n.manuallyAnimateOnMount&&n.parent){const{parent:Ae}=n,z=Sl(Ae,ae);if(Ae.enteringChildren&&z){const{delayChildren:U}=z.transition||{};pe.delay=wA(Ae.enteringChildren,n,U)}}return{animation:ae,options:pe}}))}if(x.size){const R={};if(typeof y.initial!="boolean"){const _=Sl(n,Array.isArray(y.initial)?y.initial[0]:y.initial);_&&_.transition&&(R.transition=_.transition)}x.forEach(_=>{const X=n.getBaseTarget(_),I=n.getValue(_);I&&(I.liveStyle=!0),R[_]=X??null}),v.push({animation:R})}let V=!!v.length;return s&&(y.initial===!1||y.initial===y.animate)&&!n.manuallyAnimateOnMount&&(V=!1),s=!1,V?a(v):Promise.resolve()}function h(b,y){if(i[b].isActive===y)return Promise.resolve();n.variantChildren?.forEach(v=>v.animationState?.setActive(b,y)),i[b].isActive=y;const p=d(b);for(const v in i)i[v].protectedKeys={};return p}return{animateChanges:d,setActive:h,setAnimateFunction:f,getState:()=>i,reset:()=>{i=qk()}}}function oV(n,a){return typeof a=="string"?a!==n:Array.isArray(a)?!eC(a,n):!1}function Ko(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qk(){return{animate:Ko(!0),whileInView:Ko(),whileHover:Ko(),whileTap:Ko(),whileDrag:Ko(),whileFocus:Ko(),exit:Ko()}}function Ik(n,a){n.min=a.min,n.max=a.max}function Wr(n,a){Ik(n.x,a.x),Ik(n.y,a.y)}function Fk(n,a){n.translate=a.translate,n.scale=a.scale,n.originPoint=a.originPoint,n.origin=a.origin}const tC=1e-4,sV=1-tC,lV=1+tC,nC=.01,uV=0-nC,cV=0+nC;function Bn(n){return n.max-n.min}function fV(n,a,i){return Math.abs(n-a)<=i}function Yk(n,a,i,s=.5){n.origin=s,n.originPoint=_t(a.min,a.max,n.origin),n.scale=Bn(i)/Bn(a),n.translate=_t(i.min,i.max,n.origin)-n.originPoint,(n.scale>=sV&&n.scale<=lV||isNaN(n.scale))&&(n.scale=1),(n.translate>=uV&&n.translate<=cV||isNaN(n.translate))&&(n.translate=0)}function vc(n,a,i,s){Yk(n.x,a.x,i.x,s?s.originX:void 0),Yk(n.y,a.y,i.y,s?s.originY:void 0)}function Gk(n,a,i){n.min=i.min+a.min,n.max=n.min+Bn(a)}function dV(n,a,i){Gk(n.x,a.x,i.x),Gk(n.y,a.y,i.y)}function $k(n,a,i){n.min=a.min-i.min,n.max=n.min+Bn(a)}function Uh(n,a,i){$k(n.x,a.x,i.x),$k(n.y,a.y,i.y)}function Xk(n,a,i,s,u){return n-=a,n=_h(n,1/i,s),u!==void 0&&(n=_h(n,1/u,s)),n}function hV(n,a=0,i=1,s=.5,u,f=n,d=n){if(ja.test(a)&&(a=parseFloat(a),a=_t(d.min,d.max,a/100)-d.min),typeof a!="number")return;let h=_t(f.min,f.max,s);n===f&&(h-=a),n.min=Xk(n.min,a,i,h,u),n.max=Xk(n.max,a,i,h,u)}function Qk(n,a,[i,s,u],f,d){hV(n,a[i],a[s],a[u],a.scale,f,d)}const mV=["x","scaleX","originX"],pV=["y","scaleY","originY"];function Zk(n,a,i,s){Qk(n.x,a,mV,i?i.x:void 0,s?s.x:void 0),Qk(n.y,a,pV,i?i.y:void 0,s?s.y:void 0)}function Jk(n){return n.translate===0&&n.scale===1}function rC(n){return Jk(n.x)&&Jk(n.y)}function Kk(n,a){return n.min===a.min&&n.max===a.max}function yV(n,a){return Kk(n.x,a.x)&&Kk(n.y,a.y)}function Wk(n,a){return Math.round(n.min)===Math.round(a.min)&&Math.round(n.max)===Math.round(a.max)}function aC(n,a){return Wk(n.x,a.x)&&Wk(n.y,a.y)}function eD(n){return Bn(n.x)/Bn(n.y)}function tD(n,a){return n.translate===a.translate&&n.scale===a.scale&&n.originPoint===a.originPoint}function Oa(n){return[n("x"),n("y")]}function gV(n,a,i){let s="";const u=n.x.translate/a.x,f=n.y.translate/a.y,d=i?.z||0;if((u||f||d)&&(s=`translate3d(${u}px, ${f}px, ${d}px) `),(a.x!==1||a.y!==1)&&(s+=`scale(${1/a.x}, ${1/a.y}) `),i){const{transformPerspective:y,rotate:p,rotateX:v,rotateY:x,skewX:S,skewY:N}=i;y&&(s=`perspective(${y}px) ${s}`),p&&(s+=`rotate(${p}deg) `),v&&(s+=`rotateX(${v}deg) `),x&&(s+=`rotateY(${x}deg) `),S&&(s+=`skewX(${S}deg) `),N&&(s+=`skewY(${N}deg) `)}const h=n.x.scale*a.x,b=n.y.scale*a.y;return(h!==1||b!==1)&&(s+=`scale(${h}, ${b})`),s||"none"}const iC=["TopLeft","TopRight","BottomLeft","BottomRight"],bV=iC.length,nD=n=>typeof n=="string"?parseFloat(n):n,rD=n=>typeof n=="number"||Ne.test(n);function vV(n,a,i,s,u,f){u?(n.opacity=_t(0,i.opacity??1,xV(s)),n.opacityExit=_t(a.opacity??1,0,SV(s))):f&&(n.opacity=_t(a.opacity??1,i.opacity??1,s));for(let d=0;d<bV;d++){const h=`border${iC[d]}Radius`;let b=aD(a,h),y=aD(i,h);if(b===void 0&&y===void 0)continue;b||(b=0),y||(y=0),b===0||y===0||rD(b)===rD(y)?(n[h]=Math.max(_t(nD(b),nD(y),s),0),(ja.test(y)||ja.test(b))&&(n[h]+="%")):n[h]=y}(a.rotate||i.rotate)&&(n.rotate=_t(a.rotate||0,i.rotate||0,s))}function aD(n,a){return n[a]!==void 0?n[a]:n.borderRadius}const xV=oC(0,.5,KN),SV=oC(.5,.95,Lr);function oC(n,a,i){return s=>s<n?0:s>a?1:i(Tc(n,a,s))}function wV(n,a,i){const s=En(n)?n:Tl(n);return s.start(M0("",s,a,i)),s.animation}function Ac(n,a,i,s={passive:!0}){return n.addEventListener(a,i,s),()=>n.removeEventListener(a,i)}const EV=(n,a)=>n.depth-a.depth;class TV{constructor(){this.children=[],this.isDirty=!1}add(a){g0(this.children,a),this.isDirty=!0}remove(a){Ch(this.children,a),this.isDirty=!0}forEach(a){this.isDirty&&this.children.sort(EV),this.isDirty=!1,this.children.forEach(a)}}function kV(n,a){const i=Ln.now(),s=({timestamp:u})=>{const f=u-i;f>=a&&(lo(s),n(f-a))};return kt.setup(s,!0),()=>lo(s)}function wh(n){return En(n)?n.get():n}class DV{constructor(){this.members=[]}add(a){g0(this.members,a);for(let i=this.members.length-1;i>=0;i--){const s=this.members[i];if(s===a||s===this.lead||s===this.prevLead)continue;const u=s.instance;u&&u.isConnected===!1&&s.isPresent!==!1&&!s.snapshot&&Ch(this.members,s)}a.scheduleRender()}remove(a){if(Ch(this.members,a),a===this.prevLead&&(this.prevLead=void 0),a===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(a){const i=this.members.findIndex(u=>a===u);if(i===0)return!1;let s;for(let u=i;u>=0;u--){const f=this.members[u],d=f.instance;if(f.isPresent!==!1&&(!d||d.isConnected!==!1)){s=f;break}}return s?(this.promote(s),!0):!1}promote(a,i){const s=this.lead;if(a!==s&&(this.prevLead=s,this.lead=a,a.show(),s)){s.instance&&s.scheduleRender(),a.scheduleRender();const u=s.options.layoutDependency,f=a.options.layoutDependency;if(!(u!==void 0&&f!==void 0&&u===f)){const b=s.instance;b&&b.isConnected===!1&&!s.snapshot||(a.resumeFrom=s,i&&(a.resumeFrom.preserveOpacity=!0),s.snapshot&&(a.snapshot=s.snapshot,a.snapshot.latestValues=s.animationValues||s.latestValues),a.root&&a.root.isUpdating&&(a.isLayoutDirty=!0))}const{crossfade:h}=a.options;h===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(a=>{const{options:i,resumingFrom:s}=a;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(a=>{a.instance&&a.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Eh={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Zg=["","X","Y","Z"],NV=1e3;let AV=0;function Jg(n,a,i,s){const{latestValues:u}=a;u[n]&&(i[n]=u[n],a.setStaticValue(n,0),s&&(s[n]=0))}function sC(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:a}=n.options;if(!a)return;const i=NA(a);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:u,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(i,"transform",kt,!(u||f))}const{parent:s}=n;s&&!s.hasCheckedOptimisedAppear&&sC(s)}function lC({attachResizeListener:n,defaultParent:a,measureScroll:i,checkIsScrollRoot:s,resetTransform:u}){return class{constructor(d={},h=a?.()){this.id=AV++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(zV),this.nodes.forEach(UV),this.nodes.forEach(jV),this.nodes.forEach(OV)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let b=0;b<this.path.length;b++)this.path[b].shouldResetTransform=!0;this.root===this&&(this.nodes=new TV)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new v0),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const b=this.eventHandlers.get(d);b&&b.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=B0(d)&&!Rj(d),this.instance=d;const{layoutId:h,layout:b,visualElement:y}=this.options;if(y&&!y.current&&y.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(b||h)&&(this.isLayoutDirty=!0),n){let p,v=0;const x=()=>this.root.updateBlockedByResize=!1;kt.read(()=>{v=window.innerWidth}),n(d,()=>{const S=window.innerWidth;S!==v&&(v=S,this.root.updateBlockedByResize=!0,p&&p(),p=kV(x,250),Eh.hasAnimatedSinceResize&&(Eh.hasAnimatedSinceResize=!1,this.nodes.forEach(sD)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&y&&(h||b)&&this.addEventListener("didUpdate",({delta:p,hasLayoutChanged:v,hasRelativeLayoutChanged:x,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||y.getDefaultTransition()||PV,{onLayoutAnimationStart:V,onLayoutAnimationComplete:R}=y.getProps(),_=!this.targetLayout||!aC(this.targetLayout,S),X=!v&&x;if(this.options.layoutRoot||this.resumeFrom||X||v&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...O0(N,"layout"),onPlay:V,onComplete:R};(y.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(p,X)}else v||sD(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),lo(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(VV),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&sC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const v=this.path[p];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:b}=this.options;if(h===void 0&&!b)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(iD);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(oD);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(_V),this.nodes.forEach(CV),this.nodes.forEach(RV)):this.nodes.forEach(oD),this.clearAllSnapshots();const h=Ln.now();yn.delta=Va(0,1e3/60,h-yn.timestamp),yn.timestamp=h,yn.isProcessing=!0,qg.update.process(yn),qg.preRender.process(yn),qg.render.process(yn),yn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,V0.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(MV),this.sharedNodes.forEach(LV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,kt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){kt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Bn(this.snapshot.measuredBox.x)&&!Bn(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let b=0;b<this.path.length;b++)this.path[b].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=rn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h&&this.instance){const b=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:b,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:b}}}resetTransform(){if(!u)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!rC(this.projectionDelta),b=this.getTransformTemplate(),y=b?b(this.latestValues,""):void 0,p=y!==this.prevTransformTemplateValue;d&&this.instance&&(h||es(this.latestValues)||p)&&(u(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let b=this.removeElementScroll(h);return d&&(b=this.removeTransform(b)),qV(b),{animationId:this.root.animationId,measuredBox:h,layoutBox:b,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return rn();const h=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(IV))){const{scroll:y}=this.root;y&&(vl(h.x,y.offset.x),vl(h.y,y.offset.y))}return h}removeElementScroll(d){const h=rn();if(Wr(h,d),this.scroll?.wasRoot)return h;for(let b=0;b<this.path.length;b++){const y=this.path[b],{scroll:p,options:v}=y;y!==this.root&&p&&v.layoutScroll&&(p.wasRoot&&Wr(h,d),vl(h.x,p.offset.x),vl(h.y,p.offset.y))}return h}applyTransform(d,h=!1){const b=rn();Wr(b,d);for(let y=0;y<this.path.length;y++){const p=this.path[y];!h&&p.options.layoutScroll&&p.scroll&&p!==p.root&&xl(b,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),es(p.latestValues)&&xl(b,p.latestValues)}return es(this.latestValues)&&xl(b,this.latestValues),b}removeTransform(d){const h=rn();Wr(h,d);for(let b=0;b<this.path.length;b++){const y=this.path[b];if(!y.instance||!es(y.latestValues))continue;Yb(y.latestValues)&&y.updateSnapshot();const p=rn(),v=y.measurePageBox();Wr(p,v),Zk(h,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,p)}return es(this.latestValues)&&Zk(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==yn.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const b=!!this.resumingFrom||this!==h;if(!(d||b&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:p,layoutId:v}=this.options;if(!this.layout||!(p||v))return;this.resolvedRelativeTargetAt=yn.timestamp;const x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=rn(),this.targetWithTransforms=rn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),dV(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Wr(this.target,this.layout.layoutBox),YA(this.target,this.targetDelta)):Wr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Yb(this.parent.latestValues)||FA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,h,b){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rn(),this.relativeTargetOrigin=rn(),Uh(this.relativeTargetOrigin,h,b),Wr(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const d=this.getLead(),h=!!this.resumingFrom||this!==d;let b=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(b=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(b=!1),this.resolvedRelativeTargetAt===yn.timestamp&&(b=!1),b)return;const{layout:y,layoutId:p}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||p))return;Wr(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,x=this.treeScale.y;Pj(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=rn());const{target:S}=d;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Fk(this.prevProjectionDelta.x,this.projectionDelta.x),Fk(this.prevProjectionDelta.y,this.projectionDelta.y)),vc(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==x||!tD(this.projectionDelta.x,this.prevProjectionDelta.x)||!tD(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=bl(),this.projectionDelta=bl(),this.projectionDeltaWithTransform=bl()}setAnimationOrigin(d,h=!1){const b=this.snapshot,y=b?b.latestValues:{},p={...this.latestValues},v=bl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=rn(),S=b?b.source:void 0,N=this.layout?this.layout.source:void 0,V=S!==N,R=this.getStack(),_=!R||R.members.length<=1,X=!!(V&&!_&&this.options.crossfade===!0&&!this.path.some(HV));this.animationProgress=0;let I;this.mixTargetDelta=ie=>{const re=ie/1e3;lD(v.x,d.x,re),lD(v.y,d.y,re),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Uh(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),BV(this.relativeTarget,this.relativeTargetOrigin,x,re),I&&yV(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=rn()),Wr(I,this.relativeTarget)),V&&(this.animationValues=p,vV(p,y,this.latestValues,re,X,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=re},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(lo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=kt.update(()=>{Eh.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Tl(0)),this.currentAnimation=wV(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),d.onUpdate&&d.onUpdate(h)},onStop:()=>{},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(NV),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:b,layout:y,latestValues:p}=d;if(!(!h||!b||!y)){if(this!==d&&this.layout&&y&&uC(this.options.animationType,this.layout.layoutBox,y.layoutBox)){b=this.target||rn();const v=Bn(this.layout.layoutBox.x);b.x.min=d.target.x.min,b.x.max=b.x.min+v;const x=Bn(this.layout.layoutBox.y);b.y.min=d.target.y.min,b.y.max=b.y.min+x}Wr(h,b),xl(h,p),vc(this.projectionDeltaWithTransform,this.layoutCorrected,h,p)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new DV),this.sharedNodes.get(d).add(h);const y=h.options.initialPromotionConfig;h.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:b}={}){const y=this.getStack();y&&y.promote(this,b),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:b}=d;if((b.z||b.rotate||b.rotateX||b.rotateY||b.rotateZ||b.skewX||b.skewY)&&(h=!0),!h)return;const y={};b.z&&Jg("z",d,y,this.animationValues);for(let p=0;p<Zg.length;p++)Jg(`rotate${Zg[p]}`,d,y,this.animationValues),Jg(`skew${Zg[p]}`,d,y,this.animationValues);d.render();for(const p in y)d.setStaticValue(p,y[p]),this.animationValues&&(this.animationValues[p]=y[p]);d.scheduleRender()}applyProjectionStyles(d,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const b=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=wh(h?.pointerEvents)||"",d.transform=b?b(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=wh(h?.pointerEvents)||""),this.hasProjected&&!es(this.latestValues)&&(d.transform=b?b({},""):"none",this.hasProjected=!1);return}d.visibility="";const p=y.animationValues||y.latestValues;this.applyTransformsToTarget();let v=gV(this.projectionDeltaWithTransform,this.treeScale,p);b&&(v=b(p,v)),d.transform=v;const{x,y:S}=this.projectionDelta;d.transformOrigin=`${x.origin*100}% ${S.origin*100}% 0`,y.animationValues?d.opacity=y===this?p.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:d.opacity=y===this?p.opacity!==void 0?p.opacity:"":p.opacityExit!==void 0?p.opacityExit:0;for(const N in $b){if(p[N]===void 0)continue;const{correct:V,applyTo:R,isCSSVariable:_}=$b[N],X=v==="none"?p[N]:V(p[N],y);if(R){const I=R.length;for(let ie=0;ie<I;ie++)d[R[ie]]=X}else _?this.options.visualElement.renderState.vars[N]=X:d[N]=X}this.options.layoutId&&(d.pointerEvents=y===this?wh(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(iD),this.root.sharedNodes.clear()}}}function CV(n){n.updateLayout()}function RV(n){const a=n.resumeFrom?.snapshot||n.snapshot;if(n.isLead()&&n.layout&&a&&n.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:s}=n.layout,{animationType:u}=n.options,f=a.source!==n.layout.source;u==="size"?Oa(p=>{const v=f?a.measuredBox[p]:a.layoutBox[p],x=Bn(v);v.min=i[p].min,v.max=v.min+x}):uC(u,a.layoutBox,i)&&Oa(p=>{const v=f?a.measuredBox[p]:a.layoutBox[p],x=Bn(i[p]);v.max=v.min+x,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[p].max=n.relativeTarget[p].min+x)});const d=bl();vc(d,i,a.layoutBox);const h=bl();f?vc(h,n.applyTransform(s,!0),a.measuredBox):vc(h,i,a.layoutBox);const b=!rC(d);let y=!1;if(!n.resumeFrom){const p=n.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:v,layout:x}=p;if(v&&x){const S=rn();Uh(S,a.layoutBox,v.layoutBox);const N=rn();Uh(N,i,x.layoutBox),aC(S,N)||(y=!0),p.options.layoutRoot&&(n.relativeTarget=N,n.relativeTargetOrigin=S,n.relativeParent=p)}}}n.notifyListeners("didUpdate",{layout:i,snapshot:a,delta:h,layoutDelta:d,hasLayoutChanged:b,hasRelativeLayoutChanged:y})}else if(n.isLead()){const{onExitComplete:i}=n.options;i&&i()}n.options.transition=void 0}function zV(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function OV(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function MV(n){n.clearSnapshot()}function iD(n){n.clearMeasurements()}function oD(n){n.isLayoutDirty=!1}function _V(n){const{visualElement:a}=n.options;a&&a.getProps().onBeforeLayoutMeasure&&a.notify("BeforeLayoutMeasure"),n.resetTransform()}function sD(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function UV(n){n.resolveTargetDelta()}function jV(n){n.calcProjection()}function VV(n){n.resetSkewAndRotation()}function LV(n){n.removeLeadSnapshot()}function lD(n,a,i){n.translate=_t(a.translate,0,i),n.scale=_t(a.scale,1,i),n.origin=a.origin,n.originPoint=a.originPoint}function uD(n,a,i,s){n.min=_t(a.min,i.min,s),n.max=_t(a.max,i.max,s)}function BV(n,a,i,s){uD(n.x,a.x,i.x,s),uD(n.y,a.y,i.y,s)}function HV(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const PV={duration:.45,ease:[.4,0,.1,1]},cD=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),fD=cD("applewebkit/")&&!cD("chrome/")?Math.round:Lr;function dD(n){n.min=fD(n.min),n.max=fD(n.max)}function qV(n){dD(n.x),dD(n.y)}function uC(n,a,i){return n==="position"||n==="preserve-aspect"&&!fV(eD(a),eD(i),.2)}function IV(n){return n!==n.root&&n.scroll?.wasRoot}const FV=lC({attachResizeListener:(n,a)=>Ac(n,"resize",a),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Kg={current:void 0},cC=lC({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Kg.current){const n=new FV({});n.mount(window),n.setOptions({layoutScroll:!0}),Kg.current=n}return Kg.current},resetTransform:(n,a)=>{n.style.transform=a!==void 0?a:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),F0=me.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function hD(n,a){if(typeof n=="function")return n(a);n!=null&&(n.current=a)}function YV(...n){return a=>{let i=!1;const s=n.map(u=>{const f=hD(u,a);return!i&&typeof f=="function"&&(i=!0),f});if(i)return()=>{for(let u=0;u<s.length;u++){const f=s[u];typeof f=="function"?f():hD(n[u],null)}}}}function GV(...n){return me.useCallback(YV(...n),n)}class $V extends me.Component{getSnapshotBeforeUpdate(a){const i=this.props.childRef.current;if(i&&a.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=i.offsetParent,u=Ib(s)&&s.offsetWidth||0,f=Ib(s)&&s.offsetHeight||0,d=this.props.sizeRef.current;d.height=i.offsetHeight||0,d.width=i.offsetWidth||0,d.top=i.offsetTop,d.left=i.offsetLeft,d.right=u-d.width-d.left,d.bottom=f-d.height-d.top}return null}componentDidUpdate(){}render(){return this.props.children}}function XV({children:n,isPresent:a,anchorX:i,anchorY:s,root:u,pop:f}){const d=me.useId(),h=me.useRef(null),b=me.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:y}=me.useContext(F0),p=n.props?.ref??n?.ref,v=GV(h,p);return me.useInsertionEffect(()=>{const{width:x,height:S,top:N,left:V,right:R,bottom:_}=b.current;if(a||f===!1||!h.current||!x||!S)return;const X=i==="left"?`left: ${V}`:`right: ${R}`,I=s==="bottom"?`bottom: ${_}`:`top: ${N}`;h.current.dataset.motionPopId=d;const ie=document.createElement("style");y&&(ie.nonce=y);const re=u??document.head;return re.appendChild(ie),ie.sheet&&ie.sheet.insertRule(`
|
|
241
|
+
[data-motion-pop-id="${d}"] {
|
|
242
|
+
position: absolute !important;
|
|
243
|
+
width: ${x}px !important;
|
|
244
|
+
height: ${S}px !important;
|
|
245
|
+
${X}px !important;
|
|
246
|
+
${I}px !important;
|
|
247
|
+
}
|
|
248
|
+
`),()=>{re.contains(ie)&&re.removeChild(ie)}},[a]),Vr.jsx($V,{isPresent:a,childRef:h,sizeRef:b,pop:f,children:f===!1?n:me.cloneElement(n,{ref:v})})}const QV=({children:n,initial:a,isPresent:i,onExitComplete:s,custom:u,presenceAffectsLayout:f,mode:d,anchorX:h,anchorY:b,root:y})=>{const p=y0(ZV),v=me.useId();let x=!0,S=me.useMemo(()=>(x=!1,{id:v,initial:a,isPresent:i,custom:u,onExitComplete:N=>{p.set(N,!0);for(const V of p.values())if(!V)return;s&&s()},register:N=>(p.set(N,!1),()=>p.delete(N))}),[i,p,s]);return f&&x&&(S={...S}),me.useMemo(()=>{p.forEach((N,V)=>p.set(V,!1))},[i]),me.useEffect(()=>{!i&&!p.size&&s&&s()},[i]),n=Vr.jsx(XV,{pop:d==="popLayout",isPresent:i,anchorX:h,anchorY:b,root:y,children:n}),Vr.jsx(qh.Provider,{value:S,children:n})};function ZV(){return new Map}function fC(n=!0){const a=me.useContext(qh);if(a===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:u}=a,f=me.useId();me.useEffect(()=>{if(n)return u(f)},[n]);const d=me.useCallback(()=>n&&s&&s(f),[f,s,n]);return!i&&s?[!1,d]:[!0]}const sh=n=>n.key||"";function mD(n){const a=[];return me.Children.forEach(n,i=>{me.isValidElement(i)&&a.push(i)}),a}const so=({children:n,custom:a,initial:i=!0,onExitComplete:s,presenceAffectsLayout:u=!0,mode:f="sync",propagate:d=!1,anchorX:h="left",anchorY:b="top",root:y})=>{const[p,v]=fC(d),x=me.useMemo(()=>mD(n),[n]),S=d&&!p?[]:x.map(sh),N=me.useRef(!0),V=me.useRef(x),R=y0(()=>new Map),_=me.useRef(new Set),[X,I]=me.useState(x),[ie,re]=me.useState(x);PN(()=>{N.current=!1,V.current=x;for(let le=0;le<ie.length;le++){const ce=sh(ie[le]);S.includes(ce)?(R.delete(ce),_.current.delete(ce)):R.get(ce)!==!0&&R.set(ce,!1)}},[ie,S.length,S.join("-")]);const G=[];if(x!==X){let le=[...x];for(let ce=0;ce<ie.length;ce++){const F=ie[ce],he=sh(F);S.includes(he)||(le.splice(ce,0,F),G.push(F))}return f==="wait"&&G.length&&(le=G),re(mD(le)),I(x),null}f==="wait"&&ie.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:ge}=me.useContext(p0);return Vr.jsx(Vr.Fragment,{children:ie.map(le=>{const ce=sh(le),F=d&&!p?!1:x===ie||S.includes(ce),he=()=>{if(_.current.has(ce))return;if(_.current.add(ce),R.has(ce))R.set(ce,!0);else return;let se=!0;R.forEach(W=>{W||(se=!1)}),se&&(ge?.(),re(V.current),d&&v?.(),s&&s())};return Vr.jsx(QV,{isPresent:F,initial:!N.current||i?void 0:!1,custom:a,presenceAffectsLayout:u,mode:f,root:y,onExitComplete:F?void 0:he,anchorX:h,anchorY:b,children:le},ce)})})},dC=me.createContext({strict:!1}),pD={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let yD=!1;function JV(){if(yD)return;const n={};for(const a in pD)n[a]={isEnabled:i=>pD[a].some(s=>!!i[s])};PA(n),yD=!0}function hC(){return JV(),Vj()}function KV(n){const a=hC();for(const i in n)a[i]={...a[i],...n[i]};PA(a)}const WV=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function jh(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||WV.has(n)}let mC=n=>!jh(n);function e4(n){typeof n=="function"&&(mC=a=>a.startsWith("on")?!jh(a):n(a))}try{e4(require("@emotion/is-prop-valid").default)}catch{}function t4(n,a,i){const s={};for(const u in n)u==="values"&&typeof n.values=="object"||(mC(u)||i===!0&&jh(u)||!a&&!jh(u)||n.draggable&&u.startsWith("onDrag"))&&(s[u]=n[u]);return s}const Yh=me.createContext({});function n4(n,a){if(Fh(n)){const{initial:i,animate:s}=n;return{initial:i===!1||Nc(i)?i:void 0,animate:Nc(s)?s:void 0}}return n.inherit!==!1?a:{}}function r4(n){const{initial:a,animate:i}=n4(n,me.useContext(Yh));return me.useMemo(()=>({initial:a,animate:i}),[gD(a),gD(i)])}function gD(n){return Array.isArray(n)?n.join(" "):n}const Y0=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function pC(n,a,i){for(const s in a)!En(a[s])&&!XA(s,i)&&(n[s]=a[s])}function a4({transformTemplate:n},a){return me.useMemo(()=>{const i=Y0();return q0(i,a,n),Object.assign({},i.vars,i.style)},[a])}function i4(n,a){const i=n.style||{},s={};return pC(s,i,n),Object.assign(s,a4(n,a)),s}function o4(n,a){const i={},s=i4(n,a);return n.drag&&n.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(i.tabIndex=0),i.style=s,i}const yC=()=>({...Y0(),attrs:{}});function s4(n,a,i,s){const u=me.useMemo(()=>{const f=yC();return QA(f,a,JA(s),n.transformTemplate,n.style),{...f.attrs,style:{...f.style}}},[a]);if(n.style){const f={};pC(f,n.style,n),u.style={...f,...u.style}}return u}const l4=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function G0(n){return typeof n!="string"||n.includes("-")?!1:!!(l4.indexOf(n)>-1||/[A-Z]/u.test(n))}function u4(n,a,i,{latestValues:s},u,f=!1,d){const b=(d??G0(n)?s4:o4)(a,s,u,n),y=t4(a,typeof n=="string",f),p=n!==me.Fragment?{...y,...b,ref:i}:{},{children:v}=a,x=me.useMemo(()=>En(v)?v.get():v,[v]);return me.createElement(n,{...p,children:x})}function c4({scrapeMotionValuesFromProps:n,createRenderState:a},i,s,u){return{latestValues:f4(i,s,u,n),renderState:a()}}function f4(n,a,i,s){const u={},f=s(n,{});for(const x in f)u[x]=wh(f[x]);let{initial:d,animate:h}=n;const b=Fh(n),y=BA(n);a&&y&&!b&&n.inherit!==!1&&(d===void 0&&(d=a.initial),h===void 0&&(h=a.animate));let p=i?i.initial===!1:!1;p=p||d===!1;const v=p?h:d;if(v&&typeof v!="boolean"&&!Ih(v)){const x=Array.isArray(v)?v:[v];for(let S=0;S<x.length;S++){const N=_0(n,x[S]);if(N){const{transitionEnd:V,transition:R,..._}=N;for(const X in _){let I=_[X];if(Array.isArray(I)){const ie=p?I.length-1:0;I=I[ie]}I!==null&&(u[X]=I)}for(const X in V)u[X]=V[X]}}}return u}const gC=n=>(a,i)=>{const s=me.useContext(Yh),u=me.useContext(qh),f=()=>c4(n,a,s,u);return i?f():y0(f)},d4=gC({scrapeMotionValuesFromProps:I0,createRenderState:Y0}),h4=gC({scrapeMotionValuesFromProps:KA,createRenderState:yC}),m4=Symbol.for("motionComponentSymbol");function p4(n,a,i){const s=me.useRef(i);me.useInsertionEffect(()=>{s.current=i});const u=me.useRef(null);return me.useCallback(f=>{f&&n.onMount?.(f),a&&(f?a.mount(f):a.unmount());const d=s.current;if(typeof d=="function")if(f){const h=d(f);typeof h=="function"&&(u.current=h)}else u.current?(u.current(),u.current=null):d(f);else d&&(d.current=f)},[a])}const bC=me.createContext({});function ml(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function y4(n,a,i,s,u,f){const{visualElement:d}=me.useContext(Yh),h=me.useContext(dC),b=me.useContext(qh),y=me.useContext(F0),p=y.reducedMotion,v=y.skipAnimations,x=me.useRef(null),S=me.useRef(!1);s=s||h.renderer,!x.current&&s&&(x.current=s(n,{visualState:a,parent:d,props:i,presenceContext:b,blockInitialAnimation:b?b.initial===!1:!1,reducedMotionConfig:p,skipAnimations:v,isSVG:f}),S.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));const N=x.current,V=me.useContext(bC);N&&!N.projection&&u&&(N.type==="html"||N.type==="svg")&&g4(x.current,i,u,V);const R=me.useRef(!1);me.useInsertionEffect(()=>{N&&R.current&&N.update(i,b)});const _=i[DA],X=me.useRef(!!_&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return PN(()=>{S.current=!0,N&&(R.current=!0,window.MotionIsMounted=!0,N.updateFeatures(),N.scheduleRenderMicrotask(),X.current&&N.animationState&&N.animationState.animateChanges())}),me.useEffect(()=>{N&&(!X.current&&N.animationState&&N.animationState.animateChanges(),X.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),X.current=!1),N.enteringChildren=void 0)}),N}function g4(n,a,i,s){const{layoutId:u,layout:f,drag:d,dragConstraints:h,layoutScroll:b,layoutRoot:y,layoutCrossfade:p}=a;n.projection=new i(n.latestValues,a["data-framer-portal-id"]?void 0:vC(n.parent)),n.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!d||h&&ml(h),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:s,crossfade:p,layoutScroll:b,layoutRoot:y})}function vC(n){if(n)return n.options.allowProjection!==!1?n.projection:vC(n.parent)}function Wg(n,{forwardMotionProps:a=!1,type:i}={},s,u){s&&KV(s);const f=i?i==="svg":G0(n),d=f?h4:d4;function h(y,p){let v;const x={...me.useContext(F0),...y,layoutId:b4(y)},{isStatic:S}=x,N=r4(y),V=d(y,S);if(!S&&HN){v4(x,s);const R=x4(x);v=R.MeasureLayout,N.visualElement=y4(n,V,x,u,R.ProjectionNode,f)}return Vr.jsxs(Yh.Provider,{value:N,children:[v&&N.visualElement?Vr.jsx(v,{visualElement:N.visualElement,...x}):null,u4(n,y,p4(V,N.visualElement,p),V,S,a,f)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const b=me.forwardRef(h);return b[m4]=n,b}function b4({layoutId:n}){const a=me.useContext(p0).id;return a&&n!==void 0?a+"-"+n:n}function v4(n,a){const i=me.useContext(dC).strict;if(a&&i){const s="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?Dl(!1,s,"lazy-strict-mode"):mi(!1,s,"lazy-strict-mode")}}function x4(n){const a=hC(),{drag:i,layout:s}=a;if(!i&&!s)return{};const u={...i,...s};return{MeasureLayout:i?.isEnabled(n)||s?.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}function S4(n,a){if(typeof Proxy>"u")return Wg;const i=new Map,s=(f,d)=>Wg(f,d,n,a),u=(f,d)=>(x0(!1,"motion() is deprecated. Use motion.create() instead."),s(f,d));return new Proxy(u,{get:(f,d)=>d==="create"?s:(i.has(d)||i.set(d,Wg(d,void 0,n,a)),i.get(d))})}const w4=(n,a)=>a.isSVG??G0(n)?new eV(a):new Xj(a,{allowProjection:n!==me.Fragment});class E4 extends co{constructor(a){super(a),a.animationState||(a.animationState=iV(a))}updateAnimationControlsSubscription(){const{animate:a}=this.node.getProps();Ih(a)&&(this.unmountControls=a.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:a}=this.node.getProps(),{animate:i}=this.node.prevProps||{};a!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let T4=0;class k4 extends co{constructor(){super(...arguments),this.id=T4++}update(){if(!this.node.presenceContext)return;const{isPresent:a,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||a===s)return;const u=this.node.animationState.setActive("exit",!a);i&&!a&&u.then(()=>{i(this.id)})}mount(){const{register:a,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),a&&(this.unmount=a(this.id))}unmount(){}}const D4={animation:{Feature:E4},exit:{Feature:k4}};function Uc(n){return{point:{x:n.pageX,y:n.pageY}}}const N4=n=>a=>L0(a)&&n(a,Uc(a));function xc(n,a,i,s){return Ac(n,a,N4(i),s)}const xC=({current:n})=>n?n.ownerDocument.defaultView:null,bD=(n,a)=>Math.abs(n-a);function A4(n,a){const i=bD(n.x,a.x),s=bD(n.y,a.y);return Math.sqrt(i**2+s**2)}const vD=new Set(["auto","scroll"]);class SC{constructor(a,i,{transformPagePoint:s,contextWindow:u=window,dragSnapToOrigin:f=!1,distanceThreshold:d=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=tb(this.lastMoveEventInfo,this.history),N=this.startEvent!==null,V=A4(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!N&&!V)return;const{point:R}=S,{timestamp:_}=yn;this.history.push({...R,timestamp:_});const{onStart:X,onMove:I}=this.handlers;N||(X&&X(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,S)},this.handlePointerMove=(S,N)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=eb(N,this.transformPagePoint),kt.update(this.updatePoint,!0)},this.handlePointerUp=(S,N)=>{this.end();const{onEnd:V,onSessionEnd:R,resumeAnimation:_}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&_&&_(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const X=tb(S.type==="pointercancel"?this.lastMoveEventInfo:eb(N,this.transformPagePoint),this.history);this.startEvent&&V&&V(S,X),R&&R(S,X)},!L0(a))return;this.dragSnapToOrigin=f,this.handlers=i,this.transformPagePoint=s,this.distanceThreshold=d,this.contextWindow=u||window;const b=Uc(a),y=eb(b,this.transformPagePoint),{point:p}=y,{timestamp:v}=yn;this.history=[{...p,timestamp:v}];const{onSessionStart:x}=i;x&&x(a,tb(y,this.history)),this.removeListeners=Oc(xc(this.contextWindow,"pointermove",this.handlePointerMove),xc(this.contextWindow,"pointerup",this.handlePointerUp),xc(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(a){let i=a.parentElement;for(;i;){const s=getComputedStyle(i);(vD.has(s.overflowX)||vD.has(s.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(a){const i=this.scrollPositions.get(a);if(!i)return;const s=a===window,u=s?{x:window.scrollX,y:window.scrollY}:{x:a.scrollLeft,y:a.scrollTop},f={x:u.x-i.x,y:u.y-i.y};f.x===0&&f.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(a,u),kt.update(this.updatePoint,!0))}updateHandlers(a){this.handlers=a}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),lo(this.updatePoint)}}function eb(n,a){return a?{point:a(n.point)}:n}function xD(n,a){return{x:n.x-a.x,y:n.y-a.y}}function tb({point:n},a){return{point:n,delta:xD(n,wC(a)),offset:xD(n,C4(a)),velocity:R4(a,.1)}}function C4(n){return n[0]}function wC(n){return n[n.length-1]}function R4(n,a){if(n.length<2)return{x:0,y:0};let i=n.length-1,s=null;const u=wC(n);for(;i>=0&&(s=n[i],!(u.timestamp-s.timestamp>Br(a)));)i--;if(!s)return{x:0,y:0};s===n[0]&&n.length>2&&u.timestamp-s.timestamp>Br(a)*2&&(s=n[1]);const f=jr(u.timestamp-s.timestamp);if(f===0)return{x:0,y:0};const d={x:(u.x-s.x)/f,y:(u.y-s.y)/f};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function z4(n,{min:a,max:i},s){return a!==void 0&&n<a?n=s?_t(a,n,s.min):Math.max(n,a):i!==void 0&&n>i&&(n=s?_t(i,n,s.max):Math.min(n,i)),n}function SD(n,a,i){return{min:a!==void 0?n.min+a:void 0,max:i!==void 0?n.max+i-(n.max-n.min):void 0}}function O4(n,{top:a,left:i,bottom:s,right:u}){return{x:SD(n.x,i,u),y:SD(n.y,a,s)}}function wD(n,a){let i=a.min-n.min,s=a.max-n.max;return a.max-a.min<n.max-n.min&&([i,s]=[s,i]),{min:i,max:s}}function M4(n,a){return{x:wD(n.x,a.x),y:wD(n.y,a.y)}}function _4(n,a){let i=.5;const s=Bn(n),u=Bn(a);return u>s?i=Tc(a.min,a.max-s,n.min):s>u&&(i=Tc(n.min,n.max-u,a.min)),Va(0,1,i)}function U4(n,a){const i={};return a.min!==void 0&&(i.min=a.min-n.min),a.max!==void 0&&(i.max=a.max-n.min),i}const Xb=.35;function j4(n=Xb){return n===!1?n=0:n===!0&&(n=Xb),{x:ED(n,"left","right"),y:ED(n,"top","bottom")}}function ED(n,a,i){return{min:TD(n,a),max:TD(n,i)}}function TD(n,a){return typeof n=="number"?n:n[a]||0}const V4=new WeakMap;class L4{constructor(a){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=a}start(a,{snapToCursor:i=!1,distanceThreshold:s}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const f=v=>{i&&this.snapToCursor(Uc(v).point),this.stopAnimation()},d=(v,x)=>{const{drag:S,dragPropagation:N,onDragStart:V}=this.getProps();if(S&&!N&&(this.openDragLock&&this.openDragLock(),this.openDragLock=hj(S),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Oa(_=>{let X=this.getAxisMotionValue(_).get()||0;if(ja.test(X)){const{projection:I}=this.visualElement;if(I&&I.layout){const ie=I.layout.layoutBox[_];ie&&(X=Bn(ie)*(parseFloat(X)/100))}}this.originPoint[_]=X}),V&&kt.update(()=>V(v,x),!1,!0),Hb(this.visualElement,"transform");const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},h=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x;const{dragPropagation:S,dragDirectionLock:N,onDirectionLock:V,onDrag:R}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:_}=x;if(N&&this.currentDirection===null){this.currentDirection=H4(_),this.currentDirection!==null&&V&&V(this.currentDirection);return}this.updateAxis("x",x.point,_),this.updateAxis("y",x.point,_),this.visualElement.render(),R&&kt.update(()=>R(v,x),!1,!0)},b=(v,x)=>{this.latestPointerEvent=v,this.latestPanInfo=x,this.stop(v,x),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:p}=this.getProps();this.panSession=new SC(a,{onSessionStart:f,onStart:d,onMove:h,onSessionEnd:b,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,distanceThreshold:s,contextWindow:xC(this.visualElement),element:this.visualElement.current})}stop(a,i){const s=a||this.latestPointerEvent,u=i||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!u||!s)return;const{velocity:d}=u;this.startAnimation(d);const{onDragEnd:h}=this.getProps();h&&kt.postRender(()=>h(s,u))}cancel(){this.isDragging=!1;const{projection:a,animationState:i}=this.visualElement;a&&(a.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(a,i,s){const{drag:u}=this.getProps();if(!s||!lh(a,u,this.currentDirection))return;const f=this.getAxisMotionValue(a);let d=this.originPoint[a]+s[a];this.constraints&&this.constraints[a]&&(d=z4(d,this.constraints[a],this.elastic[a])),f.set(d)}resolveConstraints(){const{dragConstraints:a,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,u=this.constraints;a&&ml(a)?this.constraints||(this.constraints=this.resolveRefConstraints()):a&&s?this.constraints=O4(s.layoutBox,a):this.constraints=!1,this.elastic=j4(i),u!==this.constraints&&!ml(a)&&s&&this.constraints&&!this.hasMutatedConstraints&&Oa(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=U4(s.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:a,onMeasureDragConstraints:i}=this.getProps();if(!a||!ml(a))return!1;const s=a.current;mi(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const f=qj(s,u.root,this.visualElement.getTransformPagePoint());let d=M4(u.layout.layoutBox,f);if(i){const h=i(Bj(d));this.hasMutatedConstraints=!!h,h&&(d=IA(h))}return d}startAnimation(a){const{drag:i,dragMomentum:s,dragElastic:u,dragTransition:f,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),b=this.constraints||{},y=Oa(p=>{if(!lh(p,i,this.currentDirection))return;let v=b&&b[p]||{};d&&(v={min:0,max:0});const x=u?200:1e6,S=u?40:1e7,N={type:"inertia",velocity:s?a[p]:0,bounceStiffness:x,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...f,...v};return this.startAxisValueAnimation(p,N)});return Promise.all(y).then(h)}startAxisValueAnimation(a,i){const s=this.getAxisMotionValue(a);return Hb(this.visualElement,a),s.start(M0(a,s,0,i,this.visualElement,!1))}stopAnimation(){Oa(a=>this.getAxisMotionValue(a).stop())}getAxisMotionValue(a){const i=`_drag${a.toUpperCase()}`,s=this.visualElement.getProps(),u=s[i];return u||this.visualElement.getValue(a,(s.initial?s.initial[a]:void 0)||0)}snapToCursor(a){Oa(i=>{const{drag:s}=this.getProps();if(!lh(i,s,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(i);if(u&&u.layout){const{min:d,max:h}=u.layout.layoutBox[i],b=f.get()||0;f.set(a[i]-_t(d,h,.5)+b)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:a,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!ml(i)||!s||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Oa(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const b=h.get();u[d]=_4({min:b,max:b},this.constraints[d])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),Oa(d=>{if(!lh(d,a,null))return;const h=this.getAxisMotionValue(d),{min:b,max:y}=this.constraints[d];h.set(_t(b,y,u[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;V4.set(this.visualElement,this);const a=this.visualElement.current,i=xc(a,"pointerdown",y=>{const{drag:p,dragListener:v=!0}=this.getProps(),x=y.target,S=x!==a&&vj(x);p&&v&&!S&&this.start(y)});let s;const u=()=>{const{dragConstraints:y}=this.getProps();ml(y)&&y.current&&(this.constraints=this.resolveRefConstraints(),s||(s=B4(a,y.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,d=f.addEventListener("measure",u);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),kt.read(u);const h=Ac(window,"resize",()=>this.scalePositionWithinConstraints()),b=f.addEventListener("didUpdate",(({delta:y,hasLayoutChanged:p})=>{this.isDragging&&p&&(Oa(v=>{const x=this.getAxisMotionValue(v);x&&(this.originPoint[v]+=y[v].translate,x.set(x.get()+y[v].translate))}),this.visualElement.render())}));return()=>{h(),i(),d(),b&&b(),s&&s()}}getProps(){const a=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:d=Xb,dragMomentum:h=!0}=a;return{...a,drag:i,dragDirectionLock:s,dragPropagation:u,dragConstraints:f,dragElastic:d,dragMomentum:h}}}function kD(n){let a=!0;return()=>{if(a){a=!1;return}n()}}function B4(n,a,i){const s=Ok(n,kD(i)),u=Ok(a,kD(i));return()=>{s(),u()}}function lh(n,a,i){return(a===!0||a===n)&&(i===null||i===n)}function H4(n,a=10){let i=null;return Math.abs(n.y)>a?i="y":Math.abs(n.x)>a&&(i="x"),i}class P4 extends co{constructor(a){super(a),this.removeGroupControls=Lr,this.removeListeners=Lr,this.controls=new L4(a)}mount(){const{dragControls:a}=this.node.getProps();a&&(this.removeGroupControls=a.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Lr}update(){const{dragControls:a}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};a!==i&&(this.removeGroupControls(),a&&(this.removeGroupControls=a.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const nb=n=>(a,i)=>{n&&kt.update(()=>n(a,i),!1,!0)};class q4 extends co{constructor(){super(...arguments),this.removePointerDownListener=Lr}onPointerDown(a){this.session=new SC(a,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xC(this.node)})}createPanHandlers(){const{onPanSessionStart:a,onPanStart:i,onPan:s,onPanEnd:u}=this.node.getProps();return{onSessionStart:nb(a),onStart:nb(i),onMove:nb(s),onEnd:(f,d)=>{delete this.session,u&&kt.postRender(()=>u(f,d))}}}mount(){this.removePointerDownListener=xc(this.node.current,"pointerdown",a=>this.onPointerDown(a))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let rb=!1;class I4 extends me.Component{componentDidMount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:s,layoutId:u}=this.props,{projection:f}=a;f&&(i.group&&i.group.add(f),s&&s.register&&u&&s.register(f),rb&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Eh.hasEverUpdated=!0}getSnapshotBeforeUpdate(a){const{layoutDependency:i,visualElement:s,drag:u,isPresent:f}=this.props,{projection:d}=s;return d&&(d.isPresent=f,a.layoutDependency!==i&&d.setOptions({...d.options,layoutDependency:i}),rb=!0,u||a.layoutDependency!==i||i===void 0||a.isPresent!==f?d.willUpdate():this.safeToRemove(),a.isPresent!==f&&(f?d.promote():d.relegate()||kt.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:a}=this.props.visualElement;a&&(a.root.didUpdate(),V0.postRender(()=>{!a.currentAnimation&&a.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:a,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:u}=a;rb=!0,u&&(u.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(u),s&&s.deregister&&s.deregister(u))}safeToRemove(){const{safeToRemove:a}=this.props;a&&a()}render(){return null}}function EC(n){const[a,i]=fC(),s=me.useContext(p0);return Vr.jsx(I4,{...n,layoutGroup:s,switchLayoutGroup:me.useContext(bC),isPresent:a,safeToRemove:i})}const F4={pan:{Feature:q4},drag:{Feature:P4,ProjectionNode:cC,MeasureLayout:EC}};function DD(n,a,i){const{props:s}=n;n.animationState&&s.whileHover&&n.animationState.setActive("whileHover",i==="Start");const u="onHover"+i,f=s[u];f&&kt.postRender(()=>f(a,Uc(a)))}class Y4 extends co{mount(){const{current:a}=this.node;a&&(this.unmount=pj(a,(i,s)=>(DD(this.node,s,"Start"),u=>DD(this.node,u,"End"))))}unmount(){}}class G4 extends co{constructor(){super(...arguments),this.isActive=!1}onFocus(){let a=!1;try{a=this.node.current.matches(":focus-visible")}catch{a=!0}!a||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Oc(Ac(this.node.current,"focus",()=>this.onFocus()),Ac(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ND(n,a,i){const{props:s}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&s.whileTap&&n.animationState.setActive("whileTap",i==="Start");const u="onTap"+(i==="End"?"":i),f=s[u];f&&kt.postRender(()=>f(a,Uc(a)))}class $4 extends co{mount(){const{current:a}=this.node;if(!a)return;const{globalTapTarget:i,propagate:s}=this.node.props;this.unmount=Sj(a,(u,f)=>(ND(this.node,f,"Start"),(d,{success:h})=>ND(this.node,d,h?"End":"Cancel")),{useGlobalTarget:i,stopPropagation:s?.tap===!1})}unmount(){}}const Qb=new WeakMap,ab=new WeakMap,X4=n=>{const a=Qb.get(n.target);a&&a(n)},Q4=n=>{n.forEach(X4)};function Z4({root:n,...a}){const i=n||document;ab.has(i)||ab.set(i,{});const s=ab.get(i),u=JSON.stringify(a);return s[u]||(s[u]=new IntersectionObserver(Q4,{root:n,...a})),s[u]}function J4(n,a,i){const s=Z4(a);return Qb.set(n,i),s.observe(n),()=>{Qb.delete(n),s.unobserve(n)}}const K4={some:0,all:1};class W4 extends co{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:a={}}=this.node.getProps(),{root:i,margin:s,amount:u="some",once:f}=a,d={root:i?i.current:void 0,rootMargin:s,threshold:typeof u=="number"?u:K4[u]},h=b=>{const{isIntersecting:y}=b;if(this.isInView===y||(this.isInView=y,f&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:p,onViewportLeave:v}=this.node.getProps(),x=y?p:v;x&&x(b)};return J4(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:a,prevProps:i}=this.node;["amount","margin","root"].some(e5(a,i))&&this.startObserver()}unmount(){}}function e5({viewport:n={}},{viewport:a={}}={}){return i=>n[i]!==a[i]}const t5={inView:{Feature:W4},tap:{Feature:$4},focus:{Feature:G4},hover:{Feature:Y4}},n5={layout:{ProjectionNode:cC,MeasureLayout:EC}},r5={...D4,...t5,...F4,...n5},Tn=S4(r5,w4);function TC(n,a){return function(){return n.apply(a,arguments)}}const{toString:a5}=Object.prototype,{getPrototypeOf:$0}=Object,{iterator:Gh,toStringTag:kC}=Symbol,$h=(n=>a=>{const i=a5.call(a);return n[i]||(n[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),na=n=>(n=n.toLowerCase(),a=>$h(a)===n),Xh=n=>a=>typeof a===n,{isArray:Rl}=Array,kl=Xh("undefined");function jc(n){return n!==null&&!kl(n)&&n.constructor!==null&&!kl(n.constructor)&&Xn(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const DC=na("ArrayBuffer");function i5(n){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(n):a=n&&n.buffer&&DC(n.buffer),a}const o5=Xh("string"),Xn=Xh("function"),NC=Xh("number"),Vc=n=>n!==null&&typeof n=="object",s5=n=>n===!0||n===!1,Th=n=>{if($h(n)!=="object")return!1;const a=$0(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(kC in n)&&!(Gh in n)},l5=n=>{if(!Vc(n)||jc(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},u5=na("Date"),c5=na("File"),f5=na("Blob"),d5=na("FileList"),h5=n=>Vc(n)&&Xn(n.pipe),m5=n=>{let a;return n&&(typeof FormData=="function"&&n instanceof FormData||Xn(n.append)&&((a=$h(n))==="formdata"||a==="object"&&Xn(n.toString)&&n.toString()==="[object FormData]"))},p5=na("URLSearchParams"),[y5,g5,b5,v5]=["ReadableStream","Request","Response","Headers"].map(na),x5=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Lc(n,a,{allOwnKeys:i=!1}={}){if(n===null||typeof n>"u")return;let s,u;if(typeof n!="object"&&(n=[n]),Rl(n))for(s=0,u=n.length;s<u;s++)a.call(null,n[s],s,n);else{if(jc(n))return;const f=i?Object.getOwnPropertyNames(n):Object.keys(n),d=f.length;let h;for(s=0;s<d;s++)h=f[s],a.call(null,n[h],h,n)}}function AC(n,a){if(jc(n))return null;a=a.toLowerCase();const i=Object.keys(n);let s=i.length,u;for(;s-- >0;)if(u=i[s],a===u.toLowerCase())return u;return null}const rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,CC=n=>!kl(n)&&n!==rs;function Zb(){const{caseless:n,skipUndefined:a}=CC(this)&&this||{},i={},s=(u,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")return;const d=n&&AC(i,f)||f;Th(i[d])&&Th(u)?i[d]=Zb(i[d],u):Th(u)?i[d]=Zb({},u):Rl(u)?i[d]=u.slice():(!a||!kl(u))&&(i[d]=u)};for(let u=0,f=arguments.length;u<f;u++)arguments[u]&&Lc(arguments[u],s);return i}const S5=(n,a,i,{allOwnKeys:s}={})=>(Lc(a,(u,f)=>{i&&Xn(u)?Object.defineProperty(n,f,{value:TC(u,i),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,f,{value:u,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),n),w5=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),E5=(n,a,i,s)=>{n.prototype=Object.create(a.prototype,s),Object.defineProperty(n.prototype,"constructor",{value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{value:a.prototype}),i&&Object.assign(n.prototype,i)},T5=(n,a,i,s)=>{let u,f,d;const h={};if(a=a||{},n==null)return a;do{for(u=Object.getOwnPropertyNames(n),f=u.length;f-- >0;)d=u[f],(!s||s(d,n,a))&&!h[d]&&(a[d]=n[d],h[d]=!0);n=i!==!1&&$0(n)}while(n&&(!i||i(n,a))&&n!==Object.prototype);return a},k5=(n,a,i)=>{n=String(n),(i===void 0||i>n.length)&&(i=n.length),i-=a.length;const s=n.indexOf(a,i);return s!==-1&&s===i},D5=n=>{if(!n)return null;if(Rl(n))return n;let a=n.length;if(!NC(a))return null;const i=new Array(a);for(;a-- >0;)i[a]=n[a];return i},N5=(n=>a=>n&&a instanceof n)(typeof Uint8Array<"u"&&$0(Uint8Array)),A5=(n,a)=>{const s=(n&&n[Gh]).call(n);let u;for(;(u=s.next())&&!u.done;){const f=u.value;a.call(n,f[0],f[1])}},C5=(n,a)=>{let i;const s=[];for(;(i=n.exec(a))!==null;)s.push(i);return s},R5=na("HTMLFormElement"),z5=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,s,u){return s.toUpperCase()+u}),AD=(({hasOwnProperty:n})=>(a,i)=>n.call(a,i))(Object.prototype),O5=na("RegExp"),RC=(n,a)=>{const i=Object.getOwnPropertyDescriptors(n),s={};Lc(i,(u,f)=>{let d;(d=a(u,f,n))!==!1&&(s[f]=d||u)}),Object.defineProperties(n,s)},M5=n=>{RC(n,(a,i)=>{if(Xn(n)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const s=n[i];if(Xn(s)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},_5=(n,a)=>{const i={},s=u=>{u.forEach(f=>{i[f]=!0})};return Rl(n)?s(n):s(String(n).split(a)),i},U5=()=>{},j5=(n,a)=>n!=null&&Number.isFinite(n=+n)?n:a;function V5(n){return!!(n&&Xn(n.append)&&n[kC]==="FormData"&&n[Gh])}const L5=n=>{const a=new Array(10),i=(s,u)=>{if(Vc(s)){if(a.indexOf(s)>=0)return;if(jc(s))return s;if(!("toJSON"in s)){a[u]=s;const f=Rl(s)?[]:{};return Lc(s,(d,h)=>{const b=i(d,u+1);!kl(b)&&(f[h]=b)}),a[u]=void 0,f}}return s};return i(n,0)},B5=na("AsyncFunction"),H5=n=>n&&(Vc(n)||Xn(n))&&Xn(n.then)&&Xn(n.catch),zC=((n,a)=>n?setImmediate:a?((i,s)=>(rs.addEventListener("message",({source:u,data:f})=>{u===rs&&f===i&&s.length&&s.shift()()},!1),u=>{s.push(u),rs.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Xn(rs.postMessage)),P5=typeof queueMicrotask<"u"?queueMicrotask.bind(rs):typeof process<"u"&&process.nextTick||zC,q5=n=>n!=null&&Xn(n[Gh]),J={isArray:Rl,isArrayBuffer:DC,isBuffer:jc,isFormData:m5,isArrayBufferView:i5,isString:o5,isNumber:NC,isBoolean:s5,isObject:Vc,isPlainObject:Th,isEmptyObject:l5,isReadableStream:y5,isRequest:g5,isResponse:b5,isHeaders:v5,isUndefined:kl,isDate:u5,isFile:c5,isBlob:f5,isRegExp:O5,isFunction:Xn,isStream:h5,isURLSearchParams:p5,isTypedArray:N5,isFileList:d5,forEach:Lc,merge:Zb,extend:S5,trim:x5,stripBOM:w5,inherits:E5,toFlatObject:T5,kindOf:$h,kindOfTest:na,endsWith:k5,toArray:D5,forEachEntry:A5,matchAll:C5,isHTMLForm:R5,hasOwnProperty:AD,hasOwnProp:AD,reduceDescriptors:RC,freezeMethods:M5,toObjectSet:_5,toCamelCase:z5,noop:U5,toFiniteNumber:j5,findKey:AC,global:rs,isContextDefined:CC,isSpecCompliantForm:V5,toJSONObject:L5,isAsyncFn:B5,isThenable:H5,setImmediate:zC,asap:P5,isIterable:q5};let He=class OC extends Error{static from(a,i,s,u,f,d){const h=new OC(a.message,i||a.code,s,u,f);return h.cause=a,h.name=a.name,d&&Object.assign(h,d),h}constructor(a,i,s,u,f){super(a),this.name="AxiosError",this.isAxiosError=!0,i&&(this.code=i),s&&(this.config=s),u&&(this.request=u),f&&(this.response=f,this.status=f.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}};He.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";He.ERR_BAD_OPTION="ERR_BAD_OPTION";He.ECONNABORTED="ECONNABORTED";He.ETIMEDOUT="ETIMEDOUT";He.ERR_NETWORK="ERR_NETWORK";He.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";He.ERR_DEPRECATED="ERR_DEPRECATED";He.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";He.ERR_BAD_REQUEST="ERR_BAD_REQUEST";He.ERR_CANCELED="ERR_CANCELED";He.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";He.ERR_INVALID_URL="ERR_INVALID_URL";const I5=null;function Jb(n){return J.isPlainObject(n)||J.isArray(n)}function MC(n){return J.endsWith(n,"[]")?n.slice(0,-2):n}function CD(n,a,i){return n?n.concat(a).map(function(u,f){return u=MC(u),!i&&f?"["+u+"]":u}).join(i?".":""):a}function F5(n){return J.isArray(n)&&!n.some(Jb)}const Y5=J.toFlatObject(J,{},null,function(a){return/^is[A-Z]/.test(a)});function Qh(n,a,i){if(!J.isObject(n))throw new TypeError("target must be an object");a=a||new FormData,i=J.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(V,R){return!J.isUndefined(R[V])});const s=i.metaTokens,u=i.visitor||p,f=i.dots,d=i.indexes,b=(i.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(a);if(!J.isFunction(u))throw new TypeError("visitor must be a function");function y(N){if(N===null)return"";if(J.isDate(N))return N.toISOString();if(J.isBoolean(N))return N.toString();if(!b&&J.isBlob(N))throw new He("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(N)||J.isTypedArray(N)?b&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function p(N,V,R){let _=N;if(N&&!R&&typeof N=="object"){if(J.endsWith(V,"{}"))V=s?V:V.slice(0,-2),N=JSON.stringify(N);else if(J.isArray(N)&&F5(N)||(J.isFileList(N)||J.endsWith(V,"[]"))&&(_=J.toArray(N)))return V=MC(V),_.forEach(function(I,ie){!(J.isUndefined(I)||I===null)&&a.append(d===!0?CD([V],ie,f):d===null?V:V+"[]",y(I))}),!1}return Jb(N)?!0:(a.append(CD(R,V,f),y(N)),!1)}const v=[],x=Object.assign(Y5,{defaultVisitor:p,convertValue:y,isVisitable:Jb});function S(N,V){if(!J.isUndefined(N)){if(v.indexOf(N)!==-1)throw Error("Circular reference detected in "+V.join("."));v.push(N),J.forEach(N,function(_,X){(!(J.isUndefined(_)||_===null)&&u.call(a,_,J.isString(X)?X.trim():X,V,x))===!0&&S(_,V?V.concat(X):[X])}),v.pop()}}if(!J.isObject(n))throw new TypeError("data must be an object");return S(n),a}function RD(n){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(s){return a[s]})}function X0(n,a){this._pairs=[],n&&Qh(n,this,a)}const _C=X0.prototype;_C.append=function(a,i){this._pairs.push([a,i])};_C.toString=function(a){const i=a?function(s){return a.call(this,s,RD)}:RD;return this._pairs.map(function(u){return i(u[0])+"="+i(u[1])},"").join("&")};function G5(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function UC(n,a,i){if(!a)return n;const s=i&&i.encode||G5,u=J.isFunction(i)?{serialize:i}:i,f=u&&u.serialize;let d;if(f?d=f(a,u):d=J.isURLSearchParams(a)?a.toString():new X0(a,u).toString(s),d){const h=n.indexOf("#");h!==-1&&(n=n.slice(0,h)),n+=(n.indexOf("?")===-1?"?":"&")+d}return n}class zD{constructor(){this.handlers=[]}use(a,i,s){return this.handlers.push({fulfilled:a,rejected:i,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){J.forEach(this.handlers,function(s){s!==null&&a(s)})}}const Q0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},$5=typeof URLSearchParams<"u"?URLSearchParams:X0,X5=typeof FormData<"u"?FormData:null,Q5=typeof Blob<"u"?Blob:null,Z5={isBrowser:!0,classes:{URLSearchParams:$5,FormData:X5,Blob:Q5},protocols:["http","https","file","blob","url","data"]},Z0=typeof window<"u"&&typeof document<"u",Kb=typeof navigator=="object"&&navigator||void 0,J5=Z0&&(!Kb||["ReactNative","NativeScript","NS"].indexOf(Kb.product)<0),K5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",W5=Z0&&window.location.href||"http://localhost",eL=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Z0,hasStandardBrowserEnv:J5,hasStandardBrowserWebWorkerEnv:K5,navigator:Kb,origin:W5},Symbol.toStringTag,{value:"Module"})),wn={...eL,...Z5};function tL(n,a){return Qh(n,new wn.classes.URLSearchParams,{visitor:function(i,s,u,f){return wn.isNode&&J.isBuffer(i)?(this.append(s,i.toString("base64")),!1):f.defaultVisitor.apply(this,arguments)},...a})}function nL(n){return J.matchAll(/\w+|\[(\w*)]/g,n).map(a=>a[0]==="[]"?"":a[1]||a[0])}function rL(n){const a={},i=Object.keys(n);let s;const u=i.length;let f;for(s=0;s<u;s++)f=i[s],a[f]=n[f];return a}function jC(n){function a(i,s,u,f){let d=i[f++];if(d==="__proto__")return!0;const h=Number.isFinite(+d),b=f>=i.length;return d=!d&&J.isArray(u)?u.length:d,b?(J.hasOwnProp(u,d)?u[d]=[u[d],s]:u[d]=s,!h):((!u[d]||!J.isObject(u[d]))&&(u[d]=[]),a(i,s,u[d],f)&&J.isArray(u[d])&&(u[d]=rL(u[d])),!h)}if(J.isFormData(n)&&J.isFunction(n.entries)){const i={};return J.forEachEntry(n,(s,u)=>{a(nL(s),u,i,0)}),i}return null}function aL(n,a,i){if(J.isString(n))try{return(a||JSON.parse)(n),J.trim(n)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(n)}const Bc={transitional:Q0,adapter:["xhr","http","fetch"],transformRequest:[function(a,i){const s=i.getContentType()||"",u=s.indexOf("application/json")>-1,f=J.isObject(a);if(f&&J.isHTMLForm(a)&&(a=new FormData(a)),J.isFormData(a))return u?JSON.stringify(jC(a)):a;if(J.isArrayBuffer(a)||J.isBuffer(a)||J.isStream(a)||J.isFile(a)||J.isBlob(a)||J.isReadableStream(a))return a;if(J.isArrayBufferView(a))return a.buffer;if(J.isURLSearchParams(a))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let h;if(f){if(s.indexOf("application/x-www-form-urlencoded")>-1)return tL(a,this.formSerializer).toString();if((h=J.isFileList(a))||s.indexOf("multipart/form-data")>-1){const b=this.env&&this.env.FormData;return Qh(h?{"files[]":a}:a,b&&new b,this.formSerializer)}}return f||u?(i.setContentType("application/json",!1),aL(a)):a}],transformResponse:[function(a){const i=this.transitional||Bc.transitional,s=i&&i.forcedJSONParsing,u=this.responseType==="json";if(J.isResponse(a)||J.isReadableStream(a))return a;if(a&&J.isString(a)&&(s&&!this.responseType||u)){const d=!(i&&i.silentJSONParsing)&&u;try{return JSON.parse(a,this.parseReviver)}catch(h){if(d)throw h.name==="SyntaxError"?He.from(h,He.ERR_BAD_RESPONSE,this,null,this.response):h}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wn.classes.FormData,Blob:wn.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],n=>{Bc.headers[n]={}});const iL=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),oL=n=>{const a={};let i,s,u;return n&&n.split(`
|
|
249
|
+
`).forEach(function(d){u=d.indexOf(":"),i=d.substring(0,u).trim().toLowerCase(),s=d.substring(u+1).trim(),!(!i||a[i]&&iL[i])&&(i==="set-cookie"?a[i]?a[i].push(s):a[i]=[s]:a[i]=a[i]?a[i]+", "+s:s)}),a},OD=Symbol("internals");function fc(n){return n&&String(n).trim().toLowerCase()}function kh(n){return n===!1||n==null?n:J.isArray(n)?n.map(kh):String(n)}function sL(n){const a=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=i.exec(n);)a[s[1]]=s[2];return a}const lL=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function ib(n,a,i,s,u){if(J.isFunction(s))return s.call(this,a,i);if(u&&(a=i),!!J.isString(a)){if(J.isString(s))return a.indexOf(s)!==-1;if(J.isRegExp(s))return s.test(a)}}function uL(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,i,s)=>i.toUpperCase()+s)}function cL(n,a){const i=J.toCamelCase(" "+a);["get","set","has"].forEach(s=>{Object.defineProperty(n,s+i,{value:function(u,f,d){return this[s].call(this,a,u,f,d)},configurable:!0})})}let Qn=class{constructor(a){a&&this.set(a)}set(a,i,s){const u=this;function f(h,b,y){const p=fc(b);if(!p)throw new Error("header name must be a non-empty string");const v=J.findKey(u,p);(!v||u[v]===void 0||y===!0||y===void 0&&u[v]!==!1)&&(u[v||b]=kh(h))}const d=(h,b)=>J.forEach(h,(y,p)=>f(y,p,b));if(J.isPlainObject(a)||a instanceof this.constructor)d(a,i);else if(J.isString(a)&&(a=a.trim())&&!lL(a))d(oL(a),i);else if(J.isObject(a)&&J.isIterable(a)){let h={},b,y;for(const p of a){if(!J.isArray(p))throw TypeError("Object iterator must return a key-value pair");h[y=p[0]]=(b=h[y])?J.isArray(b)?[...b,p[1]]:[b,p[1]]:p[1]}d(h,i)}else a!=null&&f(i,a,s);return this}get(a,i){if(a=fc(a),a){const s=J.findKey(this,a);if(s){const u=this[s];if(!i)return u;if(i===!0)return sL(u);if(J.isFunction(i))return i.call(this,u,s);if(J.isRegExp(i))return i.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,i){if(a=fc(a),a){const s=J.findKey(this,a);return!!(s&&this[s]!==void 0&&(!i||ib(this,this[s],s,i)))}return!1}delete(a,i){const s=this;let u=!1;function f(d){if(d=fc(d),d){const h=J.findKey(s,d);h&&(!i||ib(s,s[h],h,i))&&(delete s[h],u=!0)}}return J.isArray(a)?a.forEach(f):f(a),u}clear(a){const i=Object.keys(this);let s=i.length,u=!1;for(;s--;){const f=i[s];(!a||ib(this,this[f],f,a,!0))&&(delete this[f],u=!0)}return u}normalize(a){const i=this,s={};return J.forEach(this,(u,f)=>{const d=J.findKey(s,f);if(d){i[d]=kh(u),delete i[f];return}const h=a?uL(f):String(f).trim();h!==f&&delete i[f],i[h]=kh(u),s[h]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const i=Object.create(null);return J.forEach(this,(s,u)=>{s!=null&&s!==!1&&(i[u]=a&&J.isArray(s)?s.join(", "):s)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,i])=>a+": "+i).join(`
|
|
250
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...i){const s=new this(a);return i.forEach(u=>s.set(u)),s}static accessor(a){const s=(this[OD]=this[OD]={accessors:{}}).accessors,u=this.prototype;function f(d){const h=fc(d);s[h]||(cL(u,d),s[h]=!0)}return J.isArray(a)?a.forEach(f):f(a),this}};Qn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(Qn.prototype,({value:n},a)=>{let i=a[0].toUpperCase()+a.slice(1);return{get:()=>n,set(s){this[i]=s}}});J.freezeMethods(Qn);function ob(n,a){const i=this||Bc,s=a||i,u=Qn.from(s.headers);let f=s.data;return J.forEach(n,function(h){f=h.call(i,f,u.normalize(),a?a.status:void 0)}),u.normalize(),f}function VC(n){return!!(n&&n.__CANCEL__)}let Hc=class extends He{constructor(a,i,s){super(a??"canceled",He.ERR_CANCELED,i,s),this.name="CanceledError",this.__CANCEL__=!0}};function LC(n,a,i){const s=i.config.validateStatus;!i.status||!s||s(i.status)?n(i):a(new He("Request failed with status code "+i.status,[He.ERR_BAD_REQUEST,He.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function fL(n){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return a&&a[1]||""}function dL(n,a){n=n||10;const i=new Array(n),s=new Array(n);let u=0,f=0,d;return a=a!==void 0?a:1e3,function(b){const y=Date.now(),p=s[f];d||(d=y),i[u]=b,s[u]=y;let v=f,x=0;for(;v!==u;)x+=i[v++],v=v%n;if(u=(u+1)%n,u===f&&(f=(f+1)%n),y-d<a)return;const S=p&&y-p;return S?Math.round(x*1e3/S):void 0}}function hL(n,a){let i=0,s=1e3/a,u,f;const d=(y,p=Date.now())=>{i=p,u=null,f&&(clearTimeout(f),f=null),n(...y)};return[(...y)=>{const p=Date.now(),v=p-i;v>=s?d(y,p):(u=y,f||(f=setTimeout(()=>{f=null,d(u)},s-v)))},()=>u&&d(u)]}const Vh=(n,a,i=3)=>{let s=0;const u=dL(50,250);return hL(f=>{const d=f.loaded,h=f.lengthComputable?f.total:void 0,b=d-s,y=u(b),p=d<=h;s=d;const v={loaded:d,total:h,progress:h?d/h:void 0,bytes:b,rate:y||void 0,estimated:y&&h&&p?(h-d)/y:void 0,event:f,lengthComputable:h!=null,[a?"download":"upload"]:!0};n(v)},i)},MD=(n,a)=>{const i=n!=null;return[s=>a[0]({lengthComputable:i,total:n,loaded:s}),a[1]]},_D=n=>(...a)=>J.asap(()=>n(...a)),mL=wn.hasStandardBrowserEnv?((n,a)=>i=>(i=new URL(i,wn.origin),n.protocol===i.protocol&&n.host===i.host&&(a||n.port===i.port)))(new URL(wn.origin),wn.navigator&&/(msie|trident)/i.test(wn.navigator.userAgent)):()=>!0,pL=wn.hasStandardBrowserEnv?{write(n,a,i,s,u,f,d){if(typeof document>"u")return;const h=[`${n}=${encodeURIComponent(a)}`];J.isNumber(i)&&h.push(`expires=${new Date(i).toUTCString()}`),J.isString(s)&&h.push(`path=${s}`),J.isString(u)&&h.push(`domain=${u}`),f===!0&&h.push("secure"),J.isString(d)&&h.push(`SameSite=${d}`),document.cookie=h.join("; ")},read(n){if(typeof document>"u")return null;const a=document.cookie.match(new RegExp("(?:^|; )"+n+"=([^;]*)"));return a?decodeURIComponent(a[1]):null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function yL(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function gL(n,a){return a?n.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):n}function BC(n,a,i){let s=!yL(a);return n&&(s||i==!1)?gL(n,a):a}const UD=n=>n instanceof Qn?{...n}:n;function os(n,a){a=a||{};const i={};function s(y,p,v,x){return J.isPlainObject(y)&&J.isPlainObject(p)?J.merge.call({caseless:x},y,p):J.isPlainObject(p)?J.merge({},p):J.isArray(p)?p.slice():p}function u(y,p,v,x){if(J.isUndefined(p)){if(!J.isUndefined(y))return s(void 0,y,v,x)}else return s(y,p,v,x)}function f(y,p){if(!J.isUndefined(p))return s(void 0,p)}function d(y,p){if(J.isUndefined(p)){if(!J.isUndefined(y))return s(void 0,y)}else return s(void 0,p)}function h(y,p,v){if(v in a)return s(y,p);if(v in n)return s(void 0,y)}const b={url:f,method:f,data:f,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:h,headers:(y,p,v)=>u(UD(y),UD(p),v,!0)};return J.forEach(Object.keys({...n,...a}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const v=J.hasOwnProp(b,p)?b[p]:u,x=v(n[p],a[p],p);J.isUndefined(x)&&v!==h||(i[p]=x)}),i}const HC=n=>{const a=os({},n);let{data:i,withXSRFToken:s,xsrfHeaderName:u,xsrfCookieName:f,headers:d,auth:h}=a;if(a.headers=d=Qn.from(d),a.url=UC(BC(a.baseURL,a.url,a.allowAbsoluteUrls),n.params,n.paramsSerializer),h&&d.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),J.isFormData(i)){if(wn.hasStandardBrowserEnv||wn.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if(J.isFunction(i.getHeaders)){const b=i.getHeaders(),y=["content-type","content-length"];Object.entries(b).forEach(([p,v])=>{y.includes(p.toLowerCase())&&d.set(p,v)})}}if(wn.hasStandardBrowserEnv&&(s&&J.isFunction(s)&&(s=s(a)),s||s!==!1&&mL(a.url))){const b=u&&f&&pL.read(f);b&&d.set(u,b)}return a},bL=typeof XMLHttpRequest<"u",vL=bL&&function(n){return new Promise(function(i,s){const u=HC(n);let f=u.data;const d=Qn.from(u.headers).normalize();let{responseType:h,onUploadProgress:b,onDownloadProgress:y}=u,p,v,x,S,N;function V(){S&&S(),N&&N(),u.cancelToken&&u.cancelToken.unsubscribe(p),u.signal&&u.signal.removeEventListener("abort",p)}let R=new XMLHttpRequest;R.open(u.method.toUpperCase(),u.url,!0),R.timeout=u.timeout;function _(){if(!R)return;const I=Qn.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),re={data:!h||h==="text"||h==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:I,config:n,request:R};LC(function(ge){i(ge),V()},function(ge){s(ge),V()},re),R=null}"onloadend"in R?R.onloadend=_:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(_)},R.onabort=function(){R&&(s(new He("Request aborted",He.ECONNABORTED,n,R)),R=null)},R.onerror=function(ie){const re=ie&&ie.message?ie.message:"Network Error",G=new He(re,He.ERR_NETWORK,n,R);G.event=ie||null,s(G),R=null},R.ontimeout=function(){let ie=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const re=u.transitional||Q0;u.timeoutErrorMessage&&(ie=u.timeoutErrorMessage),s(new He(ie,re.clarifyTimeoutError?He.ETIMEDOUT:He.ECONNABORTED,n,R)),R=null},f===void 0&&d.setContentType(null),"setRequestHeader"in R&&J.forEach(d.toJSON(),function(ie,re){R.setRequestHeader(re,ie)}),J.isUndefined(u.withCredentials)||(R.withCredentials=!!u.withCredentials),h&&h!=="json"&&(R.responseType=u.responseType),y&&([x,N]=Vh(y,!0),R.addEventListener("progress",x)),b&&R.upload&&([v,S]=Vh(b),R.upload.addEventListener("progress",v),R.upload.addEventListener("loadend",S)),(u.cancelToken||u.signal)&&(p=I=>{R&&(s(!I||I.type?new Hc(null,n,R):I),R.abort(),R=null)},u.cancelToken&&u.cancelToken.subscribe(p),u.signal&&(u.signal.aborted?p():u.signal.addEventListener("abort",p)));const X=fL(u.url);if(X&&wn.protocols.indexOf(X)===-1){s(new He("Unsupported protocol "+X+":",He.ERR_BAD_REQUEST,n));return}R.send(f||null)})},xL=(n,a)=>{const{length:i}=n=n?n.filter(Boolean):[];if(a||i){let s=new AbortController,u;const f=function(y){if(!u){u=!0,h();const p=y instanceof Error?y:this.reason;s.abort(p instanceof He?p:new Hc(p instanceof Error?p.message:p))}};let d=a&&setTimeout(()=>{d=null,f(new He(`timeout of ${a}ms exceeded`,He.ETIMEDOUT))},a);const h=()=>{n&&(d&&clearTimeout(d),d=null,n.forEach(y=>{y.unsubscribe?y.unsubscribe(f):y.removeEventListener("abort",f)}),n=null)};n.forEach(y=>y.addEventListener("abort",f));const{signal:b}=s;return b.unsubscribe=()=>J.asap(h),b}},SL=function*(n,a){let i=n.byteLength;if(i<a){yield n;return}let s=0,u;for(;s<i;)u=s+a,yield n.slice(s,u),s=u},wL=async function*(n,a){for await(const i of EL(n))yield*SL(i,a)},EL=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const a=n.getReader();try{for(;;){const{done:i,value:s}=await a.read();if(i)break;yield s}}finally{await a.cancel()}},jD=(n,a,i,s)=>{const u=wL(n,a);let f=0,d,h=b=>{d||(d=!0,s&&s(b))};return new ReadableStream({async pull(b){try{const{done:y,value:p}=await u.next();if(y){h(),b.close();return}let v=p.byteLength;if(i){let x=f+=v;i(x)}b.enqueue(new Uint8Array(p))}catch(y){throw h(y),y}},cancel(b){return h(b),u.return()}},{highWaterMark:2})},VD=64*1024,{isFunction:uh}=J,TL=(({Request:n,Response:a})=>({Request:n,Response:a}))(J.global),{ReadableStream:LD,TextEncoder:BD}=J.global,HD=(n,...a)=>{try{return!!n(...a)}catch{return!1}},kL=n=>{n=J.merge.call({skipUndefined:!0},TL,n);const{fetch:a,Request:i,Response:s}=n,u=a?uh(a):typeof fetch=="function",f=uh(i),d=uh(s);if(!u)return!1;const h=u&&uh(LD),b=u&&(typeof BD=="function"?(N=>V=>N.encode(V))(new BD):async N=>new Uint8Array(await new i(N).arrayBuffer())),y=f&&h&&HD(()=>{let N=!1;const V=new i(wn.origin,{body:new LD,method:"POST",get duplex(){return N=!0,"half"}}).headers.has("Content-Type");return N&&!V}),p=d&&h&&HD(()=>J.isReadableStream(new s("").body)),v={stream:p&&(N=>N.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(N=>{!v[N]&&(v[N]=(V,R)=>{let _=V&&V[N];if(_)return _.call(V);throw new He(`Response type '${N}' is not supported`,He.ERR_NOT_SUPPORT,R)})});const x=async N=>{if(N==null)return 0;if(J.isBlob(N))return N.size;if(J.isSpecCompliantForm(N))return(await new i(wn.origin,{method:"POST",body:N}).arrayBuffer()).byteLength;if(J.isArrayBufferView(N)||J.isArrayBuffer(N))return N.byteLength;if(J.isURLSearchParams(N)&&(N=N+""),J.isString(N))return(await b(N)).byteLength},S=async(N,V)=>{const R=J.toFiniteNumber(N.getContentLength());return R??x(V)};return async N=>{let{url:V,method:R,data:_,signal:X,cancelToken:I,timeout:ie,onDownloadProgress:re,onUploadProgress:G,responseType:ge,headers:le,withCredentials:ce="same-origin",fetchOptions:F}=HC(N),he=a||fetch;ge=ge?(ge+"").toLowerCase():"text";let se=xL([X,I&&I.toAbortSignal()],ie),W=null;const K=se&&se.unsubscribe&&(()=>{se.unsubscribe()});let oe;try{if(G&&y&&R!=="get"&&R!=="head"&&(oe=await S(le,_))!==0){let U=new i(V,{method:"POST",body:_,duplex:"half"}),ue;if(J.isFormData(_)&&(ue=U.headers.get("content-type"))&&le.setContentType(ue),U.body){const[C,xe]=MD(oe,Vh(_D(G)));_=jD(U.body,VD,C,xe)}}J.isString(ce)||(ce=ce?"include":"omit");const Y=f&&"credentials"in i.prototype,ae={...F,signal:se,method:R.toUpperCase(),headers:le.normalize().toJSON(),body:_,duplex:"half",credentials:Y?ce:void 0};W=f&&new i(V,ae);let pe=await(f?he(W,F):he(V,ae));const Ae=p&&(ge==="stream"||ge==="response");if(p&&(re||Ae&&K)){const U={};["status","statusText","headers"].forEach(at=>{U[at]=pe[at]});const ue=J.toFiniteNumber(pe.headers.get("content-length")),[C,xe]=re&&MD(ue,Vh(_D(re),!0))||[];pe=new s(jD(pe.body,VD,C,()=>{xe&&xe(),K&&K()}),U)}ge=ge||"text";let z=await v[J.findKey(v,ge)||"text"](pe,N);return!Ae&&K&&K(),await new Promise((U,ue)=>{LC(U,ue,{data:z,headers:Qn.from(pe.headers),status:pe.status,statusText:pe.statusText,config:N,request:W})})}catch(Y){throw K&&K(),Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new He("Network Error",He.ERR_NETWORK,N,W,Y&&Y.response),{cause:Y.cause||Y}):He.from(Y,Y&&Y.code,N,W,Y&&Y.response)}}},DL=new Map,PC=n=>{let a=n&&n.env||{};const{fetch:i,Request:s,Response:u}=a,f=[s,u,i];let d=f.length,h=d,b,y,p=DL;for(;h--;)b=f[h],y=p.get(b),y===void 0&&p.set(b,y=h?new Map:kL(a)),p=y;return y};PC();const J0={http:I5,xhr:vL,fetch:{get:PC}};J.forEach(J0,(n,a)=>{if(n){try{Object.defineProperty(n,"name",{value:a})}catch{}Object.defineProperty(n,"adapterName",{value:a})}});const PD=n=>`- ${n}`,NL=n=>J.isFunction(n)||n===null||n===!1;function AL(n,a){n=J.isArray(n)?n:[n];const{length:i}=n;let s,u;const f={};for(let d=0;d<i;d++){s=n[d];let h;if(u=s,!NL(s)&&(u=J0[(h=String(s)).toLowerCase()],u===void 0))throw new He(`Unknown adapter '${h}'`);if(u&&(J.isFunction(u)||(u=u.get(a))))break;f[h||"#"+d]=u}if(!u){const d=Object.entries(f).map(([b,y])=>`adapter ${b} `+(y===!1?"is not supported by the environment":"is not available in the build"));let h=i?d.length>1?`since :
|
|
251
|
+
`+d.map(PD).join(`
|
|
252
|
+
`):" "+PD(d[0]):"as no adapter specified";throw new He("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return u}const qC={getAdapter:AL,adapters:J0};function sb(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Hc(null,n)}function qD(n){return sb(n),n.headers=Qn.from(n.headers),n.data=ob.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),qC.getAdapter(n.adapter||Bc.adapter,n)(n).then(function(s){return sb(n),s.data=ob.call(n,n.transformResponse,s),s.headers=Qn.from(s.headers),s},function(s){return VC(s)||(sb(n),s&&s.response&&(s.response.data=ob.call(n,n.transformResponse,s.response),s.response.headers=Qn.from(s.response.headers))),Promise.reject(s)})}const IC="1.13.5",Zh={};["object","boolean","number","function","string","symbol"].forEach((n,a)=>{Zh[n]=function(s){return typeof s===n||"a"+(a<1?"n ":" ")+n}});const ID={};Zh.transitional=function(a,i,s){function u(f,d){return"[Axios v"+IC+"] Transitional option '"+f+"'"+d+(s?". "+s:"")}return(f,d,h)=>{if(a===!1)throw new He(u(d," has been removed"+(i?" in "+i:"")),He.ERR_DEPRECATED);return i&&!ID[d]&&(ID[d]=!0,console.warn(u(d," has been deprecated since v"+i+" and will be removed in the near future"))),a?a(f,d,h):!0}};Zh.spelling=function(a){return(i,s)=>(console.warn(`${s} is likely a misspelling of ${a}`),!0)};function CL(n,a,i){if(typeof n!="object")throw new He("options must be an object",He.ERR_BAD_OPTION_VALUE);const s=Object.keys(n);let u=s.length;for(;u-- >0;){const f=s[u],d=a[f];if(d){const h=n[f],b=h===void 0||d(h,f,n);if(b!==!0)throw new He("option "+f+" must be "+b,He.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new He("Unknown option "+f,He.ERR_BAD_OPTION)}}const Dh={assertOptions:CL,validators:Zh},_r=Dh.validators;let is=class{constructor(a){this.defaults=a||{},this.interceptors={request:new zD,response:new zD}}async request(a,i){try{return await this._request(a,i)}catch(s){if(s instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const f=u.stack?u.stack.replace(/^.+\n/,""):"";try{s.stack?f&&!String(s.stack).endsWith(f.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
|
253
|
+
`+f):s.stack=f}catch{}}throw s}}_request(a,i){typeof a=="string"?(i=i||{},i.url=a):i=a||{},i=os(this.defaults,i);const{transitional:s,paramsSerializer:u,headers:f}=i;s!==void 0&&Dh.assertOptions(s,{silentJSONParsing:_r.transitional(_r.boolean),forcedJSONParsing:_r.transitional(_r.boolean),clarifyTimeoutError:_r.transitional(_r.boolean),legacyInterceptorReqResOrdering:_r.transitional(_r.boolean)},!1),u!=null&&(J.isFunction(u)?i.paramsSerializer={serialize:u}:Dh.assertOptions(u,{encode:_r.function,serialize:_r.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Dh.assertOptions(i,{baseUrl:_r.spelling("baseURL"),withXsrfToken:_r.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let d=f&&J.merge(f.common,f[i.method]);f&&J.forEach(["delete","get","head","post","put","patch","common"],N=>{delete f[N]}),i.headers=Qn.concat(d,f);const h=[];let b=!0;this.interceptors.request.forEach(function(V){if(typeof V.runWhen=="function"&&V.runWhen(i)===!1)return;b=b&&V.synchronous;const R=i.transitional||Q0;R&&R.legacyInterceptorReqResOrdering?h.unshift(V.fulfilled,V.rejected):h.push(V.fulfilled,V.rejected)});const y=[];this.interceptors.response.forEach(function(V){y.push(V.fulfilled,V.rejected)});let p,v=0,x;if(!b){const N=[qD.bind(this),void 0];for(N.unshift(...h),N.push(...y),x=N.length,p=Promise.resolve(i);v<x;)p=p.then(N[v++],N[v++]);return p}x=h.length;let S=i;for(;v<x;){const N=h[v++],V=h[v++];try{S=N(S)}catch(R){V.call(this,R);break}}try{p=qD.call(this,S)}catch(N){return Promise.reject(N)}for(v=0,x=y.length;v<x;)p=p.then(y[v++],y[v++]);return p}getUri(a){a=os(this.defaults,a);const i=BC(a.baseURL,a.url,a.allowAbsoluteUrls);return UC(i,a.params,a.paramsSerializer)}};J.forEach(["delete","get","head","options"],function(a){is.prototype[a]=function(i,s){return this.request(os(s||{},{method:a,url:i,data:(s||{}).data}))}});J.forEach(["post","put","patch"],function(a){function i(s){return function(f,d,h){return this.request(os(h||{},{method:a,headers:s?{"Content-Type":"multipart/form-data"}:{},url:f,data:d}))}}is.prototype[a]=i(),is.prototype[a+"Form"]=i(!0)});let RL=class FC{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(f){i=f});const s=this;this.promise.then(u=>{if(!s._listeners)return;let f=s._listeners.length;for(;f-- >0;)s._listeners[f](u);s._listeners=null}),this.promise.then=u=>{let f;const d=new Promise(h=>{s.subscribe(h),f=h}).then(u);return d.cancel=function(){s.unsubscribe(f)},d},a(function(f,d,h){s.reason||(s.reason=new Hc(f,d,h),i(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const a=new AbortController,i=s=>{a.abort(s)};return this.subscribe(i),a.signal.unsubscribe=()=>this.unsubscribe(i),a.signal}static source(){let a;return{token:new FC(function(u){a=u}),cancel:a}}};function zL(n){return function(i){return n.apply(null,i)}}function OL(n){return J.isObject(n)&&n.isAxiosError===!0}const Wb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Wb).forEach(([n,a])=>{Wb[a]=n});function YC(n){const a=new is(n),i=TC(is.prototype.request,a);return J.extend(i,is.prototype,a,{allOwnKeys:!0}),J.extend(i,a,null,{allOwnKeys:!0}),i.create=function(u){return YC(os(n,u))},i}const vt=YC(Bc);vt.Axios=is;vt.CanceledError=Hc;vt.CancelToken=RL;vt.isCancel=VC;vt.VERSION=IC;vt.toFormData=Qh;vt.AxiosError=He;vt.Cancel=vt.CanceledError;vt.all=function(a){return Promise.all(a)};vt.spread=zL;vt.isAxiosError=OL;vt.mergeConfig=os;vt.AxiosHeaders=Qn;vt.formToJSON=n=>jC(J.isHTMLForm(n)?new FormData(n):n);vt.getAdapter=qC.getAdapter;vt.HttpStatusCode=Wb;vt.default=vt;const{Axios:wH,AxiosError:EH,CanceledError:TH,isCancel:kH,CancelToken:DH,VERSION:NH,all:AH,Cancel:CH,isAxiosError:RH,spread:zH,toFormData:OH,AxiosHeaders:MH,HttpStatusCode:_H,formToJSON:UH,getAdapter:jH,mergeConfig:VH}=vt;class ML extends Error{name="Assertion";code="ERR_ASSERTION";constructor(a,i,s,u,f){super(a),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.actual=i,this.expected=s,this.generated=f,this.operator=u}}function P(n,a){GC(!!n,!1,!0,"ok","Expected value to be truthy",a)}function e0(n){GC(!1,!1,!0,"ok","Unreachable",n)}function GC(n,a,i,s,u,f){if(!n)throw f instanceof Error?f:new ML(f||u,a,i,s,!f)}function _L(n,a){const i={};return(n[n.length-1]===""?[...n,""]:n).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const UL=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jL=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,VL={};function FD(n,a){return(VL.jsx?jL:UL).test(n)}const LL=/[ \t\n\f\r]/g;function BL(n){return typeof n=="object"?n.type==="text"?YD(n.value):!1:YD(n)}function YD(n){return n.replace(LL,"")===""}class Pc{constructor(a,i,s){this.normal=i,this.property=a,s&&(this.space=s)}}Pc.prototype.normal={};Pc.prototype.property={};Pc.prototype.space=void 0;function $C(n,a){const i={},s={};for(const u of n)Object.assign(i,u.property),Object.assign(s,u.normal);return new Pc(i,s,a)}function t0(n){return n.toLowerCase()}class Jn{constructor(a,i){this.attribute=i,this.property=a}}Jn.prototype.attribute="";Jn.prototype.booleanish=!1;Jn.prototype.boolean=!1;Jn.prototype.commaOrSpaceSeparated=!1;Jn.prototype.commaSeparated=!1;Jn.prototype.defined=!1;Jn.prototype.mustUseProperty=!1;Jn.prototype.number=!1;Jn.prototype.overloadedBoolean=!1;Jn.prototype.property="";Jn.prototype.spaceSeparated=!1;Jn.prototype.space=void 0;let HL=0;const Qe=ss(),Jt=ss(),n0=ss(),ye=ss(),Et=ss(),wl=ss(),mr=ss();function ss(){return 2**++HL}const r0=Object.freeze(Object.defineProperty({__proto__:null,boolean:Qe,booleanish:Jt,commaOrSpaceSeparated:mr,commaSeparated:wl,number:ye,overloadedBoolean:n0,spaceSeparated:Et},Symbol.toStringTag,{value:"Module"})),lb=Object.keys(r0);class K0 extends Jn{constructor(a,i,s,u){let f=-1;if(super(a,i),GD(this,"space",u),typeof s=="number")for(;++f<lb.length;){const d=lb[f];GD(this,lb[f],(s&r0[d])===r0[d])}}}K0.prototype.defined=!0;function GD(n,a,i){i&&(n[a]=i)}function zl(n){const a={},i={};for(const[s,u]of Object.entries(n.properties)){const f=new K0(s,n.transform(n.attributes||{},s),u,n.space);n.mustUseProperty&&n.mustUseProperty.includes(s)&&(f.mustUseProperty=!0),a[s]=f,i[t0(s)]=s,i[t0(f.attribute)]=s}return new Pc(a,i,n.space)}const XC=zl({properties:{ariaActiveDescendant:null,ariaAtomic:Jt,ariaAutoComplete:null,ariaBusy:Jt,ariaChecked:Jt,ariaColCount:ye,ariaColIndex:ye,ariaColSpan:ye,ariaControls:Et,ariaCurrent:null,ariaDescribedBy:Et,ariaDetails:null,ariaDisabled:Jt,ariaDropEffect:Et,ariaErrorMessage:null,ariaExpanded:Jt,ariaFlowTo:Et,ariaGrabbed:Jt,ariaHasPopup:null,ariaHidden:Jt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Et,ariaLevel:ye,ariaLive:null,ariaModal:Jt,ariaMultiLine:Jt,ariaMultiSelectable:Jt,ariaOrientation:null,ariaOwns:Et,ariaPlaceholder:null,ariaPosInSet:ye,ariaPressed:Jt,ariaReadOnly:Jt,ariaRelevant:null,ariaRequired:Jt,ariaRoleDescription:Et,ariaRowCount:ye,ariaRowIndex:ye,ariaRowSpan:ye,ariaSelected:Jt,ariaSetSize:ye,ariaSort:null,ariaValueMax:ye,ariaValueMin:ye,ariaValueNow:ye,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function QC(n,a){return a in n?n[a]:a}function ZC(n,a){return QC(n,a.toLowerCase())}const PL=zl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wl,acceptCharset:Et,accessKey:Et,action:null,allow:null,allowFullScreen:Qe,allowPaymentRequest:Qe,allowUserMedia:Qe,alt:null,as:null,async:Qe,autoCapitalize:null,autoComplete:Et,autoFocus:Qe,autoPlay:Qe,blocking:Et,capture:null,charSet:null,checked:Qe,cite:null,className:Et,cols:ye,colSpan:null,content:null,contentEditable:Jt,controls:Qe,controlsList:Et,coords:ye|wl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Qe,defer:Qe,dir:null,dirName:null,disabled:Qe,download:n0,draggable:Jt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Qe,formTarget:null,headers:Et,height:ye,hidden:n0,high:ye,href:null,hrefLang:null,htmlFor:Et,httpEquiv:Et,id:null,imageSizes:null,imageSrcSet:null,inert:Qe,inputMode:null,integrity:null,is:null,isMap:Qe,itemId:null,itemProp:Et,itemRef:Et,itemScope:Qe,itemType:Et,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Qe,low:ye,manifest:null,max:null,maxLength:ye,media:null,method:null,min:null,minLength:ye,multiple:Qe,muted:Qe,name:null,nonce:null,noModule:Qe,noValidate:Qe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Qe,optimum:ye,pattern:null,ping:Et,placeholder:null,playsInline:Qe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Qe,referrerPolicy:null,rel:Et,required:Qe,reversed:Qe,rows:ye,rowSpan:ye,sandbox:Et,scope:null,scoped:Qe,seamless:Qe,selected:Qe,shadowRootClonable:Qe,shadowRootDelegatesFocus:Qe,shadowRootMode:null,shape:null,size:ye,sizes:null,slot:null,span:ye,spellCheck:Jt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ye,step:null,style:null,tabIndex:ye,target:null,title:null,translate:null,type:null,typeMustMatch:Qe,useMap:null,value:Jt,width:ye,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Et,axis:null,background:null,bgColor:null,border:ye,borderColor:null,bottomMargin:ye,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Qe,declare:Qe,event:null,face:null,frame:null,frameBorder:null,hSpace:ye,leftMargin:ye,link:null,longDesc:null,lowSrc:null,marginHeight:ye,marginWidth:ye,noResize:Qe,noHref:Qe,noShade:Qe,noWrap:Qe,object:null,profile:null,prompt:null,rev:null,rightMargin:ye,rules:null,scheme:null,scrolling:Jt,standby:null,summary:null,text:null,topMargin:ye,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ye,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Qe,disableRemotePlayback:Qe,prefix:null,property:null,results:ye,security:null,unselectable:null},space:"html",transform:ZC}),qL=zl({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:mr,accentHeight:ye,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ye,amplitude:ye,arabicForm:null,ascent:ye,attributeName:null,attributeType:null,azimuth:ye,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ye,by:null,calcMode:null,capHeight:ye,className:Et,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ye,diffuseConstant:ye,direction:null,display:null,dur:null,divisor:ye,dominantBaseline:null,download:Qe,dx:null,dy:null,edgeMode:null,editable:null,elevation:ye,enableBackground:null,end:null,event:null,exponent:ye,externalResourcesRequired:null,fill:null,fillOpacity:ye,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:wl,g2:wl,glyphName:wl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ye,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ye,horizOriginX:ye,horizOriginY:ye,id:null,ideographic:ye,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ye,k:ye,k1:ye,k2:ye,k3:ye,k4:ye,kernelMatrix:mr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ye,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ye,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ye,overlineThickness:ye,paintOrder:null,panose1:null,path:null,pathLength:ye,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Et,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ye,pointsAtY:ye,pointsAtZ:ye,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:mr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:mr,rev:mr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:mr,requiredFeatures:mr,requiredFonts:mr,requiredFormats:mr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ye,specularExponent:ye,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ye,strikethroughThickness:ye,string:null,stroke:null,strokeDashArray:mr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ye,strokeOpacity:ye,strokeWidth:null,style:null,surfaceScale:ye,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:mr,tabIndex:ye,tableValues:null,target:null,targetX:ye,targetY:ye,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:mr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ye,underlineThickness:ye,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ye,values:null,vAlphabetic:ye,vMathematical:ye,vectorEffect:null,vHanging:ye,vIdeographic:ye,version:null,vertAdvY:ye,vertOriginX:ye,vertOriginY:ye,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ye,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:QC}),JC=zl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),KC=zl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ZC}),WC=zl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),IL={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},FL=/[A-Z]/g,$D=/-[a-z]/g,YL=/^data[-\w.:]+$/i;function GL(n,a){const i=t0(a);let s=a,u=Jn;if(i in n.normal)return n.property[n.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&YL.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace($D,XL);s="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!$D.test(f)){let d=f.replace(FL,$L);d.charAt(0)!=="-"&&(d="-"+d),a="data"+d}}u=K0}return new u(s,a)}function $L(n){return"-"+n.toLowerCase()}function XL(n){return n.charAt(1).toUpperCase()}const QL=$C([XC,PL,JC,KC,WC],"html"),W0=$C([XC,qL,JC,KC,WC],"svg");function ZL(n){return n.join(" ").trim()}var dl={},ub,XD;function JL(){if(XD)return ub;XD=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,i=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,d=/^[;\s]*/,h=/^\s+|\s+$/g,b=`
|
|
254
|
+
`,y="/",p="*",v="",x="comment",S="declaration";function N(R,_){if(typeof R!="string")throw new TypeError("First argument must be a string");if(!R)return[];_=_||{};var X=1,I=1;function ie(K){var oe=K.match(a);oe&&(X+=oe.length);var Y=K.lastIndexOf(b);I=~Y?K.length-Y:I+K.length}function re(){var K={line:X,column:I};return function(oe){return oe.position=new G(K),ce(),oe}}function G(K){this.start=K,this.end={line:X,column:I},this.source=_.source}G.prototype.content=R;function ge(K){var oe=new Error(_.source+":"+X+":"+I+": "+K);if(oe.reason=K,oe.filename=_.source,oe.line=X,oe.column=I,oe.source=R,!_.silent)throw oe}function le(K){var oe=K.exec(R);if(oe){var Y=oe[0];return ie(Y),R=R.slice(Y.length),oe}}function ce(){le(i)}function F(K){var oe;for(K=K||[];oe=he();)oe!==!1&&K.push(oe);return K}function he(){var K=re();if(!(y!=R.charAt(0)||p!=R.charAt(1))){for(var oe=2;v!=R.charAt(oe)&&(p!=R.charAt(oe)||y!=R.charAt(oe+1));)++oe;if(oe+=2,v===R.charAt(oe-1))return ge("End of comment missing");var Y=R.slice(2,oe-2);return I+=2,ie(Y),R=R.slice(oe),I+=2,K({type:x,comment:Y})}}function se(){var K=re(),oe=le(s);if(oe){if(he(),!le(u))return ge("property missing ':'");var Y=le(f),ae=K({type:S,property:V(oe[0].replace(n,v)),value:Y?V(Y[0].replace(n,v)):v});return le(d),ae}}function W(){var K=[];F(K);for(var oe;oe=se();)oe!==!1&&(K.push(oe),F(K));return K}return ce(),W()}function V(R){return R?R.replace(h,v):v}return ub=N,ub}var QD;function KL(){if(QD)return dl;QD=1;var n=dl&&dl.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=i;const a=n(JL());function i(s,u){let f=null;if(!s||typeof s!="string")return f;const d=(0,a.default)(s),h=typeof u=="function";return d.forEach(b=>{if(b.type!=="declaration")return;const{property:y,value:p}=b;h?u(y,p,b):p&&(f=f||{},f[y]=p)}),f}return dl}var dc={},ZD;function WL(){if(ZD)return dc;ZD=1,Object.defineProperty(dc,"__esModule",{value:!0}),dc.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,i=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,u=/^-(ms)-/,f=function(y){return!y||i.test(y)||n.test(y)},d=function(y,p){return p.toUpperCase()},h=function(y,p){return"".concat(p,"-")},b=function(y,p){return p===void 0&&(p={}),f(y)?y:(y=y.toLowerCase(),p.reactCompat?y=y.replace(u,h):y=y.replace(s,h),y.replace(a,d))};return dc.camelCase=b,dc}var hc,JD;function eB(){if(JD)return hc;JD=1;var n=hc&&hc.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},a=n(KL()),i=WL();function s(u,f){var d={};return!u||typeof u!="string"||(0,a.default)(u,function(h,b){h&&b&&(d[(0,i.camelCase)(h,f)]=b)}),d}return s.default=s,hc=s,hc}var tB=eB();const nB=Rc(tB),eR=tR("end"),ev=tR("start");function tR(n){return a;function a(i){const s=i&&i.position&&i.position[n]||{};if(typeof s.line=="number"&&s.line>0&&typeof s.column=="number"&&s.column>0)return{line:s.line,column:s.column,offset:typeof s.offset=="number"&&s.offset>-1?s.offset:void 0}}}function rB(n){const a=ev(n),i=eR(n);if(a&&i)return{start:a,end:i}}function Sc(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?KD(n.position):"start"in n||"end"in n?KD(n):"line"in n||"column"in n?a0(n):""}function a0(n){return WD(n&&n.line)+":"+WD(n&&n.column)}function KD(n){return a0(n&&n.start)+"-"+a0(n&&n.end)}function WD(n){return n&&typeof n=="number"?n:1}class kn extends Error{constructor(a,i,s){super(),typeof i=="string"&&(s=i,i=void 0);let u="",f={},d=!1;if(i&&("line"in i&&"column"in i?f={place:i}:"start"in i&&"end"in i?f={place:i}:"type"in i?f={ancestors:[i],place:i.position}:f={...i}),typeof a=="string"?u=a:!f.cause&&a&&(d=!0,u=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof s=="string"){const b=s.indexOf(":");b===-1?f.ruleId=s:(f.source=s.slice(0,b),f.ruleId=s.slice(b+1))}if(!f.place&&f.ancestors&&f.ancestors){const b=f.ancestors[f.ancestors.length-1];b&&(f.place=b.position)}const h=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=h?h.line:void 0,this.name=Sc(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=d&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}kn.prototype.file="";kn.prototype.name="";kn.prototype.reason="";kn.prototype.message="";kn.prototype.stack="";kn.prototype.column=void 0;kn.prototype.line=void 0;kn.prototype.ancestors=void 0;kn.prototype.cause=void 0;kn.prototype.fatal=void 0;kn.prototype.place=void 0;kn.prototype.ruleId=void 0;kn.prototype.source=void 0;const tv={}.hasOwnProperty,aB=new Map,iB=/[A-Z]/g,oB=new Set(["table","tbody","thead","tfoot","tr"]),sB=new Set(["td","th"]),nR="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function lB(n,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=a.filePath||void 0;let s;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");s=yB(i,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");s=pB(i,a.jsx,a.jsxs)}const u={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:s,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?W0:QL,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=rR(u,n,void 0);return f&&typeof f!="string"?f:u.create(n,u.Fragment,{children:f||void 0},void 0)}function rR(n,a,i){if(a.type==="element")return uB(n,a,i);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return cB(n,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return dB(n,a,i);if(a.type==="mdxjsEsm")return fB(n,a);if(a.type==="root")return hB(n,a,i);if(a.type==="text")return mB(n,a)}function uB(n,a,i){const s=n.schema;let u=s;a.tagName.toLowerCase()==="svg"&&s.space==="html"&&(u=W0,n.schema=u),n.ancestors.push(a);const f=iR(n,a.tagName,!1),d=gB(n,a);let h=rv(n,a);return oB.has(a.tagName)&&(h=h.filter(function(b){return typeof b=="string"?!BL(b):!0})),aR(n,d,f,a),nv(d,h),n.ancestors.pop(),n.schema=s,n.create(a,f,d,i)}function cB(n,a){if(a.data&&a.data.estree&&n.evaluater){const s=a.data.estree.body[0];return P(s.type==="ExpressionStatement"),n.evaluater.evaluateExpression(s.expression)}Cc(n,a.position)}function fB(n,a){if(a.data&&a.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(a.data.estree);Cc(n,a.position)}function dB(n,a,i){const s=n.schema;let u=s;a.name==="svg"&&s.space==="html"&&(u=W0,n.schema=u),n.ancestors.push(a);const f=a.name===null?n.Fragment:iR(n,a.name,!0),d=bB(n,a),h=rv(n,a);return aR(n,d,f,a),nv(d,h),n.ancestors.pop(),n.schema=s,n.create(a,f,d,i)}function hB(n,a,i){const s={};return nv(s,rv(n,a)),n.create(a,n.Fragment,s,i)}function mB(n,a){return a.value}function aR(n,a,i,s){typeof i!="string"&&i!==n.Fragment&&n.passNode&&(a.node=s)}function nv(n,a){if(a.length>0){const i=a.length>1?a:a[0];i&&(n.children=i)}}function pB(n,a,i){return s;function s(u,f,d,h){const y=Array.isArray(d.children)?i:a;return h?y(f,d,h):y(f,d)}}function yB(n,a){return i;function i(s,u,f,d){const h=Array.isArray(f.children),b=ev(s);return a(u,f,d,h,{columnNumber:b?b.column-1:void 0,fileName:n,lineNumber:b?b.line:void 0},void 0)}}function gB(n,a){const i={};let s,u;for(u in a.properties)if(u!=="children"&&tv.call(a.properties,u)){const f=vB(n,u,a.properties[u]);if(f){const[d,h]=f;n.tableCellAlignToStyle&&d==="align"&&typeof h=="string"&&sB.has(a.tagName)?s=h:i[d]=h}}if(s){const f=i.style||(i.style={});f[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return i}function bB(n,a){const i={};for(const s of a.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&n.evaluater){const f=s.data.estree.body[0];P(f.type==="ExpressionStatement");const d=f.expression;P(d.type==="ObjectExpression");const h=d.properties[0];P(h.type==="SpreadElement"),Object.assign(i,n.evaluater.evaluateExpression(h.argument))}else Cc(n,a.position);else{const u=s.name;let f;if(s.value&&typeof s.value=="object")if(s.value.data&&s.value.data.estree&&n.evaluater){const h=s.value.data.estree.body[0];P(h.type==="ExpressionStatement"),f=n.evaluater.evaluateExpression(h.expression)}else Cc(n,a.position);else f=s.value===null?!0:s.value;i[u]=f}return i}function rv(n,a){const i=[];let s=-1;const u=n.passKeys?new Map:aB;for(;++s<a.children.length;){const f=a.children[s];let d;if(n.passKeys){const b=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(b){const y=u.get(b)||0;d=b+"-"+y,u.set(b,y+1)}}const h=rR(n,f,d);h!==void 0&&i.push(h)}return i}function vB(n,a,i){const s=GL(n.schema,a);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=s.commaSeparated?_L(i):ZL(i)),s.property==="style"){let u=typeof i=="object"?i:xB(n,String(i));return n.stylePropertyNameCase==="css"&&(u=SB(u)),["style",u]}return[n.elementAttributeNameCase==="react"&&s.space?IL[s.property]||s.property:s.attribute,i]}}function xB(n,a){try{return nB(a,{reactCompat:!0})}catch(i){if(n.ignoreInvalidStyle)return{};const s=i,u=new kn("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:s,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=n.filePath||void 0,u.url=nR+"#cannot-parse-style-attribute",u}}function iR(n,a,i){let s;if(!i)s={type:"Literal",value:a};else if(a.includes(".")){const u=a.split(".");let f=-1,d;for(;++f<u.length;){const h=FD(u[f])?{type:"Identifier",name:u[f]}:{type:"Literal",value:u[f]};d=d?{type:"MemberExpression",object:d,property:h,computed:!!(f&&h.type==="Literal"),optional:!1}:h}P(d,"always a result"),s=d}else s=FD(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(s.type==="Literal"){const u=s.value;return tv.call(n.components,u)?n.components[u]:u}if(n.evaluater)return n.evaluater.evaluateExpression(s);Cc(n)}function Cc(n,a){const i=new kn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=n.filePath||void 0,i.url=nR+"#cannot-handle-mdx-estrees-without-createevaluater",i}function SB(n){const a={};let i;for(i in n)tv.call(n,i)&&(a[wB(i)]=n[i]);return a}function wB(n){let a=n.replace(iB,EB);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function EB(n){return"-"+n.toLowerCase()}const cb={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},TB={};function kB(n,a){const i=TB,s=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,u=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return oR(n,s,u)}function oR(n,a,i){if(DB(n)){if("value"in n)return n.type==="html"&&!i?"":n.value;if(a&&"alt"in n&&n.alt)return n.alt;if("children"in n)return eN(n.children,a,i)}return Array.isArray(n)?eN(n,a,i):""}function eN(n,a,i){const s=[];let u=-1;for(;++u<n.length;)s[u]=oR(n[u],a,i);return s.join("")}function DB(n){return!!(n&&typeof n=="object")}const tN=document.createElement("i");function av(n){const a="&"+n+";";tN.innerHTML=a;const i=tN.textContent;return i.charCodeAt(i.length-1)===59&&n!=="semi"||i===a?!1:i}const D={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,ht:9,lf:10,vt:11,cr:13,space:32,exclamationMark:33,quotationMark:34,numberSign:35,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseX:88,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseX:120,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},ke={atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},k={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"},_a={ht:" ",lf:`
|
|
255
|
+
`,cr:"\r",space:" ",replacementCharacter:"�"};function La(n,a,i,s){const u=n.length;let f=0,d;if(a<0?a=-a>u?0:u+a:a=a>u?u:a,i=i>0?i:0,s.length<ke.v8MaxSafeChunkSize)d=Array.from(s),d.unshift(a,i),n.splice(...d);else for(i&&n.splice(a,i);f<s.length;)d=s.slice(f,f+ke.v8MaxSafeChunkSize),d.unshift(a,0),n.splice(...d),f+=ke.v8MaxSafeChunkSize,a+=ke.v8MaxSafeChunkSize}function Ur(n,a){return n.length>0?(La(n,n.length,0,a),n):a}const nN={}.hasOwnProperty;function NB(n){const a={};let i=-1;for(;++i<n.length;)AB(a,n[i]);return a}function AB(n,a){let i;for(i in a){const u=(nN.call(n,i)?n[i]:void 0)||(n[i]={}),f=a[i];let d;if(f)for(d in f){nN.call(u,d)||(u[d]=[]);const h=f[d];CB(u[d],Array.isArray(h)?h:h?[h]:[])}}}function CB(n,a){let i=-1;const s=[];for(;++i<a.length;)(a[i].add==="after"?n:s).push(a[i]);La(n,0,0,s)}function sR(n,a){const i=Number.parseInt(n,a);return i<D.ht||i===D.vt||i>D.cr&&i<D.space||i>D.tilde&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?_a.replacementCharacter:String.fromCodePoint(i)}function El(n){return n.replace(/[\t\n\r ]+/g,_a.space).replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ua=fo(/[A-Za-z]/),pr=fo(/[\dA-Za-z]/),RB=fo(/[#-'*+\--9=?A-Z^-~]/);function i0(n){return n!==null&&(n<D.space||n===D.del)}const o0=fo(/\d/),zB=fo(/[\dA-Fa-f]/),OB=fo(/[!-/:-@[-`{-~]/);function ze(n){return n!==null&&n<D.horizontalTab}function Zn(n){return n!==null&&(n<D.nul||n===D.space)}function ut(n){return n===D.horizontalTab||n===D.virtualSpace||n===D.space}const MB=fo(new RegExp("\\p{P}|\\p{S}","u")),_B=fo(/\s/);function fo(n){return a;function a(i){return i!==null&&i>-1&&n.test(String.fromCharCode(i))}}function Ol(n){const a=[];let i=-1,s=0,u=0;for(;++i<n.length;){const f=n.charCodeAt(i);let d="";if(f===D.percentSign&&pr(n.charCodeAt(i+1))&&pr(n.charCodeAt(i+2)))u=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(d=String.fromCharCode(f));else if(f>55295&&f<57344){const h=n.charCodeAt(i+1);f<56320&&h>56319&&h<57344?(d=String.fromCharCode(f,h),u=1):d=_a.replacementCharacter}else d=String.fromCharCode(f);d&&(a.push(n.slice(s,i),encodeURIComponent(d)),s=i+u+1,d=""),u&&(i+=u,u=0)}return a.join("")+n.slice(s)}function Tt(n,a,i,s){const u=s?s-1:Number.POSITIVE_INFINITY;let f=0;return d;function d(b){return ut(b)?(n.enter(i),h(b)):a(b)}function h(b){return ut(b)&&f++<u?(n.consume(b),h):(n.exit(i),a(b))}}const UB={tokenize:jB};function jB(n){const a=n.attempt(this.parser.constructs.contentInitial,s,u);let i;return a;function s(h){if(P(h===D.eof||ze(h),"expected eol or eof"),h===D.eof){n.consume(h);return}return n.enter(k.lineEnding),n.consume(h),n.exit(k.lineEnding),Tt(n,a,k.linePrefix)}function u(h){return P(h!==D.eof&&!ze(h),"expected anything other than a line ending or EOF"),n.enter(k.paragraph),f(h)}function f(h){const b=n.enter(k.chunkText,{contentType:ke.contentTypeText,previous:i});return i&&(i.next=b),i=b,d(h)}function d(h){if(h===D.eof){n.exit(k.chunkText),n.exit(k.paragraph),n.consume(h);return}return ze(h)?(n.consume(h),n.exit(k.chunkText),f):(n.consume(h),d)}}const VB={tokenize:LB},rN={tokenize:BB};function LB(n){const a=this,i=[];let s=0,u,f,d;return h;function h(I){if(s<i.length){const ie=i[s];return a.containerState=ie[1],P(ie[0].continuation,"expected `continuation` to be defined on container construct"),n.attempt(ie[0].continuation,b,y)(I)}return y(I)}function b(I){if(P(a.containerState,"expected `containerState` to be defined after continuation"),s++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,u&&X();const ie=a.events.length;let re=ie,G;for(;re--;)if(a.events[re][0]==="exit"&&a.events[re][1].type===k.chunkFlow){G=a.events[re][1].end;break}P(G,"could not find previous flow chunk"),_(s);let ge=ie;for(;ge<a.events.length;)a.events[ge][1].end={...G},ge++;return La(a.events,re+1,0,a.events.slice(ie)),a.events.length=ge,y(I)}return h(I)}function y(I){if(s===i.length){if(!u)return x(I);if(u.currentConstruct&&u.currentConstruct.concrete)return N(I);a.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return a.containerState={},n.check(rN,p,v)(I)}function p(I){return u&&X(),_(s),x(I)}function v(I){return a.parser.lazy[a.now().line]=s!==i.length,d=a.now().offset,N(I)}function x(I){return a.containerState={},n.attempt(rN,S,N)(I)}function S(I){return P(a.currentConstruct,"expected `currentConstruct` to be defined on tokenizer"),P(a.containerState,"expected `containerState` to be defined on tokenizer"),s++,i.push([a.currentConstruct,a.containerState]),x(I)}function N(I){if(I===D.eof){u&&X(),_(0),n.consume(I);return}return u=u||a.parser.flow(a.now()),n.enter(k.chunkFlow,{_tokenizer:u,contentType:ke.contentTypeFlow,previous:f}),V(I)}function V(I){if(I===D.eof){R(n.exit(k.chunkFlow),!0),_(0),n.consume(I);return}return ze(I)?(n.consume(I),R(n.exit(k.chunkFlow)),s=0,a.interrupt=void 0,h):(n.consume(I),V)}function R(I,ie){P(u,"expected `childFlow` to be defined when continuing");const re=a.sliceStream(I);if(ie&&re.push(null),I.previous=f,f&&(f.next=I),f=I,u.defineSkip(I.start),u.write(re),a.parser.lazy[I.start.line]){let G=u.events.length;for(;G--;)if(u.events[G][1].start.offset<d&&(!u.events[G][1].end||u.events[G][1].end.offset>d))return;const ge=a.events.length;let le=ge,ce,F;for(;le--;)if(a.events[le][0]==="exit"&&a.events[le][1].type===k.chunkFlow){if(ce){F=a.events[le][1].end;break}ce=!0}for(P(F,"could not find previous flow chunk"),_(s),G=ge;G<a.events.length;)a.events[G][1].end={...F},G++;La(a.events,le+1,0,a.events.slice(ge)),a.events.length=G}}function _(I){let ie=i.length;for(;ie-- >I;){const re=i[ie];a.containerState=re[1],P(re[0].exit,"expected `exit` to be defined on container construct"),re[0].exit.call(a,n)}i.length=I}function X(){P(a.containerState,"expected `containerState` to be defined when closing flow"),P(u,"expected `childFlow` to be defined when closing it"),u.write([D.eof]),f=void 0,u=void 0,a.containerState._closeFlow=void 0}}function BB(n,a,i){return P(this.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,n.attempt(this.parser.constructs.document,a,i),k.linePrefix,this.parser.constructs.disable.null.includes("codeIndented")?void 0:ke.tabSize)}function aN(n){if(n===D.eof||Zn(n)||_B(n))return ke.characterGroupWhitespace;if(MB(n))return ke.characterGroupPunctuation}function iv(n,a,i){const s=[];let u=-1;for(;++u<n.length;){const f=n[u].resolveAll;f&&!s.includes(f)&&(a=f(a,i),s.push(f))}return a}const s0={name:"attention",resolveAll:HB,tokenize:PB};function HB(n,a){let i=-1,s,u,f,d,h,b,y,p;for(;++i<n.length;)if(n[i][0]==="enter"&&n[i][1].type==="attentionSequence"&&n[i][1]._close){for(s=i;s--;)if(n[s][0]==="exit"&&n[s][1].type==="attentionSequence"&&n[s][1]._open&&a.sliceSerialize(n[s][1]).charCodeAt(0)===a.sliceSerialize(n[i][1]).charCodeAt(0)){if((n[s][1]._close||n[i][1]._open)&&(n[i][1].end.offset-n[i][1].start.offset)%3&&!((n[s][1].end.offset-n[s][1].start.offset+n[i][1].end.offset-n[i][1].start.offset)%3))continue;b=n[s][1].end.offset-n[s][1].start.offset>1&&n[i][1].end.offset-n[i][1].start.offset>1?2:1;const v={...n[s][1].end},x={...n[i][1].start};iN(v,-b),iN(x,b),d={type:b>1?k.strongSequence:k.emphasisSequence,start:v,end:{...n[s][1].end}},h={type:b>1?k.strongSequence:k.emphasisSequence,start:{...n[i][1].start},end:x},f={type:b>1?k.strongText:k.emphasisText,start:{...n[s][1].end},end:{...n[i][1].start}},u={type:b>1?k.strong:k.emphasis,start:{...d.start},end:{...h.end}},n[s][1].end={...d.start},n[i][1].start={...h.end},y=[],n[s][1].end.offset-n[s][1].start.offset&&(y=Ur(y,[["enter",n[s][1],a],["exit",n[s][1],a]])),y=Ur(y,[["enter",u,a],["enter",d,a],["exit",d,a],["enter",f,a]]),P(a.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),y=Ur(y,iv(a.parser.constructs.insideSpan.null,n.slice(s+1,i),a)),y=Ur(y,[["exit",f,a],["enter",h,a],["exit",h,a],["exit",u,a]]),n[i][1].end.offset-n[i][1].start.offset?(p=2,y=Ur(y,[["enter",n[i][1],a],["exit",n[i][1],a]])):p=0,La(n,s-1,i-s+3,y),i=s+y.length-p-2;break}}for(i=-1;++i<n.length;)n[i][1].type==="attentionSequence"&&(n[i][1].type="data");return n}function PB(n,a){const i=this.parser.constructs.attentionMarkers.null,s=this.previous,u=aN(s);let f;return d;function d(b){return P(b===D.asterisk||b===D.underscore,"expected asterisk or underscore"),f=b,n.enter("attentionSequence"),h(b)}function h(b){if(b===f)return n.consume(b),h;const y=n.exit("attentionSequence"),p=aN(b);P(i,"expected `attentionMarkers` to be populated");const v=!p||p===ke.characterGroupPunctuation&&u||i.includes(b),x=!u||u===ke.characterGroupPunctuation&&p||i.includes(s);return y._open=!!(f===D.asterisk?v:v&&(u||!x)),y._close=!!(f===D.asterisk?x:x&&(p||!v)),a(b)}}function iN(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const qB={name:"autolink",tokenize:IB};function IB(n,a,i){let s=0;return u;function u(S){return P(S===D.lessThan,"expected `<`"),n.enter(k.autolink),n.enter(k.autolinkMarker),n.consume(S),n.exit(k.autolinkMarker),n.enter(k.autolinkProtocol),f}function f(S){return Ua(S)?(n.consume(S),d):S===D.atSign?i(S):y(S)}function d(S){return S===D.plusSign||S===D.dash||S===D.dot||pr(S)?(s=1,h(S)):y(S)}function h(S){return S===D.colon?(n.consume(S),s=0,b):(S===D.plusSign||S===D.dash||S===D.dot||pr(S))&&s++<ke.autolinkSchemeSizeMax?(n.consume(S),h):(s=0,y(S))}function b(S){return S===D.greaterThan?(n.exit(k.autolinkProtocol),n.enter(k.autolinkMarker),n.consume(S),n.exit(k.autolinkMarker),n.exit(k.autolink),a):S===D.eof||S===D.space||S===D.lessThan||i0(S)?i(S):(n.consume(S),b)}function y(S){return S===D.atSign?(n.consume(S),p):RB(S)?(n.consume(S),y):i(S)}function p(S){return pr(S)?v(S):i(S)}function v(S){return S===D.dot?(n.consume(S),s=0,p):S===D.greaterThan?(n.exit(k.autolinkProtocol).type=k.autolinkEmail,n.enter(k.autolinkMarker),n.consume(S),n.exit(k.autolinkMarker),n.exit(k.autolink),a):x(S)}function x(S){if((S===D.dash||pr(S))&&s++<ke.autolinkDomainSizeMax){const N=S===D.dash?x:v;return n.consume(S),N}return i(S)}}const Jh={partial:!0,tokenize:FB};function FB(n,a,i){return s;function s(f){return ut(f)?Tt(n,u,k.linePrefix)(f):u(f)}function u(f){return f===D.eof||ze(f)?a(f):i(f)}}const lR={continuation:{tokenize:GB},exit:$B,name:"blockQuote",tokenize:YB};function YB(n,a,i){const s=this;return u;function u(d){if(d===D.greaterThan){const h=s.containerState;return P(h,"expected `containerState` to be defined in container"),h.open||(n.enter(k.blockQuote,{_container:!0}),h.open=!0),n.enter(k.blockQuotePrefix),n.enter(k.blockQuoteMarker),n.consume(d),n.exit(k.blockQuoteMarker),f}return i(d)}function f(d){return ut(d)?(n.enter(k.blockQuotePrefixWhitespace),n.consume(d),n.exit(k.blockQuotePrefixWhitespace),n.exit(k.blockQuotePrefix),a):(n.exit(k.blockQuotePrefix),a(d))}}function GB(n,a,i){const s=this;return u;function u(d){return ut(d)?(P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,f,k.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:ke.tabSize)(d)):f(d)}function f(d){return n.attempt(lR,a,i)(d)}}function $B(n){n.exit(k.blockQuote)}const uR={name:"characterEscape",tokenize:XB};function XB(n,a,i){return s;function s(f){return P(f===D.backslash,"expected `\\`"),n.enter(k.characterEscape),n.enter(k.escapeMarker),n.consume(f),n.exit(k.escapeMarker),u}function u(f){return OB(f)?(n.enter(k.characterEscapeValue),n.consume(f),n.exit(k.characterEscapeValue),n.exit(k.characterEscape),a):i(f)}}const cR={name:"characterReference",tokenize:QB};function QB(n,a,i){const s=this;let u=0,f,d;return h;function h(v){return P(v===D.ampersand,"expected `&`"),n.enter(k.characterReference),n.enter(k.characterReferenceMarker),n.consume(v),n.exit(k.characterReferenceMarker),b}function b(v){return v===D.numberSign?(n.enter(k.characterReferenceMarkerNumeric),n.consume(v),n.exit(k.characterReferenceMarkerNumeric),y):(n.enter(k.characterReferenceValue),f=ke.characterReferenceNamedSizeMax,d=pr,p(v))}function y(v){return v===D.uppercaseX||v===D.lowercaseX?(n.enter(k.characterReferenceMarkerHexadecimal),n.consume(v),n.exit(k.characterReferenceMarkerHexadecimal),n.enter(k.characterReferenceValue),f=ke.characterReferenceHexadecimalSizeMax,d=zB,p):(n.enter(k.characterReferenceValue),f=ke.characterReferenceDecimalSizeMax,d=o0,p(v))}function p(v){if(v===D.semicolon&&u){const x=n.exit(k.characterReferenceValue);return d===pr&&!av(s.sliceSerialize(x))?i(v):(n.enter(k.characterReferenceMarker),n.consume(v),n.exit(k.characterReferenceMarker),n.exit(k.characterReference),a)}return d(v)&&u++<f?(n.consume(v),p):i(v)}}const oN={partial:!0,tokenize:JB},sN={concrete:!0,name:"codeFenced",tokenize:ZB};function ZB(n,a,i){const s=this,u={partial:!0,tokenize:re};let f=0,d=0,h;return b;function b(G){return y(G)}function y(G){P(G===D.graveAccent||G===D.tilde,"expected `` ` `` or `~`");const ge=s.events[s.events.length-1];return f=ge&&ge[1].type===k.linePrefix?ge[2].sliceSerialize(ge[1],!0).length:0,h=G,n.enter(k.codeFenced),n.enter(k.codeFencedFence),n.enter(k.codeFencedFenceSequence),p(G)}function p(G){return G===h?(d++,n.consume(G),p):d<ke.codeFencedSequenceSizeMin?i(G):(n.exit(k.codeFencedFenceSequence),ut(G)?Tt(n,v,k.whitespace)(G):v(G))}function v(G){return G===D.eof||ze(G)?(n.exit(k.codeFencedFence),s.interrupt?a(G):n.check(oN,V,ie)(G)):(n.enter(k.codeFencedFenceInfo),n.enter(k.chunkString,{contentType:ke.contentTypeString}),x(G))}function x(G){return G===D.eof||ze(G)?(n.exit(k.chunkString),n.exit(k.codeFencedFenceInfo),v(G)):ut(G)?(n.exit(k.chunkString),n.exit(k.codeFencedFenceInfo),Tt(n,S,k.whitespace)(G)):G===D.graveAccent&&G===h?i(G):(n.consume(G),x)}function S(G){return G===D.eof||ze(G)?v(G):(n.enter(k.codeFencedFenceMeta),n.enter(k.chunkString,{contentType:ke.contentTypeString}),N(G))}function N(G){return G===D.eof||ze(G)?(n.exit(k.chunkString),n.exit(k.codeFencedFenceMeta),v(G)):G===D.graveAccent&&G===h?i(G):(n.consume(G),N)}function V(G){return P(ze(G),"expected eol"),n.attempt(u,ie,R)(G)}function R(G){return P(ze(G),"expected eol"),n.enter(k.lineEnding),n.consume(G),n.exit(k.lineEnding),_}function _(G){return f>0&&ut(G)?Tt(n,X,k.linePrefix,f+1)(G):X(G)}function X(G){return G===D.eof||ze(G)?n.check(oN,V,ie)(G):(n.enter(k.codeFlowValue),I(G))}function I(G){return G===D.eof||ze(G)?(n.exit(k.codeFlowValue),X(G)):(n.consume(G),I)}function ie(G){return n.exit(k.codeFenced),a(G)}function re(G,ge,le){let ce=0;return F;function F(oe){return P(ze(oe),"expected eol"),G.enter(k.lineEnding),G.consume(oe),G.exit(k.lineEnding),he}function he(oe){return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),G.enter(k.codeFencedFence),ut(oe)?Tt(G,se,k.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:ke.tabSize)(oe):se(oe)}function se(oe){return oe===h?(G.enter(k.codeFencedFenceSequence),W(oe)):le(oe)}function W(oe){return oe===h?(ce++,G.consume(oe),W):ce>=d?(G.exit(k.codeFencedFenceSequence),ut(oe)?Tt(G,K,k.whitespace)(oe):K(oe)):le(oe)}function K(oe){return oe===D.eof||ze(oe)?(G.exit(k.codeFencedFence),ge(oe)):le(oe)}}}function JB(n,a,i){const s=this;return u;function u(d){return d===D.eof?i(d):(P(ze(d),"expected eol"),n.enter(k.lineEnding),n.consume(d),n.exit(k.lineEnding),f)}function f(d){return s.parser.lazy[s.now().line]?i(d):a(d)}}const fb={name:"codeIndented",tokenize:WB},KB={partial:!0,tokenize:e6};function WB(n,a,i){const s=this;return u;function u(y){return P(ut(y)),n.enter(k.codeIndented),Tt(n,f,k.linePrefix,ke.tabSize+1)(y)}function f(y){const p=s.events[s.events.length-1];return p&&p[1].type===k.linePrefix&&p[2].sliceSerialize(p[1],!0).length>=ke.tabSize?d(y):i(y)}function d(y){return y===D.eof?b(y):ze(y)?n.attempt(KB,d,b)(y):(n.enter(k.codeFlowValue),h(y))}function h(y){return y===D.eof||ze(y)?(n.exit(k.codeFlowValue),d(y)):(n.consume(y),h)}function b(y){return n.exit(k.codeIndented),a(y)}}function e6(n,a,i){const s=this;return u;function u(d){return s.parser.lazy[s.now().line]?i(d):ze(d)?(n.enter(k.lineEnding),n.consume(d),n.exit(k.lineEnding),u):Tt(n,f,k.linePrefix,ke.tabSize+1)(d)}function f(d){const h=s.events[s.events.length-1];return h&&h[1].type===k.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=ke.tabSize?a(d):ze(d)?u(d):i(d)}}const t6={name:"codeText",previous:fR,resolve:n6,tokenize:r6};function n6(n){let a=n.length-4,i=3,s,u;if((n[i][1].type===k.lineEnding||n[i][1].type==="space")&&(n[a][1].type===k.lineEnding||n[a][1].type==="space")){for(s=i;++s<a;)if(n[s][1].type===k.codeTextData){n[i][1].type=k.codeTextPadding,n[a][1].type=k.codeTextPadding,i+=2,a-=2;break}}for(s=i-1,a++;++s<=a;)u===void 0?s!==a&&n[s][1].type!==k.lineEnding&&(u=s):(s===a||n[s][1].type===k.lineEnding)&&(n[u][1].type=k.codeTextData,s!==u+2&&(n[u][1].end=n[s-1][1].end,n.splice(u+2,s-u-2),a-=s-u-2,s=u+2),u=void 0);return n}function fR(n){return n!==D.graveAccent||this.events[this.events.length-1][1].type===k.characterEscape}function r6(n,a,i){const s=this;let u=0,f,d;return h;function h(x){return P(x===D.graveAccent,"expected `` ` ``"),P(fR.call(s,s.previous),"expected correct previous"),n.enter(k.codeText),n.enter(k.codeTextSequence),b(x)}function b(x){return x===D.graveAccent?(n.consume(x),u++,b):(n.exit(k.codeTextSequence),y(x))}function y(x){return x===D.eof?i(x):x===D.space?(n.enter("space"),n.consume(x),n.exit("space"),y):x===D.graveAccent?(d=n.enter(k.codeTextSequence),f=0,v(x)):ze(x)?(n.enter(k.lineEnding),n.consume(x),n.exit(k.lineEnding),y):(n.enter(k.codeTextData),p(x))}function p(x){return x===D.eof||x===D.space||x===D.graveAccent||ze(x)?(n.exit(k.codeTextData),y(x)):(n.consume(x),p)}function v(x){return x===D.graveAccent?(n.consume(x),f++,v):f===u?(n.exit(k.codeTextSequence),n.exit(k.codeText),a(x)):(d.type=k.codeTextData,p(x))}}class a6{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,i){const s=i??Number.POSITIVE_INFINITY;return s<this.left.length?this.left.slice(a,s):a>this.left.length?this.right.slice(this.right.length-s+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-s+this.left.length).reverse())}splice(a,i,s){const u=i||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return s&&mc(this.left,s),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),mc(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),mc(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const i=this.left.splice(a,Number.POSITIVE_INFINITY);mc(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);mc(this.left,i.reverse())}}}function mc(n,a){let i=0;if(a.length<ke.v8MaxSafeChunkSize)n.push(...a);else for(;i<a.length;)n.push(...a.slice(i,i+ke.v8MaxSafeChunkSize)),i+=ke.v8MaxSafeChunkSize}function dR(n){const a={};let i=-1,s,u,f,d,h,b,y;const p=new a6(n);for(;++i<p.length;){for(;i in a;)i=a[i];if(s=p.get(i),i&&s[1].type===k.chunkFlow&&p.get(i-1)[1].type===k.listItemPrefix&&(P(s[1]._tokenizer,"expected `_tokenizer` on subtokens"),b=s[1]._tokenizer.events,f=0,f<b.length&&b[f][1].type===k.lineEndingBlank&&(f+=2),f<b.length&&b[f][1].type===k.content))for(;++f<b.length&&b[f][1].type!==k.content;)b[f][1].type===k.chunkText&&(b[f][1]._isInFirstContentOfListItem=!0,f++);if(s[0]==="enter")s[1].contentType&&(Object.assign(a,i6(p,i)),i=a[i],y=!0);else if(s[1]._container){for(f=i,u=void 0;f--;)if(d=p.get(f),d[1].type===k.lineEnding||d[1].type===k.lineEndingBlank)d[0]==="enter"&&(u&&(p.get(u)[1].type=k.lineEndingBlank),d[1].type=k.lineEnding,u=f);else if(!(d[1].type===k.linePrefix||d[1].type===k.listItemIndent))break;u&&(s[1].end={...p.get(u)[1].start},h=p.slice(u,i),h.unshift(s),p.splice(u,i-u+1,h))}}return La(n,0,Number.POSITIVE_INFINITY,p.slice(0)),!y}function i6(n,a){const i=n.get(a)[1],s=n.get(a)[2];let u=a-1;const f=[];P(i.contentType,"expected `contentType` on subtokens");let d=i._tokenizer;d||(d=s.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(d._contentTypeTextTrailing=!0));const h=d.events,b=[],y={};let p,v,x=-1,S=i,N=0,V=0;const R=[V];for(;S;){for(;n.get(++u)[1]!==S;);P(!v||S.previous===v,"expected previous to match"),P(!v||v.next===S,"expected next to match"),f.push(u),S._tokenizer||(p=s.sliceStream(S),S.next||p.push(D.eof),v&&d.defineSkip(S.start),S._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(p),S._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),v=S,S=S.next}for(S=i;++x<h.length;)h[x][0]==="exit"&&h[x-1][0]==="enter"&&h[x][1].type===h[x-1][1].type&&h[x][1].start.line!==h[x][1].end.line&&(P(S,"expected a current token"),V=x+1,R.push(V),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(d.events=[],S?(S._tokenizer=void 0,S.previous=void 0,P(!S.next,"expected no next token")):R.pop(),x=R.length;x--;){const _=h.slice(R[x],R[x+1]),X=f.pop();P(X!==void 0,"expected a start position when splicing"),b.push([X,X+_.length-1]),n.splice(X,2,_)}for(b.reverse(),x=-1;++x<b.length;)y[N+b[x][0]]=N+b[x][1],N+=b[x][1]-b[x][0]-1;return y}const o6={resolve:l6,tokenize:u6},s6={partial:!0,tokenize:c6};function l6(n){return dR(n),n}function u6(n,a){let i;return s;function s(h){return P(h!==D.eof&&!ze(h),"expected no eof or eol"),n.enter(k.content),i=n.enter(k.chunkContent,{contentType:ke.contentTypeContent}),u(h)}function u(h){return h===D.eof?f(h):ze(h)?n.check(s6,d,f)(h):(n.consume(h),u)}function f(h){return n.exit(k.chunkContent),n.exit(k.content),a(h)}function d(h){return P(ze(h),"expected eol"),n.consume(h),n.exit(k.chunkContent),P(i,"expected previous token"),i.next=n.enter(k.chunkContent,{contentType:ke.contentTypeContent,previous:i}),i=i.next,u}}function c6(n,a,i){const s=this;return u;function u(d){return P(ze(d),"expected a line ending"),n.exit(k.chunkContent),n.enter(k.lineEnding),n.consume(d),n.exit(k.lineEnding),Tt(n,f,k.linePrefix)}function f(d){if(d===D.eof||ze(d))return i(d);P(s.parser.constructs.disable.null,"expected `disable.null` to be populated");const h=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type===k.linePrefix&&h[2].sliceSerialize(h[1],!0).length>=ke.tabSize?a(d):n.interrupt(s.parser.constructs.flow,i,a)(d)}}function hR(n,a,i,s,u,f,d,h,b){const y=b||Number.POSITIVE_INFINITY;let p=0;return v;function v(_){return _===D.lessThan?(n.enter(s),n.enter(u),n.enter(f),n.consume(_),n.exit(f),x):_===D.eof||_===D.space||_===D.rightParenthesis||i0(_)?i(_):(n.enter(s),n.enter(d),n.enter(h),n.enter(k.chunkString,{contentType:ke.contentTypeString}),V(_))}function x(_){return _===D.greaterThan?(n.enter(f),n.consume(_),n.exit(f),n.exit(u),n.exit(s),a):(n.enter(h),n.enter(k.chunkString,{contentType:ke.contentTypeString}),S(_))}function S(_){return _===D.greaterThan?(n.exit(k.chunkString),n.exit(h),x(_)):_===D.eof||_===D.lessThan||ze(_)?i(_):(n.consume(_),_===D.backslash?N:S)}function N(_){return _===D.lessThan||_===D.greaterThan||_===D.backslash?(n.consume(_),S):S(_)}function V(_){return!p&&(_===D.eof||_===D.rightParenthesis||Zn(_))?(n.exit(k.chunkString),n.exit(h),n.exit(d),n.exit(s),a(_)):p<y&&_===D.leftParenthesis?(n.consume(_),p++,V):_===D.rightParenthesis?(n.consume(_),p--,V):_===D.eof||_===D.space||_===D.leftParenthesis||i0(_)?i(_):(n.consume(_),_===D.backslash?R:V)}function R(_){return _===D.leftParenthesis||_===D.rightParenthesis||_===D.backslash?(n.consume(_),V):V(_)}}function mR(n,a,i,s,u,f){const d=this;let h=0,b;return y;function y(S){return P(S===D.leftSquareBracket,"expected `[`"),n.enter(s),n.enter(u),n.consume(S),n.exit(u),n.enter(f),p}function p(S){return h>ke.linkReferenceSizeMax||S===D.eof||S===D.leftSquareBracket||S===D.rightSquareBracket&&!b||S===D.caret&&!h&&"_hiddenFootnoteSupport"in d.parser.constructs?i(S):S===D.rightSquareBracket?(n.exit(f),n.enter(u),n.consume(S),n.exit(u),n.exit(s),a):ze(S)?(n.enter(k.lineEnding),n.consume(S),n.exit(k.lineEnding),p):(n.enter(k.chunkString,{contentType:ke.contentTypeString}),v(S))}function v(S){return S===D.eof||S===D.leftSquareBracket||S===D.rightSquareBracket||ze(S)||h++>ke.linkReferenceSizeMax?(n.exit(k.chunkString),p(S)):(n.consume(S),b||(b=!ut(S)),S===D.backslash?x:v)}function x(S){return S===D.leftSquareBracket||S===D.backslash||S===D.rightSquareBracket?(n.consume(S),h++,v):v(S)}}function pR(n,a,i,s,u,f){let d;return h;function h(x){return x===D.quotationMark||x===D.apostrophe||x===D.leftParenthesis?(n.enter(s),n.enter(u),n.consume(x),n.exit(u),d=x===D.leftParenthesis?D.rightParenthesis:x,b):i(x)}function b(x){return x===d?(n.enter(u),n.consume(x),n.exit(u),n.exit(s),a):(n.enter(f),y(x))}function y(x){return x===d?(n.exit(f),b(d)):x===D.eof?i(x):ze(x)?(n.enter(k.lineEnding),n.consume(x),n.exit(k.lineEnding),Tt(n,y,k.linePrefix)):(n.enter(k.chunkString,{contentType:ke.contentTypeString}),p(x))}function p(x){return x===d||x===D.eof||ze(x)?(n.exit(k.chunkString),y(x)):(n.consume(x),x===D.backslash?v:p)}function v(x){return x===d||x===D.backslash?(n.consume(x),p):p(x)}}function wc(n,a){let i;return s;function s(u){return ze(u)?(n.enter(k.lineEnding),n.consume(u),n.exit(k.lineEnding),i=!0,s):ut(u)?Tt(n,s,i?k.linePrefix:k.lineSuffix)(u):a(u)}}const f6={name:"definition",tokenize:h6},d6={partial:!0,tokenize:m6};function h6(n,a,i){const s=this;let u;return f;function f(S){return n.enter(k.definition),d(S)}function d(S){return P(S===D.leftSquareBracket,"expected `[`"),mR.call(s,n,h,i,k.definitionLabel,k.definitionLabelMarker,k.definitionLabelString)(S)}function h(S){return u=El(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),S===D.colon?(n.enter(k.definitionMarker),n.consume(S),n.exit(k.definitionMarker),b):i(S)}function b(S){return Zn(S)?wc(n,y)(S):y(S)}function y(S){return hR(n,p,i,k.definitionDestination,k.definitionDestinationLiteral,k.definitionDestinationLiteralMarker,k.definitionDestinationRaw,k.definitionDestinationString)(S)}function p(S){return n.attempt(d6,v,v)(S)}function v(S){return ut(S)?Tt(n,x,k.whitespace)(S):x(S)}function x(S){return S===D.eof||ze(S)?(n.exit(k.definition),s.parser.defined.push(u),a(S)):i(S)}}function m6(n,a,i){return s;function s(h){return Zn(h)?wc(n,u)(h):i(h)}function u(h){return pR(n,f,i,k.definitionTitle,k.definitionTitleMarker,k.definitionTitleString)(h)}function f(h){return ut(h)?Tt(n,d,k.whitespace)(h):d(h)}function d(h){return h===D.eof||ze(h)?a(h):i(h)}}const p6={name:"hardBreakEscape",tokenize:y6};function y6(n,a,i){return s;function s(f){return P(f===D.backslash,"expected `\\`"),n.enter(k.hardBreakEscape),n.consume(f),u}function u(f){return ze(f)?(n.exit(k.hardBreakEscape),a(f)):i(f)}}const g6={name:"headingAtx",resolve:b6,tokenize:v6};function b6(n,a){let i=n.length-2,s=3,u,f;return n[s][1].type===k.whitespace&&(s+=2),i-2>s&&n[i][1].type===k.whitespace&&(i-=2),n[i][1].type===k.atxHeadingSequence&&(s===i-1||i-4>s&&n[i-2][1].type===k.whitespace)&&(i-=s+1===i?2:4),i>s&&(u={type:k.atxHeadingText,start:n[s][1].start,end:n[i][1].end},f={type:k.chunkText,start:n[s][1].start,end:n[i][1].end,contentType:ke.contentTypeText},La(n,s,i-s+1,[["enter",u,a],["enter",f,a],["exit",f,a],["exit",u,a]])),n}function v6(n,a,i){let s=0;return u;function u(p){return n.enter(k.atxHeading),f(p)}function f(p){return P(p===D.numberSign,"expected `#`"),n.enter(k.atxHeadingSequence),d(p)}function d(p){return p===D.numberSign&&s++<ke.atxHeadingOpeningFenceSizeMax?(n.consume(p),d):p===D.eof||Zn(p)?(n.exit(k.atxHeadingSequence),h(p)):i(p)}function h(p){return p===D.numberSign?(n.enter(k.atxHeadingSequence),b(p)):p===D.eof||ze(p)?(n.exit(k.atxHeading),a(p)):ut(p)?Tt(n,h,k.whitespace)(p):(n.enter(k.atxHeadingText),y(p))}function b(p){return p===D.numberSign?(n.consume(p),b):(n.exit(k.atxHeadingSequence),h(p))}function y(p){return p===D.eof||p===D.numberSign||Zn(p)?(n.exit(k.atxHeadingText),h(p)):(n.consume(p),y)}}const x6=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],lN=["pre","script","style","textarea"],S6={concrete:!0,name:"htmlFlow",resolveTo:T6,tokenize:k6},w6={partial:!0,tokenize:N6},E6={partial:!0,tokenize:D6};function T6(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type===k.htmlFlow););return a>1&&n[a-2][1].type===k.linePrefix&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function k6(n,a,i){const s=this;let u,f,d,h,b;return y;function y(C){return p(C)}function p(C){return P(C===D.lessThan,"expected `<`"),n.enter(k.htmlFlow),n.enter(k.htmlFlowData),n.consume(C),v}function v(C){return C===D.exclamationMark?(n.consume(C),x):C===D.slash?(n.consume(C),f=!0,V):C===D.questionMark?(n.consume(C),u=ke.htmlInstruction,s.interrupt?a:z):Ua(C)?(P(C!==null),n.consume(C),d=String.fromCharCode(C),R):i(C)}function x(C){return C===D.dash?(n.consume(C),u=ke.htmlComment,S):C===D.leftSquareBracket?(n.consume(C),u=ke.htmlCdata,h=0,N):Ua(C)?(n.consume(C),u=ke.htmlDeclaration,s.interrupt?a:z):i(C)}function S(C){return C===D.dash?(n.consume(C),s.interrupt?a:z):i(C)}function N(C){const xe=ke.cdataOpeningString;return C===xe.charCodeAt(h++)?(n.consume(C),h===xe.length?s.interrupt?a:se:N):i(C)}function V(C){return Ua(C)?(P(C!==null),n.consume(C),d=String.fromCharCode(C),R):i(C)}function R(C){if(C===D.eof||C===D.slash||C===D.greaterThan||Zn(C)){const xe=C===D.slash,at=d.toLowerCase();return!xe&&!f&&lN.includes(at)?(u=ke.htmlRaw,s.interrupt?a(C):se(C)):x6.includes(d.toLowerCase())?(u=ke.htmlBasic,xe?(n.consume(C),_):s.interrupt?a(C):se(C)):(u=ke.htmlComplete,s.interrupt&&!s.parser.lazy[s.now().line]?i(C):f?X(C):I(C))}return C===D.dash||pr(C)?(n.consume(C),d+=String.fromCharCode(C),R):i(C)}function _(C){return C===D.greaterThan?(n.consume(C),s.interrupt?a:se):i(C)}function X(C){return ut(C)?(n.consume(C),X):F(C)}function I(C){return C===D.slash?(n.consume(C),F):C===D.colon||C===D.underscore||Ua(C)?(n.consume(C),ie):ut(C)?(n.consume(C),I):F(C)}function ie(C){return C===D.dash||C===D.dot||C===D.colon||C===D.underscore||pr(C)?(n.consume(C),ie):re(C)}function re(C){return C===D.equalsTo?(n.consume(C),G):ut(C)?(n.consume(C),re):I(C)}function G(C){return C===D.eof||C===D.lessThan||C===D.equalsTo||C===D.greaterThan||C===D.graveAccent?i(C):C===D.quotationMark||C===D.apostrophe?(n.consume(C),b=C,ge):ut(C)?(n.consume(C),G):le(C)}function ge(C){return C===b?(n.consume(C),b=null,ce):C===D.eof||ze(C)?i(C):(n.consume(C),ge)}function le(C){return C===D.eof||C===D.quotationMark||C===D.apostrophe||C===D.slash||C===D.lessThan||C===D.equalsTo||C===D.greaterThan||C===D.graveAccent||Zn(C)?re(C):(n.consume(C),le)}function ce(C){return C===D.slash||C===D.greaterThan||ut(C)?I(C):i(C)}function F(C){return C===D.greaterThan?(n.consume(C),he):i(C)}function he(C){return C===D.eof||ze(C)?se(C):ut(C)?(n.consume(C),he):i(C)}function se(C){return C===D.dash&&u===ke.htmlComment?(n.consume(C),Y):C===D.lessThan&&u===ke.htmlRaw?(n.consume(C),ae):C===D.greaterThan&&u===ke.htmlDeclaration?(n.consume(C),U):C===D.questionMark&&u===ke.htmlInstruction?(n.consume(C),z):C===D.rightSquareBracket&&u===ke.htmlCdata?(n.consume(C),Ae):ze(C)&&(u===ke.htmlBasic||u===ke.htmlComplete)?(n.exit(k.htmlFlowData),n.check(w6,ue,W)(C)):C===D.eof||ze(C)?(n.exit(k.htmlFlowData),W(C)):(n.consume(C),se)}function W(C){return n.check(E6,K,ue)(C)}function K(C){return P(ze(C)),n.enter(k.lineEnding),n.consume(C),n.exit(k.lineEnding),oe}function oe(C){return C===D.eof||ze(C)?W(C):(n.enter(k.htmlFlowData),se(C))}function Y(C){return C===D.dash?(n.consume(C),z):se(C)}function ae(C){return C===D.slash?(n.consume(C),d="",pe):se(C)}function pe(C){if(C===D.greaterThan){const xe=d.toLowerCase();return lN.includes(xe)?(n.consume(C),U):se(C)}return Ua(C)&&d.length<ke.htmlRawSizeMax?(P(C!==null),n.consume(C),d+=String.fromCharCode(C),pe):se(C)}function Ae(C){return C===D.rightSquareBracket?(n.consume(C),z):se(C)}function z(C){return C===D.greaterThan?(n.consume(C),U):C===D.dash&&u===ke.htmlComment?(n.consume(C),z):se(C)}function U(C){return C===D.eof||ze(C)?(n.exit(k.htmlFlowData),ue(C)):(n.consume(C),U)}function ue(C){return n.exit(k.htmlFlow),a(C)}}function D6(n,a,i){const s=this;return u;function u(d){return ze(d)?(n.enter(k.lineEnding),n.consume(d),n.exit(k.lineEnding),f):i(d)}function f(d){return s.parser.lazy[s.now().line]?i(d):a(d)}}function N6(n,a,i){return s;function s(u){return P(ze(u),"expected a line ending"),n.enter(k.lineEnding),n.consume(u),n.exit(k.lineEnding),n.attempt(Jh,a,i)}}const A6={name:"htmlText",tokenize:C6};function C6(n,a,i){const s=this;let u,f,d;return h;function h(z){return P(z===D.lessThan,"expected `<`"),n.enter(k.htmlText),n.enter(k.htmlTextData),n.consume(z),b}function b(z){return z===D.exclamationMark?(n.consume(z),y):z===D.slash?(n.consume(z),re):z===D.questionMark?(n.consume(z),I):Ua(z)?(n.consume(z),le):i(z)}function y(z){return z===D.dash?(n.consume(z),p):z===D.leftSquareBracket?(n.consume(z),f=0,N):Ua(z)?(n.consume(z),X):i(z)}function p(z){return z===D.dash?(n.consume(z),S):i(z)}function v(z){return z===D.eof?i(z):z===D.dash?(n.consume(z),x):ze(z)?(d=v,ae(z)):(n.consume(z),v)}function x(z){return z===D.dash?(n.consume(z),S):v(z)}function S(z){return z===D.greaterThan?Y(z):z===D.dash?x(z):v(z)}function N(z){const U=ke.cdataOpeningString;return z===U.charCodeAt(f++)?(n.consume(z),f===U.length?V:N):i(z)}function V(z){return z===D.eof?i(z):z===D.rightSquareBracket?(n.consume(z),R):ze(z)?(d=V,ae(z)):(n.consume(z),V)}function R(z){return z===D.rightSquareBracket?(n.consume(z),_):V(z)}function _(z){return z===D.greaterThan?Y(z):z===D.rightSquareBracket?(n.consume(z),_):V(z)}function X(z){return z===D.eof||z===D.greaterThan?Y(z):ze(z)?(d=X,ae(z)):(n.consume(z),X)}function I(z){return z===D.eof?i(z):z===D.questionMark?(n.consume(z),ie):ze(z)?(d=I,ae(z)):(n.consume(z),I)}function ie(z){return z===D.greaterThan?Y(z):I(z)}function re(z){return Ua(z)?(n.consume(z),G):i(z)}function G(z){return z===D.dash||pr(z)?(n.consume(z),G):ge(z)}function ge(z){return ze(z)?(d=ge,ae(z)):ut(z)?(n.consume(z),ge):Y(z)}function le(z){return z===D.dash||pr(z)?(n.consume(z),le):z===D.slash||z===D.greaterThan||Zn(z)?ce(z):i(z)}function ce(z){return z===D.slash?(n.consume(z),Y):z===D.colon||z===D.underscore||Ua(z)?(n.consume(z),F):ze(z)?(d=ce,ae(z)):ut(z)?(n.consume(z),ce):Y(z)}function F(z){return z===D.dash||z===D.dot||z===D.colon||z===D.underscore||pr(z)?(n.consume(z),F):he(z)}function he(z){return z===D.equalsTo?(n.consume(z),se):ze(z)?(d=he,ae(z)):ut(z)?(n.consume(z),he):ce(z)}function se(z){return z===D.eof||z===D.lessThan||z===D.equalsTo||z===D.greaterThan||z===D.graveAccent?i(z):z===D.quotationMark||z===D.apostrophe?(n.consume(z),u=z,W):ze(z)?(d=se,ae(z)):ut(z)?(n.consume(z),se):(n.consume(z),K)}function W(z){return z===u?(n.consume(z),u=void 0,oe):z===D.eof?i(z):ze(z)?(d=W,ae(z)):(n.consume(z),W)}function K(z){return z===D.eof||z===D.quotationMark||z===D.apostrophe||z===D.lessThan||z===D.equalsTo||z===D.graveAccent?i(z):z===D.slash||z===D.greaterThan||Zn(z)?ce(z):(n.consume(z),K)}function oe(z){return z===D.slash||z===D.greaterThan||Zn(z)?ce(z):i(z)}function Y(z){return z===D.greaterThan?(n.consume(z),n.exit(k.htmlTextData),n.exit(k.htmlText),a):i(z)}function ae(z){return P(d,"expected return state"),P(ze(z),"expected eol"),n.exit(k.htmlTextData),n.enter(k.lineEnding),n.consume(z),n.exit(k.lineEnding),pe}function pe(z){return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),ut(z)?Tt(n,Ae,k.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:ke.tabSize)(z):Ae(z)}function Ae(z){return n.enter(k.htmlTextData),d(z)}}const ov={name:"labelEnd",resolveAll:M6,resolveTo:_6,tokenize:U6},R6={tokenize:j6},z6={tokenize:V6},O6={tokenize:L6};function M6(n){let a=-1;const i=[];for(;++a<n.length;){const s=n[a][1];if(i.push(n[a]),s.type===k.labelImage||s.type===k.labelLink||s.type===k.labelEnd){const u=s.type===k.labelImage?4:2;s.type=k.data,a+=u}}return n.length!==i.length&&La(n,0,n.length,i),n}function _6(n,a){let i=n.length,s=0,u,f,d,h;for(;i--;)if(u=n[i][1],f){if(u.type===k.link||u.type===k.labelLink&&u._inactive)break;n[i][0]==="enter"&&u.type===k.labelLink&&(u._inactive=!0)}else if(d){if(n[i][0]==="enter"&&(u.type===k.labelImage||u.type===k.labelLink)&&!u._balanced&&(f=i,u.type!==k.labelLink)){s=2;break}}else u.type===k.labelEnd&&(d=i);P(f!==void 0,"`open` is supposed to be found"),P(d!==void 0,"`close` is supposed to be found");const b={type:n[f][1].type===k.labelLink?k.link:k.image,start:{...n[f][1].start},end:{...n[n.length-1][1].end}},y={type:k.label,start:{...n[f][1].start},end:{...n[d][1].end}},p={type:k.labelText,start:{...n[f+s+2][1].end},end:{...n[d-2][1].start}};return h=[["enter",b,a],["enter",y,a]],h=Ur(h,n.slice(f+1,f+s+3)),h=Ur(h,[["enter",p,a]]),P(a.parser.constructs.insideSpan.null,"expected `insideSpan.null` to be populated"),h=Ur(h,iv(a.parser.constructs.insideSpan.null,n.slice(f+s+4,d-3),a)),h=Ur(h,[["exit",p,a],n[d-2],n[d-1],["exit",y,a]]),h=Ur(h,n.slice(d+1)),h=Ur(h,[["exit",b,a]]),La(n,f,n.length,h),n}function U6(n,a,i){const s=this;let u=s.events.length,f,d;for(;u--;)if((s.events[u][1].type===k.labelImage||s.events[u][1].type===k.labelLink)&&!s.events[u][1]._balanced){f=s.events[u][1];break}return h;function h(x){return P(x===D.rightSquareBracket,"expected `]`"),f?f._inactive?v(x):(d=s.parser.defined.includes(El(s.sliceSerialize({start:f.end,end:s.now()}))),n.enter(k.labelEnd),n.enter(k.labelMarker),n.consume(x),n.exit(k.labelMarker),n.exit(k.labelEnd),b):i(x)}function b(x){return x===D.leftParenthesis?n.attempt(R6,p,d?p:v)(x):x===D.leftSquareBracket?n.attempt(z6,p,d?y:v)(x):d?p(x):v(x)}function y(x){return n.attempt(O6,p,v)(x)}function p(x){return a(x)}function v(x){return f._balanced=!0,i(x)}}function j6(n,a,i){return s;function s(v){return P(v===D.leftParenthesis,"expected left paren"),n.enter(k.resource),n.enter(k.resourceMarker),n.consume(v),n.exit(k.resourceMarker),u}function u(v){return Zn(v)?wc(n,f)(v):f(v)}function f(v){return v===D.rightParenthesis?p(v):hR(n,d,h,k.resourceDestination,k.resourceDestinationLiteral,k.resourceDestinationLiteralMarker,k.resourceDestinationRaw,k.resourceDestinationString,ke.linkResourceDestinationBalanceMax)(v)}function d(v){return Zn(v)?wc(n,b)(v):p(v)}function h(v){return i(v)}function b(v){return v===D.quotationMark||v===D.apostrophe||v===D.leftParenthesis?pR(n,y,i,k.resourceTitle,k.resourceTitleMarker,k.resourceTitleString)(v):p(v)}function y(v){return Zn(v)?wc(n,p)(v):p(v)}function p(v){return v===D.rightParenthesis?(n.enter(k.resourceMarker),n.consume(v),n.exit(k.resourceMarker),n.exit(k.resource),a):i(v)}}function V6(n,a,i){const s=this;return u;function u(h){return P(h===D.leftSquareBracket,"expected left bracket"),mR.call(s,n,f,d,k.reference,k.referenceMarker,k.referenceString)(h)}function f(h){return s.parser.defined.includes(El(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?a(h):i(h)}function d(h){return i(h)}}function L6(n,a,i){return s;function s(f){return P(f===D.leftSquareBracket,"expected left bracket"),n.enter(k.reference),n.enter(k.referenceMarker),n.consume(f),n.exit(k.referenceMarker),u}function u(f){return f===D.rightSquareBracket?(n.enter(k.referenceMarker),n.consume(f),n.exit(k.referenceMarker),n.exit(k.reference),a):i(f)}}const B6={name:"labelStartImage",resolveAll:ov.resolveAll,tokenize:H6};function H6(n,a,i){const s=this;return u;function u(h){return P(h===D.exclamationMark,"expected `!`"),n.enter(k.labelImage),n.enter(k.labelImageMarker),n.consume(h),n.exit(k.labelImageMarker),f}function f(h){return h===D.leftSquareBracket?(n.enter(k.labelMarker),n.consume(h),n.exit(k.labelMarker),n.exit(k.labelImage),d):i(h)}function d(h){return h===D.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?i(h):a(h)}}const P6={name:"labelStartLink",resolveAll:ov.resolveAll,tokenize:q6};function q6(n,a,i){const s=this;return u;function u(d){return P(d===D.leftSquareBracket,"expected `[`"),n.enter(k.labelLink),n.enter(k.labelMarker),n.consume(d),n.exit(k.labelMarker),n.exit(k.labelLink),f}function f(d){return d===D.caret&&"_hiddenFootnoteSupport"in s.parser.constructs?i(d):a(d)}}const db={name:"lineEnding",tokenize:I6};function I6(n,a){return i;function i(s){return P(ze(s),"expected eol"),n.enter(k.lineEnding),n.consume(s),n.exit(k.lineEnding),Tt(n,a,k.linePrefix)}}const Nh={name:"thematicBreak",tokenize:F6};function F6(n,a,i){let s=0,u;return f;function f(y){return n.enter(k.thematicBreak),d(y)}function d(y){return P(y===D.asterisk||y===D.dash||y===D.underscore,"expected `*`, `-`, or `_`"),u=y,h(y)}function h(y){return y===u?(n.enter(k.thematicBreakSequence),b(y)):s>=ke.thematicBreakMarkerCountMin&&(y===D.eof||ze(y))?(n.exit(k.thematicBreak),a(y)):i(y)}function b(y){return y===u?(n.consume(y),s++,b):(n.exit(k.thematicBreakSequence),ut(y)?Tt(n,h,k.whitespace)(y):h(y))}}const $n={continuation:{tokenize:X6},exit:Z6,name:"list",tokenize:$6},Y6={partial:!0,tokenize:J6},G6={partial:!0,tokenize:Q6};function $6(n,a,i){const s=this,u=s.events[s.events.length-1];let f=u&&u[1].type===k.linePrefix?u[2].sliceSerialize(u[1],!0).length:0,d=0;return h;function h(S){P(s.containerState,"expected state");const N=s.containerState.type||(S===D.asterisk||S===D.plusSign||S===D.dash?k.listUnordered:k.listOrdered);if(N===k.listUnordered?!s.containerState.marker||S===s.containerState.marker:o0(S)){if(s.containerState.type||(s.containerState.type=N,n.enter(N,{_container:!0})),N===k.listUnordered)return n.enter(k.listItemPrefix),S===D.asterisk||S===D.dash?n.check(Nh,i,y)(S):y(S);if(!s.interrupt||S===D.digit1)return n.enter(k.listItemPrefix),n.enter(k.listItemValue),b(S)}return i(S)}function b(S){return P(s.containerState,"expected state"),o0(S)&&++d<ke.listItemValueSizeMax?(n.consume(S),b):(!s.interrupt||d<2)&&(s.containerState.marker?S===s.containerState.marker:S===D.rightParenthesis||S===D.dot)?(n.exit(k.listItemValue),y(S)):i(S)}function y(S){return P(s.containerState,"expected state"),P(S!==D.eof,"eof (`null`) is not a marker"),n.enter(k.listItemMarker),n.consume(S),n.exit(k.listItemMarker),s.containerState.marker=s.containerState.marker||S,n.check(Jh,s.interrupt?i:p,n.attempt(Y6,x,v))}function p(S){return P(s.containerState,"expected state"),s.containerState.initialBlankLine=!0,f++,x(S)}function v(S){return ut(S)?(n.enter(k.listItemPrefixWhitespace),n.consume(S),n.exit(k.listItemPrefixWhitespace),x):i(S)}function x(S){return P(s.containerState,"expected state"),s.containerState.size=f+s.sliceSerialize(n.exit(k.listItemPrefix),!0).length,a(S)}}function X6(n,a,i){const s=this;return P(s.containerState,"expected state"),s.containerState._closeFlow=void 0,n.check(Jh,u,f);function u(h){return P(s.containerState,"expected state"),P(typeof s.containerState.size=="number","expected size"),s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,Tt(n,a,k.listItemIndent,s.containerState.size+1)(h)}function f(h){return P(s.containerState,"expected state"),s.containerState.furtherBlankLines||!ut(h)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,d(h)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,n.attempt(G6,a,d)(h))}function d(h){return P(s.containerState,"expected state"),s.containerState._closeFlow=!0,s.interrupt=void 0,P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,n.attempt($n,a,i),k.linePrefix,s.parser.constructs.disable.null.includes("codeIndented")?void 0:ke.tabSize)(h)}}function Q6(n,a,i){const s=this;return P(s.containerState,"expected state"),P(typeof s.containerState.size=="number","expected size"),Tt(n,u,k.listItemIndent,s.containerState.size+1);function u(f){P(s.containerState,"expected state");const d=s.events[s.events.length-1];return d&&d[1].type===k.listItemIndent&&d[2].sliceSerialize(d[1],!0).length===s.containerState.size?a(f):i(f)}}function Z6(n){P(this.containerState,"expected state"),P(typeof this.containerState.type=="string","expected type"),n.exit(this.containerState.type)}function J6(n,a,i){const s=this;return P(s.parser.constructs.disable.null,"expected `disable.null` to be populated"),Tt(n,u,k.listItemPrefixWhitespace,s.parser.constructs.disable.null.includes("codeIndented")?void 0:ke.tabSize+1);function u(f){const d=s.events[s.events.length-1];return!ut(f)&&d&&d[1].type===k.listItemPrefixWhitespace?a(f):i(f)}}const uN={name:"setextUnderline",resolveTo:K6,tokenize:W6};function K6(n,a){let i=n.length,s,u,f;for(;i--;)if(n[i][0]==="enter"){if(n[i][1].type===k.content){s=i;break}n[i][1].type===k.paragraph&&(u=i)}else n[i][1].type===k.content&&n.splice(i,1),!f&&n[i][1].type===k.definition&&(f=i);P(u!==void 0,"expected a `text` index to be found"),P(s!==void 0,"expected a `text` index to be found"),P(n[s][2]===a,"enter context should be same"),P(n[n.length-1][2]===a,"enter context should be same");const d={type:k.setextHeading,start:{...n[s][1].start},end:{...n[n.length-1][1].end}};return n[u][1].type=k.setextHeadingText,f?(n.splice(u,0,["enter",d,a]),n.splice(f+1,0,["exit",n[s][1],a]),n[s][1].end={...n[f][1].end}):n[s][1]=d,n.push(["exit",d,a]),n}function W6(n,a,i){const s=this;let u;return f;function f(y){let p=s.events.length,v;for(P(y===D.dash||y===D.equalsTo,"expected `=` or `-`");p--;)if(s.events[p][1].type!==k.lineEnding&&s.events[p][1].type!==k.linePrefix&&s.events[p][1].type!==k.content){v=s.events[p][1].type===k.paragraph;break}return!s.parser.lazy[s.now().line]&&(s.interrupt||v)?(n.enter(k.setextHeadingLine),u=y,d(y)):i(y)}function d(y){return n.enter(k.setextHeadingLineSequence),h(y)}function h(y){return y===u?(n.consume(y),h):(n.exit(k.setextHeadingLineSequence),ut(y)?Tt(n,b,k.lineSuffix)(y):b(y))}function b(y){return y===D.eof||ze(y)?(n.exit(k.setextHeadingLine),a(y)):i(y)}}const e7={tokenize:t7};function t7(n){const a=this,i=n.attempt(Jh,s,n.attempt(this.parser.constructs.flowInitial,u,Tt(n,n.attempt(this.parser.constructs.flow,u,n.attempt(o6,u)),k.linePrefix)));return i;function s(f){if(P(f===D.eof||ze(f),"expected eol or eof"),f===D.eof){n.consume(f);return}return n.enter(k.lineEndingBlank),n.consume(f),n.exit(k.lineEndingBlank),a.currentConstruct=void 0,i}function u(f){if(P(f===D.eof||ze(f),"expected eol or eof"),f===D.eof){n.consume(f);return}return n.enter(k.lineEnding),n.consume(f),n.exit(k.lineEnding),a.currentConstruct=void 0,i}}const n7={resolveAll:gR()},r7=yR("string"),a7=yR("text");function yR(n){return{resolveAll:gR(n==="text"?i7:void 0),tokenize:a};function a(i){const s=this,u=this.parser.constructs[n],f=i.attempt(u,d,h);return d;function d(p){return y(p)?f(p):h(p)}function h(p){if(p===D.eof){i.consume(p);return}return i.enter(k.data),i.consume(p),b}function b(p){return y(p)?(i.exit(k.data),f(p)):(i.consume(p),b)}function y(p){if(p===D.eof)return!0;const v=u[p];let x=-1;if(v)for(P(Array.isArray(v),"expected `disable.null` to be populated");++x<v.length;){const S=v[x];if(!S.previous||S.previous.call(s,s.previous))return!0}return!1}}}function gR(n){return a;function a(i,s){let u=-1,f;for(;++u<=i.length;)f===void 0?i[u]&&i[u][1].type===k.data&&(f=u,u++):(!i[u]||i[u][1].type!==k.data)&&(u!==f+2&&(i[f][1].end=i[u-1][1].end,i.splice(f+2,u-f-2),u=f+2),f=void 0);return n?n(i,s):i}}function i7(n,a){let i=0;for(;++i<=n.length;)if((i===n.length||n[i][1].type===k.lineEnding)&&n[i-1][1].type===k.data){const s=n[i-1][1],u=a.sliceStream(s);let f=u.length,d=-1,h=0,b;for(;f--;){const y=u[f];if(typeof y=="string"){for(d=y.length;y.charCodeAt(d-1)===D.space;)h++,d--;if(d)break;d=-1}else if(y===D.horizontalTab)b=!0,h++;else if(y!==D.virtualSpace){f++;break}}if(a._contentTypeTextTrailing&&i===n.length&&(h=0),h){const y={type:i===n.length||b||h<ke.hardBreakPrefixSizeMin?k.lineSuffix:k.hardBreakTrailing,start:{_bufferIndex:f?d:s.start._bufferIndex+d,_index:s.start._index+f,line:s.end.line,column:s.end.column-h,offset:s.end.offset-h},end:{...s.end}};s.end={...y.start},s.start.offset===s.end.offset?Object.assign(s,y):(n.splice(i,0,["enter",y,a],["exit",y,a]),i+=2)}i++}return n}const o7={[D.asterisk]:$n,[D.plusSign]:$n,[D.dash]:$n,[D.digit0]:$n,[D.digit1]:$n,[D.digit2]:$n,[D.digit3]:$n,[D.digit4]:$n,[D.digit5]:$n,[D.digit6]:$n,[D.digit7]:$n,[D.digit8]:$n,[D.digit9]:$n,[D.greaterThan]:lR},s7={[D.leftSquareBracket]:f6},l7={[D.horizontalTab]:fb,[D.virtualSpace]:fb,[D.space]:fb},u7={[D.numberSign]:g6,[D.asterisk]:Nh,[D.dash]:[uN,Nh],[D.lessThan]:S6,[D.equalsTo]:uN,[D.underscore]:Nh,[D.graveAccent]:sN,[D.tilde]:sN},c7={[D.ampersand]:cR,[D.backslash]:uR},f7={[D.carriageReturn]:db,[D.lineFeed]:db,[D.carriageReturnLineFeed]:db,[D.exclamationMark]:B6,[D.ampersand]:cR,[D.asterisk]:s0,[D.lessThan]:[qB,A6],[D.leftSquareBracket]:P6,[D.backslash]:[p6,uR],[D.rightSquareBracket]:ov,[D.underscore]:s0,[D.graveAccent]:t6},d7={null:[s0,n7]},h7={null:[D.asterisk,D.underscore]},m7={null:[]},p7=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:h7,contentInitial:s7,disable:m7,document:o7,flow:u7,flowInitial:l7,insideSpan:d7,string:c7,text:f7},Symbol.toStringTag,{value:"Module"}));var ch={exports:{}},hb,cN;function y7(){if(cN)return hb;cN=1;var n=1e3,a=n*60,i=a*60,s=i*24,u=s*7,f=s*365.25;hb=function(p,v){v=v||{};var x=typeof p;if(x==="string"&&p.length>0)return d(p);if(x==="number"&&isFinite(p))return v.long?b(p):h(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function d(p){if(p=String(p),!(p.length>100)){var v=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if(v){var x=parseFloat(v[1]),S=(v[2]||"ms").toLowerCase();switch(S){case"years":case"year":case"yrs":case"yr":case"y":return x*f;case"weeks":case"week":case"w":return x*u;case"days":case"day":case"d":return x*s;case"hours":case"hour":case"hrs":case"hr":case"h":return x*i;case"minutes":case"minute":case"mins":case"min":case"m":return x*a;case"seconds":case"second":case"secs":case"sec":case"s":return x*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return x;default:return}}}}function h(p){var v=Math.abs(p);return v>=s?Math.round(p/s)+"d":v>=i?Math.round(p/i)+"h":v>=a?Math.round(p/a)+"m":v>=n?Math.round(p/n)+"s":p+"ms"}function b(p){var v=Math.abs(p);return v>=s?y(p,v,s,"day"):v>=i?y(p,v,i,"hour"):v>=a?y(p,v,a,"minute"):v>=n?y(p,v,n,"second"):p+" ms"}function y(p,v,x,S){var N=v>=x*1.5;return Math.round(p/x)+" "+S+(N?"s":"")}return hb}var mb,fN;function g7(){if(fN)return mb;fN=1;function n(a){s.debug=s,s.default=s,s.coerce=y,s.disable=h,s.enable=f,s.enabled=b,s.humanize=y7(),s.destroy=p,Object.keys(a).forEach(v=>{s[v]=a[v]}),s.names=[],s.skips=[],s.formatters={};function i(v){let x=0;for(let S=0;S<v.length;S++)x=(x<<5)-x+v.charCodeAt(S),x|=0;return s.colors[Math.abs(x)%s.colors.length]}s.selectColor=i;function s(v){let x,S=null,N,V;function R(..._){if(!R.enabled)return;const X=R,I=Number(new Date),ie=I-(x||I);X.diff=ie,X.prev=x,X.curr=I,x=I,_[0]=s.coerce(_[0]),typeof _[0]!="string"&&_.unshift("%O");let re=0;_[0]=_[0].replace(/%([a-zA-Z%])/g,(ge,le)=>{if(ge==="%%")return"%";re++;const ce=s.formatters[le];if(typeof ce=="function"){const F=_[re];ge=ce.call(X,F),_.splice(re,1),re--}return ge}),s.formatArgs.call(X,_),(X.log||s.log).apply(X,_)}return R.namespace=v,R.useColors=s.useColors(),R.color=s.selectColor(v),R.extend=u,R.destroy=s.destroy,Object.defineProperty(R,"enabled",{enumerable:!0,configurable:!1,get:()=>S!==null?S:(N!==s.namespaces&&(N=s.namespaces,V=s.enabled(v)),V),set:_=>{S=_}}),typeof s.init=="function"&&s.init(R),R}function u(v,x){const S=s(this.namespace+(typeof x>"u"?":":x)+v);return S.log=this.log,S}function f(v){s.save(v),s.namespaces=v,s.names=[],s.skips=[];const x=(typeof v=="string"?v:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const S of x)S[0]==="-"?s.skips.push(S.slice(1)):s.names.push(S)}function d(v,x){let S=0,N=0,V=-1,R=0;for(;S<v.length;)if(N<x.length&&(x[N]===v[S]||x[N]==="*"))x[N]==="*"?(V=N,R=S,N++):(S++,N++);else if(V!==-1)N=V+1,R++,S=R;else return!1;for(;N<x.length&&x[N]==="*";)N++;return N===x.length}function h(){const v=[...s.names,...s.skips.map(x=>"-"+x)].join(",");return s.enable(""),v}function b(v){for(const x of s.skips)if(d(v,x))return!1;for(const x of s.names)if(d(v,x))return!0;return!1}function y(v){return v instanceof Error?v.stack||v.message:v}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return s.enable(s.load()),s}return mb=n,mb}var dN;function b7(){return dN||(dN=1,(function(n,a){var i={};a.formatArgs=u,a.save=f,a.load=d,a.useColors=s,a.storage=h(),a.destroy=(()=>{let y=!1;return()=>{y||(y=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function s(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let y;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(y=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(y[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function u(y){if(y[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+y[0]+(this.useColors?"%c ":" ")+"+"+n.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;y.splice(1,0,p,"color: inherit");let v=0,x=0;y[0].replace(/%[a-zA-Z%]/g,S=>{S!=="%%"&&(v++,S==="%c"&&(x=v))}),y.splice(x,0,p)}a.log=console.debug||console.log||(()=>{});function f(y){try{y?a.storage.setItem("debug",y):a.storage.removeItem("debug")}catch{}}function d(){let y;try{y=a.storage.getItem("debug")||a.storage.getItem("DEBUG")}catch{}return!y&&typeof process<"u"&&"env"in process&&(y=i.DEBUG),y}function h(){try{return localStorage}catch{}}n.exports=g7()(a);const{formatters:b}=n.exports;b.j=function(y){try{return JSON.stringify(y)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}})(ch,ch.exports)),ch.exports}var v7=b7();const x7=Rc(v7),Wo=x7("micromark");function S7(n,a,i){let s={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const u={},f=[];let d=[],h=[],b=!0;const y={attempt:ce(ge),check:ce(le),consume:ie,enter:re,exit:G,interrupt:ce(le,{interrupt:!0})},p={code:D.eof,containerState:{},defineSkip:_,events:[],now:R,parser:n,previous:D.eof,sliceSerialize:N,sliceStream:V,write:S};let v=a.tokenize.call(p,y),x;return a.resolveAll&&f.push(a),p;function S(W){return d=Ur(d,W),X(),d[d.length-1]!==D.eof?[]:(F(a,0),p.events=iv(f,p.events,p),p.events)}function N(W,K){return E7(V(W),K)}function V(W){return w7(d,W)}function R(){const{_bufferIndex:W,_index:K,line:oe,column:Y,offset:ae}=s;return{_bufferIndex:W,_index:K,line:oe,column:Y,offset:ae}}function _(W){u[W.line]=W.column,se(),Wo("position: define skip: `%j`",s)}function X(){let W;for(;s._index<d.length;){const K=d[s._index];if(typeof K=="string")for(W=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===W&&s._bufferIndex<K.length;)I(K.charCodeAt(s._bufferIndex));else I(K)}}function I(W){P(b===!0,"expected character to be consumed"),b=void 0,Wo("main: passing `%s` to %s",W,v&&v.name),x=W,P(typeof v=="function","expected state"),v=v(W)}function ie(W){P(W===x,"expected given code to equal expected code"),Wo("consume: `%s`",W),P(b===void 0,"expected code to not have been consumed: this might be because `return x(code)` instead of `return x` was used"),P(W===null?p.events.length===0||p.events[p.events.length-1][0]==="exit":p.events[p.events.length-1][0]==="enter","expected last token to be open"),ze(W)?(s.line++,s.column=1,s.offset+=W===D.carriageReturnLineFeed?2:1,se(),Wo("position: after eol: `%j`",s)):W!==D.virtualSpace&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===d[s._index].length&&(s._bufferIndex=-1,s._index++)),p.previous=W,b=!0}function re(W,K){const oe=K||{};return oe.type=W,oe.start=R(),P(typeof W=="string","expected string type"),P(W.length>0,"expected non-empty string"),Wo("enter: `%s`",W),p.events.push(["enter",oe,p]),h.push(oe),oe}function G(W){P(typeof W=="string","expected string type"),P(W.length>0,"expected non-empty string");const K=h.pop();return P(K,"cannot close w/o open tokens"),K.end=R(),P(W===K.type,"expected exit token to match current token"),P(!(K.start._index===K.end._index&&K.start._bufferIndex===K.end._bufferIndex),"expected non-empty token (`"+W+"`)"),Wo("exit: `%s`",K.type),p.events.push(["exit",K,p]),K}function ge(W,K){F(W,K.from)}function le(W,K){K.restore()}function ce(W,K){return oe;function oe(Y,ae,pe){let Ae,z,U,ue;return Array.isArray(Y)?xe(Y):"tokenize"in Y?xe([Y]):C(Y);function C(Ke){return Ut;function Ut(Lt){const we=Lt!==null&&Ke[Lt],Kn=Lt!==null&&Ke.null,Hr=[...Array.isArray(we)?we:we?[we]:[],...Array.isArray(Kn)?Kn:Kn?[Kn]:[]];return xe(Hr)(Lt)}}function xe(Ke){return Ae=Ke,z=0,Ke.length===0?(P(pe,"expected `bogusState` to be given"),pe):at(Ke[z])}function at(Ke){return Ut;function Ut(Lt){return ue=he(),U=Ke,Ke.partial||(p.currentConstruct=Ke),P(p.parser.constructs.disable.null,"expected `disable.null` to be populated"),Ke.name&&p.parser.constructs.disable.null.includes(Ke.name)?je(Lt):Ke.tokenize.call(K?Object.assign(Object.create(p),K):p,y,gn,je)(Lt)}}function gn(Ke){return P(Ke===x,"expected code"),b=!0,W(U,ue),ae}function je(Ke){return P(Ke===x,"expected code"),b=!0,ue.restore(),++z<Ae.length?at(Ae[z]):pe}}}function F(W,K){W.resolveAll&&!f.includes(W)&&f.push(W),W.resolve&&La(p.events,K,p.events.length-K,W.resolve(p.events.slice(K),p)),W.resolveTo&&(p.events=W.resolveTo(p.events,p)),P(W.partial||p.events.length===0||p.events[p.events.length-1][0]==="exit","expected last token to end")}function he(){const W=R(),K=p.previous,oe=p.currentConstruct,Y=p.events.length,ae=Array.from(h);return{from:Y,restore:pe};function pe(){s=W,p.previous=K,p.currentConstruct=oe,p.events.length=Y,h=ae,se(),Wo("position: restore: `%j`",s)}}function se(){s.line in u&&s.column<2&&(s.column=u[s.line],s.offset+=u[s.line]-1)}}function w7(n,a){const i=a.start._index,s=a.start._bufferIndex,u=a.end._index,f=a.end._bufferIndex;let d;if(i===u)P(f>-1,"expected non-negative end buffer index"),P(s>-1,"expected non-negative start buffer index"),d=[n[i].slice(s,f)];else{if(d=n.slice(i,u),s>-1){const h=d[0];typeof h=="string"?d[0]=h.slice(s):(P(s===0,"expected `startBufferIndex` to be `0`"),d.shift())}f>0&&d.push(n[u].slice(0,f))}return d}function E7(n,a){let i=-1;const s=[];let u;for(;++i<n.length;){const f=n[i];let d;if(typeof f=="string")d=f;else switch(f){case D.carriageReturn:{d=_a.cr;break}case D.lineFeed:{d=_a.lf;break}case D.carriageReturnLineFeed:{d=_a.cr+_a.lf;break}case D.horizontalTab:{d=a?_a.space:_a.ht;break}case D.virtualSpace:{if(!a&&u)continue;d=_a.space;break}default:P(typeof f=="number","expected number"),d=String.fromCharCode(f)}u=f===D.horizontalTab,s.push(d)}return s.join("")}function T7(n){const s={constructs:NB([p7,...(n||{}).extensions||[]]),content:u(UB),defined:[],document:u(VB),flow:u(e7),lazy:{},string:u(r7),text:u(a7)};return s;function u(f){return d;function d(h){return S7(s,f,h)}}}function k7(n){for(;!dR(n););return n}const hN=/[\0\t\n\r]/g;function D7(){let n=1,a="",i=!0,s;return u;function u(f,d,h){const b=[];let y,p,v,x,S;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(d||void 0).decode(f)),v=0,a="",i&&(f.charCodeAt(0)===D.byteOrderMarker&&v++,i=void 0);v<f.length;){if(hN.lastIndex=v,y=hN.exec(f),x=y&&y.index!==void 0?y.index:f.length,S=f.charCodeAt(x),!y){a=f.slice(v);break}if(S===D.lf&&v===x&&s)b.push(D.carriageReturnLineFeed),s=void 0;else switch(s&&(b.push(D.carriageReturn),s=void 0),v<x&&(b.push(f.slice(v,x)),n+=x-v),S){case D.nul:{b.push(D.replacementCharacter),n++;break}case D.ht:{for(p=Math.ceil(n/ke.tabSize)*ke.tabSize,b.push(D.horizontalTab);n++<p;)b.push(D.virtualSpace);break}case D.lf:{b.push(D.lineFeed),n=1;break}default:s=!0,n=1}v=x+1}return h&&(s&&b.push(D.carriageReturn),a&&b.push(a),b.push(D.eof)),b}}const N7=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function A7(n){return n.replace(N7,C7)}function C7(n,a,i){if(a)return a;if(i.charCodeAt(0)===D.numberSign){const u=i.charCodeAt(1),f=u===D.lowercaseX||u===D.uppercaseX;return sR(i.slice(f?2:1),f?ke.numericBaseHexadecimal:ke.numericBaseDecimal)}return av(i)||n}const bR={}.hasOwnProperty;function R7(n,a,i){return typeof a!="string"&&(i=a,a=void 0),z7(i)(k7(T7(i).document().write(D7()(n,a,!0))))}function z7(n){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(ls),autolinkProtocol:ce,autolinkEmail:ce,atxHeading:f(Pr),blockQuote:f(Lt),characterEscape:ce,characterReference:ce,codeFenced:f(we),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:f(we,d),codeText:f(Kn,d),codeTextData:ce,data:ce,codeFlowValue:ce,definition:f(Hr),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:f(Ba),hardBreakEscape:f(lt),hardBreakTrailing:f(lt),htmlFlow:f(Wt,d),htmlFlowData:ce,htmlText:f(Wt,d),htmlTextData:ce,image:f(yi),label:d,link:f(ls),listItem:f(gi),listItemValue:x,listOrdered:f(De,v),listUnordered:f(De),paragraph:f(yr),reference:C,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:f(Pr),strong:f(Ha),thematicBreak:f(us)},exit:{atxHeading:b(),atxHeadingSequence:re,autolink:b(),autolinkEmail:Ut,autolinkProtocol:Ke,blockQuote:b(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:at,characterReferenceMarkerNumeric:at,characterReferenceValue:gn,characterReference:je,codeFenced:b(R),codeFencedFence:V,codeFencedFenceInfo:S,codeFencedFenceMeta:N,codeFlowValue:F,codeIndented:b(_),codeText:b(oe),codeTextData:F,data:F,definition:b(),definitionDestinationString:ie,definitionLabelString:X,definitionTitleString:I,emphasis:b(),hardBreakEscape:b(se),hardBreakTrailing:b(se),htmlFlow:b(W),htmlFlowData:F,htmlText:b(K),htmlTextData:F,image:b(ae),label:Ae,labelText:pe,lineEnding:he,link:b(Y),listItem:b(),listOrdered:b(),listUnordered:b(),paragraph:b(),referenceString:xe,resourceDestinationString:z,resourceTitleString:U,resource:ue,setextHeading:b(le),setextHeadingLineSequence:ge,setextHeadingText:G,strong:b(),thematicBreak:b()}};vR(a,(n||{}).mdastExtensions||[]);const i={};return s;function s(ee){let te={type:"root",children:[]};const Te={stack:[te],tokenStack:[],config:a,enter:h,exit:y,buffer:d,resume:p,data:i},Ie=[];let it=-1;for(;++it<ee.length;)if(ee[it][1].type===k.listOrdered||ee[it][1].type===k.listUnordered)if(ee[it][0]==="enter")Ie.push(it);else{const Pt=Ie.pop();P(typeof Pt=="number","expected list ot be open"),it=u(ee,Pt,it)}for(it=-1;++it<ee.length;){const Pt=a[ee[it][0]];bR.call(Pt,ee[it][1].type)&&Pt[ee[it][1].type].call(Object.assign({sliceSerialize:ee[it][2].sliceSerialize},Te),ee[it][1])}if(Te.tokenStack.length>0){const Pt=Te.tokenStack[Te.tokenStack.length-1];(Pt[1]||mN).call(Te,void 0,Pt[0])}for(te.position={start:ro(ee.length>0?ee[0][1].start:{line:1,column:1,offset:0}),end:ro(ee.length>0?ee[ee.length-2][1].end:{line:1,column:1,offset:0})},it=-1;++it<a.transforms.length;)te=a.transforms[it](te)||te;return te}function u(ee,te,Te){let Ie=te-1,it=-1,Pt=!1,Dn,an,Wn,gr;for(;++Ie<=Te;){const qt=ee[Ie];switch(qt[1].type){case k.listUnordered:case k.listOrdered:case k.blockQuote:{qt[0]==="enter"?it++:it--,gr=void 0;break}case k.lineEndingBlank:{qt[0]==="enter"&&(Dn&&!gr&&!it&&!Wn&&(Wn=Ie),gr=void 0);break}case k.linePrefix:case k.listItemValue:case k.listItemMarker:case k.listItemPrefix:case k.listItemPrefixWhitespace:break;default:gr=void 0}if(!it&&qt[0]==="enter"&&qt[1].type===k.listItemPrefix||it===-1&&qt[0]==="exit"&&(qt[1].type===k.listUnordered||qt[1].type===k.listOrdered)){if(Dn){let Nn=Ie;for(an=void 0;Nn--;){const T=ee[Nn];if(T[1].type===k.lineEnding||T[1].type===k.lineEndingBlank){if(T[0]==="exit")continue;an&&(ee[an][1].type=k.lineEndingBlank,Pt=!0),T[1].type=k.lineEnding,an=Nn}else if(!(T[1].type===k.linePrefix||T[1].type===k.blockQuotePrefix||T[1].type===k.blockQuotePrefixWhitespace||T[1].type===k.blockQuoteMarker||T[1].type===k.listItemIndent))break}Wn&&(!an||Wn<an)&&(Dn._spread=!0),Dn.end=Object.assign({},an?ee[an][1].start:qt[1].end),ee.splice(an||Ie,0,["exit",Dn,qt[2]]),Ie++,Te++}if(qt[1].type===k.listItemPrefix){const Nn={type:"listItem",_spread:!1,start:Object.assign({},qt[1].start),end:void 0};Dn=Nn,ee.splice(Ie,0,["enter",Nn,qt[2]]),Ie++,Te++,Wn=void 0,gr=!0}}}return ee[te][1]._spread=Pt,Te}function f(ee,te){return Te;function Te(Ie){h.call(this,ee(Ie),Ie),te&&te.call(this,Ie)}}function d(){this.stack.push({type:"fragment",children:[]})}function h(ee,te,Te){const Ie=this.stack[this.stack.length-1];P(Ie,"expected `parent`"),P("children"in Ie,"expected `parent`"),Ie.children.push(ee),this.stack.push(ee),this.tokenStack.push([te,Te||void 0]),ee.position={start:ro(te.start),end:void 0}}function b(ee){return te;function te(Te){ee&&ee.call(this,Te),y.call(this,Te)}}function y(ee,te){const Te=this.stack.pop();P(Te,"expected `node`");const Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==ee.type&&(te?te.call(this,ee,Ie[0]):(Ie[1]||mN).call(this,ee,Ie[0]));else throw new Error("Cannot close `"+ee.type+"` ("+Sc({start:ee.start,end:ee.end})+"): it’s not open");P(Te.type!=="fragment","unexpected fragment `exit`ed"),P(Te.position,"expected `position` to be defined"),Te.position.end=ro(ee.end)}function p(){return kB(this.stack.pop())}function v(){this.data.expectingFirstListItemValue=!0}function x(ee){if(this.data.expectingFirstListItemValue){const te=this.stack[this.stack.length-2];P(te,"expected nodes on stack"),P(te.type==="list","expected list on stack"),te.start=Number.parseInt(this.sliceSerialize(ee),ke.numericBaseDecimal),this.data.expectingFirstListItemValue=void 0}}function S(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="code","expected code on stack"),te.lang=ee}function N(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="code","expected code on stack"),te.meta=ee}function V(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function R(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="code","expected code on stack"),te.value=ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function _(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="code","expected code on stack"),te.value=ee.replace(/(\r?\n|\r)$/g,"")}function X(ee){const te=this.resume(),Te=this.stack[this.stack.length-1];P(Te,"expected node on stack"),P(Te.type==="definition","expected definition on stack"),Te.label=te,Te.identifier=El(this.sliceSerialize(ee)).toLowerCase()}function I(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="definition","expected definition on stack"),te.title=ee}function ie(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="definition","expected definition on stack"),te.url=ee}function re(ee){const te=this.stack[this.stack.length-1];if(P(te,"expected node on stack"),P(te.type==="heading","expected heading on stack"),!te.depth){const Te=this.sliceSerialize(ee).length;P(Te===1||Te===2||Te===3||Te===4||Te===5||Te===6,"expected `depth` between `1` and `6`"),te.depth=Te}}function G(){this.data.setextHeadingSlurpLineEnding=!0}function ge(ee){const te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="heading","expected heading on stack"),te.depth=this.sliceSerialize(ee).codePointAt(0)===D.equalsTo?1:2}function le(){this.data.setextHeadingSlurpLineEnding=void 0}function ce(ee){const te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P("children"in te,"expected parent on stack");const Te=te.children;let Ie=Te[Te.length-1];(!Ie||Ie.type!=="text")&&(Ie=ra(),Ie.position={start:ro(ee.start),end:void 0},Te.push(Ie)),this.stack.push(Ie)}function F(ee){const te=this.stack.pop();P(te,"expected a `node` to be on the stack"),P("value"in te,"expected a `literal` to be on the stack"),P(te.position,"expected `node` to have an open position"),te.value+=this.sliceSerialize(ee),te.position.end=ro(ee.end)}function he(ee){const te=this.stack[this.stack.length-1];if(P(te,"expected `node`"),this.data.atHardBreak){P("children"in te,"expected `parent`");const Te=te.children[te.children.length-1];P(Te.position,"expected tail to have a starting position"),Te.position.end=ro(ee.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(te.type)&&(ce.call(this,ee),F.call(this,ee))}function se(){this.data.atHardBreak=!0}function W(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="html","expected html on stack"),te.value=ee}function K(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="html","expected html on stack"),te.value=ee}function oe(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="inlineCode","expected inline code on stack"),te.value=ee}function Y(){const ee=this.stack[this.stack.length-1];if(P(ee,"expected node on stack"),P(ee.type==="link","expected link on stack"),this.data.inReference){const te=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=te,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function ae(){const ee=this.stack[this.stack.length-1];if(P(ee,"expected node on stack"),P(ee.type==="image","expected image on stack"),this.data.inReference){const te=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=te,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function pe(ee){const te=this.sliceSerialize(ee),Te=this.stack[this.stack.length-2];P(Te,"expected ancestor on stack"),P(Te.type==="image"||Te.type==="link","expected image or link on stack"),Te.label=A7(te),Te.identifier=El(te).toLowerCase()}function Ae(){const ee=this.stack[this.stack.length-1];P(ee,"expected node on stack"),P(ee.type==="fragment","expected fragment on stack");const te=this.resume(),Te=this.stack[this.stack.length-1];if(P(Te,"expected node on stack"),P(Te.type==="image"||Te.type==="link","expected image or link on stack"),this.data.inReference=!0,Te.type==="link"){const Ie=ee.children;Te.children=Ie}else Te.alt=te}function z(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="image"||te.type==="link","expected image or link on stack"),te.url=ee}function U(){const ee=this.resume(),te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="image"||te.type==="link","expected image or link on stack"),te.title=ee}function ue(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function xe(ee){const te=this.resume(),Te=this.stack[this.stack.length-1];P(Te,"expected node on stack"),P(Te.type==="image"||Te.type==="link","expected image reference or link reference on stack"),Te.label=te,Te.identifier=El(this.sliceSerialize(ee)).toLowerCase(),this.data.referenceType="full"}function at(ee){P(ee.type==="characterReferenceMarkerNumeric"||ee.type==="characterReferenceMarkerHexadecimal"),this.data.characterReferenceType=ee.type}function gn(ee){const te=this.sliceSerialize(ee),Te=this.data.characterReferenceType;let Ie;if(Te)Ie=sR(te,Te===k.characterReferenceMarkerNumeric?ke.numericBaseDecimal:ke.numericBaseHexadecimal),this.data.characterReferenceType=void 0;else{const Pt=av(te);P(Pt!==!1,"expected reference to decode"),Ie=Pt}const it=this.stack[this.stack.length-1];P(it,"expected `node`"),P("value"in it,"expected `node.value`"),it.value+=Ie}function je(ee){const te=this.stack.pop();P(te,"expected `node`"),P(te.position,"expected `node.position`"),te.position.end=ro(ee.end)}function Ke(ee){F.call(this,ee);const te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="link","expected link on stack"),te.url=this.sliceSerialize(ee)}function Ut(ee){F.call(this,ee);const te=this.stack[this.stack.length-1];P(te,"expected node on stack"),P(te.type==="link","expected link on stack"),te.url="mailto:"+this.sliceSerialize(ee)}function Lt(){return{type:"blockquote",children:[]}}function we(){return{type:"code",lang:null,meta:null,value:""}}function Kn(){return{type:"inlineCode",value:""}}function Hr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ba(){return{type:"emphasis",children:[]}}function Pr(){return{type:"heading",depth:0,children:[]}}function lt(){return{type:"break"}}function Wt(){return{type:"html",value:""}}function yi(){return{type:"image",title:null,url:"",alt:null}}function ls(){return{type:"link",title:null,url:"",children:[]}}function De(ee){return{type:"list",ordered:ee.type==="listOrdered",start:null,spread:ee._spread,children:[]}}function gi(ee){return{type:"listItem",spread:ee._spread,checked:null,children:[]}}function yr(){return{type:"paragraph",children:[]}}function Ha(){return{type:"strong",children:[]}}function ra(){return{type:"text",value:""}}function us(){return{type:"thematicBreak"}}}function ro(n){return{line:n.line,column:n.column,offset:n.offset}}function vR(n,a){let i=-1;for(;++i<a.length;){const s=a[i];Array.isArray(s)?vR(n,s):O7(n,s)}}function O7(n,a){let i;for(i in a)if(bR.call(a,i))switch(i){case"canContainEols":{const s=a[i];s&&n[i].push(...s);break}case"transforms":{const s=a[i];s&&n[i].push(...s);break}case"enter":case"exit":{const s=a[i];s&&Object.assign(n[i],s);break}}}function mN(n,a){throw n?new Error("Cannot close `"+n.type+"` ("+Sc({start:n.start,end:n.end})+"): a different token (`"+a.type+"`, "+Sc({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+Sc({start:a.start,end:a.end})+") is still open")}function M7(n){const a=this;a.parser=i;function i(s){return R7(s,{...a.data("settings"),...n,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function _7(n,a){const i={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(a),!0)};return n.patch(a,i),n.applyData(a,i)}function U7(n,a){const i={type:"element",tagName:"br",properties:{},children:[]};return n.patch(a,i),[n.applyData(a,i),{type:"text",value:`
|
|
256
|
+
`}]}function j7(n,a){const i=a.value?a.value+`
|
|
257
|
+
`:"",s={},u=a.lang?a.lang.split(/\s+/):[];u.length>0&&(s.className=["language-"+u[0]]);let f={type:"element",tagName:"code",properties:s,children:[{type:"text",value:i}]};return a.meta&&(f.data={meta:a.meta}),n.patch(a,f),f=n.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},n.patch(a,f),f}function V7(n,a){const i={type:"element",tagName:"del",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function L7(n,a){const i={type:"element",tagName:"em",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function B7(n,a){const i=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",s=String(a.identifier).toUpperCase(),u=Ol(s.toLowerCase()),f=n.footnoteOrder.indexOf(s);let d,h=n.footnoteCounts.get(s);h===void 0?(h=0,n.footnoteOrder.push(s),d=n.footnoteOrder.length):d=f+1,h+=1,n.footnoteCounts.set(s,h);const b={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+u,id:i+"fnref-"+u+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(d)}]};n.patch(a,b);const y={type:"element",tagName:"sup",properties:{},children:[b]};return n.patch(a,y),n.applyData(a,y)}function H7(n,a){const i={type:"element",tagName:"h"+a.depth,properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function P7(n,a){if(n.options.allowDangerousHtml){const i={type:"raw",value:a.value};return n.patch(a,i),n.applyData(a,i)}}function xR(n,a){const i=a.referenceType;let s="]";if(i==="collapsed"?s+="[]":i==="full"&&(s+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+s}];const u=n.all(a),f=u[0];f&&f.type==="text"?f.value="["+f.value:u.unshift({type:"text",value:"["});const d=u[u.length-1];return d&&d.type==="text"?d.value+=s:u.push({type:"text",value:s}),u}function q7(n,a){const i=String(a.identifier).toUpperCase(),s=n.definitionById.get(i);if(!s)return xR(n,a);const u={src:Ol(s.url||""),alt:a.alt};s.title!==null&&s.title!==void 0&&(u.title=s.title);const f={type:"element",tagName:"img",properties:u,children:[]};return n.patch(a,f),n.applyData(a,f)}function I7(n,a){const i={src:Ol(a.url)};a.alt!==null&&a.alt!==void 0&&(i.alt=a.alt),a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"img",properties:i,children:[]};return n.patch(a,s),n.applyData(a,s)}function F7(n,a){const i={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};n.patch(a,i);const s={type:"element",tagName:"code",properties:{},children:[i]};return n.patch(a,s),n.applyData(a,s)}function Y7(n,a){const i=String(a.identifier).toUpperCase(),s=n.definitionById.get(i);if(!s)return xR(n,a);const u={href:Ol(s.url||"")};s.title!==null&&s.title!==void 0&&(u.title=s.title);const f={type:"element",tagName:"a",properties:u,children:n.all(a)};return n.patch(a,f),n.applyData(a,f)}function G7(n,a){const i={href:Ol(a.url)};a.title!==null&&a.title!==void 0&&(i.title=a.title);const s={type:"element",tagName:"a",properties:i,children:n.all(a)};return n.patch(a,s),n.applyData(a,s)}function $7(n,a,i){const s=n.all(a),u=i?X7(i):SR(a),f={},d=[];if(typeof a.checked=="boolean"){const p=s[0];let v;p&&p.type==="element"&&p.tagName==="p"?v=p:(v={type:"element",tagName:"p",properties:{},children:[]},s.unshift(v)),v.children.length>0&&v.children.unshift({type:"text",value:" "}),v.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let h=-1;for(;++h<s.length;){const p=s[h];(u||h!==0||p.type!=="element"||p.tagName!=="p")&&d.push({type:"text",value:`
|
|
258
|
+
`}),p.type==="element"&&p.tagName==="p"&&!u?d.push(...p.children):d.push(p)}const b=s[s.length-1];b&&(u||b.type!=="element"||b.tagName!=="p")&&d.push({type:"text",value:`
|
|
259
|
+
`});const y={type:"element",tagName:"li",properties:f,children:d};return n.patch(a,y),n.applyData(a,y)}function X7(n){let a=!1;if(n.type==="list"){a=n.spread||!1;const i=n.children;let s=-1;for(;!a&&++s<i.length;)a=SR(i[s])}return a}function SR(n){const a=n.spread;return a??n.children.length>1}function Q7(n,a){const i={},s=n.all(a);let u=-1;for(typeof a.start=="number"&&a.start!==1&&(i.start=a.start);++u<s.length;){const d=s[u];if(d.type==="element"&&d.tagName==="li"&&d.properties&&Array.isArray(d.properties.className)&&d.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:i,children:n.wrap(s,!0)};return n.patch(a,f),n.applyData(a,f)}function Z7(n,a){const i={type:"element",tagName:"p",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function J7(n,a){const i={type:"root",children:n.wrap(n.all(a))};return n.patch(a,i),n.applyData(a,i)}function K7(n,a){const i={type:"element",tagName:"strong",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function W7(n,a){const i=n.all(a),s=i.shift(),u=[];if(s){const d={type:"element",tagName:"thead",properties:{},children:n.wrap([s],!0)};n.patch(a.children[0],d),u.push(d)}if(i.length>0){const d={type:"element",tagName:"tbody",properties:{},children:n.wrap(i,!0)},h=ev(a.children[1]),b=eR(a.children[a.children.length-1]);h&&b&&(d.position={start:h,end:b}),u.push(d)}const f={type:"element",tagName:"table",properties:{},children:n.wrap(u,!0)};return n.patch(a,f),n.applyData(a,f)}function e9(n,a,i){const s=i?i.children:void 0,f=(s?s.indexOf(a):1)===0?"th":"td",d=i&&i.type==="table"?i.align:void 0,h=d?d.length:a.children.length;let b=-1;const y=[];for(;++b<h;){const v=a.children[b],x={},S=d?d[b]:void 0;S&&(x.align=S);let N={type:"element",tagName:f,properties:x,children:[]};v&&(N.children=n.all(v),n.patch(v,N),N=n.applyData(v,N)),y.push(N)}const p={type:"element",tagName:"tr",properties:{},children:n.wrap(y,!0)};return n.patch(a,p),n.applyData(a,p)}function t9(n,a){const i={type:"element",tagName:"td",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}const pN=9,yN=32;function n9(n){const a=String(n),i=/\r?\n|\r/g;let s=i.exec(a),u=0;const f=[];for(;s;)f.push(gN(a.slice(u,s.index),u>0,!0),s[0]),u=s.index+s[0].length,s=i.exec(a);return f.push(gN(a.slice(u),u>0,!1)),f.join("")}function gN(n,a,i){let s=0,u=n.length;if(a){let f=n.codePointAt(s);for(;f===pN||f===yN;)s++,f=n.codePointAt(s)}if(i){let f=n.codePointAt(u-1);for(;f===pN||f===yN;)u--,f=n.codePointAt(u-1)}return u>s?n.slice(s,u):""}function r9(n,a){const i={type:"text",value:n9(String(a.value))};return n.patch(a,i),n.applyData(a,i)}function a9(n,a){const i={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(a,i),n.applyData(a,i)}const i9={blockquote:_7,break:U7,code:j7,delete:V7,emphasis:L7,footnoteReference:B7,heading:H7,html:P7,imageReference:q7,image:I7,inlineCode:F7,linkReference:Y7,link:G7,listItem:$7,list:Q7,paragraph:Z7,root:J7,strong:K7,table:W7,tableCell:t9,tableRow:e9,text:r9,thematicBreak:a9,toml:fh,yaml:fh,definition:fh,footnoteDefinition:fh};function fh(){}const wR=-1,Kh=0,Ec=1,Lh=2,sv=3,lv=4,uv=5,cv=6,ER=7,TR=8,bN=typeof self=="object"?self:globalThis,o9=(n,a)=>{const i=(u,f)=>(n.set(f,u),u),s=u=>{if(n.has(u))return n.get(u);const[f,d]=a[u];switch(f){case Kh:case wR:return i(d,u);case Ec:{const h=i([],u);for(const b of d)h.push(s(b));return h}case Lh:{const h=i({},u);for(const[b,y]of d)h[s(b)]=s(y);return h}case sv:return i(new Date(d),u);case lv:{const{source:h,flags:b}=d;return i(new RegExp(h,b),u)}case uv:{const h=i(new Map,u);for(const[b,y]of d)h.set(s(b),s(y));return h}case cv:{const h=i(new Set,u);for(const b of d)h.add(s(b));return h}case ER:{const{name:h,message:b}=d;return i(new bN[h](b),u)}case TR:return i(BigInt(d),u);case"BigInt":return i(Object(BigInt(d)),u);case"ArrayBuffer":return i(new Uint8Array(d).buffer,d);case"DataView":{const{buffer:h}=new Uint8Array(d);return i(new DataView(h),d)}}return i(new bN[f](d),u)};return s},vN=n=>o9(new Map,n)(0),hl="",{toString:s9}={},{keys:l9}=Object,pc=n=>{const a=typeof n;if(a!=="object"||!n)return[Kh,a];const i=s9.call(n).slice(8,-1);switch(i){case"Array":return[Ec,hl];case"Object":return[Lh,hl];case"Date":return[sv,hl];case"RegExp":return[lv,hl];case"Map":return[uv,hl];case"Set":return[cv,hl];case"DataView":return[Ec,i]}return i.includes("Array")?[Ec,i]:i.includes("Error")?[ER,i]:[Lh,i]},dh=([n,a])=>n===Kh&&(a==="function"||a==="symbol"),u9=(n,a,i,s)=>{const u=(d,h)=>{const b=s.push(d)-1;return i.set(h,b),b},f=d=>{if(i.has(d))return i.get(d);let[h,b]=pc(d);switch(h){case Kh:{let p=d;switch(b){case"bigint":h=TR,p=d.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+b);p=null;break;case"undefined":return u([wR],d)}return u([h,p],d)}case Ec:{if(b){let x=d;return b==="DataView"?x=new Uint8Array(d.buffer):b==="ArrayBuffer"&&(x=new Uint8Array(d)),u([b,[...x]],d)}const p=[],v=u([h,p],d);for(const x of d)p.push(f(x));return v}case Lh:{if(b)switch(b){case"BigInt":return u([b,d.toString()],d);case"Boolean":case"Number":case"String":return u([b,d.valueOf()],d)}if(a&&"toJSON"in d)return f(d.toJSON());const p=[],v=u([h,p],d);for(const x of l9(d))(n||!dh(pc(d[x])))&&p.push([f(x),f(d[x])]);return v}case sv:return u([h,d.toISOString()],d);case lv:{const{source:p,flags:v}=d;return u([h,{source:p,flags:v}],d)}case uv:{const p=[],v=u([h,p],d);for(const[x,S]of d)(n||!(dh(pc(x))||dh(pc(S))))&&p.push([f(x),f(S)]);return v}case cv:{const p=[],v=u([h,p],d);for(const x of d)(n||!dh(pc(x)))&&p.push(f(x));return v}}const{message:y}=d;return u([h,{name:b,message:y}],d)};return f},xN=(n,{json:a,lossy:i}={})=>{const s=[];return u9(!(a||i),!!a,new Map,s)(n),s},Bh=typeof structuredClone=="function"?(n,a)=>a&&("json"in a||"lossy"in a)?vN(xN(n,a)):structuredClone(n):(n,a)=>vN(xN(n,a));function c9(n,a){const i=[{type:"text",value:"↩"}];return a>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),i}function f9(n,a){return"Back to reference "+(n+1)+(a>1?"-"+a:"")}function d9(n){const a=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",i=n.options.footnoteBackContent||c9,s=n.options.footnoteBackLabel||f9,u=n.options.footnoteLabel||"Footnotes",f=n.options.footnoteLabelTagName||"h2",d=n.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let b=-1;for(;++b<n.footnoteOrder.length;){const y=n.footnoteById.get(n.footnoteOrder[b]);if(!y)continue;const p=n.all(y),v=String(y.identifier).toUpperCase(),x=Ol(v.toLowerCase());let S=0;const N=[],V=n.footnoteCounts.get(v);for(;V!==void 0&&++S<=V;){N.length>0&&N.push({type:"text",value:" "});let X=typeof i=="string"?i:i(b,S);typeof X=="string"&&(X={type:"text",value:X}),N.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+x+(S>1?"-"+S:""),dataFootnoteBackref:"",ariaLabel:typeof s=="string"?s:s(b,S),className:["data-footnote-backref"]},children:Array.isArray(X)?X:[X]})}const R=p[p.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const X=R.children[R.children.length-1];X&&X.type==="text"?X.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...N)}else p.push(...N);const _={type:"element",tagName:"li",properties:{id:a+"fn-"+x},children:n.wrap(p,!0)};n.patch(y,_),h.push(_)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...Bh(d),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
260
|
+
`},{type:"element",tagName:"ol",properties:{},children:n.wrap(h,!0)},{type:"text",value:`
|
|
261
|
+
`}]}}const kR=(function(n){if(n==null)return y9;if(typeof n=="function")return Wh(n);if(typeof n=="object")return Array.isArray(n)?h9(n):m9(n);if(typeof n=="string")return p9(n);throw new Error("Expected function, string, or object as test")});function h9(n){const a=[];let i=-1;for(;++i<n.length;)a[i]=kR(n[i]);return Wh(s);function s(...u){let f=-1;for(;++f<a.length;)if(a[f].apply(this,u))return!0;return!1}}function m9(n){const a=n;return Wh(i);function i(s){const u=s;let f;for(f in n)if(u[f]!==a[f])return!1;return!0}}function p9(n){return Wh(a);function a(i){return i&&i.type===n}}function Wh(n){return a;function a(i,s,u){return!!(g9(i)&&n.call(this,i,typeof s=="number"?s:void 0,u||void 0))}}function y9(){return!0}function g9(n){return n!==null&&typeof n=="object"&&"type"in n}const DR=[],b9=!0,SN=!1,v9="skip";function x9(n,a,i,s){let u;typeof a=="function"&&typeof i!="function"?(s=i,i=a):u=a;const f=kR(u),d=s?-1:1;h(n,void 0,[])();function h(b,y,p){const v=b&&typeof b=="object"?b:{};if(typeof v.type=="string"){const S=typeof v.tagName=="string"?v.tagName:typeof v.name=="string"?v.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(b.type+(S?"<"+S+">":""))+")"})}return x;function x(){let S=DR,N,V,R;if((!a||f(b,y,p[p.length-1]||void 0))&&(S=S9(i(b,p)),S[0]===SN))return S;if("children"in b&&b.children){const _=b;if(_.children&&S[0]!==v9)for(V=(s?_.children.length:-1)+d,R=p.concat(_);V>-1&&V<_.children.length;){const X=_.children[V];if(N=h(X,V,R)(),N[0]===SN)return N;V=typeof N[1]=="number"?N[1]:V+d}}return S}}}function S9(n){return Array.isArray(n)?n:typeof n=="number"?[b9,n]:n==null?DR:[n]}function NR(n,a,i,s){let u,f,d;typeof a=="function"&&typeof i!="function"?(f=void 0,d=a,u=i):(f=a,d=i,u=s),x9(n,f,h,u);function h(b,y){const p=y[y.length-1],v=p?p.children.indexOf(b):void 0;return d(b,v,p)}}const l0={}.hasOwnProperty,w9={};function E9(n,a){const i=a||w9,s=new Map,u=new Map,f=new Map,d={...i9,...i.handlers},h={all:y,applyData:k9,definitionById:s,footnoteById:u,footnoteCounts:f,footnoteOrder:[],handlers:d,one:b,options:i,patch:T9,wrap:N9};return NR(n,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const v=p.type==="definition"?s:u,x=String(p.identifier).toUpperCase();v.has(x)||v.set(x,p)}}),h;function b(p,v){const x=p.type,S=h.handlers[x];if(l0.call(h.handlers,x)&&S)return S(h,p,v);if(h.options.passThrough&&h.options.passThrough.includes(x)){if("children"in p){const{children:V,...R}=p,_=Bh(R);return _.children=h.all(p),_}return Bh(p)}return(h.options.unknownHandler||D9)(h,p,v)}function y(p){const v=[];if("children"in p){const x=p.children;let S=-1;for(;++S<x.length;){const N=h.one(x[S],p);if(N){if(S&&x[S-1].type==="break"&&(!Array.isArray(N)&&N.type==="text"&&(N.value=wN(N.value)),!Array.isArray(N)&&N.type==="element")){const V=N.children[0];V&&V.type==="text"&&(V.value=wN(V.value))}Array.isArray(N)?v.push(...N):v.push(N)}}}return v}}function T9(n,a){n.position&&(a.position=rB(n))}function k9(n,a){let i=a;if(n&&n.data){const s=n.data.hName,u=n.data.hChildren,f=n.data.hProperties;if(typeof s=="string")if(i.type==="element")i.tagName=s;else{const d="children"in i?i.children:[i];i={type:"element",tagName:s,properties:{},children:d}}i.type==="element"&&f&&Object.assign(i.properties,Bh(f)),"children"in i&&i.children&&u!==null&&u!==void 0&&(i.children=u)}return i}function D9(n,a){const i=a.data||{},s="value"in a&&!(l0.call(i,"hProperties")||l0.call(i,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:n.all(a)};return n.patch(a,s),n.applyData(a,s)}function N9(n,a){const i=[];let s=-1;for(a&&i.push({type:"text",value:`
|
|
262
|
+
`});++s<n.length;)s&&i.push({type:"text",value:`
|
|
263
|
+
`}),i.push(n[s]);return a&&n.length>0&&i.push({type:"text",value:`
|
|
264
|
+
`}),i}function wN(n){let a=0,i=n.charCodeAt(a);for(;i===9||i===32;)a++,i=n.charCodeAt(a);return n.slice(a)}function EN(n,a){const i=E9(n,a),s=i.one(n,void 0),u=d9(i),f=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&(P("children"in f),f.children.push({type:"text",value:`
|
|
265
|
+
`},u)),f}function A9(n,a){return n&&"run"in n?async function(i,s){const u=EN(i,{file:s,...a});await n.run(u,s)}:function(i,s){return EN(i,{file:s,...n||a})}}function TN(n){if(n)throw n}var pb,kN;function C9(){if(kN)return pb;kN=1;var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u=function(y){return typeof Array.isArray=="function"?Array.isArray(y):a.call(y)==="[object Array]"},f=function(y){if(!y||a.call(y)!=="[object Object]")return!1;var p=n.call(y,"constructor"),v=y.constructor&&y.constructor.prototype&&n.call(y.constructor.prototype,"isPrototypeOf");if(y.constructor&&!p&&!v)return!1;var x;for(x in y);return typeof x>"u"||n.call(y,x)},d=function(y,p){i&&p.name==="__proto__"?i(y,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):y[p.name]=p.newValue},h=function(y,p){if(p==="__proto__")if(n.call(y,p)){if(s)return s(y,p).value}else return;return y[p]};return pb=function b(){var y,p,v,x,S,N,V=arguments[0],R=1,_=arguments.length,X=!1;for(typeof V=="boolean"&&(X=V,V=arguments[1]||{},R=2),(V==null||typeof V!="object"&&typeof V!="function")&&(V={});R<_;++R)if(y=arguments[R],y!=null)for(p in y)v=h(V,p),x=h(y,p),V!==x&&(X&&x&&(f(x)||(S=u(x)))?(S?(S=!1,N=v&&u(v)?v:[]):N=v&&f(v)?v:{},d(V,{name:p,newValue:b(X,N,x)})):typeof x<"u"&&d(V,{name:p,newValue:x}));return V},pb}var R9=C9();const yb=Rc(R9);function u0(n){if(typeof n!="object"||n===null)return!1;const a=Object.getPrototypeOf(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function z9(){const n=[],a={run:i,use:s};return a;function i(...u){let f=-1;const d=u.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);h(null,...u);function h(b,...y){const p=n[++f];let v=-1;if(b){d(b);return}for(;++v<u.length;)(y[v]===null||y[v]===void 0)&&(y[v]=u[v]);u=y,p?O9(p,h)(...y):d(null,...y)}}function s(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return n.push(u),a}}function O9(n,a){let i;return s;function s(...d){const h=n.length>d.length;let b;h&&d.push(u);try{b=n.apply(this,d)}catch(y){const p=y;if(h&&i)throw p;return u(p)}h||(b&&b.then&&typeof b.then=="function"?b.then(f,u):b instanceof Error?u(b):f(b))}function u(d,...h){i||(i=!0,a(d,...h))}function f(d){u(null,d)}}const Ma={basename:M9,dirname:_9,extname:U9,join:j9,sep:"/"};function M9(n,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');qc(n);let i=0,s=-1,u=n.length,f;if(a===void 0||a.length===0||a.length>n.length){for(;u--;)if(n.codePointAt(u)===47){if(f){i=u+1;break}}else s<0&&(f=!0,s=u+1);return s<0?"":n.slice(i,s)}if(a===n)return"";let d=-1,h=a.length-1;for(;u--;)if(n.codePointAt(u)===47){if(f){i=u+1;break}}else d<0&&(f=!0,d=u+1),h>-1&&(n.codePointAt(u)===a.codePointAt(h--)?h<0&&(s=u):(h=-1,s=d));return i===s?s=d:s<0&&(s=n.length),n.slice(i,s)}function _9(n){if(qc(n),n.length===0)return".";let a=-1,i=n.length,s;for(;--i;)if(n.codePointAt(i)===47){if(s){a=i;break}}else s||(s=!0);return a<0?n.codePointAt(0)===47?"/":".":a===1&&n.codePointAt(0)===47?"//":n.slice(0,a)}function U9(n){qc(n);let a=n.length,i=-1,s=0,u=-1,f=0,d;for(;a--;){const h=n.codePointAt(a);if(h===47){if(d){s=a+1;break}continue}i<0&&(d=!0,i=a+1),h===46?u<0?u=a:f!==1&&(f=1):u>-1&&(f=-1)}return u<0||i<0||f===0||f===1&&u===i-1&&u===s+1?"":n.slice(u,i)}function j9(...n){let a=-1,i;for(;++a<n.length;)qc(n[a]),n[a]&&(i=i===void 0?n[a]:i+"/"+n[a]);return i===void 0?".":V9(i)}function V9(n){qc(n);const a=n.codePointAt(0)===47;let i=L9(n,!a);return i.length===0&&!a&&(i="."),i.length>0&&n.codePointAt(n.length-1)===47&&(i+="/"),a?"/"+i:i}function L9(n,a){let i="",s=0,u=-1,f=0,d=-1,h,b;for(;++d<=n.length;){if(d<n.length)h=n.codePointAt(d);else{if(h===47)break;h=47}if(h===47){if(!(u===d-1||f===1))if(u!==d-1&&f===2){if(i.length<2||s!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(b=i.lastIndexOf("/"),b!==i.length-1){b<0?(i="",s=0):(i=i.slice(0,b),s=i.length-1-i.lastIndexOf("/")),u=d,f=0;continue}}else if(i.length>0){i="",s=0,u=d,f=0;continue}}a&&(i=i.length>0?i+"/..":"..",s=2)}else i.length>0?i+="/"+n.slice(u+1,d):i=n.slice(u+1,d),s=d-u-1;u=d,f=0}else h===46&&f>-1?f++:f=-1}return i}function qc(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const B9={cwd:H9};function H9(){return"/"}function c0(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function P9(n){if(typeof n=="string")n=new URL(n);else if(!c0(n)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(n.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return q9(n)}function q9(n){if(n.hostname!==""){const s=new TypeError('File URL host must be "localhost" or empty on darwin');throw s.code="ERR_INVALID_FILE_URL_HOST",s}const a=n.pathname;let i=-1;for(;++i<a.length;)if(a.codePointAt(i)===37&&a.codePointAt(i+1)===50){const s=a.codePointAt(i+2);if(s===70||s===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(a)}const gb=["history","path","basename","stem","extname","dirname"];class AR{constructor(a){let i;a?c0(a)?i={path:a}:typeof a=="string"||I9(a)?i={value:a}:i=a:i={},this.cwd="cwd"in i?"":B9.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<gb.length;){const f=gb[s];f in i&&i[f]!==void 0&&i[f]!==null&&(this[f]=f==="history"?[...i[f]]:i[f])}let u;for(u in i)gb.includes(u)||(this[u]=i[u])}get basename(){return typeof this.path=="string"?Ma.basename(this.path):void 0}set basename(a){vb(a,"basename"),bb(a,"basename"),this.path=Ma.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?Ma.dirname(this.path):void 0}set dirname(a){DN(this.basename,"dirname"),this.path=Ma.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?Ma.extname(this.path):void 0}set extname(a){if(bb(a,"extname"),DN(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ma.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){c0(a)&&(a=P9(a)),vb(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?Ma.basename(this.path,this.extname):void 0}set stem(a){vb(a,"stem"),bb(a,"stem"),this.path=Ma.join(this.dirname||"",a+(this.extname||""))}fail(a,i,s){const u=this.message(a,i,s);throw u.fatal=!0,u}info(a,i,s){const u=this.message(a,i,s);return u.fatal=void 0,u}message(a,i,s){const u=new kn(a,i,s);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function bb(n,a){if(n&&n.includes(Ma.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+Ma.sep+"`")}function vb(n,a){if(!n)throw new Error("`"+a+"` cannot be empty")}function DN(n,a){if(!n)throw new Error("Setting `"+a+"` requires `path` to be set too")}function I9(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const F9=(function(n){const s=this.constructor.prototype,u=s[n],f=function(){return u.apply(f,arguments)};return Object.setPrototypeOf(f,s),f}),Y9={}.hasOwnProperty;class fv extends F9{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=z9()}copy(){const a=new fv;let i=-1;for(;++i<this.attachers.length;){const s=this.attachers[i];a.use(...s)}return a.data(yb(!0,{},this.namespace)),a}data(a,i){return typeof a=="string"?arguments.length===2?(wb("data",this.frozen),this.namespace[a]=i,this):Y9.call(this.namespace,a)&&this.namespace[a]||void 0:a?(wb("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[i,...s]=this.attachers[this.freezeIndex];if(s[0]===!1)continue;s[0]===!0&&(s[0]=void 0);const u=i.call(a,...s);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const i=hh(a),s=this.parser||this.Parser;return xb("parse",s),s(String(i),i)}process(a,i){const s=this;return this.freeze(),xb("process",this.parser||this.Parser),Sb("process",this.compiler||this.Compiler),i?u(void 0,i):new Promise(u);function u(f,d){const h=hh(a),b=s.parse(h);s.run(b,h,function(p,v,x){if(p||!v||!x)return y(p);const S=v,N=s.stringify(S,x);X9(N)?x.value=N:x.result=N,y(p,x)});function y(p,v){p||!v?d(p):f?f(v):(P(i,"`done` is defined if `resolve` is not"),i(void 0,v))}}}processSync(a){let i=!1,s;return this.freeze(),xb("processSync",this.parser||this.Parser),Sb("processSync",this.compiler||this.Compiler),this.process(a,u),AN("processSync","process",i),P(s,"we either bailed on an error or have a tree"),s;function u(f,d){i=!0,TN(f),s=d}}run(a,i,s){NN(a),this.freeze();const u=this.transformers;return!s&&typeof i=="function"&&(s=i,i=void 0),s?f(void 0,s):new Promise(f);function f(d,h){P(typeof i!="function","`file` can’t be a `done` anymore, we checked");const b=hh(i);u.run(a,b,y);function y(p,v,x){const S=v||a;p?h(p):d?d(S):(P(s,"`done` is defined if `resolve` is not"),s(void 0,S,x))}}}runSync(a,i){let s=!1,u;return this.run(a,i,f),AN("runSync","run",s),P(u,"we either bailed on an error or have a tree"),u;function f(d,h){TN(d),u=h,s=!0}}stringify(a,i){this.freeze();const s=hh(i),u=this.compiler||this.Compiler;return Sb("stringify",u),NN(a),u(a,s)}use(a,...i){const s=this.attachers,u=this.namespace;if(wb("use",this.frozen),a!=null)if(typeof a=="function")b(a,i);else if(typeof a=="object")Array.isArray(a)?h(a):d(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(y){if(typeof y=="function")b(y,[]);else if(typeof y=="object")if(Array.isArray(y)){const[p,...v]=y;b(p,v)}else d(y);else throw new TypeError("Expected usable value, not `"+y+"`")}function d(y){if(!("plugins"in y)&&!("settings"in y))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(y.plugins),y.settings&&(u.settings=yb(!0,u.settings,y.settings))}function h(y){let p=-1;if(y!=null)if(Array.isArray(y))for(;++p<y.length;){const v=y[p];f(v)}else throw new TypeError("Expected a list of plugins, not `"+y+"`")}function b(y,p){let v=-1,x=-1;for(;++v<s.length;)if(s[v][0]===y){x=v;break}if(x===-1)s.push([y,...p]);else if(p.length>0){let[S,...N]=p;const V=s[x][1];u0(V)&&u0(S)&&(S=yb(!0,V,S)),s[x]=[y,S,...N]}}}}const G9=new fv().freeze();function xb(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function Sb(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function wb(n,a){if(a)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function NN(n){if(!u0(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function AN(n,a,i){if(!i)throw new Error("`"+n+"` finished async. Use `"+a+"` instead")}function hh(n){return $9(n)?n:new AR(n)}function $9(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function X9(n){return typeof n=="string"||Q9(n)}function Q9(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Z9="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",CN=[],RN={allowDangerousHtml:!0},J9=/^(https?|ircs?|mailto|xmpp)$/i,K9=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function W9(n){const a=eH(n),i=tH(n);return nH(a.runSync(a.parse(i),i),n)}function eH(n){const a=n.rehypePlugins||CN,i=n.remarkPlugins||CN,s=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...RN}:RN;return G9().use(M7).use(i).use(A9,s).use(a)}function tH(n){const a=n.children||"",i=new AR;return typeof a=="string"?i.value=a:e0("Unexpected value `"+a+"` for `children` prop, expected `string`"),i}function nH(n,a){const i=a.allowedElements,s=a.allowElement,u=a.components,f=a.disallowedElements,d=a.skipHtml,h=a.unwrapDisallowed,b=a.urlTransform||rH;for(const p of K9)Object.hasOwn(a,p.from)&&e0("Unexpected `"+p.from+"` prop, "+(p.to?"use `"+p.to+"` instead":"remove it")+" (see <"+Z9+"#"+p.id+"> for more info)");return i&&f&&e0("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),NR(n,y),lB(n,{Fragment:Vr.Fragment,components:u,ignoreInvalidStyle:!0,jsx:Vr.jsx,jsxs:Vr.jsxs,passKeys:!0,passNode:!0});function y(p,v,x){if(p.type==="raw"&&x&&typeof v=="number")return d?x.children.splice(v,1):x.children[v]={type:"text",value:p.value},v;if(p.type==="element"){let S;for(S in cb)if(Object.hasOwn(cb,S)&&Object.hasOwn(p.properties,S)){const N=p.properties[S],V=cb[S];(V===null||V.includes(p.tagName))&&(p.properties[S]=b(String(N||""),S,p))}}if(p.type==="element"){let S=i?!i.includes(p.tagName):f?f.includes(p.tagName):!1;if(!S&&s&&typeof v=="number"&&(S=!s(p,v,x)),S&&x&&typeof v=="number")return h&&p.children?x.children.splice(v,1,...p.children):x.children.splice(v,1),v}}}function rH(n){const a=n.indexOf(":"),i=n.indexOf("?"),s=n.indexOf("#"),u=n.indexOf("/");return a===-1||u!==-1&&a>u||i!==-1&&a>i||s!==-1&&a>s||J9.test(n.slice(0,a))?n:""}const ao=[{id:"welcome",title:"Welcome to Zora",subtitle:"Your personal AI assistant that actually does things"},{id:"how-it-works",title:"How Zora Works",subtitle:"Three things to know before you start"},{id:"try-it",title:"Try Your First Task",subtitle:"Click one to get started, or type your own"}],aH=[{emoji:"📂",label:"Organize my Downloads",prompt:"List everything in ~/Downloads grouped by file type, and tell me which files are oldest"},{emoji:"📝",label:"Summarize a folder",prompt:"Give me a one-line summary of each item in ~/Projects (or ~/Documents if Projects doesn't exist)"},{emoji:"🔍",label:"Find large files",prompt:"Find the 10 largest files in my home directory and tell me their sizes"},{emoji:"🧠",label:"Teach Zora about me",prompt:"Remember that I prefer concise, direct answers and I'm a non-technical user"},{emoji:"📊",label:"Project status check",prompt:"Check ~/Projects for any git repos and tell me which have uncommitted changes"},{emoji:"🗑️",label:"Clean up suggestions",prompt:"Look at my ~/Downloads and ~/Desktop folders and suggest files I might want to clean up or archive"}],iH=({onComplete:n,onSubmitTask:a})=>{const[i,s]=me.useState(0),u=()=>{i<ao.length-1&&s(i+1)},f=h=>{a(h),n()},d=()=>{n()};return A.jsxDEV("div",{className:"fixed inset-0 z-40 bg-zora-obsidian/95 flex items-center justify-center p-8",children:A.jsxDEV(Tn.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"max-w-2xl w-full",children:[A.jsxDEV("div",{className:"flex justify-center gap-2 mb-8",children:ao.map((h,b)=>A.jsxDEV("div",{className:`w-2 h-2 rounded-full transition-colors ${b===i?"bg-zora-teal":b<i?"bg-zora-teal/40":"bg-zora-ghost"}`},b,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:89,columnNumber:13},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:87,columnNumber:9},void 0),A.jsxDEV(so,{mode:"wait",children:[i===0&&A.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"text-center",children:[A.jsxDEV("div",{className:"w-16 h-16 rounded-2xl bg-zora-teal/20 border border-zora-teal/30 flex items-center justify-center mx-auto mb-6",children:A.jsxDEV(LN,{size:32,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:109,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:108,columnNumber:15},void 0),A.jsxDEV("h1",{className:"text-3xl font-tactical font-bold text-zora-white mb-3",children:ao[0].title},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:111,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-zora-blue/70 text-lg mb-2",children:ao[0].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:114,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-white/40 text-sm max-w-md mx-auto mb-10",children:"Tell Zora what you need in plain English — organize files, summarize documents, automate tasks — and it handles it while you do something else."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:117,columnNumber:15},void 0),A.jsxDEV("div",{className:"flex flex-col items-center gap-3",children:A.jsxDEV("div",{className:"flex items-center gap-2 text-sm text-zora-teal/70",children:[A.jsxDEV(Ah,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:124,columnNumber:19},void 0),A.jsxDEV("span",{children:"No API keys. No surprise bills. Uses your existing subscription."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:125,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:123,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:122,columnNumber:15},void 0),A.jsxDEV("button",{onClick:u,className:"mt-8 bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 mx-auto text-sm",children:["Get Started ",A.jsxDEV(ok,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:133,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:129,columnNumber:15},void 0),A.jsxDEV("button",{onClick:d,className:"mt-3 text-white/30 text-xs hover:text-white/50 transition-colors",children:"Skip intro — I know what I'm doing"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:136,columnNumber:15},void 0)]},"welcome",!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:101,columnNumber:13},void 0),i===1&&A.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[A.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:ao[1].title},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:153,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-8",children:ao[1].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:156,columnNumber:15},void 0),A.jsxDEV("div",{className:"space-y-4",children:[A.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-teal",children:[A.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-teal/20 flex items-center justify-center flex-shrink-0",children:A.jsxDEV(lU,{size:20,className:"text-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:161,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:160,columnNumber:19},void 0),A.jsxDEV("div",{children:[A.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It takes action, not just talks"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:164,columnNumber:21},void 0),A.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Unlike chatbots, Zora actually reads your files, runs commands, and creates output. When you say "organize my downloads," it really moves the files.'},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:165,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:163,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:159,columnNumber:17},void 0),A.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-gold",children:[A.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-gold/20 flex items-center justify-center flex-shrink-0",children:A.jsxDEV(Ah,{size:20,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:174,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:173,columnNumber:19},void 0),A.jsxDEV("div",{children:[A.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"You set the boundaries"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:177,columnNumber:21},void 0),A.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:"Zora only accesses folders you've allowed. Destructive commands are blocked. Every action is logged. You can review everything it did anytime."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:178,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:176,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:172,columnNumber:17},void 0),A.jsxDEV("div",{className:"flex gap-4 p-4 bg-black/40 rounded-xl border-l-4 border-zora-cyan",children:[A.jsxDEV("div",{className:"w-10 h-10 rounded-lg bg-zora-cyan/20 flex items-center justify-center flex-shrink-0",children:A.jsxDEV(jN,{size:20,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:187,columnNumber:21},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:186,columnNumber:19},void 0),A.jsxDEV("div",{children:[A.jsxDEV("h3",{className:"text-zora-white font-bold text-sm mb-1",children:"It remembers and learns"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:190,columnNumber:21},void 0),A.jsxDEV("p",{className:"text-white/40 text-xs leading-relaxed",children:'Tell Zora your preferences once and it remembers across sessions. "I prefer TypeScript" or "keep answers short" — it adapts to how you work.'},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:191,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:189,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:185,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:158,columnNumber:15},void 0),A.jsxDEV("div",{className:"flex justify-center mt-8",children:A.jsxDEV("button",{onClick:u,className:"bg-zora-teal text-zora-obsidian px-8 py-3 rounded-xl font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:["Show Me What It Can Do ",A.jsxDEV(ok,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:204,columnNumber:42},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:200,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:199,columnNumber:15},void 0)]},"how-it-works",!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:147,columnNumber:13},void 0),i===2&&A.jsxDEV(Tn.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},children:[A.jsxDEV("h2",{className:"text-2xl font-tactical font-bold text-zora-white mb-2 text-center",children:ao[2].title},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:218,columnNumber:15},void 0),A.jsxDEV("p",{className:"text-zora-blue/50 text-center mb-6",children:ao[2].subtitle},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:221,columnNumber:15},void 0),A.jsxDEV("div",{className:"grid grid-cols-2 gap-3",children:aH.map((h,b)=>A.jsxDEV("button",{onClick:()=>f(h.prompt),className:"text-left p-4 bg-black/40 rounded-xl border border-zora-ghost/30 hover:border-zora-teal/50 hover:bg-black/60 transition-all group",children:[A.jsxDEV("div",{className:"text-2xl mb-2",children:h.emoji},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:230,columnNumber:21},void 0),A.jsxDEV("div",{className:"text-zora-white text-sm font-bold mb-1 group-hover:text-zora-teal transition-colors",children:h.label},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:231,columnNumber:21},void 0),A.jsxDEV("div",{className:"text-white/30 text-xs line-clamp-2",children:h.prompt},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:234,columnNumber:21},void 0)]},b,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:225,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:223,columnNumber:15},void 0),A.jsxDEV("div",{className:"flex justify-center mt-6",children:A.jsxDEV("button",{onClick:d,className:"text-white/40 text-xs hover:text-white/60 transition-colors flex items-center gap-1",children:[A.jsxDEV(O_,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:246,columnNumber:19},void 0)," Skip to dashboard — I'll explore on my own"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:242,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:241,columnNumber:15},void 0)]},"try-it",!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:212,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:98,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:81,columnNumber:7},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/WelcomeOnboarding.tsx",lineNumber:80,columnNumber:5},void 0)};function Eb({label:n,pct:a,color:i}){return A.jsxDEV("div",{className:"flex items-center gap-2 text-xs",children:[A.jsxDEV("span",{className:"w-16 text-neutral-400",children:n},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:17,columnNumber:7},this),A.jsxDEV("div",{className:"flex-1 bg-neutral-700 rounded-full h-2",children:A.jsxDEV("div",{className:`${i} h-2 rounded-full transition-all`,style:{width:`${a}%`}},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:19,columnNumber:9},this)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:18,columnNumber:7},this),A.jsxDEV("span",{className:"w-8 text-right text-neutral-300",children:[a,"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:21,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:16,columnNumber:5},this)}function oH(){const[n,a]=me.useState(null),[i,s]=me.useState(!0);if(me.useEffect(()=>{if(!i)return;const b=async()=>{try{const p=await fetch("/api/tlci-stats");if(p.status===503||p.status===401||p.status===403){s(!1);return}if(!p.ok)return;a(await p.json())}catch{}};b();const y=setInterval(b,5e3);return()=>clearInterval(y)},[i]),!i)return null;if(!n)return A.jsxDEV("div",{className:"rounded-lg border border-neutral-700 bg-neutral-800/50 p-4 text-neutral-500 text-xs",children:"Loading TLCI stats..."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:54,columnNumber:5},this);const u=n.last100StepsTierDistribution.code+n.last100StepsTierDistribution.slm+n.last100StepsTierDistribution.frontier,f=u===0?0:Math.round(n.last100StepsTierDistribution.code/u*100),d=u===0?0:Math.round(n.last100StepsTierDistribution.slm/u*100),h=u===0?0:Math.round(n.last100StepsTierDistribution.frontier/u*100);return A.jsxDEV("div",{className:"rounded-lg border border-neutral-700 bg-neutral-800/50 p-4 space-y-3",children:[A.jsxDEV("div",{className:"flex items-center justify-between",children:[A.jsxDEV("h3",{className:"text-sm font-semibold text-neutral-200",children:"TLCI Cost Tracker"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:71,columnNumber:9},this),A.jsxDEV("span",{className:"text-xs text-emerald-400 font-medium",children:n.vsAllLLMMessage},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:72,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:70,columnNumber:7},this),A.jsxDEV("div",{className:"flex flex-wrap gap-x-4 gap-y-1 text-xs text-neutral-400",children:[A.jsxDEV("span",{children:["Today: ",A.jsxDEV("span",{className:"text-neutral-200",children:["$",n.todayCostUSD.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:76,columnNumber:22},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:76,columnNumber:9},this),A.jsxDEV("span",{children:["Saved today: ",A.jsxDEV("span",{className:"text-emerald-400",children:["$",n.todaySavingsUSD.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:77,columnNumber:28},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:77,columnNumber:9},this),A.jsxDEV("span",{children:["Cache: ",A.jsxDEV("span",{className:"text-neutral-200",children:[Math.round(n.planCacheHitRate*100),"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:78,columnNumber:22},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:78,columnNumber:9},this),A.jsxDEV("span",{children:["All-time: ",A.jsxDEV("span",{className:"text-emerald-400",children:["$",n.allTimeSavingsUSD.toFixed(2)," saved"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:79,columnNumber:25},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:79,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:75,columnNumber:7},this),A.jsxDEV("div",{className:"space-y-1.5",children:[A.jsxDEV("p",{className:"text-xs text-neutral-500",children:"Step distribution (last 100)"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:83,columnNumber:9},this),A.jsxDEV(Eb,{label:"Code",pct:f,color:"bg-blue-500"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:84,columnNumber:9},this),A.jsxDEV(Eb,{label:"SLM",pct:d,color:"bg-purple-500"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:85,columnNumber:9},this),A.jsxDEV(Eb,{label:"Frontier",pct:h,color:"bg-amber-500"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:86,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:82,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TLCIPanel.tsx",lineNumber:69,columnNumber:5},this)}const sH=[{icon:VN,label:"Files",color:"text-zora-teal",bgColor:"bg-zora-teal/10",borderColor:"border-zora-teal/30",tasks:[{label:"Organize Downloads",prompt:"List everything in ~/Downloads grouped by file type and suggest how to organize them"},{label:"Find big files",prompt:"Find the 10 largest files in my home directory with their sizes"},{label:"Clean up Desktop",prompt:"List everything on ~/Desktop grouped by age — what can I archive?"}]},{icon:h0,label:"Summaries",color:"text-zora-gold",bgColor:"bg-zora-gold/10",borderColor:"border-zora-gold/30",tasks:[{label:"Folder overview",prompt:"Give me a one-line summary of each item in ~/Projects"},{label:"README roundup",prompt:"Find all README files in ~/Projects and summarize each one"},{label:"Recent changes",prompt:"What files in ~/Documents were modified in the last 7 days?"}]},{icon:K_,label:"Search",color:"text-zora-cyan",bgColor:"bg-zora-cyan/10",borderColor:"border-zora-cyan/30",tasks:[{label:"Find TODOs",prompt:"Search for TODO comments across all files in ~/Projects and list them"},{label:"Find duplicates",prompt:"Look for files with identical names across ~/Documents and ~/Desktop"},{label:"Search content",prompt:'Find all files containing the word "password" in my home directory'}]},{icon:jN,label:"Memory",color:"text-purple-400",bgColor:"bg-purple-400/10",borderColor:"border-purple-400/30",tasks:[{label:"Set preferences",prompt:"Remember: I prefer concise answers, dark mode, and bullet-point summaries"},{label:"What do you know?",prompt:"Show me everything you remember about me and my preferences"},{label:"Project context",prompt:"Remember: my main project is in ~/Projects/my-app and uses React + TypeScript"}]},{icon:oU,label:"Dev Tools",color:"text-green-400",bgColor:"bg-green-400/10",borderColor:"border-green-400/30",tasks:[{label:"Git status check",prompt:"Check all git repos in ~/Projects and report which have uncommitted changes"},{label:"Dependency audit",prompt:"Check ~/Projects for any package.json files with outdated dependencies"},{label:"Code summary",prompt:"Analyze the file structure of ~/Projects/my-app and describe the architecture"}]},{icon:f0,label:"Automate",color:"text-rose-400",bgColor:"bg-rose-400/10",borderColor:"border-rose-400/30",tasks:[{label:"Daily standup prep",prompt:"Check my recent git commits across all repos and draft a standup summary"},{label:"Weekly report",prompt:"Summarize what changed in ~/Projects this week — new files, modifications, deletions"},{label:"Backup check",prompt:"List important config files in my home directory that should be backed up"}]}],lH=({onSubmitTask:n})=>{const[a,i]=Ph.useState(null);return A.jsxDEV("div",{className:"px-4 py-3",children:[A.jsxDEV("div",{className:"mb-3",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Quick Tasks"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:90,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:89,columnNumber:7},void 0),A.jsxDEV("div",{className:"space-y-1.5",children:sH.map(s=>{const u=s.icon,f=a===s.label;return A.jsxDEV("div",{children:[A.jsxDEV("button",{onClick:()=>i(f?null:s.label),className:`w-full flex items-center gap-2 px-3 py-2 rounded-lg text-left transition-all ${f?`${s.bgColor} border ${s.borderColor}`:"hover:bg-black/30 border border-transparent"}`,children:[A.jsxDEV(u,{size:14,className:s.color},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:110,columnNumber:17},void 0),A.jsxDEV("span",{className:`text-xs font-bold uppercase ${f?s.color:"text-white/60"}`,children:s.label},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:111,columnNumber:17},void 0),A.jsxDEV("span",{className:"text-[9px] text-white/20 ml-auto",children:s.tasks.length},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:114,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:102,columnNumber:15},void 0),A.jsxDEV(so,{children:f&&A.jsxDEV(Tn.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"pl-7 pb-2 space-y-1",children:s.tasks.map((d,h)=>A.jsxDEV("button",{onClick:()=>n(d.prompt),className:"w-full text-left px-3 py-1.5 rounded-md text-[11px] text-white/50 hover:text-zora-white hover:bg-black/30 transition-all",title:d.prompt,children:d.label},h,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:129,columnNumber:23},void 0))},s.label,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:121,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:119,columnNumber:15},void 0)]},s.label,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:101,columnNumber:13},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:95,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskTemplates.tsx",lineNumber:88,columnNumber:5},void 0)},uH={read:d0,write:h0,shell:m0,think:f0,error:BN},zN={read:"text-zora-cyan",write:"text-zora-gold",shell:"text-green-400",think:"text-zora-blue",error:"text-red-400"},cH={read:"Read",write:"Created",shell:"Ran",think:"Thinking",error:"Error"},fH=({steps:n,isRunning:a,taskPrompt:i})=>{const[s,u]=Ph.useState(!1);if(n.length===0&&!a)return null;const f=n.filter(y=>y.type==="read").length,d=n.filter(y=>y.type==="write").length,h=n.filter(y=>y.type==="shell").length,b=n.filter(y=>y.type==="error").length;return A.jsxDEV("div",{className:"border-t border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>u(!s),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-3",children:[A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:a?"Task In Progress":"What Just Happened"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:60,columnNumber:11},void 0),a&&A.jsxDEV(Tn.div,{animate:{opacity:[1,.3,1]},transition:{duration:1.5,repeat:1/0},className:"w-2 h-2 rounded-full bg-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:64,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:59,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-3",children:[A.jsxDEV("div",{className:"flex items-center gap-2 text-[9px] font-data text-white/40",children:[f>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(d0,{size:10,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:76,columnNumber:17},void 0)," ",f]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:75,columnNumber:15},void 0),d>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(h0,{size:10,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:81,columnNumber:17},void 0)," ",d]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:80,columnNumber:15},void 0),h>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(m0,{size:10,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:86,columnNumber:17},void 0)," ",h]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:85,columnNumber:15},void 0),b>0&&A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(BN,{size:10,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:91,columnNumber:17},void 0)," ",b]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:90,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:73,columnNumber:11},void 0),s?A.jsxDEV(ph,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:96,columnNumber:13},void 0):A.jsxDEV(yh,{size:14,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:98,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:71,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:55,columnNumber:7},void 0),A.jsxDEV(so,{children:!s&&A.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:[i&&A.jsxDEV("div",{className:"px-4 pb-2",children:A.jsxDEV("div",{className:"text-[10px] font-data text-white/30 italic truncate",children:['"',i,'"']},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:114,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:113,columnNumber:15},void 0),A.jsxDEV("div",{className:"px-4 pb-3 max-h-40 overflow-y-auto lcars-scrollbar",children:A.jsxDEV("div",{className:"space-y-1",children:[n.map((y,p)=>{const v=uH[y.type];return A.jsxDEV(Tn.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},className:"flex items-start gap-2 text-[10px] font-data",children:[A.jsxDEV(v,{size:12,className:`${zN[y.type]} mt-0.5 flex-shrink-0`},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:131,columnNumber:23},void 0),A.jsxDEV("span",{className:`${zN[y.type]} font-bold uppercase w-12 flex-shrink-0`,children:cH[y.type]},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:132,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-white/50 truncate flex-1",children:y.label},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:135,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-white/20 flex-shrink-0",children:y.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"})},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:138,columnNumber:23},void 0)]},p,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:125,columnNumber:21},void 0)}),a&&A.jsxDEV(Tn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"flex items-center gap-2 text-[10px] font-data text-zora-teal",children:[A.jsxDEV(f0,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:151,columnNumber:21},void 0),A.jsxDEV("span",{children:"Working..."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:152,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:146,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:121,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:120,columnNumber:13},void 0),!a&&n.length>0&&A.jsxDEV("div",{className:"px-4 pb-3",children:A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data text-green-400/70",children:[A.jsxDEV(kb,{size:12},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:161,columnNumber:19},void 0),A.jsxDEV("span",{children:["Task complete",f+d+h>0?" — ":"",f>0?`read ${f} file${f>1?"s":""}`:"",f>0&&d>0?", ":"",d>0?`created ${d} file${d>1?"s":""}`:"",(f>0||d>0)&&h>0?", ":"",h>0?`ran ${h} command${h>1?"s":""}`:""]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:162,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:160,columnNumber:17},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:159,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:106,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:104,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/TaskSummary.tsx",lineNumber:53,columnNumber:5},void 0)},ON={safe:{label:"Safe",description:"Zora can only look at files — never change or delete anything.",color:"text-green-400"},balanced:{label:"Balanced",description:"Zora can read and write in your work folders. Dangerous commands are blocked.",color:"text-zora-gold"},power:{label:"Power",description:"Broad access for experienced users. Still blocks truly dangerous actions.",color:"text-orange-400"}},dH=()=>{const[n,a]=me.useState(null),[i,s]=me.useState(!0),[u,f]=me.useState(!1),[d,h]=me.useState("folders");me.useEffect(()=>{(async()=>{try{const v=await vt.get("/api/policy");v.data.ok&&a(v.data.policy)}catch{f(!0),a({preset:"balanced",allowedPaths:["~/Projects","~/Documents","~/Desktop"],deniedPaths:["~/.ssh","~/.gnupg","~/.aws","~/.zora/audit"],allowedCommands:["git","ls","cat","grep","find","node","npm","python"],blockedCommands:["sudo","rm -rf","chmod","chown","mkfs","dd"]})}finally{s(!1)}})()},[]);const b=p=>{h(d===p?null:p)};if(i)return A.jsxDEV("div",{className:"px-4 py-6 text-center",children:A.jsxDEV(Tn.div,{animate:{opacity:[.3,1,.3]},transition:{duration:1.5,repeat:1/0},className:"text-[10px] font-data text-zora-teal",children:"Loading security settings..."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:69,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:68,columnNumber:7},void 0);if(!n)return A.jsxDEV("div",{className:"px-4 py-4 text-[10px] font-data text-white/40",children:["Unable to load security settings. Run ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:83,columnNumber:47},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:82,columnNumber:7},void 0);const y=ON[n.preset]||ON.balanced;return A.jsxDEV("div",{className:"space-y-0",children:[u&&A.jsxDEV("div",{className:"px-4 py-2 text-[9px] font-data text-zora-gold/70 bg-zora-gold/5 border-b border-zora-ghost/30",children:["Showing default policy. Run ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:94,columnNumber:39},void 0)," to verify your actual settings."]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:93,columnNumber:9},void 0),A.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:[A.jsxDEV("div",{className:"flex items-center gap-2 mb-2",children:[A.jsxDEV(Ah,{size:14,className:"text-zora-gold"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:100,columnNumber:11},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Your Safety Level"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:101,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:99,columnNumber:9},void 0),A.jsxDEV("div",{className:"bg-black/40 rounded-lg p-3 border-l-2 border-zora-gold",children:[A.jsxDEV("div",{className:`text-sm font-bold ${y.color} mb-1`,children:[y.label," Mode"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:106,columnNumber:11},void 0),A.jsxDEV("div",{className:"text-[10px] font-data text-white/50",children:y.description},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:109,columnNumber:11},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mt-2",children:["Change with: ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent init --force"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:113,columnNumber:26},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:112,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:105,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:98,columnNumber:7},void 0),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>b("folders"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(VN,{size:12,className:"text-green-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:125,columnNumber:13},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Folders Zora can see"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:126,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:124,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.allowedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:131,columnNumber:13},void 0),d==="folders"?A.jsxDEV(yh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:133,columnNumber:15},void 0):A.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:135,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:130,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:120,columnNumber:9},void 0),A.jsxDEV(so,{children:d==="folders"&&A.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:A.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:n.allowedPaths.map((p,v)=>A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[A.jsxDEV(kb,{size:10,className:"text-green-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:150,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/60",children:p},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:151,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/20 ml-auto",children:n.preset==="safe"?A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(d0,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:155,columnNumber:27},void 0)," read only"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:154,columnNumber:25},void 0):A.jsxDEV("span",{className:"flex items-center gap-1",children:[A.jsxDEV(Z_,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:159,columnNumber:27},void 0)," read & write"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:158,columnNumber:25},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:152,columnNumber:21},void 0)]},v,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:149,columnNumber:19},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:147,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:141,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:139,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:119,columnNumber:7},void 0),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>b("denied"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(q_,{size:12,className:"text-red-400"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:178,columnNumber:13},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Off-limits folders"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:179,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:177,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.deniedPaths.length},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:184,columnNumber:13},void 0),d==="denied"?A.jsxDEV(yh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:186,columnNumber:15},void 0):A.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:188,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:183,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:173,columnNumber:9},void 0),A.jsxDEV(so,{children:d==="denied"&&A.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:A.jsxDEV("div",{className:"px-4 pb-3 space-y-1",children:[n.deniedPaths.map((p,v)=>A.jsxDEV("div",{className:"flex items-center gap-2 text-[10px] font-data",children:[A.jsxDEV(V_,{size:10,className:"text-red-400 flex-shrink-0"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:203,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/60",children:p},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:204,columnNumber:21},void 0),A.jsxDEV("span",{className:"text-white/20 ml-auto text-[9px]",children:[p.includes(".ssh")&&"SSH keys",p.includes(".gnupg")&&"encryption keys",p.includes(".aws")&&"AWS credentials",p.includes("audit")&&"audit logs"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:205,columnNumber:21},void 0)]},v,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:202,columnNumber:19},void 0)),A.jsxDEV("div",{className:"flex items-start gap-2 mt-2 text-[9px] font-data text-white/25",children:[A.jsxDEV(G_,{size:10,className:"flex-shrink-0 mt-0.5"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:214,columnNumber:19},void 0),A.jsxDEV("span",{children:"These folders are always blocked, regardless of your safety level."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:215,columnNumber:19},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:213,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:200,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:194,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:192,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:172,columnNumber:7},void 0),A.jsxDEV("div",{className:"border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>b("commands"),className:"w-full px-4 py-2 flex items-center justify-between hover:bg-black/20 transition-colors",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(m0,{size:12,className:"text-zora-cyan"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:230,columnNumber:13},void 0),A.jsxDEV("span",{className:"text-[10px] font-data text-white/60 uppercase tracking-wider",children:"Allowed commands"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:231,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:229,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:"text-[9px] font-data text-white/30",children:n.allowedCommands.length},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:236,columnNumber:13},void 0),d==="commands"?A.jsxDEV(yh,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:238,columnNumber:15},void 0):A.jsxDEV(ph,{size:12,className:"text-white/30"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:240,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:235,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:225,columnNumber:9},void 0),A.jsxDEV(so,{children:d==="commands"&&A.jsxDEV(Tn.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:A.jsxDEV("div",{className:"px-4 pb-3",children:[A.jsxDEV("div",{className:"flex flex-wrap gap-1 mb-3",children:n.allowedCommands.map((p,v)=>A.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-green-900/30 rounded text-[9px] font-data text-green-400 border border-green-800/30",children:[A.jsxDEV(kb,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:259,columnNumber:23},void 0)," ",p]},v,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:255,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:253,columnNumber:17},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/30 mb-2 uppercase",children:"Always blocked:"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:263,columnNumber:17},void 0),A.jsxDEV("div",{className:"flex flex-wrap gap-1",children:n.blockedCommands.map((p,v)=>A.jsxDEV("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-red-900/20 rounded text-[9px] font-data text-red-400/70 border border-red-800/20",children:[A.jsxDEV(C_,{size:8},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:270,columnNumber:23},void 0)," ",p]},v,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:266,columnNumber:21},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:264,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:252,columnNumber:15},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:246,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:244,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:224,columnNumber:7},void 0),A.jsxDEV("div",{className:"px-4 py-3",children:A.jsxDEV("div",{className:"text-[9px] font-data text-white/25 space-y-1",children:[A.jsxDEV("div",{children:"Every action Zora takes is logged and tamper-proof."},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:283,columnNumber:11},void 0),A.jsxDEV("div",{children:["View the full log: ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent audit show"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:285,columnNumber:32},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:284,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:282,columnNumber:9},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:281,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/components/SecuritySettings.tsx",lineNumber:91,columnNumber:5},void 0)},hH="v0.9.5",mh=200,MN="zora_onboarding_complete",Hh=window.__ZORA_TOKEN__;Hh&&(vt.defaults.headers.common.Authorization=`Bearer ${Hh}`);let ea=0;function _N(n){return n>=1e6?`${(n/1e6).toFixed(1)}M`:n>=1e3?`${(n/1e3).toFixed(1)}K`:String(n)}function Tb(n){return n>=.7?"text-green-500":n>=.3?"text-zora-gold":"text-red-500"}function mH(n){return n>=.7?"bg-green-500":n>=.3?"bg-zora-gold":"bg-red-500"}const pH=({items:n})=>{const[a,i]=Ph.useState(!1),s=n.filter(d=>d.type==="tool-call"),u=[...new Set(s.map(d=>d.tool))],f=u.length<=3?u.join(", "):`${u.slice(0,2).join(", ")} +${u.length-2} more`;return A.jsxDEV(Tn.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},transition:{duration:.15},className:"bubble bubble-tool self-start w-full max-w-[90%]",children:[A.jsxDEV("button",{onClick:()=>i(d=>!d),className:"w-full flex items-center gap-2 font-data text-[10px] uppercase tracking-widest text-zora-gold/60 hover:text-zora-gold/90 transition-colors",children:[A.jsxDEV("span",{children:"⚙"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:94,columnNumber:9},void 0),A.jsxDEV("span",{className:"font-mono normal-case tracking-normal text-white/50",children:f},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:95,columnNumber:9},void 0),A.jsxDEV("span",{className:"text-white/25 ml-1",children:["(",s.length," calls)"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:96,columnNumber:9},void 0),A.jsxDEV("span",{className:"ml-auto text-[9px] opacity-40",children:n[0].timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:97,columnNumber:9},void 0),A.jsxDEV("span",{className:"opacity-40",children:a?"▲":"▼"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:98,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:90,columnNumber:7},void 0),a&&A.jsxDEV("div",{className:"mt-2 border-t border-white/10 pt-2 flex flex-col gap-1",children:n.map(d=>A.jsxDEV("div",{className:`flex items-center gap-2 text-[10px] font-mono ${d.type==="tool-call"?"text-zora-gold/50":"text-zora-cyan/40"}`,children:[A.jsxDEV("span",{children:d.type==="tool-call"?"→":"←"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:106,columnNumber:15},void 0),A.jsxDEV("span",{children:d.tool},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:107,columnNumber:15},void 0),A.jsxDEV("span",{className:"ml-auto text-[9px] opacity-30",children:d.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:108,columnNumber:15},void 0)]},d.id,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:103,columnNumber:13},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:101,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:84,columnNumber:5},void 0)},yH=({msg:n})=>{const a={agent:"bubble bubble-agent",user:"bubble bubble-user",system:"bubble bubble-system","tool-call":"bubble bubble-tool","tool-result":"bubble bubble-tool"}[n.type]??"bubble bubble-system";return A.jsxDEV(Tn.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.2},className:a,"data-testid":`bubble-${n.type}`,children:[n.type==="agent"?A.jsxDEV("div",{style:{fontFamily:"var(--font-prose)",fontSize:"0.875rem",lineHeight:"1.7"},className:`text-zora-white max-w-none
|
|
266
|
+
[&_p]:mb-3 [&_p:last-child]:mb-0
|
|
267
|
+
[&_ul]:list-disc [&_ul]:pl-5 [&_ul]:mb-3 [&_li]:mb-1
|
|
268
|
+
[&_ol]:list-decimal [&_ol]:pl-5 [&_ol]:mb-3
|
|
269
|
+
[&_pre]:bg-black/50 [&_pre]:rounded-md [&_pre]:p-3 [&_pre]:overflow-x-auto [&_pre]:text-xs [&_pre]:my-2
|
|
270
|
+
[&_code]:bg-black/40 [&_code]:rounded [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-[11px] [&_code]:text-zora-gold [&_code]:font-mono
|
|
271
|
+
[&_h1]:text-[15px] [&_h1]:font-semibold [&_h1]:mb-2 [&_h1]:mt-3 [&_h1]:text-zora-cyan
|
|
272
|
+
[&_h2]:text-[13px] [&_h2]:font-semibold [&_h2]:mb-2 [&_h2]:mt-3 [&_h2]:text-zora-cyan
|
|
273
|
+
[&_h3]:text-[12px] [&_h3]:font-semibold [&_h3]:mb-1 [&_h3]:mt-2 [&_h3]:text-zora-teal
|
|
274
|
+
[&_blockquote]:border-l-2 [&_blockquote]:border-zora-teal/40 [&_blockquote]:pl-3 [&_blockquote]:opacity-70 [&_blockquote]:my-2
|
|
275
|
+
[&_hr]:border-white/10 [&_hr]:my-3
|
|
276
|
+
[&_strong]:text-zora-white [&_strong]:font-semibold
|
|
277
|
+
[&_table]:text-xs [&_table]:my-2 [&_td]:px-2 [&_td]:py-1 [&_th]:px-2 [&_th]:py-1 [&_th]:text-zora-teal [&_th]:font-data [&_th]:uppercase [&_th]:text-[9px]`,children:A.jsxDEV(W9,{children:n.content},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:153,columnNumber:11},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:137,columnNumber:9},void 0):A.jsxDEV("div",{children:n.content},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:156,columnNumber:9},void 0),A.jsxDEV("div",{className:"text-[9px] opacity-30 mt-1.5",children:n.timestamp.toLocaleTimeString()},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:158,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:129,columnNumber:5},void 0)},gH=()=>{const[n,a]=me.useState([]),[i,s]=me.useState([]),[u,f]=me.useState(""),[d,h]=me.useState("job_active"),[b,y]=me.useState([{id:++ea,type:"system",content:"Zora is ready.",timestamp:new Date}]),p=me.useRef(null),[v,x]=me.useState(()=>{try{return!localStorage.getItem(MN)}catch{return!0}}),[S,N]=me.useState("status"),[V,R]=me.useState([]),[_,X]=me.useState(!1),[I,ie]=me.useState(),re=()=>{x(!1);try{localStorage.setItem(MN,"true")}catch{}},G=async F=>{if(!_){y(he=>[...he,{id:++ea,type:"user",content:F,timestamp:new Date}].slice(-mh)),ie(F),X(!0),R([]);try{await vt.post("/api/steer",{jobId:d,message:F,author:"operator",source:"dashboard"})}catch(he){console.error("Task submission failed",he),y(se=>[...se,{id:++ea,type:"system",content:"Failed to send task. Check that Zora is running.",timestamp:new Date}].slice(-mh)),X(!1)}}};me.useEffect(()=>{p.current?.scrollIntoView({behavior:"smooth"})},[b]),me.useEffect(()=>{(async()=>{try{const se=(await vt.get("/api/history",{params:{limit:1}})).data?.events??[];if(se.length===0)return;const W=[];for(const{event:K}of se){const oe=K.timestamp?new Date(K.timestamp):new Date;if(K.type==="text"||K.type==="text_delta"){const Y=K.content?.text??"";if(!Y.trim())continue;const ae=W[W.length-1];ae?.type==="agent"?ae.content+=Y:W.push({id:++ea,type:"agent",content:Y,timestamp:oe})}else if(K.type==="tool_call"){const Y=K.content?.tool??"tool";W.push({id:++ea,type:"tool-call",content:Y,timestamp:oe})}else if(K.type==="job_update"){const Y=K.content?.status??"update";(Y==="started"||Y==="completed"||Y==="failed")&&W.push({id:++ea,type:"system",content:`Task ${Y}`,timestamp:oe})}else if(K.type==="error"){const Y=K.content?.message??"Error";W.push({id:++ea,type:"system",content:Y,timestamp:oe})}}W.length>0&&y([{id:++ea,type:"system",content:"— session history —",timestamp:new Date(0)},...W,{id:++ea,type:"system",content:"Zora is ready.",timestamp:new Date}])}catch{}})()},[]),me.useEffect(()=>{const F=async()=>{try{const se=await vt.get("/api/health");se.data.ok&&a(se.data.providers)}catch(se){console.error("Health check failed",se)}};F();const he=setInterval(F,3e4);return()=>clearInterval(he)},[]),me.useEffect(()=>{const F=async()=>{try{const se=await vt.get("/api/quota");se.data.ok&&s(se.data.providers)}catch(se){console.error("Quota fetch failed",se)}};F();const he=setInterval(F,1e4);return()=>clearInterval(he)},[]),me.useEffect(()=>{const F=async()=>{try{((await vt.get("/api/jobs")).data?.jobs??[]).some(Y=>Y.status==="running")||X(!1)}catch{}},he=Hh?`/api/events?token=${encodeURIComponent(Hh)}`:"/api/events",se=new EventSource(he);return se.onmessage=W=>{try{const K=JSON.parse(W.data);if(K.type==="connected"){F();return}let oe="agent",Y="";if(K.type==="job_update")oe="system",Y=`Task ${K.data?.status==="completed"?"completed":K.data?.status??"update"}`,(K.data?.status==="completed"||K.data?.status==="failed")&&X(!1);else if(K.type==="tool_call"){oe="tool-call",Y=K.data?.tool??JSON.stringify(K);const ae=K.data?.tool??"unknown";let pe="think";ae.toLowerCase().includes("read")||ae.toLowerCase().includes("glob")||ae.toLowerCase().includes("grep")?pe="read":ae.toLowerCase().includes("write")||ae.toLowerCase().includes("edit")?pe="write":(ae.toLowerCase().includes("bash")||ae.toLowerCase().includes("shell"))&&(pe="shell"),R(Ae=>[...Ae,{type:pe,label:Y,timestamp:new Date}])}else if(K.type==="tool_result")oe="tool-result",Y=K.data?.result??JSON.stringify(K);else if(K.type==="text_delta"||K.type==="text.delta"||K.type==="text"){const ae=K.data?.text??K.data?.delta??"";ae&&y(pe=>{const Ae=pe[pe.length-1];if(Ae?.type==="agent"){const z={...Ae,content:Ae.content+ae};return[...pe.slice(0,-1),z]}return[...pe,{id:++ea,type:"agent",content:ae,timestamp:new Date}].slice(-mh)});return}else K.type==="error"?(oe="system",Y=K.data?.message??"An error occurred",R(ae=>[...ae,{type:"error",label:Y,timestamp:new Date}])):(oe="system",Y=JSON.stringify(K));y(ae=>[...ae,{id:++ea,type:oe,content:Y,timestamp:new Date}].slice(-mh))}catch{}},()=>se.close()},[]);const ge=async()=>{if(!u)return;const F=u;f(""),G(F)},le=i.reduce((F,he)=>F+he.usage.totalCostUsd,0),ce=i.reduce((F,he)=>F+he.usage.requestCount,0);return A.jsxDEV("div",{className:"h-screen w-screen flex flex-col bg-zora-obsidian relative overflow-hidden",children:[A.jsxDEV("div",{className:"scanline"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:427,columnNumber:7},void 0),v&&A.jsxDEV(iH,{onComplete:re,onSubmitTask:F=>{re(),G(F)}},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:431,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-4 px-4 pt-4 pb-2",children:[A.jsxDEV("div",{className:"lcars-bar flex-1 bg-zora-gold",children:["ZORA ","/"," DASHBOARD"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:442,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:n.length>0&&A.jsxDEV("div",{className:"flex items-center gap-1.5 text-[9px] font-data text-white/40",children:n.map(F=>A.jsxDEV("div",{className:"flex items-center gap-1",children:[A.jsxDEV("span",{className:`w-2 h-2 rounded-full ${F.valid?"bg-green-500":"bg-red-500"}`},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:450,columnNumber:19},void 0),A.jsxDEV("span",{className:"uppercase",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:451,columnNumber:19},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:449,columnNumber:17},void 0))},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:447,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:445,columnNumber:9},void 0),A.jsxDEV("div",{className:"w-32 bg-zora-teal h-8 rounded-r-full"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:457,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:441,columnNumber:7},void 0),A.jsxDEV("div",{className:"flex-1 flex min-h-0",children:[A.jsxDEV("div",{className:"w-16 flex flex-col items-center py-4 gap-4 bg-zora-rail border-r border-zora-ghost/30",children:[A.jsxDEV("div",{className:"w-8 h-8 rounded-tl-xl border-t-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:465,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:466,columnNumber:11},void 0),A.jsxDEV("button",{onClick:()=>x(!0),className:"w-8 h-8 flex items-center justify-center text-white/30 hover:text-zora-teal transition-colors",title:"Show welcome guide",children:A.jsxDEV(LN,{size:16},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:472,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:467,columnNumber:11},void 0),A.jsxDEV("div",{className:"w-8 h-8 rounded-bl-xl border-b-2 border-l-2 border-zora-teal"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:474,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:464,columnNumber:9},void 0),A.jsxDEV("div",{className:"flex-1 flex flex-col min-w-0",children:[A.jsxDEV("div",{className:"px-4 py-2",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Activity Feed"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:480,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:479,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1 overflow-y-auto px-4 flex flex-col gap-2 lcars-scrollbar",children:[A.jsxDEV(so,{children:(()=>{const F=[];for(const he of b)if(he.type==="tool-call"||he.type==="tool-result"){const se=F[F.length-1],W={id:he.id,tool:he.content,type:he.type,timestamp:he.timestamp};se?.kind==="tools"?se.items.push(W):F.push({kind:"tools",items:[W],key:he.id})}else F.push({kind:"msg",msg:he});return F.map(he=>he.kind==="tools"?A.jsxDEV(pH,{items:he.items},he.key,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:508,columnNumber:23},void 0):A.jsxDEV(yH,{msg:he.msg},he.msg.id,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:509,columnNumber:23},void 0))})()},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:487,columnNumber:13},void 0),A.jsxDEV("div",{ref:p},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:513,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:486,columnNumber:11},void 0),A.jsxDEV(fH,{steps:V,isRunning:_,taskPrompt:I},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:517,columnNumber:11},void 0),A.jsxDEV("div",{className:"px-4 py-3 border-t border-zora-ghost/30",children:A.jsxDEV("div",{className:"flex gap-2",children:[A.jsxDEV("input",{type:"text",value:u,onChange:F=>f(F.target.value),onKeyDown:F=>F.key==="Enter"&&ge(),placeholder:"Ask Zora to do something...",className:"flex-1 bg-zora-rail border border-zora-ghost/50 rounded-lg px-4 py-2 font-data text-zora-gold text-sm focus:ring-2 focus:ring-zora-teal focus:border-transparent focus:outline-none placeholder:text-white/20"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:526,columnNumber:15},void 0),A.jsxDEV("button",{onClick:ge,className:"bg-zora-teal text-zora-obsidian px-5 py-2 rounded-lg font-bold hover:bg-zora-cyan transition-colors flex items-center gap-2 text-sm",children:[A.jsxDEV(eU,{size:14},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:538,columnNumber:17},void 0)," SEND"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:534,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:525,columnNumber:13},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:524,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:478,columnNumber:9},void 0),A.jsxDEV("div",{className:"w-80 flex flex-col border-l border-zora-ghost/30 bg-zora-rail/50",children:[A.jsxDEV("div",{className:"flex border-b border-zora-ghost/30",children:[A.jsxDEV("button",{onClick:()=>N("status"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="status"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(sk,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:557,columnNumber:15},void 0)," Status"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:549,columnNumber:13},void 0),A.jsxDEV("button",{onClick:()=>N("templates"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="templates"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(X_,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:567,columnNumber:15},void 0)," Tasks"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:559,columnNumber:13},void 0),A.jsxDEV("button",{onClick:()=>N("security"),className:`flex-1 px-3 py-2 text-[9px] font-data uppercase tracking-wider flex items-center justify-center gap-1.5 transition-colors ${S==="security"?"text-zora-teal border-b-2 border-zora-teal bg-black/20":"text-white/30 hover:text-white/50"}`,children:[A.jsxDEV(Ah,{size:10},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:577,columnNumber:15},void 0)," Safety"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:569,columnNumber:13},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:548,columnNumber:11},void 0),A.jsxDEV("div",{className:"flex-1 overflow-y-auto lcars-scrollbar",children:[S==="status"&&A.jsxDEV(A.Fragment,{children:[A.jsxDEV("div",{className:"px-4 py-3 border-b border-zora-ghost/30",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"AI Providers"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:589,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:588,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-2 space-y-3",children:[A.jsxDEV(so,{children:n.map(F=>{const he=i.find(se=>se.name===F.name);return A.jsxDEV(Tn.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},className:"p-2 bg-black/40 rounded-lg border-l-2 border-zora-teal",children:[A.jsxDEV("div",{className:"flex justify-between items-center mb-1",children:[A.jsxDEV("span",{className:"text-zora-cyan font-bold uppercase text-xs",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:605,columnNumber:29},void 0),A.jsxDEV("span",{className:`w-2.5 h-2.5 rounded-full ${F.valid?"bg-green-500":"bg-red-500"}`,title:F.valid?"Connected":"Disconnected","data-testid":`provider-dot-${F.name}`},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:606,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:604,columnNumber:27},void 0),he&&A.jsxDEV("div",{className:"space-y-1",children:[A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV(sk,{size:10,className:Tb(he.quota.healthScore)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:615,columnNumber:33},void 0),A.jsxDEV("div",{className:"flex-1 h-1.5 bg-black/60 rounded-full overflow-hidden",children:A.jsxDEV("div",{className:`h-full rounded-full transition-all ${mH(he.quota.healthScore)}`,style:{width:`${he.quota.healthScore*100}%`}},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:617,columnNumber:35},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:616,columnNumber:33},void 0),A.jsxDEV("span",{className:`text-[9px] font-data ${Tb(he.quota.healthScore)}`,children:[Math.round(he.quota.healthScore*100),"%"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:622,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:614,columnNumber:31},void 0),A.jsxDEV("div",{className:"text-[9px] font-data text-white/50 space-y-0.5",children:[he.usage.totalCostUsd>0&&A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"COST"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:629,columnNumber:37},void 0),A.jsxDEV("span",{className:"text-zora-gold",children:["$",he.usage.totalCostUsd.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:630,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:628,columnNumber:35},void 0),A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"REQUESTS"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:634,columnNumber:35},void 0),A.jsxDEV("span",{className:"text-zora-cyan",children:he.usage.requestCount},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:635,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:633,columnNumber:33},void 0),(he.usage.totalInputTokens>0||he.usage.totalOutputTokens>0)&&A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"TOKENS"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:639,columnNumber:37},void 0),A.jsxDEV("span",{className:"text-zora-cyan",children:[_N(he.usage.totalInputTokens)," in / ",_N(he.usage.totalOutputTokens)," out"]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:640,columnNumber:37},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:638,columnNumber:35},void 0),he.quota.isExhausted&&A.jsxDEV("div",{className:"text-red-500 font-bold mt-1",children:"QUOTA EXHAUSTED"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:646,columnNumber:35},void 0),he.quota.cooldownUntil&&A.jsxDEV("div",{className:"text-zora-gold",children:"COOLDOWN ACTIVE"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:649,columnNumber:35},void 0),A.jsxDEV("div",{className:"flex justify-between",children:[A.jsxDEV("span",{children:"TIER"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:652,columnNumber:35},void 0),A.jsxDEV("span",{className:"text-white/40 uppercase",children:he.costTier},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:653,columnNumber:35},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:651,columnNumber:33},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:626,columnNumber:31},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:613,columnNumber:29},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:598,columnNumber:25},void 0)})},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:594,columnNumber:19},void 0),n.length===0&&A.jsxDEV("div",{className:"text-[10px] font-data text-white/30 py-4 text-center",children:["No AI providers detected.",A.jsxDEV("br",{},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:664,columnNumber:48},void 0),"Run ",A.jsxDEV("code",{className:"text-zora-cyan",children:"zora-agent doctor"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:665,columnNumber:27},void 0)," to check."]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:663,columnNumber:21},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:593,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-3 border-t border-b border-zora-ghost/30",children:A.jsxDEV("span",{className:"text-[10px] font-data text-zora-teal uppercase tracking-widest",children:"Session Stats"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:672,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:671,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-3 lcars-panel border-zora-teal",children:A.jsxDEV("div",{className:"text-[10px] font-data text-white/60 space-y-2",children:[A.jsxDEV("div",{className:"flex justify-between items-center",children:[A.jsxDEV("span",{children:"TOTAL COST:"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:679,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-zora-gold font-bold",children:["$",le.toFixed(4)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:680,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:678,columnNumber:21},void 0),A.jsxDEV("div",{className:"flex justify-between items-center",children:[A.jsxDEV("span",{children:"REQUESTS:"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:683,columnNumber:23},void 0),A.jsxDEV("span",{className:"text-zora-cyan font-bold",children:ce},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:684,columnNumber:23},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:682,columnNumber:21},void 0),i.map(F=>A.jsxDEV("div",{className:"flex justify-between items-center text-[9px]",children:[A.jsxDEV("span",{className:"uppercase text-white/40",children:F.name},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:688,columnNumber:25},void 0),A.jsxDEV("div",{className:"flex items-center gap-2",children:[A.jsxDEV("span",{className:Tb(F.quota.healthScore),children:F.quota.isExhausted?"EXHAUSTED":`${Math.round(F.quota.healthScore*100)}%`},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:690,columnNumber:27},void 0),F.usage.totalCostUsd>0&&A.jsxDEV("span",{className:"text-zora-gold",children:["$",F.usage.totalCostUsd.toFixed(3)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:694,columnNumber:29},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:689,columnNumber:25},void 0)]},F.name,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:687,columnNumber:23},void 0))]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:677,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:676,columnNumber:17},void 0),A.jsxDEV("div",{className:"px-4 py-3",children:A.jsxDEV(oH,{},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:704,columnNumber:19},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:703,columnNumber:17},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:586,columnNumber:15},void 0),S==="templates"&&A.jsxDEV(lH,{onSubmitTask:G},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:711,columnNumber:15},void 0),S==="security"&&A.jsxDEV(dH,{},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:716,columnNumber:15},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:582,columnNumber:11},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:545,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:461,columnNumber:7},void 0),A.jsxDEV("div",{className:"px-4 py-2 flex justify-between text-[10px] font-data text-white/40 uppercase tracking-widest border-t border-zora-ghost/30",children:[A.jsxDEV("div",{children:["Zora ",hH]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:724,columnNumber:9},void 0),A.jsxDEV("div",{children:"Dashboard"},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:725,columnNumber:9},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:723,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/App.tsx",lineNumber:426,columnNumber:5},void 0)};S_.createRoot(document.getElementById("root")).render(A.jsxDEV(Ph.StrictMode,{children:A.jsxDEV(gH,{},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/main.tsx",lineNumber:8,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/ryaker/Dev/zora-worktrees/release/src/dashboard/frontend/src/main.tsx",lineNumber:7,columnNumber:3},void 0));
|