@blockend/widget 1.0.48-beta.0 → 1.0.48-beta.4

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 (117) hide show
  1. package/dist/{AllRoutes-D8LuuVmM.js → AllRoutes-C_rcXmmZ.js} +9 -9
  2. package/dist/{Box-DM9yFOex.js → Box-DC9ZsRk1.js} +8 -8
  3. package/dist/EstGas-CS0RqPZ_.js +12661 -0
  4. package/dist/{Grow-DOn6L3co.js → Grow-C_P537x-.js} +2 -2
  5. package/dist/{InputComp-NuVHgaJr.js → InputComp-BFISyDWr.js} +3 -3
  6. package/dist/{LoadRoute-B67KdzDM.js → LoadRoute-aCQoKb3B.js} +4 -4
  7. package/dist/{QuotesProgress-QaDMFoy1.js → QuotesProgress-kJ3vM5WP.js} +1 -1
  8. package/dist/{SwapAsset-DS1khTG7.js → SwapAsset-CDj2n4b6.js} +1 -1
  9. package/dist/{Tooltip-Ba3WFgGd.js → Tooltip-CCb4FPVY.js} +15 -15
  10. package/dist/TxnButton-lLEwer9x.js +212 -0
  11. package/dist/{add-q9Nf6prg.js → add-CoYex5Dn.js} +1 -1
  12. package/dist/{all-wallets-DPeT0Mif.js → all-wallets-Bd8NTrnM.js} +1 -1
  13. package/dist/{app-store-DN3WdWdo.js → app-store-BAO1Knf8.js} +1 -1
  14. package/dist/{apple-DyzMqifv.js → apple-DHPVU7kM.js} +1 -1
  15. package/dist/{arrow-bottom-DqoHxj9Z.js → arrow-bottom-atfLz99n.js} +1 -1
  16. package/dist/{arrow-bottom-circle-gYCPf_-a.js → arrow-bottom-circle-C47A6Y8e.js} +1 -1
  17. package/dist/{arrow-left-BCb0WGCp.js → arrow-left-D37JuXA3.js} +1 -1
  18. package/dist/{arrow-right-COFDKXwO.js → arrow-right-DV2KIQst.js} +1 -1
  19. package/dist/{arrow-top-A2hPO7gg.js → arrow-top-Bsm1aZLV.js} +1 -1
  20. package/dist/{bank-DzMH-tSV.js → bank-Cdw0hMrI.js} +1 -1
  21. package/dist/{basic-C5wivloW.js → basic-CLI82Nv2.js} +3 -3
  22. package/dist/{browser-pBih3Y0E.js → browser-D6tPO07U.js} +1 -1
  23. package/dist/{card-CnPr5FkC.js → card-HADpiv1z.js} +1 -1
  24. package/dist/{ccip-Di_Zaa6h.js → ccip-nfl-U5kB.js} +16 -16
  25. package/dist/{checkmark-DuHkawx4.js → checkmark-Cf8C-8Kd.js} +1 -1
  26. package/dist/{checkmark-bold-CbTyGrPC.js → checkmark-bold-1l_rH0Oc.js} +1 -1
  27. package/dist/{chevron-bottom-ClujWrwS.js → chevron-bottom-uVWA9_WJ.js} +1 -1
  28. package/dist/{chevron-left-Bk48p4Zx.js → chevron-left-C-rC9T1J.js} +1 -1
  29. package/dist/{chevron-right-DNGloKKX.js → chevron-right-D57aI6Wn.js} +1 -1
  30. package/dist/{chevron-top-BeF-AMWu.js → chevron-top-BuKiuUEw.js} +1 -1
  31. package/dist/{chrome-store-DbhS7z0N.js → chrome-store-Ck2xyFoO.js} +1 -1
  32. package/dist/{clock-C_6_l4to.js → clock-CWF1oB-7.js} +1 -1
  33. package/dist/{close-CSt1jFt2.js → close-xTVbgGNF.js} +1 -1
  34. package/dist/{coinPlaceholder-BCj1y0PN.js → coinPlaceholder-D4JNB9Cl.js} +1 -1
  35. package/dist/{compass-BylNTlMa.js → compass-3Sold4Ol.js} +1 -1
  36. package/dist/{copy-B5chXsW-.js → copy-Cj1PQEnx.js} +1 -1
  37. package/dist/{core-DMrbUYAd.js → core-rNskXQmO.js} +17 -16
  38. package/dist/{cursor-DOai1hPO.js → cursor-ClWZSZg_.js} +1 -1
  39. package/dist/{cursor-transparent-Cadcmy6E.js → cursor-transparent-PjygCnxx.js} +1 -1
  40. package/dist/{desktop-DCy_OF9q.js → desktop-DlVN2ojl.js} +1 -1
  41. package/dist/{disconnect-d_9YI8yP.js → disconnect-C0CEwEKo.js} +1 -1
  42. package/dist/{discord-C5PncbsA.js → discord-BHuKcYWu.js} +1 -1
  43. package/dist/{down-B0DJRPMS.js → down-cjFo92gr.js} +2 -2
  44. package/dist/{etherscan-ClGwr9lW.js → etherscan-DLKXZ2re.js} +1 -1
  45. package/dist/{exclamation-triangle-UG68kEuv.js → exclamation-triangle-DJ6mpOiU.js} +1 -1
  46. package/dist/{extension-Bhr-Ssau.js → extension-Y9XDVeMb.js} +1 -1
  47. package/dist/{external-link-BRJo7SZO.js → external-link-CnsSsrf1.js} +1 -1
  48. package/dist/{facebook-BnA-xxoO.js → facebook-BkBjd1Ja.js} +1 -1
  49. package/dist/{farcaster-CvgpGB8R.js → farcaster-BpIRv4Nx.js} +1 -1
  50. package/dist/{filters-2DNvXC2d.js → filters-UhqGAJq9.js} +1 -1
  51. package/dist/{getChainIds-BJOBostX.js → getChainIds-zCkHYBEK.js} +2 -2
  52. package/dist/getCosmosAddress-CsDRewn8.js +9565 -0
  53. package/dist/{github-CqCIZfoi.js → github-CW3Tx2DS.js} +1 -1
  54. package/dist/{google-Cb46Xe1N.js → google-BiM677XD.js} +1 -1
  55. package/dist/{hamburger-Cj81xHVG.js → hamburger-By7q3dLj.js} +5 -5
  56. package/dist/{help-circle-BQm3Y4uL.js → help-circle-BAr9oTmz.js} +1 -1
  57. package/dist/{id-DlZAWXhX.js → id-aD5RUW4F.js} +1 -1
  58. package/dist/{image-C-Rdb3yG.js → image-BrnuP1P9.js} +1 -1
  59. package/dist/index-B8z6fxJo.js +30725 -0
  60. package/dist/index-BHJKbDqF.js +3010 -0
  61. package/dist/{index-BKAQ3OTd.js → index-CA4RSUKU.js} +11 -11
  62. package/dist/{index-CUDhfiq5.js → index-CBxaxTOR.js} +10 -10
  63. package/dist/{index-CxxmgFkL.js → index-CTvnWMBo.js} +1 -1
  64. package/dist/{index-BJtXFuWZ.js → index-CyV4FzjL.js} +7 -8
  65. package/dist/{index-DeBuj-lE.js → index-DH8JxxWE.js} +1 -1
  66. package/dist/index-DTish3yr.js +1014 -0
  67. package/dist/{index-CPAph-rb.js → index-Dj6xjKNe.js} +4 -4
  68. package/dist/{index-DD4yqUTK.js → index-Dj8Fq1Is.js} +78 -78
  69. package/dist/{index-N4PNqcjR.js → index-Do5M9Oqz.js} +2 -2
  70. package/dist/{index-BEianCH_.js → index-l2ai1CkK.js} +349 -374
  71. package/dist/{index.es-DGhokHli.js → index.es-BomDku8R.js} +1 -1
  72. package/dist/{index.es-BkvYD6Tp.js → index.es-S0nIwG4h.js} +3244 -3032
  73. package/dist/index.es.js +1 -1
  74. package/dist/{info-o_cb8tTT.js → info-BpeJHMEs.js} +1 -1
  75. package/dist/{info-circle-BweemjWa.js → info-circle-BUF8iHNx.js} +1 -1
  76. package/dist/{lightbulb-CIREQKfQ.js → lightbulb-CAM_CmYZ.js} +1 -1
  77. package/dist/{mail-D7pla8qN.js → mail-DS9LYByW.js} +1 -1
  78. package/dist/{mobile-BfSFqXTR.js → mobile-BjyXwTPW.js} +1 -1
  79. package/dist/{more-Cm2OZt-4.js → more-GbR0Z_nH.js} +1 -1
  80. package/dist/{network-placeholder-cja_SKEh.js → network-placeholder-C0gjFAYv.js} +1 -1
  81. package/dist/{nftPlaceholder-CPMGC0YA.js → nftPlaceholder-ChQjBZdh.js} +1 -1
  82. package/dist/{off-2ov8-cMg.js → off-CICf6kT3.js} +1 -1
  83. package/dist/{play-store-K7jF5Tx9.js → play-store-TvZlQHyy.js} +1 -1
  84. package/dist/{plus-D2hT5Tke.js → plus-Bcv4f5bB.js} +1 -1
  85. package/dist/{qr-code-DdAcFtyy.js → qr-code-DTM2asI9.js} +1 -1
  86. package/dist/{recycle-horizontal-C_hgDyOE.js → recycle-horizontal-C7ljDdu9.js} +1 -1
  87. package/dist/{refresh-DmHZ_uHs.js → refresh-4hpNXY_X.js} +1 -1
  88. package/dist/{reown-logo-C7Ew_uaV.js → reown-logo-WcqQ1qtz.js} +1 -1
  89. package/dist/{search-DIQ1nJd8.js → search-D1BXY1T6.js} +1 -1
  90. package/dist/{send-oPtL6xIE.js → send-Dbeb2AZp.js} +1 -1
  91. package/dist/{swapHorizontal-Csk-Etan.js → swapHorizontal-CPMloADn.js} +1 -1
  92. package/dist/{swapHorizontalBold-BcWknhY6.js → swapHorizontalBold-lSBAmfLj.js} +1 -1
  93. package/dist/{swapHorizontalMedium-DmNmthd2.js → swapHorizontalMedium-B-ht2H4D.js} +1 -1
  94. package/dist/{swapHorizontalRoundedBold-Cqili0jK.js → swapHorizontalRoundedBold-oCc2hdVi.js} +1 -1
  95. package/dist/{swapVertical-CmQhV1BW.js → swapVertical-CjPe5T2G.js} +1 -1
  96. package/dist/{telegram-8VqDFrbM.js → telegram-C5VkSyCC.js} +1 -1
  97. package/dist/{three-dots-54YC22RW.js → three-dots-u0Cjx-GT.js} +1 -1
  98. package/dist/{twitch-BG66DH8z.js → twitch-DD-hvh8H.js} +1 -1
  99. package/dist/{twitterIcon-B3TRjKnO.js → twitterIcon-YeVld2yw.js} +1 -1
  100. package/dist/{unsupportedProp-DxJPUr4X.js → unsupportedProp-BXjtFRgh.js} +1 -1
  101. package/dist/useRegisterError-C6xjmaOv.js +8812 -0
  102. package/dist/{verify-Cxrk9OZf.js → verify-CoE81YuX.js} +1 -1
  103. package/dist/{verify-filled-DTYh5fHd.js → verify-filled-tqbHCJm9.js} +1 -1
  104. package/dist/{w3m-modal-BtzAU8Rd.js → w3m-modal-Dp_FRyqT.js} +2 -2
  105. package/dist/{wallet-CqHzy9UL.js → wallet-EeOCXGZN.js} +1 -1
  106. package/dist/{wallet-placeholder-DUpL8Wi-.js → wallet-placeholder-WF2OpB4W.js} +1 -1
  107. package/dist/{walletconnect-CMShOjhI.js → walletconnect-BnLVtxLX.js} +1 -1
  108. package/dist/{warning-circle-C-6BUTdg.js → warning-circle-BB_SHFVd.js} +1 -1
  109. package/dist/widget.css +1 -1
  110. package/dist/{x-Bs3i9yGj.js → x-WBv03BZC.js} +1 -1
  111. package/package.json +2 -6
  112. package/dist/EstGas-BeT31S57.js +0 -13644
  113. package/dist/TxnButton-tr4Dz_jE.js +0 -223
  114. package/dist/getCosmosAddress-nYlLagxO.js +0 -8398
  115. package/dist/index-DQ-upUtl.js +0 -85050
  116. package/dist/index-eC9_VgZe.js +0 -3183
  117. package/dist/useRegisterError-RP3LuUvG.js +0 -8913
@@ -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, aV as St, m as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-DQ-upUtl.js";
3
+ import { p as J, P as i, aD as St, m as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-B8z6fxJo.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-RP3LuUvG.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-C6xjmaOv.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-DQ-upUtl.js";
2
+ import { u as n, S as W } from "./index-B8z6fxJo.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-RP3LuUvG.js";
4
+ import { u as j, i as I, W as D, F, f as p, c as u, z as R } from "./useRegisterError-C6xjmaOv.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-BEianCH_.js";
7
+ import { c as B, r as G } from "./index-l2ai1CkK.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-DQ-upUtl.js";
3
+ import { u as r, S as o, l as we } from "./index-B8z6fxJo.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-B0DJRPMS.js";
7
+ import { S as re } from "./down-cjFo92gr.js";
8
8
  import { e as se } from "./ethertousd-CC_ezooz.js";
9
- import { O as H } from "./index-CxxmgFkL.js";
10
- import { F as J, i as ae } from "./useRegisterError-RP3LuUvG.js";
9
+ import { O as H } from "./index-CTvnWMBo.js";
10
+ import { F as J, i as ae } from "./useRegisterError-C6xjmaOv.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-DQ-upUtl.js";
3
+ import { u as g } from "./index-B8z6fxJo.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-DQ-upUtl.js";
2
+ import { u as a } from "./index-B8z6fxJo.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-DQ-upUtl.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-B8z6fxJo.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-DOn6L3co.js";
3
+ import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-C_P537x-.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, E as A, G as _o, w as No } from "./useRegisterError-RP3LuUvG.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-C6xjmaOv.js";
6
6
  function Lo(r) {
7
7
  return To("MuiTooltip", r);
8
8
  }
@@ -194,10 +194,10 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
194
194
  children: U,
195
195
  components: O = {},
196
196
  componentsProps: h = {},
197
- describeChild: Ge = !1,
198
- disableFocusListener: Ye = !1,
197
+ describeChild: Ye = !1,
198
+ disableFocusListener: qe = !1,
199
199
  disableHoverListener: he = !1,
200
- disableInteractive: qe = !1,
200
+ disableInteractive: Ge = !1,
201
201
  disableTouchListener: Ke = !1,
202
202
  enterDelay: be = 100,
203
203
  enterNextDelay: ge = 0,
@@ -219,7 +219,7 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
219
219
  TransitionProps: eo
220
220
  } = S, Re = vo(S, $o), c = /* @__PURE__ */ p.isValidElement(U) ? U : /* @__PURE__ */ j("span", {
221
221
  children: U
222
- }), Ce = xo(), oo = wo(), [l, xe] = p.useState(), [z, to] = p.useState(null), M = p.useRef(!1), H = qe || W, Oe = I(), G = I(), _ = I(), Ee = I(), [ro, Me] = Ro({
222
+ }), Ce = xo(), oo = wo(), [l, xe] = p.useState(), [z, to] = p.useState(null), M = p.useRef(!1), H = Ge || W, Oe = I(), Y = I(), _ = I(), Ee = I(), [ro, Me] = Ro({
223
223
  controlled: Pe,
224
224
  default: !1,
225
225
  name: "Tooltip",
@@ -234,7 +234,7 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
234
234
  l && l.disabled && !o && m !== "" && l.tagName.toLowerCase();
235
235
  }, [m, l, o]);
236
236
  }
237
- const Y = Co(Je), T = p.useRef(), N = Ue(() => {
237
+ const q = Co(Je), T = p.useRef(), N = Ue(() => {
238
238
  T.current !== void 0 && (document.body.style.WebkitUserSelect = T.current, T.current = void 0), Ee.clear();
239
239
  });
240
240
  p.useEffect(() => N, [N]);
@@ -252,11 +252,11 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
252
252
  });
253
253
  }
254
254
  ), $ = (o) => {
255
- M.current && o.type !== "touchstart" || (l && l.removeAttribute("title"), G.clear(), _.clear(), be || F && ge ? G.start(F ? ge : be, () => {
255
+ M.current && o.type !== "touchstart" || (l && l.removeAttribute("title"), Y.clear(), _.clear(), be || F && ge ? Y.start(F ? ge : be, () => {
256
256
  _e(o);
257
257
  }) : _e(o));
258
- }, q = (o) => {
259
- G.clear(), _.start(Te, () => {
258
+ }, G = (o) => {
259
+ Y.clear(), _.start(Te, () => {
260
260
  L(o);
261
261
  });
262
262
  }, {
@@ -265,7 +265,7 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
265
265
  onFocus: so,
266
266
  ref: po
267
267
  } = Oo(), [, Le] = p.useState(!1), $e = (o) => {
268
- no(o), Ne.current === !1 && (Le(!1), q(o));
268
+ no(o), Ne.current === !1 && (Le(!1), G(o));
269
269
  }, De = (o) => {
270
270
  l || xe(o.currentTarget), so(o), Ne.current === !0 && (Le(!0), $(o));
271
271
  }, je = (o) => {
@@ -300,7 +300,7 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
300
300
  y: o.clientY
301
301
  }, K.current && K.current.update();
302
302
  }, y = {}, X = typeof m == "string";
303
- Ge ? (y.title = !u && X && !he ? m : null, y["aria-describedby"] = u ? Y : null) : (y["aria-label"] = X ? m : null, y["aria-labelledby"] = u && !X ? Y : null);
303
+ Ye ? (y.title = !u && X && !he ? m : null, y["aria-describedby"] = u ? q : null) : (y["aria-label"] = X ? m : null, y["aria-labelledby"] = u && !X ? q : null);
304
304
  const a = n({}, y, Re, c.props, {
305
305
  className: D(Re.className, c.props.className),
306
306
  onTouchStart: je,
@@ -312,7 +312,7 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
312
312
  l && l.getAttribute("data-mui-internal-clone-element");
313
313
  }, [l]));
314
314
  const v = {};
315
- Ke || (a.onTouchStart = io, a.onTouchEnd = lo), he || (a.onMouseOver = k($, a.onMouseOver), a.onMouseLeave = k(q, a.onMouseLeave), H || (v.onMouseOver = $, v.onMouseLeave = q)), Ye || (a.onFocus = k(De, a.onFocus), a.onBlur = k($e, a.onBlur), H || (v.onFocus = De, v.onBlur = $e)), B.env.NODE_ENV !== "production" && c.props.title;
315
+ Ke || (a.onTouchStart = io, a.onTouchEnd = lo), he || (a.onMouseOver = k($, a.onMouseOver), a.onMouseLeave = k(G, a.onMouseLeave), H || (v.onMouseOver = $, v.onMouseLeave = G)), qe || (a.onFocus = k(De, a.onFocus), a.onBlur = k($e, a.onBlur), H || (v.onFocus = De, v.onBlur = $e)), B.env.NODE_ENV !== "production" && c.props.title;
316
316
  const uo = p.useMemo(() => {
317
317
  var o;
318
318
  let i = [{
@@ -356,7 +356,7 @@ const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
356
356
  } : l,
357
357
  popperRef: K,
358
358
  open: l ? u : !1,
359
- id: Y,
359
+ id: q,
360
360
  transition: !0
361
361
  }, v, mo, {
362
362
  popperOptions: uo,
@@ -0,0 +1,212 @@
1
+ import { jsx as N } from "react/jsx-runtime";
2
+ import { useState as q, useEffect as P } from "react";
3
+ import { useSwitchNetwork as je, useDynamicContext as Ae, useIsLoggedIn as ze } from "@dynamic-labs/sdk-react-core";
4
+ import { a as we, u as m, az as ve, aA as Me } from "./index-B8z6fxJo.js";
5
+ import { s as f } from "./WidgetForm.module-QHJ0-m5f.js";
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-C6xjmaOv.js";
8
+ import "./getCosmosAddress-CsDRewn8.js";
9
+ import { v as Qe } from "./validError-CDlJpg_f.js";
10
+ import { u as He, p as Je } from "./index-l2ai1CkK.js";
11
+ function Ke(n) {
12
+ const { wallet: g, address: y } = we(), [E, S] = q(0);
13
+ async function T() {
14
+ const A = await window.tronWeb.trx.getBalance(y);
15
+ S(A / Math.pow(10, 6));
16
+ }
17
+ return P(() => {
18
+ y && (n == null ? void 0 : n.networkType) === "tron" && T();
19
+ }, [y, n == null ? void 0 : n.networkType]), { tronBal: E };
20
+ }
21
+ function j(n) {
22
+ if (n.key.toLowerCase() === "backpacksol")
23
+ return !0;
24
+ }
25
+ function nt({ routesData: n, routes: g, amount: y, isAmountTyped: E, handleShowWallet: S, setConnectWalletField: T, handleConfirmClose: A, balanceSol: F, getCoinBalance: be, handleSuccess: ue }) {
26
+ var Y, Z, W, k, D, C, ee, te, se, re, ce, ne, ie;
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({
28
+ chainData: e
29
+ }), { connected: Q, address: H, disconnect: Ue } = we(), z = m((s) => s.toDisconnect), d = m((s) => s.customWallet), { getWallet: he } = ae({ chainData: e }), Ie = xe(e, r), [v, 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 = ve(), { switchChain: Xe, switchChainAsync: fe, isPending: Be } = Ve({
30
+ chainId: Number((e == null ? void 0 : e.chainId) || "0"),
31
+ config: pe,
32
+ throwForSwitchChainNotSupported: !0,
33
+ onError(s) {
34
+ Qe(s.message) && Te({ module: "wallet-error-switch", error: s.message });
35
+ }
36
+ }), x = qe({
37
+ address: _,
38
+ token: "",
39
+ chainId: Number((e == null ? void 0 : e.chainId) || 0),
40
+ enabled: (e == null ? void 0 : e.networkType) == "evm"
41
+ }), K = _e(be || 0, 11), [a, l] = q({
42
+ text: "",
43
+ isGradient: !1,
44
+ color: "bw-bg-border-primary"
45
+ });
46
+ async function Ge() {
47
+ if ((e == null ? void 0 : e.networkType) === "evm" && Number((e == null ? void 0 : e.chainId) || "0") !== (I == null ? void 0 : I.id))
48
+ try {
49
+ await fe({ chainId: Number((e == null ? void 0 : e.chainId) || "0") });
50
+ } catch {
51
+ }
52
+ else if ((e == null ? void 0 : e.networkType) === "sol" && v !== ((e == null ? void 0 : e.chainId) == "eclipse-svm" ? "201" : "101"))
53
+ try {
54
+ let s = await ge({ wallet: b, network: e.chainId == "eclipse-svm" ? "201" : "101" });
55
+ U();
56
+ } catch {
57
+ }
58
+ else
59
+ Ne.emit(Me.TransactionStarted, {
60
+ ...n
61
+ }), B && (ue(!1), A());
62
+ }
63
+ const { primaryWallet: b } = Ae(), V = ze(), 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 () => {
64
+ if (b)
65
+ try {
66
+ const s = await b.getNetwork();
67
+ me(s);
68
+ } catch {
69
+ }
70
+ else
71
+ return;
72
+ };
73
+ P(() => {
74
+ U();
75
+ }, [b]);
76
+ function X(s, u) {
77
+ let p = s / Math.pow(10, u);
78
+ return p < 1e-6 ? p.toFixed(20) : p;
79
+ }
80
+ function Se() {
81
+ var s;
82
+ return Number(((s = x == null ? void 0 : x.data) == null ? void 0 : s.formatted) || 0);
83
+ }
84
+ function $e(s) {
85
+ var u;
86
+ return Number(((u = J[Je(s.address)]) == null ? void 0 : u.amount) || 0) / Math.pow(10, s.decimals);
87
+ }
88
+ function Ee() {
89
+ var $;
90
+ let s = {};
91
+ function u(t, c) {
92
+ let G = Object.keys(s);
93
+ 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 += X(c.amountInToken, t == null ? void 0 : t.decimals)) : s[t == null ? void 0 : t.chainId] = {
94
+ amountInToken: c.amountInToken,
95
+ gas: X(c.amountInToken, t == null ? void 0 : t.decimals),
96
+ token: t,
97
+ nativeBal: (d == null ? void 0 : d.length) > 30 && !z && (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" ? F : (t == null ? void 0 : t.networkType) == "tron" ? M : (t == null ? void 0 : t.networkType) == "cosmos" ? $e(t) : Se(),
98
+ isFromChain: (e == null ? void 0 : e.chainId) === (t == null ? void 0 : t.chainId.toString()),
99
+ 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 : G.length > 2 ? 3 : 2
100
+ };
101
+ }
102
+ ($ = n == null ? void 0 : n.fee) == null || $.forEach((t) => {
103
+ const { token: c } = t;
104
+ t.source.toLowerCase() == "from_source_wallet" && u(c, t);
105
+ });
106
+ let p = K;
107
+ if (Number(y) > Number(p))
108
+ l({
109
+ text: `Insufficient Balance ${i.coin || ""}`,
110
+ isGradient: !1,
111
+ color: "bw-bg-border-primary"
112
+ });
113
+ else if ((x != null && x.isLoading || x.isFetching) && (e == null ? void 0 : e.networkType) === "evm" || (typeof F > "u" || F === null) && (e == null ? void 0 : e.networkType) === "sol" || !M && (e == null ? void 0 : e.networkType) === "tron")
114
+ l({
115
+ text: "Fetching Balance..",
116
+ isGradient: !1,
117
+ color: "bw-bg-border-primary"
118
+ });
119
+ else {
120
+ let t = Object.values(s).sort((c, G) => c.order - G.order);
121
+ t.some((c) => {
122
+ var G, de, le;
123
+ return c != null && c.isFromChain && Number(y) <= Number(p) && Number(c.nativeBal) - Number(y) < c.gas && (i != null && i.isNative) || Number(y) <= Number(p) && Number(c.nativeBal) < c.gas && !(i != null && i.isNative) && (c != null && c.isFromChain) ? (l({
124
+ text: `Insufficient ${((G = c == null ? void 0 : c.token) == null ? void 0 : G.symbol) || ""} for gas on ${c.token.blockchain}`,
125
+ isGradient: !1,
126
+ color: "bw-bg-border-primary"
127
+ }), !0) : c.nativeBal < c.gas && !((d == null ? void 0 : d.length) > 30 && ((de = c == null ? void 0 : c.token) == null ? void 0 : de.chainId) == (r == null ? void 0 : r.chainId)) ? (l({
128
+ text: `Insufficient ${((le = c == null ? void 0 : c.token) == null ? void 0 : le.symbol) || ""} for gas on ${c.token.blockchain}`,
129
+ isGradient: !1,
130
+ color: "bw-bg-border-primary"
131
+ }), !0) : (l({
132
+ text: "",
133
+ isGradient: !0,
134
+ color: o || f.gradientbutton
135
+ }), !0);
136
+ }), t.length == 0 && (n != null && n.gasless || (n == null ? void 0 : n.provider) == "meson") && l({
137
+ text: "",
138
+ isGradient: !0,
139
+ color: o || f.gradientbutton
140
+ });
141
+ }
142
+ }
143
+ P(() => {
144
+ var s, u, p;
145
+ !i.coin.length || !(w != null && w.coin.length) ? l({
146
+ text: "Select Token",
147
+ isGradient: !0,
148
+ color: o || f.gradientbutton
149
+ }) : B ? typeof y < "u" && Number(y || 0) <= 0 ? l({
150
+ text: "Enter Amount",
151
+ isGradient: !1,
152
+ color: "bw-bg-border-primary"
153
+ }) : g.isFetching || !E ? l({
154
+ text: "Loading Routes...",
155
+ isGradient: !1,
156
+ color: "bw-bg-border-primary"
157
+ }) : e.chainId === "eclipse-svm" && !j(b) ? l({
158
+ text: `Select ${e.name} wallet`,
159
+ isGradient: !0,
160
+ color: o || f.gradientbutton
161
+ }) : r.chainId === "eclipse-svm" && e.chainId !== "eclipse-svm" && !j(b) && d.length < 30 ? l({
162
+ text: "Enter recipient wallet address",
163
+ isGradient: !0,
164
+ color: o || f.gradientbutton
165
+ }) : (i == null ? void 0 : i.address) == (w == null ? void 0 : w.address) && (e == null ? void 0 : e.chainId) == (r == null ? void 0 : r.chainId) && !(d != null && d.length) || (e == null ? void 0 : e.networkType) == "evm" && _ === d && (i == null ? void 0 : i.address) == (w == null ? void 0 : w.address) || (e == null ? void 0 : e.networkType) == "sol" && (b == null ? void 0 : b.address) === d && (i == null ? void 0 : i.address) == (w == null ? void 0 : w.address) ? l({
166
+ text: "From and To asset can not be the same!",
167
+ isGradient: !1,
168
+ color: "bw-bg-border-primary"
169
+ }) : (p = (u = (s = g == null ? void 0 : g.data) == null ? void 0 : s.data) == null ? void 0 : u.quotes) != null && p.length ? g != null && g.error ? l({
170
+ text: "Failed to fetch Quotes",
171
+ isGradient: !1,
172
+ color: "bw-bg-border-primary"
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") !== v && (e == null ? void 0 : e.networkType) === "sol" ? l({
174
+ text: `Switch Chain to ${e.chain}`,
175
+ isGradient: !0,
176
+ color: o || f.gradientbutton
177
+ }) : Ee() : l({
178
+ text: "No Routes Found",
179
+ isGradient: !1,
180
+ color: "bw-bg-border-primary"
181
+ }) : l({
182
+ text: "",
183
+ isGradient: !0,
184
+ color: o || f.gradientbutton
185
+ });
186
+ }, [v, 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]);
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"];
188
+ function Le() {
189
+ var s, u, p, $;
190
+ return B ? g.isFetching ? !0 : a.text.length ? !Fe.includes((s = a.text) == null ? void 0 : s.toLowerCase()) : !(($ = (p = (u = g.data) == null ? void 0 : u.data) == null ? void 0 : p.quotes) != null && $.length) : !1;
191
+ }
192
+ return /* @__PURE__ */ N(
193
+ "button",
194
+ {
195
+ disabled: Le(),
196
+ style: a != null && a.isGradient && O && R ? {
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)"
199
+ } : {
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)"
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"}`,
203
+ onClick: () => {
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) && !z ? 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 || z ? 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();
205
+ },
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" }) }) }) })
207
+ }
208
+ );
209
+ }
210
+ export {
211
+ nt as default
212
+ };
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DMrbUYAd.js";
1
+ import { m as l } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as a } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as a } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as l } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as o } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as C } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as e } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as l } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as o } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as e } from "./core-rNskXQmO.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-DMrbUYAd.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-DD4yqUTK.js";
3
- import { m as Wn } from "./index-DQ-upUtl.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-rNskXQmO.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-Dj8Fq1Is.js";
3
+ import { m as Wn } from "./index-B8z6fxJo.js";
4
4
  const Sn = D`
5
5
  :host {
6
6
  position: relative;
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-DMrbUYAd.js";
1
+ import { m as l } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as C } from "./core-rNskXQmO.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 { ag as L, ah as b, ai as F, aj as N, ak as P, al as w, am as S, an as E, ao as $, ap as C, aq as I, ar as m, as as G, at as A, au as R, av as y, aw as O, ax as q, ay as T, az as v, aA as D, aB as k, aC as H } from "./index-DQ-upUtl.js";
1
+ import { ac as L, ad as b, ae as F, af as N, ag as P, ah as w, ai as S, aj as E, ak as $, al as C, am as I, an as m, ao as G, ap as R, aq as k, ar as y, as as O, at as q, au as T, av as v, aw as D, ax as A, ay as H } from "./index-B8z6fxJo.js";
2
2
  const h = "/docs/contract/encodeErrorResult";
3
3
  function x(t) {
4
4
  const { abi: s, errorName: a, args: r } = t;
@@ -45,8 +45,8 @@ function j(t) {
45
45
  })();
46
46
  return w(e.outputs, c);
47
47
  }
48
- const B = "x-batch-gateway:true";
49
- async function U(t) {
48
+ const U = "x-batch-gateway:true";
49
+ async function B(t) {
50
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 {
@@ -71,14 +71,14 @@ function _(t) {
71
71
  args: ["shortMessage" in t ? t.shortMessage : t.message]
72
72
  });
73
73
  }
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 });
74
+ function J(t, 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
- class J extends y {
81
+ class W extends y {
82
82
  constructor({ callbackSelector: s, cause: a, data: r, extraData: e, sender: c, urls: n }) {
83
83
  var o;
84
84
  super(a.shortMessage || "An error occurred while fetching for an offchain result.", {
@@ -100,7 +100,7 @@ class J extends y {
100
100
  });
101
101
  }
102
102
  }
103
- class W extends y {
103
+ class z extends y {
104
104
  constructor({ result: s, url: a }) {
105
105
  super("Offchain gateway response is malformed. Response data must be a hex value.", {
106
106
  metaMessages: [
@@ -154,9 +154,9 @@ async function Z(t, { blockNumber: s, blockTag: a, data: r, to: e }) {
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
- if (!z(e, n))
157
+ if (!J(e, n))
158
158
  throw new K({ sender: n, to: e });
159
- const l = o.includes(B) ? await U({
159
+ const l = o.includes(U) ? await B({
160
160
  data: u,
161
161
  ccipRequest: g
162
162
  }) : await g({ data: u, sender: n, urls: o }), { data: M } = await v(t, {
@@ -170,7 +170,7 @@ async function Z(t, { blockNumber: s, blockTag: a, data: r, to: e }) {
170
170
  });
171
171
  return M;
172
172
  } catch (l) {
173
- throw new J({
173
+ throw new W({
174
174
  callbackSelector: f,
175
175
  cause: l,
176
176
  data: r,
@@ -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,
@@ -203,7 +203,7 @@ async function V({ data: t, sender: s, urls: a }) {
203
203
  continue;
204
204
  }
205
205
  if (!H(i)) {
206
- r = new W({
206
+ r = new z({
207
207
  result: i,
208
208
  url: n
209
209
  });
@@ -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-DMrbUYAd.js";
1
+ import { m as e } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as e } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as o } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as e } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as l } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as l } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as t } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as C } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as l } from "./core-rNskXQmO.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-DMrbUYAd.js";
1
+ import { m as l } from "./core-rNskXQmO.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"