Files
frontend/dist/assets/index-CHC6dclK.js
2026-05-14 18:30:57 +03:00

61 lines
372 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var gm=n=>{throw TypeError(n)};var cf=(n,s,c)=>s.has(n)||gm("Cannot "+c);var b=(n,s,c)=>(cf(n,s,"read from private field"),c?c.call(n):s.get(n)),K=(n,s,c)=>s.has(n)?gm("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(n):s.set(n,c),G=(n,s,c,r)=>(cf(n,s,"write to private field"),r?r.call(n,c):s.set(n,c),c),ae=(n,s,c)=>(cf(n,s,"access private method"),c);var jc=(n,s,c,r)=>({set _(d){G(n,s,d,c)},get _(){return b(n,s,r)}});(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))r(d);new MutationObserver(d=>{for(const h of d)if(h.type==="childList")for(const p of h.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&r(p)}).observe(document,{childList:!0,subtree:!0});function c(d){const h={};return d.integrity&&(h.integrity=d.integrity),d.referrerPolicy&&(h.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?h.credentials="include":d.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function r(d){if(d.ep)return;d.ep=!0;const h=c(d);fetch(d.href,h)}})();var rf={exports:{}},Ms={};/**
* @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 _m;function Xv(){if(_m)return Ms;_m=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function c(r,d,h){var p=null;if(h!==void 0&&(p=""+h),d.key!==void 0&&(p=""+d.key),"key"in d){h={};for(var v in d)v!=="key"&&(h[v]=d[v])}else h=d;return d=h.ref,{$$typeof:n,type:r,key:p,ref:d!==void 0?d:null,props:h}}return Ms.Fragment=s,Ms.jsx=c,Ms.jsxs=c,Ms}var bm;function Zv(){return bm||(bm=1,rf.exports=Xv()),rf.exports}var o=Zv(),of={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 xm;function Kv(){if(xm)return re;xm=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),p=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),R=Symbol.iterator;function D(N){return N===null||typeof N!="object"?null:(N=R&&N[R]||N["@@iterator"],typeof N=="function"?N:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,z={};function U(N,Q,X){this.props=N,this.context=Q,this.refs=z,this.updater=X||H}U.prototype.isReactComponent={},U.prototype.setState=function(N,Q){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,Q,"setState")},U.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function Z(){}Z.prototype=U.prototype;function Y(N,Q,X){this.props=N,this.context=Q,this.refs=z,this.updater=X||H}var $=Y.prototype=new Z;$.constructor=Y,T($,U.prototype),$.isPureReactComponent=!0;var te=Array.isArray;function ce(){}var I={H:null,A:null,T:null,S:null},ne=Object.prototype.hasOwnProperty;function he(N,Q,X){var F=X.ref;return{$$typeof:n,type:N,key:Q,ref:F!==void 0?F:null,props:X}}function Oe(N,Q){return he(N.type,Q,N.props)}function Qe(N){return typeof N=="object"&&N!==null&&N.$$typeof===n}function ie(N){var Q={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(X){return Q[X]})}var xt=/\/+/g;function rt(N,Q){return typeof N=="object"&&N!==null&&N.key!=null?ie(""+N.key):Q.toString(36)}function He(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(ce,ce):(N.status="pending",N.then(function(Q){N.status==="pending"&&(N.status="fulfilled",N.value=Q)},function(Q){N.status==="pending"&&(N.status="rejected",N.reason=Q)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function B(N,Q,X,F,oe){var me=typeof N;(me==="undefined"||me==="boolean")&&(N=null);var Ee=!1;if(N===null)Ee=!0;else switch(me){case"bigint":case"string":case"number":Ee=!0;break;case"object":switch(N.$$typeof){case n:case s:Ee=!0;break;case j:return Ee=N._init,B(Ee(N._payload),Q,X,F,oe)}}if(Ee)return oe=oe(N),Ee=F===""?"."+rt(N,0):F,te(oe)?(X="",Ee!=null&&(X=Ee.replace(xt,"$&/")+"/"),B(oe,Q,X,"",function(Hi){return Hi})):oe!=null&&(Qe(oe)&&(oe=Oe(oe,X+(oe.key==null||N&&N.key===oe.key?"":(""+oe.key).replace(xt,"$&/")+"/")+Ee)),Q.push(oe)),1;Ee=0;var St=F===""?".":F+":";if(te(N))for(var Je=0;Je<N.length;Je++)F=N[Je],me=St+rt(F,Je),Ee+=B(F,Q,X,me,oe);else if(Je=D(N),typeof Je=="function")for(N=Je.call(N),Je=0;!(F=N.next()).done;)F=F.value,me=St+rt(F,Je++),Ee+=B(F,Q,X,me,oe);else if(me==="object"){if(typeof N.then=="function")return B(He(N),Q,X,F,oe);throw Q=String(N),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return Ee}function V(N,Q,X){if(N==null)return N;var F=[],oe=0;return B(N,F,"","",function(me){return Q.call(X,me,oe++)}),F}function ue(N){if(N._status===-1){var Q=N._result;Q=Q(),Q.then(function(X){(N._status===0||N._status===-1)&&(N._status=1,N._result=X)},function(X){(N._status===0||N._status===-1)&&(N._status=2,N._result=X)}),N._status===-1&&(N._status=0,N._result=Q)}if(N._status===1)return N._result.default;throw N._result}var Me=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)},Le={map:V,forEach:function(N,Q,X){V(N,function(){Q.apply(this,arguments)},X)},count:function(N){var Q=0;return V(N,function(){Q++}),Q},toArray:function(N){return V(N,function(Q){return Q})||[]},only:function(N){if(!Qe(N))throw Error("React.Children.only expected to receive a single React element child.");return N}};return re.Activity=_,re.Children=Le,re.Component=U,re.Fragment=c,re.Profiler=d,re.PureComponent=Y,re.StrictMode=r,re.Suspense=g,re.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,re.__COMPILER_RUNTIME={__proto__:null,c:function(N){return I.H.useMemoCache(N)}},re.cache=function(N){return function(){return N.apply(null,arguments)}},re.cacheSignal=function(){return null},re.cloneElement=function(N,Q,X){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var F=T({},N.props),oe=N.key;if(Q!=null)for(me in Q.key!==void 0&&(oe=""+Q.key),Q)!ne.call(Q,me)||me==="key"||me==="__self"||me==="__source"||me==="ref"&&Q.ref===void 0||(F[me]=Q[me]);var me=arguments.length-2;if(me===1)F.children=X;else if(1<me){for(var Ee=Array(me),St=0;St<me;St++)Ee[St]=arguments[St+2];F.children=Ee}return he(N.type,oe,F)},re.createContext=function(N){return N={$$typeof:p,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:h,_context:N},N},re.createElement=function(N,Q,X){var F,oe={},me=null;if(Q!=null)for(F in Q.key!==void 0&&(me=""+Q.key),Q)ne.call(Q,F)&&F!=="key"&&F!=="__self"&&F!=="__source"&&(oe[F]=Q[F]);var Ee=arguments.length-2;if(Ee===1)oe.children=X;else if(1<Ee){for(var St=Array(Ee),Je=0;Je<Ee;Je++)St[Je]=arguments[Je+2];oe.children=St}if(N&&N.defaultProps)for(F in Ee=N.defaultProps,Ee)oe[F]===void 0&&(oe[F]=Ee[F]);return he(N,me,oe)},re.createRef=function(){return{current:null}},re.forwardRef=function(N){return{$$typeof:v,render:N}},re.isValidElement=Qe,re.lazy=function(N){return{$$typeof:j,_payload:{_status:-1,_result:N},_init:ue}},re.memo=function(N,Q){return{$$typeof:y,type:N,compare:Q===void 0?null:Q}},re.startTransition=function(N){var Q=I.T,X={};I.T=X;try{var F=N(),oe=I.S;oe!==null&&oe(X,F),typeof F=="object"&&F!==null&&typeof F.then=="function"&&F.then(ce,Me)}catch(me){Me(me)}finally{Q!==null&&X.types!==null&&(Q.types=X.types),I.T=Q}},re.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},re.use=function(N){return I.H.use(N)},re.useActionState=function(N,Q,X){return I.H.useActionState(N,Q,X)},re.useCallback=function(N,Q){return I.H.useCallback(N,Q)},re.useContext=function(N){return I.H.useContext(N)},re.useDebugValue=function(){},re.useDeferredValue=function(N,Q){return I.H.useDeferredValue(N,Q)},re.useEffect=function(N,Q){return I.H.useEffect(N,Q)},re.useEffectEvent=function(N){return I.H.useEffectEvent(N)},re.useId=function(){return I.H.useId()},re.useImperativeHandle=function(N,Q,X){return I.H.useImperativeHandle(N,Q,X)},re.useInsertionEffect=function(N,Q){return I.H.useInsertionEffect(N,Q)},re.useLayoutEffect=function(N,Q){return I.H.useLayoutEffect(N,Q)},re.useMemo=function(N,Q){return I.H.useMemo(N,Q)},re.useOptimistic=function(N,Q){return I.H.useOptimistic(N,Q)},re.useReducer=function(N,Q,X){return I.H.useReducer(N,Q,X)},re.useRef=function(N){return I.H.useRef(N)},re.useState=function(N){return I.H.useState(N)},re.useSyncExternalStore=function(N,Q,X){return I.H.useSyncExternalStore(N,Q,X)},re.useTransition=function(){return I.H.useTransition()},re.version="19.2.5",re}var Sm;function Ff(){return Sm||(Sm=1,of.exports=Kv()),of.exports}var S=Ff(),ff={exports:{}},As={},df={exports:{}},hf={};/**
* @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 jm;function Jv(){return jm||(jm=1,(function(n){function s(B,V){var ue=B.length;B.push(V);e:for(;0<ue;){var Me=ue-1>>>1,Le=B[Me];if(0<d(Le,V))B[Me]=V,B[ue]=Le,ue=Me;else break e}}function c(B){return B.length===0?null:B[0]}function r(B){if(B.length===0)return null;var V=B[0],ue=B.pop();if(ue!==V){B[0]=ue;e:for(var Me=0,Le=B.length,N=Le>>>1;Me<N;){var Q=2*(Me+1)-1,X=B[Q],F=Q+1,oe=B[F];if(0>d(X,ue))F<Le&&0>d(oe,X)?(B[Me]=oe,B[F]=ue,Me=F):(B[Me]=X,B[Q]=ue,Me=Q);else if(F<Le&&0>d(oe,ue))B[Me]=oe,B[F]=ue,Me=F;else break e}}return V}function d(B,V){var ue=B.sortIndex-V.sortIndex;return ue!==0?ue:B.id-V.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;n.unstable_now=function(){return h.now()}}else{var p=Date,v=p.now();n.unstable_now=function(){return p.now()-v}}var g=[],y=[],j=1,_=null,R=3,D=!1,H=!1,T=!1,z=!1,U=typeof setTimeout=="function"?setTimeout:null,Z=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function $(B){for(var V=c(y);V!==null;){if(V.callback===null)r(y);else if(V.startTime<=B)r(y),V.sortIndex=V.expirationTime,s(g,V);else break;V=c(y)}}function te(B){if(T=!1,$(B),!H)if(c(g)!==null)H=!0,ce||(ce=!0,ie());else{var V=c(y);V!==null&&He(te,V.startTime-B)}}var ce=!1,I=-1,ne=5,he=-1;function Oe(){return z?!0:!(n.unstable_now()-he<ne)}function Qe(){if(z=!1,ce){var B=n.unstable_now();he=B;var V=!0;try{e:{H=!1,T&&(T=!1,Z(I),I=-1),D=!0;var ue=R;try{t:{for($(B),_=c(g);_!==null&&!(_.expirationTime>B&&Oe());){var Me=_.callback;if(typeof Me=="function"){_.callback=null,R=_.priorityLevel;var Le=Me(_.expirationTime<=B);if(B=n.unstable_now(),typeof Le=="function"){_.callback=Le,$(B),V=!0;break t}_===c(g)&&r(g),$(B)}else r(g);_=c(g)}if(_!==null)V=!0;else{var N=c(y);N!==null&&He(te,N.startTime-B),V=!1}}break e}finally{_=null,R=ue,D=!1}V=void 0}}finally{V?ie():ce=!1}}}var ie;if(typeof Y=="function")ie=function(){Y(Qe)};else if(typeof MessageChannel<"u"){var xt=new MessageChannel,rt=xt.port2;xt.port1.onmessage=Qe,ie=function(){rt.postMessage(null)}}else ie=function(){U(Qe,0)};function He(B,V){I=U(function(){B(n.unstable_now())},V)}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(B){B.callback=null},n.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ne=0<B?Math.floor(1e3/B):5},n.unstable_getCurrentPriorityLevel=function(){return R},n.unstable_next=function(B){switch(R){case 1:case 2:case 3:var V=3;break;default:V=R}var ue=R;R=V;try{return B()}finally{R=ue}},n.unstable_requestPaint=function(){z=!0},n.unstable_runWithPriority=function(B,V){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var ue=R;R=B;try{return V()}finally{R=ue}},n.unstable_scheduleCallback=function(B,V,ue){var Me=n.unstable_now();switch(typeof ue=="object"&&ue!==null?(ue=ue.delay,ue=typeof ue=="number"&&0<ue?Me+ue:Me):ue=Me,B){case 1:var Le=-1;break;case 2:Le=250;break;case 5:Le=1073741823;break;case 4:Le=1e4;break;default:Le=5e3}return Le=ue+Le,B={id:j++,callback:V,priorityLevel:B,startTime:ue,expirationTime:Le,sortIndex:-1},ue>Me?(B.sortIndex=ue,s(y,B),c(g)===null&&B===c(y)&&(T?(Z(I),I=-1):T=!0,He(te,ue-Me))):(B.sortIndex=Le,s(g,B),H||D||(H=!0,ce||(ce=!0,ie()))),B},n.unstable_shouldYield=Oe,n.unstable_wrapCallback=function(B){var V=R;return function(){var ue=R;R=V;try{return B.apply(this,arguments)}finally{R=ue}}}})(hf)),hf}var Em;function Fv(){return Em||(Em=1,df.exports=Jv()),df.exports}var mf={exports:{}},pt={};/**
* @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 Nm;function Wv(){if(Nm)return pt;Nm=1;var n=Ff();function s(g){var y="https://react.dev/errors/"+g;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var j=2;j<arguments.length;j++)y+="&args[]="+encodeURIComponent(arguments[j])}return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var r={d:{f:c,r:function(){throw Error(s(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},d=Symbol.for("react.portal");function h(g,y,j){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:_==null?null:""+_,children:g,containerInfo:y,implementation:j}}var p=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(g,y){if(g==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return pt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,pt.createPortal=function(g,y){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(s(299));return h(g,y,null,j)},pt.flushSync=function(g){var y=p.T,j=r.p;try{if(p.T=null,r.p=2,g)return g()}finally{p.T=y,r.p=j,r.d.f()}},pt.preconnect=function(g,y){typeof g=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,r.d.C(g,y))},pt.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},pt.preinit=function(g,y){if(typeof g=="string"&&y&&typeof y.as=="string"){var j=y.as,_=v(j,y.crossOrigin),R=typeof y.integrity=="string"?y.integrity:void 0,D=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;j==="style"?r.d.S(g,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:_,integrity:R,fetchPriority:D}):j==="script"&&r.d.X(g,{crossOrigin:_,integrity:R,fetchPriority:D,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},pt.preinitModule=function(g,y){if(typeof g=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var j=v(y.as,y.crossOrigin);r.d.M(g,{crossOrigin:j,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&r.d.M(g)},pt.preload=function(g,y){if(typeof g=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var j=y.as,_=v(j,y.crossOrigin);r.d.L(g,j,{crossOrigin:_,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},pt.preloadModule=function(g,y){if(typeof g=="string")if(y){var j=v(y.as,y.crossOrigin);r.d.m(g,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:j,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else r.d.m(g)},pt.requestFormReset=function(g){r.d.r(g)},pt.unstable_batchedUpdates=function(g,y){return g(y)},pt.useFormState=function(g,y,j){return p.H.useFormState(g,y,j)},pt.useFormStatus=function(){return p.H.useHostTransitionStatus()},pt.version="19.2.5",pt}var Tm;function Iv(){if(Tm)return mf.exports;Tm=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(s){console.error(s)}}return n(),mf.exports=Wv(),mf.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 Cm;function Pv(){if(Cm)return As;Cm=1;var n=Fv(),s=Ff(),c=Iv();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}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 d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function h(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function p(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 v(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(h(e)!==e)throw Error(r(188))}function y(e){var t=e.alternate;if(!t){if(t=h(e),t===null)throw Error(r(188));return t!==e?null:e}for(var a=e,l=t;;){var i=a.return;if(i===null)break;var u=i.alternate;if(u===null){if(l=i.return,l!==null){a=l;continue}break}if(i.child===u.child){for(u=i.child;u;){if(u===a)return g(i),e;if(u===l)return g(i),t;u=u.sibling}throw Error(r(188))}if(a.return!==l.return)a=i,l=u;else{for(var f=!1,m=i.child;m;){if(m===a){f=!0,a=i,l=u;break}if(m===l){f=!0,l=i,a=u;break}m=m.sibling}if(!f){for(m=u.child;m;){if(m===a){f=!0,a=u,l=i;break}if(m===l){f=!0,l=u,a=i;break}m=m.sibling}if(!f)throw Error(r(189))}}if(a.alternate!==l)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?e:t}function j(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=j(e),t!==null)return t;e=e.sibling}return null}var _=Object.assign,R=Symbol.for("react.element"),D=Symbol.for("react.transitional.element"),H=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),Z=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),ce=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),he=Symbol.for("react.activity"),Oe=Symbol.for("react.memo_cache_sentinel"),Qe=Symbol.iterator;function ie(e){return e===null||typeof e!="object"?null:(e=Qe&&e[Qe]||e["@@iterator"],typeof e=="function"?e:null)}var xt=Symbol.for("react.client.reference");function rt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===xt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case T:return"Fragment";case U:return"Profiler";case z:return"StrictMode";case te:return"Suspense";case ce:return"SuspenseList";case he:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case H:return"Portal";case Y:return e.displayName||"Context";case Z:return(e._context.displayName||"Context")+".Consumer";case $:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case I:return t=e.displayName||null,t!==null?t:rt(e.type)||"Memo";case ne:t=e._payload,e=e._init;try{return rt(e(t))}catch{}}return null}var He=Array.isArray,B=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue={pending:!1,data:null,method:null,action:null},Me=[],Le=-1;function N(e){return{current:e}}function Q(e){0>Le||(e.current=Me[Le],Me[Le]=null,Le--)}function X(e,t){Le++,Me[Le]=e.current,e.current=t}var F=N(null),oe=N(null),me=N(null),Ee=N(null);function St(e,t){switch(X(me,t),X(oe,e),X(F,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Q2(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Q2(t),e=G2(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(F),X(F,e)}function Je(){Q(F),Q(oe),Q(me)}function Hi(e){e.memoizedState!==null&&X(Ee,e);var t=F.current,a=G2(t,e.type);t!==a&&(X(oe,e),X(F,a))}function iu(e){oe.current===e&&(Q(F),Q(oe)),Ee.current===e&&(Q(Ee),Cs._currentValue=ue)}var Gc,v0;function Jl(e){if(Gc===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Gc=t&&t[1]||"",v0=-1<a.stack.indexOf(`
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Gc+e+v0}var Yc=!1;function $c(e,t){if(!e||Yc)return"";Yc=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var k=function(){throw Error()};if(Object.defineProperty(k.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(k,[])}catch(A){var M=A}Reflect.construct(e,[],k)}else{try{k.call()}catch(A){M=A}e.call(k.prototype)}}else{try{throw Error()}catch(A){M=A}(k=e())&&typeof k.catch=="function"&&k.catch(function(){})}}catch(A){if(A&&M&&typeof A.stack=="string")return[A.stack,M.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=l.DetermineComponentFrameRoot(),f=u[0],m=u[1];if(f&&m){var x=f.split(`
`),O=m.split(`
`);for(i=l=0;l<x.length&&!x[l].includes("DetermineComponentFrameRoot");)l++;for(;i<O.length&&!O[i].includes("DetermineComponentFrameRoot");)i++;if(l===x.length||i===O.length)for(l=x.length-1,i=O.length-1;1<=l&&0<=i&&x[l]!==O[i];)i--;for(;1<=l&&0<=i;l--,i--)if(x[l]!==O[i]){if(l!==1||i!==1)do if(l--,i--,0>i||x[l]!==O[i]){var L=`
`+x[l].replace(" at new "," at ");return e.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",e.displayName)),L}while(1<=l&&0<=i);break}}}finally{Yc=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Jl(a):""}function jp(e,t){switch(e.tag){case 26:case 27:case 5:return Jl(e.type);case 16:return Jl("Lazy");case 13:return e.child!==t&&t!==null?Jl("Suspense Fallback"):Jl("Suspense");case 19:return Jl("SuspenseList");case 0:case 15:return $c(e.type,!1);case 11:return $c(e.type.render,!1);case 1:return $c(e.type,!0);case 31:return Jl("Activity");default:return""}}function g0(e){try{var t="",a=null;do t+=jp(e,a),a=e,e=e.return;while(e);return t}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var Vc=Object.prototype.hasOwnProperty,Xc=n.unstable_scheduleCallback,Zc=n.unstable_cancelCallback,Ep=n.unstable_shouldYield,Np=n.unstable_requestPaint,qt=n.unstable_now,Tp=n.unstable_getCurrentPriorityLevel,_0=n.unstable_ImmediatePriority,b0=n.unstable_UserBlockingPriority,su=n.unstable_NormalPriority,Cp=n.unstable_LowPriority,x0=n.unstable_IdlePriority,Rp=n.log,wp=n.unstable_setDisableYieldValue,qi=null,kt=null;function rl(e){if(typeof Rp=="function"&&wp(e),kt&&typeof kt.setStrictMode=="function")try{kt.setStrictMode(qi,e)}catch{}}var Qt=Math.clz32?Math.clz32:Ap,Op=Math.log,Mp=Math.LN2;function Ap(e){return e>>>=0,e===0?32:31-(Op(e)/Mp|0)|0}var uu=256,cu=262144,ru=4194304;function Fl(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 ou(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var i=0,u=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var m=l&134217727;return m!==0?(l=m&~u,l!==0?i=Fl(l):(f&=m,f!==0?i=Fl(f):a||(a=m&~e,a!==0&&(i=Fl(a))))):(m=l&~u,m!==0?i=Fl(m):f!==0?i=Fl(f):a||(a=l&~e,a!==0&&(i=Fl(a)))),i===0?0:t!==0&&t!==i&&(t&u)===0&&(u=i&-i,a=t&-t,u>=a||u===32&&(a&4194048)!==0)?t:i}function ki(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function zp(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 S0(){var e=ru;return ru<<=1,(ru&62914560)===0&&(ru=4194304),e}function Kc(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Qi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Dp(e,t,a,l,i,u){var f=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var m=e.entanglements,x=e.expirationTimes,O=e.hiddenUpdates;for(a=f&~a;0<a;){var L=31-Qt(a),k=1<<L;m[L]=0,x[L]=-1;var M=O[L];if(M!==null)for(O[L]=null,L=0;L<M.length;L++){var A=M[L];A!==null&&(A.lane&=-536870913)}a&=~k}l!==0&&j0(e,l,0),u!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=u&~(f&~t))}function j0(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-Qt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&261930}function E0(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-Qt(a),i=1<<l;i&t|e[l]&t&&(e[l]|=t),a&=~i}}function N0(e,t){var a=t&-t;return a=(a&42)!==0?1:Jc(a),(a&(e.suspendedLanes|t))!==0?0:a}function Jc(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 Fc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function T0(){var e=V.p;return e!==0?e:(e=window.event,e===void 0?32:fm(e.type))}function C0(e,t){var a=V.p;try{return V.p=e,t()}finally{V.p=a}}var ol=Math.random().toString(36).slice(2),ot="__reactFiber$"+ol,Ct="__reactProps$"+ol,An="__reactContainer$"+ol,Wc="__reactEvents$"+ol,Lp="__reactListeners$"+ol,Up="__reactHandles$"+ol,R0="__reactResources$"+ol,Gi="__reactMarker$"+ol;function Ic(e){delete e[ot],delete e[Ct],delete e[Wc],delete e[Lp],delete e[Up]}function zn(e){var t=e[ot];if(t)return t;for(var a=e.parentNode;a;){if(t=a[An]||a[ot]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=J2(e);e!==null;){if(a=e[ot])return a;e=J2(e)}return t}e=a,a=e.parentNode}return null}function Dn(e){if(e=e[ot]||e[An]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Yi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function Ln(e){var t=e[R0];return t||(t=e[R0]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function st(e){e[Gi]=!0}var w0=new Set,O0={};function Wl(e,t){Un(e,t),Un(e+"Capture",t)}function Un(e,t){for(O0[e]=t,e=0;e<t.length;e++)w0.add(t[e])}var Bp=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]*$"),M0={},A0={};function Hp(e){return Vc.call(A0,e)?!0:Vc.call(M0,e)?!1:Bp.test(e)?A0[e]=!0:(M0[e]=!0,!1)}function fu(e,t,a){if(Hp(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function du(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function Ua(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+l)}}function la(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function z0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function qp(e,t,a){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var i=l.get,u=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(f){a=""+f,u.call(this,f)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Pc(e){if(!e._valueTracker){var t=z0(e)?"checked":"value";e._valueTracker=qp(e,t,""+e[t])}}function D0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=z0(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function hu(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 kp=/[\n"\\]/g;function na(e){return e.replace(kp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function er(e,t,a,l,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=""+la(t)):e.value!==""+la(t)&&(e.value=""+la(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?tr(e,f,la(t)):a!=null?tr(e,f,la(a)):l!=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=""+la(m):e.removeAttribute("name")}function L0(e,t,a,l,i,u,f,m){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||a!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Pc(e);return}a=a!=null?""+la(a):"",t=t!=null?""+la(t):a,m||t===e.value||(e.value=t),e.defaultValue=t}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=m?e.checked:!!l,e.defaultChecked=!!l,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.name=f),Pc(e)}function tr(e,t,a){t==="number"&&hu(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Bn(e,t,a,l){if(e=e.options,t){t={};for(var i=0;i<a.length;i++)t["$"+a[i]]=!0;for(a=0;a<e.length;a++)i=t.hasOwnProperty("$"+e[a].value),e[a].selected!==i&&(e[a].selected=i),i&&l&&(e[a].defaultSelected=!0)}else{for(a=""+la(a),t=null,i=0;i<e.length;i++){if(e[i].value===a){e[i].selected=!0,l&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function U0(e,t,a){if(t!=null&&(t=""+la(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+la(a):""}function B0(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(r(92));if(He(l)){if(1<l.length)throw Error(r(93));l=l[0]}a=l}a==null&&(a=""),t=a}a=la(t),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l),Pc(e)}function Hn(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Qp=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 H0(e,t,a){var l=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,a):typeof a!="number"||a===0||Qp.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function q0(e,t,a){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var i in t)l=t[i],t.hasOwnProperty(i)&&a[i]!==l&&H0(e,i,l)}else for(var u in t)t.hasOwnProperty(u)&&H0(e,u,t[u])}function ar(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 Gp=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"]]),Yp=/^[\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 mu(e){return Yp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ba(){}var lr=null;function nr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qn=null,kn=null;function k0(e){var t=Dn(e);if(t&&(e=t.stateNode)){var a=e[Ct]||null;e:switch(e=t.stateNode,t.type){case"input":if(er(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+na(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var l=a[t];if(l!==e&&l.form===e.form){var i=l[Ct]||null;if(!i)throw Error(r(90));er(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<a.length;t++)l=a[t],l.form===e.form&&D0(l)}break e;case"textarea":U0(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Bn(e,!!a.multiple,t,!1)}}}var ir=!1;function Q0(e,t,a){if(ir)return e(t,a);ir=!0;try{var l=e(t);return l}finally{if(ir=!1,(qn!==null||kn!==null)&&(tc(),qn&&(t=qn,e=kn,kn=qn=null,k0(t),e)))for(t=0;t<e.length;t++)k0(e[t])}}function $i(e,t){var a=e.stateNode;if(a===null)return null;var l=a[Ct]||null;if(l===null)return null;a=l[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":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(r(231,t,typeof a));return a}var Ha=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sr=!1;if(Ha)try{var Vi={};Object.defineProperty(Vi,"passive",{get:function(){sr=!0}}),window.addEventListener("test",Vi,Vi),window.removeEventListener("test",Vi,Vi)}catch{sr=!1}var fl=null,ur=null,pu=null;function G0(){if(pu)return pu;var e,t=ur,a=t.length,l,i="value"in fl?fl.value:fl.textContent,u=i.length;for(e=0;e<a&&t[e]===i[e];e++);var f=a-e;for(l=1;l<=f&&t[a-l]===i[u-l];l++);return pu=i.slice(e,1<l?1-l:void 0)}function yu(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 vu(){return!0}function Y0(){return!1}function Rt(e){function t(a,l,i,u,f){this._reactName=a,this._targetInst=i,this.type=l,this.nativeEvent=u,this.target=f,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(a=e[m],this[m]=a?a(u):u[m]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?vu:Y0,this.isPropagationStopped=Y0,this}return _(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=vu)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=vu)},persist:function(){},isPersistent:vu}),t}var Il={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gu=Rt(Il),Xi=_({},Il,{view:0,detail:0}),$p=Rt(Xi),cr,rr,Zi,_u=_({},Xi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fr,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!==Zi&&(Zi&&e.type==="mousemove"?(cr=e.screenX-Zi.screenX,rr=e.screenY-Zi.screenY):rr=cr=0,Zi=e),cr)},movementY:function(e){return"movementY"in e?e.movementY:rr}}),$0=Rt(_u),Vp=_({},_u,{dataTransfer:0}),Xp=Rt(Vp),Zp=_({},Xi,{relatedTarget:0}),or=Rt(Zp),Kp=_({},Il,{animationName:0,elapsedTime:0,pseudoElement:0}),Jp=Rt(Kp),Fp=_({},Il,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wp=Rt(Fp),Ip=_({},Il,{data:0}),V0=Rt(Ip),Pp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ey={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"},ty={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ay(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ty[e])?!!t[e]:!1}function fr(){return ay}var ly=_({},Xi,{key:function(e){if(e.key){var t=Pp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ey[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fr,charCode:function(e){return e.type==="keypress"?yu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ny=Rt(ly),iy=_({},_u,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),X0=Rt(iy),sy=_({},Xi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fr}),uy=Rt(sy),cy=_({},Il,{propertyName:0,elapsedTime:0,pseudoElement:0}),ry=Rt(cy),oy=_({},_u,{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}),fy=Rt(oy),dy=_({},Il,{newState:0,oldState:0}),hy=Rt(dy),my=[9,13,27,32],dr=Ha&&"CompositionEvent"in window,Ki=null;Ha&&"documentMode"in document&&(Ki=document.documentMode);var py=Ha&&"TextEvent"in window&&!Ki,Z0=Ha&&(!dr||Ki&&8<Ki&&11>=Ki),K0=" ",J0=!1;function F0(e,t){switch(e){case"keyup":return my.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function W0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qn=!1;function yy(e,t){switch(e){case"compositionend":return W0(t);case"keypress":return t.which!==32?null:(J0=!0,K0);case"textInput":return e=t.data,e===K0&&J0?null:e;default:return null}}function vy(e,t){if(Qn)return e==="compositionend"||!dr&&F0(e,t)?(e=G0(),pu=ur=fl=null,Qn=!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 Z0&&t.locale!=="ko"?null:t.data;default:return null}}var gy={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 I0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gy[e.type]:t==="textarea"}function P0(e,t,a,l){qn?kn?kn.push(l):kn=[l]:qn=l,t=cc(t,"onChange"),0<t.length&&(a=new gu("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var Ji=null,Fi=null;function _y(e){L2(e,0)}function bu(e){var t=Yi(e);if(D0(t))return e}function ed(e,t){if(e==="change")return t}var td=!1;if(Ha){var hr;if(Ha){var mr="oninput"in document;if(!mr){var ad=document.createElement("div");ad.setAttribute("oninput","return;"),mr=typeof ad.oninput=="function"}hr=mr}else hr=!1;td=hr&&(!document.documentMode||9<document.documentMode)}function ld(){Ji&&(Ji.detachEvent("onpropertychange",nd),Fi=Ji=null)}function nd(e){if(e.propertyName==="value"&&bu(Fi)){var t=[];P0(t,Fi,e,nr(e)),Q0(_y,t)}}function by(e,t,a){e==="focusin"?(ld(),Ji=t,Fi=a,Ji.attachEvent("onpropertychange",nd)):e==="focusout"&&ld()}function xy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return bu(Fi)}function Sy(e,t){if(e==="click")return bu(t)}function jy(e,t){if(e==="input"||e==="change")return bu(t)}function Ey(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gt=typeof Object.is=="function"?Object.is:Ey;function Wi(e,t){if(Gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var i=a[l];if(!Vc.call(t,i)||!Gt(e[i],t[i]))return!1}return!0}function id(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sd(e,t){var a=id(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=t&&l>=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=id(a)}}function ud(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ud(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=hu(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=hu(e.document)}return t}function pr(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 Ny=Ha&&"documentMode"in document&&11>=document.documentMode,Gn=null,yr=null,Ii=null,vr=!1;function rd(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;vr||Gn==null||Gn!==hu(l)||(l=Gn,"selectionStart"in l&&pr(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Ii&&Wi(Ii,l)||(Ii=l,l=cc(yr,"onSelect"),0<l.length&&(t=new gu("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=Gn)))}function Pl(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Yn={animationend:Pl("Animation","AnimationEnd"),animationiteration:Pl("Animation","AnimationIteration"),animationstart:Pl("Animation","AnimationStart"),transitionrun:Pl("Transition","TransitionRun"),transitionstart:Pl("Transition","TransitionStart"),transitioncancel:Pl("Transition","TransitionCancel"),transitionend:Pl("Transition","TransitionEnd")},gr={},od={};Ha&&(od=document.createElement("div").style,"AnimationEvent"in window||(delete Yn.animationend.animation,delete Yn.animationiteration.animation,delete Yn.animationstart.animation),"TransitionEvent"in window||delete Yn.transitionend.transition);function en(e){if(gr[e])return gr[e];if(!Yn[e])return e;var t=Yn[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in od)return gr[e]=t[a];return e}var fd=en("animationend"),dd=en("animationiteration"),hd=en("animationstart"),Ty=en("transitionrun"),Cy=en("transitionstart"),Ry=en("transitioncancel"),md=en("transitionend"),pd=new Map,_r="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(" ");_r.push("scrollEnd");function ya(e,t){pd.set(e,t),Wl(t,[e])}var xu=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)},ia=[],$n=0,br=0;function Su(){for(var e=$n,t=br=$n=0;t<e;){var a=ia[t];ia[t++]=null;var l=ia[t];ia[t++]=null;var i=ia[t];ia[t++]=null;var u=ia[t];if(ia[t++]=null,l!==null&&i!==null){var f=l.pending;f===null?i.next=i:(i.next=f.next,f.next=i),l.pending=i}u!==0&&yd(a,i,u)}}function ju(e,t,a,l){ia[$n++]=e,ia[$n++]=t,ia[$n++]=a,ia[$n++]=l,br|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function xr(e,t,a,l){return ju(e,t,a,l),Eu(e)}function tn(e,t){return ju(e,null,null,t),Eu(e)}function yd(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var i=!1,u=e.return;u!==null;)u.childLanes|=a,l=u.alternate,l!==null&&(l.childLanes|=a),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-Qt(a),e=u.hiddenUpdates,l=e[i],l===null?e[i]=[t]:l.push(t),t.lane=a|536870912),u):null}function Eu(e){if(50<bs)throw bs=0,Mo=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Vn={};function wy(e,t,a,l){this.tag=e,this.key=a,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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yt(e,t,a,l){return new wy(e,t,a,l)}function Sr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qa(e,t){var a=e.alternate;return a===null?(a=Yt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function vd(e,t){e.flags&=65011714;var a=e.alternate;return a===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=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Nu(e,t,a,l,i,u){var f=0;if(l=e,typeof e=="function")Sr(e)&&(f=1);else if(typeof e=="string")f=Dv(e,a,F.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case he:return e=Yt(31,a,t,i),e.elementType=he,e.lanes=u,e;case T:return an(a.children,i,u,t);case z:f=8,i|=24;break;case U:return e=Yt(12,a,t,i|2),e.elementType=U,e.lanes=u,e;case te:return e=Yt(13,a,t,i),e.elementType=te,e.lanes=u,e;case ce:return e=Yt(19,a,t,i),e.elementType=ce,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Y:f=10;break e;case Z:f=9;break e;case $:f=11;break e;case I:f=14;break e;case ne:f=16,l=null;break e}f=29,a=Error(r(130,e===null?"null":typeof e,"")),l=null}return t=Yt(f,a,t,i),t.elementType=e,t.type=l,t.lanes=u,t}function an(e,t,a,l){return e=Yt(7,e,l,t),e.lanes=a,e}function jr(e,t,a){return e=Yt(6,e,null,t),e.lanes=a,e}function gd(e){var t=Yt(18,null,null,0);return t.stateNode=e,t}function Er(e,t,a){return t=Yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var _d=new WeakMap;function sa(e,t){if(typeof e=="object"&&e!==null){var a=_d.get(e);return a!==void 0?a:(t={value:e,source:t,stack:g0(t)},_d.set(e,t),t)}return{value:e,source:t,stack:g0(t)}}var Xn=[],Zn=0,Tu=null,Pi=0,ua=[],ca=0,dl=null,Ea=1,Na="";function ka(e,t){Xn[Zn++]=Pi,Xn[Zn++]=Tu,Tu=e,Pi=t}function bd(e,t,a){ua[ca++]=Ea,ua[ca++]=Na,ua[ca++]=dl,dl=e;var l=Ea;e=Na;var i=32-Qt(l)-1;l&=~(1<<i),a+=1;var u=32-Qt(t)+i;if(30<u){var f=i-i%5;u=(l&(1<<f)-1).toString(32),l>>=f,i-=f,Ea=1<<32-Qt(t)+i|a<<i|l,Na=u+e}else Ea=1<<u|a<<i|l,Na=e}function Nr(e){e.return!==null&&(ka(e,1),bd(e,1,0))}function Tr(e){for(;e===Tu;)Tu=Xn[--Zn],Xn[Zn]=null,Pi=Xn[--Zn],Xn[Zn]=null;for(;e===dl;)dl=ua[--ca],ua[ca]=null,Na=ua[--ca],ua[ca]=null,Ea=ua[--ca],ua[ca]=null}function xd(e,t){ua[ca++]=Ea,ua[ca++]=Na,ua[ca++]=dl,Ea=t.id,Na=t.overflow,dl=e}var ft=null,qe=null,_e=!1,hl=null,ra=!1,Cr=Error(r(519));function ml(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw es(sa(t,e)),Cr}function Sd(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[ot]=e,t[Ct]=l,a){case"dialog":ye("cancel",t),ye("close",t);break;case"iframe":case"object":case"embed":ye("load",t);break;case"video":case"audio":for(a=0;a<Ss.length;a++)ye(Ss[a],t);break;case"source":ye("error",t);break;case"img":case"image":case"link":ye("error",t),ye("load",t);break;case"details":ye("toggle",t);break;case"input":ye("invalid",t),L0(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ye("invalid",t);break;case"textarea":ye("invalid",t),B0(t,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||q2(t.textContent,a)?(l.popover!=null&&(ye("beforetoggle",t),ye("toggle",t)),l.onScroll!=null&&ye("scroll",t),l.onScrollEnd!=null&&ye("scrollend",t),l.onClick!=null&&(t.onclick=Ba),t=!0):t=!1,t||ml(e,!0)}function jd(e){for(ft=e.return;ft;)switch(ft.tag){case 5:case 31:case 13:ra=!1;return;case 27:case 3:ra=!0;return;default:ft=ft.return}}function Kn(e){if(e!==ft)return!1;if(!_e)return jd(e),_e=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Xo(e.type,e.memoizedProps)),a=!a),a&&qe&&ml(e),jd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qe=K2(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qe=K2(e)}else t===27?(t=qe,Rl(e.type)?(e=Wo,Wo=null,qe=e):qe=t):qe=ft?fa(e.stateNode.nextSibling):null;return!0}function ln(){qe=ft=null,_e=!1}function Rr(){var e=hl;return e!==null&&(At===null?At=e:At.push.apply(At,e),hl=null),e}function es(e){hl===null?hl=[e]:hl.push(e)}var wr=N(null),nn=null,Qa=null;function pl(e,t,a){X(wr,t._currentValue),t._currentValue=a}function Ga(e){e._currentValue=wr.current,Q(wr)}function Or(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===a)break;e=e.return}}function Mr(e,t,a,l){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|=a,m=u.alternate,m!==null&&(m.lanes|=a),Or(u.return,a,e),l||(f=null);break e}u=m.next}}else if(i.tag===18){if(f=i.return,f===null)throw Error(r(341));f.lanes|=a,u=f.alternate,u!==null&&(u.lanes|=a),Or(f,a,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 Jn(e,t,a,l){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(r(387));if(f=f.memoizedProps,f!==null){var m=i.type;Gt(i.pendingProps.value,f.value)||(e!==null?e.push(m):e=[m])}}else if(i===Ee.current){if(f=i.alternate,f===null)throw Error(r(387));f.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(Cs):e=[Cs])}i=i.return}e!==null&&Mr(t,e,a,l),t.flags|=262144}function Cu(e){for(e=e.firstContext;e!==null;){if(!Gt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function sn(e){nn=e,Qa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function dt(e){return Ed(nn,e)}function Ru(e,t){return nn===null&&sn(e),Ed(e,t)}function Ed(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Qa===null){if(e===null)throw Error(r(308));Qa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Qa=Qa.next=t;return a}var Oy=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},My=n.unstable_scheduleCallback,Ay=n.unstable_NormalPriority,et={$$typeof:Y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ar(){return{controller:new Oy,data:new Map,refCount:0}}function ts(e){e.refCount--,e.refCount===0&&My(Ay,function(){e.controller.abort()})}var as=null,zr=0,Fn=0,Wn=null;function zy(e,t){if(as===null){var a=as=[];zr=0,Fn=Bo(),Wn={status:"pending",value:void 0,then:function(l){a.push(l)}}}return zr++,t.then(Nd,Nd),t}function Nd(){if(--zr===0&&as!==null){Wn!==null&&(Wn.status="fulfilled");var e=as;as=null,Fn=0,Wn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Dy(e,t){var a=[],l={status:"pending",value:null,reason:null,then:function(i){a.push(i)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var i=0;i<a.length;i++)(0,a[i])(t)},function(i){for(l.status="rejected",l.reason=i,i=0;i<a.length;i++)(0,a[i])(void 0)}),l}var Td=B.S;B.S=function(e,t){r2=qt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&zy(e,t),Td!==null&&Td(e,t)};var un=N(null);function Dr(){var e=un.current;return e!==null?e:Ue.pooledCache}function wu(e,t){t===null?X(un,un.current):X(un,t.pool)}function Cd(){var e=Dr();return e===null?null:{parent:et._currentValue,pool:e}}var In=Error(r(460)),Lr=Error(r(474)),Ou=Error(r(542)),Mu={then:function(){}};function Rd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function wd(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Ba,Ba),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Md(e),e;default:if(typeof t.status=="string")t.then(Ba,Ba);else{if(e=Ue,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=l}},function(l){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Md(e),e}throw rn=t,In}}function cn(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(rn=a,In):a}}var rn=null;function Od(){if(rn===null)throw Error(r(459));var e=rn;return rn=null,e}function Md(e){if(e===In||e===Ou)throw Error(r(483))}var Pn=null,ls=0;function Au(e){var t=ls;return ls+=1,Pn===null&&(Pn=[]),wd(Pn,e,t)}function ns(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function zu(e,t){throw t.$$typeof===R?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Ad(e){function t(C,E){if(e){var w=C.deletions;w===null?(C.deletions=[E],C.flags|=16):w.push(E)}}function a(C,E){if(!e)return null;for(;E!==null;)t(C,E),E=E.sibling;return null}function l(C){for(var E=new Map;C!==null;)C.key!==null?E.set(C.key,C):E.set(C.index,C),C=C.sibling;return E}function i(C,E){return C=qa(C,E),C.index=0,C.sibling=null,C}function u(C,E,w){return C.index=w,e?(w=C.alternate,w!==null?(w=w.index,w<E?(C.flags|=67108866,E):w):(C.flags|=67108866,E)):(C.flags|=1048576,E)}function f(C){return e&&C.alternate===null&&(C.flags|=67108866),C}function m(C,E,w,q){return E===null||E.tag!==6?(E=jr(w,C.mode,q),E.return=C,E):(E=i(E,w),E.return=C,E)}function x(C,E,w,q){var P=w.type;return P===T?L(C,E,w.props.children,q,w.key):E!==null&&(E.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===ne&&cn(P)===E.type)?(E=i(E,w.props),ns(E,w),E.return=C,E):(E=Nu(w.type,w.key,w.props,null,C.mode,q),ns(E,w),E.return=C,E)}function O(C,E,w,q){return E===null||E.tag!==4||E.stateNode.containerInfo!==w.containerInfo||E.stateNode.implementation!==w.implementation?(E=Er(w,C.mode,q),E.return=C,E):(E=i(E,w.children||[]),E.return=C,E)}function L(C,E,w,q,P){return E===null||E.tag!==7?(E=an(w,C.mode,q,P),E.return=C,E):(E=i(E,w),E.return=C,E)}function k(C,E,w){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=jr(""+E,C.mode,w),E.return=C,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case D:return w=Nu(E.type,E.key,E.props,null,C.mode,w),ns(w,E),w.return=C,w;case H:return E=Er(E,C.mode,w),E.return=C,E;case ne:return E=cn(E),k(C,E,w)}if(He(E)||ie(E))return E=an(E,C.mode,w,null),E.return=C,E;if(typeof E.then=="function")return k(C,Au(E),w);if(E.$$typeof===Y)return k(C,Ru(C,E),w);zu(C,E)}return null}function M(C,E,w,q){var P=E!==null?E.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return P!==null?null:m(C,E,""+w,q);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case D:return w.key===P?x(C,E,w,q):null;case H:return w.key===P?O(C,E,w,q):null;case ne:return w=cn(w),M(C,E,w,q)}if(He(w)||ie(w))return P!==null?null:L(C,E,w,q,null);if(typeof w.then=="function")return M(C,E,Au(w),q);if(w.$$typeof===Y)return M(C,E,Ru(C,w),q);zu(C,w)}return null}function A(C,E,w,q,P){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return C=C.get(w)||null,m(E,C,""+q,P);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case D:return C=C.get(q.key===null?w:q.key)||null,x(E,C,q,P);case H:return C=C.get(q.key===null?w:q.key)||null,O(E,C,q,P);case ne:return q=cn(q),A(C,E,w,q,P)}if(He(q)||ie(q))return C=C.get(w)||null,L(E,C,q,P,null);if(typeof q.then=="function")return A(C,E,w,Au(q),P);if(q.$$typeof===Y)return A(C,E,w,Ru(E,q),P);zu(E,q)}return null}function J(C,E,w,q){for(var P=null,xe=null,W=E,de=E=0,ge=null;W!==null&&de<w.length;de++){W.index>de?(ge=W,W=null):ge=W.sibling;var Se=M(C,W,w[de],q);if(Se===null){W===null&&(W=ge);break}e&&W&&Se.alternate===null&&t(C,W),E=u(Se,E,de),xe===null?P=Se:xe.sibling=Se,xe=Se,W=ge}if(de===w.length)return a(C,W),_e&&ka(C,de),P;if(W===null){for(;de<w.length;de++)W=k(C,w[de],q),W!==null&&(E=u(W,E,de),xe===null?P=W:xe.sibling=W,xe=W);return _e&&ka(C,de),P}for(W=l(W);de<w.length;de++)ge=A(W,C,de,w[de],q),ge!==null&&(e&&ge.alternate!==null&&W.delete(ge.key===null?de:ge.key),E=u(ge,E,de),xe===null?P=ge:xe.sibling=ge,xe=ge);return e&&W.forEach(function(zl){return t(C,zl)}),_e&&ka(C,de),P}function le(C,E,w,q){if(w==null)throw Error(r(151));for(var P=null,xe=null,W=E,de=E=0,ge=null,Se=w.next();W!==null&&!Se.done;de++,Se=w.next()){W.index>de?(ge=W,W=null):ge=W.sibling;var zl=M(C,W,Se.value,q);if(zl===null){W===null&&(W=ge);break}e&&W&&zl.alternate===null&&t(C,W),E=u(zl,E,de),xe===null?P=zl:xe.sibling=zl,xe=zl,W=ge}if(Se.done)return a(C,W),_e&&ka(C,de),P;if(W===null){for(;!Se.done;de++,Se=w.next())Se=k(C,Se.value,q),Se!==null&&(E=u(Se,E,de),xe===null?P=Se:xe.sibling=Se,xe=Se);return _e&&ka(C,de),P}for(W=l(W);!Se.done;de++,Se=w.next())Se=A(W,C,de,Se.value,q),Se!==null&&(e&&Se.alternate!==null&&W.delete(Se.key===null?de:Se.key),E=u(Se,E,de),xe===null?P=Se:xe.sibling=Se,xe=Se);return e&&W.forEach(function(Vv){return t(C,Vv)}),_e&&ka(C,de),P}function De(C,E,w,q){if(typeof w=="object"&&w!==null&&w.type===T&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case D:e:{for(var P=w.key;E!==null;){if(E.key===P){if(P=w.type,P===T){if(E.tag===7){a(C,E.sibling),q=i(E,w.props.children),q.return=C,C=q;break e}}else if(E.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===ne&&cn(P)===E.type){a(C,E.sibling),q=i(E,w.props),ns(q,w),q.return=C,C=q;break e}a(C,E);break}else t(C,E);E=E.sibling}w.type===T?(q=an(w.props.children,C.mode,q,w.key),q.return=C,C=q):(q=Nu(w.type,w.key,w.props,null,C.mode,q),ns(q,w),q.return=C,C=q)}return f(C);case H:e:{for(P=w.key;E!==null;){if(E.key===P)if(E.tag===4&&E.stateNode.containerInfo===w.containerInfo&&E.stateNode.implementation===w.implementation){a(C,E.sibling),q=i(E,w.children||[]),q.return=C,C=q;break e}else{a(C,E);break}else t(C,E);E=E.sibling}q=Er(w,C.mode,q),q.return=C,C=q}return f(C);case ne:return w=cn(w),De(C,E,w,q)}if(He(w))return J(C,E,w,q);if(ie(w)){if(P=ie(w),typeof P!="function")throw Error(r(150));return w=P.call(w),le(C,E,w,q)}if(typeof w.then=="function")return De(C,E,Au(w),q);if(w.$$typeof===Y)return De(C,E,Ru(C,w),q);zu(C,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,E!==null&&E.tag===6?(a(C,E.sibling),q=i(E,w),q.return=C,C=q):(a(C,E),q=jr(w,C.mode,q),q.return=C,C=q),f(C)):a(C,E)}return function(C,E,w,q){try{ls=0;var P=De(C,E,w,q);return Pn=null,P}catch(W){if(W===In||W===Ou)throw W;var xe=Yt(29,W,null,C.mode);return xe.lanes=q,xe.return=C,xe}finally{}}}var on=Ad(!0),zd=Ad(!1),yl=!1;function Ur(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Br(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 vl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function gl(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(je&2)!==0){var i=l.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),l.pending=t,t=Eu(e),yd(e,null,a),t}return ju(e,l,t,a),Eu(e)}function is(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,E0(e,a)}}function Hr(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var i=null,u=null;if(a=a.firstBaseUpdate,a!==null){do{var f={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};u===null?i=u=f:u=u.next=f,a=a.next}while(a!==null);u===null?i=u=t:u=u.next=t}else i=u=t;a={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:u,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var qr=!1;function ss(){if(qr){var e=Wn;if(e!==null)throw e}}function us(e,t,a,l){qr=!1;var i=e.updateQueue;yl=!1;var u=i.firstBaseUpdate,f=i.lastBaseUpdate,m=i.shared.pending;if(m!==null){i.shared.pending=null;var x=m,O=x.next;x.next=null,f===null?u=O:f.next=O,f=x;var L=e.alternate;L!==null&&(L=L.updateQueue,m=L.lastBaseUpdate,m!==f&&(m===null?L.firstBaseUpdate=O:m.next=O,L.lastBaseUpdate=x))}if(u!==null){var k=i.baseState;f=0,L=O=x=null,m=u;do{var M=m.lane&-536870913,A=M!==m.lane;if(A?(ve&M)===M:(l&M)===M){M!==0&&M===Fn&&(qr=!0),L!==null&&(L=L.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var J=e,le=m;M=t;var De=a;switch(le.tag){case 1:if(J=le.payload,typeof J=="function"){k=J.call(De,k,M);break e}k=J;break e;case 3:J.flags=J.flags&-65537|128;case 0:if(J=le.payload,M=typeof J=="function"?J.call(De,k,M):J,M==null)break e;k=_({},k,M);break e;case 2:yl=!0}}M=m.callback,M!==null&&(e.flags|=64,A&&(e.flags|=8192),A=i.callbacks,A===null?i.callbacks=[M]:A.push(M))}else A={lane:M,tag:m.tag,payload:m.payload,callback:m.callback,next:null},L===null?(O=L=A,x=k):L=L.next=A,f|=M;if(m=m.next,m===null){if(m=i.shared.pending,m===null)break;A=m,m=A.next,A.next=null,i.lastBaseUpdate=A,i.shared.pending=null}}while(!0);L===null&&(x=k),i.baseState=x,i.firstBaseUpdate=O,i.lastBaseUpdate=L,u===null&&(i.shared.lanes=0),jl|=f,e.lanes=f,e.memoizedState=k}}function Dd(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function Ld(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Dd(a[e],t)}var ei=N(null),Du=N(0);function Ud(e,t){e=Wa,X(Du,e),X(ei,t),Wa=e|t.baseLanes}function kr(){X(Du,Wa),X(ei,ei.current)}function Qr(){Wa=Du.current,Q(ei),Q(Du)}var $t=N(null),oa=null;function _l(e){var t=e.alternate;X(Fe,Fe.current&1),X($t,e),oa===null&&(t===null||ei.current!==null||t.memoizedState!==null)&&(oa=e)}function Gr(e){X(Fe,Fe.current),X($t,e),oa===null&&(oa=e)}function Bd(e){e.tag===22?(X(Fe,Fe.current),X($t,e),oa===null&&(oa=e)):bl()}function bl(){X(Fe,Fe.current),X($t,$t.current)}function Vt(e){Q($t),oa===e&&(oa=null),Q(Fe)}var Fe=N(0);function Lu(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Jo(a)||Fo(a)))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 Ya=0,fe=null,Ae=null,tt=null,Uu=!1,ti=!1,fn=!1,Bu=0,cs=0,ai=null,Ly=0;function Ve(){throw Error(r(321))}function Yr(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Gt(e[a],t[a]))return!1;return!0}function $r(e,t,a,l,i,u){return Ya=u,fe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=e===null||e.memoizedState===null?bh:io,fn=!1,u=a(l,i),fn=!1,ti&&(u=qd(t,a,l,i)),Hd(e),u}function Hd(e){B.H=fs;var t=Ae!==null&&Ae.next!==null;if(Ya=0,tt=Ae=fe=null,Uu=!1,cs=0,ai=null,t)throw Error(r(300));e===null||at||(e=e.dependencies,e!==null&&Cu(e)&&(at=!0))}function qd(e,t,a,l){fe=e;var i=0;do{if(ti&&(ai=null),cs=0,ti=!1,25<=i)throw Error(r(301));if(i+=1,tt=Ae=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}B.H=xh,u=t(a,l)}while(ti);return u}function Uy(){var e=B.H,t=e.useState()[0];return t=typeof t.then=="function"?rs(t):t,e=e.useState()[0],(Ae!==null?Ae.memoizedState:null)!==e&&(fe.flags|=1024),t}function Vr(){var e=Bu!==0;return Bu=0,e}function Xr(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Zr(e){if(Uu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Uu=!1}Ya=0,tt=Ae=fe=null,ti=!1,cs=Bu=0,ai=null}function jt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?fe.memoizedState=tt=e:tt=tt.next=e,tt}function We(){if(Ae===null){var e=fe.alternate;e=e!==null?e.memoizedState:null}else e=Ae.next;var t=tt===null?fe.memoizedState:tt.next;if(t!==null)tt=t,Ae=e;else{if(e===null)throw fe.alternate===null?Error(r(467)):Error(r(310));Ae=e,e={memoizedState:Ae.memoizedState,baseState:Ae.baseState,baseQueue:Ae.baseQueue,queue:Ae.queue,next:null},tt===null?fe.memoizedState=tt=e:tt=tt.next=e}return tt}function Hu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function rs(e){var t=cs;return cs+=1,ai===null&&(ai=[]),e=wd(ai,e,t),t=fe,(tt===null?t.memoizedState:tt.next)===null&&(t=t.alternate,B.H=t===null||t.memoizedState===null?bh:io),e}function qu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return rs(e);if(e.$$typeof===Y)return dt(e)}throw Error(r(438,String(e)))}function Kr(e){var t=null,a=fe.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var l=fe.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Hu(),fe.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l<e;l++)a[l]=Oe;return t.index++,a}function $a(e,t){return typeof t=="function"?t(e):t}function ku(e){var t=We();return Jr(t,Ae,e)}function Jr(e,t,a){var l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=a;var i=e.baseQueue,u=l.pending;if(u!==null){if(i!==null){var f=i.next;i.next=u.next,u.next=f}t.baseQueue=i=u,l.pending=null}if(u=e.baseState,i===null)e.memoizedState=u;else{t=i.next;var m=f=null,x=null,O=t,L=!1;do{var k=O.lane&-536870913;if(k!==O.lane?(ve&k)===k:(Ya&k)===k){var M=O.revertLane;if(M===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),k===Fn&&(L=!0);else if((Ya&M)===M){O=O.next,M===Fn&&(L=!0);continue}else k={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},x===null?(m=x=k,f=u):x=x.next=k,fe.lanes|=M,jl|=M;k=O.action,fn&&a(u,k),u=O.hasEagerState?O.eagerState:a(u,k)}else M={lane:k,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},x===null?(m=x=M,f=u):x=x.next=M,fe.lanes|=k,jl|=k;O=O.next}while(O!==null&&O!==t);if(x===null?f=u:x.next=m,!Gt(u,e.memoizedState)&&(at=!0,L&&(a=Wn,a!==null)))throw a;e.memoizedState=u,e.baseState=f,e.baseQueue=x,l.lastRenderedState=u}return i===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Fr(e){var t=We(),a=t.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var l=a.dispatch,i=a.pending,u=t.memoizedState;if(i!==null){a.pending=null;var f=i=i.next;do u=e(u,f.action),f=f.next;while(f!==i);Gt(u,t.memoizedState)||(at=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),a.lastRenderedState=u}return[u,l]}function kd(e,t,a){var l=fe,i=We(),u=_e;if(u){if(a===void 0)throw Error(r(407));a=a()}else a=t();var f=!Gt((Ae||i).memoizedState,a);if(f&&(i.memoizedState=a,at=!0),i=i.queue,Pr(Yd.bind(null,l,i,e),[e]),i.getSnapshot!==t||f||tt!==null&&tt.memoizedState.tag&1){if(l.flags|=2048,li(9,{destroy:void 0},Gd.bind(null,l,i,a,t),null),Ue===null)throw Error(r(349));u||(Ya&127)!==0||Qd(l,t,a)}return a}function Qd(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=fe.updateQueue,t===null?(t=Hu(),fe.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Gd(e,t,a,l){t.value=a,t.getSnapshot=l,$d(t)&&Vd(e)}function Yd(e,t,a){return a(function(){$d(t)&&Vd(e)})}function $d(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Gt(e,a)}catch{return!0}}function Vd(e){var t=tn(e,2);t!==null&&zt(t,e,2)}function Wr(e){var t=jt();if(typeof e=="function"){var a=e;if(e=a(),fn){rl(!0);try{a()}finally{rl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$a,lastRenderedState:e},t}function Xd(e,t,a,l){return e.baseState=a,Jr(e,Ae,typeof l=="function"?l:$a)}function By(e,t,a,l,i){if(Yu(e))throw Error(r(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)}};B.T!==null?a(!0):u.isTransition=!1,l(u),a=t.pending,a===null?(u.next=t.pending=u,Zd(t,u)):(u.next=a.next,t.pending=a.next=u)}}function Zd(e,t){var a=t.action,l=t.payload,i=e.state;if(t.isTransition){var u=B.T,f={};B.T=f;try{var m=a(i,l),x=B.S;x!==null&&x(f,m),Kd(e,t,m)}catch(O){Ir(e,t,O)}finally{u!==null&&f.types!==null&&(u.types=f.types),B.T=u}}else try{u=a(i,l),Kd(e,t,u)}catch(O){Ir(e,t,O)}}function Kd(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){Jd(e,t,l)},function(l){return Ir(e,t,l)}):Jd(e,t,a)}function Jd(e,t,a){t.status="fulfilled",t.value=a,Fd(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Zd(e,a)))}function Ir(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,Fd(t),t=t.next;while(t!==l)}e.action=null}function Fd(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Wd(e,t){return t}function Id(e,t){if(_e){var a=Ue.formState;if(a!==null){e:{var l=fe;if(_e){if(qe){t:{for(var i=qe,u=ra;i.nodeType!==8;){if(!u){i=null;break t}if(i=fa(i.nextSibling),i===null){i=null;break t}}u=i.data,i=u==="F!"||u==="F"?i:null}if(i){qe=fa(i.nextSibling),l=i.data==="F!";break e}}ml(l)}l=!1}l&&(t=a[0])}}return a=jt(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wd,lastRenderedState:t},a.queue=l,a=vh.bind(null,fe,l),l.dispatch=a,l=Wr(!1),u=no.bind(null,fe,!1,l.queue),l=jt(),i={state:t,dispatch:null,action:e,pending:null},l.queue=i,a=By.bind(null,fe,i,u,a),i.dispatch=a,l.memoizedState=e,[t,a,!1]}function Pd(e){var t=We();return eh(t,Ae,e)}function eh(e,t,a){if(t=Jr(e,t,Wd)[0],e=ku($a)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=rs(t)}catch(f){throw f===In?Ou:f}else l=t;t=We();var i=t.queue,u=i.dispatch;return a!==t.memoizedState&&(fe.flags|=2048,li(9,{destroy:void 0},Hy.bind(null,i,a),null)),[l,u,e]}function Hy(e,t){e.action=t}function th(e){var t=We(),a=Ae;if(a!==null)return eh(t,a,e);We(),t=t.memoizedState,a=We();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function li(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=fe.updateQueue,t===null&&(t=Hu(),fe.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function ah(){return We().memoizedState}function Qu(e,t,a,l){var i=jt();fe.flags|=e,i.memoizedState=li(1|t,{destroy:void 0},a,l===void 0?null:l)}function Gu(e,t,a,l){var i=We();l=l===void 0?null:l;var u=i.memoizedState.inst;Ae!==null&&l!==null&&Yr(l,Ae.memoizedState.deps)?i.memoizedState=li(t,u,a,l):(fe.flags|=e,i.memoizedState=li(1|t,u,a,l))}function lh(e,t){Qu(8390656,8,e,t)}function Pr(e,t){Gu(2048,8,e,t)}function qy(e){fe.flags|=4;var t=fe.updateQueue;if(t===null)t=Hu(),fe.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function nh(e){var t=We().memoizedState;return qy({ref:t,nextImpl:e}),function(){if((je&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function ih(e,t){return Gu(4,2,e,t)}function sh(e,t){return Gu(4,4,e,t)}function uh(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ch(e,t,a){a=a!=null?a.concat([e]):null,Gu(4,4,uh.bind(null,t,e),a)}function eo(){}function rh(e,t){var a=We();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&Yr(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function oh(e,t){var a=We();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&Yr(t,l[1]))return l[0];if(l=e(),fn){rl(!0);try{e()}finally{rl(!1)}}return a.memoizedState=[l,t],l}function to(e,t,a){return a===void 0||(Ya&1073741824)!==0&&(ve&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=f2(),fe.lanes|=e,jl|=e,a)}function fh(e,t,a,l){return Gt(a,t)?a:ei.current!==null?(e=to(e,a,l),Gt(e,t)||(at=!0),e):(Ya&42)===0||(Ya&1073741824)!==0&&(ve&261930)===0?(at=!0,e.memoizedState=a):(e=f2(),fe.lanes|=e,jl|=e,t)}function dh(e,t,a,l,i){var u=V.p;V.p=u!==0&&8>u?u:8;var f=B.T,m={};B.T=m,no(e,!1,t,a);try{var x=i(),O=B.S;if(O!==null&&O(m,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var L=Dy(x,l);os(e,t,L,Kt(e))}else os(e,t,l,Kt(e))}catch(k){os(e,t,{then:function(){},status:"rejected",reason:k},Kt())}finally{V.p=u,f!==null&&m.types!==null&&(f.types=m.types),B.T=f}}function ky(){}function ao(e,t,a,l){if(e.tag!==5)throw Error(r(476));var i=hh(e).queue;dh(e,i,t,ue,a===null?ky:function(){return mh(e),a(l)})}function hh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ue,baseState:ue,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$a,lastRenderedState:ue},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$a,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function mh(e){var t=hh(e);t.next===null&&(t=e.alternate.memoizedState),os(e,t.next.queue,{},Kt())}function lo(){return dt(Cs)}function ph(){return We().memoizedState}function yh(){return We().memoizedState}function Qy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Kt();e=vl(a);var l=gl(t,e,a);l!==null&&(zt(l,t,a),is(l,t,a)),t={cache:Ar()},e.payload=t;return}t=t.return}}function Gy(e,t,a){var l=Kt();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Yu(e)?gh(t,a):(a=xr(e,t,a,l),a!==null&&(zt(a,e,l),_h(a,t,l)))}function vh(e,t,a){var l=Kt();os(e,t,a,l)}function os(e,t,a,l){var i={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Yu(e))gh(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,a);if(i.hasEagerState=!0,i.eagerState=m,Gt(m,f))return ju(e,t,i,0),Ue===null&&Su(),!1}catch{}finally{}if(a=xr(e,t,i,l),a!==null)return zt(a,e,l),_h(a,t,l),!0}return!1}function no(e,t,a,l){if(l={lane:2,revertLane:Bo(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Yu(e)){if(t)throw Error(r(479))}else t=xr(e,a,l,2),t!==null&&zt(t,e,2)}function Yu(e){var t=e.alternate;return e===fe||t!==null&&t===fe}function gh(e,t){ti=Uu=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function _h(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,E0(e,a)}}var fs={readContext:dt,use:qu,useCallback:Ve,useContext:Ve,useEffect:Ve,useImperativeHandle:Ve,useLayoutEffect:Ve,useInsertionEffect:Ve,useMemo:Ve,useReducer:Ve,useRef:Ve,useState:Ve,useDebugValue:Ve,useDeferredValue:Ve,useTransition:Ve,useSyncExternalStore:Ve,useId:Ve,useHostTransitionStatus:Ve,useFormState:Ve,useActionState:Ve,useOptimistic:Ve,useMemoCache:Ve,useCacheRefresh:Ve};fs.useEffectEvent=Ve;var bh={readContext:dt,use:qu,useCallback:function(e,t){return jt().memoizedState=[e,t===void 0?null:t],e},useContext:dt,useEffect:lh,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Qu(4194308,4,uh.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Qu(4194308,4,e,t)},useInsertionEffect:function(e,t){Qu(4,2,e,t)},useMemo:function(e,t){var a=jt();t=t===void 0?null:t;var l=e();if(fn){rl(!0);try{e()}finally{rl(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=jt();if(a!==void 0){var i=a(t);if(fn){rl(!0);try{a(t)}finally{rl(!1)}}}else i=t;return l.memoizedState=l.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},l.queue=e,e=e.dispatch=Gy.bind(null,fe,e),[l.memoizedState,e]},useRef:function(e){var t=jt();return e={current:e},t.memoizedState=e},useState:function(e){e=Wr(e);var t=e.queue,a=vh.bind(null,fe,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:eo,useDeferredValue:function(e,t){var a=jt();return to(a,e,t)},useTransition:function(){var e=Wr(!1);return e=dh.bind(null,fe,e.queue,!0,!1),jt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=fe,i=jt();if(_e){if(a===void 0)throw Error(r(407));a=a()}else{if(a=t(),Ue===null)throw Error(r(349));(ve&127)!==0||Qd(l,t,a)}i.memoizedState=a;var u={value:a,getSnapshot:t};return i.queue=u,lh(Yd.bind(null,l,u,e),[e]),l.flags|=2048,li(9,{destroy:void 0},Gd.bind(null,l,u,a,t),null),a},useId:function(){var e=jt(),t=Ue.identifierPrefix;if(_e){var a=Na,l=Ea;a=(l&~(1<<32-Qt(l)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Bu++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Ly++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:lo,useFormState:Id,useActionState:Id,useOptimistic:function(e){var t=jt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=no.bind(null,fe,!0,a),a.dispatch=t,[e,t]},useMemoCache:Kr,useCacheRefresh:function(){return jt().memoizedState=Qy.bind(null,fe)},useEffectEvent:function(e){var t=jt(),a={impl:e};return t.memoizedState=a,function(){if((je&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},io={readContext:dt,use:qu,useCallback:rh,useContext:dt,useEffect:Pr,useImperativeHandle:ch,useInsertionEffect:ih,useLayoutEffect:sh,useMemo:oh,useReducer:ku,useRef:ah,useState:function(){return ku($a)},useDebugValue:eo,useDeferredValue:function(e,t){var a=We();return fh(a,Ae.memoizedState,e,t)},useTransition:function(){var e=ku($a)[0],t=We().memoizedState;return[typeof e=="boolean"?e:rs(e),t]},useSyncExternalStore:kd,useId:ph,useHostTransitionStatus:lo,useFormState:Pd,useActionState:Pd,useOptimistic:function(e,t){var a=We();return Xd(a,Ae,e,t)},useMemoCache:Kr,useCacheRefresh:yh};io.useEffectEvent=nh;var xh={readContext:dt,use:qu,useCallback:rh,useContext:dt,useEffect:Pr,useImperativeHandle:ch,useInsertionEffect:ih,useLayoutEffect:sh,useMemo:oh,useReducer:Fr,useRef:ah,useState:function(){return Fr($a)},useDebugValue:eo,useDeferredValue:function(e,t){var a=We();return Ae===null?to(a,e,t):fh(a,Ae.memoizedState,e,t)},useTransition:function(){var e=Fr($a)[0],t=We().memoizedState;return[typeof e=="boolean"?e:rs(e),t]},useSyncExternalStore:kd,useId:ph,useHostTransitionStatus:lo,useFormState:th,useActionState:th,useOptimistic:function(e,t){var a=We();return Ae!==null?Xd(a,Ae,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Kr,useCacheRefresh:yh};xh.useEffectEvent=nh;function so(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:_({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var uo={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=Kt(),i=vl(l);i.payload=t,a!=null&&(i.callback=a),t=gl(e,i,l),t!==null&&(zt(t,e,l),is(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=Kt(),i=vl(l);i.tag=1,i.payload=t,a!=null&&(i.callback=a),t=gl(e,i,l),t!==null&&(zt(t,e,l),is(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Kt(),l=vl(a);l.tag=2,t!=null&&(l.callback=t),t=gl(e,l,a),t!==null&&(zt(t,e,a),is(t,e,a))}};function Sh(e,t,a,l,i,u,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,u,f):t.prototype&&t.prototype.isPureReactComponent?!Wi(a,l)||!Wi(i,u):!0}function jh(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&&uo.enqueueReplaceState(t,t.state,null)}function dn(e,t){var a=t;if("ref"in t){a={};for(var l in t)l!=="ref"&&(a[l]=t[l])}if(e=e.defaultProps){a===t&&(a=_({},a));for(var i in e)a[i]===void 0&&(a[i]=e[i])}return a}function Eh(e){xu(e)}function Nh(e){console.error(e)}function Th(e){xu(e)}function $u(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function Ch(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function co(e,t,a){return a=vl(a),a.tag=3,a.payload={element:null},a.callback=function(){$u(e,t)},a}function Rh(e){return e=vl(e),e.tag=3,e}function wh(e,t,a,l){var i=a.type.getDerivedStateFromError;if(typeof i=="function"){var u=l.value;e.payload=function(){return i(u)},e.callback=function(){Ch(t,a,l)}}var f=a.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){Ch(t,a,l),typeof i!="function"&&(El===null?El=new Set([this]):El.add(this));var m=l.stack;this.componentDidCatch(l.value,{componentStack:m!==null?m:""})})}function Yy(e,t,a,l,i){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&Jn(t,a,i,!0),a=$t.current,a!==null){switch(a.tag){case 31:case 13:return oa===null?ac():a.alternate===null&&Xe===0&&(Xe=3),a.flags&=-257,a.flags|=65536,a.lanes=i,l===Mu?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),Do(e,l,i)),!1;case 22:return a.flags|=65536,l===Mu?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),Do(e,l,i)),!1}throw Error(r(435,a.tag))}return Do(e,l,i),ac(),!1}if(_e)return t=$t.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,l!==Cr&&(e=Error(r(422),{cause:l}),es(sa(e,a)))):(l!==Cr&&(t=Error(r(423),{cause:l}),es(sa(t,a))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,l=sa(l,a),i=co(e.stateNode,l,i),Hr(e,i),Xe!==4&&(Xe=2)),!1;var u=Error(r(520),{cause:l});if(u=sa(u,a),_s===null?_s=[u]:_s.push(u),Xe!==4&&(Xe=2),t===null)return!0;l=sa(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=i&-i,a.lanes|=e,e=co(a.stateNode,l,e),Hr(a,e),!1;case 1:if(t=a.type,u=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(El===null||!El.has(u))))return a.flags|=65536,i&=-i,a.lanes|=i,i=Rh(i),wh(i,e,a,l),Hr(a,i),!1}a=a.return}while(a!==null);return!1}var ro=Error(r(461)),at=!1;function ht(e,t,a,l){t.child=e===null?zd(t,null,a,l):on(t,e.child,a,l)}function Oh(e,t,a,l,i){a=a.render;var u=t.ref;if("ref"in l){var f={};for(var m in l)m!=="ref"&&(f[m]=l[m])}else f=l;return sn(t),l=$r(e,t,a,f,u,i),m=Vr(),e!==null&&!at?(Xr(e,t,i),Va(e,t,i)):(_e&&m&&Nr(t),t.flags|=1,ht(e,t,l,i),t.child)}function Mh(e,t,a,l,i){if(e===null){var u=a.type;return typeof u=="function"&&!Sr(u)&&u.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=u,Ah(e,t,u,l,i)):(e=Nu(a.type,null,l,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!go(e,i)){var f=u.memoizedProps;if(a=a.compare,a=a!==null?a:Wi,a(f,l)&&e.ref===t.ref)return Va(e,t,i)}return t.flags|=1,e=qa(u,l),e.ref=t.ref,e.return=t,t.child=e}function Ah(e,t,a,l,i){if(e!==null){var u=e.memoizedProps;if(Wi(u,l)&&e.ref===t.ref)if(at=!1,t.pendingProps=l=u,go(e,i))(e.flags&131072)!==0&&(at=!0);else return t.lanes=e.lanes,Va(e,t,i)}return oo(e,t,a,l,i)}function zh(e,t,a,l){var i=l.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|a:a,e!==null){for(l=t.child=e.child,i=0;l!==null;)i=i|l.lanes|l.childLanes,l=l.sibling;l=i&~u}else l=0,t.child=null;return Dh(e,t,u,a,l)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&wu(t,u!==null?u.cachePool:null),u!==null?Ud(t,u):kr(),Bd(t);else return l=t.lanes=536870912,Dh(e,t,u!==null?u.baseLanes|a:a,a,l)}else u!==null?(wu(t,u.cachePool),Ud(t,u),bl(),t.memoizedState=null):(e!==null&&wu(t,null),kr(),bl());return ht(e,t,i,a),t.child}function ds(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Dh(e,t,a,l,i){var u=Dr();return u=u===null?null:{parent:et._currentValue,pool:u},t.memoizedState={baseLanes:a,cachePool:u},e!==null&&wu(t,null),kr(),Bd(t),e!==null&&Jn(e,t,l,!0),t.childLanes=i,null}function Vu(e,t){return t=Zu({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Lh(e,t,a){return on(t,e.child,null,a),e=Vu(t,t.pendingProps),e.flags|=2,Vt(t),t.memoizedState=null,e}function $y(e,t,a){var l=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(_e){if(l.mode==="hidden")return e=Vu(t,l),t.lanes=536870912,ds(null,e);if(Gr(t),(e=qe)?(e=Z2(e,ra),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:dl!==null?{id:Ea,overflow:Na}:null,retryLane:536870912,hydrationErrors:null},a=gd(e),a.return=t,t.child=a,ft=t,qe=null)):e=null,e===null)throw ml(t);return t.lanes=536870912,null}return Vu(t,l)}var u=e.memoizedState;if(u!==null){var f=u.dehydrated;if(Gr(t),i)if(t.flags&256)t.flags&=-257,t=Lh(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(at||Jn(e,t,a,!1),i=(a&e.childLanes)!==0,at||i){if(l=Ue,l!==null&&(f=N0(l,a),f!==0&&f!==u.retryLane))throw u.retryLane=f,tn(e,f),zt(l,e,f),ro;ac(),t=Lh(e,t,a)}else e=u.treeContext,qe=fa(f.nextSibling),ft=t,_e=!0,hl=null,ra=!1,e!==null&&xd(t,e),t=Vu(t,l),t.flags|=4096;return t}return e=qa(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Xu(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function oo(e,t,a,l,i){return sn(t),a=$r(e,t,a,l,void 0,i),l=Vr(),e!==null&&!at?(Xr(e,t,i),Va(e,t,i)):(_e&&l&&Nr(t),t.flags|=1,ht(e,t,a,i),t.child)}function Uh(e,t,a,l,i,u){return sn(t),t.updateQueue=null,a=qd(t,l,a,i),Hd(e),l=Vr(),e!==null&&!at?(Xr(e,t,u),Va(e,t,u)):(_e&&l&&Nr(t),t.flags|=1,ht(e,t,a,u),t.child)}function Bh(e,t,a,l,i){if(sn(t),t.stateNode===null){var u=Vn,f=a.contextType;typeof f=="object"&&f!==null&&(u=dt(f)),u=new a(l,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=uo,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=l,u.state=t.memoizedState,u.refs={},Ur(t),f=a.contextType,u.context=typeof f=="object"&&f!==null?dt(f):Vn,u.state=t.memoizedState,f=a.getDerivedStateFromProps,typeof f=="function"&&(so(t,a,f,l),u.state=t.memoizedState),typeof a.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&&uo.enqueueReplaceState(u,u.state,null),us(t,l,u,i),ss(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){u=t.stateNode;var m=t.memoizedProps,x=dn(a,m);u.props=x;var O=u.context,L=a.contextType;f=Vn,typeof L=="object"&&L!==null&&(f=dt(L));var k=a.getDerivedStateFromProps;L=typeof k=="function"||typeof u.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,L||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(m||O!==f)&&jh(t,u,l,f),yl=!1;var M=t.memoizedState;u.state=M,us(t,l,u,i),ss(),O=t.memoizedState,m||M!==O||yl?(typeof k=="function"&&(so(t,a,k,l),O=t.memoizedState),(x=yl||Sh(t,a,x,l,M,O,f))?(L||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=l,t.memoizedState=O),u.props=l,u.state=O,u.context=f,l=x):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{u=t.stateNode,Br(e,t),f=t.memoizedProps,L=dn(a,f),u.props=L,k=t.pendingProps,M=u.context,O=a.contextType,x=Vn,typeof O=="object"&&O!==null&&(x=dt(O)),m=a.getDerivedStateFromProps,(O=typeof m=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==k||M!==x)&&jh(t,u,l,x),yl=!1,M=t.memoizedState,u.state=M,us(t,l,u,i),ss();var A=t.memoizedState;f!==k||M!==A||yl||e!==null&&e.dependencies!==null&&Cu(e.dependencies)?(typeof m=="function"&&(so(t,a,m,l),A=t.memoizedState),(L=yl||Sh(t,a,L,l,M,A,x)||e!==null&&e.dependencies!==null&&Cu(e.dependencies))?(O||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(l,A,x),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(l,A,x)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=A),u.props=l,u.state=A,u.context=x,l=L):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&M===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&M===e.memoizedState||(t.flags|=1024),l=!1)}return u=l,Xu(e,t),l=(t.flags&128)!==0,u||l?(u=t.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&l?(t.child=on(t,e.child,null,i),t.child=on(t,null,a,i)):ht(e,t,a,i),t.memoizedState=u.state,e=t.child):e=Va(e,t,i),e}function Hh(e,t,a,l){return ln(),t.flags|=256,ht(e,t,a,l),t.child}var fo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ho(e){return{baseLanes:e,cachePool:Cd()}}function mo(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Zt),e}function qh(e,t,a){var l=t.pendingProps,i=!1,u=(t.flags&128)!==0,f;if((f=u)||(f=e!==null&&e.memoizedState===null?!1:(Fe.current&2)!==0),f&&(i=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(_e){if(i?_l(t):bl(),(e=qe)?(e=Z2(e,ra),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:dl!==null?{id:Ea,overflow:Na}:null,retryLane:536870912,hydrationErrors:null},a=gd(e),a.return=t,t.child=a,ft=t,qe=null)):e=null,e===null)throw ml(t);return Fo(e)?t.lanes=32:t.lanes=536870912,null}var m=l.children;return l=l.fallback,i?(bl(),i=t.mode,m=Zu({mode:"hidden",children:m},i),l=an(l,i,a,null),m.return=t,l.return=t,m.sibling=l,t.child=m,l=t.child,l.memoizedState=ho(a),l.childLanes=mo(e,f,a),t.memoizedState=fo,ds(null,l)):(_l(t),po(t,m))}var x=e.memoizedState;if(x!==null&&(m=x.dehydrated,m!==null)){if(u)t.flags&256?(_l(t),t.flags&=-257,t=yo(e,t,a)):t.memoizedState!==null?(bl(),t.child=e.child,t.flags|=128,t=null):(bl(),m=l.fallback,i=t.mode,l=Zu({mode:"visible",children:l.children},i),m=an(m,i,a,null),m.flags|=2,l.return=t,m.return=t,l.sibling=m,t.child=l,on(t,e.child,null,a),l=t.child,l.memoizedState=ho(a),l.childLanes=mo(e,f,a),t.memoizedState=fo,t=ds(null,l));else if(_l(t),Fo(m)){if(f=m.nextSibling&&m.nextSibling.dataset,f)var O=f.dgst;f=O,l=Error(r(419)),l.stack="",l.digest=f,es({value:l,source:null,stack:null}),t=yo(e,t,a)}else if(at||Jn(e,t,a,!1),f=(a&e.childLanes)!==0,at||f){if(f=Ue,f!==null&&(l=N0(f,a),l!==0&&l!==x.retryLane))throw x.retryLane=l,tn(e,l),zt(f,e,l),ro;Jo(m)||ac(),t=yo(e,t,a)}else Jo(m)?(t.flags|=192,t.child=e.child,t=null):(e=x.treeContext,qe=fa(m.nextSibling),ft=t,_e=!0,hl=null,ra=!1,e!==null&&xd(t,e),t=po(t,l.children),t.flags|=4096);return t}return i?(bl(),m=l.fallback,i=t.mode,x=e.child,O=x.sibling,l=qa(x,{mode:"hidden",children:l.children}),l.subtreeFlags=x.subtreeFlags&65011712,O!==null?m=qa(O,m):(m=an(m,i,a,null),m.flags|=2),m.return=t,l.return=t,l.sibling=m,t.child=l,ds(null,l),l=t.child,m=e.child.memoizedState,m===null?m=ho(a):(i=m.cachePool,i!==null?(x=et._currentValue,i=i.parent!==x?{parent:x,pool:x}:i):i=Cd(),m={baseLanes:m.baseLanes|a,cachePool:i}),l.memoizedState=m,l.childLanes=mo(e,f,a),t.memoizedState=fo,ds(e.child,l)):(_l(t),a=e.child,e=a.sibling,a=qa(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=a,t.memoizedState=null,a)}function po(e,t){return t=Zu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Zu(e,t){return e=Yt(22,e,null,t),e.lanes=0,e}function yo(e,t,a){return on(t,e.child,null,a),e=po(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function kh(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Or(e.return,t,a)}function vo(e,t,a,l,i,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:i,treeForkCount:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=l,f.tail=a,f.tailMode=i,f.treeForkCount=u)}function Qh(e,t,a){var l=t.pendingProps,i=l.revealOrder,u=l.tail;l=l.children;var f=Fe.current,m=(f&2)!==0;if(m?(f=f&1|2,t.flags|=128):f&=1,X(Fe,f),ht(e,t,l,a),l=_e?Pi:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kh(e,a,t);else if(e.tag===19)kh(e,a,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(a=t.child,i=null;a!==null;)e=a.alternate,e!==null&&Lu(e)===null&&(i=a),a=a.sibling;a=i,a===null?(i=t.child,t.child=null):(i=a.sibling,a.sibling=null),vo(t,!1,i,a,u,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Lu(e)===null){t.child=i;break}e=i.sibling,i.sibling=a,a=i,i=e}vo(t,!0,a,null,u,l);break;case"together":vo(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function Va(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),jl|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Jn(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,a=qa(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=qa(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function go(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Cu(e)))}function Vy(e,t,a){switch(t.tag){case 3:St(t,t.stateNode.containerInfo),pl(t,et,e.memoizedState.cache),ln();break;case 27:case 5:Hi(t);break;case 4:St(t,t.stateNode.containerInfo);break;case 10:pl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Gr(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(_l(t),t.flags|=128,null):(a&t.child.childLanes)!==0?qh(e,t,a):(_l(t),e=Va(e,t,a),e!==null?e.sibling:null);_l(t);break;case 19:var i=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(Jn(e,t,a,!1),l=(a&t.childLanes)!==0),i){if(l)return Qh(e,t,a);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),X(Fe,Fe.current),l)break;return null;case 22:return t.lanes=0,zh(e,t,a,t.pendingProps);case 24:pl(t,et,e.memoizedState.cache)}return Va(e,t,a)}function Gh(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)at=!0;else{if(!go(e,a)&&(t.flags&128)===0)return at=!1,Vy(e,t,a);at=(e.flags&131072)!==0}else at=!1,_e&&(t.flags&1048576)!==0&&bd(t,Pi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=cn(t.elementType),t.type=e,typeof e=="function")Sr(e)?(l=dn(e,l),t.tag=1,t=Bh(null,t,e,l,a)):(t.tag=0,t=oo(null,t,e,l,a));else{if(e!=null){var i=e.$$typeof;if(i===$){t.tag=11,t=Oh(null,t,e,l,a);break e}else if(i===I){t.tag=14,t=Mh(null,t,e,l,a);break e}}throw t=rt(e)||e,Error(r(306,t,""))}}return t;case 0:return oo(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,i=dn(l,t.pendingProps),Bh(e,t,l,i,a);case 3:e:{if(St(t,t.stateNode.containerInfo),e===null)throw Error(r(387));l=t.pendingProps;var u=t.memoizedState;i=u.element,Br(e,t),us(t,l,null,a);var f=t.memoizedState;if(l=f.cache,pl(t,et,l),l!==u.cache&&Mr(t,[et],a,!0),ss(),l=f.element,u.isDehydrated)if(u={element:l,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Hh(e,t,l,a);break e}else if(l!==i){i=sa(Error(r(424)),t),es(i),t=Hh(e,t,l,a);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(qe=fa(e.firstChild),ft=t,_e=!0,hl=null,ra=!0,a=zd(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(ln(),l===i){t=Va(e,t,a);break e}ht(e,t,l,a)}t=t.child}return t;case 26:return Xu(e,t),e===null?(a=P2(t.type,null,t.pendingProps,null))?t.memoizedState=a:_e||(a=t.type,e=t.pendingProps,l=rc(me.current).createElement(a),l[ot]=t,l[Ct]=e,mt(l,a,e),st(l),t.stateNode=l):t.memoizedState=P2(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Hi(t),e===null&&_e&&(l=t.stateNode=F2(t.type,t.pendingProps,me.current),ft=t,ra=!0,i=qe,Rl(t.type)?(Wo=i,qe=fa(l.firstChild)):qe=i),ht(e,t,t.pendingProps.children,a),Xu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&_e&&((i=l=qe)&&(l=xv(l,t.type,t.pendingProps,ra),l!==null?(t.stateNode=l,ft=t,qe=fa(l.firstChild),ra=!1,i=!0):i=!1),i||ml(t)),Hi(t),i=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,l=u.children,Xo(i,u)?l=null:f!==null&&Xo(i,f)&&(t.flags|=32),t.memoizedState!==null&&(i=$r(e,t,Uy,null,null,a),Cs._currentValue=i),Xu(e,t),ht(e,t,l,a),t.child;case 6:return e===null&&_e&&((e=a=qe)&&(a=Sv(a,t.pendingProps,ra),a!==null?(t.stateNode=a,ft=t,qe=null,e=!0):e=!1),e||ml(t)),null;case 13:return qh(e,t,a);case 4:return St(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=on(t,null,l,a):ht(e,t,l,a),t.child;case 11:return Oh(e,t,t.type,t.pendingProps,a);case 7:return ht(e,t,t.pendingProps,a),t.child;case 8:return ht(e,t,t.pendingProps.children,a),t.child;case 12:return ht(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,pl(t,t.type,l.value),ht(e,t,l.children,a),t.child;case 9:return i=t.type._context,l=t.pendingProps.children,sn(t),i=dt(i),l=l(i),t.flags|=1,ht(e,t,l,a),t.child;case 14:return Mh(e,t,t.type,t.pendingProps,a);case 15:return Ah(e,t,t.type,t.pendingProps,a);case 19:return Qh(e,t,a);case 31:return $y(e,t,a);case 22:return zh(e,t,a,t.pendingProps);case 24:return sn(t),l=dt(et),e===null?(i=Dr(),i===null&&(i=Ue,u=Ar(),i.pooledCache=u,u.refCount++,u!==null&&(i.pooledCacheLanes|=a),i=u),t.memoizedState={parent:l,cache:i},Ur(t),pl(t,et,i)):((e.lanes&a)!==0&&(Br(e,t),us(t,null,null,a),ss()),i=e.memoizedState,u=t.memoizedState,i.parent!==l?(i={parent:l,cache:l},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),pl(t,et,l)):(l=u.cache,pl(t,et,l),l!==i.cache&&Mr(t,[et],a,!0))),ht(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function Xa(e){e.flags|=4}function _o(e,t,a,l,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(p2())e.flags|=8192;else throw rn=Mu,Lr}else e.flags&=-16777217}function Yh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!nm(t))if(p2())e.flags|=8192;else throw rn=Mu,Lr}function Ku(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?S0():536870912,e.lanes|=t,ui|=t)}function hs(e,t){if(!_e)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function ke(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(t)for(var i=e.child;i!==null;)a|=i.lanes|i.childLanes,l|=i.subtreeFlags&65011712,l|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)a|=i.lanes|i.childLanes,l|=i.subtreeFlags,l|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function Xy(e,t,a){var l=t.pendingProps;switch(Tr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ke(t),null;case 1:return ke(t),null;case 3:return a=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Ga(et),Je(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Kn(t)?Xa(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Rr())),ke(t),null;case 26:var i=t.type,u=t.memoizedState;return e===null?(Xa(t),u!==null?(ke(t),Yh(t,u)):(ke(t),_o(t,i,null,l,a))):u?u!==e.memoizedState?(Xa(t),ke(t),Yh(t,u)):(ke(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&Xa(t),ke(t),_o(t,i,e,l,a)),null;case 27:if(iu(t),a=me.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Xa(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return ke(t),null}e=F.current,Kn(t)?Sd(t):(e=F2(i,l,a),t.stateNode=e,Xa(t))}return ke(t),null;case 5:if(iu(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Xa(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return ke(t),null}if(u=F.current,Kn(t))Sd(t);else{var f=rc(me.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 l.is=="string"?f.createElement("select",{is:l.is}):f.createElement("select"),l.multiple?u.multiple=!0:l.size&&(u.size=l.size);break;default:u=typeof l.is=="string"?f.createElement(i,{is:l.is}):f.createElement(i)}}u[ot]=t,u[Ct]=l;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(mt(u,i,l),i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Xa(t)}}return ke(t),_o(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&Xa(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(r(166));if(e=me.current,Kn(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,i=ft,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}e[ot]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||q2(e.nodeValue,a)),e||ml(t,!0)}else e=rc(e).createTextNode(l),e[ot]=t,t.stateNode=e}return ke(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(l=Kn(t),a!==null){if(e===null){if(!l)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[ot]=t}else ln(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ke(t),e=!1}else a=Rr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Vt(t),t):(Vt(t),null);if((t.flags&128)!==0)throw Error(r(558))}return ke(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Kn(t),l!==null&&l.dehydrated!==null){if(e===null){if(!i)throw Error(r(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));i[ot]=t}else ln(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ke(t),i=!1}else i=Rr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Vt(t),t):(Vt(t),null)}return Vt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=l!==null,e=e!==null&&e.memoizedState!==null,a&&(l=t.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool),u=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),u!==i&&(l.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Ku(t,t.updateQueue),ke(t),null);case 4:return Je(),e===null&&Qo(t.stateNode.containerInfo),ke(t),null;case 10:return Ga(t.type),ke(t),null;case 19:if(Q(Fe),l=t.memoizedState,l===null)return ke(t),null;if(i=(t.flags&128)!==0,u=l.rendering,u===null)if(i)hs(l,!1);else{if(Xe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=Lu(e),u!==null){for(t.flags|=128,hs(l,!1),e=u.updateQueue,t.updateQueue=e,Ku(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)vd(a,e),a=a.sibling;return X(Fe,Fe.current&1|2),_e&&ka(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&qt()>Pu&&(t.flags|=128,i=!0,hs(l,!1),t.lanes=4194304)}else{if(!i)if(e=Lu(u),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Ku(t,e),hs(l,!0),l.tail===null&&l.tailMode==="hidden"&&!u.alternate&&!_e)return ke(t),null}else 2*qt()-l.renderingStartTime>Pu&&a!==536870912&&(t.flags|=128,i=!0,hs(l,!1),t.lanes=4194304);l.isBackwards?(u.sibling=t.child,t.child=u):(e=l.last,e!==null?e.sibling=u:t.child=u,l.last=u)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=qt(),e.sibling=null,a=Fe.current,X(Fe,i?a&1|2:a&1),_e&&ka(t,l.treeForkCount),e):(ke(t),null);case 22:case 23:return Vt(t),Qr(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(ke(t),t.subtreeFlags&6&&(t.flags|=8192)):ke(t),a=t.updateQueue,a!==null&&Ku(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&Q(un),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ga(et),ke(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function Zy(e,t){switch(Tr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ga(et),Je(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return iu(t),null;case 31:if(t.memoizedState!==null){if(Vt(t),t.alternate===null)throw Error(r(340));ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Vt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Q(Fe),null;case 4:return Je(),null;case 10:return Ga(t.type),null;case 22:case 23:return Vt(t),Qr(),e!==null&&Q(un),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ga(et),null;case 25:return null;default:return null}}function $h(e,t){switch(Tr(t),t.tag){case 3:Ga(et),Je();break;case 26:case 27:case 5:iu(t);break;case 4:Je();break;case 31:t.memoizedState!==null&&Vt(t);break;case 13:Vt(t);break;case 19:Q(Fe);break;case 10:Ga(t.type);break;case 22:case 23:Vt(t),Qr(),e!==null&&Q(un);break;case 24:Ga(et)}}function ms(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var i=l.next;a=i;do{if((a.tag&e)===e){l=void 0;var u=a.create,f=a.inst;l=u(),f.destroy=l}a=a.next}while(a!==i)}}catch(m){Re(t,t.return,m)}}function xl(e,t,a){try{var l=t.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var u=i.next;l=u;do{if((l.tag&e)===e){var f=l.inst,m=f.destroy;if(m!==void 0){f.destroy=void 0,i=t;var x=a,O=m;try{O()}catch(L){Re(i,x,L)}}}l=l.next}while(l!==u)}}catch(L){Re(t,t.return,L)}}function Vh(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{Ld(t,a)}catch(l){Re(e,e.return,l)}}}function Xh(e,t,a){a.props=dn(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){Re(e,t,l)}}function ps(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(i){Re(e,t,i)}}function Ta(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(i){Re(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(i){Re(e,t,i)}else a.current=null}function Zh(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(i){Re(e,e.return,i)}}function bo(e,t,a){try{var l=e.stateNode;pv(l,e.type,a,t),l[Ct]=t}catch(i){Re(e,e.return,i)}}function Kh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Rl(e.type)||e.tag===4}function xo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Kh(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&&Rl(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 So(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Ba));else if(l!==4&&(l===27&&Rl(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(So(e,t,a),e=e.sibling;e!==null;)So(e,t,a),e=e.sibling}function Ju(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&Rl(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Ju(e,t,a),e=e.sibling;e!==null;)Ju(e,t,a),e=e.sibling}function Jh(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);mt(t,l,a),t[ot]=e,t[Ct]=a}catch(u){Re(e,e.return,u)}}var Za=!1,lt=!1,jo=!1,Fh=typeof WeakSet=="function"?WeakSet:Set,ut=null;function Ky(e,t){if(e=e.containerInfo,$o=yc,e=cd(e),pr(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var i=l.anchorOffset,u=l.focusNode;l=l.focusOffset;try{a.nodeType,u.nodeType}catch{a=null;break e}var f=0,m=-1,x=-1,O=0,L=0,k=e,M=null;t:for(;;){for(var A;k!==a||i!==0&&k.nodeType!==3||(m=f+i),k!==u||l!==0&&k.nodeType!==3||(x=f+l),k.nodeType===3&&(f+=k.nodeValue.length),(A=k.firstChild)!==null;)M=k,k=A;for(;;){if(k===e)break t;if(M===a&&++O===i&&(m=f),M===u&&++L===l&&(x=f),(A=k.nextSibling)!==null)break;k=M,M=k.parentNode}k=A}a=m===-1||x===-1?null:{start:m,end:x}}else a=null}a=a||{start:0,end:0}}else a=null;for(Vo={focusedElem:e,selectionRange:a},yc=!1,ut=t;ut!==null;)if(t=ut,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ut=e;else for(;ut!==null;){switch(t=ut,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(a=0;a<e.length;a++)i=e[a],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,a=t,i=u.memoizedProps,u=u.memoizedState,l=a.stateNode;try{var J=dn(a.type,i);e=l.getSnapshotBeforeUpdate(J,u),l.__reactInternalSnapshotBeforeUpdate=e}catch(le){Re(a,a.return,le)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Ko(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ko(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(r(163))}if(e=t.sibling,e!==null){e.return=t.return,ut=e;break}ut=t.return}}function Wh(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:Ja(e,a),l&4&&ms(5,a);break;case 1:if(Ja(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(f){Re(a,a.return,f)}else{var i=dn(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Re(a,a.return,f)}}l&64&&Vh(a),l&512&&ps(a,a.return);break;case 3:if(Ja(e,a),l&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{Ld(e,t)}catch(f){Re(a,a.return,f)}}break;case 27:t===null&&l&4&&Jh(a);case 26:case 5:Ja(e,a),t===null&&l&4&&Zh(a),l&512&&ps(a,a.return);break;case 12:Ja(e,a);break;case 31:Ja(e,a),l&4&&e2(e,a);break;case 13:Ja(e,a),l&4&&t2(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=lv.bind(null,a),jv(e,a))));break;case 22:if(l=a.memoizedState!==null||Za,!l){t=t!==null&&t.memoizedState!==null||lt,i=Za;var u=lt;Za=l,(lt=t)&&!u?Fa(e,a,(a.subtreeFlags&8772)!==0):Ja(e,a),Za=i,lt=u}break;case 30:break;default:Ja(e,a)}}function Ih(e){var t=e.alternate;t!==null&&(e.alternate=null,Ih(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ic(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 Ge=null,wt=!1;function Ka(e,t,a){for(a=a.child;a!==null;)Ph(e,t,a),a=a.sibling}function Ph(e,t,a){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(qi,a)}catch{}switch(a.tag){case 26:lt||Ta(a,t),Ka(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:lt||Ta(a,t);var l=Ge,i=wt;Rl(a.type)&&(Ge=a.stateNode,wt=!1),Ka(e,t,a),Es(a.stateNode),Ge=l,wt=i;break;case 5:lt||Ta(a,t);case 6:if(l=Ge,i=wt,Ge=null,Ka(e,t,a),Ge=l,wt=i,Ge!==null)if(wt)try{(Ge.nodeType===9?Ge.body:Ge.nodeName==="HTML"?Ge.ownerDocument.body:Ge).removeChild(a.stateNode)}catch(u){Re(a,t,u)}else try{Ge.removeChild(a.stateNode)}catch(u){Re(a,t,u)}break;case 18:Ge!==null&&(wt?(e=Ge,V2(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),pi(e)):V2(Ge,a.stateNode));break;case 4:l=Ge,i=wt,Ge=a.stateNode.containerInfo,wt=!0,Ka(e,t,a),Ge=l,wt=i;break;case 0:case 11:case 14:case 15:xl(2,a,t),lt||xl(4,a,t),Ka(e,t,a);break;case 1:lt||(Ta(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Xh(a,t,l)),Ka(e,t,a);break;case 21:Ka(e,t,a);break;case 22:lt=(l=lt)||a.memoizedState!==null,Ka(e,t,a),lt=l;break;default:Ka(e,t,a)}}function e2(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{pi(e)}catch(a){Re(t,t.return,a)}}}function t2(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{pi(e)}catch(a){Re(t,t.return,a)}}function Jy(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Fh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Fh),t;default:throw Error(r(435,e.tag))}}function Fu(e,t){var a=Jy(e);t.forEach(function(l){if(!a.has(l)){a.add(l);var i=nv.bind(null,e,l);l.then(i,i)}})}function Ot(e,t){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var i=a[l],u=e,f=t,m=f;e:for(;m!==null;){switch(m.tag){case 27:if(Rl(m.type)){Ge=m.stateNode,wt=!1;break e}break;case 5:Ge=m.stateNode,wt=!1;break e;case 3:case 4:Ge=m.stateNode.containerInfo,wt=!0;break e}m=m.return}if(Ge===null)throw Error(r(160));Ph(u,f,i),Ge=null,wt=!1,u=i.alternate,u!==null&&(u.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)a2(t,e),t=t.sibling}var va=null;function a2(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ot(t,e),Mt(e),l&4&&(xl(3,e,e.return),ms(3,e),xl(5,e,e.return));break;case 1:Ot(t,e),Mt(e),l&512&&(lt||a===null||Ta(a,a.return)),l&64&&Za&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var i=va;if(Ot(t,e),Mt(e),l&512&&(lt||a===null||Ta(a,a.return)),l&4){var u=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,i=i.ownerDocument||i;t:switch(l){case"title":u=i.getElementsByTagName("title")[0],(!u||u[Gi]||u[ot]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=i.createElement(l),i.head.insertBefore(u,i.querySelector("head > title"))),mt(u,l,a),u[ot]=e,st(u),l=u;break e;case"link":var f=am("link","href",i).get(l+(a.href||""));if(f){for(var m=0;m<f.length;m++)if(u=f[m],u.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&u.getAttribute("rel")===(a.rel==null?null:a.rel)&&u.getAttribute("title")===(a.title==null?null:a.title)&&u.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){f.splice(m,1);break t}}u=i.createElement(l),mt(u,l,a),i.head.appendChild(u);break;case"meta":if(f=am("meta","content",i).get(l+(a.content||""))){for(m=0;m<f.length;m++)if(u=f[m],u.getAttribute("content")===(a.content==null?null:""+a.content)&&u.getAttribute("name")===(a.name==null?null:a.name)&&u.getAttribute("property")===(a.property==null?null:a.property)&&u.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&u.getAttribute("charset")===(a.charSet==null?null:a.charSet)){f.splice(m,1);break t}}u=i.createElement(l),mt(u,l,a),i.head.appendChild(u);break;default:throw Error(r(468,l))}u[ot]=e,st(u),l=u}e.stateNode=l}else lm(i,e.type,e.stateNode);else e.stateNode=tm(i,l,e.memoizedProps);else u!==l?(u===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):u.count--,l===null?lm(i,e.type,e.stateNode):tm(i,l,e.memoizedProps)):l===null&&e.stateNode!==null&&bo(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ot(t,e),Mt(e),l&512&&(lt||a===null||Ta(a,a.return)),a!==null&&l&4&&bo(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ot(t,e),Mt(e),l&512&&(lt||a===null||Ta(a,a.return)),e.flags&32){i=e.stateNode;try{Hn(i,"")}catch(J){Re(e,e.return,J)}}l&4&&e.stateNode!=null&&(i=e.memoizedProps,bo(e,i,a!==null?a.memoizedProps:i)),l&1024&&(jo=!0);break;case 6:if(Ot(t,e),Mt(e),l&4){if(e.stateNode===null)throw Error(r(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(J){Re(e,e.return,J)}}break;case 3:if(dc=null,i=va,va=oc(t.containerInfo),Ot(t,e),va=i,Mt(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{pi(t.containerInfo)}catch(J){Re(e,e.return,J)}jo&&(jo=!1,l2(e));break;case 4:l=va,va=oc(e.stateNode.containerInfo),Ot(t,e),Mt(e),va=l;break;case 12:Ot(t,e),Mt(e);break;case 31:Ot(t,e),Mt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Fu(e,l)));break;case 13:Ot(t,e),Mt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Iu=qt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Fu(e,l)));break;case 22:i=e.memoizedState!==null;var x=a!==null&&a.memoizedState!==null,O=Za,L=lt;if(Za=O||i,lt=L||x,Ot(t,e),lt=L,Za=O,Mt(e),l&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(a===null||x||Za||lt||hn(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){x=a=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 k=x.memoizedProps.style,M=k!=null&&k.hasOwnProperty("display")?k.display:null;m.style.display=M==null||typeof M=="boolean"?"":(""+M).trim()}}catch(J){Re(x,x.return,J)}}}else if(t.tag===6){if(a===null){x=t;try{x.stateNode.nodeValue=i?"":x.memoizedProps}catch(J){Re(x,x.return,J)}}}else if(t.tag===18){if(a===null){x=t;try{var A=x.stateNode;i?X2(A,!0):X2(x.stateNode,!1)}catch(J){Re(x,x.return,J)}}}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;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,Fu(e,a))));break;case 19:Ot(t,e),Mt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Fu(e,l)));break;case 30:break;case 21:break;default:Ot(t,e),Mt(e)}}function Mt(e){var t=e.flags;if(t&2){try{for(var a,l=e.return;l!==null;){if(Kh(l)){a=l;break}l=l.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var i=a.stateNode,u=xo(e);Ju(e,u,i);break;case 5:var f=a.stateNode;a.flags&32&&(Hn(f,""),a.flags&=-33);var m=xo(e);Ju(e,m,f);break;case 3:case 4:var x=a.stateNode.containerInfo,O=xo(e);So(e,O,x);break;default:throw Error(r(161))}}catch(L){Re(e,e.return,L)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function l2(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;l2(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ja(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Wh(e,t.alternate,t),t=t.sibling}function hn(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:xl(4,t,t.return),hn(t);break;case 1:Ta(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Xh(t,t.return,a),hn(t);break;case 27:Es(t.stateNode);case 26:case 5:Ta(t,t.return),hn(t);break;case 22:t.memoizedState===null&&hn(t);break;case 30:hn(t);break;default:hn(t)}e=e.sibling}}function Fa(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,i=e,u=t,f=u.flags;switch(u.tag){case 0:case 11:case 15:Fa(i,u,a),ms(4,u);break;case 1:if(Fa(i,u,a),l=u,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(O){Re(l,l.return,O)}if(l=u,i=l.updateQueue,i!==null){var m=l.stateNode;try{var x=i.shared.hiddenCallbacks;if(x!==null)for(i.shared.hiddenCallbacks=null,i=0;i<x.length;i++)Dd(x[i],m)}catch(O){Re(l,l.return,O)}}a&&f&64&&Vh(u),ps(u,u.return);break;case 27:Jh(u);case 26:case 5:Fa(i,u,a),a&&l===null&&f&4&&Zh(u),ps(u,u.return);break;case 12:Fa(i,u,a);break;case 31:Fa(i,u,a),a&&f&4&&e2(i,u);break;case 13:Fa(i,u,a),a&&f&4&&t2(i,u);break;case 22:u.memoizedState===null&&Fa(i,u,a),ps(u,u.return);break;case 30:break;default:Fa(i,u,a)}t=t.sibling}}function Eo(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&ts(a))}function No(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ts(e))}function ga(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)n2(e,t,a,l),t=t.sibling}function n2(e,t,a,l){var i=t.flags;switch(t.tag){case 0:case 11:case 15:ga(e,t,a,l),i&2048&&ms(9,t);break;case 1:ga(e,t,a,l);break;case 3:ga(e,t,a,l),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ts(e)));break;case 12:if(i&2048){ga(e,t,a,l),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){Re(t,t.return,x)}}else ga(e,t,a,l);break;case 31:ga(e,t,a,l);break;case 13:ga(e,t,a,l);break;case 23:break;case 22:u=t.stateNode,f=t.alternate,t.memoizedState!==null?u._visibility&2?ga(e,t,a,l):ys(e,t):u._visibility&2?ga(e,t,a,l):(u._visibility|=2,ni(e,t,a,l,(t.subtreeFlags&10256)!==0||!1)),i&2048&&Eo(f,t);break;case 24:ga(e,t,a,l),i&2048&&No(t.alternate,t);break;default:ga(e,t,a,l)}}function ni(e,t,a,l,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,f=t,m=a,x=l,O=f.flags;switch(f.tag){case 0:case 11:case 15:ni(u,f,m,x,i),ms(8,f);break;case 23:break;case 22:var L=f.stateNode;f.memoizedState!==null?L._visibility&2?ni(u,f,m,x,i):ys(u,f):(L._visibility|=2,ni(u,f,m,x,i)),i&&O&2048&&Eo(f.alternate,f);break;case 24:ni(u,f,m,x,i),i&&O&2048&&No(f.alternate,f);break;default:ni(u,f,m,x,i)}t=t.sibling}}function ys(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,l=t,i=l.flags;switch(l.tag){case 22:ys(a,l),i&2048&&Eo(l.alternate,l);break;case 24:ys(a,l),i&2048&&No(l.alternate,l);break;default:ys(a,l)}t=t.sibling}}var vs=8192;function ii(e,t,a){if(e.subtreeFlags&vs)for(e=e.child;e!==null;)i2(e,t,a),e=e.sibling}function i2(e,t,a){switch(e.tag){case 26:ii(e,t,a),e.flags&vs&&e.memoizedState!==null&&Lv(a,va,e.memoizedState,e.memoizedProps);break;case 5:ii(e,t,a);break;case 3:case 4:var l=va;va=oc(e.stateNode.containerInfo),ii(e,t,a),va=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=vs,vs=16777216,ii(e,t,a),vs=l):ii(e,t,a));break;default:ii(e,t,a)}}function s2(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 gs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];ut=l,c2(l,e)}s2(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)u2(e),e=e.sibling}function u2(e){switch(e.tag){case 0:case 11:case 15:gs(e),e.flags&2048&&xl(9,e,e.return);break;case 3:gs(e);break;case 12:gs(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Wu(e)):gs(e);break;default:gs(e)}}function Wu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];ut=l,c2(l,e)}s2(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:xl(8,t,t.return),Wu(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Wu(t));break;default:Wu(t)}e=e.sibling}}function c2(e,t){for(;ut!==null;){var a=ut;switch(a.tag){case 0:case 11:case 15:xl(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:ts(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,ut=l;else e:for(a=e;ut!==null;){l=ut;var i=l.sibling,u=l.return;if(Ih(l),l===a){ut=null;break e}if(i!==null){i.return=u,ut=i;break e}ut=u}}}var Fy={getCacheForType:function(e){var t=dt(et),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return dt(et).controller.signal}},Wy=typeof WeakMap=="function"?WeakMap:Map,je=0,Ue=null,pe=null,ve=0,Ce=0,Xt=null,Sl=!1,si=!1,To=!1,Wa=0,Xe=0,jl=0,mn=0,Co=0,Zt=0,ui=0,_s=null,At=null,Ro=!1,Iu=0,r2=0,Pu=1/0,ec=null,El=null,nt=0,Nl=null,ci=null,Ia=0,wo=0,Oo=null,o2=null,bs=0,Mo=null;function Kt(){return(je&2)!==0&&ve!==0?ve&-ve:B.T!==null?Bo():T0()}function f2(){if(Zt===0)if((ve&536870912)===0||_e){var e=cu;cu<<=1,(cu&3932160)===0&&(cu=262144),Zt=e}else Zt=536870912;return e=$t.current,e!==null&&(e.flags|=32),Zt}function zt(e,t,a){(e===Ue&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)&&(ri(e,0),Tl(e,ve,Zt,!1)),Qi(e,a),((je&2)===0||e!==Ue)&&(e===Ue&&((je&2)===0&&(mn|=a),Xe===4&&Tl(e,ve,Zt,!1)),Ca(e))}function d2(e,t,a){if((je&6)!==0)throw Error(r(327));var l=!a&&(t&127)===0&&(t&e.expiredLanes)===0||ki(e,t),i=l?ev(e,t):zo(e,t,!0),u=l;do{if(i===0){si&&!l&&Tl(e,t,0,!1);break}else{if(a=e.current.alternate,u&&!Iy(a)){i=zo(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=_s;var x=m.current.memoizedState.isDehydrated;if(x&&(ri(m,f).flags|=256),f=zo(m,f,!1),f!==2){if(To&&!x){m.errorRecoveryDisabledLanes|=u,mn|=u,i=4;break e}u=At,At=i,u!==null&&(At===null?At=u:At.push.apply(At,u))}i=f}if(u=!1,i!==2)continue}}if(i===1){ri(e,0),Tl(e,t,0,!0);break}e:{switch(l=e,u=i,u){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:Tl(l,t,Zt,!Sl);break e;case 2:At=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(i=Iu+300-qt(),10<i)){if(Tl(l,t,Zt,!Sl),ou(l,0,!0)!==0)break e;Ia=t,l.timeoutHandle=Y2(h2.bind(null,l,a,At,ec,Ro,t,Zt,mn,ui,Sl,u,"Throttled",-0,0),i);break e}h2(l,a,At,ec,Ro,t,Zt,mn,ui,Sl,u,null,-0,0)}}break}while(!0);Ca(e)}function h2(e,t,a,l,i,u,f,m,x,O,L,k,M,A){if(e.timeoutHandle=-1,k=t.subtreeFlags,k&8192||(k&16785408)===16785408){k={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ba},i2(t,u,k);var J=(u&62914560)===u?Iu-qt():(u&4194048)===u?r2-qt():0;if(J=Uv(k,J),J!==null){Ia=u,e.cancelPendingCommit=J(x2.bind(null,e,t,u,a,l,i,f,m,x,L,k,null,M,A)),Tl(e,u,f,!O);return}}x2(e,t,u,a,l,i,f,m,x)}function Iy(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var i=a[l],u=i.getSnapshot;i=i.value;try{if(!Gt(u(),i))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;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 Tl(e,t,a,l){t&=~Co,t&=~mn,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var i=t;0<i;){var u=31-Qt(i),f=1<<u;l[u]=-1,i&=~f}a!==0&&j0(e,a,t)}function tc(){return(je&6)===0?(xs(0),!1):!0}function Ao(){if(pe!==null){if(Ce===0)var e=pe.return;else e=pe,Qa=nn=null,Zr(e),Pn=null,ls=0,e=pe;for(;e!==null;)$h(e.alternate,e),e=e.return;pe=null}}function ri(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,gv(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Ia=0,Ao(),Ue=e,pe=a=qa(e.current,null),ve=t,Ce=0,Xt=null,Sl=!1,si=ki(e,t),To=!1,ui=Zt=Co=mn=jl=Xe=0,At=_s=null,Ro=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var i=31-Qt(l),u=1<<i;t|=e[i],l&=~u}return Wa=t,Su(),a}function m2(e,t){fe=null,B.H=fs,t===In||t===Ou?(t=Od(),Ce=3):t===Lr?(t=Od(),Ce=4):Ce=t===ro?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Xt=t,pe===null&&(Xe=1,$u(e,sa(t,e.current)))}function p2(){var e=$t.current;return e===null?!0:(ve&4194048)===ve?oa===null:(ve&62914560)===ve||(ve&536870912)!==0?e===oa:!1}function y2(){var e=B.H;return B.H=fs,e===null?fs:e}function v2(){var e=B.A;return B.A=Fy,e}function ac(){Xe=4,Sl||(ve&4194048)!==ve&&$t.current!==null||(si=!0),(jl&134217727)===0&&(mn&134217727)===0||Ue===null||Tl(Ue,ve,Zt,!1)}function zo(e,t,a){var l=je;je|=2;var i=y2(),u=v2();(Ue!==e||ve!==t)&&(ec=null,ri(e,t)),t=!1;var f=Xe;e:do try{if(Ce!==0&&pe!==null){var m=pe,x=Xt;switch(Ce){case 8:Ao(),f=6;break e;case 3:case 2:case 9:case 6:$t.current===null&&(t=!0);var O=Ce;if(Ce=0,Xt=null,oi(e,m,x,O),a&&si){f=0;break e}break;default:O=Ce,Ce=0,Xt=null,oi(e,m,x,O)}}Py(),f=Xe;break}catch(L){m2(e,L)}while(!0);return t&&e.shellSuspendCounter++,Qa=nn=null,je=l,B.H=i,B.A=u,pe===null&&(Ue=null,ve=0,Su()),f}function Py(){for(;pe!==null;)g2(pe)}function ev(e,t){var a=je;je|=2;var l=y2(),i=v2();Ue!==e||ve!==t?(ec=null,Pu=qt()+500,ri(e,t)):si=ki(e,t);e:do try{if(Ce!==0&&pe!==null){t=pe;var u=Xt;t:switch(Ce){case 1:Ce=0,Xt=null,oi(e,t,u,1);break;case 2:case 9:if(Rd(u)){Ce=0,Xt=null,_2(t);break}t=function(){Ce!==2&&Ce!==9||Ue!==e||(Ce=7),Ca(e)},u.then(t,t);break e;case 3:Ce=7;break e;case 4:Ce=5;break e;case 7:Rd(u)?(Ce=0,Xt=null,_2(t)):(Ce=0,Xt=null,oi(e,t,u,7));break;case 5:var f=null;switch(pe.tag){case 26:f=pe.memoizedState;case 5:case 27:var m=pe;if(f?nm(f):m.stateNode.complete){Ce=0,Xt=null;var x=m.sibling;if(x!==null)pe=x;else{var O=m.return;O!==null?(pe=O,lc(O)):pe=null}break t}}Ce=0,Xt=null,oi(e,t,u,5);break;case 6:Ce=0,Xt=null,oi(e,t,u,6);break;case 8:Ao(),Xe=6;break e;default:throw Error(r(462))}}tv();break}catch(L){m2(e,L)}while(!0);return Qa=nn=null,B.H=l,B.A=i,je=a,pe!==null?0:(Ue=null,ve=0,Su(),Xe)}function tv(){for(;pe!==null&&!Ep();)g2(pe)}function g2(e){var t=Gh(e.alternate,e,Wa);e.memoizedProps=e.pendingProps,t===null?lc(e):pe=t}function _2(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Uh(a,t,t.pendingProps,t.type,void 0,ve);break;case 11:t=Uh(a,t,t.pendingProps,t.type.render,t.ref,ve);break;case 5:Zr(t);default:$h(a,t),t=pe=vd(t,Wa),t=Gh(a,t,Wa)}e.memoizedProps=e.pendingProps,t===null?lc(e):pe=t}function oi(e,t,a,l){Qa=nn=null,Zr(t),Pn=null,ls=0;var i=t.return;try{if(Yy(e,i,t,a,ve)){Xe=1,$u(e,sa(a,e.current)),pe=null;return}}catch(u){if(i!==null)throw pe=i,u;Xe=1,$u(e,sa(a,e.current)),pe=null;return}t.flags&32768?(_e||l===1?e=!0:si||(ve&536870912)!==0?e=!1:(Sl=e=!0,(l===2||l===9||l===3||l===6)&&(l=$t.current,l!==null&&l.tag===13&&(l.flags|=16384))),b2(t,e)):lc(t)}function lc(e){var t=e;do{if((t.flags&32768)!==0){b2(t,Sl);return}e=t.return;var a=Xy(t.alternate,t,Wa);if(a!==null){pe=a;return}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);Xe===0&&(Xe=5)}function b2(e,t){do{var a=Zy(e.alternate,e);if(a!==null){a.flags&=32767,pe=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){pe=e;return}pe=e=a}while(e!==null);Xe=6,pe=null}function x2(e,t,a,l,i,u,f,m,x){e.cancelPendingCommit=null;do nc();while(nt!==0);if((je&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(u=t.lanes|t.childLanes,u|=br,Dp(e,a,u,f,m,x),e===Ue&&(pe=Ue=null,ve=0),ci=t,Nl=e,Ia=a,wo=u,Oo=i,o2=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,iv(su,function(){return T2(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=B.T,B.T=null,i=V.p,V.p=2,f=je,je|=4;try{Ky(e,t,a)}finally{je=f,V.p=i,B.T=l}}nt=1,S2(),j2(),E2()}}function S2(){if(nt===1){nt=0;var e=Nl,t=ci,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null;var l=V.p;V.p=2;var i=je;je|=4;try{a2(t,e);var u=Vo,f=cd(e.containerInfo),m=u.focusedElem,x=u.selectionRange;if(f!==m&&m&&m.ownerDocument&&ud(m.ownerDocument.documentElement,m)){if(x!==null&&pr(m)){var O=x.start,L=x.end;if(L===void 0&&(L=O),"selectionStart"in m)m.selectionStart=O,m.selectionEnd=Math.min(L,m.value.length);else{var k=m.ownerDocument||document,M=k&&k.defaultView||window;if(M.getSelection){var A=M.getSelection(),J=m.textContent.length,le=Math.min(x.start,J),De=x.end===void 0?le:Math.min(x.end,J);!A.extend&&le>De&&(f=De,De=le,le=f);var C=sd(m,le),E=sd(m,De);if(C&&E&&(A.rangeCount!==1||A.anchorNode!==C.node||A.anchorOffset!==C.offset||A.focusNode!==E.node||A.focusOffset!==E.offset)){var w=k.createRange();w.setStart(C.node,C.offset),A.removeAllRanges(),le>De?(A.addRange(w),A.extend(E.node,E.offset)):(w.setEnd(E.node,E.offset),A.addRange(w))}}}}for(k=[],A=m;A=A.parentNode;)A.nodeType===1&&k.push({element:A,left:A.scrollLeft,top:A.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<k.length;m++){var q=k[m];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}yc=!!$o,Vo=$o=null}finally{je=i,V.p=l,B.T=a}}e.current=t,nt=2}}function j2(){if(nt===2){nt=0;var e=Nl,t=ci,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=B.T,B.T=null;var l=V.p;V.p=2;var i=je;je|=4;try{Wh(e,t.alternate,t)}finally{je=i,V.p=l,B.T=a}}nt=3}}function E2(){if(nt===4||nt===3){nt=0,Np();var e=Nl,t=ci,a=Ia,l=o2;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?nt=5:(nt=0,ci=Nl=null,N2(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(El=null),Fc(a),t=t.stateNode,kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot(qi,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=B.T,i=V.p,V.p=2,B.T=null;try{for(var u=e.onRecoverableError,f=0;f<l.length;f++){var m=l[f];u(m.value,{componentStack:m.stack})}}finally{B.T=t,V.p=i}}(Ia&3)!==0&&nc(),Ca(e),i=e.pendingLanes,(a&261930)!==0&&(i&42)!==0?e===Mo?bs++:(bs=0,Mo=e):bs=0,xs(0)}}function N2(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ts(t)))}function nc(){return S2(),j2(),E2(),T2()}function T2(){if(nt!==5)return!1;var e=Nl,t=wo;wo=0;var a=Fc(Ia),l=B.T,i=V.p;try{V.p=32>a?32:a,B.T=null,a=Oo,Oo=null;var u=Nl,f=Ia;if(nt=0,ci=Nl=null,Ia=0,(je&6)!==0)throw Error(r(331));var m=je;if(je|=4,u2(u.current),n2(u,u.current,f,a),je=m,xs(0,!1),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot(qi,u)}catch{}return!0}finally{V.p=i,B.T=l,N2(e,t)}}function C2(e,t,a){t=sa(a,t),t=co(e.stateNode,t,2),e=gl(e,t,2),e!==null&&(Qi(e,2),Ca(e))}function Re(e,t,a){if(e.tag===3)C2(e,e,a);else for(;t!==null;){if(t.tag===3){C2(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(El===null||!El.has(l))){e=sa(a,e),a=Rh(2),l=gl(t,a,2),l!==null&&(wh(a,l,t,e),Qi(l,2),Ca(l));break}}t=t.return}}function Do(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new Wy;var i=new Set;l.set(t,i)}else i=l.get(t),i===void 0&&(i=new Set,l.set(t,i));i.has(a)||(To=!0,i.add(a),e=av.bind(null,e,t,a),t.then(e,e))}function av(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ue===e&&(ve&a)===a&&(Xe===4||Xe===3&&(ve&62914560)===ve&&300>qt()-Iu?(je&2)===0&&ri(e,0):Co|=a,ui===ve&&(ui=0)),Ca(e)}function R2(e,t){t===0&&(t=S0()),e=tn(e,t),e!==null&&(Qi(e,t),Ca(e))}function lv(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),R2(e,a)}function nv(e,t){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,i=e.memoizedState;i!==null&&(a=i.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(t),R2(e,a)}function iv(e,t){return Xc(e,t)}var ic=null,fi=null,Lo=!1,sc=!1,Uo=!1,Cl=0;function Ca(e){e!==fi&&e.next===null&&(fi===null?ic=fi=e:fi=fi.next=e),sc=!0,Lo||(Lo=!0,uv())}function xs(e,t){if(!Uo&&sc){Uo=!0;do for(var a=!1,l=ic;l!==null;){if(e!==0){var i=l.pendingLanes;if(i===0)var u=0;else{var f=l.suspendedLanes,m=l.pingedLanes;u=(1<<31-Qt(42|e)+1)-1,u&=i&~(f&~m),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(a=!0,A2(l,u))}else u=ve,u=ou(l,l===Ue?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(u&3)===0||ki(l,u)||(a=!0,A2(l,u));l=l.next}while(a);Uo=!1}}function sv(){w2()}function w2(){sc=Lo=!1;var e=0;Cl!==0&&vv()&&(e=Cl);for(var t=qt(),a=null,l=ic;l!==null;){var i=l.next,u=O2(l,t);u===0?(l.next=null,a===null?ic=i:a.next=i,i===null&&(fi=a)):(a=l,(e!==0||(u&3)!==0)&&(sc=!0)),l=i}nt!==0&&nt!==5||xs(e),Cl!==0&&(Cl=0)}function O2(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,i=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var f=31-Qt(u),m=1<<f,x=i[f];x===-1?((m&a)===0||(m&l)!==0)&&(i[f]=zp(m,t)):x<=t&&(e.expiredLanes|=m),u&=~m}if(t=Ue,a=ve,a=ou(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Zc(l),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||ki(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&Zc(l),Fc(a)){case 2:case 8:a=b0;break;case 32:a=su;break;case 268435456:a=x0;break;default:a=su}return l=M2.bind(null,e),a=Xc(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&&l!==null&&Zc(l),e.callbackPriority=2,e.callbackNode=null,2}function M2(e,t){if(nt!==0&&nt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(nc()&&e.callbackNode!==a)return null;var l=ve;return l=ou(e,e===Ue?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(d2(e,l,t),O2(e,qt()),e.callbackNode!=null&&e.callbackNode===a?M2.bind(null,e):null)}function A2(e,t){if(nc())return null;d2(e,t,!0)}function uv(){_v(function(){(je&6)!==0?Xc(_0,sv):w2()})}function Bo(){if(Cl===0){var e=Fn;e===0&&(e=uu,uu<<=1,(uu&261888)===0&&(uu=256)),Cl=e}return Cl}function z2(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:mu(""+e)}function D2(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function cv(e,t,a,l,i){if(t==="submit"&&a&&a.stateNode===i){var u=z2((i[Ct]||null).action),f=l.submitter;f&&(t=(t=f[Ct]||null)?z2(t.formAction):f.getAttribute("formAction"),t!==null&&(u=t,f=null));var m=new gu("action","action",null,l,i);e.push({event:m,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Cl!==0){var x=f?D2(i,f):new FormData(i);ao(a,{pending:!0,data:x,method:i.method,action:u},null,x)}}else typeof u=="function"&&(m.preventDefault(),x=f?D2(i,f):new FormData(i),ao(a,{pending:!0,data:x,method:i.method,action:u},u,x))},currentTarget:i}]})}}for(var Ho=0;Ho<_r.length;Ho++){var qo=_r[Ho],rv=qo.toLowerCase(),ov=qo[0].toUpperCase()+qo.slice(1);ya(rv,"on"+ov)}ya(fd,"onAnimationEnd"),ya(dd,"onAnimationIteration"),ya(hd,"onAnimationStart"),ya("dblclick","onDoubleClick"),ya("focusin","onFocus"),ya("focusout","onBlur"),ya(Ty,"onTransitionRun"),ya(Cy,"onTransitionStart"),ya(Ry,"onTransitionCancel"),ya(md,"onTransitionEnd"),Un("onMouseEnter",["mouseout","mouseover"]),Un("onMouseLeave",["mouseout","mouseover"]),Un("onPointerEnter",["pointerout","pointerover"]),Un("onPointerLeave",["pointerout","pointerover"]),Wl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Wl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Wl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Wl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Wl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ss="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(" "),fv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ss));function L2(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],i=l.event;l=l.listeners;e:{var u=void 0;if(t)for(var f=l.length-1;0<=f;f--){var m=l[f],x=m.instance,O=m.currentTarget;if(m=m.listener,x!==u&&i.isPropagationStopped())break e;u=m,i.currentTarget=O;try{u(i)}catch(L){xu(L)}i.currentTarget=null,u=x}else for(f=0;f<l.length;f++){if(m=l[f],x=m.instance,O=m.currentTarget,m=m.listener,x!==u&&i.isPropagationStopped())break e;u=m,i.currentTarget=O;try{u(i)}catch(L){xu(L)}i.currentTarget=null,u=x}}}}function ye(e,t){var a=t[Wc];a===void 0&&(a=t[Wc]=new Set);var l=e+"__bubble";a.has(l)||(U2(t,e,2,!1),a.add(l))}function ko(e,t,a){var l=0;t&&(l|=4),U2(a,e,l,t)}var uc="_reactListening"+Math.random().toString(36).slice(2);function Qo(e){if(!e[uc]){e[uc]=!0,w0.forEach(function(a){a!=="selectionchange"&&(fv.has(a)||ko(a,!1,e),ko(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[uc]||(t[uc]=!0,ko("selectionchange",!1,t))}}function U2(e,t,a,l){switch(fm(t)){case 2:var i=qv;break;case 8:i=kv;break;default:i=af}a=i.bind(null,t,a,e),i=void 0,!sr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),l?i!==void 0?e.addEventListener(t,a,{capture:!0,passive:i}):e.addEventListener(t,a,!0):i!==void 0?e.addEventListener(t,a,{passive:i}):e.addEventListener(t,a,!1)}function Go(e,t,a,l,i){var u=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var f=l.tag;if(f===3||f===4){var m=l.stateNode.containerInfo;if(m===i)break;if(f===4)for(f=l.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=zn(m),f===null)return;if(x=f.tag,x===5||x===6||x===26||x===27){l=u=f;continue e}m=m.parentNode}}l=l.return}Q0(function(){var O=u,L=nr(a),k=[];e:{var M=pd.get(e);if(M!==void 0){var A=gu,J=e;switch(e){case"keypress":if(yu(a)===0)break e;case"keydown":case"keyup":A=ny;break;case"focusin":J="focus",A=or;break;case"focusout":J="blur",A=or;break;case"beforeblur":case"afterblur":A=or;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=$0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=Xp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=uy;break;case fd:case dd:case hd:A=Jp;break;case md:A=ry;break;case"scroll":case"scrollend":A=$p;break;case"wheel":A=fy;break;case"copy":case"cut":case"paste":A=Wp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=X0;break;case"toggle":case"beforetoggle":A=hy}var le=(t&4)!==0,De=!le&&(e==="scroll"||e==="scrollend"),C=le?M!==null?M+"Capture":null:M;le=[];for(var E=O,w;E!==null;){var q=E;if(w=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||w===null||C===null||(q=$i(E,C),q!=null&&le.push(js(E,q,w))),De)break;E=E.return}0<le.length&&(M=new A(M,J,null,a,L),k.push({event:M,listeners:le}))}}if((t&7)===0){e:{if(M=e==="mouseover"||e==="pointerover",A=e==="mouseout"||e==="pointerout",M&&a!==lr&&(J=a.relatedTarget||a.fromElement)&&(zn(J)||J[An]))break e;if((A||M)&&(M=L.window===L?L:(M=L.ownerDocument)?M.defaultView||M.parentWindow:window,A?(J=a.relatedTarget||a.toElement,A=O,J=J?zn(J):null,J!==null&&(De=h(J),le=J.tag,J!==De||le!==5&&le!==27&&le!==6)&&(J=null)):(A=null,J=O),A!==J)){if(le=$0,q="onMouseLeave",C="onMouseEnter",E="mouse",(e==="pointerout"||e==="pointerover")&&(le=X0,q="onPointerLeave",C="onPointerEnter",E="pointer"),De=A==null?M:Yi(A),w=J==null?M:Yi(J),M=new le(q,E+"leave",A,a,L),M.target=De,M.relatedTarget=w,q=null,zn(L)===O&&(le=new le(C,E+"enter",J,a,L),le.target=w,le.relatedTarget=De,q=le),De=q,A&&J)t:{for(le=dv,C=A,E=J,w=0,q=C;q;q=le(q))w++;q=0;for(var P=E;P;P=le(P))q++;for(;0<w-q;)C=le(C),w--;for(;0<q-w;)E=le(E),q--;for(;w--;){if(C===E||E!==null&&C===E.alternate){le=C;break t}C=le(C),E=le(E)}le=null}else le=null;A!==null&&B2(k,M,A,le,!1),J!==null&&De!==null&&B2(k,De,J,le,!0)}}e:{if(M=O?Yi(O):window,A=M.nodeName&&M.nodeName.toLowerCase(),A==="select"||A==="input"&&M.type==="file")var xe=ed;else if(I0(M))if(td)xe=jy;else{xe=xy;var W=by}else A=M.nodeName,!A||A.toLowerCase()!=="input"||M.type!=="checkbox"&&M.type!=="radio"?O&&ar(O.elementType)&&(xe=ed):xe=Sy;if(xe&&(xe=xe(e,O))){P0(k,xe,a,L);break e}W&&W(e,M,O),e==="focusout"&&O&&M.type==="number"&&O.memoizedProps.value!=null&&tr(M,"number",M.value)}switch(W=O?Yi(O):window,e){case"focusin":(I0(W)||W.contentEditable==="true")&&(Gn=W,yr=O,Ii=null);break;case"focusout":Ii=yr=Gn=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,rd(k,a,L);break;case"selectionchange":if(Ny)break;case"keydown":case"keyup":rd(k,a,L)}var de;if(dr)e:{switch(e){case"compositionstart":var ge="onCompositionStart";break e;case"compositionend":ge="onCompositionEnd";break e;case"compositionupdate":ge="onCompositionUpdate";break e}ge=void 0}else Qn?F0(e,a)&&(ge="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(ge="onCompositionStart");ge&&(Z0&&a.locale!=="ko"&&(Qn||ge!=="onCompositionStart"?ge==="onCompositionEnd"&&Qn&&(de=G0()):(fl=L,ur="value"in fl?fl.value:fl.textContent,Qn=!0)),W=cc(O,ge),0<W.length&&(ge=new V0(ge,e,null,a,L),k.push({event:ge,listeners:W}),de?ge.data=de:(de=W0(a),de!==null&&(ge.data=de)))),(de=py?yy(e,a):vy(e,a))&&(ge=cc(O,"onBeforeInput"),0<ge.length&&(W=new V0("onBeforeInput","beforeinput",null,a,L),k.push({event:W,listeners:ge}),W.data=de)),cv(k,e,O,a,L)}L2(k,t)})}function js(e,t,a){return{instance:e,listener:t,currentTarget:a}}function cc(e,t){for(var a=t+"Capture",l=[];e!==null;){var i=e,u=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||u===null||(i=$i(e,a),i!=null&&l.unshift(js(e,i,u)),i=$i(e,t),i!=null&&l.push(js(e,i,u))),e.tag===3)return l;e=e.return}return[]}function dv(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function B2(e,t,a,l,i){for(var u=t._reactName,f=[];a!==null&&a!==l;){var m=a,x=m.alternate,O=m.stateNode;if(m=m.tag,x!==null&&x===l)break;m!==5&&m!==26&&m!==27||O===null||(x=O,i?(O=$i(a,u),O!=null&&f.unshift(js(a,O,x))):i||(O=$i(a,u),O!=null&&f.push(js(a,O,x)))),a=a.return}f.length!==0&&e.push({event:t,listeners:f})}var hv=/\r\n?/g,mv=/\u0000|\uFFFD/g;function H2(e){return(typeof e=="string"?e:""+e).replace(hv,`
`).replace(mv,"")}function q2(e,t){return t=H2(t),H2(e)===t}function ze(e,t,a,l,i,u){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Hn(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Hn(e,""+l);break;case"className":du(e,"class",l);break;case"tabIndex":du(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":du(e,a,l);break;case"style":q0(e,l,u);break;case"data":if(t!=="object"){du(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=mu(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"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"&&(a==="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(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=mu(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=Ba);break;case"onScroll":l!=null&&ye("scroll",e);break;case"onScrollEnd":l!=null&&ye("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(a=l.__html,a!=null){if(i.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}a=mu(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""+l):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":ye("beforetoggle",e),ye("toggle",e),fu(e,"popover",l);break;case"xlinkActuate":Ua(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Ua(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Ua(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Ua(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Ua(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Ua(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Ua(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Ua(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Ua(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":fu(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Gp.get(a)||a,fu(e,a,l))}}function Yo(e,t,a,l,i,u){switch(a){case"style":q0(e,l,u);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(a=l.__html,a!=null){if(i.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"children":typeof l=="string"?Hn(e,l):(typeof l=="number"||typeof l=="bigint")&&Hn(e,""+l);break;case"onScroll":l!=null&&ye("scroll",e);break;case"onScrollEnd":l!=null&&ye("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Ba);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!O0.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(i=a.endsWith("Capture"),t=a.slice(2,i?a.length-7:void 0),u=e[Ct]||null,u=u!=null?u[a]:null,typeof u=="function"&&e.removeEventListener(t,u,i),typeof l=="function")){typeof u!="function"&&u!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,l,i);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):fu(e,a,l)}}}function mt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ye("error",e),ye("load",e);var l=!1,i=!1,u;for(u in a)if(a.hasOwnProperty(u)){var f=a[u];if(f!=null)switch(u){case"src":l=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ze(e,t,u,f,a,null)}}i&&ze(e,t,"srcSet",a.srcSet,a,null),l&&ze(e,t,"src",a.src,a,null);return;case"input":ye("invalid",e);var m=u=f=i=null,x=null,O=null;for(l in a)if(a.hasOwnProperty(l)){var L=a[l];if(L!=null)switch(l){case"name":i=L;break;case"type":f=L;break;case"checked":x=L;break;case"defaultChecked":O=L;break;case"value":u=L;break;case"defaultValue":m=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(137,t));break;default:ze(e,t,l,L,a,null)}}L0(e,u,m,x,O,f,i,!1);return;case"select":ye("invalid",e),l=f=u=null;for(i in a)if(a.hasOwnProperty(i)&&(m=a[i],m!=null))switch(i){case"value":u=m;break;case"defaultValue":f=m;break;case"multiple":l=m;default:ze(e,t,i,m,a,null)}t=u,a=f,e.multiple=!!l,t!=null?Bn(e,!!l,t,!1):a!=null&&Bn(e,!!l,a,!0);return;case"textarea":ye("invalid",e),u=i=l=null;for(f in a)if(a.hasOwnProperty(f)&&(m=a[f],m!=null))switch(f){case"value":l=m;break;case"defaultValue":i=m;break;case"children":u=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(r(91));break;default:ze(e,t,f,m,a,null)}B0(e,l,i,u);return;case"option":for(x in a)if(a.hasOwnProperty(x)&&(l=a[x],l!=null))switch(x){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:ze(e,t,x,l,a,null)}return;case"dialog":ye("beforetoggle",e),ye("toggle",e),ye("cancel",e),ye("close",e);break;case"iframe":case"object":ye("load",e);break;case"video":case"audio":for(l=0;l<Ss.length;l++)ye(Ss[l],e);break;case"image":ye("error",e),ye("load",e);break;case"details":ye("toggle",e);break;case"embed":case"source":case"link":ye("error",e),ye("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(O in a)if(a.hasOwnProperty(O)&&(l=a[O],l!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ze(e,t,O,l,a,null)}return;default:if(ar(t)){for(L in a)a.hasOwnProperty(L)&&(l=a[L],l!==void 0&&Yo(e,t,L,l,a,void 0));return}}for(m in a)a.hasOwnProperty(m)&&(l=a[m],l!=null&&ze(e,t,m,l,a,null))}function pv(e,t,a,l){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,O=null,L=null;for(A in a){var k=a[A];if(a.hasOwnProperty(A)&&k!=null)switch(A){case"checked":break;case"value":break;case"defaultValue":x=k;default:l.hasOwnProperty(A)||ze(e,t,A,null,l,k)}}for(var M in l){var A=l[M];if(k=a[M],l.hasOwnProperty(M)&&(A!=null||k!=null))switch(M){case"type":u=A;break;case"name":i=A;break;case"checked":O=A;break;case"defaultChecked":L=A;break;case"value":f=A;break;case"defaultValue":m=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(r(137,t));break;default:A!==k&&ze(e,t,M,A,l,k)}}er(e,f,m,x,O,L,u,i);return;case"select":A=f=m=M=null;for(u in a)if(x=a[u],a.hasOwnProperty(u)&&x!=null)switch(u){case"value":break;case"multiple":A=x;default:l.hasOwnProperty(u)||ze(e,t,u,null,l,x)}for(i in l)if(u=l[i],x=a[i],l.hasOwnProperty(i)&&(u!=null||x!=null))switch(i){case"value":M=u;break;case"defaultValue":m=u;break;case"multiple":f=u;default:u!==x&&ze(e,t,i,u,l,x)}t=m,a=f,l=A,M!=null?Bn(e,!!a,M,!1):!!l!=!!a&&(t!=null?Bn(e,!!a,t,!0):Bn(e,!!a,a?[]:"",!1));return;case"textarea":A=M=null;for(m in a)if(i=a[m],a.hasOwnProperty(m)&&i!=null&&!l.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:ze(e,t,m,null,l,i)}for(f in l)if(i=l[f],u=a[f],l.hasOwnProperty(f)&&(i!=null||u!=null))switch(f){case"value":M=i;break;case"defaultValue":A=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(r(91));break;default:i!==u&&ze(e,t,f,i,l,u)}U0(e,M,A);return;case"option":for(var J in a)if(M=a[J],a.hasOwnProperty(J)&&M!=null&&!l.hasOwnProperty(J))switch(J){case"selected":e.selected=!1;break;default:ze(e,t,J,null,l,M)}for(x in l)if(M=l[x],A=a[x],l.hasOwnProperty(x)&&M!==A&&(M!=null||A!=null))switch(x){case"selected":e.selected=M&&typeof M!="function"&&typeof M!="symbol";break;default:ze(e,t,x,M,l,A)}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 le in a)M=a[le],a.hasOwnProperty(le)&&M!=null&&!l.hasOwnProperty(le)&&ze(e,t,le,null,l,M);for(O in l)if(M=l[O],A=a[O],l.hasOwnProperty(O)&&M!==A&&(M!=null||A!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(r(137,t));break;default:ze(e,t,O,M,l,A)}return;default:if(ar(t)){for(var De in a)M=a[De],a.hasOwnProperty(De)&&M!==void 0&&!l.hasOwnProperty(De)&&Yo(e,t,De,void 0,l,M);for(L in l)M=l[L],A=a[L],!l.hasOwnProperty(L)||M===A||M===void 0&&A===void 0||Yo(e,t,L,M,l,A);return}}for(var C in a)M=a[C],a.hasOwnProperty(C)&&M!=null&&!l.hasOwnProperty(C)&&ze(e,t,C,null,l,M);for(k in l)M=l[k],A=a[k],!l.hasOwnProperty(k)||M===A||M==null&&A==null||ze(e,t,k,M,l,A)}function k2(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function yv(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var i=a[l],u=i.transferSize,f=i.initiatorType,m=i.duration;if(u&&m&&k2(f)){for(f=0,m=i.responseEnd,l+=1;l<a.length;l++){var x=a[l],O=x.startTime;if(O>m)break;var L=x.transferSize,k=x.initiatorType;L&&k2(k)&&(x=x.responseEnd,f+=L*(x<m?1:(m-O)/(x-O)))}if(--l,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 $o=null,Vo=null;function rc(e){return e.nodeType===9?e:e.ownerDocument}function Q2(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 G2(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 Xo(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 Zo=null;function vv(){var e=window.event;return e&&e.type==="popstate"?e===Zo?!1:(Zo=e,!0):(Zo=null,!1)}var Y2=typeof setTimeout=="function"?setTimeout:void 0,gv=typeof clearTimeout=="function"?clearTimeout:void 0,$2=typeof Promise=="function"?Promise:void 0,_v=typeof queueMicrotask=="function"?queueMicrotask:typeof $2<"u"?function(e){return $2.resolve(null).then(e).catch(bv)}:Y2;function bv(e){setTimeout(function(){throw e})}function Rl(e){return e==="head"}function V2(e,t){var a=t,l=0;do{var i=a.nextSibling;if(e.removeChild(a),i&&i.nodeType===8)if(a=i.data,a==="/$"||a==="/&"){if(l===0){e.removeChild(i),pi(t);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")Es(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Es(a);for(var u=a.firstChild;u;){var f=u.nextSibling,m=u.nodeName;u[Gi]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&u.rel.toLowerCase()==="stylesheet"||a.removeChild(u),u=f}}else a==="body"&&Es(e.ownerDocument.body);a=i}while(a);pi(t)}function X2(e,t){var a=e;e=0;do{var l=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=l}while(a)}function Ko(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Ko(a),Ic(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function xv(e,t,a,l){for(;e.nodeType===1;){var i=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Gi])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=fa(e.nextSibling),e===null)break}return null}function Sv(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=fa(e.nextSibling),e===null))return null;return e}function Z2(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=fa(e.nextSibling),e===null))return null;return e}function Jo(e){return e.data==="$?"||e.data==="$~"}function Fo(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function jv(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var l=function(){t(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function fa(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 Wo=null;function K2(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return fa(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function J2(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function F2(e,t,a){switch(t=rc(a),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Es(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ic(e)}var da=new Map,W2=new Set;function oc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Pa=V.d;V.d={f:Ev,r:Nv,D:Tv,C:Cv,L:Rv,m:wv,X:Mv,S:Ov,M:Av};function Ev(){var e=Pa.f(),t=tc();return e||t}function Nv(e){var t=Dn(e);t!==null&&t.tag===5&&t.type==="form"?mh(t):Pa.r(e)}var di=typeof document>"u"?null:document;function I2(e,t,a){var l=di;if(l&&typeof t=="string"&&t){var i=na(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof a=="string"&&(i+='[crossorigin="'+a+'"]'),W2.has(i)||(W2.add(i),e={rel:e,crossOrigin:a,href:t},l.querySelector(i)===null&&(t=l.createElement("link"),mt(t,"link",e),st(t),l.head.appendChild(t)))}}function Tv(e){Pa.D(e),I2("dns-prefetch",e,null)}function Cv(e,t){Pa.C(e,t),I2("preconnect",e,t)}function Rv(e,t,a){Pa.L(e,t,a);var l=di;if(l&&e&&t){var i='link[rel="preload"][as="'+na(t)+'"]';t==="image"&&a&&a.imageSrcSet?(i+='[imagesrcset="'+na(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(i+='[imagesizes="'+na(a.imageSizes)+'"]')):i+='[href="'+na(e)+'"]';var u=i;switch(t){case"style":u=hi(e);break;case"script":u=mi(e)}da.has(u)||(e=_({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),da.set(u,e),l.querySelector(i)!==null||t==="style"&&l.querySelector(Ns(u))||t==="script"&&l.querySelector(Ts(u))||(t=l.createElement("link"),mt(t,"link",e),st(t),l.head.appendChild(t)))}}function wv(e,t){Pa.m(e,t);var a=di;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+na(l)+'"][href="'+na(e)+'"]',u=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=mi(e)}if(!da.has(u)&&(e=_({rel:"modulepreload",href:e},t),da.set(u,e),a.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Ts(u)))return}l=a.createElement("link"),mt(l,"link",e),st(l),a.head.appendChild(l)}}}function Ov(e,t,a){Pa.S(e,t,a);var l=di;if(l&&e){var i=Ln(l).hoistableStyles,u=hi(e);t=t||"default";var f=i.get(u);if(!f){var m={loading:0,preload:null};if(f=l.querySelector(Ns(u)))m.loading=5;else{e=_({rel:"stylesheet",href:e,"data-precedence":t},a),(a=da.get(u))&&Io(e,a);var x=f=l.createElement("link");st(x),mt(x,"link",e),x._p=new Promise(function(O,L){x.onload=O,x.onerror=L}),x.addEventListener("load",function(){m.loading|=1}),x.addEventListener("error",function(){m.loading|=2}),m.loading|=4,fc(f,t,l)}f={type:"stylesheet",instance:f,count:1,state:m},i.set(u,f)}}}function Mv(e,t){Pa.X(e,t);var a=di;if(a&&e){var l=Ln(a).hoistableScripts,i=mi(e),u=l.get(i);u||(u=a.querySelector(Ts(i)),u||(e=_({src:e,async:!0},t),(t=da.get(i))&&Po(e,t),u=a.createElement("script"),st(u),mt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(i,u))}}function Av(e,t){Pa.M(e,t);var a=di;if(a&&e){var l=Ln(a).hoistableScripts,i=mi(e),u=l.get(i);u||(u=a.querySelector(Ts(i)),u||(e=_({src:e,async:!0,type:"module"},t),(t=da.get(i))&&Po(e,t),u=a.createElement("script"),st(u),mt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(i,u))}}function P2(e,t,a,l){var i=(i=me.current)?oc(i):null;if(!i)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=hi(a.href),a=Ln(i).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=hi(a.href);var u=Ln(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(Ns(e)))&&!u._p&&(f.instance=u,f.state.loading=5),da.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},da.set(e,a),u||zv(i,e,a,f.state))),t&&l===null)throw Error(r(528,""));return f}if(t&&l!==null)throw Error(r(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=mi(a),a=Ln(i).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function hi(e){return'href="'+na(e)+'"'}function Ns(e){return'link[rel="stylesheet"]['+e+"]"}function em(e){return _({},e,{"data-precedence":e.precedence,precedence:null})}function zv(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),mt(t,"link",a),st(t),e.head.appendChild(t))}function mi(e){return'[src="'+na(e)+'"]'}function Ts(e){return"script[async]"+e}function tm(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+na(a.href)+'"]');if(l)return t.instance=l,st(l),l;var i=_({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),st(l),mt(l,"style",i),fc(l,a.precedence,e),t.instance=l;case"stylesheet":i=hi(a.href);var u=e.querySelector(Ns(i));if(u)return t.state.loading|=4,t.instance=u,st(u),u;l=em(a),(i=da.get(i))&&Io(l,i),u=(e.ownerDocument||e).createElement("link"),st(u);var f=u;return f._p=new Promise(function(m,x){f.onload=m,f.onerror=x}),mt(u,"link",l),t.state.loading|=4,fc(u,a.precedence,e),t.instance=u;case"script":return u=mi(a.src),(i=e.querySelector(Ts(u)))?(t.instance=i,st(i),i):(l=a,(i=da.get(u))&&(l=_({},a),Po(l,i)),e=e.ownerDocument||e,i=e.createElement("script"),st(i),mt(i,"link",l),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,fc(l,a.precedence,e));return t.instance}function fc(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,u=i,f=0;f<l.length;f++){var m=l[f];if(m.dataset.precedence===t)u=m;else if(u!==i)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Io(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Po(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var dc=null;function am(e,t,a){if(dc===null){var l=new Map,i=dc=new Map;i.set(a,l)}else i=dc,l=i.get(a),l||(l=new Map,i.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),i=0;i<a.length;i++){var u=a[i];if(!(u[Gi]||u[ot]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var f=u.getAttribute(t)||"";f=e+f;var m=l.get(f);m?m.push(u):l.set(f,[u])}}return l}function lm(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Dv(e,t,a){if(a===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 nm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Lv(e,t,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var i=hi(l.href),u=t.querySelector(Ns(i));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=hc.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=u,st(u);return}u=t.ownerDocument||t,l=em(l),(i=da.get(i))&&Io(l,i),u=u.createElement("link"),st(u);var f=u;f._p=new Promise(function(m,x){f.onload=m,f.onerror=x}),mt(u,"link",l),a.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=hc.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var ef=0;function Uv(e,t){return e.stylesheets&&e.count===0&&pc(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var l=setTimeout(function(){if(e.stylesheets&&pc(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&ef===0&&(ef=62500*yv());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&pc(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>ef?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function hc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)pc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var mc=null;function pc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,mc=new Map,t.forEach(Bv,e),mc=null,hc.call(e))}function Bv(e,t){if(!(t.state.loading&4)){var a=mc.get(e);if(a)var l=a.get(null);else{a=new Map,mc.set(e,a);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")&&(a.set(f.dataset.precedence,f),l=f)}l&&a.set(null,l)}i=t.instance,f=i.getAttribute("data-precedence"),u=a.get(f)||l,u===l&&a.set(null,i),a.set(f,i),this.count++,l=hc.bind(this),i.addEventListener("load",l),i.addEventListener("error",l),u?u.parentNode.insertBefore(i,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var Cs={$$typeof:Y,Provider:null,Consumer:null,_currentValue:ue,_currentValue2:ue,_threadCount:0};function Hv(e,t,a,l,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=Kc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kc(0),this.hiddenUpdates=Kc(null),this.identifierPrefix=l,this.onUncaughtError=i,this.onCaughtError=u,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function im(e,t,a,l,i,u,f,m,x,O,L,k){return e=new Hv(e,t,a,f,x,O,L,k,m),t=1,u===!0&&(t|=24),u=Yt(3,null,null,t),e.current=u,u.stateNode=e,t=Ar(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:l,isDehydrated:a,cache:t},Ur(u),e}function sm(e){return e?(e=Vn,e):Vn}function um(e,t,a,l,i,u){i=sm(i),l.context===null?l.context=i:l.pendingContext=i,l=vl(t),l.payload={element:a},u=u===void 0?null:u,u!==null&&(l.callback=u),a=gl(e,l,t),a!==null&&(zt(a,e,t),is(a,e,t))}function cm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function tf(e,t){cm(e,t),(e=e.alternate)&&cm(e,t)}function rm(e){if(e.tag===13||e.tag===31){var t=tn(e,67108864);t!==null&&zt(t,e,67108864),tf(e,67108864)}}function om(e){if(e.tag===13||e.tag===31){var t=Kt();t=Jc(t);var a=tn(e,t);a!==null&&zt(a,e,t),tf(e,t)}}var yc=!0;function qv(e,t,a,l){var i=B.T;B.T=null;var u=V.p;try{V.p=2,af(e,t,a,l)}finally{V.p=u,B.T=i}}function kv(e,t,a,l){var i=B.T;B.T=null;var u=V.p;try{V.p=8,af(e,t,a,l)}finally{V.p=u,B.T=i}}function af(e,t,a,l){if(yc){var i=lf(l);if(i===null)Go(e,t,l,vc,a),dm(e,l);else if(Gv(i,e,t,a,l))l.stopPropagation();else if(dm(e,l),t&4&&-1<Qv.indexOf(e)){for(;i!==null;){var u=Dn(i);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var f=Fl(u.pendingLanes);if(f!==0){var m=u;for(m.pendingLanes|=2,m.entangledLanes|=2;f;){var x=1<<31-Qt(f);m.entanglements[1]|=x,f&=~x}Ca(u),(je&6)===0&&(Pu=qt()+500,xs(0))}}break;case 31:case 13:m=tn(u,2),m!==null&&zt(m,u,2),tc(),tf(u,2)}if(u=lf(l),u===null&&Go(e,t,l,vc,a),u===i)break;i=u}i!==null&&l.stopPropagation()}else Go(e,t,l,null,a)}}function lf(e){return e=nr(e),nf(e)}var vc=null;function nf(e){if(vc=null,e=zn(e),e!==null){var t=h(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=p(t),e!==null)return e;e=null}else if(a===31){if(e=v(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return vc=e,null}function fm(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(Tp()){case _0:return 2;case b0:return 8;case su:case Cp:return 32;case x0:return 268435456;default:return 32}default:return 32}}var sf=!1,wl=null,Ol=null,Ml=null,Rs=new Map,ws=new Map,Al=[],Qv="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 dm(e,t){switch(e){case"focusin":case"focusout":wl=null;break;case"dragenter":case"dragleave":Ol=null;break;case"mouseover":case"mouseout":Ml=null;break;case"pointerover":case"pointerout":Rs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ws.delete(t.pointerId)}}function Os(e,t,a,l,i,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:u,targetContainers:[i]},t!==null&&(t=Dn(t),t!==null&&rm(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Gv(e,t,a,l,i){switch(t){case"focusin":return wl=Os(wl,e,t,a,l,i),!0;case"dragenter":return Ol=Os(Ol,e,t,a,l,i),!0;case"mouseover":return Ml=Os(Ml,e,t,a,l,i),!0;case"pointerover":var u=i.pointerId;return Rs.set(u,Os(Rs.get(u)||null,e,t,a,l,i)),!0;case"gotpointercapture":return u=i.pointerId,ws.set(u,Os(ws.get(u)||null,e,t,a,l,i)),!0}return!1}function hm(e){var t=zn(e.target);if(t!==null){var a=h(t);if(a!==null){if(t=a.tag,t===13){if(t=p(a),t!==null){e.blockedOn=t,C0(e.priority,function(){om(a)});return}}else if(t===31){if(t=v(a),t!==null){e.blockedOn=t,C0(e.priority,function(){om(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=lf(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);lr=l,a.target.dispatchEvent(l),lr=null}else return t=Dn(a),t!==null&&rm(t),e.blockedOn=a,!1;t.shift()}return!0}function mm(e,t,a){gc(e)&&a.delete(t)}function Yv(){sf=!1,wl!==null&&gc(wl)&&(wl=null),Ol!==null&&gc(Ol)&&(Ol=null),Ml!==null&&gc(Ml)&&(Ml=null),Rs.forEach(mm),ws.forEach(mm)}function _c(e,t){e.blockedOn===t&&(e.blockedOn=null,sf||(sf=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Yv)))}var bc=null;function pm(e){bc!==e&&(bc=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){bc===e&&(bc=null);for(var t=0;t<e.length;t+=3){var a=e[t],l=e[t+1],i=e[t+2];if(typeof l!="function"){if(nf(l||a)===null)continue;break}var u=Dn(a);u!==null&&(e.splice(t,3),t-=3,ao(u,{pending:!0,data:i,method:a.method,action:l},l,i))}}))}function pi(e){function t(x){return _c(x,e)}wl!==null&&_c(wl,e),Ol!==null&&_c(Ol,e),Ml!==null&&_c(Ml,e),Rs.forEach(t),ws.forEach(t);for(var a=0;a<Al.length;a++){var l=Al[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Al.length&&(a=Al[0],a.blockedOn===null);)hm(a),a.blockedOn===null&&Al.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var i=a[l],u=a[l+1],f=i[Ct]||null;if(typeof u=="function")f||pm(a);else if(f){var m=null;if(u&&u.hasAttribute("formAction")){if(i=u,f=u[Ct]||null)m=f.formAction;else if(nf(i)!==null)continue}else m=f.action;typeof m=="function"?a[l+1]=m:(a.splice(l,3),l-=3),pm(a)}}}function ym(){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),l||setTimeout(a,20)}function a(){if(!l&&!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 l=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),i!==null&&(i(),i=null)}}}function uf(e){this._internalRoot=e}xc.prototype.render=uf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var a=t.current,l=Kt();um(a,l,e,t,null,null)},xc.prototype.unmount=uf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;um(e.current,2,null,e,null,null),tc(),t[An]=null}};function xc(e){this._internalRoot=e}xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=T0();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Al.length&&t!==0&&t<Al[a].priority;a++);Al.splice(a,0,e),a===0&&hm(e)}};var vm=s.version;if(vm!=="19.2.5")throw Error(r(527,vm,"19.2.5"));V.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=y(t),e=e!==null?j(e):null,e=e===null?null:e.stateNode,e};var $v={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Sc.isDisabled&&Sc.supportsFiber)try{qi=Sc.inject($v),kt=Sc}catch{}}return As.createRoot=function(e,t){if(!d(e))throw Error(r(299));var a=!1,l="",i=Eh,u=Nh,f=Th;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=im(e,1,!1,null,null,a,l,null,i,u,f,ym),e[An]=t.current,Qo(e),new uf(t)},As.hydrateRoot=function(e,t,a){if(!d(e))throw Error(r(299));var l=!1,i="",u=Eh,f=Nh,m=Th,x=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(i=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(m=a.onRecoverableError),a.formState!==void 0&&(x=a.formState)),t=im(e,1,!0,t,a??null,l,i,x,u,f,m,ym),t.context=sm(null),a=t.current,l=Kt(),l=Jc(l),i=vl(l),i.callback=null,gl(a,i,l),a=l,t.current.lanes=a,Qi(t,a),Ca(t),e[An]=t.current,Qo(e),new xc(t)},As.version="19.2.5",As}var Rm;function eg(){if(Rm)return ff.exports;Rm=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(s){console.error(s)}}return n(),ff.exports=Pv(),ff.exports}var tg=eg();/**
* react-router v7.14.2
*
* 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 wm="popstate";function Om(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function ag(n={}){function s(r,d){var y;let h=(y=d.state)==null?void 0:y.masked,{pathname:p,search:v,hash:g}=h||r.location;return jf("",{pathname:p,search:v,hash:g},d.state&&d.state.usr||null,d.state&&d.state.key||"default",h?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function c(r,d){return typeof d=="string"?d:Qs(d)}return ng(s,c,null,n)}function Ye(n,s){if(n===!1||n===null||typeof n>"u")throw new Error(s)}function xa(n,s){if(!n){typeof console<"u"&&console.warn(s);try{throw new Error(s)}catch{}}}function lg(){return Math.random().toString(36).substring(2,10)}function Mm(n,s){return{usr:n.state,key:n.key,idx:s,masked:n.unstable_mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function jf(n,s,c=null,r,d){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof s=="string"?Ai(s):s,state:c,key:s&&s.key||r||lg(),unstable_mask:d}}function Qs({pathname:n="/",search:s="",hash:c=""}){return s&&s!=="?"&&(n+=s.charAt(0)==="?"?s:"?"+s),c&&c!=="#"&&(n+=c.charAt(0)==="#"?c:"#"+c),n}function Ai(n){let s={};if(n){let c=n.indexOf("#");c>=0&&(s.hash=n.substring(c),n=n.substring(0,c));let r=n.indexOf("?");r>=0&&(s.search=n.substring(r),n=n.substring(0,r)),n&&(s.pathname=n)}return s}function ng(n,s,c,r={}){let{window:d=document.defaultView,v5Compat:h=!1}=r,p=d.history,v="POP",g=null,y=j();y==null&&(y=0,p.replaceState({...p.state,idx:y},""));function j(){return(p.state||{idx:null}).idx}function _(){v="POP";let z=j(),U=z==null?null:z-y;y=z,g&&g({action:v,location:T.location,delta:U})}function R(z,U){v="PUSH";let Z=Om(z)?z:jf(T.location,z,U);y=j()+1;let Y=Mm(Z,y),$=T.createHref(Z.unstable_mask||Z);try{p.pushState(Y,"",$)}catch(te){if(te instanceof DOMException&&te.name==="DataCloneError")throw te;d.location.assign($)}h&&g&&g({action:v,location:T.location,delta:1})}function D(z,U){v="REPLACE";let Z=Om(z)?z:jf(T.location,z,U);y=j();let Y=Mm(Z,y),$=T.createHref(Z.unstable_mask||Z);p.replaceState(Y,"",$),h&&g&&g({action:v,location:T.location,delta:0})}function H(z){return ig(z)}let T={get action(){return v},get location(){return n(d,p)},listen(z){if(g)throw new Error("A history only accepts one active listener");return d.addEventListener(wm,_),g=z,()=>{d.removeEventListener(wm,_),g=null}},createHref(z){return s(d,z)},createURL:H,encodeLocation(z){let U=H(z);return{pathname:U.pathname,search:U.search,hash:U.hash}},push:R,replace:D,go(z){return p.go(z)}};return T}function ig(n,s=!1){let c="http://localhost";typeof window<"u"&&(c=window.location.origin!=="null"?window.location.origin:window.location.href),Ye(c,"No window.location.(origin|href) available to create URL");let r=typeof n=="string"?n:Qs(n);return r=r.replace(/ $/,"%20"),!s&&r.startsWith("//")&&(r=c+r),new URL(r,c)}function S1(n,s,c="/"){return sg(n,s,c,!1)}function sg(n,s,c,r){let d=typeof s=="string"?Ai(s):s,h=cl(d.pathname||"/",c);if(h==null)return null;let p=j1(n);ug(p);let v=null;for(let g=0;v==null&&g<p.length;++g){let y=gg(h);v=yg(p[g],y,r)}return v}function j1(n,s=[],c=[],r="",d=!1){let h=(p,v,g=d,y)=>{let j={relativePath:y===void 0?p.path||"":y,caseSensitive:p.caseSensitive===!0,childrenIndex:v,route:p};if(j.relativePath.startsWith("/")){if(!j.relativePath.startsWith(r)&&g)return;Ye(j.relativePath.startsWith(r),`Absolute route path "${j.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),j.relativePath=j.relativePath.slice(r.length)}let _=ba([r,j.relativePath]),R=c.concat(j);p.children&&p.children.length>0&&(Ye(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${_}".`),j1(p.children,s,R,_,g)),!(p.path==null&&!p.index)&&s.push({path:_,score:mg(_,p.index),routesMeta:R})};return n.forEach((p,v)=>{var g;if(p.path===""||!((g=p.path)!=null&&g.includes("?")))h(p,v);else for(let y of E1(p.path))h(p,v,!0,y)}),s}function E1(n){let s=n.split("/");if(s.length===0)return[];let[c,...r]=s,d=c.endsWith("?"),h=c.replace(/\?$/,"");if(r.length===0)return d?[h,""]:[h];let p=E1(r.join("/")),v=[];return v.push(...p.map(g=>g===""?h:[h,g].join("/"))),d&&v.push(...p),v.map(g=>n.startsWith("/")&&g===""?"/":g)}function ug(n){n.sort((s,c)=>s.score!==c.score?c.score-s.score:pg(s.routesMeta.map(r=>r.childrenIndex),c.routesMeta.map(r=>r.childrenIndex)))}var cg=/^:[\w-]+$/,rg=3,og=2,fg=1,dg=10,hg=-2,Am=n=>n==="*";function mg(n,s){let c=n.split("/"),r=c.length;return c.some(Am)&&(r+=hg),s&&(r+=og),c.filter(d=>!Am(d)).reduce((d,h)=>d+(cg.test(h)?rg:h===""?fg:dg),r)}function pg(n,s){return n.length===s.length&&n.slice(0,-1).every((r,d)=>r===s[d])?n[n.length-1]-s[s.length-1]:0}function yg(n,s,c=!1){let{routesMeta:r}=n,d={},h="/",p=[];for(let v=0;v<r.length;++v){let g=r[v],y=v===r.length-1,j=h==="/"?s:s.slice(h.length)||"/",_=Ac({path:g.relativePath,caseSensitive:g.caseSensitive,end:y},j),R=g.route;if(!_&&y&&c&&!r[r.length-1].route.index&&(_=Ac({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},j)),!_)return null;Object.assign(d,_.params),p.push({params:d,pathname:ba([h,_.pathname]),pathnameBase:Sg(ba([h,_.pathnameBase])),route:R}),_.pathnameBase!=="/"&&(h=ba([h,_.pathnameBase]))}return p}function Ac(n,s){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[c,r]=vg(n.path,n.caseSensitive,n.end),d=s.match(c);if(!d)return null;let h=d[0],p=h.replace(/(.)\/+$/,"$1"),v=d.slice(1);return{params:r.reduce((y,{paramName:j,isOptional:_},R)=>{if(j==="*"){let H=v[R]||"";p=h.slice(0,h.length-H.length).replace(/(.)\/+$/,"$1")}const D=v[R];return _&&!D?y[j]=void 0:y[j]=(D||"").replace(/%2F/g,"/"),y},{}),pathname:h,pathnameBase:p,pattern:n}}function vg(n,s=!1,c=!0){xa(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 r=[],d="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,v,g,y,j)=>{if(r.push({paramName:v,isOptional:g!=null}),g){let _=j.charAt(y+p.length);return _&&_!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(r.push({paramName:"*"}),d+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):c?d+="\\/*$":n!==""&&n!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,s?void 0:"i"),r]}function gg(n){try{return n.split("/").map(s=>decodeURIComponent(s).replace(/\//g,"%2F")).join("/")}catch(s){return xa(!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 (${s}).`),n}}function cl(n,s){if(s==="/")return n;if(!n.toLowerCase().startsWith(s.toLowerCase()))return null;let c=s.endsWith("/")?s.length-1:s.length,r=n.charAt(c);return r&&r!=="/"?null:n.slice(c)||"/"}var _g=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function bg(n,s="/"){let{pathname:c,search:r="",hash:d=""}=typeof n=="string"?Ai(n):n,h;return c?(c=N1(c),c.startsWith("/")?h=zm(c.substring(1),"/"):h=zm(c,s)):h=s,{pathname:h,search:jg(r),hash:Eg(d)}}function zm(n,s){let c=zc(s).split("/");return n.split("/").forEach(d=>{d===".."?c.length>1&&c.pop():d!=="."&&c.push(d)}),c.length>1?c.join("/"):"/"}function pf(n,s,c,r){return`Cannot include a '${n}' character in a manually specified \`to.${s}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${c}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function xg(n){return n.filter((s,c)=>c===0||s.route.path&&s.route.path.length>0)}function Wf(n){let s=xg(n);return s.map((c,r)=>r===s.length-1?c.pathname:c.pathnameBase)}function Lc(n,s,c,r=!1){let d;typeof n=="string"?d=Ai(n):(d={...n},Ye(!d.pathname||!d.pathname.includes("?"),pf("?","pathname","search",d)),Ye(!d.pathname||!d.pathname.includes("#"),pf("#","pathname","hash",d)),Ye(!d.search||!d.search.includes("#"),pf("#","search","hash",d)));let h=n===""||d.pathname==="",p=h?"/":d.pathname,v;if(p==null)v=c;else{let _=s.length-1;if(!r&&p.startsWith("..")){let R=p.split("/");for(;R[0]==="..";)R.shift(),_-=1;d.pathname=R.join("/")}v=_>=0?s[_]:"/"}let g=bg(d,v),y=p&&p!=="/"&&p.endsWith("/"),j=(h||p===".")&&c.endsWith("/");return!g.pathname.endsWith("/")&&(y||j)&&(g.pathname+="/"),g}var N1=n=>n.replace(/\/\/+/g,"/"),ba=n=>N1(n.join("/")),zc=n=>n.replace(/\/+$/,""),Sg=n=>zc(n).replace(/^\/*/,"/"),jg=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,Eg=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,Ng=class{constructor(n,s,c,r=!1){this.status=n,this.statusText=s||"",this.internal=r,c instanceof Error?(this.data=c.toString(),this.error=c):this.data=c}};function Tg(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function Cg(n){let s=n.map(c=>c.route.path).filter(Boolean);return ba(s)||"/"}var T1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function C1(n,s){let c=n;if(typeof c!="string"||!_g.test(c))return{absoluteURL:void 0,isExternal:!1,to:c};let r=c,d=!1;if(T1)try{let h=new URL(window.location.href),p=c.startsWith("//")?new URL(h.protocol+c):new URL(c),v=cl(p.pathname,s);p.origin===h.origin&&v!=null?c=v+p.search+p.hash:d=!0}catch{xa(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:d,to:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var R1=["POST","PUT","PATCH","DELETE"];new Set(R1);var Rg=["GET",...R1];new Set(Rg);var zi=S.createContext(null);zi.displayName="DataRouter";var Uc=S.createContext(null);Uc.displayName="DataRouterState";var w1=S.createContext(!1);function wg(){return S.useContext(w1)}var O1=S.createContext({isTransitioning:!1});O1.displayName="ViewTransition";var Og=S.createContext(new Map);Og.displayName="Fetchers";var Mg=S.createContext(null);Mg.displayName="Await";var ta=S.createContext(null);ta.displayName="Navigation";var eu=S.createContext(null);eu.displayName="Location";var ja=S.createContext({outlet:null,matches:[],isDataRoute:!1});ja.displayName="Route";var If=S.createContext(null);If.displayName="RouteError";var M1="REACT_ROUTER_ERROR",Ag="REDIRECT",zg="ROUTE_ERROR_RESPONSE";function Dg(n){if(n.startsWith(`${M1}:${Ag}:{`))try{let s=JSON.parse(n.slice(28));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.location=="string"&&typeof s.reloadDocument=="boolean"&&typeof s.replace=="boolean")return s}catch{}}function Lg(n){if(n.startsWith(`${M1}:${zg}:{`))try{let s=JSON.parse(n.slice(40));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string")return new Ng(s.status,s.statusText,s.data)}catch{}}function Ug(n,{relative:s}={}){Ye(Di(),"useHref() may be used only in the context of a <Router> component.");let{basename:c,navigator:r}=S.useContext(ta),{hash:d,pathname:h,search:p}=au(n,{relative:s}),v=h;return c!=="/"&&(v=h==="/"?c:ba([c,h])),r.createHref({pathname:v,search:p,hash:d})}function Di(){return S.useContext(eu)!=null}function aa(){return Ye(Di(),"useLocation() may be used only in the context of a <Router> component."),S.useContext(eu).location}var A1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function z1(n){S.useContext(ta).static||S.useLayoutEffect(n)}function tu(){let{isDataRoute:n}=S.useContext(ja);return n?Wg():Bg()}function Bg(){Ye(Di(),"useNavigate() may be used only in the context of a <Router> component.");let n=S.useContext(zi),{basename:s,navigator:c}=S.useContext(ta),{matches:r}=S.useContext(ja),{pathname:d}=aa(),h=JSON.stringify(Wf(r)),p=S.useRef(!1);return z1(()=>{p.current=!0}),S.useCallback((g,y={})=>{if(xa(p.current,A1),!p.current)return;if(typeof g=="number"){c.go(g);return}let j=Lc(g,JSON.parse(h),d,y.relative==="path");n==null&&s!=="/"&&(j.pathname=j.pathname==="/"?s:ba([s,j.pathname])),(y.replace?c.replace:c.push)(j,y.state,y)},[s,c,h,d,n])}var Hg=S.createContext(null);function qg(n){let s=S.useContext(ja).outlet;return S.useMemo(()=>s&&S.createElement(Hg.Provider,{value:n},s),[s,n])}function au(n,{relative:s}={}){let{matches:c}=S.useContext(ja),{pathname:r}=aa(),d=JSON.stringify(Wf(c));return S.useMemo(()=>Lc(n,JSON.parse(d),r,s==="path"),[n,d,r,s])}function kg(n,s){return D1(n,s)}function D1(n,s,c){var z;Ye(Di(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=S.useContext(ta),{matches:d}=S.useContext(ja),h=d[d.length-1],p=h?h.params:{},v=h?h.pathname:"/",g=h?h.pathnameBase:"/",y=h&&h.route;{let U=y&&y.path||"";U1(v,!y||U.endsWith("*")||U.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${v}" (under <Route path="${U}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
Please change the parent <Route path="${U}"> to <Route path="${U==="/"?"*":`${U}/*`}">.`)}let j=aa(),_;if(s){let U=typeof s=="string"?Ai(s):s;Ye(g==="/"||((z=U.pathname)==null?void 0:z.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${U.pathname}" was given in the \`location\` prop.`),_=U}else _=j;let R=_.pathname||"/",D=R;if(g!=="/"){let U=g.replace(/^\//,"").split("/");D="/"+R.replace(/^\//,"").split("/").slice(U.length).join("/")}let H=S1(n,{pathname:D});xa(y||H!=null,`No routes matched location "${_.pathname}${_.search}${_.hash}" `),xa(H==null||H[H.length-1].route.element!==void 0||H[H.length-1].route.Component!==void 0||H[H.length-1].route.lazy!==void 0,`Matched leaf route at location "${_.pathname}${_.search}${_.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 T=Vg(H&&H.map(U=>Object.assign({},U,{params:Object.assign({},p,U.params),pathname:ba([g,r.encodeLocation?r.encodeLocation(U.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:U.pathname]),pathnameBase:U.pathnameBase==="/"?g:ba([g,r.encodeLocation?r.encodeLocation(U.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:U.pathnameBase])})),d,c);return s&&T?S.createElement(eu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,..._},navigationType:"POP"}},T):T}function Qg(){let n=Fg(),s=Tg(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),c=n instanceof Error?n.stack:null,r="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:r},h={padding:"2px 4px",backgroundColor:r},p=null;return console.error("Error handled by React Router default ErrorBoundary:",n),p=S.createElement(S.Fragment,null,S.createElement("p",null,"💿 Hey developer 👋"),S.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",S.createElement("code",{style:h},"ErrorBoundary")," or"," ",S.createElement("code",{style:h},"errorElement")," prop on your route.")),S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},s),c?S.createElement("pre",{style:d},c):null,p)}var Gg=S.createElement(Qg,null),L1=class extends S.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,s){return s.location!==n.location||s.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:s.error,location:s.location,revalidation:n.revalidation||s.revalidation}}componentDidCatch(n,s){this.props.onError?this.props.onError(n,s):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 c=Lg(n.digest);c&&(n=c)}let s=n!==void 0?S.createElement(ja.Provider,{value:this.props.routeContext},S.createElement(If.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?S.createElement(Yg,{error:n},s):s}};L1.contextType=w1;var yf=new WeakMap;function Yg({children:n,error:s}){let{basename:c}=S.useContext(ta);if(typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){let r=Dg(s.digest);if(r){let d=yf.get(s);if(d)throw d;let h=C1(r.location,c);if(T1&&!yf.get(s))if(h.isExternal||r.reloadDocument)window.location.href=h.absoluteURL||h.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(h.to,{replace:r.replace}));throw yf.set(s,p),p}return S.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return n}function $g({routeContext:n,match:s,children:c}){let r=S.useContext(zi);return r&&r.static&&r.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=s.route.id),S.createElement(ja.Provider,{value:n},c)}function Vg(n,s=[],c){let r=c==null?void 0:c.state;if(n==null){if(!r)return null;if(r.errors)n=r.matches;else if(s.length===0&&!r.initialized&&r.matches.length>0)n=r.matches;else return null}let d=n,h=r==null?void 0:r.errors;if(h!=null){let j=d.findIndex(_=>_.route.id&&(h==null?void 0:h[_.route.id])!==void 0);Ye(j>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),d=d.slice(0,Math.min(d.length,j+1))}let p=!1,v=-1;if(c&&r){p=r.renderFallback;for(let j=0;j<d.length;j++){let _=d[j];if((_.route.HydrateFallback||_.route.hydrateFallbackElement)&&(v=j),_.route.id){let{loaderData:R,errors:D}=r,H=_.route.loader&&!R.hasOwnProperty(_.route.id)&&(!D||D[_.route.id]===void 0);if(_.route.lazy||H){c.isStatic&&(p=!0),v>=0?d=d.slice(0,v+1):d=[d[0]];break}}}}let g=c==null?void 0:c.onError,y=r&&g?(j,_)=>{var R,D;g(j,{location:r.location,params:((D=(R=r.matches)==null?void 0:R[0])==null?void 0:D.params)??{},unstable_pattern:Cg(r.matches),errorInfo:_})}:void 0;return d.reduceRight((j,_,R)=>{let D,H=!1,T=null,z=null;r&&(D=h&&_.route.id?h[_.route.id]:void 0,T=_.route.errorElement||Gg,p&&(v<0&&R===0?(U1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),H=!0,z=null):v===R&&(H=!0,z=_.route.hydrateFallbackElement||null)));let U=s.concat(d.slice(0,R+1)),Z=()=>{let Y;return D?Y=T:H?Y=z:_.route.Component?Y=S.createElement(_.route.Component,null):_.route.element?Y=_.route.element:Y=j,S.createElement($g,{match:_,routeContext:{outlet:j,matches:U,isDataRoute:r!=null},children:Y})};return r&&(_.route.ErrorBoundary||_.route.errorElement||R===0)?S.createElement(L1,{location:r.location,revalidation:r.revalidation,component:T,error:D,children:Z(),routeContext:{outlet:null,matches:U,isDataRoute:!0},onError:y}):Z()},null)}function Pf(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Xg(n){let s=S.useContext(zi);return Ye(s,Pf(n)),s}function Zg(n){let s=S.useContext(Uc);return Ye(s,Pf(n)),s}function Kg(n){let s=S.useContext(ja);return Ye(s,Pf(n)),s}function e0(n){let s=Kg(n),c=s.matches[s.matches.length-1];return Ye(c.route.id,`${n} can only be used on routes that contain a unique "id"`),c.route.id}function Jg(){return e0("useRouteId")}function Fg(){var r;let n=S.useContext(If),s=Zg("useRouteError"),c=e0("useRouteError");return n!==void 0?n:(r=s.errors)==null?void 0:r[c]}function Wg(){let{router:n}=Xg("useNavigate"),s=e0("useNavigate"),c=S.useRef(!1);return z1(()=>{c.current=!0}),S.useCallback(async(d,h={})=>{xa(c.current,A1),c.current&&(typeof d=="number"?await n.navigate(d):await n.navigate(d,{fromRouteId:s,...h}))},[n,s])}var Dm={};function U1(n,s,c){!s&&!Dm[n]&&(Dm[n]=!0,xa(!1,c))}S.memo(Ig);function Ig({routes:n,future:s,state:c,isStatic:r,onError:d}){return D1(n,void 0,{state:c,isStatic:r,onError:d})}function t0({to:n,replace:s,state:c,relative:r}){Ye(Di(),"<Navigate> may be used only in the context of a <Router> component.");let{static:d}=S.useContext(ta);xa(!d,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:h}=S.useContext(ja),{pathname:p}=aa(),v=tu(),g=Lc(n,Wf(h),p,r==="path"),y=JSON.stringify(g);return S.useEffect(()=>{v(JSON.parse(y),{replace:s,state:c,relative:r})},[v,y,r,s,c]),null}function B1(n){return qg(n.context)}function ma(n){Ye(!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 Pg({basename:n="/",children:s=null,location:c,navigationType:r="POP",navigator:d,static:h=!1,unstable_useTransitions:p}){Ye(!Di(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let v=n.replace(/^\/*/,"/"),g=S.useMemo(()=>({basename:v,navigator:d,static:h,unstable_useTransitions:p,future:{}}),[v,d,h,p]);typeof c=="string"&&(c=Ai(c));let{pathname:y="/",search:j="",hash:_="",state:R=null,key:D="default",unstable_mask:H}=c,T=S.useMemo(()=>{let z=cl(y,v);return z==null?null:{location:{pathname:z,search:j,hash:_,state:R,key:D,unstable_mask:H},navigationType:r}},[v,y,j,_,R,D,r,H]);return xa(T!=null,`<Router basename="${v}"> is not able to match the URL "${y}${j}${_}" because it does not start with the basename, so the <Router> won't render anything.`),T==null?null:S.createElement(ta.Provider,{value:g},S.createElement(eu.Provider,{children:s,value:T}))}function e_({children:n,location:s}){return kg(Ef(n),s)}function Ef(n,s=[]){let c=[];return S.Children.forEach(n,(r,d)=>{if(!S.isValidElement(r))return;let h=[...s,d];if(r.type===S.Fragment){c.push.apply(c,Ef(r.props.children,h));return}Ye(r.type===ma,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ye(!r.props.index||!r.props.children,"An index route cannot have child routes.");let p={id:r.props.id||h.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(p.children=Ef(r.props.children,h)),c.push(p)}),c}var wc="get",Oc="application/x-www-form-urlencoded";function Bc(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function t_(n){return Bc(n)&&n.tagName.toLowerCase()==="button"}function a_(n){return Bc(n)&&n.tagName.toLowerCase()==="form"}function l_(n){return Bc(n)&&n.tagName.toLowerCase()==="input"}function n_(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function i_(n,s){return n.button===0&&(!s||s==="_self")&&!n_(n)}var Ec=null;function s_(){if(Ec===null)try{new FormData(document.createElement("form"),0),Ec=!1}catch{Ec=!0}return Ec}var u_=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function vf(n){return n!=null&&!u_.has(n)?(xa(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Oc}"`),null):n}function c_(n,s){let c,r,d,h,p;if(a_(n)){let v=n.getAttribute("action");r=v?cl(v,s):null,c=n.getAttribute("method")||wc,d=vf(n.getAttribute("enctype"))||Oc,h=new FormData(n)}else if(t_(n)||l_(n)&&(n.type==="submit"||n.type==="image")){let v=n.form;if(v==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=n.getAttribute("formaction")||v.getAttribute("action");if(r=g?cl(g,s):null,c=n.getAttribute("formmethod")||v.getAttribute("method")||wc,d=vf(n.getAttribute("formenctype"))||vf(v.getAttribute("enctype"))||Oc,h=new FormData(v,n),!s_()){let{name:y,type:j,value:_}=n;if(j==="image"){let R=y?`${y}.`:"";h.append(`${R}x`,"0"),h.append(`${R}y`,"0")}else y&&h.append(y,_)}}else{if(Bc(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');c=wc,r=null,d=Oc,p=n}return h&&d==="text/plain"&&(p=h,h=void 0),{action:r,method:c.toLowerCase(),encType:d,formData:h,body:p}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function a0(n,s){if(n===!1||n===null||typeof n>"u")throw new Error(s)}function H1(n,s,c,r){let d=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return c?d.pathname.endsWith("/")?d.pathname=`${d.pathname}_.${r}`:d.pathname=`${d.pathname}.${r}`:d.pathname==="/"?d.pathname=`_root.${r}`:s&&cl(d.pathname,s)==="/"?d.pathname=`${zc(s)}/_root.${r}`:d.pathname=`${zc(d.pathname)}.${r}`,d}async function r_(n,s){if(n.id in s)return s[n.id];try{let c=await import(n.module);return s[n.id]=c,c}catch(c){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(c),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function o_(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 f_(n,s,c){let r=await Promise.all(n.map(async d=>{let h=s.routes[d.route.id];if(h){let p=await r_(h,c);return p.links?p.links():[]}return[]}));return p_(r.flat(1).filter(o_).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function Lm(n,s,c,r,d,h){let p=(g,y)=>c[y]?g.route.id!==c[y].route.id:!0,v=(g,y)=>{var j;return c[y].pathname!==g.pathname||((j=c[y].route.path)==null?void 0:j.endsWith("*"))&&c[y].params["*"]!==g.params["*"]};return h==="assets"?s.filter((g,y)=>p(g,y)||v(g,y)):h==="data"?s.filter((g,y)=>{var _;let j=r.routes[g.route.id];if(!j||!j.hasLoader)return!1;if(p(g,y)||v(g,y))return!0;if(g.route.shouldRevalidate){let R=g.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:((_=c[0])==null?void 0:_.params)||{},nextUrl:new URL(n,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof R=="boolean")return R}return!0}):[]}function d_(n,s,{includeHydrateFallback:c}={}){return h_(n.map(r=>{let d=s.routes[r.route.id];if(!d)return[];let h=[d.module];return d.clientActionModule&&(h=h.concat(d.clientActionModule)),d.clientLoaderModule&&(h=h.concat(d.clientLoaderModule)),c&&d.hydrateFallbackModule&&(h=h.concat(d.hydrateFallbackModule)),d.imports&&(h=h.concat(d.imports)),h}).flat(1))}function h_(n){return[...new Set(n)]}function m_(n){let s={},c=Object.keys(n).sort();for(let r of c)s[r]=n[r];return s}function p_(n,s){let c=new Set;return new Set(s),n.reduce((r,d)=>{let h=JSON.stringify(m_(d));return c.has(h)||(c.add(h),r.push({key:h,link:d})),r},[])}function l0(){let n=S.useContext(zi);return a0(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function y_(){let n=S.useContext(Uc);return a0(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var n0=S.createContext(void 0);n0.displayName="FrameworkContext";function i0(){let n=S.useContext(n0);return a0(n,"You must render this element inside a <HydratedRouter> element"),n}function v_(n,s){let c=S.useContext(n0),[r,d]=S.useState(!1),[h,p]=S.useState(!1),{onFocus:v,onBlur:g,onMouseEnter:y,onMouseLeave:j,onTouchStart:_}=s,R=S.useRef(null);S.useEffect(()=>{if(n==="render"&&p(!0),n==="viewport"){let T=U=>{U.forEach(Z=>{p(Z.isIntersecting)})},z=new IntersectionObserver(T,{threshold:.5});return R.current&&z.observe(R.current),()=>{z.disconnect()}}},[n]),S.useEffect(()=>{if(r){let T=setTimeout(()=>{p(!0)},100);return()=>{clearTimeout(T)}}},[r]);let D=()=>{d(!0)},H=()=>{d(!1),p(!1)};return c?n!=="intent"?[h,R,{}]:[h,R,{onFocus:zs(v,D),onBlur:zs(g,H),onMouseEnter:zs(y,D),onMouseLeave:zs(j,H),onTouchStart:zs(_,D)}]:[!1,R,{}]}function zs(n,s){return c=>{n&&n(c),c.defaultPrevented||s(c)}}function g_({page:n,...s}){let c=wg(),{router:r}=l0(),d=S.useMemo(()=>S1(r.routes,n,r.basename),[r.routes,n,r.basename]);return d?c?S.createElement(b_,{page:n,matches:d,...s}):S.createElement(x_,{page:n,matches:d,...s}):null}function __(n){let{manifest:s,routeModules:c}=i0(),[r,d]=S.useState([]);return S.useEffect(()=>{let h=!1;return f_(n,s,c).then(p=>{h||d(p)}),()=>{h=!0}},[n,s,c]),r}function b_({page:n,matches:s,...c}){let r=aa(),{future:d}=i0(),{basename:h}=l0(),p=S.useMemo(()=>{if(n===r.pathname+r.search+r.hash)return[];let v=H1(n,h,d.unstable_trailingSlashAwareDataRequests,"rsc"),g=!1,y=[];for(let j of s)typeof j.route.shouldRevalidate=="function"?g=!0:y.push(j.route.id);return g&&y.length>0&&v.searchParams.set("_routes",y.join(",")),[v.pathname+v.search]},[h,d.unstable_trailingSlashAwareDataRequests,n,r,s]);return S.createElement(S.Fragment,null,p.map(v=>S.createElement("link",{key:v,rel:"prefetch",as:"fetch",href:v,...c})))}function x_({page:n,matches:s,...c}){let r=aa(),{future:d,manifest:h,routeModules:p}=i0(),{basename:v}=l0(),{loaderData:g,matches:y}=y_(),j=S.useMemo(()=>Lm(n,s,y,h,r,"data"),[n,s,y,h,r]),_=S.useMemo(()=>Lm(n,s,y,h,r,"assets"),[n,s,y,h,r]),R=S.useMemo(()=>{if(n===r.pathname+r.search+r.hash)return[];let T=new Set,z=!1;if(s.forEach(Z=>{var $;let Y=h.routes[Z.route.id];!Y||!Y.hasLoader||(!j.some(te=>te.route.id===Z.route.id)&&Z.route.id in g&&(($=p[Z.route.id])!=null&&$.shouldRevalidate)||Y.hasClientLoader?z=!0:T.add(Z.route.id))}),T.size===0)return[];let U=H1(n,v,d.unstable_trailingSlashAwareDataRequests,"data");return z&&T.size>0&&U.searchParams.set("_routes",s.filter(Z=>T.has(Z.route.id)).map(Z=>Z.route.id).join(",")),[U.pathname+U.search]},[v,d.unstable_trailingSlashAwareDataRequests,g,r,h,j,s,n,p]),D=S.useMemo(()=>d_(_,h),[_,h]),H=__(_);return S.createElement(S.Fragment,null,R.map(T=>S.createElement("link",{key:T,rel:"prefetch",as:"fetch",href:T,...c})),D.map(T=>S.createElement("link",{key:T,rel:"modulepreload",href:T,...c})),H.map(({key:T,link:z})=>S.createElement("link",{key:T,nonce:c.nonce,...z,crossOrigin:z.crossOrigin??c.crossOrigin})))}function S_(...n){return s=>{n.forEach(c=>{typeof c=="function"?c(s):c!=null&&(c.current=s)})}}var j_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{j_&&(window.__reactRouterVersion="7.14.2")}catch{}function E_({basename:n,children:s,unstable_useTransitions:c,window:r}){let d=S.useRef();d.current==null&&(d.current=ag({window:r,v5Compat:!0}));let h=d.current,[p,v]=S.useState({action:h.action,location:h.location}),g=S.useCallback(y=>{c===!1?v(y):S.startTransition(()=>v(y))},[c]);return S.useLayoutEffect(()=>h.listen(g),[h,g]),S.createElement(Pg,{basename:n,children:s,location:p.location,navigationType:p.action,navigator:h,unstable_useTransitions:c})}var q1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rn=S.forwardRef(function({onClick:s,discover:c="render",prefetch:r="none",relative:d,reloadDocument:h,replace:p,unstable_mask:v,state:g,target:y,to:j,preventScrollReset:_,viewTransition:R,unstable_defaultShouldRevalidate:D,...H},T){let{basename:z,navigator:U,unstable_useTransitions:Z}=S.useContext(ta),Y=typeof j=="string"&&q1.test(j),$=C1(j,z);j=$.to;let te=Ug(j,{relative:d}),ce=aa(),I=null;if(v){let He=Lc(v,[],ce.unstable_mask?ce.unstable_mask.pathname:"/",!0);z!=="/"&&(He.pathname=He.pathname==="/"?z:ba([z,He.pathname])),I=U.createHref(He)}let[ne,he,Oe]=v_(r,H),Qe=R_(j,{replace:p,unstable_mask:v,state:g,target:y,preventScrollReset:_,relative:d,viewTransition:R,unstable_defaultShouldRevalidate:D,unstable_useTransitions:Z});function ie(He){s&&s(He),He.defaultPrevented||Qe(He)}let xt=!($.isExternal||h),rt=S.createElement("a",{...H,...Oe,href:(xt?I:void 0)||$.absoluteURL||te,onClick:xt?ie:s,ref:S_(T,he),target:y,"data-discover":!Y&&c==="render"?"true":void 0});return ne&&!Y?S.createElement(S.Fragment,null,rt,S.createElement(g_,{page:te})):rt});Rn.displayName="Link";var N_=S.forwardRef(function({"aria-current":s="page",caseSensitive:c=!1,className:r="",end:d=!1,style:h,to:p,viewTransition:v,children:g,...y},j){let _=au(p,{relative:y.relative}),R=aa(),D=S.useContext(Uc),{navigator:H,basename:T}=S.useContext(ta),z=D!=null&&z_(_)&&v===!0,U=H.encodeLocation?H.encodeLocation(_).pathname:_.pathname,Z=R.pathname,Y=D&&D.navigation&&D.navigation.location?D.navigation.location.pathname:null;c||(Z=Z.toLowerCase(),Y=Y?Y.toLowerCase():null,U=U.toLowerCase()),Y&&T&&(Y=cl(Y,T)||Y);const $=U!=="/"&&U.endsWith("/")?U.length-1:U.length;let te=Z===U||!d&&Z.startsWith(U)&&Z.charAt($)==="/",ce=Y!=null&&(Y===U||!d&&Y.startsWith(U)&&Y.charAt(U.length)==="/"),I={isActive:te,isPending:ce,isTransitioning:z},ne=te?s:void 0,he;typeof r=="function"?he=r(I):he=[r,te?"active":null,ce?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let Oe=typeof h=="function"?h(I):h;return S.createElement(Rn,{...y,"aria-current":ne,className:he,ref:j,style:Oe,to:p,viewTransition:v},typeof g=="function"?g(I):g)});N_.displayName="NavLink";var T_=S.forwardRef(({discover:n="render",fetcherKey:s,navigate:c,reloadDocument:r,replace:d,state:h,method:p=wc,action:v,onSubmit:g,relative:y,preventScrollReset:j,viewTransition:_,unstable_defaultShouldRevalidate:R,...D},H)=>{let{unstable_useTransitions:T}=S.useContext(ta),z=M_(),U=A_(v,{relative:y}),Z=p.toLowerCase()==="get"?"get":"post",Y=typeof v=="string"&&q1.test(v),$=te=>{if(g&&g(te),te.defaultPrevented)return;te.preventDefault();let ce=te.nativeEvent.submitter,I=(ce==null?void 0:ce.getAttribute("formmethod"))||p,ne=()=>z(ce||te.currentTarget,{fetcherKey:s,method:I,navigate:c,replace:d,state:h,relative:y,preventScrollReset:j,viewTransition:_,unstable_defaultShouldRevalidate:R});T&&c!==!1?S.startTransition(()=>ne()):ne()};return S.createElement("form",{ref:H,method:Z,action:U,onSubmit:r?g:$,...D,"data-discover":!Y&&n==="render"?"true":void 0})});T_.displayName="Form";function C_(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function k1(n){let s=S.useContext(zi);return Ye(s,C_(n)),s}function R_(n,{target:s,replace:c,unstable_mask:r,state:d,preventScrollReset:h,relative:p,viewTransition:v,unstable_defaultShouldRevalidate:g,unstable_useTransitions:y}={}){let j=tu(),_=aa(),R=au(n,{relative:p});return S.useCallback(D=>{if(i_(D,s)){D.preventDefault();let H=c!==void 0?c:Qs(_)===Qs(R),T=()=>j(n,{replace:H,unstable_mask:r,state:d,preventScrollReset:h,relative:p,viewTransition:v,unstable_defaultShouldRevalidate:g});y?S.startTransition(()=>T()):T()}},[_,j,R,c,r,d,s,n,h,p,v,g,y])}var w_=0,O_=()=>`__${String(++w_)}__`;function M_(){let{router:n}=k1("useSubmit"),{basename:s}=S.useContext(ta),c=Jg(),r=n.fetch,d=n.navigate;return S.useCallback(async(h,p={})=>{let{action:v,method:g,encType:y,formData:j,body:_}=c_(h,s);if(p.navigate===!1){let R=p.fetcherKey||O_();await r(R,c,p.action||v,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:j,body:_,formMethod:p.method||g,formEncType:p.encType||y,flushSync:p.flushSync})}else await d(p.action||v,{unstable_defaultShouldRevalidate:p.unstable_defaultShouldRevalidate,preventScrollReset:p.preventScrollReset,formData:j,body:_,formMethod:p.method||g,formEncType:p.encType||y,replace:p.replace,state:p.state,fromRouteId:c,flushSync:p.flushSync,viewTransition:p.viewTransition})},[r,d,s,c])}function A_(n,{relative:s}={}){let{basename:c}=S.useContext(ta),r=S.useContext(ja);Ye(r,"useFormAction must be used inside a RouteContext");let[d]=r.matches.slice(-1),h={...au(n||".",{relative:s})},p=aa();if(n==null){h.search=p.search;let v=new URLSearchParams(h.search),g=v.getAll("index");if(g.some(j=>j==="")){v.delete("index"),g.filter(_=>_).forEach(_=>v.append("index",_));let j=v.toString();h.search=j?`?${j}`:""}}return(!n||n===".")&&d.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),c!=="/"&&(h.pathname=h.pathname==="/"?c:ba([c,h.pathname])),Qs(h)}function z_(n,{relative:s}={}){let c=S.useContext(O1);Ye(c!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=k1("useViewTransitionState"),d=au(n,{relative:s});if(!c.isTransitioning)return!1;let h=cl(c.currentLocation.pathname,r)||c.currentLocation.pathname,p=cl(c.nextLocation.pathname,r)||c.nextLocation.pathname;return Ac(d.pathname,p)!=null||Ac(d.pathname,h)!=null}const D_="_btn_8fkbu_1",L_="_primary_8fkbu_17",U_="_danger_8fkbu_27",B_="_ghost_8fkbu_37",H_="_outline_8fkbu_47",Um={btn:D_,primary:L_,danger:U_,ghost:B_,outline:H_};function La({variant:n,children:s,onClick:c,type:r="button",disabled:d}){return o.jsx("button",{type:r,className:`${Um.btn} ${Um[n]}`,onClick:c,disabled:d,children:s})}const q_="_field_zffpb_1",k_="_label_zffpb_7",Q_="_wrap_zffpb_14",G_="_input_zffpb_18",Y_="_readonly_zffpb_37",$_="_copied_zffpb_44",V_="_iconCheck_zffpb_59",X_="_iconLock_zffpb_68",Z_="_withToggle_zffpb_76",K_="_togglePw_zffpb_80",Ra={field:q_,label:k_,wrap:Q_,input:G_,readonly:Y_,copied:$_,iconCheck:V_,iconLock:X_,withToggle:Z_,togglePw:K_};function Ht({label:n,value:s,placeholder:c,type:r="text",onChange:d,readOnly:h,required:p,icon:v}){const[g,y]=S.useState(!1),[j,_]=S.useState(!1),R=r==="password",D=R?j?"text":"password":r,H=()=>{h&&navigator.clipboard.writeText(s).then(()=>{y(!0),setTimeout(()=>y(!1),1500)})};return o.jsxs("div",{className:Ra.field,children:[o.jsx("label",{className:Ra.label,children:n}),o.jsxs("div",{className:Ra.wrap,onClick:H,children:[o.jsx("input",{className:`${Ra.input} ${R?Ra.withToggle:""} ${h?Ra.readonly:""} ${g?Ra.copied:""}`,type:D,...d?{value:s,onChange:T=>d(T.target.value)}:{defaultValue:s},placeholder:c,readOnly:h,required:p}),R&&o.jsx("button",{type:"button",className:Ra.togglePw,onClick:T=>{T.stopPropagation(),_(z=>!z)},"aria-label":j?"Скрыть пароль":"Показать пароль",children:j?o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0112 20c-7 0-11-8-11-8a18.45 18.45 0 015.06-5.94"}),o.jsx("path",{d:"M9.9 4.24A9.12 9.12 0 0112 4c7 0 11 8 11 8a18.5 18.5 0 01-2.16 3.19"}),o.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z"}),o.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}),v==="check"&&o.jsx("span",{className:Ra.iconCheck,children:"✓"}),v==="lock"&&o.jsx("span",{className:Ra.iconLock,children:"🔒"})]})]})}const J_="_notification_m7zar_1",F_="_slideIn_m7zar_1",W_="_notificationWrapper_m7zar_19",I_="_closing_m7zar_24",P_="_slideOut_m7zar_1",e3="_icon_m7zar_52",t3="_success_m7zar_65",a3="_error_m7zar_70",l3="_info_m7zar_75",n3="_warning_m7zar_80",i3="_message_m7zar_85",s3="_close_m7zar_93",pn={notification:J_,slideIn:F_,notificationWrapper:W_,closing:I_,slideOut:P_,icon:e3,success:t3,error:a3,info:l3,warning:n3,message:i3,close:s3},u3={success:"✓",error:"✕",info:"i",warning:"!"};function c3({message:n,status:s,onClose:c}){const[r,d]=S.useState(!1);function h(){d(!0)}function p(){r&&c()}return o.jsxs("div",{className:`${pn.notification} ${pn[s]} ${r?pn.closing:""}`,onAnimationEnd:p,children:[o.jsxs("div",{className:pn.notificationWrapper,children:[o.jsx("span",{className:pn.icon,children:u3[s]}),o.jsx("p",{className:pn.message,children:n})]}),o.jsx("button",{className:pn.close,onClick:h,children:"✕"})]})}const r3="_pill_3oadq_1",o3={pill:r3};function f3({children:n}){return o.jsx("span",{className:o3.pill,children:n})}const d3="_btn_ytb12_1",h3={btn:d3};function Hc({label:n="Подтвердить своп",onClick:s,type:c="submit",disabled:r}){return o.jsx("button",{type:c,className:h3.btn,onClick:s,disabled:r,children:n})}const m3="_icon_73irc_1",p3={icon:m3};function Bm({letter:n,color:s,logo:c,size:r=40}){return o.jsx("div",{className:p3.icon,style:{background:c?"transparent":s,width:r,height:r,fontSize:r*.45},children:c?o.jsx("img",{src:c,alt:n,style:{width:r*.7,height:r*.7}}):n})}const y3="_section_11f1k_1",v3="_wrap_11f1k_7",g3="_descBlock_11f1k_16",_3="_descText_11f1k_22",b3="_right_11f1k_33",x3="_glow_11f1k_37",S3="_row_11f1k_49",j3="_check_11f1k_87",E3="_text_11f1k_101",wa={section:y3,wrap:v3,descBlock:g3,descText:_3,right:b3,glow:x3,row:S3,check:j3,text:E3},N3="_title_1oq3h_1",T3={title:N3};function Q1({children:n}){return o.jsx("h2",{className:T3.title,children:n})}const Hm=["Вся деятельность компании соответствует законодательству Российской Федерации и требованиям регуляторов","Вся документация компании открыта и доступна для ознакомления","Операции защищены шифрованием уровня ERC-20 и проходят верификацию в блокчейне"];function C3(){const[n,s]=S.useState(-1);return o.jsx("section",{id:"about",className:wa.section,children:o.jsxs("div",{className:wa.wrap,children:[o.jsxs("div",{children:[o.jsx(f3,{children:"О КОМПАНИИ"}),o.jsx(Q1,{children:"О нас"}),o.jsxs("div",{className:wa.descBlock,children:[o.jsx("p",{className:wa.descText,children:"ЭКСА — молодая финтех-компания в сфере цифровых активов. Наша миссия — сделать оборот цифровых активов простым, прозрачным и законным."}),o.jsx("p",{className:wa.descText,children:"Мы создаём инфраструктуру для операций с криптовалютой и комплексные решения для физических и юридических лиц."})]})]}),o.jsxs("div",{className:wa.right,children:[o.jsx("div",{className:wa.glow}),Hm.map((c,r)=>o.jsxs("div",{className:wa.row,"data-hovered":n===r||void 0,"data-last":r===Hm.length-1||void 0,onMouseEnter:()=>s(r),onMouseLeave:()=>s(-1),children:[o.jsx("div",{className:wa.check,children:"✓"}),o.jsx("span",{className:wa.text,children:c})]},r))]})]})})}const R3=3,G1=80,Y1=21,sl=[{min:5e3,max:3e4,pct:8},{min:3e4,max:1e5,pct:6},{min:1e5,max:6e5,pct:4}],gf=sl[0].min,Nf=sl[sl.length-1].max;function w3(n){const s=sl.find(c=>n>=c.min&&n<=c.max);return s||(n>Nf?{pct:sl[sl.length-1].pct}:{pct:sl[0].pct})}function s0(n){return n<=gf?0:n>=Nf?100:(n-gf)/(Nf-gf)*100}function $1({usdtRate:n}){const[s,c]=S.useState("buy"),[r,d]=S.useState("1000"),[h,p]=S.useState(!1),v=Number.parseFloat(r)||0,g=S.useMemo(()=>{const _=w3(v),R=v*_.pct/100,H=n*(1+(s==="buy"?1:-1)*_.pct/100),T=v>0?(v/H).toFixed(2):"0.00";return{tierPct:_.pct,commission:R,effectiveRate:H,usdtVal:T,progress:s0(v)}},[v,s,n]);function y(_){d(_.replace(/[^0-9.]/g,""))}function j(){c(_=>_==="buy"?"sell":"buy")}return{mode:s,setMode:c,rubVal:r,updateRub:y,numRub:v,agreed:h,setAgreed:p,toggleMode:j,...g}}var On=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gn,Ul,vi,o1,O3=(o1=class extends On{constructor(){super();K(this,gn);K(this,Ul);K(this,vi);G(this,vi,s=>{if(typeof window<"u"&&window.addEventListener){const c=()=>s();return window.addEventListener("visibilitychange",c,!1),()=>{window.removeEventListener("visibilitychange",c)}}})}onSubscribe(){b(this,Ul)||this.setEventListener(b(this,vi))}onUnsubscribe(){var s;this.hasListeners()||((s=b(this,Ul))==null||s.call(this),G(this,Ul,void 0))}setEventListener(s){var c;G(this,vi,s),(c=b(this,Ul))==null||c.call(this),G(this,Ul,s(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(s){b(this,gn)!==s&&(G(this,gn,s),this.onFocus())}onFocus(){const s=this.isFocused();this.listeners.forEach(c=>{c(s)})}isFocused(){var s;return typeof b(this,gn)=="boolean"?b(this,gn):((s=globalThis.document)==null?void 0:s.visibilityState)!=="hidden"}},gn=new WeakMap,Ul=new WeakMap,vi=new WeakMap,o1),u0=new O3,M3={setTimeout:(n,s)=>setTimeout(n,s),clearTimeout:n=>clearTimeout(n),setInterval:(n,s)=>setInterval(n,s),clearInterval:n=>clearInterval(n)},Bl,Jf,f1,A3=(f1=class{constructor(){K(this,Bl,M3);K(this,Jf,!1)}setTimeoutProvider(n){G(this,Bl,n)}setTimeout(n,s){return b(this,Bl).setTimeout(n,s)}clearTimeout(n){b(this,Bl).clearTimeout(n)}setInterval(n,s){return b(this,Bl).setInterval(n,s)}clearInterval(n){b(this,Bl).clearInterval(n)}},Bl=new WeakMap,Jf=new WeakMap,f1),vn=new A3;function z3(n){setTimeout(n,0)}var D3=typeof window>"u"||"Deno"in globalThis;function bt(){}function L3(n,s){return typeof n=="function"?n(s):n}function Tf(n){return typeof n=="number"&&n>=0&&n!==1/0}function V1(n,s){return Math.max(n+(s||0)-Date.now(),0)}function Xl(n,s){return typeof n=="function"?n(s):n}function ea(n,s){return typeof n=="function"?n(s):n}function qm(n,s){const{type:c="all",exact:r,fetchStatus:d,predicate:h,queryKey:p,stale:v}=n;if(p){if(r){if(s.queryHash!==c0(p,s.options))return!1}else if(!Gs(s.queryKey,p))return!1}if(c!=="all"){const g=s.isActive();if(c==="active"&&!g||c==="inactive"&&g)return!1}return!(typeof v=="boolean"&&s.isStale()!==v||d&&d!==s.state.fetchStatus||h&&!h(s))}function km(n,s){const{exact:c,status:r,predicate:d,mutationKey:h}=n;if(h){if(!s.options.mutationKey)return!1;if(c){if(wn(s.options.mutationKey)!==wn(h))return!1}else if(!Gs(s.options.mutationKey,h))return!1}return!(r&&s.state.status!==r||d&&!d(s))}function c0(n,s){return((s==null?void 0:s.queryKeyHashFn)||wn)(n)}function wn(n){return JSON.stringify(n,(s,c)=>Cf(c)?Object.keys(c).sort().reduce((r,d)=>(r[d]=c[d],r),{}):c)}function Gs(n,s){return n===s?!0:typeof n!=typeof s?!1:n&&s&&typeof n=="object"&&typeof s=="object"?Object.keys(s).every(c=>Gs(n[c],s[c])):!1}var U3=Object.prototype.hasOwnProperty;function r0(n,s,c=0){if(n===s)return n;if(c>500)return s;const r=Qm(n)&&Qm(s);if(!r&&!(Cf(n)&&Cf(s)))return s;const h=(r?n:Object.keys(n)).length,p=r?s:Object.keys(s),v=p.length,g=r?new Array(v):{};let y=0;for(let j=0;j<v;j++){const _=r?j:p[j],R=n[_],D=s[_];if(R===D){g[_]=R,(r?j<h:U3.call(n,_))&&y++;continue}if(R===null||D===null||typeof R!="object"||typeof D!="object"){g[_]=D;continue}const H=r0(R,D,c+1);g[_]=H,H===R&&y++}return h===v&&y===h?n:g}function Ys(n,s){if(!s||Object.keys(n).length!==Object.keys(s).length)return!1;for(const c in n)if(n[c]!==s[c])return!1;return!0}function Qm(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function Cf(n){if(!Gm(n))return!1;const s=n.constructor;if(s===void 0)return!0;const c=s.prototype;return!(!Gm(c)||!c.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function Gm(n){return Object.prototype.toString.call(n)==="[object Object]"}function B3(n){return new Promise(s=>{vn.setTimeout(s,n)})}function Rf(n,s,c){return typeof c.structuralSharing=="function"?c.structuralSharing(n,s):c.structuralSharing!==!1?r0(n,s):s}function H3(n,s,c=0){const r=[...n,s];return c&&r.length>c?r.slice(1):r}function q3(n,s,c=0){const r=[s,...n];return c&&r.length>c?r.slice(0,-1):r}var o0=Symbol();function X1(n,s){return!n.queryFn&&(s!=null&&s.initialPromise)?()=>s.initialPromise:!n.queryFn||n.queryFn===o0?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function f0(n,s){return typeof n=="function"?n(...s):!!n}function k3(n,s,c){let r=!1,d;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(d??(d=s()),r||(r=!0,d.aborted?c():d.addEventListener("abort",c,{once:!0})),d)}),n}var $s=(()=>{let n=()=>D3;return{isServer(){return n()},setIsServer(s){n=s}}})();function wf(){let n,s;const c=new Promise((d,h)=>{n=d,s=h});c.status="pending",c.catch(()=>{});function r(d){Object.assign(c,d),delete c.resolve,delete c.reject}return c.resolve=d=>{r({status:"fulfilled",value:d}),n(d)},c.reject=d=>{r({status:"rejected",reason:d}),s(d)},c}var Q3=z3;function G3(){let n=[],s=0,c=v=>{v()},r=v=>{v()},d=Q3;const h=v=>{s?n.push(v):d(()=>{c(v)})},p=()=>{const v=n;n=[],v.length&&d(()=>{r(()=>{v.forEach(g=>{c(g)})})})};return{batch:v=>{let g;s++;try{g=v()}finally{s--,s||p()}return g},batchCalls:v=>(...g)=>{h(()=>{v(...g)})},schedule:h,setNotifyFunction:v=>{c=v},setBatchNotifyFunction:v=>{r=v},setScheduler:v=>{d=v}}}var Ke=G3(),gi,Hl,_i,d1,Y3=(d1=class extends On{constructor(){super();K(this,gi,!0);K(this,Hl);K(this,_i);G(this,_i,s=>{if(typeof window<"u"&&window.addEventListener){const c=()=>s(!0),r=()=>s(!1);return window.addEventListener("online",c,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",c),window.removeEventListener("offline",r)}}})}onSubscribe(){b(this,Hl)||this.setEventListener(b(this,_i))}onUnsubscribe(){var s;this.hasListeners()||((s=b(this,Hl))==null||s.call(this),G(this,Hl,void 0))}setEventListener(s){var c;G(this,_i,s),(c=b(this,Hl))==null||c.call(this),G(this,Hl,s(this.setOnline.bind(this)))}setOnline(s){b(this,gi)!==s&&(G(this,gi,s),this.listeners.forEach(r=>{r(s)}))}isOnline(){return b(this,gi)}},gi=new WeakMap,Hl=new WeakMap,_i=new WeakMap,d1),Dc=new Y3;function $3(n){return Math.min(1e3*2**n,3e4)}function Z1(n){return(n??"online")==="online"?Dc.isOnline():!0}var Of=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function K1(n){let s=!1,c=0,r;const d=wf(),h=()=>d.status!=="pending",p=T=>{var z;if(!h()){const U=new Of(T);R(U),(z=n.onCancel)==null||z.call(n,U)}},v=()=>{s=!0},g=()=>{s=!1},y=()=>u0.isFocused()&&(n.networkMode==="always"||Dc.isOnline())&&n.canRun(),j=()=>Z1(n.networkMode)&&n.canRun(),_=T=>{h()||(r==null||r(),d.resolve(T))},R=T=>{h()||(r==null||r(),d.reject(T))},D=()=>new Promise(T=>{var z;r=U=>{(h()||y())&&T(U)},(z=n.onPause)==null||z.call(n)}).then(()=>{var T;r=void 0,h()||(T=n.onContinue)==null||T.call(n)}),H=()=>{if(h())return;let T;const z=c===0?n.initialPromise:void 0;try{T=z??n.fn()}catch(U){T=Promise.reject(U)}Promise.resolve(T).then(_).catch(U=>{var ce;if(h())return;const Z=n.retry??($s.isServer()?0:3),Y=n.retryDelay??$3,$=typeof Y=="function"?Y(c,U):Y,te=Z===!0||typeof Z=="number"&&c<Z||typeof Z=="function"&&Z(c,U);if(s||!te){R(U);return}c++,(ce=n.onFail)==null||ce.call(n,c,U),B3($).then(()=>y()?void 0:D()).then(()=>{s?R(U):H()})})};return{promise:d,status:()=>d.status,cancel:p,continue:()=>(r==null||r(),d),cancelRetry:v,continueRetry:g,canStart:j,start:()=>(j()?H():D().then(H),d)}}var _n,h1,J1=(h1=class{constructor(){K(this,_n)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Tf(this.gcTime)&&G(this,_n,vn.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??($s.isServer()?1/0:300*1e3))}clearGcTimeout(){b(this,_n)!==void 0&&(vn.clearTimeout(b(this,_n)),G(this,_n,void 0))}},_n=new WeakMap,h1);function V3(n){return{onFetch:(s,c)=>{var j,_,R,D,H;const r=s.options,d=(R=(_=(j=s.fetchOptions)==null?void 0:j.meta)==null?void 0:_.fetchMore)==null?void 0:R.direction,h=((D=s.state.data)==null?void 0:D.pages)||[],p=((H=s.state.data)==null?void 0:H.pageParams)||[];let v={pages:[],pageParams:[]},g=0;const y=async()=>{let T=!1;const z=Y=>{k3(Y,()=>s.signal,()=>T=!0)},U=X1(s.options,s.fetchOptions),Z=async(Y,$,te)=>{if(T)return Promise.reject(s.signal.reason);if($==null&&Y.pages.length)return Promise.resolve(Y);const I=(()=>{const Qe={client:s.client,queryKey:s.queryKey,pageParam:$,direction:te?"backward":"forward",meta:s.options.meta};return z(Qe),Qe})(),ne=await U(I),{maxPages:he}=s.options,Oe=te?q3:H3;return{pages:Oe(Y.pages,ne,he),pageParams:Oe(Y.pageParams,$,he)}};if(d&&h.length){const Y=d==="backward",$=Y?X3:Ym,te={pages:h,pageParams:p},ce=$(r,te);v=await Z(te,ce,Y)}else{const Y=n??h.length;do{const $=g===0?p[0]??r.initialPageParam:Ym(r,v);if(g>0&&$==null)break;v=await Z(v,$),g++}while(g<Y)}return v};s.options.persister?s.fetchFn=()=>{var T,z;return(z=(T=s.options).persister)==null?void 0:z.call(T,y,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},c)}:s.fetchFn=y}}}function Ym(n,{pages:s,pageParams:c}){const r=s.length-1;return s.length>0?n.getNextPageParam(s[r],s,c[r],c):void 0}function X3(n,{pages:s,pageParams:c}){var r;return s.length>0?(r=n.getPreviousPageParam)==null?void 0:r.call(n,s[0],s,c[0],c):void 0}var bi,bn,xi,pa,xn,ct,Vs,Sn,Pt,F1,tl,m1,Z3=(m1=class extends J1{constructor(s){super();K(this,Pt);K(this,bi);K(this,bn);K(this,xi);K(this,pa);K(this,xn);K(this,ct);K(this,Vs);K(this,Sn);G(this,Sn,!1),G(this,Vs,s.defaultOptions),this.setOptions(s.options),this.observers=[],G(this,xn,s.client),G(this,pa,b(this,xn).getQueryCache()),this.queryKey=s.queryKey,this.queryHash=s.queryHash,G(this,bn,Vm(this.options)),this.state=s.state??b(this,bn),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return b(this,bi)}get promise(){var s;return(s=b(this,ct))==null?void 0:s.promise}setOptions(s){if(this.options={...b(this,Vs),...s},s!=null&&s._type&&G(this,bi,s._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const c=Vm(this.options);c.data!==void 0&&(this.setState($m(c.data,c.dataUpdatedAt)),G(this,bn,c))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&b(this,pa).remove(this)}setData(s,c){const r=Rf(this.state.data,s,this.options);return ae(this,Pt,tl).call(this,{data:r,type:"success",dataUpdatedAt:c==null?void 0:c.updatedAt,manual:c==null?void 0:c.manual}),r}setState(s){ae(this,Pt,tl).call(this,{type:"setState",state:s})}cancel(s){var r,d;const c=(r=b(this,ct))==null?void 0:r.promise;return(d=b(this,ct))==null||d.cancel(s),c?c.then(bt).catch(bt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return b(this,bn)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(s=>ea(s.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===o0||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(s=>Xl(s.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(s=>s.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(s=0){return this.state.data===void 0?!0:s==="static"?!1:this.state.isInvalidated?!0:!V1(this.state.dataUpdatedAt,s)}onFocus(){var c;const s=this.observers.find(r=>r.shouldFetchOnWindowFocus());s==null||s.refetch({cancelRefetch:!1}),(c=b(this,ct))==null||c.continue()}onOnline(){var c;const s=this.observers.find(r=>r.shouldFetchOnReconnect());s==null||s.refetch({cancelRefetch:!1}),(c=b(this,ct))==null||c.continue()}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),b(this,pa).notify({type:"observerAdded",query:this,observer:s}))}removeObserver(s){this.observers.includes(s)&&(this.observers=this.observers.filter(c=>c!==s),this.observers.length||(b(this,ct)&&(b(this,Sn)||ae(this,Pt,F1).call(this)?b(this,ct).cancel({revert:!0}):b(this,ct).cancelRetry()),this.scheduleGc()),b(this,pa).notify({type:"observerRemoved",query:this,observer:s}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ae(this,Pt,tl).call(this,{type:"invalidate"})}async fetch(s,c){var y,j,_,R,D,H,T,z,U,Z,Y;if(this.state.fetchStatus!=="idle"&&((y=b(this,ct))==null?void 0:y.status())!=="rejected"){if(this.state.data!==void 0&&(c!=null&&c.cancelRefetch))this.cancel({silent:!0});else if(b(this,ct))return b(this,ct).continueRetry(),b(this,ct).promise}if(s&&this.setOptions(s),!this.options.queryFn){const $=this.observers.find(te=>te.options.queryFn);$&&this.setOptions($.options)}const r=new AbortController,d=$=>{Object.defineProperty($,"signal",{enumerable:!0,get:()=>(G(this,Sn,!0),r.signal)})},h=()=>{const $=X1(this.options,c),ce=(()=>{const I={client:b(this,xn),queryKey:this.queryKey,meta:this.meta};return d(I),I})();return G(this,Sn,!1),this.options.persister?this.options.persister($,ce,this):$(ce)},v=(()=>{const $={fetchOptions:c,options:this.options,queryKey:this.queryKey,client:b(this,xn),state:this.state,fetchFn:h};return d($),$})(),g=b(this,bi)==="infinite"?V3(this.options.pages):this.options.behavior;g==null||g.onFetch(v,this),G(this,xi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((j=v.fetchOptions)==null?void 0:j.meta))&&ae(this,Pt,tl).call(this,{type:"fetch",meta:(_=v.fetchOptions)==null?void 0:_.meta}),G(this,ct,K1({initialPromise:c==null?void 0:c.initialPromise,fn:v.fetchFn,onCancel:$=>{$ instanceof Of&&$.revert&&this.setState({...b(this,xi),fetchStatus:"idle"}),r.abort()},onFail:($,te)=>{ae(this,Pt,tl).call(this,{type:"failed",failureCount:$,error:te})},onPause:()=>{ae(this,Pt,tl).call(this,{type:"pause"})},onContinue:()=>{ae(this,Pt,tl).call(this,{type:"continue"})},retry:v.options.retry,retryDelay:v.options.retryDelay,networkMode:v.options.networkMode,canRun:()=>!0}));try{const $=await b(this,ct).start();if($===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData($),(D=(R=b(this,pa).config).onSuccess)==null||D.call(R,$,this),(T=(H=b(this,pa).config).onSettled)==null||T.call(H,$,this.state.error,this),$}catch($){if($ instanceof Of){if($.silent)return b(this,ct).promise;if($.revert){if(this.state.data===void 0)throw $;return this.state.data}}throw ae(this,Pt,tl).call(this,{type:"error",error:$}),(U=(z=b(this,pa).config).onError)==null||U.call(z,$,this),(Y=(Z=b(this,pa).config).onSettled)==null||Y.call(Z,this.state.data,$,this),$}finally{this.scheduleGc()}}},bi=new WeakMap,bn=new WeakMap,xi=new WeakMap,pa=new WeakMap,xn=new WeakMap,ct=new WeakMap,Vs=new WeakMap,Sn=new WeakMap,Pt=new WeakSet,F1=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},tl=function(s){const c=r=>{switch(s.type){case"failed":return{...r,fetchFailureCount:s.failureCount,fetchFailureReason:s.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...W1(r.data,this.options),fetchMeta:s.meta??null};case"success":const d={...r,...$m(s.data,s.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!s.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return G(this,xi,s.manual?d:void 0),d;case"error":const h=s.error;return{...r,error:h,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:h,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...s.state}}};this.state=c(this.state),Ke.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),b(this,pa).notify({query:this,type:"updated",action:s})})},m1);function W1(n,s){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Z1(s.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function $m(n,s){return{data:n,dataUpdatedAt:s??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Vm(n){const s=typeof n.initialData=="function"?n.initialData():n.initialData,c=s!==void 0,r=c?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:c?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:c?"success":"pending",fetchStatus:"idle"}}var Lt,be,Xs,Tt,jn,Si,al,ql,Zs,ji,Ei,En,Nn,kl,Ni,Te,qs,Mf,Af,zf,Df,Lf,Uf,Bf,I1,p1,d0=(p1=class extends On{constructor(s,c){super();K(this,Te);K(this,Lt);K(this,be);K(this,Xs);K(this,Tt);K(this,jn);K(this,Si);K(this,al);K(this,ql);K(this,Zs);K(this,ji);K(this,Ei);K(this,En);K(this,Nn);K(this,kl);K(this,Ni,new Set);this.options=c,G(this,Lt,s),G(this,ql,null),G(this,al,wf()),this.bindMethods(),this.setOptions(c)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(b(this,be).addObserver(this),Xm(b(this,be),this.options)?ae(this,Te,qs).call(this):this.updateResult(),ae(this,Te,Df).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Hf(b(this,be),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Hf(b(this,be),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ae(this,Te,Lf).call(this),ae(this,Te,Uf).call(this),b(this,be).removeObserver(this)}setOptions(s){const c=this.options,r=b(this,be);if(this.options=b(this,Lt).defaultQueryOptions(s),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ea(this.options.enabled,b(this,be))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ae(this,Te,Bf).call(this),b(this,be).setOptions(this.options),c._defaulted&&!Ys(this.options,c)&&b(this,Lt).getQueryCache().notify({type:"observerOptionsUpdated",query:b(this,be),observer:this});const d=this.hasListeners();d&&Zm(b(this,be),r,this.options,c)&&ae(this,Te,qs).call(this),this.updateResult(),d&&(b(this,be)!==r||ea(this.options.enabled,b(this,be))!==ea(c.enabled,b(this,be))||Xl(this.options.staleTime,b(this,be))!==Xl(c.staleTime,b(this,be)))&&ae(this,Te,Mf).call(this);const h=ae(this,Te,Af).call(this);d&&(b(this,be)!==r||ea(this.options.enabled,b(this,be))!==ea(c.enabled,b(this,be))||h!==b(this,kl))&&ae(this,Te,zf).call(this,h)}getOptimisticResult(s){const c=b(this,Lt).getQueryCache().build(b(this,Lt),s),r=this.createResult(c,s);return J3(this,r)&&(G(this,Tt,r),G(this,Si,this.options),G(this,jn,b(this,be).state)),r}getCurrentResult(){return b(this,Tt)}trackResult(s,c){return new Proxy(s,{get:(r,d)=>(this.trackProp(d),c==null||c(d),d==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&b(this,al).status==="pending"&&b(this,al).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,d))})}trackProp(s){b(this,Ni).add(s)}getCurrentQuery(){return b(this,be)}refetch({...s}={}){return this.fetch({...s})}fetchOptimistic(s){const c=b(this,Lt).defaultQueryOptions(s),r=b(this,Lt).getQueryCache().build(b(this,Lt),c);return r.fetch().then(()=>this.createResult(r,c))}fetch(s){return ae(this,Te,qs).call(this,{...s,cancelRefetch:s.cancelRefetch??!0}).then(()=>(this.updateResult(),b(this,Tt)))}createResult(s,c){var he;const r=b(this,be),d=this.options,h=b(this,Tt),p=b(this,jn),v=b(this,Si),y=s!==r?s.state:b(this,Xs),{state:j}=s;let _={...j},R=!1,D;if(c._optimisticResults){const Oe=this.hasListeners(),Qe=!Oe&&Xm(s,c),ie=Oe&&Zm(s,r,c,d);(Qe||ie)&&(_={..._,...W1(j.data,s.options)}),c._optimisticResults==="isRestoring"&&(_.fetchStatus="idle")}let{error:H,errorUpdatedAt:T,status:z}=_;D=_.data;let U=!1;if(c.placeholderData!==void 0&&D===void 0&&z==="pending"){let Oe;h!=null&&h.isPlaceholderData&&c.placeholderData===(v==null?void 0:v.placeholderData)?(Oe=h.data,U=!0):Oe=typeof c.placeholderData=="function"?c.placeholderData((he=b(this,Ei))==null?void 0:he.state.data,b(this,Ei)):c.placeholderData,Oe!==void 0&&(z="success",D=Rf(h==null?void 0:h.data,Oe,c),R=!0)}if(c.select&&D!==void 0&&!U)if(h&&D===(p==null?void 0:p.data)&&c.select===b(this,Zs))D=b(this,ji);else try{G(this,Zs,c.select),D=c.select(D),D=Rf(h==null?void 0:h.data,D,c),G(this,ji,D),G(this,ql,null)}catch(Oe){G(this,ql,Oe)}b(this,ql)&&(H=b(this,ql),D=b(this,ji),T=Date.now(),z="error");const Z=_.fetchStatus==="fetching",Y=z==="pending",$=z==="error",te=Y&&Z,ce=D!==void 0,ne={status:z,fetchStatus:_.fetchStatus,isPending:Y,isSuccess:z==="success",isError:$,isInitialLoading:te,isLoading:te,data:D,dataUpdatedAt:_.dataUpdatedAt,error:H,errorUpdatedAt:T,failureCount:_.fetchFailureCount,failureReason:_.fetchFailureReason,errorUpdateCount:_.errorUpdateCount,isFetched:s.isFetched(),isFetchedAfterMount:_.dataUpdateCount>y.dataUpdateCount||_.errorUpdateCount>y.errorUpdateCount,isFetching:Z,isRefetching:Z&&!Y,isLoadingError:$&&!ce,isPaused:_.fetchStatus==="paused",isPlaceholderData:R,isRefetchError:$&&ce,isStale:h0(s,c),refetch:this.refetch,promise:b(this,al),isEnabled:ea(c.enabled,s)!==!1};if(this.options.experimental_prefetchInRender){const Oe=ne.data!==void 0,Qe=ne.status==="error"&&!Oe,ie=He=>{Qe?He.reject(ne.error):Oe&&He.resolve(ne.data)},xt=()=>{const He=G(this,al,ne.promise=wf());ie(He)},rt=b(this,al);switch(rt.status){case"pending":s.queryHash===r.queryHash&&ie(rt);break;case"fulfilled":(Qe||ne.data!==rt.value)&&xt();break;case"rejected":(!Qe||ne.error!==rt.reason)&&xt();break}}return ne}updateResult(){const s=b(this,Tt),c=this.createResult(b(this,be),this.options);if(G(this,jn,b(this,be).state),G(this,Si,this.options),b(this,jn).data!==void 0&&G(this,Ei,b(this,be)),Ys(c,s))return;G(this,Tt,c);const r=()=>{if(!s)return!0;const{notifyOnChangeProps:d}=this.options,h=typeof d=="function"?d():d;if(h==="all"||!h&&!b(this,Ni).size)return!0;const p=new Set(h??b(this,Ni));return this.options.throwOnError&&p.add("error"),Object.keys(b(this,Tt)).some(v=>{const g=v;return b(this,Tt)[g]!==s[g]&&p.has(g)})};ae(this,Te,I1).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ae(this,Te,Df).call(this)}},Lt=new WeakMap,be=new WeakMap,Xs=new WeakMap,Tt=new WeakMap,jn=new WeakMap,Si=new WeakMap,al=new WeakMap,ql=new WeakMap,Zs=new WeakMap,ji=new WeakMap,Ei=new WeakMap,En=new WeakMap,Nn=new WeakMap,kl=new WeakMap,Ni=new WeakMap,Te=new WeakSet,qs=function(s){ae(this,Te,Bf).call(this);let c=b(this,be).fetch(this.options,s);return s!=null&&s.throwOnError||(c=c.catch(bt)),c},Mf=function(){ae(this,Te,Lf).call(this);const s=Xl(this.options.staleTime,b(this,be));if($s.isServer()||b(this,Tt).isStale||!Tf(s))return;const r=V1(b(this,Tt).dataUpdatedAt,s)+1;G(this,En,vn.setTimeout(()=>{b(this,Tt).isStale||this.updateResult()},r))},Af=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(b(this,be)):this.options.refetchInterval)??!1},zf=function(s){ae(this,Te,Uf).call(this),G(this,kl,s),!($s.isServer()||ea(this.options.enabled,b(this,be))===!1||!Tf(b(this,kl))||b(this,kl)===0)&&G(this,Nn,vn.setInterval(()=>{(this.options.refetchIntervalInBackground||u0.isFocused())&&ae(this,Te,qs).call(this)},b(this,kl)))},Df=function(){ae(this,Te,Mf).call(this),ae(this,Te,zf).call(this,ae(this,Te,Af).call(this))},Lf=function(){b(this,En)!==void 0&&(vn.clearTimeout(b(this,En)),G(this,En,void 0))},Uf=function(){b(this,Nn)!==void 0&&(vn.clearInterval(b(this,Nn)),G(this,Nn,void 0))},Bf=function(){const s=b(this,Lt).getQueryCache().build(b(this,Lt),this.options);if(s===b(this,be))return;const c=b(this,be);G(this,be,s),G(this,Xs,s.state),this.hasListeners()&&(c==null||c.removeObserver(this),s.addObserver(this))},I1=function(s){Ke.batch(()=>{s.listeners&&this.listeners.forEach(c=>{c(b(this,Tt))}),b(this,Lt).getQueryCache().notify({query:b(this,be),type:"observerResultsUpdated"})})},p1);function K3(n,s){return ea(s.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&ea(s.retryOnMount,n)===!1)}function Xm(n,s){return K3(n,s)||n.state.data!==void 0&&Hf(n,s,s.refetchOnMount)}function Hf(n,s,c){if(ea(s.enabled,n)!==!1&&Xl(s.staleTime,n)!=="static"){const r=typeof c=="function"?c(n):c;return r==="always"||r!==!1&&h0(n,s)}return!1}function Zm(n,s,c,r){return(n!==s||ea(r.enabled,n)===!1)&&(!c.suspense||n.state.status!=="error")&&h0(n,c)}function h0(n,s){return ea(s.enabled,n)!==!1&&n.isStaleByTime(Xl(s.staleTime,n))}function J3(n,s){return!Ys(n.getCurrentResult(),s)}var Ks,Aa,_t,Tn,za,Ll,y1,F3=(y1=class extends J1{constructor(s){super();K(this,za);K(this,Ks);K(this,Aa);K(this,_t);K(this,Tn);G(this,Ks,s.client),this.mutationId=s.mutationId,G(this,_t,s.mutationCache),G(this,Aa,[]),this.state=s.state||P1(),this.setOptions(s.options),this.scheduleGc()}setOptions(s){this.options=s,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(s){b(this,Aa).includes(s)||(b(this,Aa).push(s),this.clearGcTimeout(),b(this,_t).notify({type:"observerAdded",mutation:this,observer:s}))}removeObserver(s){G(this,Aa,b(this,Aa).filter(c=>c!==s)),this.scheduleGc(),b(this,_t).notify({type:"observerRemoved",mutation:this,observer:s})}optionalRemove(){b(this,Aa).length||(this.state.status==="pending"?this.scheduleGc():b(this,_t).remove(this))}continue(){var s;return((s=b(this,Tn))==null?void 0:s.continue())??this.execute(this.state.variables)}async execute(s){var p,v,g,y,j,_,R,D,H,T,z,U,Z,Y,$,te,ce,I;const c=()=>{ae(this,za,Ll).call(this,{type:"continue"})},r={client:b(this,Ks),meta:this.options.meta,mutationKey:this.options.mutationKey};G(this,Tn,K1({fn:()=>this.options.mutationFn?this.options.mutationFn(s,r):Promise.reject(new Error("No mutationFn found")),onFail:(ne,he)=>{ae(this,za,Ll).call(this,{type:"failed",failureCount:ne,error:he})},onPause:()=>{ae(this,za,Ll).call(this,{type:"pause"})},onContinue:c,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>b(this,_t).canRun(this)}));const d=this.state.status==="pending",h=!b(this,Tn).canStart();try{if(d)c();else{ae(this,za,Ll).call(this,{type:"pending",variables:s,isPaused:h}),b(this,_t).config.onMutate&&await b(this,_t).config.onMutate(s,this,r);const he=await((v=(p=this.options).onMutate)==null?void 0:v.call(p,s,r));he!==this.state.context&&ae(this,za,Ll).call(this,{type:"pending",context:he,variables:s,isPaused:h})}const ne=await b(this,Tn).start();return await((y=(g=b(this,_t).config).onSuccess)==null?void 0:y.call(g,ne,s,this.state.context,this,r)),await((_=(j=this.options).onSuccess)==null?void 0:_.call(j,ne,s,this.state.context,r)),await((D=(R=b(this,_t).config).onSettled)==null?void 0:D.call(R,ne,null,this.state.variables,this.state.context,this,r)),await((T=(H=this.options).onSettled)==null?void 0:T.call(H,ne,null,s,this.state.context,r)),ae(this,za,Ll).call(this,{type:"success",data:ne}),ne}catch(ne){try{await((U=(z=b(this,_t).config).onError)==null?void 0:U.call(z,ne,s,this.state.context,this,r))}catch(he){Promise.reject(he)}try{await((Y=(Z=this.options).onError)==null?void 0:Y.call(Z,ne,s,this.state.context,r))}catch(he){Promise.reject(he)}try{await((te=($=b(this,_t).config).onSettled)==null?void 0:te.call($,void 0,ne,this.state.variables,this.state.context,this,r))}catch(he){Promise.reject(he)}try{await((I=(ce=this.options).onSettled)==null?void 0:I.call(ce,void 0,ne,s,this.state.context,r))}catch(he){Promise.reject(he)}throw ae(this,za,Ll).call(this,{type:"error",error:ne}),ne}finally{b(this,_t).runNext(this)}}},Ks=new WeakMap,Aa=new WeakMap,_t=new WeakMap,Tn=new WeakMap,za=new WeakSet,Ll=function(s){const c=r=>{switch(s.type){case"failed":return{...r,failureCount:s.failureCount,failureReason:s.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:s.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:s.isPaused,status:"pending",variables:s.variables,submittedAt:Date.now()};case"success":return{...r,data:s.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:s.error,failureCount:r.failureCount+1,failureReason:s.error,isPaused:!1,status:"error"}}};this.state=c(this.state),Ke.batch(()=>{b(this,Aa).forEach(r=>{r.onMutationUpdate(s)}),b(this,_t).notify({mutation:this,type:"updated",action:s})})},y1);function P1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ll,_a,Js,v1,W3=(v1=class extends On{constructor(s={}){super();K(this,ll);K(this,_a);K(this,Js);this.config=s,G(this,ll,new Set),G(this,_a,new Map),G(this,Js,0)}build(s,c,r){const d=new F3({client:s,mutationCache:this,mutationId:++jc(this,Js)._,options:s.defaultMutationOptions(c),state:r});return this.add(d),d}add(s){b(this,ll).add(s);const c=Nc(s);if(typeof c=="string"){const r=b(this,_a).get(c);r?r.push(s):b(this,_a).set(c,[s])}this.notify({type:"added",mutation:s})}remove(s){if(b(this,ll).delete(s)){const c=Nc(s);if(typeof c=="string"){const r=b(this,_a).get(c);if(r)if(r.length>1){const d=r.indexOf(s);d!==-1&&r.splice(d,1)}else r[0]===s&&b(this,_a).delete(c)}}this.notify({type:"removed",mutation:s})}canRun(s){const c=Nc(s);if(typeof c=="string"){const r=b(this,_a).get(c),d=r==null?void 0:r.find(h=>h.state.status==="pending");return!d||d===s}else return!0}runNext(s){var r;const c=Nc(s);if(typeof c=="string"){const d=(r=b(this,_a).get(c))==null?void 0:r.find(h=>h!==s&&h.state.isPaused);return(d==null?void 0:d.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ke.batch(()=>{b(this,ll).forEach(s=>{this.notify({type:"removed",mutation:s})}),b(this,ll).clear(),b(this,_a).clear()})}getAll(){return Array.from(b(this,ll))}find(s){const c={exact:!0,...s};return this.getAll().find(r=>km(c,r))}findAll(s={}){return this.getAll().filter(c=>km(s,c))}notify(s){Ke.batch(()=>{this.listeners.forEach(c=>{c(s)})})}resumePausedMutations(){const s=this.getAll().filter(c=>c.state.isPaused);return Ke.batch(()=>Promise.all(s.map(c=>c.continue().catch(bt))))}},ll=new WeakMap,_a=new WeakMap,Js=new WeakMap,v1);function Nc(n){var s;return(s=n.options.scope)==null?void 0:s.id}var nl,Ql,Ut,il,ul,Mc,qf,g1,I3=(g1=class extends On{constructor(c,r){super();K(this,ul);K(this,nl);K(this,Ql);K(this,Ut);K(this,il);G(this,nl,c),this.setOptions(r),this.bindMethods(),ae(this,ul,Mc).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(c){var d;const r=this.options;this.options=b(this,nl).defaultMutationOptions(c),Ys(this.options,r)||b(this,nl).getMutationCache().notify({type:"observerOptionsUpdated",mutation:b(this,Ut),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&wn(r.mutationKey)!==wn(this.options.mutationKey)?this.reset():((d=b(this,Ut))==null?void 0:d.state.status)==="pending"&&b(this,Ut).setOptions(this.options)}onUnsubscribe(){var c;this.hasListeners()||(c=b(this,Ut))==null||c.removeObserver(this)}onMutationUpdate(c){ae(this,ul,Mc).call(this),ae(this,ul,qf).call(this,c)}getCurrentResult(){return b(this,Ql)}reset(){var c;(c=b(this,Ut))==null||c.removeObserver(this),G(this,Ut,void 0),ae(this,ul,Mc).call(this),ae(this,ul,qf).call(this)}mutate(c,r){var d;return G(this,il,r),(d=b(this,Ut))==null||d.removeObserver(this),G(this,Ut,b(this,nl).getMutationCache().build(b(this,nl),this.options)),b(this,Ut).addObserver(this),b(this,Ut).execute(c)}},nl=new WeakMap,Ql=new WeakMap,Ut=new WeakMap,il=new WeakMap,ul=new WeakSet,Mc=function(){var r;const c=((r=b(this,Ut))==null?void 0:r.state)??P1();G(this,Ql,{...c,isPending:c.status==="pending",isSuccess:c.status==="success",isError:c.status==="error",isIdle:c.status==="idle",mutate:this.mutate,reset:this.reset})},qf=function(c){Ke.batch(()=>{var r,d,h,p,v,g,y,j;if(b(this,il)&&this.hasListeners()){const _=b(this,Ql).variables,R=b(this,Ql).context,D={client:b(this,nl),meta:this.options.meta,mutationKey:this.options.mutationKey};if((c==null?void 0:c.type)==="success"){try{(d=(r=b(this,il)).onSuccess)==null||d.call(r,c.data,_,R,D)}catch(H){Promise.reject(H)}try{(p=(h=b(this,il)).onSettled)==null||p.call(h,c.data,null,_,R,D)}catch(H){Promise.reject(H)}}else if((c==null?void 0:c.type)==="error"){try{(g=(v=b(this,il)).onError)==null||g.call(v,c.error,_,R,D)}catch(H){Promise.reject(H)}try{(j=(y=b(this,il)).onSettled)==null||j.call(y,void 0,c.error,_,R,D)}catch(H){Promise.reject(H)}}}this.listeners.forEach(_=>{_(b(this,Ql))})})},g1);function Km(n,s){const c=new Set(s);return n.filter(r=>!c.has(r))}function P3(n,s,c){const r=n.slice(0);return r[s]=c,r}var Ti,Bt,Ci,Cn,It,Gl,Fs,Ws,Is,Ps,it,kf,Qf,ep,Gf,Yf,$f,_1,eb=(_1=class extends On{constructor(s,c,r){super();K(this,it);K(this,Ti);K(this,Bt);K(this,Ci);K(this,Cn);K(this,It);K(this,Gl);K(this,Fs);K(this,Ws);K(this,Is);K(this,Ps,[]);G(this,Ti,s),G(this,Cn,r),G(this,Ci,[]),G(this,It,[]),G(this,Bt,[]),this.setQueries(c)}onSubscribe(){this.listeners.size===1&&b(this,It).forEach(s=>{s.subscribe(c=>{ae(this,it,Yf).call(this,s,c)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,b(this,It).forEach(s=>{s.destroy()})}setQueries(s,c){G(this,Ci,s),G(this,Cn,c),Ke.batch(()=>{const r=b(this,It),d=ae(this,it,Gf).call(this,b(this,Ci));d.forEach(_=>_.observer.setOptions(_.defaultedQueryOptions));const h=d.map(_=>_.observer),p=h.map(_=>_.getCurrentResult()),v=r.length!==h.length,g=h.some((_,R)=>_!==r[R]),y=v||g,j=y?!0:p.some((_,R)=>{const D=b(this,Bt)[R];return!D||!Ys(_,D)});!y&&!j||(y&&(G(this,Ps,d),G(this,It,h)),G(this,Bt,p),this.hasListeners()&&(y&&(Km(r,h).forEach(_=>{_.destroy()}),Km(h,r).forEach(_=>{_.subscribe(R=>{ae(this,it,Yf).call(this,_,R)})})),ae(this,it,$f).call(this)))})}getCurrentResult(){return b(this,Bt)}getQueries(){return b(this,It).map(s=>s.getCurrentQuery())}getObservers(){return b(this,It)}getOptimisticResult(s,c){const r=ae(this,it,Gf).call(this,s),d=r.map(p=>p.observer.getOptimisticResult(p.defaultedQueryOptions)),h=r.map(p=>p.defaultedQueryOptions.queryHash);return[d,p=>ae(this,it,Qf).call(this,p??d,c,h),()=>ae(this,it,kf).call(this,d,r)]}},Ti=new WeakMap,Bt=new WeakMap,Ci=new WeakMap,Cn=new WeakMap,It=new WeakMap,Gl=new WeakMap,Fs=new WeakMap,Ws=new WeakMap,Is=new WeakMap,Ps=new WeakMap,it=new WeakSet,kf=function(s,c){return c.map((r,d)=>{const h=s[d];return r.defaultedQueryOptions.notifyOnChangeProps?h:r.observer.trackResult(h,p=>{c.forEach(v=>{v.observer.trackProp(p)})})})},Qf=function(s,c,r){if(c){const d=b(this,Is),h=r!==void 0&&d!==void 0&&(d.length!==r.length||r.some((p,v)=>p!==d[v]));return(!b(this,Gl)||b(this,Bt)!==b(this,Ws)||h||c!==b(this,Fs))&&(G(this,Fs,c),G(this,Ws,b(this,Bt)),r!==void 0&&G(this,Is,r),G(this,Gl,r0(b(this,Gl),c(s)))),b(this,Gl)}return s},ep=function(){var s;return((s=b(this,Cn))==null?void 0:s.combine)!==void 0&&b(this,It).some((c,r)=>{var d;return c.options.suspense&&((d=b(this,Bt)[r])==null?void 0:d.data)===void 0})},Gf=function(s){const c=new Map;b(this,It).forEach(d=>{const h=d.options.queryHash;if(!h)return;const p=c.get(h);p?p.push(d):c.set(h,[d])});const r=[];return s.forEach(d=>{var g;const h=b(this,Ti).defaultQueryOptions(d),v=((g=c.get(h.queryHash))==null?void 0:g.shift())??new d0(b(this,Ti),h);r.push({defaultedQueryOptions:h,observer:v})}),r},Yf=function(s,c){const r=b(this,It).indexOf(s);r!==-1&&(G(this,Bt,P3(b(this,Bt),r,c)),ae(this,it,$f).call(this))},$f=function(){var s;if(this.hasListeners()){const c=ae(this,it,kf).call(this,b(this,Bt),b(this,Ps)),r=ae(this,it,ep).call(this),d=b(this,Gl),h=r?d:ae(this,it,Qf).call(this,c,(s=b(this,Cn))==null?void 0:s.combine);(r||d!==h)&&Ke.batch(()=>{this.listeners.forEach(p=>{p(b(this,Bt))})})}},_1),Da,b1,tb=(b1=class extends On{constructor(s={}){super();K(this,Da);this.config=s,G(this,Da,new Map)}build(s,c,r){const d=c.queryKey,h=c.queryHash??c0(d,c);let p=this.get(h);return p||(p=new Z3({client:s,queryKey:d,queryHash:h,options:s.defaultQueryOptions(c),state:r,defaultOptions:s.getQueryDefaults(d)}),this.add(p)),p}add(s){b(this,Da).has(s.queryHash)||(b(this,Da).set(s.queryHash,s),this.notify({type:"added",query:s}))}remove(s){const c=b(this,Da).get(s.queryHash);c&&(s.destroy(),c===s&&b(this,Da).delete(s.queryHash),this.notify({type:"removed",query:s}))}clear(){Ke.batch(()=>{this.getAll().forEach(s=>{this.remove(s)})})}get(s){return b(this,Da).get(s)}getAll(){return[...b(this,Da).values()]}find(s){const c={exact:!0,...s};return this.getAll().find(r=>qm(c,r))}findAll(s={}){const c=this.getAll();return Object.keys(s).length>0?c.filter(r=>qm(s,r)):c}notify(s){Ke.batch(()=>{this.listeners.forEach(c=>{c(s)})})}onFocus(){Ke.batch(()=>{this.getAll().forEach(s=>{s.onFocus()})})}onOnline(){Ke.batch(()=>{this.getAll().forEach(s=>{s.onOnline()})})}},Da=new WeakMap,b1),Ze,Yl,$l,Ri,wi,Vl,Oi,Mi,x1,ab=(x1=class{constructor(n={}){K(this,Ze);K(this,Yl);K(this,$l);K(this,Ri);K(this,wi);K(this,Vl);K(this,Oi);K(this,Mi);G(this,Ze,n.queryCache||new tb),G(this,Yl,n.mutationCache||new W3),G(this,$l,n.defaultOptions||{}),G(this,Ri,new Map),G(this,wi,new Map),G(this,Vl,0)}mount(){jc(this,Vl)._++,b(this,Vl)===1&&(G(this,Oi,u0.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ze).onFocus())})),G(this,Mi,Dc.subscribe(async n=>{n&&(await this.resumePausedMutations(),b(this,Ze).onOnline())})))}unmount(){var n,s;jc(this,Vl)._--,b(this,Vl)===0&&((n=b(this,Oi))==null||n.call(this),G(this,Oi,void 0),(s=b(this,Mi))==null||s.call(this),G(this,Mi,void 0))}isFetching(n){return b(this,Ze).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return b(this,Yl).findAll({...n,status:"pending"}).length}getQueryData(n){var c;const s=this.defaultQueryOptions({queryKey:n});return(c=b(this,Ze).get(s.queryHash))==null?void 0:c.state.data}ensureQueryData(n){const s=this.defaultQueryOptions(n),c=b(this,Ze).build(this,s),r=c.state.data;return r===void 0?this.fetchQuery(n):(n.revalidateIfStale&&c.isStaleByTime(Xl(s.staleTime,c))&&this.prefetchQuery(s),Promise.resolve(r))}getQueriesData(n){return b(this,Ze).findAll(n).map(({queryKey:s,state:c})=>{const r=c.data;return[s,r]})}setQueryData(n,s,c){const r=this.defaultQueryOptions({queryKey:n}),d=b(this,Ze).get(r.queryHash),h=d==null?void 0:d.state.data,p=L3(s,h);if(p!==void 0)return b(this,Ze).build(this,r).setData(p,{...c,manual:!0})}setQueriesData(n,s,c){return Ke.batch(()=>b(this,Ze).findAll(n).map(({queryKey:r})=>[r,this.setQueryData(r,s,c)]))}getQueryState(n){var c;const s=this.defaultQueryOptions({queryKey:n});return(c=b(this,Ze).get(s.queryHash))==null?void 0:c.state}removeQueries(n){const s=b(this,Ze);Ke.batch(()=>{s.findAll(n).forEach(c=>{s.remove(c)})})}resetQueries(n,s){const c=b(this,Ze);return Ke.batch(()=>(c.findAll(n).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...n},s)))}cancelQueries(n,s={}){const c={revert:!0,...s},r=Ke.batch(()=>b(this,Ze).findAll(n).map(d=>d.cancel(c)));return Promise.all(r).then(bt).catch(bt)}invalidateQueries(n,s={}){return Ke.batch(()=>(b(this,Ze).findAll(n).forEach(c=>{c.invalidate()}),(n==null?void 0:n.refetchType)==="none"?Promise.resolve():this.refetchQueries({...n,type:(n==null?void 0:n.refetchType)??(n==null?void 0:n.type)??"active"},s)))}refetchQueries(n,s={}){const c={...s,cancelRefetch:s.cancelRefetch??!0},r=Ke.batch(()=>b(this,Ze).findAll(n).filter(d=>!d.isDisabled()&&!d.isStatic()).map(d=>{let h=d.fetch(void 0,c);return c.throwOnError||(h=h.catch(bt)),d.state.fetchStatus==="paused"?Promise.resolve():h}));return Promise.all(r).then(bt)}fetchQuery(n){const s=this.defaultQueryOptions(n);s.retry===void 0&&(s.retry=!1);const c=b(this,Ze).build(this,s);return c.isStaleByTime(Xl(s.staleTime,c))?c.fetch(s):Promise.resolve(c.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(bt).catch(bt)}fetchInfiniteQuery(n){return n._type="infinite",this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(bt).catch(bt)}ensureInfiniteQueryData(n){return n._type="infinite",this.ensureQueryData(n)}resumePausedMutations(){return Dc.isOnline()?b(this,Yl).resumePausedMutations():Promise.resolve()}getQueryCache(){return b(this,Ze)}getMutationCache(){return b(this,Yl)}getDefaultOptions(){return b(this,$l)}setDefaultOptions(n){G(this,$l,n)}setQueryDefaults(n,s){b(this,Ri).set(wn(n),{queryKey:n,defaultOptions:s})}getQueryDefaults(n){const s=[...b(this,Ri).values()],c={};return s.forEach(r=>{Gs(n,r.queryKey)&&Object.assign(c,r.defaultOptions)}),c}setMutationDefaults(n,s){b(this,wi).set(wn(n),{mutationKey:n,defaultOptions:s})}getMutationDefaults(n){const s=[...b(this,wi).values()],c={};return s.forEach(r=>{Gs(n,r.mutationKey)&&Object.assign(c,r.defaultOptions)}),c}defaultQueryOptions(n){if(n._defaulted)return n;const s={...b(this,$l).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return s.queryHash||(s.queryHash=c0(s.queryKey,s)),s.refetchOnReconnect===void 0&&(s.refetchOnReconnect=s.networkMode!=="always"),s.throwOnError===void 0&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.queryFn===o0&&(s.enabled=!1),s}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...b(this,$l).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){b(this,Ze).clear(),b(this,Yl).clear()}},Ze=new WeakMap,Yl=new WeakMap,$l=new WeakMap,Ri=new WeakMap,wi=new WeakMap,Vl=new WeakMap,Oi=new WeakMap,Mi=new WeakMap,x1),tp=S.createContext(void 0),Li=n=>{const s=S.useContext(tp);if(!s)throw new Error("No QueryClient set, use QueryClientProvider to set one");return s},lb=({client:n,children:s})=>(S.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),o.jsx(tp.Provider,{value:n,children:s})),ap=S.createContext(!1),lp=()=>S.useContext(ap);ap.Provider;function nb(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var ib=S.createContext(nb()),np=()=>S.useContext(ib),ip=(n,s,c)=>{const r=c!=null&&c.state.error&&typeof n.throwOnError=="function"?f0(n.throwOnError,[c.state.error,c]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||r)&&(s.isReset()||(n.retryOnMount=!1))},sp=n=>{S.useEffect(()=>{n.clearReset()},[n])},up=({result:n,errorResetBoundary:s,throwOnError:c,query:r,suspense:d})=>n.isError&&!s.isReset()&&!n.isFetching&&r&&(d&&n.data===void 0||f0(c,[n.error,r])),cp=n=>{if(n.suspense){const c=d=>d==="static"?d:Math.max(d??1e3,1e3),r=n.staleTime;n.staleTime=typeof r=="function"?(...d)=>c(r(...d)):c(r),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},sb=(n,s)=>n.isLoading&&n.isFetching&&!s,Vf=(n,s)=>(n==null?void 0:n.suspense)&&s.isPending,Xf=(n,s,c)=>s.fetchOptimistic(n).catch(()=>{c.clearReset()});function ub({queries:n,...s},c){const r=Li(),d=lp(),h=np(),p=S.useMemo(()=>n.map(T=>{const z=r.defaultQueryOptions(T);return z._optimisticResults=d?"isRestoring":"optimistic",z}),[n,r,d]);p.forEach(T=>{cp(T);const z=r.getQueryCache().get(T.queryHash);ip(T,h,z)}),sp(h);const[v]=S.useState(()=>new eb(r,p,s)),[g,y,j]=v.getOptimisticResult(p,s.combine),_=!d&&s.subscribed!==!1;S.useSyncExternalStore(S.useCallback(T=>_?v.subscribe(Ke.batchCalls(T)):bt,[v,_]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),S.useEffect(()=>{v.setQueries(p,s)},[p,s,v]);const D=g.some((T,z)=>Vf(p[z],T))?g.flatMap((T,z)=>{const U=p[z];if(U&&Vf(U,T)){const Z=new d0(r,U);return Xf(U,Z,h)}return[]}):[];if(D.length>0)throw Promise.all(D);const H=g.find((T,z)=>{const U=p[z];return U&&up({result:T,errorResetBoundary:h,throwOnError:U.throwOnError,query:r.getQueryCache().get(U.queryHash),suspense:U.suspense})});if(H!=null&&H.error)throw H.error;return y(j())}function cb(n,s,c){var R,D,H,T;const r=lp(),d=np(),h=Li(),p=h.defaultQueryOptions(n);(D=(R=h.getDefaultOptions().queries)==null?void 0:R._experimental_beforeQuery)==null||D.call(R,p);const v=h.getQueryCache().get(p.queryHash);p._optimisticResults=r?"isRestoring":"optimistic",cp(p),ip(p,d,v),sp(d);const g=!h.getQueryCache().get(p.queryHash),[y]=S.useState(()=>new s(h,p)),j=y.getOptimisticResult(p),_=!r&&n.subscribed!==!1;if(S.useSyncExternalStore(S.useCallback(z=>{const U=_?y.subscribe(Ke.batchCalls(z)):bt;return y.updateResult(),U},[y,_]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),S.useEffect(()=>{y.setOptions(p)},[p,y]),Vf(p,j))throw Xf(p,y,d);if(up({result:j,errorResetBoundary:d,throwOnError:p.throwOnError,query:v,suspense:p.suspense}))throw j.error;if((T=(H=h.getDefaultOptions().queries)==null?void 0:H._experimental_afterQuery)==null||T.call(H,p,j),p.experimental_prefetchInRender&&!$s.isServer()&&sb(j,r)){const z=g?Xf(p,y,d):v==null?void 0:v.promise;z==null||z.catch(bt).finally(()=>{y.updateResult()})}return p.notifyOnChangeProps?j:y.trackResult(j)}function Ui(n,s){return cb(n,d0)}function Zl(n,s){const c=Li(),[r]=S.useState(()=>new I3(c,n));S.useEffect(()=>{r.setOptions(n)},[r,n]);const d=S.useSyncExternalStore(S.useCallback(p=>r.subscribe(Ke.batchCalls(p)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),h=S.useCallback((p,v)=>{r.mutate(p,v).catch(bt)},[r]);if(d.error&&f0(r.options.throwOnError,[d.error]))throw d.error;return{...d,mutate:h,mutateAsync:d.mutate}}const rp="https://app.auth.elcsa.ru/v1";let ks=null;function m0(){ks=null}async function Kl(){return ks||(ks=(await(await fetch(`${rp}/csrf/token`,{credentials:"include"})).json()).token,ks)}const rb=Object.freeze(Object.defineProperty({__proto__:null,clearCsrfCache:m0,getCsrfToken:Kl},Symbol.toStringTag,{value:"Module"})),ob="modulepreload",fb=function(n){return"/"+n},Jm={},db=function(s,c,r){let d=Promise.resolve();if(c&&c.length>0){let p=function(y){return Promise.all(y.map(j=>Promise.resolve(j).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};document.getElementsByTagName("link");const v=document.querySelector("meta[property=csp-nonce]"),g=(v==null?void 0:v.nonce)||(v==null?void 0:v.getAttribute("nonce"));d=p(c.map(y=>{if(y=fb(y),y in Jm)return;Jm[y]=!0;const j=y.endsWith(".css"),_=j?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${_}`))return;const R=document.createElement("link");if(R.rel=j?"stylesheet":ob,j||(R.as="script"),R.crossOrigin="",R.href=y,g&&R.setAttribute("nonce",g),document.head.appendChild(R),j)return new Promise((D,H)=>{R.addEventListener("load",D),R.addEventListener("error",()=>H(new Error(`Unable to preload CSS for ${y}`)))})}))}function h(p){const v=new Event("vite:preloadError",{cancelable:!0});if(v.payload=p,window.dispatchEvent(v),!v.defaultPrevented)throw p}return d.then(p=>{for(const v of p||[])v.status==="rejected"&&h(v.reason);return s().catch(h)})};let _f=null;const Sa={get:()=>_f,set:n=>{_f=n},clear:()=>{_f=null}},hb="https://app.auth.elcsa.ru/v1/jwt/refresh";async function Bi(){const{getCsrfToken:n}=await db(async()=>{const{getCsrfToken:d}=await Promise.resolve().then(()=>rb);return{getCsrfToken:d}},[]),s=await n(),c=await fetch(hb,{method:"POST",credentials:"include",headers:{"X-CSRF-Token":s}});if(!c.ok)throw new Error("Unauthorized");const r=await c.json();return r.access_token&&Sa.set(r.access_token),r.access_token??r.result??!0}const mb="https://app.payment.elcsa.ru";async function qc(n,s,c){const r=await Kl(),d=await fetch(`${mb}${n}`,{...s,credentials:"include",headers:{"X-CSRF-Token":r,...s.headers}});if(d.status===401&&c)try{return await Bi(),qc(n,s,!1)}catch{throw new Error("Unauthorized")}const h=await d.json();if(!d.ok)throw h;return h}function pb(){return qc("/payment/config",{},!0)}function yb(n){return qc(`/payment/quote?usdt_amount=${n}`,{},!0)}function vb(n){return qc("/order/create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)},!0)}function op(){return Ui({queryKey:["payment","config"],queryFn:pb,staleTime:6e4})}function fp(n){return Ui({queryKey:["payment","quote",n],queryFn:()=>yb(n),enabled:n>0,staleTime:3e4,retry:!1})}function gb(){return Zl({mutationFn:vb,onSuccess:n=>{const s=n.order.itpay_payment_qr_url_desktop;s&&(window.location.href=s)}})}function dp(n,s){const[c,r]=S.useState(n);return S.useEffect(()=>{const d=setTimeout(()=>r(n),s);return()=>clearTimeout(d)},[n,s]),c}const _b="_wrap_6xfms_1",bb="_box_6xfms_12",xb="_text_6xfms_39",Sb="_link_6xfms_46",jb="_required_6xfms_51",Ds={wrap:_b,box:bb,text:xb,link:Sb,required:jb};function Eb({checked:n,onToggle:s}){return o.jsxs("button",{type:"button",className:Ds.wrap,onClick:s,"aria-pressed":n,children:[o.jsx("span",{className:Ds.box,"data-checked":n||void 0,children:o.jsx("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:o.jsx("path",{d:"M2 6l3 3 5-5",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})}),o.jsxs("span",{className:Ds.text,children:["Я ознакомлен и согласен с"," ",o.jsx("a",{href:"#",className:Ds.link,onClick:c=>c.preventDefault(),children:"публичной офертой"}),". Вся деятельность компании соответствует законодательству Российской Федерации.",o.jsx("br",{}),o.jsx("span",{className:Ds.required,children:"ОБЯЗАТЕЛЬНОЕ ПОЛЕ"})]})]})}const Nb="_title_ujt2o_1",Tb="_table_ujt2o_8",Cb="_row_ujt2o_15",Rb="_range_ujt2o_31",wb="_pct_ujt2o_36",Ob="_progressBar_ujt2o_43",Mb="_progressFill_ujt2o_51",Ab="_summary_ujt2o_58",zb="_summaryLabel_ujt2o_73",Db="_summaryValue_ujt2o_78",Wt={title:Nb,table:Tb,row:Cb,range:Rb,pct:wb,progressBar:Ob,progressFill:Mb,summary:Ab,summaryLabel:zb,summaryValue:Db},Fm=n=>n.toLocaleString("ru-RU"),Lb=({tiers:n,amount:s})=>o.jsx(o.Fragment,{children:n.map((c,r)=>{const d=s>=c.min&&s<=c.max;return o.jsxs("div",{className:Wt.row,"data-active":d||void 0,children:[o.jsxs("span",{className:Wt.range,children:[Fm(c.min)," ",Fm(c.max)," ₽"]}),o.jsxs("span",{className:Wt.pct,children:[c.pct,"%"]})]},r)})});function Ub({amount:n,progress:s,commission:c,effectiveRate:r}){return o.jsxs("div",{children:[o.jsx("div",{className:Wt.title,children:"КОМИССИЯ СЕРВИСА"}),o.jsx("div",{className:Wt.table,children:o.jsx(Lb,{tiers:sl,amount:n})}),o.jsx("div",{className:Wt.progressBar,children:o.jsx("div",{className:Wt.progressFill,style:{width:`${s}%`}})}),o.jsxs("div",{className:Wt.summary,children:[o.jsx("span",{className:Wt.summaryLabel,children:"Комиссия"}),o.jsxs("span",{className:Wt.summaryValue,children:[c.toLocaleString("ru-RU",{maximumFractionDigits:2})," ₽"]})]}),o.jsxs("div",{className:Wt.summary,children:[o.jsx("span",{className:Wt.summaryLabel,children:"Курс с комиссией"}),o.jsxs("span",{className:Wt.summaryValue,children:[r.toFixed(2)," ₽"]})]})]})}const Bb="_section_1g0sl_1",Hb="_wrap_1g0sl_6",qb="_header_1g0sl_17",kb="_subtitle_1g0sl_31",Qb="_pills_1g0sl_38",Gb="_pill_1g0sl_38",Yb="_pillValue_1g0sl_52",$b="_body_1g0sl_62",Vb="_tabs_1g0sl_68",Xb="_tab_1g0sl_68",Zb="_field_1g0sl_100",Kb="_fieldInput_1g0sl_112",Jb="_currency_1g0sl_138",Fb="_currencyIcon_1g0sl_147",Wb="_currencyRub_1g0sl_159",Ib="_currencyUsdt_1g0sl_163",Pb="_swapWrap_1g0sl_167",e4="_swapBtn_1g0sl_173",t4="_bottom_1g0sl_192",Be={section:Bb,wrap:Hb,header:qb,subtitle:kb,pills:Qb,pill:Gb,pillValue:Yb,body:$b,tabs:Vb,tab:Xb,field:Zb,fieldInput:Kb,currency:Jb,currencyIcon:Fb,currencyRub:Wb,currencyUsdt:Ib,swapWrap:Pb,swapBtn:e4,bottom:t4};function a4(){const{data:n}=op(),s=Number(n==null?void 0:n.usdt_exchange_rate)||G1,c=Number(n==null?void 0:n.gas_fee)||Y1,r=$1({usdtRate:s}),d=dp(r.numRub,400),{data:h}=fp(d),p=(h==null?void 0:h.total_price)??"",v=Number(p)||0,g=Number(h==null?void 0:h.service_fee)||0,y=r.numRub>0?v/r.numRub:0;return o.jsx("section",{className:Be.section,id:"converter",children:o.jsxs("div",{className:Be.wrap,children:[o.jsxs("div",{className:Be.header,children:[o.jsxs("div",{children:[o.jsx(Q1,{children:"Конвертация"}),o.jsx("div",{className:Be.subtitle,children:"Данные обновляются в реальном времени"})]}),o.jsxs("div",{className:Be.pills,children:[o.jsxs("div",{className:Be.pill,children:["Цена газа в RUB ",o.jsxs("span",{className:Be.pillValue,children:[c.toFixed(2)," RUB"]})]}),o.jsxs("div",{className:Be.pill,children:["USDT/RUB ",o.jsxs("span",{className:Be.pillValue,children:[s.toFixed(2)," ₽"]})]})]})]}),o.jsxs("div",{className:Be.body,children:[o.jsxs("div",{children:[o.jsxs("div",{className:Be.tabs,children:[o.jsx("button",{type:"button",className:Be.tab,"data-active":r.mode==="buy"||void 0,onClick:()=>r.setMode("buy"),children:"КУПИТЬ"}),o.jsx("button",{type:"button",className:Be.tab,"data-active":r.mode==="sell"||void 0,onClick:()=>r.setMode("sell"),disabled:!0,children:"ПРОДАТЬ"})]}),o.jsx("div",{className:Be.field,children:o.jsxs("div",{className:Be.fieldInput,children:[o.jsx("input",{type:"text",value:r.rubVal,onChange:j=>r.updateRub(j.target.value),placeholder:"0",inputMode:"decimal"}),o.jsxs("div",{className:Be.currency,children:[o.jsx("span",{className:`${Be.currencyIcon} ${Be.currencyUsdt}`,children:"₮"})," USDT"]})]})}),o.jsx("div",{className:Be.swapWrap,children:o.jsx("button",{type:"button",className:Be.swapBtn,"aria-label":"Поменять направление",children:o.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:o.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),o.jsx("div",{className:Be.field,children:o.jsxs("div",{className:Be.fieldInput,children:[o.jsx("input",{type:"text",value:p,readOnly:!0,placeholder:"0"}),o.jsxs("div",{className:Be.currency,children:[o.jsx("span",{className:`${Be.currencyIcon} ${Be.currencyRub}`,children:"₽"})," RUB"]})]})})]}),o.jsx(Ub,{amount:v,progress:s0(v),commission:g,effectiveRate:y})]}),o.jsx("div",{className:Be.bottom,children:o.jsx(Eb,{checked:r.agreed,onToggle:()=>r.setAgreed(!r.agreed)})})]})})}const l4="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.827%201.094a3.733%203.733%200%2000-3.733%203.733v6.533a3.733%203.733%200%20003.733%203.734h6.533a3.733%203.733%200%20003.734-3.734V4.827a3.733%203.733%200%2000-3.734-3.733H4.827zm5.454%207a2.187%202.187%200%2011-4.375%200%202.187%202.187%200%20014.375%200zm1.313%200a3.5%203.5%200%2011-7%200%203.5%203.5%200%20017%200zm.469-2.938a1.25%201.25%200%20100-2.5%201.25%201.25%200%20000%202.5z'%20fill='%23000'%3e%3c/path%3e%3c/svg%3e",n4="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.108%207.617C5.4%205.768%208.262%204.55%209.694%203.961c4.088-1.682%204.938-1.974%205.492-1.984.68-.011.86.551.804%201.137-.221%202.302-1.18%207.887-1.668%2010.465-.43%202.277-1.958%201.292-3.338.397-1.296-.84-2.028-1.362-3.286-2.182-1.453-.947-.511-1.467.317-2.318.217-.223%203.984-3.61%204.057-3.918.06-.256-.167-.333-.373-.286-.13.029-2.2%201.382-6.21%204.058-.588.399-1.12.593-1.597.583-.66-.014-2.26-.583-3.88-1.492-.097-.277.399-.53%201.096-.804z'%20fill='%23000'%3e%3c/path%3e%3c/svg%3e",i4="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.733%2011.784c-.708-1.191-1.221-2.408-1.221-3.823%200-3.566%202.905-6.457%206.488-6.457%203.583%200%206.488%202.891%206.488%206.457%200%203.565-2.905%206.456-6.488%206.456-1.332%200-2.496-.452-3.64-1.079-.734.18-1.468.362-2.2.55.195-.7.387-1.402.573-2.104zM0%2016s2.944-.768%204.147-1.06A7.995%207.995%200%20008%2015.92c4.418%200%208-3.564%208-7.96S12.418%200%208%200%200%203.564%200%207.96c0%201.479.405%202.862%201.11%204.048C.929%2012.693%200%2016%200%2016zm8.118-6.637a501.25%20501.25%200%2000-1.265-1.26c-.545-.576-.646-1.11-.392-1.298l.52-.298a.675.675%200%2000.248-.924l-.78-1.344a.681.681%200%2000-.928-.248L5%204.29c-1.685.968.271%204.078%201.09%204.892l.944.94c.818.814%203.943%202.76%204.916%201.084l.3-.517a.674.674%200%2000-.249-.924l-1.35-.776a.682.682%200%2000-.929.247l-.3.517c-.188.252-.725.152-1.305-.39z'%20fill='%23000'%3e%3c/path%3e%3c/svg%3e",s4="_footer_1qm30_1",u4="_top_1qm30_11",c4="_col_1qm30_18",r4="_heading_1qm30_35",o4="_companyName_1qm30_44",f4="_phone_1qm30_51",d4="_email_1qm30_58",h4="_socialIcons_1qm30_62",m4="_socialLink_1qm30_67",p4="_divider_1qm30_94",y4="_bottom_1qm30_99",yt={footer:s4,top:u4,col:c4,heading:r4,companyName:o4,phone:f4,email:d4,socialIcons:h4,socialLink:m4,divider:p4,bottom:y4},v4=[{href:"#",icon:n4,label:"Telegram"},{href:"#",icon:i4,label:"WhatsApp"},{href:"#",icon:l4,label:"Instagram"}];function p0(){return o.jsxs("footer",{className:yt.footer,children:[o.jsxs("div",{className:yt.top,children:[o.jsxs("div",{className:yt.col,children:[o.jsx("p",{className:yt.companyName,children:"ООО «ЭКСА»"}),o.jsx("p",{children:"ИНН 9810001062"}),o.jsx("p",{children:"ОГРН 1257800060990"})]}),o.jsxs("div",{className:yt.col,children:[o.jsx("h4",{className:yt.heading,children:"О компании"}),o.jsx("a",{href:"#",children:"Документы"}),o.jsx("a",{href:"#",children:"Публичная оферта"}),o.jsx("a",{href:"#",children:"Реквизиты"})]}),o.jsxs("div",{className:yt.col,children:[o.jsx("p",{className:yt.phone,children:"+7 (812) 123-33-23"}),o.jsx("h4",{className:yt.heading,children:"Адрес"}),o.jsx("p",{children:"196158, г. Санкт-Петербург, Московское шоссе, 25А, к.1, ПОМЕЩ. 3-Н"}),o.jsx("a",{href:"mailto:company@elcsa.ru",className:yt.email,children:"company@elcsa.ru"})]}),o.jsxs("div",{className:yt.col,children:[o.jsx("h4",{className:yt.heading,children:"Мы в соцсетях"}),o.jsx("div",{className:yt.socialIcons,children:v4.map(({href:n,icon:s,label:c})=>o.jsx("a",{href:n,className:yt.socialLink,"aria-label":c,children:o.jsx("img",{src:s,alt:c})},c))})]})]}),o.jsx("div",{className:yt.divider}),o.jsxs("div",{className:yt.bottom,children:[o.jsx("p",{children:"© 2026. Все права защищены."}),o.jsx("p",{children:"Компания не является кредитной организацией."})]})]})}const Mn="/assets/logo-full-white-DEb7oTyu.png",g4="_nav_5011x_1",_4="_logo_5011x_16",b4="_right_5011x_22",x4="_link_5011x_28",S4="_btn_5011x_47",Ls={nav:g4,logo:_4,right:b4,link:x4,btn:S4},Pe={HOME:"/",WALLET:"/wallet",SWAP:"/swap",LOGIN:"/login",REGISTER:"/register",PROFILE:"/profile",SEED_PHRASE:"/seed-phrase",CONVERTER:"/converter",KYC:"/kyc"};async function Zf(n,s,c){const r=await Kl(),d=Sa.get(),h={"Content-Type":"application/json","X-CSRF-Token":r,...d?{Authorization:`Bearer ${d}`}:{},...s.headers},p=await fetch(`${rp}${n}`,{...s,credentials:"include",headers:h});if(p.status===401&&c)try{return await Bi(),Zf(n,s,!1)}catch{throw Sa.clear(),new Error("Unauthorized")}const v=await p.json();if(!p.ok)throw v;return v}const lu={get:n=>Zf(n,{},!0),post:(n,s)=>Zf(n,{method:"POST",body:JSON.stringify(s)},!0)};function j4(n){return lu.post("/auth/registration/start",n)}function E4(n){return lu.post("/auth/registration/complete",n)}function N4(n){return lu.post("/auth/login/start",n)}function T4(n){return lu.post("/auth/login/complete",n)}async function C4(){const n=await Kl();return lu.post("/auth/logout",{_csrf:n})}const R4="https://app.users.elcsa.ru";async function w4(){const n=await Kl(),s=await fetch(`${R4}/me/`,{credentials:"include",headers:{"X-CSRF-Token":n}}),c=await s.json();if(!s.ok)throw c;return c}function hp(){return Ui({queryKey:["me"],queryFn:w4,staleTime:1/0,gcTime:1/0,retry:!1})}const kc=["auth"];function O4(){return Ui({queryKey:kc,queryFn:Bi,retry:!1,staleTime:1/0,gcTime:1/0,refetchOnWindowFocus:!1})}function y0(){const{data:n,isLoading:s,isError:c}=O4();return{isAuthenticated:!!n&&!c,isLoading:s}}function M4(){const n=y0();return o.jsxs("nav",{className:Ls.nav,children:[o.jsx("a",{className:Ls.logo,href:"/",children:o.jsx("img",{src:Mn,alt:"ЭКСА"})}),o.jsxs("div",{className:Ls.right,children:[o.jsx("a",{className:Ls.link,href:"#about",children:"О нас"}),o.jsx(Rn,{className:Ls.btn,to:n?Pe.WALLET:Pe.LOGIN,children:"Личный кабинет"})]})]})}const A4="_flow_1oxsf_1",z4="_card_1oxsf_7",D4="_cardRub_1oxsf_17",L4="_cardEksa_1oxsf_27",U4="_cardUsdt_1oxsf_37",B4="_eksaLogo_1oxsf_47",H4="_ghost_1oxsf_54",q4="_ghostBtc_1oxsf_69",k4="_ghostEth_1oxsf_74",Q4="_logoCircle_1oxsf_79",G4="_logoRub_1oxsf_90",Y4="_logoUsdt_1oxsf_95",$4="_badge_1oxsf_100",V4="_badgeRub_1oxsf_113",X4="_badgeUsdt_1oxsf_117",Z4="_status_1oxsf_121",K4="_statusDot_1oxsf_132",J4="_path_1oxsf_139",$e={flow:A4,card:z4,cardRub:D4,cardEksa:L4,cardUsdt:U4,eksaLogo:B4,ghost:H4,ghostBtc:q4,ghostEth:k4,logoCircle:Q4,logoRub:G4,logoUsdt:Y4,badge:$4,badgeRub:V4,badgeUsdt:X4,status:Z4,statusDot:K4,path:J4};function F4(){return o.jsxs("div",{className:$e.flow,children:[o.jsx("div",{className:`${$e.ghost} ${$e.ghostBtc}`,children:o.jsx("span",{style:{fontSize:20,color:"#F7931A"},children:"₿"})}),o.jsx("div",{className:`${$e.ghost} ${$e.ghostEth}`,children:o.jsx("span",{style:{fontSize:20,color:"#627EEA"},children:"Ξ"})}),o.jsxs("div",{className:`${$e.card} ${$e.cardRub}`,children:[o.jsx("div",{className:`${$e.logoCircle} ${$e.logoRub}`,children:"₽"}),o.jsx("div",{className:`${$e.badge} ${$e.badgeRub}`,children:"10 000 ₽"})]}),o.jsx("div",{className:`${$e.card} ${$e.cardEksa}`,children:o.jsx("img",{src:Mn,alt:"ЭКСА",className:$e.eksaLogo})}),o.jsxs("div",{className:`${$e.card} ${$e.cardUsdt}`,children:[o.jsx("div",{className:`${$e.logoCircle} ${$e.logoUsdt}`,children:"₮"}),o.jsx("div",{className:`${$e.badge} ${$e.badgeUsdt}`,children:"≈ 125.3 USDT"}),o.jsxs("div",{className:$e.status,children:[o.jsx("span",{className:$e.statusDot})," ✓ Зачислено"]})]}),o.jsxs("svg",{className:$e.path,viewBox:"0 0 420 460",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[o.jsx("defs",{children:o.jsxs("linearGradient",{id:"pathGrad",x1:"0",y1:"0",x2:"1",y2:"1",children:[o.jsx("stop",{offset:"0%",stopColor:"rgba(255,255,255,0.4)"}),o.jsx("stop",{offset:"100%",stopColor:"#26A17B"})]})}),o.jsx("path",{d:"M60 68 C100 160, 250 140, 210 230 C170 310, 300 320, 350 360",stroke:"url(#pathGrad)",strokeWidth:2,strokeDasharray:"8 6",fill:"none"}),o.jsx("path",{d:"M60 68 C100 160, 250 140, 210 230 C170 310, 300 320, 350 360",stroke:"url(#pathGrad)",strokeWidth:8,strokeDasharray:"8 6",opacity:.08,fill:"none"}),o.jsx("circle",{cx:80,cy:110,r:3,fill:"#fff",opacity:.5}),o.jsx("circle",{cx:140,cy:160,r:2.5,fill:"#fff",opacity:.4}),o.jsx("circle",{cx:220,cy:200,r:3,fill:"#fff",opacity:.3}),o.jsx("circle",{cx:200,cy:270,r:2.5,fill:"#26A17B",opacity:.35}),o.jsx("circle",{cx:260,cy:310,r:3,fill:"#26A17B",opacity:.25}),o.jsx("circle",{cx:320,cy:345,r:2,fill:"#26A17B",opacity:.2})]})]})}const Wm="eksa_countdown_target";function W4(n){const[s]=S.useState(()=>{const p=localStorage.getItem(Wm);if(p)return Number.parseInt(p,10);const v=Date.now()+n*864e5;return localStorage.setItem(Wm,String(v)),v}),[c,r]=S.useState(Date.now());S.useEffect(()=>{const p=setInterval(()=>r(Date.now()),1e3);return()=>clearInterval(p)},[]);const d=Math.max(0,s-c),h=p=>String(p).padStart(2,"0");return{d:h(Math.floor(d/864e5)),h:h(Math.floor(d%864e5/36e5)),m:h(Math.floor(d%36e5/6e4)),s:h(Math.floor(d%6e4/1e3))}}const I4="_label_ikzdd_1",P4="_row_ikzdd_8",e5="_unit_ikzdd_14",t5="_num_ikzdd_21",a5="_lbl_ikzdd_29",Us={label:I4,row:P4,unit:e5,num:t5,lbl:a5},l5=[["d","ДНЕЙ"],["h","ЧАСОВ"],["m","МИНУТ"],["s","СЕКУНД"]];function n5({days:n}){const s=W4(n);return o.jsxs("div",{children:[o.jsx("div",{className:Us.label,children:"ДО ЗАПУСКА ОСТАЛОСЬ"}),o.jsx("div",{className:Us.row,children:l5.map(([c,r])=>o.jsxs("div",{className:Us.unit,children:[o.jsx("div",{className:Us.num,children:s[c]}),o.jsx("div",{className:Us.lbl,children:r})]},c))})]})}const i5="_card_17ihg_51",s5="_statusPill_17ihg_84",u5="_statusDot_17ihg_99",c5="_flowRow_17ihg_107",r5="_curBlock_17ihg_114",o5="_curIcon_17ihg_122",f5="_rub_17ihg_133",d5="_usdt_17ihg_141",h5="_flowLine_17ihg_150",m5="_curAmount_17ihg_154",p5="_curLabel_17ihg_163",y5="_curCheck_17ihg_171",v5="_bridge_17ihg_182",g5="_bridgeLine_17ihg_191",_5="_bridgeLabel_17ihg_198",b5="_divider_17ihg_206",x5="_details_17ihg_212",S5="_detailRow_17ihg_220",j5="_detailLabel_17ihg_229",E5="_detailValue_17ihg_235",N5="_green_17ihg_242",we={card:i5,statusPill:s5,statusDot:u5,flowRow:c5,curBlock:r5,curIcon:o5,rub:f5,usdt:d5,flowLine:h5,curAmount:m5,curLabel:p5,curCheck:y5,bridge:v5,bridgeLine:g5,bridgeLabel:_5,divider:b5,details:x5,detailRow:S5,detailLabel:j5,detailValue:E5,green:N5};function T5(){return o.jsxs("div",{className:we.card,children:[o.jsxs("div",{className:we.statusPill,children:[o.jsx("span",{className:we.statusDot}),"Операция завершена"]}),o.jsxs("div",{className:we.flowRow,children:[o.jsxs("div",{className:we.curBlock,children:[o.jsx("div",{className:`${we.curIcon} ${we.rub}`,children:"₽"}),o.jsx("div",{className:we.curAmount,children:"10 000 ₽"}),o.jsx("div",{className:we.curLabel,children:"Отправлено"})]}),o.jsxs("div",{className:we.bridge,children:[o.jsx("div",{className:we.bridgeLine,children:o.jsxs("svg",{width:48,height:12,viewBox:"0 0 48 12",fill:"none","aria-hidden":"true",children:[o.jsx("line",{x1:0,y1:6,x2:36,y2:6,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"4 3",className:we.flowLine}),o.jsx("path",{d:"M34 2l6 4-6 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})}),o.jsx("div",{className:we.bridgeLabel,children:o.jsx("img",{src:Mn,alt:"ЭКСА"})}),o.jsx("div",{className:we.bridgeLine,children:o.jsxs("svg",{width:48,height:12,viewBox:"0 0 48 12",fill:"none","aria-hidden":"true",children:[o.jsx("line",{x1:0,y1:6,x2:36,y2:6,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"4 3",className:we.flowLine}),o.jsx("path",{d:"M34 2l6 4-6 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})})]}),o.jsxs("div",{className:we.curBlock,children:[o.jsx("div",{className:`${we.curIcon} ${we.usdt}`,children:"₮"}),o.jsx("div",{className:we.curAmount,children:"125.3 USDT"}),o.jsxs("div",{className:we.curCheck,children:[o.jsx("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:o.jsx("path",{d:"M2 6l3 3 5-5",stroke:"#26A17B",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),"Зачислено"]})]})]}),o.jsx("div",{className:we.divider}),o.jsxs("div",{className:we.details,children:[o.jsxs("div",{className:we.detailRow,children:[o.jsx("span",{className:we.detailLabel,children:"Курс"}),o.jsxs("span",{className:we.detailValue,children:[G1.toFixed(2)," ₽ / USDT"]})]}),o.jsxs("div",{className:we.detailRow,children:[o.jsx("span",{className:we.detailLabel,children:"Комиссия"}),o.jsx("span",{className:`${we.detailValue} ${we.green}`,children:"0%"})]})]})]})}const C5="_hero_mnobr_1",R5="_content_mnobr_33",w5="_left_mnobr_45",O5="_desktop_mnobr_52",M5="_mobile_mnobr_56",A5="_right_mnobr_60",z5="_title_mnobr_67",D5="_line2_mnobr_74",L5="_reflection_mnobr_85",U5="_cta_mnobr_96",Oa={hero:C5,content:R5,left:w5,desktop:O5,mobile:M5,right:A5,title:z5,line2:D5,reflection:L5,cta:U5};function B5(){return o.jsx("section",{className:Oa.hero,children:o.jsxs("div",{className:Oa.content,children:[o.jsxs("div",{className:Oa.left,children:[o.jsx("div",{className:Oa.desktop,children:o.jsx(F4,{})}),o.jsx("div",{className:Oa.mobile,children:o.jsx(T5,{})})]}),o.jsxs("div",{className:Oa.right,children:[o.jsxs("h1",{className:Oa.title,children:["Ваш мост",o.jsx("span",{className:Oa.reflection,"aria-hidden":"true",children:"Ваш мост"}),o.jsxs("span",{className:Oa.line2,children:["в мир",o.jsx("br",{}),"цифровых",o.jsx("br",{}),"активов"]})]}),o.jsxs("div",{children:[o.jsx(n5,{days:R3}),o.jsx("a",{href:"#converter",className:Oa.cta,children:"Попробовать калькулятор"})]})]})]})})}const H5=[{name:"Bitcoin",ticker:"BTC",cls:"btc",icon:"₿",speed:30,color:"rgba(247,147,26,0.8)",fee:"~0.0001 BTC",confirm:"~10 мин"},{name:"Ethereum",ticker:"ETH",cls:"eth",icon:"Ξ",speed:60,color:"rgba(98,126,234,0.8)",fee:"~215 Gwei",confirm:"~15 сек"},{name:"Tron",ticker:"TRX",cls:"trx",icon:"◈",speed:90,color:"rgba(255,6,10,0.8)",fee:"~1 TRX",confirm:"~3 сек"},{name:"Solana",ticker:"SOL",cls:"sol",icon:"◎",speed:98,color:"rgba(153,69,255,0.8)",fee:"~0.000005 SOL",confirm:"~1 сек"},{name:"BNB Chain",ticker:"BNB",cls:"bnb",icon:"◆",speed:88,color:"rgba(243,186,47,0.8)",fee:"~0.0005 BNB",confirm:"~3 сек"}],q5="_section_10lhb_1",k5="_wrap_10lhb_6",Q5="_title_10lhb_11",G5="_tableWrap_10lhb_18",Y5="_table_10lhb_18",$5="_name_10lhb_52",V5="_icon_10lhb_58",X5="_icon_btc_10lhb_71",Z5="_icon_eth_10lhb_75",K5="_icon_trx_10lhb_79",J5="_icon_sol_10lhb_83",F5="_icon_bnb_10lhb_87",W5="_label_10lhb_91",I5="_ticker_10lhb_96",P5="_speedBar_10lhb_102",ex="_speedFill_10lhb_110",tx="_fee_10lhb_115",ax="_confirm_10lhb_121",lx="_footnote_10lhb_126",Et={section:q5,wrap:k5,title:Q5,tableWrap:G5,table:Y5,name:$5,icon:V5,icon_btc:X5,icon_eth:Z5,icon_trx:K5,icon_sol:J5,icon_bnb:F5,label:W5,ticker:I5,speedBar:P5,speedFill:ex,fee:tx,confirm:ax,footnote:lx};function nx(){return o.jsx("section",{className:Et.section,children:o.jsxs("div",{className:Et.wrap,children:[o.jsx("h2",{className:Et.title,children:"Поддерживаемые сети"}),o.jsx("div",{className:Et.tableWrap,children:o.jsxs("table",{className:Et.table,children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{children:"Сеть"}),o.jsx("th",{children:"Скорость"}),o.jsx("th",{children:"Комиссия"}),o.jsx("th",{children:"Подтверждение"})]})}),o.jsx("tbody",{children:H5.map(n=>o.jsxs("tr",{children:[o.jsx("td",{children:o.jsxs("div",{className:Et.name,children:[o.jsx("div",{className:`${Et.icon} ${Et[`icon_${n.cls}`]}`,children:n.icon}),o.jsx("span",{className:Et.label,children:n.name}),o.jsx("span",{className:Et.ticker,children:n.ticker})]})}),o.jsx("td",{children:o.jsx("div",{className:Et.speedBar,children:o.jsx("div",{className:Et.speedFill,style:{width:`${n.speed}%`,background:n.color}})})}),o.jsx("td",{children:o.jsx("span",{className:Et.fee,children:n.fee})}),o.jsx("td",{children:o.jsx("span",{className:Et.confirm,children:n.confirm})})]},n.ticker))})]})}),o.jsx("div",{className:Et.footnote,children:"* Комиссии и время подтверждения указаны приблизительно и зависят от загруженности сети"})]})})}function ix(){return o.jsxs(o.Fragment,{children:[o.jsx(M4,{}),o.jsxs("main",{children:[o.jsx(B5,{}),o.jsx(C3,{}),o.jsx(a4,{}),o.jsx(nx,{})]}),o.jsx(p0,{})]})}const sx="_card_1kfaj_1",ux="_label_1kfaj_18",cx="_amount_1kfaj_27",rx="_rub_1kfaj_34",ox="_actions_1kfaj_41",fx="_btn_1kfaj_46",Dl={card:sx,label:ux,amount:cx,rub:rx,actions:ox,btn:fx},dx="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%2020010904//EN'%20'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'%3e%3csvg%20version='1.0'%20xmlns='http://www.w3.org/2000/svg'%20width='309.147797pt'%20height='144.859221pt'%20viewBox='0%200%20309.147797%20144.859221'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cmetadata%3e%20Created%20by%20potrace%201.16,%20written%20by%20Peter%20Selinger%202001-2019%20%3c/metadata%3e%3crect%20width='100%25'%20height='100%25'%20fill='none'/%3e%3cg%20transform='translate(-8.181291,146.963747)%20scale(0.100000,-0.100000)'%20fill='%23ffffff'%20stroke='none'%3e%3cpath%20d='M685%201459%20c-328%20-55%20-585%20-344%20-602%20-679%20-14%20-267%20104%20-496%20334%20-643%20282%20-183%20645%20-142%20888%2098%2098%2096%20128%20143%20325%20490%2084%20149%20172%20300%20195%20336%20180%20279%20488%20420%20765%20350%20253%20-64%20426%20-222%20507%20-466%2024%20-70%2027%20-96%2027%20-205%200%20-109%20-3%20-135%20-27%20-207%20-49%20-148%20-167%20-293%20-306%20-377%20-261%20-159%20-617%20-110%20-830%20114%20-30%2032%20-73%2089%20-96%20126%20-43%2070%20-75%2094%20-75%2055%200%20-29%20113%20-194%20163%20-236%20141%20-122%20290%20-185%20453%20-193%20126%20-6%20219%2010%20318%2053%20206%2089%20356%20258%20426%20480%2030%2095%2031%20257%202%20367%20-37%20138%20-111%20259%20-219%20357%20-81%2075%20-234%20154%20-338%20176%20-249%2052%20-515%20-37%20-697%20-234%20-76%20-82%20-145%20-187%20-283%20-436%20-161%20-288%20-191%20-340%20-242%20-412%20-81%20-115%20-208%20-214%20-342%20-266%20-64%20-25%20-94%20-31%20-189%20-35%20-146%20-6%20-213%208%20-341%2070%20-88%2042%20-117%2062%20-181%20127%20-166%20169%20-236%20408%20-181%20623%2063%20245%20223%20419%20461%20499%20211%2071%20430%2028%20628%20-124%2055%20-41%20134%20-138%20184%20-222%2026%20-43%2048%20-52%2048%20-20%200%2019%20-53%20108%20-101%20170%20-147%20193%20-433%20305%20-674%20264z'/%3e%3cpath%20d='M2339%201018%20c-51%20-95%20-108%20-198%20-126%20-228%20-18%20-30%20-33%20-61%20-33%20-69%200%20-13%2053%20-102%20191%20-323%2040%20-65%2059%20-87%2073%20-85%2026%203%20198%20279%20183%20293%20-8%209%20-85%20-89%20-132%20-168%20-26%20-44%20-49%20-77%20-51%20-75%20-17%2016%20-174%20280%20-170%20285%203%203%2042%20-16%2087%20-42%2077%20-45%2082%20-47%20105%20-31%2030%2020%2032%2039%202%2031%20-17%20-4%20-51%2012%20-125%2057%20-57%2034%20-103%2067%20-103%2074%200%2019%20194%20374%20204%20375%209%200%2048%20-66%20158%20-272%2048%20-90%2054%20-98%2070%20-82%209%209%20-1%2037%20-46%20124%20-96%20187%20-166%20308%20-180%20308%20-7%200%20-55%20-78%20-107%20-172z'/%3e%3cpath%20d='M688%201083%20l-3%20-38%20-57%20-3%20c-50%20-3%20-58%20-6%20-58%20-22%200%20-16%207%20-20%2030%20-20%20l30%200%20-2%20-247%20-3%20-248%20-27%20-3%20c-30%20-4%20-38%20-26%20-12%20-36%209%20-3%2035%20-6%2059%20-6%2043%200%2044%200%2047%20-37%202%20-27%208%20-39%2021%20-41%2014%20-3%2017%204%2017%2037%200%2037%203%2041%2024%2041%2021%200%2025%20-5%2028%20-37%204%20-52%2032%20-52%2036%20-2%203%2036%205%2037%2050%2044%2059%209%2093%2026%20125%2065%2054%2063%2048%20152%20-15%20214%20l-40%2040%2021%2037%20c12%2020%2021%2049%2021%2063%200%2065%20-58%20137%20-120%20151%20-23%205%20-30%2012%20-30%2030%200%2034%20-10%2055%20-26%2055%20-8%200%20-14%20-10%20-14%20-24%200%20-39%20-11%20-56%20-35%20-56%20-20%200%20-24%206%20-27%2037%20-2%2026%20-8%2039%20-20%2041%20-13%202%20-17%20-5%20-20%20-35z%20m176%20-97%20c42%20-18%2066%20-51%2066%20-94%200%20-76%20-42%20-102%20-165%20-102%20l-85%200%200%20105%200%20105%2075%200%20c42%200%2090%20-6%20109%20-14z%20m67%20-253%20c41%20-24%2062%20-83%2049%20-133%20-19%20-72%20-87%20-103%20-218%20-98%20l-77%203%20-3%20109%20c-1%2061%200%20116%202%20123%208%2021%20210%2018%20247%20-4z'/%3e%3c/g%3e%3c/svg%3e",hx="data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%2020010904//EN'%20'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'%3e%3csvg%20version='1.0'%20xmlns='http://www.w3.org/2000/svg'%20width='735.823910pt'%20height='388.545063pt'%20viewBox='0%200%20735.823910%20388.545063'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cmetadata%3e%20Created%20by%20potrace%201.16,%20written%20by%20Peter%20Selinger%202001-2019%20%3c/metadata%3e%3crect%20width='100%25'%20height='100%25'%20fill='none'/%3e%3cg%20transform='translate(-7.217511,405.779758)%20scale(0.100000,-0.100000)'%20fill='%23ffffff'%20stroke='none'%3e%3cpath%20d='M1798%204049%20c-430%20-42%20-842%20-238%20-1148%20-548%20-301%20-304%20-486%20-664%20-555%20-1081%20-25%20-154%20-31%20-424%20-11%20-560%2078%20-530%20310%20-943%20721%20-1283%20108%20-89%20335%20-218%20495%20-280%20396%20-155%20886%20-166%201300%20-28%20135%2045%20358%20157%20475%20239%20266%20185%20495%20448%20625%20720%2024%2050%2047%2092%2050%2092%203%200%2034%20-57%2070%20-127%20192%20-377%20514%20-681%20905%20-855%20474%20-212%201031%20-221%201510%20-26%20569%20233%20990%20720%201136%201313%20126%20515%2051%201029%20-217%201487%20-254%20433%20-705%20771%20-1187%20887%20-194%2047%20-261%2055%20-447%2055%20-245%201%20-433%20-30%20-660%20-109%20-263%20-91%20-537%20-269%20-741%20-481%20-117%20-122%20-269%20-344%20-338%20-492%20-14%20-29%20-27%20-52%20-31%20-52%20-3%200%20-21%2030%20-39%2068%20-103%20210%20-277%20437%20-456%20595%20-395%20347%20-927%20517%20-1457%20466z%20m432%20-83%20c648%20-87%201206%20-513%201457%20-1113%2058%20-139%2070%20-143%20109%20-40%2086%20229%20283%20517%20465%20681%20172%20156%20423%20309%20613%20375%20241%2085%20441%20116%20686%20108%20197%20-7%20344%20-32%20523%20-91%20549%20-180%20993%20-630%201176%20-1194%2072%20-221%2086%20-314%2086%20-587%20-1%20-268%20-10%20-343%20-70%20-540%20-168%20-552%20-569%20-985%20-1113%20-1199%20-194%20-76%20-520%20-130%20-722%20-120%20-606%2032%20-1137%20334%20-1468%20835%20-54%2082%20-134%20237%20-172%20334%20-46%20115%20-55%20113%20-110%20-22%20-174%20-433%20-499%20-773%20-932%20-978%20-184%20-87%20-403%20-143%20-642%20-165%20-291%20-26%20-662%2047%20-937%20185%20-449%20225%20-784%20611%20-938%201082%20-71%20216%20-86%20314%20-86%20583%200%20183%204%20256%2018%20330%2091%20489%20342%20897%20733%201191%20256%20193%20549%20309%20889%20352%2076%2010%20340%205%20435%20-7z'/%3e%3cpath%20d='M5120%202656%20c0%20-459%20-2%20-515%20-16%20-520%20-9%20-3%20-78%20-6%20-155%20-6%20l-139%200%200%20-55%200%20-55%20155%200%20156%200%20-3%20-127%20-3%20-128%20-150%20-5%20-150%20-5%20-3%20-47%20-3%20-48%20155%200%20156%200%202%20-327%203%20-328%2055%200%2055%200%203%20327%202%20328%20363%202%20362%203%200%2045%200%2045%20-360%205%20-360%205%20-3%20127%20-3%20126%20383%204%20383%204%2082%2027%20c246%2082%20396%20288%20395%20542%200%20234%20-134%20436%20-345%20522%20-109%2045%20-207%2053%20-629%2053%20l-388%200%200%20-514z%20m940%20375%20c171%20-60%20266%20-168%20306%20-351%2052%20-230%20-99%20-468%20-337%20-531%20-47%20-13%20-722%20-26%20-765%20-15%20l-24%206%200%20461%200%20461%20378%20-4%20c362%20-4%20380%20-5%20442%20-27z'/%3e%3cpath%20d='M1199%203044%20c-5%20-7%20-8%20-75%20-7%20-155%20l3%20-144%20300%20-5%20300%20-5%203%20-317%202%20-318%20190%200%20c174%200%20190%201%20191%2018%200%209%201%20152%202%20317%20l2%20300%20303%203%20302%202%200%20155%20c0%20117%20-3%20155%20-12%20156%20-7%200%20-363%201%20-791%202%20-571%201%20-781%20-1%20-788%20-9z'/%3e%3cpath%20d='M1555%202404%20c-279%20-30%20-473%20-77%20-561%20-137%20-209%20-141%2095%20-294%20668%20-336%2064%20-5%20121%20-12%20127%20-15%208%20-5%2011%20-136%2011%20-437%20l0%20-429%20193%202%20192%203%203%20433%20c2%20403%203%20432%2020%20432%209%200%2082%207%20162%2015%20357%2035%20609%20109%20668%20195%2077%20115%20-127%20217%20-528%20264%20-240%2028%20-269%2029%20-276%2011%20-4%20-9%20-3%20-20%202%20-25%205%20-5%2070%20-14%20144%20-20%20276%20-23%20501%20-75%20562%20-129%2043%20-39%2033%20-63%20-45%20-100%20-321%20-157%20-1451%20-161%20-1799%20-8%20-68%2030%20-94%2062%20-75%2092%2040%2062%20261%20118%20577%20145%2074%207%20139%2015%20143%2019%204%204%205%2015%201%2024%20-7%2020%20-13%2020%20-189%201z'/%3e%3cpath%20d='M3365%202095%20c-30%20-30%20-31%20-54%20-4%20-89%2040%20-50%20119%20-21%20119%2044%200%2064%20-70%2091%20-115%2045z'/%3e%3cpath%20d='M3726%202099%20c-52%20-41%20-24%20-119%2044%20-119%2031%200%2044%208%2059%2037%2017%2033%2014%2051%20-14%2078%20-30%2030%20-54%2031%20-89%204z'/%3e%3cpath%20d='M4100%202113%20c-42%20-17%20-53%20-80%20-19%20-114%2028%20-28%2076%20-22%20102%2013%2018%2024%2019%2030%207%2058%20-16%2039%20-53%2057%20-90%2043z'/%3e%3c/g%3e%3c/svg%3e";function mx(){return o.jsxs("div",{className:Dl.card,children:[o.jsxs("div",{className:Dl.left,children:[o.jsx("div",{className:Dl.label,children:"Общий баланс"}),o.jsx("div",{className:Dl.amount,children:"$245.00"}),o.jsx("div",{className:Dl.rub,children:"≈ 22 340,50 ₽"})]}),o.jsxs("div",{className:Dl.actions,children:[o.jsxs(Rn,{to:Pe.CONVERTER,className:Dl.btn,type:"button",children:[o.jsx("img",{src:hx,alt:"swap"}),"Пополнить кошелёк"]}),o.jsxs(Rn,{to:Pe.SWAP,className:Dl.btn,type:"button",children:[o.jsx("img",{src:dx,alt:"topup"}),"Своп / Бридж"]})]})]})}const mp="https://app.cryptowallet.elcsa.ru",pp=["ETH","BSC","BTC","TRX","SOL"];async function Qc(n,s=!0){const c=await Kl(),r=Sa.get(),d=await fetch(`${mp}${n}`,{credentials:"include",headers:{"X-CSRF-Token":c,...r?{Authorization:`Bearer ${r}`}:{}}});if(d.status===401&&s)try{return await Bi(),Qc(n,!1)}catch{throw Sa.clear(),new Error("Unauthorized")}const h=await d.json();if(!d.ok)throw h;return h}async function yp(n,s,c=!0){const r=await Kl(),d=Sa.get(),h=await fetch(`${mp}${n}`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":r,...d?{Authorization:`Bearer ${d}`}:{}},body:JSON.stringify(s)});if(h.status===401&&c)try{return await Bi(),yp(n,s,!1)}catch{throw Sa.clear(),new Error("Unauthorized")}const p=await h.json();if(!h.ok)throw p;return p}async function px(){return(await Qc("/api/wallets")).data}async function yx(n){return(await Qc(`/api/wallets/${n}/balance`)).data}async function vx(n){return(await Qc(`/api/prices?symbols=${n.join(",")}`)).data}async function gx(n,s){return yp(`/api/wallets/${n}/send`,s)}function _x(){return ub({queries:pp.map(n=>({queryKey:["wallet","balance",n],queryFn:()=>yx(n),staleTime:3e4}))})}function bx(n){return Ui({queryKey:["wallet","prices",n.join(",")],queryFn:()=>vx(n),staleTime:300*1e3})}function xx(){return Zl({mutationFn:({chain:n,...s})=>gx(n,s)})}function Sx(){return Ui({queryKey:["wallet","addresses"],queryFn:px,staleTime:600*1e3})}const vp="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%206H15C16.6569%206%2018%207.34315%2018%209C18%2010.6569%2016.6569%2012%2015%2012M10%206V12M10%206H7M10%206V3M15%2012H10M15%2012C16.6569%2012%2018%2013.3431%2018%2015C18%2016.6569%2016.6569%2018%2015%2018H10M10%2012V18M10%2018H7M10%2018V21M13%206V3M13%2021V18'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",gp="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pg0KDQo8IURPQ1RZUEUgc3ZnICBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAxLjEvL0VOJyAgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+DQoNCjwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIEdlbmVyYXRvcjogU1ZHIFJlcG8gTWl4ZXIgVG9vbHMgLS0+DQo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDMyIDMyIiBpZD0iX3gzQ19MYXllcl94M0VfIiB2ZXJzaW9uPSIxLjEiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KDQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KPCFbQ0RBVEFbDQoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Qxe2ZpbGw6bm9uZTtzdHJva2U6I2ZmZjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fQ0KXV0+DQo8L3N0eWxlPg0KDQo8ZyBpZD0iRXRoZXJldW1feDJDX19jcnlwdG9feDJDX19jcnlwdG9jdXJyZW5jeV8xXyI+DQoNCjxnIGlkPSJYTUxJRF8xNV8iPg0KDQo8cG9seWdvbiBjbGFzcz0ic3QxIiBpZD0iWE1MSURfOF8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzFfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjMwLjUiIHkyPSIyNC4xIi8+DQoNCjxwb2x5Z29uIGNsYXNzPSJzdDEiIGlkPSJYTUxJRF8xMl8iIHBvaW50cz0iMTYuMDEsMzAuNSA3LjYyLDE4LjgzIDE2LjAxLDI0LjEgMjQuMzgsMTguNzggICAiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzMwXyIgcG9pbnRzPSIxNi4wMSwxMi4zIDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzJfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjEuNSIgeTI9IjIxLjUiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzE5Ml8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8L2c+DQoNCjwvZz4NCg0KPC9zdmc+",_p="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.08398%205.22265C7.17671%205.08355%207.33282%205%207.5%205H18.5C18.6844%205%2018.8538%205.10149%2018.9408%205.26407C19.0278%205.42665%2019.0183%205.62392%2018.916%205.77735L16.916%208.77735C16.8233%208.91645%2016.6672%209%2016.5%209H5.5C5.3156%209%205.14617%208.89851%205.05916%208.73593C4.97215%208.57335%204.98169%208.37608%205.08398%208.22265L7.08398%205.22265ZM7.76759%206L6.43426%208H16.2324L17.5657%206H7.76759Z'%20fill='%23fff'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.08398%2015.2226C7.17671%2015.0836%207.33282%2015%207.5%2015H18.5C18.6844%2015%2018.8538%2015.1015%2018.9408%2015.2641C19.0278%2015.4267%2019.0183%2015.6239%2018.916%2015.7774L16.916%2018.7774C16.8233%2018.9164%2016.6672%2019%2016.5%2019H5.5C5.3156%2019%205.14617%2018.8985%205.05916%2018.7359C4.97215%2018.5734%204.98169%2018.3761%205.08398%2018.2226L7.08398%2015.2226ZM7.76759%2016L6.43426%2018H16.2324L17.5657%2016H7.76759Z'%20fill='%23fff'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.08398%2013.7774C7.17671%2013.9164%207.33282%2014%207.5%2014H18.5C18.6844%2014%2018.8538%2013.8985%2018.9408%2013.7359C19.0278%2013.5733%2019.0183%2013.3761%2018.916%2013.2226L16.916%2010.2226C16.8233%2010.0836%2016.6672%2010%2016.5%2010H5.5C5.3156%2010%205.14617%2010.1015%205.05916%2010.2641C4.97215%2010.4267%204.98169%2010.6239%205.08398%2010.7774L7.08398%2013.7774ZM7.76759%2013L6.43426%2011H16.2324L17.5657%2013H7.76759Z'%20fill='%23fff'/%3e%3c/svg%3e",bp="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.6109%204.68601C4.72546%204.54406%204.90822%204.47575%205.0878%204.50778L16.575%206.55656C16.6715%206.57377%2016.7608%206.61896%2016.8318%206.68651L19.3446%209.07676C19.5379%209.26064%2019.5528%209.5639%2019.3784%209.76583L11.122%2019.3268C11.0084%2019.4583%2010.8347%2019.5214%2010.6632%2019.4935C10.4917%2019.4656%2010.347%2019.3506%2010.281%2019.1898L4.53742%205.18979C4.46819%205.02103%204.49635%204.82796%204.6109%204.68601ZM6.19646%206.59904L10.4853%2017.053L11.2894%2010.6786L6.19646%206.59904ZM12.2688%2010.9045L11.4468%2017.4207L17.7491%2010.1226L12.2688%2010.9045ZM17.9075%209.08986L13.7298%209.68594L16.4453%207.69901L17.9075%209.08986ZM15.2483%207.33573L6.84451%205.83688L11.8343%209.83381L15.2483%207.33573Z'%20fill='%23fff'/%3e%3c/svg%3e",xp="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='151'%20height='172'%20viewBox='0%200%20151%20172'%20fill='none'%3e%3cpath%20d='M144.518%2039.2113L82.214%203.03438C80.1932%201.87961%2077.9919%201.28418%2075.7545%201.28418C73.5352%201.28418%2071.3158%201.87961%2069.3311%203.03438L7.00937%2039.2474C3.05788%2041.5569%200.585938%2045.8151%200.585938%2050.4162V122.842C0.585938%20127.443%203.05788%20131.756%207.00937%20134.047L18.2143%20140.561L34.5616%20150.052L38.2243%20139.965L71.8932%2047.1143C72.2%2046.2121%2071.5504%2045.2378%2070.54%2045.2378H54.752C53.5792%2045.2378%2052.4966%2045.9775%2052.1177%2047.0782L21.8951%20130.474L12.2961%20124.899C11.5743%20124.484%2011.1232%20123.708%2011.1232%20122.878V50.4162C11.1232%2049.5862%2011.5743%2048.8103%2012.2961%2048.3953L74.6178%2012.1824C74.9606%2011.9658%2075.3756%2011.8756%2075.7725%2011.8756C76.1875%2011.8756%2076.5665%2011.9839%2076.9454%2012.1824L139.285%2048.3953C140.007%2048.8103%20140.458%2049.5862%20140.458%2050.4162V122.842C140.458%20123.672%20140.007%20124.448%20139.285%20124.863L129.794%20130.384L104.822%2061.4768C104.371%2060.2137%20102.639%2060.2137%20102.188%2061.4768L93.9602%2084.1392C93.7257%2084.7707%2093.7257%2085.4744%2093.9602%2086.0879L113.447%20139.875L106.969%20143.646L91.0192%2099.6023C90.5681%2098.3393%2088.8359%2098.3393%2088.3848%2099.6023L80.1571%20122.265C79.9225%20122.896%2079.9225%20123.6%2080.1571%20124.213L90.6403%20153.137L76.9634%20161.094C76.6206%20161.311%2076.2056%20161.401%2075.7906%20161.401C75.3756%20161.401%2074.9967%20161.293%2074.6178%20161.094L61.1033%20153.227L99.5537%2047.1323C99.8965%2046.1941%2099.2108%2045.2017%2098.2365%2045.2017H82.4486C81.2758%2045.2017%2080.1932%2045.9414%2079.8142%2047.0421L44.756%20143.718L41.0932%20153.805L57.4405%20163.295L69.3672%20170.224C71.3519%20171.379%2073.5713%20171.974%2075.7906%20171.974C78.0099%20171.974%2080.2292%20171.379%2082.214%20170.224L144.554%20134.011C148.541%20131.701%20150.977%20127.443%20150.977%20122.806V50.4162C150.977%2045.8151%20148.505%2041.5028%20144.554%2039.2113H144.518Z'%20fill='white'/%3e%3c/svg%3e",jx=[{ticker:"BTC",name:"Bitcoin",logo:vp,color:"#F7931A",price:"$66,916.00",change:.12,bal:"0.003295",usd:"$220.57",fav:!0},{ticker:"ETH",name:"Ethereum",logo:gp,color:"#627EEA",price:"$2,053.97",change:-.12,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"SOL",name:"Solana",logo:_p,color:"#9945FF",price:"$163.84",change:-1.57,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"TRX",name:"Tron",logo:bp,color:"#FF060A",price:"$0.1197",change:1.33,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"ARB",name:"Arbitrum",logo:xp,color:"#4A6DFF",price:"$0.9214",change:2.56,bal:"0.07636",usd:"$156.51",fav:!1}],Ex=["BTC","ETH","SOL","TRX","ARB"],Nx={BTC:{chain:"BTC",type:"native"},ETH:{chain:"ETH",type:"native"},SOL:{chain:"SOL",type:"native"},TRX:{chain:"TRX",type:"native"},ARB:{chain:"ETH",type:"token",symbol:"ARB"}};function Tx(n){return`$${n.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`}function Cx(n){return n>=1?`$${n.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`:`$${n.toLocaleString("en-US",{minimumFractionDigits:4,maximumFractionDigits:6})}`}function Rx(){const n=_x(),s=bx(Ex),c=n.some(h=>h.isLoading)||s.isLoading,r={};return pp.forEach((h,p)=>{const v=n[p].data;v&&(r[h]=v)}),{rows:jx.map(h=>{var R;const p=Nx[h.ticker],v=p?r[p.chain]:void 0;let g=h.bal,y=h.usd;if(v){const D=p.type==="native"?v.native:v.tokens[p.type==="token"?p.symbol:h.ticker];D&&(g=D.formatted,y=Tx(D.usdValue))}const j=(R=s.data)==null?void 0:R[h.ticker],_=j?Cx(j.usd):h.price;return{...h,price:_,bal:g,usd:y}}),isLoading:c}}const wx={ETH:["USDT","USDC","DAI","WBTC","LINK","UNI"],BSC:["USDT","USDC","BUSD","WBNB","DOGE"],BTC:[],TRX:["USDT","USDC"],SOL:["USDC","USDT","RAY","BONK","JTO","PYTH","WIF","JUP","ORCA","MNGO","MSOL","STSOL","SAMO","ATLAS"]},Ox={ETH:{label:"Ethereum",nativeSymbol:"ETH",hasToken:!0,hasFeeTier:!0,addressPlaceholder:"0x…",unit:"wei",color:"#627EEA"},BSC:{label:"BNB Chain",nativeSymbol:"BNB",hasToken:!0,hasFeeTier:!1,addressPlaceholder:"0x…",unit:"wei",color:"#F3BA2F"},BTC:{label:"Bitcoin",nativeSymbol:"BTC",hasToken:!1,hasFeeTier:!0,addressPlaceholder:"bc1q…",unit:"satoshi",color:"#F7931A"},TRX:{label:"Tron",nativeSymbol:"TRX",hasToken:!0,hasFeeTier:!1,addressPlaceholder:"T…",unit:"sun",color:"#FF060A"},SOL:{label:"Solana",nativeSymbol:"SOL",hasToken:!0,hasFeeTier:!1,addressPlaceholder:"Fg3R…",unit:"lamport",color:"#9945FF"}},Im={BTC:"BTC",ETH:"ETH",SOL:"SOL",TRX:"TRX",BNB:"BSC",ARB:"ETH"},Mx="_overlay_1hejd_1",Ax="_dialog_1hejd_14",zx="_dialogIn_1hejd_1",Dx="_header_1hejd_37",Lx="_title_1hejd_44",Ux="_close_1hejd_50",Bx="_selectsRow_1hejd_72",Hx="_selectGroup_1hejd_79",qx="_selectLabel_1hejd_83",kx="_selectTrigger_1hejd_93",Qx="_selectTriggerOpen_1hejd_112",Gx="_selectValue_1hejd_117",Yx="_chevron_1hejd_125",$x="_chevronOpen_1hejd_131",Vx="_tokenDot_1hejd_137",Xx="_speedDot_1hejd_158",Zx="_speedDot_slow_1hejd_165",Kx="_speedDot_normal_1hejd_170",Jx="_speedDot_fast_1hejd_175",Fx="_dropdown_1hejd_182",Wx="_dropdownItem_1hejd_195",Ix="_dropdownItemActive_1hejd_215",Px="_dropdownTicker_1hejd_220",e6="_dropdownName_1hejd_225",t6="_field_1hejd_233",a6="_fieldLabel_1hejd_237",l6="_input_1hejd_247",n6="_amountWrap_1hejd_283",i6="_amountInput_1hejd_287",s6="_amountTicker_1hejd_291",u6="_maxHint_1hejd_304",c6="_maxBtn_1hejd_314",r6="_errorMsg_1hejd_333",o6="_submitBtn_1hejd_346",ee={overlay:Mx,dialog:Ax,dialogIn:zx,header:Dx,title:Lx,close:Ux,selectsRow:Bx,selectGroup:Hx,selectLabel:qx,selectTrigger:kx,selectTriggerOpen:Qx,selectValue:Gx,chevron:Yx,chevronOpen:$x,tokenDot:Vx,speedDot:Xx,speedDot_slow:Zx,speedDot_normal:Kx,speedDot_fast:Jx,dropdown:Fx,dropdownItem:Wx,dropdownItemActive:Ix,dropdownTicker:Px,dropdownName:e6,field:t6,fieldLabel:a6,input:l6,amountWrap:n6,amountInput:i6,amountTicker:s6,maxHint:u6,maxBtn:c6,errorMsg:r6,submitBtn:o6},Pm=[{value:"slow",label:"Медленно"},{value:"normal",label:"Нормально"},{value:"fast",label:"Быстро"}];function f6(n){var s;if(n instanceof Error)return n.message;if(n&&typeof n=="object"){const c=n;if(typeof c.message=="string")return c.message;if(typeof c.error=="string")return c.error;if(Array.isArray(c.detail)&&((s=c.detail[0])!=null&&s.msg))return String(c.detail[0].msg)}return"Что-то пошло не так. Попробуйте ещё раз."}function d6({open:n,onClose:s,network:c,tokens:r=[],initialToken:d=""}){var Qe;const h=Ox[c],p=wx[c],[v,g]=S.useState(d),[y,j]=S.useState("normal"),[_,R]=S.useState(""),[D,H]=S.useState(""),[T,z]=S.useState(null),U=xx(),Z=((Qe=Pm.find(ie=>ie.value===y))==null?void 0:Qe.label)??"Нормально",Y=v===""?h.nativeSymbol:v,$=r.find(ie=>ie.ticker===(v===""?h.nativeSymbol:v));if(S.useEffect(()=>{g(d)},[d]),S.useEffect(()=>{g("")},[c]),S.useEffect(()=>{U.isSuccess&&s()},[U.isSuccess,s]),S.useEffect(()=>{if(!n){R(""),H(""),z(null),U.reset();return}const ie=xt=>{xt.key==="Escape"&&s()};return document.addEventListener("keydown",ie),()=>document.removeEventListener("keydown",ie)},[n,s]),!n)return null;const te=h.hasToken,ce=h.hasFeeTier,I=te||ce,ne=te&&ce?2:1;function he(){T?z(null):s()}function Oe(){U.mutate({chain:c,to:_,amount:D,...v?{token:v}:{},...h.hasFeeTier?{feeTier:y}:{}})}return o.jsx("div",{className:ee.overlay,onClick:he,children:o.jsxs("div",{className:ee.dialog,onClick:ie=>ie.stopPropagation(),children:[o.jsxs("div",{className:ee.header,children:[o.jsxs("div",{className:ee.headerLeft,children:[o.jsx("span",{className:ee.chainDot,style:{background:h.color}}),o.jsxs("span",{className:ee.title,children:["Отправить · ",h.label]})]}),o.jsx("button",{className:ee.close,onClick:s,type:"button","aria-label":"Закрыть",children:o.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{d:"M1 1l12 12M13 1L1 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})]}),I&&o.jsxs("div",{className:ee.selectsRow,style:{gridTemplateColumns:`repeat(${ne}, 1fr)`},children:[te&&o.jsxs("div",{className:ee.selectGroup,children:[o.jsx("label",{className:ee.selectLabel,children:"Токен"}),o.jsxs("button",{type:"button",className:`${ee.selectTrigger} ${T==="token"?ee.selectTriggerOpen:""}`,onClick:()=>z(ie=>ie==="token"?null:"token"),children:[o.jsx("span",{className:ee.tokenDot,style:{background:h.color},children:Y[0]}),o.jsx("span",{className:ee.selectValue,children:Y}),o.jsx("svg",{className:`${ee.chevron} ${T==="token"?ee.chevronOpen:""}`,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:o.jsx("path",{d:"M2 4l4 4 4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),T==="token"&&o.jsxs("div",{className:ee.dropdown,children:[o.jsxs("button",{type:"button",className:`${ee.dropdownItem} ${v===""?ee.dropdownItemActive:""}`,onClick:()=>{g(""),z(null)},children:[o.jsx("span",{className:ee.tokenDot,style:{background:h.color},children:h.nativeSymbol[0]}),o.jsx("span",{className:ee.dropdownTicker,children:h.nativeSymbol}),o.jsx("span",{className:ee.dropdownName,children:"Нативный"})]}),p.map(ie=>o.jsxs("button",{type:"button",className:`${ee.dropdownItem} ${v===ie?ee.dropdownItemActive:""}`,onClick:()=>{g(ie),z(null)},children:[o.jsx("span",{className:ee.tokenDot,style:{background:"rgba(255,255,255,0.12)"},children:ie[0]}),o.jsx("span",{className:ee.dropdownTicker,children:ie})]},ie))]})]}),ce&&o.jsxs("div",{className:ee.selectGroup,children:[o.jsx("label",{className:ee.selectLabel,children:"Скорость"}),o.jsxs("button",{type:"button",className:`${ee.selectTrigger} ${T==="speed"?ee.selectTriggerOpen:""}`,onClick:()=>z(ie=>ie==="speed"?null:"speed"),children:[o.jsx("span",{className:`${ee.speedDot} ${ee[`speedDot_${y}`]}`}),o.jsx("span",{className:ee.selectValue,children:Z}),o.jsx("svg",{className:`${ee.chevron} ${T==="speed"?ee.chevronOpen:""}`,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:o.jsx("path",{d:"M2 4l4 4 4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),T==="speed"&&o.jsx("div",{className:ee.dropdown,children:Pm.map(ie=>o.jsxs("button",{type:"button",className:`${ee.dropdownItem} ${ie.value===y?ee.dropdownItemActive:""}`,onClick:()=>{j(ie.value),z(null)},children:[o.jsx("span",{className:`${ee.speedDot} ${ee[`speedDot_${ie.value}`]}`}),o.jsx("span",{children:ie.label})]},ie.value))})]})]}),o.jsxs("div",{className:ee.field,children:[o.jsx("label",{className:ee.fieldLabel,children:"Адрес кошелька"}),o.jsx("input",{className:ee.input,type:"text",placeholder:h.addressPlaceholder,value:_,onChange:ie=>R(ie.target.value),autoComplete:"off",spellCheck:!1})]}),o.jsxs("div",{className:ee.field,children:[o.jsx("label",{className:ee.fieldLabel,children:"Количество"}),o.jsxs("div",{className:ee.amountWrap,children:[o.jsx("input",{className:`${ee.input} ${ee.amountInput}`,type:"number",placeholder:"0.00",value:D,onChange:ie=>H(ie.target.value),min:"0",step:"any"}),o.jsx("span",{className:ee.amountTicker,children:Y})]}),$&&o.jsxs("div",{className:ee.maxHint,children:["Макс:"," ",o.jsxs("button",{type:"button",className:ee.maxBtn,onClick:()=>H($.bal),children:[$.bal," ",Y]})]})]}),U.isError&&o.jsx("div",{className:ee.errorMsg,children:f6(U.error)}),o.jsx("button",{className:ee.submitBtn,type:"button",disabled:U.isPending,onClick:Oe,children:U.isPending?"Отправка…":"Отправить"})]})})}const h6="_overlay_qs9u3_6",m6="_dialog_qs9u3_18",p6="_header_qs9u3_27",y6="_title_qs9u3_34",v6="_closeBtn_qs9u3_40",g6="_body_qs9u3_55",_6="_label_qs9u3_62",b6="_fieldRow_qs9u3_68",x6="_addressInput_qs9u3_73",S6="_copyBtn_qs9u3_92",j6="_copyBtnDone_qs9u3_118",E6="_skeleton_qs9u3_123",N6="_error_qs9u3_136",Jt={overlay:h6,dialog:m6,header:p6,title:y6,closeBtn:v6,body:g6,label:_6,fieldRow:b6,addressInput:x6,copyBtn:S6,copyBtnDone:j6,skeleton:E6,error:N6},T6={ETH:"Ethereum",BSC:"BNB Smart Chain",BTC:"Bitcoin",TRX:"Tron",SOL:"Solana"};function C6({open:n,onClose:s,chain:c}){const{data:r,isLoading:d,isError:h}=Sx(),[p,v]=S.useState(!1);if(S.useEffect(()=>{if(!n)return;function R(D){D.key==="Escape"&&s()}return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[n,s]),S.useEffect(()=>{n||v(!1)},[n]),!n)return null;const g=r==null?void 0:r.find(R=>R.chain===c),y=(g==null?void 0:g.address)??"";function j(){y&&navigator.clipboard.writeText(y).then(()=>{v(!0),setTimeout(()=>v(!1),2e3)})}function _(R){R.target===R.currentTarget&&s()}return o.jsx("div",{className:Jt.overlay,onMouseDown:_,children:o.jsxs("div",{className:Jt.dialog,children:[o.jsxs("div",{className:Jt.header,children:[o.jsxs("span",{className:Jt.title,children:["Получить ",T6[c]]}),o.jsx("button",{className:Jt.closeBtn,type:"button",onClick:s,"aria-label":"Закрыть",children:"✕"})]}),o.jsxs("div",{className:Jt.body,children:[d&&o.jsx("div",{className:Jt.skeleton}),h&&o.jsx("p",{className:Jt.error,children:"Не удалось загрузить адрес. Попробуйте позже."}),!d&&!h&&o.jsxs(o.Fragment,{children:[o.jsxs("label",{className:Jt.label,children:["Ваш ",c,"-адрес"]}),o.jsxs("div",{className:Jt.fieldRow,children:[o.jsx("input",{className:Jt.addressInput,type:"text",readOnly:!0,value:y,onFocus:R=>R.target.select()}),o.jsx("button",{className:`${Jt.copyBtn} ${p?Jt.copyBtnDone:""}`,type:"button",onClick:j,disabled:!y,children:p?"Скопировано!":"Копировать"})]})]})]})]})})}const R6="_wrap_2q74k_1",w6="_loading_2q74k_9",O6="_table_2q74k_14",M6="_thStar_2q74k_44",A6="_right_2q74k_48",z6="_center_2q74k_52",D6="_btnGroup_2q74k_57",L6="_star_2q74k_63",U6="_starOn_2q74k_78",B6="_tokId_2q74k_82",H6="_tokLogo_2q74k_88",q6="_arb_2q74k_106",k6="_price_2q74k_123",Q6="_change_2q74k_129",G6="_up_2q74k_140",Y6="_dn_2q74k_145",$6="_balCol_2q74k_150",V6="_sendBtn_2q74k_163",X6="_receiveBtn_2q74k_186",Z6="_noFont_2q74k_209",K6="_mobileList_2q74k_214",J6="_card_2q74k_218",F6="_cardInfo_2q74k_230",W6="_cardTop_2q74k_235",I6="_cardTicker_2q74k_242",P6="_cardName_2q74k_248",eS="_cardBalCrypto_2q74k_254",tS="_cardBot_2q74k_261",aS="_cardPrice_2q74k_267",lS="_cardBotRight_2q74k_273",nS="_cardBalUsd_2q74k_279",iS="_mobileActions_2q74k_300",se={wrap:R6,loading:w6,table:O6,thStar:M6,right:A6,center:z6,btnGroup:D6,star:L6,starOn:U6,tokId:B6,tokLogo:H6,arb:q6,price:k6,change:Q6,up:G6,dn:Y6,balCol:$6,sendBtn:V6,receiveBtn:X6,noFont:Z6,mobileList:K6,card:J6,cardInfo:F6,cardTop:W6,cardTicker:I6,cardName:P6,cardBalCrypto:eS,cardBot:tS,cardPrice:aS,cardBotRight:lS,cardBalUsd:nS,mobileActions:iS};function sS(){const{rows:n,isLoading:s}=Rx(),[c,r]=S.useState(()=>n.map(T=>T.fav)),[d,h]=S.useState({open:!1,network:"ETH"}),[p,v]=S.useState({open:!1,chain:"ETH"});function g(T){const z=Im[T]??"ETH";h({open:!0,network:z})}function y(){h(T=>({...T,open:!1}))}function j(T){const z=Im[T]??"ETH";v({open:!0,chain:z})}function _(){v(T=>({...T,open:!1}))}function R(T){r(z=>z.map((U,Z)=>Z===T?!U:U))}const D=o.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"#4A6DFF",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M7 17L17 7M17 7H7M17 7v10"})}),H=o.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"#00C48C",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M17 7L7 17M7 17H17M7 17V7"})});return o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:`${se.wrap} ${s?se.loading:""}`,children:[o.jsxs("table",{className:se.table,children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{className:se.thStar,children:"☆"}),o.jsx("th",{children:"Токены"}),o.jsx("th",{className:se.right,children:"Цена"}),o.jsx("th",{className:se.right,children:"Изменение"}),o.jsx("th",{className:se.right,children:"Баланс"}),o.jsx("th",{className:se.center})]})}),o.jsx("tbody",{children:n.map((T,z)=>o.jsxs("tr",{children:[o.jsx("td",{children:o.jsx("button",{className:`${se.star} ${c[z]?se.starOn:""}`,onClick:()=>R(z),type:"button","aria-label":c[z]?"Убрать из избранного":"В избранное",children:"★"})}),o.jsx("td",{children:o.jsxs("div",{className:se.tokId,children:[o.jsx("div",{className:se.tokLogo,style:{background:T.color},children:T.logo&&o.jsx("img",{src:T.logo,alt:T.ticker,className:T.ticker==="ARB"?se.arb:""})}),o.jsxs("div",{className:se.balCol,children:[o.jsx("b",{className:se.cardTicker,children:T.ticker}),o.jsx("span",{className:se.noFont,children:T.name})]})]})}),o.jsx("td",{className:se.right,children:o.jsx("span",{className:se.price,children:T.price})}),o.jsx("td",{className:se.right,children:o.jsxs("span",{className:`${se.change} ${T.change>=0?se.up:se.dn}`,children:[T.change>=0?"↑":"↓"," ",T.change>=0?"+":"",T.change,"%"]})}),o.jsx("td",{className:se.right,children:o.jsxs("div",{className:se.balCol,children:[o.jsx("b",{children:T.bal}),o.jsx("span",{children:T.usd})]})}),o.jsx("td",{className:se.center,children:o.jsxs("div",{className:se.btnGroup,children:[o.jsxs("button",{className:se.receiveBtn,type:"button",onClick:U=>{U.stopPropagation(),j(T.ticker)},children:[H,"Получить"]}),o.jsxs("button",{className:se.sendBtn,type:"button",onClick:U=>{U.stopPropagation(),g(T.ticker)},children:[D,"Отправить"]})]})})]},T.ticker))})]}),o.jsx("div",{className:se.mobileList,children:n.map((T,z)=>o.jsxs("div",{className:se.card,children:[o.jsx("button",{className:`${se.star} ${c[z]?se.starOn:""}`,onClick:()=>R(z),type:"button","aria-label":c[z]?"Убрать из избранного":"В избранное",children:"★"}),o.jsx("div",{className:se.tokLogo,style:{background:T.color},children:T.logo?o.jsx("img",{src:T.logo,alt:T.ticker,className:T.ticker==="ARB"?se.arb:""}):T.ticker[0]}),o.jsxs("div",{className:se.cardInfo,children:[o.jsxs("div",{className:se.cardTop,children:[o.jsxs("div",{children:[o.jsx("span",{className:se.cardTicker,children:T.ticker}),o.jsx("span",{className:se.cardName,children:T.name})]}),o.jsx("span",{className:se.cardBalCrypto,children:T.bal})]}),o.jsxs("div",{className:se.cardBot,children:[o.jsx("span",{className:se.cardPrice,children:T.price}),o.jsxs("div",{className:se.cardBotRight,children:[o.jsx("span",{className:se.cardBalUsd,children:T.usd}),o.jsxs("span",{className:`${se.change} ${T.change>=0?se.up:se.dn}`,children:[T.change>=0?"↑":"↓"," ",Math.abs(T.change),"%"]})]})]})]})]},T.ticker))})]}),o.jsxs("div",{className:se.mobileActions,children:[o.jsxs("button",{className:se.receiveBtn,type:"button",onClick:()=>{var T;return j(((T=n[0])==null?void 0:T.ticker)??"")},children:[H,"Получить"]}),o.jsxs("button",{className:se.sendBtn,type:"button",onClick:()=>{var T;return g(((T=n[0])==null?void 0:T.ticker)??"")},children:[D,"Отправить"]})]}),o.jsx(d6,{open:d.open,onClose:y,network:d.network,tokens:n}),o.jsx(C6,{open:p.open,onClose:_,chain:p.chain})]})}const uS="_nav_ip34n_1",cS="_logo_ip34n_11",rS="_ticker_ip34n_16",oS="_tick_ip34n_16",fS="_up_ip34n_34",dS="_dn_ip34n_38",hS="_accountWrapper_ip34n_42",mS="_account_ip34n_42",pS="_dropdown_ip34n_56",yS="_dropdownItem_ip34n_70",vS="_danger_ip34n_89",gS="_avatar_ip34n_93",Dt={nav:uS,logo:cS,ticker:rS,tick:oS,up:fS,dn:dS,accountWrapper:hS,account:mS,dropdown:pS,dropdownItem:yS,danger:vS,avatar:gS},_S=[{symbol:"BTC",price:"$66,916.00",change:.12},{symbol:"ETH",price:"$2,053.97",change:-.12},{symbol:"SOL",price:"$163.84",change:-1.57}];function nu(){const[n,s]=S.useState(!1),[c,r]=S.useState(!1),d=S.useRef(null),h=tu(),p=Li(),{mutate:v}=Zl({mutationFn:C4,onSuccess:()=>{Sa.clear(),p.setQueryData(kc,null),h(Pe.HOME)},onError:()=>r(!0)});S.useEffect(()=>{function y(j){d.current&&!d.current.contains(j.target)&&s(!1)}return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[]);function g(){v(),s(!1)}return o.jsxs(o.Fragment,{children:[o.jsxs("nav",{className:Dt.nav,children:[o.jsx("a",{href:"/",className:Dt.logo,children:o.jsx("img",{src:Mn,alt:"ЭКСА"})}),o.jsx("div",{className:Dt.ticker,children:_S.map(({symbol:y,price:j,change:_})=>o.jsxs("div",{className:Dt.tick,children:[o.jsx("b",{children:y}),o.jsx("span",{children:j}),o.jsxs("span",{className:_>=0?Dt.up:Dt.dn,children:[_>=0?"+":"",_,"%"]})]},y))}),o.jsxs("div",{className:Dt.accountWrapper,ref:d,children:[o.jsxs("button",{className:Dt.account,onClick:()=>s(y=>!y),children:[o.jsx("div",{className:Dt.avatar}),o.jsx("span",{children:"Test account"})]}),n&&o.jsxs("div",{className:Dt.dropdown,children:[o.jsx(Rn,{to:Pe.PROFILE,className:Dt.dropdownItem,onClick:()=>s(!1),children:"Личный кабинет"}),o.jsx(Rn,{to:Pe.WALLET,className:Dt.dropdownItem,onClick:()=>s(!1),children:"Кошелёк"}),o.jsx("button",{className:`${Dt.dropdownItem} ${Dt.danger}`,onClick:g,children:"Выйти"})]})]})]}),c&&o.jsx(c3,{status:"error",message:"Произошла ошибка сервера",onClose:()=>r(!1)})]})}const bS="_page_1684x_1",xS="_main_1684x_8",SS="_glow_1684x_17",jS="_error_1684x_29",Tc={page:bS,main:xS,glow:SS,error:jS};function ES(){const{data:n,isLoading:s,isError:c}=hp();return s?null:c?o.jsx("div",{className:Tc.error,children:"Произошла ошибка. Попробуйте обновить страницу."}):n&&!n.kyc_verified?o.jsx(t0,{to:Pe.KYC,replace:!0}):o.jsxs("div",{className:Tc.page,children:[o.jsx(nu,{}),o.jsxs("main",{className:Tc.main,children:[o.jsx("div",{className:Tc.glow}),o.jsx(mx,{}),o.jsx(sS,{})]})]})}const Kf={BTC:{symbol:"BTC",letter:"₿",logo:vp,color:"#F7931A",network:"BITCOIN",balance:0,usdRate:67412},ETH:{symbol:"ETH",letter:"E",logo:gp,color:"#627EEA",network:"ETHEREUM",balance:0,usdRate:3521},SOL:{symbol:"SOL",letter:"S",logo:_p,color:"#9945FF",network:"SOLANA",balance:.994,usdRate:163.84},TRX:{symbol:"TRX",letter:"T",logo:bp,color:"#FF060A",network:"TRON",balance:0,usdRate:.12},ARB:{symbol:"ARB",letter:"A",logo:xp,color:"#4A6DFF",network:"ARBITRUM",balance:0,usdRate:.92},USDC:{symbol:"USDC",letter:"$",color:"#2775CA",network:"SOLANA",balance:0,usdRate:1},USDT:{symbol:"USDT",letter:"$",color:"#26A17B",network:"ETHEREUM",balance:0,usdRate:1}},e1=Object.values(Kf),t1=82.2578;function NS(){const[n,s]=S.useState("0.25"),[c,r]=S.useState(Kf.SOL),[d,h]=S.useState(Kf.USDC),[p,v]=S.useState(!1),g=parseFloat(n)||0,y=(g*t1).toFixed(4),j=(g*c.usdRate).toFixed(2),_=(g*t1*d.usdRate).toFixed(2);function R(z){s(z)}function D(z){s((c.balance*z/100).toFixed(4))}function H(){r(d),h(c)}function T(){v(!0),setTimeout(()=>v(!1),400)}return{fromAmount:n,toAmount:y,fromUsd:j,toUsd:_,fromToken:c,toToken:d,isRefreshing:p,setFromAmount:R,setPercent:D,swapTokens:H,refreshRate:T,setFromToken:r,setToToken:h}}const TS="_row_d7uj5_1",CS="_refresh_d7uj5_10",a1={row:TS,refresh:CS};function RS({fromSymbol:n,toSymbol:s,rate:c,isRefreshing:r,onRefresh:d}){return o.jsxs("div",{className:a1.row,children:[o.jsxs("span",{children:["1 ",n," = ",c.toFixed(4)," ",s]}),o.jsx("button",{className:a1.refresh,style:{transform:r?"rotate(360deg)":"rotate(0deg)"},onClick:d,"aria-label":"Обновить курс",children:"⟳"})]})}const wS="_wrap_18yiu_1",OS="_trigger_18yiu_6",MS="_name_18yiu_22",AS="_chevron_18yiu_29",zS="_chevronOpen_18yiu_37",DS="_dropdown_18yiu_41",LS="_dropdownWrapper_18yiu_47",US="_option_18yiu_60",BS="_optionActive_18yiu_78",HS="_optionInfo_18yiu_82",qS="_optionSymbol_18yiu_90",kS="_optionNetwork_18yiu_96",QS="_check_18yiu_103",GS="_triggerCompact_18yiu_110",YS="_nameCompact_18yiu_116",Nt={wrap:wS,trigger:OS,name:MS,chevron:AS,chevronOpen:zS,dropdown:DS,dropdownWrapper:LS,option:US,optionActive:BS,optionInfo:HS,optionSymbol:qS,optionNetwork:kS,check:QS,triggerCompact:GS,nameCompact:YS};function l1({value:n,options:s,onChange:c,compact:r=!1}){const[d,h]=S.useState(!1),p=S.useRef(null);S.useEffect(()=>{function g(y){p.current&&!p.current.contains(y.target)&&h(!1)}return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]);function v(g){c(g),h(!1)}return o.jsxs("div",{className:Nt.wrap,ref:p,children:[o.jsxs("button",{className:`${Nt.trigger} ${r?Nt.triggerCompact:""}`,onClick:()=>h(g=>!g),children:[o.jsx(Bm,{letter:n.letter,color:n.color,logo:n.logo,size:r?24:40}),o.jsx("span",{className:`${Nt.name} ${r?Nt.nameCompact:""}`,children:n.symbol}),o.jsx("span",{className:`${Nt.chevron} ${d?Nt.chevronOpen:""}`,children:"▾"})]}),d&&o.jsx("div",{className:Nt.dropdownWrapper,children:o.jsx("div",{className:Nt.dropdown,children:s.map(g=>o.jsxs("button",{className:`${Nt.option} ${g.symbol===n.symbol?Nt.optionActive:""}`,onClick:()=>v(g),children:[o.jsx(Bm,{letter:g.letter,color:g.color,logo:g.logo,size:32}),o.jsxs("div",{className:Nt.optionInfo,children:[o.jsx("span",{className:Nt.optionSymbol,children:g.symbol}),o.jsx("span",{className:Nt.optionNetwork,children:g.network})]}),g.symbol===n.symbol&&o.jsx("span",{className:Nt.check,children:"✓"})]},g.symbol))})})]})}const $S="_wrapper_1w72f_1",VS="_pillsOuter_1w72f_8",XS="_card_1w72f_13",ZS="_top_1w72f_20",KS="_label_1w72f_33",JS="_tag_1w72f_39",FS="_network_1w72f_47",WS="_pillsInner_1w72f_54",IS="_pill_1w72f_8",PS="_selectTop_1w72f_78",e8="_selectMid_1w72f_82",t8="_mid_1w72f_87",a8="_input_1w72f_95",l8="_display_1w72f_111",n8="_int_1w72f_117",i8="_dec_1w72f_122",s8="_bottom_1w72f_127",u8="_usd_1w72f_133",c8="_neg_1w72f_138",r8="_balance_1w72f_142",o8="_max_1w72f_150",Ie={wrapper:$S,pillsOuter:VS,card:XS,top:ZS,label:KS,tag:JS,network:FS,pillsInner:WS,pill:IS,selectTop:PS,selectMid:e8,mid:t8,input:a8,display:l8,int:n8,dec:i8,bottom:s8,usd:u8,neg:c8,balance:r8,max:o8},f8=[25,50,100];function n1({mode:n,token:s,tokenOptions:c,amount:r,usd:d,slippage:h,onTokenChange:p,onAmountChange:v,onSetPercent:g}){const[y,j]=r.split("."),_=g&&o.jsx(o.Fragment,{children:f8.map(R=>o.jsxs("button",{className:Ie.pill,onClick:()=>g(R),children:[R,"%"]},R))});return o.jsxs("div",{className:Ie.wrapper,children:[n==="from"&&_&&o.jsx("div",{className:Ie.pillsOuter,children:_}),o.jsxs("div",{className:Ie.card,children:[o.jsxs("div",{className:Ie.top,children:[o.jsxs("div",{className:Ie.label,children:[o.jsx("span",{className:Ie.tag,children:n==="from"?"ОТ":"К"}),o.jsx("span",{className:Ie.network,children:s.network})]}),n==="from"&&_&&o.jsx("div",{className:Ie.pillsInner,children:_}),o.jsx("div",{className:Ie.selectTop,children:o.jsx(l1,{value:s,options:c,onChange:p,compact:!0})})]}),o.jsxs("div",{className:Ie.mid,children:[n==="from"?o.jsx("input",{className:Ie.input,type:"text",value:r,onChange:R=>v==null?void 0:v(R.target.value),placeholder:"0"}):o.jsxs("div",{className:Ie.display,children:[o.jsx("span",{className:Ie.int,children:y}),o.jsxs("span",{className:Ie.dec,children:[".",j]})]}),o.jsx("div",{className:Ie.selectMid,children:o.jsx(l1,{value:s,options:c,onChange:p})})]}),o.jsxs("div",{className:Ie.bottom,children:[o.jsxs("span",{className:Ie.usd,children:["≈ $",d,h&&o.jsxs("span",{className:Ie.neg,children:[" (",h,")"]})]}),o.jsxs("span",{className:Ie.balance,children:[o.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--text-secondary)",strokeWidth:"2",children:[o.jsx("rect",{x:"2",y:"6",width:"20",height:"14",rx:"3"}),o.jsx("path",{d:"M6 6V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2"})]}),s.balance.toFixed(n==="from"?3:2),n==="from"&&g&&o.jsx("button",{className:Ie.max,onClick:()=>g(100),children:"МАКС"})]})]})]})]})}const d8="_wrap_wqzoz_1",h8="_line_wqzoz_11",m8="_circle_wqzoz_19",bf={wrap:d8,line:h8,circle:m8};function p8({onClick:n}){const[s,c]=S.useState(!1);function r(){c(!0),setTimeout(()=>c(!1),300),n()}return o.jsxs("div",{className:bf.wrap,children:[o.jsx("div",{className:bf.line}),o.jsx("button",{className:bf.circle,style:{transform:s?"rotate(180deg)":"rotate(0deg)"},onClick:r,"aria-label":"Поменять токены",children:"⇅"})]})}const y8="_panel_lvo5z_1",v8="_row_lvo5z_9",g8="_label_lvo5z_21",_8="_value_lvo5z_29",b8="_link_lvo5z_35",Bs={panel:y8,row:v8,label:g8,value:_8,link:b8},x8=[{label:"ПРОВАЙДЕР",value:"ЛУЧШИЙ",link:!1},{label:"СКОЛЬЖЕНИЕ",value:"АВТО (0.5%)",link:!0},{label:"СЕТЕВОЙ СБОР",value:"$0.10",link:!1}];function S8(){return o.jsx("div",{className:Bs.panel,children:x8.map(({label:n,value:s,link:c})=>o.jsxs("div",{className:Bs.row,children:[o.jsx("span",{className:Bs.label,children:n}),o.jsx("span",{className:`${Bs.value} ${c?Bs.link:""}`,children:s})]},n))})}const j8="_form_1fk2f_1",E8={form:j8},N8=82.2578;function T8(){const{fromAmount:n,toAmount:s,fromUsd:c,toUsd:r,fromToken:d,toToken:h,isRefreshing:p,setFromAmount:v,setPercent:g,swapTokens:y,refreshRate:j,setFromToken:_,setToToken:R}=NS();return o.jsxs("div",{className:E8.form,children:[o.jsx(n1,{mode:"from",token:d,tokenOptions:e1,amount:n,usd:c,onAmountChange:v,onSetPercent:g,onTokenChange:_}),o.jsx(p8,{onClick:y}),o.jsx(n1,{mode:"to",token:h,tokenOptions:e1,amount:s,usd:r,slippage:"0.16%",onTokenChange:R}),o.jsx(RS,{fromSymbol:d.symbol,toSymbol:h.symbol,rate:N8,isRefreshing:p,onRefresh:j}),o.jsx(S8,{}),o.jsx(Hc,{})]})}const C8="_page_vqv0y_1",R8="_tabs_vqv0y_8",w8="_tab_vqv0y_8",O8="_active_vqv0y_26",M8="_inactive_vqv0y_31",A8="_main_vqv0y_40",el={page:C8,tabs:R8,tab:w8,active:O8,inactive:M8,main:A8};function z8(){const[n,s]=S.useState("swap");return o.jsxs("div",{className:el.page,children:[o.jsx(nu,{}),o.jsxs("div",{className:el.tabs,children:[o.jsx("button",{className:`${el.tab} ${n==="swap"?el.active:el.inactive}`,onClick:()=>s("swap"),children:"СВОП"}),o.jsx("button",{className:`${el.tab} ${n==="bridge"?el.active:el.inactive}`,onClick:()=>s("bridge"),children:"БРИДЖ"})]}),o.jsx("main",{className:el.main,children:o.jsx(T8,{})}),o.jsx(p0,{})]})}const D8="_col_7b72f_1",L8="_avatar_7b72f_10",U8="_overlay_7b72f_30",B8="_addPhoto_7b72f_55",Cc={col:D8,avatar:L8,overlay:U8,addPhoto:B8};function H8(){return o.jsxs("div",{className:Cc.col,children:[o.jsxs("div",{className:Cc.avatar,children:[o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"12",cy:"8",r:"4"}),o.jsx("path",{d:"M4 20c0-4 4-7 8-7s8 3 8 7"})]}),o.jsx("div",{className:Cc.overlay,children:o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"#fff",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z"}),o.jsx("circle",{cx:"12",cy:"13",r:"4"})]})})]}),o.jsx("div",{className:Cc.addPhoto,children:o.jsx(La,{variant:"ghost",children:"ДОБАВИТЬ ФОТО"})}),o.jsx(La,{variant:"danger",children:"УДАЛИТЬ ФОТО"})]})}const q8="_card_17od5_1",k8="_title_17od5_8",Q8="_actions_17od5_17",xf={card:q8,title:k8,actions:Q8};function Rc({title:n,children:s,actions:c}){return o.jsxs("div",{className:xf.card,children:[o.jsx("div",{className:xf.title,children:n}),s,c&&o.jsx("div",{className:xf.actions,children:c})]})}const G8="_page_h0psp_1",Y8="_kycBanner_h0psp_8",$8="_main_h0psp_19",V8="_profileTop_h0psp_29",X8="_userInfo_h0psp_33",Z8="_sections_h0psp_37",K8="_grid2_h0psp_44",J8="_grid1_h0psp_50",F8="_mnemonicRow_h0psp_56",W8="_mnemonicInfo_h0psp_63",I8="_mnemonicIcon_h0psp_69",P8="_mnemonicText_h0psp_73",e7="_userName_h0psp_105",t7="_userBalance_h0psp_112",a7="_userBalanceRub_h0psp_118",vt={page:G8,kycBanner:Y8,main:$8,profileTop:V8,userInfo:X8,sections:Z8,grid2:K8,grid1:J8,mnemonicRow:F8,mnemonicInfo:W8,mnemonicIcon:I8,mnemonicText:P8,userName:e7,userBalance:t7,userBalanceRub:a7};function l7(){const{data:n}=hp(),s=n?[n.last_name,n.first_name,n.middle_name].filter(Boolean).join(" "):"";return o.jsxs("div",{className:vt.page,children:[o.jsx(nu,{}),n&&!n.kyc_verified&&o.jsx("div",{className:vt.kycBanner,children:"Для полного доступа к платформе необходимо пройти верификацию личности (KYC)"}),o.jsxs("main",{className:vt.main,children:[o.jsxs("div",{className:vt.profileTop,children:[o.jsx(H8,{}),o.jsxs("div",{className:vt.userInfo,children:[o.jsx("span",{className:vt.userName,children:s}),o.jsx("span",{className:vt.userBalance,children:"$245.00"}),o.jsx("span",{className:vt.userBalanceRub,children:"≈ 22 340,50 ₽"})]})]}),o.jsxs("div",{className:vt.sections,children:[o.jsx(Rc,{title:"Личные данные",children:o.jsxs("div",{className:vt.grid2,children:[o.jsx(Ht,{label:"Полное ФИО",value:s,placeholder:"Например: Иванов Иван Иванович"}),o.jsx(Ht,{label:"Адрес электронной почты",value:(n==null?void 0:n.email)??"",type:"email",icon:"check",placeholder:"example@mail.ru",readOnly:!0}),o.jsx(Ht,{label:"Серия и номер паспорта",value:(n==null?void 0:n.passport_data)??"",placeholder:"0000 000000",readOnly:!0}),o.jsx(Ht,{label:"Номер телефона",value:(n==null?void 0:n.phone)??"",type:"tel",icon:"check",placeholder:"+7 (999) 000-00-00",readOnly:!0})]})}),o.jsx(Rc,{title:"Верификация",children:o.jsxs("div",{className:vt.grid2,children:[o.jsx(Ht,{label:"ИНН",value:(n==null?void 0:n.inn)??"",readOnly:!0,icon:"lock",placeholder:"000000000000"}),o.jsx(Ht,{label:"ID аккаунта",value:(n==null?void 0:n.id)??"",readOnly:!0,icon:"lock",placeholder:"ECSA-00000000"})]})}),o.jsx(Rc,{title:"Безопасность",actions:o.jsxs(o.Fragment,{children:[o.jsx(La,{variant:"danger",children:"⚠️ Посмотреть приватный ключ"}),o.jsx(La,{variant:"primary",children:"СОХРАНИТЬ"})]}),children:o.jsx("div",{className:vt.grid1,children:o.jsx(Ht,{label:"Адрес ERC-20",readOnly:!0,icon:"lock",value:(n==null?void 0:n.erc20)??"",placeholder:"0x0000000000000000000000000000000000000000"})})}),o.jsx(Rc,{title:"Мнемоника",children:o.jsxs("div",{className:vt.mnemonicRow,children:[o.jsxs("div",{className:vt.mnemonicInfo,children:[o.jsx("span",{className:vt.mnemonicIcon,children:"🔑"}),o.jsx("span",{className:vt.mnemonicText,children:"Сид-фраза из 12 слов для восстановления кошелька"})]}),o.jsx(La,{variant:"danger",children:"⚠ Показать мнемонику"})]})})]})]})]})}const n7="_card_1erii_1",i7="_logo_1erii_10",s7="_title_1erii_20",u7="_twoCol_1erii_29",c7="_leftCol_1erii_36",r7="_rightCol_1erii_42",o7="_codeHint_1erii_48",f7="_error_1erii_55",d7="_submitWrapper_1erii_62",h7="_footer_1erii_66",m7="_forgot_1erii_73",p7="_divider_1erii_88",ha={card:n7,logo:i7,title:s7,twoCol:u7,leftCol:c7,rightCol:r7,codeHint:o7,error:f7,submitWrapper:d7,footer:h7,forgot:m7,divider:p7};function i1(n){var c,r;const s=n;return((r=(c=s==null?void 0:s.detail)==null?void 0:c[0])==null?void 0:r.msg)??"Произошла ошибка"}function y7(){const[n,s]=S.useState(""),[c,r]=S.useState(""),[d,h]=S.useState(""),[p,v]=S.useState(!1),g=Li(),y=Zl({mutationFn:N4,onSuccess:()=>v(!0)}),j=Zl({mutationFn:T4,onSuccess:({access_token:H})=>{m0(),Sa.set(H),g.setQueryData(kc,H)}}),_=()=>{n&&y.mutate({email:n})},R=H=>{H.preventDefault(),j.mutate({email:n,password:c,code:d})},D=(y.isError?i1(y.error):null)??(j.isError?i1(j.error):null);return{email:n,setEmail:s,password:c,setPassword:r,verificationCode:d,setVerificationCode:h,codeSent:p,isLoadingCode:y.isPending,isLoadingSubmit:j.isPending,error:D,handleRequestCode:_,handleSubmit:R}}function v7(){const{email:n,setEmail:s,password:c,setPassword:r,verificationCode:d,setVerificationCode:h,codeSent:p,isLoadingCode:v,isLoadingSubmit:g,error:y,handleRequestCode:j,handleSubmit:_}=y7(),R=tu();return o.jsxs("form",{className:ha.card,onSubmit:_,children:[o.jsx("div",{className:ha.logo,children:o.jsx("img",{src:Mn,alt:"ЭКСА"})}),o.jsx("h1",{className:ha.title,children:"Войти в кошелёк ЭКСА"}),o.jsxs("div",{className:ha.twoCol,children:[o.jsxs("div",{className:ha.leftCol,children:[o.jsx(Ht,{label:"Адрес электронной почты",type:"email",value:n,onChange:s,placeholder:"example@mail.ru",required:!0}),o.jsx(Ht,{label:"Пароль",type:"password",value:c,onChange:r,placeholder:"••••••••",required:!0})]}),o.jsxs("div",{className:ha.rightCol,children:[o.jsx(La,{variant:"ghost",type:"button",onClick:j,disabled:p||v,children:v?"Отправка...":p?"Код отправлен":"Получить код на email"}),o.jsx("span",{className:ha.codeHint,children:"Код не пришёл"}),o.jsx(Ht,{label:"Ввести код",type:"text",value:d,onChange:h,placeholder:"000 000",required:!0})]})]}),y&&o.jsx("p",{className:ha.error,children:y}),o.jsx("div",{className:ha.submitWrapper,children:o.jsx(Hc,{label:g?"Вход...":"Войти",disabled:g})}),o.jsxs("div",{className:ha.footer,children:[o.jsx("a",{className:ha.forgot,children:"Забыли пароль?"}),o.jsx("div",{className:ha.divider,children:o.jsx("span",{children:"или"})}),o.jsx(La,{variant:"outline",type:"button",onClick:()=>R(Pe.REGISTER),children:"Создать новый кошелёк"})]})]})}const g7="_page_a6ygb_1",_7={page:g7};function b7(){return o.jsx("div",{className:_7.page,children:o.jsx(v7,{})})}function s1(n){var c,r;const s=n;return((r=(c=s==null?void 0:s.detail)==null?void 0:c[0])==null?void 0:r.msg)??"Произошла ошибка"}function x7(){const n=tu(),s=Li(),[c,r]=S.useState(""),[d,h]=S.useState(""),[p,v]=S.useState(""),[g,y]=S.useState(""),[j,_]=S.useState(!1),[R,D]=S.useState(null),H=Zl({mutationFn:j4,onSuccess:()=>_(!0)}),T=Zl({mutationFn:E4,onSuccess:({access_token:Y})=>{m0(),Sa.set(Y),s.setQueryData(kc,Y),n(Pe.WALLET)}}),z=()=>{c&&H.mutate({email:c})},U=Y=>{if(Y.preventDefault(),d!==p){D("Пароли не совпадают");return}D(null),T.mutate({email:c,password:d,confirm_password:p,code:g})},Z=R??(H.isError?s1(H.error):null)??(T.isError?s1(T.error):null);return{email:c,setEmail:r,password:d,setPassword:h,confirmPassword:p,setConfirmPassword:v,verificationCode:g,setVerificationCode:y,codeSent:j,isLoadingCode:H.isPending,isLoadingSubmit:T.isPending,error:Z,handleRequestCode:z,handleSubmit:U}}const S7="_card_wnog4_1",j7="_logo_wnog4_10",E7="_title_wnog4_20",N7="_twoCol_wnog4_29",T7="_leftCol_wnog4_36",C7="_rightCol_wnog4_42",R7="_codeHint_wnog4_53",w7="_error_wnog4_60",O7="_submitWrapper_wnog4_67",M7="_legal_wnog4_71",Ma={card:S7,logo:j7,title:E7,twoCol:N7,leftCol:T7,rightCol:C7,codeHint:R7,error:w7,submitWrapper:O7,legal:M7};function A7(){const{email:n,setEmail:s,password:c,setPassword:r,confirmPassword:d,setConfirmPassword:h,verificationCode:p,setVerificationCode:v,codeSent:g,isLoadingCode:y,isLoadingSubmit:j,error:_,handleRequestCode:R,handleSubmit:D}=x7();return o.jsxs("form",{className:Ma.card,onSubmit:D,children:[o.jsx("div",{className:Ma.logo,children:o.jsx("img",{src:Mn,alt:"ЭКСА"})}),o.jsx("h1",{className:Ma.title,children:"Создать кошелёк ЭКСА"}),o.jsxs("div",{className:Ma.twoCol,children:[o.jsxs("div",{className:Ma.leftCol,children:[o.jsx(Ht,{label:"Введите адрес электронной почты",type:"email",value:n,onChange:s,placeholder:"example@mail.ru",required:!0}),o.jsx(Ht,{label:"Придумайте пароль",type:"password",value:c,onChange:r,placeholder:"••••••••",required:!0}),o.jsx(Ht,{label:"Повторите пароль",type:"password",value:d,onChange:h,placeholder:"••••••••",required:!0})]}),o.jsxs("div",{className:Ma.rightCol,children:[o.jsx(La,{variant:"ghost",type:"button",onClick:R,disabled:g||y,children:y?"Отправка...":g?"Код отправлен":"Получить проверочный код"}),o.jsx("span",{className:Ma.codeHint,children:"Код не пришёл"}),o.jsx(Ht,{label:"Ввести код",type:"text",value:p,onChange:v,placeholder:"000 000",required:!0})]})]}),_&&o.jsx("p",{className:Ma.error,children:_}),o.jsx("div",{className:Ma.submitWrapper,children:o.jsx(Hc,{label:j?"Создание...":"Создать",disabled:j})}),o.jsxs("p",{className:Ma.legal,children:["Нажимая «Создать», вы принимаете",o.jsx("br",{}),o.jsx("a",{href:"#",children:"Пользовательское соглашение"})," и ",o.jsx("a",{href:"#",children:"Политику конфиденциальности"})]})]})}const z7="_page_a6ygb_1",D7={page:z7};function L7(){return o.jsx("div",{className:D7.page,children:o.jsx(A7,{})})}const U7="_title_ujt2o_1",B7="_table_ujt2o_8",H7="_row_ujt2o_15",q7="_range_ujt2o_31",k7="_pct_ujt2o_36",Q7="_progressBar_ujt2o_43",G7="_progressFill_ujt2o_51",Y7="_summary_ujt2o_58",$7="_summaryLabel_ujt2o_73",V7="_summaryValue_ujt2o_78",Ft={title:U7,table:B7,row:H7,range:q7,pct:k7,progressBar:Q7,progressFill:G7,summary:Y7,summaryLabel:$7,summaryValue:V7},u1=n=>n.toLocaleString("ru-RU");function X7({amount:n,progress:s,commission:c,effectiveRate:r}){return o.jsxs("div",{children:[o.jsx("div",{className:Ft.title,children:"КОМИССИЯ СЕРВИСА"}),o.jsx("div",{className:Ft.table,children:sl.map((d,h)=>o.jsxs("div",{className:Ft.row,"data-active":n>=d.min&&n<=d.max||void 0,children:[o.jsxs("span",{className:Ft.range,children:[u1(d.min)," ",u1(d.max)," ₽"]}),o.jsxs("span",{className:Ft.pct,children:[d.pct,"%"]})]},h))}),o.jsx("div",{className:Ft.progressBar,children:o.jsx("div",{className:Ft.progressFill,style:{width:`${s}%`}})}),o.jsxs("div",{className:Ft.summary,children:[o.jsx("span",{className:Ft.summaryLabel,children:"Комиссия"}),o.jsxs("span",{className:Ft.summaryValue,children:[c.toLocaleString("ru-RU",{maximumFractionDigits:2})," ₽"]})]}),o.jsxs("div",{className:Ft.summary,children:[o.jsx("span",{className:Ft.summaryLabel,children:"Курс с комиссией"}),o.jsxs("span",{className:Ft.summaryValue,children:[r.toFixed(2)," ₽"]})]})]})}const Z7="_wrap_6xfms_1",K7="_box_6xfms_12",J7="_text_6xfms_39",F7="_link_6xfms_46",W7="_required_6xfms_51",Hs={wrap:Z7,box:K7,text:J7,link:F7,required:W7};function I7({checked:n,onToggle:s}){return o.jsxs("button",{type:"button",className:Hs.wrap,onClick:s,"aria-pressed":n,children:[o.jsx("span",{className:Hs.box,"data-checked":n||void 0,children:o.jsx("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:o.jsx("path",{d:"M2 6l3 3 5-5",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})}),o.jsxs("span",{className:Hs.text,children:["Я ознакомлен и согласен с"," ",o.jsx("a",{href:"#",className:Hs.link,onClick:c=>c.preventDefault(),children:"публичной офертой"}),". Вся деятельность компании соответствует законодательству Российской Федерации.",o.jsx("br",{}),o.jsx("span",{className:Hs.required,children:"ОБЯЗАТЕЛЬНОЕ ПОЛЕ"})]})]})}const P7="_wrap_anyn0_1",ej="_header_anyn0_8",tj="_title_anyn0_17",aj="_subtitle_anyn0_22",lj="_pills_anyn0_29",nj="_pill_anyn0_29",ij="_pillValue_anyn0_43",sj="_body_anyn0_53",uj="_tabs_anyn0_59",cj="_tab_anyn0_59",rj="_field_anyn0_91",oj="_fieldError_anyn0_95",fj="_fieldLabel_anyn0_101",dj="_fieldInput_anyn0_109",hj="_currency_anyn0_135",mj="_currencyIcon_anyn0_144",pj="_currencyRub_anyn0_156",yj="_currencyUsdt_anyn0_160",vj="_swapWrap_anyn0_164",gj="_swapBtn_anyn0_169",_j="_bottom_anyn0_182",bj="_payBtn_anyn0_190",Ne={wrap:P7,header:ej,title:tj,subtitle:aj,pills:lj,pill:nj,pillValue:ij,body:sj,tabs:uj,tab:cj,field:rj,fieldError:oj,fieldLabel:fj,fieldInput:dj,currency:hj,currencyIcon:mj,currencyRub:pj,currencyUsdt:yj,swapWrap:vj,swapBtn:gj,bottom:_j,payBtn:bj};function xj(){const n=$1({usdtRate:0}),s=dp(n.numRub,400),{data:c,isError:r}=fp(s),{data:d}=op(),h=Number(d==null?void 0:d.usdt_exchange_rate)||0,p=Number(d==null?void 0:d.gas_fee)||Y1,v=(c==null?void 0:c.total_price)??"",g=Number(v)||0,y=Number(c==null?void 0:c.service_fee)||0,j=n.numRub>0?g/n.numRub:0,{mutate:_,isPending:R}=gb();function D(){_({usdt_amount:n.numRub,usdt_exchange_rate:1,gas_fee:1,total_price:Number(v)||0})}return o.jsxs("div",{className:Ne.wrap,children:[o.jsxs("div",{className:Ne.header,children:[o.jsxs("div",{children:[o.jsx("h1",{className:Ne.title,children:"Конвертация"}),o.jsx("div",{className:Ne.subtitle,children:"Данные обновляются в реальном времени"})]}),o.jsxs("div",{className:Ne.pills,children:[o.jsxs("div",{className:Ne.pill,children:["Цена газа в RUB ",o.jsxs("span",{className:Ne.pillValue,children:[p.toFixed(2)," RUB"]})]}),o.jsxs("div",{className:Ne.pill,children:["USDT/RUB ",o.jsxs("span",{className:Ne.pillValue,children:[h.toFixed(2)," ₽"]})]})]})]}),o.jsxs("div",{className:Ne.body,children:[o.jsxs("div",{children:[o.jsxs("div",{className:Ne.tabs,children:[o.jsx("button",{type:"button",className:Ne.tab,"data-active":n.mode==="buy"||void 0,onClick:()=>n.setMode("buy"),children:"КУПИТЬ"}),o.jsx("button",{type:"button",disabled:!0,className:Ne.tab,"data-active":n.mode==="sell"||void 0,onClick:()=>n.setMode("sell"),children:"ПРОДАТЬ"})]}),o.jsxs("div",{className:Ne.field,children:[o.jsx("div",{className:Ne.fieldLabel,children:"Конвертируете"}),o.jsxs("div",{className:Ne.fieldInput,children:[o.jsx("input",{type:"text",value:n.rubVal,onChange:H=>n.updateRub(H.target.value),placeholder:"0",inputMode:"decimal"}),o.jsxs("div",{className:Ne.currency,children:[o.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyUsdt}`,children:"₮"}),"USDT"]})]}),r&&o.jsx("div",{className:Ne.fieldError,children:"Сумма слишком большая и превышает 600 000 ₽"})]}),o.jsx("div",{className:Ne.swapWrap,children:o.jsx("button",{type:"button",className:Ne.swapBtn,onClick:n.toggleMode,"aria-label":"Поменять направление",children:o.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:o.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),o.jsxs("div",{className:Ne.field,children:[o.jsx("div",{className:Ne.fieldLabel,children:"Платите"}),o.jsxs("div",{className:Ne.fieldInput,children:[o.jsx("input",{type:"text",value:v,readOnly:!0,placeholder:"0"}),o.jsxs("div",{className:Ne.currency,children:[o.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyRub}`,children:"₽"}),"RUB"]})]})]})]}),o.jsx(X7,{amount:g,progress:s0(g),commission:y,effectiveRate:j})]}),o.jsx("div",{className:Ne.bottom,children:o.jsx(I7,{checked:n.agreed,onToggle:()=>n.setAgreed(!n.agreed)})}),o.jsx("button",{type:"button",className:Ne.payBtn,onClick:D,disabled:!v||R,children:R?"Обработка...":"Оплатить"})]})}const Sj="_page_gbj3c_1",jj="_main_gbj3c_8",c1={page:Sj,main:jj};function Ej(){return o.jsxs("div",{className:c1.page,children:[o.jsx(nu,{}),o.jsx("main",{className:c1.main,children:o.jsx(xj,{})}),o.jsx(p0,{})]})}const r1=52;function Nj(n){const[s,c]=S.useState(!1),[r,d]=S.useState(r1),[h,p]=S.useState(!1),v=S.useRef(null),g=S.useCallback(()=>{v.current&&clearInterval(v.current),d(r1),v.current=setInterval(()=>{d(_=>_<=1?(clearInterval(v.current),c(!0),0):_-1)},1e3)},[]);S.useEffect(()=>(g(),()=>{v.current&&clearInterval(v.current)}),[g]);const y=S.useCallback(()=>{c(_=>_?(g(),!1):(v.current&&clearInterval(v.current),!0))},[g]),j=S.useCallback(()=>{navigator.clipboard.writeText(n.join(" ")).then(()=>{p(!0),setTimeout(()=>p(!1),1500)})},[n]);return{hidden:s,countdown:r,copied:h,handleHide:y,handleCopy:j}}const Tj="_content_6d4aq_1",Cj="_titleRow_6d4aq_6",Rj="_title_6d4aq_6",wj="_titleButtons_6d4aq_19",Oj="_btnFixed_6d4aq_26",Mj="_subtitle_6d4aq_34",Aj="_countdown_6d4aq_42",zj="_seedGrid_6d4aq_47",Dj="_seedCard_6d4aq_54",Lj="_seedNum_6d4aq_73",Uj="_seedWord_6d4aq_80",Bj="_seedWordHidden_6d4aq_88",Hj="_warning_6d4aq_93",qj="_warningIcon_6d4aq_101",kj="_warningText_6d4aq_107",gt={content:Tj,titleRow:Cj,title:Rj,titleButtons:wj,btnFixed:Oj,subtitle:Mj,countdown:Aj,seedGrid:zj,seedCard:Dj,seedNum:Lj,seedWord:Uj,seedWordHidden:Bj,warning:Hj,warningIcon:qj,warningText:kj};function Qj({words:n}){const{hidden:s,countdown:c,copied:r,handleHide:d,handleCopy:h}=Nj(n);return o.jsxs("div",{className:gt.content,children:[o.jsxs("div",{className:gt.titleRow,children:[o.jsx("h1",{className:gt.title,children:"СИД ФРАЗА"}),o.jsxs("div",{className:gt.titleButtons,children:[o.jsx("div",{className:gt.btnFixed,children:o.jsx(La,{variant:"outline",onClick:d,children:s?"ПОКАЗАТЬ":"СКРЫТЬ"})}),o.jsx("div",{className:gt.btnFixed,children:o.jsx(La,{variant:"outline",onClick:h,children:r?"СКОПИРОВАНО":"КОПИРОВАТЬ"})})]})]}),!s&&o.jsxs("div",{className:gt.subtitle,children:["АВТОМАТИЧЕСКОЕ СКРЫТИЕ ЧЕРЕЗ"," ",o.jsx("span",{className:gt.countdown,children:c}),"С"]}),o.jsx("div",{className:gt.seedGrid,children:n.map((p,v)=>o.jsxs("div",{className:gt.seedCard,children:[o.jsxs("span",{className:gt.seedNum,children:[v+1,"."]}),o.jsx("span",{className:`${gt.seedWord} ${s?gt.seedWordHidden:""}`,children:s?"•••••":p})]},v))}),o.jsxs("div",{className:gt.warning,children:[o.jsx("span",{className:gt.warningIcon,children:"⚠️"}),o.jsx("p",{className:gt.warningText,children:"Никогда не передавайте сид-фразу третьим лицам. Тот, кто знает фразу — владеет кошельком."})]})]})}const Gj="_page_1mk6w_1",Yj="_main_1mk6w_8",$j="_glow_1mk6w_17",Sf={page:Gj,main:Yj,glow:$j},Vj=["egg","phone","long","vibe","potato","soup","skirt","black","phase","word","num","cucumber"];function Xj(){return o.jsxs("div",{className:Sf.page,children:[o.jsx(nu,{}),o.jsxs("main",{className:Sf.main,children:[o.jsx("div",{className:Sf.glow}),o.jsx(Qj,{words:Vj})]})]})}const Zj="https://app.kyc.elcsa.ru";function Kj(){return Sp(!0)}async function Sp(n){const s=await Kl(),c=await fetch(`${Zj}/kyc/create`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":s},body:JSON.stringify({})});if(c.status===401&&n)try{return await Bi(),Sp(!1)}catch{throw Sa.clear(),new Error("Unauthorized")}const r=await c.json();if(!c.ok)throw r;return r}function Jj(){const n=Zl({mutationFn:Kj});return{trigger:n.mutate,data:n.data,isLoading:n.isPending,isError:n.isError}}const Fj="_backdrop_1do7s_1",Wj="_modal_1do7s_12",Ij="_closeBtn_1do7s_22",Pj="_body_1do7s_40",e9="_qrBlock_1do7s_47",t9="_qrImage_1do7s_55",a9="_linkBtn_1do7s_63",yn={backdrop:Fj,modal:Wj,closeBtn:Ij,body:Pj,qrBlock:e9,qrImage:t9,linkBtn:a9};function l9({data:n,onClose:s}){return o.jsx("div",{className:yn.backdrop,onClick:s,children:o.jsxs("div",{className:yn.modal,onClick:c=>c.stopPropagation(),children:[o.jsx("button",{className:yn.closeBtn,onClick:s,type:"button",children:"×"}),o.jsx("div",{className:yn.body,children:o.jsxs("div",{className:yn.qrBlock,children:[o.jsx("img",{className:yn.qrImage,src:n.qr_code,alt:"QR-код для верификации"}),o.jsx("a",{className:yn.linkBtn,href:n.link,target:"_blank",rel:"noopener noreferrer",children:"Перейти к верификации"})]})})]})})}const n9="_card_omb8e_1",i9="_logo_omb8e_13",s9="_iconWrapper_omb8e_21",u9="_description_omb8e_34",c9="_buttonWrapper_omb8e_42",r9="_error_omb8e_47",yi={card:n9,logo:i9,iconWrapper:s9,description:u9,buttonWrapper:c9,error:r9};function o9(){const{trigger:n,data:s,isLoading:c,isError:r}=Jj();return o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:yi.card,children:[o.jsx("div",{className:yi.logo,children:o.jsx("img",{src:Mn,alt:"ЭКСА"})}),o.jsx("div",{className:yi.iconWrapper,children:o.jsxs("svg",{width:"38",height:"38",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12 2L3 6v6c0 5.25 3.75 10.15 9 11.35C17.25 22.15 21 17.25 21 12V6l-9-4z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M9 12l2 2 4-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),o.jsx("p",{className:yi.description,children:"Для продолжения работы необходимо пройти KYC верификацию"}),o.jsx("div",{className:yi.buttonWrapper,children:o.jsx(Hc,{label:c?"Загрузка...":"Подтвердить личность",type:"button",onClick:()=>n(),disabled:c})}),r&&o.jsx("p",{className:yi.error,children:"Произошла ошибка. Попробуй перезагрузить страницу и попробовать снова."})]}),s&&o.jsx(l9,{data:s,onClose:()=>window.location.reload()})]})}const f9="_page_6lnfw_1",d9={page:f9};function h9(){return o.jsx("div",{className:d9.page,children:o.jsx(o9,{})})}function m9(){const{pathname:n}=aa();return S.useEffect(()=>{window.scrollTo(0,0)},[n]),null}function p9(){const{isAuthenticated:n,isLoading:s}=y0(),c=aa();return s?null:n?o.jsx(B1,{}):o.jsx(t0,{to:Pe.LOGIN,state:{from:c},replace:!0})}function y9(){var d,h;const{isAuthenticated:n,isLoading:s}=y0(),r=((h=(d=aa().state)==null?void 0:d.from)==null?void 0:h.pathname)??Pe.WALLET;return s?null:n?o.jsx(t0,{to:r,replace:!0}):o.jsx(B1,{})}function v9(){return o.jsxs(E_,{children:[o.jsx(m9,{}),o.jsxs(e_,{children:[o.jsx(ma,{path:Pe.HOME,element:o.jsx(ix,{})}),o.jsxs(ma,{element:o.jsx(y9,{}),children:[o.jsx(ma,{path:Pe.LOGIN,element:o.jsx(b7,{})}),o.jsx(ma,{path:Pe.REGISTER,element:o.jsx(L7,{})})]}),o.jsx(ma,{path:Pe.CONVERTER,element:o.jsx(Ej,{})}),o.jsxs(ma,{element:o.jsx(p9,{}),children:[o.jsx(ma,{path:Pe.WALLET,element:o.jsx(ES,{})}),o.jsx(ma,{path:Pe.SWAP,element:o.jsx(z8,{})}),o.jsx(ma,{path:Pe.PROFILE,element:o.jsx(l7,{})}),o.jsx(ma,{path:Pe.SEED_PHRASE,element:o.jsx(Xj,{})})]}),o.jsx(ma,{path:Pe.KYC,element:o.jsx(h9,{})})]})]})}const g9=new ab({defaultOptions:{queries:{retry:!1}}});function _9({children:n}){return o.jsx(lb,{client:g9,children:n})}function b9(){return o.jsx(_9,{children:o.jsx(v9,{})})}tg.createRoot(document.getElementById("root")).render(o.jsx(S.StrictMode,{children:o.jsx(b9,{})}));