const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Library-Ci_rxC-B.js","assets/books-BG7wMiRx.js","assets/useMediaQuery-DwhAHSnz.js","assets/errors-bLl0IgZb.js","assets/Library-2D9sFJJ7.css","assets/BookDetailPage-B8jJgony.js","assets/AddBook-DiryQGMk.js","assets/Settings-DkxftMXf.js","assets/ReadingPage-KSOW0yWe.js","assets/ReadingPage-BP5NX83v.css","assets/AuthPage-Dbb0UvrV.js"])))=>i.map(i=>d[i]);
(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const d of s)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&o(h)}).observe(document,{childList:!0,subtree:!0});function c(s){const d={};return s.integrity&&(d.integrity=s.integrity),s.referrerPolicy&&(d.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?d.credentials="include":s.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function o(s){if(s.ep)return;s.ep=!0;const d=c(s);fetch(s.href,d)}})();var eE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fm(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var gc={exports:{}},Il={};/**
 * @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 cm;function Sv(){if(cm)return Il;cm=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(o,s,d){var h=null;if(d!==void 0&&(h=""+d),s.key!==void 0&&(h=""+s.key),"key"in s){d={};for(var p in s)p!=="key"&&(d[p]=s[p])}else d=s;return s=d.ref,{$$typeof:l,type:o,key:h,ref:s!==void 0?s:null,props:d}}return Il.Fragment=i,Il.jsx=c,Il.jsxs=c,Il}var sm;function Ev(){return sm||(sm=1,gc.exports=Sv()),gc.exports}var W=Ev(),vc={exports:{}},ne={};/**
 * @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 fm;function _v(){if(fm)return ne;fm=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),M=Symbol.iterator;function Y(E){return E===null||typeof E!="object"?null:(E=M&&E[M]||E["@@iterator"],typeof E=="function"?E:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,D={};function U(E,j,G){this.props=E,this.context=j,this.refs=D,this.updater=G||q}U.prototype.isReactComponent={},U.prototype.setState=function(E,j){if(typeof E!="object"&&typeof E!="function"&&E!=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,E,j,"setState")},U.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function Q(){}Q.prototype=U.prototype;function X(E,j,G){this.props=E,this.context=j,this.refs=D,this.updater=G||q}var F=X.prototype=new Q;F.constructor=X,N(F,U.prototype),F.isPureReactComponent=!0;var ae=Array.isArray;function pe(){}var te={H:null,A:null,T:null,S:null},Ce=Object.prototype.hasOwnProperty;function Qe(E,j,G){var V=G.ref;return{$$typeof:l,type:E,key:j,ref:V!==void 0?V:null,props:G}}function Ze(E,j){return Qe(E.type,j,E.props)}function Ye(E){return typeof E=="object"&&E!==null&&E.$$typeof===l}function He(E){var j={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(G){return j[G]})}var ht=/\/+/g;function Ue(E,j){return typeof E=="object"&&E!==null&&E.key!=null?He(""+E.key):j.toString(36)}function xe(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(pe,pe):(E.status="pending",E.then(function(j){E.status==="pending"&&(E.status="fulfilled",E.value=j)},function(j){E.status==="pending"&&(E.status="rejected",E.reason=j)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function B(E,j,G,V,P){var ie=typeof E;(ie==="undefined"||ie==="boolean")&&(E=null);var ce=!1;if(E===null)ce=!0;else switch(ie){case"bigint":case"string":case"number":ce=!0;break;case"object":switch(E.$$typeof){case l:case i:ce=!0;break;case v:return ce=E._init,B(ce(E._payload),j,G,V,P)}}if(ce)return P=P(E),ce=V===""?"."+Ue(E,0):V,ae(P)?(G="",ce!=null&&(G=ce.replace(ht,"$&/")+"/"),B(P,j,G,"",function(Vt){return Vt})):P!=null&&(Ye(P)&&(P=Ze(P,G+(P.key==null||E&&E.key===P.key?"":(""+P.key).replace(ht,"$&/")+"/")+ce)),j.push(P)),1;ce=0;var le=V===""?".":V+":";if(ae(E))for(var _e=0;_e<E.length;_e++)V=E[_e],ie=le+Ue(V,_e),ce+=B(V,j,G,ie,P);else if(_e=Y(E),typeof _e=="function")for(E=_e.call(E),_e=0;!(V=E.next()).done;)V=V.value,ie=le+Ue(V,_e++),ce+=B(V,j,G,ie,P);else if(ie==="object"){if(typeof E.then=="function")return B(xe(E),j,G,V,P);throw j=String(E),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}return ce}function k(E,j,G){if(E==null)return E;var V=[],P=0;return B(E,V,"","",function(ie){return j.call(G,ie,P++)}),V}function I(E){if(E._status===-1){var j=E._result;j=j(),j.then(function(G){(E._status===0||E._status===-1)&&(E._status=1,E._result=G)},function(G){(E._status===0||E._status===-1)&&(E._status=2,E._result=G)}),E._status===-1&&(E._status=0,E._result=j)}if(E._status===1)return E._result.default;throw E._result}var se=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(j))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},oe={map:k,forEach:function(E,j,G){k(E,function(){j.apply(this,arguments)},G)},count:function(E){var j=0;return k(E,function(){j++}),j},toArray:function(E){return k(E,function(j){return j})||[]},only:function(E){if(!Ye(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return ne.Activity=S,ne.Children=oe,ne.Component=U,ne.Fragment=c,ne.Profiler=s,ne.PureComponent=X,ne.StrictMode=o,ne.Suspense=g,ne.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=te,ne.__COMPILER_RUNTIME={__proto__:null,c:function(E){return te.H.useMemoCache(E)}},ne.cache=function(E){return function(){return E.apply(null,arguments)}},ne.cacheSignal=function(){return null},ne.cloneElement=function(E,j,G){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var V=N({},E.props),P=E.key;if(j!=null)for(ie in j.key!==void 0&&(P=""+j.key),j)!Ce.call(j,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&j.ref===void 0||(V[ie]=j[ie]);var ie=arguments.length-2;if(ie===1)V.children=G;else if(1<ie){for(var ce=Array(ie),le=0;le<ie;le++)ce[le]=arguments[le+2];V.children=ce}return Qe(E.type,P,V)},ne.createContext=function(E){return E={$$typeof:h,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:d,_context:E},E},ne.createElement=function(E,j,G){var V,P={},ie=null;if(j!=null)for(V in j.key!==void 0&&(ie=""+j.key),j)Ce.call(j,V)&&V!=="key"&&V!=="__self"&&V!=="__source"&&(P[V]=j[V]);var ce=arguments.length-2;if(ce===1)P.children=G;else if(1<ce){for(var le=Array(ce),_e=0;_e<ce;_e++)le[_e]=arguments[_e+2];P.children=le}if(E&&E.defaultProps)for(V in ce=E.defaultProps,ce)P[V]===void 0&&(P[V]=ce[V]);return Qe(E,ie,P)},ne.createRef=function(){return{current:null}},ne.forwardRef=function(E){return{$$typeof:p,render:E}},ne.isValidElement=Ye,ne.lazy=function(E){return{$$typeof:v,_payload:{_status:-1,_result:E},_init:I}},ne.memo=function(E,j){return{$$typeof:y,type:E,compare:j===void 0?null:j}},ne.startTransition=function(E){var j=te.T,G={};te.T=G;try{var V=E(),P=te.S;P!==null&&P(G,V),typeof V=="object"&&V!==null&&typeof V.then=="function"&&V.then(pe,se)}catch(ie){se(ie)}finally{j!==null&&G.types!==null&&(j.types=G.types),te.T=j}},ne.unstable_useCacheRefresh=function(){return te.H.useCacheRefresh()},ne.use=function(E){return te.H.use(E)},ne.useActionState=function(E,j,G){return te.H.useActionState(E,j,G)},ne.useCallback=function(E,j){return te.H.useCallback(E,j)},ne.useContext=function(E){return te.H.useContext(E)},ne.useDebugValue=function(){},ne.useDeferredValue=function(E,j){return te.H.useDeferredValue(E,j)},ne.useEffect=function(E,j){return te.H.useEffect(E,j)},ne.useEffectEvent=function(E){return te.H.useEffectEvent(E)},ne.useId=function(){return te.H.useId()},ne.useImperativeHandle=function(E,j,G){return te.H.useImperativeHandle(E,j,G)},ne.useInsertionEffect=function(E,j){return te.H.useInsertionEffect(E,j)},ne.useLayoutEffect=function(E,j){return te.H.useLayoutEffect(E,j)},ne.useMemo=function(E,j){return te.H.useMemo(E,j)},ne.useOptimistic=function(E,j){return te.H.useOptimistic(E,j)},ne.useReducer=function(E,j,G){return te.H.useReducer(E,j,G)},ne.useRef=function(E){return te.H.useRef(E)},ne.useState=function(E){return te.H.useState(E)},ne.useSyncExternalStore=function(E,j,G){return te.H.useSyncExternalStore(E,j,G)},ne.useTransition=function(){return te.H.useTransition()},ne.version="19.2.6",ne}var dm;function Vc(){return dm||(dm=1,vc.exports=_v()),vc.exports}var T=Vc();const Av=Fm(T);var bc={exports:{}},eu={},Sc={exports:{}},Ec={};/**
 * @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 hm;function Tv(){return hm||(hm=1,(function(l){function i(B,k){var I=B.length;B.push(k);e:for(;0<I;){var se=I-1>>>1,oe=B[se];if(0<s(oe,k))B[se]=k,B[I]=oe,I=se;else break e}}function c(B){return B.length===0?null:B[0]}function o(B){if(B.length===0)return null;var k=B[0],I=B.pop();if(I!==k){B[0]=I;e:for(var se=0,oe=B.length,E=oe>>>1;se<E;){var j=2*(se+1)-1,G=B[j],V=j+1,P=B[V];if(0>s(G,I))V<oe&&0>s(P,G)?(B[se]=P,B[V]=I,se=V):(B[se]=G,B[j]=I,se=j);else if(V<oe&&0>s(P,I))B[se]=P,B[V]=I,se=V;else break e}}return k}function s(B,k){var I=B.sortIndex-k.sortIndex;return I!==0?I:B.id-k.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;l.unstable_now=function(){return d.now()}}else{var h=Date,p=h.now();l.unstable_now=function(){return h.now()-p}}var g=[],y=[],v=1,S=null,M=3,Y=!1,q=!1,N=!1,D=!1,U=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function F(B){for(var k=c(y);k!==null;){if(k.callback===null)o(y);else if(k.startTime<=B)o(y),k.sortIndex=k.expirationTime,i(g,k);else break;k=c(y)}}function ae(B){if(N=!1,F(B),!q)if(c(g)!==null)q=!0,pe||(pe=!0,He());else{var k=c(y);k!==null&&xe(ae,k.startTime-B)}}var pe=!1,te=-1,Ce=5,Qe=-1;function Ze(){return D?!0:!(l.unstable_now()-Qe<Ce)}function Ye(){if(D=!1,pe){var B=l.unstable_now();Qe=B;var k=!0;try{e:{q=!1,N&&(N=!1,Q(te),te=-1),Y=!0;var I=M;try{t:{for(F(B),S=c(g);S!==null&&!(S.expirationTime>B&&Ze());){var se=S.callback;if(typeof se=="function"){S.callback=null,M=S.priorityLevel;var oe=se(S.expirationTime<=B);if(B=l.unstable_now(),typeof oe=="function"){S.callback=oe,F(B),k=!0;break t}S===c(g)&&o(g),F(B)}else o(g);S=c(g)}if(S!==null)k=!0;else{var E=c(y);E!==null&&xe(ae,E.startTime-B),k=!1}}break e}finally{S=null,M=I,Y=!1}k=void 0}}finally{k?He():pe=!1}}}var He;if(typeof X=="function")He=function(){X(Ye)};else if(typeof MessageChannel<"u"){var ht=new MessageChannel,Ue=ht.port2;ht.port1.onmessage=Ye,He=function(){Ue.postMessage(null)}}else He=function(){U(Ye,0)};function xe(B,k){te=U(function(){B(l.unstable_now())},k)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(B){B.callback=null},l.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ce=0<B?Math.floor(1e3/B):5},l.unstable_getCurrentPriorityLevel=function(){return M},l.unstable_next=function(B){switch(M){case 1:case 2:case 3:var k=3;break;default:k=M}var I=M;M=k;try{return B()}finally{M=I}},l.unstable_requestPaint=function(){D=!0},l.unstable_runWithPriority=function(B,k){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var I=M;M=B;try{return k()}finally{M=I}},l.unstable_scheduleCallback=function(B,k,I){var se=l.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?se+I:se):I=se,B){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=I+oe,B={id:v++,callback:k,priorityLevel:B,startTime:I,expirationTime:oe,sortIndex:-1},I>se?(B.sortIndex=I,i(y,B),c(g)===null&&B===c(y)&&(N?(Q(te),te=-1):N=!0,xe(ae,I-se))):(B.sortIndex=oe,i(g,B),q||Y||(q=!0,pe||(pe=!0,He()))),B},l.unstable_shouldYield=Ze,l.unstable_wrapCallback=function(B){var k=M;return function(){var I=M;M=k;try{return B.apply(this,arguments)}finally{M=I}}}})(Ec)),Ec}var mm;function Rv(){return mm||(mm=1,Sc.exports=Tv()),Sc.exports}var _c={exports:{}},tt={};/**
 * @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 ym;function Ov(){if(ym)return tt;ym=1;var l=Vc();function i(g){var y="https://react.dev/errors/"+g;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)y+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var o={d:{f:c,r:function(){throw Error(i(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},s=Symbol.for("react.portal");function d(g,y,v){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:S==null?null:""+S,children:g,containerInfo:y,implementation:v}}var h=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(g,y){if(g==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return tt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,tt.createPortal=function(g,y){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(i(299));return d(g,y,null,v)},tt.flushSync=function(g){var y=h.T,v=o.p;try{if(h.T=null,o.p=2,g)return g()}finally{h.T=y,o.p=v,o.d.f()}},tt.preconnect=function(g,y){typeof g=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,o.d.C(g,y))},tt.prefetchDNS=function(g){typeof g=="string"&&o.d.D(g)},tt.preinit=function(g,y){if(typeof g=="string"&&y&&typeof y.as=="string"){var v=y.as,S=p(v,y.crossOrigin),M=typeof y.integrity=="string"?y.integrity:void 0,Y=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;v==="style"?o.d.S(g,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:S,integrity:M,fetchPriority:Y}):v==="script"&&o.d.X(g,{crossOrigin:S,integrity:M,fetchPriority:Y,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},tt.preinitModule=function(g,y){if(typeof g=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var v=p(y.as,y.crossOrigin);o.d.M(g,{crossOrigin:v,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&o.d.M(g)},tt.preload=function(g,y){if(typeof g=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var v=y.as,S=p(v,y.crossOrigin);o.d.L(g,v,{crossOrigin:S,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},tt.preloadModule=function(g,y){if(typeof g=="string")if(y){var v=p(y.as,y.crossOrigin);o.d.m(g,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:v,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else o.d.m(g)},tt.requestFormReset=function(g){o.d.r(g)},tt.unstable_batchedUpdates=function(g,y){return g(y)},tt.useFormState=function(g,y,v){return h.H.useFormState(g,y,v)},tt.useFormStatus=function(){return h.H.useHostTransitionStatus()},tt.version="19.2.6",tt}var pm;function Cv(){if(pm)return _c.exports;pm=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),_c.exports=Ov(),_c.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 gm;function zv(){if(gm)return eu;gm=1;var l=Rv(),i=Vc(),c=Cv();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function h(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(d(e)!==e)throw Error(o(188))}function y(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(o(188));return t!==e?null:e}for(var n=e,a=t;;){var u=n.return;if(u===null)break;var r=u.alternate;if(r===null){if(a=u.return,a!==null){n=a;continue}break}if(u.child===r.child){for(r=u.child;r;){if(r===n)return g(u),e;if(r===a)return g(u),t;r=r.sibling}throw Error(o(188))}if(n.return!==a.return)n=u,a=r;else{for(var f=!1,m=u.child;m;){if(m===n){f=!0,n=u,a=r;break}if(m===a){f=!0,a=u,n=r;break}m=m.sibling}if(!f){for(m=r.child;m;){if(m===n){f=!0,n=r,a=u;break}if(m===a){f=!0,a=r,n=u;break}m=m.sibling}if(!f)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:t}function v(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=v(e),t!==null)return t;e=e.sibling}return null}var S=Object.assign,M=Symbol.for("react.element"),Y=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),Q=Symbol.for("react.consumer"),X=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),pe=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),Ce=Symbol.for("react.lazy"),Qe=Symbol.for("react.activity"),Ze=Symbol.for("react.memo_cache_sentinel"),Ye=Symbol.iterator;function He(e){return e===null||typeof e!="object"?null:(e=Ye&&e[Ye]||e["@@iterator"],typeof e=="function"?e:null)}var ht=Symbol.for("react.client.reference");function Ue(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ht?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case N:return"Fragment";case U:return"Profiler";case D:return"StrictMode";case ae:return"Suspense";case pe:return"SuspenseList";case Qe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case q:return"Portal";case X:return e.displayName||"Context";case Q:return(e._context.displayName||"Context")+".Consumer";case F:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case te:return t=e.displayName||null,t!==null?t:Ue(e.type)||"Memo";case Ce:t=e._payload,e=e._init;try{return Ue(e(t))}catch{}}return null}var xe=Array.isArray,B=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},se=[],oe=-1;function E(e){return{current:e}}function j(e){0>oe||(e.current=se[oe],se[oe]=null,oe--)}function G(e,t){oe++,se[oe]=e.current,e.current=t}var V=E(null),P=E(null),ie=E(null),ce=E(null);function le(e,t){switch(G(ie,t),G(P,e),G(V,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Nh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Nh(t),e=Uh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}j(V),G(V,e)}function _e(){j(V),j(P),j(ie)}function Vt(e){e.memoizedState!==null&&G(ce,e);var t=V.current,n=Uh(t,e.type);t!==n&&(G(P,e),G(V,n))}function Wt(e){P.current===e&&(j(V),j(P)),ce.current===e&&(j(ce),Fl._currentValue=I)}var ya,du;function mt(e){if(ya===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ya=t&&t[1]||"",du=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ya+e+du}var Ii=!1;function er(e,t){if(!e||Ii)return"";Ii=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(x){var z=x}Reflect.construct(e,[],H)}else{try{H.call()}catch(x){z=x}e.call(H.prototype)}}else{try{throw Error()}catch(x){z=x}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(x){if(x&&z&&typeof x.stack=="string")return[x.stack,z.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=a.DetermineComponentFrameRoot(),f=r[0],m=r[1];if(f&&m){var b=f.split(`
`),C=m.split(`
`);for(u=a=0;a<b.length&&!b[a].includes("DetermineComponentFrameRoot");)a++;for(;u<C.length&&!C[u].includes("DetermineComponentFrameRoot");)u++;if(a===b.length||u===C.length)for(a=b.length-1,u=C.length-1;1<=a&&0<=u&&b[a]!==C[u];)u--;for(;1<=a&&0<=u;a--,u--)if(b[a]!==C[u]){if(a!==1||u!==1)do if(a--,u--,0>u||b[a]!==C[u]){var w=`
`+b[a].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),w}while(1<=a&&0<=u);break}}}finally{Ii=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?mt(n):""}function Wy(e,t){switch(e.tag){case 26:case 27:case 5:return mt(e.type);case 16:return mt("Lazy");case 13:return e.child!==t&&t!==null?mt("Suspense Fallback"):mt("Suspense");case 19:return mt("SuspenseList");case 0:case 15:return er(e.type,!1);case 11:return er(e.type.render,!1);case 1:return er(e.type,!0);case 31:return mt("Activity");default:return""}}function os(e){try{var t="",n=null;do t+=Wy(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var tr=Object.prototype.hasOwnProperty,nr=l.unstable_scheduleCallback,ar=l.unstable_cancelCallback,Py=l.unstable_shouldYield,Iy=l.unstable_requestPaint,yt=l.unstable_now,ep=l.unstable_getCurrentPriorityLevel,cs=l.unstable_ImmediatePriority,ss=l.unstable_UserBlockingPriority,hu=l.unstable_NormalPriority,tp=l.unstable_LowPriority,fs=l.unstable_IdlePriority,np=l.log,ap=l.unstable_setDisableYieldValue,rl=null,pt=null;function bn(e){if(typeof np=="function"&&ap(e),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode(rl,e)}catch{}}var gt=Math.clz32?Math.clz32:ip,lp=Math.log,up=Math.LN2;function ip(e){return e>>>=0,e===0?32:31-(lp(e)/up|0)|0}var mu=256,yu=262144,pu=4194304;function Vn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function gu(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var u=0,r=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var m=a&134217727;return m!==0?(a=m&~r,a!==0?u=Vn(a):(f&=m,f!==0?u=Vn(f):n||(n=m&~e,n!==0&&(u=Vn(n))))):(m=a&~r,m!==0?u=Vn(m):f!==0?u=Vn(f):n||(n=a&~e,n!==0&&(u=Vn(n)))),u===0?0:t!==0&&t!==u&&(t&r)===0&&(r=u&-u,n=t&-t,r>=n||r===32&&(n&4194048)!==0)?t:u}function ol(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rp(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ds(){var e=pu;return pu<<=1,(pu&62914560)===0&&(pu=4194304),e}function lr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function cl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function op(e,t,n,a,u,r){var f=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var m=e.entanglements,b=e.expirationTimes,C=e.hiddenUpdates;for(n=f&~n;0<n;){var w=31-gt(n),H=1<<w;m[w]=0,b[w]=-1;var z=C[w];if(z!==null)for(C[w]=null,w=0;w<z.length;w++){var x=z[w];x!==null&&(x.lane&=-536870913)}n&=~H}a!==0&&hs(e,a,0),r!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=r&~(f&~t))}function hs(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-gt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function ms(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-gt(n),u=1<<a;u&t|e[a]&t&&(e[a]|=t),n&=~u}}function ys(e,t){var n=t&-t;return n=(n&42)!==0?1:ur(n),(n&(e.suspendedLanes|t))!==0?0:n}function ur(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ir(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ps(){var e=k.p;return e!==0?e:(e=window.event,e===void 0?32:nm(e.type))}function gs(e,t){var n=k.p;try{return k.p=e,t()}finally{k.p=n}}var Sn=Math.random().toString(36).slice(2),$e="__reactFiber$"+Sn,ut="__reactProps$"+Sn,pa="__reactContainer$"+Sn,rr="__reactEvents$"+Sn,cp="__reactListeners$"+Sn,sp="__reactHandles$"+Sn,vs="__reactResources$"+Sn,sl="__reactMarker$"+Sn;function or(e){delete e[$e],delete e[ut],delete e[rr],delete e[cp],delete e[sp]}function ga(e){var t=e[$e];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pa]||n[$e]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Yh(e);e!==null;){if(n=e[$e])return n;e=Yh(e)}return t}e=n,n=e.parentNode}return null}function va(e){if(e=e[$e]||e[pa]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function fl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function ba(e){var t=e[vs];return t||(t=e[vs]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[sl]=!0}var bs=new Set,Ss={};function Qn(e,t){Sa(e,t),Sa(e+"Capture",t)}function Sa(e,t){for(Ss[e]=t,e=0;e<t.length;e++)bs.add(t[e])}var fp=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]*$"),Es={},_s={};function dp(e){return tr.call(_s,e)?!0:tr.call(Es,e)?!1:fp.test(e)?_s[e]=!0:(Es[e]=!0,!1)}function vu(e,t,n){if(dp(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function bu(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Pt(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function Ot(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function As(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hp(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,r=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(f){n=""+f,r.call(this,f)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(f){n=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function cr(e){if(!e._valueTracker){var t=As(e)?"checked":"value";e._valueTracker=hp(e,t,""+e[t])}}function Ts(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=As(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Su(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var mp=/[\n"\\]/g;function Ct(e){return e.replace(mp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function sr(e,t,n,a,u,r,f,m){e.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.type=f:e.removeAttribute("type"),t!=null?f==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ot(t)):e.value!==""+Ot(t)&&(e.value=""+Ot(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?fr(e,f,Ot(t)):n!=null?fr(e,f,Ot(n)):a!=null&&e.removeAttribute("value"),u==null&&r!=null&&(e.defaultChecked=!!r),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+Ot(m):e.removeAttribute("name")}function Rs(e,t,n,a,u,r,f,m){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){cr(e);return}n=n!=null?""+Ot(n):"",t=t!=null?""+Ot(t):n,m||t===e.value||(e.value=t),e.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=m?e.checked:!!a,e.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.name=f),cr(e)}function fr(e,t,n){t==="number"&&Su(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Ea(e,t,n,a){if(e=e.options,t){t={};for(var u=0;u<n.length;u++)t["$"+n[u]]=!0;for(n=0;n<e.length;n++)u=t.hasOwnProperty("$"+e[n].value),e[n].selected!==u&&(e[n].selected=u),u&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Ot(n),t=null,u=0;u<e.length;u++){if(e[u].value===n){e[u].selected=!0,a&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function Os(e,t,n){if(t!=null&&(t=""+Ot(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Ot(n):""}function Cs(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(o(92));if(xe(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=Ot(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),cr(e)}function _a(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yp=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 zs(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||yp.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Ds(e,t,n){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var u in t)a=t[u],t.hasOwnProperty(u)&&n[u]!==a&&zs(e,u,a)}else for(var r in t)t.hasOwnProperty(r)&&zs(e,r,t[r])}function dr(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pp=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"]]),gp=/^[\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 Eu(e){return gp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function It(){}var hr=null;function mr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Aa=null,Ta=null;function xs(e){var t=va(e);if(t&&(e=t.stateNode)){var n=e[ut]||null;e:switch(e=t.stateNode,t.type){case"input":if(sr(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Ct(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var u=a[ut]||null;if(!u)throw Error(o(90));sr(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Ts(a)}break e;case"textarea":Os(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ea(e,!!n.multiple,t,!1)}}}var yr=!1;function Ms(e,t,n){if(yr)return e(t,n);yr=!0;try{var a=e(t);return a}finally{if(yr=!1,(Aa!==null||Ta!==null)&&(oi(),Aa&&(t=Aa,e=Ta,Ta=Aa=null,xs(t),e)))for(t=0;t<e.length;t++)xs(e[t])}}function dl(e,t){var n=e.stateNode;if(n===null)return null;var a=n[ut]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(o(231,t,typeof n));return n}var en=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pr=!1;if(en)try{var hl={};Object.defineProperty(hl,"passive",{get:function(){pr=!0}}),window.addEventListener("test",hl,hl),window.removeEventListener("test",hl,hl)}catch{pr=!1}var En=null,gr=null,_u=null;function Ns(){if(_u)return _u;var e,t=gr,n=t.length,a,u="value"in En?En.value:En.textContent,r=u.length;for(e=0;e<n&&t[e]===u[e];e++);var f=n-e;for(a=1;a<=f&&t[n-a]===u[r-a];a++);return _u=u.slice(e,1<a?1-a:void 0)}function Au(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Tu(){return!0}function Us(){return!1}function it(e){function t(n,a,u,r,f){this._reactName=n,this._targetInst=u,this.type=a,this.nativeEvent=r,this.target=f,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(n=e[m],this[m]=n?n(r):r[m]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Tu:Us,this.isPropagationStopped=Us,this}return S(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Tu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Tu)},persist:function(){},isPersistent:Tu}),t}var Zn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ru=it(Zn),ml=S({},Zn,{view:0,detail:0}),vp=it(ml),vr,br,yl,Ou=S({},ml,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Er,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yl&&(yl&&e.type==="mousemove"?(vr=e.screenX-yl.screenX,br=e.screenY-yl.screenY):br=vr=0,yl=e),vr)},movementY:function(e){return"movementY"in e?e.movementY:br}}),Bs=it(Ou),bp=S({},Ou,{dataTransfer:0}),Sp=it(bp),Ep=S({},ml,{relatedTarget:0}),Sr=it(Ep),_p=S({},Zn,{animationName:0,elapsedTime:0,pseudoElement:0}),Ap=it(_p),Tp=S({},Zn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rp=it(Tp),Op=S({},Zn,{data:0}),ws=it(Op),Cp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zp={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"},Dp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Dp[e])?!!t[e]:!1}function Er(){return xp}var Mp=S({},ml,{key:function(e){if(e.key){var t=Cp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Au(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?zp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Er,charCode:function(e){return e.type==="keypress"?Au(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Au(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Np=it(Mp),Up=S({},Ou,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ls=it(Up),Bp=S({},ml,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Er}),wp=it(Bp),Lp=S({},Zn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hp=it(Lp),jp=S({},Ou,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),qp=it(jp),Yp=S({},Zn,{newState:0,oldState:0}),Gp=it(Yp),Xp=[9,13,27,32],_r=en&&"CompositionEvent"in window,pl=null;en&&"documentMode"in document&&(pl=document.documentMode);var kp=en&&"TextEvent"in window&&!pl,Hs=en&&(!_r||pl&&8<pl&&11>=pl),js=" ",qs=!1;function Ys(e,t){switch(e){case"keyup":return Xp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ra=!1;function Vp(e,t){switch(e){case"compositionend":return Gs(t);case"keypress":return t.which!==32?null:(qs=!0,js);case"textInput":return e=t.data,e===js&&qs?null:e;default:return null}}function Qp(e,t){if(Ra)return e==="compositionend"||!_r&&Ys(e,t)?(e=Ns(),_u=gr=En=null,Ra=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Hs&&t.locale!=="ko"?null:t.data;default:return null}}var Zp={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 Xs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Zp[e.type]:t==="textarea"}function ks(e,t,n,a){Aa?Ta?Ta.push(a):Ta=[a]:Aa=a,t=yi(t,"onChange"),0<t.length&&(n=new Ru("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var gl=null,vl=null;function Kp(e){Oh(e,0)}function Cu(e){var t=fl(e);if(Ts(t))return e}function Vs(e,t){if(e==="change")return t}var Qs=!1;if(en){var Ar;if(en){var Tr="oninput"in document;if(!Tr){var Zs=document.createElement("div");Zs.setAttribute("oninput","return;"),Tr=typeof Zs.oninput=="function"}Ar=Tr}else Ar=!1;Qs=Ar&&(!document.documentMode||9<document.documentMode)}function Ks(){gl&&(gl.detachEvent("onpropertychange",Js),vl=gl=null)}function Js(e){if(e.propertyName==="value"&&Cu(vl)){var t=[];ks(t,vl,e,mr(e)),Ms(Kp,t)}}function Jp(e,t,n){e==="focusin"?(Ks(),gl=t,vl=n,gl.attachEvent("onpropertychange",Js)):e==="focusout"&&Ks()}function Fp(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Cu(vl)}function $p(e,t){if(e==="click")return Cu(t)}function Wp(e,t){if(e==="input"||e==="change")return Cu(t)}function Pp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vt=typeof Object.is=="function"?Object.is:Pp;function bl(e,t){if(vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var u=n[a];if(!tr.call(t,u)||!vt(e[u],t[u]))return!1}return!0}function Fs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $s(e,t){var n=Fs(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Fs(n)}}function Ws(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ws(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ps(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Su(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Su(e.document)}return t}function Rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ip=en&&"documentMode"in document&&11>=document.documentMode,Oa=null,Or=null,Sl=null,Cr=!1;function Is(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Cr||Oa==null||Oa!==Su(a)||(a=Oa,"selectionStart"in a&&Rr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Sl&&bl(Sl,a)||(Sl=a,a=yi(Or,"onSelect"),0<a.length&&(t=new Ru("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Oa)))}function Kn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ca={animationend:Kn("Animation","AnimationEnd"),animationiteration:Kn("Animation","AnimationIteration"),animationstart:Kn("Animation","AnimationStart"),transitionrun:Kn("Transition","TransitionRun"),transitionstart:Kn("Transition","TransitionStart"),transitioncancel:Kn("Transition","TransitionCancel"),transitionend:Kn("Transition","TransitionEnd")},zr={},ef={};en&&(ef=document.createElement("div").style,"AnimationEvent"in window||(delete Ca.animationend.animation,delete Ca.animationiteration.animation,delete Ca.animationstart.animation),"TransitionEvent"in window||delete Ca.transitionend.transition);function Jn(e){if(zr[e])return zr[e];if(!Ca[e])return e;var t=Ca[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ef)return zr[e]=t[n];return e}var tf=Jn("animationend"),nf=Jn("animationiteration"),af=Jn("animationstart"),eg=Jn("transitionrun"),tg=Jn("transitionstart"),ng=Jn("transitioncancel"),lf=Jn("transitionend"),uf=new Map,Dr="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(" ");Dr.push("scrollEnd");function Ht(e,t){uf.set(e,t),Qn(t,[e])}var zu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},zt=[],za=0,xr=0;function Du(){for(var e=za,t=xr=za=0;t<e;){var n=zt[t];zt[t++]=null;var a=zt[t];zt[t++]=null;var u=zt[t];zt[t++]=null;var r=zt[t];if(zt[t++]=null,a!==null&&u!==null){var f=a.pending;f===null?u.next=u:(u.next=f.next,f.next=u),a.pending=u}r!==0&&rf(n,u,r)}}function xu(e,t,n,a){zt[za++]=e,zt[za++]=t,zt[za++]=n,zt[za++]=a,xr|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Mr(e,t,n,a){return xu(e,t,n,a),Mu(e)}function Fn(e,t){return xu(e,null,null,t),Mu(e)}function rf(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var u=!1,r=e.return;r!==null;)r.childLanes|=n,a=r.alternate,a!==null&&(a.childLanes|=n),r.tag===22&&(e=r.stateNode,e===null||e._visibility&1||(u=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,u&&t!==null&&(u=31-gt(n),e=r.hiddenUpdates,a=e[u],a===null?e[u]=[t]:a.push(t),t.lane=n|536870912),r):null}function Mu(e){if(50<Xl)throw Xl=0,Go=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Da={};function ag(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bt(e,t,n,a){return new ag(e,t,n,a)}function Nr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tn(e,t){var n=e.alternate;return n===null?(n=bt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function of(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Nu(e,t,n,a,u,r){var f=0;if(a=e,typeof e=="function")Nr(e)&&(f=1);else if(typeof e=="string")f=ov(e,n,V.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Qe:return e=bt(31,n,t,u),e.elementType=Qe,e.lanes=r,e;case N:return $n(n.children,u,r,t);case D:f=8,u|=24;break;case U:return e=bt(12,n,t,u|2),e.elementType=U,e.lanes=r,e;case ae:return e=bt(13,n,t,u),e.elementType=ae,e.lanes=r,e;case pe:return e=bt(19,n,t,u),e.elementType=pe,e.lanes=r,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case X:f=10;break e;case Q:f=9;break e;case F:f=11;break e;case te:f=14;break e;case Ce:f=16,a=null;break e}f=29,n=Error(o(130,e===null?"null":typeof e,"")),a=null}return t=bt(f,n,t,u),t.elementType=e,t.type=a,t.lanes=r,t}function $n(e,t,n,a){return e=bt(7,e,a,t),e.lanes=n,e}function Ur(e,t,n){return e=bt(6,e,null,t),e.lanes=n,e}function cf(e){var t=bt(18,null,null,0);return t.stateNode=e,t}function Br(e,t,n){return t=bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var sf=new WeakMap;function Dt(e,t){if(typeof e=="object"&&e!==null){var n=sf.get(e);return n!==void 0?n:(t={value:e,source:t,stack:os(t)},sf.set(e,t),t)}return{value:e,source:t,stack:os(t)}}var xa=[],Ma=0,Uu=null,El=0,xt=[],Mt=0,_n=null,Qt=1,Zt="";function nn(e,t){xa[Ma++]=El,xa[Ma++]=Uu,Uu=e,El=t}function ff(e,t,n){xt[Mt++]=Qt,xt[Mt++]=Zt,xt[Mt++]=_n,_n=e;var a=Qt;e=Zt;var u=32-gt(a)-1;a&=~(1<<u),n+=1;var r=32-gt(t)+u;if(30<r){var f=u-u%5;r=(a&(1<<f)-1).toString(32),a>>=f,u-=f,Qt=1<<32-gt(t)+u|n<<u|a,Zt=r+e}else Qt=1<<r|n<<u|a,Zt=e}function wr(e){e.return!==null&&(nn(e,1),ff(e,1,0))}function Lr(e){for(;e===Uu;)Uu=xa[--Ma],xa[Ma]=null,El=xa[--Ma],xa[Ma]=null;for(;e===_n;)_n=xt[--Mt],xt[Mt]=null,Zt=xt[--Mt],xt[Mt]=null,Qt=xt[--Mt],xt[Mt]=null}function df(e,t){xt[Mt++]=Qt,xt[Mt++]=Zt,xt[Mt++]=_n,Qt=t.id,Zt=t.overflow,_n=e}var We=null,ze=null,ye=!1,An=null,Nt=!1,Hr=Error(o(519));function Tn(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw _l(Dt(t,e)),Hr}function hf(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[$e]=e,t[ut]=a,n){case"dialog":de("cancel",t),de("close",t);break;case"iframe":case"object":case"embed":de("load",t);break;case"video":case"audio":for(n=0;n<Vl.length;n++)de(Vl[n],t);break;case"source":de("error",t);break;case"img":case"image":case"link":de("error",t),de("load",t);break;case"details":de("toggle",t);break;case"input":de("invalid",t),Rs(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":de("invalid",t);break;case"textarea":de("invalid",t),Cs(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||xh(t.textContent,n)?(a.popover!=null&&(de("beforetoggle",t),de("toggle",t)),a.onScroll!=null&&de("scroll",t),a.onScrollEnd!=null&&de("scrollend",t),a.onClick!=null&&(t.onclick=It),t=!0):t=!1,t||Tn(e,!0)}function mf(e){for(We=e.return;We;)switch(We.tag){case 5:case 31:case 13:Nt=!1;return;case 27:case 3:Nt=!0;return;default:We=We.return}}function Na(e){if(e!==We)return!1;if(!ye)return mf(e),ye=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||nc(e.type,e.memoizedProps)),n=!n),n&&ze&&Tn(e),mf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));ze=qh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));ze=qh(e)}else t===27?(t=ze,jn(e.type)?(e=rc,rc=null,ze=e):ze=t):ze=We?Bt(e.stateNode.nextSibling):null;return!0}function Wn(){ze=We=null,ye=!1}function jr(){var e=An;return e!==null&&(st===null?st=e:st.push.apply(st,e),An=null),e}function _l(e){An===null?An=[e]:An.push(e)}var qr=E(null),Pn=null,an=null;function Rn(e,t,n){G(qr,t._currentValue),t._currentValue=n}function ln(e){e._currentValue=qr.current,j(qr)}function Yr(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function Gr(e,t,n,a){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var r=u.dependencies;if(r!==null){var f=u.child;r=r.firstContext;e:for(;r!==null;){var m=r;r=u;for(var b=0;b<t.length;b++)if(m.context===t[b]){r.lanes|=n,m=r.alternate,m!==null&&(m.lanes|=n),Yr(r.return,n,e),a||(f=null);break e}r=m.next}}else if(u.tag===18){if(f=u.return,f===null)throw Error(o(341));f.lanes|=n,r=f.alternate,r!==null&&(r.lanes|=n),Yr(f,n,e),f=null}else f=u.child;if(f!==null)f.return=u;else for(f=u;f!==null;){if(f===e){f=null;break}if(u=f.sibling,u!==null){u.return=f.return,f=u;break}f=f.return}u=f}}function Ua(e,t,n,a){e=null;for(var u=t,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 f=u.alternate;if(f===null)throw Error(o(387));if(f=f.memoizedProps,f!==null){var m=u.type;vt(u.pendingProps.value,f.value)||(e!==null?e.push(m):e=[m])}}else if(u===ce.current){if(f=u.alternate,f===null)throw Error(o(387));f.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(Fl):e=[Fl])}u=u.return}e!==null&&Gr(t,e,n,a),t.flags|=262144}function Bu(e){for(e=e.firstContext;e!==null;){if(!vt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function In(e){Pn=e,an=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Pe(e){return yf(Pn,e)}function wu(e,t){return Pn===null&&In(e),yf(e,t)}function yf(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},an===null){if(e===null)throw Error(o(308));an=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else an=an.next=t;return n}var lg=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ug=l.unstable_scheduleCallback,ig=l.unstable_NormalPriority,Ge={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xr(){return{controller:new lg,data:new Map,refCount:0}}function Al(e){e.refCount--,e.refCount===0&&ug(ig,function(){e.controller.abort()})}var Tl=null,kr=0,Ba=0,wa=null;function rg(e,t){if(Tl===null){var n=Tl=[];kr=0,Ba=Ko(),wa={status:"pending",value:void 0,then:function(a){n.push(a)}}}return kr++,t.then(pf,pf),t}function pf(){if(--kr===0&&Tl!==null){wa!==null&&(wa.status="fulfilled");var e=Tl;Tl=null,Ba=0,wa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function og(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var u=0;u<n.length;u++)(0,n[u])(t)},function(u){for(a.status="rejected",a.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),a}var gf=B.S;B.S=function(e,t){eh=yt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&rg(e,t),gf!==null&&gf(e,t)};var ea=E(null);function Vr(){var e=ea.current;return e!==null?e:Oe.pooledCache}function Lu(e,t){t===null?G(ea,ea.current):G(ea,t.pool)}function vf(){var e=Vr();return e===null?null:{parent:Ge._currentValue,pool:e}}var La=Error(o(460)),Qr=Error(o(474)),Hu=Error(o(542)),ju={then:function(){}};function bf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Sf(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(It,It),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_f(e),e;default:if(typeof t.status=="string")t.then(It,It);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=a}},function(a){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,_f(e),e}throw na=t,La}}function ta(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(na=n,La):n}}var na=null;function Ef(){if(na===null)throw Error(o(459));var e=na;return na=null,e}function _f(e){if(e===La||e===Hu)throw Error(o(483))}var Ha=null,Rl=0;function qu(e){var t=Rl;return Rl+=1,Ha===null&&(Ha=[]),Sf(Ha,e,t)}function Ol(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Yu(e,t){throw t.$$typeof===M?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Af(e){function t(A,_){if(e){var O=A.deletions;O===null?(A.deletions=[_],A.flags|=16):O.push(_)}}function n(A,_){if(!e)return null;for(;_!==null;)t(A,_),_=_.sibling;return null}function a(A){for(var _=new Map;A!==null;)A.key!==null?_.set(A.key,A):_.set(A.index,A),A=A.sibling;return _}function u(A,_){return A=tn(A,_),A.index=0,A.sibling=null,A}function r(A,_,O){return A.index=O,e?(O=A.alternate,O!==null?(O=O.index,O<_?(A.flags|=67108866,_):O):(A.flags|=67108866,_)):(A.flags|=1048576,_)}function f(A){return e&&A.alternate===null&&(A.flags|=67108866),A}function m(A,_,O,L){return _===null||_.tag!==6?(_=Ur(O,A.mode,L),_.return=A,_):(_=u(_,O),_.return=A,_)}function b(A,_,O,L){var $=O.type;return $===N?w(A,_,O.props.children,L,O.key):_!==null&&(_.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===Ce&&ta($)===_.type)?(_=u(_,O.props),Ol(_,O),_.return=A,_):(_=Nu(O.type,O.key,O.props,null,A.mode,L),Ol(_,O),_.return=A,_)}function C(A,_,O,L){return _===null||_.tag!==4||_.stateNode.containerInfo!==O.containerInfo||_.stateNode.implementation!==O.implementation?(_=Br(O,A.mode,L),_.return=A,_):(_=u(_,O.children||[]),_.return=A,_)}function w(A,_,O,L,$){return _===null||_.tag!==7?(_=$n(O,A.mode,L,$),_.return=A,_):(_=u(_,O),_.return=A,_)}function H(A,_,O){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=Ur(""+_,A.mode,O),_.return=A,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Y:return O=Nu(_.type,_.key,_.props,null,A.mode,O),Ol(O,_),O.return=A,O;case q:return _=Br(_,A.mode,O),_.return=A,_;case Ce:return _=ta(_),H(A,_,O)}if(xe(_)||He(_))return _=$n(_,A.mode,O,null),_.return=A,_;if(typeof _.then=="function")return H(A,qu(_),O);if(_.$$typeof===X)return H(A,wu(A,_),O);Yu(A,_)}return null}function z(A,_,O,L){var $=_!==null?_.key:null;if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return $!==null?null:m(A,_,""+O,L);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case Y:return O.key===$?b(A,_,O,L):null;case q:return O.key===$?C(A,_,O,L):null;case Ce:return O=ta(O),z(A,_,O,L)}if(xe(O)||He(O))return $!==null?null:w(A,_,O,L,null);if(typeof O.then=="function")return z(A,_,qu(O),L);if(O.$$typeof===X)return z(A,_,wu(A,O),L);Yu(A,O)}return null}function x(A,_,O,L,$){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return A=A.get(O)||null,m(_,A,""+L,$);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case Y:return A=A.get(L.key===null?O:L.key)||null,b(_,A,L,$);case q:return A=A.get(L.key===null?O:L.key)||null,C(_,A,L,$);case Ce:return L=ta(L),x(A,_,O,L,$)}if(xe(L)||He(L))return A=A.get(O)||null,w(_,A,L,$,null);if(typeof L.then=="function")return x(A,_,O,qu(L),$);if(L.$$typeof===X)return x(A,_,O,wu(_,L),$);Yu(_,L)}return null}function Z(A,_,O,L){for(var $=null,ge=null,J=_,re=_=0,me=null;J!==null&&re<O.length;re++){J.index>re?(me=J,J=null):me=J.sibling;var ve=z(A,J,O[re],L);if(ve===null){J===null&&(J=me);break}e&&J&&ve.alternate===null&&t(A,J),_=r(ve,_,re),ge===null?$=ve:ge.sibling=ve,ge=ve,J=me}if(re===O.length)return n(A,J),ye&&nn(A,re),$;if(J===null){for(;re<O.length;re++)J=H(A,O[re],L),J!==null&&(_=r(J,_,re),ge===null?$=J:ge.sibling=J,ge=J);return ye&&nn(A,re),$}for(J=a(J);re<O.length;re++)me=x(J,A,re,O[re],L),me!==null&&(e&&me.alternate!==null&&J.delete(me.key===null?re:me.key),_=r(me,_,re),ge===null?$=me:ge.sibling=me,ge=me);return e&&J.forEach(function(kn){return t(A,kn)}),ye&&nn(A,re),$}function ee(A,_,O,L){if(O==null)throw Error(o(151));for(var $=null,ge=null,J=_,re=_=0,me=null,ve=O.next();J!==null&&!ve.done;re++,ve=O.next()){J.index>re?(me=J,J=null):me=J.sibling;var kn=z(A,J,ve.value,L);if(kn===null){J===null&&(J=me);break}e&&J&&kn.alternate===null&&t(A,J),_=r(kn,_,re),ge===null?$=kn:ge.sibling=kn,ge=kn,J=me}if(ve.done)return n(A,J),ye&&nn(A,re),$;if(J===null){for(;!ve.done;re++,ve=O.next())ve=H(A,ve.value,L),ve!==null&&(_=r(ve,_,re),ge===null?$=ve:ge.sibling=ve,ge=ve);return ye&&nn(A,re),$}for(J=a(J);!ve.done;re++,ve=O.next())ve=x(J,A,re,ve.value,L),ve!==null&&(e&&ve.alternate!==null&&J.delete(ve.key===null?re:ve.key),_=r(ve,_,re),ge===null?$=ve:ge.sibling=ve,ge=ve);return e&&J.forEach(function(bv){return t(A,bv)}),ye&&nn(A,re),$}function Re(A,_,O,L){if(typeof O=="object"&&O!==null&&O.type===N&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case Y:e:{for(var $=O.key;_!==null;){if(_.key===$){if($=O.type,$===N){if(_.tag===7){n(A,_.sibling),L=u(_,O.props.children),L.return=A,A=L;break e}}else if(_.elementType===$||typeof $=="object"&&$!==null&&$.$$typeof===Ce&&ta($)===_.type){n(A,_.sibling),L=u(_,O.props),Ol(L,O),L.return=A,A=L;break e}n(A,_);break}else t(A,_);_=_.sibling}O.type===N?(L=$n(O.props.children,A.mode,L,O.key),L.return=A,A=L):(L=Nu(O.type,O.key,O.props,null,A.mode,L),Ol(L,O),L.return=A,A=L)}return f(A);case q:e:{for($=O.key;_!==null;){if(_.key===$)if(_.tag===4&&_.stateNode.containerInfo===O.containerInfo&&_.stateNode.implementation===O.implementation){n(A,_.sibling),L=u(_,O.children||[]),L.return=A,A=L;break e}else{n(A,_);break}else t(A,_);_=_.sibling}L=Br(O,A.mode,L),L.return=A,A=L}return f(A);case Ce:return O=ta(O),Re(A,_,O,L)}if(xe(O))return Z(A,_,O,L);if(He(O)){if($=He(O),typeof $!="function")throw Error(o(150));return O=$.call(O),ee(A,_,O,L)}if(typeof O.then=="function")return Re(A,_,qu(O),L);if(O.$$typeof===X)return Re(A,_,wu(A,O),L);Yu(A,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,_!==null&&_.tag===6?(n(A,_.sibling),L=u(_,O),L.return=A,A=L):(n(A,_),L=Ur(O,A.mode,L),L.return=A,A=L),f(A)):n(A,_)}return function(A,_,O,L){try{Rl=0;var $=Re(A,_,O,L);return Ha=null,$}catch(J){if(J===La||J===Hu)throw J;var ge=bt(29,J,null,A.mode);return ge.lanes=L,ge.return=A,ge}finally{}}}var aa=Af(!0),Tf=Af(!1),On=!1;function Zr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Kr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Cn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function zn(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(be&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=Mu(e),rf(e,null,n),t}return xu(e,a,t,n),Mu(e)}function Cl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ms(e,n)}}function Jr(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var u=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?u=r=f:r=r.next=f,n=n.next}while(n!==null);r===null?u=r=t:r=r.next=t}else u=r=t;n={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:r,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Fr=!1;function zl(){if(Fr){var e=wa;if(e!==null)throw e}}function Dl(e,t,n,a){Fr=!1;var u=e.updateQueue;On=!1;var r=u.firstBaseUpdate,f=u.lastBaseUpdate,m=u.shared.pending;if(m!==null){u.shared.pending=null;var b=m,C=b.next;b.next=null,f===null?r=C:f.next=C,f=b;var w=e.alternate;w!==null&&(w=w.updateQueue,m=w.lastBaseUpdate,m!==f&&(m===null?w.firstBaseUpdate=C:m.next=C,w.lastBaseUpdate=b))}if(r!==null){var H=u.baseState;f=0,w=C=b=null,m=r;do{var z=m.lane&-536870913,x=z!==m.lane;if(x?(he&z)===z:(a&z)===z){z!==0&&z===Ba&&(Fr=!0),w!==null&&(w=w.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var Z=e,ee=m;z=t;var Re=n;switch(ee.tag){case 1:if(Z=ee.payload,typeof Z=="function"){H=Z.call(Re,H,z);break e}H=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=ee.payload,z=typeof Z=="function"?Z.call(Re,H,z):Z,z==null)break e;H=S({},H,z);break e;case 2:On=!0}}z=m.callback,z!==null&&(e.flags|=64,x&&(e.flags|=8192),x=u.callbacks,x===null?u.callbacks=[z]:x.push(z))}else x={lane:z,tag:m.tag,payload:m.payload,callback:m.callback,next:null},w===null?(C=w=x,b=H):w=w.next=x,f|=z;if(m=m.next,m===null){if(m=u.shared.pending,m===null)break;x=m,m=x.next,x.next=null,u.lastBaseUpdate=x,u.shared.pending=null}}while(!0);w===null&&(b=H),u.baseState=b,u.firstBaseUpdate=C,u.lastBaseUpdate=w,r===null&&(u.shared.lanes=0),Un|=f,e.lanes=f,e.memoizedState=H}}function Rf(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function Of(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Rf(n[e],t)}var ja=E(null),Gu=E(0);function Cf(e,t){e=mn,G(Gu,e),G(ja,t),mn=e|t.baseLanes}function $r(){G(Gu,mn),G(ja,ja.current)}function Wr(){mn=Gu.current,j(ja),j(Gu)}var St=E(null),Ut=null;function Dn(e){var t=e.alternate;G(je,je.current&1),G(St,e),Ut===null&&(t===null||ja.current!==null||t.memoizedState!==null)&&(Ut=e)}function Pr(e){G(je,je.current),G(St,e),Ut===null&&(Ut=e)}function zf(e){e.tag===22?(G(je,je.current),G(St,e),Ut===null&&(Ut=e)):xn()}function xn(){G(je,je.current),G(St,St.current)}function Et(e){j(St),Ut===e&&(Ut=null),j(je)}var je=E(0);function Xu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||uc(n)||ic(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var un=0,ue=null,Ae=null,Xe=null,ku=!1,qa=!1,la=!1,Vu=0,xl=0,Ya=null,cg=0;function Be(){throw Error(o(321))}function Ir(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vt(e[n],t[n]))return!1;return!0}function eo(e,t,n,a,u,r){return un=r,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=e===null||e.memoizedState===null?fd:po,la=!1,r=n(a,u),la=!1,qa&&(r=xf(t,n,a,u)),Df(e),r}function Df(e){B.H=Ul;var t=Ae!==null&&Ae.next!==null;if(un=0,Xe=Ae=ue=null,ku=!1,xl=0,Ya=null,t)throw Error(o(300));e===null||ke||(e=e.dependencies,e!==null&&Bu(e)&&(ke=!0))}function xf(e,t,n,a){ue=e;var u=0;do{if(qa&&(Ya=null),xl=0,qa=!1,25<=u)throw Error(o(301));if(u+=1,Xe=Ae=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}B.H=dd,r=t(n,a)}while(qa);return r}function sg(){var e=B.H,t=e.useState()[0];return t=typeof t.then=="function"?Ml(t):t,e=e.useState()[0],(Ae!==null?Ae.memoizedState:null)!==e&&(ue.flags|=1024),t}function to(){var e=Vu!==0;return Vu=0,e}function no(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ao(e){if(ku){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ku=!1}un=0,Xe=Ae=ue=null,qa=!1,xl=Vu=0,Ya=null}function at(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?ue.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function qe(){if(Ae===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=Ae.next;var t=Xe===null?ue.memoizedState:Xe.next;if(t!==null)Xe=t,Ae=e;else{if(e===null)throw ue.alternate===null?Error(o(467)):Error(o(310));Ae=e,e={memoizedState:Ae.memoizedState,baseState:Ae.baseState,baseQueue:Ae.baseQueue,queue:Ae.queue,next:null},Xe===null?ue.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function Qu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ml(e){var t=xl;return xl+=1,Ya===null&&(Ya=[]),e=Sf(Ya,e,t),t=ue,(Xe===null?t.memoizedState:Xe.next)===null&&(t=t.alternate,B.H=t===null||t.memoizedState===null?fd:po),e}function Zu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ml(e);if(e.$$typeof===X)return Pe(e)}throw Error(o(438,String(e)))}function lo(e){var t=null,n=ue.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=ue.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Qu(),ue.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=Ze;return t.index++,n}function rn(e,t){return typeof t=="function"?t(e):t}function Ku(e){var t=qe();return uo(t,Ae,e)}function uo(e,t,n){var a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=n;var u=e.baseQueue,r=a.pending;if(r!==null){if(u!==null){var f=u.next;u.next=r.next,r.next=f}t.baseQueue=u=r,a.pending=null}if(r=e.baseState,u===null)e.memoizedState=r;else{t=u.next;var m=f=null,b=null,C=t,w=!1;do{var H=C.lane&-536870913;if(H!==C.lane?(he&H)===H:(un&H)===H){var z=C.revertLane;if(z===0)b!==null&&(b=b.next={lane:0,revertLane:0,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),H===Ba&&(w=!0);else if((un&z)===z){C=C.next,z===Ba&&(w=!0);continue}else H={lane:0,revertLane:C.revertLane,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},b===null?(m=b=H,f=r):b=b.next=H,ue.lanes|=z,Un|=z;H=C.action,la&&n(r,H),r=C.hasEagerState?C.eagerState:n(r,H)}else z={lane:H,revertLane:C.revertLane,gesture:C.gesture,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},b===null?(m=b=z,f=r):b=b.next=z,ue.lanes|=H,Un|=H;C=C.next}while(C!==null&&C!==t);if(b===null?f=r:b.next=m,!vt(r,e.memoizedState)&&(ke=!0,w&&(n=wa,n!==null)))throw n;e.memoizedState=r,e.baseState=f,e.baseQueue=b,a.lastRenderedState=r}return u===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function io(e){var t=qe(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var a=n.dispatch,u=n.pending,r=t.memoizedState;if(u!==null){n.pending=null;var f=u=u.next;do r=e(r,f.action),f=f.next;while(f!==u);vt(r,t.memoizedState)||(ke=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),n.lastRenderedState=r}return[r,a]}function Mf(e,t,n){var a=ue,u=qe(),r=ye;if(r){if(n===void 0)throw Error(o(407));n=n()}else n=t();var f=!vt((Ae||u).memoizedState,n);if(f&&(u.memoizedState=n,ke=!0),u=u.queue,co(Bf.bind(null,a,u,e),[e]),u.getSnapshot!==t||f||Xe!==null&&Xe.memoizedState.tag&1){if(a.flags|=2048,Ga(9,{destroy:void 0},Uf.bind(null,a,u,n,t),null),Oe===null)throw Error(o(349));r||(un&127)!==0||Nf(a,t,n)}return n}function Nf(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ue.updateQueue,t===null?(t=Qu(),ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Uf(e,t,n,a){t.value=n,t.getSnapshot=a,wf(t)&&Lf(e)}function Bf(e,t,n){return n(function(){wf(t)&&Lf(e)})}function wf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vt(e,n)}catch{return!0}}function Lf(e){var t=Fn(e,2);t!==null&&ft(t,e,2)}function ro(e){var t=at();if(typeof e=="function"){var n=e;if(e=n(),la){bn(!0);try{n()}finally{bn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rn,lastRenderedState:e},t}function Hf(e,t,n,a){return e.baseState=n,uo(e,Ae,typeof a=="function"?a:rn)}function fg(e,t,n,a,u){if($u(e))throw Error(o(485));if(e=t.action,e!==null){var r={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){r.listeners.push(f)}};B.T!==null?n(!0):r.isTransition=!1,a(r),n=t.pending,n===null?(r.next=t.pending=r,jf(t,r)):(r.next=n.next,t.pending=n.next=r)}}function jf(e,t){var n=t.action,a=t.payload,u=e.state;if(t.isTransition){var r=B.T,f={};B.T=f;try{var m=n(u,a),b=B.S;b!==null&&b(f,m),qf(e,t,m)}catch(C){oo(e,t,C)}finally{r!==null&&f.types!==null&&(r.types=f.types),B.T=r}}else try{r=n(u,a),qf(e,t,r)}catch(C){oo(e,t,C)}}function qf(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Yf(e,t,a)},function(a){return oo(e,t,a)}):Yf(e,t,n)}function Yf(e,t,n){t.status="fulfilled",t.value=n,Gf(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,jf(e,n)))}function oo(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,Gf(t),t=t.next;while(t!==a)}e.action=null}function Gf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Xf(e,t){return t}function kf(e,t){if(ye){var n=Oe.formState;if(n!==null){e:{var a=ue;if(ye){if(ze){t:{for(var u=ze,r=Nt;u.nodeType!==8;){if(!r){u=null;break t}if(u=Bt(u.nextSibling),u===null){u=null;break t}}r=u.data,u=r==="F!"||r==="F"?u:null}if(u){ze=Bt(u.nextSibling),a=u.data==="F!";break e}}Tn(a)}a=!1}a&&(t=n[0])}}return n=at(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xf,lastRenderedState:t},n.queue=a,n=od.bind(null,ue,a),a.dispatch=n,a=ro(!1),r=yo.bind(null,ue,!1,a.queue),a=at(),u={state:t,dispatch:null,action:e,pending:null},a.queue=u,n=fg.bind(null,ue,u,r,n),u.dispatch=n,a.memoizedState=e,[t,n,!1]}function Vf(e){var t=qe();return Qf(t,Ae,e)}function Qf(e,t,n){if(t=uo(e,t,Xf)[0],e=Ku(rn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Ml(t)}catch(f){throw f===La?Hu:f}else a=t;t=qe();var u=t.queue,r=u.dispatch;return n!==t.memoizedState&&(ue.flags|=2048,Ga(9,{destroy:void 0},dg.bind(null,u,n),null)),[a,r,e]}function dg(e,t){e.action=t}function Zf(e){var t=qe(),n=Ae;if(n!==null)return Qf(t,n,e);qe(),t=t.memoizedState,n=qe();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Ga(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=ue.updateQueue,t===null&&(t=Qu(),ue.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Kf(){return qe().memoizedState}function Ju(e,t,n,a){var u=at();ue.flags|=e,u.memoizedState=Ga(1|t,{destroy:void 0},n,a===void 0?null:a)}function Fu(e,t,n,a){var u=qe();a=a===void 0?null:a;var r=u.memoizedState.inst;Ae!==null&&a!==null&&Ir(a,Ae.memoizedState.deps)?u.memoizedState=Ga(t,r,n,a):(ue.flags|=e,u.memoizedState=Ga(1|t,r,n,a))}function Jf(e,t){Ju(8390656,8,e,t)}function co(e,t){Fu(2048,8,e,t)}function hg(e){ue.flags|=4;var t=ue.updateQueue;if(t===null)t=Qu(),ue.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Ff(e){var t=qe().memoizedState;return hg({ref:t,nextImpl:e}),function(){if((be&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function $f(e,t){return Fu(4,2,e,t)}function Wf(e,t){return Fu(4,4,e,t)}function Pf(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function If(e,t,n){n=n!=null?n.concat([e]):null,Fu(4,4,Pf.bind(null,t,e),n)}function so(){}function ed(e,t){var n=qe();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&Ir(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function td(e,t){var n=qe();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Ir(t,a[1]))return a[0];if(a=e(),la){bn(!0);try{e()}finally{bn(!1)}}return n.memoizedState=[a,t],a}function fo(e,t,n){return n===void 0||(un&1073741824)!==0&&(he&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=nh(),ue.lanes|=e,Un|=e,n)}function nd(e,t,n,a){return vt(n,t)?n:ja.current!==null?(e=fo(e,n,a),vt(e,t)||(ke=!0),e):(un&42)===0||(un&1073741824)!==0&&(he&261930)===0?(ke=!0,e.memoizedState=n):(e=nh(),ue.lanes|=e,Un|=e,t)}function ad(e,t,n,a,u){var r=k.p;k.p=r!==0&&8>r?r:8;var f=B.T,m={};B.T=m,yo(e,!1,t,n);try{var b=u(),C=B.S;if(C!==null&&C(m,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var w=og(b,a);Nl(e,t,w,Tt(e))}else Nl(e,t,a,Tt(e))}catch(H){Nl(e,t,{then:function(){},status:"rejected",reason:H},Tt())}finally{k.p=r,f!==null&&m.types!==null&&(f.types=m.types),B.T=f}}function mg(){}function ho(e,t,n,a){if(e.tag!==5)throw Error(o(476));var u=ld(e).queue;ad(e,u,t,I,n===null?mg:function(){return ud(e),n(a)})}function ld(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rn,lastRenderedState:I},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:rn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ud(e){var t=ld(e);t.next===null&&(t=e.alternate.memoizedState),Nl(e,t.next.queue,{},Tt())}function mo(){return Pe(Fl)}function id(){return qe().memoizedState}function rd(){return qe().memoizedState}function yg(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Tt();e=Cn(n);var a=zn(t,e,n);a!==null&&(ft(a,t,n),Cl(a,t,n)),t={cache:Xr()},e.payload=t;return}t=t.return}}function pg(e,t,n){var a=Tt();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},$u(e)?cd(t,n):(n=Mr(e,t,n,a),n!==null&&(ft(n,e,a),sd(n,t,a)))}function od(e,t,n){var a=Tt();Nl(e,t,n,a)}function Nl(e,t,n,a){var u={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if($u(e))cd(t,u);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var f=t.lastRenderedState,m=r(f,n);if(u.hasEagerState=!0,u.eagerState=m,vt(m,f))return xu(e,t,u,0),Oe===null&&Du(),!1}catch{}finally{}if(n=Mr(e,t,u,a),n!==null)return ft(n,e,a),sd(n,t,a),!0}return!1}function yo(e,t,n,a){if(a={lane:2,revertLane:Ko(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},$u(e)){if(t)throw Error(o(479))}else t=Mr(e,n,a,2),t!==null&&ft(t,e,2)}function $u(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function cd(e,t){qa=ku=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sd(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ms(e,n)}}var Ul={readContext:Pe,use:Zu,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useLayoutEffect:Be,useInsertionEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useSyncExternalStore:Be,useId:Be,useHostTransitionStatus:Be,useFormState:Be,useActionState:Be,useOptimistic:Be,useMemoCache:Be,useCacheRefresh:Be};Ul.useEffectEvent=Be;var fd={readContext:Pe,use:Zu,useCallback:function(e,t){return at().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:Jf,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Ju(4194308,4,Pf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ju(4194308,4,e,t)},useInsertionEffect:function(e,t){Ju(4,2,e,t)},useMemo:function(e,t){var n=at();t=t===void 0?null:t;var a=e();if(la){bn(!0);try{e()}finally{bn(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=at();if(n!==void 0){var u=n(t);if(la){bn(!0);try{n(t)}finally{bn(!1)}}}else u=t;return a.memoizedState=a.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},a.queue=e,e=e.dispatch=pg.bind(null,ue,e),[a.memoizedState,e]},useRef:function(e){var t=at();return e={current:e},t.memoizedState=e},useState:function(e){e=ro(e);var t=e.queue,n=od.bind(null,ue,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:so,useDeferredValue:function(e,t){var n=at();return fo(n,e,t)},useTransition:function(){var e=ro(!1);return e=ad.bind(null,ue,e.queue,!0,!1),at().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=ue,u=at();if(ye){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),Oe===null)throw Error(o(349));(he&127)!==0||Nf(a,t,n)}u.memoizedState=n;var r={value:n,getSnapshot:t};return u.queue=r,Jf(Bf.bind(null,a,r,e),[e]),a.flags|=2048,Ga(9,{destroy:void 0},Uf.bind(null,a,r,n,t),null),n},useId:function(){var e=at(),t=Oe.identifierPrefix;if(ye){var n=Zt,a=Qt;n=(a&~(1<<32-gt(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Vu++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=cg++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:mo,useFormState:kf,useActionState:kf,useOptimistic:function(e){var t=at();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=yo.bind(null,ue,!0,n),n.dispatch=t,[e,t]},useMemoCache:lo,useCacheRefresh:function(){return at().memoizedState=yg.bind(null,ue)},useEffectEvent:function(e){var t=at(),n={impl:e};return t.memoizedState=n,function(){if((be&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},po={readContext:Pe,use:Zu,useCallback:ed,useContext:Pe,useEffect:co,useImperativeHandle:If,useInsertionEffect:$f,useLayoutEffect:Wf,useMemo:td,useReducer:Ku,useRef:Kf,useState:function(){return Ku(rn)},useDebugValue:so,useDeferredValue:function(e,t){var n=qe();return nd(n,Ae.memoizedState,e,t)},useTransition:function(){var e=Ku(rn)[0],t=qe().memoizedState;return[typeof e=="boolean"?e:Ml(e),t]},useSyncExternalStore:Mf,useId:id,useHostTransitionStatus:mo,useFormState:Vf,useActionState:Vf,useOptimistic:function(e,t){var n=qe();return Hf(n,Ae,e,t)},useMemoCache:lo,useCacheRefresh:rd};po.useEffectEvent=Ff;var dd={readContext:Pe,use:Zu,useCallback:ed,useContext:Pe,useEffect:co,useImperativeHandle:If,useInsertionEffect:$f,useLayoutEffect:Wf,useMemo:td,useReducer:io,useRef:Kf,useState:function(){return io(rn)},useDebugValue:so,useDeferredValue:function(e,t){var n=qe();return Ae===null?fo(n,e,t):nd(n,Ae.memoizedState,e,t)},useTransition:function(){var e=io(rn)[0],t=qe().memoizedState;return[typeof e=="boolean"?e:Ml(e),t]},useSyncExternalStore:Mf,useId:id,useHostTransitionStatus:mo,useFormState:Zf,useActionState:Zf,useOptimistic:function(e,t){var n=qe();return Ae!==null?Hf(n,Ae,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:lo,useCacheRefresh:rd};dd.useEffectEvent=Ff;function go(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:S({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var vo={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Tt(),u=Cn(a);u.payload=t,n!=null&&(u.callback=n),t=zn(e,u,a),t!==null&&(ft(t,e,a),Cl(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Tt(),u=Cn(a);u.tag=1,u.payload=t,n!=null&&(u.callback=n),t=zn(e,u,a),t!==null&&(ft(t,e,a),Cl(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Tt(),a=Cn(n);a.tag=2,t!=null&&(a.callback=t),t=zn(e,a,n),t!==null&&(ft(t,e,n),Cl(t,e,n))}};function hd(e,t,n,a,u,r,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,r,f):t.prototype&&t.prototype.isPureReactComponent?!bl(n,a)||!bl(u,r):!0}function md(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&vo.enqueueReplaceState(t,t.state,null)}function ua(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=S({},n));for(var u in e)n[u]===void 0&&(n[u]=e[u])}return n}function yd(e){zu(e)}function pd(e){console.error(e)}function gd(e){zu(e)}function Wu(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function vd(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function bo(e,t,n){return n=Cn(n),n.tag=3,n.payload={element:null},n.callback=function(){Wu(e,t)},n}function bd(e){return e=Cn(e),e.tag=3,e}function Sd(e,t,n,a){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var r=a.value;e.payload=function(){return u(r)},e.callback=function(){vd(t,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){vd(t,n,a),typeof u!="function"&&(Bn===null?Bn=new Set([this]):Bn.add(this));var m=a.stack;this.componentDidCatch(a.value,{componentStack:m!==null?m:""})})}function gg(e,t,n,a,u){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Ua(t,n,u,!0),n=St.current,n!==null){switch(n.tag){case 31:case 13:return Ut===null?ci():n.alternate===null&&we===0&&(we=3),n.flags&=-257,n.flags|=65536,n.lanes=u,a===ju?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),Vo(e,a,u)),!1;case 22:return n.flags|=65536,a===ju?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),Vo(e,a,u)),!1}throw Error(o(435,n.tag))}return Vo(e,a,u),ci(),!1}if(ye)return t=St.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==Hr&&(e=Error(o(422),{cause:a}),_l(Dt(e,n)))):(a!==Hr&&(t=Error(o(423),{cause:a}),_l(Dt(t,n))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,a=Dt(a,n),u=bo(e.stateNode,a,u),Jr(e,u),we!==4&&(we=2)),!1;var r=Error(o(520),{cause:a});if(r=Dt(r,n),Gl===null?Gl=[r]:Gl.push(r),we!==4&&(we=2),t===null)return!0;a=Dt(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=u&-u,n.lanes|=e,e=bo(n.stateNode,a,e),Jr(n,e),!1;case 1:if(t=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Bn===null||!Bn.has(r))))return n.flags|=65536,u&=-u,n.lanes|=u,u=bd(u),Sd(u,e,n,a),Jr(n,u),!1}n=n.return}while(n!==null);return!1}var So=Error(o(461)),ke=!1;function Ie(e,t,n,a){t.child=e===null?Tf(t,null,n,a):aa(t,e.child,n,a)}function Ed(e,t,n,a,u){n=n.render;var r=t.ref;if("ref"in a){var f={};for(var m in a)m!=="ref"&&(f[m]=a[m])}else f=a;return In(t),a=eo(e,t,n,f,r,u),m=to(),e!==null&&!ke?(no(e,t,u),on(e,t,u)):(ye&&m&&wr(t),t.flags|=1,Ie(e,t,a,u),t.child)}function _d(e,t,n,a,u){if(e===null){var r=n.type;return typeof r=="function"&&!Nr(r)&&r.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=r,Ad(e,t,r,a,u)):(e=Nu(n.type,null,a,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!zo(e,u)){var f=r.memoizedProps;if(n=n.compare,n=n!==null?n:bl,n(f,a)&&e.ref===t.ref)return on(e,t,u)}return t.flags|=1,e=tn(r,a),e.ref=t.ref,e.return=t,t.child=e}function Ad(e,t,n,a,u){if(e!==null){var r=e.memoizedProps;if(bl(r,a)&&e.ref===t.ref)if(ke=!1,t.pendingProps=a=r,zo(e,u))(e.flags&131072)!==0&&(ke=!0);else return t.lanes=e.lanes,on(e,t,u)}return Eo(e,t,n,a,u)}function Td(e,t,n,a){var u=a.children,r=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(r=r!==null?r.baseLanes|n:n,e!==null){for(a=t.child=e.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~r}else a=0,t.child=null;return Rd(e,t,r,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Lu(t,r!==null?r.cachePool:null),r!==null?Cf(t,r):$r(),zf(t);else return a=t.lanes=536870912,Rd(e,t,r!==null?r.baseLanes|n:n,n,a)}else r!==null?(Lu(t,r.cachePool),Cf(t,r),xn(),t.memoizedState=null):(e!==null&&Lu(t,null),$r(),xn());return Ie(e,t,u,n),t.child}function Bl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Rd(e,t,n,a,u){var r=Vr();return r=r===null?null:{parent:Ge._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},e!==null&&Lu(t,null),$r(),zf(t),e!==null&&Ua(e,t,a,!0),t.childLanes=u,null}function Pu(e,t){return t=ei({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Od(e,t,n){return aa(t,e.child,null,n),e=Pu(t,t.pendingProps),e.flags|=2,Et(t),t.memoizedState=null,e}function vg(e,t,n){var a=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ye){if(a.mode==="hidden")return e=Pu(t,a),t.lanes=536870912,Bl(null,e);if(Pr(t),(e=ze)?(e=jh(e,Nt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:_n!==null?{id:Qt,overflow:Zt}:null,retryLane:536870912,hydrationErrors:null},n=cf(e),n.return=t,t.child=n,We=t,ze=null)):e=null,e===null)throw Tn(t);return t.lanes=536870912,null}return Pu(t,a)}var r=e.memoizedState;if(r!==null){var f=r.dehydrated;if(Pr(t),u)if(t.flags&256)t.flags&=-257,t=Od(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(ke||Ua(e,t,n,!1),u=(n&e.childLanes)!==0,ke||u){if(a=Oe,a!==null&&(f=ys(a,n),f!==0&&f!==r.retryLane))throw r.retryLane=f,Fn(e,f),ft(a,e,f),So;ci(),t=Od(e,t,n)}else e=r.treeContext,ze=Bt(f.nextSibling),We=t,ye=!0,An=null,Nt=!1,e!==null&&df(t,e),t=Pu(t,a),t.flags|=4096;return t}return e=tn(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Iu(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Eo(e,t,n,a,u){return In(t),n=eo(e,t,n,a,void 0,u),a=to(),e!==null&&!ke?(no(e,t,u),on(e,t,u)):(ye&&a&&wr(t),t.flags|=1,Ie(e,t,n,u),t.child)}function Cd(e,t,n,a,u,r){return In(t),t.updateQueue=null,n=xf(t,a,n,u),Df(e),a=to(),e!==null&&!ke?(no(e,t,r),on(e,t,r)):(ye&&a&&wr(t),t.flags|=1,Ie(e,t,n,r),t.child)}function zd(e,t,n,a,u){if(In(t),t.stateNode===null){var r=Da,f=n.contextType;typeof f=="object"&&f!==null&&(r=Pe(f)),r=new n(a,r),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=vo,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=a,r.state=t.memoizedState,r.refs={},Zr(t),f=n.contextType,r.context=typeof f=="object"&&f!==null?Pe(f):Da,r.state=t.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(go(t,n,f,a),r.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(f=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),f!==r.state&&vo.enqueueReplaceState(r,r.state,null),Dl(t,a,r,u),zl(),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){r=t.stateNode;var m=t.memoizedProps,b=ua(n,m);r.props=b;var C=r.context,w=n.contextType;f=Da,typeof w=="object"&&w!==null&&(f=Pe(w));var H=n.getDerivedStateFromProps;w=typeof H=="function"||typeof r.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,w||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(m||C!==f)&&md(t,r,a,f),On=!1;var z=t.memoizedState;r.state=z,Dl(t,a,r,u),zl(),C=t.memoizedState,m||z!==C||On?(typeof H=="function"&&(go(t,n,H,a),C=t.memoizedState),(b=On||hd(t,n,b,a,z,C,f))?(w||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"&&(t.flags|=4194308)):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=C),r.props=a,r.state=C,r.context=f,a=b):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{r=t.stateNode,Kr(e,t),f=t.memoizedProps,w=ua(n,f),r.props=w,H=t.pendingProps,z=r.context,C=n.contextType,b=Da,typeof C=="object"&&C!==null&&(b=Pe(C)),m=n.getDerivedStateFromProps,(C=typeof m=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(f!==H||z!==b)&&md(t,r,a,b),On=!1,z=t.memoizedState,r.state=z,Dl(t,a,r,u),zl();var x=t.memoizedState;f!==H||z!==x||On||e!==null&&e.dependencies!==null&&Bu(e.dependencies)?(typeof m=="function"&&(go(t,n,m,a),x=t.memoizedState),(w=On||hd(t,n,w,a,z,x,b)||e!==null&&e.dependencies!==null&&Bu(e.dependencies))?(C||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(a,x,b),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(a,x,b)),typeof r.componentDidUpdate=="function"&&(t.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof r.componentDidUpdate!="function"||f===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=x),r.props=a,r.state=x,r.context=b,a=w):(typeof r.componentDidUpdate!="function"||f===e.memoizedProps&&z===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&z===e.memoizedState||(t.flags|=1024),a=!1)}return r=a,Iu(e,t),a=(t.flags&128)!==0,r||a?(r=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:r.render(),t.flags|=1,e!==null&&a?(t.child=aa(t,e.child,null,u),t.child=aa(t,null,n,u)):Ie(e,t,n,u),t.memoizedState=r.state,e=t.child):e=on(e,t,u),e}function Dd(e,t,n,a){return Wn(),t.flags|=256,Ie(e,t,n,a),t.child}var _o={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ao(e){return{baseLanes:e,cachePool:vf()}}function To(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=At),e}function xd(e,t,n){var a=t.pendingProps,u=!1,r=(t.flags&128)!==0,f;if((f=r)||(f=e!==null&&e.memoizedState===null?!1:(je.current&2)!==0),f&&(u=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(ye){if(u?Dn(t):xn(),(e=ze)?(e=jh(e,Nt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:_n!==null?{id:Qt,overflow:Zt}:null,retryLane:536870912,hydrationErrors:null},n=cf(e),n.return=t,t.child=n,We=t,ze=null)):e=null,e===null)throw Tn(t);return ic(e)?t.lanes=32:t.lanes=536870912,null}var m=a.children;return a=a.fallback,u?(xn(),u=t.mode,m=ei({mode:"hidden",children:m},u),a=$n(a,u,n,null),m.return=t,a.return=t,m.sibling=a,t.child=m,a=t.child,a.memoizedState=Ao(n),a.childLanes=To(e,f,n),t.memoizedState=_o,Bl(null,a)):(Dn(t),Ro(t,m))}var b=e.memoizedState;if(b!==null&&(m=b.dehydrated,m!==null)){if(r)t.flags&256?(Dn(t),t.flags&=-257,t=Oo(e,t,n)):t.memoizedState!==null?(xn(),t.child=e.child,t.flags|=128,t=null):(xn(),m=a.fallback,u=t.mode,a=ei({mode:"visible",children:a.children},u),m=$n(m,u,n,null),m.flags|=2,a.return=t,m.return=t,a.sibling=m,t.child=a,aa(t,e.child,null,n),a=t.child,a.memoizedState=Ao(n),a.childLanes=To(e,f,n),t.memoizedState=_o,t=Bl(null,a));else if(Dn(t),ic(m)){if(f=m.nextSibling&&m.nextSibling.dataset,f)var C=f.dgst;f=C,a=Error(o(419)),a.stack="",a.digest=f,_l({value:a,source:null,stack:null}),t=Oo(e,t,n)}else if(ke||Ua(e,t,n,!1),f=(n&e.childLanes)!==0,ke||f){if(f=Oe,f!==null&&(a=ys(f,n),a!==0&&a!==b.retryLane))throw b.retryLane=a,Fn(e,a),ft(f,e,a),So;uc(m)||ci(),t=Oo(e,t,n)}else uc(m)?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,ze=Bt(m.nextSibling),We=t,ye=!0,An=null,Nt=!1,e!==null&&df(t,e),t=Ro(t,a.children),t.flags|=4096);return t}return u?(xn(),m=a.fallback,u=t.mode,b=e.child,C=b.sibling,a=tn(b,{mode:"hidden",children:a.children}),a.subtreeFlags=b.subtreeFlags&65011712,C!==null?m=tn(C,m):(m=$n(m,u,n,null),m.flags|=2),m.return=t,a.return=t,a.sibling=m,t.child=a,Bl(null,a),a=t.child,m=e.child.memoizedState,m===null?m=Ao(n):(u=m.cachePool,u!==null?(b=Ge._currentValue,u=u.parent!==b?{parent:b,pool:b}:u):u=vf(),m={baseLanes:m.baseLanes|n,cachePool:u}),a.memoizedState=m,a.childLanes=To(e,f,n),t.memoizedState=_o,Bl(e.child,a)):(Dn(t),n=e.child,e=n.sibling,n=tn(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=n,t.memoizedState=null,n)}function Ro(e,t){return t=ei({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ei(e,t){return e=bt(22,e,null,t),e.lanes=0,e}function Oo(e,t,n){return aa(t,e.child,null,n),e=Ro(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Md(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Yr(e.return,t,n)}function Co(e,t,n,a,u,r){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:u,treeForkCount:r}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=n,f.tailMode=u,f.treeForkCount=r)}function Nd(e,t,n){var a=t.pendingProps,u=a.revealOrder,r=a.tail;a=a.children;var f=je.current,m=(f&2)!==0;if(m?(f=f&1|2,t.flags|=128):f&=1,G(je,f),Ie(e,t,a,n),a=ye?El:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Md(e,n,t);else if(e.tag===19)Md(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(u){case"forwards":for(n=t.child,u=null;n!==null;)e=n.alternate,e!==null&&Xu(e)===null&&(u=n),n=n.sibling;n=u,n===null?(u=t.child,t.child=null):(u=n.sibling,n.sibling=null),Co(t,!1,u,n,r,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&Xu(e)===null){t.child=u;break}e=u.sibling,u.sibling=n,n=u,u=e}Co(t,!0,n,null,r,a);break;case"together":Co(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function on(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Un|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ua(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,n=tn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function zo(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Bu(e)))}function bg(e,t,n){switch(t.tag){case 3:le(t,t.stateNode.containerInfo),Rn(t,Ge,e.memoizedState.cache),Wn();break;case 27:case 5:Vt(t);break;case 4:le(t,t.stateNode.containerInfo);break;case 10:Rn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Pr(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Dn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?xd(e,t,n):(Dn(t),e=on(e,t,n),e!==null?e.sibling:null);Dn(t);break;case 19:var u=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Ua(e,t,n,!1),a=(n&t.childLanes)!==0),u){if(a)return Nd(e,t,n);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),G(je,je.current),a)break;return null;case 22:return t.lanes=0,Td(e,t,n,t.pendingProps);case 24:Rn(t,Ge,e.memoizedState.cache)}return on(e,t,n)}function Ud(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ke=!0;else{if(!zo(e,n)&&(t.flags&128)===0)return ke=!1,bg(e,t,n);ke=(e.flags&131072)!==0}else ke=!1,ye&&(t.flags&1048576)!==0&&ff(t,El,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=ta(t.elementType),t.type=e,typeof e=="function")Nr(e)?(a=ua(e,a),t.tag=1,t=zd(null,t,e,a,n)):(t.tag=0,t=Eo(null,t,e,a,n));else{if(e!=null){var u=e.$$typeof;if(u===F){t.tag=11,t=Ed(null,t,e,a,n);break e}else if(u===te){t.tag=14,t=_d(null,t,e,a,n);break e}}throw t=Ue(e)||e,Error(o(306,t,""))}}return t;case 0:return Eo(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,u=ua(a,t.pendingProps),zd(e,t,a,u,n);case 3:e:{if(le(t,t.stateNode.containerInfo),e===null)throw Error(o(387));a=t.pendingProps;var r=t.memoizedState;u=r.element,Kr(e,t),Dl(t,a,null,n);var f=t.memoizedState;if(a=f.cache,Rn(t,Ge,a),a!==r.cache&&Gr(t,[Ge],n,!0),zl(),a=f.element,r.isDehydrated)if(r={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){t=Dd(e,t,a,n);break e}else if(a!==u){u=Dt(Error(o(424)),t),_l(u),t=Dd(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(ze=Bt(e.firstChild),We=t,ye=!0,An=null,Nt=!0,n=Tf(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Wn(),a===u){t=on(e,t,n);break e}Ie(e,t,a,n)}t=t.child}return t;case 26:return Iu(e,t),e===null?(n=Vh(t.type,null,t.pendingProps,null))?t.memoizedState=n:ye||(n=t.type,e=t.pendingProps,a=pi(ie.current).createElement(n),a[$e]=t,a[ut]=e,et(a,n,e),Je(a),t.stateNode=a):t.memoizedState=Vh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Vt(t),e===null&&ye&&(a=t.stateNode=Gh(t.type,t.pendingProps,ie.current),We=t,Nt=!0,u=ze,jn(t.type)?(rc=u,ze=Bt(a.firstChild)):ze=u),Ie(e,t,t.pendingProps.children,n),Iu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ye&&((u=a=ze)&&(a=Fg(a,t.type,t.pendingProps,Nt),a!==null?(t.stateNode=a,We=t,ze=Bt(a.firstChild),Nt=!1,u=!0):u=!1),u||Tn(t)),Vt(t),u=t.type,r=t.pendingProps,f=e!==null?e.memoizedProps:null,a=r.children,nc(u,r)?a=null:f!==null&&nc(u,f)&&(t.flags|=32),t.memoizedState!==null&&(u=eo(e,t,sg,null,null,n),Fl._currentValue=u),Iu(e,t),Ie(e,t,a,n),t.child;case 6:return e===null&&ye&&((e=n=ze)&&(n=$g(n,t.pendingProps,Nt),n!==null?(t.stateNode=n,We=t,ze=null,e=!0):e=!1),e||Tn(t)),null;case 13:return xd(e,t,n);case 4:return le(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=aa(t,null,a,n):Ie(e,t,a,n),t.child;case 11:return Ed(e,t,t.type,t.pendingProps,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,Rn(t,t.type,a.value),Ie(e,t,a.children,n),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,In(t),u=Pe(u),a=a(u),t.flags|=1,Ie(e,t,a,n),t.child;case 14:return _d(e,t,t.type,t.pendingProps,n);case 15:return Ad(e,t,t.type,t.pendingProps,n);case 19:return Nd(e,t,n);case 31:return vg(e,t,n);case 22:return Td(e,t,n,t.pendingProps);case 24:return In(t),a=Pe(Ge),e===null?(u=Vr(),u===null&&(u=Oe,r=Xr(),u.pooledCache=r,r.refCount++,r!==null&&(u.pooledCacheLanes|=n),u=r),t.memoizedState={parent:a,cache:u},Zr(t),Rn(t,Ge,u)):((e.lanes&n)!==0&&(Kr(e,t),Dl(t,null,null,n),zl()),u=e.memoizedState,r=t.memoizedState,u.parent!==a?(u={parent:a,cache:a},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),Rn(t,Ge,a)):(a=r.cache,Rn(t,Ge,a),a!==u.cache&&Gr(t,[Ge],n,!0))),Ie(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function cn(e){e.flags|=4}function Do(e,t,n,a,u){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(u&335544128)===u)if(e.stateNode.complete)e.flags|=8192;else if(ih())e.flags|=8192;else throw na=ju,Qr}else e.flags&=-16777217}function Bd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Fh(t))if(ih())e.flags|=8192;else throw na=ju,Qr}function ti(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ds():536870912,e.lanes|=t,Qa|=t)}function wl(e,t){if(!ye)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function De(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function Sg(e,t,n){var a=t.pendingProps;switch(Lr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return De(t),null;case 1:return De(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ln(Ge),_e(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Na(t)?cn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,jr())),De(t),null;case 26:var u=t.type,r=t.memoizedState;return e===null?(cn(t),r!==null?(De(t),Bd(t,r)):(De(t),Do(t,u,null,a,n))):r?r!==e.memoizedState?(cn(t),De(t),Bd(t,r)):(De(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&cn(t),De(t),Do(t,u,e,a,n)),null;case 27:if(Wt(t),n=ie.current,u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&cn(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return De(t),null}e=V.current,Na(t)?hf(t):(e=Gh(u,a,n),t.stateNode=e,cn(t))}return De(t),null;case 5:if(Wt(t),u=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&cn(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return De(t),null}if(r=V.current,Na(t))hf(t);else{var f=pi(ie.current);switch(r){case 1:r=f.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:r=f.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":r=f.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":r=f.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":r=f.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?r.multiple=!0:a.size&&(r.size=a.size);break;default:r=typeof a.is=="string"?f.createElement(u,{is:a.is}):f.createElement(u)}}r[$e]=t,r[ut]=a;e:for(f=t.child;f!==null;){if(f.tag===5||f.tag===6)r.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}t.stateNode=r;e:switch(et(r,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&cn(t)}}return De(t),Do(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&cn(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(e=ie.current,Na(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,u=We,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}e[$e]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||xh(e.nodeValue,n)),e||Tn(t,!0)}else e=pi(e).createTextNode(a),e[$e]=t,t.stateNode=e}return De(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Na(t),n!==null){if(e===null){if(!a)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[$e]=t}else Wn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),e=!1}else n=jr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Et(t),t):(Et(t),null);if((t.flags&128)!==0)throw Error(o(558))}return De(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Na(t),a!==null&&a.dehydrated!==null){if(e===null){if(!u)throw Error(o(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[$e]=t}else Wn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),u=!1}else u=jr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(Et(t),t):(Et(t),null)}return Et(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),r=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==u&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ti(t,t.updateQueue),De(t),null);case 4:return _e(),e===null&&Wo(t.stateNode.containerInfo),De(t),null;case 10:return ln(t.type),De(t),null;case 19:if(j(je),a=t.memoizedState,a===null)return De(t),null;if(u=(t.flags&128)!==0,r=a.rendering,r===null)if(u)wl(a,!1);else{if(we!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=Xu(e),r!==null){for(t.flags|=128,wl(a,!1),e=r.updateQueue,t.updateQueue=e,ti(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)of(n,e),n=n.sibling;return G(je,je.current&1|2),ye&&nn(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&yt()>ii&&(t.flags|=128,u=!0,wl(a,!1),t.lanes=4194304)}else{if(!u)if(e=Xu(r),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,ti(t,e),wl(a,!0),a.tail===null&&a.tailMode==="hidden"&&!r.alternate&&!ye)return De(t),null}else 2*yt()-a.renderingStartTime>ii&&n!==536870912&&(t.flags|=128,u=!0,wl(a,!1),t.lanes=4194304);a.isBackwards?(r.sibling=t.child,t.child=r):(e=a.last,e!==null?e.sibling=r:t.child=r,a.last=r)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=yt(),e.sibling=null,n=je.current,G(je,u?n&1|2:n&1),ye&&nn(t,a.treeForkCount),e):(De(t),null);case 22:case 23:return Et(t),Wr(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),n=t.updateQueue,n!==null&&ti(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&j(ea),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ln(Ge),De(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Eg(e,t){switch(Lr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ln(Ge),_e(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Wt(t),null;case 31:if(t.memoizedState!==null){if(Et(t),t.alternate===null)throw Error(o(340));Wn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Et(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Wn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return j(je),null;case 4:return _e(),null;case 10:return ln(t.type),null;case 22:case 23:return Et(t),Wr(),e!==null&&j(ea),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ln(Ge),null;case 25:return null;default:return null}}function wd(e,t){switch(Lr(t),t.tag){case 3:ln(Ge),_e();break;case 26:case 27:case 5:Wt(t);break;case 4:_e();break;case 31:t.memoizedState!==null&&Et(t);break;case 13:Et(t);break;case 19:j(je);break;case 10:ln(t.type);break;case 22:case 23:Et(t),Wr(),e!==null&&j(ea);break;case 24:ln(Ge)}}function Ll(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&e)===e){a=void 0;var r=n.create,f=n.inst;a=r(),f.destroy=a}n=n.next}while(n!==u)}}catch(m){Ee(t,t.return,m)}}function Mn(e,t,n){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var r=u.next;a=r;do{if((a.tag&e)===e){var f=a.inst,m=f.destroy;if(m!==void 0){f.destroy=void 0,u=t;var b=n,C=m;try{C()}catch(w){Ee(u,b,w)}}}a=a.next}while(a!==r)}}catch(w){Ee(t,t.return,w)}}function Ld(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Of(t,n)}catch(a){Ee(e,e.return,a)}}}function Hd(e,t,n){n.props=ua(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Ee(e,t,a)}}function Hl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(u){Ee(e,t,u)}}function Kt(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(u){Ee(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(u){Ee(e,t,u)}else n.current=null}function jd(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(u){Ee(e,e.return,u)}}function xo(e,t,n){try{var a=e.stateNode;kg(a,e.type,n,t),a[ut]=t}catch(u){Ee(e,e.return,u)}}function qd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&jn(e.type)||e.tag===4}function Mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&jn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function No(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=It));else if(a!==4&&(a===27&&jn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(No(e,t,n),e=e.sibling;e!==null;)No(e,t,n),e=e.sibling}function ni(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&jn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(ni(e,t,n),e=e.sibling;e!==null;)ni(e,t,n),e=e.sibling}function Yd(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);et(t,a,n),t[$e]=e,t[ut]=n}catch(r){Ee(e,e.return,r)}}var sn=!1,Ve=!1,Uo=!1,Gd=typeof WeakSet=="function"?WeakSet:Set,Fe=null;function _g(e,t){if(e=e.containerInfo,ec=Ai,e=Ps(e),Rr(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var u=a.anchorOffset,r=a.focusNode;a=a.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break e}var f=0,m=-1,b=-1,C=0,w=0,H=e,z=null;t:for(;;){for(var x;H!==n||u!==0&&H.nodeType!==3||(m=f+u),H!==r||a!==0&&H.nodeType!==3||(b=f+a),H.nodeType===3&&(f+=H.nodeValue.length),(x=H.firstChild)!==null;)z=H,H=x;for(;;){if(H===e)break t;if(z===n&&++C===u&&(m=f),z===r&&++w===a&&(b=f),(x=H.nextSibling)!==null)break;H=z,z=H.parentNode}H=x}n=m===-1||b===-1?null:{start:m,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(tc={focusedElem:e,selectionRange:n},Ai=!1,Fe=t;Fe!==null;)if(t=Fe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Fe=e;else for(;Fe!==null;){switch(t=Fe,r=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)u=e[n],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&r!==null){e=void 0,n=t,u=r.memoizedProps,r=r.memoizedState,a=n.stateNode;try{var Z=ua(n.type,u);e=a.getSnapshotBeforeUpdate(Z,r),a.__reactInternalSnapshotBeforeUpdate=e}catch(ee){Ee(n,n.return,ee)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)lc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":lc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,Fe=e;break}Fe=t.return}}function Xd(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:dn(e,n),a&4&&Ll(5,n);break;case 1:if(dn(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(f){Ee(n,n.return,f)}else{var u=ua(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(u,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Ee(n,n.return,f)}}a&64&&Ld(n),a&512&&Hl(n,n.return);break;case 3:if(dn(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Of(e,t)}catch(f){Ee(n,n.return,f)}}break;case 27:t===null&&a&4&&Yd(n);case 26:case 5:dn(e,n),t===null&&a&4&&jd(n),a&512&&Hl(n,n.return);break;case 12:dn(e,n);break;case 31:dn(e,n),a&4&&Qd(e,n);break;case 13:dn(e,n),a&4&&Zd(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Mg.bind(null,n),Wg(e,n))));break;case 22:if(a=n.memoizedState!==null||sn,!a){t=t!==null&&t.memoizedState!==null||Ve,u=sn;var r=Ve;sn=a,(Ve=t)&&!r?hn(e,n,(n.subtreeFlags&8772)!==0):dn(e,n),sn=u,Ve=r}break;case 30:break;default:dn(e,n)}}function kd(e){var t=e.alternate;t!==null&&(e.alternate=null,kd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&or(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Me=null,rt=!1;function fn(e,t,n){for(n=n.child;n!==null;)Vd(e,t,n),n=n.sibling}function Vd(e,t,n){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(rl,n)}catch{}switch(n.tag){case 26:Ve||Kt(n,t),fn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ve||Kt(n,t);var a=Me,u=rt;jn(n.type)&&(Me=n.stateNode,rt=!1),fn(e,t,n),Zl(n.stateNode),Me=a,rt=u;break;case 5:Ve||Kt(n,t);case 6:if(a=Me,u=rt,Me=null,fn(e,t,n),Me=a,rt=u,Me!==null)if(rt)try{(Me.nodeType===9?Me.body:Me.nodeName==="HTML"?Me.ownerDocument.body:Me).removeChild(n.stateNode)}catch(r){Ee(n,t,r)}else try{Me.removeChild(n.stateNode)}catch(r){Ee(n,t,r)}break;case 18:Me!==null&&(rt?(e=Me,Lh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Ia(e)):Lh(Me,n.stateNode));break;case 4:a=Me,u=rt,Me=n.stateNode.containerInfo,rt=!0,fn(e,t,n),Me=a,rt=u;break;case 0:case 11:case 14:case 15:Mn(2,n,t),Ve||Mn(4,n,t),fn(e,t,n);break;case 1:Ve||(Kt(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&Hd(n,t,a)),fn(e,t,n);break;case 21:fn(e,t,n);break;case 22:Ve=(a=Ve)||n.memoizedState!==null,fn(e,t,n),Ve=a;break;default:fn(e,t,n)}}function Qd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ia(e)}catch(n){Ee(t,t.return,n)}}}function Zd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ia(e)}catch(n){Ee(t,t.return,n)}}function Ag(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Gd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Gd),t;default:throw Error(o(435,e.tag))}}function ai(e,t){var n=Ag(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var u=Ng.bind(null,e,a);a.then(u,u)}})}function ot(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var u=n[a],r=e,f=t,m=f;e:for(;m!==null;){switch(m.tag){case 27:if(jn(m.type)){Me=m.stateNode,rt=!1;break e}break;case 5:Me=m.stateNode,rt=!1;break e;case 3:case 4:Me=m.stateNode.containerInfo,rt=!0;break e}m=m.return}if(Me===null)throw Error(o(160));Vd(r,f,u),Me=null,rt=!1,r=u.alternate,r!==null&&(r.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Kd(t,e),t=t.sibling}var jt=null;function Kd(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ot(t,e),ct(e),a&4&&(Mn(3,e,e.return),Ll(3,e),Mn(5,e,e.return));break;case 1:ot(t,e),ct(e),a&512&&(Ve||n===null||Kt(n,n.return)),a&64&&sn&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var u=jt;if(ot(t,e),ct(e),a&512&&(Ve||n===null||Kt(n,n.return)),a&4){var r=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,u=u.ownerDocument||u;t:switch(a){case"title":r=u.getElementsByTagName("title")[0],(!r||r[sl]||r[$e]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=u.createElement(a),u.head.insertBefore(r,u.querySelector("head > title"))),et(r,a,n),r[$e]=e,Je(r),a=r;break e;case"link":var f=Kh("link","href",u).get(a+(n.href||""));if(f){for(var m=0;m<f.length;m++)if(r=f[m],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)){f.splice(m,1);break t}}r=u.createElement(a),et(r,a,n),u.head.appendChild(r);break;case"meta":if(f=Kh("meta","content",u).get(a+(n.content||""))){for(m=0;m<f.length;m++)if(r=f[m],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)){f.splice(m,1);break t}}r=u.createElement(a),et(r,a,n),u.head.appendChild(r);break;default:throw Error(o(468,a))}r[$e]=e,Je(r),a=r}e.stateNode=a}else Jh(u,e.type,e.stateNode);else e.stateNode=Zh(u,a,e.memoizedProps);else r!==a?(r===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):r.count--,a===null?Jh(u,e.type,e.stateNode):Zh(u,a,e.memoizedProps)):a===null&&e.stateNode!==null&&xo(e,e.memoizedProps,n.memoizedProps)}break;case 27:ot(t,e),ct(e),a&512&&(Ve||n===null||Kt(n,n.return)),n!==null&&a&4&&xo(e,e.memoizedProps,n.memoizedProps);break;case 5:if(ot(t,e),ct(e),a&512&&(Ve||n===null||Kt(n,n.return)),e.flags&32){u=e.stateNode;try{_a(u,"")}catch(Z){Ee(e,e.return,Z)}}a&4&&e.stateNode!=null&&(u=e.memoizedProps,xo(e,u,n!==null?n.memoizedProps:u)),a&1024&&(Uo=!0);break;case 6:if(ot(t,e),ct(e),a&4){if(e.stateNode===null)throw Error(o(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(Z){Ee(e,e.return,Z)}}break;case 3:if(bi=null,u=jt,jt=gi(t.containerInfo),ot(t,e),jt=u,ct(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Ia(t.containerInfo)}catch(Z){Ee(e,e.return,Z)}Uo&&(Uo=!1,Jd(e));break;case 4:a=jt,jt=gi(e.stateNode.containerInfo),ot(t,e),ct(e),jt=a;break;case 12:ot(t,e),ct(e);break;case 31:ot(t,e),ct(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ai(e,a)));break;case 13:ot(t,e),ct(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ui=yt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ai(e,a)));break;case 22:u=e.memoizedState!==null;var b=n!==null&&n.memoizedState!==null,C=sn,w=Ve;if(sn=C||u,Ve=w||b,ot(t,e),Ve=w,sn=C,ct(e),a&8192)e:for(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(n===null||b||sn||Ve||ia(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){b=n=t;try{if(r=b.stateNode,u)f=r.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{m=b.stateNode;var H=b.memoizedProps.style,z=H!=null&&H.hasOwnProperty("display")?H.display:null;m.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(Z){Ee(b,b.return,Z)}}}else if(t.tag===6){if(n===null){b=t;try{b.stateNode.nodeValue=u?"":b.memoizedProps}catch(Z){Ee(b,b.return,Z)}}}else if(t.tag===18){if(n===null){b=t;try{var x=b.stateNode;u?Hh(x,!0):Hh(b.stateNode,!1)}catch(Z){Ee(b,b.return,Z)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,ai(e,n))));break;case 19:ot(t,e),ct(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ai(e,a)));break;case 30:break;case 21:break;default:ot(t,e),ct(e)}}function ct(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(qd(a)){n=a;break}a=a.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var u=n.stateNode,r=Mo(e);ni(e,r,u);break;case 5:var f=n.stateNode;n.flags&32&&(_a(f,""),n.flags&=-33);var m=Mo(e);ni(e,m,f);break;case 3:case 4:var b=n.stateNode.containerInfo,C=Mo(e);No(e,C,b);break;default:throw Error(o(161))}}catch(w){Ee(e,e.return,w)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Jd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Jd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function dn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Xd(e,t.alternate,t),t=t.sibling}function ia(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Mn(4,t,t.return),ia(t);break;case 1:Kt(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Hd(t,t.return,n),ia(t);break;case 27:Zl(t.stateNode);case 26:case 5:Kt(t,t.return),ia(t);break;case 22:t.memoizedState===null&&ia(t);break;case 30:ia(t);break;default:ia(t)}e=e.sibling}}function hn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,u=e,r=t,f=r.flags;switch(r.tag){case 0:case 11:case 15:hn(u,r,n),Ll(4,r);break;case 1:if(hn(u,r,n),a=r,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(C){Ee(a,a.return,C)}if(a=r,u=a.updateQueue,u!==null){var m=a.stateNode;try{var b=u.shared.hiddenCallbacks;if(b!==null)for(u.shared.hiddenCallbacks=null,u=0;u<b.length;u++)Rf(b[u],m)}catch(C){Ee(a,a.return,C)}}n&&f&64&&Ld(r),Hl(r,r.return);break;case 27:Yd(r);case 26:case 5:hn(u,r,n),n&&a===null&&f&4&&jd(r),Hl(r,r.return);break;case 12:hn(u,r,n);break;case 31:hn(u,r,n),n&&f&4&&Qd(u,r);break;case 13:hn(u,r,n),n&&f&4&&Zd(u,r);break;case 22:r.memoizedState===null&&hn(u,r,n),Hl(r,r.return);break;case 30:break;default:hn(u,r,n)}t=t.sibling}}function Bo(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Al(n))}function wo(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Al(e))}function qt(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Fd(e,t,n,a),t=t.sibling}function Fd(e,t,n,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:qt(e,t,n,a),u&2048&&Ll(9,t);break;case 1:qt(e,t,n,a);break;case 3:qt(e,t,n,a),u&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Al(e)));break;case 12:if(u&2048){qt(e,t,n,a),e=t.stateNode;try{var r=t.memoizedProps,f=r.id,m=r.onPostCommit;typeof m=="function"&&m(f,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(b){Ee(t,t.return,b)}}else qt(e,t,n,a);break;case 31:qt(e,t,n,a);break;case 13:qt(e,t,n,a);break;case 23:break;case 22:r=t.stateNode,f=t.alternate,t.memoizedState!==null?r._visibility&2?qt(e,t,n,a):jl(e,t):r._visibility&2?qt(e,t,n,a):(r._visibility|=2,Xa(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),u&2048&&Bo(f,t);break;case 24:qt(e,t,n,a),u&2048&&wo(t.alternate,t);break;default:qt(e,t,n,a)}}function Xa(e,t,n,a,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var r=e,f=t,m=n,b=a,C=f.flags;switch(f.tag){case 0:case 11:case 15:Xa(r,f,m,b,u),Ll(8,f);break;case 23:break;case 22:var w=f.stateNode;f.memoizedState!==null?w._visibility&2?Xa(r,f,m,b,u):jl(r,f):(w._visibility|=2,Xa(r,f,m,b,u)),u&&C&2048&&Bo(f.alternate,f);break;case 24:Xa(r,f,m,b,u),u&&C&2048&&wo(f.alternate,f);break;default:Xa(r,f,m,b,u)}t=t.sibling}}function jl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,u=a.flags;switch(a.tag){case 22:jl(n,a),u&2048&&Bo(a.alternate,a);break;case 24:jl(n,a),u&2048&&wo(a.alternate,a);break;default:jl(n,a)}t=t.sibling}}var ql=8192;function ka(e,t,n){if(e.subtreeFlags&ql)for(e=e.child;e!==null;)$d(e,t,n),e=e.sibling}function $d(e,t,n){switch(e.tag){case 26:ka(e,t,n),e.flags&ql&&e.memoizedState!==null&&cv(n,jt,e.memoizedState,e.memoizedProps);break;case 5:ka(e,t,n);break;case 3:case 4:var a=jt;jt=gi(e.stateNode.containerInfo),ka(e,t,n),jt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=ql,ql=16777216,ka(e,t,n),ql=a):ka(e,t,n));break;default:ka(e,t,n)}}function Wd(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Yl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];Fe=a,Id(a,e)}Wd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Pd(e),e=e.sibling}function Pd(e){switch(e.tag){case 0:case 11:case 15:Yl(e),e.flags&2048&&Mn(9,e,e.return);break;case 3:Yl(e);break;case 12:Yl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,li(e)):Yl(e);break;default:Yl(e)}}function li(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];Fe=a,Id(a,e)}Wd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Mn(8,t,t.return),li(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,li(t));break;default:li(t)}e=e.sibling}}function Id(e,t){for(;Fe!==null;){var n=Fe;switch(n.tag){case 0:case 11:case 15:Mn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Al(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,Fe=a;else e:for(n=e;Fe!==null;){a=Fe;var u=a.sibling,r=a.return;if(kd(a),a===n){Fe=null;break e}if(u!==null){u.return=r,Fe=u;break e}Fe=r}}}var Tg={getCacheForType:function(e){var t=Pe(Ge),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Pe(Ge).controller.signal}},Rg=typeof WeakMap=="function"?WeakMap:Map,be=0,Oe=null,fe=null,he=0,Se=0,_t=null,Nn=!1,Va=!1,Lo=!1,mn=0,we=0,Un=0,ra=0,Ho=0,At=0,Qa=0,Gl=null,st=null,jo=!1,ui=0,eh=0,ii=1/0,ri=null,Bn=null,Ke=0,wn=null,Za=null,yn=0,qo=0,Yo=null,th=null,Xl=0,Go=null;function Tt(){return(be&2)!==0&&he!==0?he&-he:B.T!==null?Ko():ps()}function nh(){if(At===0)if((he&536870912)===0||ye){var e=yu;yu<<=1,(yu&3932160)===0&&(yu=262144),At=e}else At=536870912;return e=St.current,e!==null&&(e.flags|=32),At}function ft(e,t,n){(e===Oe&&(Se===2||Se===9)||e.cancelPendingCommit!==null)&&(Ka(e,0),Ln(e,he,At,!1)),cl(e,n),((be&2)===0||e!==Oe)&&(e===Oe&&((be&2)===0&&(ra|=n),we===4&&Ln(e,he,At,!1)),Jt(e))}function ah(e,t,n){if((be&6)!==0)throw Error(o(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||ol(e,t),u=a?zg(e,t):ko(e,t,!0),r=a;do{if(u===0){Va&&!a&&Ln(e,t,0,!1);break}else{if(n=e.current.alternate,r&&!Og(n)){u=ko(e,t,!1),r=!1;continue}if(u===2){if(r=t,e.errorRecoveryDisabledLanes&r)var f=0;else f=e.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){t=f;e:{var m=e;u=Gl;var b=m.current.memoizedState.isDehydrated;if(b&&(Ka(m,f).flags|=256),f=ko(m,f,!1),f!==2){if(Lo&&!b){m.errorRecoveryDisabledLanes|=r,ra|=r,u=4;break e}r=st,st=u,r!==null&&(st===null?st=r:st.push.apply(st,r))}u=f}if(r=!1,u!==2)continue}}if(u===1){Ka(e,0),Ln(e,t,0,!0);break}e:{switch(a=e,r=u,r){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Ln(a,t,At,!Nn);break e;case 2:st=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(u=ui+300-yt(),10<u)){if(Ln(a,t,At,!Nn),gu(a,0,!0)!==0)break e;yn=t,a.timeoutHandle=Bh(lh.bind(null,a,n,st,ri,jo,t,At,ra,Qa,Nn,r,"Throttled",-0,0),u);break e}lh(a,n,st,ri,jo,t,At,ra,Qa,Nn,r,null,-0,0)}}break}while(!0);Jt(e)}function lh(e,t,n,a,u,r,f,m,b,C,w,H,z,x){if(e.timeoutHandle=-1,H=t.subtreeFlags,H&8192||(H&16785408)===16785408){H={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:It},$d(t,r,H);var Z=(r&62914560)===r?ui-yt():(r&4194048)===r?eh-yt():0;if(Z=sv(H,Z),Z!==null){yn=r,e.cancelPendingCommit=Z(dh.bind(null,e,t,r,n,a,u,f,m,b,w,H,null,z,x)),Ln(e,r,f,!C);return}}dh(e,t,r,n,a,u,f,m,b)}function Og(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var u=n[a],r=u.getSnapshot;u=u.value;try{if(!vt(r(),u))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ln(e,t,n,a){t&=~Ho,t&=~ra,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var u=t;0<u;){var r=31-gt(u),f=1<<r;a[r]=-1,u&=~f}n!==0&&hs(e,n,t)}function oi(){return(be&6)===0?(kl(0),!1):!0}function Xo(){if(fe!==null){if(Se===0)var e=fe.return;else e=fe,an=Pn=null,ao(e),Ha=null,Rl=0,e=fe;for(;e!==null;)wd(e.alternate,e),e=e.return;fe=null}}function Ka(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Zg(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),yn=0,Xo(),Oe=e,fe=n=tn(e.current,null),he=t,Se=0,_t=null,Nn=!1,Va=ol(e,t),Lo=!1,Qa=At=Ho=ra=Un=we=0,st=Gl=null,jo=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var u=31-gt(a),r=1<<u;t|=e[u],a&=~r}return mn=t,Du(),n}function uh(e,t){ue=null,B.H=Ul,t===La||t===Hu?(t=Ef(),Se=3):t===Qr?(t=Ef(),Se=4):Se=t===So?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,_t=t,fe===null&&(we=1,Wu(e,Dt(t,e.current)))}function ih(){var e=St.current;return e===null?!0:(he&4194048)===he?Ut===null:(he&62914560)===he||(he&536870912)!==0?e===Ut:!1}function rh(){var e=B.H;return B.H=Ul,e===null?Ul:e}function oh(){var e=B.A;return B.A=Tg,e}function ci(){we=4,Nn||(he&4194048)!==he&&St.current!==null||(Va=!0),(Un&134217727)===0&&(ra&134217727)===0||Oe===null||Ln(Oe,he,At,!1)}function ko(e,t,n){var a=be;be|=2;var u=rh(),r=oh();(Oe!==e||he!==t)&&(ri=null,Ka(e,t)),t=!1;var f=we;e:do try{if(Se!==0&&fe!==null){var m=fe,b=_t;switch(Se){case 8:Xo(),f=6;break e;case 3:case 2:case 9:case 6:St.current===null&&(t=!0);var C=Se;if(Se=0,_t=null,Ja(e,m,b,C),n&&Va){f=0;break e}break;default:C=Se,Se=0,_t=null,Ja(e,m,b,C)}}Cg(),f=we;break}catch(w){uh(e,w)}while(!0);return t&&e.shellSuspendCounter++,an=Pn=null,be=a,B.H=u,B.A=r,fe===null&&(Oe=null,he=0,Du()),f}function Cg(){for(;fe!==null;)ch(fe)}function zg(e,t){var n=be;be|=2;var a=rh(),u=oh();Oe!==e||he!==t?(ri=null,ii=yt()+500,Ka(e,t)):Va=ol(e,t);e:do try{if(Se!==0&&fe!==null){t=fe;var r=_t;t:switch(Se){case 1:Se=0,_t=null,Ja(e,t,r,1);break;case 2:case 9:if(bf(r)){Se=0,_t=null,sh(t);break}t=function(){Se!==2&&Se!==9||Oe!==e||(Se=7),Jt(e)},r.then(t,t);break e;case 3:Se=7;break e;case 4:Se=5;break e;case 7:bf(r)?(Se=0,_t=null,sh(t)):(Se=0,_t=null,Ja(e,t,r,7));break;case 5:var f=null;switch(fe.tag){case 26:f=fe.memoizedState;case 5:case 27:var m=fe;if(f?Fh(f):m.stateNode.complete){Se=0,_t=null;var b=m.sibling;if(b!==null)fe=b;else{var C=m.return;C!==null?(fe=C,si(C)):fe=null}break t}}Se=0,_t=null,Ja(e,t,r,5);break;case 6:Se=0,_t=null,Ja(e,t,r,6);break;case 8:Xo(),we=6;break e;default:throw Error(o(462))}}Dg();break}catch(w){uh(e,w)}while(!0);return an=Pn=null,B.H=a,B.A=u,be=n,fe!==null?0:(Oe=null,he=0,Du(),we)}function Dg(){for(;fe!==null&&!Py();)ch(fe)}function ch(e){var t=Ud(e.alternate,e,mn);e.memoizedProps=e.pendingProps,t===null?si(e):fe=t}function sh(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Cd(n,t,t.pendingProps,t.type,void 0,he);break;case 11:t=Cd(n,t,t.pendingProps,t.type.render,t.ref,he);break;case 5:ao(t);default:wd(n,t),t=fe=of(t,mn),t=Ud(n,t,mn)}e.memoizedProps=e.pendingProps,t===null?si(e):fe=t}function Ja(e,t,n,a){an=Pn=null,ao(t),Ha=null,Rl=0;var u=t.return;try{if(gg(e,u,t,n,he)){we=1,Wu(e,Dt(n,e.current)),fe=null;return}}catch(r){if(u!==null)throw fe=u,r;we=1,Wu(e,Dt(n,e.current)),fe=null;return}t.flags&32768?(ye||a===1?e=!0:Va||(he&536870912)!==0?e=!1:(Nn=e=!0,(a===2||a===9||a===3||a===6)&&(a=St.current,a!==null&&a.tag===13&&(a.flags|=16384))),fh(t,e)):si(t)}function si(e){var t=e;do{if((t.flags&32768)!==0){fh(t,Nn);return}e=t.return;var n=Sg(t.alternate,t,mn);if(n!==null){fe=n;return}if(t=t.sibling,t!==null){fe=t;return}fe=t=e}while(t!==null);we===0&&(we=5)}function fh(e,t){do{var n=Eg(e.alternate,e);if(n!==null){n.flags&=32767,fe=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){fe=e;return}fe=e=n}while(e!==null);we=6,fe=null}function dh(e,t,n,a,u,r,f,m,b){e.cancelPendingCommit=null;do fi();while(Ke!==0);if((be&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(r=t.lanes|t.childLanes,r|=xr,op(e,n,r,f,m,b),e===Oe&&(fe=Oe=null,he=0),Za=t,wn=e,yn=n,qo=r,Yo=u,th=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ug(hu,function(){return gh(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null,u=k.p,k.p=2,f=be,be|=4;try{_g(e,t,n)}finally{be=f,k.p=u,B.T=a}}Ke=1,hh(),mh(),yh()}}function hh(){if(Ke===1){Ke=0;var e=wn,t=Za,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=B.T,B.T=null;var a=k.p;k.p=2;var u=be;be|=4;try{Kd(t,e);var r=tc,f=Ps(e.containerInfo),m=r.focusedElem,b=r.selectionRange;if(f!==m&&m&&m.ownerDocument&&Ws(m.ownerDocument.documentElement,m)){if(b!==null&&Rr(m)){var C=b.start,w=b.end;if(w===void 0&&(w=C),"selectionStart"in m)m.selectionStart=C,m.selectionEnd=Math.min(w,m.value.length);else{var H=m.ownerDocument||document,z=H&&H.defaultView||window;if(z.getSelection){var x=z.getSelection(),Z=m.textContent.length,ee=Math.min(b.start,Z),Re=b.end===void 0?ee:Math.min(b.end,Z);!x.extend&&ee>Re&&(f=Re,Re=ee,ee=f);var A=$s(m,ee),_=$s(m,Re);if(A&&_&&(x.rangeCount!==1||x.anchorNode!==A.node||x.anchorOffset!==A.offset||x.focusNode!==_.node||x.focusOffset!==_.offset)){var O=H.createRange();O.setStart(A.node,A.offset),x.removeAllRanges(),ee>Re?(x.addRange(O),x.extend(_.node,_.offset)):(O.setEnd(_.node,_.offset),x.addRange(O))}}}}for(H=[],x=m;x=x.parentNode;)x.nodeType===1&&H.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<H.length;m++){var L=H[m];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}Ai=!!ec,tc=ec=null}finally{be=u,k.p=a,B.T=n}}e.current=t,Ke=2}}function mh(){if(Ke===2){Ke=0;var e=wn,t=Za,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=B.T,B.T=null;var a=k.p;k.p=2;var u=be;be|=4;try{Xd(e,t.alternate,t)}finally{be=u,k.p=a,B.T=n}}Ke=3}}function yh(){if(Ke===4||Ke===3){Ke=0,Iy();var e=wn,t=Za,n=yn,a=th;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ke=5:(Ke=0,Za=wn=null,ph(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(Bn=null),ir(n),t=t.stateNode,pt&&typeof pt.onCommitFiberRoot=="function")try{pt.onCommitFiberRoot(rl,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=B.T,u=k.p,k.p=2,B.T=null;try{for(var r=e.onRecoverableError,f=0;f<a.length;f++){var m=a[f];r(m.value,{componentStack:m.stack})}}finally{B.T=t,k.p=u}}(yn&3)!==0&&fi(),Jt(e),u=e.pendingLanes,(n&261930)!==0&&(u&42)!==0?e===Go?Xl++:(Xl=0,Go=e):Xl=0,kl(0)}}function ph(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Al(t)))}function fi(){return hh(),mh(),yh(),gh()}function gh(){if(Ke!==5)return!1;var e=wn,t=qo;qo=0;var n=ir(yn),a=B.T,u=k.p;try{k.p=32>n?32:n,B.T=null,n=Yo,Yo=null;var r=wn,f=yn;if(Ke=0,Za=wn=null,yn=0,(be&6)!==0)throw Error(o(331));var m=be;if(be|=4,Pd(r.current),Fd(r,r.current,f,n),be=m,kl(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot(rl,r)}catch{}return!0}finally{k.p=u,B.T=a,ph(e,t)}}function vh(e,t,n){t=Dt(n,t),t=bo(e.stateNode,t,2),e=zn(e,t,2),e!==null&&(cl(e,2),Jt(e))}function Ee(e,t,n){if(e.tag===3)vh(e,e,n);else for(;t!==null;){if(t.tag===3){vh(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Bn===null||!Bn.has(a))){e=Dt(n,e),n=bd(2),a=zn(t,n,2),a!==null&&(Sd(n,a,t,e),cl(a,2),Jt(a));break}}t=t.return}}function Vo(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new Rg;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(n)||(Lo=!0,u.add(n),e=xg.bind(null,e,t,n),t.then(e,e))}function xg(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Oe===e&&(he&n)===n&&(we===4||we===3&&(he&62914560)===he&&300>yt()-ui?(be&2)===0&&Ka(e,0):Ho|=n,Qa===he&&(Qa=0)),Jt(e)}function bh(e,t){t===0&&(t=ds()),e=Fn(e,t),e!==null&&(cl(e,t),Jt(e))}function Mg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),bh(e,n)}function Ng(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(n=u.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(t),bh(e,n)}function Ug(e,t){return nr(e,t)}var di=null,Fa=null,Qo=!1,hi=!1,Zo=!1,Hn=0;function Jt(e){e!==Fa&&e.next===null&&(Fa===null?di=Fa=e:Fa=Fa.next=e),hi=!0,Qo||(Qo=!0,wg())}function kl(e,t){if(!Zo&&hi){Zo=!0;do for(var n=!1,a=di;a!==null;){if(e!==0){var u=a.pendingLanes;if(u===0)var r=0;else{var f=a.suspendedLanes,m=a.pingedLanes;r=(1<<31-gt(42|e)+1)-1,r&=u&~(f&~m),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,Ah(a,r))}else r=he,r=gu(a,a===Oe?r:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(r&3)===0||ol(a,r)||(n=!0,Ah(a,r));a=a.next}while(n);Zo=!1}}function Bg(){Sh()}function Sh(){hi=Qo=!1;var e=0;Hn!==0&&Qg()&&(e=Hn);for(var t=yt(),n=null,a=di;a!==null;){var u=a.next,r=Eh(a,t);r===0?(a.next=null,n===null?di=u:n.next=u,u===null&&(Fa=n)):(n=a,(e!==0||(r&3)!==0)&&(hi=!0)),a=u}Ke!==0&&Ke!==5||kl(e),Hn!==0&&(Hn=0)}function Eh(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var f=31-gt(r),m=1<<f,b=u[f];b===-1?((m&n)===0||(m&a)!==0)&&(u[f]=rp(m,t)):b<=t&&(e.expiredLanes|=m),r&=~m}if(t=Oe,n=he,n=gu(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(Se===2||Se===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&ar(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||ol(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&ar(a),ir(n)){case 2:case 8:n=ss;break;case 32:n=hu;break;case 268435456:n=fs;break;default:n=hu}return a=_h.bind(null,e),n=nr(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&ar(a),e.callbackPriority=2,e.callbackNode=null,2}function _h(e,t){if(Ke!==0&&Ke!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(fi()&&e.callbackNode!==n)return null;var a=he;return a=gu(e,e===Oe?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(ah(e,a,t),Eh(e,yt()),e.callbackNode!=null&&e.callbackNode===n?_h.bind(null,e):null)}function Ah(e,t){if(fi())return null;ah(e,t,!0)}function wg(){Kg(function(){(be&6)!==0?nr(cs,Bg):Sh()})}function Ko(){if(Hn===0){var e=Ba;e===0&&(e=mu,mu<<=1,(mu&261888)===0&&(mu=256)),Hn=e}return Hn}function Th(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Eu(""+e)}function Rh(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Lg(e,t,n,a,u){if(t==="submit"&&n&&n.stateNode===u){var r=Th((u[ut]||null).action),f=a.submitter;f&&(t=(t=f[ut]||null)?Th(t.formAction):f.getAttribute("formAction"),t!==null&&(r=t,f=null));var m=new Ru("action","action",null,a,u);e.push({event:m,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Hn!==0){var b=f?Rh(u,f):new FormData(u);ho(n,{pending:!0,data:b,method:u.method,action:r},null,b)}}else typeof r=="function"&&(m.preventDefault(),b=f?Rh(u,f):new FormData(u),ho(n,{pending:!0,data:b,method:u.method,action:r},r,b))},currentTarget:u}]})}}for(var Jo=0;Jo<Dr.length;Jo++){var Fo=Dr[Jo],Hg=Fo.toLowerCase(),jg=Fo[0].toUpperCase()+Fo.slice(1);Ht(Hg,"on"+jg)}Ht(tf,"onAnimationEnd"),Ht(nf,"onAnimationIteration"),Ht(af,"onAnimationStart"),Ht("dblclick","onDoubleClick"),Ht("focusin","onFocus"),Ht("focusout","onBlur"),Ht(eg,"onTransitionRun"),Ht(tg,"onTransitionStart"),Ht(ng,"onTransitionCancel"),Ht(lf,"onTransitionEnd"),Sa("onMouseEnter",["mouseout","mouseover"]),Sa("onMouseLeave",["mouseout","mouseover"]),Sa("onPointerEnter",["pointerout","pointerover"]),Sa("onPointerLeave",["pointerout","pointerover"]),Qn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Qn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Qn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Qn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Qn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Qn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vl="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(" "),qg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vl));function Oh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],u=a.event;a=a.listeners;e:{var r=void 0;if(t)for(var f=a.length-1;0<=f;f--){var m=a[f],b=m.instance,C=m.currentTarget;if(m=m.listener,b!==r&&u.isPropagationStopped())break e;r=m,u.currentTarget=C;try{r(u)}catch(w){zu(w)}u.currentTarget=null,r=b}else for(f=0;f<a.length;f++){if(m=a[f],b=m.instance,C=m.currentTarget,m=m.listener,b!==r&&u.isPropagationStopped())break e;r=m,u.currentTarget=C;try{r(u)}catch(w){zu(w)}u.currentTarget=null,r=b}}}}function de(e,t){var n=t[rr];n===void 0&&(n=t[rr]=new Set);var a=e+"__bubble";n.has(a)||(Ch(t,e,2,!1),n.add(a))}function $o(e,t,n){var a=0;t&&(a|=4),Ch(n,e,a,t)}var mi="_reactListening"+Math.random().toString(36).slice(2);function Wo(e){if(!e[mi]){e[mi]=!0,bs.forEach(function(n){n!=="selectionchange"&&(qg.has(n)||$o(n,!1,e),$o(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mi]||(t[mi]=!0,$o("selectionchange",!1,t))}}function Ch(e,t,n,a){switch(nm(t)){case 2:var u=hv;break;case 8:u=mv;break;default:u=dc}n=u.bind(null,t,n,e),u=void 0,!pr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?e.addEventListener(t,n,{capture:!0,passive:u}):e.addEventListener(t,n,!0):u!==void 0?e.addEventListener(t,n,{passive:u}):e.addEventListener(t,n,!1)}function Po(e,t,n,a,u){var r=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var m=a.stateNode.containerInfo;if(m===u)break;if(f===4)for(f=a.return;f!==null;){var b=f.tag;if((b===3||b===4)&&f.stateNode.containerInfo===u)return;f=f.return}for(;m!==null;){if(f=ga(m),f===null)return;if(b=f.tag,b===5||b===6||b===26||b===27){a=r=f;continue e}m=m.parentNode}}a=a.return}Ms(function(){var C=r,w=mr(n),H=[];e:{var z=uf.get(e);if(z!==void 0){var x=Ru,Z=e;switch(e){case"keypress":if(Au(n)===0)break e;case"keydown":case"keyup":x=Np;break;case"focusin":Z="focus",x=Sr;break;case"focusout":Z="blur",x=Sr;break;case"beforeblur":case"afterblur":x=Sr;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Bs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=Sp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=wp;break;case tf:case nf:case af:x=Ap;break;case lf:x=Hp;break;case"scroll":case"scrollend":x=vp;break;case"wheel":x=qp;break;case"copy":case"cut":case"paste":x=Rp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Ls;break;case"toggle":case"beforetoggle":x=Gp}var ee=(t&4)!==0,Re=!ee&&(e==="scroll"||e==="scrollend"),A=ee?z!==null?z+"Capture":null:z;ee=[];for(var _=C,O;_!==null;){var L=_;if(O=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||O===null||A===null||(L=dl(_,A),L!=null&&ee.push(Ql(_,L,O))),Re)break;_=_.return}0<ee.length&&(z=new x(z,Z,null,n,w),H.push({event:z,listeners:ee}))}}if((t&7)===0){e:{if(z=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",z&&n!==hr&&(Z=n.relatedTarget||n.fromElement)&&(ga(Z)||Z[pa]))break e;if((x||z)&&(z=w.window===w?w:(z=w.ownerDocument)?z.defaultView||z.parentWindow:window,x?(Z=n.relatedTarget||n.toElement,x=C,Z=Z?ga(Z):null,Z!==null&&(Re=d(Z),ee=Z.tag,Z!==Re||ee!==5&&ee!==27&&ee!==6)&&(Z=null)):(x=null,Z=C),x!==Z)){if(ee=Bs,L="onMouseLeave",A="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(ee=Ls,L="onPointerLeave",A="onPointerEnter",_="pointer"),Re=x==null?z:fl(x),O=Z==null?z:fl(Z),z=new ee(L,_+"leave",x,n,w),z.target=Re,z.relatedTarget=O,L=null,ga(w)===C&&(ee=new ee(A,_+"enter",Z,n,w),ee.target=O,ee.relatedTarget=Re,L=ee),Re=L,x&&Z)t:{for(ee=Yg,A=x,_=Z,O=0,L=A;L;L=ee(L))O++;L=0;for(var $=_;$;$=ee($))L++;for(;0<O-L;)A=ee(A),O--;for(;0<L-O;)_=ee(_),L--;for(;O--;){if(A===_||_!==null&&A===_.alternate){ee=A;break t}A=ee(A),_=ee(_)}ee=null}else ee=null;x!==null&&zh(H,z,x,ee,!1),Z!==null&&Re!==null&&zh(H,Re,Z,ee,!0)}}e:{if(z=C?fl(C):window,x=z.nodeName&&z.nodeName.toLowerCase(),x==="select"||x==="input"&&z.type==="file")var ge=Vs;else if(Xs(z))if(Qs)ge=Wp;else{ge=Fp;var J=Jp}else x=z.nodeName,!x||x.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?C&&dr(C.elementType)&&(ge=Vs):ge=$p;if(ge&&(ge=ge(e,C))){ks(H,ge,n,w);break e}J&&J(e,z,C),e==="focusout"&&C&&z.type==="number"&&C.memoizedProps.value!=null&&fr(z,"number",z.value)}switch(J=C?fl(C):window,e){case"focusin":(Xs(J)||J.contentEditable==="true")&&(Oa=J,Or=C,Sl=null);break;case"focusout":Sl=Or=Oa=null;break;case"mousedown":Cr=!0;break;case"contextmenu":case"mouseup":case"dragend":Cr=!1,Is(H,n,w);break;case"selectionchange":if(Ip)break;case"keydown":case"keyup":Is(H,n,w)}var re;if(_r)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else Ra?Ys(e,n)&&(me="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(me="onCompositionStart");me&&(Hs&&n.locale!=="ko"&&(Ra||me!=="onCompositionStart"?me==="onCompositionEnd"&&Ra&&(re=Ns()):(En=w,gr="value"in En?En.value:En.textContent,Ra=!0)),J=yi(C,me),0<J.length&&(me=new ws(me,e,null,n,w),H.push({event:me,listeners:J}),re?me.data=re:(re=Gs(n),re!==null&&(me.data=re)))),(re=kp?Vp(e,n):Qp(e,n))&&(me=yi(C,"onBeforeInput"),0<me.length&&(J=new ws("onBeforeInput","beforeinput",null,n,w),H.push({event:J,listeners:me}),J.data=re)),Lg(H,e,C,n,w)}Oh(H,t)})}function Ql(e,t,n){return{instance:e,listener:t,currentTarget:n}}function yi(e,t){for(var n=t+"Capture",a=[];e!==null;){var u=e,r=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||r===null||(u=dl(e,n),u!=null&&a.unshift(Ql(e,u,r)),u=dl(e,t),u!=null&&a.push(Ql(e,u,r))),e.tag===3)return a;e=e.return}return[]}function Yg(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function zh(e,t,n,a,u){for(var r=t._reactName,f=[];n!==null&&n!==a;){var m=n,b=m.alternate,C=m.stateNode;if(m=m.tag,b!==null&&b===a)break;m!==5&&m!==26&&m!==27||C===null||(b=C,u?(C=dl(n,r),C!=null&&f.unshift(Ql(n,C,b))):u||(C=dl(n,r),C!=null&&f.push(Ql(n,C,b)))),n=n.return}f.length!==0&&e.push({event:t,listeners:f})}var Gg=/\r\n?/g,Xg=/\u0000|\uFFFD/g;function Dh(e){return(typeof e=="string"?e:""+e).replace(Gg,`
`).replace(Xg,"")}function xh(e,t){return t=Dh(t),Dh(e)===t}function Te(e,t,n,a,u,r){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||_a(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&_a(e,""+a);break;case"className":bu(e,"class",a);break;case"tabIndex":bu(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":bu(e,n,a);break;case"style":Ds(e,a,r);break;case"data":if(t!=="object"){bu(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Eu(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(n==="formAction"?(t!=="input"&&Te(e,t,"name",u.name,u,null),Te(e,t,"formEncType",u.formEncType,u,null),Te(e,t,"formMethod",u.formMethod,u,null),Te(e,t,"formTarget",u.formTarget,u,null)):(Te(e,t,"encType",u.encType,u,null),Te(e,t,"method",u.method,u,null),Te(e,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Eu(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=It);break;case"onScroll":a!=null&&de("scroll",e);break;case"onScrollEnd":a!=null&&de("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=Eu(""+a),e.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":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":de("beforetoggle",e),de("toggle",e),vu(e,"popover",a);break;case"xlinkActuate":Pt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Pt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Pt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Pt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Pt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Pt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Pt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Pt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Pt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":vu(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=pp.get(n)||n,vu(e,n,a))}}function Io(e,t,n,a,u,r){switch(n){case"style":Ds(e,a,r);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(u.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"children":typeof a=="string"?_a(e,a):(typeof a=="number"||typeof a=="bigint")&&_a(e,""+a);break;case"onScroll":a!=null&&de("scroll",e);break;case"onScrollEnd":a!=null&&de("scrollend",e);break;case"onClick":a!=null&&(e.onclick=It);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ss.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),t=n.slice(2,u?n.length-7:void 0),r=e[ut]||null,r=r!=null?r[n]:null,typeof r=="function"&&e.removeEventListener(t,r,u),typeof a=="function")){typeof r!="function"&&r!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,u);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):vu(e,n,a)}}}function et(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":de("error",e),de("load",e);var a=!1,u=!1,r;for(r in n)if(n.hasOwnProperty(r)){var f=n[r];if(f!=null)switch(r){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Te(e,t,r,f,n,null)}}u&&Te(e,t,"srcSet",n.srcSet,n,null),a&&Te(e,t,"src",n.src,n,null);return;case"input":de("invalid",e);var m=r=f=u=null,b=null,C=null;for(a in n)if(n.hasOwnProperty(a)){var w=n[a];if(w!=null)switch(a){case"name":u=w;break;case"type":f=w;break;case"checked":b=w;break;case"defaultChecked":C=w;break;case"value":r=w;break;case"defaultValue":m=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(o(137,t));break;default:Te(e,t,a,w,n,null)}}Rs(e,r,m,b,C,f,u,!1);return;case"select":de("invalid",e),a=f=r=null;for(u in n)if(n.hasOwnProperty(u)&&(m=n[u],m!=null))switch(u){case"value":r=m;break;case"defaultValue":f=m;break;case"multiple":a=m;default:Te(e,t,u,m,n,null)}t=r,n=f,e.multiple=!!a,t!=null?Ea(e,!!a,t,!1):n!=null&&Ea(e,!!a,n,!0);return;case"textarea":de("invalid",e),r=u=a=null;for(f in n)if(n.hasOwnProperty(f)&&(m=n[f],m!=null))switch(f){case"value":a=m;break;case"defaultValue":u=m;break;case"children":r=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(o(91));break;default:Te(e,t,f,m,n,null)}Cs(e,a,u,r);return;case"option":for(b in n)if(n.hasOwnProperty(b)&&(a=n[b],a!=null))switch(b){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Te(e,t,b,a,n,null)}return;case"dialog":de("beforetoggle",e),de("toggle",e),de("cancel",e),de("close",e);break;case"iframe":case"object":de("load",e);break;case"video":case"audio":for(a=0;a<Vl.length;a++)de(Vl[a],e);break;case"image":de("error",e),de("load",e);break;case"details":de("toggle",e);break;case"embed":case"source":case"link":de("error",e),de("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(C in n)if(n.hasOwnProperty(C)&&(a=n[C],a!=null))switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Te(e,t,C,a,n,null)}return;default:if(dr(t)){for(w in n)n.hasOwnProperty(w)&&(a=n[w],a!==void 0&&Io(e,t,w,a,n,void 0));return}}for(m in n)n.hasOwnProperty(m)&&(a=n[m],a!=null&&Te(e,t,m,a,n,null))}function kg(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,r=null,f=null,m=null,b=null,C=null,w=null;for(x in n){var H=n[x];if(n.hasOwnProperty(x)&&H!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":b=H;default:a.hasOwnProperty(x)||Te(e,t,x,null,a,H)}}for(var z in a){var x=a[z];if(H=n[z],a.hasOwnProperty(z)&&(x!=null||H!=null))switch(z){case"type":r=x;break;case"name":u=x;break;case"checked":C=x;break;case"defaultChecked":w=x;break;case"value":f=x;break;case"defaultValue":m=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(o(137,t));break;default:x!==H&&Te(e,t,z,x,a,H)}}sr(e,f,m,b,C,w,r,u);return;case"select":x=f=m=z=null;for(r in n)if(b=n[r],n.hasOwnProperty(r)&&b!=null)switch(r){case"value":break;case"multiple":x=b;default:a.hasOwnProperty(r)||Te(e,t,r,null,a,b)}for(u in a)if(r=a[u],b=n[u],a.hasOwnProperty(u)&&(r!=null||b!=null))switch(u){case"value":z=r;break;case"defaultValue":m=r;break;case"multiple":f=r;default:r!==b&&Te(e,t,u,r,a,b)}t=m,n=f,a=x,z!=null?Ea(e,!!n,z,!1):!!a!=!!n&&(t!=null?Ea(e,!!n,t,!0):Ea(e,!!n,n?[]:"",!1));return;case"textarea":x=z=null;for(m in n)if(u=n[m],n.hasOwnProperty(m)&&u!=null&&!a.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:Te(e,t,m,null,a,u)}for(f in a)if(u=a[f],r=n[f],a.hasOwnProperty(f)&&(u!=null||r!=null))switch(f){case"value":z=u;break;case"defaultValue":x=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==r&&Te(e,t,f,u,a,r)}Os(e,z,x);return;case"option":for(var Z in n)if(z=n[Z],n.hasOwnProperty(Z)&&z!=null&&!a.hasOwnProperty(Z))switch(Z){case"selected":e.selected=!1;break;default:Te(e,t,Z,null,a,z)}for(b in a)if(z=a[b],x=n[b],a.hasOwnProperty(b)&&z!==x&&(z!=null||x!=null))switch(b){case"selected":e.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:Te(e,t,b,z,a,x)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ee in n)z=n[ee],n.hasOwnProperty(ee)&&z!=null&&!a.hasOwnProperty(ee)&&Te(e,t,ee,null,a,z);for(C in a)if(z=a[C],x=n[C],a.hasOwnProperty(C)&&z!==x&&(z!=null||x!=null))switch(C){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,t));break;default:Te(e,t,C,z,a,x)}return;default:if(dr(t)){for(var Re in n)z=n[Re],n.hasOwnProperty(Re)&&z!==void 0&&!a.hasOwnProperty(Re)&&Io(e,t,Re,void 0,a,z);for(w in a)z=a[w],x=n[w],!a.hasOwnProperty(w)||z===x||z===void 0&&x===void 0||Io(e,t,w,z,a,x);return}}for(var A in n)z=n[A],n.hasOwnProperty(A)&&z!=null&&!a.hasOwnProperty(A)&&Te(e,t,A,null,a,z);for(H in a)z=a[H],x=n[H],!a.hasOwnProperty(H)||z===x||z==null&&x==null||Te(e,t,H,z,a,x)}function Mh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Vg(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var u=n[a],r=u.transferSize,f=u.initiatorType,m=u.duration;if(r&&m&&Mh(f)){for(f=0,m=u.responseEnd,a+=1;a<n.length;a++){var b=n[a],C=b.startTime;if(C>m)break;var w=b.transferSize,H=b.initiatorType;w&&Mh(H)&&(b=b.responseEnd,f+=w*(b<m?1:(m-C)/(b-C)))}if(--a,t+=8*(r+f)/(u.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var ec=null,tc=null;function pi(e){return e.nodeType===9?e:e.ownerDocument}function Nh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Uh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function nc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ac=null;function Qg(){var e=window.event;return e&&e.type==="popstate"?e===ac?!1:(ac=e,!0):(ac=null,!1)}var Bh=typeof setTimeout=="function"?setTimeout:void 0,Zg=typeof clearTimeout=="function"?clearTimeout:void 0,wh=typeof Promise=="function"?Promise:void 0,Kg=typeof queueMicrotask=="function"?queueMicrotask:typeof wh<"u"?function(e){return wh.resolve(null).then(e).catch(Jg)}:Bh;function Jg(e){setTimeout(function(){throw e})}function jn(e){return e==="head"}function Lh(e,t){var n=t,a=0;do{var u=n.nextSibling;if(e.removeChild(n),u&&u.nodeType===8)if(n=u.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(u),Ia(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")Zl(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Zl(n);for(var r=n.firstChild;r;){var f=r.nextSibling,m=r.nodeName;r[sl]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&r.rel.toLowerCase()==="stylesheet"||n.removeChild(r),r=f}}else n==="body"&&Zl(e.ownerDocument.body);n=u}while(n);Ia(t)}function Hh(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function lc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":lc(n),or(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Fg(e,t,n,a){for(;e.nodeType===1;){var u=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[sl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var r=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=Bt(e.nextSibling),e===null)break}return null}function $g(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Bt(e.nextSibling),e===null))return null;return e}function jh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Bt(e.nextSibling),e===null))return null;return e}function uc(e){return e.data==="$?"||e.data==="$~"}function ic(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Wg(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Bt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var rc=null;function qh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Bt(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Yh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Gh(e,t,n){switch(t=pi(n),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function Zl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);or(e)}var wt=new Map,Xh=new Set;function gi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var pn=k.d;k.d={f:Pg,r:Ig,D:ev,C:tv,L:nv,m:av,X:uv,S:lv,M:iv};function Pg(){var e=pn.f(),t=oi();return e||t}function Ig(e){var t=va(e);t!==null&&t.tag===5&&t.type==="form"?ud(t):pn.r(e)}var $a=typeof document>"u"?null:document;function kh(e,t,n){var a=$a;if(a&&typeof t=="string"&&t){var u=Ct(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),Xh.has(u)||(Xh.add(u),e={rel:e,crossOrigin:n,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),et(t,"link",e),Je(t),a.head.appendChild(t)))}}function ev(e){pn.D(e),kh("dns-prefetch",e,null)}function tv(e,t){pn.C(e,t),kh("preconnect",e,t)}function nv(e,t,n){pn.L(e,t,n);var a=$a;if(a&&e&&t){var u='link[rel="preload"][as="'+Ct(t)+'"]';t==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Ct(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Ct(n.imageSizes)+'"]')):u+='[href="'+Ct(e)+'"]';var r=u;switch(t){case"style":r=Wa(e);break;case"script":r=Pa(e)}wt.has(r)||(e=S({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),wt.set(r,e),a.querySelector(u)!==null||t==="style"&&a.querySelector(Kl(r))||t==="script"&&a.querySelector(Jl(r))||(t=a.createElement("link"),et(t,"link",e),Je(t),a.head.appendChild(t)))}}function av(e,t){pn.m(e,t);var n=$a;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Ct(a)+'"][href="'+Ct(e)+'"]',r=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Pa(e)}if(!wt.has(r)&&(e=S({rel:"modulepreload",href:e},t),wt.set(r,e),n.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Jl(r)))return}a=n.createElement("link"),et(a,"link",e),Je(a),n.head.appendChild(a)}}}function lv(e,t,n){pn.S(e,t,n);var a=$a;if(a&&e){var u=ba(a).hoistableStyles,r=Wa(e);t=t||"default";var f=u.get(r);if(!f){var m={loading:0,preload:null};if(f=a.querySelector(Kl(r)))m.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},n),(n=wt.get(r))&&oc(e,n);var b=f=a.createElement("link");Je(b),et(b,"link",e),b._p=new Promise(function(C,w){b.onload=C,b.onerror=w}),b.addEventListener("load",function(){m.loading|=1}),b.addEventListener("error",function(){m.loading|=2}),m.loading|=4,vi(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:m},u.set(r,f)}}}function uv(e,t){pn.X(e,t);var n=$a;if(n&&e){var a=ba(n).hoistableScripts,u=Pa(e),r=a.get(u);r||(r=n.querySelector(Jl(u)),r||(e=S({src:e,async:!0},t),(t=wt.get(u))&&cc(e,t),r=n.createElement("script"),Je(r),et(r,"link",e),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(u,r))}}function iv(e,t){pn.M(e,t);var n=$a;if(n&&e){var a=ba(n).hoistableScripts,u=Pa(e),r=a.get(u);r||(r=n.querySelector(Jl(u)),r||(e=S({src:e,async:!0,type:"module"},t),(t=wt.get(u))&&cc(e,t),r=n.createElement("script"),Je(r),et(r,"link",e),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(u,r))}}function Vh(e,t,n,a){var u=(u=ie.current)?gi(u):null;if(!u)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Wa(n.href),n=ba(u).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Wa(n.href);var r=ba(u).hoistableStyles,f=r.get(e);if(f||(u=u.ownerDocument||u,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,f),(r=u.querySelector(Kl(e)))&&!r._p&&(f.instance=r,f.state.loading=5),wt.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},wt.set(e,n),r||rv(u,e,n,f.state))),t&&a===null)throw Error(o(528,""));return f}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Pa(n),n=ba(u).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Wa(e){return'href="'+Ct(e)+'"'}function Kl(e){return'link[rel="stylesheet"]['+e+"]"}function Qh(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function rv(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),et(t,"link",n),Je(t),e.head.appendChild(t))}function Pa(e){return'[src="'+Ct(e)+'"]'}function Jl(e){return"script[async]"+e}function Zh(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ct(n.href)+'"]');if(a)return t.instance=a,Je(a),a;var u=S({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Je(a),et(a,"style",u),vi(a,n.precedence,e),t.instance=a;case"stylesheet":u=Wa(n.href);var r=e.querySelector(Kl(u));if(r)return t.state.loading|=4,t.instance=r,Je(r),r;a=Qh(n),(u=wt.get(u))&&oc(a,u),r=(e.ownerDocument||e).createElement("link"),Je(r);var f=r;return f._p=new Promise(function(m,b){f.onload=m,f.onerror=b}),et(r,"link",a),t.state.loading|=4,vi(r,n.precedence,e),t.instance=r;case"script":return r=Pa(n.src),(u=e.querySelector(Jl(r)))?(t.instance=u,Je(u),u):(a=n,(u=wt.get(r))&&(a=S({},n),cc(a,u)),e=e.ownerDocument||e,u=e.createElement("script"),Je(u),et(u,"link",a),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,vi(a,n.precedence,e));return t.instance}function vi(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,r=u,f=0;f<a.length;f++){var m=a[f];if(m.dataset.precedence===t)r=m;else if(r!==u)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function oc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function cc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var bi=null;function Kh(e,t,n){if(bi===null){var a=new Map,u=bi=new Map;u.set(n,a)}else u=bi,a=u.get(n),a||(a=new Map,u.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),u=0;u<n.length;u++){var r=n[u];if(!(r[sl]||r[$e]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var f=r.getAttribute(t)||"";f=e+f;var m=a.get(f);m?m.push(r):a.set(f,[r])}}return a}function Jh(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function ov(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Fh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function cv(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var u=Wa(a.href),r=t.querySelector(Kl(u));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Si.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=r,Je(r);return}r=t.ownerDocument||t,a=Qh(a),(u=wt.get(u))&&oc(a,u),r=r.createElement("link"),Je(r);var f=r;f._p=new Promise(function(m,b){f.onload=m,f.onerror=b}),et(r,"link",a),n.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Si.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var sc=0;function sv(e,t){return e.stylesheets&&e.count===0&&_i(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&_i(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+t);0<e.imgBytes&&sc===0&&(sc=62500*Vg());var u=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&_i(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>sc?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Si(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)_i(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ei=null;function _i(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ei=new Map,t.forEach(fv,e),Ei=null,Si.call(e))}function fv(e,t){if(!(t.state.loading&4)){var n=Ei.get(e);if(n)var a=n.get(null);else{n=new Map,Ei.set(e,n);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<u.length;r++){var f=u[r];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(n.set(f.dataset.precedence,f),a=f)}a&&n.set(null,a)}u=t.instance,f=u.getAttribute("data-precedence"),r=n.get(f)||a,r===a&&n.set(null,u),n.set(f,u),this.count++,a=Si.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),r?r.parentNode.insertBefore(u,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),t.state.loading|=4}}var Fl={$$typeof:X,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function dv(e,t,n,a,u,r,f,m,b){this.tag=1,this.containerInfo=e,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=lr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lr(0),this.hiddenUpdates=lr(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=r,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function $h(e,t,n,a,u,r,f,m,b,C,w,H){return e=new dv(e,t,n,f,b,C,w,H,m),t=1,r===!0&&(t|=24),r=bt(3,null,null,t),e.current=r,r.stateNode=e,t=Xr(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:a,isDehydrated:n,cache:t},Zr(r),e}function Wh(e){return e?(e=Da,e):Da}function Ph(e,t,n,a,u,r){u=Wh(u),a.context===null?a.context=u:a.pendingContext=u,a=Cn(t),a.payload={element:n},r=r===void 0?null:r,r!==null&&(a.callback=r),n=zn(e,a,t),n!==null&&(ft(n,e,t),Cl(n,e,t))}function Ih(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function fc(e,t){Ih(e,t),(e=e.alternate)&&Ih(e,t)}function em(e){if(e.tag===13||e.tag===31){var t=Fn(e,67108864);t!==null&&ft(t,e,67108864),fc(e,67108864)}}function tm(e){if(e.tag===13||e.tag===31){var t=Tt();t=ur(t);var n=Fn(e,t);n!==null&&ft(n,e,t),fc(e,t)}}var Ai=!0;function hv(e,t,n,a){var u=B.T;B.T=null;var r=k.p;try{k.p=2,dc(e,t,n,a)}finally{k.p=r,B.T=u}}function mv(e,t,n,a){var u=B.T;B.T=null;var r=k.p;try{k.p=8,dc(e,t,n,a)}finally{k.p=r,B.T=u}}function dc(e,t,n,a){if(Ai){var u=hc(a);if(u===null)Po(e,t,a,Ti,n),am(e,a);else if(pv(u,e,t,n,a))a.stopPropagation();else if(am(e,a),t&4&&-1<yv.indexOf(e)){for(;u!==null;){var r=va(u);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var f=Vn(r.pendingLanes);if(f!==0){var m=r;for(m.pendingLanes|=2,m.entangledLanes|=2;f;){var b=1<<31-gt(f);m.entanglements[1]|=b,f&=~b}Jt(r),(be&6)===0&&(ii=yt()+500,kl(0))}}break;case 31:case 13:m=Fn(r,2),m!==null&&ft(m,r,2),oi(),fc(r,2)}if(r=hc(a),r===null&&Po(e,t,a,Ti,n),r===u)break;u=r}u!==null&&a.stopPropagation()}else Po(e,t,a,null,n)}}function hc(e){return e=mr(e),mc(e)}var Ti=null;function mc(e){if(Ti=null,e=ga(e),e!==null){var t=d(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=h(t),e!==null)return e;e=null}else if(n===31){if(e=p(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ti=e,null}function nm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 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(ep()){case cs:return 2;case ss:return 8;case hu:case tp:return 32;case fs:return 268435456;default:return 32}default:return 32}}var yc=!1,qn=null,Yn=null,Gn=null,$l=new Map,Wl=new Map,Xn=[],yv="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 am(e,t){switch(e){case"focusin":case"focusout":qn=null;break;case"dragenter":case"dragleave":Yn=null;break;case"mouseover":case"mouseout":Gn=null;break;case"pointerover":case"pointerout":$l.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wl.delete(t.pointerId)}}function Pl(e,t,n,a,u,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:r,targetContainers:[u]},t!==null&&(t=va(t),t!==null&&em(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function pv(e,t,n,a,u){switch(t){case"focusin":return qn=Pl(qn,e,t,n,a,u),!0;case"dragenter":return Yn=Pl(Yn,e,t,n,a,u),!0;case"mouseover":return Gn=Pl(Gn,e,t,n,a,u),!0;case"pointerover":var r=u.pointerId;return $l.set(r,Pl($l.get(r)||null,e,t,n,a,u)),!0;case"gotpointercapture":return r=u.pointerId,Wl.set(r,Pl(Wl.get(r)||null,e,t,n,a,u)),!0}return!1}function lm(e){var t=ga(e.target);if(t!==null){var n=d(t);if(n!==null){if(t=n.tag,t===13){if(t=h(n),t!==null){e.blockedOn=t,gs(e.priority,function(){tm(n)});return}}else if(t===31){if(t=p(n),t!==null){e.blockedOn=t,gs(e.priority,function(){tm(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ri(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=hc(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);hr=a,n.target.dispatchEvent(a),hr=null}else return t=va(n),t!==null&&em(t),e.blockedOn=n,!1;t.shift()}return!0}function um(e,t,n){Ri(e)&&n.delete(t)}function gv(){yc=!1,qn!==null&&Ri(qn)&&(qn=null),Yn!==null&&Ri(Yn)&&(Yn=null),Gn!==null&&Ri(Gn)&&(Gn=null),$l.forEach(um),Wl.forEach(um)}function Oi(e,t){e.blockedOn===t&&(e.blockedOn=null,yc||(yc=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,gv)))}var Ci=null;function im(e){Ci!==e&&(Ci=e,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){Ci===e&&(Ci=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],u=e[t+2];if(typeof a!="function"){if(mc(a||n)===null)continue;break}var r=va(n);r!==null&&(e.splice(t,3),t-=3,ho(r,{pending:!0,data:u,method:n.method,action:a},a,u))}}))}function Ia(e){function t(b){return Oi(b,e)}qn!==null&&Oi(qn,e),Yn!==null&&Oi(Yn,e),Gn!==null&&Oi(Gn,e),$l.forEach(t),Wl.forEach(t);for(var n=0;n<Xn.length;n++){var a=Xn[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Xn.length&&(n=Xn[0],n.blockedOn===null);)lm(n),n.blockedOn===null&&Xn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var u=n[a],r=n[a+1],f=u[ut]||null;if(typeof r=="function")f||im(n);else if(f){var m=null;if(r&&r.hasAttribute("formAction")){if(u=r,f=r[ut]||null)m=f.formAction;else if(mc(u)!==null)continue}else m=f.action;typeof m=="function"?n[a+1]=m:(n.splice(a,3),a-=3),im(n)}}}function rm(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(f){return u=f})},focusReset:"manual",scroll:"manual"})}function t(){u!==null&&(u(),u=null),a||setTimeout(n,20)}function n(){if(!a&&!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 a=!1,u=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),u!==null&&(u(),u=null)}}}function pc(e){this._internalRoot=e}zi.prototype.render=pc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var n=t.current,a=Tt();Ph(n,a,e,t,null,null)},zi.prototype.unmount=pc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ph(e.current,2,null,e,null,null),oi(),t[pa]=null}};function zi(e){this._internalRoot=e}zi.prototype.unstable_scheduleHydration=function(e){if(e){var t=ps();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Xn.length&&t!==0&&t<Xn[n].priority;n++);Xn.splice(n,0,e),n===0&&lm(e)}};var om=i.version;if(om!=="19.2.6")throw Error(o(527,om,"19.2.6"));k.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=y(t),e=e!==null?v(e):null,e=e===null?null:e.stateNode,e};var vv={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Di=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Di.isDisabled&&Di.supportsFiber)try{rl=Di.inject(vv),pt=Di}catch{}}return eu.createRoot=function(e,t){if(!s(e))throw Error(o(299));var n=!1,a="",u=yd,r=pd,f=gd;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=$h(e,1,!1,null,null,n,a,null,u,r,f,rm),e[pa]=t.current,Wo(e),new pc(t)},eu.hydrateRoot=function(e,t,n){if(!s(e))throw Error(o(299));var a=!1,u="",r=yd,f=pd,m=gd,b=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(m=n.onRecoverableError),n.formState!==void 0&&(b=n.formState)),t=$h(e,1,!0,t,n??null,a,u,b,r,f,m,rm),t.context=Wh(null),n=t.current,a=Tt(),a=ur(a),u=Cn(a),u.callback=null,zn(n,u,a),n=a,t.current.lanes=n,cl(t,n),Jt(t),e[pa]=t.current,Wo(e),new zi(t)},eu.version="19.2.6",eu}var vm;function Dv(){if(vm)return bc.exports;vm=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),bc.exports=zv(),bc.exports}var xv=Dv();const Mv=Fm(xv),Nv="modulepreload",Uv=function(l){return"/"+l},bm={},ma=function(i,c,o){let s=Promise.resolve();if(c&&c.length>0){let h=function(y){return Promise.all(y.map(v=>Promise.resolve(v).then(S=>({status:"fulfilled",value:S}),S=>({status:"rejected",reason:S}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),g=(p==null?void 0:p.nonce)||(p==null?void 0:p.getAttribute("nonce"));s=h(c.map(y=>{if(y=Uv(y),y in bm)return;bm[y]=!0;const v=y.endsWith(".css"),S=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${S}`))return;const M=document.createElement("link");if(M.rel=v?"stylesheet":Nv,v||(M.as="script"),M.crossOrigin="",M.href=y,g&&M.setAttribute("nonce",g),document.head.appendChild(M),v)return new Promise((Y,q)=>{M.addEventListener("load",Y),M.addEventListener("error",()=>q(new Error(`Unable to preload CSS for ${y}`)))})}))}function d(h){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=h,window.dispatchEvent(p),!p.defaultPrevented)throw h}return s.then(h=>{for(const p of h||[])p.status==="rejected"&&d(p.reason);return i().catch(d)})};/**
 * react-router v7.16.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var Sm="popstate";function Em(l){return typeof l=="object"&&l!=null&&"pathname"in l&&"search"in l&&"hash"in l&&"state"in l&&"key"in l}function Bv(l={}){function i(o,s){var y;let d=(y=s.state)==null?void 0:y.masked,{pathname:h,search:p,hash:g}=d||o.location;return Bc("",{pathname:h,search:p,hash:g},s.state&&s.state.usr||null,s.state&&s.state.key||"default",d?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function c(o,s){return typeof s=="string"?s:lu(s)}return Lv(i,c,null,l)}function Ne(l,i){if(l===!1||l===null||typeof l>"u")throw new Error(i)}function Gt(l,i){if(!l){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function wv(){return Math.random().toString(36).substring(2,10)}function _m(l,i){return{usr:l.state,key:l.key,idx:i,masked:l.mask?{pathname:l.pathname,search:l.search,hash:l.hash}:void 0}}function Bc(l,i,c=null,o,s){return{pathname:typeof l=="string"?l:l.pathname,search:"",hash:"",...typeof i=="string"?al(i):i,state:c,key:i&&i.key||o||wv(),mask:s}}function lu({pathname:l="/",search:i="",hash:c=""}){return i&&i!=="?"&&(l+=i.charAt(0)==="?"?i:"?"+i),c&&c!=="#"&&(l+=c.charAt(0)==="#"?c:"#"+c),l}function al(l){let i={};if(l){let c=l.indexOf("#");c>=0&&(i.hash=l.substring(c),l=l.substring(0,c));let o=l.indexOf("?");o>=0&&(i.search=l.substring(o),l=l.substring(0,o)),l&&(i.pathname=l)}return i}function Lv(l,i,c,o={}){let{window:s=document.defaultView,v5Compat:d=!1}=o,h=s.history,p="POP",g=null,y=v();y==null&&(y=0,h.replaceState({...h.state,idx:y},""));function v(){return(h.state||{idx:null}).idx}function S(){p="POP";let D=v(),U=D==null?null:D-y;y=D,g&&g({action:p,location:N.location,delta:U})}function M(D,U){p="PUSH";let Q=Em(D)?D:Bc(N.location,D,U);y=v()+1;let X=_m(Q,y),F=N.createHref(Q.mask||Q);try{h.pushState(X,"",F)}catch(ae){if(ae instanceof DOMException&&ae.name==="DataCloneError")throw ae;s.location.assign(F)}d&&g&&g({action:p,location:N.location,delta:1})}function Y(D,U){p="REPLACE";let Q=Em(D)?D:Bc(N.location,D,U);y=v();let X=_m(Q,y),F=N.createHref(Q.mask||Q);h.replaceState(X,"",F),d&&g&&g({action:p,location:N.location,delta:0})}function q(D){return Hv(s,D)}let N={get action(){return p},get location(){return l(s,h)},listen(D){if(g)throw new Error("A history only accepts one active listener");return s.addEventListener(Sm,S),g=D,()=>{s.removeEventListener(Sm,S),g=null}},createHref(D){return i(s,D)},createURL:q,encodeLocation(D){let U=q(D);return{pathname:U.pathname,search:U.search,hash:U.hash}},push:M,replace:Y,go(D){return h.go(D)}};return N}function Hv(l,i,c=!1){let o="http://localhost";l&&(o=l.location.origin!=="null"?l.location.origin:l.location.href),Ne(o,"No window.location.(origin|href) available to create URL");let s=typeof i=="string"?i:lu(i);return s=s.replace(/ $/,"%20"),!c&&s.startsWith("//")&&(s=o+s),new URL(s,o)}function $m(l,i,c="/"){return jv(l,i,c,!1)}function jv(l,i,c,o,s){let d=typeof i=="string"?al(i):i,h=vn(d.pathname||"/",c);if(h==null)return null;let p=qv(l),g=null,y=Wv(h);for(let v=0;g==null&&v<p.length;++v)g=Fv(p[v],y,o);return g}function qv(l){let i=Wm(l);return Yv(i),i}function Wm(l,i=[],c=[],o="",s=!1){let d=(h,p,g=s,y)=>{let v={relativePath:y===void 0?h.path||"":y,caseSensitive:h.caseSensitive===!0,childrenIndex:p,route:h};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(o)&&g)return;Ne(v.relativePath.startsWith(o),`Absolute route path "${v.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(o.length)}let S=Yt([o,v.relativePath]),M=c.concat(v);h.children&&h.children.length>0&&(Ne(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${S}".`),Wm(h.children,i,M,S,g)),!(h.path==null&&!h.index)&&i.push({path:S,score:Kv(S,h.index),routesMeta:M})};return l.forEach((h,p)=>{var g;if(h.path===""||!((g=h.path)!=null&&g.includes("?")))d(h,p);else for(let y of Pm(h.path))d(h,p,!0,y)}),i}function Pm(l){let i=l.split("/");if(i.length===0)return[];let[c,...o]=i,s=c.endsWith("?"),d=c.replace(/\?$/,"");if(o.length===0)return s?[d,""]:[d];let h=Pm(o.join("/")),p=[];return p.push(...h.map(g=>g===""?d:[d,g].join("/"))),s&&p.push(...h),p.map(g=>l.startsWith("/")&&g===""?"/":g)}function Yv(l){l.sort((i,c)=>i.score!==c.score?c.score-i.score:Jv(i.routesMeta.map(o=>o.childrenIndex),c.routesMeta.map(o=>o.childrenIndex)))}var Gv=/^:[\w-]+$/,Xv=3,kv=2,Vv=1,Qv=10,Zv=-2,Am=l=>l==="*";function Kv(l,i){let c=l.split("/"),o=c.length;return c.some(Am)&&(o+=Zv),i&&(o+=kv),c.filter(s=>!Am(s)).reduce((s,d)=>s+(Gv.test(d)?Xv:d===""?Vv:Qv),o)}function Jv(l,i){return l.length===i.length&&l.slice(0,-1).every((o,s)=>o===i[s])?l[l.length-1]-i[i.length-1]:0}function Fv(l,i,c=!1){let{routesMeta:o}=l,s={},d="/",h=[];for(let p=0;p<o.length;++p){let g=o[p],y=p===o.length-1,v=d==="/"?i:i.slice(d.length)||"/",S=Yi({path:g.relativePath,caseSensitive:g.caseSensitive,end:y},v),M=g.route;if(!S&&y&&c&&!o[o.length-1].route.index&&(S=Yi({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},v)),!S)return null;Object.assign(s,S.params),h.push({params:s,pathname:Yt([d,S.pathname]),pathnameBase:t0(Yt([d,S.pathnameBase])),route:M}),S.pathnameBase!=="/"&&(d=Yt([d,S.pathnameBase]))}return h}function Yi(l,i){typeof l=="string"&&(l={path:l,caseSensitive:!1,end:!0});let[c,o]=$v(l.path,l.caseSensitive,l.end),s=i.match(c);if(!s)return null;let d=s[0],h=d.replace(/(.)\/+$/,"$1"),p=s.slice(1);return{params:o.reduce((y,{paramName:v,isOptional:S},M)=>{if(v==="*"){let q=p[M]||"";h=d.slice(0,d.length-q.length).replace(/(.)\/+$/,"$1")}const Y=p[M];return S&&!Y?y[v]=void 0:y[v]=(Y||"").replace(/%2F/g,"/"),y},{}),pathname:d,pathnameBase:h,pattern:l}}function $v(l,i=!1,c=!0){Gt(l==="*"||!l.endsWith("*")||l.endsWith("/*"),`Route path "${l}" will be treated as if it were "${l.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${l.replace(/\*$/,"/*")}".`);let o=[],s="^"+l.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,p,g,y,v)=>{if(o.push({paramName:p,isOptional:g!=null}),g){let S=v.charAt(y+h.length);return S&&S!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return l.endsWith("*")?(o.push({paramName:"*"}),s+=l==="*"||l==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):c?s+="\\/*$":l!==""&&l!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,i?void 0:"i"),o]}function Wv(l){try{return l.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Gt(!1,`The URL path "${l}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),l}}function vn(l,i){if(i==="/")return l;if(!l.toLowerCase().startsWith(i.toLowerCase()))return null;let c=i.endsWith("/")?i.length-1:i.length,o=l.charAt(c);return o&&o!=="/"?null:l.slice(c)||"/"}var Pv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Iv(l,i="/"){let{pathname:c,search:o="",hash:s=""}=typeof l=="string"?al(l):l,d;return c?(c=Im(c),c.startsWith("/")?d=Tm(c.substring(1),"/"):d=Tm(c,i)):d=i,{pathname:d,search:n0(o),hash:a0(s)}}function Tm(l,i){let c=Gi(i).split("/");return l.split("/").forEach(s=>{s===".."?c.length>1&&c.pop():s!=="."&&c.push(s)}),c.length>1?c.join("/"):"/"}function Ac(l,i,c,o){return`Cannot include a '${l}' character in a manually specified \`to.${i}\` field [${JSON.stringify(o)}].  Please separate it out to the \`to.${c}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function e0(l){return l.filter((i,c)=>c===0||i.route.path&&i.route.path.length>0)}function Qc(l){let i=e0(l);return i.map((c,o)=>o===i.length-1?c.pathname:c.pathnameBase)}function Vi(l,i,c,o=!1){let s;typeof l=="string"?s=al(l):(s={...l},Ne(!s.pathname||!s.pathname.includes("?"),Ac("?","pathname","search",s)),Ne(!s.pathname||!s.pathname.includes("#"),Ac("#","pathname","hash",s)),Ne(!s.search||!s.search.includes("#"),Ac("#","search","hash",s)));let d=l===""||s.pathname==="",h=d?"/":s.pathname,p;if(h==null)p=c;else{let S=i.length-1;if(!o&&h.startsWith("..")){let M=h.split("/");for(;M[0]==="..";)M.shift(),S-=1;s.pathname=M.join("/")}p=S>=0?i[S]:"/"}let g=Iv(s,p),y=h&&h!=="/"&&h.endsWith("/"),v=(d||h===".")&&c.endsWith("/");return!g.pathname.endsWith("/")&&(y||v)&&(g.pathname+="/"),g}var Im=l=>l.replace(/\/\/+/g,"/"),Yt=l=>Im(l.join("/")),Gi=l=>l.replace(/\/+$/,""),t0=l=>Gi(l).replace(/^\/*/,"/"),n0=l=>!l||l==="?"?"":l.startsWith("?")?l:"?"+l,a0=l=>!l||l==="#"?"":l.startsWith("#")?l:"#"+l,l0=class{constructor(l,i,c,o=!1){this.status=l,this.statusText=i||"",this.internal=o,c instanceof Error?(this.data=c.toString(),this.error=c):this.data=c}};function u0(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.internal=="boolean"&&"data"in l}function i0(l){let i=l.map(c=>c.route.path).filter(Boolean);return Yt(i)||"/"}var ey=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ty(l,i){let c=l;if(typeof c!="string"||!Pv.test(c))return{absoluteURL:void 0,isExternal:!1,to:c};let o=c,s=!1;if(ey)try{let d=new URL(window.location.href),h=c.startsWith("//")?new URL(d.protocol+c):new URL(c),p=vn(h.pathname,i);h.origin===d.origin&&p!=null?c=p+h.search+h.hash:s=!0}catch{Gt(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:s,to:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ny=["POST","PUT","PATCH","DELETE"];new Set(ny);var r0=["GET",...ny];new Set(r0);var ll=T.createContext(null);ll.displayName="DataRouter";var Qi=T.createContext(null);Qi.displayName="DataRouterState";var ay=T.createContext(!1);function o0(){return T.useContext(ay)}var ly=T.createContext({isTransitioning:!1});ly.displayName="ViewTransition";var c0=T.createContext(new Map);c0.displayName="Fetchers";var s0=T.createContext(null);s0.displayName="Await";var Rt=T.createContext(null);Rt.displayName="Navigation";var uu=T.createContext(null);uu.displayName="Location";var Xt=T.createContext({outlet:null,matches:[],isDataRoute:!1});Xt.displayName="Route";var Zc=T.createContext(null);Zc.displayName="RouteError";var uy="REACT_ROUTER_ERROR",f0="REDIRECT",d0="ROUTE_ERROR_RESPONSE";function h0(l){if(l.startsWith(`${uy}:${f0}:{`))try{let i=JSON.parse(l.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="string"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function m0(l){if(l.startsWith(`${uy}:${d0}:{`))try{let i=JSON.parse(l.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new l0(i.status,i.statusText,i.data)}catch{}}function y0(l,{relative:i}={}){Ne(ul(),"useHref() may be used only in the context of a <Router> component.");let{basename:c,navigator:o}=T.useContext(Rt),{hash:s,pathname:d,search:h}=iu(l,{relative:i}),p=d;return c!=="/"&&(p=d==="/"?c:Yt([c,d])),o.createHref({pathname:p,search:h,hash:s})}function ul(){return T.useContext(uu)!=null}function $t(){return Ne(ul(),"useLocation() may be used only in the context of a <Router> component."),T.useContext(uu).location}var iy="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ry(l){T.useContext(Rt).static||T.useLayoutEffect(l)}function oy(){let{isDataRoute:l}=T.useContext(Xt);return l?D0():p0()}function p0(){Ne(ul(),"useNavigate() may be used only in the context of a <Router> component.");let l=T.useContext(ll),{basename:i,navigator:c}=T.useContext(Rt),{matches:o}=T.useContext(Xt),{pathname:s}=$t(),d=JSON.stringify(Qc(o)),h=T.useRef(!1);return ry(()=>{h.current=!0}),T.useCallback((g,y={})=>{if(Gt(h.current,iy),!h.current)return;if(typeof g=="number"){c.go(g);return}let v=Vi(g,JSON.parse(d),s,y.relative==="path");l==null&&i!=="/"&&(v.pathname=v.pathname==="/"?i:Yt([i,v.pathname])),(y.replace?c.replace:c.push)(v,y.state,y)},[i,c,d,s,l])}T.createContext(null);function g0(){let{matches:l}=T.useContext(Xt),i=l[l.length-1];return(i==null?void 0:i.params)??{}}function iu(l,{relative:i}={}){let{matches:c}=T.useContext(Xt),{pathname:o}=$t(),s=JSON.stringify(Qc(c));return T.useMemo(()=>Vi(l,JSON.parse(s),o,i==="path"),[l,s,o,i])}function v0(l,i){return cy(l,i)}function cy(l,i,c){var D;Ne(ul(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=T.useContext(Rt),{matches:s}=T.useContext(Xt),d=s[s.length-1],h=d?d.params:{},p=d?d.pathname:"/",g=d?d.pathnameBase:"/",y=d&&d.route;{let U=y&&y.path||"";fy(p,!y||U.endsWith("*")||U.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${U}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${U}"> to <Route path="${U==="/"?"*":`${U}/*`}">.`)}let v=$t(),S;if(i){let U=typeof i=="string"?al(i):i;Ne(g==="/"||((D=U.pathname)==null?void 0:D.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${U.pathname}" was given in the \`location\` prop.`),S=U}else S=v;let M=S.pathname||"/",Y=M;if(g!=="/"){let U=g.replace(/^\//,"").split("/");Y="/"+M.replace(/^\//,"").split("/").slice(U.length).join("/")}let q=c&&c.state.matches.length?c.state.matches.map(U=>Object.assign(U,{route:c.manifest[U.route.id]||U.route})):$m(l,{pathname:Y});Gt(y||q!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Gt(q==null||q[q.length-1].route.element!==void 0||q[q.length-1].route.Component!==void 0||q[q.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let N=A0(q&&q.map(U=>Object.assign({},U,{params:Object.assign({},h,U.params),pathname:Yt([g,o.encodeLocation?o.encodeLocation(U.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:U.pathname]),pathnameBase:U.pathnameBase==="/"?g:Yt([g,o.encodeLocation?o.encodeLocation(U.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:U.pathnameBase])})),s,c);return i&&N?T.createElement(uu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...S},navigationType:"POP"}},N):N}function b0(){let l=z0(),i=u0(l)?`${l.status} ${l.statusText}`:l instanceof Error?l.message:JSON.stringify(l),c=l instanceof Error?l.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o},d={padding:"2px 4px",backgroundColor:o},h=null;return console.error("Error handled by React Router default ErrorBoundary:",l),h=T.createElement(T.Fragment,null,T.createElement("p",null,"💿 Hey developer 👋"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:d},"ErrorBoundary")," or"," ",T.createElement("code",{style:d},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},i),c?T.createElement("pre",{style:s},c):null,h)}var S0=T.createElement(b0,null),sy=class extends T.Component{constructor(l){super(l),this.state={location:l.location,revalidation:l.revalidation,error:l.error}}static getDerivedStateFromError(l){return{error:l}}static getDerivedStateFromProps(l,i){return i.location!==l.location||i.revalidation!=="idle"&&l.revalidation==="idle"?{error:l.error,location:l.location,revalidation:l.revalidation}:{error:l.error!==void 0?l.error:i.error,location:i.location,revalidation:l.revalidation||i.revalidation}}componentDidCatch(l,i){this.props.onError?this.props.onError(l,i):console.error("React Router caught the following error during render",l)}render(){let l=this.state.error;if(this.context&&typeof l=="object"&&l&&"digest"in l&&typeof l.digest=="string"){const c=m0(l.digest);c&&(l=c)}let i=l!==void 0?T.createElement(Xt.Provider,{value:this.props.routeContext},T.createElement(Zc.Provider,{value:l,children:this.props.component})):this.props.children;return this.context?T.createElement(E0,{error:l},i):i}};sy.contextType=ay;var Tc=new WeakMap;function E0({children:l,error:i}){let{basename:c}=T.useContext(Rt);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let o=h0(i.digest);if(o){let s=Tc.get(i);if(s)throw s;let d=ty(o.location,c);if(ey&&!Tc.get(i))if(d.isExternal||o.reloadDocument)window.location.href=d.absoluteURL||d.to;else{const h=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:o.replace}));throw Tc.set(i,h),h}return T.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d.absoluteURL||d.to}`})}}return l}function _0({routeContext:l,match:i,children:c}){let o=T.useContext(ll);return o&&o.static&&o.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=i.route.id),T.createElement(Xt.Provider,{value:l},c)}function A0(l,i=[],c){let o=c==null?void 0:c.state;if(l==null){if(!o)return null;if(o.errors)l=o.matches;else if(i.length===0&&!o.initialized&&o.matches.length>0)l=o.matches;else return null}let s=l,d=o==null?void 0:o.errors;if(d!=null){let v=s.findIndex(S=>S.route.id&&(d==null?void 0:d[S.route.id])!==void 0);Ne(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),s=s.slice(0,Math.min(s.length,v+1))}let h=!1,p=-1;if(c&&o){h=o.renderFallback;for(let v=0;v<s.length;v++){let S=s[v];if((S.route.HydrateFallback||S.route.hydrateFallbackElement)&&(p=v),S.route.id){let{loaderData:M,errors:Y}=o,q=S.route.loader&&!M.hasOwnProperty(S.route.id)&&(!Y||Y[S.route.id]===void 0);if(S.route.lazy||q){c.isStatic&&(h=!0),p>=0?s=s.slice(0,p+1):s=[s[0]];break}}}}let g=c==null?void 0:c.onError,y=o&&g?(v,S)=>{var M,Y;g(v,{location:o.location,params:((Y=(M=o.matches)==null?void 0:M[0])==null?void 0:Y.params)??{},pattern:i0(o.matches),errorInfo:S})}:void 0;return s.reduceRight((v,S,M)=>{let Y,q=!1,N=null,D=null;o&&(Y=d&&S.route.id?d[S.route.id]:void 0,N=S.route.errorElement||S0,h&&(p<0&&M===0?(fy("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),q=!0,D=null):p===M&&(q=!0,D=S.route.hydrateFallbackElement||null)));let U=i.concat(s.slice(0,M+1)),Q=()=>{let X;return Y?X=N:q?X=D:S.route.Component?X=T.createElement(S.route.Component,null):S.route.element?X=S.route.element:X=v,T.createElement(_0,{match:S,routeContext:{outlet:v,matches:U,isDataRoute:o!=null},children:X})};return o&&(S.route.ErrorBoundary||S.route.errorElement||M===0)?T.createElement(sy,{location:o.location,revalidation:o.revalidation,component:N,error:Y,children:Q(),routeContext:{outlet:null,matches:U,isDataRoute:!0},onError:y}):Q()},null)}function Kc(l){return`${l} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function T0(l){let i=T.useContext(ll);return Ne(i,Kc(l)),i}function R0(l){let i=T.useContext(Qi);return Ne(i,Kc(l)),i}function O0(l){let i=T.useContext(Xt);return Ne(i,Kc(l)),i}function Jc(l){let i=O0(l),c=i.matches[i.matches.length-1];return Ne(c.route.id,`${l} can only be used on routes that contain a unique "id"`),c.route.id}function C0(){return Jc("useRouteId")}function z0(){var o;let l=T.useContext(Zc),i=R0("useRouteError"),c=Jc("useRouteError");return l!==void 0?l:(o=i.errors)==null?void 0:o[c]}function D0(){let{router:l}=T0("useNavigate"),i=Jc("useNavigate"),c=T.useRef(!1);return ry(()=>{c.current=!0}),T.useCallback(async(s,d={})=>{Gt(c.current,iy),c.current&&(typeof s=="number"?await l.navigate(s):await l.navigate(s,{fromRouteId:i,...d}))},[l,i])}var Rm={};function fy(l,i,c){!i&&!Rm[l]&&(Rm[l]=!0,Gt(!1,c))}T.memo(x0);function x0({routes:l,manifest:i,future:c,state:o,isStatic:s,onError:d}){return cy(l,void 0,{manifest:i,state:o,isStatic:s,onError:d})}function Xi({to:l,replace:i,state:c,relative:o}){Ne(ul(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=T.useContext(Rt);Gt(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:d}=T.useContext(Xt),{pathname:h}=$t(),p=oy(),g=Vi(l,Qc(d),h,o==="path"),y=JSON.stringify(g);return T.useEffect(()=>{p(JSON.parse(y),{replace:i,state:c,relative:o})},[p,y,o,i,c]),null}function Ft(l){Ne(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function M0({basename:l="/",children:i=null,location:c,navigationType:o="POP",navigator:s,static:d=!1,useTransitions:h}){Ne(!ul(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=l.replace(/^\/*/,"/"),g=T.useMemo(()=>({basename:p,navigator:s,static:d,useTransitions:h,future:{}}),[p,s,d,h]);typeof c=="string"&&(c=al(c));let{pathname:y="/",search:v="",hash:S="",state:M=null,key:Y="default",mask:q}=c,N=T.useMemo(()=>{let D=vn(y,p);return D==null?null:{location:{pathname:D,search:v,hash:S,state:M,key:Y,mask:q},navigationType:o}},[p,y,v,S,M,Y,o,q]);return Gt(N!=null,`<Router basename="${p}"> is not able to match the URL "${y}${v}${S}" because it does not start with the basename, so the <Router> won't render anything.`),N==null?null:T.createElement(Rt.Provider,{value:g},T.createElement(uu.Provider,{children:i,value:N}))}function N0({children:l,location:i}){return v0(wc(l),i)}function wc(l,i=[]){let c=[];return T.Children.forEach(l,(o,s)=>{if(!T.isValidElement(o))return;let d=[...i,s];if(o.type===T.Fragment){c.push.apply(c,wc(o.props.children,d));return}Ne(o.type===Ft,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ne(!o.props.index||!o.props.children,"An index route cannot have child routes.");let h={id:o.props.id||d.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(h.children=wc(o.props.children,d)),c.push(h)}),c}var wi="get",Li="application/x-www-form-urlencoded";function Zi(l){return typeof HTMLElement<"u"&&l instanceof HTMLElement}function U0(l){return Zi(l)&&l.tagName.toLowerCase()==="button"}function B0(l){return Zi(l)&&l.tagName.toLowerCase()==="form"}function w0(l){return Zi(l)&&l.tagName.toLowerCase()==="input"}function L0(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}function H0(l,i){return l.button===0&&(!i||i==="_self")&&!L0(l)}var xi=null;function j0(){if(xi===null)try{new FormData(document.createElement("form"),0),xi=!1}catch{xi=!0}return xi}var q0=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Rc(l){return l!=null&&!q0.has(l)?(Gt(!1,`"${l}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Li}"`),null):l}function Y0(l,i){let c,o,s,d,h;if(B0(l)){let p=l.getAttribute("action");o=p?vn(p,i):null,c=l.getAttribute("method")||wi,s=Rc(l.getAttribute("enctype"))||Li,d=new FormData(l)}else if(U0(l)||w0(l)&&(l.type==="submit"||l.type==="image")){let p=l.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=l.getAttribute("formaction")||p.getAttribute("action");if(o=g?vn(g,i):null,c=l.getAttribute("formmethod")||p.getAttribute("method")||wi,s=Rc(l.getAttribute("formenctype"))||Rc(p.getAttribute("enctype"))||Li,d=new FormData(p,l),!j0()){let{name:y,type:v,value:S}=l;if(v==="image"){let M=y?`${y}.`:"";d.append(`${M}x`,"0"),d.append(`${M}y`,"0")}else y&&d.append(y,S)}}else{if(Zi(l))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');c=wi,o=null,s=Li,h=l}return d&&s==="text/plain"&&(h=d,d=void 0),{action:o,method:c.toLowerCase(),encType:s,formData:d,body:h}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Fc(l,i){if(l===!1||l===null||typeof l>"u")throw new Error(i)}function dy(l,i,c,o){let s=typeof l=="string"?new URL(l,typeof window>"u"?"server://singlefetch/":window.location.origin):l;return c?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${o}`:s.pathname=`${s.pathname}.${o}`:s.pathname==="/"?s.pathname=`_root.${o}`:i&&vn(s.pathname,i)==="/"?s.pathname=`${Gi(i)}/_root.${o}`:s.pathname=`${Gi(s.pathname)}.${o}`,s}async function G0(l,i){if(l.id in i)return i[l.id];try{let c=await import(l.module);return i[l.id]=c,c}catch(c){return console.error(`Error loading route module \`${l.module}\`, reloading page...`),console.error(c),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function X0(l){return l==null?!1:l.href==null?l.rel==="preload"&&typeof l.imageSrcSet=="string"&&typeof l.imageSizes=="string":typeof l.rel=="string"&&typeof l.href=="string"}async function k0(l,i,c){let o=await Promise.all(l.map(async s=>{let d=i.routes[s.route.id];if(d){let h=await G0(d,c);return h.links?h.links():[]}return[]}));return K0(o.flat(1).filter(X0).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function Om(l,i,c,o,s,d){let h=(g,y)=>c[y]?g.route.id!==c[y].route.id:!0,p=(g,y)=>{var v;return c[y].pathname!==g.pathname||((v=c[y].route.path)==null?void 0:v.endsWith("*"))&&c[y].params["*"]!==g.params["*"]};return d==="assets"?i.filter((g,y)=>h(g,y)||p(g,y)):d==="data"?i.filter((g,y)=>{var S;let v=o.routes[g.route.id];if(!v||!v.hasLoader)return!1;if(h(g,y)||p(g,y))return!0;if(g.route.shouldRevalidate){let M=g.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:((S=c[0])==null?void 0:S.params)||{},nextUrl:new URL(l,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof M=="boolean")return M}return!0}):[]}function V0(l,i,{includeHydrateFallback:c}={}){return Q0(l.map(o=>{let s=i.routes[o.route.id];if(!s)return[];let d=[s.module];return s.clientActionModule&&(d=d.concat(s.clientActionModule)),s.clientLoaderModule&&(d=d.concat(s.clientLoaderModule)),c&&s.hydrateFallbackModule&&(d=d.concat(s.hydrateFallbackModule)),s.imports&&(d=d.concat(s.imports)),d}).flat(1))}function Q0(l){return[...new Set(l)]}function Z0(l){let i={},c=Object.keys(l).sort();for(let o of c)i[o]=l[o];return i}function K0(l,i){let c=new Set;return new Set(i),l.reduce((o,s)=>{let d=JSON.stringify(Z0(s));return c.has(d)||(c.add(d),o.push({key:d,link:s})),o},[])}function $c(){let l=T.useContext(ll);return Fc(l,"You must render this element inside a <DataRouterContext.Provider> element"),l}function J0(){let l=T.useContext(Qi);return Fc(l,"You must render this element inside a <DataRouterStateContext.Provider> element"),l}var Wc=T.createContext(void 0);Wc.displayName="FrameworkContext";function Pc(){let l=T.useContext(Wc);return Fc(l,"You must render this element inside a <HydratedRouter> element"),l}function F0(l,i){let c=T.useContext(Wc),[o,s]=T.useState(!1),[d,h]=T.useState(!1),{onFocus:p,onBlur:g,onMouseEnter:y,onMouseLeave:v,onTouchStart:S}=i,M=T.useRef(null);T.useEffect(()=>{if(l==="render"&&h(!0),l==="viewport"){let N=U=>{U.forEach(Q=>{h(Q.isIntersecting)})},D=new IntersectionObserver(N,{threshold:.5});return M.current&&D.observe(M.current),()=>{D.disconnect()}}},[l]),T.useEffect(()=>{if(o){let N=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(N)}}},[o]);let Y=()=>{s(!0)},q=()=>{s(!1),h(!1)};return c?l!=="intent"?[d,M,{}]:[d,M,{onFocus:tu(p,Y),onBlur:tu(g,q),onMouseEnter:tu(y,Y),onMouseLeave:tu(v,q),onTouchStart:tu(S,Y)}]:[!1,M,{}]}function tu(l,i){return c=>{l&&l(c),c.defaultPrevented||i(c)}}function $0({page:l,...i}){let c=o0(),{router:o}=$c(),s=T.useMemo(()=>$m(o.routes,l,o.basename),[o.routes,l,o.basename]);return s?c?T.createElement(P0,{page:l,matches:s,...i}):T.createElement(I0,{page:l,matches:s,...i}):null}function W0(l){let{manifest:i,routeModules:c}=Pc(),[o,s]=T.useState([]);return T.useEffect(()=>{let d=!1;return k0(l,i,c).then(h=>{d||s(h)}),()=>{d=!0}},[l,i,c]),o}function P0({page:l,matches:i,...c}){let o=$t(),{future:s}=Pc(),{basename:d}=$c(),h=T.useMemo(()=>{if(l===o.pathname+o.search+o.hash)return[];let p=dy(l,d,s.v8_trailingSlashAwareDataRequests,"rsc"),g=!1,y=[];for(let v of i)typeof v.route.shouldRevalidate=="function"?g=!0:y.push(v.route.id);return g&&y.length>0&&p.searchParams.set("_routes",y.join(",")),[p.pathname+p.search]},[d,s.v8_trailingSlashAwareDataRequests,l,o,i]);return T.createElement(T.Fragment,null,h.map(p=>T.createElement("link",{key:p,rel:"prefetch",as:"fetch",href:p,...c})))}function I0({page:l,matches:i,...c}){let o=$t(),{future:s,manifest:d,routeModules:h}=Pc(),{basename:p}=$c(),{loaderData:g,matches:y}=J0(),v=T.useMemo(()=>Om(l,i,y,d,o,"data"),[l,i,y,d,o]),S=T.useMemo(()=>Om(l,i,y,d,o,"assets"),[l,i,y,d,o]),M=T.useMemo(()=>{if(l===o.pathname+o.search+o.hash)return[];let N=new Set,D=!1;if(i.forEach(Q=>{var F;let X=d.routes[Q.route.id];!X||!X.hasLoader||(!v.some(ae=>ae.route.id===Q.route.id)&&Q.route.id in g&&((F=h[Q.route.id])!=null&&F.shouldRevalidate)||X.hasClientLoader?D=!0:N.add(Q.route.id))}),N.size===0)return[];let U=dy(l,p,s.v8_trailingSlashAwareDataRequests,"data");return D&&N.size>0&&U.searchParams.set("_routes",i.filter(Q=>N.has(Q.route.id)).map(Q=>Q.route.id).join(",")),[U.pathname+U.search]},[p,s.v8_trailingSlashAwareDataRequests,g,o,d,v,i,l,h]),Y=T.useMemo(()=>V0(S,d),[S,d]),q=W0(S);return T.createElement(T.Fragment,null,M.map(N=>T.createElement("link",{key:N,rel:"prefetch",as:"fetch",href:N,...c})),Y.map(N=>T.createElement("link",{key:N,rel:"modulepreload",href:N,...c})),q.map(({key:N,link:D})=>T.createElement("link",{key:N,nonce:c.nonce,...D,crossOrigin:D.crossOrigin??c.crossOrigin})))}function eb(...l){return i=>{l.forEach(c=>{typeof c=="function"?c(i):c!=null&&(c.current=i)})}}var tb=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{tb&&(window.__reactRouterVersion="7.16.0")}catch{}function nb({basename:l,children:i,useTransitions:c,window:o}){let s=T.useRef();s.current==null&&(s.current=Bv({window:o,v5Compat:!0}));let d=s.current,[h,p]=T.useState({action:d.action,location:d.location}),g=T.useCallback(y=>{c===!1?p(y):T.startTransition(()=>p(y))},[c]);return T.useLayoutEffect(()=>d.listen(g),[d,g]),T.createElement(M0,{basename:l,children:i,location:h.location,navigationType:h.action,navigator:d,useTransitions:c})}var hy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,my=T.forwardRef(function({onClick:i,discover:c="render",prefetch:o="none",relative:s,reloadDocument:d,replace:h,mask:p,state:g,target:y,to:v,preventScrollReset:S,viewTransition:M,defaultShouldRevalidate:Y,...q},N){let{basename:D,navigator:U,useTransitions:Q}=T.useContext(Rt),X=typeof v=="string"&&hy.test(v),F=ty(v,D);v=F.to;let ae=y0(v,{relative:s}),pe=$t(),te=null;if(p){let xe=Vi(p,[],pe.mask?pe.mask.pathname:"/",!0);D!=="/"&&(xe.pathname=xe.pathname==="/"?D:Yt([D,xe.pathname])),te=U.createHref(xe)}let[Ce,Qe,Ze]=F0(o,q),Ye=ib(v,{replace:h,mask:p,state:g,target:y,preventScrollReset:S,relative:s,viewTransition:M,defaultShouldRevalidate:Y,useTransitions:Q});function He(xe){i&&i(xe),xe.defaultPrevented||Ye(xe)}let ht=!(F.isExternal||d),Ue=T.createElement("a",{...q,...Ze,href:(ht?te:void 0)||F.absoluteURL||ae,onClick:ht?He:i,ref:eb(N,Qe),target:y,"data-discover":!X&&c==="render"?"true":void 0});return Ce&&!X?T.createElement(T.Fragment,null,Ue,T.createElement($0,{page:ae})):Ue});my.displayName="Link";var ab=T.forwardRef(function({"aria-current":i="page",caseSensitive:c=!1,className:o="",end:s=!1,style:d,to:h,viewTransition:p,children:g,...y},v){let S=iu(h,{relative:y.relative}),M=$t(),Y=T.useContext(Qi),{navigator:q,basename:N}=T.useContext(Rt),D=Y!=null&&fb(S)&&p===!0,U=q.encodeLocation?q.encodeLocation(S).pathname:S.pathname,Q=M.pathname,X=Y&&Y.navigation&&Y.navigation.location?Y.navigation.location.pathname:null;c||(Q=Q.toLowerCase(),X=X?X.toLowerCase():null,U=U.toLowerCase()),X&&N&&(X=vn(X,N)||X);const F=U!=="/"&&U.endsWith("/")?U.length-1:U.length;let ae=Q===U||!s&&Q.startsWith(U)&&Q.charAt(F)==="/",pe=X!=null&&(X===U||!s&&X.startsWith(U)&&X.charAt(U.length)==="/"),te={isActive:ae,isPending:pe,isTransitioning:D},Ce=ae?i:void 0,Qe;typeof o=="function"?Qe=o(te):Qe=[o,ae?"active":null,pe?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let Ze=typeof d=="function"?d(te):d;return T.createElement(my,{...y,"aria-current":Ce,className:Qe,ref:v,style:Ze,to:h,viewTransition:p},typeof g=="function"?g(te):g)});ab.displayName="NavLink";var lb=T.forwardRef(({discover:l="render",fetcherKey:i,navigate:c,reloadDocument:o,replace:s,state:d,method:h=wi,action:p,onSubmit:g,relative:y,preventScrollReset:v,viewTransition:S,defaultShouldRevalidate:M,...Y},q)=>{let{useTransitions:N}=T.useContext(Rt),D=cb(),U=sb(p,{relative:y}),Q=h.toLowerCase()==="get"?"get":"post",X=typeof p=="string"&&hy.test(p),F=ae=>{if(g&&g(ae),ae.defaultPrevented)return;ae.preventDefault();let pe=ae.nativeEvent.submitter,te=(pe==null?void 0:pe.getAttribute("formmethod"))||h,Ce=()=>D(pe||ae.currentTarget,{fetcherKey:i,method:te,navigate:c,replace:s,state:d,relative:y,preventScrollReset:v,viewTransition:S,defaultShouldRevalidate:M});N&&c!==!1?T.startTransition(()=>Ce()):Ce()};return T.createElement("form",{ref:q,method:Q,action:U,onSubmit:o?g:F,...Y,"data-discover":!X&&l==="render"?"true":void 0})});lb.displayName="Form";function ub(l){return`${l} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function yy(l){let i=T.useContext(ll);return Ne(i,ub(l)),i}function ib(l,{target:i,replace:c,mask:o,state:s,preventScrollReset:d,relative:h,viewTransition:p,defaultShouldRevalidate:g,useTransitions:y}={}){let v=oy(),S=$t(),M=iu(l,{relative:h});return T.useCallback(Y=>{if(H0(Y,i)){Y.preventDefault();let q=c!==void 0?c:lu(S)===lu(M),N=()=>v(l,{replace:q,mask:o,state:s,preventScrollReset:d,relative:h,viewTransition:p,defaultShouldRevalidate:g});y?T.startTransition(()=>N()):N()}},[S,v,M,c,o,s,i,l,d,h,p,g,y])}var rb=0,ob=()=>`__${String(++rb)}__`;function cb(){let{router:l}=yy("useSubmit"),{basename:i}=T.useContext(Rt),c=C0(),o=l.fetch,s=l.navigate;return T.useCallback(async(d,h={})=>{let{action:p,method:g,encType:y,formData:v,body:S}=Y0(d,i);if(h.navigate===!1){let M=h.fetcherKey||ob();await o(M,c,h.action||p,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:v,body:S,formMethod:h.method||g,formEncType:h.encType||y,flushSync:h.flushSync})}else await s(h.action||p,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:v,body:S,formMethod:h.method||g,formEncType:h.encType||y,replace:h.replace,state:h.state,fromRouteId:c,flushSync:h.flushSync,viewTransition:h.viewTransition})},[o,s,i,c])}function sb(l,{relative:i}={}){let{basename:c}=T.useContext(Rt),o=T.useContext(Xt);Ne(o,"useFormAction must be used inside a RouteContext");let[s]=o.matches.slice(-1),d={...iu(l||".",{relative:i})},h=$t();if(l==null){d.search=h.search;let p=new URLSearchParams(d.search),g=p.getAll("index");if(g.some(v=>v==="")){p.delete("index"),g.filter(S=>S).forEach(S=>p.append("index",S));let v=p.toString();d.search=v?`?${v}`:""}}return(!l||l===".")&&s.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),c!=="/"&&(d.pathname=d.pathname==="/"?c:Yt([c,d.pathname])),lu(d)}function fb(l,{relative:i}={}){let c=T.useContext(ly);Ne(c!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=yy("useViewTransitionState"),s=iu(l,{relative:i});if(!c.isTransitioning)return!1;let d=vn(c.currentLocation.pathname,o)||c.currentLocation.pathname,h=vn(c.nextLocation.pathname,o)||c.nextLocation.pathname;return Yi(s.pathname,h)!=null||Yi(s.pathname,d)!=null}function py(l,i){return function(){return l.apply(i,arguments)}}const{toString:db}=Object.prototype,{getPrototypeOf:Ki}=Object,{iterator:Ji,toStringTag:gy}=Symbol,Fi=(l=>i=>{const c=db.call(i);return l[c]||(l[c]=c.slice(8,-1).toLowerCase())})(Object.create(null)),kt=l=>(l=l.toLowerCase(),i=>Fi(i)===l),$i=l=>i=>typeof i===l,{isArray:il}=Array,nl=$i("undefined");function ru(l){return l!==null&&!nl(l)&&l.constructor!==null&&!nl(l.constructor)&&dt(l.constructor.isBuffer)&&l.constructor.isBuffer(l)}const vy=kt("ArrayBuffer");function hb(l){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(l):i=l&&l.buffer&&vy(l.buffer),i}const mb=$i("string"),dt=$i("function"),by=$i("number"),ou=l=>l!==null&&typeof l=="object",yb=l=>l===!0||l===!1,Hi=l=>{if(Fi(l)!=="object")return!1;const i=Ki(l);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(gy in l)&&!(Ji in l)},pb=l=>{if(!ou(l)||ru(l))return!1;try{return Object.keys(l).length===0&&Object.getPrototypeOf(l)===Object.prototype}catch{return!1}},gb=kt("Date"),vb=kt("File"),bb=l=>!!(l&&typeof l.uri<"u"),Sb=l=>l&&typeof l.getParts<"u",Eb=kt("Blob"),_b=kt("FileList"),Ab=l=>ou(l)&&dt(l.pipe);function Tb(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Cm=Tb(),zm=typeof Cm.FormData<"u"?Cm.FormData:void 0,Rb=l=>{if(!l)return!1;if(zm&&l instanceof zm)return!0;const i=Ki(l);if(!i||i===Object.prototype||!dt(l.append))return!1;const c=Fi(l);return c==="formdata"||c==="object"&&dt(l.toString)&&l.toString()==="[object FormData]"},Ob=kt("URLSearchParams"),[Cb,zb,Db,xb]=["ReadableStream","Request","Response","Headers"].map(kt),Mb=l=>l.trim?l.trim():l.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function cu(l,i,{allOwnKeys:c=!1}={}){if(l===null||typeof l>"u")return;let o,s;if(typeof l!="object"&&(l=[l]),il(l))for(o=0,s=l.length;o<s;o++)i.call(null,l[o],o,l);else{if(ru(l))return;const d=c?Object.getOwnPropertyNames(l):Object.keys(l),h=d.length;let p;for(o=0;o<h;o++)p=d[o],i.call(null,l[p],p,l)}}function Sy(l,i){if(ru(l))return null;i=i.toLowerCase();const c=Object.keys(l);let o=c.length,s;for(;o-- >0;)if(s=c[o],i===s.toLowerCase())return s;return null}const fa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ey=l=>!nl(l)&&l!==fa;function Lc(...l){const{caseless:i,skipUndefined:c}=Ey(this)&&this||{},o={},s=(d,h)=>{if(h==="__proto__"||h==="constructor"||h==="prototype")return;const p=i&&Sy(o,h)||h,g=Hc(o,p)?o[p]:void 0;Hi(g)&&Hi(d)?o[p]=Lc(g,d):Hi(d)?o[p]=Lc({},d):il(d)?o[p]=d.slice():(!c||!nl(d))&&(o[p]=d)};for(let d=0,h=l.length;d<h;d++)l[d]&&cu(l[d],s);return o}const Nb=(l,i,c,{allOwnKeys:o}={})=>(cu(i,(s,d)=>{c&&dt(s)?Object.defineProperty(l,d,{__proto__:null,value:py(s,c),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(l,d,{__proto__:null,value:s,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),l),Ub=l=>(l.charCodeAt(0)===65279&&(l=l.slice(1)),l),Bb=(l,i,c,o)=>{l.prototype=Object.create(i.prototype,o),Object.defineProperty(l.prototype,"constructor",{__proto__:null,value:l,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(l,"super",{__proto__:null,value:i.prototype}),c&&Object.assign(l.prototype,c)},wb=(l,i,c,o)=>{let s,d,h;const p={};if(i=i||{},l==null)return i;do{for(s=Object.getOwnPropertyNames(l),d=s.length;d-- >0;)h=s[d],(!o||o(h,l,i))&&!p[h]&&(i[h]=l[h],p[h]=!0);l=c!==!1&&Ki(l)}while(l&&(!c||c(l,i))&&l!==Object.prototype);return i},Lb=(l,i,c)=>{l=String(l),(c===void 0||c>l.length)&&(c=l.length),c-=i.length;const o=l.indexOf(i,c);return o!==-1&&o===c},Hb=l=>{if(!l)return null;if(il(l))return l;let i=l.length;if(!by(i))return null;const c=new Array(i);for(;i-- >0;)c[i]=l[i];return c},jb=(l=>i=>l&&i instanceof l)(typeof Uint8Array<"u"&&Ki(Uint8Array)),qb=(l,i)=>{const o=(l&&l[Ji]).call(l);let s;for(;(s=o.next())&&!s.done;){const d=s.value;i.call(l,d[0],d[1])}},Yb=(l,i)=>{let c;const o=[];for(;(c=l.exec(i))!==null;)o.push(c);return o},Gb=kt("HTMLFormElement"),Xb=l=>l.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(c,o,s){return o.toUpperCase()+s}),Hc=(({hasOwnProperty:l})=>(i,c)=>l.call(i,c))(Object.prototype),kb=kt("RegExp"),_y=(l,i)=>{const c=Object.getOwnPropertyDescriptors(l),o={};cu(c,(s,d)=>{let h;(h=i(s,d,l))!==!1&&(o[d]=h||s)}),Object.defineProperties(l,o)},Vb=l=>{_y(l,(i,c)=>{if(dt(l)&&["arguments","caller","callee"].includes(c))return!1;const o=l[c];if(dt(o)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+c+"'")})}})},Qb=(l,i)=>{const c={},o=s=>{s.forEach(d=>{c[d]=!0})};return il(l)?o(l):o(String(l).split(i)),c},Zb=()=>{},Kb=(l,i)=>l!=null&&Number.isFinite(l=+l)?l:i;function Jb(l){return!!(l&&dt(l.append)&&l[gy]==="FormData"&&l[Ji])}const Fb=l=>{const i=new WeakSet,c=o=>{if(ou(o)){if(i.has(o))return;if(ru(o))return o;if(!("toJSON"in o)){i.add(o);const s=il(o)?[]:{};return cu(o,(d,h)=>{const p=c(d);!nl(p)&&(s[h]=p)}),i.delete(o),s}}return o};return c(l)},$b=kt("AsyncFunction"),Wb=l=>l&&(ou(l)||dt(l))&&dt(l.then)&&dt(l.catch),Ay=((l,i)=>l?setImmediate:i?((c,o)=>(fa.addEventListener("message",({source:s,data:d})=>{s===fa&&d===c&&o.length&&o.shift()()},!1),s=>{o.push(s),fa.postMessage(c,"*")}))(`axios@${Math.random()}`,[]):c=>setTimeout(c))(typeof setImmediate=="function",dt(fa.postMessage)),Pb=typeof queueMicrotask<"u"?queueMicrotask.bind(fa):typeof process<"u"&&process.nextTick||Ay,Ib=l=>l!=null&&dt(l[Ji]),R={isArray:il,isArrayBuffer:vy,isBuffer:ru,isFormData:Rb,isArrayBufferView:hb,isString:mb,isNumber:by,isBoolean:yb,isObject:ou,isPlainObject:Hi,isEmptyObject:pb,isReadableStream:Cb,isRequest:zb,isResponse:Db,isHeaders:xb,isUndefined:nl,isDate:gb,isFile:vb,isReactNativeBlob:bb,isReactNative:Sb,isBlob:Eb,isRegExp:kb,isFunction:dt,isStream:Ab,isURLSearchParams:Ob,isTypedArray:jb,isFileList:_b,forEach:cu,merge:Lc,extend:Nb,trim:Mb,stripBOM:Ub,inherits:Bb,toFlatObject:wb,kindOf:Fi,kindOfTest:kt,endsWith:Lb,toArray:Hb,forEachEntry:qb,matchAll:Yb,isHTMLForm:Gb,hasOwnProperty:Hc,hasOwnProp:Hc,reduceDescriptors:_y,freezeMethods:Vb,toObjectSet:Qb,toCamelCase:Xb,noop:Zb,toFiniteNumber:Kb,findKey:Sy,global:fa,isContextDefined:Ey,isSpecCompliantForm:Jb,toJSONObject:Fb,isAsyncFn:$b,isThenable:Wb,setImmediate:Ay,asap:Pb,isIterable:Ib},eS=R.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tS=l=>{const i={};let c,o,s;return l&&l.split(`
`).forEach(function(h){s=h.indexOf(":"),c=h.substring(0,s).trim().toLowerCase(),o=h.substring(s+1).trim(),!(!c||i[c]&&eS[c])&&(c==="set-cookie"?i[c]?i[c].push(o):i[c]=[o]:i[c]=i[c]?i[c]+", "+o:o)}),i};function nS(l){let i=0,c=l.length;for(;i<c;){const o=l.charCodeAt(i);if(o!==9&&o!==32)break;i+=1}for(;c>i;){const o=l.charCodeAt(c-1);if(o!==9&&o!==32)break;c-=1}return i===0&&c===l.length?l:l.slice(i,c)}const aS=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),lS=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ic(l,i){return R.isArray(l)?l.map(c=>Ic(c,i)):nS(String(l).replace(i,""))}const uS=l=>Ic(l,aS),iS=l=>Ic(l,lS);function Ty(l){const i=Object.create(null);return R.forEach(l.toJSON(),(c,o)=>{i[o]=iS(c)}),i}const Dm=Symbol("internals");function nu(l){return l&&String(l).trim().toLowerCase()}function ji(l){return l===!1||l==null?l:R.isArray(l)?l.map(ji):uS(String(l))}function rS(l){const i=Object.create(null),c=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=c.exec(l);)i[o[1]]=o[2];return i}const oS=l=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(l.trim());function Oc(l,i,c,o,s){if(R.isFunction(o))return o.call(this,i,c);if(s&&(i=c),!!R.isString(i)){if(R.isString(o))return i.indexOf(o)!==-1;if(R.isRegExp(o))return o.test(i)}}function cS(l){return l.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,c,o)=>c.toUpperCase()+o)}function sS(l,i){const c=R.toCamelCase(" "+i);["get","set","has"].forEach(o=>{Object.defineProperty(l,o+c,{__proto__:null,value:function(s,d,h){return this[o].call(this,i,s,d,h)},configurable:!0})})}let lt=class{constructor(i){i&&this.set(i)}set(i,c,o){const s=this;function d(p,g,y){const v=nu(g);if(!v)throw new Error("header name must be a non-empty string");const S=R.findKey(s,v);(!S||s[S]===void 0||y===!0||y===void 0&&s[S]!==!1)&&(s[S||g]=ji(p))}const h=(p,g)=>R.forEach(p,(y,v)=>d(y,v,g));if(R.isPlainObject(i)||i instanceof this.constructor)h(i,c);else if(R.isString(i)&&(i=i.trim())&&!oS(i))h(tS(i),c);else if(R.isObject(i)&&R.isIterable(i)){let p={},g,y;for(const v of i){if(!R.isArray(v))throw TypeError("Object iterator must return a key-value pair");p[y=v[0]]=(g=p[y])?R.isArray(g)?[...g,v[1]]:[g,v[1]]:v[1]}h(p,c)}else i!=null&&d(c,i,o);return this}get(i,c){if(i=nu(i),i){const o=R.findKey(this,i);if(o){const s=this[o];if(!c)return s;if(c===!0)return rS(s);if(R.isFunction(c))return c.call(this,s,o);if(R.isRegExp(c))return c.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,c){if(i=nu(i),i){const o=R.findKey(this,i);return!!(o&&this[o]!==void 0&&(!c||Oc(this,this[o],o,c)))}return!1}delete(i,c){const o=this;let s=!1;function d(h){if(h=nu(h),h){const p=R.findKey(o,h);p&&(!c||Oc(o,o[p],p,c))&&(delete o[p],s=!0)}}return R.isArray(i)?i.forEach(d):d(i),s}clear(i){const c=Object.keys(this);let o=c.length,s=!1;for(;o--;){const d=c[o];(!i||Oc(this,this[d],d,i,!0))&&(delete this[d],s=!0)}return s}normalize(i){const c=this,o={};return R.forEach(this,(s,d)=>{const h=R.findKey(o,d);if(h){c[h]=ji(s),delete c[d];return}const p=i?cS(d):String(d).trim();p!==d&&delete c[d],c[p]=ji(s),o[p]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const c=Object.create(null);return R.forEach(this,(o,s)=>{o!=null&&o!==!1&&(c[s]=i&&R.isArray(o)?o.join(", "):o)}),c}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,c])=>i+": "+c).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...c){const o=new this(i);return c.forEach(s=>o.set(s)),o}static accessor(i){const o=(this[Dm]=this[Dm]={accessors:{}}).accessors,s=this.prototype;function d(h){const p=nu(h);o[p]||(sS(s,h),o[p]=!0)}return R.isArray(i)?i.forEach(d):d(i),this}};lt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(lt.prototype,({value:l},i)=>{let c=i[0].toUpperCase()+i.slice(1);return{get:()=>l,set(o){this[c]=o}}});R.freezeMethods(lt);const fS="[REDACTED ****]";function dS(l){if(R.hasOwnProp(l,"toJSON"))return!0;let i=Object.getPrototypeOf(l);for(;i&&i!==Object.prototype;){if(R.hasOwnProp(i,"toJSON"))return!0;i=Object.getPrototypeOf(i)}return!1}function hS(l,i){const c=new Set(i.map(d=>String(d).toLowerCase())),o=[],s=d=>{if(d===null||typeof d!="object"||R.isBuffer(d))return d;if(o.indexOf(d)!==-1)return;d instanceof lt&&(d=d.toJSON()),o.push(d);let h;if(R.isArray(d))h=[],d.forEach((p,g)=>{const y=s(p);R.isUndefined(y)||(h[g]=y)});else{if(!R.isPlainObject(d)&&dS(d))return o.pop(),d;h=Object.create(null);for(const[p,g]of Object.entries(d)){const y=c.has(p.toLowerCase())?fS:s(g);R.isUndefined(y)||(h[p]=y)}}return o.pop(),h};return s(l)}let K=class Ry extends Error{static from(i,c,o,s,d,h){const p=new Ry(i.message,c||i.code,o,s,d);return p.cause=i,p.name=i.name,i.status!=null&&p.status==null&&(p.status=i.status),h&&Object.assign(p,h),p}constructor(i,c,o,s,d){super(i),Object.defineProperty(this,"message",{__proto__:null,value:i,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,c&&(this.code=c),o&&(this.config=o),s&&(this.request=s),d&&(this.response=d,this.status=d.status)}toJSON(){const i=this.config,c=i&&R.hasOwnProp(i,"redact")?i.redact:void 0,o=R.isArray(c)&&c.length>0?hS(i,c):R.toJSONObject(i);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:o,code:this.code,status:this.status}}};K.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";K.ERR_BAD_OPTION="ERR_BAD_OPTION";K.ECONNABORTED="ECONNABORTED";K.ETIMEDOUT="ETIMEDOUT";K.ECONNREFUSED="ECONNREFUSED";K.ERR_NETWORK="ERR_NETWORK";K.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";K.ERR_DEPRECATED="ERR_DEPRECATED";K.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";K.ERR_BAD_REQUEST="ERR_BAD_REQUEST";K.ERR_CANCELED="ERR_CANCELED";K.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";K.ERR_INVALID_URL="ERR_INVALID_URL";K.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const mS=null;function jc(l){return R.isPlainObject(l)||R.isArray(l)}function Oy(l){return R.endsWith(l,"[]")?l.slice(0,-2):l}function Cc(l,i,c){return l?l.concat(i).map(function(s,d){return s=Oy(s),!c&&d?"["+s+"]":s}).join(c?".":""):i}function yS(l){return R.isArray(l)&&!l.some(jc)}const pS=R.toFlatObject(R,{},null,function(i){return/^is[A-Z]/.test(i)});function Wi(l,i,c){if(!R.isObject(l))throw new TypeError("target must be an object");i=i||new FormData,c=R.toFlatObject(c,{metaTokens:!0,dots:!1,indexes:!1},!1,function(D,U){return!R.isUndefined(U[D])});const o=c.metaTokens,s=c.visitor||S,d=c.dots,h=c.indexes,p=c.Blob||typeof Blob<"u"&&Blob,g=c.maxDepth===void 0?100:c.maxDepth,y=p&&R.isSpecCompliantForm(i);if(!R.isFunction(s))throw new TypeError("visitor must be a function");function v(N){if(N===null)return"";if(R.isDate(N))return N.toISOString();if(R.isBoolean(N))return N.toString();if(!y&&R.isBlob(N))throw new K("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(N)||R.isTypedArray(N)?y&&typeof Blob=="function"?new Blob([N]):Buffer.from(N):N}function S(N,D,U){let Q=N;if(R.isReactNative(i)&&R.isReactNativeBlob(N))return i.append(Cc(U,D,d),v(N)),!1;if(N&&!U&&typeof N=="object"){if(R.endsWith(D,"{}"))D=o?D:D.slice(0,-2),N=JSON.stringify(N);else if(R.isArray(N)&&yS(N)||(R.isFileList(N)||R.endsWith(D,"[]"))&&(Q=R.toArray(N)))return D=Oy(D),Q.forEach(function(F,ae){!(R.isUndefined(F)||F===null)&&i.append(h===!0?Cc([D],ae,d):h===null?D:D+"[]",v(F))}),!1}return jc(N)?!0:(i.append(Cc(U,D,d),v(N)),!1)}const M=[],Y=Object.assign(pS,{defaultVisitor:S,convertValue:v,isVisitable:jc});function q(N,D,U=0){if(!R.isUndefined(N)){if(U>g)throw new K("Object is too deeply nested ("+U+" levels). Max depth: "+g,K.ERR_FORM_DATA_DEPTH_EXCEEDED);if(M.indexOf(N)!==-1)throw Error("Circular reference detected in "+D.join("."));M.push(N),R.forEach(N,function(X,F){(!(R.isUndefined(X)||X===null)&&s.call(i,X,R.isString(F)?F.trim():F,D,Y))===!0&&q(X,D?D.concat(F):[F],U+1)}),M.pop()}}if(!R.isObject(l))throw new TypeError("data must be an object");return q(l),i}function xm(l){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(l).replace(/[!'()~]|%20/g,function(o){return i[o]})}function es(l,i){this._pairs=[],l&&Wi(l,this,i)}const Cy=es.prototype;Cy.append=function(i,c){this._pairs.push([i,c])};Cy.toString=function(i){const c=i?function(o){return i.call(this,o,xm)}:xm;return this._pairs.map(function(s){return c(s[0])+"="+c(s[1])},"").join("&")};function gS(l){return encodeURIComponent(l).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function zy(l,i,c){if(!i)return l;const o=c&&c.encode||gS,s=R.isFunction(c)?{serialize:c}:c,d=s&&s.serialize;let h;if(d?h=d(i,s):h=R.isURLSearchParams(i)?i.toString():new es(i,s).toString(o),h){const p=l.indexOf("#");p!==-1&&(l=l.slice(0,p)),l+=(l.indexOf("?")===-1?"?":"&")+h}return l}class Mm{constructor(){this.handlers=[]}use(i,c,o){return this.handlers.push({fulfilled:i,rejected:c,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){R.forEach(this.handlers,function(o){o!==null&&i(o)})}}const ts={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},vS=typeof URLSearchParams<"u"?URLSearchParams:es,bS=typeof FormData<"u"?FormData:null,SS=typeof Blob<"u"?Blob:null,ES={isBrowser:!0,classes:{URLSearchParams:vS,FormData:bS,Blob:SS},protocols:["http","https","file","blob","url","data"]},ns=typeof window<"u"&&typeof document<"u",qc=typeof navigator=="object"&&navigator||void 0,_S=ns&&(!qc||["ReactNative","NativeScript","NS"].indexOf(qc.product)<0),AS=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",TS=ns&&window.location.href||"http://localhost",RS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ns,hasStandardBrowserEnv:_S,hasStandardBrowserWebWorkerEnv:AS,navigator:qc,origin:TS},Symbol.toStringTag,{value:"Module"})),nt={...RS,...ES};function OS(l,i){return Wi(l,new nt.classes.URLSearchParams,{visitor:function(c,o,s,d){return nt.isNode&&R.isBuffer(c)?(this.append(o,c.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)},...i})}function CS(l){return R.matchAll(/\w+|\[(\w*)]/g,l).map(i=>i[0]==="[]"?"":i[1]||i[0])}function zS(l){const i={},c=Object.keys(l);let o;const s=c.length;let d;for(o=0;o<s;o++)d=c[o],i[d]=l[d];return i}function Dy(l){function i(c,o,s,d){let h=c[d++];if(h==="__proto__")return!0;const p=Number.isFinite(+h),g=d>=c.length;return h=!h&&R.isArray(s)?s.length:h,g?(R.hasOwnProp(s,h)?s[h]=R.isArray(s[h])?s[h].concat(o):[s[h],o]:s[h]=o,!p):((!R.hasOwnProp(s,h)||!R.isObject(s[h]))&&(s[h]=[]),i(c,o,s[h],d)&&R.isArray(s[h])&&(s[h]=zS(s[h])),!p)}if(R.isFormData(l)&&R.isFunction(l.entries)){const c={};return R.forEachEntry(l,(o,s)=>{i(CS(o),s,c,0)}),c}return null}const el=(l,i)=>l!=null&&R.hasOwnProp(l,i)?l[i]:void 0;function DS(l,i,c){if(R.isString(l))try{return(i||JSON.parse)(l),R.trim(l)}catch(o){if(o.name!=="SyntaxError")throw o}return(c||JSON.stringify)(l)}const su={transitional:ts,adapter:["xhr","http","fetch"],transformRequest:[function(i,c){const o=c.getContentType()||"",s=o.indexOf("application/json")>-1,d=R.isObject(i);if(d&&R.isHTMLForm(i)&&(i=new FormData(i)),R.isFormData(i))return s?JSON.stringify(Dy(i)):i;if(R.isArrayBuffer(i)||R.isBuffer(i)||R.isStream(i)||R.isFile(i)||R.isBlob(i)||R.isReadableStream(i))return i;if(R.isArrayBufferView(i))return i.buffer;if(R.isURLSearchParams(i))return c.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let p;if(d){const g=el(this,"formSerializer");if(o.indexOf("application/x-www-form-urlencoded")>-1)return OS(i,g).toString();if((p=R.isFileList(i))||o.indexOf("multipart/form-data")>-1){const y=el(this,"env"),v=y&&y.FormData;return Wi(p?{"files[]":i}:i,v&&new v,g)}}return d||s?(c.setContentType("application/json",!1),DS(i)):i}],transformResponse:[function(i){const c=el(this,"transitional")||su.transitional,o=c&&c.forcedJSONParsing,s=el(this,"responseType"),d=s==="json";if(R.isResponse(i)||R.isReadableStream(i))return i;if(i&&R.isString(i)&&(o&&!s||d)){const p=!(c&&c.silentJSONParsing)&&d;try{return JSON.parse(i,el(this,"parseReviver"))}catch(g){if(p)throw g.name==="SyntaxError"?K.from(g,K.ERR_BAD_RESPONSE,this,null,el(this,"response")):g}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nt.classes.FormData,Blob:nt.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};R.forEach(["delete","get","head","post","put","patch","query"],l=>{su.headers[l]={}});function zc(l,i){const c=this||su,o=i||c,s=lt.from(o.headers);let d=o.data;return R.forEach(l,function(p){d=p.call(c,d,s.normalize(),i?i.status:void 0)}),s.normalize(),d}function xy(l){return!!(l&&l.__CANCEL__)}let fu=class extends K{constructor(i,c,o){super(i??"canceled",K.ERR_CANCELED,c,o),this.name="CanceledError",this.__CANCEL__=!0}};function My(l,i,c){const o=c.config.validateStatus;!c.status||!o||o(c.status)?l(c):i(new K("Request failed with status code "+c.status,c.status>=400&&c.status<500?K.ERR_BAD_REQUEST:K.ERR_BAD_RESPONSE,c.config,c.request,c))}function xS(l){const i=/^([-+\w]{1,25}):(?:\/\/)?/.exec(l);return i&&i[1]||""}function MS(l,i){l=l||10;const c=new Array(l),o=new Array(l);let s=0,d=0,h;return i=i!==void 0?i:1e3,function(g){const y=Date.now(),v=o[d];h||(h=y),c[s]=g,o[s]=y;let S=d,M=0;for(;S!==s;)M+=c[S++],S=S%l;if(s=(s+1)%l,s===d&&(d=(d+1)%l),y-h<i)return;const Y=v&&y-v;return Y?Math.round(M*1e3/Y):void 0}}function NS(l,i){let c=0,o=1e3/i,s,d;const h=(y,v=Date.now())=>{c=v,s=null,d&&(clearTimeout(d),d=null),l(...y)};return[(...y)=>{const v=Date.now(),S=v-c;S>=o?h(y,v):(s=y,d||(d=setTimeout(()=>{d=null,h(s)},o-S)))},()=>s&&h(s)]}const ki=(l,i,c=3)=>{let o=0;const s=MS(50,250);return NS(d=>{if(!d||typeof d.loaded!="number")return;const h=d.loaded,p=d.lengthComputable?d.total:void 0,g=p!=null?Math.min(h,p):h,y=Math.max(0,g-o),v=s(y);o=Math.max(o,g);const S={loaded:g,total:p,progress:p?g/p:void 0,bytes:y,rate:v||void 0,estimated:v&&p?(p-g)/v:void 0,event:d,lengthComputable:p!=null,[i?"download":"upload"]:!0};l(S)},c)},Nm=(l,i)=>{const c=l!=null;return[o=>i[0]({lengthComputable:c,total:l,loaded:o}),i[1]]},Um=l=>(...i)=>R.asap(()=>l(...i)),US=nt.hasStandardBrowserEnv?((l,i)=>c=>(c=new URL(c,nt.origin),l.protocol===c.protocol&&l.host===c.host&&(i||l.port===c.port)))(new URL(nt.origin),nt.navigator&&/(msie|trident)/i.test(nt.navigator.userAgent)):()=>!0,BS=nt.hasStandardBrowserEnv?{write(l,i,c,o,s,d,h){if(typeof document>"u")return;const p=[`${l}=${encodeURIComponent(i)}`];R.isNumber(c)&&p.push(`expires=${new Date(c).toUTCString()}`),R.isString(o)&&p.push(`path=${o}`),R.isString(s)&&p.push(`domain=${s}`),d===!0&&p.push("secure"),R.isString(h)&&p.push(`SameSite=${h}`),document.cookie=p.join("; ")},read(l){if(typeof document>"u")return null;const i=document.cookie.split(";");for(let c=0;c<i.length;c++){const o=i[c].replace(/^\s+/,""),s=o.indexOf("=");if(s!==-1&&o.slice(0,s)===l)return decodeURIComponent(o.slice(s+1))}return null},remove(l){this.write(l,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function wS(l){return typeof l!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(l)}function LS(l,i){return i?l.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):l}function Ny(l,i,c){let o=!wS(i);return l&&(o||c===!1)?LS(l,i):i}const Bm=l=>l instanceof lt?{...l}:l;function ha(l,i){i=i||{};const c=Object.create(null);Object.defineProperty(c,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function o(y,v,S,M){return R.isPlainObject(y)&&R.isPlainObject(v)?R.merge.call({caseless:M},y,v):R.isPlainObject(v)?R.merge({},v):R.isArray(v)?v.slice():v}function s(y,v,S,M){if(R.isUndefined(v)){if(!R.isUndefined(y))return o(void 0,y,S,M)}else return o(y,v,S,M)}function d(y,v){if(!R.isUndefined(v))return o(void 0,v)}function h(y,v){if(R.isUndefined(v)){if(!R.isUndefined(y))return o(void 0,y)}else return o(void 0,v)}function p(y,v,S){if(R.hasOwnProp(i,S))return o(y,v);if(R.hasOwnProp(l,S))return o(void 0,y)}const g={url:d,method:d,data:d,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,withXSRFToken:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,allowedSocketPaths:h,responseEncoding:h,validateStatus:p,headers:(y,v,S)=>s(Bm(y),Bm(v),S,!0)};return R.forEach(Object.keys({...l,...i}),function(v){if(v==="__proto__"||v==="constructor"||v==="prototype")return;const S=R.hasOwnProp(g,v)?g[v]:s,M=R.hasOwnProp(l,v)?l[v]:void 0,Y=R.hasOwnProp(i,v)?i[v]:void 0,q=S(M,Y,v);R.isUndefined(q)&&S!==p||(c[v]=q)}),c}const HS=["content-type","content-length"];function jS(l,i,c){if(c!=="content-only"){l.set(i);return}Object.entries(i).forEach(([o,s])=>{HS.includes(o.toLowerCase())&&l.set(o,s)})}const qS=l=>encodeURIComponent(l).replace(/%([0-9A-F]{2})/gi,(i,c)=>String.fromCharCode(parseInt(c,16))),Uy=l=>{const i=ha({},l),c=M=>R.hasOwnProp(i,M)?i[M]:void 0,o=c("data");let s=c("withXSRFToken");const d=c("xsrfHeaderName"),h=c("xsrfCookieName");let p=c("headers");const g=c("auth"),y=c("baseURL"),v=c("allowAbsoluteUrls"),S=c("url");if(i.headers=p=lt.from(p),i.url=zy(Ny(y,S,v),l.params,l.paramsSerializer),g&&p.set("Authorization","Basic "+btoa((g.username||"")+":"+(g.password?qS(g.password):""))),R.isFormData(o)&&(nt.hasStandardBrowserEnv||nt.hasStandardBrowserWebWorkerEnv?p.setContentType(void 0):R.isFunction(o.getHeaders)&&jS(p,o.getHeaders(),c("formDataHeaderPolicy"))),nt.hasStandardBrowserEnv&&(R.isFunction(s)&&(s=s(i)),s===!0||s==null&&US(i.url))){const Y=d&&h&&BS.read(h);Y&&p.set(d,Y)}return i},YS=typeof XMLHttpRequest<"u",GS=YS&&function(l){return new Promise(function(c,o){const s=Uy(l);let d=s.data;const h=lt.from(s.headers).normalize();let{responseType:p,onUploadProgress:g,onDownloadProgress:y}=s,v,S,M,Y,q;function N(){Y&&Y(),q&&q(),s.cancelToken&&s.cancelToken.unsubscribe(v),s.signal&&s.signal.removeEventListener("abort",v)}let D=new XMLHttpRequest;D.open(s.method.toUpperCase(),s.url,!0),D.timeout=s.timeout;function U(){if(!D)return;const X=lt.from("getAllResponseHeaders"in D&&D.getAllResponseHeaders()),ae={data:!p||p==="text"||p==="json"?D.responseText:D.response,status:D.status,statusText:D.statusText,headers:X,config:l,request:D};My(function(te){c(te),N()},function(te){o(te),N()},ae),D=null}"onloadend"in D?D.onloadend=U:D.onreadystatechange=function(){!D||D.readyState!==4||D.status===0&&!(D.responseURL&&D.responseURL.startsWith("file:"))||setTimeout(U)},D.onabort=function(){D&&(o(new K("Request aborted",K.ECONNABORTED,l,D)),N(),D=null)},D.onerror=function(F){const ae=F&&F.message?F.message:"Network Error",pe=new K(ae,K.ERR_NETWORK,l,D);pe.event=F||null,o(pe),N(),D=null},D.ontimeout=function(){let F=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const ae=s.transitional||ts;s.timeoutErrorMessage&&(F=s.timeoutErrorMessage),o(new K(F,ae.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,l,D)),N(),D=null},d===void 0&&h.setContentType(null),"setRequestHeader"in D&&R.forEach(Ty(h),function(F,ae){D.setRequestHeader(ae,F)}),R.isUndefined(s.withCredentials)||(D.withCredentials=!!s.withCredentials),p&&p!=="json"&&(D.responseType=s.responseType),y&&([M,q]=ki(y,!0),D.addEventListener("progress",M)),g&&D.upload&&([S,Y]=ki(g),D.upload.addEventListener("progress",S),D.upload.addEventListener("loadend",Y)),(s.cancelToken||s.signal)&&(v=X=>{D&&(o(!X||X.type?new fu(null,l,D):X),D.abort(),N(),D=null)},s.cancelToken&&s.cancelToken.subscribe(v),s.signal&&(s.signal.aborted?v():s.signal.addEventListener("abort",v)));const Q=xS(s.url);if(Q&&!nt.protocols.includes(Q)){o(new K("Unsupported protocol "+Q+":",K.ERR_BAD_REQUEST,l));return}D.send(d||null)})},XS=(l,i)=>{if(l=l?l.filter(Boolean):[],!i&&!l.length)return;const c=new AbortController;let o=!1;const s=function(g){if(!o){o=!0,h();const y=g instanceof Error?g:this.reason;c.abort(y instanceof K?y:new fu(y instanceof Error?y.message:y))}};let d=i&&setTimeout(()=>{d=null,s(new K(`timeout of ${i}ms exceeded`,K.ETIMEDOUT))},i);const h=()=>{l&&(d&&clearTimeout(d),d=null,l.forEach(g=>{g.unsubscribe?g.unsubscribe(s):g.removeEventListener("abort",s)}),l=null)};l.forEach(g=>g.addEventListener("abort",s));const{signal:p}=c;return p.unsubscribe=()=>R.asap(h),p},kS=function*(l,i){let c=l.byteLength;if(c<i){yield l;return}let o=0,s;for(;o<c;)s=o+i,yield l.slice(o,s),o=s},VS=async function*(l,i){for await(const c of QS(l))yield*kS(c,i)},QS=async function*(l){if(l[Symbol.asyncIterator]){yield*l;return}const i=l.getReader();try{for(;;){const{done:c,value:o}=await i.read();if(c)break;yield o}}finally{await i.cancel()}},wm=(l,i,c,o)=>{const s=VS(l,i);let d=0,h,p=g=>{h||(h=!0,o&&o(g))};return new ReadableStream({async pull(g){try{const{done:y,value:v}=await s.next();if(y){p(),g.close();return}let S=v.byteLength;if(c){let M=d+=S;c(M)}g.enqueue(new Uint8Array(v))}catch(y){throw p(y),y}},cancel(g){return p(g),s.return()}},{highWaterMark:2})};function ZS(l){if(!l||typeof l!="string"||!l.startsWith("data:"))return 0;const i=l.indexOf(",");if(i<0)return 0;const c=l.slice(5,i),o=l.slice(i+1);if(/;base64/i.test(c)){let h=o.length;const p=o.length;for(let Y=0;Y<p;Y++)if(o.charCodeAt(Y)===37&&Y+2<p){const q=o.charCodeAt(Y+1),N=o.charCodeAt(Y+2);(q>=48&&q<=57||q>=65&&q<=70||q>=97&&q<=102)&&(N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102)&&(h-=2,Y+=2)}let g=0,y=p-1;const v=Y=>Y>=2&&o.charCodeAt(Y-2)===37&&o.charCodeAt(Y-1)===51&&(o.charCodeAt(Y)===68||o.charCodeAt(Y)===100);y>=0&&(o.charCodeAt(y)===61?(g++,y--):v(y)&&(g++,y-=3)),g===1&&y>=0&&(o.charCodeAt(y)===61||v(y))&&g++;const M=Math.floor(h/4)*3-(g||0);return M>0?M:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(o,"utf8");let d=0;for(let h=0,p=o.length;h<p;h++){const g=o.charCodeAt(h);if(g<128)d+=1;else if(g<2048)d+=2;else if(g>=55296&&g<=56319&&h+1<p){const y=o.charCodeAt(h+1);y>=56320&&y<=57343?(d+=4,h++):d+=3}else d+=3}return d}const as="1.16.1",Lm=64*1024,{isFunction:Mi}=R,Hm=(l,...i)=>{try{return!!l(...i)}catch{return!1}},KS=l=>{const i=R.global!==void 0&&R.global!==null?R.global:globalThis,{ReadableStream:c,TextEncoder:o}=i;l=R.merge.call({skipUndefined:!0},{Request:i.Request,Response:i.Response},l);const{fetch:s,Request:d,Response:h}=l,p=s?Mi(s):typeof fetch=="function",g=Mi(d),y=Mi(h);if(!p)return!1;const v=p&&Mi(c),S=p&&(typeof o=="function"?(U=>Q=>U.encode(Q))(new o):async U=>new Uint8Array(await new d(U).arrayBuffer())),M=g&&v&&Hm(()=>{let U=!1;const Q=new d(nt.origin,{body:new c,method:"POST",get duplex(){return U=!0,"half"}}),X=Q.headers.has("Content-Type");return Q.body!=null&&Q.body.cancel(),U&&!X}),Y=y&&v&&Hm(()=>R.isReadableStream(new h("").body)),q={stream:Y&&(U=>U.body)};p&&["text","arrayBuffer","blob","formData","stream"].forEach(U=>{!q[U]&&(q[U]=(Q,X)=>{let F=Q&&Q[U];if(F)return F.call(Q);throw new K(`Response type '${U}' is not supported`,K.ERR_NOT_SUPPORT,X)})});const N=async U=>{if(U==null)return 0;if(R.isBlob(U))return U.size;if(R.isSpecCompliantForm(U))return(await new d(nt.origin,{method:"POST",body:U}).arrayBuffer()).byteLength;if(R.isArrayBufferView(U)||R.isArrayBuffer(U))return U.byteLength;if(R.isURLSearchParams(U)&&(U=U+""),R.isString(U))return(await S(U)).byteLength},D=async(U,Q)=>{const X=R.toFiniteNumber(U.getContentLength());return X??N(Q)};return async U=>{let{url:Q,method:X,data:F,signal:ae,cancelToken:pe,timeout:te,onDownloadProgress:Ce,onUploadProgress:Qe,responseType:Ze,headers:Ye,withCredentials:He="same-origin",fetchOptions:ht,maxContentLength:Ue,maxBodyLength:xe}=Uy(U);const B=R.isNumber(Ue)&&Ue>-1,k=R.isNumber(xe)&&xe>-1;let I=s||fetch;Ze=Ze?(Ze+"").toLowerCase():"text";let se=XS([ae,pe&&pe.toAbortSignal()],te),oe=null;const E=se&&se.unsubscribe&&(()=>{se.unsubscribe()});let j;try{if(B&&typeof Q=="string"&&Q.startsWith("data:")&&ZS(Q)>Ue)throw new K("maxContentLength size of "+Ue+" exceeded",K.ERR_BAD_RESPONSE,U,oe);if(k&&X!=="get"&&X!=="head"){const le=await D(Ye,F);if(typeof le=="number"&&isFinite(le)&&le>xe)throw new K("Request body larger than maxBodyLength limit",K.ERR_BAD_REQUEST,U,oe)}if(Qe&&M&&X!=="get"&&X!=="head"&&(j=await D(Ye,F))!==0){let le=new d(Q,{method:"POST",body:F,duplex:"half"}),_e;if(R.isFormData(F)&&(_e=le.headers.get("content-type"))&&Ye.setContentType(_e),le.body){const[Vt,Wt]=Nm(j,ki(Um(Qe)));F=wm(le.body,Lm,Vt,Wt)}}R.isString(He)||(He=He?"include":"omit");const G=g&&"credentials"in d.prototype;if(R.isFormData(F)){const le=Ye.getContentType();le&&/^multipart\/form-data/i.test(le)&&!/boundary=/i.test(le)&&Ye.delete("content-type")}Ye.set("User-Agent","axios/"+as,!1);const V={...ht,signal:se,method:X.toUpperCase(),headers:Ty(Ye.normalize()),body:F,duplex:"half",credentials:G?He:void 0};oe=g&&new d(Q,V);let P=await(g?I(oe,ht):I(Q,V));if(B){const le=R.toFiniteNumber(P.headers.get("content-length"));if(le!=null&&le>Ue)throw new K("maxContentLength size of "+Ue+" exceeded",K.ERR_BAD_RESPONSE,U,oe)}const ie=Y&&(Ze==="stream"||Ze==="response");if(Y&&P.body&&(Ce||B||ie&&E)){const le={};["status","statusText","headers"].forEach(mt=>{le[mt]=P[mt]});const _e=R.toFiniteNumber(P.headers.get("content-length")),[Vt,Wt]=Ce&&Nm(_e,ki(Um(Ce),!0))||[];let ya=0;const du=mt=>{if(B&&(ya=mt,ya>Ue))throw new K("maxContentLength size of "+Ue+" exceeded",K.ERR_BAD_RESPONSE,U,oe);Vt&&Vt(mt)};P=new h(wm(P.body,Lm,du,()=>{Wt&&Wt(),E&&E()}),le)}Ze=Ze||"text";let ce=await q[R.findKey(q,Ze)||"text"](P,U);if(B&&!Y&&!ie){let le;if(ce!=null&&(typeof ce.byteLength=="number"?le=ce.byteLength:typeof ce.size=="number"?le=ce.size:typeof ce=="string"&&(le=typeof o=="function"?new o().encode(ce).byteLength:ce.length)),typeof le=="number"&&le>Ue)throw new K("maxContentLength size of "+Ue+" exceeded",K.ERR_BAD_RESPONSE,U,oe)}return!ie&&E&&E(),await new Promise((le,_e)=>{My(le,_e,{data:ce,headers:lt.from(P.headers),status:P.status,statusText:P.statusText,config:U,request:oe})})}catch(G){if(E&&E(),se&&se.aborted&&se.reason instanceof K){const V=se.reason;throw V.config=U,oe&&(V.request=oe),G!==V&&(V.cause=G),V}throw G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)?Object.assign(new K("Network Error",K.ERR_NETWORK,U,oe,G&&G.response),{cause:G.cause||G}):K.from(G,G&&G.code,U,oe,G&&G.response)}}},JS=new Map,By=l=>{let i=l&&l.env||{};const{fetch:c,Request:o,Response:s}=i,d=[o,s,c];let h=d.length,p=h,g,y,v=JS;for(;p--;)g=d[p],y=v.get(g),y===void 0&&v.set(g,y=p?new Map:KS(i)),v=y;return y};By();const ls={http:mS,xhr:GS,fetch:{get:By}};R.forEach(ls,(l,i)=>{if(l){try{Object.defineProperty(l,"name",{__proto__:null,value:i})}catch{}Object.defineProperty(l,"adapterName",{__proto__:null,value:i})}});const jm=l=>`- ${l}`,FS=l=>R.isFunction(l)||l===null||l===!1;function $S(l,i){l=R.isArray(l)?l:[l];const{length:c}=l;let o,s;const d={};for(let h=0;h<c;h++){o=l[h];let p;if(s=o,!FS(o)&&(s=ls[(p=String(o)).toLowerCase()],s===void 0))throw new K(`Unknown adapter '${p}'`);if(s&&(R.isFunction(s)||(s=s.get(i))))break;d[p||"#"+h]=s}if(!s){const h=Object.entries(d).map(([g,y])=>`adapter ${g} `+(y===!1?"is not supported by the environment":"is not available in the build"));let p=c?h.length>1?`since :
`+h.map(jm).join(`
`):" "+jm(h[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return s}const wy={getAdapter:$S,adapters:ls};function Dc(l){if(l.cancelToken&&l.cancelToken.throwIfRequested(),l.signal&&l.signal.aborted)throw new fu(null,l)}function qm(l){return Dc(l),l.headers=lt.from(l.headers),l.data=zc.call(l,l.transformRequest),["post","put","patch"].indexOf(l.method)!==-1&&l.headers.setContentType("application/x-www-form-urlencoded",!1),wy.getAdapter(l.adapter||su.adapter,l)(l).then(function(o){Dc(l),l.response=o;try{o.data=zc.call(l,l.transformResponse,o)}finally{delete l.response}return o.headers=lt.from(o.headers),o},function(o){if(!xy(o)&&(Dc(l),o&&o.response)){l.response=o.response;try{o.response.data=zc.call(l,l.transformResponse,o.response)}finally{delete l.response}o.response.headers=lt.from(o.response.headers)}return Promise.reject(o)})}const Pi={};["object","boolean","number","function","string","symbol"].forEach((l,i)=>{Pi[l]=function(o){return typeof o===l||"a"+(i<1?"n ":" ")+l}});const Ym={};Pi.transitional=function(i,c,o){function s(d,h){return"[Axios v"+as+"] Transitional option '"+d+"'"+h+(o?". "+o:"")}return(d,h,p)=>{if(i===!1)throw new K(s(h," has been removed"+(c?" in "+c:"")),K.ERR_DEPRECATED);return c&&!Ym[h]&&(Ym[h]=!0,console.warn(s(h," has been deprecated since v"+c+" and will be removed in the near future"))),i?i(d,h,p):!0}};Pi.spelling=function(i){return(c,o)=>(console.warn(`${o} is likely a misspelling of ${i}`),!0)};function WS(l,i,c){if(typeof l!="object")throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const o=Object.keys(l);let s=o.length;for(;s-- >0;){const d=o[s],h=Object.prototype.hasOwnProperty.call(i,d)?i[d]:void 0;if(h){const p=l[d],g=p===void 0||h(p,d,l);if(g!==!0)throw new K("option "+d+" must be "+g,K.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new K("Unknown option "+d,K.ERR_BAD_OPTION)}}const qi={assertOptions:WS,validators:Pi},Lt=qi.validators;let da=class{constructor(i){this.defaults=i||{},this.interceptors={request:new Mm,response:new Mm}}async request(i,c){try{return await this._request(i,c)}catch(o){if(o instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const d=(()=>{if(!s.stack)return"";const h=s.stack.indexOf(`
`);return h===-1?"":s.stack.slice(h+1)})();try{if(!o.stack)o.stack=d;else if(d){const h=d.indexOf(`
`),p=h===-1?-1:d.indexOf(`
`,h+1),g=p===-1?"":d.slice(p+1);String(o.stack).endsWith(g)||(o.stack+=`
`+d)}}catch{}}throw o}}_request(i,c){typeof i=="string"?(c=c||{},c.url=i):c=i||{},c=ha(this.defaults,c);const{transitional:o,paramsSerializer:s,headers:d}=c;o!==void 0&&qi.assertOptions(o,{silentJSONParsing:Lt.transitional(Lt.boolean),forcedJSONParsing:Lt.transitional(Lt.boolean),clarifyTimeoutError:Lt.transitional(Lt.boolean),legacyInterceptorReqResOrdering:Lt.transitional(Lt.boolean)},!1),s!=null&&(R.isFunction(s)?c.paramsSerializer={serialize:s}:qi.assertOptions(s,{encode:Lt.function,serialize:Lt.function},!0)),c.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?c.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:c.allowAbsoluteUrls=!0),qi.assertOptions(c,{baseUrl:Lt.spelling("baseURL"),withXsrfToken:Lt.spelling("withXSRFToken")},!0),c.method=(c.method||this.defaults.method||"get").toLowerCase();let h=d&&R.merge(d.common,d[c.method]);d&&R.forEach(["delete","get","head","post","put","patch","query","common"],q=>{delete d[q]}),c.headers=lt.concat(h,d);const p=[];let g=!0;this.interceptors.request.forEach(function(N){if(typeof N.runWhen=="function"&&N.runWhen(c)===!1)return;g=g&&N.synchronous;const D=c.transitional||ts;D&&D.legacyInterceptorReqResOrdering?p.unshift(N.fulfilled,N.rejected):p.push(N.fulfilled,N.rejected)});const y=[];this.interceptors.response.forEach(function(N){y.push(N.fulfilled,N.rejected)});let v,S=0,M;if(!g){const q=[qm.bind(this),void 0];for(q.unshift(...p),q.push(...y),M=q.length,v=Promise.resolve(c);S<M;)v=v.then(q[S++],q[S++]);return v}M=p.length;let Y=c;for(;S<M;){const q=p[S++],N=p[S++];try{Y=q(Y)}catch(D){N.call(this,D);break}}try{v=qm.call(this,Y)}catch(q){return Promise.reject(q)}for(S=0,M=y.length;S<M;)v=v.then(y[S++],y[S++]);return v}getUri(i){i=ha(this.defaults,i);const c=Ny(i.baseURL,i.url,i.allowAbsoluteUrls);return zy(c,i.params,i.paramsSerializer)}};R.forEach(["delete","get","head","options"],function(i){da.prototype[i]=function(c,o){return this.request(ha(o||{},{method:i,url:c,data:(o||{}).data}))}});R.forEach(["post","put","patch","query"],function(i){function c(o){return function(d,h,p){return this.request(ha(p||{},{method:i,headers:o?{"Content-Type":"multipart/form-data"}:{},url:d,data:h}))}}da.prototype[i]=c(),i!=="query"&&(da.prototype[i+"Form"]=c(!0))});let PS=class Ly{constructor(i){if(typeof i!="function")throw new TypeError("executor must be a function.");let c;this.promise=new Promise(function(d){c=d});const o=this;this.promise.then(s=>{if(!o._listeners)return;let d=o._listeners.length;for(;d-- >0;)o._listeners[d](s);o._listeners=null}),this.promise.then=s=>{let d;const h=new Promise(p=>{o.subscribe(p),d=p}).then(s);return h.cancel=function(){o.unsubscribe(d)},h},i(function(d,h,p){o.reason||(o.reason=new fu(d,h,p),c(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const c=this._listeners.indexOf(i);c!==-1&&this._listeners.splice(c,1)}toAbortSignal(){const i=new AbortController,c=o=>{i.abort(o)};return this.subscribe(c),i.signal.unsubscribe=()=>this.unsubscribe(c),i.signal}static source(){let i;return{token:new Ly(function(s){i=s}),cancel:i}}};function IS(l){return function(c){return l.apply(null,c)}}function e1(l){return R.isObject(l)&&l.isAxiosError===!0}const Yc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Yc).forEach(([l,i])=>{Yc[i]=l});function Hy(l){const i=new da(l),c=py(da.prototype.request,i);return R.extend(c,da.prototype,i,{allOwnKeys:!0}),R.extend(c,i,null,{allOwnKeys:!0}),c.create=function(s){return Hy(ha(l,s))},c}const Le=Hy(su);Le.Axios=da;Le.CanceledError=fu;Le.CancelToken=PS;Le.isCancel=xy;Le.VERSION=as;Le.toFormData=Wi;Le.AxiosError=K;Le.Cancel=Le.CanceledError;Le.all=function(i){return Promise.all(i)};Le.spread=IS;Le.isAxiosError=e1;Le.mergeConfig=ha;Le.AxiosHeaders=lt;Le.formToJSON=l=>Dy(R.isHTMLForm(l)?new FormData(l):l);Le.getAdapter=wy.getAdapter;Le.HttpStatusCode=Yc;Le.default=Le;const{Axios:lE,AxiosError:uE,CanceledError:iE,isCancel:rE,CancelToken:oE,VERSION:cE,all:sE,Cancel:fE,isAxiosError:dE,spread:hE,toFormData:mE,AxiosHeaders:yE,HttpStatusCode:pE,formToJSON:gE,getAdapter:vE,mergeConfig:bE,create:SE}=Le,gn=Le.create({baseURL:"/api",headers:{"Content-Type":"application/json"}});gn.interceptors.request.use(l=>{const i=localStorage.getItem("access_token");return i&&(l.headers.Authorization=`Bearer ${i}`),l});let xc=!1,Mc=[];gn.interceptors.response.use(l=>l,async l=>{var c;const i=l.config;if(((c=l.response)==null?void 0:c.status)!==401||i._retry)return Promise.reject(l);if(xc)return new Promise(o=>{Mc.push(s=>{i.headers.Authorization=`Bearer ${s}`,o(gn(i))})});i._retry=!0,xc=!0;try{const o=localStorage.getItem("refresh_token");if(!o)throw new Error("No refresh token");const{data:s}=await Le.post("/api/auth/token/refresh/",{refresh:o});return localStorage.setItem("access_token",s.access),Mc.forEach(d=>d(s.access)),Mc=[],i.headers.Authorization=`Bearer ${s.access}`,gn(i)}catch{return localStorage.removeItem("access_token"),localStorage.removeItem("refresh_token"),window.location.href="/auth",Promise.reject(l)}finally{xc=!1}});const jy=T.createContext(null);function t1({children:l}){const[i,c]=T.useState(null),[o,s]=T.useState(!0);T.useEffect(()=>{const g=localStorage.getItem("access_token");if(g)try{const y=JSON.parse(atob(g.split(".")[1]??""));c({email:y.email??y.sub??"user"})}catch{localStorage.removeItem("access_token"),localStorage.removeItem("refresh_token")}s(!1)},[]);const d=T.useCallback(async(g,y)=>{const{data:v}=await gn.post("/auth/token/",{email:g,password:y});localStorage.setItem("access_token",v.access),localStorage.setItem("refresh_token",v.refresh);const S=JSON.parse(atob(v.access.split(".")[1]??""));c({email:S.email??S.sub??"user"})},[]),h=T.useCallback(async(g,y)=>{await gn.post("/auth/register/",{email:g,password:y}),await d(g,y)},[d]),p=T.useCallback(()=>{localStorage.removeItem("access_token"),localStorage.removeItem("refresh_token"),c(null)},[]);return W.jsx(jy.Provider,{value:{isAuthenticated:!!i,loading:o,user:i,login:d,register:h,logout:p},children:l})}function qy(){const l=T.useContext(jy);if(!l)throw new Error("useAuth must be used within an AuthProvider");return l}var Gc=function(){return Gc=Object.assign||function(l){for(var i,c=1,o=arguments.length;c<o;c++)for(var s in i=arguments[c])Object.prototype.hasOwnProperty.call(i,s)&&(l[s]=i[s]);return l},Gc.apply(this,arguments)},Yy=T.createContext({}),Ni=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n1="[object GeneratorFunction]",a1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l1=/^\w*$/,u1=/^\./,i1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r1=/\\(\\)?/g,o1=/^\[object .+?Constructor\]$/,c1=typeof Ni=="object"&&Ni&&Ni.Object===Object&&Ni,s1=typeof self=="object"&&self&&self.Object===Object&&self,us=c1||s1||Function("return this")(),Gm,f1=Array.prototype,d1=Function.prototype,Gy=Object.prototype,Nc=us["__core-js_shared__"],Xm=(Gm=/[^.]+$/.exec(Nc&&Nc.keys&&Nc.keys.IE_PROTO||""))?"Symbol(src)_1."+Gm:"",Xy=d1.toString,Xc=Gy.hasOwnProperty,ky=Gy.toString,h1=RegExp("^"+Xy.call(Xc).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),km=us.Symbol,m1=f1.splice,y1=Vy(us,"Map"),au=Vy(Object,"create"),Vm=km?km.prototype:void 0,Qm=Vm?Vm.toString:void 0;function oa(l){var i=-1,c=l?l.length:0;for(this.clear();++i<c;){var o=l[i];this.set(o[0],o[1])}}function tl(l){var i=-1,c=l?l.length:0;for(this.clear();++i<c;){var o=l[i];this.set(o[0],o[1])}}function sa(l){var i=-1,c=l?l.length:0;for(this.clear();++i<c;){var o=l[i];this.set(o[0],o[1])}}function Ui(l,i){for(var c,o,s=l.length;s--;)if((c=l[s][0])===(o=i)||c!=c&&o!=o)return s;return-1}function p1(l,i){var c;i=(function(d,h){if(Zm(d))return!1;var p=typeof d;return p=="number"||p=="symbol"||p=="boolean"||d==null||rs(d)?!0:l1.test(d)||!a1.test(d)||h!=null&&d in Object(h)})(i,l)?[i]:Zm(c=i)?c:v1(c);for(var o=0,s=i.length;l!=null&&o<s;)l=l[b1(i[o++])];return o&&o==s?l:void 0}function g1(l){if(!Km(l)||(i=l,Xm&&Xm in i))return!1;var i,c=(function(o){var s=Km(o)?ky.call(o):"";return s=="[object Function]"||s==n1})(l)||(function(o){var s=!1;if(o!=null&&typeof o.toString!="function")try{s=!!(o+"")}catch{}return s})(l)?h1:o1;return c.test((function(o){if(o!=null){try{return Xy.call(o)}catch{}try{return o+""}catch{}}return""})(l))}function Bi(l,i){var c,o,s=l.__data__;return((o=typeof(c=i))=="string"||o=="number"||o=="symbol"||o=="boolean"?c!=="__proto__":c===null)?s[typeof i=="string"?"string":"hash"]:s.map}function Vy(l,i){var c=(function(o,s){return o==null?void 0:o[s]})(l,i);return g1(c)?c:void 0}oa.prototype.clear=function(){this.__data__=au?au(null):{}},oa.prototype.delete=function(l){return this.has(l)&&delete this.__data__[l]},oa.prototype.get=function(l){var i=this.__data__;if(au){var c=i[l];return c==="__lodash_hash_undefined__"?void 0:c}return Xc.call(i,l)?i[l]:void 0},oa.prototype.has=function(l){var i=this.__data__;return au?i[l]!==void 0:Xc.call(i,l)},oa.prototype.set=function(l,i){return this.__data__[l]=au&&i===void 0?"__lodash_hash_undefined__":i,this},tl.prototype.clear=function(){this.__data__=[]},tl.prototype.delete=function(l){var i=this.__data__,c=Ui(i,l);return!(c<0)&&(c==i.length-1?i.pop():m1.call(i,c,1),!0)},tl.prototype.get=function(l){var i=this.__data__,c=Ui(i,l);return c<0?void 0:i[c][1]},tl.prototype.has=function(l){return Ui(this.__data__,l)>-1},tl.prototype.set=function(l,i){var c=this.__data__,o=Ui(c,l);return o<0?c.push([l,i]):c[o][1]=i,this},sa.prototype.clear=function(){this.__data__={hash:new oa,map:new(y1||tl),string:new oa}},sa.prototype.delete=function(l){return Bi(this,l).delete(l)},sa.prototype.get=function(l){return Bi(this,l).get(l)},sa.prototype.has=function(l){return Bi(this,l).has(l)},sa.prototype.set=function(l,i){return Bi(this,l).set(l,i),this};var v1=is((function(l){var i;l=(i=l)==null?"":(function(o){if(typeof o=="string")return o;if(rs(o))return Qm?Qm.call(o):"";var s=o+"";return s=="0"&&1/o==-1/0?"-0":s})(i);var c=[];return u1.test(l)&&c.push(""),l.replace(i1,(function(o,s,d,h){c.push(d?h.replace(r1,"$1"):s||o)})),c}));function b1(l){if(typeof l=="string"||rs(l))return l;var i=l+"";return i=="0"&&1/l==-1/0?"-0":i}function is(l,i){if(typeof l!="function"||i&&typeof i!="function")throw new TypeError("Expected a function");var c=function(){var o=arguments,s=i?i.apply(this,o):o[0],d=c.cache;if(d.has(s))return d.get(s);var h=l.apply(this,o);return c.cache=d.set(s,h),h};return c.cache=new(is.Cache||sa),c}is.Cache=sa;var Zm=Array.isArray;function Km(l){var i=typeof l;return!!l&&(i=="object"||i=="function")}function rs(l){return typeof l=="symbol"||(function(i){return!!i&&typeof i=="object"})(l)&&ky.call(l)=="[object Symbol]"}var S1=function(l,i,c){var o=l==null?void 0:p1(l,i);return o===void 0?c:o},Qy=function(){var l=T.useContext(Yy),i=l.language,c=l.setLanguage,o=l.locale,s=T.useCallback((function(h){var p="Missing translation: '".concat(h,"'");return console.error(p,`
Lang:`,i),p}),[i]),d=T.useCallback((function(h,p,g){g===void 0&&(g={});var y=S1(o,h);return typeof y!="string"?g.ignoreError?"":s(h):(function(v,S){return S===void 0&&(S={}),Object.entries(S).forEach((function(M){var Y=M[0],q=M[1];v=v.replace("{{".concat(Y,"}}"),q)})),v})(y,p)}),[o,s]);return{t:d,language:i,setLanguage:c}};function E1(l){var i=l.locales,c=l.defaultLanguage,o=l.children,s=(function(g,y){var v=T.useState(y),S=v[0],M=v[1];T.useEffect((function(){var q=(function(){var N=window.localStorage.getItem("lang");if(N&&g.includes(N))return N;var D=window.navigator.language;return D&&g.includes(D)?D:y})();M(q),window.localStorage.setItem("lang",q)}),[y,g]),T.useEffect((function(){document.documentElement.lang=S}),[S]);var Y=T.useCallback((function(q){var N=g.includes(q),D=N?q:y;M(D),window.localStorage.setItem("lang",D),N||console.error("Unsupported language: ",q)}),[g,y]);return[S,Y]})(T.useMemo((function(){return Object.keys(i)}),[i]),c),d=s[0],h=s[1],p=T.useMemo((function(){return i[d]}),[d,i]);return W.jsx(Yy.Provider,Gc({value:{language:d,setLanguage:h,locales:i,locale:p}},{children:o}))}const _1={common:{loading:"Loading...",back:"Back",save:"Save",saving:"Saving...",retry:"Retry",dismiss:"Dismiss",cancel:"Cancel",delete:"Delete",deleting:"Deleting...",edit:"Edit",unknownError:"Something went wrong",unknownAuthor:"Unknown Author",appName:"Cloud Reader"},auth:{signIn:"Sign In",createAccount:"Create Account",email:"Email",password:"Password",confirmPassword:"Confirm Password",emailPlaceholder:"you@example.com",passwordPlaceholder:"At least 8 characters",confirmPasswordPlaceholder:"Repeat your password",signingIn:"Signing in...",creatingAccount:"Creating account...",noAccount:"Don't have an account?",hasAccount:"Already have an account?",register:"Register",passwordsMismatch:"Passwords do not match.",loginFailed:"Login failed",registrationFailed:"Registration failed"},library:{title:"Library",bookCountOne:"{{count}} book",bookCountMany:"{{count}} books",addBook:"Add Book",bookmarks:"Bookmarks",settings:"Settings",logout:"Logout",searchPlaceholder:"Search by title, author, or genre...",voiceSearchTitle:"Search with voice",voiceSearchStopTitle:"Stop listening",filtersShow:"Filters",filtersHide:"Filters",filtersLabel:"Filters",genre:"Genre",author:"Author",status:"Status",allGenres:"All Genres",allAuthors:"All Authors",allStatuses:"All Statuses",clearFilters:"Clear",loadFailed:"Failed to load books",listening:"Listening... speak now",stop:"Stop",voiceNoSpeech:"No speech detected. Try again.",voiceError:"Voice search: {{message}}",pdfNotice:"PDF reading is not supported in the web reader. Upload an EPUB to read here.",emptyTitle:"Your library is empty",emptyFilteredTitle:"No books found",emptyDescription:"Add a book to get started building your collection.",emptyFilteredDescription:"Try adjusting your search query or filters to discover more books.",clearAllFilters:"Clear All Filters",addFirstBook:"Add Your First Book",readingStatus:{wantToRead:"Want to Read",opened:"Opened",reading:"Reading",readingWithProgress:"Reading · {{percent}}%",finished:"Finished",dnf:"Did Not Finish",uploaded:"Uploaded"}},contextMenu:{syncMetadata:"Sync metadata",syncingMetadata:"Syncing metadata…",remove:"Remove",removing:"Removing…",confirmRemove:'Remove "{{title}}" from your library?'},toast:{metadataSynced:'Metadata synced for "{{title}}"',noMatch:"No Open Library match found",refreshDone:"Metadata refresh completed",removed:'"{{title}}" removed from your library'},settings:{title:"Reading Settings",loading:"Loading settings...",loadFailed:"Failed to load settings",saveFailed:"Failed to save settings",saved:"Settings saved!",uiLanguage:"UI Language",uiLanguageEn:"English",uiLanguageEs:"Español",fontSize:"Font Size ({{size}}px)",fontStyle:"Font Style",backgroundColor:"Background Color",fontSans:"Sans Serif",fontSerif:"Serif",fontMonospace:"Monospace",bgWhite:"White",bgSepia:"Sepia",bgDark:"Dark",bgGreen:"Green",saveSettings:"Save Settings"},reader:{loading:"Loading reader...",reading:"Reading",loadBookFailed:"Failed to load book details",epubOnly:"PDF reading is not supported in the web reader. EPUB only.",unableToOpen:"Unable to open this book.",backToLibrary:"Back to library",prevPage:"Previous page",nextPage:"Next page",backToLibraryAria:"Back to library",tocAria:"Table of contents",settingsAria:"Reading settings",settingsTitle:"Reading Settings",closeSettingsAria:"Close settings",theme:"Theme",font:"Font",fontSize:"Font Size: {{size}}px",lineHeight:"Line Height: {{value}}",margins:"Margins: {{value}}px",brightness:"Brightness: {{value}}%",orientation:"Orientation",themeSepia:"Sepia",themeDark:"Dark",themeLight:"Light",themePaper:"Paper",fontSans:"Sans-serif",fontSerif:"Serif",fontMonospace:"Monospace",orientationAuto:"Auto",orientationPortrait:"Portrait",orientationLandscape:"Landscape",fontSizeAria:"Font size",lineHeightAria:"Line height",marginWidthAria:"Margin width",brightnessAria:"Brightness",tocTitle:"Contents",closeTocAria:"Close table of contents",tocEmpty:"No chapters available."},addBook:{title:"Add Book",fileLabel:"File (EPUB or PDF) *",selected:"Selected: {{name}}",titleLabel:"Title *",titlePlaceholder:"Book title",authorLabel:"Author",authorPlaceholder:"Author name",uploading:"Uploading...",upload:"Upload Book",fileTypeError:"Only EPUB and PDF files are supported.",requiredError:"Title and file are required.",uploadFailed:"Upload failed."},bookDetail:{backToLibrary:"Back to Library",back:"Back",notFound:"Book not found",notFoundDescription:"The book you're looking for doesn't exist or has been removed.",invalidId:"Invalid book ID",loadFailed:"Failed to load book details",byAuthor:"by {{author}}",pages:"{{count}} pages",description:"Description",added:"Added {{date}}",updated:"Updated {{date}}"},search:{searching:"Searching...",noSuggestions:"No quick suggestions"},annotations:{title:"Bookmarks & Notes",loading:"Loading markers...",empty:"No bookmarks or notes yet.",bookmarkCount:"{{count}} bookmarks",noteCount:"{{count}} notes",markerCount:"{{count}} markers",bookmark:"Bookmark",note:"Note",bookmarkOnly:"Bookmark",saveMarker:"Save",markerSaved:"Bookmark saved",markerSavedWithNote:"Note saved",thoughtPlaceholder:"Your thought about this passage (optional)",selectTextHint:"Select text in the reader to add a bookmark or note.",goToPassage:"Go to passage",goToPage:"Go to page",inBookPanel:"Bookmarks in this book",chapterIndex:"Chapter {{index}}",page:"Page {{page}}",pageShort:"p.{{page}}",loadingBookmarks:"Loading bookmarks...",bookmarksEmpty:"No bookmarks yet. Select a passage and add a bookmark while reading.",loadingNotes:"Loading notes...",notesEmpty:"No notes yet. Select a passage and add a note while reading.",addToPage:"Add to Page {{page}}",addBookmark:"Add Bookmark",addNote:"Add Note",noteLabel:"Note:",notePlaceholder:"Write your note here...",noteEmpty:"Note content cannot be empty.",saveFailed:"Failed to save annotation.",close:"Close",home:"Home",bookmarksNotes:"Bookmarks & Notes"}},A1={common:{loading:"Cargando...",back:"Volver",save:"Guardar",saving:"Guardando...",retry:"Reintentar",dismiss:"Descartar",cancel:"Cancelar",delete:"Eliminar",deleting:"Eliminando...",edit:"Editar",unknownError:"Algo salió mal",unknownAuthor:"Autor desconocido",appName:"Cloud Reader"},auth:{signIn:"Iniciar sesión",createAccount:"Crear cuenta",email:"Correo electrónico",password:"Contraseña",confirmPassword:"Confirmar contraseña",emailPlaceholder:"tu@ejemplo.com",passwordPlaceholder:"Al menos 8 caracteres",confirmPasswordPlaceholder:"Repite tu contraseña",signingIn:"Iniciando sesión...",creatingAccount:"Creando cuenta...",noAccount:"¿No tienes cuenta?",hasAccount:"¿Ya tienes cuenta?",register:"Registrarse",passwordsMismatch:"Las contraseñas no coinciden.",loginFailed:"Error al iniciar sesión",registrationFailed:"Error al registrarse"},library:{title:"Biblioteca",bookCountOne:"{{count}} libro",bookCountMany:"{{count}} libros",addBook:"Añadir libro",bookmarks:"Marcadores",settings:"Ajustes",logout:"Cerrar sesión",searchPlaceholder:"Buscar por título, autor o género...",voiceSearchTitle:"Buscar con voz",voiceSearchStopTitle:"Dejar de escuchar",filtersShow:"Filtros",filtersHide:"Filtros",filtersLabel:"Filtros",genre:"Género",author:"Autor",status:"Estado",allGenres:"Todos los géneros",allAuthors:"Todos los autores",allStatuses:"Todos los estados",clearFilters:"Limpiar",loadFailed:"Error al cargar los libros",listening:"Escuchando... habla ahora",stop:"Detener",voiceNoSpeech:"No se detectó voz. Inténtalo de nuevo.",voiceError:"Búsqueda por voz: {{message}}",pdfNotice:"La lectura de PDF no está disponible en el lector web. Sube un EPUB para leer aquí.",emptyTitle:"Tu biblioteca está vacía",emptyFilteredTitle:"No se encontraron libros",emptyDescription:"Añade un libro para empezar tu colección.",emptyFilteredDescription:"Prueba a ajustar la búsqueda o los filtros.",clearAllFilters:"Limpiar todos los filtros",addFirstBook:"Añade tu primer libro",readingStatus:{wantToRead:"Quiero leer",opened:"Abierto",reading:"Leyendo",readingWithProgress:"Leyendo · {{percent}}%",finished:"Terminado",dnf:"No terminado",uploaded:"Subido"}},contextMenu:{syncMetadata:"Sincronizar metadatos",syncingMetadata:"Sincronizando metadatos…",remove:"Eliminar",removing:"Eliminando…",confirmRemove:'¿Eliminar "{{title}}" de tu biblioteca?'},toast:{metadataSynced:'Metadatos sincronizados para "{{title}}"',noMatch:"No se encontró coincidencia en Open Library",refreshDone:"Actualización de metadatos completada",removed:'"{{title}}" eliminado de tu biblioteca'},settings:{title:"Ajustes de lectura",loading:"Cargando ajustes...",loadFailed:"Error al cargar los ajustes",saveFailed:"Error al guardar los ajustes",saved:"¡Ajustes guardados!",uiLanguage:"Idioma de la interfaz",uiLanguageEn:"English",uiLanguageEs:"Español",fontSize:"Tamaño de fuente ({{size}}px)",fontStyle:"Estilo de fuente",backgroundColor:"Color de fondo",fontSans:"Sans Serif",fontSerif:"Serif",fontMonospace:"Monospace",bgWhite:"Blanco",bgSepia:"Sepia",bgDark:"Oscuro",bgGreen:"Verde",saveSettings:"Guardar ajustes"},reader:{loading:"Cargando lector...",reading:"Leyendo",loadBookFailed:"Error al cargar los detalles del libro",epubOnly:"La lectura de PDF no está disponible en el lector web. Solo EPUB.",unableToOpen:"No se puede abrir este libro.",backToLibrary:"Volver a la biblioteca",prevPage:"Página anterior",nextPage:"Página siguiente",backToLibraryAria:"Volver a la biblioteca",tocAria:"Tabla de contenidos",settingsAria:"Ajustes de lectura",settingsTitle:"Ajustes de lectura",closeSettingsAria:"Cerrar ajustes",theme:"Tema",font:"Fuente",fontSize:"Tamaño de fuente: {{size}}px",lineHeight:"Interlineado: {{value}}",margins:"Márgenes: {{value}}px",brightness:"Brillo: {{value}}%",orientation:"Orientación",themeSepia:"Sepia",themeDark:"Oscuro",themeLight:"Claro",themePaper:"Papel",fontSans:"Sans-serif",fontSerif:"Serif",fontMonospace:"Monospace",orientationAuto:"Auto",orientationPortrait:"Vertical",orientationLandscape:"Horizontal",fontSizeAria:"Tamaño de fuente",lineHeightAria:"Interlineado",marginWidthAria:"Ancho de márgenes",brightnessAria:"Brillo",tocTitle:"Contenido",closeTocAria:"Cerrar tabla de contenidos",tocEmpty:"No hay capítulos disponibles."},addBook:{title:"Añadir libro",fileLabel:"Archivo (EPUB o PDF) *",selected:"Seleccionado: {{name}}",titleLabel:"Título *",titlePlaceholder:"Título del libro",authorLabel:"Autor",authorPlaceholder:"Nombre del autor",uploading:"Subiendo...",upload:"Subir libro",fileTypeError:"Solo se admiten archivos EPUB y PDF.",requiredError:"El título y el archivo son obligatorios.",uploadFailed:"Error al subir."},bookDetail:{backToLibrary:"Volver a la biblioteca",back:"Volver",notFound:"Libro no encontrado",notFoundDescription:"El libro que buscas no existe o fue eliminado.",invalidId:"ID de libro no válido",loadFailed:"Error al cargar los detalles del libro",byAuthor:"de {{author}}",pages:"{{count}} páginas",description:"Descripción",added:"Añadido {{date}}",updated:"Actualizado {{date}}"},search:{searching:"Buscando...",noSuggestions:"Sin sugerencias rápidas"},annotations:{title:"Marcadores y notas",loading:"Cargando marcadores...",empty:"Aún no hay marcadores ni notas.",bookmarkCount:"{{count}} marcadores",noteCount:"{{count}} notas",markerCount:"{{count}} marcadores",bookmark:"Marcador",note:"Nota",bookmarkOnly:"Marcador",saveMarker:"Guardar",markerSaved:"Marcador guardado",markerSavedWithNote:"Nota guardada",thoughtPlaceholder:"Tu reflexión sobre este pasaje (opcional)",selectTextHint:"Selecciona texto en el lector para añadir un marcador o nota.",goToPassage:"Ir al pasaje",goToPage:"Ir a la página",inBookPanel:"Marcadores de este libro",chapterIndex:"Capítulo {{index}}",page:"Página {{page}}",pageShort:"p.{{page}}",loadingBookmarks:"Cargando marcadores...",bookmarksEmpty:"Aún no hay marcadores. Selecciona un pasaje mientras lees.",loadingNotes:"Cargando notas...",notesEmpty:"Aún no hay notas. Selecciona un pasaje mientras lees.",addToPage:"Añadir a la página {{page}}",addBookmark:"Añadir marcador",addNote:"Añadir nota",noteLabel:"Nota:",notePlaceholder:"Escribe tu nota aquí...",noteEmpty:"El contenido de la nota no puede estar vacío.",saveFailed:"Error al guardar la anotación.",close:"Cerrar",home:"Inicio",bookmarksNotes:"Marcadores y notas"}},kc="cloud-reader.locale",T1={"en-US":_1,"es-ES":A1};function R1(){try{const l=localStorage.getItem(kc);if(l==="en-US"||l==="es-ES")return l}catch{}return typeof navigator<"u"&&navigator.language.toLowerCase().startsWith("es")?"es-ES":"en-US"}function EE(l){return{want_to_read:"library.readingStatus.wantToRead",opened:"library.readingStatus.opened",reading:"library.readingStatus.reading",finished:"library.readingStatus.finished",dnf:"library.readingStatus.dnf",uploaded:"library.readingStatus.uploaded"}[l]??"library.readingStatus.uploaded"}function O1(){const{language:l,setLanguage:i}=Qy();return T.useEffect(()=>{const c=localStorage.getItem(kc);(c==="en-US"||c==="es-ES")&&i(c)},[i]),T.useEffect(()=>{localStorage.setItem(kc,l),document.documentElement.lang=l.startsWith("es")?"es":"en"},[l]),null}function C1({children:l}){return W.jsxs(E1,{locales:T1,defaultLanguage:R1(),children:[W.jsx(O1,{}),l]})}const z1="_container_1df8g_1",D1="_toast_1df8g_25",x1="_slideIn_1df8g_1",M1="_success_1df8g_45",N1="_error_1df8g_57",U1="_warning_1df8g_69",Uc={container:z1,toast:D1,slideIn:x1,success:M1,error:N1,warning:U1};function B1({toasts:l}){return l.length===0?null:W.jsx("div",{className:Uc.container,role:"status","aria-live":"polite",children:l.map(i=>W.jsx("div",{className:`${Uc.toast} ${Uc[i.variant]}`,children:i.message},i.id))})}const Zy=T.createContext(null),w1=4e3;function L1({children:l}){const[i,c]=T.useState([]),o=T.useRef(new Map),s=T.useCallback(p=>{const g=o.current.get(p);g&&(clearTimeout(g),o.current.delete(p)),c(y=>y.filter(v=>v.id!==p))},[]),d=T.useCallback(({message:p,variant:g="success",durationMs:y=w1})=>{const v=crypto.randomUUID();c(M=>[...M,{id:v,message:p,variant:g}]);const S=setTimeout(()=>s(v),y);o.current.set(v,S)},[s]),h=T.useMemo(()=>({showToast:d}),[d]);return W.jsxs(Zy.Provider,{value:h,children:[l,W.jsx(B1,{toasts:i})]})}function _E(){const l=T.useContext(Zy);if(!l)throw new Error("useToast must be used within ToastProvider");return l}async function H1(l){const i={};l!=null&&l!==""&&(i.ebook=String(l));const{data:c}=await gn.get("/annotations/bookmarks/",{params:i});return c}async function j1(l){const{data:i}=await gn.post("/annotations/bookmarks/",l);return i}async function q1(l){await gn.delete(`/annotations/bookmarks/${l}/`)}function Ky(l){return{id:l.id,ebook_id:l.ebook,ebook_title:l.ebook_title,epub_cfi:l.epub_cfi,chapter_index:l.chapter_index,chapter_title:l.chapter_title,page:l.page,location_text:l.location_text,content:l.content,created_at:l.created_at,updated_at:l.updated_at}}function Jy(l,i){return l.chapter_index!==i.chapter_index?l.chapter_index-i.chapter_index:l.epub_cfi.localeCompare(i.epub_cfi)}function Y1(l){const i=new Map;for(const o of l){const s=Ky(o),d=i.get(o.ebook);d?d.markers.push(s):i.set(o.ebook,{ebookId:o.ebook,ebookTitle:o.ebook_title,markers:[s]})}const c=Array.from(i.values());for(const o of c)o.markers.sort(Jy);return c.sort((o,s)=>o.ebookTitle.localeCompare(s.ebookTitle)),c}const G1={bookmarks:[],bookmarksLoading:!1,error:null};function X1(l,i){switch(i.type){case"FETCH_BOOKMARKS_START":return{...l,bookmarksLoading:!0,error:null};case"FETCH_BOOKMARKS_SUCCESS":{const c=[...i.payload].sort((o,s)=>o.chapter_index!==s.chapter_index?o.chapter_index-s.chapter_index:o.epub_cfi.localeCompare(s.epub_cfi));return{...l,bookmarks:c,bookmarksLoading:!1}}case"SET_ERROR":return{...l,error:i.payload,bookmarksLoading:!1};case"REMOVE_BOOKMARK":return{...l,bookmarks:l.bookmarks.filter(c=>c.id!==i.payload)};case"ADD_BOOKMARK":{const c=[...l.bookmarks,i.payload].sort((o,s)=>o.chapter_index!==s.chapter_index?o.chapter_index-s.chapter_index:o.epub_cfi.localeCompare(s.epub_cfi));return{...l,bookmarks:c}}default:return l}}const Fy=T.createContext(null);function k1({children:l}){const[i,c]=T.useReducer(X1,G1),o=T.useCallback(async y=>{c({type:"FETCH_BOOKMARKS_START"});try{const v=await H1(y);c({type:"FETCH_BOOKMARKS_SUCCESS",payload:v.results})}catch(v){c({type:"SET_ERROR",payload:v instanceof Error?v.message:"Failed to load bookmarks"})}},[]),s=T.useCallback(async y=>{const v=await j1(y);return c({type:"ADD_BOOKMARK",payload:v}),v},[]),d=T.useCallback(async y=>{await q1(y),c({type:"REMOVE_BOOKMARK",payload:y})},[]),h=T.useMemo(()=>i.bookmarks.map(Ky).sort(Jy),[i.bookmarks]),p=T.useMemo(()=>Y1(i.bookmarks),[i.bookmarks]),g={state:i,markers:h,markersByBook:p,loadBookmarks:o,addMarker:s,removeBookmark:d};return W.jsx(Fy.Provider,{value:g,children:l})}function AE(){const l=T.useContext(Fy);if(!l)throw new Error("useAnnotations must be used within an AnnotationsProvider");return l}const V1=T.lazy(()=>ma(()=>import("./Library-Ci_rxC-B.js"),__vite__mapDeps([0,1,2,3,4])).then(l=>({default:l.LibraryPage}))),Q1=T.lazy(()=>ma(()=>import("./BookDetailPage-B8jJgony.js"),__vite__mapDeps([5,1,2])).then(l=>({default:l.BookDetailPage}))),Z1=T.lazy(()=>ma(()=>import("./AddBook-DiryQGMk.js"),__vite__mapDeps([6,1,3])).then(l=>({default:l.AddBookPage}))),K1=T.lazy(()=>ma(()=>import("./Settings-DkxftMXf.js"),__vite__mapDeps([7,1])).then(l=>({default:l.SettingsPage}))),J1=T.lazy(()=>ma(()=>import("./BookmarksNotesPage-BpEBiOkO.js"),[]).then(l=>({default:l.BookmarksNotesPage}))),F1=T.lazy(()=>ma(()=>import("./ReadingPage-KSOW0yWe.js"),__vite__mapDeps([8,1,3,9])).then(l=>({default:l.default}))),$1=T.lazy(()=>ma(()=>import("./AuthPage-Dbb0UvrV.js"),__vite__mapDeps([10,3])).then(l=>({default:()=>{const[i,c]=T.useState(!0);return i?W.jsx(l.LoginPage,{onToggle:()=>c(!1)}):W.jsx(l.RegisterPage,{onToggle:()=>c(!0)})}})));function $y(){const{t:l}=Qy();return W.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"100vh",color:"#888",fontSize:16},children:W.jsx("p",{children:l("common.loading")})})}function ca({children:l}){const{isAuthenticated:i,loading:c}=qy();return c?W.jsx($y,{}):i?W.jsx(W.Fragment,{children:l}):W.jsx(Xi,{to:"/auth",replace:!0})}function W1(){const{id:l}=g0();return W.jsx(Xi,{to:`/read/${l??""}`,replace:!0})}function P1(){const{isAuthenticated:l}=qy();return W.jsx(T.Suspense,{fallback:W.jsx($y,{}),children:W.jsxs(N0,{children:[W.jsx(Ft,{path:"/auth",element:l?W.jsx(Xi,{to:"/",replace:!0}):W.jsx($1,{})}),W.jsx(Ft,{path:"/",element:W.jsx(ca,{children:W.jsx(V1,{})})}),W.jsx(Ft,{path:"/books/:id",element:W.jsx(ca,{children:W.jsx(Q1,{})})}),W.jsx(Ft,{path:"/read/:id",element:W.jsx(ca,{children:W.jsx(F1,{})})}),W.jsx(Ft,{path:"/reader/:id",element:W.jsx(ca,{children:W.jsx(W1,{})})}),W.jsx(Ft,{path:"/add",element:W.jsx(ca,{children:W.jsx(Z1,{})})}),W.jsx(Ft,{path:"/settings",element:W.jsx(ca,{children:W.jsx(K1,{})})}),W.jsx(Ft,{path:"/bookmarks-notes/:bookId?",element:W.jsx(ca,{children:W.jsx(J1,{})})}),W.jsx(Ft,{path:"*",element:W.jsx(Xi,{to:"/",replace:!0})})]})})}function I1(){return W.jsx(nb,{children:W.jsx(C1,{children:W.jsx(t1,{children:W.jsx(L1,{children:W.jsx(k1,{children:W.jsx(P1,{})})})})})})}const Jm=document.getElementById("root");Jm&&Mv.createRoot(Jm).render(W.jsx(Av.StrictMode,{children:W.jsx(I1,{})}));export{Av as R,Qy as X,ma as _,gn as a,Le as b,eE as c,EE as d,qy as e,$t as f,Fm as g,oy as h,g0 as i,W as j,_E as k,T as r,AE as u};
