162 lines
569 KiB
JavaScript
162 lines
569 KiB
JavaScript
var im=s=>{throw TypeError(s)};var Q0=(s,c,i)=>c.has(s)||im("Cannot "+i);var C=(s,c,i)=>(Q0(s,c,"read from private field"),i?i.call(s):c.get(s)),ie=(s,c,i)=>c.has(s)?im("Cannot add the same private member more than once"):c instanceof WeakSet?c.add(s):c.set(s,i),W=(s,c,i,r)=>(Q0(s,c,"write to private field"),r?r.call(s,i):c.set(s,i),i),je=(s,c,i)=>(Q0(s,c,"access private method"),i);var eo=(s,c,i,r)=>({set _(d){W(s,c,d,i)},get _(){return C(s,c,r)}});(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))r(d);new MutationObserver(d=>{for(const f of d)if(f.type==="childList")for(const v of f.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&r(v)}).observe(document,{childList:!0,subtree:!0});function i(d){const f={};return d.integrity&&(f.integrity=d.integrity),d.referrerPolicy&&(f.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?f.credentials="include":d.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function r(d){if(d.ep)return;d.ep=!0;const f=i(d);fetch(d.href,f)}})();function Op(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var Y0={exports:{}},mc={};/**
|
||
* @license React
|
||
* react-jsx-runtime.production.js
|
||
*
|
||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var cm;function x_(){if(cm)return mc;cm=1;var s=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function i(r,d,f){var v=null;if(f!==void 0&&(v=""+f),d.key!==void 0&&(v=""+d.key),"key"in d){f={};for(var _ in d)_!=="key"&&(f[_]=d[_])}else f=d;return d=f.ref,{$$typeof:s,type:r,key:v,ref:d!==void 0?d:null,props:f}}return mc.Fragment=c,mc.jsx=i,mc.jsxs=i,mc}var rm;function b_(){return rm||(rm=1,Y0.exports=x_()),Y0.exports}var l=b_(),X0={exports:{}},_e={};/**
|
||
* @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 om;function j_(){if(om)return _e;om=1;var s=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),v=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),b=Symbol.iterator;function N(R){return R===null||typeof R!="object"?null:(R=b&&R[b]||R["@@iterator"],typeof R=="function"?R:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,T={};function O(R,V,K){this.props=R,this.context=V,this.refs=T,this.updater=K||S}O.prototype.isReactComponent={},O.prototype.setState=function(R,V){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,V,"setState")},O.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function H(){}H.prototype=O.prototype;function z(R,V,K){this.props=R,this.context=V,this.refs=T,this.updater=K||S}var G=z.prototype=new H;G.constructor=z,E(G,O.prototype),G.isPureReactComponent=!0;var Y=Array.isArray;function J(){}var $={H:null,A:null,T:null,S:null},Z=Object.prototype.hasOwnProperty;function ae(R,V,K){var te=K.ref;return{$$typeof:s,type:R,key:V,ref:te!==void 0?te:null,props:K}}function pe(R,V){return ae(R.type,V,R.props)}function he(R){return typeof R=="object"&&R!==null&&R.$$typeof===s}function Ne(R){var V={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(K){return V[K]})}var re=/\/+/g;function me(R,V){return typeof R=="object"&&R!==null&&R.key!=null?Ne(""+R.key):V.toString(36)}function ue(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(J,J):(R.status="pending",R.then(function(V){R.status==="pending"&&(R.status="fulfilled",R.value=V)},function(V){R.status==="pending"&&(R.status="rejected",R.reason=V)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function U(R,V,K,te,ge){var xe=typeof R;(xe==="undefined"||xe==="boolean")&&(R=null);var De=!1;if(R===null)De=!0;else switch(xe){case"bigint":case"string":case"number":De=!0;break;case"object":switch(R.$$typeof){case s:case c:De=!0;break;case g:return De=R._init,U(De(R._payload),V,K,te,ge)}}if(De)return ge=ge(R),De=te===""?"."+me(R,0):te,Y(ge)?(K="",De!=null&&(K=De.replace(re,"$&/")+"/"),U(ge,V,K,"",function(Xn){return Xn})):ge!=null&&(he(ge)&&(ge=pe(ge,K+(ge.key==null||R&&R.key===ge.key?"":(""+ge.key).replace(re,"$&/")+"/")+De)),V.push(ge)),1;De=0;var yt=te===""?".":te+":";if(Y(R))for(var Ke=0;Ke<R.length;Ke++)te=R[Ke],xe=yt+me(te,Ke),De+=U(te,V,K,xe,ge);else if(Ke=N(R),typeof Ke=="function")for(R=Ke.call(R),Ke=0;!(te=R.next()).done;)te=te.value,xe=yt+me(te,Ke++),De+=U(te,V,K,xe,ge);else if(xe==="object"){if(typeof R.then=="function")return U(ue(R),V,K,te,ge);throw V=String(R),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.")}return De}function X(R,V,K){if(R==null)return R;var te=[],ge=0;return U(R,te,"","",function(xe){return V.call(K,xe,ge++)}),te}function se(R){if(R._status===-1){var V=R._result;V=V(),V.then(function(K){(R._status===0||R._status===-1)&&(R._status=1,R._result=K)},function(K){(R._status===0||R._status===-1)&&(R._status=2,R._result=K)}),R._status===-1&&(R._status=0,R._result=V)}if(R._status===1)return R._result.default;throw R._result}var Te=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var V=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(V))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)},Re={map:X,forEach:function(R,V,K){X(R,function(){V.apply(this,arguments)},K)},count:function(R){var V=0;return X(R,function(){V++}),V},toArray:function(R){return X(R,function(V){return V})||[]},only:function(R){if(!he(R))throw Error("React.Children.only expected to receive a single React element child.");return R}};return _e.Activity=y,_e.Children=Re,_e.Component=O,_e.Fragment=i,_e.Profiler=d,_e.PureComponent=z,_e.StrictMode=r,_e.Suspense=h,_e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,_e.__COMPILER_RUNTIME={__proto__:null,c:function(R){return $.H.useMemoCache(R)}},_e.cache=function(R){return function(){return R.apply(null,arguments)}},_e.cacheSignal=function(){return null},_e.cloneElement=function(R,V,K){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var te=E({},R.props),ge=R.key;if(V!=null)for(xe in V.key!==void 0&&(ge=""+V.key),V)!Z.call(V,xe)||xe==="key"||xe==="__self"||xe==="__source"||xe==="ref"&&V.ref===void 0||(te[xe]=V[xe]);var xe=arguments.length-2;if(xe===1)te.children=K;else if(1<xe){for(var De=Array(xe),yt=0;yt<xe;yt++)De[yt]=arguments[yt+2];te.children=De}return ae(R.type,ge,te)},_e.createContext=function(R){return R={$$typeof:v,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:f,_context:R},R},_e.createElement=function(R,V,K){var te,ge={},xe=null;if(V!=null)for(te in V.key!==void 0&&(xe=""+V.key),V)Z.call(V,te)&&te!=="key"&&te!=="__self"&&te!=="__source"&&(ge[te]=V[te]);var De=arguments.length-2;if(De===1)ge.children=K;else if(1<De){for(var yt=Array(De),Ke=0;Ke<De;Ke++)yt[Ke]=arguments[Ke+2];ge.children=yt}if(R&&R.defaultProps)for(te in De=R.defaultProps,De)ge[te]===void 0&&(ge[te]=De[te]);return ae(R,xe,ge)},_e.createRef=function(){return{current:null}},_e.forwardRef=function(R){return{$$typeof:_,render:R}},_e.isValidElement=he,_e.lazy=function(R){return{$$typeof:g,_payload:{_status:-1,_result:R},_init:se}},_e.memo=function(R,V){return{$$typeof:m,type:R,compare:V===void 0?null:V}},_e.startTransition=function(R){var V=$.T,K={};$.T=K;try{var te=R(),ge=$.S;ge!==null&&ge(K,te),typeof te=="object"&&te!==null&&typeof te.then=="function"&&te.then(J,Te)}catch(xe){Te(xe)}finally{V!==null&&K.types!==null&&(V.types=K.types),$.T=V}},_e.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},_e.use=function(R){return $.H.use(R)},_e.useActionState=function(R,V,K){return $.H.useActionState(R,V,K)},_e.useCallback=function(R,V){return $.H.useCallback(R,V)},_e.useContext=function(R){return $.H.useContext(R)},_e.useDebugValue=function(){},_e.useDeferredValue=function(R,V){return $.H.useDeferredValue(R,V)},_e.useEffect=function(R,V){return $.H.useEffect(R,V)},_e.useEffectEvent=function(R){return $.H.useEffectEvent(R)},_e.useId=function(){return $.H.useId()},_e.useImperativeHandle=function(R,V,K){return $.H.useImperativeHandle(R,V,K)},_e.useInsertionEffect=function(R,V){return $.H.useInsertionEffect(R,V)},_e.useLayoutEffect=function(R,V){return $.H.useLayoutEffect(R,V)},_e.useMemo=function(R,V){return $.H.useMemo(R,V)},_e.useOptimistic=function(R,V){return $.H.useOptimistic(R,V)},_e.useReducer=function(R,V,K){return $.H.useReducer(R,V,K)},_e.useRef=function(R){return $.H.useRef(R)},_e.useState=function(R){return $.H.useState(R)},_e.useSyncExternalStore=function(R,V,K){return $.H.useSyncExternalStore(R,V,K)},_e.useTransition=function(){return $.H.useTransition()},_e.version="19.2.5",_e}var um;function F2(){return um||(um=1,X0.exports=j_()),X0.exports}var j=F2();const St=Op(j);var Z0={exports:{}},pc={},I0={exports:{}},K0={};/**
|
||
* @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 dm;function S_(){return dm||(dm=1,(function(s){function c(U,X){var se=U.length;U.push(X);e:for(;0<se;){var Te=se-1>>>1,Re=U[Te];if(0<d(Re,X))U[Te]=X,U[se]=Re,se=Te;else break e}}function i(U){return U.length===0?null:U[0]}function r(U){if(U.length===0)return null;var X=U[0],se=U.pop();if(se!==X){U[0]=se;e:for(var Te=0,Re=U.length,R=Re>>>1;Te<R;){var V=2*(Te+1)-1,K=U[V],te=V+1,ge=U[te];if(0>d(K,se))te<Re&&0>d(ge,K)?(U[Te]=ge,U[te]=se,Te=te):(U[Te]=K,U[V]=se,Te=V);else if(te<Re&&0>d(ge,se))U[Te]=ge,U[te]=se,Te=te;else break e}}return X}function d(U,X){var se=U.sortIndex-X.sortIndex;return se!==0?se:U.id-X.id}if(s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;s.unstable_now=function(){return f.now()}}else{var v=Date,_=v.now();s.unstable_now=function(){return v.now()-_}}var h=[],m=[],g=1,y=null,b=3,N=!1,S=!1,E=!1,T=!1,O=typeof setTimeout=="function"?setTimeout:null,H=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function G(U){for(var X=i(m);X!==null;){if(X.callback===null)r(m);else if(X.startTime<=U)r(m),X.sortIndex=X.expirationTime,c(h,X);else break;X=i(m)}}function Y(U){if(E=!1,G(U),!S)if(i(h)!==null)S=!0,J||(J=!0,Ne());else{var X=i(m);X!==null&&ue(Y,X.startTime-U)}}var J=!1,$=-1,Z=5,ae=-1;function pe(){return T?!0:!(s.unstable_now()-ae<Z)}function he(){if(T=!1,J){var U=s.unstable_now();ae=U;var X=!0;try{e:{S=!1,E&&(E=!1,H($),$=-1),N=!0;var se=b;try{t:{for(G(U),y=i(h);y!==null&&!(y.expirationTime>U&&pe());){var Te=y.callback;if(typeof Te=="function"){y.callback=null,b=y.priorityLevel;var Re=Te(y.expirationTime<=U);if(U=s.unstable_now(),typeof Re=="function"){y.callback=Re,G(U),X=!0;break t}y===i(h)&&r(h),G(U)}else r(h);y=i(h)}if(y!==null)X=!0;else{var R=i(m);R!==null&&ue(Y,R.startTime-U),X=!1}}break e}finally{y=null,b=se,N=!1}X=void 0}}finally{X?Ne():J=!1}}}var Ne;if(typeof z=="function")Ne=function(){z(he)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,me=re.port2;re.port1.onmessage=he,Ne=function(){me.postMessage(null)}}else Ne=function(){O(he,0)};function ue(U,X){$=O(function(){U(s.unstable_now())},X)}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"):Z=0<U?Math.floor(1e3/U):5},s.unstable_getCurrentPriorityLevel=function(){return b},s.unstable_next=function(U){switch(b){case 1:case 2:case 3:var X=3;break;default:X=b}var se=b;b=X;try{return U()}finally{b=se}},s.unstable_requestPaint=function(){T=!0},s.unstable_runWithPriority=function(U,X){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var se=b;b=U;try{return X()}finally{b=se}},s.unstable_scheduleCallback=function(U,X,se){var Te=s.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?Te+se:Te):se=Te,U){case 1:var Re=-1;break;case 2:Re=250;break;case 5:Re=1073741823;break;case 4:Re=1e4;break;default:Re=5e3}return Re=se+Re,U={id:g++,callback:X,priorityLevel:U,startTime:se,expirationTime:Re,sortIndex:-1},se>Te?(U.sortIndex=se,c(m,U),i(h)===null&&U===i(m)&&(E?(H($),$=-1):E=!0,ue(Y,se-Te))):(U.sortIndex=Re,c(h,U),S||N||(S=!0,J||(J=!0,Ne()))),U},s.unstable_shouldYield=pe,s.unstable_wrapCallback=function(U){var X=b;return function(){var se=b;b=X;try{return U.apply(this,arguments)}finally{b=se}}}})(K0)),K0}var fm;function N_(){return fm||(fm=1,I0.exports=S_()),I0.exports}var P0={exports:{}},Bt={};/**
|
||
* @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 hm;function w_(){if(hm)return Bt;hm=1;var s=F2();function c(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)m+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var r={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 f(h,m,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:y==null?null:""+y,children:h,containerInfo:m,implementation:g}}var v=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function _(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Bt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Bt.createPortal=function(h,m){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(c(299));return f(h,m,null,g)},Bt.flushSync=function(h){var m=v.T,g=r.p;try{if(v.T=null,r.p=2,h)return h()}finally{v.T=m,r.p=g,r.d.f()}},Bt.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(h,m))},Bt.prefetchDNS=function(h){typeof h=="string"&&r.d.D(h)},Bt.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var g=m.as,y=_(g,m.crossOrigin),b=typeof m.integrity=="string"?m.integrity:void 0,N=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;g==="style"?r.d.S(h,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:y,integrity:b,fetchPriority:N}):g==="script"&&r.d.X(h,{crossOrigin:y,integrity:b,fetchPriority:N,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Bt.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var g=_(m.as,m.crossOrigin);r.d.M(h,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(h)},Bt.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var g=m.as,y=_(g,m.crossOrigin);r.d.L(h,g,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Bt.preloadModule=function(h,m){if(typeof h=="string")if(m){var g=_(m.as,m.crossOrigin);r.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(h)},Bt.requestFormReset=function(h){r.d.r(h)},Bt.unstable_batchedUpdates=function(h,m){return h(m)},Bt.useFormState=function(h,m,g){return v.H.useFormState(h,m,g)},Bt.useFormStatus=function(){return v.H.useHostTransitionStatus()},Bt.version="19.2.5",Bt}var mm;function C_(){if(mm)return P0.exports;mm=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(),P0.exports=w_(),P0.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 pm;function E_(){if(pm)return pc;pm=1;var s=N_(),c=F2(),i=C_();function r(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 f(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 v(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 _(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 h(e){if(f(e)!==e)throw Error(r(188))}function m(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(r(188));return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(o===null)break;var u=o.alternate;if(u===null){if(a=o.return,a!==null){n=a;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return h(o),e;if(u===a)return h(o),t;u=u.sibling}throw Error(r(188))}if(n.return!==a.return)n=o,a=u;else{for(var p=!1,x=o.child;x;){if(x===n){p=!0,n=o,a=u;break}if(x===a){p=!0,a=o,n=u;break}x=x.sibling}if(!p){for(x=u.child;x;){if(x===n){p=!0,n=u,a=o;break}if(x===a){p=!0,a=u,n=o;break}x=x.sibling}if(!p)throw Error(r(189))}}if(n.alternate!==a)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function g(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=g(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,b=Symbol.for("react.element"),N=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),z=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),pe=Symbol.for("react.memo_cache_sentinel"),he=Symbol.iterator;function Ne(e){return e===null||typeof e!="object"?null:(e=he&&e[he]||e["@@iterator"],typeof e=="function"?e:null)}var re=Symbol.for("react.client.reference");function me(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===re?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case O:return"Profiler";case T:return"StrictMode";case Y:return"Suspense";case J:return"SuspenseList";case ae:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case S:return"Portal";case z:return e.displayName||"Context";case H:return(e._context.displayName||"Context")+".Consumer";case G:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $:return t=e.displayName||null,t!==null?t:me(e.type)||"Memo";case Z:t=e._payload,e=e._init;try{return me(e(t))}catch{}}return null}var ue=Array.isArray,U=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pending:!1,data:null,method:null,action:null},Te=[],Re=-1;function R(e){return{current:e}}function V(e){0>Re||(e.current=Te[Re],Te[Re]=null,Re--)}function K(e,t){Re++,Te[Re]=e.current,e.current=t}var te=R(null),ge=R(null),xe=R(null),De=R(null);function yt(e,t){switch(K(xe,t),K(ge,e),K(te,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?R1(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=R1(t),e=A1(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}V(te),K(te,e)}function Ke(){V(te),V(ge),V(xe)}function Xn(e){e.memoizedState!==null&&K(De,e);var t=te.current,n=A1(t,e.type);t!==n&&(K(ge,e),K(te,n))}function ol(e){ge.current===e&&(V(te),V(ge)),De.current===e&&(V(De),uc._currentValue=se)}var ul,Le;function xt(e){if(ul===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ul=t&&t[1]||"",Le=-1<n.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+ul+e+Le}var dl=!1;function Ve(e,t){if(!e||dl)return"";dl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(k){var B=k}Reflect.construct(e,[],Q)}else{try{Q.call()}catch(k){B=k}e.call(Q.prototype)}}else{try{throw Error()}catch(k){B=k}(Q=e())&&typeof Q.catch=="function"&&Q.catch(function(){})}}catch(k){if(k&&B&&typeof k.stack=="string")return[k.stack,B.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),p=u[0],x=u[1];if(p&&x){var w=p.split(`
|
||
`),L=x.split(`
|
||
`);for(o=a=0;a<w.length&&!w[a].includes("DetermineComponentFrameRoot");)a++;for(;o<L.length&&!L[o].includes("DetermineComponentFrameRoot");)o++;if(a===w.length||o===L.length)for(a=w.length-1,o=L.length-1;1<=a&&0<=o&&w[a]!==L[o];)o--;for(;1<=a&&0<=o;a--,o--)if(w[a]!==L[o]){if(a!==1||o!==1)do if(a--,o--,0>o||w[a]!==L[o]){var q=`
|
||
`+w[a].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=a&&0<=o);break}}}finally{dl=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?xt(n):""}function cn(e,t){switch(e.tag){case 26:case 27:case 5:return xt(e.type);case 16:return xt("Lazy");case 13:return e.child!==t&&t!==null?xt("Suspense Fallback"):xt("Suspense");case 19:return xt("SuspenseList");case 0:case 15:return Ve(e.type,!1);case 11:return Ve(e.type.render,!1);case 1:return Ve(e.type,!0);case 31:return xt("Activity");default:return""}}function bi(e){try{var t="",n=null;do t+=cn(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
|
||
Error generating stack: `+a.message+`
|
||
`+a.stack}}var os=Object.prototype.hasOwnProperty,Mo=s.unstable_scheduleCallback,Oo=s.unstable_cancelCallback,W3=s.unstable_shouldYield,J3=s.unstable_requestPaint,rn=s.unstable_now,ev=s.unstable_getCurrentPriorityLevel,id=s.unstable_ImmediatePriority,cd=s.unstable_UserBlockingPriority,kc=s.unstable_NormalPriority,tv=s.unstable_LowPriority,rd=s.unstable_IdlePriority,nv=s.log,lv=s.unstable_setDisableYieldValue,ji=null,on=null;function Hl(e){if(typeof nv=="function"&&lv(e),on&&typeof on.setStrictMode=="function")try{on.setStrictMode(ji,e)}catch{}}var un=Math.clz32?Math.clz32:iv,av=Math.log,sv=Math.LN2;function iv(e){return e>>>=0,e===0?32:31-(av(e)/sv|0)|0}var Uc=256,Hc=262144,$c=4194304;function Sa(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 qc(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var o=0,u=e.suspendedLanes,p=e.pingedLanes;e=e.warmLanes;var x=a&134217727;return x!==0?(a=x&~u,a!==0?o=Sa(a):(p&=x,p!==0?o=Sa(p):n||(n=x&~e,n!==0&&(o=Sa(n))))):(x=a&~u,x!==0?o=Sa(x):p!==0?o=Sa(p):n||(n=a&~e,n!==0&&(o=Sa(n)))),o===0?0:t!==0&&t!==o&&(t&u)===0&&(u=o&-o,n=t&-t,u>=n||u===32&&(n&4194048)!==0)?t:o}function Si(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function cv(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 od(){var e=$c;return $c<<=1,($c&62914560)===0&&($c=4194304),e}function zo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ni(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function rv(e,t,n,a,o,u){var p=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 x=e.entanglements,w=e.expirationTimes,L=e.hiddenUpdates;for(n=p&~n;0<n;){var q=31-un(n),Q=1<<q;x[q]=0,w[q]=-1;var B=L[q];if(B!==null)for(L[q]=null,q=0;q<B.length;q++){var k=B[q];k!==null&&(k.lane&=-536870913)}n&=~Q}a!==0&&ud(e,a,0),u!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=u&~(p&~t))}function ud(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-un(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function dd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-un(n),o=1<<a;o&t|e[a]&t&&(e[a]|=t),n&=~o}}function fd(e,t){var n=t&-t;return n=(n&42)!==0?1:Do(n),(n&(e.suspendedLanes|t))!==0?0:n}function Do(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 Lo(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function hd(){var e=X.p;return e!==0?e:(e=window.event,e===void 0?32:J1(e.type))}function md(e,t){var n=X.p;try{return X.p=e,t()}finally{X.p=n}}var $l=Math.random().toString(36).slice(2),At="__reactFiber$"+$l,Xt="__reactProps$"+$l,us="__reactContainer$"+$l,Bo="__reactEvents$"+$l,ov="__reactListeners$"+$l,uv="__reactHandles$"+$l,pd="__reactResources$"+$l,wi="__reactMarker$"+$l;function ko(e){delete e[At],delete e[Xt],delete e[Bo],delete e[ov],delete e[uv]}function ds(e){var t=e[At];if(t)return t;for(var n=e.parentNode;n;){if(t=n[us]||n[At]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=k1(e);e!==null;){if(n=e[At])return n;e=k1(e)}return t}e=n,n=e.parentNode}return null}function fs(e){if(e=e[At]||e[us]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ci(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function hs(e){var t=e[pd];return t||(t=e[pd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function wt(e){e[wi]=!0}var vd=new Set,gd={};function Na(e,t){ms(e,t),ms(e+"Capture",t)}function ms(e,t){for(gd[e]=t,e=0;e<t.length;e++)vd.add(t[e])}var dv=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]*$"),_d={},yd={};function fv(e){return os.call(yd,e)?!0:os.call(_d,e)?!1:dv.test(e)?yd[e]=!0:(_d[e]=!0,!1)}function Gc(e,t,n){if(fv(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 Fc(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 fl(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 Cn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hv(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 o=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(p){n=""+p,u.call(this,p)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(p){n=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Uo(e){if(!e._valueTracker){var t=xd(e)?"checked":"value";e._valueTracker=hv(e,t,""+e[t])}}function bd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=xd(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Vc(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 mv=/[\n"\\]/g;function En(e){return e.replace(mv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ho(e,t,n,a,o,u,p,x){e.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.type=p:e.removeAttribute("type"),t!=null?p==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Cn(t)):e.value!==""+Cn(t)&&(e.value=""+Cn(t)):p!=="submit"&&p!=="reset"||e.removeAttribute("value"),t!=null?$o(e,p,Cn(t)):n!=null?$o(e,p,Cn(n)):a!=null&&e.removeAttribute("value"),o==null&&u!=null&&(e.defaultChecked=!!u),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+Cn(x):e.removeAttribute("name")}function jd(e,t,n,a,o,u,p,x){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)){Uo(e);return}n=n!=null?""+Cn(n):"",t=t!=null?""+Cn(t):n,x||t===e.value||(e.value=t),e.defaultValue=t}a=a??o,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=x?e.checked:!!a,e.defaultChecked=!!a,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.name=p),Uo(e)}function $o(e,t,n){t==="number"&&Vc(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ps(e,t,n,a){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Cn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,a&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Sd(e,t,n){if(t!=null&&(t=""+Cn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Cn(n):""}function Nd(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(r(92));if(ue(a)){if(1<a.length)throw Error(r(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=Cn(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Uo(e)}function vs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var pv=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 wd(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||pv.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Cd(e,t,n){if(t!=null&&typeof t!="object")throw Error(r(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 o in t)a=t[o],t.hasOwnProperty(o)&&n[o]!==a&&wd(e,o,a)}else for(var u in t)t.hasOwnProperty(u)&&wd(e,u,t[u])}function qo(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 vv=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"]]),gv=/^[\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 Qc(e){return gv.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function hl(){}var Go=null;function Fo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gs=null,_s=null;function Ed(e){var t=fs(e);if(t&&(e=t.stateNode)){var n=e[Xt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ho(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="'+En(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var o=a[Xt]||null;if(!o)throw Error(r(90));Ho(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&bd(a)}break e;case"textarea":Sd(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&ps(e,!!n.multiple,t,!1)}}}var Vo=!1;function Td(e,t,n){if(Vo)return e(t,n);Vo=!0;try{var a=e(t);return a}finally{if(Vo=!1,(gs!==null||_s!==null)&&(Or(),gs&&(t=gs,e=_s,_s=gs=null,Ed(t),e)))for(t=0;t<e.length;t++)Ed(e[t])}}function Ei(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Xt]||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(r(231,t,typeof n));return n}var ml=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Qo=!1;if(ml)try{var Ti={};Object.defineProperty(Ti,"passive",{get:function(){Qo=!0}}),window.addEventListener("test",Ti,Ti),window.removeEventListener("test",Ti,Ti)}catch{Qo=!1}var ql=null,Yo=null,Yc=null;function Rd(){if(Yc)return Yc;var e,t=Yo,n=t.length,a,o="value"in ql?ql.value:ql.textContent,u=o.length;for(e=0;e<n&&t[e]===o[e];e++);var p=n-e;for(a=1;a<=p&&t[n-a]===o[u-a];a++);return Yc=o.slice(e,1<a?1-a:void 0)}function Xc(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 Zc(){return!0}function Ad(){return!1}function Zt(e){function t(n,a,o,u,p){this._reactName=n,this._targetInst=o,this.type=a,this.nativeEvent=u,this.target=p,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(n=e[x],this[x]=n?n(u):u[x]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Zc:Ad,this.isPropagationStopped=Ad,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=Zc)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Zc)},persist:function(){},isPersistent:Zc}),t}var wa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ic=Zt(wa),Ri=y({},wa,{view:0,detail:0}),_v=Zt(Ri),Xo,Zo,Ai,Kc=y({},Ri,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ko,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!==Ai&&(Ai&&e.type==="mousemove"?(Xo=e.screenX-Ai.screenX,Zo=e.screenY-Ai.screenY):Zo=Xo=0,Ai=e),Xo)},movementY:function(e){return"movementY"in e?e.movementY:Zo}}),Md=Zt(Kc),yv=y({},Kc,{dataTransfer:0}),xv=Zt(yv),bv=y({},Ri,{relatedTarget:0}),Io=Zt(bv),jv=y({},wa,{animationName:0,elapsedTime:0,pseudoElement:0}),Sv=Zt(jv),Nv=y({},wa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wv=Zt(Nv),Cv=y({},wa,{data:0}),Od=Zt(Cv),Ev={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Tv={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"},Rv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Av(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Rv[e])?!!t[e]:!1}function Ko(){return Av}var Mv=y({},Ri,{key:function(e){if(e.key){var t=Ev[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Xc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Tv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ko,charCode:function(e){return e.type==="keypress"?Xc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ov=Zt(Mv),zv=y({},Kc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),zd=Zt(zv),Dv=y({},Ri,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ko}),Lv=Zt(Dv),Bv=y({},wa,{propertyName:0,elapsedTime:0,pseudoElement:0}),kv=Zt(Bv),Uv=y({},Kc,{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}),Hv=Zt(Uv),$v=y({},wa,{newState:0,oldState:0}),qv=Zt($v),Gv=[9,13,27,32],Po=ml&&"CompositionEvent"in window,Mi=null;ml&&"documentMode"in document&&(Mi=document.documentMode);var Fv=ml&&"TextEvent"in window&&!Mi,Dd=ml&&(!Po||Mi&&8<Mi&&11>=Mi),Ld=" ",Bd=!1;function kd(e,t){switch(e){case"keyup":return Gv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ud(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ys=!1;function Vv(e,t){switch(e){case"compositionend":return Ud(t);case"keypress":return t.which!==32?null:(Bd=!0,Ld);case"textInput":return e=t.data,e===Ld&&Bd?null:e;default:return null}}function Qv(e,t){if(ys)return e==="compositionend"||!Po&&kd(e,t)?(e=Rd(),Yc=Yo=ql=null,ys=!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 Dd&&t.locale!=="ko"?null:t.data;default:return null}}var Yv={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 Hd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Yv[e.type]:t==="textarea"}function $d(e,t,n,a){gs?_s?_s.push(a):_s=[a]:gs=a,t=Hr(t,"onChange"),0<t.length&&(n=new Ic("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var Oi=null,zi=null;function Xv(e){S1(e,0)}function Pc(e){var t=Ci(e);if(bd(t))return e}function qd(e,t){if(e==="change")return t}var Gd=!1;if(ml){var Wo;if(ml){var Jo="oninput"in document;if(!Jo){var Fd=document.createElement("div");Fd.setAttribute("oninput","return;"),Jo=typeof Fd.oninput=="function"}Wo=Jo}else Wo=!1;Gd=Wo&&(!document.documentMode||9<document.documentMode)}function Vd(){Oi&&(Oi.detachEvent("onpropertychange",Qd),zi=Oi=null)}function Qd(e){if(e.propertyName==="value"&&Pc(zi)){var t=[];$d(t,zi,e,Fo(e)),Td(Xv,t)}}function Zv(e,t,n){e==="focusin"?(Vd(),Oi=t,zi=n,Oi.attachEvent("onpropertychange",Qd)):e==="focusout"&&Vd()}function Iv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Pc(zi)}function Kv(e,t){if(e==="click")return Pc(t)}function Pv(e,t){if(e==="input"||e==="change")return Pc(t)}function Wv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dn=typeof Object.is=="function"?Object.is:Wv;function Di(e,t){if(dn(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 o=n[a];if(!os.call(t,o)||!dn(e[o],t[o]))return!1}return!0}function Yd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xd(e,t){var n=Yd(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=Yd(n)}}function Zd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Id(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Vc(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=Vc(e.document)}return t}function eu(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 Jv=ml&&"documentMode"in document&&11>=document.documentMode,xs=null,tu=null,Li=null,nu=!1;function Kd(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nu||xs==null||xs!==Vc(a)||(a=xs,"selectionStart"in a&&eu(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}),Li&&Di(Li,a)||(Li=a,a=Hr(tu,"onSelect"),0<a.length&&(t=new Ic("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=xs)))}function Ca(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var bs={animationend:Ca("Animation","AnimationEnd"),animationiteration:Ca("Animation","AnimationIteration"),animationstart:Ca("Animation","AnimationStart"),transitionrun:Ca("Transition","TransitionRun"),transitionstart:Ca("Transition","TransitionStart"),transitioncancel:Ca("Transition","TransitionCancel"),transitionend:Ca("Transition","TransitionEnd")},lu={},Pd={};ml&&(Pd=document.createElement("div").style,"AnimationEvent"in window||(delete bs.animationend.animation,delete bs.animationiteration.animation,delete bs.animationstart.animation),"TransitionEvent"in window||delete bs.transitionend.transition);function Ea(e){if(lu[e])return lu[e];if(!bs[e])return e;var t=bs[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Pd)return lu[e]=t[n];return e}var Wd=Ea("animationend"),Jd=Ea("animationiteration"),ef=Ea("animationstart"),eg=Ea("transitionrun"),tg=Ea("transitionstart"),ng=Ea("transitioncancel"),tf=Ea("transitionend"),nf=new Map,au="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(" ");au.push("scrollEnd");function $n(e,t){nf.set(e,t),Na(t,[e])}var Wc=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)},Tn=[],js=0,su=0;function Jc(){for(var e=js,t=su=js=0;t<e;){var n=Tn[t];Tn[t++]=null;var a=Tn[t];Tn[t++]=null;var o=Tn[t];Tn[t++]=null;var u=Tn[t];if(Tn[t++]=null,a!==null&&o!==null){var p=a.pending;p===null?o.next=o:(o.next=p.next,p.next=o),a.pending=o}u!==0&&lf(n,o,u)}}function er(e,t,n,a){Tn[js++]=e,Tn[js++]=t,Tn[js++]=n,Tn[js++]=a,su|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function iu(e,t,n,a){return er(e,t,n,a),tr(e)}function Ta(e,t){return er(e,null,null,t),tr(e)}function lf(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var o=!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||(o=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,o&&t!==null&&(o=31-un(n),e=u.hiddenUpdates,a=e[o],a===null?e[o]=[t]:a.push(t),t.lane=n|536870912),u):null}function tr(e){if(50<lc)throw lc=0,p0=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ss={};function lg(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 fn(e,t,n,a){return new lg(e,t,n,a)}function cu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pl(e,t){var n=e.alternate;return n===null?(n=fn(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 af(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 nr(e,t,n,a,o,u){var p=0;if(a=e,typeof e=="function")cu(e)&&(p=1);else if(typeof e=="string")p=r_(e,n,te.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ae:return e=fn(31,n,t,o),e.elementType=ae,e.lanes=u,e;case E:return Ra(n.children,o,u,t);case T:p=8,o|=24;break;case O:return e=fn(12,n,t,o|2),e.elementType=O,e.lanes=u,e;case Y:return e=fn(13,n,t,o),e.elementType=Y,e.lanes=u,e;case J:return e=fn(19,n,t,o),e.elementType=J,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case z:p=10;break e;case H:p=9;break e;case G:p=11;break e;case $:p=14;break e;case Z:p=16,a=null;break e}p=29,n=Error(r(130,e===null?"null":typeof e,"")),a=null}return t=fn(p,n,t,o),t.elementType=e,t.type=a,t.lanes=u,t}function Ra(e,t,n,a){return e=fn(7,e,a,t),e.lanes=n,e}function ru(e,t,n){return e=fn(6,e,null,t),e.lanes=n,e}function sf(e){var t=fn(18,null,null,0);return t.stateNode=e,t}function ou(e,t,n){return t=fn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var cf=new WeakMap;function Rn(e,t){if(typeof e=="object"&&e!==null){var n=cf.get(e);return n!==void 0?n:(t={value:e,source:t,stack:bi(t)},cf.set(e,t),t)}return{value:e,source:t,stack:bi(t)}}var Ns=[],ws=0,lr=null,Bi=0,An=[],Mn=0,Gl=null,Zn=1,In="";function vl(e,t){Ns[ws++]=Bi,Ns[ws++]=lr,lr=e,Bi=t}function rf(e,t,n){An[Mn++]=Zn,An[Mn++]=In,An[Mn++]=Gl,Gl=e;var a=Zn;e=In;var o=32-un(a)-1;a&=~(1<<o),n+=1;var u=32-un(t)+o;if(30<u){var p=o-o%5;u=(a&(1<<p)-1).toString(32),a>>=p,o-=p,Zn=1<<32-un(t)+o|n<<o|a,In=u+e}else Zn=1<<u|n<<o|a,In=e}function uu(e){e.return!==null&&(vl(e,1),rf(e,1,0))}function du(e){for(;e===lr;)lr=Ns[--ws],Ns[ws]=null,Bi=Ns[--ws],Ns[ws]=null;for(;e===Gl;)Gl=An[--Mn],An[Mn]=null,In=An[--Mn],An[Mn]=null,Zn=An[--Mn],An[Mn]=null}function of(e,t){An[Mn++]=Zn,An[Mn++]=In,An[Mn++]=Gl,Zn=t.id,In=t.overflow,Gl=e}var Mt=null,We=null,Oe=!1,Fl=null,On=!1,fu=Error(r(519));function Vl(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ki(Rn(t,e)),fu}function uf(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[At]=e,t[Xt]=a,n){case"dialog":Ce("cancel",t),Ce("close",t);break;case"iframe":case"object":case"embed":Ce("load",t);break;case"video":case"audio":for(n=0;n<sc.length;n++)Ce(sc[n],t);break;case"source":Ce("error",t);break;case"img":case"image":case"link":Ce("error",t),Ce("load",t);break;case"details":Ce("toggle",t);break;case"input":Ce("invalid",t),jd(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Ce("invalid",t);break;case"textarea":Ce("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||E1(t.textContent,n)?(a.popover!=null&&(Ce("beforetoggle",t),Ce("toggle",t)),a.onScroll!=null&&Ce("scroll",t),a.onScrollEnd!=null&&Ce("scrollend",t),a.onClick!=null&&(t.onclick=hl),t=!0):t=!1,t||Vl(e,!0)}function df(e){for(Mt=e.return;Mt;)switch(Mt.tag){case 5:case 31:case 13:On=!1;return;case 27:case 3:On=!0;return;default:Mt=Mt.return}}function Cs(e){if(e!==Mt)return!1;if(!Oe)return df(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")||A0(e.type,e.memoizedProps)),n=!n),n&&We&&Vl(e),df(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));We=B1(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));We=B1(e)}else t===27?(t=We,aa(e.type)?(e=L0,L0=null,We=e):We=t):We=Mt?Dn(e.stateNode.nextSibling):null;return!0}function Aa(){We=Mt=null,Oe=!1}function hu(){var e=Fl;return e!==null&&(Wt===null?Wt=e:Wt.push.apply(Wt,e),Fl=null),e}function ki(e){Fl===null?Fl=[e]:Fl.push(e)}var mu=R(null),Ma=null,gl=null;function Ql(e,t,n){K(mu,t._currentValue),t._currentValue=n}function _l(e){e._currentValue=mu.current,V(mu)}function pu(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 vu(e,t,n,a){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var u=o.dependencies;if(u!==null){var p=o.child;u=u.firstContext;e:for(;u!==null;){var x=u;u=o;for(var w=0;w<t.length;w++)if(x.context===t[w]){u.lanes|=n,x=u.alternate,x!==null&&(x.lanes|=n),pu(u.return,n,e),a||(p=null);break e}u=x.next}}else if(o.tag===18){if(p=o.return,p===null)throw Error(r(341));p.lanes|=n,u=p.alternate,u!==null&&(u.lanes|=n),pu(p,n,e),p=null}else p=o.child;if(p!==null)p.return=o;else for(p=o;p!==null;){if(p===e){p=null;break}if(o=p.sibling,o!==null){o.return=p.return,p=o;break}p=p.return}o=p}}function Es(e,t,n,a){e=null;for(var o=t,u=!1;o!==null;){if(!u){if((o.flags&524288)!==0)u=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var p=o.alternate;if(p===null)throw Error(r(387));if(p=p.memoizedProps,p!==null){var x=o.type;dn(o.pendingProps.value,p.value)||(e!==null?e.push(x):e=[x])}}else if(o===De.current){if(p=o.alternate,p===null)throw Error(r(387));p.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(uc):e=[uc])}o=o.return}e!==null&&vu(t,e,n,a),t.flags|=262144}function ar(e){for(e=e.firstContext;e!==null;){if(!dn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Oa(e){Ma=e,gl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ot(e){return ff(Ma,e)}function sr(e,t){return Ma===null&&Oa(e),ff(e,t)}function ff(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},gl===null){if(e===null)throw Error(r(308));gl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else gl=gl.next=t;return n}var ag=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()})}},sg=s.unstable_scheduleCallback,ig=s.unstable_NormalPriority,pt={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function gu(){return{controller:new ag,data:new Map,refCount:0}}function Ui(e){e.refCount--,e.refCount===0&&sg(ig,function(){e.controller.abort()})}var Hi=null,_u=0,Ts=0,Rs=null;function cg(e,t){if(Hi===null){var n=Hi=[];_u=0,Ts=b0(),Rs={status:"pending",value:void 0,then:function(a){n.push(a)}}}return _u++,t.then(hf,hf),t}function hf(){if(--_u===0&&Hi!==null){Rs!==null&&(Rs.status="fulfilled");var e=Hi;Hi=null,Ts=0,Rs=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function rg(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){for(a.status="rejected",a.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),a}var mf=U.S;U.S=function(e,t){Ph=rn(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&cg(e,t),mf!==null&&mf(e,t)};var za=R(null);function yu(){var e=za.current;return e!==null?e:Ze.pooledCache}function ir(e,t){t===null?K(za,za.current):K(za,t.pool)}function pf(){var e=yu();return e===null?null:{parent:pt._currentValue,pool:e}}var As=Error(r(460)),xu=Error(r(474)),cr=Error(r(542)),rr={then:function(){}};function vf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function gf(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(hl,hl),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yf(e),e;default:if(typeof t.status=="string")t.then(hl,hl);else{if(e=Ze,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=a}},function(a){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yf(e),e}throw La=t,As}}function Da(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(La=n,As):n}}var La=null;function _f(){if(La===null)throw Error(r(459));var e=La;return La=null,e}function yf(e){if(e===As||e===cr)throw Error(r(483))}var Ms=null,$i=0;function or(e){var t=$i;return $i+=1,Ms===null&&(Ms=[]),gf(Ms,e,t)}function qi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ur(e,t){throw t.$$typeof===b?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function xf(e){function t(M,A){if(e){var D=M.deletions;D===null?(M.deletions=[A],M.flags|=16):D.push(A)}}function n(M,A){if(!e)return null;for(;A!==null;)t(M,A),A=A.sibling;return null}function a(M){for(var A=new Map;M!==null;)M.key!==null?A.set(M.key,M):A.set(M.index,M),M=M.sibling;return A}function o(M,A){return M=pl(M,A),M.index=0,M.sibling=null,M}function u(M,A,D){return M.index=D,e?(D=M.alternate,D!==null?(D=D.index,D<A?(M.flags|=67108866,A):D):(M.flags|=67108866,A)):(M.flags|=1048576,A)}function p(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function x(M,A,D,F){return A===null||A.tag!==6?(A=ru(D,M.mode,F),A.return=M,A):(A=o(A,D),A.return=M,A)}function w(M,A,D,F){var ce=D.type;return ce===E?q(M,A,D.props.children,F,D.key):A!==null&&(A.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===Z&&Da(ce)===A.type)?(A=o(A,D.props),qi(A,D),A.return=M,A):(A=nr(D.type,D.key,D.props,null,M.mode,F),qi(A,D),A.return=M,A)}function L(M,A,D,F){return A===null||A.tag!==4||A.stateNode.containerInfo!==D.containerInfo||A.stateNode.implementation!==D.implementation?(A=ou(D,M.mode,F),A.return=M,A):(A=o(A,D.children||[]),A.return=M,A)}function q(M,A,D,F,ce){return A===null||A.tag!==7?(A=Ra(D,M.mode,F,ce),A.return=M,A):(A=o(A,D),A.return=M,A)}function Q(M,A,D){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=ru(""+A,M.mode,D),A.return=M,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case N:return D=nr(A.type,A.key,A.props,null,M.mode,D),qi(D,A),D.return=M,D;case S:return A=ou(A,M.mode,D),A.return=M,A;case Z:return A=Da(A),Q(M,A,D)}if(ue(A)||Ne(A))return A=Ra(A,M.mode,D,null),A.return=M,A;if(typeof A.then=="function")return Q(M,or(A),D);if(A.$$typeof===z)return Q(M,sr(M,A),D);ur(M,A)}return null}function B(M,A,D,F){var ce=A!==null?A.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return ce!==null?null:x(M,A,""+D,F);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case N:return D.key===ce?w(M,A,D,F):null;case S:return D.key===ce?L(M,A,D,F):null;case Z:return D=Da(D),B(M,A,D,F)}if(ue(D)||Ne(D))return ce!==null?null:q(M,A,D,F,null);if(typeof D.then=="function")return B(M,A,or(D),F);if(D.$$typeof===z)return B(M,A,sr(M,D),F);ur(M,D)}return null}function k(M,A,D,F,ce){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return M=M.get(D)||null,x(A,M,""+F,ce);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case N:return M=M.get(F.key===null?D:F.key)||null,w(A,M,F,ce);case S:return M=M.get(F.key===null?D:F.key)||null,L(A,M,F,ce);case Z:return F=Da(F),k(M,A,D,F,ce)}if(ue(F)||Ne(F))return M=M.get(D)||null,q(A,M,F,ce,null);if(typeof F.then=="function")return k(M,A,D,or(F),ce);if(F.$$typeof===z)return k(M,A,D,sr(A,F),ce);ur(A,F)}return null}function ne(M,A,D,F){for(var ce=null,ke=null,le=A,be=A=0,Me=null;le!==null&&be<D.length;be++){le.index>be?(Me=le,le=null):Me=le.sibling;var Ue=B(M,le,D[be],F);if(Ue===null){le===null&&(le=Me);break}e&&le&&Ue.alternate===null&&t(M,le),A=u(Ue,A,be),ke===null?ce=Ue:ke.sibling=Ue,ke=Ue,le=Me}if(be===D.length)return n(M,le),Oe&&vl(M,be),ce;if(le===null){for(;be<D.length;be++)le=Q(M,D[be],F),le!==null&&(A=u(le,A,be),ke===null?ce=le:ke.sibling=le,ke=le);return Oe&&vl(M,be),ce}for(le=a(le);be<D.length;be++)Me=k(le,M,be,D[be],F),Me!==null&&(e&&Me.alternate!==null&&le.delete(Me.key===null?be:Me.key),A=u(Me,A,be),ke===null?ce=Me:ke.sibling=Me,ke=Me);return e&&le.forEach(function(oa){return t(M,oa)}),Oe&&vl(M,be),ce}function fe(M,A,D,F){if(D==null)throw Error(r(151));for(var ce=null,ke=null,le=A,be=A=0,Me=null,Ue=D.next();le!==null&&!Ue.done;be++,Ue=D.next()){le.index>be?(Me=le,le=null):Me=le.sibling;var oa=B(M,le,Ue.value,F);if(oa===null){le===null&&(le=Me);break}e&&le&&oa.alternate===null&&t(M,le),A=u(oa,A,be),ke===null?ce=oa:ke.sibling=oa,ke=oa,le=Me}if(Ue.done)return n(M,le),Oe&&vl(M,be),ce;if(le===null){for(;!Ue.done;be++,Ue=D.next())Ue=Q(M,Ue.value,F),Ue!==null&&(A=u(Ue,A,be),ke===null?ce=Ue:ke.sibling=Ue,ke=Ue);return Oe&&vl(M,be),ce}for(le=a(le);!Ue.done;be++,Ue=D.next())Ue=k(le,M,be,Ue.value,F),Ue!==null&&(e&&Ue.alternate!==null&&le.delete(Ue.key===null?be:Ue.key),A=u(Ue,A,be),ke===null?ce=Ue:ke.sibling=Ue,ke=Ue);return e&&le.forEach(function(y_){return t(M,y_)}),Oe&&vl(M,be),ce}function Xe(M,A,D,F){if(typeof D=="object"&&D!==null&&D.type===E&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case N:e:{for(var ce=D.key;A!==null;){if(A.key===ce){if(ce=D.type,ce===E){if(A.tag===7){n(M,A.sibling),F=o(A,D.props.children),F.return=M,M=F;break e}}else if(A.elementType===ce||typeof ce=="object"&&ce!==null&&ce.$$typeof===Z&&Da(ce)===A.type){n(M,A.sibling),F=o(A,D.props),qi(F,D),F.return=M,M=F;break e}n(M,A);break}else t(M,A);A=A.sibling}D.type===E?(F=Ra(D.props.children,M.mode,F,D.key),F.return=M,M=F):(F=nr(D.type,D.key,D.props,null,M.mode,F),qi(F,D),F.return=M,M=F)}return p(M);case S:e:{for(ce=D.key;A!==null;){if(A.key===ce)if(A.tag===4&&A.stateNode.containerInfo===D.containerInfo&&A.stateNode.implementation===D.implementation){n(M,A.sibling),F=o(A,D.children||[]),F.return=M,M=F;break e}else{n(M,A);break}else t(M,A);A=A.sibling}F=ou(D,M.mode,F),F.return=M,M=F}return p(M);case Z:return D=Da(D),Xe(M,A,D,F)}if(ue(D))return ne(M,A,D,F);if(Ne(D)){if(ce=Ne(D),typeof ce!="function")throw Error(r(150));return D=ce.call(D),fe(M,A,D,F)}if(typeof D.then=="function")return Xe(M,A,or(D),F);if(D.$$typeof===z)return Xe(M,A,sr(M,D),F);ur(M,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,A!==null&&A.tag===6?(n(M,A.sibling),F=o(A,D),F.return=M,M=F):(n(M,A),F=ru(D,M.mode,F),F.return=M,M=F),p(M)):n(M,A)}return function(M,A,D,F){try{$i=0;var ce=Xe(M,A,D,F);return Ms=null,ce}catch(le){if(le===As||le===cr)throw le;var ke=fn(29,le,null,M.mode);return ke.lanes=F,ke.return=M,ke}finally{}}}var Ba=xf(!0),bf=xf(!1),Yl=!1;function bu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ju(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 Xl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Zl(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(He&2)!==0){var o=a.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=tr(e),lf(e,null,n),t}return er(e,a,t,n),tr(e)}function Gi(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,dd(e,n)}}function Su(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var p={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?o=u=p:u=u.next=p,n=n.next}while(n!==null);u===null?o=u=t:u=u.next=t}else o=u=t;n={baseState:a.baseState,firstBaseUpdate:o,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 Nu=!1;function Fi(){if(Nu){var e=Rs;if(e!==null)throw e}}function Vi(e,t,n,a){Nu=!1;var o=e.updateQueue;Yl=!1;var u=o.firstBaseUpdate,p=o.lastBaseUpdate,x=o.shared.pending;if(x!==null){o.shared.pending=null;var w=x,L=w.next;w.next=null,p===null?u=L:p.next=L,p=w;var q=e.alternate;q!==null&&(q=q.updateQueue,x=q.lastBaseUpdate,x!==p&&(x===null?q.firstBaseUpdate=L:x.next=L,q.lastBaseUpdate=w))}if(u!==null){var Q=o.baseState;p=0,q=L=w=null,x=u;do{var B=x.lane&-536870913,k=B!==x.lane;if(k?(Ae&B)===B:(a&B)===B){B!==0&&B===Ts&&(Nu=!0),q!==null&&(q=q.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var ne=e,fe=x;B=t;var Xe=n;switch(fe.tag){case 1:if(ne=fe.payload,typeof ne=="function"){Q=ne.call(Xe,Q,B);break e}Q=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=fe.payload,B=typeof ne=="function"?ne.call(Xe,Q,B):ne,B==null)break e;Q=y({},Q,B);break e;case 2:Yl=!0}}B=x.callback,B!==null&&(e.flags|=64,k&&(e.flags|=8192),k=o.callbacks,k===null?o.callbacks=[B]:k.push(B))}else k={lane:B,tag:x.tag,payload:x.payload,callback:x.callback,next:null},q===null?(L=q=k,w=Q):q=q.next=k,p|=B;if(x=x.next,x===null){if(x=o.shared.pending,x===null)break;k=x,x=k.next,k.next=null,o.lastBaseUpdate=k,o.shared.pending=null}}while(!0);q===null&&(w=Q),o.baseState=w,o.firstBaseUpdate=L,o.lastBaseUpdate=q,u===null&&(o.shared.lanes=0),Jl|=p,e.lanes=p,e.memoizedState=Q}}function jf(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function Sf(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)jf(n[e],t)}var Os=R(null),dr=R(0);function Nf(e,t){e=El,K(dr,e),K(Os,t),El=e|t.baseLanes}function wu(){K(dr,El),K(Os,Os.current)}function Cu(){El=dr.current,V(Os),V(dr)}var hn=R(null),zn=null;function Il(e){var t=e.alternate;K(ut,ut.current&1),K(hn,e),zn===null&&(t===null||Os.current!==null||t.memoizedState!==null)&&(zn=e)}function Eu(e){K(ut,ut.current),K(hn,e),zn===null&&(zn=e)}function wf(e){e.tag===22?(K(ut,ut.current),K(hn,e),zn===null&&(zn=e)):Kl()}function Kl(){K(ut,ut.current),K(hn,hn.current)}function mn(e){V(hn),zn===e&&(zn=null),V(ut)}var ut=R(0);function fr(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||z0(n)||D0(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 yl=0,ye=null,Qe=null,vt=null,hr=!1,zs=!1,ka=!1,mr=0,Qi=0,Ds=null,og=0;function st(){throw Error(r(321))}function Tu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!dn(e[n],t[n]))return!1;return!0}function Ru(e,t,n,a,o,u){return yl=u,ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,U.H=e===null||e.memoizedState===null?rh:Vu,ka=!1,u=n(a,o),ka=!1,zs&&(u=Ef(t,n,a,o)),Cf(e),u}function Cf(e){U.H=Zi;var t=Qe!==null&&Qe.next!==null;if(yl=0,vt=Qe=ye=null,hr=!1,Qi=0,Ds=null,t)throw Error(r(300));e===null||gt||(e=e.dependencies,e!==null&&ar(e)&&(gt=!0))}function Ef(e,t,n,a){ye=e;var o=0;do{if(zs&&(Ds=null),Qi=0,zs=!1,25<=o)throw Error(r(301));if(o+=1,vt=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=oh,u=t(n,a)}while(zs);return u}function ug(){var e=U.H,t=e.useState()[0];return t=typeof t.then=="function"?Yi(t):t,e=e.useState()[0],(Qe!==null?Qe.memoizedState:null)!==e&&(ye.flags|=1024),t}function Au(){var e=mr!==0;return mr=0,e}function Mu(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Ou(e){if(hr){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}hr=!1}yl=0,vt=Qe=ye=null,zs=!1,Qi=mr=0,Ds=null}function Ht(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return vt===null?ye.memoizedState=vt=e:vt=vt.next=e,vt}function dt(){if(Qe===null){var e=ye.alternate;e=e!==null?e.memoizedState:null}else e=Qe.next;var t=vt===null?ye.memoizedState:vt.next;if(t!==null)vt=t,Qe=e;else{if(e===null)throw ye.alternate===null?Error(r(467)):Error(r(310));Qe=e,e={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},vt===null?ye.memoizedState=vt=e:vt=vt.next=e}return vt}function pr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yi(e){var t=Qi;return Qi+=1,Ds===null&&(Ds=[]),e=gf(Ds,e,t),t=ye,(vt===null?t.memoizedState:vt.next)===null&&(t=t.alternate,U.H=t===null||t.memoizedState===null?rh:Vu),e}function vr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Yi(e);if(e.$$typeof===z)return Ot(e)}throw Error(r(438,String(e)))}function zu(e){var t=null,n=ye.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=ye.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=pr(),ye.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]=pe;return t.index++,n}function xl(e,t){return typeof t=="function"?t(e):t}function gr(e){var t=dt();return Du(t,Qe,e)}function Du(e,t,n){var a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=n;var o=e.baseQueue,u=a.pending;if(u!==null){if(o!==null){var p=o.next;o.next=u.next,u.next=p}t.baseQueue=o=u,a.pending=null}if(u=e.baseState,o===null)e.memoizedState=u;else{t=o.next;var x=p=null,w=null,L=t,q=!1;do{var Q=L.lane&-536870913;if(Q!==L.lane?(Ae&Q)===Q:(yl&Q)===Q){var B=L.revertLane;if(B===0)w!==null&&(w=w.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),Q===Ts&&(q=!0);else if((yl&B)===B){L=L.next,B===Ts&&(q=!0);continue}else Q={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},w===null?(x=w=Q,p=u):w=w.next=Q,ye.lanes|=B,Jl|=B;Q=L.action,ka&&n(u,Q),u=L.hasEagerState?L.eagerState:n(u,Q)}else B={lane:Q,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},w===null?(x=w=B,p=u):w=w.next=B,ye.lanes|=Q,Jl|=Q;L=L.next}while(L!==null&&L!==t);if(w===null?p=u:w.next=x,!dn(u,e.memoizedState)&&(gt=!0,q&&(n=Rs,n!==null)))throw n;e.memoizedState=u,e.baseState=p,e.baseQueue=w,a.lastRenderedState=u}return o===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Lu(e){var t=dt(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var a=n.dispatch,o=n.pending,u=t.memoizedState;if(o!==null){n.pending=null;var p=o=o.next;do u=e(u,p.action),p=p.next;while(p!==o);dn(u,t.memoizedState)||(gt=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,a]}function Tf(e,t,n){var a=ye,o=dt(),u=Oe;if(u){if(n===void 0)throw Error(r(407));n=n()}else n=t();var p=!dn((Qe||o).memoizedState,n);if(p&&(o.memoizedState=n,gt=!0),o=o.queue,Uu(Mf.bind(null,a,o,e),[e]),o.getSnapshot!==t||p||vt!==null&&vt.memoizedState.tag&1){if(a.flags|=2048,Ls(9,{destroy:void 0},Af.bind(null,a,o,n,t),null),Ze===null)throw Error(r(349));u||(yl&127)!==0||Rf(a,t,n)}return n}function Rf(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ye.updateQueue,t===null?(t=pr(),ye.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Af(e,t,n,a){t.value=n,t.getSnapshot=a,Of(t)&&zf(e)}function Mf(e,t,n){return n(function(){Of(t)&&zf(e)})}function Of(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!dn(e,n)}catch{return!0}}function zf(e){var t=Ta(e,2);t!==null&&Jt(t,e,2)}function Bu(e){var t=Ht();if(typeof e=="function"){var n=e;if(e=n(),ka){Hl(!0);try{n()}finally{Hl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xl,lastRenderedState:e},t}function Df(e,t,n,a){return e.baseState=n,Du(e,Qe,typeof a=="function"?a:xl)}function dg(e,t,n,a,o){if(xr(e))throw Error(r(485));if(e=t.action,e!==null){var u={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){u.listeners.push(p)}};U.T!==null?n(!0):u.isTransition=!1,a(u),n=t.pending,n===null?(u.next=t.pending=u,Lf(t,u)):(u.next=n.next,t.pending=n.next=u)}}function Lf(e,t){var n=t.action,a=t.payload,o=e.state;if(t.isTransition){var u=U.T,p={};U.T=p;try{var x=n(o,a),w=U.S;w!==null&&w(p,x),Bf(e,t,x)}catch(L){ku(e,t,L)}finally{u!==null&&p.types!==null&&(u.types=p.types),U.T=u}}else try{u=n(o,a),Bf(e,t,u)}catch(L){ku(e,t,L)}}function Bf(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){kf(e,t,a)},function(a){return ku(e,t,a)}):kf(e,t,n)}function kf(e,t,n){t.status="fulfilled",t.value=n,Uf(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Lf(e,n)))}function ku(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,Uf(t),t=t.next;while(t!==a)}e.action=null}function Uf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Hf(e,t){return t}function $f(e,t){if(Oe){var n=Ze.formState;if(n!==null){e:{var a=ye;if(Oe){if(We){t:{for(var o=We,u=On;o.nodeType!==8;){if(!u){o=null;break t}if(o=Dn(o.nextSibling),o===null){o=null;break t}}u=o.data,o=u==="F!"||u==="F"?o:null}if(o){We=Dn(o.nextSibling),a=o.data==="F!";break e}}Vl(a)}a=!1}a&&(t=n[0])}}return n=Ht(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hf,lastRenderedState:t},n.queue=a,n=sh.bind(null,ye,a),a.dispatch=n,a=Bu(!1),u=Fu.bind(null,ye,!1,a.queue),a=Ht(),o={state:t,dispatch:null,action:e,pending:null},a.queue=o,n=dg.bind(null,ye,o,u,n),o.dispatch=n,a.memoizedState=e,[t,n,!1]}function qf(e){var t=dt();return Gf(t,Qe,e)}function Gf(e,t,n){if(t=Du(e,t,Hf)[0],e=gr(xl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Yi(t)}catch(p){throw p===As?cr:p}else a=t;t=dt();var o=t.queue,u=o.dispatch;return n!==t.memoizedState&&(ye.flags|=2048,Ls(9,{destroy:void 0},fg.bind(null,o,n),null)),[a,u,e]}function fg(e,t){e.action=t}function Ff(e){var t=dt(),n=Qe;if(n!==null)return Gf(t,n,e);dt(),t=t.memoizedState,n=dt();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Ls(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=ye.updateQueue,t===null&&(t=pr(),ye.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 Vf(){return dt().memoizedState}function _r(e,t,n,a){var o=Ht();ye.flags|=e,o.memoizedState=Ls(1|t,{destroy:void 0},n,a===void 0?null:a)}function yr(e,t,n,a){var o=dt();a=a===void 0?null:a;var u=o.memoizedState.inst;Qe!==null&&a!==null&&Tu(a,Qe.memoizedState.deps)?o.memoizedState=Ls(t,u,n,a):(ye.flags|=e,o.memoizedState=Ls(1|t,u,n,a))}function Qf(e,t){_r(8390656,8,e,t)}function Uu(e,t){yr(2048,8,e,t)}function hg(e){ye.flags|=4;var t=ye.updateQueue;if(t===null)t=pr(),ye.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Yf(e){var t=dt().memoizedState;return hg({ref:t,nextImpl:e}),function(){if((He&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Xf(e,t){return yr(4,2,e,t)}function Zf(e,t){return yr(4,4,e,t)}function If(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 Kf(e,t,n){n=n!=null?n.concat([e]):null,yr(4,4,If.bind(null,t,e),n)}function Hu(){}function Pf(e,t){var n=dt();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&Tu(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Wf(e,t){var n=dt();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Tu(t,a[1]))return a[0];if(a=e(),ka){Hl(!0);try{e()}finally{Hl(!1)}}return n.memoizedState=[a,t],a}function $u(e,t,n){return n===void 0||(yl&1073741824)!==0&&(Ae&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Jh(),ye.lanes|=e,Jl|=e,n)}function Jf(e,t,n,a){return dn(n,t)?n:Os.current!==null?(e=$u(e,n,a),dn(e,t)||(gt=!0),e):(yl&42)===0||(yl&1073741824)!==0&&(Ae&261930)===0?(gt=!0,e.memoizedState=n):(e=Jh(),ye.lanes|=e,Jl|=e,t)}function eh(e,t,n,a,o){var u=X.p;X.p=u!==0&&8>u?u:8;var p=U.T,x={};U.T=x,Fu(e,!1,t,n);try{var w=o(),L=U.S;if(L!==null&&L(x,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){var q=rg(w,a);Xi(e,t,q,gn(e))}else Xi(e,t,a,gn(e))}catch(Q){Xi(e,t,{then:function(){},status:"rejected",reason:Q},gn())}finally{X.p=u,p!==null&&x.types!==null&&(p.types=x.types),U.T=p}}function mg(){}function qu(e,t,n,a){if(e.tag!==5)throw Error(r(476));var o=th(e).queue;eh(e,o,t,se,n===null?mg:function(){return nh(e),n(a)})}function th(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:se,baseState:se,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xl,lastRenderedState:se},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xl,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function nh(e){var t=th(e);t.next===null&&(t=e.alternate.memoizedState),Xi(e,t.next.queue,{},gn())}function Gu(){return Ot(uc)}function lh(){return dt().memoizedState}function ah(){return dt().memoizedState}function pg(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=gn();e=Xl(n);var a=Zl(t,e,n);a!==null&&(Jt(a,t,n),Gi(a,t,n)),t={cache:gu()},e.payload=t;return}t=t.return}}function vg(e,t,n){var a=gn();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},xr(e)?ih(t,n):(n=iu(e,t,n,a),n!==null&&(Jt(n,e,a),ch(n,t,a)))}function sh(e,t,n){var a=gn();Xi(e,t,n,a)}function Xi(e,t,n,a){var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(xr(e))ih(t,o);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var p=t.lastRenderedState,x=u(p,n);if(o.hasEagerState=!0,o.eagerState=x,dn(x,p))return er(e,t,o,0),Ze===null&&Jc(),!1}catch{}finally{}if(n=iu(e,t,o,a),n!==null)return Jt(n,e,a),ch(n,t,a),!0}return!1}function Fu(e,t,n,a){if(a={lane:2,revertLane:b0(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},xr(e)){if(t)throw Error(r(479))}else t=iu(e,n,a,2),t!==null&&Jt(t,e,2)}function xr(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function ih(e,t){zs=hr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ch(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,dd(e,n)}}var Zi={readContext:Ot,use:vr,useCallback:st,useContext:st,useEffect:st,useImperativeHandle:st,useLayoutEffect:st,useInsertionEffect:st,useMemo:st,useReducer:st,useRef:st,useState:st,useDebugValue:st,useDeferredValue:st,useTransition:st,useSyncExternalStore:st,useId:st,useHostTransitionStatus:st,useFormState:st,useActionState:st,useOptimistic:st,useMemoCache:st,useCacheRefresh:st};Zi.useEffectEvent=st;var rh={readContext:Ot,use:vr,useCallback:function(e,t){return Ht().memoizedState=[e,t===void 0?null:t],e},useContext:Ot,useEffect:Qf,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,_r(4194308,4,If.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _r(4194308,4,e,t)},useInsertionEffect:function(e,t){_r(4,2,e,t)},useMemo:function(e,t){var n=Ht();t=t===void 0?null:t;var a=e();if(ka){Hl(!0);try{e()}finally{Hl(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Ht();if(n!==void 0){var o=n(t);if(ka){Hl(!0);try{n(t)}finally{Hl(!1)}}}else o=t;return a.memoizedState=a.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},a.queue=e,e=e.dispatch=vg.bind(null,ye,e),[a.memoizedState,e]},useRef:function(e){var t=Ht();return e={current:e},t.memoizedState=e},useState:function(e){e=Bu(e);var t=e.queue,n=sh.bind(null,ye,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Hu,useDeferredValue:function(e,t){var n=Ht();return $u(n,e,t)},useTransition:function(){var e=Bu(!1);return e=eh.bind(null,ye,e.queue,!0,!1),Ht().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=ye,o=Ht();if(Oe){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Ze===null)throw Error(r(349));(Ae&127)!==0||Rf(a,t,n)}o.memoizedState=n;var u={value:n,getSnapshot:t};return o.queue=u,Qf(Mf.bind(null,a,u,e),[e]),a.flags|=2048,Ls(9,{destroy:void 0},Af.bind(null,a,u,n,t),null),n},useId:function(){var e=Ht(),t=Ze.identifierPrefix;if(Oe){var n=In,a=Zn;n=(a&~(1<<32-un(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=mr++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=og++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Gu,useFormState:$f,useActionState:$f,useOptimistic:function(e){var t=Ht();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Fu.bind(null,ye,!0,n),n.dispatch=t,[e,t]},useMemoCache:zu,useCacheRefresh:function(){return Ht().memoizedState=pg.bind(null,ye)},useEffectEvent:function(e){var t=Ht(),n={impl:e};return t.memoizedState=n,function(){if((He&2)!==0)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},Vu={readContext:Ot,use:vr,useCallback:Pf,useContext:Ot,useEffect:Uu,useImperativeHandle:Kf,useInsertionEffect:Xf,useLayoutEffect:Zf,useMemo:Wf,useReducer:gr,useRef:Vf,useState:function(){return gr(xl)},useDebugValue:Hu,useDeferredValue:function(e,t){var n=dt();return Jf(n,Qe.memoizedState,e,t)},useTransition:function(){var e=gr(xl)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Yi(e),t]},useSyncExternalStore:Tf,useId:lh,useHostTransitionStatus:Gu,useFormState:qf,useActionState:qf,useOptimistic:function(e,t){var n=dt();return Df(n,Qe,e,t)},useMemoCache:zu,useCacheRefresh:ah};Vu.useEffectEvent=Yf;var oh={readContext:Ot,use:vr,useCallback:Pf,useContext:Ot,useEffect:Uu,useImperativeHandle:Kf,useInsertionEffect:Xf,useLayoutEffect:Zf,useMemo:Wf,useReducer:Lu,useRef:Vf,useState:function(){return Lu(xl)},useDebugValue:Hu,useDeferredValue:function(e,t){var n=dt();return Qe===null?$u(n,e,t):Jf(n,Qe.memoizedState,e,t)},useTransition:function(){var e=Lu(xl)[0],t=dt().memoizedState;return[typeof e=="boolean"?e:Yi(e),t]},useSyncExternalStore:Tf,useId:lh,useHostTransitionStatus:Gu,useFormState:Ff,useActionState:Ff,useOptimistic:function(e,t){var n=dt();return Qe!==null?Df(n,Qe,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:zu,useCacheRefresh:ah};oh.useEffectEvent=Yf;function Qu(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 Yu={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=gn(),o=Xl(a);o.payload=t,n!=null&&(o.callback=n),t=Zl(e,o,a),t!==null&&(Jt(t,e,a),Gi(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=gn(),o=Xl(a);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Zl(e,o,a),t!==null&&(Jt(t,e,a),Gi(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gn(),a=Xl(n);a.tag=2,t!=null&&(a.callback=t),t=Zl(e,a,n),t!==null&&(Jt(t,e,n),Gi(t,e,n))}};function uh(e,t,n,a,o,u,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,p):t.prototype&&t.prototype.isPureReactComponent?!Di(n,a)||!Di(o,u):!0}function dh(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&&Yu.enqueueReplaceState(t,t.state,null)}function Ua(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=y({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function fh(e){Wc(e)}function hh(e){console.error(e)}function mh(e){Wc(e)}function br(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function ph(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Xu(e,t,n){return n=Xl(n),n.tag=3,n.payload={element:null},n.callback=function(){br(e,t)},n}function vh(e){return e=Xl(e),e.tag=3,e}function gh(e,t,n,a){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var u=a.value;e.payload=function(){return o(u)},e.callback=function(){ph(t,n,a)}}var p=n.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){ph(t,n,a),typeof o!="function"&&(ea===null?ea=new Set([this]):ea.add(this));var x=a.stack;this.componentDidCatch(a.value,{componentStack:x!==null?x:""})})}function gg(e,t,n,a,o){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Es(t,n,o,!0),n=hn.current,n!==null){switch(n.tag){case 31:case 13:return zn===null?zr():n.alternate===null&&it===0&&(it=3),n.flags&=-257,n.flags|=65536,n.lanes=o,a===rr?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),_0(e,a,o)),!1;case 22:return n.flags|=65536,a===rr?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)),_0(e,a,o)),!1}throw Error(r(435,n.tag))}return _0(e,a,o),zr(),!1}if(Oe)return t=hn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,a!==fu&&(e=Error(r(422),{cause:a}),ki(Rn(e,n)))):(a!==fu&&(t=Error(r(423),{cause:a}),ki(Rn(t,n))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,a=Rn(a,n),o=Xu(e.stateNode,a,o),Su(e,o),it!==4&&(it=2)),!1;var u=Error(r(520),{cause:a});if(u=Rn(u,n),nc===null?nc=[u]:nc.push(u),it!==4&&(it=2),t===null)return!0;a=Rn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=Xu(n.stateNode,a,e),Su(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"&&(ea===null||!ea.has(u))))return n.flags|=65536,o&=-o,n.lanes|=o,o=vh(o),gh(o,e,n,a),Su(n,o),!1}n=n.return}while(n!==null);return!1}var Zu=Error(r(461)),gt=!1;function zt(e,t,n,a){t.child=e===null?bf(t,null,n,a):Ba(t,e.child,n,a)}function _h(e,t,n,a,o){n=n.render;var u=t.ref;if("ref"in a){var p={};for(var x in a)x!=="ref"&&(p[x]=a[x])}else p=a;return Oa(t),a=Ru(e,t,n,p,u,o),x=Au(),e!==null&&!gt?(Mu(e,t,o),bl(e,t,o)):(Oe&&x&&uu(t),t.flags|=1,zt(e,t,a,o),t.child)}function yh(e,t,n,a,o){if(e===null){var u=n.type;return typeof u=="function"&&!cu(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,xh(e,t,u,a,o)):(e=nr(n.type,null,a,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!n0(e,o)){var p=u.memoizedProps;if(n=n.compare,n=n!==null?n:Di,n(p,a)&&e.ref===t.ref)return bl(e,t,o)}return t.flags|=1,e=pl(u,a),e.ref=t.ref,e.return=t,t.child=e}function xh(e,t,n,a,o){if(e!==null){var u=e.memoizedProps;if(Di(u,a)&&e.ref===t.ref)if(gt=!1,t.pendingProps=a=u,n0(e,o))(e.flags&131072)!==0&&(gt=!0);else return t.lanes=e.lanes,bl(e,t,o)}return Iu(e,t,n,a,o)}function bh(e,t,n,a){var o=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,o=0;a!==null;)o=o|a.lanes|a.childLanes,a=a.sibling;a=o&~u}else a=0,t.child=null;return jh(e,t,u,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ir(t,u!==null?u.cachePool:null),u!==null?Nf(t,u):wu(),wf(t);else return a=t.lanes=536870912,jh(e,t,u!==null?u.baseLanes|n:n,n,a)}else u!==null?(ir(t,u.cachePool),Nf(t,u),Kl(),t.memoizedState=null):(e!==null&&ir(t,null),wu(),Kl());return zt(e,t,o,n),t.child}function Ii(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function jh(e,t,n,a,o){var u=yu();return u=u===null?null:{parent:pt._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&ir(t,null),wu(),wf(t),e!==null&&Es(e,t,a,!0),t.childLanes=o,null}function jr(e,t){return t=Nr({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Sh(e,t,n){return Ba(t,e.child,null,n),e=jr(t,t.pendingProps),e.flags|=2,mn(t),t.memoizedState=null,e}function _g(e,t,n){var a=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Oe){if(a.mode==="hidden")return e=jr(t,a),t.lanes=536870912,Ii(null,e);if(Eu(t),(e=We)?(e=L1(e,On),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Gl!==null?{id:Zn,overflow:In}:null,retryLane:536870912,hydrationErrors:null},n=sf(e),n.return=t,t.child=n,Mt=t,We=null)):e=null,e===null)throw Vl(t);return t.lanes=536870912,null}return jr(t,a)}var u=e.memoizedState;if(u!==null){var p=u.dehydrated;if(Eu(t),o)if(t.flags&256)t.flags&=-257,t=Sh(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(gt||Es(e,t,n,!1),o=(n&e.childLanes)!==0,gt||o){if(a=Ze,a!==null&&(p=fd(a,n),p!==0&&p!==u.retryLane))throw u.retryLane=p,Ta(e,p),Jt(a,e,p),Zu;zr(),t=Sh(e,t,n)}else e=u.treeContext,We=Dn(p.nextSibling),Mt=t,Oe=!0,Fl=null,On=!1,e!==null&&of(t,e),t=jr(t,a),t.flags|=4096;return t}return e=pl(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Sr(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(r(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Iu(e,t,n,a,o){return Oa(t),n=Ru(e,t,n,a,void 0,o),a=Au(),e!==null&&!gt?(Mu(e,t,o),bl(e,t,o)):(Oe&&a&&uu(t),t.flags|=1,zt(e,t,n,o),t.child)}function Nh(e,t,n,a,o,u){return Oa(t),t.updateQueue=null,n=Ef(t,a,n,o),Cf(e),a=Au(),e!==null&&!gt?(Mu(e,t,u),bl(e,t,u)):(Oe&&a&&uu(t),t.flags|=1,zt(e,t,n,u),t.child)}function wh(e,t,n,a,o){if(Oa(t),t.stateNode===null){var u=Ss,p=n.contextType;typeof p=="object"&&p!==null&&(u=Ot(p)),u=new n(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Yu,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},bu(t),p=n.contextType,u.context=typeof p=="object"&&p!==null?Ot(p):Ss,u.state=t.memoizedState,p=n.getDerivedStateFromProps,typeof p=="function"&&(Qu(t,n,p,a),u.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(p=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),p!==u.state&&Yu.enqueueReplaceState(u,u.state,null),Vi(t,a,u,o),Fi(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var x=t.memoizedProps,w=Ua(n,x);u.props=w;var L=u.context,q=n.contextType;p=Ss,typeof q=="object"&&q!==null&&(p=Ot(q));var Q=n.getDerivedStateFromProps;q=typeof Q=="function"||typeof u.getSnapshotBeforeUpdate=="function",x=t.pendingProps!==x,q||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(x||L!==p)&&dh(t,u,a,p),Yl=!1;var B=t.memoizedState;u.state=B,Vi(t,a,u,o),Fi(),L=t.memoizedState,x||B!==L||Yl?(typeof Q=="function"&&(Qu(t,n,Q,a),L=t.memoizedState),(w=Yl||uh(t,n,w,a,B,L,p))?(q||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=L),u.props=a,u.state=L,u.context=p,a=w):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,ju(e,t),p=t.memoizedProps,q=Ua(n,p),u.props=q,Q=t.pendingProps,B=u.context,L=n.contextType,w=Ss,typeof L=="object"&&L!==null&&(w=Ot(L)),x=n.getDerivedStateFromProps,(L=typeof x=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(p!==Q||B!==w)&&dh(t,u,a,w),Yl=!1,B=t.memoizedState,u.state=B,Vi(t,a,u,o),Fi();var k=t.memoizedState;p!==Q||B!==k||Yl||e!==null&&e.dependencies!==null&&ar(e.dependencies)?(typeof x=="function"&&(Qu(t,n,x,a),k=t.memoizedState),(q=Yl||uh(t,n,q,a,B,k,w)||e!==null&&e.dependencies!==null&&ar(e.dependencies))?(L||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,k,w),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,k,w)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||p===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=k),u.props=a,u.state=k,u.context=w,a=q):(typeof u.componentDidUpdate!="function"||p===e.memoizedProps&&B===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&B===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,Sr(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=Ba(t,e.child,null,o),t.child=Ba(t,null,n,o)):zt(e,t,n,o),t.memoizedState=u.state,e=t.child):e=bl(e,t,o),e}function Ch(e,t,n,a){return Aa(),t.flags|=256,zt(e,t,n,a),t.child}var Ku={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Pu(e){return{baseLanes:e,cachePool:pf()}}function Wu(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=vn),e}function Eh(e,t,n){var a=t.pendingProps,o=!1,u=(t.flags&128)!==0,p;if((p=u)||(p=e!==null&&e.memoizedState===null?!1:(ut.current&2)!==0),p&&(o=!0,t.flags&=-129),p=(t.flags&32)!==0,t.flags&=-33,e===null){if(Oe){if(o?Il(t):Kl(),(e=We)?(e=L1(e,On),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Gl!==null?{id:Zn,overflow:In}:null,retryLane:536870912,hydrationErrors:null},n=sf(e),n.return=t,t.child=n,Mt=t,We=null)):e=null,e===null)throw Vl(t);return D0(e)?t.lanes=32:t.lanes=536870912,null}var x=a.children;return a=a.fallback,o?(Kl(),o=t.mode,x=Nr({mode:"hidden",children:x},o),a=Ra(a,o,n,null),x.return=t,a.return=t,x.sibling=a,t.child=x,a=t.child,a.memoizedState=Pu(n),a.childLanes=Wu(e,p,n),t.memoizedState=Ku,Ii(null,a)):(Il(t),Ju(t,x))}var w=e.memoizedState;if(w!==null&&(x=w.dehydrated,x!==null)){if(u)t.flags&256?(Il(t),t.flags&=-257,t=e0(e,t,n)):t.memoizedState!==null?(Kl(),t.child=e.child,t.flags|=128,t=null):(Kl(),x=a.fallback,o=t.mode,a=Nr({mode:"visible",children:a.children},o),x=Ra(x,o,n,null),x.flags|=2,a.return=t,x.return=t,a.sibling=x,t.child=a,Ba(t,e.child,null,n),a=t.child,a.memoizedState=Pu(n),a.childLanes=Wu(e,p,n),t.memoizedState=Ku,t=Ii(null,a));else if(Il(t),D0(x)){if(p=x.nextSibling&&x.nextSibling.dataset,p)var L=p.dgst;p=L,a=Error(r(419)),a.stack="",a.digest=p,ki({value:a,source:null,stack:null}),t=e0(e,t,n)}else if(gt||Es(e,t,n,!1),p=(n&e.childLanes)!==0,gt||p){if(p=Ze,p!==null&&(a=fd(p,n),a!==0&&a!==w.retryLane))throw w.retryLane=a,Ta(e,a),Jt(p,e,a),Zu;z0(x)||zr(),t=e0(e,t,n)}else z0(x)?(t.flags|=192,t.child=e.child,t=null):(e=w.treeContext,We=Dn(x.nextSibling),Mt=t,Oe=!0,Fl=null,On=!1,e!==null&&of(t,e),t=Ju(t,a.children),t.flags|=4096);return t}return o?(Kl(),x=a.fallback,o=t.mode,w=e.child,L=w.sibling,a=pl(w,{mode:"hidden",children:a.children}),a.subtreeFlags=w.subtreeFlags&65011712,L!==null?x=pl(L,x):(x=Ra(x,o,n,null),x.flags|=2),x.return=t,a.return=t,a.sibling=x,t.child=a,Ii(null,a),a=t.child,x=e.child.memoizedState,x===null?x=Pu(n):(o=x.cachePool,o!==null?(w=pt._currentValue,o=o.parent!==w?{parent:w,pool:w}:o):o=pf(),x={baseLanes:x.baseLanes|n,cachePool:o}),a.memoizedState=x,a.childLanes=Wu(e,p,n),t.memoizedState=Ku,Ii(e.child,a)):(Il(t),n=e.child,e=n.sibling,n=pl(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(p=t.deletions,p===null?(t.deletions=[e],t.flags|=16):p.push(e)),t.child=n,t.memoizedState=null,n)}function Ju(e,t){return t=Nr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Nr(e,t){return e=fn(22,e,null,t),e.lanes=0,e}function e0(e,t,n){return Ba(t,e.child,null,n),e=Ju(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Th(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),pu(e.return,t,n)}function t0(e,t,n,a,o,u){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:o,treeForkCount:u}:(p.isBackwards=t,p.rendering=null,p.renderingStartTime=0,p.last=a,p.tail=n,p.tailMode=o,p.treeForkCount=u)}function Rh(e,t,n){var a=t.pendingProps,o=a.revealOrder,u=a.tail;a=a.children;var p=ut.current,x=(p&2)!==0;if(x?(p=p&1|2,t.flags|=128):p&=1,K(ut,p),zt(e,t,a,n),a=Oe?Bi:0,!x&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Th(e,n,t);else if(e.tag===19)Th(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(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&fr(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),t0(t,!1,o,n,u,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&fr(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}t0(t,!0,n,null,u,a);break;case"together":t0(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function bl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Es(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=pl(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=pl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function n0(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ar(e)))}function yg(e,t,n){switch(t.tag){case 3:yt(t,t.stateNode.containerInfo),Ql(t,pt,e.memoizedState.cache),Aa();break;case 27:case 5:Xn(t);break;case 4:yt(t,t.stateNode.containerInfo);break;case 10:Ql(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Eu(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Il(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Eh(e,t,n):(Il(t),e=bl(e,t,n),e!==null?e.sibling:null);Il(t);break;case 19:var o=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Es(e,t,n,!1),a=(n&t.childLanes)!==0),o){if(a)return Rh(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),K(ut,ut.current),a)break;return null;case 22:return t.lanes=0,bh(e,t,n,t.pendingProps);case 24:Ql(t,pt,e.memoizedState.cache)}return bl(e,t,n)}function Ah(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)gt=!0;else{if(!n0(e,n)&&(t.flags&128)===0)return gt=!1,yg(e,t,n);gt=(e.flags&131072)!==0}else gt=!1,Oe&&(t.flags&1048576)!==0&&rf(t,Bi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Da(t.elementType),t.type=e,typeof e=="function")cu(e)?(a=Ua(e,a),t.tag=1,t=wh(null,t,e,a,n)):(t.tag=0,t=Iu(null,t,e,a,n));else{if(e!=null){var o=e.$$typeof;if(o===G){t.tag=11,t=_h(null,t,e,a,n);break e}else if(o===$){t.tag=14,t=yh(null,t,e,a,n);break e}}throw t=me(e)||e,Error(r(306,t,""))}}return t;case 0:return Iu(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,o=Ua(a,t.pendingProps),wh(e,t,a,o,n);case 3:e:{if(yt(t,t.stateNode.containerInfo),e===null)throw Error(r(387));a=t.pendingProps;var u=t.memoizedState;o=u.element,ju(e,t),Vi(t,a,null,n);var p=t.memoizedState;if(a=p.cache,Ql(t,pt,a),a!==u.cache&&vu(t,[pt],n,!0),Fi(),a=p.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Ch(e,t,a,n);break e}else if(a!==o){o=Rn(Error(r(424)),t),ki(o),t=Ch(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(We=Dn(e.firstChild),Mt=t,Oe=!0,Fl=null,On=!0,n=bf(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Aa(),a===o){t=bl(e,t,n);break e}zt(e,t,a,n)}t=t.child}return t;case 26:return Sr(e,t),e===null?(n=q1(t.type,null,t.pendingProps,null))?t.memoizedState=n:Oe||(n=t.type,e=t.pendingProps,a=$r(xe.current).createElement(n),a[At]=t,a[Xt]=e,Dt(a,n,e),wt(a),t.stateNode=a):t.memoizedState=q1(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Xn(t),e===null&&Oe&&(a=t.stateNode=U1(t.type,t.pendingProps,xe.current),Mt=t,On=!0,o=We,aa(t.type)?(L0=o,We=Dn(a.firstChild)):We=o),zt(e,t,t.pendingProps.children,n),Sr(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Oe&&((o=a=We)&&(a=Ig(a,t.type,t.pendingProps,On),a!==null?(t.stateNode=a,Mt=t,We=Dn(a.firstChild),On=!1,o=!0):o=!1),o||Vl(t)),Xn(t),o=t.type,u=t.pendingProps,p=e!==null?e.memoizedProps:null,a=u.children,A0(o,u)?a=null:p!==null&&A0(o,p)&&(t.flags|=32),t.memoizedState!==null&&(o=Ru(e,t,ug,null,null,n),uc._currentValue=o),Sr(e,t),zt(e,t,a,n),t.child;case 6:return e===null&&Oe&&((e=n=We)&&(n=Kg(n,t.pendingProps,On),n!==null?(t.stateNode=n,Mt=t,We=null,e=!0):e=!1),e||Vl(t)),null;case 13:return Eh(e,t,n);case 4:return yt(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ba(t,null,a,n):zt(e,t,a,n),t.child;case 11:return _h(e,t,t.type,t.pendingProps,n);case 7:return zt(e,t,t.pendingProps,n),t.child;case 8:return zt(e,t,t.pendingProps.children,n),t.child;case 12:return zt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,Ql(t,t.type,a.value),zt(e,t,a.children,n),t.child;case 9:return o=t.type._context,a=t.pendingProps.children,Oa(t),o=Ot(o),a=a(o),t.flags|=1,zt(e,t,a,n),t.child;case 14:return yh(e,t,t.type,t.pendingProps,n);case 15:return xh(e,t,t.type,t.pendingProps,n);case 19:return Rh(e,t,n);case 31:return _g(e,t,n);case 22:return bh(e,t,n,t.pendingProps);case 24:return Oa(t),a=Ot(pt),e===null?(o=yu(),o===null&&(o=Ze,u=gu(),o.pooledCache=u,u.refCount++,u!==null&&(o.pooledCacheLanes|=n),o=u),t.memoizedState={parent:a,cache:o},bu(t),Ql(t,pt,o)):((e.lanes&n)!==0&&(ju(e,t),Vi(t,null,null,n),Fi()),o=e.memoizedState,u=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Ql(t,pt,a)):(a=u.cache,Ql(t,pt,a),a!==o.cache&&vu(t,[pt],n,!0))),zt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function jl(e){e.flags|=4}function l0(e,t,n,a,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(l1())e.flags|=8192;else throw La=rr,xu}else e.flags&=-16777217}function Mh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Y1(t))if(l1())e.flags|=8192;else throw La=rr,xu}function wr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?od():536870912,e.lanes|=t,Hs|=t)}function Ki(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 Je(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&65011712,a|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function xg(e,t,n){var a=t.pendingProps;switch(du(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Je(t),null;case 1:return Je(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),_l(pt),Ke(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Cs(t)?jl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,hu())),Je(t),null;case 26:var o=t.type,u=t.memoizedState;return e===null?(jl(t),u!==null?(Je(t),Mh(t,u)):(Je(t),l0(t,o,null,a,n))):u?u!==e.memoizedState?(jl(t),Je(t),Mh(t,u)):(Je(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&jl(t),Je(t),l0(t,o,e,a,n)),null;case 27:if(ol(t),n=xe.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&jl(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return Je(t),null}e=te.current,Cs(t)?uf(t):(e=U1(o,a,n),t.stateNode=e,jl(t))}return Je(t),null;case 5:if(ol(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&jl(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return Je(t),null}if(u=te.current,Cs(t))uf(t);else{var p=$r(xe.current);switch(u){case 1:u=p.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:u=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":u=p.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":u=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":u=p.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?p.createElement("select",{is:a.is}):p.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?p.createElement(o,{is:a.is}):p.createElement(o)}}u[At]=t,u[Xt]=a;e:for(p=t.child;p!==null;){if(p.tag===5||p.tag===6)u.appendChild(p.stateNode);else if(p.tag!==4&&p.tag!==27&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)break e;for(;p.sibling===null;){if(p.return===null||p.return===t)break e;p=p.return}p.sibling.return=p.return,p=p.sibling}t.stateNode=u;e:switch(Dt(u,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&jl(t)}}return Je(t),l0(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&jl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(r(166));if(e=xe.current,Cs(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,o=Mt,o!==null)switch(o.tag){case 27:case 5:a=o.memoizedProps}e[At]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||E1(e.nodeValue,n)),e||Vl(t,!0)}else e=$r(e).createTextNode(a),e[At]=t,t.stateNode=e}return Je(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Cs(t),n!==null){if(e===null){if(!a)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[At]=t}else Aa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Je(t),e=!1}else n=hu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(mn(t),t):(mn(t),null);if((t.flags&128)!==0)throw Error(r(558))}return Je(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Cs(t),a!==null&&a.dehydrated!==null){if(e===null){if(!o)throw Error(r(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));o[At]=t}else Aa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Je(t),o=!1}else o=hu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(mn(t),t):(mn(t),null)}return mn(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==o&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),wr(t,t.updateQueue),Je(t),null);case 4:return Ke(),e===null&&w0(t.stateNode.containerInfo),Je(t),null;case 10:return _l(t.type),Je(t),null;case 19:if(V(ut),a=t.memoizedState,a===null)return Je(t),null;if(o=(t.flags&128)!==0,u=a.rendering,u===null)if(o)Ki(a,!1);else{if(it!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=fr(e),u!==null){for(t.flags|=128,Ki(a,!1),e=u.updateQueue,t.updateQueue=e,wr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)af(n,e),n=n.sibling;return K(ut,ut.current&1|2),Oe&&vl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&rn()>Ar&&(t.flags|=128,o=!0,Ki(a,!1),t.lanes=4194304)}else{if(!o)if(e=fr(u),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,wr(t,e),Ki(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!Oe)return Je(t),null}else 2*rn()-a.renderingStartTime>Ar&&n!==536870912&&(t.flags|=128,o=!0,Ki(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=rn(),e.sibling=null,n=ut.current,K(ut,o?n&1|2:n&1),Oe&&vl(t,a.treeForkCount),e):(Je(t),null);case 22:case 23:return mn(t),Cu(),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&&(Je(t),t.subtreeFlags&6&&(t.flags|=8192)):Je(t),n=t.updateQueue,n!==null&&wr(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&&V(za),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),_l(pt),Je(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function bg(e,t){switch(du(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _l(pt),Ke(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ol(t),null;case 31:if(t.memoizedState!==null){if(mn(t),t.alternate===null)throw Error(r(340));Aa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(mn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Aa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(ut),null;case 4:return Ke(),null;case 10:return _l(t.type),null;case 22:case 23:return mn(t),Cu(),e!==null&&V(za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return _l(pt),null;case 25:return null;default:return null}}function Oh(e,t){switch(du(t),t.tag){case 3:_l(pt),Ke();break;case 26:case 27:case 5:ol(t);break;case 4:Ke();break;case 31:t.memoizedState!==null&&mn(t);break;case 13:mn(t);break;case 19:V(ut);break;case 10:_l(t.type);break;case 22:case 23:mn(t),Cu(),e!==null&&V(za);break;case 24:_l(pt)}}function Pi(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var o=a.next;n=o;do{if((n.tag&e)===e){a=void 0;var u=n.create,p=n.inst;a=u(),p.destroy=a}n=n.next}while(n!==o)}}catch(x){Ge(t,t.return,x)}}function Pl(e,t,n){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var u=o.next;a=u;do{if((a.tag&e)===e){var p=a.inst,x=p.destroy;if(x!==void 0){p.destroy=void 0,o=t;var w=n,L=x;try{L()}catch(q){Ge(o,w,q)}}}a=a.next}while(a!==u)}}catch(q){Ge(t,t.return,q)}}function zh(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Sf(t,n)}catch(a){Ge(e,e.return,a)}}}function Dh(e,t,n){n.props=Ua(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Ge(e,t,a)}}function Wi(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(o){Ge(e,t,o)}}function Kn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(o){Ge(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){Ge(e,t,o)}else n.current=null}function Lh(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(o){Ge(e,e.return,o)}}function a0(e,t,n){try{var a=e.stateNode;Fg(a,e.type,n,t),a[Xt]=t}catch(o){Ge(e,e.return,o)}}function Bh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&aa(e.type)||e.tag===4}function s0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Bh(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&&aa(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 i0(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=hl));else if(a!==4&&(a===27&&aa(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(i0(e,t,n),e=e.sibling;e!==null;)i0(e,t,n),e=e.sibling}function Cr(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&&aa(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Cr(e,t,n),e=e.sibling;e!==null;)Cr(e,t,n),e=e.sibling}function kh(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Dt(t,a,n),t[At]=e,t[Xt]=n}catch(u){Ge(e,e.return,u)}}var Sl=!1,_t=!1,c0=!1,Uh=typeof WeakSet=="function"?WeakSet:Set,Ct=null;function jg(e,t){if(e=e.containerInfo,T0=Xr,e=Id(e),eu(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 o=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var p=0,x=-1,w=-1,L=0,q=0,Q=e,B=null;t:for(;;){for(var k;Q!==n||o!==0&&Q.nodeType!==3||(x=p+o),Q!==u||a!==0&&Q.nodeType!==3||(w=p+a),Q.nodeType===3&&(p+=Q.nodeValue.length),(k=Q.firstChild)!==null;)B=Q,Q=k;for(;;){if(Q===e)break t;if(B===n&&++L===o&&(x=p),B===u&&++q===a&&(w=p),(k=Q.nextSibling)!==null)break;Q=B,B=Q.parentNode}Q=k}n=x===-1||w===-1?null:{start:x,end:w}}else n=null}n=n||{start:0,end:0}}else n=null;for(R0={focusedElem:e,selectionRange:n},Xr=!1,Ct=t;Ct!==null;)if(t=Ct,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ct=e;else for(;Ct!==null;){switch(t=Ct,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++)o=e[n],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,n=t,o=u.memoizedProps,u=u.memoizedState,a=n.stateNode;try{var ne=Ua(n.type,o);e=a.getSnapshotBeforeUpdate(ne,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(fe){Ge(n,n.return,fe)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)O0(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":O0(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,Ct=e;break}Ct=t.return}}function Hh(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:wl(e,n),a&4&&Pi(5,n);break;case 1:if(wl(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(p){Ge(n,n.return,p)}else{var o=Ua(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(p){Ge(n,n.return,p)}}a&64&&zh(n),a&512&&Wi(n,n.return);break;case 3:if(wl(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{Sf(e,t)}catch(p){Ge(n,n.return,p)}}break;case 27:t===null&&a&4&&kh(n);case 26:case 5:wl(e,n),t===null&&a&4&&Lh(n),a&512&&Wi(n,n.return);break;case 12:wl(e,n);break;case 31:wl(e,n),a&4&&Gh(e,n);break;case 13:wl(e,n),a&4&&Fh(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Mg.bind(null,n),Pg(e,n))));break;case 22:if(a=n.memoizedState!==null||Sl,!a){t=t!==null&&t.memoizedState!==null||_t,o=Sl;var u=_t;Sl=a,(_t=t)&&!u?Cl(e,n,(n.subtreeFlags&8772)!==0):wl(e,n),Sl=o,_t=u}break;case 30:break;default:wl(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&&ko(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 nt=null,It=!1;function Nl(e,t,n){for(n=n.child;n!==null;)qh(e,t,n),n=n.sibling}function qh(e,t,n){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(ji,n)}catch{}switch(n.tag){case 26:_t||Kn(n,t),Nl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:_t||Kn(n,t);var a=nt,o=It;aa(n.type)&&(nt=n.stateNode,It=!1),Nl(e,t,n),cc(n.stateNode),nt=a,It=o;break;case 5:_t||Kn(n,t);case 6:if(a=nt,o=It,nt=null,Nl(e,t,n),nt=a,It=o,nt!==null)if(It)try{(nt.nodeType===9?nt.body:nt.nodeName==="HTML"?nt.ownerDocument.body:nt).removeChild(n.stateNode)}catch(u){Ge(n,t,u)}else try{nt.removeChild(n.stateNode)}catch(u){Ge(n,t,u)}break;case 18:nt!==null&&(It?(e=nt,z1(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Xs(e)):z1(nt,n.stateNode));break;case 4:a=nt,o=It,nt=n.stateNode.containerInfo,It=!0,Nl(e,t,n),nt=a,It=o;break;case 0:case 11:case 14:case 15:Pl(2,n,t),_t||Pl(4,n,t),Nl(e,t,n);break;case 1:_t||(Kn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&Dh(n,t,a)),Nl(e,t,n);break;case 21:Nl(e,t,n);break;case 22:_t=(a=_t)||n.memoizedState!==null,Nl(e,t,n),_t=a;break;default:Nl(e,t,n)}}function Gh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Xs(e)}catch(n){Ge(t,t.return,n)}}}function Fh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Xs(e)}catch(n){Ge(t,t.return,n)}}function Sg(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Uh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Uh),t;default:throw Error(r(435,e.tag))}}function Er(e,t){var n=Sg(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var o=Og.bind(null,e,a);a.then(o,o)}})}function Kt(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a],u=e,p=t,x=p;e:for(;x!==null;){switch(x.tag){case 27:if(aa(x.type)){nt=x.stateNode,It=!1;break e}break;case 5:nt=x.stateNode,It=!1;break e;case 3:case 4:nt=x.stateNode.containerInfo,It=!0;break e}x=x.return}if(nt===null)throw Error(r(160));qh(u,p,o),nt=null,It=!1,u=o.alternate,u!==null&&(u.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Vh(t,e),t=t.sibling}var qn=null;function Vh(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Kt(t,e),Pt(e),a&4&&(Pl(3,e,e.return),Pi(3,e),Pl(5,e,e.return));break;case 1:Kt(t,e),Pt(e),a&512&&(_t||n===null||Kn(n,n.return)),a&64&&Sl&&(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 o=qn;if(Kt(t,e),Pt(e),a&512&&(_t||n===null||Kn(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,o=o.ownerDocument||o;t:switch(a){case"title":u=o.getElementsByTagName("title")[0],(!u||u[wi]||u[At]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=o.createElement(a),o.head.insertBefore(u,o.querySelector("head > title"))),Dt(u,a,n),u[At]=e,wt(u),a=u;break e;case"link":var p=V1("link","href",o).get(a+(n.href||""));if(p){for(var x=0;x<p.length;x++)if(u=p[x],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)){p.splice(x,1);break t}}u=o.createElement(a),Dt(u,a,n),o.head.appendChild(u);break;case"meta":if(p=V1("meta","content",o).get(a+(n.content||""))){for(x=0;x<p.length;x++)if(u=p[x],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)){p.splice(x,1);break t}}u=o.createElement(a),Dt(u,a,n),o.head.appendChild(u);break;default:throw Error(r(468,a))}u[At]=e,wt(u),a=u}e.stateNode=a}else Q1(o,e.type,e.stateNode);else e.stateNode=F1(o,a,e.memoizedProps);else u!==a?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,a===null?Q1(o,e.type,e.stateNode):F1(o,a,e.memoizedProps)):a===null&&e.stateNode!==null&&a0(e,e.memoizedProps,n.memoizedProps)}break;case 27:Kt(t,e),Pt(e),a&512&&(_t||n===null||Kn(n,n.return)),n!==null&&a&4&&a0(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Kt(t,e),Pt(e),a&512&&(_t||n===null||Kn(n,n.return)),e.flags&32){o=e.stateNode;try{vs(o,"")}catch(ne){Ge(e,e.return,ne)}}a&4&&e.stateNode!=null&&(o=e.memoizedProps,a0(e,o,n!==null?n.memoizedProps:o)),a&1024&&(c0=!0);break;case 6:if(Kt(t,e),Pt(e),a&4){if(e.stateNode===null)throw Error(r(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(ne){Ge(e,e.return,ne)}}break;case 3:if(Fr=null,o=qn,qn=qr(t.containerInfo),Kt(t,e),qn=o,Pt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Xs(t.containerInfo)}catch(ne){Ge(e,e.return,ne)}c0&&(c0=!1,Qh(e));break;case 4:a=qn,qn=qr(e.stateNode.containerInfo),Kt(t,e),Pt(e),qn=a;break;case 12:Kt(t,e),Pt(e);break;case 31:Kt(t,e),Pt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Er(e,a)));break;case 13:Kt(t,e),Pt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Rr=rn()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Er(e,a)));break;case 22:o=e.memoizedState!==null;var w=n!==null&&n.memoizedState!==null,L=Sl,q=_t;if(Sl=L||o,_t=q||w,Kt(t,e),_t=q,Sl=L,Pt(e),a&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(n===null||w||Sl||_t||Ha(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){w=n=t;try{if(u=w.stateNode,o)p=u.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{x=w.stateNode;var Q=w.memoizedProps.style,B=Q!=null&&Q.hasOwnProperty("display")?Q.display:null;x.style.display=B==null||typeof B=="boolean"?"":(""+B).trim()}}catch(ne){Ge(w,w.return,ne)}}}else if(t.tag===6){if(n===null){w=t;try{w.stateNode.nodeValue=o?"":w.memoizedProps}catch(ne){Ge(w,w.return,ne)}}}else if(t.tag===18){if(n===null){w=t;try{var k=w.stateNode;o?D1(k,!0):D1(w.stateNode,!1)}catch(ne){Ge(w,w.return,ne)}}}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,Er(e,n))));break;case 19:Kt(t,e),Pt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Er(e,a)));break;case 30:break;case 21:break;default:Kt(t,e),Pt(e)}}function Pt(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(Bh(a)){n=a;break}a=a.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var o=n.stateNode,u=s0(e);Cr(e,u,o);break;case 5:var p=n.stateNode;n.flags&32&&(vs(p,""),n.flags&=-33);var x=s0(e);Cr(e,x,p);break;case 3:case 4:var w=n.stateNode.containerInfo,L=s0(e);i0(e,L,w);break;default:throw Error(r(161))}}catch(q){Ge(e,e.return,q)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Qh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Qh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function wl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Hh(e,t.alternate,t),t=t.sibling}function Ha(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Pl(4,t,t.return),Ha(t);break;case 1:Kn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Dh(t,t.return,n),Ha(t);break;case 27:cc(t.stateNode);case 26:case 5:Kn(t,t.return),Ha(t);break;case 22:t.memoizedState===null&&Ha(t);break;case 30:Ha(t);break;default:Ha(t)}e=e.sibling}}function Cl(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,o=e,u=t,p=u.flags;switch(u.tag){case 0:case 11:case 15:Cl(o,u,n),Pi(4,u);break;case 1:if(Cl(o,u,n),a=u,o=a.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(L){Ge(a,a.return,L)}if(a=u,o=a.updateQueue,o!==null){var x=a.stateNode;try{var w=o.shared.hiddenCallbacks;if(w!==null)for(o.shared.hiddenCallbacks=null,o=0;o<w.length;o++)jf(w[o],x)}catch(L){Ge(a,a.return,L)}}n&&p&64&&zh(u),Wi(u,u.return);break;case 27:kh(u);case 26:case 5:Cl(o,u,n),n&&a===null&&p&4&&Lh(u),Wi(u,u.return);break;case 12:Cl(o,u,n);break;case 31:Cl(o,u,n),n&&p&4&&Gh(o,u);break;case 13:Cl(o,u,n),n&&p&4&&Fh(o,u);break;case 22:u.memoizedState===null&&Cl(o,u,n),Wi(u,u.return);break;case 30:break;default:Cl(o,u,n)}t=t.sibling}}function r0(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&&Ui(n))}function o0(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ui(e))}function Gn(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Yh(e,t,n,a),t=t.sibling}function Yh(e,t,n,a){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Gn(e,t,n,a),o&2048&&Pi(9,t);break;case 1:Gn(e,t,n,a);break;case 3:Gn(e,t,n,a),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ui(e)));break;case 12:if(o&2048){Gn(e,t,n,a),e=t.stateNode;try{var u=t.memoizedProps,p=u.id,x=u.onPostCommit;typeof x=="function"&&x(p,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(w){Ge(t,t.return,w)}}else Gn(e,t,n,a);break;case 31:Gn(e,t,n,a);break;case 13:Gn(e,t,n,a);break;case 23:break;case 22:u=t.stateNode,p=t.alternate,t.memoizedState!==null?u._visibility&2?Gn(e,t,n,a):Ji(e,t):u._visibility&2?Gn(e,t,n,a):(u._visibility|=2,Bs(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),o&2048&&r0(p,t);break;case 24:Gn(e,t,n,a),o&2048&&o0(t.alternate,t);break;default:Gn(e,t,n,a)}}function Bs(e,t,n,a,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,p=t,x=n,w=a,L=p.flags;switch(p.tag){case 0:case 11:case 15:Bs(u,p,x,w,o),Pi(8,p);break;case 23:break;case 22:var q=p.stateNode;p.memoizedState!==null?q._visibility&2?Bs(u,p,x,w,o):Ji(u,p):(q._visibility|=2,Bs(u,p,x,w,o)),o&&L&2048&&r0(p.alternate,p);break;case 24:Bs(u,p,x,w,o),o&&L&2048&&o0(p.alternate,p);break;default:Bs(u,p,x,w,o)}t=t.sibling}}function Ji(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,o=a.flags;switch(a.tag){case 22:Ji(n,a),o&2048&&r0(a.alternate,a);break;case 24:Ji(n,a),o&2048&&o0(a.alternate,a);break;default:Ji(n,a)}t=t.sibling}}var ec=8192;function ks(e,t,n){if(e.subtreeFlags&ec)for(e=e.child;e!==null;)Xh(e,t,n),e=e.sibling}function Xh(e,t,n){switch(e.tag){case 26:ks(e,t,n),e.flags&ec&&e.memoizedState!==null&&o_(n,qn,e.memoizedState,e.memoizedProps);break;case 5:ks(e,t,n);break;case 3:case 4:var a=qn;qn=qr(e.stateNode.containerInfo),ks(e,t,n),qn=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=ec,ec=16777216,ks(e,t,n),ec=a):ks(e,t,n));break;default:ks(e,t,n)}}function Zh(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 tc(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];Ct=a,Kh(a,e)}Zh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ih(e),e=e.sibling}function Ih(e){switch(e.tag){case 0:case 11:case 15:tc(e),e.flags&2048&&Pl(9,e,e.return);break;case 3:tc(e);break;case 12:tc(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Tr(e)):tc(e);break;default:tc(e)}}function Tr(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];Ct=a,Kh(a,e)}Zh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Pl(8,t,t.return),Tr(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Tr(t));break;default:Tr(t)}e=e.sibling}}function Kh(e,t){for(;Ct!==null;){var n=Ct;switch(n.tag){case 0:case 11:case 15:Pl(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:Ui(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,Ct=a;else e:for(n=e;Ct!==null;){a=Ct;var o=a.sibling,u=a.return;if($h(a),a===n){Ct=null;break e}if(o!==null){o.return=u,Ct=o;break e}Ct=u}}}var Ng={getCacheForType:function(e){var t=Ot(pt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ot(pt).controller.signal}},wg=typeof WeakMap=="function"?WeakMap:Map,He=0,Ze=null,we=null,Ae=0,qe=0,pn=null,Wl=!1,Us=!1,u0=!1,El=0,it=0,Jl=0,$a=0,d0=0,vn=0,Hs=0,nc=null,Wt=null,f0=!1,Rr=0,Ph=0,Ar=1/0,Mr=null,ea=null,bt=0,ta=null,$s=null,Tl=0,h0=0,m0=null,Wh=null,lc=0,p0=null;function gn(){return(He&2)!==0&&Ae!==0?Ae&-Ae:U.T!==null?b0():hd()}function Jh(){if(vn===0)if((Ae&536870912)===0||Oe){var e=Hc;Hc<<=1,(Hc&3932160)===0&&(Hc=262144),vn=e}else vn=536870912;return e=hn.current,e!==null&&(e.flags|=32),vn}function Jt(e,t,n){(e===Ze&&(qe===2||qe===9)||e.cancelPendingCommit!==null)&&(qs(e,0),na(e,Ae,vn,!1)),Ni(e,n),((He&2)===0||e!==Ze)&&(e===Ze&&((He&2)===0&&($a|=n),it===4&&na(e,Ae,vn,!1)),Pn(e))}function e1(e,t,n){if((He&6)!==0)throw Error(r(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Si(e,t),o=a?Tg(e,t):g0(e,t,!0),u=a;do{if(o===0){Us&&!a&&na(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!Cg(n)){o=g0(e,t,!1),u=!1;continue}if(o===2){if(u=t,e.errorRecoveryDisabledLanes&u)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{var x=e;o=nc;var w=x.current.memoizedState.isDehydrated;if(w&&(qs(x,p).flags|=256),p=g0(x,p,!1),p!==2){if(u0&&!w){x.errorRecoveryDisabledLanes|=u,$a|=u,o=4;break e}u=Wt,Wt=o,u!==null&&(Wt===null?Wt=u:Wt.push.apply(Wt,u))}o=p}if(u=!1,o!==2)continue}}if(o===1){qs(e,0),na(e,t,0,!0);break}e:{switch(a=e,u=o,u){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:na(a,t,vn,!Wl);break e;case 2:Wt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(o=Rr+300-rn(),10<o)){if(na(a,t,vn,!Wl),qc(a,0,!0)!==0)break e;Tl=t,a.timeoutHandle=M1(t1.bind(null,a,n,Wt,Mr,f0,t,vn,$a,Hs,Wl,u,"Throttled",-0,0),o);break e}t1(a,n,Wt,Mr,f0,t,vn,$a,Hs,Wl,u,null,-0,0)}}break}while(!0);Pn(e)}function t1(e,t,n,a,o,u,p,x,w,L,q,Q,B,k){if(e.timeoutHandle=-1,Q=t.subtreeFlags,Q&8192||(Q&16785408)===16785408){Q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:hl},Xh(t,u,Q);var ne=(u&62914560)===u?Rr-rn():(u&4194048)===u?Ph-rn():0;if(ne=u_(Q,ne),ne!==null){Tl=u,e.cancelPendingCommit=ne(o1.bind(null,e,t,u,n,a,o,p,x,w,q,Q,null,B,k)),na(e,u,p,!L);return}}o1(e,t,u,n,a,o,p,x,w)}function Cg(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 o=n[a],u=o.getSnapshot;o=o.value;try{if(!dn(u(),o))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 na(e,t,n,a){t&=~d0,t&=~$a,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var o=t;0<o;){var u=31-un(o),p=1<<u;a[u]=-1,o&=~p}n!==0&&ud(e,n,t)}function Or(){return(He&6)===0?(ac(0),!1):!0}function v0(){if(we!==null){if(qe===0)var e=we.return;else e=we,gl=Ma=null,Ou(e),Ms=null,$i=0,e=we;for(;e!==null;)Oh(e.alternate,e),e=e.return;we=null}}function qs(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Yg(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Tl=0,v0(),Ze=e,we=n=pl(e.current,null),Ae=t,qe=0,pn=null,Wl=!1,Us=Si(e,t),u0=!1,Hs=vn=d0=$a=Jl=it=0,Wt=nc=null,f0=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var o=31-un(a),u=1<<o;t|=e[o],a&=~u}return El=t,Jc(),n}function n1(e,t){ye=null,U.H=Zi,t===As||t===cr?(t=_f(),qe=3):t===xu?(t=_f(),qe=4):qe=t===Zu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,pn=t,we===null&&(it=1,br(e,Rn(t,e.current)))}function l1(){var e=hn.current;return e===null?!0:(Ae&4194048)===Ae?zn===null:(Ae&62914560)===Ae||(Ae&536870912)!==0?e===zn:!1}function a1(){var e=U.H;return U.H=Zi,e===null?Zi:e}function s1(){var e=U.A;return U.A=Ng,e}function zr(){it=4,Wl||(Ae&4194048)!==Ae&&hn.current!==null||(Us=!0),(Jl&134217727)===0&&($a&134217727)===0||Ze===null||na(Ze,Ae,vn,!1)}function g0(e,t,n){var a=He;He|=2;var o=a1(),u=s1();(Ze!==e||Ae!==t)&&(Mr=null,qs(e,t)),t=!1;var p=it;e:do try{if(qe!==0&&we!==null){var x=we,w=pn;switch(qe){case 8:v0(),p=6;break e;case 3:case 2:case 9:case 6:hn.current===null&&(t=!0);var L=qe;if(qe=0,pn=null,Gs(e,x,w,L),n&&Us){p=0;break e}break;default:L=qe,qe=0,pn=null,Gs(e,x,w,L)}}Eg(),p=it;break}catch(q){n1(e,q)}while(!0);return t&&e.shellSuspendCounter++,gl=Ma=null,He=a,U.H=o,U.A=u,we===null&&(Ze=null,Ae=0,Jc()),p}function Eg(){for(;we!==null;)i1(we)}function Tg(e,t){var n=He;He|=2;var a=a1(),o=s1();Ze!==e||Ae!==t?(Mr=null,Ar=rn()+500,qs(e,t)):Us=Si(e,t);e:do try{if(qe!==0&&we!==null){t=we;var u=pn;t:switch(qe){case 1:qe=0,pn=null,Gs(e,t,u,1);break;case 2:case 9:if(vf(u)){qe=0,pn=null,c1(t);break}t=function(){qe!==2&&qe!==9||Ze!==e||(qe=7),Pn(e)},u.then(t,t);break e;case 3:qe=7;break e;case 4:qe=5;break e;case 7:vf(u)?(qe=0,pn=null,c1(t)):(qe=0,pn=null,Gs(e,t,u,7));break;case 5:var p=null;switch(we.tag){case 26:p=we.memoizedState;case 5:case 27:var x=we;if(p?Y1(p):x.stateNode.complete){qe=0,pn=null;var w=x.sibling;if(w!==null)we=w;else{var L=x.return;L!==null?(we=L,Dr(L)):we=null}break t}}qe=0,pn=null,Gs(e,t,u,5);break;case 6:qe=0,pn=null,Gs(e,t,u,6);break;case 8:v0(),it=6;break e;default:throw Error(r(462))}}Rg();break}catch(q){n1(e,q)}while(!0);return gl=Ma=null,U.H=a,U.A=o,He=n,we!==null?0:(Ze=null,Ae=0,Jc(),it)}function Rg(){for(;we!==null&&!W3();)i1(we)}function i1(e){var t=Ah(e.alternate,e,El);e.memoizedProps=e.pendingProps,t===null?Dr(e):we=t}function c1(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Nh(n,t,t.pendingProps,t.type,void 0,Ae);break;case 11:t=Nh(n,t,t.pendingProps,t.type.render,t.ref,Ae);break;case 5:Ou(t);default:Oh(n,t),t=we=af(t,El),t=Ah(n,t,El)}e.memoizedProps=e.pendingProps,t===null?Dr(e):we=t}function Gs(e,t,n,a){gl=Ma=null,Ou(t),Ms=null,$i=0;var o=t.return;try{if(gg(e,o,t,n,Ae)){it=1,br(e,Rn(n,e.current)),we=null;return}}catch(u){if(o!==null)throw we=o,u;it=1,br(e,Rn(n,e.current)),we=null;return}t.flags&32768?(Oe||a===1?e=!0:Us||(Ae&536870912)!==0?e=!1:(Wl=e=!0,(a===2||a===9||a===3||a===6)&&(a=hn.current,a!==null&&a.tag===13&&(a.flags|=16384))),r1(t,e)):Dr(t)}function Dr(e){var t=e;do{if((t.flags&32768)!==0){r1(t,Wl);return}e=t.return;var n=xg(t.alternate,t,El);if(n!==null){we=n;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);it===0&&(it=5)}function r1(e,t){do{var n=bg(e.alternate,e);if(n!==null){n.flags&=32767,we=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){we=e;return}we=e=n}while(e!==null);it=6,we=null}function o1(e,t,n,a,o,u,p,x,w){e.cancelPendingCommit=null;do Lr();while(bt!==0);if((He&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(u=t.lanes|t.childLanes,u|=su,rv(e,n,u,p,x,w),e===Ze&&(we=Ze=null,Ae=0),$s=t,ta=e,Tl=n,h0=u,m0=o,Wh=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,zg(kc,function(){return m1(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=U.T,U.T=null,o=X.p,X.p=2,p=He,He|=4;try{jg(e,t,n)}finally{He=p,X.p=o,U.T=a}}bt=1,u1(),d1(),f1()}}function u1(){if(bt===1){bt=0;var e=ta,t=$s,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=U.T,U.T=null;var a=X.p;X.p=2;var o=He;He|=4;try{Vh(t,e);var u=R0,p=Id(e.containerInfo),x=u.focusedElem,w=u.selectionRange;if(p!==x&&x&&x.ownerDocument&&Zd(x.ownerDocument.documentElement,x)){if(w!==null&&eu(x)){var L=w.start,q=w.end;if(q===void 0&&(q=L),"selectionStart"in x)x.selectionStart=L,x.selectionEnd=Math.min(q,x.value.length);else{var Q=x.ownerDocument||document,B=Q&&Q.defaultView||window;if(B.getSelection){var k=B.getSelection(),ne=x.textContent.length,fe=Math.min(w.start,ne),Xe=w.end===void 0?fe:Math.min(w.end,ne);!k.extend&&fe>Xe&&(p=Xe,Xe=fe,fe=p);var M=Xd(x,fe),A=Xd(x,Xe);if(M&&A&&(k.rangeCount!==1||k.anchorNode!==M.node||k.anchorOffset!==M.offset||k.focusNode!==A.node||k.focusOffset!==A.offset)){var D=Q.createRange();D.setStart(M.node,M.offset),k.removeAllRanges(),fe>Xe?(k.addRange(D),k.extend(A.node,A.offset)):(D.setEnd(A.node,A.offset),k.addRange(D))}}}}for(Q=[],k=x;k=k.parentNode;)k.nodeType===1&&Q.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<Q.length;x++){var F=Q[x];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}Xr=!!T0,R0=T0=null}finally{He=o,X.p=a,U.T=n}}e.current=t,bt=2}}function d1(){if(bt===2){bt=0;var e=ta,t=$s,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=U.T,U.T=null;var a=X.p;X.p=2;var o=He;He|=4;try{Hh(e,t.alternate,t)}finally{He=o,X.p=a,U.T=n}}bt=3}}function f1(){if(bt===4||bt===3){bt=0,J3();var e=ta,t=$s,n=Tl,a=Wh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?bt=5:(bt=0,$s=ta=null,h1(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(ea=null),Lo(n),t=t.stateNode,on&&typeof on.onCommitFiberRoot=="function")try{on.onCommitFiberRoot(ji,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=U.T,o=X.p,X.p=2,U.T=null;try{for(var u=e.onRecoverableError,p=0;p<a.length;p++){var x=a[p];u(x.value,{componentStack:x.stack})}}finally{U.T=t,X.p=o}}(Tl&3)!==0&&Lr(),Pn(e),o=e.pendingLanes,(n&261930)!==0&&(o&42)!==0?e===p0?lc++:(lc=0,p0=e):lc=0,ac(0)}}function h1(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ui(t)))}function Lr(){return u1(),d1(),f1(),m1()}function m1(){if(bt!==5)return!1;var e=ta,t=h0;h0=0;var n=Lo(Tl),a=U.T,o=X.p;try{X.p=32>n?32:n,U.T=null,n=m0,m0=null;var u=ta,p=Tl;if(bt=0,$s=ta=null,Tl=0,(He&6)!==0)throw Error(r(331));var x=He;if(He|=4,Ih(u.current),Yh(u,u.current,p,n),He=x,ac(0,!1),on&&typeof on.onPostCommitFiberRoot=="function")try{on.onPostCommitFiberRoot(ji,u)}catch{}return!0}finally{X.p=o,U.T=a,h1(e,t)}}function p1(e,t,n){t=Rn(n,t),t=Xu(e.stateNode,t,2),e=Zl(e,t,2),e!==null&&(Ni(e,2),Pn(e))}function Ge(e,t,n){if(e.tag===3)p1(e,e,n);else for(;t!==null;){if(t.tag===3){p1(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ea===null||!ea.has(a))){e=Rn(n,e),n=vh(2),a=Zl(t,n,2),a!==null&&(gh(n,a,t,e),Ni(a,2),Pn(a));break}}t=t.return}}function _0(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new wg;var o=new Set;a.set(t,o)}else o=a.get(t),o===void 0&&(o=new Set,a.set(t,o));o.has(n)||(u0=!0,o.add(n),e=Ag.bind(null,e,t,n),t.then(e,e))}function Ag(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ze===e&&(Ae&n)===n&&(it===4||it===3&&(Ae&62914560)===Ae&&300>rn()-Rr?(He&2)===0&&qs(e,0):d0|=n,Hs===Ae&&(Hs=0)),Pn(e)}function v1(e,t){t===0&&(t=od()),e=Ta(e,t),e!==null&&(Ni(e,t),Pn(e))}function Mg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),v1(e,n)}function Og(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(t),v1(e,n)}function zg(e,t){return Mo(e,t)}var Br=null,Fs=null,y0=!1,kr=!1,x0=!1,la=0;function Pn(e){e!==Fs&&e.next===null&&(Fs===null?Br=Fs=e:Fs=Fs.next=e),kr=!0,y0||(y0=!0,Lg())}function ac(e,t){if(!x0&&kr){x0=!0;do for(var n=!1,a=Br;a!==null;){if(e!==0){var o=a.pendingLanes;if(o===0)var u=0;else{var p=a.suspendedLanes,x=a.pingedLanes;u=(1<<31-un(42|e)+1)-1,u&=o&~(p&~x),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,x1(a,u))}else u=Ae,u=qc(a,a===Ze?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Si(a,u)||(n=!0,x1(a,u));a=a.next}while(n);x0=!1}}function Dg(){g1()}function g1(){kr=y0=!1;var e=0;la!==0&&Qg()&&(e=la);for(var t=rn(),n=null,a=Br;a!==null;){var o=a.next,u=_1(a,t);u===0?(a.next=null,n===null?Br=o:n.next=o,o===null&&(Fs=n)):(n=a,(e!==0||(u&3)!==0)&&(kr=!0)),a=o}bt!==0&&bt!==5||ac(e),la!==0&&(la=0)}function _1(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var p=31-un(u),x=1<<p,w=o[p];w===-1?((x&n)===0||(x&a)!==0)&&(o[p]=cv(x,t)):w<=t&&(e.expiredLanes|=x),u&=~x}if(t=Ze,n=Ae,n=qc(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(qe===2||qe===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Oo(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Si(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&Oo(a),Lo(n)){case 2:case 8:n=cd;break;case 32:n=kc;break;case 268435456:n=rd;break;default:n=kc}return a=y1.bind(null,e),n=Mo(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&Oo(a),e.callbackPriority=2,e.callbackNode=null,2}function y1(e,t){if(bt!==0&&bt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Lr()&&e.callbackNode!==n)return null;var a=Ae;return a=qc(e,e===Ze?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(e1(e,a,t),_1(e,rn()),e.callbackNode!=null&&e.callbackNode===n?y1.bind(null,e):null)}function x1(e,t){if(Lr())return null;e1(e,t,!0)}function Lg(){Xg(function(){(He&6)!==0?Mo(id,Dg):g1()})}function b0(){if(la===0){var e=Ts;e===0&&(e=Uc,Uc<<=1,(Uc&261888)===0&&(Uc=256)),la=e}return la}function b1(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Qc(""+e)}function j1(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 Bg(e,t,n,a,o){if(t==="submit"&&n&&n.stateNode===o){var u=b1((o[Xt]||null).action),p=a.submitter;p&&(t=(t=p[Xt]||null)?b1(t.formAction):p.getAttribute("formAction"),t!==null&&(u=t,p=null));var x=new Ic("action","action",null,a,o);e.push({event:x,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(la!==0){var w=p?j1(o,p):new FormData(o);qu(n,{pending:!0,data:w,method:o.method,action:u},null,w)}}else typeof u=="function"&&(x.preventDefault(),w=p?j1(o,p):new FormData(o),qu(n,{pending:!0,data:w,method:o.method,action:u},u,w))},currentTarget:o}]})}}for(var j0=0;j0<au.length;j0++){var S0=au[j0],kg=S0.toLowerCase(),Ug=S0[0].toUpperCase()+S0.slice(1);$n(kg,"on"+Ug)}$n(Wd,"onAnimationEnd"),$n(Jd,"onAnimationIteration"),$n(ef,"onAnimationStart"),$n("dblclick","onDoubleClick"),$n("focusin","onFocus"),$n("focusout","onBlur"),$n(eg,"onTransitionRun"),$n(tg,"onTransitionStart"),$n(ng,"onTransitionCancel"),$n(tf,"onTransitionEnd"),ms("onMouseEnter",["mouseout","mouseover"]),ms("onMouseLeave",["mouseout","mouseover"]),ms("onPointerEnter",["pointerout","pointerover"]),ms("onPointerLeave",["pointerout","pointerover"]),Na("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Na("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Na("onBeforeInput",["compositionend","keypress","textInput","paste"]),Na("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Na("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Na("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var sc="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(" "),Hg=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(sc));function S1(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],o=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var p=a.length-1;0<=p;p--){var x=a[p],w=x.instance,L=x.currentTarget;if(x=x.listener,w!==u&&o.isPropagationStopped())break e;u=x,o.currentTarget=L;try{u(o)}catch(q){Wc(q)}o.currentTarget=null,u=w}else for(p=0;p<a.length;p++){if(x=a[p],w=x.instance,L=x.currentTarget,x=x.listener,w!==u&&o.isPropagationStopped())break e;u=x,o.currentTarget=L;try{u(o)}catch(q){Wc(q)}o.currentTarget=null,u=w}}}}function Ce(e,t){var n=t[Bo];n===void 0&&(n=t[Bo]=new Set);var a=e+"__bubble";n.has(a)||(N1(t,e,2,!1),n.add(a))}function N0(e,t,n){var a=0;t&&(a|=4),N1(n,e,a,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function w0(e){if(!e[Ur]){e[Ur]=!0,vd.forEach(function(n){n!=="selectionchange"&&(Hg.has(n)||N0(n,!1,e),N0(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ur]||(t[Ur]=!0,N0("selectionchange",!1,t))}}function N1(e,t,n,a){switch(J1(t)){case 2:var o=h_;break;case 8:o=m_;break;default:o=$0}n=o.bind(null,t,n,e),o=void 0,!Qo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function C0(e,t,n,a,o){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var p=a.tag;if(p===3||p===4){var x=a.stateNode.containerInfo;if(x===o)break;if(p===4)for(p=a.return;p!==null;){var w=p.tag;if((w===3||w===4)&&p.stateNode.containerInfo===o)return;p=p.return}for(;x!==null;){if(p=ds(x),p===null)return;if(w=p.tag,w===5||w===6||w===26||w===27){a=u=p;continue e}x=x.parentNode}}a=a.return}Td(function(){var L=u,q=Fo(n),Q=[];e:{var B=nf.get(e);if(B!==void 0){var k=Ic,ne=e;switch(e){case"keypress":if(Xc(n)===0)break e;case"keydown":case"keyup":k=Ov;break;case"focusin":ne="focus",k=Io;break;case"focusout":ne="blur",k=Io;break;case"beforeblur":case"afterblur":k=Io;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":k=Md;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=xv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=Lv;break;case Wd:case Jd:case ef:k=Sv;break;case tf:k=kv;break;case"scroll":case"scrollend":k=_v;break;case"wheel":k=Hv;break;case"copy":case"cut":case"paste":k=wv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=zd;break;case"toggle":case"beforetoggle":k=qv}var fe=(t&4)!==0,Xe=!fe&&(e==="scroll"||e==="scrollend"),M=fe?B!==null?B+"Capture":null:B;fe=[];for(var A=L,D;A!==null;){var F=A;if(D=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||D===null||M===null||(F=Ei(A,M),F!=null&&fe.push(ic(A,F,D))),Xe)break;A=A.return}0<fe.length&&(B=new k(B,ne,null,n,q),Q.push({event:B,listeners:fe}))}}if((t&7)===0){e:{if(B=e==="mouseover"||e==="pointerover",k=e==="mouseout"||e==="pointerout",B&&n!==Go&&(ne=n.relatedTarget||n.fromElement)&&(ds(ne)||ne[us]))break e;if((k||B)&&(B=q.window===q?q:(B=q.ownerDocument)?B.defaultView||B.parentWindow:window,k?(ne=n.relatedTarget||n.toElement,k=L,ne=ne?ds(ne):null,ne!==null&&(Xe=f(ne),fe=ne.tag,ne!==Xe||fe!==5&&fe!==27&&fe!==6)&&(ne=null)):(k=null,ne=L),k!==ne)){if(fe=Md,F="onMouseLeave",M="onMouseEnter",A="mouse",(e==="pointerout"||e==="pointerover")&&(fe=zd,F="onPointerLeave",M="onPointerEnter",A="pointer"),Xe=k==null?B:Ci(k),D=ne==null?B:Ci(ne),B=new fe(F,A+"leave",k,n,q),B.target=Xe,B.relatedTarget=D,F=null,ds(q)===L&&(fe=new fe(M,A+"enter",ne,n,q),fe.target=D,fe.relatedTarget=Xe,F=fe),Xe=F,k&&ne)t:{for(fe=$g,M=k,A=ne,D=0,F=M;F;F=fe(F))D++;F=0;for(var ce=A;ce;ce=fe(ce))F++;for(;0<D-F;)M=fe(M),D--;for(;0<F-D;)A=fe(A),F--;for(;D--;){if(M===A||A!==null&&M===A.alternate){fe=M;break t}M=fe(M),A=fe(A)}fe=null}else fe=null;k!==null&&w1(Q,B,k,fe,!1),ne!==null&&Xe!==null&&w1(Q,Xe,ne,fe,!0)}}e:{if(B=L?Ci(L):window,k=B.nodeName&&B.nodeName.toLowerCase(),k==="select"||k==="input"&&B.type==="file")var ke=qd;else if(Hd(B))if(Gd)ke=Pv;else{ke=Iv;var le=Zv}else k=B.nodeName,!k||k.toLowerCase()!=="input"||B.type!=="checkbox"&&B.type!=="radio"?L&&qo(L.elementType)&&(ke=qd):ke=Kv;if(ke&&(ke=ke(e,L))){$d(Q,ke,n,q);break e}le&&le(e,B,L),e==="focusout"&&L&&B.type==="number"&&L.memoizedProps.value!=null&&$o(B,"number",B.value)}switch(le=L?Ci(L):window,e){case"focusin":(Hd(le)||le.contentEditable==="true")&&(xs=le,tu=L,Li=null);break;case"focusout":Li=tu=xs=null;break;case"mousedown":nu=!0;break;case"contextmenu":case"mouseup":case"dragend":nu=!1,Kd(Q,n,q);break;case"selectionchange":if(Jv)break;case"keydown":case"keyup":Kd(Q,n,q)}var be;if(Po)e:{switch(e){case"compositionstart":var Me="onCompositionStart";break e;case"compositionend":Me="onCompositionEnd";break e;case"compositionupdate":Me="onCompositionUpdate";break e}Me=void 0}else ys?kd(e,n)&&(Me="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Me="onCompositionStart");Me&&(Dd&&n.locale!=="ko"&&(ys||Me!=="onCompositionStart"?Me==="onCompositionEnd"&&ys&&(be=Rd()):(ql=q,Yo="value"in ql?ql.value:ql.textContent,ys=!0)),le=Hr(L,Me),0<le.length&&(Me=new Od(Me,e,null,n,q),Q.push({event:Me,listeners:le}),be?Me.data=be:(be=Ud(n),be!==null&&(Me.data=be)))),(be=Fv?Vv(e,n):Qv(e,n))&&(Me=Hr(L,"onBeforeInput"),0<Me.length&&(le=new Od("onBeforeInput","beforeinput",null,n,q),Q.push({event:le,listeners:Me}),le.data=be)),Bg(Q,e,L,n,q)}S1(Q,t)})}function ic(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Hr(e,t){for(var n=t+"Capture",a=[];e!==null;){var o=e,u=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||u===null||(o=Ei(e,n),o!=null&&a.unshift(ic(e,o,u)),o=Ei(e,t),o!=null&&a.push(ic(e,o,u))),e.tag===3)return a;e=e.return}return[]}function $g(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function w1(e,t,n,a,o){for(var u=t._reactName,p=[];n!==null&&n!==a;){var x=n,w=x.alternate,L=x.stateNode;if(x=x.tag,w!==null&&w===a)break;x!==5&&x!==26&&x!==27||L===null||(w=L,o?(L=Ei(n,u),L!=null&&p.unshift(ic(n,L,w))):o||(L=Ei(n,u),L!=null&&p.push(ic(n,L,w)))),n=n.return}p.length!==0&&e.push({event:t,listeners:p})}var qg=/\r\n?/g,Gg=/\u0000|\uFFFD/g;function C1(e){return(typeof e=="string"?e:""+e).replace(qg,`
|
||
`).replace(Gg,"")}function E1(e,t){return t=C1(t),C1(e)===t}function Ye(e,t,n,a,o,u){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||vs(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&vs(e,""+a);break;case"className":Fc(e,"class",a);break;case"tabIndex":Fc(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Fc(e,n,a);break;case"style":Cd(e,a,u);break;case"data":if(t!=="object"){Fc(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=Qc(""+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",o.name,o,null),Ye(e,t,"formEncType",o.formEncType,o,null),Ye(e,t,"formMethod",o.formMethod,o,null),Ye(e,t,"formTarget",o.formTarget,o,null)):(Ye(e,t,"encType",o.encType,o,null),Ye(e,t,"method",o.method,o,null),Ye(e,t,"target",o.target,o,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Qc(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=hl);break;case"onScroll":a!=null&&Ce("scroll",e);break;case"onScrollEnd":a!=null&&Ce("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(n=a.__html,n!=null){if(o.children!=null)throw Error(r(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=Qc(""+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":Ce("beforetoggle",e),Ce("toggle",e),Gc(e,"popover",a);break;case"xlinkActuate":fl(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":fl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":fl(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":fl(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":fl(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":fl(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":fl(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":fl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":fl(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Gc(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=vv.get(n)||n,Gc(e,n,a))}}function E0(e,t,n,a,o,u){switch(n){case"style":Cd(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(n=a.__html,n!=null){if(o.children!=null)throw Error(r(60));e.innerHTML=n}}break;case"children":typeof a=="string"?vs(e,a):(typeof a=="number"||typeof a=="bigint")&&vs(e,""+a);break;case"onScroll":a!=null&&Ce("scroll",e);break;case"onScrollEnd":a!=null&&Ce("scrollend",e);break;case"onClick":a!=null&&(e.onclick=hl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!gd.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),u=e[Xt]||null,u=u!=null?u[n]:null,typeof u=="function"&&e.removeEventListener(t,u,o),typeof a=="function")){typeof u!="function"&&u!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,o);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Gc(e,n,a)}}}function Dt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ce("error",e),Ce("load",e);var a=!1,o=!1,u;for(u in n)if(n.hasOwnProperty(u)){var p=n[u];if(p!=null)switch(u){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ye(e,t,u,p,n,null)}}o&&Ye(e,t,"srcSet",n.srcSet,n,null),a&&Ye(e,t,"src",n.src,n,null);return;case"input":Ce("invalid",e);var x=u=p=o=null,w=null,L=null;for(a in n)if(n.hasOwnProperty(a)){var q=n[a];if(q!=null)switch(a){case"name":o=q;break;case"type":p=q;break;case"checked":w=q;break;case"defaultChecked":L=q;break;case"value":u=q;break;case"defaultValue":x=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(r(137,t));break;default:Ye(e,t,a,q,n,null)}}jd(e,u,x,w,L,p,o,!1);return;case"select":Ce("invalid",e),a=p=u=null;for(o in n)if(n.hasOwnProperty(o)&&(x=n[o],x!=null))switch(o){case"value":u=x;break;case"defaultValue":p=x;break;case"multiple":a=x;default:Ye(e,t,o,x,n,null)}t=u,n=p,e.multiple=!!a,t!=null?ps(e,!!a,t,!1):n!=null&&ps(e,!!a,n,!0);return;case"textarea":Ce("invalid",e),u=o=a=null;for(p in n)if(n.hasOwnProperty(p)&&(x=n[p],x!=null))switch(p){case"value":a=x;break;case"defaultValue":o=x;break;case"children":u=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(91));break;default:Ye(e,t,p,x,n,null)}Nd(e,a,o,u);return;case"option":for(w in n)if(n.hasOwnProperty(w)&&(a=n[w],a!=null))switch(w){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ye(e,t,w,a,n,null)}return;case"dialog":Ce("beforetoggle",e),Ce("toggle",e),Ce("cancel",e),Ce("close",e);break;case"iframe":case"object":Ce("load",e);break;case"video":case"audio":for(a=0;a<sc.length;a++)Ce(sc[a],e);break;case"image":Ce("error",e),Ce("load",e);break;case"details":Ce("toggle",e);break;case"embed":case"source":case"link":Ce("error",e),Ce("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(L in n)if(n.hasOwnProperty(L)&&(a=n[L],a!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ye(e,t,L,a,n,null)}return;default:if(qo(t)){for(q in n)n.hasOwnProperty(q)&&(a=n[q],a!==void 0&&E0(e,t,q,a,n,void 0));return}}for(x in n)n.hasOwnProperty(x)&&(a=n[x],a!=null&&Ye(e,t,x,a,n,null))}function Fg(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 o=null,u=null,p=null,x=null,w=null,L=null,q=null;for(k in n){var Q=n[k];if(n.hasOwnProperty(k)&&Q!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":w=Q;default:a.hasOwnProperty(k)||Ye(e,t,k,null,a,Q)}}for(var B in a){var k=a[B];if(Q=n[B],a.hasOwnProperty(B)&&(k!=null||Q!=null))switch(B){case"type":u=k;break;case"name":o=k;break;case"checked":L=k;break;case"defaultChecked":q=k;break;case"value":p=k;break;case"defaultValue":x=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(r(137,t));break;default:k!==Q&&Ye(e,t,B,k,a,Q)}}Ho(e,p,x,w,L,q,u,o);return;case"select":k=p=x=B=null;for(u in n)if(w=n[u],n.hasOwnProperty(u)&&w!=null)switch(u){case"value":break;case"multiple":k=w;default:a.hasOwnProperty(u)||Ye(e,t,u,null,a,w)}for(o in a)if(u=a[o],w=n[o],a.hasOwnProperty(o)&&(u!=null||w!=null))switch(o){case"value":B=u;break;case"defaultValue":x=u;break;case"multiple":p=u;default:u!==w&&Ye(e,t,o,u,a,w)}t=x,n=p,a=k,B!=null?ps(e,!!n,B,!1):!!a!=!!n&&(t!=null?ps(e,!!n,t,!0):ps(e,!!n,n?[]:"",!1));return;case"textarea":k=B=null;for(x in n)if(o=n[x],n.hasOwnProperty(x)&&o!=null&&!a.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Ye(e,t,x,null,a,o)}for(p in a)if(o=a[p],u=n[p],a.hasOwnProperty(p)&&(o!=null||u!=null))switch(p){case"value":B=o;break;case"defaultValue":k=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(r(91));break;default:o!==u&&Ye(e,t,p,o,a,u)}Sd(e,B,k);return;case"option":for(var ne in n)if(B=n[ne],n.hasOwnProperty(ne)&&B!=null&&!a.hasOwnProperty(ne))switch(ne){case"selected":e.selected=!1;break;default:Ye(e,t,ne,null,a,B)}for(w in a)if(B=a[w],k=n[w],a.hasOwnProperty(w)&&B!==k&&(B!=null||k!=null))switch(w){case"selected":e.selected=B&&typeof B!="function"&&typeof B!="symbol";break;default:Ye(e,t,w,B,a,k)}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 fe in n)B=n[fe],n.hasOwnProperty(fe)&&B!=null&&!a.hasOwnProperty(fe)&&Ye(e,t,fe,null,a,B);for(L in a)if(B=a[L],k=n[L],a.hasOwnProperty(L)&&B!==k&&(B!=null||k!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(r(137,t));break;default:Ye(e,t,L,B,a,k)}return;default:if(qo(t)){for(var Xe in n)B=n[Xe],n.hasOwnProperty(Xe)&&B!==void 0&&!a.hasOwnProperty(Xe)&&E0(e,t,Xe,void 0,a,B);for(q in a)B=a[q],k=n[q],!a.hasOwnProperty(q)||B===k||B===void 0&&k===void 0||E0(e,t,q,B,a,k);return}}for(var M in n)B=n[M],n.hasOwnProperty(M)&&B!=null&&!a.hasOwnProperty(M)&&Ye(e,t,M,null,a,B);for(Q in a)B=a[Q],k=n[Q],!a.hasOwnProperty(Q)||B===k||B==null&&k==null||Ye(e,t,Q,B,a,k)}function T1(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Vg(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var o=n[a],u=o.transferSize,p=o.initiatorType,x=o.duration;if(u&&x&&T1(p)){for(p=0,x=o.responseEnd,a+=1;a<n.length;a++){var w=n[a],L=w.startTime;if(L>x)break;var q=w.transferSize,Q=w.initiatorType;q&&T1(Q)&&(w=w.responseEnd,p+=q*(w<x?1:(x-L)/(w-L)))}if(--a,t+=8*(u+p)/(o.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 T0=null,R0=null;function $r(e){return e.nodeType===9?e:e.ownerDocument}function R1(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 A1(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 A0(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 Qg(){var e=window.event;return e&&e.type==="popstate"?e===M0?!1:(M0=e,!0):(M0=null,!1)}var M1=typeof setTimeout=="function"?setTimeout:void 0,Yg=typeof clearTimeout=="function"?clearTimeout:void 0,O1=typeof Promise=="function"?Promise:void 0,Xg=typeof queueMicrotask=="function"?queueMicrotask:typeof O1<"u"?function(e){return O1.resolve(null).then(e).catch(Zg)}:M1;function Zg(e){setTimeout(function(){throw e})}function aa(e){return e==="head"}function z1(e,t){var n=t,a=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(o),Xs(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")cc(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,cc(n);for(var u=n.firstChild;u;){var p=u.nextSibling,x=u.nodeName;u[wi]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=p}}else n==="body"&&cc(e.ownerDocument.body);n=o}while(n);Xs(t)}function D1(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 O0(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":O0(n),ko(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Ig(e,t,n,a){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[wi])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!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=Dn(e.nextSibling),e===null)break}return null}function Kg(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Dn(e.nextSibling),e===null))return null;return e}function L1(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Dn(e.nextSibling),e===null))return null;return e}function z0(e){return e.data==="$?"||e.data==="$~"}function D0(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Pg(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 Dn(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 L0=null;function B1(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Dn(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function k1(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 U1(e,t,n){switch(t=$r(n),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function cc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ko(e)}var Ln=new Map,H1=new Set;function qr(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Rl=X.d;X.d={f:Wg,r:Jg,D:e_,C:t_,L:n_,m:l_,X:s_,S:a_,M:i_};function Wg(){var e=Rl.f(),t=Or();return e||t}function Jg(e){var t=fs(e);t!==null&&t.tag===5&&t.type==="form"?nh(t):Rl.r(e)}var Vs=typeof document>"u"?null:document;function $1(e,t,n){var a=Vs;if(a&&typeof t=="string"&&t){var o=En(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),H1.has(o)||(H1.add(o),e={rel:e,crossOrigin:n,href:t},a.querySelector(o)===null&&(t=a.createElement("link"),Dt(t,"link",e),wt(t),a.head.appendChild(t)))}}function e_(e){Rl.D(e),$1("dns-prefetch",e,null)}function t_(e,t){Rl.C(e,t),$1("preconnect",e,t)}function n_(e,t,n){Rl.L(e,t,n);var a=Vs;if(a&&e&&t){var o='link[rel="preload"][as="'+En(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+En(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+En(n.imageSizes)+'"]')):o+='[href="'+En(e)+'"]';var u=o;switch(t){case"style":u=Qs(e);break;case"script":u=Ys(e)}Ln.has(u)||(e=y({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Ln.set(u,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(rc(u))||t==="script"&&a.querySelector(oc(u))||(t=a.createElement("link"),Dt(t,"link",e),wt(t),a.head.appendChild(t)))}}function l_(e,t){Rl.m(e,t);var n=Vs;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+En(a)+'"][href="'+En(e)+'"]',u=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ys(e)}if(!Ln.has(u)&&(e=y({rel:"modulepreload",href:e},t),Ln.set(u,e),n.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(oc(u)))return}a=n.createElement("link"),Dt(a,"link",e),wt(a),n.head.appendChild(a)}}}function a_(e,t,n){Rl.S(e,t,n);var a=Vs;if(a&&e){var o=hs(a).hoistableStyles,u=Qs(e);t=t||"default";var p=o.get(u);if(!p){var x={loading:0,preload:null};if(p=a.querySelector(rc(u)))x.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ln.get(u))&&B0(e,n);var w=p=a.createElement("link");wt(w),Dt(w,"link",e),w._p=new Promise(function(L,q){w.onload=L,w.onerror=q}),w.addEventListener("load",function(){x.loading|=1}),w.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Gr(p,t,a)}p={type:"stylesheet",instance:p,count:1,state:x},o.set(u,p)}}}function s_(e,t){Rl.X(e,t);var n=Vs;if(n&&e){var a=hs(n).hoistableScripts,o=Ys(e),u=a.get(o);u||(u=n.querySelector(oc(o)),u||(e=y({src:e,async:!0},t),(t=Ln.get(o))&&k0(e,t),u=n.createElement("script"),wt(u),Dt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(o,u))}}function i_(e,t){Rl.M(e,t);var n=Vs;if(n&&e){var a=hs(n).hoistableScripts,o=Ys(e),u=a.get(o);u||(u=n.querySelector(oc(o)),u||(e=y({src:e,async:!0,type:"module"},t),(t=Ln.get(o))&&k0(e,t),u=n.createElement("script"),wt(u),Dt(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(o,u))}}function q1(e,t,n,a){var o=(o=xe.current)?qr(o):null;if(!o)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Qs(n.href),n=hs(o).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=Qs(n.href);var u=hs(o).hoistableStyles,p=u.get(e);if(p||(o=o.ownerDocument||o,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,p),(u=o.querySelector(rc(e)))&&!u._p&&(p.instance=u,p.state.loading=5),Ln.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},Ln.set(e,n),u||c_(o,e,n,p.state))),t&&a===null)throw Error(r(528,""));return p}if(t&&a!==null)throw Error(r(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ys(n),n=hs(o).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(r(444,e))}}function Qs(e){return'href="'+En(e)+'"'}function rc(e){return'link[rel="stylesheet"]['+e+"]"}function G1(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function c_(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}),Dt(t,"link",n),wt(t),e.head.appendChild(t))}function Ys(e){return'[src="'+En(e)+'"]'}function oc(e){return"script[async]"+e}function F1(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+En(n.href)+'"]');if(a)return t.instance=a,wt(a),a;var o=y({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),wt(a),Dt(a,"style",o),Gr(a,n.precedence,e),t.instance=a;case"stylesheet":o=Qs(n.href);var u=e.querySelector(rc(o));if(u)return t.state.loading|=4,t.instance=u,wt(u),u;a=G1(n),(o=Ln.get(o))&&B0(a,o),u=(e.ownerDocument||e).createElement("link"),wt(u);var p=u;return p._p=new Promise(function(x,w){p.onload=x,p.onerror=w}),Dt(u,"link",a),t.state.loading|=4,Gr(u,n.precedence,e),t.instance=u;case"script":return u=Ys(n.src),(o=e.querySelector(oc(u)))?(t.instance=o,wt(o),o):(a=n,(o=Ln.get(u))&&(a=y({},n),k0(a,o)),e=e.ownerDocument||e,o=e.createElement("script"),wt(o),Dt(o,"link",a),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Gr(a,n.precedence,e));return t.instance}function Gr(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=a.length?a[a.length-1]:null,u=o,p=0;p<a.length;p++){var x=a[p];if(x.dataset.precedence===t)u=x;else if(u!==o)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function B0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function k0(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Fr=null;function V1(e,t,n){if(Fr===null){var a=new Map,o=Fr=new Map;o.set(n,a)}else o=Fr,a=o.get(n),a||(a=new Map,o.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var u=n[o];if(!(u[wi]||u[At]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var p=u.getAttribute(t)||"";p=e+p;var x=a.get(p);x?x.push(u):a.set(p,[u])}}return a}function Q1(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function r_(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 Y1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function o_(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 o=Qs(a.href),u=t.querySelector(rc(o));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Vr.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,wt(u);return}u=t.ownerDocument||t,a=G1(a),(o=Ln.get(o))&&B0(a,o),u=u.createElement("link"),wt(u);var p=u;p._p=new Promise(function(x,w){p.onload=x,p.onerror=w}),Dt(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=Vr.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var U0=0;function u_(e,t){return e.stylesheets&&e.count===0&&Yr(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Yr(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&U0===0&&(U0=62500*Vg());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Yr(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>U0?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(o)}}:null}function Vr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Qr=null;function Yr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Qr=new Map,t.forEach(d_,e),Qr=null,Vr.call(e))}function d_(e,t){if(!(t.state.loading&4)){var n=Qr.get(e);if(n)var a=n.get(null);else{n=new Map,Qr.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<o.length;u++){var p=o[u];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(n.set(p.dataset.precedence,p),a=p)}a&&n.set(null,a)}o=t.instance,p=o.getAttribute("data-precedence"),u=n.get(p)||a,u===a&&n.set(null,o),n.set(p,o),this.count++,a=Vr.bind(this),o.addEventListener("load",a),o.addEventListener("error",a),u?u.parentNode.insertBefore(o,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var uc={$$typeof:z,Provider:null,Consumer:null,_currentValue:se,_currentValue2:se,_threadCount:0};function f_(e,t,n,a,o,u,p,x,w){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=zo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zo(0),this.hiddenUpdates=zo(null),this.identifierPrefix=a,this.onUncaughtError=o,this.onCaughtError=u,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map}function X1(e,t,n,a,o,u,p,x,w,L,q,Q){return e=new f_(e,t,n,p,w,L,q,Q,x),t=1,u===!0&&(t|=24),u=fn(3,null,null,t),e.current=u,u.stateNode=e,t=gu(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:n,cache:t},bu(u),e}function Z1(e){return e?(e=Ss,e):Ss}function I1(e,t,n,a,o,u){o=Z1(o),a.context===null?a.context=o:a.pendingContext=o,a=Xl(t),a.payload={element:n},u=u===void 0?null:u,u!==null&&(a.callback=u),n=Zl(e,a,t),n!==null&&(Jt(n,e,t),Gi(n,e,t))}function K1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function H0(e,t){K1(e,t),(e=e.alternate)&&K1(e,t)}function P1(e){if(e.tag===13||e.tag===31){var t=Ta(e,67108864);t!==null&&Jt(t,e,67108864),H0(e,67108864)}}function W1(e){if(e.tag===13||e.tag===31){var t=gn();t=Do(t);var n=Ta(e,t);n!==null&&Jt(n,e,t),H0(e,t)}}var Xr=!0;function h_(e,t,n,a){var o=U.T;U.T=null;var u=X.p;try{X.p=2,$0(e,t,n,a)}finally{X.p=u,U.T=o}}function m_(e,t,n,a){var o=U.T;U.T=null;var u=X.p;try{X.p=8,$0(e,t,n,a)}finally{X.p=u,U.T=o}}function $0(e,t,n,a){if(Xr){var o=q0(a);if(o===null)C0(e,t,a,Zr,n),em(e,a);else if(v_(o,e,t,n,a))a.stopPropagation();else if(em(e,a),t&4&&-1<p_.indexOf(e)){for(;o!==null;){var u=fs(o);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var p=Sa(u.pendingLanes);if(p!==0){var x=u;for(x.pendingLanes|=2,x.entangledLanes|=2;p;){var w=1<<31-un(p);x.entanglements[1]|=w,p&=~w}Pn(u),(He&6)===0&&(Ar=rn()+500,ac(0))}}break;case 31:case 13:x=Ta(u,2),x!==null&&Jt(x,u,2),Or(),H0(u,2)}if(u=q0(a),u===null&&C0(e,t,a,Zr,n),u===o)break;o=u}o!==null&&a.stopPropagation()}else C0(e,t,a,null,n)}}function q0(e){return e=Fo(e),G0(e)}var Zr=null;function G0(e){if(Zr=null,e=ds(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=v(t),e!==null)return e;e=null}else if(n===31){if(e=_(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 Zr=e,null}function J1(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(ev()){case id:return 2;case cd:return 8;case kc:case tv:return 32;case rd:return 268435456;default:return 32}default:return 32}}var F0=!1,sa=null,ia=null,ca=null,dc=new Map,fc=new Map,ra=[],p_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function em(e,t){switch(e){case"focusin":case"focusout":sa=null;break;case"dragenter":case"dragleave":ia=null;break;case"mouseover":case"mouseout":ca=null;break;case"pointerover":case"pointerout":dc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":fc.delete(t.pointerId)}}function hc(e,t,n,a,o,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:u,targetContainers:[o]},t!==null&&(t=fs(t),t!==null&&P1(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function v_(e,t,n,a,o){switch(t){case"focusin":return sa=hc(sa,e,t,n,a,o),!0;case"dragenter":return ia=hc(ia,e,t,n,a,o),!0;case"mouseover":return ca=hc(ca,e,t,n,a,o),!0;case"pointerover":var u=o.pointerId;return dc.set(u,hc(dc.get(u)||null,e,t,n,a,o)),!0;case"gotpointercapture":return u=o.pointerId,fc.set(u,hc(fc.get(u)||null,e,t,n,a,o)),!0}return!1}function tm(e){var t=ds(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=v(n),t!==null){e.blockedOn=t,md(e.priority,function(){W1(n)});return}}else if(t===31){if(t=_(n),t!==null){e.blockedOn=t,md(e.priority,function(){W1(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 Ir(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=q0(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);Go=a,n.target.dispatchEvent(a),Go=null}else return t=fs(n),t!==null&&P1(t),e.blockedOn=n,!1;t.shift()}return!0}function nm(e,t,n){Ir(e)&&n.delete(t)}function g_(){F0=!1,sa!==null&&Ir(sa)&&(sa=null),ia!==null&&Ir(ia)&&(ia=null),ca!==null&&Ir(ca)&&(ca=null),dc.forEach(nm),fc.forEach(nm)}function Kr(e,t){e.blockedOn===t&&(e.blockedOn=null,F0||(F0=!0,s.unstable_scheduleCallback(s.unstable_NormalPriority,g_)))}var Pr=null;function lm(e){Pr!==e&&(Pr=e,s.unstable_scheduleCallback(s.unstable_NormalPriority,function(){Pr===e&&(Pr=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],o=e[t+2];if(typeof a!="function"){if(G0(a||n)===null)continue;break}var u=fs(n);u!==null&&(e.splice(t,3),t-=3,qu(u,{pending:!0,data:o,method:n.method,action:a},a,o))}}))}function Xs(e){function t(w){return Kr(w,e)}sa!==null&&Kr(sa,e),ia!==null&&Kr(ia,e),ca!==null&&Kr(ca,e),dc.forEach(t),fc.forEach(t);for(var n=0;n<ra.length;n++){var a=ra[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ra.length&&(n=ra[0],n.blockedOn===null);)tm(n),n.blockedOn===null&&ra.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var o=n[a],u=n[a+1],p=o[Xt]||null;if(typeof u=="function")p||lm(n);else if(p){var x=null;if(u&&u.hasAttribute("formAction")){if(o=u,p=u[Xt]||null)x=p.formAction;else if(G0(o)!==null)continue}else x=p.action;typeof x=="function"?n[a+1]=x:(n.splice(a,3),a-=3),lm(n)}}}function am(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(p){return o=p})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=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,o=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),o!==null&&(o(),o=null)}}}function V0(e){this._internalRoot=e}Wr.prototype.render=V0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var n=t.current,a=gn();I1(n,a,e,t,null,null)},Wr.prototype.unmount=V0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;I1(e.current,2,null,e,null,null),Or(),t[us]=null}};function Wr(e){this._internalRoot=e}Wr.prototype.unstable_scheduleHydration=function(e){if(e){var t=hd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ra.length&&t!==0&&t<ra[n].priority;n++);ra.splice(n,0,e),n===0&&tm(e)}};var sm=c.version;if(sm!=="19.2.5")throw Error(r(527,sm,"19.2.5"));X.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=m(t),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var __={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Jr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Jr.isDisabled&&Jr.supportsFiber)try{ji=Jr.inject(__),on=Jr}catch{}}return pc.createRoot=function(e,t){if(!d(e))throw Error(r(299));var n=!1,a="",o=fh,u=hh,p=mh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError)),t=X1(e,1,!1,null,null,n,a,null,o,u,p,am),e[us]=t.current,w0(e),new V0(t)},pc.hydrateRoot=function(e,t,n){if(!d(e))throw Error(r(299));var a=!1,o="",u=fh,p=hh,x=mh,w=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(p=n.onCaughtError),n.onRecoverableError!==void 0&&(x=n.onRecoverableError),n.formState!==void 0&&(w=n.formState)),t=X1(e,1,!0,t,n??null,a,o,w,u,p,x,am),t.context=Z1(null),n=t.current,a=gn(),a=Do(a),o=Xl(a),o.callback=null,Zl(n,o,a),n=a,t.current.lanes=n,Ni(t,n),Pn(t),e[us]=t.current,w0(e),new Wr(t)},pc.version="19.2.5",pc}var vm;function T_(){if(vm)return Z0.exports;vm=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=E_(),Z0.exports}var R_=T_();/**
|
||
* 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 gm="popstate";function _m(s){return typeof s=="object"&&s!=null&&"pathname"in s&&"search"in s&&"hash"in s&&"state"in s&&"key"in s}function A_(s={}){function c(r,d){var m;let f=(m=d.state)==null?void 0:m.masked,{pathname:v,search:_,hash:h}=f||r.location;return v2("",{pathname:v,search:_,hash:h},d.state&&d.state.usr||null,d.state&&d.state.key||"default",f?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function i(r,d){return typeof d=="string"?d:wc(d)}return O_(c,i,null,s)}function lt(s,c){if(s===!1||s===null||typeof s>"u")throw new Error(c)}function Qn(s,c){if(!s){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function M_(){return Math.random().toString(36).substring(2,10)}function ym(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 v2(s,c,i=null,r,d){return{pathname:typeof s=="string"?s:s.pathname,search:"",hash:"",...typeof c=="string"?hi(c):c,state:i,key:c&&c.key||r||M_(),unstable_mask:d}}function wc({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 hi(s){let c={};if(s){let i=s.indexOf("#");i>=0&&(c.hash=s.substring(i),s=s.substring(0,i));let r=s.indexOf("?");r>=0&&(c.search=s.substring(r),s=s.substring(0,r)),s&&(c.pathname=s)}return c}function O_(s,c,i,r={}){let{window:d=document.defaultView,v5Compat:f=!1}=r,v=d.history,_="POP",h=null,m=g();m==null&&(m=0,v.replaceState({...v.state,idx:m},""));function g(){return(v.state||{idx:null}).idx}function y(){_="POP";let T=g(),O=T==null?null:T-m;m=T,h&&h({action:_,location:E.location,delta:O})}function b(T,O){_="PUSH";let H=_m(T)?T:v2(E.location,T,O);m=g()+1;let z=ym(H,m),G=E.createHref(H.unstable_mask||H);try{v.pushState(z,"",G)}catch(Y){if(Y instanceof DOMException&&Y.name==="DataCloneError")throw Y;d.location.assign(G)}f&&h&&h({action:_,location:E.location,delta:1})}function N(T,O){_="REPLACE";let H=_m(T)?T:v2(E.location,T,O);m=g();let z=ym(H,m),G=E.createHref(H.unstable_mask||H);v.replaceState(z,"",G),f&&h&&h({action:_,location:E.location,delta:0})}function S(T){return z_(T)}let E={get action(){return _},get location(){return s(d,v)},listen(T){if(h)throw new Error("A history only accepts one active listener");return d.addEventListener(gm,y),h=T,()=>{d.removeEventListener(gm,y),h=null}},createHref(T){return c(d,T)},createURL:S,encodeLocation(T){let O=S(T);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:b,replace:N,go(T){return v.go(T)}};return E}function z_(s,c=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),lt(i,"No window.location.(origin|href) available to create URL");let r=typeof s=="string"?s:wc(s);return r=r.replace(/ $/,"%20"),!c&&r.startsWith("//")&&(r=i+r),new URL(r,i)}function zp(s,c,i="/"){return D_(s,c,i,!1)}function D_(s,c,i,r){let d=typeof c=="string"?hi(c):c,f=kl(d.pathname||"/",i);if(f==null)return null;let v=Dp(s);L_(v);let _=null;for(let h=0;_==null&&h<v.length;++h){let m=Y_(f);_=V_(v[h],m,r)}return _}function Dp(s,c=[],i=[],r="",d=!1){let f=(v,_,h=d,m)=>{let g={relativePath:m===void 0?v.path||"":m,caseSensitive:v.caseSensitive===!0,childrenIndex:_,route:v};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(r)&&h)return;lt(g.relativePath.startsWith(r),`Absolute route path "${g.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(r.length)}let y=Vn([r,g.relativePath]),b=i.concat(g);v.children&&v.children.length>0&&(lt(v.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),Dp(v.children,c,b,y,h)),!(v.path==null&&!v.index)&&c.push({path:y,score:G_(y,v.index),routesMeta:b})};return s.forEach((v,_)=>{var h;if(v.path===""||!((h=v.path)!=null&&h.includes("?")))f(v,_);else for(let m of Lp(v.path))f(v,_,!0,m)}),c}function Lp(s){let c=s.split("/");if(c.length===0)return[];let[i,...r]=c,d=i.endsWith("?"),f=i.replace(/\?$/,"");if(r.length===0)return d?[f,""]:[f];let v=Lp(r.join("/")),_=[];return _.push(...v.map(h=>h===""?f:[f,h].join("/"))),d&&_.push(...v),_.map(h=>s.startsWith("/")&&h===""?"/":h)}function L_(s){s.sort((c,i)=>c.score!==i.score?i.score-c.score:F_(c.routesMeta.map(r=>r.childrenIndex),i.routesMeta.map(r=>r.childrenIndex)))}var B_=/^:[\w-]+$/,k_=3,U_=2,H_=1,$_=10,q_=-2,xm=s=>s==="*";function G_(s,c){let i=s.split("/"),r=i.length;return i.some(xm)&&(r+=q_),c&&(r+=U_),i.filter(d=>!xm(d)).reduce((d,f)=>d+(B_.test(f)?k_:f===""?H_:$_),r)}function F_(s,c){return s.length===c.length&&s.slice(0,-1).every((r,d)=>r===c[d])?s[s.length-1]-c[c.length-1]:0}function V_(s,c,i=!1){let{routesMeta:r}=s,d={},f="/",v=[];for(let _=0;_<r.length;++_){let h=r[_],m=_===r.length-1,g=f==="/"?c:c.slice(f.length)||"/",y=fo({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},g),b=h.route;if(!y&&m&&i&&!r[r.length-1].route.index&&(y=fo({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},g)),!y)return null;Object.assign(d,y.params),v.push({params:d,pathname:Vn([f,y.pathname]),pathnameBase:K_(Vn([f,y.pathnameBase])),route:b}),y.pathnameBase!=="/"&&(f=Vn([f,y.pathnameBase]))}return v}function fo(s,c){typeof s=="string"&&(s={path:s,caseSensitive:!1,end:!0});let[i,r]=Q_(s.path,s.caseSensitive,s.end),d=c.match(i);if(!d)return null;let f=d[0],v=f.replace(/(.)\/+$/,"$1"),_=d.slice(1);return{params:r.reduce((m,{paramName:g,isOptional:y},b)=>{if(g==="*"){let S=_[b]||"";v=f.slice(0,f.length-S.length).replace(/(.)\/+$/,"$1")}const N=_[b];return y&&!N?m[g]=void 0:m[g]=(N||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:v,pattern:s}}function Q_(s,c=!1,i=!0){Qn(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 r=[],d="^"+s.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(v,_,h,m,g)=>{if(r.push({paramName:_,isOptional:h!=null}),h){let y=g.charAt(m+v.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return s.endsWith("*")?(r.push({paramName:"*"}),d+=s==="*"||s==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?d+="\\/*$":s!==""&&s!=="/"&&(d+="(?:(?=\\/|$))"),[new RegExp(d,c?void 0:"i"),r]}function Y_(s){try{return s.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Qn(!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 kl(s,c){if(c==="/")return s;if(!s.toLowerCase().startsWith(c.toLowerCase()))return null;let i=c.endsWith("/")?c.length-1:c.length,r=s.charAt(i);return r&&r!=="/"?null:s.slice(i)||"/"}var X_=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Z_(s,c="/"){let{pathname:i,search:r="",hash:d=""}=typeof s=="string"?hi(s):s,f;return i?(i=Bp(i),i.startsWith("/")?f=bm(i.substring(1),"/"):f=bm(i,c)):f=c,{pathname:f,search:P_(r),hash:W_(d)}}function bm(s,c){let i=ho(c).split("/");return s.split("/").forEach(d=>{d===".."?i.length>1&&i.pop():d!=="."&&i.push(d)}),i.length>1?i.join("/"):"/"}function W0(s,c,i,r){return`Cannot include a '${s}' character in a manually specified \`to.${c}\` field [${JSON.stringify(r)}]. 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 I_(s){return s.filter((c,i)=>i===0||c.route.path&&c.route.path.length>0)}function V2(s){let c=I_(s);return c.map((i,r)=>r===c.length-1?i.pathname:i.pathnameBase)}function jo(s,c,i,r=!1){let d;typeof s=="string"?d=hi(s):(d={...s},lt(!d.pathname||!d.pathname.includes("?"),W0("?","pathname","search",d)),lt(!d.pathname||!d.pathname.includes("#"),W0("#","pathname","hash",d)),lt(!d.search||!d.search.includes("#"),W0("#","search","hash",d)));let f=s===""||d.pathname==="",v=f?"/":d.pathname,_;if(v==null)_=i;else{let y=c.length-1;if(!r&&v.startsWith("..")){let b=v.split("/");for(;b[0]==="..";)b.shift(),y-=1;d.pathname=b.join("/")}_=y>=0?c[y]:"/"}let h=Z_(d,_),m=v&&v!=="/"&&v.endsWith("/"),g=(f||v===".")&&i.endsWith("/");return!h.pathname.endsWith("/")&&(m||g)&&(h.pathname+="/"),h}var Bp=s=>s.replace(/\/\/+/g,"/"),Vn=s=>Bp(s.join("/")),ho=s=>s.replace(/\/+$/,""),K_=s=>ho(s).replace(/^\/*/,"/"),P_=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,W_=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s,J_=class{constructor(s,c,i,r=!1){this.status=s,this.statusText=c||"",this.internal=r,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function e4(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}function t4(s){let c=s.map(i=>i.route.path).filter(Boolean);return Vn(c)||"/"}var kp=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Up(s,c){let i=s;if(typeof i!="string"||!X_.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let r=i,d=!1;if(kp)try{let f=new URL(window.location.href),v=i.startsWith("//")?new URL(f.protocol+i):new URL(i),_=kl(v.pathname,c);v.origin===f.origin&&_!=null?i=_+v.search+v.hash:d=!0}catch{Qn(!1,`<Link to="${i}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:d,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Hp=["POST","PUT","PATCH","DELETE"];new Set(Hp);var n4=["GET",...Hp];new Set(n4);var mi=j.createContext(null);mi.displayName="DataRouter";var So=j.createContext(null);So.displayName="DataRouterState";var $p=j.createContext(!1);function l4(){return j.useContext($p)}var qp=j.createContext({isTransitioning:!1});qp.displayName="ViewTransition";var a4=j.createContext(new Map);a4.displayName="Fetchers";var s4=j.createContext(null);s4.displayName="Await";var Sn=j.createContext(null);Sn.displayName="Navigation";var zc=j.createContext(null);zc.displayName="Location";var Hn=j.createContext({outlet:null,matches:[],isDataRoute:!1});Hn.displayName="Route";var Q2=j.createContext(null);Q2.displayName="RouteError";var Gp="REACT_ROUTER_ERROR",i4="REDIRECT",c4="ROUTE_ERROR_RESPONSE";function r4(s){if(s.startsWith(`${Gp}:${i4}:{`))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 o4(s){if(s.startsWith(`${Gp}:${c4}:{`))try{let c=JSON.parse(s.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new J_(c.status,c.statusText,c.data)}catch{}}function u4(s,{relative:c}={}){lt(pi(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:r}=j.useContext(Sn),{hash:d,pathname:f,search:v}=Dc(s,{relative:c}),_=f;return i!=="/"&&(_=f==="/"?i:Vn([i,f])),r.createHref({pathname:_,search:v,hash:d})}function pi(){return j.useContext(zc)!=null}function Nn(){return lt(pi(),"useLocation() may be used only in the context of a <Router> component."),j.useContext(zc).location}var Fp="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Vp(s){j.useContext(Sn).static||j.useLayoutEffect(s)}function wn(){let{isDataRoute:s}=j.useContext(Hn);return s?C4():d4()}function d4(){lt(pi(),"useNavigate() may be used only in the context of a <Router> component.");let s=j.useContext(mi),{basename:c,navigator:i}=j.useContext(Sn),{matches:r}=j.useContext(Hn),{pathname:d}=Nn(),f=JSON.stringify(V2(r)),v=j.useRef(!1);return Vp(()=>{v.current=!0}),j.useCallback((h,m={})=>{if(Qn(v.current,Fp),!v.current)return;if(typeof h=="number"){i.go(h);return}let g=jo(h,JSON.parse(f),d,m.relative==="path");s==null&&c!=="/"&&(g.pathname=g.pathname==="/"?c:Vn([c,g.pathname])),(m.replace?i.replace:i.push)(g,m.state,m)},[c,i,f,d,s])}var f4=j.createContext(null);function h4(s){let c=j.useContext(Hn).outlet;return j.useMemo(()=>c&&j.createElement(f4.Provider,{value:s},c),[c,s])}function m4(){let{matches:s}=j.useContext(Hn),c=s[s.length-1];return(c==null?void 0:c.params)??{}}function Dc(s,{relative:c}={}){let{matches:i}=j.useContext(Hn),{pathname:r}=Nn(),d=JSON.stringify(V2(i));return j.useMemo(()=>jo(s,JSON.parse(d),r,c==="path"),[s,d,r,c])}function p4(s,c){return Qp(s,c)}function Qp(s,c,i){var T;lt(pi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=j.useContext(Sn),{matches:d}=j.useContext(Hn),f=d[d.length-1],v=f?f.params:{},_=f?f.pathname:"/",h=f?f.pathnameBase:"/",m=f&&f.route;{let O=m&&m.path||"";Xp(_,!m||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${_}" (under <Route path="${O}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
||
|
||
Please change the parent <Route path="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let g=Nn(),y;if(c){let O=typeof c=="string"?hi(c):c;lt(h==="/"||((T=O.pathname)==null?void 0:T.startsWith(h)),`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 "${h}" but pathname "${O.pathname}" was given in the \`location\` prop.`),y=O}else y=g;let b=y.pathname||"/",N=b;if(h!=="/"){let O=h.replace(/^\//,"").split("/");N="/"+b.replace(/^\//,"").split("/").slice(O.length).join("/")}let S=zp(s,{pathname:N});Qn(m||S!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Qn(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.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 E=x4(S&&S.map(O=>Object.assign({},O,{params:Object.assign({},v,O.params),pathname:Vn([h,r.encodeLocation?r.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?h:Vn([h,r.encodeLocation?r.encodeLocation(O.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),d,i);return c&&E?j.createElement(zc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...y},navigationType:"POP"}},E):E}function v4(){let s=w4(),c=e4(s)?`${s.status} ${s.statusText}`:s instanceof Error?s.message:JSON.stringify(s),i=s instanceof Error?s.stack:null,r="rgba(200,200,200, 0.5)",d={padding:"0.5rem",backgroundColor:r},f={padding:"2px 4px",backgroundColor:r},v=null;return console.error("Error handled by React Router default ErrorBoundary:",s),v=j.createElement(j.Fragment,null,j.createElement("p",null,"💿 Hey developer 👋"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:f},"ErrorBoundary")," or"," ",j.createElement("code",{style:f},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},c),i?j.createElement("pre",{style:d},i):null,v)}var g4=j.createElement(v4,null),Yp=class extends j.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=o4(s.digest);i&&(s=i)}let c=s!==void 0?j.createElement(Hn.Provider,{value:this.props.routeContext},j.createElement(Q2.Provider,{value:s,children:this.props.component})):this.props.children;return this.context?j.createElement(_4,{error:s},c):c}};Yp.contextType=$p;var J0=new WeakMap;function _4({children:s,error:c}){let{basename:i}=j.useContext(Sn);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let r=r4(c.digest);if(r){let d=J0.get(c);if(d)throw d;let f=Up(r.location,i);if(kp&&!J0.get(c))if(f.isExternal||r.reloadDocument)window.location.href=f.absoluteURL||f.to;else{const v=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(f.to,{replace:r.replace}));throw J0.set(c,v),v}return j.createElement("meta",{httpEquiv:"refresh",content:`0;url=${f.absoluteURL||f.to}`})}}return s}function y4({routeContext:s,match:c,children:i}){let r=j.useContext(mi);return r&&r.static&&r.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=c.route.id),j.createElement(Hn.Provider,{value:s},i)}function x4(s,c=[],i){let r=i==null?void 0:i.state;if(s==null){if(!r)return null;if(r.errors)s=r.matches;else if(c.length===0&&!r.initialized&&r.matches.length>0)s=r.matches;else return null}let d=s,f=r==null?void 0:r.errors;if(f!=null){let g=d.findIndex(y=>y.route.id&&(f==null?void 0:f[y.route.id])!==void 0);lt(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),d=d.slice(0,Math.min(d.length,g+1))}let v=!1,_=-1;if(i&&r){v=r.renderFallback;for(let g=0;g<d.length;g++){let y=d[g];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(_=g),y.route.id){let{loaderData:b,errors:N}=r,S=y.route.loader&&!b.hasOwnProperty(y.route.id)&&(!N||N[y.route.id]===void 0);if(y.route.lazy||S){i.isStatic&&(v=!0),_>=0?d=d.slice(0,_+1):d=[d[0]];break}}}}let h=i==null?void 0:i.onError,m=r&&h?(g,y)=>{var b,N;h(g,{location:r.location,params:((N=(b=r.matches)==null?void 0:b[0])==null?void 0:N.params)??{},unstable_pattern:t4(r.matches),errorInfo:y})}:void 0;return d.reduceRight((g,y,b)=>{let N,S=!1,E=null,T=null;r&&(N=f&&y.route.id?f[y.route.id]:void 0,E=y.route.errorElement||g4,v&&(_<0&&b===0?(Xp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,T=null):_===b&&(S=!0,T=y.route.hydrateFallbackElement||null)));let O=c.concat(d.slice(0,b+1)),H=()=>{let z;return N?z=E:S?z=T:y.route.Component?z=j.createElement(y.route.Component,null):y.route.element?z=y.route.element:z=g,j.createElement(y4,{match:y,routeContext:{outlet:g,matches:O,isDataRoute:r!=null},children:z})};return r&&(y.route.ErrorBoundary||y.route.errorElement||b===0)?j.createElement(Yp,{location:r.location,revalidation:r.revalidation,component:E,error:N,children:H(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:m}):H()},null)}function Y2(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function b4(s){let c=j.useContext(mi);return lt(c,Y2(s)),c}function j4(s){let c=j.useContext(So);return lt(c,Y2(s)),c}function S4(s){let c=j.useContext(Hn);return lt(c,Y2(s)),c}function X2(s){let c=S4(s),i=c.matches[c.matches.length-1];return lt(i.route.id,`${s} can only be used on routes that contain a unique "id"`),i.route.id}function N4(){return X2("useRouteId")}function w4(){var r;let s=j.useContext(Q2),c=j4("useRouteError"),i=X2("useRouteError");return s!==void 0?s:(r=c.errors)==null?void 0:r[i]}function C4(){let{router:s}=b4("useNavigate"),c=X2("useNavigate"),i=j.useRef(!1);return Vp(()=>{i.current=!0}),j.useCallback(async(d,f={})=>{Qn(i.current,Fp),i.current&&(typeof d=="number"?await s.navigate(d):await s.navigate(d,{fromRouteId:c,...f}))},[s,c])}var jm={};function Xp(s,c,i){!c&&!jm[s]&&(jm[s]=!0,Qn(!1,i))}j.memo(E4);function E4({routes:s,future:c,state:i,isStatic:r,onError:d}){return Qp(s,void 0,{state:i,isStatic:r,onError:d})}function No({to:s,replace:c,state:i,relative:r}){lt(pi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:d}=j.useContext(Sn);Qn(!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:f}=j.useContext(Hn),{pathname:v}=Nn(),_=wn(),h=jo(s,V2(f),v,r==="path"),m=JSON.stringify(h);return j.useEffect(()=>{_(JSON.parse(m),{replace:c,state:i,relative:r})},[_,m,r,c,i]),null}function Z2(s){return h4(s.context)}function et(s){lt(!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 T4({basename:s="/",children:c=null,location:i,navigationType:r="POP",navigator:d,static:f=!1,unstable_useTransitions:v}){lt(!pi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let _=s.replace(/^\/*/,"/"),h=j.useMemo(()=>({basename:_,navigator:d,static:f,unstable_useTransitions:v,future:{}}),[_,d,f,v]);typeof i=="string"&&(i=hi(i));let{pathname:m="/",search:g="",hash:y="",state:b=null,key:N="default",unstable_mask:S}=i,E=j.useMemo(()=>{let T=kl(m,_);return T==null?null:{location:{pathname:T,search:g,hash:y,state:b,key:N,unstable_mask:S},navigationType:r}},[_,m,g,y,b,N,r,S]);return Qn(E!=null,`<Router basename="${_}"> is not able to match the URL "${m}${g}${y}" because it does not start with the basename, so the <Router> won't render anything.`),E==null?null:j.createElement(Sn.Provider,{value:h},j.createElement(zc.Provider,{children:c,value:E}))}function R4({children:s,location:c}){return p4(g2(s),c)}function g2(s,c=[]){let i=[];return j.Children.forEach(s,(r,d)=>{if(!j.isValidElement(r))return;let f=[...c,d];if(r.type===j.Fragment){i.push.apply(i,g2(r.props.children,f));return}lt(r.type===et,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),lt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let v={id:r.props.id||f.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(v.children=g2(r.props.children,f)),i.push(v)}),i}var ro="get",oo="application/x-www-form-urlencoded";function wo(s){return typeof HTMLElement<"u"&&s instanceof HTMLElement}function A4(s){return wo(s)&&s.tagName.toLowerCase()==="button"}function M4(s){return wo(s)&&s.tagName.toLowerCase()==="form"}function O4(s){return wo(s)&&s.tagName.toLowerCase()==="input"}function z4(s){return!!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)}function D4(s,c){return s.button===0&&(!c||c==="_self")&&!z4(s)}var to=null;function L4(){if(to===null)try{new FormData(document.createElement("form"),0),to=!1}catch{to=!0}return to}var B4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function e2(s){return s!=null&&!B4.has(s)?(Qn(!1,`"${s}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${oo}"`),null):s}function k4(s,c){let i,r,d,f,v;if(M4(s)){let _=s.getAttribute("action");r=_?kl(_,c):null,i=s.getAttribute("method")||ro,d=e2(s.getAttribute("enctype"))||oo,f=new FormData(s)}else if(A4(s)||O4(s)&&(s.type==="submit"||s.type==="image")){let _=s.form;if(_==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=s.getAttribute("formaction")||_.getAttribute("action");if(r=h?kl(h,c):null,i=s.getAttribute("formmethod")||_.getAttribute("method")||ro,d=e2(s.getAttribute("formenctype"))||e2(_.getAttribute("enctype"))||oo,f=new FormData(_,s),!L4()){let{name:m,type:g,value:y}=s;if(g==="image"){let b=m?`${m}.`:"";f.append(`${b}x`,"0"),f.append(`${b}y`,"0")}else m&&f.append(m,y)}}else{if(wo(s))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=ro,r=null,d=oo,v=s}return f&&d==="text/plain"&&(v=f,f=void 0),{action:r,method:i.toLowerCase(),encType:d,formData:f,body:v}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function I2(s,c){if(s===!1||s===null||typeof s>"u")throw new Error(c)}function Zp(s,c,i,r){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}_.${r}`:d.pathname=`${d.pathname}.${r}`:d.pathname==="/"?d.pathname=`_root.${r}`:c&&kl(d.pathname,c)==="/"?d.pathname=`${ho(c)}/_root.${r}`:d.pathname=`${ho(d.pathname)}.${r}`,d}async function U4(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 H4(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 $4(s,c,i){let r=await Promise.all(s.map(async d=>{let f=c.routes[d.route.id];if(f){let v=await U4(f,i);return v.links?v.links():[]}return[]}));return V4(r.flat(1).filter(H4).filter(d=>d.rel==="stylesheet"||d.rel==="preload").map(d=>d.rel==="stylesheet"?{...d,rel:"prefetch",as:"style"}:{...d,rel:"prefetch"}))}function Sm(s,c,i,r,d,f){let v=(h,m)=>i[m]?h.route.id!==i[m].route.id:!0,_=(h,m)=>{var g;return i[m].pathname!==h.pathname||((g=i[m].route.path)==null?void 0:g.endsWith("*"))&&i[m].params["*"]!==h.params["*"]};return f==="assets"?c.filter((h,m)=>v(h,m)||_(h,m)):f==="data"?c.filter((h,m)=>{var y;let g=r.routes[h.route.id];if(!g||!g.hasLoader)return!1;if(v(h,m)||_(h,m))return!0;if(h.route.shouldRevalidate){let b=h.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:h.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function q4(s,c,{includeHydrateFallback:i}={}){return G4(s.map(r=>{let d=c.routes[r.route.id];if(!d)return[];let f=[d.module];return d.clientActionModule&&(f=f.concat(d.clientActionModule)),d.clientLoaderModule&&(f=f.concat(d.clientLoaderModule)),i&&d.hydrateFallbackModule&&(f=f.concat(d.hydrateFallbackModule)),d.imports&&(f=f.concat(d.imports)),f}).flat(1))}function G4(s){return[...new Set(s)]}function F4(s){let c={},i=Object.keys(s).sort();for(let r of i)c[r]=s[r];return c}function V4(s,c){let i=new Set;return new Set(c),s.reduce((r,d)=>{let f=JSON.stringify(F4(d));return i.has(f)||(i.add(f),r.push({key:f,link:d})),r},[])}function K2(){let s=j.useContext(mi);return I2(s,"You must render this element inside a <DataRouterContext.Provider> element"),s}function Q4(){let s=j.useContext(So);return I2(s,"You must render this element inside a <DataRouterStateContext.Provider> element"),s}var P2=j.createContext(void 0);P2.displayName="FrameworkContext";function W2(){let s=j.useContext(P2);return I2(s,"You must render this element inside a <HydratedRouter> element"),s}function Y4(s,c){let i=j.useContext(P2),[r,d]=j.useState(!1),[f,v]=j.useState(!1),{onFocus:_,onBlur:h,onMouseEnter:m,onMouseLeave:g,onTouchStart:y}=c,b=j.useRef(null);j.useEffect(()=>{if(s==="render"&&v(!0),s==="viewport"){let E=O=>{O.forEach(H=>{v(H.isIntersecting)})},T=new IntersectionObserver(E,{threshold:.5});return b.current&&T.observe(b.current),()=>{T.disconnect()}}},[s]),j.useEffect(()=>{if(r){let E=setTimeout(()=>{v(!0)},100);return()=>{clearTimeout(E)}}},[r]);let N=()=>{d(!0)},S=()=>{d(!1),v(!1)};return i?s!=="intent"?[f,b,{}]:[f,b,{onFocus:vc(_,N),onBlur:vc(h,S),onMouseEnter:vc(m,N),onMouseLeave:vc(g,S),onTouchStart:vc(y,N)}]:[!1,b,{}]}function vc(s,c){return i=>{s&&s(i),i.defaultPrevented||c(i)}}function X4({page:s,...c}){let i=l4(),{router:r}=K2(),d=j.useMemo(()=>zp(r.routes,s,r.basename),[r.routes,s,r.basename]);return d?i?j.createElement(I4,{page:s,matches:d,...c}):j.createElement(K4,{page:s,matches:d,...c}):null}function Z4(s){let{manifest:c,routeModules:i}=W2(),[r,d]=j.useState([]);return j.useEffect(()=>{let f=!1;return $4(s,c,i).then(v=>{f||d(v)}),()=>{f=!0}},[s,c,i]),r}function I4({page:s,matches:c,...i}){let r=Nn(),{future:d}=W2(),{basename:f}=K2(),v=j.useMemo(()=>{if(s===r.pathname+r.search+r.hash)return[];let _=Zp(s,f,d.unstable_trailingSlashAwareDataRequests,"rsc"),h=!1,m=[];for(let g of c)typeof g.route.shouldRevalidate=="function"?h=!0:m.push(g.route.id);return h&&m.length>0&&_.searchParams.set("_routes",m.join(",")),[_.pathname+_.search]},[f,d.unstable_trailingSlashAwareDataRequests,s,r,c]);return j.createElement(j.Fragment,null,v.map(_=>j.createElement("link",{key:_,rel:"prefetch",as:"fetch",href:_,...i})))}function K4({page:s,matches:c,...i}){let r=Nn(),{future:d,manifest:f,routeModules:v}=W2(),{basename:_}=K2(),{loaderData:h,matches:m}=Q4(),g=j.useMemo(()=>Sm(s,c,m,f,r,"data"),[s,c,m,f,r]),y=j.useMemo(()=>Sm(s,c,m,f,r,"assets"),[s,c,m,f,r]),b=j.useMemo(()=>{if(s===r.pathname+r.search+r.hash)return[];let E=new Set,T=!1;if(c.forEach(H=>{var G;let z=f.routes[H.route.id];!z||!z.hasLoader||(!g.some(Y=>Y.route.id===H.route.id)&&H.route.id in h&&((G=v[H.route.id])!=null&&G.shouldRevalidate)||z.hasClientLoader?T=!0:E.add(H.route.id))}),E.size===0)return[];let O=Zp(s,_,d.unstable_trailingSlashAwareDataRequests,"data");return T&&E.size>0&&O.searchParams.set("_routes",c.filter(H=>E.has(H.route.id)).map(H=>H.route.id).join(",")),[O.pathname+O.search]},[_,d.unstable_trailingSlashAwareDataRequests,h,r,f,g,c,s,v]),N=j.useMemo(()=>q4(y,f),[y,f]),S=Z4(y);return j.createElement(j.Fragment,null,b.map(E=>j.createElement("link",{key:E,rel:"prefetch",as:"fetch",href:E,...i})),N.map(E=>j.createElement("link",{key:E,rel:"modulepreload",href:E,...i})),S.map(({key:E,link:T})=>j.createElement("link",{key:E,nonce:i.nonce,...T,crossOrigin:T.crossOrigin??i.crossOrigin})))}function P4(...s){return c=>{s.forEach(i=>{typeof i=="function"?i(c):i!=null&&(i.current=c)})}}var W4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{W4&&(window.__reactRouterVersion="7.14.2")}catch{}function J4({basename:s,children:c,unstable_useTransitions:i,window:r}){let d=j.useRef();d.current==null&&(d.current=A_({window:r,v5Compat:!0}));let f=d.current,[v,_]=j.useState({action:f.action,location:f.location}),h=j.useCallback(m=>{i===!1?_(m):j.startTransition(()=>_(m))},[i]);return j.useLayoutEffect(()=>f.listen(h),[f,h]),j.createElement(T4,{basename:s,children:c,location:v.location,navigationType:v.action,navigator:f,unstable_useTransitions:i})}var Ip=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yt=j.forwardRef(function({onClick:c,discover:i="render",prefetch:r="none",relative:d,reloadDocument:f,replace:v,unstable_mask:_,state:h,target:m,to:g,preventScrollReset:y,viewTransition:b,unstable_defaultShouldRevalidate:N,...S},E){let{basename:T,navigator:O,unstable_useTransitions:H}=j.useContext(Sn),z=typeof g=="string"&&Ip.test(g),G=Up(g,T);g=G.to;let Y=u4(g,{relative:d}),J=Nn(),$=null;if(_){let ue=jo(_,[],J.unstable_mask?J.unstable_mask.pathname:"/",!0);T!=="/"&&(ue.pathname=ue.pathname==="/"?T:Vn([T,ue.pathname])),$=O.createHref(ue)}let[Z,ae,pe]=Y4(r,S),he=ny(g,{replace:v,unstable_mask:_,state:h,target:m,preventScrollReset:y,relative:d,viewTransition:b,unstable_defaultShouldRevalidate:N,unstable_useTransitions:H});function Ne(ue){c&&c(ue),ue.defaultPrevented||he(ue)}let re=!(G.isExternal||f),me=j.createElement("a",{...S,...pe,href:(re?$:void 0)||G.absoluteURL||Y,onClick:re?Ne:c,ref:P4(E,ae),target:m,"data-discover":!z&&i==="render"?"true":void 0});return Z&&!z?j.createElement(j.Fragment,null,me,j.createElement(X4,{page:Y})):me});Yt.displayName="Link";var _2=j.forwardRef(function({"aria-current":c="page",caseSensitive:i=!1,className:r="",end:d=!1,style:f,to:v,viewTransition:_,children:h,...m},g){let y=Dc(v,{relative:m.relative}),b=Nn(),N=j.useContext(So),{navigator:S,basename:E}=j.useContext(Sn),T=N!=null&&cy(y)&&_===!0,O=S.encodeLocation?S.encodeLocation(y).pathname:y.pathname,H=b.pathname,z=N&&N.navigation&&N.navigation.location?N.navigation.location.pathname:null;i||(H=H.toLowerCase(),z=z?z.toLowerCase():null,O=O.toLowerCase()),z&&E&&(z=kl(z,E)||z);const G=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let Y=H===O||!d&&H.startsWith(O)&&H.charAt(G)==="/",J=z!=null&&(z===O||!d&&z.startsWith(O)&&z.charAt(O.length)==="/"),$={isActive:Y,isPending:J,isTransitioning:T},Z=Y?c:void 0,ae;typeof r=="function"?ae=r($):ae=[r,Y?"active":null,J?"pending":null,T?"transitioning":null].filter(Boolean).join(" ");let pe=typeof f=="function"?f($):f;return j.createElement(Yt,{...m,"aria-current":Z,className:ae,ref:g,style:pe,to:v,viewTransition:_},typeof h=="function"?h($):h)});_2.displayName="NavLink";var ey=j.forwardRef(({discover:s="render",fetcherKey:c,navigate:i,reloadDocument:r,replace:d,state:f,method:v=ro,action:_,onSubmit:h,relative:m,preventScrollReset:g,viewTransition:y,unstable_defaultShouldRevalidate:b,...N},S)=>{let{unstable_useTransitions:E}=j.useContext(Sn),T=sy(),O=iy(_,{relative:m}),H=v.toLowerCase()==="get"?"get":"post",z=typeof _=="string"&&Ip.test(_),G=Y=>{if(h&&h(Y),Y.defaultPrevented)return;Y.preventDefault();let J=Y.nativeEvent.submitter,$=(J==null?void 0:J.getAttribute("formmethod"))||v,Z=()=>T(J||Y.currentTarget,{fetcherKey:c,method:$,navigate:i,replace:d,state:f,relative:m,preventScrollReset:g,viewTransition:y,unstable_defaultShouldRevalidate:b});E&&i!==!1?j.startTransition(()=>Z()):Z()};return j.createElement("form",{ref:S,method:H,action:O,onSubmit:r?h:G,...N,"data-discover":!z&&s==="render"?"true":void 0})});ey.displayName="Form";function ty(s){return`${s} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Kp(s){let c=j.useContext(mi);return lt(c,ty(s)),c}function ny(s,{target:c,replace:i,unstable_mask:r,state:d,preventScrollReset:f,relative:v,viewTransition:_,unstable_defaultShouldRevalidate:h,unstable_useTransitions:m}={}){let g=wn(),y=Nn(),b=Dc(s,{relative:v});return j.useCallback(N=>{if(D4(N,c)){N.preventDefault();let S=i!==void 0?i:wc(y)===wc(b),E=()=>g(s,{replace:S,unstable_mask:r,state:d,preventScrollReset:f,relative:v,viewTransition:_,unstable_defaultShouldRevalidate:h});m?j.startTransition(()=>E()):E()}},[y,g,b,i,r,d,c,s,f,v,_,h,m])}var ly=0,ay=()=>`__${String(++ly)}__`;function sy(){let{router:s}=Kp("useSubmit"),{basename:c}=j.useContext(Sn),i=N4(),r=s.fetch,d=s.navigate;return j.useCallback(async(f,v={})=>{let{action:_,method:h,encType:m,formData:g,body:y}=k4(f,c);if(v.navigate===!1){let b=v.fetcherKey||ay();await r(b,i,v.action||_,{unstable_defaultShouldRevalidate:v.unstable_defaultShouldRevalidate,preventScrollReset:v.preventScrollReset,formData:g,body:y,formMethod:v.method||h,formEncType:v.encType||m,flushSync:v.flushSync})}else await d(v.action||_,{unstable_defaultShouldRevalidate:v.unstable_defaultShouldRevalidate,preventScrollReset:v.preventScrollReset,formData:g,body:y,formMethod:v.method||h,formEncType:v.encType||m,replace:v.replace,state:v.state,fromRouteId:i,flushSync:v.flushSync,viewTransition:v.viewTransition})},[r,d,c,i])}function iy(s,{relative:c}={}){let{basename:i}=j.useContext(Sn),r=j.useContext(Hn);lt(r,"useFormAction must be used inside a RouteContext");let[d]=r.matches.slice(-1),f={...Dc(s||".",{relative:c})},v=Nn();if(s==null){f.search=v.search;let _=new URLSearchParams(f.search),h=_.getAll("index");if(h.some(g=>g==="")){_.delete("index"),h.filter(y=>y).forEach(y=>_.append("index",y));let g=_.toString();f.search=g?`?${g}`:""}}return(!s||s===".")&&d.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(f.pathname=f.pathname==="/"?i:Vn([i,f.pathname])),wc(f)}function cy(s,{relative:c}={}){let i=j.useContext(qp);lt(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Kp("useViewTransitionState"),d=Dc(s,{relative:c});if(!i.isTransitioning)return!1;let f=kl(i.currentLocation.pathname,r)||i.currentLocation.pathname,v=kl(i.nextLocation.pathname,r)||i.nextLocation.pathname;return fo(d.pathname,v)!=null||fo(d.pathname,f)!=null}const ry="_btn_8fkbu_1",oy="_primary_8fkbu_17",uy="_danger_8fkbu_27",dy="_ghost_8fkbu_37",fy="_outline_8fkbu_47",Nm={btn:ry,primary:oy,danger:uy,ghost:dy,outline:fy};function jn({variant:s,children:c,onClick:i,type:r="button",disabled:d}){return l.jsx("button",{type:r,className:`${Nm.btn} ${Nm[s]}`,onClick:i,disabled:d,children:c})}const hy="_field_1rkrg_1",my="_compact_1rkrg_5",py="_fieldError_1rkrg_9",vy="_fieldLabel_1rkrg_15",gy="_fieldInput_1rkrg_23",_y="_currency_1rkrg_49",yy="_currencyIcon_1rkrg_58",xy="_currencyRub_1rkrg_70",by="_currencyUsdt_1rkrg_74",Wn={field:hy,compact:my,fieldError:py,fieldLabel:vy,fieldInput:gy,currency:_y,currencyIcon:yy,currencyRub:xy,currencyUsdt:by};function mo({label:s,value:c,currency:i,onChange:r,error:d,compact:f}){const v=!r;return l.jsxs("div",{className:f?`${Wn.field} ${Wn.compact}`:Wn.field,children:[s&&l.jsx("div",{className:Wn.fieldLabel,children:s}),l.jsxs("div",{className:Wn.fieldInput,children:[l.jsx("input",{type:"text",value:c,onChange:r?_=>r(_.target.value):void 0,readOnly:v,placeholder:"0",inputMode:v?void 0:"decimal"}),l.jsxs("div",{className:Wn.currency,children:[l.jsx("span",{className:`${Wn.currencyIcon} ${i==="USDT"?Wn.currencyUsdt:Wn.currencyRub}`,children:i==="USDT"?"₮":"₽"}),i]})]}),d&&l.jsx("div",{className:Wn.fieldError,children:d})]})}const jy="_swapWrap_172k4_1",Sy="_compact_172k4_6",Ny="_swapBtn_172k4_10",no={swapWrap:jy,compact:Sy,swapBtn:Ny};function Pp({onClick:s,compact:c}){return l.jsx("div",{className:c?`${no.swapWrap} ${no.compact}`:no.swapWrap,children:l.jsx("button",{type:"button",className:no.swapBtn,onClick:s,"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"})})})})}const wy="_field_zffpb_1",Cy="_label_zffpb_7",Ey="_wrap_zffpb_14",Ty="_input_zffpb_18",Ry="_readonly_zffpb_37",Ay="_copied_zffpb_44",My="_iconCheck_zffpb_59",Oy="_iconLock_zffpb_68",zy="_withToggle_zffpb_76",Dy="_togglePw_zffpb_80",Jn={field:wy,label:Cy,wrap:Ey,input:Ty,readonly:Ry,copied:Ay,iconCheck:My,iconLock:Oy,withToggle:zy,togglePw:Dy};function tt({label:s,value:c,placeholder:i,type:r="text",onChange:d,onBlur:f,readOnly:v,required:_,icon:h}){const[m,g]=j.useState(!1),[y,b]=j.useState(!1),N=r==="password",S=N?y?"text":"password":r,E=()=>{v&&navigator.clipboard.writeText(c).then(()=>{g(!0),setTimeout(()=>g(!1),1500)})};return l.jsxs("div",{className:Jn.field,children:[l.jsx("label",{className:Jn.label,children:s}),l.jsxs("div",{className:Jn.wrap,onClick:E,children:[l.jsx("input",{className:`${Jn.input} ${N?Jn.withToggle:""} ${v?Jn.readonly:""} ${m?Jn.copied:""}`,type:S,...d?{value:c,onChange:T=>d(T.target.value)}:{defaultValue:c},placeholder:i,readOnly:v,required:_,onBlur:f}),N&&l.jsx("button",{type:"button",className:Jn.togglePw,onClick:T=>{T.stopPropagation(),b(O=>!O)},"aria-label":y?"Скрыть пароль":"Показать пароль",children:y?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"})]})}),h==="check"&&l.jsx("span",{className:Jn.iconCheck,children:"✓"}),h==="lock"&&l.jsx("span",{className:Jn.iconLock,children:"🔒"})]})]})}const Ly="_notification_m7zar_1",By="_slideIn_m7zar_1",ky="_notificationWrapper_m7zar_19",Uy="_closing_m7zar_24",Hy="_slideOut_m7zar_1",$y="_icon_m7zar_52",qy="_success_m7zar_65",Gy="_error_m7zar_70",Fy="_info_m7zar_75",Vy="_warning_m7zar_80",Qy="_message_m7zar_85",Yy="_close_m7zar_93",qa={notification:Ly,slideIn:By,notificationWrapper:ky,closing:Uy,slideOut:Hy,icon:$y,success:qy,error:Gy,info:Fy,warning:Vy,message:Qy,close:Yy},Xy={success:"✓",error:"✕",info:"i",warning:"!"};function as({message:s,status:c,onClose:i}){const[r,d]=j.useState(!1);function f(){d(!0)}function v(){r&&i()}return l.jsxs("div",{className:`${qa.notification} ${qa[c]} ${r?qa.closing:""}`,onAnimationEnd:v,children:[l.jsxs("div",{className:qa.notificationWrapper,children:[l.jsx("span",{className:qa.icon,children:Xy[c]}),l.jsx("p",{className:qa.message,children:s})]}),l.jsx("button",{className:qa.close,onClick:f,children:"✕"})]})}const Zy="_pill_3oadq_1",Iy={pill:Zy};function Ky({children:s}){return l.jsx("span",{className:Iy.pill,children:s})}const Py="_btn_ytb12_1",Wy={btn:Py};function Ul({label:s="Подтвердить своп",onClick:c,type:i="submit",disabled:r}){return l.jsx("button",{type:i,className:Wy.btn,onClick:c,disabled:r,children:s})}const Jy="_icon_73irc_1",ex={icon:Jy};function wm({letter:s,color:c,logo:i,size:r=40}){return l.jsx("div",{className:ex.icon,style:{background:i?"transparent":c,width:r,height:r,fontSize:r*.45},children:i?l.jsx("img",{src:i,alt:s,style:{width:r*.7,height:r*.7}}):s})}const tx="_section_11f1k_1",nx="_wrap_11f1k_7",lx="_descBlock_11f1k_16",ax="_descText_11f1k_22",sx="_right_11f1k_33",ix="_glow_11f1k_37",cx="_row_11f1k_49",rx="_check_11f1k_87",ox="_text_11f1k_101",el={section:tx,wrap:nx,descBlock:lx,descText:ax,right:sx,glow:ix,row:cx,check:rx,text:ox},ux="_title_1ien9_1",dx={title:ux};function Wp({children:s}){return l.jsx("h2",{className:dx.title,children:s})}const Cm=["Вся деятельность компании соответствует законодательству Российской Федерации и требованиям регуляторов","Вся документация компании открыта и доступна для ознакомления","Операции защищены шифрованием уровня ERC-20 и проходят верификацию в блокчейне"];function fx(){const[s,c]=j.useState(-1);return l.jsx("section",{id:"about",className:el.section,children:l.jsxs("div",{className:el.wrap,children:[l.jsxs("div",{children:[l.jsx(Ky,{children:"О КОМПАНИИ"}),l.jsx(Wp,{children:"О нас"}),l.jsxs("div",{className:el.descBlock,children:[l.jsx("p",{className:el.descText,children:"ЭКСА — молодая финтех-компания в сфере цифровых активов. Наша миссия — сделать оборот цифровых активов простым, прозрачным и законным."}),l.jsx("p",{className:el.descText,children:"Мы создаём инфраструктуру для операций с криптовалютой и комплексные решения для физических и юридических лиц."})]})]}),l.jsxs("div",{className:el.right,children:[l.jsx("div",{className:el.glow}),Cm.map((i,r)=>l.jsxs("div",{className:el.row,"data-hovered":s===r||void 0,"data-last":r===Cm.length-1||void 0,onMouseEnter:()=>c(r),onMouseLeave:()=>c(-1),children:[l.jsx("div",{className:el.check,children:"✓"}),l.jsx("span",{className:el.text,children:i})]},r))]})]})})}const po=[{min:5e3,max:3e4,pct:8},{min:30001,max:1e5,pct:6},{min:100001,max:6e5,pct:4}],t2=po[0].min,Em=po[po.length-1].max;function hx(s){return s<=t2?0:s>=Em?100:(s-t2)/(Em-t2)*100}const mx="_title_ujt2o_1",px="_table_ujt2o_8",vx="_row_ujt2o_15",gx="_range_ujt2o_31",_x="_pct_ujt2o_36",yx="_progressBar_ujt2o_43",xx="_progressFill_ujt2o_51",bx="_summary_ujt2o_58",jx="_summaryLabel_ujt2o_73",Sx="_summaryValue_ujt2o_78",_n={title:mx,table:px,row:vx,range:gx,pct:_x,progressBar:yx,progressFill:xx,summary:bx,summaryLabel:jx,summaryValue:Sx},Tm=s=>s.toLocaleString("ru-RU");function Jp({amount:s,progress:c,commission:i,effectiveRate:r}){return l.jsxs("div",{children:[l.jsx("div",{className:_n.title,children:"КОМИССИЯ СЕРВИСА"}),l.jsx("div",{className:_n.table,children:po.map((d,f)=>l.jsxs("div",{className:_n.row,"data-active":s>=d.min&&s<=d.max||void 0,children:[l.jsxs("span",{className:_n.range,children:[Tm(d.min)," – ",Tm(d.max)," ₽"]}),l.jsxs("span",{className:_n.pct,children:[d.pct,"%"]})]},f))}),l.jsx("div",{className:_n.progressBar,children:l.jsx("div",{className:_n.progressFill,style:{width:`${c}%`}})}),l.jsxs("div",{className:_n.summary,children:[l.jsx("span",{className:_n.summaryLabel,children:"Комиссия"}),l.jsxs("span",{className:_n.summaryValue,children:[i.toLocaleString("ru-RU",{maximumFractionDigits:2})," ₽"]})]}),l.jsxs("div",{className:_n.summary,children:[l.jsx("span",{className:_n.summaryLabel,children:"Курс с комиссией"}),l.jsxs("span",{className:_n.summaryValue,children:[r.toFixed(2)," ₽"]})]})]})}var vi=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(){}},Ia,fa,Js,bp,Nx=(bp=class extends vi{constructor(){super();ie(this,Ia);ie(this,fa);ie(this,Js);W(this,Js,c=>{if(typeof window<"u"&&window.addEventListener){const i=()=>c();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){C(this,fa)||this.setEventListener(C(this,Js))}onUnsubscribe(){var c;this.hasListeners()||((c=C(this,fa))==null||c.call(this),W(this,fa,void 0))}setEventListener(c){var i;W(this,Js,c),(i=C(this,fa))==null||i.call(this),W(this,fa,c(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(c){C(this,Ia)!==c&&(W(this,Ia,c),this.onFocus())}onFocus(){const c=this.isFocused();this.listeners.forEach(i=>{i(c)})}isFocused(){var c;return typeof C(this,Ia)=="boolean"?C(this,Ia):((c=globalThis.document)==null?void 0:c.visibilityState)!=="hidden"}},Ia=new WeakMap,fa=new WeakMap,Js=new WeakMap,bp),J2=new Nx,wx={setTimeout:(s,c)=>setTimeout(s,c),clearTimeout:s=>clearTimeout(s),setInterval:(s,c)=>setInterval(s,c),clearInterval:s=>clearInterval(s)},ha,G2,jp,Cx=(jp=class{constructor(){ie(this,ha,wx);ie(this,G2,!1)}setTimeoutProvider(s){W(this,ha,s)}setTimeout(s,c){return C(this,ha).setTimeout(s,c)}clearTimeout(s){C(this,ha).clearTimeout(s)}setInterval(s,c){return C(this,ha).setInterval(s,c)}clearInterval(s){C(this,ha).clearInterval(s)}},ha=new WeakMap,G2=new WeakMap,jp),Za=new Cx;function Ex(s){setTimeout(s,0)}var Tx=typeof window>"u"||"Deno"in globalThis;function Qt(){}function Rx(s,c){return typeof s=="function"?s(c):s}function y2(s){return typeof s=="number"&&s>=0&&s!==1/0}function e3(s,c){return Math.max(s+(c||0)-Date.now(),0)}function ba(s,c){return typeof s=="function"?s(c):s}function bn(s,c){return typeof s=="function"?s(c):s}function Rm(s,c){const{type:i="all",exact:r,fetchStatus:d,predicate:f,queryKey:v,stale:_}=s;if(v){if(r){if(c.queryHash!==ed(v,c.options))return!1}else if(!Cc(c.queryKey,v))return!1}if(i!=="all"){const h=c.isActive();if(i==="active"&&!h||i==="inactive"&&h)return!1}return!(typeof _=="boolean"&&c.isStale()!==_||d&&d!==c.state.fetchStatus||f&&!f(c))}function Am(s,c){const{exact:i,status:r,predicate:d,mutationKey:f}=s;if(f){if(!c.options.mutationKey)return!1;if(i){if(ss(c.options.mutationKey)!==ss(f))return!1}else if(!Cc(c.options.mutationKey,f))return!1}return!(r&&c.state.status!==r||d&&!d(c))}function ed(s,c){return((c==null?void 0:c.queryKeyHashFn)||ss)(s)}function ss(s){return JSON.stringify(s,(c,i)=>x2(i)?Object.keys(i).sort().reduce((r,d)=>(r[d]=i[d],r),{}):i)}function Cc(s,c){return s===c?!0:typeof s!=typeof c?!1:s&&c&&typeof s=="object"&&typeof c=="object"?Object.keys(c).every(i=>Cc(s[i],c[i])):!1}var Ax=Object.prototype.hasOwnProperty;function t3(s,c,i=0){if(s===c)return s;if(i>500)return c;const r=Mm(s)&&Mm(c);if(!r&&!(x2(s)&&x2(c)))return c;const f=(r?s:Object.keys(s)).length,v=r?c:Object.keys(c),_=v.length,h=r?new Array(_):{};let m=0;for(let g=0;g<_;g++){const y=r?g:v[g],b=s[y],N=c[y];if(b===N){h[y]=b,(r?g<f:Ax.call(s,y))&&m++;continue}if(b===null||N===null||typeof b!="object"||typeof N!="object"){h[y]=N;continue}const S=t3(b,N,i+1);h[y]=S,S===b&&m++}return f===_&&m===f?s:h}function vo(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 Mm(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function x2(s){if(!Om(s))return!1;const c=s.constructor;if(c===void 0)return!0;const i=c.prototype;return!(!Om(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function Om(s){return Object.prototype.toString.call(s)==="[object Object]"}function Mx(s){return new Promise(c=>{Za.setTimeout(c,s)})}function b2(s,c,i){return typeof i.structuralSharing=="function"?i.structuralSharing(s,c):i.structuralSharing!==!1?t3(s,c):c}function Ox(s,c,i=0){const r=[...s,c];return i&&r.length>i?r.slice(1):r}function zx(s,c,i=0){const r=[c,...s];return i&&r.length>i?r.slice(0,-1):r}var td=Symbol();function n3(s,c){return!s.queryFn&&(c!=null&&c.initialPromise)?()=>c.initialPromise:!s.queryFn||s.queryFn===td?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function nd(s,c){return typeof s=="function"?s(...c):!!s}function Dx(s,c,i){let r=!1,d;return Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(d??(d=c()),r||(r=!0,d.aborted?i():d.addEventListener("abort",i,{once:!0})),d)}),s}var Ec=(()=>{let s=()=>Tx;return{isServer(){return s()},setIsServer(c){s=c}}})();function j2(){let s,c;const i=new Promise((d,f)=>{s=d,c=f});i.status="pending",i.catch(()=>{});function r(d){Object.assign(i,d),delete i.resolve,delete i.reject}return i.resolve=d=>{r({status:"fulfilled",value:d}),s(d)},i.reject=d=>{r({status:"rejected",reason:d}),c(d)},i}var Lx=Ex;function Bx(){let s=[],c=0,i=_=>{_()},r=_=>{_()},d=Lx;const f=_=>{c?s.push(_):d(()=>{i(_)})},v=()=>{const _=s;s=[],_.length&&d(()=>{r(()=>{_.forEach(h=>{i(h)})})})};return{batch:_=>{let h;c++;try{h=_()}finally{c--,c||v()}return h},batchCalls:_=>(...h)=>{f(()=>{_(...h)})},schedule:f,setNotifyFunction:_=>{i=_},setBatchNotifyFunction:_=>{r=_},setScheduler:_=>{d=_}}}var Nt=Bx(),ei,ma,ti,Sp,kx=(Sp=class extends vi{constructor(){super();ie(this,ei,!0);ie(this,ma);ie(this,ti);W(this,ti,c=>{if(typeof window<"u"&&window.addEventListener){const i=()=>c(!0),r=()=>c(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",r)}}})}onSubscribe(){C(this,ma)||this.setEventListener(C(this,ti))}onUnsubscribe(){var c;this.hasListeners()||((c=C(this,ma))==null||c.call(this),W(this,ma,void 0))}setEventListener(c){var i;W(this,ti,c),(i=C(this,ma))==null||i.call(this),W(this,ma,c(this.setOnline.bind(this)))}setOnline(c){C(this,ei)!==c&&(W(this,ei,c),this.listeners.forEach(r=>{r(c)}))}isOnline(){return C(this,ei)}},ei=new WeakMap,ma=new WeakMap,ti=new WeakMap,Sp),go=new kx;function Ux(s){return Math.min(1e3*2**s,3e4)}function l3(s){return(s??"online")==="online"?go.isOnline():!0}var S2=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function a3(s){let c=!1,i=0,r;const d=j2(),f=()=>d.status!=="pending",v=E=>{var T;if(!f()){const O=new S2(E);b(O),(T=s.onCancel)==null||T.call(s,O)}},_=()=>{c=!0},h=()=>{c=!1},m=()=>J2.isFocused()&&(s.networkMode==="always"||go.isOnline())&&s.canRun(),g=()=>l3(s.networkMode)&&s.canRun(),y=E=>{f()||(r==null||r(),d.resolve(E))},b=E=>{f()||(r==null||r(),d.reject(E))},N=()=>new Promise(E=>{var T;r=O=>{(f()||m())&&E(O)},(T=s.onPause)==null||T.call(s)}).then(()=>{var E;r=void 0,f()||(E=s.onContinue)==null||E.call(s)}),S=()=>{if(f())return;let E;const T=i===0?s.initialPromise:void 0;try{E=T??s.fn()}catch(O){E=Promise.reject(O)}Promise.resolve(E).then(y).catch(O=>{var J;if(f())return;const H=s.retry??(Ec.isServer()?0:3),z=s.retryDelay??Ux,G=typeof z=="function"?z(i,O):z,Y=H===!0||typeof H=="number"&&i<H||typeof H=="function"&&H(i,O);if(c||!Y){b(O);return}i++,(J=s.onFail)==null||J.call(s,i,O),Mx(G).then(()=>m()?void 0:N()).then(()=>{c?b(O):S()})})};return{promise:d,status:()=>d.status,cancel:v,continue:()=>(r==null||r(),d),cancelRetry:_,continueRetry:h,canStart:g,start:()=>(g()?S():N().then(S),d)}}var Ka,Np,s3=(Np=class{constructor(){ie(this,Ka)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),y2(this.gcTime)&&W(this,Ka,Za.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(Ec.isServer()?1/0:300*1e3))}clearGcTimeout(){C(this,Ka)!==void 0&&(Za.clearTimeout(C(this,Ka)),W(this,Ka,void 0))}},Ka=new WeakMap,Np);function Hx(s){return{onFetch:(c,i)=>{var g,y,b,N,S;const r=c.options,d=(b=(y=(g=c.fetchOptions)==null?void 0:g.meta)==null?void 0:y.fetchMore)==null?void 0:b.direction,f=((N=c.state.data)==null?void 0:N.pages)||[],v=((S=c.state.data)==null?void 0:S.pageParams)||[];let _={pages:[],pageParams:[]},h=0;const m=async()=>{let E=!1;const T=z=>{Dx(z,()=>c.signal,()=>E=!0)},O=n3(c.options,c.fetchOptions),H=async(z,G,Y)=>{if(E)return Promise.reject(c.signal.reason);if(G==null&&z.pages.length)return Promise.resolve(z);const $=(()=>{const he={client:c.client,queryKey:c.queryKey,pageParam:G,direction:Y?"backward":"forward",meta:c.options.meta};return T(he),he})(),Z=await O($),{maxPages:ae}=c.options,pe=Y?zx:Ox;return{pages:pe(z.pages,Z,ae),pageParams:pe(z.pageParams,G,ae)}};if(d&&f.length){const z=d==="backward",G=z?i3:N2,Y={pages:f,pageParams:v},J=G(r,Y);_=await H(Y,J,z)}else{const z=s??f.length;do{const G=h===0?v[0]??r.initialPageParam:N2(r,_);if(h>0&&G==null)break;_=await H(_,G),h++}while(h<z)}return _};c.options.persister?c.fetchFn=()=>{var E,T;return(T=(E=c.options).persister)==null?void 0:T.call(E,m,{client:c.client,queryKey:c.queryKey,meta:c.options.meta,signal:c.signal},i)}:c.fetchFn=m}}}function N2(s,{pages:c,pageParams:i}){const r=c.length-1;return c.length>0?s.getNextPageParam(c[r],c,i[r],i):void 0}function i3(s,{pages:c,pageParams:i}){var r;return c.length>0?(r=s.getPreviousPageParam)==null?void 0:r.call(s,c[0],c,i[0],i):void 0}function $x(s,c){return c?N2(s,c)!=null:!1}function qx(s,c){return!c||!s.getPreviousPageParam?!1:i3(s,c)!=null}var ni,Pa,li,kn,Wa,Tt,Tc,Ja,xn,c3,Ml,wp,Gx=(wp=class extends s3{constructor(c){super();ie(this,xn);ie(this,ni);ie(this,Pa);ie(this,li);ie(this,kn);ie(this,Wa);ie(this,Tt);ie(this,Tc);ie(this,Ja);W(this,Ja,!1),W(this,Tc,c.defaultOptions),this.setOptions(c.options),this.observers=[],W(this,Wa,c.client),W(this,kn,C(this,Wa).getQueryCache()),this.queryKey=c.queryKey,this.queryHash=c.queryHash,W(this,Pa,Dm(this.options)),this.state=c.state??C(this,Pa),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return C(this,ni)}get promise(){var c;return(c=C(this,Tt))==null?void 0:c.promise}setOptions(c){if(this.options={...C(this,Tc),...c},c!=null&&c._type&&W(this,ni,c._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Dm(this.options);i.data!==void 0&&(this.setState(zm(i.data,i.dataUpdatedAt)),W(this,Pa,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,kn).remove(this)}setData(c,i){const r=b2(this.state.data,c,this.options);return je(this,xn,Ml).call(this,{data:r,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),r}setState(c){je(this,xn,Ml).call(this,{type:"setState",state:c})}cancel(c){var r,d;const i=(r=C(this,Tt))==null?void 0:r.promise;return(d=C(this,Tt))==null||d.cancel(c),i?i.then(Qt).catch(Qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return C(this,Pa)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(c=>bn(c.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===td||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(c=>ba(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:!e3(this.state.dataUpdatedAt,c)}onFocus(){var i;const c=this.observers.find(r=>r.shouldFetchOnWindowFocus());c==null||c.refetch({cancelRefetch:!1}),(i=C(this,Tt))==null||i.continue()}onOnline(){var i;const c=this.observers.find(r=>r.shouldFetchOnReconnect());c==null||c.refetch({cancelRefetch:!1}),(i=C(this,Tt))==null||i.continue()}addObserver(c){this.observers.includes(c)||(this.observers.push(c),this.clearGcTimeout(),C(this,kn).notify({type:"observerAdded",query:this,observer:c}))}removeObserver(c){this.observers.includes(c)&&(this.observers=this.observers.filter(i=>i!==c),this.observers.length||(C(this,Tt)&&(C(this,Ja)||je(this,xn,c3).call(this)?C(this,Tt).cancel({revert:!0}):C(this,Tt).cancelRetry()),this.scheduleGc()),C(this,kn).notify({type:"observerRemoved",query:this,observer:c}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,xn,Ml).call(this,{type:"invalidate"})}async fetch(c,i){var m,g,y,b,N,S,E,T,O,H,z;if(this.state.fetchStatus!=="idle"&&((m=C(this,Tt))==null?void 0:m.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(C(this,Tt))return C(this,Tt).continueRetry(),C(this,Tt).promise}if(c&&this.setOptions(c),!this.options.queryFn){const G=this.observers.find(Y=>Y.options.queryFn);G&&this.setOptions(G.options)}const r=new AbortController,d=G=>{Object.defineProperty(G,"signal",{enumerable:!0,get:()=>(W(this,Ja,!0),r.signal)})},f=()=>{const G=n3(this.options,i),J=(()=>{const $={client:C(this,Wa),queryKey:this.queryKey,meta:this.meta};return d($),$})();return W(this,Ja,!1),this.options.persister?this.options.persister(G,J,this):G(J)},_=(()=>{const G={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:C(this,Wa),state:this.state,fetchFn:f};return d(G),G})(),h=C(this,ni)==="infinite"?Hx(this.options.pages):this.options.behavior;h==null||h.onFetch(_,this),W(this,li,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=_.fetchOptions)==null?void 0:g.meta))&&je(this,xn,Ml).call(this,{type:"fetch",meta:(y=_.fetchOptions)==null?void 0:y.meta}),W(this,Tt,a3({initialPromise:i==null?void 0:i.initialPromise,fn:_.fetchFn,onCancel:G=>{G instanceof S2&&G.revert&&this.setState({...C(this,li),fetchStatus:"idle"}),r.abort()},onFail:(G,Y)=>{je(this,xn,Ml).call(this,{type:"failed",failureCount:G,error:Y})},onPause:()=>{je(this,xn,Ml).call(this,{type:"pause"})},onContinue:()=>{je(this,xn,Ml).call(this,{type:"continue"})},retry:_.options.retry,retryDelay:_.options.retryDelay,networkMode:_.options.networkMode,canRun:()=>!0}));try{const G=await C(this,Tt).start();if(G===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(G),(N=(b=C(this,kn).config).onSuccess)==null||N.call(b,G,this),(E=(S=C(this,kn).config).onSettled)==null||E.call(S,G,this.state.error,this),G}catch(G){if(G instanceof S2){if(G.silent)return C(this,Tt).promise;if(G.revert){if(this.state.data===void 0)throw G;return this.state.data}}throw je(this,xn,Ml).call(this,{type:"error",error:G}),(O=(T=C(this,kn).config).onError)==null||O.call(T,G,this),(z=(H=C(this,kn).config).onSettled)==null||z.call(H,this.state.data,G,this),G}finally{this.scheduleGc()}}},ni=new WeakMap,Pa=new WeakMap,li=new WeakMap,kn=new WeakMap,Wa=new WeakMap,Tt=new WeakMap,Tc=new WeakMap,Ja=new WeakMap,xn=new WeakSet,c3=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Ml=function(c){const i=r=>{switch(c.type){case"failed":return{...r,fetchFailureCount:c.failureCount,fetchFailureReason:c.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...r3(r.data,this.options),fetchMeta:c.meta??null};case"success":const d={...r,...zm(c.data,c.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!c.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return W(this,li,c.manual?d:void 0),d;case"error":const f=c.error;return{...r,error:f,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:f,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...c.state}}};this.state=i(this.state),Nt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),C(this,kn).notify({query:this,type:"updated",action:c})})},wp);function r3(s,c){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:l3(c.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function zm(s,c){return{data:s,dataUpdatedAt:c??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Dm(s){const c=typeof s.initialData=="function"?s.initialData():s.initialData,i=c!==void 0,r=i?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:c,dataUpdateCount:0,dataUpdatedAt:i?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var ln,ze,Rc,Vt,es,ai,Ol,pa,Ac,si,ii,ts,ns,va,ci,$e,Sc,w2,C2,E2,T2,R2,A2,M2,u3,Cp,o3=(Cp=class extends vi{constructor(c,i){super();ie(this,$e);ie(this,ln);ie(this,ze);ie(this,Rc);ie(this,Vt);ie(this,es);ie(this,ai);ie(this,Ol);ie(this,pa);ie(this,Ac);ie(this,si);ie(this,ii);ie(this,ts);ie(this,ns);ie(this,va);ie(this,ci,new Set);this.options=i,W(this,ln,c),W(this,pa,null),W(this,Ol,j2()),this.bindMethods(),this.setOptions(i)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(C(this,ze).addObserver(this),Lm(C(this,ze),this.options)?je(this,$e,Sc).call(this):this.updateResult(),je(this,$e,T2).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return O2(C(this,ze),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return O2(C(this,ze),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,je(this,$e,R2).call(this),je(this,$e,A2).call(this),C(this,ze).removeObserver(this)}setOptions(c){const i=this.options,r=C(this,ze);if(this.options=C(this,ln).defaultQueryOptions(c),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof bn(this.options.enabled,C(this,ze))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");je(this,$e,M2).call(this),C(this,ze).setOptions(this.options),i._defaulted&&!vo(this.options,i)&&C(this,ln).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,ze),observer:this});const d=this.hasListeners();d&&Bm(C(this,ze),r,this.options,i)&&je(this,$e,Sc).call(this),this.updateResult(),d&&(C(this,ze)!==r||bn(this.options.enabled,C(this,ze))!==bn(i.enabled,C(this,ze))||ba(this.options.staleTime,C(this,ze))!==ba(i.staleTime,C(this,ze)))&&je(this,$e,w2).call(this);const f=je(this,$e,C2).call(this);d&&(C(this,ze)!==r||bn(this.options.enabled,C(this,ze))!==bn(i.enabled,C(this,ze))||f!==C(this,va))&&je(this,$e,E2).call(this,f)}getOptimisticResult(c){const i=C(this,ln).getQueryCache().build(C(this,ln),c),r=this.createResult(i,c);return Vx(this,r)&&(W(this,Vt,r),W(this,ai,this.options),W(this,es,C(this,ze).state)),r}getCurrentResult(){return C(this,Vt)}trackResult(c,i){return new Proxy(c,{get:(r,d)=>(this.trackProp(d),i==null||i(d),d==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&C(this,Ol).status==="pending"&&C(this,Ol).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,d))})}trackProp(c){C(this,ci).add(c)}getCurrentQuery(){return C(this,ze)}refetch({...c}={}){return this.fetch({...c})}fetchOptimistic(c){const i=C(this,ln).defaultQueryOptions(c),r=C(this,ln).getQueryCache().build(C(this,ln),i);return r.fetch().then(()=>this.createResult(r,i))}fetch(c){return je(this,$e,Sc).call(this,{...c,cancelRefetch:c.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,Vt)))}createResult(c,i){var ae;const r=C(this,ze),d=this.options,f=C(this,Vt),v=C(this,es),_=C(this,ai),m=c!==r?c.state:C(this,Rc),{state:g}=c;let y={...g},b=!1,N;if(i._optimisticResults){const pe=this.hasListeners(),he=!pe&&Lm(c,i),Ne=pe&&Bm(c,r,i,d);(he||Ne)&&(y={...y,...r3(g.data,c.options)}),i._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:S,errorUpdatedAt:E,status:T}=y;N=y.data;let O=!1;if(i.placeholderData!==void 0&&N===void 0&&T==="pending"){let pe;f!=null&&f.isPlaceholderData&&i.placeholderData===(_==null?void 0:_.placeholderData)?(pe=f.data,O=!0):pe=typeof i.placeholderData=="function"?i.placeholderData((ae=C(this,ii))==null?void 0:ae.state.data,C(this,ii)):i.placeholderData,pe!==void 0&&(T="success",N=b2(f==null?void 0:f.data,pe,i),b=!0)}if(i.select&&N!==void 0&&!O)if(f&&N===(v==null?void 0:v.data)&&i.select===C(this,Ac))N=C(this,si);else try{W(this,Ac,i.select),N=i.select(N),N=b2(f==null?void 0:f.data,N,i),W(this,si,N),W(this,pa,null)}catch(pe){W(this,pa,pe)}C(this,pa)&&(S=C(this,pa),N=C(this,si),E=Date.now(),T="error");const H=y.fetchStatus==="fetching",z=T==="pending",G=T==="error",Y=z&&H,J=N!==void 0,Z={status:T,fetchStatus:y.fetchStatus,isPending:z,isSuccess:T==="success",isError:G,isInitialLoading:Y,isLoading:Y,data:N,dataUpdatedAt:y.dataUpdatedAt,error:S,errorUpdatedAt:E,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:c.isFetched(),isFetchedAfterMount:y.dataUpdateCount>m.dataUpdateCount||y.errorUpdateCount>m.errorUpdateCount,isFetching:H,isRefetching:H&&!z,isLoadingError:G&&!J,isPaused:y.fetchStatus==="paused",isPlaceholderData:b,isRefetchError:G&&J,isStale:ld(c,i),refetch:this.refetch,promise:C(this,Ol),isEnabled:bn(i.enabled,c)!==!1};if(this.options.experimental_prefetchInRender){const pe=Z.data!==void 0,he=Z.status==="error"&&!pe,Ne=ue=>{he?ue.reject(Z.error):pe&&ue.resolve(Z.data)},re=()=>{const ue=W(this,Ol,Z.promise=j2());Ne(ue)},me=C(this,Ol);switch(me.status){case"pending":c.queryHash===r.queryHash&&Ne(me);break;case"fulfilled":(he||Z.data!==me.value)&&re();break;case"rejected":(!he||Z.error!==me.reason)&&re();break}}return Z}updateResult(){const c=C(this,Vt),i=this.createResult(C(this,ze),this.options);if(W(this,es,C(this,ze).state),W(this,ai,this.options),C(this,es).data!==void 0&&W(this,ii,C(this,ze)),vo(i,c))return;W(this,Vt,i);const r=()=>{if(!c)return!0;const{notifyOnChangeProps:d}=this.options,f=typeof d=="function"?d():d;if(f==="all"||!f&&!C(this,ci).size)return!0;const v=new Set(f??C(this,ci));return this.options.throwOnError&&v.add("error"),Object.keys(C(this,Vt)).some(_=>{const h=_;return C(this,Vt)[h]!==c[h]&&v.has(h)})};je(this,$e,u3).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&je(this,$e,T2).call(this)}},ln=new WeakMap,ze=new WeakMap,Rc=new WeakMap,Vt=new WeakMap,es=new WeakMap,ai=new WeakMap,Ol=new WeakMap,pa=new WeakMap,Ac=new WeakMap,si=new WeakMap,ii=new WeakMap,ts=new WeakMap,ns=new WeakMap,va=new WeakMap,ci=new WeakMap,$e=new WeakSet,Sc=function(c){je(this,$e,M2).call(this);let i=C(this,ze).fetch(this.options,c);return c!=null&&c.throwOnError||(i=i.catch(Qt)),i},w2=function(){je(this,$e,R2).call(this);const c=ba(this.options.staleTime,C(this,ze));if(Ec.isServer()||C(this,Vt).isStale||!y2(c))return;const r=e3(C(this,Vt).dataUpdatedAt,c)+1;W(this,ts,Za.setTimeout(()=>{C(this,Vt).isStale||this.updateResult()},r))},C2=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,ze)):this.options.refetchInterval)??!1},E2=function(c){je(this,$e,A2).call(this),W(this,va,c),!(Ec.isServer()||bn(this.options.enabled,C(this,ze))===!1||!y2(C(this,va))||C(this,va)===0)&&W(this,ns,Za.setInterval(()=>{(this.options.refetchIntervalInBackground||J2.isFocused())&&je(this,$e,Sc).call(this)},C(this,va)))},T2=function(){je(this,$e,w2).call(this),je(this,$e,E2).call(this,je(this,$e,C2).call(this))},R2=function(){C(this,ts)!==void 0&&(Za.clearTimeout(C(this,ts)),W(this,ts,void 0))},A2=function(){C(this,ns)!==void 0&&(Za.clearInterval(C(this,ns)),W(this,ns,void 0))},M2=function(){const c=C(this,ln).getQueryCache().build(C(this,ln),this.options);if(c===C(this,ze))return;const i=C(this,ze);W(this,ze,c),W(this,Rc,c.state),this.hasListeners()&&(i==null||i.removeObserver(this),c.addObserver(this))},u3=function(c){Nt.batch(()=>{c.listeners&&this.listeners.forEach(i=>{i(C(this,Vt))}),C(this,ln).getQueryCache().notify({query:C(this,ze),type:"observerResultsUpdated"})})},Cp);function Fx(s,c){return bn(c.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&bn(c.retryOnMount,s)===!1)}function Lm(s,c){return Fx(s,c)||s.state.data!==void 0&&O2(s,c,c.refetchOnMount)}function O2(s,c,i){if(bn(c.enabled,s)!==!1&&ba(c.staleTime,s)!=="static"){const r=typeof i=="function"?i(s):i;return r==="always"||r!==!1&&ld(s,c)}return!1}function Bm(s,c,i,r){return(s!==c||bn(r.enabled,s)===!1)&&(!i.suspense||s.state.status!=="error")&&ld(s,i)}function ld(s,c){return bn(c.enabled,s)!==!1&&s.isStaleByTime(ba(c.staleTime,s))}function Vx(s,c){return!vo(s.getCurrentResult(),c)}var Qx=class extends o3{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 S,E;const{state:i}=s,r=super.createResult(s,c),{isFetching:d,isRefetching:f,isError:v,isRefetchError:_}=r,h=(E=(S=i.fetchMeta)==null?void 0:S.fetchMore)==null?void 0:E.direction,m=v&&h==="forward",g=d&&h==="forward",y=v&&h==="backward",b=d&&h==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:$x(c,i.data),hasPreviousPage:qx(c,i.data),isFetchNextPageError:m,isFetchingNextPage:g,isFetchPreviousPageError:y,isFetchingPreviousPage:b,isRefetchError:_&&!m&&!y,isRefetching:f&&!g&&!b}}},Mc,ll,Ut,ls,al,da,Ep,Yx=(Ep=class extends s3{constructor(c){super();ie(this,al);ie(this,Mc);ie(this,ll);ie(this,Ut);ie(this,ls);W(this,Mc,c.client),this.mutationId=c.mutationId,W(this,Ut,c.mutationCache),W(this,ll,[]),this.state=c.state||d3(),this.setOptions(c.options),this.scheduleGc()}setOptions(c){this.options=c,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(c){C(this,ll).includes(c)||(C(this,ll).push(c),this.clearGcTimeout(),C(this,Ut).notify({type:"observerAdded",mutation:this,observer:c}))}removeObserver(c){W(this,ll,C(this,ll).filter(i=>i!==c)),this.scheduleGc(),C(this,Ut).notify({type:"observerRemoved",mutation:this,observer:c})}optionalRemove(){C(this,ll).length||(this.state.status==="pending"?this.scheduleGc():C(this,Ut).remove(this))}continue(){var c;return((c=C(this,ls))==null?void 0:c.continue())??this.execute(this.state.variables)}async execute(c){var v,_,h,m,g,y,b,N,S,E,T,O,H,z,G,Y,J,$;const i=()=>{je(this,al,da).call(this,{type:"continue"})},r={client:C(this,Mc),meta:this.options.meta,mutationKey:this.options.mutationKey};W(this,ls,a3({fn:()=>this.options.mutationFn?this.options.mutationFn(c,r):Promise.reject(new Error("No mutationFn found")),onFail:(Z,ae)=>{je(this,al,da).call(this,{type:"failed",failureCount:Z,error:ae})},onPause:()=>{je(this,al,da).call(this,{type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,Ut).canRun(this)}));const d=this.state.status==="pending",f=!C(this,ls).canStart();try{if(d)i();else{je(this,al,da).call(this,{type:"pending",variables:c,isPaused:f}),C(this,Ut).config.onMutate&&await C(this,Ut).config.onMutate(c,this,r);const ae=await((_=(v=this.options).onMutate)==null?void 0:_.call(v,c,r));ae!==this.state.context&&je(this,al,da).call(this,{type:"pending",context:ae,variables:c,isPaused:f})}const Z=await C(this,ls).start();return await((m=(h=C(this,Ut).config).onSuccess)==null?void 0:m.call(h,Z,c,this.state.context,this,r)),await((y=(g=this.options).onSuccess)==null?void 0:y.call(g,Z,c,this.state.context,r)),await((N=(b=C(this,Ut).config).onSettled)==null?void 0:N.call(b,Z,null,this.state.variables,this.state.context,this,r)),await((E=(S=this.options).onSettled)==null?void 0:E.call(S,Z,null,c,this.state.context,r)),je(this,al,da).call(this,{type:"success",data:Z}),Z}catch(Z){try{await((O=(T=C(this,Ut).config).onError)==null?void 0:O.call(T,Z,c,this.state.context,this,r))}catch(ae){Promise.reject(ae)}try{await((z=(H=this.options).onError)==null?void 0:z.call(H,Z,c,this.state.context,r))}catch(ae){Promise.reject(ae)}try{await((Y=(G=C(this,Ut).config).onSettled)==null?void 0:Y.call(G,void 0,Z,this.state.variables,this.state.context,this,r))}catch(ae){Promise.reject(ae)}try{await(($=(J=this.options).onSettled)==null?void 0:$.call(J,void 0,Z,c,this.state.context,r))}catch(ae){Promise.reject(ae)}throw je(this,al,da).call(this,{type:"error",error:Z}),Z}finally{C(this,Ut).runNext(this)}}},Mc=new WeakMap,ll=new WeakMap,Ut=new WeakMap,ls=new WeakMap,al=new WeakSet,da=function(c){const i=r=>{switch(c.type){case"failed":return{...r,failureCount:c.failureCount,failureReason:c.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,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{...r,data:c.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:c.error,failureCount:r.failureCount+1,failureReason:c.error,isPaused:!1,status:"error"}}};this.state=i(this.state),Nt.batch(()=>{C(this,ll).forEach(r=>{r.onMutationUpdate(c)}),C(this,Ut).notify({mutation:this,type:"updated",action:c})})},Ep);function d3(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var zl,Fn,Oc,Tp,Xx=(Tp=class extends vi{constructor(c={}){super();ie(this,zl);ie(this,Fn);ie(this,Oc);this.config=c,W(this,zl,new Set),W(this,Fn,new Map),W(this,Oc,0)}build(c,i,r){const d=new Yx({client:c,mutationCache:this,mutationId:++eo(this,Oc)._,options:c.defaultMutationOptions(i),state:r});return this.add(d),d}add(c){C(this,zl).add(c);const i=lo(c);if(typeof i=="string"){const r=C(this,Fn).get(i);r?r.push(c):C(this,Fn).set(i,[c])}this.notify({type:"added",mutation:c})}remove(c){if(C(this,zl).delete(c)){const i=lo(c);if(typeof i=="string"){const r=C(this,Fn).get(i);if(r)if(r.length>1){const d=r.indexOf(c);d!==-1&&r.splice(d,1)}else r[0]===c&&C(this,Fn).delete(i)}}this.notify({type:"removed",mutation:c})}canRun(c){const i=lo(c);if(typeof i=="string"){const r=C(this,Fn).get(i),d=r==null?void 0:r.find(f=>f.state.status==="pending");return!d||d===c}else return!0}runNext(c){var r;const i=lo(c);if(typeof i=="string"){const d=(r=C(this,Fn).get(i))==null?void 0:r.find(f=>f!==c&&f.state.isPaused);return(d==null?void 0:d.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Nt.batch(()=>{C(this,zl).forEach(c=>{this.notify({type:"removed",mutation:c})}),C(this,zl).clear(),C(this,Fn).clear()})}getAll(){return Array.from(C(this,zl))}find(c){const i={exact:!0,...c};return this.getAll().find(r=>Am(i,r))}findAll(c={}){return this.getAll().filter(i=>Am(c,i))}notify(c){Nt.batch(()=>{this.listeners.forEach(i=>{i(c)})})}resumePausedMutations(){const c=this.getAll().filter(i=>i.state.isPaused);return Nt.batch(()=>Promise.all(c.map(i=>i.continue().catch(Qt))))}},zl=new WeakMap,Fn=new WeakMap,Oc=new WeakMap,Tp);function lo(s){var c;return(c=s.options.scope)==null?void 0:c.id}var Dl,ga,an,Ll,Bl,uo,z2,Rp,Zx=(Rp=class extends vi{constructor(i,r){super();ie(this,Bl);ie(this,Dl);ie(this,ga);ie(this,an);ie(this,Ll);W(this,Dl,i),this.setOptions(r),this.bindMethods(),je(this,Bl,uo).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(i){var d;const r=this.options;this.options=C(this,Dl).defaultMutationOptions(i),vo(this.options,r)||C(this,Dl).getMutationCache().notify({type:"observerOptionsUpdated",mutation:C(this,an),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&ss(r.mutationKey)!==ss(this.options.mutationKey)?this.reset():((d=C(this,an))==null?void 0:d.state.status)==="pending"&&C(this,an).setOptions(this.options)}onUnsubscribe(){var i;this.hasListeners()||(i=C(this,an))==null||i.removeObserver(this)}onMutationUpdate(i){je(this,Bl,uo).call(this),je(this,Bl,z2).call(this,i)}getCurrentResult(){return C(this,ga)}reset(){var i;(i=C(this,an))==null||i.removeObserver(this),W(this,an,void 0),je(this,Bl,uo).call(this),je(this,Bl,z2).call(this)}mutate(i,r){var d;return W(this,Ll,r),(d=C(this,an))==null||d.removeObserver(this),W(this,an,C(this,Dl).getMutationCache().build(C(this,Dl),this.options)),C(this,an).addObserver(this),C(this,an).execute(i)}},Dl=new WeakMap,ga=new WeakMap,an=new WeakMap,Ll=new WeakMap,Bl=new WeakSet,uo=function(){var r;const i=((r=C(this,an))==null?void 0:r.state)??d3();W(this,ga,{...i,isPending:i.status==="pending",isSuccess:i.status==="success",isError:i.status==="error",isIdle:i.status==="idle",mutate:this.mutate,reset:this.reset})},z2=function(i){Nt.batch(()=>{var r,d,f,v,_,h,m,g;if(C(this,Ll)&&this.hasListeners()){const y=C(this,ga).variables,b=C(this,ga).context,N={client:C(this,Dl),meta:this.options.meta,mutationKey:this.options.mutationKey};if((i==null?void 0:i.type)==="success"){try{(d=(r=C(this,Ll)).onSuccess)==null||d.call(r,i.data,y,b,N)}catch(S){Promise.reject(S)}try{(v=(f=C(this,Ll)).onSettled)==null||v.call(f,i.data,null,y,b,N)}catch(S){Promise.reject(S)}}else if((i==null?void 0:i.type)==="error"){try{(h=(_=C(this,Ll)).onError)==null||h.call(_,i.error,y,b,N)}catch(S){Promise.reject(S)}try{(g=(m=C(this,Ll)).onSettled)==null||g.call(m,void 0,i.error,y,b,N)}catch(S){Promise.reject(S)}}}this.listeners.forEach(y=>{y(C(this,ga))})})},Rp),sl,Ap,Ix=(Ap=class extends vi{constructor(c={}){super();ie(this,sl);this.config=c,W(this,sl,new Map)}build(c,i,r){const d=i.queryKey,f=i.queryHash??ed(d,i);let v=this.get(f);return v||(v=new Gx({client:c,queryKey:d,queryHash:f,options:c.defaultQueryOptions(i),state:r,defaultOptions:c.getQueryDefaults(d)}),this.add(v)),v}add(c){C(this,sl).has(c.queryHash)||(C(this,sl).set(c.queryHash,c),this.notify({type:"added",query:c}))}remove(c){const i=C(this,sl).get(c.queryHash);i&&(c.destroy(),i===c&&C(this,sl).delete(c.queryHash),this.notify({type:"removed",query:c}))}clear(){Nt.batch(()=>{this.getAll().forEach(c=>{this.remove(c)})})}get(c){return C(this,sl).get(c)}getAll(){return[...C(this,sl).values()]}find(c){const i={exact:!0,...c};return this.getAll().find(r=>Rm(i,r))}findAll(c={}){const i=this.getAll();return Object.keys(c).length>0?i.filter(r=>Rm(c,r)):i}notify(c){Nt.batch(()=>{this.listeners.forEach(i=>{i(c)})})}onFocus(){Nt.batch(()=>{this.getAll().forEach(c=>{c.onFocus()})})}onOnline(){Nt.batch(()=>{this.getAll().forEach(c=>{c.onOnline()})})}},sl=new WeakMap,Ap),ot,_a,ya,ri,oi,xa,ui,di,Mp,Kx=(Mp=class{constructor(s={}){ie(this,ot);ie(this,_a);ie(this,ya);ie(this,ri);ie(this,oi);ie(this,xa);ie(this,ui);ie(this,di);W(this,ot,s.queryCache||new Ix),W(this,_a,s.mutationCache||new Xx),W(this,ya,s.defaultOptions||{}),W(this,ri,new Map),W(this,oi,new Map),W(this,xa,0)}mount(){eo(this,xa)._++,C(this,xa)===1&&(W(this,ui,J2.subscribe(async s=>{s&&(await this.resumePausedMutations(),C(this,ot).onFocus())})),W(this,di,go.subscribe(async s=>{s&&(await this.resumePausedMutations(),C(this,ot).onOnline())})))}unmount(){var s,c;eo(this,xa)._--,C(this,xa)===0&&((s=C(this,ui))==null||s.call(this),W(this,ui,void 0),(c=C(this,di))==null||c.call(this),W(this,di,void 0))}isFetching(s){return C(this,ot).findAll({...s,fetchStatus:"fetching"}).length}isMutating(s){return C(this,_a).findAll({...s,status:"pending"}).length}getQueryData(s){var i;const c=this.defaultQueryOptions({queryKey:s});return(i=C(this,ot).get(c.queryHash))==null?void 0:i.state.data}ensureQueryData(s){const c=this.defaultQueryOptions(s),i=C(this,ot).build(this,c),r=i.state.data;return r===void 0?this.fetchQuery(s):(s.revalidateIfStale&&i.isStaleByTime(ba(c.staleTime,i))&&this.prefetchQuery(c),Promise.resolve(r))}getQueriesData(s){return C(this,ot).findAll(s).map(({queryKey:c,state:i})=>{const r=i.data;return[c,r]})}setQueryData(s,c,i){const r=this.defaultQueryOptions({queryKey:s}),d=C(this,ot).get(r.queryHash),f=d==null?void 0:d.state.data,v=Rx(c,f);if(v!==void 0)return C(this,ot).build(this,r).setData(v,{...i,manual:!0})}setQueriesData(s,c,i){return Nt.batch(()=>C(this,ot).findAll(s).map(({queryKey:r})=>[r,this.setQueryData(r,c,i)]))}getQueryState(s){var i;const c=this.defaultQueryOptions({queryKey:s});return(i=C(this,ot).get(c.queryHash))==null?void 0:i.state}removeQueries(s){const c=C(this,ot);Nt.batch(()=>{c.findAll(s).forEach(i=>{c.remove(i)})})}resetQueries(s,c){const i=C(this,ot);return Nt.batch(()=>(i.findAll(s).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...s},c)))}cancelQueries(s,c={}){const i={revert:!0,...c},r=Nt.batch(()=>C(this,ot).findAll(s).map(d=>d.cancel(i)));return Promise.all(r).then(Qt).catch(Qt)}invalidateQueries(s,c={}){return Nt.batch(()=>(C(this,ot).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},r=Nt.batch(()=>C(this,ot).findAll(s).filter(d=>!d.isDisabled()&&!d.isStatic()).map(d=>{let f=d.fetch(void 0,i);return i.throwOnError||(f=f.catch(Qt)),d.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(r).then(Qt)}fetchQuery(s){const c=this.defaultQueryOptions(s);c.retry===void 0&&(c.retry=!1);const i=C(this,ot).build(this,c);return i.isStaleByTime(ba(c.staleTime,i))?i.fetch(c):Promise.resolve(i.state.data)}prefetchQuery(s){return this.fetchQuery(s).then(Qt).catch(Qt)}fetchInfiniteQuery(s){return s._type="infinite",this.fetchQuery(s)}prefetchInfiniteQuery(s){return this.fetchInfiniteQuery(s).then(Qt).catch(Qt)}ensureInfiniteQueryData(s){return s._type="infinite",this.ensureQueryData(s)}resumePausedMutations(){return go.isOnline()?C(this,_a).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,ot)}getMutationCache(){return C(this,_a)}getDefaultOptions(){return C(this,ya)}setDefaultOptions(s){W(this,ya,s)}setQueryDefaults(s,c){C(this,ri).set(ss(s),{queryKey:s,defaultOptions:c})}getQueryDefaults(s){const c=[...C(this,ri).values()],i={};return c.forEach(r=>{Cc(s,r.queryKey)&&Object.assign(i,r.defaultOptions)}),i}setMutationDefaults(s,c){C(this,oi).set(ss(s),{mutationKey:s,defaultOptions:c})}getMutationDefaults(s){const c=[...C(this,oi).values()],i={};return c.forEach(r=>{Cc(s,r.mutationKey)&&Object.assign(i,r.defaultOptions)}),i}defaultQueryOptions(s){if(s._defaulted)return s;const c={...C(this,ya).queries,...this.getQueryDefaults(s.queryKey),...s,_defaulted:!0};return c.queryHash||(c.queryHash=ed(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===td&&(c.enabled=!1),c}defaultMutationOptions(s){return s!=null&&s._defaulted?s:{...C(this,ya).mutations,...(s==null?void 0:s.mutationKey)&&this.getMutationDefaults(s.mutationKey),...s,_defaulted:!0}}clear(){C(this,ot).clear(),C(this,_a).clear()}},ot=new WeakMap,_a=new WeakMap,ya=new WeakMap,ri=new WeakMap,oi=new WeakMap,xa=new WeakMap,ui=new WeakMap,di=new WeakMap,Mp),f3=j.createContext(void 0),cl=s=>{const c=j.useContext(f3);if(!c)throw new Error("No QueryClient set, use QueryClientProvider to set one");return c},Px=({client:s,children:c})=>(j.useEffect(()=>(s.mount(),()=>{s.unmount()}),[s]),l.jsx(f3.Provider,{value:s,children:c})),h3=j.createContext(!1),Wx=()=>j.useContext(h3);h3.Provider;function Jx(){let s=!1;return{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s}}var e6=j.createContext(Jx()),t6=()=>j.useContext(e6),n6=(s,c,i)=>{const r=i!=null&&i.state.error&&typeof s.throwOnError=="function"?nd(s.throwOnError,[i.state.error,i]):s.throwOnError;(s.suspense||s.experimental_prefetchInRender||r)&&(c.isReset()||(s.retryOnMount=!1))},l6=s=>{j.useEffect(()=>{s.clearReset()},[s])},a6=({result:s,errorResetBoundary:c,throwOnError:i,query:r,suspense:d})=>s.isError&&!c.isReset()&&!s.isFetching&&r&&(d&&s.data===void 0||nd(i,[s.error,r])),s6=s=>{if(s.suspense){const i=d=>d==="static"?d:Math.max(d??1e3,1e3),r=s.staleTime;s.staleTime=typeof r=="function"?(...d)=>i(r(...d)):i(r),typeof s.gcTime=="number"&&(s.gcTime=Math.max(s.gcTime,1e3))}},i6=(s,c)=>s.isLoading&&s.isFetching&&!c,c6=(s,c)=>(s==null?void 0:s.suspense)&&c.isPending,km=(s,c,i)=>c.fetchOptimistic(s).catch(()=>{i.clearReset()});function m3(s,c,i){var b,N,S,E;const r=Wx(),d=t6(),f=cl(),v=f.defaultQueryOptions(s);(N=(b=f.getDefaultOptions().queries)==null?void 0:b._experimental_beforeQuery)==null||N.call(b,v);const _=f.getQueryCache().get(v.queryHash);v._optimisticResults=r?"isRestoring":"optimistic",s6(v),n6(v,d,_),l6(d);const h=!f.getQueryCache().get(v.queryHash),[m]=j.useState(()=>new c(f,v)),g=m.getOptimisticResult(v),y=!r&&s.subscribed!==!1;if(j.useSyncExternalStore(j.useCallback(T=>{const O=y?m.subscribe(Nt.batchCalls(T)):Qt;return m.updateResult(),O},[m,y]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),j.useEffect(()=>{m.setOptions(v)},[v,m]),c6(v,g))throw km(v,m,d);if(a6({result:g,errorResetBoundary:d,throwOnError:v.throwOnError,query:_,suspense:v.suspense}))throw g.error;if((E=(S=f.getDefaultOptions().queries)==null?void 0:S._experimental_afterQuery)==null||E.call(S,v,g),v.experimental_prefetchInRender&&!Ec.isServer()&&i6(g,r)){const T=h?km(v,m,d):_==null?void 0:_.promise;T==null||T.catch(Qt).finally(()=>{m.updateResult()})}return v.notifyOnChangeProps?g:m.trackResult(g)}function sn(s,c){return m3(s,o3)}function Lt(s,c){const i=cl(),[r]=j.useState(()=>new Zx(i,s));j.useEffect(()=>{r.setOptions(s)},[r,s]);const d=j.useSyncExternalStore(j.useCallback(v=>r.subscribe(Nt.batchCalls(v)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),f=j.useCallback((v,_)=>{r.mutate(v,_).catch(Qt)},[r]);if(d.error&&nd(r.options.throwOnError,[d.error]))throw d.error;return{...d,mutate:f,mutateAsync:d.mutate}}function r6(s,c){return m3(s,Qx)}const p3="https://app.auth.elcsa.ru/v1";let Nc=null,Xa=null;function ad(){Nc=null,Xa=null}function rl(){return Nc?Promise.resolve(Nc):Xa||(Xa=fetch(`${p3}/csrf/token`,{credentials:"include"}).then(s=>s.json()).then(s=>(Nc=s.token,Xa=null,Nc)).catch(s=>{throw Xa=null,s}),Xa)}const o6=Object.freeze(Object.defineProperty({__proto__:null,clearCsrfCache:ad,getCsrfToken:rl},Symbol.toStringTag,{value:"Module"})),u6="modulepreload",d6=function(s){return"/"+s},Um={},f6=function(c,i,r){let d=Promise.resolve();if(i&&i.length>0){let v=function(m){return Promise.all(m.map(g=>Promise.resolve(g).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const _=document.querySelector("meta[property=csp-nonce]"),h=(_==null?void 0:_.nonce)||(_==null?void 0:_.getAttribute("nonce"));d=v(i.map(m=>{if(m=d6(m),m in Um)return;Um[m]=!0;const g=m.endsWith(".css"),y=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${y}`))return;const b=document.createElement("link");if(b.rel=g?"stylesheet":u6,g||(b.as="script"),b.crossOrigin="",b.href=m,h&&b.setAttribute("nonce",h),document.head.appendChild(b),g)return new Promise((N,S)=>{b.addEventListener("load",N),b.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${m}`)))})}))}function f(v){const _=new Event("vite:preloadError",{cancelable:!0});if(_.payload=v,window.dispatchEvent(_),!_.defaultPrevented)throw v}return d.then(v=>{for(const _ of v||[])_.status==="rejected"&&f(_.reason);return c().catch(f)})};let n2=null;const Un={get:()=>n2,set:s=>{n2=s},clear:()=>{n2=null}},h6="https://app.auth.elcsa.ru/v1/jwt/refresh";async function gi(){const{getCsrfToken:s}=await f6(async()=>{const{getCsrfToken:d}=await Promise.resolve().then(()=>o6);return{getCsrfToken:d}},[]),c=await s(),i=await fetch(h6,{method:"POST",credentials:"include",headers:{"X-CSRF-Token":c}});if(!i.ok)throw new Error("Unauthorized");const r=await i.json();return r.access_token&&Un.set(r.access_token),r.access_token??r.result??!0}const m6="https://app.payment.elcsa.ru";async function _i(s,c,i){const r=await rl(),d=await fetch(`${m6}${s}`,{...c,credentials:"include",headers:{"X-CSRF-Token":r,...c.headers}});if(d.status===401&&i)try{return await gi(),_i(s,c,!1)}catch{throw new Error("Unauthorized")}const f=await d.json();if(!d.ok)throw f;return f}function p6(){return _i("/payment/config",{},!0)}function v6(s){return _i(`/payment/quote?usdt_amount=${s}`,{},!0)}function g6(s){return _i(`/payment/quote/rub?total_rub=${s}`,{},!0)}function _6(s){return _i("/order/create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)},!0)}const D2=20;function y6(s,c=D2){return _i(`/payment/orders?offset=${s}&limit=${c}`,{},!0)}function x6(){return sn({queryKey:["payment","config"],queryFn:p6,staleTime:6e4})}function b6(s){return sn({queryKey:["payment","quote",s],queryFn:()=>v6(s),enabled:s>0,staleTime:3e4,retry:!1})}function j6(s){return sn({queryKey:["payment","quote","rub",s],queryFn:()=>g6(s),enabled:s>0,staleTime:3e4,retry:!1})}function S6(){return Lt({mutationFn:_6,onSuccess:s=>{const c=s.order.itpay_payment_qr_url_desktop;c&&(window.location.href=c)}})}function N6(){return r6({queryKey:["payment","orders"],queryFn:({pageParam:s})=>y6(s),initialPageParam:0,getNextPageParam:(s,c)=>{if(!(s.orders.length<D2))return c.length*D2},staleTime:3e4})}function _o(s,c){const[i,r]=j.useState(s);return j.useEffect(()=>{const d=setTimeout(()=>r(s),c);return()=>clearTimeout(d)},[s,c]),i}const w6=new Date("2026-05-21T00:00:00").getTime(),v3=80,C6=21,l2=1e4,Hm="Сумма слишком большая и превышает 600 000 ₽",$m=s=>s.replace(/[^0-9.]/g,"");function g3({rateFallback:s=0}={}){const[c,i]=j.useState("usdt_to_rub"),[r,d]=j.useState("1000"),[f,v]=j.useState(String(l2)),{data:_}=x6(),h=Number(_==null?void 0:_.usdt_exchange_rate)||s,m=Number(_==null?void 0:_.gas_fee)||C6,g=c==="usdt_to_rub",y=Number.parseFloat(r)||0,b=_o(y,400),{data:N,isError:S}=b6(g?b:0),E=Number.parseFloat(f)||0,T=_o(E,400),{data:O,isError:H}=j6(g?0:T),z=!g&&E>0&&E<l2,G=(N==null?void 0:N.total_price)??"",Y=Number(G)||0,J=(O==null?void 0:O.usdt_amount)??"",$=Number(J)||0,Z=g?Number(N==null?void 0:N.service_fee)||0:Number(O==null?void 0:O.service_fee)||0,ae=g?Y:E,pe=g?y>0?Y/y:0:$>0?E/$:0;function he(){i(me=>me==="usdt_to_rub"?"rub_to_usdt":"usdt_to_rub")}const Ne=g?{value:r,currency:"USDT",onChange:me=>d($m(me)),error:S?Hm:void 0}:{value:f,currency:"RUB",onChange:me=>v($m(me)),error:z?`Минимальная сумма: ${l2.toLocaleString("ru-RU")} ₽`:H?Hm:void 0};return{isUsdtToRub:g,gasPriceRub:m,configUsdtRate:h,convert:Ne,pay:g?{value:G,currency:"RUB"}:{value:J,currency:"USDT"},onSwap:he,commission:{amount:ae,progress:hx(ae),commission:Z,effectiveRate:pe},numUsdt:y,usdtFromRubNum:$,rubTotal:G,rubTotalNum:Y,numRubInput:E,usdtFromRub:J,rubBelowMin:z}}const de={HOME:"/",WALLET:"/wallet",WALLET_CHAIN:"/wallet/:chain",SWAP:"/swap",BRIDGE:"/bridge",LOGIN:"/login",REGISTER:"/register",REGISTER_TEST:"/register-test",CONVERTER_TEST:"/converter-test",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"},E6="_section_tz8mb_1",T6="_wrap_tz8mb_6",R6="_header_tz8mb_17",A6="_subtitle_tz8mb_26",M6="_pills_tz8mb_33",O6="_pill_tz8mb_33",z6="_pillValue_tz8mb_47",D6="_body_tz8mb_57",L6="_tabs_tz8mb_63",B6="_tab_tz8mb_63",k6="_payBtn_tz8mb_95",yn={section:E6,wrap:T6,header:R6,subtitle:A6,pills:M6,pill:O6,pillValue:z6,body:D6,tabs:L6,tab:B6,payBtn:k6};function U6(){const{gasPriceRub:s,configUsdtRate:c,convert:i,pay:r,onSwap:d,commission:f}=g3({rateFallback:v3});return l.jsx("section",{className:yn.section,id:"converter",children:l.jsxs("div",{className:yn.wrap,children:[l.jsxs("div",{className:yn.header,children:[l.jsxs("div",{children:[l.jsx(Wp,{children:"Конвертация"}),l.jsx("div",{className:yn.subtitle,children:"Данные обновляются в реальном времени"})]}),l.jsxs("div",{className:yn.pills,children:[l.jsxs("div",{className:yn.pill,children:["Цена газа в RUB ",l.jsxs("span",{className:yn.pillValue,children:[s.toFixed(2)," RUB"]})]}),l.jsxs("div",{className:yn.pill,children:["USDT/RUB ",l.jsxs("span",{className:yn.pillValue,children:[c.toFixed(2)," ₽"]})]})]})]}),l.jsxs("div",{className:yn.body,children:[l.jsxs("div",{children:[l.jsx("div",{className:yn.tabs,children:l.jsx("div",{className:yn.tab,"data-active":!0,children:"КУПИТЬ"})}),l.jsx(mo,{compact:!0,...i}),l.jsx(Pp,{compact:!0,onClick:d}),l.jsx(mo,{compact:!0,...r})]}),l.jsx(Jp,{...f})]}),l.jsx(Yt,{to:de.CONVERTER,className:yn.payBtn,children:"Перейти к оплате"})]})})}const H6="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",$6="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",q6="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",G6="_footer_1qm30_1",F6="_top_1qm30_11",V6="_col_1qm30_18",Q6="_heading_1qm30_35",Y6="_companyName_1qm30_44",X6="_phone_1qm30_51",Z6="_email_1qm30_58",I6="_socialIcons_1qm30_62",K6="_socialLink_1qm30_67",P6="_divider_1qm30_94",W6="_bottom_1qm30_99",kt={footer:G6,top:F6,col:V6,heading:Q6,companyName:Y6,phone:X6,email:Z6,socialIcons:I6,socialLink:K6,divider:P6,bottom:W6},J6=[{href:"#",icon:$6,label:"Telegram"},{href:"#",icon:q6,label:"WhatsApp"},{href:"#",icon:H6,label:"Instagram"}];function rs(){return l.jsxs("footer",{className:kt.footer,children:[l.jsxs("div",{className:kt.top,children:[l.jsxs("div",{className:kt.col,children:[l.jsx("p",{className:kt.companyName,children:"ООО «ЭКСА»"}),l.jsx("p",{children:"ИНН 9810001062"}),l.jsx("p",{children:"ОГРН 1257800060990"})]}),l.jsxs("div",{className:kt.col,children:[l.jsx("h4",{className:kt.heading,children:"О компании"}),l.jsx(Yt,{to:de.PUBLICHNAYA_OFERTA,children:"Публичная оферта"}),l.jsx(Yt,{to:de.POLITIKA_PERSONALNYH_DANNYH,children:"Политика персональных данных"}),l.jsx(Yt,{to:de.POLITIKA_COOKIE,children:"Политика cookie"}),l.jsx(Yt,{to:de.SOGLASIE_PERSONALNYH_DANNYH,children:"Согласие на обработку данных"}),l.jsx(Yt,{to:de.REESTR_PD_RKN,children:"Реестр Роскомнадзора"})]}),l.jsxs("div",{className:kt.col,children:[l.jsx("p",{className:kt.phone,children:"+7 (812) 123-33-23"}),l.jsx("h4",{className:kt.heading,children:"Адрес"}),l.jsx("p",{children:"196158, г. Санкт-Петербург, Московское шоссе, 25А, к.1, ПОМЕЩ. 3-Н"}),l.jsx("a",{href:"mailto:company@elcsa.ru",className:kt.email,children:"company@elcsa.ru"})]}),l.jsxs("div",{className:kt.col,children:[l.jsx("h4",{className:kt.heading,children:"Мы в соцсетях"}),l.jsx("div",{className:kt.socialIcons,children:J6.map(({href:s,icon:c,label:i})=>l.jsx("a",{href:s,className:kt.socialLink,"aria-label":i,children:l.jsx("img",{src:c,alt:i})},i))})]})]}),l.jsx("div",{className:kt.divider}),l.jsxs("div",{className:kt.bottom,children:[l.jsx("p",{children:"© 2026. Все права защищены."}),l.jsx("p",{children:"Компания не является кредитной организацией."})]})]})}const il="/assets/logo-full-white-DEb7oTyu.png",e5="_nav_5011x_1",t5="_logo_5011x_16",n5="_right_5011x_22",l5="_link_5011x_28",a5="_btn_5011x_47",gc={nav:e5,logo:t5,right:n5,link:l5,btn:a5};function yi(){return l.jsxs("nav",{className:gc.nav,children:[l.jsx("a",{className:gc.logo,href:"/",children:l.jsx("img",{src:il,alt:"ЭКСА"})}),l.jsxs("div",{className:gc.right,children:[l.jsx("a",{className:gc.link,href:"#about",children:"О нас"}),l.jsx(Yt,{className:gc.btn,to:de.WALLET,children:"Личный кабинет"})]})]})}const s5="_flow_1oxsf_1",i5="_card_1oxsf_7",c5="_cardRub_1oxsf_17",r5="_cardEksa_1oxsf_27",o5="_cardUsdt_1oxsf_37",u5="_eksaLogo_1oxsf_47",d5="_ghost_1oxsf_54",f5="_ghostBtc_1oxsf_69",h5="_ghostEth_1oxsf_74",m5="_logoCircle_1oxsf_79",p5="_logoRub_1oxsf_90",v5="_logoUsdt_1oxsf_95",g5="_badge_1oxsf_100",_5="_badgeRub_1oxsf_113",y5="_badgeUsdt_1oxsf_117",x5="_status_1oxsf_121",b5="_statusDot_1oxsf_132",j5="_path_1oxsf_139",at={flow:s5,card:i5,cardRub:c5,cardEksa:r5,cardUsdt:o5,eksaLogo:u5,ghost:d5,ghostBtc:f5,ghostEth:h5,logoCircle:m5,logoRub:p5,logoUsdt:v5,badge:g5,badgeRub:_5,badgeUsdt:y5,status:x5,statusDot:b5,path:j5};function S5(){return l.jsxs("div",{className:at.flow,children:[l.jsx("div",{className:`${at.ghost} ${at.ghostBtc}`,children:l.jsx("span",{style:{fontSize:20,color:"#F7931A"},children:"₿"})}),l.jsx("div",{className:`${at.ghost} ${at.ghostEth}`,children:l.jsx("span",{style:{fontSize:20,color:"#627EEA"},children:"Ξ"})}),l.jsxs("div",{className:`${at.card} ${at.cardRub}`,children:[l.jsx("div",{className:`${at.logoCircle} ${at.logoRub}`,children:"₽"}),l.jsx("div",{className:`${at.badge} ${at.badgeRub}`,children:"10 000 ₽"})]}),l.jsx("div",{className:`${at.card} ${at.cardEksa}`,children:l.jsx("img",{src:il,alt:"ЭКСА",className:at.eksaLogo})}),l.jsxs("div",{className:`${at.card} ${at.cardUsdt}`,children:[l.jsx("div",{className:`${at.logoCircle} ${at.logoUsdt}`,children:"₮"}),l.jsx("div",{className:`${at.badge} ${at.badgeUsdt}`,children:"≈ 125.3 USDT"}),l.jsxs("div",{className:at.status,children:[l.jsx("span",{className:at.statusDot})," ✓ Зачислено"]})]}),l.jsxs("svg",{className:at.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 N5(s){const[c,i]=j.useState(Date.now());j.useEffect(()=>{const f=setInterval(()=>i(Date.now()),1e3);return()=>clearInterval(f)},[]);const r=Math.max(0,s-c),d=f=>String(f).padStart(2,"0");return{d:d(Math.floor(r/864e5)),h:d(Math.floor(r%864e5/36e5)),m:d(Math.floor(r%36e5/6e4)),s:d(Math.floor(r%6e4/1e3))}}const w5="_label_ikzdd_1",C5="_row_ikzdd_8",E5="_unit_ikzdd_14",T5="_num_ikzdd_21",R5="_lbl_ikzdd_29",_c={label:w5,row:C5,unit:E5,num:T5,lbl:R5},A5=[["d","ДНЕЙ"],["h","ЧАСОВ"],["m","МИНУТ"],["s","СЕКУНД"]];function M5({target:s}){const c=N5(s);return l.jsxs("div",{children:[l.jsx("div",{className:_c.label,children:"ДО ЗАПУСКА ОСТАЛОСЬ"}),l.jsx("div",{className:_c.row,children:A5.map(([i,r])=>l.jsxs("div",{className:_c.unit,children:[l.jsx("div",{className:_c.num,children:c[i]}),l.jsx("div",{className:_c.lbl,children:r})]},i))})]})}const O5="_card_17ihg_51",z5="_statusPill_17ihg_84",D5="_statusDot_17ihg_99",L5="_flowRow_17ihg_107",B5="_curBlock_17ihg_114",k5="_curIcon_17ihg_122",U5="_rub_17ihg_133",H5="_usdt_17ihg_141",$5="_flowLine_17ihg_150",q5="_curAmount_17ihg_154",G5="_curLabel_17ihg_163",F5="_curCheck_17ihg_171",V5="_bridge_17ihg_182",Q5="_bridgeLine_17ihg_191",Y5="_bridgeLabel_17ihg_198",X5="_divider_17ihg_206",Z5="_details_17ihg_212",I5="_detailRow_17ihg_220",K5="_detailLabel_17ihg_229",P5="_detailValue_17ihg_235",W5="_green_17ihg_242",Fe={card:O5,statusPill:z5,statusDot:D5,flowRow:L5,curBlock:B5,curIcon:k5,rub:U5,usdt:H5,flowLine:$5,curAmount:q5,curLabel:G5,curCheck:F5,bridge:V5,bridgeLine:Q5,bridgeLabel:Y5,divider:X5,details:Z5,detailRow:I5,detailLabel:K5,detailValue:P5,green:W5};function J5(){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:il,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:[v3.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 eb="_hero_mnobr_1",tb="_content_mnobr_33",nb="_left_mnobr_45",lb="_desktop_mnobr_52",ab="_mobile_mnobr_56",sb="_right_mnobr_60",ib="_title_mnobr_67",cb="_line2_mnobr_74",rb="_reflection_mnobr_85",ob="_cta_mnobr_96",tl={hero:eb,content:tb,left:nb,desktop:lb,mobile:ab,right:sb,title:ib,line2:cb,reflection:rb,cta:ob};function ub(){return l.jsx("section",{className:tl.hero,children:l.jsxs("div",{className:tl.content,children:[l.jsxs("div",{className:tl.left,children:[l.jsx("div",{className:tl.desktop,children:l.jsx(S5,{})}),l.jsx("div",{className:tl.mobile,children:l.jsx(J5,{})})]}),l.jsxs("div",{className:tl.right,children:[l.jsxs("h1",{className:tl.title,children:["Ваш мост",l.jsx("span",{className:tl.reflection,"aria-hidden":"true",children:"Ваш мост"}),l.jsxs("span",{className:tl.line2,children:["в мир",l.jsx("br",{}),"цифровых",l.jsx("br",{}),"активов"]})]}),l.jsxs("div",{children:[l.jsx(M5,{target:w6}),l.jsx("a",{href:"#converter",className:tl.cta,children:"Попробовать калькулятор"})]})]})]})})}const db=[{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:"~2–15 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 сек"}],fb="_section_10lhb_1",hb="_wrap_10lhb_6",mb="_title_10lhb_11",pb="_tableWrap_10lhb_18",vb="_table_10lhb_18",gb="_name_10lhb_52",_b="_icon_10lhb_58",yb="_icon_btc_10lhb_71",xb="_icon_eth_10lhb_75",bb="_icon_trx_10lhb_79",jb="_icon_sol_10lhb_83",Sb="_icon_bnb_10lhb_87",Nb="_label_10lhb_91",wb="_ticker_10lhb_96",Cb="_speedBar_10lhb_102",Eb="_speedFill_10lhb_110",Tb="_fee_10lhb_115",Rb="_confirm_10lhb_121",Ab="_footnote_10lhb_126",$t={section:fb,wrap:hb,title:mb,tableWrap:pb,table:vb,name:gb,icon:_b,icon_btc:yb,icon_eth:xb,icon_trx:bb,icon_sol:jb,icon_bnb:Sb,label:Nb,ticker:wb,speedBar:Cb,speedFill:Eb,fee:Tb,confirm:Rb,footnote:Ab};function Mb(){return l.jsx("section",{className:$t.section,children:l.jsxs("div",{className:$t.wrap,children:[l.jsx("h2",{className:$t.title,children:"Поддерживаемые сети"}),l.jsx("div",{className:$t.tableWrap,children:l.jsxs("table",{className:$t.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:db.map(s=>l.jsxs("tr",{children:[l.jsx("td",{children:l.jsxs("div",{className:$t.name,children:[l.jsx("div",{className:`${$t.icon} ${$t[`icon_${s.cls}`]}`,children:s.icon}),l.jsx("span",{className:$t.label,children:s.name}),l.jsx("span",{className:$t.ticker,children:s.ticker})]})}),l.jsx("td",{children:l.jsx("div",{className:$t.speedBar,children:l.jsx("div",{className:$t.speedFill,style:{width:`${s.speed}%`,background:s.color}})})}),l.jsx("td",{children:l.jsx("span",{className:$t.fee,children:s.fee})}),l.jsx("td",{children:l.jsx("span",{className:$t.confirm,children:s.confirm})})]},s.ticker))})]})}),l.jsx("div",{className:$t.footnote,children:"* Комиссии и время подтверждения указаны приблизительно и зависят от загруженности сети"})]})})}function Ob(){return l.jsxs(l.Fragment,{children:[l.jsx(yi,{}),l.jsxs("main",{children:[l.jsx(ub,{}),l.jsx(fx,{}),l.jsx(U6,{}),l.jsx(Mb,{})]}),l.jsx(rs,{})]})}async function L2(s,c,i){const r=await rl(),d=Un.get(),f={"Content-Type":"application/json","X-CSRF-Token":r,...d?{Authorization:`Bearer ${d}`}:{},...c.headers},v=await fetch(`${p3}${s}`,{...c,credentials:"include",headers:f});if(v.status===401&&i)try{return await gi(),L2(s,c,!1)}catch{throw Un.clear(),new Error("Unauthorized")}const _=await v.json();if(!v.ok)throw _;return _}const Lc={get:s=>L2(s,{},!0),post:(s,c)=>L2(s,{method:"POST",body:JSON.stringify(c)},!0)};function zb(s){return Lc.post("/auth/registration/start",s)}function Db(s){return Lc.post("/auth/registration/complete",s)}function Lb(s){return Lc.post("/auth/login/start",s)}function Bb(s){return Lc.post("/auth/login/complete",s)}async function kb(){const s=await rl();return Lc.post("/auth/logout",{_csrf:s})}const Bc="https://app.users.elcsa.ru";async function sd(){const s=await rl(),c=Un.get();return{"X-CSRF-Token":s,...c?{Authorization:`Bearer ${c}`}:{}}}async function Ub(){const s=await sd(),c=await fetch(`${Bc}/me/`,{credentials:"include",headers:s}),i=await c.json();if(!c.ok)throw i;return i}async function Hb(s){const c=await sd(),i=await fetch(`${Bc}/me/settings/avatar`,{method:"PATCH",credentials:"include",headers:{"Content-Type":"application/json",...c},body:JSON.stringify(s)}),r=await i.json();if(!i.ok)throw r;return r}async function $b(s){const c=await rl(),i=await fetch(`${Bc}/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 qb(s){const c=await sd(),i=await fetch(`${Bc}/me/settings/phone`,{method:"PATCH",credentials:"include",headers:{"Content-Type":"application/json",...c},body:JSON.stringify({phone:s})});if(!i.ok)throw await i.json().catch(()=>({}))}async function Gb(s){const c=await rl(),i=await fetch(`${Bc}/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 xi(s){return sn({queryKey:["me"],queryFn:Ub,staleTime:1/0,gcTime:1/0,retry:!1,...s})}function Fb(){const s=cl();return Lt({mutationFn:Hb,onSuccess:c=>{s.setQueryData(["me"],c)}})}function Vb(){const s=cl();return Lt({mutationFn:qb,onSuccess:()=>{s.invalidateQueries({queryKey:["me"]})}})}const Co=["auth"];function Qb(){return sn({queryKey:Co,queryFn:gi,retry:!1,staleTime:1/0,gcTime:1/0,refetchOnWindowFocus:!1})}function _3(){const{data:s,isLoading:c,isError:i}=Qb();return{isAuthenticated:!!s&&!i,isLoading:c}}const y3="https://app.cryptowallet.elcsa.ru",x3=["ETH","BSC","BTC","TRX","SOL"];async function ja(s,c=!0){const i=await rl(),r=Un.get(),d=await fetch(`${y3}${s}`,{credentials:"include",headers:{"X-CSRF-Token":i,...r?{Authorization:`Bearer ${r}`}:{}}});if(d.status===401&&c)try{return await gi(),ja(s,!1)}catch{throw Un.clear(),new Error("Unauthorized")}const f=await d.json();if(!d.ok)throw f;return f}async function Yn(s,c,i=!0,r={}){const d=await rl(),f=Un.get(),v=await fetch(`${y3}${s}`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json","X-CSRF-Token":d,...f?{Authorization:`Bearer ${f}`}:{},...r},body:JSON.stringify(c)});if(v.status===401&&i)try{return await gi(),Yn(s,c,!1,r)}catch{throw Un.clear(),new Error("Unauthorized")}const _=await v.json();if(!v.ok)throw _;return _}async function Yb(){return(await ja("/api/wallets")).data}async function Xb(s){return(await ja(`/api/wallets/${s}/balance`)).data}async function Zb(s){return(await ja(`/api/prices?symbols=${s.join(",")}`)).data}async function Ib(s,c){return Yn(`/api/wallets/${s}/send`,c)}async function Kb(){return(await ja("/api/wallets/portfolio")).data}async function Pb(){return(await ja("/api/tokens")).data}async function Wb(){var c;const s=await ja("/api/jumper/tokens?chains=1,56,1151111081099710,728126428,20000000000001");return((c=s.data)==null?void 0:c.tokens)??s.tokens??{}}async function Jb(s){var r;const c=new URLSearchParams({fromChain:s.fromChain,toChain:s.toChain,fromToken:s.fromToken,toToken:s.toToken,fromAmount:s.fromAmount,fromAddress:s.fromAddress,toAddress:s.toAddress,slippage:String(s.slippage)}).toString(),i=await ja(`/api/jumper/quote-best?${c}`);return((r=i.data)==null?void 0:r.body)??i.body??i}async function e8(s){var i;const c=await Yn("/api/bridge/execute",s,!0,{"Idempotency-Key":crypto.randomUUID()});return((i=c.data)==null?void 0:i.data)??c}async function t8(s){return Yn("/api/relay/quote",s)}async function n8(s){return Yn("/api/relay/execute/swap",s)}async function l8(s,c){const i=`relay-${s.toLowerCase()}-${Date.now()}`;return Yn(`/api/wallets/${s}/sign-raw-evm-tx`,c,!0,{"Idempotency-Key":i})}async function a8(s){return Yn("/api/wallets/SOL/sign-and-broadcast-tx",s)}async function b3(s){return(await Yn("/api/wallets/TRX/swap/quote",s)).data}async function s8(s){return Yn("/api/wallets/TRX/swap",{quoteId:s},!0,{"Idempotency-Key":`trx-${Date.now()}`})}async function i8(){await Yn("/api/wallets/create",{})}async function c8(){return(await Yn("/api/wallets/mnemonic/reveal",{confirm:"I_UNDERSTAND_SEED_IS_SECRET"})).data.mnemonic}function yo(s){return sn({queryKey:["wallet","balance",s],queryFn:()=>Xb(s),staleTime:3e4})}function r8(s){return sn({queryKey:["wallet","prices",s.join(",")],queryFn:()=>Zb(s),staleTime:300*1e3})}function o8(){return Lt({mutationFn:({chain:s,...c})=>Ib(s,c)})}function Eo(){return sn({queryKey:["wallet","addresses"],queryFn:Yb,staleTime:600*1e3})}function To(){return sn({queryKey:["wallet","portfolio"],queryFn:Kb,staleTime:3e4})}function u8(){return sn({queryKey:["wallet","tokens"],queryFn:Pb,staleTime:600*1e3})}function d8(){return sn({queryKey:["wallet","jumper","tokens"],queryFn:Wb,staleTime:600*1e3})}function f8(){return Lt({mutationFn:s=>Jb(s)})}function h8(){return Lt({mutationFn:s=>e8(s)})}function m8(){return Lt({mutationFn:i8})}function p8(){return sn({queryKey:["wallet","mnemonic"],queryFn:c8,staleTime:1/0,retry:!1})}function j3(s){return sn({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:()=>t8(s),enabled:!!s,staleTime:1e4})}function v8(){return Lt({mutationFn:s=>n8(s)})}function g8(){return Lt({mutationFn:({chain:s,txData:c})=>s==="SOL"?a8(c):l8(s,c)})}function _8(s){return sn({queryKey:["trx","quote",s==null?void 0:s.from,s==null?void 0:s.to,s==null?void 0:s.amountHuman],queryFn:()=>b3(s),enabled:!!s,staleTime:1e4})}function y8(){return Lt({mutationFn:b3})}function x8(){return Lt({mutationFn:s=>s8(s)})}const b8="_card_1kfaj_1",j8="_label_1kfaj_18",S8="_amount_1kfaj_27",N8="_actions_1kfaj_41",w8="_btn_1kfaj_46",Ga={card:b8,label:j8,amount:S8,actions:N8,btn:w8},C8="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",E8="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 T8(){const{data:s,isLoading:c}=To(),i=c||!s||s.totalUsd==null?"$—":`$${s.totalUsd.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`;return l.jsxs("div",{className:Ga.card,children:[l.jsxs("div",{className:Ga.left,children:[l.jsx("div",{className:Ga.label,children:"Общий баланс"}),l.jsx("div",{className:Ga.amount,children:i})]}),l.jsxs("div",{className:Ga.actions,children:[l.jsxs(Yt,{to:de.CONVERTER,className:Ga.btn,type:"button",children:[l.jsx("img",{src:E8,alt:"swap"}),"Пополнить кошелёк"]}),l.jsxs(Yt,{to:de.SWAP,className:Ga.btn,type:"button",children:[l.jsx("img",{src:C8,alt:"topup"}),"Своп / Бридж"]})]})]})}const R8="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",A8="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pg0KDQo8IURPQ1RZUEUgc3ZnICBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAxLjEvL0VOJyAgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+DQoNCjwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIEdlbmVyYXRvcjogU1ZHIFJlcG8gTWl4ZXIgVG9vbHMgLS0+DQo8c3ZnIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDMyIDMyIiBpZD0iX3gzQ19MYXllcl94M0VfIiB2ZXJzaW9uPSIxLjEiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KDQo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KPCFbQ0RBVEFbDQoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwO30NCgkuc3Qxe2ZpbGw6bm9uZTtzdHJva2U6I2ZmZjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fQ0KXV0+DQo8L3N0eWxlPg0KDQo8ZyBpZD0iRXRoZXJldW1feDJDX19jcnlwdG9feDJDX19jcnlwdG9jdXJyZW5jeV8xXyI+DQoNCjxnIGlkPSJYTUxJRF8xNV8iPg0KDQo8cG9seWdvbiBjbGFzcz0ic3QxIiBpZD0iWE1MSURfOF8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzFfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjMwLjUiIHkyPSIyNC4xIi8+DQoNCjxwb2x5Z29uIGNsYXNzPSJzdDEiIGlkPSJYTUxJRF8xMl8iIHBvaW50cz0iMTYuMDEsMzAuNSA3LjYyLDE4LjgzIDE2LjAxLDI0LjEgMjQuMzgsMTguNzggICAiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzMwXyIgcG9pbnRzPSIxNi4wMSwxMi4zIDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8bGluZSBjbGFzcz0ic3QxIiBpZD0iWE1MSURfMzJfIiB4MT0iMTYuMDEiIHgyPSIxNi4wMSIgeTE9IjEuNSIgeTI9IjIxLjUiLz4NCg0KPHBvbHlnb24gY2xhc3M9InN0MSIgaWQ9IlhNTElEXzE5Ml8iIHBvaW50cz0iMTYuMDEsMS41IDcuNjIsMTYuMjMgMTYuMDEsMjEuNSAyNC4zOCwxNi4xOCAgICIvPg0KDQo8L2c+DQoNCjwvZz4NCg0KPC9zdmc+",M8="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",O8="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",z8="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",D8="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",L8="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",B8="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",k8="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",U8="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",H8="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",$8="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",q8="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",G8="/assets/popcat-DOGy5LFs.svg",F8="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",V8="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",Q8="/assets/uni-C5oaqT41.svg",Y8="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",X8="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",Z8="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",I8="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",mt={BTC:R8,ETH:A8,SOL:M8,TRX:O8,BNB:z8,ARB:D8,BONK:L8,BUSD:B8,DAI:k8,DOGE:U8,JUP:H8,LINK:$8,ORCA:q8,POPCAT:G8,PYTH:F8,RAY:V8,UNI:Q8,USDC:Y8,USDT:X8,W:Z8,WIF:I8};function S3(s){return mt[s.toUpperCase()]}function is(s,c=8){const i=typeof s=="number"?s.toString():s,r=i.indexOf(".");return r===-1?i:i.slice(0,r+1+c)}const K8=[{ticker:"BTC",name:"Bitcoin",logo:mt.BTC,color:"#F7931A",price:"$66,916.00",change:.12,bal:"0.003295",usd:"$220.57",fav:!0},{ticker:"ETH",name:"Ethereum",logo:mt.ETH,color:"#627EEA",price:"$2,053.97",change:-.12,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"SOL",name:"Solana",logo:mt.SOL,color:"#9945FF",price:"$163.84",change:-1.57,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"TRX",name:"Tron",logo:mt.TRX,color:"#FF060A",price:"$0.1197",change:1.33,bal:"0.07636",usd:"$156.51",fav:!1},{ticker:"BNB",name:"BNB",logo:mt.BNB,color:"#F3BA2F",price:"$0.00",change:0,bal:"0.00000",usd:"$0.00",fav:!1}],P8={BTC:"BTC",ETH:"ETH",SOL:"SOL",TRX:"TRX",BSC:"BNB"},W8={BTC:"Bitcoin",ETH:"Ethereum",SOL:"Solana",TRX:"Tron",BSC:"BNB"},N3="#2A2D3A";function w3(s){return s==null?"$—":`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`}function C3(s){return s==null?"$—":s>=1?`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`:`$${s.toLocaleString("en-US",{minimumFractionDigits:4,maximumFractionDigits:6})}`}function E3(s){return K8.find(c=>c.ticker===s)}function T3(s,c){const i=P8[s],r=E3(i);return{id:`${s}-${i}`,chain:s,ticker:i,name:W8[s],logo:S3(i)??(r==null?void 0:r.logo),color:(r==null?void 0:r.color)??N3,price:C3(c.usdPrice),change:0,bal:is(c.formatted),usd:w3(c.usdValue),usdValue:c.usdValue,fav:!1}}function R3(s,c,i){const r=E3(c);return{id:`${s}-${c}`,chain:s,ticker:c,name:(r==null?void 0:r.name)??c,logo:S3(c)??(r==null?void 0:r.logo),color:(r==null?void 0:r.color)??N3,price:C3(i.usdPrice),change:0,bal:is(i.formatted),usd:w3(i.usdValue),usdValue:i.usdValue,fav:!1}}function qm(s){return parseFloat(s.formatted)>0}function J8(s){const{data:c,isLoading:i}=yo(s);if(!c)return{rows:[],isLoading:i};const r=T3(s,c.native),d=Object.entries(c.tokens??{}).map(([f,v])=>R3(s,f,v));return{rows:[r,...d],isLoading:i}}function ej(){var r;const{data:s,isLoading:c}=To();if(!s)return{rows:[],isLoading:c};const i=[];for(const d of x3){const f=(r=s.perChain)==null?void 0:r[d];if(!f)continue;const v=[];f.native&&qm(f.native)&&v.push(T3(d,f.native));for(const[_,h]of Object.entries(f.tokens??{}))qm(h)&&v.push(R3(d,_,h));v.sort((_,h)=>(h.usdValue??0)-(_.usdValue??0)),i.push(...v)}return{rows:i,isLoading:c}}const tj={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"]},nj={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}},lj={BTC:"BTC",ETH:"ETH",SOL:"SOL",TRX:"TRX",BSC:"BSC"},aj="_overlay_1hejd_1",sj="_dialog_1hejd_14",ij="_dialogIn_1hejd_1",cj="_header_1hejd_37",rj="_title_1hejd_44",oj="_close_1hejd_50",uj="_selectsRow_1hejd_72",dj="_selectGroup_1hejd_79",fj="_selectLabel_1hejd_83",hj="_selectTrigger_1hejd_93",mj="_selectTriggerOpen_1hejd_112",pj="_selectValue_1hejd_117",vj="_chevron_1hejd_125",gj="_chevronOpen_1hejd_131",_j="_tokenDot_1hejd_137",yj="_speedDot_1hejd_158",xj="_speedDot_slow_1hejd_165",bj="_speedDot_normal_1hejd_170",jj="_speedDot_fast_1hejd_175",Sj="_dropdown_1hejd_182",Nj="_dropdownItem_1hejd_195",wj="_dropdownItemActive_1hejd_215",Cj="_dropdownTicker_1hejd_220",Ej="_dropdownName_1hejd_225",Tj="_field_1hejd_233",Rj="_fieldLabel_1hejd_237",Aj="_input_1hejd_247",Mj="_amountWrap_1hejd_283",Oj="_amountInput_1hejd_287",zj="_amountTicker_1hejd_291",Dj="_maxHint_1hejd_304",Lj="_maxBtn_1hejd_314",Bj="_errorMsg_1hejd_333",kj="_submitBtn_1hejd_346",oe={overlay:aj,dialog:sj,dialogIn:ij,header:cj,title:rj,close:oj,selectsRow:uj,selectGroup:dj,selectLabel:fj,selectTrigger:hj,selectTriggerOpen:mj,selectValue:pj,chevron:vj,chevronOpen:gj,tokenDot:_j,speedDot:yj,speedDot_slow:xj,speedDot_normal:bj,speedDot_fast:jj,dropdown:Sj,dropdownItem:Nj,dropdownItemActive:wj,dropdownTicker:Cj,dropdownName:Ej,field:Tj,fieldLabel:Rj,input:Aj,amountWrap:Mj,amountInput:Oj,amountTicker:zj,maxHint:Dj,maxBtn:Lj,errorMsg:Bj,submitBtn:kj},Gm=[{value:"slow",label:"Медленно"},{value:"normal",label:"Нормально"},{value:"fast",label:"Быстро"}];function Uj(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 Hj({open:s,onClose:c,network:i,tokens:r=[],initialToken:d=""}){var Ne;const f=nj[i],v=tj[i],[_,h]=j.useState(d),[m,g]=j.useState("normal"),[y,b]=j.useState(""),[N,S]=j.useState(""),[E,T]=j.useState(null),O=o8(),H=((Ne=Gm.find(re=>re.value===m))==null?void 0:Ne.label)??"Нормально",z=_===""?f.nativeSymbol:_,G=r.find(re=>re.ticker===(_===""?f.nativeSymbol:_));if(j.useEffect(()=>{h(d)},[d]),j.useEffect(()=>{h("")},[i]),j.useEffect(()=>{O.isSuccess&&c()},[O.isSuccess,c]),j.useEffect(()=>{if(!s){b(""),S(""),T(null),O.reset();return}const re=me=>{me.key==="Escape"&&c()};return document.addEventListener("keydown",re),()=>document.removeEventListener("keydown",re)},[s,c]),!s)return null;const Y=f.hasToken,J=f.hasFeeTier,$=Y||J,Z=Y&&J?2:1;function ae(){E?T(null):c()}function pe(re,me){const[ue,U=""]=re.split("."),X=U.slice(0,me).padEnd(me,"0");return(BigInt(ue||"0")*10n**BigInt(me)+BigInt(X||"0")).toString()}function he(){const me=_===""?pe(N,f.nativeDecimals):N;O.mutate({chain:i,to:y,amount:me,..._?{token:_}:{},...f.hasFeeTier?{feeTier:m}:{}})}return l.jsx("div",{className:oe.overlay,onClick:ae,children:l.jsxs("div",{className:oe.dialog,onClick:re=>re.stopPropagation(),children:[l.jsxs("div",{className:oe.header,children:[l.jsxs("div",{className:oe.headerLeft,children:[l.jsx("span",{className:oe.chainDot,style:{background:f.color}}),l.jsxs("span",{className:oe.title,children:["Отправить · ",f.label]})]}),l.jsx("button",{className:oe.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"})})})]}),$&&l.jsxs("div",{className:oe.selectsRow,style:{gridTemplateColumns:`repeat(${Z}, 1fr)`},children:[Y&&l.jsxs("div",{className:oe.selectGroup,children:[l.jsx("label",{className:oe.selectLabel,children:"Токен"}),l.jsxs("button",{type:"button",className:`${oe.selectTrigger} ${E==="token"?oe.selectTriggerOpen:""}`,onClick:()=>T(re=>re==="token"?null:"token"),children:[l.jsx("span",{className:oe.tokenDot,style:{background:f.color},children:z[0]}),l.jsx("span",{className:oe.selectValue,children:z}),l.jsx("svg",{className:`${oe.chevron} ${E==="token"?oe.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"})})]}),E==="token"&&l.jsxs("div",{className:oe.dropdown,children:[l.jsxs("button",{type:"button",className:`${oe.dropdownItem} ${_===""?oe.dropdownItemActive:""}`,onClick:()=>{h(""),T(null)},children:[l.jsx("span",{className:oe.tokenDot,style:{background:f.color},children:f.nativeSymbol[0]}),l.jsx("span",{className:oe.dropdownTicker,children:f.nativeSymbol}),l.jsx("span",{className:oe.dropdownName,children:"Нативный"})]}),v.map(re=>l.jsxs("button",{type:"button",className:`${oe.dropdownItem} ${_===re?oe.dropdownItemActive:""}`,onClick:()=>{h(re),T(null)},children:[l.jsx("span",{className:oe.tokenDot,style:{background:"rgba(255,255,255,0.12)"},children:re[0]}),l.jsx("span",{className:oe.dropdownTicker,children:re})]},re))]})]}),J&&l.jsxs("div",{className:oe.selectGroup,children:[l.jsx("label",{className:oe.selectLabel,children:"Скорость"}),l.jsxs("button",{type:"button",className:`${oe.selectTrigger} ${E==="speed"?oe.selectTriggerOpen:""}`,onClick:()=>T(re=>re==="speed"?null:"speed"),children:[l.jsx("span",{className:`${oe.speedDot} ${oe[`speedDot_${m}`]}`}),l.jsx("span",{className:oe.selectValue,children:H}),l.jsx("svg",{className:`${oe.chevron} ${E==="speed"?oe.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"})})]}),E==="speed"&&l.jsx("div",{className:oe.dropdown,children:Gm.map(re=>l.jsxs("button",{type:"button",className:`${oe.dropdownItem} ${re.value===m?oe.dropdownItemActive:""}`,onClick:()=>{g(re.value),T(null)},children:[l.jsx("span",{className:`${oe.speedDot} ${oe[`speedDot_${re.value}`]}`}),l.jsx("span",{children:re.label})]},re.value))})]})]}),l.jsxs("div",{className:oe.field,children:[l.jsx("label",{className:oe.fieldLabel,children:"Адрес кошелька"}),l.jsx("input",{className:oe.input,type:"text",placeholder:f.addressPlaceholder,value:y,onChange:re=>b(re.target.value),autoComplete:"off",spellCheck:!1})]}),l.jsxs("div",{className:oe.field,children:[l.jsx("label",{className:oe.fieldLabel,children:"Количество"}),l.jsxs("div",{className:oe.amountWrap,children:[l.jsx("input",{className:`${oe.input} ${oe.amountInput}`,type:"number",placeholder:"0.00",value:N,onChange:re=>S(re.target.value),min:"0",step:"any"}),l.jsx("span",{className:oe.amountTicker,children:z})]}),G&&l.jsxs("div",{className:oe.maxHint,children:["Макс:"," ",l.jsxs("button",{type:"button",className:oe.maxBtn,onClick:()=>S(G.bal),children:[G.bal," ",z]})]})]}),O.isError&&l.jsx("div",{className:oe.errorMsg,children:Uj(O.error)}),l.jsx("button",{className:oe.submitBtn,type:"button",disabled:O.isPending,onClick:he,children:O.isPending?"Отправка…":"Отправить"})]})})}var $j=Object.defineProperty,xo=Object.getOwnPropertySymbols,A3=Object.prototype.hasOwnProperty,M3=Object.prototype.propertyIsEnumerable,Fm=(s,c,i)=>c in s?$j(s,c,{enumerable:!0,configurable:!0,writable:!0,value:i}):s[c]=i,B2=(s,c)=>{for(var i in c||(c={}))A3.call(c,i)&&Fm(s,i,c[i]);if(xo)for(var i of xo(c))M3.call(c,i)&&Fm(s,i,c[i]);return s},k2=(s,c)=>{var i={};for(var r in s)A3.call(s,r)&&c.indexOf(r)<0&&(i[r]=s[r]);if(s!=null&&xo)for(var r of xo(s))c.indexOf(r)<0&&M3.call(s,r)&&(i[r]=s[r]);return i};/**
|
||
* @license QR Code generator library (TypeScript)
|
||
* Copyright (c) Project Nayuki.
|
||
* SPDX-License-Identifier: MIT
|
||
*/var cs;(s=>{const c=class Ee{constructor(h,m,g,y){if(this.version=h,this.errorCorrectionLevel=m,this.modules=[],this.isFunction=[],h<Ee.MIN_VERSION||h>Ee.MAX_VERSION)throw new RangeError("Version value out of range");if(y<-1||y>7)throw new RangeError("Mask value out of range");this.size=h*4+17;let b=[];for(let S=0;S<this.size;S++)b.push(!1);for(let S=0;S<this.size;S++)this.modules.push(b.slice()),this.isFunction.push(b.slice());this.drawFunctionPatterns();const N=this.addEccAndInterleave(g);if(this.drawCodewords(N),y==-1){let S=1e9;for(let E=0;E<8;E++){this.applyMask(E),this.drawFormatBits(E);const T=this.getPenaltyScore();T<S&&(y=E,S=T),this.applyMask(E)}}d(0<=y&&y<=7),this.mask=y,this.applyMask(y),this.drawFormatBits(y),this.isFunction=[]}static encodeText(h,m){const g=s.QrSegment.makeSegments(h);return Ee.encodeSegments(g,m)}static encodeBinary(h,m){const g=s.QrSegment.makeBytes(h);return Ee.encodeSegments([g],m)}static encodeSegments(h,m,g=1,y=40,b=-1,N=!0){if(!(Ee.MIN_VERSION<=g&&g<=y&&y<=Ee.MAX_VERSION)||b<-1||b>7)throw new RangeError("Invalid value");let S,E;for(S=g;;S++){const z=Ee.getNumDataCodewords(S,m)*8,G=v.getTotalBits(h,S);if(G<=z){E=G;break}if(S>=y)throw new RangeError("Data too long")}for(const z of[Ee.Ecc.MEDIUM,Ee.Ecc.QUARTILE,Ee.Ecc.HIGH])N&&E<=Ee.getNumDataCodewords(S,z)*8&&(m=z);let T=[];for(const z of h){i(z.mode.modeBits,4,T),i(z.numChars,z.mode.numCharCountBits(S),T);for(const G of z.getData())T.push(G)}d(T.length==E);const O=Ee.getNumDataCodewords(S,m)*8;d(T.length<=O),i(0,Math.min(4,O-T.length),T),i(0,(8-T.length%8)%8,T),d(T.length%8==0);for(let z=236;T.length<O;z^=253)i(z,8,T);let H=[];for(;H.length*8<T.length;)H.push(0);return T.forEach((z,G)=>H[G>>>3]|=z<<7-(G&7)),new Ee(S,m,H,b)}getModule(h,m){return 0<=h&&h<this.size&&0<=m&&m<this.size&&this.modules[m][h]}getModules(){return this.modules}drawFunctionPatterns(){for(let g=0;g<this.size;g++)this.setFunctionModule(6,g,g%2==0),this.setFunctionModule(g,6,g%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const h=this.getAlignmentPatternPositions(),m=h.length;for(let g=0;g<m;g++)for(let y=0;y<m;y++)g==0&&y==0||g==0&&y==m-1||g==m-1&&y==0||this.drawAlignmentPattern(h[g],h[y]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(h){const m=this.errorCorrectionLevel.formatBits<<3|h;let g=m;for(let b=0;b<10;b++)g=g<<1^(g>>>9)*1335;const y=(m<<10|g)^21522;d(y>>>15==0);for(let b=0;b<=5;b++)this.setFunctionModule(8,b,r(y,b));this.setFunctionModule(8,7,r(y,6)),this.setFunctionModule(8,8,r(y,7)),this.setFunctionModule(7,8,r(y,8));for(let b=9;b<15;b++)this.setFunctionModule(14-b,8,r(y,b));for(let b=0;b<8;b++)this.setFunctionModule(this.size-1-b,8,r(y,b));for(let b=8;b<15;b++)this.setFunctionModule(8,this.size-15+b,r(y,b));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let h=this.version;for(let g=0;g<12;g++)h=h<<1^(h>>>11)*7973;const m=this.version<<12|h;d(m>>>18==0);for(let g=0;g<18;g++){const y=r(m,g),b=this.size-11+g%3,N=Math.floor(g/3);this.setFunctionModule(b,N,y),this.setFunctionModule(N,b,y)}}drawFinderPattern(h,m){for(let g=-4;g<=4;g++)for(let y=-4;y<=4;y++){const b=Math.max(Math.abs(y),Math.abs(g)),N=h+y,S=m+g;0<=N&&N<this.size&&0<=S&&S<this.size&&this.setFunctionModule(N,S,b!=2&&b!=4)}}drawAlignmentPattern(h,m){for(let g=-2;g<=2;g++)for(let y=-2;y<=2;y++)this.setFunctionModule(h+y,m+g,Math.max(Math.abs(y),Math.abs(g))!=1)}setFunctionModule(h,m,g){this.modules[m][h]=g,this.isFunction[m][h]=!0}addEccAndInterleave(h){const m=this.version,g=this.errorCorrectionLevel;if(h.length!=Ee.getNumDataCodewords(m,g))throw new RangeError("Invalid argument");const y=Ee.NUM_ERROR_CORRECTION_BLOCKS[g.ordinal][m],b=Ee.ECC_CODEWORDS_PER_BLOCK[g.ordinal][m],N=Math.floor(Ee.getNumRawDataModules(m)/8),S=y-N%y,E=Math.floor(N/y);let T=[];const O=Ee.reedSolomonComputeDivisor(b);for(let z=0,G=0;z<y;z++){let Y=h.slice(G,G+E-b+(z<S?0:1));G+=Y.length;const J=Ee.reedSolomonComputeRemainder(Y,O);z<S&&Y.push(0),T.push(Y.concat(J))}let H=[];for(let z=0;z<T[0].length;z++)T.forEach((G,Y)=>{(z!=E-b||Y>=S)&&H.push(G[z])});return d(H.length==N),H}drawCodewords(h){if(h.length!=Math.floor(Ee.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let m=0;for(let g=this.size-1;g>=1;g-=2){g==6&&(g=5);for(let y=0;y<this.size;y++)for(let b=0;b<2;b++){const N=g-b,E=(g+1&2)==0?this.size-1-y:y;!this.isFunction[E][N]&&m<h.length*8&&(this.modules[E][N]=r(h[m>>>3],7-(m&7)),m++)}}d(m==h.length*8)}applyMask(h){if(h<0||h>7)throw new RangeError("Mask value out of range");for(let m=0;m<this.size;m++)for(let g=0;g<this.size;g++){let y;switch(h){case 0:y=(g+m)%2==0;break;case 1:y=m%2==0;break;case 2:y=g%3==0;break;case 3:y=(g+m)%3==0;break;case 4:y=(Math.floor(g/3)+Math.floor(m/2))%2==0;break;case 5:y=g*m%2+g*m%3==0;break;case 6:y=(g*m%2+g*m%3)%2==0;break;case 7:y=((g+m)%2+g*m%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[m][g]&&y&&(this.modules[m][g]=!this.modules[m][g])}}getPenaltyScore(){let h=0;for(let b=0;b<this.size;b++){let N=!1,S=0,E=[0,0,0,0,0,0,0];for(let T=0;T<this.size;T++)this.modules[b][T]==N?(S++,S==5?h+=Ee.PENALTY_N1:S>5&&h++):(this.finderPenaltyAddHistory(S,E),N||(h+=this.finderPenaltyCountPatterns(E)*Ee.PENALTY_N3),N=this.modules[b][T],S=1);h+=this.finderPenaltyTerminateAndCount(N,S,E)*Ee.PENALTY_N3}for(let b=0;b<this.size;b++){let N=!1,S=0,E=[0,0,0,0,0,0,0];for(let T=0;T<this.size;T++)this.modules[T][b]==N?(S++,S==5?h+=Ee.PENALTY_N1:S>5&&h++):(this.finderPenaltyAddHistory(S,E),N||(h+=this.finderPenaltyCountPatterns(E)*Ee.PENALTY_N3),N=this.modules[T][b],S=1);h+=this.finderPenaltyTerminateAndCount(N,S,E)*Ee.PENALTY_N3}for(let b=0;b<this.size-1;b++)for(let N=0;N<this.size-1;N++){const S=this.modules[b][N];S==this.modules[b][N+1]&&S==this.modules[b+1][N]&&S==this.modules[b+1][N+1]&&(h+=Ee.PENALTY_N2)}let m=0;for(const b of this.modules)m=b.reduce((N,S)=>N+(S?1:0),m);const g=this.size*this.size,y=Math.ceil(Math.abs(m*20-g*10)/g)-1;return d(0<=y&&y<=9),h+=y*Ee.PENALTY_N4,d(0<=h&&h<=2568888),h}getAlignmentPatternPositions(){if(this.version==1)return[];{const h=Math.floor(this.version/7)+2,m=this.version==32?26:Math.ceil((this.version*4+4)/(h*2-2))*2;let g=[6];for(let y=this.size-7;g.length<h;y-=m)g.splice(1,0,y);return g}}static getNumRawDataModules(h){if(h<Ee.MIN_VERSION||h>Ee.MAX_VERSION)throw new RangeError("Version number out of range");let m=(16*h+128)*h+64;if(h>=2){const g=Math.floor(h/7)+2;m-=(25*g-10)*g-55,h>=7&&(m-=36)}return d(208<=m&&m<=29648),m}static getNumDataCodewords(h,m){return Math.floor(Ee.getNumRawDataModules(h)/8)-Ee.ECC_CODEWORDS_PER_BLOCK[m.ordinal][h]*Ee.NUM_ERROR_CORRECTION_BLOCKS[m.ordinal][h]}static reedSolomonComputeDivisor(h){if(h<1||h>255)throw new RangeError("Degree out of range");let m=[];for(let y=0;y<h-1;y++)m.push(0);m.push(1);let g=1;for(let y=0;y<h;y++){for(let b=0;b<m.length;b++)m[b]=Ee.reedSolomonMultiply(m[b],g),b+1<m.length&&(m[b]^=m[b+1]);g=Ee.reedSolomonMultiply(g,2)}return m}static reedSolomonComputeRemainder(h,m){let g=m.map(y=>0);for(const y of h){const b=y^g.shift();g.push(0),m.forEach((N,S)=>g[S]^=Ee.reedSolomonMultiply(N,b))}return g}static reedSolomonMultiply(h,m){if(h>>>8||m>>>8)throw new RangeError("Byte out of range");let g=0;for(let y=7;y>=0;y--)g=g<<1^(g>>>7)*285,g^=(m>>>y&1)*h;return d(g>>>8==0),g}finderPenaltyCountPatterns(h){const m=h[1];d(m<=this.size*3);const g=m>0&&h[2]==m&&h[3]==m*3&&h[4]==m&&h[5]==m;return(g&&h[0]>=m*4&&h[6]>=m?1:0)+(g&&h[6]>=m*4&&h[0]>=m?1:0)}finderPenaltyTerminateAndCount(h,m,g){return h&&(this.finderPenaltyAddHistory(m,g),m=0),m+=this.size,this.finderPenaltyAddHistory(m,g),this.finderPenaltyCountPatterns(g)}finderPenaltyAddHistory(h,m){m[0]==0&&(h+=this.size),m.pop(),m.unshift(h)}};c.MIN_VERSION=1,c.MAX_VERSION=40,c.PENALTY_N1=3,c.PENALTY_N2=3,c.PENALTY_N3=40,c.PENALTY_N4=10,c.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],c.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],s.QrCode=c;function i(_,h,m){if(h<0||h>31||_>>>h)throw new RangeError("Value out of range");for(let g=h-1;g>=0;g--)m.push(_>>>g&1)}function r(_,h){return(_>>>h&1)!=0}function d(_){if(!_)throw new Error("Assertion error")}const f=class rt{constructor(h,m,g){if(this.mode=h,this.numChars=m,this.bitData=g,m<0)throw new RangeError("Invalid argument");this.bitData=g.slice()}static makeBytes(h){let m=[];for(const g of h)i(g,8,m);return new rt(rt.Mode.BYTE,h.length,m)}static makeNumeric(h){if(!rt.isNumeric(h))throw new RangeError("String contains non-numeric characters");let m=[];for(let g=0;g<h.length;){const y=Math.min(h.length-g,3);i(parseInt(h.substring(g,g+y),10),y*3+1,m),g+=y}return new rt(rt.Mode.NUMERIC,h.length,m)}static makeAlphanumeric(h){if(!rt.isAlphanumeric(h))throw new RangeError("String contains unencodable characters in alphanumeric mode");let m=[],g;for(g=0;g+2<=h.length;g+=2){let y=rt.ALPHANUMERIC_CHARSET.indexOf(h.charAt(g))*45;y+=rt.ALPHANUMERIC_CHARSET.indexOf(h.charAt(g+1)),i(y,11,m)}return g<h.length&&i(rt.ALPHANUMERIC_CHARSET.indexOf(h.charAt(g)),6,m),new rt(rt.Mode.ALPHANUMERIC,h.length,m)}static makeSegments(h){return h==""?[]:rt.isNumeric(h)?[rt.makeNumeric(h)]:rt.isAlphanumeric(h)?[rt.makeAlphanumeric(h)]:[rt.makeBytes(rt.toUtf8ByteArray(h))]}static makeEci(h){let m=[];if(h<0)throw new RangeError("ECI assignment value out of range");if(h<128)i(h,8,m);else if(h<16384)i(2,2,m),i(h,14,m);else if(h<1e6)i(6,3,m),i(h,21,m);else throw new RangeError("ECI assignment value out of range");return new rt(rt.Mode.ECI,0,m)}static isNumeric(h){return rt.NUMERIC_REGEX.test(h)}static isAlphanumeric(h){return rt.ALPHANUMERIC_REGEX.test(h)}getData(){return this.bitData.slice()}static getTotalBits(h,m){let g=0;for(const y of h){const b=y.mode.numCharCountBits(m);if(y.numChars>=1<<b)return 1/0;g+=4+b+y.bitData.length}return g}static toUtf8ByteArray(h){h=encodeURI(h);let m=[];for(let g=0;g<h.length;g++)h.charAt(g)!="%"?m.push(h.charCodeAt(g)):(m.push(parseInt(h.substring(g+1,g+3),16)),g+=2);return m}};f.NUMERIC_REGEX=/^[0-9]*$/,f.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,f.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let v=f;s.QrSegment=f})(cs||(cs={}));(s=>{(c=>{const i=class{constructor(d,f){this.ordinal=d,this.formatBits=f}};i.LOW=new i(0,1),i.MEDIUM=new i(1,0),i.QUARTILE=new i(2,3),i.HIGH=new i(3,2),c.Ecc=i})(s.QrCode||(s.QrCode={}))})(cs||(cs={}));(s=>{(c=>{const i=class{constructor(d,f){this.modeBits=d,this.numBitsCharCount=f}numCharCountBits(d){return this.numBitsCharCount[Math.floor((d+7)/17)]}};i.NUMERIC=new i(1,[10,12,14]),i.ALPHANUMERIC=new i(2,[9,11,13]),i.BYTE=new i(4,[8,16,16]),i.KANJI=new i(8,[8,10,12]),i.ECI=new i(7,[0,0,0]),c.Mode=i})(s.QrSegment||(s.QrSegment={}))})(cs||(cs={}));var Ws=cs;/**
|
||
* @license qrcode.react
|
||
* Copyright (c) Paul O'Shannessy
|
||
* SPDX-License-Identifier: ISC
|
||
*/var qj={L:Ws.QrCode.Ecc.LOW,M:Ws.QrCode.Ecc.MEDIUM,Q:Ws.QrCode.Ecc.QUARTILE,H:Ws.QrCode.Ecc.HIGH},O3=128,z3="L",D3="#FFFFFF",L3="#000000",B3=!1,k3=1,Gj=4,Fj=0,Vj=.1;function U3(s,c=0){const i=[];return s.forEach(function(r,d){let f=null;r.forEach(function(v,_){if(!v&&f!==null){i.push(`M${f+c} ${d+c}h${_-f}v1H${f+c}z`),f=null;return}if(_===r.length-1){if(!v)return;f===null?i.push(`M${_+c},${d+c} h1v1H${_+c}z`):i.push(`M${f+c},${d+c} h${_+1-f}v1H${f+c}z`);return}v&&f===null&&(f=_)})}),i.join("")}function H3(s,c){return s.slice().map((i,r)=>r<c.y||r>=c.y+c.h?i:i.map((d,f)=>f<c.x||f>=c.x+c.w?d:!1))}function Qj(s,c,i,r){if(r==null)return null;const d=s.length+i*2,f=Math.floor(c*Vj),v=d/c,_=(r.width||f)*v,h=(r.height||f)*v,m=r.x==null?s.length/2-_/2:r.x*v,g=r.y==null?s.length/2-h/2:r.y*v,y=r.opacity==null?1:r.opacity;let b=null;if(r.excavate){let S=Math.floor(m),E=Math.floor(g),T=Math.ceil(_+m-S),O=Math.ceil(h+g-E);b={x:S,y:E,w:T,h:O}}const N=r.crossOrigin;return{x:m,y:g,h,w:_,excavation:b,opacity:y,crossOrigin:N}}function Yj(s,c){return c!=null?Math.max(Math.floor(c),0):s?Gj:Fj}function $3({value:s,level:c,minVersion:i,includeMargin:r,marginSize:d,imageSettings:f,size:v,boostLevel:_}){let h=St.useMemo(()=>{const S=(Array.isArray(s)?s:[s]).reduce((E,T)=>(E.push(...Ws.QrSegment.makeSegments(T)),E),[]);return Ws.QrCode.encodeSegments(S,qj[c],i,void 0,void 0,_)},[s,c,i,_]);const{cells:m,margin:g,numCells:y,calculatedImageSettings:b}=St.useMemo(()=>{let N=h.getModules();const S=Yj(r,d),E=N.length+S*2,T=Qj(N,v,S,f);return{cells:N,margin:S,numCells:E,calculatedImageSettings:T}},[h,v,f,r,d]);return{qrcode:h,margin:g,cells:m,numCells:y,calculatedImageSettings:b}}var Xj=(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})(),Zj=St.forwardRef(function(c,i){const r=c,{value:d,size:f=O3,level:v=z3,bgColor:_=D3,fgColor:h=L3,includeMargin:m=B3,minVersion:g=k3,boostLevel:y,marginSize:b,imageSettings:N}=r,E=k2(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:T}=E,O=k2(E,["style"]),H=N==null?void 0:N.src,z=St.useRef(null),G=St.useRef(null),Y=St.useCallback(me=>{z.current=me,typeof i=="function"?i(me):i&&(i.current=me)},[i]),[J,$]=St.useState(!1),{margin:Z,cells:ae,numCells:pe,calculatedImageSettings:he}=$3({value:d,level:v,minVersion:g,boostLevel:y,includeMargin:m,marginSize:b,imageSettings:N,size:f});St.useEffect(()=>{if(z.current!=null){const me=z.current,ue=me.getContext("2d");if(!ue)return;let U=ae;const X=G.current,se=he!=null&&X!==null&&X.complete&&X.naturalHeight!==0&&X.naturalWidth!==0;se&&he.excavation!=null&&(U=H3(ae,he.excavation));const Te=window.devicePixelRatio||1;me.height=me.width=f*Te;const Re=f/pe*Te;ue.scale(Re,Re),ue.fillStyle=_,ue.fillRect(0,0,pe,pe),ue.fillStyle=h,Xj?ue.fill(new Path2D(U3(U,Z))):ae.forEach(function(R,V){R.forEach(function(K,te){K&&ue.fillRect(te+Z,V+Z,1,1)})}),he&&(ue.globalAlpha=he.opacity),se&&ue.drawImage(X,he.x+Z,he.y+Z,he.w,he.h)}}),St.useEffect(()=>{$(!1)},[H]);const Ne=B2({height:f,width:f},T);let re=null;return H!=null&&(re=St.createElement("img",{src:H,key:H,style:{display:"none"},onLoad:()=>{$(!0)},ref:G,crossOrigin:he==null?void 0:he.crossOrigin})),St.createElement(St.Fragment,null,St.createElement("canvas",B2({style:Ne,height:f,width:f,ref:Y,role:"img"},O)),re)});Zj.displayName="QRCodeCanvas";var q3=St.forwardRef(function(c,i){const r=c,{value:d,size:f=O3,level:v=z3,bgColor:_=D3,fgColor:h=L3,includeMargin:m=B3,minVersion:g=k3,boostLevel:y,title:b,marginSize:N,imageSettings:S}=r,E=k2(r,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:T,cells:O,numCells:H,calculatedImageSettings:z}=$3({value:d,level:v,minVersion:g,boostLevel:y,includeMargin:m,marginSize:N,imageSettings:S,size:f});let G=O,Y=null;S!=null&&z!=null&&(z.excavation!=null&&(G=H3(O,z.excavation)),Y=St.createElement("image",{href:S.src,height:z.h,width:z.w,x:z.x+T,y:z.y+T,preserveAspectRatio:"none",opacity:z.opacity,crossOrigin:z.crossOrigin}));const J=U3(G,T);return St.createElement("svg",B2({height:f,width:f,viewBox:`0 0 ${H} ${H}`,ref:i,role:"img"},E),!!b&&St.createElement("title",null,b),St.createElement("path",{fill:_,d:`M0,0 h${H}v${H}H0z`,shapeRendering:"crispEdges"}),St.createElement("path",{fill:h,d:J,shapeRendering:"crispEdges"}),Y)});q3.displayName="QRCodeSVG";const Ij="_overlay_1nlll_6",Kj="_dialog_1nlll_18",Pj="_header_1nlll_27",Wj="_title_1nlll_34",Jj="_closeBtn_1nlll_40",e7="_body_1nlll_55",t7="_qrWrap_1nlll_62",n7="_label_1nlll_71",l7="_fieldRow_1nlll_77",a7="_addressInput_1nlll_82",s7="_copyBtn_1nlll_101",i7="_copyBtnDone_1nlll_127",c7="_skeleton_1nlll_132",r7="_error_1nlll_145",en={overlay:Ij,dialog:Kj,header:Pj,title:Wj,closeBtn:Jj,body:e7,qrWrap:t7,label:n7,fieldRow:l7,addressInput:a7,copyBtn:s7,copyBtnDone:i7,skeleton:c7,error:r7},o7={ETH:"Ethereum",BSC:"BSC Smart Chain",BTC:"Bitcoin",TRX:"Tron",SOL:"Solana"};function u7({open:s,onClose:c,chain:i}){const{data:r,isLoading:d,isError:f}=Eo(),[v,_]=j.useState(!1);if(j.useEffect(()=>{if(!s)return;function b(N){N.key==="Escape"&&c()}return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[s,c]),j.useEffect(()=>{s||_(!1)},[s]),!s)return null;const h=r==null?void 0:r.find(b=>b.chain===i),m=(h==null?void 0:h.address)??"";function g(){m&&navigator.clipboard.writeText(m).then(()=>{_(!0),setTimeout(()=>_(!1),2e3)})}function y(b){b.target===b.currentTarget&&c()}return l.jsx("div",{className:en.overlay,onMouseDown:y,children:l.jsxs("div",{className:en.dialog,children:[l.jsxs("div",{className:en.header,children:[l.jsxs("span",{className:en.title,children:["Получить ",o7[i]]}),l.jsx("button",{className:en.closeBtn,type:"button",onClick:c,"aria-label":"Закрыть",children:"✕"})]}),l.jsxs("div",{className:en.body,children:[d&&l.jsx("div",{className:en.skeleton}),f&&l.jsx("p",{className:en.error,children:"Не удалось загрузить адрес. Попробуйте позже."}),!d&&!f&&l.jsxs(l.Fragment,{children:[l.jsxs("label",{className:en.label,children:["Ваш ",i,"-адрес"]}),l.jsxs("div",{className:en.fieldRow,children:[l.jsx("input",{className:en.addressInput,type:"text",readOnly:!0,value:m,onFocus:b=>b.target.select()}),l.jsx("button",{className:`${en.copyBtn} ${v?en.copyBtnDone:""}`,type:"button",onClick:g,disabled:!m,children:v?"Скопировано!":"Копировать"})]}),m&&l.jsx("div",{className:en.qrWrap,children:l.jsx(q3,{value:m,size:196,level:"M",bgColor:"#ffffff",fgColor:"#000000",marginSize:2})})]})]})]})})}const d7="_wrap_uur6k_1",f7="_loading_uur6k_9",h7="_table_uur6k_14",m7="_thStar_uur6k_44",p7="_groupHeader_uur6k_49",v7="_groupHeaderInner_uur6k_58",g7="_groupLabel_uur6k_66",_7="_groupIcon_uur6k_77",y7="_groupTotal_uur6k_83",x7="_mobileGroupHeader_uur6k_90",b7="_right_uur6k_99",j7="_center_uur6k_103",S7="_btnGroup_uur6k_108",N7="_star_uur6k_114",w7="_starOn_uur6k_129",C7="_tokId_uur6k_133",E7="_tokLogo_uur6k_139",T7="_price_uur6k_174",R7="_balCol_uur6k_201",A7="_sendBtn_uur6k_214",M7="_receiveBtn_uur6k_237",O7="_noFont_uur6k_260",z7="_mobileList_uur6k_265",D7="_card_uur6k_269",L7="_cardInfo_uur6k_281",B7="_cardTop_uur6k_286",k7="_cardTicker_uur6k_293",U7="_cardName_uur6k_299",H7="_cardBalCrypto_uur6k_305",$7="_cardBot_uur6k_312",q7="_cardPrice_uur6k_318",G7="_cardBalUsd_uur6k_330",F7="_mobileActions_uur6k_351",ve={wrap:d7,loading:f7,table:h7,thStar:m7,groupHeader:p7,groupHeaderInner:v7,groupLabel:g7,groupIcon:_7,groupTotal:y7,mobileGroupHeader:x7,right:b7,center:j7,btnGroup:S7,star:N7,starOn:w7,tokId:C7,tokLogo:E7,price:T7,balCol:R7,sendBtn:A7,receiveBtn:M7,noFont:O7,mobileList:z7,card:D7,cardInfo:L7,cardTop:B7,cardTicker:k7,cardName:U7,cardBalCrypto:H7,cardBot:$7,cardPrice:q7,cardBalUsd:G7,mobileActions:F7},Vm={BTC:{label:"Bitcoin",icon:mt.BTC},ETH:{label:"Ethereum",icon:mt.ETH},SOL:{label:"Solana",icon:mt.SOL},TRX:{label:"Tron",icon:mt.TRX},BSC:{label:"BNB Chain",icon:mt.BNB}};function Qm(s){return`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`}function V7(s){const c=[],i=new Map;for(const r of s){const d=r.chain??"ETH";let f=i.get(d);f||(f={chain:d,rows:[],totalUsd:0},i.set(d,f),c.push(f)),f.rows.push(r),f.totalUsd+=r.usdValue??0}return c}function Ym(s){return s.id??s.ticker}function G3({rows:s,isLoading:c,fallbackChain:i="ETH",groupByChain:r=!1}){const[d,f]=j.useState({}),[v,_]=j.useState({open:!1,network:"ETH"}),[h,m]=j.useState({open:!1,chain:"ETH"});function g($){return $.chain??lj[$.ticker]??i}function y($){_({open:!0,network:g($)})}function b(){_($=>({...$,open:!1}))}function N($){m({open:!0,chain:g($)})}function S(){m($=>({...$,open:!1}))}function E($){f(Z=>({...Z,[$]:!Z[$]}))}const T=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"})});function H($){const Z=Ym($);return l.jsxs("tr",{children:[l.jsx("td",{children:l.jsx("button",{className:`${ve.star} ${d[Z]?ve.starOn:""}`,onClick:()=>E(Z),type:"button","aria-label":d[Z]?"Убрать из избранного":"В избранное",children:"★"})}),l.jsx("td",{children:l.jsxs("div",{className:ve.tokId,children:[l.jsx("div",{className:ve.tokLogo,style:{background:$.color},children:$.logo?l.jsx("img",{src:$.logo,alt:$.ticker,className:""}):$.ticker[0]}),l.jsxs("div",{className:ve.balCol,children:[l.jsx("b",{className:ve.cardTicker,children:$.ticker}),l.jsx("span",{className:ve.noFont,children:$.name})]})]})}),l.jsx("td",{className:ve.right,children:l.jsx("span",{className:ve.price,children:$.price})}),l.jsx("td",{className:ve.right,children:l.jsxs("div",{className:ve.balCol,children:[l.jsx("b",{children:$.bal}),l.jsx("span",{children:$.usd})]})}),l.jsx("td",{className:ve.center,children:l.jsxs("div",{className:ve.btnGroup,children:[l.jsxs("button",{className:ve.receiveBtn,type:"button",onClick:ae=>{ae.stopPropagation(),N($)},children:[O,"Получить"]}),l.jsxs("button",{className:ve.sendBtn,type:"button",onClick:ae=>{ae.stopPropagation(),y($)},children:[T,"Отправить"]})]})})]},Z)}function z($){const Z=Ym($);return l.jsxs("div",{className:ve.card,children:[l.jsx("button",{className:`${ve.star} ${d[Z]?ve.starOn:""}`,onClick:()=>E(Z),type:"button","aria-label":d[Z]?"Убрать из избранного":"В избранное",children:"★"}),l.jsx("div",{className:ve.tokLogo,style:{background:$.color},children:$.logo?l.jsx("img",{src:$.logo,alt:$.ticker,className:""}):$.ticker[0]}),l.jsxs("div",{className:ve.cardInfo,children:[l.jsxs("div",{className:ve.cardTop,children:[l.jsxs("div",{children:[l.jsx("span",{className:ve.cardTicker,children:$.ticker}),l.jsx("span",{className:ve.cardName,children:$.name})]}),l.jsx("span",{className:ve.cardBalCrypto,children:$.bal})]}),l.jsxs("div",{className:ve.cardBot,children:[l.jsx("span",{className:ve.cardPrice,children:$.price}),l.jsx("span",{className:ve.cardBalUsd,children:$.usd})]})]})]},Z)}function G($){const Z=Vm[$.chain];return l.jsx("tr",{className:ve.groupHeader,children:l.jsx("td",{colSpan:5,children:l.jsxs("div",{className:ve.groupHeaderInner,children:[l.jsxs("span",{className:ve.groupLabel,children:[l.jsx("img",{src:Z.icon,alt:"",className:ve.groupIcon}),Z.label]}),l.jsx("span",{className:ve.groupTotal,children:Qm($.totalUsd)})]})})},`h-${$.chain}`)}function Y($){const Z=Vm[$.chain];return l.jsxs("div",{className:ve.mobileGroupHeader,children:[l.jsxs("span",{className:ve.groupLabel,children:[l.jsx("img",{src:Z.icon,alt:"",className:ve.groupIcon}),Z.label]}),l.jsx("span",{className:ve.groupTotal,children:Qm($.totalUsd)})]},`mh-${$.chain}`)}const J=r?V7(s):null;return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:`${ve.wrap} ${c?ve.loading:""}`,children:[l.jsxs("table",{className:ve.table,children:[l.jsx("thead",{children:l.jsxs("tr",{children:[l.jsx("th",{className:ve.thStar,children:"☆"}),l.jsx("th",{children:"Токены"}),l.jsx("th",{className:ve.right,children:"Цена"}),l.jsx("th",{className:ve.right,children:"Баланс"}),l.jsx("th",{className:ve.center})]})}),l.jsx("tbody",{children:J?J.map($=>l.jsxs(j.Fragment,{children:[G($),$.rows.map(H)]},$.chain)):s.map(H)})]}),l.jsx("div",{className:ve.mobileList,children:J?J.map($=>l.jsxs(j.Fragment,{children:[Y($),$.rows.map(z)]},$.chain)):s.map(z)})]}),l.jsxs("div",{className:ve.mobileActions,children:[l.jsxs("button",{className:ve.receiveBtn,type:"button",onClick:()=>s[0]&&N(s[0]),children:[O,"Получить"]}),l.jsxs("button",{className:ve.sendBtn,type:"button",onClick:()=>s[0]&&y(s[0]),children:[T,"Отправить"]})]}),l.jsx(Hj,{open:v.open,onClose:b,network:v.network,tokens:s}),l.jsx(u7,{open:h.open,onClose:S,chain:h.chain})]})}function Q7({chain:s}){const{rows:c,isLoading:i}=J8(s);return l.jsx(G3,{rows:c,isLoading:i,fallbackChain:s})}function Y7(){const{rows:s,isLoading:c}=ej();return l.jsx(G3,{rows:s,isLoading:c,groupByChain:!0})}const X7="_nav_ip34n_1",Z7="_logo_ip34n_11",I7="_ticker_ip34n_16",K7="_tick_ip34n_16",P7="_accountWrapper_ip34n_42",W7="_account_ip34n_42",J7="_dropdown_ip34n_56",e9="_dropdownItem_ip34n_70",t9="_danger_ip34n_89",n9="_avatar_ip34n_93",tn={nav:X7,logo:Z7,ticker:I7,tick:K7,accountWrapper:P7,account:W7,dropdown:J7,dropdownItem:e9,danger:t9,avatar:n9},Xm=["BTC","ETH","SOL"],l9=s=>s?s[0].toUpperCase()+s.slice(1).toLowerCase():"";function a9(s){return s==null?"$—":s>=1?`$${s.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`:`$${s.toLocaleString("en-US",{minimumFractionDigits:4,maximumFractionDigits:6})}`}function Ro(){const[s,c]=j.useState(!1),[i,r]=j.useState(!1),d=j.useRef(null),f=wn(),v=cl(),{data:_}=xi(),{data:h}=r8(Xm),m=_?[_.first_name,_.middle_name].filter(Boolean).map(l9).join(" "):"",{mutate:g}=Lt({mutationFn:kb,onSuccess:()=>{Un.clear(),v.setQueryData(Co,null),f(de.HOME)},onError:()=>r(!0)});j.useEffect(()=>{function b(N){d.current&&!d.current.contains(N.target)&&c(!1)}return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[]);function y(){g(),c(!1)}return l.jsxs(l.Fragment,{children:[l.jsxs("nav",{className:tn.nav,children:[l.jsx("a",{href:"/",className:tn.logo,children:l.jsx("img",{src:il,alt:"ЭКСА"})}),l.jsx("div",{className:tn.ticker,children:Xm.map(b=>{var N;return l.jsxs("div",{className:tn.tick,children:[l.jsx("b",{children:b}),l.jsx("span",{children:a9((N=h==null?void 0:h[b])==null?void 0:N.usd)})]},b)})}),l.jsxs("div",{className:tn.accountWrapper,ref:d,children:[l.jsxs("button",{className:tn.account,onClick:()=>c(b=>!b),children:[_!=null&&_.avatar_link?l.jsx("img",{src:_.avatar_link,alt:"",className:tn.avatar}):l.jsx("div",{className:tn.avatar}),l.jsx("span",{children:m||"Test account"})]}),s&&l.jsxs("div",{className:tn.dropdown,children:[l.jsx(Yt,{to:de.PROFILE,className:tn.dropdownItem,onClick:()=>c(!1),children:"Личный кабинет"}),l.jsx(Yt,{to:de.WALLET,className:tn.dropdownItem,onClick:()=>c(!1),children:"Кошелёк"}),l.jsx(Yt,{to:de.TRANSACTIONS,className:tn.dropdownItem,onClick:()=>c(!1),children:"Транзакции"}),l.jsx("button",{className:`${tn.dropdownItem} ${tn.danger}`,onClick:y,children:"Выйти"})]})]})]}),i&&l.jsx(as,{status:"error",message:"Произошла ошибка сервера",onClose:()=>r(!1)})]})}const s9="_tabs_1ne0a_1",i9="_tab_1ne0a_1",c9="_active_1ne0a_31",r9="_icon_1ne0a_37",Fa={tabs:s9,tab:i9,active:c9,icon:r9},o9=[{chain:"BTC",label:"BTC",icon:mt.BTC},{chain:"ETH",label:"ETH",icon:mt.ETH},{chain:"SOL",label:"SOL",icon:mt.SOL},{chain:"TRX",label:"TRX",icon:mt.TRX},{chain:"BSC",label:"BSC",icon:mt.BNB}],u9=l.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[l.jsx("ellipse",{cx:"12",cy:"6",rx:"8",ry:"3"}),l.jsx("path",{d:"M4 6v6c0 1.66 3.58 3 8 3s8-1.34 8-3V6"}),l.jsx("path",{d:"M4 12v6c0 1.66 3.58 3 8 3s8-1.34 8-3v-6"})]});function d9(){return l.jsxs("div",{className:Fa.tabs,children:[l.jsxs(_2,{to:"/wallet",end:!0,className:({isActive:s})=>`${Fa.tab} ${s?Fa.active:""}`,children:[l.jsx("span",{className:Fa.icon,children:u9}),l.jsx("span",{children:"Все монеты"})]}),o9.map(s=>l.jsxs(_2,{to:`/wallet/${s.chain.toLowerCase()}`,className:({isActive:c})=>`${Fa.tab} ${c?Fa.active:""}`,children:[l.jsx("img",{src:s.icon,alt:s.label,className:Fa.icon}),l.jsx("span",{children:s.label})]},s.chain))]})}const f9="_page_10fz2_1",h9="_main_10fz2_8",m9="_glow_10fz2_17",p9="_error_10fz2_29",v9="_noWallet_10fz2_38",yc={page:f9,main:h9,glow:m9,error:p9,noWallet:v9};function Zm(){var y;const{data:s,isLoading:c,isError:i}=xi(),{error:r}=To(),{mutate:d,isPending:f}=m8(),v=wn(),{chain:_}=m4(),h=(y=r==null?void 0:r.error)==null?void 0:y.includes("No wallets");if(c)return null;if(i)return l.jsx("div",{className:yc.error,children:"Произошла ошибка. Попробуйте обновить страницу."});if(s&&!s.kyc_verified)return l.jsx(No,{to:de.KYC,replace:!0});const m=_==null?void 0:_.toUpperCase(),g=m&&x3.includes(m)?m:void 0;return l.jsxs("div",{className:yc.page,children:[l.jsx(Ro,{}),l.jsxs("main",{className:yc.main,children:[l.jsx("div",{className:yc.glow}),h?l.jsxs("div",{className:yc.noWallet,children:[l.jsx("p",{children:"У вас пока нет кошелька. Создайте его, чтобы начать."}),l.jsx(jn,{variant:"outline",onClick:()=>d(void 0,{onSuccess:()=>v(de.SEED_PHRASE)}),disabled:f,children:f?"Создание...":"Создать кошелёк"})]}):l.jsxs(l.Fragment,{children:[l.jsx(T8,{}),l.jsx(d9,{}),g?l.jsx(Q7,{chain:g}):l.jsx(Y7,{})]})]})]})}const F3=mt.BTC,V3=mt.ETH,Q3=mt.SOL,Y3=mt.TRX,X3=mt.ARB,U2={BTC:{symbol:"BTC",letter:"₿",logo:F3,color:"#F7931A",network:"BITCOIN",balance:0,usdRate:67412,decimals:8},ETH:{symbol:"ETH",letter:"E",logo:V3,color:"#627EEA",network:"ETHEREUM",balance:0,usdRate:3521,decimals:18},SOL:{symbol:"SOL",letter:"S",logo:Q3,color:"#9945FF",network:"SOLANA",balance:.994,usdRate:163.84,decimals:9},TRX:{symbol:"TRX",letter:"T",logo:Y3,color:"#FF060A",network:"TRON",balance:0,usdRate:.12,decimals:6},ARB:{symbol:"ARB",letter:"A",logo:X3,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}},g9=Object.values(U2),H2={BTC:{letter:"₿",logo:F3,color:"#F7931A"},ETH:{letter:"E",logo:V3,color:"#627EEA"},BSC:{letter:"B",color:"#F3BA2F"},SOL:{letter:"S",logo:Q3,color:"#9945FF"},TRX:{letter:"T",logo:Y3,color:"#FF060A"},ARB:{letter:"A",logo:X3,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"}},_9={ETH:"ETH",BSC:"BSC",BTC:"BTC",TRX:"TRX",SOL:"SOL"};function Z3(s){const c=[],i=_9[s.chain]??s.chain,r=H2[i];c.push({symbol:i,letter:(r==null?void 0:r.letter)??i[0],color:(r==null?void 0:r.color)??"#888",logo:r==null?void 0:r.logo,network:s.chain,balance:parseFloat(s.native.formatted),usdRate:s.native.usdPrice,decimals:s.native.decimals});for(const[d,f]of Object.entries(s.tokens??{})){const v=H2[d];c.push({symbol:d,letter:(v==null?void 0:v.letter)??d[0],color:(v==null?void 0:v.color)??"#888",logo:v==null?void 0:v.logo,network:s.chain,balance:parseFloat(f.formatted),usdRate:f.usdPrice,decimals:f.decimals})}return c}const Im=82.2578;function I3(){const[s,c]=j.useState("0"),[i,r]=j.useState(U2.SOL),[d,f]=j.useState(U2.USDC),[v,_]=j.useState(!1),h=parseFloat(s)||0,m=(h*Im).toFixed(4),g=(h*i.usdRate).toFixed(2),y=(h*Im*d.usdRate).toFixed(2);function b(T){c(T)}function N(T){c((i.balance*T/100).toFixed(4))}function S(){r(d),f(i)}function E(){_(!0),setTimeout(()=>_(!1),400)}return{fromAmount:s,toAmount:m,fromUsd:g,toUsd:y,fromToken:i,toToken:d,isRefreshing:v,setFromAmount:b,setPercent:N,swapTokens:S,refreshRate:E,setFromToken:r,setToToken:f}}const y9="_wrap_18yiu_1",x9="_trigger_18yiu_6",b9="_name_18yiu_22",j9="_chevron_18yiu_29",S9="_chevronOpen_18yiu_37",N9="_dropdown_18yiu_41",w9="_dropdownWrapper_18yiu_47",C9="_option_18yiu_60",E9="_optionActive_18yiu_78",T9="_optionInfo_18yiu_82",R9="_optionSymbol_18yiu_90",A9="_optionNetwork_18yiu_96",M9="_check_18yiu_103",O9="_triggerCompact_18yiu_110",z9="_nameCompact_18yiu_116",qt={wrap:y9,trigger:x9,name:b9,chevron:j9,chevronOpen:S9,dropdown:N9,dropdownWrapper:w9,option:C9,optionActive:E9,optionInfo:T9,optionSymbol:R9,optionNetwork:A9,check:M9,triggerCompact:O9,nameCompact:z9};function Km({value:s,options:c,onChange:i,compact:r=!1}){const[d,f]=j.useState(!1),v=j.useRef(null);j.useEffect(()=>{function h(m){v.current&&!v.current.contains(m.target)&&f(!1)}return document.addEventListener("mousedown",h),()=>document.removeEventListener("mousedown",h)},[]);function _(h){i(h),f(!1)}return l.jsxs("div",{className:qt.wrap,ref:v,children:[l.jsxs("button",{className:`${qt.trigger} ${r?qt.triggerCompact:""}`,onClick:()=>f(h=>!h),children:[l.jsx(wm,{letter:s.letter,color:s.color,logo:s.logo,size:r?24:40}),l.jsx("span",{className:`${qt.name} ${r?qt.nameCompact:""}`,children:s.symbol}),l.jsx("span",{className:`${qt.chevron} ${d?qt.chevronOpen:""}`,children:"▾"})]}),d&&l.jsx("div",{className:qt.dropdownWrapper,children:l.jsx("div",{className:qt.dropdown,children:c.map(h=>l.jsxs("button",{className:`${qt.option} ${h.symbol===s.symbol?qt.optionActive:""}`,onClick:()=>_(h),children:[l.jsx(wm,{letter:h.letter,color:h.color,logo:h.logo,size:32}),l.jsxs("div",{className:qt.optionInfo,children:[l.jsx("span",{className:qt.optionSymbol,children:h.symbol}),l.jsx("span",{className:qt.optionNetwork,children:h.network})]}),h.symbol===s.symbol&&l.jsx("span",{className:qt.check,children:"✓"})]},h.symbol))})})]})}const D9="_wrapper_19brp_1",L9="_pillsOuter_19brp_8",B9="_card_19brp_13",k9="_top_19brp_20",U9="_label_19brp_33",H9="_networkPills_19brp_54",$9="_networkBtn_19brp_60",q9="_networkBtnActive_19brp_79",G9="_pillsInner_19brp_85",F9="_pill_19brp_8",V9="_selectTop_19brp_109",Q9="_selectMid_19brp_113",Y9="_mid_19brp_118",X9="_input_19brp_126",Z9="_display_19brp_142",I9="_int_19brp_151",K9="_dec_19brp_156",P9="_bottom_19brp_161",W9="_usd_19brp_167",J9="_balance_19brp_176",eS="_max_19brp_184",ft={wrapper:D9,pillsOuter:L9,card:B9,top:k9,label:U9,networkPills:H9,networkBtn:$9,networkBtnActive:q9,pillsInner:G9,pill:F9,selectTop:V9,selectMid:Q9,mid:Y9,input:X9,display:Z9,int:I9,dec:K9,bottom:P9,usd:W9,balance:J9,max:eS},tS=["ETH","BSC","TRX","SOL"],nS=[25,50,100];function bo({mode:s,token:c,tokenOptions:i,amount:r,usd:d,onTokenChange:f,onAmountChange:v,onSetPercent:_,selectedNetwork:h,onNetworkChange:m,hideNetworkSelect:g}){const[y,b]=is(r,8).split("."),N=_&&l.jsx(l.Fragment,{children:nS.map(S=>l.jsxs("button",{className:ft.pill,onClick:()=>_(S),children:[S,"%"]},S))});return l.jsxs("div",{className:ft.wrapper,children:[s==="from"&&N&&l.jsx("div",{className:ft.pillsOuter,children:N}),l.jsxs("div",{className:ft.card,children:[l.jsxs("div",{className:ft.top,children:[l.jsx("div",{className:ft.label,children:s==="from"&&!g&&l.jsx("div",{className:ft.networkPills,children:tS.map(S=>l.jsx("button",{className:`${ft.networkBtn} ${S===h?ft.networkBtnActive:""}`,onClick:()=>m==null?void 0:m(S),children:S},S))})}),s==="from"&&N&&l.jsx("div",{className:ft.pillsInner,children:N}),l.jsx("div",{className:ft.selectTop,children:l.jsx(Km,{value:c,options:i,onChange:f,compact:!0})})]}),l.jsxs("div",{className:ft.mid,children:[s==="from"?l.jsx("input",{className:ft.input,type:"text",value:r,onChange:S=>{const E=S.target.value;(/^(\d+\.?\d*|\.?\d*)$/.test(E)||E==="")&&(v==null||v(E))},placeholder:"0"}):l.jsxs("div",{className:ft.display,children:[l.jsx("span",{className:ft.int,children:y}),b&&l.jsxs("span",{className:ft.dec,children:[".",b]})]}),l.jsx("div",{className:ft.selectMid,children:l.jsx(Km,{value:c,options:i,onChange:f})})]}),l.jsxs("div",{className:ft.bottom,children:[d&&l.jsxs("span",{className:ft.usd,children:["≈ $",d]}),l.jsxs("span",{className:ft.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"})]}),is(c.balance,8),s==="from"&&_&&l.jsx("button",{className:ft.max,onClick:()=>_(100),children:"МАКС"})]})]})]})]})}const lS="_wrap_wqzoz_1",aS="_line_wqzoz_11",sS="_circle_wqzoz_19",a2={wrap:lS,line:aS,circle:sS};function iS({onClick:s}){const[c,i]=j.useState(!1);function r(){i(!0),setTimeout(()=>i(!1),300),s()}return l.jsxs("div",{className:a2.wrap,children:[l.jsx("div",{className:a2.line}),l.jsx("button",{className:a2.circle,style:{transform:c?"rotate(180deg)":"rotate(0deg)"},onClick:r,"aria-label":"Поменять токены",children:"⇅"})]})}const cS="_panel_16d4z_1",rS="_row_16d4z_10",oS="_label_16d4z_22",uS="_value_16d4z_30",dS="_link_16d4z_36",xc={panel:cS,row:rS,label:oS,value:uS,link:dS};function fS({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:xc.panel,children:c.map(({label:i,value:r,link:d})=>l.jsxs("div",{className:xc.row,children:[l.jsx("span",{className:xc.label,children:i}),l.jsx("span",{className:`${xc.value} ${d?xc.link:""}`,children:r})]},i))})}const hS="_overlay_1gegs_1",mS="_card_1gegs_12",pS="_header_1gegs_24",vS="_title_1gegs_30",gS="_closeBtn_1gegs_36",_S="_flow_1gegs_51",yS="_token_1gegs_57",xS="_tokenLabel_1gegs_67",bS="_tokenAmount_1gegs_75",jS="_tokenUsd_1gegs_81",SS="_arrow_1gegs_86",NS="_details_1gegs_93",wS="_row_1gegs_99",CS="_rowLabel_1gegs_105",ES="_rowValue_1gegs_110",TS="_impact_1gegs_116",RS="_confirmBtn_1gegs_120",Ie={overlay:hS,card:mS,header:pS,title:vS,closeBtn:gS,flow:_S,token:yS,tokenLabel:xS,tokenAmount:bS,tokenUsd:jS,arrow:SS,details:NS,row:wS,rowLabel:CS,rowValue:ES,impact:TS,confirmBtn:RS};function AS({data:s,onConfirm:c,onClose:i}){const{details:r,fees:d}=s,{currencyIn:f,currencyOut:v,totalImpact:_,rate:h}=r,m=parseFloat(_.percent),g=parseFloat(h).toFixed(4);return l.jsx("div",{className:Ie.overlay,onClick:i,children:l.jsxs("div",{className:Ie.card,onClick:y=>y.stopPropagation(),children:[l.jsxs("div",{className:Ie.header,children:[l.jsx("span",{className:Ie.title,children:"Подтвердить своп"}),l.jsx("button",{className:Ie.closeBtn,onClick:i,children:"×"})]}),l.jsxs("div",{className:Ie.flow,children:[l.jsxs("div",{className:Ie.token,children:[l.jsx("span",{className:Ie.tokenLabel,children:"Отдаёте"}),l.jsxs("span",{className:Ie.tokenAmount,children:[f.amountFormatted," ",f.currency.symbol]}),l.jsxs("span",{className:Ie.tokenUsd,children:["≈ $",f.amountUsd]})]}),l.jsx("div",{className:Ie.arrow,children:"↓"}),l.jsxs("div",{className:Ie.token,children:[l.jsx("span",{className:Ie.tokenLabel,children:"Получаете"}),l.jsxs("span",{className:Ie.tokenAmount,children:[v.amountFormatted," ",v.currency.symbol]}),l.jsxs("span",{className:Ie.tokenUsd,children:["≈ $",v.amountUsd]})]})]}),l.jsxs("div",{className:Ie.details,children:[l.jsxs("div",{className:Ie.row,children:[l.jsx("span",{className:Ie.rowLabel,children:"Курс"}),l.jsxs("span",{className:Ie.rowValue,children:["1 ",f.currency.symbol," = ",g," ",v.currency.symbol]})]}),l.jsxs("div",{className:Ie.row,children:[l.jsx("span",{className:Ie.rowLabel,children:"Комиссия сети"}),l.jsxs("span",{className:Ie.rowValue,children:["$",d.gas.amountUsd]})]}),l.jsxs("div",{className:Ie.row,children:[l.jsx("span",{className:Ie.rowLabel,children:"Влияние на цену"}),l.jsxs("span",{className:`${Ie.rowValue} ${m<0?Ie.impact:""}`,children:[_.percent,"%"]})]})]}),l.jsx("button",{className:Ie.confirmBtn,onClick:c,children:"Подтвердить"})]})})}const MS="_overlay_cse4p_1",OS="_card_cse4p_12",zS="_header_cse4p_24",DS="_title_cse4p_30",LS="_closeBtn_cse4p_36",BS="_flow_cse4p_51",kS="_token_cse4p_57",US="_tokenLabel_cse4p_67",HS="_tokenAmount_cse4p_75",$S="_minOut_cse4p_81",qS="_arrow_cse4p_86",GS="_details_cse4p_93",FS="_row_cse4p_99",VS="_rowLabel_cse4p_105",QS="_rowValue_cse4p_110",YS="_confirmBtn_cse4p_116",jt={overlay:MS,card:OS,header:zS,title:DS,closeBtn:LS,flow:BS,token:kS,tokenLabel:US,tokenAmount:HS,minOut:$S,arrow:qS,details:GS,row:FS,rowLabel:VS,rowValue:QS,confirmBtn:YS};function XS({quote:s,fromSymbol:c,toSymbol:i,amountHuman:r,onConfirm:d,onClose:f}){const{expectedOutFormatted:v,minOutFormatted:_,fees:h}=s;return l.jsx("div",{className:jt.overlay,onClick:f,children:l.jsxs("div",{className:jt.card,onClick:m=>m.stopPropagation(),children:[l.jsxs("div",{className:jt.header,children:[l.jsx("span",{className:jt.title,children:"Подтвердить своп"}),l.jsx("button",{className:jt.closeBtn,onClick:f,children:"×"})]}),l.jsxs("div",{className:jt.flow,children:[l.jsxs("div",{className:jt.token,children:[l.jsx("span",{className:jt.tokenLabel,children:"Отдаёте"}),l.jsxs("span",{className:jt.tokenAmount,children:[r," ",c]})]}),l.jsx("div",{className:jt.arrow,children:"↓"}),l.jsxs("div",{className:jt.token,children:[l.jsx("span",{className:jt.tokenLabel,children:"Получаете"}),l.jsxs("span",{className:jt.tokenAmount,children:[v," ",i]}),l.jsxs("span",{className:jt.minOut,children:["Минимум: ",_," ",i]})]})]}),l.jsx("div",{className:jt.details,children:l.jsxs("div",{className:jt.row,children:[l.jsx("span",{className:jt.rowLabel,children:"Комиссия сети"}),l.jsxs("span",{className:jt.rowValue,children:[h.network.amountFormatted," ",h.network.asset," (≈$",h.network.amountUsd,")"]})]})}),l.jsx("button",{className:jt.confirmBtn,onClick:d,children:"Подтвердить"})]})})}const ZS="_form_1fk2f_1",IS={form:ZS},KS={ETH:1,BSC:56,SOL:792703809},Pm={SOL:"11111111111111111111111111111111",DEFAULT:"0x0000000000000000000000000000000000000000"};function Wm(s){return Pm[s]??Pm.DEFAULT}function PS(){var ul,Le,xt,dl;const s=wn(),c=cl(),{fromAmount:i,fromUsd:r,fromToken:d,toToken:f,setFromAmount:v,setPercent:_,swapTokens:h,setFromToken:m,setToToken:g}=I3(),[y,b]=j.useState("ETH"),[N,S]=j.useState(null),[E,T]=j.useState(null),[O,H]=j.useState(null),z=y==="TRX",{data:G}=yo(y),Y=G?Z3(G):g9;j.useEffect(()=>{Y.length!==0&&(m(Ve=>Y.find(cn=>cn.symbol===Ve.symbol)??Y[0]),g(Ve=>Y.find(cn=>cn.symbol===Ve.symbol)??Y[1]??Y[0]))},[G,y]);const J=_o(i,500),{data:$}=Eo(),{data:Z}=u8(),ae=parseFloat(J),pe=KS[y],he=(ul=$==null?void 0:$.find(Ve=>Ve.chain===y))==null?void 0:ul.address,Ne=((Le=Z==null?void 0:Z.find(Ve=>Ve.chain===y&&Ve.symbol===d.symbol))==null?void 0:Le.contract)??Wm(y),re=((xt=Z==null?void 0:Z.find(Ve=>Ve.chain===y&&Ve.symbol===f.symbol))==null?void 0:xt.contract)??Wm(y),me=!z&&pe&&he&&ae>0?{user:he,recipient:he,originChainId:pe,destinationChainId:pe,originCurrency:Ne,destinationCurrency:re,amount:Math.round(ae*Math.pow(10,d.decimals)).toString(),tradeType:"EXACT_INPUT"}:null,{data:ue}=j3(me),{mutate:U,isPending:X}=v8(),{mutate:se,isPending:Te}=g8(),Re=z&&ae>0?{from:d.symbol,to:f.symbol,amountHuman:J}:null,{data:R}=_8(Re),{mutate:V,isPending:K}=y8(),{mutate:te,isPending:ge}=x8(),xe=Te||ge,De=z?(R==null?void 0:R.expectedOutFormatted)??"0":(ue==null?void 0:ue.details.currencyOut.amountFormatted)??"0",yt=z||ue==null?void 0:ue.details.currencyOut.amountUsd,Ke=z?(dl=R==null?void 0:R.fees.network.amountUsd)==null?void 0:dl.toString():ue==null?void 0:ue.fees.gas.amountUsd,Xn=z?ae<=0||K:!me||X;function ol(){if(z){if(!Re)return;V(Re,{onSuccess:Ve=>T(Ve)})}else{if(!me)return;U(me,{onSuccess:Ve=>S(Ve)})}}return l.jsxs("div",{className:IS.form,children:[l.jsx(bo,{mode:"from",token:d,tokenOptions:Y,amount:i,usd:r,onAmountChange:v,onSetPercent:_,onTokenChange:m,selectedNetwork:y,onNetworkChange:b}),l.jsx(iS,{onClick:h}),l.jsx(bo,{mode:"to",token:f,tokenOptions:Y,amount:De,usd:yt,onTokenChange:g}),l.jsx(fS,{gasFee:Ke}),l.jsx(Ul,{label:X||K?"Загрузка...":void 0,onClick:ol,disabled:Xn}),N&&l.jsx(AS,{data:N,onClose:()=>S(null),onConfirm:()=>{var cn,bi;const Ve=(bi=(cn=N.steps[0])==null?void 0:cn.items[0])==null?void 0:bi.data;Ve&&(H(null),se({chain:y,txData:Ve},{onSuccess:()=>{c.invalidateQueries({queryKey:["wallet","balance",y]}),c.invalidateQueries({queryKey:["wallet","portfolio"]}),s(de.WALLET)},onError:os=>{H(os instanceof Error?os.message:"Не удалось подписать транзакцию")}})),S(null)}}),E&&l.jsx(XS,{quote:E,fromSymbol:d.symbol,toSymbol:f.symbol,amountHuman:i,onClose:()=>T(null),onConfirm:()=>{H(null),te(E.quoteId,{onSuccess:()=>{c.invalidateQueries({queryKey:["wallet","balance","TRX"]}),c.invalidateQueries({queryKey:["wallet","portfolio"]}),s(de.WALLET)},onError:Ve=>{H(Ve instanceof Error?Ve.message:"Не удалось выполнить свап")}}),T(null)}}),xe&&l.jsx(as,{status:"warning",message:"Обработка транзакции...",onClose:()=>{}}),O&&l.jsx(as,{status:"error",message:O,onClose:()=>H(null)})]})}const WS="_tabs_1sxhr_1",JS="_tab_1sxhr_1",eN="_active_1sxhr_19",tN="_inactive_1sxhr_24",Va={tabs:WS,tab:JS,active:eN,inactive:tN};function K3({active:s}){const c=wn();return l.jsxs("div",{className:Va.tabs,children:[l.jsx("button",{className:`${Va.tab} ${s==="swap"?Va.active:Va.inactive}`,onClick:()=>c(de.SWAP),children:"СВОП"}),l.jsx("button",{className:`${Va.tab} ${s==="bridge"?Va.active:Va.inactive}`,onClick:()=>c(de.BRIDGE),children:"БРИДЖ"})]})}const nN="_content_1pe49_1",lN={content:nN};function aN(){return l.jsxs(l.Fragment,{children:[l.jsx(K3,{active:"swap"}),l.jsx("div",{className:lN.content,children:l.jsx(PS,{})})]})}function Jm(s,c){const[i,r=""]=s.split("."),d=r.slice(0,c).padEnd(c,"0");return`${i}${d}`.replace(/^0+(?=\d)/,"")||"0"}function $2(s,c){const i=s.padStart(c+1,"0"),r=i.slice(0,i.length-c),d=i.slice(i.length-c).replace(/0+$/,"");return d?`${r}.${d}`:r}const sN="_wrap_njjv3_1",iN="_label_njjv3_9",cN="_select_njjv3_18",s2={wrap:sN,label:iN,select:cN};function ep({label:s,value:c,onChange:i,options:r}){return l.jsxs("div",{className:s2.wrap,children:[l.jsx("span",{className:s2.label,children:s}),l.jsx("select",{className:s2.select,value:c,onChange:d=>i(d.target.value),children:r.map(d=>l.jsx("option",{value:d,children:d},d))})]})}const rN="_overlay_ckdzr_1",oN="_card_ckdzr_12",uN="_header_ckdzr_24",dN="_title_ckdzr_30",fN="_closeBtn_ckdzr_36",hN="_flow_ckdzr_51",mN="_token_ckdzr_57",pN="_tokenLabel_ckdzr_67",vN="_tokenAmount_ckdzr_75",gN="_minOut_ckdzr_81",_N="_arrow_ckdzr_86",yN="_details_ckdzr_93",xN="_row_ckdzr_99",bN="_rowLabel_ckdzr_105",jN="_rowValue_ckdzr_110",SN="_confirmBtn_ckdzr_116",ct={overlay:rN,card:oN,header:uN,title:dN,closeBtn:fN,flow:hN,token:mN,tokenLabel:pN,tokenAmount:vN,minOut:gN,arrow:_N,details:yN,row:xN,rowLabel:bN,rowValue:jN,confirmBtn:SN};function NN({quote:s,fromAmountHuman:c,isExecuting:i,onConfirm:r,onClose:d}){const{action:f,estimate:v,toolDetails:_}=s,h=f.toToken.symbol,m=f.fromToken.symbol,g=is($2(v.toAmount,f.toToken.decimals),8),y=is($2(v.toAmountMin,f.toToken.decimals),8),b=(v.feeCosts??[]).reduce((N,S)=>N+(parseFloat(S.amountUSD)||0),0).toFixed(2);return l.jsx("div",{className:ct.overlay,onClick:d,children:l.jsxs("div",{className:ct.card,onClick:N=>N.stopPropagation(),children:[l.jsxs("div",{className:ct.header,children:[l.jsx("span",{className:ct.title,children:"Подтвердить бридж"}),l.jsx("button",{className:ct.closeBtn,onClick:d,children:"×"})]}),l.jsxs("div",{className:ct.flow,children:[l.jsxs("div",{className:ct.token,children:[l.jsx("span",{className:ct.tokenLabel,children:"Отдаёте"}),l.jsxs("span",{className:ct.tokenAmount,children:[c," ",m]})]}),l.jsx("div",{className:ct.arrow,children:"↓"}),l.jsxs("div",{className:ct.token,children:[l.jsx("span",{className:ct.tokenLabel,children:"Получаете"}),l.jsxs("span",{className:ct.tokenAmount,children:[g," ",h]}),l.jsxs("span",{className:ct.minOut,children:["Минимум: ",y," ",h]})]})]}),l.jsxs("div",{className:ct.details,children:[l.jsxs("div",{className:ct.row,children:[l.jsx("span",{className:ct.rowLabel,children:"Комиссия"}),l.jsxs("span",{className:ct.rowValue,children:["≈$",b]})]}),l.jsxs("div",{className:ct.row,children:[l.jsx("span",{className:ct.rowLabel,children:"Мост"}),l.jsx("span",{className:ct.rowValue,children:_.name})]})]}),l.jsx("button",{className:ct.confirmBtn,onClick:r,disabled:i,children:i?"Обработка...":"Подтвердить бридж"})]})})}const wN="_form_htwuf_1",tp={form:wN},i2=["ETH","BSC","SOL","TRX","BTC"],Ps={ETH:"1",BSC:"56",SOL:"1151111081099710",TRX:"728126428",BTC:"20000000000001"},CN=Object.fromEntries(Object.entries(Ps).map(([s,c])=>[c,s])),np={ETH:1,BSC:56,SOL:792703809,TRX:728126428,BTC:8253038};function EN(s){const c=H2[s.symbol];return{symbol:s.symbol,letter:(c==null?void 0:c.letter)??s.symbol[0],color:(c==null?void 0:c.color)??"#888",logo:s.logoURI??(c==null?void 0:c.logo),network:CN[String(s.chainId)]??s.symbol,balance:0,usdRate:parseFloat(s.priceUSD)||0,decimals:s.decimals}}function TN(s){const c={};for(const i of Z3(s))c[i.symbol]=i.balance;return c}function RN(){var Ke,Xn,ol,ul;const s=wn(),c=cl(),{fromAmount:i,fromUsd:r,fromToken:d,toToken:f,setFromAmount:v,setPercent:_,setFromToken:h,setToToken:m}=I3(),[g,y]=j.useState("ETH"),[b,N]=j.useState("BSC"),[S,E]=j.useState(null),[T,O]=j.useState(null),{data:H}=d8(),{data:z}=yo(g),{data:G}=yo(b),{data:Y}=Eo(),{mutate:J,isPending:$}=f8(),{mutate:Z,isPending:ae}=h8();function pe(Le,xt){const dl=((H==null?void 0:H[Ps[Le]])??[]).map(EN);if(!xt)return dl;const Ve=TN(xt);return dl.map(cn=>Ve[cn.symbol]!=null?{...cn,balance:Ve[cn.symbol]}:cn)}const he=pe(g,z),Ne=pe(b,G);j.useEffect(()=>{he.length!==0&&h(Le=>he.find(xt=>xt.symbol===Le.symbol)??he[0])},[H,z,g]),j.useEffect(()=>{Ne.length!==0&&m(Le=>Ne.find(xt=>xt.symbol===Le.symbol)??Ne[0])},[H,G,b]);const re=parseFloat(i),me=(Ke=H==null?void 0:H[Ps[g]])==null?void 0:Ke.find(Le=>Le.symbol===d.symbol),ue=(Xn=H==null?void 0:H[Ps[b]])==null?void 0:Xn.find(Le=>Le.symbol===f.symbol),U=(ol=Y==null?void 0:Y.find(Le=>Le.chain===g))==null?void 0:ol.address,X=(ul=Y==null?void 0:Y.find(Le=>Le.chain===b))==null?void 0:ul.address,se=me&&ue&&U&&X&&re>0?{fromChain:Ps[g],toChain:Ps[b],fromToken:me.address,toToken:ue.address,fromAmount:Jm(i,d.decimals),fromAddress:U,toAddress:X,slippage:.005}:null,Te=_o(i,500),Re=parseFloat(Te),R=np[g],V=np[b],K=me&&ue&&U&&X&&R&&V&&Re>0?{user:U,recipient:X,originChainId:R,destinationChainId:V,originCurrency:me.address,destinationCurrency:ue.address,amount:Jm(Te,d.decimals),tradeType:"EXACT_INPUT"}:null,{data:te}=j3(K),ge=te?te.details.currencyOut.amountFormatted:S?is($2(S.estimate.toAmount,S.action.toToken.decimals),8):"0";function xe(Le){y(Le),Le===b&&N(i2.find(xt=>xt!==Le)??b)}function De(){se&&(O(null),J(se,{onSuccess:Le=>E(Le),onError:Le=>O(Le instanceof Error?Le.message:"Не удалось получить котировку")}))}function yt(){S&&(O(null),Z({provider:"jumper",fromChain:S.action.fromChainId,toChain:S.action.toChainId,fromToken:S.action.fromToken.address,toToken:S.action.toToken.address,fromAmount:S.action.fromAmount,fromAddress:S.action.fromAddress,toAddress:S.action.toAddress,acceptedMinOut:S.estimate.toAmountMin},{onSuccess:()=>{c.invalidateQueries({queryKey:["wallet","balance",g]}),c.invalidateQueries({queryKey:["wallet","balance",b]}),c.invalidateQueries({queryKey:["wallet","portfolio"]}),E(null),s(de.WALLET)},onError:Le=>O(Le instanceof Error?Le.message:"Не удалось выполнить бридж")}))}return H?l.jsxs("div",{className:tp.form,children:[l.jsx(ep,{label:"ИЗ",value:g,onChange:xe,options:i2}),l.jsx(bo,{mode:"from",token:d,tokenOptions:he,amount:i,usd:r,onAmountChange:v,onSetPercent:_,onTokenChange:h,hideNetworkSelect:!0}),l.jsx(ep,{label:"В",value:b,onChange:N,options:i2.filter(Le=>Le!==g)}),l.jsx(bo,{mode:"to",token:f,tokenOptions:Ne,amount:ge,onTokenChange:m,hideNetworkSelect:!0}),l.jsx(Ul,{label:$?"Загрузка...":"Подтвердить бридж",onClick:De,disabled:!se||$}),S&&l.jsx(NN,{quote:S,fromAmountHuman:i,isExecuting:ae,onConfirm:yt,onClose:()=>E(null)}),T&&l.jsx(as,{status:"error",message:T,onClose:()=>O(null)})]}):l.jsx("div",{className:tp.form})}const AN="_content_1pe49_1",MN={content:AN};function ON(){return l.jsxs(l.Fragment,{children:[l.jsx(K3,{active:"bridge"}),l.jsx("div",{className:MN.content,children:l.jsx(RN,{})})]})}var q2=function(s,c){return q2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var d in r)Object.prototype.hasOwnProperty.call(r,d)&&(i[d]=r[d])},q2(s,c)};function zN(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");q2(s,c);function i(){this.constructor=s}s.prototype=c===null?Object.create(c):(i.prototype=c.prototype,new i)}var Rt=function(){return Rt=Object.assign||function(c){for(var i,r=1,d=arguments.length;r<d;r++){i=arguments[r];for(var f in i)Object.prototype.hasOwnProperty.call(i,f)&&(c[f]=i[f])}return c},Rt.apply(this,arguments)};var c2,lp;function DN(){if(lp)return c2;lp=1;var s=!1,c,i,r,d,f,v,_,h,m,g,y,b,N,S,E;function T(){if(!s){s=!0;var H=navigator.userAgent,z=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(H),G=/(Mac OS X)|(Windows)|(Linux)/.exec(H);if(b=/\b(iPhone|iP[ao]d)/.exec(H),N=/\b(iP[ao]d)/.exec(H),g=/Android/i.exec(H),S=/FBAN\/\w+;/i.exec(H),E=/Mobile/i.exec(H),y=!!/Win64/.exec(H),z){c=z[1]?parseFloat(z[1]):z[5]?parseFloat(z[5]):NaN,c&&document&&document.documentMode&&(c=document.documentMode);var Y=/(?:Trident\/(\d+.\d+))/.exec(H);v=Y?parseFloat(Y[1])+4:c,i=z[2]?parseFloat(z[2]):NaN,r=z[3]?parseFloat(z[3]):NaN,d=z[4]?parseFloat(z[4]):NaN,d?(z=/(?:Chrome\/(\d+\.\d+))/.exec(H),f=z&&z[1]?parseFloat(z[1]):NaN):f=NaN}else c=i=r=f=d=NaN;if(G){if(G[1]){var J=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(H);_=J?parseFloat(J[1].replace("_",".")):!0}else _=!1;h=!!G[2],m=!!G[3]}else _=h=m=!1}}var O={ie:function(){return T()||c},ieCompatibilityMode:function(){return T()||v>c},ie64:function(){return O.ie()&&y},firefox:function(){return T()||i},opera:function(){return T()||r},webkit:function(){return T()||d},safari:function(){return O.webkit()},chrome:function(){return T()||f},windows:function(){return T()||h},osx:function(){return T()||_},linux:function(){return T()||m},iphone:function(){return T()||b},mobile:function(){return T()||b||N||g||E},nativeApp:function(){return T()||S},android:function(){return T()||g},ipad:function(){return T()||N}};return c2=O,c2}var r2,ap;function LN(){if(ap)return r2;ap=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 r2=c,r2}var o2,sp;function BN(){if(sp)return o2;sp=1;var s=LN(),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(r,d){if(!s.canUseDOM||d&&!("addEventListener"in document))return!1;var f="on"+r,v=f in document;if(!v){var _=document.createElement("div");_.setAttribute(f,"return;"),v=typeof _[f]=="function"}return!v&&c&&r==="wheel"&&(v=document.implementation.hasFeature("Events.wheel","3.0")),v}return o2=i,o2}var u2,ip;function kN(){if(ip)return u2;ip=1;var s=DN(),c=BN(),i=10,r=40,d=800;function f(v){var _=0,h=0,m=0,g=0;return"detail"in v&&(h=v.detail),"wheelDelta"in v&&(h=-v.wheelDelta/120),"wheelDeltaY"in v&&(h=-v.wheelDeltaY/120),"wheelDeltaX"in v&&(_=-v.wheelDeltaX/120),"axis"in v&&v.axis===v.HORIZONTAL_AXIS&&(_=h,h=0),m=_*i,g=h*i,"deltaY"in v&&(g=v.deltaY),"deltaX"in v&&(m=v.deltaX),(m||g)&&v.deltaMode&&(v.deltaMode==1?(m*=r,g*=r):(m*=d,g*=d)),m&&!_&&(_=m<1?-1:1),g&&!h&&(h=g<1?-1:1),{spinX:_,spinY:h,pixelX:m,pixelY:g}}return f.getEventType=function(){return s.firefox()?"DOMMouseScroll":c("wheel")?"wheel":"mousewheel"},u2=f,u2}var d2,cp;function UN(){return cp||(cp=1,d2=kN()),d2}var HN=UN();const $N=Op(HN);function qN(s,c,i,r,d,f){f===void 0&&(f=0);var v=fi(s,c,f),_=v.width,h=v.height,m=Math.min(_,i),g=Math.min(h,r);return m>g*d?{width:g*d,height:g}:{width:m,height:m/d}}function GN(s){return s.width>s.height?s.width/s.naturalWidth:s.height/s.naturalHeight}function bc(s,c,i,r,d){d===void 0&&(d=0);var f=fi(c.width,c.height,d),v=f.width,_=f.height;return{x:rp(s.x,v,i.width,r),y:rp(s.y,_,i.height,r)}}function rp(s,c,i,r){var d=Math.abs(c*r/2-i/2);return Ao(s,-d,d)}function op(s,c){return Math.sqrt(Math.pow(s.y-c.y,2)+Math.pow(s.x-c.x,2))}function up(s,c){return Math.atan2(c.y-s.y,c.x-s.x)*180/Math.PI}function FN(s,c,i,r,d,f,v){f===void 0&&(f=0),v===void 0&&(v=!0);var _=v?VN:QN,h=fi(c.width,c.height,f),m=fi(c.naturalWidth,c.naturalHeight,f),g={x:_(100,((h.width-i.width/d)/2-s.x/d)/h.width*100),y:_(100,((h.height-i.height/d)/2-s.y/d)/h.height*100),width:_(100,i.width/h.width*100/d),height:_(100,i.height/h.height*100/d)},y=Math.round(_(m.width,g.width*m.width/100)),b=Math.round(_(m.height,g.height*m.height/100)),N=m.width>=m.height*r,S=N?{width:Math.round(b*r),height:b}:{width:y,height:Math.round(y/r)},E=Rt(Rt({},S),{x:Math.round(_(m.width-S.width,g.x*m.width/100)),y:Math.round(_(m.height-S.height,g.y*m.height/100))});return{croppedAreaPercentages:g,croppedAreaPixels:E}}function VN(s,c){return Math.min(s,Math.max(0,c))}function QN(s,c){return c}function YN(s,c,i,r,d,f){var v=fi(c.width,c.height,i),_=Ao(r.width/v.width*(100/s.width),d,f),h={x:_*v.width/2-r.width/2-v.width*_*(s.x/100),y:_*v.height/2-r.height/2-v.height*_*(s.y/100)};return{crop:h,zoom:_}}function XN(s,c,i){var r=GN(c);return i.height>i.width?i.height/(s.height*r):i.width/(s.width*r)}function ZN(s,c,i,r,d,f){i===void 0&&(i=0);var v=fi(c.naturalWidth,c.naturalHeight,i),_=Ao(XN(s,c,r),d,f),h=r.height>r.width?r.height/s.height:r.width/s.width,m={x:((v.width-s.width)/2-s.x)*h,y:((v.height-s.height)/2-s.y)*h};return{crop:m,zoom:_}}function dp(s,c){return{x:(c.x+s.x)/2,y:(c.y+s.y)/2}}function IN(s){return s*Math.PI/180}function fi(s,c,i){var r=IN(i);return{width:Math.abs(Math.cos(r)*s)+Math.abs(Math.sin(r)*c),height:Math.abs(Math.sin(r)*s)+Math.abs(Math.cos(r)*c)}}function Ao(s,c,i){return Math.min(Math.max(s,c),i)}function ao(){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 KN=`.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;
|
||
}
|
||
`,PN=1,WN=3,JN=1,ew=(function(s){zN(c,s);function c(){var i=s!==null&&s.apply(this,arguments)||this;return i.cropperRef=j.createRef(),i.imageRef=j.createRef(),i.videoRef=j.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 r=!0;i.resizeObserver=new window.ResizeObserver(function(d){if(r){r=!1;return}i.computeSizes()}),i.resizeObserver.observe(i.containerRef)}},i.preventZoomSafari=function(r){return r.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 r=i.computeSizes();r&&(i.previousCropSize=r,i.emitCropData(),i.setInitialCrop(r),i.isInitialized=!0),i.props.onMediaLoaded&&i.props.onMediaLoaded(i.mediaSize)},i.setInitialCrop=function(r){if(i.props.initialCroppedAreaPercentages){var d=YN(i.props.initialCroppedAreaPercentages,i.mediaSize,i.props.rotation,r,i.props.minZoom,i.props.maxZoom),f=d.crop,v=d.zoom;i.props.onCropChange(f),i.props.onZoomChange&&i.props.onZoomChange(v)}else if(i.props.initialCroppedAreaPixels){var _=ZN(i.props.initialCroppedAreaPixels,i.mediaSize,i.props.rotation,r,i.props.minZoom,i.props.maxZoom),f=_.crop,v=_.zoom;i.props.onCropChange(f),i.props.onZoomChange&&i.props.onZoomChange(v)}},i.computeSizes=function(){var r,d,f,v,_,h,m=i.imageRef.current||i.videoRef.current;if(m&&i.containerRef){i.containerRect=i.containerRef.getBoundingClientRect(),i.saveContainerPosition();var g=i.containerRect.width/i.containerRect.height,y=((r=i.imageRef.current)===null||r===void 0?void 0:r.naturalWidth)||((d=i.videoRef.current)===null||d===void 0?void 0:d.videoWidth)||0,b=((f=i.imageRef.current)===null||f===void 0?void 0:f.naturalHeight)||((v=i.videoRef.current)===null||v===void 0?void 0:v.videoHeight)||0,N=m.offsetWidth<y||m.offsetHeight<b,S=y/b,E=void 0;if(N)switch(i.state.mediaObjectFit){default:case"contain":E=g>S?{width:i.containerRect.height*S,height:i.containerRect.height}:{width:i.containerRect.width,height:i.containerRect.width/S};break;case"horizontal-cover":E={width:i.containerRect.width,height:i.containerRect.width/S};break;case"vertical-cover":E={width:i.containerRect.height*S,height:i.containerRect.height};break}else E={width:m.offsetWidth,height:m.offsetHeight};i.mediaSize=Rt(Rt({},E),{naturalWidth:y,naturalHeight:b}),i.props.setMediaSize&&i.props.setMediaSize(i.mediaSize);var T=i.props.cropSize?i.props.cropSize:qN(i.mediaSize.width,i.mediaSize.height,i.containerRect.width,i.containerRect.height,i.props.aspect,i.props.rotation);return(((_=i.state.cropSize)===null||_===void 0?void 0:_.height)!==T.height||((h=i.state.cropSize)===null||h===void 0?void 0:h.width)!==T.width)&&i.props.onCropSizeChange&&i.props.onCropSizeChange(T),i.setState({cropSize:T},i.recomputeCropPosition),i.props.setCropSize&&i.props.setCropSize(T),T}},i.saveContainerPosition=function(){if(i.containerRef){var r=i.containerRef.getBoundingClientRect();i.containerPosition={x:r.left,y:r.top}}},i.onMouseDown=function(r){i.currentDoc&&(r.preventDefault(),i.currentDoc.addEventListener("mousemove",i.onMouseMove),i.currentDoc.addEventListener("mouseup",i.onDragStopped),i.saveContainerPosition(),i.onDragStart(c.getMousePoint(r)))},i.onMouseMove=function(r){return i.onDrag(c.getMousePoint(r))},i.onScroll=function(r){i.currentDoc&&(r.preventDefault(),i.saveContainerPosition())},i.onTouchStart=function(r){i.currentDoc&&(i.isTouching=!0,!(i.props.onTouchRequest&&!i.props.onTouchRequest(r))&&(i.currentDoc.addEventListener("touchmove",i.onTouchMove,{passive:!1}),i.currentDoc.addEventListener("touchend",i.onDragStopped),i.saveContainerPosition(),r.touches.length===2?i.onPinchStart(r):r.touches.length===1&&i.onDragStart(c.getTouchPoint(r.touches[0]))))},i.onTouchMove=function(r){r.preventDefault(),r.touches.length===2?i.onPinchMove(r):r.touches.length===1&&i.onDrag(c.getTouchPoint(r.touches[0]))},i.onGestureStart=function(r){i.currentDoc&&(r.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(r){if(r.preventDefault(),!i.isTouching){var d=c.getMousePoint(r),f=i.gestureZoomStart-1+r.scale;if(i.setNewZoom(f,d,{shouldUpdatePosition:!0}),i.props.onRotationChange){var v=i.gestureRotationStart+r.rotation;i.props.onRotationChange(v)}}},i.onGestureEnd=function(r){i.cleanEvents()},i.onDragStart=function(r){var d,f,v=r.x,_=r.y;i.dragStartPosition={x:v,y:_},i.dragStartCrop=Rt({},i.props.crop),(f=(d=i.props).onInteractionStart)===null||f===void 0||f.call(d)},i.onDrag=function(r){var d=r.x,f=r.y;i.currentWindow&&(i.rafDragTimeout&&i.currentWindow.cancelAnimationFrame(i.rafDragTimeout),i.rafDragTimeout=i.currentWindow.requestAnimationFrame(function(){if(i.state.cropSize&&!(d===void 0||f===void 0)){var v=d-i.dragStartPosition.x,_=f-i.dragStartPosition.y,h={x:i.dragStartCrop.x+v,y:i.dragStartCrop.y+_},m=i.props.restrictPosition?bc(h,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):h;i.props.onCropChange(m)}}))},i.onDragStopped=function(){var r,d;i.isTouching=!1,i.cleanEvents(),i.emitCropData(),(d=(r=i.props).onInteractionEnd)===null||d===void 0||d.call(r)},i.onWheel=function(r){if(i.currentWindow&&!(i.props.onWheelRequest&&!i.props.onWheelRequest(r))){r.preventDefault();var d=c.getMousePoint(r),f=$N(r).pixelY,v=i.props.zoom-f*i.props.zoomSpeed/200;i.setNewZoom(v,d,{shouldUpdatePosition:!0}),i.state.hasWheelJustStarted||i.setState({hasWheelJustStarted:!0},function(){var _,h;return(h=(_=i.props).onInteractionStart)===null||h===void 0?void 0:h.call(_)}),i.wheelTimer&&clearTimeout(i.wheelTimer),i.wheelTimer=i.currentWindow.setTimeout(function(){return i.setState({hasWheelJustStarted:!1},function(){var _,h;return(h=(_=i.props).onInteractionEnd)===null||h===void 0?void 0:h.call(_)})},250)}},i.getPointOnContainer=function(r,d){var f=r.x,v=r.y;if(!i.containerRect)throw new Error("The Cropper is not mounted");return{x:i.containerRect.width/2-(f-d.x),y:i.containerRect.height/2-(v-d.y)}},i.getPointOnMedia=function(r){var d=r.x,f=r.y,v=i.props,_=v.crop,h=v.zoom;return{x:(d+_.x)/h,y:(f+_.y)/h}},i.setNewZoom=function(r,d,f){var v=f===void 0?{}:f,_=v.shouldUpdatePosition,h=_===void 0?!0:_;if(!(!i.state.cropSize||!i.props.onZoomChange)){var m=Ao(r,i.props.minZoom,i.props.maxZoom);if(h){var g=i.getPointOnContainer(d,i.containerPosition),y=i.getPointOnMedia(g),b={x:y.x*m-g.x,y:y.y*m-g.y},N=i.props.restrictPosition?bc(b,i.mediaSize,i.state.cropSize,m,i.props.rotation):b;i.props.onCropChange(N)}i.props.onZoomChange(m)}},i.getCropData=function(){if(!i.state.cropSize)return null;var r=i.props.restrictPosition?bc(i.props.crop,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):i.props.crop;return FN(r,i.mediaSize,i.state.cropSize,i.getAspect(),i.props.zoom,i.props.rotation,i.props.restrictPosition)},i.emitCropData=function(){var r=i.getCropData();if(r){var d=r.croppedAreaPercentages,f=r.croppedAreaPixels;i.props.onCropComplete&&i.props.onCropComplete(d,f),i.props.onCropAreaChange&&i.props.onCropAreaChange(d,f)}},i.emitCropAreaChange=function(){var r=i.getCropData();if(r){var d=r.croppedAreaPercentages,f=r.croppedAreaPixels;i.props.onCropAreaChange&&i.props.onCropAreaChange(d,f)}},i.recomputeCropPosition=function(){var r,d;if(i.state.cropSize){var f=i.props.crop;if(i.isInitialized&&(!((r=i.previousCropSize)===null||r===void 0)&&r.width)&&(!((d=i.previousCropSize)===null||d===void 0)&&d.height)){var v=Math.abs(i.previousCropSize.width-i.state.cropSize.width)>1e-6||Math.abs(i.previousCropSize.height-i.state.cropSize.height)>1e-6;if(v){var _=i.state.cropSize.width/i.previousCropSize.width,h=i.state.cropSize.height/i.previousCropSize.height;f={x:i.props.crop.x*_,y:i.props.crop.y*h}}}var m=i.props.restrictPosition?bc(f,i.mediaSize,i.state.cropSize,i.props.zoom,i.props.rotation):f;i.previousCropSize=i.state.cropSize,i.props.onCropChange(m),i.emitCropData()}},i.onKeyDown=function(r){var d,f,v=i.props,_=v.crop,h=v.onCropChange,m=v.keyboardStep,g=v.zoom,y=v.rotation,b=m;if(i.state.cropSize){r.shiftKey&&(b*=.2);var N=Rt({},_);switch(r.key){case"ArrowUp":N.y-=b,r.preventDefault();break;case"ArrowDown":N.y+=b,r.preventDefault();break;case"ArrowLeft":N.x-=b,r.preventDefault();break;case"ArrowRight":N.x+=b,r.preventDefault();break;default:return}i.props.restrictPosition&&(N=bc(N,i.mediaSize,i.state.cropSize,g,y)),r.repeat||(f=(d=i.props).onInteractionStart)===null||f===void 0||f.call(d),h(N)}},i.onKeyUp=function(r){var d,f;switch(r.key){case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":r.preventDefault();break;default:return}i.emitCropData(),(f=(d=i.props).onInteractionEnd)===null||f===void 0||f.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=KN,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,r;!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&&((r=this.styleRef.parentNode)===null||r===void 0||r.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},c.prototype.componentDidUpdate=function(i){var r,d,f,v,_,h,m,g,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():((r=i.cropSize)===null||r===void 0?void 0:r.height)!==((d=this.props.cropSize)===null||d===void 0?void 0:d.height)||((f=i.cropSize)===null||f===void 0?void 0:f.width)!==((v=this.props.cropSize)===null||v===void 0?void 0:v.width)?this.computeSizes():(((_=i.crop)===null||_===void 0?void 0:_.x)!==((h=this.props.crop)===null||h===void 0?void 0:h.x)||((m=i.crop)===null||m===void 0?void 0:m.y)!==((g=this.props.crop)===null||g===void 0?void 0:g.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 b=this.getObjectFit();b!==this.state.mediaObjectFit&&this.setState({mediaObjectFit:b},this.computeSizes)},c.prototype.getAspect=function(){var i=this.props,r=i.cropSize,d=i.aspect;return r?r.width/r.height:d},c.prototype.getObjectFit=function(){var i,r,d,f;if(this.props.objectFit==="cover"){var v=this.imageRef.current||this.videoRef.current;if(v&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var _=this.containerRect.width/this.containerRect.height,h=((i=this.imageRef.current)===null||i===void 0?void 0:i.naturalWidth)||((r=this.videoRef.current)===null||r===void 0?void 0:r.videoWidth)||0,m=((d=this.imageRef.current)===null||d===void 0?void 0:d.naturalHeight)||((f=this.videoRef.current)===null||f===void 0?void 0:f.videoHeight)||0,g=h/m;return g<_?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},c.prototype.onPinchStart=function(i){var r=c.getTouchPoint(i.touches[0]),d=c.getTouchPoint(i.touches[1]);this.lastPinchDistance=op(r,d),this.lastPinchRotation=up(r,d),this.onDragStart(dp(r,d))},c.prototype.onPinchMove=function(i){var r=this;if(!(!this.currentDoc||!this.currentWindow)){var d=c.getTouchPoint(i.touches[0]),f=c.getTouchPoint(i.touches[1]),v=dp(d,f);this.onDrag(v),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var _=op(d,f),h=r.props.zoom*(_/r.lastPinchDistance);r.setNewZoom(h,v,{shouldUpdatePosition:!1}),r.lastPinchDistance=_;var m=up(d,f),g=r.props.rotation+(m-r.lastPinchRotation);r.props.onRotationChange&&r.props.onRotationChange(g),r.lastPinchRotation=m})}},c.prototype.render=function(){var i=this,r,d=this.props,f=d.image,v=d.video,_=d.mediaProps,h=d.cropperProps,m=d.transform,g=d.crop,y=g.x,b=g.y,N=d.rotation,S=d.zoom,E=d.cropShape,T=d.showGrid,O=d.roundCropAreaPixels,H=d.style,z=H.containerStyle,G=H.cropAreaStyle,Y=H.mediaStyle,J=d.classes,$=J.containerClassName,Z=J.cropAreaClassName,ae=J.mediaClassName,pe=(r=this.state.mediaObjectFit)!==null&&r!==void 0?r:this.getObjectFit();return j.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(Ne){return i.containerRef=Ne},"data-testid":"container",style:z,className:ao("reactEasyCrop_Container",$)},f?j.createElement("img",Rt({alt:"",className:ao("reactEasyCrop_Image",pe==="contain"&&"reactEasyCrop_Contain",pe==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",pe==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",ae)},_,{src:f,ref:this.imageRef,style:Rt(Rt({},Y),{transform:m||"translate(".concat(y,"px, ").concat(b,"px) rotate(").concat(N,"deg) scale(").concat(S,")")}),onLoad:this.onMediaLoad})):v&&j.createElement("video",Rt({autoPlay:!0,playsInline:!0,loop:!0,muted:!0,className:ao("reactEasyCrop_Video",pe==="contain"&&"reactEasyCrop_Contain",pe==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",pe==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",ae)},_,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:Rt(Rt({},Y),{transform:m||"translate(".concat(y,"px, ").concat(b,"px) rotate(").concat(N,"deg) scale(").concat(S,")")}),controls:!1}),(Array.isArray(v)?v:[{src:v}]).map(function(he){return j.createElement("source",Rt({key:he.src},he))})),this.state.cropSize&&j.createElement("div",Rt({ref:this.cropperRef,style:Rt(Rt({},G),{width:O?Math.round(this.state.cropSize.width):this.state.cropSize.width,height:O?Math.round(this.state.cropSize.height):this.state.cropSize.height}),tabIndex:0,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,"data-testid":"cropper",className:ao("reactEasyCrop_CropArea",E==="round"&&"reactEasyCrop_CropAreaRound",T&&"reactEasyCrop_CropAreaGrid",Z)},h)))},c.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:WN,minZoom:PN,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},cropperProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0,keyboardStep:JN},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})(j.Component);function tw(s){return new Promise((c,i)=>{const r=new Image;r.onload=()=>c(r),r.onerror=()=>i(new Error("Не удалось загрузить изображение")),r.src=s})}async function nw(s,c,i=512){const r=await tw(s),d=document.createElement("canvas");d.width=i,d.height=i;const f=d.getContext("2d");if(!f)throw new Error("Canvas 2D context недоступен");return f.drawImage(r,c.x,c.y,c.width,c.height,0,0,i,i),new Promise((v,_)=>{d.toBlob(h=>{h?v(h):_(new Error("Пустой Blob после обрезки"))},"image/jpeg",.9)})}const lw="_backdrop_1cfz6_1",aw="_card_1cfz6_12",sw="_title_1cfz6_25",iw="_cropArea_1cfz6_31",cw="_controls_1cfz6_40",rw="_zoom_1cfz6_52",ow="_actions_1cfz6_57",uw="_error_1cfz6_63",ua={backdrop:lw,card:aw,title:sw,cropArea:iw,controls:cw,zoom:rw,actions:ow,error:uw};function dw({imageSrc:s,isSaving:c,onCancel:i,onConfirm:r}){const[d,f]=j.useState({x:0,y:0}),[v,_]=j.useState(1),[h,m]=j.useState(null),[g,y]=j.useState(null),b=j.useCallback((S,E)=>{m(E)},[]);j.useEffect(()=>{const S=E=>{E.key==="Escape"&&!c&&i()};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[i,c]);const N=async()=>{if(h){y(null);try{const S=await nw(s,h);await r(S)}catch{y("Не удалось обрезать изображение")}}};return l.jsx("div",{className:ua.backdrop,onClick:c?void 0:i,children:l.jsxs("div",{className:ua.card,onClick:S=>S.stopPropagation(),children:[l.jsx("h3",{className:ua.title,children:"Выберите область аватара"}),l.jsx("div",{className:ua.cropArea,children:l.jsx(ew,{image:s,crop:d,zoom:v,aspect:1,cropShape:"round",showGrid:!1,onCropChange:f,onZoomChange:_,onCropComplete:b})}),l.jsxs("div",{className:ua.controls,children:[l.jsx("label",{htmlFor:"avatar-zoom",children:"Масштаб"}),l.jsx("input",{id:"avatar-zoom",className:ua.zoom,type:"range",min:1,max:3,step:.01,value:v,onChange:S=>_(Number(S.target.value))})]}),g&&l.jsx("span",{className:ua.error,children:g}),l.jsxs("div",{className:ua.actions,children:[l.jsx(jn,{variant:"ghost",onClick:i,disabled:c,children:"Отмена"}),l.jsx(jn,{variant:"primary",onClick:N,disabled:c||!h,children:c?"Загрузка...":"Сохранить"})]})]})})}const fw="_col_1gh35_1",hw="_avatar_1gh35_10",mw="_avatarImg_1gh35_30",pw="_error_1gh35_37",vw="_overlay_1gh35_43",gw="_addPhoto_1gh35_68",Zs={col:fw,avatar:hw,avatarImg:mw,error:pw,overlay:vw,addPhoto:gw};function _w(s){return new Promise((c,i)=>{const r=new FileReader;r.onload=()=>{const d=r.result,f=d.indexOf(",");c(f>=0?d.slice(f+1):d)},r.onerror=()=>i(r.error),r.readAsDataURL(s)})}function yw(){const{data:s}=xi(),{mutateAsync:c,isPending:i}=Fb(),r=j.useRef(null),[d,f]=j.useState(null),[v,_]=j.useState(!1),[h,m]=j.useState(null),g=(s==null?void 0:s.avatar_link)??null,y=g&&!v;j.useEffect(()=>{_(!1)},[g]),j.useEffect(()=>()=>{h&&URL.revokeObjectURL(h)},[h]);const b=()=>{var T;i||(T=r.current)==null||T.click()},N=T=>{var H;const O=(H=T.target.files)==null?void 0:H[0];T.target.value="",O&&(f(null),m(URL.createObjectURL(O)))},S=()=>{h&&URL.revokeObjectURL(h),m(null)},E=async T=>{try{const O=await _w(T);await c({photo_base64:O,decoded_bytes:String(T.size)}),S()}catch{f("Не удалось загрузить фото"),S()}};return l.jsxs("div",{className:Zs.col,children:[l.jsxs("div",{className:Zs.avatar,onClick:b,children:[y?l.jsx("img",{src:g,alt:"avatar",className:Zs.avatarImg,referrerPolicy:"no-referrer",onError:()=>{console.warn("[avatar] failed to load",g),_(!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:Zs.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:r,type:"file",accept:"image/*",onChange:N,hidden:!0}),l.jsx("div",{className:Zs.addPhoto,children:l.jsx(jn,{variant:"ghost",onClick:b,disabled:i,children:i?"ЗАГРУЗКА...":"ДОБАВИТЬ ФОТО"})}),d&&l.jsx("span",{className:Zs.error,children:d}),h&&l.jsx(dw,{imageSrc:h,isSaving:i,onCancel:S,onConfirm:E})]})}const xw="_card_17od5_1",bw="_title_17od5_8",jw="_actions_17od5_17",f2={card:xw,title:bw,actions:jw};function so({title:s,children:c,actions:i}){return l.jsxs("div",{className:f2.card,children:[l.jsx("div",{className:f2.title,children:s}),c,i&&l.jsx("div",{className:f2.actions,children:i})]})}const Sw="_page_h0psp_1",Nw="_kycBanner_h0psp_8",ww="_main_h0psp_19",Cw="_profileTop_h0psp_29",Ew="_userInfo_h0psp_33",Tw="_sections_h0psp_37",Rw="_grid2_h0psp_44",Aw="_grid1_h0psp_50",Mw="_mnemonicRow_h0psp_56",Ow="_mnemonicInfo_h0psp_63",zw="_mnemonicIcon_h0psp_69",Dw="_mnemonicText_h0psp_73",Lw="_userName_h0psp_105",Bw="_userBalance_h0psp_112",Gt={page:Sw,kycBanner:Nw,main:ww,profileTop:Cw,userInfo:Ew,sections:Tw,grid2:Rw,grid1:Aw,mnemonicRow:Mw,mnemonicInfo:Ow,mnemonicIcon:zw,mnemonicText:Dw,userName:Lw,userBalance:Bw};function kw(){const{data:s}=xi(),{data:c,isLoading:i}=To(),{data:r}=Eo(),d=Vb(),f=wn(),[v,_]=j.useState(""),[h,m]=j.useState(""),[g,y]=j.useState(null);j.useEffect(()=>{(s==null?void 0:s.phone)!=null&&(_(s.phone),m(s.phone))},[s==null?void 0:s.phone]);function b(O){_(O.replace(/[^\d+\s()-]/g,""))}function N(){const O=v.trim();O===h||d.isPending||d.mutate(O,{onSuccess:()=>{m(O),y({status:"success",message:"Номер телефона обновлён"})},onError:()=>{y({status:"error",message:"Не удалось обновить номер телефона"})}})}const S=O=>O?O[0].toUpperCase()+O.slice(1).toLowerCase():"",E=s?[s.last_name,s.first_name,s.middle_name].filter(Boolean).map(S).join(" "):"",T=i||!c||c.totalUsd==null?"$—":`$${c.totalUsd.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`;return l.jsxs("div",{className:Gt.page,children:[l.jsx(Ro,{}),s&&!s.kyc_verified&&l.jsx("div",{className:Gt.kycBanner,children:"Для полного доступа к платформе необходимо пройти верификацию личности (KYC)"}),l.jsxs("main",{className:Gt.main,children:[l.jsxs("div",{className:Gt.profileTop,children:[l.jsx(yw,{}),l.jsxs("div",{className:Gt.userInfo,children:[l.jsx("span",{className:Gt.userName,children:E}),l.jsx("span",{className:Gt.userBalance,children:T})]})]}),l.jsxs("div",{className:Gt.sections,children:[l.jsx(so,{title:"Личные данные",children:l.jsxs("div",{className:Gt.grid2,children:[l.jsx(tt,{label:"Полное ФИО",value:E,placeholder:"Например: Иванов Иван Иванович",readOnly:!0}),l.jsx(tt,{label:"Адрес электронной почты",value:(s==null?void 0:s.email)??"",type:"email",icon:"check",placeholder:"example@mail.ru",readOnly:!0}),l.jsx(tt,{label:"Серия и номер паспорта",value:(s==null?void 0:s.passport_data)??"",placeholder:"0000 000000",readOnly:!0}),l.jsx(tt,{label:"Номер телефона",value:v,onChange:b,onBlur:N,type:"tel",placeholder:"+7 (999) 000-00-00"})]})}),l.jsx(so,{title:"Верификация",children:l.jsxs("div",{className:Gt.grid2,children:[l.jsx(tt,{label:"ИНН",value:(s==null?void 0:s.inn)??"",readOnly:!0,icon:"lock",placeholder:"000000000000"}),l.jsx(tt,{label:"ID аккаунта",value:(s==null?void 0:s.id)??"",readOnly:!0,icon:"lock",placeholder:"ECSA-00000000"})]})}),l.jsx(so,{title:"Безопасность",actions:l.jsxs(l.Fragment,{children:[l.jsx(jn,{variant:"danger",children:"⚠️ Посмотреть приватный ключ"}),l.jsx(jn,{variant:"primary",children:"СОХРАНИТЬ"})]}),children:l.jsx("div",{className:Gt.grid1,children:r==null?void 0:r.map(({chain:O,address:H})=>l.jsx(tt,{label:`Адрес ${O}`,readOnly:!0,icon:"lock",value:H,placeholder:"—"},O))})}),l.jsx(so,{title:"Мнемоника",children:l.jsxs("div",{className:Gt.mnemonicRow,children:[l.jsxs("div",{className:Gt.mnemonicInfo,children:[l.jsx("span",{className:Gt.mnemonicIcon,children:"🔑"}),l.jsx("span",{className:Gt.mnemonicText,children:"Сид-фраза из 12 слов для восстановления кошелька"})]}),l.jsx(jn,{variant:"danger",onClick:()=>f(de.SEED_PHRASE),children:"⚠ Показать мнемонику"})]})})]})]}),g&&l.jsx(as,{status:g.status,message:g.message,onClose:()=>y(null)})]})}const Uw="_card_1erii_1",Hw="_logo_1erii_10",$w="_title_1erii_20",qw="_twoCol_1erii_29",Gw="_leftCol_1erii_36",Fw="_rightCol_1erii_42",Vw="_codeHint_1erii_48",Qw="_error_1erii_55",Yw="_submitWrapper_1erii_62",Xw="_footer_1erii_66",Zw="_forgot_1erii_73",Iw="_divider_1erii_88",Bn={card:Uw,logo:Hw,title:$w,twoCol:qw,leftCol:Gw,rightCol:Fw,codeHint:Vw,error:Qw,submitWrapper:Yw,footer:Xw,forgot:Zw,divider:Iw};function fp(s){var i,r;const c=s;return((r=(i=c==null?void 0:c.detail)==null?void 0:i[0])==null?void 0:r.msg)??"Произошла ошибка"}function Kw(){const[s,c]=j.useState(""),[i,r]=j.useState(""),[d,f]=j.useState(""),[v,_]=j.useState(!1),h=cl(),m=wn(),g=Lt({mutationFn:Lb,onSuccess:()=>_(!0)}),y=Lt({mutationFn:Bb,onSuccess:async({access_token:E})=>{ad(),E&&Un.set(E),await h.invalidateQueries({queryKey:Co}),m(de.PROFILE)}}),b=()=>{s&&g.mutate({email:s})},N=E=>{E.preventDefault(),y.mutate({email:s,password:i,code:d})},S=(g.isError?fp(g.error):null)??(y.isError?fp(y.error):null);return{email:s,setEmail:c,password:i,setPassword:r,verificationCode:d,setVerificationCode:f,codeSent:v,isLoadingCode:g.isPending,isLoadingSubmit:y.isPending,error:S,handleRequestCode:b,handleSubmit:N}}function Pw(){const{email:s,setEmail:c,password:i,setPassword:r,verificationCode:d,setVerificationCode:f,codeSent:v,isLoadingCode:_,isLoadingSubmit:h,error:m,handleRequestCode:g,handleSubmit:y}=Kw(),b=wn();return l.jsxs("form",{className:Bn.card,onSubmit:y,children:[l.jsx("div",{className:Bn.logo,children:l.jsx("img",{src:il,alt:"ЭКСА"})}),l.jsx("h1",{className:Bn.title,children:"Войти в кошелёк ЭКСА"}),l.jsxs("div",{className:Bn.twoCol,children:[l.jsxs("div",{className:Bn.leftCol,children:[l.jsx(tt,{label:"Адрес электронной почты",type:"email",value:s,onChange:c,placeholder:"example@mail.ru",required:!0}),l.jsx(tt,{label:"Пароль",type:"password",value:i,onChange:r,placeholder:"••••••••",required:!0})]}),l.jsxs("div",{className:Bn.rightCol,children:[l.jsx(jn,{variant:"ghost",type:"button",onClick:g,disabled:v||_,children:_?"Отправка...":v?"Код отправлен":"Получить код на email"}),l.jsx("span",{className:Bn.codeHint,children:"Код не пришёл"}),l.jsx(tt,{label:"Ввести код",type:"text",value:d,onChange:f,placeholder:"000 000",required:!0})]})]}),m&&l.jsx("p",{className:Bn.error,children:m}),l.jsx("div",{className:Bn.submitWrapper,children:l.jsx(Ul,{label:h?"Вход...":"Войти",disabled:h})}),l.jsxs("div",{className:Bn.footer,children:[l.jsx("a",{className:Bn.forgot,onClick:()=>b(de.RESTORE_PASSWORD),children:"Забыли пароль?"}),l.jsx("div",{className:Bn.divider,children:l.jsx("span",{children:"или"})}),l.jsx(jn,{variant:"outline",type:"button",onClick:()=>b(de.REGISTER),children:"Создать новый кошелёк"})]})]})}const Ww="_page_a6ygb_1",Jw={page:Ww};function eC(){return l.jsx("div",{className:Jw.page,children:l.jsx(Pw,{})})}function hp(s){var i,r;const c=s;return((r=(i=c==null?void 0:c.detail)==null?void 0:i[0])==null?void 0:r.msg)??"Произошла ошибка"}function tC(){const s=wn(),c=cl(),[i,r]=j.useState(""),[d,f]=j.useState(""),[v,_]=j.useState(""),[h,m]=j.useState(""),[g,y]=j.useState(!1),[b,N]=j.useState(null),S=Lt({mutationFn:zb,onSuccess:()=>y(!0)}),E=Lt({mutationFn:Db,onSuccess:async({access_token:z})=>{ad(),z&&Un.set(z),await c.invalidateQueries({queryKey:Co}),s(de.WALLET)}}),T=()=>{i&&S.mutate({email:i})},O=z=>{if(z.preventDefault(),d!==v){N("Пароли не совпадают");return}N(null),E.mutate({email:i,password:d,confirm_password:v,code:h})},H=b??(S.isError?hp(S.error):null)??(E.isError?hp(E.error):null);return{email:i,setEmail:r,password:d,setPassword:f,confirmPassword:v,setConfirmPassword:_,verificationCode:h,setVerificationCode:m,codeSent:g,isLoadingCode:S.isPending,isLoadingSubmit:E.isPending,error:H,handleRequestCode:T,handleSubmit:O}}const nC="_card_wnog4_1",lC="_logo_wnog4_10",aC="_title_wnog4_20",sC="_twoCol_wnog4_29",iC="_leftCol_wnog4_36",cC="_rightCol_wnog4_42",rC="_codeHint_wnog4_53",oC="_error_wnog4_60",uC="_submitWrapper_wnog4_67",dC="_legal_wnog4_71",nl={card:nC,logo:lC,title:aC,twoCol:sC,leftCol:iC,rightCol:cC,codeHint:rC,error:oC,submitWrapper:uC,legal:dC};function fC(){const{email:s,setEmail:c,password:i,setPassword:r,confirmPassword:d,setConfirmPassword:f,verificationCode:v,setVerificationCode:_,codeSent:h,isLoadingCode:m,isLoadingSubmit:g,error:y,handleRequestCode:b,handleSubmit:N}=tC();return l.jsxs("form",{className:nl.card,onSubmit:N,children:[l.jsx("div",{className:nl.logo,children:l.jsx("img",{src:il,alt:"ЭКСА"})}),l.jsx("h1",{className:nl.title,children:"Создать кошелёк ЭКСА"}),l.jsxs("div",{className:nl.twoCol,children:[l.jsxs("div",{className:nl.leftCol,children:[l.jsx(tt,{label:"Введите адрес электронной почты",type:"email",value:s,onChange:c,placeholder:"example@mail.ru",required:!0}),l.jsx(tt,{label:"Придумайте пароль",type:"password",value:i,onChange:r,placeholder:"••••••••",required:!0}),l.jsx(tt,{label:"Повторите пароль",type:"password",value:d,onChange:f,placeholder:"••••••••",required:!0})]}),l.jsxs("div",{className:nl.rightCol,children:[l.jsx(jn,{variant:"ghost",type:"button",onClick:b,disabled:h||m,children:m?"Отправка...":h?"Код отправлен":"Получить проверочный код"}),l.jsx("span",{className:nl.codeHint,children:"Код не пришёл"}),l.jsx(tt,{label:"Ввести код",type:"text",value:v,onChange:_,placeholder:"000 000",required:!0})]})]}),y&&l.jsx("p",{className:nl.error,children:y}),l.jsx("div",{className:nl.submitWrapper,children:l.jsx(Ul,{label:g?"Создание...":"Создать",disabled:g})}),l.jsxs("p",{className:nl.legal,children:["Нажимая «Создать», вы принимаете",l.jsx("br",{}),l.jsx("a",{href:"#",children:"Пользовательское соглашение"})," и ",l.jsx("a",{href:"#",children:"Политику конфиденциальности"})]})]})}const hC="_page_a6ygb_1",mC={page:hC};function pC(){return l.jsx("div",{className:mC.page,children:l.jsx(fC,{})})}const vC="_page_1bkwz_1",gC="_card_1bkwz_9",_C="_logo_1bkwz_18",yC="_title_1bkwz_28",xC="_typeSwitch_1bkwz_38",bC="_typeOption_1bkwz_49",jC="_typeOptionActive_1bkwz_66",SC="_twoCol_1bkwz_71",NC="_leftCol_1bkwz_78",wC="_rightCol_1bkwz_84",CC="_codeHint_1bkwz_90",EC="_backButton_1bkwz_98",TC="_documentsSubtitle_1bkwz_131",RC="_documentsList_1bkwz_137",AC="_documentItem_1bkwz_146",MC="_documentName_1bkwz_157",OC="_attachButton_1bkwz_163",zC="_fileInput_1bkwz_181",DC="_submitWrapper_1bkwz_192",LC="_legal_1bkwz_196",Pe={page:vC,card:gC,logo:_C,title:yC,typeSwitch:xC,typeOption:bC,typeOptionActive:jC,twoCol:SC,leftCol:NC,rightCol:wC,codeHint:CC,backButton:EC,documentsSubtitle:TC,documentsList:RC,documentItem:AC,documentName:MC,attachButton:OC,fileInput:zC,submitWrapper:DC,legal:LC},BC=["Свидетельство о государственной регистрации (ОГРН)","Свидетельство о постановке на учёт в налоговом органе (ИНН)","Устав организации (действующая редакция)","Решение/протокол о назначении руководителя","Документ, подтверждающий полномочия лица, открывающего счёт","Карточка с образцами подписей и оттиска печати"];function kC(){const[s,c]=j.useState(""),[i,r]=j.useState(""),[d,f]=j.useState(""),[v,_]=j.useState(""),[h,m]=j.useState("individual"),[g,y]=j.useState("info"),b=h==="legal",N=E=>{E.preventDefault(),y("documents")},S=E=>{E.preventDefault()};return l.jsx("div",{className:Pe.page,children:g==="info"?l.jsxs("form",{className:Pe.card,onSubmit:N,children:[l.jsx("div",{className:Pe.logo,children:l.jsx("img",{src:il,alt:"ЭКСА"})}),l.jsx("h1",{className:Pe.title,children:"Создать кошелёк ЭКСА"}),l.jsxs("div",{className:Pe.typeSwitch,role:"tablist","aria-label":"Тип регистрации",children:[l.jsx("button",{type:"button",role:"tab","aria-selected":!b,className:`${Pe.typeOption} ${b?"":Pe.typeOptionActive}`,onClick:()=>m("individual"),children:"Физическое лицо"}),l.jsx("button",{type:"button",role:"tab","aria-selected":b,className:`${Pe.typeOption} ${b?Pe.typeOptionActive:""}`,onClick:()=>m("legal"),children:"Юридическое лицо"})]}),l.jsxs("div",{className:Pe.twoCol,children:[l.jsxs("div",{className:Pe.leftCol,children:[l.jsx(tt,{label:b?"Введите корпоративный email":"Введите адрес электронной почты",type:"email",value:s,onChange:c,placeholder:b?"name@company.ru":"example@mail.ru"}),l.jsx(tt,{label:"Придумайте пароль",type:"password",value:i,onChange:r,placeholder:"••••••••"}),l.jsx(tt,{label:"Повторите пароль",type:"password",value:d,onChange:f,placeholder:"••••••••"})]}),l.jsxs("div",{className:Pe.rightCol,children:[l.jsx(jn,{variant:"ghost",type:"button",children:"Получить проверочный код"}),l.jsx("span",{className:Pe.codeHint,children:"Код не пришёл"}),l.jsx(tt,{label:"Ввести код",type:"text",value:v,onChange:_,placeholder:"000 000"})]})]}),l.jsx("div",{className:Pe.submitWrapper,children:l.jsx(Ul,{label:"Создать"})}),l.jsxs("p",{className:Pe.legal,children:["Нажимая «Создать», вы принимаете",l.jsx("br",{}),l.jsx("a",{href:"#",children:"Пользовательское соглашение"})," и ",l.jsx("a",{href:"#",children:"Политику конфиденциальности"})]})]}):l.jsxs("form",{className:Pe.card,onSubmit:S,children:[l.jsx("div",{className:Pe.logo,children:l.jsx("img",{src:il,alt:"ЭКСА"})}),l.jsx("button",{type:"button",className:Pe.backButton,onClick:()=>y("info"),children:"← Назад к данным"}),l.jsx("h1",{className:Pe.title,children:"Прикрепите документы"}),l.jsx("p",{className:Pe.documentsSubtitle,children:"Для открытия счёта юридическому лицу прикрепите сканы или фотографии следующих документов:"}),l.jsx("ul",{className:Pe.documentsList,children:BC.map(E=>l.jsxs("li",{className:Pe.documentItem,children:[l.jsx("span",{className:Pe.documentName,children:E}),l.jsxs("label",{className:Pe.attachButton,children:["Прикрепить",l.jsx("input",{type:"file",className:Pe.fileInput,multiple:!0})]})]},E))}),l.jsx("div",{className:Pe.submitWrapper,children:l.jsx(Ul,{label:"Создать аккаунт"})})]})})}const UC="_page_cc0zl_1",HC="_wrap_cc0zl_9",$C="_header_cc0zl_20",qC="_title_cc0zl_24",GC="_subtitle_cc0zl_29",FC="_body_cc0zl_37",VC="_formCol_cc0zl_43",QC="_hint_cc0zl_49",YC="_infoCol_cc0zl_56",XC="_infoTitle_cc0zl_61",ZC="_infoRow_cc0zl_68",IC="_infoLabel_cc0zl_84",KC="_infoValue_cc0zl_89",PC="_note_cc0zl_95",WC="_submitBtn_cc0zl_102",ht={page:UC,wrap:HC,header:$C,title:qC,subtitle:GC,body:FC,formCol:VC,hint:QC,infoCol:YC,infoTitle:XC,infoRow:ZC,infoLabel:IC,infoValue:KC,note:PC,submitBtn:WC},h2=5e5,mp=.03,io=s=>s.toLocaleString("ru-RU",{maximumFractionDigits:0});function JC(){const[s,c]=j.useState(""),[i,r]=j.useState(""),[d,f]=j.useState(""),v=Number(s.replace(/\D/g,""))||0,_=v>0&&v<h2,h=v*mp,m=y=>{const b=y.replace(/\D/g,"");c(b?io(Number(b)):"")},g=y=>{y.preventDefault()};return l.jsx("div",{className:ht.page,children:l.jsxs("form",{className:ht.wrap,onSubmit:g,children:[l.jsxs("div",{className:ht.header,children:[l.jsx("h1",{className:ht.title,children:"Оставить заявку"}),l.jsx("p",{className:ht.subtitle,children:"Конвертация крупных объёмов по индивидуальному курсу. Оставьте заявку — менеджер свяжется с вами, подтвердит актуальный курс и сопроводит сделку."})]}),l.jsxs("div",{className:ht.body,children:[l.jsxs("div",{className:ht.formCol,children:[l.jsx(tt,{label:"Объём заявки, ₽",type:"text",value:s,onChange:m,placeholder:"от 500 000"}),_&&l.jsxs("p",{className:ht.hint,children:["Минимальный объём заявки — ",io(h2)," ₽"]}),l.jsx(tt,{label:"Как к вам обращаться",type:"text",value:i,onChange:r,placeholder:"Имя"}),l.jsx(tt,{label:"Email или телефон для связи",type:"text",value:d,onChange:f,placeholder:"example@mail.ru / +7 900 000-00-00"})]}),l.jsxs("div",{className:ht.infoCol,children:[l.jsx("div",{className:ht.infoTitle,children:"УСЛОВИЯ"}),l.jsxs("div",{className:ht.infoRow,children:[l.jsx("span",{className:ht.infoLabel,children:"Минимальный объём"}),l.jsxs("span",{className:ht.infoValue,children:[io(h2)," ₽"]})]}),l.jsxs("div",{className:ht.infoRow,children:[l.jsx("span",{className:ht.infoLabel,children:"Примерная комиссия"}),l.jsxs("span",{className:ht.infoValue,children:[(mp*100).toFixed(0)," %"]})]}),l.jsxs("div",{className:ht.infoRow,"data-accent":!0,children:[l.jsx("span",{className:ht.infoLabel,children:"Комиссия с объёма"}),l.jsx("span",{className:ht.infoValue,children:v>0?`≈ ${io(h)} ₽`:"—"})]}),l.jsx("p",{className:ht.note,children:"Итоговая комиссия рассчитывается индивидуально и зависит от объёма, валюты и направления сделки."})]})]}),l.jsx("button",{type:"submit",className:ht.submitBtn,disabled:_,children:"Оставить заявку"})]})})}const eE="Сумма для конвертации слишком мала. Увеличьте сумму и попробуйте снова.";function tE(){const s=g3(),[c,i]=j.useState(!1),[r,d]=j.useState(null),{mutate:f,isPending:v}=S6();function _(){d(null),f(s.isUsdtToRub?{usdt_amount:s.numUsdt,usdt_exchange_rate:1,gas_fee:1,total_price:s.rubTotalNum}:{usdt_amount:s.usdtFromRubNum,usdt_exchange_rate:1,gas_fee:1,total_price:s.numRubInput},{onError:()=>d({status:"error",message:eE})})}const h=s.isUsdtToRub?!s.rubTotal||v||!c:!s.usdtFromRub||v||!c||s.rubBelowMin;return{...s,agreed:c,setAgreed:i,onPay:_,isPending:v,isPayDisabled:h,notification:r,dismissNotification:()=>d(null)}}const nE="_wrap_6xfms_1",lE="_box_6xfms_12",aE="_text_6xfms_39",sE="_link_6xfms_46",iE="_required_6xfms_51",jc={wrap:nE,box:lE,text:aE,link:sE,required:iE};function cE({checked:s,onToggle:c}){return l.jsxs("button",{type:"button",className:jc.wrap,onClick:c,"aria-pressed":s,children:[l.jsx("span",{className:jc.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:jc.text,children:["Я ознакомлен и согласен с"," ",l.jsx("a",{href:"/publichnaya-oferta",className:jc.link,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),children:"публичной офертой"}),". Вся деятельность компании соответствует законодательству Российской Федерации.",l.jsx("br",{}),l.jsx("span",{className:jc.required,children:"ОБЯЗАТЕЛЬНОЕ ПОЛЕ"})]})]})}const rE="_wrap_1senc_1",oE="_header_1senc_8",uE="_title_1senc_17",dE="_subtitle_1senc_22",fE="_pills_1senc_29",hE="_pill_1senc_29",mE="_pillValue_1senc_43",pE="_body_1senc_53",vE="_tabs_1senc_59",gE="_tab_1senc_59",_E="_bottom_1senc_91",yE="_payBtn_1senc_99",nn={wrap:rE,header:oE,title:uE,subtitle:dE,pills:fE,pill:hE,pillValue:mE,body:pE,tabs:vE,tab:gE,bottom:_E,payBtn:yE};function xE(){const{isUsdtToRub:s,gasPriceRub:c,configUsdtRate:i,convert:r,pay:d,onSwap:f,commission:v,agreed:_,setAgreed:h,onPay:m,isPending:g,isPayDisabled:y,notification:b,dismissNotification:N}=tE();return l.jsxs("div",{className:nn.wrap,children:[l.jsxs("div",{className:nn.header,children:[l.jsxs("div",{children:[l.jsx("h1",{className:nn.title,children:"Конвертация"}),l.jsx("div",{className:nn.subtitle,children:"Данные обновляются в реальном времени"})]}),l.jsxs("div",{className:nn.pills,children:[l.jsxs("div",{className:nn.pill,children:["Цена газа в RUB ",l.jsxs("span",{className:nn.pillValue,children:[c.toFixed(2)," RUB"]})]}),l.jsxs("div",{className:nn.pill,children:["USDT/RUB ",l.jsxs("span",{className:nn.pillValue,children:[i.toFixed(2)," ₽"]})]})]})]}),l.jsxs("div",{className:nn.body,children:[l.jsxs("div",{children:[l.jsx("div",{className:nn.tabs,children:l.jsx("div",{className:nn.tab,"data-active":!0,children:"КУПИТЬ"})}),l.jsx(mo,{label:s?"Конвертируете":"Платите",...r}),l.jsx(Pp,{onClick:f}),l.jsx(mo,{label:s?"Платите":"Конвертируете",...d})]}),l.jsx(Jp,{...v})]}),l.jsx("div",{className:nn.bottom,children:l.jsx(cE,{checked:_,onToggle:()=>h(!_)})}),l.jsx("button",{type:"button",className:nn.payBtn,onClick:m,disabled:y,children:g?"Обработка...":"Оплатить"}),b&&l.jsx(as,{status:b.status,message:b.message,onClose:N})]})}function bE(){return l.jsx(xE,{})}const pp=52;function jE(s){const[c,i]=j.useState(!1),[r,d]=j.useState(pp),[f,v]=j.useState(!1),_=j.useRef(null),h=j.useCallback(()=>{_.current&&clearInterval(_.current),d(pp),_.current=setInterval(()=>{d(y=>y<=1?(clearInterval(_.current),i(!0),0):y-1)},1e3)},[]);j.useEffect(()=>(h(),()=>{_.current&&clearInterval(_.current)}),[h]);const m=j.useCallback(()=>{i(y=>y?(h(),!1):(_.current&&clearInterval(_.current),!0))},[h]),g=j.useCallback(()=>{navigator.clipboard.writeText(s.join(" ")).then(()=>{v(!0),setTimeout(()=>v(!1),1500)})},[s]);return{hidden:c,countdown:r,copied:f,handleHide:m,handleCopy:g}}const SE="_content_o6p8v_1",NE="_titleRow_o6p8v_6",wE="_title_o6p8v_6",CE="_titleButtons_o6p8v_19",EE="_btnFixed_o6p8v_26",TE="_subtitle_o6p8v_34",RE="_countdown_o6p8v_42",AE="_seedGrid_o6p8v_47",ME="_seedCard_o6p8v_54",OE="_seedNum_o6p8v_73",zE="_seedWord_o6p8v_80",DE="_seedWordHidden_o6p8v_88",LE="_warning_o6p8v_93",BE="_warningIcon_o6p8v_101",kE="_warningText_o6p8v_107",UE="_profileLinkRow_o6p8v_115",HE="_profileLink_o6p8v_115",Et={content:SE,titleRow:NE,title:wE,titleButtons:CE,btnFixed:EE,subtitle:TE,countdown:RE,seedGrid:AE,seedCard:ME,seedNum:OE,seedWord:zE,seedWordHidden:DE,warning:LE,warningIcon:BE,warningText:kE,profileLinkRow:UE,profileLink:HE};function $E({words:s}){const{hidden:c,countdown:i,copied:r,handleHide:d,handleCopy:f}=jE(s);return l.jsxs("div",{className:Et.content,children:[l.jsxs("div",{className:Et.titleRow,children:[l.jsx("h1",{className:Et.title,children:"СИД ФРАЗА"}),l.jsxs("div",{className:Et.titleButtons,children:[l.jsx("div",{className:Et.btnFixed,children:l.jsx(jn,{variant:"outline",onClick:d,children:c?"ПОКАЗАТЬ":"СКРЫТЬ"})}),l.jsx("div",{className:Et.btnFixed,children:l.jsx(jn,{variant:"outline",onClick:f,children:r?"СКОПИРОВАНО":"КОПИРОВАТЬ"})})]})]}),!c&&l.jsxs("div",{className:Et.subtitle,children:["АВТОМАТИЧЕСКОЕ СКРЫТИЕ ЧЕРЕЗ"," ",l.jsx("span",{className:Et.countdown,children:i}),"С"]}),l.jsx("div",{className:Et.seedGrid,children:s.map((v,_)=>l.jsxs("div",{className:Et.seedCard,children:[l.jsxs("span",{className:Et.seedNum,children:[_+1,"."]}),l.jsx("span",{className:`${Et.seedWord} ${c?Et.seedWordHidden:""}`,children:c?"•••••":v})]},_))}),l.jsxs("div",{className:Et.warning,children:[l.jsx("span",{className:Et.warningIcon,children:"⚠️"}),l.jsx("p",{className:Et.warningText,children:"Никогда не передавайте сид-фразу третьим лицам. Тот, кто знает фразу — владеет кошельком."})]}),l.jsx("div",{className:Et.profileLinkRow,children:l.jsx(Yt,{to:de.PROFILE,className:Et.profileLink,children:"Перейти в профиль"})})]})}const qE="_page_1mk6w_1",GE="_main_1mk6w_8",FE="_glow_1mk6w_17",m2={page:qE,main:GE,glow:FE};function VE(){const{data:s,isLoading:c}=p8(),i=s?s.split(" "):[];return l.jsxs("div",{className:m2.page,children:[l.jsx(Ro,{}),l.jsxs("main",{className:m2.main,children:[l.jsx("div",{className:m2.glow}),!c&&l.jsx($E,{words:i})]})]})}const QE="https://app.kyc.elcsa.ru";function YE(){return P3(!0)}async function P3(s){const c=await rl(),i=await fetch(`${QE}/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 gi(),P3(!1)}catch{throw Un.clear(),new Error("Unauthorized")}const r=await i.json();if(!i.ok)throw r;return r}function XE(){const s=Lt({mutationFn:YE});return{trigger:s.mutate,data:s.data,isLoading:s.isPending,isError:s.isError}}const ZE="_backdrop_1do7s_1",IE="_modal_1do7s_12",KE="_closeBtn_1do7s_22",PE="_body_1do7s_40",WE="_qrBlock_1do7s_47",JE="_qrImage_1do7s_55",eT="_linkBtn_1do7s_63",Qa={backdrop:ZE,modal:IE,closeBtn:KE,body:PE,qrBlock:WE,qrImage:JE,linkBtn:eT};function tT({data:s,onClose:c}){return l.jsx("div",{className:Qa.backdrop,onClick:c,children:l.jsxs("div",{className:Qa.modal,onClick:i=>i.stopPropagation(),children:[l.jsx("button",{className:Qa.closeBtn,onClick:c,type:"button",children:"×"}),l.jsx("div",{className:Qa.body,children:l.jsxs("div",{className:Qa.qrBlock,children:[l.jsx("img",{className:Qa.qrImage,src:s.qr_code,alt:"QR-код для верификации"}),l.jsx("a",{className:Qa.linkBtn,href:s.link,target:"_blank",rel:"noopener noreferrer",children:"Перейти к верификации"})]})})]})})}const nT="_card_omb8e_1",lT="_logo_omb8e_13",aT="_iconWrapper_omb8e_21",sT="_description_omb8e_34",iT="_buttonWrapper_omb8e_42",cT="_error_omb8e_47",Is={card:nT,logo:lT,iconWrapper:aT,description:sT,buttonWrapper:iT,error:cT};function rT(){const{trigger:s,data:c,isLoading:i,isError:r}=XE(),d=wn(),f=cl(),{data:v}=xi({refetchInterval:c?5e3:!1});j.useEffect(()=>{v!=null&&v.kyc_verified&&d(de.SEED_PHRASE,{replace:!0})},[v==null?void 0:v.kyc_verified,d]);const _=()=>{f.invalidateQueries({queryKey:["me"]})};return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:Is.card,children:[l.jsx("div",{className:Is.logo,children:l.jsx("img",{src:il,alt:"ЭКСА"})}),l.jsx("div",{className:Is.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:Is.description,children:"Для продолжения работы необходимо пройти KYC верификацию"}),l.jsx("div",{className:Is.buttonWrapper,children:l.jsx(Ul,{label:i?"Загрузка...":"Подтвердить личность",type:"button",onClick:()=>s(),disabled:i})}),r&&l.jsx("p",{className:Is.error,children:"Произошла ошибка. Попробуй перезагрузить страницу и попробовать снова."})]}),c&&l.jsx(tT,{data:c,onClose:_})]})}const oT="_page_6lnfw_1",uT={page:oT};function dT(){const{data:s,isLoading:c}=xi();return c?null:s!=null&&s.kyc_verified?l.jsx(No,{to:de.PROFILE,replace:!0}):l.jsx("div",{className:uT.page,children:l.jsx(rT,{})})}const fT="_card_mzeuq_1",hT="_logo_mzeuq_10",mT="_title_mzeuq_20",pT="_fields_mzeuq_29",vT="_emailRow_mzeuq_35",gT="_error_mzeuq_41",_T="_submitWrapper_mzeuq_48",yT="_footer_mzeuq_52",xT="_back_mzeuq_58",Al={card:fT,logo:hT,title:mT,fields:pT,emailRow:vT,error:gT,submitWrapper:_T,footer:yT,back:xT};function bT(){const[s,c]=j.useState(""),[i,r]=j.useState(!1),[d,f]=j.useState(!1),[v,_]=j.useState(""),[h,m]=j.useState(""),[g,y]=j.useState(""),[b,N]=j.useState(""),[S,E]=j.useState(!1),[T,O]=j.useState(null),H=wn();async function z(){N(""),f(!0);try{await $b({email:s}),r(!0),O({status:"success",message:`Код отправлен на ${s}`})}catch{O({status:"error",message:"Не удалось отправить письмо. Проверьте email и попробуйте снова."})}finally{f(!1)}}async function G(Y){if(Y.preventDefault(),N(""),h!==g){N("Пароли не совпадают");return}E(!0);try{await Gb({email:s,code:v,new_password:h,confirm_password:g}),H(de.LOGIN)}catch{N("Не удалось изменить пароль. Проверьте код и попробуйте снова.")}finally{E(!1)}}return l.jsxs(l.Fragment,{children:[l.jsxs("form",{className:Al.card,onSubmit:G,children:[l.jsx("div",{className:Al.logo,children:l.jsx("img",{src:il,alt:"ЭКСА"})}),l.jsx("h1",{className:Al.title,children:"Восстановление пароля"}),l.jsxs("div",{className:Al.fields,children:[l.jsxs("div",{className:Al.emailRow,children:[l.jsx(tt,{label:"E-Mail",type:"email",value:s,onChange:c,placeholder:"example@mail.com",required:!0}),l.jsx(Ul,{label:d?"Отправка...":"Получить код",disabled:d||!s,type:"button",onClick:z})]}),i&&l.jsxs(l.Fragment,{children:[l.jsx(tt,{label:"Код с почты",type:"text",value:v,onChange:_,placeholder:"000 000",required:!0}),l.jsx(tt,{label:"Новый пароль",type:"password",value:h,onChange:m,placeholder:"••••••••",required:!0}),l.jsx(tt,{label:"Повторить пароль",type:"password",value:g,onChange:y,placeholder:"••••••••",required:!0})]})]}),b&&l.jsx("p",{className:Al.error,children:b}),i&&l.jsx("div",{className:Al.submitWrapper,children:l.jsx(Ul,{label:S?"Сохранение...":"Изменить пароль",disabled:S})}),l.jsx("div",{className:Al.footer,children:l.jsx("a",{className:Al.back,onClick:()=>H(de.LOGIN),children:"Вернуться ко входу"})})]}),T&&l.jsx(as,{status:T.status,message:T.message,onClose:()=>O(null)})]})}const jT="_page_6lnfw_1",ST={page:jT};function NT(){return l.jsx("div",{className:ST.page,children:l.jsx(bT,{})})}const wT="_main_1fqml_1",CT="_container_1fqml_7",ET="_title_1fqml_13",TT="_subtitle_1fqml_21",RT="_section_1fqml_29",AT="_sectionTitle_1fqml_33",MT="_definitions_1fqml_42",OT="_definition_1fqml_42",zT="_requisites_1fqml_56",Se={main:wT,container:CT,title:ET,subtitle:TT,section:RT,sectionTitle:AT,definitions:MT,definition:OT,requisites:zT};function DT(){return l.jsxs(l.Fragment,{children:[l.jsx(yi,{}),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(rs,{})]})}const LT="_main_14e6d_1",BT="_container_14e6d_7",kT="_title_14e6d_13",UT="_subtitle_14e6d_21",HT="_section_14e6d_29",$T="_sectionTitle_14e6d_33",qT="_subSectionTitle_14e6d_42",GT="_definitions_14e6d_50",FT="_definition_14e6d_50",VT="_list_14e6d_64",QT="_goalsList_14e6d_75",YT="_goal_14e6d_75",XT="_contacts_14e6d_105",I={main:LT,container:BT,title:kT,subtitle:UT,section:HT,sectionTitle:$T,subSectionTitle:qT,definitions:GT,definition:FT,list:VT,goalsList:QT,goal:YT,contacts:XT};function ZT(){return l.jsxs(l.Fragment,{children:[l.jsx(yi,{}),l.jsx("main",{className:I.main,children:l.jsxs("div",{className:I.container,children:[l.jsx("h1",{className:I.title,children:"ПОЛИТИКА ОБРАБОТКИ ПЕРСОНАЛЬНЫХ ДАННЫХ"}),l.jsx("h2",{className:I.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"1. Общие положения"}),l.jsx("p",{children:"Настоящая Политика обработки персональных данных разработана в соответствии с Федеральным законом от 27.07.2006 № 152-ФЗ «О персональных данных» и определяет порядок обработки персональных данных и меры по обеспечению безопасности персональных данных, предпринимаемые ООО «БИТФОРС»."}),l.jsx("p",{children:"Оператор ставит своей важнейшей целью и условием осуществления своей деятельности соблюдение прав и свобод человека и гражданина при обработке его персональных данных, в том числе защиты права на неприкосновенность частной жизни, личную и семейную тайну."}),l.jsx("p",{children:"Настоящая Политика действует в отношении всех персональных данных, которые обрабатываются Оператором с использованием средств автоматизации и без использования таких средств."}),l.jsx("h4",{className:I.subSectionTitle,children:"1.4. Основные понятия"}),l.jsxs("div",{className:I.definitions,children:[l.jsxs("div",{className:I.definition,children:[l.jsx("strong",{children:"Автоматизированная обработка персональных данных"})," — обработка персональных данных с помощью средств вычислительной техники."]}),l.jsxs("div",{className:I.definition,children:[l.jsx("strong",{children:"Обработка персональных данных"})," — любое действие или совокупность действий, совершаемых с использованием средств автоматизации или без использования таких средств с персональными данными, включая сбор, запись, систематизацию, накопление, хранение, уточнение, извлечение, использование, передачу, обезличивание, блокирование, удаление, уничтожение."]}),l.jsxs("div",{className:I.definition,children:[l.jsx("strong",{children:"Оператор"})," — юридическое или физическое лицо, организующие и осуществляющие обработку персональных данных."]}),l.jsxs("div",{className:I.definition,children:[l.jsx("strong",{children:"Персональные данные"})," — любая информация, относящаяся к прямо или косвенно определенному или определяемому физическому лицу."]}),l.jsxs("div",{className:I.definition,children:[l.jsx("strong",{children:"Пользователь"})," — любой посетитель веб-сайта https://bitforce-foundation.ru."]})]})]}),l.jsxs("section",{className:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"2. Сведения об операторе"}),l.jsxs("ul",{className:I.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:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"3. Общие цели обработки персональных данных"}),l.jsx("h4",{className:I.subSectionTitle,children:"3.1.1. Основная деятельность:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Предоставление услуг по конвертации иного имущества"}),l.jsx("li",{children:"Осуществление операций на криптовалютных рынках"}),l.jsx("li",{children:"Предоставление услуг в области блокчейн технологий"}),l.jsx("li",{children:"Обеспечение функционирования интернет-платформы и мобильных приложений"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"3.1.2. Обеспечение безопасности:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Предотвращение мошенничества и отмывания денежных средств"}),l.jsx("li",{children:"Обеспечение безопасности платежных операций"}),l.jsx("li",{children:"Выполнение требований по противодействию легализации доходов"}),l.jsx("li",{children:"Идентификация и верификация клиентов"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"3.1.3. Соблюдение законодательства:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Исполнение требований российского и международного законодательства"}),l.jsx("li",{children:"Взаимодействие с контролирующими и правоохранительными органами"}),l.jsx("li",{children:"Ведение обязательной отчетности и документооборота"}),l.jsx("li",{children:"Соблюдение налогового законодательства"})]})]}),l.jsxs("section",{className:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"4. Цели сбора персональных данных"}),l.jsxs("div",{className:I.goalsList,children:[l.jsxs("div",{className:I.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:I.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:I.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:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"5. Правовые основания обработки персональных данных"}),l.jsx("h4",{className:I.subSectionTitle,children:"5.1.1. Согласие субъекта персональных данных:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Обработка персональных данных в маркетинговых целях"}),l.jsx("li",{children:"Использование файлов cookie и метрик"}),l.jsx("li",{children:"Персонализация сервисов и предложений"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"5.1.2. Необходимость исполнения договора:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Регистрация и ведение учетных записей пользователей"}),l.jsx("li",{children:"Осуществление финансовых операций и переводов"}),l.jsx("li",{children:"Предоставление доступа к платформе и сервисам"}),l.jsx("li",{children:"Техническая поддержка и обслуживание клиентов"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"5.1.3. Соблюдение правовой обязанности:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Выполнение требований валютного законодательства"}),l.jsx("li",{children:"Противодействие легализации доходов, полученных преступным путем"}),l.jsx("li",{children:"Соблюдение требований по налоговому учету и отчетности"})]})]}),l.jsxs("section",{className:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"6. Объем и категории обрабатываемых персональных данных"}),l.jsx("h4",{className:I.subSectionTitle,children:"6.1.1. Пользователи веб-сайта и мобильного приложения:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Зарегистрированные пользователи"}),l.jsx("li",{children:"Посетители сайта без регистрации"}),l.jsx("li",{children:"Потенциальные клиенты"}),l.jsx("li",{children:"Бывшие клиенты"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"6.2.1. Идентификационные данные:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Фамилия, имя, отчество"}),l.jsx("li",{children:"Дата рождения"}),l.jsx("li",{children:"Гражданство"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"6.2.3. Контактная информация:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Номера телефонов (мобильный, домашний, рабочий)"}),l.jsx("li",{children:"Адреса электронной почты"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"6.2.4. Финансовая информация:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Номера банковских счетов и карт"}),l.jsx("li",{children:"Реквизиты кошельков криптовалют"}),l.jsx("li",{children:"История операций и транзакций"}),l.jsx("li",{children:"Данные о доходах и источниках средств"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"6.2.5. Техническая информация:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"IP-адреса устройств"}),l.jsx("li",{children:"Данные о браузере и операционной системе"}),l.jsx("li",{children:"Файлы cookie и локальное хранилище"}),l.jsx("li",{children:"Логи действий на сайте"})]})]}),l.jsxs("section",{className:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"7. Порядок и условия обработки персональных данных"}),l.jsx("h4",{className:I.subSectionTitle,children:"7.1. Принципы обработки персональных данных:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Обработка осуществляется на законной и справедливой основе"}),l.jsx("li",{children:"Обработка ограничивается достижением конкретных, заранее определенных целей"}),l.jsx("li",{children:"Содержание и объем данных соответствуют заявленным целям"}),l.jsx("li",{children:"Обрабатываемые персональные данные являются точными и актуальными"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"7.4. Сроки обработки персональных данных:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Персональные данные обрабатываются в течение времени, необходимого для достижения целей"}),l.jsx("li",{children:"После достижения целей персональные данные подлежат уничтожению или обезличиванию"}),l.jsx("li",{children:"Сроки хранения определяются требованиями законодательства"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"7.5. Места обработки персональных данных:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Основные серверы и хранилища данных расположены на территории Российской Федерации"}),l.jsx("li",{children:"Резервные копии могут храниться в дата-центрах на территории РФ"})]})]}),l.jsxs("section",{className:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"8. Актуализация, исправление, удаление и уничтожение персональных данных"}),l.jsx("h4",{className:I.subSectionTitle,children:"8.2.2. Процедура исправления:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Рассмотрение запроса в течение 30 дней"}),l.jsx("li",{children:"Проверка обоснованности требования об исправлении"}),l.jsx("li",{children:"Внесение изменений во все информационные системы"}),l.jsx("li",{children:"Уведомление субъекта о проведенных исправлениях"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"8.3.2. Процедура удаления:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Проверка наличия законных оснований для продолжения обработки"}),l.jsx("li",{children:"Удаление из всех информационных систем и баз данных"}),l.jsx("li",{children:"Удаление резервных копий (кроме архивных)"}),l.jsx("li",{children:"Уведомление субъекта о выполненном удалении"})]})]}),l.jsxs("section",{className:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"9. Ответы на запросы субъектов персональных данных"}),l.jsx("h4",{className:I.subSectionTitle,children:"9.1.1. Право на информацию:"}),l.jsxs("ul",{className:I.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:I.subSectionTitle,children:"9.2.2. Сроки рассмотрения:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Срок рассмотрения запроса составляет 30 дней с момента получения"}),l.jsx("li",{children:"Срок может быть продлен на 30 дней при большом объеме информации"}),l.jsx("li",{children:"О продлении срока субъект уведомляется в течение 30 дней"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"9.4. Плата за предоставление информации:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Первый запрос в течение года обрабатывается бесплатно"}),l.jsx("li",{children:"За повторные запросы может взиматься плата в размере расходов"}),l.jsx("li",{children:"Субъект уведомляется о размере платы до предоставления информации"})]})]}),l.jsxs("section",{className:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"10. Обеспечение безопасности персональных данных"}),l.jsx("h4",{className:I.subSectionTitle,children:"10.1. Правовые меры:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Назначение ответственного за организацию обработки персональных данных"}),l.jsx("li",{children:"Принятие локальных актов по вопросам обработки персональных данных"}),l.jsx("li",{children:"Ознакомление работников с требованиями законодательства"}),l.jsx("li",{children:"Применение мер ответственности за нарушение требований"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"10.3. Технические меры:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Предотвращение несанкционированного доступа к персональным данным"}),l.jsx("li",{children:"Своевременное обнаружение фактов несанкционированного доступа"}),l.jsx("li",{children:"Возможность незамедлительного восстановления персональных данных"}),l.jsx("li",{children:"Постоянный контроль за обеспечением уровня защищенности"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"10.4. Конкретные технические решения:"}),l.jsxs("ul",{className:I.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:I.section,children:[l.jsx("h3",{className:I.sectionTitle,children:"12. Заключительные положения"}),l.jsx("h4",{className:I.subSectionTitle,children:"12.2. Жалобы и обращения:"}),l.jsxs("ul",{className:I.list,children:[l.jsx("li",{children:"Субъекты персональных данных могут обратиться к Оператору по вопросам обработки"}),l.jsx("li",{children:"Жалобы рассматриваются в установленном законом порядке"}),l.jsx("li",{children:"При неурегулировании разногласий возможно обращение в Роскомнадзор или суд"})]}),l.jsx("h4",{className:I.subSectionTitle,children:"12.4. Контактная информация для обращений:"}),l.jsxs("p",{className:I.contacts,children:["Почтовый адрес: 196246, г. Санкт-Петербург, Московское ш., д. 25, к. 1, лит. В, пом. 3-н",l.jsx("br",{}),"Электронная почта: company@bitforcefoundation.ru"]})]})]})}),l.jsx(rs,{})]})}const IT="_main_iq2qw_1",KT="_container_iq2qw_7",PT="_title_iq2qw_13",WT="_section_iq2qw_21",JT="_sectionTitle_iq2qw_25",eR="_subSectionTitle_iq2qw_34",tR="_list_iq2qw_42",nR="_info_iq2qw_57",lR="_example_iq2qw_71",aR="_warning_iq2qw_81",ee={main:IT,container:KT,title:PT,section:WT,sectionTitle:JT,subSectionTitle:eR,list:tR,info:nR,example:lR,warning:aR};function sR(){return l.jsxs(l.Fragment,{children:[l.jsx(yi,{}),l.jsx("main",{className:ee.main,children:l.jsxs("div",{className:ee.container,children:[l.jsx("h1",{className:ee.title,children:"ПОЛИТИКА ИСПОЛЬЗОВАНИЯ ФАЙЛОВ COOKIE"}),l.jsxs("section",{className:ee.section,children:[l.jsx("h3",{className:ee.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:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Оператор персональных данных"}),l.jsx("p",{children:"Оператором персональных данных, содержащихся в файлах cookie, является:"}),l.jsxs("div",{className:ee.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:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Категории файлов cookie и их назначение"}),l.jsx("h4",{className:ee.subSectionTitle,children:"1. Строго необходимые (технические) файлы cookie"}),l.jsx("p",{children:"Данные файлы обеспечивают работу интернет-ресурса и предоставление необходимого уровня сервиса: авторизацию, навигацию, отображение контента в соответствии с параметрами устройства, обеспечение безопасности."}),l.jsx("p",{children:"Обработка таких файлов cookie осуществляется на основании п. 5 ч. 1 ст. 6 ФЗ № 152 (заключение и исполнение договора). Согласие на использование строго необходимых файлов cookie не требуется."}),l.jsx("p",{className:ee.example,children:"Примеры: файлы сессий (PHPSESSID), настройки безопасности, файлы аутентификации."}),l.jsx("h4",{className:ee.subSectionTitle,children:"2. Функциональные файлы cookie"}),l.jsx("p",{children:"Используются для запоминания пользовательских предпочтений и персонализации взаимодействия с сайтом: сохранение выбранного языка, региона, настроек отображения, размера шрифта."}),l.jsx("p",{children:"Обработка осуществляется на основании согласия субъекта персональных данных, поскольку данная обработка не является строго необходимой для функционирования сайта."}),l.jsx("p",{className:ee.example,children:"Примеры: настройки языка интерфейса, предпочтения отображения, настройки доступности."}),l.jsx("h4",{className:ee.subSectionTitle,children:"3. Аналитические файлы cookie"}),l.jsx("p",{children:"Собирают информацию о взаимодействии пользователей с интернет-ресурсом для анализа его использования, выявления популярных разделов, обнаружения ошибок и улучшения пользовательского опыта. Могут содержать персональные данные, включая IP-адреса пользователей."}),l.jsx("p",{children:"Обработка осуществляется на основании согласия субъекта персональных данных."}),l.jsx("h4",{className:ee.subSectionTitle,children:"4. Маркетинговые файлы cookie"}),l.jsx("p",{children:"Используются для отслеживания пользователей в целях персонализированной рекламы, анализа эффективности рекламных кампаний, ретаргетинга."}),l.jsx("p",{children:"Обработка осуществляется исключительно на основании согласия субъекта персональных данных."}),l.jsx("p",{className:ee.example,children:"Примеры: пиксели социальных сетей, рекламные идентификаторы, файлы ретаргетинга."})]}),l.jsxs("section",{className:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Правовые основания обработки персональных данных"}),l.jsx("p",{children:"Обработка персональных данных, содержащихся в файлах cookie, осуществляется на следующих правовых основаниях:"}),l.jsxs("ul",{className:ee.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:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Порядок получения согласия"}),l.jsx("h4",{className:ee.subSectionTitle,children:"Принципы получения согласия:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Согласие должно быть получено до начала обработки персональных данных"}),l.jsx("li",{children:"Информация об использовании файлов cookie размещается на первом уровне интернет-ресурса"}),l.jsx("li",{children:"Предоставляется возможность выбора категорий файлов cookie"}),l.jsx("li",{children:"Используются активные формулировки вместо пассивных"})]}),l.jsx("h4",{className:ee.subSectionTitle,children:"Критерии действительного согласия:"}),l.jsxs("ul",{className:ee.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:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Сторонние файлы cookie"}),l.jsx("h4",{className:ee.subSectionTitle,children:"Использование сторонних сервисов:"}),l.jsx("p",{children:"Наш интернет-ресурс использует файлы cookie сторонних сервисов, включая:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Яндекс.Метрика (ООО «ЯНДЕКС», Россия)"}),l.jsx("li",{children:"Социальные сети и сервисы интеграции"})]}),l.jsx("h4",{className:ee.subSectionTitle,children:"Обеспечение защиты:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Получено согласие на передачу"}),l.jsx("li",{children:"Применяются дополнительные меры защиты данных"}),l.jsx("li",{children:"Контролируется соблюдение принципов обработки персональных данных получателями"})]})]}),l.jsxs("section",{className:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Сроки обработки и хранения"}),l.jsx("h4",{className:ee.subSectionTitle,children:"Категории по срокам хранения:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Сеансовые cookie — удаляются автоматически при закрытии браузера"}),l.jsx("li",{children:"Постоянные cookie — хранятся установленный период или до удаления пользователем"})]}),l.jsx("h4",{className:ee.subSectionTitle,children:"Конкретные сроки:"}),l.jsxs("ul",{className:ee.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:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Права субъектов персональных данных"}),l.jsx("h4",{className:ee.subSectionTitle,children:"Право на информацию:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Получение информации о обработке персональных данных"}),l.jsx("li",{children:"Сведения о правовых основаниях и целях обработки"}),l.jsx("li",{children:"Информация о сроках обработки и составе данных"})]}),l.jsx("h4",{className:ee.subSectionTitle,children:"Право на доступ:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Получение подтверждения факта обработки"}),l.jsx("li",{children:"Ознакомление с обрабатываемыми персональными данными"}),l.jsx("li",{children:"Получение информации об источниках персональных данных"})]}),l.jsx("h4",{className:ee.subSectionTitle,children:"Право на уточнение, блокирование, удаление:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Требование уточнения неточных данных"}),l.jsx("li",{children:"Блокирование недостоверных данных"}),l.jsx("li",{children:"Удаление незаконно полученных данных"})]}),l.jsx("h4",{className:ee.subSectionTitle,children:"Право на отзыв согласия:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Отзыв согласия в любое время"}),l.jsx("li",{children:"Прекращение обработки после отзыва согласия"}),l.jsx("li",{children:"Сохранение права на обжалование действий оператора"})]})]}),l.jsxs("section",{className:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Способы управления файлами cookie"}),l.jsx("h4",{className:ee.subSectionTitle,children:"Управление через настройки сайта:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Использование баннера согласия на файлы cookie"}),l.jsx("li",{children:"Изменение настроек в любое время через интерфейс сайта"}),l.jsx("li",{children:"Отзыв согласия на использование отдельных категорий файлов cookie"})]}),l.jsx("h4",{className:ee.subSectionTitle,children:"Управление через браузер:"}),l.jsx("p",{children:"Большинство браузеров позволяют контролировать файлы cookie:"}),l.jsxs("ul",{className:ee.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:ee.subSectionTitle,children:"Инструкции для популярных браузеров:"}),l.jsxs("ul",{className:ee.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:ee.warning,children:"Блокировка необходимых файлов cookie может привести к ограничению функциональности интернет-ресурса."})]}),l.jsxs("section",{className:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Меры безопасности"}),l.jsx("p",{children:"Оператор применяет правовые, организационные и технические меры для защиты персональных данных:"}),l.jsx("h4",{className:ee.subSectionTitle,children:"Правовые меры:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Назначение ответственного за организацию обработки персональных данных"}),l.jsx("li",{children:"Ознакомление сотрудников с требованиями законодательства"}),l.jsx("li",{children:"Заключение соглашений о неразглашении персональных данных"})]}),l.jsx("h4",{className:ee.subSectionTitle,children:"Организационные меры:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Определение перечня лиц, допущенных к обработке персональных данных"}),l.jsx("li",{children:"Установление правил доступа к персональным данным"}),l.jsx("li",{children:"Контроль за соблюдением требований по защите персональных данных"})]}),l.jsx("h4",{className:ee.subSectionTitle,children:"Технические меры:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Использование средств защиты информации"}),l.jsx("li",{children:"Применение криптографических средств защиты"}),l.jsx("li",{children:"Обеспечение целостности и доступности персональных данных"}),l.jsx("li",{children:"Регулярное обновление систем защиты информации"})]})]}),l.jsxs("section",{className:ee.section,children:[l.jsx("h3",{className:ee.sectionTitle,children:"Контактная информация и обращения"}),l.jsx("p",{children:"Для реализации прав субъекта персональных данных обращайтесь к нам:"}),l.jsxs("div",{className:ee.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:ee.subSectionTitle,children:"Порядок рассмотрения обращений:"}),l.jsxs("ul",{className:ee.list,children:[l.jsx("li",{children:"Срок рассмотрения обращений — до 30 дней с момента получения"}),l.jsx("li",{children:"Обращения рассматриваются в письменной форме"}),l.jsx("li",{children:"Ответ направляется способом, указанным в обращении"}),l.jsx("li",{children:"При отказе в удовлетворении требований указываются мотивированные основания"})]})]})]})}),l.jsx(rs,{})]})}const iR="_main_9j8kd_1",cR="_container_9j8kd_7",rR="_title_9j8kd_13",oR="_subtitle_9j8kd_21",uR="_section_9j8kd_29",dR="_sectionTitle_9j8kd_33",fR="_subSectionTitle_9j8kd_42",hR="_list_9j8kd_50",mR="_info_9j8kd_65",pR="_contacts_9j8kd_79",vR="_confirmation_9j8kd_92",P={main:iR,container:cR,title:rR,subtitle:oR,section:uR,sectionTitle:dR,subSectionTitle:fR,list:hR,info:mR,contacts:pR,confirmation:vR};function gR(){return l.jsxs(l.Fragment,{children:[l.jsx(yi,{}),l.jsx("main",{className:P.main,children:l.jsxs("div",{className:P.container,children:[l.jsx("h1",{className:P.title,children:"СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ"}),l.jsx("h2",{className:P.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"Преамбула"}),l.jsx("p",{children:"Я, субъект персональных данных, действуя своей волей и в своем интересе, в соответствии с требованиями Федерального закона от 27.07.2006 № 152-ФЗ «О персональных данных», предоставляю ООО «БИТФОРС» согласие на обработку моих персональных данных на условиях и для целей, определенных настоящим Согласием."})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"1. Сведения об операторе"}),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:"Электронная почта: company@bitforcefoundation.ru"}),l.jsx("p",{children:"Веб-сайт: https://bitforce-foundation.ru"})]})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"2. Правовые основания обработки"}),l.jsx("p",{children:"Настоящее согласие предоставляется на основании пункта 1 части 1 статьи 6 Федерального закона «О персональных данных» и является правовым основанием для обработки персональных данных Оператором."}),l.jsx("p",{children:"Согласие дается добровольно, своей волей и в своих интересах."}),l.jsx("p",{children:"Субъект персональных данных понимает последствия предоставления согласия, включая возможные риски, связанные с обработкой персональных данных."})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"3. Цели обработки персональных данных"}),l.jsx("h4",{className:P.subSectionTitle,children:"3.1. Основные цели:"}),l.jsxs("ul",{className:P.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:P.subSectionTitle,children:"3.2. Дополнительные цели:"}),l.jsxs("ul",{className:P.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:P.subSectionTitle,children:"3.3. Маркетинговые цели (при дополнительном согласии):"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Направление информационных и рекламных материалов"}),l.jsx("li",{children:"Проведение маркетинговых исследований и опросов"}),l.jsx("li",{children:"Персонализация предложений и услуг"}),l.jsx("li",{children:"Анализ предпочтений и поведения для улучшения сервисов"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"3.4. Аналитические цели:"}),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:"4. Перечень персональных данных"}),l.jsx("h4",{className:P.subSectionTitle,children:"4.1. Идентификационные данные:"}),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:"4.2. Документы, удостоверяющие личность:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Серия и номер паспорта гражданина Российской Федерации"}),l.jsx("li",{children:"Дата выдачи и код подразделения"}),l.jsx("li",{children:"Адрес регистрации по месту жительства"}),l.jsx("li",{children:"Цифровые копии (сканы) документов"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"4.3. Контактная информация:"}),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:"4.4. Финансовая информация:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Номера банковских счетов и реквизиты банковских карт"}),l.jsx("li",{children:"Реквизиты криптовалютных кошельков и адресов"}),l.jsx("li",{children:"Информация о доходах и источниках происхождения денежных средств"}),l.jsx("li",{children:"История финансовых операций и транзакций"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"4.5. Техническая информация:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"IP-адреса устройств, с которых осуществляется доступ к сервисам"}),l.jsx("li",{children:"Информация о браузере, операционной системе и устройстве"}),l.jsx("li",{children:"Файлы cookie и данные локального хранилища"}),l.jsx("li",{children:"Логи действий и история использования сервисов"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"4.6. Дополнительная информация:"}),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:"5. Перечень действий с персональными данными"}),l.jsx("p",{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.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:"6. Лица, которым могут быть переданы персональные данные"}),l.jsx("h4",{className:P.subSectionTitle,children:"6.1. Сотрудники Оператора:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Уполномоченные сотрудники, непосредственно участвующие в обработке"}),l.jsx("li",{children:"Сотрудники службы безопасности и комплаенса"}),l.jsx("li",{children:"Сотрудники технической поддержки"}),l.jsx("li",{children:"Руководящий состав в рамках их полномочий"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"6.2. Государственные и муниципальные органы:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Федеральная служба по финансовому мониторингу"}),l.jsx("li",{children:"Федеральная налоговая служба"}),l.jsx("li",{children:"Правоохранительные органы (при наличии законных требований)"}),l.jsx("li",{children:"Суды и органы исполнения судебных решений"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"6.3. Партнеры и контрагенты:"}),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:"7. Сроки обработки персональных данных"}),l.jsx("h4",{className:P.subSectionTitle,children:"7.1. Общие принципы:"}),l.jsx("p",{children:"Персональные данные обрабатываются в течение времени, необходимого для достижения целей обработки. После достижения целей данные подлежат уничтожению или обезличиванию."}),l.jsx("h4",{className:P.subSectionTitle,children:"7.2. Конкретные сроки обработки:"}),l.jsxs("ul",{className:P.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:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"8. Права субъекта персональных данных"}),l.jsx("h4",{className:P.subSectionTitle,children:"8.1. Право на информацию:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Получение подтверждения факта обработки персональных данных"}),l.jsx("li",{children:"Получение информации о целях и способах обработки"}),l.jsx("li",{children:"Информация о сроках обработки и составе данных"}),l.jsx("li",{children:"Сведения о лицах, которым передаются данные"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"8.2. Право на доступ:"}),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:"8.3. Право на исправление и удаление:"}),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:"8.4. Право на отзыв согласия:"}),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:"8.5. Право на обжалование:"}),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:"8.6. Порядок реализации прав:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Обращения направляются на адрес: company@bitforcefoundation.ru"}),l.jsx("li",{children:"Обращения рассматриваются в течение 30 дней"}),l.jsx("li",{children:"При необходимости срок может быть продлен на 30 дней"})]})]}),l.jsxs("section",{className:P.section,children:[l.jsx("h3",{className:P.sectionTitle,children:"9. Заключительные положения"}),l.jsx("h4",{className:P.subSectionTitle,children:"9.1. Действие согласия:"}),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:"9.2. Форма предоставления согласия:"}),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:"9.3. Последствия непредоставления согласия:"}),l.jsxs("ul",{className:P.list,children:[l.jsx("li",{children:"Отказ в предоставлении согласия может повлечь невозможность регистрации"}),l.jsx("li",{children:"Отказ может ограничить доступ к отдельным услугам"}),l.jsx("li",{children:"Отказ в согласии на маркетинг не влияет на основные услуги"}),l.jsx("li",{children:"Субъект вправе предоставить частичное согласие"})]}),l.jsx("h4",{className:P.subSectionTitle,children:"9.4. Контактная информация:"}),l.jsxs("div",{className:P.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:P.subSectionTitle,children:"9.5. Подтверждение понимания:"}),l.jsx("p",{className:P.confirmation,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.jsx("li",{children:"Имею возможность отозвать согласие в любое время"})]})]})]})}),l.jsx(rs,{})]})}const _R="_main_2hruc_1",yR="_container_2hruc_7",xR="_title_2hruc_13",bR="_subtitle_2hruc_21",jR="_section_2hruc_29",SR="_sectionTitle_2hruc_33",NR="_description_2hruc_42",wR="_info_2hruc_49",CR="_linkBlock_2hruc_56",ER="_button_2hruc_64",TR="_operatorInfo_2hruc_81",Ft={main:_R,container:yR,title:xR,subtitle:bR,section:jR,sectionTitle:SR,description:NR,info:wR,linkBlock:CR,button:ER,operatorInfo:TR};function RR(){return l.jsxs(l.Fragment,{children:[l.jsx(yi,{}),l.jsx("main",{className:Ft.main,children:l.jsxs("div",{className:Ft.container,children:[l.jsx("h1",{className:Ft.title,children:"Реестр операторов персональных данных"}),l.jsx("h2",{className:Ft.subtitle,children:"ООО «БИТФОРС»"}),l.jsxs("section",{className:Ft.section,children:[l.jsx("p",{className:Ft.description,children:"Информация об операторе персональных данных размещена в реестре операторов персональных данных Федеральной службы по надзору в сфере связи, информационных технологий и массовых коммуникаций (Роскомнадзор)."}),l.jsx("p",{className:Ft.info,children:"Вы можете просмотреть информацию об операторе в реестре Роскомнадзора, перейдя по ссылке ниже:"}),l.jsx("div",{className:Ft.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®n=",target:"_blank",rel:"noopener noreferrer",className:Ft.button,children:"Открыть реестр Роскомнадзора"})}),l.jsx("p",{className:Ft.info,children:"Реестр содержит информацию об операторах персональных данных, включая сведения о целях и методах обработки персональных данных, а также меры по обеспечению безопасности персональных данных."})]}),l.jsxs("section",{className:Ft.section,children:[l.jsx("h3",{className:Ft.sectionTitle,children:"Информация об операторе"}),l.jsxs("div",{className:Ft.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:Ft.section,children:[l.jsx("h3",{className:Ft.sectionTitle,children:"О Роскомнадзоре"}),l.jsx("p",{children:"Федеральная служба по надзору в сфере связи, информационных технологий и массовых коммуникаций (Роскомнадзор) — это федеральный орган исполнительной власти, осуществляющий функции по контролю и надзору в области персональных данных."}),l.jsx("p",{children:"Роскомнадзор ведет реестр операторов персональных данных в соответствии с требованиями Федерального закона «О персональных данных». Реестр является открытой информационной системой и доступен всем заинтересованным лицам."})]})]})}),l.jsx(rs,{})]})}function vp(s){return s?new Date(s).toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):"—"}function AR(s){return s?s.length<=16?s:`${s.slice(0,8)}…${s.slice(-6)}`:"—"}function gp(s){return Number(s).toLocaleString("ru-RU")}const MR={pending:"Ожидание",money_accepted:"Деньги получены",web3_processing:"Обработка в сети",web3_hash_error:"Ошибка хэша",web3_balance_problem:"Проблема с балансом",receipt_error:"Ошибка чека",completed:"Завершён",usdt_delivered:"USDT отправлен"},OR="_badge_1d3cq_1",zR="_status_pending_1d3cq_10",DR="_status_completed_1d3cq_15",LR="_status_money_accepted_1d3cq_20",BR="_status_web3_processing_1d3cq_25",kR="_status_web3_hash_error_1d3cq_30",UR="_status_web3_balance_problem_1d3cq_35",HR="_status_receipt_error_1d3cq_40",$R="_status_usdt_delivered_1d3cq_45",_p={badge:OR,status_pending:zR,status_completed:DR,status_money_accepted:LR,status_web3_processing:BR,status_web3_hash_error:kR,status_web3_balance_problem:UR,status_receipt_error:HR,status_usdt_delivered:$R};function yp({status:s}){return l.jsx("span",{className:`${_p.badge} ${_p[`status_${s}`]??""}`,children:MR[s]??s})}const qR="_button_1q7wx_1",GR={button:qR};function FR({value:s}){const[c,i]=j.useState(!1);function r(){navigator.clipboard.writeText(s).then(()=>{i(!0),setTimeout(()=>i(!1),1500)})}return l.jsx("button",{className:GR.button,onClick:r,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"})]})})}const VR="_item_1ymly_1",QR="_summary_1ymly_8",YR="_summaryLeft_1ymly_25",XR="_summaryDate_1ymly_34",ZR="_summaryRight_1ymly_41",IR="_amount_1ymly_48",KR="_totalAmount_1ymly_56",PR="_chevron_1ymly_64",WR="_chevronOpen_1ymly_70",JR="_bodyOuter_1ymly_74",eA="_bodyOuterOpen_1ymly_80",tA="_bodyInner_1ymly_84",nA="_body_1ymly_74",lA="_col_1ymly_96",aA="_colTitle_1ymly_101",sA="_infoRow_1ymly_110",iA="_infoRowTotal_1ymly_123",cA="_infoLabel_1ymly_128",rA="_infoValue_1ymly_129",oA="_infoValueRow_1ymly_148",uA="_infoLink_1ymly_154",Be={item:VR,summary:QR,summaryLeft:YR,summaryDate:XR,summaryRight:ZR,amount:IR,totalAmount:KR,chevron:PR,chevronOpen:WR,bodyOuter:JR,bodyOuterOpen:eA,bodyInner:tA,body:nA,col:lA,colTitle:aA,infoRow:sA,infoRowTotal:iA,infoLabel:cA,infoValue:rA,infoValueRow:oA,infoLink:uA};function dA({item:s}){const[c,i]=j.useState(!1),{order:r,payment:d}=s;return l.jsxs("div",{className:Be.item,children:[l.jsxs("button",{className:Be.summary,onClick:()=>i(f=>!f),type:"button","aria-expanded":c,children:[l.jsxs("div",{className:Be.summaryLeft,children:[l.jsx("span",{className:Be.summaryDate,children:vp(r.created_at)}),d&&l.jsx(yp,{status:d.status})]}),l.jsxs("div",{className:Be.summaryRight,children:[l.jsxs("span",{className:Be.amount,children:[r.usdt_amount," USDT"]}),l.jsxs("span",{className:Be.totalAmount,children:[gp(r.total_price)," ₽"]}),l.jsx("svg",{className:`${Be.chevron} ${c?Be.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:`${Be.bodyOuter} ${c?Be.bodyOuterOpen:""}`,children:l.jsx("div",{className:Be.bodyInner,children:l.jsxs("div",{className:Be.body,children:[l.jsxs("div",{className:Be.col,children:[l.jsx("p",{className:Be.colTitle,children:"Заказ"}),l.jsx(Ya,{label:"Сумма USDT",value:`${r.usdt_amount} USDT`}),l.jsx(Ya,{label:"Курс обмена",value:`1 USDT = ${r.usdt_exchange_rate} ₽`}),l.jsx(Ya,{label:"Сервисный сбор",value:`${r.service_fee} USDT`}),l.jsx(Ya,{label:"Комиссия за газ",value:`${r.gas_fee} USDT`}),l.jsx(Ya,{label:"Итого к оплате",value:`${gp(r.total_price)} ₽`,emphasised:!0})]}),l.jsxs("div",{className:Be.col,children:[l.jsx("p",{className:Be.colTitle,children:"Платёж"}),d?l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:Be.infoRow,children:[l.jsx("span",{className:Be.infoLabel,children:"Статус"}),l.jsx(yp,{status:d.status})]}),l.jsx(Ya,{label:"Оплачено",value:d.itpay_paid_amount||"—"}),l.jsx(Ya,{label:"Истекает",value:vp(d.expired_date)}),l.jsxs("div",{className:Be.infoRow,children:[l.jsx("span",{className:Be.infoLabel,children:"Хэш транзакции"}),l.jsxs("span",{className:Be.infoValueRow,children:[l.jsx("span",{className:Be.infoValue,title:d.web3_transaction_hash||void 0,children:AR(d.web3_transaction_hash)}),d.web3_transaction_hash&&l.jsx(FR,{value:d.web3_transaction_hash})]})]}),l.jsxs("div",{className:Be.infoRow,children:[l.jsx("span",{className:Be.infoLabel,children:"Чек"}),d.receipt_cloudekassir_link?l.jsx("a",{href:d.receipt_cloudekassir_link,target:"_blank",rel:"noopener noreferrer",className:Be.infoLink,children:"Открыть →"}):l.jsx("span",{className:Be.infoValue,children:"—"})]})]}):l.jsx("div",{className:Be.infoRow,children:l.jsx("span",{className:Be.infoValue,children:"—"})})]})]})})})]})}function Ya({label:s,value:c,emphasised:i}){return l.jsxs("div",{className:`${Be.infoRow} ${i?Be.infoRowTotal:""}`,children:[l.jsx("span",{className:Be.infoLabel,children:s}),l.jsx("span",{className:Be.infoValue,children:c})]})}const fA="_list_gxp0d_1",hA="_empty_gxp0d_9",mA="_status_gxp0d_16",pA="_statusError_gxp0d_23",vA="_loadMore_gxp0d_30",gA="_loadMoreBtn_gxp0d_38",Ks={list:fA,empty:hA,status:mA,statusError:pA,loadMore:vA,loadMoreBtn:gA};function _A(){const{data:s,isLoading:c,isError:i,fetchNextPage:r,hasNextPage:d,isFetchingNextPage:f}=N6(),v=(s==null?void 0:s.pages.flatMap(_=>_.orders))??[];return c?l.jsx("p",{className:Ks.status,children:"Загрузка..."}):i?l.jsx("p",{className:Ks.statusError,children:"Не удалось загрузить транзакции. Попробуйте обновить страницу."}):v.length===0?l.jsx("p",{className:Ks.empty,children:"У вас пока нет транзакций."}):l.jsxs(l.Fragment,{children:[l.jsx("div",{className:Ks.list,children:v.map(_=>l.jsx(dA,{item:_},_.order.id))}),d&&l.jsx("div",{className:Ks.loadMore,children:l.jsx("button",{className:Ks.loadMoreBtn,onClick:()=>r(),disabled:f,type:"button",children:f?"Загрузка...":"Загрузить ещё"})})]})}const yA="_inner_1rs5c_1",xA="_glow_1rs5c_9",bA="_title_1rs5c_21",p2={inner:yA,glow:xA,title:bA};function jA(){return l.jsxs("div",{className:p2.inner,children:[l.jsx("div",{className:p2.glow}),l.jsx("h1",{className:p2.title,children:"Транзакции"}),l.jsx(_A,{})]})}const SA="_page_uz94v_1",NA="_main_uz94v_8",wA="_center_uz94v_13",co={page:SA,main:NA,center:wA};function xp({footer:s=!1,center:c=!1}){return l.jsxs("div",{className:co.page,children:[l.jsx(Ro,{}),l.jsx("main",{className:c?`${co.main} ${co.center}`:co.main,children:l.jsx(Z2,{})}),s&&l.jsx(rs,{})]})}function CA(){const{pathname:s}=Nn();return j.useEffect(()=>{window.scrollTo(0,0)},[s]),null}function EA(){const{isAuthenticated:s,isLoading:c}=_3(),i=Nn();return c?null:s?l.jsx(Z2,{}):l.jsx(No,{to:de.LOGIN,state:{from:i},replace:!0})}function TA(){var d,f;const{isAuthenticated:s,isLoading:c}=_3(),r=((f=(d=Nn().state)==null?void 0:d.from)==null?void 0:f.pathname)??de.WALLET;return c?null:s?l.jsx(No,{to:r,replace:!0}):l.jsx(Z2,{})}function RA(){return l.jsxs(J4,{children:[l.jsx(CA,{}),l.jsxs(R4,{children:[l.jsx(et,{path:de.HOME,element:l.jsx(Ob,{})}),l.jsx(et,{path:de.PUBLICHNAYA_OFERTA,element:l.jsx(DT,{})}),l.jsx(et,{path:de.POLITIKA_PERSONALNYH_DANNYH,element:l.jsx(ZT,{})}),l.jsx(et,{path:de.POLITIKA_COOKIE,element:l.jsx(sR,{})}),l.jsx(et,{path:de.SOGLASIE_PERSONALNYH_DANNYH,element:l.jsx(gR,{})}),l.jsx(et,{path:de.REESTR_PD_RKN,element:l.jsx(RR,{})}),l.jsx(et,{path:de.REGISTER_TEST,element:l.jsx(kC,{})}),l.jsx(et,{path:de.CONVERTER_TEST,element:l.jsx(JC,{})}),l.jsxs(et,{element:l.jsx(TA,{}),children:[l.jsx(et,{path:de.LOGIN,element:l.jsx(eC,{})}),l.jsx(et,{path:de.REGISTER,element:l.jsx(pC,{})}),l.jsx(et,{path:de.RESTORE_PASSWORD,element:l.jsx(NT,{})})]}),l.jsxs(et,{element:l.jsx(EA,{}),children:[l.jsx(et,{element:l.jsx(xp,{footer:!0,center:!0}),children:l.jsx(et,{path:de.CONVERTER,element:l.jsx(bE,{})})}),l.jsxs(et,{element:l.jsx(xp,{footer:!0}),children:[l.jsx(et,{path:de.SWAP,element:l.jsx(aN,{})}),l.jsx(et,{path:de.BRIDGE,element:l.jsx(ON,{})}),l.jsx(et,{path:de.TRANSACTIONS,element:l.jsx(jA,{})})]}),l.jsx(et,{path:de.WALLET,element:l.jsx(Zm,{})}),l.jsx(et,{path:de.WALLET_CHAIN,element:l.jsx(Zm,{})}),l.jsx(et,{path:de.PROFILE,element:l.jsx(kw,{})}),l.jsx(et,{path:de.SEED_PHRASE,element:l.jsx(VE,{})}),l.jsx(et,{path:de.KYC,element:l.jsx(dT,{})})]})]})]})}const AA=new Kx({defaultOptions:{queries:{retry:!1}}});function MA({children:s}){return l.jsx(Px,{client:AA,children:s})}function OA(){return l.jsx(MA,{children:l.jsx(RA,{})})}R_.createRoot(document.getElementById("root")).render(l.jsx(j.StrictMode,{children:l.jsx(OA,{})}));
|