@broxus/tvm-connect
Version:
Nekoton-compatible wallets connector.
1 lines • 312 kB
JavaScript
"use strict";var k=require("classnames"),p1=require("mobx-react-lite"),Ce=require("react"),h1=require("react-intl"),s=require("@broxus/js-utils"),y=require("mobx"),V=require("@broxus/js-core"),n1=require("everscale-inpage-provider"),m2=require("@rc-component/util/lib/omit"),pe=require("@rc-component/input-number"),z=require("lightweight-charts"),C2=require("luxon"),de=require("copy-to-clipboard");require("bignumber.js");require("d3");var ue=require("react-dom");require("react-waypoint");var X1=require("@rc-component/select"),me=require("@rc-component/trigger"),Le=require("@rc-component/drawer"),fe=require("@rc-component/dialog");function L2(r){var t=Object.create(null);return r&&Object.keys(r).forEach(function(n){if(n!=="default"){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}}),t.default=r,Object.freeze(t)}var e=L2(Ce),Ee=L2(ue);const he="div",i1=e.forwardRef((r,t)=>{const{component:n=he,...o}=r;return e.createElement(n,{ref:t,...o})});e.createContext(void 0);const f2=e.createContext({breakpoints:{"2xl":2560,"3xl":3440,l:1200,m:960,s:640,xl:1600,xs:480},getRootPrefixCls(r,t){return`${r?`${r}-`:`${this.prefixCls}-`}${t??""}`},getTooltipConfig(r){return r==null?{}:typeof r=="string"?{"data-uk-tooltip":`title: ${r}`}:{"data-uk-tooltip":[r.title?`title: ${r.title}`:!1,r.animation?`animation: ${r.animation}`:!1,r.cls?`cls: ${r.cls}`:!1,r.delay!==void 0?`delay: ${r.delay}`:!1,r.duration!==void 0?`duration: ${r.duration}`:!1,r.offset?`offset: ${r.offset}`:!1,r.pos?`pos: ${r.pos}`:!1].filter(Boolean).join(";")}},prefixCls:"uk"});function I(){return e.useContext(f2)}process.env.NODE_ENV!=="production"&&(f2.displayName="ConfigContext");const ve="a",b1=e.forwardRef((r,t)=>{const n=I(),{children:o,className:i,prefixCls:a=n.prefixCls,type:l,...c}=r,d=e.useMemo(()=>n.getRootPrefixCls(a||n.prefixCls,"link"),[n,a]);return e.createElement(i1,{ref:t,className:k({[`${d}-${l}`]:l!==void 0},i),component:ve,...c},o)});process.env.NODE_ENV!=="production"&&(b1.displayName="Link");function E2(r){return e.createElement("li",{...r})}process.env.NODE_ENV!=="production"&&(E2.displayName="List.Item");function ge(r){const t=I(),{className:n,color:o,prefixCls:i=t.prefixCls,size:a,type:l,...c}=r,d=e.useMemo(()=>t.getRootPrefixCls(i||t.prefixCls,"list"),[t,i]);return e.createElement("ul",{className:k(d,{[`${d}-${o}`]:o!==void 0,[`${d}-${a}`]:a!==void 0,[`${d}-${l}`]:l!==void 0},n),...c})}const d1=ge;d1.Item=E2;const ye="span";function Q1(r){const t=I(),{children:n,className:o,icon:i,material:a=!0,mode:l,prefixCls:c=t.prefixCls,round:d,type:p,...u}=r,C=e.useMemo(()=>t.getRootPrefixCls(c||t.prefixCls,"icon"),[t,c]);return i?e.createElement(i1,{className:k(C,{[`${C}-button`]:p==="button",[`${C}-material`]:a,[`${C}-round`]:a&&d,[`${C}-${l}`]:l!==void 0},o),component:ye,...u},a?e.createElement("i",null,i):n):null}function h2(r){return e.createElement(Q1,{...r,component:"button",role:"button",type:"button"})}process.env.NODE_ENV!=="production"&&(h2.displayName="Icon.Button");function v2(r){return e.createElement(Q1,{...r,component:"a",role:"button",type:"link"})}process.env.NODE_ENV!=="production"&&(v2.displayName="Icon.Link");const v={fill:"none",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};function Me(r,t,n=1){return{height:r*n,width:t*n}}const t1=Q1;t1.Button=h2;t1.Link=v2;function Ne(r){return r??""}function g2(r){const t=I(),n=e.useRef(null),{className:o,direction:i=t.control?.direction||t.direction,prefixCls:a=t.control?.prefixCls??t.prefixCls,size:l,state:c,useInternalValueState:d=!0,onChange:p,onClear:u,onPressEnter:C,...L}=r,[E,g]=e.useState(!1),[f,N]=e.useState(d?L.value||L.defaultValue:void 0),M=e.useCallback(S=>{d&&N(typeof S=="string"||typeof S=="number"?S:S.target.value),p?.(S)},[p,d]),O=e.useCallback(S=>{n.current&&(n.current.value=""),u?.(S),M(S)},[M,u]),A=e.useCallback(S=>{g(!1),L.onBlur?.(S)},[L]),R=e.useCallback(S=>{g(!0),L.onFocus?.(S)},[L]),G=e.useCallback(S=>{C&&(S.keyCode===13||S.key==="Enter")&&C(S),L.onKeyDown?.(S)},[C,L]),r1=e.useMemo(()=>({...L,prefixCls:a,value:Ne(f||L.value),onBlur:A,onChange:M,onClear:O,onFocus:R,onKeyDown:G}),[L,a,f,A,M,O,R,G]),$=e.useMemo(()=>t.getRootPrefixCls(a,"control"),[t,a]),U=e.useMemo(()=>k($,{[`${$}-${L.type}`]:L.type,[`${$}-${l}`]:l,[`${$}-${c}`]:c,[`${$}-rtl`]:i==="rtl",[`${a}-disabled`]:L.disabled,[`${a}-focused`]:E,[`${a}-readonly`]:L.readOnly},o),[$,L.type,L.disabled,L.readOnly,l,c,i,a,E,o]);return e.useEffect(()=>{d&&N(L.value)},[L.value,d]),{...r1,inputRef:n,wrapperClasses:U}}const Y1=e.forwardRef((r,t)=>{const n=I(),{allowClear:o,htmlSize:i,inputRef:a,prefix:l,prefixCls:c,suffix:d,wrapperClasses:p,onClear:u,...C}=g2({type:"text",...r}),L=e.useMemo(()=>n.getRootPrefixCls(c,"input"),[n,c]),E=e.useMemo(()=>n.getRootPrefixCls(c,"control"),[n,c]),g=m2({...C,className:k(L,{[`${c}-empty`]:!C.value})},["dir","size"]),f=e.useMemo(()=>typeof n.control?.clearIcon=="function"?n.control.clearIcon({onClick:N=>{u?.(N)}}):e.isValidElement(n.control?.clearIcon)?n.control.clearIcon:typeof n.controlClearIcon=="function"?n.controlClearIcon({onClick:N=>{u?.(N)}}):e.isValidElement(n.controlClearIcon)?n.controlClearIcon:e.createElement(t1,{key:"clearfix-icon",icon:"close",className:`${E}-clear`,onClick:u}),[n,E,u]);return e.useImperativeHandle(t,()=>({blur(){a.current?.blur()},focus(){a.current?.focus()},getInputRef(){return a}}),[a]),e.createElement("label",{className:p,htmlFor:C.id},l&&e.createElement("span",{key:"prefix",className:`${E}-prefix`},l),e.createElement("span",{key:"input",className:`${E}-input`},e.createElement("input",{ref:a,...g,size:i,type:C.type})),o&&C.value&&f,d&&e.createElement("span",{key:"suffix",className:`${E}-suffix`},d))});process.env.NODE_ENV!=="production"&&(Y1.displayName="Input");const y2=e.forwardRef((r,t)=>{const n=I(),{inputRef:o,prefixCls:i,wrapperClasses:a,...l}=g2({...r,type:"number"});e.useImperativeHandle(t,()=>({blur(){o.current?.blur()},focus(){o.current?.focus()},getInputRef(){return o}}));const c=e.useMemo(()=>n.getRootPrefixCls(i,"number"),[n,i]),d=e.useMemo(()=>n.getRootPrefixCls(i,"control"),[n,i]),p=e.useMemo(()=>e.createElement(t1,{icon:"keyboard_arrow_up",className:`${c}-handler-up-inner`}),[c]),u=e.useMemo(()=>e.createElement(t1,{icon:"keyboard_arrow_down",className:`${c}-handler-down-inner`}),[c]),C=m2({...l,className:`${c}-wrapper`},["allowClear","prefix","size","suffix","onClear"]);return e.createElement("label",{className:a,htmlFor:l.id},e.createElement("div",{className:`${d}-input`},e.createElement(pe,{...C,downHandler:u,prefixCls:c,ref:o,upHandler:p})))});process.env.NODE_ENV!=="production"&&(y2.displayName="Input.Number");const M2=e.forwardRef((r,t)=>{const n=I(),{prefixCls:o=n.control?.prefixCls??n.prefixCls,onBlur:i,onChange:a,...l}=r,c=e.useRef(null),d=e.useRef(null),[p,u]=e.useState(!1),C=e.useMemo(()=>n.getRootPrefixCls(o,"control"),[n,o]),L=e.useCallback(()=>{d.current=setTimeout(()=>{const O=c?.current?.getInputRef()?.current;O?.getAttribute("type")==="password"&&O?.hasAttribute("value")&&O?.removeAttribute("value")})},[]),E=e.useCallback(()=>{u(!p),l.onVisibilityChange?.(!p)},[l,p]),g=e.useCallback(O=>{L(),a?.(O)},[a,L]),f=e.useCallback(O=>{L(),i?.(O)},[i,L]),N=e.useCallback(O=>{L(),l.onFocus?.(O)},[L,l]);e.useImperativeHandle(t,()=>({blur(){c.current?.blur()},focus(){c.current?.focus()},getInputRef(){return c.current?c.current.getInputRef():null}})),e.useEffect(()=>(L(),()=>{d.current&&clearTimeout(d.current)}),[L]);const M=e.useMemo(()=>e.createElement(e.Fragment,null,e.createElement(t1,{key:"toggle_visibility_icon",icon:p?l.iconVisibility??"visibility":l.iconVisibilityOff??"visibility_off",className:`${C}-password-icon`,onClick:E,onMouseDown:s.preventEvent,onMouseUp:s.preventEvent}),l.suffix),[C,l.iconVisibility,l.iconVisibilityOff,l.suffix,E,p]);return e.createElement(Y1,{...l,suffix:M,type:p?"text":"password",ref:c,onChange:g,onBlur:f,onFocus:N})});process.env.NODE_ENV!=="production"&&(M2.displayName="Input.Password");const J1=Y1;J1.Number=y2;J1.Password=M2;function ke(r){const t=r===!0?0:1;return{"bottom-left":{htmlRegion:"scroll",offset:[0,4],overflow:{adjustX:t,adjustY:1},points:["tl","bl"]},"bottom-right":{htmlRegion:"scroll",offset:[0,4],overflow:{adjustX:t,adjustY:1},points:["tr","br"]},"top-left":{htmlRegion:"scroll",offset:[0,-4],overflow:{adjustX:t,adjustY:1},points:["bl","tl"]},"top-right":{htmlRegion:"scroll",offset:[0,-4],overflow:{adjustX:t,adjustY:1},points:["br","tr"]}}}function e2(r){const t=I(),{className:n,prefixCls:o=t.prefixCls,ratio:i,...a}=r;return e.createElement("div",{className:k([`${o||t.prefixCls}-spinner`,`${o||t.prefixCls}-icon`],n),role:"status",...a},e.createElement("svg",{...v,...Me(20,20,i),viewBox:"0 0 30 30"},e.createElement("circle",{fill:"none",stroke:"currentColor",cx:15,cy:15,r:13,style:{strokeWidth:`${(2/(i??1)).toFixed(6)}px`}})))}const N2="SECRET_COMBOBOX_MODE_DO_NOT_USE";function we(r,t){const n=I(),{allowClear:o,direction:i=n.select?.direction||n.direction,popupMatchSelectWidth:a,builtinPlacements:l=ke(a),className:c,listHeight:d=256,listItemHeight:p=24,placement:u="bottom-left",prefixCls:C=n.select?.prefixCls||n.prefixCls,showArrow:L=!0,showSearch:E=!1,onPressEnter:g,...f}=r,N=e.useRef(null),M=e.useRef(null),[O,A]=e.useState(!1),[R,G]=e.useState(f.defaultOpen||f.open||!1),[r1,$]=e.useState(2),U=e.useCallback(x=>{A(!1),G(!1),f.onBlur?.(x)},[f]),S=e.useCallback(x=>{A(!0),f.onFocus?.(x)},[f]),e1=e.useCallback(x=>{x.keyCode===13?(G(!0),g?.(x)):x.keyCode===32&&G(!0),f.onKeyDown?.(x)},[g,f]),Q=e.useCallback(x=>{G(x),f.onPopupVisibleChange?.(x)},[f]),b=e.useCallback(()=>{G(!R)},[R]);e.useEffect(()=>{G(f.defaultOpen||f.open||R)},[f.open,f.defaultOpen,R]),e.useEffect(()=>{const x=M.current?.firstElementChild;if(x){let X=parseInt(getComputedStyle?.(x).getPropertyValue("border-left-width"),10);i!=="rtl"&&(X*=-1),$(X)}},[i]);const P=e.useMemo(()=>n.getRootPrefixCls(C||n.select?.prefixCls||n.prefixCls,"select"),[n,C]),_=e.useMemo(()=>n.getRootPrefixCls(C||n.select?.prefixCls||n.prefixCls,"control"),[n,C]),W=e.useMemo(()=>{const{mode:x}=f;if(x!=="combobox")return x===N2?"combobox":x},[f]),Y=e.useMemo(()=>k([_,`${_}-select`],{[`${_}-${f.size}`]:f.size,[`${_}-rtl`]:i==="rtl",[`${C||n.select?.prefixCls||n.prefixCls}-focused`]:O,[`${C||n.select?.prefixCls||n.prefixCls}-disabled`]:f.disabled},c),[c,n.select?.prefixCls,n.prefixCls,_,O,C,i,f.disabled,f.size]),J=e.useMemo(()=>{let x;f.loading?typeof n.select?.loadingIcon=="function"?x=n.select.loadingIcon():e.isValidElement(n.select?.loadingIcon)?x=n.select.loadingIcon:x=e.createElement(e2,{key:"spinner",ratio:.7}):L&&(W==="multiple"||W==="tags"?typeof n.select?.addIcon=="function"?x=n.select.addIcon({onClick:b}):e.isValidElement(n.select?.addIcon)?x=n.select.addIcon:x=e.createElement(t1,{key:"add_box",icon:"add_box",onClick:b}):E&&R?typeof n.select?.searchIcon=="function"?x=n.select.searchIcon():e.isValidElement(n.select?.searchIcon)?x=n.select.searchIcon:x=e.createElement(t1,{key:"manage_search",icon:"manage_search"}):typeof n.select?.arrowIcon=="function"?x=n.select.arrowIcon({isOpen:R,onClick:b}):e.isValidElement(n.select?.arrowIcon)?x=n.select.arrowIcon:x=R?e.createElement(t1,{key:"expand_less",icon:"expand_less"}):e.createElement(t1,{key:"expand_more",icon:"expand_more",onClick:b}));let X;f.notFoundContent!==void 0?X=f.notFoundContent:W==="combobox"&&(X=null),typeof n.select?.notFoundContent=="function"?X=n.select.notFoundContent():e.isValidElement(n.select?.notFoundContent)&&(X=n.select.notFoundContent);let q=e.createElement(t1,{icon:"clear"});return typeof n.select?.clearIcon=="function"?q=n.select.clearIcon():e.isValidElement(n.select?.clearIcon)&&(q=n.select.clearIcon),{allowClear:(o||o===void 0)&&{clearIcon:q},listHeight:d,listItemHeight:p,menuItemSelectedIcon:e.createElement(t1,{icon:"check"}),open:R,prefixCls:P,removeIcon:e.createElement(t1,{icon:"clear"}),showSearch:E,suffixIcon:x,transitionName:`${C||n.select?.prefixCls||n.prefixCls}-motion-slide-bottom-small`,...f,notFoundContent:X,popupClassName:k(f.popupClassName,{[`${C||n.select?.prefixCls||n.prefixCls}-dropdown-rtl`]:i==="rtl"}),popupMatchSelectWidth:!0,onBlur:U,onFocus:S,onKeyDown:e1,onPopupVisibleChange:Q}},[f,L,W,n,o,d,p,R,P,E,C,i,U,S,e1,b,Q]);return e.useImperativeHandle(t,()=>({blur(){N.current?.blur()},focus(){N.current?.focus()},scrollTo(){return N.current?.scrollTo}})),e.createElement("label",{ref:M,className:Y,htmlFor:f.id},e.createElement(X1,{ref:N,builtinPlacements:l,popupAlign:{offset:[r1,5]},placement:u,...J,mode:W}))}const I1=e.forwardRef(we);I1.SECRET_COMBOBOX_MODE_DO_NOT_USE=N2;I1.Option=X1.Option;I1.OptGroup=X1.OptGroup;const _e="button",k2=e.forwardRef((r,t)=>{const n=I(),{component:o=_e,ghost:i,htmlType:a="button",prefixCls:l=n.button?.prefixCls??n.prefixCls,shape:c=n.button?.shape??n.buttonShape,size:d=n.button?.size??n.buttonSize,type:p,...u}=r,C=e.useRef(null),L=e.useCallback(f=>{if(u.disabled){f.preventDefault();return}u.onClick?.(f)},[u]),E=e.useMemo(()=>n.getRootPrefixCls(l,"button"),[n,l]),g=e.useMemo(()=>k(E,{[`${E}-${p}`]:p!==void 0,[`${E}-ghost`]:i===!0,[`${E}-${d}`]:d!==void 0,[`${E}-${c}`]:c!==void 0&&["circle","round"].includes(c)},u.className),[E,p,i,d,c,u.className]);return u.href!==void 0?e.createElement(i1,{ref:t||C,component:b1,href:u.href,...u,className:g,onClick:L}):e.createElement(i1,{ref:t||C,component:o,type:a,...u,className:g,onClick:L})});process.env.NODE_ENV!=="production"&&(k2.displayName="Button");function w2(r){const t=I(),{className:n,prefixCls:o=t.button?.prefixCls||t.prefixCls,...i}=r,a=e.useMemo(()=>t.getRootPrefixCls(o||t.button?.prefixCls||t.prefixCls,"button-group"),[t,o]);return e.createElement("div",{className:k(a,n),...i})}process.env.NODE_ENV!=="production"&&(w2.displayName="Button.Group");const o1=k2;o1.Group=w2;const Oe="button";function _2(r){const t=I(),{className:n,prefixCls:o=t.prefixCls,...i}=r,a=e.useMemo(()=>t.getRootPrefixCls(o||t.prefixCls,"close"),[t,o]);return e.createElement(t1,{"aria-hidden":"false",className:k(a,n),component:Oe,tabIndex:-1,...i,icon:"close"})}process.env.NODE_ENV!=="production"&&(_2.displayName="Close");function T1(r,t,n={}){return Object.entries(n).map(([o,i])=>i?`${r}-${t}-${i}${o!=="default"?`@${o}`:""}`:"").join(" ").trim()}function x1(...r){s.addClass(document?.documentElement,k(r??"uk-modal-page"));try{const t=s.getScrollWidth();document.documentElement.dir==="rtl"?document.documentElement.style.paddingLeft=`${t}px`:document.documentElement.style.paddingRight=`${t}px`}catch{}}function j1(...r){s.removeClass(document?.documentElement,k(r??"uk-modal-page"));try{document.documentElement.style.paddingLeft="",document.documentElement.style.paddingRight=""}catch{}}function E1(r,t,n){return n!==void 0?n:`${r}-motion-${t}`}function xe(r,t){return t?{...t,motionEnter:!0,onEnterStart:(n,o)=>(s.addClass(n,`${r}-mask-active`),t.onEnterStart?.(n,o)),onLeaveStart:(n,o)=>(s.removeClass(n,`${r}-mask-active`),t.onEnterStart?.(n,o))}:{motionAppear:!0,motionDeadline:200,motionEnter:!0,motionName:E1(r,"fade"),onAppearEnd:(n,o)=>{s.addClass(n,`${r}-active`)},onEnterEnd:(n,o)=>{s.addClass(n,`${r}-active`)},onLeaveStart:(n,o)=>(s.removeClass(n,`${r}-active`),{opacity:0})}}function O2(r,t="uk"){if(typeof r=="string"||typeof r=="number")return typeof r=="string"&&["auto","expand"].includes(r)?`${t}-child-width-${r}`:`${t}-child-width-1-${r}`;if(typeof r=="object"&&!Array.isArray(r))return Object.entries(r).map(([n,o])=>`${O2(o)}${n!=="default"?`@${n}`:""}`).join(" ")}const be="div";function t2(r){const t=I(),{childWidth:n,className:o,columnGap:i,divider:a,gap:l,margin:c,match:d,prefixCls:p=t.prefixCls,rowGap:u,...C}=r,L=e.useMemo(()=>O2(n),[n]),E=e.useMemo(()=>t.getRootPrefixCls(p||t.prefixCls,"grid"),[t,p]);return e.createElement(i1,{className:k(E,{[`${E}-${l}`]:l!==void 0,[`${E}-row-${u}`]:u!==void 0,[`${E}-column-${i}`]:i!==void 0,[`${E}-margin-${c}`]:c!==void 0,[`${E}-divider`]:a,[`${E}-match`]:d},L,o),component:be,"data-uk-grid":"margin: ",...C})}function x2(r){const t=e.useContext(r);if(t==null)throw new Error(`use${r.displayName||r.constructor.name||"Unknown"} must be used within a ${r.displayName||r.constructor.name||"Unknown"}.Provider`);return t}function b2(){const[,r]=e.useReducer(t=>t+1,0);return r}const L1={adjustX:1,adjustY:1},f1=[0,0],Te={"bottom-center":{offset:[0,4],overflow:L1,points:["tc","bc"],targetOffset:f1},"bottom-left":{offset:[0,4],overflow:L1,points:["tl","bl"],targetOffset:f1},"bottom-right":{offset:[0,4],overflow:L1,points:["tr","br"],targetOffset:f1},"top-center":{offset:[0,-4],overflow:L1,points:["bc","tc"],targetOffset:f1},"top-left":{offset:[0,-4],overflow:L1,points:["bl","tl"],targetOffset:f1},"top-right":{offset:[0,-4],overflow:L1,points:["br","tr"],targetOffset:f1}},T2=e.forwardRef((r,t)=>{const n=I(),{action:o=["hover"],align:i,alignPoint:a,arrow:l=!1,autoDestroy:c,builtinPlacements:d=Te,children:p,defaultVisible:u,getPopupContainer:C=n.getPopupContainer,hideAction:L=o,maskMotion:E,motion:g,minOverlayWidthMatchTrigger:f,openClassName:N,overlay:M,overlayClassName:O,overlayStyle:A,prefixCls:R=n.prefixCls,placement:G="bottom-left",rootCls:r1,showAction:$=o,visible:U,onAlign:S,onOverlayClick:e1,onVisibleChange:Q,...b}=r,P=e.useRef(null),[_,W]=e.useState(u),Y="visible"in b?U:_,J=e.useMemo(()=>r1??n.getRootPrefixCls(R||n.prefixCls,"drop"),[n,R,r1]),x=e.useCallback(_1=>{W(_1),Q?.(_1)},[Q]),X=e.useCallback(()=>typeof M=="function"?M():M,[M]),q=e.useCallback(()=>e.createElement(e.Fragment,null,l&&e.createElement("div",{className:`${J}-arrow`}),e.cloneElement(X(),{onClick:e1})),[l,X,e1,J]),u1=e.useCallback(()=>typeof M=="function"?q():q,[q,M]),m1=e.useCallback(()=>f!==void 0?f:!a,[a,f]),j=e.useCallback(()=>{const _1=p.props,ce=k(_1?.className,`${R||n.prefixCls}-open`);return _&&p?e.cloneElement(p,{className:ce}):p},[p,n.prefixCls,R,_]);e.useImperativeHandle(t,()=>({close(){W(!1)},open(){W(!0)},triggerRef:P.current}));let s1=Array.isArray(L)?L:[L];return!s1&&o.indexOf("contextMenu")>-1&&(s1=["click"]),e.createElement(me,{ref:P,action:o,autoDestroy:c,builtinPlacements:d,getPopupContainer:C,hideAction:s1||[],maskMotion:xe(R||n.prefixCls,E),mouseLeaveDelay:.2,popup:u1(),popupAlign:i,popupClassName:k(O,{[`${J}-show-arrow`]:l,[N??""]:Y}),popupMotion:{forceRender:!0,motionDeadline:300,motionName:E1(R||n.prefixCls,"slide-bottom-small"),...g},popupPlacement:G,popupStyle:A,popupVisible:Y,prefixCls:J,showAction:Array.isArray($)?$:[$],stretch:m1()?"minWidth":"",...b,onPopupAlign:S,onOpenChange:x},j())});process.env.NODE_ENV!=="production"&&(T2.displayName="Drop");const V2=e.forwardRef((r,t)=>{const n=I(),{children:o,prefixCls:i=n.prefixCls,...a}=r,l=e.useMemo(()=>n.getRootPrefixCls(i||n.prefixCls,"dropdown"),[n,i]);return e.createElement(T2,{ref:t,...a,rootCls:l},o)});process.env.NODE_ENV!=="production"&&(V2.displayName="Dropdown");let z1;const Ve=r=>{z1={x:r.pageX,y:r.pageY},setTimeout(()=>{z1=null},100)};s.canUseDocElement()&&document.documentElement.addEventListener("click",Ve,!0);function Ie(r){const t=I(),{centered:n,children:o,className:i,closable:a=!0,closeIcon:l,focusTriggerAfterClose:c=!0,full:d,prefixCls:p=t.prefixCls,visible:u,onClose:C,onClosed:L,...E}=r,g=e.useMemo(()=>t.getRootPrefixCls(p||t.prefixCls,"modal"),[t,p]),f=e.useMemo(()=>E1(p||t.prefixCls,"fade"),[t.prefixCls,p]),N=e.useMemo(()=>E1(p||t.prefixCls,"zoom"),[t.prefixCls,p]);return e.createElement(fe,{className:k(i,{[`${g}-centered`]:n&&!d,[`${g}-full`]:d&&!n}),focusTriggerAfterClose:c,maskTransitionName:f,mousePosition:z1,prefixCls:g,transitionName:N,visible:u,...E,onClose:C,afterClose:L,classNames:{...E.classNames,section:k(`${g}-content`,E.classNames?.section)},closable:!1,closeIcon:null},a&&(l||e.createElement(_2,{className:k({[`${g}-close-default`]:!d,[`${g}-close-full`]:d}),component:"button",onClick:C})),o)}const Ze={distance:180},I2=e.forwardRef((r,t)=>{const n=I(),{animation:o="slide",children:i,className:a,defaultOpen:l,destroyOnHidden:c,direction:d,getContainer:p=n.getPopupContainer,keyboard:u=!0,mask:C=!0,maskClosable:L=!0,motion:E,open:g,placement:f="right",prefixCls:N=n.prefixCls,push:M=Ze,size:O,rootClassName:A,rootStyle:R,trigger:G,onClose:r1,...$}=r,[U,S]=e.useState(l),[e1,Q]=e.useState(l),b=g===void 0?e1:g,P=typeof E=="function"?E(f):E,_=e.useMemo(()=>n.getRootPrefixCls(N||n.prefixCls,"drawer"),[n,N]),W=e.useMemo(()=>k({[`${_}-${o}`]:o!==void 0,[`${_}-animation`]:b||U,[`${_}-large`]:O==="large",[`${_}-rtl`]:d==="rtl","no-mask":!C},A),[_,o,b,U,O,d,C,A]),Y=e.useMemo(()=>k(`${_}-container`,{[`${_}-container-large`]:O==="large",[`${_}-container-${o}-${f}`]:f!==void 0&&["push","reveal"].includes(o)}),[_,O,f,o]),J=e.useMemo(()=>({onAppearPrepare:j=>{x1(`${_}-page`),s.addClass(document.body,Y),P?.onEnterPrepare?.(j)},onAppearStart:(j,s1)=>{["push","reveal"].includes(o)&&s.addClass(document.body,k({[`${_}-container-animation`]:o!==void 0})),S(!0),P?.onAppearStart?.(j,s1)},onEnterPrepare:j=>{x1(`${_}-page`),s.addClass(document.body,Y),P?.onEnterPrepare?.(j)},onEnterStart:(j,s1)=>{["push","reveal"].includes(o)&&s.addClass(document.body,k({[`${_}-container-animation`]:o!==void 0})),S(!0),P?.onAppearStart?.(j,s1)},onLeaveEnd:(j,s1)=>{j1(`${_}-page`),s.removeClass(document.body,Y),S(!1),P?.onLeaveEnd?.(j,s1)},onLeavePrepare:j=>{["push","reveal"].includes(o)&&s.removeClass(document.body,k({[`${_}-container-animation`]:o!==void 0})),P?.onLeavePrepare?.(j)}}),[o,P,Y,_]),x=e.useCallback(j=>{Q(!1),r1?.(j)},[r1]),X=e.useCallback(()=>{Q(!1)},[]),q=e.useCallback(()=>{x1(`${_}-page`),s.addClass(document.body,Y),Q(!0)},[Y,_]),u1=e.useCallback(()=>{j1(`${_}-page`),s.removeClass(document.body,Y,`${_}-container-animation`)},[Y,_]);e.useImperativeHandle(t,()=>({collapse:X,expand:q,isOpen:b}),[X,q,b]);const m1=e.useCallback(j=>({motionAppear:!0,motionEnter:!0,motionLeave:!0,motionName:E1(N||n.prefixCls,`drawer-${o}-${j}`),...P,...J}),[o,n.prefixCls,P,J,N]);return e.useEffect(()=>u1,[u1]),e.createElement(e.Fragment,null,G?.({collapse:X,expand:q,isOpen:!!b}),e.createElement(Le,{className:a,destroyOnHidden:c,keyboard:u,getContainer:p,mask:C,maskClosable:L,maskMotion:{motionName:E1(N||n.prefixCls,"drawer-fade")},motion:m1,open:b,placement:f,prefixCls:_,push:M,rootClassName:W,rootStyle:{...R,display:b||U?"block":""},onClose:x,...$,classNames:{...$.classNames,section:k(`${_}-content`,$.classNames?.section)}},i))});process.env.NODE_ENV!=="production"&&(I2.displayName="Drawer");var c1;(function(r){r.Dark="dark",r.Light="light"})(c1||(c1={}));c1.Dark+"",c1.Light+"";const Se=e.createContext(null),Pe="colorMode";e.memo(({children:r,defaultColorMode:t=c1.Dark,globalDarkClassName:n="tm-dark",globalLightClassName:o="tm-light",primaryColorDark:i,primaryColorLight:a,storageKey:l=Pe})=>{const[c,d]=e.useState(()=>s.storage.get(l)||(t??c1.Dark)),p=e.useMemo(()=>({colorMode:c,logoColor:c===c1.Dark?a:i,setColorMode:C=>{d(C),s.storage.set(l,C)}}),[c,i,a,l]),u=e.useCallback(C=>{C.key===l&&C.newValue!=null&&d(C.newValue)},[l]);return e.useEffect(()=>{s.removeClass(document.documentElement,o,n),s.addClass(document.documentElement,c===c1.Dark?o:n)},[c,n,o]),e.useEffect(()=>(s.isBrowser()&&window.addEventListener("storage",u),()=>{s.isBrowser()&&window.removeEventListener("storage",u)}),[u]),e.createElement(Se.Provider,{value:p},r)});const Re="span";function a1(r){const t=I(),{align:n,className:o,color:i,column:a,decoration:l,dropcap:c,italic:d,kind:p,prefixCls:u=t.prefixCls,size:C,transform:L,verticalAlign:E,weight:g,wrap:f,...N}=r,M=e.useMemo(()=>t.getRootPrefixCls(u||t.prefixCls,"text"),[t,u]),O=e.useMemo(()=>typeof n=="string"?`${M}-${n}`:T1(u||t.prefixCls,"align",n),[n,t.prefixCls,u,M]),A=e.useMemo(()=>typeof a=="number"?`${u||t.prefixCls}-column-1-${a}`:T1(u||t.prefixCls,"column-1",a),[a,t.prefixCls,u]);return e.createElement(i1,{className:k(A,O,{[`${u||t.prefixCls}-dropcap`]:c,[`${M}-${i}`]:i&&["muted","emphasis","primary","secondary","tertiary","success","warning","danger"].includes(i),[`${M}-${p}`]:p&&["meta","lead","base"].includes(p),[`${M}-${C}`]:C&&["xsmall","small","large"].includes(C),[`${M}-${L}`]:L&&["capitalize","uppercase","lowercase"].includes(L),[`${M}-${E}`]:E&&["top","middle","bottom","baseline"].includes(E),[`${M}-${g}`]:g&&["thin","light","normal","medium","semibold","bold","lighter","bolder"].includes(g),[`${M}-${f}`]:f&&["truncate","break","nowrap"].includes(f),[`${M}-decoration-none`]:l==="none",[`${M}-italic`]:d},o),component:Re,...N})}const Z2=e.createContext({getRootCls(){}}),He="div",p2=new Map([["around","around"],["between","between"],["end","right"],["center","middle"],["start","left"],["stretch","stretch"]]),d2=new Map([["end","bottom"],["center","middle"],["start","top"],["stretch","stretch"]]),V1=new Map([["around","around"],["between","between"],["end","right"],["center","center"],["start","left"]]);function Ae(r){const t={};for(const n in r)V1.has(r[n])&&(t[n]=V1.get(r[n]));return t}function Be(r){const t=I(),{alignContent:n,alignItems:o,className:i,flexDirection:a,flexWrap:l,inline:c,justifyContent:d,prefixCls:p=t.prefixCls,...u}=r,C=e.useMemo(()=>t.getRootPrefixCls(p||t.prefixCls,"flex"),[t,p]),L=e.useMemo(()=>typeof d=="string"?V1.has(d)?`${C}-${V1.get(d)}`:"":T1(p||t.prefixCls,"flex",Ae(d||{})),[t.prefixCls,d,p,C]),E=e.useMemo(()=>({getRootCls(){return C}}),[C]);return e.createElement(Z2.Provider,{value:E},e.createElement(i1,{className:k({[C]:!c,[`${C}-inline`]:c,[`${C}-${d2.get(o)}`]:o&&d2.has(o),[`${C}-${a}`]:a!==void 0,[`${C}-${l}`]:l!==void 0,[`${C}-wrap-${p2.get(n)}`]:n&&p2.has(n)},L,i),component:He,...u}))}const De="div";function Fe(r){const t=I(),{getRootCls:n}=e.useContext(Z2),{className:o,itemDimensions:i,order:a,prefixCls:l=n(),...c}=r,d=e.useMemo(()=>typeof a=="string"?`${l}-${a}`:T1(l||t.prefixCls,"flex",a),[t.prefixCls,a,l]);return e.createElement(i1,{className:k({[`${l}-${i}`]:i!==void 0},d,o),component:De,...c})}const N1=Be;N1.Item=Fe;const $e=[{cx:3,cy:3,fill:0,r:7},{cx:3,cy:13,fill:4,r:7},{cx:3,cy:23,fill:8,r:7},{cx:3,cy:33,fill:12,r:7},{cx:13,cy:3,fill:1,r:7},{cx:13,cy:13,fill:5,r:7},{cx:13,cy:23,fill:9,r:7},{cx:13,cy:33,fill:13,r:7},{cx:23,cy:3,fill:2,r:7},{cx:23,cy:13,fill:6,r:7},{cx:23,cy:23,fill:10,r:7},{cx:23,cy:33,fill:14,r:7},{cx:33,cy:3,fill:3,r:7},{cx:33,cy:13,fill:7,r:7},{cx:33,cy:23,fill:11,r:7},{cx:33,cy:33,fill:15,r:7}],Ue={default:32,large:40,medium:36,small:24,xsmall:20};function We(r){const t=r?!Number.isNaN(r*1):!1;return typeof r=="number"||t?r:Ue[r??"default"]}function je(r){const t=r.split(":")[1]??r.split("x")[1]??r,n=Math.floor((t.length>64?64:t.length)/16),o=[];for(let i=0;i<16;i++)o.push(`#${t[0]}${t[i*n]}${t[i*n+1]}${t[i*n+2]}${t[t.length-1]}${t[i*n+3]}`);return o}function r2(r){const t=I(),{address:n,className:o,size:i,tooltip:a}=r,l=e.useMemo(()=>je(n),[n]),c=e.useMemo(()=>We(i),[i]),d=e.useMemo(()=>`id${s.uniqueKey(7,n)}`,[n]),p=e.useMemo(()=>a?t.getTooltipConfig(a):void 0,[t,a]);return e.createElement("svg",{className:o,fill:"none",height:c,viewBox:"0 0 36 36",width:c,xmlns:"http://www.w3.org/2000/svg",...p},e.createElement("g",{clipPath:`url(#${d})`},$e.map(({fill:u,...C})=>e.createElement("circle",{key:`${Object.values(C).join()}${u}`,...C,fill:l[u]}))),e.createElement("defs",null,e.createElement("clipPath",{id:d},e.createElement("rect",{width:36,height:36,rx:18,fill:"white"}))))}process.env.NODE_ENV!=="production"&&(r2.displayName="AccountIcon");const ze=Z1({everCoinIcon:({ratio:r,...t})=>{const n=s.uniqueKey(7,"icon");return e.createElement("svg",{...B,...t,viewBox:"0 0 1200 1200",...m(20,20,r)},e.createElement("path",{d:"M0 600C0 268.629 268.63 0 600 0C931.373 0 1200 268.629 1200 600C1200 931.373 931.373 1200 600 1200C268.63 1200 0 931.373 0 600Z",className:"uk-preserve",fill:`url(#${n})`}),e.createElement("path",{d:"M459.3 300L187.5 574.792H629.321V1012.5L900 741.634V300H459.3Z",className:"uk-preserve",fill:"#fff"}),e.createElement("defs",null,e.createElement("linearGradient",{id:n,x1:1200,y1:-129529e-9,x2:109.123,y2:1082.26,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#FF6922"}),e.createElement("stop",{offset:"1",stopColor:"#6347F5"}))))},venomCoinIcon:({ratio:r,...t})=>{const n=s.uniqueKey(),o=s.uniqueKey(),i=s.uniqueKey(),a=s.uniqueKey(),l=s.uniqueKey(),c=s.uniqueKey(),d=s.uniqueKey();return e.createElement("svg",{...B,...t,viewBox:"0 0 32 32",...m(20,20,r)},e.createElement("circle",{className:"uk-preserve",cx:16,cy:16,r:16,fill:`url(#${o})`}),e.createElement("mask",{id:n,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:32,height:32},e.createElement("circle",{className:"uk-preserve",cx:16,cy:16,r:16,fill:`url(#${i})`})),e.createElement("g",{mask:`url(#${n})`},e.createElement("g",{filter:`url(#${c})`},e.createElement("path",{className:"uk-preserve",d:"M7.84 5.762c8.1-1.384 16.821 3.77 19.481 11.51 2.66 7.741-1.75 15.138-9.849 16.522-8.099 1.383-16.82-3.77-19.48-11.511S-.258 7.145 7.84 5.762Z",fill:`url(#${a})`})),e.createElement("g",{filter:`url(#${d}})`},e.createElement("path",{className:"uk-preserve",d:"M27.178 22.05c-6.322 5.248-16.452 5.145-22.625-.229-6.174-5.373-6.054-13.984.269-19.232 6.322-5.247 16.452-5.145 22.625.229 6.174 5.374 6.054 13.984-.268 19.232Z",fill:`url(#${l})`}))),e.createElement("path",{className:"uk-preserve",d:"M23.117 6.044a3.647 3.647 0 0 0-1.714.147 3.49 3.49 0 0 0-1.43.91c-.742.79-.973 1.819-.795 2.85.162.929.376 1.872.424 2.767a9.704 9.704 0 0 1-.636 3.965c-.44 1.148-1.068 2.038-2.412 2.235-.1.015-.463.025-.566.03a4.633 4.633 0 0 1-.53-.029c-1.345-.197-1.978-1.087-2.418-2.242a9.706 9.706 0 0 1-.635-3.965c.048-.892.262-1.836.424-2.768.178-1.03-.053-2.06-.795-2.85a3.492 3.492 0 0 0-1.434-.908 3.647 3.647 0 0 0-1.716-.142C7.159 6.311 6.01 7.766 6 9.291a3.039 3.039 0 0 0 .485 1.668c.537.84 1.418 1.454 2.187 2.09.509.426 1.388 1.635 1.82 2.944.26.793.474 1.597.685 2.408.295 1.131.702 3.629.97 4.763.535 2.27 2.17 2.784 3.81 2.836h.059c1.64-.052 3.302-.567 3.837-2.837.267-1.134.672-3.633.97-4.762.212-.808.424-1.616.685-2.409.432-1.31 1.311-2.522 1.82-2.944.769-.638 1.649-1.25 2.187-2.09A3.04 3.04 0 0 0 26 9.29c-.01-1.529-1.153-2.984-2.883-3.246Z",fill:"#fff"}),e.createElement("defs",null,e.createElement("linearGradient",{id:o,x1:"2.609",y1:"4.348",x2:"26.435",y2:"28.87",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#649A66"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF"})),e.createElement("linearGradient",{id:i,x1:"2.609",y1:"4.348",x2:"26.435",y2:"28.87",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#649A66"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF"})),e.createElement("linearGradient",{id:a,x1:"8.64",y1:"32.48",x2:"12.754",y2:"20.464",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#8FEBFF"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF",stopOpacity:0})),e.createElement("linearGradient",{id:l,x1:"14.431",y1:"1.402",x2:"14.179",y2:"26.309",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#49F150"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF",stopOpacity:0})),e.createElement("filter",{id:c,x:"-12.783",y:"-4.463",width:"50.879",height:"48.481",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:"5",result:"effect1_foregroundBlur_10890_5345"})),e.createElement("filter",{id:d,x:"-10",y:"-11.28",width:"52",height:"47.2",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:"5",result:"effect1_foregroundBlur_10890_5345"}))))}});function m(r,t,n=1){return{height:r*n,width:t*n}}const B={fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Z1(r){return Object.entries(r).reduce((t,[n,o])=>(t[n]=o,t),{})}const Ge=Z1({tvm1BlockchainIcon:({ratio:r,...t})=>{const n=s.uniqueKey(),o=s.uniqueKey(),i=s.uniqueKey(),a=s.uniqueKey(),l=s.uniqueKey(),c=s.uniqueKey(),d=s.uniqueKey();return e.createElement("svg",{...B,...t,viewBox:"0 0 32 32",...m(20,20,r)},e.createElement("circle",{className:"uk-preserve",cx:16,cy:16,r:16,fill:`url(#${o})`}),e.createElement("mask",{id:n,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:32,height:32},e.createElement("circle",{className:"uk-preserve",cx:16,cy:16,r:16,fill:`url(#${i})`})),e.createElement("g",{mask:`url(#${n})`},e.createElement("g",{filter:`url(#${c})`},e.createElement("path",{className:"uk-preserve",d:"M7.84 5.762c8.1-1.384 16.821 3.77 19.481 11.51 2.66 7.741-1.75 15.138-9.849 16.522-8.099 1.383-16.82-3.77-19.48-11.511S-.258 7.145 7.84 5.762Z",fill:`url(#${a})`})),e.createElement("g",{filter:`url(#${d}})`},e.createElement("path",{className:"uk-preserve",d:"M27.178 22.05c-6.322 5.248-16.452 5.145-22.625-.229-6.174-5.373-6.054-13.984.269-19.232 6.322-5.247 16.452-5.145 22.625.229 6.174 5.374 6.054 13.984-.268 19.232Z",fill:`url(#${l})`}))),e.createElement("path",{className:"uk-preserve",d:"M23.117 6.044a3.647 3.647 0 0 0-1.714.147 3.49 3.49 0 0 0-1.43.91c-.742.79-.973 1.819-.795 2.85.162.929.376 1.872.424 2.767a9.704 9.704 0 0 1-.636 3.965c-.44 1.148-1.068 2.038-2.412 2.235-.1.015-.463.025-.566.03a4.633 4.633 0 0 1-.53-.029c-1.345-.197-1.978-1.087-2.418-2.242a9.706 9.706 0 0 1-.635-3.965c.048-.892.262-1.836.424-2.768.178-1.03-.053-2.06-.795-2.85a3.492 3.492 0 0 0-1.434-.908 3.647 3.647 0 0 0-1.716-.142C7.159 6.311 6.01 7.766 6 9.291a3.039 3.039 0 0 0 .485 1.668c.537.84 1.418 1.454 2.187 2.09.509.426 1.388 1.635 1.82 2.944.26.793.474 1.597.685 2.408.295 1.131.702 3.629.97 4.763.535 2.27 2.17 2.784 3.81 2.836h.059c1.64-.052 3.302-.567 3.837-2.837.267-1.134.672-3.633.97-4.762.212-.808.424-1.616.685-2.409.432-1.31 1.311-2.522 1.82-2.944.769-.638 1.649-1.25 2.187-2.09A3.04 3.04 0 0 0 26 9.29c-.01-1.529-1.153-2.984-2.883-3.246Z",fill:"#fff"}),e.createElement("defs",null,e.createElement("linearGradient",{id:o,x1:"2.609",y1:"4.348",x2:"26.435",y2:"28.87",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#649A66"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF"})),e.createElement("linearGradient",{id:i,x1:"2.609",y1:"4.348",x2:"26.435",y2:"28.87",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#649A66"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF"})),e.createElement("linearGradient",{id:a,x1:"8.64",y1:"32.48",x2:"12.754",y2:"20.464",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#8FEBFF"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF",stopOpacity:0})),e.createElement("linearGradient",{id:l,x1:"14.431",y1:"1.402",x2:"14.179",y2:"26.309",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#49F150"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF",stopOpacity:0})),e.createElement("filter",{id:c,x:"-12.783",y:"-4.463",width:"50.879",height:"48.481",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:"5",result:"effect1_foregroundBlur_10890_5345"})),e.createElement("filter",{id:d,x:"-10",y:"-11.28",width:"52",height:"47.2",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:"5",result:"effect1_foregroundBlur_10890_5345"}))))},tvm42BlockchainIcon:({ratio:r,...t})=>{const n=s.uniqueKey();return e.createElement("svg",{...B,...t,viewBox:"0 0 600 600",...m(20,20,r)},e.createElement("path",{d:"M300 600C465.685 600 600 465.685 600 300C600 134.315 465.685 0 300 0C134.315 0 0 134.315 0 300C0 465.685 134.315 600 300 600Z",fill:`url(#${n})`,className:"uk-preserve"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M322.598 505L445 383.512V155H216.488L95 277.5H322.5L322.598 505Z",fill:"#fff",className:"uk-preserve"}),e.createElement("defs",null,e.createElement("linearGradient",{id:n,x1:600,y1:226805e-9,x2:54.5601,y2:541.13,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#FF6922"}),e.createElement("stop",{offset:1,stopColor:"#6347F5"}))))},tvm1000BlockchainIcon:({ratio:r,...t})=>{const n=s.uniqueKey(),o=s.uniqueKey(),i=s.uniqueKey(),a=s.uniqueKey(),l=s.uniqueKey(),c=s.uniqueKey(),d=s.uniqueKey();return e.createElement("svg",{...B,...t,viewBox:"0 0 32 32",...m(20,20,r)},e.createElement("circle",{className:"uk-preserve",cx:16,cy:16,r:16,fill:`url(#${o})`}),e.createElement("mask",{id:n,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:32,height:32},e.createElement("circle",{className:"uk-preserve",cx:16,cy:16,r:16,fill:`url(#${i})`})),e.createElement("g",{mask:`url(#${n})`},e.createElement("g",{filter:`url(#${c})`},e.createElement("path",{className:"uk-preserve",d:"M7.84 5.762c8.1-1.384 16.821 3.77 19.481 11.51 2.66 7.741-1.75 15.138-9.849 16.522-8.099 1.383-16.82-3.77-19.48-11.511S-.258 7.145 7.84 5.762Z",fill:`url(#${a})`})),e.createElement("g",{filter:`url(#${d}})`},e.createElement("path",{className:"uk-preserve",d:"M27.178 22.05c-6.322 5.248-16.452 5.145-22.625-.229-6.174-5.373-6.054-13.984.269-19.232 6.322-5.247 16.452-5.145 22.625.229 6.174 5.374 6.054 13.984-.268 19.232Z",fill:`url(#${l})`}))),e.createElement("path",{className:"uk-preserve",d:"M23.117 6.044a3.647 3.647 0 0 0-1.714.147 3.49 3.49 0 0 0-1.43.91c-.742.79-.973 1.819-.795 2.85.162.929.376 1.872.424 2.767a9.704 9.704 0 0 1-.636 3.965c-.44 1.148-1.068 2.038-2.412 2.235-.1.015-.463.025-.566.03a4.633 4.633 0 0 1-.53-.029c-1.345-.197-1.978-1.087-2.418-2.242a9.706 9.706 0 0 1-.635-3.965c.048-.892.262-1.836.424-2.768.178-1.03-.053-2.06-.795-2.85a3.492 3.492 0 0 0-1.434-.908 3.647 3.647 0 0 0-1.716-.142C7.159 6.311 6.01 7.766 6 9.291a3.039 3.039 0 0 0 .485 1.668c.537.84 1.418 1.454 2.187 2.09.509.426 1.388 1.635 1.82 2.944.26.793.474 1.597.685 2.408.295 1.131.702 3.629.97 4.763.535 2.27 2.17 2.784 3.81 2.836h.059c1.64-.052 3.302-.567 3.837-2.837.267-1.134.672-3.633.97-4.762.212-.808.424-1.616.685-2.409.432-1.31 1.311-2.522 1.82-2.944.769-.638 1.649-1.25 2.187-2.09A3.04 3.04 0 0 0 26 9.29c-.01-1.529-1.153-2.984-2.883-3.246Z",fill:"#fff"}),e.createElement("defs",null,e.createElement("linearGradient",{id:o,x1:"2.609",y1:"4.348",x2:"26.435",y2:"28.87",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#649A66"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF"})),e.createElement("linearGradient",{id:i,x1:"2.609",y1:"4.348",x2:"26.435",y2:"28.87",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#649A66"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF"})),e.createElement("linearGradient",{id:a,x1:"8.64",y1:"32.48",x2:"12.754",y2:"20.464",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#8FEBFF"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF",stopOpacity:0})),e.createElement("linearGradient",{id:l,x1:"14.431",y1:"1.402",x2:"14.179",y2:"26.309",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#49F150"}),e.createElement("stop",{offset:1,stopColor:"#2B4CCF",stopOpacity:0})),e.createElement("filter",{id:c,x:"-12.783",y:"-4.463",width:"50.879",height:"48.481",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:"5",result:"effect1_foregroundBlur_10890_5345"})),e.createElement("filter",{id:d,x:"-10",y:"-11.28",width:"52",height:"47.2",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:"5",result:"effect1_foregroundBlur_10890_5345"}))))},evm1BlockchainIcon:({ratio:r,...t})=>e.createElement("svg",{...B,...t,viewBox:"0 0 32 32",...m(20,20,r)},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("circle",{className:"uk-preserve",cx:"16",cy:"16",r:"16",fill:"#627EEA"}),e.createElement("g",{className:"uk-preserve",fill:"#FFF",fillRule:"nonzero"},e.createElement("path",{fillOpacity:".602",d:"M16.498 4v8.87l7.497 3.35z"}),e.createElement("path",{d:"M16.498 4L9 16.22l7.498-3.35z"}),e.createElement("path",{fillOpacity:".602",d:"M16.498 21.968v6.027L24 17.616z"}),e.createElement("path",{d:"M16.498 27.995v-6.028L9 17.616z"}),e.createElement("path",{fillOpacity:".2",d:"M16.498 20.573l7.497-4.353-7.497-3.348z"}),e.createElement("path",{fillOpacity:".602",d:"M9 16.22l7.498 4.353v-7.701z"})))),evm56BlockchainIcon:({ratio:r,...t})=>e.createElement("svg",{...B,...t,viewBox:"0 0 34 40",...m(20,20,r)},e.createElement("path",{className:"uk-preserve",d:"M17 0L6.56211 6.12683L10.3996 8.39024L17 4.52683L23.6004 8.39024L27.4379 6.12683L17 0Z",fill:"#F0B90B"}),e.createElement("path",{className:"uk-preserve",d:"M23.6004 11.5902L27.4379 13.8537V18.3805L20.8375 22.2439V29.9707L17 32.2341L13.1625 29.9707V22.2439L6.56211 18.3805V13.8537L10.3996 11.5902L17 15.4537L23.6004 11.5902Z",fill:"#F0B90B"}),e.createElement("path",{className:"uk-preserve",d:"M27.4379 21.5805V26.1073L23.6004 28.3707V23.8439L27.4379 21.5805Z",fill:"#F0B90B"}),e.createElement("path",{className:"uk-preserve",d:"M23.5621 31.5707L30.1625 27.7073V19.9805L34 17.7171V29.9707L23.5621 36.0976V31.5707Z",fill:"#F0B90B"}),e.createElement("path",{className:"uk-preserve",d:"M30.1625 12.2537L26.3251 9.99025L30.1625 7.72683L34 9.99025V14.5171L30.1625 16.7805V12.2537Z",fill:"#F0B90B"}),e.createElement("path",{className:"uk-preserve",d:"M13.1625 37.7366V33.2098L17 35.4732L20.8375 33.2098V37.7366L17 40L13.1625 37.7366Z",fill:"#F0B90B"}),e.createElement("path",{className:"uk-preserve",d:"M10.3996 28.3707L6.56211 26.1073V21.5805L10.3996 23.8439V28.3707Z",fill:"#F0B90B"}),e.createElement("path",{className:"uk-preserve",d:"M17 12.2537L13.1625 9.99025L17 7.72683L20.8375 9.99025L17 12.2537Z",fill:"#F0B90B"}),e.createElement("path",{className:"uk-preserve",d:"M7.67493 9.99025L3.83747 12.2537V16.7805L0 14.5171V9.99025L3.83747 7.72683L7.67493 9.99025Z",fill:"#F0B90B"}),e.createElement("path",{className:"uk-preserve",d:"M0 17.7171L3.83747 19.9805V27.7073L10.4379 31.5707V36.0976L0 29.9707V17.7171Z",fill:"#F0B90B"})),evm137BlockchainIcon:({ratio:r,...t})=>{const n=s.uniqueKey();return e.createElement("svg",{...B,...t,viewBox:"0 0 252 252",...m(20,20,r)},e.createElement("mask",{id:"mask0_4864_1939",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"252",height:"252"},e.createElement("path",{className:"uk-preserve",d:"M125.999 251.394C195.253 251.394 251.393 195.253 251.393 126C251.393 56.7468 195.253 0.606079 125.999 0.606079C56.7462 0.606079 0.605469 56.7468 0.605469 126C0.605469 195.253 56.7462 251.394 125.999 251.394Z",fill:"white"})),e.createElement("g",{mask:"url(#mask0_4864_1939)"},e.createElement("path",{className:"uk-preserve",d:"M263.267 -11.2672H-11.2676V263.267H263.267V-11.2672Z",fill:`url(#paint0_linear_${n})`})),e.createElement("path",{className:"uk-preserve",d:"M162.264 153.059L197.741 132.574C199.62 131.489 200.782 129.471 200.782 127.301V86.3354C200.782 84.1696 199.615 82.1472 197.741 81.0618L162.264 60.5767C160.385 59.4912 158.056 59.4964 156.177 60.5767L120.7 81.0618C118.821 82.1472 117.659 84.1696 117.659 86.3354V159.546L92.781 173.908L67.9029 159.546V130.818L92.781 116.456L109.191 125.928V106.657L95.8222 98.9408C94.9006 98.4084 93.8459 98.1268 92.7758 98.1268C91.7058 98.1268 90.651 98.4084 89.7346 98.9408L54.2581 119.426C52.379 120.511 51.2168 122.529 51.2168 124.7V165.665C51.2168 167.83 52.3842 169.853 54.2581 170.938L89.7346 191.423C91.6085 192.504 93.9432 192.504 95.8222 191.423L131.299 170.943C133.178 169.858 134.34 167.836 134.34 165.67V92.4589L134.791 92.2029L159.218 78.0973L184.096 92.4589V121.187L159.218 135.549L142.834 126.087V145.359L156.177 153.064C158.056 154.145 160.385 154.145 162.264 153.064V153.059Z",fill:"white"}),e.createElement("defs",null,e.createElement("linearGradient",{id:`paint0_linear_${n}`,x1:"-61.4385",y1:"11.2966",x2:"221.974",y2:"184.732",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#A229C5"}),e.createElement("stop",{offset:"1",stopColor:"#7B3FE4"}))))},evm250BlockchainIcon:({ratio:r,...t})=>e.createElement("svg",{...B,...t,viewBox:"0 0 1024 1024",...m(20,20,r)},e.createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},e.createElement("g",null,e.createElement("circle",{className:"uk-preserve",fill:"#1969FF",cx:"512",cy:"512",r:"512"}),e.createElement("path",{className:"uk-preserve",d:"M480.952632,162.820404 C498.202214,153.726532 524.449007,153.726532 541.698589,162.820404 L717.715301,255.615438 C728.104233,261.091936 733.809736,269.25319 734.831811,277.678216 L735,277.678216 L735,744.110155 C734.770819,753.300673 729.011717,762.429399 717.715301,768.384559 L541.698589,861.179741 C524.449007,870.27342 498.202214,870.27342 480.952632,861.179741 L304.936382,768.384559 C293.687466,762.4543 288.288954,753.261937 288.021607,744.110155 C287.994161,743.171274 287.991758,742.397481 288.020775,741.760186 L288.021607,280.818578 C287.995362,280.170216 287.995085,279.52462 288.02096,278.881791 L288.021607,277.678216 L288.100249,277.678216 C288.882053,269.16004 294.328618,261.207221 304.936382,255.615438 L480.952632,162.820404 Z M707,537 L541.644818,624.459967 C524.420262,633.571112 498.21155,633.571112 480.986994,624.459967 L316,537.194955 L316,742.669239 L480.986994,829.471349 C490.737056,834.688013 500.874684,839.770703 510.746553,839.992453 L511.315906,840 C521.168396,840.032183 530.733903,835.022485 540.433212,830.279812 L707,741.920834 L707,537 Z M260.423841,734 C260.423841,751.880605 262.483542,763.633063 266.573125,771.912197 C269.962755,778.774873 275.048664,784.019001 284.335203,790.400911 L284.865291,790.762639 C286.903313,792.149569 289.148339,793.602016 291.881192,795.308227 L295.103883,797.299574 L305,803.325293 L290.80629,827 L279.729986,820.250826 L277.868233,819.097358 C274.665666,817.102319 272.011205,815.389649 269.535301,813.704662 C243.068452,795.702251 233.197716,776.074834 233.002947,735.2439 L233,734 L260.423841,734 Z M498,413 C496.719282,413.440417 495.51884,413.951152 494.424509,414.530355 L318.676529,507.623888 C318.49208,507.721039 318.316212,507.818189 318.148833,507.91349 L318,507.999537 L318.275982,508.15868 L318.676529,508.376112 L494.424509,601.469645 C495.51884,602.048848 496.719282,602.559583 498,603 L498,413 Z M526,413 L526,603 C527.281635,602.559583 528.482071,602.048848 529.576397,601.469645 L705.322736,508.376112 C705.507277,508.278961 705.683513,508.181811 705.850522,508.08651 L706,507.999537 L705.724112,507.84132 L705.322736,507.623888 L529.576397,414.530355 C528.482071,413.951152 527.281635,413.440417 526,413 Z M707,311 L549,394 L707,477 L707,311 Z M316,311 L316,477 L474,394 L316,311 Z M529.422488,187.627114 C520.27514,182.790962 503.724952,182.790962 494.577605,187.627114 L318.677116,280.623711 C318.492507,280.721685 318.316486,280.817811 318.148962,280.913937 L318,280.999896 L318.276221,281.157949 L318.677116,281.376081 L494.577605,374.3724 C503.724952,379.2092 520.27514,379.2092 529.422488,374.3724 L705.322145,281.376081 C705.506847,281.278107 705.683237,281.181981 705.850392,281.086779 L706,280.999896 L705.723871,280.841843 L705.322145,280.623711 L529.422488,187.627114 Z M733.193821,197 L744.270251,203.749273 L746.131721,204.902466 C749.33418,206.896953 751.988718,208.610547 754.464885,210.294705 C780.931599,228.297503 790.802419,247.925124 790.997256,288.756099 L791,290 L763.576481,290 C763.576481,272.118455 761.516516,260.366907 757.426771,252.086842 C754.037707,245.224806 748.951824,239.980488 739.665515,233.599218 L739.134973,233.236751 C737.096961,231.850558 734.852221,230.398109 732.119016,228.691528 L728.896433,226.700086 L719,220.674731 L733.193821,197 Z",fill:"#FFFFFF",fillRule:"nonzero"})))),evm2001BlockchainIcon:({ratio:r,...t})=>e.createElement("svg",{...B,...t,viewBox:"0 0 32 32",...m(20,20,r)},e.createElement("path",{d:"M0 16C0 7.16344 7.16344 0 16 0V0C24.8366 0 32 7.16344 32 16V16C32 24.8366 24.8366 32 16 32V32C7.16344 32 0 24.8366 0 16V16Z",className:"uk-preserve",fill:"black"}),e.createElement("path",{d:"M27.1725 13.4449L29.0001 16.6088L19.3734 22.1675C19.3734 22.1675 13.4778 25.7307 9.23901 18.3845L12.2366 16.6548C12.2366 16.6548 14.1845 20.9604 17.5607 19.0051C20.9368 17.0497 27.1725 13.4449 27.1725 13.4449Z",className:"uk-preserve",fill:"white"}),e.createElement("path",{d:"M4.82765 18.3623L3 15.1984L12.8316 9.52244C12.8316 9.52244 18.7273 5.9592 22.9646 13.3054L19.967 15.0351C19.967 15.0351 18.0191 10.7295 14.6429 12.6848C11.2667 14.6402 4.82765 18.3623 4.82765 18.3623Z",className:"uk-preserve",fill:"white"}),e.createElement("path",{d:"M16.1854 18.2849C17.5121 18.2849 18.5876 17.2094 18.5876 15.8827C18.5876 14.556 17.5121 13.4805 16.1854 13.4805C14.8587 13.4805 13.7832 14.556 13.7832 15.8827C13.7832 17.2094 14.8587 18.2849 16.1854 18.2849Z",className:"uk-preserve",fill:"#FF931E"}),e.createElement("path",{d:"M7.70378 22.0353C8.39665 22.0353 8.95834 21.4737 8.95834 20.7808C8.95834 20.0879 8.39665 19.5263 7.70378 19.5263C7.01091 19.5263 6.44922 20.0879 6.44922 20.7808C6.44922 21.4737 7.01091 22.0353 7.70378 22.0353Z",className:"uk-preserve",fill:"white"}),e.createElement("path",{d:"M24.4489 12.3657C25.1417 12.3657 25.7035 11.804 25.7035 11.1111C25.7035 10.4183 25.1417 9.85657 24.4489 9.85657C23.756 9.85657 23.1943 10.4183 23.1943 11.1111C23.1943 11.804 23.756 12.3657 24