@blockend/widget 1.0.32 → 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.
- package/dist/{AllRoutes-CPwuTwqd.js → AllRoutes-DW-2t6-d.js} +25 -25
- package/dist/{Box-CIChapvH.js → Box-C4X6PUtu.js} +21 -22
- package/dist/{EstGas-CEFILtyf.js → EstGas-Lj2vKAmO.js} +26 -30
- package/dist/{Grow-DJZj9zjv.js → Grow-CCS_DglL.js} +78 -78
- package/dist/{InputComp-DqF1JGIu.js → InputComp-FIX0Q9qG.js} +13 -14
- package/dist/{LoadRoute-r3sHTYXM.js → LoadRoute-Di4rBHfs.js} +6 -7
- package/dist/{QuotesProgress-BXVLxZ8U.js → QuotesProgress-CDe2mdH1.js} +1 -1
- package/dist/{SwapAsset-07WvVwl-.js → SwapAsset-B0GIHqge.js} +1 -1
- package/dist/{Tooltip-CNAsCF8n.js → Tooltip-CsLgOKrX.js} +62 -62
- package/dist/{TxnButton-D2TTkFYA.js → TxnButton-CFquc6ws.js} +19 -19
- package/dist/{add-t2GqC9VA.js → add-Cb5Hpxtd.js} +1 -1
- package/dist/{all-wallets-DFyf0q31.js → all-wallets-IvJFyonp.js} +1 -1
- package/dist/{app-store-aAahwmBP.js → app-store-DGHaTAGg.js} +1 -1
- package/dist/{apple-DeRgpwlc.js → apple-BzfrhDcG.js} +1 -1
- package/dist/{arrow-bottom-DdEOkaAj.js → arrow-bottom-BTM5yMbs.js} +1 -1
- package/dist/{arrow-bottom-circle-BWwREWcv.js → arrow-bottom-circle-wJZrQ1UB.js} +1 -1
- package/dist/{arrow-left-CulyLmoH.js → arrow-left-yb9jvZLF.js} +1 -1
- package/dist/{arrow-right-Dwr7TISn.js → arrow-right-CNq-seAV.js} +1 -1
- package/dist/{arrow-top-pL4rM_y8.js → arrow-top-viS3mMCD.js} +1 -1
- package/dist/{bank-CPuyK_08.js → bank-BCcggibH.js} +1 -1
- package/dist/{basic-CVc9xEvb.js → basic-DaTq2wkc.js} +3 -3
- package/dist/{browser-Cbq2Zbp4.js → browser-CmA0GPLB.js} +1 -1
- package/dist/{card-B_hUtPWK.js → card-BO4I6Psi.js} +1 -1
- package/dist/{ccip-BLVGcR4A.js → ccip-CkXLKCYn.js} +20 -20
- package/dist/{checkmark-WEqTsFAc.js → checkmark-DF8VoFaX.js} +1 -1
- package/dist/{checkmark-bold-Du_ZvhqM.js → checkmark-bold-C6OPR-mV.js} +1 -1
- package/dist/{chevron-bottom-C-s-lv4L.js → chevron-bottom-BTjaTIFm.js} +1 -1
- package/dist/{chevron-left-C7NcRElx.js → chevron-left-D6wphcsV.js} +1 -1
- package/dist/{chevron-right-CSzmAmdn.js → chevron-right-Ba05aF4G.js} +1 -1
- package/dist/{chevron-top-Dd99Wfel.js → chevron-top-I_q0NhsC.js} +1 -1
- package/dist/{chrome-store-C4p77Of0.js → chrome-store-DvzERGX1.js} +1 -1
- package/dist/{clock-Cib24qjH.js → clock-GIv_XdGS.js} +1 -1
- package/dist/{close-BXjEkTvS.js → close-ChDp2HIX.js} +1 -1
- package/dist/{coinPlaceholder-BFNC7cQN.js → coinPlaceholder-D6rBGR5B.js} +1 -1
- package/dist/{compass-CXPX5Ycp.js → compass-DFCkTDdC.js} +1 -1
- package/dist/{copy-BEawMbmF.js → copy-DyQCksHx.js} +1 -1
- package/dist/{core-Bez9Ow7F.js → core-BnRPnZUj.js} +3 -3
- package/dist/{cursor-Cxq4Q9jk.js → cursor-BhR8wfWc.js} +1 -1
- package/dist/{cursor-transparent-ZjJ0P2vr.js → cursor-transparent-CYfTh9TG.js} +1 -1
- package/dist/{desktop-BhZVovAp.js → desktop-CdNR2WGz.js} +1 -1
- package/dist/{disconnect-AC-bffZO.js → disconnect-Bbfhuf4x.js} +1 -1
- package/dist/{discord-dT97h-CC.js → discord-04uw628s.js} +1 -1
- package/dist/{down-DP56YSKp.js → down-DmSxEW66.js} +2 -2
- package/dist/{etherscan-rYFRhRTM.js → etherscan-D7Ga60vG.js} +1 -1
- package/dist/{exclamation-triangle-C-pCuC08.js → exclamation-triangle-CMEJoc37.js} +1 -1
- package/dist/{extension-BnqauLSn.js → extension-C0IOh4C8.js} +1 -1
- package/dist/{external-link-M9D6e_F3.js → external-link-CEy2KY-H.js} +1 -1
- package/dist/{facebook-DHezcoD-.js → facebook-XHE6-OiD.js} +1 -1
- package/dist/{farcaster-D0Ky-Imv.js → farcaster-BVsAZpup.js} +1 -1
- package/dist/{filters-B02NYLWq.js → filters-BjuqhDXY.js} +1 -1
- package/dist/{getChainIds-CJd2TZYT.js → getChainIds-cRV7v4Vu.js} +75 -75
- package/dist/{getCosmosAddress-DTZfw04G.js → getCosmosAddress-Cm0YEa9v.js} +2 -2
- package/dist/{github-BzQkIMuE.js → github-C5YGtlqc.js} +1 -1
- package/dist/{google-BpwCJ4Fs.js → google-DFDexaN0.js} +1 -1
- package/dist/{hamburger-BzqwkUjE.js → hamburger-CZPNB-Jp.js} +20 -20
- package/dist/{help-circle-C0nOySHC.js → help-circle-C2OFxIs0.js} +1 -1
- package/dist/{id-DFP_kFd4.js → id-CforGy9u.js} +1 -1
- package/dist/{image-QiYOAGjM.js → image-BLq9nQ13.js} +1 -1
- package/dist/{index-D5hLIe-N.js → index-BRrWKwgI.js} +1 -1
- package/dist/{index-DDk00SOL.js → index-Bw4t164c.js} +45 -45
- package/dist/{index-DaJ1272l.js → index-ByWf22Y4.js} +43 -43
- package/dist/index-C6pDnqRd.js +30456 -0
- package/dist/{index-DXdD3L9f.js → index-Cx-XaRo6.js} +243 -243
- package/dist/{index-CrC4B7xn.js → index-D7-VO30b.js} +22 -23
- package/dist/{index-DxPp2gBS.js → index-DKPTk58K.js} +78 -78
- package/dist/{index-CjtwASJt.js → index-DrWi5MDR.js} +4 -4
- package/dist/{index-DW3W7zaF.js → index-EuXqE26M.js} +53 -54
- package/dist/{index-Dy_n2MPD.js → index-HOk_h4cO.js} +14 -14
- package/dist/{index-oc8HPfOF.js → index-sSdagBAC.js} +93 -93
- package/dist/{index.es-C-j-Ghef.js → index.es-B1r2oZcy.js} +2 -2
- package/dist/{index.es-Bsr7zP98.js → index.es-DP4lrxUS.js} +5 -5
- package/dist/index.es.js +1 -1
- package/dist/{info-BTLQJ-wd.js → info-CJ1NTOxH.js} +1 -1
- package/dist/{info-circle-Dla9169_.js → info-circle-Daj7vZoR.js} +1 -1
- package/dist/{lightbulb-PN8DA_Wh.js → lightbulb-BLkY2HTh.js} +1 -1
- package/dist/{mail-BGYZut_4.js → mail-CAKz4cbl.js} +1 -1
- package/dist/{mobile-BM760ZzX.js → mobile-BopKRCBe.js} +1 -1
- package/dist/{more-rHGnl2ck.js → more-X_2v_wZ3.js} +1 -1
- package/dist/{network-placeholder-CyQl-3_2.js → network-placeholder-C1OcyWkc.js} +1 -1
- package/dist/{nftPlaceholder-nuUJ8nKY.js → nftPlaceholder-B3ZKQ1U2.js} +1 -1
- package/dist/{off-GYlwYDrT.js → off-OZ4tqosO.js} +1 -1
- package/dist/{play-store-Ck01Ez1F.js → play-store-HsWGEr_g.js} +1 -1
- package/dist/{plus-CQfXWgLw.js → plus-C7yRM6wl.js} +1 -1
- package/dist/{qr-code-CyLVwLY7.js → qr-code-DfWVQYKi.js} +1 -1
- package/dist/{recycle-horizontal-DvnWPcEQ.js → recycle-horizontal-C5u6LBUM.js} +1 -1
- package/dist/{refresh-BOxj8b2n.js → refresh-BYw1HzOO.js} +1 -1
- package/dist/{reown-logo-D1iprOTg.js → reown-logo-CXMihtcp.js} +1 -1
- package/dist/{search-DrPaZPnc.js → search-ByiAQZVh.js} +1 -1
- package/dist/{send-ybBREe4b.js → send-Bs5FwLBZ.js} +1 -1
- package/dist/shareicon-CG3v7iKI.js +10 -0
- package/dist/{swapHorizontal-BddjZdXK.js → swapHorizontal-B7d_h2Se.js} +1 -1
- package/dist/{swapHorizontalBold-B6AWjPZ9.js → swapHorizontalBold-xBnEd6a1.js} +1 -1
- package/dist/{swapHorizontalMedium-CNacWoBn.js → swapHorizontalMedium-aLC75TbM.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-B8VcPnqt.js → swapHorizontalRoundedBold-D1ph5kGS.js} +1 -1
- package/dist/{swapVertical-zY2BbSyQ.js → swapVertical-DtfbArUn.js} +1 -1
- package/dist/{telegram-DS4l-8Oc.js → telegram-0Il36fMk.js} +1 -1
- package/dist/{three-dots-RctNqamK.js → three-dots-wNW622nV.js} +1 -1
- package/dist/{twitch-CJ0llIIH.js → twitch-Dt1-Wtif.js} +1 -1
- package/dist/{twitterIcon-pgvN9-bP.js → twitterIcon-CpSpHPYu.js} +1 -1
- package/dist/{unsupportedProp-BJVuEW_b.js → unsupportedProp-DBVCAgxp.js} +1 -1
- package/dist/{useRegisterError-C_YLA1dw.js → useRegisterError-Cs0PKbRQ.js} +3257 -4302
- package/dist/{verify-BeZLo1Fq.js → verify-BFIm6NMn.js} +1 -1
- package/dist/{verify-filled-meyb7E16.js → verify-filled-bGZT7egL.js} +1 -1
- package/dist/{w3m-modal-C-Jp9NVv.js → w3m-modal-C6VaThR4.js} +2 -2
- package/dist/{wallet-CFcOgSsz.js → wallet-BeQcPBdd.js} +1 -1
- package/dist/{wallet-placeholder-CeUMILZq.js → wallet-placeholder-CCGVvv4Q.js} +1 -1
- package/dist/{walletconnect-D6LB1PyC.js → walletconnect-BnSO61ut.js} +1 -1
- package/dist/{warning-circle-BRtzofvT.js → warning-circle-D80fIuKG.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-DKQAOOh3.js → x-4jy71myv.js} +1 -1
- package/package.json +7 -19
- package/dist/index-CLzkn733.js +0 -28223
- package/dist/secp256k1-DgmH1qVg.js +0 -1251
- package/dist/shareicon-D3Qj5j1T.js +0 -262
@@ -3,16 +3,16 @@ import * as v from "react";
|
|
3
3
|
import De, { useState as J, useEffect as Fe } from "react";
|
4
4
|
import { S as Pe, a as _e } from "./sortDown-CjBaDQTU.js";
|
5
5
|
import { t as B } from "./truncate-D9t92mVX.js";
|
6
|
-
import {
|
7
|
-
import { g as
|
6
|
+
import { a as kt, m as Ne, j as Ut, l as Ue, o as Rt, r as Dt, i as Ce, c as ue, f as ve } from "./useRegisterError-Cs0PKbRQ.js";
|
7
|
+
import { b as Te, g as Ie, i as Ae, _ as pe, d as k, e as oe, s as ce, f as at, h as Ee, p as Z, P as r, v as Ft, u as se } from "./index-C6pDnqRd.js";
|
8
8
|
import { S as We, C as je, G as Ve } from "./clockIcon-C2W5xvyt.js";
|
9
|
-
import { T as Pt } from "./Tooltip-
|
10
|
-
import { O as we } from "./index-
|
11
|
-
import { B as _t } from "./Box-
|
12
|
-
import { c as ct, d as it, r as At } from "./index-
|
13
|
-
import { b as dt } from "./Grow-
|
14
|
-
import { B as bt, o as ut } from "./getChainIds-
|
15
|
-
import { u as Wt } from "./unsupportedProp-
|
9
|
+
import { T as Pt } from "./Tooltip-CsLgOKrX.js";
|
10
|
+
import { O as we } from "./index-BRrWKwgI.js";
|
11
|
+
import { B as _t } from "./Box-C4X6PUtu.js";
|
12
|
+
import { c as ct, d as it, r as At } from "./index-D7-VO30b.js";
|
13
|
+
import { b as dt } from "./Grow-CCS_DglL.js";
|
14
|
+
import { B as bt, o as ut } from "./getChainIds-cRV7v4Vu.js";
|
15
|
+
import { u as Wt } from "./unsupportedProp-DBVCAgxp.js";
|
16
16
|
let be;
|
17
17
|
function wt() {
|
18
18
|
if (be)
|
@@ -34,9 +34,9 @@ function jt(o, n) {
|
|
34
34
|
}
|
35
35
|
}
|
36
36
|
function Vt(o) {
|
37
|
-
return
|
37
|
+
return Ie("MuiTab", o);
|
38
38
|
}
|
39
|
-
const le =
|
39
|
+
const le = Te("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper"]), zt = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"], Ht = (o) => {
|
40
40
|
const {
|
41
41
|
classes: n,
|
42
42
|
textColor: s,
|
@@ -50,7 +50,7 @@ const le = Ce("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
50
50
|
root: ["root", a && c && "labelIcon", `textColor${at(s)}`, i && "fullWidth", b && "wrapped", w && "selected", h && "disabled"],
|
51
51
|
iconWrapper: ["iconWrapper"]
|
52
52
|
};
|
53
|
-
return
|
53
|
+
return Ee(O, Vt, n);
|
54
54
|
}, Gt = ce(bt, {
|
55
55
|
name: "MuiTab",
|
56
56
|
slot: "Root",
|
@@ -333,15 +333,15 @@ Z.env.NODE_ENV !== "production" && (pt.propTypes = {
|
|
333
333
|
onChange: r.func.isRequired
|
334
334
|
});
|
335
335
|
function Qt(o) {
|
336
|
-
return
|
336
|
+
return Ie("MuiTabScrollButton", o);
|
337
337
|
}
|
338
|
-
const eo =
|
338
|
+
const eo = Te("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), to = ["className", "slots", "slotProps", "direction", "orientation", "disabled"], oo = (o) => {
|
339
339
|
const {
|
340
340
|
classes: n,
|
341
341
|
orientation: s,
|
342
342
|
disabled: i
|
343
343
|
} = o;
|
344
|
-
return
|
344
|
+
return Ee({
|
345
345
|
root: ["root", s, i && "disabled"]
|
346
346
|
}, Qt, n);
|
347
347
|
}, no = ce(bt, {
|
@@ -459,9 +459,9 @@ Z.env.NODE_ENV !== "production" && (ft.propTypes = {
|
|
459
459
|
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
460
460
|
});
|
461
461
|
function ro(o) {
|
462
|
-
return
|
462
|
+
return Ie("MuiTabs", o);
|
463
463
|
}
|
464
|
-
const Re =
|
464
|
+
const Re = Te("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), lo = ["aria-label", "aria-labelledby", "action", "centered", "children", "className", "component", "allowScrollButtonsMobile", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "slots", "slotProps", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant", "visibleScrollbar"], nt = (o, n) => o === n ? o.firstChild : n && n.nextElementSibling ? n.nextElementSibling : o.firstChild, rt = (o, n) => o === n ? o.lastChild : n && n.previousElementSibling ? n.previousElementSibling : o.lastChild, ge = (o, n, s) => {
|
465
465
|
let i = !1, b = s(o, n);
|
466
466
|
for (; b; ) {
|
467
467
|
if (b === o.firstChild) {
|
@@ -488,7 +488,7 @@ const Re = Ce("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
488
488
|
scrollButtonsHideMobile: w,
|
489
489
|
classes: h
|
490
490
|
} = o;
|
491
|
-
return
|
491
|
+
return Ee({
|
492
492
|
root: ["root", n && "vertical"],
|
493
493
|
scroller: ["scroller", s && "fixed", i && "hideScrollbar", b && "scrollableX", a && "scrollableY"],
|
494
494
|
flexContainer: ["flexContainer", n && "flexContainerVertical", c && "centered"],
|
@@ -1157,14 +1157,14 @@ Z.env.NODE_ENV !== "production" && (yt.propTypes = {
|
|
1157
1157
|
children: r.node
|
1158
1158
|
});
|
1159
1159
|
function fo(o) {
|
1160
|
-
return
|
1160
|
+
return Ie("MuiTabPanel", o);
|
1161
1161
|
}
|
1162
|
-
|
1162
|
+
Te("MuiTabPanel", ["root"]);
|
1163
1163
|
const xo = ["children", "className", "value"], ho = (o) => {
|
1164
1164
|
const {
|
1165
1165
|
classes: n
|
1166
1166
|
} = o;
|
1167
|
-
return
|
1167
|
+
return Ee({
|
1168
1168
|
root: ["root"]
|
1169
1169
|
}, fo, n);
|
1170
1170
|
}, mo = ce("div", {
|
@@ -1470,7 +1470,7 @@ function go({ gasImg: o, item: n, fromChain: s }) {
|
|
1470
1470
|
}
|
1471
1471
|
function vo({ routes: o, handleShowAllRoutes: n, handleRoutesData: s, convertVal: i, fromChain: b, toChain: a, sort: c }) {
|
1472
1472
|
var _, p, L;
|
1473
|
-
const w = se((t) => t.configuration), { gasnew: h, defaultCoin: O } =
|
1473
|
+
const w = se((t) => t.configuration), { gasnew: h, defaultCoin: O } = Ce, [$, F] = J({}), [I, P] = J({});
|
1474
1474
|
function U(t, x, y) {
|
1475
1475
|
var W;
|
1476
1476
|
B((t == null ? void 0 : t.minOutputAmountDisplay) * ((W = t == null ? void 0 : t.to) == null ? void 0 : W.lastPrice) || 0, 4);
|
@@ -1604,7 +1604,7 @@ function yo({ gasImg: o, item: n, fromChain: s }) {
|
|
1604
1604
|
}
|
1605
1605
|
function So({ routes: o, handleShowAllRoutes: n, handleRoutesData: s, convertVal: i, fromChain: b, sort: a, toChain: c }) {
|
1606
1606
|
var _, p, L;
|
1607
|
-
const { gasnew: w, defaultCoin: h } =
|
1607
|
+
const { gasnew: w, defaultCoin: h } = Ce, [O, $] = J({}), [F, I] = J({}), P = se((t) => t.configuration);
|
1608
1608
|
function U(t, x, y) {
|
1609
1609
|
var W, G, D;
|
1610
1610
|
let g = { amountInUSD: 0 };
|
@@ -1765,7 +1765,7 @@ function No({ gasImg: o, item: n, fromChain: s }) {
|
|
1765
1765
|
}
|
1766
1766
|
function Co({ routes: o, handleShowAllRoutes: n, handleRoutesData: s, convertVal: i, fromChain: b, sort: a, toChain: c }) {
|
1767
1767
|
var _, p, L;
|
1768
|
-
const { gasnew: w, defaultCoin: h } =
|
1768
|
+
const { gasnew: w, defaultCoin: h } = Ce, [O, $] = J({}), [F, I] = J({}), P = se((t) => t.configuration);
|
1769
1769
|
function U(t, x, y) {
|
1770
1770
|
let g = B((t.estimatedTimeInSeconds || 60) / 60, 2) || 0, S = a == "asc" ? B((x[x.length - 1].estimatedTimeInSeconds || 60) / 60, 2) || 0 : B((x[0].estimatedTimeInSeconds || 60) / 60, 2) || 0, T = a == "asc" ? B((x[0].estimatedTimeInSeconds || 60) / 60, 2) || 0 : B((x[x.length - 1].estimatedTimeInSeconds || 60) / 60, 2) || 0;
|
1771
1771
|
return y == 0 && a !== "asc" || y == x.length - 1 && a == "asc" ? {
|
@@ -2161,7 +2161,7 @@ function Bo({ fill1: o, fill2: n }) {
|
|
2161
2161
|
}
|
2162
2162
|
function zo({ routes: o, handleShowAllRoutes: n, handleRoutesData: s, convertVal: i, amount: b }) {
|
2163
2163
|
var O, $, F;
|
2164
|
-
const a = se((I) => I.fromChain), c = se((I) => I.fromCoin), w = se((I) => I.toChain), { defaultCoin: h } =
|
2164
|
+
const a = se((I) => I.fromChain), c = se((I) => I.fromCoin), w = se((I) => I.toChain), { defaultCoin: h } = Ce;
|
2165
2165
|
return /* @__PURE__ */ l("div", { children: [
|
2166
2166
|
/* @__PURE__ */ l("div", { className: "bw-flex bw-w-full bw-relative bw-justify-between bw-mb-2", children: [
|
2167
2167
|
/* @__PURE__ */ l("div", { className: "bw-flex bw-items-start bw-gap-x-3", children: [
|
@@ -1,37 +1,36 @@
|
|
1
|
-
import {
|
2
|
-
import
|
3
|
-
import
|
4
|
-
|
5
|
-
|
6
|
-
function O(c = {}) {
|
1
|
+
import { aE as i, aF as h, y as T, aB as y, _ as B, d as N, e as C, b as _, aG as b, T as P, aH as E, p as g, P as e } from "./index-C6pDnqRd.js";
|
2
|
+
import * as j from "react";
|
3
|
+
import { jsx as v } from "react/jsx-runtime";
|
4
|
+
const O = ["className", "component"];
|
5
|
+
function F(c = {}) {
|
7
6
|
const {
|
8
7
|
themeId: t,
|
9
8
|
defaultTheme: m,
|
10
9
|
defaultClassName: a = "MuiBox-root",
|
11
10
|
generateClassName: n
|
12
|
-
} = c, l =
|
11
|
+
} = c, l = i("div", {
|
13
12
|
shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
|
14
|
-
})(
|
15
|
-
return /* @__PURE__ */
|
16
|
-
const s =
|
13
|
+
})(h);
|
14
|
+
return /* @__PURE__ */ j.forwardRef(function(d, x) {
|
15
|
+
const s = T(m), r = y(d), {
|
17
16
|
className: p,
|
18
|
-
component:
|
19
|
-
} = r,
|
20
|
-
return /* @__PURE__ */
|
21
|
-
as:
|
17
|
+
component: u = "div"
|
18
|
+
} = r, f = B(r, O);
|
19
|
+
return /* @__PURE__ */ v(l, N({
|
20
|
+
as: u,
|
22
21
|
ref: x,
|
23
|
-
className:
|
22
|
+
className: C(p, n ? n(a) : a),
|
24
23
|
theme: t && s[t] || s
|
25
|
-
},
|
24
|
+
}, f));
|
26
25
|
});
|
27
26
|
}
|
28
|
-
const I =
|
29
|
-
themeId:
|
30
|
-
defaultTheme:
|
27
|
+
const I = _("MuiBox", ["root"]), M = E(), R = F({
|
28
|
+
themeId: P,
|
29
|
+
defaultTheme: M,
|
31
30
|
defaultClassName: I.root,
|
32
|
-
generateClassName:
|
31
|
+
generateClassName: b.generate
|
33
32
|
});
|
34
|
-
|
33
|
+
g.env.NODE_ENV !== "production" && (R.propTypes = {
|
35
34
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
36
35
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
37
36
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
@@ -51,5 +50,5 @@ _.env.NODE_ENV !== "production" && (S.propTypes = {
|
|
51
50
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
52
51
|
});
|
53
52
|
export {
|
54
|
-
|
53
|
+
R as B
|
55
54
|
};
|
@@ -1,22 +1,22 @@
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
2
|
-
import {
|
3
|
-
import { O as OutputValueComp } from "./index-
|
2
|
+
import { m as getDefaultExportFromCjs, u as useStore, p as process$1, a7 as bufferExports, a as useWallet, k as commonjsGlobal, l as lodashExports, S as Skeleton, az as useBlockendEvents, aA as blockendEvents, c as controllers } from "./index-C6pDnqRd.js";
|
3
|
+
import { O as OutputValueComp } from "./index-BRrWKwgI.js";
|
4
4
|
import React__default, { useState, createContext, createElement, useContext, useRef, useEffect, useMemo } from "react";
|
5
|
-
import { W as WalletIcon, C as CircularProgress, B as BackButton,
|
5
|
+
import { W as WalletIcon, C as CircularProgress, B as BackButton, L as Lottie$1, i as images, u as useWalletDetails, f as formatNumber, c as fixString, d as useRegisterError, F as FormatCryptoValue } from "./useRegisterError-Cs0PKbRQ.js";
|
6
6
|
import { useMutation, useQuery } from "@tanstack/react-query";
|
7
7
|
import { useAccount, useWalletClient, useSendTransaction, useSignTypedData, useSwitchChain } from "wagmi";
|
8
8
|
import "viem";
|
9
|
-
import { S as ShareIcon
|
10
|
-
import { T as Tooltip } from "./Tooltip-
|
11
|
-
import { L as Lottie } from "./index.es-
|
9
|
+
import { S as ShareIcon } from "./shareicon-CG3v7iKI.js";
|
10
|
+
import { T as Tooltip } from "./Tooltip-CsLgOKrX.js";
|
11
|
+
import { L as Lottie } from "./index.es-DP4lrxUS.js";
|
12
12
|
import { useDynamicContext, useSwitchNetwork } from "@dynamic-labs/sdk-react-core";
|
13
|
-
import { V as VersionedTransaction, P as PublicKey, b as buildExports, u as useRoutes, g as getCosmosAddress } from "./getCosmosAddress-
|
13
|
+
import { V as VersionedTransaction, P as PublicKey, b as buildExports, u as useRoutes, g as getCosmosAddress } from "./getCosmosAddress-Cm0YEa9v.js";
|
14
14
|
import { B as Buffer } from "./index-DTish3yr.js";
|
15
15
|
import { useCosmWasmSigningClient, useStargateSigningClient, useAccount as useAccount$1 } from "graz";
|
16
16
|
import "@cosmjs/proto-signing";
|
17
17
|
import { calculateFee, GasPrice } from "@cosmjs/stargate";
|
18
18
|
import "@cosmjs/cosmwasm-stargate";
|
19
|
-
import { l as libExports, S as Spinner, D as Down } from "./down-
|
19
|
+
import { l as libExports, S as Spinner, D as Down } from "./down-DmSxEW66.js";
|
20
20
|
import { v as validError } from "./validError-CDlJpg_f.js";
|
21
21
|
import { e as ethertousd } from "./ethertousd-CC_ezooz.js";
|
22
22
|
var eventemitter3 = { exports: {} }, hasRequiredEventemitter3;
|
@@ -268,44 +268,40 @@ function Copy({ fill: e }) {
|
|
268
268
|
/* @__PURE__ */ jsx("path", { d: "M3 1H8C9.10457 1 10 1.89543 10 3V10", stroke: e, "stroke-linecap": "round" })
|
269
269
|
] });
|
270
270
|
}
|
271
|
-
const version$5 = "6.
|
271
|
+
const version$5 = "6.13.5";
|
272
272
|
function defineProperties(e, t, a) {
|
273
273
|
for (let i in t) {
|
274
274
|
let r = t[i];
|
275
275
|
Object.defineProperty(e, i, { enumerable: !0, value: r, writable: !1 });
|
276
276
|
}
|
277
277
|
}
|
278
|
-
function stringify(e
|
278
|
+
function stringify(e) {
|
279
279
|
if (e == null)
|
280
280
|
return "null";
|
281
|
-
if (t == null && (t = /* @__PURE__ */ new Set()), typeof e == "object") {
|
282
|
-
if (t.has(e))
|
283
|
-
return "[Circular]";
|
284
|
-
t.add(e);
|
285
|
-
}
|
286
281
|
if (Array.isArray(e))
|
287
|
-
return "[ " + e.map(
|
282
|
+
return "[ " + e.map(stringify).join(", ") + " ]";
|
288
283
|
if (e instanceof Uint8Array) {
|
289
|
-
const
|
290
|
-
let
|
291
|
-
for (let
|
292
|
-
|
293
|
-
return
|
284
|
+
const t = "0123456789abcdef";
|
285
|
+
let a = "0x";
|
286
|
+
for (let i = 0; i < e.length; i++)
|
287
|
+
a += t[e[i] >> 4], a += t[e[i] & 15];
|
288
|
+
return a;
|
294
289
|
}
|
295
290
|
if (typeof e == "object" && typeof e.toJSON == "function")
|
296
|
-
return stringify(e.toJSON()
|
291
|
+
return stringify(e.toJSON());
|
297
292
|
switch (typeof e) {
|
298
293
|
case "boolean":
|
299
|
-
case "number":
|
300
294
|
case "symbol":
|
301
295
|
return e.toString();
|
302
296
|
case "bigint":
|
303
297
|
return BigInt(e).toString();
|
298
|
+
case "number":
|
299
|
+
return e.toString();
|
304
300
|
case "string":
|
305
301
|
return JSON.stringify(e);
|
306
302
|
case "object": {
|
307
|
-
const
|
308
|
-
return
|
303
|
+
const t = Object.keys(e);
|
304
|
+
return t.sort(), "{ " + t.map((a) => `${stringify(a)}: ${stringify(e[a])}`).join(", ") + " }";
|
309
305
|
}
|
310
306
|
}
|
311
307
|
return "[ COULD NOT SERIALIZE ]";
|
@@ -659,10 +655,10 @@ ${Object.entries(packageVersions).filter(([, i]) => i !== e).map(([i, r]) => `-
|
|
659
655
|
💡 To fix this issue, update all @dynamic-labs/* packages to version \`${e}\` in your package.json
|
660
656
|
💡 Tip: You can use the \`npx dynamic-doctor run\` command to check for other issues with your project setup.
|
661
657
|
`.trim();
|
662
|
-
var version$4 = "4.20.
|
658
|
+
var version$4 = "4.20.4";
|
663
659
|
new EventEmitter();
|
664
660
|
new Logger("WalletConnector");
|
665
|
-
var version$3 = "4.20.
|
661
|
+
var version$3 = "4.20.4";
|
666
662
|
typeof window < "u" && (window.global = globalThis, !window.Buffer && typeof window.Buffer > "u" && Object.assign(window, { Buffer: bufferExports.Buffer }));
|
667
663
|
const logger$1 = new Logger("utils");
|
668
664
|
class CustomError extends Error {
|
@@ -1126,7 +1122,7 @@ const FALLBACK_UNDEFINED = "FALLBACK_UNDEFINED", retryableFn = (e, ...t) => __aw
|
|
1126
1122
|
});
|
1127
1123
|
}
|
1128
1124
|
});
|
1129
|
-
var version$2 = "4.20.
|
1125
|
+
var version$2 = "4.20.4";
|
1130
1126
|
typeof SuppressedError == "function" && SuppressedError;
|
1131
1127
|
var ExchangeKeyEnum;
|
1132
1128
|
(function(e) {
|
@@ -1505,9 +1501,9 @@ const getEnvVarWithFallback = (e, t) => {
|
|
1505
1501
|
new Logger("@dynamic-labs/iframe-setup");
|
1506
1502
|
assertPackageVersion("@dynamic-labs/utils", version$3);
|
1507
1503
|
typeof SuppressedError == "function" && SuppressedError;
|
1508
|
-
var version$1 = "4.20.
|
1504
|
+
var version$1 = "4.20.4";
|
1509
1505
|
createContext(void 0);
|
1510
|
-
var version = "4.20.
|
1506
|
+
var version = "4.20.4";
|
1511
1507
|
const DEFAULT_ICONIC_SPRITE_URL = "https://iconic.dynamic-static-assets.com/icons/sprite.svg", getIconicSpriteUrl = () => {
|
1512
1508
|
var e, t, a;
|
1513
1509
|
return typeof process$1 < "u" && process$1.env && (a = (t = (e = process$1.env.ICONIC_SPRITE_CDN_URL) !== null && e !== void 0 ? e : process$1.env.NEXT_PUBLIC_ICONIC_SPRITE_CDN_URL) !== null && t !== void 0 ? t : process$1.env.REACT_APP_ICONIC_SPRITE_CDN_URL) !== null && a !== void 0 ? a : DEFAULT_ICONIC_SPRITE_URL;
|