(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))c(o);new MutationObserver(o=>{for(const d of o)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&c(h)}).observe(document,{childList:!0,subtree:!0});function s(o){const d={};return o.integrity&&(d.integrity=o.integrity),o.referrerPolicy&&(d.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?d.credentials="include":o.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function c(o){if(o.ep)return;o.ep=!0;const d=s(o);fetch(o.href,d)}})();function Zm(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var gs={exports:{}},ci={};/**
 * @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 um;function dv(){if(um)return ci;um=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function s(c,o,d){var h=null;if(d!==void 0&&(h=""+d),o.key!==void 0&&(h=""+o.key),"key"in o){d={};for(var y in o)y!=="key"&&(d[y]=o[y])}else d=o;return o=d.ref,{$$typeof:n,type:c,key:h,ref:o!==void 0?o:null,props:d}}return ci.Fragment=r,ci.jsx=s,ci.jsxs=s,ci}var rm;function hv(){return rm||(rm=1,gs.exports=dv()),gs.exports}var p=hv(),bs={exports:{}},re={};/**
 * @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 cm;function mv(){if(cm)return re;cm=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),N=Symbol.iterator;function w(E){return E===null||typeof E!="object"?null:(E=N&&E[N]||E["@@iterator"],typeof E=="function"?E:null)}var Q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,B={};function O(E,L,K){this.props=E,this.context=L,this.refs=B,this.updater=K||Q}O.prototype.isReactComponent={},O.prototype.setState=function(E,L){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,L,"setState")},O.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function M(){}M.prototype=O.prototype;function V(E,L,K){this.props=E,this.context=L,this.refs=B,this.updater=K||Q}var W=V.prototype=new M;W.constructor=V,q(W,O.prototype),W.isPureReactComponent=!0;var Z=Array.isArray;function le(){}var ee={H:null,A:null,T:null,S:null},Re=Object.prototype.hasOwnProperty;function je(E,L,K){var F=K.ref;return{$$typeof:n,type:E,key:L,ref:F!==void 0?F:null,props:K}}function Be(E,L){return je(E.type,L,E.props)}function be(E){return typeof E=="object"&&E!==null&&E.$$typeof===n}function Te(E){var L={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(K){return L[K]})}var Ve=/\/+/g;function De(E,L){return typeof E=="object"&&E!==null&&E.key!=null?Te(""+E.key):L.toString(36)}function oe(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(le,le):(E.status="pending",E.then(function(L){E.status==="pending"&&(E.status="fulfilled",E.value=L)},function(L){E.status==="pending"&&(E.status="rejected",E.reason=L)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function U(E,L,K,F,X){var k=typeof E;(k==="undefined"||k==="boolean")&&(E=null);var te=!1;if(E===null)te=!0;else switch(k){case"bigint":case"string":case"number":te=!0;break;case"object":switch(E.$$typeof){case n:case r:te=!0;break;case S:return te=E._init,U(te(E._payload),L,K,F,X)}}if(te)return X=X(E),te=F===""?"."+De(E,0):F,Z(X)?(K="",te!=null&&(K=te.replace(Ve,"$&/")+"/"),U(X,L,K,"",function(Ye){return Ye})):X!=null&&(be(X)&&(X=Be(X,K+(X.key==null||E&&E.key===X.key?"":(""+X.key).replace(Ve,"$&/")+"/")+te)),L.push(X)),1;te=0;var fe=F===""?".":F+":";if(Z(E))for(var de=0;de<E.length;de++)F=E[de],k=fe+De(F,de),te+=U(F,L,K,k,X);else if(de=w(E),typeof de=="function")for(E=de.call(E),de=0;!(F=E.next()).done;)F=F.value,k=fe+De(F,de++),te+=U(F,L,K,k,X);else if(k==="object"){if(typeof E.then=="function")return U(oe(E),L,K,F,X);throw L=String(E),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return te}function J(E,L,K){if(E==null)return E;var F=[],X=0;return U(E,F,"","",function(k){return L.call(K,k,X++)}),F}function ne(E){if(E._status===-1){var L=E._result;L=L(),L.then(function(K){(E._status===0||E._status===-1)&&(E._status=1,E._result=K)},function(K){(E._status===0||E._status===-1)&&(E._status=2,E._result=K)}),E._status===-1&&(E._status=0,E._result=L)}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 L=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(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},he={map:J,forEach:function(E,L,K){J(E,function(){L.apply(this,arguments)},K)},count:function(E){var L=0;return J(E,function(){L++}),L},toArray:function(E){return J(E,function(L){return L})||[]},only:function(E){if(!be(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return re.Activity=b,re.Children=he,re.Component=O,re.Fragment=s,re.Profiler=o,re.PureComponent=V,re.StrictMode=c,re.Suspense=g,re.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ee,re.__COMPILER_RUNTIME={__proto__:null,c:function(E){return ee.H.useMemoCache(E)}},re.cache=function(E){return function(){return E.apply(null,arguments)}},re.cacheSignal=function(){return null},re.cloneElement=function(E,L,K){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var F=q({},E.props),X=E.key;if(L!=null)for(k in L.key!==void 0&&(X=""+L.key),L)!Re.call(L,k)||k==="key"||k==="__self"||k==="__source"||k==="ref"&&L.ref===void 0||(F[k]=L[k]);var k=arguments.length-2;if(k===1)F.children=K;else if(1<k){for(var te=Array(k),fe=0;fe<k;fe++)te[fe]=arguments[fe+2];F.children=te}return je(E.type,X,F)},re.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},re.createElement=function(E,L,K){var F,X={},k=null;if(L!=null)for(F in L.key!==void 0&&(k=""+L.key),L)Re.call(L,F)&&F!=="key"&&F!=="__self"&&F!=="__source"&&(X[F]=L[F]);var te=arguments.length-2;if(te===1)X.children=K;else if(1<te){for(var fe=Array(te),de=0;de<te;de++)fe[de]=arguments[de+2];X.children=fe}if(E&&E.defaultProps)for(F in te=E.defaultProps,te)X[F]===void 0&&(X[F]=te[F]);return je(E,k,X)},re.createRef=function(){return{current:null}},re.forwardRef=function(E){return{$$typeof:y,render:E}},re.isValidElement=be,re.lazy=function(E){return{$$typeof:S,_payload:{_status:-1,_result:E},_init:ne}},re.memo=function(E,L){return{$$typeof:v,type:E,compare:L===void 0?null:L}},re.startTransition=function(E){var L=ee.T,K={};ee.T=K;try{var F=E(),X=ee.S;X!==null&&X(K,F),typeof F=="object"&&F!==null&&typeof F.then=="function"&&F.then(le,Se)}catch(k){Se(k)}finally{L!==null&&K.types!==null&&(L.types=K.types),ee.T=L}},re.unstable_useCacheRefresh=function(){return ee.H.useCacheRefresh()},re.use=function(E){return ee.H.use(E)},re.useActionState=function(E,L,K){return ee.H.useActionState(E,L,K)},re.useCallback=function(E,L){return ee.H.useCallback(E,L)},re.useContext=function(E){return ee.H.useContext(E)},re.useDebugValue=function(){},re.useDeferredValue=function(E,L){return ee.H.useDeferredValue(E,L)},re.useEffect=function(E,L){return ee.H.useEffect(E,L)},re.useEffectEvent=function(E){return ee.H.useEffectEvent(E)},re.useId=function(){return ee.H.useId()},re.useImperativeHandle=function(E,L,K){return ee.H.useImperativeHandle(E,L,K)},re.useInsertionEffect=function(E,L){return ee.H.useInsertionEffect(E,L)},re.useLayoutEffect=function(E,L){return ee.H.useLayoutEffect(E,L)},re.useMemo=function(E,L){return ee.H.useMemo(E,L)},re.useOptimistic=function(E,L){return ee.H.useOptimistic(E,L)},re.useReducer=function(E,L,K){return ee.H.useReducer(E,L,K)},re.useRef=function(E){return ee.H.useRef(E)},re.useState=function(E){return ee.H.useState(E)},re.useSyncExternalStore=function(E,L,K){return ee.H.useSyncExternalStore(E,L,K)},re.useTransition=function(){return ee.H.useTransition()},re.version="19.2.7",re}var sm;function Gs(){return sm||(sm=1,bs.exports=mv()),bs.exports}var _=Gs();const pv=Zm(_);var Ss={exports:{}},si={},xs={exports:{}},Es={};/**
 * @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 om;function yv(){return om||(om=1,(function(n){function r(U,J){var ne=U.length;U.push(J);e:for(;0<ne;){var Se=ne-1>>>1,he=U[Se];if(0<o(he,J))U[Se]=J,U[ne]=he,ne=Se;else break e}}function s(U){return U.length===0?null:U[0]}function c(U){if(U.length===0)return null;var J=U[0],ne=U.pop();if(ne!==J){U[0]=ne;e:for(var Se=0,he=U.length,E=he>>>1;Se<E;){var L=2*(Se+1)-1,K=U[L],F=L+1,X=U[F];if(0>o(K,ne))F<he&&0>o(X,K)?(U[Se]=X,U[F]=ne,Se=F):(U[Se]=K,U[L]=ne,Se=L);else if(F<he&&0>o(X,ne))U[Se]=X,U[F]=ne,Se=F;else break e}}return J}function o(U,J){var ne=U.sortIndex-J.sortIndex;return ne!==0?ne:U.id-J.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var h=Date,y=h.now();n.unstable_now=function(){return h.now()-y}}var g=[],v=[],S=1,b=null,N=3,w=!1,Q=!1,q=!1,B=!1,O=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function W(U){for(var J=s(v);J!==null;){if(J.callback===null)c(v);else if(J.startTime<=U)c(v),J.sortIndex=J.expirationTime,r(g,J);else break;J=s(v)}}function Z(U){if(q=!1,W(U),!Q)if(s(g)!==null)Q=!0,le||(le=!0,Te());else{var J=s(v);J!==null&&oe(Z,J.startTime-U)}}var le=!1,ee=-1,Re=5,je=-1;function Be(){return B?!0:!(n.unstable_now()-je<Re)}function be(){if(B=!1,le){var U=n.unstable_now();je=U;var J=!0;try{e:{Q=!1,q&&(q=!1,M(ee),ee=-1),w=!0;var ne=N;try{t:{for(W(U),b=s(g);b!==null&&!(b.expirationTime>U&&Be());){var Se=b.callback;if(typeof Se=="function"){b.callback=null,N=b.priorityLevel;var he=Se(b.expirationTime<=U);if(U=n.unstable_now(),typeof he=="function"){b.callback=he,W(U),J=!0;break t}b===s(g)&&c(g),W(U)}else c(g);b=s(g)}if(b!==null)J=!0;else{var E=s(v);E!==null&&oe(Z,E.startTime-U),J=!1}}break e}finally{b=null,N=ne,w=!1}J=void 0}}finally{J?Te():le=!1}}}var Te;if(typeof V=="function")Te=function(){V(be)};else if(typeof MessageChannel<"u"){var Ve=new MessageChannel,De=Ve.port2;Ve.port1.onmessage=be,Te=function(){De.postMessage(null)}}else Te=function(){O(be,0)};function oe(U,J){ee=O(function(){U(n.unstable_now())},J)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(U){U.callback=null},n.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Re=0<U?Math.floor(1e3/U):5},n.unstable_getCurrentPriorityLevel=function(){return N},n.unstable_next=function(U){switch(N){case 1:case 2:case 3:var J=3;break;default:J=N}var ne=N;N=J;try{return U()}finally{N=ne}},n.unstable_requestPaint=function(){B=!0},n.unstable_runWithPriority=function(U,J){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var ne=N;N=U;try{return J()}finally{N=ne}},n.unstable_scheduleCallback=function(U,J,ne){var Se=n.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?Se+ne:Se):ne=Se,U){case 1:var he=-1;break;case 2:he=250;break;case 5:he=1073741823;break;case 4:he=1e4;break;default:he=5e3}return he=ne+he,U={id:S++,callback:J,priorityLevel:U,startTime:ne,expirationTime:he,sortIndex:-1},ne>Se?(U.sortIndex=ne,r(v,U),s(g)===null&&U===s(v)&&(q?(M(ee),ee=-1):q=!0,oe(Z,ne-Se))):(U.sortIndex=he,r(g,U),Q||w||(Q=!0,le||(le=!0,Te()))),U},n.unstable_shouldYield=Be,n.unstable_wrapCallback=function(U){var J=N;return function(){var ne=N;N=J;try{return U.apply(this,arguments)}finally{N=ne}}}})(Es)),Es}var fm;function vv(){return fm||(fm=1,xs.exports=yv()),xs.exports}var Rs={exports:{}},rt={};/**
 * @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 dm;function gv(){if(dm)return rt;dm=1;var n=Gs();function r(g){var v="https://react.dev/errors/"+g;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)v+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+g+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var c={d:{f:s,r:function(){throw Error(r(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},o=Symbol.for("react.portal");function d(g,v,S){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:b==null?null:""+b,children:g,containerInfo:v,implementation:S}}var h=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(g,v){if(g==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return rt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,rt.createPortal=function(g,v){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(r(299));return d(g,v,null,S)},rt.flushSync=function(g){var v=h.T,S=c.p;try{if(h.T=null,c.p=2,g)return g()}finally{h.T=v,c.p=S,c.d.f()}},rt.preconnect=function(g,v){typeof g=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,c.d.C(g,v))},rt.prefetchDNS=function(g){typeof g=="string"&&c.d.D(g)},rt.preinit=function(g,v){if(typeof g=="string"&&v&&typeof v.as=="string"){var S=v.as,b=y(S,v.crossOrigin),N=typeof v.integrity=="string"?v.integrity:void 0,w=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;S==="style"?c.d.S(g,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:b,integrity:N,fetchPriority:w}):S==="script"&&c.d.X(g,{crossOrigin:b,integrity:N,fetchPriority:w,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},rt.preinitModule=function(g,v){if(typeof g=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var S=y(v.as,v.crossOrigin);c.d.M(g,{crossOrigin:S,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&c.d.M(g)},rt.preload=function(g,v){if(typeof g=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var S=v.as,b=y(S,v.crossOrigin);c.d.L(g,S,{crossOrigin:b,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},rt.preloadModule=function(g,v){if(typeof g=="string")if(v){var S=y(v.as,v.crossOrigin);c.d.m(g,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:S,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else c.d.m(g)},rt.requestFormReset=function(g){c.d.r(g)},rt.unstable_batchedUpdates=function(g,v){return g(v)},rt.useFormState=function(g,v,S){return h.H.useFormState(g,v,S)},rt.useFormStatus=function(){return h.H.useHostTransitionStatus()},rt.version="19.2.7",rt}var hm;function bv(){if(hm)return Rs.exports;hm=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Rs.exports=gv(),Rs.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 mm;function Sv(){if(mm)return si;mm=1;var n=vv(),r=Gs(),s=bv();function c(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}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 o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l: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 y(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(c(188))}function v(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(c(188));return t!==e?null:e}for(var l=e,a=t;;){var i=l.return;if(i===null)break;var u=i.alternate;if(u===null){if(a=i.return,a!==null){l=a;continue}break}if(i.child===u.child){for(u=i.child;u;){if(u===l)return g(i),e;if(u===a)return g(i),t;u=u.sibling}throw Error(c(188))}if(l.return!==a.return)l=i,a=u;else{for(var f=!1,m=i.child;m;){if(m===l){f=!0,l=i,a=u;break}if(m===a){f=!0,a=i,l=u;break}m=m.sibling}if(!f){for(m=u.child;m;){if(m===l){f=!0,l=u,a=i;break}if(m===a){f=!0,a=u,l=i;break}m=m.sibling}if(!f)throw Error(c(189))}}if(l.alternate!==a)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?e:t}function S(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=S(e),t!==null)return t;e=e.sibling}return null}var b=Object.assign,N=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),V=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),ee=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),je=Symbol.for("react.activity"),Be=Symbol.for("react.memo_cache_sentinel"),be=Symbol.iterator;function Te(e){return e===null||typeof e!="object"?null:(e=be&&e[be]||e["@@iterator"],typeof e=="function"?e:null)}var Ve=Symbol.for("react.client.reference");function De(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ve?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case q:return"Fragment";case O:return"Profiler";case B:return"StrictMode";case Z:return"Suspense";case le:return"SuspenseList";case je:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Q:return"Portal";case V:return e.displayName||"Context";case M:return(e._context.displayName||"Context")+".Consumer";case W:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ee:return t=e.displayName||null,t!==null?t:De(e.type)||"Memo";case Re:t=e._payload,e=e._init;try{return De(e(t))}catch{}}return null}var oe=Array.isArray,U=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},Se=[],he=-1;function E(e){return{current:e}}function L(e){0>he||(e.current=Se[he],Se[he]=null,he--)}function K(e,t){he++,Se[he]=e.current,e.current=t}var F=E(null),X=E(null),k=E(null),te=E(null);function fe(e,t){switch(K(k,t),K(X,e),K(F,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?zh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=zh(t),e=Nh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}L(F),K(F,e)}function de(){L(F),L(X),L(k)}function Ye(e){e.memoizedState!==null&&K(te,e);var t=F.current,l=Nh(t,e.type);t!==l&&(K(X,e),K(F,l))}function Ke(e){X.current===e&&(L(F),L(X)),te.current===e&&(L(te),ni._currentValue=ne)}var ot,$l;function ft(e){if(ot===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);ot=t&&t[1]||"",$l=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ot+e+$l}var Et=!1;function ue(e,t){if(!e||Et)return"";Et=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(D){var j=D}Reflect.construct(e,[],G)}else{try{G.call()}catch(D){j=D}e.call(G.prototype)}}else{try{throw Error()}catch(D){j=D}(G=e())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(D){if(D&&j&&typeof D.stack=="string")return[D.stack,j.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),f=u[0],m=u[1];if(f&&m){var x=f.split(`
`),z=m.split(`
`);for(i=a=0;a<x.length&&!x[a].includes("DetermineComponentFrameRoot");)a++;for(;i<z.length&&!z[i].includes("DetermineComponentFrameRoot");)i++;if(a===x.length||i===z.length)for(a=x.length-1,i=z.length-1;1<=a&&0<=i&&x[a]!==z[i];)i--;for(;1<=a&&0<=i;a--,i--)if(x[a]!==z[i]){if(a!==1||i!==1)do if(a--,i--,0>i||x[a]!==z[i]){var H=`
`+x[a].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),H}while(1<=a&&0<=i);break}}}finally{Et=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?ft(l):""}function dt(e,t){switch(e.tag){case 26:case 27:case 5:return ft(e.type);case 16:return ft("Lazy");case 13:return e.child!==t&&t!==null?ft("Suspense Fallback"):ft("Suspense");case 19:return ft("SuspenseList");case 0:case 15:return ue(e.type,!1);case 11:return ue(e.type.render,!1);case 1:return ue(e.type,!0);case 31:return ft("Activity");default:return""}}function Qt(e){try{var t="",l=null;do t+=dt(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var kt=Object.prototype.hasOwnProperty,Sa=n.unstable_scheduleCallback,pn=n.unstable_cancelCallback,Wl=n.unstable_shouldYield,kp=n.unstable_requestPaint,Rt=n.unstable_now,Zp=n.unstable_getCurrentPriorityLevel,io=n.unstable_ImmediatePriority,uo=n.unstable_UserBlockingPriority,Si=n.unstable_NormalPriority,Kp=n.unstable_LowPriority,ro=n.unstable_IdlePriority,Jp=n.log,Fp=n.unstable_setDisableYieldValue,yn=null,At=null;function Tl(e){if(typeof Jp=="function"&&Fp(e),At&&typeof At.setStrictMode=="function")try{At.setStrictMode(yn,e)}catch{}}var Tt=Math.clz32?Math.clz32:Ip,$p=Math.log,Wp=Math.LN2;function Ip(e){return e>>>=0,e===0?32:31-($p(e)/Wp|0)|0}var xi=256,Ei=262144,Ri=4194304;function Il(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 Ai(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var i=0,u=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var m=a&134217727;return m!==0?(a=m&~u,a!==0?i=Il(a):(f&=m,f!==0?i=Il(f):l||(l=m&~e,l!==0&&(i=Il(l))))):(m=a&~u,m!==0?i=Il(m):f!==0?i=Il(f):l||(l=a&~e,l!==0&&(i=Il(l)))),i===0?0:t!==0&&t!==i&&(t&u)===0&&(u=i&-i,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:i}function vn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Pp(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 co(){var e=Ri;return Ri<<=1,(Ri&62914560)===0&&(Ri=4194304),e}function ur(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function gn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ey(e,t,l,a,i,u){var f=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var m=e.entanglements,x=e.expirationTimes,z=e.hiddenUpdates;for(l=f&~l;0<l;){var H=31-Tt(l),G=1<<H;m[H]=0,x[H]=-1;var j=z[H];if(j!==null)for(z[H]=null,H=0;H<j.length;H++){var D=j[H];D!==null&&(D.lane&=-536870913)}l&=~G}a!==0&&so(e,a,0),u!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=u&~(f&~t))}function so(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Tt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function oo(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-Tt(l),i=1<<a;i&t|e[a]&t&&(e[a]|=t),l&=~i}}function fo(e,t){var l=t&-t;return l=(l&42)!==0?1:rr(l),(l&(e.suspendedLanes|t))!==0?0:l}function rr(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 cr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ho(){var e=J.p;return e!==0?e:(e=window.event,e===void 0?32:Ph(e.type))}function mo(e,t){var l=J.p;try{return J.p=e,t()}finally{J.p=l}}var _l=Math.random().toString(36).slice(2),tt="__reactFiber$"+_l,mt="__reactProps$"+_l,xa="__reactContainer$"+_l,sr="__reactEvents$"+_l,ty="__reactListeners$"+_l,ly="__reactHandles$"+_l,po="__reactResources$"+_l,bn="__reactMarker$"+_l;function or(e){delete e[tt],delete e[mt],delete e[sr],delete e[ty],delete e[ly]}function Ea(e){var t=e[tt];if(t)return t;for(var l=e.parentNode;l;){if(t=l[xa]||l[tt]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Hh(e);e!==null;){if(l=e[tt])return l;e=Hh(e)}return t}e=l,l=e.parentNode}return null}function Ra(e){if(e=e[tt]||e[xa]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Sn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function Aa(e){var t=e[po];return t||(t=e[po]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Pe(e){e[bn]=!0}var yo=new Set,vo={};function Pl(e,t){Ta(e,t),Ta(e+"Capture",t)}function Ta(e,t){for(vo[e]=t,e=0;e<t.length;e++)yo.add(t[e])}var ay=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]*$"),go={},bo={};function ny(e){return kt.call(bo,e)?!0:kt.call(go,e)?!1:ay.test(e)?bo[e]=!0:(go[e]=!0,!1)}function Ti(e,t,l){if(ny(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){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,""+l)}}function _i(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function ul(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+a)}}function Ut(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function So(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function iy(e,t,l){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var i=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(f){l=""+f,u.call(this,f)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(f){l=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fr(e){if(!e._valueTracker){var t=So(e)?"checked":"value";e._valueTracker=iy(e,t,""+e[t])}}function xo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=So(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function Oi(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 uy=/[\n"\\]/g;function wt(e){return e.replace(uy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function dr(e,t,l,a,i,u,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=""+Ut(t)):e.value!==""+Ut(t)&&(e.value=""+Ut(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?hr(e,f,Ut(t)):l!=null?hr(e,f,Ut(l)):a!=null&&e.removeAttribute("value"),i==null&&u!=null&&(e.defaultChecked=!!u),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+Ut(m):e.removeAttribute("name")}function Eo(e,t,l,a,i,u,f,m){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){fr(e);return}l=l!=null?""+Ut(l):"",t=t!=null?""+Ut(t):l,m||t===e.value||(e.value=t),e.defaultValue=t}a=a??i,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),fr(e)}function hr(e,t,l){t==="number"&&Oi(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function _a(e,t,l,a){if(e=e.options,t){t={};for(var i=0;i<l.length;i++)t["$"+l[i]]=!0;for(l=0;l<e.length;l++)i=t.hasOwnProperty("$"+e[l].value),e[l].selected!==i&&(e[l].selected=i),i&&a&&(e[l].defaultSelected=!0)}else{for(l=""+Ut(l),t=null,i=0;i<e.length;i++){if(e[i].value===l){e[i].selected=!0,a&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ro(e,t,l){if(t!=null&&(t=""+Ut(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Ut(l):""}function Ao(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(c(92));if(oe(a)){if(1<a.length)throw Error(c(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Ut(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),fr(e)}function Oa(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var ry=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 To(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||ry.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function _o(e,t,l){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var i in t)a=t[i],t.hasOwnProperty(i)&&l[i]!==a&&To(e,i,a)}else for(var u in t)t.hasOwnProperty(u)&&To(e,u,t[u])}function mr(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 cy=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"]]),sy=/^[\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 Ci(e){return sy.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function rl(){}var pr=null;function yr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ca=null,za=null;function Oo(e){var t=Ra(e);if(t&&(e=t.stateNode)){var l=e[mt]||null;e:switch(e=t.stateNode,t.type){case"input":if(dr(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+wt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var i=a[mt]||null;if(!i)throw Error(c(90));dr(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&xo(a)}break e;case"textarea":Ro(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&_a(e,!!l.multiple,t,!1)}}}var vr=!1;function Co(e,t,l){if(vr)return e(t,l);vr=!0;try{var a=e(t);return a}finally{if(vr=!1,(Ca!==null||za!==null)&&(pu(),Ca&&(t=Ca,e=za,za=Ca=null,Oo(t),e)))for(t=0;t<e.length;t++)Oo(e[t])}}function xn(e,t){var l=e.stateNode;if(l===null)return null;var a=l[mt]||null;if(a===null)return null;l=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(l&&typeof l!="function")throw Error(c(231,t,typeof l));return l}var cl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gr=!1;if(cl)try{var En={};Object.defineProperty(En,"passive",{get:function(){gr=!0}}),window.addEventListener("test",En,En),window.removeEventListener("test",En,En)}catch{gr=!1}var Ol=null,br=null,zi=null;function zo(){if(zi)return zi;var e,t=br,l=t.length,a,i="value"in Ol?Ol.value:Ol.textContent,u=i.length;for(e=0;e<l&&t[e]===i[e];e++);var f=l-e;for(a=1;a<=f&&t[l-a]===i[u-a];a++);return zi=i.slice(e,1<a?1-a:void 0)}function Ni(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 ji(){return!0}function No(){return!1}function pt(e){function t(l,a,i,u,f){this._reactName=l,this._targetInst=i,this.type=a,this.nativeEvent=u,this.target=f,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(l=e[m],this[m]=l?l(u):u[m]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?ji:No,this.isPropagationStopped=No,this}return b(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ji)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ji)},persist:function(){},isPersistent:ji}),t}var ea={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Di=pt(ea),Rn=b({},ea,{view:0,detail:0}),oy=pt(Rn),Sr,xr,An,Mi=b({},Rn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rr,button:0,buttons:0,relatedTarget:function(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!==An&&(An&&e.type==="mousemove"?(Sr=e.screenX-An.screenX,xr=e.screenY-An.screenY):xr=Sr=0,An=e),Sr)},movementY:function(e){return"movementY"in e?e.movementY:xr}}),jo=pt(Mi),fy=b({},Mi,{dataTransfer:0}),dy=pt(fy),hy=b({},Rn,{relatedTarget:0}),Er=pt(hy),my=b({},ea,{animationName:0,elapsedTime:0,pseudoElement:0}),py=pt(my),yy=b({},ea,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vy=pt(yy),gy=b({},ea,{data:0}),Do=pt(gy),by={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sy={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"},xy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ey(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=xy[e])?!!t[e]:!1}function Rr(){return Ey}var Ry=b({},Rn,{key:function(e){if(e.key){var t=by[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ni(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Sy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rr,charCode:function(e){return e.type==="keypress"?Ni(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ni(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ay=pt(Ry),Ty=b({},Mi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Mo=pt(Ty),_y=b({},Rn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rr}),Oy=pt(_y),Cy=b({},ea,{propertyName:0,elapsedTime:0,pseudoElement:0}),zy=pt(Cy),Ny=b({},Mi,{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}),jy=pt(Ny),Dy=b({},ea,{newState:0,oldState:0}),My=pt(Dy),Uy=[9,13,27,32],Ar=cl&&"CompositionEvent"in window,Tn=null;cl&&"documentMode"in document&&(Tn=document.documentMode);var wy=cl&&"TextEvent"in window&&!Tn,Uo=cl&&(!Ar||Tn&&8<Tn&&11>=Tn),wo=" ",Bo=!1;function Ho(e,t){switch(e){case"keyup":return Uy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lo(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Na=!1;function By(e,t){switch(e){case"compositionend":return Lo(t);case"keypress":return t.which!==32?null:(Bo=!0,wo);case"textInput":return e=t.data,e===wo&&Bo?null:e;default:return null}}function Hy(e,t){if(Na)return e==="compositionend"||!Ar&&Ho(e,t)?(e=zo(),zi=br=Ol=null,Na=!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 Uo&&t.locale!=="ko"?null:t.data;default:return null}}var Ly={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 qo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ly[e.type]:t==="textarea"}function Yo(e,t,l,a){Ca?za?za.push(a):za=[a]:Ca=a,t=Eu(t,"onChange"),0<t.length&&(l=new Di("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var _n=null,On=null;function qy(e){Rh(e,0)}function Ui(e){var t=Sn(e);if(xo(t))return e}function Xo(e,t){if(e==="change")return t}var Go=!1;if(cl){var Tr;if(cl){var _r="oninput"in document;if(!_r){var Vo=document.createElement("div");Vo.setAttribute("oninput","return;"),_r=typeof Vo.oninput=="function"}Tr=_r}else Tr=!1;Go=Tr&&(!document.documentMode||9<document.documentMode)}function Qo(){_n&&(_n.detachEvent("onpropertychange",ko),On=_n=null)}function ko(e){if(e.propertyName==="value"&&Ui(On)){var t=[];Yo(t,On,e,yr(e)),Co(qy,t)}}function Yy(e,t,l){e==="focusin"?(Qo(),_n=t,On=l,_n.attachEvent("onpropertychange",ko)):e==="focusout"&&Qo()}function Xy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ui(On)}function Gy(e,t){if(e==="click")return Ui(t)}function Vy(e,t){if(e==="input"||e==="change")return Ui(t)}function Qy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:Qy;function Cn(e,t){if(_t(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var i=l[a];if(!kt.call(t,i)||!_t(e[i],t[i]))return!1}return!0}function Zo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ko(e,t){var l=Zo(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Zo(l)}}function Jo(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jo(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fo(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Oi(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Oi(e.document)}return t}function Or(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 ky=cl&&"documentMode"in document&&11>=document.documentMode,ja=null,Cr=null,zn=null,zr=!1;function $o(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;zr||ja==null||ja!==Oi(a)||(a=ja,"selectionStart"in a&&Or(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}),zn&&Cn(zn,a)||(zn=a,a=Eu(Cr,"onSelect"),0<a.length&&(t=new Di("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=ja)))}function ta(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Da={animationend:ta("Animation","AnimationEnd"),animationiteration:ta("Animation","AnimationIteration"),animationstart:ta("Animation","AnimationStart"),transitionrun:ta("Transition","TransitionRun"),transitionstart:ta("Transition","TransitionStart"),transitioncancel:ta("Transition","TransitionCancel"),transitionend:ta("Transition","TransitionEnd")},Nr={},Wo={};cl&&(Wo=document.createElement("div").style,"AnimationEvent"in window||(delete Da.animationend.animation,delete Da.animationiteration.animation,delete Da.animationstart.animation),"TransitionEvent"in window||delete Da.transitionend.transition);function la(e){if(Nr[e])return Nr[e];if(!Da[e])return e;var t=Da[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Wo)return Nr[e]=t[l];return e}var Io=la("animationend"),Po=la("animationiteration"),ef=la("animationstart"),Zy=la("transitionrun"),Ky=la("transitionstart"),Jy=la("transitioncancel"),tf=la("transitionend"),lf=new Map,jr="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(" ");jr.push("scrollEnd");function Zt(e,t){lf.set(e,t),Pl(t,[e])}var wi=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)},Bt=[],Ma=0,Dr=0;function Bi(){for(var e=Ma,t=Dr=Ma=0;t<e;){var l=Bt[t];Bt[t++]=null;var a=Bt[t];Bt[t++]=null;var i=Bt[t];Bt[t++]=null;var u=Bt[t];if(Bt[t++]=null,a!==null&&i!==null){var f=a.pending;f===null?i.next=i:(i.next=f.next,f.next=i),a.pending=i}u!==0&&af(l,i,u)}}function Hi(e,t,l,a){Bt[Ma++]=e,Bt[Ma++]=t,Bt[Ma++]=l,Bt[Ma++]=a,Dr|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Mr(e,t,l,a){return Hi(e,t,l,a),Li(e)}function aa(e,t){return Hi(e,null,null,t),Li(e)}function af(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var i=!1,u=e.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(i=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,i&&t!==null&&(i=31-Tt(l),e=u.hiddenUpdates,a=e[i],a===null?e[i]=[t]:a.push(t),t.lane=l|536870912),u):null}function Li(e){if(50<Wn)throw Wn=0,Gc=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ua={};function Fy(e,t,l,a){this.tag=e,this.key=l,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 Ot(e,t,l,a){return new Fy(e,t,l,a)}function Ur(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sl(e,t){var l=e.alternate;return l===null?(l=Ot(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function nf(e,t){e.flags&=65011714;var l=e.alternate;return l===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=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function qi(e,t,l,a,i,u){var f=0;if(a=e,typeof e=="function")Ur(e)&&(f=1);else if(typeof e=="string")f=ev(e,l,F.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case je:return e=Ot(31,l,t,i),e.elementType=je,e.lanes=u,e;case q:return na(l.children,i,u,t);case B:f=8,i|=24;break;case O:return e=Ot(12,l,t,i|2),e.elementType=O,e.lanes=u,e;case Z:return e=Ot(13,l,t,i),e.elementType=Z,e.lanes=u,e;case le:return e=Ot(19,l,t,i),e.elementType=le,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case V:f=10;break e;case M:f=9;break e;case W:f=11;break e;case ee:f=14;break e;case Re:f=16,a=null;break e}f=29,l=Error(c(130,e===null?"null":typeof e,"")),a=null}return t=Ot(f,l,t,i),t.elementType=e,t.type=a,t.lanes=u,t}function na(e,t,l,a){return e=Ot(7,e,a,t),e.lanes=l,e}function wr(e,t,l){return e=Ot(6,e,null,t),e.lanes=l,e}function uf(e){var t=Ot(18,null,null,0);return t.stateNode=e,t}function Br(e,t,l){return t=Ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rf=new WeakMap;function Ht(e,t){if(typeof e=="object"&&e!==null){var l=rf.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Qt(t)},rf.set(e,t),t)}return{value:e,source:t,stack:Qt(t)}}var wa=[],Ba=0,Yi=null,Nn=0,Lt=[],qt=0,Cl=null,tl=1,ll="";function ol(e,t){wa[Ba++]=Nn,wa[Ba++]=Yi,Yi=e,Nn=t}function cf(e,t,l){Lt[qt++]=tl,Lt[qt++]=ll,Lt[qt++]=Cl,Cl=e;var a=tl;e=ll;var i=32-Tt(a)-1;a&=~(1<<i),l+=1;var u=32-Tt(t)+i;if(30<u){var f=i-i%5;u=(a&(1<<f)-1).toString(32),a>>=f,i-=f,tl=1<<32-Tt(t)+i|l<<i|a,ll=u+e}else tl=1<<u|l<<i|a,ll=e}function Hr(e){e.return!==null&&(ol(e,1),cf(e,1,0))}function Lr(e){for(;e===Yi;)Yi=wa[--Ba],wa[Ba]=null,Nn=wa[--Ba],wa[Ba]=null;for(;e===Cl;)Cl=Lt[--qt],Lt[qt]=null,ll=Lt[--qt],Lt[qt]=null,tl=Lt[--qt],Lt[qt]=null}function sf(e,t){Lt[qt++]=tl,Lt[qt++]=ll,Lt[qt++]=Cl,tl=t.id,ll=t.overflow,Cl=e}var lt=null,Ue=null,ge=!1,zl=null,Yt=!1,qr=Error(c(519));function Nl(e){var t=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw jn(Ht(t,e)),qr}function of(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[tt]=e,t[mt]=a,l){case"dialog":pe("cancel",t),pe("close",t);break;case"iframe":case"object":case"embed":pe("load",t);break;case"video":case"audio":for(l=0;l<Pn.length;l++)pe(Pn[l],t);break;case"source":pe("error",t);break;case"img":case"image":case"link":pe("error",t),pe("load",t);break;case"details":pe("toggle",t);break;case"input":pe("invalid",t),Eo(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":pe("invalid",t);break;case"textarea":pe("invalid",t),Ao(t,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||Oh(t.textContent,l)?(a.popover!=null&&(pe("beforetoggle",t),pe("toggle",t)),a.onScroll!=null&&pe("scroll",t),a.onScrollEnd!=null&&pe("scrollend",t),a.onClick!=null&&(t.onclick=rl),t=!0):t=!1,t||Nl(e,!0)}function ff(e){for(lt=e.return;lt;)switch(lt.tag){case 5:case 31:case 13:Yt=!1;return;case 27:case 3:Yt=!0;return;default:lt=lt.return}}function Ha(e){if(e!==lt)return!1;if(!ge)return ff(e),ge=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||as(e.type,e.memoizedProps)),l=!l),l&&Ue&&Nl(e),ff(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Ue=Bh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Ue=Bh(e)}else t===27?(t=Ue,Ql(e.type)?(e=cs,cs=null,Ue=e):Ue=t):Ue=lt?Gt(e.stateNode.nextSibling):null;return!0}function ia(){Ue=lt=null,ge=!1}function Yr(){var e=zl;return e!==null&&(bt===null?bt=e:bt.push.apply(bt,e),zl=null),e}function jn(e){zl===null?zl=[e]:zl.push(e)}var Xr=E(null),ua=null,fl=null;function jl(e,t,l){K(Xr,t._currentValue),t._currentValue=l}function dl(e){e._currentValue=Xr.current,L(Xr)}function Gr(e,t,l){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===l)break;e=e.return}}function Vr(e,t,l,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var u=i.dependencies;if(u!==null){var f=i.child;u=u.firstContext;e:for(;u!==null;){var m=u;u=i;for(var x=0;x<t.length;x++)if(m.context===t[x]){u.lanes|=l,m=u.alternate,m!==null&&(m.lanes|=l),Gr(u.return,l,e),a||(f=null);break e}u=m.next}}else if(i.tag===18){if(f=i.return,f===null)throw Error(c(341));f.lanes|=l,u=f.alternate,u!==null&&(u.lanes|=l),Gr(f,l,e),f=null}else f=i.child;if(f!==null)f.return=i;else for(f=i;f!==null;){if(f===e){f=null;break}if(i=f.sibling,i!==null){i.return=f.return,f=i;break}f=f.return}i=f}}function La(e,t,l,a){e=null;for(var i=t,u=!1;i!==null;){if(!u){if((i.flags&524288)!==0)u=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var f=i.alternate;if(f===null)throw Error(c(387));if(f=f.memoizedProps,f!==null){var m=i.type;_t(i.pendingProps.value,f.value)||(e!==null?e.push(m):e=[m])}}else if(i===te.current){if(f=i.alternate,f===null)throw Error(c(387));f.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(ni):e=[ni])}i=i.return}e!==null&&Vr(t,e,l,a),t.flags|=262144}function Xi(e){for(e=e.firstContext;e!==null;){if(!_t(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ra(e){ua=e,fl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function at(e){return df(ua,e)}function Gi(e,t){return ua===null&&ra(e),df(e,t)}function df(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},fl===null){if(e===null)throw Error(c(308));fl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else fl=fl.next=t;return l}var $y=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},Wy=n.unstable_scheduleCallback,Iy=n.unstable_NormalPriority,Je={$$typeof:V,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qr(){return{controller:new $y,data:new Map,refCount:0}}function Dn(e){e.refCount--,e.refCount===0&&Wy(Iy,function(){e.controller.abort()})}var Mn=null,kr=0,qa=0,Ya=null;function Py(e,t){if(Mn===null){var l=Mn=[];kr=0,qa=Jc(),Ya={status:"pending",value:void 0,then:function(a){l.push(a)}}}return kr++,t.then(hf,hf),t}function hf(){if(--kr===0&&Mn!==null){Ya!==null&&(Ya.status="fulfilled");var e=Mn;Mn=null,qa=0,Ya=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function e0(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(i){l.push(i)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var i=0;i<l.length;i++)(0,l[i])(t)},function(i){for(a.status="rejected",a.reason=i,i=0;i<l.length;i++)(0,l[i])(void 0)}),a}var mf=U.S;U.S=function(e,t){Wd=Rt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Py(e,t),mf!==null&&mf(e,t)};var ca=E(null);function Zr(){var e=ca.current;return e!==null?e:Me.pooledCache}function Vi(e,t){t===null?K(ca,ca.current):K(ca,t.pool)}function pf(){var e=Zr();return e===null?null:{parent:Je._currentValue,pool:e}}var Xa=Error(c(460)),Kr=Error(c(474)),Qi=Error(c(542)),ki={then:function(){}};function yf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function vf(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(rl,rl),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,bf(e),e;default:if(typeof t.status=="string")t.then(rl,rl);else{if(e=Me,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=a}},function(a){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,bf(e),e}throw oa=t,Xa}}function sa(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(oa=l,Xa):l}}var oa=null;function gf(){if(oa===null)throw Error(c(459));var e=oa;return oa=null,e}function bf(e){if(e===Xa||e===Qi)throw Error(c(483))}var Ga=null,Un=0;function Zi(e){var t=Un;return Un+=1,Ga===null&&(Ga=[]),vf(Ga,e,t)}function wn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ki(e,t){throw t.$$typeof===N?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Sf(e){function t(T,R){if(e){var C=T.deletions;C===null?(T.deletions=[R],T.flags|=16):C.push(R)}}function l(T,R){if(!e)return null;for(;R!==null;)t(T,R),R=R.sibling;return null}function a(T){for(var R=new Map;T!==null;)T.key!==null?R.set(T.key,T):R.set(T.index,T),T=T.sibling;return R}function i(T,R){return T=sl(T,R),T.index=0,T.sibling=null,T}function u(T,R,C){return T.index=C,e?(C=T.alternate,C!==null?(C=C.index,C<R?(T.flags|=67108866,R):C):(T.flags|=67108866,R)):(T.flags|=1048576,R)}function f(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function m(T,R,C,Y){return R===null||R.tag!==6?(R=wr(C,T.mode,Y),R.return=T,R):(R=i(R,C),R.return=T,R)}function x(T,R,C,Y){var ae=C.type;return ae===q?H(T,R,C.props.children,Y,C.key):R!==null&&(R.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Re&&sa(ae)===R.type)?(R=i(R,C.props),wn(R,C),R.return=T,R):(R=qi(C.type,C.key,C.props,null,T.mode,Y),wn(R,C),R.return=T,R)}function z(T,R,C,Y){return R===null||R.tag!==4||R.stateNode.containerInfo!==C.containerInfo||R.stateNode.implementation!==C.implementation?(R=Br(C,T.mode,Y),R.return=T,R):(R=i(R,C.children||[]),R.return=T,R)}function H(T,R,C,Y,ae){return R===null||R.tag!==7?(R=na(C,T.mode,Y,ae),R.return=T,R):(R=i(R,C),R.return=T,R)}function G(T,R,C){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=wr(""+R,T.mode,C),R.return=T,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case w:return C=qi(R.type,R.key,R.props,null,T.mode,C),wn(C,R),C.return=T,C;case Q:return R=Br(R,T.mode,C),R.return=T,R;case Re:return R=sa(R),G(T,R,C)}if(oe(R)||Te(R))return R=na(R,T.mode,C,null),R.return=T,R;if(typeof R.then=="function")return G(T,Zi(R),C);if(R.$$typeof===V)return G(T,Gi(T,R),C);Ki(T,R)}return null}function j(T,R,C,Y){var ae=R!==null?R.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return ae!==null?null:m(T,R,""+C,Y);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case w:return C.key===ae?x(T,R,C,Y):null;case Q:return C.key===ae?z(T,R,C,Y):null;case Re:return C=sa(C),j(T,R,C,Y)}if(oe(C)||Te(C))return ae!==null?null:H(T,R,C,Y,null);if(typeof C.then=="function")return j(T,R,Zi(C),Y);if(C.$$typeof===V)return j(T,R,Gi(T,C),Y);Ki(T,C)}return null}function D(T,R,C,Y,ae){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return T=T.get(C)||null,m(R,T,""+Y,ae);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case w:return T=T.get(Y.key===null?C:Y.key)||null,x(R,T,Y,ae);case Q:return T=T.get(Y.key===null?C:Y.key)||null,z(R,T,Y,ae);case Re:return Y=sa(Y),D(T,R,C,Y,ae)}if(oe(Y)||Te(Y))return T=T.get(C)||null,H(R,T,Y,ae,null);if(typeof Y.then=="function")return D(T,R,C,Zi(Y),ae);if(Y.$$typeof===V)return D(T,R,C,Gi(R,Y),ae);Ki(R,Y)}return null}function I(T,R,C,Y){for(var ae=null,xe=null,P=R,se=R=0,ve=null;P!==null&&se<C.length;se++){P.index>se?(ve=P,P=null):ve=P.sibling;var Ee=j(T,P,C[se],Y);if(Ee===null){P===null&&(P=ve);break}e&&P&&Ee.alternate===null&&t(T,P),R=u(Ee,R,se),xe===null?ae=Ee:xe.sibling=Ee,xe=Ee,P=ve}if(se===C.length)return l(T,P),ge&&ol(T,se),ae;if(P===null){for(;se<C.length;se++)P=G(T,C[se],Y),P!==null&&(R=u(P,R,se),xe===null?ae=P:xe.sibling=P,xe=P);return ge&&ol(T,se),ae}for(P=a(P);se<C.length;se++)ve=D(P,T,se,C[se],Y),ve!==null&&(e&&ve.alternate!==null&&P.delete(ve.key===null?se:ve.key),R=u(ve,R,se),xe===null?ae=ve:xe.sibling=ve,xe=ve);return e&&P.forEach(function(Fl){return t(T,Fl)}),ge&&ol(T,se),ae}function ie(T,R,C,Y){if(C==null)throw Error(c(151));for(var ae=null,xe=null,P=R,se=R=0,ve=null,Ee=C.next();P!==null&&!Ee.done;se++,Ee=C.next()){P.index>se?(ve=P,P=null):ve=P.sibling;var Fl=j(T,P,Ee.value,Y);if(Fl===null){P===null&&(P=ve);break}e&&P&&Fl.alternate===null&&t(T,P),R=u(Fl,R,se),xe===null?ae=Fl:xe.sibling=Fl,xe=Fl,P=ve}if(Ee.done)return l(T,P),ge&&ol(T,se),ae;if(P===null){for(;!Ee.done;se++,Ee=C.next())Ee=G(T,Ee.value,Y),Ee!==null&&(R=u(Ee,R,se),xe===null?ae=Ee:xe.sibling=Ee,xe=Ee);return ge&&ol(T,se),ae}for(P=a(P);!Ee.done;se++,Ee=C.next())Ee=D(P,T,se,Ee.value,Y),Ee!==null&&(e&&Ee.alternate!==null&&P.delete(Ee.key===null?se:Ee.key),R=u(Ee,R,se),xe===null?ae=Ee:xe.sibling=Ee,xe=Ee);return e&&P.forEach(function(fv){return t(T,fv)}),ge&&ol(T,se),ae}function Ne(T,R,C,Y){if(typeof C=="object"&&C!==null&&C.type===q&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case w:e:{for(var ae=C.key;R!==null;){if(R.key===ae){if(ae=C.type,ae===q){if(R.tag===7){l(T,R.sibling),Y=i(R,C.props.children),Y.return=T,T=Y;break e}}else if(R.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Re&&sa(ae)===R.type){l(T,R.sibling),Y=i(R,C.props),wn(Y,C),Y.return=T,T=Y;break e}l(T,R);break}else t(T,R);R=R.sibling}C.type===q?(Y=na(C.props.children,T.mode,Y,C.key),Y.return=T,T=Y):(Y=qi(C.type,C.key,C.props,null,T.mode,Y),wn(Y,C),Y.return=T,T=Y)}return f(T);case Q:e:{for(ae=C.key;R!==null;){if(R.key===ae)if(R.tag===4&&R.stateNode.containerInfo===C.containerInfo&&R.stateNode.implementation===C.implementation){l(T,R.sibling),Y=i(R,C.children||[]),Y.return=T,T=Y;break e}else{l(T,R);break}else t(T,R);R=R.sibling}Y=Br(C,T.mode,Y),Y.return=T,T=Y}return f(T);case Re:return C=sa(C),Ne(T,R,C,Y)}if(oe(C))return I(T,R,C,Y);if(Te(C)){if(ae=Te(C),typeof ae!="function")throw Error(c(150));return C=ae.call(C),ie(T,R,C,Y)}if(typeof C.then=="function")return Ne(T,R,Zi(C),Y);if(C.$$typeof===V)return Ne(T,R,Gi(T,C),Y);Ki(T,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,R!==null&&R.tag===6?(l(T,R.sibling),Y=i(R,C),Y.return=T,T=Y):(l(T,R),Y=wr(C,T.mode,Y),Y.return=T,T=Y),f(T)):l(T,R)}return function(T,R,C,Y){try{Un=0;var ae=Ne(T,R,C,Y);return Ga=null,ae}catch(P){if(P===Xa||P===Qi)throw P;var xe=Ot(29,P,null,T.mode);return xe.lanes=Y,xe.return=T,xe}finally{}}}var fa=Sf(!0),xf=Sf(!1),Dl=!1;function Jr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Fr(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 Ml(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ul(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ae&2)!==0){var i=a.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),a.pending=t,t=Li(e),af(e,null,l),t}return Hi(e,a,t,l),Li(e)}function Bn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,oo(e,l)}}function $r(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var i=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var f={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?i=u=f:u=u.next=f,l=l.next}while(l!==null);u===null?i=u=t:u=u.next=t}else i=u=t;l={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Wr=!1;function Hn(){if(Wr){var e=Ya;if(e!==null)throw e}}function Ln(e,t,l,a){Wr=!1;var i=e.updateQueue;Dl=!1;var u=i.firstBaseUpdate,f=i.lastBaseUpdate,m=i.shared.pending;if(m!==null){i.shared.pending=null;var x=m,z=x.next;x.next=null,f===null?u=z:f.next=z,f=x;var H=e.alternate;H!==null&&(H=H.updateQueue,m=H.lastBaseUpdate,m!==f&&(m===null?H.firstBaseUpdate=z:m.next=z,H.lastBaseUpdate=x))}if(u!==null){var G=i.baseState;f=0,H=z=x=null,m=u;do{var j=m.lane&-536870913,D=j!==m.lane;if(D?(ye&j)===j:(a&j)===j){j!==0&&j===qa&&(Wr=!0),H!==null&&(H=H.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var I=e,ie=m;j=t;var Ne=l;switch(ie.tag){case 1:if(I=ie.payload,typeof I=="function"){G=I.call(Ne,G,j);break e}G=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=ie.payload,j=typeof I=="function"?I.call(Ne,G,j):I,j==null)break e;G=b({},G,j);break e;case 2:Dl=!0}}j=m.callback,j!==null&&(e.flags|=64,D&&(e.flags|=8192),D=i.callbacks,D===null?i.callbacks=[j]:D.push(j))}else D={lane:j,tag:m.tag,payload:m.payload,callback:m.callback,next:null},H===null?(z=H=D,x=G):H=H.next=D,f|=j;if(m=m.next,m===null){if(m=i.shared.pending,m===null)break;D=m,m=D.next,D.next=null,i.lastBaseUpdate=D,i.shared.pending=null}}while(!0);H===null&&(x=G),i.baseState=x,i.firstBaseUpdate=z,i.lastBaseUpdate=H,u===null&&(i.shared.lanes=0),ql|=f,e.lanes=f,e.memoizedState=G}}function Ef(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function Rf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Ef(l[e],t)}var Va=E(null),Ji=E(0);function Af(e,t){e=xl,K(Ji,e),K(Va,t),xl=e|t.baseLanes}function Ir(){K(Ji,xl),K(Va,Va.current)}function Pr(){xl=Ji.current,L(Va),L(Ji)}var Ct=E(null),Xt=null;function wl(e){var t=e.alternate;K(Qe,Qe.current&1),K(Ct,e),Xt===null&&(t===null||Va.current!==null||t.memoizedState!==null)&&(Xt=e)}function ec(e){K(Qe,Qe.current),K(Ct,e),Xt===null&&(Xt=e)}function Tf(e){e.tag===22?(K(Qe,Qe.current),K(Ct,e),Xt===null&&(Xt=e)):Bl()}function Bl(){K(Qe,Qe.current),K(Ct,Ct.current)}function zt(e){L(Ct),Xt===e&&(Xt=null),L(Qe)}var Qe=E(0);function Fi(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||us(l)||rs(l)))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 hl=0,ce=null,Ce=null,Fe=null,$i=!1,Qa=!1,da=!1,Wi=0,qn=0,ka=null,t0=0;function Xe(){throw Error(c(321))}function tc(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!_t(e[l],t[l]))return!1;return!0}function lc(e,t,l,a,i,u){return hl=u,ce=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,U.H=e===null||e.memoizedState===null?cd:vc,da=!1,u=l(a,i),da=!1,Qa&&(u=Of(t,l,a,i)),_f(e),u}function _f(e){U.H=Gn;var t=Ce!==null&&Ce.next!==null;if(hl=0,Fe=Ce=ce=null,$i=!1,qn=0,ka=null,t)throw Error(c(300));e===null||$e||(e=e.dependencies,e!==null&&Xi(e)&&($e=!0))}function Of(e,t,l,a){ce=e;var i=0;do{if(Qa&&(ka=null),qn=0,Qa=!1,25<=i)throw Error(c(301));if(i+=1,Fe=Ce=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}U.H=sd,u=t(l,a)}while(Qa);return u}function l0(){var e=U.H,t=e.useState()[0];return t=typeof t.then=="function"?Yn(t):t,e=e.useState()[0],(Ce!==null?Ce.memoizedState:null)!==e&&(ce.flags|=1024),t}function ac(){var e=Wi!==0;return Wi=0,e}function nc(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function ic(e){if($i){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}$i=!1}hl=0,Fe=Ce=ce=null,Qa=!1,qn=Wi=0,ka=null}function ht(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?ce.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function ke(){if(Ce===null){var e=ce.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Fe===null?ce.memoizedState:Fe.next;if(t!==null)Fe=t,Ce=e;else{if(e===null)throw ce.alternate===null?Error(c(467)):Error(c(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Fe===null?ce.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function Ii(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yn(e){var t=qn;return qn+=1,ka===null&&(ka=[]),e=vf(ka,e,t),t=ce,(Fe===null?t.memoizedState:Fe.next)===null&&(t=t.alternate,U.H=t===null||t.memoizedState===null?cd:vc),e}function Pi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Yn(e);if(e.$$typeof===V)return at(e)}throw Error(c(438,String(e)))}function uc(e){var t=null,l=ce.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=ce.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Ii(),ce.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=Be;return t.index++,l}function ml(e,t){return typeof t=="function"?t(e):t}function eu(e){var t=ke();return rc(t,Ce,e)}function rc(e,t,l){var a=e.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=l;var i=e.baseQueue,u=a.pending;if(u!==null){if(i!==null){var f=i.next;i.next=u.next,u.next=f}t.baseQueue=i=u,a.pending=null}if(u=e.baseState,i===null)e.memoizedState=u;else{t=i.next;var m=f=null,x=null,z=t,H=!1;do{var G=z.lane&-536870913;if(G!==z.lane?(ye&G)===G:(hl&G)===G){var j=z.revertLane;if(j===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),G===qa&&(H=!0);else if((hl&j)===j){z=z.next,j===qa&&(H=!0);continue}else G={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},x===null?(m=x=G,f=u):x=x.next=G,ce.lanes|=j,ql|=j;G=z.action,da&&l(u,G),u=z.hasEagerState?z.eagerState:l(u,G)}else j={lane:G,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},x===null?(m=x=j,f=u):x=x.next=j,ce.lanes|=G,ql|=G;z=z.next}while(z!==null&&z!==t);if(x===null?f=u:x.next=m,!_t(u,e.memoizedState)&&($e=!0,H&&(l=Ya,l!==null)))throw l;e.memoizedState=u,e.baseState=f,e.baseQueue=x,a.lastRenderedState=u}return i===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function cc(e){var t=ke(),l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=e;var a=l.dispatch,i=l.pending,u=t.memoizedState;if(i!==null){l.pending=null;var f=i=i.next;do u=e(u,f.action),f=f.next;while(f!==i);_t(u,t.memoizedState)||($e=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function Cf(e,t,l){var a=ce,i=ke(),u=ge;if(u){if(l===void 0)throw Error(c(407));l=l()}else l=t();var f=!_t((Ce||i).memoizedState,l);if(f&&(i.memoizedState=l,$e=!0),i=i.queue,fc(jf.bind(null,a,i,e),[e]),i.getSnapshot!==t||f||Fe!==null&&Fe.memoizedState.tag&1){if(a.flags|=2048,Za(9,{destroy:void 0},Nf.bind(null,a,i,l,t),null),Me===null)throw Error(c(349));u||(hl&127)!==0||zf(a,t,l)}return l}function zf(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ce.updateQueue,t===null?(t=Ii(),ce.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Nf(e,t,l,a){t.value=l,t.getSnapshot=a,Df(t)&&Mf(e)}function jf(e,t,l){return l(function(){Df(t)&&Mf(e)})}function Df(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!_t(e,l)}catch{return!0}}function Mf(e){var t=aa(e,2);t!==null&&St(t,e,2)}function sc(e){var t=ht();if(typeof e=="function"){var l=e;if(e=l(),da){Tl(!0);try{l()}finally{Tl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ml,lastRenderedState:e},t}function Uf(e,t,l,a){return e.baseState=l,rc(e,Ce,typeof a=="function"?a:ml)}function a0(e,t,l,a,i){if(au(e))throw Error(c(485));if(e=t.action,e!==null){var u={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){u.listeners.push(f)}};U.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,wf(t,u)):(u.next=l.next,t.pending=l.next=u)}}function wf(e,t){var l=t.action,a=t.payload,i=e.state;if(t.isTransition){var u=U.T,f={};U.T=f;try{var m=l(i,a),x=U.S;x!==null&&x(f,m),Bf(e,t,m)}catch(z){oc(e,t,z)}finally{u!==null&&f.types!==null&&(u.types=f.types),U.T=u}}else try{u=l(i,a),Bf(e,t,u)}catch(z){oc(e,t,z)}}function Bf(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Hf(e,t,a)},function(a){return oc(e,t,a)}):Hf(e,t,l)}function Hf(e,t,l){t.status="fulfilled",t.value=l,Lf(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,wf(e,l)))}function oc(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Lf(t),t=t.next;while(t!==a)}e.action=null}function Lf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function qf(e,t){return t}function Yf(e,t){if(ge){var l=Me.formState;if(l!==null){e:{var a=ce;if(ge){if(Ue){t:{for(var i=Ue,u=Yt;i.nodeType!==8;){if(!u){i=null;break t}if(i=Gt(i.nextSibling),i===null){i=null;break t}}u=i.data,i=u==="F!"||u==="F"?i:null}if(i){Ue=Gt(i.nextSibling),a=i.data==="F!";break e}}Nl(a)}a=!1}a&&(t=l[0])}}return l=ht(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qf,lastRenderedState:t},l.queue=a,l=id.bind(null,ce,a),a.dispatch=l,a=sc(!1),u=yc.bind(null,ce,!1,a.queue),a=ht(),i={state:t,dispatch:null,action:e,pending:null},a.queue=i,l=a0.bind(null,ce,i,u,l),i.dispatch=l,a.memoizedState=e,[t,l,!1]}function Xf(e){var t=ke();return Gf(t,Ce,e)}function Gf(e,t,l){if(t=rc(e,t,qf)[0],e=eu(ml)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Yn(t)}catch(f){throw f===Xa?Qi:f}else a=t;t=ke();var i=t.queue,u=i.dispatch;return l!==t.memoizedState&&(ce.flags|=2048,Za(9,{destroy:void 0},n0.bind(null,i,l),null)),[a,u,e]}function n0(e,t){e.action=t}function Vf(e){var t=ke(),l=Ce;if(l!==null)return Gf(t,l,e);ke(),t=t.memoizedState,l=ke();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Za(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=ce.updateQueue,t===null&&(t=Ii(),ce.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function Qf(){return ke().memoizedState}function tu(e,t,l,a){var i=ht();ce.flags|=e,i.memoizedState=Za(1|t,{destroy:void 0},l,a===void 0?null:a)}function lu(e,t,l,a){var i=ke();a=a===void 0?null:a;var u=i.memoizedState.inst;Ce!==null&&a!==null&&tc(a,Ce.memoizedState.deps)?i.memoizedState=Za(t,u,l,a):(ce.flags|=e,i.memoizedState=Za(1|t,u,l,a))}function kf(e,t){tu(8390656,8,e,t)}function fc(e,t){lu(2048,8,e,t)}function i0(e){ce.flags|=4;var t=ce.updateQueue;if(t===null)t=Ii(),ce.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Zf(e){var t=ke().memoizedState;return i0({ref:t,nextImpl:e}),function(){if((Ae&2)!==0)throw Error(c(440));return t.impl.apply(void 0,arguments)}}function Kf(e,t){return lu(4,2,e,t)}function Jf(e,t){return lu(4,4,e,t)}function Ff(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function $f(e,t,l){l=l!=null?l.concat([e]):null,lu(4,4,Ff.bind(null,t,e),l)}function dc(){}function Wf(e,t){var l=ke();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&tc(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function If(e,t){var l=ke();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&tc(t,a[1]))return a[0];if(a=e(),da){Tl(!0);try{e()}finally{Tl(!1)}}return l.memoizedState=[a,t],a}function hc(e,t,l){return l===void 0||(hl&1073741824)!==0&&(ye&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Pd(),ce.lanes|=e,ql|=e,l)}function Pf(e,t,l,a){return _t(l,t)?l:Va.current!==null?(e=hc(e,l,a),_t(e,t)||($e=!0),e):(hl&42)===0||(hl&1073741824)!==0&&(ye&261930)===0?($e=!0,e.memoizedState=l):(e=Pd(),ce.lanes|=e,ql|=e,t)}function ed(e,t,l,a,i){var u=J.p;J.p=u!==0&&8>u?u:8;var f=U.T,m={};U.T=m,yc(e,!1,t,l);try{var x=i(),z=U.S;if(z!==null&&z(m,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var H=e0(x,a);Xn(e,t,H,Dt(e))}else Xn(e,t,a,Dt(e))}catch(G){Xn(e,t,{then:function(){},status:"rejected",reason:G},Dt())}finally{J.p=u,f!==null&&m.types!==null&&(f.types=m.types),U.T=f}}function u0(){}function mc(e,t,l,a){if(e.tag!==5)throw Error(c(476));var i=td(e).queue;ed(e,i,t,ne,l===null?u0:function(){return ld(e),l(a)})}function td(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ml,lastRenderedState:ne},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ml,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ld(e){var t=td(e);t.next===null&&(t=e.alternate.memoizedState),Xn(e,t.next.queue,{},Dt())}function pc(){return at(ni)}function ad(){return ke().memoizedState}function nd(){return ke().memoizedState}function r0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Dt();e=Ml(l);var a=Ul(t,e,l);a!==null&&(St(a,t,l),Bn(a,t,l)),t={cache:Qr()},e.payload=t;return}t=t.return}}function c0(e,t,l){var a=Dt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},au(e)?ud(t,l):(l=Mr(e,t,l,a),l!==null&&(St(l,e,a),rd(l,t,a)))}function id(e,t,l){var a=Dt();Xn(e,t,l,a)}function Xn(e,t,l,a){var i={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(au(e))ud(t,i);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var f=t.lastRenderedState,m=u(f,l);if(i.hasEagerState=!0,i.eagerState=m,_t(m,f))return Hi(e,t,i,0),Me===null&&Bi(),!1}catch{}finally{}if(l=Mr(e,t,i,a),l!==null)return St(l,e,a),rd(l,t,a),!0}return!1}function yc(e,t,l,a){if(a={lane:2,revertLane:Jc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},au(e)){if(t)throw Error(c(479))}else t=Mr(e,l,a,2),t!==null&&St(t,e,2)}function au(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function ud(e,t){Qa=$i=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function rd(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,oo(e,l)}}var Gn={readContext:at,use:Pi,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};Gn.useEffectEvent=Xe;var cd={readContext:at,use:Pi,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:at,useEffect:kf,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,tu(4194308,4,Ff.bind(null,t,e),l)},useLayoutEffect:function(e,t){return tu(4194308,4,e,t)},useInsertionEffect:function(e,t){tu(4,2,e,t)},useMemo:function(e,t){var l=ht();t=t===void 0?null:t;var a=e();if(da){Tl(!0);try{e()}finally{Tl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=ht();if(l!==void 0){var i=l(t);if(da){Tl(!0);try{l(t)}finally{Tl(!1)}}}else i=t;return a.memoizedState=a.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=c0.bind(null,ce,e),[a.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:function(e){e=sc(e);var t=e.queue,l=id.bind(null,ce,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:dc,useDeferredValue:function(e,t){var l=ht();return hc(l,e,t)},useTransition:function(){var e=sc(!1);return e=ed.bind(null,ce,e.queue,!0,!1),ht().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ce,i=ht();if(ge){if(l===void 0)throw Error(c(407));l=l()}else{if(l=t(),Me===null)throw Error(c(349));(ye&127)!==0||zf(a,t,l)}i.memoizedState=l;var u={value:l,getSnapshot:t};return i.queue=u,kf(jf.bind(null,a,u,e),[e]),a.flags|=2048,Za(9,{destroy:void 0},Nf.bind(null,a,u,l,t),null),l},useId:function(){var e=ht(),t=Me.identifierPrefix;if(ge){var l=ll,a=tl;l=(a&~(1<<32-Tt(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Wi++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=t0++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:pc,useFormState:Yf,useActionState:Yf,useOptimistic:function(e){var t=ht();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=yc.bind(null,ce,!0,l),l.dispatch=t,[e,t]},useMemoCache:uc,useCacheRefresh:function(){return ht().memoizedState=r0.bind(null,ce)},useEffectEvent:function(e){var t=ht(),l={impl:e};return t.memoizedState=l,function(){if((Ae&2)!==0)throw Error(c(440));return l.impl.apply(void 0,arguments)}}},vc={readContext:at,use:Pi,useCallback:Wf,useContext:at,useEffect:fc,useImperativeHandle:$f,useInsertionEffect:Kf,useLayoutEffect:Jf,useMemo:If,useReducer:eu,useRef:Qf,useState:function(){return eu(ml)},useDebugValue:dc,useDeferredValue:function(e,t){var l=ke();return Pf(l,Ce.memoizedState,e,t)},useTransition:function(){var e=eu(ml)[0],t=ke().memoizedState;return[typeof e=="boolean"?e:Yn(e),t]},useSyncExternalStore:Cf,useId:ad,useHostTransitionStatus:pc,useFormState:Xf,useActionState:Xf,useOptimistic:function(e,t){var l=ke();return Uf(l,Ce,e,t)},useMemoCache:uc,useCacheRefresh:nd};vc.useEffectEvent=Zf;var sd={readContext:at,use:Pi,useCallback:Wf,useContext:at,useEffect:fc,useImperativeHandle:$f,useInsertionEffect:Kf,useLayoutEffect:Jf,useMemo:If,useReducer:cc,useRef:Qf,useState:function(){return cc(ml)},useDebugValue:dc,useDeferredValue:function(e,t){var l=ke();return Ce===null?hc(l,e,t):Pf(l,Ce.memoizedState,e,t)},useTransition:function(){var e=cc(ml)[0],t=ke().memoizedState;return[typeof e=="boolean"?e:Yn(e),t]},useSyncExternalStore:Cf,useId:ad,useHostTransitionStatus:pc,useFormState:Vf,useActionState:Vf,useOptimistic:function(e,t){var l=ke();return Ce!==null?Uf(l,Ce,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:uc,useCacheRefresh:nd};sd.useEffectEvent=Zf;function gc(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:b({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var bc={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=Dt(),i=Ml(a);i.payload=t,l!=null&&(i.callback=l),t=Ul(e,i,a),t!==null&&(St(t,e,a),Bn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=Dt(),i=Ml(a);i.tag=1,i.payload=t,l!=null&&(i.callback=l),t=Ul(e,i,a),t!==null&&(St(t,e,a),Bn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Dt(),a=Ml(l);a.tag=2,t!=null&&(a.callback=t),t=Ul(e,a,l),t!==null&&(St(t,e,l),Bn(t,e,l))}};function od(e,t,l,a,i,u,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,f):t.prototype&&t.prototype.isPureReactComponent?!Cn(l,a)||!Cn(i,u):!0}function fd(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&bc.enqueueReplaceState(t,t.state,null)}function ha(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=b({},l));for(var i in e)l[i]===void 0&&(l[i]=e[i])}return l}function dd(e){wi(e)}function hd(e){console.error(e)}function md(e){wi(e)}function nu(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function pd(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Sc(e,t,l){return l=Ml(l),l.tag=3,l.payload={element:null},l.callback=function(){nu(e,t)},l}function yd(e){return e=Ml(e),e.tag=3,e}function vd(e,t,l,a){var i=l.type.getDerivedStateFromError;if(typeof i=="function"){var u=a.value;e.payload=function(){return i(u)},e.callback=function(){pd(t,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){pd(t,l,a),typeof i!="function"&&(Yl===null?Yl=new Set([this]):Yl.add(this));var m=a.stack;this.componentDidCatch(a.value,{componentStack:m!==null?m:""})})}function s0(e,t,l,a,i){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&La(t,l,i,!0),l=Ct.current,l!==null){switch(l.tag){case 31:case 13:return Xt===null?yu():l.alternate===null&&Ge===0&&(Ge=3),l.flags&=-257,l.flags|=65536,l.lanes=i,a===ki?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),kc(e,a,i)),!1;case 22:return l.flags|=65536,a===ki?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),kc(e,a,i)),!1}throw Error(c(435,l.tag))}return kc(e,a,i),yu(),!1}if(ge)return t=Ct.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,a!==qr&&(e=Error(c(422),{cause:a}),jn(Ht(e,l)))):(a!==qr&&(t=Error(c(423),{cause:a}),jn(Ht(t,l))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,a=Ht(a,l),i=Sc(e.stateNode,a,i),$r(e,i),Ge!==4&&(Ge=2)),!1;var u=Error(c(520),{cause:a});if(u=Ht(u,l),$n===null?$n=[u]:$n.push(u),Ge!==4&&(Ge=2),t===null)return!0;a=Ht(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=i&-i,l.lanes|=e,e=Sc(l.stateNode,a,e),$r(l,e),!1;case 1:if(t=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Yl===null||!Yl.has(u))))return l.flags|=65536,i&=-i,l.lanes|=i,i=yd(i),vd(i,e,l,a),$r(l,i),!1}l=l.return}while(l!==null);return!1}var xc=Error(c(461)),$e=!1;function nt(e,t,l,a){t.child=e===null?xf(t,null,l,a):fa(t,e.child,l,a)}function gd(e,t,l,a,i){l=l.render;var u=t.ref;if("ref"in a){var f={};for(var m in a)m!=="ref"&&(f[m]=a[m])}else f=a;return ra(t),a=lc(e,t,l,f,u,i),m=ac(),e!==null&&!$e?(nc(e,t,i),pl(e,t,i)):(ge&&m&&Hr(t),t.flags|=1,nt(e,t,a,i),t.child)}function bd(e,t,l,a,i){if(e===null){var u=l.type;return typeof u=="function"&&!Ur(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,Sd(e,t,u,a,i)):(e=qi(l.type,null,a,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!zc(e,i)){var f=u.memoizedProps;if(l=l.compare,l=l!==null?l:Cn,l(f,a)&&e.ref===t.ref)return pl(e,t,i)}return t.flags|=1,e=sl(u,a),e.ref=t.ref,e.return=t,t.child=e}function Sd(e,t,l,a,i){if(e!==null){var u=e.memoizedProps;if(Cn(u,a)&&e.ref===t.ref)if($e=!1,t.pendingProps=a=u,zc(e,i))(e.flags&131072)!==0&&($e=!0);else return t.lanes=e.lanes,pl(e,t,i)}return Ec(e,t,l,a,i)}function xd(e,t,l,a){var i=a.children,u=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(u=u!==null?u.baseLanes|l:l,e!==null){for(a=t.child=e.child,i=0;a!==null;)i=i|a.lanes|a.childLanes,a=a.sibling;a=i&~u}else a=0,t.child=null;return Ed(e,t,u,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Vi(t,u!==null?u.cachePool:null),u!==null?Af(t,u):Ir(),Tf(t);else return a=t.lanes=536870912,Ed(e,t,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(Vi(t,u.cachePool),Af(t,u),Bl(),t.memoizedState=null):(e!==null&&Vi(t,null),Ir(),Bl());return nt(e,t,i,l),t.child}function Vn(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ed(e,t,l,a,i){var u=Zr();return u=u===null?null:{parent:Je._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&Vi(t,null),Ir(),Tf(t),e!==null&&La(e,t,a,!0),t.childLanes=i,null}function iu(e,t){return t=ru({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Rd(e,t,l){return fa(t,e.child,null,l),e=iu(t,t.pendingProps),e.flags|=2,zt(t),t.memoizedState=null,e}function o0(e,t,l){var a=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ge){if(a.mode==="hidden")return e=iu(t,a),t.lanes=536870912,Vn(null,e);if(ec(t),(e=Ue)?(e=wh(e,Yt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Cl!==null?{id:tl,overflow:ll}:null,retryLane:536870912,hydrationErrors:null},l=uf(e),l.return=t,t.child=l,lt=t,Ue=null)):e=null,e===null)throw Nl(t);return t.lanes=536870912,null}return iu(t,a)}var u=e.memoizedState;if(u!==null){var f=u.dehydrated;if(ec(t),i)if(t.flags&256)t.flags&=-257,t=Rd(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(c(558));else if($e||La(e,t,l,!1),i=(l&e.childLanes)!==0,$e||i){if(a=Me,a!==null&&(f=fo(a,l),f!==0&&f!==u.retryLane))throw u.retryLane=f,aa(e,f),St(a,e,f),xc;yu(),t=Rd(e,t,l)}else e=u.treeContext,Ue=Gt(f.nextSibling),lt=t,ge=!0,zl=null,Yt=!1,e!==null&&sf(t,e),t=iu(t,a),t.flags|=4096;return t}return e=sl(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function uu(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(c(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Ec(e,t,l,a,i){return ra(t),l=lc(e,t,l,a,void 0,i),a=ac(),e!==null&&!$e?(nc(e,t,i),pl(e,t,i)):(ge&&a&&Hr(t),t.flags|=1,nt(e,t,l,i),t.child)}function Ad(e,t,l,a,i,u){return ra(t),t.updateQueue=null,l=Of(t,a,l,i),_f(e),a=ac(),e!==null&&!$e?(nc(e,t,u),pl(e,t,u)):(ge&&a&&Hr(t),t.flags|=1,nt(e,t,l,u),t.child)}function Td(e,t,l,a,i){if(ra(t),t.stateNode===null){var u=Ua,f=l.contextType;typeof f=="object"&&f!==null&&(u=at(f)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=bc,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},Jr(t),f=l.contextType,u.context=typeof f=="object"&&f!==null?at(f):Ua,u.state=t.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(gc(t,l,f,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(f=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),f!==u.state&&bc.enqueueReplaceState(u,u.state,null),Ln(t,a,u,i),Hn(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var m=t.memoizedProps,x=ha(l,m);u.props=x;var z=u.context,H=l.contextType;f=Ua,typeof H=="object"&&H!==null&&(f=at(H));var G=l.getDerivedStateFromProps;H=typeof G=="function"||typeof u.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,H||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(m||z!==f)&&fd(t,u,a,f),Dl=!1;var j=t.memoizedState;u.state=j,Ln(t,a,u,i),Hn(),z=t.memoizedState,m||j!==z||Dl?(typeof G=="function"&&(gc(t,l,G,a),z=t.memoizedState),(x=Dl||od(t,l,x,a,j,z,f))?(H||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=z),u.props=a,u.state=z,u.context=f,a=x):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,Fr(e,t),f=t.memoizedProps,H=ha(l,f),u.props=H,G=t.pendingProps,j=u.context,z=l.contextType,x=Ua,typeof z=="object"&&z!==null&&(x=at(z)),m=l.getDerivedStateFromProps,(z=typeof m=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==G||j!==x)&&fd(t,u,a,x),Dl=!1,j=t.memoizedState,u.state=j,Ln(t,a,u,i),Hn();var D=t.memoizedState;f!==G||j!==D||Dl||e!==null&&e.dependencies!==null&&Xi(e.dependencies)?(typeof m=="function"&&(gc(t,l,m,a),D=t.memoizedState),(H=Dl||od(t,l,H,a,j,D,x)||e!==null&&e.dependencies!==null&&Xi(e.dependencies))?(z||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,D,x),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,D,x)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=D),u.props=a,u.state=D,u.context=x,a=H):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,uu(e,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&a?(t.child=fa(t,e.child,null,i),t.child=fa(t,null,l,i)):nt(e,t,l,i),t.memoizedState=u.state,e=t.child):e=pl(e,t,i),e}function _d(e,t,l,a){return ia(),t.flags|=256,nt(e,t,l,a),t.child}var Rc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ac(e){return{baseLanes:e,cachePool:pf()}}function Tc(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=jt),e}function Od(e,t,l){var a=t.pendingProps,i=!1,u=(t.flags&128)!==0,f;if((f=u)||(f=e!==null&&e.memoizedState===null?!1:(Qe.current&2)!==0),f&&(i=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(ge){if(i?wl(t):Bl(),(e=Ue)?(e=wh(e,Yt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Cl!==null?{id:tl,overflow:ll}:null,retryLane:536870912,hydrationErrors:null},l=uf(e),l.return=t,t.child=l,lt=t,Ue=null)):e=null,e===null)throw Nl(t);return rs(e)?t.lanes=32:t.lanes=536870912,null}var m=a.children;return a=a.fallback,i?(Bl(),i=t.mode,m=ru({mode:"hidden",children:m},i),a=na(a,i,l,null),m.return=t,a.return=t,m.sibling=a,t.child=m,a=t.child,a.memoizedState=Ac(l),a.childLanes=Tc(e,f,l),t.memoizedState=Rc,Vn(null,a)):(wl(t),_c(t,m))}var x=e.memoizedState;if(x!==null&&(m=x.dehydrated,m!==null)){if(u)t.flags&256?(wl(t),t.flags&=-257,t=Oc(e,t,l)):t.memoizedState!==null?(Bl(),t.child=e.child,t.flags|=128,t=null):(Bl(),m=a.fallback,i=t.mode,a=ru({mode:"visible",children:a.children},i),m=na(m,i,l,null),m.flags|=2,a.return=t,m.return=t,a.sibling=m,t.child=a,fa(t,e.child,null,l),a=t.child,a.memoizedState=Ac(l),a.childLanes=Tc(e,f,l),t.memoizedState=Rc,t=Vn(null,a));else if(wl(t),rs(m)){if(f=m.nextSibling&&m.nextSibling.dataset,f)var z=f.dgst;f=z,a=Error(c(419)),a.stack="",a.digest=f,jn({value:a,source:null,stack:null}),t=Oc(e,t,l)}else if($e||La(e,t,l,!1),f=(l&e.childLanes)!==0,$e||f){if(f=Me,f!==null&&(a=fo(f,l),a!==0&&a!==x.retryLane))throw x.retryLane=a,aa(e,a),St(f,e,a),xc;us(m)||yu(),t=Oc(e,t,l)}else us(m)?(t.flags|=192,t.child=e.child,t=null):(e=x.treeContext,Ue=Gt(m.nextSibling),lt=t,ge=!0,zl=null,Yt=!1,e!==null&&sf(t,e),t=_c(t,a.children),t.flags|=4096);return t}return i?(Bl(),m=a.fallback,i=t.mode,x=e.child,z=x.sibling,a=sl(x,{mode:"hidden",children:a.children}),a.subtreeFlags=x.subtreeFlags&65011712,z!==null?m=sl(z,m):(m=na(m,i,l,null),m.flags|=2),m.return=t,a.return=t,a.sibling=m,t.child=a,Vn(null,a),a=t.child,m=e.child.memoizedState,m===null?m=Ac(l):(i=m.cachePool,i!==null?(x=Je._currentValue,i=i.parent!==x?{parent:x,pool:x}:i):i=pf(),m={baseLanes:m.baseLanes|l,cachePool:i}),a.memoizedState=m,a.childLanes=Tc(e,f,l),t.memoizedState=Rc,Vn(e.child,a)):(wl(t),l=e.child,e=l.sibling,l=sl(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=l,t.memoizedState=null,l)}function _c(e,t){return t=ru({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ru(e,t){return e=Ot(22,e,null,t),e.lanes=0,e}function Oc(e,t,l){return fa(t,e.child,null,l),e=_c(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Cd(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Gr(e.return,t,l)}function Cc(e,t,l,a,i,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:i,treeForkCount:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=l,f.tailMode=i,f.treeForkCount=u)}function zd(e,t,l){var a=t.pendingProps,i=a.revealOrder,u=a.tail;a=a.children;var f=Qe.current,m=(f&2)!==0;if(m?(f=f&1|2,t.flags|=128):f&=1,K(Qe,f),nt(e,t,a,l),a=ge?Nn:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Cd(e,l,t);else if(e.tag===19)Cd(e,l,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(i){case"forwards":for(l=t.child,i=null;l!==null;)e=l.alternate,e!==null&&Fi(e)===null&&(i=l),l=l.sibling;l=i,l===null?(i=t.child,t.child=null):(i=l.sibling,l.sibling=null),Cc(t,!1,i,l,u,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Fi(e)===null){t.child=i;break}e=i.sibling,i.sibling=l,l=i,i=e}Cc(t,!0,l,null,u,a);break;case"together":Cc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function pl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),ql|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(La(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,l=sl(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=sl(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function zc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Xi(e)))}function f0(e,t,l){switch(t.tag){case 3:fe(t,t.stateNode.containerInfo),jl(t,Je,e.memoizedState.cache),ia();break;case 27:case 5:Ye(t);break;case 4:fe(t,t.stateNode.containerInfo);break;case 10:jl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ec(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(wl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Od(e,t,l):(wl(t),e=pl(e,t,l),e!==null?e.sibling:null);wl(t);break;case 19:var i=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(La(e,t,l,!1),a=(l&t.childLanes)!==0),i){if(a)return zd(e,t,l);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),K(Qe,Qe.current),a)break;return null;case 22:return t.lanes=0,xd(e,t,l,t.pendingProps);case 24:jl(t,Je,e.memoizedState.cache)}return pl(e,t,l)}function Nd(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)$e=!0;else{if(!zc(e,l)&&(t.flags&128)===0)return $e=!1,f0(e,t,l);$e=(e.flags&131072)!==0}else $e=!1,ge&&(t.flags&1048576)!==0&&cf(t,Nn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=sa(t.elementType),t.type=e,typeof e=="function")Ur(e)?(a=ha(e,a),t.tag=1,t=Td(null,t,e,a,l)):(t.tag=0,t=Ec(null,t,e,a,l));else{if(e!=null){var i=e.$$typeof;if(i===W){t.tag=11,t=gd(null,t,e,a,l);break e}else if(i===ee){t.tag=14,t=bd(null,t,e,a,l);break e}}throw t=De(e)||e,Error(c(306,t,""))}}return t;case 0:return Ec(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,i=ha(a,t.pendingProps),Td(e,t,a,i,l);case 3:e:{if(fe(t,t.stateNode.containerInfo),e===null)throw Error(c(387));a=t.pendingProps;var u=t.memoizedState;i=u.element,Fr(e,t),Ln(t,a,null,l);var f=t.memoizedState;if(a=f.cache,jl(t,Je,a),a!==u.cache&&Vr(t,[Je],l,!0),Hn(),a=f.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=_d(e,t,a,l);break e}else if(a!==i){i=Ht(Error(c(424)),t),jn(i),t=_d(e,t,a,l);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(Ue=Gt(e.firstChild),lt=t,ge=!0,zl=null,Yt=!0,l=xf(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(ia(),a===i){t=pl(e,t,l);break e}nt(e,t,a,l)}t=t.child}return t;case 26:return uu(e,t),e===null?(l=Xh(t.type,null,t.pendingProps,null))?t.memoizedState=l:ge||(l=t.type,e=t.pendingProps,a=Ru(k.current).createElement(l),a[tt]=t,a[mt]=e,it(a,l,e),Pe(a),t.stateNode=a):t.memoizedState=Xh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ye(t),e===null&&ge&&(a=t.stateNode=Lh(t.type,t.pendingProps,k.current),lt=t,Yt=!0,i=Ue,Ql(t.type)?(cs=i,Ue=Gt(a.firstChild)):Ue=i),nt(e,t,t.pendingProps.children,l),uu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ge&&((i=a=Ue)&&(a=X0(a,t.type,t.pendingProps,Yt),a!==null?(t.stateNode=a,lt=t,Ue=Gt(a.firstChild),Yt=!1,i=!0):i=!1),i||Nl(t)),Ye(t),i=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,a=u.children,as(i,u)?a=null:f!==null&&as(i,f)&&(t.flags|=32),t.memoizedState!==null&&(i=lc(e,t,l0,null,null,l),ni._currentValue=i),uu(e,t),nt(e,t,a,l),t.child;case 6:return e===null&&ge&&((e=l=Ue)&&(l=G0(l,t.pendingProps,Yt),l!==null?(t.stateNode=l,lt=t,Ue=null,e=!0):e=!1),e||Nl(t)),null;case 13:return Od(e,t,l);case 4:return fe(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=fa(t,null,a,l):nt(e,t,a,l),t.child;case 11:return gd(e,t,t.type,t.pendingProps,l);case 7:return nt(e,t,t.pendingProps,l),t.child;case 8:return nt(e,t,t.pendingProps.children,l),t.child;case 12:return nt(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,jl(t,t.type,a.value),nt(e,t,a.children,l),t.child;case 9:return i=t.type._context,a=t.pendingProps.children,ra(t),i=at(i),a=a(i),t.flags|=1,nt(e,t,a,l),t.child;case 14:return bd(e,t,t.type,t.pendingProps,l);case 15:return Sd(e,t,t.type,t.pendingProps,l);case 19:return zd(e,t,l);case 31:return o0(e,t,l);case 22:return xd(e,t,l,t.pendingProps);case 24:return ra(t),a=at(Je),e===null?(i=Zr(),i===null&&(i=Me,u=Qr(),i.pooledCache=u,u.refCount++,u!==null&&(i.pooledCacheLanes|=l),i=u),t.memoizedState={parent:a,cache:i},Jr(t),jl(t,Je,i)):((e.lanes&l)!==0&&(Fr(e,t),Ln(t,null,null,l),Hn()),i=e.memoizedState,u=t.memoizedState,i.parent!==a?(i={parent:a,cache:a},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),jl(t,Je,a)):(a=u.cache,jl(t,Je,a),a!==i.cache&&Vr(t,[Je],l,!0))),nt(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function yl(e){e.flags|=4}function Nc(e,t,l,a,i){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(ah())e.flags|=8192;else throw oa=ki,Kr}else e.flags&=-16777217}function jd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Zh(t))if(ah())e.flags|=8192;else throw oa=ki,Kr}function cu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?co():536870912,e.lanes|=t,$a|=t)}function Qn(e,t){if(!ge)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function we(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var i=e.child;i!==null;)l|=i.lanes|i.childLanes,a|=i.subtreeFlags&65011712,a|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)l|=i.lanes|i.childLanes,a|=i.subtreeFlags,a|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function d0(e,t,l){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 we(t),null;case 1:return we(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),dl(Je),de(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ha(t)?yl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Yr())),we(t),null;case 26:var i=t.type,u=t.memoizedState;return e===null?(yl(t),u!==null?(we(t),jd(t,u)):(we(t),Nc(t,i,null,a,l))):u?u!==e.memoizedState?(yl(t),we(t),jd(t,u)):(we(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&yl(t),we(t),Nc(t,i,e,a,l)),null;case 27:if(Ke(t),l=k.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&yl(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return we(t),null}e=F.current,Ha(t)?of(t):(e=Lh(i,a,l),t.stateNode=e,yl(t))}return we(t),null;case 5:if(Ke(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&yl(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return we(t),null}if(u=F.current,Ha(t))of(t);else{var f=Ru(k.current);switch(u){case 1:u=f.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:u=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":u=f.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":u=f.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":u=f.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?f.createElement(i,{is:a.is}):f.createElement(i)}}u[tt]=t,u[mt]=a;e:for(f=t.child;f!==null;){if(f.tag===5||f.tag===6)u.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=u;e:switch(it(u,i,a),i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&yl(t)}}return we(t),Nc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&yl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(c(166));if(e=k.current,Ha(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,i=lt,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}e[tt]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Oh(e.nodeValue,l)),e||Nl(t,!0)}else e=Ru(e).createTextNode(a),e[tt]=t,t.stateNode=e}return we(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=Ha(t),l!==null){if(e===null){if(!a)throw Error(c(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(557));e[tt]=t}else ia(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;we(t),e=!1}else l=Yr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(zt(t),t):(zt(t),null);if((t.flags&128)!==0)throw Error(c(558))}return we(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Ha(t),a!==null&&a.dehydrated!==null){if(e===null){if(!i)throw Error(c(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(c(317));i[tt]=t}else ia(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;we(t),i=!1}else i=Yr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(zt(t),t):(zt(t),null)}return zt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==i&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),cu(t,t.updateQueue),we(t),null);case 4:return de(),e===null&&Ic(t.stateNode.containerInfo),we(t),null;case 10:return dl(t.type),we(t),null;case 19:if(L(Qe),a=t.memoizedState,a===null)return we(t),null;if(i=(t.flags&128)!==0,u=a.rendering,u===null)if(i)Qn(a,!1);else{if(Ge!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Fi(e),u!==null){for(t.flags|=128,Qn(a,!1),e=u.updateQueue,t.updateQueue=e,cu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)nf(l,e),l=l.sibling;return K(Qe,Qe.current&1|2),ge&&ol(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Rt()>hu&&(t.flags|=128,i=!0,Qn(a,!1),t.lanes=4194304)}else{if(!i)if(e=Fi(u),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,cu(t,e),Qn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!ge)return we(t),null}else 2*Rt()-a.renderingStartTime>hu&&l!==536870912&&(t.flags|=128,i=!0,Qn(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(e=a.last,e!==null?e.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Rt(),e.sibling=null,l=Qe.current,K(Qe,i?l&1|2:l&1),ge&&ol(t,a.treeForkCount),e):(we(t),null);case 22:case 23:return zt(t),Pr(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),l=t.updateQueue,l!==null&&cu(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&L(ca),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),dl(Je),we(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function h0(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 dl(Je),de(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ke(t),null;case 31:if(t.memoizedState!==null){if(zt(t),t.alternate===null)throw Error(c(340));ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(zt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(Qe),null;case 4:return de(),null;case 10:return dl(t.type),null;case 22:case 23:return zt(t),Pr(),e!==null&&L(ca),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return dl(Je),null;case 25:return null;default:return null}}function Dd(e,t){switch(Lr(t),t.tag){case 3:dl(Je),de();break;case 26:case 27:case 5:Ke(t);break;case 4:de();break;case 31:t.memoizedState!==null&&zt(t);break;case 13:zt(t);break;case 19:L(Qe);break;case 10:dl(t.type);break;case 22:case 23:zt(t),Pr(),e!==null&&L(ca);break;case 24:dl(Je)}}function kn(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var i=a.next;l=i;do{if((l.tag&e)===e){a=void 0;var u=l.create,f=l.inst;a=u(),f.destroy=a}l=l.next}while(l!==i)}}catch(m){Oe(t,t.return,m)}}function Hl(e,t,l){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var u=i.next;a=u;do{if((a.tag&e)===e){var f=a.inst,m=f.destroy;if(m!==void 0){f.destroy=void 0,i=t;var x=l,z=m;try{z()}catch(H){Oe(i,x,H)}}}a=a.next}while(a!==u)}}catch(H){Oe(t,t.return,H)}}function Md(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Rf(t,l)}catch(a){Oe(e,e.return,a)}}}function Ud(e,t,l){l.props=ha(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Oe(e,t,a)}}function Zn(e,t){try{var l=e.ref;if(l!==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 l=="function"?e.refCleanup=l(a):l.current=a}}catch(i){Oe(e,t,i)}}function al(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(i){Oe(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(i){Oe(e,t,i)}else l.current=null}function wd(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(i){Oe(e,e.return,i)}}function jc(e,t,l){try{var a=e.stateNode;w0(a,e.type,l,t),a[mt]=t}catch(i){Oe(e,e.return,i)}}function Bd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ql(e.type)||e.tag===4}function Dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Bd(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&&Ql(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 Mc(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=rl));else if(a!==4&&(a===27&&Ql(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Mc(e,t,l),e=e.sibling;e!==null;)Mc(e,t,l),e=e.sibling}function su(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Ql(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(su(e,t,l),e=e.sibling;e!==null;)su(e,t,l),e=e.sibling}function Hd(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);it(t,a,l),t[tt]=e,t[mt]=l}catch(u){Oe(e,e.return,u)}}var vl=!1,We=!1,Uc=!1,Ld=typeof WeakSet=="function"?WeakSet:Set,et=null;function m0(e,t){if(e=e.containerInfo,ts=Nu,e=Fo(e),Or(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var i=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break e}var f=0,m=-1,x=-1,z=0,H=0,G=e,j=null;t:for(;;){for(var D;G!==l||i!==0&&G.nodeType!==3||(m=f+i),G!==u||a!==0&&G.nodeType!==3||(x=f+a),G.nodeType===3&&(f+=G.nodeValue.length),(D=G.firstChild)!==null;)j=G,G=D;for(;;){if(G===e)break t;if(j===l&&++z===i&&(m=f),j===u&&++H===a&&(x=f),(D=G.nextSibling)!==null)break;G=j,j=G.parentNode}G=D}l=m===-1||x===-1?null:{start:m,end:x}}else l=null}l=l||{start:0,end:0}}else l=null;for(ls={focusedElem:e,selectionRange:l},Nu=!1,et=t;et!==null;)if(t=et,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,et=e;else for(;et!==null;){switch(t=et,u=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(l=0;l<e.length;l++)i=e[l],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,l=t,i=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var I=ha(l.type,i);e=a.getSnapshotBeforeUpdate(I,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(ie){Oe(l,l.return,ie)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)is(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":is(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(c(163))}if(e=t.sibling,e!==null){e.return=t.return,et=e;break}et=t.return}}function qd(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:bl(e,l),a&4&&kn(5,l);break;case 1:if(bl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(f){Oe(l,l.return,f)}else{var i=ha(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Oe(l,l.return,f)}}a&64&&Md(l),a&512&&Zn(l,l.return);break;case 3:if(bl(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{Rf(e,t)}catch(f){Oe(l,l.return,f)}}break;case 27:t===null&&a&4&&Hd(l);case 26:case 5:bl(e,l),t===null&&a&4&&wd(l),a&512&&Zn(l,l.return);break;case 12:bl(e,l);break;case 31:bl(e,l),a&4&&Gd(e,l);break;case 13:bl(e,l),a&4&&Vd(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=R0.bind(null,l),V0(e,l))));break;case 22:if(a=l.memoizedState!==null||vl,!a){t=t!==null&&t.memoizedState!==null||We,i=vl;var u=We;vl=a,(We=t)&&!u?Sl(e,l,(l.subtreeFlags&8772)!==0):bl(e,l),vl=i,We=u}break;case 30:break;default:bl(e,l)}}function Yd(e){var t=e.alternate;t!==null&&(e.alternate=null,Yd(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 He=null,yt=!1;function gl(e,t,l){for(l=l.child;l!==null;)Xd(e,t,l),l=l.sibling}function Xd(e,t,l){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(yn,l)}catch{}switch(l.tag){case 26:We||al(l,t),gl(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:We||al(l,t);var a=He,i=yt;Ql(l.type)&&(He=l.stateNode,yt=!1),gl(e,t,l),ti(l.stateNode),He=a,yt=i;break;case 5:We||al(l,t);case 6:if(a=He,i=yt,He=null,gl(e,t,l),He=a,yt=i,He!==null)if(yt)try{(He.nodeType===9?He.body:He.nodeName==="HTML"?He.ownerDocument.body:He).removeChild(l.stateNode)}catch(u){Oe(l,t,u)}else try{He.removeChild(l.stateNode)}catch(u){Oe(l,t,u)}break;case 18:He!==null&&(yt?(e=He,Mh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),nn(e)):Mh(He,l.stateNode));break;case 4:a=He,i=yt,He=l.stateNode.containerInfo,yt=!0,gl(e,t,l),He=a,yt=i;break;case 0:case 11:case 14:case 15:Hl(2,l,t),We||Hl(4,l,t),gl(e,t,l);break;case 1:We||(al(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Ud(l,t,a)),gl(e,t,l);break;case 21:gl(e,t,l);break;case 22:We=(a=We)||l.memoizedState!==null,gl(e,t,l),We=a;break;default:gl(e,t,l)}}function Gd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{nn(e)}catch(l){Oe(t,t.return,l)}}}function Vd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{nn(e)}catch(l){Oe(t,t.return,l)}}function p0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Ld),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Ld),t;default:throw Error(c(435,e.tag))}}function ou(e,t){var l=p0(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var i=A0.bind(null,e,a);a.then(i,i)}})}function vt(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var i=l[a],u=e,f=t,m=f;e:for(;m!==null;){switch(m.tag){case 27:if(Ql(m.type)){He=m.stateNode,yt=!1;break e}break;case 5:He=m.stateNode,yt=!1;break e;case 3:case 4:He=m.stateNode.containerInfo,yt=!0;break e}m=m.return}if(He===null)throw Error(c(160));Xd(u,f,i),He=null,yt=!1,u=i.alternate,u!==null&&(u.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Qd(t,e),t=t.sibling}var Kt=null;function Qd(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:vt(t,e),gt(e),a&4&&(Hl(3,e,e.return),kn(3,e),Hl(5,e,e.return));break;case 1:vt(t,e),gt(e),a&512&&(We||l===null||al(l,l.return)),a&64&&vl&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var i=Kt;if(vt(t,e),gt(e),a&512&&(We||l===null||al(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,i=i.ownerDocument||i;t:switch(a){case"title":u=i.getElementsByTagName("title")[0],(!u||u[bn]||u[tt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=i.createElement(a),i.head.insertBefore(u,i.querySelector("head > title"))),it(u,a,l),u[tt]=e,Pe(u),a=u;break e;case"link":var f=Qh("link","href",i).get(a+(l.href||""));if(f){for(var m=0;m<f.length;m++)if(u=f[m],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){f.splice(m,1);break t}}u=i.createElement(a),it(u,a,l),i.head.appendChild(u);break;case"meta":if(f=Qh("meta","content",i).get(a+(l.content||""))){for(m=0;m<f.length;m++)if(u=f[m],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){f.splice(m,1);break t}}u=i.createElement(a),it(u,a,l),i.head.appendChild(u);break;default:throw Error(c(468,a))}u[tt]=e,Pe(u),a=u}e.stateNode=a}else kh(i,e.type,e.stateNode);else e.stateNode=Vh(i,a,e.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?kh(i,e.type,e.stateNode):Vh(i,a,e.memoizedProps)):a===null&&e.stateNode!==null&&jc(e,e.memoizedProps,l.memoizedProps)}break;case 27:vt(t,e),gt(e),a&512&&(We||l===null||al(l,l.return)),l!==null&&a&4&&jc(e,e.memoizedProps,l.memoizedProps);break;case 5:if(vt(t,e),gt(e),a&512&&(We||l===null||al(l,l.return)),e.flags&32){i=e.stateNode;try{Oa(i,"")}catch(I){Oe(e,e.return,I)}}a&4&&e.stateNode!=null&&(i=e.memoizedProps,jc(e,i,l!==null?l.memoizedProps:i)),a&1024&&(Uc=!0);break;case 6:if(vt(t,e),gt(e),a&4){if(e.stateNode===null)throw Error(c(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(I){Oe(e,e.return,I)}}break;case 3:if(_u=null,i=Kt,Kt=Au(t.containerInfo),vt(t,e),Kt=i,gt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{nn(t.containerInfo)}catch(I){Oe(e,e.return,I)}Uc&&(Uc=!1,kd(e));break;case 4:a=Kt,Kt=Au(e.stateNode.containerInfo),vt(t,e),gt(e),Kt=a;break;case 12:vt(t,e),gt(e);break;case 31:vt(t,e),gt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ou(e,a)));break;case 13:vt(t,e),gt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(du=Rt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ou(e,a)));break;case 22:i=e.memoizedState!==null;var x=l!==null&&l.memoizedState!==null,z=vl,H=We;if(vl=z||i,We=H||x,vt(t,e),We=H,vl=z,gt(e),a&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(l===null||x||vl||We||ma(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){x=l=t;try{if(u=x.stateNode,i)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{m=x.stateNode;var G=x.memoizedProps.style,j=G!=null&&G.hasOwnProperty("display")?G.display:null;m.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(I){Oe(x,x.return,I)}}}else if(t.tag===6){if(l===null){x=t;try{x.stateNode.nodeValue=i?"":x.memoizedProps}catch(I){Oe(x,x.return,I)}}}else if(t.tag===18){if(l===null){x=t;try{var D=x.stateNode;i?Uh(D,!0):Uh(x.stateNode,!1)}catch(I){Oe(x,x.return,I)}}}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;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,ou(e,l))));break;case 19:vt(t,e),gt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ou(e,a)));break;case 30:break;case 21:break;default:vt(t,e),gt(e)}}function gt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Bd(a)){l=a;break}a=a.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var i=l.stateNode,u=Dc(e);su(e,u,i);break;case 5:var f=l.stateNode;l.flags&32&&(Oa(f,""),l.flags&=-33);var m=Dc(e);su(e,m,f);break;case 3:case 4:var x=l.stateNode.containerInfo,z=Dc(e);Mc(e,z,x);break;default:throw Error(c(161))}}catch(H){Oe(e,e.return,H)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function kd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;kd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function bl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)qd(e,t.alternate,t),t=t.sibling}function ma(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Hl(4,t,t.return),ma(t);break;case 1:al(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Ud(t,t.return,l),ma(t);break;case 27:ti(t.stateNode);case 26:case 5:al(t,t.return),ma(t);break;case 22:t.memoizedState===null&&ma(t);break;case 30:ma(t);break;default:ma(t)}e=e.sibling}}function Sl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,i=e,u=t,f=u.flags;switch(u.tag){case 0:case 11:case 15:Sl(i,u,l),kn(4,u);break;case 1:if(Sl(i,u,l),a=u,i=a.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(z){Oe(a,a.return,z)}if(a=u,i=a.updateQueue,i!==null){var m=a.stateNode;try{var x=i.shared.hiddenCallbacks;if(x!==null)for(i.shared.hiddenCallbacks=null,i=0;i<x.length;i++)Ef(x[i],m)}catch(z){Oe(a,a.return,z)}}l&&f&64&&Md(u),Zn(u,u.return);break;case 27:Hd(u);case 26:case 5:Sl(i,u,l),l&&a===null&&f&4&&wd(u),Zn(u,u.return);break;case 12:Sl(i,u,l);break;case 31:Sl(i,u,l),l&&f&4&&Gd(i,u);break;case 13:Sl(i,u,l),l&&f&4&&Vd(i,u);break;case 22:u.memoizedState===null&&Sl(i,u,l),Zn(u,u.return);break;case 30:break;default:Sl(i,u,l)}t=t.sibling}}function wc(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Dn(l))}function Bc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Dn(e))}function Jt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Zd(e,t,l,a),t=t.sibling}function Zd(e,t,l,a){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Jt(e,t,l,a),i&2048&&kn(9,t);break;case 1:Jt(e,t,l,a);break;case 3:Jt(e,t,l,a),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Dn(e)));break;case 12:if(i&2048){Jt(e,t,l,a),e=t.stateNode;try{var u=t.memoizedProps,f=u.id,m=u.onPostCommit;typeof m=="function"&&m(f,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(x){Oe(t,t.return,x)}}else Jt(e,t,l,a);break;case 31:Jt(e,t,l,a);break;case 13:Jt(e,t,l,a);break;case 23:break;case 22:u=t.stateNode,f=t.alternate,t.memoizedState!==null?u._visibility&2?Jt(e,t,l,a):Kn(e,t):u._visibility&2?Jt(e,t,l,a):(u._visibility|=2,Ka(e,t,l,a,(t.subtreeFlags&10256)!==0||!1)),i&2048&&wc(f,t);break;case 24:Jt(e,t,l,a),i&2048&&Bc(t.alternate,t);break;default:Jt(e,t,l,a)}}function Ka(e,t,l,a,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,f=t,m=l,x=a,z=f.flags;switch(f.tag){case 0:case 11:case 15:Ka(u,f,m,x,i),kn(8,f);break;case 23:break;case 22:var H=f.stateNode;f.memoizedState!==null?H._visibility&2?Ka(u,f,m,x,i):Kn(u,f):(H._visibility|=2,Ka(u,f,m,x,i)),i&&z&2048&&wc(f.alternate,f);break;case 24:Ka(u,f,m,x,i),i&&z&2048&&Bc(f.alternate,f);break;default:Ka(u,f,m,x,i)}t=t.sibling}}function Kn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,i=a.flags;switch(a.tag){case 22:Kn(l,a),i&2048&&wc(a.alternate,a);break;case 24:Kn(l,a),i&2048&&Bc(a.alternate,a);break;default:Kn(l,a)}t=t.sibling}}var Jn=8192;function Ja(e,t,l){if(e.subtreeFlags&Jn)for(e=e.child;e!==null;)Kd(e,t,l),e=e.sibling}function Kd(e,t,l){switch(e.tag){case 26:Ja(e,t,l),e.flags&Jn&&e.memoizedState!==null&&tv(l,Kt,e.memoizedState,e.memoizedProps);break;case 5:Ja(e,t,l);break;case 3:case 4:var a=Kt;Kt=Au(e.stateNode.containerInfo),Ja(e,t,l),Kt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Jn,Jn=16777216,Ja(e,t,l),Jn=a):Ja(e,t,l));break;default:Ja(e,t,l)}}function Jd(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 Fn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];et=a,$d(a,e)}Jd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fd(e),e=e.sibling}function Fd(e){switch(e.tag){case 0:case 11:case 15:Fn(e),e.flags&2048&&Hl(9,e,e.return);break;case 3:Fn(e);break;case 12:Fn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,fu(e)):Fn(e);break;default:Fn(e)}}function fu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];et=a,$d(a,e)}Jd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Hl(8,t,t.return),fu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,fu(t));break;default:fu(t)}e=e.sibling}}function $d(e,t){for(;et!==null;){var l=et;switch(l.tag){case 0:case 11:case 15:Hl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Dn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,et=a;else e:for(l=e;et!==null;){a=et;var i=a.sibling,u=a.return;if(Yd(a),a===l){et=null;break e}if(i!==null){i.return=u,et=i;break e}et=u}}}var y0={getCacheForType:function(e){var t=at(Je),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return at(Je).controller.signal}},v0=typeof WeakMap=="function"?WeakMap:Map,Ae=0,Me=null,me=null,ye=0,_e=0,Nt=null,Ll=!1,Fa=!1,Hc=!1,xl=0,Ge=0,ql=0,pa=0,Lc=0,jt=0,$a=0,$n=null,bt=null,qc=!1,du=0,Wd=0,hu=1/0,mu=null,Yl=null,Ie=0,Xl=null,Wa=null,El=0,Yc=0,Xc=null,Id=null,Wn=0,Gc=null;function Dt(){return(Ae&2)!==0&&ye!==0?ye&-ye:U.T!==null?Jc():ho()}function Pd(){if(jt===0)if((ye&536870912)===0||ge){var e=Ei;Ei<<=1,(Ei&3932160)===0&&(Ei=262144),jt=e}else jt=536870912;return e=Ct.current,e!==null&&(e.flags|=32),jt}function St(e,t,l){(e===Me&&(_e===2||_e===9)||e.cancelPendingCommit!==null)&&(Ia(e,0),Gl(e,ye,jt,!1)),gn(e,l),((Ae&2)===0||e!==Me)&&(e===Me&&((Ae&2)===0&&(pa|=l),Ge===4&&Gl(e,ye,jt,!1)),nl(e))}function eh(e,t,l){if((Ae&6)!==0)throw Error(c(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||vn(e,t),i=a?S0(e,t):Qc(e,t,!0),u=a;do{if(i===0){Fa&&!a&&Gl(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!g0(l)){i=Qc(e,t,!1),u=!1;continue}if(i===2){if(u=t,e.errorRecoveryDisabledLanes&u)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;i=$n;var x=m.current.memoizedState.isDehydrated;if(x&&(Ia(m,f).flags|=256),f=Qc(m,f,!1),f!==2){if(Hc&&!x){m.errorRecoveryDisabledLanes|=u,pa|=u,i=4;break e}u=bt,bt=i,u!==null&&(bt===null?bt=u:bt.push.apply(bt,u))}i=f}if(u=!1,i!==2)continue}}if(i===1){Ia(e,0),Gl(e,t,0,!0);break}e:{switch(a=e,u=i,u){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:Gl(a,t,jt,!Ll);break e;case 2:bt=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(i=du+300-Rt(),10<i)){if(Gl(a,t,jt,!Ll),Ai(a,0,!0)!==0)break e;El=t,a.timeoutHandle=jh(th.bind(null,a,l,bt,mu,qc,t,jt,pa,$a,Ll,u,"Throttled",-0,0),i);break e}th(a,l,bt,mu,qc,t,jt,pa,$a,Ll,u,null,-0,0)}}break}while(!0);nl(e)}function th(e,t,l,a,i,u,f,m,x,z,H,G,j,D){if(e.timeoutHandle=-1,G=t.subtreeFlags,G&8192||(G&16785408)===16785408){G={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:rl},Kd(t,u,G);var I=(u&62914560)===u?du-Rt():(u&4194048)===u?Wd-Rt():0;if(I=lv(G,I),I!==null){El=u,e.cancelPendingCommit=I(sh.bind(null,e,t,u,l,a,i,f,m,x,H,G,null,j,D)),Gl(e,u,f,!z);return}}sh(e,t,u,l,a,i,f,m,x)}function g0(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var i=l[a],u=i.getSnapshot;i=i.value;try{if(!_t(u(),i))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;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 Gl(e,t,l,a){t&=~Lc,t&=~pa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var i=t;0<i;){var u=31-Tt(i),f=1<<u;a[u]=-1,i&=~f}l!==0&&so(e,l,t)}function pu(){return(Ae&6)===0?(In(0),!1):!0}function Vc(){if(me!==null){if(_e===0)var e=me.return;else e=me,fl=ua=null,ic(e),Ga=null,Un=0,e=me;for(;e!==null;)Dd(e.alternate,e),e=e.return;me=null}}function Ia(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,L0(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),El=0,Vc(),Me=e,me=l=sl(e.current,null),ye=t,_e=0,Nt=null,Ll=!1,Fa=vn(e,t),Hc=!1,$a=jt=Lc=pa=ql=Ge=0,bt=$n=null,qc=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var i=31-Tt(a),u=1<<i;t|=e[i],a&=~u}return xl=t,Bi(),l}function lh(e,t){ce=null,U.H=Gn,t===Xa||t===Qi?(t=gf(),_e=3):t===Kr?(t=gf(),_e=4):_e=t===xc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Nt=t,me===null&&(Ge=1,nu(e,Ht(t,e.current)))}function ah(){var e=Ct.current;return e===null?!0:(ye&4194048)===ye?Xt===null:(ye&62914560)===ye||(ye&536870912)!==0?e===Xt:!1}function nh(){var e=U.H;return U.H=Gn,e===null?Gn:e}function ih(){var e=U.A;return U.A=y0,e}function yu(){Ge=4,Ll||(ye&4194048)!==ye&&Ct.current!==null||(Fa=!0),(ql&134217727)===0&&(pa&134217727)===0||Me===null||Gl(Me,ye,jt,!1)}function Qc(e,t,l){var a=Ae;Ae|=2;var i=nh(),u=ih();(Me!==e||ye!==t)&&(mu=null,Ia(e,t)),t=!1;var f=Ge;e:do try{if(_e!==0&&me!==null){var m=me,x=Nt;switch(_e){case 8:Vc(),f=6;break e;case 3:case 2:case 9:case 6:Ct.current===null&&(t=!0);var z=_e;if(_e=0,Nt=null,Pa(e,m,x,z),l&&Fa){f=0;break e}break;default:z=_e,_e=0,Nt=null,Pa(e,m,x,z)}}b0(),f=Ge;break}catch(H){lh(e,H)}while(!0);return t&&e.shellSuspendCounter++,fl=ua=null,Ae=a,U.H=i,U.A=u,me===null&&(Me=null,ye=0,Bi()),f}function b0(){for(;me!==null;)uh(me)}function S0(e,t){var l=Ae;Ae|=2;var a=nh(),i=ih();Me!==e||ye!==t?(mu=null,hu=Rt()+500,Ia(e,t)):Fa=vn(e,t);e:do try{if(_e!==0&&me!==null){t=me;var u=Nt;t:switch(_e){case 1:_e=0,Nt=null,Pa(e,t,u,1);break;case 2:case 9:if(yf(u)){_e=0,Nt=null,rh(t);break}t=function(){_e!==2&&_e!==9||Me!==e||(_e=7),nl(e)},u.then(t,t);break e;case 3:_e=7;break e;case 4:_e=5;break e;case 7:yf(u)?(_e=0,Nt=null,rh(t)):(_e=0,Nt=null,Pa(e,t,u,7));break;case 5:var f=null;switch(me.tag){case 26:f=me.memoizedState;case 5:case 27:var m=me;if(f?Zh(f):m.stateNode.complete){_e=0,Nt=null;var x=m.sibling;if(x!==null)me=x;else{var z=m.return;z!==null?(me=z,vu(z)):me=null}break t}}_e=0,Nt=null,Pa(e,t,u,5);break;case 6:_e=0,Nt=null,Pa(e,t,u,6);break;case 8:Vc(),Ge=6;break e;default:throw Error(c(462))}}x0();break}catch(H){lh(e,H)}while(!0);return fl=ua=null,U.H=a,U.A=i,Ae=l,me!==null?0:(Me=null,ye=0,Bi(),Ge)}function x0(){for(;me!==null&&!Wl();)uh(me)}function uh(e){var t=Nd(e.alternate,e,xl);e.memoizedProps=e.pendingProps,t===null?vu(e):me=t}function rh(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Ad(l,t,t.pendingProps,t.type,void 0,ye);break;case 11:t=Ad(l,t,t.pendingProps,t.type.render,t.ref,ye);break;case 5:ic(t);default:Dd(l,t),t=me=nf(t,xl),t=Nd(l,t,xl)}e.memoizedProps=e.pendingProps,t===null?vu(e):me=t}function Pa(e,t,l,a){fl=ua=null,ic(t),Ga=null,Un=0;var i=t.return;try{if(s0(e,i,t,l,ye)){Ge=1,nu(e,Ht(l,e.current)),me=null;return}}catch(u){if(i!==null)throw me=i,u;Ge=1,nu(e,Ht(l,e.current)),me=null;return}t.flags&32768?(ge||a===1?e=!0:Fa||(ye&536870912)!==0?e=!1:(Ll=e=!0,(a===2||a===9||a===3||a===6)&&(a=Ct.current,a!==null&&a.tag===13&&(a.flags|=16384))),ch(t,e)):vu(t)}function vu(e){var t=e;do{if((t.flags&32768)!==0){ch(t,Ll);return}e=t.return;var l=d0(t.alternate,t,xl);if(l!==null){me=l;return}if(t=t.sibling,t!==null){me=t;return}me=t=e}while(t!==null);Ge===0&&(Ge=5)}function ch(e,t){do{var l=h0(e.alternate,e);if(l!==null){l.flags&=32767,me=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){me=e;return}me=e=l}while(e!==null);Ge=6,me=null}function sh(e,t,l,a,i,u,f,m,x){e.cancelPendingCommit=null;do gu();while(Ie!==0);if((Ae&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(u=t.lanes|t.childLanes,u|=Dr,ey(e,l,u,f,m,x),e===Me&&(me=Me=null,ye=0),Wa=t,Xl=e,El=l,Yc=u,Xc=i,Id=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,T0(Si,function(){return mh(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=U.T,U.T=null,i=J.p,J.p=2,f=Ae,Ae|=4;try{m0(e,t,l)}finally{Ae=f,J.p=i,U.T=a}}Ie=1,oh(),fh(),dh()}}function oh(){if(Ie===1){Ie=0;var e=Xl,t=Wa,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=U.T,U.T=null;var a=J.p;J.p=2;var i=Ae;Ae|=4;try{Qd(t,e);var u=ls,f=Fo(e.containerInfo),m=u.focusedElem,x=u.selectionRange;if(f!==m&&m&&m.ownerDocument&&Jo(m.ownerDocument.documentElement,m)){if(x!==null&&Or(m)){var z=x.start,H=x.end;if(H===void 0&&(H=z),"selectionStart"in m)m.selectionStart=z,m.selectionEnd=Math.min(H,m.value.length);else{var G=m.ownerDocument||document,j=G&&G.defaultView||window;if(j.getSelection){var D=j.getSelection(),I=m.textContent.length,ie=Math.min(x.start,I),Ne=x.end===void 0?ie:Math.min(x.end,I);!D.extend&&ie>Ne&&(f=Ne,Ne=ie,ie=f);var T=Ko(m,ie),R=Ko(m,Ne);if(T&&R&&(D.rangeCount!==1||D.anchorNode!==T.node||D.anchorOffset!==T.offset||D.focusNode!==R.node||D.focusOffset!==R.offset)){var C=G.createRange();C.setStart(T.node,T.offset),D.removeAllRanges(),ie>Ne?(D.addRange(C),D.extend(R.node,R.offset)):(C.setEnd(R.node,R.offset),D.addRange(C))}}}}for(G=[],D=m;D=D.parentNode;)D.nodeType===1&&G.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<G.length;m++){var Y=G[m];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}Nu=!!ts,ls=ts=null}finally{Ae=i,J.p=a,U.T=l}}e.current=t,Ie=2}}function fh(){if(Ie===2){Ie=0;var e=Xl,t=Wa,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=U.T,U.T=null;var a=J.p;J.p=2;var i=Ae;Ae|=4;try{qd(e,t.alternate,t)}finally{Ae=i,J.p=a,U.T=l}}Ie=3}}function dh(){if(Ie===4||Ie===3){Ie=0,kp();var e=Xl,t=Wa,l=El,a=Id;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ie=5:(Ie=0,Wa=Xl=null,hh(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Yl=null),cr(l),t=t.stateNode,At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(yn,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=U.T,i=J.p,J.p=2,U.T=null;try{for(var u=e.onRecoverableError,f=0;f<a.length;f++){var m=a[f];u(m.value,{componentStack:m.stack})}}finally{U.T=t,J.p=i}}(El&3)!==0&&gu(),nl(e),i=e.pendingLanes,(l&261930)!==0&&(i&42)!==0?e===Gc?Wn++:(Wn=0,Gc=e):Wn=0,In(0)}}function hh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Dn(t)))}function gu(){return oh(),fh(),dh(),mh()}function mh(){if(Ie!==5)return!1;var e=Xl,t=Yc;Yc=0;var l=cr(El),a=U.T,i=J.p;try{J.p=32>l?32:l,U.T=null,l=Xc,Xc=null;var u=Xl,f=El;if(Ie=0,Wa=Xl=null,El=0,(Ae&6)!==0)throw Error(c(331));var m=Ae;if(Ae|=4,Fd(u.current),Zd(u,u.current,f,l),Ae=m,In(0,!1),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(yn,u)}catch{}return!0}finally{J.p=i,U.T=a,hh(e,t)}}function ph(e,t,l){t=Ht(l,t),t=Sc(e.stateNode,t,2),e=Ul(e,t,2),e!==null&&(gn(e,2),nl(e))}function Oe(e,t,l){if(e.tag===3)ph(e,e,l);else for(;t!==null;){if(t.tag===3){ph(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Yl===null||!Yl.has(a))){e=Ht(l,e),l=yd(2),a=Ul(t,l,2),a!==null&&(vd(l,a,t,e),gn(a,2),nl(a));break}}t=t.return}}function kc(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new v0;var i=new Set;a.set(t,i)}else i=a.get(t),i===void 0&&(i=new Set,a.set(t,i));i.has(l)||(Hc=!0,i.add(l),e=E0.bind(null,e,t,l),t.then(e,e))}function E0(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Me===e&&(ye&l)===l&&(Ge===4||Ge===3&&(ye&62914560)===ye&&300>Rt()-du?(Ae&2)===0&&Ia(e,0):Lc|=l,$a===ye&&($a=0)),nl(e)}function yh(e,t){t===0&&(t=co()),e=aa(e,t),e!==null&&(gn(e,t),nl(e))}function R0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),yh(e,l)}function A0(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,i=e.memoizedState;i!==null&&(l=i.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(t),yh(e,l)}function T0(e,t){return Sa(e,t)}var bu=null,en=null,Zc=!1,Su=!1,Kc=!1,Vl=0;function nl(e){e!==en&&e.next===null&&(en===null?bu=en=e:en=en.next=e),Su=!0,Zc||(Zc=!0,O0())}function In(e,t){if(!Kc&&Su){Kc=!0;do for(var l=!1,a=bu;a!==null;){if(e!==0){var i=a.pendingLanes;if(i===0)var u=0;else{var f=a.suspendedLanes,m=a.pingedLanes;u=(1<<31-Tt(42|e)+1)-1,u&=i&~(f&~m),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Sh(a,u))}else u=ye,u=Ai(a,a===Me?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||vn(a,u)||(l=!0,Sh(a,u));a=a.next}while(l);Kc=!1}}function _0(){vh()}function vh(){Su=Zc=!1;var e=0;Vl!==0&&H0()&&(e=Vl);for(var t=Rt(),l=null,a=bu;a!==null;){var i=a.next,u=gh(a,t);u===0?(a.next=null,l===null?bu=i:l.next=i,i===null&&(en=l)):(l=a,(e!==0||(u&3)!==0)&&(Su=!0)),a=i}Ie!==0&&Ie!==5||In(e),Vl!==0&&(Vl=0)}function gh(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var f=31-Tt(u),m=1<<f,x=i[f];x===-1?((m&l)===0||(m&a)!==0)&&(i[f]=Pp(m,t)):x<=t&&(e.expiredLanes|=m),u&=~m}if(t=Me,l=ye,l=Ai(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(_e===2||_e===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&pn(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||vn(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&pn(a),cr(l)){case 2:case 8:l=uo;break;case 32:l=Si;break;case 268435456:l=ro;break;default:l=Si}return a=bh.bind(null,e),l=Sa(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&pn(a),e.callbackPriority=2,e.callbackNode=null,2}function bh(e,t){if(Ie!==0&&Ie!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(gu()&&e.callbackNode!==l)return null;var a=ye;return a=Ai(e,e===Me?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(eh(e,a,t),gh(e,Rt()),e.callbackNode!=null&&e.callbackNode===l?bh.bind(null,e):null)}function Sh(e,t){if(gu())return null;eh(e,t,!0)}function O0(){q0(function(){(Ae&6)!==0?Sa(io,_0):vh()})}function Jc(){if(Vl===0){var e=qa;e===0&&(e=xi,xi<<=1,(xi&261888)===0&&(xi=256)),Vl=e}return Vl}function xh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ci(""+e)}function Eh(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function C0(e,t,l,a,i){if(t==="submit"&&l&&l.stateNode===i){var u=xh((i[mt]||null).action),f=a.submitter;f&&(t=(t=f[mt]||null)?xh(t.formAction):f.getAttribute("formAction"),t!==null&&(u=t,f=null));var m=new Di("action","action",null,a,i);e.push({event:m,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Vl!==0){var x=f?Eh(i,f):new FormData(i);mc(l,{pending:!0,data:x,method:i.method,action:u},null,x)}}else typeof u=="function"&&(m.preventDefault(),x=f?Eh(i,f):new FormData(i),mc(l,{pending:!0,data:x,method:i.method,action:u},u,x))},currentTarget:i}]})}}for(var Fc=0;Fc<jr.length;Fc++){var $c=jr[Fc],z0=$c.toLowerCase(),N0=$c[0].toUpperCase()+$c.slice(1);Zt(z0,"on"+N0)}Zt(Io,"onAnimationEnd"),Zt(Po,"onAnimationIteration"),Zt(ef,"onAnimationStart"),Zt("dblclick","onDoubleClick"),Zt("focusin","onFocus"),Zt("focusout","onBlur"),Zt(Zy,"onTransitionRun"),Zt(Ky,"onTransitionStart"),Zt(Jy,"onTransitionCancel"),Zt(tf,"onTransitionEnd"),Ta("onMouseEnter",["mouseout","mouseover"]),Ta("onMouseLeave",["mouseout","mouseover"]),Ta("onPointerEnter",["pointerout","pointerover"]),Ta("onPointerLeave",["pointerout","pointerover"]),Pl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pn="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(" "),j0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pn));function Rh(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],i=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var f=a.length-1;0<=f;f--){var m=a[f],x=m.instance,z=m.currentTarget;if(m=m.listener,x!==u&&i.isPropagationStopped())break e;u=m,i.currentTarget=z;try{u(i)}catch(H){wi(H)}i.currentTarget=null,u=x}else for(f=0;f<a.length;f++){if(m=a[f],x=m.instance,z=m.currentTarget,m=m.listener,x!==u&&i.isPropagationStopped())break e;u=m,i.currentTarget=z;try{u(i)}catch(H){wi(H)}i.currentTarget=null,u=x}}}}function pe(e,t){var l=t[sr];l===void 0&&(l=t[sr]=new Set);var a=e+"__bubble";l.has(a)||(Ah(t,e,2,!1),l.add(a))}function Wc(e,t,l){var a=0;t&&(a|=4),Ah(l,e,a,t)}var xu="_reactListening"+Math.random().toString(36).slice(2);function Ic(e){if(!e[xu]){e[xu]=!0,yo.forEach(function(l){l!=="selectionchange"&&(j0.has(l)||Wc(l,!1,e),Wc(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xu]||(t[xu]=!0,Wc("selectionchange",!1,t))}}function Ah(e,t,l,a){switch(Ph(t)){case 2:var i=iv;break;case 8:i=uv;break;default:i=hs}l=i.bind(null,t,l,e),i=void 0,!gr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),a?i!==void 0?e.addEventListener(t,l,{capture:!0,passive:i}):e.addEventListener(t,l,!0):i!==void 0?e.addEventListener(t,l,{passive:i}):e.addEventListener(t,l,!1)}function Pc(e,t,l,a,i){var u=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===i)break;if(f===4)for(f=a.return;f!==null;){var x=f.tag;if((x===3||x===4)&&f.stateNode.containerInfo===i)return;f=f.return}for(;m!==null;){if(f=Ea(m),f===null)return;if(x=f.tag,x===5||x===6||x===26||x===27){a=u=f;continue e}m=m.parentNode}}a=a.return}Co(function(){var z=u,H=yr(l),G=[];e:{var j=lf.get(e);if(j!==void 0){var D=Di,I=e;switch(e){case"keypress":if(Ni(l)===0)break e;case"keydown":case"keyup":D=Ay;break;case"focusin":I="focus",D=Er;break;case"focusout":I="blur",D=Er;break;case"beforeblur":case"afterblur":D=Er;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":D=jo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":D=dy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":D=Oy;break;case Io:case Po:case ef:D=py;break;case tf:D=zy;break;case"scroll":case"scrollend":D=oy;break;case"wheel":D=jy;break;case"copy":case"cut":case"paste":D=vy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":D=Mo;break;case"toggle":case"beforetoggle":D=My}var ie=(t&4)!==0,Ne=!ie&&(e==="scroll"||e==="scrollend"),T=ie?j!==null?j+"Capture":null:j;ie=[];for(var R=z,C;R!==null;){var Y=R;if(C=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||C===null||T===null||(Y=xn(R,T),Y!=null&&ie.push(ei(R,Y,C))),Ne)break;R=R.return}0<ie.length&&(j=new D(j,I,null,l,H),G.push({event:j,listeners:ie}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",D=e==="mouseout"||e==="pointerout",j&&l!==pr&&(I=l.relatedTarget||l.fromElement)&&(Ea(I)||I[xa]))break e;if((D||j)&&(j=H.window===H?H:(j=H.ownerDocument)?j.defaultView||j.parentWindow:window,D?(I=l.relatedTarget||l.toElement,D=z,I=I?Ea(I):null,I!==null&&(Ne=d(I),ie=I.tag,I!==Ne||ie!==5&&ie!==27&&ie!==6)&&(I=null)):(D=null,I=z),D!==I)){if(ie=jo,Y="onMouseLeave",T="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(ie=Mo,Y="onPointerLeave",T="onPointerEnter",R="pointer"),Ne=D==null?j:Sn(D),C=I==null?j:Sn(I),j=new ie(Y,R+"leave",D,l,H),j.target=Ne,j.relatedTarget=C,Y=null,Ea(H)===z&&(ie=new ie(T,R+"enter",I,l,H),ie.target=C,ie.relatedTarget=Ne,Y=ie),Ne=Y,D&&I)t:{for(ie=D0,T=D,R=I,C=0,Y=T;Y;Y=ie(Y))C++;Y=0;for(var ae=R;ae;ae=ie(ae))Y++;for(;0<C-Y;)T=ie(T),C--;for(;0<Y-C;)R=ie(R),Y--;for(;C--;){if(T===R||R!==null&&T===R.alternate){ie=T;break t}T=ie(T),R=ie(R)}ie=null}else ie=null;D!==null&&Th(G,j,D,ie,!1),I!==null&&Ne!==null&&Th(G,Ne,I,ie,!0)}}e:{if(j=z?Sn(z):window,D=j.nodeName&&j.nodeName.toLowerCase(),D==="select"||D==="input"&&j.type==="file")var xe=Xo;else if(qo(j))if(Go)xe=Vy;else{xe=Xy;var P=Yy}else D=j.nodeName,!D||D.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?z&&mr(z.elementType)&&(xe=Xo):xe=Gy;if(xe&&(xe=xe(e,z))){Yo(G,xe,l,H);break e}P&&P(e,j,z),e==="focusout"&&z&&j.type==="number"&&z.memoizedProps.value!=null&&hr(j,"number",j.value)}switch(P=z?Sn(z):window,e){case"focusin":(qo(P)||P.contentEditable==="true")&&(ja=P,Cr=z,zn=null);break;case"focusout":zn=Cr=ja=null;break;case"mousedown":zr=!0;break;case"contextmenu":case"mouseup":case"dragend":zr=!1,$o(G,l,H);break;case"selectionchange":if(ky)break;case"keydown":case"keyup":$o(G,l,H)}var se;if(Ar)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else Na?Ho(e,l)&&(ve="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(ve="onCompositionStart");ve&&(Uo&&l.locale!=="ko"&&(Na||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&Na&&(se=zo()):(Ol=H,br="value"in Ol?Ol.value:Ol.textContent,Na=!0)),P=Eu(z,ve),0<P.length&&(ve=new Do(ve,e,null,l,H),G.push({event:ve,listeners:P}),se?ve.data=se:(se=Lo(l),se!==null&&(ve.data=se)))),(se=wy?By(e,l):Hy(e,l))&&(ve=Eu(z,"onBeforeInput"),0<ve.length&&(P=new Do("onBeforeInput","beforeinput",null,l,H),G.push({event:P,listeners:ve}),P.data=se)),C0(G,e,z,l,H)}Rh(G,t)})}function ei(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Eu(e,t){for(var l=t+"Capture",a=[];e!==null;){var i=e,u=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||u===null||(i=xn(e,l),i!=null&&a.unshift(ei(e,i,u)),i=xn(e,t),i!=null&&a.push(ei(e,i,u))),e.tag===3)return a;e=e.return}return[]}function D0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Th(e,t,l,a,i){for(var u=t._reactName,f=[];l!==null&&l!==a;){var m=l,x=m.alternate,z=m.stateNode;if(m=m.tag,x!==null&&x===a)break;m!==5&&m!==26&&m!==27||z===null||(x=z,i?(z=xn(l,u),z!=null&&f.unshift(ei(l,z,x))):i||(z=xn(l,u),z!=null&&f.push(ei(l,z,x)))),l=l.return}f.length!==0&&e.push({event:t,listeners:f})}var M0=/\r\n?/g,U0=/\u0000|\uFFFD/g;function _h(e){return(typeof e=="string"?e:""+e).replace(M0,`
`).replace(U0,"")}function Oh(e,t){return t=_h(t),_h(e)===t}function ze(e,t,l,a,i,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Oa(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Oa(e,""+a);break;case"className":_i(e,"class",a);break;case"tabIndex":_i(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":_i(e,l,a);break;case"style":_o(e,a,u);break;case"data":if(t!=="object"){_i(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Ci(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(t!=="input"&&ze(e,t,"name",i.name,i,null),ze(e,t,"formEncType",i.formEncType,i,null),ze(e,t,"formMethod",i.formMethod,i,null),ze(e,t,"formTarget",i.formTarget,i,null)):(ze(e,t,"encType",i.encType,i,null),ze(e,t,"method",i.method,i,null),ze(e,t,"target",i.target,i,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Ci(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=rl);break;case"onScroll":a!=null&&pe("scroll",e);break;case"onScrollEnd":a!=null&&pe("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(i.children!=null)throw Error(c(60));e.innerHTML=l}}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}l=Ci(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);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(l,""+a):e.removeAttribute(l);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(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":pe("beforetoggle",e),pe("toggle",e),Ti(e,"popover",a);break;case"xlinkActuate":ul(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ul(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ul(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ul(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ul(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ul(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ul(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ul(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ul(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ti(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=cy.get(l)||l,Ti(e,l,a))}}function es(e,t,l,a,i,u){switch(l){case"style":_o(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(i.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"children":typeof a=="string"?Oa(e,a):(typeof a=="number"||typeof a=="bigint")&&Oa(e,""+a);break;case"onScroll":a!=null&&pe("scroll",e);break;case"onScrollEnd":a!=null&&pe("scrollend",e);break;case"onClick":a!=null&&(e.onclick=rl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!vo.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(i=l.endsWith("Capture"),t=l.slice(2,i?l.length-7:void 0),u=e[mt]||null,u=u!=null?u[l]:null,typeof u=="function"&&e.removeEventListener(t,u,i),typeof a=="function")){typeof u!="function"&&u!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,i);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):Ti(e,l,a)}}}function it(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":pe("error",e),pe("load",e);var a=!1,i=!1,u;for(u in l)if(l.hasOwnProperty(u)){var f=l[u];if(f!=null)switch(u){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:ze(e,t,u,f,l,null)}}i&&ze(e,t,"srcSet",l.srcSet,l,null),a&&ze(e,t,"src",l.src,l,null);return;case"input":pe("invalid",e);var m=u=f=i=null,x=null,z=null;for(a in l)if(l.hasOwnProperty(a)){var H=l[a];if(H!=null)switch(a){case"name":i=H;break;case"type":f=H;break;case"checked":x=H;break;case"defaultChecked":z=H;break;case"value":u=H;break;case"defaultValue":m=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(c(137,t));break;default:ze(e,t,a,H,l,null)}}Eo(e,u,m,x,z,f,i,!1);return;case"select":pe("invalid",e),a=f=u=null;for(i in l)if(l.hasOwnProperty(i)&&(m=l[i],m!=null))switch(i){case"value":u=m;break;case"defaultValue":f=m;break;case"multiple":a=m;default:ze(e,t,i,m,l,null)}t=u,l=f,e.multiple=!!a,t!=null?_a(e,!!a,t,!1):l!=null&&_a(e,!!a,l,!0);return;case"textarea":pe("invalid",e),u=i=a=null;for(f in l)if(l.hasOwnProperty(f)&&(m=l[f],m!=null))switch(f){case"value":a=m;break;case"defaultValue":i=m;break;case"children":u=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(c(91));break;default:ze(e,t,f,m,l,null)}Ao(e,a,i,u);return;case"option":for(x in l)if(l.hasOwnProperty(x)&&(a=l[x],a!=null))switch(x){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:ze(e,t,x,a,l,null)}return;case"dialog":pe("beforetoggle",e),pe("toggle",e),pe("cancel",e),pe("close",e);break;case"iframe":case"object":pe("load",e);break;case"video":case"audio":for(a=0;a<Pn.length;a++)pe(Pn[a],e);break;case"image":pe("error",e),pe("load",e);break;case"details":pe("toggle",e);break;case"embed":case"source":case"link":pe("error",e),pe("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(z in l)if(l.hasOwnProperty(z)&&(a=l[z],a!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:ze(e,t,z,a,l,null)}return;default:if(mr(t)){for(H in l)l.hasOwnProperty(H)&&(a=l[H],a!==void 0&&es(e,t,H,a,l,void 0));return}}for(m in l)l.hasOwnProperty(m)&&(a=l[m],a!=null&&ze(e,t,m,a,l,null))}function w0(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,u=null,f=null,m=null,x=null,z=null,H=null;for(D in l){var G=l[D];if(l.hasOwnProperty(D)&&G!=null)switch(D){case"checked":break;case"value":break;case"defaultValue":x=G;default:a.hasOwnProperty(D)||ze(e,t,D,null,a,G)}}for(var j in a){var D=a[j];if(G=l[j],a.hasOwnProperty(j)&&(D!=null||G!=null))switch(j){case"type":u=D;break;case"name":i=D;break;case"checked":z=D;break;case"defaultChecked":H=D;break;case"value":f=D;break;case"defaultValue":m=D;break;case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(c(137,t));break;default:D!==G&&ze(e,t,j,D,a,G)}}dr(e,f,m,x,z,H,u,i);return;case"select":D=f=m=j=null;for(u in l)if(x=l[u],l.hasOwnProperty(u)&&x!=null)switch(u){case"value":break;case"multiple":D=x;default:a.hasOwnProperty(u)||ze(e,t,u,null,a,x)}for(i in a)if(u=a[i],x=l[i],a.hasOwnProperty(i)&&(u!=null||x!=null))switch(i){case"value":j=u;break;case"defaultValue":m=u;break;case"multiple":f=u;default:u!==x&&ze(e,t,i,u,a,x)}t=m,l=f,a=D,j!=null?_a(e,!!l,j,!1):!!a!=!!l&&(t!=null?_a(e,!!l,t,!0):_a(e,!!l,l?[]:"",!1));return;case"textarea":D=j=null;for(m in l)if(i=l[m],l.hasOwnProperty(m)&&i!=null&&!a.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:ze(e,t,m,null,a,i)}for(f in a)if(i=a[f],u=l[f],a.hasOwnProperty(f)&&(i!=null||u!=null))switch(f){case"value":j=i;break;case"defaultValue":D=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(c(91));break;default:i!==u&&ze(e,t,f,i,a,u)}Ro(e,j,D);return;case"option":for(var I in l)if(j=l[I],l.hasOwnProperty(I)&&j!=null&&!a.hasOwnProperty(I))switch(I){case"selected":e.selected=!1;break;default:ze(e,t,I,null,a,j)}for(x in a)if(j=a[x],D=l[x],a.hasOwnProperty(x)&&j!==D&&(j!=null||D!=null))switch(x){case"selected":e.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:ze(e,t,x,j,a,D)}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 ie in l)j=l[ie],l.hasOwnProperty(ie)&&j!=null&&!a.hasOwnProperty(ie)&&ze(e,t,ie,null,a,j);for(z in a)if(j=a[z],D=l[z],a.hasOwnProperty(z)&&j!==D&&(j!=null||D!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(c(137,t));break;default:ze(e,t,z,j,a,D)}return;default:if(mr(t)){for(var Ne in l)j=l[Ne],l.hasOwnProperty(Ne)&&j!==void 0&&!a.hasOwnProperty(Ne)&&es(e,t,Ne,void 0,a,j);for(H in a)j=a[H],D=l[H],!a.hasOwnProperty(H)||j===D||j===void 0&&D===void 0||es(e,t,H,j,a,D);return}}for(var T in l)j=l[T],l.hasOwnProperty(T)&&j!=null&&!a.hasOwnProperty(T)&&ze(e,t,T,null,a,j);for(G in a)j=a[G],D=l[G],!a.hasOwnProperty(G)||j===D||j==null&&D==null||ze(e,t,G,j,a,D)}function Ch(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function B0(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var i=l[a],u=i.transferSize,f=i.initiatorType,m=i.duration;if(u&&m&&Ch(f)){for(f=0,m=i.responseEnd,a+=1;a<l.length;a++){var x=l[a],z=x.startTime;if(z>m)break;var H=x.transferSize,G=x.initiatorType;H&&Ch(G)&&(x=x.responseEnd,f+=H*(x<m?1:(m-z)/(x-z)))}if(--a,t+=8*(u+f)/(i.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 ts=null,ls=null;function Ru(e){return e.nodeType===9?e:e.ownerDocument}function zh(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 Nh(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 as(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 ns=null;function H0(){var e=window.event;return e&&e.type==="popstate"?e===ns?!1:(ns=e,!0):(ns=null,!1)}var jh=typeof setTimeout=="function"?setTimeout:void 0,L0=typeof clearTimeout=="function"?clearTimeout:void 0,Dh=typeof Promise=="function"?Promise:void 0,q0=typeof queueMicrotask=="function"?queueMicrotask:typeof Dh<"u"?function(e){return Dh.resolve(null).then(e).catch(Y0)}:jh;function Y0(e){setTimeout(function(){throw e})}function Ql(e){return e==="head"}function Mh(e,t){var l=t,a=0;do{var i=l.nextSibling;if(e.removeChild(l),i&&i.nodeType===8)if(l=i.data,l==="/$"||l==="/&"){if(a===0){e.removeChild(i),nn(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")ti(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,ti(l);for(var u=l.firstChild;u;){var f=u.nextSibling,m=u.nodeName;u[bn]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=f}}else l==="body"&&ti(e.ownerDocument.body);l=i}while(l);nn(t)}function Uh(e,t){var l=e;e=0;do{var a=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=a}while(l)}function is(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":is(l),or(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function X0(e,t,l,a){for(;e.nodeType===1;){var i=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[bn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=Gt(e.nextSibling),e===null)break}return null}function G0(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Gt(e.nextSibling),e===null))return null;return e}function wh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Gt(e.nextSibling),e===null))return null;return e}function us(e){return e.data==="$?"||e.data==="$~"}function rs(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function V0(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Gt(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 cs=null;function Bh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return Gt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Hh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function Lh(e,t,l){switch(t=Ru(l),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function ti(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);or(e)}var Vt=new Map,qh=new Set;function Au(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Rl=J.d;J.d={f:Q0,r:k0,D:Z0,C:K0,L:J0,m:F0,X:W0,S:$0,M:I0};function Q0(){var e=Rl.f(),t=pu();return e||t}function k0(e){var t=Ra(e);t!==null&&t.tag===5&&t.type==="form"?ld(t):Rl.r(e)}var tn=typeof document>"u"?null:document;function Yh(e,t,l){var a=tn;if(a&&typeof t=="string"&&t){var i=wt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof l=="string"&&(i+='[crossorigin="'+l+'"]'),qh.has(i)||(qh.add(i),e={rel:e,crossOrigin:l,href:t},a.querySelector(i)===null&&(t=a.createElement("link"),it(t,"link",e),Pe(t),a.head.appendChild(t)))}}function Z0(e){Rl.D(e),Yh("dns-prefetch",e,null)}function K0(e,t){Rl.C(e,t),Yh("preconnect",e,t)}function J0(e,t,l){Rl.L(e,t,l);var a=tn;if(a&&e&&t){var i='link[rel="preload"][as="'+wt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(i+='[imagesrcset="'+wt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(i+='[imagesizes="'+wt(l.imageSizes)+'"]')):i+='[href="'+wt(e)+'"]';var u=i;switch(t){case"style":u=ln(e);break;case"script":u=an(e)}Vt.has(u)||(e=b({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Vt.set(u,e),a.querySelector(i)!==null||t==="style"&&a.querySelector(li(u))||t==="script"&&a.querySelector(ai(u))||(t=a.createElement("link"),it(t,"link",e),Pe(t),a.head.appendChild(t)))}}function F0(e,t){Rl.m(e,t);var l=tn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+wt(a)+'"][href="'+wt(e)+'"]',u=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=an(e)}if(!Vt.has(u)&&(e=b({rel:"modulepreload",href:e},t),Vt.set(u,e),l.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(ai(u)))return}a=l.createElement("link"),it(a,"link",e),Pe(a),l.head.appendChild(a)}}}function $0(e,t,l){Rl.S(e,t,l);var a=tn;if(a&&e){var i=Aa(a).hoistableStyles,u=ln(e);t=t||"default";var f=i.get(u);if(!f){var m={loading:0,preload:null};if(f=a.querySelector(li(u)))m.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Vt.get(u))&&ss(e,l);var x=f=a.createElement("link");Pe(x),it(x,"link",e),x._p=new Promise(function(z,H){x.onload=z,x.onerror=H}),x.addEventListener("load",function(){m.loading|=1}),x.addEventListener("error",function(){m.loading|=2}),m.loading|=4,Tu(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:m},i.set(u,f)}}}function W0(e,t){Rl.X(e,t);var l=tn;if(l&&e){var a=Aa(l).hoistableScripts,i=an(e),u=a.get(i);u||(u=l.querySelector(ai(i)),u||(e=b({src:e,async:!0},t),(t=Vt.get(i))&&os(e,t),u=l.createElement("script"),Pe(u),it(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(i,u))}}function I0(e,t){Rl.M(e,t);var l=tn;if(l&&e){var a=Aa(l).hoistableScripts,i=an(e),u=a.get(i);u||(u=l.querySelector(ai(i)),u||(e=b({src:e,async:!0,type:"module"},t),(t=Vt.get(i))&&os(e,t),u=l.createElement("script"),Pe(u),it(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(i,u))}}function Xh(e,t,l,a){var i=(i=k.current)?Au(i):null;if(!i)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=ln(l.href),l=Aa(i).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=ln(l.href);var u=Aa(i).hoistableStyles,f=u.get(e);if(f||(i=i.ownerDocument||i,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,f),(u=i.querySelector(li(e)))&&!u._p&&(f.instance=u,f.state.loading=5),Vt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Vt.set(e,l),u||P0(i,e,l,f.state))),t&&a===null)throw Error(c(528,""));return f}if(t&&a!==null)throw Error(c(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=an(l),l=Aa(i).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function ln(e){return'href="'+wt(e)+'"'}function li(e){return'link[rel="stylesheet"]['+e+"]"}function Gh(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function P0(e,t,l,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}),it(t,"link",l),Pe(t),e.head.appendChild(t))}function an(e){return'[src="'+wt(e)+'"]'}function ai(e){return"script[async]"+e}function Vh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+wt(l.href)+'"]');if(a)return t.instance=a,Pe(a),a;var i=b({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Pe(a),it(a,"style",i),Tu(a,l.precedence,e),t.instance=a;case"stylesheet":i=ln(l.href);var u=e.querySelector(li(i));if(u)return t.state.loading|=4,t.instance=u,Pe(u),u;a=Gh(l),(i=Vt.get(i))&&ss(a,i),u=(e.ownerDocument||e).createElement("link"),Pe(u);var f=u;return f._p=new Promise(function(m,x){f.onload=m,f.onerror=x}),it(u,"link",a),t.state.loading|=4,Tu(u,l.precedence,e),t.instance=u;case"script":return u=an(l.src),(i=e.querySelector(ai(u)))?(t.instance=i,Pe(i),i):(a=l,(i=Vt.get(u))&&(a=b({},l),os(a,i)),e=e.ownerDocument||e,i=e.createElement("script"),Pe(i),it(i,"link",a),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Tu(a,l.precedence,e));return t.instance}function Tu(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,u=i,f=0;f<a.length;f++){var m=a[f];if(m.dataset.precedence===t)u=m;else if(u!==i)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function ss(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function os(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var _u=null;function Qh(e,t,l){if(_u===null){var a=new Map,i=_u=new Map;i.set(l,a)}else i=_u,a=i.get(l),a||(a=new Map,i.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),i=0;i<l.length;i++){var u=l[i];if(!(u[bn]||u[tt]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var f=u.getAttribute(t)||"";f=e+f;var m=a.get(f);m?m.push(u):a.set(f,[u])}}return a}function kh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function ev(e,t,l){if(l===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 Zh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function tv(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var i=ln(a.href),u=t.querySelector(li(i));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Ou.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,Pe(u);return}u=t.ownerDocument||t,a=Gh(a),(i=Vt.get(i))&&ss(a,i),u=u.createElement("link"),Pe(u);var f=u;f._p=new Promise(function(m,x){f.onload=m,f.onerror=x}),it(u,"link",a),l.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Ou.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var fs=0;function lv(e,t){return e.stylesheets&&e.count===0&&zu(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&zu(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&fs===0&&(fs=62500*B0());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&zu(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>fs?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(i)}}:null}function Ou(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)zu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Cu=null;function zu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Cu=new Map,t.forEach(av,e),Cu=null,Ou.call(e))}function av(e,t){if(!(t.state.loading&4)){var l=Cu.get(e);if(l)var a=l.get(null);else{l=new Map,Cu.set(e,l);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<i.length;u++){var f=i[u];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(l.set(f.dataset.precedence,f),a=f)}a&&l.set(null,a)}i=t.instance,f=i.getAttribute("data-precedence"),u=l.get(f)||a,u===a&&l.set(null,i),l.set(f,i),this.count++,a=Ou.bind(this),i.addEventListener("load",a),i.addEventListener("error",a),u?u.parentNode.insertBefore(i,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ni={$$typeof:V,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function nv(e,t,l,a,i,u,f,m,x){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=ur(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ur(0),this.hiddenUpdates=ur(null),this.identifierPrefix=a,this.onUncaughtError=i,this.onCaughtError=u,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function Kh(e,t,l,a,i,u,f,m,x,z,H,G){return e=new nv(e,t,l,f,x,z,H,G,m),t=1,u===!0&&(t|=24),u=Ot(3,null,null,t),e.current=u,u.stateNode=e,t=Qr(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},Jr(u),e}function Jh(e){return e?(e=Ua,e):Ua}function Fh(e,t,l,a,i,u){i=Jh(i),a.context===null?a.context=i:a.pendingContext=i,a=Ml(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=Ul(e,a,t),l!==null&&(St(l,e,t),Bn(l,e,t))}function $h(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function ds(e,t){$h(e,t),(e=e.alternate)&&$h(e,t)}function Wh(e){if(e.tag===13||e.tag===31){var t=aa(e,67108864);t!==null&&St(t,e,67108864),ds(e,67108864)}}function Ih(e){if(e.tag===13||e.tag===31){var t=Dt();t=rr(t);var l=aa(e,t);l!==null&&St(l,e,t),ds(e,t)}}var Nu=!0;function iv(e,t,l,a){var i=U.T;U.T=null;var u=J.p;try{J.p=2,hs(e,t,l,a)}finally{J.p=u,U.T=i}}function uv(e,t,l,a){var i=U.T;U.T=null;var u=J.p;try{J.p=8,hs(e,t,l,a)}finally{J.p=u,U.T=i}}function hs(e,t,l,a){if(Nu){var i=ms(a);if(i===null)Pc(e,t,a,ju,l),em(e,a);else if(cv(i,e,t,l,a))a.stopPropagation();else if(em(e,a),t&4&&-1<rv.indexOf(e)){for(;i!==null;){var u=Ra(i);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var f=Il(u.pendingLanes);if(f!==0){var m=u;for(m.pendingLanes|=2,m.entangledLanes|=2;f;){var x=1<<31-Tt(f);m.entanglements[1]|=x,f&=~x}nl(u),(Ae&6)===0&&(hu=Rt()+500,In(0))}}break;case 31:case 13:m=aa(u,2),m!==null&&St(m,u,2),pu(),ds(u,2)}if(u=ms(a),u===null&&Pc(e,t,a,ju,l),u===i)break;i=u}i!==null&&a.stopPropagation()}else Pc(e,t,a,null,l)}}function ms(e){return e=yr(e),ps(e)}var ju=null;function ps(e){if(ju=null,e=Ea(e),e!==null){var t=d(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=h(t),e!==null)return e;e=null}else if(l===31){if(e=y(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ju=e,null}function Ph(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(Zp()){case io:return 2;case uo:return 8;case Si:case Kp:return 32;case ro:return 268435456;default:return 32}default:return 32}}var ys=!1,kl=null,Zl=null,Kl=null,ii=new Map,ui=new Map,Jl=[],rv="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 em(e,t){switch(e){case"focusin":case"focusout":kl=null;break;case"dragenter":case"dragleave":Zl=null;break;case"mouseover":case"mouseout":Kl=null;break;case"pointerover":case"pointerout":ii.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ui.delete(t.pointerId)}}function ri(e,t,l,a,i,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[i]},t!==null&&(t=Ra(t),t!==null&&Wh(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function cv(e,t,l,a,i){switch(t){case"focusin":return kl=ri(kl,e,t,l,a,i),!0;case"dragenter":return Zl=ri(Zl,e,t,l,a,i),!0;case"mouseover":return Kl=ri(Kl,e,t,l,a,i),!0;case"pointerover":var u=i.pointerId;return ii.set(u,ri(ii.get(u)||null,e,t,l,a,i)),!0;case"gotpointercapture":return u=i.pointerId,ui.set(u,ri(ui.get(u)||null,e,t,l,a,i)),!0}return!1}function tm(e){var t=Ea(e.target);if(t!==null){var l=d(t);if(l!==null){if(t=l.tag,t===13){if(t=h(l),t!==null){e.blockedOn=t,mo(e.priority,function(){Ih(l)});return}}else if(t===31){if(t=y(l),t!==null){e.blockedOn=t,mo(e.priority,function(){Ih(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Du(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=ms(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);pr=a,l.target.dispatchEvent(a),pr=null}else return t=Ra(l),t!==null&&Wh(t),e.blockedOn=l,!1;t.shift()}return!0}function lm(e,t,l){Du(e)&&l.delete(t)}function sv(){ys=!1,kl!==null&&Du(kl)&&(kl=null),Zl!==null&&Du(Zl)&&(Zl=null),Kl!==null&&Du(Kl)&&(Kl=null),ii.forEach(lm),ui.forEach(lm)}function Mu(e,t){e.blockedOn===t&&(e.blockedOn=null,ys||(ys=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,sv)))}var Uu=null;function am(e){Uu!==e&&(Uu=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Uu===e&&(Uu=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],i=e[t+2];if(typeof a!="function"){if(ps(a||l)===null)continue;break}var u=Ra(l);u!==null&&(e.splice(t,3),t-=3,mc(u,{pending:!0,data:i,method:l.method,action:a},a,i))}}))}function nn(e){function t(x){return Mu(x,e)}kl!==null&&Mu(kl,e),Zl!==null&&Mu(Zl,e),Kl!==null&&Mu(Kl,e),ii.forEach(t),ui.forEach(t);for(var l=0;l<Jl.length;l++){var a=Jl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Jl.length&&(l=Jl[0],l.blockedOn===null);)tm(l),l.blockedOn===null&&Jl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var i=l[a],u=l[a+1],f=i[mt]||null;if(typeof u=="function")f||am(l);else if(f){var m=null;if(u&&u.hasAttribute("formAction")){if(i=u,f=u[mt]||null)m=f.formAction;else if(ps(i)!==null)continue}else m=f.action;typeof m=="function"?l[a+1]=m:(l.splice(a,3),a-=3),am(l)}}}function nm(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(f){return i=f})},focusReset:"manual",scroll:"manual"})}function t(){i!==null&&(i(),i=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),i!==null&&(i(),i=null)}}}function vs(e){this._internalRoot=e}wu.prototype.render=vs.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var l=t.current,a=Dt();Fh(l,a,e,t,null,null)},wu.prototype.unmount=vs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Fh(e.current,2,null,e,null,null),pu(),t[xa]=null}};function wu(e){this._internalRoot=e}wu.prototype.unstable_scheduleHydration=function(e){if(e){var t=ho();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Jl.length&&t!==0&&t<Jl[l].priority;l++);Jl.splice(l,0,e),l===0&&tm(e)}};var im=r.version;if(im!=="19.2.7")throw Error(c(527,im,"19.2.7"));J.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=v(t),e=e!==null?S(e):null,e=e===null?null:e.stateNode,e};var ov={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bu.isDisabled&&Bu.supportsFiber)try{yn=Bu.inject(ov),At=Bu}catch{}}return si.createRoot=function(e,t){if(!o(e))throw Error(c(299));var l=!1,a="",i=dd,u=hd,f=md;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=Kh(e,1,!1,null,null,l,a,null,i,u,f,nm),e[xa]=t.current,Ic(e),new vs(t)},si.hydrateRoot=function(e,t,l){if(!o(e))throw Error(c(299));var a=!1,i="",u=dd,f=hd,m=md,x=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(i=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(f=l.onCaughtError),l.onRecoverableError!==void 0&&(m=l.onRecoverableError),l.formState!==void 0&&(x=l.formState)),t=Kh(e,1,!0,t,l??null,a,i,x,u,f,m,nm),t.context=Jh(null),l=t.current,a=Dt(),a=rr(a),i=Ml(a),i.callback=null,Ul(l,i,a),l=a,t.current.lanes=l,gn(t,l),nl(t),e[xa]=t.current,Ic(e),new wu(t)},si.version="19.2.7",si}var pm;function xv(){if(pm)return Ss.exports;pm=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Ss.exports=Sv(),Ss.exports}var Ev=xv();const Rv=Zm(Ev);/**
 * react-router v7.18.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 Vs=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Km=/^[\\/]{2}/;function Av(n,r){return r+n.replace(/\\/g,"/")}var ym="popstate";function vm(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function Tv(n={}){function r(c,o){var v;let d=(v=o.state)==null?void 0:v.masked,{pathname:h,search:y,hash:g}=d||c.location;return Bs("",{pathname:h,search:y,hash:g},o.state&&o.state.usr||null,o.state&&o.state.key||"default",d?{pathname:c.location.pathname,search:c.location.search,hash:c.location.hash}:void 0)}function s(c,o){return typeof o=="string"?o:di(o)}return Ov(r,s,null,n)}function Le(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function Wt(n,r){if(!n){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function _v(){return Math.random().toString(36).substring(2,10)}function gm(n,r){return{usr:n.state,key:n.key,idx:r,masked:n.mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function Bs(n,r,s=null,c,o){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof r=="string"?on(r):r,state:s,key:r&&r.key||c||_v(),mask:o}}function di({pathname:n="/",search:r="",hash:s=""}){return r&&r!=="?"&&(n+=r.charAt(0)==="?"?r:"?"+r),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function on(n){let r={};if(n){let s=n.indexOf("#");s>=0&&(r.hash=n.substring(s),n=n.substring(0,s));let c=n.indexOf("?");c>=0&&(r.search=n.substring(c),n=n.substring(0,c)),n&&(r.pathname=n)}return r}function Ov(n,r,s,c={}){let{window:o=document.defaultView,v5Compat:d=!1}=c,h=o.history,y="POP",g=null,v=S();v==null&&(v=0,h.replaceState({...h.state,idx:v},""));function S(){return(h.state||{idx:null}).idx}function b(){y="POP";let B=S(),O=B==null?null:B-v;v=B,g&&g({action:y,location:q.location,delta:O})}function N(B,O){y="PUSH";let M=vm(B)?B:Bs(q.location,B,O);v=S()+1;let V=gm(M,v),W=q.createHref(M.mask||M);try{h.pushState(V,"",W)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;o.location.assign(W)}d&&g&&g({action:y,location:q.location,delta:1})}function w(B,O){y="REPLACE";let M=vm(B)?B:Bs(q.location,B,O);v=S();let V=gm(M,v),W=q.createHref(M.mask||M);h.replaceState(V,"",W),d&&g&&g({action:y,location:q.location,delta:0})}function Q(B){return Cv(o,B)}let q={get action(){return y},get location(){return n(o,h)},listen(B){if(g)throw new Error("A history only accepts one active listener");return o.addEventListener(ym,b),g=B,()=>{o.removeEventListener(ym,b),g=null}},createHref(B){return r(o,B)},createURL:Q,encodeLocation(B){let O=Q(B);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:N,replace:w,go(B){return h.go(B)}};return q}function Cv(n,r,s=!1){let c="http://localhost";n&&(c=n.location.origin!=="null"?n.location.origin:n.location.href),Le(c,"No window.location.(origin|href) available to create URL");let o=typeof r=="string"?r:di(r);return o=o.replace(/ $/,"%20"),!s&&Km.test(o)&&(o=c+o),new URL(o,c)}function Jm(n,r,s="/"){return zv(n,r,s,!1)}function zv(n,r,s,c,o){let d=typeof r=="string"?on(r):r,h=Al(d.pathname||"/",s);if(h==null)return null;let y=Nv(n),g=null,v=Xv(h);for(let S=0;g==null&&S<y.length;++S)g=Yv(y[S],v,c);return g}function Nv(n){let r=Fm(n);return jv(r),r}function Fm(n,r=[],s=[],c="",o=!1){let d=(h,y,g=o,v)=>{let S={relativePath:v===void 0?h.path||"":v,caseSensitive:h.caseSensitive===!0,childrenIndex:y,route:h};if(S.relativePath.startsWith("/")){if(!S.relativePath.startsWith(c)&&g)return;Le(S.relativePath.startsWith(c),`Absolute route path "${S.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),S.relativePath=S.relativePath.slice(c.length)}let b=$t([c,S.relativePath]),N=s.concat(S);h.children&&h.children.length>0&&(Le(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),Fm(h.children,r,N,b,g)),!(h.path==null&&!h.index)&&r.push({path:b,score:Lv(b,h.index),routesMeta:N.map((w,Q)=>{let[q,B]=Im(w.relativePath,w.caseSensitive,Q===N.length-1);return{...w,matcher:q,compiledParams:B}})})};return n.forEach((h,y)=>{var g;if(h.path===""||!((g=h.path)!=null&&g.includes("?")))d(h,y);else for(let v of $m(h.path))d(h,y,!0,v)}),r}function $m(n){let r=n.split("/");if(r.length===0)return[];let[s,...c]=r,o=s.endsWith("?"),d=s.replace(/\?$/,"");if(c.length===0)return o?[d,""]:[d];let h=$m(c.join("/")),y=[];return y.push(...h.map(g=>g===""?d:[d,g].join("/"))),o&&y.push(...h),y.map(g=>n.startsWith("/")&&g===""?"/":g)}function jv(n){n.sort((r,s)=>r.score!==s.score?s.score-r.score:qv(r.routesMeta.map(c=>c.childrenIndex),s.routesMeta.map(c=>c.childrenIndex)))}var Dv=/^:[\w-]+$/,Mv=3,Uv=2,wv=1,Bv=10,Hv=-2,bm=n=>n==="*";function Lv(n,r){let s=n.split("/"),c=s.length;return s.some(bm)&&(c+=Hv),r&&(c+=Uv),s.filter(o=>!bm(o)).reduce((o,d)=>o+(Dv.test(d)?Mv:d===""?wv:Bv),c)}function qv(n,r){return n.length===r.length&&n.slice(0,-1).every((c,o)=>c===r[o])?n[n.length-1]-r[r.length-1]:0}function Yv(n,r,s=!1){let{routesMeta:c}=n,o={},d="/",h=[];for(let y=0;y<c.length;++y){let g=c[y],v=y===c.length-1,S=d==="/"?r:r.slice(d.length)||"/",b={path:g.relativePath,caseSensitive:g.caseSensitive,end:v},N=g.matcher&&g.compiledParams?Wm(b,S,g.matcher,g.compiledParams):ku(b,S),w=g.route;if(!N&&v&&s&&!c[c.length-1].route.index&&(N=ku({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},S)),!N)return null;Object.assign(o,N.params),h.push({params:o,pathname:$t([d,N.pathname]),pathnameBase:Qv($t([d,N.pathnameBase])),route:w}),N.pathnameBase!=="/"&&(d=$t([d,N.pathnameBase]))}return h}function ku(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[s,c]=Im(n.path,n.caseSensitive,n.end);return Wm(n,r,s,c)}function Wm(n,r,s,c){let o=r.match(s);if(!o)return null;let d=o[0],h=d.replace(/(.)\/+$/,"$1"),y=o.slice(1);return{params:c.reduce((v,{paramName:S,isOptional:b},N)=>{if(S==="*"){let Q=y[N]||"";h=d.slice(0,d.length-Q.length).replace(/(.)\/+$/,"$1")}const w=y[N];return b&&!w?v[S]=void 0:v[S]=(w||"").replace(/%2F/g,"/"),v},{}),pathname:d,pathnameBase:h,pattern:n}}function Im(n,r=!1,s=!0){Wt(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let c=[],o="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,y,g,v,S)=>{if(c.push({paramName:y,isOptional:g!=null}),g){let b=S.charAt(v+h.length);return b&&b!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(c.push({paramName:"*"}),o+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?o+="\\/*$":n!==""&&n!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,r?void 0:"i"),c]}function Xv(n){try{return n.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Wt(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),n}}function Al(n,r){if(r==="/")return n;if(!n.toLowerCase().startsWith(r.toLowerCase()))return null;let s=r.endsWith("/")?r.length-1:r.length,c=n.charAt(s);return c&&c!=="/"?null:n.slice(s)||"/"}function Gv(n,r="/"){let{pathname:s,search:c="",hash:o=""}=typeof n=="string"?on(n):n,d;return s?(s=Pm(s),s.startsWith("/")?d=Sm(s.substring(1),"/"):d=Sm(s,r)):d=r,{pathname:d,search:kv(c),hash:Zv(o)}}function Sm(n,r){let s=Zu(r).split("/");return n.split("/").forEach(o=>{o===".."?s.length>1&&s.pop():o!=="."&&s.push(o)}),s.length>1?s.join("/"):"/"}function As(n,r,s,c){return`Cannot include a '${n}' character in a manually specified \`to.${r}\` field [${JSON.stringify(c)}].  Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Vv(n){return n.filter((r,s)=>s===0||r.route.path&&r.route.path.length>0)}function Qs(n){let r=Vv(n);return r.map((s,c)=>c===r.length-1?s.pathname:s.pathnameBase)}function Wu(n,r,s,c=!1){let o;typeof n=="string"?o=on(n):(o={...n},Le(!o.pathname||!o.pathname.includes("?"),As("?","pathname","search",o)),Le(!o.pathname||!o.pathname.includes("#"),As("#","pathname","hash",o)),Le(!o.search||!o.search.includes("#"),As("#","search","hash",o)));let d=n===""||o.pathname==="",h=d?"/":o.pathname,y;if(h==null)y=s;else{let b=r.length-1;if(!c&&h.startsWith("..")){let N=h.split("/");for(;N[0]==="..";)N.shift(),b-=1;o.pathname=N.join("/")}y=b>=0?r[b]:"/"}let g=Gv(o,y),v=h&&h!=="/"&&h.endsWith("/"),S=(d||h===".")&&s.endsWith("/");return!g.pathname.endsWith("/")&&(v||S)&&(g.pathname+="/"),g}var Pm=n=>n.replace(/[\\/]{2,}/g,"/"),$t=n=>Pm(n.join("/")),Zu=n=>n.replace(/\/+$/,""),Qv=n=>Zu(n).replace(/^\/*/,"/"),kv=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,Zv=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,Kv=class{constructor(n,r,s,c=!1){this.status=n,this.statusText=r||"",this.internal=c,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function Jv(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function Fv(n){let r=n.map(s=>s.route.path).filter(Boolean);return $t(r)||"/"}var ep=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function tp(n,r){let s=n;if(typeof s!="string"||!Vs.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let c=s,o=!1;if(ep)try{let d=new URL(window.location.href),h=Km.test(s)?new URL(Av(s,d.protocol)):new URL(s),y=Al(h.pathname,r);h.origin===d.origin&&y!=null?s=y+h.search+h.hash:o=!0}catch{Wt(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:c,isExternal:o,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var lp=["POST","PUT","PATCH","DELETE"];new Set(lp);var $v=["GET",...lp];new Set($v);var Wv=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Iv(n){try{return Wv.includes(new URL(n).protocol)}catch{return!1}}var fn=_.createContext(null);fn.displayName="DataRouter";var Iu=_.createContext(null);Iu.displayName="DataRouterState";var ap=_.createContext(!1);function Pv(){return _.useContext(ap)}var np=_.createContext({isTransitioning:!1});np.displayName="ViewTransition";var eg=_.createContext(new Map);eg.displayName="Fetchers";var tg=_.createContext(null);tg.displayName="Await";var Mt=_.createContext(null);Mt.displayName="Navigation";var mi=_.createContext(null);mi.displayName="Location";var It=_.createContext({outlet:null,matches:[],isDataRoute:!1});It.displayName="Route";var ks=_.createContext(null);ks.displayName="RouteError";var ip="REACT_ROUTER_ERROR",lg="REDIRECT",ag="ROUTE_ERROR_RESPONSE";function ng(n){if(n.startsWith(`${ip}:${lg}:{`))try{let r=JSON.parse(n.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function ig(n){if(n.startsWith(`${ip}:${ag}:{`))try{let r=JSON.parse(n.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new Kv(r.status,r.statusText,r.data)}catch{}}function ug(n,{relative:r}={}){Le(dn(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:c}=_.useContext(Mt),{hash:o,pathname:d,search:h}=pi(n,{relative:r}),y=d;return s!=="/"&&(y=d==="/"?s:$t([s,d])),c.createHref({pathname:y,search:h,hash:o})}function dn(){return _.useContext(mi)!=null}function Pt(){return Le(dn(),"useLocation() may be used only in the context of a <Router> component."),_.useContext(mi).location}var up="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function rp(n){_.useContext(Mt).static||_.useLayoutEffect(n)}function Pu(){let{isDataRoute:n}=_.useContext(It);return n?xg():rg()}function rg(){Le(dn(),"useNavigate() may be used only in the context of a <Router> component.");let n=_.useContext(fn),{basename:r,navigator:s}=_.useContext(Mt),{matches:c}=_.useContext(It),{pathname:o}=Pt(),d=JSON.stringify(Qs(c)),h=_.useRef(!1);return rp(()=>{h.current=!0}),_.useCallback((g,v={})=>{if(Wt(h.current,up),!h.current)return;if(typeof g=="number"){s.go(g);return}let S=Wu(g,JSON.parse(d),o,v.relative==="path");n==null&&r!=="/"&&(S.pathname=S.pathname==="/"?r:$t([r,S.pathname])),(v.replace?s.replace:s.push)(S,v.state,v)},[r,s,d,o,n])}var cg=_.createContext(null);function sg(n){let r=_.useContext(It).outlet;return _.useMemo(()=>r&&_.createElement(cg.Provider,{value:n},r),[r,n])}function pi(n,{relative:r}={}){let{matches:s}=_.useContext(It),{pathname:c}=Pt(),o=JSON.stringify(Qs(s));return _.useMemo(()=>Wu(n,JSON.parse(o),c,r==="path"),[n,o,c,r])}function og(n,r){return cp(n,r)}function cp(n,r,s){var B;Le(dn(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=_.useContext(Mt),{matches:o}=_.useContext(It),d=o[o.length-1],h=d?d.params:{},y=d?d.pathname:"/",g=d?d.pathnameBase:"/",v=d&&d.route;{let O=v&&v.path||"";op(y,!v||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${y}" (under <Route path="${O}">) 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="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let S=Pt(),b;if(r){let O=typeof r=="string"?on(r):r;Le(g==="/"||((B=O.pathname)==null?void 0:B.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 "${O.pathname}" was given in the \`location\` prop.`),b=O}else b=S;let N=b.pathname||"/",w=N;if(g!=="/"){let O=g.replace(/^\//,"").split("/");w="/"+N.replace(/^\//,"").split("/").slice(O.length).join("/")}let Q=s&&s.state.matches.length?s.state.matches.map(O=>Object.assign(O,{route:s.manifest[O.route.id]||O.route})):Jm(n,{pathname:w});Wt(v||Q!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),Wt(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 "${b.pathname}${b.search}${b.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 q=pg(Q&&Q.map(O=>Object.assign({},O,{params:Object.assign({},h,O.params),pathname:$t([g,c.encodeLocation?c.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?g:$t([g,c.encodeLocation?c.encodeLocation(O.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),o,s);return r&&q?_.createElement(mi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...b},navigationType:"POP"}},q):q}function fg(){let n=Sg(),r=Jv(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),s=n instanceof Error?n.stack:null,c="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:c},d={padding:"2px 4px",backgroundColor:c},h=null;return console.error("Error handled by React Router default ErrorBoundary:",n),h=_.createElement(_.Fragment,null,_.createElement("p",null,"💿 Hey developer 👋"),_.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",_.createElement("code",{style:d},"ErrorBoundary")," or"," ",_.createElement("code",{style:d},"errorElement")," prop on your route.")),_.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},r),s?_.createElement("pre",{style:o},s):null,h)}var dg=_.createElement(fg,null),sp=class extends _.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,r){return r.location!==n.location||r.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:r.error,location:r.location,revalidation:n.revalidation||r.revalidation}}componentDidCatch(n,r){this.props.onError?this.props.onError(n,r):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const s=ig(n.digest);s&&(n=s)}let r=n!==void 0?_.createElement(It.Provider,{value:this.props.routeContext},_.createElement(ks.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?_.createElement(hg,{error:n},r):r}};sp.contextType=ap;var Ts=new WeakMap;function hg({children:n,error:r}){let{basename:s}=_.useContext(Mt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let c=ng(r.digest);if(c){let o=Ts.get(r);if(o)throw o;let d=tp(c.location,s),h=d.absoluteURL||d.to;if(Iv(h))throw new Error("Invalid redirect location");if(ep&&!Ts.get(r))if(d.isExternal||c.reloadDocument)window.location.href=h;else{const y=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:c.replace}));throw Ts.set(r,y),y}return _.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h}`})}}return n}function mg({routeContext:n,match:r,children:s}){let c=_.useContext(fn);return c&&c.static&&c.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=r.route.id),_.createElement(It.Provider,{value:n},s)}function pg(n,r=[],s){let c=s==null?void 0:s.state;if(n==null){if(!c)return null;if(c.errors)n=c.matches;else if(r.length===0&&!c.initialized&&c.matches.length>0)n=c.matches;else return null}let o=n,d=c==null?void 0:c.errors;if(d!=null){let S=o.findIndex(b=>b.route.id&&(d==null?void 0:d[b.route.id])!==void 0);Le(S>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),o=o.slice(0,Math.min(o.length,S+1))}let h=!1,y=-1;if(s&&c){h=c.renderFallback;for(let S=0;S<o.length;S++){let b=o[S];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(y=S),b.route.id){let{loaderData:N,errors:w}=c,Q=b.route.loader&&!N.hasOwnProperty(b.route.id)&&(!w||w[b.route.id]===void 0);if(b.route.lazy||Q){s.isStatic&&(h=!0),y>=0?o=o.slice(0,y+1):o=[o[0]];break}}}}let g=s==null?void 0:s.onError,v=c&&g?(S,b)=>{var N,w;g(S,{location:c.location,params:((w=(N=c.matches)==null?void 0:N[0])==null?void 0:w.params)??{},pattern:Fv(c.matches),errorInfo:b})}:void 0;return o.reduceRight((S,b,N)=>{let w,Q=!1,q=null,B=null;c&&(w=d&&b.route.id?d[b.route.id]:void 0,q=b.route.errorElement||dg,h&&(y<0&&N===0?(op("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Q=!0,B=null):y===N&&(Q=!0,B=b.route.hydrateFallbackElement||null)));let O=r.concat(o.slice(0,N+1)),M=()=>{let V;return w?V=q:Q?V=B:b.route.Component?V=_.createElement(b.route.Component,null):b.route.element?V=b.route.element:V=S,_.createElement(mg,{match:b,routeContext:{outlet:S,matches:O,isDataRoute:c!=null},children:V})};return c&&(b.route.ErrorBoundary||b.route.errorElement||N===0)?_.createElement(sp,{location:c.location,revalidation:c.revalidation,component:q,error:w,children:M(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:v}):M()},null)}function Zs(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function yg(n){let r=_.useContext(fn);return Le(r,Zs(n)),r}function vg(n){let r=_.useContext(Iu);return Le(r,Zs(n)),r}function gg(n){let r=_.useContext(It);return Le(r,Zs(n)),r}function Ks(n){let r=gg(n),s=r.matches[r.matches.length-1];return Le(s.route.id,`${n} can only be used on routes that contain a unique "id"`),s.route.id}function bg(){return Ks("useRouteId")}function Sg(){var c;let n=_.useContext(ks),r=vg("useRouteError"),s=Ks("useRouteError");return n!==void 0?n:(c=r.errors)==null?void 0:c[s]}function xg(){let{router:n}=yg("useNavigate"),r=Ks("useNavigate"),s=_.useRef(!1);return rp(()=>{s.current=!0}),_.useCallback(async(o,d={})=>{Wt(s.current,up),s.current&&(typeof o=="number"?await n.navigate(o):await n.navigate(o,{fromRouteId:r,...d}))},[n,r])}var xm={};function op(n,r,s){!r&&!xm[n]&&(xm[n]=!0,Wt(!1,s))}_.memo(Eg);function Eg({routes:n,manifest:r,future:s,state:c,isStatic:o,onError:d}){return cp(n,void 0,{manifest:r,state:c,isStatic:o,onError:d})}function fp({to:n,replace:r,state:s,relative:c}){Le(dn(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=_.useContext(Mt);Wt(!o,"<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}=_.useContext(It),{pathname:h}=Pt(),y=Pu(),g=Wu(n,Qs(d),h,c==="path"),v=JSON.stringify(g);return _.useEffect(()=>{y(JSON.parse(v),{replace:r,state:s,relative:c})},[y,v,c,r,s]),null}function dp(n){return sg(n.context)}function il(n){Le(!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 Rg({basename:n="/",children:r=null,location:s,navigationType:c="POP",navigator:o,static:d=!1,useTransitions:h}){Le(!dn(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let y=n.replace(/^\/*/,"/"),g=_.useMemo(()=>({basename:y,navigator:o,static:d,useTransitions:h,future:{}}),[y,o,d,h]);typeof s=="string"&&(s=on(s));let{pathname:v="/",search:S="",hash:b="",state:N=null,key:w="default",mask:Q}=s,q=_.useMemo(()=>{let B=Al(v,y);return B==null?null:{location:{pathname:B,search:S,hash:b,state:N,key:w,mask:Q},navigationType:c}},[y,v,S,b,N,w,c,Q]);return Wt(q!=null,`<Router basename="${y}"> is not able to match the URL "${v}${S}${b}" because it does not start with the basename, so the <Router> won't render anything.`),q==null?null:_.createElement(Mt.Provider,{value:g},_.createElement(mi.Provider,{children:r,value:q}))}function Ag({children:n,location:r}){return og(Hs(n),r)}function Hs(n,r=[]){let s=[];return _.Children.forEach(n,(c,o)=>{if(!_.isValidElement(c))return;let d=[...r,o];if(c.type===_.Fragment){s.push.apply(s,Hs(c.props.children,d));return}Le(c.type===il,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Le(!c.props.index||!c.props.children,"An index route cannot have child routes.");let h={id:c.props.id||d.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,middleware:c.props.middleware,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(h.children=Hs(c.props.children,d)),s.push(h)}),s}var Yu="get",Xu="application/x-www-form-urlencoded";function er(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function Tg(n){return er(n)&&n.tagName.toLowerCase()==="button"}function _g(n){return er(n)&&n.tagName.toLowerCase()==="form"}function Og(n){return er(n)&&n.tagName.toLowerCase()==="input"}function Cg(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function zg(n,r){return n.button===0&&(!r||r==="_self")&&!Cg(n)}var Hu=null;function Ng(){if(Hu===null)try{new FormData(document.createElement("form"),0),Hu=!1}catch{Hu=!0}return Hu}var jg=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _s(n){return n!=null&&!jg.has(n)?(Wt(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Xu}"`),null):n}function Dg(n,r){let s,c,o,d,h;if(_g(n)){let y=n.getAttribute("action");c=y?Al(y,r):null,s=n.getAttribute("method")||Yu,o=_s(n.getAttribute("enctype"))||Xu,d=new FormData(n)}else if(Tg(n)||Og(n)&&(n.type==="submit"||n.type==="image")){let y=n.form;if(y==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=n.getAttribute("formaction")||y.getAttribute("action");if(c=g?Al(g,r):null,s=n.getAttribute("formmethod")||y.getAttribute("method")||Yu,o=_s(n.getAttribute("formenctype"))||_s(y.getAttribute("enctype"))||Xu,d=new FormData(y,n),!Ng()){let{name:v,type:S,value:b}=n;if(S==="image"){let N=v?`${v}.`:"";d.append(`${N}x`,"0"),d.append(`${N}y`,"0")}else v&&d.append(v,b)}}else{if(er(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Yu,c=null,o=Xu,h=n}return d&&o==="text/plain"&&(h=d,d=void 0),{action:c,method:s.toLowerCase(),encType:o,formData:d,body:h}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Js(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function hp(n,r,s,c){let o=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return s?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${c}`:o.pathname=`${o.pathname}.${c}`:o.pathname==="/"?o.pathname=`_root.${c}`:r&&Al(o.pathname,r)==="/"?o.pathname=`${Zu(r)}/_root.${c}`:o.pathname=`${Zu(o.pathname)}.${c}`,o}async function Mg(n,r){if(n.id in r)return r[n.id];try{let s=await import(n.module);return r[n.id]=s,s}catch(s){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Ug(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function wg(n,r,s){let c=await Promise.all(n.map(async o=>{let d=r.routes[o.route.id];if(d){let h=await Mg(d,s);return h.links?h.links():[]}return[]}));return qg(c.flat(1).filter(Ug).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Em(n,r,s,c,o,d){let h=(g,v)=>s[v]?g.route.id!==s[v].route.id:!0,y=(g,v)=>{var S;return s[v].pathname!==g.pathname||((S=s[v].route.path)==null?void 0:S.endsWith("*"))&&s[v].params["*"]!==g.params["*"]};return d==="assets"?r.filter((g,v)=>h(g,v)||y(g,v)):d==="data"?r.filter((g,v)=>{var b;let S=c.routes[g.route.id];if(!S||!S.hasLoader)return!1;if(h(g,v)||y(g,v))return!0;if(g.route.shouldRevalidate){let N=g.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((b=s[0])==null?void 0:b.params)||{},nextUrl:new URL(n,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof N=="boolean")return N}return!0}):[]}function Bg(n,r,{includeHydrateFallback:s}={}){return Hg(n.map(c=>{let o=r.routes[c.route.id];if(!o)return[];let d=[o.module];return o.clientActionModule&&(d=d.concat(o.clientActionModule)),o.clientLoaderModule&&(d=d.concat(o.clientLoaderModule)),s&&o.hydrateFallbackModule&&(d=d.concat(o.hydrateFallbackModule)),o.imports&&(d=d.concat(o.imports)),d}).flat(1))}function Hg(n){return[...new Set(n)]}function Lg(n){let r={},s=Object.keys(n).sort();for(let c of s)r[c]=n[c];return r}function qg(n,r){let s=new Set;return new Set(r),n.reduce((c,o)=>{let d=JSON.stringify(Lg(o));return s.has(d)||(s.add(d),c.push({key:d,link:o})),c},[])}function Fs(){let n=_.useContext(fn);return Js(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function Yg(){let n=_.useContext(Iu);return Js(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var $s=_.createContext(void 0);$s.displayName="FrameworkContext";function tr(){let n=_.useContext($s);return Js(n,"You must render this element inside a <HydratedRouter> element"),n}function Xg(n,r){let s=_.useContext($s),[c,o]=_.useState(!1),[d,h]=_.useState(!1),{onFocus:y,onBlur:g,onMouseEnter:v,onMouseLeave:S,onTouchStart:b}=r,N=_.useRef(null);_.useEffect(()=>{if(n==="render"&&h(!0),n==="viewport"){let q=O=>{O.forEach(M=>{h(M.isIntersecting)})},B=new IntersectionObserver(q,{threshold:.5});return N.current&&B.observe(N.current),()=>{B.disconnect()}}},[n]),_.useEffect(()=>{if(c){let q=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(q)}}},[c]);let w=()=>{o(!0)},Q=()=>{o(!1),h(!1)};return s?n!=="intent"?[d,N,{}]:[d,N,{onFocus:oi(y,w),onBlur:oi(g,Q),onMouseEnter:oi(v,w),onMouseLeave:oi(S,Q),onTouchStart:oi(b,w)}]:[!1,N,{}]}function oi(n,r){return s=>{n&&n(s),s.defaultPrevented||r(s)}}function Gg({page:n,...r}){let s=Pv(),{nonce:c}=tr(),{router:o}=Fs(),d=_.useMemo(()=>Jm(o.routes,n,o.basename),[o.routes,n,o.basename]);return d?(r.nonce==null&&c&&(r={...r,nonce:c}),s?_.createElement(Qg,{page:n,matches:d,...r}):_.createElement(kg,{page:n,matches:d,...r})):null}function Vg(n){let{manifest:r,routeModules:s}=tr(),[c,o]=_.useState([]);return _.useEffect(()=>{let d=!1;return wg(n,r,s).then(h=>{d||o(h)}),()=>{d=!0}},[n,r,s]),c}function Qg({page:n,matches:r,...s}){let c=Pt(),{future:o}=tr(),{basename:d}=Fs(),h=_.useMemo(()=>{if(n===c.pathname+c.search+c.hash)return[];let y=hp(n,d,o.v8_trailingSlashAwareDataRequests,"rsc"),g=!1,v=[];for(let S of r)typeof S.route.shouldRevalidate=="function"?g=!0:v.push(S.route.id);return g&&v.length>0&&y.searchParams.set("_routes",v.join(",")),[y.pathname+y.search]},[d,o.v8_trailingSlashAwareDataRequests,n,c,r]);return _.createElement(_.Fragment,null,h.map(y=>_.createElement("link",{key:y,rel:"prefetch",as:"fetch",href:y,...s})))}function kg({page:n,matches:r,...s}){let c=Pt(),{future:o,manifest:d,routeModules:h}=tr(),{basename:y}=Fs(),{loaderData:g,matches:v}=Yg(),S=_.useMemo(()=>Em(n,r,v,d,c,"data"),[n,r,v,d,c]),b=_.useMemo(()=>Em(n,r,v,d,c,"assets"),[n,r,v,d,c]),N=_.useMemo(()=>{if(n===c.pathname+c.search+c.hash)return[];let q=new Set,B=!1;if(r.forEach(M=>{var W;let V=d.routes[M.route.id];!V||!V.hasLoader||(!S.some(Z=>Z.route.id===M.route.id)&&M.route.id in g&&((W=h[M.route.id])!=null&&W.shouldRevalidate)||V.hasClientLoader?B=!0:q.add(M.route.id))}),q.size===0)return[];let O=hp(n,y,o.v8_trailingSlashAwareDataRequests,"data");return B&&q.size>0&&O.searchParams.set("_routes",r.filter(M=>q.has(M.route.id)).map(M=>M.route.id).join(",")),[O.pathname+O.search]},[y,o.v8_trailingSlashAwareDataRequests,g,c,d,S,r,n,h]),w=_.useMemo(()=>Bg(b,d),[b,d]),Q=Vg(b);return _.createElement(_.Fragment,null,N.map(q=>_.createElement("link",{key:q,rel:"prefetch",as:"fetch",href:q,...s})),w.map(q=>_.createElement("link",{key:q,rel:"modulepreload",href:q,...s})),Q.map(({key:q,link:B})=>_.createElement("link",{key:q,nonce:s.nonce,...B,crossOrigin:B.crossOrigin??s.crossOrigin})))}function Zg(...n){return r=>{n.forEach(s=>{typeof s=="function"?s(r):s!=null&&(s.current=r)})}}var Kg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Kg&&(window.__reactRouterVersion="7.18.0")}catch{}function Jg({basename:n,children:r,useTransitions:s,window:c}){let o=_.useRef();o.current==null&&(o.current=Tv({window:c,v5Compat:!0}));let d=o.current,[h,y]=_.useState({action:d.action,location:d.location}),g=_.useCallback(v=>{s===!1?y(v):_.startTransition(()=>y(v))},[s]);return _.useLayoutEffect(()=>d.listen(g),[d,g]),_.createElement(Rg,{basename:n,children:r,location:h.location,navigationType:h.action,navigator:d,useTransitions:s})}var mp=_.forwardRef(function({onClick:r,discover:s="render",prefetch:c="none",relative:o,reloadDocument:d,replace:h,mask:y,state:g,target:v,to:S,preventScrollReset:b,viewTransition:N,defaultShouldRevalidate:w,...Q},q){let{basename:B,navigator:O,useTransitions:M}=_.useContext(Mt),V=typeof S=="string"&&Vs.test(S),W=tp(S,B);S=W.to;let Z=ug(S,{relative:o}),le=Pt(),ee=null;if(y){let oe=Wu(y,[],le.mask?le.mask.pathname:"/",!0);B!=="/"&&(oe.pathname=oe.pathname==="/"?B:$t([B,oe.pathname])),ee=O.createHref(oe)}let[Re,je,Be]=Xg(c,Q),be=Ig(S,{replace:h,mask:y,state:g,target:v,preventScrollReset:b,relative:o,viewTransition:N,defaultShouldRevalidate:w,useTransitions:M});function Te(oe){r&&r(oe),oe.defaultPrevented||be(oe)}let Ve=!(W.isExternal||d),De=_.createElement("a",{...Q,...Be,href:(Ve?ee:void 0)||W.absoluteURL||Z,onClick:Ve?Te:r,ref:Zg(q,je),target:v,"data-discover":!V&&s==="render"?"true":void 0});return Re&&!V?_.createElement(_.Fragment,null,De,_.createElement(Gg,{page:Z})):De});mp.displayName="Link";var Fg=_.forwardRef(function({"aria-current":r="page",caseSensitive:s=!1,className:c="",end:o=!1,style:d,to:h,viewTransition:y,children:g,...v},S){let b=pi(h,{relative:v.relative}),N=Pt(),w=_.useContext(Iu),{navigator:Q,basename:q}=_.useContext(Mt),B=w!=null&&a1(b)&&y===!0,O=Q.encodeLocation?Q.encodeLocation(b).pathname:b.pathname,M=N.pathname,V=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;s||(M=M.toLowerCase(),V=V?V.toLowerCase():null,O=O.toLowerCase()),V&&q&&(V=Al(V,q)||V);const W=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let Z=M===O||!o&&M.startsWith(O)&&M.charAt(W)==="/",le=V!=null&&(V===O||!o&&V.startsWith(O)&&V.charAt(O.length)==="/"),ee={isActive:Z,isPending:le,isTransitioning:B},Re=Z?r:void 0,je;typeof c=="function"?je=c(ee):je=[c,Z?"active":null,le?"pending":null,B?"transitioning":null].filter(Boolean).join(" ");let Be=typeof d=="function"?d(ee):d;return _.createElement(mp,{...v,"aria-current":Re,className:je,ref:S,style:Be,to:h,viewTransition:y},typeof g=="function"?g(ee):g)});Fg.displayName="NavLink";var $g=_.forwardRef(({discover:n="render",fetcherKey:r,navigate:s,reloadDocument:c,replace:o,state:d,method:h=Yu,action:y,onSubmit:g,relative:v,preventScrollReset:S,viewTransition:b,defaultShouldRevalidate:N,...w},Q)=>{let{useTransitions:q}=_.useContext(Mt),B=t1(),O=l1(y,{relative:v}),M=h.toLowerCase()==="get"?"get":"post",V=typeof y=="string"&&Vs.test(y),W=Z=>{if(g&&g(Z),Z.defaultPrevented)return;Z.preventDefault();let le=Z.nativeEvent.submitter,ee=(le==null?void 0:le.getAttribute("formmethod"))||h,Re=()=>B(le||Z.currentTarget,{fetcherKey:r,method:ee,navigate:s,replace:o,state:d,relative:v,preventScrollReset:S,viewTransition:b,defaultShouldRevalidate:N});q&&s!==!1?_.startTransition(()=>Re()):Re()};return _.createElement("form",{ref:Q,method:M,action:O,onSubmit:c?g:W,...w,"data-discover":!V&&n==="render"?"true":void 0})});$g.displayName="Form";function Wg(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function pp(n){let r=_.useContext(fn);return Le(r,Wg(n)),r}function Ig(n,{target:r,replace:s,mask:c,state:o,preventScrollReset:d,relative:h,viewTransition:y,defaultShouldRevalidate:g,useTransitions:v}={}){let S=Pu(),b=Pt(),N=pi(n,{relative:h});return _.useCallback(w=>{if(zg(w,r)){w.preventDefault();let Q=s!==void 0?s:di(b)===di(N),q=()=>S(n,{replace:Q,mask:c,state:o,preventScrollReset:d,relative:h,viewTransition:y,defaultShouldRevalidate:g});v?_.startTransition(()=>q()):q()}},[b,S,N,s,c,o,r,n,d,h,y,g,v])}var Pg=0,e1=()=>`__${String(++Pg)}__`;function t1(){let{router:n}=pp("useSubmit"),{basename:r}=_.useContext(Mt),s=bg(),c=n.fetch,o=n.navigate;return _.useCallback(async(d,h={})=>{let{action:y,method:g,encType:v,formData:S,body:b}=Dg(d,r);if(h.navigate===!1){let N=h.fetcherKey||e1();await c(N,s,h.action||y,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:S,body:b,formMethod:h.method||g,formEncType:h.encType||v,flushSync:h.flushSync})}else await o(h.action||y,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:S,body:b,formMethod:h.method||g,formEncType:h.encType||v,replace:h.replace,state:h.state,fromRouteId:s,flushSync:h.flushSync,viewTransition:h.viewTransition})},[c,o,r,s])}function l1(n,{relative:r}={}){let{basename:s}=_.useContext(Mt),c=_.useContext(It);Le(c,"useFormAction must be used inside a RouteContext");let[o]=c.matches.slice(-1),d={...pi(n||".",{relative:r})},h=Pt();if(n==null){d.search=h.search;let y=new URLSearchParams(d.search),g=y.getAll("index");if(g.some(S=>S==="")){y.delete("index"),g.filter(b=>b).forEach(b=>y.append("index",b));let S=y.toString();d.search=S?`?${S}`:""}}return(!n||n===".")&&o.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(d.pathname=d.pathname==="/"?s:$t([s,d.pathname])),di(d)}function a1(n,{relative:r}={}){let s=_.useContext(np);Le(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=pp("useViewTransitionState"),o=pi(n,{relative:r});if(!s.isTransitioning)return!1;let d=Al(s.currentLocation.pathname,c)||s.currentLocation.pathname,h=Al(s.nextLocation.pathname,c)||s.nextLocation.pathname;return ku(o.pathname,h)!=null||ku(o.pathname,d)!=null}function yp(n,r){return function(){return n.apply(r,arguments)}}const{toString:n1}=Object.prototype,{getPrototypeOf:cn}=Object,{iterator:yi,toStringTag:vp}=Symbol,Ku=(({hasOwnProperty:n})=>(r,s)=>n.call(r,s))(Object.prototype),hi=(n,r)=>{let s=n;const c=[];for(;s!=null&&s!==Object.prototype;){if(c.indexOf(s)!==-1)return!1;if(c.push(s),Ku(s,r))return!0;s=cn(s)}return!1},i1=(n,r)=>n!=null&&hi(n,r)?n[r]:void 0,Ws=(n=>r=>{const s=n1.call(r);return n[s]||(n[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),el=n=>(n=n.toLowerCase(),r=>Ws(r)===n),lr=n=>r=>typeof r===n,{isArray:ga}=Array,sn=lr("undefined");function hn(n){return n!==null&&!sn(n)&&n.constructor!==null&&!sn(n.constructor)&&xt(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const gp=el("ArrayBuffer");function u1(n){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(n):r=n&&n.buffer&&gp(n.buffer),r}const r1=lr("string"),xt=lr("function"),bp=lr("number"),mn=n=>n!==null&&typeof n=="object",c1=n=>n===!0||n===!1,Gu=n=>{if(!mn(n))return!1;const r=cn(n);return(r===null||r===Object.prototype||cn(r)===null)&&!hi(n,vp)&&!hi(n,yi)},s1=n=>{if(!mn(n)||hn(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},o1=el("Date"),f1=el("File"),d1=n=>!!(n&&typeof n.uri<"u"),h1=n=>n&&typeof n.getParts<"u",m1=el("Blob"),p1=el("FileList"),y1=n=>mn(n)&&xt(n.pipe);function v1(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Rm=v1(),Am=typeof Rm.FormData<"u"?Rm.FormData:void 0,g1=n=>{if(!n)return!1;if(Am&&n instanceof Am)return!0;const r=cn(n);if(!r||r===Object.prototype||!xt(n.append))return!1;const s=Ws(n);return s==="formdata"||s==="object"&&xt(n.toString)&&n.toString()==="[object FormData]"},b1=el("URLSearchParams"),[S1,x1,E1,R1]=["ReadableStream","Request","Response","Headers"].map(el),A1=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function vi(n,r,{allOwnKeys:s=!1}={}){if(n===null||typeof n>"u")return;let c,o;if(typeof n!="object"&&(n=[n]),ga(n))for(c=0,o=n.length;c<o;c++)r.call(null,n[c],c,n);else{if(hn(n))return;const d=s?Object.getOwnPropertyNames(n):Object.keys(n),h=d.length;let y;for(c=0;c<h;c++)y=d[c],r.call(null,n[y],y,n)}}function Sp(n,r){if(hn(n))return null;r=r.toLowerCase();const s=Object.keys(n);let c=s.length,o;for(;c-- >0;)if(o=s[c],r===o.toLowerCase())return o;return null}const ya=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xp=n=>!sn(n)&&n!==ya;function Ls(...n){const{caseless:r,skipUndefined:s}=xp(this)&&this||{},c={},o=(d,h)=>{if(h==="__proto__"||h==="constructor"||h==="prototype")return;const y=r&&typeof h=="string"&&Sp(c,h)||h,g=Ku(c,y)?c[y]:void 0;Gu(g)&&Gu(d)?c[y]=Ls(g,d):Gu(d)?c[y]=Ls({},d):ga(d)?c[y]=d.slice():(!s||!sn(d))&&(c[y]=d)};for(let d=0,h=n.length;d<h;d++){const y=n[d];if(!y||hn(y)||(vi(y,o),typeof y!="object"||ga(y)))continue;const g=Object.getOwnPropertySymbols(y);for(let v=0;v<g.length;v++){const S=g[v];B1.call(y,S)&&o(y[S],S)}}return c}const T1=(n,r,s,{allOwnKeys:c}={})=>(vi(r,(o,d)=>{s&&xt(o)?Object.defineProperty(n,d,{__proto__:null,value:yp(o,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,d,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:c}),n),_1=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),O1=(n,r,s,c)=>{n.prototype=Object.create(r.prototype,c),Object.defineProperty(n.prototype,"constructor",{__proto__:null,value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{__proto__:null,value:r.prototype}),s&&Object.assign(n.prototype,s)},C1=(n,r,s,c)=>{let o,d,h;const y={};if(r=r||{},n==null)return r;do{for(o=Object.getOwnPropertyNames(n),d=o.length;d-- >0;)h=o[d],(!c||c(h,n,r))&&!y[h]&&(r[h]=n[h],y[h]=!0);n=s!==!1&&cn(n)}while(n&&(!s||s(n,r))&&n!==Object.prototype);return r},z1=(n,r,s)=>{n=String(n),(s===void 0||s>n.length)&&(s=n.length),s-=r.length;const c=n.indexOf(r,s);return c!==-1&&c===s},N1=n=>{if(!n)return null;if(ga(n))return n;let r=n.length;if(!bp(r))return null;const s=new Array(r);for(;r-- >0;)s[r]=n[r];return s},j1=(n=>r=>n&&r instanceof n)(typeof Uint8Array<"u"&&cn(Uint8Array)),D1=(n,r)=>{const c=(n&&n[yi]).call(n);let o;for(;(o=c.next())&&!o.done;){const d=o.value;r.call(n,d[0],d[1])}},M1=(n,r)=>{let s;const c=[];for(;(s=n.exec(r))!==null;)c.push(s);return c},U1=el("HTMLFormElement"),w1=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,c,o){return c.toUpperCase()+o}),{propertyIsEnumerable:B1}=Object.prototype,H1=el("RegExp"),Ep=(n,r)=>{const s=Object.getOwnPropertyDescriptors(n),c={};vi(s,(o,d)=>{let h;(h=r(o,d,n))!==!1&&(c[d]=h||o)}),Object.defineProperties(n,c)},L1=n=>{Ep(n,(r,s)=>{if(xt(n)&&["arguments","caller","callee"].includes(s))return!1;const c=n[s];if(xt(c)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},q1=(n,r)=>{const s={},c=o=>{o.forEach(d=>{s[d]=!0})};return ga(n)?c(n):c(String(n).split(r)),s},Y1=()=>{},X1=(n,r)=>n!=null&&Number.isFinite(n=+n)?n:r;function G1(n){return!!(n&&xt(n.append)&&n[vp]==="FormData"&&n[yi])}const V1=n=>{const r=new WeakSet,s=c=>{if(mn(c)){if(r.has(c))return;if(hn(c))return c;if(!("toJSON"in c)){r.add(c);const o=ga(c)?[]:{};return vi(c,(d,h)=>{const y=s(d);!sn(y)&&(o[h]=y)}),r.delete(c),o}}return c};return s(n)},Q1=el("AsyncFunction"),k1=n=>n&&(mn(n)||xt(n))&&xt(n.then)&&xt(n.catch),Rp=((n,r)=>n?setImmediate:r?((s,c)=>(ya.addEventListener("message",({source:o,data:d})=>{o===ya&&d===s&&c.length&&c.shift()()},!1),o=>{c.push(o),ya.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",xt(ya.postMessage)),Z1=typeof queueMicrotask<"u"?queueMicrotask.bind(ya):typeof process<"u"&&process.nextTick||Rp,Ap=n=>n!=null&&xt(n[yi]),K1=n=>n!=null&&hi(n,yi)&&Ap(n),A={isArray:ga,isArrayBuffer:gp,isBuffer:hn,isFormData:g1,isArrayBufferView:u1,isString:r1,isNumber:bp,isBoolean:c1,isObject:mn,isPlainObject:Gu,isEmptyObject:s1,isReadableStream:S1,isRequest:x1,isResponse:E1,isHeaders:R1,isUndefined:sn,isDate:o1,isFile:f1,isReactNativeBlob:d1,isReactNative:h1,isBlob:m1,isRegExp:H1,isFunction:xt,isStream:y1,isURLSearchParams:b1,isTypedArray:j1,isFileList:p1,forEach:vi,merge:Ls,extend:T1,trim:A1,stripBOM:_1,inherits:O1,toFlatObject:C1,kindOf:Ws,kindOfTest:el,endsWith:z1,toArray:N1,forEachEntry:D1,matchAll:M1,isHTMLForm:U1,hasOwnProperty:Ku,hasOwnProp:Ku,hasOwnInPrototypeChain:hi,getSafeProp:i1,reduceDescriptors:Ep,freezeMethods:L1,toObjectSet:q1,toCamelCase:w1,noop:Y1,toFiniteNumber:X1,findKey:Sp,global:ya,isContextDefined:xp,isSpecCompliantForm:G1,toJSONObject:V1,isAsyncFn:Q1,isThenable:k1,setImmediate:Rp,asap:Z1,isIterable:Ap,isSafeIterable:K1},J1=A.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"]),F1=n=>{const r={};let s,c,o;return n&&n.split(`
`).forEach(function(h){o=h.indexOf(":"),s=h.substring(0,o).trim().toLowerCase(),c=h.substring(o+1).trim(),!(!s||r[s]&&J1[s])&&(s==="set-cookie"?r[s]?r[s].push(c):r[s]=[c]:r[s]=r[s]?r[s]+", "+c:c)}),r};function $1(n){let r=0,s=n.length;for(;r<s;){const c=n.charCodeAt(r);if(c!==9&&c!==32)break;r+=1}for(;s>r;){const c=n.charCodeAt(s-1);if(c!==9&&c!==32)break;s-=1}return r===0&&s===n.length?n:n.slice(r,s)}const W1=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),I1=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Is(n,r){return A.isArray(n)?n.map(s=>Is(s,r)):$1(String(n).replace(r,""))}const P1=n=>Is(n,W1),eb=n=>Is(n,I1);function Tp(n){const r=Object.create(null);return A.forEach(n.toJSON(),(s,c)=>{r[c]=eb(s)}),r}const Tm=Symbol("internals");function fi(n){return n&&String(n).trim().toLowerCase()}function Vu(n){return n===!1||n==null?n:A.isArray(n)?n.map(Vu):P1(String(n))}function tb(n){const r=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=s.exec(n);)r[c[1]]=c[2];return r}const lb=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Os(n,r,s,c,o){if(A.isFunction(c))return c.call(this,r,s);if(o&&(r=s),!!A.isString(r)){if(A.isString(c))return r.indexOf(c)!==-1;if(A.isRegExp(c))return c.test(r)}}function ab(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,s,c)=>s.toUpperCase()+c)}function nb(n,r){const s=A.toCamelCase(" "+r);["get","set","has"].forEach(c=>{Object.defineProperty(n,c+s,{__proto__:null,value:function(o,d,h){return this[c].call(this,r,o,d,h)},configurable:!0})})}let st=class{constructor(r){r&&this.set(r)}set(r,s,c){const o=this;function d(y,g,v){const S=fi(g);if(!S)return;const b=A.findKey(o,S);(!b||o[b]===void 0||v===!0||v===void 0&&o[b]!==!1)&&(o[b||g]=Vu(y))}const h=(y,g)=>A.forEach(y,(v,S)=>d(v,S,g));if(A.isPlainObject(r)||r instanceof this.constructor)h(r,s);else if(A.isString(r)&&(r=r.trim())&&!lb(r))h(F1(r),s);else if(A.isObject(r)&&A.isSafeIterable(r)){let y=Object.create(null),g,v;for(const S of r){if(!A.isArray(S))throw new TypeError("Object iterator must return a key-value pair");v=S[0],A.hasOwnProp(y,v)?(g=y[v],y[v]=A.isArray(g)?[...g,S[1]]:[g,S[1]]):y[v]=S[1]}h(y,s)}else r!=null&&d(s,r,c);return this}get(r,s){if(r=fi(r),r){const c=A.findKey(this,r);if(c){const o=this[c];if(!s)return o;if(s===!0)return tb(o);if(A.isFunction(s))return s.call(this,o,c);if(A.isRegExp(s))return s.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,s){if(r=fi(r),r){const c=A.findKey(this,r);return!!(c&&this[c]!==void 0&&(!s||Os(this,this[c],c,s)))}return!1}delete(r,s){const c=this;let o=!1;function d(h){if(h=fi(h),h){const y=A.findKey(c,h);y&&(!s||Os(c,c[y],y,s))&&(delete c[y],o=!0)}}return A.isArray(r)?r.forEach(d):d(r),o}clear(r){const s=Object.keys(this);let c=s.length,o=!1;for(;c--;){const d=s[c];(!r||Os(this,this[d],d,r,!0))&&(delete this[d],o=!0)}return o}normalize(r){const s=this,c={};return A.forEach(this,(o,d)=>{const h=A.findKey(c,d);if(h){s[h]=Vu(o),delete s[d];return}const y=r?ab(d):String(d).trim();y!==d&&delete s[d],s[y]=Vu(o),c[y]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const s=Object.create(null);return A.forEach(this,(c,o)=>{c!=null&&c!==!1&&(s[o]=r&&A.isArray(c)?c.join(", "):c)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,s])=>r+": "+s).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...s){const c=new this(r);return s.forEach(o=>c.set(o)),c}static accessor(r){const c=(this[Tm]=this[Tm]={accessors:{}}).accessors,o=this.prototype;function d(h){const y=fi(h);c[y]||(nb(o,h),c[y]=!0)}return A.isArray(r)?r.forEach(d):d(r),this}};st.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(st.prototype,({value:n},r)=>{let s=r[0].toUpperCase()+r.slice(1);return{get:()=>n,set(c){this[s]=c}}});A.freezeMethods(st);const ib="[REDACTED ****]";function ub(n){if(A.hasOwnProp(n,"toJSON"))return!0;let r=Object.getPrototypeOf(n);for(;r&&r!==Object.prototype;){if(A.hasOwnProp(r,"toJSON"))return!0;r=Object.getPrototypeOf(r)}return!1}function rb(n,r){const s=new Set(r.map(d=>String(d).toLowerCase())),c=[],o=d=>{if(d===null||typeof d!="object"||A.isBuffer(d))return d;if(c.indexOf(d)!==-1)return;d instanceof st&&(d=d.toJSON()),c.push(d);let h;if(A.isArray(d))h=[],d.forEach((y,g)=>{const v=o(y);A.isUndefined(v)||(h[g]=v)});else{if(!A.isPlainObject(d)&&ub(d))return c.pop(),d;h=Object.create(null);for(const[y,g]of Object.entries(d)){const v=s.has(y.toLowerCase())?ib:o(g);A.isUndefined(v)||(h[y]=v)}}return c.pop(),h};return o(n)}let $=class _p extends Error{static from(r,s,c,o,d,h){const y=new _p(r.message,s||r.code,c,o,d);return y.cause=r,y.name=r.name,r.status!=null&&y.status==null&&(y.status=r.status),h&&Object.assign(y,h),y}constructor(r,s,c,o,d){super(r),Object.defineProperty(this,"message",{__proto__:null,value:r,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),c&&(this.config=c),o&&(this.request=o),d&&(this.response=d,this.status=d.status)}toJSON(){const r=this.config,s=r&&A.hasOwnProp(r,"redact")?r.redact:void 0,c=A.isArray(s)&&s.length>0?rb(r,s):A.toJSONObject(r);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:c,code:this.code,status:this.status}}};$.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";$.ERR_BAD_OPTION="ERR_BAD_OPTION";$.ECONNABORTED="ECONNABORTED";$.ETIMEDOUT="ETIMEDOUT";$.ECONNREFUSED="ECONNREFUSED";$.ERR_NETWORK="ERR_NETWORK";$.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";$.ERR_DEPRECATED="ERR_DEPRECATED";$.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";$.ERR_BAD_REQUEST="ERR_BAD_REQUEST";$.ERR_CANCELED="ERR_CANCELED";$.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";$.ERR_INVALID_URL="ERR_INVALID_URL";$.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const cb=null,Op=100;function qs(n){return A.isPlainObject(n)||A.isArray(n)}function Cp(n){return A.endsWith(n,"[]")?n.slice(0,-2):n}function Cs(n,r,s){return n?n.concat(r).map(function(o,d){return o=Cp(o),!s&&d?"["+o+"]":o}).join(s?".":""):r}function sb(n){return A.isArray(n)&&!n.some(qs)}const ob=A.toFlatObject(A,{},null,function(r){return/^is[A-Z]/.test(r)});function ar(n,r,s){if(!A.isObject(n))throw new TypeError("target must be an object");r=r||new FormData,s=A.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(M,V){return!A.isUndefined(V[M])});const c=s.metaTokens,o=s.visitor||Q,d=s.dots,h=s.indexes,y=s.Blob||typeof Blob<"u"&&Blob,g=s.maxDepth===void 0?Op:s.maxDepth,v=y&&A.isSpecCompliantForm(r),S=[];if(!A.isFunction(o))throw new TypeError("visitor must be a function");function b(O){if(O===null)return"";if(A.isDate(O))return O.toISOString();if(A.isBoolean(O))return O.toString();if(!v&&A.isBlob(O))throw new $("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(O)||A.isTypedArray(O)?v&&typeof Blob=="function"?new Blob([O]):Buffer.from(O):O}function N(O){if(O>g)throw new $("Object is too deeply nested ("+O+" levels). Max depth: "+g,$.ERR_FORM_DATA_DEPTH_EXCEEDED)}function w(O,M){if(g===1/0)return JSON.stringify(O);const V=[];return JSON.stringify(O,function(Z,le){if(!A.isObject(le))return le;for(;V.length&&V[V.length-1]!==this;)V.pop();return V.push(le),N(M+V.length-1),le})}function Q(O,M,V){let W=O;if(A.isReactNative(r)&&A.isReactNativeBlob(O))return r.append(Cs(V,M,d),b(O)),!1;if(O&&!V&&typeof O=="object"){if(A.endsWith(M,"{}"))M=c?M:M.slice(0,-2),O=w(O,1);else if(A.isArray(O)&&sb(O)||(A.isFileList(O)||A.endsWith(M,"[]"))&&(W=A.toArray(O)))return M=Cp(M),W.forEach(function(le,ee){!(A.isUndefined(le)||le===null)&&r.append(h===!0?Cs([M],ee,d):h===null?M:M+"[]",b(le))}),!1}return qs(O)?!0:(r.append(Cs(V,M,d),b(O)),!1)}const q=Object.assign(ob,{defaultVisitor:Q,convertValue:b,isVisitable:qs});function B(O,M,V=0){if(!A.isUndefined(O)){if(N(V),S.indexOf(O)!==-1)throw new Error("Circular reference detected in "+M.join("."));S.push(O),A.forEach(O,function(Z,le){(!(A.isUndefined(Z)||Z===null)&&o.call(r,Z,A.isString(le)?le.trim():le,M,q))===!0&&B(Z,M?M.concat(le):[le],V+1)}),S.pop()}}if(!A.isObject(n))throw new TypeError("data must be an object");return B(n),r}function _m(n){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(n).replace(/[!'()~]|%20/g,function(c){return r[c]})}function Ps(n,r){this._pairs=[],n&&ar(n,this,r)}const zp=Ps.prototype;zp.append=function(r,s){this._pairs.push([r,s])};zp.toString=function(r){const s=r?function(c){return r.call(this,c,_m)}:_m;return this._pairs.map(function(o){return s(o[0])+"="+s(o[1])},"").join("&")};function fb(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Np(n,r,s){if(!r)return n;const c=A.isFunction(s)?{serialize:s}:s,o=A.getSafeProp(c,"encode")||fb,d=A.getSafeProp(c,"serialize");let h;if(d?h=d(r,c):h=A.isURLSearchParams(r)?r.toString():new Ps(r,c).toString(o),h){const y=n.indexOf("#");y!==-1&&(n=n.slice(0,y)),n+=(n.indexOf("?")===-1?"?":"&")+h}return n}class Om{constructor(){this.handlers=[]}use(r,s,c){return this.handlers.push({fulfilled:r,rejected:s,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){A.forEach(this.handlers,function(c){c!==null&&r(c)})}}const eo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},db=typeof URLSearchParams<"u"?URLSearchParams:Ps,hb=typeof FormData<"u"?FormData:null,mb=typeof Blob<"u"?Blob:null,pb={isBrowser:!0,classes:{URLSearchParams:db,FormData:hb,Blob:mb},protocols:["http","https","file","blob","url","data"]},to=typeof window<"u"&&typeof document<"u",Ys=typeof navigator=="object"&&navigator||void 0,yb=to&&(!Ys||["ReactNative","NativeScript","NS"].indexOf(Ys.product)<0),vb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",gb=to&&window.location.href||"http://localhost",bb=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:to,hasStandardBrowserEnv:yb,hasStandardBrowserWebWorkerEnv:vb,navigator:Ys,origin:gb},Symbol.toStringTag,{value:"Module"})),ut={...bb,...pb};function Sb(n,r){return ar(n,new ut.classes.URLSearchParams,{visitor:function(s,c,o,d){return ut.isNode&&A.isBuffer(s)?(this.append(c,s.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)},...r})}const Cm=Op;function jp(n){if(n>Cm)throw new $("FormData field is too deeply nested ("+n+" levels). Max depth: "+Cm,$.ERR_FORM_DATA_DEPTH_EXCEEDED)}function xb(n){const r=[],s=/\w+|\[(\w*)]/g;let c;for(;(c=s.exec(n))!==null;)jp(r.length),r.push(c[0]==="[]"?"":c[1]||c[0]);return r}function Eb(n){const r={},s=Object.keys(n);let c;const o=s.length;let d;for(c=0;c<o;c++)d=s[c],r[d]=n[d];return r}function Dp(n){function r(s,c,o,d){jp(d);let h=s[d++];if(h==="__proto__")return!0;const y=Number.isFinite(+h),g=d>=s.length;return h=!h&&A.isArray(o)?o.length:h,g?(A.hasOwnProp(o,h)?o[h]=A.isArray(o[h])?o[h].concat(c):[o[h],c]:o[h]=c,!y):((!A.hasOwnProp(o,h)||!A.isObject(o[h]))&&(o[h]=[]),r(s,c,o[h],d)&&A.isArray(o[h])&&(o[h]=Eb(o[h])),!y)}if(A.isFormData(n)&&A.isFunction(n.entries)){const s={};return A.forEachEntry(n,(c,o)=>{r(xb(c),o,s,0)}),s}return null}const un=(n,r)=>n!=null&&A.hasOwnProp(n,r)?n[r]:void 0;function Rb(n,r,s){if(A.isString(n))try{return(r||JSON.parse)(n),A.trim(n)}catch(c){if(c.name!=="SyntaxError")throw c}return(s||JSON.stringify)(n)}const gi={transitional:eo,adapter:["xhr","http","fetch"],transformRequest:[function(r,s){const c=s.getContentType()||"",o=c.indexOf("application/json")>-1,d=A.isObject(r);if(d&&A.isHTMLForm(r)&&(r=new FormData(r)),A.isFormData(r))return o?JSON.stringify(Dp(r)):r;if(A.isArrayBuffer(r)||A.isBuffer(r)||A.isStream(r)||A.isFile(r)||A.isBlob(r)||A.isReadableStream(r))return r;if(A.isArrayBufferView(r))return r.buffer;if(A.isURLSearchParams(r))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let y;if(d){const g=un(this,"formSerializer");if(c.indexOf("application/x-www-form-urlencoded")>-1)return Sb(r,g).toString();if((y=A.isFileList(r))||c.indexOf("multipart/form-data")>-1){const v=un(this,"env"),S=v&&v.FormData;return ar(y?{"files[]":r}:r,S&&new S,g)}}return d||o?(s.setContentType("application/json",!1),Rb(r)):r}],transformResponse:[function(r){const s=un(this,"transitional")||gi.transitional,c=s&&s.forcedJSONParsing,o=un(this,"responseType"),d=o==="json";if(A.isResponse(r)||A.isReadableStream(r))return r;if(r&&A.isString(r)&&(c&&!o||d)){const y=!(s&&s.silentJSONParsing)&&d;try{return JSON.parse(r,un(this,"parseReviver"))}catch(g){if(y)throw g.name==="SyntaxError"?$.from(g,$.ERR_BAD_RESPONSE,this,null,un(this,"response")):g}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ut.classes.FormData,Blob:ut.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch","query"],n=>{gi.headers[n]={}});function zs(n,r){const s=this||gi,c=r||s,o=st.from(c.headers);let d=c.data;return A.forEach(n,function(y){d=y.call(s,d,o.normalize(),r?r.status:void 0)}),o.normalize(),d}function Mp(n){return!!(n&&n.__CANCEL__)}let bi=class extends ${constructor(r,s,c){super(r??"canceled",$.ERR_CANCELED,s,c),this.name="CanceledError",this.__CANCEL__=!0}};function Up(n,r,s){const c=s.config.validateStatus;!s.status||!c||c(s.status)?n(s):r(new $("Request failed with status code "+s.status,s.status>=400&&s.status<500?$.ERR_BAD_REQUEST:$.ERR_BAD_RESPONSE,s.config,s.request,s))}function Ab(n){const r=/^([-+\w]{1,25}):(?:\/\/)?/.exec(n);return r&&r[1]||""}function Tb(n,r){n=n||10;const s=new Array(n),c=new Array(n);let o=0,d=0,h;return r=r!==void 0?r:1e3,function(g){const v=Date.now(),S=c[d];h||(h=v),s[o]=g,c[o]=v;let b=d,N=0;for(;b!==o;)N+=s[b++],b=b%n;if(o=(o+1)%n,o===d&&(d=(d+1)%n),v-h<r)return;const w=S&&v-S;return w?Math.round(N*1e3/w):void 0}}function _b(n,r){let s=0,c=1e3/r,o,d;const h=(v,S=Date.now())=>{s=S,o=null,d&&(clearTimeout(d),d=null),n(...v)};return[(...v)=>{const S=Date.now(),b=S-s;b>=c?h(v,S):(o=v,d||(d=setTimeout(()=>{d=null,h(o)},c-b)))},()=>o&&h(o)]}const Ju=(n,r,s=3)=>{let c=0;const o=Tb(50,250);return _b(d=>{if(!d||typeof d.loaded!="number")return;const h=d.loaded,y=d.lengthComputable?d.total:void 0,g=y!=null?Math.min(h,y):h,v=Math.max(0,g-c),S=o(v);c=Math.max(c,g);const b={loaded:g,total:y,progress:y?g/y:void 0,bytes:v,rate:S||void 0,estimated:S&&y?(y-g)/S:void 0,event:d,lengthComputable:y!=null,[r?"download":"upload"]:!0};n(b)},s)},zm=(n,r)=>{const s=n!=null;return[c=>r[0]({lengthComputable:s,total:n,loaded:c}),r[1]]},Nm=n=>(...r)=>A.asap(()=>n(...r)),Ob=ut.hasStandardBrowserEnv?((n,r)=>s=>(s=new URL(s,ut.origin),n.protocol===s.protocol&&n.host===s.host&&(r||n.port===s.port)))(new URL(ut.origin),ut.navigator&&/(msie|trident)/i.test(ut.navigator.userAgent)):()=>!0,Cb=ut.hasStandardBrowserEnv?{write(n,r,s,c,o,d,h){if(typeof document>"u")return;const y=[`${n}=${encodeURIComponent(r)}`];A.isNumber(s)&&y.push(`expires=${new Date(s).toUTCString()}`),A.isString(c)&&y.push(`path=${c}`),A.isString(o)&&y.push(`domain=${o}`),d===!0&&y.push("secure"),A.isString(h)&&y.push(`SameSite=${h}`),document.cookie=y.join("; ")},read(n){if(typeof document>"u")return null;const r=document.cookie.split(";");for(let s=0;s<r.length;s++){const c=r[s].replace(/^\s+/,""),o=c.indexOf("=");if(o!==-1&&c.slice(0,o)===n)return decodeURIComponent(c.slice(o+1))}return null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function zb(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function Nb(n,r){return r?n.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):n}const jb=/^https?:(?!\/\/)/i,Db=/[\t\n\r]/g;function Mb(n){let r=0;for(;r<n.length&&n.charCodeAt(r)<=32;)r++;return n.slice(r)}function Ub(n){return Mb(n).replace(Db,"")}function jm(n,r){if(typeof n=="string"&&jb.test(Ub(n)))throw new $('Invalid URL: missing "//" after protocol',$.ERR_INVALID_URL,r)}function wp(n,r,s,c){jm(r,c);let o=!zb(r);return n&&(o||s===!1)?(jm(n,c),Nb(n,r)):r}const Dm=n=>n instanceof st?{...n}:n;function ba(n,r){r=r||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function c(S,b,N,w){return A.isPlainObject(S)&&A.isPlainObject(b)?A.merge.call({caseless:w},S,b):A.isPlainObject(b)?A.merge({},b):A.isArray(b)?b.slice():b}function o(S,b,N,w){if(A.isUndefined(b)){if(!A.isUndefined(S))return c(void 0,S,N,w)}else return c(S,b,N,w)}function d(S,b){if(!A.isUndefined(b))return c(void 0,b)}function h(S,b){if(A.isUndefined(b)){if(!A.isUndefined(S))return c(void 0,S)}else return c(void 0,b)}function y(S){const b=A.hasOwnProp(r,"transitional")?r.transitional:void 0;if(!A.isUndefined(b))if(A.isPlainObject(b)){if(A.hasOwnProp(b,S))return b[S]}else return;const N=A.hasOwnProp(n,"transitional")?n.transitional:void 0;if(A.isPlainObject(N)&&A.hasOwnProp(N,S))return N[S]}function g(S,b,N){if(A.hasOwnProp(r,N))return c(S,b);if(A.hasOwnProp(n,N))return c(void 0,S)}const v={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:g,headers:(S,b,N)=>o(Dm(S),Dm(b),N,!0)};return A.forEach(Object.keys({...n,...r}),function(b){if(b==="__proto__"||b==="constructor"||b==="prototype")return;const N=A.hasOwnProp(v,b)?v[b]:o,w=A.hasOwnProp(n,b)?n[b]:void 0,Q=A.hasOwnProp(r,b)?r[b]:void 0,q=N(w,Q,b);A.isUndefined(q)&&N!==g||(s[b]=q)}),A.hasOwnProp(r,"validateStatus")&&A.isUndefined(r.validateStatus)&&y("validateStatusUndefinedResolves")===!1&&(A.hasOwnProp(n,"validateStatus")?s.validateStatus=c(void 0,n.validateStatus):delete s.validateStatus),s}const wb=["content-type","content-length"];function Bb(n,r,s){if(s!=="content-only"){n.set(r);return}Object.entries(r).forEach(([c,o])=>{wb.includes(c.toLowerCase())&&n.set(c,o)})}const Hb=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(r,s)=>String.fromCharCode(parseInt(s,16)));function Bp(n){const r=ba({},n),s=N=>A.hasOwnProp(r,N)?r[N]:void 0,c=s("data");let o=s("withXSRFToken");const d=s("xsrfHeaderName"),h=s("xsrfCookieName");let y=s("headers");const g=s("auth"),v=s("baseURL"),S=s("allowAbsoluteUrls"),b=s("url");if(r.headers=y=st.from(y),r.url=Np(wp(v,b,S,r),s("params"),s("paramsSerializer")),g){const N=A.getSafeProp(g,"username")||"",w=A.getSafeProp(g,"password")||"";y.set("Authorization","Basic "+btoa(N+":"+(w?Hb(w):"")))}if(A.isFormData(c)&&(ut.hasStandardBrowserEnv||ut.hasStandardBrowserWebWorkerEnv||A.isReactNative(c)?y.setContentType(void 0):A.isFunction(c.getHeaders)&&Bb(y,c.getHeaders(),s("formDataHeaderPolicy"))),ut.hasStandardBrowserEnv&&(A.isFunction(o)&&(o=o(r)),o===!0||o==null&&Ob(r.url))){const w=d&&h&&Cb.read(h);w&&y.set(d,w)}return r}const Lb=typeof XMLHttpRequest<"u",qb=Lb&&function(n){return new Promise(function(s,c){const o=Bp(n);let d=o.data;const h=st.from(o.headers).normalize();let{responseType:y,onUploadProgress:g,onDownloadProgress:v}=o,S,b,N,w,Q;function q(){w&&w(),Q&&Q(),o.cancelToken&&o.cancelToken.unsubscribe(S),o.signal&&o.signal.removeEventListener("abort",S)}let B=new XMLHttpRequest;B.open(o.method.toUpperCase(),o.url,!0),B.timeout=o.timeout;function O(){if(!B)return;const V=st.from("getAllResponseHeaders"in B&&B.getAllResponseHeaders()),Z={data:!y||y==="text"||y==="json"?B.responseText:B.response,status:B.status,statusText:B.statusText,headers:V,config:n,request:B};Up(function(ee){s(ee),q()},function(ee){c(ee),q()},Z),B=null}"onloadend"in B?B.onloadend=O:B.onreadystatechange=function(){!B||B.readyState!==4||B.status===0&&!(B.responseURL&&B.responseURL.startsWith("file:"))||setTimeout(O)},B.onabort=function(){B&&(c(new $("Request aborted",$.ECONNABORTED,n,B)),q(),B=null)},B.onerror=function(W){const Z=W&&W.message?W.message:"Network Error",le=new $(Z,$.ERR_NETWORK,n,B);le.event=W||null,c(le),q(),B=null},B.ontimeout=function(){let W=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const Z=o.transitional||eo;o.timeoutErrorMessage&&(W=o.timeoutErrorMessage),c(new $(W,Z.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,n,B)),q(),B=null},d===void 0&&h.setContentType(null),"setRequestHeader"in B&&A.forEach(Tp(h),function(W,Z){B.setRequestHeader(Z,W)}),A.isUndefined(o.withCredentials)||(B.withCredentials=!!o.withCredentials),y&&y!=="json"&&(B.responseType=o.responseType),v&&([N,Q]=Ju(v,!0),B.addEventListener("progress",N)),g&&B.upload&&([b,w]=Ju(g),B.upload.addEventListener("progress",b),B.upload.addEventListener("loadend",w)),(o.cancelToken||o.signal)&&(S=V=>{B&&(c(!V||V.type?new bi(null,n,B):V),B.abort(),q(),B=null)},o.cancelToken&&o.cancelToken.subscribe(S),o.signal&&(o.signal.aborted?S():o.signal.addEventListener("abort",S)));const M=Ab(o.url);if(M&&!ut.protocols.includes(M)){c(new $("Unsupported protocol "+M+":",$.ERR_BAD_REQUEST,n));return}B.send(d||null)})},Yb=(n,r)=>{if(n=n?n.filter(Boolean):[],!r&&!n.length)return;const s=new AbortController;let c=!1;const o=function(g){if(!c){c=!0,h();const v=g instanceof Error?g:this.reason;s.abort(v instanceof $?v:new bi(v instanceof Error?v.message:v))}};let d=r&&setTimeout(()=>{d=null,o(new $(`timeout of ${r}ms exceeded`,$.ETIMEDOUT))},r);const h=()=>{n&&(d&&clearTimeout(d),d=null,n.forEach(g=>{g.unsubscribe?g.unsubscribe(o):g.removeEventListener("abort",o)}),n=null)};n.forEach(g=>g.addEventListener("abort",o));const{signal:y}=s;return y.unsubscribe=()=>A.asap(h),y},Xb=function*(n,r){let s=n.byteLength;if(s<r){yield n;return}let c=0,o;for(;c<s;)o=c+r,yield n.slice(c,o),c=o},Gb=async function*(n,r){for await(const s of Vb(n))yield*Xb(s,r)},Vb=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const r=n.getReader();try{for(;;){const{done:s,value:c}=await r.read();if(s)break;yield c}}finally{await r.cancel()}},Mm=(n,r,s,c)=>{const o=Gb(n,r);let d=0,h,y=g=>{h||(h=!0,c&&c(g))};return new ReadableStream({async pull(g){try{const{done:v,value:S}=await o.next();if(v){y(),g.close();return}let b=S.byteLength;if(s){let N=d+=b;s(N)}g.enqueue(new Uint8Array(S))}catch(v){throw y(v),v}},cancel(g){return y(g),o.return()}},{highWaterMark:2})},Fu=n=>n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102,Qb=(n,r,s)=>r+2<s&&Fu(n.charCodeAt(r+1))&&Fu(n.charCodeAt(r+2));function kb(n){if(!n||typeof n!="string"||!n.startsWith("data:"))return 0;const r=n.indexOf(",");if(r<0)return 0;const s=n.slice(5,r),c=n.slice(r+1);if(/;base64/i.test(s)){let h=c.length;const y=c.length;for(let w=0;w<y;w++)if(c.charCodeAt(w)===37&&w+2<y){const Q=c.charCodeAt(w+1),q=c.charCodeAt(w+2);Fu(Q)&&Fu(q)&&(h-=2,w+=2)}let g=0,v=y-1;const S=w=>w>=2&&c.charCodeAt(w-2)===37&&c.charCodeAt(w-1)===51&&(c.charCodeAt(w)===68||c.charCodeAt(w)===100);v>=0&&(c.charCodeAt(v)===61?(g++,v--):S(v)&&(g++,v-=3)),g===1&&v>=0&&(c.charCodeAt(v)===61||S(v))&&g++;const N=Math.floor(h/4)*3-(g||0);return N>0?N:0}let d=0;for(let h=0,y=c.length;h<y;h++){const g=c.charCodeAt(h);if(g===37&&Qb(c,h,y))d+=1,h+=2;else if(g<128)d+=1;else if(g<2048)d+=2;else if(g>=55296&&g<=56319&&h+1<y){const v=c.charCodeAt(h+1);v>=56320&&v<=57343?(d+=4,h++):d+=3}else d+=3}return d}const lo="1.18.0",Um=64*1024,{isFunction:Lu}=A,Zb=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(r,s)=>String.fromCharCode(parseInt(s,16))),wm=n=>{if(!A.isString(n))return n;try{return decodeURIComponent(n)}catch{return n}},Bm=(n,...r)=>{try{return!!n(...r)}catch{return!1}},Kb=n=>{const r=n.indexOf("://");let s=n;return r!==-1&&(s=s.slice(r+3)),s.includes("@")||s.includes(":")},Jb=n=>{const r=A.global!==void 0&&A.global!==null?A.global:globalThis,{ReadableStream:s,TextEncoder:c}=r;n=A.merge.call({skipUndefined:!0},{Request:r.Request,Response:r.Response},n);const{fetch:o,Request:d,Response:h}=n,y=o?Lu(o):typeof fetch=="function",g=Lu(d),v=Lu(h);if(!y)return!1;const S=y&&Lu(s),b=y&&(typeof c=="function"?(O=>M=>O.encode(M))(new c):async O=>new Uint8Array(await new d(O).arrayBuffer())),N=g&&S&&Bm(()=>{let O=!1;const M=new d(ut.origin,{body:new s,method:"POST",get duplex(){return O=!0,"half"}}),V=M.headers.has("Content-Type");return M.body!=null&&M.body.cancel(),O&&!V}),w=v&&S&&Bm(()=>A.isReadableStream(new h("").body)),Q={stream:w&&(O=>O.body)};y&&["text","arrayBuffer","blob","formData","stream"].forEach(O=>{!Q[O]&&(Q[O]=(M,V)=>{let W=M&&M[O];if(W)return W.call(M);throw new $(`Response type '${O}' is not supported`,$.ERR_NOT_SUPPORT,V)})});const q=async O=>{if(O==null)return 0;if(A.isBlob(O))return O.size;if(A.isSpecCompliantForm(O))return(await new d(ut.origin,{method:"POST",body:O}).arrayBuffer()).byteLength;if(A.isArrayBufferView(O)||A.isArrayBuffer(O))return O.byteLength;if(A.isURLSearchParams(O)&&(O=O+""),A.isString(O))return(await b(O)).byteLength},B=async(O,M)=>{const V=A.toFiniteNumber(O.getContentLength());return V??q(M)};return async O=>{let{url:M,method:V,data:W,signal:Z,cancelToken:le,timeout:ee,onDownloadProgress:Re,onUploadProgress:je,responseType:Be,headers:be,withCredentials:Te="same-origin",fetchOptions:Ve,maxContentLength:De,maxBodyLength:oe}=Bp(O);const U=A.isNumber(De)&&De>-1,J=A.isNumber(oe)&&oe>-1,ne=k=>A.hasOwnProp(O,k)?O[k]:void 0;let Se=o||fetch;Be=Be?(Be+"").toLowerCase():"text";let he=Yb([Z,le&&le.toAbortSignal()],ee),E=null;const L=he&&he.unsubscribe&&(()=>{he.unsubscribe()});let K,F=null;const X=()=>new $("Request body larger than maxBodyLength limit",$.ERR_BAD_REQUEST,O,E);try{let k;const te=ne("auth");if(te){const ue=A.getSafeProp(te,"username")||"",dt=A.getSafeProp(te,"password")||"";k={username:ue,password:dt}}if(Kb(M)){const ue=new URL(M,ut.origin);if(!k&&(ue.username||ue.password)){const dt=wm(ue.username),Qt=wm(ue.password);k={username:dt,password:Qt}}(ue.username||ue.password)&&(ue.username="",ue.password="",M=ue.href)}if(k&&(be.delete("authorization"),be.set("Authorization","Basic "+btoa(Zb((k.username||"")+":"+(k.password||""))))),U&&typeof M=="string"&&M.startsWith("data:")&&kb(M)>De)throw new $("maxContentLength size of "+De+" exceeded",$.ERR_BAD_RESPONSE,O,E);if(J&&V!=="get"&&V!=="head"){const ue=await q(W);if(typeof ue=="number"&&isFinite(ue)&&(K=ue,ue>oe))throw X()}const fe=J&&(A.isReadableStream(W)||A.isStream(W)),de=(ue,dt,Qt)=>Mm(ue,Um,kt=>{if(J&&kt>oe)throw F=X();dt&&dt(kt)},Qt);if(N&&V!=="get"&&V!=="head"&&(je||fe)){if(K=K??await B(be,W),K!==0||fe){let ue=new d(M,{method:"POST",body:W,duplex:"half"}),dt;if(A.isFormData(W)&&(dt=ue.headers.get("content-type"))&&be.setContentType(dt),ue.body){const[Qt,kt]=je&&zm(K,Ju(Nm(je)))||[];W=de(ue.body,Qt,kt)}}}else if(fe&&!g&&S&&V!=="get"&&V!=="head")W=de(W);else if(fe&&g&&!N&&V!=="get"&&V!=="head")throw new $("Stream request bodies are not supported by the current fetch implementation",$.ERR_NOT_SUPPORT,O,E);A.isString(Te)||(Te=Te?"include":"omit");const Ye=g&&"credentials"in d.prototype;if(A.isFormData(W)){const ue=be.getContentType();ue&&/^multipart\/form-data/i.test(ue)&&!/boundary=/i.test(ue)&&be.delete("content-type")}be.set("User-Agent","axios/"+lo,!1);const Ke={...Ve,signal:he,method:V.toUpperCase(),headers:Tp(be.normalize()),body:W,duplex:"half",credentials:Ye?Te:void 0};E=g&&new d(M,Ke);let ot=await(g?Se(E,Ve):Se(M,Ke));const $l=st.from(ot.headers);if(U){const ue=A.toFiniteNumber($l.getContentLength());if(ue!=null&&ue>De)throw new $("maxContentLength size of "+De+" exceeded",$.ERR_BAD_RESPONSE,O,E)}const ft=w&&(Be==="stream"||Be==="response");if(w&&ot.body&&(Re||U||ft&&L)){const ue={};["status","statusText","headers"].forEach(Wl=>{ue[Wl]=ot[Wl]});const dt=A.toFiniteNumber($l.getContentLength()),[Qt,kt]=Re&&zm(dt,Ju(Nm(Re),!0))||[];let Sa=0;const pn=Wl=>{if(U&&(Sa=Wl,Sa>De))throw new $("maxContentLength size of "+De+" exceeded",$.ERR_BAD_RESPONSE,O,E);Qt&&Qt(Wl)};ot=new h(Mm(ot.body,Um,pn,()=>{kt&&kt(),L&&L()}),ue)}Be=Be||"text";let Et=await Q[A.findKey(Q,Be)||"text"](ot,O);if(U&&!w&&!ft){let ue;if(Et!=null&&(typeof Et.byteLength=="number"?ue=Et.byteLength:typeof Et.size=="number"?ue=Et.size:typeof Et=="string"&&(ue=typeof c=="function"?new c().encode(Et).byteLength:Et.length)),typeof ue=="number"&&ue>De)throw new $("maxContentLength size of "+De+" exceeded",$.ERR_BAD_RESPONSE,O,E)}return!ft&&L&&L(),await new Promise((ue,dt)=>{Up(ue,dt,{data:Et,headers:st.from(ot.headers),status:ot.status,statusText:ot.statusText,config:O,request:E})})}catch(k){if(L&&L(),he&&he.aborted&&he.reason instanceof $){const te=he.reason;throw te.config=O,E&&(te.request=E),k!==te&&(te.cause=k),te}throw F?(E&&!F.request&&(F.request=E),F):k instanceof $?(E&&!k.request&&(k.request=E),k):k&&k.name==="TypeError"&&/Load failed|fetch/i.test(k.message)?Object.assign(new $("Network Error",$.ERR_NETWORK,O,E,k&&k.response),{cause:k.cause||k}):$.from(k,k&&k.code,O,E,k&&k.response)}}},Fb=new Map,Hp=n=>{let r=n&&n.env||{};const{fetch:s,Request:c,Response:o}=r,d=[c,o,s];let h=d.length,y=h,g,v,S=Fb;for(;y--;)g=d[y],v=S.get(g),v===void 0&&S.set(g,v=y?new Map:Jb(r)),S=v;return v};Hp();const ao={http:cb,xhr:qb,fetch:{get:Hp}};A.forEach(ao,(n,r)=>{if(n){try{Object.defineProperty(n,"name",{__proto__:null,value:r})}catch{}Object.defineProperty(n,"adapterName",{__proto__:null,value:r})}});const Hm=n=>`- ${n}`,$b=n=>A.isFunction(n)||n===null||n===!1;function Wb(n,r){n=A.isArray(n)?n:[n];const{length:s}=n;let c,o;const d={};for(let h=0;h<s;h++){c=n[h];let y;if(o=c,!$b(c)&&(o=ao[(y=String(c)).toLowerCase()],o===void 0))throw new $(`Unknown adapter '${y}'`);if(o&&(A.isFunction(o)||(o=o.get(r))))break;d[y||"#"+h]=o}if(!o){const h=Object.entries(d).map(([g,v])=>`adapter ${g} `+(v===!1?"is not supported by the environment":"is not available in the build"));let y=s?h.length>1?`since :
`+h.map(Hm).join(`
`):" "+Hm(h[0]):"as no adapter specified";throw new $("There is no suitable adapter to dispatch the request "+y,"ERR_NOT_SUPPORT")}return o}const Lp={getAdapter:Wb,adapters:ao};function Ns(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new bi(null,n)}function Lm(n){return Ns(n),n.headers=st.from(n.headers),n.data=zs.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),Lp.getAdapter(n.adapter||gi.adapter,n)(n).then(function(c){Ns(n),n.response=c;try{c.data=zs.call(n,n.transformResponse,c)}finally{delete n.response}return c.headers=st.from(c.headers),c},function(c){if(!Mp(c)&&(Ns(n),c&&c.response)){n.response=c.response;try{c.response.data=zs.call(n,n.transformResponse,c.response)}finally{delete n.response}c.response.headers=st.from(c.response.headers)}return Promise.reject(c)})}const nr={};["object","boolean","number","function","string","symbol"].forEach((n,r)=>{nr[n]=function(c){return typeof c===n||"a"+(r<1?"n ":" ")+n}});const qm={};nr.transitional=function(r,s,c){function o(d,h){return"[Axios v"+lo+"] Transitional option '"+d+"'"+h+(c?". "+c:"")}return(d,h,y)=>{if(r===!1)throw new $(o(h," has been removed"+(s?" in "+s:"")),$.ERR_DEPRECATED);return s&&!qm[h]&&(qm[h]=!0,console.warn(o(h," has been deprecated since v"+s+" and will be removed in the near future"))),r?r(d,h,y):!0}};nr.spelling=function(r){return(s,c)=>(console.warn(`${c} is likely a misspelling of ${r}`),!0)};function Ib(n,r,s){if(typeof n!="object")throw new $("options must be an object",$.ERR_BAD_OPTION_VALUE);const c=Object.keys(n);let o=c.length;for(;o-- >0;){const d=c[o],h=Object.prototype.hasOwnProperty.call(r,d)?r[d]:void 0;if(h){const y=n[d],g=y===void 0||h(y,d,n);if(g!==!0)throw new $("option "+d+" must be "+g,$.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new $("Unknown option "+d,$.ERR_BAD_OPTION)}}const Qu={assertOptions:Ib,validators:nr},ct=Qu.validators;let va=class{constructor(r){this.defaults=r||{},this.interceptors={request:new Om,response:new Om}}async request(r,s){try{return await this._request(r,s)}catch(c){if(c instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const d=(()=>{if(!o.stack)return"";const h=o.stack.indexOf(`
`);return h===-1?"":o.stack.slice(h+1)})();try{if(!c.stack)c.stack=d;else if(d){const h=d.indexOf(`
`),y=h===-1?-1:d.indexOf(`
`,h+1),g=y===-1?"":d.slice(y+1);String(c.stack).endsWith(g)||(c.stack+=`
`+d)}}catch{}}throw c}}_request(r,s){typeof r=="string"?(s=s||{},s.url=r):s=r||{},s=ba(this.defaults,s);const{transitional:c,paramsSerializer:o,headers:d}=s;c!==void 0&&Qu.assertOptions(c,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean),legacyInterceptorReqResOrdering:ct.transitional(ct.boolean),advertiseZstdAcceptEncoding:ct.transitional(ct.boolean),validateStatusUndefinedResolves:ct.transitional(ct.boolean)},!1),o!=null&&(A.isFunction(o)?s.paramsSerializer={serialize:o}:Qu.assertOptions(o,{encode:ct.function,serialize:ct.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Qu.assertOptions(s,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let h=d&&A.merge(d.common,d[s.method]);d&&A.forEach(["delete","get","head","post","put","patch","query","common"],Q=>{delete d[Q]}),s.headers=st.concat(h,d);const y=[];let g=!0;this.interceptors.request.forEach(function(q){if(typeof q.runWhen=="function"&&q.runWhen(s)===!1)return;g=g&&q.synchronous;const B=s.transitional||eo;B&&B.legacyInterceptorReqResOrdering?y.unshift(q.fulfilled,q.rejected):y.push(q.fulfilled,q.rejected)});const v=[];this.interceptors.response.forEach(function(q){v.push(q.fulfilled,q.rejected)});let S,b=0,N;if(!g){const Q=[Lm.bind(this),void 0];for(Q.unshift(...y),Q.push(...v),N=Q.length,S=Promise.resolve(s);b<N;)S=S.then(Q[b++],Q[b++]);return S}N=y.length;let w=s;for(;b<N;){const Q=y[b++],q=y[b++];try{w=Q(w)}catch(B){q.call(this,B);break}}try{S=Lm.call(this,w)}catch(Q){return Promise.reject(Q)}for(b=0,N=v.length;b<N;)S=S.then(v[b++],v[b++]);return S}getUri(r){r=ba(this.defaults,r);const s=wp(r.baseURL,r.url,r.allowAbsoluteUrls,r);return Np(s,r.params,r.paramsSerializer)}};A.forEach(["delete","get","head","options"],function(r){va.prototype[r]=function(s,c){return this.request(ba(c||{},{method:r,url:s,data:c&&A.hasOwnProp(c,"data")?c.data:void 0}))}});A.forEach(["post","put","patch","query"],function(r){function s(c){return function(d,h,y){return this.request(ba(y||{},{method:r,headers:c?{"Content-Type":"multipart/form-data"}:{},url:d,data:h}))}}va.prototype[r]=s(),r!=="query"&&(va.prototype[r+"Form"]=s(!0))});let Pb=class qp{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(d){s=d});const c=this;this.promise.then(o=>{if(!c._listeners)return;let d=c._listeners.length;for(;d-- >0;)c._listeners[d](o);c._listeners=null}),this.promise.then=o=>{let d;const h=new Promise(y=>{c.subscribe(y),d=y}).then(o);return h.cancel=function(){c.unsubscribe(d)},h},r(function(d,h,y){c.reason||(c.reason=new bi(d,h,y),s(c.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const s=this._listeners.indexOf(r);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const r=new AbortController,s=c=>{r.abort(c)};return this.subscribe(s),r.signal.unsubscribe=()=>this.unsubscribe(s),r.signal}static source(){let r;return{token:new qp(function(o){r=o}),cancel:r}}};function eS(n){return function(s){return n.apply(null,s)}}function tS(n){return A.isObject(n)&&n.isAxiosError===!0}const Xs={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(Xs).forEach(([n,r])=>{Xs[r]=n});function Yp(n){const r=new va(n),s=yp(va.prototype.request,r);return A.extend(s,va.prototype,r,{allOwnKeys:!0}),A.extend(s,r,null,{allOwnKeys:!0}),s.create=function(o){return Yp(ba(n,o))},s}const Ze=Yp(gi);Ze.Axios=va;Ze.CanceledError=bi;Ze.CancelToken=Pb;Ze.isCancel=Mp;Ze.VERSION=lo;Ze.toFormData=ar;Ze.AxiosError=$;Ze.Cancel=Ze.CanceledError;Ze.all=function(r){return Promise.all(r)};Ze.spread=eS;Ze.isAxiosError=tS;Ze.mergeConfig=ba;Ze.AxiosHeaders=st;Ze.formToJSON=n=>Dp(A.isHTMLForm(n)?new FormData(n):n);Ze.getAdapter=Lp.getAdapter;Ze.HttpStatusCode=Xs;Ze.default=Ze;const{Axios:i2,AxiosError:u2,CanceledError:r2,isCancel:c2,CancelToken:s2,VERSION:o2,all:f2,Cancel:d2,isAxiosError:h2,spread:m2,toFormData:p2,AxiosHeaders:y2,HttpStatusCode:v2,formToJSON:g2,getAdapter:b2,mergeConfig:S2,create:x2}=Ze,Ft=Ze.create({baseURL:"http://localhost:8000",headers:{Accept:"application/json","Content-Type":"application/json"},withCredentials:!1});Ft.interceptors.request.use(n=>{const r=localStorage.getItem("api_token");return r&&(n.headers.Authorization=`Bearer ${r}`),n});const Xp=_.createContext({}),lS=({children:n})=>{const[r,s]=_.useState(!1),[c,o]=_.useState(null),[d,h]=_.useState(!0);_.useEffect(()=>{y()},[]);const y=async()=>{try{if(localStorage.getItem("api_token")){const b=await Ft.get("/api/v1/auth/me");o(b.data),s(!0)}else s(!1)}catch{localStorage.removeItem("api_token"),s(!1)}finally{h(!1)}},g=async S=>{const b=await Ft.post("/api/v1/auth/login",S);localStorage.setItem("api_token",b.data.data.access_token),o(b.data.data.user),s(!0)},v=async()=>{try{await Ft.post("/api/v1/auth/logout")}catch{}localStorage.removeItem("api_token"),o(null),s(!1)};return p.jsx(Xp.Provider,{value:{isAuthenticated:r,user:c,login:g,logout:v,loading:d},children:!d&&n})},ir=()=>_.useContext(Xp),aS=()=>{const{isAuthenticated:n,loading:r}=ir();return r?p.jsx("div",{style:{height:"100vh",display:"flex",alignItems:"center",justifyContent:"center",color:"white"},children:"Cargando ORION OS..."}):n?p.jsx(dp,{}):p.jsx(fp,{to:"/login",replace:!0})};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gp=(...n)=>n.filter((r,s,c)=>!!r&&r.trim()!==""&&c.indexOf(r)===s).join(" ").trim();/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nS=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const iS=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,s,c)=>c?c.toUpperCase():s.toLowerCase());/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ym=n=>{const r=iS(n);return r.charAt(0).toUpperCase()+r.slice(1)};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var js={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const uS=n=>{for(const r in n)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1},rS=_.createContext({}),cS=()=>_.useContext(rS),sS=_.forwardRef(({color:n,size:r,strokeWidth:s,absoluteStrokeWidth:c,className:o="",children:d,iconNode:h,...y},g)=>{const{size:v=24,strokeWidth:S=2,absoluteStrokeWidth:b=!1,color:N="currentColor",className:w=""}=cS()??{},Q=c??b?Number(s??S)*24/Number(r??v):s??S;return _.createElement("svg",{ref:g,...js,width:r??v??js.width,height:r??v??js.height,stroke:n??N,strokeWidth:Q,className:Gp("lucide",w,o),...!d&&!uS(y)&&{"aria-hidden":"true"},...y},[...h.map(([q,B])=>_.createElement(q,B)),...Array.isArray(d)?d:[d]])});/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qe=(n,r)=>{const s=_.forwardRef(({className:c,...o},d)=>_.createElement(sS,{ref:d,iconNode:r,className:Gp(`lucide-${nS(Ym(n))}`,`lucide-${n}`,c),...o}));return s.displayName=Ym(n),s};/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const oS=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],fS=qe("chevron-left",oS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dS=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],hS=qe("circle-alert",dS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mS=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],pS=qe("circle-check-big",mS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yS=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],vS=qe("circle-check",yS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gS=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],bS=qe("clock",gS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const SS=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],xS=qe("database",SS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ES=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],RS=qe("ellipsis-vertical",ES);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const AS=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]],Vp=qe("file-spreadsheet",AS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const TS=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],_S=qe("file-text",TS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const OS=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],rn=qe("loader-circle",OS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const CS=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],zS=qe("lock",CS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const NS=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],jS=qe("log-in",NS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const DS=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],MS=qe("moon",DS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const US=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],Xm=qe("pen",US);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const wS=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],BS=qe("power",wS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const HS=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],no=qe("search",HS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const LS=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],qS=qe("settings",LS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const YS=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Qp=qe("shield",YS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const XS=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],GS=qe("sun",XS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const VS=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],$u=qe("trash-2",VS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const QS=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],Gm=qe("upload",QS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kS=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],Vm=qe("user-plus",kS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ZS=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],KS=qe("users",ZS);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const JS=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ds=qe("x",JS),FS=()=>{const{login:n,isAuthenticated:r}=ir(),s=Pu(),[c,o]=_.useState(""),[d,h]=_.useState(""),[y,g]=_.useState(""),[v,S]=_.useState(!1);_.useEffect(()=>{r&&s("/")},[r,s]);const b=async N=>{var w,Q;N.preventDefault(),S(!0),g("");try{await n({username:c,password:d,uuid:"react_web_dev_uuid"}),s("/")}catch(q){g(((Q=(w=q.response)==null?void 0:w.data)==null?void 0:Q.error)||"Credenciales inválidas")}finally{S(!1)}};return p.jsx("div",{className:"main-layout",style:{justifyContent:"center",alignItems:"center",background:"var(--bg-surface)"},children:p.jsxs("div",{className:"login-screen-container",children:[p.jsx("div",{style:{width:"72px",height:"72px",borderRadius:"50%",background:"linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-peach) 100%)",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 12px 30px rgba(123, 82, 242, 0.25)",marginBottom:"1.5rem",transform:"scale(1)"},children:p.jsx(Qp,{size:32,color:"#FFFFFF",strokeWidth:2})}),p.jsxs("div",{className:"login-glass-card",children:[p.jsxs("div",{style:{textAlign:"center",marginBottom:"2rem"},children:[p.jsx("h1",{style:{fontSize:"1.5rem",fontWeight:800,color:"var(--text-primary)",letterSpacing:"-0.5px"},children:"Orion Red"}),p.jsx("p",{style:{fontSize:"0.8rem",color:"var(--text-secondary)",fontWeight:500,marginTop:"4px"},children:"Identificación de Usuario"})]}),y&&p.jsx("div",{style:{background:"var(--accent-red-light)",color:"var(--accent-red)",padding:"10px 14px",borderRadius:"12px",fontSize:"0.8rem",fontWeight:600,border:"1px solid rgba(239, 68, 68, 0.12)",marginBottom:"1.2rem"},children:y}),p.jsxs("form",{onSubmit:b,children:[p.jsxs("div",{className:"login-form-group",children:[p.jsx("label",{children:"Usuario"}),p.jsx("input",{type:"text",value:c,onChange:N=>o(N.target.value),placeholder:"Ingrese su usuario",required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:"1.8rem"},children:[p.jsx("label",{children:"Contraseña"}),p.jsx("input",{type:"password",value:d,onChange:N=>h(N.target.value),placeholder:"••••••••",required:!0})]}),p.jsxs("button",{type:"submit",className:"primary-btn-accent",disabled:v,children:[p.jsx(jS,{size:18}),v?"VERIFICANDO...":"INGRESAR"]})]})]}),p.jsx("div",{style:{marginTop:"2rem",fontSize:"0.72rem",color:"var(--text-muted)",fontWeight:600,letterSpacing:"0.5px"},children:"SISTEMA DE VERIFICACIÓN POLICIAL • COLOMBIA"})]})})},$S=()=>{const{user:n}=ir(),r=(n==null?void 0:n.name)||"Ismael Bennacer",[s,c]=_.useState(""),[o,d]=_.useState([]),[h,y]=_.useState(!1),[g,v]=_.useState(null),[S,b]=_.useState(3),N=[{id:101,plate_name:"MHX832",description:"Vehículo Particular - Autorizado",detail:"Operación normal sin novedades",location:"Bogotá, D.C.",level:1,entry_date:"2026-06-18",exit_date:null,antiquity_level:1},{id:102,plate_name:"DFG456",description:"Acceso Restringido - Alerta de Tránsito",detail:"Revisión técnica de gases pendiente",location:"Medellín, ANT",level:3,entry_date:"2026-06-19",exit_date:null,antiquity_level:3},{id:103,plate_name:"KLO789",description:"Carga Comercial - En Tránsito",detail:"Permiso especial de transporte masivo",location:"Cali, VAL",level:2,entry_date:"2026-06-20",exit_date:null,antiquity_level:2}],w=[{day:"Dom",height:"35%",lookups:"90 búsquedas"},{day:"Lun",height:"65%",lookups:"165 búsquedas"},{day:"Mar",height:"55%",lookups:"140 búsquedas"},{day:"Mié",height:"92%",lookups:"240 búsquedas"},{day:"Jue",height:"75%",lookups:"190 búsquedas"},{day:"Vie",height:"82%",lookups:"215 búsquedas"},{day:"Sáb",height:"45%",lookups:"115 búsquedas"}];_.useEffect(()=>{const M=setTimeout(()=>{s.length>=3?Q(s):d([])},400);return()=>clearTimeout(M)},[s]);const Q=async M=>{y(!0);try{const V=await Ft.get("/api/v1/plates/search",{params:{q:M}});d(V.data.data)}catch(V){console.error("Error fetching plates",V),d([])}finally{y(!1)}},q=M=>{switch(M){case 1:return"#FF5B60";case 2:return"#10B981";case 3:return"#FF5C8A";case 4:return"#2EA8E5";case 5:return"#7B52F2";default:return"#7E8294"}},B=()=>{const M={month:"long",day:"numeric",year:"numeric"},V=new Date().toLocaleDateString("es-ES",M);return V.charAt(0).toUpperCase()+V.slice(1)},O=M=>M.length>=6?`${M.substring(0,3)} • ${M.substring(3)}`:M;return p.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",position:"relative",height:"100%"},children:[p.jsx("div",{className:"home-header",style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:p.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[p.jsx("span",{className:"date-text",children:B()}),p.jsx("h1",{className:"user-title",children:r})]})}),p.jsx("div",{className:"search-pill-wrapper",children:p.jsxs("div",{className:"search-pill-container",children:[p.jsx(no,{size:20,color:"var(--accent-purple)"}),p.jsx("input",{type:"text",placeholder:"Buscar placa...",value:s,onChange:M=>c(M.target.value.toUpperCase()),maxLength:7}),h&&p.jsx("div",{style:{width:"18px",height:"18px",border:"2px solid rgba(123, 82, 242, 0.1)",borderTopColor:"var(--accent-purple)",borderRadius:"50%",animation:"spin 0.8s linear infinite"}})]})}),s.length<3&&p.jsxs("div",{className:"context-cards-slider",children:[p.jsxs("div",{className:"context-card-peach",children:[p.jsx("span",{className:"title",children:"Servicios Orion"}),p.jsx("span",{className:"value",children:"Activo"}),p.jsx("span",{className:"subtitle",children:"Bogotá, Colombia"}),p.jsxs("svg",{style:{position:"absolute",right:10,bottom:10,width:70,height:70,opacity:.85},viewBox:"0 0 100 100",children:[p.jsx("circle",{cx:"75",cy:"25",r:"10",fill:"#FFA280"}),p.jsx("path",{d:"M40 90 L40 50 M40 50 L25 40 M40 50 L55 40",stroke:"var(--accent-peach-dark)",strokeWidth:"3",strokeLinecap:"round"}),p.jsx("circle",{cx:"40",cy:"50",r:"3",fill:"var(--accent-peach-dark)"})]})]}),p.jsxs("div",{className:"context-card-map",children:[p.jsx("span",{className:"title",children:"Base de Datos"}),p.jsx("span",{className:"value",children:"API V1"}),p.jsx("span",{className:"subtitle",children:"Conexión Segura"})]})]}),p.jsx("div",{className:"section-title-container",children:p.jsx("h2",{className:"section-title",children:s.length>=3?"Resultados de Búsqueda":"Consultas Recientes"})}),p.jsx("div",{className:"results-grid-container",children:s.length>=3?o.length>0?o.map(M=>p.jsxs("div",{className:"plate-grid-card",onClick:()=>v(M),children:[p.jsx("div",{className:"plate-status-dot",style:{background:q(M.antiquity_level)},title:`Antigüedad Nivel ${M.antiquity_level}`}),p.jsx("span",{className:"plate-grid-number",style:{marginTop:"4px"},children:M.plate_name}),p.jsx("span",{className:"plate-grid-location",children:M.location||"No registrada"})]},M.id)):!h&&p.jsx("div",{style:{gridColumn:"span 3",textAlign:"center",color:"var(--text-muted)",marginTop:"3rem",fontWeight:600},children:"No se encontraron placas"}):N.map(M=>p.jsxs("div",{className:"plate-grid-card",onClick:()=>v(M),children:[p.jsx("div",{className:"plate-status-dot",style:{background:q(M.antiquity_level)},title:`Antigüedad Nivel ${M.antiquity_level}`}),p.jsx("span",{className:"plate-grid-number",style:{marginTop:"4px"},children:M.plate_name}),p.jsx("span",{className:"plate-grid-location",children:M.location})]},M.id))}),g&&p.jsxs("div",{className:"details-view-container",children:[p.jsxs("div",{className:"details-header",children:[p.jsx("button",{className:"circle-btn",onClick:()=>v(null),title:"Volver",children:p.jsx(fS,{size:22})}),p.jsxs("div",{className:"title-group",style:{textAlign:"center"},children:[p.jsx("h2",{children:"Estadísticas"}),p.jsx("span",{children:"Placa Vehicular"})]}),p.jsx("button",{className:"circle-btn",title:"Opciones",children:p.jsx(RS,{size:20})})]}),p.jsx("div",{className:"illustration-circle-container",children:p.jsx("div",{className:"illustration-circle",children:p.jsxs("div",{className:"license-plate-mockup",children:[p.jsx("div",{className:"plate-origin",children:"COLOMBIA"}),p.jsx("div",{className:"plate-letters-numbers",children:O(g.plate_name)}),p.jsx("div",{className:"plate-bottom-line",children:g.location?g.location.toUpperCase():"BOGOTÁ D.C."})]})})}),p.jsxs("div",{className:"stats-cards-row",children:[p.jsxs("div",{className:"stat-mini-card",children:[p.jsx("div",{className:"icon-wrapper",children:p.jsx(Qp,{size:18})}),p.jsx("span",{className:"label",children:"Nivel de Acceso"}),p.jsxs("span",{className:"val",style:{color:"var(--accent-purple)"},children:["Nivel ",g.level]})]}),p.jsxs("div",{className:"stat-mini-card",children:[p.jsx("div",{className:"icon-wrapper",style:{color:"var(--accent-peach-dark)"},children:p.jsx(pS,{size:18})}),p.jsx("span",{className:"label",children:"Estado Actual"}),p.jsx("span",{className:"val",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:g.description.split(" - ")[1]||g.description})]})]}),p.jsxs("div",{className:"chart-section",children:[p.jsxs("div",{className:"chart-section-title-row",children:[p.jsx("span",{className:"chart-title",children:"Historial de Consultas"}),p.jsx("span",{className:"chart-subtitle",children:"Consultas/Semana"})]}),p.jsxs("div",{className:"weekly-bar-chart-container",children:[p.jsx("div",{className:"chart-tooltip-floating",style:{left:`calc(${S*14.2+7.1}% + 14px)`},children:w[S].lookups}),w.map((M,V)=>p.jsxs("div",{className:`chart-bar-wrapper ${V===S?"active":""}`,onClick:()=>b(V),children:[p.jsx("div",{className:"chart-bar-fill",style:{height:M.height}}),p.jsx("span",{className:"chart-bar-day",children:M.day})]},M.day))]})]}),p.jsx("div",{style:{padding:"1rem 1.5rem 2rem 1.5rem",display:"flex",flexDirection:"column",gap:"8px"},children:p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",color:"var(--text-secondary)",fontSize:"0.8rem",background:"var(--bg-surface)",padding:"12px 16px",borderRadius:"16px"},children:[p.jsx(bS,{size:16}),p.jsxs("span",{children:["Entrada del sistema: ",g.entry_date]})]})})]})]})},WS=()=>{const[n,r]=_.useState("import"),[s,c]=_.useState(null),[o,d]=_.useState(!1),[h,y]=_.useState("idle"),[g,v]=_.useState(""),[S,b]=_.useState(0),N=_.useRef(null),w=()=>{y("idle"),v(""),b(0)},Q=Z=>{Z.preventDefault(),Z.stopPropagation(),Z.type==="dragenter"||Z.type==="dragover"?d(!0):Z.type==="dragleave"&&d(!1)},q=Z=>{if(Z.preventDefault(),Z.stopPropagation(),d(!1),w(),Z.dataTransfer.files&&Z.dataTransfer.files[0]){const le=Z.dataTransfer.files[0];O(le)}},B=Z=>{w(),Z.target.files&&Z.target.files[0]&&O(Z.target.files[0])},O=Z=>{const le=[".xlsx",".xls",".csv"],ee=Z.name.toLowerCase();if(!le.some(je=>ee.endsWith(je))){y("error"),v("Formato no válido. Sube un archivo .xlsx, .xls o .csv."),c(null);return}if(Z.size>20*1024*1024){y("error"),v("El archivo supera el límite de 20MB."),c(null);return}c(Z)},M=Z=>{Z.stopPropagation(),c(null),w(),N.current&&(N.current.value="")},V=()=>{h!=="loading"&&N.current&&N.current.click()},W=async()=>{var ee,Re,je,Be;if(!s)return;y("loading"),b(10);const Z=new FormData;Z.append("excel",s);const le=n==="import"?"/api/v1/plates/import":"/api/v1/plates/delete-import";try{const be=await Ft.post(le,Z,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:Te=>{const Ve=Te.total||s.size,De=Te.loaded,oe=Math.round(De*90/Ve)+10;b(Math.min(oe,95))}});b(100),setTimeout(()=>{be.data&&be.data.success?(y("success"),v(be.data.message||"Base de datos de placas procesada con éxito."),c(null)):(y("error"),v(be.data.error||"Ocurrió un error al procesar la subida."))},500)}catch(be){console.error("Error al subir archivo:",be),y("error");const Te=((Re=(ee=be.response)==null?void 0:ee.data)==null?void 0:Re.error)||((Be=(je=be.response)==null?void 0:je.data)==null?void 0:Be.message);v(Te||"Error de red o servidor. Intente de nuevo.")}};return p.jsxs("div",{className:"upload-screen-container",children:[p.jsxs("div",{style:{padding:"0.5rem 0.5rem 0 0.5rem"},children:[p.jsx("span",{style:{fontSize:"0.8rem",fontWeight:600,color:"var(--text-muted)",textTransform:"uppercase",letterSpacing:"0.5px"},children:"Consola del Sistema"}),p.jsx("h1",{style:{fontSize:"1.6rem",fontWeight:800,color:"var(--text-primary)",marginTop:"2px"},children:"Gestor de Base de Datos"})]}),p.jsxs("div",{className:"upload-slider-modes",children:[p.jsxs("button",{className:`upload-mode-btn ${n==="import"?"active-import":""}`,onClick:()=>{r("import"),w()},disabled:h==="loading",children:[p.jsx(xS,{size:14}),"SUBIR"]}),p.jsxs("button",{className:`upload-mode-btn ${n==="delete"?"active-delete":""}`,onClick:()=>{r("delete"),w()},disabled:h==="loading",children:[p.jsx($u,{size:14}),"BORRAR"]})]}),p.jsx("div",{className:"upload-center-illustration",children:p.jsx("div",{className:"illustration-circle-gradient",style:{background:n==="delete"?"linear-gradient(135deg, var(--accent-red-light) 0%, var(--accent-peach-light) 100%)":void 0},children:p.jsx(Vp,{size:28,color:n==="delete"?"var(--accent-red)":"var(--accent-purple)",style:{transform:o?"scale(1.15)":"scale(1)",transition:"transform 0.25s"}})})}),p.jsxs("div",{className:`upload-dropzone ${o?"drag-active":""}`,onDragEnter:Q,onDragOver:Q,onDragLeave:Q,onDrop:q,onClick:V,style:{borderColor:n==="delete"&&o?"var(--accent-red)":void 0,background:n==="delete"&&o?"var(--accent-red-light)":void 0},children:[p.jsx("input",{ref:N,type:"file",accept:".xlsx,.xls,.csv",onChange:B,style:{display:"none"},disabled:h==="loading"}),h==="loading"?p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},children:[p.jsx(rn,{size:36,color:n==="delete"?"var(--accent-red)":"var(--accent-purple)",style:{animation:"spin 1.5s linear infinite"}}),p.jsx("span",{style:{fontWeight:700,fontSize:"0.95rem",color:"var(--text-primary)"},children:"Procesando base de datos..."}),p.jsx("span",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"Importando registros al motor de alta velocidad."}),p.jsx("div",{className:"progress-bar-container",children:p.jsx("div",{className:"progress-bar-fill",style:{width:`${S}%`,background:n==="delete"?"var(--accent-red)":"var(--accent-purple)"}})}),p.jsxs("span",{style:{fontSize:"0.7rem",fontWeight:800,color:n==="delete"?"var(--accent-red)":"var(--accent-purple)",letterSpacing:"0.5px"},children:[S,"% COMPLETADO"]})]}):s?p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"12px"},children:[p.jsx("div",{style:{background:n==="delete"?"var(--accent-red-light)":"var(--accent-purple-light)",borderRadius:"50%",width:"52px",height:"52px",display:"flex",alignItems:"center",justifyContent:"center"},children:p.jsx(_S,{size:24,color:n==="delete"?"var(--accent-red)":"var(--accent-purple)"})}),p.jsxs("div",{style:{width:"100%",maxWidth:"280px"},children:[p.jsx("div",{style:{fontWeight:800,fontSize:"0.9rem",color:"var(--text-primary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:s.name}),p.jsxs("div",{style:{fontSize:"0.72rem",color:"var(--text-secondary)",marginTop:"2px"},children:[(s.size/1024).toFixed(1)," KB • Compatible"]})]}),p.jsxs("div",{style:{display:"flex",gap:"8px",width:"100%",maxWidth:"240px",marginTop:"10px"},children:[p.jsx("button",{onClick:M,style:{width:"44px",height:"44px",borderRadius:"12px",border:"1px solid rgba(239, 68, 68, 0.15)",background:"var(--accent-red-light)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--accent-red)",transition:"all 0.2s"},title:"Eliminar archivo",children:p.jsx($u,{size:16})}),p.jsxs("button",{onClick:Z=>{Z.stopPropagation(),W()},style:{flex:1,borderRadius:"12px",border:"none",background:n==="delete"?"var(--accent-red)":"var(--accent-purple)",color:"#FFFFFF",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px",boxShadow:n==="delete"?"0 4px 12px rgba(239, 68, 68, 0.2)":"0 4px 12px rgba(123, 82, 242, 0.2)"},children:[p.jsx(Gm,{size:14}),"EJECUTAR PROCESO"]})]})]}):p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[p.jsx(Gm,{size:32,color:"var(--text-secondary)",style:{marginBottom:"1rem",opacity:.8}}),p.jsx("span",{style:{fontWeight:800,fontSize:"0.95rem",color:"var(--text-primary)",marginBottom:"4px"},children:"Arrastra tu archivo aquí"}),p.jsx("span",{style:{fontSize:"0.75rem",color:"var(--text-secondary)"},children:"o haz clic para explorar en tu equipo"}),p.jsx("div",{style:{fontSize:"0.65rem",color:"var(--text-muted)",marginTop:"1.2rem",background:"var(--bg-surface)",padding:"6px 12px",borderRadius:"8px",fontWeight:700},children:"COMPATIBLE CON .XLSX, .XLS, .CSV • MÁXIMO 20MB"})]})]}),h==="success"&&p.jsxs("div",{className:"upload-alert-card success",children:[p.jsx(vS,{size:20,color:"var(--accent-green)",style:{flexShrink:0}}),p.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[p.jsx("span",{style:{fontWeight:800,fontSize:"0.78rem",color:"var(--accent-green)",letterSpacing:"0.5px"},children:"PROCESO EXITOSO"}),p.jsx("span",{style:{fontSize:"0.72rem",fontWeight:500,color:"var(--text-primary)"},children:g})]})]}),h==="error"&&p.jsxs("div",{className:"upload-alert-card error",children:[p.jsx(hS,{size:20,color:"var(--accent-red)",style:{flexShrink:0}}),p.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[p.jsx("span",{style:{fontWeight:800,fontSize:"0.78rem",color:"var(--accent-red)",letterSpacing:"0.5px"},children:"ERROR AL PROCESAR"}),p.jsx("span",{style:{fontSize:"0.72rem",fontWeight:500,color:"var(--text-primary)"},children:g})]})]}),p.jsx("div",{style:{minHeight:"60px"}})]})},IS=()=>{const{user:n}=ir(),[r,s]=_.useState([]),[c,o]=_.useState(!1),[d,h]=_.useState(!1),[y,g]=_.useState(!1),[v,S]=_.useState(!1),[b,N]=_.useState(!1),[w,Q]=_.useState(null),[q,B]=_.useState({username:"",name:"",email:"",password:"",role:2,level:3,user_status:!0}),[O,M]=_.useState(""),[V,W]=_.useState(""),[Z,le]=_.useState(""),[ee,Re]=_.useState(1),[je,Be]=_.useState(!0),[be,Te]=_.useState(!1),Ve=async(X,k,te=!1)=>{X===1?o(!0):Te(!0);try{const fe=await Ft.get("/api/v1/users",{params:{q:k,page:X}});if(fe.data&&fe.data.success){const de=fe.data.data,Ye=fe.data.meta;s(te||X===1?de:Ke=>{const ot=new Set(Ke.map(ft=>ft.id)),$l=de.filter(ft=>!ot.has(ft.id));return[...Ke,...$l]}),Be(Ye.has_more),Re(X)}}catch(fe){console.error("Error fetching users from server:",fe)}finally{o(!1),Te(!1)}};_.useEffect(()=>{const X=setTimeout(()=>{Ve(1,Z,!0)},400);return()=>clearTimeout(X)},[Z]);const De=X=>{const k=X.currentTarget;k.scrollHeight-k.scrollTop<=k.clientHeight+40&&!c&&!be&&je&&Ve(ee+1,Z)},oe=X=>{const{name:k,value:te,type:fe}=X.target;let de=te;fe==="checkbox"?de=X.target.checked:(k==="role"||k==="level")&&(de=parseInt(te,10)),B(Ye=>({...Ye,[k]:de}))},U=()=>{M(""),W(""),B({username:"",name:"",email:"",password:"",role:2,level:3,user_status:!0}),g(!0)},J=X=>{M(""),W(""),Q(X),B({username:X.username,name:X.name,email:X.email||"",password:"",role:X.role,level:X.level,user_status:X.user_status}),S(!0)},ne=X=>{M(""),Q(X),N(!0)},Se=async X=>{var k,te,fe,de;X.preventDefault(),h(!0),M("");try{const Ye=await Ft.post("/api/v1/users",q);Ye.data&&Ye.data.success&&(W("Usuario creado correctamente"),setTimeout(()=>{g(!1),Ve(1,Z,!0)},1e3))}catch(Ye){M(((te=(k=Ye.response)==null?void 0:k.data)==null?void 0:te.error)||((de=(fe=Ye.response)==null?void 0:fe.data)==null?void 0:de.message)||"Error al crear usuario.")}finally{h(!1)}},he=async X=>{var te,fe,de,Ye;if(X.preventDefault(),!w)return;h(!0),M("");const k={...q};k.password||delete k.password;try{const Ke=await Ft.put(`/api/v1/users/${w.id}`,k);Ke.data&&Ke.data.success&&(W("Usuario actualizado correctamente"),setTimeout(()=>{S(!1),Ve(1,Z,!0)},1e3))}catch(Ke){M(((fe=(te=Ke.response)==null?void 0:te.data)==null?void 0:fe.error)||((Ye=(de=Ke.response)==null?void 0:de.data)==null?void 0:Ye.message)||"Error al actualizar usuario.")}finally{h(!1)}},E=async()=>{var X,k;if(w){h(!0),M("");try{const te=await Ft.delete(`/api/v1/users/${w.id}`);te.data&&te.data.success&&(N(!1),Ve(1,Z,!0))}catch(te){M(((k=(X=te.response)==null?void 0:X.data)==null?void 0:k.error)||"Error al eliminar usuario.")}finally{h(!1)}}},L=async X=>{var k,te;try{const fe=!X.user_status,de=await Ft.put(`/api/v1/users/${X.id}`,{username:X.username,name:X.name,email:X.email,role:X.role,level:X.level,user_status:fe});de.data&&de.data.success&&s(Ye=>Ye.map(Ke=>Ke.id===X.id?{...Ke,user_status:fe}:Ke))}catch(fe){alert(((te=(k=fe.response)==null?void 0:k.data)==null?void 0:te.error)||"No fue posible cambiar el estado del usuario")}},K=X=>X===1?"Administrador":"Usuario",F=X=>{switch(X){case 1:return"Nivel 1";case 2:return"Nivel 2";case 3:return"Nivel 3";case 4:return"Nivel 4";default:return`Nivel ${X}`}};return p.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",position:"relative",height:"100%"},children:[p.jsx("div",{className:"home-header",style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:p.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2px"},children:[p.jsx("span",{className:"date-text",children:"Gestión del Sistema"}),p.jsx("h1",{className:"user-title",children:"Gestor de Usuarios"})]})}),p.jsx("div",{className:"search-pill-wrapper",style:{padding:"0 1.5rem 1rem 1.5rem"},children:p.jsxs("div",{className:"search-pill-container",style:{height:"44px"},children:[p.jsx(no,{size:18,color:"var(--text-secondary)"}),p.jsx("input",{type:"text",placeholder:"Buscar usuario...",value:Z,onChange:X=>le(X.target.value),style:{fontSize:"0.85rem"}}),Z&&p.jsx("button",{onClick:()=>le(""),style:{border:"none",background:"transparent",cursor:"pointer",color:"var(--text-muted)",display:"flex",alignItems:"center",justifyContent:"center"},children:p.jsx(Ds,{size:16})})]})}),p.jsx("div",{className:"results-list-container",onScroll:De,style:{flex:1,paddingBottom:"1rem"},children:c?p.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:p.jsx(rn,{size:32,className:"spin",color:"var(--accent-purple)"})}):r.length>0?r.map(X=>p.jsxs("div",{className:"plate-row-card",style:{opacity:X.user_status?1:.7,background:"var(--bg-card)",transition:"all 0.25s",padding:"12px 14px",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",gap:"12px"},children:[p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",minWidth:0,flex:1},children:[p.jsxs("div",{className:"plate-avatar-badge",style:{background:X.role===1?"var(--accent-purple-light)":"var(--accent-blue-light)",color:X.role===1?"var(--accent-purple)":"var(--accent-blue)",position:"relative",width:"38px",height:"38px",flexShrink:0},children:[X.name.substring(0,2).toUpperCase(),X.online_status&&p.jsx("div",{style:{position:"absolute",bottom:0,right:0,width:"8px",height:"8px",borderRadius:"50%",background:"var(--accent-green)",border:"2px solid var(--bg-card)"},title:"En línea"})]}),p.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"3px",minWidth:0,flex:1},children:[p.jsx("span",{style:{fontSize:"0.85rem",fontWeight:700,color:"var(--text-primary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"block"},children:X.name}),p.jsxs("div",{style:{display:"flex",gap:"4px",flexWrap:"wrap"},children:[p.jsx("span",{style:{fontSize:"0.58rem",fontWeight:800,padding:"1px 5px",borderRadius:"5px",background:X.role===1?"var(--accent-purple-light)":"rgba(78, 167, 252, 0.1)",color:X.role===1?"var(--accent-purple)":"var(--accent-blue)",letterSpacing:"0.3px",textTransform:"uppercase"},children:K(X.role)}),p.jsx("span",{style:{fontSize:"0.58rem",fontWeight:800,padding:"1px 5px",borderRadius:"5px",background:"var(--bg-surface)",color:"var(--text-secondary)",letterSpacing:"0.3px",border:"1px solid rgba(0,0,0,0.02)"},children:F(X.level)})]})]})]}),p.jsxs("div",{style:{display:"flex",gap:"6px",flexShrink:0,alignItems:"center"},children:[p.jsx("button",{className:"circle-btn",onClick:()=>L(X),style:{width:"30px",height:"30px",borderRadius:"8px",color:X.user_status?"var(--accent-green)":"var(--text-muted)",background:X.user_status?"rgba(34, 197, 94, 0.08)":"rgba(255, 255, 255, 0.04)",border:X.user_status?"1px solid rgba(34, 197, 94, 0.15)":"1px solid rgba(255, 255, 255, 0.08)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},title:X.user_status?"Desactivar Usuario":"Activar Usuario",children:p.jsx(BS,{size:12})}),p.jsx("button",{className:"circle-btn",onClick:()=>J(X),style:{width:"30px",height:"30px",borderRadius:"8px",border:"1px solid rgba(123, 82, 242, 0.08)",display:"flex",alignItems:"center",justifyContent:"center"},title:"Editar",children:p.jsx(Xm,{size:12})}),p.jsx("button",{className:"circle-btn",onClick:()=>ne(X),disabled:(n==null?void 0:n.id)===X.id,style:{width:"30px",height:"30px",borderRadius:"8px",color:(n==null?void 0:n.id)===X.id?"var(--text-muted)":"var(--accent-red)",background:(n==null?void 0:n.id)===X.id?"transparent":"rgba(239, 68, 68, 0.05)",border:(n==null?void 0:n.id)===X.id?"1px solid rgba(0,0,0,0.03)":"1px solid rgba(239, 68, 68, 0.1)",cursor:(n==null?void 0:n.id)===X.id?"not-allowed":"pointer",display:"flex",alignItems:"center",justifyContent:"center"},title:(n==null?void 0:n.id)===X.id?"No puedes eliminarte a ti mismo":"Eliminar",children:p.jsx($u,{size:12})})]})]},X.id)):p.jsx("div",{style:{textAlign:"center",padding:"3rem 1.5rem",color:"var(--text-secondary)"},children:"No se encontraron usuarios"})}),be&&p.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"10px 0 20px 0",gap:"8px"},children:[p.jsx(rn,{size:18,className:"spin",color:"var(--accent-purple)"}),p.jsx("span",{style:{fontSize:"0.75rem",fontWeight:600,color:"var(--text-secondary)"},children:"Cargando más usuarios..."})]}),p.jsx("button",{onClick:U,title:"Nuevo Usuario",style:{position:"absolute",bottom:"86px",right:"24px",width:"52px",height:"52px",borderRadius:"50%",background:"var(--accent-purple)",color:"#FFFFFF",border:"none",boxShadow:"0 8px 24px rgba(123, 82, 242, 0.4)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:90,transition:"all 0.2s ease"},children:p.jsx(Vm,{size:22})}),y&&p.jsx("div",{style:Ms,children:p.jsxs("div",{className:"soft-card",style:Us,children:[p.jsxs("div",{style:Qm,children:[p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[p.jsx(Vm,{size:18,color:"var(--accent-purple)"}),p.jsx("h3",{style:{fontSize:"1.05rem",fontWeight:800},children:"Nuevo Usuario"})]}),p.jsx("button",{className:"circle-btn",onClick:()=>g(!1),style:{width:"28px",height:"28px"},children:p.jsx(Ds,{size:16})})]}),p.jsxs("form",{onSubmit:Se,style:{display:"flex",flexDirection:"column",gap:"12px",marginTop:"10px"},children:[O&&p.jsx("div",{style:ws,children:O}),V&&p.jsx("div",{style:km,children:V}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nombre Completo"}),p.jsx("input",{type:"text",name:"name",value:q.name,onChange:oe,placeholder:"Ej: Andres Perez",required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nombre de Usuario (Login)"}),p.jsx("input",{type:"text",name:"username",value:q.username,onChange:oe,placeholder:"Ej: andres_perez",required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Correo Electrónico (Opcional)"}),p.jsx("input",{type:"email",name:"email",value:q.email,onChange:oe,placeholder:"correo@ejemplo.com"})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Contraseña"}),p.jsx("input",{type:"password",name:"password",value:q.password,onChange:oe,placeholder:"Mínimo 6 caracteres",required:!0})]}),p.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"10px"},children:[p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Rol"}),p.jsxs("select",{name:"role",value:q.role,onChange:oe,style:qu,children:[p.jsx("option",{value:2,children:"Usuario / Agente"}),p.jsx("option",{value:1,children:"Administrador"})]})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nivel de Acceso"}),p.jsxs("select",{name:"level",value:q.level,onChange:oe,style:qu,children:[p.jsx("option",{value:1,children:"Nivel 1 (Total)"}),p.jsx("option",{value:2,children:"Nivel 2 (Medio)"}),p.jsx("option",{value:3,children:"Nivel 3 (Básico)"}),p.jsx("option",{value:4,children:"Nivel 4 (Demo)"})]})]})]}),p.jsx("button",{type:"submit",className:"primary-btn-accent",style:{marginTop:"10px",height:"46px"},disabled:d,children:d?p.jsx(rn,{size:16,className:"spin"}):"REGISTRAR USUARIO"})]})]})}),v&&w&&p.jsx("div",{style:Ms,children:p.jsxs("div",{className:"soft-card",style:Us,children:[p.jsxs("div",{style:Qm,children:[p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[p.jsx(Xm,{size:16,color:"var(--accent-purple)"}),p.jsx("h3",{style:{fontSize:"1.05rem",fontWeight:800},children:"Editar Usuario"})]}),p.jsx("button",{className:"circle-btn",onClick:()=>S(!1),style:{width:"28px",height:"28px"},children:p.jsx(Ds,{size:16})})]}),p.jsxs("form",{onSubmit:he,style:{display:"flex",flexDirection:"column",gap:"12px",marginTop:"10px"},children:[O&&p.jsx("div",{style:ws,children:O}),V&&p.jsx("div",{style:km,children:V}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nombre Completo"}),p.jsx("input",{type:"text",name:"name",value:q.name,onChange:oe,required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nombre de Usuario"}),p.jsx("input",{type:"text",name:"username",value:q.username,onChange:oe,required:!0})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Correo Electrónico (Opcional)"}),p.jsx("input",{type:"email",name:"email",value:q.email,onChange:oe})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsxs("label",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[p.jsx(zS,{size:12})," Nueva Contraseña (Dejar vacío para no cambiar)"]}),p.jsx("input",{type:"password",name:"password",value:q.password,onChange:oe,placeholder:"Contraseña nueva (opcional)"})]}),p.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"10px"},children:[p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Rol"}),p.jsxs("select",{name:"role",value:q.role,onChange:oe,style:qu,children:[p.jsx("option",{value:2,children:"Usuario"}),p.jsx("option",{value:1,children:"Administrador"})]})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsx("label",{children:"Nivel de Acceso"}),p.jsxs("select",{name:"level",value:q.level,onChange:oe,style:qu,children:[p.jsx("option",{value:1,children:"Nivel 1 (Total)"}),p.jsx("option",{value:2,children:"Nivel 2 (Medio)"}),p.jsx("option",{value:3,children:"Nivel 3 (Básico)"}),p.jsx("option",{value:4,children:"Nivel 4 (Demo)"})]})]})]}),p.jsx("button",{type:"submit",className:"primary-btn-accent",style:{marginTop:"10px",height:"46px"},disabled:d,children:d?p.jsx(rn,{size:16,className:"spin"}):"GUARDAR CAMBIOS"})]})]})}),b&&w&&p.jsx("div",{style:Ms,children:p.jsxs("div",{className:"soft-card",style:{...Us,maxWidth:"320px",textAlign:"center"},children:[p.jsx("div",{style:{display:"flex",justifyContent:"center",marginBottom:"1rem",color:"var(--accent-red)"},children:p.jsx($u,{size:44})}),p.jsx("h3",{style:{fontSize:"1.1rem",fontWeight:800,color:"var(--text-primary)"},children:"¿Eliminar usuario?"}),p.jsxs("p",{style:{fontSize:"0.78rem",color:"var(--text-secondary)",marginTop:"6px",lineHeight:"1.4"},children:["Esta acción es permanente y eliminará a ",p.jsx("strong",{children:w.name})," (@",w.username,") de la base de datos junto con sus dispositivos autorizados."]}),O&&p.jsx("div",{style:{...ws,marginTop:"10px"},children:O}),p.jsxs("div",{style:{display:"flex",gap:"8px",marginTop:"20px"},children:[p.jsx("button",{onClick:()=>N(!1),style:{flex:1,height:"42px",borderRadius:"12px",border:"1px solid rgba(0,0,0,0.05)",background:"var(--bg-surface)",color:"var(--text-primary)",fontWeight:700,fontSize:"0.8rem",cursor:"pointer"},children:"CANCELAR"}),p.jsx("button",{onClick:E,style:{flex:1,height:"42px",borderRadius:"12px",border:"none",background:"var(--accent-red)",color:"#FFFFFF",fontWeight:700,fontSize:"0.8rem",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",gap:"6px"},disabled:d,children:d?p.jsx(rn,{size:14,className:"spin"}):"ELIMINAR"})]})]})})]})},Ms={position:"absolute",top:0,left:0,right:0,bottom:0,background:"rgba(18, 19, 26, 0.4)",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)",zIndex:300,display:"flex",alignItems:"center",justifyContent:"center",padding:"1.5rem"},Us={width:"100%",maxWidth:"380px",background:"var(--bg-card)",borderRadius:"28px",padding:"1.5rem",boxShadow:"var(--shadow-soft)",animation:"scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1)",border:"1px solid rgba(255,255,255,0.08)"},Qm={display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem",color:"var(--text-primary)"},qu={width:"100%",height:"46px",borderRadius:"16px",background:"var(--bg-surface)",border:"1px solid transparent",padding:"0 12px",fontSize:"0.85rem",fontWeight:600,color:"var(--text-primary)",outline:"none",cursor:"pointer"},ws={background:"var(--accent-red-light)",color:"var(--accent-red)",padding:"10px 14px",borderRadius:"12px",fontSize:"0.78rem",fontWeight:600,border:"1px solid rgba(239, 68, 68, 0.1)"},km={background:"var(--accent-green-light)",color:"var(--accent-green)",padding:"10px 14px",borderRadius:"12px",fontSize:"0.78rem",fontWeight:600,border:"1px solid rgba(16, 185, 129, 0.1)"},PS=()=>{const n=Pu(),r=Pt(),s=y=>n(y),c=y=>r.pathname===y,[o,d]=_.useState(()=>document.body.classList.contains("dark")),h=()=>{const y=!o;d(y),y?(document.body.classList.add("dark"),localStorage.setItem("theme","dark")):(document.body.classList.remove("dark"),localStorage.setItem("theme","light"))};return p.jsxs("div",{className:"main-layout",children:[p.jsx("div",{className:"theme-switch-wrapper",style:{position:"absolute",top:"20px",right:"24px",zIndex:1e3},title:o?"Desactivar Modo Oscuro":"Activar Modo Oscuro",children:p.jsx("div",{className:"theme-switch-track",onClick:h,children:p.jsx("div",{className:"theme-switch-thumb",children:o?p.jsx(MS,{size:10,strokeWidth:3}):p.jsx(GS,{size:10,strokeWidth:3})})})}),p.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none",zIndex:0,color:"var(--radar-color, rgba(30, 31, 36, 0.035))",overflow:"hidden"},children:[p.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("defs",{children:p.jsx("pattern",{id:"dot-grid",width:"24",height:"24",patternUnits:"userSpaceOnUse",children:p.jsx("circle",{cx:"2",cy:"2",r:"1",fill:"currentColor"})})}),p.jsx("rect",{width:"100%",height:"100%",fill:"url(#dot-grid)"})]}),p.jsxs("svg",{viewBox:"0 0 200 200",style:{position:"absolute",bottom:"12%",right:"-15%",width:"320px",height:"320px"},xmlns:"http://www.w3.org/2000/svg",children:[p.jsx("circle",{cx:"100",cy:"100",r:"85",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),p.jsx("circle",{cx:"100",cy:"100",r:"65",stroke:"currentColor",strokeWidth:"0.5",fill:"none",strokeDasharray:"4 3"}),p.jsx("circle",{cx:"100",cy:"100",r:"45",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),p.jsx("circle",{cx:"100",cy:"100",r:"25",stroke:"currentColor",strokeWidth:"0.5",fill:"none"}),p.jsx("line",{x1:"100",y1:"10",x2:"100",y2:"190",stroke:"currentColor",strokeWidth:"0.5"}),p.jsx("line",{x1:"10",y1:"100",x2:"190",y2:"100",stroke:"currentColor",strokeWidth:"0.5"}),p.jsx("line",{x1:"100",y1:"100",x2:"160.1",y2:"40.1",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"})]})]}),p.jsx("div",{style:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",background:"transparent",position:"relative",zIndex:1},children:p.jsx(dp,{})}),p.jsxs("div",{className:"bottom-nav-floating",children:[p.jsx("button",{className:`nav-item-btn ${c("/")?"active":""}`,onClick:()=>s("/"),title:"Búsqueda",children:p.jsx(no,{size:24,strokeWidth:c("/")?2.5:2})}),p.jsx("button",{className:`nav-item-btn ${c("/upload")?"active":""}`,onClick:()=>s("/upload"),title:"Consola Excel",children:p.jsx(Vp,{size:24,strokeWidth:c("/upload")?2.5:2})}),p.jsx("button",{className:`nav-item-btn ${c("/users")?"active":""}`,onClick:()=>s("/users"),title:"Usuarios",children:p.jsx(KS,{size:24,strokeWidth:c("/users")?2.5:2})}),p.jsx("button",{className:`nav-item-btn ${c("/devices")?"active":""}`,onClick:()=>s("/devices"),title:"Ajustes / Dispositivos",children:p.jsx(qS,{size:24,strokeWidth:c("/devices")?2.5:2})})]})]})},e2=()=>p.jsx(Jg,{children:p.jsx(lS,{children:p.jsxs(Ag,{children:[p.jsx(il,{path:"/login",element:p.jsx(FS,{})}),p.jsx(il,{element:p.jsx(aS,{}),children:p.jsxs(il,{element:p.jsx(PS,{}),children:[p.jsx(il,{path:"/",element:p.jsx($S,{})}),p.jsx(il,{path:"/upload",element:p.jsx(WS,{})}),p.jsx(il,{path:"/users",element:p.jsx(IS,{})}),p.jsx(il,{path:"/devices",element:p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem"},children:[p.jsx("div",{style:{fontSize:"0.7rem",letterSpacing:"4px",color:"rgba(255,255,255,0.4)"},children:"EN DESARROLLO"}),p.jsx("h1",{style:{fontSize:"1.8rem",fontWeight:800,letterSpacing:"3px",color:"#fff",textShadow:"0 2px 20px rgba(0,0,0,0.3)"},children:"DISPOSITIVOS"})]})}),p.jsx(il,{path:"/register",element:p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem"},children:[p.jsx("div",{style:{fontSize:"0.7rem",letterSpacing:"4px",color:"rgba(255,255,255,0.4)"},children:"EN DESARROLLO"}),p.jsx("h1",{style:{fontSize:"1.8rem",fontWeight:800,letterSpacing:"3px",color:"#fff",textShadow:"0 2px 20px rgba(0,0,0,0.3)"},children:"REGISTRO"})]})})]})}),p.jsx(il,{path:"*",element:p.jsx(fp,{to:"/",replace:!0})})]})})}),t2=localStorage.getItem("theme");t2==="dark"?document.body.classList.add("dark"):document.body.classList.remove("dark");Rv.createRoot(document.getElementById("root")).render(p.jsx(pv.StrictMode,{children:p.jsx(e2,{})}));
