@blockend/widget 1.0.49-beta.3 → 1.0.50

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 (116) hide show
  1. package/dist/{AllRoutes-CMV2Aikv.js → AllRoutes-CULIQsat.js} +9 -9
  2. package/dist/{Box-BLU3JkBD.js → Box-NqP6AVwQ.js} +6 -6
  3. package/dist/EstGas-Dh9afjPx.js +12661 -0
  4. package/dist/{Grow-BNGsloYF.js → Grow-DimeDg31.js} +2 -2
  5. package/dist/{InputComp-My-aSA0q.js → InputComp-yY8lKNsS.js} +3 -3
  6. package/dist/{LoadRoute-DEc0qJGB.js → LoadRoute-C9PROsCB.js} +4 -4
  7. package/dist/{QuotesProgress-DyCbRkmW.js → QuotesProgress-BqAtKdL0.js} +1 -1
  8. package/dist/{SwapAsset-VBFtcbjw.js → SwapAsset-CZhHktg2.js} +1 -1
  9. package/dist/{Tooltip-DkFdda4P.js → Tooltip-BiZCYxM1.js} +3 -3
  10. package/dist/{TxnButton-DtS9Dw0R.js → TxnButton-BZKqys7R.js} +23 -22
  11. package/dist/{add-CIcwZ7BM.js → add-h0-mWiyZ.js} +1 -1
  12. package/dist/{all-wallets-Bh1_cRVE.js → all-wallets-B1G-BF4O.js} +1 -1
  13. package/dist/{app-store-1QxQqMCa.js → app-store-C6terlTd.js} +1 -1
  14. package/dist/{apple-CtdqvHaM.js → apple-BAMP6vUT.js} +1 -1
  15. package/dist/{arrow-bottom-D-GL64pV.js → arrow-bottom-5NtikK9r.js} +1 -1
  16. package/dist/{arrow-bottom-circle-BZZ6oS3I.js → arrow-bottom-circle-GWblbKB-.js} +1 -1
  17. package/dist/{arrow-left-CtM73IFh.js → arrow-left-CuwEORVr.js} +1 -1
  18. package/dist/{arrow-right-C_3it8wU.js → arrow-right-B7p52n9L.js} +1 -1
  19. package/dist/{arrow-top-B_akssLE.js → arrow-top-X0Z_PT4J.js} +1 -1
  20. package/dist/{bank-BAZaWTHP.js → bank-I9RgXHkl.js} +1 -1
  21. package/dist/{basic-BQ6VlY2V.js → basic-DlZzE8fW.js} +3 -3
  22. package/dist/{browser-D-m8U4qp.js → browser-y883UdyY.js} +1 -1
  23. package/dist/{card-CZMLg_hs.js → card-DFwMQe6t.js} +1 -1
  24. package/dist/{ccip-Cr2zG-xI.js → ccip-BdqG54tP.js} +16 -16
  25. package/dist/{checkmark-Db5ONmjX.js → checkmark-DwHPcz7y.js} +1 -1
  26. package/dist/{checkmark-bold-CNdIOniu.js → checkmark-bold-CwUU9faI.js} +1 -1
  27. package/dist/{chevron-bottom-B4LZ07P4.js → chevron-bottom-CM8xoehI.js} +1 -1
  28. package/dist/{chevron-left-BOiLmc3e.js → chevron-left-Bv_KYFge.js} +1 -1
  29. package/dist/{chevron-right-C8aUeQEC.js → chevron-right-CuU7ZCUE.js} +1 -1
  30. package/dist/{chevron-top-DQnpWjJP.js → chevron-top-FBXj-YJj.js} +1 -1
  31. package/dist/{chrome-store-B2Ctt_Iw.js → chrome-store-BIA_g9fd.js} +1 -1
  32. package/dist/{clock-4Nkh4x1b.js → clock-CgcPvmV3.js} +1 -1
  33. package/dist/{close-CiK1EUke.js → close-Dro7okSF.js} +1 -1
  34. package/dist/{coinPlaceholder-CcnyeBg0.js → coinPlaceholder-Df9r_k0L.js} +1 -1
  35. package/dist/{compass-C8XMPb-_.js → compass-zmLyV0WT.js} +1 -1
  36. package/dist/{copy-D-ZlELIO.js → copy-CIamcXhE.js} +1 -1
  37. package/dist/{core-CE7ZvgmO.js → core-2WkYhq16.js} +17 -16
  38. package/dist/{cursor-RiCqhq_2.js → cursor-C2EB1DLY.js} +1 -1
  39. package/dist/{cursor-transparent-Cpuw-bx1.js → cursor-transparent-BRACM7k5.js} +1 -1
  40. package/dist/{desktop-BcnqlO6_.js → desktop-Nj8wnhrx.js} +1 -1
  41. package/dist/{disconnect-BXI_7OV3.js → disconnect-BA3_H2TE.js} +1 -1
  42. package/dist/{discord-DZgQjBjt.js → discord-BnYi_b4O.js} +1 -1
  43. package/dist/{down-C8I1GmTa.js → down-BiWYZhrl.js} +2 -2
  44. package/dist/{etherscan-DHArh1Kg.js → etherscan-Oni_KoX7.js} +1 -1
  45. package/dist/{exclamation-triangle-Dp1k7Xyg.js → exclamation-triangle-DensxwAC.js} +1 -1
  46. package/dist/{extension-Dav7fjmZ.js → extension-CJ-ksDa9.js} +1 -1
  47. package/dist/{external-link-DWQsWqey.js → external-link-D2xEf8Lc.js} +1 -1
  48. package/dist/{facebook-xI7TIm3V.js → facebook-Dc9l2BHT.js} +1 -1
  49. package/dist/{farcaster-ByqbNlsO.js → farcaster-PnjVCWz_.js} +1 -1
  50. package/dist/{filters-CPWYBjRc.js → filters-BHTpF3UH.js} +1 -1
  51. package/dist/{getChainIds-DY_neilc.js → getChainIds-CfrzTUBX.js} +2 -2
  52. package/dist/getCosmosAddress-CQBPedP-.js +9565 -0
  53. package/dist/{github-prZ8t34_.js → github-SsGUhatp.js} +1 -1
  54. package/dist/{google-CcUsHax7.js → google-ClSrT1Rw.js} +1 -1
  55. package/dist/{hamburger-BJOW28p-.js → hamburger-CnBL_kWz.js} +5 -5
  56. package/dist/{help-circle-XwyOApi8.js → help-circle-6WH3b0xJ.js} +1 -1
  57. package/dist/{id-Ftjt1pHJ.js → id-BpdNL8xg.js} +1 -1
  58. package/dist/{image-D3UyCNRs.js → image-D98hwlBe.js} +1 -1
  59. package/dist/index-270jcL0T.js +159 -0
  60. package/dist/{index-DmHzoK8Z.js → index-BD7sxHzc.js} +2 -2
  61. package/dist/{index-V7wGfBWj.js → index-BYEfYYbR.js} +2192 -2170
  62. package/dist/{index-ME6WmREi.js → index-CbunQDKM.js} +1 -1
  63. package/dist/{index-vg6UIFZD.js → index-CdSs-KXV.js} +11 -11
  64. package/dist/index-DTish3yr.js +1014 -0
  65. package/dist/{index-B518UW03.js → index-DbBaCDf8.js} +78 -78
  66. package/dist/index-Hx1OgUt3.js +206 -0
  67. package/dist/{index-Cea3JIZ5.js → index-Kcq8t_TI.js} +1 -1
  68. package/dist/index-VwOzTBuI.js +30707 -0
  69. package/dist/{index-BykNQI23.js → index-uMBmZTqD.js} +5 -5
  70. package/dist/{index-BHDpDBXv.js → index-yf9XBWfH.js} +259 -257
  71. package/dist/{index.es-TqUYQAoH.js → index.es-DNIrxJpP.js} +1 -1
  72. package/dist/{index.es-ng6OTpYR.js → index.es-extFs-He.js} +1712 -1625
  73. package/dist/index.es.js +1 -1
  74. package/dist/{info-DBsGMB_O.js → info-CX4R9q8L.js} +1 -1
  75. package/dist/{info-circle-Bx2PIRGJ.js → info-circle-ByA7titS.js} +1 -1
  76. package/dist/{lightbulb-KoBLmJby.js → lightbulb-DpdMU1eo.js} +1 -1
  77. package/dist/{mail-CZKrqpFU.js → mail-D7BloLRj.js} +1 -1
  78. package/dist/{mobile-CN4pmWVU.js → mobile-BfhAPCLe.js} +1 -1
  79. package/dist/{more-1brm4Q7X.js → more-2Fi4UnXg.js} +1 -1
  80. package/dist/{network-placeholder-CAlA46Kt.js → network-placeholder-CQk-R-eu.js} +1 -1
  81. package/dist/{nftPlaceholder-DHzDfy6E.js → nftPlaceholder-D67aKpf-.js} +1 -1
  82. package/dist/{off-1usMfWM7.js → off-CER3l2ZF.js} +1 -1
  83. package/dist/{play-store-C_t-IwRL.js → play-store-D3OG1Nf5.js} +1 -1
  84. package/dist/{plus-B5w-_zg6.js → plus-XfyglU6D.js} +1 -1
  85. package/dist/{qr-code-DQh--5Nd.js → qr-code-C2QzWWzi.js} +1 -1
  86. package/dist/{recycle-horizontal-CBNgoZdm.js → recycle-horizontal-BNoCX8eV.js} +1 -1
  87. package/dist/{refresh-gjkJ3fAS.js → refresh-BtgNPYm1.js} +1 -1
  88. package/dist/{reown-logo-BmVLHjjQ.js → reown-logo-BfwHREPj.js} +1 -1
  89. package/dist/{search-CuK6y19Q.js → search-xILtKxp2.js} +1 -1
  90. package/dist/{send-CIaAYk7c.js → send-Cbq82Ise.js} +1 -1
  91. package/dist/{swapHorizontal-Dl8NLG_i.js → swapHorizontal-ieu8keoA.js} +1 -1
  92. package/dist/{swapHorizontalBold-BnPyIFiA.js → swapHorizontalBold-DB9kV8I4.js} +1 -1
  93. package/dist/{swapHorizontalMedium-CEivQ8L0.js → swapHorizontalMedium-CFcq-Eii.js} +1 -1
  94. package/dist/{swapHorizontalRoundedBold-C9ACKZnM.js → swapHorizontalRoundedBold-J-bBHkKw.js} +1 -1
  95. package/dist/{swapVertical-ZEEyof9e.js → swapVertical-CdsB-iHQ.js} +1 -1
  96. package/dist/{telegram-B3c-a3zh.js → telegram-BcA4SOe-.js} +1 -1
  97. package/dist/{three-dots-DUit7LCw.js → three-dots-tnSr7FoX.js} +1 -1
  98. package/dist/{twitch-3MyiQW6J.js → twitch-C0EXCOL_.js} +1 -1
  99. package/dist/{twitterIcon-DrkQHEH8.js → twitterIcon-D8gUfoR9.js} +1 -1
  100. package/dist/{unsupportedProp-BXXskXK0.js → unsupportedProp-ClTIJsqE.js} +1 -1
  101. package/dist/{useRegisterError-D172QfL7.js → useRegisterError-BrX0SzkP.js} +1 -1
  102. package/dist/{verify-Ez0YdpbL.js → verify-1fQ9qDGq.js} +1 -1
  103. package/dist/{verify-filled-Cof7FJLP.js → verify-filled-B-Bua_F7.js} +1 -1
  104. package/dist/{w3m-modal-D9qNteo9.js → w3m-modal-B4ljhCgE.js} +2 -2
  105. package/dist/{wallet-D8n_ZZlC.js → wallet-CHuFygGk.js} +1 -1
  106. package/dist/{wallet-placeholder-C7X2GW9S.js → wallet-placeholder-BY3FPHTK.js} +1 -1
  107. package/dist/{walletconnect-CKYpGIEb.js → walletconnect-1yfFjEWg.js} +1 -1
  108. package/dist/{warning-circle-BcBltCn2.js → warning-circle-CtfJ6Xr4.js} +1 -1
  109. package/dist/widget.css +1 -1
  110. package/dist/{x-BppUkwM-.js → x-j-7tNFTH.js} +1 -1
  111. package/package.json +2 -4
  112. package/dist/EstGas-ywgk-29s.js +0 -1486
  113. package/dist/getCosmosAddress-_BeZxDkv.js +0 -6075
  114. package/dist/index-BaPgYkZ_.js +0 -42277
  115. package/dist/index-BtI5pdx-.js +0 -6711
  116. package/dist/index-klVp-SBb.js +0 -206
@@ -1,8 +1,8 @@
1
1
  import * as D from "react";
2
2
  import kt from "react";
3
- import { p as J, P as i, aR 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-BaPgYkZ_.js";
3
+ import { p as J, P as i, aE 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-VwOzTBuI.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-D172QfL7.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-BrX0SzkP.js";
6
6
  let nt = 0;
7
7
  function Jt(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-BaPgYkZ_.js";
2
+ import { u as n, S as W } from "./index-VwOzTBuI.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-D172QfL7.js";
4
+ import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-BrX0SzkP.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-BHDpDBXv.js";
7
+ import { c as B, r as G } from "./index-yf9XBWfH.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-BaPgYkZ_.js";
3
+ import { u as r, S as o, l as we } from "./index-VwOzTBuI.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-C8I1GmTa.js";
7
+ import { S as re } from "./down-BiWYZhrl.js";
8
8
  import { e as se } from "./ethertousd-CC_ezooz.js";
9
- import { O as H } from "./index-Cea3JIZ5.js";
10
- import { F as J, i as ae } from "./useRegisterError-D172QfL7.js";
9
+ import { O as H } from "./index-Kcq8t_TI.js";
10
+ import { F as J, i as ae } from "./useRegisterError-BrX0SzkP.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-BaPgYkZ_.js";
3
+ import { u as g } from "./index-VwOzTBuI.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-BaPgYkZ_.js";
2
+ import { u as a } from "./index-VwOzTBuI.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-BaPgYkZ_.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-VwOzTBuI.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-BNGsloYF.js";
3
+ import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-DimeDg31.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-D172QfL7.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-BrX0SzkP.js";
6
6
  function Lo(r) {
7
7
  return To("MuiTooltip", r);
8
8
  }
@@ -1,36 +1,37 @@
1
1
  import { jsx as N } from "react/jsx-runtime";
2
2
  import { useState as q, useEffect as P } from "react";
3
3
  import { useSwitchNetwork as je, useDynamicContext as Ae, useIsLoggedIn as ve } from "@dynamic-labs/sdk-react-core";
4
- import { a as we, u as T, aI as ze, aJ as Me } from "./index-BaPgYkZ_.js";
4
+ import { a as we, u as m, aA as ze, aB as Me } from "./index-VwOzTBuI.js";
5
5
  import { s as f } from "./WidgetForm.module-QHJ0-m5f.js";
6
6
  import { useAccount as Oe, useConfig as Re, useSwitchChain as Ve, useBalance as qe } from "wagmi";
7
- import { u as ae, d as Pe, c as _e, C as oe } from "./useRegisterError-D172QfL7.js";
8
- import { v as Je } from "./validError-CDlJpg_f.js";
9
- import { u as Qe, p as He } from "./index-BHDpDBXv.js";
7
+ import { u as ae, d as Pe, c as _e, C as oe } from "./useRegisterError-BrX0SzkP.js";
8
+ import "./getCosmosAddress-CQBPedP-.js";
9
+ import { v as Qe } from "./validError-CDlJpg_f.js";
10
+ import { u as He, p as Je } from "./index-yf9XBWfH.js";
10
11
  function Ke(n) {
11
12
  const { wallet: g, address: y } = we(), [E, S] = q(0);
12
- async function m() {
13
+ async function T() {
13
14
  const A = await window.tronWeb.trx.getBalance(y);
14
15
  S(A / Math.pow(10, 6));
15
16
  }
16
17
  return P(() => {
17
- y && (n == null ? void 0 : n.networkType) === "tron" && m();
18
+ y && (n == null ? void 0 : n.networkType) === "tron" && T();
18
19
  }, [y, n == null ? void 0 : n.networkType]), { tronBal: E };
19
20
  }
20
21
  function j(n) {
21
22
  if (n.key.toLowerCase() === "backpacksol")
22
23
  return !0;
23
24
  }
24
- function ct({ routesData: n, routes: g, amount: y, isAmountTyped: E, handleShowWallet: S, setConnectWalletField: m, handleConfirmClose: A, balanceSol: F, getCoinBalance: be, handleSuccess: ue }) {
25
+ function nt({ routesData: n, routes: g, amount: y, isAmountTyped: E, handleShowWallet: S, setConnectWalletField: T, handleConfirmClose: A, balanceSol: F, getCoinBalance: be, handleSuccess: ue }) {
25
26
  var Y, Z, W, k, D, C, ee, te, se, re, ce, ne, ie;
26
- const o = T((s) => s.gradient), I = T((s) => s.configuration), e = T((s) => s.fromChain), i = T((s) => s.fromCoin), r = T((s) => s.toChain), w = T((s) => s.toCoin), { isConnected: L, address: _, chain: h } = Oe(), pe = Re(), ge = je(), { getBothWalletConnection: ye, getConnectWallet: xe } = ae({
27
+ const o = m((s) => s.gradient), h = m((s) => s.configuration), e = m((s) => s.fromChain), i = m((s) => s.fromCoin), r = m((s) => s.toChain), w = m((s) => s.toCoin), { isConnected: L, address: _, chain: I } = Oe(), pe = Re(), ge = je(), { getBothWalletConnection: ye, getConnectWallet: xe } = ae({
27
28
  chainData: e
28
- }), { connected: J, address: Q, disconnect: Ue } = we(), v = T((s) => s.toDisconnect), d = T((s) => s.customWallet), { getWallet: Ie } = ae({ chainData: e }), he = xe(e, r), [z, Te] = q("101"), { tronBal: M } = Ke(e), { cosmosBalance: H } = Qe(), O = ((Y = e.chain) == null ? void 0 : Y.length) && ((Z = r.chain) == null ? void 0 : Z.length), R = ((W = i.address) == null ? void 0 : W.length) && ((k = w.address) == null ? void 0 : k.length), me = Pe(), Ne = ze(), { switchChain: Xe, switchChainAsync: fe, isPending: Be } = Ve({
29
+ }), { connected: Q, address: H, disconnect: Ue } = we(), v = m((s) => s.toDisconnect), d = m((s) => s.customWallet), { getWallet: he } = ae({ chainData: e }), Ie = xe(e, r), [z, me] = q("101"), { tronBal: M } = Ke(e), { cosmosBalance: J } = He(), O = ((Y = e.chain) == null ? void 0 : Y.length) && ((Z = r.chain) == null ? void 0 : Z.length), R = ((W = i.address) == null ? void 0 : W.length) && ((k = w.address) == null ? void 0 : k.length), Te = Pe(), Ne = ze(), { switchChain: Xe, switchChainAsync: fe, isPending: Be } = Ve({
29
30
  chainId: Number((e == null ? void 0 : e.chainId) || "0"),
30
31
  config: pe,
31
32
  throwForSwitchChainNotSupported: !0,
32
33
  onError(s) {
33
- Je(s.message) && me({ module: "wallet-error-switch", error: s.message });
34
+ Qe(s.message) && Te({ module: "wallet-error-switch", error: s.message });
34
35
  }
35
36
  }), x = qe({
36
37
  address: _,
@@ -43,7 +44,7 @@ function ct({ routesData: n, routes: g, amount: y, isAmountTyped: E, handleShowW
43
44
  color: "bw-bg-border-primary"
44
45
  });
45
46
  async function Ge() {
46
- if ((e == null ? void 0 : e.networkType) === "evm" && Number((e == null ? void 0 : e.chainId) || "0") !== (h == null ? void 0 : h.id))
47
+ if ((e == null ? void 0 : e.networkType) === "evm" && Number((e == null ? void 0 : e.chainId) || "0") !== (I == null ? void 0 : I.id))
47
48
  try {
48
49
  await fe({ chainId: Number((e == null ? void 0 : e.chainId) || "0") });
49
50
  } catch {
@@ -59,11 +60,11 @@ function ct({ routesData: n, routes: g, amount: y, isAmountTyped: E, handleShowW
59
60
  ...n
60
61
  }), B && (ue(!1), A());
61
62
  }
62
- const { primaryWallet: b } = Ae(), V = ve(), B = (e == null ? void 0 : e.networkType) === r.networkType ? !!((C = (D = Ie(e)) == null ? void 0 : D.address) != null && C.length) : ye(e == null ? void 0 : e.networkType, (d == null ? void 0 : d.length) > 30 ? "customWallet" : r == null ? void 0 : r.networkType), U = async () => {
63
+ const { primaryWallet: b } = Ae(), V = ve(), B = (e == null ? void 0 : e.networkType) === r.networkType ? !!((C = (D = he(e)) == null ? void 0 : D.address) != null && C.length) : ye(e == null ? void 0 : e.networkType, (d == null ? void 0 : d.length) > 30 ? "customWallet" : r == null ? void 0 : r.networkType), U = async () => {
63
64
  if (b)
64
65
  try {
65
66
  const s = await b.getNetwork();
66
- Te(s);
67
+ me(s);
67
68
  } catch {
68
69
  }
69
70
  else
@@ -82,7 +83,7 @@ function ct({ routesData: n, routes: g, amount: y, isAmountTyped: E, handleShowW
82
83
  }
83
84
  function $e(s) {
84
85
  var u;
85
- return Number(((u = H[He(s.address)]) == null ? void 0 : u.amount) || 0) / Math.pow(10, s.decimals);
86
+ return Number(((u = J[Je(s.address)]) == null ? void 0 : u.amount) || 0) / Math.pow(10, s.decimals);
86
87
  }
87
88
  function Ee() {
88
89
  var $;
@@ -169,7 +170,7 @@ function ct({ routesData: n, routes: g, amount: y, isAmountTyped: E, handleShowW
169
170
  text: "Failed to fetch Quotes",
170
171
  isGradient: !1,
171
172
  color: "bw-bg-border-primary"
172
- }) : L && Number((e == null ? void 0 : e.chainId) || "0") !== (h == null ? void 0 : h.id) && (e == null ? void 0 : e.networkType) === "evm" || V && ((e == null ? void 0 : e.chainId) === "eclipse-svm" ? "201" : "101") !== z && (e == null ? void 0 : e.networkType) === "sol" ? l({
173
+ }) : L && Number((e == null ? void 0 : e.chainId) || "0") !== (I == null ? void 0 : I.id) && (e == null ? void 0 : e.networkType) === "evm" || V && ((e == null ? void 0 : e.chainId) === "eclipse-svm" ? "201" : "101") !== z && (e == null ? void 0 : e.networkType) === "sol" ? l({
173
174
  text: `Switch Chain to ${e.chain}`,
174
175
  isGradient: !0,
175
176
  color: o || f.gradientbutton
@@ -182,7 +183,7 @@ function ct({ routesData: n, routes: g, amount: y, isAmountTyped: E, handleShowW
182
183
  isGradient: !0,
183
184
  color: o || f.gradientbutton
184
185
  });
185
- }, [z, b, i, w, y, e, r, (ee = x.data) == null ? void 0 : ee.formatted, n, x.isFetching, x.isLoading, L, K, B, g.isFetching, h == null ? void 0 : h.id, E, M, F, d, H]);
186
+ }, [z, b, i, w, y, e, r, (ee = x.data) == null ? void 0 : ee.formatted, n, x.isFetching, x.isLoading, L, K, B, g.isFetching, I == null ? void 0 : I.id, E, M, F, d, J]);
186
187
  let Fe = [`switch chain to ${(te = e.chain) == null ? void 0 : te.toLowerCase()}`, `select ${(se = e.chain) == null ? void 0 : se.toLowerCase()} wallet`, "connect custom wallet", "enter recipient wallet address"];
187
188
  function Le() {
188
189
  var s, u, p, $;
@@ -193,19 +194,19 @@ function ct({ routesData: n, routes: g, amount: y, isAmountTyped: E, handleShowW
193
194
  {
194
195
  disabled: Le(),
195
196
  style: a != null && a.isGradient && O && R ? {
196
- ...I == null ? void 0 : I.gradientStyle,
197
- boxShadow: I && I.customTheme && ((ce = (re = I.customTheme) == null ? void 0 : re.shadow) == null ? void 0 : ce.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
197
+ ...h == null ? void 0 : h.gradientStyle,
198
+ boxShadow: h && h.customTheme && ((ce = (re = h.customTheme) == null ? void 0 : re.shadow) == null ? void 0 : ce.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
198
199
  } : {
199
- boxShadow: I && I.customTheme && ((ie = (ne = I.customTheme) == null ? void 0 : ne.shadow) == null ? void 0 : ie.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
200
+ boxShadow: h && h.customTheme && ((ie = (ne = h.customTheme) == null ? void 0 : ne.shadow) == null ? void 0 : ie.boxShadow) || "1px 1px 7px rgba(0, 0, 0, 0.15)"
200
201
  },
201
202
  className: `bw-w-full bw-rounded-sm bw-h-[52px] ${a != null && a.isGradient ? "bw-p-[3px]" : "bw-p-[1px]"} bw-mt-3 bw-border-0 bw-relative bw-z-0 disabled:bw-opacity-70 ${O && R && a.color} ${a.text.length > 29 ? "bw-text-xl" : "bw-text-2xl"} ${a != null && a.isGradient ? "bw-font-bold bw-text-text-primary" : "bw-font-normal bw-text-text-secondary"}`,
202
203
  onClick: () => {
203
- B || (S(!0), ((e == null ? void 0 : e.networkType) !== "evm" && L || (e == null ? void 0 : e.networkType) !== "sol" && V && b !== null || (e == null ? void 0 : e.networkType) !== "tron" && J && Q) && !v ? m("from") : L && (r == null ? void 0 : r.networkType) !== "evm" || V && (r == null ? void 0 : r.networkType) !== "sol" || (r == null ? void 0 : r.networkType) !== "tron" && J && Q || v ? m("to") : m("from")), e.chainId === "eclipse-svm" && !j(b) ? (S(!0), m("from")) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !j(b) && d.length < 30 ? (S(!0), m("to")) : Ge();
204
+ B || (S(!0), ((e == null ? void 0 : e.networkType) !== "evm" && L || (e == null ? void 0 : e.networkType) !== "sol" && V && b !== null || (e == null ? void 0 : e.networkType) !== "tron" && Q && H) && !v ? T("from") : L && (r == null ? void 0 : r.networkType) !== "evm" || V && (r == null ? void 0 : r.networkType) !== "sol" || (r == null ? void 0 : r.networkType) !== "tron" && Q && H || v ? T("to") : T("from")), e.chainId === "eclipse-svm" && !j(b) ? (S(!0), T("from")) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !j(b) && d.length < 30 ? (S(!0), T("to")) : Ge();
204
205
  },
205
- children: /* @__PURE__ */ N("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__ */ N("p", { className: "bw-relative bw-z-20", children: O && R ? Be ? /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) : B ? a.text.length ? a.text : "Start Transaction" : `Connect ${he} Wallet` : /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) }) })
206
+ children: /* @__PURE__ */ N("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__ */ N("p", { className: "bw-relative bw-z-20", children: O && R ? Be ? /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) : B ? a.text.length ? a.text : "Start Transaction" : `Connect ${Ie} Wallet` : /* @__PURE__ */ N("div", { className: "bw-w-[30px] bw-flex bw-text-text-secondary bw-justify-center bw-items-center bw-h-[30px]", children: /* @__PURE__ */ N(oe, { size: 22, thickness: 5, color: "inherit" }) }) }) })
206
207
  }
207
208
  );
208
209
  }
209
210
  export {
210
- ct as default
211
+ nt as default
211
212
  };
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-CE7ZvgmO.js";
1
+ import { m as l } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as a } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as a } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as l } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as o } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as C } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as e } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as l } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as o } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as e } from "./core-2WkYhq16.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-CE7ZvgmO.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-B518UW03.js";
3
- import { n as Wn } from "./index-BaPgYkZ_.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-2WkYhq16.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-DbBaCDf8.js";
3
+ import { n as Wn } from "./index-VwOzTBuI.js";
4
4
  const Sn = D`
5
5
  :host {
6
6
  position: relative;
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-CE7ZvgmO.js";
1
+ import { m as l } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as C } from "./core-2WkYhq16.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 { al as L, am as b, an as F, ao as N, ap as P, aq as w, ar as S, as as E, at as $, au as C, av as G, aw as m, ax as I, ay as A, az as R, aA as y, aB as O, aC as q, aD as D, aE as T, aF as v, aG as k, aH as H } from "./index-BaPgYkZ_.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-VwOzTBuI.js";
2
2
  const h = "/docs/contract/encodeErrorResult";
3
3
  function x(t) {
4
4
  const { abi: s, errorName: a, args: r } = t;
@@ -21,7 +21,7 @@ function x(t) {
21
21
  return S([n, o]);
22
22
  }
23
23
  const p = "/docs/contract/encodeFunctionResult";
24
- function B(t) {
24
+ function j(t) {
25
25
  const { abi: s, functionName: a, result: r } = t;
26
26
  let e = s[0];
27
27
  if (a) {
@@ -46,15 +46,15 @@ function B(t) {
46
46
  return w(e.outputs, c);
47
47
  }
48
48
  const U = "x-batch-gateway:true";
49
- async function j(t) {
50
- const { data: s, ccipRequest: a } = t, { args: [r] } = G({ abi: m, data: s }), e = [], c = [];
49
+ async function B(t) {
50
+ const { data: s, ccipRequest: a } = t, { args: [r] } = I({ abi: m, data: s }), e = [], c = [];
51
51
  return await Promise.all(r.map(async (n, o) => {
52
52
  try {
53
53
  c[o] = await a(n), e[o] = !1;
54
54
  } catch (u) {
55
55
  e[o] = !0, c[o] = _(u);
56
56
  }
57
- })), B({
57
+ })), j({
58
58
  abi: m,
59
59
  functionName: "query",
60
60
  result: [e, c]
@@ -66,16 +66,16 @@ function _(t) {
66
66
  errorName: "HttpError",
67
67
  args: [t.status, t.shortMessage]
68
68
  }) : x({
69
- abi: [I],
69
+ abi: [G],
70
70
  errorName: "Error",
71
71
  args: ["shortMessage" in t ? t.shortMessage : t.message]
72
72
  });
73
73
  }
74
74
  function z(t, s) {
75
- if (!A(t, { strict: !1 }))
76
- throw new R({ address: t });
77
- if (!A(s, { strict: !1 }))
78
- throw new R({ address: s });
75
+ if (!R(t, { strict: !1 }))
76
+ throw new k({ address: t });
77
+ if (!R(s, { strict: !1 }))
78
+ throw new k({ address: s });
79
79
  return t.toLowerCase() === s.toLowerCase();
80
80
  }
81
81
  class J extends y {
@@ -149,20 +149,20 @@ const Y = "0x556f1830", Q = {
149
149
  ]
150
150
  };
151
151
  async function Z(t, { blockNumber: s, blockTag: a, data: r, to: e }) {
152
- const { args: c } = D({
152
+ const { args: c } = T({
153
153
  data: r,
154
154
  abi: [Q]
155
155
  }), [n, o, u, f, d] = c, { ccipRead: i } = t, g = i && typeof (i == null ? void 0 : i.request) == "function" ? i.request : V;
156
156
  try {
157
157
  if (!z(e, n))
158
158
  throw new K({ sender: n, to: e });
159
- const l = o.includes(U) ? await j({
159
+ const l = o.includes(U) ? await B({
160
160
  data: u,
161
161
  ccipRequest: g
162
- }) : await g({ data: u, sender: n, urls: o }), { data: M } = await T(t, {
162
+ }) : await g({ data: u, sender: n, urls: o }), { data: M } = await v(t, {
163
163
  blockNumber: s,
164
164
  blockTag: a,
165
- data: v([
165
+ data: D([
166
166
  f,
167
167
  w([{ type: "bytes" }, { type: "bytes" }], [l, d])
168
168
  ]),
@@ -193,7 +193,7 @@ async function V({ data: t, sender: s, urls: a }) {
193
193
  });
194
194
  let i;
195
195
  if ((e = d.headers.get("Content-Type")) != null && e.startsWith("application/json") ? i = (await d.json()).data : i = await d.text(), !d.ok) {
196
- r = new k({
196
+ r = new A({
197
197
  body: u,
198
198
  details: i != null && i.error ? q(i.error) : d.statusText,
199
199
  headers: d.headers,
@@ -211,7 +211,7 @@ async function V({ data: t, sender: s, urls: a }) {
211
211
  }
212
212
  return i;
213
213
  } catch (d) {
214
- r = new k({
214
+ r = new A({
215
215
  body: u,
216
216
  details: d.message,
217
217
  url: n
@@ -1,4 +1,4 @@
1
- import { m as e } from "./core-CE7ZvgmO.js";
1
+ import { m as e } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as e } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as o } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as e } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as l } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as l } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as t } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as C } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as l } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as l } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as l } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as C } from "./core-2WkYhq16.js";
2
2
  const o = C`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="16"
@@ -1,5 +1,6 @@
1
- import { p as Se, aj as re, a8 as et, ak as fl } from "./index-BaPgYkZ_.js";
2
- import { I as Wr, c as Zu, f as Tt, t as pt, a as U, b as us, C as Xu, d as Qu, e as ui, s as co, g as er, k as Ti, A as ml, E as nt, i as eh, h as th, y as Ct, j as Ws, r as zr, O as Wo, o as kt, l as sh, m as zo, n as Ho, p as vn, N as Vo, P as ca, Q as rh, q as ih, u as nh, v as la, w as _r, x as wl, z as is, B as Vt, D as hs, F as Bt } from "./index.es-ng6OTpYR.js";
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-extFs-He.js";
3
+ import { p as Se } from "./index-VwOzTBuI.js";
3
4
  import { formatUnits as oh, recoverAddress as ah, fallback as ua, http as Wi, toHex as ha } from "viem";
4
5
  const z = {
5
6
  WC_NAME_SUFFIX: ".reown.id",
@@ -12088,7 +12089,7 @@ let Nr = class extends HTMLElement {
12088
12089
  Nr.elementStyles = [], Nr.shadowRootOptions = { mode: "open" }, Nr[yi("elementProperties")] = /* @__PURE__ */ new Map(), Nr[yi("finalized")] = /* @__PURE__ */ new Map(), io == null || io({ ReactiveElement: Nr }), (Ps.reactiveElementVersions ?? (Ps.reactiveElementVersions = [])).push("2.1.0");
12089
12090
  const vi = globalThis, yn = vi.trustedTypes, nl = yn ? yn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Wu = "$lit$", Es = `lit$${Math.random().toFixed(9).slice(2)}$`, zu = "?" + Es, lE = `<${zu}>`, Qs = document, Si = () => Qs.createComment(""), Pi = (t) => t === null || typeof t != "object" && typeof t != "function", aa = Array.isArray, uE = (t) => aa(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", no = `[
12090
12091
  \f\r]`, ri = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ol = /-->/g, al = />/g, Ds = RegExp(`>|${no}(?:([^\\s"'>=/]+)(${no}*=${no}*(?:[^
12091
- \f\r"'\`<>=]|("|')|))|$)`, "g"), cl = /'/g, ll = /"/g, Hu = /^(?:script|style|textarea|title)$/i, Vu = (t) => (e, ...s) => ({ _$litType$: t, strings: e, values: s }), YE = Vu(1), ZE = Vu(2), qr = Symbol.for("lit-noChange"), ze = Symbol.for("lit-nothing"), ul = /* @__PURE__ */ new WeakMap(), Hs = Qs.createTreeWalker(Qs, 129);
12092
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), cl = /'/g, ll = /"/g, Hu = /^(?:script|style|textarea|title)$/i, Vu = (t) => (e, ...s) => ({ _$litType$: t, strings: e, values: s }), ZE = Vu(1), XE = Vu(2), qr = Symbol.for("lit-noChange"), ze = Symbol.for("lit-nothing"), ul = /* @__PURE__ */ new WeakMap(), Hs = Qs.createTreeWalker(Qs, 129);
12092
12093
  function Ku(t, e) {
12093
12094
  if (!aa(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
12094
12095
  return nl !== void 0 ? nl.createHTML(e) : e;
@@ -12349,7 +12350,7 @@ const ao = Ks.litElementPolyfillSupport;
12349
12350
  ao == null || ao({ LitElement: ln });
12350
12351
  (Ks.litElementVersions ?? (Ks.litElementVersions = [])).push("4.2.0");
12351
12352
  let bi, Os, Ts;
12352
- function XE(t, e) {
12353
+ function QE(t, e) {
12353
12354
  bi = document.createElement("style"), Os = document.createElement("style"), Ts = document.createElement("style"), bi.textContent = $r(t).core.cssText, Os.textContent = $r(t).dark.cssText, Ts.textContent = $r(t).light.cssText, document.head.appendChild(bi), document.head.appendChild(Os), document.head.appendChild(Ts), Gu(e);
12354
12355
  }
12355
12356
  function Gu(t) {
@@ -13058,7 +13059,7 @@ function $r(t) {
13058
13059
  `
13059
13060
  };
13060
13061
  }
13061
- const QE = kr`
13062
+ const e1 = kr`
13062
13063
  *,
13063
13064
  *::after,
13064
13065
  *::before,
@@ -13074,7 +13075,7 @@ const QE = kr`
13074
13075
  font-family: var(--wui-font-family);
13075
13076
  backface-visibility: hidden;
13076
13077
  }
13077
- `, e1 = kr`
13078
+ `, t1 = kr`
13078
13079
  button,
13079
13080
  a {
13080
13081
  cursor: pointer;
@@ -13129,7 +13130,7 @@ const QE = kr`
13129
13130
  outline: none;
13130
13131
  appearance: none;
13131
13132
  }
13132
- `, t1 = kr`
13133
+ `, s1 = kr`
13133
13134
  .wui-color-inherit {
13134
13135
  color: var(--wui-color-inherit);
13135
13136
  }
@@ -14902,7 +14903,7 @@ class Yu extends NE {
14902
14903
  }
14903
14904
  async injectModalUi() {
14904
14905
  if (!pl && Z.isClient()) {
14905
- if (await import("./basic-BQ6VlY2V.js"), await import("./w3m-modal-D9qNteo9.js"), !document.querySelector("w3m-modal")) {
14906
+ if (await import("./basic-DlZzE8fW.js"), await import("./w3m-modal-B4ljhCgE.js"), !document.querySelector("w3m-modal")) {
14906
14907
  const s = document.createElement("w3m-modal");
14907
14908
  !O.state.disableAppend && !O.state.enableEmbedded && document.body.insertAdjacentElement("beforeend", s);
14908
14909
  }
@@ -14918,7 +14919,7 @@ function SE(t) {
14918
14919
  sdkVersion: `html-core-${_E}`
14919
14920
  });
14920
14921
  }
14921
- const s1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14922
+ const r1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14922
14923
  __proto__: null,
14923
14924
  AppKit: Yu,
14924
14925
  createAppKit: SE
@@ -14930,7 +14931,7 @@ export {
14930
14931
  jo as D,
14931
14932
  Te as E,
14932
14933
  qr as F,
14933
- s1 as G,
14934
+ r1 as G,
14934
14935
  He as M,
14935
14936
  O,
14936
14937
  ie as R,
@@ -14941,7 +14942,7 @@ export {
14941
14942
  Z as b,
14942
14943
  an as c,
14943
14944
  Cl as d,
14944
- e1 as e,
14945
+ t1 as e,
14945
14946
  Y as f,
14946
14947
  z as g,
14947
14948
  p as h,
@@ -14949,18 +14950,18 @@ export {
14949
14950
  Lt as j,
14950
14951
  Mt as k,
14951
14952
  Ce as l,
14952
- ZE as m,
14953
+ XE as m,
14953
14954
  ze as n,
14954
- t1 as o,
14955
+ s1 as o,
14955
14956
  Pe as p,
14956
14957
  tt as q,
14957
- QE as r,
14958
+ e1 as r,
14958
14959
  st as s,
14959
14960
  gi as t,
14960
14961
  Fs as u,
14961
14962
  eE as v,
14962
14963
  It as w,
14963
- YE as x,
14964
+ ZE as x,
14964
14965
  W as y,
14965
- XE as z
14966
+ QE as z
14966
14967
  };
@@ -1,4 +1,4 @@
1
- import { m as o } from "./core-CE7ZvgmO.js";
1
+ import { m as o } from "./core-2WkYhq16.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-CE7ZvgmO.js";
1
+ import { m as o } from "./core-2WkYhq16.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