Files
frontend/dist/assets/index-htxNfuya.js
2026-05-22 22:34:00 +03:00

154 lines
542 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 k1=s=>{throw TypeError(s)};var E0=(s,c,i)=>c.has(s)||k1("Cannot "+i);var S=(s,c,i)=>(E0(s,c,"read from private field"),i?i.call(s):c.get(s)),ie=(s,c,i)=>c.has(s)?k1("Cannot add the same private member more than once"):c instanceof WeakSet?c.add(s):c.set(s,i),W=(s,c,i,o)=>(E0(s,c,"write to private field"),o?o.call(s,i):c.set(s,i),i),je=(s,c,i)=>(E0(s,c,"access private method"),i);var Vr=(s,c,i,o)=>({set _(d){W(s,c,d,i)},get _(){return S(s,c,o)}});(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))o(d);new MutationObserver(d=>{for(const h of d)if(h.type==="childList")for(const m of h.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&o(m)}).observe(document,{childList:!0,subtree:!0});function i(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 o(d){if(d.ep)return;d.ep=!0;const h=i(d);fetch(d.href,h)}})();function $4(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var R0={exports:{}},lc={};/**
* @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 H1;function G4(){if(H1)return lc;H1=1;var s=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function i(o,d,h){var m=null;if(h!==void 0&&(m=""+h),d.key!==void 0&&(m=""+d.key),"key"in d){h={};for(var p in d)p!=="key"&&(h[p]=d[p])}else h=d;return d=h.ref,{$$typeof:s,type:o,key:m,ref:d!==void 0?d:null,props:h}}return lc.Fragment=c,lc.jsx=i,lc.jsxs=i,lc}var q1;function V4(){return q1||(q1=1,R0.exports=G4()),R0.exports}var l=V4(),A0={exports:{}},ve={};/**
* @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 $1;function F4(){if($1)return ve;$1=1;var s=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),m=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),N=Symbol.iterator;function R(T){return T===null||typeof T!="object"?null:(T=N&&T[N]||T["@@iterator"],typeof T=="function"?T:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,w={};function z(T,H,I){this.props=T,this.context=H,this.refs=w,this.updater=I||A}z.prototype.isReactComponent={},z.prototype.setState=function(T,H){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,H,"setState")},z.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function F(){}F.prototype=z.prototype;function $(T,H,I){this.props=T,this.context=H,this.refs=w,this.updater=I||A}var V=$.prototype=new F;V.constructor=$,O(V,z.prototype),V.isPureReactComponent=!0;var K=Array.isArray;function ne(){}var X={H:null,A:null,T:null,S:null},te=Object.prototype.hasOwnProperty;function de(T,H,I){var J=I.ref;return{$$typeof:s,type:T,key:H,ref:J!==void 0?J:null,props:I}}function he(T,H){return de(T.type,H,T.props)}function ge(T){return typeof T=="object"&&T!==null&&T.$$typeof===s}function De(T){var H={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(I){return H[I]})}var se=/\/+/g;function $e(T,H){return typeof T=="object"&&T!==null&&T.key!=null?De(""+T.key):H.toString(36)}function ze(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(ne,ne):(T.status="pending",T.then(function(H){T.status==="pending"&&(T.status="fulfilled",T.value=H)},function(H){T.status==="pending"&&(T.status="rejected",T.reason=H)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function U(T,H,I,J,me){var _e=typeof T;(_e==="undefined"||_e==="boolean")&&(T=null);var Ae=!1;if(T===null)Ae=!0;else switch(_e){case"bigint":case"string":case"number":Ae=!0;break;case"object":switch(T.$$typeof){case s:case c:Ae=!0;break;case x:return Ae=T._init,U(Ae(T._payload),H,I,J,me)}}if(Ae)return me=me(T),Ae=J===""?"."+$e(T,0):J,K(me)?(I="",Ae!=null&&(I=Ae.replace(se,"$&/")+"/"),U(me,H,I,"",function(qt){return qt})):me!=null&&(ge(me)&&(me=he(me,I+(me.key==null||T&&T.key===me.key?"":(""+me.key).replace(se,"$&/")+"/")+Ae)),H.push(me)),1;Ae=0;var ot=J===""?".":J+":";if(K(T))for(var ye=0;ye<T.length;ye++)J=T[ye],_e=ot+$e(J,ye),Ae+=U(J,H,I,_e,me);else if(ye=R(T),typeof ye=="function")for(T=ye.call(T),ye=0;!(J=T.next()).done;)J=J.value,_e=ot+$e(J,ye++),Ae+=U(J,H,I,_e,me);else if(_e==="object"){if(typeof T.then=="function")return U(ze(T),H,I,J,me);throw H=String(T),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return Ae}function Q(T,H,I){if(T==null)return T;var J=[],me=0;return U(T,J,"","",function(_e){return H.call(I,_e,me++)}),J}function oe(T){if(T._status===-1){var H=T._result;H=H(),H.then(function(I){(T._status===0||T._status===-1)&&(T._status=1,T._result=I)},function(I){(T._status===0||T._status===-1)&&(T._status=2,T._result=I)}),T._status===-1&&(T._status=0,T._result=H)}if(T._status===1)return T._result.default;throw T._result}var Le=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},ke={map:Q,forEach:function(T,H,I){Q(T,function(){H.apply(this,arguments)},I)},count:function(T){var H=0;return Q(T,function(){H++}),H},toArray:function(T){return Q(T,function(H){return H})||[]},only:function(T){if(!ge(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return ve.Activity=y,ve.Children=ke,ve.Component=z,ve.Fragment=i,ve.Profiler=d,ve.PureComponent=$,ve.StrictMode=o,ve.Suspense=g,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,ve.__COMPILER_RUNTIME={__proto__:null,c:function(T){return X.H.useMemoCache(T)}},ve.cache=function(T){return function(){return T.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(T,H,I){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var J=O({},T.props),me=T.key;if(H!=null)for(_e in H.key!==void 0&&(me=""+H.key),H)!te.call(H,_e)||_e==="key"||_e==="__self"||_e==="__source"||_e==="ref"&&H.ref===void 0||(J[_e]=H[_e]);var _e=arguments.length-2;if(_e===1)J.children=I;else if(1<_e){for(var Ae=Array(_e),ot=0;ot<_e;ot++)Ae[ot]=arguments[ot+2];J.children=Ae}return de(T.type,me,J)},ve.createContext=function(T){return T={$$typeof:m,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:h,_context:T},T},ve.createElement=function(T,H,I){var J,me={},_e=null;if(H!=null)for(J in H.key!==void 0&&(_e=""+H.key),H)te.call(H,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(me[J]=H[J]);var Ae=arguments.length-2;if(Ae===1)me.children=I;else if(1<Ae){for(var ot=Array(Ae),ye=0;ye<Ae;ye++)ot[ye]=arguments[ye+2];me.children=ot}if(T&&T.defaultProps)for(J in Ae=T.defaultProps,Ae)me[J]===void 0&&(me[J]=Ae[J]);return de(T,_e,me)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(T){return{$$typeof:p,render:T}},ve.isValidElement=ge,ve.lazy=function(T){return{$$typeof:x,_payload:{_status:-1,_result:T},_init:oe}},ve.memo=function(T,H){return{$$typeof:v,type:T,compare:H===void 0?null:H}},ve.startTransition=function(T){var H=X.T,I={};X.T=I;try{var J=T(),me=X.S;me!==null&&me(I,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(ne,Le)}catch(_e){Le(_e)}finally{H!==null&&I.types!==null&&(H.types=I.types),X.T=H}},ve.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},ve.use=function(T){return X.H.use(T)},ve.useActionState=function(T,H,I){return X.H.useActionState(T,H,I)},ve.useCallback=function(T,H){return X.H.useCallback(T,H)},ve.useContext=function(T){return X.H.useContext(T)},ve.useDebugValue=function(){},ve.useDeferredValue=function(T,H){return X.H.useDeferredValue(T,H)},ve.useEffect=function(T,H){return X.H.useEffect(T,H)},ve.useEffectEvent=function(T){return X.H.useEffectEvent(T)},ve.useId=function(){return X.H.useId()},ve.useImperativeHandle=function(T,H,I){return X.H.useImperativeHandle(T,H,I)},ve.useInsertionEffect=function(T,H){return X.H.useInsertionEffect(T,H)},ve.useLayoutEffect=function(T,H){return X.H.useLayoutEffect(T,H)},ve.useMemo=function(T,H){return X.H.useMemo(T,H)},ve.useOptimistic=function(T,H){return X.H.useOptimistic(T,H)},ve.useReducer=function(T,H,I){return X.H.useReducer(T,H,I)},ve.useRef=function(T){return X.H.useRef(T)},ve.useState=function(T){return X.H.useState(T)},ve.useSyncExternalStore=function(T,H,I){return X.H.useSyncExternalStore(T,H,I)},ve.useTransition=function(){return X.H.useTransition()},ve.version="19.2.5",ve}var G1;function b2(){return G1||(G1=1,A0.exports=F4()),A0.exports}var b=b2(),O0={exports:{}},ac={},M0={exports:{}},D0={};/**
* @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 V1;function Q4(){return V1||(V1=1,(function(s){function c(U,Q){var oe=U.length;U.push(Q);e:for(;0<oe;){var Le=oe-1>>>1,ke=U[Le];if(0<d(ke,Q))U[Le]=Q,U[oe]=ke,oe=Le;else break e}}function i(U){return U.length===0?null:U[0]}function o(U){if(U.length===0)return null;var Q=U[0],oe=U.pop();if(oe!==Q){U[0]=oe;e:for(var Le=0,ke=U.length,T=ke>>>1;Le<T;){var H=2*(Le+1)-1,I=U[H],J=H+1,me=U[J];if(0>d(I,oe))J<ke&&0>d(me,I)?(U[Le]=me,U[J]=oe,Le=J):(U[Le]=I,U[H]=oe,Le=H);else if(J<ke&&0>d(me,oe))U[Le]=me,U[J]=oe,Le=J;else break e}}return Q}function d(U,Q){var oe=U.sortIndex-Q.sortIndex;return oe!==0?oe:U.id-Q.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;s.unstable_now=function(){return h.now()}}else{var m=Date,p=m.now();s.unstable_now=function(){return m.now()-p}}var g=[],v=[],x=1,y=null,N=3,R=!1,A=!1,O=!1,w=!1,z=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;function V(U){for(var Q=i(v);Q!==null;){if(Q.callback===null)o(v);else if(Q.startTime<=U)o(v),Q.sortIndex=Q.expirationTime,c(g,Q);else break;Q=i(v)}}function K(U){if(O=!1,V(U),!A)if(i(g)!==null)A=!0,ne||(ne=!0,De());else{var Q=i(v);Q!==null&&ze(K,Q.startTime-U)}}var ne=!1,X=-1,te=5,de=-1;function he(){return w?!0:!(s.unstable_now()-de<te)}function ge(){if(w=!1,ne){var U=s.unstable_now();de=U;var Q=!0;try{e:{A=!1,O&&(O=!1,F(X),X=-1),R=!0;var oe=N;try{t:{for(V(U),y=i(g);y!==null&&!(y.expirationTime>U&&he());){var Le=y.callback;if(typeof Le=="function"){y.callback=null,N=y.priorityLevel;var ke=Le(y.expirationTime<=U);if(U=s.unstable_now(),typeof ke=="function"){y.callback=ke,V(U),Q=!0;break t}y===i(g)&&o(g),V(U)}else o(g);y=i(g)}if(y!==null)Q=!0;else{var T=i(v);T!==null&&ze(K,T.startTime-U),Q=!1}}break e}finally{y=null,N=oe,R=!1}Q=void 0}}finally{Q?De():ne=!1}}}var De;if(typeof $=="function")De=function(){$(ge)};else if(typeof MessageChannel<"u"){var se=new MessageChannel,$e=se.port2;se.port1.onmessage=ge,De=function(){$e.postMessage(null)}}else De=function(){z(ge,0)};function ze(U,Q){X=z(function(){U(s.unstable_now())},Q)}s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(U){U.callback=null},s.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):te=0<U?Math.floor(1e3/U):5},s.unstable_getCurrentPriorityLevel=function(){return N},s.unstable_next=function(U){switch(N){case 1:case 2:case 3:var Q=3;break;default:Q=N}var oe=N;N=Q;try{return U()}finally{N=oe}},s.unstable_requestPaint=function(){w=!0},s.unstable_runWithPriority=function(U,Q){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var oe=N;N=U;try{return Q()}finally{N=oe}},s.unstable_scheduleCallback=function(U,Q,oe){var Le=s.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Le+oe:Le):oe=Le,U){case 1:var ke=-1;break;case 2:ke=250;break;case 5:ke=1073741823;break;case 4:ke=1e4;break;default:ke=5e3}return ke=oe+ke,U={id:x++,callback:Q,priorityLevel:U,startTime:oe,expirationTime:ke,sortIndex:-1},oe>Le?(U.sortIndex=oe,c(v,U),i(g)===null&&U===i(v)&&(O?(F(X),X=-1):O=!0,ze(K,oe-Le))):(U.sortIndex=ke,c(g,U),A||R||(A=!0,ne||(ne=!0,De()))),U},s.unstable_shouldYield=he,s.unstable_wrapCallback=function(U){var Q=N;return function(){var oe=N;N=Q;try{return U.apply(this,arguments)}finally{N=oe}}}})(D0)),D0}var F1;function Y4(){return F1||(F1=1,M0.exports=Q4()),M0.exports}var z0={exports:{}},Et={};/**
* @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 Q1;function X4(){if(Q1)return Et;Q1=1;var s=b2();function c(g){var v="https://react.dev/errors/"+g;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)v+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+g+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var o={d:{f:i,r:function(){throw Error(c(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},d=Symbol.for("react.portal");function h(g,v,x){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:y==null?null:""+y,children:g,containerInfo:v,implementation:x}}var m=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(g,v){if(g==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return Et.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Et.createPortal=function(g,v){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(c(299));return h(g,v,null,x)},Et.flushSync=function(g){var v=m.T,x=o.p;try{if(m.T=null,o.p=2,g)return g()}finally{m.T=v,o.p=x,o.d.f()}},Et.preconnect=function(g,v){typeof g=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,o.d.C(g,v))},Et.prefetchDNS=function(g){typeof g=="string"&&o.d.D(g)},Et.preinit=function(g,v){if(typeof g=="string"&&v&&typeof v.as=="string"){var x=v.as,y=p(x,v.crossOrigin),N=typeof v.integrity=="string"?v.integrity:void 0,R=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;x==="style"?o.d.S(g,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:y,integrity:N,fetchPriority:R}):x==="script"&&o.d.X(g,{crossOrigin:y,integrity:N,fetchPriority:R,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},Et.preinitModule=function(g,v){if(typeof g=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var x=p(v.as,v.crossOrigin);o.d.M(g,{crossOrigin:x,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&o.d.M(g)},Et.preload=function(g,v){if(typeof g=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var x=v.as,y=p(x,v.crossOrigin);o.d.L(g,x,{crossOrigin:y,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},Et.preloadModule=function(g,v){if(typeof g=="string")if(v){var x=p(v.as,v.crossOrigin);o.d.m(g,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:x,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else o.d.m(g)},Et.requestFormReset=function(g){o.d.r(g)},Et.unstable_batchedUpdates=function(g,v){return g(v)},Et.useFormState=function(g,v,x){return m.H.useFormState(g,v,x)},Et.useFormStatus=function(){return m.H.useHostTransitionStatus()},Et.version="19.2.5",Et}var Y1;function Z4(){if(Y1)return z0.exports;Y1=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(c){console.error(c)}}return s(),z0.exports=X4(),z0.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 X1;function K4(){if(X1)return ac;X1=1;var s=Y4(),c=b2(),i=Z4();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function h(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(h(e)!==e)throw Error(o(188))}function v(e){var t=e.alternate;if(!t){if(t=h(e),t===null)throw Error(o(188));return t!==e?null:e}for(var n=e,a=t;;){var r=n.return;if(r===null)break;var u=r.alternate;if(u===null){if(a=r.return,a!==null){n=a;continue}break}if(r.child===u.child){for(u=r.child;u;){if(u===n)return g(r),e;if(u===a)return g(r),t;u=u.sibling}throw Error(o(188))}if(n.return!==a.return)n=r,a=u;else{for(var f=!1,_=r.child;_;){if(_===n){f=!0,n=r,a=u;break}if(_===a){f=!0,a=r,n=u;break}_=_.sibling}if(!f){for(_=u.child;_;){if(_===n){f=!0,n=u,a=r;break}if(_===a){f=!0,a=u,n=r;break}_=_.sibling}if(!f)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:t}function x(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=x(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,N=Symbol.for("react.element"),R=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),$=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),ne=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),he=Symbol.for("react.memo_cache_sentinel"),ge=Symbol.iterator;function De(e){return e===null||typeof e!="object"?null:(e=ge&&e[ge]||e["@@iterator"],typeof e=="function"?e:null)}var se=Symbol.for("react.client.reference");function $e(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===se?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case z:return"Profiler";case w:return"StrictMode";case K:return"Suspense";case ne:return"SuspenseList";case de:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case A:return"Portal";case $:return e.displayName||"Context";case F:return(e._context.displayName||"Context")+".Consumer";case V:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:$e(e.type)||"Memo";case te:t=e._payload,e=e._init;try{return $e(e(t))}catch{}}return null}var ze=Array.isArray,U=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},Le=[],ke=-1;function T(e){return{current:e}}function H(e){0>ke||(e.current=Le[ke],Le[ke]=null,ke--)}function I(e,t){ke++,Le[ke]=e.current,e.current=t}var J=T(null),me=T(null),_e=T(null),Ae=T(null);function ot(e,t){switch(I(_e,t),I(me,e),I(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?c1(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=c1(t),e=r1(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}H(J),I(J,e)}function ye(){H(J),H(me),H(_e)}function qt(e){e.memoizedState!==null&&I(Ae,e);var t=J.current,n=r1(t,e.type);t!==n&&(I(me,e),I(J,n))}function Hn(e){me.current===e&&(H(J),H(me)),Ae.current===e&&(H(Ae),Ji._currentValue=oe)}var Wa,oi;function qn(e){if(Wa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Wa=t&&t[1]||"",oi=-1<n.stack.indexOf(`
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Wa+e+oi}var Pa=!1;function Pe(e,t){if(!e||Pa)return"";Pa=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(B){var L=B}Reflect.construct(e,[],G)}else{try{G.call()}catch(B){L=B}e.call(G.prototype)}}else{try{throw Error()}catch(B){L=B}(G=e())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(B){if(B&&L&&typeof B.stack=="string")return[B.stack,L.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),f=u[0],_=u[1];if(f&&_){var j=f.split(`
`),D=_.split(`
`);for(r=a=0;a<j.length&&!j[a].includes("DetermineComponentFrameRoot");)a++;for(;r<D.length&&!D[r].includes("DetermineComponentFrameRoot");)r++;if(a===j.length||r===D.length)for(a=j.length-1,r=D.length-1;1<=a&&0<=r&&j[a]!==D[r];)r--;for(;1<=a&&0<=r;a--,r--)if(j[a]!==D[r]){if(a!==1||r!==1)do if(a--,r--,0>r||j[a]!==D[r]){var k=`
`+j[a].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=a&&0<=r);break}}}finally{Pa=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?qn(n):""}function El(e,t){switch(e.tag){case 26:case 27:case 5:return qn(e.type);case 16:return qn("Lazy");case 13:return e.child!==t&&t!==null?qn("Suspense Fallback"):qn("Suspense");case 19:return qn("SuspenseList");case 0:case 15:return Pe(e.type,!1);case 11:return Pe(e.type.render,!1);case 1:return Pe(e.type,!0);case 31:return qn("Activity");default:return""}}function ui(e){try{var t="",n=null;do t+=El(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var ho=Object.prototype.hasOwnProperty,mo=s.unstable_scheduleCallback,po=s.unstable_cancelCallback,y3=s.unstable_shouldYield,x3=s.unstable_requestPaint,Pt=s.unstable_now,b3=s.unstable_getCurrentPriorityLevel,k2=s.unstable_ImmediatePriority,H2=s.unstable_UserBlockingPriority,Cc=s.unstable_NormalPriority,j3=s.unstable_LowPriority,q2=s.unstable_IdlePriority,S3=s.log,N3=s.unstable_setDisableYieldValue,di=null,Jt=null;function Rl(e){if(typeof S3=="function"&&N3(e),Jt&&typeof Jt.setStrictMode=="function")try{Jt.setStrictMode(di,e)}catch{}}var en=Math.clz32?Math.clz32:T3,w3=Math.log,C3=Math.LN2;function T3(e){return e>>>=0,e===0?32:31-(w3(e)/C3|0)|0}var Tc=256,Ec=262144,Rc=4194304;function ha(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 Ac(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var r=0,u=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var _=a&134217727;return _!==0?(a=_&~u,a!==0?r=ha(a):(f&=_,f!==0?r=ha(f):n||(n=_&~e,n!==0&&(r=ha(n))))):(_=a&~u,_!==0?r=ha(_):f!==0?r=ha(f):n||(n=a&~e,n!==0&&(r=ha(n)))),r===0?0:t!==0&&t!==r&&(t&u)===0&&(u=r&-r,n=t&-t,u>=n||u===32&&(n&4194048)!==0)?t:r}function fi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function E3(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 $2(){var e=Rc;return Rc<<=1,(Rc&62914560)===0&&(Rc=4194304),e}function vo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function hi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function R3(e,t,n,a,r,u){var f=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var _=e.entanglements,j=e.expirationTimes,D=e.hiddenUpdates;for(n=f&~n;0<n;){var k=31-en(n),G=1<<k;_[k]=0,j[k]=-1;var L=D[k];if(L!==null)for(D[k]=null,k=0;k<L.length;k++){var B=L[k];B!==null&&(B.lane&=-536870913)}n&=~G}a!==0&&G2(e,a,0),u!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=u&~(f&~t))}function G2(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-en(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function V2(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-en(n),r=1<<a;r&t|e[a]&t&&(e[a]|=t),n&=~r}}function F2(e,t){var n=t&-t;return n=(n&42)!==0?1:go(n),(n&(e.suspendedLanes|t))!==0?0:n}function go(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 _o(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Q2(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:O1(e.type))}function Y2(e,t){var n=Q.p;try{return Q.p=e,t()}finally{Q.p=n}}var Al=Math.random().toString(36).slice(2),St="__reactFiber$"+Al,$t="__reactProps$"+Al,Ja="__reactContainer$"+Al,yo="__reactEvents$"+Al,A3="__reactListeners$"+Al,O3="__reactHandles$"+Al,X2="__reactResources$"+Al,mi="__reactMarker$"+Al;function xo(e){delete e[St],delete e[$t],delete e[yo],delete e[A3],delete e[O3]}function es(e){var t=e[St];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ja]||n[St]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=p1(e);e!==null;){if(n=e[St])return n;e=p1(e)}return t}e=n,n=e.parentNode}return null}function ts(e){if(e=e[St]||e[Ja]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function pi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function ns(e){var t=e[X2];return t||(t=e[X2]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function gt(e){e[mi]=!0}var Z2=new Set,K2={};function ma(e,t){ls(e,t),ls(e+"Capture",t)}function ls(e,t){for(K2[e]=t,e=0;e<t.length;e++)Z2.add(t[e])}var M3=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]*$"),I2={},W2={};function D3(e){return ho.call(W2,e)?!0:ho.call(I2,e)?!1:M3.test(e)?W2[e]=!0:(I2[e]=!0,!1)}function Oc(e,t,n){if(D3(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Mc(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function tl(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function gn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function P2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function z3(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var r=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(f){n=""+f,u.call(this,f)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(f){n=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function bo(e){if(!e._valueTracker){var t=P2(e)?"checked":"value";e._valueTracker=z3(e,t,""+e[t])}}function J2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=P2(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Dc(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 L3=/[\n"\\]/g;function _n(e){return e.replace(L3,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function jo(e,t,n,a,r,u,f,_){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=""+gn(t)):e.value!==""+gn(t)&&(e.value=""+gn(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?So(e,f,gn(t)):n!=null?So(e,f,gn(n)):a!=null&&e.removeAttribute("value"),r==null&&u!=null&&(e.defaultChecked=!!u),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?e.name=""+gn(_):e.removeAttribute("name")}function ed(e,t,n,a,r,u,f,_){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){bo(e);return}n=n!=null?""+gn(n):"",t=t!=null?""+gn(t):n,_||t===e.value||(e.value=t),e.defaultValue=t}a=a??r,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=_?e.checked:!!a,e.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.name=f),bo(e)}function So(e,t,n){t==="number"&&Dc(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function as(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+gn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,a&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function td(e,t,n){if(t!=null&&(t=""+gn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+gn(n):""}function nd(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(o(92));if(ze(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=gn(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),bo(e)}function ss(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var B3=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 ld(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||B3.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function ad(e,t,n){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var r in t)a=t[r],t.hasOwnProperty(r)&&n[r]!==a&&ld(e,r,a)}else for(var u in t)t.hasOwnProperty(u)&&ld(e,u,t[u])}function No(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 U3=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"]]),k3=/^[\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 zc(e){return k3.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function nl(){}var wo=null;function Co(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var is=null,cs=null;function sd(e){var t=ts(e);if(t&&(e=t.stateNode)){var n=e[$t]||null;e:switch(e=t.stateNode,t.type){case"input":if(jo(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+_n(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var r=a[$t]||null;if(!r)throw Error(o(90));jo(a,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&J2(a)}break e;case"textarea":td(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&as(e,!!n.multiple,t,!1)}}}var To=!1;function id(e,t,n){if(To)return e(t,n);To=!0;try{var a=e(t);return a}finally{if(To=!1,(is!==null||cs!==null)&&(br(),is&&(t=is,e=cs,cs=is=null,sd(t),e)))for(t=0;t<e.length;t++)sd(e[t])}}function vi(e,t){var n=e.stateNode;if(n===null)return null;var a=n[$t]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(o(231,t,typeof n));return n}var ll=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Eo=!1;if(ll)try{var gi={};Object.defineProperty(gi,"passive",{get:function(){Eo=!0}}),window.addEventListener("test",gi,gi),window.removeEventListener("test",gi,gi)}catch{Eo=!1}var Ol=null,Ro=null,Lc=null;function cd(){if(Lc)return Lc;var e,t=Ro,n=t.length,a,r="value"in Ol?Ol.value:Ol.textContent,u=r.length;for(e=0;e<n&&t[e]===r[e];e++);var f=n-e;for(a=1;a<=f&&t[n-a]===r[u-a];a++);return Lc=r.slice(e,1<a?1-a:void 0)}function Bc(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 Uc(){return!0}function rd(){return!1}function Gt(e){function t(n,a,r,u,f){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=u,this.target=f,this.currentTarget=null;for(var _ in e)e.hasOwnProperty(_)&&(n=e[_],this[_]=n?n(u):u[_]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Uc:rd,this.isPropagationStopped=rd,this}return y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Uc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Uc)},persist:function(){},isPersistent:Uc}),t}var pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},kc=Gt(pa),_i=y({},pa,{view:0,detail:0}),H3=Gt(_i),Ao,Oo,yi,Hc=y({},_i,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Do,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!==yi&&(yi&&e.type==="mousemove"?(Ao=e.screenX-yi.screenX,Oo=e.screenY-yi.screenY):Oo=Ao=0,yi=e),Ao)},movementY:function(e){return"movementY"in e?e.movementY:Oo}}),od=Gt(Hc),q3=y({},Hc,{dataTransfer:0}),$3=Gt(q3),G3=y({},_i,{relatedTarget:0}),Mo=Gt(G3),V3=y({},pa,{animationName:0,elapsedTime:0,pseudoElement:0}),F3=Gt(V3),Q3=y({},pa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Y3=Gt(Q3),X3=y({},pa,{data:0}),ud=Gt(X3),Z3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},K3={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"},I3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function W3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=I3[e])?!!t[e]:!1}function Do(){return W3}var P3=y({},_i,{key:function(e){if(e.key){var t=Z3[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Bc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?K3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Do,charCode:function(e){return e.type==="keypress"?Bc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Bc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),J3=Gt(P3),ev=y({},Hc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dd=Gt(ev),tv=y({},_i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Do}),nv=Gt(tv),lv=y({},pa,{propertyName:0,elapsedTime:0,pseudoElement:0}),av=Gt(lv),sv=y({},Hc,{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}),iv=Gt(sv),cv=y({},pa,{newState:0,oldState:0}),rv=Gt(cv),ov=[9,13,27,32],zo=ll&&"CompositionEvent"in window,xi=null;ll&&"documentMode"in document&&(xi=document.documentMode);var uv=ll&&"TextEvent"in window&&!xi,fd=ll&&(!zo||xi&&8<xi&&11>=xi),hd=" ",md=!1;function pd(e,t){switch(e){case"keyup":return ov.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var rs=!1;function dv(e,t){switch(e){case"compositionend":return vd(t);case"keypress":return t.which!==32?null:(md=!0,hd);case"textInput":return e=t.data,e===hd&&md?null:e;default:return null}}function fv(e,t){if(rs)return e==="compositionend"||!zo&&pd(e,t)?(e=cd(),Lc=Ro=Ol=null,rs=!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 fd&&t.locale!=="ko"?null:t.data;default:return null}}var hv={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 gd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!hv[e.type]:t==="textarea"}function _d(e,t,n,a){is?cs?cs.push(a):cs=[a]:is=a,t=Er(t,"onChange"),0<t.length&&(n=new kc("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var bi=null,ji=null;function mv(e){t1(e,0)}function qc(e){var t=pi(e);if(J2(t))return e}function yd(e,t){if(e==="change")return t}var xd=!1;if(ll){var Lo;if(ll){var Bo="oninput"in document;if(!Bo){var bd=document.createElement("div");bd.setAttribute("oninput","return;"),Bo=typeof bd.oninput=="function"}Lo=Bo}else Lo=!1;xd=Lo&&(!document.documentMode||9<document.documentMode)}function jd(){bi&&(bi.detachEvent("onpropertychange",Sd),ji=bi=null)}function Sd(e){if(e.propertyName==="value"&&qc(ji)){var t=[];_d(t,ji,e,Co(e)),id(mv,t)}}function pv(e,t,n){e==="focusin"?(jd(),bi=t,ji=n,bi.attachEvent("onpropertychange",Sd)):e==="focusout"&&jd()}function vv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return qc(ji)}function gv(e,t){if(e==="click")return qc(t)}function _v(e,t){if(e==="input"||e==="change")return qc(t)}function yv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var tn=typeof Object.is=="function"?Object.is:yv;function Si(e,t){if(tn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var r=n[a];if(!ho.call(t,r)||!tn(e[r],t[r]))return!1}return!0}function Nd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function wd(e,t){var n=Nd(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Nd(n)}}function Cd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Td(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Dc(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Dc(e.document)}return t}function Uo(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 xv=ll&&"documentMode"in document&&11>=document.documentMode,os=null,ko=null,Ni=null,Ho=!1;function Ed(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ho||os==null||os!==Dc(a)||(a=os,"selectionStart"in a&&Uo(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Ni&&Si(Ni,a)||(Ni=a,a=Er(ko,"onSelect"),0<a.length&&(t=new kc("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=os)))}function va(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var us={animationend:va("Animation","AnimationEnd"),animationiteration:va("Animation","AnimationIteration"),animationstart:va("Animation","AnimationStart"),transitionrun:va("Transition","TransitionRun"),transitionstart:va("Transition","TransitionStart"),transitioncancel:va("Transition","TransitionCancel"),transitionend:va("Transition","TransitionEnd")},qo={},Rd={};ll&&(Rd=document.createElement("div").style,"AnimationEvent"in window||(delete us.animationend.animation,delete us.animationiteration.animation,delete us.animationstart.animation),"TransitionEvent"in window||delete us.transitionend.transition);function ga(e){if(qo[e])return qo[e];if(!us[e])return e;var t=us[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Rd)return qo[e]=t[n];return e}var Ad=ga("animationend"),Od=ga("animationiteration"),Md=ga("animationstart"),bv=ga("transitionrun"),jv=ga("transitionstart"),Sv=ga("transitioncancel"),Dd=ga("transitionend"),zd=new Map,$o="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(" ");$o.push("scrollEnd");function Dn(e,t){zd.set(e,t),ma(t,[e])}var $c=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)},yn=[],ds=0,Go=0;function Gc(){for(var e=ds,t=Go=ds=0;t<e;){var n=yn[t];yn[t++]=null;var a=yn[t];yn[t++]=null;var r=yn[t];yn[t++]=null;var u=yn[t];if(yn[t++]=null,a!==null&&r!==null){var f=a.pending;f===null?r.next=r:(r.next=f.next,f.next=r),a.pending=r}u!==0&&Ld(n,r,u)}}function Vc(e,t,n,a){yn[ds++]=e,yn[ds++]=t,yn[ds++]=n,yn[ds++]=a,Go|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Vo(e,t,n,a){return Vc(e,t,n,a),Fc(e)}function _a(e,t){return Vc(e,null,null,t),Fc(e)}function Ld(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var r=!1,u=e.return;u!==null;)u.childLanes|=n,a=u.alternate,a!==null&&(a.childLanes|=n),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(r=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,r&&t!==null&&(r=31-en(n),e=u.hiddenUpdates,a=e[r],a===null?e[r]=[t]:a.push(t),t.lane=n|536870912),u):null}function Fc(e){if(50<Yi)throw Yi=0,Pu=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var fs={};function Nv(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(e,t,n,a){return new Nv(e,t,n,a)}function Fo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function al(e,t){var n=e.alternate;return n===null?(n=nn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Bd(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Qc(e,t,n,a,r,u){var f=0;if(a=e,typeof e=="function")Fo(e)&&(f=1);else if(typeof e=="string")f=R4(e,n,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case de:return e=nn(31,n,t,r),e.elementType=de,e.lanes=u,e;case O:return ya(n.children,r,u,t);case w:f=8,r|=24;break;case z:return e=nn(12,n,t,r|2),e.elementType=z,e.lanes=u,e;case K:return e=nn(13,n,t,r),e.elementType=K,e.lanes=u,e;case ne:return e=nn(19,n,t,r),e.elementType=ne,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $:f=10;break e;case F:f=9;break e;case V:f=11;break e;case X:f=14;break e;case te:f=16,a=null;break e}f=29,n=Error(o(130,e===null?"null":typeof e,"")),a=null}return t=nn(f,n,t,r),t.elementType=e,t.type=a,t.lanes=u,t}function ya(e,t,n,a){return e=nn(7,e,a,t),e.lanes=n,e}function Qo(e,t,n){return e=nn(6,e,null,t),e.lanes=n,e}function Ud(e){var t=nn(18,null,null,0);return t.stateNode=e,t}function Yo(e,t,n){return t=nn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var kd=new WeakMap;function xn(e,t){if(typeof e=="object"&&e!==null){var n=kd.get(e);return n!==void 0?n:(t={value:e,source:t,stack:ui(t)},kd.set(e,t),t)}return{value:e,source:t,stack:ui(t)}}var hs=[],ms=0,Yc=null,wi=0,bn=[],jn=0,Ml=null,$n=1,Gn="";function sl(e,t){hs[ms++]=wi,hs[ms++]=Yc,Yc=e,wi=t}function Hd(e,t,n){bn[jn++]=$n,bn[jn++]=Gn,bn[jn++]=Ml,Ml=e;var a=$n;e=Gn;var r=32-en(a)-1;a&=~(1<<r),n+=1;var u=32-en(t)+r;if(30<u){var f=r-r%5;u=(a&(1<<f)-1).toString(32),a>>=f,r-=f,$n=1<<32-en(t)+r|n<<r|a,Gn=u+e}else $n=1<<u|n<<r|a,Gn=e}function Xo(e){e.return!==null&&(sl(e,1),Hd(e,1,0))}function Zo(e){for(;e===Yc;)Yc=hs[--ms],hs[ms]=null,wi=hs[--ms],hs[ms]=null;for(;e===Ml;)Ml=bn[--jn],bn[jn]=null,Gn=bn[--jn],bn[jn]=null,$n=bn[--jn],bn[jn]=null}function qd(e,t){bn[jn++]=$n,bn[jn++]=Gn,bn[jn++]=Ml,$n=t.id,Gn=t.overflow,Ml=e}var Nt=null,Ie=null,Oe=!1,Dl=null,Sn=!1,Ko=Error(o(519));function zl(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ci(xn(t,e)),Ko}function $d(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[St]=e,t[$t]=a,n){case"dialog":Te("cancel",t),Te("close",t);break;case"iframe":case"object":case"embed":Te("load",t);break;case"video":case"audio":for(n=0;n<Zi.length;n++)Te(Zi[n],t);break;case"source":Te("error",t);break;case"img":case"image":case"link":Te("error",t),Te("load",t);break;case"details":Te("toggle",t);break;case"input":Te("invalid",t),ed(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Te("invalid",t);break;case"textarea":Te("invalid",t),nd(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||s1(t.textContent,n)?(a.popover!=null&&(Te("beforetoggle",t),Te("toggle",t)),a.onScroll!=null&&Te("scroll",t),a.onScrollEnd!=null&&Te("scrollend",t),a.onClick!=null&&(t.onclick=nl),t=!0):t=!1,t||zl(e,!0)}function Gd(e){for(Nt=e.return;Nt;)switch(Nt.tag){case 5:case 31:case 13:Sn=!1;return;case 27:case 3:Sn=!0;return;default:Nt=Nt.return}}function ps(e){if(e!==Nt)return!1;if(!Oe)return Gd(e),Oe=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||h0(e.type,e.memoizedProps)),n=!n),n&&Ie&&zl(e),Gd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ie=m1(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ie=m1(e)}else t===27?(t=Ie,Zl(e.type)?(e=_0,_0=null,Ie=e):Ie=t):Ie=Nt?wn(e.stateNode.nextSibling):null;return!0}function xa(){Ie=Nt=null,Oe=!1}function Io(){var e=Dl;return e!==null&&(Yt===null?Yt=e:Yt.push.apply(Yt,e),Dl=null),e}function Ci(e){Dl===null?Dl=[e]:Dl.push(e)}var Wo=T(null),ba=null,il=null;function Ll(e,t,n){I(Wo,t._currentValue),t._currentValue=n}function cl(e){e._currentValue=Wo.current,H(Wo)}function Po(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function Jo(e,t,n,a){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var u=r.dependencies;if(u!==null){var f=r.child;u=u.firstContext;e:for(;u!==null;){var _=u;u=r;for(var j=0;j<t.length;j++)if(_.context===t[j]){u.lanes|=n,_=u.alternate,_!==null&&(_.lanes|=n),Po(u.return,n,e),a||(f=null);break e}u=_.next}}else if(r.tag===18){if(f=r.return,f===null)throw Error(o(341));f.lanes|=n,u=f.alternate,u!==null&&(u.lanes|=n),Po(f,n,e),f=null}else f=r.child;if(f!==null)f.return=r;else for(f=r;f!==null;){if(f===e){f=null;break}if(r=f.sibling,r!==null){r.return=f.return,f=r;break}f=f.return}r=f}}function vs(e,t,n,a){e=null;for(var r=t,u=!1;r!==null;){if(!u){if((r.flags&524288)!==0)u=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var f=r.alternate;if(f===null)throw Error(o(387));if(f=f.memoizedProps,f!==null){var _=r.type;tn(r.pendingProps.value,f.value)||(e!==null?e.push(_):e=[_])}}else if(r===Ae.current){if(f=r.alternate,f===null)throw Error(o(387));f.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(Ji):e=[Ji])}r=r.return}e!==null&&Jo(t,e,n,a),t.flags|=262144}function Xc(e){for(e=e.firstContext;e!==null;){if(!tn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ja(e){ba=e,il=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function wt(e){return Vd(ba,e)}function Zc(e,t){return ba===null&&ja(e),Vd(e,t)}function Vd(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},il===null){if(e===null)throw Error(o(308));il=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else il=il.next=t;return n}var wv=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},Cv=s.unstable_scheduleCallback,Tv=s.unstable_NormalPriority,ut={$$typeof:$,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function eu(){return{controller:new wv,data:new Map,refCount:0}}function Ti(e){e.refCount--,e.refCount===0&&Cv(Tv,function(){e.controller.abort()})}var Ei=null,tu=0,gs=0,_s=null;function Ev(e,t){if(Ei===null){var n=Ei=[];tu=0,gs=a0(),_s={status:"pending",value:void 0,then:function(a){n.push(a)}}}return tu++,t.then(Fd,Fd),t}function Fd(){if(--tu===0&&Ei!==null){_s!==null&&(_s.status="fulfilled");var e=Ei;Ei=null,gs=0,_s=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Rv(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(a.status="rejected",a.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),a}var Qd=U.S;U.S=function(e,t){Rh=Pt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Ev(e,t),Qd!==null&&Qd(e,t)};var Sa=T(null);function nu(){var e=Sa.current;return e!==null?e:Ze.pooledCache}function Kc(e,t){t===null?I(Sa,Sa.current):I(Sa,t.pool)}function Yd(){var e=nu();return e===null?null:{parent:ut._currentValue,pool:e}}var ys=Error(o(460)),lu=Error(o(474)),Ic=Error(o(542)),Wc={then:function(){}};function Xd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Zd(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(nl,nl),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Id(e),e;default:if(typeof t.status=="string")t.then(nl,nl);else{if(e=Ze,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=a}},function(a){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Id(e),e}throw wa=t,ys}}function Na(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(wa=n,ys):n}}var wa=null;function Kd(){if(wa===null)throw Error(o(459));var e=wa;return wa=null,e}function Id(e){if(e===ys||e===Ic)throw Error(o(483))}var xs=null,Ri=0;function Pc(e){var t=Ri;return Ri+=1,xs===null&&(xs=[]),Zd(xs,e,t)}function Ai(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Jc(e,t){throw t.$$typeof===N?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Wd(e){function t(E,C){if(e){var M=E.deletions;M===null?(E.deletions=[C],E.flags|=16):M.push(C)}}function n(E,C){if(!e)return null;for(;C!==null;)t(E,C),C=C.sibling;return null}function a(E){for(var C=new Map;E!==null;)E.key!==null?C.set(E.key,E):C.set(E.index,E),E=E.sibling;return C}function r(E,C){return E=al(E,C),E.index=0,E.sibling=null,E}function u(E,C,M){return E.index=M,e?(M=E.alternate,M!==null?(M=M.index,M<C?(E.flags|=67108866,C):M):(E.flags|=67108866,C)):(E.flags|=1048576,C)}function f(E){return e&&E.alternate===null&&(E.flags|=67108866),E}function _(E,C,M,q){return C===null||C.tag!==6?(C=Qo(M,E.mode,q),C.return=E,C):(C=r(C,M),C.return=E,C)}function j(E,C,M,q){var ce=M.type;return ce===O?k(E,C,M.props.children,q,M.key):C!==null&&(C.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===te&&Na(ce)===C.type)?(C=r(C,M.props),Ai(C,M),C.return=E,C):(C=Qc(M.type,M.key,M.props,null,E.mode,q),Ai(C,M),C.return=E,C)}function D(E,C,M,q){return C===null||C.tag!==4||C.stateNode.containerInfo!==M.containerInfo||C.stateNode.implementation!==M.implementation?(C=Yo(M,E.mode,q),C.return=E,C):(C=r(C,M.children||[]),C.return=E,C)}function k(E,C,M,q,ce){return C===null||C.tag!==7?(C=ya(M,E.mode,q,ce),C.return=E,C):(C=r(C,M),C.return=E,C)}function G(E,C,M){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Qo(""+C,E.mode,M),C.return=E,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case R:return M=Qc(C.type,C.key,C.props,null,E.mode,M),Ai(M,C),M.return=E,M;case A:return C=Yo(C,E.mode,M),C.return=E,C;case te:return C=Na(C),G(E,C,M)}if(ze(C)||De(C))return C=ya(C,E.mode,M,null),C.return=E,C;if(typeof C.then=="function")return G(E,Pc(C),M);if(C.$$typeof===$)return G(E,Zc(E,C),M);Jc(E,C)}return null}function L(E,C,M,q){var ce=C!==null?C.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return ce!==null?null:_(E,C,""+M,q);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case R:return M.key===ce?j(E,C,M,q):null;case A:return M.key===ce?D(E,C,M,q):null;case te:return M=Na(M),L(E,C,M,q)}if(ze(M)||De(M))return ce!==null?null:k(E,C,M,q,null);if(typeof M.then=="function")return L(E,C,Pc(M),q);if(M.$$typeof===$)return L(E,C,Zc(E,M),q);Jc(E,M)}return null}function B(E,C,M,q,ce){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return E=E.get(M)||null,_(C,E,""+q,ce);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case R:return E=E.get(q.key===null?M:q.key)||null,j(C,E,q,ce);case A:return E=E.get(q.key===null?M:q.key)||null,D(C,E,q,ce);case te:return q=Na(q),B(E,C,M,q,ce)}if(ze(q)||De(q))return E=E.get(M)||null,k(C,E,q,ce,null);if(typeof q.then=="function")return B(E,C,M,Pc(q),ce);if(q.$$typeof===$)return B(E,C,M,Zc(C,q),ce);Jc(C,q)}return null}function ee(E,C,M,q){for(var ce=null,Be=null,ae=C,be=C=0,Re=null;ae!==null&&be<M.length;be++){ae.index>be?(Re=ae,ae=null):Re=ae.sibling;var Ue=L(E,ae,M[be],q);if(Ue===null){ae===null&&(ae=Re);break}e&&ae&&Ue.alternate===null&&t(E,ae),C=u(Ue,C,be),Be===null?ce=Ue:Be.sibling=Ue,Be=Ue,ae=Re}if(be===M.length)return n(E,ae),Oe&&sl(E,be),ce;if(ae===null){for(;be<M.length;be++)ae=G(E,M[be],q),ae!==null&&(C=u(ae,C,be),Be===null?ce=ae:Be.sibling=ae,Be=ae);return Oe&&sl(E,be),ce}for(ae=a(ae);be<M.length;be++)Re=B(ae,E,be,M[be],q),Re!==null&&(e&&Re.alternate!==null&&ae.delete(Re.key===null?be:Re.key),C=u(Re,C,be),Be===null?ce=Re:Be.sibling=Re,Be=Re);return e&&ae.forEach(function(Jl){return t(E,Jl)}),Oe&&sl(E,be),ce}function ue(E,C,M,q){if(M==null)throw Error(o(151));for(var ce=null,Be=null,ae=C,be=C=0,Re=null,Ue=M.next();ae!==null&&!Ue.done;be++,Ue=M.next()){ae.index>be?(Re=ae,ae=null):Re=ae.sibling;var Jl=L(E,ae,Ue.value,q);if(Jl===null){ae===null&&(ae=Re);break}e&&ae&&Jl.alternate===null&&t(E,ae),C=u(Jl,C,be),Be===null?ce=Jl:Be.sibling=Jl,Be=Jl,ae=Re}if(Ue.done)return n(E,ae),Oe&&sl(E,be),ce;if(ae===null){for(;!Ue.done;be++,Ue=M.next())Ue=G(E,Ue.value,q),Ue!==null&&(C=u(Ue,C,be),Be===null?ce=Ue:Be.sibling=Ue,Be=Ue);return Oe&&sl(E,be),ce}for(ae=a(ae);!Ue.done;be++,Ue=M.next())Ue=B(ae,E,be,Ue.value,q),Ue!==null&&(e&&Ue.alternate!==null&&ae.delete(Ue.key===null?be:Ue.key),C=u(Ue,C,be),Be===null?ce=Ue:Be.sibling=Ue,Be=Ue);return e&&ae.forEach(function(q4){return t(E,q4)}),Oe&&sl(E,be),ce}function Xe(E,C,M,q){if(typeof M=="object"&&M!==null&&M.type===O&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case R:e:{for(var ce=M.key;C!==null;){if(C.key===ce){if(ce=M.type,ce===O){if(C.tag===7){n(E,C.sibling),q=r(C,M.props.children),q.return=E,E=q;break e}}else if(C.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===te&&Na(ce)===C.type){n(E,C.sibling),q=r(C,M.props),Ai(q,M),q.return=E,E=q;break e}n(E,C);break}else t(E,C);C=C.sibling}M.type===O?(q=ya(M.props.children,E.mode,q,M.key),q.return=E,E=q):(q=Qc(M.type,M.key,M.props,null,E.mode,q),Ai(q,M),q.return=E,E=q)}return f(E);case A:e:{for(ce=M.key;C!==null;){if(C.key===ce)if(C.tag===4&&C.stateNode.containerInfo===M.containerInfo&&C.stateNode.implementation===M.implementation){n(E,C.sibling),q=r(C,M.children||[]),q.return=E,E=q;break e}else{n(E,C);break}else t(E,C);C=C.sibling}q=Yo(M,E.mode,q),q.return=E,E=q}return f(E);case te:return M=Na(M),Xe(E,C,M,q)}if(ze(M))return ee(E,C,M,q);if(De(M)){if(ce=De(M),typeof ce!="function")throw Error(o(150));return M=ce.call(M),ue(E,C,M,q)}if(typeof M.then=="function")return Xe(E,C,Pc(M),q);if(M.$$typeof===$)return Xe(E,C,Zc(E,M),q);Jc(E,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,C!==null&&C.tag===6?(n(E,C.sibling),q=r(C,M),q.return=E,E=q):(n(E,C),q=Qo(M,E.mode,q),q.return=E,E=q),f(E)):n(E,C)}return function(E,C,M,q){try{Ri=0;var ce=Xe(E,C,M,q);return xs=null,ce}catch(ae){if(ae===ys||ae===Ic)throw ae;var Be=nn(29,ae,null,E.mode);return Be.lanes=q,Be.return=E,Be}finally{}}}var Ca=Wd(!0),Pd=Wd(!1),Bl=!1;function au(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function su(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 Ul(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function kl(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(He&2)!==0){var r=a.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),a.pending=t,t=Fc(e),Ld(e,null,n),t}return Vc(e,a,t,n),Fc(e)}function Oi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,V2(e,n)}}function iu(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var r=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?r=u=f:u=u.next=f,n=n.next}while(n!==null);u===null?r=u=t:u=u.next=t}else r=u=t;n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var cu=!1;function Mi(){if(cu){var e=_s;if(e!==null)throw e}}function Di(e,t,n,a){cu=!1;var r=e.updateQueue;Bl=!1;var u=r.firstBaseUpdate,f=r.lastBaseUpdate,_=r.shared.pending;if(_!==null){r.shared.pending=null;var j=_,D=j.next;j.next=null,f===null?u=D:f.next=D,f=j;var k=e.alternate;k!==null&&(k=k.updateQueue,_=k.lastBaseUpdate,_!==f&&(_===null?k.firstBaseUpdate=D:_.next=D,k.lastBaseUpdate=j))}if(u!==null){var G=r.baseState;f=0,k=D=j=null,_=u;do{var L=_.lane&-536870913,B=L!==_.lane;if(B?(Ee&L)===L:(a&L)===L){L!==0&&L===gs&&(cu=!0),k!==null&&(k=k.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var ee=e,ue=_;L=t;var Xe=n;switch(ue.tag){case 1:if(ee=ue.payload,typeof ee=="function"){G=ee.call(Xe,G,L);break e}G=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=ue.payload,L=typeof ee=="function"?ee.call(Xe,G,L):ee,L==null)break e;G=y({},G,L);break e;case 2:Bl=!0}}L=_.callback,L!==null&&(e.flags|=64,B&&(e.flags|=8192),B=r.callbacks,B===null?r.callbacks=[L]:B.push(L))}else B={lane:L,tag:_.tag,payload:_.payload,callback:_.callback,next:null},k===null?(D=k=B,j=G):k=k.next=B,f|=L;if(_=_.next,_===null){if(_=r.shared.pending,_===null)break;B=_,_=B.next,B.next=null,r.lastBaseUpdate=B,r.shared.pending=null}}while(!0);k===null&&(j=G),r.baseState=j,r.firstBaseUpdate=D,r.lastBaseUpdate=k,u===null&&(r.shared.lanes=0),Vl|=f,e.lanes=f,e.memoizedState=G}}function Jd(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function ef(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Jd(n[e],t)}var bs=T(null),er=T(0);function tf(e,t){e=vl,I(er,e),I(bs,t),vl=e|t.baseLanes}function ru(){I(er,vl),I(bs,bs.current)}function ou(){vl=er.current,H(bs),H(er)}var ln=T(null),Nn=null;function Hl(e){var t=e.alternate;I(st,st.current&1),I(ln,e),Nn===null&&(t===null||bs.current!==null||t.memoizedState!==null)&&(Nn=e)}function uu(e){I(st,st.current),I(ln,e),Nn===null&&(Nn=e)}function nf(e){e.tag===22?(I(st,st.current),I(ln,e),Nn===null&&(Nn=e)):ql()}function ql(){I(st,st.current),I(ln,ln.current)}function an(e){H(ln),Nn===e&&(Nn=null),H(st)}var st=T(0);function tr(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||v0(n)||g0(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var rl=0,xe=null,Qe=null,dt=null,nr=!1,js=!1,Ta=!1,lr=0,zi=0,Ss=null,Av=0;function nt(){throw Error(o(321))}function du(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!tn(e[n],t[n]))return!1;return!0}function fu(e,t,n,a,r,u){return rl=u,xe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,U.H=e===null||e.memoizedState===null?qf:Tu,Ta=!1,u=n(a,r),Ta=!1,js&&(u=af(t,n,a,r)),lf(e),u}function lf(e){U.H=Ui;var t=Qe!==null&&Qe.next!==null;if(rl=0,dt=Qe=xe=null,nr=!1,zi=0,Ss=null,t)throw Error(o(300));e===null||ft||(e=e.dependencies,e!==null&&Xc(e)&&(ft=!0))}function af(e,t,n,a){xe=e;var r=0;do{if(js&&(Ss=null),zi=0,js=!1,25<=r)throw Error(o(301));if(r+=1,dt=Qe=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}U.H=$f,u=t(n,a)}while(js);return u}function Ov(){var e=U.H,t=e.useState()[0];return t=typeof t.then=="function"?Li(t):t,e=e.useState()[0],(Qe!==null?Qe.memoizedState:null)!==e&&(xe.flags|=1024),t}function hu(){var e=lr!==0;return lr=0,e}function mu(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function pu(e){if(nr){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}nr=!1}rl=0,dt=Qe=xe=null,js=!1,zi=lr=0,Ss=null}function Mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?xe.memoizedState=dt=e:dt=dt.next=e,dt}function it(){if(Qe===null){var e=xe.alternate;e=e!==null?e.memoizedState:null}else e=Qe.next;var t=dt===null?xe.memoizedState:dt.next;if(t!==null)dt=t,Qe=e;else{if(e===null)throw xe.alternate===null?Error(o(467)):Error(o(310));Qe=e,e={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},dt===null?xe.memoizedState=dt=e:dt=dt.next=e}return dt}function ar(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Li(e){var t=zi;return zi+=1,Ss===null&&(Ss=[]),e=Zd(Ss,e,t),t=xe,(dt===null?t.memoizedState:dt.next)===null&&(t=t.alternate,U.H=t===null||t.memoizedState===null?qf:Tu),e}function sr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Li(e);if(e.$$typeof===$)return wt(e)}throw Error(o(438,String(e)))}function vu(e){var t=null,n=xe.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=xe.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ar(),xe.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=he;return t.index++,n}function ol(e,t){return typeof t=="function"?t(e):t}function ir(e){var t=it();return gu(t,Qe,e)}function gu(e,t,n){var a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=n;var r=e.baseQueue,u=a.pending;if(u!==null){if(r!==null){var f=r.next;r.next=u.next,u.next=f}t.baseQueue=r=u,a.pending=null}if(u=e.baseState,r===null)e.memoizedState=u;else{t=r.next;var _=f=null,j=null,D=t,k=!1;do{var G=D.lane&-536870913;if(G!==D.lane?(Ee&G)===G:(rl&G)===G){var L=D.revertLane;if(L===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),G===gs&&(k=!0);else if((rl&L)===L){D=D.next,L===gs&&(k=!0);continue}else G={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},j===null?(_=j=G,f=u):j=j.next=G,xe.lanes|=L,Vl|=L;G=D.action,Ta&&n(u,G),u=D.hasEagerState?D.eagerState:n(u,G)}else L={lane:G,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},j===null?(_=j=L,f=u):j=j.next=L,xe.lanes|=G,Vl|=G;D=D.next}while(D!==null&&D!==t);if(j===null?f=u:j.next=_,!tn(u,e.memoizedState)&&(ft=!0,k&&(n=_s,n!==null)))throw n;e.memoizedState=u,e.baseState=f,e.baseQueue=j,a.lastRenderedState=u}return r===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function _u(e){var t=it(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var a=n.dispatch,r=n.pending,u=t.memoizedState;if(r!==null){n.pending=null;var f=r=r.next;do u=e(u,f.action),f=f.next;while(f!==r);tn(u,t.memoizedState)||(ft=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,a]}function sf(e,t,n){var a=xe,r=it(),u=Oe;if(u){if(n===void 0)throw Error(o(407));n=n()}else n=t();var f=!tn((Qe||r).memoizedState,n);if(f&&(r.memoizedState=n,ft=!0),r=r.queue,bu(of.bind(null,a,r,e),[e]),r.getSnapshot!==t||f||dt!==null&&dt.memoizedState.tag&1){if(a.flags|=2048,Ns(9,{destroy:void 0},rf.bind(null,a,r,n,t),null),Ze===null)throw Error(o(349));u||(rl&127)!==0||cf(a,t,n)}return n}function cf(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=xe.updateQueue,t===null?(t=ar(),xe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function rf(e,t,n,a){t.value=n,t.getSnapshot=a,uf(t)&&df(e)}function of(e,t,n){return n(function(){uf(t)&&df(e)})}function uf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!tn(e,n)}catch{return!0}}function df(e){var t=_a(e,2);t!==null&&Xt(t,e,2)}function yu(e){var t=Mt();if(typeof e=="function"){var n=e;if(e=n(),Ta){Rl(!0);try{n()}finally{Rl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:e},t}function ff(e,t,n,a){return e.baseState=n,gu(e,Qe,typeof a=="function"?a:ol)}function Mv(e,t,n,a,r){if(or(e))throw Error(o(485));if(e=t.action,e!==null){var u={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){u.listeners.push(f)}};U.T!==null?n(!0):u.isTransition=!1,a(u),n=t.pending,n===null?(u.next=t.pending=u,hf(t,u)):(u.next=n.next,t.pending=n.next=u)}}function hf(e,t){var n=t.action,a=t.payload,r=e.state;if(t.isTransition){var u=U.T,f={};U.T=f;try{var _=n(r,a),j=U.S;j!==null&&j(f,_),mf(e,t,_)}catch(D){xu(e,t,D)}finally{u!==null&&f.types!==null&&(u.types=f.types),U.T=u}}else try{u=n(r,a),mf(e,t,u)}catch(D){xu(e,t,D)}}function mf(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){pf(e,t,a)},function(a){return xu(e,t,a)}):pf(e,t,n)}function pf(e,t,n){t.status="fulfilled",t.value=n,vf(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,hf(e,n)))}function xu(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,vf(t),t=t.next;while(t!==a)}e.action=null}function vf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function gf(e,t){return t}function _f(e,t){if(Oe){var n=Ze.formState;if(n!==null){e:{var a=xe;if(Oe){if(Ie){t:{for(var r=Ie,u=Sn;r.nodeType!==8;){if(!u){r=null;break t}if(r=wn(r.nextSibling),r===null){r=null;break t}}u=r.data,r=u==="F!"||u==="F"?r:null}if(r){Ie=wn(r.nextSibling),a=r.data==="F!";break e}}zl(a)}a=!1}a&&(t=n[0])}}return n=Mt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gf,lastRenderedState:t},n.queue=a,n=Uf.bind(null,xe,a),a.dispatch=n,a=yu(!1),u=Cu.bind(null,xe,!1,a.queue),a=Mt(),r={state:t,dispatch:null,action:e,pending:null},a.queue=r,n=Mv.bind(null,xe,r,u,n),r.dispatch=n,a.memoizedState=e,[t,n,!1]}function yf(e){var t=it();return xf(t,Qe,e)}function xf(e,t,n){if(t=gu(e,t,gf)[0],e=ir(ol)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Li(t)}catch(f){throw f===ys?Ic:f}else a=t;t=it();var r=t.queue,u=r.dispatch;return n!==t.memoizedState&&(xe.flags|=2048,Ns(9,{destroy:void 0},Dv.bind(null,r,n),null)),[a,u,e]}function Dv(e,t){e.action=t}function bf(e){var t=it(),n=Qe;if(n!==null)return xf(t,n,e);it(),t=t.memoizedState,n=it();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Ns(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=xe.updateQueue,t===null&&(t=ar(),xe.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function jf(){return it().memoizedState}function cr(e,t,n,a){var r=Mt();xe.flags|=e,r.memoizedState=Ns(1|t,{destroy:void 0},n,a===void 0?null:a)}function rr(e,t,n,a){var r=it();a=a===void 0?null:a;var u=r.memoizedState.inst;Qe!==null&&a!==null&&du(a,Qe.memoizedState.deps)?r.memoizedState=Ns(t,u,n,a):(xe.flags|=e,r.memoizedState=Ns(1|t,u,n,a))}function Sf(e,t){cr(8390656,8,e,t)}function bu(e,t){rr(2048,8,e,t)}function zv(e){xe.flags|=4;var t=xe.updateQueue;if(t===null)t=ar(),xe.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Nf(e){var t=it().memoizedState;return zv({ref:t,nextImpl:e}),function(){if((He&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function wf(e,t){return rr(4,2,e,t)}function Cf(e,t){return rr(4,4,e,t)}function Tf(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ef(e,t,n){n=n!=null?n.concat([e]):null,rr(4,4,Tf.bind(null,t,e),n)}function ju(){}function Rf(e,t){var n=it();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&du(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Af(e,t){var n=it();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&du(t,a[1]))return a[0];if(a=e(),Ta){Rl(!0);try{e()}finally{Rl(!1)}}return n.memoizedState=[a,t],a}function Su(e,t,n){return n===void 0||(rl&1073741824)!==0&&(Ee&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Oh(),xe.lanes|=e,Vl|=e,n)}function Of(e,t,n,a){return tn(n,t)?n:bs.current!==null?(e=Su(e,n,a),tn(e,t)||(ft=!0),e):(rl&42)===0||(rl&1073741824)!==0&&(Ee&261930)===0?(ft=!0,e.memoizedState=n):(e=Oh(),xe.lanes|=e,Vl|=e,t)}function Mf(e,t,n,a,r){var u=Q.p;Q.p=u!==0&&8>u?u:8;var f=U.T,_={};U.T=_,Cu(e,!1,t,n);try{var j=r(),D=U.S;if(D!==null&&D(_,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var k=Rv(j,a);Bi(e,t,k,rn(e))}else Bi(e,t,a,rn(e))}catch(G){Bi(e,t,{then:function(){},status:"rejected",reason:G},rn())}finally{Q.p=u,f!==null&&_.types!==null&&(f.types=_.types),U.T=f}}function Lv(){}function Nu(e,t,n,a){if(e.tag!==5)throw Error(o(476));var r=Df(e).queue;Mf(e,r,t,oe,n===null?Lv:function(){return zf(e),n(a)})}function Df(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:oe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function zf(e){var t=Df(e);t.next===null&&(t=e.alternate.memoizedState),Bi(e,t.next.queue,{},rn())}function wu(){return wt(Ji)}function Lf(){return it().memoizedState}function Bf(){return it().memoizedState}function Bv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=rn();e=Ul(n);var a=kl(t,e,n);a!==null&&(Xt(a,t,n),Oi(a,t,n)),t={cache:eu()},e.payload=t;return}t=t.return}}function Uv(e,t,n){var a=rn();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},or(e)?kf(t,n):(n=Vo(e,t,n,a),n!==null&&(Xt(n,e,a),Hf(n,t,a)))}function Uf(e,t,n){var a=rn();Bi(e,t,n,a)}function Bi(e,t,n,a){var r={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(or(e))kf(t,r);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var f=t.lastRenderedState,_=u(f,n);if(r.hasEagerState=!0,r.eagerState=_,tn(_,f))return Vc(e,t,r,0),Ze===null&&Gc(),!1}catch{}finally{}if(n=Vo(e,t,r,a),n!==null)return Xt(n,e,a),Hf(n,t,a),!0}return!1}function Cu(e,t,n,a){if(a={lane:2,revertLane:a0(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},or(e)){if(t)throw Error(o(479))}else t=Vo(e,n,a,2),t!==null&&Xt(t,e,2)}function or(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function kf(e,t){js=nr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hf(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,V2(e,n)}}var Ui={readContext:wt,use:sr,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useLayoutEffect:nt,useInsertionEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useSyncExternalStore:nt,useId:nt,useHostTransitionStatus:nt,useFormState:nt,useActionState:nt,useOptimistic:nt,useMemoCache:nt,useCacheRefresh:nt};Ui.useEffectEvent=nt;var qf={readContext:wt,use:sr,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:wt,useEffect:Sf,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,cr(4194308,4,Tf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cr(4194308,4,e,t)},useInsertionEffect:function(e,t){cr(4,2,e,t)},useMemo:function(e,t){var n=Mt();t=t===void 0?null:t;var a=e();if(Ta){Rl(!0);try{e()}finally{Rl(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Mt();if(n!==void 0){var r=n(t);if(Ta){Rl(!0);try{n(t)}finally{Rl(!1)}}}else r=t;return a.memoizedState=a.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=Uv.bind(null,xe,e),[a.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:function(e){e=yu(e);var t=e.queue,n=Uf.bind(null,xe,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ju,useDeferredValue:function(e,t){var n=Mt();return Su(n,e,t)},useTransition:function(){var e=yu(!1);return e=Mf.bind(null,xe,e.queue,!0,!1),Mt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=xe,r=Mt();if(Oe){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),Ze===null)throw Error(o(349));(Ee&127)!==0||cf(a,t,n)}r.memoizedState=n;var u={value:n,getSnapshot:t};return r.queue=u,Sf(of.bind(null,a,u,e),[e]),a.flags|=2048,Ns(9,{destroy:void 0},rf.bind(null,a,u,n,t),null),n},useId:function(){var e=Mt(),t=Ze.identifierPrefix;if(Oe){var n=Gn,a=$n;n=(a&~(1<<32-en(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=lr++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=Av++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:wu,useFormState:_f,useActionState:_f,useOptimistic:function(e){var t=Mt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Cu.bind(null,xe,!0,n),n.dispatch=t,[e,t]},useMemoCache:vu,useCacheRefresh:function(){return Mt().memoizedState=Bv.bind(null,xe)},useEffectEvent:function(e){var t=Mt(),n={impl:e};return t.memoizedState=n,function(){if((He&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},Tu={readContext:wt,use:sr,useCallback:Rf,useContext:wt,useEffect:bu,useImperativeHandle:Ef,useInsertionEffect:wf,useLayoutEffect:Cf,useMemo:Af,useReducer:ir,useRef:jf,useState:function(){return ir(ol)},useDebugValue:ju,useDeferredValue:function(e,t){var n=it();return Of(n,Qe.memoizedState,e,t)},useTransition:function(){var e=ir(ol)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Li(e),t]},useSyncExternalStore:sf,useId:Lf,useHostTransitionStatus:wu,useFormState:yf,useActionState:yf,useOptimistic:function(e,t){var n=it();return ff(n,Qe,e,t)},useMemoCache:vu,useCacheRefresh:Bf};Tu.useEffectEvent=Nf;var $f={readContext:wt,use:sr,useCallback:Rf,useContext:wt,useEffect:bu,useImperativeHandle:Ef,useInsertionEffect:wf,useLayoutEffect:Cf,useMemo:Af,useReducer:_u,useRef:jf,useState:function(){return _u(ol)},useDebugValue:ju,useDeferredValue:function(e,t){var n=it();return Qe===null?Su(n,e,t):Of(n,Qe.memoizedState,e,t)},useTransition:function(){var e=_u(ol)[0],t=it().memoizedState;return[typeof e=="boolean"?e:Li(e),t]},useSyncExternalStore:sf,useId:Lf,useHostTransitionStatus:wu,useFormState:bf,useActionState:bf,useOptimistic:function(e,t){var n=it();return Qe!==null?ff(n,Qe,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:vu,useCacheRefresh:Bf};$f.useEffectEvent=Nf;function Eu(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:y({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ru={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=rn(),r=Ul(a);r.payload=t,n!=null&&(r.callback=n),t=kl(e,r,a),t!==null&&(Xt(t,e,a),Oi(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=rn(),r=Ul(a);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=kl(e,r,a),t!==null&&(Xt(t,e,a),Oi(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=rn(),a=Ul(n);a.tag=2,t!=null&&(a.callback=t),t=kl(e,a,n),t!==null&&(Xt(t,e,n),Oi(t,e,n))}};function Gf(e,t,n,a,r,u,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,f):t.prototype&&t.prototype.isPureReactComponent?!Si(n,a)||!Si(r,u):!0}function Vf(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Ru.enqueueReplaceState(t,t.state,null)}function Ea(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=y({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function Ff(e){$c(e)}function Qf(e){console.error(e)}function Yf(e){$c(e)}function ur(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Xf(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Au(e,t,n){return n=Ul(n),n.tag=3,n.payload={element:null},n.callback=function(){ur(e,t)},n}function Zf(e){return e=Ul(e),e.tag=3,e}function Kf(e,t,n,a){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var u=a.value;e.payload=function(){return r(u)},e.callback=function(){Xf(t,n,a)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){Xf(t,n,a),typeof r!="function"&&(Fl===null?Fl=new Set([this]):Fl.add(this));var _=a.stack;this.componentDidCatch(a.value,{componentStack:_!==null?_:""})})}function kv(e,t,n,a,r){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&vs(t,n,r,!0),n=ln.current,n!==null){switch(n.tag){case 31:case 13:return Nn===null?jr():n.alternate===null&&lt===0&&(lt=3),n.flags&=-257,n.flags|=65536,n.lanes=r,a===Wc?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),t0(e,a,r)),!1;case 22:return n.flags|=65536,a===Wc?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),t0(e,a,r)),!1}throw Error(o(435,n.tag))}return t0(e,a,r),jr(),!1}if(Oe)return t=ln.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,a!==Ko&&(e=Error(o(422),{cause:a}),Ci(xn(e,n)))):(a!==Ko&&(t=Error(o(423),{cause:a}),Ci(xn(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,a=xn(a,n),r=Au(e.stateNode,a,r),iu(e,r),lt!==4&&(lt=2)),!1;var u=Error(o(520),{cause:a});if(u=xn(u,n),Qi===null?Qi=[u]:Qi.push(u),lt!==4&&(lt=2),t===null)return!0;a=xn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=Au(n.stateNode,a,e),iu(n,e),!1;case 1:if(t=n.type,u=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Fl===null||!Fl.has(u))))return n.flags|=65536,r&=-r,n.lanes|=r,r=Zf(r),Kf(r,e,n,a),iu(n,r),!1}n=n.return}while(n!==null);return!1}var Ou=Error(o(461)),ft=!1;function Ct(e,t,n,a){t.child=e===null?Pd(t,null,n,a):Ca(t,e.child,n,a)}function If(e,t,n,a,r){n=n.render;var u=t.ref;if("ref"in a){var f={};for(var _ in a)_!=="ref"&&(f[_]=a[_])}else f=a;return ja(t),a=fu(e,t,n,f,u,r),_=hu(),e!==null&&!ft?(mu(e,t,r),ul(e,t,r)):(Oe&&_&&Xo(t),t.flags|=1,Ct(e,t,a,r),t.child)}function Wf(e,t,n,a,r){if(e===null){var u=n.type;return typeof u=="function"&&!Fo(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,Pf(e,t,u,a,r)):(e=Qc(n.type,null,a,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Hu(e,r)){var f=u.memoizedProps;if(n=n.compare,n=n!==null?n:Si,n(f,a)&&e.ref===t.ref)return ul(e,t,r)}return t.flags|=1,e=al(u,a),e.ref=t.ref,e.return=t,t.child=e}function Pf(e,t,n,a,r){if(e!==null){var u=e.memoizedProps;if(Si(u,a)&&e.ref===t.ref)if(ft=!1,t.pendingProps=a=u,Hu(e,r))(e.flags&131072)!==0&&(ft=!0);else return t.lanes=e.lanes,ul(e,t,r)}return Mu(e,t,n,a,r)}function Jf(e,t,n,a){var r=a.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|n:n,e!==null){for(a=t.child=e.child,r=0;a!==null;)r=r|a.lanes|a.childLanes,a=a.sibling;a=r&~u}else a=0,t.child=null;return eh(e,t,u,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Kc(t,u!==null?u.cachePool:null),u!==null?tf(t,u):ru(),nf(t);else return a=t.lanes=536870912,eh(e,t,u!==null?u.baseLanes|n:n,n,a)}else u!==null?(Kc(t,u.cachePool),tf(t,u),ql(),t.memoizedState=null):(e!==null&&Kc(t,null),ru(),ql());return Ct(e,t,r,n),t.child}function ki(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function eh(e,t,n,a,r){var u=nu();return u=u===null?null:{parent:ut._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&Kc(t,null),ru(),nf(t),e!==null&&vs(e,t,a,!0),t.childLanes=r,null}function dr(e,t){return t=hr({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function th(e,t,n){return Ca(t,e.child,null,n),e=dr(t,t.pendingProps),e.flags|=2,an(t),t.memoizedState=null,e}function Hv(e,t,n){var a=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Oe){if(a.mode==="hidden")return e=dr(t,a),t.lanes=536870912,ki(null,e);if(uu(t),(e=Ie)?(e=h1(e,Sn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ml!==null?{id:$n,overflow:Gn}:null,retryLane:536870912,hydrationErrors:null},n=Ud(e),n.return=t,t.child=n,Nt=t,Ie=null)):e=null,e===null)throw zl(t);return t.lanes=536870912,null}return dr(t,a)}var u=e.memoizedState;if(u!==null){var f=u.dehydrated;if(uu(t),r)if(t.flags&256)t.flags&=-257,t=th(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(ft||vs(e,t,n,!1),r=(n&e.childLanes)!==0,ft||r){if(a=Ze,a!==null&&(f=F2(a,n),f!==0&&f!==u.retryLane))throw u.retryLane=f,_a(e,f),Xt(a,e,f),Ou;jr(),t=th(e,t,n)}else e=u.treeContext,Ie=wn(f.nextSibling),Nt=t,Oe=!0,Dl=null,Sn=!1,e!==null&&qd(t,e),t=dr(t,a),t.flags|=4096;return t}return e=al(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function fr(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Mu(e,t,n,a,r){return ja(t),n=fu(e,t,n,a,void 0,r),a=hu(),e!==null&&!ft?(mu(e,t,r),ul(e,t,r)):(Oe&&a&&Xo(t),t.flags|=1,Ct(e,t,n,r),t.child)}function nh(e,t,n,a,r,u){return ja(t),t.updateQueue=null,n=af(t,a,n,r),lf(e),a=hu(),e!==null&&!ft?(mu(e,t,u),ul(e,t,u)):(Oe&&a&&Xo(t),t.flags|=1,Ct(e,t,n,u),t.child)}function lh(e,t,n,a,r){if(ja(t),t.stateNode===null){var u=fs,f=n.contextType;typeof f=="object"&&f!==null&&(u=wt(f)),u=new n(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ru,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},au(t),f=n.contextType,u.context=typeof f=="object"&&f!==null?wt(f):fs,u.state=t.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(Eu(t,n,f,a),u.state=t.memoizedState),typeof n.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&&Ru.enqueueReplaceState(u,u.state,null),Di(t,a,u,r),Mi(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var _=t.memoizedProps,j=Ea(n,_);u.props=j;var D=u.context,k=n.contextType;f=fs,typeof k=="object"&&k!==null&&(f=wt(k));var G=n.getDerivedStateFromProps;k=typeof G=="function"||typeof u.getSnapshotBeforeUpdate=="function",_=t.pendingProps!==_,k||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(_||D!==f)&&Vf(t,u,a,f),Bl=!1;var L=t.memoizedState;u.state=L,Di(t,a,u,r),Mi(),D=t.memoizedState,_||L!==D||Bl?(typeof G=="function"&&(Eu(t,n,G,a),D=t.memoizedState),(j=Bl||Gf(t,n,j,a,L,D,f))?(k||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=D),u.props=a,u.state=D,u.context=f,a=j):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,su(e,t),f=t.memoizedProps,k=Ea(n,f),u.props=k,G=t.pendingProps,L=u.context,D=n.contextType,j=fs,typeof D=="object"&&D!==null&&(j=wt(D)),_=n.getDerivedStateFromProps,(D=typeof _=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==G||L!==j)&&Vf(t,u,a,j),Bl=!1,L=t.memoizedState,u.state=L,Di(t,a,u,r),Mi();var B=t.memoizedState;f!==G||L!==B||Bl||e!==null&&e.dependencies!==null&&Xc(e.dependencies)?(typeof _=="function"&&(Eu(t,n,_,a),B=t.memoizedState),(k=Bl||Gf(t,n,k,a,L,B,j)||e!==null&&e.dependencies!==null&&Xc(e.dependencies))?(D||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,B,j),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,B,j)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=B),u.props=a,u.state=B,u.context=j,a=k):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,fr(e,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&a?(t.child=Ca(t,e.child,null,r),t.child=Ca(t,null,n,r)):Ct(e,t,n,r),t.memoizedState=u.state,e=t.child):e=ul(e,t,r),e}function ah(e,t,n,a){return xa(),t.flags|=256,Ct(e,t,n,a),t.child}var Du={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function zu(e){return{baseLanes:e,cachePool:Yd()}}function Lu(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=cn),e}function sh(e,t,n){var a=t.pendingProps,r=!1,u=(t.flags&128)!==0,f;if((f=u)||(f=e!==null&&e.memoizedState===null?!1:(st.current&2)!==0),f&&(r=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(Oe){if(r?Hl(t):ql(),(e=Ie)?(e=h1(e,Sn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ml!==null?{id:$n,overflow:Gn}:null,retryLane:536870912,hydrationErrors:null},n=Ud(e),n.return=t,t.child=n,Nt=t,Ie=null)):e=null,e===null)throw zl(t);return g0(e)?t.lanes=32:t.lanes=536870912,null}var _=a.children;return a=a.fallback,r?(ql(),r=t.mode,_=hr({mode:"hidden",children:_},r),a=ya(a,r,n,null),_.return=t,a.return=t,_.sibling=a,t.child=_,a=t.child,a.memoizedState=zu(n),a.childLanes=Lu(e,f,n),t.memoizedState=Du,ki(null,a)):(Hl(t),Bu(t,_))}var j=e.memoizedState;if(j!==null&&(_=j.dehydrated,_!==null)){if(u)t.flags&256?(Hl(t),t.flags&=-257,t=Uu(e,t,n)):t.memoizedState!==null?(ql(),t.child=e.child,t.flags|=128,t=null):(ql(),_=a.fallback,r=t.mode,a=hr({mode:"visible",children:a.children},r),_=ya(_,r,n,null),_.flags|=2,a.return=t,_.return=t,a.sibling=_,t.child=a,Ca(t,e.child,null,n),a=t.child,a.memoizedState=zu(n),a.childLanes=Lu(e,f,n),t.memoizedState=Du,t=ki(null,a));else if(Hl(t),g0(_)){if(f=_.nextSibling&&_.nextSibling.dataset,f)var D=f.dgst;f=D,a=Error(o(419)),a.stack="",a.digest=f,Ci({value:a,source:null,stack:null}),t=Uu(e,t,n)}else if(ft||vs(e,t,n,!1),f=(n&e.childLanes)!==0,ft||f){if(f=Ze,f!==null&&(a=F2(f,n),a!==0&&a!==j.retryLane))throw j.retryLane=a,_a(e,a),Xt(f,e,a),Ou;v0(_)||jr(),t=Uu(e,t,n)}else v0(_)?(t.flags|=192,t.child=e.child,t=null):(e=j.treeContext,Ie=wn(_.nextSibling),Nt=t,Oe=!0,Dl=null,Sn=!1,e!==null&&qd(t,e),t=Bu(t,a.children),t.flags|=4096);return t}return r?(ql(),_=a.fallback,r=t.mode,j=e.child,D=j.sibling,a=al(j,{mode:"hidden",children:a.children}),a.subtreeFlags=j.subtreeFlags&65011712,D!==null?_=al(D,_):(_=ya(_,r,n,null),_.flags|=2),_.return=t,a.return=t,a.sibling=_,t.child=a,ki(null,a),a=t.child,_=e.child.memoizedState,_===null?_=zu(n):(r=_.cachePool,r!==null?(j=ut._currentValue,r=r.parent!==j?{parent:j,pool:j}:r):r=Yd(),_={baseLanes:_.baseLanes|n,cachePool:r}),a.memoizedState=_,a.childLanes=Lu(e,f,n),t.memoizedState=Du,ki(e.child,a)):(Hl(t),n=e.child,e=n.sibling,n=al(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=n,t.memoizedState=null,n)}function Bu(e,t){return t=hr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function hr(e,t){return e=nn(22,e,null,t),e.lanes=0,e}function Uu(e,t,n){return Ca(t,e.child,null,n),e=Bu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ih(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Po(e.return,t,n)}function ku(e,t,n,a,r,u){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r,treeForkCount:u}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=n,f.tailMode=r,f.treeForkCount=u)}function ch(e,t,n){var a=t.pendingProps,r=a.revealOrder,u=a.tail;a=a.children;var f=st.current,_=(f&2)!==0;if(_?(f=f&1|2,t.flags|=128):f&=1,I(st,f),Ct(e,t,a,n),a=Oe?wi:0,!_&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ih(e,n,t);else if(e.tag===19)ih(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&tr(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),ku(t,!1,r,n,u,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&tr(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}ku(t,!0,n,null,u,a);break;case"together":ku(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function ul(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(vs(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,n=al(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=al(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Xc(e)))}function qv(e,t,n){switch(t.tag){case 3:ot(t,t.stateNode.containerInfo),Ll(t,ut,e.memoizedState.cache),xa();break;case 27:case 5:qt(t);break;case 4:ot(t,t.stateNode.containerInfo);break;case 10:Ll(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,uu(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Hl(t),t.flags|=128,null):(n&t.child.childLanes)!==0?sh(e,t,n):(Hl(t),e=ul(e,t,n),e!==null?e.sibling:null);Hl(t);break;case 19:var r=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(vs(e,t,n,!1),a=(n&t.childLanes)!==0),r){if(a)return ch(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),I(st,st.current),a)break;return null;case 22:return t.lanes=0,Jf(e,t,n,t.pendingProps);case 24:Ll(t,ut,e.memoizedState.cache)}return ul(e,t,n)}function rh(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ft=!0;else{if(!Hu(e,n)&&(t.flags&128)===0)return ft=!1,qv(e,t,n);ft=(e.flags&131072)!==0}else ft=!1,Oe&&(t.flags&1048576)!==0&&Hd(t,wi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Na(t.elementType),t.type=e,typeof e=="function")Fo(e)?(a=Ea(e,a),t.tag=1,t=lh(null,t,e,a,n)):(t.tag=0,t=Mu(null,t,e,a,n));else{if(e!=null){var r=e.$$typeof;if(r===V){t.tag=11,t=If(null,t,e,a,n);break e}else if(r===X){t.tag=14,t=Wf(null,t,e,a,n);break e}}throw t=$e(e)||e,Error(o(306,t,""))}}return t;case 0:return Mu(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,r=Ea(a,t.pendingProps),lh(e,t,a,r,n);case 3:e:{if(ot(t,t.stateNode.containerInfo),e===null)throw Error(o(387));a=t.pendingProps;var u=t.memoizedState;r=u.element,su(e,t),Di(t,a,null,n);var f=t.memoizedState;if(a=f.cache,Ll(t,ut,a),a!==u.cache&&Jo(t,[ut],n,!0),Mi(),a=f.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=ah(e,t,a,n);break e}else if(a!==r){r=xn(Error(o(424)),t),Ci(r),t=ah(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ie=wn(e.firstChild),Nt=t,Oe=!0,Dl=null,Sn=!0,n=Pd(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(xa(),a===r){t=ul(e,t,n);break e}Ct(e,t,a,n)}t=t.child}return t;case 26:return fr(e,t),e===null?(n=y1(t.type,null,t.pendingProps,null))?t.memoizedState=n:Oe||(n=t.type,e=t.pendingProps,a=Rr(_e.current).createElement(n),a[St]=t,a[$t]=e,Tt(a,n,e),gt(a),t.stateNode=a):t.memoizedState=y1(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return qt(t),e===null&&Oe&&(a=t.stateNode=v1(t.type,t.pendingProps,_e.current),Nt=t,Sn=!0,r=Ie,Zl(t.type)?(_0=r,Ie=wn(a.firstChild)):Ie=r),Ct(e,t,t.pendingProps.children,n),fr(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Oe&&((r=a=Ie)&&(a=v4(a,t.type,t.pendingProps,Sn),a!==null?(t.stateNode=a,Nt=t,Ie=wn(a.firstChild),Sn=!1,r=!0):r=!1),r||zl(t)),qt(t),r=t.type,u=t.pendingProps,f=e!==null?e.memoizedProps:null,a=u.children,h0(r,u)?a=null:f!==null&&h0(r,f)&&(t.flags|=32),t.memoizedState!==null&&(r=fu(e,t,Ov,null,null,n),Ji._currentValue=r),fr(e,t),Ct(e,t,a,n),t.child;case 6:return e===null&&Oe&&((e=n=Ie)&&(n=g4(n,t.pendingProps,Sn),n!==null?(t.stateNode=n,Nt=t,Ie=null,e=!0):e=!1),e||zl(t)),null;case 13:return sh(e,t,n);case 4:return ot(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ca(t,null,a,n):Ct(e,t,a,n),t.child;case 11:return If(e,t,t.type,t.pendingProps,n);case 7:return Ct(e,t,t.pendingProps,n),t.child;case 8:return Ct(e,t,t.pendingProps.children,n),t.child;case 12:return Ct(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,Ll(t,t.type,a.value),Ct(e,t,a.children,n),t.child;case 9:return r=t.type._context,a=t.pendingProps.children,ja(t),r=wt(r),a=a(r),t.flags|=1,Ct(e,t,a,n),t.child;case 14:return Wf(e,t,t.type,t.pendingProps,n);case 15:return Pf(e,t,t.type,t.pendingProps,n);case 19:return ch(e,t,n);case 31:return Hv(e,t,n);case 22:return Jf(e,t,n,t.pendingProps);case 24:return ja(t),a=wt(ut),e===null?(r=nu(),r===null&&(r=Ze,u=eu(),r.pooledCache=u,u.refCount++,u!==null&&(r.pooledCacheLanes|=n),r=u),t.memoizedState={parent:a,cache:r},au(t),Ll(t,ut,r)):((e.lanes&n)!==0&&(su(e,t),Di(t,null,null,n),Mi()),r=e.memoizedState,u=t.memoizedState,r.parent!==a?(r={parent:a,cache:a},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Ll(t,ut,a)):(a=u.cache,Ll(t,ut,a),a!==r.cache&&Jo(t,[ut],n,!0))),Ct(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function dl(e){e.flags|=4}function qu(e,t,n,a,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(Lh())e.flags|=8192;else throw wa=Wc,lu}else e.flags&=-16777217}function oh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!N1(t))if(Lh())e.flags|=8192;else throw wa=Wc,lu}function mr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?$2():536870912,e.lanes|=t,Es|=t)}function Hi(e,t){if(!Oe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function We(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags&65011712,a|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function $v(e,t,n){var a=t.pendingProps;switch(Zo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return We(t),null;case 1:return We(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),cl(ut),ye(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ps(t)?dl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Io())),We(t),null;case 26:var r=t.type,u=t.memoizedState;return e===null?(dl(t),u!==null?(We(t),oh(t,u)):(We(t),qu(t,r,null,a,n))):u?u!==e.memoizedState?(dl(t),We(t),oh(t,u)):(We(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&dl(t),We(t),qu(t,r,e,a,n)),null;case 27:if(Hn(t),n=_e.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&dl(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return We(t),null}e=J.current,ps(t)?$d(t):(e=v1(r,a,n),t.stateNode=e,dl(t))}return We(t),null;case 5:if(Hn(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&dl(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return We(t),null}if(u=J.current,ps(t))$d(t);else{var f=Rr(_e.current);switch(u){case 1:u=f.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:u=f.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":u=f.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":u=f.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":u=f.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?f.createElement(r,{is:a.is}):f.createElement(r)}}u[St]=t,u[$t]=a;e:for(f=t.child;f!==null;){if(f.tag===5||f.tag===6)u.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}t.stateNode=u;e:switch(Tt(u,r,a),r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&dl(t)}}return We(t),qu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&dl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(e=_e.current,ps(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,r=Nt,r!==null)switch(r.tag){case 27:case 5:a=r.memoizedProps}e[St]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||s1(e.nodeValue,n)),e||zl(t,!0)}else e=Rr(e).createTextNode(a),e[St]=t,t.stateNode=e}return We(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=ps(t),n!==null){if(e===null){if(!a)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[St]=t}else xa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;We(t),e=!1}else n=Io(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(an(t),t):(an(t),null);if((t.flags&128)!==0)throw Error(o(558))}return We(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=ps(t),a!==null&&a.dehydrated!==null){if(e===null){if(!r)throw Error(o(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));r[St]=t}else xa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;We(t),r=!1}else r=Io(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(an(t),t):(an(t),null)}return an(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,r=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(r=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==r&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),mr(t,t.updateQueue),We(t),null);case 4:return ye(),e===null&&r0(t.stateNode.containerInfo),We(t),null;case 10:return cl(t.type),We(t),null;case 19:if(H(st),a=t.memoizedState,a===null)return We(t),null;if(r=(t.flags&128)!==0,u=a.rendering,u===null)if(r)Hi(a,!1);else{if(lt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=tr(e),u!==null){for(t.flags|=128,Hi(a,!1),e=u.updateQueue,t.updateQueue=e,mr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Bd(n,e),n=n.sibling;return I(st,st.current&1|2),Oe&&sl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Pt()>yr&&(t.flags|=128,r=!0,Hi(a,!1),t.lanes=4194304)}else{if(!r)if(e=tr(u),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,mr(t,e),Hi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!Oe)return We(t),null}else 2*Pt()-a.renderingStartTime>yr&&n!==536870912&&(t.flags|=128,r=!0,Hi(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(e=a.last,e!==null?e.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Pt(),e.sibling=null,n=st.current,I(st,r?n&1|2:n&1),Oe&&sl(t,a.treeForkCount),e):(We(t),null);case 22:case 23:return an(t),ou(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(We(t),t.subtreeFlags&6&&(t.flags|=8192)):We(t),n=t.updateQueue,n!==null&&mr(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&H(Sa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),cl(ut),We(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Gv(e,t){switch(Zo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cl(ut),ye(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Hn(t),null;case 31:if(t.memoizedState!==null){if(an(t),t.alternate===null)throw Error(o(340));xa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(an(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));xa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(st),null;case 4:return ye(),null;case 10:return cl(t.type),null;case 22:case 23:return an(t),ou(),e!==null&&H(Sa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return cl(ut),null;case 25:return null;default:return null}}function uh(e,t){switch(Zo(t),t.tag){case 3:cl(ut),ye();break;case 26:case 27:case 5:Hn(t);break;case 4:ye();break;case 31:t.memoizedState!==null&&an(t);break;case 13:an(t);break;case 19:H(st);break;case 10:cl(t.type);break;case 22:case 23:an(t),ou(),e!==null&&H(Sa);break;case 24:cl(ut)}}function qi(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var r=a.next;n=r;do{if((n.tag&e)===e){a=void 0;var u=n.create,f=n.inst;a=u(),f.destroy=a}n=n.next}while(n!==r)}}catch(_){Ve(t,t.return,_)}}function $l(e,t,n){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var u=r.next;a=u;do{if((a.tag&e)===e){var f=a.inst,_=f.destroy;if(_!==void 0){f.destroy=void 0,r=t;var j=n,D=_;try{D()}catch(k){Ve(r,j,k)}}}a=a.next}while(a!==u)}}catch(k){Ve(t,t.return,k)}}function dh(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{ef(t,n)}catch(a){Ve(e,e.return,a)}}}function fh(e,t,n){n.props=Ea(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Ve(e,t,a)}}function $i(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(r){Ve(e,t,r)}}function Vn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(r){Ve(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function hh(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(r){Ve(e,e.return,r)}}function $u(e,t,n){try{var a=e.stateNode;u4(a,e.type,n,t),a[$t]=t}catch(r){Ve(e,e.return,r)}}function mh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Zl(e.type)||e.tag===4}function Gu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||mh(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&&Zl(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 Vu(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=nl));else if(a!==4&&(a===27&&Zl(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Vu(e,t,n),e=e.sibling;e!==null;)Vu(e,t,n),e=e.sibling}function pr(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Zl(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(pr(e,t,n),e=e.sibling;e!==null;)pr(e,t,n),e=e.sibling}function ph(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Tt(t,a,n),t[St]=e,t[$t]=n}catch(u){Ve(e,e.return,u)}}var fl=!1,ht=!1,Fu=!1,vh=typeof WeakSet=="function"?WeakSet:Set,_t=null;function Vv(e,t){if(e=e.containerInfo,d0=Br,e=Td(e),Uo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var r=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var f=0,_=-1,j=-1,D=0,k=0,G=e,L=null;t:for(;;){for(var B;G!==n||r!==0&&G.nodeType!==3||(_=f+r),G!==u||a!==0&&G.nodeType!==3||(j=f+a),G.nodeType===3&&(f+=G.nodeValue.length),(B=G.firstChild)!==null;)L=G,G=B;for(;;){if(G===e)break t;if(L===n&&++D===r&&(_=f),L===u&&++k===a&&(j=f),(B=G.nextSibling)!==null)break;G=L,L=G.parentNode}G=B}n=_===-1||j===-1?null:{start:_,end:j}}else n=null}n=n||{start:0,end:0}}else n=null;for(f0={focusedElem:e,selectionRange:n},Br=!1,_t=t;_t!==null;)if(t=_t,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_t=e;else for(;_t!==null;){switch(t=_t,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(n=0;n<e.length;n++)r=e[n],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,n=t,r=u.memoizedProps,u=u.memoizedState,a=n.stateNode;try{var ee=Ea(n.type,r);e=a.getSnapshotBeforeUpdate(ee,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(ue){Ve(n,n.return,ue)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)p0(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":p0(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,_t=e;break}_t=t.return}}function gh(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:ml(e,n),a&4&&qi(5,n);break;case 1:if(ml(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(f){Ve(n,n.return,f)}else{var r=Ea(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Ve(n,n.return,f)}}a&64&&dh(n),a&512&&$i(n,n.return);break;case 3:if(ml(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{ef(e,t)}catch(f){Ve(n,n.return,f)}}break;case 27:t===null&&a&4&&ph(n);case 26:case 5:ml(e,n),t===null&&a&4&&hh(n),a&512&&$i(n,n.return);break;case 12:ml(e,n);break;case 31:ml(e,n),a&4&&xh(e,n);break;case 13:ml(e,n),a&4&&bh(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Pv.bind(null,n),_4(e,n))));break;case 22:if(a=n.memoizedState!==null||fl,!a){t=t!==null&&t.memoizedState!==null||ht,r=fl;var u=ht;fl=a,(ht=t)&&!u?pl(e,n,(n.subtreeFlags&8772)!==0):ml(e,n),fl=r,ht=u}break;case 30:break;default:ml(e,n)}}function _h(e){var t=e.alternate;t!==null&&(e.alternate=null,_h(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&xo(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 Je=null,Vt=!1;function hl(e,t,n){for(n=n.child;n!==null;)yh(e,t,n),n=n.sibling}function yh(e,t,n){if(Jt&&typeof Jt.onCommitFiberUnmount=="function")try{Jt.onCommitFiberUnmount(di,n)}catch{}switch(n.tag){case 26:ht||Vn(n,t),hl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ht||Vn(n,t);var a=Je,r=Vt;Zl(n.type)&&(Je=n.stateNode,Vt=!1),hl(e,t,n),Ii(n.stateNode),Je=a,Vt=r;break;case 5:ht||Vn(n,t);case 6:if(a=Je,r=Vt,Je=null,hl(e,t,n),Je=a,Vt=r,Je!==null)if(Vt)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(n.stateNode)}catch(u){Ve(n,t,u)}else try{Je.removeChild(n.stateNode)}catch(u){Ve(n,t,u)}break;case 18:Je!==null&&(Vt?(e=Je,d1(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Bs(e)):d1(Je,n.stateNode));break;case 4:a=Je,r=Vt,Je=n.stateNode.containerInfo,Vt=!0,hl(e,t,n),Je=a,Vt=r;break;case 0:case 11:case 14:case 15:$l(2,n,t),ht||$l(4,n,t),hl(e,t,n);break;case 1:ht||(Vn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&fh(n,t,a)),hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:ht=(a=ht)||n.memoizedState!==null,hl(e,t,n),ht=a;break;default:hl(e,t,n)}}function xh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Bs(e)}catch(n){Ve(t,t.return,n)}}}function bh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Bs(e)}catch(n){Ve(t,t.return,n)}}function Fv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new vh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new vh),t;default:throw Error(o(435,e.tag))}}function vr(e,t){var n=Fv(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var r=Jv.bind(null,e,a);a.then(r,r)}})}function Ft(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var r=n[a],u=e,f=t,_=f;e:for(;_!==null;){switch(_.tag){case 27:if(Zl(_.type)){Je=_.stateNode,Vt=!1;break e}break;case 5:Je=_.stateNode,Vt=!1;break e;case 3:case 4:Je=_.stateNode.containerInfo,Vt=!0;break e}_=_.return}if(Je===null)throw Error(o(160));yh(u,f,r),Je=null,Vt=!1,u=r.alternate,u!==null&&(u.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)jh(t,e),t=t.sibling}var zn=null;function jh(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ft(t,e),Qt(e),a&4&&($l(3,e,e.return),qi(3,e),$l(5,e,e.return));break;case 1:Ft(t,e),Qt(e),a&512&&(ht||n===null||Vn(n,n.return)),a&64&&fl&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var r=zn;if(Ft(t,e),Qt(e),a&512&&(ht||n===null||Vn(n,n.return)),a&4){var u=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,r=r.ownerDocument||r;t:switch(a){case"title":u=r.getElementsByTagName("title")[0],(!u||u[mi]||u[St]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=r.createElement(a),r.head.insertBefore(u,r.querySelector("head > title"))),Tt(u,a,n),u[St]=e,gt(u),a=u;break e;case"link":var f=j1("link","href",r).get(a+(n.href||""));if(f){for(var _=0;_<f.length;_++)if(u=f[_],u.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&u.getAttribute("rel")===(n.rel==null?null:n.rel)&&u.getAttribute("title")===(n.title==null?null:n.title)&&u.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){f.splice(_,1);break t}}u=r.createElement(a),Tt(u,a,n),r.head.appendChild(u);break;case"meta":if(f=j1("meta","content",r).get(a+(n.content||""))){for(_=0;_<f.length;_++)if(u=f[_],u.getAttribute("content")===(n.content==null?null:""+n.content)&&u.getAttribute("name")===(n.name==null?null:n.name)&&u.getAttribute("property")===(n.property==null?null:n.property)&&u.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&u.getAttribute("charset")===(n.charSet==null?null:n.charSet)){f.splice(_,1);break t}}u=r.createElement(a),Tt(u,a,n),r.head.appendChild(u);break;default:throw Error(o(468,a))}u[St]=e,gt(u),a=u}e.stateNode=a}else S1(r,e.type,e.stateNode);else e.stateNode=b1(r,a,e.memoizedProps);else u!==a?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,a===null?S1(r,e.type,e.stateNode):b1(r,a,e.memoizedProps)):a===null&&e.stateNode!==null&&$u(e,e.memoizedProps,n.memoizedProps)}break;case 27:Ft(t,e),Qt(e),a&512&&(ht||n===null||Vn(n,n.return)),n!==null&&a&4&&$u(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ft(t,e),Qt(e),a&512&&(ht||n===null||Vn(n,n.return)),e.flags&32){r=e.stateNode;try{ss(r,"")}catch(ee){Ve(e,e.return,ee)}}a&4&&e.stateNode!=null&&(r=e.memoizedProps,$u(e,r,n!==null?n.memoizedProps:r)),a&1024&&(Fu=!0);break;case 6:if(Ft(t,e),Qt(e),a&4){if(e.stateNode===null)throw Error(o(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(ee){Ve(e,e.return,ee)}}break;case 3:if(Mr=null,r=zn,zn=Ar(t.containerInfo),Ft(t,e),zn=r,Qt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Bs(t.containerInfo)}catch(ee){Ve(e,e.return,ee)}Fu&&(Fu=!1,Sh(e));break;case 4:a=zn,zn=Ar(e.stateNode.containerInfo),Ft(t,e),Qt(e),zn=a;break;case 12:Ft(t,e),Qt(e);break;case 31:Ft(t,e),Qt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,vr(e,a)));break;case 13:Ft(t,e),Qt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(_r=Pt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,vr(e,a)));break;case 22:r=e.memoizedState!==null;var j=n!==null&&n.memoizedState!==null,D=fl,k=ht;if(fl=D||r,ht=k||j,Ft(t,e),ht=k,fl=D,Qt(e),a&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(n===null||j||fl||ht||Ra(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){j=n=t;try{if(u=j.stateNode,r)f=u.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{_=j.stateNode;var G=j.memoizedProps.style,L=G!=null&&G.hasOwnProperty("display")?G.display:null;_.style.display=L==null||typeof L=="boolean"?"":(""+L).trim()}}catch(ee){Ve(j,j.return,ee)}}}else if(t.tag===6){if(n===null){j=t;try{j.stateNode.nodeValue=r?"":j.memoizedProps}catch(ee){Ve(j,j.return,ee)}}}else if(t.tag===18){if(n===null){j=t;try{var B=j.stateNode;r?f1(B,!0):f1(j.stateNode,!1)}catch(ee){Ve(j,j.return,ee)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,vr(e,n))));break;case 19:Ft(t,e),Qt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,vr(e,a)));break;case 30:break;case 21:break;default:Ft(t,e),Qt(e)}}function Qt(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(mh(a)){n=a;break}a=a.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var r=n.stateNode,u=Gu(e);pr(e,u,r);break;case 5:var f=n.stateNode;n.flags&32&&(ss(f,""),n.flags&=-33);var _=Gu(e);pr(e,_,f);break;case 3:case 4:var j=n.stateNode.containerInfo,D=Gu(e);Vu(e,D,j);break;default:throw Error(o(161))}}catch(k){Ve(e,e.return,k)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Sh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Sh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ml(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)gh(e,t.alternate,t),t=t.sibling}function Ra(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:$l(4,t,t.return),Ra(t);break;case 1:Vn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&fh(t,t.return,n),Ra(t);break;case 27:Ii(t.stateNode);case 26:case 5:Vn(t,t.return),Ra(t);break;case 22:t.memoizedState===null&&Ra(t);break;case 30:Ra(t);break;default:Ra(t)}e=e.sibling}}function pl(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,r=e,u=t,f=u.flags;switch(u.tag){case 0:case 11:case 15:pl(r,u,n),qi(4,u);break;case 1:if(pl(r,u,n),a=u,r=a.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(D){Ve(a,a.return,D)}if(a=u,r=a.updateQueue,r!==null){var _=a.stateNode;try{var j=r.shared.hiddenCallbacks;if(j!==null)for(r.shared.hiddenCallbacks=null,r=0;r<j.length;r++)Jd(j[r],_)}catch(D){Ve(a,a.return,D)}}n&&f&64&&dh(u),$i(u,u.return);break;case 27:ph(u);case 26:case 5:pl(r,u,n),n&&a===null&&f&4&&hh(u),$i(u,u.return);break;case 12:pl(r,u,n);break;case 31:pl(r,u,n),n&&f&4&&xh(r,u);break;case 13:pl(r,u,n),n&&f&4&&bh(r,u);break;case 22:u.memoizedState===null&&pl(r,u,n),$i(u,u.return);break;case 30:break;default:pl(r,u,n)}t=t.sibling}}function Qu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Ti(n))}function Yu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ti(e))}function Ln(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Nh(e,t,n,a),t=t.sibling}function Nh(e,t,n,a){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Ln(e,t,n,a),r&2048&&qi(9,t);break;case 1:Ln(e,t,n,a);break;case 3:Ln(e,t,n,a),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ti(e)));break;case 12:if(r&2048){Ln(e,t,n,a),e=t.stateNode;try{var u=t.memoizedProps,f=u.id,_=u.onPostCommit;typeof _=="function"&&_(f,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(j){Ve(t,t.return,j)}}else Ln(e,t,n,a);break;case 31:Ln(e,t,n,a);break;case 13:Ln(e,t,n,a);break;case 23:break;case 22:u=t.stateNode,f=t.alternate,t.memoizedState!==null?u._visibility&2?Ln(e,t,n,a):Gi(e,t):u._visibility&2?Ln(e,t,n,a):(u._visibility|=2,ws(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),r&2048&&Qu(f,t);break;case 24:Ln(e,t,n,a),r&2048&&Yu(t.alternate,t);break;default:Ln(e,t,n,a)}}function ws(e,t,n,a,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,f=t,_=n,j=a,D=f.flags;switch(f.tag){case 0:case 11:case 15:ws(u,f,_,j,r),qi(8,f);break;case 23:break;case 22:var k=f.stateNode;f.memoizedState!==null?k._visibility&2?ws(u,f,_,j,r):Gi(u,f):(k._visibility|=2,ws(u,f,_,j,r)),r&&D&2048&&Qu(f.alternate,f);break;case 24:ws(u,f,_,j,r),r&&D&2048&&Yu(f.alternate,f);break;default:ws(u,f,_,j,r)}t=t.sibling}}function Gi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,r=a.flags;switch(a.tag){case 22:Gi(n,a),r&2048&&Qu(a.alternate,a);break;case 24:Gi(n,a),r&2048&&Yu(a.alternate,a);break;default:Gi(n,a)}t=t.sibling}}var Vi=8192;function Cs(e,t,n){if(e.subtreeFlags&Vi)for(e=e.child;e!==null;)wh(e,t,n),e=e.sibling}function wh(e,t,n){switch(e.tag){case 26:Cs(e,t,n),e.flags&Vi&&e.memoizedState!==null&&A4(n,zn,e.memoizedState,e.memoizedProps);break;case 5:Cs(e,t,n);break;case 3:case 4:var a=zn;zn=Ar(e.stateNode.containerInfo),Cs(e,t,n),zn=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Vi,Vi=16777216,Cs(e,t,n),Vi=a):Cs(e,t,n));break;default:Cs(e,t,n)}}function Ch(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 Fi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];_t=a,Eh(a,e)}Ch(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Th(e),e=e.sibling}function Th(e){switch(e.tag){case 0:case 11:case 15:Fi(e),e.flags&2048&&$l(9,e,e.return);break;case 3:Fi(e);break;case 12:Fi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,gr(e)):Fi(e);break;default:Fi(e)}}function gr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];_t=a,Eh(a,e)}Ch(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:$l(8,t,t.return),gr(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,gr(t));break;default:gr(t)}e=e.sibling}}function Eh(e,t){for(;_t!==null;){var n=_t;switch(n.tag){case 0:case 11:case 15:$l(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Ti(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,_t=a;else e:for(n=e;_t!==null;){a=_t;var r=a.sibling,u=a.return;if(_h(a),a===n){_t=null;break e}if(r!==null){r.return=u,_t=r;break e}_t=u}}}var Qv={getCacheForType:function(e){var t=wt(ut),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return wt(ut).controller.signal}},Yv=typeof WeakMap=="function"?WeakMap:Map,He=0,Ze=null,Ce=null,Ee=0,Ge=0,sn=null,Gl=!1,Ts=!1,Xu=!1,vl=0,lt=0,Vl=0,Aa=0,Zu=0,cn=0,Es=0,Qi=null,Yt=null,Ku=!1,_r=0,Rh=0,yr=1/0,xr=null,Fl=null,mt=0,Ql=null,Rs=null,gl=0,Iu=0,Wu=null,Ah=null,Yi=0,Pu=null;function rn(){return(He&2)!==0&&Ee!==0?Ee&-Ee:U.T!==null?a0():Q2()}function Oh(){if(cn===0)if((Ee&536870912)===0||Oe){var e=Ec;Ec<<=1,(Ec&3932160)===0&&(Ec=262144),cn=e}else cn=536870912;return e=ln.current,e!==null&&(e.flags|=32),cn}function Xt(e,t,n){(e===Ze&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)&&(As(e,0),Yl(e,Ee,cn,!1)),hi(e,n),((He&2)===0||e!==Ze)&&(e===Ze&&((He&2)===0&&(Aa|=n),lt===4&&Yl(e,Ee,cn,!1)),Fn(e))}function Mh(e,t,n){if((He&6)!==0)throw Error(o(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||fi(e,t),r=a?Kv(e,t):e0(e,t,!0),u=a;do{if(r===0){Ts&&!a&&Yl(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!Xv(n)){r=e0(e,t,!1),u=!1;continue}if(r===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 _=e;r=Qi;var j=_.current.memoizedState.isDehydrated;if(j&&(As(_,f).flags|=256),f=e0(_,f,!1),f!==2){if(Xu&&!j){_.errorRecoveryDisabledLanes|=u,Aa|=u,r=4;break e}u=Yt,Yt=r,u!==null&&(Yt===null?Yt=u:Yt.push.apply(Yt,u))}r=f}if(u=!1,r!==2)continue}}if(r===1){As(e,0),Yl(e,t,0,!0);break}e:{switch(a=e,u=r,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Yl(a,t,cn,!Gl);break e;case 2:Yt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(r=_r+300-Pt(),10<r)){if(Yl(a,t,cn,!Gl),Ac(a,0,!0)!==0)break e;gl=t,a.timeoutHandle=o1(Dh.bind(null,a,n,Yt,xr,Ku,t,cn,Aa,Es,Gl,u,"Throttled",-0,0),r);break e}Dh(a,n,Yt,xr,Ku,t,cn,Aa,Es,Gl,u,null,-0,0)}}break}while(!0);Fn(e)}function Dh(e,t,n,a,r,u,f,_,j,D,k,G,L,B){if(e.timeoutHandle=-1,G=t.subtreeFlags,G&8192||(G&16785408)===16785408){G={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:nl},wh(t,u,G);var ee=(u&62914560)===u?_r-Pt():(u&4194048)===u?Rh-Pt():0;if(ee=O4(G,ee),ee!==null){gl=u,e.cancelPendingCommit=ee($h.bind(null,e,t,u,n,a,r,f,_,j,k,G,null,L,B)),Yl(e,u,f,!D);return}}$h(e,t,u,n,a,r,f,_,j)}function Xv(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var r=n[a],u=r.getSnapshot;r=r.value;try{if(!tn(u(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Yl(e,t,n,a){t&=~Zu,t&=~Aa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var r=t;0<r;){var u=31-en(r),f=1<<u;a[u]=-1,r&=~f}n!==0&&G2(e,n,t)}function br(){return(He&6)===0?(Xi(0),!1):!0}function Ju(){if(Ce!==null){if(Ge===0)var e=Ce.return;else e=Ce,il=ba=null,pu(e),xs=null,Ri=0,e=Ce;for(;e!==null;)uh(e.alternate,e),e=e.return;Ce=null}}function As(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,h4(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),gl=0,Ju(),Ze=e,Ce=n=al(e.current,null),Ee=t,Ge=0,sn=null,Gl=!1,Ts=fi(e,t),Xu=!1,Es=cn=Zu=Aa=Vl=lt=0,Yt=Qi=null,Ku=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var r=31-en(a),u=1<<r;t|=e[r],a&=~u}return vl=t,Gc(),n}function zh(e,t){xe=null,U.H=Ui,t===ys||t===Ic?(t=Kd(),Ge=3):t===lu?(t=Kd(),Ge=4):Ge=t===Ou?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,sn=t,Ce===null&&(lt=1,ur(e,xn(t,e.current)))}function Lh(){var e=ln.current;return e===null?!0:(Ee&4194048)===Ee?Nn===null:(Ee&62914560)===Ee||(Ee&536870912)!==0?e===Nn:!1}function Bh(){var e=U.H;return U.H=Ui,e===null?Ui:e}function Uh(){var e=U.A;return U.A=Qv,e}function jr(){lt=4,Gl||(Ee&4194048)!==Ee&&ln.current!==null||(Ts=!0),(Vl&134217727)===0&&(Aa&134217727)===0||Ze===null||Yl(Ze,Ee,cn,!1)}function e0(e,t,n){var a=He;He|=2;var r=Bh(),u=Uh();(Ze!==e||Ee!==t)&&(xr=null,As(e,t)),t=!1;var f=lt;e:do try{if(Ge!==0&&Ce!==null){var _=Ce,j=sn;switch(Ge){case 8:Ju(),f=6;break e;case 3:case 2:case 9:case 6:ln.current===null&&(t=!0);var D=Ge;if(Ge=0,sn=null,Os(e,_,j,D),n&&Ts){f=0;break e}break;default:D=Ge,Ge=0,sn=null,Os(e,_,j,D)}}Zv(),f=lt;break}catch(k){zh(e,k)}while(!0);return t&&e.shellSuspendCounter++,il=ba=null,He=a,U.H=r,U.A=u,Ce===null&&(Ze=null,Ee=0,Gc()),f}function Zv(){for(;Ce!==null;)kh(Ce)}function Kv(e,t){var n=He;He|=2;var a=Bh(),r=Uh();Ze!==e||Ee!==t?(xr=null,yr=Pt()+500,As(e,t)):Ts=fi(e,t);e:do try{if(Ge!==0&&Ce!==null){t=Ce;var u=sn;t:switch(Ge){case 1:Ge=0,sn=null,Os(e,t,u,1);break;case 2:case 9:if(Xd(u)){Ge=0,sn=null,Hh(t);break}t=function(){Ge!==2&&Ge!==9||Ze!==e||(Ge=7),Fn(e)},u.then(t,t);break e;case 3:Ge=7;break e;case 4:Ge=5;break e;case 7:Xd(u)?(Ge=0,sn=null,Hh(t)):(Ge=0,sn=null,Os(e,t,u,7));break;case 5:var f=null;switch(Ce.tag){case 26:f=Ce.memoizedState;case 5:case 27:var _=Ce;if(f?N1(f):_.stateNode.complete){Ge=0,sn=null;var j=_.sibling;if(j!==null)Ce=j;else{var D=_.return;D!==null?(Ce=D,Sr(D)):Ce=null}break t}}Ge=0,sn=null,Os(e,t,u,5);break;case 6:Ge=0,sn=null,Os(e,t,u,6);break;case 8:Ju(),lt=6;break e;default:throw Error(o(462))}}Iv();break}catch(k){zh(e,k)}while(!0);return il=ba=null,U.H=a,U.A=r,He=n,Ce!==null?0:(Ze=null,Ee=0,Gc(),lt)}function Iv(){for(;Ce!==null&&!y3();)kh(Ce)}function kh(e){var t=rh(e.alternate,e,vl);e.memoizedProps=e.pendingProps,t===null?Sr(e):Ce=t}function Hh(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=nh(n,t,t.pendingProps,t.type,void 0,Ee);break;case 11:t=nh(n,t,t.pendingProps,t.type.render,t.ref,Ee);break;case 5:pu(t);default:uh(n,t),t=Ce=Bd(t,vl),t=rh(n,t,vl)}e.memoizedProps=e.pendingProps,t===null?Sr(e):Ce=t}function Os(e,t,n,a){il=ba=null,pu(t),xs=null,Ri=0;var r=t.return;try{if(kv(e,r,t,n,Ee)){lt=1,ur(e,xn(n,e.current)),Ce=null;return}}catch(u){if(r!==null)throw Ce=r,u;lt=1,ur(e,xn(n,e.current)),Ce=null;return}t.flags&32768?(Oe||a===1?e=!0:Ts||(Ee&536870912)!==0?e=!1:(Gl=e=!0,(a===2||a===9||a===3||a===6)&&(a=ln.current,a!==null&&a.tag===13&&(a.flags|=16384))),qh(t,e)):Sr(t)}function Sr(e){var t=e;do{if((t.flags&32768)!==0){qh(t,Gl);return}e=t.return;var n=$v(t.alternate,t,vl);if(n!==null){Ce=n;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);lt===0&&(lt=5)}function qh(e,t){do{var n=Gv(e.alternate,e);if(n!==null){n.flags&=32767,Ce=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ce=e;return}Ce=e=n}while(e!==null);lt=6,Ce=null}function $h(e,t,n,a,r,u,f,_,j){e.cancelPendingCommit=null;do Nr();while(mt!==0);if((He&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(u=t.lanes|t.childLanes,u|=Go,R3(e,n,u,f,_,j),e===Ze&&(Ce=Ze=null,Ee=0),Rs=t,Ql=e,gl=n,Iu=u,Wu=r,Ah=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,e4(Cc,function(){return Yh(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=U.T,U.T=null,r=Q.p,Q.p=2,f=He,He|=4;try{Vv(e,t,n)}finally{He=f,Q.p=r,U.T=a}}mt=1,Gh(),Vh(),Fh()}}function Gh(){if(mt===1){mt=0;var e=Ql,t=Rs,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=U.T,U.T=null;var a=Q.p;Q.p=2;var r=He;He|=4;try{jh(t,e);var u=f0,f=Td(e.containerInfo),_=u.focusedElem,j=u.selectionRange;if(f!==_&&_&&_.ownerDocument&&Cd(_.ownerDocument.documentElement,_)){if(j!==null&&Uo(_)){var D=j.start,k=j.end;if(k===void 0&&(k=D),"selectionStart"in _)_.selectionStart=D,_.selectionEnd=Math.min(k,_.value.length);else{var G=_.ownerDocument||document,L=G&&G.defaultView||window;if(L.getSelection){var B=L.getSelection(),ee=_.textContent.length,ue=Math.min(j.start,ee),Xe=j.end===void 0?ue:Math.min(j.end,ee);!B.extend&&ue>Xe&&(f=Xe,Xe=ue,ue=f);var E=wd(_,ue),C=wd(_,Xe);if(E&&C&&(B.rangeCount!==1||B.anchorNode!==E.node||B.anchorOffset!==E.offset||B.focusNode!==C.node||B.focusOffset!==C.offset)){var M=G.createRange();M.setStart(E.node,E.offset),B.removeAllRanges(),ue>Xe?(B.addRange(M),B.extend(C.node,C.offset)):(M.setEnd(C.node,C.offset),B.addRange(M))}}}}for(G=[],B=_;B=B.parentNode;)B.nodeType===1&&G.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<G.length;_++){var q=G[_];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}Br=!!d0,f0=d0=null}finally{He=r,Q.p=a,U.T=n}}e.current=t,mt=2}}function Vh(){if(mt===2){mt=0;var e=Ql,t=Rs,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=U.T,U.T=null;var a=Q.p;Q.p=2;var r=He;He|=4;try{gh(e,t.alternate,t)}finally{He=r,Q.p=a,U.T=n}}mt=3}}function Fh(){if(mt===4||mt===3){mt=0,x3();var e=Ql,t=Rs,n=gl,a=Ah;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?mt=5:(mt=0,Rs=Ql=null,Qh(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(Fl=null),_o(n),t=t.stateNode,Jt&&typeof Jt.onCommitFiberRoot=="function")try{Jt.onCommitFiberRoot(di,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=U.T,r=Q.p,Q.p=2,U.T=null;try{for(var u=e.onRecoverableError,f=0;f<a.length;f++){var _=a[f];u(_.value,{componentStack:_.stack})}}finally{U.T=t,Q.p=r}}(gl&3)!==0&&Nr(),Fn(e),r=e.pendingLanes,(n&261930)!==0&&(r&42)!==0?e===Pu?Yi++:(Yi=0,Pu=e):Yi=0,Xi(0)}}function Qh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ti(t)))}function Nr(){return Gh(),Vh(),Fh(),Yh()}function Yh(){if(mt!==5)return!1;var e=Ql,t=Iu;Iu=0;var n=_o(gl),a=U.T,r=Q.p;try{Q.p=32>n?32:n,U.T=null,n=Wu,Wu=null;var u=Ql,f=gl;if(mt=0,Rs=Ql=null,gl=0,(He&6)!==0)throw Error(o(331));var _=He;if(He|=4,Th(u.current),Nh(u,u.current,f,n),He=_,Xi(0,!1),Jt&&typeof Jt.onPostCommitFiberRoot=="function")try{Jt.onPostCommitFiberRoot(di,u)}catch{}return!0}finally{Q.p=r,U.T=a,Qh(e,t)}}function Xh(e,t,n){t=xn(n,t),t=Au(e.stateNode,t,2),e=kl(e,t,2),e!==null&&(hi(e,2),Fn(e))}function Ve(e,t,n){if(e.tag===3)Xh(e,e,n);else for(;t!==null;){if(t.tag===3){Xh(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Fl===null||!Fl.has(a))){e=xn(n,e),n=Zf(2),a=kl(t,n,2),a!==null&&(Kf(n,a,t,e),hi(a,2),Fn(a));break}}t=t.return}}function t0(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new Yv;var r=new Set;a.set(t,r)}else r=a.get(t),r===void 0&&(r=new Set,a.set(t,r));r.has(n)||(Xu=!0,r.add(n),e=Wv.bind(null,e,t,n),t.then(e,e))}function Wv(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ze===e&&(Ee&n)===n&&(lt===4||lt===3&&(Ee&62914560)===Ee&&300>Pt()-_r?(He&2)===0&&As(e,0):Zu|=n,Es===Ee&&(Es=0)),Fn(e)}function Zh(e,t){t===0&&(t=$2()),e=_a(e,t),e!==null&&(hi(e,t),Fn(e))}function Pv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zh(e,n)}function Jv(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(t),Zh(e,n)}function e4(e,t){return mo(e,t)}var wr=null,Ms=null,n0=!1,Cr=!1,l0=!1,Xl=0;function Fn(e){e!==Ms&&e.next===null&&(Ms===null?wr=Ms=e:Ms=Ms.next=e),Cr=!0,n0||(n0=!0,n4())}function Xi(e,t){if(!l0&&Cr){l0=!0;do for(var n=!1,a=wr;a!==null;){if(e!==0){var r=a.pendingLanes;if(r===0)var u=0;else{var f=a.suspendedLanes,_=a.pingedLanes;u=(1<<31-en(42|e)+1)-1,u&=r&~(f&~_),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,Ph(a,u))}else u=Ee,u=Ac(a,a===Ze?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||fi(a,u)||(n=!0,Ph(a,u));a=a.next}while(n);l0=!1}}function t4(){Kh()}function Kh(){Cr=n0=!1;var e=0;Xl!==0&&f4()&&(e=Xl);for(var t=Pt(),n=null,a=wr;a!==null;){var r=a.next,u=Ih(a,t);u===0?(a.next=null,n===null?wr=r:n.next=r,r===null&&(Ms=n)):(n=a,(e!==0||(u&3)!==0)&&(Cr=!0)),a=r}mt!==0&&mt!==5||Xi(e),Xl!==0&&(Xl=0)}function Ih(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var f=31-en(u),_=1<<f,j=r[f];j===-1?((_&n)===0||(_&a)!==0)&&(r[f]=E3(_,t)):j<=t&&(e.expiredLanes|=_),u&=~_}if(t=Ze,n=Ee,n=Ac(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&po(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||fi(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&po(a),_o(n)){case 2:case 8:n=H2;break;case 32:n=Cc;break;case 268435456:n=q2;break;default:n=Cc}return a=Wh.bind(null,e),n=mo(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&po(a),e.callbackPriority=2,e.callbackNode=null,2}function Wh(e,t){if(mt!==0&&mt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Nr()&&e.callbackNode!==n)return null;var a=Ee;return a=Ac(e,e===Ze?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Mh(e,a,t),Ih(e,Pt()),e.callbackNode!=null&&e.callbackNode===n?Wh.bind(null,e):null)}function Ph(e,t){if(Nr())return null;Mh(e,t,!0)}function n4(){m4(function(){(He&6)!==0?mo(k2,t4):Kh()})}function a0(){if(Xl===0){var e=gs;e===0&&(e=Tc,Tc<<=1,(Tc&261888)===0&&(Tc=256)),Xl=e}return Xl}function Jh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:zc(""+e)}function e1(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function l4(e,t,n,a,r){if(t==="submit"&&n&&n.stateNode===r){var u=Jh((r[$t]||null).action),f=a.submitter;f&&(t=(t=f[$t]||null)?Jh(t.formAction):f.getAttribute("formAction"),t!==null&&(u=t,f=null));var _=new kc("action","action",null,a,r);e.push({event:_,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Xl!==0){var j=f?e1(r,f):new FormData(r);Nu(n,{pending:!0,data:j,method:r.method,action:u},null,j)}}else typeof u=="function"&&(_.preventDefault(),j=f?e1(r,f):new FormData(r),Nu(n,{pending:!0,data:j,method:r.method,action:u},u,j))},currentTarget:r}]})}}for(var s0=0;s0<$o.length;s0++){var i0=$o[s0],a4=i0.toLowerCase(),s4=i0[0].toUpperCase()+i0.slice(1);Dn(a4,"on"+s4)}Dn(Ad,"onAnimationEnd"),Dn(Od,"onAnimationIteration"),Dn(Md,"onAnimationStart"),Dn("dblclick","onDoubleClick"),Dn("focusin","onFocus"),Dn("focusout","onBlur"),Dn(bv,"onTransitionRun"),Dn(jv,"onTransitionStart"),Dn(Sv,"onTransitionCancel"),Dn(Dd,"onTransitionEnd"),ls("onMouseEnter",["mouseout","mouseover"]),ls("onMouseLeave",["mouseout","mouseover"]),ls("onPointerEnter",["pointerout","pointerover"]),ls("onPointerLeave",["pointerout","pointerover"]),ma("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ma("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ma("onBeforeInput",["compositionend","keypress","textInput","paste"]),ma("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ma("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zi="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(" "),i4=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zi));function t1(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var f=a.length-1;0<=f;f--){var _=a[f],j=_.instance,D=_.currentTarget;if(_=_.listener,j!==u&&r.isPropagationStopped())break e;u=_,r.currentTarget=D;try{u(r)}catch(k){$c(k)}r.currentTarget=null,u=j}else for(f=0;f<a.length;f++){if(_=a[f],j=_.instance,D=_.currentTarget,_=_.listener,j!==u&&r.isPropagationStopped())break e;u=_,r.currentTarget=D;try{u(r)}catch(k){$c(k)}r.currentTarget=null,u=j}}}}function Te(e,t){var n=t[yo];n===void 0&&(n=t[yo]=new Set);var a=e+"__bubble";n.has(a)||(n1(t,e,2,!1),n.add(a))}function c0(e,t,n){var a=0;t&&(a|=4),n1(n,e,a,t)}var Tr="_reactListening"+Math.random().toString(36).slice(2);function r0(e){if(!e[Tr]){e[Tr]=!0,Z2.forEach(function(n){n!=="selectionchange"&&(i4.has(n)||c0(n,!1,e),c0(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Tr]||(t[Tr]=!0,c0("selectionchange",!1,t))}}function n1(e,t,n,a){switch(O1(t)){case 2:var r=z4;break;case 8:r=L4;break;default:r=S0}n=r.bind(null,t,n,e),r=void 0,!Eo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),a?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function o0(e,t,n,a,r){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var _=a.stateNode.containerInfo;if(_===r)break;if(f===4)for(f=a.return;f!==null;){var j=f.tag;if((j===3||j===4)&&f.stateNode.containerInfo===r)return;f=f.return}for(;_!==null;){if(f=es(_),f===null)return;if(j=f.tag,j===5||j===6||j===26||j===27){a=u=f;continue e}_=_.parentNode}}a=a.return}id(function(){var D=u,k=Co(n),G=[];e:{var L=zd.get(e);if(L!==void 0){var B=kc,ee=e;switch(e){case"keypress":if(Bc(n)===0)break e;case"keydown":case"keyup":B=J3;break;case"focusin":ee="focus",B=Mo;break;case"focusout":ee="blur",B=Mo;break;case"beforeblur":case"afterblur":B=Mo;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=od;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=$3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=nv;break;case Ad:case Od:case Md:B=F3;break;case Dd:B=av;break;case"scroll":case"scrollend":B=H3;break;case"wheel":B=iv;break;case"copy":case"cut":case"paste":B=Y3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=dd;break;case"toggle":case"beforetoggle":B=rv}var ue=(t&4)!==0,Xe=!ue&&(e==="scroll"||e==="scrollend"),E=ue?L!==null?L+"Capture":null:L;ue=[];for(var C=D,M;C!==null;){var q=C;if(M=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||M===null||E===null||(q=vi(C,E),q!=null&&ue.push(Ki(C,q,M))),Xe)break;C=C.return}0<ue.length&&(L=new B(L,ee,null,n,k),G.push({event:L,listeners:ue}))}}if((t&7)===0){e:{if(L=e==="mouseover"||e==="pointerover",B=e==="mouseout"||e==="pointerout",L&&n!==wo&&(ee=n.relatedTarget||n.fromElement)&&(es(ee)||ee[Ja]))break e;if((B||L)&&(L=k.window===k?k:(L=k.ownerDocument)?L.defaultView||L.parentWindow:window,B?(ee=n.relatedTarget||n.toElement,B=D,ee=ee?es(ee):null,ee!==null&&(Xe=h(ee),ue=ee.tag,ee!==Xe||ue!==5&&ue!==27&&ue!==6)&&(ee=null)):(B=null,ee=D),B!==ee)){if(ue=od,q="onMouseLeave",E="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(ue=dd,q="onPointerLeave",E="onPointerEnter",C="pointer"),Xe=B==null?L:pi(B),M=ee==null?L:pi(ee),L=new ue(q,C+"leave",B,n,k),L.target=Xe,L.relatedTarget=M,q=null,es(k)===D&&(ue=new ue(E,C+"enter",ee,n,k),ue.target=M,ue.relatedTarget=Xe,q=ue),Xe=q,B&&ee)t:{for(ue=c4,E=B,C=ee,M=0,q=E;q;q=ue(q))M++;q=0;for(var ce=C;ce;ce=ue(ce))q++;for(;0<M-q;)E=ue(E),M--;for(;0<q-M;)C=ue(C),q--;for(;M--;){if(E===C||C!==null&&E===C.alternate){ue=E;break t}E=ue(E),C=ue(C)}ue=null}else ue=null;B!==null&&l1(G,L,B,ue,!1),ee!==null&&Xe!==null&&l1(G,Xe,ee,ue,!0)}}e:{if(L=D?pi(D):window,B=L.nodeName&&L.nodeName.toLowerCase(),B==="select"||B==="input"&&L.type==="file")var Be=yd;else if(gd(L))if(xd)Be=_v;else{Be=vv;var ae=pv}else B=L.nodeName,!B||B.toLowerCase()!=="input"||L.type!=="checkbox"&&L.type!=="radio"?D&&No(D.elementType)&&(Be=yd):Be=gv;if(Be&&(Be=Be(e,D))){_d(G,Be,n,k);break e}ae&&ae(e,L,D),e==="focusout"&&D&&L.type==="number"&&D.memoizedProps.value!=null&&So(L,"number",L.value)}switch(ae=D?pi(D):window,e){case"focusin":(gd(ae)||ae.contentEditable==="true")&&(os=ae,ko=D,Ni=null);break;case"focusout":Ni=ko=os=null;break;case"mousedown":Ho=!0;break;case"contextmenu":case"mouseup":case"dragend":Ho=!1,Ed(G,n,k);break;case"selectionchange":if(xv)break;case"keydown":case"keyup":Ed(G,n,k)}var be;if(zo)e:{switch(e){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else rs?pd(e,n)&&(Re="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Re="onCompositionStart");Re&&(fd&&n.locale!=="ko"&&(rs||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&rs&&(be=cd()):(Ol=k,Ro="value"in Ol?Ol.value:Ol.textContent,rs=!0)),ae=Er(D,Re),0<ae.length&&(Re=new ud(Re,e,null,n,k),G.push({event:Re,listeners:ae}),be?Re.data=be:(be=vd(n),be!==null&&(Re.data=be)))),(be=uv?dv(e,n):fv(e,n))&&(Re=Er(D,"onBeforeInput"),0<Re.length&&(ae=new ud("onBeforeInput","beforeinput",null,n,k),G.push({event:ae,listeners:Re}),ae.data=be)),l4(G,e,D,n,k)}t1(G,t)})}function Ki(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Er(e,t){for(var n=t+"Capture",a=[];e!==null;){var r=e,u=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||u===null||(r=vi(e,n),r!=null&&a.unshift(Ki(e,r,u)),r=vi(e,t),r!=null&&a.push(Ki(e,r,u))),e.tag===3)return a;e=e.return}return[]}function c4(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function l1(e,t,n,a,r){for(var u=t._reactName,f=[];n!==null&&n!==a;){var _=n,j=_.alternate,D=_.stateNode;if(_=_.tag,j!==null&&j===a)break;_!==5&&_!==26&&_!==27||D===null||(j=D,r?(D=vi(n,u),D!=null&&f.unshift(Ki(n,D,j))):r||(D=vi(n,u),D!=null&&f.push(Ki(n,D,j)))),n=n.return}f.length!==0&&e.push({event:t,listeners:f})}var r4=/\r\n?/g,o4=/\u0000|\uFFFD/g;function a1(e){return(typeof e=="string"?e:""+e).replace(r4,`
`).replace(o4,"")}function s1(e,t){return t=a1(t),a1(e)===t}function Ye(e,t,n,a,r,u){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ss(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ss(e,""+a);break;case"className":Mc(e,"class",a);break;case"tabIndex":Mc(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Mc(e,n,a);break;case"style":ad(e,a,u);break;case"data":if(t!=="object"){Mc(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=zc(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(n==="formAction"?(t!=="input"&&Ye(e,t,"name",r.name,r,null),Ye(e,t,"formEncType",r.formEncType,r,null),Ye(e,t,"formMethod",r.formMethod,r,null),Ye(e,t,"formTarget",r.formTarget,r,null)):(Ye(e,t,"encType",r.encType,r,null),Ye(e,t,"method",r.method,r,null),Ye(e,t,"target",r.target,r,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=zc(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=nl);break;case"onScroll":a!=null&&Te("scroll",e);break;case"onScrollEnd":a!=null&&Te("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(r.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=zc(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":Te("beforetoggle",e),Te("toggle",e),Oc(e,"popover",a);break;case"xlinkActuate":tl(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":tl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":tl(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":tl(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":tl(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":tl(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":tl(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":tl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":tl(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Oc(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=U3.get(n)||n,Oc(e,n,a))}}function u0(e,t,n,a,r,u){switch(n){case"style":ad(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(r.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"children":typeof a=="string"?ss(e,a):(typeof a=="number"||typeof a=="bigint")&&ss(e,""+a);break;case"onScroll":a!=null&&Te("scroll",e);break;case"onScrollEnd":a!=null&&Te("scrollend",e);break;case"onClick":a!=null&&(e.onclick=nl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!K2.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),u=e[$t]||null,u=u!=null?u[n]:null,typeof u=="function"&&e.removeEventListener(t,u,r),typeof a=="function")){typeof u!="function"&&u!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,r);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Oc(e,n,a)}}}function Tt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",e),Te("load",e);var a=!1,r=!1,u;for(u in n)if(n.hasOwnProperty(u)){var f=n[u];if(f!=null)switch(u){case"src":a=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ye(e,t,u,f,n,null)}}r&&Ye(e,t,"srcSet",n.srcSet,n,null),a&&Ye(e,t,"src",n.src,n,null);return;case"input":Te("invalid",e);var _=u=f=r=null,j=null,D=null;for(a in n)if(n.hasOwnProperty(a)){var k=n[a];if(k!=null)switch(a){case"name":r=k;break;case"type":f=k;break;case"checked":j=k;break;case"defaultChecked":D=k;break;case"value":u=k;break;case"defaultValue":_=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(o(137,t));break;default:Ye(e,t,a,k,n,null)}}ed(e,u,_,j,D,f,r,!1);return;case"select":Te("invalid",e),a=f=u=null;for(r in n)if(n.hasOwnProperty(r)&&(_=n[r],_!=null))switch(r){case"value":u=_;break;case"defaultValue":f=_;break;case"multiple":a=_;default:Ye(e,t,r,_,n,null)}t=u,n=f,e.multiple=!!a,t!=null?as(e,!!a,t,!1):n!=null&&as(e,!!a,n,!0);return;case"textarea":Te("invalid",e),u=r=a=null;for(f in n)if(n.hasOwnProperty(f)&&(_=n[f],_!=null))switch(f){case"value":a=_;break;case"defaultValue":r=_;break;case"children":u=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(o(91));break;default:Ye(e,t,f,_,n,null)}nd(e,a,r,u);return;case"option":for(j in n)if(n.hasOwnProperty(j)&&(a=n[j],a!=null))switch(j){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ye(e,t,j,a,n,null)}return;case"dialog":Te("beforetoggle",e),Te("toggle",e),Te("cancel",e),Te("close",e);break;case"iframe":case"object":Te("load",e);break;case"video":case"audio":for(a=0;a<Zi.length;a++)Te(Zi[a],e);break;case"image":Te("error",e),Te("load",e);break;case"details":Te("toggle",e);break;case"embed":case"source":case"link":Te("error",e),Te("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(D in n)if(n.hasOwnProperty(D)&&(a=n[D],a!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ye(e,t,D,a,n,null)}return;default:if(No(t)){for(k in n)n.hasOwnProperty(k)&&(a=n[k],a!==void 0&&u0(e,t,k,a,n,void 0));return}}for(_ in n)n.hasOwnProperty(_)&&(a=n[_],a!=null&&Ye(e,t,_,a,n,null))}function u4(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,u=null,f=null,_=null,j=null,D=null,k=null;for(B in n){var G=n[B];if(n.hasOwnProperty(B)&&G!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":j=G;default:a.hasOwnProperty(B)||Ye(e,t,B,null,a,G)}}for(var L in a){var B=a[L];if(G=n[L],a.hasOwnProperty(L)&&(B!=null||G!=null))switch(L){case"type":u=B;break;case"name":r=B;break;case"checked":D=B;break;case"defaultChecked":k=B;break;case"value":f=B;break;case"defaultValue":_=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(o(137,t));break;default:B!==G&&Ye(e,t,L,B,a,G)}}jo(e,f,_,j,D,k,u,r);return;case"select":B=f=_=L=null;for(u in n)if(j=n[u],n.hasOwnProperty(u)&&j!=null)switch(u){case"value":break;case"multiple":B=j;default:a.hasOwnProperty(u)||Ye(e,t,u,null,a,j)}for(r in a)if(u=a[r],j=n[r],a.hasOwnProperty(r)&&(u!=null||j!=null))switch(r){case"value":L=u;break;case"defaultValue":_=u;break;case"multiple":f=u;default:u!==j&&Ye(e,t,r,u,a,j)}t=_,n=f,a=B,L!=null?as(e,!!n,L,!1):!!a!=!!n&&(t!=null?as(e,!!n,t,!0):as(e,!!n,n?[]:"",!1));return;case"textarea":B=L=null;for(_ in n)if(r=n[_],n.hasOwnProperty(_)&&r!=null&&!a.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Ye(e,t,_,null,a,r)}for(f in a)if(r=a[f],u=n[f],a.hasOwnProperty(f)&&(r!=null||u!=null))switch(f){case"value":L=r;break;case"defaultValue":B=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(o(91));break;default:r!==u&&Ye(e,t,f,r,a,u)}td(e,L,B);return;case"option":for(var ee in n)if(L=n[ee],n.hasOwnProperty(ee)&&L!=null&&!a.hasOwnProperty(ee))switch(ee){case"selected":e.selected=!1;break;default:Ye(e,t,ee,null,a,L)}for(j in a)if(L=a[j],B=n[j],a.hasOwnProperty(j)&&L!==B&&(L!=null||B!=null))switch(j){case"selected":e.selected=L&&typeof L!="function"&&typeof L!="symbol";break;default:Ye(e,t,j,L,a,B)}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 ue in n)L=n[ue],n.hasOwnProperty(ue)&&L!=null&&!a.hasOwnProperty(ue)&&Ye(e,t,ue,null,a,L);for(D in a)if(L=a[D],B=n[D],a.hasOwnProperty(D)&&L!==B&&(L!=null||B!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(o(137,t));break;default:Ye(e,t,D,L,a,B)}return;default:if(No(t)){for(var Xe in n)L=n[Xe],n.hasOwnProperty(Xe)&&L!==void 0&&!a.hasOwnProperty(Xe)&&u0(e,t,Xe,void 0,a,L);for(k in a)L=a[k],B=n[k],!a.hasOwnProperty(k)||L===B||L===void 0&&B===void 0||u0(e,t,k,L,a,B);return}}for(var E in n)L=n[E],n.hasOwnProperty(E)&&L!=null&&!a.hasOwnProperty(E)&&Ye(e,t,E,null,a,L);for(G in a)L=a[G],B=n[G],!a.hasOwnProperty(G)||L===B||L==null&&B==null||Ye(e,t,G,L,a,B)}function i1(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function d4(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var r=n[a],u=r.transferSize,f=r.initiatorType,_=r.duration;if(u&&_&&i1(f)){for(f=0,_=r.responseEnd,a+=1;a<n.length;a++){var j=n[a],D=j.startTime;if(D>_)break;var k=j.transferSize,G=j.initiatorType;k&&i1(G)&&(j=j.responseEnd,f+=k*(j<_?1:(_-D)/(j-D)))}if(--a,t+=8*(u+f)/(r.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 d0=null,f0=null;function Rr(e){return e.nodeType===9?e:e.ownerDocument}function c1(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 r1(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 h0(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 m0=null;function f4(){var e=window.event;return e&&e.type==="popstate"?e===m0?!1:(m0=e,!0):(m0=null,!1)}var o1=typeof setTimeout=="function"?setTimeout:void 0,h4=typeof clearTimeout=="function"?clearTimeout:void 0,u1=typeof Promise=="function"?Promise:void 0,m4=typeof queueMicrotask=="function"?queueMicrotask:typeof u1<"u"?function(e){return u1.resolve(null).then(e).catch(p4)}:o1;function p4(e){setTimeout(function(){throw e})}function Zl(e){return e==="head"}function d1(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(r),Bs(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")Ii(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Ii(n);for(var u=n.firstChild;u;){var f=u.nextSibling,_=u.nodeName;u[mi]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=f}}else n==="body"&&Ii(e.ownerDocument.body);n=r}while(n);Bs(t)}function f1(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function p0(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":p0(n),xo(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function v4(e,t,n,a){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[mi])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!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=wn(e.nextSibling),e===null)break}return null}function g4(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=wn(e.nextSibling),e===null))return null;return e}function h1(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=wn(e.nextSibling),e===null))return null;return e}function v0(e){return e.data==="$?"||e.data==="$~"}function g0(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function _4(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function wn(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 _0=null;function m1(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return wn(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function p1(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function v1(e,t,n){switch(t=Rr(n),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function Ii(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);xo(e)}var Cn=new Map,g1=new Set;function Ar(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var _l=Q.d;Q.d={f:y4,r:x4,D:b4,C:j4,L:S4,m:N4,X:C4,S:w4,M:T4};function y4(){var e=_l.f(),t=br();return e||t}function x4(e){var t=ts(e);t!==null&&t.tag===5&&t.type==="form"?zf(t):_l.r(e)}var Ds=typeof document>"u"?null:document;function _1(e,t,n){var a=Ds;if(a&&typeof t=="string"&&t){var r=_n(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),g1.has(r)||(g1.add(r),e={rel:e,crossOrigin:n,href:t},a.querySelector(r)===null&&(t=a.createElement("link"),Tt(t,"link",e),gt(t),a.head.appendChild(t)))}}function b4(e){_l.D(e),_1("dns-prefetch",e,null)}function j4(e,t){_l.C(e,t),_1("preconnect",e,t)}function S4(e,t,n){_l.L(e,t,n);var a=Ds;if(a&&e&&t){var r='link[rel="preload"][as="'+_n(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+_n(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+_n(n.imageSizes)+'"]')):r+='[href="'+_n(e)+'"]';var u=r;switch(t){case"style":u=zs(e);break;case"script":u=Ls(e)}Cn.has(u)||(e=y({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Cn.set(u,e),a.querySelector(r)!==null||t==="style"&&a.querySelector(Wi(u))||t==="script"&&a.querySelector(Pi(u))||(t=a.createElement("link"),Tt(t,"link",e),gt(t),a.head.appendChild(t)))}}function N4(e,t){_l.m(e,t);var n=Ds;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+_n(a)+'"][href="'+_n(e)+'"]',u=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ls(e)}if(!Cn.has(u)&&(e=y({rel:"modulepreload",href:e},t),Cn.set(u,e),n.querySelector(r)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Pi(u)))return}a=n.createElement("link"),Tt(a,"link",e),gt(a),n.head.appendChild(a)}}}function w4(e,t,n){_l.S(e,t,n);var a=Ds;if(a&&e){var r=ns(a).hoistableStyles,u=zs(e);t=t||"default";var f=r.get(u);if(!f){var _={loading:0,preload:null};if(f=a.querySelector(Wi(u)))_.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Cn.get(u))&&y0(e,n);var j=f=a.createElement("link");gt(j),Tt(j,"link",e),j._p=new Promise(function(D,k){j.onload=D,j.onerror=k}),j.addEventListener("load",function(){_.loading|=1}),j.addEventListener("error",function(){_.loading|=2}),_.loading|=4,Or(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:_},r.set(u,f)}}}function C4(e,t){_l.X(e,t);var n=Ds;if(n&&e){var a=ns(n).hoistableScripts,r=Ls(e),u=a.get(r);u||(u=n.querySelector(Pi(r)),u||(e=y({src:e,async:!0},t),(t=Cn.get(r))&&x0(e,t),u=n.createElement("script"),gt(u),Tt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(r,u))}}function T4(e,t){_l.M(e,t);var n=Ds;if(n&&e){var a=ns(n).hoistableScripts,r=Ls(e),u=a.get(r);u||(u=n.querySelector(Pi(r)),u||(e=y({src:e,async:!0,type:"module"},t),(t=Cn.get(r))&&x0(e,t),u=n.createElement("script"),gt(u),Tt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(r,u))}}function y1(e,t,n,a){var r=(r=_e.current)?Ar(r):null;if(!r)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=zs(n.href),n=ns(r).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=zs(n.href);var u=ns(r).hoistableStyles,f=u.get(e);if(f||(r=r.ownerDocument||r,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,f),(u=r.querySelector(Wi(e)))&&!u._p&&(f.instance=u,f.state.loading=5),Cn.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Cn.set(e,n),u||E4(r,e,n,f.state))),t&&a===null)throw Error(o(528,""));return f}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ls(n),n=ns(r).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function zs(e){return'href="'+_n(e)+'"'}function Wi(e){return'link[rel="stylesheet"]['+e+"]"}function x1(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function E4(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Tt(t,"link",n),gt(t),e.head.appendChild(t))}function Ls(e){return'[src="'+_n(e)+'"]'}function Pi(e){return"script[async]"+e}function b1(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+_n(n.href)+'"]');if(a)return t.instance=a,gt(a),a;var r=y({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),gt(a),Tt(a,"style",r),Or(a,n.precedence,e),t.instance=a;case"stylesheet":r=zs(n.href);var u=e.querySelector(Wi(r));if(u)return t.state.loading|=4,t.instance=u,gt(u),u;a=x1(n),(r=Cn.get(r))&&y0(a,r),u=(e.ownerDocument||e).createElement("link"),gt(u);var f=u;return f._p=new Promise(function(_,j){f.onload=_,f.onerror=j}),Tt(u,"link",a),t.state.loading|=4,Or(u,n.precedence,e),t.instance=u;case"script":return u=Ls(n.src),(r=e.querySelector(Pi(u)))?(t.instance=r,gt(r),r):(a=n,(r=Cn.get(u))&&(a=y({},n),x0(a,r)),e=e.ownerDocument||e,r=e.createElement("script"),gt(r),Tt(r,"link",a),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Or(a,n.precedence,e));return t.instance}function Or(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=a.length?a[a.length-1]:null,u=r,f=0;f<a.length;f++){var _=a[f];if(_.dataset.precedence===t)u=_;else if(u!==r)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function y0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function x0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Mr=null;function j1(e,t,n){if(Mr===null){var a=new Map,r=Mr=new Map;r.set(n,a)}else r=Mr,a=r.get(n),a||(a=new Map,r.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var u=n[r];if(!(u[mi]||u[St]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var f=u.getAttribute(t)||"";f=e+f;var _=a.get(f);_?_.push(u):a.set(f,[u])}}return a}function S1(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function R4(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function N1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function A4(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=zs(a.href),u=t.querySelector(Wi(r));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Dr.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,gt(u);return}u=t.ownerDocument||t,a=x1(a),(r=Cn.get(r))&&y0(a,r),u=u.createElement("link"),gt(u);var f=u;f._p=new Promise(function(_,j){f.onload=_,f.onerror=j}),Tt(u,"link",a),n.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Dr.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var b0=0;function O4(e,t){return e.stylesheets&&e.count===0&&Lr(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Lr(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&b0===0&&(b0=62500*d4());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Lr(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>b0?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(r)}}:null}function Dr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Lr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var zr=null;function Lr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,zr=new Map,t.forEach(M4,e),zr=null,Dr.call(e))}function M4(e,t){if(!(t.state.loading&4)){var n=zr.get(e);if(n)var a=n.get(null);else{n=new Map,zr.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<r.length;u++){var f=r[u];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(n.set(f.dataset.precedence,f),a=f)}a&&n.set(null,a)}r=t.instance,f=r.getAttribute("data-precedence"),u=n.get(f)||a,u===a&&n.set(null,r),n.set(f,r),this.count++,a=Dr.bind(this),r.addEventListener("load",a),r.addEventListener("error",a),u?u.parentNode.insertBefore(r,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var Ji={$$typeof:$,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function D4(e,t,n,a,r,u,f,_,j){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=vo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vo(0),this.hiddenUpdates=vo(null),this.identifierPrefix=a,this.onUncaughtError=r,this.onCaughtError=u,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function w1(e,t,n,a,r,u,f,_,j,D,k,G){return e=new D4(e,t,n,f,j,D,k,G,_),t=1,u===!0&&(t|=24),u=nn(3,null,null,t),e.current=u,u.stateNode=e,t=eu(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:n,cache:t},au(u),e}function C1(e){return e?(e=fs,e):fs}function T1(e,t,n,a,r,u){r=C1(r),a.context===null?a.context=r:a.pendingContext=r,a=Ul(t),a.payload={element:n},u=u===void 0?null:u,u!==null&&(a.callback=u),n=kl(e,a,t),n!==null&&(Xt(n,e,t),Oi(n,e,t))}function E1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function j0(e,t){E1(e,t),(e=e.alternate)&&E1(e,t)}function R1(e){if(e.tag===13||e.tag===31){var t=_a(e,67108864);t!==null&&Xt(t,e,67108864),j0(e,67108864)}}function A1(e){if(e.tag===13||e.tag===31){var t=rn();t=go(t);var n=_a(e,t);n!==null&&Xt(n,e,t),j0(e,t)}}var Br=!0;function z4(e,t,n,a){var r=U.T;U.T=null;var u=Q.p;try{Q.p=2,S0(e,t,n,a)}finally{Q.p=u,U.T=r}}function L4(e,t,n,a){var r=U.T;U.T=null;var u=Q.p;try{Q.p=8,S0(e,t,n,a)}finally{Q.p=u,U.T=r}}function S0(e,t,n,a){if(Br){var r=N0(a);if(r===null)o0(e,t,a,Ur,n),M1(e,a);else if(U4(r,e,t,n,a))a.stopPropagation();else if(M1(e,a),t&4&&-1<B4.indexOf(e)){for(;r!==null;){var u=ts(r);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var f=ha(u.pendingLanes);if(f!==0){var _=u;for(_.pendingLanes|=2,_.entangledLanes|=2;f;){var j=1<<31-en(f);_.entanglements[1]|=j,f&=~j}Fn(u),(He&6)===0&&(yr=Pt()+500,Xi(0))}}break;case 31:case 13:_=_a(u,2),_!==null&&Xt(_,u,2),br(),j0(u,2)}if(u=N0(a),u===null&&o0(e,t,a,Ur,n),u===r)break;r=u}r!==null&&a.stopPropagation()}else o0(e,t,a,null,n)}}function N0(e){return e=Co(e),w0(e)}var Ur=null;function w0(e){if(Ur=null,e=es(e),e!==null){var t=h(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=m(t),e!==null)return e;e=null}else if(n===31){if(e=p(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ur=e,null}function O1(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(b3()){case k2:return 2;case H2:return 8;case Cc:case j3:return 32;case q2:return 268435456;default:return 32}default:return 32}}var C0=!1,Kl=null,Il=null,Wl=null,ec=new Map,tc=new Map,Pl=[],B4="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 M1(e,t){switch(e){case"focusin":case"focusout":Kl=null;break;case"dragenter":case"dragleave":Il=null;break;case"mouseover":case"mouseout":Wl=null;break;case"pointerover":case"pointerout":ec.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tc.delete(t.pointerId)}}function nc(e,t,n,a,r,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:u,targetContainers:[r]},t!==null&&(t=ts(t),t!==null&&R1(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function U4(e,t,n,a,r){switch(t){case"focusin":return Kl=nc(Kl,e,t,n,a,r),!0;case"dragenter":return Il=nc(Il,e,t,n,a,r),!0;case"mouseover":return Wl=nc(Wl,e,t,n,a,r),!0;case"pointerover":var u=r.pointerId;return ec.set(u,nc(ec.get(u)||null,e,t,n,a,r)),!0;case"gotpointercapture":return u=r.pointerId,tc.set(u,nc(tc.get(u)||null,e,t,n,a,r)),!0}return!1}function D1(e){var t=es(e.target);if(t!==null){var n=h(t);if(n!==null){if(t=n.tag,t===13){if(t=m(n),t!==null){e.blockedOn=t,Y2(e.priority,function(){A1(n)});return}}else if(t===31){if(t=p(n),t!==null){e.blockedOn=t,Y2(e.priority,function(){A1(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function kr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=N0(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);wo=a,n.target.dispatchEvent(a),wo=null}else return t=ts(n),t!==null&&R1(t),e.blockedOn=n,!1;t.shift()}return!0}function z1(e,t,n){kr(e)&&n.delete(t)}function k4(){C0=!1,Kl!==null&&kr(Kl)&&(Kl=null),Il!==null&&kr(Il)&&(Il=null),Wl!==null&&kr(Wl)&&(Wl=null),ec.forEach(z1),tc.forEach(z1)}function Hr(e,t){e.blockedOn===t&&(e.blockedOn=null,C0||(C0=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,k4)))}var qr=null;function L1(e){qr!==e&&(qr=e,s.unstable_scheduleCallback(s.unstable_NormalPriority,function(){qr===e&&(qr=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],r=e[t+2];if(typeof a!="function"){if(w0(a||n)===null)continue;break}var u=ts(n);u!==null&&(e.splice(t,3),t-=3,Nu(u,{pending:!0,data:r,method:n.method,action:a},a,r))}}))}function Bs(e){function t(j){return Hr(j,e)}Kl!==null&&Hr(Kl,e),Il!==null&&Hr(Il,e),Wl!==null&&Hr(Wl,e),ec.forEach(t),tc.forEach(t);for(var n=0;n<Pl.length;n++){var a=Pl[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Pl.length&&(n=Pl[0],n.blockedOn===null);)D1(n),n.blockedOn===null&&Pl.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var r=n[a],u=n[a+1],f=r[$t]||null;if(typeof u=="function")f||L1(n);else if(f){var _=null;if(u&&u.hasAttribute("formAction")){if(r=u,f=u[$t]||null)_=f.formAction;else if(w0(r)!==null)continue}else _=f.action;typeof _=="function"?n[a+1]=_:(n.splice(a,3),a-=3),L1(n)}}}function B1(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(f){return r=f})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function T0(e){this._internalRoot=e}$r.prototype.render=T0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var n=t.current,a=rn();T1(n,a,e,t,null,null)},$r.prototype.unmount=T0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;T1(e.current,2,null,e,null,null),br(),t[Ja]=null}};function $r(e){this._internalRoot=e}$r.prototype.unstable_scheduleHydration=function(e){if(e){var t=Q2();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pl.length&&t!==0&&t<Pl[n].priority;n++);Pl.splice(n,0,e),n===0&&D1(e)}};var U1=c.version;if(U1!=="19.2.5")throw Error(o(527,U1,"19.2.5"));Q.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=v(t),e=e!==null?x(e):null,e=e===null?null:e.stateNode,e};var H4={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gr.isDisabled&&Gr.supportsFiber)try{di=Gr.inject(H4),Jt=Gr}catch{}}return ac.createRoot=function(e,t){if(!d(e))throw Error(o(299));var n=!1,a="",r=Ff,u=Qf,f=Yf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=w1(e,1,!1,null,null,n,a,null,r,u,f,B1),e[Ja]=t.current,r0(e),new T0(t)},ac.hydrateRoot=function(e,t,n){if(!d(e))throw Error(o(299));var a=!1,r="",u=Ff,f=Qf,_=Yf,j=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(_=n.onRecoverableError),n.formState!==void 0&&(j=n.formState)),t=w1(e,1,!0,t,n??null,a,r,j,u,f,_,B1),t.context=C1(null),n=t.current,a=rn(),a=go(a),r=Ul(a),r.callback=null,kl(n,r,a),n=a,t.current.lanes=n,hi(t,n),Fn(t),e[Ja]=t.current,r0(e),new $r(t)},ac.version="19.2.5",ac}var Z1;function I4(){if(Z1)return O0.exports;Z1=1;function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(c){console.error(c)}}return s(),O0.exports=K4(),O0.exports}var W4=I4();/**
* 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 K1="popstate";function I1(s){return typeof s=="object"&&s!=null&&"pathname"in s&&"search"in s&&"hash"in s&&"state"in s&&"key"in s}function P4(s={}){function c(o,d){var v;let h=(v=d.state)==null?void 0:v.masked,{pathname:m,search:p,hash:g}=h||o.location;return I0("",{pathname:m,search:p,hash:g},d.state&&d.state.usr||null,d.state&&d.state.key||"default",h?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function i(o,d){return typeof d=="string"?d:mc(d)}return eg(c,i,null,s)}function et(s,c){if(s===!1||s===null||typeof s>"u")throw new Error(c)}function kn(s,c){if(!s){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function J4(){return Math.random().toString(36).substring(2,10)}function W1(s,c){return{usr:s.state,key:s.key,idx:c,masked:s.unstable_mask?{pathname:s.pathname,search:s.search,hash:s.hash}:void 0}}function I0(s,c,i=null,o,d){return{pathname:typeof s=="string"?s:s.pathname,search:"",hash:"",...typeof c=="string"?ei(c):c,state:i,key:c&&c.key||o||J4(),unstable_mask:d}}function mc({pathname:s="/",search:c="",hash:i=""}){return c&&c!=="?"&&(s+=c.charAt(0)==="?"?c:"?"+c),i&&i!=="#"&&(s+=i.charAt(0)==="#"?i:"#"+i),s}function ei(s){let c={};if(s){let i=s.indexOf("#");i>=0&&(c.hash=s.substring(i),s=s.substring(0,i));let o=s.indexOf("?");o>=0&&(c.search=s.substring(o),s=s.substring(0,o)),s&&(c.pathname=s)}return c}function eg(s,c,i,o={}){let{window:d=document.defaultView,v5Compat:h=!1}=o,m=d.history,p="POP",g=null,v=x();v==null&&(v=0,m.replaceState({...m.state,idx:v},""));function x(){return(m.state||{idx:null}).idx}function y(){p="POP";let w=x(),z=w==null?null:w-v;v=w,g&&g({action:p,location:O.location,delta:z})}function N(w,z){p="PUSH";let F=I1(w)?w:I0(O.location,w,z);v=x()+1;let $=W1(F,v),V=O.createHref(F.unstable_mask||F);try{m.pushState($,"",V)}catch(K){if(K instanceof DOMException&&K.name==="DataCloneError")throw K;d.location.assign(V)}h&&g&&g({action:p,location:O.location,delta:1})}function R(w,z){p="REPLACE";let F=I1(w)?w:I0(O.location,w,z);v=x();let $=W1(F,v),V=O.createHref(F.unstable_mask||F);m.replaceState($,"",V),h&&g&&g({action:p,location:O.location,delta:0})}function A(w){return tg(w)}let O={get action(){return p},get location(){return s(d,m)},listen(w){if(g)throw new Error("A history only accepts one active listener");return d.addEventListener(K1,y),g=w,()=>{d.removeEventListener(K1,y),g=null}},createHref(w){return c(d,w)},createURL:A,encodeLocation(w){let z=A(w);return{pathname:z.pathname,search:z.search,hash:z.hash}},push:N,replace:R,go(w){return m.go(w)}};return O}function tg(s,c=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),et(i,"No window.location.(origin|href) available to create URL");let o=typeof s=="string"?s:mc(s);return o=o.replace(/ $/,"%20"),!c&&o.startsWith("//")&&(o=i+o),new URL(o,i)}function cp(s,c,i="/"){return ng(s,c,i,!1)}function ng(s,c,i,o){let d=typeof c=="string"?ei(c):c,h=Tl(d.pathname||"/",i);if(h==null)return null;let m=rp(s);lg(m);let p=null;for(let g=0;p==null&&g<m.length;++g){let v=mg(h);p=fg(m[g],v,o)}return p}function rp(s,c=[],i=[],o="",d=!1){let h=(m,p,g=d,v)=>{let x={relativePath:v===void 0?m.path||"":v,caseSensitive:m.caseSensitive===!0,childrenIndex:p,route:m};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(o)&&g)return;et(x.relativePath.startsWith(o),`Absolute route path "${x.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(o.length)}let y=Un([o,x.relativePath]),N=i.concat(x);m.children&&m.children.length>0&&(et(m.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),rp(m.children,c,N,y,g)),!(m.path==null&&!m.index)&&c.push({path:y,score:ug(y,m.index),routesMeta:N})};return s.forEach((m,p)=>{var g;if(m.path===""||!((g=m.path)!=null&&g.includes("?")))h(m,p);else for(let v of op(m.path))h(m,p,!0,v)}),c}function op(s){let c=s.split("/");if(c.length===0)return[];let[i,...o]=c,d=i.endsWith("?"),h=i.replace(/\?$/,"");if(o.length===0)return d?[h,""]:[h];let m=op(o.join("/")),p=[];return p.push(...m.map(g=>g===""?h:[h,g].join("/"))),d&&p.push(...m),p.map(g=>s.startsWith("/")&&g===""?"/":g)}function lg(s){s.sort((c,i)=>c.score!==i.score?i.score-c.score:dg(c.routesMeta.map(o=>o.childrenIndex),i.routesMeta.map(o=>o.childrenIndex)))}var ag=/^:[\w-]+$/,sg=3,ig=2,cg=1,rg=10,og=-2,P1=s=>s==="*";function ug(s,c){let i=s.split("/"),o=i.length;return i.some(P1)&&(o+=og),c&&(o+=ig),i.filter(d=>!P1(d)).reduce((d,h)=>d+(ag.test(h)?sg:h===""?cg:rg),o)}function dg(s,c){return s.length===c.length&&s.slice(0,-1).every((o,d)=>o===c[d])?s[s.length-1]-c[c.length-1]:0}function fg(s,c,i=!1){let{routesMeta:o}=s,d={},h="/",m=[];for(let p=0;p<o.length;++p){let g=o[p],v=p===o.length-1,x=h==="/"?c:c.slice(h.length)||"/",y=Pr({path:g.relativePath,caseSensitive:g.caseSensitive,end:v},x),N=g.route;if(!y&&v&&i&&!o[o.length-1].route.index&&(y=Pr({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},x)),!y)return null;Object.assign(d,y.params),m.push({params:d,pathname:Un([h,y.pathname]),pathnameBase:_g(Un([h,y.pathnameBase])),route:N}),y.pathnameBase!=="/"&&(h=Un([h,y.pathnameBase]))}return m}function Pr(s,c){typeof s=="string"&&(s={path:s,caseSensitive:!1,end:!0});let[i,o]=hg(s.path,s.caseSensitive,s.end),d=c.match(i);if(!d)return null;let h=d[0],m=h.replace(/(.)\/+$/,"$1"),p=d.slice(1);return{params:o.reduce((v,{paramName:x,isOptional:y},N)=>{if(x==="*"){let A=p[N]||"";m=h.slice(0,h.length-A.length).replace(/(.)\/+$/,"$1")}const R=p[N];return y&&!R?v[x]=void 0:v[x]=(R||"").replace(/%2F/g,"/"),v},{}),pathname:h,pathnameBase:m,pattern:s}}function hg(s,c=!1,i=!0){kn(s==="*"||!s.endsWith("*")||s.endsWith("/*"),`Route path "${s}" will be treated as if it were "${s.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${s.replace(/\*$/,"/*")}".`);let o=[],d="^"+s.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,p,g,v,x)=>{if(o.push({paramName:p,isOptional:g!=null}),g){let y=x.charAt(v+m.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return s.endsWith("*")?(o.push({paramName:"*"}),d+=s==="*"||s==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?d+="\\/*$":s!==""&&s!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,c?void 0:"i"),o]}function mg(s){try{return s.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return kn(!1,`The URL path "${s}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${c}).`),s}}function Tl(s,c){if(c==="/")return s;if(!s.toLowerCase().startsWith(c.toLowerCase()))return null;let i=c.endsWith("/")?c.length-1:c.length,o=s.charAt(i);return o&&o!=="/"?null:s.slice(i)||"/"}var pg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function vg(s,c="/"){let{pathname:i,search:o="",hash:d=""}=typeof s=="string"?ei(s):s,h;return i?(i=up(i),i.startsWith("/")?h=J1(i.substring(1),"/"):h=J1(i,c)):h=c,{pathname:h,search:yg(o),hash:xg(d)}}function J1(s,c){let i=Jr(c).split("/");return s.split("/").forEach(d=>{d===".."?i.length>1&&i.pop():d!=="."&&i.push(d)}),i.length>1?i.join("/"):"/"}function L0(s,c,i,o){return`Cannot include a '${s}' character in a manually specified \`to.${c}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function gg(s){return s.filter((c,i)=>i===0||c.route.path&&c.route.path.length>0)}function j2(s){let c=gg(s);return c.map((i,o)=>o===c.length-1?i.pathname:i.pathnameBase)}function so(s,c,i,o=!1){let d;typeof s=="string"?d=ei(s):(d={...s},et(!d.pathname||!d.pathname.includes("?"),L0("?","pathname","search",d)),et(!d.pathname||!d.pathname.includes("#"),L0("#","pathname","hash",d)),et(!d.search||!d.search.includes("#"),L0("#","search","hash",d)));let h=s===""||d.pathname==="",m=h?"/":d.pathname,p;if(m==null)p=i;else{let y=c.length-1;if(!o&&m.startsWith("..")){let N=m.split("/");for(;N[0]==="..";)N.shift(),y-=1;d.pathname=N.join("/")}p=y>=0?c[y]:"/"}let g=vg(d,p),v=m&&m!=="/"&&m.endsWith("/"),x=(h||m===".")&&i.endsWith("/");return!g.pathname.endsWith("/")&&(v||x)&&(g.pathname+="/"),g}var up=s=>s.replace(/\/\/+/g,"/"),Un=s=>up(s.join("/")),Jr=s=>s.replace(/\/+$/,""),_g=s=>Jr(s).replace(/^\/*/,"/"),yg=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,xg=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s,bg=class{constructor(s,c,i,o=!1){this.status=s,this.statusText=c||"",this.internal=o,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function jg(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}function Sg(s){let c=s.map(i=>i.route.path).filter(Boolean);return Un(c)||"/"}var dp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function fp(s,c){let i=s;if(typeof i!="string"||!pg.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let o=i,d=!1;if(dp)try{let h=new URL(window.location.href),m=i.startsWith("//")?new URL(h.protocol+i):new URL(i),p=Tl(m.pathname,c);m.origin===h.origin&&p!=null?i=p+m.search+m.hash:d=!0}catch{kn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:d,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var hp=["POST","PUT","PATCH","DELETE"];new Set(hp);var Ng=["GET",...hp];new Set(Ng);var ti=b.createContext(null);ti.displayName="DataRouter";var io=b.createContext(null);io.displayName="DataRouterState";var mp=b.createContext(!1);function wg(){return b.useContext(mp)}var pp=b.createContext({isTransitioning:!1});pp.displayName="ViewTransition";var Cg=b.createContext(new Map);Cg.displayName="Fetchers";var Tg=b.createContext(null);Tg.displayName="Await";var mn=b.createContext(null);mn.displayName="Navigation";var Sc=b.createContext(null);Sc.displayName="Location";var On=b.createContext({outlet:null,matches:[],isDataRoute:!1});On.displayName="Route";var S2=b.createContext(null);S2.displayName="RouteError";var vp="REACT_ROUTER_ERROR",Eg="REDIRECT",Rg="ROUTE_ERROR_RESPONSE";function Ag(s){if(s.startsWith(`${vp}:${Eg}:{`))try{let c=JSON.parse(s.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function Og(s){if(s.startsWith(`${vp}:${Rg}:{`))try{let c=JSON.parse(s.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new bg(c.status,c.statusText,c.data)}catch{}}function Mg(s,{relative:c}={}){et(ni(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:o}=b.useContext(mn),{hash:d,pathname:h,search:m}=Nc(s,{relative:c}),p=h;return i!=="/"&&(p=h==="/"?i:Un([i,h])),o.createHref({pathname:p,search:m,hash:d})}function ni(){return b.useContext(Sc)!=null}function pn(){return et(ni(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(Sc).location}var gp="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function _p(s){b.useContext(mn).static||b.useLayoutEffect(s)}function Mn(){let{isDataRoute:s}=b.useContext(On);return s?Zg():Dg()}function Dg(){et(ni(),"useNavigate() may be used only in the context of a <Router> component.");let s=b.useContext(ti),{basename:c,navigator:i}=b.useContext(mn),{matches:o}=b.useContext(On),{pathname:d}=pn(),h=JSON.stringify(j2(o)),m=b.useRef(!1);return _p(()=>{m.current=!0}),b.useCallback((g,v={})=>{if(kn(m.current,gp),!m.current)return;if(typeof g=="number"){i.go(g);return}let x=so(g,JSON.parse(h),d,v.relative==="path");s==null&&c!=="/"&&(x.pathname=x.pathname==="/"?c:Un([c,x.pathname])),(v.replace?i.replace:i.push)(x,v.state,v)},[c,i,h,d,s])}var zg=b.createContext(null);function Lg(s){let c=b.useContext(On).outlet;return b.useMemo(()=>c&&b.createElement(zg.Provider,{value:s},c),[c,s])}function Bg(){let{matches:s}=b.useContext(On),c=s[s.length-1];return(c==null?void 0:c.params)??{}}function Nc(s,{relative:c}={}){let{matches:i}=b.useContext(On),{pathname:o}=pn(),d=JSON.stringify(j2(i));return b.useMemo(()=>so(s,JSON.parse(d),o,c==="path"),[s,d,o,c])}function Ug(s,c){return yp(s,c)}function yp(s,c,i){var w;et(ni(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=b.useContext(mn),{matches:d}=b.useContext(On),h=d[d.length-1],m=h?h.params:{},p=h?h.pathname:"/",g=h?h.pathnameBase:"/",v=h&&h.route;{let z=v&&v.path||"";bp(p,!v||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${z}">) 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="${z}"> to <Route path="${z==="/"?"*":`${z}/*`}">.`)}let x=pn(),y;if(c){let z=typeof c=="string"?ei(c):c;et(g==="/"||((w=z.pathname)==null?void 0:w.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 "${z.pathname}" was given in the \`location\` prop.`),y=z}else y=x;let N=y.pathname||"/",R=N;if(g!=="/"){let z=g.replace(/^\//,"").split("/");R="/"+N.replace(/^\//,"").split("/").slice(z.length).join("/")}let A=cp(s,{pathname:R});kn(v||A!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),kn(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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 O=Gg(A&&A.map(z=>Object.assign({},z,{params:Object.assign({},m,z.params),pathname:Un([g,o.encodeLocation?o.encodeLocation(z.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?g:Un([g,o.encodeLocation?o.encodeLocation(z.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:z.pathnameBase])})),d,i);return c&&O?b.createElement(Sc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...y},navigationType:"POP"}},O):O}function kg(){let s=Xg(),c=jg(s)?`${s.status} ${s.statusText}`:s instanceof Error?s.message:JSON.stringify(s),i=s instanceof Error?s.stack:null,o="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:o},h={padding:"2px 4px",backgroundColor:o},m=null;return console.error("Error handled by React Router default ErrorBoundary:",s),m=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:h},"ErrorBoundary")," or"," ",b.createElement("code",{style:h},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},c),i?b.createElement("pre",{style:d},i):null,m)}var Hg=b.createElement(kg,null),xp=class extends b.Component{constructor(s){super(s),this.state={location:s.location,revalidation:s.revalidation,error:s.error}}static getDerivedStateFromError(s){return{error:s}}static getDerivedStateFromProps(s,c){return c.location!==s.location||c.revalidation!=="idle"&&s.revalidation==="idle"?{error:s.error,location:s.location,revalidation:s.revalidation}:{error:s.error!==void 0?s.error:c.error,location:c.location,revalidation:s.revalidation||c.revalidation}}componentDidCatch(s,c){this.props.onError?this.props.onError(s,c):console.error("React Router caught the following error during render",s)}render(){let s=this.state.error;if(this.context&&typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){const i=Og(s.digest);i&&(s=i)}let c=s!==void 0?b.createElement(On.Provider,{value:this.props.routeContext},b.createElement(S2.Provider,{value:s,children:this.props.component})):this.props.children;return this.context?b.createElement(qg,{error:s},c):c}};xp.contextType=mp;var B0=new WeakMap;function qg({children:s,error:c}){let{basename:i}=b.useContext(mn);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let o=Ag(c.digest);if(o){let d=B0.get(c);if(d)throw d;let h=fp(o.location,i);if(dp&&!B0.get(c))if(h.isExternal||o.reloadDocument)window.location.href=h.absoluteURL||h.to;else{const m=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(h.to,{replace:o.replace}));throw B0.set(c,m),m}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return s}function $g({routeContext:s,match:c,children:i}){let o=b.useContext(ti);return o&&o.static&&o.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=c.route.id),b.createElement(On.Provider,{value:s},i)}function Gg(s,c=[],i){let o=i==null?void 0:i.state;if(s==null){if(!o)return null;if(o.errors)s=o.matches;else if(c.length===0&&!o.initialized&&o.matches.length>0)s=o.matches;else return null}let d=s,h=o==null?void 0:o.errors;if(h!=null){let x=d.findIndex(y=>y.route.id&&(h==null?void 0:h[y.route.id])!==void 0);et(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),d=d.slice(0,Math.min(d.length,x+1))}let m=!1,p=-1;if(i&&o){m=o.renderFallback;for(let x=0;x<d.length;x++){let y=d[x];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(p=x),y.route.id){let{loaderData:N,errors:R}=o,A=y.route.loader&&!N.hasOwnProperty(y.route.id)&&(!R||R[y.route.id]===void 0);if(y.route.lazy||A){i.isStatic&&(m=!0),p>=0?d=d.slice(0,p+1):d=[d[0]];break}}}}let g=i==null?void 0:i.onError,v=o&&g?(x,y)=>{var N,R;g(x,{location:o.location,params:((R=(N=o.matches)==null?void 0:N[0])==null?void 0:R.params)??{},unstable_pattern:Sg(o.matches),errorInfo:y})}:void 0;return d.reduceRight((x,y,N)=>{let R,A=!1,O=null,w=null;o&&(R=h&&y.route.id?h[y.route.id]:void 0,O=y.route.errorElement||Hg,m&&(p<0&&N===0?(bp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,w=null):p===N&&(A=!0,w=y.route.hydrateFallbackElement||null)));let z=c.concat(d.slice(0,N+1)),F=()=>{let $;return R?$=O:A?$=w:y.route.Component?$=b.createElement(y.route.Component,null):y.route.element?$=y.route.element:$=x,b.createElement($g,{match:y,routeContext:{outlet:x,matches:z,isDataRoute:o!=null},children:$})};return o&&(y.route.ErrorBoundary||y.route.errorElement||N===0)?b.createElement(xp,{location:o.location,revalidation:o.revalidation,component:O,error:R,children:F(),routeContext:{outlet:null,matches:z,isDataRoute:!0},onError:v}):F()},null)}function N2(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Vg(s){let c=b.useContext(ti);return et(c,N2(s)),c}function Fg(s){let c=b.useContext(io);return et(c,N2(s)),c}function Qg(s){let c=b.useContext(On);return et(c,N2(s)),c}function w2(s){let c=Qg(s),i=c.matches[c.matches.length-1];return et(i.route.id,`${s} can only be used on routes that contain a unique "id"`),i.route.id}function Yg(){return w2("useRouteId")}function Xg(){var o;let s=b.useContext(S2),c=Fg("useRouteError"),i=w2("useRouteError");return s!==void 0?s:(o=c.errors)==null?void 0:o[i]}function Zg(){let{router:s}=Vg("useNavigate"),c=w2("useNavigate"),i=b.useRef(!1);return _p(()=>{i.current=!0}),b.useCallback(async(d,h={})=>{kn(i.current,gp),i.current&&(typeof d=="number"?await s.navigate(d):await s.navigate(d,{fromRouteId:c,...h}))},[s,c])}var em={};function bp(s,c,i){!c&&!em[s]&&(em[s]=!0,kn(!1,i))}b.memo(Kg);function Kg({routes:s,future:c,state:i,isStatic:o,onError:d}){return yp(s,void 0,{state:i,isStatic:o,onError:d})}function pc({to:s,replace:c,state:i,relative:o}){et(ni(),"<Navigate> may be used only in the context of a <Router> component.");let{static:d}=b.useContext(mn);kn(!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}=b.useContext(On),{pathname:m}=pn(),p=Mn(),g=so(s,j2(h),m,o==="path"),v=JSON.stringify(g);return b.useEffect(()=>{p(JSON.parse(v),{replace:c,state:i,relative:o})},[p,v,o,c,i]),null}function jp(s){return Lg(s.context)}function rt(s){et(!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 Ig({basename:s="/",children:c=null,location:i,navigationType:o="POP",navigator:d,static:h=!1,unstable_useTransitions:m}){et(!ni(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let p=s.replace(/^\/*/,"/"),g=b.useMemo(()=>({basename:p,navigator:d,static:h,unstable_useTransitions:m,future:{}}),[p,d,h,m]);typeof i=="string"&&(i=ei(i));let{pathname:v="/",search:x="",hash:y="",state:N=null,key:R="default",unstable_mask:A}=i,O=b.useMemo(()=>{let w=Tl(v,p);return w==null?null:{location:{pathname:w,search:x,hash:y,state:N,key:R,unstable_mask:A},navigationType:o}},[p,v,x,y,N,R,o,A]);return kn(O!=null,`<Router basename="${p}"> is not able to match the URL "${v}${x}${y}" because it does not start with the basename, so the <Router> won't render anything.`),O==null?null:b.createElement(mn.Provider,{value:g},b.createElement(Sc.Provider,{children:c,value:O}))}function Wg({children:s,location:c}){return Ug(W0(s),c)}function W0(s,c=[]){let i=[];return b.Children.forEach(s,(o,d)=>{if(!b.isValidElement(o))return;let h=[...c,d];if(o.type===b.Fragment){i.push.apply(i,W0(o.props.children,h));return}et(o.type===rt,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),et(!o.props.index||!o.props.children,"An index route cannot have child routes.");let m={id:o.props.id||h.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(m.children=W0(o.props.children,h)),i.push(m)}),i}var Kr="get",Ir="application/x-www-form-urlencoded";function co(s){return typeof HTMLElement<"u"&&s instanceof HTMLElement}function Pg(s){return co(s)&&s.tagName.toLowerCase()==="button"}function Jg(s){return co(s)&&s.tagName.toLowerCase()==="form"}function e_(s){return co(s)&&s.tagName.toLowerCase()==="input"}function t_(s){return!!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)}function n_(s,c){return s.button===0&&(!c||c==="_self")&&!t_(s)}var Fr=null;function l_(){if(Fr===null)try{new FormData(document.createElement("form"),0),Fr=!1}catch{Fr=!0}return Fr}var a_=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function U0(s){return s!=null&&!a_.has(s)?(kn(!1,`"${s}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ir}"`),null):s}function s_(s,c){let i,o,d,h,m;if(Jg(s)){let p=s.getAttribute("action");o=p?Tl(p,c):null,i=s.getAttribute("method")||Kr,d=U0(s.getAttribute("enctype"))||Ir,h=new FormData(s)}else if(Pg(s)||e_(s)&&(s.type==="submit"||s.type==="image")){let p=s.form;if(p==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=s.getAttribute("formaction")||p.getAttribute("action");if(o=g?Tl(g,c):null,i=s.getAttribute("formmethod")||p.getAttribute("method")||Kr,d=U0(s.getAttribute("formenctype"))||U0(p.getAttribute("enctype"))||Ir,h=new FormData(p,s),!l_()){let{name:v,type:x,value:y}=s;if(x==="image"){let N=v?`${v}.`:"";h.append(`${N}x`,"0"),h.append(`${N}y`,"0")}else v&&h.append(v,y)}}else{if(co(s))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Kr,o=null,d=Ir,m=s}return h&&d==="text/plain"&&(m=h,h=void 0),{action:o,method:i.toLowerCase(),encType:d,formData:h,body:m}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function C2(s,c){if(s===!1||s===null||typeof s>"u")throw new Error(c)}function Sp(s,c,i,o){let d=typeof s=="string"?new URL(s,typeof window>"u"?"server://singlefetch/":window.location.origin):s;return i?d.pathname.endsWith("/")?d.pathname=`${d.pathname}_.${o}`:d.pathname=`${d.pathname}.${o}`:d.pathname==="/"?d.pathname=`_root.${o}`:c&&Tl(d.pathname,c)==="/"?d.pathname=`${Jr(c)}/_root.${o}`:d.pathname=`${Jr(d.pathname)}.${o}`,d}async function i_(s,c){if(s.id in c)return c[s.id];try{let i=await import(s.module);return c[s.id]=i,i}catch(i){return console.error(`Error loading route module \`${s.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function c_(s){return s==null?!1:s.href==null?s.rel==="preload"&&typeof s.imageSrcSet=="string"&&typeof s.imageSizes=="string":typeof s.rel=="string"&&typeof s.href=="string"}async function r_(s,c,i){let o=await Promise.all(s.map(async d=>{let h=c.routes[d.route.id];if(h){let m=await i_(h,i);return m.links?m.links():[]}return[]}));return f_(o.flat(1).filter(c_).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function tm(s,c,i,o,d,h){let m=(g,v)=>i[v]?g.route.id!==i[v].route.id:!0,p=(g,v)=>{var x;return i[v].pathname!==g.pathname||((x=i[v].route.path)==null?void 0:x.endsWith("*"))&&i[v].params["*"]!==g.params["*"]};return h==="assets"?c.filter((g,v)=>m(g,v)||p(g,v)):h==="data"?c.filter((g,v)=>{var y;let x=o.routes[g.route.id];if(!x||!x.hasLoader)return!1;if(m(g,v)||p(g,v))return!0;if(g.route.shouldRevalidate){let N=g.route.shouldRevalidate({currentUrl:new URL(d.pathname+d.search+d.hash,window.origin),currentParams:((y=i[0])==null?void 0:y.params)||{},nextUrl:new URL(s,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof N=="boolean")return N}return!0}):[]}function o_(s,c,{includeHydrateFallback:i}={}){return u_(s.map(o=>{let d=c.routes[o.route.id];if(!d)return[];let h=[d.module];return d.clientActionModule&&(h=h.concat(d.clientActionModule)),d.clientLoaderModule&&(h=h.concat(d.clientLoaderModule)),i&&d.hydrateFallbackModule&&(h=h.concat(d.hydrateFallbackModule)),d.imports&&(h=h.concat(d.imports)),h}).flat(1))}function u_(s){return[...new Set(s)]}function d_(s){let c={},i=Object.keys(s).sort();for(let o of i)c[o]=s[o];return c}function f_(s,c){let i=new Set;return new Set(c),s.reduce((o,d)=>{let h=JSON.stringify(d_(d));return i.has(h)||(i.add(h),o.push({key:h,link:d})),o},[])}function T2(){let s=b.useContext(ti);return C2(s,"You must render this element inside a <DataRouterContext.Provider> element"),s}function h_(){let s=b.useContext(io);return C2(s,"You must render this element inside a <DataRouterStateContext.Provider> element"),s}var E2=b.createContext(void 0);E2.displayName="FrameworkContext";function R2(){let s=b.useContext(E2);return C2(s,"You must render this element inside a <HydratedRouter> element"),s}function m_(s,c){let i=b.useContext(E2),[o,d]=b.useState(!1),[h,m]=b.useState(!1),{onFocus:p,onBlur:g,onMouseEnter:v,onMouseLeave:x,onTouchStart:y}=c,N=b.useRef(null);b.useEffect(()=>{if(s==="render"&&m(!0),s==="viewport"){let O=z=>{z.forEach(F=>{m(F.isIntersecting)})},w=new IntersectionObserver(O,{threshold:.5});return N.current&&w.observe(N.current),()=>{w.disconnect()}}},[s]),b.useEffect(()=>{if(o){let O=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(O)}}},[o]);let R=()=>{d(!0)},A=()=>{d(!1),m(!1)};return i?s!=="intent"?[h,N,{}]:[h,N,{onFocus:sc(p,R),onBlur:sc(g,A),onMouseEnter:sc(v,R),onMouseLeave:sc(x,A),onTouchStart:sc(y,R)}]:[!1,N,{}]}function sc(s,c){return i=>{s&&s(i),i.defaultPrevented||c(i)}}function p_({page:s,...c}){let i=wg(),{router:o}=T2(),d=b.useMemo(()=>cp(o.routes,s,o.basename),[o.routes,s,o.basename]);return d?i?b.createElement(g_,{page:s,matches:d,...c}):b.createElement(__,{page:s,matches:d,...c}):null}function v_(s){let{manifest:c,routeModules:i}=R2(),[o,d]=b.useState([]);return b.useEffect(()=>{let h=!1;return r_(s,c,i).then(m=>{h||d(m)}),()=>{h=!0}},[s,c,i]),o}function g_({page:s,matches:c,...i}){let o=pn(),{future:d}=R2(),{basename:h}=T2(),m=b.useMemo(()=>{if(s===o.pathname+o.search+o.hash)return[];let p=Sp(s,h,d.unstable_trailingSlashAwareDataRequests,"rsc"),g=!1,v=[];for(let x of c)typeof x.route.shouldRevalidate=="function"?g=!0:v.push(x.route.id);return g&&v.length>0&&p.searchParams.set("_routes",v.join(",")),[p.pathname+p.search]},[h,d.unstable_trailingSlashAwareDataRequests,s,o,c]);return b.createElement(b.Fragment,null,m.map(p=>b.createElement("link",{key:p,rel:"prefetch",as:"fetch",href:p,...i})))}function __({page:s,matches:c,...i}){let o=pn(),{future:d,manifest:h,routeModules:m}=R2(),{basename:p}=T2(),{loaderData:g,matches:v}=h_(),x=b.useMemo(()=>tm(s,c,v,h,o,"data"),[s,c,v,h,o]),y=b.useMemo(()=>tm(s,c,v,h,o,"assets"),[s,c,v,h,o]),N=b.useMemo(()=>{if(s===o.pathname+o.search+o.hash)return[];let O=new Set,w=!1;if(c.forEach(F=>{var V;let $=h.routes[F.route.id];!$||!$.hasLoader||(!x.some(K=>K.route.id===F.route.id)&&F.route.id in g&&((V=m[F.route.id])!=null&&V.shouldRevalidate)||$.hasClientLoader?w=!0:O.add(F.route.id))}),O.size===0)return[];let z=Sp(s,p,d.unstable_trailingSlashAwareDataRequests,"data");return w&&O.size>0&&z.searchParams.set("_routes",c.filter(F=>O.has(F.route.id)).map(F=>F.route.id).join(",")),[z.pathname+z.search]},[p,d.unstable_trailingSlashAwareDataRequests,g,o,h,x,c,s,m]),R=b.useMemo(()=>o_(y,h),[y,h]),A=v_(y);return b.createElement(b.Fragment,null,N.map(O=>b.createElement("link",{key:O,rel:"prefetch",as:"fetch",href:O,...i})),R.map(O=>b.createElement("link",{key:O,rel:"modulepreload",href:O,...i})),A.map(({key:O,link:w})=>b.createElement("link",{key:O,nonce:i.nonce,...w,crossOrigin:w.crossOrigin??i.crossOrigin})))}function y_(...s){return c=>{s.forEach(i=>{typeof i=="function"?i(c):i!=null&&(i.current=c)})}}var x_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{x_&&(window.__reactRouterVersion="7.14.2")}catch{}function b_({basename:s,children:c,unstable_useTransitions:i,window:o}){let d=b.useRef();d.current==null&&(d.current=P4({window:o,v5Compat:!0}));let h=d.current,[m,p]=b.useState({action:h.action,location:h.location}),g=b.useCallback(v=>{i===!1?p(v):b.startTransition(()=>p(v))},[i]);return b.useLayoutEffect(()=>h.listen(g),[h,g]),b.createElement(Ig,{basename:s,children:c,location:m.location,navigationType:m.action,navigator:h,unstable_useTransitions:i})}var Np=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ht=b.forwardRef(function({onClick:c,discover:i="render",prefetch:o="none",relative:d,reloadDocument:h,replace:m,unstable_mask:p,state:g,target:v,to:x,preventScrollReset:y,viewTransition:N,unstable_defaultShouldRevalidate:R,...A},O){let{basename:w,navigator:z,unstable_useTransitions:F}=b.useContext(mn),$=typeof x=="string"&&Np.test(x),V=fp(x,w);x=V.to;let K=Mg(x,{relative:d}),ne=pn(),X=null;if(p){let ze=so(p,[],ne.unstable_mask?ne.unstable_mask.pathname:"/",!0);w!=="/"&&(ze.pathname=ze.pathname==="/"?w:Un([w,ze.pathname])),X=z.createHref(ze)}let[te,de,he]=m_(o,A),ge=N_(x,{replace:m,unstable_mask:p,state:g,target:v,preventScrollReset:y,relative:d,viewTransition:N,unstable_defaultShouldRevalidate:R,unstable_useTransitions:F});function De(ze){c&&c(ze),ze.defaultPrevented||ge(ze)}let se=!(V.isExternal||h),$e=b.createElement("a",{...A,...he,href:(se?X:void 0)||V.absoluteURL||K,onClick:se?De:c,ref:y_(O,de),target:v,"data-discover":!$&&i==="render"?"true":void 0});return te&&!$?b.createElement(b.Fragment,null,$e,b.createElement(p_,{page:K})):$e});Ht.displayName="Link";var wp=b.forwardRef(function({"aria-current":c="page",caseSensitive:i=!1,className:o="",end:d=!1,style:h,to:m,viewTransition:p,children:g,...v},x){let y=Nc(m,{relative:v.relative}),N=pn(),R=b.useContext(io),{navigator:A,basename:O}=b.useContext(mn),w=R!=null&&R_(y)&&p===!0,z=A.encodeLocation?A.encodeLocation(y).pathname:y.pathname,F=N.pathname,$=R&&R.navigation&&R.navigation.location?R.navigation.location.pathname:null;i||(F=F.toLowerCase(),$=$?$.toLowerCase():null,z=z.toLowerCase()),$&&O&&($=Tl($,O)||$);const V=z!=="/"&&z.endsWith("/")?z.length-1:z.length;let K=F===z||!d&&F.startsWith(z)&&F.charAt(V)==="/",ne=$!=null&&($===z||!d&&$.startsWith(z)&&$.charAt(z.length)==="/"),X={isActive:K,isPending:ne,isTransitioning:w},te=K?c:void 0,de;typeof o=="function"?de=o(X):de=[o,K?"active":null,ne?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let he=typeof h=="function"?h(X):h;return b.createElement(Ht,{...v,"aria-current":te,className:de,ref:x,style:he,to:m,viewTransition:p},typeof g=="function"?g(X):g)});wp.displayName="NavLink";var j_=b.forwardRef(({discover:s="render",fetcherKey:c,navigate:i,reloadDocument:o,replace:d,state:h,method:m=Kr,action:p,onSubmit:g,relative:v,preventScrollReset:x,viewTransition:y,unstable_defaultShouldRevalidate:N,...R},A)=>{let{unstable_useTransitions:O}=b.useContext(mn),w=T_(),z=E_(p,{relative:v}),F=m.toLowerCase()==="get"?"get":"post",$=typeof p=="string"&&Np.test(p),V=K=>{if(g&&g(K),K.defaultPrevented)return;K.preventDefault();let ne=K.nativeEvent.submitter,X=(ne==null?void 0:ne.getAttribute("formmethod"))||m,te=()=>w(ne||K.currentTarget,{fetcherKey:c,method:X,navigate:i,replace:d,state:h,relative:v,preventScrollReset:x,viewTransition:y,unstable_defaultShouldRevalidate:N});O&&i!==!1?b.startTransition(()=>te()):te()};return b.createElement("form",{ref:A,method:F,action:z,onSubmit:o?g:V,...R,"data-discover":!$&&s==="render"?"true":void 0})});j_.displayName="Form";function S_(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Cp(s){let c=b.useContext(ti);return et(c,S_(s)),c}function N_(s,{target:c,replace:i,unstable_mask:o,state:d,preventScrollReset:h,relative:m,viewTransition:p,unstable_defaultShouldRevalidate:g,unstable_useTransitions:v}={}){let x=Mn(),y=pn(),N=Nc(s,{relative:m});return b.useCallback(R=>{if(n_(R,c)){R.preventDefault();let A=i!==void 0?i:mc(y)===mc(N),O=()=>x(s,{replace:A,unstable_mask:o,state:d,preventScrollReset:h,relative:m,viewTransition:p,unstable_defaultShouldRevalidate:g});v?b.startTransition(()=>O()):O()}},[y,x,N,i,o,d,c,s,h,m,p,g,v])}var w_=0,C_=()=>`__${String(++w_)}__`;function T_(){let{router:s}=Cp("useSubmit"),{basename:c}=b.useContext(mn),i=Yg(),o=s.fetch,d=s.navigate;return b.useCallback(async(h,m={})=>{let{action:p,method:g,encType:v,formData:x,body:y}=s_(h,c);if(m.navigate===!1){let N=m.fetcherKey||C_();await o(N,i,m.action||p,{unstable_defaultShouldRevalidate:m.unstable_defaultShouldRevalidate,preventScrollReset:m.preventScrollReset,formData:x,body:y,formMethod:m.method||g,formEncType:m.encType||v,flushSync:m.flushSync})}else await d(m.action||p,{unstable_defaultShouldRevalidate:m.unstable_defaultShouldRevalidate,preventScrollReset:m.preventScrollReset,formData:x,body:y,formMethod:m.method||g,formEncType:m.encType||v,replace:m.replace,state:m.state,fromRouteId:i,flushSync:m.flushSync,viewTransition:m.viewTransition})},[o,d,c,i])}function E_(s,{relative:c}={}){let{basename:i}=b.useContext(mn),o=b.useContext(On);et(o,"useFormAction must be used inside a RouteContext");let[d]=o.matches.slice(-1),h={...Nc(s||".",{relative:c})},m=pn();if(s==null){h.search=m.search;let p=new URLSearchParams(h.search),g=p.getAll("index");if(g.some(x=>x==="")){p.delete("index"),g.filter(y=>y).forEach(y=>p.append("index",y));let x=p.toString();h.search=x?`?${x}`:""}}return(!s||s===".")&&d.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(h.pathname=h.pathname==="/"?i:Un([i,h.pathname])),mc(h)}function R_(s,{relative:c}={}){let i=b.useContext(pp);et(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Cp("useViewTransitionState"),d=Nc(s,{relative:c});if(!i.isTransitioning)return!1;let h=Tl(i.currentLocation.pathname,o)||i.currentLocation.pathname,m=Tl(i.nextLocation.pathname,o)||i.nextLocation.pathname;return Pr(d.pathname,m)!=null||Pr(d.pathname,h)!=null}const A_="_btn_8fkbu_1",O_="_primary_8fkbu_17",M_="_danger_8fkbu_27",D_="_ghost_8fkbu_37",z_="_outline_8fkbu_47",nm={btn:A_,primary:O_,danger:M_,ghost:D_,outline:z_};function Rn({variant:s,children:c,onClick:i,type:o="button",disabled:d}){return l.jsx("button",{type:o,className:`${nm.btn} ${nm[s]}`,onClick:i,disabled:d,children:c})}const L_="_field_zffpb_1",B_="_label_zffpb_7",U_="_wrap_zffpb_14",k_="_input_zffpb_18",H_="_readonly_zffpb_37",q_="_copied_zffpb_44",$_="_iconCheck_zffpb_59",G_="_iconLock_zffpb_68",V_="_withToggle_zffpb_76",F_="_togglePw_zffpb_80",Qn={field:L_,label:B_,wrap:U_,input:k_,readonly:H_,copied:q_,iconCheck:$_,iconLock:G_,withToggle:V_,togglePw:F_};function jt({label:s,value:c,placeholder:i,type:o="text",onChange:d,readOnly:h,required:m,icon:p}){const[g,v]=b.useState(!1),[x,y]=b.useState(!1),N=o==="password",R=N?x?"text":"password":o,A=()=>{h&&navigator.clipboard.writeText(c).then(()=>{v(!0),setTimeout(()=>v(!1),1500)})};return l.jsxs("div",{className:Qn.field,children:[l.jsx("label",{className:Qn.label,children:s}),l.jsxs("div",{className:Qn.wrap,onClick:A,children:[l.jsx("input",{className:`${Qn.input} ${N?Qn.withToggle:""} ${h?Qn.readonly:""} ${g?Qn.copied:""}`,type:R,...d?{value:c,onChange:O=>d(O.target.value)}:{defaultValue:c},placeholder:i,readOnly:h,required:m}),N&&l.jsx("button",{type:"button",className:Qn.togglePw,onClick:O=>{O.stopPropagation(),y(w=>!w)},"aria-label":x?"Скрыть пароль":"Показать пароль",children:x?l.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[l.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"}),l.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"}),l.jsx("line",{x1:"1",y1:"1",x2:"23",y2:"23"})]}):l.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z"}),l.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}),p==="check"&&l.jsx("span",{className:Qn.iconCheck,children:"✓"}),p==="lock"&&l.jsx("span",{className:Qn.iconLock,children:"🔒"})]})]})}const Q_="_notification_m7zar_1",Y_="_slideIn_m7zar_1",X_="_notificationWrapper_m7zar_19",Z_="_closing_m7zar_24",K_="_slideOut_m7zar_1",I_="_icon_m7zar_52",W_="_success_m7zar_65",P_="_error_m7zar_70",J_="_info_m7zar_75",ey="_warning_m7zar_80",ty="_message_m7zar_85",ny="_close_m7zar_93",Oa={notification:Q_,slideIn:Y_,notificationWrapper:X_,closing:Z_,slideOut:K_,icon:I_,success:W_,error:P_,info:J_,warning:ey,message:ty,close:ny},ly={success:"✓",error:"✕",info:"i",warning:"!"};function Tp({message:s,status:c,onClose:i}){const[o,d]=b.useState(!1);function h(){d(!0)}function m(){o&&i()}return l.jsxs("div",{className:`${Oa.notification} ${Oa[c]} ${o?Oa.closing:""}`,onAnimationEnd:m,children:[l.jsxs("div",{className:Oa.notificationWrapper,children:[l.jsx("span",{className:Oa.icon,children:ly[c]}),l.jsx("p",{className:Oa.message,children:s})]}),l.jsx("button",{className:Oa.close,onClick:h,children:"✕"})]})}const ay="_pill_3oadq_1",sy={pill:ay};function iy({children:s}){return l.jsx("span",{className:sy.pill,children:s})}const cy="_btn_ytb12_1",ry={btn:cy};function Xa({label:s="Подтвердить своп",onClick:c,type:i="submit",disabled:o}){return l.jsx("button",{type:i,className:ry.btn,onClick:c,disabled:o,children:s})}const oy="_icon_73irc_1",uy={icon:oy};function lm({letter:s,color:c,logo:i,size:o=40}){return l.jsx("div",{className:uy.icon,style:{background:i?"transparent":c,width:o,height:o,fontSize:o*.45},children:i?l.jsx("img",{src:i,alt:s,style:{width:o*.7,height:o*.7}}):s})}const dy="_section_11f1k_1",fy="_wrap_11f1k_7",hy="_descBlock_11f1k_16",my="_descText_11f1k_22",py="_right_11f1k_33",vy="_glow_11f1k_37",gy="_row_11f1k_49",_y="_check_11f1k_87",yy="_text_11f1k_101",Yn={section:dy,wrap:fy,descBlock:hy,descText:my,right:py,glow:vy,row:gy,check:_y,text:yy},xy="_title_1oq3h_1",by={title:xy};function Ep({children:s}){return l.jsx("h2",{className:by.title,children:s})}const am=["Вся деятельность компании соответствует законодательству Российской Федерации и требованиям регуляторов","Вся документация компании открыта и доступна для ознакомления","Операции защищены шифрованием уровня ERC-20 и проходят верификацию в блокчейне"];function jy(){const[s,c]=b.useState(-1);return l.jsx("section",{id:"about",className:Yn.section,children:l.jsxs("div",{className:Yn.wrap,children:[l.jsxs("div",{children:[l.jsx(iy,{children:"О КОМПАНИИ"}),l.jsx(Ep,{children:"О нас"}),l.jsxs("div",{className:Yn.descBlock,children:[l.jsx("p",{className:Yn.descText,children:"ЭКСА — молодая финтех-компания в сфере цифровых активов. Наша миссия — сделать оборот цифровых активов простым, прозрачным и законным."}),l.jsx("p",{className:Yn.descText,children:"Мы создаём инфраструктуру для операций с криптовалютой и комплексные решения для физических и юридических лиц."})]})]}),l.jsxs("div",{className:Yn.right,children:[l.jsx("div",{className:Yn.glow}),am.map((i,o)=>l.jsxs("div",{className:Yn.row,"data-hovered":s===o||void 0,"data-last":o===am.length-1||void 0,onMouseEnter:()=>c(o),onMouseLeave:()=>c(-1),children:[l.jsx("div",{className:Yn.check,children:"✓"}),l.jsx("span",{className:Yn.text,children:i})]},o))]})]})})}const Sy=new Date("2026-05-21T00:00:00").getTime(),Rp=80,Ap=21,wl=[{min:5e3,max:3e4,pct:8},{min:30001,max:1e5,pct:6},{min:100001,max:6e5,pct:4}],k0=wl[0].min,P0=wl[wl.length-1].max;function Ny(s){const c=wl.find(i=>s>=i.min&&s<=i.max);return c||(s>P0?{pct:wl[wl.length-1].pct}:{pct:wl[0].pct})}function A2(s){return s<=k0?0:s>=P0?100:(s-k0)/(P0-k0)*100}function Op({usdtRate:s}){const[c,i]=b.useState("buy"),[o,d]=b.useState("1000"),[h,m]=b.useState(!1),p=Number.parseFloat(o)||0,g=b.useMemo(()=>{const y=Ny(p),N=p*y.pct/100,A=s*(1+(c==="buy"?1:-1)*y.pct/100),O=p>0?(p/A).toFixed(2):"0.00";return{tierPct:y.pct,commission:N,effectiveRate:A,usdtVal:O,progress:A2(p)}},[p,c,s]);function v(y){d(y.replace(/[^0-9.]/g,""))}function x(){i(y=>y==="buy"?"sell":"buy")}return{mode:c,setMode:i,rubVal:o,updateRub:v,numRub:p,agreed:h,setAgreed:m,toggleMode:x,...g}}var li=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ka,na,Hs,Im,wy=(Im=class extends li{constructor(){super();ie(this,ka);ie(this,na);ie(this,Hs);W(this,Hs,c=>{if(typeof window<"u"&&window.addEventListener){const i=()=>c();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){S(this,na)||this.setEventListener(S(this,Hs))}onUnsubscribe(){var c;this.hasListeners()||((c=S(this,na))==null||c.call(this),W(this,na,void 0))}setEventListener(c){var i;W(this,Hs,c),(i=S(this,na))==null||i.call(this),W(this,na,c(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(c){S(this,ka)!==c&&(W(this,ka,c),this.onFocus())}onFocus(){const c=this.isFocused();this.listeners.forEach(i=>{i(c)})}isFocused(){var c;return typeof S(this,ka)=="boolean"?S(this,ka):((c=globalThis.document)==null?void 0:c.visibilityState)!=="hidden"}},ka=new WeakMap,na=new WeakMap,Hs=new WeakMap,Im),O2=new wy,Cy={setTimeout:(s,c)=>setTimeout(s,c),clearTimeout:s=>clearTimeout(s),setInterval:(s,c)=>setInterval(s,c),clearInterval:s=>clearInterval(s)},la,x2,Wm,Ty=(Wm=class{constructor(){ie(this,la,Cy);ie(this,x2,!1)}setTimeoutProvider(s){W(this,la,s)}setTimeout(s,c){return S(this,la).setTimeout(s,c)}clearTimeout(s){S(this,la).clearTimeout(s)}setInterval(s,c){return S(this,la).setInterval(s,c)}clearInterval(s){S(this,la).clearInterval(s)}},la=new WeakMap,x2=new WeakMap,Wm),Ua=new Ty;function Ey(s){setTimeout(s,0)}var Ry=typeof window>"u"||"Deno"in globalThis;function kt(){}function Ay(s,c){return typeof s=="function"?s(c):s}function J0(s){return typeof s=="number"&&s>=0&&s!==1/0}function Mp(s,c){return Math.max(s+(c||0)-Date.now(),0)}function da(s,c){return typeof s=="function"?s(c):s}function hn(s,c){return typeof s=="function"?s(c):s}function sm(s,c){const{type:i="all",exact:o,fetchStatus:d,predicate:h,queryKey:m,stale:p}=s;if(m){if(o){if(c.queryHash!==M2(m,c.options))return!1}else if(!vc(c.queryKey,m))return!1}if(i!=="all"){const g=c.isActive();if(i==="active"&&!g||i==="inactive"&&g)return!1}return!(typeof p=="boolean"&&c.isStale()!==p||d&&d!==c.state.fetchStatus||h&&!h(c))}function im(s,c){const{exact:i,status:o,predicate:d,mutationKey:h}=s;if(h){if(!c.options.mutationKey)return!1;if(i){if(Za(c.options.mutationKey)!==Za(h))return!1}else if(!vc(c.options.mutationKey,h))return!1}return!(o&&c.state.status!==o||d&&!d(c))}function M2(s,c){return((c==null?void 0:c.queryKeyHashFn)||Za)(s)}function Za(s){return JSON.stringify(s,(c,i)=>e2(i)?Object.keys(i).sort().reduce((o,d)=>(o[d]=i[d],o),{}):i)}function vc(s,c){return s===c?!0:typeof s!=typeof c?!1:s&&c&&typeof s=="object"&&typeof c=="object"?Object.keys(c).every(i=>vc(s[i],c[i])):!1}var Oy=Object.prototype.hasOwnProperty;function Dp(s,c,i=0){if(s===c)return s;if(i>500)return c;const o=cm(s)&&cm(c);if(!o&&!(e2(s)&&e2(c)))return c;const h=(o?s:Object.keys(s)).length,m=o?c:Object.keys(c),p=m.length,g=o?new Array(p):{};let v=0;for(let x=0;x<p;x++){const y=o?x:m[x],N=s[y],R=c[y];if(N===R){g[y]=N,(o?x<h:Oy.call(s,y))&&v++;continue}if(N===null||R===null||typeof N!="object"||typeof R!="object"){g[y]=R;continue}const A=Dp(N,R,i+1);g[y]=A,A===N&&v++}return h===p&&v===h?s:g}function eo(s,c){if(!c||Object.keys(s).length!==Object.keys(c).length)return!1;for(const i in s)if(s[i]!==c[i])return!1;return!0}function cm(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function e2(s){if(!rm(s))return!1;const c=s.constructor;if(c===void 0)return!0;const i=c.prototype;return!(!rm(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function rm(s){return Object.prototype.toString.call(s)==="[object Object]"}function My(s){return new Promise(c=>{Ua.setTimeout(c,s)})}function t2(s,c,i){return typeof i.structuralSharing=="function"?i.structuralSharing(s,c):i.structuralSharing!==!1?Dp(s,c):c}function Dy(s,c,i=0){const o=[...s,c];return i&&o.length>i?o.slice(1):o}function zy(s,c,i=0){const o=[c,...s];return i&&o.length>i?o.slice(0,-1):o}var D2=Symbol();function zp(s,c){return!s.queryFn&&(c!=null&&c.initialPromise)?()=>c.initialPromise:!s.queryFn||s.queryFn===D2?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function z2(s,c){return typeof s=="function"?s(...c):!!s}function Ly(s,c,i){let o=!1,d;return Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(d??(d=c()),o||(o=!0,d.aborted?i():d.addEventListener("abort",i,{once:!0})),d)}),s}var gc=(()=>{let s=()=>Ry;return{isServer(){return s()},setIsServer(c){s=c}}})();function n2(){let s,c;const i=new Promise((d,h)=>{s=d,c=h});i.status="pending",i.catch(()=>{});function o(d){Object.assign(i,d),delete i.resolve,delete i.reject}return i.resolve=d=>{o({status:"fulfilled",value:d}),s(d)},i.reject=d=>{o({status:"rejected",reason:d}),c(d)},i}var By=Ey;function Uy(){let s=[],c=0,i=p=>{p()},o=p=>{p()},d=By;const h=p=>{c?s.push(p):d(()=>{i(p)})},m=()=>{const p=s;s=[],p.length&&d(()=>{o(()=>{p.forEach(g=>{i(g)})})})};return{batch:p=>{let g;c++;try{g=p()}finally{c--,c||m()}return g},batchCalls:p=>(...g)=>{h(()=>{p(...g)})},schedule:h,setNotifyFunction:p=>{i=p},setBatchNotifyFunction:p=>{o=p},setScheduler:p=>{d=p}}}var vt=Uy(),qs,aa,$s,Pm,ky=(Pm=class extends li{constructor(){super();ie(this,qs,!0);ie(this,aa);ie(this,$s);W(this,$s,c=>{if(typeof window<"u"&&window.addEventListener){const i=()=>c(!0),o=()=>c(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",o)}}})}onSubscribe(){S(this,aa)||this.setEventListener(S(this,$s))}onUnsubscribe(){var c;this.hasListeners()||((c=S(this,aa))==null||c.call(this),W(this,aa,void 0))}setEventListener(c){var i;W(this,$s,c),(i=S(this,aa))==null||i.call(this),W(this,aa,c(this.setOnline.bind(this)))}setOnline(c){S(this,qs)!==c&&(W(this,qs,c),this.listeners.forEach(o=>{o(c)}))}isOnline(){return S(this,qs)}},qs=new WeakMap,aa=new WeakMap,$s=new WeakMap,Pm),to=new ky;function Hy(s){return Math.min(1e3*2**s,3e4)}function Lp(s){return(s??"online")==="online"?to.isOnline():!0}var l2=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function Bp(s){let c=!1,i=0,o;const d=n2(),h=()=>d.status!=="pending",m=O=>{var w;if(!h()){const z=new l2(O);N(z),(w=s.onCancel)==null||w.call(s,z)}},p=()=>{c=!0},g=()=>{c=!1},v=()=>O2.isFocused()&&(s.networkMode==="always"||to.isOnline())&&s.canRun(),x=()=>Lp(s.networkMode)&&s.canRun(),y=O=>{h()||(o==null||o(),d.resolve(O))},N=O=>{h()||(o==null||o(),d.reject(O))},R=()=>new Promise(O=>{var w;o=z=>{(h()||v())&&O(z)},(w=s.onPause)==null||w.call(s)}).then(()=>{var O;o=void 0,h()||(O=s.onContinue)==null||O.call(s)}),A=()=>{if(h())return;let O;const w=i===0?s.initialPromise:void 0;try{O=w??s.fn()}catch(z){O=Promise.reject(z)}Promise.resolve(O).then(y).catch(z=>{var ne;if(h())return;const F=s.retry??(gc.isServer()?0:3),$=s.retryDelay??Hy,V=typeof $=="function"?$(i,z):$,K=F===!0||typeof F=="number"&&i<F||typeof F=="function"&&F(i,z);if(c||!K){N(z);return}i++,(ne=s.onFail)==null||ne.call(s,i,z),My(V).then(()=>v()?void 0:R()).then(()=>{c?N(z):A()})})};return{promise:d,status:()=>d.status,cancel:m,continue:()=>(o==null||o(),d),cancelRetry:p,continueRetry:g,canStart:x,start:()=>(x()?A():R().then(A),d)}}var Ha,Jm,Up=(Jm=class{constructor(){ie(this,Ha)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),J0(this.gcTime)&&W(this,Ha,Ua.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(gc.isServer()?1/0:300*1e3))}clearGcTimeout(){S(this,Ha)!==void 0&&(Ua.clearTimeout(S(this,Ha)),W(this,Ha,void 0))}},Ha=new WeakMap,Jm);function qy(s){return{onFetch:(c,i)=>{var x,y,N,R,A;const o=c.options,d=(N=(y=(x=c.fetchOptions)==null?void 0:x.meta)==null?void 0:y.fetchMore)==null?void 0:N.direction,h=((R=c.state.data)==null?void 0:R.pages)||[],m=((A=c.state.data)==null?void 0:A.pageParams)||[];let p={pages:[],pageParams:[]},g=0;const v=async()=>{let O=!1;const w=$=>{Ly($,()=>c.signal,()=>O=!0)},z=zp(c.options,c.fetchOptions),F=async($,V,K)=>{if(O)return Promise.reject(c.signal.reason);if(V==null&&$.pages.length)return Promise.resolve($);const X=(()=>{const ge={client:c.client,queryKey:c.queryKey,pageParam:V,direction:K?"backward":"forward",meta:c.options.meta};return w(ge),ge})(),te=await z(X),{maxPages:de}=c.options,he=K?zy:Dy;return{pages:he($.pages,te,de),pageParams:he($.pageParams,V,de)}};if(d&&h.length){const $=d==="backward",V=$?kp:a2,K={pages:h,pageParams:m},ne=V(o,K);p=await F(K,ne,$)}else{const $=s??h.length;do{const V=g===0?m[0]??o.initialPageParam:a2(o,p);if(g>0&&V==null)break;p=await F(p,V),g++}while(g<$)}return p};c.options.persister?c.fetchFn=()=>{var O,w;return(w=(O=c.options).persister)==null?void 0:w.call(O,v,{client:c.client,queryKey:c.queryKey,meta:c.options.meta,signal:c.signal},i)}:c.fetchFn=v}}}function a2(s,{pages:c,pageParams:i}){const o=c.length-1;return c.length>0?s.getNextPageParam(c[o],c,i[o],i):void 0}function kp(s,{pages:c,pageParams:i}){var o;return c.length>0?(o=s.getPreviousPageParam)==null?void 0:o.call(s,c[0],c,i[0],i):void 0}function $y(s,c){return c?a2(s,c)!=null:!1}function Gy(s,c){return!c||!s.getPreviousPageParam?!1:kp(s,c)!=null}var Gs,qa,Vs,En,$a,xt,_c,Ga,fn,Hp,xl,ep,Vy=(ep=class extends Up{constructor(c){super();ie(this,fn);ie(this,Gs);ie(this,qa);ie(this,Vs);ie(this,En);ie(this,$a);ie(this,xt);ie(this,_c);ie(this,Ga);W(this,Ga,!1),W(this,_c,c.defaultOptions),this.setOptions(c.options),this.observers=[],W(this,$a,c.client),W(this,En,S(this,$a).getQueryCache()),this.queryKey=c.queryKey,this.queryHash=c.queryHash,W(this,qa,um(this.options)),this.state=c.state??S(this,qa),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return S(this,Gs)}get promise(){var c;return(c=S(this,xt))==null?void 0:c.promise}setOptions(c){if(this.options={...S(this,_c),...c},c!=null&&c._type&&W(this,Gs,c._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=um(this.options);i.data!==void 0&&(this.setState(om(i.data,i.dataUpdatedAt)),W(this,qa,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&S(this,En).remove(this)}setData(c,i){const o=t2(this.state.data,c,this.options);return je(this,fn,xl).call(this,{data:o,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),o}setState(c){je(this,fn,xl).call(this,{type:"setState",state:c})}cancel(c){var o,d;const i=(o=S(this,xt))==null?void 0:o.promise;return(d=S(this,xt))==null||d.cancel(c),i?i.then(kt).catch(kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return S(this,qa)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(c=>hn(c.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===D2||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(c=>da(c.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(c=>c.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(c=0){return this.state.data===void 0?!0:c==="static"?!1:this.state.isInvalidated?!0:!Mp(this.state.dataUpdatedAt,c)}onFocus(){var i;const c=this.observers.find(o=>o.shouldFetchOnWindowFocus());c==null||c.refetch({cancelRefetch:!1}),(i=S(this,xt))==null||i.continue()}onOnline(){var i;const c=this.observers.find(o=>o.shouldFetchOnReconnect());c==null||c.refetch({cancelRefetch:!1}),(i=S(this,xt))==null||i.continue()}addObserver(c){this.observers.includes(c)||(this.observers.push(c),this.clearGcTimeout(),S(this,En).notify({type:"observerAdded",query:this,observer:c}))}removeObserver(c){this.observers.includes(c)&&(this.observers=this.observers.filter(i=>i!==c),this.observers.length||(S(this,xt)&&(S(this,Ga)||je(this,fn,Hp).call(this)?S(this,xt).cancel({revert:!0}):S(this,xt).cancelRetry()),this.scheduleGc()),S(this,En).notify({type:"observerRemoved",query:this,observer:c}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,fn,xl).call(this,{type:"invalidate"})}async fetch(c,i){var v,x,y,N,R,A,O,w,z,F,$;if(this.state.fetchStatus!=="idle"&&((v=S(this,xt))==null?void 0:v.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(S(this,xt))return S(this,xt).continueRetry(),S(this,xt).promise}if(c&&this.setOptions(c),!this.options.queryFn){const V=this.observers.find(K=>K.options.queryFn);V&&this.setOptions(V.options)}const o=new AbortController,d=V=>{Object.defineProperty(V,"signal",{enumerable:!0,get:()=>(W(this,Ga,!0),o.signal)})},h=()=>{const V=zp(this.options,i),ne=(()=>{const X={client:S(this,$a),queryKey:this.queryKey,meta:this.meta};return d(X),X})();return W(this,Ga,!1),this.options.persister?this.options.persister(V,ne,this):V(ne)},p=(()=>{const V={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:S(this,$a),state:this.state,fetchFn:h};return d(V),V})(),g=S(this,Gs)==="infinite"?qy(this.options.pages):this.options.behavior;g==null||g.onFetch(p,this),W(this,Vs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((x=p.fetchOptions)==null?void 0:x.meta))&&je(this,fn,xl).call(this,{type:"fetch",meta:(y=p.fetchOptions)==null?void 0:y.meta}),W(this,xt,Bp({initialPromise:i==null?void 0:i.initialPromise,fn:p.fetchFn,onCancel:V=>{V instanceof l2&&V.revert&&this.setState({...S(this,Vs),fetchStatus:"idle"}),o.abort()},onFail:(V,K)=>{je(this,fn,xl).call(this,{type:"failed",failureCount:V,error:K})},onPause:()=>{je(this,fn,xl).call(this,{type:"pause"})},onContinue:()=>{je(this,fn,xl).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0}));try{const V=await S(this,xt).start();if(V===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(V),(R=(N=S(this,En).config).onSuccess)==null||R.call(N,V,this),(O=(A=S(this,En).config).onSettled)==null||O.call(A,V,this.state.error,this),V}catch(V){if(V instanceof l2){if(V.silent)return S(this,xt).promise;if(V.revert){if(this.state.data===void 0)throw V;return this.state.data}}throw je(this,fn,xl).call(this,{type:"error",error:V}),(z=(w=S(this,En).config).onError)==null||z.call(w,V,this),($=(F=S(this,En).config).onSettled)==null||$.call(F,this.state.data,V,this),V}finally{this.scheduleGc()}}},Gs=new WeakMap,qa=new WeakMap,Vs=new WeakMap,En=new WeakMap,$a=new WeakMap,xt=new WeakMap,_c=new WeakMap,Ga=new WeakMap,fn=new WeakSet,Hp=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},xl=function(c){const i=o=>{switch(c.type){case"failed":return{...o,fetchFailureCount:c.failureCount,fetchFailureReason:c.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...qp(o.data,this.options),fetchMeta:c.meta??null};case"success":const d={...o,...om(c.data,c.dataUpdatedAt),dataUpdateCount:o.dataUpdateCount+1,...!c.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return W(this,Vs,c.manual?d:void 0),d;case"error":const h=c.error;return{...o,error:h,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:h,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...c.state}}};this.state=i(this.state),vt.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),S(this,En).notify({query:this,type:"updated",action:c})})},ep);function qp(s,c){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Lp(c.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function om(s,c){return{data:s,dataUpdatedAt:c??Date.now(),error:null,isInvalidated:!1,status:"success"}}function um(s){const c=typeof s.initialData=="function"?s.initialData():s.initialData,i=c!==void 0,o=i?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:c,dataUpdateCount:0,dataUpdatedAt:i?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var Kt,Me,yc,Ut,Va,Fs,bl,sa,xc,Qs,Ys,Fa,Qa,ia,Xs,qe,fc,s2,i2,c2,r2,o2,u2,d2,Gp,tp,$p=(tp=class extends li{constructor(c,i){super();ie(this,qe);ie(this,Kt);ie(this,Me);ie(this,yc);ie(this,Ut);ie(this,Va);ie(this,Fs);ie(this,bl);ie(this,sa);ie(this,xc);ie(this,Qs);ie(this,Ys);ie(this,Fa);ie(this,Qa);ie(this,ia);ie(this,Xs,new Set);this.options=i,W(this,Kt,c),W(this,sa,null),W(this,bl,n2()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(S(this,Me).addObserver(this),dm(S(this,Me),this.options)?je(this,qe,fc).call(this):this.updateResult(),je(this,qe,r2).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f2(S(this,Me),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f2(S(this,Me),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,je(this,qe,o2).call(this),je(this,qe,u2).call(this),S(this,Me).removeObserver(this)}setOptions(c){const i=this.options,o=S(this,Me);if(this.options=S(this,Kt).defaultQueryOptions(c),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof hn(this.options.enabled,S(this,Me))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");je(this,qe,d2).call(this),S(this,Me).setOptions(this.options),i._defaulted&&!eo(this.options,i)&&S(this,Kt).getQueryCache().notify({type:"observerOptionsUpdated",query:S(this,Me),observer:this});const d=this.hasListeners();d&&fm(S(this,Me),o,this.options,i)&&je(this,qe,fc).call(this),this.updateResult(),d&&(S(this,Me)!==o||hn(this.options.enabled,S(this,Me))!==hn(i.enabled,S(this,Me))||da(this.options.staleTime,S(this,Me))!==da(i.staleTime,S(this,Me)))&&je(this,qe,s2).call(this);const h=je(this,qe,i2).call(this);d&&(S(this,Me)!==o||hn(this.options.enabled,S(this,Me))!==hn(i.enabled,S(this,Me))||h!==S(this,ia))&&je(this,qe,c2).call(this,h)}getOptimisticResult(c){const i=S(this,Kt).getQueryCache().build(S(this,Kt),c),o=this.createResult(i,c);return Qy(this,o)&&(W(this,Ut,o),W(this,Fs,this.options),W(this,Va,S(this,Me).state)),o}getCurrentResult(){return S(this,Ut)}trackResult(c,i){return new Proxy(c,{get:(o,d)=>(this.trackProp(d),i==null||i(d),d==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&S(this,bl).status==="pending"&&S(this,bl).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(o,d))})}trackProp(c){S(this,Xs).add(c)}getCurrentQuery(){return S(this,Me)}refetch({...c}={}){return this.fetch({...c})}fetchOptimistic(c){const i=S(this,Kt).defaultQueryOptions(c),o=S(this,Kt).getQueryCache().build(S(this,Kt),i);return o.fetch().then(()=>this.createResult(o,i))}fetch(c){return je(this,qe,fc).call(this,{...c,cancelRefetch:c.cancelRefetch??!0}).then(()=>(this.updateResult(),S(this,Ut)))}createResult(c,i){var de;const o=S(this,Me),d=this.options,h=S(this,Ut),m=S(this,Va),p=S(this,Fs),v=c!==o?c.state:S(this,yc),{state:x}=c;let y={...x},N=!1,R;if(i._optimisticResults){const he=this.hasListeners(),ge=!he&&dm(c,i),De=he&&fm(c,o,i,d);(ge||De)&&(y={...y,...qp(x.data,c.options)}),i._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:A,errorUpdatedAt:O,status:w}=y;R=y.data;let z=!1;if(i.placeholderData!==void 0&&R===void 0&&w==="pending"){let he;h!=null&&h.isPlaceholderData&&i.placeholderData===(p==null?void 0:p.placeholderData)?(he=h.data,z=!0):he=typeof i.placeholderData=="function"?i.placeholderData((de=S(this,Ys))==null?void 0:de.state.data,S(this,Ys)):i.placeholderData,he!==void 0&&(w="success",R=t2(h==null?void 0:h.data,he,i),N=!0)}if(i.select&&R!==void 0&&!z)if(h&&R===(m==null?void 0:m.data)&&i.select===S(this,xc))R=S(this,Qs);else try{W(this,xc,i.select),R=i.select(R),R=t2(h==null?void 0:h.data,R,i),W(this,Qs,R),W(this,sa,null)}catch(he){W(this,sa,he)}S(this,sa)&&(A=S(this,sa),R=S(this,Qs),O=Date.now(),w="error");const F=y.fetchStatus==="fetching",$=w==="pending",V=w==="error",K=$&&F,ne=R!==void 0,te={status:w,fetchStatus:y.fetchStatus,isPending:$,isSuccess:w==="success",isError:V,isInitialLoading:K,isLoading:K,data:R,dataUpdatedAt:y.dataUpdatedAt,error:A,errorUpdatedAt:O,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:c.isFetched(),isFetchedAfterMount:y.dataUpdateCount>v.dataUpdateCount||y.errorUpdateCount>v.errorUpdateCount,isFetching:F,isRefetching:F&&!$,isLoadingError:V&&!ne,isPaused:y.fetchStatus==="paused",isPlaceholderData:N,isRefetchError:V&&ne,isStale:L2(c,i),refetch:this.refetch,promise:S(this,bl),isEnabled:hn(i.enabled,c)!==!1};if(this.options.experimental_prefetchInRender){const he=te.data!==void 0,ge=te.status==="error"&&!he,De=ze=>{ge?ze.reject(te.error):he&&ze.resolve(te.data)},se=()=>{const ze=W(this,bl,te.promise=n2());De(ze)},$e=S(this,bl);switch($e.status){case"pending":c.queryHash===o.queryHash&&De($e);break;case"fulfilled":(ge||te.data!==$e.value)&&se();break;case"rejected":(!ge||te.error!==$e.reason)&&se();break}}return te}updateResult(){const c=S(this,Ut),i=this.createResult(S(this,Me),this.options);if(W(this,Va,S(this,Me).state),W(this,Fs,this.options),S(this,Va).data!==void 0&&W(this,Ys,S(this,Me)),eo(i,c))return;W(this,Ut,i);const o=()=>{if(!c)return!0;const{notifyOnChangeProps:d}=this.options,h=typeof d=="function"?d():d;if(h==="all"||!h&&!S(this,Xs).size)return!0;const m=new Set(h??S(this,Xs));return this.options.throwOnError&&m.add("error"),Object.keys(S(this,Ut)).some(p=>{const g=p;return S(this,Ut)[g]!==c[g]&&m.has(g)})};je(this,qe,Gp).call(this,{listeners:o()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&je(this,qe,r2).call(this)}},Kt=new WeakMap,Me=new WeakMap,yc=new WeakMap,Ut=new WeakMap,Va=new WeakMap,Fs=new WeakMap,bl=new WeakMap,sa=new WeakMap,xc=new WeakMap,Qs=new WeakMap,Ys=new WeakMap,Fa=new WeakMap,Qa=new WeakMap,ia=new WeakMap,Xs=new WeakMap,qe=new WeakSet,fc=function(c){je(this,qe,d2).call(this);let i=S(this,Me).fetch(this.options,c);return c!=null&&c.throwOnError||(i=i.catch(kt)),i},s2=function(){je(this,qe,o2).call(this);const c=da(this.options.staleTime,S(this,Me));if(gc.isServer()||S(this,Ut).isStale||!J0(c))return;const o=Mp(S(this,Ut).dataUpdatedAt,c)+1;W(this,Fa,Ua.setTimeout(()=>{S(this,Ut).isStale||this.updateResult()},o))},i2=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(S(this,Me)):this.options.refetchInterval)??!1},c2=function(c){je(this,qe,u2).call(this),W(this,ia,c),!(gc.isServer()||hn(this.options.enabled,S(this,Me))===!1||!J0(S(this,ia))||S(this,ia)===0)&&W(this,Qa,Ua.setInterval(()=>{(this.options.refetchIntervalInBackground||O2.isFocused())&&je(this,qe,fc).call(this)},S(this,ia)))},r2=function(){je(this,qe,s2).call(this),je(this,qe,c2).call(this,je(this,qe,i2).call(this))},o2=function(){S(this,Fa)!==void 0&&(Ua.clearTimeout(S(this,Fa)),W(this,Fa,void 0))},u2=function(){S(this,Qa)!==void 0&&(Ua.clearInterval(S(this,Qa)),W(this,Qa,void 0))},d2=function(){const c=S(this,Kt).getQueryCache().build(S(this,Kt),this.options);if(c===S(this,Me))return;const i=S(this,Me);W(this,Me,c),W(this,yc,c.state),this.hasListeners()&&(i==null||i.removeObserver(this),c.addObserver(this))},Gp=function(c){vt.batch(()=>{c.listeners&&this.listeners.forEach(i=>{i(S(this,Ut))}),S(this,Kt).getQueryCache().notify({query:S(this,Me),type:"observerResultsUpdated"})})},tp);function Fy(s,c){return hn(c.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&hn(c.retryOnMount,s)===!1)}function dm(s,c){return Fy(s,c)||s.state.data!==void 0&&f2(s,c,c.refetchOnMount)}function f2(s,c,i){if(hn(c.enabled,s)!==!1&&da(c.staleTime,s)!=="static"){const o=typeof i=="function"?i(s):i;return o==="always"||o!==!1&&L2(s,c)}return!1}function fm(s,c,i,o){return(s!==c||hn(o.enabled,s)===!1)&&(!i.suspense||s.state.status!=="error")&&L2(s,i)}function L2(s,c){return hn(c.enabled,s)!==!1&&s.isStaleByTime(da(c.staleTime,s))}function Qy(s,c){return!eo(s.getCurrentResult(),c)}var Yy=class extends $p{constructor(s,c){super(s,c)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(s){s._type="infinite",super.setOptions(s)}getOptimisticResult(s){return s._type="infinite",super.getOptimisticResult(s)}fetchNextPage(s){return this.fetch({...s,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(s){return this.fetch({...s,meta:{fetchMore:{direction:"backward"}}})}createResult(s,c){var A,O;const{state:i}=s,o=super.createResult(s,c),{isFetching:d,isRefetching:h,isError:m,isRefetchError:p}=o,g=(O=(A=i.fetchMeta)==null?void 0:A.fetchMore)==null?void 0:O.direction,v=m&&g==="forward",x=d&&g==="forward",y=m&&g==="backward",N=d&&g==="backward";return{...o,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:$y(c,i.data),hasPreviousPage:Gy(c,i.data),isFetchNextPageError:v,isFetchingNextPage:x,isFetchPreviousPageError:y,isFetchingPreviousPage:N,isRefetchError:p&&!v&&!y,isRefetching:h&&!x&&!N}}},bc,Kn,At,Ya,In,ta,np,Xy=(np=class extends Up{constructor(c){super();ie(this,In);ie(this,bc);ie(this,Kn);ie(this,At);ie(this,Ya);W(this,bc,c.client),this.mutationId=c.mutationId,W(this,At,c.mutationCache),W(this,Kn,[]),this.state=c.state||Vp(),this.setOptions(c.options),this.scheduleGc()}setOptions(c){this.options=c,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(c){S(this,Kn).includes(c)||(S(this,Kn).push(c),this.clearGcTimeout(),S(this,At).notify({type:"observerAdded",mutation:this,observer:c}))}removeObserver(c){W(this,Kn,S(this,Kn).filter(i=>i!==c)),this.scheduleGc(),S(this,At).notify({type:"observerRemoved",mutation:this,observer:c})}optionalRemove(){S(this,Kn).length||(this.state.status==="pending"?this.scheduleGc():S(this,At).remove(this))}continue(){var c;return((c=S(this,Ya))==null?void 0:c.continue())??this.execute(this.state.variables)}async execute(c){var m,p,g,v,x,y,N,R,A,O,w,z,F,$,V,K,ne,X;const i=()=>{je(this,In,ta).call(this,{type:"continue"})},o={client:S(this,bc),meta:this.options.meta,mutationKey:this.options.mutationKey};W(this,Ya,Bp({fn:()=>this.options.mutationFn?this.options.mutationFn(c,o):Promise.reject(new Error("No mutationFn found")),onFail:(te,de)=>{je(this,In,ta).call(this,{type:"failed",failureCount:te,error:de})},onPause:()=>{je(this,In,ta).call(this,{type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,At).canRun(this)}));const d=this.state.status==="pending",h=!S(this,Ya).canStart();try{if(d)i();else{je(this,In,ta).call(this,{type:"pending",variables:c,isPaused:h}),S(this,At).config.onMutate&&await S(this,At).config.onMutate(c,this,o);const de=await((p=(m=this.options).onMutate)==null?void 0:p.call(m,c,o));de!==this.state.context&&je(this,In,ta).call(this,{type:"pending",context:de,variables:c,isPaused:h})}const te=await S(this,Ya).start();return await((v=(g=S(this,At).config).onSuccess)==null?void 0:v.call(g,te,c,this.state.context,this,o)),await((y=(x=this.options).onSuccess)==null?void 0:y.call(x,te,c,this.state.context,o)),await((R=(N=S(this,At).config).onSettled)==null?void 0:R.call(N,te,null,this.state.variables,this.state.context,this,o)),await((O=(A=this.options).onSettled)==null?void 0:O.call(A,te,null,c,this.state.context,o)),je(this,In,ta).call(this,{type:"success",data:te}),te}catch(te){try{await((z=(w=S(this,At).config).onError)==null?void 0:z.call(w,te,c,this.state.context,this,o))}catch(de){Promise.reject(de)}try{await(($=(F=this.options).onError)==null?void 0:$.call(F,te,c,this.state.context,o))}catch(de){Promise.reject(de)}try{await((K=(V=S(this,At).config).onSettled)==null?void 0:K.call(V,void 0,te,this.state.variables,this.state.context,this,o))}catch(de){Promise.reject(de)}try{await((X=(ne=this.options).onSettled)==null?void 0:X.call(ne,void 0,te,c,this.state.context,o))}catch(de){Promise.reject(de)}throw je(this,In,ta).call(this,{type:"error",error:te}),te}finally{S(this,At).runNext(this)}}},bc=new WeakMap,Kn=new WeakMap,At=new WeakMap,Ya=new WeakMap,In=new WeakSet,ta=function(c){const i=o=>{switch(c.type){case"failed":return{...o,failureCount:c.failureCount,failureReason:c.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};case"pending":return{...o,context:c.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:c.isPaused,status:"pending",variables:c.variables,submittedAt:Date.now()};case"success":return{...o,data:c.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:c.error,failureCount:o.failureCount+1,failureReason:c.error,isPaused:!1,status:"error"}}};this.state=i(this.state),vt.batch(()=>{S(this,Kn).forEach(o=>{o.onMutationUpdate(c)}),S(this,At).notify({mutation:this,type:"updated",action:c})})},np);function Vp(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var jl,Bn,jc,lp,Zy=(lp=class extends li{constructor(c={}){super();ie(this,jl);ie(this,Bn);ie(this,jc);this.config=c,W(this,jl,new Set),W(this,Bn,new Map),W(this,jc,0)}build(c,i,o){const d=new Xy({client:c,mutationCache:this,mutationId:++Vr(this,jc)._,options:c.defaultMutationOptions(i),state:o});return this.add(d),d}add(c){S(this,jl).add(c);const i=Qr(c);if(typeof i=="string"){const o=S(this,Bn).get(i);o?o.push(c):S(this,Bn).set(i,[c])}this.notify({type:"added",mutation:c})}remove(c){if(S(this,jl).delete(c)){const i=Qr(c);if(typeof i=="string"){const o=S(this,Bn).get(i);if(o)if(o.length>1){const d=o.indexOf(c);d!==-1&&o.splice(d,1)}else o[0]===c&&S(this,Bn).delete(i)}}this.notify({type:"removed",mutation:c})}canRun(c){const i=Qr(c);if(typeof i=="string"){const o=S(this,Bn).get(i),d=o==null?void 0:o.find(h=>h.state.status==="pending");return!d||d===c}else return!0}runNext(c){var o;const i=Qr(c);if(typeof i=="string"){const d=(o=S(this,Bn).get(i))==null?void 0:o.find(h=>h!==c&&h.state.isPaused);return(d==null?void 0:d.continue())??Promise.resolve()}else return Promise.resolve()}clear(){vt.batch(()=>{S(this,jl).forEach(c=>{this.notify({type:"removed",mutation:c})}),S(this,jl).clear(),S(this,Bn).clear()})}getAll(){return Array.from(S(this,jl))}find(c){const i={exact:!0,...c};return this.getAll().find(o=>im(i,o))}findAll(c={}){return this.getAll().filter(i=>im(c,i))}notify(c){vt.batch(()=>{this.listeners.forEach(i=>{i(c)})})}resumePausedMutations(){const c=this.getAll().filter(i=>i.state.isPaused);return vt.batch(()=>Promise.all(c.map(i=>i.continue().catch(kt))))}},jl=new WeakMap,Bn=new WeakMap,jc=new WeakMap,lp);function Qr(s){var c;return(c=s.options.scope)==null?void 0:c.id}var Sl,ca,It,Nl,Cl,Wr,h2,ap,Ky=(ap=class extends li{constructor(i,o){super();ie(this,Cl);ie(this,Sl);ie(this,ca);ie(this,It);ie(this,Nl);W(this,Sl,i),this.setOptions(o),this.bindMethods(),je(this,Cl,Wr).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(i){var d;const o=this.options;this.options=S(this,Sl).defaultMutationOptions(i),eo(this.options,o)||S(this,Sl).getMutationCache().notify({type:"observerOptionsUpdated",mutation:S(this,It),observer:this}),o!=null&&o.mutationKey&&this.options.mutationKey&&Za(o.mutationKey)!==Za(this.options.mutationKey)?this.reset():((d=S(this,It))==null?void 0:d.state.status)==="pending"&&S(this,It).setOptions(this.options)}onUnsubscribe(){var i;this.hasListeners()||(i=S(this,It))==null||i.removeObserver(this)}onMutationUpdate(i){je(this,Cl,Wr).call(this),je(this,Cl,h2).call(this,i)}getCurrentResult(){return S(this,ca)}reset(){var i;(i=S(this,It))==null||i.removeObserver(this),W(this,It,void 0),je(this,Cl,Wr).call(this),je(this,Cl,h2).call(this)}mutate(i,o){var d;return W(this,Nl,o),(d=S(this,It))==null||d.removeObserver(this),W(this,It,S(this,Sl).getMutationCache().build(S(this,Sl),this.options)),S(this,It).addObserver(this),S(this,It).execute(i)}},Sl=new WeakMap,ca=new WeakMap,It=new WeakMap,Nl=new WeakMap,Cl=new WeakSet,Wr=function(){var o;const i=((o=S(this,It))==null?void 0:o.state)??Vp();W(this,ca,{...i,isPending:i.status==="pending",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset})},h2=function(i){vt.batch(()=>{var o,d,h,m,p,g,v,x;if(S(this,Nl)&&this.hasListeners()){const y=S(this,ca).variables,N=S(this,ca).context,R={client:S(this,Sl),meta:this.options.meta,mutationKey:this.options.mutationKey};if((i==null?void 0:i.type)==="success"){try{(d=(o=S(this,Nl)).onSuccess)==null||d.call(o,i.data,y,N,R)}catch(A){Promise.reject(A)}try{(m=(h=S(this,Nl)).onSettled)==null||m.call(h,i.data,null,y,N,R)}catch(A){Promise.reject(A)}}else if((i==null?void 0:i.type)==="error"){try{(g=(p=S(this,Nl)).onError)==null||g.call(p,i.error,y,N,R)}catch(A){Promise.reject(A)}try{(x=(v=S(this,Nl)).onSettled)==null||x.call(v,void 0,i.error,y,N,R)}catch(A){Promise.reject(A)}}}this.listeners.forEach(y=>{y(S(this,ca))})})},ap),Wn,sp,Iy=(sp=class extends li{constructor(c={}){super();ie(this,Wn);this.config=c,W(this,Wn,new Map)}build(c,i,o){const d=i.queryKey,h=i.queryHash??M2(d,i);let m=this.get(h);return m||(m=new Vy({client:c,queryKey:d,queryHash:h,options:c.defaultQueryOptions(i),state:o,defaultOptions:c.getQueryDefaults(d)}),this.add(m)),m}add(c){S(this,Wn).has(c.queryHash)||(S(this,Wn).set(c.queryHash,c),this.notify({type:"added",query:c}))}remove(c){const i=S(this,Wn).get(c.queryHash);i&&(c.destroy(),i===c&&S(this,Wn).delete(c.queryHash),this.notify({type:"removed",query:c}))}clear(){vt.batch(()=>{this.getAll().forEach(c=>{this.remove(c)})})}get(c){return S(this,Wn).get(c)}getAll(){return[...S(this,Wn).values()]}find(c){const i={exact:!0,...c};return this.getAll().find(o=>sm(i,o))}findAll(c={}){const i=this.getAll();return Object.keys(c).length>0?i.filter(o=>sm(c,o)):i}notify(c){vt.batch(()=>{this.listeners.forEach(i=>{i(c)})})}onFocus(){vt.batch(()=>{this.getAll().forEach(c=>{c.onFocus()})})}onOnline(){vt.batch(()=>{this.getAll().forEach(c=>{c.onOnline()})})}},Wn=new WeakMap,sp),at,ra,oa,Zs,Ks,ua,Is,Ws,ip,Wy=(ip=class{constructor(s={}){ie(this,at);ie(this,ra);ie(this,oa);ie(this,Zs);ie(this,Ks);ie(this,ua);ie(this,Is);ie(this,Ws);W(this,at,s.queryCache||new Iy),W(this,ra,s.mutationCache||new Zy),W(this,oa,s.defaultOptions||{}),W(this,Zs,new Map),W(this,Ks,new Map),W(this,ua,0)}mount(){Vr(this,ua)._++,S(this,ua)===1&&(W(this,Is,O2.subscribe(async s=>{s&&(await this.resumePausedMutations(),S(this,at).onFocus())})),W(this,Ws,to.subscribe(async s=>{s&&(await this.resumePausedMutations(),S(this,at).onOnline())})))}unmount(){var s,c;Vr(this,ua)._--,S(this,ua)===0&&((s=S(this,Is))==null||s.call(this),W(this,Is,void 0),(c=S(this,Ws))==null||c.call(this),W(this,Ws,void 0))}isFetching(s){return S(this,at).findAll({...s,fetchStatus:"fetching"}).length}isMutating(s){return S(this,ra).findAll({...s,status:"pending"}).length}getQueryData(s){var i;const c=this.defaultQueryOptions({queryKey:s});return(i=S(this,at).get(c.queryHash))==null?void 0:i.state.data}ensureQueryData(s){const c=this.defaultQueryOptions(s),i=S(this,at).build(this,c),o=i.state.data;return o===void 0?this.fetchQuery(s):(s.revalidateIfStale&&i.isStaleByTime(da(c.staleTime,i))&&this.prefetchQuery(c),Promise.resolve(o))}getQueriesData(s){return S(this,at).findAll(s).map(({queryKey:c,state:i})=>{const o=i.data;return[c,o]})}setQueryData(s,c,i){const o=this.defaultQueryOptions({queryKey:s}),d=S(this,at).get(o.queryHash),h=d==null?void 0:d.state.data,m=Ay(c,h);if(m!==void 0)return S(this,at).build(this,o).setData(m,{...i,manual:!0})}setQueriesData(s,c,i){return vt.batch(()=>S(this,at).findAll(s).map(({queryKey:o})=>[o,this.setQueryData(o,c,i)]))}getQueryState(s){var i;const c=this.defaultQueryOptions({queryKey:s});return(i=S(this,at).get(c.queryHash))==null?void 0:i.state}removeQueries(s){const c=S(this,at);vt.batch(()=>{c.findAll(s).forEach(i=>{c.remove(i)})})}resetQueries(s,c){const i=S(this,at);return vt.batch(()=>(i.findAll(s).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...s},c)))}cancelQueries(s,c={}){const i={revert:!0,...c},o=vt.batch(()=>S(this,at).findAll(s).map(d=>d.cancel(i)));return Promise.all(o).then(kt).catch(kt)}invalidateQueries(s,c={}){return vt.batch(()=>(S(this,at).findAll(s).forEach(i=>{i.invalidate()}),(s==null?void 0:s.refetchType)==="none"?Promise.resolve():this.refetchQueries({...s,type:(s==null?void 0:s.refetchType)??(s==null?void 0:s.type)??"active"},c)))}refetchQueries(s,c={}){const i={...c,cancelRefetch:c.cancelRefetch??!0},o=vt.batch(()=>S(this,at).findAll(s).filter(d=>!d.isDisabled()&&!d.isStatic()).map(d=>{let h=d.fetch(void 0,i);return i.throwOnError||(h=h.catch(kt)),d.state.fetchStatus==="paused"?Promise.resolve():h}));return Promise.all(o).then(kt)}fetchQuery(s){const c=this.defaultQueryOptions(s);c.retry===void 0&&(c.retry=!1);const i=S(this,at).build(this,c);return i.isStaleByTime(da(c.staleTime,i))?i.fetch(c):Promise.resolve(i.state.data)}prefetchQuery(s){return this.fetchQuery(s).then(kt).catch(kt)}fetchInfiniteQuery(s){return s._type="infinite",this.fetchQuery(s)}prefetchInfiniteQuery(s){return this.fetchInfiniteQuery(s).then(kt).catch(kt)}ensureInfiniteQueryData(s){return s._type="infinite",this.ensureQueryData(s)}resumePausedMutations(){return to.isOnline()?S(this,ra).resumePausedMutations():Promise.resolve()}getQueryCache(){return S(this,at)}getMutationCache(){return S(this,ra)}getDefaultOptions(){return S(this,oa)}setDefaultOptions(s){W(this,oa,s)}setQueryDefaults(s,c){S(this,Zs).set(Za(s),{queryKey:s,defaultOptions:c})}getQueryDefaults(s){const c=[...S(this,Zs).values()],i={};return c.forEach(o=>{vc(s,o.queryKey)&&Object.assign(i,o.defaultOptions)}),i}setMutationDefaults(s,c){S(this,Ks).set(Za(s),{mutationKey:s,defaultOptions:c})}getMutationDefaults(s){const c=[...S(this,Ks).values()],i={};return c.forEach(o=>{vc(s,o.mutationKey)&&Object.assign(i,o.defaultOptions)}),i}defaultQueryOptions(s){if(s._defaulted)return s;const c={...S(this,oa).queries,...this.getQueryDefaults(s.queryKey),...s,_defaulted:!0};return c.queryHash||(c.queryHash=M2(c.queryKey,c)),c.refetchOnReconnect===void 0&&(c.refetchOnReconnect=c.networkMode!=="always"),c.throwOnError===void 0&&(c.throwOnError=!!c.suspense),!c.networkMode&&c.persister&&(c.networkMode="offlineFirst"),c.queryFn===D2&&(c.enabled=!1),c}defaultMutationOptions(s){return s!=null&&s._defaulted?s:{...S(this,oa).mutations,...(s==null?void 0:s.mutationKey)&&this.getMutationDefaults(s.mutationKey),...s,_defaulted:!0}}clear(){S(this,at).clear(),S(this,ra).clear()}},at=new WeakMap,ra=new WeakMap,oa=new WeakMap,Zs=new WeakMap,Ks=new WeakMap,ua=new WeakMap,Is=new WeakMap,Ws=new WeakMap,ip),Fp=b.createContext(void 0),Ka=s=>{const c=b.useContext(Fp);if(!c)throw new Error("No QueryClient set, use QueryClientProvider to set one");return c},Py=({client:s,children:c})=>(b.useEffect(()=>(s.mount(),()=>{s.unmount()}),[s]),l.jsx(Fp.Provider,{value:s,children:c})),Qp=b.createContext(!1),Jy=()=>b.useContext(Qp);Qp.Provider;function ex(){let s=!1;return{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s}}var tx=b.createContext(ex()),nx=()=>b.useContext(tx),lx=(s,c,i)=>{const o=i!=null&&i.state.error&&typeof s.throwOnError=="function"?z2(s.throwOnError,[i.state.error,i]):s.throwOnError;(s.suspense||s.experimental_prefetchInRender||o)&&(c.isReset()||(s.retryOnMount=!1))},ax=s=>{b.useEffect(()=>{s.clearReset()},[s])},sx=({result:s,errorResetBoundary:c,throwOnError:i,query:o,suspense:d})=>s.isError&&!c.isReset()&&!s.isFetching&&o&&(d&&s.data===void 0||z2(i,[s.error,o])),ix=s=>{if(s.suspense){const i=d=>d==="static"?d:Math.max(d??1e3,1e3),o=s.staleTime;s.staleTime=typeof o=="function"?(...d)=>i(o(...d)):i(o),typeof s.gcTime=="number"&&(s.gcTime=Math.max(s.gcTime,1e3))}},cx=(s,c)=>s.isLoading&&s.isFetching&&!c,rx=(s,c)=>(s==null?void 0:s.suspense)&&c.isPending,hm=(s,c,i)=>c.fetchOptimistic(s).catch(()=>{i.clearReset()});function Yp(s,c,i){var N,R,A,O;const o=Jy(),d=nx(),h=Ka(),m=h.defaultQueryOptions(s);(R=(N=h.getDefaultOptions().queries)==null?void 0:N._experimental_beforeQuery)==null||R.call(N,m);const p=h.getQueryCache().get(m.queryHash);m._optimisticResults=o?"isRestoring":"optimistic",ix(m),lx(m,d,p),ax(d);const g=!h.getQueryCache().get(m.queryHash),[v]=b.useState(()=>new c(h,m)),x=v.getOptimisticResult(m),y=!o&&s.subscribed!==!1;if(b.useSyncExternalStore(b.useCallback(w=>{const z=y?v.subscribe(vt.batchCalls(w)):kt;return v.updateResult(),z},[v,y]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),b.useEffect(()=>{v.setOptions(m)},[m,v]),rx(m,x))throw hm(m,v,d);if(sx({result:x,errorResetBoundary:d,throwOnError:m.throwOnError,query:p,suspense:m.suspense}))throw x.error;if((O=(A=h.getDefaultOptions().queries)==null?void 0:A._experimental_afterQuery)==null||O.call(A,m,x),m.experimental_prefetchInRender&&!gc.isServer()&&cx(x,o)){const w=g?hm(m,v,d):p==null?void 0:p.promise;w==null||w.catch(kt).finally(()=>{v.updateResult()})}return m.notifyOnChangeProps?x:v.trackResult(x)}function vn(s,c){return Yp(s,$p)}function Wt(s,c){const i=Ka(),[o]=b.useState(()=>new Ky(i,s));b.useEffect(()=>{o.setOptions(s)},[o,s]);const d=b.useSyncExternalStore(b.useCallback(m=>o.subscribe(vt.batchCalls(m)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),h=b.useCallback((m,p)=>{o.mutate(m,p).catch(kt)},[o]);if(d.error&&z2(o.options.throwOnError,[d.error]))throw d.error;return{...d,mutate:h,mutateAsync:d.mutate}}function ox(s,c){return Yp(s,Yy)}const Xp="https://app.auth.elcsa.ru/v1";let hc=null,Ba=null;function B2(){hc=null,Ba=null}function Pn(){return hc?Promise.resolve(hc):Ba||(Ba=fetch(`${Xp}/csrf/token`,{credentials:"include"}).then(s=>s.json()).then(s=>(hc=s.token,Ba=null,hc)).catch(s=>{throw Ba=null,s}),Ba)}const ux=Object.freeze(Object.defineProperty({__proto__:null,clearCsrfCache:B2,getCsrfToken:Pn},Symbol.toStringTag,{value:"Module"})),dx="modulepreload",fx=function(s){return"/"+s},mm={},hx=function(c,i,o){let d=Promise.resolve();if(i&&i.length>0){let m=function(v){return Promise.all(v.map(x=>Promise.resolve(x).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),g=(p==null?void 0:p.nonce)||(p==null?void 0:p.getAttribute("nonce"));d=m(i.map(v=>{if(v=fx(v),v in mm)return;mm[v]=!0;const x=v.endsWith(".css"),y=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${y}`))return;const N=document.createElement("link");if(N.rel=x?"stylesheet":dx,x||(N.as="script"),N.crossOrigin="",N.href=v,g&&N.setAttribute("nonce",g),document.head.appendChild(N),x)return new Promise((R,A)=>{N.addEventListener("load",R),N.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${v}`)))})}))}function h(m){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=m,window.dispatchEvent(p),!p.defaultPrevented)throw m}return d.then(m=>{for(const p of m||[])p.status==="rejected"&&h(p.reason);return c().catch(h)})};let H0=null;const An={get:()=>H0,set:s=>{H0=s},clear:()=>{H0=null}},mx="https://app.auth.elcsa.ru/v1/jwt/refresh";async function ai(){const{getCsrfToken:s}=await hx(async()=>{const{getCsrfToken:d}=await Promise.resolve().then(()=>ux);return{getCsrfToken:d}},[]),c=await s(),i=await fetch(mx,{method:"POST",credentials:"include",headers:{"X-CSRF-Token":c}});if(!i.ok)throw new Error("Unauthorized");const o=await i.json();return o.access_token&&An.set(o.access_token),o.access_token??o.result??!0}const px="https://app.payment.elcsa.ru";async function si(s,c,i){const o=await Pn(),d=await fetch(`${px}${s}`,{...c,credentials:"include",headers:{"X-CSRF-Token":o,...c.headers}});if(d.status===401&&i)try{return await ai(),si(s,c,!1)}catch{throw new Error("Unauthorized")}const h=await d.json();if(!d.ok)throw h;return h}function vx(){return si("/payment/config",{},!0)}function gx(s){return si(`/payment/quote?usdt_amount=${s}`,{},!0)}function _x(s){return si(`/payment/quote/rub?total_rub=${s}`,{},!0)}function yx(s){return si("/order/create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)},!0)}const m2=20;function xx(s,c=m2){return si(`/payment/orders?offset=${s}&limit=${c}`,{},!0)}function Zp(){return vn({queryKey:["payment","config"],queryFn:vx,staleTime:6e4})}function Kp(s){return vn({queryKey:["payment","quote",s],queryFn:()=>gx(s),enabled:s>0,staleTime:3e4,retry:!1})}function Ip(s){return vn({queryKey:["payment","quote","rub",s],queryFn:()=>_x(s),enabled:s>0,staleTime:3e4,retry:!1})}function bx(){return Wt({mutationFn:yx,onSuccess:s=>{const c=s.order.itpay_payment_qr_url_desktop;c&&(window.location.href=c)}})}function jx(){return ox({queryKey:["payment","orders"],queryFn:({pageParam:s})=>xx(s),initialPageParam:0,getNextPageParam:(s,c)=>{if(!(s.orders.length<m2))return c.length*m2},staleTime:3e4})}function Ps(s,c){const[i,o]=b.useState(s);return b.useEffect(()=>{const d=setTimeout(()=>o(s),c);return()=>clearTimeout(d)},[s,c]),i}const Sx="_title_ujt2o_1",Nx="_table_ujt2o_8",wx="_row_ujt2o_15",Cx="_range_ujt2o_31",Tx="_pct_ujt2o_36",Ex="_progressBar_ujt2o_43",Rx="_progressFill_ujt2o_51",Ax="_summary_ujt2o_58",Ox="_summaryLabel_ujt2o_73",Mx="_summaryValue_ujt2o_78",dn={title:Sx,table:Nx,row:wx,range:Cx,pct:Tx,progressBar:Ex,progressFill:Rx,summary:Ax,summaryLabel:Ox,summaryValue:Mx},pm=s=>s.toLocaleString("ru-RU"),Dx=({tiers:s,amount:c})=>l.jsx(l.Fragment,{children:s.map((i,o)=>{const d=c>=i.min&&c<=i.max;return l.jsxs("div",{className:dn.row,"data-active":d||void 0,children:[l.jsxs("span",{className:dn.range,children:[pm(i.min)," ",pm(i.max)," ₽"]}),l.jsxs("span",{className:dn.pct,children:[i.pct,"%"]})]},o)})});function zx({amount:s,progress:c,commission:i,effectiveRate:o}){return l.jsxs("div",{children:[l.jsx("div",{className:dn.title,children:"КОМИССИЯ СЕРВИСА"}),l.jsx("div",{className:dn.table,children:l.jsx(Dx,{tiers:wl,amount:s})}),l.jsx("div",{className:dn.progressBar,children:l.jsx("div",{className:dn.progressFill,style:{width:`${c}%`}})}),l.jsxs("div",{className:dn.summary,children:[l.jsx("span",{className:dn.summaryLabel,children:"Комиссия"}),l.jsxs("span",{className:dn.summaryValue,children:[i.toLocaleString("ru-RU",{maximumFractionDigits:2})," ₽"]})]}),l.jsxs("div",{className:dn.summary,children:[l.jsx("span",{className:dn.summaryLabel,children:"Курс с комиссией"}),l.jsxs("span",{className:dn.summaryValue,children:[o.toFixed(2)," ₽"]})]})]})}const Lx="_section_r2493_1",Bx="_wrap_r2493_6",Ux="_header_r2493_17",kx="_subtitle_r2493_31",Hx="_pills_r2493_38",qx="_pill_r2493_38",$x="_pillValue_r2493_52",Gx="_body_r2493_62",Vx="_tabs_r2493_68",Fx="_tab_r2493_68",Qx="_field_r2493_100",Yx="_fieldInput_r2493_112",Xx="_currency_r2493_138",Zx="_currencyIcon_r2493_147",Kx="_currencyRub_r2493_159",Ix="_currencyUsdt_r2493_163",Wx="_swapWrap_r2493_167",Px="_swapBtn_r2493_173",Jx="_payBtn_r2493_200",Ne={section:Lx,wrap:Bx,header:Ux,subtitle:kx,pills:Hx,pill:qx,pillValue:$x,body:Gx,tabs:Vx,tab:Fx,field:Qx,fieldInput:Yx,currency:Xx,currencyIcon:Zx,currencyRub:Kx,currencyUsdt:Ix,swapWrap:Wx,swapBtn:Px,payBtn:Jx},fe={HOME:"/",WALLET:"/wallet",WALLET_CHAIN:"/wallet/:chain",SWAP:"/swap",BRIDGE:"/bridge",LOGIN:"/login",REGISTER:"/register",PROFILE:"/profile",SEED_PHRASE:"/seed-phrase",CONVERTER:"/converter",KYC:"/kyc",RESTORE_PASSWORD:"/restore-password",PUBLICHNAYA_OFERTA:"/publichnaya-oferta",POLITIKA_PERSONALNYH_DANNYH:"/politika-personalnyh-dannyh",POLITIKA_COOKIE:"/politika-cookie",SOGLASIE_PERSONALNYH_DANNYH:"/soglasie-personalnyh-dannyh",REESTR_PD_RKN:"/reestr-pd-rkn",TRANSACTIONS:"/transactions"};function e6(){const{data:s}=Zp(),[c,i]=b.useState("usdt_to_rub"),[o,d]=b.useState("1000"),h=Number(s==null?void 0:s.usdt_exchange_rate)||Rp,m=Number(s==null?void 0:s.gas_fee)||Ap,p=Op({usdtRate:h}),g=c==="usdt_to_rub",v=Ps(p.numRub,400),{data:x}=Kp(g?v:0),y=Number.parseFloat(o)||0,N=Ps(y,400),{data:R}=Ip(g?0:N);function A(X){d(X.replace(/[^0-9.]/g,""))}function O(){i(X=>X==="usdt_to_rub"?"rub_to_usdt":"usdt_to_rub")}const w=(x==null?void 0:x.total_price)??"",z=Number(w)||0,F=(R==null?void 0:R.usdt_amount)??"",$=Number(F)||0,V=g?Number(x==null?void 0:x.service_fee)||0:Number(R==null?void 0:R.service_fee)||0,K=g?z:y,ne=g?p.numRub>0?z/p.numRub:0:$>0?y/$:0;return l.jsx("section",{className:Ne.section,id:"converter",children:l.jsxs("div",{className:Ne.wrap,children:[l.jsxs("div",{className:Ne.header,children:[l.jsxs("div",{children:[l.jsx(Ep,{children:"Конвертация"}),l.jsx("div",{className:Ne.subtitle,children:"Данные обновляются в реальном времени"})]}),l.jsxs("div",{className:Ne.pills,children:[l.jsxs("div",{className:Ne.pill,children:["Цена газа в RUB ",l.jsxs("span",{className:Ne.pillValue,children:[m.toFixed(2)," RUB"]})]}),l.jsxs("div",{className:Ne.pill,children:["USDT/RUB ",l.jsxs("span",{className:Ne.pillValue,children:[h.toFixed(2)," ₽"]})]})]})]}),l.jsxs("div",{className:Ne.body,children:[l.jsxs("div",{children:[l.jsxs("div",{className:Ne.tabs,children:[l.jsx("button",{type:"button",className:Ne.tab,"data-active":g||void 0,onClick:()=>i("usdt_to_rub"),children:"КУПИТЬ"}),l.jsx("button",{type:"button",className:Ne.tab,"data-active":!g||void 0,onClick:()=>i("rub_to_usdt"),children:"ПРОДАТЬ"})]}),g?l.jsxs(l.Fragment,{children:[l.jsx("div",{className:Ne.field,children:l.jsxs("div",{className:Ne.fieldInput,children:[l.jsx("input",{type:"text",value:p.rubVal,onChange:X=>p.updateRub(X.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:Ne.currency,children:[l.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyUsdt}`,children:"₮"})," USDT"]})]})}),l.jsx("div",{className:Ne.swapWrap,children:l.jsx("button",{type:"button",className:Ne.swapBtn,onClick:O,"aria-label":"Поменять направление",children:l.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:l.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),l.jsx("div",{className:Ne.field,children:l.jsxs("div",{className:Ne.fieldInput,children:[l.jsx("input",{type:"text",value:w,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:Ne.currency,children:[l.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyRub}`,children:"₽"})," RUB"]})]})})]}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:Ne.field,children:l.jsxs("div",{className:Ne.fieldInput,children:[l.jsx("input",{type:"text",value:o,onChange:X=>A(X.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:Ne.currency,children:[l.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyRub}`,children:"₽"})," RUB"]})]})}),l.jsx("div",{className:Ne.swapWrap,children:l.jsx("button",{type:"button",className:Ne.swapBtn,onClick:O,"aria-label":"Поменять направление",children:l.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:l.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),l.jsx("div",{className:Ne.field,children:l.jsxs("div",{className:Ne.fieldInput,children:[l.jsx("input",{type:"text",value:F,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:Ne.currency,children:[l.jsx("span",{className:`${Ne.currencyIcon} ${Ne.currencyUsdt}`,children:"₮"})," USDT"]})]})})]})]}),l.jsx(zx,{amount:K,progress:A2(K),commission:V,effectiveRate:ne})]}),l.jsx(Ht,{to:fe.CONVERTER,className:Ne.payBtn,children:"Перейти к оплате"})]})})}const t6="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",n6="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",l6="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",a6="_footer_1qm30_1",s6="_top_1qm30_11",i6="_col_1qm30_18",c6="_heading_1qm30_35",r6="_companyName_1qm30_44",o6="_phone_1qm30_51",u6="_email_1qm30_58",d6="_socialIcons_1qm30_62",f6="_socialLink_1qm30_67",h6="_divider_1qm30_94",m6="_bottom_1qm30_99",Rt={footer:a6,top:s6,col:i6,heading:c6,companyName:r6,phone:o6,email:u6,socialIcons:d6,socialLink:f6,divider:h6,bottom:m6},p6=[{href:"#",icon:n6,label:"Telegram"},{href:"#",icon:l6,label:"WhatsApp"},{href:"#",icon:t6,label:"Instagram"}];function Jn(){return l.jsxs("footer",{className:Rt.footer,children:[l.jsxs("div",{className:Rt.top,children:[l.jsxs("div",{className:Rt.col,children:[l.jsx("p",{className:Rt.companyName,children:"ООО «ЭКСА»"}),l.jsx("p",{children:"ИНН 9810001062"}),l.jsx("p",{children:"ОГРН 1257800060990"})]}),l.jsxs("div",{className:Rt.col,children:[l.jsx("h4",{className:Rt.heading,children:"О компании"}),l.jsx(Ht,{to:fe.PUBLICHNAYA_OFERTA,children:"Публичная оферта"}),l.jsx(Ht,{to:fe.POLITIKA_PERSONALNYH_DANNYH,children:"Политика персональных данных"}),l.jsx(Ht,{to:fe.POLITIKA_COOKIE,children:"Политика cookie"}),l.jsx(Ht,{to:fe.SOGLASIE_PERSONALNYH_DANNYH,children:"Согласие на обработку данных"}),l.jsx(Ht,{to:fe.REESTR_PD_RKN,children:"Реестр Роскомнадзора"})]}),l.jsxs("div",{className:Rt.col,children:[l.jsx("p",{className:Rt.phone,children:"+7 (812) 123-33-23"}),l.jsx("h4",{className:Rt.heading,children:"Адрес"}),l.jsx("p",{children:"196158, г. Санкт-Петербург, Московское шоссе, 25А, к.1, ПОМЕЩ. 3-Н"}),l.jsx("a",{href:"mailto:company@elcsa.ru",className:Rt.email,children:"company@elcsa.ru"})]}),l.jsxs("div",{className:Rt.col,children:[l.jsx("h4",{className:Rt.heading,children:"Мы в соцсетях"}),l.jsx("div",{className:Rt.socialIcons,children:p6.map(({href:s,icon:c,label:i})=>l.jsx("a",{href:s,className:Rt.socialLink,"aria-label":i,children:l.jsx("img",{src:c,alt:i})},i))})]})]}),l.jsx("div",{className:Rt.divider}),l.jsxs("div",{className:Rt.bottom,children:[l.jsx("p",{children:"© 2026. Все права защищены."}),l.jsx("p",{children:"Компания не является кредитной организацией."})]})]})}const fa="/assets/logo-full-white-DEb7oTyu.png",v6="_nav_5011x_1",g6="_logo_5011x_16",_6="_right_5011x_22",y6="_link_5011x_28",x6="_btn_5011x_47",ic={nav:v6,logo:g6,right:_6,link:y6,btn:x6};function ii(){return l.jsxs("nav",{className:ic.nav,children:[l.jsx("a",{className:ic.logo,href:"/",children:l.jsx("img",{src:fa,alt:"ЭКСА"})}),l.jsxs("div",{className:ic.right,children:[l.jsx("a",{className:ic.link,href:"#about",children:"О нас"}),l.jsx(Ht,{className:ic.btn,to:fe.WALLET,children:"Личный кабинет"})]})]})}const b6="_flow_1oxsf_1",j6="_card_1oxsf_7",S6="_cardRub_1oxsf_17",N6="_cardEksa_1oxsf_27",w6="_cardUsdt_1oxsf_37",C6="_eksaLogo_1oxsf_47",T6="_ghost_1oxsf_54",E6="_ghostBtc_1oxsf_69",R6="_ghostEth_1oxsf_74",A6="_logoCircle_1oxsf_79",O6="_logoRub_1oxsf_90",M6="_logoUsdt_1oxsf_95",D6="_badge_1oxsf_100",z6="_badgeRub_1oxsf_113",L6="_badgeUsdt_1oxsf_117",B6="_status_1oxsf_121",U6="_statusDot_1oxsf_132",k6="_path_1oxsf_139",tt={flow:b6,card:j6,cardRub:S6,cardEksa:N6,cardUsdt:w6,eksaLogo:C6,ghost:T6,ghostBtc:E6,ghostEth:R6,logoCircle:A6,logoRub:O6,logoUsdt:M6,badge:D6,badgeRub:z6,badgeUsdt:L6,status:B6,statusDot:U6,path:k6};function H6(){return l.jsxs("div",{className:tt.flow,children:[l.jsx("div",{className:`${tt.ghost} ${tt.ghostBtc}`,children:l.jsx("span",{style:{fontSize:20,color:"#F7931A"},children:"₿"})}),l.jsx("div",{className:`${tt.ghost} ${tt.ghostEth}`,children:l.jsx("span",{style:{fontSize:20,color:"#627EEA"},children:"Ξ"})}),l.jsxs("div",{className:`${tt.card} ${tt.cardRub}`,children:[l.jsx("div",{className:`${tt.logoCircle} ${tt.logoRub}`,children:"₽"}),l.jsx("div",{className:`${tt.badge} ${tt.badgeRub}`,children:"10 000 ₽"})]}),l.jsx("div",{className:`${tt.card} ${tt.cardEksa}`,children:l.jsx("img",{src:fa,alt:"ЭКСА",className:tt.eksaLogo})}),l.jsxs("div",{className:`${tt.card} ${tt.cardUsdt}`,children:[l.jsx("div",{className:`${tt.logoCircle} ${tt.logoUsdt}`,children:"₮"}),l.jsx("div",{className:`${tt.badge} ${tt.badgeUsdt}`,children:"≈ 125.3 USDT"}),l.jsxs("div",{className:tt.status,children:[l.jsx("span",{className:tt.statusDot})," ✓ Зачислено"]})]}),l.jsxs("svg",{className:tt.path,viewBox:"0 0 420 460",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[l.jsx("defs",{children:l.jsxs("linearGradient",{id:"pathGrad",x1:"0",y1:"0",x2:"1",y2:"1",children:[l.jsx("stop",{offset:"0%",stopColor:"rgba(255,255,255,0.4)"}),l.jsx("stop",{offset:"100%",stopColor:"#26A17B"})]})}),l.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"}),l.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"}),l.jsx("circle",{cx:80,cy:110,r:3,fill:"#fff",opacity:.5}),l.jsx("circle",{cx:140,cy:160,r:2.5,fill:"#fff",opacity:.4}),l.jsx("circle",{cx:220,cy:200,r:3,fill:"#fff",opacity:.3}),l.jsx("circle",{cx:200,cy:270,r:2.5,fill:"#26A17B",opacity:.35}),l.jsx("circle",{cx:260,cy:310,r:3,fill:"#26A17B",opacity:.25}),l.jsx("circle",{cx:320,cy:345,r:2,fill:"#26A17B",opacity:.2})]})]})}function q6(s){const[c,i]=b.useState(Date.now());b.useEffect(()=>{const h=setInterval(()=>i(Date.now()),1e3);return()=>clearInterval(h)},[]);const o=Math.max(0,s-c),d=h=>String(h).padStart(2,"0");return{d:d(Math.floor(o/864e5)),h:d(Math.floor(o%864e5/36e5)),m:d(Math.floor(o%36e5/6e4)),s:d(Math.floor(o%6e4/1e3))}}const $6="_label_ikzdd_1",G6="_row_ikzdd_8",V6="_unit_ikzdd_14",F6="_num_ikzdd_21",Q6="_lbl_ikzdd_29",cc={label:$6,row:G6,unit:V6,num:F6,lbl:Q6},Y6=[["d","ДНЕЙ"],["h","ЧАСОВ"],["m","МИНУТ"],["s","СЕКУНД"]];function X6({target:s}){const c=q6(s);return l.jsxs("div",{children:[l.jsx("div",{className:cc.label,children:"ДО ЗАПУСКА ОСТАЛОСЬ"}),l.jsx("div",{className:cc.row,children:Y6.map(([i,o])=>l.jsxs("div",{className:cc.unit,children:[l.jsx("div",{className:cc.num,children:c[i]}),l.jsx("div",{className:cc.lbl,children:o})]},i))})]})}const Z6="_card_17ihg_51",K6="_statusPill_17ihg_84",I6="_statusDot_17ihg_99",W6="_flowRow_17ihg_107",P6="_curBlock_17ihg_114",J6="_curIcon_17ihg_122",e5="_rub_17ihg_133",t5="_usdt_17ihg_141",n5="_flowLine_17ihg_150",l5="_curAmount_17ihg_154",a5="_curLabel_17ihg_163",s5="_curCheck_17ihg_171",i5="_bridge_17ihg_182",c5="_bridgeLine_17ihg_191",r5="_bridgeLabel_17ihg_198",o5="_divider_17ihg_206",u5="_details_17ihg_212",d5="_detailRow_17ihg_220",f5="_detailLabel_17ihg_229",h5="_detailValue_17ihg_235",m5="_green_17ihg_242",Fe={card:Z6,statusPill:K6,statusDot:I6,flowRow:W6,curBlock:P6,curIcon:J6,rub:e5,usdt:t5,flowLine:n5,curAmount:l5,curLabel:a5,curCheck:s5,bridge:i5,bridgeLine:c5,bridgeLabel:r5,divider:o5,details:u5,detailRow:d5,detailLabel:f5,detailValue:h5,green:m5};function p5(){return l.jsxs("div",{className:Fe.card,children:[l.jsxs("div",{className:Fe.statusPill,children:[l.jsx("span",{className:Fe.statusDot}),"Операция завершена"]}),l.jsxs("div",{className:Fe.flowRow,children:[l.jsxs("div",{className:Fe.curBlock,children:[l.jsx("div",{className:`${Fe.curIcon} ${Fe.rub}`,children:"₽"}),l.jsx("div",{className:Fe.curAmount,children:"10 000 ₽"}),l.jsx("div",{className:Fe.curLabel,children:"Отправлено"})]}),l.jsxs("div",{className:Fe.bridge,children:[l.jsx("div",{className:Fe.bridgeLine,children:l.jsxs("svg",{width:48,height:12,viewBox:"0 0 48 12",fill:"none","aria-hidden":"true",children:[l.jsx("line",{x1:0,y1:6,x2:36,y2:6,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"4 3",className:Fe.flowLine}),l.jsx("path",{d:"M34 2l6 4-6 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})}),l.jsx("div",{className:Fe.bridgeLabel,children:l.jsx("img",{src:fa,alt:"ЭКСА"})}),l.jsx("div",{className:Fe.bridgeLine,children:l.jsxs("svg",{width:48,height:12,viewBox:"0 0 48 12",fill:"none","aria-hidden":"true",children:[l.jsx("line",{x1:0,y1:6,x2:36,y2:6,stroke:"currentColor",strokeWidth:1.5,strokeDasharray:"4 3",className:Fe.flowLine}),l.jsx("path",{d:"M34 2l6 4-6 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})})]}),l.jsxs("div",{className:Fe.curBlock,children:[l.jsx("div",{className:`${Fe.curIcon} ${Fe.usdt}`,children:"₮"}),l.jsx("div",{className:Fe.curAmount,children:"125.3 USDT"}),l.jsxs("div",{className:Fe.curCheck,children:[l.jsx("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:l.jsx("path",{d:"M2 6l3 3 5-5",stroke:"#26A17B",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})}),"Зачислено"]})]})]}),l.jsx("div",{className:Fe.divider}),l.jsxs("div",{className:Fe.details,children:[l.jsxs("div",{className:Fe.detailRow,children:[l.jsx("span",{className:Fe.detailLabel,children:"Курс"}),l.jsxs("span",{className:Fe.detailValue,children:[Rp.toFixed(2)," ₽ / USDT"]})]}),l.jsxs("div",{className:Fe.detailRow,children:[l.jsx("span",{className:Fe.detailLabel,children:"Комиссия"}),l.jsx("span",{className:`${Fe.detailValue} ${Fe.green}`,children:"0%"})]})]})]})}const v5="_hero_mnobr_1",g5="_content_mnobr_33",_5="_left_mnobr_45",y5="_desktop_mnobr_52",x5="_mobile_mnobr_56",b5="_right_mnobr_60",j5="_title_mnobr_67",S5="_line2_mnobr_74",N5="_reflection_mnobr_85",w5="_cta_mnobr_96",Xn={hero:v5,content:g5,left:_5,desktop:y5,mobile:x5,right:b5,title:j5,line2:S5,reflection:N5,cta:w5};function C5(){return l.jsx("section",{className:Xn.hero,children:l.jsxs("div",{className:Xn.content,children:[l.jsxs("div",{className:Xn.left,children:[l.jsx("div",{className:Xn.desktop,children:l.jsx(H6,{})}),l.jsx("div",{className:Xn.mobile,children:l.jsx(p5,{})})]}),l.jsxs("div",{className:Xn.right,children:[l.jsxs("h1",{className:Xn.title,children:["Ваш мост",l.jsx("span",{className:Xn.reflection,"aria-hidden":"true",children:"Ваш мост"}),l.jsxs("span",{className:Xn.line2,children:["в мир",l.jsx("br",{}),"цифровых",l.jsx("br",{}),"активов"]})]}),l.jsxs("div",{children:[l.jsx(X6,{target:Sy}),l.jsx("a",{href:"#converter",className:Xn.cta,children:"Попробовать калькулятор"})]})]})]})})}const T5=[{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:"BSC Chain",ticker:"BNB",cls:"bnb",icon:"◆",speed:88,color:"rgba(243,186,47,0.8)",fee:"~0.0005 BNB",confirm:"~3 сек"}],E5="_section_10lhb_1",R5="_wrap_10lhb_6",A5="_title_10lhb_11",O5="_tableWrap_10lhb_18",M5="_table_10lhb_18",D5="_name_10lhb_52",z5="_icon_10lhb_58",L5="_icon_btc_10lhb_71",B5="_icon_eth_10lhb_75",U5="_icon_trx_10lhb_79",k5="_icon_sol_10lhb_83",H5="_icon_bnb_10lhb_87",q5="_label_10lhb_91",$5="_ticker_10lhb_96",G5="_speedBar_10lhb_102",V5="_speedFill_10lhb_110",F5="_fee_10lhb_115",Q5="_confirm_10lhb_121",Y5="_footnote_10lhb_126",Dt={section:E5,wrap:R5,title:A5,tableWrap:O5,table:M5,name:D5,icon:z5,icon_btc:L5,icon_eth:B5,icon_trx:U5,icon_sol:k5,icon_bnb:H5,label:q5,ticker:$5,speedBar:G5,speedFill:V5,fee:F5,confirm:Q5,footnote:Y5};function X5(){return l.jsx("section",{className:Dt.section,children:l.jsxs("div",{className:Dt.wrap,children:[l.jsx("h2",{className:Dt.title,children:"Поддерживаемые сети"}),l.jsx("div",{className:Dt.tableWrap,children:l.jsxs("table",{className:Dt.table,children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsx("th",{children:"Сеть"}),l.jsx("th",{children:"Скорость"}),l.jsx("th",{children:"Комиссия"}),l.jsx("th",{children:"Подтверждение"})]})}),l.jsx("tbody",{children:T5.map(s=>l.jsxs("tr",{children:[l.jsx("td",{children:l.jsxs("div",{className:Dt.name,children:[l.jsx("div",{className:`${Dt.icon} ${Dt[`icon_${s.cls}`]}`,children:s.icon}),l.jsx("span",{className:Dt.label,children:s.name}),l.jsx("span",{className:Dt.ticker,children:s.ticker})]})}),l.jsx("td",{children:l.jsx("div",{className:Dt.speedBar,children:l.jsx("div",{className:Dt.speedFill,style:{width:`${s.speed}%`,background:s.color}})})}),l.jsx("td",{children:l.jsx("span",{className:Dt.fee,children:s.fee})}),l.jsx("td",{children:l.jsx("span",{className:Dt.confirm,children:s.confirm})})]},s.ticker))})]})}),l.jsx("div",{className:Dt.footnote,children:"* Комиссии и время подтверждения указаны приблизительно и зависят от загруженности сети"})]})})}function Z5(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsxs("main",{children:[l.jsx(C5,{}),l.jsx(jy,{}),l.jsx(e6,{}),l.jsx(X5,{})]}),l.jsx(Jn,{})]})}async function p2(s,c,i){const o=await Pn(),d=An.get(),h={"Content-Type":"application/json","X-CSRF-Token":o,...d?{Authorization:`Bearer ${d}`}:{},...c.headers},m=await fetch(`${Xp}${s}`,{...c,credentials:"include",headers:h});if(m.status===401&&i)try{return await ai(),p2(s,c,!1)}catch{throw An.clear(),new Error("Unauthorized")}const p=await m.json();if(!m.ok)throw p;return p}const wc={get:s=>p2(s,{},!0),post:(s,c)=>p2(s,{method:"POST",body:JSON.stringify(c)},!0)};function K5(s){return wc.post("/auth/registration/start",s)}function I5(s){return wc.post("/auth/registration/complete",s)}function W5(s){return wc.post("/auth/login/start",s)}function P5(s){return wc.post("/auth/login/complete",s)}async function J5(){const s=await Pn();return wc.post("/auth/logout",{_csrf:s})}const ro="https://app.users.elcsa.ru";async function Wp(){const s=await Pn(),c=An.get();return{"X-CSRF-Token":s,...c?{Authorization:`Bearer ${c}`}:{}}}async function eb(){const s=await Wp(),c=await fetch(`${ro}/me/`,{credentials:"include",headers:s}),i=await c.json();if(!c.ok)throw i;return i}async function tb(s){const c=await Wp(),i=await fetch(`${ro}/me/settings/avatar`,{method:"PATCH",credentials:"include",headers:{"Content-Type":"application/json",...c},body:JSON.stringify(s)}),o=await i.json();if(!i.ok)throw o;return o}async function nb(s){const c=await Pn(),i=await fetch(`${ro}/me/settings/password/forgot/start`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":c},body:JSON.stringify(s)});if(!i.ok)throw await i.json().catch(()=>({}))}async function lb(s){const c=await Pn(),i=await fetch(`${ro}/me/settings/password/forgot/complete`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":c},body:JSON.stringify(s)});if(!i.ok)throw await i.json().catch(()=>({}))}function ci(s){return vn({queryKey:["me"],queryFn:eb,staleTime:1/0,gcTime:1/0,retry:!1,...s})}function ab(){const s=Ka();return Wt({mutationFn:tb,onSuccess:c=>{s.setQueryData(["me"],c)}})}const oo=["auth"];function sb(){return vn({queryKey:oo,queryFn:ai,retry:!1,staleTime:1/0,gcTime:1/0,refetchOnWindowFocus:!1})}function Pp(){const{data:s,isLoading:c,isError:i}=sb();return{isAuthenticated:!!s&&!i,isLoading:c}}const Jp="https://app.cryptowallet.elcsa.ru",ib=["ETH","BSC","BTC","TRX","SOL"];async function ri(s,c=!0){const i=await Pn(),o=An.get(),d=await fetch(`${Jp}${s}`,{credentials:"include",headers:{"X-CSRF-Token":i,...o?{Authorization:`Bearer ${o}`}:{}}});if(d.status===401&&c)try{return await ai(),ri(s,!1)}catch{throw An.clear(),new Error("Unauthorized")}const h=await d.json();if(!d.ok)throw h;return h}async function el(s,c,i=!0,o={}){const d=await Pn(),h=An.get(),m=await fetch(`${Jp}${s}`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":d,...h?{Authorization:`Bearer ${h}`}:{},...o},body:JSON.stringify(c)});if(m.status===401&&i)try{return await ai(),el(s,c,!1,o)}catch{throw An.clear(),new Error("Unauthorized")}const p=await m.json();if(!m.ok)throw p;return p}async function cb(){return(await ri("/api/wallets")).data}async function rb(s){return(await ri(`/api/wallets/${s}/balance`)).data}async function ob(s){return(await ri(`/api/prices?symbols=${s.join(",")}`)).data}async function ub(s,c){return el(`/api/wallets/${s}/send`,c)}async function db(){return(await ri("/api/wallets/portfolio")).data}async function fb(){return(await ri("/api/tokens")).data}async function hb(s){return el("/api/relay/quote",s)}async function mb(s){return el("/api/relay/execute/swap",s)}async function pb(s,c){const i=`relay-${s.toLowerCase()}-${Date.now()}`;return el(`/api/wallets/${s}/sign-raw-evm-tx`,c,!0,{"Idempotency-Key":i})}async function vb(s){return el("/api/wallets/SOL/sign-and-broadcast-tx",s)}async function e3(s){return(await el("/api/wallets/TRX/swap/quote",s)).data}async function gb(s){return el("/api/wallets/TRX/swap",{quoteId:s},!0,{"Idempotency-Key":`trx-${Date.now()}`})}async function _b(){await el("/api/wallets/create",{})}async function yb(){return(await el("/api/wallets/mnemonic/reveal",{confirm:"I_UNDERSTAND_SEED_IS_SECRET"})).data.mnemonic}function no(s){return vn({queryKey:["wallet","balance",s],queryFn:()=>rb(s),staleTime:3e4})}function xb(s){return vn({queryKey:["wallet","prices",s.join(",")],queryFn:()=>ob(s),staleTime:300*1e3})}function bb(){return Wt({mutationFn:({chain:s,...c})=>ub(s,c)})}function uo(){return vn({queryKey:["wallet","addresses"],queryFn:cb,staleTime:600*1e3})}function U2(){return vn({queryKey:["wallet","portfolio"],queryFn:db,staleTime:3e4})}function t3(){return vn({queryKey:["wallet","tokens"],queryFn:fb,staleTime:600*1e3})}function jb(){return Wt({mutationFn:_b})}function Sb(){return vn({queryKey:["wallet","mnemonic"],queryFn:yb,staleTime:1/0,retry:!1})}function n3(s){return vn({queryKey:["relay","quote",s==null?void 0:s.originChainId,s==null?void 0:s.destinationChainId,s==null?void 0:s.originCurrency,s==null?void 0:s.destinationCurrency,s==null?void 0:s.amount],queryFn:()=>hb(s),enabled:!!s,staleTime:1e4})}function l3(){return Wt({mutationFn:s=>mb(s)})}function a3(){return Wt({mutationFn:({chain:s,txData:c})=>s==="SOL"?vb(c):pb(s,c)})}function s3(s){return vn({queryKey:["trx","quote",s==null?void 0:s.from,s==null?void 0:s.to,s==null?void 0:s.amountHuman],queryFn:()=>e3(s),enabled:!!s,staleTime:1e4})}function i3(){return Wt({mutationFn:e3})}function c3(){return Wt({mutationFn:s=>gb(s)})}const Nb="_card_1kfaj_1",wb="_label_1kfaj_18",Cb="_amount_1kfaj_27",Tb="_actions_1kfaj_41",Eb="_btn_1kfaj_46",Ma={card:Nb,label:wb,amount:Cb,actions:Tb,btn:Eb},Rb="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",Ab="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 Ob(){const{data:s,isLoading:c}=U2(),i=c||!s||s.totalUsd==null?"$—":`$${s.totalUsd.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`;return l.jsxs("div",{className:Ma.card,children:[l.jsxs("div",{className:Ma.left,children:[l.jsx("div",{className:Ma.label,children:"Общий баланс"}),l.jsx("div",{className:Ma.amount,children:i})]}),l.jsxs("div",{className:Ma.actions,children:[l.jsxs(Ht,{to:fe.CONVERTER,className:Ma.btn,type:"button",children:[l.jsx("img",{src:Ab,alt:"swap"}),"Пополнить кошелёк"]}),l.jsxs(Ht,{to:fe.SWAP,className:Ma.btn,type:"button",children:[l.jsx("img",{src:Rb,alt:"topup"}),"Своп / Бридж"]})]})]})}const Mb="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",Db="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pg0KDQo8IURPQ1RZUEUgc3ZnICBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAxLjEvL0VOJyAgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+DQoNCjwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIEdlbmVyYXRvcjogU1ZHIFJlcG8gTWl4ZXIgVG9vbHMgLS0+DQo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDMyIDMyIiBpZD0iX3gzQ19MYXllcl94M0VfIiB2ZXJzaW9uPSIxLjEiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KDQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KPCFbQ0RBVEFbDQoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Qxe2ZpbGw6bm9uZTtzdHJva2U6I2ZmZjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fQ0KXV0+DQo8L3N0eWxlPg0KDQo8ZyBpZD0iRXRoZXJldW1feDJDX19jcnlwdG9feDJDX19jcnlwdG9jdXJyZW5jeV8xXyI+DQoNCjxnIGlkPSJYTUxJRF8xNV8iPg0KDQo8cG9seWdvbiBjbGFzcz0ic3QxIiBpZD0iWE1MSURfOF8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzFfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjMwLjUiIHkyPSIyNC4xIi8+DQoNCjxwb2x5Z29uIGNsYXNzPSJzdDEiIGlkPSJYTUxJRF8xMl8iIHBvaW50cz0iMTYuMDEsMzAuNSA3LjYyLDE4LjgzIDE2LjAxLDI0LjEgMjQuMzgsMTguNzggICAiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzMwXyIgcG9pbnRzPSIxNi4wMSwxMi4zIDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzJfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjEuNSIgeTI9IjIxLjUiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzE5Ml8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8L2c+DQoNCjwvZz4NCg0KPC9zdmc+",zb="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",Lb="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",Bb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2026.0.1,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%202496%202496'%20style='enable-background:new%200%200%202496%202496;'%20xml:space='preserve'%3e%3cg%3e%3cpath%20style='fill-rule:evenodd;clip-rule:evenodd;fill:%23F0B90B;'%20d='M1248,0c689.3,0,1248,558.7,1248,1248s-558.7,1248-1248,1248%20S0,1937.3,0,1248S558.7,0,1248,0L1248,0z'/%3e%3cpath%20style='fill:%23FFFFFF;'%20d='M685.9,1248l0.9,330l280.4,165v193.2l-444.5-260.7v-524L685.9,1248L685.9,1248z%20M685.9,918v192.3%20l-163.3-96.6V821.4l163.3-96.6l164.1,96.6L685.9,918L685.9,918z%20M1084.3,821.4l163.3-96.6l164.1,96.6L1247.6,918L1084.3,821.4%20L1084.3,821.4z'/%3e%3cpath%20style='fill:%23FFFFFF;'%20d='M803.9,1509.6v-193.2l163.3,96.6v192.3L803.9,1509.6L803.9,1509.6z%20M1084.3,1812.2l163.3,96.6%20l164.1-96.6v192.3l-164.1,96.6l-163.3-96.6V1812.2L1084.3,1812.2z%20M1645.9,821.4l163.3-96.6l164.1,96.6v192.3l-164.1,96.6V918%20L1645.9,821.4L1645.9,821.4L1645.9,821.4z%20M1809.2,1578l0.9-330l163.3-96.6v524l-444.5,260.7v-193.2L1809.2,1578L1809.2,1578%20L1809.2,1578z'/%3e%3cpolygon%20style='fill:%23FFFFFF;'%20points='1692.1,1509.6%201528.8,1605.3%201528.8,1413%201692.1,1316.4%201692.1,1509.6%20'/%3e%3cpath%20style='fill:%23FFFFFF;'%20d='M1692.1,986.4l0.9,193.2l-281.2,165v330.8l-163.3,95.7l-163.3-95.7v-330.8l-281.2-165V986.4%20L968,889.8l279.5,165.8l281.2-165.8l164.1,96.6H1692.1L1692.1,986.4z%20M803.9,656.5l443.7-261.6l444.5,261.6l-163.3,96.6%20l-281.2-165.8L967.2,753.1L803.9,656.5L803.9,656.5z'/%3e%3c/g%3e%3c/svg%3e",Ub="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",kb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='CIRCLE_OUTLINE_BLACK'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20512%20512'%20style='enable-background:new%200%200%20512%20512;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23FDDE00;}%20.st1{fill:%233C2D0C;}%20.st2{fill:%23E78C19;}%20.st3{fill:%23EFB99D;}%20.st4{fill:%23FBFBFB;}%20.st5{fill:%23E72D36;}%20%3c/style%3e%3ccircle%20class='st0'%20cx='256'%20cy='256'%20r='256'/%3e%3cpath%20class='st1'%20d='M131.4,181c0,0-13.2,16.7-8.8,92.2c0,0-28.9,74-19.1,111.8c9.8,37.7,48,35.8,48,35.8s61.3,53.9,108.3,6.4%20c47.1-47.6-39.2-231.9-39.2-231.9l-10.8-63.7c0,0-11.8,9.3-10.3,70.6s-24,18.1-24,18.1L131.4,181z'/%3e%3cpath%20class='st2'%20d='M136.3,247.7l-16.2,45.6l-5.9,31.9c0,0-20.1,71.1,62.8,70.1c0,0,64.7,57.9,106.9,19.1l11.3-12.3l19.6-30.4%20l32.4-96.6c0,0-10.3-66.2-75.5-93.6c0,0-5.4-2.9-15.2,1c0,0-27-60.8-44.1-53.4c0,0-14.7,7.8-2,67.7l-23,10.3%20c0,0-25.2-47.8-48.5-38.2C117.2,177.6,136.3,247.7,136.3,247.7z'/%3e%3cpath%20class='st3'%20d='M220.1,158.9l2,26.5c0,0,1.5,15.2,17.6,9.8c4.6-1.5,8.6-4.7,8.2-9.9c-0.3-3.9-3-7.5-4.8-10.8%20c-3.3-6.3-6-13-9.9-19.1c-2-3.1-6.1-10-10.6-9.2C222.6,146.2,219.2,145.2,220.1,158.9z'/%3e%3cpath%20class='st3'%20d='M149.3,188.7c0.3-0.2,6.9-8.5,20.6,11.7c13.7,20.2,12.3,17.6,12.3,17.6s7.4,8.1-7.7,18.5%20c-3.3,2.4-6.9,4.4-10.7,6c-2.4,0.9-4.9,1.4-7.4,1.4c-2.9-0.1-4.2-1.6-4.9-4.3c-2.3-8.8-4.9-17.6-6.2-26.6%20C144.3,206,142.3,193.2,149.3,188.7z'/%3e%3cpath%20class='st4'%20d='M308.5,229.4c0,4.8-7,8.7-15.7,8.7c-8.7,0-15.7-3.9-15.7-8.7s7.2-11.9,15.8-11.9S308.5,224.6,308.5,229.4z'/%3e%3cellipse%20transform='matrix(0.4925%20-0.8703%200.8703%200.4925%20-121.8385%20314.1253)'%20class='st4'%20cx='208.4'%20cy='261.5'%20rx='17.1'%20ry='11'/%3e%3cpath%20class='st4'%20d='M240.2,306.7l42.9-22.3c0,0,53.4-27.9,66.4-6.4s0,54.4,0,54.4s-5.6,38.5-44.9,41.9l-21.1,2.9l-27,0.7%20c0,0-43.4,2.5-75.3-21.1l-10.1-12.3c0,0-20.3-27.9-6.1-48s62.8,11,62.8,11S234.6,311.2,240.2,306.7z'/%3e%3ccircle%20class='st5'%20cx='337.5'%20cy='185.2'%20r='10.3'/%3e%3ccircle%20class='st5'%20cx='314.7'%20cy='159.9'%20r='10.3'/%3e%3ccircle%20class='st5'%20cx='278.2'%20cy='151.8'%20r='10.3'/%3e%3cpath%20class='st5'%20d='M286.3,78.8c2.2,30.4-2.2,57.9-9.6,57.9s-17.2-29.7-17.2-57.9c0-11.6,6.1-13.5,13.5-13.5%20C280.5,65.3,285.5,67.2,286.3,78.8z'/%3e%3cpath%20class='st5'%20d='M354.5,97.7c-11.2,28.3-27.1,51.2-33.7,48c-6.6-3.2-2.6-34.2,9.7-59.6c5.1-10.5,11.4-9.5,18-6.3%20C355.1,83.1,358.8,86.9,354.5,97.7z'/%3e%3cpath%20class='st5'%20d='M403.3,152.9c-24.7,17.9-50.3,28.7-54.2,22.4c-3.9-6.3,16.2-30.2,40.1-45.1c9.9-6.1,14.7-1.9,18.6,4.3%20C411.6,140.8,412.7,146,403.3,152.9z'/%3e%3cpath%20d='M238.2,276.8c-0.9,0.1-1.8,0.2-2.7,0.3c0.1,0.3,0.2,0.6,0.2,1c0,3.1-4.9,5.7-11,5.9c0,0.3-0.1,0.5,0,0.8%20c0.3,3.8,6.9,6.4,14.6,5.8c7.8-0.6,13.9-4.2,13.6-8C252.5,278.8,246,276.2,238.2,276.8z'/%3e%3cpath%20d='M292.4,263.4c-0.9,0.1-1.8,0.2-2.7,0.3c0.1,0.3,0.2,0.6,0.2,1c0,3.1-4.9,5.7-11,5.9c0,0.3-0.1,0.5,0,0.8%20c0.3,3.8,6.9,6.4,14.6,5.8c7.8-0.6,13.9-4.2,13.6-8C306.8,265.4,300.2,262.8,292.4,263.4z'/%3e%3cpath%20d='M310.2,279.3c0,0-21.5,6.3-20.2,18.4s27.2,18.4,27.2,18.4s7,2.8,11-3.9c4-6.6,9.9-15.6,8.3-28.5%20C336.5,283.7,336,274.1,310.2,279.3z'/%3e%3c/svg%3e",Hb="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20336.41%20337.42'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23f0b90b;stroke:%23f0b90b;}%3c/style%3e%3c/defs%3e%3ctitle%3eAsset%201%3c/title%3e%3cg%20id='Layer_2'%20data-name='Layer%202'%3e%3cg%20id='Layer_1-2'%20data-name='Layer%201'%3e%3cpath%20class='cls-1'%20d='M168.2.71l41.5,42.5L105.2,147.71l-41.5-41.5Z'/%3e%3cpath%20class='cls-1'%20d='M231.2,63.71l41.5,42.5L105.2,273.71l-41.5-41.5Z'/%3e%3cpath%20class='cls-1'%20d='M42.2,126.71l41.5,42.5-41.5,41.5L.7,169.21Z'/%3e%3cpath%20class='cls-1'%20d='M294.2,126.71l41.5,42.5L168.2,336.71l-41.5-41.5Z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",qb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3c!--%20Creator:%20CorelDRAW%202019%20(64-Bit)%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml:space='preserve'%20width='100%25'%20height='100%25'%20version='1.1'%20shape-rendering='geometricPrecision'%20text-rendering='geometricPrecision'%20image-rendering='optimizeQuality'%20fill-rule='evenodd'%20clip-rule='evenodd'%20viewBox='0%200%20444.44%20444.44'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xmlns:xodm='http://www.corel.com/coreldraw/odm/2003'%3e%3cg%20id='Layer_x0020_1'%3e%3cmetadata%20id='CorelCorpID_0Corel-Layer'/%3e%3cpath%20fill='%23F5AC37'%20fill-rule='nonzero'%20d='M222.22%200c122.74,0%20222.22,99.5%20222.22,222.22%200,122.74%20-99.48,222.22%20-222.22,222.22%20-122.72,0%20-222.22,-99.49%20-222.22,-222.22%200,-122.72%2099.5,-222.22%20222.22,-222.22z'/%3e%3cpath%20fill='%23FEFEFD'%20fill-rule='nonzero'%20d='M230.41%20237.91l84.44%200c1.8,0%202.65,0%202.78,-2.36%200.69,-8.59%200.69,-17.23%200,-25.83%200,-1.67%20-0.83,-2.36%20-2.64,-2.36l-168.05%200c-2.08,0%20-2.64,0.69%20-2.64,2.64l0%2024.72c0,3.19%200,3.19%203.33,3.19l82.78%200zm77.79%20-59.44c0.24,-0.63%200.24,-1.32%200,-1.94%20-1.41,-3.07%20-3.08,-6%20-5.02,-8.75%20-2.92,-4.7%20-6.36,-9.03%20-10.28,-12.92%20-1.85,-2.35%20-3.99,-4.46%20-6.39,-6.25%20-12.02,-10.23%20-26.31,-17.47%20-41.67,-21.11%20-7.75,-1.74%20-15.67,-2.57%20-23.61,-2.5l-74.58%200c-2.08,0%20-2.36,0.83%20-2.36,2.64l0%2049.3c0,2.08%200,2.64%202.64,2.64l160.27%200c0,0%201.39,-0.28%201.67,-1.11l-0.68%200zm0%2088.33c-2.36,-0.26%20-4.74,-0.26%20-7.1,0l-154.02%200c-2.08,0%20-2.78,0%20-2.78,2.78l0%2048.2c0,2.22%200,2.78%202.78,2.78l71.11%200c3.4,0.26%206.8,0.02%2010.13,-0.69%2010.32,-0.74%2020.47,-2.98%2030.15,-6.67%203.52,-1.22%206.92,-2.81%2010.13,-4.72l0.97%200c16.67,-8.67%2030.21,-22.29%2038.75,-39.01%200,0%200.97,-2.1%20-0.12,-2.65zm-191.81%2078.75l0%20-0.83%200%20-32.36%200%20-10.97%200%20-32.64c0,-1.81%200,-2.08%20-2.22,-2.08l-30.14%200c-1.67,0%20-2.36,0%20-2.36,-2.22l0%20-26.39%2032.22%200c1.8,0%202.5,0%202.5,-2.36l0%20-26.11c0,-1.67%200,-2.08%20-2.22,-2.08l-30.14%200c-1.67,0%20-2.36,0%20-2.36,-2.22l0%20-24.44c0,-1.53%200,-1.94%202.22,-1.94l29.86%200c2.08,0%202.64,0%202.64,-2.64l0%20-74.86c0,-2.22%200,-2.78%202.78,-2.78l104.16%200c7.56,0.3%2015.07,1.13%2022.5,2.5%2015.31,2.83%2030.02,8.3%2043.47,16.11%208.92,5.25%2017.13,11.59%2024.44,18.89%205.5,5.71%2010.46,11.89%2014.86,18.47%204.37,6.67%208,13.8%2010.85,21.25%200.35,1.94%202.21,3.25%204.15,2.92l24.86%200c3.19,0%203.19,0%203.33,3.06l0%2022.78c0,2.22%20-0.83,2.78%20-3.06,2.78l-19.17%200c-1.94,0%20-2.5,0%20-2.36,2.5%200.76,8.46%200.76,16.95%200,25.41%200,2.36%200,2.64%202.65,2.64l21.93%200c0.97,1.25%200,2.5%200,3.76%200.14,1.61%200.14,3.24%200,4.85l0%2016.81c0,2.36%20-0.69,3.06%20-2.78,3.06l-26.25%200c-1.83,-0.35%20-3.61,0.82%20-4.03,2.64%20-6.25,16.25%20-16.25,30.82%20-29.17,42.5%20-4.72,4.25%20-9.68,8.25%20-14.86,11.94%20-5.56,3.2%20-10.97,6.53%20-16.67,9.17%20-10.49,4.72%20-21.49,8.2%20-32.78,10.41%20-10.72,1.92%20-21.59,2.79%20-32.5,2.64l-96.39%200%200%20-0.14z'/%3e%3c/g%3e%3c/svg%3e",$b="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%202000%202000'%20width='2500'%20height='2500'%3e%3cg%20fill='%23c2a633'%3e%3cpath%20d='M1024%20659H881.12v281.69h224.79v117.94H881.12v281.67H1031c38.51%200%20316.16%204.35%20315.73-327.72S1077.44%20659%201024%20659z'/%3e%3cpath%20d='M1000%200C447.71%200%200%20447.71%200%201000s447.71%201000%201000%201000%201000-447.71%201000-1000S1552.29%200%201000%200zm39.29%201540.1H677.14v-481.46H549.48V940.7h127.65V459.21h310.82c73.53%200%20560.56-15.27%20560.56%20549.48%200%20574.09-509.21%20531.41-509.21%20531.41z'/%3e%3c/g%3e%3c/svg%3e",Gb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='katman_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20800%20800'%20style='enable-background:new%200%200%20800%20800;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23141726;}%20.st1{fill:url(%23SVGID_1_);}%20.st2{fill:url(%23SVGID_2_);}%20.st3{fill:url(%23SVGID_3_);}%20.st4{fill:url(%23SVGID_4_);}%20.st5{fill:url(%23SVGID_5_);}%20.st6{fill:url(%23SVGID_6_);}%20%3c/style%3e%3ccircle%20class='st0'%20cx='400'%20cy='400'%20r='400'/%3e%3clinearGradient%20id='SVGID_1_'%20gradientUnits='userSpaceOnUse'%20x1='574.9257'%20y1='665.8727'%20x2='248.5257'%20y2='142.3127'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st1'%20d='M536,568.9c-66.8-108.5-166.4-170-289.4-195.6c-43.5-9-87.2-8.9-129.4,7.7c-28.9,11.4-33.3,23.4-19.7,53.7%20c92.4-21.9,178.4-1.5,258.9,45c81.1,46.9,141.6,112.2,169.1,205c38.6-11.8,43.6-18.3,34.3-54.2C554.3,609.4,547.4,587.4,536,568.9%20L536,568.9z'/%3e%3clinearGradient%20id='SVGID_2_'%20gradientUnits='userSpaceOnUse'%20x1='572.5896'%20y1='667.3303'%20x2='246.1996'%20y2='143.7703'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st2'%20d='M609.1,480.6c-85.8-125-207.3-194.9-355.8-218.3c-39.3-6.2-79.4-4.5-116.2,14.3c-17.6,9-33.2,20.5-37.4,44.9%20c115.8-31.9,219.7-3.7,317.5,53c98.3,57,175.1,133.5,205,251.1c20.8-18.4,24.5-41,19.1-62C633.9,534.8,625.5,504.5,609.1,480.6%20L609.1,480.6z'/%3e%3clinearGradient%20id='SVGID_3_'%20gradientUnits='userSpaceOnUse'%20x1='577.0148'%20y1='664.5671'%20x2='250.6247'%20y2='141.0071'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st3'%20d='M105,488.6c7.3,16.2,12.1,34.5,23,47.6c5.5,6.7,22.2,4.1,33.8,5.7c1.8,0.2,3.6,0.5,5.4,0.7%20c102.9,15.3,184.1,65.1,242.1,152c3.4,5.1,8.9,12.7,13.4,12.7c17.4-0.1,34.9-2.8,52.5-4.5C449,557.5,232.8,438.3,105,488.6%20L105,488.6z'/%3e%3clinearGradient%20id='SVGID_4_'%20gradientUnits='userSpaceOnUse'%20x1='569.0272'%20y1='669.5518'%20x2='242.6272'%20y2='145.9917'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st4'%20d='M656.6,366.7C599.9,287.4,521.7,234.6,432.9,197c-61.5-26.1-125.2-41.8-192.8-33.7%20c-23.4,2.8-45.3,9.5-63.4,24.7c230.9,5.8,404.6,105.8,524,303.3c0.2-13.1,2.2-27.7-2.6-39.5C686.1,422.5,674.7,392,656.6,366.7z'/%3e%3clinearGradient%20id='SVGID_5_'%20gradientUnits='userSpaceOnUse'%20x1='571.6973'%20y1='667.8917'%20x2='245.2973'%20y2='144.3317'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st5'%20d='M709.8,325.3c-47-178.9-238-265-379.2-221.4C482.7,133.9,607.5,206.4,709.8,325.3z'/%3e%3clinearGradient%20id='SVGID_6_'%20gradientUnits='userSpaceOnUse'%20x1='579.0382'%20y1='663.3111'%20x2='252.6482'%20y2='139.7511'%20gradientTransform='matrix(1%200%200%20-1%200%20800)'%3e%3cstop%20offset='0.16'%20style='stop-color:%23C6F462'/%3e%3cstop%20offset='0.89'%20style='stop-color:%2333D9FF'/%3e%3c/linearGradient%3e%3cpath%20class='st6'%20d='M155.4,583.9c54.6,69.3,124,109.7,213,122.8C334.4,643.2,214.6,574.5,155.4,583.9L155.4,583.9z'/%3e%3c/svg%3e",Vb="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2037.8%2043.6'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%232a5ada;}%3c/style%3e%3c/defs%3e%3ctitle%3eAsset%201%3c/title%3e%3cg%20id='Layer_2'%20data-name='Layer%202'%3e%3cg%20id='Layer_1-2'%20data-name='Layer%201'%3e%3cpath%20class='cls-1'%20d='M18.9,0l-4,2.3L4,8.6,0,10.9V32.7L4,35l11,6.3,4,2.3,4-2.3L33.8,35l4-2.3V10.9l-4-2.3L22.9,2.3ZM8,28.1V15.5L18.9,9.2l10.9,6.3V28.1L18.9,34.4Z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Fb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='CIRCLE_OUTLINE_BLACK'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20512%20512'%20style='enable-background:new%200%200%20512%20512;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23FFD15C;}%20.st1{fill:%23FFFFFF;}%20%3c/style%3e%3cpath%20class='st0'%20d='M512,256c0,141.4-114.6,256-256,256S0,397.4,0,256S114.6,0,256,0S512,114.6,512,256z'/%3e%3cpath%20class='st1'%20d='M193.5,152.3c-10.4,1.5-4.6,10.4-4.6,10.4l-0.3,2.5c14.9,25.7,39.5,52.7,64.6,70.7c18.5,13.2,32.3,32.7,39,54.9%20c6.6,21.9,5.4,44.6-3.2,62.2c-10.4,21.2-30.1,33.5-55.3,34.7c-25.1,1.2-54.9-8.7-88.6-29.4c-0.3,0.8-0.7,1.6-1.1,2.3%20c29.2,30.1,63,48.1,98.1,52.2c35.5,4.2,71.9-5.8,102.7-27.9c-0.8,0-1.4-0.2-1.9-0.5C446.5,298.8,276.9,140.4,193.5,152.3%20L193.5,152.3z'/%3e%3cpath%20d='M462.6,267.4c-0.1-1.9-0.2-4.2-0.6-6.9c-1.3-10.5-5.5-26.6-17.7-43.7c-0.6-0.8-1.2-1.6-1.8-2.4c-0.1-0.2-0.3-0.4-0.4-0.6%20c-0.5-0.7-1.1-1.4-1.6-2.1c0,0-0.1-0.1-0.1-0.1c-0.6-0.7-1.2-1.5-1.8-2.2c-0.1-0.2-0.3-0.3-0.4-0.5c-0.5-0.6-1.1-1.3-1.6-1.9%20c-0.1-0.1-0.1-0.1-0.2-0.2c-0.6-0.7-1.2-1.3-1.8-2c-0.1-0.1-0.3-0.3-0.4-0.4c-0.5-0.6-1-1.1-1.5-1.6c-0.1-0.1-0.2-0.2-0.2-0.3%20c-0.6-0.6-1.2-1.2-1.7-1.7c-0.1-0.1-0.2-0.2-0.4-0.4c-0.5-0.5-1-1-1.5-1.4c-0.1-0.1-0.2-0.2-0.3-0.3c-0.6-0.5-1.1-1-1.7-1.5%20c-0.1-0.1-0.2-0.2-0.3-0.3c-0.5-0.4-1-0.8-1.4-1.2c-0.1-0.1-0.2-0.2-0.3-0.3c-0.5-0.5-1.1-0.9-1.6-1.3c-0.1-0.1-0.2-0.2-0.3-0.3%20c-0.4-0.4-0.9-0.7-1.3-1.1c-0.1-0.1-0.3-0.2-0.4-0.3c-0.5-0.4-1-0.8-1.5-1.1c-0.1-0.1-0.2-0.2-0.3-0.2c-0.4-0.3-0.8-0.6-1.2-0.9%20c-0.1-0.1-0.3-0.2-0.4-0.3c-0.5-0.3-0.9-0.6-1.4-1c-0.1-0.1-0.2-0.2-0.4-0.2c-0.4-0.2-0.7-0.5-1-0.7c-0.2-0.1-0.3-0.2-0.5-0.3%20c-0.4-0.2-0.8-0.5-1.1-0.7c-0.2-0.1-0.4-0.2-0.5-0.3c-0.3-0.2-0.5-0.3-0.8-0.5c-0.2-0.1-0.4-0.2-0.6-0.3c-0.2-0.1-0.5-0.3-0.7-0.4%20c-0.3-0.2-0.6-0.4-1-0.5c-0.2-0.1-0.3-0.2-0.5-0.3c-0.2-0.1-0.4-0.2-0.7-0.3c-0.1-0.1-0.2-0.1-0.3-0.2c-0.4-0.2-0.9-0.5-1.3-0.7%20c0,0-0.1,0-0.1,0c-2.7-4.8-5.7-9.6-8.9-14.4c-37.3-54.6-78.2-81.1-124.9-81.2h-0.2c-19.8,0-37.9,4.5-53,8.9c-4.3,1.3-8.8,2.6-13.1,4%20c-11,3.4-21.4,6.7-30.3,8.1c-5.6,0.9-10,3-13.1,6.2c-2.8,3-4.5,7.1-5,12.1c-1,9.7,2.5,22.8,10.1,37.8c15.3,30.4,44.6,63.9,74.6,85.4%20c3.5,2.5,6.7,5.2,9.7,8.2c-0.6,0.1-1.2,0.2-1.9,0.3c-23.5,3.4-35.8,28.6-40.7,42.3c-1.3,3.6,2.2,6.8,5.8,5.5%20c14.6-4.9,44.3-12.9,61-2.6c0.1,0,0.3-0.1,0.4-0.1c3,15,1.6,29.8-4.1,41.3c-7.5,15.1-21.8,24-40.3,24.9%20c-21.8,1.1-48.6-8.2-79.7-27.6l-0.5-0.3c-0.3-0.1-0.6-0.3-0.8-0.5c24.2-27.5,9.9-69.9,4.3-83.8c-0.7-1.8-3.3-1.8-4.3-0.1%20c-13,22.1-39.8,20.4-39.3,46.7c0,0,0,0,0-0.1c-20.4-16.6-35.6,5.5-61,2.2c-2-0.3-3.5,1.7-2.5,3.4c7.7,13.3,33.5,52.3,71.6,47.9%20l-1.8,1.3l6.8,7.5c33.3,36.7,72.9,58.7,114.6,63.6c6,0.7,12,1.1,18,1.1c34.9,0,69.6-11.7,99.4-33.9c34.2-25.4,57.9-61.3,66.8-101%20c3-13.2,4.2-26.4,3.7-39.5c7.5-3,15.7,0.3,22.2,4.7c0.1,0,0.1,0.1,0.2,0.1c0.3,0.2,0.5,0.4,0.8,0.5c0.1,0,0.1,0.1,0.2,0.1%20c0.8,0.5,1.5,1.1,2.2,1.6c0.1,0.1,0.3,0.2,0.4,0.3c0.2,0.1,0.3,0.3,0.5,0.4c0.2,0.1,0.3,0.3,0.5,0.4c0.1,0.1,0.3,0.2,0.4,0.4%20c0.3,0.2,0.6,0.5,0.8,0.7c0.1,0.1,0.2,0.2,0.3,0.2c0.2,0.2,0.4,0.4,0.6,0.5c0.1,0.1,0.2,0.2,0.3,0.3c0.2,0.2,0.4,0.3,0.6,0.5%20c0.1,0.1,0.2,0.1,0.2,0.2c0.2,0.2,0.5,0.5,0.7,0.7c0.1,0.1,0.2,0.1,0.2,0.2c0.5,0.4,1.1,0.5,1.6,0.5%20C461.7,269.5,462.7,268.6,462.6,267.4z%20M342.9,384.5c0.5,0.3,1.1,0.4,1.9,0.5c-30.8,22.2-67.2,32.1-102.7,27.9%20c-35.2-4.1-68.9-22.1-98.1-52.2c0.4-0.8,0.8-1.5,1.1-2.3c33.7,20.7,63.5,30.6,88.6,29.4c25.2-1.2,44.9-13.6,55.3-34.7%20c8.7-17.6,9.8-40.2,3.2-62.2c-6.7-22.2-20.5-41.7-39-54.9c-25.2-18-49.7-45-64.6-70.7l0.3-2.5c0,0-5.8-8.9,4.6-10.4%20C276.9,140.4,446.5,298.8,342.9,384.5z'/%3e%3cpath%20class='st1'%20d='M280.3,146.5c-2.9-4.1-8.7-15.1,9.3-15.1c18,0,45.4,20.3,51,27.8c-1.7,4.6-13.3,5.6-19.1,5.2%20s-15.6-1.4-23.2-5.2C290.8,155.6,283.2,150.6,280.3,146.5z'/%3e%3c/svg%3e",Qb="/assets/popcat-DOGy5LFs.svg",Yb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='CIRCLE_OUTLINE_BLACK'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20512%20512'%20style='enable-background:new%200%200%20512%20512;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23E6DAFE;}%20%3c/style%3e%3ccircle%20class='st0'%20cx='256'%20cy='256'%20r='256'/%3e%3cpath%20d='M303.4,228.5c0,20.7-16.7,37.5-37.4,37.5v37.5c41.3,0,74.7-33.5,74.7-74.9s-33.5-74.9-74.7-74.9c-13.6,0-26.4,3.6-37.4,10%20c-22.3,12.9-37.4,37.2-37.4,64.9v187.3l33.6,33.7l3.8,3.8V228.5c0-20.7,16.7-37.5,37.4-37.5S303.4,207.9,303.4,228.5z'/%3e%3cpath%20d='M266,78.7c-27.2,0-52.7,7.3-74.7,20.1c-14.1,8.1-26.7,18.5-37.4,30.7c-23.2,26.4-37.4,61.1-37.4,99.1v112.4l37.4,37.5V228.5%20c0-33.3,14.4-63.2,37.4-83.8c10.8-9.7,23.4-17.3,37.4-22.2c11.7-4.2,24.3-6.4,37.4-6.4c61.9,0,112.1,50.3,112.1,112.4%20S327.9,340.9,266,340.9v37.5c82.5,0,149.4-67.1,149.4-149.8S348.5,78.7,266,78.7z'/%3e%3c/svg%3e",Xb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2032%2036.9'%20style='enable-background:new%200%200%2032%2036.9;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:url(%23SVGID_1_);}%20.st1{fill:url(%23SVGID_2_);}%20.st2{fill:url(%23SVGID_3_);}%20.st3{fill:url(%23SVGID_4_);}%20%3c/style%3e%3clinearGradient%20id='SVGID_1_'%20gradientUnits='userSpaceOnUse'%20x1='32.95'%20y1='26.3048'%20x2='-0.9788'%20y2='12.7367'%20gradientTransform='matrix(1%200%200%20-1%200%2038)'%3e%3cstop%20offset='0'%20style='stop-color:%23C200FB'/%3e%3cstop%20offset='0.4897'%20style='stop-color:%233772FF'/%3e%3cstop%20offset='1'%20style='stop-color:%235AC4BE'/%3e%3c/linearGradient%3e%3cpath%20class='st0'%20d='M30.3,13.9v12.9L16,35L1.7,26.7V10.2L16,1.9l11,6.4l1.7-1L16,0L0,9.2v18.5l16,9.2l16-9.2V12.9L30.3,13.9z'/%3e%3clinearGradient%20id='SVGID_2_'%20gradientUnits='userSpaceOnUse'%20x1='32.2949'%20y1='27.9428'%20x2='-1.6339'%20y2='14.3747'%20gradientTransform='matrix(1%200%200%20-1%200%2038)'%3e%3cstop%20offset='0'%20style='stop-color:%23C200FB'/%3e%3cstop%20offset='0.4897'%20style='stop-color:%233772FF'/%3e%3cstop%20offset='1'%20style='stop-color:%235AC4BE'/%3e%3c/linearGradient%3e%3cpath%20class='st1'%20d='M12,26.8H9.6v-8h8c0.8,0,1.5-0.3,2-0.9c0.5-0.5,0.8-1.3,0.8-2c0-0.4-0.1-0.7-0.2-1.1c-0.1-0.3-0.4-0.7-0.6-0.9%20c-0.3-0.3-0.6-0.5-0.9-0.6S18,13,17.6,13h-8v-2.4h8c1.4,0,2.7,0.6,3.7,1.6c1,1,1.6,2.3,1.6,3.7c0,1.1-0.3,2.1-0.9,3%20c-0.6,0.8-1.4,1.5-2.3,1.9c-0.9,0.3-1.9,0.4-2.9,0.4H12V26.8z'/%3e%3clinearGradient%20id='SVGID_3_'%20gradientUnits='userSpaceOnUse'%20x1='35.6876'%20y1='19.4591'%20x2='1.7588'%20y2='5.891'%20gradientTransform='matrix(1%200%200%20-1%200%2038)'%3e%3cstop%20offset='0'%20style='stop-color:%23C200FB'/%3e%3cstop%20offset='0.4897'%20style='stop-color:%233772FF'/%3e%3cstop%20offset='1'%20style='stop-color:%235AC4BE'/%3e%3c/linearGradient%3e%3cpath%20class='st2'%20d='M22.8,26.6H20l-2.2-3.8c0.9-0.1,1.7-0.2,2.5-0.5L22.8,26.6z'/%3e%3clinearGradient%20id='SVGID_4_'%20gradientUnits='userSpaceOnUse'%20x1='32.0678'%20y1='28.5037'%20x2='-1.861'%20y2='14.9356'%20gradientTransform='matrix(1%200%200%20-1%200%2038)'%3e%3cstop%20offset='0'%20style='stop-color:%23C200FB'/%3e%3cstop%20offset='0.4897'%20style='stop-color:%233772FF'/%3e%3cstop%20offset='1'%20style='stop-color:%235AC4BE'/%3e%3c/linearGradient%3e%3cpath%20class='st3'%20d='M28.7,11.2l1.7,0.9l1.7-0.9V9.2l-1.7-1l-1.7,1V11.2z'/%3e%3c/svg%3e",Zb="/assets/uni-C5oaqT41.svg",Kb="data:image/svg+xml,%3csvg%20width='96'%20height='96'%20viewBox='0%200%2096%2096'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M48%2095C73.9574%2095%2095%2073.9574%2095%2048C95%2022.0426%2073.9574%201%2048%201C22.0426%201%201%2022.0426%201%2048C1%2073.9574%2022.0426%2095%2048%2095Z'%20fill='%230B53BF'/%3e%3cpath%20d='M56.4609%2013.7778V19.8291C68.5341%2023.4716%2077.3759%2034.6928%2077.3759%2047.9997C77.3759%2061.3066%2068.5341%2072.5278%2056.4609%2076.1703V82.2216C71.8534%2078.4616%2083.2509%2064.5672%2083.2509%2047.9997C83.2509%2031.4322%2071.8534%2017.5378%2056.4609%2013.7778Z'%20fill='white'/%3e%3cpath%20d='M18.625%2047.9997C18.625%2034.6928%2027.4669%2023.4716%2039.54%2019.8291V13.7778C24.1475%2017.5378%2012.75%2031.4322%2012.75%2047.9997C12.75%2064.5672%2024.1475%2078.4616%2039.54%2082.2216V76.1703C27.4669%2072.5572%2018.625%2061.3066%2018.625%2047.9997Z'%20fill='white'/%3e%3cpath%20d='M60.6319%2054.5506C60.6319%2042.5362%2041.8025%2047.4713%2041.8025%2040.8325C41.8025%2038.4531%2043.7119%2036.9256%2047.3544%2036.9256C51.7019%2036.9256%2053.2%2039.0406%2053.67%2041.89H59.6625C59.1279%2036.5426%2056.0588%2033.1662%2050.9382%2032.1604V27.4375H45.0632V31.9918C39.4534%2032.7062%2035.9275%2035.973%2035.9275%2040.8325C35.9275%2052.9056%2054.7863%2048.3819%2054.7863%2054.9031C54.7863%2057.3706%2052.4069%2059.0156%2048.3825%2059.0156C43.1244%2059.0156%2041.3913%2056.695%2040.745%2053.4931H34.8994C35.2781%2059.3502%2038.8897%2063.0159%2045.0632%2063.9307V68.5625H50.9382V63.9923C56.9633%2063.2139%2060.6319%2059.7089%2060.6319%2054.5506Z'%20fill='white'/%3e%3c/svg%3e",Ib="data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20339.43%20295.27'%3e%3ctitle%3etether-usdt-logo%3c/title%3e%3cpath%20d='M62.15,1.45l-61.89,130a2.52,2.52,0,0,0,.54,2.94L167.95,294.56a2.55,2.55,0,0,0,3.53,0L338.63,134.4a2.52,2.52,0,0,0,.54-2.94l-61.89-130A2.5,2.5,0,0,0,275,0H64.45a2.5,2.5,0,0,0-2.3,1.45h0Z'%20style='fill:%2350af95;fill-rule:evenodd'/%3e%3cpath%20d='M191.19,144.8v0c-1.2.09-7.4,0.46-21.23,0.46-11,0-18.81-.33-21.55-0.46v0c-42.51-1.87-74.24-9.27-74.24-18.13s31.73-16.25,74.24-18.15v28.91c2.78,0.2,10.74.67,21.74,0.67,13.2,0,19.81-.55,21-0.66v-28.9c42.42,1.89,74.08,9.29,74.08,18.13s-31.65,16.24-74.08,18.12h0Zm0-39.25V79.68h59.2V40.23H89.21V79.68H148.4v25.86c-48.11,2.21-84.29,11.74-84.29,23.16s36.18,20.94,84.29,23.16v82.9h42.78V151.83c48-2.21,84.12-11.73,84.12-23.14s-36.09-20.93-84.12-23.15h0Zm0,0h0Z'%20style='fill:%23fff;fill-rule:evenodd'/%3e%3c/svg%3e",Wb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20696.8%20697.9'%20style='enable-background:new%200%200%20696.8%20697.9;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:url(%23SVGID_1_);}%20.st1{fill:url(%23SVGID_2_);}%20.st2{fill:url(%23SVGID_3_);}%20.st3{fill:url(%23SVGID_4_);}%20%3c/style%3e%3clinearGradient%20id='SVGID_1_'%20gradientUnits='userSpaceOnUse'%20x1='716.2648'%20y1='102.511'%20x2='-52.0246'%20y2='621.5151'%20gradientTransform='matrix(1%200%200%20-1%200%20700)'%3e%3cstop%20offset='0'%20style='stop-color:%230F0C48'/%3e%3cstop%20offset='1'%20style='stop-color:%23262769'/%3e%3c/linearGradient%3e%3cpath%20class='st0'%20d='M348.4,697.9c-92.3-0.1-180.9-36.8-246.2-102.2C36.9,530.3,0.1,441.5,0,349c0.1-92.6,36.9-181.3,102.2-246.7%20C167.5,36.9,256.1,0.1,348.4,0c92.3,0.1,180.9,36.9,246.2,102.3c65.3,65.4,102.1,154.1,102.2,246.7%20c-0.1,92.6-36.9,181.3-102.2,246.7S440.7,697.9,348.4,697.9z%20M348.4,26.9c-85.2,0.1-166.9,34-227.2,94.4%20C60.9,181.6,26.9,263.5,26.8,349c0.1,85.4,34,167.4,94.3,227.8c60.3,60.4,142,94.3,227.3,94.3c85.2,0,167-33.9,227.3-94.3%20C636,516.3,669.9,434.4,670,349c-0.1-85.4-34.1-167.3-94.3-227.7C515.3,60.9,433.6,26.9,348.4,26.9L348.4,26.9z'/%3e%3clinearGradient%20id='SVGID_2_'%20gradientUnits='userSpaceOnUse'%20x1='697.22'%20y1='140.5214'%20x2='60.6977'%20y2='570.4864'%20gradientTransform='matrix(1%200%200%20-1%200%20700)'%3e%3cstop%20offset='0'%20style='stop-color:%230F0C48'/%3e%3cstop%20offset='1'%20style='stop-color:%23262769'/%3e%3c/linearGradient%3e%3cpath%20class='st1'%20d='M392.4,642.7c-76.5-0.1-149.8-30.5-203.9-84.7c-54.1-54.2-84.6-127.7-84.7-204.4%20c0.1-76.7,30.6-150.2,84.7-204.4C242.6,95,315.9,64.5,392.4,64.5c76.5,0.1,149.8,30.5,203.9,84.7c54.1,54.2,84.6,127.7,84.7,204.4%20c-0.1,76.7-30.6,150.2-84.7,204.4C542.3,612.2,468.9,642.7,392.4,642.7z%20M392.4,85.3c-71,0.1-139,28.3-189.2,78.6%20s-78.4,118.5-78.6,189.6c0.1,71.1,28.4,139.3,78.6,189.6c50.2,50.3,118.2,78.5,189.2,78.6c71-0.1,139-28.3,189.2-78.6%20c50.2-50.3,78.5-118.5,78.6-189.6c-0.1-71.1-28.4-139.3-78.6-189.6C531.4,113.7,463.4,85.4,392.4,85.3L392.4,85.3z'/%3e%3clinearGradient%20id='SVGID_3_'%20gradientUnits='userSpaceOnUse'%20x1='678.1428'%20y1='178.4569'%20x2='173.4188'%20y2='519.3949'%20gradientTransform='matrix(1%200%200%20-1%200%20700)'%3e%3cstop%20offset='0'%20style='stop-color:%230F0C48'/%3e%3cstop%20offset='1'%20style='stop-color:%23262769'/%3e%3c/linearGradient%3e%3cpath%20class='st2'%20d='M436.5,587.5c-60.7,0-118.8-24.2-161.7-67.2c-42.9-43-67.1-101.3-67.1-162.1c0.1-60.8,24.2-119.1,67.1-162.1%20s101.1-67.1,161.7-67.2c60.7,0,118.8,24.2,161.7,67.2c42.9,43,67,101.3,67.1,162.1c-0.1,60.8-24.2,119.1-67.1,162.1%20C555.3,563.3,497.1,587.5,436.5,587.5L436.5,587.5z%20M436.5,144c-56.7,0-111.1,22.6-151.2,62.8c-40.1,40.2-62.7,94.7-62.8,151.5%20c0.1,56.8,22.7,111.3,62.8,151.5s94.5,62.8,151.2,62.8c56.7,0,111.1-22.6,151.2-62.8c40.1-40.2,62.7-94.7,62.8-151.5%20c-0.1-56.9-22.7-111.4-62.8-151.5C547.5,166.6,493.2,144,436.5,144L436.5,144z'/%3e%3clinearGradient%20id='SVGID_4_'%20gradientUnits='userSpaceOnUse'%20x1='659.0872'%20y1='216.4527'%20x2='286.1323'%20y2='468.3527'%20gradientTransform='matrix(1%200%200%20-1%200%20700)'%3e%3cstop%20offset='0'%20style='stop-color:%230F0C48'/%3e%3cstop%20offset='1'%20style='stop-color:%23262769'/%3e%3c/linearGradient%3e%3cpath%20class='st3'%20d='M480.5,532.3c-44.8,0-87.8-17.9-119.5-49.6c-31.7-31.8-49.5-74.8-49.6-119.7c0.1-44.9,17.9-88,49.6-119.8%20c31.7-31.8,74.7-49.6,119.5-49.7c44.8,0,87.8,17.9,119.5,49.7c31.7,31.8,49.5,74.8,49.6,119.8c-0.1,44.9-17.9,88-49.6,119.7%20C568.3,514.4,525.3,532.3,480.5,532.3L480.5,532.3z%20M480.5,202.5c-42.5,0-83.2,17-113.2,47c-30,30.1-46.9,70.9-47,113.4%20c0.1,42.6,17,83.3,47,113.4c30,30.1,70.7,47,113.2,47c42.4,0,83.1-16.9,113.2-47c30-30.1,46.9-70.9,47-113.4%20c-0.1-42.6-17-83.4-47-113.4C563.7,219.4,523,202.5,480.5,202.5z'/%3e%3c/svg%3e",Pb="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2024.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20600%20600'%20style='enable-background:new%200%200%20600%20600;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23EFBFA8;}%20%3c/style%3e%3cpath%20class='st0'%20d='M300,0C134.3,0,0,134.3,0,300s134.3,300,300,300s300-134.3,300-300S465.7,0,300,0z%20M449,347%20c-13-29-61-93-131-86c-73,8-156,49-180,109c-37-29-5-79,17-102c-5-22,9-70,17-90c3-17,17-29,24-32c-1-12,20-18,30-20l1-2%20c3-9,6-20,32-28c22-8,42,12,50,23c2-6,10-15,18-8c72,11,96,90,100,127c14,10,43,36,50,60c7,29-1,35-11,43l-2,2%20C459,349,453,349,449,347z%20M435,378c-15.7,65.8-68.5,116.3-135,129c-42,0-109-66-128-97c-39-3-30-23-21-32l-5-2c18-42,69-92,169-104%20c55-7,97,32,122,72C438,357,437,371,435,378z%20M216,328c6,15,24,39,50,11C264,331,250,317,216,328z%20M256,470c-4-6,20-9,32-10l16-4%20c3-13-3-14-6-13c-24,2-22-26-16-35c7-8,22-5,27-4c5,2,13,0,16-1c15-1,14,17,11,26c-1,12-18,16-26,16c-1,9,1,13,3,13l34,8%20c13,5,6,6,0,7c-17-11-29-7-37-5l-6,2c-14-5-29-4-35-2C266,471,259,475,256,470z%20M345,344c1-12,13-32,48-14C388,342,371,361,345,344z%20'/%3e%3c/svg%3e",Ot={BTC:Mb,ETH:Db,SOL:zb,TRX:Lb,BNB:Bb,ARB:Ub,BONK:kb,BUSD:Hb,DAI:qb,DOGE:$b,JUP:Gb,LINK:Vb,ORCA:Fb,POPCAT:Qb,PYTH:Yb,RAY:Xb,UNI:Zb,USDC:Kb,USDT:Ib,W:Wb,WIF:Pb};function vm(s){return Ot[s.toUpperCase()]}function lo(s,c=8){const i=typeof s=="number"?s.toString():s,o=i.indexOf(".");return o===-1?i:i.slice(0,o+1+c)}const Jb=[{ticker:"BTC",name:"Bitcoin",logo:Ot.BTC,color:"#F7931A",price:"$66,916.00",change:.12,bal:"0.003295",usd:"$220.57",fav:!0},{ticker:"ETH",name:"Ethereum",logo:Ot.ETH,color:"#627EEA",price:"$2,053.97",change:-.12,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"SOL",name:"Solana",logo:Ot.SOL,color:"#9945FF",price:"$163.84",change:-1.57,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"TRX",name:"Tron",logo:Ot.TRX,color:"#FF060A",price:"$0.1197",change:1.33,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"BNB",name:"BNB",logo:Ot.BNB,color:"#F3BA2F",price:"$0.00",change:0,bal:"0.00000",usd:"$0.00",fav:!1}],e8={BTC:"BTC",ETH:"ETH",SOL:"SOL",TRX:"TRX",BSC:"BNB"},t8={BTC:"Bitcoin",ETH:"Ethereum",SOL:"Solana",TRX:"Tron",BSC:"BNB"},gm="#2A2D3A";function _m(s){return s==null?"$—":`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`}function ym(s){return s==null?"$—":s>=1?`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`:`$${s.toLocaleString("en-US",{minimumFractionDigits:4,maximumFractionDigits:6})}`}function xm(s){return Jb.find(c=>c.ticker===s)}function n8(s){const{data:c,isLoading:i}=no(s);if(!c)return{rows:[],isLoading:i};const o=e8[s],d=xm(o),h={ticker:o,name:t8[s],logo:vm(o)??(d==null?void 0:d.logo),color:(d==null?void 0:d.color)??gm,price:ym(c.native.usdPrice),change:0,bal:lo(c.native.formatted),usd:_m(c.native.usdValue),fav:!1},m=Object.entries(c.tokens??{}).map(([p,g])=>{const v=xm(p);return{ticker:p,name:(v==null?void 0:v.name)??p,logo:vm(p)??(v==null?void 0:v.logo),color:(v==null?void 0:v.color)??gm,price:ym(g.usdPrice),change:0,bal:lo(g.formatted),usd:_m(g.usdValue),fav:!1}});return{rows:[h,...m],isLoading:i}}const l8={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"]},a8={ETH:{label:"Ethereum",nativeSymbol:"ETH",hasToken:!0,hasFeeTier:!0,addressPlaceholder:"0x…",unit:"wei",color:"#627EEA",nativeDecimals:18},BSC:{label:"BSC Chain",nativeSymbol:"BSC",hasToken:!0,hasFeeTier:!1,addressPlaceholder:"0x…",unit:"wei",color:"#F3BA2F",nativeDecimals:18},BTC:{label:"Bitcoin",nativeSymbol:"BTC",hasToken:!1,hasFeeTier:!0,addressPlaceholder:"bc1q…",unit:"satoshi",color:"#F7931A",nativeDecimals:8},TRX:{label:"Tron",nativeSymbol:"TRX",hasToken:!0,hasFeeTier:!1,addressPlaceholder:"T…",unit:"sun",color:"#FF060A",nativeDecimals:6},SOL:{label:"Solana",nativeSymbol:"SOL",hasToken:!0,hasFeeTier:!1,addressPlaceholder:"Fg3R…",unit:"lamport",color:"#9945FF",nativeDecimals:9}},bm={BTC:"BTC",ETH:"ETH",SOL:"SOL",TRX:"TRX",BSC:"BSC"},s8="_overlay_1hejd_1",i8="_dialog_1hejd_14",c8="_dialogIn_1hejd_1",r8="_header_1hejd_37",o8="_title_1hejd_44",u8="_close_1hejd_50",d8="_selectsRow_1hejd_72",f8="_selectGroup_1hejd_79",h8="_selectLabel_1hejd_83",m8="_selectTrigger_1hejd_93",p8="_selectTriggerOpen_1hejd_112",v8="_selectValue_1hejd_117",g8="_chevron_1hejd_125",_8="_chevronOpen_1hejd_131",y8="_tokenDot_1hejd_137",x8="_speedDot_1hejd_158",b8="_speedDot_slow_1hejd_165",j8="_speedDot_normal_1hejd_170",S8="_speedDot_fast_1hejd_175",N8="_dropdown_1hejd_182",w8="_dropdownItem_1hejd_195",C8="_dropdownItemActive_1hejd_215",T8="_dropdownTicker_1hejd_220",E8="_dropdownName_1hejd_225",R8="_field_1hejd_233",A8="_fieldLabel_1hejd_237",O8="_input_1hejd_247",M8="_amountWrap_1hejd_283",D8="_amountInput_1hejd_287",z8="_amountTicker_1hejd_291",L8="_maxHint_1hejd_304",B8="_maxBtn_1hejd_314",U8="_errorMsg_1hejd_333",k8="_submitBtn_1hejd_346",re={overlay:s8,dialog:i8,dialogIn:c8,header:r8,title:o8,close:u8,selectsRow:d8,selectGroup:f8,selectLabel:h8,selectTrigger:m8,selectTriggerOpen:p8,selectValue:v8,chevron:g8,chevronOpen:_8,tokenDot:y8,speedDot:x8,speedDot_slow:b8,speedDot_normal:j8,speedDot_fast:S8,dropdown:N8,dropdownItem:w8,dropdownItemActive:C8,dropdownTicker:T8,dropdownName:E8,field:R8,fieldLabel:A8,input:O8,amountWrap:M8,amountInput:D8,amountTicker:z8,maxHint:L8,maxBtn:B8,errorMsg:U8,submitBtn:k8},jm=[{value:"slow",label:"Медленно"},{value:"normal",label:"Нормально"},{value:"fast",label:"Быстро"}];function H8(s){var c;if(s instanceof Error)return s.message;if(s&&typeof s=="object"){const i=s;if(typeof i.message=="string")return i.message;if(typeof i.error=="string")return i.error;if(Array.isArray(i.detail)&&((c=i.detail[0])!=null&&c.msg))return String(i.detail[0].msg)}return"Что-то пошло не так. Попробуйте ещё раз."}function q8({open:s,onClose:c,network:i,tokens:o=[],initialToken:d=""}){var De;const h=a8[i],m=l8[i],[p,g]=b.useState(d),[v,x]=b.useState("normal"),[y,N]=b.useState(""),[R,A]=b.useState(""),[O,w]=b.useState(null),z=bb(),F=((De=jm.find(se=>se.value===v))==null?void 0:De.label)??"Нормально",$=p===""?h.nativeSymbol:p,V=o.find(se=>se.ticker===(p===""?h.nativeSymbol:p));if(b.useEffect(()=>{g(d)},[d]),b.useEffect(()=>{g("")},[i]),b.useEffect(()=>{z.isSuccess&&c()},[z.isSuccess,c]),b.useEffect(()=>{if(!s){N(""),A(""),w(null),z.reset();return}const se=$e=>{$e.key==="Escape"&&c()};return document.addEventListener("keydown",se),()=>document.removeEventListener("keydown",se)},[s,c]),!s)return null;const K=h.hasToken,ne=h.hasFeeTier,X=K||ne,te=K&&ne?2:1;function de(){O?w(null):c()}function he(se,$e){const[ze,U=""]=se.split("."),Q=U.slice(0,$e).padEnd($e,"0");return(BigInt(ze||"0")*10n**BigInt($e)+BigInt(Q||"0")).toString()}function ge(){const $e=p===""?he(R,h.nativeDecimals):R;z.mutate({chain:i,to:y,amount:$e,...p?{token:p}:{},...h.hasFeeTier?{feeTier:v}:{}})}return l.jsx("div",{className:re.overlay,onClick:de,children:l.jsxs("div",{className:re.dialog,onClick:se=>se.stopPropagation(),children:[l.jsxs("div",{className:re.header,children:[l.jsxs("div",{className:re.headerLeft,children:[l.jsx("span",{className:re.chainDot,style:{background:h.color}}),l.jsxs("span",{className:re.title,children:["Отправить · ",h.label]})]}),l.jsx("button",{className:re.close,onClick:c,type:"button","aria-label":"Закрыть",children:l.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:l.jsx("path",{d:"M1 1l12 12M13 1L1 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})]}),X&&l.jsxs("div",{className:re.selectsRow,style:{gridTemplateColumns:`repeat(${te}, 1fr)`},children:[K&&l.jsxs("div",{className:re.selectGroup,children:[l.jsx("label",{className:re.selectLabel,children:"Токен"}),l.jsxs("button",{type:"button",className:`${re.selectTrigger} ${O==="token"?re.selectTriggerOpen:""}`,onClick:()=>w(se=>se==="token"?null:"token"),children:[l.jsx("span",{className:re.tokenDot,style:{background:h.color},children:$[0]}),l.jsx("span",{className:re.selectValue,children:$}),l.jsx("svg",{className:`${re.chevron} ${O==="token"?re.chevronOpen:""}`,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:l.jsx("path",{d:"M2 4l4 4 4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),O==="token"&&l.jsxs("div",{className:re.dropdown,children:[l.jsxs("button",{type:"button",className:`${re.dropdownItem} ${p===""?re.dropdownItemActive:""}`,onClick:()=>{g(""),w(null)},children:[l.jsx("span",{className:re.tokenDot,style:{background:h.color},children:h.nativeSymbol[0]}),l.jsx("span",{className:re.dropdownTicker,children:h.nativeSymbol}),l.jsx("span",{className:re.dropdownName,children:"Нативный"})]}),m.map(se=>l.jsxs("button",{type:"button",className:`${re.dropdownItem} ${p===se?re.dropdownItemActive:""}`,onClick:()=>{g(se),w(null)},children:[l.jsx("span",{className:re.tokenDot,style:{background:"rgba(255,255,255,0.12)"},children:se[0]}),l.jsx("span",{className:re.dropdownTicker,children:se})]},se))]})]}),ne&&l.jsxs("div",{className:re.selectGroup,children:[l.jsx("label",{className:re.selectLabel,children:"Скорость"}),l.jsxs("button",{type:"button",className:`${re.selectTrigger} ${O==="speed"?re.selectTriggerOpen:""}`,onClick:()=>w(se=>se==="speed"?null:"speed"),children:[l.jsx("span",{className:`${re.speedDot} ${re[`speedDot_${v}`]}`}),l.jsx("span",{className:re.selectValue,children:F}),l.jsx("svg",{className:`${re.chevron} ${O==="speed"?re.chevronOpen:""}`,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:l.jsx("path",{d:"M2 4l4 4 4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),O==="speed"&&l.jsx("div",{className:re.dropdown,children:jm.map(se=>l.jsxs("button",{type:"button",className:`${re.dropdownItem} ${se.value===v?re.dropdownItemActive:""}`,onClick:()=>{x(se.value),w(null)},children:[l.jsx("span",{className:`${re.speedDot} ${re[`speedDot_${se.value}`]}`}),l.jsx("span",{children:se.label})]},se.value))})]})]}),l.jsxs("div",{className:re.field,children:[l.jsx("label",{className:re.fieldLabel,children:"Адрес кошелька"}),l.jsx("input",{className:re.input,type:"text",placeholder:h.addressPlaceholder,value:y,onChange:se=>N(se.target.value),autoComplete:"off",spellCheck:!1})]}),l.jsxs("div",{className:re.field,children:[l.jsx("label",{className:re.fieldLabel,children:"Количество"}),l.jsxs("div",{className:re.amountWrap,children:[l.jsx("input",{className:`${re.input} ${re.amountInput}`,type:"number",placeholder:"0.00",value:R,onChange:se=>A(se.target.value),min:"0",step:"any"}),l.jsx("span",{className:re.amountTicker,children:$})]}),V&&l.jsxs("div",{className:re.maxHint,children:["Макс:"," ",l.jsxs("button",{type:"button",className:re.maxBtn,onClick:()=>A(V.bal),children:[V.bal," ",$]})]})]}),z.isError&&l.jsx("div",{className:re.errorMsg,children:H8(z.error)}),l.jsx("button",{className:re.submitBtn,type:"button",disabled:z.isPending,onClick:ge,children:z.isPending?"Отправка…":"Отправить"})]})})}const $8="_overlay_qs9u3_6",G8="_dialog_qs9u3_18",V8="_header_qs9u3_27",F8="_title_qs9u3_34",Q8="_closeBtn_qs9u3_40",Y8="_body_qs9u3_55",X8="_label_qs9u3_62",Z8="_fieldRow_qs9u3_68",K8="_addressInput_qs9u3_73",I8="_copyBtn_qs9u3_92",W8="_copyBtnDone_qs9u3_118",P8="_skeleton_qs9u3_123",J8="_error_qs9u3_136",on={overlay:$8,dialog:G8,header:V8,title:F8,closeBtn:Q8,body:Y8,label:X8,fieldRow:Z8,addressInput:K8,copyBtn:I8,copyBtnDone:W8,skeleton:P8,error:J8},ej={ETH:"Ethereum",BSC:"BSC Smart Chain",BTC:"Bitcoin",TRX:"Tron",SOL:"Solana"};function tj({open:s,onClose:c,chain:i}){const{data:o,isLoading:d,isError:h}=uo(),[m,p]=b.useState(!1);if(b.useEffect(()=>{if(!s)return;function N(R){R.key==="Escape"&&c()}return window.addEventListener("keydown",N),()=>window.removeEventListener("keydown",N)},[s,c]),b.useEffect(()=>{s||p(!1)},[s]),!s)return null;const g=o==null?void 0:o.find(N=>N.chain===i),v=(g==null?void 0:g.address)??"";function x(){v&&navigator.clipboard.writeText(v).then(()=>{p(!0),setTimeout(()=>p(!1),2e3)})}function y(N){N.target===N.currentTarget&&c()}return l.jsx("div",{className:on.overlay,onMouseDown:y,children:l.jsxs("div",{className:on.dialog,children:[l.jsxs("div",{className:on.header,children:[l.jsxs("span",{className:on.title,children:["Получить ",ej[i]]}),l.jsx("button",{className:on.closeBtn,type:"button",onClick:c,"aria-label":"Закрыть",children:"✕"})]}),l.jsxs("div",{className:on.body,children:[d&&l.jsx("div",{className:on.skeleton}),h&&l.jsx("p",{className:on.error,children:"Не удалось загрузить адрес. Попробуйте позже."}),!d&&!h&&l.jsxs(l.Fragment,{children:[l.jsxs("label",{className:on.label,children:["Ваш ",i,"-адрес"]}),l.jsxs("div",{className:on.fieldRow,children:[l.jsx("input",{className:on.addressInput,type:"text",readOnly:!0,value:v,onFocus:N=>N.target.select()}),l.jsx("button",{className:`${on.copyBtn} ${m?on.copyBtnDone:""}`,type:"button",onClick:x,disabled:!v,children:m?"Скопировано!":"Копировать"})]})]})]})]})})}const nj="_wrap_2q74k_1",lj="_loading_2q74k_9",aj="_table_2q74k_14",sj="_thStar_2q74k_44",ij="_right_2q74k_48",cj="_center_2q74k_52",rj="_btnGroup_2q74k_57",oj="_star_2q74k_63",uj="_starOn_2q74k_78",dj="_tokId_2q74k_82",fj="_tokLogo_2q74k_88",hj="_price_2q74k_123",mj="_balCol_2q74k_150",pj="_sendBtn_2q74k_163",vj="_receiveBtn_2q74k_186",gj="_noFont_2q74k_209",_j="_mobileList_2q74k_214",yj="_card_2q74k_218",xj="_cardInfo_2q74k_230",bj="_cardTop_2q74k_235",jj="_cardTicker_2q74k_242",Sj="_cardName_2q74k_248",Nj="_cardBalCrypto_2q74k_254",wj="_cardBot_2q74k_261",Cj="_cardPrice_2q74k_267",Tj="_cardBalUsd_2q74k_279",Ej="_mobileActions_2q74k_300",we={wrap:nj,loading:lj,table:aj,thStar:sj,right:ij,center:cj,btnGroup:rj,star:oj,starOn:uj,tokId:dj,tokLogo:fj,price:hj,balCol:mj,sendBtn:pj,receiveBtn:vj,noFont:gj,mobileList:_j,card:yj,cardInfo:xj,cardTop:bj,cardTicker:jj,cardName:Sj,cardBalCrypto:Nj,cardBot:wj,cardPrice:Cj,cardBalUsd:Tj,mobileActions:Ej};function Rj({chain:s}){const{rows:c,isLoading:i}=n8(s),[o,d]=b.useState({}),[h,m]=b.useState({open:!1,network:"ETH"}),[p,g]=b.useState({open:!1,chain:"ETH"});function v(w){const z=bm[w]??s;m({open:!0,network:z})}function x(){m(w=>({...w,open:!1}))}function y(w){const z=bm[w]??s;g({open:!0,chain:z})}function N(){g(w=>({...w,open:!1}))}function R(w){d(z=>({...z,[w]:!z[w]}))}const A=l.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"#4A6DFF",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:l.jsx("path",{d:"M7 17L17 7M17 7H7M17 7v10"})}),O=l.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"#00C48C",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:l.jsx("path",{d:"M17 7L7 17M7 17H17M7 17V7"})});return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:`${we.wrap} ${i?we.loading:""}`,children:[l.jsxs("table",{className:we.table,children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsx("th",{className:we.thStar,children:"☆"}),l.jsx("th",{children:"Токены"}),l.jsx("th",{className:we.right,children:"Цена"}),l.jsx("th",{className:we.right,children:"Баланс"}),l.jsx("th",{className:we.center})]})}),l.jsx("tbody",{children:c.map(w=>l.jsxs("tr",{children:[l.jsx("td",{children:l.jsx("button",{className:`${we.star} ${o[w.ticker]?we.starOn:""}`,onClick:()=>R(w.ticker),type:"button","aria-label":o[w.ticker]?"Убрать из избранного":"В избранное",children:"★"})}),l.jsx("td",{children:l.jsxs("div",{className:we.tokId,children:[l.jsx("div",{className:we.tokLogo,style:{background:w.color},children:w.logo?l.jsx("img",{src:w.logo,alt:w.ticker,className:""}):w.ticker[0]}),l.jsxs("div",{className:we.balCol,children:[l.jsx("b",{className:we.cardTicker,children:w.ticker}),l.jsx("span",{className:we.noFont,children:w.name})]})]})}),l.jsx("td",{className:we.right,children:l.jsx("span",{className:we.price,children:w.price})}),l.jsx("td",{className:we.right,children:l.jsxs("div",{className:we.balCol,children:[l.jsx("b",{children:w.bal}),l.jsx("span",{children:w.usd})]})}),l.jsx("td",{className:we.center,children:l.jsxs("div",{className:we.btnGroup,children:[l.jsxs("button",{className:we.receiveBtn,type:"button",onClick:z=>{z.stopPropagation(),y(w.ticker)},children:[O,"Получить"]}),l.jsxs("button",{className:we.sendBtn,type:"button",onClick:z=>{z.stopPropagation(),v(w.ticker)},children:[A,"Отправить"]})]})})]},w.ticker))})]}),l.jsx("div",{className:we.mobileList,children:c.map(w=>l.jsxs("div",{className:we.card,children:[l.jsx("button",{className:`${we.star} ${o[w.ticker]?we.starOn:""}`,onClick:()=>R(w.ticker),type:"button","aria-label":o[w.ticker]?"Убрать из избранного":"В избранное",children:"★"}),l.jsx("div",{className:we.tokLogo,style:{background:w.color},children:w.logo?l.jsx("img",{src:w.logo,alt:w.ticker,className:""}):w.ticker[0]}),l.jsxs("div",{className:we.cardInfo,children:[l.jsxs("div",{className:we.cardTop,children:[l.jsxs("div",{children:[l.jsx("span",{className:we.cardTicker,children:w.ticker}),l.jsx("span",{className:we.cardName,children:w.name})]}),l.jsx("span",{className:we.cardBalCrypto,children:w.bal})]}),l.jsxs("div",{className:we.cardBot,children:[l.jsx("span",{className:we.cardPrice,children:w.price}),l.jsx("span",{className:we.cardBalUsd,children:w.usd})]})]})]},w.ticker))})]}),l.jsxs("div",{className:we.mobileActions,children:[l.jsxs("button",{className:we.receiveBtn,type:"button",onClick:()=>{var w;return y(((w=c[0])==null?void 0:w.ticker)??"")},children:[O,"Получить"]}),l.jsxs("button",{className:we.sendBtn,type:"button",onClick:()=>{var w;return v(((w=c[0])==null?void 0:w.ticker)??"")},children:[A,"Отправить"]})]}),l.jsx(q8,{open:h.open,onClose:x,network:h.network,tokens:c}),l.jsx(tj,{open:p.open,onClose:N,chain:p.chain})]})}const Aj="_nav_ip34n_1",Oj="_logo_ip34n_11",Mj="_ticker_ip34n_16",Dj="_tick_ip34n_16",zj="_accountWrapper_ip34n_42",Lj="_account_ip34n_42",Bj="_dropdown_ip34n_56",Uj="_dropdownItem_ip34n_70",kj="_danger_ip34n_89",Hj="_avatar_ip34n_93",Zt={nav:Aj,logo:Oj,ticker:Mj,tick:Dj,accountWrapper:zj,account:Lj,dropdown:Bj,dropdownItem:Uj,danger:kj,avatar:Hj},Sm=["BTC","ETH","SOL"],qj=s=>s?s[0].toUpperCase()+s.slice(1).toLowerCase():"";function $j(s){return s==null?"$—":s>=1?`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`:`$${s.toLocaleString("en-US",{minimumFractionDigits:4,maximumFractionDigits:6})}`}function Ia(){const[s,c]=b.useState(!1),[i,o]=b.useState(!1),d=b.useRef(null),h=Mn(),m=Ka(),{data:p}=ci(),{data:g}=xb(Sm),v=p?[p.first_name,p.middle_name].filter(Boolean).map(qj).join(" "):"",{mutate:x}=Wt({mutationFn:J5,onSuccess:()=>{An.clear(),m.setQueryData(oo,null),h(fe.HOME)},onError:()=>o(!0)});b.useEffect(()=>{function N(R){d.current&&!d.current.contains(R.target)&&c(!1)}return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]);function y(){x(),c(!1)}return l.jsxs(l.Fragment,{children:[l.jsxs("nav",{className:Zt.nav,children:[l.jsx("a",{href:"/",className:Zt.logo,children:l.jsx("img",{src:fa,alt:"ЭКСА"})}),l.jsx("div",{className:Zt.ticker,children:Sm.map(N=>{var R;return l.jsxs("div",{className:Zt.tick,children:[l.jsx("b",{children:N}),l.jsx("span",{children:$j((R=g==null?void 0:g[N])==null?void 0:R.usd)})]},N)})}),l.jsxs("div",{className:Zt.accountWrapper,ref:d,children:[l.jsxs("button",{className:Zt.account,onClick:()=>c(N=>!N),children:[p!=null&&p.avatar_link?l.jsx("img",{src:p.avatar_link,alt:"",className:Zt.avatar}):l.jsx("div",{className:Zt.avatar}),l.jsx("span",{children:v||"Test account"})]}),s&&l.jsxs("div",{className:Zt.dropdown,children:[l.jsx(Ht,{to:fe.PROFILE,className:Zt.dropdownItem,onClick:()=>c(!1),children:"Личный кабинет"}),l.jsx(Ht,{to:fe.WALLET,className:Zt.dropdownItem,onClick:()=>c(!1),children:"Кошелёк"}),l.jsx(Ht,{to:fe.TRANSACTIONS,className:Zt.dropdownItem,onClick:()=>c(!1),children:"Транзакции"}),l.jsx("button",{className:`${Zt.dropdownItem} ${Zt.danger}`,onClick:y,children:"Выйти"})]})]})]}),i&&l.jsx(Tp,{status:"error",message:"Произошла ошибка сервера",onClose:()=>o(!1)})]})}const Gj="_tabs_1ne0a_1",Vj="_tab_1ne0a_1",Fj="_active_1ne0a_31",Qj="_icon_1ne0a_37",Yr={tabs:Gj,tab:Vj,active:Fj,icon:Qj},Yj=[{chain:"BTC",label:"BTC",icon:Ot.BTC},{chain:"ETH",label:"ETH",icon:Ot.ETH},{chain:"SOL",label:"SOL",icon:Ot.SOL},{chain:"TRX",label:"TRX",icon:Ot.TRX},{chain:"BSC",label:"BSC",icon:Ot.BNB}];function Xj(){return l.jsx("div",{className:Yr.tabs,children:Yj.map(s=>l.jsxs(wp,{to:`/wallet/${s.chain.toLowerCase()}`,className:({isActive:c})=>`${Yr.tab} ${c?Yr.active:""}`,children:[l.jsx("img",{src:s.icon,alt:s.label,className:Yr.icon}),l.jsx("span",{children:s.label})]},s.chain))})}const Zj="_page_10fz2_1",Kj="_main_10fz2_8",Ij="_glow_10fz2_17",Wj="_error_10fz2_29",Pj="_noWallet_10fz2_38",rc={page:Zj,main:Kj,glow:Ij,error:Wj,noWallet:Pj};function Nm(){var y;const{data:s,isLoading:c,isError:i}=ci(),{error:o}=U2(),{mutate:d,isPending:h}=jb(),m=Mn(),{chain:p}=Bg(),g=(y=o==null?void 0:o.error)==null?void 0:y.includes("No wallets");if(c)return null;if(i)return l.jsx("div",{className:rc.error,children:"Произошла ошибка. Попробуйте обновить страницу."});if(s&&!s.kyc_verified)return l.jsx(pc,{to:fe.KYC,replace:!0});const v=p==null?void 0:p.toUpperCase(),x=v&&ib.includes(v)?v:void 0;return!g&&!x?l.jsx(pc,{to:"/wallet/btc",replace:!0}):l.jsxs("div",{className:rc.page,children:[l.jsx(Ia,{}),l.jsxs("main",{className:rc.main,children:[l.jsx("div",{className:rc.glow}),g?l.jsxs("div",{className:rc.noWallet,children:[l.jsx("p",{children:"У вас пока нет кошелька. Создайте его, чтобы начать."}),l.jsx(Rn,{variant:"outline",onClick:()=>d(void 0,{onSuccess:()=>m(fe.SEED_PHRASE)}),disabled:h,children:h?"Создание...":"Создать кошелёк"})]}):l.jsxs(l.Fragment,{children:[l.jsx(Ob,{}),l.jsx(Xj,{}),l.jsx(Rj,{chain:x})]})]})]})}const r3=Ot.BTC,o3=Ot.ETH,u3=Ot.SOL,d3=Ot.TRX,f3=Ot.ARB,v2={BTC:{symbol:"BTC",letter:"₿",logo:r3,color:"#F7931A",network:"BITCOIN",balance:0,usdRate:67412,decimals:8},ETH:{symbol:"ETH",letter:"E",logo:o3,color:"#627EEA",network:"ETHEREUM",balance:0,usdRate:3521,decimals:18},SOL:{symbol:"SOL",letter:"S",logo:u3,color:"#9945FF",network:"SOLANA",balance:.994,usdRate:163.84,decimals:9},TRX:{symbol:"TRX",letter:"T",logo:d3,color:"#FF060A",network:"TRON",balance:0,usdRate:.12,decimals:6},ARB:{symbol:"ARB",letter:"A",logo:f3,color:"#4A6DFF",network:"ARBITRUM",balance:0,usdRate:.92,decimals:18},USDC:{symbol:"USDC",letter:"$",color:"#2775CA",network:"SOLANA",balance:0,usdRate:1,decimals:6},USDT:{symbol:"USDT",letter:"$",color:"#26A17B",network:"ETHEREUM",balance:0,usdRate:1,decimals:6}},g2=Object.values(v2),wm={BTC:{letter:"₿",logo:r3,color:"#F7931A"},ETH:{letter:"E",logo:o3,color:"#627EEA"},BSC:{letter:"B",color:"#F3BA2F"},SOL:{letter:"S",logo:u3,color:"#9945FF"},TRX:{letter:"T",logo:d3,color:"#FF060A"},ARB:{letter:"A",logo:f3,color:"#4A6DFF"},USDC:{letter:"$",color:"#2775CA"},USDT:{letter:"$",color:"#26A17B"},DAI:{letter:"D",color:"#F5AC37"},BUSD:{letter:"B",color:"#F0B90B"},WBTC:{letter:"W",color:"#F7931A"},LINK:{letter:"L",color:"#2A5ADA"},UNI:{letter:"U",color:"#FF007A"},WBNB:{letter:"W",color:"#F3BA2F"},DOGE:{letter:"D",color:"#C2A633"},JUP:{letter:"J",color:"#C7A52D"},WIF:{letter:"W",color:"#9333EA"},BONK:{letter:"B",color:"#FF8C00"},RAY:{letter:"R",color:"#5AC4BE"},ORCA:{letter:"O",color:"#1B8EF2"},PYTH:{letter:"P",color:"#8B5CF6"},JTO:{letter:"J",color:"#06B6D4"},W:{letter:"W",color:"#6B7280"},PUMP:{letter:"P",color:"#00D4AA"},POPCAT:{letter:"P",color:"#FF6B6B"},TRUMP:{letter:"T",color:"#E63946"},PENGU:{letter:"P",color:"#60A5FA"}},Jj={ETH:"ETH",BSC:"BSC",BTC:"BTC",TRX:"TRX",SOL:"SOL"};function _2(s){const c=[],i=Jj[s.chain]??s.chain,o=wm[i];c.push({symbol:i,letter:(o==null?void 0:o.letter)??i[0],color:(o==null?void 0:o.color)??"#888",logo:o==null?void 0:o.logo,network:s.chain,balance:parseFloat(s.native.formatted),usdRate:s.native.usdPrice,decimals:s.native.decimals});for(const[d,h]of Object.entries(s.tokens)){const m=wm[d];c.push({symbol:d,letter:(m==null?void 0:m.letter)??d[0],color:(m==null?void 0:m.color)??"#888",logo:m==null?void 0:m.logo,network:s.chain,balance:parseFloat(h.formatted),usdRate:h.usdPrice,decimals:h.decimals})}return c}const Cm=82.2578;function h3(){const[s,c]=b.useState("0"),[i,o]=b.useState(v2.SOL),[d,h]=b.useState(v2.USDC),[m,p]=b.useState(!1),g=parseFloat(s)||0,v=(g*Cm).toFixed(4),x=(g*i.usdRate).toFixed(2),y=(g*Cm*d.usdRate).toFixed(2);function N(w){c(w)}function R(w){c((i.balance*w/100).toFixed(4))}function A(){o(d),h(i)}function O(){p(!0),setTimeout(()=>p(!1),400)}return{fromAmount:s,toAmount:v,fromUsd:x,toUsd:y,fromToken:i,toToken:d,isRefreshing:m,setFromAmount:N,setPercent:R,swapTokens:A,refreshRate:O,setFromToken:o,setToToken:h}}const e7="_wrap_18yiu_1",t7="_trigger_18yiu_6",n7="_name_18yiu_22",l7="_chevron_18yiu_29",a7="_chevronOpen_18yiu_37",s7="_dropdown_18yiu_41",i7="_dropdownWrapper_18yiu_47",c7="_option_18yiu_60",r7="_optionActive_18yiu_78",o7="_optionInfo_18yiu_82",u7="_optionSymbol_18yiu_90",d7="_optionNetwork_18yiu_96",f7="_check_18yiu_103",h7="_triggerCompact_18yiu_110",m7="_nameCompact_18yiu_116",zt={wrap:e7,trigger:t7,name:n7,chevron:l7,chevronOpen:a7,dropdown:s7,dropdownWrapper:i7,option:c7,optionActive:r7,optionInfo:o7,optionSymbol:u7,optionNetwork:d7,check:f7,triggerCompact:h7,nameCompact:m7};function Tm({value:s,options:c,onChange:i,compact:o=!1}){const[d,h]=b.useState(!1),m=b.useRef(null);b.useEffect(()=>{function g(v){m.current&&!m.current.contains(v.target)&&h(!1)}return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[]);function p(g){i(g),h(!1)}return l.jsxs("div",{className:zt.wrap,ref:m,children:[l.jsxs("button",{className:`${zt.trigger} ${o?zt.triggerCompact:""}`,onClick:()=>h(g=>!g),children:[l.jsx(lm,{letter:s.letter,color:s.color,logo:s.logo,size:o?24:40}),l.jsx("span",{className:`${zt.name} ${o?zt.nameCompact:""}`,children:s.symbol}),l.jsx("span",{className:`${zt.chevron} ${d?zt.chevronOpen:""}`,children:"▾"})]}),d&&l.jsx("div",{className:zt.dropdownWrapper,children:l.jsx("div",{className:zt.dropdown,children:c.map(g=>l.jsxs("button",{className:`${zt.option} ${g.symbol===s.symbol?zt.optionActive:""}`,onClick:()=>p(g),children:[l.jsx(lm,{letter:g.letter,color:g.color,logo:g.logo,size:32}),l.jsxs("div",{className:zt.optionInfo,children:[l.jsx("span",{className:zt.optionSymbol,children:g.symbol}),l.jsx("span",{className:zt.optionNetwork,children:g.network})]}),g.symbol===s.symbol&&l.jsx("span",{className:zt.check,children:"✓"})]},g.symbol))})})]})}const p7="_wrapper_19brp_1",v7="_pillsOuter_19brp_8",g7="_card_19brp_13",_7="_top_19brp_20",y7="_label_19brp_33",x7="_networkPills_19brp_54",b7="_networkBtn_19brp_60",j7="_networkBtnActive_19brp_79",S7="_pillsInner_19brp_85",N7="_pill_19brp_8",w7="_selectTop_19brp_109",C7="_selectMid_19brp_113",T7="_mid_19brp_118",E7="_input_19brp_126",R7="_display_19brp_142",A7="_int_19brp_151",O7="_dec_19brp_156",M7="_bottom_19brp_161",D7="_usd_19brp_167",z7="_balance_19brp_176",L7="_max_19brp_184",ct={wrapper:p7,pillsOuter:v7,card:g7,top:_7,label:y7,networkPills:x7,networkBtn:b7,networkBtnActive:j7,pillsInner:S7,pill:N7,selectTop:w7,selectMid:C7,mid:T7,input:E7,display:R7,int:A7,dec:O7,bottom:M7,usd:D7,balance:z7,max:L7},B7=["ETH","BSC","TRX","SOL"],U7=[25,50,100];function ao({mode:s,token:c,tokenOptions:i,amount:o,usd:d,onTokenChange:h,onAmountChange:m,onSetPercent:p,selectedNetwork:g,onNetworkChange:v,hideNetworkSelect:x}){const[y,N]=lo(o,8).split("."),R=p&&l.jsx(l.Fragment,{children:U7.map(A=>l.jsxs("button",{className:ct.pill,onClick:()=>p(A),children:[A,"%"]},A))});return l.jsxs("div",{className:ct.wrapper,children:[s==="from"&&R&&l.jsx("div",{className:ct.pillsOuter,children:R}),l.jsxs("div",{className:ct.card,children:[l.jsxs("div",{className:ct.top,children:[l.jsx("div",{className:ct.label,children:s==="from"&&!x&&l.jsx("div",{className:ct.networkPills,children:B7.map(A=>l.jsx("button",{className:`${ct.networkBtn} ${A===g?ct.networkBtnActive:""}`,onClick:()=>v==null?void 0:v(A),children:A},A))})}),s==="from"&&R&&l.jsx("div",{className:ct.pillsInner,children:R}),l.jsx("div",{className:ct.selectTop,children:l.jsx(Tm,{value:c,options:i,onChange:h,compact:!0})})]}),l.jsxs("div",{className:ct.mid,children:[s==="from"?l.jsx("input",{className:ct.input,type:"text",value:o,onChange:A=>{const O=A.target.value;(/^(\d+\.?\d*|\.?\d*)$/.test(O)||O==="")&&(m==null||m(O))},placeholder:"0"}):l.jsxs("div",{className:ct.display,children:[l.jsx("span",{className:ct.int,children:y}),N&&l.jsxs("span",{className:ct.dec,children:[".",N]})]}),l.jsx("div",{className:ct.selectMid,children:l.jsx(Tm,{value:c,options:i,onChange:h})})]}),l.jsxs("div",{className:ct.bottom,children:[d&&l.jsxs("span",{className:ct.usd,children:["≈ $",d]}),l.jsxs("span",{className:ct.balance,children:[l.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"var(--text-secondary)",strokeWidth:"2",children:[l.jsx("rect",{x:"2",y:"6",width:"20",height:"14",rx:"3"}),l.jsx("path",{d:"M6 6V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2"})]}),lo(c.balance,8),s==="from"&&p&&l.jsx("button",{className:ct.max,onClick:()=>p(100),children:"МАКС"})]})]})]})]})}const k7="_wrap_wqzoz_1",H7="_line_wqzoz_11",q7="_circle_wqzoz_19",q0={wrap:k7,line:H7,circle:q7};function m3({onClick:s}){const[c,i]=b.useState(!1);function o(){i(!0),setTimeout(()=>i(!1),300),s()}return l.jsxs("div",{className:q0.wrap,children:[l.jsx("div",{className:q0.line}),l.jsx("button",{className:q0.circle,style:{transform:c?"rotate(180deg)":"rotate(0deg)"},onClick:o,"aria-label":"Поменять токены",children:"⇅"})]})}const $7="_panel_16d4z_1",G7="_row_16d4z_10",V7="_label_16d4z_22",F7="_value_16d4z_30",Q7="_link_16d4z_36",oc={panel:$7,row:G7,label:V7,value:F7,link:Q7};function p3({gasFee:s}){const c=[{label:"ПРОВАЙДЕР",value:"ЛУЧШИЙ",link:!1},{label:"СКОЛЬЖЕНИЕ",value:"АВТО (0.5%)",link:!0},{label:"СЕТЕВОЙ СБОР",value:s?`$${s}`:"—",link:!1}];return l.jsx("div",{className:oc.panel,children:c.map(({label:i,value:o,link:d})=>l.jsxs("div",{className:oc.row,children:[l.jsx("span",{className:oc.label,children:i}),l.jsx("span",{className:`${oc.value} ${d?oc.link:""}`,children:o})]},i))})}const Y7="_overlay_1gegs_1",X7="_card_1gegs_12",Z7="_header_1gegs_24",K7="_title_1gegs_30",I7="_closeBtn_1gegs_36",W7="_flow_1gegs_51",P7="_token_1gegs_57",J7="_tokenLabel_1gegs_67",e9="_tokenAmount_1gegs_75",t9="_tokenUsd_1gegs_81",n9="_arrow_1gegs_86",l9="_details_1gegs_93",a9="_row_1gegs_99",s9="_rowLabel_1gegs_105",i9="_rowValue_1gegs_110",c9="_impact_1gegs_116",r9="_confirmBtn_1gegs_120",Ke={overlay:Y7,card:X7,header:Z7,title:K7,closeBtn:I7,flow:W7,token:P7,tokenLabel:J7,tokenAmount:e9,tokenUsd:t9,arrow:n9,details:l9,row:a9,rowLabel:s9,rowValue:i9,impact:c9,confirmBtn:r9};function v3({data:s,onConfirm:c,onClose:i}){const{details:o,fees:d}=s,{currencyIn:h,currencyOut:m,totalImpact:p,rate:g}=o,v=parseFloat(p.percent),x=parseFloat(g).toFixed(4);return l.jsx("div",{className:Ke.overlay,onClick:i,children:l.jsxs("div",{className:Ke.card,onClick:y=>y.stopPropagation(),children:[l.jsxs("div",{className:Ke.header,children:[l.jsx("span",{className:Ke.title,children:"Подтвердить своп"}),l.jsx("button",{className:Ke.closeBtn,onClick:i,children:"×"})]}),l.jsxs("div",{className:Ke.flow,children:[l.jsxs("div",{className:Ke.token,children:[l.jsx("span",{className:Ke.tokenLabel,children:"Отдаёте"}),l.jsxs("span",{className:Ke.tokenAmount,children:[h.amountFormatted," ",h.currency.symbol]}),l.jsxs("span",{className:Ke.tokenUsd,children:["≈ $",h.amountUsd]})]}),l.jsx("div",{className:Ke.arrow,children:"↓"}),l.jsxs("div",{className:Ke.token,children:[l.jsx("span",{className:Ke.tokenLabel,children:"Получаете"}),l.jsxs("span",{className:Ke.tokenAmount,children:[m.amountFormatted," ",m.currency.symbol]}),l.jsxs("span",{className:Ke.tokenUsd,children:["≈ $",m.amountUsd]})]})]}),l.jsxs("div",{className:Ke.details,children:[l.jsxs("div",{className:Ke.row,children:[l.jsx("span",{className:Ke.rowLabel,children:"Курс"}),l.jsxs("span",{className:Ke.rowValue,children:["1 ",h.currency.symbol," = ",x," ",m.currency.symbol]})]}),l.jsxs("div",{className:Ke.row,children:[l.jsx("span",{className:Ke.rowLabel,children:"Комиссия сети"}),l.jsxs("span",{className:Ke.rowValue,children:["$",d.gas.amountUsd]})]}),l.jsxs("div",{className:Ke.row,children:[l.jsx("span",{className:Ke.rowLabel,children:"Влияние на цену"}),l.jsxs("span",{className:`${Ke.rowValue} ${v<0?Ke.impact:""}`,children:[p.percent,"%"]})]})]}),l.jsx("button",{className:Ke.confirmBtn,onClick:c,children:"Подтвердить"})]})})}const o9="_overlay_cse4p_1",u9="_card_cse4p_12",d9="_header_cse4p_24",f9="_title_cse4p_30",h9="_closeBtn_cse4p_36",m9="_flow_cse4p_51",p9="_token_cse4p_57",v9="_tokenLabel_cse4p_67",g9="_tokenAmount_cse4p_75",_9="_minOut_cse4p_81",y9="_arrow_cse4p_86",x9="_details_cse4p_93",b9="_row_cse4p_99",j9="_rowLabel_cse4p_105",S9="_rowValue_cse4p_110",N9="_confirmBtn_cse4p_116",pt={overlay:o9,card:u9,header:d9,title:f9,closeBtn:h9,flow:m9,token:p9,tokenLabel:v9,tokenAmount:g9,minOut:_9,arrow:y9,details:x9,row:b9,rowLabel:j9,rowValue:S9,confirmBtn:N9};function g3({quote:s,fromSymbol:c,toSymbol:i,amountHuman:o,onConfirm:d,onClose:h}){const{expectedOutFormatted:m,minOutFormatted:p,fees:g}=s;return l.jsx("div",{className:pt.overlay,onClick:h,children:l.jsxs("div",{className:pt.card,onClick:v=>v.stopPropagation(),children:[l.jsxs("div",{className:pt.header,children:[l.jsx("span",{className:pt.title,children:"Подтвердить своп"}),l.jsx("button",{className:pt.closeBtn,onClick:h,children:"×"})]}),l.jsxs("div",{className:pt.flow,children:[l.jsxs("div",{className:pt.token,children:[l.jsx("span",{className:pt.tokenLabel,children:"Отдаёте"}),l.jsxs("span",{className:pt.tokenAmount,children:[o," ",c]})]}),l.jsx("div",{className:pt.arrow,children:"↓"}),l.jsxs("div",{className:pt.token,children:[l.jsx("span",{className:pt.tokenLabel,children:"Получаете"}),l.jsxs("span",{className:pt.tokenAmount,children:[m," ",i]}),l.jsxs("span",{className:pt.minOut,children:["Минимум: ",p," ",i]})]})]}),l.jsx("div",{className:pt.details,children:l.jsxs("div",{className:pt.row,children:[l.jsx("span",{className:pt.rowLabel,children:"Комиссия сети"}),l.jsxs("span",{className:pt.rowValue,children:[g.network.amountFormatted," ",g.network.asset," (≈$",g.network.amountUsd,")"]})]})}),l.jsx("button",{className:pt.confirmBtn,onClick:d,children:"Подтвердить"})]})})}const w9="_form_1fk2f_1",C9={form:w9},T9={ETH:1,BSC:56,SOL:792703809},Em={SOL:"11111111111111111111111111111111",DEFAULT:"0x0000000000000000000000000000000000000000"};function Rm(s){return Em[s]??Em.DEFAULT}function E9(){var me,_e,Ae,ot;const{fromAmount:s,fromUsd:c,fromToken:i,toToken:o,setFromAmount:d,setPercent:h,swapTokens:m,setFromToken:p,setToToken:g}=h3(),[v,x]=b.useState("ETH"),[y,N]=b.useState(null),[R,A]=b.useState(null),O=v==="TRX",{data:w}=no(v),z=w?_2(w):g2;b.useEffect(()=>{z.length!==0&&(p(ye=>z.find(qt=>qt.symbol===ye.symbol)??z[0]),g(ye=>z.find(qt=>qt.symbol===ye.symbol)??z[1]??z[0]))},[w,v]);const F=Ps(s,500),{data:$}=uo(),{data:V}=t3(),K=parseFloat(F),ne=T9[v],X=(me=$==null?void 0:$.find(ye=>ye.chain===v))==null?void 0:me.address,te=((_e=V==null?void 0:V.find(ye=>ye.chain===v&&ye.symbol===i.symbol))==null?void 0:_e.contract)??Rm(v),de=((Ae=V==null?void 0:V.find(ye=>ye.chain===v&&ye.symbol===o.symbol))==null?void 0:Ae.contract)??Rm(v),he=!O&&ne&&X&&K>0?{user:X,recipient:X,originChainId:ne,destinationChainId:ne,originCurrency:te,destinationCurrency:de,amount:Math.round(K*Math.pow(10,i.decimals)).toString(),tradeType:"EXACT_INPUT"}:null,{data:ge}=n3(he),{mutate:De,isPending:se}=l3(),{mutate:$e}=a3(),ze=O&&K>0?{from:i.symbol,to:o.symbol,amountHuman:F}:null,{data:U}=s3(ze),{mutate:Q,isPending:oe}=i3(),{mutate:Le}=c3(),ke=O?(U==null?void 0:U.expectedOutFormatted)??"0":(ge==null?void 0:ge.details.currencyOut.amountFormatted)??"0",T=O||ge==null?void 0:ge.details.currencyOut.amountUsd,H=O?(ot=U==null?void 0:U.fees.network.amountUsd)==null?void 0:ot.toString():ge==null?void 0:ge.fees.gas.amountUsd,I=O?K<=0||oe:!he||se;function J(){if(O){if(!ze)return;Q(ze,{onSuccess:ye=>A(ye)})}else{if(!he)return;De(he,{onSuccess:ye=>N(ye)})}}return l.jsxs("div",{className:C9.form,children:[l.jsx(ao,{mode:"from",token:i,tokenOptions:z,amount:s,usd:c,onAmountChange:d,onSetPercent:h,onTokenChange:p,selectedNetwork:v,onNetworkChange:x}),l.jsx(m3,{onClick:m}),l.jsx(ao,{mode:"to",token:o,tokenOptions:z,amount:ke,usd:T,onTokenChange:g}),l.jsx(p3,{gasFee:H}),l.jsx(Xa,{onClick:J,disabled:I}),y&&l.jsx(v3,{data:y,onClose:()=>N(null),onConfirm:()=>{var qt,Hn;const ye=(Hn=(qt=y.steps[0])==null?void 0:qt.items[0])==null?void 0:Hn.data;ye&&$e({chain:v,txData:ye}),N(null)}}),R&&l.jsx(g3,{quote:R,fromSymbol:i.symbol,toSymbol:o.symbol,amountHuman:s,onClose:()=>A(null),onConfirm:()=>{Le(R.quoteId),A(null)}})]})}const R9="_page_vqv0y_1",A9="_tabs_vqv0y_8",O9="_tab_vqv0y_8",M9="_active_vqv0y_26",D9="_inactive_vqv0y_31",z9="_main_vqv0y_40",Da={page:R9,tabs:A9,tab:O9,active:M9,inactive:D9,main:z9};function L9(){const s=Mn();return l.jsxs("div",{className:Da.page,children:[l.jsx(Ia,{}),l.jsxs("div",{className:Da.tabs,children:[l.jsx("button",{className:`${Da.tab} ${Da.active}`,onClick:()=>s(fe.SWAP),children:"СВОП"}),l.jsx("button",{className:`${Da.tab} ${Da.inactive}`,onClick:()=>s(fe.BRIDGE),children:"БРИДЖ"})]}),l.jsx("main",{className:Da.main,children:l.jsx(E9,{})}),l.jsx(Jn,{})]})}const B9="_wrap_njjv3_1",U9="_label_njjv3_9",k9="_select_njjv3_18",$0={wrap:B9,label:U9,select:k9},H9=["ETH","BSC","TRX","SOL"];function Am({label:s,value:c,onChange:i}){return l.jsxs("div",{className:$0.wrap,children:[l.jsx("span",{className:$0.label,children:s}),l.jsx("select",{className:$0.select,value:c,onChange:o=>i(o.target.value),children:H9.map(o=>l.jsx("option",{value:o,children:o},o))})]})}const q9="_form_htwuf_1",$9={form:q9},Om={ETH:1,BSC:56,SOL:792703809},Mm={SOL:"11111111111111111111111111111111",DEFAULT:"0x0000000000000000000000000000000000000000"};function Dm(s){return Mm[s]??Mm.DEFAULT}function G9(){var Hn,Wa,oi,qn,Pa;const{fromAmount:s,fromUsd:c,fromToken:i,toToken:o,setFromAmount:d,setPercent:h,swapTokens:m,setFromToken:p,setToToken:g}=h3(),[v,x]=b.useState("ETH"),[y,N]=b.useState("BSC"),[R,A]=b.useState(null),[O,w]=b.useState(null),z=v==="TRX",{data:F}=no(v),{data:$}=no(y),V=F?_2(F):g2,K=$?_2($):g2;b.useEffect(()=>{V.length!==0&&p(Pe=>V.find(El=>El.symbol===Pe.symbol)??V[0])},[F,v]),b.useEffect(()=>{K.length!==0&&g(Pe=>K.find(El=>El.symbol===Pe.symbol)??K[0])},[$,y]);const ne=Ps(s,500),{data:X}=uo(),{data:te}=t3(),de=parseFloat(ne),he=Om[v],ge=Om[y],De=(Hn=X==null?void 0:X.find(Pe=>Pe.chain===v))==null?void 0:Hn.address,se=(Wa=X==null?void 0:X.find(Pe=>Pe.chain===y))==null?void 0:Wa.address,$e=((oi=te==null?void 0:te.find(Pe=>Pe.chain===v&&Pe.symbol===i.symbol))==null?void 0:oi.contract)??Dm(v),ze=((qn=te==null?void 0:te.find(Pe=>Pe.chain===y&&Pe.symbol===o.symbol))==null?void 0:qn.contract)??Dm(y),U=!z&&he&&ge&&De&&de>0?{user:De,recipient:se??De,originChainId:he,destinationChainId:ge,originCurrency:$e,destinationCurrency:ze,amount:Math.round(de*Math.pow(10,i.decimals)).toString(),tradeType:"EXACT_INPUT"}:null,{data:Q}=n3(U),{mutate:oe,isPending:Le}=l3(),{mutate:ke}=a3(),T=z&&de>0?{from:i.symbol,to:o.symbol,amountHuman:ne}:null,{data:H}=s3(T),{mutate:I,isPending:J}=i3(),{mutate:me}=c3(),_e=z?(H==null?void 0:H.expectedOutFormatted)??"0":(Q==null?void 0:Q.details.currencyOut.amountFormatted)??"0",Ae=z||Q==null?void 0:Q.details.currencyOut.amountUsd,ot=z?(Pa=H==null?void 0:H.fees.network.amountUsd)==null?void 0:Pa.toString():Q==null?void 0:Q.fees.gas.amountUsd,ye=z?de<=0||J:!U||Le;function qt(){if(z){if(!T)return;I(T,{onSuccess:Pe=>w(Pe)})}else{if(!U)return;oe(U,{onSuccess:Pe=>A(Pe)})}}return l.jsxs("div",{className:$9.form,children:[l.jsx(Am,{label:"ИЗ",value:v,onChange:x}),l.jsx(ao,{mode:"from",token:i,tokenOptions:V,amount:s,usd:c,onAmountChange:d,onSetPercent:h,onTokenChange:p,hideNetworkSelect:!0}),l.jsx(m3,{onClick:m}),l.jsx(Am,{label:"В",value:y,onChange:N}),l.jsx(ao,{mode:"to",token:o,tokenOptions:K,amount:_e,usd:Ae,onTokenChange:g,hideNetworkSelect:!0}),l.jsx(p3,{gasFee:ot}),l.jsx(Xa,{label:"Подтвердить бридж",onClick:qt,disabled:ye}),R&&l.jsx(v3,{data:R,onClose:()=>A(null),onConfirm:()=>{var El,ui;const Pe=(ui=(El=R.steps[0])==null?void 0:El.items[0])==null?void 0:ui.data;Pe&&ke({chain:v,txData:Pe}),A(null)}}),O&&l.jsx(g3,{quote:O,fromSymbol:i.symbol,toSymbol:o.symbol,amountHuman:s,onClose:()=>w(null),onConfirm:()=>{me(O.quoteId),w(null)}})]})}const V9="_page_1ieiw_1",F9="_tabs_1ieiw_8",Q9="_tab_1ieiw_8",Y9="_active_1ieiw_26",X9="_inactive_1ieiw_31",Z9="_main_1ieiw_40",za={page:V9,tabs:F9,tab:Q9,active:Y9,inactive:X9,main:Z9};function K9(){const s=Mn();return l.jsxs("div",{className:za.page,children:[l.jsx(Ia,{}),l.jsxs("div",{className:za.tabs,children:[l.jsx("button",{className:`${za.tab} ${za.inactive}`,onClick:()=>s(fe.SWAP),children:"СВОП"}),l.jsx("button",{className:`${za.tab} ${za.active}`,onClick:()=>s(fe.BRIDGE),children:"БРИДЖ"})]}),l.jsx("main",{className:za.main,children:l.jsx(G9,{})}),l.jsx(Jn,{})]})}var y2=function(s,c){return y2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(i[d]=o[d])},y2(s,c)};function I9(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");y2(s,c);function i(){this.constructor=s}s.prototype=c===null?Object.create(c):(i.prototype=c.prototype,new i)}var bt=function(){return bt=Object.assign||function(c){for(var i,o=1,d=arguments.length;o<d;o++){i=arguments[o];for(var h in i)Object.prototype.hasOwnProperty.call(i,h)&&(c[h]=i[h])}return c},bt.apply(this,arguments)};var G0,zm;function W9(){if(zm)return G0;zm=1;var s=!1,c,i,o,d,h,m,p,g,v,x,y,N,R,A,O;function w(){if(!s){s=!0;var F=navigator.userAgent,$=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(F),V=/(Mac OS X)|(Windows)|(Linux)/.exec(F);if(N=/\b(iPhone|iP[ao]d)/.exec(F),R=/\b(iP[ao]d)/.exec(F),x=/Android/i.exec(F),A=/FBAN\/\w+;/i.exec(F),O=/Mobile/i.exec(F),y=!!/Win64/.exec(F),$){c=$[1]?parseFloat($[1]):$[5]?parseFloat($[5]):NaN,c&&document&&document.documentMode&&(c=document.documentMode);var K=/(?:Trident\/(\d+.\d+))/.exec(F);m=K?parseFloat(K[1])+4:c,i=$[2]?parseFloat($[2]):NaN,o=$[3]?parseFloat($[3]):NaN,d=$[4]?parseFloat($[4]):NaN,d?($=/(?:Chrome\/(\d+\.\d+))/.exec(F),h=$&&$[1]?parseFloat($[1]):NaN):h=NaN}else c=i=o=h=d=NaN;if(V){if(V[1]){var ne=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(F);p=ne?parseFloat(ne[1].replace("_",".")):!0}else p=!1;g=!!V[2],v=!!V[3]}else p=g=v=!1}}var z={ie:function(){return w()||c},ieCompatibilityMode:function(){return w()||m>c},ie64:function(){return z.ie()&&y},firefox:function(){return w()||i},opera:function(){return w()||o},webkit:function(){return w()||d},safari:function(){return z.webkit()},chrome:function(){return w()||h},windows:function(){return w()||g},osx:function(){return w()||p},linux:function(){return w()||v},iphone:function(){return w()||N},mobile:function(){return w()||N||R||x||O},nativeApp:function(){return w()||A},android:function(){return w()||x},ipad:function(){return w()||R}};return G0=z,G0}var V0,Lm;function P9(){if(Lm)return V0;Lm=1;var s=!!(typeof window<"u"&&window.document&&window.document.createElement),c={canUseDOM:s,canUseWorkers:typeof Worker<"u",canUseEventListeners:s&&!!(window.addEventListener||window.attachEvent),canUseViewport:s&&!!window.screen,isInWorker:!s};return V0=c,V0}var F0,Bm;function J9(){if(Bm)return F0;Bm=1;var s=P9(),c;s.canUseDOM&&(c=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/function i(o,d){if(!s.canUseDOM||d&&!("addEventListener"in document))return!1;var h="on"+o,m=h in document;if(!m){var p=document.createElement("div");p.setAttribute(h,"return;"),m=typeof p[h]=="function"}return!m&&c&&o==="wheel"&&(m=document.implementation.hasFeature("Events.wheel","3.0")),m}return F0=i,F0}var Q0,Um;function eS(){if(Um)return Q0;Um=1;var s=W9(),c=J9(),i=10,o=40,d=800;function h(m){var p=0,g=0,v=0,x=0;return"detail"in m&&(g=m.detail),"wheelDelta"in m&&(g=-m.wheelDelta/120),"wheelDeltaY"in m&&(g=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(p=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(p=g,g=0),v=p*i,x=g*i,"deltaY"in m&&(x=m.deltaY),"deltaX"in m&&(v=m.deltaX),(v||x)&&m.deltaMode&&(m.deltaMode==1?(v*=o,x*=o):(v*=d,x*=d)),v&&!p&&(p=v<1?-1:1),x&&!g&&(g=x<1?-1:1),{spinX:p,spinY:g,pixelX:v,pixelY:x}}return h.getEventType=function(){return s.firefox()?"DOMMouseScroll":c("wheel")?"wheel":"mousewheel"},Q0=h,Q0}var Y0,km;function tS(){return km||(km=1,Y0=eS()),Y0}var nS=tS();const lS=$4(nS);function aS(s,c,i,o,d,h){h===void 0&&(h=0);var m=Js(s,c,h),p=m.width,g=m.height,v=Math.min(p,i),x=Math.min(g,o);return v>x*d?{width:x*d,height:x}:{width:v,height:v/d}}function sS(s){return s.width>s.height?s.width/s.naturalWidth:s.height/s.naturalHeight}function uc(s,c,i,o,d){d===void 0&&(d=0);var h=Js(c.width,c.height,d),m=h.width,p=h.height;return{x:Hm(s.x,m,i.width,o),y:Hm(s.y,p,i.height,o)}}function Hm(s,c,i,o){var d=Math.abs(c*o/2-i/2);return fo(s,-d,d)}function qm(s,c){return Math.sqrt(Math.pow(s.y-c.y,2)+Math.pow(s.x-c.x,2))}function $m(s,c){return Math.atan2(c.y-s.y,c.x-s.x)*180/Math.PI}function iS(s,c,i,o,d,h,m){h===void 0&&(h=0),m===void 0&&(m=!0);var p=m?cS:rS,g=Js(c.width,c.height,h),v=Js(c.naturalWidth,c.naturalHeight,h),x={x:p(100,((g.width-i.width/d)/2-s.x/d)/g.width*100),y:p(100,((g.height-i.height/d)/2-s.y/d)/g.height*100),width:p(100,i.width/g.width*100/d),height:p(100,i.height/g.height*100/d)},y=Math.round(p(v.width,x.width*v.width/100)),N=Math.round(p(v.height,x.height*v.height/100)),R=v.width>=v.height*o,A=R?{width:Math.round(N*o),height:N}:{width:y,height:Math.round(y/o)},O=bt(bt({},A),{x:Math.round(p(v.width-A.width,x.x*v.width/100)),y:Math.round(p(v.height-A.height,x.y*v.height/100))});return{croppedAreaPercentages:x,croppedAreaPixels:O}}function cS(s,c){return Math.min(s,Math.max(0,c))}function rS(s,c){return c}function oS(s,c,i,o,d,h){var m=Js(c.width,c.height,i),p=fo(o.width/m.width*(100/s.width),d,h),g={x:p*m.width/2-o.width/2-m.width*p*(s.x/100),y:p*m.height/2-o.height/2-m.height*p*(s.y/100)};return{crop:g,zoom:p}}function uS(s,c,i){var o=sS(c);return i.height>i.width?i.height/(s.height*o):i.width/(s.width*o)}function dS(s,c,i,o,d,h){i===void 0&&(i=0);var m=Js(c.naturalWidth,c.naturalHeight,i),p=fo(uS(s,c,o),d,h),g=o.height>o.width?o.height/s.height:o.width/s.width,v={x:((m.width-s.width)/2-s.x)*g,y:((m.height-s.height)/2-s.y)*g};return{crop:v,zoom:p}}function Gm(s,c){return{x:(c.x+s.x)/2,y:(c.y+s.y)/2}}function fS(s){return s*Math.PI/180}function Js(s,c,i){var o=fS(i);return{width:Math.abs(Math.cos(o)*s)+Math.abs(Math.sin(o)*c),height:Math.abs(Math.sin(o)*s)+Math.abs(Math.cos(o)*c)}}function fo(s,c,i){return Math.min(Math.max(s,c),i)}function Xr(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];return s.filter(function(i){return typeof i=="string"&&i.length>0}).join(" ").trim()}var hS=`.reactEasyCrop_Container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
user-select: none;
touch-action: none;
cursor: move;
display: flex;
justify-content: center;
align-items: center;
}
.reactEasyCrop_Image,
.reactEasyCrop_Video {
will-change: transform; /* this improves performances and prevent painting issues on iOS Chrome */
}
.reactEasyCrop_Contain {
max-width: 100%;
max-height: 100%;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.reactEasyCrop_Cover_Horizontal {
width: 100%;
height: auto;
}
.reactEasyCrop_Cover_Vertical {
width: auto;
height: 100%;
}
.reactEasyCrop_CropArea {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border: 1px solid rgba(255, 255, 255, 0.5);
box-sizing: border-box;
box-shadow: 0 0 0 9999em;
color: rgba(0, 0, 0, 0.5);
overflow: hidden;
}
.reactEasyCrop_CropAreaRound {
border-radius: 50%;
}
.reactEasyCrop_CropAreaGrid::before {
content: ' ';
box-sizing: border-box;
position: absolute;
border: 1px solid rgba(255, 255, 255, 0.5);
top: 0;
bottom: 0;
left: 33.33%;
right: 33.33%;
border-top: 0;
border-bottom: 0;
}
.reactEasyCrop_CropAreaGrid::after {
content: ' ';
box-sizing: border-box;
position: absolute;
border: 1px solid rgba(255, 255, 255, 0.5);
top: 33.33%;
bottom: 33.33%;
left: 0;
right: 0;
border-left: 0;
border-right: 0;
}
`,mS=1,pS=3,vS=1,gS=(function(s){I9(c,s);function c(){var i=s!==null&&s.apply(this,arguments)||this;return i.cropperRef=b.createRef(),i.imageRef=b.createRef(),i.videoRef=b.createRef(),i.containerPosition={x:0,y:0},i.containerRef=null,i.styleRef=null,i.containerRect=null,i.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},i.dragStartPosition={x:0,y:0},i.dragStartCrop={x:0,y:0},i.gestureZoomStart=0,i.gestureRotationStart=0,i.isTouching=!1,i.lastPinchDistance=0,i.lastPinchRotation=0,i.rafDragTimeout=null,i.rafPinchTimeout=null,i.wheelTimer=null,i.currentDoc=typeof document<"u"?document:null,i.currentWindow=typeof window<"u"?window:null,i.resizeObserver=null,i.previousCropSize=null,i.isInitialized=!1,i.state={cropSize:null,hasWheelJustStarted:!1,mediaObjectFit:void 0},i.initResizeObserver=function(){if(!(typeof window.ResizeObserver>"u"||!i.containerRef)){var o=!0;i.resizeObserver=new window.ResizeObserver(function(d){if(o){o=!1;return}i.computeSizes()}),i.resizeObserver.observe(i.containerRef)}},i.preventZoomSafari=function(o){return o.preventDefault()},i.cleanEvents=function(){i.currentDoc&&(i.currentDoc.removeEventListener("mousemove",i.onMouseMove),i.currentDoc.removeEventListener("mouseup",i.onDragStopped),i.currentDoc.removeEventListener("touchmove",i.onTouchMove),i.currentDoc.removeEventListener("touchend",i.onDragStopped),i.currentDoc.removeEventListener("gesturechange",i.onGestureChange),i.currentDoc.removeEventListener("gestureend",i.onGestureEnd),i.currentDoc.removeEventListener("scroll",i.onScroll))},i.clearScrollEvent=function(){i.containerRef&&i.containerRef.removeEventListener("wheel",i.onWheel),i.wheelTimer&&clearTimeout(i.wheelTimer)},i.onMediaLoad=function(){var o=i.computeSizes();o&&(i.previousCropSize=o,i.emitCropData(),i.setInitialCrop(o),i.isInitialized=!0),i.props.onMediaLoaded&&i.props.onMediaLoaded(i.mediaSize)},i.setInitialCrop=function(o){if(i.props.initialCroppedAreaPercentages){var d=oS(i.props.initialCroppedAreaPercentages,i.mediaSize,i.props.rotation,o,i.props.minZoom,i.props.maxZoom),h=d.crop,m=d.zoom;i.props.onCropChange(h),i.props.onZoomChange&&i.props.onZoomChange(m)}else if(i.props.initialCroppedAreaPixels){var p=dS(i.props.initialCroppedAreaPixels,i.mediaSize,i.props.rotation,o,i.props.minZoom,i.props.maxZoom),h=p.crop,m=p.zoom;i.props.onCropChange(h),i.props.onZoomChange&&i.props.onZoomChange(m)}},i.computeSizes=function(){var o,d,h,m,p,g,v=i.imageRef.current||i.videoRef.current;if(v&&i.containerRef){i.containerRect=i.containerRef.getBoundingClientRect(),i.saveContainerPosition();var x=i.containerRect.width/i.containerRect.height,y=((o=i.imageRef.current)===null||o===void 0?void 0:o.naturalWidth)||((d=i.videoRef.current)===null||d===void 0?void 0:d.videoWidth)||0,N=((h=i.imageRef.current)===null||h===void 0?void 0:h.naturalHeight)||((m=i.videoRef.current)===null||m===void 0?void 0:m.videoHeight)||0,R=v.offsetWidth<y||v.offsetHeight<N,A=y/N,O=void 0;if(R)switch(i.state.mediaObjectFit){default:case"contain":O=x>A?{width:i.containerRect.height*A,height:i.containerRect.height}:{width:i.containerRect.width,height:i.containerRect.width/A};break;case"horizontal-cover":O={width:i.containerRect.width,height:i.containerRect.width/A};break;case"vertical-cover":O={width:i.containerRect.height*A,height:i.containerRect.height};break}else O={width:v.offsetWidth,height:v.offsetHeight};i.mediaSize=bt(bt({},O),{naturalWidth:y,naturalHeight:N}),i.props.setMediaSize&&i.props.setMediaSize(i.mediaSize);var w=i.props.cropSize?i.props.cropSize:aS(i.mediaSize.width,i.mediaSize.height,i.containerRect.width,i.containerRect.height,i.props.aspect,i.props.rotation);return(((p=i.state.cropSize)===null||p===void 0?void 0:p.height)!==w.height||((g=i.state.cropSize)===null||g===void 0?void 0:g.width)!==w.width)&&i.props.onCropSizeChange&&i.props.onCropSizeChange(w),i.setState({cropSize:w},i.recomputeCropPosition),i.props.setCropSize&&i.props.setCropSize(w),w}},i.saveContainerPosition=function(){if(i.containerRef){var o=i.containerRef.getBoundingClientRect();i.containerPosition={x:o.left,y:o.top}}},i.onMouseDown=function(o){i.currentDoc&&(o.preventDefault(),i.currentDoc.addEventListener("mousemove",i.onMouseMove),i.currentDoc.addEventListener("mouseup",i.onDragStopped),i.saveContainerPosition(),i.onDragStart(c.getMousePoint(o)))},i.onMouseMove=function(o){return i.onDrag(c.getMousePoint(o))},i.onScroll=function(o){i.currentDoc&&(o.preventDefault(),i.saveContainerPosition())},i.onTouchStart=function(o){i.currentDoc&&(i.isTouching=!0,!(i.props.onTouchRequest&&!i.props.onTouchRequest(o))&&(i.currentDoc.addEventListener("touchmove",i.onTouchMove,{passive:!1}),i.currentDoc.addEventListener("touchend",i.onDragStopped),i.saveContainerPosition(),o.touches.length===2?i.onPinchStart(o):o.touches.length===1&&i.onDragStart(c.getTouchPoint(o.touches[0]))))},i.onTouchMove=function(o){o.preventDefault(),o.touches.length===2?i.onPinchMove(o):o.touches.length===1&&i.onDrag(c.getTouchPoint(o.touches[0]))},i.onGestureStart=function(o){i.currentDoc&&(o.preventDefault(),i.currentDoc.addEventListener("gesturechange",i.onGestureChange),i.currentDoc.addEventListener("gestureend",i.onGestureEnd),i.gestureZoomStart=i.props.zoom,i.gestureRotationStart=i.props.rotation)},i.onGestureChange=function(o){if(o.preventDefault(),!i.isTouching){var d=c.getMousePoint(o),h=i.gestureZoomStart-1+o.scale;if(i.setNewZoom(h,d,{shouldUpdatePosition:!0}),i.props.onRotationChange){var m=i.gestureRotationStart+o.rotation;i.props.onRotationChange(m)}}},i.onGestureEnd=function(o){i.cleanEvents()},i.onDragStart=function(o){var d,h,m=o.x,p=o.y;i.dragStartPosition={x:m,y:p},i.dragStartCrop=bt({},i.props.crop),(h=(d=i.props).onInteractionStart)===null||h===void 0||h.call(d)},i.onDrag=function(o){var d=o.x,h=o.y;i.currentWindow&&(i.rafDragTimeout&&i.currentWindow.cancelAnimationFrame(i.rafDragTimeout),i.rafDragTimeout=i.currentWindow.requestAnimationFrame(function(){if(i.state.cropSize&&!(d===void 0||h===void 0)){var m=d-i.dragStartPosition.x,p=h-i.dragStartPosition.y,g={x:i.dragStartCrop.x+m,y:i.dragStartCrop.y+p},v=i.props.restrictPosition?uc(g,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):g;i.props.onCropChange(v)}}))},i.onDragStopped=function(){var o,d;i.isTouching=!1,i.cleanEvents(),i.emitCropData(),(d=(o=i.props).onInteractionEnd)===null||d===void 0||d.call(o)},i.onWheel=function(o){if(i.currentWindow&&!(i.props.onWheelRequest&&!i.props.onWheelRequest(o))){o.preventDefault();var d=c.getMousePoint(o),h=lS(o).pixelY,m=i.props.zoom-h*i.props.zoomSpeed/200;i.setNewZoom(m,d,{shouldUpdatePosition:!0}),i.state.hasWheelJustStarted||i.setState({hasWheelJustStarted:!0},function(){var p,g;return(g=(p=i.props).onInteractionStart)===null||g===void 0?void 0:g.call(p)}),i.wheelTimer&&clearTimeout(i.wheelTimer),i.wheelTimer=i.currentWindow.setTimeout(function(){return i.setState({hasWheelJustStarted:!1},function(){var p,g;return(g=(p=i.props).onInteractionEnd)===null||g===void 0?void 0:g.call(p)})},250)}},i.getPointOnContainer=function(o,d){var h=o.x,m=o.y;if(!i.containerRect)throw new Error("The Cropper is not mounted");return{x:i.containerRect.width/2-(h-d.x),y:i.containerRect.height/2-(m-d.y)}},i.getPointOnMedia=function(o){var d=o.x,h=o.y,m=i.props,p=m.crop,g=m.zoom;return{x:(d+p.x)/g,y:(h+p.y)/g}},i.setNewZoom=function(o,d,h){var m=h===void 0?{}:h,p=m.shouldUpdatePosition,g=p===void 0?!0:p;if(!(!i.state.cropSize||!i.props.onZoomChange)){var v=fo(o,i.props.minZoom,i.props.maxZoom);if(g){var x=i.getPointOnContainer(d,i.containerPosition),y=i.getPointOnMedia(x),N={x:y.x*v-x.x,y:y.y*v-x.y},R=i.props.restrictPosition?uc(N,i.mediaSize,i.state.cropSize,v,i.props.rotation):N;i.props.onCropChange(R)}i.props.onZoomChange(v)}},i.getCropData=function(){if(!i.state.cropSize)return null;var o=i.props.restrictPosition?uc(i.props.crop,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):i.props.crop;return iS(o,i.mediaSize,i.state.cropSize,i.getAspect(),i.props.zoom,i.props.rotation,i.props.restrictPosition)},i.emitCropData=function(){var o=i.getCropData();if(o){var d=o.croppedAreaPercentages,h=o.croppedAreaPixels;i.props.onCropComplete&&i.props.onCropComplete(d,h),i.props.onCropAreaChange&&i.props.onCropAreaChange(d,h)}},i.emitCropAreaChange=function(){var o=i.getCropData();if(o){var d=o.croppedAreaPercentages,h=o.croppedAreaPixels;i.props.onCropAreaChange&&i.props.onCropAreaChange(d,h)}},i.recomputeCropPosition=function(){var o,d;if(i.state.cropSize){var h=i.props.crop;if(i.isInitialized&&(!((o=i.previousCropSize)===null||o===void 0)&&o.width)&&(!((d=i.previousCropSize)===null||d===void 0)&&d.height)){var m=Math.abs(i.previousCropSize.width-i.state.cropSize.width)>1e-6||Math.abs(i.previousCropSize.height-i.state.cropSize.height)>1e-6;if(m){var p=i.state.cropSize.width/i.previousCropSize.width,g=i.state.cropSize.height/i.previousCropSize.height;h={x:i.props.crop.x*p,y:i.props.crop.y*g}}}var v=i.props.restrictPosition?uc(h,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):h;i.previousCropSize=i.state.cropSize,i.props.onCropChange(v),i.emitCropData()}},i.onKeyDown=function(o){var d,h,m=i.props,p=m.crop,g=m.onCropChange,v=m.keyboardStep,x=m.zoom,y=m.rotation,N=v;if(i.state.cropSize){o.shiftKey&&(N*=.2);var R=bt({},p);switch(o.key){case"ArrowUp":R.y-=N,o.preventDefault();break;case"ArrowDown":R.y+=N,o.preventDefault();break;case"ArrowLeft":R.x-=N,o.preventDefault();break;case"ArrowRight":R.x+=N,o.preventDefault();break;default:return}i.props.restrictPosition&&(R=uc(R,i.mediaSize,i.state.cropSize,x,y)),o.repeat||(h=(d=i.props).onInteractionStart)===null||h===void 0||h.call(d),g(R)}},i.onKeyUp=function(o){var d,h;switch(o.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":o.preventDefault();break;default:return}i.emitCropData(),(h=(d=i.props).onInteractionEnd)===null||h===void 0||h.call(d)},i}return c.prototype.componentDidMount=function(){!this.currentDoc||!this.currentWindow||(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),typeof window.ResizeObserver>"u"&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.currentDoc.addEventListener("scroll",this.onScroll),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=hS,this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef),this.props.setCropperRef&&this.props.setCropperRef(this.cropperRef))},c.prototype.componentWillUnmount=function(){var i,o;!this.currentDoc||!this.currentWindow||(typeof window.ResizeObserver>"u"&&this.currentWindow.removeEventListener("resize",this.computeSizes),(i=this.resizeObserver)===null||i===void 0||i.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&((o=this.styleRef.parentNode)===null||o===void 0||o.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},c.prototype.componentDidUpdate=function(i){var o,d,h,m,p,g,v,x,y;i.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):i.aspect!==this.props.aspect?this.computeSizes():i.objectFit!==this.props.objectFit?this.computeSizes():i.zoom!==this.props.zoom?this.recomputeCropPosition():((o=i.cropSize)===null||o===void 0?void 0:o.height)!==((d=this.props.cropSize)===null||d===void 0?void 0:d.height)||((h=i.cropSize)===null||h===void 0?void 0:h.width)!==((m=this.props.cropSize)===null||m===void 0?void 0:m.width)?this.computeSizes():(((p=i.crop)===null||p===void 0?void 0:p.x)!==((g=this.props.crop)===null||g===void 0?void 0:g.x)||((v=i.crop)===null||v===void 0?void 0:v.y)!==((x=this.props.crop)===null||x===void 0?void 0:x.y))&&this.emitCropAreaChange(),i.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),i.video!==this.props.video&&((y=this.videoRef.current)===null||y===void 0||y.load());var N=this.getObjectFit();N!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:N},this.computeSizes)},c.prototype.getAspect=function(){var i=this.props,o=i.cropSize,d=i.aspect;return o?o.width/o.height:d},c.prototype.getObjectFit=function(){var i,o,d,h;if(this.props.objectFit==="cover"){var m=this.imageRef.current||this.videoRef.current;if(m&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var p=this.containerRect.width/this.containerRect.height,g=((i=this.imageRef.current)===null||i===void 0?void 0:i.naturalWidth)||((o=this.videoRef.current)===null||o===void 0?void 0:o.videoWidth)||0,v=((d=this.imageRef.current)===null||d===void 0?void 0:d.naturalHeight)||((h=this.videoRef.current)===null||h===void 0?void 0:h.videoHeight)||0,x=g/v;return x<p?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},c.prototype.onPinchStart=function(i){var o=c.getTouchPoint(i.touches[0]),d=c.getTouchPoint(i.touches[1]);this.lastPinchDistance=qm(o,d),this.lastPinchRotation=$m(o,d),this.onDragStart(Gm(o,d))},c.prototype.onPinchMove=function(i){var o=this;if(!(!this.currentDoc||!this.currentWindow)){var d=c.getTouchPoint(i.touches[0]),h=c.getTouchPoint(i.touches[1]),m=Gm(d,h);this.onDrag(m),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var p=qm(d,h),g=o.props.zoom*(p/o.lastPinchDistance);o.setNewZoom(g,m,{shouldUpdatePosition:!1}),o.lastPinchDistance=p;var v=$m(d,h),x=o.props.rotation+(v-o.lastPinchRotation);o.props.onRotationChange&&o.props.onRotationChange(x),o.lastPinchRotation=v})}},c.prototype.render=function(){var i=this,o,d=this.props,h=d.image,m=d.video,p=d.mediaProps,g=d.cropperProps,v=d.transform,x=d.crop,y=x.x,N=x.y,R=d.rotation,A=d.zoom,O=d.cropShape,w=d.showGrid,z=d.roundCropAreaPixels,F=d.style,$=F.containerStyle,V=F.cropAreaStyle,K=F.mediaStyle,ne=d.classes,X=ne.containerClassName,te=ne.cropAreaClassName,de=ne.mediaClassName,he=(o=this.state.mediaObjectFit)!==null&&o!==void 0?o:this.getObjectFit();return b.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(De){return i.containerRef=De},"data-testid":"container",style:$,className:Xr("reactEasyCrop_Container",X)},h?b.createElement("img",bt({alt:"",className:Xr("reactEasyCrop_Image",he==="contain"&&"reactEasyCrop_Contain",he==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",he==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",de)},p,{src:h,ref:this.imageRef,style:bt(bt({},K),{transform:v||"translate(".concat(y,"px, ").concat(N,"px) rotate(").concat(R,"deg) scale(").concat(A,")")}),onLoad:this.onMediaLoad})):m&&b.createElement("video",bt({autoPlay:!0,playsInline:!0,loop:!0,muted:!0,className:Xr("reactEasyCrop_Video",he==="contain"&&"reactEasyCrop_Contain",he==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",he==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",de)},p,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:bt(bt({},K),{transform:v||"translate(".concat(y,"px, ").concat(N,"px) rotate(").concat(R,"deg) scale(").concat(A,")")}),controls:!1}),(Array.isArray(m)?m:[{src:m}]).map(function(ge){return b.createElement("source",bt({key:ge.src},ge))})),this.state.cropSize&&b.createElement("div",bt({ref:this.cropperRef,style:bt(bt({},V),{width:z?Math.round(this.state.cropSize.width):this.state.cropSize.width,height:z?Math.round(this.state.cropSize.height):this.state.cropSize.height}),tabIndex:0,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,"data-testid":"cropper",className:Xr("reactEasyCrop_CropArea",O==="round"&&"reactEasyCrop_CropAreaRound",w&&"reactEasyCrop_CropAreaGrid",te)},g)))},c.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:pS,minZoom:mS,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},cropperProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0,keyboardStep:vS},c.getMousePoint=function(i){return{x:Number(i.clientX),y:Number(i.clientY)}},c.getTouchPoint=function(i){return{x:Number(i.clientX),y:Number(i.clientY)}},c})(b.Component);function _S(s){return new Promise((c,i)=>{const o=new Image;o.onload=()=>c(o),o.onerror=()=>i(new Error("Не удалось загрузить изображение")),o.src=s})}async function yS(s,c,i=512){const o=await _S(s),d=document.createElement("canvas");d.width=i,d.height=i;const h=d.getContext("2d");if(!h)throw new Error("Canvas 2D context недоступен");return h.drawImage(o,c.x,c.y,c.width,c.height,0,0,i,i),new Promise((m,p)=>{d.toBlob(g=>{g?m(g):p(new Error("Пустой Blob после обрезки"))},"image/jpeg",.9)})}const xS="_backdrop_1cfz6_1",bS="_card_1cfz6_12",jS="_title_1cfz6_25",SS="_cropArea_1cfz6_31",NS="_controls_1cfz6_40",wS="_zoom_1cfz6_52",CS="_actions_1cfz6_57",TS="_error_1cfz6_63",ea={backdrop:xS,card:bS,title:jS,cropArea:SS,controls:NS,zoom:wS,actions:CS,error:TS};function ES({imageSrc:s,isSaving:c,onCancel:i,onConfirm:o}){const[d,h]=b.useState({x:0,y:0}),[m,p]=b.useState(1),[g,v]=b.useState(null),[x,y]=b.useState(null),N=b.useCallback((A,O)=>{v(O)},[]);b.useEffect(()=>{const A=O=>{O.key==="Escape"&&!c&&i()};return window.addEventListener("keydown",A),()=>window.removeEventListener("keydown",A)},[i,c]);const R=async()=>{if(g){y(null);try{const A=await yS(s,g);await o(A)}catch{y("Не удалось обрезать изображение")}}};return l.jsx("div",{className:ea.backdrop,onClick:c?void 0:i,children:l.jsxs("div",{className:ea.card,onClick:A=>A.stopPropagation(),children:[l.jsx("h3",{className:ea.title,children:"Выберите область аватара"}),l.jsx("div",{className:ea.cropArea,children:l.jsx(gS,{image:s,crop:d,zoom:m,aspect:1,cropShape:"round",showGrid:!1,onCropChange:h,onZoomChange:p,onCropComplete:N})}),l.jsxs("div",{className:ea.controls,children:[l.jsx("label",{htmlFor:"avatar-zoom",children:"Масштаб"}),l.jsx("input",{id:"avatar-zoom",className:ea.zoom,type:"range",min:1,max:3,step:.01,value:m,onChange:A=>p(Number(A.target.value))})]}),x&&l.jsx("span",{className:ea.error,children:x}),l.jsxs("div",{className:ea.actions,children:[l.jsx(Rn,{variant:"ghost",onClick:i,disabled:c,children:"Отмена"}),l.jsx(Rn,{variant:"primary",onClick:R,disabled:c||!g,children:c?"Загрузка...":"Сохранить"})]})]})})}const RS="_col_1gh35_1",AS="_avatar_1gh35_10",OS="_avatarImg_1gh35_30",MS="_error_1gh35_37",DS="_overlay_1gh35_43",zS="_addPhoto_1gh35_68",Us={col:RS,avatar:AS,avatarImg:OS,error:MS,overlay:DS,addPhoto:zS};function LS(s){return new Promise((c,i)=>{const o=new FileReader;o.onload=()=>{const d=o.result,h=d.indexOf(",");c(h>=0?d.slice(h+1):d)},o.onerror=()=>i(o.error),o.readAsDataURL(s)})}function BS(){const{data:s}=ci(),{mutateAsync:c,isPending:i}=ab(),o=b.useRef(null),[d,h]=b.useState(null),[m,p]=b.useState(!1),[g,v]=b.useState(null),x=(s==null?void 0:s.avatar_link)??null,y=x&&!m;b.useEffect(()=>{p(!1)},[x]),b.useEffect(()=>()=>{g&&URL.revokeObjectURL(g)},[g]);const N=()=>{var w;i||(w=o.current)==null||w.click()},R=w=>{var F;const z=(F=w.target.files)==null?void 0:F[0];w.target.value="",z&&(h(null),v(URL.createObjectURL(z)))},A=()=>{g&&URL.revokeObjectURL(g),v(null)},O=async w=>{try{const z=await LS(w);await c({photo_base64:z,decoded_bytes:String(w.size)}),A()}catch{h("Не удалось загрузить фото"),A()}};return l.jsxs("div",{className:Us.col,children:[l.jsxs("div",{className:Us.avatar,onClick:N,children:[y?l.jsx("img",{src:x,alt:"avatar",className:Us.avatarImg,referrerPolicy:"no-referrer",onError:()=>{console.warn("[avatar] failed to load",x),p(!0)}}):l.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("circle",{cx:"12",cy:"8",r:"4"}),l.jsx("path",{d:"M4 20c0-4 4-7 8-7s8 3 8 7"})]}),l.jsx("div",{className:Us.overlay,children:l.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"#fff",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[l.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"}),l.jsx("circle",{cx:"12",cy:"13",r:"4"})]})})]}),l.jsx("input",{ref:o,type:"file",accept:"image/*",onChange:R,hidden:!0}),l.jsx("div",{className:Us.addPhoto,children:l.jsx(Rn,{variant:"ghost",onClick:N,disabled:i,children:i?"ЗАГРУЗКА...":"ДОБАВИТЬ ФОТО"})}),d&&l.jsx("span",{className:Us.error,children:d}),g&&l.jsx(ES,{imageSrc:g,isSaving:i,onCancel:A,onConfirm:O})]})}const US="_card_17od5_1",kS="_title_17od5_8",HS="_actions_17od5_17",X0={card:US,title:kS,actions:HS};function Zr({title:s,children:c,actions:i}){return l.jsxs("div",{className:X0.card,children:[l.jsx("div",{className:X0.title,children:s}),c,i&&l.jsx("div",{className:X0.actions,children:i})]})}const qS="_page_h0psp_1",$S="_kycBanner_h0psp_8",GS="_main_h0psp_19",VS="_profileTop_h0psp_29",FS="_userInfo_h0psp_33",QS="_sections_h0psp_37",YS="_grid2_h0psp_44",XS="_grid1_h0psp_50",ZS="_mnemonicRow_h0psp_56",KS="_mnemonicInfo_h0psp_63",IS="_mnemonicIcon_h0psp_69",WS="_mnemonicText_h0psp_73",PS="_userName_h0psp_105",JS="_userBalance_h0psp_112",Lt={page:qS,kycBanner:$S,main:GS,profileTop:VS,userInfo:FS,sections:QS,grid2:YS,grid1:XS,mnemonicRow:ZS,mnemonicInfo:KS,mnemonicIcon:IS,mnemonicText:WS,userName:PS,userBalance:JS};function eN(){const{data:s}=ci(),{data:c,isLoading:i}=U2(),{data:o}=uo(),d=Mn(),h=g=>g?g[0].toUpperCase()+g.slice(1).toLowerCase():"",m=s?[s.last_name,s.first_name,s.middle_name].filter(Boolean).map(h).join(" "):"",p=i||!c||c.totalUsd==null?"$—":`$${c.totalUsd.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`;return l.jsxs("div",{className:Lt.page,children:[l.jsx(Ia,{}),s&&!s.kyc_verified&&l.jsx("div",{className:Lt.kycBanner,children:"Для полного доступа к платформе необходимо пройти верификацию личности (KYC)"}),l.jsxs("main",{className:Lt.main,children:[l.jsxs("div",{className:Lt.profileTop,children:[l.jsx(BS,{}),l.jsxs("div",{className:Lt.userInfo,children:[l.jsx("span",{className:Lt.userName,children:m}),l.jsx("span",{className:Lt.userBalance,children:p})]})]}),l.jsxs("div",{className:Lt.sections,children:[l.jsx(Zr,{title:"Личные данные",children:l.jsxs("div",{className:Lt.grid2,children:[l.jsx(jt,{label:"Полное ФИО",value:m,placeholder:"Например: Иванов Иван Иванович"}),l.jsx(jt,{label:"Адрес электронной почты",value:(s==null?void 0:s.email)??"",type:"email",icon:"check",placeholder:"example@mail.ru",readOnly:!0}),l.jsx(jt,{label:"Серия и номер паспорта",value:(s==null?void 0:s.passport_data)??"",placeholder:"0000 000000",readOnly:!0}),l.jsx(jt,{label:"Номер телефона",value:(s==null?void 0:s.phone)??"",type:"tel",icon:"check",placeholder:"+7 (999) 000-00-00",readOnly:!0})]})}),l.jsx(Zr,{title:"Верификация",children:l.jsxs("div",{className:Lt.grid2,children:[l.jsx(jt,{label:"ИНН",value:(s==null?void 0:s.inn)??"",readOnly:!0,icon:"lock",placeholder:"000000000000"}),l.jsx(jt,{label:"ID аккаунта",value:(s==null?void 0:s.id)??"",readOnly:!0,icon:"lock",placeholder:"ECSA-00000000"})]})}),l.jsx(Zr,{title:"Безопасность",actions:l.jsxs(l.Fragment,{children:[l.jsx(Rn,{variant:"danger",children:"⚠️ Посмотреть приватный ключ"}),l.jsx(Rn,{variant:"primary",children:"СОХРАНИТЬ"})]}),children:l.jsx("div",{className:Lt.grid1,children:o==null?void 0:o.map(({chain:g,address:v})=>l.jsx(jt,{label:`Адрес ${g}`,readOnly:!0,icon:"lock",value:v,placeholder:"—"},g))})}),l.jsx(Zr,{title:"Мнемоника",children:l.jsxs("div",{className:Lt.mnemonicRow,children:[l.jsxs("div",{className:Lt.mnemonicInfo,children:[l.jsx("span",{className:Lt.mnemonicIcon,children:"🔑"}),l.jsx("span",{className:Lt.mnemonicText,children:"Сид-фраза из 12 слов для восстановления кошелька"})]}),l.jsx(Rn,{variant:"danger",onClick:()=>d(fe.SEED_PHRASE),children:"⚠ Показать мнемонику"})]})})]})]})]})}const tN="_card_1erii_1",nN="_logo_1erii_10",lN="_title_1erii_20",aN="_twoCol_1erii_29",sN="_leftCol_1erii_36",iN="_rightCol_1erii_42",cN="_codeHint_1erii_48",rN="_error_1erii_55",oN="_submitWrapper_1erii_62",uN="_footer_1erii_66",dN="_forgot_1erii_73",fN="_divider_1erii_88",Tn={card:tN,logo:nN,title:lN,twoCol:aN,leftCol:sN,rightCol:iN,codeHint:cN,error:rN,submitWrapper:oN,footer:uN,forgot:dN,divider:fN};function Vm(s){var i,o;const c=s;return((o=(i=c==null?void 0:c.detail)==null?void 0:i[0])==null?void 0:o.msg)??"Произошла ошибка"}function hN(){const[s,c]=b.useState(""),[i,o]=b.useState(""),[d,h]=b.useState(""),[m,p]=b.useState(!1),g=Ka(),v=Mn(),x=Wt({mutationFn:W5,onSuccess:()=>p(!0)}),y=Wt({mutationFn:P5,onSuccess:async({access_token:O})=>{B2(),O&&An.set(O),await g.invalidateQueries({queryKey:oo}),v(fe.PROFILE)}}),N=()=>{s&&x.mutate({email:s})},R=O=>{O.preventDefault(),y.mutate({email:s,password:i,code:d})},A=(x.isError?Vm(x.error):null)??(y.isError?Vm(y.error):null);return{email:s,setEmail:c,password:i,setPassword:o,verificationCode:d,setVerificationCode:h,codeSent:m,isLoadingCode:x.isPending,isLoadingSubmit:y.isPending,error:A,handleRequestCode:N,handleSubmit:R}}function mN(){const{email:s,setEmail:c,password:i,setPassword:o,verificationCode:d,setVerificationCode:h,codeSent:m,isLoadingCode:p,isLoadingSubmit:g,error:v,handleRequestCode:x,handleSubmit:y}=hN(),N=Mn();return l.jsxs("form",{className:Tn.card,onSubmit:y,children:[l.jsx("div",{className:Tn.logo,children:l.jsx("img",{src:fa,alt:"ЭКСА"})}),l.jsx("h1",{className:Tn.title,children:"Войти в кошелёк ЭКСА"}),l.jsxs("div",{className:Tn.twoCol,children:[l.jsxs("div",{className:Tn.leftCol,children:[l.jsx(jt,{label:"Адрес электронной почты",type:"email",value:s,onChange:c,placeholder:"example@mail.ru",required:!0}),l.jsx(jt,{label:"Пароль",type:"password",value:i,onChange:o,placeholder:"••••••••",required:!0})]}),l.jsxs("div",{className:Tn.rightCol,children:[l.jsx(Rn,{variant:"ghost",type:"button",onClick:x,disabled:m||p,children:p?"Отправка...":m?"Код отправлен":"Получить код на email"}),l.jsx("span",{className:Tn.codeHint,children:"Код не пришёл"}),l.jsx(jt,{label:"Ввести код",type:"text",value:d,onChange:h,placeholder:"000 000",required:!0})]})]}),v&&l.jsx("p",{className:Tn.error,children:v}),l.jsx("div",{className:Tn.submitWrapper,children:l.jsx(Xa,{label:g?"Вход...":"Войти",disabled:g})}),l.jsxs("div",{className:Tn.footer,children:[l.jsx("a",{className:Tn.forgot,onClick:()=>N(fe.RESTORE_PASSWORD),children:"Забыли пароль?"}),l.jsx("div",{className:Tn.divider,children:l.jsx("span",{children:"или"})}),l.jsx(Rn,{variant:"outline",type:"button",onClick:()=>N(fe.REGISTER),children:"Создать новый кошелёк"})]})]})}const pN="_page_a6ygb_1",vN={page:pN};function gN(){return l.jsx("div",{className:vN.page,children:l.jsx(mN,{})})}function Fm(s){var i,o;const c=s;return((o=(i=c==null?void 0:c.detail)==null?void 0:i[0])==null?void 0:o.msg)??"Произошла ошибка"}function _N(){const s=Mn(),c=Ka(),[i,o]=b.useState(""),[d,h]=b.useState(""),[m,p]=b.useState(""),[g,v]=b.useState(""),[x,y]=b.useState(!1),[N,R]=b.useState(null),A=Wt({mutationFn:K5,onSuccess:()=>y(!0)}),O=Wt({mutationFn:I5,onSuccess:async({access_token:$})=>{B2(),$&&An.set($),await c.invalidateQueries({queryKey:oo}),s(fe.WALLET)}}),w=()=>{i&&A.mutate({email:i})},z=$=>{if($.preventDefault(),d!==m){R("Пароли не совпадают");return}R(null),O.mutate({email:i,password:d,confirm_password:m,code:g})},F=N??(A.isError?Fm(A.error):null)??(O.isError?Fm(O.error):null);return{email:i,setEmail:o,password:d,setPassword:h,confirmPassword:m,setConfirmPassword:p,verificationCode:g,setVerificationCode:v,codeSent:x,isLoadingCode:A.isPending,isLoadingSubmit:O.isPending,error:F,handleRequestCode:w,handleSubmit:z}}const yN="_card_wnog4_1",xN="_logo_wnog4_10",bN="_title_wnog4_20",jN="_twoCol_wnog4_29",SN="_leftCol_wnog4_36",NN="_rightCol_wnog4_42",wN="_codeHint_wnog4_53",CN="_error_wnog4_60",TN="_submitWrapper_wnog4_67",EN="_legal_wnog4_71",Zn={card:yN,logo:xN,title:bN,twoCol:jN,leftCol:SN,rightCol:NN,codeHint:wN,error:CN,submitWrapper:TN,legal:EN};function RN(){const{email:s,setEmail:c,password:i,setPassword:o,confirmPassword:d,setConfirmPassword:h,verificationCode:m,setVerificationCode:p,codeSent:g,isLoadingCode:v,isLoadingSubmit:x,error:y,handleRequestCode:N,handleSubmit:R}=_N();return l.jsxs("form",{className:Zn.card,onSubmit:R,children:[l.jsx("div",{className:Zn.logo,children:l.jsx("img",{src:fa,alt:"ЭКСА"})}),l.jsx("h1",{className:Zn.title,children:"Создать кошелёк ЭКСА"}),l.jsxs("div",{className:Zn.twoCol,children:[l.jsxs("div",{className:Zn.leftCol,children:[l.jsx(jt,{label:"Введите адрес электронной почты",type:"email",value:s,onChange:c,placeholder:"example@mail.ru",required:!0}),l.jsx(jt,{label:"Придумайте пароль",type:"password",value:i,onChange:o,placeholder:"••••••••",required:!0}),l.jsx(jt,{label:"Повторите пароль",type:"password",value:d,onChange:h,placeholder:"••••••••",required:!0})]}),l.jsxs("div",{className:Zn.rightCol,children:[l.jsx(Rn,{variant:"ghost",type:"button",onClick:N,disabled:g||v,children:v?"Отправка...":g?"Код отправлен":"Получить проверочный код"}),l.jsx("span",{className:Zn.codeHint,children:"Код не пришёл"}),l.jsx(jt,{label:"Ввести код",type:"text",value:m,onChange:p,placeholder:"000 000",required:!0})]})]}),y&&l.jsx("p",{className:Zn.error,children:y}),l.jsx("div",{className:Zn.submitWrapper,children:l.jsx(Xa,{label:x?"Создание...":"Создать",disabled:x})}),l.jsxs("p",{className:Zn.legal,children:["Нажимая «Создать», вы принимаете",l.jsx("br",{}),l.jsx("a",{href:"#",children:"Пользовательское соглашение"})," и ",l.jsx("a",{href:"#",children:"Политику конфиденциальности"})]})]})}const AN="_page_a6ygb_1",ON={page:AN};function MN(){return l.jsx("div",{className:ON.page,children:l.jsx(RN,{})})}const DN="_title_ujt2o_1",zN="_table_ujt2o_8",LN="_row_ujt2o_15",BN="_range_ujt2o_31",UN="_pct_ujt2o_36",kN="_progressBar_ujt2o_43",HN="_progressFill_ujt2o_51",qN="_summary_ujt2o_58",$N="_summaryLabel_ujt2o_73",GN="_summaryValue_ujt2o_78",un={title:DN,table:zN,row:LN,range:BN,pct:UN,progressBar:kN,progressFill:HN,summary:qN,summaryLabel:$N,summaryValue:GN},Qm=s=>s.toLocaleString("ru-RU");function VN({amount:s,progress:c,commission:i,effectiveRate:o}){return l.jsxs("div",{children:[l.jsx("div",{className:un.title,children:"КОМИССИЯ СЕРВИСА"}),l.jsx("div",{className:un.table,children:wl.map((d,h)=>l.jsxs("div",{className:un.row,"data-active":s>=d.min&&s<=d.max||void 0,children:[l.jsxs("span",{className:un.range,children:[Qm(d.min)," ",Qm(d.max)," ₽"]}),l.jsxs("span",{className:un.pct,children:[d.pct,"%"]})]},h))}),l.jsx("div",{className:un.progressBar,children:l.jsx("div",{className:un.progressFill,style:{width:`${c}%`}})}),l.jsxs("div",{className:un.summary,children:[l.jsx("span",{className:un.summaryLabel,children:"Комиссия"}),l.jsxs("span",{className:un.summaryValue,children:[i.toLocaleString("ru-RU",{maximumFractionDigits:2})," ₽"]})]}),l.jsxs("div",{className:un.summary,children:[l.jsx("span",{className:un.summaryLabel,children:"Курс с комиссией"}),l.jsxs("span",{className:un.summaryValue,children:[o.toFixed(2)," ₽"]})]})]})}const FN="_wrap_6xfms_1",QN="_box_6xfms_12",YN="_text_6xfms_39",XN="_link_6xfms_46",ZN="_required_6xfms_51",dc={wrap:FN,box:QN,text:YN,link:XN,required:ZN};function KN({checked:s,onToggle:c}){return l.jsxs("button",{type:"button",className:dc.wrap,onClick:c,"aria-pressed":s,children:[l.jsx("span",{className:dc.box,"data-checked":s||void 0,children:l.jsx("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:l.jsx("path",{d:"M2 6l3 3 5-5",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})})}),l.jsxs("span",{className:dc.text,children:["Я ознакомлен и согласен с"," ",l.jsx("a",{href:"/publichnaya-oferta",className:dc.link,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),children:"публичной офертой"}),". Вся деятельность компании соответствует законодательству Российской Федерации.",l.jsx("br",{}),l.jsx("span",{className:dc.required,children:"ОБЯЗАТЕЛЬНОЕ ПОЛЕ"})]})]})}const IN="_wrap_1nqy0_1",WN="_header_1nqy0_8",PN="_title_1nqy0_17",JN="_subtitle_1nqy0_22",ew="_pills_1nqy0_29",tw="_pill_1nqy0_29",nw="_pillValue_1nqy0_43",lw="_body_1nqy0_53",aw="_tabs_1nqy0_59",sw="_tab_1nqy0_59",iw="_field_1nqy0_91",cw="_fieldError_1nqy0_95",rw="_fieldLabel_1nqy0_101",ow="_fieldInput_1nqy0_109",uw="_currency_1nqy0_135",dw="_currencyIcon_1nqy0_144",fw="_currencyRub_1nqy0_156",hw="_currencyUsdt_1nqy0_160",mw="_swapWrap_1nqy0_164",pw="_swapBtn_1nqy0_169",vw="_bottom_1nqy0_182",gw="_payBtn_1nqy0_190",pe={wrap:IN,header:WN,title:PN,subtitle:JN,pills:ew,pill:tw,pillValue:nw,body:lw,tabs:aw,tab:sw,field:iw,fieldError:cw,fieldLabel:rw,fieldInput:ow,currency:uw,currencyIcon:dw,currencyRub:fw,currencyUsdt:hw,swapWrap:mw,swapBtn:pw,bottom:vw,payBtn:gw};function _w(){const s=Op({usdtRate:0}),[c,i]=b.useState("usdt_to_rub"),[o,d]=b.useState("1000"),{data:h}=Zp(),m=Number(h==null?void 0:h.usdt_exchange_rate)||0,p=Number(h==null?void 0:h.gas_fee)||Ap,g=c==="usdt_to_rub",v=Ps(s.numRub,400),{data:x,isError:y}=Kp(g?v:0),N=Number.parseFloat(o)||0,R=Ps(N,400),{data:A,isError:O}=Ip(g?0:R);function w(se){d(se.replace(/[^0-9.]/g,""))}function z(){i(se=>se==="usdt_to_rub"?"rub_to_usdt":"usdt_to_rub")}const F=(x==null?void 0:x.total_price)??"",$=Number(F)||0,V=(A==null?void 0:A.usdt_amount)??"",K=Number(V)||0,ne=g?Number(x==null?void 0:x.service_fee)||0:Number(A==null?void 0:A.service_fee)||0,X=g?$:N,te=g?s.numRub>0?$/s.numRub:0:K>0?N/K:0,{mutate:de,isPending:he}=bx();function ge(){de(g?{usdt_amount:s.numRub,usdt_exchange_rate:1,gas_fee:1,total_price:Number(F)||0}:{usdt_amount:K,usdt_exchange_rate:1,gas_fee:1,total_price:N})}const De=g?!F||he||!s.agreed:!V||he||!s.agreed;return l.jsxs("div",{className:pe.wrap,children:[l.jsxs("div",{className:pe.header,children:[l.jsxs("div",{children:[l.jsx("h1",{className:pe.title,children:"Конвертация"}),l.jsx("div",{className:pe.subtitle,children:"Данные обновляются в реальном времени"})]}),l.jsxs("div",{className:pe.pills,children:[l.jsxs("div",{className:pe.pill,children:["Цена газа в RUB ",l.jsxs("span",{className:pe.pillValue,children:[p.toFixed(2)," RUB"]})]}),l.jsxs("div",{className:pe.pill,children:["USDT/RUB ",l.jsxs("span",{className:pe.pillValue,children:[m.toFixed(2)," ₽"]})]})]})]}),l.jsxs("div",{className:pe.body,children:[l.jsxs("div",{children:[l.jsxs("div",{className:pe.tabs,children:[l.jsx("button",{type:"button",className:pe.tab,"data-active":g||void 0,onClick:()=>i("usdt_to_rub"),children:"КУПИТЬ"}),l.jsx("button",{type:"button",className:pe.tab,"data-active":!g||void 0,onClick:()=>i("rub_to_usdt"),children:"ПРОДАТЬ"})]}),g?l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:pe.field,children:[l.jsx("div",{className:pe.fieldLabel,children:"Конвертируете"}),l.jsxs("div",{className:pe.fieldInput,children:[l.jsx("input",{type:"text",value:s.rubVal,onChange:se=>s.updateRub(se.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyUsdt}`,children:"₮"}),"USDT"]})]}),y&&l.jsx("div",{className:pe.fieldError,children:"Сумма слишком большая и превышает 600 000 ₽"})]}),l.jsx("div",{className:pe.swapWrap,children:l.jsx("button",{type:"button",className:pe.swapBtn,onClick:z,"aria-label":"Поменять направление",children:l.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:l.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),l.jsxs("div",{className:pe.field,children:[l.jsx("div",{className:pe.fieldLabel,children:"Платите"}),l.jsxs("div",{className:pe.fieldInput,children:[l.jsx("input",{type:"text",value:F,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyRub}`,children:"₽"}),"RUB"]})]})]})]}):l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:pe.field,children:[l.jsx("div",{className:pe.fieldLabel,children:"Конвертируете"}),l.jsxs("div",{className:pe.fieldInput,children:[l.jsx("input",{type:"text",value:o,onChange:se=>w(se.target.value),placeholder:"0",inputMode:"decimal"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyRub}`,children:"₽"}),"RUB"]})]}),O&&l.jsx("div",{className:pe.fieldError,children:"Сумма слишком большая и превышает 600 000 ₽"})]}),l.jsx("div",{className:pe.swapWrap,children:l.jsx("button",{type:"button",className:pe.swapBtn,onClick:z,"aria-label":"Поменять направление",children:l.jsx("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",children:l.jsx("path",{d:"M8 2v12M4 10l4 4 4-4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})})})}),l.jsxs("div",{className:pe.field,children:[l.jsx("div",{className:pe.fieldLabel,children:"Платите"}),l.jsxs("div",{className:pe.fieldInput,children:[l.jsx("input",{type:"text",value:V,readOnly:!0,placeholder:"0"}),l.jsxs("div",{className:pe.currency,children:[l.jsx("span",{className:`${pe.currencyIcon} ${pe.currencyUsdt}`,children:"₮"}),"USDT"]})]})]})]})]}),l.jsx(VN,{amount:X,progress:A2(X),commission:ne,effectiveRate:te})]}),l.jsx("div",{className:pe.bottom,children:l.jsx(KN,{checked:s.agreed,onToggle:()=>s.setAgreed(!s.agreed)})}),l.jsx("button",{type:"button",className:pe.payBtn,onClick:ge,disabled:De,children:he?"Обработка...":"Оплатить"})]})}const yw="_page_gbj3c_1",xw="_main_gbj3c_8",Ym={page:yw,main:xw};function bw(){return l.jsxs("div",{className:Ym.page,children:[l.jsx(Ia,{}),l.jsx("main",{className:Ym.main,children:l.jsx(_w,{})}),l.jsx(Jn,{})]})}const Xm=52;function jw(s){const[c,i]=b.useState(!1),[o,d]=b.useState(Xm),[h,m]=b.useState(!1),p=b.useRef(null),g=b.useCallback(()=>{p.current&&clearInterval(p.current),d(Xm),p.current=setInterval(()=>{d(y=>y<=1?(clearInterval(p.current),i(!0),0):y-1)},1e3)},[]);b.useEffect(()=>(g(),()=>{p.current&&clearInterval(p.current)}),[g]);const v=b.useCallback(()=>{i(y=>y?(g(),!1):(p.current&&clearInterval(p.current),!0))},[g]),x=b.useCallback(()=>{navigator.clipboard.writeText(s.join(" ")).then(()=>{m(!0),setTimeout(()=>m(!1),1500)})},[s]);return{hidden:c,countdown:o,copied:h,handleHide:v,handleCopy:x}}const Sw="_content_o6p8v_1",Nw="_titleRow_o6p8v_6",ww="_title_o6p8v_6",Cw="_titleButtons_o6p8v_19",Tw="_btnFixed_o6p8v_26",Ew="_subtitle_o6p8v_34",Rw="_countdown_o6p8v_42",Aw="_seedGrid_o6p8v_47",Ow="_seedCard_o6p8v_54",Mw="_seedNum_o6p8v_73",Dw="_seedWord_o6p8v_80",zw="_seedWordHidden_o6p8v_88",Lw="_warning_o6p8v_93",Bw="_warningIcon_o6p8v_101",Uw="_warningText_o6p8v_107",kw="_profileLinkRow_o6p8v_115",Hw="_profileLink_o6p8v_115",yt={content:Sw,titleRow:Nw,title:ww,titleButtons:Cw,btnFixed:Tw,subtitle:Ew,countdown:Rw,seedGrid:Aw,seedCard:Ow,seedNum:Mw,seedWord:Dw,seedWordHidden:zw,warning:Lw,warningIcon:Bw,warningText:Uw,profileLinkRow:kw,profileLink:Hw};function qw({words:s}){const{hidden:c,countdown:i,copied:o,handleHide:d,handleCopy:h}=jw(s);return l.jsxs("div",{className:yt.content,children:[l.jsxs("div",{className:yt.titleRow,children:[l.jsx("h1",{className:yt.title,children:"СИД ФРАЗА"}),l.jsxs("div",{className:yt.titleButtons,children:[l.jsx("div",{className:yt.btnFixed,children:l.jsx(Rn,{variant:"outline",onClick:d,children:c?"ПОКАЗАТЬ":"СКРЫТЬ"})}),l.jsx("div",{className:yt.btnFixed,children:l.jsx(Rn,{variant:"outline",onClick:h,children:o?"СКОПИРОВАНО":"КОПИРОВАТЬ"})})]})]}),!c&&l.jsxs("div",{className:yt.subtitle,children:["АВТОМАТИЧЕСКОЕ СКРЫТИЕ ЧЕРЕЗ"," ",l.jsx("span",{className:yt.countdown,children:i}),"С"]}),l.jsx("div",{className:yt.seedGrid,children:s.map((m,p)=>l.jsxs("div",{className:yt.seedCard,children:[l.jsxs("span",{className:yt.seedNum,children:[p+1,"."]}),l.jsx("span",{className:`${yt.seedWord} ${c?yt.seedWordHidden:""}`,children:c?"•••••":m})]},p))}),l.jsxs("div",{className:yt.warning,children:[l.jsx("span",{className:yt.warningIcon,children:"⚠️"}),l.jsx("p",{className:yt.warningText,children:"Никогда не передавайте сид-фразу третьим лицам. Тот, кто знает фразу — владеет кошельком."})]}),l.jsx("div",{className:yt.profileLinkRow,children:l.jsx(Ht,{to:fe.PROFILE,className:yt.profileLink,children:"Перейти в профиль"})})]})}const $w="_page_1mk6w_1",Gw="_main_1mk6w_8",Vw="_glow_1mk6w_17",Z0={page:$w,main:Gw,glow:Vw};function Fw(){const{data:s,isLoading:c}=Sb(),i=s?s.split(" "):[];return l.jsxs("div",{className:Z0.page,children:[l.jsx(Ia,{}),l.jsxs("main",{className:Z0.main,children:[l.jsx("div",{className:Z0.glow}),!c&&l.jsx(qw,{words:i})]})]})}const Qw="https://app.kyc.elcsa.ru";function Yw(){return _3(!0)}async function _3(s){const c=await Pn(),i=await fetch(`${Qw}/kyc/create`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":c},body:JSON.stringify({})});if(i.status===401&&s)try{return await ai(),_3(!1)}catch{throw An.clear(),new Error("Unauthorized")}const o=await i.json();if(!i.ok)throw o;return o}function Xw(){const s=Wt({mutationFn:Yw});return{trigger:s.mutate,data:s.data,isLoading:s.isPending,isError:s.isError}}const Zw="_backdrop_1do7s_1",Kw="_modal_1do7s_12",Iw="_closeBtn_1do7s_22",Ww="_body_1do7s_40",Pw="_qrBlock_1do7s_47",Jw="_qrImage_1do7s_55",eC="_linkBtn_1do7s_63",La={backdrop:Zw,modal:Kw,closeBtn:Iw,body:Ww,qrBlock:Pw,qrImage:Jw,linkBtn:eC};function tC({data:s,onClose:c}){return l.jsx("div",{className:La.backdrop,onClick:c,children:l.jsxs("div",{className:La.modal,onClick:i=>i.stopPropagation(),children:[l.jsx("button",{className:La.closeBtn,onClick:c,type:"button",children:"×"}),l.jsx("div",{className:La.body,children:l.jsxs("div",{className:La.qrBlock,children:[l.jsx("img",{className:La.qrImage,src:s.qr_code,alt:"QR-код для верификации"}),l.jsx("a",{className:La.linkBtn,href:s.link,target:"_blank",rel:"noopener noreferrer",children:"Перейти к верификации"})]})})]})})}const nC="_card_omb8e_1",lC="_logo_omb8e_13",aC="_iconWrapper_omb8e_21",sC="_description_omb8e_34",iC="_buttonWrapper_omb8e_42",cC="_error_omb8e_47",ks={card:nC,logo:lC,iconWrapper:aC,description:sC,buttonWrapper:iC,error:cC};function rC(){const{trigger:s,data:c,isLoading:i,isError:o}=Xw(),d=Mn(),h=Ka(),{data:m}=ci({refetchInterval:c?5e3:!1});b.useEffect(()=>{m!=null&&m.kyc_verified&&d(fe.SEED_PHRASE,{replace:!0})},[m==null?void 0:m.kyc_verified,d]);const p=()=>{h.invalidateQueries({queryKey:["me"]})};return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:ks.card,children:[l.jsx("div",{className:ks.logo,children:l.jsx("img",{src:fa,alt:"ЭКСА"})}),l.jsx("div",{className:ks.iconWrapper,children:l.jsxs("svg",{width:"38",height:"38",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.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"}),l.jsx("path",{d:"M9 12l2 2 4-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),l.jsx("p",{className:ks.description,children:"Для продолжения работы необходимо пройти KYC верификацию"}),l.jsx("div",{className:ks.buttonWrapper,children:l.jsx(Xa,{label:i?"Загрузка...":"Подтвердить личность",type:"button",onClick:()=>s(),disabled:i})}),o&&l.jsx("p",{className:ks.error,children:"Произошла ошибка. Попробуй перезагрузить страницу и попробовать снова."})]}),c&&l.jsx(tC,{data:c,onClose:p})]})}const oC="_page_6lnfw_1",uC={page:oC};function dC(){const{data:s,isLoading:c}=ci();return c?null:s!=null&&s.kyc_verified?l.jsx(pc,{to:fe.PROFILE,replace:!0}):l.jsx("div",{className:uC.page,children:l.jsx(rC,{})})}const fC="_card_mzeuq_1",hC="_logo_mzeuq_10",mC="_title_mzeuq_20",pC="_fields_mzeuq_29",vC="_emailRow_mzeuq_35",gC="_error_mzeuq_41",_C="_submitWrapper_mzeuq_48",yC="_footer_mzeuq_52",xC="_back_mzeuq_58",yl={card:fC,logo:hC,title:mC,fields:pC,emailRow:vC,error:gC,submitWrapper:_C,footer:yC,back:xC};function bC(){const[s,c]=b.useState(""),[i,o]=b.useState(!1),[d,h]=b.useState(!1),[m,p]=b.useState(""),[g,v]=b.useState(""),[x,y]=b.useState(""),[N,R]=b.useState(""),[A,O]=b.useState(!1),[w,z]=b.useState(null),F=Mn();async function $(){R(""),h(!0);try{await nb({email:s}),o(!0),z({status:"success",message:`Код отправлен на ${s}`})}catch{z({status:"error",message:"Не удалось отправить письмо. Проверьте email и попробуйте снова."})}finally{h(!1)}}async function V(K){if(K.preventDefault(),R(""),g!==x){R("Пароли не совпадают");return}O(!0);try{await lb({email:s,code:m,new_password:g,confirm_password:x}),F(fe.LOGIN)}catch{R("Не удалось изменить пароль. Проверьте код и попробуйте снова.")}finally{O(!1)}}return l.jsxs(l.Fragment,{children:[l.jsxs("form",{className:yl.card,onSubmit:V,children:[l.jsx("div",{className:yl.logo,children:l.jsx("img",{src:fa,alt:"ЭКСА"})}),l.jsx("h1",{className:yl.title,children:"Восстановление пароля"}),l.jsxs("div",{className:yl.fields,children:[l.jsxs("div",{className:yl.emailRow,children:[l.jsx(jt,{label:"E-Mail",type:"email",value:s,onChange:c,placeholder:"example@mail.com",required:!0}),l.jsx(Xa,{label:d?"Отправка...":"Получить код",disabled:d||!s,type:"button",onClick:$})]}),i&&l.jsxs(l.Fragment,{children:[l.jsx(jt,{label:"Код с почты",type:"text",value:m,onChange:p,placeholder:"000 000",required:!0}),l.jsx(jt,{label:"Новый пароль",type:"password",value:g,onChange:v,placeholder:"••••••••",required:!0}),l.jsx(jt,{label:"Повторить пароль",type:"password",value:x,onChange:y,placeholder:"••••••••",required:!0})]})]}),N&&l.jsx("p",{className:yl.error,children:N}),i&&l.jsx("div",{className:yl.submitWrapper,children:l.jsx(Xa,{label:A?"Сохранение...":"Изменить пароль",disabled:A})}),l.jsx("div",{className:yl.footer,children:l.jsx("a",{className:yl.back,onClick:()=>F(fe.LOGIN),children:"Вернуться ко входу"})})]}),w&&l.jsx(Tp,{status:w.status,message:w.message,onClose:()=>z(null)})]})}const jC="_page_6lnfw_1",SC={page:jC};function NC(){return l.jsx("div",{className:SC.page,children:l.jsx(bC,{})})}const wC="_main_1fqml_1",CC="_container_1fqml_7",TC="_title_1fqml_13",EC="_subtitle_1fqml_21",RC="_section_1fqml_29",AC="_sectionTitle_1fqml_33",OC="_definitions_1fqml_42",MC="_definition_1fqml_42",DC="_requisites_1fqml_56",Se={main:wC,container:CC,title:TC,subtitle:EC,section:RC,sectionTitle:AC,definitions:OC,definition:MC,requisites:DC};function zC(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:Se.main,children:l.jsxs("div",{className:Se.container,children:[l.jsx("h1",{className:Se.title,children:"ПУБЛИЧНЫЙ ДОГОВОР ОФЕРТЫ"}),l.jsx("h2",{className:Se.subtitle,children:"ООО БИТФОРС"}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"Агентский договор"}),l.jsx("p",{children:"Настоящая оферта на заключение агентского договора (далее Оферта, Договор) является публичным предложением Общества с ограниченной ответственностью «БИТФОРС», заключить договор на условиях и в порядке, определенных настоящей Офертой."}),l.jsx("p",{children:"Акцепт оферты производится в соответствии с пунктом 2 статьи 437 Гражданского кодекса Российской Федерации и равносилен заключению агентского договора в письменной форме."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"Основные понятия и определения действующего договора"}),l.jsxs("div",{className:Se.definitions,children:[l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Агент"})," юридическое лицо или индивидуальный предприниматель, зарегистрированный на территории Российской Федерации, в установленном действующим законодательством порядке."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Принципал"})," сторона агентского договора, по поручению которой агент осуществляет юридические и иные действия от своего имени, но за счет принципала либо от имени и за счет принципала."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Агентский договор"})," соглашение, по которому агент обязуется за вознаграждение совершать по поручению принципала юридические и иные действия от своего имени, но за счет принципала либо от имени и за счет принципала в соответствии с п. 1 ст. 1005 Гражданского Кодекса Российской Федерации."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Личный кабинета Агента"})," ресурс, размещенный на сайте Принципала, предназначенный для взаимодействия Агента и Принципала."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Отчетный период"})," период для взаиморасчетов с Агентом, равный одному календарному кварталу с даты активации любой из услуг, предоставляемой Принципалу."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Отчет о сумме начислений (Отчет)"})," отчет, формируемый в Личном кабинете Агента на основании данных систем учета Принципала."]}),l.jsxs("div",{className:Se.definition,children:[l.jsx("strong",{children:"Оферта (Договор)"})," настоящий документ, который отражает предложение и намерение ООО «БИТФОРС» считать заключенным договор с лицом, которым будет принято предложение на условиях, изложенных ниже."]})]})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"1. Акцепт оферты и заключение агентского договора"}),l.jsx("p",{children:"Акцепт настоящей Оферты и заключение Агентского договора осуществляется Принципалом в процессе регистрации в Личном кабинете Принципала (на сайте Агента), при прочтении текста настоящей Оферты, путем проставления специальной отметки (галочки) напротив фразы «Я ознакомился с Офертой и принимаю ее условия» и нажатия кнопки «Подписать»."}),l.jsx("p",{children:"Особый порядок принятия условий Оферты путем проставления специальной отметки (галочки) определяется интерфейсом Личного кабинета Принципала. Принципал не может зарегистрироваться в Личном кабинете и получить к нему доступ без подтверждения принятия условий Оферты."}),l.jsx("p",{children:"Принимая Оферту, Принципал подтверждает, что прочел и полностью согласен с документами, размещенными на сайте в разделе, предназначенном для Принципала, которые являются неотъемлемой частью настоящей Оферты (Договора) и обязательны для исполнения Сторонами."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"2. Общие положения"}),l.jsx("p",{children:"Публикуемые на сайте Агента документы (формы, требования, правила и т.п.), устанавливающие порядок и условия выполнения действий, предусмотренных настоящим Договором, являются неотъемлемой частью настоящего Договора и обязательны для исполнения Сторонами. Принципал обязан использовать формы документов, утвержденных Агентом, и не вправе вносить в них какие-либо изменения или дополнения."}),l.jsx("p",{children:"Агент обязуется уведомлять Принципала обо всех изменениях в документах, связанных с исполнением настоящего Договора, путем направления электронных сообщений (через Личный кабинет или на электронную почту Принципала) или размещением уведомлений об изменениях на сайте Агентов в разделе, предназначенном для размещения объявлений."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"3. Предмет договора"}),l.jsx("p",{children:"По настоящему Договору Принципал поручает, а Агент принимает на себя обязательство совершать от имени и за счет Принципала указанные действия, а Принципал обязуется выплатить Агенту вознаграждение за совершенные действия."}),l.jsx("p",{children:"По настоящему Договору Агент совершает следующие действия:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"Консультирование Принципала об услугах Агента, включая, помимо прочего, порядок активации и оказания услуг, работу в Личном кабинете Принципала и иные дополнительные услуги, оказываемые Агентом;"}),l.jsx("li",{children:"Совершение сделок и иных юридических действий Агентом от своего имени, но за счёт Принципала."})]}),l.jsx("p",{children:"Настоящий Договор действует на территории Российской Федерации и иного иностранного государства."}),l.jsx("p",{children:"Права и обязанности по сделкам, совершенным Агентом во исполнение настоящего Договора, возникают непосредственно у Принципала."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"4. Права и обязанности сторон"}),l.jsx("p",{children:"Агент обязуется совершать действия, составляющие предмет настоящего Договора, в соответствии с законными интересами Принципала, сообщать Принципалу по его требованию все сведения о ходе исполнения настоящего Договора, передавать Принципалу в течение 7 рабочих дней имущество, полученное по сделкам."}),l.jsx("p",{children:"Агент несет ответственность за сохранность документов и персональных данных, переданных ему Принципалом для исполнения настоящего Договора."}),l.jsx("p",{children:"Принципал обязан без промедления принять отчет Агента, все предоставленные им документы, обеспечить Агента документами и материалами, необходимыми для выполнения настоящего Договора, возместить Агенту понесенные расходы и выплатить обусловленное Договором агентское вознаграждение."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"5. Агентское вознаграждение и порядок оплаты"}),l.jsx("p",{children:"Сумма вознаграждения Агента по настоящему Договору составляет:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"8% от 5 000 до 30 000 рублей"}),l.jsx("li",{children:"6% от 30 000 до 100 000 рублей"}),l.jsx("li",{children:"4% от 100 000 до 600 000 рублей"})]}),l.jsx("p",{children:"Вознаграждение выплачивается Агенту с момента подписания настоящего Договора об исполнении поручения Агентом от своего имени, но за счет Принципала."}),l.jsx("p",{children:"Принципал возмещает следующие расходы Агента в сумме не более 30 000 рублей на оплату банковских услуг и иных комиссий."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"6. Ответственность сторон"}),l.jsx("p",{children:"В случае нарушения Агентом сроков, установленных Договором для передачи Принципалу полученного имущества, Принципал вправе предъявить требование об уплате неустойки в размере 0,1% от непереданной суммы за каждый день просрочки."}),l.jsx("p",{children:"В случае нарушения Принципалом сроков уплаты вознаграждения или возмещения расходов, Агент вправе предъявить требование об уплате неустойки в размере 0,1% от не уплаченной в срок суммы за каждый день просрочки."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"7. Форс-мажор"}),l.jsx("p",{children:"Стороны освобождаются от ответственности за частичное или полное неисполнение обязательств по настоящему Договору, если это неисполнение явилось следствием возникших после заключения настоящего Договора обстоятельств непреодолимой силы."}),l.jsx("p",{children:"При наступлении форс-мажорных обстоятельств каждая Сторона должна без промедления известить о них в письменном виде другую Сторону с указанием характера обстоятельств и их влияния на исполнение обязательств."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"8. Конфиденциальность"}),l.jsx("p",{children:"Стороны принимают все необходимые меры для того, чтобы их сотрудники, агенты, правопреемники без предварительного согласия другой Стороны не информировали третьих лиц о конфиденциальной информации и персональных данных Сторон настоящего Договора."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"9. Изменение и прекращение договора"}),l.jsx("p",{children:"Настоящий договор вступает в силу с момента его подписания и действует до момента исполнения сторонами своих обязательств по настоящему договору."}),l.jsx("p",{children:"Настоящий Договор может быть изменен или прекращен по письменному соглашению Сторон, а также в других случаях, предусмотренных законодательством Российской Федерации."}),l.jsx("p",{children:"Принципал вправе в любое время отказаться от исполнения настоящего Договора путем направления письменного уведомления Агенту за 3 рабочих дня."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"10. Заключительные положения"}),l.jsx("p",{children:"Ни одна из сторон не вправе передавать свои права и обязанности по настоящему договору третьим лицам без согласия другой стороны."}),l.jsx("p",{children:"Сообщения Стороны могут направлять по факсу, электронной почте или другим способом связи при условии, что он позволяет достоверно установить, от кого исходило сообщение и кому оно адресовано."}),l.jsx("p",{children:"Споры, вытекающие из настоящего Договора, разрешаются в досудебном порядке. При неурегулировании возникших разногласий спор разрешается в Арбитражном суде г. Санкт–Петербурга и Ленинградской области с обязательным соблюдением претензионного порядка."})]}),l.jsxs("section",{className:Se.section,children:[l.jsx("h3",{className:Se.sectionTitle,children:"Реквизиты сторон"}),l.jsxs("div",{className:Se.requisites,children:[l.jsx("p",{children:"Общество с ограниченной ответственностью «БИТФОРС»"}),l.jsx("p",{children:"196246, г. Санкт-Петербург, Московский р-н, Московское шоссе, д.25к1 литера в, помещ. 3-Н"}),l.jsx("p",{children:"ИНН / КПП: 9810001062 / 781001001"}),l.jsx("p",{children:"ОГРН: 1257800060990"}),l.jsx("p",{children:"ОКПО / ОКАТО / ОКТМО: 68342261 / 40284000000 / 40377000000"}),l.jsx("p",{children:"Руководитель: Кленин Михаил Васильевич"}),l.jsx("p",{children:"Электронная почта: company@bitforcefoundation.ru"}),l.jsx("p",{children:'Наименование банка: ФИЛИАЛ "САНКТ-ПЕТЕРБУРГСКИЙ" АО "АЛЬФА-БАНК"'}),l.jsx("p",{children:"Корреспондентский счет: 30101810600000000786"}),l.jsx("p",{children:"БИК: 044030786"}),l.jsx("p",{children:"Расчетный счет: 40702810632250004861"})]})]})]})}),l.jsx(Jn,{})]})}const LC="_main_14e6d_1",BC="_container_14e6d_7",UC="_title_14e6d_13",kC="_subtitle_14e6d_21",HC="_section_14e6d_29",qC="_sectionTitle_14e6d_33",$C="_subSectionTitle_14e6d_42",GC="_definitions_14e6d_50",VC="_definition_14e6d_50",FC="_list_14e6d_64",QC="_goalsList_14e6d_75",YC="_goal_14e6d_75",XC="_contacts_14e6d_105",Y={main:LC,container:BC,title:UC,subtitle:kC,section:HC,sectionTitle:qC,subSectionTitle:$C,definitions:GC,definition:VC,list:FC,goalsList:QC,goal:YC,contacts:XC};function ZC(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:Y.main,children:l.jsxs("div",{className:Y.container,children:[l.jsx("h1",{className:Y.title,children:"ПОЛИТИКА ОБРАБОТКИ ПЕРСОНАЛЬНЫХ ДАННЫХ"}),l.jsx("h2",{className:Y.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"1. Общие положения"}),l.jsx("p",{children:"Настоящая Политика обработки персональных данных разработана в соответствии с Федеральным законом от 27.07.2006 № 152-ФЗ «О персональных данных» и определяет порядок обработки персональных данных и меры по обеспечению безопасности персональных данных, предпринимаемые ООО «БИТФОРС»."}),l.jsx("p",{children:"Оператор ставит своей важнейшей целью и условием осуществления своей деятельности соблюдение прав и свобод человека и гражданина при обработке его персональных данных, в том числе защиты права на неприкосновенность частной жизни, личную и семейную тайну."}),l.jsx("p",{children:"Настоящая Политика действует в отношении всех персональных данных, которые обрабатываются Оператором с использованием средств автоматизации и без использования таких средств."}),l.jsx("h4",{className:Y.subSectionTitle,children:"1.4. Основные понятия"}),l.jsxs("div",{className:Y.definitions,children:[l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Автоматизированная обработка персональных данных"})," — обработка персональных данных с помощью средств вычислительной техники."]}),l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Обработка персональных данных"})," — любое действие или совокупность действий, совершаемых с использованием средств автоматизации или без использования таких средств с персональными данными, включая сбор, запись, систематизацию, накопление, хранение, уточнение, извлечение, использование, передачу, обезличивание, блокирование, удаление, уничтожение."]}),l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Оператор"})," — юридическое или физическое лицо, организующие и осуществляющие обработку персональных данных."]}),l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Персональные данные"})," — любая информация, относящаяся к прямо или косвенно определенному или определяемому физическому лицу."]}),l.jsxs("div",{className:Y.definition,children:[l.jsx("strong",{children:"Пользователь"})," — любой посетитель веб-сайта https://bitforce-foundation.ru."]})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"2. Сведения об операторе"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Полное наименование: Общество с ограниченной ответственностью «БИТФОРС»"}),l.jsx("li",{children:"Сокращенное наименование: ООО «БИТФОРС»"}),l.jsx("li",{children:"ИНН: 9810001062"}),l.jsx("li",{children:"ОГРН: 1257800060990"}),l.jsx("li",{children:"Юридический адрес: 196246, город Санкт-Петербург, Московское шоссе, дом 25, корпус 1, литера В, помещение 3-н"}),l.jsx("li",{children:"Электронная почта: company@bitforcefoundation.ru"}),l.jsx("li",{children:"Веб-сайт: https://bitforce-foundation.ru"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"3. Общие цели обработки персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"3.1.1. Основная деятельность:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Предоставление услуг по конвертации иного имущества"}),l.jsx("li",{children:"Осуществление операций на криптовалютных рынках"}),l.jsx("li",{children:"Предоставление услуг в области блокчейн технологий"}),l.jsx("li",{children:"Обеспечение функционирования интернет-платформы и мобильных приложений"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"3.1.2. Обеспечение безопасности:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Предотвращение мошенничества и отмывания денежных средств"}),l.jsx("li",{children:"Обеспечение безопасности платежных операций"}),l.jsx("li",{children:"Выполнение требований по противодействию легализации доходов"}),l.jsx("li",{children:"Идентификация и верификация клиентов"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"3.1.3. Соблюдение законодательства:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Исполнение требований российского и международного законодательства"}),l.jsx("li",{children:"Взаимодействие с контролирующими и правоохранительными органами"}),l.jsx("li",{children:"Ведение обязательной отчетности и документооборота"}),l.jsx("li",{children:"Соблюдение налогового законодательства"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"4. Цели сбора персональных данных"}),l.jsxs("div",{className:Y.goalsList,children:[l.jsxs("div",{className:Y.goal,children:[l.jsx("strong",{children:"Регистрация и идентификация пользователей:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"Создание учетной записи на веб-сайте"}),l.jsx("li",{children:"Верификация личности в соответствии с требованиями законодательства"}),l.jsx("li",{children:"Подтверждение права на осуществление операций"})]})]}),l.jsxs("div",{className:Y.goal,children:[l.jsx("strong",{children:"Обработка платежей и финансовых операций:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"Осуществление операций по конвертации криптовалют"}),l.jsx("li",{children:"Проведение расчетов и переводов денежных средств"}),l.jsx("li",{children:"Ведение учета и истории транзакций"})]})]}),l.jsxs("div",{className:Y.goal,children:[l.jsx("strong",{children:"Коммуникация с клиентами:"}),l.jsxs("ul",{children:[l.jsx("li",{children:"Предоставление технической поддержки"}),l.jsx("li",{children:"Уведомления о состоянии операций и счетов"}),l.jsx("li",{children:"Информирование об изменениях в условиях предоставления услуг"})]})]})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"5. Правовые основания обработки персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"5.1.1. Согласие субъекта персональных данных:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Обработка персональных данных в маркетинговых целях"}),l.jsx("li",{children:"Использование файлов cookie и метрик"}),l.jsx("li",{children:"Персонализация сервисов и предложений"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"5.1.2. Необходимость исполнения договора:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Регистрация и ведение учетных записей пользователей"}),l.jsx("li",{children:"Осуществление финансовых операций и переводов"}),l.jsx("li",{children:"Предоставление доступа к платформе и сервисам"}),l.jsx("li",{children:"Техническая поддержка и обслуживание клиентов"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"5.1.3. Соблюдение правовой обязанности:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Выполнение требований валютного законодательства"}),l.jsx("li",{children:"Противодействие легализации доходов, полученных преступным путем"}),l.jsx("li",{children:"Соблюдение требований по налоговому учету и отчетности"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"6. Объем и категории обрабатываемых персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.1.1. Пользователи веб-сайта и мобильного приложения:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Зарегистрированные пользователи"}),l.jsx("li",{children:"Посетители сайта без регистрации"}),l.jsx("li",{children:"Потенциальные клиенты"}),l.jsx("li",{children:"Бывшие клиенты"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.2.1. Идентификационные данные:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Фамилия, имя, отчество"}),l.jsx("li",{children:"Дата рождения"}),l.jsx("li",{children:"Гражданство"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.2.3. Контактная информация:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Номера телефонов (мобильный, домашний, рабочий)"}),l.jsx("li",{children:"Адреса электронной почты"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.2.4. Финансовая информация:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Номера банковских счетов и карт"}),l.jsx("li",{children:"Реквизиты кошельков криптовалют"}),l.jsx("li",{children:"История операций и транзакций"}),l.jsx("li",{children:"Данные о доходах и источниках средств"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"6.2.5. Техническая информация:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"IP-адреса устройств"}),l.jsx("li",{children:"Данные о браузере и операционной системе"}),l.jsx("li",{children:"Файлы cookie и локальное хранилище"}),l.jsx("li",{children:"Логи действий на сайте"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"7. Порядок и условия обработки персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"7.1. Принципы обработки персональных данных:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Обработка осуществляется на законной и справедливой основе"}),l.jsx("li",{children:"Обработка ограничивается достижением конкретных, заранее определенных целей"}),l.jsx("li",{children:"Содержание и объем данных соответствуют заявленным целям"}),l.jsx("li",{children:"Обрабатываемые персональные данные являются точными и актуальными"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"7.4. Сроки обработки персональных данных:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Персональные данные обрабатываются в течение времени, необходимого для достижения целей"}),l.jsx("li",{children:"После достижения целей персональные данные подлежат уничтожению или обезличиванию"}),l.jsx("li",{children:"Сроки хранения определяются требованиями законодательства"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"7.5. Места обработки персональных данных:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Основные серверы и хранилища данных расположены на территории Российской Федерации"}),l.jsx("li",{children:"Резервные копии могут храниться в дата-центрах на территории РФ"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"8. Актуализация, исправление, удаление и уничтожение персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"8.2.2. Процедура исправления:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Рассмотрение запроса в течение 30 дней"}),l.jsx("li",{children:"Проверка обоснованности требования об исправлении"}),l.jsx("li",{children:"Внесение изменений во все информационные системы"}),l.jsx("li",{children:"Уведомление субъекта о проведенных исправлениях"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"8.3.2. Процедура удаления:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Проверка наличия законных оснований для продолжения обработки"}),l.jsx("li",{children:"Удаление из всех информационных систем и баз данных"}),l.jsx("li",{children:"Удаление резервных копий (кроме архивных)"}),l.jsx("li",{children:"Уведомление субъекта о выполненном удалении"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"9. Ответы на запросы субъектов персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"9.1.1. Право на информацию:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Подтверждение факта обработки персональных данных"}),l.jsx("li",{children:"Правовые основания и цели обработки"}),l.jsx("li",{children:"Применяемые способы обработки"}),l.jsx("li",{children:"Наименование и местонахождение оператора"}),l.jsx("li",{children:"Лица, имеющие доступ к персональным данным"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"9.2.2. Сроки рассмотрения:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Срок рассмотрения запроса составляет 30 дней с момента получения"}),l.jsx("li",{children:"Срок может быть продлен на 30 дней при большом объеме информации"}),l.jsx("li",{children:"О продлении срока субъект уведомляется в течение 30 дней"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"9.4. Плата за предоставление информации:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Первый запрос в течение года обрабатывается бесплатно"}),l.jsx("li",{children:"За повторные запросы может взиматься плата в размере расходов"}),l.jsx("li",{children:"Субъект уведомляется о размере платы до предоставления информации"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"10. Обеспечение безопасности персональных данных"}),l.jsx("h4",{className:Y.subSectionTitle,children:"10.1. Правовые меры:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Назначение ответственного за организацию обработки персональных данных"}),l.jsx("li",{children:"Принятие локальных актов по вопросам обработки персональных данных"}),l.jsx("li",{children:"Ознакомление работников с требованиями законодательства"}),l.jsx("li",{children:"Применение мер ответственности за нарушение требований"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"10.3. Технические меры:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Предотвращение несанкционированного доступа к персональным данным"}),l.jsx("li",{children:"Своевременное обнаружение фактов несанкционированного доступа"}),l.jsx("li",{children:"Возможность незамедлительного восстановления персональных данных"}),l.jsx("li",{children:"Постоянный контроль за обеспечением уровня защищенности"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"10.4. Конкретные технические решения:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Использование сертифицированных средств защиты информации"}),l.jsx("li",{children:"Шифрование персональных данных при передаче и хранении"}),l.jsx("li",{children:"Применение межсетевых экранов и систем обнаружения вторжений"}),l.jsx("li",{children:"Резервное копирование и обеспечение отказоустойчивости"}),l.jsx("li",{children:"Антивирусная защита и обновление программного обеспечения"})]})]}),l.jsxs("section",{className:Y.section,children:[l.jsx("h3",{className:Y.sectionTitle,children:"12. Заключительные положения"}),l.jsx("h4",{className:Y.subSectionTitle,children:"12.2. Жалобы и обращения:"}),l.jsxs("ul",{className:Y.list,children:[l.jsx("li",{children:"Субъекты персональных данных могут обратиться к Оператору по вопросам обработки"}),l.jsx("li",{children:"Жалобы рассматриваются в установленном законом порядке"}),l.jsx("li",{children:"При неурегулировании разногласий возможно обращение в Роскомнадзор или суд"})]}),l.jsx("h4",{className:Y.subSectionTitle,children:"12.4. Контактная информация для обращений:"}),l.jsxs("p",{className:Y.contacts,children:["Почтовый адрес: 196246, г. Санкт-Петербург, Московское ш., д. 25, к. 1, лит. В, пом. 3-н",l.jsx("br",{}),"Электронная почта: company@bitforcefoundation.ru"]})]})]})}),l.jsx(Jn,{})]})}const KC="_main_iq2qw_1",IC="_container_iq2qw_7",WC="_title_iq2qw_13",PC="_section_iq2qw_21",JC="_sectionTitle_iq2qw_25",eT="_subSectionTitle_iq2qw_34",tT="_list_iq2qw_42",nT="_info_iq2qw_57",lT="_example_iq2qw_71",aT="_warning_iq2qw_81",P={main:KC,container:IC,title:WC,section:PC,sectionTitle:JC,subSectionTitle:eT,list:tT,info:nT,example:lT,warning:aT};function sT(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:P.main,children:l.jsxs("div",{className:P.container,children:[l.jsx("h1",{className:P.title,children:"ПОЛИТИКА ИСПОЛЬЗОВАНИЯ ФАЙЛОВ COOKIE"}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Общие положения и терминология"}),l.jsx("p",{children:"Настоящая Политика использования файлов cookie устанавливает порядок обработки файлов cookie и содержащихся в них персональных данных ООО «БИТФОРС» при использовании пользователями интернет-ресурса https://bitforce-foundation.ru."}),l.jsx("p",{children:"Файлы cookie — это текстовые файлы небольшого размера, которые устанавливаются на пользовательское устройство при посещении интернет-ресурса или совершении на нем определенных действий. Файлы cookie остаются сохраненными на устройстве даже после покидания ресурса, что позволяет «узнавать» пользователя при последующих посещениях."}),l.jsx("p",{children:"К персональным данным относится не сам файл cookie, а его содержимое — уникальные идентификаторы, IP-адреса, информация о предпочтениях пользователя и другие данные, позволяющие прямо или косвенно идентифицировать физическое лицо."})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Оператор персональных данных"}),l.jsx("p",{children:"Оператором персональных данных, содержащихся в файлах cookie, является:"}),l.jsxs("div",{className:P.info,children:[l.jsx("p",{children:"ООО «БИТФОРС»"}),l.jsx("p",{children:"ИНН: 9810001062"}),l.jsx("p",{children:"ОГРН: 1257800060990"}),l.jsx("p",{children:"Юридический адрес: 196246, город Санкт-Петербург, Московское ш, д. 25 к. 1 литера В, помещ. 3-н"})]}),l.jsx("p",{children:"Оператор определяет цели обработки персональных данных, их состав, а также действия с персональными данными, включая случаи использования сторонних файлов cookie."})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Категории файлов cookie и их назначение"}),l.jsx("h4",{className:P.subSectionTitle,children:"1. Строго необходимые (технические) файлы cookie"}),l.jsx("p",{children:"Данные файлы обеспечивают работу интернет-ресурса и предоставление необходимого уровня сервиса: авторизацию, навигацию, отображение контента в соответствии с параметрами устройства, обеспечение безопасности."}),l.jsx("p",{children:"Обработка таких файлов cookie осуществляется на основании п. 5 ч. 1 ст. 6 ФЗ № 152 (заключение и исполнение договора). Согласие на использование строго необходимых файлов cookie не требуется."}),l.jsx("p",{className:P.example,children:"Примеры: файлы сессий (PHPSESSID), настройки безопасности, файлы аутентификации."}),l.jsx("h4",{className:P.subSectionTitle,children:"2. Функциональные файлы cookie"}),l.jsx("p",{children:"Используются для запоминания пользовательских предпочтений и персонализации взаимодействия с сайтом: сохранение выбранного языка, региона, настроек отображения, размера шрифта."}),l.jsx("p",{children:"Обработка осуществляется на основании согласия субъекта персональных данных, поскольку данная обработка не является строго необходимой для функционирования сайта."}),l.jsx("p",{className:P.example,children:"Примеры: настройки языка интерфейса, предпочтения отображения, настройки доступности."}),l.jsx("h4",{className:P.subSectionTitle,children:"3. Аналитические файлы cookie"}),l.jsx("p",{children:"Собирают информацию о взаимодействии пользователей с интернет-ресурсом для анализа его использования, выявления популярных разделов, обнаружения ошибок и улучшения пользовательского опыта. Могут содержать персональные данные, включая IP-адреса пользователей."}),l.jsx("p",{children:"Обработка осуществляется на основании согласия субъекта персональных данных."}),l.jsx("h4",{className:P.subSectionTitle,children:"4. Маркетинговые файлы cookie"}),l.jsx("p",{children:"Используются для отслеживания пользователей в целях персонализированной рекламы, анализа эффективности рекламных кампаний, ретаргетинга."}),l.jsx("p",{children:"Обработка осуществляется исключительно на основании согласия субъекта персональных данных."}),l.jsx("p",{className:P.example,children:"Примеры: пиксели социальных сетей, рекламные идентификаторы, файлы ретаргетинга."})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Правовые основания обработки персональных данных"}),l.jsx("p",{children:"Обработка персональных данных, содержащихся в файлах cookie, осуществляется на следующих правовых основаниях:"}),l.jsxs("ul",{className:P.list,children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Согласие субъекта персональных данных"})," — для функциональных, аналитических и маркетинговых файлов cookie"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Заключение и исполнение договора"})," — для строго необходимых файлов cookie, обеспечивающих работу интернет-ресурса"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Законные интересы оператора"})," — в исключительных случаях, когда отсутствуют иные основания"]})]})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Порядок получения согласия"}),l.jsx("h4",{className:P.subSectionTitle,children:"Принципы получения согласия:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Согласие должно быть получено до начала обработки персональных данных"}),l.jsx("li",{children:"Информация об использовании файлов cookie размещается на первом уровне интернет-ресурса"}),l.jsx("li",{children:"Предоставляется возможность выбора категорий файлов cookie"}),l.jsx("li",{children:"Используются активные формулировки вместо пассивных"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Критерии действительного согласия:"}),l.jsxs("ul",{className:P.list,children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Добровольность"})," — согласие дается по свободной воле субъекта"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Конкретность"})," — четко определены цели обработки"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Информированность"})," — предоставлена полная информация об обработке"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Однозначность"})," — согласие выражено в недвусмысленной форме"]})]})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Сторонние файлы cookie"}),l.jsx("h4",{className:P.subSectionTitle,children:"Использование сторонних сервисов:"}),l.jsx("p",{children:"Наш интернет-ресурс использует файлы cookie сторонних сервисов, включая:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Яндекс.Метрика (ООО «ЯНДЕКС», Россия)"}),l.jsx("li",{children:"Социальные сети и сервисы интеграции"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Обеспечение защиты:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Получено согласие на передачу"}),l.jsx("li",{children:"Применяются дополнительные меры защиты данных"}),l.jsx("li",{children:"Контролируется соблюдение принципов обработки персональных данных получателями"})]})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Сроки обработки и хранения"}),l.jsx("h4",{className:P.subSectionTitle,children:"Категории по срокам хранения:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Сеансовые cookie — удаляются автоматически при закрытии браузера"}),l.jsx("li",{children:"Постоянные cookie — хранятся установленный период или до удаления пользователем"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Конкретные сроки:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Необходимые файлы cookie — до 12 месяцев"}),l.jsx("li",{children:"Функциональные файлы cookie — до 12 месяцев"}),l.jsx("li",{children:"Аналитические файлы cookie — до 24 месяцев"}),l.jsx("li",{children:"Маркетинговые файлы cookie — до 24 месяцев"})]}),l.jsx("p",{children:"По истечении установленных сроков файлы cookie удаляются автоматически. Пользователь может удалить файлы cookie досрочно через настройки браузера или отозвать согласие на их обработку."})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Права субъектов персональных данных"}),l.jsx("h4",{className:P.subSectionTitle,children:"Право на информацию:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Получение информации о обработке персональных данных"}),l.jsx("li",{children:"Сведения о правовых основаниях и целях обработки"}),l.jsx("li",{children:"Информация о сроках обработки и составе данных"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Право на доступ:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Получение подтверждения факта обработки"}),l.jsx("li",{children:"Ознакомление с обрабатываемыми персональными данными"}),l.jsx("li",{children:"Получение информации об источниках персональных данных"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Право на уточнение, блокирование, удаление:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Требование уточнения неточных данных"}),l.jsx("li",{children:"Блокирование недостоверных данных"}),l.jsx("li",{children:"Удаление незаконно полученных данных"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Право на отзыв согласия:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Отзыв согласия в любое время"}),l.jsx("li",{children:"Прекращение обработки после отзыва согласия"}),l.jsx("li",{children:"Сохранение права на обжалование действий оператора"})]})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Способы управления файлами cookie"}),l.jsx("h4",{className:P.subSectionTitle,children:"Управление через настройки сайта:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Использование баннера согласия на файлы cookie"}),l.jsx("li",{children:"Изменение настроек в любое время через интерфейс сайта"}),l.jsx("li",{children:"Отзыв согласия на использование отдельных категорий файлов cookie"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Управление через браузер:"}),l.jsx("p",{children:"Большинство браузеров позволяют контролировать файлы cookie:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Блокировка — запрет установки новых файлов cookie"}),l.jsx("li",{children:"Удаление — очистка существующих файлов cookie"}),l.jsx("li",{children:"Уведомления — получение предупреждений при установке файлов cookie"}),l.jsx("li",{children:"Селективная настройка — разрешение файлов cookie только для определенных сайтов"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Инструкции для популярных браузеров:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Google Chrome: Настройки → Конфиденциальность и безопасность → Файлы cookie"}),l.jsx("li",{children:"Mozilla Firefox: Настройки → Приватность и Защита → Файлы cookie"}),l.jsx("li",{children:"Safari: Настройки → Конфиденциальность → Файлы cookie"}),l.jsx("li",{children:"Microsoft Edge: Настройки → Файлы cookie и разрешения сайтов"})]}),l.jsx("p",{className:P.warning,children:"Блокировка необходимых файлов cookie может привести к ограничению функциональности интернет-ресурса."})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Меры безопасности"}),l.jsx("p",{children:"Оператор применяет правовые, организационные и технические меры для защиты персональных данных:"}),l.jsx("h4",{className:P.subSectionTitle,children:"Правовые меры:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Назначение ответственного за организацию обработки персональных данных"}),l.jsx("li",{children:"Ознакомление сотрудников с требованиями законодательства"}),l.jsx("li",{children:"Заключение соглашений о неразглашении персональных данных"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Организационные меры:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Определение перечня лиц, допущенных к обработке персональных данных"}),l.jsx("li",{children:"Установление правил доступа к персональным данным"}),l.jsx("li",{children:"Контроль за соблюдением требований по защите персональных данных"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Технические меры:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Использование средств защиты информации"}),l.jsx("li",{children:"Применение криптографических средств защиты"}),l.jsx("li",{children:"Обеспечение целостности и доступности персональных данных"}),l.jsx("li",{children:"Регулярное обновление систем защиты информации"})]})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Контактная информация и обращения"}),l.jsx("p",{children:"Для реализации прав субъекта персональных данных обращайтесь к нам:"}),l.jsxs("div",{className:P.info,children:[l.jsx("p",{children:"ООО «БИТФОРС»"}),l.jsx("p",{children:"ИНН: 9810001062"}),l.jsx("p",{children:"ОГРН: 1257800060990"}),l.jsx("p",{children:"Юридический адрес: 196246, город Санкт-Петербург, Московское ш, д. 25 к. 1 литера В, помещ. 3-н"}),l.jsx("p",{children:"Email компании: company@bitforcefoundation.ru"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"Порядок рассмотрения обращений:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Срок рассмотрения обращений — до 30 дней с момента получения"}),l.jsx("li",{children:"Обращения рассматриваются в письменной форме"}),l.jsx("li",{children:"Ответ направляется способом, указанным в обращении"}),l.jsx("li",{children:"При отказе в удовлетворении требований указываются мотивированные основания"})]})]})]})}),l.jsx(Jn,{})]})}const iT="_main_9j8kd_1",cT="_container_9j8kd_7",rT="_title_9j8kd_13",oT="_subtitle_9j8kd_21",uT="_section_9j8kd_29",dT="_sectionTitle_9j8kd_33",fT="_subSectionTitle_9j8kd_42",hT="_list_9j8kd_50",mT="_info_9j8kd_65",pT="_contacts_9j8kd_79",vT="_confirmation_9j8kd_92",Z={main:iT,container:cT,title:rT,subtitle:oT,section:uT,sectionTitle:dT,subSectionTitle:fT,list:hT,info:mT,contacts:pT,confirmation:vT};function gT(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:Z.main,children:l.jsxs("div",{className:Z.container,children:[l.jsx("h1",{className:Z.title,children:"СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ"}),l.jsx("h2",{className:Z.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"Преамбула"}),l.jsx("p",{children:"Я, субъект персональных данных, действуя своей волей и в своем интересе, в соответствии с требованиями Федерального закона от 27.07.2006 № 152-ФЗ «О персональных данных», предоставляю ООО «БИТФОРС» согласие на обработку моих персональных данных на условиях и для целей, определенных настоящим Согласием."})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"1. Сведения об операторе"}),l.jsxs("div",{className:Z.info,children:[l.jsx("p",{children:"Полное наименование: Общество с ограниченной ответственностью «БИТФОРС»"}),l.jsx("p",{children:"ИНН: 9810001062"}),l.jsx("p",{children:"ОГРН: 1257800060990"}),l.jsx("p",{children:"Юридический адрес: 196246, город Санкт-Петербург, Московское шоссе, дом 25, корпус 1, литера В, помещение 3-н"}),l.jsx("p",{children:"Электронная почта: company@bitforcefoundation.ru"}),l.jsx("p",{children:"Веб-сайт: https://bitforce-foundation.ru"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"2. Правовые основания обработки"}),l.jsx("p",{children:"Настоящее согласие предоставляется на основании пункта 1 части 1 статьи 6 Федерального закона «О персональных данных» и является правовым основанием для обработки персональных данных Оператором."}),l.jsx("p",{children:"Согласие дается добровольно, своей волей и в своих интересах."}),l.jsx("p",{children:"Субъект персональных данных понимает последствия предоставления согласия, включая возможные риски, связанные с обработкой персональных данных."})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"3. Цели обработки персональных данных"}),l.jsx("h4",{className:Z.subSectionTitle,children:"3.1. Основные цели:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Регистрация и ведение учетной записи на веб-сайте и в мобильном приложении"}),l.jsx("li",{children:"Идентификация и верификация личности в соответствии с требованиями законодательства"}),l.jsx("li",{children:"Предоставление услуг по обмену криптовалют и электронных денежных средств"}),l.jsx("li",{children:"Проведение финансовых операций, переводов и расчетов"}),l.jsx("li",{children:"Ведение учета и истории операций"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"3.2. Дополнительные цели:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Обеспечение безопасности операций и предотвращение мошенничества"}),l.jsx("li",{children:"Выполнение требований по противодействию легализации доходов"}),l.jsx("li",{children:"Соблюдение требований валютного, налогового и иного применимого законодательства"}),l.jsx("li",{children:"Предоставление технической поддержки и клиентского сервиса"}),l.jsx("li",{children:"Рассылка уведомлений о состоянии операций и изменениях в условиях"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"3.3. Маркетинговые цели (при дополнительном согласии):"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Направление информационных и рекламных материалов"}),l.jsx("li",{children:"Проведение маркетинговых исследований и опросов"}),l.jsx("li",{children:"Персонализация предложений и услуг"}),l.jsx("li",{children:"Анализ предпочтений и поведения для улучшения сервисов"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"3.4. Аналитические цели:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Анализ использования веб-сайта и мобильного приложения"}),l.jsx("li",{children:"Улучшение качества предоставляемых услуг"}),l.jsx("li",{children:"Разработка новых продуктов и сервисов"}),l.jsx("li",{children:"Создание статистических отчетов в обезличенном виде"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"4. Перечень персональных данных"}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.1. Идентификационные данные:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Фамилия, имя, отчество"}),l.jsx("li",{children:"Дата рождения"}),l.jsx("li",{children:"Гражданство"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.2. Документы, удостоверяющие личность:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Серия и номер паспорта гражданина Российской Федерации"}),l.jsx("li",{children:"Дата выдачи и код подразделения"}),l.jsx("li",{children:"Адрес регистрации по месту жительства"}),l.jsx("li",{children:"Цифровые копии (сканы) документов"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.3. Контактная информация:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Номера телефонов (мобильный, домашний, рабочий)"}),l.jsx("li",{children:"Адреса электронной почты"}),l.jsx("li",{children:"Почтовые адреса (фактического проживания, для корреспонденции)"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.4. Финансовая информация:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Номера банковских счетов и реквизиты банковских карт"}),l.jsx("li",{children:"Реквизиты криптовалютных кошельков и адресов"}),l.jsx("li",{children:"Информация о доходах и источниках происхождения денежных средств"}),l.jsx("li",{children:"История финансовых операций и транзакций"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.5. Техническая информация:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"IP-адреса устройств, с которых осуществляется доступ к сервисам"}),l.jsx("li",{children:"Информация о браузере, операционной системе и устройстве"}),l.jsx("li",{children:"Файлы cookie и данные локального хранилища"}),l.jsx("li",{children:"Логи действий и история использования сервисов"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"4.6. Дополнительная информация:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Фотографии для процедур верификации"}),l.jsx("li",{children:"Видеозаписи процедур видеоидентификации"}),l.jsx("li",{children:"Биометрические данные (при использовании соответствующих технологий)"}),l.jsx("li",{children:"Информация о семейном положении и профессиональной деятельности"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"5. Перечень действий с персональными данными"}),l.jsx("p",{children:"Согласие распространяется на следующие действия (операции) с персональными данными:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Сбор, запись и первичная обработка персональных данных"}),l.jsx("li",{children:"Накопление и систематизация в базах данных"}),l.jsx("li",{children:"Создание резервных копий и архивирование"}),l.jsx("li",{children:"Извлечение, использование и анализ данных"}),l.jsx("li",{children:"Уточнение, обновление и актуализация информации"}),l.jsx("li",{children:"Передача данных третьим лицам"}),l.jsx("li",{children:"Обезличивание и удаление данных"}),l.jsx("li",{children:"Автоматизированная обработка и профилирование"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"6. Лица, которым могут быть переданы персональные данные"}),l.jsx("h4",{className:Z.subSectionTitle,children:"6.1. Сотрудники Оператора:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Уполномоченные сотрудники, непосредственно участвующие в обработке"}),l.jsx("li",{children:"Сотрудники службы безопасности и комплаенса"}),l.jsx("li",{children:"Сотрудники технической поддержки"}),l.jsx("li",{children:"Руководящий состав в рамках их полномочий"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"6.2. Государственные и муниципальные органы:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Федеральная служба по финансовому мониторингу"}),l.jsx("li",{children:"Федеральная налоговая служба"}),l.jsx("li",{children:"Правоохранительные органы (при наличии законных требований)"}),l.jsx("li",{children:"Суды и органы исполнения судебных решений"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"6.3. Партнеры и контрагенты:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Банки и платежные системы"}),l.jsx("li",{children:"Операторы электронных денежных средств"}),l.jsx("li",{children:"Поставщики технологических решений"}),l.jsx("li",{children:"Аудиторские и консалтинговые организации"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"7. Сроки обработки персональных данных"}),l.jsx("h4",{className:Z.subSectionTitle,children:"7.1. Общие принципы:"}),l.jsx("p",{children:"Персональные данные обрабатываются в течение времени, необходимого для достижения целей обработки. После достижения целей данные подлежат уничтожению или обезличиванию."}),l.jsx("h4",{className:Z.subSectionTitle,children:"7.2. Конкретные сроки обработки:"}),l.jsxs("ul",{className:Z.list,children:[l.jsxs("li",{children:[l.jsx("strong",{children:"Данные активных клиентов:"})," в течение всего периода отношений плюс 5 лет после прекращения"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Данные для идентификации:"})," 5 лет с момента прекращения отношений"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Финансовая информация:"})," 5 лет с даты совершения операции"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Маркетинговые данные:"})," до отзыва согласия, но не более 3 лет"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"Техническая информация:"})," 1 год для безопасности, 6 месяцев для логов"]})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"8. Права субъекта персональных данных"}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.1. Право на информацию:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Получение подтверждения факта обработки персональных данных"}),l.jsx("li",{children:"Получение информации о целях и способах обработки"}),l.jsx("li",{children:"Информация о сроках обработки и составе данных"}),l.jsx("li",{children:"Сведения о лицах, которым передаются данные"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.2. Право на доступ:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Получение копий обрабатываемых персональных данных"}),l.jsx("li",{children:"Ознакомление с историей обработки и изменений"}),l.jsx("li",{children:"Получение информации об источниках персональных данных"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.3. Право на исправление и удаление:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Требование исправления неточных или неполных данных"}),l.jsx("li",{children:"Требование удаления персональных данных при наличии оснований"}),l.jsx("li",{children:"Удаление данных после отзыва согласия"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.4. Право на отзыв согласия:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Согласие может быть отозвано в любое время"}),l.jsx("li",{children:"Отзыв оформляется в письменной форме"}),l.jsx("li",{children:"После отзыва обработка прекращается в разумные сроки"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.5. Право на обжалование:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Обращение к Оператору с жалобами на действия по обработке данных"}),l.jsx("li",{children:"Обращение в Роскомнадзор или его территориальные органы"}),l.jsx("li",{children:"Обращение в суд для защиты нарушенных прав"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"8.6. Порядок реализации прав:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Обращения направляются на адрес: company@bitforcefoundation.ru"}),l.jsx("li",{children:"Обращения рассматриваются в течение 30 дней"}),l.jsx("li",{children:"При необходимости срок может быть продлен на 30 дней"})]})]}),l.jsxs("section",{className:Z.section,children:[l.jsx("h3",{className:Z.sectionTitle,children:"9. Заключительные положения"}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.1. Действие согласия:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Согласие действует с момента его предоставления"}),l.jsx("li",{children:"Согласие действует до его отзыва или до достижения целей обработки"}),l.jsx("li",{children:"При существенных изменениях целей требуется новое согласие"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.2. Форма предоставления согласия:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Согласие может быть предоставлено в письменной форме"}),l.jsx("li",{children:"Согласие может быть предоставлено в электронной форме"}),l.jsx("li",{children:"Согласие может выражаться путем совершения конклюдентных действий"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.3. Последствия непредоставления согласия:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Отказ в предоставлении согласия может повлечь невозможность регистрации"}),l.jsx("li",{children:"Отказ может ограничить доступ к отдельным услугам"}),l.jsx("li",{children:"Отказ в согласии на маркетинг не влияет на основные услуги"}),l.jsx("li",{children:"Субъект вправе предоставить частичное согласие"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.4. Контактная информация:"}),l.jsxs("div",{className:Z.contacts,children:[l.jsx("p",{children:"Почтовый адрес: 196246, г. Санкт-Петербург, Московское ш., д. 25, к. 1, лит. В, пом. 3-н"}),l.jsx("p",{children:"Электронная почта: company@bitforcefoundation.ru"}),l.jsx("p",{children:"Ответственное лицо: Кленин Михаил Васильевич"}),l.jsx("p",{children:"Официальный сайт: https://bitforce-foundation.ru"})]}),l.jsx("h4",{className:Z.subSectionTitle,children:"9.5. Подтверждение понимания:"}),l.jsx("p",{className:Z.confirmation,children:"Предоставляя настоящее согласие, я подтверждаю, что:"}),l.jsxs("ul",{className:Z.list,children:[l.jsx("li",{children:"Ознакомлен с содержанием согласия и понимаю его значение"}),l.jsx("li",{children:"Понимаю цели и способы обработки моих персональных данных"}),l.jsx("li",{children:"Знаю о своих правах и способах их реализации"}),l.jsx("li",{children:"Согласие предоставляется добровольно и осознанно"}),l.jsx("li",{children:"Имею возможность отозвать согласие в любое время"})]})]})]})}),l.jsx(Jn,{})]})}const _T="_main_2hruc_1",yT="_container_2hruc_7",xT="_title_2hruc_13",bT="_subtitle_2hruc_21",jT="_section_2hruc_29",ST="_sectionTitle_2hruc_33",NT="_description_2hruc_42",wT="_info_2hruc_49",CT="_linkBlock_2hruc_56",TT="_button_2hruc_64",ET="_operatorInfo_2hruc_81",Bt={main:_T,container:yT,title:xT,subtitle:bT,section:jT,sectionTitle:ST,description:NT,info:wT,linkBlock:CT,button:TT,operatorInfo:ET};function RT(){return l.jsxs(l.Fragment,{children:[l.jsx(ii,{}),l.jsx("main",{className:Bt.main,children:l.jsxs("div",{className:Bt.container,children:[l.jsx("h1",{className:Bt.title,children:"Реестр операторов персональных данных"}),l.jsx("h2",{className:Bt.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:Bt.section,children:[l.jsx("p",{className:Bt.description,children:"Информация об операторе персональных данных размещена в реестре операторов персональных данных Федеральной службы по надзору в сфере связи, информационных технологий и массовых коммуникаций (Роскомнадзор)."}),l.jsx("p",{className:Bt.info,children:"Вы можете просмотреть информацию об операторе в реестре Роскомнадзора, перейдя по ссылке ниже:"}),l.jsx("div",{className:Bt.linkBlock,children:l.jsx("a",{href:"https://pd.rkn.gov.ru/operators-registry/operators-list/?act=search&name_full=%D0%91%D0%B8%D1%82%D1%84%D0%BE%D1%80%D1%81&inn=9810001062&regn=",target:"_blank",rel:"noopener noreferrer",className:Bt.button,children:"Открыть реестр Роскомнадзора"})}),l.jsx("p",{className:Bt.info,children:"Реестр содержит информацию об операторах персональных данных, включая сведения о целях и методах обработки персональных данных, а также меры по обеспечению безопасности персональных данных."})]}),l.jsxs("section",{className:Bt.section,children:[l.jsx("h3",{className:Bt.sectionTitle,children:"Информация об операторе"}),l.jsxs("div",{className:Bt.operatorInfo,children:[l.jsxs("p",{children:[l.jsx("strong",{children:"Наименование:"})," ООО «БИТФОРС»"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"ИНН:"})," 9810001062"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"ОГРН:"})," 1257800060990"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"Юридический адрес:"})," 196246, город Санкт-Петербург, Московское шоссе, дом 25, корпус 1, литера В, помещение 3-н"]}),l.jsxs("p",{children:[l.jsx("strong",{children:"Контактная информация:"})," company@bitforcefoundation.ru"]})]})]}),l.jsxs("section",{className:Bt.section,children:[l.jsx("h3",{className:Bt.sectionTitle,children:"О Роскомнадзоре"}),l.jsx("p",{children:"Федеральная служба по надзору в сфере связи, информационных технологий и массовых коммуникаций (Роскомнадзор) — это федеральный орган исполнительной власти, осуществляющий функции по контролю и надзору в области персональных данных."}),l.jsx("p",{children:"Роскомнадзор ведет реестр операторов персональных данных в соответствии с требованиями Федерального закона «О персональных данных». Реестр является открытой информационной системой и доступен всем заинтересованным лицам."})]})]})}),l.jsx(Jn,{})]})}const AT="_page_pm0dm_1",OT="_main_pm0dm_8",MT="_glow_pm0dm_17",DT="_title_pm0dm_29",zT="_list_pm0dm_38",LT="_empty_pm0dm_46",BT="_status_pm0dm_53",UT="_statusError_pm0dm_60",kT="_loadMore_pm0dm_68",HT="_loadMoreBtn_pm0dm_76",qT="_statusBadge_pm0dm_103",$T="_status_pending_pm0dm_112",GT="_status_completed_pm0dm_117",VT="_status_cancelled_pm0dm_122",FT="_status_failed_pm0dm_127",QT="_accordionItem_pm0dm_133",YT="_summaryRow_pm0dm_141",XT="_summaryLeft_pm0dm_158",ZT="_summaryDate_pm0dm_167",KT="_summaryRight_pm0dm_174",IT="_amount_pm0dm_181",WT="_totalAmount_pm0dm_189",PT="_chevron_pm0dm_197",JT="_chevronOpen_pm0dm_203",eE="_bodyOuter_pm0dm_208",tE="_bodyOuterOpen_pm0dm_214",nE="_bodyInner_pm0dm_218",lE="_body_pm0dm_208",aE="_col_pm0dm_231",sE="_colTitle_pm0dm_236",iE="_infoRow_pm0dm_245",cE="_infoRowTotal_pm0dm_258",rE="_infoLabel_pm0dm_264",oE="_infoValue_pm0dm_265",uE="_infoValueRow_pm0dm_284",dE="_infoLink_pm0dm_290",fE="_copyBtn_pm0dm_302",le={page:AT,main:OT,glow:MT,title:DT,list:zT,empty:LT,status:BT,statusError:UT,loadMore:kT,loadMoreBtn:HT,statusBadge:qT,status_pending:$T,status_completed:GT,status_cancelled:VT,status_failed:FT,accordionItem:QT,summaryRow:YT,summaryLeft:XT,summaryDate:ZT,summaryRight:KT,amount:IT,totalAmount:WT,chevron:PT,chevronOpen:JT,bodyOuter:eE,bodyOuterOpen:tE,bodyInner:nE,body:lE,col:aE,colTitle:sE,infoRow:iE,infoRowTotal:cE,infoLabel:rE,infoValue:oE,infoValueRow:uE,infoLink:dE,copyBtn:fE},hE={pending:"Ожидание",completed:"Выполнена",cancelled:"Отменена",failed:"Ошибка"},Zm={pending:"Ожидание",completed:"Оплачен",cancelled:"Отменён",failed:"Ошибка"};function Km(s){return s?new Date(s).toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):"—"}function mE(s){return s?s.length<=16?s:`${s.slice(0,8)}${s.slice(-6)}`:"—"}function K0({status:s,labels:c}){return l.jsx("span",{className:`${le.statusBadge} ${le[`status_${s}`]}`,children:c[s]??s})}function pE({value:s}){const[c,i]=b.useState(!1);function o(){navigator.clipboard.writeText(s).then(()=>{i(!0),setTimeout(()=>i(!1),1500)})}return l.jsx("button",{className:le.copyBtn,onClick:o,type:"button",title:"Скопировать",children:c?l.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:l.jsx("polyline",{points:"20 6 9 17 4 12"})}):l.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"}),l.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})})}function vE({item:s}){const[c,i]=b.useState(!1),{order:o,payment:d}=s;return l.jsxs("div",{className:le.accordionItem,children:[l.jsxs("button",{className:le.summaryRow,onClick:()=>i(h=>!h),type:"button","aria-expanded":c,children:[l.jsxs("div",{className:le.summaryLeft,children:[l.jsx("span",{className:le.summaryDate,children:Km(o.created_at)}),l.jsx(K0,{status:o.status,labels:hE}),l.jsx(K0,{status:d.status,labels:Zm})]}),l.jsxs("div",{className:le.summaryRight,children:[l.jsxs("span",{className:le.amount,children:[o.usdt_amount," USDT"]}),l.jsxs("span",{className:le.totalAmount,children:[Number(o.total_price).toLocaleString("ru-RU")," ₽"]}),l.jsx("svg",{className:`${le.chevron} ${c?le.chevronOpen:""}`,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:l.jsx("polyline",{points:"6 9 12 15 18 9"})})]})]}),l.jsx("div",{className:`${le.bodyOuter} ${c?le.bodyOuterOpen:""}`,children:l.jsx("div",{className:le.bodyInner,children:l.jsxs("div",{className:le.body,children:[l.jsxs("div",{className:le.col,children:[l.jsx("p",{className:le.colTitle,children:"Заказ"}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Сумма USDT"}),l.jsxs("span",{className:le.infoValue,children:[o.usdt_amount," USDT"]})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Курс обмена"}),l.jsxs("span",{className:le.infoValue,children:["1 USDT = ",o.usdt_exchange_rate," ₽"]})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Сервисный сбор"}),l.jsxs("span",{className:le.infoValue,children:[o.service_fee," USDT"]})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Комиссия за газ"}),l.jsxs("span",{className:le.infoValue,children:[o.gas_fee," USDT"]})]}),l.jsxs("div",{className:`${le.infoRow} ${le.infoRowTotal}`,children:[l.jsx("span",{className:le.infoLabel,children:"Итого к оплате"}),l.jsxs("span",{className:le.infoValue,children:[Number(o.total_price).toLocaleString("ru-RU")," ₽"]})]})]}),l.jsxs("div",{className:le.col,children:[l.jsx("p",{className:le.colTitle,children:"Платёж"}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Статус"}),l.jsx(K0,{status:d.status,labels:Zm})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Оплачено"}),l.jsx("span",{className:le.infoValue,children:d.itpay_paid_amount||"—"})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Истекает"}),l.jsx("span",{className:le.infoValue,children:Km(d.expired_date)})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Хэш транзакции"}),l.jsxs("span",{className:le.infoValueRow,children:[l.jsx("span",{className:le.infoValue,title:d.web3_transaction_hash||void 0,children:mE(d.web3_transaction_hash)}),d.web3_transaction_hash&&l.jsx(pE,{value:d.web3_transaction_hash})]})]}),l.jsxs("div",{className:le.infoRow,children:[l.jsx("span",{className:le.infoLabel,children:"Чек"}),d.receipt_cloudekassir_link?l.jsx("a",{href:d.receipt_cloudekassir_link,target:"_blank",rel:"noopener noreferrer",className:le.infoLink,children:"Открыть →"}):l.jsx("span",{className:le.infoValue,children:"—"})]})]})]})})})]})}function gE(){const{data:s,isLoading:c,isError:i,fetchNextPage:o,hasNextPage:d,isFetchingNextPage:h}=jx(),m=(s==null?void 0:s.pages.flatMap(p=>p.orders))??[];return l.jsxs("div",{className:le.page,children:[l.jsx(Ia,{}),l.jsxs("main",{className:le.main,children:[l.jsx("div",{className:le.glow}),l.jsx("h1",{className:le.title,children:"Транзакции"}),c&&l.jsx("p",{className:le.status,children:"Загрузка..."}),i&&l.jsx("p",{className:le.statusError,children:"Не удалось загрузить транзакции. Попробуйте обновить страницу."}),!c&&!i&&m.length===0&&l.jsx("p",{className:le.empty,children:"У вас пока нет транзакций."}),m.length>0&&l.jsx("div",{className:le.list,children:m.map(p=>l.jsx(vE,{item:p},p.order.id))}),d&&l.jsx("div",{className:le.loadMore,children:l.jsx("button",{className:le.loadMoreBtn,onClick:()=>o(),disabled:h,type:"button",children:h?"Загрузка...":"Загрузить ещё"})})]}),l.jsx(Jn,{})]})}function _E(){const{pathname:s}=pn();return b.useEffect(()=>{window.scrollTo(0,0)},[s]),null}function yE(){const{isAuthenticated:s,isLoading:c}=Pp(),i=pn();return c?null:s?l.jsx(jp,{}):l.jsx(pc,{to:fe.LOGIN,state:{from:i},replace:!0})}function xE(){var d,h;const{isAuthenticated:s,isLoading:c}=Pp(),o=((h=(d=pn().state)==null?void 0:d.from)==null?void 0:h.pathname)??fe.WALLET;return c?null:s?l.jsx(pc,{to:o,replace:!0}):l.jsx(jp,{})}function bE(){return l.jsxs(b_,{children:[l.jsx(_E,{}),l.jsxs(Wg,{children:[l.jsx(rt,{path:fe.HOME,element:l.jsx(Z5,{})}),l.jsx(rt,{path:fe.PUBLICHNAYA_OFERTA,element:l.jsx(zC,{})}),l.jsx(rt,{path:fe.POLITIKA_PERSONALNYH_DANNYH,element:l.jsx(ZC,{})}),l.jsx(rt,{path:fe.POLITIKA_COOKIE,element:l.jsx(sT,{})}),l.jsx(rt,{path:fe.SOGLASIE_PERSONALNYH_DANNYH,element:l.jsx(gT,{})}),l.jsx(rt,{path:fe.REESTR_PD_RKN,element:l.jsx(RT,{})}),l.jsxs(rt,{element:l.jsx(xE,{}),children:[l.jsx(rt,{path:fe.LOGIN,element:l.jsx(gN,{})}),l.jsx(rt,{path:fe.REGISTER,element:l.jsx(MN,{})}),l.jsx(rt,{path:fe.RESTORE_PASSWORD,element:l.jsx(NC,{})})]}),l.jsxs(rt,{element:l.jsx(yE,{}),children:[l.jsx(rt,{path:fe.CONVERTER,element:l.jsx(bw,{})}),l.jsx(rt,{path:fe.WALLET,element:l.jsx(Nm,{})}),l.jsx(rt,{path:fe.WALLET_CHAIN,element:l.jsx(Nm,{})}),l.jsx(rt,{path:fe.SWAP,element:l.jsx(L9,{})}),l.jsx(rt,{path:fe.BRIDGE,element:l.jsx(K9,{})}),l.jsx(rt,{path:fe.PROFILE,element:l.jsx(eN,{})}),l.jsx(rt,{path:fe.SEED_PHRASE,element:l.jsx(Fw,{})}),l.jsx(rt,{path:fe.KYC,element:l.jsx(dC,{})}),l.jsx(rt,{path:fe.TRANSACTIONS,element:l.jsx(gE,{})})]})]})]})}const jE=new Wy({defaultOptions:{queries:{retry:!1}}});function SE({children:s}){return l.jsx(Py,{client:jE,children:s})}function NE(){return l.jsx(SE,{children:l.jsx(bE,{})})}W4.createRoot(document.getElementById("root")).render(l.jsx(b.StrictMode,{children:l.jsx(NE,{})}));