@dcl/governance-site 2.0.0 → 2.0.1-20995780683.commit-d6baf5e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/assets/BlockOverrides-9837a6f9.js +5 -0
  2. package/assets/ConstantsUtil-298f7898.js +1 -0
  3. package/assets/ExchangeController-d2354ec6.js +1 -0
  4. package/assets/HelpersUtil-8cddb046.js +62 -0
  5. package/assets/MathUtil-b514a570.js +1 -0
  6. package/assets/NavigationUtil-a0d0ce87.js +1 -0
  7. package/assets/NetworkUtil-220ea128.js +1 -0
  8. package/assets/PhWallet-fd2006d2.js +14 -0
  9. package/assets/{features-b72c9430.js → ReownAuthentication-468828df.js} +4 -4
  10. package/assets/SwapController-7bfd6ce7.js +1 -0
  11. package/assets/{UserAvatar-78751cb5.js → UserAvatar-456716f1.js} +1 -1
  12. package/assets/ccip-ddcec720.js +1 -0
  13. package/assets/data-capture-3e424a2c.js +242 -0
  14. package/assets/email-ea617f9c.js +90 -0
  15. package/assets/embedded-wallet-814bf005.js +410 -0
  16. package/assets/features-fd521597.js +1 -0
  17. package/assets/fortmatic-f3cb4aa6.js +13 -0
  18. package/assets/if-defined-0a35f675.js +5 -0
  19. package/assets/index-034d22a0.js +138 -0
  20. package/assets/{index-a8255d1c.css → index-05771666.css} +4 -4
  21. package/assets/index-07a61b45.js +51 -0
  22. package/assets/index-1039ded0.js +132 -0
  23. package/assets/index-123c1362.js +224 -0
  24. package/assets/index-15bbaaa0.js +7 -0
  25. package/assets/{index-073512a1.js → index-206e3e77.js} +1 -1
  26. package/assets/index-27a991e4.js +53 -0
  27. package/assets/index-2d0efdd2.js +210 -0
  28. package/assets/index-32d53c87.js +189 -0
  29. package/assets/index-3b861a37.js +102 -0
  30. package/assets/index-4207595b.js +100 -0
  31. package/assets/index-4243d275.js +43 -0
  32. package/assets/index-42ce7246.js +63 -0
  33. package/assets/index-47e87339.js +152 -0
  34. package/assets/index-48bd3fca.js +277 -0
  35. package/assets/index-49cc5044.js +46 -0
  36. package/assets/index-5788a0d6.js +468 -0
  37. package/assets/index-5824c226.js +81 -0
  38. package/assets/index-5da565ce.js +78 -0
  39. package/assets/index-685e7949.js +425 -0
  40. package/assets/index-84e8ecf6.js +647 -0
  41. package/assets/index-965fdf98.js +3425 -0
  42. package/assets/index-9d970383.js +152 -0
  43. package/assets/index-a59b6662.js +68 -0
  44. package/assets/index-b457d047.js +1062 -0
  45. package/assets/index-b65e06cc.js +27 -0
  46. package/assets/{index-2ef9f1d1.js → index-d70e4ab8.js} +66 -66
  47. package/assets/index-d7a6ceea.js +30 -0
  48. package/assets/index-d9c55c27.js +77 -0
  49. package/assets/index-db5b7889.js +77 -0
  50. package/assets/index-e3222791.js +78 -0
  51. package/assets/index-eb060c20.js +1 -0
  52. package/assets/index-f3f03959.js +90 -0
  53. package/assets/index-fcda68c9.js +19 -0
  54. package/assets/index-ff4dea43.js +85 -0
  55. package/assets/networks-14f3c0d2.js +1 -0
  56. package/assets/onramp-dcdb1a34.js +422 -0
  57. package/assets/pay-with-exchange-a64f18a3.js +280 -0
  58. package/assets/receive-ca7bc867.js +131 -0
  59. package/assets/ref-88e1be05.js +13 -0
  60. package/assets/send-8739c9fb.js +554 -0
  61. package/assets/socials-ccc593f5.js +250 -0
  62. package/assets/swaps-0a90eb06.js +1050 -0
  63. package/assets/transactions-bb8cb277.js +16 -0
  64. package/assets/{tslib.es6-82b9ba96.js → tslib.es6-db2ec995.js} +2 -2
  65. package/assets/w3m-modal-869dafbc.js +891 -0
  66. package/assets/zoraTestnet-adc7b76b.js +36 -0
  67. package/index.html +4 -4
  68. package/package.json +3 -3
  69. package/assets/basic-ca749c4c.js +0 -1435
  70. package/assets/core-806d78ea.js +0 -249
  71. package/assets/fortmatic-12e0f2e5.js +0 -13
  72. package/assets/index-372705ba.js +0 -1321
  73. package/assets/index-4be588a0.js +0 -94
  74. package/assets/index-74e34dfb.js +0 -39
  75. package/assets/index-bbb36593.js +0 -7
  76. package/assets/index-c1c8440f.js +0 -47
  77. package/assets/w3m-modal-26eff9d9.js +0 -1209
@@ -0,0 +1,19 @@
1
+ import{n as m,r as c,l as f,m as d}from"./index-48bd3fca.js";import{n as p,c as b}from"./index-84e8ecf6.js";import{o as h}from"./if-defined-0a35f675.js";import"./index-9d970383.js";const v=m`
2
+ :host {
3
+ position: relative;
4
+ display: inline-block;
5
+ width: 100%;
6
+ }
7
+ `;var o=globalThis&&globalThis.__decorate||function(l,i,r,s){var a=arguments.length,e=a<3?i:s===null?s=Object.getOwnPropertyDescriptor(i,r):s,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(l,i,r,s);else for(var u=l.length-1;u>=0;u--)(n=l[u])&&(e=(a<3?n(e):a>3?n(i,r,e):n(i,r))||e);return a>3&&e&&Object.defineProperty(i,r,e),e};let t=class extends f{constructor(){super(...arguments),this.disabled=!1}render(){return d`
8
+ <wui-input-text
9
+ type="email"
10
+ placeholder="Email"
11
+ icon="mail"
12
+ size="lg"
13
+ .disabled=${this.disabled}
14
+ .value=${this.value}
15
+ data-testid="wui-email-input"
16
+ tabIdx=${h(this.tabIdx)}
17
+ ></wui-input-text>
18
+ ${this.templateError()}
19
+ `}templateError(){return this.errorMessage?d`<wui-text variant="sm-regular" color="error">${this.errorMessage}</wui-text>`:null}};t.styles=[c,v];o([p()],t.prototype,"errorMessage",void 0);o([p({type:Boolean})],t.prototype,"disabled",void 0);o([p()],t.prototype,"value",void 0);o([p()],t.prototype,"tabIdx",void 0);t=o([b("wui-email-input")],t);
@@ -0,0 +1,85 @@
1
+ import{j as u,r as h,k as p,l as f,m as g}from"./index-48bd3fca.js";import{n as d,c as m}from"./index-84e8ecf6.js";import{o as b}from"./if-defined-0a35f675.js";const y=u`
2
+ :host {
3
+ display: inline-flex;
4
+ justify-content: center;
5
+ align-items: center;
6
+ border-radius: ${({borderRadius:o})=>o[2]};
7
+ padding: ${({spacing:o})=>o[1]} !important;
8
+ background-color: ${({tokens:o})=>o.theme.backgroundPrimary};
9
+ position: relative;
10
+ }
11
+
12
+ :host([data-padding='2']) {
13
+ padding: ${({spacing:o})=>o[2]} !important;
14
+ }
15
+
16
+ :host:after {
17
+ content: '';
18
+ position: absolute;
19
+ top: 0;
20
+ left: 0;
21
+ width: 100%;
22
+ height: 100%;
23
+ border-radius: ${({borderRadius:o})=>o[2]};
24
+ }
25
+
26
+ :host > wui-icon {
27
+ z-index: 10;
28
+ }
29
+
30
+ /* -- Colors --------------------------------------------------- */
31
+ :host([data-color='accent-primary']) {
32
+ color: ${({tokens:o})=>o.core.iconAccentPrimary};
33
+ }
34
+
35
+ :host([data-color='accent-primary']):after {
36
+ background-color: ${({tokens:o})=>o.core.foregroundAccent010};
37
+ }
38
+
39
+ :host([data-color='default']),
40
+ :host([data-color='secondary']) {
41
+ color: ${({tokens:o})=>o.theme.iconDefault};
42
+ }
43
+
44
+ :host([data-color='default']):after {
45
+ background-color: ${({tokens:o})=>o.theme.foregroundPrimary};
46
+ }
47
+
48
+ :host([data-color='secondary']):after {
49
+ background-color: ${({tokens:o})=>o.theme.foregroundSecondary};
50
+ }
51
+
52
+ :host([data-color='success']) {
53
+ color: ${({tokens:o})=>o.core.iconSuccess};
54
+ }
55
+
56
+ :host([data-color='success']):after {
57
+ background-color: ${({tokens:o})=>o.core.backgroundSuccess};
58
+ }
59
+
60
+ :host([data-color='error']) {
61
+ color: ${({tokens:o})=>o.core.iconError};
62
+ }
63
+
64
+ :host([data-color='error']):after {
65
+ background-color: ${({tokens:o})=>o.core.backgroundError};
66
+ }
67
+
68
+ :host([data-color='warning']) {
69
+ color: ${({tokens:o})=>o.core.iconWarning};
70
+ }
71
+
72
+ :host([data-color='warning']):after {
73
+ background-color: ${({tokens:o})=>o.core.backgroundWarning};
74
+ }
75
+
76
+ :host([data-color='inverse']) {
77
+ color: ${({tokens:o})=>o.theme.iconInverse};
78
+ }
79
+
80
+ :host([data-color='inverse']):after {
81
+ background-color: transparent;
82
+ }
83
+ `;var a=globalThis&&globalThis.__decorate||function(o,e,c,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,c):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(o,e,c,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(r=(i<3?s(r):i>3?s(e,c,r):s(e,c))||r);return i>3&&r&&Object.defineProperty(e,c,r),r};let t=class extends f{constructor(){super(...arguments),this.icon="copy",this.size="md",this.padding="1",this.color="default"}render(){return this.dataset.padding=this.padding,this.dataset.color=this.color,g`
84
+ <wui-icon size=${b(this.size)} name=${this.icon} color="inherit"></wui-icon>
85
+ `}};t.styles=[h,p,y];a([d()],t.prototype,"icon",void 0);a([d()],t.prototype,"size",void 0);a([d()],t.prototype,"padding",void 0);a([d()],t.prototype,"color",void 0);t=a([m("wui-icon-box")],t);
@@ -0,0 +1 @@
1
+ import{A as m}from"./NetworkUtil-220ea128.js";import{y as b,C as k,D as f,E as g,F as y,G as j,J as S,K as v,L as x,M as w,N as C,O as z,P as N,Q as M,R as E,S as q,T as B,U as L,V as D,W as V,X as A,Y as G,Z as P,_ as U,$ as O,a0 as I,a1 as H,a2 as Z,a3 as K,a4 as R,a5 as Y,a6 as J,a7 as F,a8 as W,a9 as Q,aa as X,ab as _,ac as $,ad as aa,ae as sa,af as ea,ag as ta,ah as na,ai as ia,aj as oa,ak as ra,an as la,al as ca,ao as ha,ap as pa,am as da,aq as Ta,ar as ma,as as ua,at as ba,au as ka,av as fa,aw as ga,ax as ya,ay as ja,az as Sa,aA as va,aH as xa,aI as wa,aB as Ca,aC as za,aD as Na,aE as Ma,aF as Ea,aG as qa,aJ as Ba,aK as La,aL as Da,aO as Va,aM as Aa,aN as Ga,aP as Pa,aQ as Ua,aR as Oa,aS as Ia,aT as Ha,aU as Za,aV as Ka,aW as Ra,aX as Ya,aY as Ja,aZ as Fa,a_ as Wa,a$ as Qa,b0 as Xa,b1 as _a,b2 as $a,b3 as as,b4 as ss,b5 as es,b6 as ts,b7 as ns,b8 as is,b9 as os,ba as rs,bb as ls,bc as cs,bd as hs,be as ps,bf as ds,bg as Ts,bh as ms,bi as us,bj as bs,bk as ks,bl as fs,bm as gs,bn as ys,bo as js,bp as Ss,bq as vs,br as xs,bs as ws,bt as Cs,bu as zs,bv as Ns,bw as Ms,bx as Es,by as qs,bz as Bs,bA as Ls,bB as Ds,bC as Vs,bD as As,bE as Gs,bF as Ps,bG as Us,bH as Os,bI as Is,bJ as Hs,bK as Zs,bL as Ks,bM as Rs,bN as Ys,bO as Js,bP as Fs,bQ as Ws,bR as Qs,bS as Xs,bT as _s,bU as $s,bV as ae,bW as se,bX as ee,bY as te,bZ as ne,b_ as ie,b$ as oe,c0 as re,c1 as le,c2 as ce,c3 as he,c4 as pe,c5 as de,c6 as Te,c7 as me,c8 as ue,c9 as be,ca as ke,cb as fe,cc as ge,cd as ye,ce as je,cf as Se,cg as ve,ch as xe,ci as we,cj as Ce,ck as ze,cl as Ne,cm as Me,cn as Ee,co as qe,cp as Be,cq as Le,cr as De,cs as Ve,ct as Ae,cu as Ge,cv as Pe,cw as Ue,cx as Oe,cy as Ie,cz as He,x as Ze,cA as Ke,cB as Re,cC as Ye,cD as Je,cE as Fe,cF as We,cG as Qe,cH as Xe,cI as _e,cJ as $e,cK as at,cM as st,cL as et,fi as tt,cN as nt,cO as it,cP as ot,cQ as rt,cR as lt,cS as ct,cT as ht,cU as pt,cV as dt,cW as Tt,cX as mt,cY as ut,cZ as bt,c_ as kt,c$ as ft,d0 as gt,d1 as yt,d2 as jt,d3 as St,d4 as vt,d7 as xt,d5 as wt,d6 as Ct,d8 as zt,d9 as Nt,da as Mt,db as Et,dc as qt,dd as Bt,de as Lt,df as Dt,dg as Vt,dh as At,di as Gt,dj as Pt,dk as Ut,dl as Ot,dm as It,dn as Ht,dp as Zt,dq as Kt,dr as Rt,ds as Yt,dt as Jt,du as Ft,dv as Wt,dw as Qt,dx as Xt,dy as _t,dz as $t,dA as an,dB as sn,dC as en,dD as tn,dE as nn,dF as on,dG as rn,dH as ln,dI as cn,dJ as hn,dK as pn,dL as dn,dL as Tn,dM as mn,e0 as un,dN as bn,dO as kn,dP as fn,dQ as gn,dR as yn,dS as jn,dT as Sn,dU as vn,dV as xn,dW as wn,dX as Cn,dY as zn,dZ as Nn,d_ as Mn,d$ as En,e1 as qn,e2 as Bn,e3 as Ln,e4 as Dn,e5 as Vn,e6 as An,e7 as Gn,e8 as Pn,e9 as Un,ea as On,eb as In,ec as Hn,ed as Zn,ee as Kn,ef as Rn,eg as Yn,ei as Jn,ej as Fn,ek as Wn,el as Qn,eh as Xn,em as _n,en as $n,eo as ai,ep as si,eq as ei,er as ti,es as ni,et as ii,eu as oi,ev as ri,ew as li,ex as ci,ey as hi,ez as pi,eA as di,eB as Ti,eC as mi,eD as ui,eE as bi,eF as ki,eG as fi,eH as gi,eI as yi,eJ as ji,eK as Si,eL as vi,eM as xi,eN as wi,eO as Ci,eP as zi,eQ as Ni,eR as Mi,eS as Ei,eT as qi,eU as Bi,eV as Li,eW as Di,eX as Vi,eY as Ai,eZ as Gi,e_ as Pi,e$ as Ui,f0 as Oi,f1 as Ii,f2 as Hi,f3 as Zi,f4 as Ki,f5 as Ri,f6 as Yi,f7 as Ji,f8 as Fi,f9 as Wi,fa as Qi,fb as Xi,fc as _i,fd as $i,fe as ao,ff as so,fg as eo,fh as to,fj as no,fk as io,fl as oo,fm as ro,fn as lo,fo as co,fp as ho,fq as po,fr as To,fs as mo,ft as uo,fu as bo,fv as ko,fw as fo,fx as go,fy as yo,fz as jo,fA as So,fB as vo,fC as xo,fD as wo,fE as Co,fF as zo,fG as No,fH as Mo,fI as Eo,fJ as qo,fK as Bo,fL as Lo,fM as Do,fN as Vo,fO as Ao,fP as Go,fQ as Po,fR as Uo,fS as Oo,fT as Io,fU as Ho,fV as Zo,fW as Ko,fX as Ro,fY as Yo,fZ as Jo,f_ as Fo,f$ as Wo,g0 as Qo,g1 as Xo,g2 as _o,g3 as $o,g4 as ar,g5 as sr,g6 as er,g7 as tr,g8 as nr,g9 as ir,ga as or,gb as rr,gc as lr,gd as cr,ge as hr,gf as pr,gg as dr,gh as Tr,gi as mr,gj as ur,gk as br,gl as kr,gm as fr,gn as gr,go as yr,gp as jr,gq as Sr,gr as vr,gs as xr,gt as wr,gu as Cr,gv as zr,gw as Nr,gx as Mr,gy as Er,gz as qr,gA as Br,gB as Lr,gC as Dr,gD as Vr,gE as Ar,gF as Gr,gG as Pr,gH as Ur,gI as Or,gJ as Ir,gK as Hr,gL as Zr,gM as Kr,gO as Rr,gP as Yr,gN as Jr,gQ as Fr,gR as Wr,gS as Qr,gT as Xr,gU as _r,gV as $r,gW as al,gX as sl,gY as el,gZ as tl,g_ as nl,g$ as il,h0 as ol,h1 as rl,h2 as ll,h3 as cl,h4 as hl,h5 as pl,h6 as dl,h7 as Tl,h8 as ml,h9 as ul,ha as bl,hb as kl,hc as fl,hd as gl,he as yl,hf as jl,hg as Sl,hh as vl,hi as xl,hj as wl,hk as Cl,hl as zl,hn as Nl,hm as Ml,ho as El,hp as ql,hq as Bl,hr as Ll,hs as Dl,ht as Vl,hu as Al,hv as Gl,hw as Pl,hx as Ul,hy as Ol,hz as Il,hA as Hl,hB as Zl,hC as Kl,hP as Rl,hQ as Yl,hD as Jl,hE as Fl,hF as Wl,hG as Ql,hH as Xl,hI as _l,hJ as $l,hK as ac,hL as sc,hM as ec,hN as tc,hO as nc,hR as ic,hS as oc,hT as rc,hU as lc,hV as cc,hW as hc,hX as pc,hY as dc,hZ as Tc,h_ as mc,h$ as uc,i0 as bc,i1 as kc,i2 as fc,i3 as gc,i4 as yc,i5 as jc,i6 as Sc,i7 as vc,i8 as xc,i9 as wc,i9 as Cc,ia as zc,ib as Nc,ic as Mc,id as Ec,ie as qc,ig as Bc,ih as Lc,ii as Dc,ij as Vc,ik as Ac,il as Gc,im as Pc,io as Uc,ip as Oc,iq as Ic,ir as Hc,is as Zc,it as Kc,iu as Rc,iv as Yc,iw as Jc,ix as Fc,iy as Wc,iz as Qc,iA as Xc,iB as _c,iC as $c,iD as ah,iE as sh,iF as eh,iG as th,iH as nh,iI as ih,iJ as oh,iK as rh,iL as lh,iM as ch,iN as hh,iO as ph,iP as dh,iQ as Th,iR as mh,iS as uh,iT as bh,iU as kh,iV as fh,iW as gh,iX as yh,iY as jh,iZ as Sh,i_ as vh,i$ as xh,j0 as wh,j1 as Ch,j2 as zh,j3 as Nh,j4 as Mh,j5 as Eh,j6 as qh,j7 as Bh,j8 as Lh,j9 as Dh,ja as Vh,jb as Ah,jc as Gh,jd as Ph,je as Uh,jf as Oh,jg as Ih,jh as Hh,ji as Zh,jj as Kh,jk as Rh,jl as Yh,jm as Jh,jn as Fh,jo as Wh,jp as Qh,jq as Xh,jr as _h,ju as $h,js as ap,jt as sp,jA as ep,jz as tp,jA as np,jv as ip,jw as op,jx as rp,jy as lp,jB as cp,jC as hp,jD as pp,jE as dp,jF as Tp,jJ as mp,jG as up,jH as bp,jI as kp,jK as fp,jL as gp,jM as yp,jN as jp,z as Sp,u as vp,v as xp,w as wp,jO as Cp,jP as zp,jQ as Np,jR as Mp,jS as Ep,jT as qp,jU as Bp,jV as Lp,jW as Dp,jX as Vp,jY as Ap,jZ as Gp,j_ as Pp,j$ as Up,k0 as Op,k4 as Ip,k5 as Hp,j$ as Zp,k0 as Kp,k1 as Rp,k2 as Yp,k3 as Jp,k4 as Fp,k5 as Wp,k6 as Qp,k7 as Xp,k8 as _p}from"./zoraTestnet-adc7b76b.js";import"./index-d70e4ab8.js";import"./BlockOverrides-9837a6f9.js";function a(s){return{formatters:void 0,fees:void 0,serializers:void 0,...s}}const n=a({id:"5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",name:"Solana",network:"solana-mainnet",nativeCurrency:{name:"Solana",symbol:"SOL",decimals:9},rpcUrls:{default:{http:["https://rpc.walletconnect.org/v1"]}},blockExplorers:{default:{name:"Solscan",url:"https://solscan.io"}},testnet:!1,chainNamespace:"solana",caipNetworkId:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",deprecatedCaipNetworkId:"solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ"}),i=a({id:"EtWTRABZaYq6iMfeYKouRu166VU2xqa1",name:"Solana Devnet",network:"solana-devnet",nativeCurrency:{name:"Solana",symbol:"SOL",decimals:9},rpcUrls:{default:{http:["https://rpc.walletconnect.org/v1"]}},blockExplorers:{default:{name:"Solscan",url:"https://solscan.io"}},testnet:!0,chainNamespace:"solana",caipNetworkId:"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",deprecatedCaipNetworkId:"solana:8E9rvCKLFQia2Y35HXjjpWzj8weVo44K"}),o=a({id:"4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z",name:"Solana Testnet",network:"solana-testnet",nativeCurrency:{name:"Solana",symbol:"SOL",decimals:9},rpcUrls:{default:{http:["https://rpc.walletconnect.org/v1"]}},blockExplorers:{default:{name:"Solscan",url:"https://solscan.io"}},testnet:!0,chainNamespace:"solana",caipNetworkId:"solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z"}),r=a({id:"000000000019d6689c085ae165831e93",caipNetworkId:"bip122:000000000019d6689c085ae165831e93",chainNamespace:"bip122",name:"Bitcoin",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:8},rpcUrls:{default:{http:["https://rpc.walletconnect.org/v1"]}}}),l=a({id:"000000000933ea01ad0ee984209779ba",caipNetworkId:"bip122:000000000933ea01ad0ee984209779ba",chainNamespace:"bip122",name:"Bitcoin Testnet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:8},rpcUrls:{default:{http:["https://rpc.walletconnect.org/v1"]}},testnet:!0}),c=a({id:"00000008819873e925422c1ff0f99f7c",caipNetworkId:"bip122:00000008819873e925422c1ff0f99f7c",chainNamespace:"bip122",name:"Bitcoin Signet",nativeCurrency:{name:"Bitcoin",symbol:"BTC",decimals:8},rpcUrls:{default:{http:["https://rpc.walletconnect.org/v1"]}},testnet:!0}),h=a({id:"-239",name:"TON",network:"ton-mainnet",nativeCurrency:{name:"TON",symbol:"TON",decimals:9},rpcUrls:{default:{http:["https://rpc.walletconnect.org/v1"]}},blockExplorers:{default:{name:"Tonscan",url:"https://tonscan.org"}},testnet:!1,chainNamespace:"ton",caipNetworkId:"ton:-239"}),p=a({id:"-3",name:"TON Testnet",network:"ton-testnet",nativeCurrency:{name:"TON",symbol:"TON",decimals:9},rpcUrls:{default:{http:["https://rpc.walletconnect.org/v1"]}},blockExplorers:{default:{name:"Tonscan",url:"https://testnet.tonscan.org"}},testnet:!0,chainNamespace:"ton",caipNetworkId:"ton:-3"});export{m as AVAILABLE_NAMESPACES,b as abey,k as abstract,f as abstractTestnet,g as acala,y as acria,j as adf,S as agungTestnet,v as aioz,x as alephZero,w as alephZeroTestnet,C as alienx,z as alienxHalTestnet,N as ancient8,M as ancient8Sepolia,E as anvil,q as apeChain,B as apexTestnet,L as apollo,D as arbitrum,V as arbitrumGoerli,A as arbitrumNova,G as arbitrumSepolia,P as arcTestnet,U as arenaz,O as areonNetwork,I as areonNetworkTestnet,H as areum,Z as artelaTestnet,K as arthera,R as artheraTestnet,Y as assetChain,J as assetChainTestnet,F as astar,W as astarZkEVM,Q as astarZkyoto,X as atletaOlympia,_ as aurora,$ as auroraTestnet,aa as auroria,sa as autheoTestnet,ea as avalanche,ta as avalancheFuji,na as b3,ia as b3Sepolia,oa as bahamut,ra as base,la as baseGoerli,ca as basePreconf,ha as baseSepolia,pa as baseSepoliaPreconf,da as basecampTestnet,Ta as beam,ma as beamTestnet,ua as bearNetworkChainMainnet,ba as bearNetworkChainTestnet,ka as berachain,fa as berachainBepolia,ga as berachainTestnet,ya as berachainTestnetbArtio,ja as bevmMainnet,Sa as bifrost,va as birdlayer,xa as bitTorrent,wa as bitTorrentTestnet,r as bitcoin,c as bitcoinSignet,l as bitcoinTestnet,Ca as bitgert,za as bitkub,Na as bitkubTestnet,Ma as bitlayer,Ea as bitlayerTestnet,qa as bitrock,Ba as blast,La as blastSepolia,Da as bob,Va as bobSepolia,Aa as boba,Ga as bobaSepolia,Pa as boolBetaMainnet,Ua as botanix,Oa as botanixTestnet,Ia as bounceBit,Ha as bounceBitTestnet,Za as bronos,Ka as bronosTestnet,Ra as bsc,Ya as bscGreenfield,Ja as bscTestnet,Fa as bsquared,Wa as bsquaredTestnet,Qa as btr,Xa as btrTestnet,_a as bxn,$a as bxnTestnet,as as cannon,ss as canto,es as celo,ts as celoAlfajores,ns as celoSepolia,is as chang,os as chiliz,rs as chips,ls as citreaTestnet,cs as classic,hs as coinbit,ps as coinex,ds as confluxESpace,Ts as confluxESpaceTestnet,ms as coreDao,us as coreTestnet1,bs as coreTestnet2,ks as corn,fs as cornTestnet,gs as crab,ys as creatorTestnet,js as creditCoin3Devnet,Ss as creditCoin3Mainnet,vs as creditCoin3Testnet,xs as cronos,ws as cronosTestnet,Cs as cronoszkEVM,zs as cronoszkEVMTestnet,Ns as crossbell,Ms as crossfi,Es as curtis,qs as cyber,Bs as cyberTestnet,Ls as dailyNetwork,Ds as dailyNetworkTestnet,Vs as darwinia,As as datahavenTestnet,Gs as dbkchain,Ps as dchain,Us as dchainTestnet,Os as defichainEvm,Is as defichainEvmTestnet,a as defineChain,Hs as degen,Zs as dfk,Ks as diode,Rs as disChain,Ys as dodochainTestnet,Js as dogechain,Fs as domaTestnet,Ws as donatuz,Qs as dosChain,Xs as dosChainTestnet,_s as dreyerxMainnet,$s as dreyerxTestnet,ae as dustboyIoT,se as dymension,ee as edexa,te as edexaTestnet,ne as edgeless,ie as edgelessTestnet,oe as edgeware,re as edgewareTestnet,le as eduChain,ce as eduChainTestnet,he as ekta,pe as ektaTestnet,de as elastos,Te as elastosTestnet,me as electroneum,ue as electroneumTestnet,be as elysiumTestnet,ke as energy,fe as eni,ge as eniTestnet,ye as enuls,je as eon,Se as eos,ve as eosTestnet,xe as eteria,we as etherlink,Ce as etherlinkShadownetTestnet,ze as etherlinkTestnet,Ne as ethernity,Me as etp,Ee as evmos,qe as evmosTestnet,Be as excelonMainnet,Le as expanse,De as exsat,Ve as exsatTestnet,Ae as fantom,Ge as fantomSonicTestnet,Pe as fantomTestnet,Ue as fibo,Oe as filecoin,Ie as filecoinCalibration,He as filecoinHyperspace,Ze as fireChain,Ke as flame,Re as flare,Ye as flareTestnet,Je as flowMainnet,Fe as flowPreviewnet,We as flowTestnet,Qe as fluence,Xe as fluenceStage,_e as fluenceTestnet,$e as fluentTestnet,at as form,st as formTestnet,et as forma,tt as formicarium,nt as forta,it as foundry,ot as fraxtal,rt as fraxtalTestnet,lt as funkiMainnet,ct as funkiSepolia,ht as fuse,pt as fuseSparknet,dt as fusion,Tt as fusionTestnet,mt as garnet,ut as gatechain,bt as geist,kt as genesys,ft as giwaSepolia,gt as giwaSepoliaPreconf,yt as glideL1Protocol,jt as glideL2Protocol,St as gnosis,vt as gnosisChiado,xt as goChain,wt as goat,Ct as gobi,zt as godwoken,Nt as goerli,Mt as graphite,Et as graphiteTestnet,qt as gravity,Bt as gunz,Lt as guruNetwork,Dt as guruTestnet,Vt as ham,At as happychainTestnet,Gt as haqqMainnet,Pt as haqqTestedge2,Ut as hardhat,Ot as harmonyOne,It as hashkey,Ht as hashkeyTestnet,Zt as haustTestnet,Kt as hedera,Rt as hederaPreviewnet,Yt as hederaTestnet,Jt as hela,Ft as heliosTestnet,Wt as hemi,Qt as hemiSepolia,Xt as henesys,_t as holesky,$t as hoodi,an as hpb,sn as hpp,en as hppSepolia,tn as huddle01Mainnet,nn as huddle01Testnet,on as humanity,rn as humanityTestnet,ln as humanode,cn as humanodeTestnet5,hn as hychain,pn as hychainTestnet,dn as hyperEvm,Tn as hyperliquid,mn as hyperliquidEvmTestnet,un as iSunCoin,bn as icbNetwork,kn as idchain,fn as immutableZkEvm,gn as immutableZkEvmTestnet,yn as inEVM,jn as initVerse,Sn as initVerseGenesis,vn as injective,xn as injectiveTestnet,wn as ink,Cn as inkSepolia,zn as iota,Nn as iotaTestnet,Mn as iotex,En as iotexTestnet,qn as jasmyChain,Bn as jasmyChainTestnet,Ln as jbc,Dn as jbcTestnet,Vn as jocMainnet,An as jocTestnet,Gn as jovay,Pn as jovaySepolia,Un as juneo,On as juneoBCH1Chain,In as juneoDAI1Chain,Hn as juneoDOGE1Chain,Zn as juneoEUR1Chain,Kn as juneoGLD1Chain,Rn as juneoLINK1Chain,Yn as juneoLTC1Chain,Jn as juneoSGD1Chain,Fn as juneoSocotraTestnet,Wn as juneoUSD1Chain,Qn as juneoUSDT1Chain,Xn as juneomBTC1Chain,_n as kaia,$n as kairos,ai as kakarotSepolia,si as kakarotStarknetSepolia,ei as kardiaChain,ti as karura,ni as katana,ii as kava,oi as kavaTestnet,ri as kcc,li as kiiTestnetOro,ci as kinto,hi as klaytn,pi as klaytnBaobab,di as koi,Ti as kroma,mi as kromaSepolia,ui as l3x,bi as l3xTestnet,ki as lavita,fi as lens,gi as lensTestnet,yi as lestnet,ji as lightlinkPegasus,Si as lightlinkPhoenix,vi as linea,xi as lineaGoerli,wi as lineaSepolia,Ci as lineaTestnet,zi as lisk,Ni as liskSepolia,Mi as loadAlphanet,Ei as localhost,qi as loop,Bi as lukso,Li as luksoTestnet,Di as lumiaMainnet,Vi as lumiaTestnet,Ai as lumoz,Gi as lumozTestnet,Pi as lycan,Ui as lyra,Oi as mainnet,Ii as mandala,Hi as manta,Zi as mantaSepoliaTestnet,Ki as mantaTestnet,Ri as mantle,Yi as mantleSepoliaTestnet,Ji as mantleTestnet,Fi as mantraDuKongEVMTestnet,Wi as mantraEVM,Qi as mapProtocol,Xi as matchain,_i as matchainTestnet,$i as mchVerse,ao as megaethTestnet,so as mekong,eo as meld,to as memecore,no as merlin,io as merlinErigonTestnet,oo as metachain,ro as metachainIstanbul,lo as metadium,co as metalL2,ho as meter,po as meterTestnet,To as metis,mo as metisGoerli,uo as metisSepolia,bo as mev,ko as mevTestnet,fo as mint,go as mintSepoliaTestnet,yo as mitosisTestnet,jo as mode,So as modeTestnet,vo as monad,xo as monadTestnet,wo as moonbaseAlpha,Co as moonbeam,zo as moonbeamDev,No as moonriver,Mo as morph,Eo as morphHolesky,qo as morphSepolia,Bo as nahmii,Lo as nautilus,Do as near,Vo as nearTestnet,Ao as neonDevnet,Go as neonMainnet,Po as neoxMainnet,Uo as neoxT4,Oo as newton,Io as nexi,Ho as nexilix,Zo as nibiru,Ko as nitrographTestnet,Ro as nomina,Yo as oasisTestnet,Jo as oasys,Fo as odysseyTestnet,Wo as okc,Qo as omax,Xo as omni,_o as omniOmega,$o as oneWorld,ar as oortMainnetDev,sr as opBNB,er as opBNBTestnet,tr as openledger,nr as optimism,ir as optimismGoerli,or as optimismSepolia,rr as optopia,lr as optopiaTestnet,cr as orderly,hr as orderlySepolia,pr as otimDevnet,dr as palm,Tr as palmTestnet,mr as peaq,ur as pgn,br as pgnTestnet,kr as phoenix,fr as planq,gr as plasma,yr as plasmaDevnet,jr as plasmaTestnet,Sr as playfiAlbireo,vr as plinga,xr as plume,wr as plumeDevnet,Cr as plumeMainnet,zr as plumeSepolia,Nr as plumeTestnet,Mr as polterTestnet,Er as polygon,qr as polygonAmoy,Br as polygonMumbai,Lr as polygonZkEvm,Dr as polygonZkEvmCardona,Vr as polygonZkEvmTestnet,Ar as polynomial,Gr as polynomialSepolia,Pr as potos,Ur as potosTestnet,Or as premiumBlockTestnet,Ir as pulsechain,Hr as pulsechainV4,Zr as pumpfiTestnet,Kr as pyrope,Rr as qMainnet,Yr as qTestnet,Jr as ql1,Fr as quai,Wr as quaiTestnet,Qr as reactiveTestnet,Xr as real,_r as redbellyMainnet,$r as redbellyTestnet,al as reddio,sl as reddioSepolia,el as redstone,tl as rei,nl as reyaNetwork,il as riseTestnet,ol as rivalz,rl as rollux,ll as rolluxTestnet,cl as ronin,hl as root,pl as rootPorcini,dl as rootstock,Tl as rootstockTestnet,ml as rss3,ul as rss3Sepolia,bl as saakuru,kl as saga,fl as saigon,gl as sanko,yl as sapphire,jl as sapphireTestnet,Sl as satoshiVM,vl as satoshiVMTestnet,xl as scroll,wl as scrollSepolia,Cl as sei,zl as seiDevnet,Nl as seiTestnet,Ml as seismicDevnet,El as sepolia,ql as shape,Bl as shapeSepolia,Ll as shardeum,Dl as shardeumSphinx,Vl as shibarium,Al as shibariumTestnet,Gl as shiden,Pl as shimmer,Ul as shimmerTestnet,Ol as sidraChain,Il as silentData,Hl as silicon,Zl as siliconSepolia,Kl as sixProtocol,Rl as skaleBase,Yl as skaleBaseSepoliaTestnet,Jl as skaleBlockBrawlers,Fl as skaleCalypso,Wl as skaleCalypsoTestnet,Ql as skaleCryptoBlades,Xl as skaleCryptoColosseum,_l as skaleEuropa,$l as skaleEuropaTestnet,ac as skaleExorde,sc as skaleHumanProtocol,ec as skaleNebula,tc as skaleNebulaTestnet,nc as skaleRazor,ic as skaleTitan,oc as skaleTitanTestnet,rc as sketchpad,lc as snax,cc as snaxTestnet,n as solana,i as solanaDevnet,o as solanaTestnet,hc as somnia,pc as somniaTestnet,dc as soneium,Tc as soneiumMinato,mc as songbird,uc as songbirdTestnet,bc as sonic,kc as sonicBlazeTestnet,fc as sonicTestnet,gc as sophon,yc as sophonTestnet,jc as sova,Sc as sovaSepolia,vc as spicy,xc as stableTestnet,wc as statusNetworkSepolia,Cc as statusSepolia,zc as step,Nc as story,Mc as storyAeneid,Ec as storyOdyssey,qc as storyTestnet,Bc as stratis,Lc as superlumio,Dc as superposition,Vc as superseed,Ac as superseedSepolia,Gc as surgeTestnet,Pc as swan,Uc as swanProximaTestnet,Oc as swanSaturnTestnet,Ic as swellchain,Hc as swellchainTestnet,Zc as swissdlt,Kc as syscoin,Rc as syscoinTestnet,Yc as tac,Jc as tacSPB,Fc as taiko,Wc as taikoHekla,Qc as taikoHoodi,Xc as taikoJolnir,_c as taikoKatla,$c as taikoTestnetSepolia,ah as taraxa,sh as taraxaTestnet,eh as teaSepolia,th as telcoinTestnet,nh as telos,ih as telosTestnet,oh as tempoDevnet,rh as tempoLocalnet,lh as tempoTestnet,ch as tenet,hh as ternoa,ph as thaiChain,dh as that,Th as theta,mh as thetaTestnet,uh as thunderCore,bh as thunderTestnet,kh as tiktrixTestnet,fh as tomb,h as ton,p as tonTestnet,gh as treasure,yh as treasureTopaz,jh as tron,Sh as tronNile,vh as tronShasta,xh as ubiq,wh as ultra,Ch as ultraTestnet,zh as ultron,Nh as ultronTestnet,Mh as unichain,Eh as unichainSepolia,qh as unique,Bh as uniqueOpal,Lh as uniqueQuartz,Dh as unreal,Vh as vana,Ah as vanaMoksha,Gh as vanar,Ph as vechain,Uh as velas,Oh as viction,Ih as victionTestnet,Hh as vision,Zh as visionTestnet,Kh as wanchain,Rh as wanchainTestnet,Yh as weaveVMAlphanet,Jh as wemix,Fh as wemixTestnet,Wh as westendAssetHub,Qh as whitechain,Xh as whitechainTestnet,_h as wmcTestnet,$h as worldLand,ap as worldchain,sp as worldchainSepolia,ep as x1Testnet,tp as xLayer,np as xLayerTestnet,ip as xai,op as xaiTestnet,rp as xdc,lp as xdcTestnet,cp as xoneMainnet,hp as xoneTestnet,pp as xphereMainnet,dp as xphereTestnet,Tp as xrOne,mp as xrSepolia,up as xrplevm,bp as xrplevmDevnet,kp as xrplevmTestnet,fp as yooldoVerse,gp as yooldoVerseTestnet,yp as zenchainTestnet,jp as zeniq,Sp as zeroG,vp as zeroGGalileoTestnet,xp as zeroGMainnet,wp as zeroGTestnet,Cp as zeroNetwork,zp as zetachain,Np as zetachainAthensTestnet,Mp as zhejiang,Ep as zilliqa,qp as zilliqaTestnet,Bp as zircuit,Lp as zircuitGarfieldTestnet,Dp as zircuitTestnet,Vp as zkFair,Ap as zkFairTestnet,Gp as zkLinkNova,Pp as zkLinkNovaSepoliaTestnet,Up as zkSync,Op as zkSyncInMemoryNode,Ip as zkSyncLocalNode,Hp as zkSyncSepoliaTestnet,Zp as zksync,Kp as zksyncInMemoryNode,Rp as zksyncLocalCustomHyperchain,Yp as zksyncLocalHyperchain,Jp as zksyncLocalHyperchainL1,Fp as zksyncLocalNode,Wp as zksyncSepoliaTestnet,Qp as zora,Xp as zoraSepolia,_p as zoraTestnet};
@@ -0,0 +1,422 @@
1
+ import{j as O,l as w,_ as l,$ as C,O as _,m as u,M as $,C as I,H as E,R as S,h as B,E as z,y as V,W as M,x as K,T as F,S as W}from"./index-48bd3fca.js";import{r as c,c as g,n as d}from"./index-84e8ecf6.js";import{o as m}from"./if-defined-0a35f675.js";import"./index-db5b7889.js";import{O as j}from"./index-32d53c87.js";import"./index-42ce7246.js";import"./index-07a61b45.js";import"./index-5788a0d6.js";import"./index-5824c226.js";import"./index-47e87339.js";import"./index-ff4dea43.js";import"./index-a59b6662.js";import"./index-9d970383.js";import"./index-d70e4ab8.js";import"./NetworkUtil-220ea128.js";import"./BlockOverrides-9837a6f9.js";import"./index-4243d275.js";import"./ref-88e1be05.js";const N=O`
2
+ :host > wui-grid {
3
+ max-height: 360px;
4
+ overflow: auto;
5
+ }
6
+
7
+ wui-flex {
8
+ transition: opacity ${({easings:t})=>t["ease-out-power-1"]}
9
+ ${({durations:t})=>t.md};
10
+ will-change: opacity;
11
+ }
12
+
13
+ wui-grid::-webkit-scrollbar {
14
+ display: none;
15
+ }
16
+
17
+ wui-flex.disabled {
18
+ opacity: 0.3;
19
+ pointer-events: none;
20
+ user-select: none;
21
+ }
22
+ `;var T=globalThis&&globalThis.__decorate||function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let P=class extends w{constructor(){super(),this.unsubscribe=[],this.selectedCurrency=l.state.paymentCurrency,this.currencies=l.state.paymentCurrencies,this.currencyImages=C.state.currencyImages,this.checked=j.state.isLegalCheckboxChecked,this.unsubscribe.push(l.subscribe(e=>{this.selectedCurrency=e.paymentCurrency,this.currencies=e.paymentCurrencies}),C.subscribeKey("currencyImages",e=>this.currencyImages=e),j.subscribeKey("isLegalCheckboxChecked",e=>{this.checked=e}))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){var a;const{termsConditionsUrl:e,privacyPolicyUrl:i}=_.state,o=(a=_.state.features)==null?void 0:a.legalCheckbox,s=!!(e||i)&&!!o&&!this.checked;return u`
23
+ <w3m-legal-checkbox></w3m-legal-checkbox>
24
+ <wui-flex
25
+ flexDirection="column"
26
+ .padding=${["0","3","3","3"]}
27
+ gap="2"
28
+ class=${m(s?"disabled":void 0)}
29
+ >
30
+ ${this.currenciesTemplate(s)}
31
+ </wui-flex>
32
+ `}currenciesTemplate(e=!1){return this.currencies.map(i=>{var o;return u`
33
+ <wui-list-item
34
+ imageSrc=${m((o=this.currencyImages)==null?void 0:o[i.id])}
35
+ @click=${()=>this.selectCurrency(i)}
36
+ variant="image"
37
+ tabIdx=${m(e?-1:void 0)}
38
+ >
39
+ <wui-text variant="md-medium" color="primary">${i.id}</wui-text>
40
+ </wui-list-item>
41
+ `})}selectCurrency(e){e&&(l.setPaymentCurrency(e),$.close())}};P.styles=N;T([c()],P.prototype,"selectedCurrency",void 0);T([c()],P.prototype,"currencies",void 0);T([c()],P.prototype,"currencyImages",void 0);T([c()],P.prototype,"checked",void 0);P=T([g("w3m-onramp-fiat-select-view")],P);const Y=O`
42
+ button {
43
+ padding: ${({spacing:t})=>t[3]};
44
+ border-radius: ${({borderRadius:t})=>t[4]};
45
+ border: none;
46
+ outline: none;
47
+ background-color: ${({tokens:t})=>t.core.glass010};
48
+ width: 100%;
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: flex-start;
52
+ gap: ${({spacing:t})=>t[3]};
53
+ transition: background-color ${({easings:t})=>t["ease-out-power-1"]}
54
+ ${({durations:t})=>t.md};
55
+ will-change: background-color;
56
+ cursor: pointer;
57
+ }
58
+
59
+ button:hover {
60
+ background-color: ${({tokens:t})=>t.theme.foregroundPrimary};
61
+ }
62
+
63
+ .provider-image {
64
+ width: ${({spacing:t})=>t[10]};
65
+ min-width: ${({spacing:t})=>t[10]};
66
+ height: ${({spacing:t})=>t[10]};
67
+ border-radius: calc(
68
+ ${({borderRadius:t})=>t[4]} - calc(${({spacing:t})=>t[3]} / 2)
69
+ );
70
+ position: relative;
71
+ overflow: hidden;
72
+ }
73
+
74
+ .network-icon {
75
+ width: ${({spacing:t})=>t[3]};
76
+ height: ${({spacing:t})=>t[3]};
77
+ border-radius: calc(${({spacing:t})=>t[3]} / 2);
78
+ overflow: hidden;
79
+ box-shadow:
80
+ 0 0 0 3px ${({tokens:t})=>t.theme.foregroundPrimary},
81
+ 0 0 0 3px ${({tokens:t})=>t.theme.backgroundPrimary};
82
+ transition: box-shadow ${({easings:t})=>t["ease-out-power-1"]}
83
+ ${({durations:t})=>t.md};
84
+ will-change: box-shadow;
85
+ }
86
+
87
+ button:hover .network-icon {
88
+ box-shadow:
89
+ 0 0 0 3px ${({tokens:t})=>t.core.glass010},
90
+ 0 0 0 3px ${({tokens:t})=>t.theme.backgroundPrimary};
91
+ }
92
+ `;var v=globalThis&&globalThis.__decorate||function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let h=class extends w{constructor(){super(...arguments),this.disabled=!1,this.color="inherit",this.label="",this.feeRange="",this.loading=!1,this.onClick=null}render(){return u`
93
+ <button ?disabled=${this.disabled} @click=${this.onClick} ontouchstart>
94
+ <wui-visual name=${m(this.name)} class="provider-image"></wui-visual>
95
+ <wui-flex flexDirection="column" gap="01">
96
+ <wui-text variant="md-regular" color="primary">${this.label}</wui-text>
97
+ <wui-flex alignItems="center" justifyContent="flex-start" gap="4">
98
+ <wui-text variant="sm-medium" color="primary">
99
+ <wui-text variant="sm-regular" color="secondary">Fees</wui-text>
100
+ ${this.feeRange}
101
+ </wui-text>
102
+ <wui-flex gap="2">
103
+ <wui-icon name="bank" size="sm" color="default"></wui-icon>
104
+ <wui-icon name="card" size="sm" color="default"></wui-icon>
105
+ </wui-flex>
106
+ ${this.networksTemplate()}
107
+ </wui-flex>
108
+ </wui-flex>
109
+ ${this.loading?u`<wui-loading-spinner color="secondary" size="md"></wui-loading-spinner>`:u`<wui-icon name="chevronRight" color="default" size="sm"></wui-icon>`}
110
+ </button>
111
+ `}networksTemplate(){var o;const e=I.getAllRequestedCaipNetworks(),i=(o=e==null?void 0:e.filter(n=>{var r;return(r=n==null?void 0:n.assets)==null?void 0:r.imageId}))==null?void 0:o.slice(0,5);return u`
112
+ <wui-flex class="networks">
113
+ ${i==null?void 0:i.map(n=>u`
114
+ <wui-flex class="network-icon">
115
+ <wui-image src=${m(E.getNetworkImage(n))}></wui-image>
116
+ </wui-flex>
117
+ `)}
118
+ </wui-flex>
119
+ `}};h.styles=[Y];v([d({type:Boolean})],h.prototype,"disabled",void 0);v([d()],h.prototype,"color",void 0);v([d()],h.prototype,"name",void 0);v([d()],h.prototype,"label",void 0);v([d()],h.prototype,"feeRange",void 0);v([d({type:Boolean})],h.prototype,"loading",void 0);v([d()],h.prototype,"onClick",void 0);h=v([g("w3m-onramp-provider-item")],h);var L=globalThis&&globalThis.__decorate||function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let U=class extends w{constructor(){super(),this.unsubscribe=[],this.providers=l.state.providers,this.unsubscribe.push(l.subscribeKey("providers",e=>{this.providers=e}))}render(){return u`
120
+ <wui-flex flexDirection="column" .padding=${["0","3","3","3"]} gap="2">
121
+ ${this.onRampProvidersTemplate()}
122
+ </wui-flex>
123
+ `}onRampProvidersTemplate(){return this.providers.filter(e=>e.supportedChains.includes(I.state.activeChain??"eip155")).map(e=>u`
124
+ <w3m-onramp-provider-item
125
+ label=${e.label}
126
+ name=${e.name}
127
+ feeRange=${e.feeRange}
128
+ @click=${()=>{this.onClickProvider(e)}}
129
+ ?disabled=${!e.url}
130
+ data-testid=${`onramp-provider-${e.name}`}
131
+ ></w3m-onramp-provider-item>
132
+ `)}onClickProvider(e){var i;l.setSelectedProvider(e),S.push("BuyInProgress"),B.openHref(((i=l.state.selectedProvider)==null?void 0:i.url)||e.url,"popupWindow","width=600,height=800,scrollbars=yes"),z.sendEvent({type:"track",event:"SELECT_BUY_PROVIDER",properties:{provider:e.name,isSmartAccount:V(I.state.activeChain)===M.ACCOUNT_TYPES.SMART_ACCOUNT}})}};L([c()],U.prototype,"providers",void 0);U=L([g("w3m-onramp-providers-view")],U);const q=O`
133
+ :host > wui-grid {
134
+ max-height: 360px;
135
+ overflow: auto;
136
+ }
137
+
138
+ wui-flex {
139
+ transition: opacity ${({easings:t})=>t["ease-out-power-1"]}
140
+ ${({durations:t})=>t.md};
141
+ will-change: opacity;
142
+ }
143
+
144
+ wui-grid::-webkit-scrollbar {
145
+ display: none;
146
+ }
147
+
148
+ wui-flex.disabled {
149
+ opacity: 0.3;
150
+ pointer-events: none;
151
+ user-select: none;
152
+ }
153
+ `;var A=globalThis&&globalThis.__decorate||function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let R=class extends w{constructor(){super(),this.unsubscribe=[],this.selectedCurrency=l.state.purchaseCurrencies,this.tokens=l.state.purchaseCurrencies,this.tokenImages=C.state.tokenImages,this.checked=j.state.isLegalCheckboxChecked,this.unsubscribe.push(l.subscribe(e=>{this.selectedCurrency=e.purchaseCurrencies,this.tokens=e.purchaseCurrencies}),C.subscribeKey("tokenImages",e=>this.tokenImages=e),j.subscribeKey("isLegalCheckboxChecked",e=>{this.checked=e}))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){var a;const{termsConditionsUrl:e,privacyPolicyUrl:i}=_.state,o=(a=_.state.features)==null?void 0:a.legalCheckbox,s=!!(e||i)&&!!o&&!this.checked;return u`
154
+ <w3m-legal-checkbox></w3m-legal-checkbox>
155
+ <wui-flex
156
+ flexDirection="column"
157
+ .padding=${["0","3","3","3"]}
158
+ gap="2"
159
+ class=${m(s?"disabled":void 0)}
160
+ >
161
+ ${this.currenciesTemplate(s)}
162
+ </wui-flex>
163
+ `}currenciesTemplate(e=!1){return this.tokens.map(i=>{var o;return u`
164
+ <wui-list-item
165
+ imageSrc=${m((o=this.tokenImages)==null?void 0:o[i.symbol])}
166
+ @click=${()=>this.selectToken(i)}
167
+ variant="image"
168
+ tabIdx=${m(e?-1:void 0)}
169
+ >
170
+ <wui-flex gap="1" alignItems="center">
171
+ <wui-text variant="md-medium" color="primary">${i.name}</wui-text>
172
+ <wui-text variant="sm-regular" color="secondary">${i.symbol}</wui-text>
173
+ </wui-flex>
174
+ </wui-list-item>
175
+ `})}selectToken(e){e&&(l.setPurchaseCurrency(e),$.close())}};R.styles=q;A([c()],R.prototype,"selectedCurrency",void 0);A([c()],R.prototype,"tokens",void 0);A([c()],R.prototype,"tokenImages",void 0);A([c()],R.prototype,"checked",void 0);R=A([g("w3m-onramp-token-select-view")],R);const Q=O`
176
+ @keyframes shake {
177
+ 0% {
178
+ transform: translateX(0);
179
+ }
180
+ 25% {
181
+ transform: translateX(3px);
182
+ }
183
+ 50% {
184
+ transform: translateX(-3px);
185
+ }
186
+ 75% {
187
+ transform: translateX(3px);
188
+ }
189
+ 100% {
190
+ transform: translateX(0);
191
+ }
192
+ }
193
+
194
+ wui-flex:first-child:not(:only-child) {
195
+ position: relative;
196
+ }
197
+
198
+ wui-loading-thumbnail {
199
+ position: absolute;
200
+ }
201
+
202
+ wui-visual {
203
+ border-radius: calc(
204
+ ${({borderRadius:t})=>t[1]} * 9 - ${({borderRadius:t})=>t[3]}
205
+ );
206
+ position: relative;
207
+ overflow: hidden;
208
+ }
209
+
210
+ wui-icon-box {
211
+ position: absolute;
212
+ right: calc(${({spacing:t})=>t[1]} * -1);
213
+ bottom: calc(${({spacing:t})=>t[1]} * -1);
214
+ opacity: 0;
215
+ transform: scale(0.5);
216
+ transition:
217
+ opacity ${({durations:t})=>t.lg} ${({easings:t})=>t["ease-out-power-2"]},
218
+ transform ${({durations:t})=>t.lg}
219
+ ${({easings:t})=>t["ease-out-power-2"]};
220
+ will-change: opacity, transform;
221
+ }
222
+
223
+ wui-text[align='center'] {
224
+ width: 100%;
225
+ padding: 0px ${({spacing:t})=>t[4]};
226
+ }
227
+
228
+ [data-error='true'] wui-icon-box {
229
+ opacity: 1;
230
+ transform: scale(1);
231
+ }
232
+
233
+ [data-error='true'] > wui-flex:first-child {
234
+ animation: shake 250ms ${({easings:t})=>t["ease-out-power-2"]} both;
235
+ }
236
+
237
+ [data-retry='false'] wui-link {
238
+ display: none;
239
+ }
240
+
241
+ [data-retry='true'] wui-link {
242
+ display: block;
243
+ opacity: 1;
244
+ }
245
+
246
+ wui-link {
247
+ padding: ${({spacing:t})=>t["01"]} ${({spacing:t})=>t[2]};
248
+ }
249
+ `;var f=globalThis&&globalThis.__decorate||function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let p=class extends w{constructor(){super(),this.unsubscribe=[],this.selectedOnRampProvider=l.state.selectedProvider,this.uri=K.state.wcUri,this.ready=!1,this.showRetry=!1,this.buffering=!1,this.error=!1,this.isMobile=!1,this.onRetry=void 0,this.unsubscribe.push(l.subscribeKey("selectedProvider",e=>{this.selectedOnRampProvider=e}))}disconnectedCallback(){this.intervalId&&clearInterval(this.intervalId)}render(){var o,n;let e="Continue in external window";this.error?e="Buy failed":this.selectedOnRampProvider&&(e=`Buy in ${(o=this.selectedOnRampProvider)==null?void 0:o.label}`);const i=this.error?"Buy can be declined from your side or due to and error on the provider app":"We’ll notify you once your Buy is processed";return u`
250
+ <wui-flex
251
+ data-error=${m(this.error)}
252
+ data-retry=${this.showRetry}
253
+ flexDirection="column"
254
+ alignItems="center"
255
+ .padding=${["10","5","5","5"]}
256
+ gap="5"
257
+ >
258
+ <wui-flex justifyContent="center" alignItems="center">
259
+ <wui-visual
260
+ name=${m((n=this.selectedOnRampProvider)==null?void 0:n.name)}
261
+ size="lg"
262
+ class="provider-image"
263
+ >
264
+ </wui-visual>
265
+
266
+ ${this.error?null:this.loaderTemplate()}
267
+
268
+ <wui-icon-box
269
+ color="error"
270
+ icon="close"
271
+ size="sm"
272
+ border
273
+ borderColor="wui-color-bg-125"
274
+ ></wui-icon-box>
275
+ </wui-flex>
276
+
277
+ <wui-flex
278
+ flexDirection="column"
279
+ alignItems="center"
280
+ gap="2"
281
+ .padding=${["4","0","0","0"]}
282
+ >
283
+ <wui-text variant="md-medium" color=${this.error?"error":"primary"}>
284
+ ${e}
285
+ </wui-text>
286
+ <wui-text align="center" variant="sm-medium" color="secondary">${i}</wui-text>
287
+ </wui-flex>
288
+
289
+ ${this.error?this.tryAgainTemplate():null}
290
+ </wui-flex>
291
+
292
+ <wui-flex .padding=${["0","5","5","5"]} justifyContent="center">
293
+ <wui-link @click=${this.onCopyUri} color="secondary">
294
+ <wui-icon size="sm" color="default" slot="iconLeft" name="copy"></wui-icon>
295
+ Copy link
296
+ </wui-link>
297
+ </wui-flex>
298
+ `}onTryAgain(){this.selectedOnRampProvider&&(this.error=!1,B.openHref(this.selectedOnRampProvider.url,"popupWindow","width=600,height=800,scrollbars=yes"))}tryAgainTemplate(){var e;return(e=this.selectedOnRampProvider)!=null&&e.url?u`<wui-button size="md" variant="accent" @click=${this.onTryAgain.bind(this)}>
299
+ <wui-icon color="inherit" slot="iconLeft" name="refresh"></wui-icon>
300
+ Try again
301
+ </wui-button>`:null}loaderTemplate(){const e=F.state.themeVariables["--w3m-border-radius-master"],i=e?parseInt(e.replace("px",""),10):4;return u`<wui-loading-thumbnail radius=${i*9}></wui-loading-thumbnail>`}onCopyUri(){var e;if(!((e=this.selectedOnRampProvider)!=null&&e.url)){W.showError("No link found"),S.goBack();return}try{B.copyToClopboard(this.selectedOnRampProvider.url),W.showSuccess("Link copied")}catch{W.showError("Failed to copy")}}};p.styles=Q;f([c()],p.prototype,"intervalId",void 0);f([c()],p.prototype,"selectedOnRampProvider",void 0);f([c()],p.prototype,"uri",void 0);f([c()],p.prototype,"ready",void 0);f([c()],p.prototype,"showRetry",void 0);f([c()],p.prototype,"buffering",void 0);f([c()],p.prototype,"error",void 0);f([d({type:Boolean})],p.prototype,"isMobile",void 0);f([d()],p.prototype,"onRetry",void 0);p=f([g("w3m-buy-in-progress-view")],p);var X=globalThis&&globalThis.__decorate||function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let D=class extends w{render(){return u`
302
+ <wui-flex
303
+ flexDirection="column"
304
+ .padding=${["6","10","5","10"]}
305
+ alignItems="center"
306
+ gap="5"
307
+ >
308
+ <wui-visual name="onrampCard"></wui-visual>
309
+ <wui-flex flexDirection="column" gap="2" alignItems="center">
310
+ <wui-text align="center" variant="md-medium" color="primary">
311
+ Quickly and easily buy digital assets!
312
+ </wui-text>
313
+ <wui-text align="center" variant="sm-regular" color="secondary">
314
+ Simply select your preferred onramp provider and add digital assets to your account
315
+ using your credit card or bank transfer
316
+ </wui-text>
317
+ </wui-flex>
318
+ <wui-button @click=${S.goBack}>
319
+ <wui-icon size="sm" color="inherit" name="add" slot="iconLeft"></wui-icon>
320
+ Buy
321
+ </wui-button>
322
+ </wui-flex>
323
+ `}};D=X([g("w3m-what-is-a-buy-view")],D);const H=O`
324
+ :host {
325
+ width: 100%;
326
+ }
327
+
328
+ wui-loading-spinner {
329
+ position: absolute;
330
+ top: 50%;
331
+ right: 20px;
332
+ transform: translateY(-50%);
333
+ }
334
+
335
+ .currency-container {
336
+ position: absolute;
337
+ top: 50%;
338
+ transform: translateY(-50%);
339
+ right: ${({spacing:t})=>t[2]};
340
+ height: 40px;
341
+ padding: ${({spacing:t})=>t[2]} ${({spacing:t})=>t[2]}
342
+ ${({spacing:t})=>t[2]} ${({spacing:t})=>t[2]};
343
+ min-width: 95px;
344
+ border-radius: ${({borderRadius:t})=>t.round};
345
+ border: 1px solid ${({tokens:t})=>t.theme.foregroundPrimary};
346
+ background: ${({tokens:t})=>t.theme.foregroundPrimary};
347
+ cursor: pointer;
348
+ }
349
+
350
+ .currency-container > wui-image {
351
+ height: 24px;
352
+ width: 24px;
353
+ border-radius: 50%;
354
+ }
355
+ `;var k=globalThis&&globalThis.__decorate||function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};let b=class extends w{constructor(){var e;super(),this.unsubscribe=[],this.type="Token",this.value=0,this.currencies=[],this.selectedCurrency=(e=this.currencies)==null?void 0:e[0],this.currencyImages=C.state.currencyImages,this.tokenImages=C.state.tokenImages,this.unsubscribe.push(l.subscribeKey("purchaseCurrency",i=>{!i||this.type==="Fiat"||(this.selectedCurrency=this.formatPurchaseCurrency(i))}),l.subscribeKey("paymentCurrency",i=>{!i||this.type==="Token"||(this.selectedCurrency=this.formatPaymentCurrency(i))}),l.subscribe(i=>{this.type==="Fiat"?this.currencies=i.purchaseCurrencies.map(this.formatPurchaseCurrency):this.currencies=i.paymentCurrencies.map(this.formatPaymentCurrency)}),C.subscribe(i=>{this.currencyImages={...i.currencyImages},this.tokenImages={...i.tokenImages}}))}firstUpdated(){l.getAvailableCurrencies()}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){var o;const e=((o=this.selectedCurrency)==null?void 0:o.symbol)||"",i=this.currencyImages[e]||this.tokenImages[e];return u`<wui-input-text type="number" size="lg" value=${this.value}>
356
+ ${this.selectedCurrency?u` <wui-flex
357
+ class="currency-container"
358
+ justifyContent="space-between"
359
+ alignItems="center"
360
+ gap="1"
361
+ @click=${()=>$.open({view:`OnRamp${this.type}Select`})}
362
+ >
363
+ <wui-image src=${m(i)}></wui-image>
364
+ <wui-text color="primary">${this.selectedCurrency.symbol}</wui-text>
365
+ </wui-flex>`:u`<wui-loading-spinner></wui-loading-spinner>`}
366
+ </wui-input-text>`}formatPaymentCurrency(e){return{name:e.id,symbol:e.id}}formatPurchaseCurrency(e){return{name:e.name,symbol:e.symbol}}};b.styles=H;k([d({type:String})],b.prototype,"type",void 0);k([d({type:Number})],b.prototype,"value",void 0);k([c()],b.prototype,"currencies",void 0);k([c()],b.prototype,"selectedCurrency",void 0);k([c()],b.prototype,"currencyImages",void 0);k([c()],b.prototype,"tokenImages",void 0);b=k([g("w3m-onramp-input")],b);const G=O`
367
+ :host > wui-flex {
368
+ width: 100%;
369
+ max-width: 360px;
370
+ }
371
+
372
+ :host > wui-flex > wui-flex {
373
+ border-radius: ${({borderRadius:t})=>t[8]};
374
+ width: 100%;
375
+ }
376
+
377
+ .amounts-container {
378
+ width: 100%;
379
+ }
380
+ `;var x=globalThis&&globalThis.__decorate||function(t,e,i,o){var n=arguments.length,r=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const J={USD:"$",EUR:"€",GBP:"£"},Z=[100,250,500,1e3];let y=class extends w{constructor(){super(),this.unsubscribe=[],this.disabled=!1,this.caipAddress=I.state.activeCaipAddress,this.loading=$.state.loading,this.paymentCurrency=l.state.paymentCurrency,this.paymentAmount=l.state.paymentAmount,this.purchaseAmount=l.state.purchaseAmount,this.quoteLoading=l.state.quotesLoading,this.unsubscribe.push(I.subscribeKey("activeCaipAddress",e=>this.caipAddress=e),$.subscribeKey("loading",e=>{this.loading=e}),l.subscribe(e=>{this.paymentCurrency=e.paymentCurrency,this.paymentAmount=e.paymentAmount,this.purchaseAmount=e.purchaseAmount,this.quoteLoading=e.quotesLoading}))}disconnectedCallback(){this.unsubscribe.forEach(e=>e())}render(){return u`
381
+ <wui-flex flexDirection="column" justifyContent="center" alignItems="center">
382
+ <wui-flex flexDirection="column" alignItems="center" gap="2">
383
+ <w3m-onramp-input
384
+ type="Fiat"
385
+ @inputChange=${this.onPaymentAmountChange.bind(this)}
386
+ .value=${this.paymentAmount||0}
387
+ ></w3m-onramp-input>
388
+ <w3m-onramp-input
389
+ type="Token"
390
+ .value=${this.purchaseAmount||0}
391
+ .loading=${this.quoteLoading}
392
+ ></w3m-onramp-input>
393
+ <wui-flex justifyContent="space-evenly" class="amounts-container" gap="2">
394
+ ${Z.map(e=>{var i;return u`<wui-button
395
+ variant=${this.paymentAmount===e?"accent-secondary":"neutral-secondary"}
396
+ size="md"
397
+ textVariant="md-medium"
398
+ fullWidth
399
+ @click=${()=>this.selectPresetAmount(e)}
400
+ >${`${J[((i=this.paymentCurrency)==null?void 0:i.id)||"USD"]} ${e}`}</wui-button
401
+ >`})}
402
+ </wui-flex>
403
+ ${this.templateButton()}
404
+ </wui-flex>
405
+ </wui-flex>
406
+ `}templateButton(){return this.caipAddress?u`<wui-button
407
+ @click=${this.getQuotes.bind(this)}
408
+ variant="accent-primary"
409
+ fullWidth
410
+ size="lg"
411
+ borderRadius="xs"
412
+ >
413
+ Get quotes
414
+ </wui-button>`:u`<wui-button
415
+ @click=${this.openModal.bind(this)}
416
+ variant="accent"
417
+ fullWidth
418
+ size="lg"
419
+ borderRadius="xs"
420
+ >
421
+ Connect wallet
422
+ </wui-button>`}getQuotes(){this.loading||$.open({view:"OnRampProviders"})}openModal(){$.open({view:"Connect"})}async onPaymentAmountChange(e){l.setPaymentAmount(Number(e.detail)),await l.getQuote()}async selectPresetAmount(e){l.setPaymentAmount(e),await l.getQuote()}};y.styles=G;x([d({type:Boolean})],y.prototype,"disabled",void 0);x([c()],y.prototype,"caipAddress",void 0);x([c()],y.prototype,"loading",void 0);x([c()],y.prototype,"paymentCurrency",void 0);x([c()],y.prototype,"paymentAmount",void 0);x([c()],y.prototype,"purchaseAmount",void 0);x([c()],y.prototype,"quoteLoading",void 0);y=x([g("w3m-onramp-widget")],y);export{p as W3mBuyInProgressView,U as W3mOnRampProvidersView,P as W3mOnrampFiatSelectView,R as W3mOnrampTokensView,y as W3mOnrampWidget,D as W3mWhatIsABuyView};