@blockend/widget 1.0.50 → 1.0.52
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-CULIQsat.js → AllRoutes-kKOYSrNS.js} +9 -9
- package/dist/{Box-NqP6AVwQ.js → Box-DD2rDHYN.js} +1 -1
- package/dist/EstGas-3YaFsaqq.js +20281 -0
- package/dist/{Grow-DimeDg31.js → Grow-B_GQW4_x.js} +2 -2
- package/dist/{InputComp-yY8lKNsS.js → InputComp-CORUBHuj.js} +3 -3
- package/dist/{LoadRoute-C9PROsCB.js → LoadRoute-BPrygCCX.js} +4 -4
- package/dist/{QuotesProgress-BqAtKdL0.js → QuotesProgress-DRw4SQ0r.js} +1 -1
- package/dist/{SwapAsset-CZhHktg2.js → SwapAsset-CkQizd1M.js} +1 -1
- package/dist/{Tooltip-BiZCYxM1.js → Tooltip-CrSPOtOO.js} +3 -3
- package/dist/TxnButton-w_U38ob4.js +223 -0
- package/dist/{add-h0-mWiyZ.js → add-CD961dgq.js} +1 -1
- package/dist/{all-wallets-B1G-BF4O.js → all-wallets-apJrqQx8.js} +1 -1
- package/dist/{app-store-C6terlTd.js → app-store-BwPPWbZ-.js} +1 -1
- package/dist/{apple-BAMP6vUT.js → apple-C5GBBzKu.js} +1 -1
- package/dist/{arrow-bottom-5NtikK9r.js → arrow-bottom-DJFMgU8u.js} +1 -1
- package/dist/{arrow-bottom-circle-GWblbKB-.js → arrow-bottom-circle-hjkHJiRS.js} +1 -1
- package/dist/{arrow-left-CuwEORVr.js → arrow-left-DbapUhyG.js} +1 -1
- package/dist/{arrow-right-B7p52n9L.js → arrow-right-DfwZPj3f.js} +1 -1
- package/dist/{arrow-top-X0Z_PT4J.js → arrow-top-CsNBUZSP.js} +1 -1
- package/dist/{bank-I9RgXHkl.js → bank-CCcBm5-d.js} +1 -1
- package/dist/{basic-DlZzE8fW.js → basic-BjFK2vXh.js} +3 -3
- package/dist/{browser-y883UdyY.js → browser-CyDiApkv.js} +1 -1
- package/dist/{card-DFwMQe6t.js → card-C7cgC8He.js} +1 -1
- package/dist/{ccip-BdqG54tP.js → ccip-CGp4v-Ik.js} +1 -1
- package/dist/{checkmark-DwHPcz7y.js → checkmark-CvC9xsHE.js} +1 -1
- package/dist/{checkmark-bold-CwUU9faI.js → checkmark-bold-CV7kkVJ6.js} +1 -1
- package/dist/{chevron-bottom-CM8xoehI.js → chevron-bottom-GP9ijdKd.js} +1 -1
- package/dist/{chevron-left-Bv_KYFge.js → chevron-left-BzU9rDXH.js} +1 -1
- package/dist/{chevron-right-CuU7ZCUE.js → chevron-right-C-O85byK.js} +1 -1
- package/dist/{chevron-top-FBXj-YJj.js → chevron-top-CPbBRhHs.js} +1 -1
- package/dist/{chrome-store-BIA_g9fd.js → chrome-store-DLb3LMor.js} +1 -1
- package/dist/{clock-CgcPvmV3.js → clock-u8NvqjTh.js} +1 -1
- package/dist/{close-Dro7okSF.js → close-DGnBB14u.js} +1 -1
- package/dist/{coinPlaceholder-Df9r_k0L.js → coinPlaceholder-B_vbKW0d.js} +1 -1
- package/dist/{compass-zmLyV0WT.js → compass-VjDuwtpH.js} +1 -1
- package/dist/{copy-CIamcXhE.js → copy-CpwxxVFk.js} +1 -1
- package/dist/{core-2WkYhq16.js → core-Hivezgcn.js} +3 -3
- package/dist/{cursor-C2EB1DLY.js → cursor-CKztTS80.js} +1 -1
- package/dist/{cursor-transparent-BRACM7k5.js → cursor-transparent-MbRcJDkf.js} +1 -1
- package/dist/{desktop-Nj8wnhrx.js → desktop-C0hQOtTz.js} +1 -1
- package/dist/{disconnect-BA3_H2TE.js → disconnect-CbngTTe6.js} +1 -1
- package/dist/{discord-BnYi_b4O.js → discord-CeP387Uz.js} +1 -1
- package/dist/{down-BiWYZhrl.js → down-A88TfxuQ.js} +2 -2
- package/dist/{etherscan-Oni_KoX7.js → etherscan-DHgjcKzd.js} +1 -1
- package/dist/{exclamation-triangle-DensxwAC.js → exclamation-triangle-BKbjxRSf.js} +1 -1
- package/dist/{extension-CJ-ksDa9.js → extension-DKdg1MMc.js} +1 -1
- package/dist/{external-link-D2xEf8Lc.js → external-link-D_9l5Fag.js} +1 -1
- package/dist/{facebook-Dc9l2BHT.js → facebook-2lC7Kpys.js} +1 -1
- package/dist/{farcaster-PnjVCWz_.js → farcaster-DvDKv86N.js} +1 -1
- package/dist/{filters-BHTpF3UH.js → filters-7ekV1CBZ.js} +1 -1
- package/dist/{getChainIds-CfrzTUBX.js → getChainIds-ClTf-7B7.js} +2 -2
- package/dist/{getCosmosAddress-CQBPedP-.js → getCosmosAddress-CAHzTotY.js} +3 -2
- package/dist/{github-SsGUhatp.js → github-C_2AeCoD.js} +1 -1
- package/dist/{google-ClSrT1Rw.js → google-onzWiElr.js} +1 -1
- package/dist/{hamburger-CnBL_kWz.js → hamburger-DG8CUWPY.js} +5 -5
- package/dist/{help-circle-6WH3b0xJ.js → help-circle-BsEBhuFe.js} +1 -1
- package/dist/{id-BpdNL8xg.js → id-C4NyttJs.js} +1 -1
- package/dist/{image-D98hwlBe.js → image-DKwx-krp.js} +1 -1
- package/dist/{index-yf9XBWfH.js → index-16MzijM6.js} +573 -525
- package/dist/{index-CdSs-KXV.js → index-BJRMxl7-.js} +11 -11
- package/dist/{index-DbBaCDf8.js → index-BYgXlFDF.js} +78 -78
- package/dist/{index-BYEfYYbR.js → index-BkdZ8Dv5.js} +10 -10
- package/dist/{index-CbunQDKM.js → index-BpQ0XXSG.js} +1 -1
- package/dist/{index-Kcq8t_TI.js → index-CFjOCNdT.js} +1 -1
- package/dist/{index-BD7sxHzc.js → index-CVtXIHyR.js} +2 -2
- package/dist/{index-Hx1OgUt3.js → index-CWUtWgcV.js} +51 -51
- package/dist/{index-270jcL0T.js → index-DB3YpCzK.js} +8 -7
- package/dist/{index-VwOzTBuI.js → index-DSmx3mnG.js} +2886 -2899
- package/dist/index-l3lZQnPO.js +3190 -0
- package/dist/{index.es-DNIrxJpP.js → index.es-BC-Prg32.js} +1 -1
- package/dist/{index.es-extFs-He.js → index.es-BDiTU_FA.js} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/{info-CX4R9q8L.js → info-B8W2xzJC.js} +1 -1
- package/dist/{info-circle-ByA7titS.js → info-circle-xd4z9C36.js} +1 -1
- package/dist/{lightbulb-DpdMU1eo.js → lightbulb-D5I8lTbi.js} +1 -1
- package/dist/{mail-D7BloLRj.js → mail-F3uJmECQ.js} +1 -1
- package/dist/{mobile-BfhAPCLe.js → mobile-k7XFALbp.js} +1 -1
- package/dist/{more-2Fi4UnXg.js → more-D-JzQpLw.js} +1 -1
- package/dist/{network-placeholder-CQk-R-eu.js → network-placeholder-BCZ9Tznt.js} +1 -1
- package/dist/{nftPlaceholder-D67aKpf-.js → nftPlaceholder-C3lY-4pO.js} +1 -1
- package/dist/{off-CER3l2ZF.js → off-oyzD1zym.js} +1 -1
- package/dist/{play-store-D3OG1Nf5.js → play-store-DmzOyb5N.js} +1 -1
- package/dist/{plus-XfyglU6D.js → plus-B3_zXKdB.js} +1 -1
- package/dist/{qr-code-C2QzWWzi.js → qr-code-CDCi7YJ2.js} +1 -1
- package/dist/{recycle-horizontal-BNoCX8eV.js → recycle-horizontal-gYQpyQu-.js} +1 -1
- package/dist/{refresh-BtgNPYm1.js → refresh-BxJP9XlY.js} +1 -1
- package/dist/{reown-logo-BfwHREPj.js → reown-logo-4_2efEyI.js} +1 -1
- package/dist/{search-xILtKxp2.js → search-BgURoQ8D.js} +1 -1
- package/dist/{send-Cbq82Ise.js → send-B04E7tqz.js} +1 -1
- package/dist/{swapHorizontal-ieu8keoA.js → swapHorizontal-Bn3fSbb_.js} +1 -1
- package/dist/{swapHorizontalBold-DB9kV8I4.js → swapHorizontalBold-BrwcTxbN.js} +1 -1
- package/dist/{swapHorizontalMedium-CFcq-Eii.js → swapHorizontalMedium-DmeGLuiC.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-J-bBHkKw.js → swapHorizontalRoundedBold-BS3lUe20.js} +1 -1
- package/dist/{swapVertical-CdsB-iHQ.js → swapVertical-ChLqgWg7.js} +1 -1
- package/dist/{telegram-BcA4SOe-.js → telegram-DnPhgih8.js} +1 -1
- package/dist/{three-dots-tnSr7FoX.js → three-dots-bNEejC0G.js} +1 -1
- package/dist/{twitch-C0EXCOL_.js → twitch-GAMBWGM1.js} +1 -1
- package/dist/{twitterIcon-D8gUfoR9.js → twitterIcon-BLC3bD_g.js} +1 -1
- package/dist/{unsupportedProp-ClTIJsqE.js → unsupportedProp-C6jj5a32.js} +1 -1
- package/dist/{useRegisterError-BrX0SzkP.js → useRegisterError-Dtth7zv3.js} +1457 -1357
- package/dist/{verify-1fQ9qDGq.js → verify-BExXvDwE.js} +1 -1
- package/dist/{verify-filled-B-Bua_F7.js → verify-filled-Bi2V73zt.js} +1 -1
- package/dist/{w3m-modal-B4ljhCgE.js → w3m-modal-DqiyguGn.js} +2 -2
- package/dist/{wallet-CHuFygGk.js → wallet-CZWVV7qT.js} +1 -1
- package/dist/{wallet-placeholder-BY3FPHTK.js → wallet-placeholder-DWCfOWed.js} +1 -1
- package/dist/{walletconnect-1yfFjEWg.js → walletconnect-B30uBUwZ.js} +1 -1
- package/dist/{warning-circle-CtfJ6Xr4.js → warning-circle-BkKJHk9B.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-j-7tNFTH.js → x-BGtdpZh4.js} +1 -1
- package/package.json +7 -5
- package/dist/EstGas-Dh9afjPx.js +0 -12661
- package/dist/TxnButton-BZKqys7R.js +0 -212
- package/dist/index-uMBmZTqD.js +0 -3010
@@ -1,22 +1,22 @@
|
|
1
1
|
import { jsx as u, jsxs as B, Fragment as Ke } from "react/jsx-runtime";
|
2
|
-
import { a as to, _ as yr, e as wr, T as no, g as vr, h as oo, b as ro, j as Gt, k as Sn, r as xr, B as Cr, u as ao, i as Dr, d as Sr } from "./useRegisterError-
|
3
|
-
import { P as Zt, i as kr, b as kn, F as so, u as We, f as Qt, L as Tt, O as Pr, c as Mr, I as Rr, S as Or, d as Tr, H as Ir } from "./hamburger-
|
4
|
-
import { o as Vr, q as Nr, t as Fr, p as ie, _ as te, d as f, P as t, b as Se, g as Me, i as Re, s as _, e as le, f as se, h as Oe, j as De, r as Er, v as Ar, w as ge, x as it, L as $r, u as Ce, c as Xt, S as Lr, l as Br } from "./index-
|
2
|
+
import { a as to, _ as yr, e as wr, T as no, g as vr, h as oo, b as ro, j as Gt, k as Sn, r as xr, B as Cr, u as ao, i as Dr, d as Sr } from "./useRegisterError-Dtth7zv3.js";
|
3
|
+
import { P as Zt, i as kr, b as kn, F as so, u as We, f as Qt, L as Tt, O as Pr, c as Mr, I as Rr, S as Or, d as Tr, H as Ir } from "./hamburger-DG8CUWPY.js";
|
4
|
+
import { o as Vr, q as Nr, t as Fr, p as ie, _ as te, d as f, P as t, b as Se, g as Me, i as Re, s as _, e as le, f as se, h as Oe, j as De, r as Er, v as Ar, w as ge, x as it, L as $r, u as Ce, c as Xt, S as Lr, l as Br } from "./index-DSmx3mnG.js";
|
5
5
|
import * as b from "react";
|
6
6
|
import Pn, { useState as Ye, useEffect as lt, useRef as jr } from "react";
|
7
7
|
import { useQuery as io, useQueryClient as zr, useInfiniteQuery as Wr } from "@tanstack/react-query";
|
8
8
|
import { useAccount as lo } from "wagmi";
|
9
9
|
import { useDynamicContext as co } from "@dynamic-labs/sdk-react-core";
|
10
10
|
import { useAccount as uo } from "graz";
|
11
|
-
import { T as Qe, S as _r } from "./index-
|
12
|
-
import { c as $e } from "./index-
|
13
|
-
import { B as wt, F as xt, M as qr, a as Hr, e as Ur, T as po, b as Yr } from "./getChainIds-
|
14
|
-
import { a as fo, b as Le, G as Kr, P as Gr } from "./Grow-
|
15
|
-
import { B as Pt, u as Zr } from "./index-
|
16
|
-
import { u as Qr } from "./unsupportedProp-
|
11
|
+
import { T as Qe, S as _r } from "./index-l3lZQnPO.js";
|
12
|
+
import { c as $e } from "./index-BpQ0XXSG.js";
|
13
|
+
import { B as wt, F as xt, M as qr, a as Hr, e as Ur, T as po, b as Yr } from "./getChainIds-ClTf-7B7.js";
|
14
|
+
import { a as fo, b as Le, G as Kr, P as Gr } from "./Grow-B_GQW4_x.js";
|
15
|
+
import { B as Pt, u as Zr } from "./index-CVtXIHyR.js";
|
16
|
+
import { u as Qr } from "./unsupportedProp-C6jj5a32.js";
|
17
17
|
import { S as Xr } from "./shareicon-CG3v7iKI.js";
|
18
|
-
import { O as Mn } from "./index-
|
19
|
-
import { L as Jr } from "./index.es-
|
18
|
+
import { O as Mn } from "./index-CFjOCNdT.js";
|
19
|
+
import { L as Jr } from "./index.es-BC-Prg32.js";
|
20
20
|
function ea(e) {
|
21
21
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
22
22
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-
|
1
|
+
import { B as N, D as V, i as b, r as $, a as S, x as m, n as q, F as I, o as H, e as Y } from "./core-Hivezgcn.js";
|
2
2
|
const w = {
|
3
3
|
getSpacingStyles(e, t) {
|
4
4
|
if (Array.isArray(e))
|
@@ -379,83 +379,83 @@ var R = function(e, t, i, a) {
|
|
379
379
|
return r > 3 && o && Object.defineProperty(t, i, o), o;
|
380
380
|
};
|
381
381
|
const E = {
|
382
|
-
add: async () => (await import("./add-
|
383
|
-
allWallets: async () => (await import("./all-wallets-
|
384
|
-
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-
|
385
|
-
appStore: async () => (await import("./app-store-
|
386
|
-
apple: async () => (await import("./apple-
|
387
|
-
arrowBottom: async () => (await import("./arrow-bottom-
|
388
|
-
arrowLeft: async () => (await import("./arrow-left-
|
389
|
-
arrowRight: async () => (await import("./arrow-right-
|
390
|
-
arrowTop: async () => (await import("./arrow-top-
|
391
|
-
bank: async () => (await import("./bank-
|
392
|
-
browser: async () => (await import("./browser-
|
393
|
-
card: async () => (await import("./card-
|
394
|
-
checkmark: async () => (await import("./checkmark-
|
395
|
-
checkmarkBold: async () => (await import("./checkmark-bold-
|
396
|
-
chevronBottom: async () => (await import("./chevron-bottom-
|
397
|
-
chevronLeft: async () => (await import("./chevron-left-
|
398
|
-
chevronRight: async () => (await import("./chevron-right-
|
399
|
-
chevronTop: async () => (await import("./chevron-top-
|
400
|
-
chromeStore: async () => (await import("./chrome-store-
|
401
|
-
clock: async () => (await import("./clock-
|
402
|
-
close: async () => (await import("./close-
|
403
|
-
compass: async () => (await import("./compass-
|
404
|
-
coinPlaceholder: async () => (await import("./coinPlaceholder-
|
405
|
-
copy: async () => (await import("./copy-
|
406
|
-
cursor: async () => (await import("./cursor-
|
407
|
-
cursorTransparent: async () => (await import("./cursor-transparent-
|
408
|
-
desktop: async () => (await import("./desktop-
|
409
|
-
disconnect: async () => (await import("./disconnect-
|
410
|
-
discord: async () => (await import("./discord-
|
411
|
-
etherscan: async () => (await import("./etherscan-
|
412
|
-
extension: async () => (await import("./extension-
|
413
|
-
externalLink: async () => (await import("./external-link-
|
414
|
-
facebook: async () => (await import("./facebook-
|
415
|
-
farcaster: async () => (await import("./farcaster-
|
416
|
-
filters: async () => (await import("./filters-
|
417
|
-
github: async () => (await import("./github-
|
418
|
-
google: async () => (await import("./google-
|
419
|
-
helpCircle: async () => (await import("./help-circle-
|
420
|
-
image: async () => (await import("./image-
|
421
|
-
id: async () => (await import("./id-
|
422
|
-
infoCircle: async () => (await import("./info-circle-
|
423
|
-
lightbulb: async () => (await import("./lightbulb-
|
424
|
-
mail: async () => (await import("./mail-
|
425
|
-
mobile: async () => (await import("./mobile-
|
426
|
-
more: async () => (await import("./more-
|
427
|
-
networkPlaceholder: async () => (await import("./network-placeholder-
|
428
|
-
nftPlaceholder: async () => (await import("./nftPlaceholder-
|
429
|
-
off: async () => (await import("./off-
|
430
|
-
playStore: async () => (await import("./play-store-
|
431
|
-
plus: async () => (await import("./plus-
|
432
|
-
qrCode: async () => (await import("./qr-code-
|
433
|
-
recycleHorizontal: async () => (await import("./recycle-horizontal-
|
434
|
-
refresh: async () => (await import("./refresh-
|
435
|
-
search: async () => (await import("./search-
|
436
|
-
send: async () => (await import("./send-
|
437
|
-
swapHorizontal: async () => (await import("./swapHorizontal-
|
438
|
-
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-
|
439
|
-
swapHorizontalBold: async () => (await import("./swapHorizontalBold-
|
440
|
-
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-
|
441
|
-
swapVertical: async () => (await import("./swapVertical-
|
442
|
-
telegram: async () => (await import("./telegram-
|
443
|
-
threeDots: async () => (await import("./three-dots-
|
444
|
-
twitch: async () => (await import("./twitch-
|
445
|
-
twitter: async () => (await import("./x-
|
446
|
-
twitterIcon: async () => (await import("./twitterIcon-
|
447
|
-
verify: async () => (await import("./verify-
|
448
|
-
verifyFilled: async () => (await import("./verify-filled-
|
449
|
-
wallet: async () => (await import("./wallet-
|
450
|
-
walletConnect: async () => (await import("./walletconnect-
|
451
|
-
walletConnectLightBrown: async () => (await import("./walletconnect-
|
452
|
-
walletConnectBrown: async () => (await import("./walletconnect-
|
453
|
-
walletPlaceholder: async () => (await import("./wallet-placeholder-
|
454
|
-
warningCircle: async () => (await import("./warning-circle-
|
455
|
-
x: async () => (await import("./x-
|
456
|
-
info: async () => (await import("./info-
|
457
|
-
exclamationTriangle: async () => (await import("./exclamation-triangle-
|
458
|
-
reown: async () => (await import("./reown-logo-
|
382
|
+
add: async () => (await import("./add-CD961dgq.js")).addSvg,
|
383
|
+
allWallets: async () => (await import("./all-wallets-apJrqQx8.js")).allWalletsSvg,
|
384
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-hjkHJiRS.js")).arrowBottomCircleSvg,
|
385
|
+
appStore: async () => (await import("./app-store-BwPPWbZ-.js")).appStoreSvg,
|
386
|
+
apple: async () => (await import("./apple-C5GBBzKu.js")).appleSvg,
|
387
|
+
arrowBottom: async () => (await import("./arrow-bottom-DJFMgU8u.js")).arrowBottomSvg,
|
388
|
+
arrowLeft: async () => (await import("./arrow-left-DbapUhyG.js")).arrowLeftSvg,
|
389
|
+
arrowRight: async () => (await import("./arrow-right-DfwZPj3f.js")).arrowRightSvg,
|
390
|
+
arrowTop: async () => (await import("./arrow-top-CsNBUZSP.js")).arrowTopSvg,
|
391
|
+
bank: async () => (await import("./bank-CCcBm5-d.js")).bankSvg,
|
392
|
+
browser: async () => (await import("./browser-CyDiApkv.js")).browserSvg,
|
393
|
+
card: async () => (await import("./card-C7cgC8He.js")).cardSvg,
|
394
|
+
checkmark: async () => (await import("./checkmark-CvC9xsHE.js")).checkmarkSvg,
|
395
|
+
checkmarkBold: async () => (await import("./checkmark-bold-CV7kkVJ6.js")).checkmarkBoldSvg,
|
396
|
+
chevronBottom: async () => (await import("./chevron-bottom-GP9ijdKd.js")).chevronBottomSvg,
|
397
|
+
chevronLeft: async () => (await import("./chevron-left-BzU9rDXH.js")).chevronLeftSvg,
|
398
|
+
chevronRight: async () => (await import("./chevron-right-C-O85byK.js")).chevronRightSvg,
|
399
|
+
chevronTop: async () => (await import("./chevron-top-CPbBRhHs.js")).chevronTopSvg,
|
400
|
+
chromeStore: async () => (await import("./chrome-store-DLb3LMor.js")).chromeStoreSvg,
|
401
|
+
clock: async () => (await import("./clock-u8NvqjTh.js")).clockSvg,
|
402
|
+
close: async () => (await import("./close-DGnBB14u.js")).closeSvg,
|
403
|
+
compass: async () => (await import("./compass-VjDuwtpH.js")).compassSvg,
|
404
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-B_vbKW0d.js")).coinPlaceholderSvg,
|
405
|
+
copy: async () => (await import("./copy-CpwxxVFk.js")).copySvg,
|
406
|
+
cursor: async () => (await import("./cursor-CKztTS80.js")).cursorSvg,
|
407
|
+
cursorTransparent: async () => (await import("./cursor-transparent-MbRcJDkf.js")).cursorTransparentSvg,
|
408
|
+
desktop: async () => (await import("./desktop-C0hQOtTz.js")).desktopSvg,
|
409
|
+
disconnect: async () => (await import("./disconnect-CbngTTe6.js")).disconnectSvg,
|
410
|
+
discord: async () => (await import("./discord-CeP387Uz.js")).discordSvg,
|
411
|
+
etherscan: async () => (await import("./etherscan-DHgjcKzd.js")).etherscanSvg,
|
412
|
+
extension: async () => (await import("./extension-DKdg1MMc.js")).extensionSvg,
|
413
|
+
externalLink: async () => (await import("./external-link-D_9l5Fag.js")).externalLinkSvg,
|
414
|
+
facebook: async () => (await import("./facebook-2lC7Kpys.js")).facebookSvg,
|
415
|
+
farcaster: async () => (await import("./farcaster-DvDKv86N.js")).farcasterSvg,
|
416
|
+
filters: async () => (await import("./filters-7ekV1CBZ.js")).filtersSvg,
|
417
|
+
github: async () => (await import("./github-C_2AeCoD.js")).githubSvg,
|
418
|
+
google: async () => (await import("./google-onzWiElr.js")).googleSvg,
|
419
|
+
helpCircle: async () => (await import("./help-circle-BsEBhuFe.js")).helpCircleSvg,
|
420
|
+
image: async () => (await import("./image-DKwx-krp.js")).imageSvg,
|
421
|
+
id: async () => (await import("./id-C4NyttJs.js")).idSvg,
|
422
|
+
infoCircle: async () => (await import("./info-circle-xd4z9C36.js")).infoCircleSvg,
|
423
|
+
lightbulb: async () => (await import("./lightbulb-D5I8lTbi.js")).lightbulbSvg,
|
424
|
+
mail: async () => (await import("./mail-F3uJmECQ.js")).mailSvg,
|
425
|
+
mobile: async () => (await import("./mobile-k7XFALbp.js")).mobileSvg,
|
426
|
+
more: async () => (await import("./more-D-JzQpLw.js")).moreSvg,
|
427
|
+
networkPlaceholder: async () => (await import("./network-placeholder-BCZ9Tznt.js")).networkPlaceholderSvg,
|
428
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-C3lY-4pO.js")).nftPlaceholderSvg,
|
429
|
+
off: async () => (await import("./off-oyzD1zym.js")).offSvg,
|
430
|
+
playStore: async () => (await import("./play-store-DmzOyb5N.js")).playStoreSvg,
|
431
|
+
plus: async () => (await import("./plus-B3_zXKdB.js")).plusSvg,
|
432
|
+
qrCode: async () => (await import("./qr-code-CDCi7YJ2.js")).qrCodeIcon,
|
433
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-gYQpyQu-.js")).recycleHorizontalSvg,
|
434
|
+
refresh: async () => (await import("./refresh-BxJP9XlY.js")).refreshSvg,
|
435
|
+
search: async () => (await import("./search-BgURoQ8D.js")).searchSvg,
|
436
|
+
send: async () => (await import("./send-B04E7tqz.js")).sendSvg,
|
437
|
+
swapHorizontal: async () => (await import("./swapHorizontal-Bn3fSbb_.js")).swapHorizontalSvg,
|
438
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-DmeGLuiC.js")).swapHorizontalMediumSvg,
|
439
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-BrwcTxbN.js")).swapHorizontalBoldSvg,
|
440
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-BS3lUe20.js")).swapHorizontalRoundedBoldSvg,
|
441
|
+
swapVertical: async () => (await import("./swapVertical-ChLqgWg7.js")).swapVerticalSvg,
|
442
|
+
telegram: async () => (await import("./telegram-DnPhgih8.js")).telegramSvg,
|
443
|
+
threeDots: async () => (await import("./three-dots-bNEejC0G.js")).threeDotsSvg,
|
444
|
+
twitch: async () => (await import("./twitch-GAMBWGM1.js")).twitchSvg,
|
445
|
+
twitter: async () => (await import("./x-BGtdpZh4.js")).xSvg,
|
446
|
+
twitterIcon: async () => (await import("./twitterIcon-BLC3bD_g.js")).twitterIconSvg,
|
447
|
+
verify: async () => (await import("./verify-BExXvDwE.js")).verifySvg,
|
448
|
+
verifyFilled: async () => (await import("./verify-filled-Bi2V73zt.js")).verifyFilledSvg,
|
449
|
+
wallet: async () => (await import("./wallet-CZWVV7qT.js")).walletSvg,
|
450
|
+
walletConnect: async () => (await import("./walletconnect-B30uBUwZ.js")).walletConnectSvg,
|
451
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-B30uBUwZ.js")).walletConnectLightBrownSvg,
|
452
|
+
walletConnectBrown: async () => (await import("./walletconnect-B30uBUwZ.js")).walletConnectBrownSvg,
|
453
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-DWCfOWed.js")).walletPlaceholderSvg,
|
454
|
+
warningCircle: async () => (await import("./warning-circle-BkKJHk9B.js")).warningCircleSvg,
|
455
|
+
x: async () => (await import("./x-BGtdpZh4.js")).xSvg,
|
456
|
+
info: async () => (await import("./info-B8W2xzJC.js")).infoSvg,
|
457
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-BKbjxRSf.js")).exclamationTriangleSvg,
|
458
|
+
reown: async () => (await import("./reown-logo-4_2efEyI.js")).reownSvg
|
459
459
|
};
|
460
460
|
async function pt(e) {
|
461
461
|
if (P.has(e))
|
@@ -1,23 +1,23 @@
|
|
1
1
|
import { jsxs as G, jsx as M, Fragment as Ne } from "react/jsx-runtime";
|
2
|
-
import { T as Bb } from "./Tooltip-
|
2
|
+
import { T as Bb } from "./Tooltip-CrSPOtOO.js";
|
3
3
|
import { R as Fb } from "./index-CDq3vNnP.js";
|
4
|
-
import { u as X1, L as Wd, H as Y1, M as Z1, a as J1, P as Q1, S as ex } from "./hamburger-
|
5
|
-
import { r as Ub, a as tx, b as rx, B as nx, i as jf, u as Wb, C as ax, c as vo, f as ix, d as ox } from "./useRegisterError-
|
6
|
-
import { g as jt, b as tt, _ as It, d as oe, s as mt, e as Z, f as ot, h as $t, r as If, p as ge, P as A, i as Wt, j as it, u as Pr, a as Oi, k as Hd, c as _i, m as fa, n as de, l as $f } from "./index-
|
4
|
+
import { u as X1, L as Wd, H as Y1, M as Z1, a as J1, P as Q1, S as ex } from "./hamburger-DG8CUWPY.js";
|
5
|
+
import { r as Ub, a as tx, b as rx, B as nx, i as jf, u as Wb, C as ax, c as vo, f as ix, d as ox } from "./useRegisterError-Dtth7zv3.js";
|
6
|
+
import { g as jt, b as tt, _ as It, d as oe, s as mt, e as Z, f as ot, h as $t, r as If, p as ge, P as A, i as Wt, j as it, u as Pr, a as Oi, k as Hd, c as _i, m as fa, n as de, l as $f } from "./index-DSmx3mnG.js";
|
7
7
|
import * as Oe from "react";
|
8
8
|
import E, { useState as ke, useEffect as ze, isValidElement as ut, Children as ir, PureComponent as Rt, forwardRef as Hb, useRef as Ca, useImperativeHandle as ux, useCallback as sx, useMemo as Bt, cloneElement as Ae, createElement as zb, useContext as Si, createContext as pr, Component as cx } from "react";
|
9
|
-
import { S as lx } from "./index-
|
9
|
+
import { S as lx } from "./index-l3lZQnPO.js";
|
10
10
|
import { useAccount as Cr } from "wagmi";
|
11
11
|
import { useDynamicContext as Ai, useIsLoggedIn as Pi } from "@dynamic-labs/sdk-react-core";
|
12
12
|
import { useQuery as Ti } from "@tanstack/react-query";
|
13
|
-
import { D as Gb, S as fx } from "./down-
|
13
|
+
import { D as Gb, S as fx } from "./down-A88TfxuQ.js";
|
14
14
|
import { useAccount as Rf } from "graz";
|
15
|
-
import { B as Kb } from "./getChainIds-
|
15
|
+
import { B as Kb } from "./getChainIds-ClTf-7B7.js";
|
16
16
|
import { t as fr } from "./truncate-D9t92mVX.js";
|
17
17
|
import { S as zd, a as Gd } from "./sortDown-CjBaDQTU.js";
|
18
|
-
import { O as Kd } from "./index-
|
19
|
-
import { u as dx } from "./Grow-
|
20
|
-
import { c as Nf } from "./index-
|
18
|
+
import { O as Kd } from "./index-CFjOCNdT.js";
|
19
|
+
import { u as dx } from "./Grow-B_GQW4_x.js";
|
20
|
+
import { c as Nf } from "./index-BpQ0XXSG.js";
|
21
21
|
function px(e) {
|
22
22
|
return jt("PrivateSwitchBase", e);
|
23
23
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as O, b as Y, i as M, _ as w, d as P, s as z, e as L, f as v, h as b, p as g, P as c } from "./index-
|
1
|
+
import { g as O, b as Y, i as M, _ as w, d as P, s as z, e as L, f as v, h as b, p as g, P as c } from "./index-DSmx3mnG.js";
|
2
2
|
import * as C from "react";
|
3
3
|
import { jsxs as F, jsx as x } from "react/jsx-runtime";
|
4
4
|
function Z(r, i = 166) {
|
@@ -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-
|
3
|
+
import { F as m } from "./useRegisterError-Dtth7zv3.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,7 +1,7 @@
|
|
1
|
-
import { b as G, g as U, p as P, y as H, i as q, _ as J, d as u, s as W, e as M, f as d, h as K, r as Q, j as m, P as i } from "./index-
|
1
|
+
import { b as G, g as U, p as P, y as H, i as q, _ as J, d as u, s as W, e as M, f as d, h as K, r as Q, j as m, P as i } from "./index-DSmx3mnG.js";
|
2
2
|
import * as v from "react";
|
3
3
|
import { jsx as V, jsxs as X } from "react/jsx-runtime";
|
4
|
-
import { B as Y } from "./getChainIds-
|
4
|
+
import { B as Y } from "./getChainIds-ClTf-7B7.js";
|
5
5
|
function Z(o) {
|
6
6
|
return U("MuiButton", o);
|
7
7
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import
|
3
|
-
import { a as U, T as
|
4
|
-
import { u as l, l as
|
5
|
-
import { i as
|
6
|
-
import { B as
|
7
|
-
function
|
8
|
-
var d,
|
9
|
-
const t = l((T) => T.persist), r = l((T) => T.configuration), { defaultCoin: a } =
|
10
|
-
let f = (i = (
|
11
|
-
return
|
1
|
+
import { jsxs as w, jsx as n, Fragment as A } from "react/jsx-runtime";
|
2
|
+
import _, { useContext as $, useState as E, useEffect as v, useRef as O } from "react";
|
3
|
+
import { a as U, T as J, H as K, b as L, c as V, E as W, d as X } from "./EstGas-3YaFsaqq.js";
|
4
|
+
import { u as l, l as Y } from "./index-DSmx3mnG.js";
|
5
|
+
import { i as M, C as Q, A as Z } from "./useRegisterError-Dtth7zv3.js";
|
6
|
+
import { B as R } from "./Box-DD2rDHYN.js";
|
7
|
+
function ee() {
|
8
|
+
var d, b, i, e, u, c, m, g, x, s, h, y, p, C;
|
9
|
+
const t = l((T) => T.persist), r = l((T) => T.configuration), { defaultCoin: a } = M;
|
10
|
+
let f = (i = (b = (d = t == null ? void 0 : t.route) == null ? void 0 : d.providerDetails) == null ? void 0 : b.logoUrl) != null && i.length ? (u = (e = t == null ? void 0 : t.route) == null ? void 0 : e.providerDetails) == null ? void 0 : u.logoUrl : a;
|
11
|
+
return Y.isEmpty(t.route) ? /* @__PURE__ */ n(A, {}) : /* @__PURE__ */ w("div", { className: "bw-relative bw-mt-4 bw-flex bw-justify-center ", children: [
|
12
12
|
/* @__PURE__ */ n(
|
13
13
|
"div",
|
14
14
|
{
|
@@ -18,16 +18,16 @@ function Z() {
|
|
18
18
|
className: "bw-w-[200px] bw-rounded-[50%] bw-absolute bw-right-auto bw-z-0 bw-left-auto bw-h-[40px]"
|
19
19
|
}
|
20
20
|
),
|
21
|
-
/* @__PURE__ */
|
21
|
+
/* @__PURE__ */ w("div", { className: "bw-flex bw-relative bw-bg-background-container bw-z-10 bw-mx-auto bw-h-[41px] bw-w-[70%] bw-border-[0.5px] bw-border-border-primary bw-border-r-0 bw-border-l-0 bw-items-center bw-gap-x-1", children: [
|
22
22
|
" ",
|
23
|
-
/* @__PURE__ */
|
23
|
+
/* @__PURE__ */ w("p", { className: "bw-text-sm bw-w-full bw-text-center bw-flex bw-justify-center bw-items-center bw-font-normal bw-my-1 bw-text-text-primary", children: [
|
24
24
|
/* @__PURE__ */ n("span", { className: "bw-text-sm bw-font-light", children: "via" }),
|
25
25
|
" ",
|
26
26
|
/* @__PURE__ */ n("img", { src: f, className: "bw-rounded-[50%] bw-mx-[4px] bw-min-w-[18px] bw-max-h-[18px] bw-min-h-[18px]", width: 18, height: 18 }),
|
27
27
|
((x = (g = t == null ? void 0 : t.route) == null ? void 0 : g.providerDetails) == null ? void 0 : x.name) || "",
|
28
28
|
": ",
|
29
29
|
(s = t == null ? void 0 : t.route) == null ? void 0 : s.protocolsUsed[0],
|
30
|
-
((y = (h = t == null ? void 0 : t.route) == null ? void 0 : h.protocolsUsed) == null ? void 0 : y.length) <= 1 ? "" : /* @__PURE__ */
|
30
|
+
((y = (h = t == null ? void 0 : t.route) == null ? void 0 : h.protocolsUsed) == null ? void 0 : y.length) <= 1 ? "" : /* @__PURE__ */ w("span", { className: "bw-ml-1 bw-text-xs bw-font-normal bw-leading-6", children: [
|
31
31
|
`+${((C = (p = t == null ? void 0 : t.route) == null ? void 0 : p.protocolsUsed) == null ? void 0 : C.length) - 1}`,
|
32
32
|
" More"
|
33
33
|
] }),
|
@@ -38,13 +38,13 @@ function Z() {
|
|
38
38
|
] });
|
39
39
|
}
|
40
40
|
let N;
|
41
|
-
function
|
41
|
+
function te() {
|
42
42
|
var u, c, m, g, x;
|
43
|
-
const t = l((s) => s.configuration), r = l((s) => s.persist), a = l((s) => s.setPersist), { isErrorMessage: f } =
|
44
|
-
let
|
45
|
-
const [i, e] = E(
|
43
|
+
const t = l((s) => s.configuration), r = l((s) => s.persist), a = l((s) => s.setPersist), { isErrorMessage: f } = $(U), d = Math.floor(((/* @__PURE__ */ new Date()).getTime() - r.quoteStartTime) / 1e3);
|
44
|
+
let b = ((u = r == null ? void 0 : r.route) == null ? void 0 : u.deadline) || 60;
|
45
|
+
const [i, e] = E(b);
|
46
46
|
return v(() => {
|
47
|
-
d && e(
|
47
|
+
d && e(b - d);
|
48
48
|
}, []), v(() => (N = setInterval(() => {
|
49
49
|
e((s) => {
|
50
50
|
var h;
|
@@ -57,13 +57,13 @@ function R() {
|
|
57
57
|
});
|
58
58
|
}, 1e3), () => clearInterval(N)), []), v(() => {
|
59
59
|
(f || !r.isQuoteTimer) && clearInterval(N);
|
60
|
-
}, [f, r.isQuoteTimer]), !(r != null && r.hash) && r.quote === "enable" ? /* @__PURE__ */
|
61
|
-
/* @__PURE__ */ n("svg", { className: "bw-absolute bw-w-[20px] bw-h-[20px]", children: /* @__PURE__ */
|
60
|
+
}, [f, r.isQuoteTimer]), !(r != null && r.hash) && r.quote === "enable" ? /* @__PURE__ */ w("div", { className: "bw-absolute bw-top-0 bw-right-0 ", children: [
|
61
|
+
/* @__PURE__ */ n("svg", { className: "bw-absolute bw-w-[20px] bw-h-[20px]", children: /* @__PURE__ */ w("linearGradient", { id: "linearColors", x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
62
62
|
/* @__PURE__ */ n("stop", { offset: "1%", stopColor: (c = t == null ? void 0 : t.gradientStyle) != null && c.spinnerColor ? (m = t == null ? void 0 : t.gradientStyle) == null ? void 0 : m.spinnerColor : "#A45EFF" }),
|
63
63
|
/* @__PURE__ */ n("stop", { offset: "90%", stopColor: (g = t == null ? void 0 : t.gradientStyle) != null && g.spinnerColor ? (x = t == null ? void 0 : t.gradientStyle) == null ? void 0 : x.stopColor : "#2CFFE4" })
|
64
64
|
] }) }),
|
65
|
-
/* @__PURE__ */
|
66
|
-
|
65
|
+
/* @__PURE__ */ w(
|
66
|
+
R,
|
67
67
|
{
|
68
68
|
sx: {
|
69
69
|
position: "relative",
|
@@ -88,12 +88,12 @@ function R() {
|
|
88
88
|
variant: "determinate",
|
89
89
|
size: 20,
|
90
90
|
thickness: 5,
|
91
|
-
value: i /
|
91
|
+
value: i / b * 100,
|
92
92
|
sx: {
|
93
93
|
"svg circle": { stroke: "url(#linearColors)" },
|
94
94
|
position: "absolute",
|
95
95
|
left: 0,
|
96
|
-
[`& .${
|
96
|
+
[`& .${Z.circle}`]: {
|
97
97
|
strokeLinecap: "round"
|
98
98
|
}
|
99
99
|
}
|
@@ -104,11 +104,11 @@ function R() {
|
|
104
104
|
)
|
105
105
|
] }) : /* @__PURE__ */ n(A, {});
|
106
106
|
}
|
107
|
-
const
|
108
|
-
var k;
|
109
|
-
const i = l((o) => o.setPersist), e = l((o) => o.persist), u = l((o) => o.fromChain), c = l((o) => o.fromCoin), m = l((o) => o.toChain), g = l((o) => o.toCoin), [x, s] = E(!1), [h, y] = E(!1), [p, C] = E(!1), T = !e.stepData, { txnupdate:
|
107
|
+
const ne = _.memo(function({ handleOpenExchange: t, amount: r, route: a, resetAmount: f, resetBalance: d, setExchange: b }) {
|
108
|
+
var k, j;
|
109
|
+
const i = l((o) => o.setPersist), e = l((o) => o.persist), u = l((o) => o.fromChain), c = l((o) => o.fromCoin), m = l((o) => o.toChain), g = l((o) => o.toCoin), [x, s] = E(!1), [h, y] = E(!1), [p, C] = E(!1), T = !e.stepData, { txnupdate: q, refunded: B } = M;
|
110
110
|
v(() => {
|
111
|
-
var o,
|
111
|
+
var o, z, D, F;
|
112
112
|
a != null && a.routeId && i({
|
113
113
|
...(o = l.getState()) == null ? void 0 : o.persist,
|
114
114
|
routeId: a == null ? void 0 : a.routeId,
|
@@ -120,7 +120,7 @@ const ee = G.memo(function({ handleOpenExchange: t, amount: r, route: a, resetAm
|
|
120
120
|
amount: r,
|
121
121
|
quote: "enable",
|
122
122
|
openAt: (/* @__PURE__ */ new Date()).getTime(),
|
123
|
-
startTime: ((F = (
|
123
|
+
startTime: ((F = (D = (z = l) == null ? void 0 : z.getState()) == null ? void 0 : D.persist) == null ? void 0 : F.startTime) || (/* @__PURE__ */ new Date()).getTime()
|
124
124
|
});
|
125
125
|
}, [a]);
|
126
126
|
function I(o) {
|
@@ -134,63 +134,63 @@ const ee = G.memo(function({ handleOpenExchange: t, amount: r, route: a, resetAm
|
|
134
134
|
}), [e == null ? void 0 : e.openAt]), v(() => (e != null && e.openAt && window.addEventListener("load", S), () => {
|
135
135
|
window.removeEventListener("load", S);
|
136
136
|
}), [e == null ? void 0 : e.openAt]);
|
137
|
-
function
|
137
|
+
function G(o) {
|
138
138
|
y(o);
|
139
139
|
}
|
140
|
-
function
|
140
|
+
function H(o) {
|
141
141
|
C(o);
|
142
142
|
}
|
143
143
|
function P() {
|
144
144
|
t(), i({}), h && d();
|
145
145
|
}
|
146
|
-
return /* @__PURE__ */ n(
|
147
|
-
/* @__PURE__ */ n(
|
148
|
-
/* @__PURE__ */ n("div", { className: "bw-mt-[-20px] ", children: /* @__PURE__ */ n(
|
149
|
-
e != null && e.isQuoteTimer ? /* @__PURE__ */ n(
|
146
|
+
return /* @__PURE__ */ n(J.Provider, { value: { isTxnSuccessful: h, handleTxnSuccess: G }, children: /* @__PURE__ */ n(U.Provider, { value: { isErrorMessage: p, handleErrorMessage: H }, children: /* @__PURE__ */ w("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: [
|
147
|
+
/* @__PURE__ */ n(K, { handleBack: P }),
|
148
|
+
/* @__PURE__ */ n("div", { className: "bw-mt-[-20px] ", children: /* @__PURE__ */ n(ee, {}) }),
|
149
|
+
e != null && e.isQuoteTimer ? /* @__PURE__ */ n(te, {}) : /* @__PURE__ */ n(A, {}),
|
150
150
|
/* @__PURE__ */ n("div", { className: "bw-flex bw-justify-between bw-items-center" }),
|
151
|
-
/* @__PURE__ */
|
152
|
-
/* @__PURE__ */
|
151
|
+
/* @__PURE__ */ w("div", { className: "bw-flex bw-w-full bw-mt-4 bw-justify-between bw-items-center", children: [
|
152
|
+
/* @__PURE__ */ w("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
153
153
|
/* @__PURE__ */ n("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Send" }),
|
154
154
|
/* @__PURE__ */ n(L, { amount: e == null ? void 0 : e.amount, coinData: e.fromCoin, chainData: e.fromChain, field: "from" })
|
155
155
|
] }),
|
156
|
-
p ? /* @__PURE__ */ n("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-container bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ", children: /* @__PURE__ */ n("img", { src:
|
156
|
+
p ? /* @__PURE__ */ n("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-container bw-relative bw-z-10 hover:bw-opacity-100 bw-border-border-primary ", children: ((k = e == null ? void 0 : e.statusData) == null ? void 0 : k.status) === "refunded" ? /* @__PURE__ */ n("img", { src: B, width: 33, height: 30, alt: "img" }) : /* @__PURE__ */ n("img", { src: q, width: 33, height: 30, alt: "img" }) }) : /* @__PURE__ */ n(V, { isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x, startTimer: I, error: p }),
|
157
157
|
/* @__PURE__ */ n("div", { className: "bw-w-full bw-z-0 md:bw-w-full bw-mt-5 bw-absolute bw-h-[1px] bw-bg-border-primary " }),
|
158
|
-
/* @__PURE__ */
|
158
|
+
/* @__PURE__ */ w("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
159
159
|
/* @__PURE__ */ n("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Receive" }),
|
160
|
-
/* @__PURE__ */ n(L, { amount: Number(((
|
160
|
+
/* @__PURE__ */ n(L, { amount: Number(((j = e == null ? void 0 : e.route) == null ? void 0 : j.outputAmountDisplay) || ""), coinData: e == null ? void 0 : e.toCoin, chainData: e == null ? void 0 : e.toChain, field: "to" })
|
161
161
|
] })
|
162
162
|
] }),
|
163
|
-
/* @__PURE__ */
|
164
|
-
T ? /* @__PURE__ */ n(A, {}) : /* @__PURE__ */ n(
|
165
|
-
/* @__PURE__ */ n(
|
163
|
+
/* @__PURE__ */ w("div", { className: "bw-h-[320px] bw-pr-1 bw-flex bw-flex-col bw-mt-8 bw-overflow-y-auto", children: [
|
164
|
+
T ? /* @__PURE__ */ n(A, {}) : /* @__PURE__ */ n(W, {}),
|
165
|
+
/* @__PURE__ */ n(X, { handleOpenExchange: t, setExchange: b, amount: r, startTimer: I, handleBack: P, isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x })
|
166
166
|
] })
|
167
167
|
] }) }) });
|
168
168
|
});
|
169
|
-
function
|
169
|
+
function we({
|
170
170
|
handleConfirmClose: t,
|
171
171
|
routesData: r,
|
172
172
|
amount: a,
|
173
173
|
resetAmount: f,
|
174
174
|
resetBalance: d,
|
175
|
-
handleStopRoute:
|
175
|
+
handleStopRoute: b
|
176
176
|
}) {
|
177
|
-
const i =
|
177
|
+
const i = O();
|
178
178
|
v(() => {
|
179
179
|
var c, m;
|
180
180
|
!i.current && Number(
|
181
181
|
((c = i == null ? void 0 : i.current) == null ? void 0 : c.minOutputAmount) || ((m = i == null ? void 0 : i.current) == null ? void 0 : m.outputAmountDisplay)
|
182
182
|
) !== Number((r == null ? void 0 : r.minOutputAmount) || (r == null ? void 0 : r.outputAmountDisplay)) && (i.current = r);
|
183
183
|
}, [r]), v(() => {
|
184
|
-
|
184
|
+
b(!0);
|
185
185
|
}, []);
|
186
186
|
function e() {
|
187
|
-
|
187
|
+
b(!1), t(!1);
|
188
188
|
}
|
189
189
|
function u() {
|
190
190
|
t(!1);
|
191
191
|
}
|
192
192
|
return /* @__PURE__ */ n(
|
193
|
-
|
193
|
+
ne,
|
194
194
|
{
|
195
195
|
handleOpenExchange: e,
|
196
196
|
amount: a,
|
@@ -202,5 +202,5 @@ function le({
|
|
202
202
|
);
|
203
203
|
}
|
204
204
|
export {
|
205
|
-
|
205
|
+
we as default
|
206
206
|
};
|
@@ -1,13 +1,14 @@
|
|
1
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-
|
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-3YaFsaqq.js";
|
3
3
|
import { useState as q, useEffect as k } from "react";
|
4
|
-
import { d as we, i as be } from "./useRegisterError-
|
5
|
-
import { u as c, l as ee, c as Z, F as ue } from "./index-
|
4
|
+
import { d as we, i as be } from "./useRegisterError-Dtth7zv3.js";
|
5
|
+
import { u as c, l as ee, c as Z, F as ue } from "./index-DSmx3mnG.js";
|
6
6
|
import { useQuery as _ } from "@tanstack/react-query";
|
7
|
-
import "./down-
|
7
|
+
import "./down-A88TfxuQ.js";
|
8
8
|
import "wagmi";
|
9
9
|
import "@dynamic-labs/sdk-react-core";
|
10
|
-
import "./getCosmosAddress-
|
10
|
+
import "./getCosmosAddress-CAHzTotY.js";
|
11
|
+
import "@dynamic-labs/solana";
|
11
12
|
function le({ details: F }) {
|
12
13
|
var T, N, I, w, d, p, D, b, u, E, t;
|
13
14
|
const a = {
|
@@ -151,9 +152,9 @@ const me = () => {
|
|
151
152
|
] })
|
152
153
|
] }) : /* @__PURE__ */ s(ue, {}) }) }) });
|
153
154
|
};
|
154
|
-
function
|
155
|
+
function Ie() {
|
155
156
|
return /* @__PURE__ */ s(me, {});
|
156
157
|
}
|
157
158
|
export {
|
158
|
-
|
159
|
+
Ie as default
|
159
160
|
};
|