@blockend/widget 1.0.33 → 1.0.34

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 (112) hide show
  1. package/dist/{AllRoutes-B04uZfaa.js → AllRoutes-DW-2t6-d.js} +25 -25
  2. package/dist/{Box-BWDJCGbI.js → Box-C4X6PUtu.js} +22 -23
  3. package/dist/{EstGas-QSPrdq3Y.js → EstGas-Lj2vKAmO.js} +8 -8
  4. package/dist/{Grow-37t11tle.js → Grow-CCS_DglL.js} +78 -78
  5. package/dist/{InputComp-bKVjlcbT.js → InputComp-FIX0Q9qG.js} +13 -14
  6. package/dist/{LoadRoute-C3vokLk0.js → LoadRoute-Di4rBHfs.js} +6 -7
  7. package/dist/{QuotesProgress-DlgLQ2zo.js → QuotesProgress-CDe2mdH1.js} +1 -1
  8. package/dist/{SwapAsset-tD6wSJDD.js → SwapAsset-B0GIHqge.js} +1 -1
  9. package/dist/{Tooltip-BqYgFn1F.js → Tooltip-CsLgOKrX.js} +62 -62
  10. package/dist/{TxnButton-DefErcCE.js → TxnButton-CFquc6ws.js} +17 -17
  11. package/dist/{add-D32G_xKI.js → add-Cb5Hpxtd.js} +1 -1
  12. package/dist/{all-wallets-LjjqiTnJ.js → all-wallets-IvJFyonp.js} +1 -1
  13. package/dist/{app-store-S7C23kTz.js → app-store-DGHaTAGg.js} +1 -1
  14. package/dist/{apple-DMd4RArz.js → apple-BzfrhDcG.js} +1 -1
  15. package/dist/{arrow-bottom-C0cVMl2n.js → arrow-bottom-BTM5yMbs.js} +1 -1
  16. package/dist/{arrow-bottom-circle-veMvHYVR.js → arrow-bottom-circle-wJZrQ1UB.js} +1 -1
  17. package/dist/{arrow-left-B6VdOxSY.js → arrow-left-yb9jvZLF.js} +1 -1
  18. package/dist/{arrow-right-CyrokJyU.js → arrow-right-CNq-seAV.js} +1 -1
  19. package/dist/{arrow-top-S8qh5z92.js → arrow-top-viS3mMCD.js} +1 -1
  20. package/dist/{bank-B9ySjxm-.js → bank-BCcggibH.js} +1 -1
  21. package/dist/{basic-BXha5sM_.js → basic-DaTq2wkc.js} +3 -3
  22. package/dist/{browser-CWmyZDF1.js → browser-CmA0GPLB.js} +1 -1
  23. package/dist/{card-TzoSVbiE.js → card-BO4I6Psi.js} +1 -1
  24. package/dist/{ccip-B97isPV8.js → ccip-CkXLKCYn.js} +20 -20
  25. package/dist/{checkmark-Be4tNZY8.js → checkmark-DF8VoFaX.js} +1 -1
  26. package/dist/{checkmark-bold-sAoooMoy.js → checkmark-bold-C6OPR-mV.js} +1 -1
  27. package/dist/{chevron-bottom-Cdd52Yir.js → chevron-bottom-BTjaTIFm.js} +1 -1
  28. package/dist/{chevron-left-Dp8rM2qD.js → chevron-left-D6wphcsV.js} +1 -1
  29. package/dist/{chevron-right-kH3Pgt8h.js → chevron-right-Ba05aF4G.js} +1 -1
  30. package/dist/{chevron-top-lx-9iWm1.js → chevron-top-I_q0NhsC.js} +1 -1
  31. package/dist/{chrome-store-BGxPgdkC.js → chrome-store-DvzERGX1.js} +1 -1
  32. package/dist/{clock-B3r9UiFY.js → clock-GIv_XdGS.js} +1 -1
  33. package/dist/{close-Cc6SJ0A9.js → close-ChDp2HIX.js} +1 -1
  34. package/dist/{coinPlaceholder-DqH2n2v1.js → coinPlaceholder-D6rBGR5B.js} +1 -1
  35. package/dist/{compass-CiKYczAi.js → compass-DFCkTDdC.js} +1 -1
  36. package/dist/{copy-DR0dlbF5.js → copy-DyQCksHx.js} +1 -1
  37. package/dist/{core-D9oRINim.js → core-BnRPnZUj.js} +3 -3
  38. package/dist/{cursor-vv-pXAzC.js → cursor-BhR8wfWc.js} +1 -1
  39. package/dist/{cursor-transparent-BABlb938.js → cursor-transparent-CYfTh9TG.js} +1 -1
  40. package/dist/{desktop-aFWdAU4O.js → desktop-CdNR2WGz.js} +1 -1
  41. package/dist/{disconnect-Cz0MwjuJ.js → disconnect-Bbfhuf4x.js} +1 -1
  42. package/dist/{discord-BkNiORDh.js → discord-04uw628s.js} +1 -1
  43. package/dist/{down-BAe_uoMx.js → down-DmSxEW66.js} +2 -2
  44. package/dist/{etherscan-4wT3rhj5.js → etherscan-D7Ga60vG.js} +1 -1
  45. package/dist/{exclamation-triangle-CSv7sjYs.js → exclamation-triangle-CMEJoc37.js} +1 -1
  46. package/dist/{extension-B4acJb16.js → extension-C0IOh4C8.js} +1 -1
  47. package/dist/{external-link-zFdRyGh8.js → external-link-CEy2KY-H.js} +1 -1
  48. package/dist/{facebook-D2h4REjy.js → facebook-XHE6-OiD.js} +1 -1
  49. package/dist/{farcaster-acRwWMSn.js → farcaster-BVsAZpup.js} +1 -1
  50. package/dist/{filters-DE1yHCJy.js → filters-BjuqhDXY.js} +1 -1
  51. package/dist/{getChainIds-B4BLdhKd.js → getChainIds-cRV7v4Vu.js} +75 -75
  52. package/dist/{getCosmosAddress-BfMdDDaH.js → getCosmosAddress-Cm0YEa9v.js} +2 -2
  53. package/dist/{github-BrCBPjDS.js → github-C5YGtlqc.js} +1 -1
  54. package/dist/{google-DYC6Um96.js → google-DFDexaN0.js} +1 -1
  55. package/dist/{hamburger-sg42nvNd.js → hamburger-CZPNB-Jp.js} +20 -20
  56. package/dist/{help-circle-CKvIeM4J.js → help-circle-C2OFxIs0.js} +1 -1
  57. package/dist/{id-FXzF1V3L.js → id-CforGy9u.js} +1 -1
  58. package/dist/{image-rOZMtN9o.js → image-BLq9nQ13.js} +1 -1
  59. package/dist/{index-CIjTGwYH.js → index-BRrWKwgI.js} +1 -1
  60. package/dist/{index-B0E-rGOh.js → index-Bw4t164c.js} +45 -45
  61. package/dist/{index-PIAjHNgG.js → index-ByWf22Y4.js} +43 -43
  62. package/dist/{index-DSlXIHtr.js → index-C6pDnqRd.js} +11887 -10132
  63. package/dist/{index-Y94UWILI.js → index-Cx-XaRo6.js} +123 -123
  64. package/dist/{index-SiMIoFT9.js → index-D7-VO30b.js} +22 -23
  65. package/dist/{index-B5gV3APh.js → index-DKPTk58K.js} +78 -78
  66. package/dist/{index-baetUfmH.js → index-DrWi5MDR.js} +4 -4
  67. package/dist/{index-Cmj3dp3U.js → index-EuXqE26M.js} +53 -54
  68. package/dist/{index-DEovHqJS.js → index-HOk_h4cO.js} +14 -14
  69. package/dist/{index-DOcwHfd3.js → index-sSdagBAC.js} +93 -93
  70. package/dist/{index.es-TLoHC_Sf.js → index.es-B1r2oZcy.js} +2 -2
  71. package/dist/{index.es-D6RvS0tB.js → index.es-DP4lrxUS.js} +5 -5
  72. package/dist/index.es.js +1 -1
  73. package/dist/{info-dh7qmm_R.js → info-CJ1NTOxH.js} +1 -1
  74. package/dist/{info-circle-BYfEprqC.js → info-circle-Daj7vZoR.js} +1 -1
  75. package/dist/{lightbulb-3S8w5B31.js → lightbulb-BLkY2HTh.js} +1 -1
  76. package/dist/{mail-DgcPoOPs.js → mail-CAKz4cbl.js} +1 -1
  77. package/dist/{mobile-C8egRR0V.js → mobile-BopKRCBe.js} +1 -1
  78. package/dist/{more-CU_oPwwY.js → more-X_2v_wZ3.js} +1 -1
  79. package/dist/{network-placeholder-CqjaxlS7.js → network-placeholder-C1OcyWkc.js} +1 -1
  80. package/dist/{nftPlaceholder-D6mZlZmz.js → nftPlaceholder-B3ZKQ1U2.js} +1 -1
  81. package/dist/{off-DHeUICx6.js → off-OZ4tqosO.js} +1 -1
  82. package/dist/{play-store-DyGxjYv5.js → play-store-HsWGEr_g.js} +1 -1
  83. package/dist/{plus-k4hEdLAH.js → plus-C7yRM6wl.js} +1 -1
  84. package/dist/{qr-code-CkavLc0Z.js → qr-code-DfWVQYKi.js} +1 -1
  85. package/dist/{recycle-horizontal-YzkyX2fY.js → recycle-horizontal-C5u6LBUM.js} +1 -1
  86. package/dist/{refresh-E1vpdqCO.js → refresh-BYw1HzOO.js} +1 -1
  87. package/dist/{reown-logo-BZbc_-R6.js → reown-logo-CXMihtcp.js} +1 -1
  88. package/dist/{search-B9vQkIsQ.js → search-ByiAQZVh.js} +1 -1
  89. package/dist/{send-C9ROxhya.js → send-Bs5FwLBZ.js} +1 -1
  90. package/dist/shareicon-CG3v7iKI.js +10 -0
  91. package/dist/{swapHorizontal-BhLDDuiL.js → swapHorizontal-B7d_h2Se.js} +1 -1
  92. package/dist/{swapHorizontalBold-B1IxJLem.js → swapHorizontalBold-xBnEd6a1.js} +1 -1
  93. package/dist/{swapHorizontalMedium--fvn_6KH.js → swapHorizontalMedium-aLC75TbM.js} +1 -1
  94. package/dist/{swapHorizontalRoundedBold-fZowAp5m.js → swapHorizontalRoundedBold-D1ph5kGS.js} +1 -1
  95. package/dist/{swapVertical-CDwndQ4s.js → swapVertical-DtfbArUn.js} +1 -1
  96. package/dist/{telegram-BLbguJ3E.js → telegram-0Il36fMk.js} +1 -1
  97. package/dist/{three-dots-DyIG0Aiq.js → three-dots-wNW622nV.js} +1 -1
  98. package/dist/{twitch-054mPrps.js → twitch-Dt1-Wtif.js} +1 -1
  99. package/dist/{twitterIcon-DrlgKmas.js → twitterIcon-CpSpHPYu.js} +1 -1
  100. package/dist/{unsupportedProp-Dr6Tadlk.js → unsupportedProp-DBVCAgxp.js} +1 -1
  101. package/dist/{useRegisterError-C52MuupC.js → useRegisterError-Cs0PKbRQ.js} +3257 -4302
  102. package/dist/{verify-uz7q7EMX.js → verify-BFIm6NMn.js} +1 -1
  103. package/dist/{verify-filled-Dw1_4VEj.js → verify-filled-bGZT7egL.js} +1 -1
  104. package/dist/{w3m-modal-CJM8um8G.js → w3m-modal-C6VaThR4.js} +2 -2
  105. package/dist/{wallet-a9cCMI05.js → wallet-BeQcPBdd.js} +1 -1
  106. package/dist/{wallet-placeholder-Cqiz2_rA.js → wallet-placeholder-CCGVvv4Q.js} +1 -1
  107. package/dist/{walletconnect-96twp7MP.js → walletconnect-BnSO61ut.js} +1 -1
  108. package/dist/{warning-circle-C4mV6fIZ.js → warning-circle-D80fIuKG.js} +1 -1
  109. package/dist/widget.css +1 -1
  110. package/dist/{x-vRe7FHUS.js → x-4jy71myv.js} +1 -1
  111. package/package.json +1 -1
  112. package/dist/shareicon-CLveBf8l.js +0 -262
@@ -1,7 +1,7 @@
1
1
  import { useState as us, useEffect as fs } from "react";
2
2
  import { useQuery as hi } from "@tanstack/react-query";
3
- import { u as Ur, c as di, F as xo, t as pi, v as So, w as gi, x as mi, y as yi, z as wi, A as ls, B as Fe, C as vi, D as pe, E as Bn, G as En, H as ko, I as bi, J as hs, K as _i, N as we, O as fe, Q as xi, R as On, h as Ge, S as Ao, U as Ln, V as st, W as ds, X as Mo, Y as Si } from "./index-DSlXIHtr.js";
4
- import { k as ki, u as Ai } from "./useRegisterError-C52MuupC.js";
3
+ import { u as Ur, c as di, F as xo, H as pi, I as So, J as gi, K as mi, N as yi, O as wi, Q as ls, R as Fe, U as vi, V as pe, W as Bn, X as En, Y as ko, Z as bi, $ as hs, a0 as _i, a1 as we, a2 as fe, a3 as xi, a4 as On, m as Ge, a5 as Ao, a6 as Ln, a7 as st, a8 as ds, a9 as Mo, aa as Si } from "./index-C6pDnqRd.js";
4
+ import { d as ki, u as Ai } from "./useRegisterError-Cs0PKbRQ.js";
5
5
  import { B as Vt } from "./index-DTish3yr.js";
6
6
  function of({ enabled: s, dependency: e, payload: t }) {
7
7
  const [r, o] = us(""), [n, c] = us({});
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-D9oRINim.js";
1
+ import { m as l } from "./core-BnRPnZUj.js";
2
2
  const c = 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 l } from "./core-D9oRINim.js";
1
+ import { m as l } from "./core-BnRPnZUj.js";
2
2
  const o = l`<svg fill="none" viewBox="0 0 40 40">
3
3
  <path
4
4
  fill="#4285F4"
@@ -1,17 +1,17 @@
1
- import { n as Qo, p as S, P as e, g as de, _ as q, b as s, e as ho, T as en, o as on, d as Se, q as So, s as to } from "./index-DSlXIHtr.js";
1
+ import { y as Qo, G as en, p as S, P as e, g as de, b as ce, i as be, _ as q, d as s, s as j, e as ue, h as pe, j as ho, T as on, z as nn, f as Se, A as So, B as to, r as Ce, C as tn } from "./index-C6pDnqRd.js";
2
2
  import * as a from "react";
3
- import { G as nn, g as ce, d as be, o as tn, s as j, c as ue, a as pe, n as Eo, h as ke, q as rn, e as ze, p as eo, b as Ee, r as Ce, t as Be, v as Ue, H as oo, w as sn, x as an } from "./useRegisterError-C52MuupC.js";
4
- import { d as No, c as ln, r as ro } from "./index-SiMIoFT9.js";
5
- import { G as un, b as dn, u as go, a as cn } from "./Grow-37t11tle.js";
3
+ import { d as Eo, c as rn, r as ro } from "./index-D7-VO30b.js";
4
+ import { G as sn, b as an, u as go, a as ln } from "./Grow-CCS_DglL.js";
6
5
  import { jsx as T, jsxs as Oe } from "react/jsx-runtime";
7
- import { o as He, e as Mo, c as pn, M as fn } from "./getChainIds-B4BLdhKd.js";
6
+ import { j as un, h as No, b as ke, l as dn, a as ze, k as eo, r as Ee, o as Be, m as Ue, H as oo, n as cn } from "./useRegisterError-Cs0PKbRQ.js";
7
+ import { o as He, e as Mo, c as pn, M as fn } from "./getChainIds-cRV7v4Vu.js";
8
8
  function $o({
9
9
  styles: o,
10
10
  themeId: n,
11
11
  defaultTheme: t = {}
12
12
  }) {
13
13
  const r = Qo(t), i = typeof o == "function" ? o(n && r[n] || r) : o;
14
- return /* @__PURE__ */ T(nn, {
14
+ return /* @__PURE__ */ T(en, {
15
15
  styles: i
16
16
  });
17
17
  }
@@ -127,7 +127,7 @@ const vn = ["className", "component", "elevation", "square", "variant"], yn = (o
127
127
  square: c,
128
128
  variant: h
129
129
  }), R = yn(g);
130
- return S.env.NODE_ENV !== "production" && tn().shadows[p], /* @__PURE__ */ T(On, s({
130
+ return S.env.NODE_ENV !== "production" && un().shadows[p], /* @__PURE__ */ T(On, s({
131
131
  as: d,
132
132
  ownerState: g,
133
133
  className: ue(R.root, i),
@@ -161,7 +161,7 @@ S.env.NODE_ENV !== "production" && (jo.propTypes = {
161
161
  * It accepts values between 0 and 24 inclusive.
162
162
  * @default 1
163
163
  */
164
- elevation: Eo(Do, (o) => {
164
+ elevation: No(Do, (o) => {
165
165
  const {
166
166
  elevation: n,
167
167
  variant: t
@@ -241,7 +241,7 @@ const Lo = /* @__PURE__ */ a.forwardRef(function(n, t) {
241
241
  outerHeightStyle: B,
242
242
  overflowing: G
243
243
  };
244
- }, [i, d, n.placeholder]), k = rn(() => {
244
+ }, [i, d, n.placeholder]), k = dn(() => {
245
245
  const u = g.current, l = E();
246
246
  if (!u || !l || yo(l))
247
247
  return !1;
@@ -255,7 +255,7 @@ const Lo = /* @__PURE__ */ a.forwardRef(function(n, t) {
255
255
  y.current !== v && (y.current = v, u.style.height = `${v}px`), u.style.overflow = l.overflowing ? "hidden" : "";
256
256
  }, [E]), m = a.useRef(-1);
257
257
  ze(() => {
258
- const u = No(I), l = g == null ? void 0 : g.current;
258
+ const u = Eo(I), l = g == null ? void 0 : g.current;
259
259
  if (!l)
260
260
  return;
261
261
  const v = He(l);
@@ -343,8 +343,8 @@ function ao() {
343
343
  }
344
344
  function _o(o) {
345
345
  return /* @__PURE__ */ T($o, s({}, o, {
346
- defaultTheme: on,
347
- themeId: en
346
+ defaultTheme: nn,
347
+ themeId: on
348
348
  }));
349
349
  }
350
350
  S.env.NODE_ENV !== "production" && (_o.propTypes = {
@@ -949,7 +949,7 @@ const ye = s({}, $e, ce("MuiOutlinedInput", ["root", "notchedOutline", "input"])
949
949
  function Nn(o) {
950
950
  return de("MuiFilledInput", o);
951
951
  }
952
- const Ie = s({}, $e, ce("MuiFilledInput", ["root", "underline", "input"])), Mn = ln(/* @__PURE__ */ T("path", {
952
+ const Ie = s({}, $e, ce("MuiFilledInput", ["root", "underline", "input"])), Mn = rn(/* @__PURE__ */ T("path", {
953
953
  d: "M7 10l5 5 5-5z"
954
954
  }), "ArrowDropDown"), $n = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"], kn = (o) => {
955
955
  const {
@@ -1992,7 +1992,7 @@ const Xn = (o) => {
1992
1992
  vertical: "top",
1993
1993
  horizontal: "left"
1994
1994
  },
1995
- TransitionComponent: b = un,
1995
+ TransitionComponent: b = sn,
1996
1996
  transitionDuration: w = "auto",
1997
1997
  TransitionProps: {
1998
1998
  onEntering: L
@@ -2078,7 +2078,7 @@ const Xn = (o) => {
2078
2078
  } : null, [m, J]), a.useEffect(() => {
2079
2079
  if (!m)
2080
2080
  return;
2081
- const F = No(() => {
2081
+ const F = Eo(() => {
2082
2082
  J();
2083
2083
  }), _ = He(h);
2084
2084
  return _.addEventListener("resize", F), () => {
@@ -2151,7 +2151,7 @@ S.env.NODE_ENV !== "production" && (Ho.propTypes = {
2151
2151
  * or a function that returns either.
2152
2152
  * It's used to set the position of the popover.
2153
2153
  */
2154
- anchorEl: Eo(e.oneOfType([oo, e.func]), (o) => {
2154
+ anchorEl: No(e.oneOfType([oo, e.func]), (o) => {
2155
2155
  if (o.open && (!o.anchorReference || o.anchorReference === "anchorEl")) {
2156
2156
  const n = Ve(o.anchorEl);
2157
2157
  if (n && n.nodeType === 1) {
@@ -2377,7 +2377,7 @@ const Jn = ["onEntering"], Qn = ["autoFocus", "children", "className", "disableA
2377
2377
  variant: m = "selectedMenu",
2378
2378
  slots: x = {},
2379
2379
  slotProps: u = {}
2380
- } = d, l = q(d.TransitionProps, Jn), v = q(d, Qn), b = dn(), w = s({}, d, {
2380
+ } = d, l = q(d.TransitionProps, Jn), v = q(d, Qn), b = an(), w = s({}, d, {
2381
2381
  autoFocus: p,
2382
2382
  disableAutoFocusItem: O,
2383
2383
  MenuListProps: g,
@@ -3230,7 +3230,7 @@ const Ot = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
3230
3230
  return [n.icon, t.variant && n[`icon${Se(t.variant)}`], t.open && n.iconOpen];
3231
3231
  }
3232
3232
  })(Go), Pt = j("input", {
3233
- shouldForwardProp: (o) => sn(o) && o !== "classes",
3233
+ shouldForwardProp: (o) => tn(o) && o !== "classes",
3234
3234
  name: "MuiSelect",
3235
3235
  slot: "NativeInput",
3236
3236
  overridesResolver: (o, n) => n.nativeInput
@@ -3425,7 +3425,7 @@ const xt = (o) => {
3425
3425
  value: P,
3426
3426
  open: fe,
3427
3427
  error: E
3428
- }), Ze = xt(we), Je = s({}, x.PaperProps, (r = x.slotProps) == null ? void 0 : r.paper), mo = cn();
3428
+ }), Ze = xt(we), Je = s({}, x.PaperProps, (r = x.slotProps) == null ? void 0 : r.paper), mo = ln();
3429
3429
  return /* @__PURE__ */ Oe(a.Fragment, {
3430
3430
  children: [/* @__PURE__ */ T(Ct, s({
3431
3431
  ref: ge,
@@ -3699,7 +3699,7 @@ const wt = ["autoWidth", "children", "classes", "className", "defaultOpen", "dis
3699
3699
  filled: /* @__PURE__ */ T(Mt, {
3700
3700
  ownerState: G
3701
3701
  })
3702
- }[B], P = ke(t, an(X));
3702
+ }[B], P = ke(t, cn(X));
3703
3703
  return /* @__PURE__ */ T(a.Fragment, {
3704
3704
  children: /* @__PURE__ */ a.cloneElement(X, s({
3705
3705
  // Most of the logic is implemented in `SelectInput`.
@@ -1,4 +1,4 @@
1
- import { m as l } from "./core-D9oRINim.js";
1
+ import { m as l } from "./core-BnRPnZUj.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 c } from "./core-D9oRINim.js";
1
+ import { m as c } from "./core-BnRPnZUj.js";
2
2
  const v = c`<svg
3
3
  xmlns="http://www.w3.org/2000/svg"
4
4
  width="28"
@@ -1,4 +1,4 @@
1
- import { m as C } from "./core-D9oRINim.js";
1
+ import { m as C } from "./core-BnRPnZUj.js";
2
2
  const l = C`<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
3
3
  <path d="M4.98926 3.73932C4.2989 3.73932 3.73926 4.29896 3.73926 4.98932C3.73926 5.67968 4.2989 6.23932 4.98926 6.23932C5.67962 6.23932 6.23926 5.67968 6.23926 4.98932C6.23926 4.29896 5.67962 3.73932 4.98926 3.73932Z" fill="currentColor"/>
4
4
  <path fill-rule="evenodd" clip-rule="evenodd" d="M7.60497 0.500001H6.39504C5.41068 0.499977 4.59185 0.499958 3.93178 0.571471C3.24075 0.64634 2.60613 0.809093 2.04581 1.21619C1.72745 1.44749 1.44749 1.72745 1.21619 2.04581C0.809093 2.60613 0.64634 3.24075 0.571471 3.93178C0.499958 4.59185 0.499977 5.41065 0.500001 6.39501V7.57815C0.499998 8.37476 0.499995 9.05726 0.534869 9.62725C0.570123 10.2034 0.644114 10.7419 0.828442 11.2302C0.925651 11.4877 1.05235 11.7287 1.21619 11.9542C1.44749 12.2726 1.72745 12.5525 2.04581 12.7838C2.60613 13.1909 3.24075 13.3537 3.93178 13.4285C4.59185 13.5001 5.41066 13.5 6.39503 13.5H7.60496C8.58933 13.5 9.40815 13.5001 10.0682 13.4285C10.7593 13.3537 11.3939 13.1909 11.9542 12.7838C12.2726 12.5525 12.5525 12.2726 12.7838 11.9542C13.1909 11.3939 13.3537 10.7593 13.4285 10.0682C13.5 9.40816 13.5 8.58935 13.5 7.60497V6.39505C13.5 5.41068 13.5 4.59185 13.4285 3.93178C13.3537 3.24075 13.1909 2.60613 12.7838 2.04581C12.5525 1.72745 12.2726 1.44749 11.9542 1.21619C11.3939 0.809093 10.7593 0.64634 10.0682 0.571471C9.40816 0.499958 8.58933 0.499977 7.60497 0.500001ZM3.22138 2.83422C3.38394 2.71612 3.62634 2.61627 4.14721 2.55984C4.68679 2.50138 5.39655 2.5 6.45 2.5H7.55C8.60345 2.5 9.31322 2.50138 9.8528 2.55984C10.3737 2.61627 10.6161 2.71612 10.7786 2.83422C10.9272 2.94216 11.0578 3.07281 11.1658 3.22138C11.2839 3.38394 11.3837 3.62634 11.4402 4.14721C11.4986 4.68679 11.5 5.39655 11.5 6.45V6.49703C10.9674 6.11617 10.386 5.84936 9.74213 5.81948C8.40536 5.75745 7.3556 6.73051 6.40509 7.84229C6.33236 7.92737 6.27406 7.98735 6.22971 8.02911L6.1919 8.00514L6.17483 7.99427C6.09523 7.94353 5.98115 7.87083 5.85596 7.80302C5.56887 7.64752 5.18012 7.4921 4.68105 7.4921C4.66697 7.4921 4.6529 7.49239 4.63884 7.49299C3.79163 7.52878 3.09922 8.1106 2.62901 8.55472C2.58751 8.59392 2.54594 8.6339 2.50435 8.6745C2.50011 8.34653 2.5 7.97569 2.5 7.55V6.45C2.5 5.39655 2.50138 4.68679 2.55984 4.14721C2.61627 3.62634 2.71612 3.38394 2.83422 3.22138C2.94216 3.07281 3.07281 2.94216 3.22138 2.83422ZM10.3703 8.14825C10.6798 8.37526 11.043 8.71839 11.4832 9.20889C11.4744 9.44992 11.4608 9.662 11.4402 9.8528C11.3837 10.3737 11.2839 10.6161 11.1658 10.7786C11.0578 10.9272 10.9272 11.0578 10.7786 11.1658C10.6161 11.2839 10.3737 11.3837 9.8528 11.4402C9.31322 11.4986 8.60345 11.5 7.55 11.5H6.45C5.39655 11.5 4.68679 11.4986 4.14721 11.4402C3.62634 11.3837 3.38394 11.2839 3.22138 11.1658C3.15484 11.1174 3.0919 11.0645 3.03298 11.0075C3.10126 10.9356 3.16806 10.8649 3.23317 10.7959L3.29772 10.7276C3.55763 10.4525 3.78639 10.2126 4.00232 10.0087C4.22016 9.80294 4.39412 9.66364 4.53524 9.57742C4.63352 9.51738 4.69022 9.49897 4.71275 9.49345C4.76387 9.49804 4.81803 9.51537 4.90343 9.56162C4.96409 9.59447 5.02355 9.63225 5.11802 9.69238L5.12363 9.69595C5.20522 9.74789 5.32771 9.82587 5.46078 9.89278C5.76529 10.0459 6.21427 10.186 6.74977 10.0158C7.21485 9.86796 7.59367 9.52979 7.92525 9.14195C8.91377 7.98571 9.38267 7.80495 9.64941 7.81733C9.7858 7.82366 10.0101 7.884 10.3703 8.14825Z" fill="currentColor"/>
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import "react";
3
- import { F as m } from "./useRegisterError-C52MuupC.js";
3
+ import { F as m } from "./useRegisterError-Cs0PKbRQ.js";
4
4
  function n({ value: t, decimal: o }) {
5
5
  return t.length ? /* @__PURE__ */ r(m, { value: t, options: { maxDecimals: o } }) : t;
6
6
  }
@@ -1,15 +1,15 @@
1
- import { jsxs as n, jsx as s, Fragment as F } from "react/jsx-runtime";
2
- import { T as se, a as ae, H as oe, b as Y, c as ne, E as ie, d as ce } from "./EstGas-QSPrdq3Y.js";
3
- import { useState as q, useEffect as H } from "react";
4
- import { k as we, i as be } from "./useRegisterError-C52MuupC.js";
5
- import { u as c, l as ee, c as Z } from "./index-DSlXIHtr.js";
1
+ import { jsxs as n, jsx as s, Fragment as X } from "react/jsx-runtime";
2
+ import { T as se, a as ae, H as oe, b as Y, c as ne, E as ie, d as ce } from "./EstGas-Lj2vKAmO.js";
3
+ import { useState as q, useEffect as F } from "react";
4
+ import { d as we, i as be } from "./useRegisterError-Cs0PKbRQ.js";
5
+ import { u as c, l as ee, c as Z, E as ue } from "./index-C6pDnqRd.js";
6
6
  import { useQuery as _ } from "@tanstack/react-query";
7
- import "./down-BAe_uoMx.js";
7
+ import "./down-DmSxEW66.js";
8
8
  import "wagmi";
9
9
  import "@dynamic-labs/sdk-react-core";
10
- import "./getCosmosAddress-BfMdDDaH.js";
11
- function ue({ details: k }) {
12
- var T, N, I, w, d, p, E, b, u, j, t;
10
+ import "./getCosmosAddress-Cm0YEa9v.js";
11
+ function le({ details: k }) {
12
+ var T, N, I, w, d, p, E, b, u, D, t;
13
13
  const a = {
14
14
  route: {
15
15
  ...k
@@ -44,7 +44,7 @@ function ue({ details: k }) {
44
44
  " ",
45
45
  (E = a == null ? void 0 : a.route) == null ? void 0 : E.protocolsUsed[0],
46
46
  ((u = (b = a == null ? void 0 : a.route) == null ? void 0 : b.protocolsUsed) == null ? void 0 : u.length) <= 1 ? "" : /* @__PURE__ */ n("span", { className: "bw-ml-1 bw-text-xs bw-font-normal bw-leading-6", children: [
47
- `+${((t = (j = a == null ? void 0 : a.route) == null ? void 0 : j.protocolsUsed) == null ? void 0 : t.length) - 1}`,
47
+ `+${((t = (D = a == null ? void 0 : a.route) == null ? void 0 : D.protocolsUsed) == null ? void 0 : t.length) - 1}`,
48
48
  " More"
49
49
  ] }),
50
50
  " "
@@ -53,47 +53,47 @@ function ue({ details: k }) {
53
53
  ] })
54
54
  ] });
55
55
  }
56
- const le = () => {
57
- var A, R, U;
56
+ const me = () => {
57
+ var z, A, R;
58
58
  const k = c((r) => r.setRoute), a = c((r) => r.txnDetails), [m, T] = q(!1), [N, I] = q(!1), [w, d] = q(!1), [p, E] = q({}), b = c((r) => r.setPersist), u = c((r) => r.persist);
59
59
  we();
60
- const { txnupdate: j } = be, t = _({
60
+ const { txnupdate: D } = be, t = _({
61
61
  queryKey: ["txnDetails", a == null ? void 0 : a.routeId],
62
62
  queryFn: async () => await (await Z.fetchTxnDetails(a == null ? void 0 : a.routeId)).json(),
63
63
  refetchOnWindowFocus: !1
64
64
  });
65
- H(() => {
66
- var r, h, x, y, S, g, v, C, l, B, M, O, K, W, G, L, Q, $, J, V, X;
65
+ F(() => {
66
+ var r, h, x, y, S, g, v, j, l, U, B, M, O, K, W, $, G, L, Q, J, V;
67
67
  if (t.data) {
68
68
  let e = t.data;
69
69
  e.status == "error";
70
- let D = [];
70
+ let C = [];
71
71
  ((r = e == null ? void 0 : e.data) == null ? void 0 : r.currentStepStatus) === "success" ? (x = (h = e == null ? void 0 : e.data) == null ? void 0 : h.steps) == null || x.forEach((i) => {
72
- D.push({ type: "preText" });
72
+ C.push({ type: "preText" });
73
73
  }) : ((y = e == null ? void 0 : e.data) == null ? void 0 : y.currentStepStatus) === "failed" && (d(!0), (g = (S = e == null ? void 0 : e.data) == null ? void 0 : S.steps) == null || g.forEach((i) => {
74
- (i == null ? void 0 : i.status) === "success" ? D.push({ type: "preText" }) : (i == null ? void 0 : i.status) === "failed" && D.push({ type: "failed" });
74
+ (i == null ? void 0 : i.status) === "success" ? C.push({ type: "preText" }) : (i == null ? void 0 : i.status) === "failed" && C.push({ type: "failed" });
75
75
  })), b({
76
76
  ...(v = c.getState()) == null ? void 0 : v.persist,
77
- stepData: (l = e == null ? void 0 : e.data) == null ? void 0 : l.steps[(C = e == null ? void 0 : e.data) == null ? void 0 : C.currentStepIndex],
78
- routeId: (B = e == null ? void 0 : e.data) == null ? void 0 : B.routeId,
77
+ stepData: (l = e == null ? void 0 : e.data) == null ? void 0 : l.steps[(j = e == null ? void 0 : e.data) == null ? void 0 : j.currentStepIndex],
78
+ routeId: (U = e == null ? void 0 : e.data) == null ? void 0 : U.routeId,
79
79
  allSteps: {
80
- steps: (M = e == null ? void 0 : e.data) == null ? void 0 : M.steps,
81
- currentStep: ((O = e == null ? void 0 : e.data) == null ? void 0 : O.currentStepStatus) === "success" ? ((K = e == null ? void 0 : e.data) == null ? void 0 : K.currentStepIndex) + 1 : (W = e == null ? void 0 : e.data) == null ? void 0 : W.currentStepIndex,
80
+ steps: (B = e == null ? void 0 : e.data) == null ? void 0 : B.steps,
81
+ currentStep: ((M = e == null ? void 0 : e.data) == null ? void 0 : M.currentStepStatus) === "success" ? ((O = e == null ? void 0 : e.data) == null ? void 0 : O.currentStepIndex) + 1 : (K = e == null ? void 0 : e.data) == null ? void 0 : K.currentStepIndex,
82
82
  type: "preText"
83
83
  },
84
- stepStatus: D,
84
+ stepStatus: C,
85
85
  statusData: {
86
- status: (G = e == null ? void 0 : e.data) == null ? void 0 : G.currentStepStatus
86
+ status: (W = e == null ? void 0 : e.data) == null ? void 0 : W.currentStepStatus
87
87
  },
88
88
  historyData: e == null ? void 0 : e.data,
89
- fromCoin: (L = e == null ? void 0 : e.data) == null ? void 0 : L.from,
90
- toCoin: (Q = e == null ? void 0 : e.data) == null ? void 0 : Q.to,
89
+ fromCoin: ($ = e == null ? void 0 : e.data) == null ? void 0 : $.from,
90
+ toCoin: (G = e == null ? void 0 : e.data) == null ? void 0 : G.to,
91
91
  route: e == null ? void 0 : e.data,
92
92
  isHistory: !0,
93
- hash: (($ = e == null ? void 0 : e.data) == null ? void 0 : $.currentStepStatus) == "in-progress" ? (X = (V = e == null ? void 0 : e.data) == null ? void 0 : V.steps[(J = e == null ? void 0 : e.data) == null ? void 0 : J.currentStepIndex]) == null ? void 0 : X.srcTxnHash : null
93
+ hash: ((L = e == null ? void 0 : e.data) == null ? void 0 : L.currentStepStatus) == "in-progress" ? (V = (J = e == null ? void 0 : e.data) == null ? void 0 : J.steps[(Q = e == null ? void 0 : e.data) == null ? void 0 : Q.currentStepIndex]) == null ? void 0 : V.srcTxnHash : null
94
94
  });
95
95
  }
96
- }, [t.data]), H(() => {
96
+ }, [t.data]), F(() => {
97
97
  if (t.error) {
98
98
  let r = t.error;
99
99
  r.details || r.message;
@@ -105,10 +105,10 @@ const le = () => {
105
105
  refetchOnWindowFocus: !1,
106
106
  enabled: t.isSuccess
107
107
  });
108
- H(() => {
108
+ F(() => {
109
109
  var r, h, x, y, S, g, v;
110
110
  if (f.data) {
111
- let C = f.data, l = { ...ee.keyBy(C.data, "chainId") };
111
+ let j = f.data, l = { ...ee.keyBy(j.data, "chainId") };
112
112
  E(l), b({
113
113
  ...(r = c.getState()) == null ? void 0 : r.persist,
114
114
  fromChain: l[(y = (x = (h = t == null ? void 0 : t.data) == null ? void 0 : h.data) == null ? void 0 : x.from) == null ? void 0 : y.chainId],
@@ -116,44 +116,44 @@ const le = () => {
116
116
  });
117
117
  }
118
118
  }, [f.data, t.data]);
119
- function P() {
119
+ function H() {
120
120
  k("history"), b({});
121
121
  }
122
- let o = ((A = t == null ? void 0 : t.data) == null ? void 0 : A.data) || {};
122
+ let o = ((z = t == null ? void 0 : t.data) == null ? void 0 : z.data) || {};
123
123
  function te(r) {
124
124
  T(r);
125
125
  }
126
126
  function re(r) {
127
127
  d(r);
128
128
  }
129
- function z(r) {
129
+ function P(r) {
130
130
  I(r);
131
131
  }
132
- return /* @__PURE__ */ s(se.Provider, { value: { isTxnSuccessful: m, handleTxnSuccess: te }, children: /* @__PURE__ */ s(ae.Provider, { value: { isErrorMessage: w, handleErrorMessage: re }, children: /* @__PURE__ */ s("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: t.isSuccess ? /* @__PURE__ */ n(F, { children: [
133
- /* @__PURE__ */ s(oe, { handleBack: P }),
134
- /* @__PURE__ */ s("div", { className: "bw-mt-[-20px]", children: /* @__PURE__ */ s(ue, { details: o }) }),
132
+ return /* @__PURE__ */ s(se.Provider, { value: { isTxnSuccessful: m, handleTxnSuccess: te }, children: /* @__PURE__ */ s(ae.Provider, { value: { isErrorMessage: w, handleErrorMessage: re }, children: /* @__PURE__ */ s("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: t.isSuccess ? /* @__PURE__ */ n(X, { children: [
133
+ /* @__PURE__ */ s(oe, { handleBack: H }),
134
+ /* @__PURE__ */ s("div", { className: "bw-mt-[-20px]", children: /* @__PURE__ */ s(le, { details: o }) }),
135
135
  /* @__PURE__ */ s("div", { className: "bw-flex bw-justify-between bw-items-center" }),
136
136
  /* @__PURE__ */ n("div", { className: "bw-flex bw-mt-4 bw-w-full bw-justify-between bw-items-center", children: [
137
137
  /* @__PURE__ */ n("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
138
138
  /* @__PURE__ */ s("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Send" }),
139
- /* @__PURE__ */ s(Y, { amount: o.inputAmountDisplay, coinData: o.from, chainData: p[(R = o == null ? void 0 : o.from) == null ? void 0 : R.chainId] || {}, field: "from" })
139
+ /* @__PURE__ */ s(Y, { amount: o.inputAmountDisplay, coinData: o.from, chainData: p[(A = o == null ? void 0 : o.from) == null ? void 0 : A.chainId] || {}, field: "from" })
140
140
  ] }),
141
- w ? /* @__PURE__ */ s("div", { className: "bw-border bw-mt-5 bw-w-[65px] bw-h-[65px] bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-card bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ", children: /* @__PURE__ */ s("img", { src: j, width: 33, height: 30, alt: "img" }) }) : /* @__PURE__ */ s(ne, { isTimerStarted: (u == null ? void 0 : u.isTimerStarted) || N, startTimer: z, error: w }),
141
+ w ? /* @__PURE__ */ s("div", { className: "bw-border bw-mt-5 bw-w-[65px] bw-h-[65px] bw-flex bw-items-center bw-justify-center bw-rounded-[50%] bw-bg-background-card bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ", children: /* @__PURE__ */ s("img", { src: D, width: 33, height: 30, alt: "img" }) }) : /* @__PURE__ */ s(ne, { isTimerStarted: (u == null ? void 0 : u.isTimerStarted) || N, startTimer: P, error: w }),
142
142
  /* @__PURE__ */ s("div", { className: "bw-w-full bw-z-0 md:bw-w-full bw-mt-5 bw-absolute bw-h-[1px] bw-bg-border-primary " }),
143
143
  /* @__PURE__ */ n("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
144
144
  /* @__PURE__ */ s("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Receive" }),
145
- /* @__PURE__ */ s(Y, { amount: o.outputAmountDisplay, coinData: o.to, chainData: p[(U = o == null ? void 0 : o.to) == null ? void 0 : U.chainId] || {}, field: "to" })
145
+ /* @__PURE__ */ s(Y, { amount: o.outputAmountDisplay, coinData: o.to, chainData: p[(R = o == null ? void 0 : o.to) == null ? void 0 : R.chainId] || {}, field: "to" })
146
146
  ] })
147
147
  ] }),
148
148
  /* @__PURE__ */ n("div", { className: "bw-h-[320px] bw-pr-1 bw-flex bw-flex-col bw-mt-8 bw-overflow-y-auto", children: [
149
- t.isLoading ? /* @__PURE__ */ s(F, {}) : /* @__PURE__ */ s(ie, {}),
150
- /* @__PURE__ */ s(ce, { amount: t == null ? void 0 : t.inputAmountDisplay, startTimer: z, handleBack: P, isHistory: !0 })
149
+ t.isLoading ? /* @__PURE__ */ s(X, {}) : /* @__PURE__ */ s(ie, {}),
150
+ /* @__PURE__ */ s(ce, { amount: t == null ? void 0 : t.inputAmountDisplay, startTimer: P, handleBack: H, isHistory: !0 })
151
151
  ] })
152
- ] }) : /* @__PURE__ */ s(F, {}) }) }) });
152
+ ] }) : /* @__PURE__ */ s(ue, {}) }) }) });
153
153
  };
154
- function Te() {
155
- return /* @__PURE__ */ s(le, {});
154
+ function Ne() {
155
+ return /* @__PURE__ */ s(me, {});
156
156
  }
157
157
  export {
158
- Te as default
158
+ Ne as default
159
159
  };