const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-ZuErKIvO.js","assets/time-CuFqSW_4.js","assets/quotes.belo-DgMgr906.js"])))=>i.map(i=>d[i]);
var sg=a=>{throw TypeError(a)};var lf=(a,i,s)=>i.has(a)||sg("Cannot "+s);var R=(a,i,s)=>(lf(a,i,"read from private field"),s?s.call(a):i.get(a)),dt=(a,i,s)=>i.has(a)?sg("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(a):i.set(a,s),lt=(a,i,s,o)=>(lf(a,i,"write to private field"),o?o.call(a,s):i.set(a,s),s),xt=(a,i,s)=>(lf(a,i,"access private method"),s);var po=(a,i,s,o)=>({set _(c){lt(a,i,c,s)},get _(){return R(a,i,o)}});function Wb(a,i){for(var s=0;s<i.length;s++){const o=i[s];if(typeof o!="string"&&!Array.isArray(o)){for(const c in o)if(c!=="default"&&!(c in a)){const f=Object.getOwnPropertyDescriptor(o,c);f&&Object.defineProperty(a,c,f.get?f:{enumerable:!0,get:()=>o[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))o(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&o(h)}).observe(document,{childList:!0,subtree:!0});function s(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(c){if(c.ep)return;c.ep=!0;const f=s(c);fetch(c.href,f)}})();var BR=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rp(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var sf={exports:{}},Cs={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var ug;function $b(){if(ug)return Cs;ug=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(o,c,f){var h=null;if(f!==void 0&&(h=""+f),c.key!==void 0&&(h=""+c.key),"key"in c){f={};for(var y in c)y!=="key"&&(f[y]=c[y])}else f=c;return c=f.ref,{$$typeof:a,type:o,key:h,ref:c!==void 0?c:null,props:f}}return Cs.Fragment=i,Cs.jsx=s,Cs.jsxs=s,Cs}var og;function tS(){return og||(og=1,sf.exports=$b()),sf.exports}var tt=tS(),uf={exports:{}},vt={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var rg;function eS(){if(rg)return vt;rg=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),S=Symbol.iterator;function x(T){return T===null||typeof T!="object"?null:(T=S&&T[S]||T["@@iterator"],typeof T=="function"?T:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,A={};function q(T,k,$){this.props=T,this.context=k,this.refs=A,this.updater=$||E}q.prototype.isReactComponent={},q.prototype.setState=function(T,k){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,k,"setState")},q.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function B(){}B.prototype=q.prototype;function Z(T,k,$){this.props=T,this.context=k,this.refs=A,this.updater=$||E}var w=Z.prototype=new B;w.constructor=Z,C(w,q.prototype),w.isPureReactComponent=!0;var X=Array.isArray;function P(){}var N={H:null,A:null,T:null,S:null},z=Object.prototype.hasOwnProperty;function K(T,k,$){var nt=$.ref;return{$$typeof:a,type:T,key:k,ref:nt!==void 0?nt:null,props:$}}function J(T,k){return K(T.type,k,T.props)}function I(T){return typeof T=="object"&&T!==null&&T.$$typeof===a}function et(T){var k={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function($){return k[$]})}var it=/\/+/g;function st(T,k){return typeof T=="object"&&T!==null&&T.key!=null?et(""+T.key):k.toString(36)}function gt(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(P,P):(T.status="pending",T.then(function(k){T.status==="pending"&&(T.status="fulfilled",T.value=k)},function(k){T.status==="pending"&&(T.status="rejected",T.reason=k)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function D(T,k,$,nt,at){var ht=typeof T;(ht==="undefined"||ht==="boolean")&&(T=null);var Rt=!1;if(T===null)Rt=!0;else switch(ht){case"bigint":case"string":case"number":Rt=!0;break;case"object":switch(T.$$typeof){case a:case i:Rt=!0;break;case b:return Rt=T._init,D(Rt(T._payload),k,$,nt,at)}}if(Rt)return at=at(T),Rt=nt===""?"."+st(T,0):nt,X(at)?($="",Rt!=null&&($=Rt.replace(it,"$&/")+"/"),D(at,k,$,"",function(Ke){return Ke})):at!=null&&(I(at)&&(at=J(at,$+(at.key==null||T&&T.key===at.key?"":(""+at.key).replace(it,"$&/")+"/")+Rt)),k.push(at)),1;Rt=0;var Bt=nt===""?".":nt+":";if(X(T))for(var pt=0;pt<T.length;pt++)nt=T[pt],ht=Bt+st(nt,pt),Rt+=D(nt,k,$,ht,at);else if(pt=x(T),typeof pt=="function")for(T=pt.call(T),pt=0;!(nt=T.next()).done;)nt=nt.value,ht=Bt+st(nt,pt++),Rt+=D(nt,k,$,ht,at);else if(ht==="object"){if(typeof T.then=="function")return D(gt(T),k,$,nt,at);throw k=String(T),Error("Objects are not valid as a React child (found: "+(k==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":k)+"). If you meant to render a collection of children, use an array instead.")}return Rt}function G(T,k,$){if(T==null)return T;var nt=[],at=0;return D(T,nt,"","",function(ht){return k.call($,ht,at++)}),nt}function ct(T){if(T._status===-1){var k=T._result;k=k(),k.then(function($){(T._status===0||T._status===-1)&&(T._status=1,T._result=$)},function($){(T._status===0||T._status===-1)&&(T._status=2,T._result=$)}),T._status===-1&&(T._status=0,T._result=k)}if(T._status===1)return T._result.default;throw T._result}var At=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var k=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(k))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},W={map:G,forEach:function(T,k,$){G(T,function(){k.apply(this,arguments)},$)},count:function(T){var k=0;return G(T,function(){k++}),k},toArray:function(T){return G(T,function(k){return k})||[]},only:function(T){if(!I(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return vt.Activity=p,vt.Children=W,vt.Component=q,vt.Fragment=s,vt.Profiler=c,vt.PureComponent=Z,vt.StrictMode=o,vt.Suspense=g,vt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=N,vt.__COMPILER_RUNTIME={__proto__:null,c:function(T){return N.H.useMemoCache(T)}},vt.cache=function(T){return function(){return T.apply(null,arguments)}},vt.cacheSignal=function(){return null},vt.cloneElement=function(T,k,$){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var nt=C({},T.props),at=T.key;if(k!=null)for(ht in k.key!==void 0&&(at=""+k.key),k)!z.call(k,ht)||ht==="key"||ht==="__self"||ht==="__source"||ht==="ref"&&k.ref===void 0||(nt[ht]=k[ht]);var ht=arguments.length-2;if(ht===1)nt.children=$;else if(1<ht){for(var Rt=Array(ht),Bt=0;Bt<ht;Bt++)Rt[Bt]=arguments[Bt+2];nt.children=Rt}return K(T.type,at,nt)},vt.createContext=function(T){return T={$$typeof:h,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:f,_context:T},T},vt.createElement=function(T,k,$){var nt,at={},ht=null;if(k!=null)for(nt in k.key!==void 0&&(ht=""+k.key),k)z.call(k,nt)&&nt!=="key"&&nt!=="__self"&&nt!=="__source"&&(at[nt]=k[nt]);var Rt=arguments.length-2;if(Rt===1)at.children=$;else if(1<Rt){for(var Bt=Array(Rt),pt=0;pt<Rt;pt++)Bt[pt]=arguments[pt+2];at.children=Bt}if(T&&T.defaultProps)for(nt in Rt=T.defaultProps,Rt)at[nt]===void 0&&(at[nt]=Rt[nt]);return K(T,ht,at)},vt.createRef=function(){return{current:null}},vt.forwardRef=function(T){return{$$typeof:y,render:T}},vt.isValidElement=I,vt.lazy=function(T){return{$$typeof:b,_payload:{_status:-1,_result:T},_init:ct}},vt.memo=function(T,k){return{$$typeof:m,type:T,compare:k===void 0?null:k}},vt.startTransition=function(T){var k=N.T,$={};N.T=$;try{var nt=T(),at=N.S;at!==null&&at($,nt),typeof nt=="object"&&nt!==null&&typeof nt.then=="function"&&nt.then(P,At)}catch(ht){At(ht)}finally{k!==null&&$.types!==null&&(k.types=$.types),N.T=k}},vt.unstable_useCacheRefresh=function(){return N.H.useCacheRefresh()},vt.use=function(T){return N.H.use(T)},vt.useActionState=function(T,k,$){return N.H.useActionState(T,k,$)},vt.useCallback=function(T,k){return N.H.useCallback(T,k)},vt.useContext=function(T){return N.H.useContext(T)},vt.useDebugValue=function(){},vt.useDeferredValue=function(T,k){return N.H.useDeferredValue(T,k)},vt.useEffect=function(T,k){return N.H.useEffect(T,k)},vt.useEffectEvent=function(T){return N.H.useEffectEvent(T)},vt.useId=function(){return N.H.useId()},vt.useImperativeHandle=function(T,k,$){return N.H.useImperativeHandle(T,k,$)},vt.useInsertionEffect=function(T,k){return N.H.useInsertionEffect(T,k)},vt.useLayoutEffect=function(T,k){return N.H.useLayoutEffect(T,k)},vt.useMemo=function(T,k){return N.H.useMemo(T,k)},vt.useOptimistic=function(T,k){return N.H.useOptimistic(T,k)},vt.useReducer=function(T,k,$){return N.H.useReducer(T,k,$)},vt.useRef=function(T){return N.H.useRef(T)},vt.useState=function(T){return N.H.useState(T)},vt.useSyncExternalStore=function(T,k,$){return N.H.useSyncExternalStore(T,k,$)},vt.useTransition=function(){return N.H.useTransition()},vt.version="19.2.6",vt}var cg;function Ks(){return cg||(cg=1,uf.exports=eS()),uf.exports}var F=Ks();const zi=Rp(F),HR=Wb({__proto__:null,default:zi},[F]);var of={exports:{}},As={},rf={exports:{}},cf={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var fg;function nS(){return fg||(fg=1,(function(a){function i(D,G){var ct=D.length;D.push(G);t:for(;0<ct;){var At=ct-1>>>1,W=D[At];if(0<c(W,G))D[At]=G,D[ct]=W,ct=At;else break t}}function s(D){return D.length===0?null:D[0]}function o(D){if(D.length===0)return null;var G=D[0],ct=D.pop();if(ct!==G){D[0]=ct;t:for(var At=0,W=D.length,T=W>>>1;At<T;){var k=2*(At+1)-1,$=D[k],nt=k+1,at=D[nt];if(0>c($,ct))nt<W&&0>c(at,$)?(D[At]=at,D[nt]=ct,At=nt):(D[At]=$,D[k]=ct,At=k);else if(nt<W&&0>c(at,ct))D[At]=at,D[nt]=ct,At=nt;else break t}}return G}function c(D,G){var ct=D.sortIndex-G.sortIndex;return ct!==0?ct:D.id-G.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;a.unstable_now=function(){return f.now()}}else{var h=Date,y=h.now();a.unstable_now=function(){return h.now()-y}}var g=[],m=[],b=1,p=null,S=3,x=!1,E=!1,C=!1,A=!1,q=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function w(D){for(var G=s(m);G!==null;){if(G.callback===null)o(m);else if(G.startTime<=D)o(m),G.sortIndex=G.expirationTime,i(g,G);else break;G=s(m)}}function X(D){if(C=!1,w(D),!E)if(s(g)!==null)E=!0,P||(P=!0,et());else{var G=s(m);G!==null&&gt(X,G.startTime-D)}}var P=!1,N=-1,z=5,K=-1;function J(){return A?!0:!(a.unstable_now()-K<z)}function I(){if(A=!1,P){var D=a.unstable_now();K=D;var G=!0;try{t:{E=!1,C&&(C=!1,B(N),N=-1),x=!0;var ct=S;try{e:{for(w(D),p=s(g);p!==null&&!(p.expirationTime>D&&J());){var At=p.callback;if(typeof At=="function"){p.callback=null,S=p.priorityLevel;var W=At(p.expirationTime<=D);if(D=a.unstable_now(),typeof W=="function"){p.callback=W,w(D),G=!0;break e}p===s(g)&&o(g),w(D)}else o(g);p=s(g)}if(p!==null)G=!0;else{var T=s(m);T!==null&&gt(X,T.startTime-D),G=!1}}break t}finally{p=null,S=ct,x=!1}G=void 0}}finally{G?et():P=!1}}}var et;if(typeof Z=="function")et=function(){Z(I)};else if(typeof MessageChannel<"u"){var it=new MessageChannel,st=it.port2;it.port1.onmessage=I,et=function(){st.postMessage(null)}}else et=function(){q(I,0)};function gt(D,G){N=q(function(){D(a.unstable_now())},G)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(D){D.callback=null},a.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<D?Math.floor(1e3/D):5},a.unstable_getCurrentPriorityLevel=function(){return S},a.unstable_next=function(D){switch(S){case 1:case 2:case 3:var G=3;break;default:G=S}var ct=S;S=G;try{return D()}finally{S=ct}},a.unstable_requestPaint=function(){A=!0},a.unstable_runWithPriority=function(D,G){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var ct=S;S=D;try{return G()}finally{S=ct}},a.unstable_scheduleCallback=function(D,G,ct){var At=a.unstable_now();switch(typeof ct=="object"&&ct!==null?(ct=ct.delay,ct=typeof ct=="number"&&0<ct?At+ct:At):ct=At,D){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=ct+W,D={id:b++,callback:G,priorityLevel:D,startTime:ct,expirationTime:W,sortIndex:-1},ct>At?(D.sortIndex=ct,i(m,D),s(g)===null&&D===s(m)&&(C?(B(N),N=-1):C=!0,gt(X,ct-At))):(D.sortIndex=W,i(g,D),E||x||(E=!0,P||(P=!0,et()))),D},a.unstable_shouldYield=J,a.unstable_wrapCallback=function(D){var G=S;return function(){var ct=S;S=G;try{return D.apply(this,arguments)}finally{S=ct}}}})(cf)),cf}var dg;function aS(){return dg||(dg=1,rf.exports=nS()),rf.exports}var ff={exports:{}},ye={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var hg;function lS(){if(hg)return ye;hg=1;var a=Ks();function i(g){var m="https://react.dev/errors/"+g;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)m+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+g+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var o={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(g,m,b){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:p==null?null:""+p,children:g,containerInfo:m,implementation:b}}var h=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(g,m){if(g==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return ye.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ye.createPortal=function(g,m){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return f(g,m,null,b)},ye.flushSync=function(g){var m=h.T,b=o.p;try{if(h.T=null,o.p=2,g)return g()}finally{h.T=m,o.p=b,o.d.f()}},ye.preconnect=function(g,m){typeof g=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,o.d.C(g,m))},ye.prefetchDNS=function(g){typeof g=="string"&&o.d.D(g)},ye.preinit=function(g,m){if(typeof g=="string"&&m&&typeof m.as=="string"){var b=m.as,p=y(b,m.crossOrigin),S=typeof m.integrity=="string"?m.integrity:void 0,x=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;b==="style"?o.d.S(g,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:p,integrity:S,fetchPriority:x}):b==="script"&&o.d.X(g,{crossOrigin:p,integrity:S,fetchPriority:x,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},ye.preinitModule=function(g,m){if(typeof g=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var b=y(m.as,m.crossOrigin);o.d.M(g,{crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&o.d.M(g)},ye.preload=function(g,m){if(typeof g=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var b=m.as,p=y(b,m.crossOrigin);o.d.L(g,b,{crossOrigin:p,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},ye.preloadModule=function(g,m){if(typeof g=="string")if(m){var b=y(m.as,m.crossOrigin);o.d.m(g,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else o.d.m(g)},ye.requestFormReset=function(g){o.d.r(g)},ye.unstable_batchedUpdates=function(g,m){return g(m)},ye.useFormState=function(g,m,b){return h.H.useFormState(g,m,b)},ye.useFormStatus=function(){return h.H.useHostTransitionStatus()},ye.version="19.2.6",ye}var mg;function Ep(){if(mg)return ff.exports;mg=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),ff.exports=lS(),ff.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var yg;function iS(){if(yg)return As;yg=1;var a=aS(),i=Ks(),s=Ep();function o(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function h(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function y(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(f(t)!==t)throw Error(o(188))}function m(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(o(188));return e!==t?null:t}for(var n=t,l=e;;){var u=n.return;if(u===null)break;var r=u.alternate;if(r===null){if(l=u.return,l!==null){n=l;continue}break}if(u.child===r.child){for(r=u.child;r;){if(r===n)return g(u),t;if(r===l)return g(u),e;r=r.sibling}throw Error(o(188))}if(n.return!==l.return)n=u,l=r;else{for(var d=!1,v=u.child;v;){if(v===n){d=!0,n=u,l=r;break}if(v===l){d=!0,l=u,n=r;break}v=v.sibling}if(!d){for(v=r.child;v;){if(v===n){d=!0,n=r,l=u;break}if(v===l){d=!0,l=r,n=u;break}v=v.sibling}if(!d)throw Error(o(189))}}if(n.alternate!==l)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?t:e}function b(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=b(t),e!==null)return e;t=t.sibling}return null}var p=Object.assign,S=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),B=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),J=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function et(t){return t===null||typeof t!="object"?null:(t=I&&t[I]||t["@@iterator"],typeof t=="function"?t:null)}var it=Symbol.for("react.client.reference");function st(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===it?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case C:return"Fragment";case q:return"Profiler";case A:return"StrictMode";case X:return"Suspense";case P:return"SuspenseList";case K:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case E:return"Portal";case Z:return t.displayName||"Context";case B:return(t._context.displayName||"Context")+".Consumer";case w:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case N:return e=t.displayName||null,e!==null?e:st(t.type)||"Memo";case z:e=t._payload,t=t._init;try{return st(t(e))}catch{}}return null}var gt=Array.isArray,D=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ct={pending:!1,data:null,method:null,action:null},At=[],W=-1;function T(t){return{current:t}}function k(t){0>W||(t.current=At[W],At[W]=null,W--)}function $(t,e){W++,At[W]=t.current,t.current=e}var nt=T(null),at=T(null),ht=T(null),Rt=T(null);function Bt(t,e){switch($(ht,e),$(at,t),$(nt,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?zy(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=zy(e),t=Oy(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}k(nt),$(nt,t)}function pt(){k(nt),k(at),k(ht)}function Ke(t){t.memoizedState!==null&&$(Rt,t);var e=nt.current,n=Oy(e,t.type);e!==n&&($(at,t),$(nt,n))}function _e(t){at.current===t&&(k(nt),k(at)),Rt.current===t&&(k(Rt),Rs._currentValue=ct)}var Le,xn;function ve(t){if(Le===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Le=e&&e[1]||"",xn=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Le+t+xn}var Li=!1;function Tl(t,e){if(!t||Li)return"";Li=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(H){var j=H}Reflect.construct(t,[],V)}else{try{V.call()}catch(H){j=H}t.call(V.prototype)}}else{try{throw Error()}catch(H){j=H}(V=t())&&typeof V.catch=="function"&&V.catch(function(){})}}catch(H){if(H&&j&&typeof H.stack=="string")return[H.stack,j.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=l.DetermineComponentFrameRoot(),d=r[0],v=r[1];if(d&&v){var _=d.split(`
`),U=v.split(`
`);for(u=l=0;l<_.length&&!_[l].includes("DetermineComponentFrameRoot");)l++;for(;u<U.length&&!U[u].includes("DetermineComponentFrameRoot");)u++;if(l===_.length||u===U.length)for(l=_.length-1,u=U.length-1;1<=l&&0<=u&&_[l]!==U[u];)u--;for(;1<=l&&0<=u;l--,u--)if(_[l]!==U[u]){if(l!==1||u!==1)do if(l--,u--,0>u||_[l]!==U[u]){var Q=`
`+_[l].replace(" at new "," at ");return t.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",t.displayName)),Q}while(1<=l&&0<=u);break}}}finally{Li=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?ve(n):""}function Ws(t,e){switch(t.tag){case 26:case 27:case 5:return ve(t.type);case 16:return ve("Lazy");case 13:return t.child!==e&&e!==null?ve("Suspense Fallback"):ve("Suspense");case 19:return ve("SuspenseList");case 0:case 15:return Tl(t.type,!1);case 11:return Tl(t.type.render,!1);case 1:return Tl(t.type,!0);case 31:return ve("Activity");default:return""}}function _n(t){try{var e="",n=null;do e+=Ws(t,n),n=t,t=t.return;while(t);return e}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var qa=Object.prototype.hasOwnProperty,sn=a.unstable_scheduleCallback,Ui=a.unstable_cancelCallback,$s=a.unstable_shouldYield,Xo=a.unstable_requestPaint,me=a.unstable_now,Ht=a.unstable_getCurrentPriorityLevel,oe=a.unstable_ImmediatePriority,fn=a.unstable_UserBlockingPriority,Ml=a.unstable_NormalPriority,Lv=a.unstable_LowPriority,rd=a.unstable_IdlePriority,Uv=a.log,Nv=a.unstable_setDisableYieldValue,Ni=null,Ue=null;function Fn(t){if(typeof Uv=="function"&&Nv(t),Ue&&typeof Ue.setStrictMode=="function")try{Ue.setStrictMode(Ni,t)}catch{}}var Ne=Math.clz32?Math.clz32:Hv,jv=Math.log,Bv=Math.LN2;function Hv(t){return t>>>=0,t===0?32:31-(jv(t)/Bv|0)|0}var tu=256,eu=262144,nu=4194304;function Qa(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function au(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var u=0,r=t.suspendedLanes,d=t.pingedLanes;t=t.warmLanes;var v=l&134217727;return v!==0?(l=v&~r,l!==0?u=Qa(l):(d&=v,d!==0?u=Qa(d):n||(n=v&~t,n!==0&&(u=Qa(n))))):(v=l&~r,v!==0?u=Qa(v):d!==0?u=Qa(d):n||(n=l&~t,n!==0&&(u=Qa(n)))),u===0?0:e!==0&&e!==u&&(e&r)===0&&(r=u&-u,n=e&-e,r>=n||r===32&&(n&4194048)!==0)?e:u}function ji(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function qv(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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-1}}function cd(){var t=nu;return nu<<=1,(nu&62914560)===0&&(nu=4194304),t}function Ko(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Bi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Qv(t,e,n,l,u,r){var d=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var v=t.entanglements,_=t.expirationTimes,U=t.hiddenUpdates;for(n=d&~n;0<n;){var Q=31-Ne(n),V=1<<Q;v[Q]=0,_[Q]=-1;var j=U[Q];if(j!==null)for(U[Q]=null,Q=0;Q<j.length;Q++){var H=j[Q];H!==null&&(H.lane&=-536870913)}n&=~V}l!==0&&fd(t,l,0),r!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=r&~(d&~e))}function fd(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-Ne(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function dd(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-Ne(n),u=1<<l;u&e|t[l]&e&&(t[l]|=e),n&=~u}}function hd(t,e){var n=e&-e;return n=(n&42)!==0?1:Zo(n),(n&(t.suspendedLanes|e))!==0?0:n}function Zo(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Jo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function md(){var t=G.p;return t!==0?t:(t=window.event,t===void 0?32:$y(t.type))}function yd(t,e){var n=G.p;try{return G.p=t,e()}finally{G.p=n}}var In=Math.random().toString(36).slice(2),re="__reactFiber$"+In,Re="__reactProps$"+In,Cl="__reactContainer$"+In,Po="__reactEvents$"+In,Gv="__reactListeners$"+In,Yv="__reactHandles$"+In,gd="__reactResources$"+In,Hi="__reactMarker$"+In;function Fo(t){delete t[re],delete t[Re],delete t[Po],delete t[Gv],delete t[Yv]}function Al(t){var e=t[re];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Cl]||n[re]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=By(t);t!==null;){if(n=t[re])return n;t=By(t)}return e}t=n,n=t.parentNode}return null}function zl(t){if(t=t[re]||t[Cl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function qi(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(o(33))}function Ol(t){var e=t[gd];return e||(e=t[gd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ie(t){t[Hi]=!0}var pd=new Set,vd={};function Ga(t,e){wl(t,e),wl(t+"Capture",e)}function wl(t,e){for(vd[t]=e,t=0;t<e.length;t++)pd.add(e[t])}var kv=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]*$"),bd={},Sd={};function Vv(t){return qa.call(Sd,t)?!0:qa.call(bd,t)?!1:kv.test(t)?Sd[t]=!0:(bd[t]=!0,!1)}function lu(t,e,n){if(Vv(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function iu(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function Rn(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function Ze(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function xd(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Xv(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var u=l.get,r=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(d){n=""+d,r.call(this,d)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(d){n=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Io(t){if(!t._valueTracker){var e=xd(t)?"checked":"value";t._valueTracker=Xv(t,e,""+t[e])}}function _d(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=xd(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function su(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Kv=/[\n"\\]/g;function Je(t){return t.replace(Kv,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Wo(t,e,n,l,u,r,d,v){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.type=d:t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ze(e)):t.value!==""+Ze(e)&&(t.value=""+Ze(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?$o(t,d,Ze(e)):n!=null?$o(t,d,Ze(n)):l!=null&&t.removeAttribute("value"),u==null&&r!=null&&(t.defaultChecked=!!r),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+Ze(v):t.removeAttribute("name")}function Rd(t,e,n,l,u,r,d,v){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.type=r),e!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||e!=null)){Io(t);return}n=n!=null?""+Ze(n):"",e=e!=null?""+Ze(e):n,v||e===t.value||(t.value=e),t.defaultValue=e}l=l??u,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=v?t.checked:!!l,t.defaultChecked=!!l,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.name=d),Io(t)}function $o(t,e,n){e==="number"&&su(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Dl(t,e,n,l){if(t=t.options,e){e={};for(var u=0;u<n.length;u++)e["$"+n[u]]=!0;for(n=0;n<t.length;n++)u=e.hasOwnProperty("$"+t[n].value),t[n].selected!==u&&(t[n].selected=u),u&&l&&(t[n].defaultSelected=!0)}else{for(n=""+Ze(n),e=null,u=0;u<t.length;u++){if(t[u].value===n){t[u].selected=!0,l&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function Ed(t,e,n){if(e!=null&&(e=""+Ze(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Ze(n):""}function Td(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(o(92));if(gt(l)){if(1<l.length)throw Error(o(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=Ze(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),Io(t)}function Ll(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Zv=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(" "));function Md(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||Zv.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Cd(t,e,n){if(e!=null&&typeof e!="object")throw Error(o(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var u in e)l=e[u],e.hasOwnProperty(u)&&n[u]!==l&&Md(t,u,l)}else for(var r in e)e.hasOwnProperty(r)&&Md(t,r,e[r])}function tr(t){if(t.indexOf("-")===-1)return!1;switch(t){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}}var Jv=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"]]),Pv=/^[\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;function uu(t){return Pv.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function En(){}var er=null;function nr(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ul=null,Nl=null;function Ad(t){var e=zl(t);if(e&&(t=e.stateNode)){var n=t[Re]||null;t:switch(t=e.stateNode,e.type){case"input":if(Wo(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Je(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var u=l[Re]||null;if(!u)throw Error(o(90));Wo(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&_d(l)}break t;case"textarea":Ed(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Dl(t,!!n.multiple,e,!1)}}}var ar=!1;function zd(t,e,n){if(ar)return t(e,n);ar=!0;try{var l=t(e);return l}finally{if(ar=!1,(Ul!==null||Nl!==null)&&(Ju(),Ul&&(e=Ul,t=Nl,Nl=Ul=null,Ad(e),t)))for(e=0;e<t.length;e++)Ad(t[e])}}function Qi(t,e){var n=t.stateNode;if(n===null)return null;var l=n[Re]||null;if(l===null)return null;n=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(o(231,e,typeof n));return n}var Tn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lr=!1;if(Tn)try{var Gi={};Object.defineProperty(Gi,"passive",{get:function(){lr=!0}}),window.addEventListener("test",Gi,Gi),window.removeEventListener("test",Gi,Gi)}catch{lr=!1}var Wn=null,ir=null,ou=null;function Od(){if(ou)return ou;var t,e=ir,n=e.length,l,u="value"in Wn?Wn.value:Wn.textContent,r=u.length;for(t=0;t<n&&e[t]===u[t];t++);var d=n-t;for(l=1;l<=d&&e[n-l]===u[r-l];l++);return ou=u.slice(t,1<l?1-l:void 0)}function ru(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function cu(){return!0}function wd(){return!1}function Ee(t){function e(n,l,u,r,d){this._reactName=n,this._targetInst=u,this.type=l,this.nativeEvent=r,this.target=d,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(n=t[v],this[v]=n?n(r):r[v]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?cu:wd,this.isPropagationStopped=wd,this}return p(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=cu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=cu)},persist:function(){},isPersistent:cu}),e}var Ya={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fu=Ee(Ya),Yi=p({},Ya,{view:0,detail:0}),Fv=Ee(Yi),sr,ur,ki,du=p({},Yi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rr,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ki&&(ki&&t.type==="mousemove"?(sr=t.screenX-ki.screenX,ur=t.screenY-ki.screenY):ur=sr=0,ki=t),sr)},movementY:function(t){return"movementY"in t?t.movementY:ur}}),Dd=Ee(du),Iv=p({},du,{dataTransfer:0}),Wv=Ee(Iv),$v=p({},Yi,{relatedTarget:0}),or=Ee($v),t0=p({},Ya,{animationName:0,elapsedTime:0,pseudoElement:0}),e0=Ee(t0),n0=p({},Ya,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),a0=Ee(n0),l0=p({},Ya,{data:0}),Ld=Ee(l0),i0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},s0={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"},u0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function o0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=u0[t])?!!e[t]:!1}function rr(){return o0}var r0=p({},Yi,{key:function(t){if(t.key){var e=i0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=ru(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?s0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rr,charCode:function(t){return t.type==="keypress"?ru(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ru(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),c0=Ee(r0),f0=p({},du,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ud=Ee(f0),d0=p({},Yi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rr}),h0=Ee(d0),m0=p({},Ya,{propertyName:0,elapsedTime:0,pseudoElement:0}),y0=Ee(m0),g0=p({},du,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),p0=Ee(g0),v0=p({},Ya,{newState:0,oldState:0}),b0=Ee(v0),S0=[9,13,27,32],cr=Tn&&"CompositionEvent"in window,Vi=null;Tn&&"documentMode"in document&&(Vi=document.documentMode);var x0=Tn&&"TextEvent"in window&&!Vi,Nd=Tn&&(!cr||Vi&&8<Vi&&11>=Vi),jd=" ",Bd=!1;function Hd(t,e){switch(t){case"keyup":return S0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qd(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var jl=!1;function _0(t,e){switch(t){case"compositionend":return qd(e);case"keypress":return e.which!==32?null:(Bd=!0,jd);case"textInput":return t=e.data,t===jd&&Bd?null:t;default:return null}}function R0(t,e){if(jl)return t==="compositionend"||!cr&&Hd(t,e)?(t=Od(),ou=ir=Wn=null,jl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Nd&&e.locale!=="ko"?null:e.data;default:return null}}var E0={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};function Qd(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!E0[t.type]:e==="textarea"}function Gd(t,e,n,l){Ul?Nl?Nl.push(l):Nl=[l]:Ul=l,e=eo(e,"onChange"),0<e.length&&(n=new fu("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var Xi=null,Ki=null;function T0(t){Ry(t,0)}function hu(t){var e=qi(t);if(_d(e))return t}function Yd(t,e){if(t==="change")return e}var kd=!1;if(Tn){var fr;if(Tn){var dr="oninput"in document;if(!dr){var Vd=document.createElement("div");Vd.setAttribute("oninput","return;"),dr=typeof Vd.oninput=="function"}fr=dr}else fr=!1;kd=fr&&(!document.documentMode||9<document.documentMode)}function Xd(){Xi&&(Xi.detachEvent("onpropertychange",Kd),Ki=Xi=null)}function Kd(t){if(t.propertyName==="value"&&hu(Ki)){var e=[];Gd(e,Ki,t,nr(t)),zd(T0,e)}}function M0(t,e,n){t==="focusin"?(Xd(),Xi=e,Ki=n,Xi.attachEvent("onpropertychange",Kd)):t==="focusout"&&Xd()}function C0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return hu(Ki)}function A0(t,e){if(t==="click")return hu(e)}function z0(t,e){if(t==="input"||t==="change")return hu(e)}function O0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var je=typeof Object.is=="function"?Object.is:O0;function Zi(t,e){if(je(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var u=n[l];if(!qa.call(e,u)||!je(t[u],e[u]))return!1}return!0}function Zd(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Jd(t,e){var n=Zd(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Zd(n)}}function Pd(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Pd(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Fd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=su(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=su(t.document)}return e}function hr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var w0=Tn&&"documentMode"in document&&11>=document.documentMode,Bl=null,mr=null,Ji=null,yr=!1;function Id(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yr||Bl==null||Bl!==su(l)||(l=Bl,"selectionStart"in l&&hr(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Ji&&Zi(Ji,l)||(Ji=l,l=eo(mr,"onSelect"),0<l.length&&(e=new fu("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=Bl)))}function ka(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Hl={animationend:ka("Animation","AnimationEnd"),animationiteration:ka("Animation","AnimationIteration"),animationstart:ka("Animation","AnimationStart"),transitionrun:ka("Transition","TransitionRun"),transitionstart:ka("Transition","TransitionStart"),transitioncancel:ka("Transition","TransitionCancel"),transitionend:ka("Transition","TransitionEnd")},gr={},Wd={};Tn&&(Wd=document.createElement("div").style,"AnimationEvent"in window||(delete Hl.animationend.animation,delete Hl.animationiteration.animation,delete Hl.animationstart.animation),"TransitionEvent"in window||delete Hl.transitionend.transition);function Va(t){if(gr[t])return gr[t];if(!Hl[t])return t;var e=Hl[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Wd)return gr[t]=e[n];return t}var $d=Va("animationend"),th=Va("animationiteration"),eh=Va("animationstart"),D0=Va("transitionrun"),L0=Va("transitionstart"),U0=Va("transitioncancel"),nh=Va("transitionend"),ah=new Map,pr="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(" ");pr.push("scrollEnd");function un(t,e){ah.set(t,e),Ga(e,[t])}var mu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=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(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Pe=[],ql=0,vr=0;function yu(){for(var t=ql,e=vr=ql=0;e<t;){var n=Pe[e];Pe[e++]=null;var l=Pe[e];Pe[e++]=null;var u=Pe[e];Pe[e++]=null;var r=Pe[e];if(Pe[e++]=null,l!==null&&u!==null){var d=l.pending;d===null?u.next=u:(u.next=d.next,d.next=u),l.pending=u}r!==0&&lh(n,u,r)}}function gu(t,e,n,l){Pe[ql++]=t,Pe[ql++]=e,Pe[ql++]=n,Pe[ql++]=l,vr|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function br(t,e,n,l){return gu(t,e,n,l),pu(t)}function Xa(t,e){return gu(t,null,null,e),pu(t)}function lh(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var u=!1,r=t.return;r!==null;)r.childLanes|=n,l=r.alternate,l!==null&&(l.childLanes|=n),r.tag===22&&(t=r.stateNode,t===null||t._visibility&1||(u=!0)),t=r,r=r.return;return t.tag===3?(r=t.stateNode,u&&e!==null&&(u=31-Ne(n),t=r.hiddenUpdates,l=t[u],l===null?t[u]=[e]:l.push(e),e.lane=n|536870912),r):null}function pu(t){if(50<gs)throw gs=0,Ac=null,Error(o(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ql={};function N0(t,e,n,l){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Be(t,e,n,l){return new N0(t,e,n,l)}function Sr(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Mn(t,e){var n=t.alternate;return n===null?(n=Be(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function ih(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function vu(t,e,n,l,u,r){var d=0;if(l=t,typeof t=="function")Sr(t)&&(d=1);else if(typeof t=="string")d=Qb(t,n,nt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case K:return t=Be(31,n,e,u),t.elementType=K,t.lanes=r,t;case C:return Ka(n.children,u,r,e);case A:d=8,u|=24;break;case q:return t=Be(12,n,e,u|2),t.elementType=q,t.lanes=r,t;case X:return t=Be(13,n,e,u),t.elementType=X,t.lanes=r,t;case P:return t=Be(19,n,e,u),t.elementType=P,t.lanes=r,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Z:d=10;break t;case B:d=9;break t;case w:d=11;break t;case N:d=14;break t;case z:d=16,l=null;break t}d=29,n=Error(o(130,t===null?"null":typeof t,"")),l=null}return e=Be(d,n,e,u),e.elementType=t,e.type=l,e.lanes=r,e}function Ka(t,e,n,l){return t=Be(7,t,l,e),t.lanes=n,t}function xr(t,e,n){return t=Be(6,t,null,e),t.lanes=n,t}function sh(t){var e=Be(18,null,null,0);return e.stateNode=t,e}function _r(t,e,n){return e=Be(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var uh=new WeakMap;function Fe(t,e){if(typeof t=="object"&&t!==null){var n=uh.get(t);return n!==void 0?n:(e={value:t,source:e,stack:_n(e)},uh.set(t,e),e)}return{value:t,source:e,stack:_n(e)}}var Gl=[],Yl=0,bu=null,Pi=0,Ie=[],We=0,$n=null,dn=1,hn="";function Cn(t,e){Gl[Yl++]=Pi,Gl[Yl++]=bu,bu=t,Pi=e}function oh(t,e,n){Ie[We++]=dn,Ie[We++]=hn,Ie[We++]=$n,$n=t;var l=dn;t=hn;var u=32-Ne(l)-1;l&=~(1<<u),n+=1;var r=32-Ne(e)+u;if(30<r){var d=u-u%5;r=(l&(1<<d)-1).toString(32),l>>=d,u-=d,dn=1<<32-Ne(e)+u|n<<u|l,hn=r+t}else dn=1<<r|n<<u|l,hn=t}function Rr(t){t.return!==null&&(Cn(t,1),oh(t,1,0))}function Er(t){for(;t===bu;)bu=Gl[--Yl],Gl[Yl]=null,Pi=Gl[--Yl],Gl[Yl]=null;for(;t===$n;)$n=Ie[--We],Ie[We]=null,hn=Ie[--We],Ie[We]=null,dn=Ie[--We],Ie[We]=null}function rh(t,e){Ie[We++]=dn,Ie[We++]=hn,Ie[We++]=$n,dn=e.id,hn=e.overflow,$n=t}var ce=null,kt=null,zt=!1,ta=null,$e=!1,Tr=Error(o(519));function ea(t){var e=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Fi(Fe(e,t)),Tr}function ch(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[re]=t,e[Re]=l,n){case"dialog":Tt("cancel",e),Tt("close",e);break;case"iframe":case"object":case"embed":Tt("load",e);break;case"video":case"audio":for(n=0;n<vs.length;n++)Tt(vs[n],e);break;case"source":Tt("error",e);break;case"img":case"image":case"link":Tt("error",e),Tt("load",e);break;case"details":Tt("toggle",e);break;case"input":Tt("invalid",e),Rd(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Tt("invalid",e);break;case"textarea":Tt("invalid",e),Td(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||Cy(e.textContent,n)?(l.popover!=null&&(Tt("beforetoggle",e),Tt("toggle",e)),l.onScroll!=null&&Tt("scroll",e),l.onScrollEnd!=null&&Tt("scrollend",e),l.onClick!=null&&(e.onclick=En),e=!0):e=!1,e||ea(t,!0)}function fh(t){for(ce=t.return;ce;)switch(ce.tag){case 5:case 31:case 13:$e=!1;return;case 27:case 3:$e=!0;return;default:ce=ce.return}}function kl(t){if(t!==ce)return!1;if(!zt)return fh(t),zt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||kc(t.type,t.memoizedProps)),n=!n),n&&kt&&ea(t),fh(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));kt=jy(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));kt=jy(t)}else e===27?(e=kt,ya(t.type)?(t=Jc,Jc=null,kt=t):kt=e):kt=ce?en(t.stateNode.nextSibling):null;return!0}function Za(){kt=ce=null,zt=!1}function Mr(){var t=ta;return t!==null&&(Ae===null?Ae=t:Ae.push.apply(Ae,t),ta=null),t}function Fi(t){ta===null?ta=[t]:ta.push(t)}var Cr=T(null),Ja=null,An=null;function na(t,e,n){$(Cr,e._currentValue),e._currentValue=n}function zn(t){t._currentValue=Cr.current,k(Cr)}function Ar(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function zr(t,e,n,l){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var r=u.dependencies;if(r!==null){var d=u.child;r=r.firstContext;t:for(;r!==null;){var v=r;r=u;for(var _=0;_<e.length;_++)if(v.context===e[_]){r.lanes|=n,v=r.alternate,v!==null&&(v.lanes|=n),Ar(r.return,n,t),l||(d=null);break t}r=v.next}}else if(u.tag===18){if(d=u.return,d===null)throw Error(o(341));d.lanes|=n,r=d.alternate,r!==null&&(r.lanes|=n),Ar(d,n,t),d=null}else d=u.child;if(d!==null)d.return=u;else for(d=u;d!==null;){if(d===t){d=null;break}if(u=d.sibling,u!==null){u.return=d.return,d=u;break}d=d.return}u=d}}function Vl(t,e,n,l){t=null;for(var u=e,r=!1;u!==null;){if(!r){if((u.flags&524288)!==0)r=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var d=u.alternate;if(d===null)throw Error(o(387));if(d=d.memoizedProps,d!==null){var v=u.type;je(u.pendingProps.value,d.value)||(t!==null?t.push(v):t=[v])}}else if(u===Rt.current){if(d=u.alternate,d===null)throw Error(o(387));d.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(Rs):t=[Rs])}u=u.return}t!==null&&zr(e,t,n,l),e.flags|=262144}function Su(t){for(t=t.firstContext;t!==null;){if(!je(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Pa(t){Ja=t,An=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function fe(t){return dh(Ja,t)}function xu(t,e){return Ja===null&&Pa(t),dh(t,e)}function dh(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},An===null){if(t===null)throw Error(o(308));An=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else An=An.next=e;return n}var j0=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},B0=a.unstable_scheduleCallback,H0=a.unstable_NormalPriority,Wt={$$typeof:Z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Or(){return{controller:new j0,data:new Map,refCount:0}}function Ii(t){t.refCount--,t.refCount===0&&B0(H0,function(){t.controller.abort()})}var Wi=null,wr=0,Xl=0,Kl=null;function q0(t,e){if(Wi===null){var n=Wi=[];wr=0,Xl=Uc(),Kl={status:"pending",value:void 0,then:function(l){n.push(l)}}}return wr++,e.then(hh,hh),e}function hh(){if(--wr===0&&Wi!==null){Kl!==null&&(Kl.status="fulfilled");var t=Wi;Wi=null,Xl=0,Kl=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Q0(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var u=0;u<n.length;u++)(0,n[u])(e)},function(u){for(l.status="rejected",l.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),l}var mh=D.S;D.S=function(t,e){Im=me(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&q0(t,e),mh!==null&&mh(t,e)};var Fa=T(null);function Dr(){var t=Fa.current;return t!==null?t:Yt.pooledCache}function _u(t,e){e===null?$(Fa,Fa.current):$(Fa,e.pool)}function yh(){var t=Dr();return t===null?null:{parent:Wt._currentValue,pool:t}}var Zl=Error(o(460)),Lr=Error(o(474)),Ru=Error(o(542)),Eu={then:function(){}};function gh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function ph(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(En,En),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,bh(t),t;default:if(typeof e.status=="string")e.then(En,En);else{if(t=Yt,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=l}},function(l){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,bh(t),t}throw Wa=e,Zl}}function Ia(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Wa=n,Zl):n}}var Wa=null;function vh(){if(Wa===null)throw Error(o(459));var t=Wa;return Wa=null,t}function bh(t){if(t===Zl||t===Ru)throw Error(o(483))}var Jl=null,$i=0;function Tu(t){var e=$i;return $i+=1,Jl===null&&(Jl=[]),ph(Jl,t,e)}function ts(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Mu(t,e){throw e.$$typeof===S?Error(o(525)):(t=Object.prototype.toString.call(e),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Sh(t){function e(O,M){if(t){var L=O.deletions;L===null?(O.deletions=[M],O.flags|=16):L.push(M)}}function n(O,M){if(!t)return null;for(;M!==null;)e(O,M),M=M.sibling;return null}function l(O){for(var M=new Map;O!==null;)O.key!==null?M.set(O.key,O):M.set(O.index,O),O=O.sibling;return M}function u(O,M){return O=Mn(O,M),O.index=0,O.sibling=null,O}function r(O,M,L){return O.index=L,t?(L=O.alternate,L!==null?(L=L.index,L<M?(O.flags|=67108866,M):L):(O.flags|=67108866,M)):(O.flags|=1048576,M)}function d(O){return t&&O.alternate===null&&(O.flags|=67108866),O}function v(O,M,L,Y){return M===null||M.tag!==6?(M=xr(L,O.mode,Y),M.return=O,M):(M=u(M,L),M.return=O,M)}function _(O,M,L,Y){var mt=L.type;return mt===C?Q(O,M,L.props.children,Y,L.key):M!==null&&(M.elementType===mt||typeof mt=="object"&&mt!==null&&mt.$$typeof===z&&Ia(mt)===M.type)?(M=u(M,L.props),ts(M,L),M.return=O,M):(M=vu(L.type,L.key,L.props,null,O.mode,Y),ts(M,L),M.return=O,M)}function U(O,M,L,Y){return M===null||M.tag!==4||M.stateNode.containerInfo!==L.containerInfo||M.stateNode.implementation!==L.implementation?(M=_r(L,O.mode,Y),M.return=O,M):(M=u(M,L.children||[]),M.return=O,M)}function Q(O,M,L,Y,mt){return M===null||M.tag!==7?(M=Ka(L,O.mode,Y,mt),M.return=O,M):(M=u(M,L),M.return=O,M)}function V(O,M,L){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=xr(""+M,O.mode,L),M.return=O,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case x:return L=vu(M.type,M.key,M.props,null,O.mode,L),ts(L,M),L.return=O,L;case E:return M=_r(M,O.mode,L),M.return=O,M;case z:return M=Ia(M),V(O,M,L)}if(gt(M)||et(M))return M=Ka(M,O.mode,L,null),M.return=O,M;if(typeof M.then=="function")return V(O,Tu(M),L);if(M.$$typeof===Z)return V(O,xu(O,M),L);Mu(O,M)}return null}function j(O,M,L,Y){var mt=M!==null?M.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return mt!==null?null:v(O,M,""+L,Y);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case x:return L.key===mt?_(O,M,L,Y):null;case E:return L.key===mt?U(O,M,L,Y):null;case z:return L=Ia(L),j(O,M,L,Y)}if(gt(L)||et(L))return mt!==null?null:Q(O,M,L,Y,null);if(typeof L.then=="function")return j(O,M,Tu(L),Y);if(L.$$typeof===Z)return j(O,M,xu(O,L),Y);Mu(O,L)}return null}function H(O,M,L,Y,mt){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return O=O.get(L)||null,v(M,O,""+Y,mt);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case x:return O=O.get(Y.key===null?L:Y.key)||null,_(M,O,Y,mt);case E:return O=O.get(Y.key===null?L:Y.key)||null,U(M,O,Y,mt);case z:return Y=Ia(Y),H(O,M,L,Y,mt)}if(gt(Y)||et(Y))return O=O.get(L)||null,Q(M,O,Y,mt,null);if(typeof Y.then=="function")return H(O,M,L,Tu(Y),mt);if(Y.$$typeof===Z)return H(O,M,L,xu(M,Y),mt);Mu(M,Y)}return null}function rt(O,M,L,Y){for(var mt=null,wt=null,ft=M,St=M=0,Ct=null;ft!==null&&St<L.length;St++){ft.index>St?(Ct=ft,ft=null):Ct=ft.sibling;var Dt=j(O,ft,L[St],Y);if(Dt===null){ft===null&&(ft=Ct);break}t&&ft&&Dt.alternate===null&&e(O,ft),M=r(Dt,M,St),wt===null?mt=Dt:wt.sibling=Dt,wt=Dt,ft=Ct}if(St===L.length)return n(O,ft),zt&&Cn(O,St),mt;if(ft===null){for(;St<L.length;St++)ft=V(O,L[St],Y),ft!==null&&(M=r(ft,M,St),wt===null?mt=ft:wt.sibling=ft,wt=ft);return zt&&Cn(O,St),mt}for(ft=l(ft);St<L.length;St++)Ct=H(ft,O,St,L[St],Y),Ct!==null&&(t&&Ct.alternate!==null&&ft.delete(Ct.key===null?St:Ct.key),M=r(Ct,M,St),wt===null?mt=Ct:wt.sibling=Ct,wt=Ct);return t&&ft.forEach(function(Sa){return e(O,Sa)}),zt&&Cn(O,St),mt}function yt(O,M,L,Y){if(L==null)throw Error(o(151));for(var mt=null,wt=null,ft=M,St=M=0,Ct=null,Dt=L.next();ft!==null&&!Dt.done;St++,Dt=L.next()){ft.index>St?(Ct=ft,ft=null):Ct=ft.sibling;var Sa=j(O,ft,Dt.value,Y);if(Sa===null){ft===null&&(ft=Ct);break}t&&ft&&Sa.alternate===null&&e(O,ft),M=r(Sa,M,St),wt===null?mt=Sa:wt.sibling=Sa,wt=Sa,ft=Ct}if(Dt.done)return n(O,ft),zt&&Cn(O,St),mt;if(ft===null){for(;!Dt.done;St++,Dt=L.next())Dt=V(O,Dt.value,Y),Dt!==null&&(M=r(Dt,M,St),wt===null?mt=Dt:wt.sibling=Dt,wt=Dt);return zt&&Cn(O,St),mt}for(ft=l(ft);!Dt.done;St++,Dt=L.next())Dt=H(ft,O,St,Dt.value,Y),Dt!==null&&(t&&Dt.alternate!==null&&ft.delete(Dt.key===null?St:Dt.key),M=r(Dt,M,St),wt===null?mt=Dt:wt.sibling=Dt,wt=Dt);return t&&ft.forEach(function(Ib){return e(O,Ib)}),zt&&Cn(O,St),mt}function Gt(O,M,L,Y){if(typeof L=="object"&&L!==null&&L.type===C&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case x:t:{for(var mt=L.key;M!==null;){if(M.key===mt){if(mt=L.type,mt===C){if(M.tag===7){n(O,M.sibling),Y=u(M,L.props.children),Y.return=O,O=Y;break t}}else if(M.elementType===mt||typeof mt=="object"&&mt!==null&&mt.$$typeof===z&&Ia(mt)===M.type){n(O,M.sibling),Y=u(M,L.props),ts(Y,L),Y.return=O,O=Y;break t}n(O,M);break}else e(O,M);M=M.sibling}L.type===C?(Y=Ka(L.props.children,O.mode,Y,L.key),Y.return=O,O=Y):(Y=vu(L.type,L.key,L.props,null,O.mode,Y),ts(Y,L),Y.return=O,O=Y)}return d(O);case E:t:{for(mt=L.key;M!==null;){if(M.key===mt)if(M.tag===4&&M.stateNode.containerInfo===L.containerInfo&&M.stateNode.implementation===L.implementation){n(O,M.sibling),Y=u(M,L.children||[]),Y.return=O,O=Y;break t}else{n(O,M);break}else e(O,M);M=M.sibling}Y=_r(L,O.mode,Y),Y.return=O,O=Y}return d(O);case z:return L=Ia(L),Gt(O,M,L,Y)}if(gt(L))return rt(O,M,L,Y);if(et(L)){if(mt=et(L),typeof mt!="function")throw Error(o(150));return L=mt.call(L),yt(O,M,L,Y)}if(typeof L.then=="function")return Gt(O,M,Tu(L),Y);if(L.$$typeof===Z)return Gt(O,M,xu(O,L),Y);Mu(O,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(L=""+L,M!==null&&M.tag===6?(n(O,M.sibling),Y=u(M,L),Y.return=O,O=Y):(n(O,M),Y=xr(L,O.mode,Y),Y.return=O,O=Y),d(O)):n(O,M)}return function(O,M,L,Y){try{$i=0;var mt=Gt(O,M,L,Y);return Jl=null,mt}catch(ft){if(ft===Zl||ft===Ru)throw ft;var wt=Be(29,ft,null,O.mode);return wt.lanes=Y,wt.return=O,wt}finally{}}}var $a=Sh(!0),xh=Sh(!1),aa=!1;function Ur(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Nr(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function la(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ia(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Lt&2)!==0){var u=l.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),l.pending=e,e=pu(t),lh(t,null,n),e}return gu(t,l,e,n),pu(t)}function es(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,dd(t,n)}}function jr(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var u=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?u=r=d:r=r.next=d,n=n.next}while(n!==null);r===null?u=r=e:r=r.next=e}else u=r=e;n={baseState:l.baseState,firstBaseUpdate:u,lastBaseUpdate:r,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Br=!1;function ns(){if(Br){var t=Kl;if(t!==null)throw t}}function as(t,e,n,l){Br=!1;var u=t.updateQueue;aa=!1;var r=u.firstBaseUpdate,d=u.lastBaseUpdate,v=u.shared.pending;if(v!==null){u.shared.pending=null;var _=v,U=_.next;_.next=null,d===null?r=U:d.next=U,d=_;var Q=t.alternate;Q!==null&&(Q=Q.updateQueue,v=Q.lastBaseUpdate,v!==d&&(v===null?Q.firstBaseUpdate=U:v.next=U,Q.lastBaseUpdate=_))}if(r!==null){var V=u.baseState;d=0,Q=U=_=null,v=r;do{var j=v.lane&-536870913,H=j!==v.lane;if(H?(Mt&j)===j:(l&j)===j){j!==0&&j===Xl&&(Br=!0),Q!==null&&(Q=Q.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{var rt=t,yt=v;j=e;var Gt=n;switch(yt.tag){case 1:if(rt=yt.payload,typeof rt=="function"){V=rt.call(Gt,V,j);break t}V=rt;break t;case 3:rt.flags=rt.flags&-65537|128;case 0:if(rt=yt.payload,j=typeof rt=="function"?rt.call(Gt,V,j):rt,j==null)break t;V=p({},V,j);break t;case 2:aa=!0}}j=v.callback,j!==null&&(t.flags|=64,H&&(t.flags|=8192),H=u.callbacks,H===null?u.callbacks=[j]:H.push(j))}else H={lane:j,tag:v.tag,payload:v.payload,callback:v.callback,next:null},Q===null?(U=Q=H,_=V):Q=Q.next=H,d|=j;if(v=v.next,v===null){if(v=u.shared.pending,v===null)break;H=v,v=H.next,H.next=null,u.lastBaseUpdate=H,u.shared.pending=null}}while(!0);Q===null&&(_=V),u.baseState=_,u.firstBaseUpdate=U,u.lastBaseUpdate=Q,r===null&&(u.shared.lanes=0),ca|=d,t.lanes=d,t.memoizedState=V}}function _h(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function Rh(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)_h(n[t],e)}var Pl=T(null),Cu=T(0);function Eh(t,e){t=Hn,$(Cu,t),$(Pl,e),Hn=t|e.baseLanes}function Hr(){$(Cu,Hn),$(Pl,Pl.current)}function qr(){Hn=Cu.current,k(Pl),k(Cu)}var He=T(null),tn=null;function sa(t){var e=t.alternate;$(Ft,Ft.current&1),$(He,t),tn===null&&(e===null||Pl.current!==null||e.memoizedState!==null)&&(tn=t)}function Qr(t){$(Ft,Ft.current),$(He,t),tn===null&&(tn=t)}function Th(t){t.tag===22?($(Ft,Ft.current),$(He,t),tn===null&&(tn=t)):ua()}function ua(){$(Ft,Ft.current),$(He,He.current)}function qe(t){k(He),tn===t&&(tn=null),k(Ft)}var Ft=T(0);function Au(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Kc(n)||Zc(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var On=0,bt=null,qt=null,$t=null,zu=!1,Fl=!1,tl=!1,Ou=0,ls=0,Il=null,G0=0;function Zt(){throw Error(o(321))}function Gr(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!je(t[n],e[n]))return!1;return!0}function Yr(t,e,n,l,u,r){return On=r,bt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,D.H=t===null||t.memoizedState===null?om:ac,tl=!1,r=n(l,u),tl=!1,Fl&&(r=Ch(e,n,l,u)),Mh(t),r}function Mh(t){D.H=us;var e=qt!==null&&qt.next!==null;if(On=0,$t=qt=bt=null,zu=!1,ls=0,Il=null,e)throw Error(o(300));t===null||te||(t=t.dependencies,t!==null&&Su(t)&&(te=!0))}function Ch(t,e,n,l){bt=t;var u=0;do{if(Fl&&(Il=null),ls=0,Fl=!1,25<=u)throw Error(o(301));if(u+=1,$t=qt=null,t.updateQueue!=null){var r=t.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}D.H=rm,r=e(n,l)}while(Fl);return r}function Y0(){var t=D.H,e=t.useState()[0];return e=typeof e.then=="function"?is(e):e,t=t.useState()[0],(qt!==null?qt.memoizedState:null)!==t&&(bt.flags|=1024),e}function kr(){var t=Ou!==0;return Ou=0,t}function Vr(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Xr(t){if(zu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}zu=!1}On=0,$t=qt=bt=null,Fl=!1,ls=Ou=0,Il=null}function be(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $t===null?bt.memoizedState=$t=t:$t=$t.next=t,$t}function It(){if(qt===null){var t=bt.alternate;t=t!==null?t.memoizedState:null}else t=qt.next;var e=$t===null?bt.memoizedState:$t.next;if(e!==null)$t=e,qt=t;else{if(t===null)throw bt.alternate===null?Error(o(467)):Error(o(310));qt=t,t={memoizedState:qt.memoizedState,baseState:qt.baseState,baseQueue:qt.baseQueue,queue:qt.queue,next:null},$t===null?bt.memoizedState=$t=t:$t=$t.next=t}return $t}function wu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function is(t){var e=ls;return ls+=1,Il===null&&(Il=[]),t=ph(Il,t,e),e=bt,($t===null?e.memoizedState:$t.next)===null&&(e=e.alternate,D.H=e===null||e.memoizedState===null?om:ac),t}function Du(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return is(t);if(t.$$typeof===Z)return fe(t)}throw Error(o(438,String(t)))}function Kr(t){var e=null,n=bt.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=bt.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=wu(),bt.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=J;return e.index++,n}function wn(t,e){return typeof e=="function"?e(t):e}function Lu(t){var e=It();return Zr(e,qt,t)}function Zr(t,e,n){var l=t.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=n;var u=t.baseQueue,r=l.pending;if(r!==null){if(u!==null){var d=u.next;u.next=r.next,r.next=d}e.baseQueue=u=r,l.pending=null}if(r=t.baseState,u===null)t.memoizedState=r;else{e=u.next;var v=d=null,_=null,U=e,Q=!1;do{var V=U.lane&-536870913;if(V!==U.lane?(Mt&V)===V:(On&V)===V){var j=U.revertLane;if(j===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),V===Xl&&(Q=!0);else if((On&j)===j){U=U.next,j===Xl&&(Q=!0);continue}else V={lane:0,revertLane:U.revertLane,gesture:null,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},_===null?(v=_=V,d=r):_=_.next=V,bt.lanes|=j,ca|=j;V=U.action,tl&&n(r,V),r=U.hasEagerState?U.eagerState:n(r,V)}else j={lane:V,revertLane:U.revertLane,gesture:U.gesture,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null},_===null?(v=_=j,d=r):_=_.next=j,bt.lanes|=V,ca|=V;U=U.next}while(U!==null&&U!==e);if(_===null?d=r:_.next=v,!je(r,t.memoizedState)&&(te=!0,Q&&(n=Kl,n!==null)))throw n;t.memoizedState=r,t.baseState=d,t.baseQueue=_,l.lastRenderedState=r}return u===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Jr(t){var e=It(),n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=t;var l=n.dispatch,u=n.pending,r=e.memoizedState;if(u!==null){n.pending=null;var d=u=u.next;do r=t(r,d.action),d=d.next;while(d!==u);je(r,e.memoizedState)||(te=!0),e.memoizedState=r,e.baseQueue===null&&(e.baseState=r),n.lastRenderedState=r}return[r,l]}function Ah(t,e,n){var l=bt,u=It(),r=zt;if(r){if(n===void 0)throw Error(o(407));n=n()}else n=e();var d=!je((qt||u).memoizedState,n);if(d&&(u.memoizedState=n,te=!0),u=u.queue,Ir(wh.bind(null,l,u,t),[t]),u.getSnapshot!==e||d||$t!==null&&$t.memoizedState.tag&1){if(l.flags|=2048,Wl(9,{destroy:void 0},Oh.bind(null,l,u,n,e),null),Yt===null)throw Error(o(349));r||(On&127)!==0||zh(l,e,n)}return n}function zh(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=bt.updateQueue,e===null?(e=wu(),bt.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Oh(t,e,n,l){e.value=n,e.getSnapshot=l,Dh(e)&&Lh(t)}function wh(t,e,n){return n(function(){Dh(e)&&Lh(t)})}function Dh(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!je(t,n)}catch{return!0}}function Lh(t){var e=Xa(t,2);e!==null&&ze(e,t,2)}function Pr(t){var e=be();if(typeof t=="function"){var n=t;if(t=n(),tl){Fn(!0);try{n()}finally{Fn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wn,lastRenderedState:t},e}function Uh(t,e,n,l){return t.baseState=n,Zr(t,qt,typeof l=="function"?l:wn)}function k0(t,e,n,l,u){if(ju(t))throw Error(o(485));if(t=e.action,t!==null){var r={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){r.listeners.push(d)}};D.T!==null?n(!0):r.isTransition=!1,l(r),n=e.pending,n===null?(r.next=e.pending=r,Nh(e,r)):(r.next=n.next,e.pending=n.next=r)}}function Nh(t,e){var n=e.action,l=e.payload,u=t.state;if(e.isTransition){var r=D.T,d={};D.T=d;try{var v=n(u,l),_=D.S;_!==null&&_(d,v),jh(t,e,v)}catch(U){Fr(t,e,U)}finally{r!==null&&d.types!==null&&(r.types=d.types),D.T=r}}else try{r=n(u,l),jh(t,e,r)}catch(U){Fr(t,e,U)}}function jh(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Bh(t,e,l)},function(l){return Fr(t,e,l)}):Bh(t,e,n)}function Bh(t,e,n){e.status="fulfilled",e.value=n,Hh(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Nh(t,n)))}function Fr(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,Hh(e),e=e.next;while(e!==l)}t.action=null}function Hh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function qh(t,e){return e}function Qh(t,e){if(zt){var n=Yt.formState;if(n!==null){t:{var l=bt;if(zt){if(kt){e:{for(var u=kt,r=$e;u.nodeType!==8;){if(!r){u=null;break e}if(u=en(u.nextSibling),u===null){u=null;break e}}r=u.data,u=r==="F!"||r==="F"?u:null}if(u){kt=en(u.nextSibling),l=u.data==="F!";break t}}ea(l)}l=!1}l&&(e=n[0])}}return n=be(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qh,lastRenderedState:e},n.queue=l,n=im.bind(null,bt,l),l.dispatch=n,l=Pr(!1),r=nc.bind(null,bt,!1,l.queue),l=be(),u={state:e,dispatch:null,action:t,pending:null},l.queue=u,n=k0.bind(null,bt,u,r,n),u.dispatch=n,l.memoizedState=t,[e,n,!1]}function Gh(t){var e=It();return Yh(e,qt,t)}function Yh(t,e,n){if(e=Zr(t,e,qh)[0],t=Lu(wn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=is(e)}catch(d){throw d===Zl?Ru:d}else l=e;e=It();var u=e.queue,r=u.dispatch;return n!==e.memoizedState&&(bt.flags|=2048,Wl(9,{destroy:void 0},V0.bind(null,u,n),null)),[l,r,t]}function V0(t,e){t.action=e}function kh(t){var e=It(),n=qt;if(n!==null)return Yh(e,n,t);It(),e=e.memoizedState,n=It();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function Wl(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=bt.updateQueue,e===null&&(e=wu(),bt.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Vh(){return It().memoizedState}function Uu(t,e,n,l){var u=be();bt.flags|=t,u.memoizedState=Wl(1|e,{destroy:void 0},n,l===void 0?null:l)}function Nu(t,e,n,l){var u=It();l=l===void 0?null:l;var r=u.memoizedState.inst;qt!==null&&l!==null&&Gr(l,qt.memoizedState.deps)?u.memoizedState=Wl(e,r,n,l):(bt.flags|=t,u.memoizedState=Wl(1|e,r,n,l))}function Xh(t,e){Uu(8390656,8,t,e)}function Ir(t,e){Nu(2048,8,t,e)}function X0(t){bt.flags|=4;var e=bt.updateQueue;if(e===null)e=wu(),bt.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Kh(t){var e=It().memoizedState;return X0({ref:e,nextImpl:t}),function(){if((Lt&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}function Zh(t,e){return Nu(4,2,t,e)}function Jh(t,e){return Nu(4,4,t,e)}function Ph(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Fh(t,e,n){n=n!=null?n.concat([t]):null,Nu(4,4,Ph.bind(null,e,t),n)}function Wr(){}function Ih(t,e){var n=It();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Gr(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function Wh(t,e){var n=It();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Gr(e,l[1]))return l[0];if(l=t(),tl){Fn(!0);try{t()}finally{Fn(!1)}}return n.memoizedState=[l,e],l}function $r(t,e,n){return n===void 0||(On&1073741824)!==0&&(Mt&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=$m(),bt.lanes|=t,ca|=t,n)}function $h(t,e,n,l){return je(n,e)?n:Pl.current!==null?(t=$r(t,n,l),je(t,e)||(te=!0),t):(On&42)===0||(On&1073741824)!==0&&(Mt&261930)===0?(te=!0,t.memoizedState=n):(t=$m(),bt.lanes|=t,ca|=t,e)}function tm(t,e,n,l,u){var r=G.p;G.p=r!==0&&8>r?r:8;var d=D.T,v={};D.T=v,nc(t,!1,e,n);try{var _=u(),U=D.S;if(U!==null&&U(v,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var Q=Q0(_,l);ss(t,e,Q,Ye(t))}else ss(t,e,l,Ye(t))}catch(V){ss(t,e,{then:function(){},status:"rejected",reason:V},Ye())}finally{G.p=r,d!==null&&v.types!==null&&(d.types=v.types),D.T=d}}function K0(){}function tc(t,e,n,l){if(t.tag!==5)throw Error(o(476));var u=em(t).queue;tm(t,u,e,ct,n===null?K0:function(){return nm(t),n(l)})}function em(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:ct,baseState:ct,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wn,lastRenderedState:ct},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function nm(t){var e=em(t);e.next===null&&(e=t.alternate.memoizedState),ss(t,e.next.queue,{},Ye())}function ec(){return fe(Rs)}function am(){return It().memoizedState}function lm(){return It().memoizedState}function Z0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Ye();t=la(n);var l=ia(e,t,n);l!==null&&(ze(l,e,n),es(l,e,n)),e={cache:Or()},t.payload=e;return}e=e.return}}function J0(t,e,n){var l=Ye();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ju(t)?sm(e,n):(n=br(t,e,n,l),n!==null&&(ze(n,t,l),um(n,e,l)))}function im(t,e,n){var l=Ye();ss(t,e,n,l)}function ss(t,e,n,l){var u={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ju(t))sm(e,u);else{var r=t.alternate;if(t.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var d=e.lastRenderedState,v=r(d,n);if(u.hasEagerState=!0,u.eagerState=v,je(v,d))return gu(t,e,u,0),Yt===null&&yu(),!1}catch{}finally{}if(n=br(t,e,u,l),n!==null)return ze(n,t,l),um(n,e,l),!0}return!1}function nc(t,e,n,l){if(l={lane:2,revertLane:Uc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},ju(t)){if(e)throw Error(o(479))}else e=br(t,n,l,2),e!==null&&ze(e,t,2)}function ju(t){var e=t.alternate;return t===bt||e!==null&&e===bt}function sm(t,e){Fl=zu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function um(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,dd(t,n)}}var us={readContext:fe,use:Du,useCallback:Zt,useContext:Zt,useEffect:Zt,useImperativeHandle:Zt,useLayoutEffect:Zt,useInsertionEffect:Zt,useMemo:Zt,useReducer:Zt,useRef:Zt,useState:Zt,useDebugValue:Zt,useDeferredValue:Zt,useTransition:Zt,useSyncExternalStore:Zt,useId:Zt,useHostTransitionStatus:Zt,useFormState:Zt,useActionState:Zt,useOptimistic:Zt,useMemoCache:Zt,useCacheRefresh:Zt};us.useEffectEvent=Zt;var om={readContext:fe,use:Du,useCallback:function(t,e){return be().memoizedState=[t,e===void 0?null:e],t},useContext:fe,useEffect:Xh,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Uu(4194308,4,Ph.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Uu(4194308,4,t,e)},useInsertionEffect:function(t,e){Uu(4,2,t,e)},useMemo:function(t,e){var n=be();e=e===void 0?null:e;var l=t();if(tl){Fn(!0);try{t()}finally{Fn(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=be();if(n!==void 0){var u=n(e);if(tl){Fn(!0);try{n(e)}finally{Fn(!1)}}}else u=e;return l.memoizedState=l.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},l.queue=t,t=t.dispatch=J0.bind(null,bt,t),[l.memoizedState,t]},useRef:function(t){var e=be();return t={current:t},e.memoizedState=t},useState:function(t){t=Pr(t);var e=t.queue,n=im.bind(null,bt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Wr,useDeferredValue:function(t,e){var n=be();return $r(n,t,e)},useTransition:function(){var t=Pr(!1);return t=tm.bind(null,bt,t.queue,!0,!1),be().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=bt,u=be();if(zt){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),Yt===null)throw Error(o(349));(Mt&127)!==0||zh(l,e,n)}u.memoizedState=n;var r={value:n,getSnapshot:e};return u.queue=r,Xh(wh.bind(null,l,r,t),[t]),l.flags|=2048,Wl(9,{destroy:void 0},Oh.bind(null,l,r,n,e),null),n},useId:function(){var t=be(),e=Yt.identifierPrefix;if(zt){var n=hn,l=dn;n=(l&~(1<<32-Ne(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Ou++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=G0++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:ec,useFormState:Qh,useActionState:Qh,useOptimistic:function(t){var e=be();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=nc.bind(null,bt,!0,n),n.dispatch=e,[t,e]},useMemoCache:Kr,useCacheRefresh:function(){return be().memoizedState=Z0.bind(null,bt)},useEffectEvent:function(t){var e=be(),n={impl:t};return e.memoizedState=n,function(){if((Lt&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},ac={readContext:fe,use:Du,useCallback:Ih,useContext:fe,useEffect:Ir,useImperativeHandle:Fh,useInsertionEffect:Zh,useLayoutEffect:Jh,useMemo:Wh,useReducer:Lu,useRef:Vh,useState:function(){return Lu(wn)},useDebugValue:Wr,useDeferredValue:function(t,e){var n=It();return $h(n,qt.memoizedState,t,e)},useTransition:function(){var t=Lu(wn)[0],e=It().memoizedState;return[typeof t=="boolean"?t:is(t),e]},useSyncExternalStore:Ah,useId:am,useHostTransitionStatus:ec,useFormState:Gh,useActionState:Gh,useOptimistic:function(t,e){var n=It();return Uh(n,qt,t,e)},useMemoCache:Kr,useCacheRefresh:lm};ac.useEffectEvent=Kh;var rm={readContext:fe,use:Du,useCallback:Ih,useContext:fe,useEffect:Ir,useImperativeHandle:Fh,useInsertionEffect:Zh,useLayoutEffect:Jh,useMemo:Wh,useReducer:Jr,useRef:Vh,useState:function(){return Jr(wn)},useDebugValue:Wr,useDeferredValue:function(t,e){var n=It();return qt===null?$r(n,t,e):$h(n,qt.memoizedState,t,e)},useTransition:function(){var t=Jr(wn)[0],e=It().memoizedState;return[typeof t=="boolean"?t:is(t),e]},useSyncExternalStore:Ah,useId:am,useHostTransitionStatus:ec,useFormState:kh,useActionState:kh,useOptimistic:function(t,e){var n=It();return qt!==null?Uh(n,qt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Kr,useCacheRefresh:lm};rm.useEffectEvent=Kh;function lc(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:p({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var ic={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=Ye(),u=la(l);u.payload=e,n!=null&&(u.callback=n),e=ia(t,u,l),e!==null&&(ze(e,t,l),es(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=Ye(),u=la(l);u.tag=1,u.payload=e,n!=null&&(u.callback=n),e=ia(t,u,l),e!==null&&(ze(e,t,l),es(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Ye(),l=la(n);l.tag=2,e!=null&&(l.callback=e),e=ia(t,l,n),e!==null&&(ze(e,t,n),es(e,t,n))}};function cm(t,e,n,l,u,r,d){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,r,d):e.prototype&&e.prototype.isPureReactComponent?!Zi(n,l)||!Zi(u,r):!0}function fm(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&ic.enqueueReplaceState(e,e.state,null)}function el(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=p({},n));for(var u in t)n[u]===void 0&&(n[u]=t[u])}return n}function dm(t){mu(t)}function hm(t){console.error(t)}function mm(t){mu(t)}function Bu(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function ym(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function sc(t,e,n){return n=la(n),n.tag=3,n.payload={element:null},n.callback=function(){Bu(t,e)},n}function gm(t){return t=la(t),t.tag=3,t}function pm(t,e,n,l){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var r=l.value;t.payload=function(){return u(r)},t.callback=function(){ym(e,n,l)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(t.callback=function(){ym(e,n,l),typeof u!="function"&&(fa===null?fa=new Set([this]):fa.add(this));var v=l.stack;this.componentDidCatch(l.value,{componentStack:v!==null?v:""})})}function P0(t,e,n,l,u){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&Vl(e,n,u,!0),n=He.current,n!==null){switch(n.tag){case 31:case 13:return tn===null?Pu():n.alternate===null&&Jt===0&&(Jt=3),n.flags&=-257,n.flags|=65536,n.lanes=u,l===Eu?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),wc(t,l,u)),!1;case 22:return n.flags|=65536,l===Eu?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),wc(t,l,u)),!1}throw Error(o(435,n.tag))}return wc(t,l,u),Pu(),!1}if(zt)return e=He.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,l!==Tr&&(t=Error(o(422),{cause:l}),Fi(Fe(t,n)))):(l!==Tr&&(e=Error(o(423),{cause:l}),Fi(Fe(e,n))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,l=Fe(l,n),u=sc(t.stateNode,l,u),jr(t,u),Jt!==4&&(Jt=2)),!1;var r=Error(o(520),{cause:l});if(r=Fe(r,n),ys===null?ys=[r]:ys.push(r),Jt!==4&&(Jt=2),e===null)return!0;l=Fe(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=u&-u,n.lanes|=t,t=sc(n.stateNode,l,t),jr(n,t),!1;case 1:if(e=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(fa===null||!fa.has(r))))return n.flags|=65536,u&=-u,n.lanes|=u,u=gm(u),pm(u,t,n,l),jr(n,u),!1}n=n.return}while(n!==null);return!1}var uc=Error(o(461)),te=!1;function de(t,e,n,l){e.child=t===null?xh(e,null,n,l):$a(e,t.child,n,l)}function vm(t,e,n,l,u){n=n.render;var r=e.ref;if("ref"in l){var d={};for(var v in l)v!=="ref"&&(d[v]=l[v])}else d=l;return Pa(e),l=Yr(t,e,n,d,r,u),v=kr(),t!==null&&!te?(Vr(t,e,u),Dn(t,e,u)):(zt&&v&&Rr(e),e.flags|=1,de(t,e,l,u),e.child)}function bm(t,e,n,l,u){if(t===null){var r=n.type;return typeof r=="function"&&!Sr(r)&&r.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=r,Sm(t,e,r,l,u)):(t=vu(n.type,null,l,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(r=t.child,!yc(t,u)){var d=r.memoizedProps;if(n=n.compare,n=n!==null?n:Zi,n(d,l)&&t.ref===e.ref)return Dn(t,e,u)}return e.flags|=1,t=Mn(r,l),t.ref=e.ref,t.return=e,e.child=t}function Sm(t,e,n,l,u){if(t!==null){var r=t.memoizedProps;if(Zi(r,l)&&t.ref===e.ref)if(te=!1,e.pendingProps=l=r,yc(t,u))(t.flags&131072)!==0&&(te=!0);else return e.lanes=t.lanes,Dn(t,e,u)}return oc(t,e,n,l,u)}function xm(t,e,n,l){var u=l.children,r=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(r=r!==null?r.baseLanes|n:n,t!==null){for(l=e.child=t.child,u=0;l!==null;)u=u|l.lanes|l.childLanes,l=l.sibling;l=u&~r}else l=0,e.child=null;return _m(t,e,r,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&_u(e,r!==null?r.cachePool:null),r!==null?Eh(e,r):Hr(),Th(e);else return l=e.lanes=536870912,_m(t,e,r!==null?r.baseLanes|n:n,n,l)}else r!==null?(_u(e,r.cachePool),Eh(e,r),ua(),e.memoizedState=null):(t!==null&&_u(e,null),Hr(),ua());return de(t,e,u,n),e.child}function os(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function _m(t,e,n,l,u){var r=Dr();return r=r===null?null:{parent:Wt._currentValue,pool:r},e.memoizedState={baseLanes:n,cachePool:r},t!==null&&_u(e,null),Hr(),Th(e),t!==null&&Vl(t,e,l,!0),e.childLanes=u,null}function Hu(t,e){return e=Qu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Rm(t,e,n){return $a(e,t.child,null,n),t=Hu(e,e.pendingProps),t.flags|=2,qe(e),e.memoizedState=null,t}function F0(t,e,n){var l=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(zt){if(l.mode==="hidden")return t=Hu(e,l),e.lanes=536870912,os(null,t);if(Qr(e),(t=kt)?(t=Ny(t,$e),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:$n!==null?{id:dn,overflow:hn}:null,retryLane:536870912,hydrationErrors:null},n=sh(t),n.return=e,e.child=n,ce=e,kt=null)):t=null,t===null)throw ea(e);return e.lanes=536870912,null}return Hu(e,l)}var r=t.memoizedState;if(r!==null){var d=r.dehydrated;if(Qr(e),u)if(e.flags&256)e.flags&=-257,e=Rm(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(o(558));else if(te||Vl(t,e,n,!1),u=(n&t.childLanes)!==0,te||u){if(l=Yt,l!==null&&(d=hd(l,n),d!==0&&d!==r.retryLane))throw r.retryLane=d,Xa(t,d),ze(l,t,d),uc;Pu(),e=Rm(t,e,n)}else t=r.treeContext,kt=en(d.nextSibling),ce=e,zt=!0,ta=null,$e=!1,t!==null&&rh(e,t),e=Hu(e,l),e.flags|=4096;return e}return t=Mn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function qu(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function oc(t,e,n,l,u){return Pa(e),n=Yr(t,e,n,l,void 0,u),l=kr(),t!==null&&!te?(Vr(t,e,u),Dn(t,e,u)):(zt&&l&&Rr(e),e.flags|=1,de(t,e,n,u),e.child)}function Em(t,e,n,l,u,r){return Pa(e),e.updateQueue=null,n=Ch(e,l,n,u),Mh(t),l=kr(),t!==null&&!te?(Vr(t,e,r),Dn(t,e,r)):(zt&&l&&Rr(e),e.flags|=1,de(t,e,n,r),e.child)}function Tm(t,e,n,l,u){if(Pa(e),e.stateNode===null){var r=Ql,d=n.contextType;typeof d=="object"&&d!==null&&(r=fe(d)),r=new n(l,r),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=ic,e.stateNode=r,r._reactInternals=e,r=e.stateNode,r.props=l,r.state=e.memoizedState,r.refs={},Ur(e),d=n.contextType,r.context=typeof d=="object"&&d!==null?fe(d):Ql,r.state=e.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(lc(e,n,d,l),r.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(d=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),d!==r.state&&ic.enqueueReplaceState(r,r.state,null),as(e,l,r,u),ns(),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){r=e.stateNode;var v=e.memoizedProps,_=el(n,v);r.props=_;var U=r.context,Q=n.contextType;d=Ql,typeof Q=="object"&&Q!==null&&(d=fe(Q));var V=n.getDerivedStateFromProps;Q=typeof V=="function"||typeof r.getSnapshotBeforeUpdate=="function",v=e.pendingProps!==v,Q||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(v||U!==d)&&fm(e,r,l,d),aa=!1;var j=e.memoizedState;r.state=j,as(e,l,r,u),ns(),U=e.memoizedState,v||j!==U||aa?(typeof V=="function"&&(lc(e,n,V,l),U=e.memoizedState),(_=aa||cm(e,n,_,l,j,U,d))?(Q||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(e.flags|=4194308)):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=U),r.props=l,r.state=U,r.context=d,l=_):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{r=e.stateNode,Nr(t,e),d=e.memoizedProps,Q=el(n,d),r.props=Q,V=e.pendingProps,j=r.context,U=n.contextType,_=Ql,typeof U=="object"&&U!==null&&(_=fe(U)),v=n.getDerivedStateFromProps,(U=typeof v=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(d!==V||j!==_)&&fm(e,r,l,_),aa=!1,j=e.memoizedState,r.state=j,as(e,l,r,u),ns();var H=e.memoizedState;d!==V||j!==H||aa||t!==null&&t.dependencies!==null&&Su(t.dependencies)?(typeof v=="function"&&(lc(e,n,v,l),H=e.memoizedState),(Q=aa||cm(e,n,Q,l,j,H,_)||t!==null&&t.dependencies!==null&&Su(t.dependencies))?(U||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(l,H,_),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(l,H,_)),typeof r.componentDidUpdate=="function"&&(e.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof r.componentDidUpdate!="function"||d===t.memoizedProps&&j===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&j===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=H),r.props=l,r.state=H,r.context=_,l=Q):(typeof r.componentDidUpdate!="function"||d===t.memoizedProps&&j===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||d===t.memoizedProps&&j===t.memoizedState||(e.flags|=1024),l=!1)}return r=l,qu(t,e),l=(e.flags&128)!==0,r||l?(r=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:r.render(),e.flags|=1,t!==null&&l?(e.child=$a(e,t.child,null,u),e.child=$a(e,null,n,u)):de(t,e,n,u),e.memoizedState=r.state,t=e.child):t=Dn(t,e,u),t}function Mm(t,e,n,l){return Za(),e.flags|=256,de(t,e,n,l),e.child}var rc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function cc(t){return{baseLanes:t,cachePool:yh()}}function fc(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Ge),t}function Cm(t,e,n){var l=e.pendingProps,u=!1,r=(e.flags&128)!==0,d;if((d=r)||(d=t!==null&&t.memoizedState===null?!1:(Ft.current&2)!==0),d&&(u=!0,e.flags&=-129),d=(e.flags&32)!==0,e.flags&=-33,t===null){if(zt){if(u?sa(e):ua(),(t=kt)?(t=Ny(t,$e),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:$n!==null?{id:dn,overflow:hn}:null,retryLane:536870912,hydrationErrors:null},n=sh(t),n.return=e,e.child=n,ce=e,kt=null)):t=null,t===null)throw ea(e);return Zc(t)?e.lanes=32:e.lanes=536870912,null}var v=l.children;return l=l.fallback,u?(ua(),u=e.mode,v=Qu({mode:"hidden",children:v},u),l=Ka(l,u,n,null),v.return=e,l.return=e,v.sibling=l,e.child=v,l=e.child,l.memoizedState=cc(n),l.childLanes=fc(t,d,n),e.memoizedState=rc,os(null,l)):(sa(e),dc(e,v))}var _=t.memoizedState;if(_!==null&&(v=_.dehydrated,v!==null)){if(r)e.flags&256?(sa(e),e.flags&=-257,e=hc(t,e,n)):e.memoizedState!==null?(ua(),e.child=t.child,e.flags|=128,e=null):(ua(),v=l.fallback,u=e.mode,l=Qu({mode:"visible",children:l.children},u),v=Ka(v,u,n,null),v.flags|=2,l.return=e,v.return=e,l.sibling=v,e.child=l,$a(e,t.child,null,n),l=e.child,l.memoizedState=cc(n),l.childLanes=fc(t,d,n),e.memoizedState=rc,e=os(null,l));else if(sa(e),Zc(v)){if(d=v.nextSibling&&v.nextSibling.dataset,d)var U=d.dgst;d=U,l=Error(o(419)),l.stack="",l.digest=d,Fi({value:l,source:null,stack:null}),e=hc(t,e,n)}else if(te||Vl(t,e,n,!1),d=(n&t.childLanes)!==0,te||d){if(d=Yt,d!==null&&(l=hd(d,n),l!==0&&l!==_.retryLane))throw _.retryLane=l,Xa(t,l),ze(d,t,l),uc;Kc(v)||Pu(),e=hc(t,e,n)}else Kc(v)?(e.flags|=192,e.child=t.child,e=null):(t=_.treeContext,kt=en(v.nextSibling),ce=e,zt=!0,ta=null,$e=!1,t!==null&&rh(e,t),e=dc(e,l.children),e.flags|=4096);return e}return u?(ua(),v=l.fallback,u=e.mode,_=t.child,U=_.sibling,l=Mn(_,{mode:"hidden",children:l.children}),l.subtreeFlags=_.subtreeFlags&65011712,U!==null?v=Mn(U,v):(v=Ka(v,u,n,null),v.flags|=2),v.return=e,l.return=e,l.sibling=v,e.child=l,os(null,l),l=e.child,v=t.child.memoizedState,v===null?v=cc(n):(u=v.cachePool,u!==null?(_=Wt._currentValue,u=u.parent!==_?{parent:_,pool:_}:u):u=yh(),v={baseLanes:v.baseLanes|n,cachePool:u}),l.memoizedState=v,l.childLanes=fc(t,d,n),e.memoizedState=rc,os(t.child,l)):(sa(e),n=t.child,t=n.sibling,n=Mn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(d=e.deletions,d===null?(e.deletions=[t],e.flags|=16):d.push(t)),e.child=n,e.memoizedState=null,n)}function dc(t,e){return e=Qu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Qu(t,e){return t=Be(22,t,null,e),t.lanes=0,t}function hc(t,e,n){return $a(e,t.child,null,n),t=dc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Am(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Ar(t.return,e,n)}function mc(t,e,n,l,u,r){var d=t.memoizedState;d===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:u,treeForkCount:r}:(d.isBackwards=e,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=n,d.tailMode=u,d.treeForkCount=r)}function zm(t,e,n){var l=e.pendingProps,u=l.revealOrder,r=l.tail;l=l.children;var d=Ft.current,v=(d&2)!==0;if(v?(d=d&1|2,e.flags|=128):d&=1,$(Ft,d),de(t,e,l,n),l=zt?Pi:0,!v&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Am(t,n,e);else if(t.tag===19)Am(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(n=e.child,u=null;n!==null;)t=n.alternate,t!==null&&Au(t)===null&&(u=n),n=n.sibling;n=u,n===null?(u=e.child,e.child=null):(u=n.sibling,n.sibling=null),mc(e,!1,u,n,r,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&Au(t)===null){e.child=u;break}t=u.sibling,u.sibling=n,n=u,u=t}mc(e,!0,n,null,r,l);break;case"together":mc(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function Dn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),ca|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Vl(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(o(153));if(e.child!==null){for(t=e.child,n=Mn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Mn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function yc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Su(t)))}function I0(t,e,n){switch(e.tag){case 3:Bt(e,e.stateNode.containerInfo),na(e,Wt,t.memoizedState.cache),Za();break;case 27:case 5:Ke(e);break;case 4:Bt(e,e.stateNode.containerInfo);break;case 10:na(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Qr(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(sa(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Cm(t,e,n):(sa(e),t=Dn(t,e,n),t!==null?t.sibling:null);sa(e);break;case 19:var u=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(Vl(t,e,n,!1),l=(n&e.childLanes)!==0),u){if(l)return zm(t,e,n);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),$(Ft,Ft.current),l)break;return null;case 22:return e.lanes=0,xm(t,e,n,e.pendingProps);case 24:na(e,Wt,t.memoizedState.cache)}return Dn(t,e,n)}function Om(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)te=!0;else{if(!yc(t,n)&&(e.flags&128)===0)return te=!1,I0(t,e,n);te=(t.flags&131072)!==0}else te=!1,zt&&(e.flags&1048576)!==0&&oh(e,Pi,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=Ia(e.elementType),e.type=t,typeof t=="function")Sr(t)?(l=el(t,l),e.tag=1,e=Tm(null,e,t,l,n)):(e.tag=0,e=oc(null,e,t,l,n));else{if(t!=null){var u=t.$$typeof;if(u===w){e.tag=11,e=vm(null,e,t,l,n);break t}else if(u===N){e.tag=14,e=bm(null,e,t,l,n);break t}}throw e=st(t)||t,Error(o(306,e,""))}}return e;case 0:return oc(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,u=el(l,e.pendingProps),Tm(t,e,l,u,n);case 3:t:{if(Bt(e,e.stateNode.containerInfo),t===null)throw Error(o(387));l=e.pendingProps;var r=e.memoizedState;u=r.element,Nr(t,e),as(e,l,null,n);var d=e.memoizedState;if(l=d.cache,na(e,Wt,l),l!==r.cache&&zr(e,[Wt],n,!0),ns(),l=d.element,r.isDehydrated)if(r={element:l,isDehydrated:!1,cache:d.cache},e.updateQueue.baseState=r,e.memoizedState=r,e.flags&256){e=Mm(t,e,l,n);break t}else if(l!==u){u=Fe(Error(o(424)),e),Fi(u),e=Mm(t,e,l,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(kt=en(t.firstChild),ce=e,zt=!0,ta=null,$e=!0,n=xh(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Za(),l===u){e=Dn(t,e,n);break t}de(t,e,l,n)}e=e.child}return e;case 26:return qu(t,e),t===null?(n=Gy(e.type,null,e.pendingProps,null))?e.memoizedState=n:zt||(n=e.type,t=e.pendingProps,l=no(ht.current).createElement(n),l[re]=e,l[Re]=t,he(l,n,t),ie(l),e.stateNode=l):e.memoizedState=Gy(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ke(e),t===null&&zt&&(l=e.stateNode=Hy(e.type,e.pendingProps,ht.current),ce=e,$e=!0,u=kt,ya(e.type)?(Jc=u,kt=en(l.firstChild)):kt=u),de(t,e,e.pendingProps.children,n),qu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&zt&&((u=l=kt)&&(l=Cb(l,e.type,e.pendingProps,$e),l!==null?(e.stateNode=l,ce=e,kt=en(l.firstChild),$e=!1,u=!0):u=!1),u||ea(e)),Ke(e),u=e.type,r=e.pendingProps,d=t!==null?t.memoizedProps:null,l=r.children,kc(u,r)?l=null:d!==null&&kc(u,d)&&(e.flags|=32),e.memoizedState!==null&&(u=Yr(t,e,Y0,null,null,n),Rs._currentValue=u),qu(t,e),de(t,e,l,n),e.child;case 6:return t===null&&zt&&((t=n=kt)&&(n=Ab(n,e.pendingProps,$e),n!==null?(e.stateNode=n,ce=e,kt=null,t=!0):t=!1),t||ea(e)),null;case 13:return Cm(t,e,n);case 4:return Bt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=$a(e,null,l,n):de(t,e,l,n),e.child;case 11:return vm(t,e,e.type,e.pendingProps,n);case 7:return de(t,e,e.pendingProps,n),e.child;case 8:return de(t,e,e.pendingProps.children,n),e.child;case 12:return de(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,na(e,e.type,l.value),de(t,e,l.children,n),e.child;case 9:return u=e.type._context,l=e.pendingProps.children,Pa(e),u=fe(u),l=l(u),e.flags|=1,de(t,e,l,n),e.child;case 14:return bm(t,e,e.type,e.pendingProps,n);case 15:return Sm(t,e,e.type,e.pendingProps,n);case 19:return zm(t,e,n);case 31:return F0(t,e,n);case 22:return xm(t,e,n,e.pendingProps);case 24:return Pa(e),l=fe(Wt),t===null?(u=Dr(),u===null&&(u=Yt,r=Or(),u.pooledCache=r,r.refCount++,r!==null&&(u.pooledCacheLanes|=n),u=r),e.memoizedState={parent:l,cache:u},Ur(e),na(e,Wt,u)):((t.lanes&n)!==0&&(Nr(t,e),as(e,null,null,n),ns()),u=t.memoizedState,r=e.memoizedState,u.parent!==l?(u={parent:l,cache:l},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),na(e,Wt,l)):(l=r.cache,na(e,Wt,l),l!==u.cache&&zr(e,[Wt],n,!0))),de(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(o(156,e.tag))}function Ln(t){t.flags|=4}function gc(t,e,n,l,u){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(ay())t.flags|=8192;else throw Wa=Eu,Lr}else t.flags&=-16777217}function wm(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Ky(e))if(ay())t.flags|=8192;else throw Wa=Eu,Lr}function Gu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?cd():536870912,t.lanes|=e,ni|=e)}function rs(t,e){if(!zt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Vt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags&65011712,l|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function W0(t,e,n){var l=e.pendingProps;switch(Er(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vt(e),null;case 1:return Vt(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),zn(Wt),pt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(kl(e)?Ln(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Mr())),Vt(e),null;case 26:var u=e.type,r=e.memoizedState;return t===null?(Ln(e),r!==null?(Vt(e),wm(e,r)):(Vt(e),gc(e,u,null,l,n))):r?r!==t.memoizedState?(Ln(e),Vt(e),wm(e,r)):(Vt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&Ln(e),Vt(e),gc(e,u,t,l,n)),null;case 27:if(_e(e),n=ht.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Ln(e);else{if(!l){if(e.stateNode===null)throw Error(o(166));return Vt(e),null}t=nt.current,kl(e)?ch(e):(t=Hy(u,l,n),e.stateNode=t,Ln(e))}return Vt(e),null;case 5:if(_e(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Ln(e);else{if(!l){if(e.stateNode===null)throw Error(o(166));return Vt(e),null}if(r=nt.current,kl(e))ch(e);else{var d=no(ht.current);switch(r){case 1:r=d.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:r=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":r=d.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":r=d.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":r=d.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof l.is=="string"?d.createElement("select",{is:l.is}):d.createElement("select"),l.multiple?r.multiple=!0:l.size&&(r.size=l.size);break;default:r=typeof l.is=="string"?d.createElement(u,{is:l.is}):d.createElement(u)}}r[re]=e,r[Re]=l;t:for(d=e.child;d!==null;){if(d.tag===5||d.tag===6)r.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break t;for(;d.sibling===null;){if(d.return===null||d.return===e)break t;d=d.return}d.sibling.return=d.return,d=d.sibling}e.stateNode=r;t:switch(he(r,u,l),u){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&Ln(e)}}return Vt(e),gc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&Ln(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(o(166));if(t=ht.current,kl(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,u=ce,u!==null)switch(u.tag){case 27:case 5:l=u.memoizedProps}t[re]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||Cy(t.nodeValue,n)),t||ea(e,!0)}else t=no(t).createTextNode(l),t[re]=e,e.stateNode=t}return Vt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=kl(e),n!==null){if(t===null){if(!l)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[re]=e}else Za(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),t=!1}else n=Mr(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(qe(e),e):(qe(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Vt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=kl(e),l!==null&&l.dehydrated!==null){if(t===null){if(!u)throw Error(o(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[re]=e}else Za(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),u=!1}else u=Mr(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(qe(e),e):(qe(e),null)}return qe(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,u=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(u=l.alternate.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==u&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),Gu(e,e.updateQueue),Vt(e),null);case 4:return pt(),t===null&&Hc(e.stateNode.containerInfo),Vt(e),null;case 10:return zn(e.type),Vt(e),null;case 19:if(k(Ft),l=e.memoizedState,l===null)return Vt(e),null;if(u=(e.flags&128)!==0,r=l.rendering,r===null)if(u)rs(l,!1);else{if(Jt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(r=Au(t),r!==null){for(e.flags|=128,rs(l,!1),t=r.updateQueue,e.updateQueue=t,Gu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)ih(n,t),n=n.sibling;return $(Ft,Ft.current&1|2),zt&&Cn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&me()>Ku&&(e.flags|=128,u=!0,rs(l,!1),e.lanes=4194304)}else{if(!u)if(t=Au(r),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,Gu(e,t),rs(l,!0),l.tail===null&&l.tailMode==="hidden"&&!r.alternate&&!zt)return Vt(e),null}else 2*me()-l.renderingStartTime>Ku&&n!==536870912&&(e.flags|=128,u=!0,rs(l,!1),e.lanes=4194304);l.isBackwards?(r.sibling=e.child,e.child=r):(t=l.last,t!==null?t.sibling=r:e.child=r,l.last=r)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=me(),t.sibling=null,n=Ft.current,$(Ft,u?n&1|2:n&1),zt&&Cn(e,l.treeForkCount),t):(Vt(e),null);case 22:case 23:return qe(e),qr(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Vt(e),e.subtreeFlags&6&&(e.flags|=8192)):Vt(e),n=e.updateQueue,n!==null&&Gu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&k(Fa),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),zn(Wt),Vt(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function $0(t,e){switch(Er(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return zn(Wt),pt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return _e(e),null;case 31:if(e.memoizedState!==null){if(qe(e),e.alternate===null)throw Error(o(340));Za()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(qe(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));Za()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return k(Ft),null;case 4:return pt(),null;case 10:return zn(e.type),null;case 22:case 23:return qe(e),qr(),t!==null&&k(Fa),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return zn(Wt),null;case 25:return null;default:return null}}function Dm(t,e){switch(Er(e),e.tag){case 3:zn(Wt),pt();break;case 26:case 27:case 5:_e(e);break;case 4:pt();break;case 31:e.memoizedState!==null&&qe(e);break;case 13:qe(e);break;case 19:k(Ft);break;case 10:zn(e.type);break;case 22:case 23:qe(e),qr(),t!==null&&k(Fa);break;case 24:zn(Wt)}}function cs(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var u=l.next;n=u;do{if((n.tag&t)===t){l=void 0;var r=n.create,d=n.inst;l=r(),d.destroy=l}n=n.next}while(n!==u)}}catch(v){jt(e,e.return,v)}}function oa(t,e,n){try{var l=e.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var r=u.next;l=r;do{if((l.tag&t)===t){var d=l.inst,v=d.destroy;if(v!==void 0){d.destroy=void 0,u=e;var _=n,U=v;try{U()}catch(Q){jt(u,_,Q)}}}l=l.next}while(l!==r)}}catch(Q){jt(e,e.return,Q)}}function Lm(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Rh(e,n)}catch(l){jt(t,t.return,l)}}}function Um(t,e,n){n.props=el(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){jt(t,e,l)}}function fs(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(u){jt(t,e,u)}}function mn(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(u){jt(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(u){jt(t,e,u)}else n.current=null}function Nm(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(u){jt(t,t.return,u)}}function pc(t,e,n){try{var l=t.stateNode;xb(l,t.type,n,e),l[Re]=e}catch(u){jt(t,t.return,u)}}function jm(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ya(t.type)||t.tag===4}function vc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||jm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ya(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function bc(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=En));else if(l!==4&&(l===27&&ya(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(bc(t,e,n),t=t.sibling;t!==null;)bc(t,e,n),t=t.sibling}function Yu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&ya(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(Yu(t,e,n),t=t.sibling;t!==null;)Yu(t,e,n),t=t.sibling}function Bm(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);he(e,l,n),e[re]=t,e[Re]=n}catch(r){jt(t,t.return,r)}}var Un=!1,ee=!1,Sc=!1,Hm=typeof WeakSet=="function"?WeakSet:Set,se=null;function tb(t,e){if(t=t.containerInfo,Gc=ro,t=Fd(t),hr(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var u=l.anchorOffset,r=l.focusNode;l=l.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break t}var d=0,v=-1,_=-1,U=0,Q=0,V=t,j=null;e:for(;;){for(var H;V!==n||u!==0&&V.nodeType!==3||(v=d+u),V!==r||l!==0&&V.nodeType!==3||(_=d+l),V.nodeType===3&&(d+=V.nodeValue.length),(H=V.firstChild)!==null;)j=V,V=H;for(;;){if(V===t)break e;if(j===n&&++U===u&&(v=d),j===r&&++Q===l&&(_=d),(H=V.nextSibling)!==null)break;V=j,j=V.parentNode}V=H}n=v===-1||_===-1?null:{start:v,end:_}}else n=null}n=n||{start:0,end:0}}else n=null;for(Yc={focusedElem:t,selectionRange:n},ro=!1,se=e;se!==null;)if(e=se,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,se=t;else for(;se!==null;){switch(e=se,r=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)u=t[n],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&r!==null){t=void 0,n=e,u=r.memoizedProps,r=r.memoizedState,l=n.stateNode;try{var rt=el(n.type,u);t=l.getSnapshotBeforeUpdate(rt,r),l.__reactInternalSnapshotBeforeUpdate=t}catch(yt){jt(n,n.return,yt)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Xc(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Xc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=e.sibling,t!==null){t.return=e.return,se=t;break}se=e.return}}function qm(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:jn(t,n),l&4&&cs(5,n);break;case 1:if(jn(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(d){jt(n,n.return,d)}else{var u=el(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(d){jt(n,n.return,d)}}l&64&&Lm(n),l&512&&fs(n,n.return);break;case 3:if(jn(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{Rh(t,e)}catch(d){jt(n,n.return,d)}}break;case 27:e===null&&l&4&&Bm(n);case 26:case 5:jn(t,n),e===null&&l&4&&Nm(n),l&512&&fs(n,n.return);break;case 12:jn(t,n);break;case 31:jn(t,n),l&4&&Ym(t,n);break;case 13:jn(t,n),l&4&&km(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=rb.bind(null,n),zb(t,n))));break;case 22:if(l=n.memoizedState!==null||Un,!l){e=e!==null&&e.memoizedState!==null||ee,u=Un;var r=ee;Un=l,(ee=e)&&!r?Bn(t,n,(n.subtreeFlags&8772)!==0):jn(t,n),Un=u,ee=r}break;case 30:break;default:jn(t,n)}}function Qm(t){var e=t.alternate;e!==null&&(t.alternate=null,Qm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Fo(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Xt=null,Te=!1;function Nn(t,e,n){for(n=n.child;n!==null;)Gm(t,e,n),n=n.sibling}function Gm(t,e,n){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount(Ni,n)}catch{}switch(n.tag){case 26:ee||mn(n,e),Nn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ee||mn(n,e);var l=Xt,u=Te;ya(n.type)&&(Xt=n.stateNode,Te=!1),Nn(t,e,n),Ss(n.stateNode),Xt=l,Te=u;break;case 5:ee||mn(n,e);case 6:if(l=Xt,u=Te,Xt=null,Nn(t,e,n),Xt=l,Te=u,Xt!==null)if(Te)try{(Xt.nodeType===9?Xt.body:Xt.nodeName==="HTML"?Xt.ownerDocument.body:Xt).removeChild(n.stateNode)}catch(r){jt(n,e,r)}else try{Xt.removeChild(n.stateNode)}catch(r){jt(n,e,r)}break;case 18:Xt!==null&&(Te?(t=Xt,Ly(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),ci(t)):Ly(Xt,n.stateNode));break;case 4:l=Xt,u=Te,Xt=n.stateNode.containerInfo,Te=!0,Nn(t,e,n),Xt=l,Te=u;break;case 0:case 11:case 14:case 15:oa(2,n,e),ee||oa(4,n,e),Nn(t,e,n);break;case 1:ee||(mn(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&Um(n,e,l)),Nn(t,e,n);break;case 21:Nn(t,e,n);break;case 22:ee=(l=ee)||n.memoizedState!==null,Nn(t,e,n),ee=l;break;default:Nn(t,e,n)}}function Ym(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ci(t)}catch(n){jt(e,e.return,n)}}}function km(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ci(t)}catch(n){jt(e,e.return,n)}}function eb(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Hm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Hm),e;default:throw Error(o(435,t.tag))}}function ku(t,e){var n=eb(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var u=cb.bind(null,t,l);l.then(u,u)}})}function Me(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var u=n[l],r=t,d=e,v=d;t:for(;v!==null;){switch(v.tag){case 27:if(ya(v.type)){Xt=v.stateNode,Te=!1;break t}break;case 5:Xt=v.stateNode,Te=!1;break t;case 3:case 4:Xt=v.stateNode.containerInfo,Te=!0;break t}v=v.return}if(Xt===null)throw Error(o(160));Gm(r,d,u),Xt=null,Te=!1,r=u.alternate,r!==null&&(r.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Vm(e,t),e=e.sibling}var on=null;function Vm(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Me(e,t),Ce(t),l&4&&(oa(3,t,t.return),cs(3,t),oa(5,t,t.return));break;case 1:Me(e,t),Ce(t),l&512&&(ee||n===null||mn(n,n.return)),l&64&&Un&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var u=on;if(Me(e,t),Ce(t),l&512&&(ee||n===null||mn(n,n.return)),l&4){var r=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,u=u.ownerDocument||u;e:switch(l){case"title":r=u.getElementsByTagName("title")[0],(!r||r[Hi]||r[re]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=u.createElement(l),u.head.insertBefore(r,u.querySelector("head > title"))),he(r,l,n),r[re]=t,ie(r),l=r;break t;case"link":var d=Vy("link","href",u).get(l+(n.href||""));if(d){for(var v=0;v<d.length;v++)if(r=d[v],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(v,1);break e}}r=u.createElement(l),he(r,l,n),u.head.appendChild(r);break;case"meta":if(d=Vy("meta","content",u).get(l+(n.content||""))){for(v=0;v<d.length;v++)if(r=d[v],r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(v,1);break e}}r=u.createElement(l),he(r,l,n),u.head.appendChild(r);break;default:throw Error(o(468,l))}r[re]=t,ie(r),l=r}t.stateNode=l}else Xy(u,t.type,t.stateNode);else t.stateNode=ky(u,l,t.memoizedProps);else r!==l?(r===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):r.count--,l===null?Xy(u,t.type,t.stateNode):ky(u,l,t.memoizedProps)):l===null&&t.stateNode!==null&&pc(t,t.memoizedProps,n.memoizedProps)}break;case 27:Me(e,t),Ce(t),l&512&&(ee||n===null||mn(n,n.return)),n!==null&&l&4&&pc(t,t.memoizedProps,n.memoizedProps);break;case 5:if(Me(e,t),Ce(t),l&512&&(ee||n===null||mn(n,n.return)),t.flags&32){u=t.stateNode;try{Ll(u,"")}catch(rt){jt(t,t.return,rt)}}l&4&&t.stateNode!=null&&(u=t.memoizedProps,pc(t,u,n!==null?n.memoizedProps:u)),l&1024&&(Sc=!0);break;case 6:if(Me(e,t),Ce(t),l&4){if(t.stateNode===null)throw Error(o(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(rt){jt(t,t.return,rt)}}break;case 3:if(io=null,u=on,on=ao(e.containerInfo),Me(e,t),on=u,Ce(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{ci(e.containerInfo)}catch(rt){jt(t,t.return,rt)}Sc&&(Sc=!1,Xm(t));break;case 4:l=on,on=ao(t.stateNode.containerInfo),Me(e,t),Ce(t),on=l;break;case 12:Me(e,t),Ce(t);break;case 31:Me(e,t),Ce(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,ku(t,l)));break;case 13:Me(e,t),Ce(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Xu=me()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,ku(t,l)));break;case 22:u=t.memoizedState!==null;var _=n!==null&&n.memoizedState!==null,U=Un,Q=ee;if(Un=U||u,ee=Q||_,Me(e,t),ee=Q,Un=U,Ce(t),l&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(n===null||_||Un||ee||nl(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){_=n=e;try{if(r=_.stateNode,u)d=r.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{v=_.stateNode;var V=_.memoizedProps.style,j=V!=null&&V.hasOwnProperty("display")?V.display:null;v.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(rt){jt(_,_.return,rt)}}}else if(e.tag===6){if(n===null){_=e;try{_.stateNode.nodeValue=u?"":_.memoizedProps}catch(rt){jt(_,_.return,rt)}}}else if(e.tag===18){if(n===null){_=e;try{var H=_.stateNode;u?Uy(H,!0):Uy(_.stateNode,!1)}catch(rt){jt(_,_.return,rt)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,ku(t,n))));break;case 19:Me(e,t),Ce(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,ku(t,l)));break;case 30:break;case 21:break;default:Me(e,t),Ce(t)}}function Ce(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(jm(l)){n=l;break}l=l.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var u=n.stateNode,r=vc(t);Yu(t,r,u);break;case 5:var d=n.stateNode;n.flags&32&&(Ll(d,""),n.flags&=-33);var v=vc(t);Yu(t,v,d);break;case 3:case 4:var _=n.stateNode.containerInfo,U=vc(t);bc(t,U,_);break;default:throw Error(o(161))}}catch(Q){jt(t,t.return,Q)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Xm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Xm(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function jn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)qm(t,e.alternate,e),e=e.sibling}function nl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:oa(4,e,e.return),nl(e);break;case 1:mn(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Um(e,e.return,n),nl(e);break;case 27:Ss(e.stateNode);case 26:case 5:mn(e,e.return),nl(e);break;case 22:e.memoizedState===null&&nl(e);break;case 30:nl(e);break;default:nl(e)}t=t.sibling}}function Bn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,u=t,r=e,d=r.flags;switch(r.tag){case 0:case 11:case 15:Bn(u,r,n),cs(4,r);break;case 1:if(Bn(u,r,n),l=r,u=l.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(U){jt(l,l.return,U)}if(l=r,u=l.updateQueue,u!==null){var v=l.stateNode;try{var _=u.shared.hiddenCallbacks;if(_!==null)for(u.shared.hiddenCallbacks=null,u=0;u<_.length;u++)_h(_[u],v)}catch(U){jt(l,l.return,U)}}n&&d&64&&Lm(r),fs(r,r.return);break;case 27:Bm(r);case 26:case 5:Bn(u,r,n),n&&l===null&&d&4&&Nm(r),fs(r,r.return);break;case 12:Bn(u,r,n);break;case 31:Bn(u,r,n),n&&d&4&&Ym(u,r);break;case 13:Bn(u,r,n),n&&d&4&&km(u,r);break;case 22:r.memoizedState===null&&Bn(u,r,n),fs(r,r.return);break;case 30:break;default:Bn(u,r,n)}e=e.sibling}}function xc(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Ii(n))}function _c(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Ii(t))}function rn(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Km(t,e,n,l),e=e.sibling}function Km(t,e,n,l){var u=e.flags;switch(e.tag){case 0:case 11:case 15:rn(t,e,n,l),u&2048&&cs(9,e);break;case 1:rn(t,e,n,l);break;case 3:rn(t,e,n,l),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Ii(t)));break;case 12:if(u&2048){rn(t,e,n,l),t=e.stateNode;try{var r=e.memoizedProps,d=r.id,v=r.onPostCommit;typeof v=="function"&&v(d,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(_){jt(e,e.return,_)}}else rn(t,e,n,l);break;case 31:rn(t,e,n,l);break;case 13:rn(t,e,n,l);break;case 23:break;case 22:r=e.stateNode,d=e.alternate,e.memoizedState!==null?r._visibility&2?rn(t,e,n,l):ds(t,e):r._visibility&2?rn(t,e,n,l):(r._visibility|=2,$l(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),u&2048&&xc(d,e);break;case 24:rn(t,e,n,l),u&2048&&_c(e.alternate,e);break;default:rn(t,e,n,l)}}function $l(t,e,n,l,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var r=t,d=e,v=n,_=l,U=d.flags;switch(d.tag){case 0:case 11:case 15:$l(r,d,v,_,u),cs(8,d);break;case 23:break;case 22:var Q=d.stateNode;d.memoizedState!==null?Q._visibility&2?$l(r,d,v,_,u):ds(r,d):(Q._visibility|=2,$l(r,d,v,_,u)),u&&U&2048&&xc(d.alternate,d);break;case 24:$l(r,d,v,_,u),u&&U&2048&&_c(d.alternate,d);break;default:$l(r,d,v,_,u)}e=e.sibling}}function ds(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,u=l.flags;switch(l.tag){case 22:ds(n,l),u&2048&&xc(l.alternate,l);break;case 24:ds(n,l),u&2048&&_c(l.alternate,l);break;default:ds(n,l)}e=e.sibling}}var hs=8192;function ti(t,e,n){if(t.subtreeFlags&hs)for(t=t.child;t!==null;)Zm(t,e,n),t=t.sibling}function Zm(t,e,n){switch(t.tag){case 26:ti(t,e,n),t.flags&hs&&t.memoizedState!==null&&Gb(n,on,t.memoizedState,t.memoizedProps);break;case 5:ti(t,e,n);break;case 3:case 4:var l=on;on=ao(t.stateNode.containerInfo),ti(t,e,n),on=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=hs,hs=16777216,ti(t,e,n),hs=l):ti(t,e,n));break;default:ti(t,e,n)}}function Jm(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function ms(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];se=l,Fm(l,t)}Jm(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Pm(t),t=t.sibling}function Pm(t){switch(t.tag){case 0:case 11:case 15:ms(t),t.flags&2048&&oa(9,t,t.return);break;case 3:ms(t);break;case 12:ms(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Vu(t)):ms(t);break;default:ms(t)}}function Vu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];se=l,Fm(l,t)}Jm(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:oa(8,e,e.return),Vu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,Vu(e));break;default:Vu(e)}t=t.sibling}}function Fm(t,e){for(;se!==null;){var n=se;switch(n.tag){case 0:case 11:case 15:oa(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Ii(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,se=l;else t:for(n=t;se!==null;){l=se;var u=l.sibling,r=l.return;if(Qm(l),l===n){se=null;break t}if(u!==null){u.return=r,se=u;break t}se=r}}}var nb={getCacheForType:function(t){var e=fe(Wt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return fe(Wt).controller.signal}},ab=typeof WeakMap=="function"?WeakMap:Map,Lt=0,Yt=null,Et=null,Mt=0,Nt=0,Qe=null,ra=!1,ei=!1,Rc=!1,Hn=0,Jt=0,ca=0,al=0,Ec=0,Ge=0,ni=0,ys=null,Ae=null,Tc=!1,Xu=0,Im=0,Ku=1/0,Zu=null,fa=null,ne=0,da=null,ai=null,qn=0,Mc=0,Cc=null,Wm=null,gs=0,Ac=null;function Ye(){return(Lt&2)!==0&&Mt!==0?Mt&-Mt:D.T!==null?Uc():md()}function $m(){if(Ge===0)if((Mt&536870912)===0||zt){var t=eu;eu<<=1,(eu&3932160)===0&&(eu=262144),Ge=t}else Ge=536870912;return t=He.current,t!==null&&(t.flags|=32),Ge}function ze(t,e,n){(t===Yt&&(Nt===2||Nt===9)||t.cancelPendingCommit!==null)&&(li(t,0),ha(t,Mt,Ge,!1)),Bi(t,n),((Lt&2)===0||t!==Yt)&&(t===Yt&&((Lt&2)===0&&(al|=n),Jt===4&&ha(t,Mt,Ge,!1)),yn(t))}function ty(t,e,n){if((Lt&6)!==0)throw Error(o(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||ji(t,e),u=l?sb(t,e):Oc(t,e,!0),r=l;do{if(u===0){ei&&!l&&ha(t,e,0,!1);break}else{if(n=t.current.alternate,r&&!lb(n)){u=Oc(t,e,!1),r=!1;continue}if(u===2){if(r=e,t.errorRecoveryDisabledLanes&r)var d=0;else d=t.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){e=d;t:{var v=t;u=ys;var _=v.current.memoizedState.isDehydrated;if(_&&(li(v,d).flags|=256),d=Oc(v,d,!1),d!==2){if(Rc&&!_){v.errorRecoveryDisabledLanes|=r,al|=r,u=4;break t}r=Ae,Ae=u,r!==null&&(Ae===null?Ae=r:Ae.push.apply(Ae,r))}u=d}if(r=!1,u!==2)continue}}if(u===1){li(t,0),ha(t,e,0,!0);break}t:{switch(l=t,r=u,r){case 0:case 1:throw Error(o(345));case 4:if((e&4194048)!==e)break;case 6:ha(l,e,Ge,!ra);break t;case 2:Ae=null;break;case 3:case 5:break;default:throw Error(o(329))}if((e&62914560)===e&&(u=Xu+300-me(),10<u)){if(ha(l,e,Ge,!ra),au(l,0,!0)!==0)break t;qn=e,l.timeoutHandle=wy(ey.bind(null,l,n,Ae,Zu,Tc,e,Ge,al,ni,ra,r,"Throttled",-0,0),u);break t}ey(l,n,Ae,Zu,Tc,e,Ge,al,ni,ra,r,null,-0,0)}}break}while(!0);yn(t)}function ey(t,e,n,l,u,r,d,v,_,U,Q,V,j,H){if(t.timeoutHandle=-1,V=e.subtreeFlags,V&8192||(V&16785408)===16785408){V={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:En},Zm(e,r,V);var rt=(r&62914560)===r?Xu-me():(r&4194048)===r?Im-me():0;if(rt=Yb(V,rt),rt!==null){qn=r,t.cancelPendingCommit=rt(ry.bind(null,t,e,r,n,l,u,d,v,_,Q,V,null,j,H)),ha(t,r,d,!U);return}}ry(t,e,r,n,l,u,d,v,_)}function lb(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var u=n[l],r=u.getSnapshot;u=u.value;try{if(!je(r(),u))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function ha(t,e,n,l){e&=~Ec,e&=~al,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var u=e;0<u;){var r=31-Ne(u),d=1<<r;l[r]=-1,u&=~d}n!==0&&fd(t,n,e)}function Ju(){return(Lt&6)===0?(ps(0),!1):!0}function zc(){if(Et!==null){if(Nt===0)var t=Et.return;else t=Et,An=Ja=null,Xr(t),Jl=null,$i=0,t=Et;for(;t!==null;)Dm(t.alternate,t),t=t.return;Et=null}}function li(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,Eb(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),qn=0,zc(),Yt=t,Et=n=Mn(t.current,null),Mt=e,Nt=0,Qe=null,ra=!1,ei=ji(t,e),Rc=!1,ni=Ge=Ec=al=ca=Jt=0,Ae=ys=null,Tc=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var u=31-Ne(l),r=1<<u;e|=t[u],l&=~r}return Hn=e,yu(),n}function ny(t,e){bt=null,D.H=us,e===Zl||e===Ru?(e=vh(),Nt=3):e===Lr?(e=vh(),Nt=4):Nt=e===uc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Qe=e,Et===null&&(Jt=1,Bu(t,Fe(e,t.current)))}function ay(){var t=He.current;return t===null?!0:(Mt&4194048)===Mt?tn===null:(Mt&62914560)===Mt||(Mt&536870912)!==0?t===tn:!1}function ly(){var t=D.H;return D.H=us,t===null?us:t}function iy(){var t=D.A;return D.A=nb,t}function Pu(){Jt=4,ra||(Mt&4194048)!==Mt&&He.current!==null||(ei=!0),(ca&134217727)===0&&(al&134217727)===0||Yt===null||ha(Yt,Mt,Ge,!1)}function Oc(t,e,n){var l=Lt;Lt|=2;var u=ly(),r=iy();(Yt!==t||Mt!==e)&&(Zu=null,li(t,e)),e=!1;var d=Jt;t:do try{if(Nt!==0&&Et!==null){var v=Et,_=Qe;switch(Nt){case 8:zc(),d=6;break t;case 3:case 2:case 9:case 6:He.current===null&&(e=!0);var U=Nt;if(Nt=0,Qe=null,ii(t,v,_,U),n&&ei){d=0;break t}break;default:U=Nt,Nt=0,Qe=null,ii(t,v,_,U)}}ib(),d=Jt;break}catch(Q){ny(t,Q)}while(!0);return e&&t.shellSuspendCounter++,An=Ja=null,Lt=l,D.H=u,D.A=r,Et===null&&(Yt=null,Mt=0,yu()),d}function ib(){for(;Et!==null;)sy(Et)}function sb(t,e){var n=Lt;Lt|=2;var l=ly(),u=iy();Yt!==t||Mt!==e?(Zu=null,Ku=me()+500,li(t,e)):ei=ji(t,e);t:do try{if(Nt!==0&&Et!==null){e=Et;var r=Qe;e:switch(Nt){case 1:Nt=0,Qe=null,ii(t,e,r,1);break;case 2:case 9:if(gh(r)){Nt=0,Qe=null,uy(e);break}e=function(){Nt!==2&&Nt!==9||Yt!==t||(Nt=7),yn(t)},r.then(e,e);break t;case 3:Nt=7;break t;case 4:Nt=5;break t;case 7:gh(r)?(Nt=0,Qe=null,uy(e)):(Nt=0,Qe=null,ii(t,e,r,7));break;case 5:var d=null;switch(Et.tag){case 26:d=Et.memoizedState;case 5:case 27:var v=Et;if(d?Ky(d):v.stateNode.complete){Nt=0,Qe=null;var _=v.sibling;if(_!==null)Et=_;else{var U=v.return;U!==null?(Et=U,Fu(U)):Et=null}break e}}Nt=0,Qe=null,ii(t,e,r,5);break;case 6:Nt=0,Qe=null,ii(t,e,r,6);break;case 8:zc(),Jt=6;break t;default:throw Error(o(462))}}ub();break}catch(Q){ny(t,Q)}while(!0);return An=Ja=null,D.H=l,D.A=u,Lt=n,Et!==null?0:(Yt=null,Mt=0,yu(),Jt)}function ub(){for(;Et!==null&&!$s();)sy(Et)}function sy(t){var e=Om(t.alternate,t,Hn);t.memoizedProps=t.pendingProps,e===null?Fu(t):Et=e}function uy(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Em(n,e,e.pendingProps,e.type,void 0,Mt);break;case 11:e=Em(n,e,e.pendingProps,e.type.render,e.ref,Mt);break;case 5:Xr(e);default:Dm(n,e),e=Et=ih(e,Hn),e=Om(n,e,Hn)}t.memoizedProps=t.pendingProps,e===null?Fu(t):Et=e}function ii(t,e,n,l){An=Ja=null,Xr(e),Jl=null,$i=0;var u=e.return;try{if(P0(t,u,e,n,Mt)){Jt=1,Bu(t,Fe(n,t.current)),Et=null;return}}catch(r){if(u!==null)throw Et=u,r;Jt=1,Bu(t,Fe(n,t.current)),Et=null;return}e.flags&32768?(zt||l===1?t=!0:ei||(Mt&536870912)!==0?t=!1:(ra=t=!0,(l===2||l===9||l===3||l===6)&&(l=He.current,l!==null&&l.tag===13&&(l.flags|=16384))),oy(e,t)):Fu(e)}function Fu(t){var e=t;do{if((e.flags&32768)!==0){oy(e,ra);return}t=e.return;var n=W0(e.alternate,e,Hn);if(n!==null){Et=n;return}if(e=e.sibling,e!==null){Et=e;return}Et=e=t}while(e!==null);Jt===0&&(Jt=5)}function oy(t,e){do{var n=$0(t.alternate,t);if(n!==null){n.flags&=32767,Et=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){Et=t;return}Et=t=n}while(t!==null);Jt=6,Et=null}function ry(t,e,n,l,u,r,d,v,_){t.cancelPendingCommit=null;do Iu();while(ne!==0);if((Lt&6)!==0)throw Error(o(327));if(e!==null){if(e===t.current)throw Error(o(177));if(r=e.lanes|e.childLanes,r|=vr,Qv(t,n,r,d,v,_),t===Yt&&(Et=Yt=null,Mt=0),ai=e,da=t,qn=n,Mc=r,Cc=u,Wm=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,fb(Ml,function(){return my(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=D.T,D.T=null,u=G.p,G.p=2,d=Lt,Lt|=4;try{tb(t,e,n)}finally{Lt=d,G.p=u,D.T=l}}ne=1,cy(),fy(),dy()}}function cy(){if(ne===1){ne=0;var t=da,e=ai,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=D.T,D.T=null;var l=G.p;G.p=2;var u=Lt;Lt|=4;try{Vm(e,t);var r=Yc,d=Fd(t.containerInfo),v=r.focusedElem,_=r.selectionRange;if(d!==v&&v&&v.ownerDocument&&Pd(v.ownerDocument.documentElement,v)){if(_!==null&&hr(v)){var U=_.start,Q=_.end;if(Q===void 0&&(Q=U),"selectionStart"in v)v.selectionStart=U,v.selectionEnd=Math.min(Q,v.value.length);else{var V=v.ownerDocument||document,j=V&&V.defaultView||window;if(j.getSelection){var H=j.getSelection(),rt=v.textContent.length,yt=Math.min(_.start,rt),Gt=_.end===void 0?yt:Math.min(_.end,rt);!H.extend&&yt>Gt&&(d=Gt,Gt=yt,yt=d);var O=Jd(v,yt),M=Jd(v,Gt);if(O&&M&&(H.rangeCount!==1||H.anchorNode!==O.node||H.anchorOffset!==O.offset||H.focusNode!==M.node||H.focusOffset!==M.offset)){var L=V.createRange();L.setStart(O.node,O.offset),H.removeAllRanges(),yt>Gt?(H.addRange(L),H.extend(M.node,M.offset)):(L.setEnd(M.node,M.offset),H.addRange(L))}}}}for(V=[],H=v;H=H.parentNode;)H.nodeType===1&&V.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<V.length;v++){var Y=V[v];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}ro=!!Gc,Yc=Gc=null}finally{Lt=u,G.p=l,D.T=n}}t.current=e,ne=2}}function fy(){if(ne===2){ne=0;var t=da,e=ai,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=D.T,D.T=null;var l=G.p;G.p=2;var u=Lt;Lt|=4;try{qm(t,e.alternate,e)}finally{Lt=u,G.p=l,D.T=n}}ne=3}}function dy(){if(ne===4||ne===3){ne=0,Xo();var t=da,e=ai,n=qn,l=Wm;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ne=5:(ne=0,ai=da=null,hy(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(fa=null),Jo(n),e=e.stateNode,Ue&&typeof Ue.onCommitFiberRoot=="function")try{Ue.onCommitFiberRoot(Ni,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=D.T,u=G.p,G.p=2,D.T=null;try{for(var r=t.onRecoverableError,d=0;d<l.length;d++){var v=l[d];r(v.value,{componentStack:v.stack})}}finally{D.T=e,G.p=u}}(qn&3)!==0&&Iu(),yn(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?t===Ac?gs++:(gs=0,Ac=t):gs=0,ps(0)}}function hy(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Ii(e)))}function Iu(){return cy(),fy(),dy(),my()}function my(){if(ne!==5)return!1;var t=da,e=Mc;Mc=0;var n=Jo(qn),l=D.T,u=G.p;try{G.p=32>n?32:n,D.T=null,n=Cc,Cc=null;var r=da,d=qn;if(ne=0,ai=da=null,qn=0,(Lt&6)!==0)throw Error(o(331));var v=Lt;if(Lt|=4,Pm(r.current),Km(r,r.current,d,n),Lt=v,ps(0,!1),Ue&&typeof Ue.onPostCommitFiberRoot=="function")try{Ue.onPostCommitFiberRoot(Ni,r)}catch{}return!0}finally{G.p=u,D.T=l,hy(t,e)}}function yy(t,e,n){e=Fe(n,e),e=sc(t.stateNode,e,2),t=ia(t,e,2),t!==null&&(Bi(t,2),yn(t))}function jt(t,e,n){if(t.tag===3)yy(t,t,n);else for(;e!==null;){if(e.tag===3){yy(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(fa===null||!fa.has(l))){t=Fe(n,t),n=gm(2),l=ia(e,n,2),l!==null&&(pm(n,l,e,t),Bi(l,2),yn(l));break}}e=e.return}}function wc(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new ab;var u=new Set;l.set(e,u)}else u=l.get(e),u===void 0&&(u=new Set,l.set(e,u));u.has(n)||(Rc=!0,u.add(n),t=ob.bind(null,t,e,n),e.then(t,t))}function ob(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Yt===t&&(Mt&n)===n&&(Jt===4||Jt===3&&(Mt&62914560)===Mt&&300>me()-Xu?(Lt&2)===0&&li(t,0):Ec|=n,ni===Mt&&(ni=0)),yn(t)}function gy(t,e){e===0&&(e=cd()),t=Xa(t,e),t!==null&&(Bi(t,e),yn(t))}function rb(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),gy(t,n)}function cb(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(e),gy(t,n)}function fb(t,e){return sn(t,e)}var Wu=null,si=null,Dc=!1,$u=!1,Lc=!1,ma=0;function yn(t){t!==si&&t.next===null&&(si===null?Wu=si=t:si=si.next=t),$u=!0,Dc||(Dc=!0,hb())}function ps(t,e){if(!Lc&&$u){Lc=!0;do for(var n=!1,l=Wu;l!==null;){if(t!==0){var u=l.pendingLanes;if(u===0)var r=0;else{var d=l.suspendedLanes,v=l.pingedLanes;r=(1<<31-Ne(42|t)+1)-1,r&=u&~(d&~v),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,Sy(l,r))}else r=Mt,r=au(l,l===Yt?r:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(r&3)===0||ji(l,r)||(n=!0,Sy(l,r));l=l.next}while(n);Lc=!1}}function db(){py()}function py(){$u=Dc=!1;var t=0;ma!==0&&Rb()&&(t=ma);for(var e=me(),n=null,l=Wu;l!==null;){var u=l.next,r=vy(l,e);r===0?(l.next=null,n===null?Wu=u:n.next=u,u===null&&(si=n)):(n=l,(t!==0||(r&3)!==0)&&($u=!0)),l=u}ne!==0&&ne!==5||ps(t),ma!==0&&(ma=0)}function vy(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,u=t.expirationTimes,r=t.pendingLanes&-62914561;0<r;){var d=31-Ne(r),v=1<<d,_=u[d];_===-1?((v&n)===0||(v&l)!==0)&&(u[d]=qv(v,e)):_<=e&&(t.expiredLanes|=v),r&=~v}if(e=Yt,n=Mt,n=au(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(Nt===2||Nt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Ui(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||ji(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&Ui(l),Jo(n)){case 2:case 8:n=fn;break;case 32:n=Ml;break;case 268435456:n=rd;break;default:n=Ml}return l=by.bind(null,t),n=sn(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&Ui(l),t.callbackPriority=2,t.callbackNode=null,2}function by(t,e){if(ne!==0&&ne!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Iu()&&t.callbackNode!==n)return null;var l=Mt;return l=au(t,t===Yt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(ty(t,l,e),vy(t,me()),t.callbackNode!=null&&t.callbackNode===n?by.bind(null,t):null)}function Sy(t,e){if(Iu())return null;ty(t,e,!0)}function hb(){Tb(function(){(Lt&6)!==0?sn(oe,db):py()})}function Uc(){if(ma===0){var t=Xl;t===0&&(t=tu,tu<<=1,(tu&261888)===0&&(tu=256)),ma=t}return ma}function xy(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:uu(""+t)}function _y(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function mb(t,e,n,l,u){if(e==="submit"&&n&&n.stateNode===u){var r=xy((u[Re]||null).action),d=l.submitter;d&&(e=(e=d[Re]||null)?xy(e.formAction):d.getAttribute("formAction"),e!==null&&(r=e,d=null));var v=new fu("action","action",null,l,u);t.push({event:v,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(ma!==0){var _=d?_y(u,d):new FormData(u);tc(n,{pending:!0,data:_,method:u.method,action:r},null,_)}}else typeof r=="function"&&(v.preventDefault(),_=d?_y(u,d):new FormData(u),tc(n,{pending:!0,data:_,method:u.method,action:r},r,_))},currentTarget:u}]})}}for(var Nc=0;Nc<pr.length;Nc++){var jc=pr[Nc],yb=jc.toLowerCase(),gb=jc[0].toUpperCase()+jc.slice(1);un(yb,"on"+gb)}un($d,"onAnimationEnd"),un(th,"onAnimationIteration"),un(eh,"onAnimationStart"),un("dblclick","onDoubleClick"),un("focusin","onFocus"),un("focusout","onBlur"),un(D0,"onTransitionRun"),un(L0,"onTransitionStart"),un(U0,"onTransitionCancel"),un(nh,"onTransitionEnd"),wl("onMouseEnter",["mouseout","mouseover"]),wl("onMouseLeave",["mouseout","mouseover"]),wl("onPointerEnter",["pointerout","pointerover"]),wl("onPointerLeave",["pointerout","pointerover"]),Ga("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ga("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ga("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ga("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ga("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ga("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vs="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(" "),pb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(vs));function Ry(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],u=l.event;l=l.listeners;t:{var r=void 0;if(e)for(var d=l.length-1;0<=d;d--){var v=l[d],_=v.instance,U=v.currentTarget;if(v=v.listener,_!==r&&u.isPropagationStopped())break t;r=v,u.currentTarget=U;try{r(u)}catch(Q){mu(Q)}u.currentTarget=null,r=_}else for(d=0;d<l.length;d++){if(v=l[d],_=v.instance,U=v.currentTarget,v=v.listener,_!==r&&u.isPropagationStopped())break t;r=v,u.currentTarget=U;try{r(u)}catch(Q){mu(Q)}u.currentTarget=null,r=_}}}}function Tt(t,e){var n=e[Po];n===void 0&&(n=e[Po]=new Set);var l=t+"__bubble";n.has(l)||(Ey(e,t,2,!1),n.add(l))}function Bc(t,e,n){var l=0;e&&(l|=4),Ey(n,t,l,e)}var to="_reactListening"+Math.random().toString(36).slice(2);function Hc(t){if(!t[to]){t[to]=!0,pd.forEach(function(n){n!=="selectionchange"&&(pb.has(n)||Bc(n,!1,t),Bc(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[to]||(e[to]=!0,Bc("selectionchange",!1,e))}}function Ey(t,e,n,l){switch($y(e)){case 2:var u=Xb;break;case 8:u=Kb;break;default:u=$c}n=u.bind(null,e,n,t),u=void 0,!lr||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),l?u!==void 0?t.addEventListener(e,n,{capture:!0,passive:u}):t.addEventListener(e,n,!0):u!==void 0?t.addEventListener(e,n,{passive:u}):t.addEventListener(e,n,!1)}function qc(t,e,n,l,u){var r=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var d=l.tag;if(d===3||d===4){var v=l.stateNode.containerInfo;if(v===u)break;if(d===4)for(d=l.return;d!==null;){var _=d.tag;if((_===3||_===4)&&d.stateNode.containerInfo===u)return;d=d.return}for(;v!==null;){if(d=Al(v),d===null)return;if(_=d.tag,_===5||_===6||_===26||_===27){l=r=d;continue t}v=v.parentNode}}l=l.return}zd(function(){var U=r,Q=nr(n),V=[];t:{var j=ah.get(t);if(j!==void 0){var H=fu,rt=t;switch(t){case"keypress":if(ru(n)===0)break t;case"keydown":case"keyup":H=c0;break;case"focusin":rt="focus",H=or;break;case"focusout":rt="blur",H=or;break;case"beforeblur":case"afterblur":H=or;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=Dd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=Wv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=h0;break;case $d:case th:case eh:H=e0;break;case nh:H=y0;break;case"scroll":case"scrollend":H=Fv;break;case"wheel":H=p0;break;case"copy":case"cut":case"paste":H=a0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=Ud;break;case"toggle":case"beforetoggle":H=b0}var yt=(e&4)!==0,Gt=!yt&&(t==="scroll"||t==="scrollend"),O=yt?j!==null?j+"Capture":null:j;yt=[];for(var M=U,L;M!==null;){var Y=M;if(L=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||L===null||O===null||(Y=Qi(M,O),Y!=null&&yt.push(bs(M,Y,L))),Gt)break;M=M.return}0<yt.length&&(j=new H(j,rt,null,n,Q),V.push({event:j,listeners:yt}))}}if((e&7)===0){t:{if(j=t==="mouseover"||t==="pointerover",H=t==="mouseout"||t==="pointerout",j&&n!==er&&(rt=n.relatedTarget||n.fromElement)&&(Al(rt)||rt[Cl]))break t;if((H||j)&&(j=Q.window===Q?Q:(j=Q.ownerDocument)?j.defaultView||j.parentWindow:window,H?(rt=n.relatedTarget||n.toElement,H=U,rt=rt?Al(rt):null,rt!==null&&(Gt=f(rt),yt=rt.tag,rt!==Gt||yt!==5&&yt!==27&&yt!==6)&&(rt=null)):(H=null,rt=U),H!==rt)){if(yt=Dd,Y="onMouseLeave",O="onMouseEnter",M="mouse",(t==="pointerout"||t==="pointerover")&&(yt=Ud,Y="onPointerLeave",O="onPointerEnter",M="pointer"),Gt=H==null?j:qi(H),L=rt==null?j:qi(rt),j=new yt(Y,M+"leave",H,n,Q),j.target=Gt,j.relatedTarget=L,Y=null,Al(Q)===U&&(yt=new yt(O,M+"enter",rt,n,Q),yt.target=L,yt.relatedTarget=Gt,Y=yt),Gt=Y,H&&rt)e:{for(yt=vb,O=H,M=rt,L=0,Y=O;Y;Y=yt(Y))L++;Y=0;for(var mt=M;mt;mt=yt(mt))Y++;for(;0<L-Y;)O=yt(O),L--;for(;0<Y-L;)M=yt(M),Y--;for(;L--;){if(O===M||M!==null&&O===M.alternate){yt=O;break e}O=yt(O),M=yt(M)}yt=null}else yt=null;H!==null&&Ty(V,j,H,yt,!1),rt!==null&&Gt!==null&&Ty(V,Gt,rt,yt,!0)}}t:{if(j=U?qi(U):window,H=j.nodeName&&j.nodeName.toLowerCase(),H==="select"||H==="input"&&j.type==="file")var wt=Yd;else if(Qd(j))if(kd)wt=z0;else{wt=C0;var ft=M0}else H=j.nodeName,!H||H.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?U&&tr(U.elementType)&&(wt=Yd):wt=A0;if(wt&&(wt=wt(t,U))){Gd(V,wt,n,Q);break t}ft&&ft(t,j,U),t==="focusout"&&U&&j.type==="number"&&U.memoizedProps.value!=null&&$o(j,"number",j.value)}switch(ft=U?qi(U):window,t){case"focusin":(Qd(ft)||ft.contentEditable==="true")&&(Bl=ft,mr=U,Ji=null);break;case"focusout":Ji=mr=Bl=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,Id(V,n,Q);break;case"selectionchange":if(w0)break;case"keydown":case"keyup":Id(V,n,Q)}var St;if(cr)t:{switch(t){case"compositionstart":var Ct="onCompositionStart";break t;case"compositionend":Ct="onCompositionEnd";break t;case"compositionupdate":Ct="onCompositionUpdate";break t}Ct=void 0}else jl?Hd(t,n)&&(Ct="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(Ct="onCompositionStart");Ct&&(Nd&&n.locale!=="ko"&&(jl||Ct!=="onCompositionStart"?Ct==="onCompositionEnd"&&jl&&(St=Od()):(Wn=Q,ir="value"in Wn?Wn.value:Wn.textContent,jl=!0)),ft=eo(U,Ct),0<ft.length&&(Ct=new Ld(Ct,t,null,n,Q),V.push({event:Ct,listeners:ft}),St?Ct.data=St:(St=qd(n),St!==null&&(Ct.data=St)))),(St=x0?_0(t,n):R0(t,n))&&(Ct=eo(U,"onBeforeInput"),0<Ct.length&&(ft=new Ld("onBeforeInput","beforeinput",null,n,Q),V.push({event:ft,listeners:Ct}),ft.data=St)),mb(V,t,U,n,Q)}Ry(V,e)})}function bs(t,e,n){return{instance:t,listener:e,currentTarget:n}}function eo(t,e){for(var n=e+"Capture",l=[];t!==null;){var u=t,r=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||r===null||(u=Qi(t,n),u!=null&&l.unshift(bs(t,u,r)),u=Qi(t,e),u!=null&&l.push(bs(t,u,r))),t.tag===3)return l;t=t.return}return[]}function vb(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ty(t,e,n,l,u){for(var r=e._reactName,d=[];n!==null&&n!==l;){var v=n,_=v.alternate,U=v.stateNode;if(v=v.tag,_!==null&&_===l)break;v!==5&&v!==26&&v!==27||U===null||(_=U,u?(U=Qi(n,r),U!=null&&d.unshift(bs(n,U,_))):u||(U=Qi(n,r),U!=null&&d.push(bs(n,U,_)))),n=n.return}d.length!==0&&t.push({event:e,listeners:d})}var bb=/\r\n?/g,Sb=/\u0000|\uFFFD/g;function My(t){return(typeof t=="string"?t:""+t).replace(bb,`
`).replace(Sb,"")}function Cy(t,e){return e=My(e),My(t)===e}function Qt(t,e,n,l,u,r){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Ll(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Ll(t,""+l);break;case"className":iu(t,"class",l);break;case"tabIndex":iu(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":iu(t,n,l);break;case"style":Cd(t,l,r);break;case"data":if(e!=="object"){iu(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=uu(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(n==="formAction"?(e!=="input"&&Qt(t,e,"name",u.name,u,null),Qt(t,e,"formEncType",u.formEncType,u,null),Qt(t,e,"formMethod",u.formMethod,u,null),Qt(t,e,"formTarget",u.formTarget,u,null)):(Qt(t,e,"encType",u.encType,u,null),Qt(t,e,"method",u.method,u,null),Qt(t,e,"target",u.target,u,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=uu(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=En);break;case"onScroll":l!=null&&Tt("scroll",t);break;case"onScrollEnd":l!=null&&Tt("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=uu(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);break;case"inert":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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":Tt("beforetoggle",t),Tt("toggle",t),lu(t,"popover",l);break;case"xlinkActuate":Rn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Rn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Rn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Rn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Rn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Rn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Rn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Rn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Rn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":lu(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Jv.get(n)||n,lu(t,n,l))}}function Qc(t,e,n,l,u,r){switch(n){case"style":Cd(t,l,r);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=n}}break;case"children":typeof l=="string"?Ll(t,l):(typeof l=="number"||typeof l=="bigint")&&Ll(t,""+l);break;case"onScroll":l!=null&&Tt("scroll",t);break;case"onScrollEnd":l!=null&&Tt("scrollend",t);break;case"onClick":l!=null&&(t.onclick=En);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!vd.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),e=n.slice(2,u?n.length-7:void 0),r=t[Re]||null,r=r!=null?r[n]:null,typeof r=="function"&&t.removeEventListener(e,r,u),typeof l=="function")){typeof r!="function"&&r!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,u);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):lu(t,n,l)}}}function he(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Tt("error",t),Tt("load",t);var l=!1,u=!1,r;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case"src":l=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Qt(t,e,r,d,n,null)}}u&&Qt(t,e,"srcSet",n.srcSet,n,null),l&&Qt(t,e,"src",n.src,n,null);return;case"input":Tt("invalid",t);var v=r=d=u=null,_=null,U=null;for(l in n)if(n.hasOwnProperty(l)){var Q=n[l];if(Q!=null)switch(l){case"name":u=Q;break;case"type":d=Q;break;case"checked":_=Q;break;case"defaultChecked":U=Q;break;case"value":r=Q;break;case"defaultValue":v=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(o(137,e));break;default:Qt(t,e,l,Q,n,null)}}Rd(t,r,v,_,U,d,u,!1);return;case"select":Tt("invalid",t),l=d=r=null;for(u in n)if(n.hasOwnProperty(u)&&(v=n[u],v!=null))switch(u){case"value":r=v;break;case"defaultValue":d=v;break;case"multiple":l=v;default:Qt(t,e,u,v,n,null)}e=r,n=d,t.multiple=!!l,e!=null?Dl(t,!!l,e,!1):n!=null&&Dl(t,!!l,n,!0);return;case"textarea":Tt("invalid",t),r=u=l=null;for(d in n)if(n.hasOwnProperty(d)&&(v=n[d],v!=null))switch(d){case"value":l=v;break;case"defaultValue":u=v;break;case"children":r=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(o(91));break;default:Qt(t,e,d,v,n,null)}Td(t,l,u,r);return;case"option":for(_ in n)if(n.hasOwnProperty(_)&&(l=n[_],l!=null))switch(_){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Qt(t,e,_,l,n,null)}return;case"dialog":Tt("beforetoggle",t),Tt("toggle",t),Tt("cancel",t),Tt("close",t);break;case"iframe":case"object":Tt("load",t);break;case"video":case"audio":for(l=0;l<vs.length;l++)Tt(vs[l],t);break;case"image":Tt("error",t),Tt("load",t);break;case"details":Tt("toggle",t);break;case"embed":case"source":case"link":Tt("error",t),Tt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(U in n)if(n.hasOwnProperty(U)&&(l=n[U],l!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,e));default:Qt(t,e,U,l,n,null)}return;default:if(tr(e)){for(Q in n)n.hasOwnProperty(Q)&&(l=n[Q],l!==void 0&&Qc(t,e,Q,l,n,void 0));return}}for(v in n)n.hasOwnProperty(v)&&(l=n[v],l!=null&&Qt(t,e,v,l,n,null))}function xb(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,r=null,d=null,v=null,_=null,U=null,Q=null;for(H in n){var V=n[H];if(n.hasOwnProperty(H)&&V!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":_=V;default:l.hasOwnProperty(H)||Qt(t,e,H,null,l,V)}}for(var j in l){var H=l[j];if(V=n[j],l.hasOwnProperty(j)&&(H!=null||V!=null))switch(j){case"type":r=H;break;case"name":u=H;break;case"checked":U=H;break;case"defaultChecked":Q=H;break;case"value":d=H;break;case"defaultValue":v=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(o(137,e));break;default:H!==V&&Qt(t,e,j,H,l,V)}}Wo(t,d,v,_,U,Q,r,u);return;case"select":H=d=v=j=null;for(r in n)if(_=n[r],n.hasOwnProperty(r)&&_!=null)switch(r){case"value":break;case"multiple":H=_;default:l.hasOwnProperty(r)||Qt(t,e,r,null,l,_)}for(u in l)if(r=l[u],_=n[u],l.hasOwnProperty(u)&&(r!=null||_!=null))switch(u){case"value":j=r;break;case"defaultValue":v=r;break;case"multiple":d=r;default:r!==_&&Qt(t,e,u,r,l,_)}e=v,n=d,l=H,j!=null?Dl(t,!!n,j,!1):!!l!=!!n&&(e!=null?Dl(t,!!n,e,!0):Dl(t,!!n,n?[]:"",!1));return;case"textarea":H=j=null;for(v in n)if(u=n[v],n.hasOwnProperty(v)&&u!=null&&!l.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:Qt(t,e,v,null,l,u)}for(d in l)if(u=l[d],r=n[d],l.hasOwnProperty(d)&&(u!=null||r!=null))switch(d){case"value":j=u;break;case"defaultValue":H=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==r&&Qt(t,e,d,u,l,r)}Ed(t,j,H);return;case"option":for(var rt in n)if(j=n[rt],n.hasOwnProperty(rt)&&j!=null&&!l.hasOwnProperty(rt))switch(rt){case"selected":t.selected=!1;break;default:Qt(t,e,rt,null,l,j)}for(_ in l)if(j=l[_],H=n[_],l.hasOwnProperty(_)&&j!==H&&(j!=null||H!=null))switch(_){case"selected":t.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:Qt(t,e,_,j,l,H)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var yt in n)j=n[yt],n.hasOwnProperty(yt)&&j!=null&&!l.hasOwnProperty(yt)&&Qt(t,e,yt,null,l,j);for(U in l)if(j=l[U],H=n[U],l.hasOwnProperty(U)&&j!==H&&(j!=null||H!=null))switch(U){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(o(137,e));break;default:Qt(t,e,U,j,l,H)}return;default:if(tr(e)){for(var Gt in n)j=n[Gt],n.hasOwnProperty(Gt)&&j!==void 0&&!l.hasOwnProperty(Gt)&&Qc(t,e,Gt,void 0,l,j);for(Q in l)j=l[Q],H=n[Q],!l.hasOwnProperty(Q)||j===H||j===void 0&&H===void 0||Qc(t,e,Q,j,l,H);return}}for(var O in n)j=n[O],n.hasOwnProperty(O)&&j!=null&&!l.hasOwnProperty(O)&&Qt(t,e,O,null,l,j);for(V in l)j=l[V],H=n[V],!l.hasOwnProperty(V)||j===H||j==null&&H==null||Qt(t,e,V,j,l,H)}function Ay(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _b(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var u=n[l],r=u.transferSize,d=u.initiatorType,v=u.duration;if(r&&v&&Ay(d)){for(d=0,v=u.responseEnd,l+=1;l<n.length;l++){var _=n[l],U=_.startTime;if(U>v)break;var Q=_.transferSize,V=_.initiatorType;Q&&Ay(V)&&(_=_.responseEnd,d+=Q*(_<v?1:(v-U)/(_-U)))}if(--l,e+=8*(r+d)/(u.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Gc=null,Yc=null;function no(t){return t.nodeType===9?t:t.ownerDocument}function zy(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Oy(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function kc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Vc=null;function Rb(){var t=window.event;return t&&t.type==="popstate"?t===Vc?!1:(Vc=t,!0):(Vc=null,!1)}var wy=typeof setTimeout=="function"?setTimeout:void 0,Eb=typeof clearTimeout=="function"?clearTimeout:void 0,Dy=typeof Promise=="function"?Promise:void 0,Tb=typeof queueMicrotask=="function"?queueMicrotask:typeof Dy<"u"?function(t){return Dy.resolve(null).then(t).catch(Mb)}:wy;function Mb(t){setTimeout(function(){throw t})}function ya(t){return t==="head"}function Ly(t,e){var n=e,l=0;do{var u=n.nextSibling;if(t.removeChild(n),u&&u.nodeType===8)if(n=u.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(u),ci(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")Ss(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,Ss(n);for(var r=n.firstChild;r;){var d=r.nextSibling,v=r.nodeName;r[Hi]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&r.rel.toLowerCase()==="stylesheet"||n.removeChild(r),r=d}}else n==="body"&&Ss(t.ownerDocument.body);n=u}while(n);ci(e)}function Uy(t,e){var n=t;t=0;do{var l=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function Xc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Xc(n),Fo(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function Cb(t,e,n,l){for(;t.nodeType===1;){var u=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Hi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(r=t.getAttribute("rel"),r==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(r!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(r=t.getAttribute("src"),(r!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&r&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var r=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===r)return t}else return t;if(t=en(t.nextSibling),t===null)break}return null}function Ab(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=en(t.nextSibling),t===null))return null;return t}function Ny(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=en(t.nextSibling),t===null))return null;return t}function Kc(t){return t.data==="$?"||t.data==="$~"}function Zc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function zb(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function en(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Jc=null;function jy(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return en(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function By(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function Hy(t,e,n){switch(e=no(n),t){case"html":if(t=e.documentElement,!t)throw Error(o(452));return t;case"head":if(t=e.head,!t)throw Error(o(453));return t;case"body":if(t=e.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function Ss(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Fo(t)}var nn=new Map,qy=new Set;function ao(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Qn=G.d;G.d={f:Ob,r:wb,D:Db,C:Lb,L:Ub,m:Nb,X:Bb,S:jb,M:Hb};function Ob(){var t=Qn.f(),e=Ju();return t||e}function wb(t){var e=zl(t);e!==null&&e.tag===5&&e.type==="form"?nm(e):Qn.r(t)}var ui=typeof document>"u"?null:document;function Qy(t,e,n){var l=ui;if(l&&typeof e=="string"&&e){var u=Je(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),qy.has(u)||(qy.add(u),t={rel:t,crossOrigin:n,href:e},l.querySelector(u)===null&&(e=l.createElement("link"),he(e,"link",t),ie(e),l.head.appendChild(e)))}}function Db(t){Qn.D(t),Qy("dns-prefetch",t,null)}function Lb(t,e){Qn.C(t,e),Qy("preconnect",t,e)}function Ub(t,e,n){Qn.L(t,e,n);var l=ui;if(l&&t&&e){var u='link[rel="preload"][as="'+Je(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Je(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Je(n.imageSizes)+'"]')):u+='[href="'+Je(t)+'"]';var r=u;switch(e){case"style":r=oi(t);break;case"script":r=ri(t)}nn.has(r)||(t=p({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),nn.set(r,t),l.querySelector(u)!==null||e==="style"&&l.querySelector(xs(r))||e==="script"&&l.querySelector(_s(r))||(e=l.createElement("link"),he(e,"link",t),ie(e),l.head.appendChild(e)))}}function Nb(t,e){Qn.m(t,e);var n=ui;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Je(l)+'"][href="'+Je(t)+'"]',r=u;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=ri(t)}if(!nn.has(r)&&(t=p({rel:"modulepreload",href:t},e),nn.set(r,t),n.querySelector(u)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(_s(r)))return}l=n.createElement("link"),he(l,"link",t),ie(l),n.head.appendChild(l)}}}function jb(t,e,n){Qn.S(t,e,n);var l=ui;if(l&&t){var u=Ol(l).hoistableStyles,r=oi(t);e=e||"default";var d=u.get(r);if(!d){var v={loading:0,preload:null};if(d=l.querySelector(xs(r)))v.loading=5;else{t=p({rel:"stylesheet",href:t,"data-precedence":e},n),(n=nn.get(r))&&Pc(t,n);var _=d=l.createElement("link");ie(_),he(_,"link",t),_._p=new Promise(function(U,Q){_.onload=U,_.onerror=Q}),_.addEventListener("load",function(){v.loading|=1}),_.addEventListener("error",function(){v.loading|=2}),v.loading|=4,lo(d,e,l)}d={type:"stylesheet",instance:d,count:1,state:v},u.set(r,d)}}}function Bb(t,e){Qn.X(t,e);var n=ui;if(n&&t){var l=Ol(n).hoistableScripts,u=ri(t),r=l.get(u);r||(r=n.querySelector(_s(u)),r||(t=p({src:t,async:!0},e),(e=nn.get(u))&&Fc(t,e),r=n.createElement("script"),ie(r),he(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},l.set(u,r))}}function Hb(t,e){Qn.M(t,e);var n=ui;if(n&&t){var l=Ol(n).hoistableScripts,u=ri(t),r=l.get(u);r||(r=n.querySelector(_s(u)),r||(t=p({src:t,async:!0,type:"module"},e),(e=nn.get(u))&&Fc(t,e),r=n.createElement("script"),ie(r),he(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},l.set(u,r))}}function Gy(t,e,n,l){var u=(u=ht.current)?ao(u):null;if(!u)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=oi(n.href),n=Ol(u).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=oi(n.href);var r=Ol(u).hoistableStyles,d=r.get(t);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(t,d),(r=u.querySelector(xs(t)))&&!r._p&&(d.instance=r,d.state.loading=5),nn.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},nn.set(t,n),r||qb(u,t,n,d.state))),e&&l===null)throw Error(o(528,""));return d}if(e&&l!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=ri(n),n=Ol(u).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function oi(t){return'href="'+Je(t)+'"'}function xs(t){return'link[rel="stylesheet"]['+t+"]"}function Yy(t){return p({},t,{"data-precedence":t.precedence,precedence:null})}function qb(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),he(e,"link",n),ie(e),t.head.appendChild(e))}function ri(t){return'[src="'+Je(t)+'"]'}function _s(t){return"script[async]"+t}function ky(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Je(n.href)+'"]');if(l)return e.instance=l,ie(l),l;var u=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ie(l),he(l,"style",u),lo(l,n.precedence,t),e.instance=l;case"stylesheet":u=oi(n.href);var r=t.querySelector(xs(u));if(r)return e.state.loading|=4,e.instance=r,ie(r),r;l=Yy(n),(u=nn.get(u))&&Pc(l,u),r=(t.ownerDocument||t).createElement("link"),ie(r);var d=r;return d._p=new Promise(function(v,_){d.onload=v,d.onerror=_}),he(r,"link",l),e.state.loading|=4,lo(r,n.precedence,t),e.instance=r;case"script":return r=ri(n.src),(u=t.querySelector(_s(r)))?(e.instance=u,ie(u),u):(l=n,(u=nn.get(r))&&(l=p({},n),Fc(l,u)),t=t.ownerDocument||t,u=t.createElement("script"),ie(u),he(u,"link",l),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,lo(l,n.precedence,t));return e.instance}function lo(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=l.length?l[l.length-1]:null,r=u,d=0;d<l.length;d++){var v=l[d];if(v.dataset.precedence===e)r=v;else if(r!==u)break}r?r.parentNode.insertBefore(t,r.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function Pc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Fc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var io=null;function Vy(t,e,n){if(io===null){var l=new Map,u=io=new Map;u.set(n,l)}else u=io,l=u.get(n),l||(l=new Map,u.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),u=0;u<n.length;u++){var r=n[u];if(!(r[Hi]||r[re]||t==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var d=r.getAttribute(e)||"";d=t+d;var v=l.get(d);v?v.push(r):l.set(d,[r])}}return l}function Xy(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Qb(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Ky(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Gb(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var u=oi(l.href),r=e.querySelector(xs(u));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=so.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=r,ie(r);return}r=e.ownerDocument||e,l=Yy(l),(u=nn.get(u))&&Pc(l,u),r=r.createElement("link"),ie(r);var d=r;d._p=new Promise(function(v,_){d.onload=v,d.onerror=_}),he(r,"link",l),n.instance=r}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=so.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Ic=0;function Yb(t,e){return t.stylesheets&&t.count===0&&oo(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&oo(t,t.stylesheets),t.unsuspend){var r=t.unsuspend;t.unsuspend=null,r()}},6e4+e);0<t.imgBytes&&Ic===0&&(Ic=62500*_b());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&oo(t,t.stylesheets),t.unsuspend)){var r=t.unsuspend;t.unsuspend=null,r()}},(t.imgBytes>Ic?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(u)}}:null}function so(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)oo(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var uo=null;function oo(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,uo=new Map,e.forEach(kb,t),uo=null,so.call(t))}function kb(t,e){if(!(e.state.loading&4)){var n=uo.get(t);if(n)var l=n.get(null);else{n=new Map,uo.set(t,n);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<u.length;r++){var d=u[r];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),l=d)}l&&n.set(null,l)}u=e.instance,d=u.getAttribute("data-precedence"),r=n.get(d)||l,r===l&&n.set(null,u),n.set(d,u),this.count++,l=so.bind(this),u.addEventListener("load",l),u.addEventListener("error",l),r?r.parentNode.insertBefore(u,r.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var Rs={$$typeof:Z,Provider:null,Consumer:null,_currentValue:ct,_currentValue2:ct,_threadCount:0};function Vb(t,e,n,l,u,r,d,v,_){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ko(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ko(0),this.hiddenUpdates=Ko(null),this.identifierPrefix=l,this.onUncaughtError=u,this.onCaughtError=r,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function Zy(t,e,n,l,u,r,d,v,_,U,Q,V){return t=new Vb(t,e,n,d,_,U,Q,V,v),e=1,r===!0&&(e|=24),r=Be(3,null,null,e),t.current=r,r.stateNode=t,e=Or(),e.refCount++,t.pooledCache=e,e.refCount++,r.memoizedState={element:l,isDehydrated:n,cache:e},Ur(r),t}function Jy(t){return t?(t=Ql,t):Ql}function Py(t,e,n,l,u,r){u=Jy(u),l.context===null?l.context=u:l.pendingContext=u,l=la(e),l.payload={element:n},r=r===void 0?null:r,r!==null&&(l.callback=r),n=ia(t,l,e),n!==null&&(ze(n,t,e),es(n,t,e))}function Fy(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function Wc(t,e){Fy(t,e),(t=t.alternate)&&Fy(t,e)}function Iy(t){if(t.tag===13||t.tag===31){var e=Xa(t,67108864);e!==null&&ze(e,t,67108864),Wc(t,67108864)}}function Wy(t){if(t.tag===13||t.tag===31){var e=Ye();e=Zo(e);var n=Xa(t,e);n!==null&&ze(n,t,e),Wc(t,e)}}var ro=!0;function Xb(t,e,n,l){var u=D.T;D.T=null;var r=G.p;try{G.p=2,$c(t,e,n,l)}finally{G.p=r,D.T=u}}function Kb(t,e,n,l){var u=D.T;D.T=null;var r=G.p;try{G.p=8,$c(t,e,n,l)}finally{G.p=r,D.T=u}}function $c(t,e,n,l){if(ro){var u=tf(l);if(u===null)qc(t,e,l,co,n),tg(t,l);else if(Jb(u,t,e,n,l))l.stopPropagation();else if(tg(t,l),e&4&&-1<Zb.indexOf(t)){for(;u!==null;){var r=zl(u);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var d=Qa(r.pendingLanes);if(d!==0){var v=r;for(v.pendingLanes|=2,v.entangledLanes|=2;d;){var _=1<<31-Ne(d);v.entanglements[1]|=_,d&=~_}yn(r),(Lt&6)===0&&(Ku=me()+500,ps(0))}}break;case 31:case 13:v=Xa(r,2),v!==null&&ze(v,r,2),Ju(),Wc(r,2)}if(r=tf(l),r===null&&qc(t,e,l,co,n),r===u)break;u=r}u!==null&&l.stopPropagation()}else qc(t,e,l,null,n)}}function tf(t){return t=nr(t),ef(t)}var co=null;function ef(t){if(co=null,t=Al(t),t!==null){var e=f(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=h(e),t!==null)return t;t=null}else if(n===31){if(t=y(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return co=t,null}function $y(t){switch(t){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 2;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 8;case"message":switch(Ht()){case oe:return 2;case fn:return 8;case Ml:case Lv:return 32;case rd:return 268435456;default:return 32}default:return 32}}var nf=!1,ga=null,pa=null,va=null,Es=new Map,Ts=new Map,ba=[],Zb="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(" ");function tg(t,e){switch(t){case"focusin":case"focusout":ga=null;break;case"dragenter":case"dragleave":pa=null;break;case"mouseover":case"mouseout":va=null;break;case"pointerover":case"pointerout":Es.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ts.delete(e.pointerId)}}function Ms(t,e,n,l,u,r){return t===null||t.nativeEvent!==r?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:r,targetContainers:[u]},e!==null&&(e=zl(e),e!==null&&Iy(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function Jb(t,e,n,l,u){switch(e){case"focusin":return ga=Ms(ga,t,e,n,l,u),!0;case"dragenter":return pa=Ms(pa,t,e,n,l,u),!0;case"mouseover":return va=Ms(va,t,e,n,l,u),!0;case"pointerover":var r=u.pointerId;return Es.set(r,Ms(Es.get(r)||null,t,e,n,l,u)),!0;case"gotpointercapture":return r=u.pointerId,Ts.set(r,Ms(Ts.get(r)||null,t,e,n,l,u)),!0}return!1}function eg(t){var e=Al(t.target);if(e!==null){var n=f(e);if(n!==null){if(e=n.tag,e===13){if(e=h(n),e!==null){t.blockedOn=e,yd(t.priority,function(){Wy(n)});return}}else if(e===31){if(e=y(n),e!==null){t.blockedOn=e,yd(t.priority,function(){Wy(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function fo(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=tf(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);er=l,n.target.dispatchEvent(l),er=null}else return e=zl(n),e!==null&&Iy(e),t.blockedOn=n,!1;e.shift()}return!0}function ng(t,e,n){fo(t)&&n.delete(e)}function Pb(){nf=!1,ga!==null&&fo(ga)&&(ga=null),pa!==null&&fo(pa)&&(pa=null),va!==null&&fo(va)&&(va=null),Es.forEach(ng),Ts.forEach(ng)}function ho(t,e){t.blockedOn===e&&(t.blockedOn=null,nf||(nf=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Pb)))}var mo=null;function ag(t){mo!==t&&(mo=t,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){mo===t&&(mo=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],u=t[e+2];if(typeof l!="function"){if(ef(l||n)===null)continue;break}var r=zl(n);r!==null&&(t.splice(e,3),e-=3,tc(r,{pending:!0,data:u,method:n.method,action:l},l,u))}}))}function ci(t){function e(_){return ho(_,t)}ga!==null&&ho(ga,t),pa!==null&&ho(pa,t),va!==null&&ho(va,t),Es.forEach(e),Ts.forEach(e);for(var n=0;n<ba.length;n++){var l=ba[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<ba.length&&(n=ba[0],n.blockedOn===null);)eg(n),n.blockedOn===null&&ba.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var u=n[l],r=n[l+1],d=u[Re]||null;if(typeof r=="function")d||ag(n);else if(d){var v=null;if(r&&r.hasAttribute("formAction")){if(u=r,d=r[Re]||null)v=d.formAction;else if(ef(u)!==null)continue}else v=d.action;typeof v=="function"?n[l+1]=v:(n.splice(l,3),l-=3),ag(n)}}}function lg(){function t(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(d){return u=d})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function af(t){this._internalRoot=t}yo.prototype.render=af.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(o(409));var n=e.current,l=Ye();Py(n,l,t,e,null,null)},yo.prototype.unmount=af.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Py(t.current,2,null,t,null,null),Ju(),e[Cl]=null}};function yo(t){this._internalRoot=t}yo.prototype.unstable_scheduleHydration=function(t){if(t){var e=md();t={blockedOn:null,target:t,priority:e};for(var n=0;n<ba.length&&e!==0&&e<ba[n].priority;n++);ba.splice(n,0,t),n===0&&eg(t)}};var ig=i.version;if(ig!=="19.2.6")throw Error(o(527,ig,"19.2.6"));G.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=m(e),t=t!==null?b(t):null,t=t===null?null:t.stateNode,t};var Fb={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var go=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!go.isDisabled&&go.supportsFiber)try{Ni=go.inject(Fb),Ue=go}catch{}}return As.createRoot=function(t,e){if(!c(t))throw Error(o(299));var n=!1,l="",u=dm,r=hm,d=mm;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(r=e.onCaughtError),e.onRecoverableError!==void 0&&(d=e.onRecoverableError)),e=Zy(t,1,!1,null,null,n,l,null,u,r,d,lg),t[Cl]=e.current,Hc(t),new af(e)},As.hydrateRoot=function(t,e,n){if(!c(t))throw Error(o(299));var l=!1,u="",r=dm,d=hm,v=mm,_=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.formState!==void 0&&(_=n.formState)),e=Zy(t,1,!0,e,n??null,l,u,_,r,d,v,lg),e.context=Jy(null),n=e.current,l=Ye(),l=Zo(l),u=la(l),u.callback=null,ia(n,u,l),n=l,e.current.lanes=n,Bi(e,n),yn(e),t[Cl]=e.current,Hc(t),new yo(e)},As.version="19.2.6",As}var gg;function sS(){if(gg)return of.exports;gg=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),of.exports=iS(),of.exports}var uS=sS(),wi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(a){return this.listeners.add(a),this.onSubscribe(),()=>{this.listeners.delete(a),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},cl,Ta,gi,dp,oS=(dp=class extends wi{constructor(){super();dt(this,cl);dt(this,Ta);dt(this,gi);lt(this,gi,i=>{if(typeof window<"u"&&window.addEventListener){const s=()=>i();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){R(this,Ta)||this.setEventListener(R(this,gi))}onUnsubscribe(){var i;this.hasListeners()||((i=R(this,Ta))==null||i.call(this),lt(this,Ta,void 0))}setEventListener(i){var s;lt(this,gi,i),(s=R(this,Ta))==null||s.call(this),lt(this,Ta,i(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(i){R(this,cl)!==i&&(lt(this,cl,i),this.onFocus())}onFocus(){const i=this.isFocused();this.listeners.forEach(s=>{s(i)})}isFocused(){var i;return typeof R(this,cl)=="boolean"?R(this,cl):((i=globalThis.document)==null?void 0:i.visibilityState)!=="hidden"}},cl=new WeakMap,Ta=new WeakMap,gi=new WeakMap,dp),Pf=new oS,rS={setTimeout:(a,i)=>setTimeout(a,i),clearTimeout:a=>clearTimeout(a),setInterval:(a,i)=>setInterval(a,i),clearInterval:a=>clearInterval(a)},Ma,Jf,hp,cS=(hp=class{constructor(){dt(this,Ma,rS);dt(this,Jf,!1)}setTimeoutProvider(a){lt(this,Ma,a)}setTimeout(a,i){return R(this,Ma).setTimeout(a,i)}clearTimeout(a){R(this,Ma).clearTimeout(a)}setInterval(a,i){return R(this,Ma).setInterval(a,i)}clearInterval(a){R(this,Ma).clearInterval(a)}},Ma=new WeakMap,Jf=new WeakMap,hp),sl=new cS;function fS(a){setTimeout(a,0)}var dS=typeof window>"u"||"Deno"in globalThis;function xe(){}function hS(a,i){return typeof a=="function"?a(i):a}function Mf(a){return typeof a=="number"&&a>=0&&a!==1/0}function Tp(a,i){return Math.max(a+(i||0)-Date.now(),0)}function ja(a,i){return typeof a=="function"?a(i):a}function Ve(a,i){return typeof a=="function"?a(i):a}function pg(a,i){const{type:s="all",exact:o,fetchStatus:c,predicate:f,queryKey:h,stale:y}=a;if(h){if(o){if(i.queryHash!==Ff(h,i.options))return!1}else if(!Ns(i.queryKey,h))return!1}if(s!=="all"){const g=i.isActive();if(s==="active"&&!g||s==="inactive"&&g)return!1}return!(typeof y=="boolean"&&i.isStale()!==y||c&&c!==i.state.fetchStatus||f&&!f(i))}function vg(a,i){const{exact:s,status:o,predicate:c,mutationKey:f}=a;if(f){if(!i.options.mutationKey)return!1;if(s){if(_l(i.options.mutationKey)!==_l(f))return!1}else if(!Ns(i.options.mutationKey,f))return!1}return!(o&&i.state.status!==o||c&&!c(i))}function Ff(a,i){return((i==null?void 0:i.queryKeyHashFn)||_l)(a)}function _l(a){return JSON.stringify(a,(i,s)=>Cf(s)?Object.keys(s).sort().reduce((o,c)=>(o[c]=s[c],o),{}):s)}function Ns(a,i){return a===i?!0:typeof a!=typeof i?!1:a&&i&&typeof a=="object"&&typeof i=="object"?Object.keys(i).every(s=>Ns(a[s],i[s])):!1}var mS=Object.prototype.hasOwnProperty;function Mp(a,i,s=0){if(a===i)return a;if(s>500)return i;const o=bg(a)&&bg(i);if(!o&&!(Cf(a)&&Cf(i)))return i;const f=(o?a:Object.keys(a)).length,h=o?i:Object.keys(i),y=h.length,g=o?new Array(y):{};let m=0;for(let b=0;b<y;b++){const p=o?b:h[b],S=a[p],x=i[p];if(S===x){g[p]=S,(o?b<f:mS.call(a,p))&&m++;continue}if(S===null||x===null||typeof S!="object"||typeof x!="object"){g[p]=x;continue}const E=Mp(S,x,s+1);g[p]=E,E===S&&m++}return f===y&&m===f?a:g}function Oo(a,i){if(!i||Object.keys(a).length!==Object.keys(i).length)return!1;for(const s in a)if(a[s]!==i[s])return!1;return!0}function bg(a){return Array.isArray(a)&&a.length===Object.keys(a).length}function Cf(a){if(!Sg(a))return!1;const i=a.constructor;if(i===void 0)return!0;const s=i.prototype;return!(!Sg(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(a)!==Object.prototype)}function Sg(a){return Object.prototype.toString.call(a)==="[object Object]"}function yS(a){return new Promise(i=>{sl.setTimeout(i,a)})}function Af(a,i,s){return typeof s.structuralSharing=="function"?s.structuralSharing(a,i):s.structuralSharing!==!1?Mp(a,i):i}function gS(a,i,s=0){const o=[...a,i];return s&&o.length>s?o.slice(1):o}function pS(a,i,s=0){const o=[i,...a];return s&&o.length>s?o.slice(0,-1):o}var If=Symbol();function Cp(a,i){return!a.queryFn&&(i!=null&&i.initialPromise)?()=>i.initialPromise:!a.queryFn||a.queryFn===If?()=>Promise.reject(new Error(`Missing queryFn: '${a.queryHash}'`)):a.queryFn}function Wf(a,i){return typeof a=="function"?a(...i):!!a}function vS(a,i,s){let o=!1,c;return Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(c??(c=i()),o||(o=!0,c.aborted?s():c.addEventListener("abort",s,{once:!0})),c)}),a}var js=(()=>{let a=()=>dS;return{isServer(){return a()},setIsServer(i){a=i}}})();function zf(){let a,i;const s=new Promise((c,f)=>{a=c,i=f});s.status="pending",s.catch(()=>{});function o(c){Object.assign(s,c),delete s.resolve,delete s.reject}return s.resolve=c=>{o({status:"fulfilled",value:c}),a(c)},s.reject=c=>{o({status:"rejected",reason:c}),i(c)},s}var bS=fS;function SS(){let a=[],i=0,s=y=>{y()},o=y=>{y()},c=bS;const f=y=>{i?a.push(y):c(()=>{s(y)})},h=()=>{const y=a;a=[],y.length&&c(()=>{o(()=>{y.forEach(g=>{s(g)})})})};return{batch:y=>{let g;i++;try{g=y()}finally{i--,i||h()}return g},batchCalls:y=>(...g)=>{f(()=>{y(...g)})},schedule:f,setNotifyFunction:y=>{s=y},setBatchNotifyFunction:y=>{o=y},setScheduler:y=>{c=y}}}var le=SS(),pi,Ca,vi,mp,xS=(mp=class extends wi{constructor(){super();dt(this,pi,!0);dt(this,Ca);dt(this,vi);lt(this,vi,i=>{if(typeof window<"u"&&window.addEventListener){const s=()=>i(!0),o=()=>i(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",o)}}})}onSubscribe(){R(this,Ca)||this.setEventListener(R(this,vi))}onUnsubscribe(){var i;this.hasListeners()||((i=R(this,Ca))==null||i.call(this),lt(this,Ca,void 0))}setEventListener(i){var s;lt(this,vi,i),(s=R(this,Ca))==null||s.call(this),lt(this,Ca,i(this.setOnline.bind(this)))}setOnline(i){R(this,pi)!==i&&(lt(this,pi,i),this.listeners.forEach(o=>{o(i)}))}isOnline(){return R(this,pi)}},pi=new WeakMap,Ca=new WeakMap,vi=new WeakMap,mp),wo=new xS;function _S(a){return Math.min(1e3*2**a,3e4)}function Ap(a){return(a??"online")==="online"?wo.isOnline():!0}var Of=class extends Error{constructor(a){super("CancelledError"),this.revert=a==null?void 0:a.revert,this.silent=a==null?void 0:a.silent}};function zp(a){let i=!1,s=0,o;const c=zf(),f=()=>c.status!=="pending",h=C=>{var A;if(!f()){const q=new Of(C);S(q),(A=a.onCancel)==null||A.call(a,q)}},y=()=>{i=!0},g=()=>{i=!1},m=()=>Pf.isFocused()&&(a.networkMode==="always"||wo.isOnline())&&a.canRun(),b=()=>Ap(a.networkMode)&&a.canRun(),p=C=>{f()||(o==null||o(),c.resolve(C))},S=C=>{f()||(o==null||o(),c.reject(C))},x=()=>new Promise(C=>{var A;o=q=>{(f()||m())&&C(q)},(A=a.onPause)==null||A.call(a)}).then(()=>{var C;o=void 0,f()||(C=a.onContinue)==null||C.call(a)}),E=()=>{if(f())return;let C;const A=s===0?a.initialPromise:void 0;try{C=A??a.fn()}catch(q){C=Promise.reject(q)}Promise.resolve(C).then(p).catch(q=>{var P;if(f())return;const B=a.retry??(js.isServer()?0:3),Z=a.retryDelay??_S,w=typeof Z=="function"?Z(s,q):Z,X=B===!0||typeof B=="number"&&s<B||typeof B=="function"&&B(s,q);if(i||!X){S(q);return}s++,(P=a.onFail)==null||P.call(a,s,q),yS(w).then(()=>m()?void 0:x()).then(()=>{i?S(q):E()})})};return{promise:c,status:()=>c.status,cancel:h,continue:()=>(o==null||o(),c),cancelRetry:y,continueRetry:g,canStart:b,start:()=>(b()?E():x().then(E),c)}}var fl,yp,Op=(yp=class{constructor(){dt(this,fl)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Mf(this.gcTime)&&lt(this,fl,sl.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(a){this.gcTime=Math.max(this.gcTime||0,a??(js.isServer()?1/0:300*1e3))}clearGcTimeout(){R(this,fl)!==void 0&&(sl.clearTimeout(R(this,fl)),lt(this,fl,void 0))}},fl=new WeakMap,yp);function RS(a){return{onFetch:(i,s)=>{var b,p,S,x,E;const o=i.options,c=(S=(p=(b=i.fetchOptions)==null?void 0:b.meta)==null?void 0:p.fetchMore)==null?void 0:S.direction,f=((x=i.state.data)==null?void 0:x.pages)||[],h=((E=i.state.data)==null?void 0:E.pageParams)||[];let y={pages:[],pageParams:[]},g=0;const m=async()=>{let C=!1;const A=Z=>{vS(Z,()=>i.signal,()=>C=!0)},q=Cp(i.options,i.fetchOptions),B=async(Z,w,X)=>{if(C)return Promise.reject(i.signal.reason);if(w==null&&Z.pages.length)return Promise.resolve(Z);const N=(()=>{const I={client:i.client,queryKey:i.queryKey,pageParam:w,direction:X?"backward":"forward",meta:i.options.meta};return A(I),I})(),z=await q(N),{maxPages:K}=i.options,J=X?pS:gS;return{pages:J(Z.pages,z,K),pageParams:J(Z.pageParams,w,K)}};if(c&&f.length){const Z=c==="backward",w=Z?ES:xg,X={pages:f,pageParams:h},P=w(o,X);y=await B(X,P,Z)}else{const Z=a??f.length;do{const w=g===0?h[0]??o.initialPageParam:xg(o,y);if(g>0&&w==null)break;y=await B(y,w),g++}while(g<Z)}return y};i.options.persister?i.fetchFn=()=>{var C,A;return(A=(C=i.options).persister)==null?void 0:A.call(C,m,{client:i.client,queryKey:i.queryKey,meta:i.options.meta,signal:i.signal},s)}:i.fetchFn=m}}}function xg(a,{pages:i,pageParams:s}){const o=i.length-1;return i.length>0?a.getNextPageParam(i[o],i,s[o],s):void 0}function ES(a,{pages:i,pageParams:s}){var o;return i.length>0?(o=a.getPreviousPageParam)==null?void 0:o.call(a,i[0],i,s[0],s):void 0}var bi,dl,Si,an,hl,ue,Gs,ml,ke,wp,Yn,gp,TS=(gp=class extends Op{constructor(i){super();dt(this,ke);dt(this,bi);dt(this,dl);dt(this,Si);dt(this,an);dt(this,hl);dt(this,ue);dt(this,Gs);dt(this,ml);lt(this,ml,!1),lt(this,Gs,i.defaultOptions),this.setOptions(i.options),this.observers=[],lt(this,hl,i.client),lt(this,an,R(this,hl).getQueryCache()),this.queryKey=i.queryKey,this.queryHash=i.queryHash,lt(this,dl,Rg(this.options)),this.state=i.state??R(this,dl),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return R(this,bi)}get promise(){var i;return(i=R(this,ue))==null?void 0:i.promise}setOptions(i){if(this.options={...R(this,Gs),...i},i!=null&&i._type&&lt(this,bi,i._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=Rg(this.options);s.data!==void 0&&(this.setState(_g(s.data,s.dataUpdatedAt)),lt(this,dl,s))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,an).remove(this)}setData(i,s){const o=Af(this.state.data,i,this.options);return xt(this,ke,Yn).call(this,{data:o,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),o}setState(i){xt(this,ke,Yn).call(this,{type:"setState",state:i})}cancel(i){var o,c;const s=(o=R(this,ue))==null?void 0:o.promise;return(c=R(this,ue))==null||c.cancel(i),s?s.then(xe).catch(xe):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return R(this,dl)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(i=>Ve(i.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===If||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(i=>ja(i.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(i=>i.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(i=0){return this.state.data===void 0?!0:i==="static"?!1:this.state.isInvalidated?!0:!Tp(this.state.dataUpdatedAt,i)}onFocus(){var s;const i=this.observers.find(o=>o.shouldFetchOnWindowFocus());i==null||i.refetch({cancelRefetch:!1}),(s=R(this,ue))==null||s.continue()}onOnline(){var s;const i=this.observers.find(o=>o.shouldFetchOnReconnect());i==null||i.refetch({cancelRefetch:!1}),(s=R(this,ue))==null||s.continue()}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),R(this,an).notify({type:"observerAdded",query:this,observer:i}))}removeObserver(i){this.observers.includes(i)&&(this.observers=this.observers.filter(s=>s!==i),this.observers.length||(R(this,ue)&&(R(this,ml)||xt(this,ke,wp).call(this)?R(this,ue).cancel({revert:!0}):R(this,ue).cancelRetry()),this.scheduleGc()),R(this,an).notify({type:"observerRemoved",query:this,observer:i}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||xt(this,ke,Yn).call(this,{type:"invalidate"})}async fetch(i,s){var m,b,p,S,x,E,C,A,q,B,Z;if(this.state.fetchStatus!=="idle"&&((m=R(this,ue))==null?void 0:m.status())!=="rejected"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(R(this,ue))return R(this,ue).continueRetry(),R(this,ue).promise}if(i&&this.setOptions(i),!this.options.queryFn){const w=this.observers.find(X=>X.options.queryFn);w&&this.setOptions(w.options)}const o=new AbortController,c=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(lt(this,ml,!0),o.signal)})},f=()=>{const w=Cp(this.options,s),P=(()=>{const N={client:R(this,hl),queryKey:this.queryKey,meta:this.meta};return c(N),N})();return lt(this,ml,!1),this.options.persister?this.options.persister(w,P,this):w(P)},y=(()=>{const w={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:R(this,hl),state:this.state,fetchFn:f};return c(w),w})(),g=R(this,bi)==="infinite"?RS(this.options.pages):this.options.behavior;g==null||g.onFetch(y,this),lt(this,Si,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((b=y.fetchOptions)==null?void 0:b.meta))&&xt(this,ke,Yn).call(this,{type:"fetch",meta:(p=y.fetchOptions)==null?void 0:p.meta}),lt(this,ue,zp({initialPromise:s==null?void 0:s.initialPromise,fn:y.fetchFn,onCancel:w=>{w instanceof Of&&w.revert&&this.setState({...R(this,Si),fetchStatus:"idle"}),o.abort()},onFail:(w,X)=>{xt(this,ke,Yn).call(this,{type:"failed",failureCount:w,error:X})},onPause:()=>{xt(this,ke,Yn).call(this,{type:"pause"})},onContinue:()=>{xt(this,ke,Yn).call(this,{type:"continue"})},retry:y.options.retry,retryDelay:y.options.retryDelay,networkMode:y.options.networkMode,canRun:()=>!0}));try{const w=await R(this,ue).start();if(w===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(w),(x=(S=R(this,an).config).onSuccess)==null||x.call(S,w,this),(C=(E=R(this,an).config).onSettled)==null||C.call(E,w,this.state.error,this),w}catch(w){if(w instanceof Of){if(w.silent)return R(this,ue).promise;if(w.revert){if(this.state.data===void 0)throw w;return this.state.data}}throw xt(this,ke,Yn).call(this,{type:"error",error:w}),(q=(A=R(this,an).config).onError)==null||q.call(A,w,this),(Z=(B=R(this,an).config).onSettled)==null||Z.call(B,this.state.data,w,this),w}finally{this.scheduleGc()}}},bi=new WeakMap,dl=new WeakMap,Si=new WeakMap,an=new WeakMap,hl=new WeakMap,ue=new WeakMap,Gs=new WeakMap,ml=new WeakMap,ke=new WeakSet,wp=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Yn=function(i){const s=o=>{switch(i.type){case"failed":return{...o,fetchFailureCount:i.failureCount,fetchFailureReason:i.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...Dp(o.data,this.options),fetchMeta:i.meta??null};case"success":const c={...o,..._g(i.data,i.dataUpdatedAt),dataUpdateCount:o.dataUpdateCount+1,...!i.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return lt(this,Si,i.manual?c:void 0),c;case"error":const f=i.error;return{...o,error:f,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:f,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...i.state}}};this.state=s(this.state),le.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),R(this,an).notify({query:this,type:"updated",action:i})})},gp);function Dp(a,i){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ap(i.networkMode)?"fetching":"paused",...a===void 0&&{error:null,status:"pending"}}}function _g(a,i){return{data:a,dataUpdatedAt:i??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Rg(a){const i=typeof a.initialData=="function"?a.initialData():a.initialData,s=i!==void 0,o=s?typeof a.initialDataUpdatedAt=="function"?a.initialDataUpdatedAt():a.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var Oe,Ot,Ys,Se,yl,xi,kn,Aa,ks,_i,Ri,gl,pl,za,Ei,Ut,Ls,wf,Df,Lf,Uf,Nf,jf,Bf,Lp,pp,MS=(pp=class extends wi{constructor(i,s){super();dt(this,Ut);dt(this,Oe);dt(this,Ot);dt(this,Ys);dt(this,Se);dt(this,yl);dt(this,xi);dt(this,kn);dt(this,Aa);dt(this,ks);dt(this,_i);dt(this,Ri);dt(this,gl);dt(this,pl);dt(this,za);dt(this,Ei,new Set);this.options=s,lt(this,Oe,i),lt(this,Aa,null),lt(this,kn,zf()),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(R(this,Ot).addObserver(this),Eg(R(this,Ot),this.options)?xt(this,Ut,Ls).call(this):this.updateResult(),xt(this,Ut,Uf).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Hf(R(this,Ot),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Hf(R(this,Ot),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,xt(this,Ut,Nf).call(this),xt(this,Ut,jf).call(this),R(this,Ot).removeObserver(this)}setOptions(i){const s=this.options,o=R(this,Ot);if(this.options=R(this,Oe).defaultQueryOptions(i),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ve(this.options.enabled,R(this,Ot))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");xt(this,Ut,Bf).call(this),R(this,Ot).setOptions(this.options),s._defaulted&&!Oo(this.options,s)&&R(this,Oe).getQueryCache().notify({type:"observerOptionsUpdated",query:R(this,Ot),observer:this});const c=this.hasListeners();c&&Tg(R(this,Ot),o,this.options,s)&&xt(this,Ut,Ls).call(this),this.updateResult(),c&&(R(this,Ot)!==o||Ve(this.options.enabled,R(this,Ot))!==Ve(s.enabled,R(this,Ot))||ja(this.options.staleTime,R(this,Ot))!==ja(s.staleTime,R(this,Ot)))&&xt(this,Ut,wf).call(this);const f=xt(this,Ut,Df).call(this);c&&(R(this,Ot)!==o||Ve(this.options.enabled,R(this,Ot))!==Ve(s.enabled,R(this,Ot))||f!==R(this,za))&&xt(this,Ut,Lf).call(this,f)}getOptimisticResult(i){const s=R(this,Oe).getQueryCache().build(R(this,Oe),i),o=this.createResult(s,i);return AS(this,o)&&(lt(this,Se,o),lt(this,xi,this.options),lt(this,yl,R(this,Ot).state)),o}getCurrentResult(){return R(this,Se)}trackResult(i,s){return new Proxy(i,{get:(o,c)=>(this.trackProp(c),s==null||s(c),c==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&R(this,kn).status==="pending"&&R(this,kn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(o,c))})}trackProp(i){R(this,Ei).add(i)}getCurrentQuery(){return R(this,Ot)}refetch({...i}={}){return this.fetch({...i})}fetchOptimistic(i){const s=R(this,Oe).defaultQueryOptions(i),o=R(this,Oe).getQueryCache().build(R(this,Oe),s);return o.fetch().then(()=>this.createResult(o,s))}fetch(i){return xt(this,Ut,Ls).call(this,{...i,cancelRefetch:i.cancelRefetch??!0}).then(()=>(this.updateResult(),R(this,Se)))}createResult(i,s){var K;const o=R(this,Ot),c=this.options,f=R(this,Se),h=R(this,yl),y=R(this,xi),m=i!==o?i.state:R(this,Ys),{state:b}=i;let p={...b},S=!1,x;if(s._optimisticResults){const J=this.hasListeners(),I=!J&&Eg(i,s),et=J&&Tg(i,o,s,c);(I||et)&&(p={...p,...Dp(b.data,i.options)}),s._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:E,errorUpdatedAt:C,status:A}=p;x=p.data;let q=!1;if(s.placeholderData!==void 0&&x===void 0&&A==="pending"){let J;f!=null&&f.isPlaceholderData&&s.placeholderData===(y==null?void 0:y.placeholderData)?(J=f.data,q=!0):J=typeof s.placeholderData=="function"?s.placeholderData((K=R(this,Ri))==null?void 0:K.state.data,R(this,Ri)):s.placeholderData,J!==void 0&&(A="success",x=Af(f==null?void 0:f.data,J,s),S=!0)}if(s.select&&x!==void 0&&!q)if(f&&x===(h==null?void 0:h.data)&&s.select===R(this,ks))x=R(this,_i);else try{lt(this,ks,s.select),x=s.select(x),x=Af(f==null?void 0:f.data,x,s),lt(this,_i,x),lt(this,Aa,null)}catch(J){lt(this,Aa,J)}R(this,Aa)&&(E=R(this,Aa),x=R(this,_i),C=Date.now(),A="error");const B=p.fetchStatus==="fetching",Z=A==="pending",w=A==="error",X=Z&&B,P=x!==void 0,z={status:A,fetchStatus:p.fetchStatus,isPending:Z,isSuccess:A==="success",isError:w,isInitialLoading:X,isLoading:X,data:x,dataUpdatedAt:p.dataUpdatedAt,error:E,errorUpdatedAt:C,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:i.isFetched(),isFetchedAfterMount:p.dataUpdateCount>m.dataUpdateCount||p.errorUpdateCount>m.errorUpdateCount,isFetching:B,isRefetching:B&&!Z,isLoadingError:w&&!P,isPaused:p.fetchStatus==="paused",isPlaceholderData:S,isRefetchError:w&&P,isStale:$f(i,s),refetch:this.refetch,promise:R(this,kn),isEnabled:Ve(s.enabled,i)!==!1};if(this.options.experimental_prefetchInRender){const J=z.data!==void 0,I=z.status==="error"&&!J,et=gt=>{I?gt.reject(z.error):J&&gt.resolve(z.data)},it=()=>{const gt=lt(this,kn,z.promise=zf());et(gt)},st=R(this,kn);switch(st.status){case"pending":i.queryHash===o.queryHash&&et(st);break;case"fulfilled":(I||z.data!==st.value)&&it();break;case"rejected":(!I||z.error!==st.reason)&&it();break}}return z}updateResult(){const i=R(this,Se),s=this.createResult(R(this,Ot),this.options);if(lt(this,yl,R(this,Ot).state),lt(this,xi,this.options),R(this,yl).data!==void 0&&lt(this,Ri,R(this,Ot)),Oo(s,i))return;lt(this,Se,s);const o=()=>{if(!i)return!0;const{notifyOnChangeProps:c}=this.options,f=typeof c=="function"?c():c;if(f==="all"||!f&&!R(this,Ei).size)return!0;const h=new Set(f??R(this,Ei));return this.options.throwOnError&&h.add("error"),Object.keys(R(this,Se)).some(y=>{const g=y;return R(this,Se)[g]!==i[g]&&h.has(g)})};xt(this,Ut,Lp).call(this,{listeners:o()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&xt(this,Ut,Uf).call(this)}},Oe=new WeakMap,Ot=new WeakMap,Ys=new WeakMap,Se=new WeakMap,yl=new WeakMap,xi=new WeakMap,kn=new WeakMap,Aa=new WeakMap,ks=new WeakMap,_i=new WeakMap,Ri=new WeakMap,gl=new WeakMap,pl=new WeakMap,za=new WeakMap,Ei=new WeakMap,Ut=new WeakSet,Ls=function(i){xt(this,Ut,Bf).call(this);let s=R(this,Ot).fetch(this.options,i);return i!=null&&i.throwOnError||(s=s.catch(xe)),s},wf=function(){xt(this,Ut,Nf).call(this);const i=ja(this.options.staleTime,R(this,Ot));if(js.isServer()||R(this,Se).isStale||!Mf(i))return;const o=Tp(R(this,Se).dataUpdatedAt,i)+1;lt(this,gl,sl.setTimeout(()=>{R(this,Se).isStale||this.updateResult()},o))},Df=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(R(this,Ot)):this.options.refetchInterval)??!1},Lf=function(i){xt(this,Ut,jf).call(this),lt(this,za,i),!(js.isServer()||Ve(this.options.enabled,R(this,Ot))===!1||!Mf(R(this,za))||R(this,za)===0)&&lt(this,pl,sl.setInterval(()=>{(this.options.refetchIntervalInBackground||Pf.isFocused())&&xt(this,Ut,Ls).call(this)},R(this,za)))},Uf=function(){xt(this,Ut,wf).call(this),xt(this,Ut,Lf).call(this,xt(this,Ut,Df).call(this))},Nf=function(){R(this,gl)!==void 0&&(sl.clearTimeout(R(this,gl)),lt(this,gl,void 0))},jf=function(){R(this,pl)!==void 0&&(sl.clearInterval(R(this,pl)),lt(this,pl,void 0))},Bf=function(){const i=R(this,Oe).getQueryCache().build(R(this,Oe),this.options);if(i===R(this,Ot))return;const s=R(this,Ot);lt(this,Ot,i),lt(this,Ys,i.state),this.hasListeners()&&(s==null||s.removeObserver(this),i.addObserver(this))},Lp=function(i){le.batch(()=>{i.listeners&&this.listeners.forEach(s=>{s(R(this,Se))}),R(this,Oe).getQueryCache().notify({query:R(this,Ot),type:"observerResultsUpdated"})})},pp);function CS(a,i){return Ve(i.enabled,a)!==!1&&a.state.data===void 0&&!(a.state.status==="error"&&Ve(i.retryOnMount,a)===!1)}function Eg(a,i){return CS(a,i)||a.state.data!==void 0&&Hf(a,i,i.refetchOnMount)}function Hf(a,i,s){if(Ve(i.enabled,a)!==!1&&ja(i.staleTime,a)!=="static"){const o=typeof s=="function"?s(a):s;return o==="always"||o!==!1&&$f(a,i)}return!1}function Tg(a,i,s,o){return(a!==i||Ve(o.enabled,a)===!1)&&(!s.suspense||a.state.status!=="error")&&$f(a,s)}function $f(a,i){return Ve(i.enabled,a)!==!1&&a.isStaleByTime(ja(i.staleTime,a))}function AS(a,i){return!Oo(a.getCurrentResult(),i)}var Vs,vn,ge,vl,bn,_a,vp,zS=(vp=class extends Op{constructor(i){super();dt(this,bn);dt(this,Vs);dt(this,vn);dt(this,ge);dt(this,vl);lt(this,Vs,i.client),this.mutationId=i.mutationId,lt(this,ge,i.mutationCache),lt(this,vn,[]),this.state=i.state||Up(),this.setOptions(i.options),this.scheduleGc()}setOptions(i){this.options=i,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(i){R(this,vn).includes(i)||(R(this,vn).push(i),this.clearGcTimeout(),R(this,ge).notify({type:"observerAdded",mutation:this,observer:i}))}removeObserver(i){lt(this,vn,R(this,vn).filter(s=>s!==i)),this.scheduleGc(),R(this,ge).notify({type:"observerRemoved",mutation:this,observer:i})}optionalRemove(){R(this,vn).length||(this.state.status==="pending"?this.scheduleGc():R(this,ge).remove(this))}continue(){var i;return((i=R(this,vl))==null?void 0:i.continue())??this.execute(this.state.variables)}async execute(i){var h,y,g,m,b,p,S,x,E,C,A,q,B,Z,w,X,P,N;const s=()=>{xt(this,bn,_a).call(this,{type:"continue"})},o={client:R(this,Vs),meta:this.options.meta,mutationKey:this.options.mutationKey};lt(this,vl,zp({fn:()=>this.options.mutationFn?this.options.mutationFn(i,o):Promise.reject(new Error("No mutationFn found")),onFail:(z,K)=>{xt(this,bn,_a).call(this,{type:"failed",failureCount:z,error:K})},onPause:()=>{xt(this,bn,_a).call(this,{type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,ge).canRun(this)}));const c=this.state.status==="pending",f=!R(this,vl).canStart();try{if(c)s();else{xt(this,bn,_a).call(this,{type:"pending",variables:i,isPaused:f}),R(this,ge).config.onMutate&&await R(this,ge).config.onMutate(i,this,o);const K=await((y=(h=this.options).onMutate)==null?void 0:y.call(h,i,o));K!==this.state.context&&xt(this,bn,_a).call(this,{type:"pending",context:K,variables:i,isPaused:f})}const z=await R(this,vl).start();return await((m=(g=R(this,ge).config).onSuccess)==null?void 0:m.call(g,z,i,this.state.context,this,o)),await((p=(b=this.options).onSuccess)==null?void 0:p.call(b,z,i,this.state.context,o)),await((x=(S=R(this,ge).config).onSettled)==null?void 0:x.call(S,z,null,this.state.variables,this.state.context,this,o)),await((C=(E=this.options).onSettled)==null?void 0:C.call(E,z,null,i,this.state.context,o)),xt(this,bn,_a).call(this,{type:"success",data:z}),z}catch(z){try{await((q=(A=R(this,ge).config).onError)==null?void 0:q.call(A,z,i,this.state.context,this,o))}catch(K){Promise.reject(K)}try{await((Z=(B=this.options).onError)==null?void 0:Z.call(B,z,i,this.state.context,o))}catch(K){Promise.reject(K)}try{await((X=(w=R(this,ge).config).onSettled)==null?void 0:X.call(w,void 0,z,this.state.variables,this.state.context,this,o))}catch(K){Promise.reject(K)}try{await((N=(P=this.options).onSettled)==null?void 0:N.call(P,void 0,z,i,this.state.context,o))}catch(K){Promise.reject(K)}throw xt(this,bn,_a).call(this,{type:"error",error:z}),z}finally{R(this,ge).runNext(this)}}},Vs=new WeakMap,vn=new WeakMap,ge=new WeakMap,vl=new WeakMap,bn=new WeakSet,_a=function(i){const s=o=>{switch(i.type){case"failed":return{...o,failureCount:i.failureCount,failureReason:i.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:i.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:i.isPaused,status:"pending",variables:i.variables,submittedAt:Date.now()};case"success":return{...o,data:i.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:i.error,failureCount:o.failureCount+1,failureReason:i.error,isPaused:!1,status:"error"}}};this.state=s(this.state),le.batch(()=>{R(this,vn).forEach(o=>{o.onMutationUpdate(i)}),R(this,ge).notify({mutation:this,type:"updated",action:i})})},vp);function Up(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Vn,cn,Xs,bp,OS=(bp=class extends wi{constructor(i={}){super();dt(this,Vn);dt(this,cn);dt(this,Xs);this.config=i,lt(this,Vn,new Set),lt(this,cn,new Map),lt(this,Xs,0)}build(i,s,o){const c=new zS({client:i,mutationCache:this,mutationId:++po(this,Xs)._,options:i.defaultMutationOptions(s),state:o});return this.add(c),c}add(i){R(this,Vn).add(i);const s=vo(i);if(typeof s=="string"){const o=R(this,cn).get(s);o?o.push(i):R(this,cn).set(s,[i])}this.notify({type:"added",mutation:i})}remove(i){if(R(this,Vn).delete(i)){const s=vo(i);if(typeof s=="string"){const o=R(this,cn).get(s);if(o)if(o.length>1){const c=o.indexOf(i);c!==-1&&o.splice(c,1)}else o[0]===i&&R(this,cn).delete(s)}}this.notify({type:"removed",mutation:i})}canRun(i){const s=vo(i);if(typeof s=="string"){const o=R(this,cn).get(s),c=o==null?void 0:o.find(f=>f.state.status==="pending");return!c||c===i}else return!0}runNext(i){var o;const s=vo(i);if(typeof s=="string"){const c=(o=R(this,cn).get(s))==null?void 0:o.find(f=>f!==i&&f.state.isPaused);return(c==null?void 0:c.continue())??Promise.resolve()}else return Promise.resolve()}clear(){le.batch(()=>{R(this,Vn).forEach(i=>{this.notify({type:"removed",mutation:i})}),R(this,Vn).clear(),R(this,cn).clear()})}getAll(){return Array.from(R(this,Vn))}find(i){const s={exact:!0,...i};return this.getAll().find(o=>vg(s,o))}findAll(i={}){return this.getAll().filter(s=>vg(i,s))}notify(i){le.batch(()=>{this.listeners.forEach(s=>{s(i)})})}resumePausedMutations(){const i=this.getAll().filter(s=>s.state.isPaused);return le.batch(()=>Promise.all(i.map(s=>s.continue().catch(xe))))}},Vn=new WeakMap,cn=new WeakMap,Xs=new WeakMap,bp);function vo(a){var i;return(i=a.options.scope)==null?void 0:i.id}var Xn,Oa,we,Kn,Pn,To,qf,Sp,wS=(Sp=class extends wi{constructor(s,o){super();dt(this,Pn);dt(this,Xn);dt(this,Oa);dt(this,we);dt(this,Kn);lt(this,Xn,s),this.setOptions(o),this.bindMethods(),xt(this,Pn,To).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(s){var c;const o=this.options;this.options=R(this,Xn).defaultMutationOptions(s),Oo(this.options,o)||R(this,Xn).getMutationCache().notify({type:"observerOptionsUpdated",mutation:R(this,we),observer:this}),o!=null&&o.mutationKey&&this.options.mutationKey&&_l(o.mutationKey)!==_l(this.options.mutationKey)?this.reset():((c=R(this,we))==null?void 0:c.state.status)==="pending"&&R(this,we).setOptions(this.options)}onUnsubscribe(){var s;this.hasListeners()||(s=R(this,we))==null||s.removeObserver(this)}onMutationUpdate(s){xt(this,Pn,To).call(this),xt(this,Pn,qf).call(this,s)}getCurrentResult(){return R(this,Oa)}reset(){var s;(s=R(this,we))==null||s.removeObserver(this),lt(this,we,void 0),xt(this,Pn,To).call(this),xt(this,Pn,qf).call(this)}mutate(s,o){var c;return lt(this,Kn,o),(c=R(this,we))==null||c.removeObserver(this),lt(this,we,R(this,Xn).getMutationCache().build(R(this,Xn),this.options)),R(this,we).addObserver(this),R(this,we).execute(s)}},Xn=new WeakMap,Oa=new WeakMap,we=new WeakMap,Kn=new WeakMap,Pn=new WeakSet,To=function(){var o;const s=((o=R(this,we))==null?void 0:o.state)??Up();lt(this,Oa,{...s,isPending:s.status==="pending",isSuccess:s.status==="success",isError:s.status==="error",isIdle:s.status==="idle",mutate:this.mutate,reset:this.reset})},qf=function(s){le.batch(()=>{var o,c,f,h,y,g,m,b;if(R(this,Kn)&&this.hasListeners()){const p=R(this,Oa).variables,S=R(this,Oa).context,x={client:R(this,Xn),meta:this.options.meta,mutationKey:this.options.mutationKey};if((s==null?void 0:s.type)==="success"){try{(c=(o=R(this,Kn)).onSuccess)==null||c.call(o,s.data,p,S,x)}catch(E){Promise.reject(E)}try{(h=(f=R(this,Kn)).onSettled)==null||h.call(f,s.data,null,p,S,x)}catch(E){Promise.reject(E)}}else if((s==null?void 0:s.type)==="error"){try{(g=(y=R(this,Kn)).onError)==null||g.call(y,s.error,p,S,x)}catch(E){Promise.reject(E)}try{(b=(m=R(this,Kn)).onSettled)==null||b.call(m,void 0,s.error,p,S,x)}catch(E){Promise.reject(E)}}}this.listeners.forEach(p=>{p(R(this,Oa))})})},Sp),Sn,xp,DS=(xp=class extends wi{constructor(i={}){super();dt(this,Sn);this.config=i,lt(this,Sn,new Map)}build(i,s,o){const c=s.queryKey,f=s.queryHash??Ff(c,s);let h=this.get(f);return h||(h=new TS({client:i,queryKey:c,queryHash:f,options:i.defaultQueryOptions(s),state:o,defaultOptions:i.getQueryDefaults(c)}),this.add(h)),h}add(i){R(this,Sn).has(i.queryHash)||(R(this,Sn).set(i.queryHash,i),this.notify({type:"added",query:i}))}remove(i){const s=R(this,Sn).get(i.queryHash);s&&(i.destroy(),s===i&&R(this,Sn).delete(i.queryHash),this.notify({type:"removed",query:i}))}clear(){le.batch(()=>{this.getAll().forEach(i=>{this.remove(i)})})}get(i){return R(this,Sn).get(i)}getAll(){return[...R(this,Sn).values()]}find(i){const s={exact:!0,...i};return this.getAll().find(o=>pg(s,o))}findAll(i={}){const s=this.getAll();return Object.keys(i).length>0?s.filter(o=>pg(i,o)):s}notify(i){le.batch(()=>{this.listeners.forEach(s=>{s(i)})})}onFocus(){le.batch(()=>{this.getAll().forEach(i=>{i.onFocus()})})}onOnline(){le.batch(()=>{this.getAll().forEach(i=>{i.onOnline()})})}},Sn=new WeakMap,xp),Pt,wa,Da,Ti,Mi,La,Ci,Ai,_p,LS=(_p=class{constructor(a={}){dt(this,Pt);dt(this,wa);dt(this,Da);dt(this,Ti);dt(this,Mi);dt(this,La);dt(this,Ci);dt(this,Ai);lt(this,Pt,a.queryCache||new DS),lt(this,wa,a.mutationCache||new OS),lt(this,Da,a.defaultOptions||{}),lt(this,Ti,new Map),lt(this,Mi,new Map),lt(this,La,0)}mount(){po(this,La)._++,R(this,La)===1&&(lt(this,Ci,Pf.subscribe(async a=>{a&&(await this.resumePausedMutations(),R(this,Pt).onFocus())})),lt(this,Ai,wo.subscribe(async a=>{a&&(await this.resumePausedMutations(),R(this,Pt).onOnline())})))}unmount(){var a,i;po(this,La)._--,R(this,La)===0&&((a=R(this,Ci))==null||a.call(this),lt(this,Ci,void 0),(i=R(this,Ai))==null||i.call(this),lt(this,Ai,void 0))}isFetching(a){return R(this,Pt).findAll({...a,fetchStatus:"fetching"}).length}isMutating(a){return R(this,wa).findAll({...a,status:"pending"}).length}getQueryData(a){var s;const i=this.defaultQueryOptions({queryKey:a});return(s=R(this,Pt).get(i.queryHash))==null?void 0:s.state.data}ensureQueryData(a){const i=this.defaultQueryOptions(a),s=R(this,Pt).build(this,i),o=s.state.data;return o===void 0?this.fetchQuery(a):(a.revalidateIfStale&&s.isStaleByTime(ja(i.staleTime,s))&&this.prefetchQuery(i),Promise.resolve(o))}getQueriesData(a){return R(this,Pt).findAll(a).map(({queryKey:i,state:s})=>{const o=s.data;return[i,o]})}setQueryData(a,i,s){const o=this.defaultQueryOptions({queryKey:a}),c=R(this,Pt).get(o.queryHash),f=c==null?void 0:c.state.data,h=hS(i,f);if(h!==void 0)return R(this,Pt).build(this,o).setData(h,{...s,manual:!0})}setQueriesData(a,i,s){return le.batch(()=>R(this,Pt).findAll(a).map(({queryKey:o})=>[o,this.setQueryData(o,i,s)]))}getQueryState(a){var s;const i=this.defaultQueryOptions({queryKey:a});return(s=R(this,Pt).get(i.queryHash))==null?void 0:s.state}removeQueries(a){const i=R(this,Pt);le.batch(()=>{i.findAll(a).forEach(s=>{i.remove(s)})})}resetQueries(a,i){const s=R(this,Pt);return le.batch(()=>(s.findAll(a).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...a},i)))}cancelQueries(a,i={}){const s={revert:!0,...i},o=le.batch(()=>R(this,Pt).findAll(a).map(c=>c.cancel(s)));return Promise.all(o).then(xe).catch(xe)}invalidateQueries(a,i={}){return le.batch(()=>(R(this,Pt).findAll(a).forEach(s=>{s.invalidate()}),(a==null?void 0:a.refetchType)==="none"?Promise.resolve():this.refetchQueries({...a,type:(a==null?void 0:a.refetchType)??(a==null?void 0:a.type)??"active"},i)))}refetchQueries(a,i={}){const s={...i,cancelRefetch:i.cancelRefetch??!0},o=le.batch(()=>R(this,Pt).findAll(a).filter(c=>!c.isDisabled()&&!c.isStatic()).map(c=>{let f=c.fetch(void 0,s);return s.throwOnError||(f=f.catch(xe)),c.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(o).then(xe)}fetchQuery(a){const i=this.defaultQueryOptions(a);i.retry===void 0&&(i.retry=!1);const s=R(this,Pt).build(this,i);return s.isStaleByTime(ja(i.staleTime,s))?s.fetch(i):Promise.resolve(s.state.data)}prefetchQuery(a){return this.fetchQuery(a).then(xe).catch(xe)}fetchInfiniteQuery(a){return a._type="infinite",this.fetchQuery(a)}prefetchInfiniteQuery(a){return this.fetchInfiniteQuery(a).then(xe).catch(xe)}ensureInfiniteQueryData(a){return a._type="infinite",this.ensureQueryData(a)}resumePausedMutations(){return wo.isOnline()?R(this,wa).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,Pt)}getMutationCache(){return R(this,wa)}getDefaultOptions(){return R(this,Da)}setDefaultOptions(a){lt(this,Da,a)}setQueryDefaults(a,i){R(this,Ti).set(_l(a),{queryKey:a,defaultOptions:i})}getQueryDefaults(a){const i=[...R(this,Ti).values()],s={};return i.forEach(o=>{Ns(a,o.queryKey)&&Object.assign(s,o.defaultOptions)}),s}setMutationDefaults(a,i){R(this,Mi).set(_l(a),{mutationKey:a,defaultOptions:i})}getMutationDefaults(a){const i=[...R(this,Mi).values()],s={};return i.forEach(o=>{Ns(a,o.mutationKey)&&Object.assign(s,o.defaultOptions)}),s}defaultQueryOptions(a){if(a._defaulted)return a;const i={...R(this,Da).queries,...this.getQueryDefaults(a.queryKey),...a,_defaulted:!0};return i.queryHash||(i.queryHash=Ff(i.queryKey,i)),i.refetchOnReconnect===void 0&&(i.refetchOnReconnect=i.networkMode!=="always"),i.throwOnError===void 0&&(i.throwOnError=!!i.suspense),!i.networkMode&&i.persister&&(i.networkMode="offlineFirst"),i.queryFn===If&&(i.enabled=!1),i}defaultMutationOptions(a){return a!=null&&a._defaulted?a:{...R(this,Da).mutations,...(a==null?void 0:a.mutationKey)&&this.getMutationDefaults(a.mutationKey),...a,_defaulted:!0}}clear(){R(this,Pt).clear(),R(this,wa).clear()}},Pt=new WeakMap,wa=new WeakMap,Da=new WeakMap,Ti=new WeakMap,Mi=new WeakMap,La=new WeakMap,Ci=new WeakMap,Ai=new WeakMap,_p),Np=F.createContext(void 0),qo=a=>{const i=F.useContext(Np);if(!i)throw new Error("No QueryClient set, use QueryClientProvider to set one");return i},US=({client:a,children:i})=>(F.useEffect(()=>(a.mount(),()=>{a.unmount()}),[a]),tt.jsx(Np.Provider,{value:a,children:i})),jp=F.createContext(!1),NS=()=>F.useContext(jp);jp.Provider;function jS(){let a=!1;return{clearReset:()=>{a=!1},reset:()=>{a=!0},isReset:()=>a}}var BS=F.createContext(jS()),HS=()=>F.useContext(BS),qS=(a,i,s)=>{const o=s!=null&&s.state.error&&typeof a.throwOnError=="function"?Wf(a.throwOnError,[s.state.error,s]):a.throwOnError;(a.suspense||a.experimental_prefetchInRender||o)&&(i.isReset()||(a.retryOnMount=!1))},QS=a=>{F.useEffect(()=>{a.clearReset()},[a])},GS=({result:a,errorResetBoundary:i,throwOnError:s,query:o,suspense:c})=>a.isError&&!i.isReset()&&!a.isFetching&&o&&(c&&a.data===void 0||Wf(s,[a.error,o])),YS=a=>{if(a.suspense){const s=c=>c==="static"?c:Math.max(c??1e3,1e3),o=a.staleTime;a.staleTime=typeof o=="function"?(...c)=>s(o(...c)):s(o),typeof a.gcTime=="number"&&(a.gcTime=Math.max(a.gcTime,1e3))}},kS=(a,i)=>a.isLoading&&a.isFetching&&!i,VS=(a,i)=>(a==null?void 0:a.suspense)&&i.isPending,Mg=(a,i,s)=>i.fetchOptimistic(a).catch(()=>{s.clearReset()});function XS(a,i,s){var S,x,E,C;const o=NS(),c=HS(),f=qo(),h=f.defaultQueryOptions(a);(x=(S=f.getDefaultOptions().queries)==null?void 0:S._experimental_beforeQuery)==null||x.call(S,h);const y=f.getQueryCache().get(h.queryHash);h._optimisticResults=o?"isRestoring":"optimistic",YS(h),qS(h,c,y),QS(c);const g=!f.getQueryCache().get(h.queryHash),[m]=F.useState(()=>new i(f,h)),b=m.getOptimisticResult(h),p=!o&&a.subscribed!==!1;if(F.useSyncExternalStore(F.useCallback(A=>{const q=p?m.subscribe(le.batchCalls(A)):xe;return m.updateResult(),q},[m,p]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),F.useEffect(()=>{m.setOptions(h)},[h,m]),VS(h,b))throw Mg(h,m,c);if(GS({result:b,errorResetBoundary:c,throwOnError:h.throwOnError,query:y,suspense:h.suspense}))throw b.error;if((C=(E=f.getDefaultOptions().queries)==null?void 0:E._experimental_afterQuery)==null||C.call(E,h,b),h.experimental_prefetchInRender&&!js.isServer()&&kS(b,o)){const A=g?Mg(h,m,c):y==null?void 0:y.promise;A==null||A.catch(xe).finally(()=>{m.updateResult()})}return h.notifyOnChangeProps?b:m.trackResult(b)}function Qo(a,i){return XS(a,MS)}function KS(a,i){const s=qo(),[o]=F.useState(()=>new wS(s,a));F.useEffect(()=>{o.setOptions(a)},[o,a]);const c=F.useSyncExternalStore(F.useCallback(h=>o.subscribe(le.batchCalls(h)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),f=F.useCallback((h,y)=>{o.mutate(h,y).catch(xe)},[o]);if(c.error&&Wf(o.options.throwOnError,[c.error]))throw c.error;return{...c,mutate:f,mutateAsync:c.mutate}}const ZS="modulepreload",JS=function(a){return"/"+a},Cg={},Zs=function(i,s,o){let c=Promise.resolve();if(s&&s.length>0){let h=function(m){return Promise.all(m.map(b=>Promise.resolve(b).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const y=document.querySelector("meta[property=csp-nonce]"),g=(y==null?void 0:y.nonce)||(y==null?void 0:y.getAttribute("nonce"));c=h(s.map(m=>{if(m=JS(m),m in Cg)return;Cg[m]=!0;const b=m.endsWith(".css"),p=b?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${p}`))return;const S=document.createElement("link");if(S.rel=b?"stylesheet":ZS,b||(S.as="script"),S.crossOrigin="",S.href=m,g&&S.setAttribute("nonce",g),document.head.appendChild(S),b)return new Promise((x,E)=>{S.addEventListener("load",x),S.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${m}`)))})}))}function f(h){const y=new Event("vite:preloadError",{cancelable:!0});if(y.payload=h,window.dispatchEvent(y),!y.defaultPrevented)throw h}return c.then(h=>{for(const y of h||[])y.status==="rejected"&&f(y.reason);return i().catch(f)})};var PS=function(){return null},Ag=F.use,Us=typeof window<"u"?F.useLayoutEffect:F.useEffect;function df(a){const i=F.useRef({value:a,prev:null}),s=i.current.value;return a!==s&&(i.current={value:a,prev:s}),i.current.prev}function FS(a,i,s={},o={}){F.useEffect(()=>{if(!a.current||o.disabled||typeof IntersectionObserver!="function")return;const c=new IntersectionObserver(([f])=>{i(f)},s);return c.observe(a.current),()=>{c.disconnect()}},[i,s,o.disabled,a])}function IS(a){const i=F.useRef(null);return F.useImperativeHandle(a,()=>i.current,[]),i}const Bp=!1;function Bs(a){return a[a.length-1]}function WS(a){return typeof a=="function"}function ul(a,i){return WS(a)?a(i):a}const Hp=Object.prototype.hasOwnProperty,zg=Object.prototype.propertyIsEnumerable;function qp(a){for(const i in a)if(Hp.call(a,i))return!0;return!1}const $S=()=>Object.create(null),ll=(a,i)=>ol(a,i,$S);function ol(a,i,s=()=>({}),o=0){if(a===i)return a;if(o>500)return i;const c=i,f=Dg(a)&&Dg(c);if(!f&&!(Do(a)&&Do(c)))return c;const h=f?a:Og(a);if(!h)return c;const y=f?c:Og(c);if(!y)return c;const g=h.length,m=y.length,b=f?new Array(m):s();let p=0;for(let S=0;S<m;S++){const x=f?S:y[S],E=a[x],C=c[x];if(E===C){b[x]=E,(f?S<g:Hp.call(a,x))&&p++;continue}if(E===null||C===null||typeof E!="object"||typeof C!="object"){b[x]=C;continue}const A=ol(E,C,s,o+1);b[x]=A,A===E&&p++}return g===m&&p===g?a:b}function Og(a){const i=Object.getOwnPropertyNames(a);for(const c of i)if(!zg.call(a,c))return!1;const s=Object.getOwnPropertySymbols(a);if(s.length===0)return i;const o=i;for(const c of s){if(!zg.call(a,c))return!1;o.push(c)}return o}function Do(a){if(!wg(a))return!1;const i=a.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!wg(s)||!s.hasOwnProperty("isPrototypeOf"))}function wg(a){return Object.prototype.toString.call(a)==="[object Object]"}function Dg(a){return Array.isArray(a)&&a.length===Object.keys(a).length}function bl(a,i,s){if(a===i)return!0;if(typeof a!=typeof i)return!1;if(Array.isArray(a)&&Array.isArray(i)){if(a.length!==i.length)return!1;for(let o=0,c=a.length;o<c;o++)if(!bl(a[o],i[o],s))return!1;return!0}if(Do(a)&&Do(i)){const o=(s==null?void 0:s.ignoreUndefined)??!0;if(s!=null&&s.partial){for(const h in i)if((!o||i[h]!==void 0)&&!bl(a[h],i[h],s))return!1;return!0}let c=0;if(!o)c=Object.keys(a).length;else for(const h in a)a[h]!==void 0&&c++;let f=0;for(const h in i)if((!o||i[h]!==void 0)&&(f++,f>c||!bl(a[h],i[h],s)))return!1;return c===f}return!1}function Oi(a){let i,s;const o=new Promise((c,f)=>{i=c,s=f});return o.status="pending",o.resolve=c=>{o.status="resolved",o.value=c,i(c),a==null||a(c)},o.reject=c=>{o.status="rejected",s(c)},o}function t1(a){return typeof(a==null?void 0:a.message)!="string"?!1:a.message.startsWith("Failed to fetch dynamically imported module")||a.message.startsWith("error loading dynamically imported module")||a.message.startsWith("Importing a module script failed")}function Hs(a){return!!(a&&typeof a=="object"&&typeof a.then=="function")}function e1(a){return a.replace(/[\x00-\x1f\x7f]/g,"")}function Lg(a){let i;try{i=decodeURI(a)}catch{i=a.replaceAll(/%[0-9A-F]{2}/gi,s=>{try{return decodeURI(s)}catch{return s}})}return e1(i)}const n1=["http:","https:","mailto:","tel:"];function Lo(a,i){if(!a)return!1;try{const s=new URL(a);return!i.has(s.protocol)}catch{return!1}}function zs(a){if(!a)return{path:a,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(a)&&!a.startsWith("//"))return{path:a,handledProtocolRelativeURL:!1};const i=/%25|%5C/gi;let s=0,o="",c;for(;(c=i.exec(a))!==null;)o+=Lg(a.slice(s,c.index))+c[0],s=i.lastIndex;o=o+Lg(s?a.slice(s):a);let f=!1;return o.startsWith("//")&&(f=!0,o="/"+o.replace(/^\/+/,"")),{path:o,handledProtocolRelativeURL:f}}function a1(a){return/\s|[^\u0000-\u007F]/.test(a)?a.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):a}function l1(a,i){if(a===i)return!0;if(a.length!==i.length)return!1;for(let s=0;s<a.length;s++)if(a[s]!==i[s])return!1;return!0}function Jn(){throw new Error("Invariant failed")}function qs(a){const i=new Map;let s,o;const c=f=>{f.next&&(f.prev?(f.prev.next=f.next,f.next.prev=f.prev,f.next=void 0,o&&(o.next=f,f.prev=o)):(f.next.prev=void 0,s=f.next,f.next=void 0,o&&(f.prev=o,o.next=f)),o=f)};return{get(f){const h=i.get(f);if(h)return c(h),h.value},set(f,h){if(i.size>=a&&s){const g=s;i.delete(g.key),g.next&&(s=g.next,g.next.prev=void 0),g===o&&(o=void 0)}const y=i.get(f);if(y)y.value=h,c(y);else{const g={key:f,value:h,prev:o};o&&(o.next=g),o=g,s||(s=g),i.set(f,g)}},clear(){i.clear(),s=void 0,o=void 0}}}const Ua=4,Qp=5;function i1(a){const i=a.indexOf("{");if(i===-1)return null;const s=a.indexOf("}",i);return s===-1||i+1>=a.length?null:[i,s]}function Gp(a,i,s=new Uint16Array(6)){const o=a.indexOf("/",i),c=o===-1?a.length:o,f=a.substring(i,c);if(!f||!f.includes("$"))return s[0]=0,s[1]=i,s[2]=i,s[3]=c,s[4]=c,s[5]=c,s;if(f==="$"){const y=a.length;return s[0]=2,s[1]=i,s[2]=i,s[3]=y,s[4]=y,s[5]=y,s}if(f.charCodeAt(0)===36)return s[0]=1,s[1]=i,s[2]=i+1,s[3]=c,s[4]=c,s[5]=c,s;const h=i1(f);if(h){const[y,g]=h,m=f.charCodeAt(y+1);if(m===45){if(y+2<f.length&&f.charCodeAt(y+2)===36){const b=y+3,p=g;if(b<p)return s[0]=3,s[1]=i+y,s[2]=i+b,s[3]=i+p,s[4]=i+g+1,s[5]=c,s}}else if(m===36){const b=y+1,p=y+2;return p===g?(s[0]=2,s[1]=i+y,s[2]=i+b,s[3]=i+p,s[4]=i+g+1,s[5]=a.length,s):(s[0]=1,s[1]=i+y,s[2]=i+p,s[3]=i+g,s[4]=i+g+1,s[5]=c,s)}}return s[0]=0,s[1]=i,s[2]=i,s[3]=c,s[4]=c,s[5]=c,s}function Go(a,i,s,o,c,f,h){var g,m,b,p,S,x,E,C,A,q;h==null||h(s);let y=o;{const B=s.fullPath??s.from,Z=B.length,w=((g=s.options)==null?void 0:g.caseSensitive)??a,X=((b=(m=s.options)==null?void 0:m.params)==null?void 0:b.parse)??((p=s.options)==null?void 0:p.parseParams);for(;y<Z;){const N=Gp(B,y,i);let z;const K=y,J=N[5];switch(y=J+1,f++,N[0]){case 0:{const I=B.substring(N[2],N[3]);if(w){const et=(S=c.static)==null?void 0:S.get(I);if(et)z=et;else{c.static??(c.static=new Map);const it=rl(s.fullPath??s.from);it.parent=c,it.depth=f,z=it,c.static.set(I,it)}}else{const et=I.toLowerCase(),it=(x=c.staticInsensitive)==null?void 0:x.get(et);if(it)z=it;else{c.staticInsensitive??(c.staticInsensitive=new Map);const st=rl(s.fullPath??s.from);st.parent=c,st.depth=f,z=st,c.staticInsensitive.set(et,st)}}break}case 1:{const I=B.substring(K,N[1]),et=B.substring(N[4],J),it=w&&!!(I||et),st=I?it?I:I.toLowerCase():void 0,gt=et?it?et:et.toLowerCase():void 0,D=!X&&((E=c.dynamic)==null?void 0:E.find(G=>!G.parse&&G.caseSensitive===it&&G.prefix===st&&G.suffix===gt));if(D)z=D;else{const G=mf(1,s.fullPath??s.from,it,st,gt);z=G,G.depth=f,G.parent=c,c.dynamic??(c.dynamic=[]),c.dynamic.push(G)}break}case 3:{const I=B.substring(K,N[1]),et=B.substring(N[4],J),it=w&&!!(I||et),st=I?it?I:I.toLowerCase():void 0,gt=et?it?et:et.toLowerCase():void 0,D=!X&&((C=c.optional)==null?void 0:C.find(G=>!G.parse&&G.caseSensitive===it&&G.prefix===st&&G.suffix===gt));if(D)z=D;else{const G=mf(3,s.fullPath??s.from,it,st,gt);z=G,G.parent=c,G.depth=f,c.optional??(c.optional=[]),c.optional.push(G)}break}case 2:{const I=B.substring(K,N[1]),et=B.substring(N[4],J),it=w&&!!(I||et),st=I?it?I:I.toLowerCase():void 0,gt=et?it?et:et.toLowerCase():void 0,D=mf(2,s.fullPath??s.from,it,st,gt);z=D,D.parent=c,D.depth=f,c.wildcard??(c.wildcard=[]),c.wildcard.push(D)}}c=z}if(X&&s.children&&!s.isRoot&&s.id&&s.id.charCodeAt(s.id.lastIndexOf("/")+1)===95){const N=rl(s.fullPath??s.from);N.kind=Qp,N.parent=c,f++,N.depth=f,c.pathless??(c.pathless=[]),c.pathless.push(N),c=N}const P=(s.path||!s.children)&&!s.isRoot;if(P&&B.endsWith("/")){const N=rl(s.fullPath??s.from);N.kind=Ua,N.parent=c,f++,N.depth=f,c.index=N,c=N}c.parse=X??null,c.priority=((q=(A=s.options)==null?void 0:A.params)==null?void 0:q.priority)??0,P&&!c.route&&(c.route=s,c.fullPath=s.fullPath??s.from)}if(s.children)for(const B of s.children)Go(a,i,B,y,c,f,h)}function hf(a,i){if(a.parse&&!i.parse)return-1;if(!a.parse&&i.parse)return 1;if(a.parse&&i.parse&&(a.priority||i.priority))return i.priority-a.priority;if(a.prefix&&i.prefix&&a.prefix!==i.prefix){if(a.prefix.startsWith(i.prefix))return-1;if(i.prefix.startsWith(a.prefix))return 1}if(a.suffix&&i.suffix&&a.suffix!==i.suffix){if(a.suffix.endsWith(i.suffix))return-1;if(i.suffix.endsWith(a.suffix))return 1}return a.prefix&&!i.prefix?-1:!a.prefix&&i.prefix?1:a.suffix&&!i.suffix?-1:!a.suffix&&i.suffix?1:a.caseSensitive&&!i.caseSensitive?-1:!a.caseSensitive&&i.caseSensitive?1:0}function Ea(a){var i,s,o;if(a.pathless)for(const c of a.pathless)Ea(c);if(a.static)for(const c of a.static.values())Ea(c);if(a.staticInsensitive)for(const c of a.staticInsensitive.values())Ea(c);if((i=a.dynamic)!=null&&i.length){a.dynamic.sort(hf);for(const c of a.dynamic)Ea(c)}if((s=a.optional)!=null&&s.length){a.optional.sort(hf);for(const c of a.optional)Ea(c)}if((o=a.wildcard)!=null&&o.length){a.wildcard.sort(hf);for(const c of a.wildcard)Ea(c)}}function rl(a){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:a,parent:null,parse:null,priority:0}}function mf(a,i,s,o,c){return{kind:a,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:i,parent:null,parse:null,priority:0,caseSensitive:s,prefix:o,suffix:c}}function s1(a,i){const s=rl("/"),o=new Uint16Array(6);for(const c of a)Go(!1,o,c,1,s,0);Ea(s),i.masksTree=s,i.flatCache=qs(1e3)}function u1(a,i){a||(a="/");const s=i.flatCache.get(a);if(s)return s;const o=td(a,i.masksTree);return i.flatCache.set(a,o),o}function o1(a,i,s,o,c){a||(a="/"),o||(o="/");const f=i?`case\0${a}`:a;let h=c.singleCache.get(f);return h||(h=rl("/"),Go(i,new Uint16Array(6),{from:a},1,h,0),c.singleCache.set(f,h)),td(o,h,s)}function r1(a,i,s=!1){const o=s?a:`nofuzz\0${a}`,c=i.matchCache.get(o);if(c!==void 0)return c;a||(a="/");let f;try{f=td(a,i.segmentTree,s)}catch(h){if(h instanceof URIError)f=null;else throw h}return f&&(f.branch=kp(f.route)),i.matchCache.set(o,f),f}function c1(a){return a==="/"?a:a.replace(/\/{1,}$/,"")}function f1(a,i=!1,s){const o=rl(a.fullPath),c=new Uint16Array(6),f={},h={};let y=0;return Go(i,c,a,1,o,0,g=>{if(s==null||s(g,y),g.id in f&&Jn(),f[g.id]=g,y!==0&&g.path){const m=c1(g.fullPath);(!h[m]||g.fullPath.endsWith("/"))&&(h[m]=g)}y++}),Ea(o),{processedTree:{segmentTree:o,singleCache:qs(1e3),matchCache:qs(1e3),flatCache:null,masksTree:null},routesById:f,routesByPath:h}}function td(a,i,s=!1){const o=a.split("/"),c=h1(a,o,i,s);if(!c)return null;const[f]=Yp(a,o,c);return{route:c.node.route,rawParams:f}}function Yp(a,i,s){var b,p,S,x,E,C,A,q,B,Z;const o=d1(s.node);let c=null;const f=Object.create(null);let h=((b=s.extract)==null?void 0:b.part)??0,y=((p=s.extract)==null?void 0:p.node)??0,g=((S=s.extract)==null?void 0:S.path)??0,m=((x=s.extract)==null?void 0:x.segment)??0;for(;y<o.length;h++,y++,g++,m++){const w=o[y];if(w.kind===Ua)break;if(w.kind===Qp){m--,h--,g--;continue}const X=i[h],P=g;if(X&&(g+=X.length),w.kind===1){c??(c=s.node.fullPath.split("/"));const N=c[m],z=((E=w.prefix)==null?void 0:E.length)??0;if(N.charCodeAt(z)===123){const K=((C=w.suffix)==null?void 0:C.length)??0,J=N.substring(z+2,N.length-K-1),I=X.substring(z,X.length-K);f[J]=decodeURIComponent(I)}else{const K=N.substring(1);f[K]=decodeURIComponent(X)}}else if(w.kind===3){if(s.skipped&1<<y){h--,g=P-1;continue}c??(c=s.node.fullPath.split("/"));const N=c[m],z=((A=w.prefix)==null?void 0:A.length)??0,K=((q=w.suffix)==null?void 0:q.length)??0,J=N.substring(z+3,N.length-K-1),I=w.suffix||w.prefix?X.substring(z,X.length-K):X;I&&(f[J]=decodeURIComponent(I))}else if(w.kind===2){const N=w,z=a.substring(P+(((B=N.prefix)==null?void 0:B.length)??0),a.length-(((Z=N.suffix)==null?void 0:Z.length)??0)),K=decodeURIComponent(z);f["*"]=K,f._splat=K;break}}return s.rawParams&&Object.assign(f,s.rawParams),[f,{part:h,node:y,path:g,segment:m}]}function kp(a){const i=[a];for(;a.parentRoute;)a=a.parentRoute,i.push(a);return i.reverse(),i}function d1(a){const i=Array(a.depth+1);do i[a.depth]=a,a=a.parent;while(a);return i}function h1(a,i,s,o){if(a==="/"&&s.index)return{node:s.index,skipped:0};const c=!Bs(i),f=c&&a!=="/",h=i.length-(c?1:0),y=[{node:s,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let g=null,m=null;for(;y.length;){const b=y.pop(),{node:p,index:S,skipped:x,depth:E,statics:C,dynamics:A,optionals:q}=b;let{extract:B,rawParams:Z}=b;if(p.kind===2&&p.route&&!So(m,b))continue;if(p.parse){if(!Ug(a,i,b))continue;Z=b.rawParams,B=b.extract}o&&p.route&&p.kind!==Ua&&So(g,b)&&(g=b);const w=S===h;if(w&&(p.route&&(!f||p.kind===Ua||p.kind===2)&&So(m,b)&&(m=b),!p.optional&&!p.wildcard&&!p.index&&!p.pathless))continue;const X=w?void 0:i[S];let P;if(w&&p.index){const N={node:p.index,index:S,skipped:x,depth:E+1,statics:C,dynamics:A,optionals:q,extract:B,rawParams:Z};let z=!0;if(p.index.parse&&(Ug(a,i,N)||(z=!1)),z){if(!A&&!q&&!x&&m1(C,h))return N;So(m,N)&&(m=N)}}if(p.wildcard)for(let N=p.wildcard.length-1;N>=0;N--){const z=p.wildcard[N],{prefix:K,suffix:J}=z;if(!(K&&(w||!(z.caseSensitive?X:P??(P=X.toLowerCase())).startsWith(K)))){if(J){if(w)continue;const I=i.slice(S).join("/").slice(-J.length);if((z.caseSensitive?I:I.toLowerCase())!==J)continue}y.push({node:z,index:h,skipped:x,depth:E+1,statics:C,dynamics:A,optionals:q,extract:B,rawParams:Z})}}if(p.optional){const N=x|1<<E,z=E+1;for(let K=p.optional.length-1;K>=0;K--){const J=p.optional[K];y.push({node:J,index:S,skipped:N,depth:z,statics:C,dynamics:A,optionals:q,extract:B,rawParams:Z})}if(!w)for(let K=p.optional.length-1;K>=0;K--){const J=p.optional[K],{prefix:I,suffix:et}=J;if(I||et){const it=J.caseSensitive?X:P??(P=X.toLowerCase());if(I&&!it.startsWith(I)||et&&!it.endsWith(et))continue}y.push({node:J,index:S+1,skipped:x,depth:z,statics:C,dynamics:A,optionals:q+bo(h,S),extract:B,rawParams:Z})}}if(!w&&p.dynamic&&X)for(let N=p.dynamic.length-1;N>=0;N--){const z=p.dynamic[N],{prefix:K,suffix:J}=z;if(K||J){const I=z.caseSensitive?X:P??(P=X.toLowerCase());if(K&&!I.startsWith(K)||J&&!I.endsWith(J))continue}y.push({node:z,index:S+1,skipped:x,depth:E+1,statics:C,dynamics:A+bo(h,S),optionals:q,extract:B,rawParams:Z})}if(!w&&p.staticInsensitive){const N=p.staticInsensitive.get(P??(P=X.toLowerCase()));N&&y.push({node:N,index:S+1,skipped:x,depth:E+1,statics:C+bo(h,S),dynamics:A,optionals:q,extract:B,rawParams:Z})}if(!w&&p.static){const N=p.static.get(X);N&&y.push({node:N,index:S+1,skipped:x,depth:E+1,statics:C+bo(h,S),dynamics:A,optionals:q,extract:B,rawParams:Z})}if(p.pathless){const N=E+1;for(let z=p.pathless.length-1;z>=0;z--){const K=p.pathless[z];y.push({node:K,index:S,skipped:x,depth:N,statics:C,dynamics:A,optionals:q,extract:B,rawParams:Z})}}}if(m)return m;if(o&&g){let b=g.index;for(let S=0;S<g.index;S++)b+=i[S].length;const p=b===a.length?"/":a.slice(b);return g.rawParams??(g.rawParams=Object.create(null)),g.rawParams["**"]=decodeURIComponent(p),g}return null}function bo(a,i){return 2**(a-i-1)}function m1(a,i){return a===2**(i-1)-1}function Ug(a,i,s){let o,c;try{[o,c]=Yp(a,i,s)}catch{return null}if(s.rawParams=o,s.extract=c,!s.node.parse)return!0;try{if(s.node.parse(o)===!1)return null}catch{}return!0}function So(a,i){return a?i.statics>a.statics||i.statics===a.statics&&(i.dynamics>a.dynamics||i.dynamics===a.dynamics&&(i.optionals>a.optionals||i.optionals===a.optionals&&((i.node.kind===Ua)>(a.node.kind===Ua)||i.node.kind===Ua==(a.node.kind===Ua)&&i.depth>a.depth))):!0}function Mo(a){return ed(a.filter(i=>i!==void 0).join("/"))}function ed(a){return a.replace(/\/{2,}/g,"/")}function Vp(a){return a==="/"?a:a.replace(/^\/{1,}/,"")}function Zn(a){const i=a.length;return i>1&&a[i-1]==="/"?a.replace(/\/{1,}$/,""):a}function Xp(a){return Zn(Vp(a))}function Uo(a,i){return a!=null&&a.endsWith("/")&&a!=="/"&&a!==`${i}/`?a.slice(0,-1):a}function y1(a,i,s){return Uo(a,s)===Uo(i,s)}function g1({base:a,to:i,trailingSlash:s="never",cache:o}){const c=i.startsWith("/"),f=!c&&i===".";let h;if(o){h=c?i:f?a:a+"\0"+i;const m=o.get(h);if(m)return m}let y;if(f)y=a.split("/");else if(c)y=i.split("/");else{for(y=a.split("/");y.length>1&&Bs(y)==="";)y.pop();const m=i.split("/");for(let b=0,p=m.length;b<p;b++){const S=m[b];S===""?b?b===p-1&&y.push(S):y=[S]:S===".."?y.pop():S==="."||y.push(S)}}y.length>1&&(Bs(y)===""?s==="never"&&y.pop():s==="always"&&y.push(""));const g=ed(y.join("/"))||"/";return h&&o&&o.set(h,g),g}function p1(a){const i=new Map(a.map(c=>[encodeURIComponent(c),c])),s=Array.from(i.keys()).map(c=>c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),o=new RegExp(s,"g");return c=>c.replace(o,f=>i.get(f)??f)}function yf(a,i,s){const o=i[a];return typeof o!="string"?o:a==="_splat"?/^[a-zA-Z0-9\-._~!/]*$/.test(o)?o:o.split("/").map(c=>jg(c,s)).join("/"):jg(o,s)}function Ng({path:a,params:i,decoder:s,...o}){let c=!1;const f=Object.create(null);if(!a||a==="/")return{interpolatedPath:"/",usedParams:f,isMissingParams:c};if(!a.includes("$"))return{interpolatedPath:a,usedParams:f,isMissingParams:c};const h=a.length;let y=0,g,m="";for(;y<h;){const b=y;g=Gp(a,b,g);const p=g[5];if(y=p+1,b===p)continue;const S=g[0];if(S===0){m+="/"+a.substring(b,p);continue}if(S===2){const x=i._splat;f._splat=x,f["*"]=x;const E=a.substring(b,g[1]),C=a.substring(g[4],p);if(!x){c=!0,(E||C)&&(m+="/"+E+C);continue}const A=yf("_splat",i,s);m+="/"+E+A+C;continue}if(S===1){const x=a.substring(g[2],g[3]);!c&&!(x in i)&&(c=!0),f[x]=i[x];const E=a.substring(b,g[1]),C=a.substring(g[4],p),A=yf(x,i,s)??"undefined";m+="/"+E+A+C;continue}if(S===3){const x=a.substring(g[2],g[3]),E=i[x];if(E==null)continue;f[x]=E;const C=a.substring(b,g[1]),A=a.substring(g[4],p),q=yf(x,i,s)??"";m+="/"+C+q+A;continue}}return a.endsWith("/")&&(m+="/"),{usedParams:f,interpolatedPath:m||"/",isMissingParams:c}}function jg(a,i){const s=encodeURIComponent(a);return(i==null?void 0:i(s))??s}function pe(a){return(a==null?void 0:a.isNotFound)===!0}function v1(a,i=String){const s=new URLSearchParams;for(const o in a){const c=a[o];c!==void 0&&s.set(o,i(c))}return s.toString()}function gf(a){return a?a==="false"?!1:a==="true"?!0:+a*0===0&&+a+""===a?+a:a:""}function b1(a){const i=new URLSearchParams(a),s=Object.create(null);for(const[o,c]of i.entries()){const f=s[o];f==null?s[o]=gf(c):Array.isArray(f)?f.push(gf(c)):s[o]=[f,gf(c)]}return s}const S1=_1(JSON.parse),x1=R1(JSON.stringify,JSON.parse);function _1(a){return i=>{i[0]==="?"&&(i=i.substring(1));const s=b1(i);for(const o in s){const c=s[o];if(typeof c=="string")try{s[o]=a(c)}catch{}}return s}}function R1(a,i){const s=typeof i=="function";function o(c){if(typeof c=="object"&&c!==null)try{return a(c)}catch{}else if(s&&typeof c=="string")try{return i(c),a(c)}catch{}return c}return c=>{const f=v1(c,o);return f?`?${f}`:""}}const Sl="__root__";function E1(a){if(a.statusCode=a.statusCode||a.code||307,!a._builtLocation&&!a.reloadDocument&&typeof a.href=="string")try{new URL(a.href),a.reloadDocument=!0}catch{}const i=new Headers(a.headers);a.href&&i.get("Location")===null&&i.set("Location",a.href);const s=new Response(null,{status:a.statusCode,headers:i});if(s.options=a,a.throw)throw s;return s}function De(a){return a instanceof Response&&!!a.options}const Qf=a=>{var i;if(!a.rendered)return a.rendered=!0,(i=a.onReady)==null?void 0:i.call(a)},T1=a=>a.stores.matchesId.get().some(i=>{var s;return(s=a.stores.matchStores.get(i))==null?void 0:s.get()._forcePending}),Yo=(a,i)=>!!(a.preload&&!a.router.stores.matchStores.has(i)),xl=(a,i,s=!0)=>{const o={...a.router.options.context??{}},c=s?i:i-1;for(let f=0;f<=c;f++){const h=a.matches[f];if(!h)continue;const y=a.router.getMatch(h.id);y&&Object.assign(o,y.__routeContext,y.__beforeLoadContext)}return o},Bg=(a,i)=>{if(!a.matches.length)return;const s=i.routeId,o=a.matches.findIndex(h=>h.routeId===a.router.routeTree.id),c=o>=0?o:0;let f=s?a.matches.findIndex(h=>h.routeId===s):a.firstBadMatchIndex??a.matches.length-1;f<0&&(f=c);for(let h=f;h>=0;h--){const y=a.matches[h];if(a.router.looseRoutesById[y.routeId].options.notFoundComponent)return h}return s?f:c},Na=(a,i,s)=>{var o,c,f;if(!(!De(s)&&!pe(s)))throw De(s)&&s.redirectHandled&&!s.options.reloadDocument||(i&&((o=i._nonReactive.beforeLoadPromise)==null||o.resolve(),(c=i._nonReactive.loaderPromise)==null||c.resolve(),i._nonReactive.beforeLoadPromise=void 0,i._nonReactive.loaderPromise=void 0,i._nonReactive.error=s,a.updateMatch(i.id,h=>({...h,status:De(s)?"redirected":pe(s)?"notFound":h.status==="pending"?"success":h.status,context:xl(a,i.index),isFetching:!1,error:s})),pe(s)&&!s.routeId&&(s.routeId=i.routeId),(f=i._nonReactive.loadPromise)==null||f.resolve()),De(s)&&(a.rendered=!0,s.options._fromLocation=a.location,s.redirectHandled=!0,s=a.router.resolveRedirect(s))),s},Kp=(a,i)=>{const s=a.router.getMatch(i);return!!(!s||s._nonReactive.dehydrated)},Hg=(a,i,s)=>{const o=xl(a,s);a.updateMatch(i,c=>({...c,context:o}))},Os=(a,i,s,o)=>{var y,g;const{id:c,routeId:f}=a.matches[i],h=a.router.looseRoutesById[f];if(s instanceof Promise)throw s;s.routerCode=o,a.firstBadMatchIndex??(a.firstBadMatchIndex=i),Na(a,a.router.getMatch(c),s);try{(g=(y=h.options).onError)==null||g.call(y,s)}catch(m){s=m,Na(a,a.router.getMatch(c),s)}a.updateMatch(c,m=>{var b,p;return(b=m._nonReactive.beforeLoadPromise)==null||b.resolve(),m._nonReactive.beforeLoadPromise=void 0,(p=m._nonReactive.loadPromise)==null||p.resolve(),{...m,error:s,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController}}),!a.preload&&!De(s)&&!pe(s)&&(a.serialError??(a.serialError=s))},Zp=(a,i,s,o)=>{var f;if(o._nonReactive.pendingTimeout!==void 0)return;const c=s.options.pendingMs??a.router.options.defaultPendingMs;if(a.onReady&&!Yo(a,i)&&(s.options.loader||s.options.beforeLoad||Pp(s))&&typeof c=="number"&&c!==1/0&&(s.options.pendingComponent??((f=a.router.options)==null?void 0:f.defaultPendingComponent))){const h=setTimeout(()=>{Qf(a)},c);o._nonReactive.pendingTimeout=h}},M1=(a,i,s)=>{const o=a.router.getMatch(i);if(!o._nonReactive.beforeLoadPromise&&!o._nonReactive.loaderPromise)return;Zp(a,i,s,o);const c=()=>{const f=a.router.getMatch(i);f.preload&&(f.status==="redirected"||f.status==="notFound")&&Na(a,f,f.error)};return o._nonReactive.beforeLoadPromise?o._nonReactive.beforeLoadPromise.then(c):c()},C1=(a,i,s,o)=>{const c=a.router.getMatch(i);let f=c._nonReactive.loadPromise;c._nonReactive.loadPromise=Oi(()=>{f==null||f.resolve(),f=void 0});const{paramsError:h,searchError:y}=c;h&&Os(a,s,h,"PARSE_PARAMS"),y&&Os(a,s,y,"VALIDATE_SEARCH"),Zp(a,i,o,c);const g=new AbortController;let m=!1;const b=()=>{m||(m=!0,a.updateMatch(i,w=>({...w,isFetching:"beforeLoad",fetchCount:w.fetchCount+1,abortController:g})))},p=()=>{var w;(w=c._nonReactive.beforeLoadPromise)==null||w.resolve(),c._nonReactive.beforeLoadPromise=void 0,a.updateMatch(i,X=>({...X,isFetching:!1}))};if(!o.options.beforeLoad){a.router.batch(()=>{b(),p()});return}c._nonReactive.beforeLoadPromise=Oi();const S={...xl(a,s,!1),...c.__routeContext},{search:x,params:E,cause:C}=c,A=Yo(a,i),q={search:x,abortController:g,params:E,preload:A,context:S,location:a.location,navigate:w=>a.router.navigate({...w,_fromLocation:a.location}),buildLocation:a.router.buildLocation,cause:A?"preload":C,matches:a.matches,routeId:o.id,...a.router.options.additionalContext},B=w=>{if(w===void 0){a.router.batch(()=>{b(),p()});return}(De(w)||pe(w))&&(b(),Os(a,s,w,"BEFORE_LOAD")),a.router.batch(()=>{b(),a.updateMatch(i,X=>({...X,__beforeLoadContext:w})),p()})};let Z;try{if(Z=o.options.beforeLoad(q),Hs(Z))return b(),Z.catch(w=>{Os(a,s,w,"BEFORE_LOAD")}).then(B)}catch(w){b(),Os(a,s,w,"BEFORE_LOAD")}B(Z)},A1=(a,i)=>{const{id:s,routeId:o}=a.matches[i],c=a.router.looseRoutesById[o],f=()=>y(),h=()=>C1(a,s,i,c),y=()=>{if(Kp(a,s))return;const g=M1(a,s,c);return Hs(g)?g.then(h):h()};return f()},z1=(a,i,s)=>{var f,h,y,g,m,b;const o=a.router.getMatch(i);if(!o||!s.options.head&&!s.options.scripts&&!s.options.headers)return;const c={ssr:a.router.options.ssr,matches:a.matches,match:o,params:o.params,loaderData:o.loaderData};return Promise.all([(h=(f=s.options).head)==null?void 0:h.call(f,c),(g=(y=s.options).scripts)==null?void 0:g.call(y,c),(b=(m=s.options).headers)==null?void 0:b.call(m,c)]).then(([p,S,x])=>({meta:p==null?void 0:p.meta,links:p==null?void 0:p.links,headScripts:p==null?void 0:p.scripts,headers:x,scripts:S,styles:p==null?void 0:p.styles}))},Jp=(a,i,s,o,c)=>{const f=i[o-1],{params:h,loaderDeps:y,abortController:g,cause:m}=a.router.getMatch(s),b=xl(a,o),p=Yo(a,s);return{params:h,deps:y,preload:!!p,parentMatchPromise:f,abortController:g,context:b,location:a.location,navigate:S=>a.router.navigate({...S,_fromLocation:a.location}),cause:p?"preload":m,route:c,...a.router.options.additionalContext}},qg=async(a,i,s,o,c)=>{var f,h,y,g,m;try{const b=a.router.getMatch(s);try{(!(Bp??a.router.isServer)||b.ssr===!0)&&Qs(c);const p=c.options.loader,S=typeof p=="function"?p:p==null?void 0:p.handler,x=S==null?void 0:S(Jp(a,i,s,o,c)),E=!!S&&Hs(x);if((E||c._lazyPromise||c._componentsPromise||c.options.head||c.options.scripts||c.options.headers||b._nonReactive.minPendingPromise)&&a.updateMatch(s,A=>({...A,isFetching:"loader"})),S){const A=E?await x:x;Na(a,a.router.getMatch(s),A),A!==void 0&&a.updateMatch(s,q=>({...q,loaderData:A}))}c._lazyPromise&&await c._lazyPromise;const C=b._nonReactive.minPendingPromise;C&&await C,c._componentsPromise&&await c._componentsPromise,a.updateMatch(s,A=>({...A,error:void 0,context:xl(a,o),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(p){let S=p;if((S==null?void 0:S.name)==="AbortError"){if(b.abortController.signal.aborted){(f=b._nonReactive.loaderPromise)==null||f.resolve(),b._nonReactive.loaderPromise=void 0;return}a.updateMatch(s,E=>({...E,status:E.status==="pending"?"success":E.status,isFetching:!1,context:xl(a,o)}));return}const x=b._nonReactive.minPendingPromise;x&&await x,pe(p)&&await((y=(h=c.options.notFoundComponent)==null?void 0:h.preload)==null?void 0:y.call(h)),Na(a,a.router.getMatch(s),p);try{(m=(g=c.options).onError)==null||m.call(g,p)}catch(E){S=E,Na(a,a.router.getMatch(s),E)}!De(S)&&!pe(S)&&await Qs(c,["errorComponent"]),a.updateMatch(s,E=>({...E,error:S,context:xl(a,o),status:"error",isFetching:!1}))}}catch(b){const p=a.router.getMatch(s);p&&(p._nonReactive.loaderPromise=void 0),Na(a,p,b)}},O1=async(a,i,s)=>{var x,E,C,A;async function o(q,B,Z,w,X){const P=Date.now()-B.updatedAt,N=q?X.options.preloadStaleTime??a.router.options.defaultPreloadStaleTime??3e4:X.options.staleTime??a.router.options.defaultStaleTime??0,z=X.options.shouldReload,K=typeof z=="function"?z(Jp(a,i,c,s,X)):z,{status:J,invalid:I}=w,et=P>=N&&(!!a.forceStaleReload||w.cause==="enter"||Z!==void 0&&Z!==w.id);h=J==="success"&&(I||(K??et)),q&&X.options.preload===!1||(h&&!a.sync&&b?(y=!0,(async()=>{var it,st;try{await qg(a,i,c,s,X);const gt=a.router.getMatch(c);(it=gt._nonReactive.loaderPromise)==null||it.resolve(),(st=gt._nonReactive.loadPromise)==null||st.resolve(),gt._nonReactive.loaderPromise=void 0,gt._nonReactive.loadPromise=void 0}catch(gt){De(gt)&&await a.router.navigate(gt.options)}})()):J!=="success"||h?await qg(a,i,c,s,X):Hg(a,c,s))}const{id:c,routeId:f}=a.matches[s];let h=!1,y=!1;const g=a.router.looseRoutesById[f],m=g.options.loader,b=((typeof m=="function"||m==null?void 0:m.staleReloadMode)??a.router.options.defaultStaleReloadMode)!=="blocking";if(Kp(a,c)){if(!a.router.getMatch(c))return a.matches[s];Hg(a,c,s)}else{const q=a.router.getMatch(c),B=a.router.stores.matchesId.get()[s],Z=((x=B&&a.router.stores.matchStores.get(B)||null)==null?void 0:x.routeId)===f?B:(E=a.router.stores.matches.get().find(X=>X.routeId===f))==null?void 0:E.id,w=Yo(a,c);if(q._nonReactive.loaderPromise){if(q.status==="success"&&!a.sync&&!q.preload&&b)return q;await q._nonReactive.loaderPromise;const X=a.router.getMatch(c),P=X._nonReactive.error||X.error;P&&Na(a,X,P),X.status==="pending"&&await o(w,q,Z,X,g)}else{const X=w&&!a.router.stores.matchStores.has(c),P=a.router.getMatch(c);P._nonReactive.loaderPromise=Oi(),X!==P.preload&&a.updateMatch(c,N=>({...N,preload:X})),await o(w,q,Z,P,g)}}const p=a.router.getMatch(c);y||((C=p._nonReactive.loaderPromise)==null||C.resolve(),(A=p._nonReactive.loadPromise)==null||A.resolve(),p._nonReactive.loadPromise=void 0),clearTimeout(p._nonReactive.pendingTimeout),p._nonReactive.pendingTimeout=void 0,y||(p._nonReactive.loaderPromise=void 0),p._nonReactive.dehydrated=void 0;const S=y?p.isFetching:!1;return S!==p.isFetching||p.invalid!==!1?(a.updateMatch(c,q=>({...q,isFetching:S,invalid:!1})),a.router.getMatch(c)):p};async function Qg(a){var S,x;const i=a,s=[];T1(i.router)&&Qf(i);let o;for(let E=0;E<i.matches.length;E++){try{const C=A1(i,E);Hs(C)&&await C}catch(C){if(De(C))throw C;if(pe(C))o=C;else if(!i.preload)throw C;break}if(i.serialError||i.firstBadMatchIndex!=null)break}const c=i.firstBadMatchIndex??i.matches.length,f=o&&!i.preload?Bg(i,o):void 0,h=o&&i.preload?0:f!==void 0?Math.min(f+1,c):c;let y,g;for(let E=0;E<h;E++)s.push(O1(i,s,E));try{await Promise.all(s)}catch{const E=await Promise.allSettled(s);for(const C of E){if(C.status!=="rejected")continue;const A=C.reason;if(De(A))throw A;pe(A)?y??(y=A):g??(g=A)}if(g!==void 0)throw g}const m=y??(o&&!i.preload?o:void 0);let b=i.firstBadMatchIndex!==void 0?i.firstBadMatchIndex:i.matches.length-1;if(!m&&o&&i.preload)return i.matches;if(m){const E=Bg(i,m);E===void 0&&Jn();const C=i.matches[E],A=i.router.looseRoutesById[C.routeId],q=(S=i.router.options)==null?void 0:S.defaultNotFoundComponent;!A.options.notFoundComponent&&q&&(A.options.notFoundComponent=q),m.routeId=C.routeId;const B=C.routeId===i.router.routeTree.id;i.updateMatch(C.id,Z=>({...Z,...B?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:m},isFetching:!1})),b=E,await Qs(A,["notFoundComponent"])}else if(!i.preload){const E=i.matches[0];E.globalNotFound||(x=i.router.getMatch(E.id))!=null&&x.globalNotFound&&i.updateMatch(E.id,C=>({...C,globalNotFound:!1,error:void 0}))}if(i.serialError&&i.firstBadMatchIndex!==void 0){const E=i.router.looseRoutesById[i.matches[i.firstBadMatchIndex].routeId];await Qs(E,["errorComponent"])}for(let E=0;E<=b;E++){const{id:C,routeId:A}=i.matches[E],q=i.router.looseRoutesById[A];try{const B=z1(i,C,q);if(B){const Z=await B;i.updateMatch(C,w=>({...w,...Z}))}}catch(B){console.error(`Error executing head for route ${A}:`,B)}}const p=Qf(i);if(Hs(p)&&await p,m)throw m;if(i.serialError&&!i.preload&&!i.onReady)throw i.serialError;return i.matches}function Gg(a,i){const s=i.map(o=>{var c,f;return(f=(c=a.options[o])==null?void 0:c.preload)==null?void 0:f.call(c)}).filter(Boolean);if(s.length!==0)return Promise.all(s)}function Qs(a,i=Co){!a._lazyLoaded&&a._lazyPromise===void 0&&(a.lazyFn?a._lazyPromise=a.lazyFn().then(o=>{const{id:c,...f}=o.options;Object.assign(a.options,f),a._lazyLoaded=!0,a._lazyPromise=void 0}):a._lazyLoaded=!0);const s=()=>a._componentsLoaded?void 0:i===Co?(()=>{if(a._componentsPromise===void 0){const o=Gg(a,Co);o?a._componentsPromise=o.then(()=>{a._componentsLoaded=!0,a._componentsPromise=void 0}):a._componentsLoaded=!0}return a._componentsPromise})():Gg(a,i);return a._lazyPromise?a._lazyPromise.then(s):s()}function Pp(a){var i;for(const s of Co)if((i=a.options[s])!=null&&i.preload)return!0;return!1}const Co=["component","errorComponent","pendingComponent","notFoundComponent"];function w1(a){return{input:({url:i})=>{for(const s of a)i=Gf(s,i);return i},output:({url:i})=>{for(let s=a.length-1;s>=0;s--)i=Fp(a[s],i);return i}}}function D1(a){const i=Xp(a.basepath),s=`/${i}`,o=a.caseSensitive?s:s.toLowerCase(),c=`${o}/`;return{input:({url:f})=>{const h=a.caseSensitive?f.pathname:f.pathname.toLowerCase();return h===o?f.pathname="/":h.startsWith(c)&&(f.pathname=f.pathname.slice(s.length)),f},output:({url:f})=>(f.pathname=Mo(["/",i,f.pathname]),f)}}function Gf(a,i){var o;const s=(o=a==null?void 0:a.input)==null?void 0:o.call(a,{url:i});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return i}function Fp(a,i){var o;const s=(o=a==null?void 0:a.output)==null?void 0:o.call(a,{url:i});if(s){if(typeof s=="string")return new URL(s);if(s instanceof URL)return s}return i}function L1(a,i){const{createMutableStore:s,createReadonlyStore:o,batch:c,init:f}=i,h=new Map,y=new Map,g=new Map,m=s(a.status),b=s(a.loadedAt),p=s(a.isLoading),S=s(a.isTransitioning),x=s(a.location),E=s(a.resolvedLocation),C=s(a.statusCode),A=s(a.redirect),q=s([]),B=s([]),Z=s([]),w=o(()=>pf(h,q.get())),X=o(()=>pf(y,B.get())),P=o(()=>pf(g,Z.get())),N=o(()=>q.get()[0]),z=o(()=>q.get().some(G=>{var ct;return((ct=h.get(G))==null?void 0:ct.get().status)==="pending"})),K=o(()=>{var G;return{locationHref:x.get().href,resolvedLocationHref:(G=E.get())==null?void 0:G.href,status:m.get()}}),J=o(()=>({status:m.get(),loadedAt:b.get(),isLoading:p.get(),isTransitioning:S.get(),matches:w.get(),location:x.get(),resolvedLocation:E.get(),statusCode:C.get(),redirect:A.get()})),I=qs(64);function et(G){let ct=I.get(G);return ct||(ct=o(()=>{const At=q.get();for(const W of At){const T=h.get(W);if(T&&T.routeId===G)return T.get()}}),I.set(G,ct)),ct}const it={status:m,loadedAt:b,isLoading:p,isTransitioning:S,location:x,resolvedLocation:E,statusCode:C,redirect:A,matchesId:q,pendingIds:B,cachedIds:Z,matches:w,pendingMatches:X,cachedMatches:P,firstId:N,hasPending:z,matchRouteDeps:K,matchStores:h,pendingMatchStores:y,cachedMatchStores:g,__store:J,getRouteMatchStore:et,setMatches:st,setPending:gt,setCached:D};st(a.matches),f==null||f(it);function st(G){vf(G,h,q,s,c)}function gt(G){vf(G,y,B,s,c)}function D(G){vf(G,g,Z,s,c)}return it}function pf(a,i){const s=[];for(const o of i){const c=a.get(o);c&&s.push(c.get())}return s}function vf(a,i,s,o,c){const f=a.map(y=>y.id),h=new Set(f);c(()=>{for(const y of i.keys())h.has(y)||i.delete(y);for(const y of a){const g=i.get(y.id);if(!g){const m=o(y);m.routeId=y.routeId,i.set(y.id,m);continue}g.routeId=y.routeId,g.get()!==y&&g.set(y)}l1(s.get(),f)||s.set(f)})}var Ba="__TSR_index",Yg="popstate",kg="beforeunload";function U1(a){let i=a.getLocation();const s=new Set,o=h=>{i=a.getLocation(),s.forEach(y=>y({location:i,action:h}))},c=h=>{a.notifyOnIndexChange??!0?o(h):i=a.getLocation()},f=async({task:h,navigateOpts:y,...g})=>{var p,S;if((y==null?void 0:y.ignoreBlocker)??!1){h();return}const m=((p=a.getBlockers)==null?void 0:p.call(a))??[],b=g.type==="PUSH"||g.type==="REPLACE";if(typeof document<"u"&&m.length&&b)for(const x of m){const E=No(g.path,g.state);if(await x.blockerFn({currentLocation:i,nextLocation:E,action:g.type})){(S=a.onBlocked)==null||S.call(a);return}}h()};return{get location(){return i},get length(){return a.getLength()},subscribers:s,subscribe:h=>(s.add(h),()=>{s.delete(h)}),push:(h,y,g)=>{const m=i.state[Ba];y=Vg(m+1,y),f({task:()=>{a.pushState(h,y),o({type:"PUSH"})},navigateOpts:g,type:"PUSH",path:h,state:y})},replace:(h,y,g)=>{const m=i.state[Ba];y=Vg(m,y),f({task:()=>{a.replaceState(h,y),o({type:"REPLACE"})},navigateOpts:g,type:"REPLACE",path:h,state:y})},go:(h,y)=>{f({task:()=>{a.go(h),c({type:"GO",index:h})},navigateOpts:y,type:"GO"})},back:h=>{f({task:()=>{a.back((h==null?void 0:h.ignoreBlocker)??!1),c({type:"BACK"})},navigateOpts:h,type:"BACK"})},forward:h=>{f({task:()=>{a.forward((h==null?void 0:h.ignoreBlocker)??!1),c({type:"FORWARD"})},navigateOpts:h,type:"FORWARD"})},canGoBack:()=>i.state[Ba]!==0,createHref:h=>a.createHref(h),block:h=>{var g;if(!a.setBlockers)return()=>{};const y=((g=a.getBlockers)==null?void 0:g.call(a))??[];return a.setBlockers([...y,h]),()=>{var b,p;const m=((b=a.getBlockers)==null?void 0:b.call(a))??[];(p=a.setBlockers)==null||p.call(a,m.filter(S=>S!==h))}},flush:()=>{var h;return(h=a.flush)==null?void 0:h.call(a)},destroy:()=>{var h;return(h=a.destroy)==null?void 0:h.call(a)},notify:o}}function Vg(a,i){i||(i={});const s=nd();return{...i,key:s,__TSR_key:s,[Ba]:a}}function N1(a){var z,K;const i=typeof document<"u"?window:void 0,s=i.history.pushState,o=i.history.replaceState;let c=[];const f=()=>c,h=J=>c=J,y=(J=>J),g=(()=>No(`${i.location.pathname}${i.location.search}${i.location.hash}`,i.history.state));if(!((z=i.history.state)!=null&&z.__TSR_key)&&!((K=i.history.state)!=null&&K.key)){const J=nd();i.history.replaceState({[Ba]:0,key:J,__TSR_key:J},"")}let m=g(),b,p=!1,S=!1,x=!1,E=!1;const C=()=>m;let A,q;const B=()=>{A&&(N._ignoreSubscribers=!0,(A.isPush?i.history.pushState:i.history.replaceState)(A.state,"",A.href),N._ignoreSubscribers=!1,A=void 0,q=void 0,b=void 0)},Z=(J,I,et)=>{const it=y(I);q||(b=m),m=No(I,et),A={href:it,state:et,isPush:(A==null?void 0:A.isPush)||J==="push"},q||(q=Promise.resolve().then(()=>B()))},w=J=>{m=g(),N.notify({type:J})},X=async()=>{if(S){S=!1;return}const J=g(),I=J.state[Ba]-m.state[Ba],et=I===1,it=I===-1,st=!et&&!it||p;p=!1;const gt=st?"GO":it?"BACK":"FORWARD",D=st?{type:"GO",index:I}:{type:it?"BACK":"FORWARD"};if(x)x=!1;else{const G=f();if(typeof document<"u"&&G.length){for(const ct of G)if(await ct.blockerFn({currentLocation:m,nextLocation:J,action:gt})){S=!0,i.history.go(1),N.notify(D);return}}}m=g(),N.notify(D)},P=J=>{if(E){E=!1;return}let I=!1;const et=f();if(typeof document<"u"&&et.length)for(const it of et){const st=it.enableBeforeUnload??!0;if(st===!0){I=!0;break}if(typeof st=="function"&&st()===!0){I=!0;break}}if(I)return J.preventDefault(),J.returnValue=""},N=U1({getLocation:C,getLength:()=>i.history.length,pushState:(J,I)=>Z("push",J,I),replaceState:(J,I)=>Z("replace",J,I),back:J=>(J&&(x=!0),E=!0,i.history.back()),forward:J=>{J&&(x=!0),E=!0,i.history.forward()},go:J=>{p=!0,i.history.go(J)},createHref:J=>y(J),flush:B,destroy:()=>{i.history.pushState=s,i.history.replaceState=o,i.removeEventListener(kg,P,{capture:!0}),i.removeEventListener(Yg,X)},onBlocked:()=>{b&&m!==b&&(m=b)},getBlockers:f,setBlockers:h,notifyOnIndexChange:!1});return i.addEventListener(kg,P,{capture:!0}),i.addEventListener(Yg,X),i.history.pushState=function(...J){const I=s.apply(i.history,J);return N._ignoreSubscribers||w("PUSH"),I},i.history.replaceState=function(...J){const I=o.apply(i.history,J);return N._ignoreSubscribers||w("REPLACE"),I},N}function j1(a){let i=a.replace(/[\x00-\x1f\x7f]/g,"");return i.startsWith("//")&&(i="/"+i.replace(/^\/+/,"")),i}function No(a,i){const s=j1(a),o=s.indexOf("#"),c=s.indexOf("?"),f=nd();return{href:s,pathname:s.substring(0,o>0?c>0?Math.min(o,c):o:c>0?c:s.length),hash:o>-1?s.substring(o):"",search:c>-1?s.slice(c,o===-1?void 0:o):"",state:i||{[Ba]:0,key:f,__TSR_key:f}}}function nd(){return(Math.random()+1).toString(36).substring(7)}function mi(a,i){const s=i,o=a;return{fromLocation:s,toLocation:o,pathChanged:(s==null?void 0:s.pathname)!==o.pathname,hrefChanged:(s==null?void 0:s.href)!==o.href,hashChanged:(s==null?void 0:s.hash)!==o.hash}}const Yf=new WeakMap;var B1=class{constructor(a,i){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.isScrollRestoring=!1,this.isScrollRestorationSetup=!1,this.routeBranchCache=new WeakMap,this.startTransition=s=>s(),this.update=s=>{var b;const o=this.options,c=this.basepath??(o==null?void 0:o.basepath)??"/",f=this.basepath===void 0,h=o==null?void 0:o.rewrite;if(this.options={...o,...s},this.isServer=this.options.isServer??typeof document>"u",this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=p1(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=N1()),this.origin=this.options.origin,this.origin||(window!=null&&window.origin&&window.origin!=="null"?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let p;this.resolvePathCache=qs(1e3),p=this.buildRouteTree(),this.setRoutes(p)}if(!this.stores&&this.latestLocation){const p=this.getStoreConfig(this);this.batch=p.batch,this.stores=L1(q1(this.latestLocation),p),F1(this)}let y=!1;const g=this.options.basepath??"/",m=this.options.rewrite;if(f||c!==g||h!==m){this.basepath=g;const p=[],S=Xp(g);S&&S!=="/"&&p.push(D1({basepath:g})),m&&p.push(m),this.rewrite=p.length===0?void 0:p.length===1?p[0]:w1(p),this.history&&this.updateLatestLocation(),y=!0}y&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<"u"&&"CSS"in window&&typeof((b=window.CSS)==null?void 0:b.supports)=="function"&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const s=f1(this.routeTree,this.options.caseSensitive,(o,c)=>{o.init({originalIndex:c})});return this.options.routeMasks&&s1(this.options.routeMasks,s.processedTree),s},this.subscribe=(s,o)=>{const c={eventType:s,fn:o};return this.subscribers.add(c),()=>{this.subscribers.delete(c)}},this.emit=s=>{this.subscribers.forEach(o=>{o.eventType===s.type&&o.fn(s)})},this.parseLocation=(s,o)=>{const c=({pathname:g,search:m,hash:b,href:p,state:S})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(g)){const q=this.options.parseSearch(m),B=this.options.stringifySearch(q);return{href:g+B+b,publicHref:g+B+b,pathname:zs(g).path,external:!1,searchStr:B,search:ll(o==null?void 0:o.search,q),hash:zs(b.slice(1)).path,state:ol(o==null?void 0:o.state,S)}}const x=new URL(p,this.origin),E=Gf(this.rewrite,x),C=this.options.parseSearch(E.search),A=this.options.stringifySearch(C);return E.search=A,{href:E.href.replace(E.origin,""),publicHref:p,pathname:zs(E.pathname).path,external:!!this.rewrite&&E.origin!==this.origin,searchStr:A,search:ll(o==null?void 0:o.search,C),hash:zs(E.hash.slice(1)).path,state:ol(o==null?void 0:o.state,S)}},f=c(s),{__tempLocation:h,__tempKey:y}=f.state;if(h&&(!y||y===this.tempLocationKey)){const g=c(h);return g.state.key=f.state.key,g.state.__TSR_key=f.state.__TSR_key,delete g.state.__tempLocation,{...g,maskedLocation:f}}return f},this.resolvePathWithBase=(s,o)=>g1({base:s,to:o.includes("//")?ed(o):o,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(s,o,c)=>typeof s=="string"?this.matchRoutesInternal({pathname:s,search:o},c):this.matchRoutesInternal(s,o),this.getMatchedRoutes=s=>Q1({pathname:s,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=s=>{const o=this.getMatch(s);o&&(o.abortController.abort(),clearTimeout(o._nonReactive.pendingTimeout),o._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(s=>{this.cancelMatch(s)}),this.stores.matchesId.get().forEach(s=>{var c;if(this.stores.pendingMatchStores.has(s))return;const o=(c=this.stores.matchStores.get(s))==null?void 0:c.get();o&&(o.status==="pending"||o.isFetching==="loader")&&this.cancelMatch(s)})},this.buildLocation=s=>{const o=(f={})=>{var I,et;const h=f._fromLocation||this.pendingBuiltLocation||this.latestLocation,y=this.matchRoutesLightweight(h);f.from;const g=f.unsafeRelative==="path"?h.pathname:f.from??y.fullPath,m=f.to?`${f.to}`:void 0,b=y.search,p=Object.assign(Object.create(null),y.params),S=(m==null?void 0:m.charCodeAt(0))===47?"/":this.resolvePathWithBase(g,"."),x=m?this.resolvePathWithBase(S,m):S,E=f.params===!1||f.params===null?Object.create(null):(f.params??!0)===!0?p:Object.assign(p,ul(f.params,p)),C=this.routesByPath[Zn(x)];let A;if(C)A=this.getRouteBranch(C);else if(x.includes("$"))A=[];else{const it=this.getMatchedRoutes(x);A=it.matchedRoutes,this.options.notFoundRoute&&(!it.foundRoute||it.foundRoute.path!=="/"&&it.routeParams["**"])&&(A=[...A,this.options.notFoundRoute])}if(A.length&&qp(E))for(const it of A){const st=((I=it.options.params)==null?void 0:I.stringify)??it.options.stringifyParams;if(st)try{Object.assign(E,st(E))}catch{}}const q=s.leaveParams?x:zs(Ng({path:x,params:E,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let B=b;if(s._includeValidateSearch&&((et=this.options.search)!=null&&et.strict)){const it={};A.forEach(st=>{if(st.options.validateSearch)try{Object.assign(it,Ao(st.options.validateSearch,{...it,...B}))}catch{}}),B=it}B=G1({search:B,dest:f,destRoutes:A,_includeValidateSearch:s._includeValidateSearch}),B=ll(b,B);const Z=this.options.stringifySearch(B),w=f.hash===!0?h.hash:f.hash?ul(f.hash,h.hash):void 0,X=w?`#${w}`:"";let P=f.state===!0?h.state:f.state?ul(f.state,h.state):{};P=ol(h.state,P);const N=`${q}${Z}${X}`;let z,K,J=!1;if(this.rewrite){const it=new URL(N,this.origin),st=Fp(this.rewrite,it);z=it.href.replace(it.origin,""),st.origin!==this.origin?(K=st.href,J=!0):K=st.pathname+st.search+st.hash}else z=a1(N),K=z;return{publicHref:K,href:z,pathname:q,search:B,searchStr:Z,state:P,hash:w??"",external:J,unmaskOnReload:f.unmaskOnReload}},c=(f={},h)=>{const y=o(f);let g=h?o(h):void 0;if(!g){const m=Object.create(null);if(this.options.routeMasks){const b=u1(y.pathname,this.processedTree);if(b){Object.assign(m,b.rawParams);const{from:p,params:S,...x}=b.route,E=S===!1||S===null?Object.create(null):(S??!0)===!0?m:Object.assign(m,ul(S,m));h={from:s.from,...x,params:E},g=o(h)}}}return g&&(y.maskedLocation=g),y};return s.mask?c(s,{from:s.from,...s.mask}):c(s)},this.commitLocation=async({viewTransition:s,ignoreBlocker:o,...c})=>{let f;const h=()=>{const m=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];m.forEach(p=>{c.state[p]=this.latestLocation.state[p]});const b=bl(c.state,this.latestLocation.state);return m.forEach(p=>{delete c.state[p]}),b},y=Zn(this.latestLocation.href)===Zn(c.href);let g=this.commitLocationPromise;if(this.commitLocationPromise=Oi(()=>{g==null||g.resolve(),g=void 0}),y&&h())this.load();else{let{maskedLocation:m,hashScrollIntoView:b,...p}=c;m&&(p={...m,state:{...m.state,__tempKey:void 0,__tempLocation:{...p,search:p.searchStr,state:{...p.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(p.unmaskOnReload??this.options.unmaskOnReload??!1)&&(p.state.__tempKey=this.tempLocationKey)),p.state.__hashScrollIntoViewOptions=b??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=s,f=c.replace?"REPLACE":"PUSH",this.history[f==="REPLACE"?"replace":"push"](p.publicHref,p.state,{ignoreBlocker:o})}return this.resetNextScroll=c.resetScroll??!0,this.history.subscribers.size||this.load(f?{action:{type:f}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:s,resetScroll:o,hashScrollIntoView:c,viewTransition:f,ignoreBlocker:h,href:y,...g}={})=>{if(y){const p=this.history.location.state.__TSR_index,S=No(y,{__TSR_index:s?p:p+1}),x=new URL(S.pathname,this.origin);g.to=Gf(this.rewrite,x).pathname,g.search=this.options.parseSearch(S.search),g.hash=S.hash.slice(1)}const m=this.buildLocation({...g,_includeValidateSearch:!0});this.pendingBuiltLocation=m;const b=this.commitLocation({...m,viewTransition:f,replace:s,resetScroll:o,hashScrollIntoView:c,ignoreBlocker:h});return Promise.resolve().then(()=>{this.pendingBuiltLocation===m&&(this.pendingBuiltLocation=void 0)}),b},this.navigate=async({to:s,reloadDocument:o,href:c,publicHref:f,...h})=>{var g,m;let y=!1;if(c)try{new URL(`${c}`),y=!0}catch{}if(y&&!o&&(o=!0),o){if(s!==void 0||!c){const p=this.buildLocation({to:s,...h});c=c??p.publicHref,f=f??p.publicHref}const b=!y&&f?f:c;if(Lo(b,this.protocolAllowlist))return Promise.resolve();if(!h.ignoreBlocker){const p=((m=(g=this.history).getBlockers)==null?void 0:m.call(g))??[];for(const S of p)if(S!=null&&S.blockerFn&&await S.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return h.replace?window.location.replace(b):window.location.href=b,Promise.resolve()}return this.buildAndCommitLocation({...h,href:c,to:s,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const s=this.matchRoutes(this.latestLocation),o=this.stores.cachedMatches.get().filter(c=>!s.some(f=>f.id===c.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(s),this.stores.setCached(o)})},this.load=async s=>{var m;const o=(m=s==null?void 0:s.action)==null?void 0:m.type;let c,f,h;const y=this.stores.resolvedLocation.get()??this.stores.location.get();for(h=new Promise(b=>{this.startTransition(async()=>{var p;try{this.beforeLoad(),o?Yf.set(this.latestLocation,o):Yf.delete(this.latestLocation);const S=this.latestLocation,x=mi(S,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...x}),this.emit({type:"onBeforeLoad",...x}),await Qg({router:this,sync:s==null?void 0:s.sync,forceStaleReload:y.href===S.href,matches:this.stores.pendingMatches.get(),location:S,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{var B,Z;let E=null,C=null,A=null,q=null;this.batch(()=>{const w=this.stores.pendingMatches.get(),X=w.length,P=this.stores.matches.get();E=X?P.filter(K=>!this.stores.pendingMatchStores.has(K.id)):null;const N=new Set;for(const K of this.stores.pendingMatchStores.values())K.routeId&&N.add(K.routeId);const z=new Set;for(const K of this.stores.matchStores.values())K.routeId&&z.add(K.routeId);C=X?P.filter(K=>!N.has(K.routeId)):null,A=X?w.filter(K=>!z.has(K.routeId)):null,q=X?w.filter(K=>z.has(K.routeId)):P,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),X&&(this.stores.setMatches(w),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...E.filter(K=>K.status!=="error"&&K.status!=="notFound"&&K.status!=="redirected")]),this.clearExpiredCache())});for(const[w,X]of[[C,"onLeave"],[A,"onEnter"],[q,"onStay"]])if(w)for(const P of w)(Z=(B=this.looseRoutesById[P.routeId].options)[X])==null||Z.call(B,P)})})}})}catch(S){De(S)?(c=S,this.navigate({...c.options,replace:!0,ignoreBlocker:!0})):pe(S)&&(f=S);const x=c?c.status:f?404:this.stores.matches.get().some(E=>E.status==="error")?500:200;this.batch(()=>{this.stores.statusCode.set(x),this.stores.redirect.set(c)})}this.latestLoadPromise===h&&((p=this.commitLocationPromise)==null||p.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),b()})}),this.latestLoadPromise=h,await h;this.latestLoadPromise&&h!==this.latestLoadPromise;)await this.latestLoadPromise;let g;this.hasNotFoundMatch()?g=404:this.stores.matches.get().some(b=>b.status==="error")&&(g=500),g!==void 0&&this.stores.statusCode.set(g)},this.startViewTransition=s=>{const o=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,o&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"){let c;if(typeof o=="object"&&this.isViewTransitionTypesSupported){const f=this.latestLocation,h=this.stores.resolvedLocation.get(),y=typeof o.types=="function"?o.types(mi(f,h)):o.types;if(y===!1){s();return}c={update:s,types:y}}else c=s;document.startViewTransition(c)}else s()},this.updateMatch=(s,o)=>{this.startTransition(()=>{const c=this.stores.pendingMatchStores.get(s);if(c){c.set(o);return}const f=this.stores.matchStores.get(s);if(f){f.set(o);return}const h=this.stores.cachedMatchStores.get(s);if(h){const y=o(h.get());y.status==="redirected"?this.stores.cachedMatchStores.delete(s)&&this.stores.cachedIds.set(g=>g.filter(m=>m!==s)):h.set(y)}})},this.getMatch=s=>{var o,c,f;return((o=this.stores.cachedMatchStores.get(s))==null?void 0:o.get())??((c=this.stores.pendingMatchStores.get(s))==null?void 0:c.get())??((f=this.stores.matchStores.get(s))==null?void 0:f.get())},this.invalidate=s=>{const o=c=>{var f;return((f=s==null?void 0:s.filter)==null?void 0:f.call(s,c))??!0?{...c,invalid:!0,...s!=null&&s.forcePending||c.status==="error"||c.status==="notFound"?{status:"pending",error:void 0}:void 0}:c};return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(o)),this.stores.setCached(this.stores.cachedMatches.get().map(o)),this.stores.setPending(this.stores.pendingMatches.get().map(o))}),this.shouldViewTransition=!1,this.load({sync:s==null?void 0:s.sync})},this.getParsedLocationHref=s=>s.publicHref||"/",this.resolveRedirect=s=>{const o=s.headers.get("Location");if(!s.options.href||s.options._builtLocation){const c=s.options._builtLocation??this.buildLocation(s.options),f=this.getParsedLocationHref(c);s.options.href=f,s.headers.set("Location",f)}else if(o)try{const c=new URL(o);if(this.origin&&c.origin===this.origin){const f=c.pathname+c.search+c.hash;s.options.href=f,s.headers.set("Location",f)}}catch{}if(s.options.href&&!s.options._builtLocation&&Lo(s.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return s.headers.get("Location")||s.headers.set("Location",s.options.href),s},this.clearCache=s=>{const o=s==null?void 0:s.filter;o!==void 0?this.stores.setCached(this.stores.cachedMatches.get().filter(c=>!o(c))):this.stores.setCached([])},this.clearExpiredCache=()=>{const s=Date.now(),o=c=>{const f=this.looseRoutesById[c.routeId];if(!f.options.loader)return!0;const h=(c.preload?f.options.preloadGcTime??this.options.defaultPreloadGcTime:f.options.gcTime??this.options.defaultGcTime)??300*1e3;return c.status==="error"?!0:s-c.updatedAt>=h};this.clearCache({filter:o})},this.loadRouteChunk=Qs,this.preloadRoute=async s=>{const o=s._builtLocation??this.buildLocation(s);let c=this.matchRoutes(o,{throwOnError:!0,preload:!0,dest:s});const f=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),h=new Set([...f,...this.stores.cachedIds.get()]),y=c.filter(g=>!h.has(g.id));if(y.length){const g=this.stores.cachedMatches.get();this.stores.setCached([...g,...y])}try{return c=await Qg({router:this,matches:c,location:o,preload:!0,updateMatch:(g,m)=>{f.has(g)?c=c.map(b=>b.id===g?m(b):b):this.updateMatch(g,m)}}),c}catch(g){if(De(g))return g.options.reloadDocument?void 0:await this.preloadRoute({...g.options,_fromLocation:o});pe(g)||console.error(g);return}},this.matchRoute=(s,o)=>{const c={...s,to:s.to?this.resolvePathWithBase(s.from||"",s.to):void 0,params:s.params||{},leaveParams:!0},f=this.buildLocation(c);if(o!=null&&o.pending&&this.stores.status.get()!=="pending")return!1;const h=((o==null?void 0:o.pending)===void 0?!this.stores.isLoading.get():o.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),y=o1(f.pathname,(o==null?void 0:o.caseSensitive)??!1,(o==null?void 0:o.fuzzy)??!1,h.pathname,this.processedTree);return!y||s.params&&!bl(y.rawParams,s.params,{partial:!0})?!1:(o==null?void 0:o.includeSearch)??!0?bl(h.search,f.search,{partial:!0})?y.rawParams:!1:y.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(s=>s.status==="notFound"||s.globalNotFound),this.getStoreConfig=i,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...a,caseSensitive:a.caseSensitive??!1,notFoundMode:a.notFoundMode??"fuzzy",stringifySearch:a.stringifySearch??x1,parseSearch:a.parseSearch??S1,protocolAllowlist:a.protocolAllowlist??n1}),typeof document<"u"&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:a,routesByPath:i,processedTree:s}){this.routesById=a,this.routesByPath=i,this.processedTree=s;const o=this.options.notFoundRoute;o&&(o.init({originalIndex:99999999999}),this.routesById[o.id]=o)}getRouteBranch(a){let i=this.routeBranchCache.get(a);return i||(i=kp(a),this.routeBranchCache.set(a,i)),i}get looseRoutesById(){return this.routesById}getParentContext(a){return a!=null&&a.id?a.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(a,i){var b,p;const s=this.getMatchedRoutes(a.pathname),{foundRoute:o,routeParams:c}=s;let{matchedRoutes:f}=s,h=!1;(o?o.path!=="/"&&c["**"]:Zn(a.pathname))&&(this.options.notFoundRoute?f=[...f,this.options.notFoundRoute]:h=!0);const y=h?k1(this.options.notFoundMode,f):void 0,g=new Array(f.length),m=new Map;for(const S of this.stores.matchStores.values())S.routeId&&m.set(S.routeId,S.get());for(let S=0;S<f.length;S++){const x=f[S],E=g[S-1];let C,A,q;{const st=(E==null?void 0:E.search)??a.search,gt=(E==null?void 0:E._strictSearch)??void 0;try{const D=Ao(x.options.validateSearch,{...st})??void 0;C={...st,...D},A={...gt,...D},q=void 0}catch(D){let G=D;if(D instanceof jo||(G=new jo(D.message,{cause:D})),i!=null&&i.throwOnError)throw G;C=st,A={},q=G}}const B=((p=(b=x.options).loaderDeps)==null?void 0:p.call(b,{search:C}))??"",Z=B?JSON.stringify(B):"",{interpolatedPath:w,usedParams:X}=Ng({path:x.fullPath,params:c,decoder:this.pathParamsDecoder,server:this.isServer}),P=x.id+w+Z,N=this.getMatch(P),z=m.get(x.id),K=(N==null?void 0:N._strictParams)??X;let J;if(!N)try{Xg(x,K)}catch(st){if(pe(st)||De(st)?J=st:J=new H1(st.message,{cause:st}),i!=null&&i.throwOnError)throw J}Object.assign(c,K);const I=z?"stay":"enter";let et;if(N)et={...N,cause:I,params:(z==null?void 0:z.params)??c,_strictParams:K,search:ll(z?z.search:N.search,C),_strictSearch:A};else{const st=x.options.loader||x.options.beforeLoad||x.lazyFn||Pp(x)?"pending":"success";et={id:P,ssr:x.options.ssr,index:S,routeId:x.id,params:(z==null?void 0:z.params)??c,_strictParams:K,pathname:w,updatedAt:Date.now(),search:z?ll(z.search,C):C,_strictSearch:A,searchError:void 0,status:st,isFetching:!1,error:void 0,paramsError:J,__routeContext:void 0,_nonReactive:{loadPromise:Oi()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:I,loaderDeps:z?ol(z.loaderDeps,B):B,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:x.options.staticData||{},fullPath:x.fullPath}}i!=null&&i.preload||(et.globalNotFound=y===x.id),et.searchError=q;const it=this.getParentContext(E);et.context={...it,...et.__routeContext,...et.__beforeLoadContext},g[S]=et}for(let S=0;S<g.length;S++){const x=g[S],E=this.looseRoutesById[x.routeId],C=this.getMatch(x.id),A=m.get(x.routeId);if(x.params=A?ll(A.params,c):c,!C){const q=g[S-1],B=this.getParentContext(q);if(E.options.context){const Z={deps:x.loaderDeps,params:x.params,context:B??{},location:a,navigate:w=>this.navigate({...w,_fromLocation:a}),buildLocation:this.buildLocation,cause:x.cause,abortController:x.abortController,preload:!!x.preload,matches:g,routeId:E.id};x.__routeContext=E.options.context(Z)??void 0}x.context={...B,...x.__routeContext,...x.__beforeLoadContext}}}return g}matchRoutesLightweight(a){var m;const{matchedRoutes:i,routeParams:s}=this.getMatchedRoutes(a.pathname),o=Bs(i),c={...a.search};for(const b of i)try{Object.assign(c,Ao(b.options.validateSearch,c))}catch{}const f=Bs(this.stores.matchesId.get()),h=f&&((m=this.stores.matchStores.get(f))==null?void 0:m.get()),y=h&&h.routeId===o.id&&h.pathname===a.pathname;let g;if(y)g=h.params;else{const b=Object.assign(Object.create(null),s);for(const p of i)try{Xg(p,b)}catch{}g=b}return{matchedRoutes:i,fullPath:o.fullPath,search:c,params:g}}},jo=class extends Error{},H1=class extends Error{};function q1(a){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:a,matches:[],statusCode:200}}function Ao(a,i){if(a==null)return{};if("~standard"in a){const s=a["~standard"].validate(i);if(s instanceof Promise)throw new jo("Async validation not supported");if(s.issues)throw new jo(JSON.stringify(s.issues,void 0,2),{cause:s});return s.value}return"parse"in a?a.parse(i):typeof a=="function"?a(i):{}}function Q1({pathname:a,routesById:i,processedTree:s}){const o=Object.create(null),c=Zn(a);let f;const h=r1(c,s,!0);return h&&(f=h.route,Object.assign(o,h.rawParams)),{matchedRoutes:(h==null?void 0:h.branch)||[i.__root__],routeParams:o,foundRoute:f}}function G1({search:a,dest:i,destRoutes:s,_includeValidateSearch:o}){return Y1(s)(a,i,o??!1)}function Y1(a){var c;const i={dest:null,_includeValidateSearch:!1,middlewares:[]};for(const f of a){if("search"in f.options)(c=f.options.search)!=null&&c.middlewares&&i.middlewares.push(...f.options.search.middlewares);else if(f.options.preSearchFilters||f.options.postSearchFilters){const h=({search:y,next:g})=>{let m=y;"preSearchFilters"in f.options&&f.options.preSearchFilters&&(m=f.options.preSearchFilters.reduce((p,S)=>S(p),y));const b=g(m);return"postSearchFilters"in f.options&&f.options.postSearchFilters?f.options.postSearchFilters.reduce((p,S)=>S(p),b):b};i.middlewares.push(h)}if(f.options.validateSearch){const h=({search:y,next:g})=>{const m=g(y);if(!i._includeValidateSearch)return m;try{return{...m,...Ao(f.options.validateSearch,m)??void 0}}catch{return m}};i.middlewares.push(h)}}const s=({search:f})=>{const h=i.dest;return h.search?h.search===!0?f:ul(h.search,f):{}};i.middlewares.push(s);const o=(f,h,y)=>{if(f>=y.length)return h;const g=y[f];return g({search:h,next:b=>o(f+1,b,y)})};return function(h,y,g){return i.dest=y,i._includeValidateSearch=g,o(0,h,i.middlewares)}}function k1(a,i){if(a!=="root")for(let s=i.length-1;s>=0;s--){const o=i[s];if(o.children)return o.id}return Sl}function Xg(a,i){var o;const s=((o=a.options.params)==null?void 0:o.parse)??a.options.parseParams;if(s){const c=s(i);if(c===!1)throw new Error("Route params.parse returned false for a matched route");Object.assign(i,c)}}function V1(){try{return sessionStorage}catch{return}}const X1="tsr-scroll-restoration-v1_3",yi=V1();function K1(){try{return JSON.parse((yi==null?void 0:yi.getItem("tsr-scroll-restoration-v1_3"))||"{}")}catch{return{}}}function Z1(){try{yi==null||yi.setItem(X1,JSON.stringify(Ra))}catch{}}const Ra=K1(),Kg="data-scroll-restoration-id",J1=a=>a.state.__TSR_key||a.href;function P1(a){const i=a.getAttribute(Kg);if(i)return`[${Kg}="${i}"]`;let s="",o=a,c;for(;c=o.parentNode;){let f=1,h=o;for(;h=h.previousElementSibling;)f++;const y=`${o.localName}:nth-child(${f})`;s=s?`${y} > ${s}`:y,o=c}return s}let xo=!1;const di="window";function kf(a){try{return typeof a=="function"?a():document.querySelector(a)}catch{}}function Zg(a){const i=[];for(const s of a){if(s===di)continue;const o=kf(s);o&&i.push(o)}return i}function F1(a,i){if(a.options.scrollRestoration&&(a.isScrollRestoring=!0),a.isScrollRestorationSetup)return;a.isScrollRestorationSetup=!0,xo=!1;const s=a.options.getScrollRestorationKey||J1,o=new Map,c=(y,g,m)=>{const b=o.get(y)||{};b.scrollX=g,b.scrollY=m,o.set(y,b)};history.scrollRestoration="manual";const f=y=>{if(!(xo||!a.isScrollRestoring))if(y.target===document)c(di,scrollX,scrollY);else{const g=y.target;c(g,g.scrollLeft,g.scrollTop)}},h=y=>{if(!a.isScrollRestoring)return;const g=Ra[y]||(Ra[y]={});for(const[m,b]of o)m===di?g[di]=b:m.isConnected&&(g[P1(m)]=b)};document.addEventListener("scroll",f,!0),a.subscribe("onBeforeLoad",y=>{y.fromLocation&&h(s(y.fromLocation)),o.clear()}),addEventListener("pagehide",()=>{h(s(a.stores.resolvedLocation.get()??a.stores.location.get())),Z1()}),a.subscribe("onRendered",y=>{var E;const g=a.options.scrollRestorationBehavior,m=a.options.scrollToTopSelectors,b=a.resetNextScroll;let p;if(o.clear(),b||(a.resetNextScroll=!0),typeof a.options.scrollRestoration=="function"&&!a.options.scrollRestoration({location:a.latestLocation}))return;const S=s(y.toLocation),x=y.fromLocation&&s(y.fromLocation);if(a.isScrollRestoring&&x&&x!==S){const C=Ra[x];if(C){let A=Ra[S];for(const q in C){if(q===di){if(b)continue}else{const B=kf(q);if(!B||b&&m&&(p??(p=Zg(m)),p.includes(B)))continue}A||(A=Ra[S]={}),A[q]??(A[q]=C[q])}}}xo=!0;try{const C=y.toLocation.hash,A=y.toLocation.state.__hashScrollIntoViewOptions??!0;let q=!1;if(b){const B=Yf.get(y.toLocation),Z=C&&A&&(B==="PUSH"||B==="REPLACE"),w=a.isScrollRestoring?Ra[S]:void 0;if(w)for(const X in w){const{scrollX:P,scrollY:N}=w[X];if(X===di){if(Z)continue;scrollTo({top:N,left:P,behavior:g}),q=!0}else{const z=kf(X);z&&(z.scrollLeft=P,z.scrollTop=N)}}if(!q&&!C){const X={top:0,left:0,behavior:g};if(scrollTo(X),m){p??(p=Zg(m));for(const P of p)P.scrollTo(X)}}}!q&&C&&A&&((E=document.getElementById(C))==null||E.scrollIntoView(A))}finally{xo=!1}})}const I1="Error preloading route! ☝️";var Ip=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(a){if(this.init=i=>{var g,m;this.originalIndex=i.originalIndex;const s=this.options,o=!(s!=null&&s.path)&&!(s!=null&&s.id);this.parentRoute=(m=(g=this.options).getParentRoute)==null?void 0:m.call(g),o?this._path=Sl:this.parentRoute||Jn();let c=o?Sl:s==null?void 0:s.path;c&&c!=="/"&&(c=Vp(c));const f=(s==null?void 0:s.id)||c;let h=o?Sl:Mo([this.parentRoute.id==="__root__"?"":this.parentRoute.id,f]);c==="__root__"&&(c="/"),h!=="__root__"&&(h=Mo(["/",h]));const y=h==="__root__"?"/":Mo([this.parentRoute.fullPath,c]);this._path=c,this._id=h,this._fullPath=y,this._to=Zn(y)},this.addChildren=i=>this._addFileChildren(i),this._addFileChildren=i=>(Array.isArray(i)&&(this.children=i),typeof i=="object"&&i!==null&&(this.children=Object.values(i)),this),this._addFileTypes=()=>this,this.updateLoader=i=>(Object.assign(this.options,i),this),this.update=i=>(Object.assign(this.options,i),this),this.lazy=i=>(this.lazyFn=i,this),this.redirect=i=>E1({from:this.fullPath,...i}),this.options=a||{},this.isRoot=!(a!=null&&a.getParentRoute),a!=null&&a.id&&(a!=null&&a.path))throw new Error("Route cannot have both an 'id' and a 'path' option.")}},W1=class extends Ip{constructor(a){super(a)}};function ad(a){const i=a.errorComponent??ld;return tt.jsx($1,{getResetKey:a.getResetKey,onCatch:a.onCatch,children:({error:s,reset:o})=>s?F.createElement(i,{error:s,reset:o}):a.children})}var $1=class extends F.Component{constructor(...a){super(...a),this.state={error:null}}static getDerivedStateFromProps(a,i){const s=a.getResetKey();return i.error&&i.resetKey!==s?{resetKey:s,error:null}:{resetKey:s}}static getDerivedStateFromError(a){return{error:a}}reset(){this.setState({error:null})}componentDidCatch(a,i){this.props.onCatch&&this.props.onCatch(a,i)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function ld({error:a}){const[i,s]=F.useState(!1);return tt.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[tt.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[tt.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),tt.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>s(o=>!o),children:i?"Hide Error":"Show Error"})]}),tt.jsx("div",{style:{height:".25rem"}}),i?tt.jsx("div",{children:tt.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:a.message?tt.jsx("code",{children:a.message}):null})}):null]})}function tx({children:a,fallback:i=null}){return Wp()?tt.jsx(zi.Fragment,{children:a}):tt.jsx(zi.Fragment,{children:i})}function Wp(){return zi.useSyncExternalStore(ex,()=>!0,()=>!1)}function ex(){return()=>{}}var $p=F.createContext(null);function ln(a){return F.useContext($p)}var ko=F.createContext(void 0),nx=F.createContext(void 0),Kt=(a=>(a[a.None=0]="None",a[a.Mutable=1]="Mutable",a[a.Watching=2]="Watching",a[a.RecursedCheck=4]="RecursedCheck",a[a.Recursed=8]="Recursed",a[a.Dirty=16]="Dirty",a[a.Pending=32]="Pending",a))(Kt||{});function ax({update:a,notify:i,unwatched:s}){return{link:o,unlink:c,propagate:f,checkDirty:h,shallowPropagate:y};function o(m,b,p){const S=b.depsTail;if(S!==void 0&&S.dep===m)return;const x=S!==void 0?S.nextDep:b.deps;if(x!==void 0&&x.dep===m){x.version=p,b.depsTail=x;return}const E=m.subsTail;if(E!==void 0&&E.version===p&&E.sub===b)return;const C=b.depsTail=m.subsTail={version:p,dep:m,sub:b,prevDep:S,nextDep:x,prevSub:E,nextSub:void 0};x!==void 0&&(x.prevDep=C),S!==void 0?S.nextDep=C:b.deps=C,E!==void 0?E.nextSub=C:m.subs=C}function c(m,b=m.sub){const p=m.dep,S=m.prevDep,x=m.nextDep,E=m.nextSub,C=m.prevSub;return x!==void 0?x.prevDep=S:b.depsTail=S,S!==void 0?S.nextDep=x:b.deps=x,E!==void 0?E.prevSub=C:p.subsTail=C,C!==void 0?C.nextSub=E:(p.subs=E)===void 0&&s(p),x}function f(m){let b=m.nextSub,p;t:do{const S=m.sub;let x=S.flags;if(x&60?x&12?x&4?!(x&48)&&g(m,S)?(S.flags=x|40,x&=1):x=0:S.flags=x&-9|32:x=0:S.flags=x|32,x&2&&i(S),x&1){const E=S.subs;if(E!==void 0){const C=(m=E).nextSub;C!==void 0&&(p={value:b,prev:p},b=C);continue}}if((m=b)!==void 0){b=m.nextSub;continue}for(;p!==void 0;)if(m=p.value,p=p.prev,m!==void 0){b=m.nextSub;continue t}break}while(!0)}function h(m,b){let p,S=0,x=!1;t:do{const E=m.dep,C=E.flags;if(b.flags&16)x=!0;else if((C&17)===17){if(a(E)){const A=E.subs;A.nextSub!==void 0&&y(A),x=!0}}else if((C&33)===33){(m.nextSub!==void 0||m.prevSub!==void 0)&&(p={value:m,prev:p}),m=E.deps,b=E,++S;continue}if(!x){const A=m.nextDep;if(A!==void 0){m=A;continue}}for(;S--;){const A=b.subs,q=A.nextSub!==void 0;if(q?(m=p.value,p=p.prev):m=A,x){if(a(b)){q&&y(A),b=m.sub;continue}x=!1}else b.flags&=-33;b=m.sub;const B=m.nextDep;if(B!==void 0){m=B;continue t}}return x}while(!0)}function y(m){do{const b=m.sub,p=b.flags;(p&48)===32&&(b.flags=p|16,(p&6)===2&&i(b))}while((m=m.nextSub)!==void 0)}function g(m,b){let p=b.depsTail;for(;p!==void 0;){if(p===m)return!0;p=p.prevDep}return!1}}function lx(a,i,s){var f,h,y;const o=typeof a=="object",c=o?a:void 0;return{next:(f=o?a.next:a)==null?void 0:f.bind(c),error:(h=o?a.error:i)==null?void 0:h.bind(c),complete:(y=o?a.complete:s)==null?void 0:y.bind(c)}}const Vf=[];let zo=0;const{link:Jg,unlink:ix,propagate:sx,checkDirty:tv,shallowPropagate:Pg}=ax({update(a){return a._update()},notify(a){Vf[Xf++]=a,a.flags&=~Kt.Watching},unwatched(a){a.depsTail!==void 0&&(a.depsTail=void 0,a.flags=Kt.Mutable|Kt.Dirty,Bo(a))}});let _o=0,Xf=0,pn,Kf=0;function ev(a){try{++Kf,a()}finally{--Kf||nv()}}function Bo(a){const i=a.depsTail;let s=i!==void 0?i.nextDep:a.deps;for(;s!==void 0;)s=ix(s,a)}function nv(){if(!(Kf>0)){for(;_o<Xf;){const a=Vf[_o];Vf[_o++]=void 0,a.notify()}_o=0,Xf=0}}function Fg(a,i){const s=typeof a=="function",o=a,c={_snapshot:s?void 0:a,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:s?Kt.None:Kt.Mutable,get(){return pn!==void 0&&Jg(c,pn,zo),c._snapshot},subscribe(f){const h=lx(f),y={current:!1},g=ux(()=>{var m;c.get(),y.current?(m=h.next)==null||m.call(h,c._snapshot):y.current=!0});return{unsubscribe:()=>{g.stop()}}},_update(f){const h=pn,y=(i==null?void 0:i.compare)??Object.is;if(s)pn=c,++zo,c.depsTail=void 0;else if(f===void 0)return!1;s&&(c.flags=Kt.Mutable|Kt.RecursedCheck);try{const g=c._snapshot,m=typeof f=="function"?f(g):f===void 0&&s?o(g):f;return g===void 0||!y(g,m)?(c._snapshot=m,!0):!1}finally{pn=h,s&&(c.flags&=~Kt.RecursedCheck),Bo(c)}}};return s?(c.flags=Kt.Mutable|Kt.Dirty,c.get=function(){const f=c.flags;if(f&Kt.Dirty||f&Kt.Pending&&tv(c.deps,c)){if(c._update()){const h=c.subs;h!==void 0&&Pg(h)}}else f&Kt.Pending&&(c.flags=f&~Kt.Pending);return pn!==void 0&&Jg(c,pn,zo),c._snapshot}):c.set=function(f){if(c._update(f)){const h=c.subs;h!==void 0&&(sx(h),Pg(h),nv())}},c}function ux(a){const i=()=>{const o=pn;pn=s,++zo,s.depsTail=void 0,s.flags=Kt.Watching|Kt.RecursedCheck;try{return a()}finally{pn=o,s.flags&=~Kt.RecursedCheck,Bo(s)}},s={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Kt.Watching|Kt.RecursedCheck,notify(){const o=this.flags;o&Kt.Dirty||o&Kt.Pending&&tv(this.deps,this)?i():this.flags=Kt.Watching},stop(){this.flags=Kt.None,this.depsTail=void 0,Bo(this)}};return i(),s}var bf={exports:{}},Sf={},xf={exports:{}},_f={};/**
 * @license React
 * use-sync-external-store-shim.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ig;function ox(){if(Ig)return _f;Ig=1;var a=Ks();function i(p,S){return p===S&&(p!==0||1/p===1/S)||p!==p&&S!==S}var s=typeof Object.is=="function"?Object.is:i,o=a.useState,c=a.useEffect,f=a.useLayoutEffect,h=a.useDebugValue;function y(p,S){var x=S(),E=o({inst:{value:x,getSnapshot:S}}),C=E[0].inst,A=E[1];return f(function(){C.value=x,C.getSnapshot=S,g(C)&&A({inst:C})},[p,x,S]),c(function(){return g(C)&&A({inst:C}),p(function(){g(C)&&A({inst:C})})},[p]),h(x),x}function g(p){var S=p.getSnapshot;p=p.value;try{var x=S();return!s(p,x)}catch{return!0}}function m(p,S){return S()}var b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?m:y;return _f.useSyncExternalStore=a.useSyncExternalStore!==void 0?a.useSyncExternalStore:b,_f}var Wg;function rx(){return Wg||(Wg=1,xf.exports=ox()),xf.exports}/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var $g;function cx(){if($g)return Sf;$g=1;var a=Ks(),i=rx();function s(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}var o=typeof Object.is=="function"?Object.is:s,c=i.useSyncExternalStore,f=a.useRef,h=a.useEffect,y=a.useMemo,g=a.useDebugValue;return Sf.useSyncExternalStoreWithSelector=function(m,b,p,S,x){var E=f(null);if(E.current===null){var C={hasValue:!1,value:null};E.current=C}else C=E.current;E=y(function(){function q(P){if(!B){if(B=!0,Z=P,P=S(P),x!==void 0&&C.hasValue){var N=C.value;if(x(N,P))return w=N}return w=P}if(N=w,o(Z,P))return N;var z=S(P);return x!==void 0&&x(N,z)?(Z=P,N):(Z=P,w=z)}var B=!1,Z,w,X=p===void 0?null:p;return[function(){return q(b())},X===null?void 0:function(){return q(X())}]},[b,p,S,x]);var A=c(m,E[0],E[1]);return h(function(){C.hasValue=!0,C.value=A},[A]),g(A),A},Sf}var tp;function fx(){return tp||(tp=1,bf.exports=cx()),bf.exports}var dx=fx();function hx(a,i){return a===i}function Xe(a,i,s=hx){const o=F.useCallback(h=>{if(!a)return()=>{};const{unsubscribe:y}=a.subscribe(h);return y},[a]),c=F.useCallback(()=>a==null?void 0:a.get(),[a]);return dx.useSyncExternalStoreWithSelector(o,c,c,i,s)}var mx={get:()=>{},subscribe:()=>({unsubscribe:()=>{}})};function Rl(a){const i=ln(),s=F.useContext(a.from?nx:ko),o=a.from??s,c=o?a.from?i.stores.getRouteMatchStore(o):i.stores.matchStores.get(o):void 0,f=F.useRef(void 0);return Xe(c??mx,h=>{if((a.shouldThrow??!0)&&!h&&Jn(),h===void 0)return;const y=a.select?a.select(h):h;if(a.structuralSharing??i.options.defaultStructuralSharing){const g=ol(f.current,y);return f.current=g,g}return y})}function av(a){return Rl({from:a.from,strict:a.strict,structuralSharing:a.structuralSharing,select:i=>a.select?a.select(i.loaderData):i.loaderData})}function lv(a){const{select:i,...s}=a;return Rl({...s,select:o=>i?i(o.loaderDeps):o.loaderDeps})}function iv(a){return Rl({from:a.from,shouldThrow:a.shouldThrow,structuralSharing:a.structuralSharing,strict:a.strict,select:i=>{const s=a.strict===!1?i.params:i._strictParams;return a.select?a.select(s):s}})}function sv(a){return Rl({from:a.from,strict:a.strict,shouldThrow:a.shouldThrow,structuralSharing:a.structuralSharing,select:i=>a.select?a.select(i.search):i.search})}function uv(a){const i=ln();return F.useCallback(s=>i.navigate({...s,from:s.from??(a==null?void 0:a.from)}),[a==null?void 0:a.from,i])}function ov(a){return Rl({...a,select:i=>a.select?a.select(i.context):i.context})}var rv=Ep();const QR=Rp(rv);function yx(a,i){const s=ln(),o=IS(i),{activeProps:c,inactiveProps:f,activeOptions:h,to:y,preload:g,preloadDelay:m,preloadIntentProximity:b,hashScrollIntoView:p,replace:S,startTransition:x,resetScroll:E,viewTransition:C,children:A,target:q,disabled:B,style:Z,className:w,onClick:X,onBlur:P,onFocus:N,onMouseEnter:z,onMouseLeave:K,onTouchStart:J,ignoreBlocker:I,params:et,search:it,hash:st,state:gt,mask:D,reloadDocument:G,unsafeRelative:ct,from:At,_fromLocation:W,...T}=a,k=Wp(),$=F.useMemo(()=>a,[s,a.from,a._fromLocation,a.hash,a.to,a.search,a.params,a.state,a.mask,a.unsafeRelative]),nt=Xe(s.stores.location,Ht=>Ht,(Ht,oe)=>Ht.href===oe.href),at=F.useMemo(()=>{const Ht={_fromLocation:nt,...$};return s.buildLocation(Ht)},[s,nt,$]),ht=at.maskedLocation?at.maskedLocation.publicHref:at.publicHref,Rt=at.maskedLocation?at.maskedLocation.external:at.external,Bt=F.useMemo(()=>xx(ht,Rt,s.history,B),[B,Rt,ht,s.history]),pt=F.useMemo(()=>{if(Bt!=null&&Bt.external)return Lo(Bt.href,s.protocolAllowlist)?void 0:Bt.href;if(!_x(y)&&!(typeof y!="string"||y.indexOf(":")===-1))try{return new URL(y),Lo(y,s.protocolAllowlist)?void 0:y}catch{}},[y,Bt,s.protocolAllowlist]),Ke=F.useMemo(()=>{if(pt)return!1;if(h!=null&&h.exact){if(!y1(nt.pathname,at.pathname,s.basepath))return!1}else{const Ht=Uo(nt.pathname,s.basepath),oe=Uo(at.pathname,s.basepath);if(!(Ht.startsWith(oe)&&(Ht.length===oe.length||Ht[oe.length]==="/")))return!1}return((h==null?void 0:h.includeSearch)??!0)&&!bl(nt.search,at.search,{partial:!(h!=null&&h.exact),ignoreUndefined:!(h!=null&&h.explicitUndefined)})?!1:h!=null&&h.includeHash?k&&nt.hash===at.hash:!0},[h==null?void 0:h.exact,h==null?void 0:h.explicitUndefined,h==null?void 0:h.includeHash,h==null?void 0:h.includeSearch,nt,pt,k,at.hash,at.pathname,at.search,s.basepath]),_e=Ke?ul(c,{})??gx:Rf,Le=Ke?Rf:ul(f,{})??Rf,xn=[w,_e.className,Le.className].filter(Boolean).join(" "),ve=(Z||_e.style||Le.style)&&{...Z,..._e.style,...Le.style},[Li,Tl]=F.useState(!1),Ws=F.useRef(!1),_n=a.reloadDocument||pt?!1:g??s.options.defaultPreload,qa=m??s.options.defaultPreloadDelay??0,sn=F.useCallback(()=>{s.preloadRoute({...$,_builtLocation:at}).catch(Ht=>{console.warn(Ht),console.warn(I1)})},[s,$,at]);FS(o,F.useCallback(Ht=>{Ht!=null&&Ht.isIntersecting&&sn()},[sn]),Sx,{disabled:!!B||_n!=="viewport"}),F.useEffect(()=>{Ws.current||!B&&_n==="render"&&(sn(),Ws.current=!0)},[B,sn,_n]);const Ui=Ht=>{const oe=Ht.currentTarget.getAttribute("target"),fn=q!==void 0?q:oe;if(!B&&!Rx(Ht)&&!Ht.defaultPrevented&&(!fn||fn==="_self")&&Ht.button===0){Ht.preventDefault(),rv.flushSync(()=>{Tl(!0)});const Ml=s.subscribe("onResolved",()=>{Ml(),Tl(!1)});s.navigate({...$,replace:S,resetScroll:E,hashScrollIntoView:p,startTransition:x,viewTransition:C,ignoreBlocker:I})}};if(pt)return{...T,ref:o,href:pt,...A&&{children:A},...q&&{target:q},...B&&{disabled:B},...Z&&{style:Z},...w&&{className:w},...X&&{onClick:X},...P&&{onBlur:P},...N&&{onFocus:N},...z&&{onMouseEnter:z},...K&&{onMouseLeave:K},...J&&{onTouchStart:J}};const $s=Ht=>{if(B||_n!=="intent")return;if(!qa){sn();return}const oe=Ht.currentTarget;if(ws.has(oe))return;const fn=setTimeout(()=>{ws.delete(oe),sn()},qa);ws.set(oe,fn)},Xo=Ht=>{B||_n!=="intent"||sn()},me=Ht=>{if(B||!_n||!qa)return;const oe=Ht.currentTarget,fn=ws.get(oe);fn&&(clearTimeout(fn),ws.delete(oe))};return{...T,..._e,...Le,href:Bt==null?void 0:Bt.href,ref:o,onClick:fi([X,Ui]),onBlur:fi([P,me]),onFocus:fi([N,$s]),onMouseEnter:fi([z,$s]),onMouseLeave:fi([K,me]),onTouchStart:fi([J,Xo]),disabled:!!B,target:q,...ve&&{style:ve},...xn&&{className:xn},...B&&px,...Ke&&vx,...k&&Li&&bx}}var Rf={},gx={className:"active"},px={role:"link","aria-disabled":!0},vx={"data-status":"active","aria-current":"page"},bx={"data-transitioning":"transitioning"},ws=new WeakMap,Sx={rootMargin:"100px"},fi=a=>i=>{for(const s of a)if(s){if(i.defaultPrevented)return;s(i)}};function xx(a,i,s,o){if(!o)return i?{href:a,external:!0}:{href:s.createHref(a)||"/",external:!1}}function _x(a){if(typeof a!="string")return!1;const i=a.charCodeAt(0);return i===47?a.charCodeAt(1)!==47:i===46}var id=F.forwardRef((a,i)=>{const{_asChild:s,...o}=a,{type:c,...f}=yx(o,i),h=typeof o.children=="function"?o.children({isActive:f["data-status"]==="active"}):o.children;if(!s){const{disabled:y,...g}=f;return F.createElement("a",g,h)}return F.createElement(s,f,h)});function Rx(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}var Ex=class extends Ip{constructor(i){super(i),this.useMatch=s=>Rl({select:s==null?void 0:s.select,from:this.id,structuralSharing:s==null?void 0:s.structuralSharing}),this.useRouteContext=s=>ov({...s,from:this.id}),this.useSearch=s=>sv({select:s==null?void 0:s.select,structuralSharing:s==null?void 0:s.structuralSharing,from:this.id}),this.useParams=s=>iv({select:s==null?void 0:s.select,structuralSharing:s==null?void 0:s.structuralSharing,from:this.id}),this.useLoaderDeps=s=>lv({...s,from:this.id}),this.useLoaderData=s=>av({...s,from:this.id}),this.useNavigate=()=>uv({from:this.fullPath}),this.Link=zi.forwardRef((s,o)=>tt.jsx(id,{ref:o,from:this.fullPath,...s}))}};function Tx(a){return new Ex(a)}var Mx=class extends W1{constructor(a){super(a),this.useMatch=i=>Rl({select:i==null?void 0:i.select,from:this.id,structuralSharing:i==null?void 0:i.structuralSharing}),this.useRouteContext=i=>ov({...i,from:this.id}),this.useSearch=i=>sv({select:i==null?void 0:i.select,structuralSharing:i==null?void 0:i.structuralSharing,from:this.id}),this.useParams=i=>iv({select:i==null?void 0:i.select,structuralSharing:i==null?void 0:i.structuralSharing,from:this.id}),this.useLoaderDeps=i=>lv({...i,from:this.id}),this.useLoaderData=i=>av({...i,from:this.id}),this.useNavigate=()=>uv({from:this.fullPath}),this.Link=zi.forwardRef((i,s)=>tt.jsx(id,{ref:s,from:this.fullPath,...i}))}};function Cx(a){return new Mx(a)}function Js(a){return new Ax(a,{silent:!0}).createRoute}var Ax=class{constructor(a,i){this.path=a,this.createRoute=s=>{const o=Tx(s);return o.isRoot=!1,o},this.silent=i==null?void 0:i.silent}};function Ps(a,i){let s,o,c,f;const h=()=>(s||(s=a().then(g=>{s=void 0,o=g[i]}).catch(g=>{if(c=g,t1(c)&&c instanceof Error&&typeof window<"u"&&typeof sessionStorage<"u"){const m=`tanstack_router_reload:${c.message}`;sessionStorage.getItem(m)||(sessionStorage.setItem(m,"1"),f=!0)}})),s),y=function(m){if(f)throw window.location.reload(),new Promise(()=>{});if(c)throw c;if(!o)if(Ag)Ag(h());else throw h();return F.createElement(o,m)};return y.preload=h,y}function zx(a){const i=ln(),s=`not-found-${Xe(i.stores.location,o=>o.pathname)}-${Xe(i.stores.status,o=>o)}`;return tt.jsx(ad,{getResetKey:()=>s,onCatch:(o,c)=>{var f;if(pe(o))(f=a.onCatch)==null||f.call(a,o,c);else throw o},errorComponent:({error:o})=>{var c;if(pe(o))return(c=a.fallback)==null?void 0:c.call(a,o);throw o},children:a.children})}function Ox(){return tt.jsx("p",{children:"Not Found"})}function hi(a){return tt.jsx(tt.Fragment,{children:a.children})}function cv(a,i,s){return i.options.notFoundComponent?tt.jsx(i.options.notFoundComponent,{...s}):a.options.defaultNotFoundComponent?tt.jsx(a.options.defaultNotFoundComponent,{...s}):tt.jsx(Ox,{})}function wx(a){return null}function Dx(){return wx(ln()),null}var fv=F.memo(function({matchId:i}){const s=ln(),o=s.stores.matchStores.get(i);o||Jn();const c=Xe(s.stores.loadedAt,h=>h),f=Xe(o,h=>h);return tt.jsx(Lx,{router:s,matchId:i,resetKey:c,matchState:F.useMemo(()=>{var g;const h=f.routeId,y=(g=s.routesById[h].parentRoute)==null?void 0:g.id;return{routeId:h,ssr:f.ssr,_displayPending:f._displayPending,parentRouteId:y}},[f._displayPending,f.routeId,f.ssr,s.routesById])})});function Lx({router:a,matchId:i,resetKey:s,matchState:o}){var E,C;const c=a.routesById[o.routeId],f=c.options.pendingComponent??a.options.defaultPendingComponent,h=f?tt.jsx(f,{}):null,y=c.options.errorComponent??a.options.defaultErrorComponent,g=c.options.onCatch??a.options.defaultOnCatch,m=c.isRoot?c.options.notFoundComponent??((E=a.options.notFoundRoute)==null?void 0:E.options.component):c.options.notFoundComponent,b=o.ssr===!1||o.ssr==="data-only",p=(!c.isRoot||c.options.wrapInSuspense||b)&&(c.options.wrapInSuspense??f??(((C=c.options.errorComponent)==null?void 0:C.preload)||b))?F.Suspense:hi,S=y?ad:hi,x=m?zx:hi;return tt.jsxs(c.isRoot?c.options.shellComponent??hi:hi,{children:[tt.jsx(ko.Provider,{value:i,children:tt.jsx(p,{fallback:h,children:tt.jsx(S,{getResetKey:()=>s,errorComponent:y||ld,onCatch:(A,q)=>{if(pe(A))throw A.routeId??(A.routeId=o.routeId),A;g==null||g(A,q)},children:tt.jsx(x,{fallback:A=>{if(A.routeId??(A.routeId=o.routeId),!m||A.routeId&&A.routeId!==o.routeId||!A.routeId&&!c.isRoot)throw A;return F.createElement(m,A)},children:b||o._displayPending?tt.jsx(tx,{fallback:h,children:tt.jsx(ep,{matchId:i})}):tt.jsx(ep,{matchId:i})})})})}),o.parentRouteId===Sl?tt.jsxs(tt.Fragment,{children:[tt.jsx(Ux,{resetKey:s}),a.options.scrollRestoration&&Bp?tt.jsx(Dx,{}):null]}):null]})}function Ux({resetKey:a}){const i=ln(),s=F.useRef(void 0);return Us(()=>{const o=i.latestLocation.href;(s.current===void 0||s.current!==o)&&(i.emit({type:"onRendered",...mi(i.stores.location.get(),i.stores.resolvedLocation.get())}),s.current=o)},[i.latestLocation.state.__TSR_key,a,i]),null}var ep=F.memo(function({matchId:i}){const s=ln(),o=(b,p)=>{var S;return((S=s.getMatch(b.id))==null?void 0:S._nonReactive[p])??b._nonReactive[p]},c=s.stores.matchStores.get(i);c||Jn();const f=Xe(c,b=>b),h=f.routeId,y=s.routesById[h],g=F.useMemo(()=>{var p;const b=(p=s.routesById[h].options.remountDeps??s.options.defaultRemountDeps)==null?void 0:p({routeId:h,loaderDeps:f.loaderDeps,params:f._strictParams,search:f._strictSearch});return b?JSON.stringify(b):void 0},[h,f.loaderDeps,f._strictParams,f._strictSearch,s.options.defaultRemountDeps,s.routesById]),m=F.useMemo(()=>{const b=y.options.component??s.options.defaultComponent;return b?tt.jsx(b,{},g):tt.jsx(dv,{})},[g,y.options.component,s.options.defaultComponent]);if(f._displayPending)throw o(f,"displayPendingPromise");if(f._forcePending)throw o(f,"minPendingPromise");if(f.status==="pending"){const b=y.options.pendingMinMs??s.options.defaultPendingMinMs;if(b){const p=s.getMatch(f.id);if(p&&!p._nonReactive.minPendingPromise){const S=Oi();p._nonReactive.minPendingPromise=S,setTimeout(()=>{S.resolve(),p._nonReactive.minPendingPromise=void 0},b)}}throw o(f,"loadPromise")}if(f.status==="notFound")return pe(f.error)||Jn(),cv(s,y,f.error);if(f.status==="redirected")throw De(f.error)||Jn(),o(f,"loadPromise");if(f.status==="error")throw f.error;return m}),dv=F.memo(function(){const i=ln(),s=F.useContext(ko);let o,c=!1,f;{const m=s?i.stores.matchStores.get(s):void 0;[o,c]=Xe(m,b=>[b==null?void 0:b.routeId,(b==null?void 0:b.globalNotFound)??!1]),f=Xe(i.stores.matchesId,b=>b[b.findIndex(p=>p===s)+1])}const h=o?i.routesById[o]:void 0,y=i.options.defaultPendingComponent?tt.jsx(i.options.defaultPendingComponent,{}):null;if(c)return h||Jn(),cv(i,h,void 0);if(!f)return null;const g=tt.jsx(fv,{matchId:f});return o===Sl?tt.jsx(F.Suspense,{fallback:y,children:g}):g});function Nx(){const a=ln(),i=F.useRef({router:a,mounted:!1}),[s,o]=F.useState(!1),c=Xe(a.stores.isLoading,p=>p),f=Xe(a.stores.hasPending,p=>p),h=df(c),y=c||s||f,g=df(y),m=c||f,b=df(m);return a.startTransition=p=>{o(!0),F.startTransition(()=>{p(),o(!1)})},F.useEffect(()=>{const p=a.history.subscribe(a.load),S=a.buildLocation({to:a.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return Zn(a.latestLocation.publicHref)!==Zn(S.publicHref)&&a.commitLocation({...S,replace:!0}),()=>{p()}},[a,a.history]),Us(()=>{if(typeof window<"u"&&a.ssr||i.current.router===a&&i.current.mounted)return;i.current={router:a,mounted:!0},(async()=>{try{await a.load()}catch(S){console.error(S)}})()},[a]),Us(()=>{h&&!c&&a.emit({type:"onLoad",...mi(a.stores.location.get(),a.stores.resolvedLocation.get())})},[h,a,c]),Us(()=>{b&&!m&&a.emit({type:"onBeforeRouteMount",...mi(a.stores.location.get(),a.stores.resolvedLocation.get())})},[m,b,a]),Us(()=>{if(g&&!y){const p=mi(a.stores.location.get(),a.stores.resolvedLocation.get());a.emit({type:"onResolved",...p}),ev(()=>{a.stores.status.set("idle"),a.stores.resolvedLocation.set(a.stores.location.get())})}},[y,g,a]),null}function jx(){const a=ln(),i=a.routesById[Sl].options.pendingComponent??a.options.defaultPendingComponent,s=i?tt.jsx(i,{}):null,o=tt.jsxs(typeof document<"u"&&a.ssr?hi:F.Suspense,{fallback:s,children:[tt.jsx(Nx,{}),tt.jsx(Bx,{})]});return a.options.InnerWrap?tt.jsx(a.options.InnerWrap,{children:o}):o}function Bx(){const a=ln(),i=Xe(a.stores.firstId,c=>c),s=Xe(a.stores.loadedAt,c=>c),o=i?tt.jsx(fv,{matchId:i}):null;return tt.jsx(ko.Provider,{value:i,children:a.options.disableGlobalCatchBoundary?o:tt.jsx(ad,{getResetKey:()=>s,errorComponent:ld,onCatch:void 0,children:o})})}var Hx=a=>({createMutableStore:Fg,createReadonlyStore:Fg,batch:ev}),qx=a=>new Qx(a),Qx=class extends B1{constructor(a){super(a,Hx)}};function Gx({router:a,children:i,...s}){qp(s)&&a.update({...a.options,...s,context:{...a.options.context,...s.context}});const o=tt.jsx($p.Provider,{value:a,children:i});return a.options.Wrap?tt.jsx(a.options.Wrap,{children:o}):o}function Yx({router:a,...i}){return tt.jsx(Gx,{router:a,...i,children:tt.jsx(jx,{})})}/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const hv=(...a)=>a.filter((i,s,o)=>!!i&&i.trim()!==""&&o.indexOf(i)===s).join(" ").trim();/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kx=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Vx=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,o)=>o?o.toUpperCase():s.toLowerCase());/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const np=a=>{const i=Vx(a);return i.charAt(0).toUpperCase()+i.slice(1)};/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var Ef={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"};/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Xx=a=>{for(const i in a)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1},Kx=F.createContext({}),Zx=()=>F.useContext(Kx),Jx=F.forwardRef(({color:a,size:i,strokeWidth:s,absoluteStrokeWidth:o,className:c="",children:f,iconNode:h,...y},g)=>{const{size:m=24,strokeWidth:b=2,absoluteStrokeWidth:p=!1,color:S="currentColor",className:x=""}=Zx()??{},E=o??p?Number(s??b)*24/Number(i??m):s??b;return F.createElement("svg",{ref:g,...Ef,width:i??m??Ef.width,height:i??m??Ef.height,stroke:a??S,strokeWidth:E,className:hv("lucide",x,c),...!f&&!Xx(y)&&{"aria-hidden":"true"},...y},[...h.map(([C,A])=>F.createElement(C,A)),...Array.isArray(f)?f:[f]])});/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Fs=(a,i)=>{const s=F.forwardRef(({className:o,...c},f)=>F.createElement(Jx,{ref:f,iconNode:i,className:hv(`lucide-${kx(np(a))}`,`lucide-${a}`,o),...c}));return s.displayName=np(a),s};/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Px=[["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"}]],Fx=Fs("file-text",Px);/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ix=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],Wx=Fs("layout-dashboard",Ix);/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $x=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],t_=Fs("menu",$x);/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const e_=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],n_=Fs("trending-up",e_);/**
 * @license lucide-react v1.16.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const a_=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],l_=Fs("wallet",a_);function mv(a){var i,s,o="";if(typeof a=="string"||typeof a=="number")o+=a;else if(typeof a=="object")if(Array.isArray(a)){var c=a.length;for(i=0;i<c;i++)a[i]&&(s=mv(a[i]))&&(o&&(o+=" "),o+=s)}else for(s in a)a[s]&&(o&&(o+=" "),o+=s);return o}function yv(){for(var a,i,s=0,o="",c=arguments.length;s<c;s++)(a=arguments[s])&&(i=mv(a))&&(o&&(o+=" "),o+=i);return o}const ap=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,lp=yv,i_=(a,i)=>s=>{var o;if((i==null?void 0:i.variants)==null)return lp(a,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:c,defaultVariants:f}=i,h=Object.keys(c).map(m=>{const b=s==null?void 0:s[m],p=f==null?void 0:f[m];if(b===null)return null;const S=ap(b)||ap(p);return c[m][S]}),y=s&&Object.entries(s).reduce((m,b)=>{let[p,S]=b;return S===void 0||(m[p]=S),m},{}),g=i==null||(o=i.compoundVariants)===null||o===void 0?void 0:o.reduce((m,b)=>{let{class:p,className:S,...x}=b;return Object.entries(x).every(E=>{let[C,A]=E;return Array.isArray(A)?A.includes({...f,...y}[C]):{...f,...y}[C]===A})?[...m,p,S]:m},[]);return lp(a,h,g,s==null?void 0:s.class,s==null?void 0:s.className)};function ip(a,i){if(typeof a=="function")return a(i);a!=null&&(a.current=i)}function gv(...a){return i=>{let s=!1;const o=a.map(c=>{const f=ip(c,i);return!s&&typeof f=="function"&&(s=!0),f});if(s)return()=>{for(let c=0;c<o.length;c++){const f=o[c];typeof f=="function"?f():ip(a[c],null)}}}}function YR(...a){return F.useCallback(gv(...a),a)}function s_(a){const i=o_(a),s=F.forwardRef((o,c)=>{const{children:f,...h}=o,y=F.Children.toArray(f),g=y.find(r_);if(g){const m=g.props.children,b=y.map(p=>p===g?F.Children.count(m)>1?F.Children.only(null):F.isValidElement(m)?m.props.children:null:p);return tt.jsx(i,{...h,ref:c,children:F.isValidElement(m)?F.cloneElement(m,void 0,b):null})}return tt.jsx(i,{...h,ref:c,children:f})});return s.displayName=`${a}.Slot`,s}var u_=s_("Slot");function o_(a){const i=F.forwardRef((s,o)=>{const{children:c,...f}=s;if(F.isValidElement(c)){const h=f_(c),y=c_(f,c.props);return c.type!==F.Fragment&&(y.ref=o?gv(o,h):h),F.cloneElement(c,y)}return F.Children.count(c)>1?F.Children.only(null):null});return i.displayName=`${a}.SlotClone`,i}var pv=Symbol("radix.slottable");function kR(a){const i=({children:s})=>tt.jsx(tt.Fragment,{children:s});return i.displayName=`${a}.Slottable`,i.__radixId=pv,i}function r_(a){return F.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===pv}function c_(a,i){const s={...i};for(const o in i){const c=a[o],f=i[o];/^on[A-Z]/.test(o)?c&&f?s[o]=(...y)=>{const g=f(...y);return c(...y),g}:c&&(s[o]=c):o==="style"?s[o]={...c,...f}:o==="className"&&(s[o]=[c,f].filter(Boolean).join(" "))}return{...a,...s}}function f_(a){var o,c;let i=(o=Object.getOwnPropertyDescriptor(a.props,"ref"))==null?void 0:o.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?a.ref:(i=(c=Object.getOwnPropertyDescriptor(a,"ref"))==null?void 0:c.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?a.props.ref:a.props.ref||a.ref)}const d_=(a,i)=>{const s=new Array(a.length+i.length);for(let o=0;o<a.length;o++)s[o]=a[o];for(let o=0;o<i.length;o++)s[a.length+o]=i[o];return s},h_=(a,i)=>({classGroupId:a,validator:i}),vv=(a=new Map,i=null,s)=>({nextPart:a,validators:i,classGroupId:s}),Ho="-",sp=[],m_="arbitrary..",y_=a=>{const i=p_(a),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=a;return{getClassGroupId:h=>{if(h.startsWith("[")&&h.endsWith("]"))return g_(h);const y=h.split(Ho),g=y[0]===""&&y.length>1?1:0;return bv(y,g,i)},getConflictingClassGroupIds:(h,y)=>{if(y){const g=o[h],m=s[h];return g?m?d_(m,g):g:m||sp}return s[h]||sp}}},bv=(a,i,s)=>{if(a.length-i===0)return s.classGroupId;const c=a[i],f=s.nextPart.get(c);if(f){const m=bv(a,i+1,f);if(m)return m}const h=s.validators;if(h===null)return;const y=i===0?a.join(Ho):a.slice(i).join(Ho),g=h.length;for(let m=0;m<g;m++){const b=h[m];if(b.validator(y))return b.classGroupId}},g_=a=>a.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const i=a.slice(1,-1),s=i.indexOf(":"),o=i.slice(0,s);return o?m_+o:void 0})(),p_=a=>{const{theme:i,classGroups:s}=a;return v_(s,i)},v_=(a,i)=>{const s=vv();for(const o in a){const c=a[o];sd(c,s,o,i)}return s},sd=(a,i,s,o)=>{const c=a.length;for(let f=0;f<c;f++){const h=a[f];b_(h,i,s,o)}},b_=(a,i,s,o)=>{if(typeof a=="string"){S_(a,i,s);return}if(typeof a=="function"){x_(a,i,s,o);return}__(a,i,s,o)},S_=(a,i,s)=>{const o=a===""?i:Sv(i,a);o.classGroupId=s},x_=(a,i,s,o)=>{if(R_(a)){sd(a(o),i,s,o);return}i.validators===null&&(i.validators=[]),i.validators.push(h_(s,a))},__=(a,i,s,o)=>{const c=Object.entries(a),f=c.length;for(let h=0;h<f;h++){const[y,g]=c[h];sd(g,Sv(i,y),s,o)}},Sv=(a,i)=>{let s=a;const o=i.split(Ho),c=o.length;for(let f=0;f<c;f++){const h=o[f];let y=s.nextPart.get(h);y||(y=vv(),s.nextPart.set(h,y)),s=y}return s},R_=a=>"isThemeGetter"in a&&a.isThemeGetter===!0,E_=a=>{if(a<1)return{get:()=>{},set:()=>{}};let i=0,s=Object.create(null),o=Object.create(null);const c=(f,h)=>{s[f]=h,i++,i>a&&(i=0,o=s,s=Object.create(null))};return{get(f){let h=s[f];if(h!==void 0)return h;if((h=o[f])!==void 0)return c(f,h),h},set(f,h){f in s?s[f]=h:c(f,h)}}},Zf="!",up=":",T_=[],op=(a,i,s,o,c)=>({modifiers:a,hasImportantModifier:i,baseClassName:s,maybePostfixModifierPosition:o,isExternal:c}),M_=a=>{const{prefix:i,experimentalParseClassName:s}=a;let o=c=>{const f=[];let h=0,y=0,g=0,m;const b=c.length;for(let C=0;C<b;C++){const A=c[C];if(h===0&&y===0){if(A===up){f.push(c.slice(g,C)),g=C+1;continue}if(A==="/"){m=C;continue}}A==="["?h++:A==="]"?h--:A==="("?y++:A===")"&&y--}const p=f.length===0?c:c.slice(g);let S=p,x=!1;p.endsWith(Zf)?(S=p.slice(0,-1),x=!0):p.startsWith(Zf)&&(S=p.slice(1),x=!0);const E=m&&m>g?m-g:void 0;return op(f,x,S,E)};if(i){const c=i+up,f=o;o=h=>h.startsWith(c)?f(h.slice(c.length)):op(T_,!1,h,void 0,!0)}if(s){const c=o;o=f=>s({className:f,parseClassName:c})}return o},C_=a=>{const i=new Map;return a.orderSensitiveModifiers.forEach((s,o)=>{i.set(s,1e6+o)}),s=>{const o=[];let c=[];for(let f=0;f<s.length;f++){const h=s[f],y=h[0]==="[",g=i.has(h);y||g?(c.length>0&&(c.sort(),o.push(...c),c=[]),o.push(h)):c.push(h)}return c.length>0&&(c.sort(),o.push(...c)),o}},A_=a=>({cache:E_(a.cacheSize),parseClassName:M_(a),sortModifiers:C_(a),postfixLookupClassGroupIds:z_(a),...y_(a)}),z_=a=>{const i=Object.create(null),s=a.postfixLookupClassGroups;if(s)for(let o=0;o<s.length;o++)i[s[o]]=!0;return i},O_=/\s+/,w_=(a,i)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:c,sortModifiers:f,postfixLookupClassGroupIds:h}=i,y=[],g=a.trim().split(O_);let m="";for(let b=g.length-1;b>=0;b-=1){const p=g[b],{isExternal:S,modifiers:x,hasImportantModifier:E,baseClassName:C,maybePostfixModifierPosition:A}=s(p);if(S){m=p+(m.length>0?" "+m:m);continue}let q=!!A,B;if(q){const N=C.substring(0,A);B=o(N);const z=B&&h[B]?o(C):void 0;z&&z!==B&&(B=z,q=!1)}else B=o(C);if(!B){if(!q){m=p+(m.length>0?" "+m:m);continue}if(B=o(C),!B){m=p+(m.length>0?" "+m:m);continue}q=!1}const Z=x.length===0?"":x.length===1?x[0]:f(x).join(":"),w=E?Z+Zf:Z,X=w+B;if(y.indexOf(X)>-1)continue;y.push(X);const P=c(B,q);for(let N=0;N<P.length;++N){const z=P[N];y.push(w+z)}m=p+(m.length>0?" "+m:m)}return m},D_=(...a)=>{let i=0,s,o,c="";for(;i<a.length;)(s=a[i++])&&(o=xv(s))&&(c&&(c+=" "),c+=o);return c},xv=a=>{if(typeof a=="string")return a;let i,s="";for(let o=0;o<a.length;o++)a[o]&&(i=xv(a[o]))&&(s&&(s+=" "),s+=i);return s},L_=(a,...i)=>{let s,o,c,f;const h=g=>{const m=i.reduce((b,p)=>p(b),a());return s=A_(m),o=s.cache.get,c=s.cache.set,f=y,y(g)},y=g=>{const m=o(g);if(m)return m;const b=w_(g,s);return c(g,b),b};return f=h,(...g)=>f(D_(...g))},U_=[],ae=a=>{const i=s=>s[a]||U_;return i.isThemeGetter=!0,i},_v=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Rv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,N_=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,j_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,B_=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,H_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,q_=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Q_=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,xa=a=>N_.test(a),_t=a=>!!a&&!Number.isNaN(Number(a)),gn=a=>!!a&&Number.isInteger(Number(a)),Tf=a=>a.endsWith("%")&&_t(a.slice(0,-1)),Gn=a=>j_.test(a),Ev=()=>!0,G_=a=>B_.test(a)&&!H_.test(a),ud=()=>!1,Y_=a=>q_.test(a),k_=a=>Q_.test(a),V_=a=>!ut(a)&&!ot(a),X_=a=>a.startsWith("@container")&&(a[10]==="/"&&a[11]!==void 0||a[11]==="s"&&a[16]!==void 0&&a.startsWith("-size/",10)||a[11]==="n"&&a[18]!==void 0&&a.startsWith("-normal/",10)),K_=a=>Ha(a,Cv,ud),ut=a=>_v.test(a),il=a=>Ha(a,Av,G_),rp=a=>Ha(a,tR,_t),Z_=a=>Ha(a,Ov,Ev),J_=a=>Ha(a,zv,ud),cp=a=>Ha(a,Tv,ud),P_=a=>Ha(a,Mv,k_),Ro=a=>Ha(a,wv,Y_),ot=a=>Rv.test(a),Ds=a=>El(a,Av),F_=a=>El(a,zv),fp=a=>El(a,Tv),I_=a=>El(a,Cv),W_=a=>El(a,Mv),Eo=a=>El(a,wv,!0),$_=a=>El(a,Ov,!0),Ha=(a,i,s)=>{const o=_v.exec(a);return o?o[1]?i(o[1]):s(o[2]):!1},El=(a,i,s=!1)=>{const o=Rv.exec(a);return o?o[1]?i(o[1]):s:!1},Tv=a=>a==="position"||a==="percentage",Mv=a=>a==="image"||a==="url",Cv=a=>a==="length"||a==="size"||a==="bg-size",Av=a=>a==="length",tR=a=>a==="number",zv=a=>a==="family-name",Ov=a=>a==="number"||a==="weight",wv=a=>a==="shadow",eR=()=>{const a=ae("color"),i=ae("font"),s=ae("text"),o=ae("font-weight"),c=ae("tracking"),f=ae("leading"),h=ae("breakpoint"),y=ae("container"),g=ae("spacing"),m=ae("radius"),b=ae("shadow"),p=ae("inset-shadow"),S=ae("text-shadow"),x=ae("drop-shadow"),E=ae("blur"),C=ae("perspective"),A=ae("aspect"),q=ae("ease"),B=ae("animate"),Z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],X=()=>[...w(),ot,ut],P=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],z=()=>[ot,ut,g],K=()=>[xa,"full","auto",...z()],J=()=>[gn,"none","subgrid",ot,ut],I=()=>["auto",{span:["full",gn,ot,ut]},gn,ot,ut],et=()=>[gn,"auto",ot,ut],it=()=>["auto","min","max","fr",ot,ut],st=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],gt=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...z()],G=()=>[xa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],ct=()=>[xa,"screen","full","dvw","lvw","svw","min","max","fit",...z()],At=()=>[xa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],W=()=>[a,ot,ut],T=()=>[...w(),fp,cp,{position:[ot,ut]}],k=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",I_,K_,{size:[ot,ut]}],nt=()=>[Tf,Ds,il],at=()=>["","none","full",m,ot,ut],ht=()=>["",_t,Ds,il],Rt=()=>["solid","dashed","dotted","double"],Bt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pt=()=>[_t,Tf,fp,cp],Ke=()=>["","none",E,ot,ut],_e=()=>["none",_t,ot,ut],Le=()=>["none",_t,ot,ut],xn=()=>[_t,ot,ut],ve=()=>[xa,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Gn],breakpoint:[Gn],color:[Ev],container:[Gn],"drop-shadow":[Gn],ease:["in","out","in-out"],font:[V_],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Gn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Gn],shadow:[Gn],spacing:["px",_t],text:[Gn],"text-shadow":[Gn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",xa,ut,ot,A]}],container:["container"],"container-type":[{"@container":["","normal","size",ot,ut]}],"container-named":[X_],columns:[{columns:[_t,ut,ot,y]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:X()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:K()}],"inset-x":[{"inset-x":K()}],"inset-y":[{"inset-y":K()}],start:[{"inset-s":K(),start:K()}],end:[{"inset-e":K(),end:K()}],"inset-bs":[{"inset-bs":K()}],"inset-be":[{"inset-be":K()}],top:[{top:K()}],right:[{right:K()}],bottom:[{bottom:K()}],left:[{left:K()}],visibility:["visible","invisible","collapse"],z:[{z:[gn,"auto",ot,ut]}],basis:[{basis:[xa,"full","auto",y,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_t,xa,"auto","initial","none",ut]}],grow:[{grow:["",_t,ot,ut]}],shrink:[{shrink:["",_t,ot,ut]}],order:[{order:[gn,"first","last","none",ot,ut]}],"grid-cols":[{"grid-cols":J()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":et()}],"col-end":[{"col-end":et()}],"grid-rows":[{"grid-rows":J()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":et()}],"row-end":[{"row-end":et()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":it()}],"auto-rows":[{"auto-rows":it()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...st(),"normal"]}],"justify-items":[{"justify-items":[...gt(),"normal"]}],"justify-self":[{"justify-self":["auto",...gt()]}],"align-content":[{content:["normal",...st()]}],"align-items":[{items:[...gt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...gt(),{baseline:["","last"]}]}],"place-content":[{"place-content":st()}],"place-items":[{"place-items":[...gt(),"baseline"]}],"place-self":[{"place-self":["auto",...gt()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mbs:[{mbs:D()}],mbe:[{mbe:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],"inline-size":[{inline:["auto",...ct()]}],"min-inline-size":[{"min-inline":["auto",...ct()]}],"max-inline-size":[{"max-inline":["none",...ct()]}],"block-size":[{block:["auto",...At()]}],"min-block-size":[{"min-block":["auto",...At()]}],"max-block-size":[{"max-block":["none",...At()]}],w:[{w:[y,"screen",...G()]}],"min-w":[{"min-w":[y,"screen","none",...G()]}],"max-w":[{"max-w":[y,"screen","none","prose",{screen:[h]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",s,Ds,il]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,$_,Z_]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Tf,ut]}],"font-family":[{font:[F_,J_,i]}],"font-features":[{"font-features":[ut]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[c,ot,ut]}],"line-clamp":[{"line-clamp":[_t,"none",ot,rp]}],leading:[{leading:[f,...z()]}],"list-image":[{"list-image":["none",ot,ut]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ot,ut]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:W()}],"text-color":[{text:W()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Rt(),"wavy"]}],"text-decoration-thickness":[{decoration:[_t,"from-font","auto",ot,il]}],"text-decoration-color":[{decoration:W()}],"underline-offset":[{"underline-offset":[_t,"auto",ot,ut]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"tab-size":[{tab:[gn,ot,ut]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ot,ut]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ot,ut]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:k()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},gn,ot,ut],radial:["",ot,ut],conic:[gn,ot,ut]},W_,P_]}],"bg-color":[{bg:W()}],"gradient-from-pos":[{from:nt()}],"gradient-via-pos":[{via:nt()}],"gradient-to-pos":[{to:nt()}],"gradient-from":[{from:W()}],"gradient-via":[{via:W()}],"gradient-to":[{to:W()}],rounded:[{rounded:at()}],"rounded-s":[{"rounded-s":at()}],"rounded-e":[{"rounded-e":at()}],"rounded-t":[{"rounded-t":at()}],"rounded-r":[{"rounded-r":at()}],"rounded-b":[{"rounded-b":at()}],"rounded-l":[{"rounded-l":at()}],"rounded-ss":[{"rounded-ss":at()}],"rounded-se":[{"rounded-se":at()}],"rounded-ee":[{"rounded-ee":at()}],"rounded-es":[{"rounded-es":at()}],"rounded-tl":[{"rounded-tl":at()}],"rounded-tr":[{"rounded-tr":at()}],"rounded-br":[{"rounded-br":at()}],"rounded-bl":[{"rounded-bl":at()}],"border-w":[{border:ht()}],"border-w-x":[{"border-x":ht()}],"border-w-y":[{"border-y":ht()}],"border-w-s":[{"border-s":ht()}],"border-w-e":[{"border-e":ht()}],"border-w-bs":[{"border-bs":ht()}],"border-w-be":[{"border-be":ht()}],"border-w-t":[{"border-t":ht()}],"border-w-r":[{"border-r":ht()}],"border-w-b":[{"border-b":ht()}],"border-w-l":[{"border-l":ht()}],"divide-x":[{"divide-x":ht()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ht()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Rt(),"hidden","none"]}],"divide-style":[{divide:[...Rt(),"hidden","none"]}],"border-color":[{border:W()}],"border-color-x":[{"border-x":W()}],"border-color-y":[{"border-y":W()}],"border-color-s":[{"border-s":W()}],"border-color-e":[{"border-e":W()}],"border-color-bs":[{"border-bs":W()}],"border-color-be":[{"border-be":W()}],"border-color-t":[{"border-t":W()}],"border-color-r":[{"border-r":W()}],"border-color-b":[{"border-b":W()}],"border-color-l":[{"border-l":W()}],"divide-color":[{divide:W()}],"outline-style":[{outline:[...Rt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_t,ot,ut]}],"outline-w":[{outline:["",_t,Ds,il]}],"outline-color":[{outline:W()}],shadow:[{shadow:["","none",b,Eo,Ro]}],"shadow-color":[{shadow:W()}],"inset-shadow":[{"inset-shadow":["none",p,Eo,Ro]}],"inset-shadow-color":[{"inset-shadow":W()}],"ring-w":[{ring:ht()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:W()}],"ring-offset-w":[{"ring-offset":[_t,il]}],"ring-offset-color":[{"ring-offset":W()}],"inset-ring-w":[{"inset-ring":ht()}],"inset-ring-color":[{"inset-ring":W()}],"text-shadow":[{"text-shadow":["none",S,Eo,Ro]}],"text-shadow-color":[{"text-shadow":W()}],opacity:[{opacity:[_t,ot,ut]}],"mix-blend":[{"mix-blend":[...Bt(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Bt()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[_t]}],"mask-image-linear-from-pos":[{"mask-linear-from":pt()}],"mask-image-linear-to-pos":[{"mask-linear-to":pt()}],"mask-image-linear-from-color":[{"mask-linear-from":W()}],"mask-image-linear-to-color":[{"mask-linear-to":W()}],"mask-image-t-from-pos":[{"mask-t-from":pt()}],"mask-image-t-to-pos":[{"mask-t-to":pt()}],"mask-image-t-from-color":[{"mask-t-from":W()}],"mask-image-t-to-color":[{"mask-t-to":W()}],"mask-image-r-from-pos":[{"mask-r-from":pt()}],"mask-image-r-to-pos":[{"mask-r-to":pt()}],"mask-image-r-from-color":[{"mask-r-from":W()}],"mask-image-r-to-color":[{"mask-r-to":W()}],"mask-image-b-from-pos":[{"mask-b-from":pt()}],"mask-image-b-to-pos":[{"mask-b-to":pt()}],"mask-image-b-from-color":[{"mask-b-from":W()}],"mask-image-b-to-color":[{"mask-b-to":W()}],"mask-image-l-from-pos":[{"mask-l-from":pt()}],"mask-image-l-to-pos":[{"mask-l-to":pt()}],"mask-image-l-from-color":[{"mask-l-from":W()}],"mask-image-l-to-color":[{"mask-l-to":W()}],"mask-image-x-from-pos":[{"mask-x-from":pt()}],"mask-image-x-to-pos":[{"mask-x-to":pt()}],"mask-image-x-from-color":[{"mask-x-from":W()}],"mask-image-x-to-color":[{"mask-x-to":W()}],"mask-image-y-from-pos":[{"mask-y-from":pt()}],"mask-image-y-to-pos":[{"mask-y-to":pt()}],"mask-image-y-from-color":[{"mask-y-from":W()}],"mask-image-y-to-color":[{"mask-y-to":W()}],"mask-image-radial":[{"mask-radial":[ot,ut]}],"mask-image-radial-from-pos":[{"mask-radial-from":pt()}],"mask-image-radial-to-pos":[{"mask-radial-to":pt()}],"mask-image-radial-from-color":[{"mask-radial-from":W()}],"mask-image-radial-to-color":[{"mask-radial-to":W()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[_t]}],"mask-image-conic-from-pos":[{"mask-conic-from":pt()}],"mask-image-conic-to-pos":[{"mask-conic-to":pt()}],"mask-image-conic-from-color":[{"mask-conic-from":W()}],"mask-image-conic-to-color":[{"mask-conic-to":W()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:k()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ot,ut]}],filter:[{filter:["","none",ot,ut]}],blur:[{blur:Ke()}],brightness:[{brightness:[_t,ot,ut]}],contrast:[{contrast:[_t,ot,ut]}],"drop-shadow":[{"drop-shadow":["","none",x,Eo,Ro]}],"drop-shadow-color":[{"drop-shadow":W()}],grayscale:[{grayscale:["",_t,ot,ut]}],"hue-rotate":[{"hue-rotate":[_t,ot,ut]}],invert:[{invert:["",_t,ot,ut]}],saturate:[{saturate:[_t,ot,ut]}],sepia:[{sepia:["",_t,ot,ut]}],"backdrop-filter":[{"backdrop-filter":["","none",ot,ut]}],"backdrop-blur":[{"backdrop-blur":Ke()}],"backdrop-brightness":[{"backdrop-brightness":[_t,ot,ut]}],"backdrop-contrast":[{"backdrop-contrast":[_t,ot,ut]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_t,ot,ut]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_t,ot,ut]}],"backdrop-invert":[{"backdrop-invert":["",_t,ot,ut]}],"backdrop-opacity":[{"backdrop-opacity":[_t,ot,ut]}],"backdrop-saturate":[{"backdrop-saturate":[_t,ot,ut]}],"backdrop-sepia":[{"backdrop-sepia":["",_t,ot,ut]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ot,ut]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_t,"initial",ot,ut]}],ease:[{ease:["linear","initial",q,ot,ut]}],delay:[{delay:[_t,ot,ut]}],animate:[{animate:["none",B,ot,ut]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,ot,ut]}],"perspective-origin":[{"perspective-origin":X()}],rotate:[{rotate:_e()}],"rotate-x":[{"rotate-x":_e()}],"rotate-y":[{"rotate-y":_e()}],"rotate-z":[{"rotate-z":_e()}],scale:[{scale:Le()}],"scale-x":[{"scale-x":Le()}],"scale-y":[{"scale-y":Le()}],"scale-z":[{"scale-z":Le()}],"scale-3d":["scale-3d"],skew:[{skew:xn()}],"skew-x":[{"skew-x":xn()}],"skew-y":[{"skew-y":xn()}],transform:[{transform:[ot,ut,"","none","gpu","cpu"]}],"transform-origin":[{origin:X()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ve()}],"translate-x":[{"translate-x":ve()}],"translate-y":[{"translate-y":ve()}],"translate-z":[{"translate-z":ve()}],"translate-none":["translate-none"],zoom:[{zoom:[gn,ot,ut]}],accent:[{accent:W()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:W()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ot,ut]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":W()}],"scrollbar-track-color":[{"scrollbar-track":W()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ot,ut]}],fill:[{fill:["none",...W()]}],"stroke-w":[{stroke:[_t,Ds,il,rp]}],stroke:[{stroke:["none",...W()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},nR=L_(eR);function Dv(...a){return nR(yv(a))}const aR=i_("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});function lR({className:a,variant:i="default",size:s="default",asChild:o=!1,...c}){const f=o?u_:"button";return tt.jsx(f,{"data-slot":"button","data-variant":i,"data-size":s,className:Dv(aR({variant:i,size:s,className:a})),...c})}function iR({onMenuClick:a}){return tt.jsxs("header",{className:"flex h-14 items-center gap-4 border-b px-4",children:[tt.jsx(lR,{variant:"ghost",size:"icon",className:"md:hidden",onClick:a,children:tt.jsx(t_,{className:"size-5"})}),tt.jsx("div",{className:"flex-1"})]})}const sR=[{to:"/",label:"Panel",icon:Wx},{to:"/expenses",label:"Gastos",icon:l_},{to:"/quotes",label:"Cotizaciones",icon:Fx},{to:"/quotes/belo",label:"BELO",icon:n_}];function uR({open:a,onClose:i}){return tt.jsxs(tt.Fragment,{children:[a&&tt.jsx("div",{className:"fixed inset-0 z-40 bg-black/20 md:hidden",onClick:i}),tt.jsxs("aside",{className:Dv("fixed inset-y-0 left-0 z-50 flex w-60 flex-col border-r bg-sidebar transition-transform duration-200 md:relative md:translate-x-0",a?"translate-x-0":"-translate-x-full"),children:[tt.jsx("div",{className:"flex h-14 items-center border-b px-4",children:tt.jsx("span",{className:"text-lg font-semibold text-sidebar-foreground",children:"Personal Admin"})}),tt.jsx("nav",{className:"flex-1 space-y-1 p-3",children:sR.map(s=>tt.jsxs(id,{to:s.to,activeProps:{className:"bg-sidebar-accent text-sidebar-accent-foreground font-medium"},className:"flex items-center gap-3 rounded-lg px-3 py-2 text-sm text-sidebar-foreground/70 transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",onClick:i,children:[tt.jsx(s.icon,{className:"size-4"}),s.label]},s.to))})]})]})}function oR(){const[a,i]=F.useState(!1);return tt.jsxs("div",{className:"flex min-h-screen",children:[tt.jsx(uR,{open:a,onClose:()=>i(!1)}),tt.jsxs("div",{className:"flex flex-1 flex-col",children:[tt.jsx(iR,{onMenuClick:()=>i(!0)}),tt.jsx("main",{className:"flex-1 p-6",children:tt.jsx(dv,{})})]})]})}const Vo=Cx({component:oR}),rR=()=>Zs(()=>import("./quotes-CmUZ4ywE.js"),[]),cR=Js("/quotes")({component:Ps(rR,"component")}),fR=()=>Zs(()=>import("./expenses-BTJsEbe0.js"),[]),dR=Js("/expenses")({component:Ps(fR,"component")}),hR=()=>Zs(()=>import("./index-ZuErKIvO.js"),__vite__mapDeps([0,1])),mR=Js("/")({component:Ps(hR,"component")}),yR=()=>Zs(()=>import("./quotes.index-DS5U9qrs.js"),[]),gR=Js("/quotes/")({component:Ps(yR,"component")}),pR=()=>Zs(()=>import("./quotes.belo-DgMgr906.js"),__vite__mapDeps([2,1])),vR=Js("/quotes/belo")({component:Ps(pR,"component")}),od=cR.update({id:"/quotes",path:"/quotes",getParentRoute:()=>Vo}),bR=dR.update({id:"/expenses",path:"/expenses",getParentRoute:()=>Vo}),SR=mR.update({id:"/",path:"/",getParentRoute:()=>Vo}),xR=gR.update({id:"/",path:"/",getParentRoute:()=>od}),_R=vR.update({id:"/belo",path:"/belo",getParentRoute:()=>od}),RR={QuotesBeloRoute:_R,QuotesIndexRoute:xR},ER=od._addFileChildren(RR),TR={IndexRoute:SR,ExpensesRoute:bR,QuotesRoute:ER},MR=Vo._addFileChildren(TR)._addFileTypes(),CR=qx({routeTree:MR});async function Is(a){const i=await fetch(a);if(!i.ok)throw new Error(`API error: ${i.status} ${i.statusText}`);return i.json()}function AR(){return Is("/api/quotes")}function zR(){return Is("/api/quotes/fetch")}function OR(a,i,s){const o=new URLSearchParams({startDate:i,endDate:s});return Is(`/api/quotes/${a}/history?${o}`)}function wR(a,i,s){const o=new URLSearchParams({startDate:i,endDate:s});return Is(`/api/quotes/${a}/min-max?${o}`)}function DR(a,i,s){const o=new URLSearchParams({startDate:i,endDate:s});return Is(`/api/quotes/${a}/daily?${o}`)}const Di={all:["quotes"],history:(a,i,s)=>["quotes",a,"history",i,s],minMax:(a,i,s)=>["quotes",a,"minMax",i,s],daily:(a,i,s)=>["quotes",a,"daily",i,s]};function VR(){return Qo({queryKey:Di.all,queryFn:AR,staleTime:3e4,refetchInterval:6e4})}function XR(){const a=qo();return KS({mutationFn:zR,onSuccess:()=>{a.invalidateQueries({queryKey:Di.all})}})}function KR(a,i,s){return Qo({queryKey:Di.history(a,i,s),queryFn:()=>OR(a,i,s),staleTime:3e4,refetchInterval:6e4})}function ZR(a,i,s){return Qo({queryKey:Di.minMax(a,i,s),queryFn:()=>wR(a,i,s),staleTime:3e4,refetchInterval:6e4})}function JR(a,i,s){return Qo({queryKey:Di.daily(a,i,s),queryFn:()=>DR(a,i,s),staleTime:3e4,refetchInterval:6e4})}function LR(){const a=qo();F.useEffect(()=>{const i=new EventSource("/api/quotes/events");return i.addEventListener("quotes-updated",()=>{a.invalidateQueries({queryKey:Di.all})}),()=>i.close()},[a])}function UR(){return LR(),tt.jsx(Yx,{router:CR})}const NR=new LS({defaultOptions:{queries:{staleTime:3e4,retry:2,refetchOnWindowFocus:!0}}});uS.createRoot(document.getElementById("root")).render(tt.jsx(F.StrictMode,{children:tt.jsxs(US,{client:NR,children:[tt.jsx(UR,{}),tt.jsx(PS,{initialIsOpen:!1})]})}));export{dv as O,HR as R,u_ as S,n_ as T,QR as a,Dv as b,yv as c,BR as d,Fs as e,s_ as f,kR as g,Rp as h,F as i,tt as j,Ks as k,ZR as l,JR as m,XR as n,KR as o,VR as p,rv as r,YR as u,dx as w};
