@blockend/widget 1.0.57 → 1.0.59

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 (110) hide show
  1. package/dist/{AllRoutes-B1a7Sisc.js → AllRoutes-DLW_zr80.js} +9 -9
  2. package/dist/{Box-CtkUvyKi.js → Box-TQlc5XGY.js} +1 -1
  3. package/dist/{EstGas-BgRchsSw.js → EstGas-y21auhXn.js} +7 -7
  4. package/dist/{Grow-DCuNJP12.js → Grow-C2gkstcO.js} +2 -2
  5. package/dist/{InputComp-CLCGCArk.js → InputComp-DPqxq3WJ.js} +3 -3
  6. package/dist/{LoadRoute-CmWoHwz8.js → LoadRoute-CYOd8IXL.js} +4 -4
  7. package/dist/{QuotesProgress-BYEYjV1N.js → QuotesProgress-CZJ1OYOJ.js} +1 -1
  8. package/dist/{SwapAsset-CWcUv8cg.js → SwapAsset-BbFI0i4A.js} +1 -1
  9. package/dist/{Tooltip-qnRjkaHu.js → Tooltip-TXzv9Vye.js} +3 -3
  10. package/dist/TxnButton-DrreNInQ.js +222 -0
  11. package/dist/{add-C0WjduJo.js → add-APdadLQT.js} +1 -1
  12. package/dist/{all-wallets-BG090vGz.js → all-wallets-KxPqG8EH.js} +1 -1
  13. package/dist/{app-store-8QUBxl1J.js → app-store-Dxb0nkzQ.js} +1 -1
  14. package/dist/{apple-CAKcoFwo.js → apple-Dvjxj2Wq.js} +1 -1
  15. package/dist/{arrow-bottom-BrQB33BF.js → arrow-bottom-Dg5C8wl8.js} +1 -1
  16. package/dist/{arrow-bottom-circle-D2882GmP.js → arrow-bottom-circle-YRAeng_B.js} +1 -1
  17. package/dist/{arrow-left-B4guw_Rh.js → arrow-left-BkQDk_M8.js} +1 -1
  18. package/dist/{arrow-right-C3YXteZd.js → arrow-right-B7yf006y.js} +1 -1
  19. package/dist/{arrow-top-B9jQ17Ob.js → arrow-top-B-PoIOGy.js} +1 -1
  20. package/dist/{bank-BDNulypK.js → bank-BbSy_6QS.js} +1 -1
  21. package/dist/{basic-BYr8jdy2.js → basic-C9N4Ss1m.js} +3 -3
  22. package/dist/{browser-XDOSatp1.js → browser-DXhfK5jH.js} +1 -1
  23. package/dist/{card-DBu0KINk.js → card-6Tv2yBgO.js} +1 -1
  24. package/dist/{ccip-EUNQLhnu.js → ccip-gjaZLhhN.js} +1 -1
  25. package/dist/{checkmark-P4kqC4N0.js → checkmark-BHfU_GtT.js} +1 -1
  26. package/dist/{checkmark-bold-URBkS9AJ.js → checkmark-bold-B29BDR-Z.js} +1 -1
  27. package/dist/{chevron-bottom-CSA9bwls.js → chevron-bottom-cQXgJ1dB.js} +1 -1
  28. package/dist/{chevron-left-BqverHO5.js → chevron-left-CrXLdnII.js} +1 -1
  29. package/dist/{chevron-right-Be8e0sop.js → chevron-right-BmIc7-UU.js} +1 -1
  30. package/dist/{chevron-top-sj4fgGQ3.js → chevron-top-DHOtI8SM.js} +1 -1
  31. package/dist/{chrome-store-B125w25l.js → chrome-store-CIlwRDEz.js} +1 -1
  32. package/dist/{clock-CJ3o9i1f.js → clock-Bmz5RoZx.js} +1 -1
  33. package/dist/{close-DMPxO1PW.js → close-DsUw0yCP.js} +1 -1
  34. package/dist/{coinPlaceholder-SycpnpvI.js → coinPlaceholder-Vk_cQWkH.js} +1 -1
  35. package/dist/{compass-DO1LxaD6.js → compass-CSBj0hDP.js} +1 -1
  36. package/dist/{copy-DjdZX9o5.js → copy-CM9Cv7pC.js} +1 -1
  37. package/dist/{core-DP5Vu59e.js → core-CgMOWrMV.js} +3 -3
  38. package/dist/{cursor-Bx2-TZNd.js → cursor-BhkqRRcx.js} +1 -1
  39. package/dist/{cursor-transparent-CGBhDi3F.js → cursor-transparent-DnresJf2.js} +1 -1
  40. package/dist/{desktop-CQGrDIR2.js → desktop-CSzzrh1H.js} +1 -1
  41. package/dist/{disconnect-DIUOO6qT.js → disconnect-tYIaFYtf.js} +1 -1
  42. package/dist/{discord-C97ToQrE.js → discord-CvSRts30.js} +1 -1
  43. package/dist/{down-BcGY1seq.js → down-DwFThQOC.js} +2 -2
  44. package/dist/{etherscan-ChTnGoGp.js → etherscan-DOJDjeeT.js} +1 -1
  45. package/dist/{exclamation-triangle-B7hqeBkR.js → exclamation-triangle-DXnU-KuZ.js} +1 -1
  46. package/dist/{extension-Cc7MKu6e.js → extension-CI1t5JZm.js} +1 -1
  47. package/dist/{external-link-CsSN3iCU.js → external-link-BFG80AA9.js} +1 -1
  48. package/dist/{facebook-M9t70ipE.js → facebook-D9wE0UXX.js} +1 -1
  49. package/dist/{farcaster-D5D419n8.js → farcaster-CYgCSzh8.js} +1 -1
  50. package/dist/{filters-CRFk2qR7.js → filters-CxVc5fST.js} +1 -1
  51. package/dist/{getChainIds-Ca6RgFpt.js → getChainIds-DH6Gc8ZQ.js} +2 -2
  52. package/dist/{getCosmosAddress-CL0ZiapY.js → getCosmosAddress-wRfDUqoq.js} +2 -2
  53. package/dist/{github-BoIt-AwH.js → github-Dj3bWmCY.js} +1 -1
  54. package/dist/{google-sIev9mO_.js → google-Rr7qBmTl.js} +1 -1
  55. package/dist/{hamburger-DqQwQj13.js → hamburger-B405_d_L.js} +5 -5
  56. package/dist/{help-circle-FjU_KTrS.js → help-circle-Bn9hLB3V.js} +1 -1
  57. package/dist/{id-CmSp3QIh.js → id-CIGUq9pc.js} +1 -1
  58. package/dist/{image-zci9ybYh.js → image-CNcmh6hH.js} +1 -1
  59. package/dist/{index-DJwNEB-H.js → index-B-5jAFW6.js} +78 -78
  60. package/dist/{index--FNeS5Rj.js → index-B4HUWMjK.js} +1 -1
  61. package/dist/{index-WJQti9-t.js → index-BD_7hMpn.js} +4 -4
  62. package/dist/{index-ClJq4MBB.js → index-C7Ybi_lJ.js} +10 -10
  63. package/dist/{index-DCyDt3O-.js → index-CPAIMKYe.js} +7 -7
  64. package/dist/{index-CoOpvDo4.js → index-Cw-FA6F6.js} +1 -1
  65. package/dist/{index-D7xWUWmM.js → index-DKhnA77x.js} +4 -4
  66. package/dist/{index-TsTH7Hxq.js → index-DVa8uhVa.js} +11 -11
  67. package/dist/{index-DnRJWSaV.js → index-DYBI-qG3.js} +2 -2
  68. package/dist/{index-BsS9maa9.js → index-DjggQo64.js} +5 -5
  69. package/dist/{index-pcz2RZOT.js → index-Dnphcstd.js} +4 -4
  70. package/dist/{index.es-BLFPEWKC.js → index.es-D4gq-x23.js} +2 -2
  71. package/dist/{index.es-zHtXZ4dp.js → index.es-DuckVuHW.js} +1 -1
  72. package/dist/index.es.js +1 -1
  73. package/dist/{info-D6yjeLE7.js → info-CSAwJjW7.js} +1 -1
  74. package/dist/{info-circle-4TaoqFTQ.js → info-circle-Ddxd_C88.js} +1 -1
  75. package/dist/{lightbulb-BekPKfrQ.js → lightbulb-CgtDW7q8.js} +1 -1
  76. package/dist/{mail-j6TBy5nM.js → mail-D_EZ2TrL.js} +1 -1
  77. package/dist/{mobile-SuvaDkyJ.js → mobile-Ce0XaOHB.js} +1 -1
  78. package/dist/{more-RFtulbqF.js → more-C2__lQWJ.js} +1 -1
  79. package/dist/{network-placeholder-CiudHFHV.js → network-placeholder-4ZSYMJKw.js} +1 -1
  80. package/dist/{nftPlaceholder-BzhE1j93.js → nftPlaceholder-Cs6l1WhE.js} +1 -1
  81. package/dist/{off-BQW7jzrf.js → off-DBVKzbwa.js} +1 -1
  82. package/dist/{play-store-ndEusUCo.js → play-store-DnoGY1uX.js} +1 -1
  83. package/dist/{plus-B_-4L7uN.js → plus-DhhLrNo-.js} +1 -1
  84. package/dist/{qr-code-fGA-L64g.js → qr-code-Bqb4UqTa.js} +1 -1
  85. package/dist/{recycle-horizontal-bqeONrxc.js → recycle-horizontal-uDKUIDms.js} +1 -1
  86. package/dist/{refresh-CsiabOhS.js → refresh-CNURCN43.js} +1 -1
  87. package/dist/{reown-logo-DAoeMWgC.js → reown-logo-CqN7KqW3.js} +1 -1
  88. package/dist/{search-syBa5OfX.js → search-Dv_6-UvP.js} +1 -1
  89. package/dist/{send-BbHKOCEY.js → send-C-gzkXJu.js} +1 -1
  90. package/dist/{swapHorizontal-CxK0nuYA.js → swapHorizontal-DQkQSpu2.js} +1 -1
  91. package/dist/{swapHorizontalBold-CtEonTbb.js → swapHorizontalBold-D-Pn8y1w.js} +1 -1
  92. package/dist/{swapHorizontalMedium-DZKQimBT.js → swapHorizontalMedium-so4TVU7L.js} +1 -1
  93. package/dist/{swapHorizontalRoundedBold-BXxYHgU3.js → swapHorizontalRoundedBold-CnU5NMp7.js} +1 -1
  94. package/dist/{swapVertical-BePgHxv9.js → swapVertical-CJ81ZSxx.js} +1 -1
  95. package/dist/{telegram-BFBKVpZI.js → telegram-DSAP9533.js} +1 -1
  96. package/dist/{three-dots-BXLWvhTX.js → three-dots-D2yhZQT4.js} +1 -1
  97. package/dist/{twitch-vPQp_UrR.js → twitch-CpiUE4fa.js} +1 -1
  98. package/dist/{twitterIcon-BTdtSUcd.js → twitterIcon-B79jNbXJ.js} +1 -1
  99. package/dist/{unsupportedProp-B0xHFsbt.js → unsupportedProp-C2CUWw6S.js} +1 -1
  100. package/dist/{useRegisterError-GWfXAUhh.js → useRegisterError-D4w_UmUC.js} +1 -1
  101. package/dist/{verify-BqBaMG0N.js → verify-BfW9gvgH.js} +1 -1
  102. package/dist/{verify-filled--sUq3p0p.js → verify-filled-D7ORadDX.js} +1 -1
  103. package/dist/{w3m-modal-Cqjqluk4.js → w3m-modal-PW6jMw6A.js} +2 -2
  104. package/dist/{wallet-DA02Bm-G.js → wallet-C0Oczg6I.js} +1 -1
  105. package/dist/{wallet-placeholder-CVMoX43_.js → wallet-placeholder-CJLZ4jDs.js} +1 -1
  106. package/dist/{walletconnect-DhxzAfJ6.js → walletconnect-CJBk10JH.js} +1 -1
  107. package/dist/{warning-circle-Du5EYoE3.js → warning-circle-DNJrwpfE.js} +1 -1
  108. package/dist/{x-B-Wz86Hz.js → x-DYR-cL3D.js} +1 -1
  109. package/package.json +3 -3
  110. package/dist/TxnButton-BL3lSkDN.js +0 -215
@@ -3,16 +3,16 @@ import * as v from "react";
3
3
  import De, { useState as J, useEffect as Fe } from "react";
4
4
  import { S as Pe, a as _e } from "./sortDown-CjBaDQTU.js";
5
5
  import { t as B } from "./truncate-D9t92mVX.js";
6
- import { a as kt, m as Ne, j as Ut, l as Ue, o as Rt, r as Dt, i as Ce, c as ue, f as ve } from "./useRegisterError-GWfXAUhh.js";
7
- import { b as Te, g as Ie, i as Ae, _ as pe, d as k, e as oe, s as ce, f as at, h as Ee, p as Z, P as r, w as Ft, u as se } from "./index-WJQti9-t.js";
6
+ import { a as kt, m as Ne, j as Ut, l as Ue, o as Rt, r as Dt, i as Ce, c as ue, f as ve } from "./useRegisterError-D4w_UmUC.js";
7
+ import { b as Te, g as Ie, i as Ae, _ as pe, d as k, e as oe, s as ce, f as at, h as Ee, p as Z, P as r, w as Ft, u as se } from "./index-BD_7hMpn.js";
8
8
  import { S as We, C as je, G as Ve } from "./clockIcon-C2W5xvyt.js";
9
- import { T as Pt } from "./Tooltip-qnRjkaHu.js";
10
- import { O as we } from "./index--FNeS5Rj.js";
11
- import { B as _t } from "./Box-CtkUvyKi.js";
12
- import { c as ct, d as it, r as At } from "./index-CoOpvDo4.js";
13
- import { b as dt } from "./Grow-DCuNJP12.js";
14
- import { B as bt, o as ut } from "./getChainIds-Ca6RgFpt.js";
15
- import { u as Wt } from "./unsupportedProp-B0xHFsbt.js";
9
+ import { T as Pt } from "./Tooltip-TXzv9Vye.js";
10
+ import { O as we } from "./index-B4HUWMjK.js";
11
+ import { B as _t } from "./Box-TQlc5XGY.js";
12
+ import { c as ct, d as it, r as At } from "./index-Cw-FA6F6.js";
13
+ import { b as dt } from "./Grow-C2gkstcO.js";
14
+ import { B as bt, o as ut } from "./getChainIds-DH6Gc8ZQ.js";
15
+ import { u as Wt } from "./unsupportedProp-C2CUWw6S.js";
16
16
  let be;
17
17
  function wt() {
18
18
  if (be)
@@ -1,4 +1,4 @@
1
- import { aL as i, aM as h, z as N, aC as T, _ as y, d as B, e as C, b as _, aN as b, T as P, aO as O, p as g, P as e } from "./index-WJQti9-t.js";
1
+ import { aL as i, aM as h, z as N, aC as T, _ as y, d as B, e as C, b as _, aN as b, T as P, aO as O, p as g, P as e } from "./index-BD_7hMpn.js";
2
2
  import * as j from "react";
3
3
  import { jsx as v } from "react/jsx-runtime";
4
4
  const E = ["className", "component"];
@@ -1,15 +1,15 @@
1
1
  import { jsx as r, jsxs as h, Fragment as H } from "react/jsx-runtime";
2
- import { aE as Zt, aF as Kt, aG as Xt, aH as Yt, aI as te, aJ as ee, u as x, l as nt, S as wt, a as jt, aA as _t, aB as st } from "./index-WJQti9-t.js";
3
- import { O as pt } from "./index--FNeS5Rj.js";
2
+ import { aE as Zt, aF as Kt, aG as Xt, aH as Yt, aI as te, aJ as ee, u as x, l as nt, S as wt, a as jt, aA as _t, aB as st } from "./index-BD_7hMpn.js";
3
+ import { O as pt } from "./index-B4HUWMjK.js";
4
4
  import ht, { useState as rt, useContext as q, useRef as mt, useEffect as _, createContext as ne, useMemo as re } from "react";
5
- import { u as Ut, W as oe, B as se, C as ie, L as ae, i as Gt, f as le, c as Mt, d as ce, F as it } from "./useRegisterError-GWfXAUhh.js";
5
+ import { u as Ut, W as oe, B as se, C as ie, L as ae, i as Gt, f as le, c as Mt, d as ce, F as it } from "./useRegisterError-D4w_UmUC.js";
6
6
  import { useAccount as ft, useConfig as xe, useSwitchChain as de } from "wagmi";
7
7
  import { S as be } from "./shareicon-CG3v7iKI.js";
8
- import { T as Ht } from "./Tooltip-qnRjkaHu.js";
9
- import { L as me } from "./index.es-zHtXZ4dp.js";
8
+ import { T as Ht } from "./Tooltip-TXzv9Vye.js";
9
+ import { L as me } from "./index.es-DuckVuHW.js";
10
10
  import { useStargateSigningClient as Lt, useAccount as ue } from "graz";
11
- import { l as we, S as pe, D as he } from "./down-BcGY1seq.js";
12
- import { u as ye, g as It } from "./getCosmosAddress-CL0ZiapY.js";
11
+ import { l as we, S as pe, D as he } from "./down-DwFThQOC.js";
12
+ import { u as ye, g as It } from "./getCosmosAddress-wRfDUqoq.js";
13
13
  import { useDynamicContext as Ot } from "@dynamic-labs/sdk-react-core";
14
14
  import { v as yt } from "./validError-CDlJpg_f.js";
15
15
  import { getNextTxn as fe, createTransaction as ke, checkStatus as ge, pollTransactionStatus as Se, executeTransaction as Te } from "@blockend/compass-sdk";
@@ -1,8 +1,8 @@
1
1
  import * as D from "react";
2
2
  import kt from "react";
3
- import { p as K, P as i, aK as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-WJQti9-t.js";
3
+ import { p as K, P as i, aK as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-BD_7hMpn.js";
4
4
  import { jsx as de } from "react/jsx-runtime";
5
- import { o as et, P as It, b as Se, a as tt, m as Ut, r as mt, h as qt, H as Ee, T as Ft, q as _t, j as Xt, n as zt, t as rt, v as Yt, w as Gt } from "./useRegisterError-GWfXAUhh.js";
5
+ import { o as et, P as It, b as Se, a as tt, m as Ut, r as mt, h as qt, H as Ee, T as Ft, q as _t, j as Xt, n as zt, t as rt, v as Yt, w as Gt } from "./useRegisterError-D4w_UmUC.js";
6
6
  let nt = 0;
7
7
  function Kt(e) {
8
8
  const [t, r] = D.useState(e), n = e || t;
@@ -1,10 +1,10 @@
1
1
  import { jsxs as b, jsx as t, Fragment as k } from "react/jsx-runtime";
2
- import { u as n, S as W } from "./index-WJQti9-t.js";
2
+ import { u as n, S as W } from "./index-BD_7hMpn.js";
3
3
  import { useState as S, useRef as x } from "react";
4
- import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-GWfXAUhh.js";
4
+ import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-D4w_UmUC.js";
5
5
  import { useAccount as T, useBalance as A } from "wagmi";
6
6
  import "@dynamic-labs/sdk-react-core";
7
- import { c as B, r as G } from "./index-DCyDt3O-.js";
7
+ import { c as B, r as G } from "./index-CPAIMKYe.js";
8
8
  function H({ amount: w, setAmount: l, fetchBalance: M, getCoinBalance: h, isBalanceLoading: f }) {
9
9
  var d, o;
10
10
  const s = n((a) => a.configuration), e = n((a) => a.fromCoin), r = n((a) => a.fromChain), { isAnyWalletConnected: g } = j({ chainData: r }), [$, z] = S(40), { address: N } = T(), v = x(), { defaultCoin: y } = I;
@@ -1,13 +1,13 @@
1
1
  import { jsx as e, jsxs as t, Fragment as m } from "react/jsx-runtime";
2
2
  import { t as te } from "./truncate-D9t92mVX.js";
3
- import { u as r, S as o, l as we } from "./index-WJQti9-t.js";
3
+ import { u as r, S as o, l as we } from "./index-BD_7hMpn.js";
4
4
  import { useState as ie, useEffect as le } from "react";
5
5
  import { s as a } from "./WidgetForm.module-QHJ0-m5f.js";
6
6
  import { G as ce, C as de, S as me } from "./clockIcon-C2W5xvyt.js";
7
- import { S as re } from "./down-BcGY1seq.js";
7
+ import { S as re } from "./down-DwFThQOC.js";
8
8
  import { e as se } from "./ethertousd-CC_ezooz.js";
9
- import { O as H } from "./index--FNeS5Rj.js";
10
- import { F as J, i as ae } from "./useRegisterError-GWfXAUhh.js";
9
+ import { O as H } from "./index-B4HUWMjK.js";
10
+ import { F as J, i as ae } from "./useRegisterError-D4w_UmUC.js";
11
11
  function oe({ fill: n }) {
12
12
  return /* @__PURE__ */ e(
13
13
  "svg",
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as a, Fragment as m } from "react/jsx-runtime";
2
2
  import { s as l } from "./WidgetForm.module-QHJ0-m5f.js";
3
- import { u as g } from "./index-WJQti9-t.js";
3
+ import { u as g } from "./index-BD_7hMpn.js";
4
4
  function y({ routesData: x, routes: e, quoteTimer: n, amount: c }) {
5
5
  var s, b, d, w;
6
6
  const r = g((i) => i.configuration), t = g((i) => i.gradient);
@@ -1,5 +1,5 @@
1
1
  import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import { u as a } from "./index-WJQti9-t.js";
2
+ import { u as a } from "./index-BD_7hMpn.js";
3
3
  function w({ fill1: o, fill2: r }) {
4
4
  return /* @__PURE__ */ s(
5
5
  "svg",
@@ -1,8 +1,8 @@
1
- import { b as go, g as To, i as yo, _ as vo, p as B, d as n, e as D, s as Q, f as Ve, h as Po, j as ze, P as e } from "./index-WJQti9-t.js";
1
+ import { b as go, g as To, i as yo, _ as vo, p as B, d as n, e as D, s as Q, f as Ve, h as Po, j as ze, P as e } from "./index-BD_7hMpn.js";
2
2
  import * as p from "react";
3
- import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-DCuNJP12.js";
3
+ import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-C2gkstcO.js";
4
4
  import { jsx as j, jsxs as Se } from "react/jsx-runtime";
5
- import { j as xo, q as I, l as Ue, s as Oo, b as Eo, n as Mo, D as A, E as _o, w as No } from "./useRegisterError-GWfXAUhh.js";
5
+ import { j as xo, q as I, l as Ue, s as Oo, b as Eo, n as Mo, D as A, E as _o, w as No } from "./useRegisterError-D4w_UmUC.js";
6
6
  function Lo(r) {
7
7
  return To("MuiTooltip", r);
8
8
  }
@@ -0,0 +1,222 @@
1
+ import { jsx as G } from "react/jsx-runtime";
2
+ import { useState as v, useEffect as z } from "react";
3
+ import { useDynamicContext as xe, useSwitchNetwork as Me, useIsLoggedIn as Oe } from "@dynamic-labs/sdk-react-core";
4
+ import { a as _, u as h, aA as Re, aB as pe } from "./index-BD_7hMpn.js";
5
+ import { s as S } from "./WidgetForm.module-QHJ0-m5f.js";
6
+ import { useAccount as Ve, useConfig as qe, useSwitchChain as Pe, useBalance as _e } from "wagmi";
7
+ import { u as ge, d as Qe, c as He, C as ye } from "./useRegisterError-D4w_UmUC.js";
8
+ import { v as Je } from "./validError-CDlJpg_f.js";
9
+ import { u as Ke, g as Ue, p as Xe } from "./index-CPAIMKYe.js";
10
+ function Ye(n) {
11
+ const { wallet: u, address: l } = _(), [f, N] = v(0);
12
+ async function x() {
13
+ const F = await window.tronWeb.trx.getBalance(l);
14
+ N(F / Math.pow(10, 6));
15
+ }
16
+ return z(() => {
17
+ l && (n == null ? void 0 : n.networkType) === "tron" && x();
18
+ }, [l, n == null ? void 0 : n.networkType]), { tronBal: f };
19
+ }
20
+ function A(n) {
21
+ if (n.key.toLowerCase() === "backpacksol")
22
+ return !0;
23
+ }
24
+ function Ze() {
25
+ const [n, u] = v(0), l = h((x) => x.fromChain), { primaryWallet: f } = xe();
26
+ async function N() {
27
+ let x = await f.getBalance();
28
+ u(Number(x) || 0);
29
+ }
30
+ return z(() => {
31
+ (l.networkType === "btc" || l.networkType === "sui") && N();
32
+ }, [l.networkType, f]), n;
33
+ }
34
+ function lt({ routesData: n, routes: u, amount: l, isAmountTyped: f, handleShowWallet: N, setConnectWalletField: x, handleConfirmClose: F, balanceSol: L, getCoinBalance: Te, handleSuccess: Q }) {
35
+ var C, ee, te, se, re, ce, ne, ie, de, ae, le, oe, we;
36
+ const w = h((s) => s.gradient), m = h((s) => s.configuration), e = h((s) => s.fromChain), i = h((s) => s.fromCoin), r = h((s) => s.toChain), b = h((s) => s.toCoin), { isConnected: j, address: H, chain: I } = Ve(), { address: J, isConnected: We } = _(), me = qe(), Ie = Me(), { getBothWalletConnection: he, getConnectWallet: fe } = ge({
37
+ chainData: e
38
+ }), { connected: K, address: U, disconnect: De } = _(), M = h((s) => s.toDisconnect), d = h((s) => s.customWallet), { getWallet: Ne } = ge({ chainData: e }), Be = fe(e, r), [O, Ge] = v("101"), { tronBal: R } = Ye(e), { cosmosBalance: X } = Ke(), Y = Ze(), V = ((C = e.chain) == null ? void 0 : C.length) && ((ee = r.chain) == null ? void 0 : ee.length), q = ((te = i.address) == null ? void 0 : te.length) && ((se = b.address) == null ? void 0 : se.length), Se = Qe(), Z = Re(), { switchChain: ke, switchChainAsync: $e, isPending: Ee } = Pe({
39
+ chainId: Number((e == null ? void 0 : e.chainId) || "0"),
40
+ config: me,
41
+ throwForSwitchChainNotSupported: !0,
42
+ onError(s) {
43
+ Je(s.message) && Se({ module: "wallet-error-switch", error: s.message });
44
+ }
45
+ }), T = _e({
46
+ address: H,
47
+ token: "",
48
+ chainId: Number((e == null ? void 0 : e.chainId) || 0),
49
+ enabled: (e == null ? void 0 : e.networkType) == "evm"
50
+ }), W = He(Te || 0, 11), [o, a] = v({
51
+ text: "",
52
+ isGradient: !1,
53
+ color: "bw-bg-border-primary"
54
+ });
55
+ async function Fe() {
56
+ if ((e == null ? void 0 : e.networkType) === "evm" && Number((e == null ? void 0 : e.chainId) || "0") !== (I == null ? void 0 : I.id))
57
+ try {
58
+ await $e({ chainId: Number((e == null ? void 0 : e.chainId) || "0") });
59
+ } catch {
60
+ }
61
+ else if ((e == null ? void 0 : e.networkType) === "sol" && O !== ((e == null ? void 0 : e.chainId) == "eclipse-svm" ? "201" : "101"))
62
+ try {
63
+ let s = await Ie({ wallet: p, network: e.chainId == "eclipse-svm" ? "201" : "101" });
64
+ D();
65
+ } catch {
66
+ }
67
+ else (e == null ? void 0 : e.networkType) === "sui" ? (Z.emit(pe.TransactionStarted, {
68
+ ...n
69
+ }), B && (Q(!1), F())) : (Z.emit(pe.TransactionStarted, {
70
+ ...n
71
+ }), B && (Q(!1), F()));
72
+ }
73
+ const { primaryWallet: p } = xe(), P = Oe(), B = (e == null ? void 0 : e.networkType) === r.networkType ? !!((ce = (re = Ne(e)) == null ? void 0 : re.address) != null && ce.length) : he(e == null ? void 0 : e.networkType, (d == null ? void 0 : d.length) > 30 ? "customWallet" : r == null ? void 0 : r.networkType), D = async () => {
74
+ if (p)
75
+ try {
76
+ const s = await p.getNetwork();
77
+ Ge(s);
78
+ } catch {
79
+ }
80
+ else
81
+ return;
82
+ };
83
+ z(() => {
84
+ D();
85
+ }, [p]);
86
+ function k(s, g) {
87
+ let y = s / Math.pow(10, g);
88
+ return y < 1e-6 ? y.toFixed(20) : y;
89
+ }
90
+ function Le() {
91
+ var s;
92
+ return Number(((s = T == null ? void 0 : T.data) == null ? void 0 : s.formatted) || 0);
93
+ }
94
+ function je(s) {
95
+ var g;
96
+ return Number(((g = X[Xe(s.address)]) == null ? void 0 : g.amount) || 0) / Math.pow(10, s.decimals);
97
+ }
98
+ function Ae() {
99
+ var E;
100
+ let s = {};
101
+ async function g(t, c) {
102
+ let $ = Object.keys(s);
103
+ s[t == null ? void 0 : t.chainId] ? (s[t == null ? void 0 : t.chainId].amountInToken += c.amountInToken, s[t == null ? void 0 : t.chainId].gas += k(c.amountInToken, t == null ? void 0 : t.decimals)) : s[t == null ? void 0 : t.chainId] = {
104
+ amountInToken: c.amountInToken,
105
+ gas: k(c.amountInToken, t == null ? void 0 : t.decimals),
106
+ token: t,
107
+ nativeBal: (d == null ? void 0 : d.length) > 30 && !M && (t == null ? void 0 : t.chainId) == (r == null ? void 0 : r.chainId) && (r == null ? void 0 : r.chainId) !== (e == null ? void 0 : e.chainId) ? 0 : (t == null ? void 0 : t.networkType) == "sol" ? L : (t == null ? void 0 : t.networkType) == "tron" ? R : (t == null ? void 0 : t.networkType) == "btc" || (t == null ? void 0 : t.networkType) == "sui" ? Y : (t == null ? void 0 : t.networkType) == "cosmos" ? je(t) : (t == null ? void 0 : t.networkType) == "tron" ? Ue(J) : Le(),
108
+ isFromChain: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId.toString()),
109
+ order: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId) ? 1 : (r == null ? void 0 : r.chainId) === (t == null ? void 0 : t.chainId) ? 2 : $.length > 2 ? 3 : 2
110
+ };
111
+ }
112
+ (E = n == null ? void 0 : n.fee) == null || E.forEach((t) => {
113
+ const { token: c } = t;
114
+ t.source.toLowerCase() == "from_source_wallet" && g(c, t);
115
+ });
116
+ let y = W;
117
+ if (Number(l) > Number(y))
118
+ a({
119
+ text: `Insufficient Balance ${i.coin || ""}`,
120
+ isGradient: !1,
121
+ color: "bw-bg-border-primary"
122
+ });
123
+ else if ((T != null && T.isLoading || T.isFetching) && (e == null ? void 0 : e.networkType) === "evm" || (typeof L > "u" || L === null) && (e == null ? void 0 : e.networkType) === "sol" || !R && (e == null ? void 0 : e.networkType) === "tron")
124
+ a({
125
+ text: "Fetching Balance..",
126
+ isGradient: !1,
127
+ color: "bw-bg-border-primary"
128
+ });
129
+ else {
130
+ let t = Object.values(s).sort((c, $) => c.order - $.order);
131
+ t.some((c) => {
132
+ var $, be, ue;
133
+ return c != null && c.isFromChain && Number(l) <= Number(y) && Number(c.nativeBal) - Number(l) < c.gas && (i != null && i.isNative) || Number(l) <= Number(y) && Number(c.nativeBal) < c.gas && !(i != null && i.isNative) && (c != null && c.isFromChain) ? (a({
134
+ text: `Insufficient ${(($ = c == null ? void 0 : c.token) == null ? void 0 : $.symbol) || ""} for gas on ${c.token.blockchain}`,
135
+ isGradient: !1,
136
+ color: "bw-bg-border-primary"
137
+ }), !0) : c.nativeBal < c.gas && !((d == null ? void 0 : d.length) > 30 && ((be = c == null ? void 0 : c.token) == null ? void 0 : be.chainId) == (r == null ? void 0 : r.chainId)) ? (a({
138
+ text: `Insufficient ${((ue = c == null ? void 0 : c.token) == null ? void 0 : ue.symbol) || ""} for gas on ${c.token.blockchain}`,
139
+ isGradient: !1,
140
+ color: "bw-bg-border-primary"
141
+ }), !0) : (a({
142
+ text: "",
143
+ isGradient: !0,
144
+ color: w || S.gradientbutton
145
+ }), !0);
146
+ }), t.length == 0 && (n != null && n.gasless || (n == null ? void 0 : n.provider) == "meson") && a({
147
+ text: "",
148
+ isGradient: !0,
149
+ color: w || S.gradientbutton
150
+ });
151
+ }
152
+ }
153
+ z(() => {
154
+ var s, g, y;
155
+ !i.coin.length || !(b != null && b.coin.length) ? a({
156
+ text: "Select Token",
157
+ isGradient: !0,
158
+ color: w || S.gradientbutton
159
+ }) : B ? typeof l < "u" && Number(l || 0) <= 0 ? a({
160
+ text: "Enter Amount",
161
+ isGradient: !1,
162
+ color: "bw-bg-border-primary"
163
+ }) : u.isFetching || !f ? a({
164
+ text: "Loading Routes...",
165
+ isGradient: !1,
166
+ color: "bw-bg-border-primary"
167
+ }) : e.chainId === "eclipse-svm" && !A(p) ? a({
168
+ text: `Select ${e.name} wallet`,
169
+ isGradient: !0,
170
+ color: w || S.gradientbutton
171
+ }) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !A(p) && d.length < 30 ? a({
172
+ text: "Enter recipient wallet address",
173
+ isGradient: !0,
174
+ color: w || S.gradientbutton
175
+ }) : (i == null ? void 0 : i.address) == (b == null ? void 0 : b.address) && (e == null ? void 0 : e.chainId) == (r == null ? void 0 : r.chainId) && !(d != null && d.length) || (e == null ? void 0 : e.networkType) == "evm" && H === d && (i == null ? void 0 : i.address) == (b == null ? void 0 : b.address) || (e == null ? void 0 : e.networkType) == "sol" && (p == null ? void 0 : p.address) === d && (i == null ? void 0 : i.address) == (b == null ? void 0 : b.address) ? a({
176
+ text: "From and To asset can not be the same!",
177
+ isGradient: !1,
178
+ color: "bw-bg-border-primary"
179
+ }) : (y = (g = (s = u == null ? void 0 : u.data) == null ? void 0 : s.data) == null ? void 0 : g.quotes) != null && y.length ? u != null && u.error ? a({
180
+ text: "Failed to fetch Quotes",
181
+ isGradient: !1,
182
+ color: "bw-bg-border-primary"
183
+ }) : j && Number((e == null ? void 0 : e.chainId) || "0") !== (I == null ? void 0 : I.id) && (e == null ? void 0 : e.networkType) === "evm" || P && ((e == null ? void 0 : e.chainId) === "eclipse-svm" ? "201" : "101") !== O && (e == null ? void 0 : e.networkType) === "sol" ? a({
184
+ text: `Switch Chain to ${e.chain}`,
185
+ isGradient: !0,
186
+ color: w || S.gradientbutton
187
+ }) : Ae() : a({
188
+ text: "No Routes Found",
189
+ isGradient: !1,
190
+ color: "bw-bg-border-primary"
191
+ }) : a({
192
+ text: "",
193
+ isGradient: !0,
194
+ color: w || S.gradientbutton
195
+ });
196
+ }, [O, p, i, b, l, e, r, (ne = T.data) == null ? void 0 : ne.formatted, n, T.isFetching, T.isLoading, j, W, B, u.isFetching, I == null ? void 0 : I.id, f, R, L, d, Y, X, J]);
197
+ let ve = [`switch chain to ${(ie = e.chain) == null ? void 0 : ie.toLowerCase()}`, `select ${(de = e.chain) == null ? void 0 : de.toLowerCase()} wallet`, "connect custom wallet", "enter recipient wallet address"];
198
+ function ze() {
199
+ var s, g, y, E;
200
+ return B ? u.isFetching ? !0 : o.text.length ? !ve.includes((s = o.text) == null ? void 0 : s.toLowerCase()) : !((E = (y = (g = u.data) == null ? void 0 : g.data) == null ? void 0 : y.quotes) != null && E.length) : !1;
201
+ }
202
+ return /* @__PURE__ */ G(
203
+ "button",
204
+ {
205
+ disabled: ze(),
206
+ style: o != null && o.isGradient && V && q ? {
207
+ ...m == null ? void 0 : m.gradientStyle,
208
+ boxShadow: m && m.customTheme && ((le = (ae = m.customTheme) == null ? void 0 : ae.shadow) == null ? void 0 : le.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
209
+ } : {
210
+ boxShadow: m && m.customTheme && ((we = (oe = m.customTheme) == null ? void 0 : oe.shadow) == null ? void 0 : we.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
211
+ },
212
+ className: `bw-w-full bw-rounded-sm bw-h-[52px] ${o != null && o.isGradient ? "bw-p-[3px]" : "bw-p-[1px]"} bw-mt-3 bw-border-0 bw-relative bw-z-0 disabled:bw-opacity-70 ${V && q && o.color} ${o.text.length > 29 ? "bw-text-xl" : "bw-text-2xl"} ${o != null && o.isGradient ? "bw-font-bold bw-text-text-primary" : "bw-font-normal bw-text-text-secondary"}`,
213
+ onClick: () => {
214
+ B || (N(!0), ((e == null ? void 0 : e.networkType) !== "evm" && j || (e == null ? void 0 : e.networkType) !== "sol" && P && p !== null || (e == null ? void 0 : e.networkType) !== "tron" && K && U) && !M ? x("from") : j && (r == null ? void 0 : r.networkType) !== "evm" || P && (r == null ? void 0 : r.networkType) !== "sol" || (r == null ? void 0 : r.networkType) !== "tron" && K && U || M ? x("to") : x("from")), e.chainId === "eclipse-svm" && !A(p) ? (N(!0), x("from")) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !A(p) && d.length < 30 ? (N(!0), x("to")) : Fe();
215
+ },
216
+ children: /* @__PURE__ */ G("div", { className: "bw-rounded-sm bw-bg-background-container bw-flex bw-items-center bw-justify-center b-w-full bw-h-full", children: /* @__PURE__ */ G("p", { className: "bw-relative bw-z-20", children: V && q ? Ee ? /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) : B ? o.text.length ? o.text : "Start Transaction" : `Connect ${Be} Wallet` : /* @__PURE__ */ G("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ G(ye, { size: 22, thickness: 5, color: "inherit" }) }) }) })
217
+ }
218
+ );
219
+ }
220
+ export {
221
+ lt as default
222
+ };
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const o = l`<svg
3
3
  width="14"
4
4
  height="14"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-DP5Vu59e.js";
1
+ import { m as a } from "./core-CgMOWrMV.js";
2
2
  const o = a`<svg fill="none" viewBox="0 0 24 24">
3
3
  <path
4
4
  style="fill: var(--wui-color-accent-100);"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-DP5Vu59e.js";
1
+ import { m as a } from "./core-CgMOWrMV.js";
2
2
  const e = a`
3
3
  <svg width="36" height="36">
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const f = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DP5Vu59e.js";
1
+ import { m as o } from "./core-CgMOWrMV.js";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-DP5Vu59e.js";
1
+ import { m as C } from "./core-CgMOWrMV.js";
2
2
  const e = C`<svg
3
3
  fill="none"
4
4
  viewBox="0 0 21 20"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-DP5Vu59e.js";
1
+ import { m as e } from "./core-CgMOWrMV.js";
2
2
  const o = e`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DP5Vu59e.js";
1
+ import { m as o } from "./core-CgMOWrMV.js";
2
2
  const e = o`<svg fill="none" viewBox="0 0 14 15">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-DP5Vu59e.js";
1
+ import { m as e } from "./core-CgMOWrMV.js";
2
2
  const o = e`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,6 +1,6 @@
1
- import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-DP5Vu59e.js";
2
- import { n as u, c as B, o as W, r as E, U as ht, e as Rn, f as En, a as In } from "./index-DJwNEB-H.js";
3
- import { n as Wn } from "./index-WJQti9-t.js";
1
+ import { i as D, e as G, r as q, a as A, x as c, C as U, A as M, O as tt, b as z, E as et, R as O, c as Ut, d as K, f as N, S as pe, g as Cn, W as fe, h as Ze, j as vi, T as ti, k as Xt, M as on, l as rn, m as Dt, n as yi, o as $n } from "./core-CgMOWrMV.js";
2
+ import { n as u, c as B, o as W, r as E, U as ht, e as Rn, f as En, a as In } from "./index-B-5jAFW6.js";
3
+ import { n as Wn } from "./index-BD_7hMpn.js";
4
4
  const Sn = D`
5
5
  :host {
6
6
  position: relative;
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const a = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-DP5Vu59e.js";
1
+ import { m as C } from "./core-CgMOWrMV.js";
2
2
  const l = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="12"
@@ -1,4 +1,4 @@
1
- import { ad as L, ae as b, af as F, ag as N, ah as P, ai as w, aj as S, ak as E, al as $, am as C, an as I, ao as m, ap as G, aq as R, ar as k, as as y, at as O, au as q, av as T, aw as v, ax as D, ay as A, az as H } from "./index-WJQti9-t.js";
1
+ import { ad as L, ae as b, af as F, ag as N, ah as P, ai as w, aj as S, ak as E, al as $, am as C, an as I, ao as m, ap as G, aq as R, ar as k, as as y, at as O, au as q, av as T, aw as v, ax as D, ay as A, az as H } from "./index-BD_7hMpn.js";
2
2
  const h = "/docs/contract/encodeErrorResult";
3
3
  function x(t) {
4
4
  const { abi: s, errorName: a, args: r } = t;
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-DP5Vu59e.js";
1
+ import { m as e } from "./core-CgMOWrMV.js";
2
2
  const o = e`<svg
3
3
  width="28"
4
4
  height="28"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-DP5Vu59e.js";
1
+ import { m as e } from "./core-CgMOWrMV.js";
2
2
  const o = e`<svg fill="none" viewBox="0 0 14 14">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DP5Vu59e.js";
1
+ import { m as o } from "./core-CgMOWrMV.js";
2
2
  const e = o`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-DP5Vu59e.js";
1
+ import { m as e } from "./core-CgMOWrMV.js";
2
2
  const o = e`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as t } from "./core-DP5Vu59e.js";
1
+ import { m as t } from "./core-CgMOWrMV.js";
2
2
  const o = t`<svg width="36" height="36" fill="none">
3
3
  <path
4
4
  fill="#fff"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-DP5Vu59e.js";
1
+ import { m as C } from "./core-CgMOWrMV.js";
2
2
  const l = C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
3
3
  <path
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-DP5Vu59e.js";
1
+ import { m as C } from "./core-CgMOWrMV.js";
2
2
  const o = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="16"
@@ -1,6 +1,6 @@
1
1
  import { B as et } from "./index-DTish3yr.js";
2
- import { I as Wr, c as Zu, f as Tt, t as pt, a as U, g as re, b as us, C as Xu, d as Qu, e as ui, s as co, h as fl, i as er, k as Ti, A as ml, E as nt, j as eh, l as th, y as Ct, m as Ws, r as zr, O as Wo, o as kt, n as sh, p as zo, q as Ho, u as vn, N as Vo, P as ca, Q as rh, v as ih, w as nh, x as la, z as _r, B as wl, D as is, F as Vt, G as hs, H as Bt } from "./index.es-BLFPEWKC.js";
3
- import { p as Se } from "./index-WJQti9-t.js";
2
+ import { I as Wr, c as Zu, f as Tt, t as pt, a as U, g as re, b as us, C as Xu, d as Qu, e as ui, s as co, h as fl, i as er, k as Ti, A as ml, E as nt, j as eh, l as th, y as Ct, m as Ws, r as zr, O as Wo, o as kt, n as sh, p as zo, q as Ho, u as vn, N as Vo, P as ca, Q as rh, v as ih, w as nh, x as la, z as _r, B as wl, D as is, F as Vt, G as hs, H as Bt } from "./index.es-D4gq-x23.js";
3
+ import { p as Se } from "./index-BD_7hMpn.js";
4
4
  import { formatUnits as oh, recoverAddress as ah, fallback as ua, http as Wi, toHex as ha } from "viem";
5
5
  const z = {
6
6
  WC_NAME_SUFFIX: ".reown.id",
@@ -14903,7 +14903,7 @@ class Yu extends NE {
14903
14903
  }
14904
14904
  async injectModalUi() {
14905
14905
  if (!pl && Z.isClient()) {
14906
- if (await import("./basic-BYr8jdy2.js"), await import("./w3m-modal-Cqjqluk4.js"), !document.querySelector("w3m-modal")) {
14906
+ if (await import("./basic-C9N4Ss1m.js"), await import("./w3m-modal-PW6jMw6A.js"), !document.querySelector("w3m-modal")) {
14907
14907
  const s = document.createElement("w3m-modal");
14908
14908
  !O.state.disableAppend && !O.state.enableEmbedded && document.body.insertAdjacentElement("beforeend", s);
14909
14909
  }
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DP5Vu59e.js";
1
+ import { m as o } from "./core-CgMOWrMV.js";
2
2
  const l = o` <svg fill="none" viewBox="0 0 13 4">
3
3
  <path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
4
4
  </svg>`;
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-DP5Vu59e.js";
1
+ import { m as o } from "./core-CgMOWrMV.js";
2
2
  const l = o`<svg fill="none" viewBox="0 0 14 6">
3
3
  <path style="fill: var(--wui-color-bg-150);" d="M0 1h14L9.21 5.12a3.31 3.31 0 0 1-4.49 0L0 1Z" />
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { m as c } from "./core-DP5Vu59e.js";
1
+ import { m as c } from "./core-CgMOWrMV.js";
2
2
  const l = c`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as a } from "./core-DP5Vu59e.js";
1
+ import { m as a } from "./core-CgMOWrMV.js";
2
2
  const e = a`<svg fill="none" viewBox="0 0 16 16">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DP5Vu59e.js";
1
+ import { m as l } from "./core-CgMOWrMV.js";
2
2
  const i = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <g clip-path="url(#a)">
4
4
  <g clip-path="url(#b)">