@blockend/widget 1.0.49-beta.3 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AllRoutes-CMV2Aikv.js → AllRoutes-CULIQsat.js} +9 -9
- package/dist/{Box-BLU3JkBD.js → Box-NqP6AVwQ.js} +6 -6
- package/dist/EstGas-Dh9afjPx.js +12661 -0
- package/dist/{Grow-BNGsloYF.js → Grow-DimeDg31.js} +2 -2
- package/dist/{InputComp-My-aSA0q.js → InputComp-yY8lKNsS.js} +3 -3
- package/dist/{LoadRoute-DEc0qJGB.js → LoadRoute-C9PROsCB.js} +4 -4
- package/dist/{QuotesProgress-DyCbRkmW.js → QuotesProgress-BqAtKdL0.js} +1 -1
- package/dist/{SwapAsset-VBFtcbjw.js → SwapAsset-CZhHktg2.js} +1 -1
- package/dist/{Tooltip-DkFdda4P.js → Tooltip-BiZCYxM1.js} +3 -3
- package/dist/{TxnButton-DtS9Dw0R.js → TxnButton-BZKqys7R.js} +23 -22
- package/dist/{add-CIcwZ7BM.js → add-h0-mWiyZ.js} +1 -1
- package/dist/{all-wallets-Bh1_cRVE.js → all-wallets-B1G-BF4O.js} +1 -1
- package/dist/{app-store-1QxQqMCa.js → app-store-C6terlTd.js} +1 -1
- package/dist/{apple-CtdqvHaM.js → apple-BAMP6vUT.js} +1 -1
- package/dist/{arrow-bottom-D-GL64pV.js → arrow-bottom-5NtikK9r.js} +1 -1
- package/dist/{arrow-bottom-circle-BZZ6oS3I.js → arrow-bottom-circle-GWblbKB-.js} +1 -1
- package/dist/{arrow-left-CtM73IFh.js → arrow-left-CuwEORVr.js} +1 -1
- package/dist/{arrow-right-C_3it8wU.js → arrow-right-B7p52n9L.js} +1 -1
- package/dist/{arrow-top-B_akssLE.js → arrow-top-X0Z_PT4J.js} +1 -1
- package/dist/{bank-BAZaWTHP.js → bank-I9RgXHkl.js} +1 -1
- package/dist/{basic-BQ6VlY2V.js → basic-DlZzE8fW.js} +3 -3
- package/dist/{browser-D-m8U4qp.js → browser-y883UdyY.js} +1 -1
- package/dist/{card-CZMLg_hs.js → card-DFwMQe6t.js} +1 -1
- package/dist/{ccip-Cr2zG-xI.js → ccip-BdqG54tP.js} +16 -16
- package/dist/{checkmark-Db5ONmjX.js → checkmark-DwHPcz7y.js} +1 -1
- package/dist/{checkmark-bold-CNdIOniu.js → checkmark-bold-CwUU9faI.js} +1 -1
- package/dist/{chevron-bottom-B4LZ07P4.js → chevron-bottom-CM8xoehI.js} +1 -1
- package/dist/{chevron-left-BOiLmc3e.js → chevron-left-Bv_KYFge.js} +1 -1
- package/dist/{chevron-right-C8aUeQEC.js → chevron-right-CuU7ZCUE.js} +1 -1
- package/dist/{chevron-top-DQnpWjJP.js → chevron-top-FBXj-YJj.js} +1 -1
- package/dist/{chrome-store-B2Ctt_Iw.js → chrome-store-BIA_g9fd.js} +1 -1
- package/dist/{clock-4Nkh4x1b.js → clock-CgcPvmV3.js} +1 -1
- package/dist/{close-CiK1EUke.js → close-Dro7okSF.js} +1 -1
- package/dist/{coinPlaceholder-CcnyeBg0.js → coinPlaceholder-Df9r_k0L.js} +1 -1
- package/dist/{compass-C8XMPb-_.js → compass-zmLyV0WT.js} +1 -1
- package/dist/{copy-D-ZlELIO.js → copy-CIamcXhE.js} +1 -1
- package/dist/{core-CE7ZvgmO.js → core-2WkYhq16.js} +17 -16
- package/dist/{cursor-RiCqhq_2.js → cursor-C2EB1DLY.js} +1 -1
- package/dist/{cursor-transparent-Cpuw-bx1.js → cursor-transparent-BRACM7k5.js} +1 -1
- package/dist/{desktop-BcnqlO6_.js → desktop-Nj8wnhrx.js} +1 -1
- package/dist/{disconnect-BXI_7OV3.js → disconnect-BA3_H2TE.js} +1 -1
- package/dist/{discord-DZgQjBjt.js → discord-BnYi_b4O.js} +1 -1
- package/dist/{down-C8I1GmTa.js → down-BiWYZhrl.js} +2 -2
- package/dist/{etherscan-DHArh1Kg.js → etherscan-Oni_KoX7.js} +1 -1
- package/dist/{exclamation-triangle-Dp1k7Xyg.js → exclamation-triangle-DensxwAC.js} +1 -1
- package/dist/{extension-Dav7fjmZ.js → extension-CJ-ksDa9.js} +1 -1
- package/dist/{external-link-DWQsWqey.js → external-link-D2xEf8Lc.js} +1 -1
- package/dist/{facebook-xI7TIm3V.js → facebook-Dc9l2BHT.js} +1 -1
- package/dist/{farcaster-ByqbNlsO.js → farcaster-PnjVCWz_.js} +1 -1
- package/dist/{filters-CPWYBjRc.js → filters-BHTpF3UH.js} +1 -1
- package/dist/{getChainIds-DY_neilc.js → getChainIds-CfrzTUBX.js} +2 -2
- package/dist/getCosmosAddress-CQBPedP-.js +9565 -0
- package/dist/{github-prZ8t34_.js → github-SsGUhatp.js} +1 -1
- package/dist/{google-CcUsHax7.js → google-ClSrT1Rw.js} +1 -1
- package/dist/{hamburger-BJOW28p-.js → hamburger-CnBL_kWz.js} +5 -5
- package/dist/{help-circle-XwyOApi8.js → help-circle-6WH3b0xJ.js} +1 -1
- package/dist/{id-Ftjt1pHJ.js → id-BpdNL8xg.js} +1 -1
- package/dist/{image-D3UyCNRs.js → image-D98hwlBe.js} +1 -1
- package/dist/index-270jcL0T.js +159 -0
- package/dist/{index-DmHzoK8Z.js → index-BD7sxHzc.js} +2 -2
- package/dist/{index-V7wGfBWj.js → index-BYEfYYbR.js} +2192 -2170
- package/dist/{index-ME6WmREi.js → index-CbunQDKM.js} +1 -1
- package/dist/{index-vg6UIFZD.js → index-CdSs-KXV.js} +11 -11
- package/dist/index-DTish3yr.js +1014 -0
- package/dist/{index-B518UW03.js → index-DbBaCDf8.js} +78 -78
- package/dist/index-Hx1OgUt3.js +206 -0
- package/dist/{index-Cea3JIZ5.js → index-Kcq8t_TI.js} +1 -1
- package/dist/index-VwOzTBuI.js +30707 -0
- package/dist/{index-BykNQI23.js → index-uMBmZTqD.js} +5 -5
- package/dist/{index-BHDpDBXv.js → index-yf9XBWfH.js} +259 -257
- package/dist/{index.es-TqUYQAoH.js → index.es-DNIrxJpP.js} +1 -1
- package/dist/{index.es-ng6OTpYR.js → index.es-extFs-He.js} +1712 -1625
- package/dist/index.es.js +1 -1
- package/dist/{info-DBsGMB_O.js → info-CX4R9q8L.js} +1 -1
- package/dist/{info-circle-Bx2PIRGJ.js → info-circle-ByA7titS.js} +1 -1
- package/dist/{lightbulb-KoBLmJby.js → lightbulb-DpdMU1eo.js} +1 -1
- package/dist/{mail-CZKrqpFU.js → mail-D7BloLRj.js} +1 -1
- package/dist/{mobile-CN4pmWVU.js → mobile-BfhAPCLe.js} +1 -1
- package/dist/{more-1brm4Q7X.js → more-2Fi4UnXg.js} +1 -1
- package/dist/{network-placeholder-CAlA46Kt.js → network-placeholder-CQk-R-eu.js} +1 -1
- package/dist/{nftPlaceholder-DHzDfy6E.js → nftPlaceholder-D67aKpf-.js} +1 -1
- package/dist/{off-1usMfWM7.js → off-CER3l2ZF.js} +1 -1
- package/dist/{play-store-C_t-IwRL.js → play-store-D3OG1Nf5.js} +1 -1
- package/dist/{plus-B5w-_zg6.js → plus-XfyglU6D.js} +1 -1
- package/dist/{qr-code-DQh--5Nd.js → qr-code-C2QzWWzi.js} +1 -1
- package/dist/{recycle-horizontal-CBNgoZdm.js → recycle-horizontal-BNoCX8eV.js} +1 -1
- package/dist/{refresh-gjkJ3fAS.js → refresh-BtgNPYm1.js} +1 -1
- package/dist/{reown-logo-BmVLHjjQ.js → reown-logo-BfwHREPj.js} +1 -1
- package/dist/{search-CuK6y19Q.js → search-xILtKxp2.js} +1 -1
- package/dist/{send-CIaAYk7c.js → send-Cbq82Ise.js} +1 -1
- package/dist/{swapHorizontal-Dl8NLG_i.js → swapHorizontal-ieu8keoA.js} +1 -1
- package/dist/{swapHorizontalBold-BnPyIFiA.js → swapHorizontalBold-DB9kV8I4.js} +1 -1
- package/dist/{swapHorizontalMedium-CEivQ8L0.js → swapHorizontalMedium-CFcq-Eii.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-C9ACKZnM.js → swapHorizontalRoundedBold-J-bBHkKw.js} +1 -1
- package/dist/{swapVertical-ZEEyof9e.js → swapVertical-CdsB-iHQ.js} +1 -1
- package/dist/{telegram-B3c-a3zh.js → telegram-BcA4SOe-.js} +1 -1
- package/dist/{three-dots-DUit7LCw.js → three-dots-tnSr7FoX.js} +1 -1
- package/dist/{twitch-3MyiQW6J.js → twitch-C0EXCOL_.js} +1 -1
- package/dist/{twitterIcon-DrkQHEH8.js → twitterIcon-D8gUfoR9.js} +1 -1
- package/dist/{unsupportedProp-BXXskXK0.js → unsupportedProp-ClTIJsqE.js} +1 -1
- package/dist/{useRegisterError-D172QfL7.js → useRegisterError-BrX0SzkP.js} +1 -1
- package/dist/{verify-Ez0YdpbL.js → verify-1fQ9qDGq.js} +1 -1
- package/dist/{verify-filled-Cof7FJLP.js → verify-filled-B-Bua_F7.js} +1 -1
- package/dist/{w3m-modal-D9qNteo9.js → w3m-modal-B4ljhCgE.js} +2 -2
- package/dist/{wallet-D8n_ZZlC.js → wallet-CHuFygGk.js} +1 -1
- package/dist/{wallet-placeholder-C7X2GW9S.js → wallet-placeholder-BY3FPHTK.js} +1 -1
- package/dist/{walletconnect-CKYpGIEb.js → walletconnect-1yfFjEWg.js} +1 -1
- package/dist/{warning-circle-BcBltCn2.js → warning-circle-CtfJ6Xr4.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-BppUkwM-.js → x-j-7tNFTH.js} +1 -1
- package/package.json +2 -4
- package/dist/EstGas-ywgk-29s.js +0 -1486
- package/dist/getCosmosAddress-_BeZxDkv.js +0 -6075
- package/dist/index-BaPgYkZ_.js +0 -42277
- package/dist/index-BtI5pdx-.js +0 -6711
- package/dist/index-klVp-SBb.js +0 -206
@@ -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-2WkYhq16.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-h0-mWiyZ.js")).addSvg,
|
383
|
+
allWallets: async () => (await import("./all-wallets-B1G-BF4O.js")).allWalletsSvg,
|
384
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-GWblbKB-.js")).arrowBottomCircleSvg,
|
385
|
+
appStore: async () => (await import("./app-store-C6terlTd.js")).appStoreSvg,
|
386
|
+
apple: async () => (await import("./apple-BAMP6vUT.js")).appleSvg,
|
387
|
+
arrowBottom: async () => (await import("./arrow-bottom-5NtikK9r.js")).arrowBottomSvg,
|
388
|
+
arrowLeft: async () => (await import("./arrow-left-CuwEORVr.js")).arrowLeftSvg,
|
389
|
+
arrowRight: async () => (await import("./arrow-right-B7p52n9L.js")).arrowRightSvg,
|
390
|
+
arrowTop: async () => (await import("./arrow-top-X0Z_PT4J.js")).arrowTopSvg,
|
391
|
+
bank: async () => (await import("./bank-I9RgXHkl.js")).bankSvg,
|
392
|
+
browser: async () => (await import("./browser-y883UdyY.js")).browserSvg,
|
393
|
+
card: async () => (await import("./card-DFwMQe6t.js")).cardSvg,
|
394
|
+
checkmark: async () => (await import("./checkmark-DwHPcz7y.js")).checkmarkSvg,
|
395
|
+
checkmarkBold: async () => (await import("./checkmark-bold-CwUU9faI.js")).checkmarkBoldSvg,
|
396
|
+
chevronBottom: async () => (await import("./chevron-bottom-CM8xoehI.js")).chevronBottomSvg,
|
397
|
+
chevronLeft: async () => (await import("./chevron-left-Bv_KYFge.js")).chevronLeftSvg,
|
398
|
+
chevronRight: async () => (await import("./chevron-right-CuU7ZCUE.js")).chevronRightSvg,
|
399
|
+
chevronTop: async () => (await import("./chevron-top-FBXj-YJj.js")).chevronTopSvg,
|
400
|
+
chromeStore: async () => (await import("./chrome-store-BIA_g9fd.js")).chromeStoreSvg,
|
401
|
+
clock: async () => (await import("./clock-CgcPvmV3.js")).clockSvg,
|
402
|
+
close: async () => (await import("./close-Dro7okSF.js")).closeSvg,
|
403
|
+
compass: async () => (await import("./compass-zmLyV0WT.js")).compassSvg,
|
404
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-Df9r_k0L.js")).coinPlaceholderSvg,
|
405
|
+
copy: async () => (await import("./copy-CIamcXhE.js")).copySvg,
|
406
|
+
cursor: async () => (await import("./cursor-C2EB1DLY.js")).cursorSvg,
|
407
|
+
cursorTransparent: async () => (await import("./cursor-transparent-BRACM7k5.js")).cursorTransparentSvg,
|
408
|
+
desktop: async () => (await import("./desktop-Nj8wnhrx.js")).desktopSvg,
|
409
|
+
disconnect: async () => (await import("./disconnect-BA3_H2TE.js")).disconnectSvg,
|
410
|
+
discord: async () => (await import("./discord-BnYi_b4O.js")).discordSvg,
|
411
|
+
etherscan: async () => (await import("./etherscan-Oni_KoX7.js")).etherscanSvg,
|
412
|
+
extension: async () => (await import("./extension-CJ-ksDa9.js")).extensionSvg,
|
413
|
+
externalLink: async () => (await import("./external-link-D2xEf8Lc.js")).externalLinkSvg,
|
414
|
+
facebook: async () => (await import("./facebook-Dc9l2BHT.js")).facebookSvg,
|
415
|
+
farcaster: async () => (await import("./farcaster-PnjVCWz_.js")).farcasterSvg,
|
416
|
+
filters: async () => (await import("./filters-BHTpF3UH.js")).filtersSvg,
|
417
|
+
github: async () => (await import("./github-SsGUhatp.js")).githubSvg,
|
418
|
+
google: async () => (await import("./google-ClSrT1Rw.js")).googleSvg,
|
419
|
+
helpCircle: async () => (await import("./help-circle-6WH3b0xJ.js")).helpCircleSvg,
|
420
|
+
image: async () => (await import("./image-D98hwlBe.js")).imageSvg,
|
421
|
+
id: async () => (await import("./id-BpdNL8xg.js")).idSvg,
|
422
|
+
infoCircle: async () => (await import("./info-circle-ByA7titS.js")).infoCircleSvg,
|
423
|
+
lightbulb: async () => (await import("./lightbulb-DpdMU1eo.js")).lightbulbSvg,
|
424
|
+
mail: async () => (await import("./mail-D7BloLRj.js")).mailSvg,
|
425
|
+
mobile: async () => (await import("./mobile-BfhAPCLe.js")).mobileSvg,
|
426
|
+
more: async () => (await import("./more-2Fi4UnXg.js")).moreSvg,
|
427
|
+
networkPlaceholder: async () => (await import("./network-placeholder-CQk-R-eu.js")).networkPlaceholderSvg,
|
428
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-D67aKpf-.js")).nftPlaceholderSvg,
|
429
|
+
off: async () => (await import("./off-CER3l2ZF.js")).offSvg,
|
430
|
+
playStore: async () => (await import("./play-store-D3OG1Nf5.js")).playStoreSvg,
|
431
|
+
plus: async () => (await import("./plus-XfyglU6D.js")).plusSvg,
|
432
|
+
qrCode: async () => (await import("./qr-code-C2QzWWzi.js")).qrCodeIcon,
|
433
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-BNoCX8eV.js")).recycleHorizontalSvg,
|
434
|
+
refresh: async () => (await import("./refresh-BtgNPYm1.js")).refreshSvg,
|
435
|
+
search: async () => (await import("./search-xILtKxp2.js")).searchSvg,
|
436
|
+
send: async () => (await import("./send-Cbq82Ise.js")).sendSvg,
|
437
|
+
swapHorizontal: async () => (await import("./swapHorizontal-ieu8keoA.js")).swapHorizontalSvg,
|
438
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-CFcq-Eii.js")).swapHorizontalMediumSvg,
|
439
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-DB9kV8I4.js")).swapHorizontalBoldSvg,
|
440
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-J-bBHkKw.js")).swapHorizontalRoundedBoldSvg,
|
441
|
+
swapVertical: async () => (await import("./swapVertical-CdsB-iHQ.js")).swapVerticalSvg,
|
442
|
+
telegram: async () => (await import("./telegram-BcA4SOe-.js")).telegramSvg,
|
443
|
+
threeDots: async () => (await import("./three-dots-tnSr7FoX.js")).threeDotsSvg,
|
444
|
+
twitch: async () => (await import("./twitch-C0EXCOL_.js")).twitchSvg,
|
445
|
+
twitter: async () => (await import("./x-j-7tNFTH.js")).xSvg,
|
446
|
+
twitterIcon: async () => (await import("./twitterIcon-D8gUfoR9.js")).twitterIconSvg,
|
447
|
+
verify: async () => (await import("./verify-1fQ9qDGq.js")).verifySvg,
|
448
|
+
verifyFilled: async () => (await import("./verify-filled-B-Bua_F7.js")).verifyFilledSvg,
|
449
|
+
wallet: async () => (await import("./wallet-CHuFygGk.js")).walletSvg,
|
450
|
+
walletConnect: async () => (await import("./walletconnect-1yfFjEWg.js")).walletConnectSvg,
|
451
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-1yfFjEWg.js")).walletConnectLightBrownSvg,
|
452
|
+
walletConnectBrown: async () => (await import("./walletconnect-1yfFjEWg.js")).walletConnectBrownSvg,
|
453
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-BY3FPHTK.js")).walletPlaceholderSvg,
|
454
|
+
warningCircle: async () => (await import("./warning-circle-CtfJ6Xr4.js")).warningCircleSvg,
|
455
|
+
x: async () => (await import("./x-j-7tNFTH.js")).xSvg,
|
456
|
+
info: async () => (await import("./info-CX4R9q8L.js")).infoSvg,
|
457
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-DensxwAC.js")).exclamationTriangleSvg,
|
458
|
+
reown: async () => (await import("./reown-logo-BfwHREPj.js")).reownSvg
|
459
459
|
};
|
460
460
|
async function pt(e) {
|
461
461
|
if (P.has(e))
|
@@ -0,0 +1,206 @@
|
|
1
|
+
import { jsxs as b, jsx as n, Fragment as A } from "react/jsx-runtime";
|
2
|
+
import G, { useContext as H, useState as E, useEffect as v, useRef as _ } from "react";
|
3
|
+
import { a as U, T as $, H as O, b as L, c as J, E as K, d as V } from "./EstGas-Dh9afjPx.js";
|
4
|
+
import { u as l, l as W } from "./index-VwOzTBuI.js";
|
5
|
+
import { i as D, C as Q, A as X } from "./useRegisterError-BrX0SzkP.js";
|
6
|
+
import { B as Y } from "./Box-NqP6AVwQ.js";
|
7
|
+
function Z() {
|
8
|
+
var d, w, 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 } = D;
|
10
|
+
let f = (i = (w = (d = t == null ? void 0 : t.route) == null ? void 0 : d.providerDetails) == null ? void 0 : w.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 W.isEmpty(t.route) ? /* @__PURE__ */ n(A, {}) : /* @__PURE__ */ b("div", { className: "bw-relative bw-mt-4 bw-flex bw-justify-center ", children: [
|
12
|
+
/* @__PURE__ */ n(
|
13
|
+
"div",
|
14
|
+
{
|
15
|
+
style: {
|
16
|
+
boxShadow: r && r.customTheme && ((m = (c = r.customTheme) == null ? void 0 : c.shadow) == null ? void 0 : m.boxShadow) || "1px 1px 10px 3px rgba(0, 0, 0, 0.15)"
|
17
|
+
},
|
18
|
+
className: "bw-w-[200px] bw-rounded-[50%] bw-absolute bw-right-auto bw-z-0 bw-left-auto bw-h-[40px]"
|
19
|
+
}
|
20
|
+
),
|
21
|
+
/* @__PURE__ */ b("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
|
+
" ",
|
23
|
+
/* @__PURE__ */ b("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
|
+
/* @__PURE__ */ n("span", { className: "bw-text-sm bw-font-light", children: "via" }),
|
25
|
+
" ",
|
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
|
+
((x = (g = t == null ? void 0 : t.route) == null ? void 0 : g.providerDetails) == null ? void 0 : x.name) || "",
|
28
|
+
": ",
|
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__ */ b("span", { className: "bw-ml-1 bw-text-xs bw-font-normal bw-leading-6", children: [
|
31
|
+
`+${((C = (p = t == null ? void 0 : t.route) == null ? void 0 : p.protocolsUsed) == null ? void 0 : C.length) - 1}`,
|
32
|
+
" More"
|
33
|
+
] }),
|
34
|
+
" "
|
35
|
+
] }),
|
36
|
+
" "
|
37
|
+
] })
|
38
|
+
] });
|
39
|
+
}
|
40
|
+
let N;
|
41
|
+
function R() {
|
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 } = H(U), d = Math.floor(((/* @__PURE__ */ new Date()).getTime() - r.quoteStartTime) / 1e3);
|
44
|
+
let w = ((u = r == null ? void 0 : r.route) == null ? void 0 : u.deadline) || 60;
|
45
|
+
const [i, e] = E(w);
|
46
|
+
return v(() => {
|
47
|
+
d && e(w - d);
|
48
|
+
}, []), v(() => (N = setInterval(() => {
|
49
|
+
e((s) => {
|
50
|
+
var h;
|
51
|
+
return s <= 0 ? (clearInterval(N), a({
|
52
|
+
...(h = l.getState()) == null ? void 0 : h.persist,
|
53
|
+
isQuoteTimer: !1,
|
54
|
+
showAcceptQuote: !0,
|
55
|
+
quoteStartTime: (/* @__PURE__ */ new Date()).getTime()
|
56
|
+
}), 0) : s - 1;
|
57
|
+
});
|
58
|
+
}, 1e3), () => clearInterval(N)), []), v(() => {
|
59
|
+
(f || !r.isQuoteTimer) && clearInterval(N);
|
60
|
+
}, [f, r.isQuoteTimer]), !(r != null && r.hash) && r.quote === "enable" ? /* @__PURE__ */ b("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__ */ b("linearGradient", { id: "linearColors", x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
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
|
+
/* @__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
|
+
] }) }),
|
65
|
+
/* @__PURE__ */ b(
|
66
|
+
Y,
|
67
|
+
{
|
68
|
+
sx: {
|
69
|
+
position: "relative",
|
70
|
+
display: "inline-flex"
|
71
|
+
},
|
72
|
+
children: [
|
73
|
+
/* @__PURE__ */ n(
|
74
|
+
Q,
|
75
|
+
{
|
76
|
+
variant: "determinate",
|
77
|
+
sx: {
|
78
|
+
color: "var(--tw-border-primary)"
|
79
|
+
},
|
80
|
+
size: 20,
|
81
|
+
thickness: 2,
|
82
|
+
value: 100
|
83
|
+
}
|
84
|
+
),
|
85
|
+
/* @__PURE__ */ n(
|
86
|
+
Q,
|
87
|
+
{
|
88
|
+
variant: "determinate",
|
89
|
+
size: 20,
|
90
|
+
thickness: 5,
|
91
|
+
value: i / w * 100,
|
92
|
+
sx: {
|
93
|
+
"svg circle": { stroke: "url(#linearColors)" },
|
94
|
+
position: "absolute",
|
95
|
+
left: 0,
|
96
|
+
[`& .${X.circle}`]: {
|
97
|
+
strokeLinecap: "round"
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
)
|
102
|
+
]
|
103
|
+
}
|
104
|
+
)
|
105
|
+
] }) : /* @__PURE__ */ n(A, {});
|
106
|
+
}
|
107
|
+
const ee = G.memo(function({ handleOpenExchange: t, amount: r, route: a, resetAmount: f, resetBalance: d, setExchange: w }) {
|
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: M } = D;
|
110
|
+
v(() => {
|
111
|
+
var o, j, z, F;
|
112
|
+
a != null && a.routeId && i({
|
113
|
+
...(o = l.getState()) == null ? void 0 : o.persist,
|
114
|
+
routeId: a == null ? void 0 : a.routeId,
|
115
|
+
route: a,
|
116
|
+
toChain: m,
|
117
|
+
toCoin: g,
|
118
|
+
fromChain: u,
|
119
|
+
fromCoin: c,
|
120
|
+
amount: r,
|
121
|
+
quote: "enable",
|
122
|
+
openAt: (/* @__PURE__ */ new Date()).getTime(),
|
123
|
+
startTime: ((F = (z = (j = l) == null ? void 0 : j.getState()) == null ? void 0 : z.persist) == null ? void 0 : F.startTime) || (/* @__PURE__ */ new Date()).getTime()
|
124
|
+
});
|
125
|
+
}, [a]);
|
126
|
+
function I(o) {
|
127
|
+
s(o);
|
128
|
+
}
|
129
|
+
function S() {
|
130
|
+
((e == null ? void 0 : e.openAt) + 60 * 60 * 1e3 - (/* @__PURE__ */ new Date()).getTime()) / 1e3 / 60 <= 0 && document.visibilityState === "visible" && (i({}), t(), f());
|
131
|
+
}
|
132
|
+
v(() => (e != null && e.openAt && window.addEventListener("visibilitychange", S), () => {
|
133
|
+
window.removeEventListener("visibilitychange", S);
|
134
|
+
}), [e == null ? void 0 : e.openAt]), v(() => (e != null && e.openAt && window.addEventListener("load", S), () => {
|
135
|
+
window.removeEventListener("load", S);
|
136
|
+
}), [e == null ? void 0 : e.openAt]);
|
137
|
+
function q(o) {
|
138
|
+
y(o);
|
139
|
+
}
|
140
|
+
function B(o) {
|
141
|
+
C(o);
|
142
|
+
}
|
143
|
+
function P() {
|
144
|
+
t(), i({}), h && d();
|
145
|
+
}
|
146
|
+
return /* @__PURE__ */ n($.Provider, { value: { isTxnSuccessful: h, handleTxnSuccess: q }, children: /* @__PURE__ */ n(U.Provider, { value: { isErrorMessage: p, handleErrorMessage: B }, children: /* @__PURE__ */ b("div", { className: "bw-w-full bw-relative bw-min-h-[610px] ", children: [
|
147
|
+
/* @__PURE__ */ n(O, { handleBack: P }),
|
148
|
+
/* @__PURE__ */ n("div", { className: "bw-mt-[-20px] ", children: /* @__PURE__ */ n(Z, {}) }),
|
149
|
+
e != null && e.isQuoteTimer ? /* @__PURE__ */ n(R, {}) : /* @__PURE__ */ n(A, {}),
|
150
|
+
/* @__PURE__ */ n("div", { className: "bw-flex bw-justify-between bw-items-center" }),
|
151
|
+
/* @__PURE__ */ b("div", { className: "bw-flex bw-w-full bw-mt-4 bw-justify-between bw-items-center", children: [
|
152
|
+
/* @__PURE__ */ b("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
153
|
+
/* @__PURE__ */ n("p", { className: "bw-text-xs bw-mb-1 bw-text-text-secondary bw-font-medium", children: "Send" }),
|
154
|
+
/* @__PURE__ */ n(L, { amount: e == null ? void 0 : e.amount, coinData: e.fromCoin, chainData: e.fromChain, field: "from" })
|
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: M, width: 33, height: 30, alt: "img" }) }) : /* @__PURE__ */ n(J, { isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x, startTimer: I, error: p }),
|
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__ */ b("div", { className: "bw-w-[40%] md:bw-w-auto", children: [
|
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(((k = e == null ? void 0 : e.route) == null ? void 0 : k.outputAmountDisplay) || ""), coinData: e == null ? void 0 : e.toCoin, chainData: e == null ? void 0 : e.toChain, field: "to" })
|
161
|
+
] })
|
162
|
+
] }),
|
163
|
+
/* @__PURE__ */ b("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(K, {}),
|
165
|
+
/* @__PURE__ */ n(V, { handleOpenExchange: t, setExchange: w, amount: r, startTimer: I, handleBack: P, isTimerStarted: (e == null ? void 0 : e.isTimerStarted) || x })
|
166
|
+
] })
|
167
|
+
] }) }) });
|
168
|
+
});
|
169
|
+
function le({
|
170
|
+
handleConfirmClose: t,
|
171
|
+
routesData: r,
|
172
|
+
amount: a,
|
173
|
+
resetAmount: f,
|
174
|
+
resetBalance: d,
|
175
|
+
handleStopRoute: w
|
176
|
+
}) {
|
177
|
+
const i = _();
|
178
|
+
v(() => {
|
179
|
+
var c, m;
|
180
|
+
!i.current && Number(
|
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
|
+
) !== Number((r == null ? void 0 : r.minOutputAmount) || (r == null ? void 0 : r.outputAmountDisplay)) && (i.current = r);
|
183
|
+
}, [r]), v(() => {
|
184
|
+
w(!0);
|
185
|
+
}, []);
|
186
|
+
function e() {
|
187
|
+
w(!1), t(!1);
|
188
|
+
}
|
189
|
+
function u() {
|
190
|
+
t(!1);
|
191
|
+
}
|
192
|
+
return /* @__PURE__ */ n(
|
193
|
+
ee,
|
194
|
+
{
|
195
|
+
handleOpenExchange: e,
|
196
|
+
amount: a,
|
197
|
+
route: r,
|
198
|
+
resetAmount: f,
|
199
|
+
resetBalance: d,
|
200
|
+
setExchange: u
|
201
|
+
}
|
202
|
+
);
|
203
|
+
}
|
204
|
+
export {
|
205
|
+
le as default
|
206
|
+
};
|
@@ -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-BrX0SzkP.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
|
}
|