@rhinestone/deposit-modal 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/{DepositModalReown-6KUAO5ZC.mjs → DepositModalReown-JUJI7UHE.mjs} +5 -5
  2. package/dist/{DepositModalReown-XC5RIU7Z.cjs → DepositModalReown-YQSO4SVY.cjs} +9 -9
  3. package/dist/{chunk-VN4BLZYC.cjs → chunk-6U2H3R3T.cjs} +21 -21
  4. package/dist/{chunk-4WB2FHGC.mjs → chunk-7OQO6JDC.mjs} +3 -3
  5. package/dist/{chunk-LGVJWVSS.mjs → chunk-AYWEWI47.mjs} +2 -2
  6. package/dist/{chunk-T7LGQFP3.cjs → chunk-EAUF7SGM.cjs} +3 -3
  7. package/dist/{chunk-NMIMRASD.cjs → chunk-EEEQZOTJ.cjs} +66 -66
  8. package/dist/{chunk-WYXBY2MQ.mjs → chunk-GYEUZSQP.mjs} +1 -1
  9. package/dist/{chunk-DIX7M3SP.cjs → chunk-ITFRTPGF.cjs} +57 -57
  10. package/dist/{chunk-KKHLNFSA.mjs → chunk-N3OHR3T2.mjs} +58 -99
  11. package/dist/{chunk-E4G5BOZP.mjs → chunk-QGXAAFHU.mjs} +2 -2
  12. package/dist/{chunk-OSI2CFGL.mjs → chunk-QLZ5RZTA.mjs} +1 -1
  13. package/dist/{chunk-PAGMU4RQ.cjs → chunk-SQOEHQNT.cjs} +52 -52
  14. package/dist/{chunk-22RV33LK.cjs → chunk-VQJHYWAE.cjs} +309 -350
  15. package/dist/{chunk-VOGZAZB2.mjs → chunk-WUQZYQRK.mjs} +1 -1
  16. package/dist/{chunk-NEXUCY4B.cjs → chunk-XJE5MRY4.cjs} +1 -1
  17. package/dist/claim.cjs +5 -5
  18. package/dist/claim.mjs +4 -4
  19. package/dist/constants.cjs +2 -2
  20. package/dist/constants.d.cts +1 -1
  21. package/dist/constants.d.ts +1 -1
  22. package/dist/constants.mjs +1 -1
  23. package/dist/deposit.cjs +6 -6
  24. package/dist/deposit.mjs +5 -5
  25. package/dist/index.cjs +8 -8
  26. package/dist/index.mjs +7 -7
  27. package/dist/withdraw.cjs +5 -5
  28. package/dist/withdraw.mjs +4 -4
  29. package/package.json +1 -1
@@ -18,10 +18,10 @@
18
18
 
19
19
 
20
20
 
21
- var _chunkNMIMRASDcjs = require('./chunk-NMIMRASD.cjs');
21
+ var _chunkEEEQZOTJcjs = require('./chunk-EEEQZOTJ.cjs');
22
22
 
23
23
 
24
- var _chunkT7LGQFP3cjs = require('./chunk-T7LGQFP3.cjs');
24
+ var _chunkEAUF7SGMcjs = require('./chunk-EAUF7SGM.cjs');
25
25
 
26
26
 
27
27
 
@@ -77,7 +77,7 @@ var _chunkT7LGQFP3cjs = require('./chunk-T7LGQFP3.cjs');
77
77
 
78
78
 
79
79
 
80
- var _chunkVN4BLZYCcjs = require('./chunk-VN4BLZYC.cjs');
80
+ var _chunk6U2H3R3Tcjs = require('./chunk-6U2H3R3T.cjs');
81
81
 
82
82
 
83
83
 
@@ -208,7 +208,7 @@ SegmentedToggle.displayName = "SegmentedToggle";
208
208
  function ChainIcon({ chainId, className, loading }) {
209
209
  const badge = _chunkH577RJN5cjs.getChainBadge.call(void 0, chainId);
210
210
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
211
- _chunkVN4BLZYCcjs.CdnIcon,
211
+ _chunk6U2H3R3Tcjs.CdnIcon,
212
212
  {
213
213
  src: _chunkH577RJN5cjs.getChainIcon.call(void 0, chainId),
214
214
  alt: _chunkH577RJN5cjs.getChainName.call(void 0, chainId),
@@ -231,7 +231,7 @@ ChainIcon.displayName = "ChainIcon";
231
231
  // src/components/ui/WalletBadgeIcons/index.tsx
232
232
 
233
233
  function BadgeImage({ src, alt = "" }) {
234
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src, alt }) });
234
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src, alt }) });
235
235
  }
236
236
  var WALLET_BADGES = ["rabby", "phantom", "walletconnect"];
237
237
  function WalletBadgeIcons() {
@@ -285,7 +285,7 @@ var DAPP_IMPORT_CATALOG = [
285
285
  // src/components/ui/BrandIcons.tsx
286
286
 
287
287
  function ExchangeBadgeImage({ name }) {
288
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: _nullishCoalesce(_chunkNMIMRASDcjs.getExchangeLogoSrc.call(void 0, name), () => ( void 0)) });
288
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: _nullishCoalesce(_chunkEEEQZOTJcjs.getExchangeLogoSrc.call(void 0, name), () => ( void 0)) });
289
289
  }
290
290
  var CARD_NETWORKS = ["amex", "visa", "mastercard"];
291
291
  function CardNetworkIcons() {
@@ -293,7 +293,7 @@ function CardNetworkIcons() {
293
293
  "span",
294
294
  {
295
295
  className: `rs-card-network rs-card-network--${network}`,
296
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: _chunkH577RJN5cjs.cdnIconUrl.call(void 0, "cards", network) })
296
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: _chunkH577RJN5cjs.cdnIconUrl.call(void 0, "cards", network) })
297
297
  },
298
298
  network
299
299
  )) });
@@ -314,7 +314,7 @@ function DappBadgeIcons() {
314
314
  ).filter(
315
315
  (brand) => Boolean(brand)
316
316
  );
317
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-list-row-meta-icons rs-list-row-meta-icons--exchanges", children: marks.map((brand) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: brand.iconUrl, alt: brand.label }) }, brand.id)) });
317
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-list-row-meta-icons rs-list-row-meta-icons--exchanges", children: marks.map((brand) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: brand.iconUrl, alt: brand.label }) }, brand.id)) });
318
318
  }
319
319
  DappBadgeIcons.displayName = "DappBadgeIcons";
320
320
  var DAPP_BADGE_COUNT = DAPP_BADGE_ORDER.length;
@@ -334,9 +334,9 @@ function balanceSubtitle(status, balanceUsd, fallback) {
334
334
  return "No balance";
335
335
  }
336
336
  function fiatIcon(name) {
337
- if (name === "apple") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.AppleIcon, {});
338
- if (name === "bank") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BankIcon, {});
339
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CardIcon, {});
337
+ if (name === "apple") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.AppleIcon, {});
338
+ if (name === "bank") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BankIcon, {});
339
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CardIcon, {});
340
340
  }
341
341
  function FiatMethodIcon({ option }) {
342
342
  const [remoteFailed, setRemoteFailed] = _react.useState.call(void 0, false);
@@ -419,13 +419,13 @@ function renderWalletLeading(row) {
419
419
  }
420
420
  );
421
421
  }
422
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {});
422
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {});
423
423
  }
424
- var TRANSFER_CRYPTO_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TransferCryptoIcon, {});
425
- var WALLET_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {});
426
- var EXCHANGE_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.UnplugIcon, {});
427
- var MIGRATE_ASSETS_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.MigrateAssetsIcon, {});
428
- var SMALL_SPINNER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Spinner, { className: "rs-spinner--sm" });
424
+ var TRANSFER_CRYPTO_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TransferCryptoIcon, {});
425
+ var WALLET_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {});
426
+ var EXCHANGE_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.UnplugIcon, {});
427
+ var MIGRATE_ASSETS_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.MigrateAssetsIcon, {});
428
+ var SMALL_SPINNER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Spinner, { className: "rs-spinner--sm" });
429
429
  var CONNECT_META = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
430
430
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WalletBadgeIcons, {}),
431
431
  "+100"
@@ -474,8 +474,7 @@ function ConnectStep({
474
474
  title = "Deposit",
475
475
  subtitle,
476
476
  defaultMethodTab = "crypto",
477
- onMethodTabChange,
478
- onInteract
477
+ onMethodTabChange
479
478
  }) {
480
479
  const rows = _nullishCoalesce(walletRows, () => ( []));
481
480
  const handleConnect = _nullishCoalesce(onConnect, () => ( onRequestConnect));
@@ -487,7 +486,7 @@ function ConnectStep({
487
486
  if (onSelectTransferCrypto) {
488
487
  cryptoRows.push(
489
488
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
490
- _chunkT7LGQFP3cjs.ListRow,
489
+ _chunkEAUF7SGMcjs.ListRow,
491
490
  {
492
491
  leading: TRANSFER_CRYPTO_LEADING,
493
492
  title: "Transfer crypto",
@@ -508,7 +507,7 @@ function ConnectStep({
508
507
  );
509
508
  cryptoRows.push(
510
509
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
511
- _chunkT7LGQFP3cjs.ListRow,
510
+ _chunkEAUF7SGMcjs.ListRow,
512
511
  {
513
512
  leading: renderWalletLeading(row),
514
513
  title: collapseToExternal ? "External wallet" : row.label,
@@ -525,7 +524,7 @@ function ConnectStep({
525
524
  if (!hasReownWallet && handleConnect) {
526
525
  cryptoRows.push(
527
526
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
528
- _chunkT7LGQFP3cjs.ListRow,
527
+ _chunkEAUF7SGMcjs.ListRow,
529
528
  {
530
529
  leading: WALLET_LEADING,
531
530
  title: "Connect wallet",
@@ -540,7 +539,7 @@ function ConnectStep({
540
539
  if (onSelectFundFromExchange) {
541
540
  cryptoRows.push(
542
541
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
543
- _chunkT7LGQFP3cjs.ListRow,
542
+ _chunkEAUF7SGMcjs.ListRow,
544
543
  {
545
544
  leading: EXCHANGE_LEADING,
546
545
  title: "Connect exchange",
@@ -555,7 +554,7 @@ function ConnectStep({
555
554
  if (onSelectMigrateAssets) {
556
555
  cryptoRows.push(
557
556
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
558
- _chunkT7LGQFP3cjs.ListRow,
557
+ _chunkEAUF7SGMcjs.ListRow,
559
558
  {
560
559
  leading: MIGRATE_ASSETS_LEADING,
561
560
  title: "Migrate assets",
@@ -576,7 +575,7 @@ function ConnectStep({
576
575
  for (const opt of fiatPaymentMethods) {
577
576
  cashRows.push(
578
577
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
579
- _chunkT7LGQFP3cjs.ListRow,
578
+ _chunkEAUF7SGMcjs.ListRow,
580
579
  {
581
580
  leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FiatMethodIcon, { option: opt }),
582
581
  title: opt.label,
@@ -591,7 +590,7 @@ function ConnectStep({
591
590
  } else if (fiatLoading) {
592
591
  cashRows.push(
593
592
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
594
- _chunkT7LGQFP3cjs.ListRow,
593
+ _chunkEAUF7SGMcjs.ListRow,
595
594
  {
596
595
  leading: SMALL_SPINNER,
597
596
  title: "Loading payment options\u2026",
@@ -617,58 +616,49 @@ function ConnectStep({
617
616
  }
618
617
  onPrefetchFiatMethod(recommendedMethod);
619
618
  }, [activeTab, onPrefetchFiatMethod, recommendedMethod]);
620
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
621
- "div",
622
- {
623
- className: "rs-screen",
624
- onPointerDownCapture: onInteract,
625
- onFocusCapture: onInteract,
626
- onKeyDownCapture: onInteract,
627
- children: [
628
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
629
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
630
- _chunkVN4BLZYCcjs.BodyHeader,
631
- {
632
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.HandCoinsIcon, {}),
633
- title,
634
- subtitle: _nullishCoalesce(subtitle, () => ( defaultSubtitle)),
635
- aside: showToggle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
636
- SegmentedToggle,
637
- {
638
- ariaLabel: "Deposit method type",
639
- value: activeTab,
640
- onChange: handleTabChange,
641
- options: [
642
- { value: "crypto", label: "Crypto" },
643
- { value: "cash", label: "Cash" }
644
- ]
645
- }
646
- ) : void 0
647
- }
648
- ),
649
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
650
- "div",
619
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
620
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
621
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
622
+ _chunk6U2H3R3Tcjs.BodyHeader,
623
+ {
624
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.HandCoinsIcon, {}),
625
+ title,
626
+ subtitle: _nullishCoalesce(subtitle, () => ( defaultSubtitle)),
627
+ aside: showToggle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
628
+ SegmentedToggle,
651
629
  {
652
- className: "rs-list",
653
- "aria-live": activeTab === "cash" ? "polite" : void 0,
654
- "aria-busy": activeTab === "cash" && fiatLoading ? true : void 0,
655
- children: activeRows
630
+ ariaLabel: "Deposit method type",
631
+ value: activeTab,
632
+ onChange: handleTabChange,
633
+ options: [
634
+ { value: "crypto", label: "Crypto" },
635
+ { value: "cash", label: "Cash" }
636
+ ]
656
637
  }
657
- )
658
- ] }),
659
- onDisconnect && hasReownWallet && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen-tight-row", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
660
- "button",
661
- {
662
- type: "button",
663
- className: "rs-connect-wallet-manage",
664
- onClick: onDisconnect,
665
- children: "Disconnect wallet"
666
- }
667
- ) }),
668
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
669
- ]
670
- }
671
- );
638
+ ) : void 0
639
+ }
640
+ ),
641
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
642
+ "div",
643
+ {
644
+ className: "rs-list",
645
+ "aria-live": activeTab === "cash" ? "polite" : void 0,
646
+ "aria-busy": activeTab === "cash" && fiatLoading ? true : void 0,
647
+ children: activeRows
648
+ }
649
+ )
650
+ ] }),
651
+ onDisconnect && hasReownWallet && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen-tight-row", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
652
+ "button",
653
+ {
654
+ type: "button",
655
+ className: "rs-connect-wallet-manage",
656
+ onClick: onDisconnect,
657
+ children: "Disconnect wallet"
658
+ }
659
+ ) }),
660
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
661
+ ] });
672
662
  }
673
663
  ConnectStep.displayName = "ConnectStep";
674
664
 
@@ -692,12 +682,12 @@ function AssetSelectStep({
692
682
  const [error, setError] = _react.useState.call(void 0, null);
693
683
  const defaultAssetId = _react.useMemo.call(void 0, () => {
694
684
  if (!defaultSourceChain || !defaultSourceToken) return null;
695
- return _chunkVN4BLZYCcjs.getAssetId.call(void 0, {
685
+ return _chunk6U2H3R3Tcjs.getAssetId.call(void 0, {
696
686
  chainId: defaultSourceChain,
697
687
  token: defaultSourceToken
698
688
  });
699
689
  }, [defaultSourceChain, defaultSourceToken]);
700
- const onTotalBalanceComputedRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
690
+ const onTotalBalanceComputedRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
701
691
  _react.useEffect.call(void 0, () => {
702
692
  let active = true;
703
693
  function emitAssetsUpdate(currentAssets) {
@@ -717,7 +707,7 @@ function AssetSelectStep({
717
707
  try {
718
708
  const portfolio = await service.fetchPortfolio(address);
719
709
  if (!active) return;
720
- const portfolioAssets = _chunkVN4BLZYCcjs.portfolioToAssets.call(void 0, portfolio.tokens);
710
+ const portfolioAssets = _chunk6U2H3R3Tcjs.portfolioToAssets.call(void 0, portfolio.tokens);
721
711
  setAssets(portfolioAssets);
722
712
  emitAssetsUpdate(portfolioAssets);
723
713
  const hasNative = portfolioAssets.some(
@@ -785,7 +775,7 @@ function AssetSelectStep({
785
775
  const raw = _viem.formatUnits.call(void 0, BigInt(asset.balance), asset.decimals);
786
776
  const numeric = Number(raw);
787
777
  if (!Number.isFinite(numeric)) return raw;
788
- return _chunkVN4BLZYCcjs.tokenFormatter.format(numeric);
778
+ return _chunk6U2H3R3Tcjs.tokenFormatter.format(numeric);
789
779
  } catch (e3) {
790
780
  return asset.balance;
791
781
  }
@@ -793,20 +783,20 @@ function AssetSelectStep({
793
783
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
794
784
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
795
785
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
796
- _chunkVN4BLZYCcjs.BodyHeader,
786
+ _chunk6U2H3R3Tcjs.BodyHeader,
797
787
  {
798
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {}),
788
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {}),
799
789
  title: "Your assets",
800
790
  subtitle: "Select source assets to transfer"
801
791
  }
802
792
  ),
803
793
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
804
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Spinner, { className: "rs-text-tertiary" }),
794
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Spinner, { className: "rs-text-tertiary" }),
805
795
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
806
796
  ] }),
807
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "error", children: error }),
797
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "error", children: error }),
808
798
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
809
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, { className: "rs-empty-icon" }),
799
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, { className: "rs-empty-icon" }),
810
800
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
811
801
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
812
802
  address.slice(0, 6),
@@ -839,13 +829,13 @@ function AssetSelectStep({
839
829
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-info", children: [
840
830
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-icon-wrapper", children: [
841
831
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
842
- _chunkVN4BLZYCcjs.TokenIcon,
832
+ _chunk6U2H3R3Tcjs.TokenIcon,
843
833
  {
844
834
  symbol: asset.symbol,
845
835
  fallback: asset.symbol.slice(0, 4)
846
836
  }
847
837
  ) }),
848
- chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: chainIcon, alt: _chunkH577RJN5cjs.getChainName.call(void 0, asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
838
+ chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: chainIcon, alt: _chunkH577RJN5cjs.getChainName.call(void 0, asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
849
839
  "span",
850
840
  {
851
841
  className: "rs-asset-chain-badge",
@@ -872,14 +862,14 @@ function AssetSelectStep({
872
862
  ] })
873
863
  ] })
874
864
  ] }),
875
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunkVN4BLZYCcjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
865
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunk6U2H3R3Tcjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
876
866
  ]
877
867
  },
878
868
  asset.id
879
869
  );
880
870
  }) }),
881
871
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
882
- _chunkVN4BLZYCcjs.Button,
872
+ _chunk6U2H3R3Tcjs.Button,
883
873
  {
884
874
  onClick: () => selectedAsset && onContinue(selectedAsset),
885
875
  disabled: !selectedAsset,
@@ -888,7 +878,7 @@ function AssetSelectStep({
888
878
  }
889
879
  )
890
880
  ] }),
891
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
881
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
892
882
  ] });
893
883
  }
894
884
  async function fetchNativeAssets(address, publicClient, existing) {
@@ -896,7 +886,7 @@ async function fetchNativeAssets(address, publicClient, existing) {
896
886
  const connectedChainId = _optionalChain([publicClient, 'access', _8 => _8.chain, 'optionalAccess', _9 => _9.id]);
897
887
  if (!connectedChainId) return [];
898
888
  if (!_chunkH577RJN5cjs.SOURCE_CHAINS.some((chain) => chain.id === connectedChainId)) return [];
899
- const id = _chunkVN4BLZYCcjs.getAssetId.call(void 0, {
889
+ const id = _chunk6U2H3R3Tcjs.getAssetId.call(void 0, {
900
890
  chainId: connectedChainId,
901
891
  token: _chunkH577RJN5cjs.NATIVE_TOKEN_ADDRESS
902
892
  });
@@ -1092,7 +1082,7 @@ function AmountStep({
1092
1082
  const balanceTarget = _nullishCoalesce(balanceAddress, () => ( address));
1093
1083
  if (!balanceTarget || !publicClient) return;
1094
1084
  try {
1095
- const bal = _chunkVN4BLZYCcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
1085
+ const bal = _chunk6U2H3R3Tcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
1096
1086
  address: asset.token,
1097
1087
  abi: _viem.erc20Abi,
1098
1088
  functionName: "balanceOf",
@@ -1113,7 +1103,7 @@ function AmountStep({
1113
1103
  hasAttemptedSwitch.current = true;
1114
1104
  switchChain(asset.chainId).catch((err) => {
1115
1105
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
1116
- setError(_chunkVN4BLZYCcjs.formatUserError.call(void 0, raw));
1106
+ setError(_chunk6U2H3R3Tcjs.formatUserError.call(void 0, raw));
1117
1107
  });
1118
1108
  }
1119
1109
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -1166,7 +1156,7 @@ function AmountStep({
1166
1156
  const raw = _viem.formatUnits.call(void 0, balance, asset.decimals);
1167
1157
  const numeric = Number(raw);
1168
1158
  if (!Number.isFinite(numeric)) return raw;
1169
- return _chunkVN4BLZYCcjs.tokenFormatter.format(numeric);
1159
+ return _chunk6U2H3R3Tcjs.tokenFormatter.format(numeric);
1170
1160
  } catch (e8) {
1171
1161
  return "\u2026";
1172
1162
  }
@@ -1255,7 +1245,7 @@ function AmountStep({
1255
1245
  const targetChainName = _chunkH577RJN5cjs.getChainName.call(void 0, targetChain);
1256
1246
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
1257
1247
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
1258
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {}), title: "Wallet deposit" }),
1248
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {}), title: "Wallet deposit" }),
1259
1249
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
1260
1250
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
1261
1251
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1275,13 +1265,13 @@ function AmountStep({
1275
1265
  " available",
1276
1266
  balanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1277
1267
  " (~",
1278
- _chunkVN4BLZYCcjs.currencyFormatter.format(balanceUsd),
1268
+ _chunk6U2H3R3Tcjs.currencyFormatter.format(balanceUsd),
1279
1269
  ")"
1280
1270
  ] })
1281
1271
  ] }),
1282
1272
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
1283
1273
  "Min. deposit ",
1284
- _chunkVN4BLZYCcjs.currencyFormatter.format(minDepositUsd)
1274
+ _chunk6U2H3R3Tcjs.currencyFormatter.format(minDepositUsd)
1285
1275
  ] })
1286
1276
  ] })
1287
1277
  ] }),
@@ -1306,7 +1296,7 @@ function AmountStep({
1306
1296
  " ",
1307
1297
  asset.symbol
1308
1298
  ] }),
1309
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TokenIcon, { symbol: asset.symbol }) })
1299
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TokenIcon, { symbol: asset.symbol }) })
1310
1300
  ] })
1311
1301
  ] }),
1312
1302
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
@@ -1317,18 +1307,18 @@ function AmountStep({
1317
1307
  " ",
1318
1308
  targetSymbol
1319
1309
  ] }),
1320
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TokenIcon, { symbol: targetSymbol }) })
1310
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TokenIcon, { symbol: targetSymbol }) })
1321
1311
  ] })
1322
1312
  ] }),
1323
1313
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
1324
1314
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
1325
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkVN4BLZYCcjs.currencyFormatter.format(balanceAfterUsd) })
1315
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunk6U2H3R3Tcjs.currencyFormatter.format(balanceAfterUsd) })
1326
1316
  ] })
1327
1317
  ] }),
1328
- targetChain === _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
1329
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "error", children: error }),
1318
+ targetChain === _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
1319
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "error", children: error }),
1330
1320
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1331
- _chunkVN4BLZYCcjs.Button,
1321
+ _chunk6U2H3R3Tcjs.Button,
1332
1322
  {
1333
1323
  onClick: handleContinue,
1334
1324
  fullWidth: true,
@@ -1337,7 +1327,7 @@ function AmountStep({
1337
1327
  }
1338
1328
  )
1339
1329
  ] }),
1340
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
1330
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
1341
1331
  ] });
1342
1332
  }
1343
1333
 
@@ -1405,34 +1395,34 @@ function ConfirmStep({
1405
1395
  const targetChainName = _chunkH577RJN5cjs.getChainName.call(void 0, targetChain);
1406
1396
  const sourceChainIcon = _chunkH577RJN5cjs.getChainIcon.call(void 0, asset.chainId);
1407
1397
  const targetChainIcon = _chunkH577RJN5cjs.getChainIcon.call(void 0, targetChain);
1408
- const formattedSendAmount = amount && Number.isFinite(Number(amount)) ? _nullishCoalesce(_chunkVN4BLZYCcjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( "0")) : "0";
1409
- const mustHaveQuote = !appFeesResolved || _chunkVN4BLZYCcjs.resolveAppFeeBps.call(void 0,
1398
+ const formattedSendAmount = amount && Number.isFinite(Number(amount)) ? _nullishCoalesce(_chunk6U2H3R3Tcjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( "0")) : "0";
1399
+ const mustHaveQuote = !appFeesResolved || _chunk6U2H3R3Tcjs.resolveAppFeeBps.call(void 0,
1410
1400
  appFees,
1411
1401
  `eip155:${quoteSource.chainId}`,
1412
1402
  quoteSource.token
1413
1403
  ) > 0;
1414
- const { display: feeDisplay, struck: feesFullySponsored } = _chunkVN4BLZYCcjs.quoteFeeRow.call(void 0,
1404
+ const { display: feeDisplay, struck: feesFullySponsored } = _chunk6U2H3R3Tcjs.quoteFeeRow.call(void 0,
1415
1405
  _optionalChain([quote, 'optionalAccess', _24 => _24.fees])
1416
1406
  );
1417
1407
  const directTransfer = sameRoute && !mustHaveQuote && !executeTransfer;
1418
1408
  const receiveDisplay = (() => {
1419
1409
  if (directTransfer) return `${formattedSendAmount} ${asset.symbol}`;
1420
1410
  if (quote) {
1421
- const quoted = _chunkVN4BLZYCcjs.formatQuotedReceive.call(void 0, quote.output, targetSymbol);
1411
+ const quoted = _chunk6U2H3R3Tcjs.formatQuotedReceive.call(void 0, quote.output, targetSymbol);
1422
1412
  if (quoted !== void 0) return quoted;
1423
1413
  }
1424
1414
  const usdValue = Number(targetAmount);
1425
1415
  const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
1426
- const estimate = _chunkVN4BLZYCcjs.formatReceiveEstimate.call(void 0, {
1416
+ const estimate = _chunk6U2H3R3Tcjs.formatReceiveEstimate.call(void 0, {
1427
1417
  sourceAmount: Number.isFinite(Number(amount)) ? Number(amount) : void 0,
1428
1418
  sourceSymbol: asset.symbol,
1429
1419
  targetSymbol,
1430
1420
  sourceAmountUsd,
1431
- sourceTrusted: _chunkVN4BLZYCcjs.isRecognizedToken.call(void 0, asset.token, asset.chainId),
1421
+ sourceTrusted: _chunk6U2H3R3Tcjs.isRecognizedToken.call(void 0, asset.token, asset.chainId),
1432
1422
  // The target is the curated deposit destination, so a stablecoin target
1433
1423
  // estimates at $1 when unquoted (DepositFlow skips fetching stablecoin
1434
1424
  // target prices). Not applied to the source — that can be a held token.
1435
- prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkVN4BLZYCcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
1425
+ prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunk6U2H3R3Tcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
1436
1426
  });
1437
1427
  if (estimate !== void 0) return estimate;
1438
1428
  return targetSymbol;
@@ -1443,7 +1433,7 @@ function ConfirmStep({
1443
1433
  hasAttemptedSwitch.current = true;
1444
1434
  switchChain(asset.chainId).catch((err) => {
1445
1435
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
1446
- setError(_chunkVN4BLZYCcjs.formatUserError.call(void 0, raw));
1436
+ setError(_chunk6U2H3R3Tcjs.formatUserError.call(void 0, raw));
1447
1437
  });
1448
1438
  }
1449
1439
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -1532,7 +1522,7 @@ function ConfirmStep({
1532
1522
  const result = await executeTransfer(amountUnits);
1533
1523
  hash = result.txHash;
1534
1524
  resolvedSourceToken = result.sourceToken;
1535
- } else if (_chunkVN4BLZYCcjs.isNativeAsset.call(void 0, asset)) {
1525
+ } else if (_chunk6U2H3R3Tcjs.isNativeAsset.call(void 0, asset)) {
1536
1526
  hash = await walletClient.sendTransaction({
1537
1527
  account,
1538
1528
  chain,
@@ -1563,7 +1553,7 @@ function ConfirmStep({
1563
1553
  );
1564
1554
  } catch (err) {
1565
1555
  const raw = err instanceof Error ? err.message : "Transfer failed";
1566
- const message = _chunkVN4BLZYCcjs.formatUserError.call(void 0, raw);
1556
+ const message = _chunk6U2H3R3Tcjs.formatUserError.call(void 0, raw);
1567
1557
  setError(message);
1568
1558
  _optionalChain([onError, 'optionalCall', _26 => _26(message, "TRANSFER_ERROR")]);
1569
1559
  } finally {
@@ -1572,20 +1562,20 @@ function ConfirmStep({
1572
1562
  };
1573
1563
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
1574
1564
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
1575
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {}), title: "Review deposit" }),
1565
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {}), title: "Review deposit" }),
1576
1566
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-details", children: [
1577
1567
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1578
1568
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
1579
1569
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1580
1570
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceChainName }),
1581
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: sourceChainIcon }) })
1571
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: sourceChainIcon }) })
1582
1572
  ] })
1583
1573
  ] }),
1584
1574
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1585
1575
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Destination chain" }),
1586
1576
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1587
1577
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName }),
1588
- targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: targetChainIcon }) })
1578
+ targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: targetChainIcon }) })
1589
1579
  ] })
1590
1580
  ] }),
1591
1581
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -1600,14 +1590,14 @@ function ConfirmStep({
1600
1590
  " ",
1601
1591
  asset.symbol
1602
1592
  ] }),
1603
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TokenIcon, { symbol: asset.symbol }) })
1593
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TokenIcon, { symbol: asset.symbol }) })
1604
1594
  ] })
1605
1595
  ] }),
1606
1596
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1607
1597
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Receive" }),
1608
1598
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1609
1599
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
1610
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TokenIcon, { symbol: targetSymbol }) })
1600
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TokenIcon, { symbol: targetSymbol }) })
1611
1601
  ] })
1612
1602
  ] }),
1613
1603
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -1627,10 +1617,10 @@ function ConfirmStep({
1627
1617
  ) })
1628
1618
  ] })
1629
1619
  ] }),
1630
- targetChain === _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
1631
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "error", children: error }),
1620
+ targetChain === _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
1621
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "error", children: error }),
1632
1622
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1633
- _chunkVN4BLZYCcjs.Button,
1623
+ _chunk6U2H3R3Tcjs.Button,
1634
1624
  {
1635
1625
  onClick: handleConfirm,
1636
1626
  loading: isSubmitting,
@@ -1644,7 +1634,7 @@ function ConfirmStep({
1644
1634
  }
1645
1635
  )
1646
1636
  ] }),
1647
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
1637
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
1648
1638
  ] });
1649
1639
  }
1650
1640
 
@@ -1667,9 +1657,9 @@ var INITIAL_POLL_INTERVAL = 3e3;
1667
1657
  var MAX_POLL_INTERVAL = 3e4;
1668
1658
  var BACKOFF_MULTIPLIER = 1.5;
1669
1659
  function isEventForTx(event, txHash) {
1670
- const eventTxHash = _chunkNMIMRASDcjs.getEventTxHash.call(void 0, event);
1660
+ const eventTxHash = _chunkEEEQZOTJcjs.getEventTxHash.call(void 0, event);
1671
1661
  if (!eventTxHash) return false;
1672
- return _chunkNMIMRASDcjs.txRefsMatch.call(void 0, eventTxHash, txHash);
1662
+ return _chunkEEEQZOTJcjs.txRefsMatch.call(void 0, eventTxHash, txHash);
1673
1663
  }
1674
1664
  function truncateHash(hash) {
1675
1665
  return `${hash.slice(0, 4)}\u2026${hash.slice(-4)}`;
@@ -1719,7 +1709,7 @@ function formatBridgeFailedMessage(event) {
1719
1709
  }
1720
1710
  return "Bridge failed";
1721
1711
  }
1722
- var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
1712
+ var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
1723
1713
  function DepositNotification({
1724
1714
  deposit,
1725
1715
  smartAccount,
@@ -1753,7 +1743,7 @@ function DepositNotification({
1753
1743
  const pollIntervalRef = _react.useRef.call(void 0, INITIAL_POLL_INTERVAL);
1754
1744
  const pollTimeoutRef = _react.useRef.call(void 0, null);
1755
1745
  const completedRef = _react.useRef.call(void 0, _nullishCoalesce(directTransfer, () => ( false)));
1756
- const depositContextRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, {
1746
+ const depositContextRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, {
1757
1747
  amount,
1758
1748
  sourceChain,
1759
1749
  sourceToken: token,
@@ -1761,8 +1751,8 @@ function DepositNotification({
1761
1751
  targetChain,
1762
1752
  targetToken
1763
1753
  });
1764
- const onCompleteRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, onComplete);
1765
- const onFailedRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, onFailed);
1754
+ const onCompleteRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, onComplete);
1755
+ const onFailedRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, onFailed);
1766
1756
  const handleComplete = _react.useCallback.call(void 0,
1767
1757
  (destTxHash) => {
1768
1758
  if (completedRef.current) return;
@@ -1857,7 +1847,7 @@ function DepositNotification({
1857
1847
  const destExplorerUrl = destinationTxHash ? _chunkH577RJN5cjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1858
1848
  const title = status === "complete" ? "Deposit completed" : status === "failed" ? "Deposit failed" : "Deposit received and processing\u2026";
1859
1849
  const subtitle = status === "complete" ? "Your deposit has been credited to your account." : status === "failed" ? "Your deposit could not be processed." : "Your deposit will be credited to your account shortly.";
1860
- const statusIcon = status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--complete", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CheckIcon, {}) }) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--failed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CloseIcon, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--processing", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1850
+ const statusIcon = status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--complete", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CheckIcon, {}) }) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--failed", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CloseIcon, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-notification-badge rs-deposit-notification-badge--processing", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1861
1851
  "svg",
1862
1852
  {
1863
1853
  className: "rs-deposit-notification-spinner",
@@ -1907,7 +1897,7 @@ function DepositNotification({
1907
1897
  className: "rs-deposit-notification-close",
1908
1898
  onClick: () => onDismiss(deposit.id),
1909
1899
  "aria-label": "Dismiss",
1910
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CloseIcon, {})
1900
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CloseIcon, {})
1911
1901
  }
1912
1902
  )
1913
1903
  ] }),
@@ -1923,7 +1913,7 @@ function DepositNotification({
1923
1913
  "aria-expanded": expanded,
1924
1914
  children: [
1925
1915
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: expanded ? "See less details" : "See more details" }),
1926
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
1916
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
1927
1917
  ]
1928
1918
  }
1929
1919
  ),
@@ -2073,7 +2063,7 @@ function resolveSourceTokenAddress(symbol, chainId, topTokens) {
2073
2063
  }
2074
2064
  function TokenGlyph({ symbol }) {
2075
2065
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2076
- _chunkVN4BLZYCcjs.TokenIcon,
2066
+ _chunk6U2H3R3Tcjs.TokenIcon,
2077
2067
  {
2078
2068
  symbol,
2079
2069
  className: "rs-deposit-address-dropdown-icon",
@@ -2308,10 +2298,10 @@ function DepositAddressStep({
2308
2298
  return;
2309
2299
  }
2310
2300
  const event = status.lastEvent;
2311
- const eventTxHash = _chunkNMIMRASDcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkNMIMRASDcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2301
+ const eventTxHash = _chunkEEEQZOTJcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkEEEQZOTJcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2312
2302
  if (baselineTxHashRef.current === void 0) {
2313
2303
  baselineTxHashRef.current = eventTxHash;
2314
- } else if (eventTxHash && (!baselineTxHashRef.current || !_chunkNMIMRASDcjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
2304
+ } else if (eventTxHash && (!baselineTxHashRef.current || !_chunkEEEQZOTJcjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
2315
2305
  const details = getDepositEventDetails(event);
2316
2306
  const chainId = _nullishCoalesce(details.chainId, () => ( "unknown"));
2317
2307
  const amount = _nullishCoalesce(details.amount, () => ( "0"));
@@ -2388,7 +2378,7 @@ function DepositAddressStep({
2388
2378
  const qrIconSrc = _chunkH577RJN5cjs.getChainIcon.call(void 0, sourceChainId);
2389
2379
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-step--with-notifications", children: [
2390
2380
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
2391
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2381
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2392
2382
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", children: [
2393
2383
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", ref: chainDropdownRef, children: [
2394
2384
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
@@ -2404,14 +2394,14 @@ function DepositAddressStep({
2404
2394
  },
2405
2395
  children: [
2406
2396
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2407
- _chunkVN4BLZYCcjs.CdnIcon,
2397
+ _chunk6U2H3R3Tcjs.CdnIcon,
2408
2398
  {
2409
2399
  src: _chunkH577RJN5cjs.getChainIcon.call(void 0, sourceChainId),
2410
2400
  className: "rs-deposit-address-dropdown-icon"
2411
2401
  }
2412
2402
  ),
2413
2403
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainLabel(sourceChainId) }),
2414
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2404
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2415
2405
  ]
2416
2406
  }
2417
2407
  ),
@@ -2423,7 +2413,7 @@ function DepositAddressStep({
2423
2413
  onClick: () => handleSelectChain(chainId),
2424
2414
  children: [
2425
2415
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2426
- _chunkVN4BLZYCcjs.CdnIcon,
2416
+ _chunk6U2H3R3Tcjs.CdnIcon,
2427
2417
  {
2428
2418
  src: _chunkH577RJN5cjs.getChainIcon.call(void 0, chainId),
2429
2419
  className: "rs-deposit-address-dropdown-icon"
@@ -2441,8 +2431,8 @@ function DepositAddressStep({
2441
2431
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
2442
2432
  "Min.$",
2443
2433
  (targetChain === _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID || isHyperCore ? Math.max(_chunkH577RJN5cjs.HYPERCORE_MIN_DEPOSIT_USD, _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _72 => _72.minDepositUsd]), () => ( 0))) : _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _73 => _73.minDepositUsd]), () => ( 0.1))).toFixed(2),
2444
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNMIMRASDcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2445
- _chunkVN4BLZYCcjs.InfoIcon,
2434
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEEEQZOTJcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2435
+ _chunk6U2H3R3Tcjs.InfoIcon,
2446
2436
  {
2447
2437
  className: "rs-deposit-address-min-icon",
2448
2438
  "aria-hidden": "true"
@@ -2463,7 +2453,7 @@ function DepositAddressStep({
2463
2453
  children: [
2464
2454
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenGlyph, { symbol: sourceTokenSymbol }),
2465
2455
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceTokenSymbol }),
2466
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2456
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2467
2457
  ]
2468
2458
  }
2469
2459
  ),
@@ -2507,7 +2497,7 @@ function DepositAddressStep({
2507
2497
  className: "rs-deposit-address-copy",
2508
2498
  onClick: handleCopy,
2509
2499
  children: [
2510
- copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CopyIcon, {}),
2500
+ copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CopyIcon, {}),
2511
2501
  copied ? "Copied!" : "Copy address"
2512
2502
  ]
2513
2503
  }
@@ -2515,7 +2505,7 @@ function DepositAddressStep({
2515
2505
  ]
2516
2506
  }
2517
2507
  ),
2518
- targetChain === _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "warning", children: "HyperCore's first deposit to a new account includes a ~1 USDC activation fee \u2014 send at least 1 USDC or it will fail." }),
2508
+ targetChain === _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "warning", children: "HyperCore's first deposit to a new account includes a ~1 USDC activation fee \u2014 send at least 1 USDC or it will fail." }),
2519
2509
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2520
2510
  "div",
2521
2511
  {
@@ -2533,16 +2523,16 @@ function DepositAddressStep({
2533
2523
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: "Price impact" }),
2534
2524
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.00%" }) }),
2535
2525
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2536
- _chunkNMIMRASDcjs.Tooltip,
2526
+ _chunkEEEQZOTJcjs.Tooltip,
2537
2527
  {
2538
2528
  className: "rs-price-impact-info",
2539
2529
  content: "Price impact is the difference between expected and execution price, due to trade size and liquidity.",
2540
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.InfoIcon, { "aria-hidden": "true" })
2530
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.InfoIcon, { "aria-hidden": "true" })
2541
2531
  }
2542
2532
  )
2543
2533
  ] }),
2544
2534
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2545
- _chunkVN4BLZYCcjs.ChevronDownIcon,
2535
+ _chunk6U2H3R3Tcjs.ChevronDownIcon,
2546
2536
  {
2547
2537
  className: "rs-price-impact-chevron",
2548
2538
  "aria-hidden": "true"
@@ -2553,29 +2543,29 @@ function DepositAddressStep({
2553
2543
  ),
2554
2544
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-price-impact-panel", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-panel-inner", children: [
2555
2545
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
2556
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PercentIcon, {}) }),
2546
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PercentIcon, {}) }),
2557
2547
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2558
2548
  "Max slippage: ",
2559
2549
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.2%" })
2560
2550
  ] }),
2561
2551
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2562
- _chunkNMIMRASDcjs.Tooltip,
2552
+ _chunkEEEQZOTJcjs.Tooltip,
2563
2553
  {
2564
2554
  className: "rs-price-impact-info",
2565
2555
  content: "Slippage accounts for price changes during execution. Slippage is adjusted per pair to ensure reliable execution.",
2566
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.InfoIcon, { "aria-hidden": "true" })
2556
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.InfoIcon, { "aria-hidden": "true" })
2567
2557
  }
2568
2558
  )
2569
2559
  ] }),
2570
2560
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
2571
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ClockIcon, {}) }),
2561
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ClockIcon, {}) }),
2572
2562
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2573
2563
  "Processing time: ",
2574
2564
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "< 1 min" })
2575
2565
  ] })
2576
2566
  ] }),
2577
2567
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
2578
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PlusCircleIcon, {}) }),
2568
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PlusCircleIcon, {}) }),
2579
2569
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2580
2570
  "Max deposit:",
2581
2571
  " ",
@@ -2606,7 +2596,7 @@ function DepositAddressStep({
2606
2596
  },
2607
2597
  deposit.id
2608
2598
  )) }),
2609
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
2599
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
2610
2600
  ] });
2611
2601
  }
2612
2602
  DepositAddressStep.displayName = "DepositAddressStep";
@@ -2654,7 +2644,7 @@ function FinalisingDepositStep() {
2654
2644
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "rs-finalising-subtitle", children: "We are depositing your funds to the application." })
2655
2645
  ] })
2656
2646
  ] }),
2657
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
2647
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
2658
2648
  ] });
2659
2649
  }
2660
2650
  FinalisingDepositStep.displayName = "FinalisingDepositStep";
@@ -2684,7 +2674,7 @@ function SwappedOrderTracker({
2684
2674
  ];
2685
2675
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-swapped-tracker", children: [
2686
2676
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2687
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.HandCoinsIcon, {}), title }),
2677
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.HandCoinsIcon, {}), title }),
2688
2678
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "rs-swapped-tracker-steps", children: labels.map((label, idx) => {
2689
2679
  const status = stepStates[idx];
2690
2680
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -2698,7 +2688,7 @@ function SwappedOrderTracker({
2698
2688
  {
2699
2689
  className: "rs-swapped-tracker-step-marker",
2700
2690
  "aria-hidden": "true",
2701
- children: status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Spinner, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2691
+ children: status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Spinner, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2702
2692
  "svg",
2703
2693
  {
2704
2694
  className: "rs-swapped-tracker-step-ring",
@@ -2733,7 +2723,7 @@ function SwappedOrderTracker({
2733
2723
  }
2734
2724
  )
2735
2725
  ] }),
2736
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
2726
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
2737
2727
  ] });
2738
2728
  }
2739
2729
  function formatTrackerAmount(amount) {
@@ -2938,10 +2928,10 @@ function SwappedIframeStep({
2938
2928
  const status = await service.fetchLatestStatus(smartAccount);
2939
2929
  if (cancelled) return;
2940
2930
  const event = status.lastEvent;
2941
- const eventTxHash = _chunkNMIMRASDcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkNMIMRASDcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2931
+ const eventTxHash = _chunkEEEQZOTJcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkEEEQZOTJcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2942
2932
  if (baselineDepositTxHashRef.current === void 0) {
2943
2933
  baselineDepositTxHashRef.current = eventTxHash;
2944
- } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunkNMIMRASDcjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
2934
+ } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunkEEEQZOTJcjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
2945
2935
  currentDepositTxHashRef.current = eventTxHash;
2946
2936
  setLatestEvent(_nullishCoalesce(event, () => ( null)));
2947
2937
  }
@@ -3015,10 +3005,10 @@ function SwappedIframeStep({
3015
3005
  [orderState, latestEvent]
3016
3006
  );
3017
3007
  const terminalState = _react.useMemo.call(void 0, () => {
3018
- if (_chunkNMIMRASDcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3008
+ if (_chunkEEEQZOTJcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3019
3009
  return {
3020
3010
  kind: "failed",
3021
- message: _chunkNMIMRASDcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3011
+ message: _chunkEEEQZOTJcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3022
3012
  };
3023
3013
  }
3024
3014
  if (_optionalChain([orderState, 'optionalAccess', _90 => _90.status]) === "order_cancelled") {
@@ -3041,7 +3031,7 @@ function SwappedIframeStep({
3041
3031
  orderCrypto: _nullishCoalesce(_optionalChain([orderState, 'optionalAccess', _92 => _92.orderCrypto]), () => ( null)),
3042
3032
  // Base-unit source amount from the deposit row/event, consistent with the
3043
3033
  // wallet/QR path. ProcessingStep + onLifecycle expect base units.
3044
- amount: _nullishCoalesce(_chunkNMIMRASDcjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null)),
3034
+ amount: _nullishCoalesce(_chunkEEEQZOTJcjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null)),
3045
3035
  expectedOrderUuid: expectedOrderUuidRef.current,
3046
3036
  initialEvent: _nullishCoalesce(latestEvent, () => ( void 0))
3047
3037
  };
@@ -3052,14 +3042,14 @@ function SwappedIframeStep({
3052
3042
  }, [latestEvent, orderState, smartAccount]);
3053
3043
  _react.useEffect.call(void 0, () => {
3054
3044
  if (failedFiredRef.current || completeFiredRef.current) return;
3055
- if (!_chunkNMIMRASDcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
3045
+ if (!_chunkEEEQZOTJcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
3056
3046
  const txHash = currentDepositTxHashRef.current;
3057
3047
  if (!txHash) return;
3058
3048
  failedFiredRef.current = true;
3059
3049
  setPhase("tracker");
3060
3050
  _optionalChain([onSwappedFailedRef, 'access', _93 => _93.current, 'optionalCall', _94 => _94(
3061
3051
  txHash,
3062
- _chunkNMIMRASDcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3052
+ _chunkEEEQZOTJcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3063
3053
  )]);
3064
3054
  }, [latestEvent]);
3065
3055
  const immersive = variant === "fiat" && phase === "iframe" && !loadError;
@@ -3105,7 +3095,7 @@ function SwappedIframeStep({
3105
3095
  }
3106
3096
  )
3107
3097
  ] }),
3108
- !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Spinner, {}) }),
3098
+ !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Spinner, {}) }),
3109
3099
  widgetUrl && !loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3110
3100
  "iframe",
3111
3101
  {
@@ -3128,11 +3118,11 @@ function SwappedIframeStep({
3128
3118
  retryToken
3129
3119
  )
3130
3120
  ] }) }),
3131
- loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
3121
+ loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
3132
3122
  ] });
3133
3123
  }
3134
3124
  function deriveStepStates(swappedStatus, latestEvent) {
3135
- if (_chunkNMIMRASDcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3125
+ if (_chunkEEEQZOTJcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3136
3126
  return ["complete", "complete", "failed", "pending"];
3137
3127
  }
3138
3128
  if (swappedStatus === "order_cancelled") {
@@ -3322,7 +3312,7 @@ ExchangeConnectStep.displayName = "ExchangeConnectStep";
3322
3312
  function ExchangeLogo({ exchange }) {
3323
3313
  const [failed, setFailed] = _react.useState.call(void 0, false);
3324
3314
  if (!exchange.logoUrl || failed) {
3325
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BankIcon, {});
3315
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BankIcon, {});
3326
3316
  }
3327
3317
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3328
3318
  "img",
@@ -3403,14 +3393,14 @@ function ExchangeSelectStep({
3403
3393
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-exchange-select", children: [
3404
3394
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3405
3395
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3406
- _chunkVN4BLZYCcjs.BodyHeader,
3396
+ _chunk6U2H3R3Tcjs.BodyHeader,
3407
3397
  {
3408
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.UnplugIcon, {}),
3398
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.UnplugIcon, {}),
3409
3399
  title: "Connect exchange",
3410
3400
  subtitle: "Select an exchange to connect"
3411
3401
  }
3412
3402
  ),
3413
- loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Spinner, {}) }),
3403
+ loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Spinner, {}) }),
3414
3404
  !loading && error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: [
3415
3405
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state-title", children: "Couldn\u2019t load exchanges" }),
3416
3406
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -3436,7 +3426,7 @@ function ExchangeSelectStep({
3436
3426
  )
3437
3427
  ] }),
3438
3428
  !loading && !error && exchanges.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-grid", children: exchanges.map((exchange) => {
3439
- const brand = _chunkNMIMRASDcjs.getExchangeLogo.call(void 0, exchange.name, exchange.connection);
3429
+ const brand = _chunkEEEQZOTJcjs.getExchangeLogo.call(void 0, exchange.name, exchange.connection);
3440
3430
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3441
3431
  "button",
3442
3432
  {
@@ -3461,7 +3451,7 @@ function ExchangeSelectStep({
3461
3451
  );
3462
3452
  }) })
3463
3453
  ] }),
3464
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {}),
3454
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {}),
3465
3455
  exchangeFeeBps > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "rs-exchange-select-fee-note", children: [
3466
3456
  "A ",
3467
3457
  formatFeeRate(exchangeFeeBps),
@@ -3487,20 +3477,20 @@ function DepositAddressSkeleton({
3487
3477
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", "aria-busy": "true", children: [
3488
3478
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: "Preparing deposit details\u2026" }),
3489
3479
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
3490
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
3480
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
3491
3481
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", "aria-hidden": "true", children: [
3492
3482
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
3493
3483
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
3494
3484
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown-trigger", children: [
3495
3485
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3496
- _chunkVN4BLZYCcjs.CdnIcon,
3486
+ _chunk6U2H3R3Tcjs.CdnIcon,
3497
3487
  {
3498
3488
  src: chainIcon,
3499
3489
  className: "rs-deposit-address-dropdown-icon"
3500
3490
  }
3501
3491
  ),
3502
3492
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainName }),
3503
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3493
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3504
3494
  ] })
3505
3495
  ] }),
3506
3496
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
@@ -3509,8 +3499,8 @@ function DepositAddressSkeleton({
3509
3499
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
3510
3500
  "Min.$",
3511
3501
  (_nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _109 => _109.minDepositUsd]), () => ( 0.1))).toFixed(2),
3512
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNMIMRASDcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3513
- _chunkVN4BLZYCcjs.InfoIcon,
3502
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEEEQZOTJcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3503
+ _chunk6U2H3R3Tcjs.InfoIcon,
3514
3504
  {
3515
3505
  className: "rs-deposit-address-min-icon",
3516
3506
  "aria-hidden": "true"
@@ -3520,14 +3510,14 @@ function DepositAddressSkeleton({
3520
3510
  ] }),
3521
3511
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown-trigger", children: [
3522
3512
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3523
- _chunkVN4BLZYCcjs.TokenIcon,
3513
+ _chunk6U2H3R3Tcjs.TokenIcon,
3524
3514
  {
3525
3515
  symbol: defaultToken,
3526
3516
  className: "rs-deposit-address-dropdown-icon"
3527
3517
  }
3528
3518
  ),
3529
3519
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: defaultToken }),
3530
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3520
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3531
3521
  ] })
3532
3522
  ] })
3533
3523
  ] }),
@@ -3548,7 +3538,7 @@ function DepositAddressSkeleton({
3548
3538
  disabled: true,
3549
3539
  "aria-hidden": "true",
3550
3540
  children: [
3551
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CopyIcon, {}),
3541
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CopyIcon, {}),
3552
3542
  "Copy address"
3553
3543
  ]
3554
3544
  }
@@ -3561,16 +3551,16 @@ function DepositAddressSkeleton({
3561
3551
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: "Price impact" }),
3562
3552
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.00%" }) }),
3563
3553
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3564
- _chunkNMIMRASDcjs.Tooltip,
3554
+ _chunkEEEQZOTJcjs.Tooltip,
3565
3555
  {
3566
3556
  className: "rs-price-impact-info",
3567
3557
  content: "Price impact is the difference between expected and execution price, due to trade size and liquidity.",
3568
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.InfoIcon, { "aria-hidden": "true" })
3558
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.InfoIcon, { "aria-hidden": "true" })
3569
3559
  }
3570
3560
  )
3571
3561
  ] }),
3572
3562
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3573
- _chunkVN4BLZYCcjs.ChevronDownIcon,
3563
+ _chunk6U2H3R3Tcjs.ChevronDownIcon,
3574
3564
  {
3575
3565
  className: "rs-price-impact-chevron",
3576
3566
  "aria-hidden": "true"
@@ -3578,7 +3568,7 @@ function DepositAddressSkeleton({
3578
3568
  )
3579
3569
  ] }) })
3580
3570
  ] }),
3581
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
3571
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
3582
3572
  ] });
3583
3573
  }
3584
3574
  DepositAddressSkeleton.displayName = "DepositAddressSkeleton";
@@ -3610,7 +3600,7 @@ function SolanaTokenSelectStep({
3610
3600
  setError(null);
3611
3601
  const portfolioBySymbol = {};
3612
3602
  try {
3613
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
3603
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
3614
3604
  solanaAddress
3615
3605
  });
3616
3606
  const portfolio = await service.fetchSolanaPortfolio(solanaAddress);
@@ -3633,12 +3623,12 @@ function SolanaTokenSelectStep({
3633
3623
  };
3634
3624
  }
3635
3625
  }
3636
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
3626
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
3637
3627
  symbols: Object.keys(portfolioBySymbol)
3638
3628
  });
3639
3629
  } catch (err) {
3640
3630
  if (!active) return;
3641
- _chunkVN4BLZYCcjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
3631
+ _chunk6U2H3R3Tcjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
3642
3632
  solanaAddress
3643
3633
  });
3644
3634
  setError(
@@ -3685,7 +3675,7 @@ function SolanaTokenSelectStep({
3685
3675
  const raw = _viem.formatUnits.call(void 0, entry.balance, entry.token.decimals);
3686
3676
  const numeric = Number(raw);
3687
3677
  if (!Number.isFinite(numeric)) return raw;
3688
- return _chunkVN4BLZYCcjs.tokenFormatter.format(numeric);
3678
+ return _chunk6U2H3R3Tcjs.tokenFormatter.format(numeric);
3689
3679
  } catch (e22) {
3690
3680
  return "--";
3691
3681
  }
@@ -3695,20 +3685,20 @@ function SolanaTokenSelectStep({
3695
3685
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3696
3686
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
3697
3687
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3698
- _chunkVN4BLZYCcjs.BodyHeader,
3688
+ _chunk6U2H3R3Tcjs.BodyHeader,
3699
3689
  {
3700
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {}),
3690
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {}),
3701
3691
  title: "Your assets",
3702
3692
  subtitle: "Select source assets to transfer"
3703
3693
  }
3704
3694
  ),
3705
3695
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
3706
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Spinner, { className: "rs-text-tertiary" }),
3696
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Spinner, { className: "rs-text-tertiary" }),
3707
3697
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
3708
3698
  ] }),
3709
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "error", children: error }),
3699
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "error", children: error }),
3710
3700
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
3711
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, { className: "rs-empty-icon" }),
3701
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, { className: "rs-empty-icon" }),
3712
3702
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
3713
3703
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
3714
3704
  solanaAddress.slice(0, 6),
@@ -3739,13 +3729,13 @@ function SolanaTokenSelectStep({
3739
3729
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-info", children: [
3740
3730
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-icon-wrapper", children: [
3741
3731
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3742
- _chunkVN4BLZYCcjs.TokenIcon,
3732
+ _chunk6U2H3R3Tcjs.TokenIcon,
3743
3733
  {
3744
3734
  symbol: entry.token.symbol,
3745
3735
  fallback: entry.token.symbol.slice(0, 4)
3746
3736
  }
3747
3737
  ) }),
3748
- chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: chainIcon, alt: chainName }) })
3738
+ chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: chainIcon, alt: chainName }) })
3749
3739
  ] }),
3750
3740
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-text", children: [
3751
3741
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-name-row", children: [
@@ -3762,14 +3752,14 @@ function SolanaTokenSelectStep({
3762
3752
  ] })
3763
3753
  ] })
3764
3754
  ] }),
3765
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunkVN4BLZYCcjs.currencyFormatter.format(entry.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${entry.token.symbol}` : "--" })
3755
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunk6U2H3R3Tcjs.currencyFormatter.format(entry.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${entry.token.symbol}` : "--" })
3766
3756
  ]
3767
3757
  },
3768
3758
  entry.token.symbol
3769
3759
  );
3770
3760
  }) }),
3771
3761
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3772
- _chunkVN4BLZYCcjs.Button,
3762
+ _chunk6U2H3R3Tcjs.Button,
3773
3763
  {
3774
3764
  onClick: () => selectedEntry && onContinue(
3775
3765
  selectedEntry.token,
@@ -3782,7 +3772,7 @@ function SolanaTokenSelectStep({
3782
3772
  }
3783
3773
  )
3784
3774
  ] }),
3785
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
3775
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
3786
3776
  ] });
3787
3777
  }
3788
3778
 
@@ -3834,7 +3824,7 @@ function SolanaAmountStep({
3834
3824
  const raw = _viem.formatUnits.call(void 0, balance, token.decimals);
3835
3825
  const numeric = Number(raw);
3836
3826
  if (!Number.isFinite(numeric)) return raw;
3837
- return _chunkVN4BLZYCcjs.tokenFormatter.format(numeric);
3827
+ return _chunk6U2H3R3Tcjs.tokenFormatter.format(numeric);
3838
3828
  } catch (e24) {
3839
3829
  return "\u2026";
3840
3830
  }
@@ -3927,7 +3917,7 @@ function SolanaAmountStep({
3927
3917
  const handlePresetClick = (percentage) => {
3928
3918
  const formatted = computePresetAmount(percentage);
3929
3919
  if (!formatted) return;
3930
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
3920
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
3931
3921
  percentage,
3932
3922
  symbol: token.symbol,
3933
3923
  formatted
@@ -3962,7 +3952,7 @@ function SolanaAmountStep({
3962
3952
  try {
3963
3953
  amountInUnits = _viem.parseUnits.call(void 0, sourceAmountStr, token.decimals);
3964
3954
  } catch (e29) {
3965
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
3955
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
3966
3956
  amount,
3967
3957
  sourceAmount: sourceAmountStr,
3968
3958
  reason: "parse-units-failed"
@@ -3977,7 +3967,7 @@ function SolanaAmountStep({
3977
3967
  );
3978
3968
  return;
3979
3969
  }
3980
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
3970
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
3981
3971
  symbol: token.symbol,
3982
3972
  inputAmountUsd: amount,
3983
3973
  sourceAmount: sourceAmountStr,
@@ -3990,7 +3980,7 @@ function SolanaAmountStep({
3990
3980
  const continueDisabled = exceedsBalance || numericAmount === 0 && !isBelowMin;
3991
3981
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3992
3982
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3993
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {}), title: "Wallet deposit" }),
3983
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {}), title: "Wallet deposit" }),
3994
3984
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
3995
3985
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
3996
3986
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -4010,13 +4000,13 @@ function SolanaAmountStep({
4010
4000
  " available",
4011
4001
  computedBalanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4012
4002
  " (~",
4013
- _chunkVN4BLZYCcjs.currencyFormatter.format(computedBalanceUsd),
4003
+ _chunk6U2H3R3Tcjs.currencyFormatter.format(computedBalanceUsd),
4014
4004
  ")"
4015
4005
  ] })
4016
4006
  ] }),
4017
4007
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
4018
4008
  "Min. deposit ",
4019
- _chunkVN4BLZYCcjs.currencyFormatter.format(minDepositUsd)
4009
+ _chunk6U2H3R3Tcjs.currencyFormatter.format(minDepositUsd)
4020
4010
  ] })
4021
4011
  ] })
4022
4012
  ] }),
@@ -4039,7 +4029,7 @@ function SolanaAmountStep({
4039
4029
  "Solana ",
4040
4030
  token.symbol
4041
4031
  ] }),
4042
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TokenIcon, { symbol: token.symbol }) })
4032
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TokenIcon, { symbol: token.symbol }) })
4043
4033
  ] })
4044
4034
  ] }),
4045
4035
  targetChainName && targetTokenSymbol && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
@@ -4050,18 +4040,18 @@ function SolanaAmountStep({
4050
4040
  " ",
4051
4041
  targetTokenSymbol
4052
4042
  ] }),
4053
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TokenIcon, { symbol: targetTokenSymbol }) })
4043
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TokenIcon, { symbol: targetTokenSymbol }) })
4054
4044
  ] })
4055
4045
  ] }),
4056
4046
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
4057
4047
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
4058
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkVN4BLZYCcjs.currencyFormatter.format(balanceAfterUsd) })
4048
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunk6U2H3R3Tcjs.currencyFormatter.format(balanceAfterUsd) })
4059
4049
  ] })
4060
4050
  ] }),
4061
- targetChain === _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
4062
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "error", children: error }),
4051
+ targetChain === _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
4052
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "error", children: error }),
4063
4053
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4064
- _chunkVN4BLZYCcjs.Button,
4054
+ _chunk6U2H3R3Tcjs.Button,
4065
4055
  {
4066
4056
  onClick: handleContinue,
4067
4057
  fullWidth: true,
@@ -4070,7 +4060,7 @@ function SolanaAmountStep({
4070
4060
  }
4071
4061
  )
4072
4062
  ] }),
4073
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
4063
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
4074
4064
  ] });
4075
4065
  }
4076
4066
 
@@ -4093,10 +4083,10 @@ var _spltoken = require('@solana/spl-token');
4093
4083
  var DEFAULT_SOLANA_RPC_URL = "https://api.mainnet.solana.com";
4094
4084
  var cachedConnections = /* @__PURE__ */ new Map();
4095
4085
  function getSolanaRpcUrl(rpcUrls) {
4096
- return _nullishCoalesce(_chunkVN4BLZYCcjs.rpcUrlFor.call(void 0, rpcUrls, "solana"), () => ( DEFAULT_SOLANA_RPC_URL));
4086
+ return _nullishCoalesce(_chunk6U2H3R3Tcjs.rpcUrlFor.call(void 0, rpcUrls, "solana"), () => ( DEFAULT_SOLANA_RPC_URL));
4097
4087
  }
4098
4088
  function hasConfiguredSolanaRpcUrl(rpcUrls) {
4099
- return _chunkVN4BLZYCcjs.rpcUrlFor.call(void 0, rpcUrls, "solana") !== void 0;
4089
+ return _chunk6U2H3R3Tcjs.rpcUrlFor.call(void 0, rpcUrls, "solana") !== void 0;
4100
4090
  }
4101
4091
  function getSolanaConnection(rpcUrls) {
4102
4092
  const rpcUrl = getSolanaRpcUrl(rpcUrls);
@@ -4198,7 +4188,7 @@ function SolanaConfirmStep({
4198
4188
  onError,
4199
4189
  debug
4200
4190
  }) {
4201
- const rpcUrls = _chunkVN4BLZYCcjs.useRpcUrls.call(void 0, );
4191
+ const rpcUrls = _chunk6U2H3R3Tcjs.useRpcUrls.call(void 0, );
4202
4192
  const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
4203
4193
  const [error, setError] = _react.useState.call(void 0, null);
4204
4194
  const targetSymbol = _chunkH577RJN5cjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
@@ -4208,26 +4198,26 @@ function SolanaConfirmStep({
4208
4198
  const targetChainIcon = _chunkH577RJN5cjs.getChainIcon.call(void 0, targetChain);
4209
4199
  const feeSponsored = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _118 => _118.feeSponsored]), () => ( false));
4210
4200
  const feeTooltip = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _119 => _119.feeTooltip]), () => ( (feeSponsored ? "Network fees are sponsored for this deposit." : "Network fees apply.")));
4211
- const formattedAmount = sourceAmount && Number.isFinite(Number(sourceAmount)) ? _nullishCoalesce(_chunkVN4BLZYCcjs.formatTokenAmount.call(void 0, Number(sourceAmount), token.symbol), () => ( "0")) : "0";
4201
+ const formattedAmount = sourceAmount && Number.isFinite(Number(sourceAmount)) ? _nullishCoalesce(_chunk6U2H3R3Tcjs.formatTokenAmount.call(void 0, Number(sourceAmount), token.symbol), () => ( "0")) : "0";
4212
4202
  const receiveDisplay = (() => {
4213
4203
  const usdValue = Number(targetAmount);
4214
4204
  const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
4215
- const estimate = _chunkVN4BLZYCcjs.formatReceiveEstimate.call(void 0, {
4205
+ const estimate = _chunk6U2H3R3Tcjs.formatReceiveEstimate.call(void 0, {
4216
4206
  sourceAmount: Number.isFinite(Number(sourceAmount)) ? Number(sourceAmount) : void 0,
4217
4207
  sourceSymbol: token.symbol,
4218
4208
  targetSymbol,
4219
4209
  sourceAmountUsd,
4220
- sourceTrusted: _chunkVN4BLZYCcjs.isRecognizedToken.call(void 0, token.mint, "solana"),
4210
+ sourceTrusted: _chunk6U2H3R3Tcjs.isRecognizedToken.call(void 0, token.mint, "solana"),
4221
4211
  // Curated stablecoin target estimates at $1 when unquoted; never applied
4222
4212
  // to the source (a held token). See ConfirmStep for the rationale.
4223
- prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkVN4BLZYCcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
4213
+ prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunk6U2H3R3Tcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
4224
4214
  });
4225
4215
  if (estimate !== void 0) return estimate;
4226
4216
  return targetSymbol;
4227
4217
  })();
4228
4218
  const handleConfirm = async () => {
4229
4219
  if (!solanaProvider) {
4230
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4220
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4231
4221
  reason: "missing-provider"
4232
4222
  });
4233
4223
  setError("Solana wallet not connected");
@@ -4235,7 +4225,7 @@ function SolanaConfirmStep({
4235
4225
  }
4236
4226
  const parsedAmount = parseFloat(sourceAmount);
4237
4227
  if (isNaN(parsedAmount) || parsedAmount <= 0) {
4238
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4228
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4239
4229
  reason: "invalid-amount",
4240
4230
  sourceAmount
4241
4231
  });
@@ -4244,7 +4234,7 @@ function SolanaConfirmStep({
4244
4234
  }
4245
4235
  setError(null);
4246
4236
  setIsSubmitting(true);
4247
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
4237
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
4248
4238
  smartAccount,
4249
4239
  solanaAddress,
4250
4240
  solanaDepositAddress,
@@ -4254,7 +4244,7 @@ function SolanaConfirmStep({
4254
4244
  });
4255
4245
  try {
4256
4246
  const check = await service.checkAccount(smartAccount);
4257
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
4247
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
4258
4248
  smartAccount,
4259
4249
  isRegistered: check.isRegistered,
4260
4250
  targetChain: check.targetChain,
@@ -4267,7 +4257,7 @@ function SolanaConfirmStep({
4267
4257
  }
4268
4258
  const connection = hasConfiguredSolanaRpcUrl(rpcUrls) ? getSolanaConnection(rpcUrls) : _nullishCoalesce(solanaConnection, () => ( getSolanaConnection(rpcUrls)));
4269
4259
  const amountUnits = _viem.parseUnits.call(void 0, sourceAmount, token.decimals);
4270
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
4260
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
4271
4261
  token: token.symbol,
4272
4262
  sourceAmount,
4273
4263
  amountUnits: amountUnits.toString()
@@ -4284,7 +4274,7 @@ function SolanaConfirmStep({
4284
4274
  token.mint,
4285
4275
  amountUnits
4286
4276
  );
4287
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
4277
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
4288
4278
  token: token.symbol,
4289
4279
  instructionCount: transaction.instructions.length,
4290
4280
  feePayer: _optionalChain([transaction, 'access', _120 => _120.feePayer, 'optionalAccess', _121 => _121.toBase58, 'call', _122 => _122()]),
@@ -4295,7 +4285,7 @@ function SolanaConfirmStep({
4295
4285
  connection,
4296
4286
  transaction
4297
4287
  );
4298
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
4288
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
4299
4289
  txHash,
4300
4290
  amountUnits: amountUnits.toString()
4301
4291
  });
@@ -4307,8 +4297,8 @@ function SolanaConfirmStep({
4307
4297
  });
4308
4298
  } catch (err) {
4309
4299
  const raw = err instanceof Error ? err.message : "Transfer failed";
4310
- const message = _chunkVN4BLZYCcjs.formatUserError.call(void 0, raw);
4311
- _chunkVN4BLZYCcjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
4300
+ const message = _chunk6U2H3R3Tcjs.formatUserError.call(void 0, raw);
4301
+ _chunk6U2H3R3Tcjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
4312
4302
  smartAccount,
4313
4303
  token: token.symbol,
4314
4304
  sourceAmount
@@ -4321,20 +4311,20 @@ function SolanaConfirmStep({
4321
4311
  };
4322
4312
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4323
4313
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4324
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {}), title: "Review deposit" }),
4314
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {}), title: "Review deposit" }),
4325
4315
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-details", children: [
4326
4316
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
4327
4317
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
4328
4318
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
4329
4319
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceChainName }),
4330
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: sourceChainIcon }) })
4320
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: sourceChainIcon }) })
4331
4321
  ] })
4332
4322
  ] }),
4333
4323
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
4334
4324
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Destination chain" }),
4335
4325
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
4336
4326
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName }),
4337
- targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: targetChainIcon }) })
4327
+ targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: targetChainIcon }) })
4338
4328
  ] })
4339
4329
  ] }),
4340
4330
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -4349,14 +4339,14 @@ function SolanaConfirmStep({
4349
4339
  " ",
4350
4340
  token.symbol
4351
4341
  ] }),
4352
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TokenIcon, { symbol: token.symbol }) })
4342
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TokenIcon, { symbol: token.symbol }) })
4353
4343
  ] })
4354
4344
  ] }),
4355
4345
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
4356
4346
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Receive" }),
4357
4347
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
4358
4348
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
4359
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TokenIcon, { symbol: targetSymbol }) })
4349
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TokenIcon, { symbol: targetSymbol }) })
4360
4350
  ] })
4361
4351
  ] }),
4362
4352
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -4369,13 +4359,13 @@ function SolanaConfirmStep({
4369
4359
  children: "$0.04"
4370
4360
  }
4371
4361
  ),
4372
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNMIMRASDcjs.Tooltip, { content: feeTooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-info", "aria-label": "Fee info", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.InfoIcon, {}) }) })
4362
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEEEQZOTJcjs.Tooltip, { content: feeTooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-info", "aria-label": "Fee info", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.InfoIcon, {}) }) })
4373
4363
  ] })
4374
4364
  ] })
4375
4365
  ] }),
4376
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Callout, { variant: "error", children: error }),
4366
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Callout, { variant: "error", children: error }),
4377
4367
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4378
- _chunkVN4BLZYCcjs.Button,
4368
+ _chunk6U2H3R3Tcjs.Button,
4379
4369
  {
4380
4370
  onClick: handleConfirm,
4381
4371
  loading: isSubmitting,
@@ -4386,7 +4376,7 @@ function SolanaConfirmStep({
4386
4376
  }
4387
4377
  )
4388
4378
  ] }),
4389
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
4379
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
4390
4380
  ] });
4391
4381
  }
4392
4382
 
@@ -4400,18 +4390,18 @@ function DappImportAssetSelectStep({
4400
4390
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4401
4391
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4402
4392
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4403
- _chunkVN4BLZYCcjs.BodyHeader,
4393
+ _chunk6U2H3R3Tcjs.BodyHeader,
4404
4394
  {
4405
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {}),
4395
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {}),
4406
4396
  title: `Transfer from ${sourceLabel}`,
4407
4397
  subtitle: "Pick the balance to import"
4408
4398
  }
4409
4399
  ),
4410
4400
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-list", children: assets.map((asset) => {
4411
- const tokenAmount = asset.balance ? _chunkVN4BLZYCcjs.tokenFormatter.format(
4401
+ const tokenAmount = asset.balance ? _chunk6U2H3R3Tcjs.tokenFormatter.format(
4412
4402
  Number(asset.balance) / 10 ** asset.decimals
4413
4403
  ) : "0";
4414
- const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunkVN4BLZYCcjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
4404
+ const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunk6U2H3R3Tcjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
4415
4405
  const assetIcon = asset.icon;
4416
4406
  const chainIcon = _chunkH577RJN5cjs.getChainIcon.call(void 0, asset.chainId);
4417
4407
  const badge = _chunkH577RJN5cjs.getChainBadge.call(void 0, asset.chainId);
@@ -4424,14 +4414,14 @@ function DappImportAssetSelectStep({
4424
4414
  children: [
4425
4415
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-info", children: [
4426
4416
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-icon-wrapper", children: [
4427
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: assetIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: assetIcon, alt: asset.symbol }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4428
- _chunkVN4BLZYCcjs.TokenIcon,
4417
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: assetIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: assetIcon, alt: asset.symbol }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4418
+ _chunk6U2H3R3Tcjs.TokenIcon,
4429
4419
  {
4430
4420
  symbol: asset.symbol,
4431
4421
  fallback: asset.symbol.slice(0, 4)
4432
4422
  }
4433
4423
  ) }),
4434
- chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: chainIcon, alt: _chunkH577RJN5cjs.getChainName.call(void 0, asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4424
+ chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: chainIcon, alt: _chunkH577RJN5cjs.getChainName.call(void 0, asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4435
4425
  "span",
4436
4426
  {
4437
4427
  className: "rs-asset-chain-badge",
@@ -4462,7 +4452,7 @@ function DappImportAssetSelectStep({
4462
4452
  );
4463
4453
  }) })
4464
4454
  ] }),
4465
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
4455
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
4466
4456
  ] });
4467
4457
  }
4468
4458
  DappImportAssetSelectStep.displayName = "DappImportAssetSelectStep";
@@ -4484,7 +4474,7 @@ function describeRow(status, comingSoon) {
4484
4474
  }
4485
4475
  if (status.enabled) {
4486
4476
  return {
4487
- subtitle: status.balanceUsd > 0 ? _chunkVN4BLZYCcjs.currencyFormatter.format(status.balanceUsd) : "No balance",
4477
+ subtitle: status.balanceUsd > 0 ? _chunk6U2H3R3Tcjs.currencyFormatter.format(status.balanceUsd) : "No balance",
4488
4478
  disabled: false,
4489
4479
  busy: false
4490
4480
  };
@@ -4507,9 +4497,9 @@ function DappImportSelectStep({
4507
4497
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4508
4498
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4509
4499
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4510
- _chunkVN4BLZYCcjs.BodyHeader,
4500
+ _chunk6U2H3R3Tcjs.BodyHeader,
4511
4501
  {
4512
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.MigrateAssetsIcon, {}),
4502
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.MigrateAssetsIcon, {}),
4513
4503
  title: "Migrate assets",
4514
4504
  subtitle: "Select a position to migrate"
4515
4505
  }
@@ -4521,13 +4511,13 @@ function DappImportSelectStep({
4521
4511
  Boolean(brand.comingSoon)
4522
4512
  );
4523
4513
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4524
- _chunkT7LGQFP3cjs.ListRow,
4514
+ _chunkEAUF7SGMcjs.ListRow,
4525
4515
  {
4526
4516
  leadingMedia: brand.iconUrl,
4527
4517
  title: brand.label,
4528
4518
  subtitle,
4529
4519
  disabled,
4530
- trailing: busy ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Spinner, { className: "rs-spinner--sm" }) : void 0,
4520
+ trailing: busy ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Spinner, { className: "rs-spinner--sm" }) : void 0,
4531
4521
  onClick: () => {
4532
4522
  if (status === "needs-connect") {
4533
4523
  _optionalChain([onRequestConnect, 'optionalCall', _124 => _124()]);
@@ -4540,7 +4530,7 @@ function DappImportSelectStep({
4540
4530
  );
4541
4531
  }) })
4542
4532
  ] }),
4543
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
4533
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
4544
4534
  ] });
4545
4535
  }
4546
4536
  DappImportSelectStep.displayName = "DappImportSelectStep";
@@ -4557,9 +4547,9 @@ function DappImportAssetSelectSkeleton({
4557
4547
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: error ? "Couldn't load balances" : "Loading balances\u2026" }),
4558
4548
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4559
4549
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4560
- _chunkVN4BLZYCcjs.BodyHeader,
4550
+ _chunk6U2H3R3Tcjs.BodyHeader,
4561
4551
  {
4562
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.WalletIcon, {}),
4552
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.WalletIcon, {}),
4563
4553
  title: `Transfer from ${sourceLabel}`,
4564
4554
  subtitle: "Pick the balance to import"
4565
4555
  }
@@ -4597,13 +4587,13 @@ function DappImportAssetSelectSkeleton({
4597
4587
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Try again" })
4598
4588
  }
4599
4589
  ) }),
4600
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
4590
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
4601
4591
  ] });
4602
4592
  }
4603
4593
  DappImportAssetSelectSkeleton.displayName = "DappImportAssetSelectSkeleton";
4604
4594
 
4605
4595
  // src/core/fiat-methods.ts
4606
- var REGIONAL_METHODS_FALLBACK_DELAY_MS = 500;
4596
+ var REGIONAL_METHODS_TIMEOUT_MS = 3e3;
4607
4597
  var BUILT_IN_ICON_METHODS = /* @__PURE__ */ new Set([
4608
4598
  "creditcard",
4609
4599
  "bank-transfer",
@@ -6213,11 +6203,11 @@ function DepositFlow({
6213
6203
  onError,
6214
6204
  debug
6215
6205
  }) {
6216
- const rpcUrls = _chunkVN4BLZYCcjs.useRpcUrls.call(void 0, );
6217
- const onStepChangeRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, onStepChange);
6218
- const onEventRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, onEvent);
6219
- const onLifecycleRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, onLifecycle);
6220
- const onErrorRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, onError);
6206
+ const rpcUrls = _chunk6U2H3R3Tcjs.useRpcUrls.call(void 0, );
6207
+ const onStepChangeRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, onStepChange);
6208
+ const onEventRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, onEvent);
6209
+ const onLifecycleRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, onLifecycle);
6210
+ const onErrorRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, onError);
6221
6211
  const storeApi = useDepositStoreApi();
6222
6212
  const flowSlice = useDepositStore((s) => s.flow);
6223
6213
  const depositSlice = useDepositStore((s) => s.deposit);
@@ -6234,13 +6224,13 @@ function DepositFlow({
6234
6224
  const stableWalletSelectionKeyRef = _react.useRef.call(void 0, null);
6235
6225
  const logFlow = _react.useCallback.call(void 0,
6236
6226
  (message, data) => {
6237
- _chunkVN4BLZYCcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
6227
+ _chunk6U2H3R3Tcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
6238
6228
  },
6239
6229
  [debug]
6240
6230
  );
6241
6231
  const logFlowError = _react.useCallback.call(void 0,
6242
6232
  (message, error, data) => {
6243
- _chunkVN4BLZYCcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
6233
+ _chunk6U2H3R3Tcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
6244
6234
  },
6245
6235
  [debug]
6246
6236
  );
@@ -6372,7 +6362,7 @@ function DepositFlow({
6372
6362
  return;
6373
6363
  }
6374
6364
  let cancelled = false;
6375
- _chunkNMIMRASDcjs.fetchTokenPriceUsd.call(void 0, service, {
6365
+ _chunkEEEQZOTJcjs.fetchTokenPriceUsd.call(void 0, service, {
6376
6366
  chainId: targetChain,
6377
6367
  address: targetToken,
6378
6368
  symbol: targetSymbol
@@ -6393,7 +6383,7 @@ function DepositFlow({
6393
6383
  return {
6394
6384
  ownerAddress: walletClientProp.account.address,
6395
6385
  walletClient: walletClientProp,
6396
- publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkNMIMRASDcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
6386
+ publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkEEEQZOTJcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
6397
6387
  switchChain: dappSwitchChain
6398
6388
  };
6399
6389
  }
@@ -6410,7 +6400,7 @@ function DepositFlow({
6410
6400
  return {
6411
6401
  ownerAddress: walletClientProp.account.address,
6412
6402
  walletClient: walletClientProp,
6413
- publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkNMIMRASDcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
6403
+ publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkEEEQZOTJcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
6414
6404
  switchChain: dappSwitchChain
6415
6405
  };
6416
6406
  }
@@ -6418,7 +6408,7 @@ function DepositFlow({
6418
6408
  return {
6419
6409
  ownerAddress: reownWallet.address,
6420
6410
  walletClient: reownWallet.walletClient,
6421
- publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkNMIMRASDcjs.getPublicClient.call(void 0, setupChainId, rpcUrls))),
6411
+ publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkEEEQZOTJcjs.getPublicClient.call(void 0, setupChainId, rpcUrls))),
6422
6412
  switchChain: reownWallet.switchChain
6423
6413
  };
6424
6414
  }
@@ -6773,7 +6763,7 @@ function DepositFlow({
6773
6763
  eoa: dappImportOwner,
6774
6764
  getPublicClient: (chainId) => {
6775
6765
  try {
6776
- return _chunkNMIMRASDcjs.getPublicClient.call(void 0, chainId, rpcUrls);
6766
+ return _chunkEEEQZOTJcjs.getPublicClient.call(void 0, chainId, rpcUrls);
6777
6767
  } catch (e32) {
6778
6768
  return null;
6779
6769
  }
@@ -6994,7 +6984,7 @@ function DepositFlow({
6994
6984
  acceptedExchangeFeeBps: disclosedFeeBps
6995
6985
  });
6996
6986
  } catch (error) {
6997
- if (error instanceof _chunkVN4BLZYCcjs.SwappedConnectFeeChangedError) {
6987
+ if (error instanceof _chunk6U2H3R3Tcjs.SwappedConnectFeeChangedError) {
6998
6988
  return error.exchangeFeeBps;
6999
6989
  }
7000
6990
  throw error;
@@ -7106,9 +7096,6 @@ function DepositFlow({
7106
7096
  acknowledgedConnectFeeRef.current.clear();
7107
7097
  }, [setupSlice.smartAccount]);
7108
7098
  const hasConfiguredFiatMethods = fiatMethods !== void 0;
7109
- const regionalMethodsInteractedRef = _react.useRef.call(void 0, false);
7110
- const regionalMethodsAppliedRef = _react.useRef.call(void 0, false);
7111
- const [regionalMethodsLocked, setRegionalMethodsLocked] = _react.useState.call(void 0, false);
7112
7099
  const [regionalMethods, setRegionalMethods] = _react.useState.call(void 0, {
7113
7100
  status: "loading",
7114
7101
  country: null,
@@ -7118,17 +7105,16 @@ function DepositFlow({
7118
7105
  _react.useEffect.call(void 0, () => {
7119
7106
  if (!fiatEnabled || hasConfiguredFiatMethods) return;
7120
7107
  let cancelled = false;
7121
- regionalMethodsInteractedRef.current = false;
7122
- regionalMethodsAppliedRef.current = false;
7123
- setRegionalMethodsLocked(false);
7124
7108
  setRegionalMethods({
7125
7109
  status: "loading",
7126
7110
  country: null,
7127
7111
  methods: [],
7128
7112
  recommendedMethod: null
7129
7113
  });
7114
+ let settled = false;
7130
7115
  const showFallback = () => {
7131
- if (cancelled) return;
7116
+ if (cancelled || settled) return;
7117
+ settled = true;
7132
7118
  setRegionalMethods({
7133
7119
  status: "error",
7134
7120
  country: null,
@@ -7136,33 +7122,22 @@ function DepositFlow({
7136
7122
  recommendedMethod: null
7137
7123
  });
7138
7124
  };
7139
- const fallbackTimer = setTimeout(
7140
- showFallback,
7141
- REGIONAL_METHODS_FALLBACK_DELAY_MS
7142
- );
7125
+ const timeoutTimer = setTimeout(showFallback, REGIONAL_METHODS_TIMEOUT_MS);
7143
7126
  service.getSwappedPaymentMethods().then((res) => {
7144
- if (cancelled) return;
7145
- clearTimeout(fallbackTimer);
7146
- if (regionalMethodsInteractedRef.current) {
7147
- showFallback();
7148
- return;
7149
- }
7127
+ if (cancelled || settled) return;
7128
+ settled = true;
7129
+ clearTimeout(timeoutTimer);
7150
7130
  setRegionalMethods({ status: "ready", ...res });
7151
7131
  }).catch(() => {
7152
7132
  if (cancelled) return;
7153
- clearTimeout(fallbackTimer);
7133
+ clearTimeout(timeoutTimer);
7154
7134
  showFallback();
7155
7135
  });
7156
7136
  return () => {
7157
7137
  cancelled = true;
7158
- clearTimeout(fallbackTimer);
7138
+ clearTimeout(timeoutTimer);
7159
7139
  };
7160
7140
  }, [fiatEnabled, hasConfiguredFiatMethods, service]);
7161
- _react.useLayoutEffect.call(void 0, () => {
7162
- if (regionalMethods.status === "ready" && !regionalMethodsLocked) {
7163
- regionalMethodsAppliedRef.current = true;
7164
- }
7165
- }, [regionalMethods.status, regionalMethodsLocked]);
7166
7141
  const cashDisplay = _react.useMemo.call(void 0, () => {
7167
7142
  if (!fiatEnabled) return { kind: "hidden" };
7168
7143
  if (hasConfiguredFiatMethods) {
@@ -7174,22 +7149,12 @@ function DepositFlow({
7174
7149
  source: "configured"
7175
7150
  };
7176
7151
  }
7177
- const effectiveRegionalMethods = regionalMethodsLocked ? {
7178
- status: "error",
7179
- country: null,
7180
- methods: [],
7181
- recommendedMethod: null
7182
- } : regionalMethods;
7183
- return composeFiatMethods(
7184
- effectiveRegionalMethods,
7185
- FIAT_ONRAMP_METHODS
7186
- );
7152
+ return composeFiatMethods(regionalMethods, FIAT_ONRAMP_METHODS);
7187
7153
  }, [
7188
7154
  fiatEnabled,
7189
7155
  hasConfiguredFiatMethods,
7190
7156
  offeredFiatMethods,
7191
- regionalMethods,
7192
- regionalMethodsLocked
7157
+ regionalMethods
7193
7158
  ]);
7194
7159
  const lastFiatMethodsRenderedEventRef = _react.useRef.call(void 0, null);
7195
7160
  _react.useEffect.call(void 0, () => {
@@ -7211,11 +7176,6 @@ function DepositFlow({
7211
7176
  source: cashDisplay.source
7212
7177
  });
7213
7178
  }, [cashDisplay, onEvent, onEventRef]);
7214
- const markRegionalMethodsInteracted = _react.useCallback.call(void 0, () => {
7215
- if (regionalMethodsAppliedRef.current) return;
7216
- regionalMethodsInteractedRef.current = true;
7217
- setRegionalMethodsLocked(true);
7218
- }, []);
7219
7179
  const displayedFiatSource = cashDisplay.kind === "list" ? cashDisplay.source : void 0;
7220
7180
  const displayedFiatCountry = cashDisplay.kind === "list" ? cashDisplay.country : null;
7221
7181
  const handleSelectDisplayedFiatMethod = _react.useCallback.call(void 0,
@@ -7275,17 +7235,17 @@ function DepositFlow({
7275
7235
  forceRegister
7276
7236
  ]
7277
7237
  );
7278
- const desiredSetupRequestKey = _chunkNMIMRASDcjs.computeRequestKey.call(void 0, setupInput);
7238
+ const desiredSetupRequestKey = _chunkEEEQZOTJcjs.computeRequestKey.call(void 0, setupInput);
7279
7239
  const setupReady = setupSlice.status === "ready" && setupSlice.requestKey === desiredSetupRequestKey;
7280
7240
  _react.useEffect.call(void 0, () => {
7281
7241
  void (async () => {
7282
- const requestKey = _chunkNMIMRASDcjs.computeRequestKey.call(void 0, setupInput);
7283
- const cacheKey = _chunkNMIMRASDcjs.computeCacheKey.call(void 0, setupInput);
7284
- const cacheable = _chunkNMIMRASDcjs.computeIsCacheable.call(void 0, setupInput);
7242
+ const requestKey = _chunkEEEQZOTJcjs.computeRequestKey.call(void 0, setupInput);
7243
+ const cacheKey = _chunkEEEQZOTJcjs.computeCacheKey.call(void 0, setupInput);
7244
+ const cacheable = _chunkEEEQZOTJcjs.computeIsCacheable.call(void 0, setupInput);
7285
7245
  if (storeApi.getState().setup.requestKey === requestKey) {
7286
7246
  return;
7287
7247
  }
7288
- const dedupedResult = _chunkNMIMRASDcjs.readDedupedAccountSetupResult.call(void 0, requestKey);
7248
+ const dedupedResult = _chunkEEEQZOTJcjs.readDedupedAccountSetupResult.call(void 0, requestKey);
7289
7249
  if (dedupedResult) {
7290
7250
  storeApi.dispatch({
7291
7251
  type: "setup/started",
@@ -7311,7 +7271,7 @@ function DepositFlow({
7311
7271
  cacheable
7312
7272
  });
7313
7273
  try {
7314
- const result = await _chunkNMIMRASDcjs.runAccountSetupDeduped.call(void 0,
7274
+ const result = await _chunkEEEQZOTJcjs.runAccountSetupDeduped.call(void 0,
7315
7275
  setupInput,
7316
7276
  { service, debug },
7317
7277
  requestKey
@@ -7326,7 +7286,7 @@ function DepositFlow({
7326
7286
  }
7327
7287
  });
7328
7288
  } catch (error) {
7329
- const message = error instanceof _chunkNMIMRASDcjs.SetupError ? error.message : "Deposit service is temporarily unavailable. Please try again shortly.";
7289
+ const message = error instanceof _chunkEEEQZOTJcjs.SetupError ? error.message : "Deposit service is temporarily unavailable. Please try again shortly.";
7330
7290
  storeApi.dispatch({
7331
7291
  type: "setup/failed",
7332
7292
  requestKey,
@@ -7375,7 +7335,7 @@ function DepositFlow({
7375
7335
  address,
7376
7336
  requestId,
7377
7337
  totalUsd: portfolio.totalUsd,
7378
- chainIds: _chunkVN4BLZYCcjs.chainIdsByValue.call(void 0, portfolio.tokens)
7338
+ chainIds: _chunk6U2H3R3Tcjs.chainIdsByValue.call(void 0, portfolio.tokens)
7379
7339
  });
7380
7340
  } catch (e33) {
7381
7341
  storeApi.dispatch({
@@ -7695,7 +7655,6 @@ function DepositFlow({
7695
7655
  walletRows,
7696
7656
  defaultMethodTab: flowSlice.methodTab,
7697
7657
  onMethodTabChange: (tab) => storeApi.dispatch({ type: "connect/method-tab-changed", tab }),
7698
- onInteract: fiatEnabled && !hasConfiguredFiatMethods ? markRegionalMethodsInteracted : void 0,
7699
7658
  transferCryptoState,
7700
7659
  transferCryptoErrorReason: _nullishCoalesce(transferCryptoEntry.message, () => ( void 0)),
7701
7660
  onSelectTransferCrypto: (
@@ -7818,7 +7777,7 @@ function DepositFlow({
7818
7777
  }
7819
7778
  ),
7820
7779
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7821
- _chunkNMIMRASDcjs.ProcessingStep,
7780
+ _chunkEEEQZOTJcjs.ProcessingStep,
7822
7781
  {
7823
7782
  smartAccount: step.smartAccount,
7824
7783
  solanaDepositAddress: step.solanaDepositAddress,
@@ -7890,7 +7849,7 @@ function DepositFlow({
7890
7849
  }
7891
7850
  ),
7892
7851
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7893
- _chunkNMIMRASDcjs.ProcessingStep,
7852
+ _chunkEEEQZOTJcjs.ProcessingStep,
7894
7853
  {
7895
7854
  smartAccount: step.smartAccount,
7896
7855
  solanaDepositAddress: step.solanaDepositAddress,
@@ -8019,7 +7978,7 @@ function DepositFlow({
8019
7978
  ) })
8020
7979
  ] }) : null,
8021
7980
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8022
- _chunkNMIMRASDcjs.ProcessingStep,
7981
+ _chunkEEEQZOTJcjs.ProcessingStep,
8023
7982
  {
8024
7983
  smartAccount: effectiveStep.smartAccount,
8025
7984
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -8106,7 +8065,7 @@ function DepositFlow({
8106
8065
  if (_optionalChain([signerContext, 'access', _243 => _243.publicClient, 'access', _244 => _244.chain, 'optionalAccess', _245 => _245.id]) === chainId) {
8107
8066
  return signerContext.publicClient;
8108
8067
  }
8109
- return _chunkNMIMRASDcjs.getPublicClient.call(void 0, chainId, rpcUrls);
8068
+ return _chunkEEEQZOTJcjs.getPublicClient.call(void 0, chainId, rpcUrls);
8110
8069
  };
8111
8070
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
8112
8071
  effectiveStep.type === "setup" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -8213,7 +8172,7 @@ function DepositFlow({
8213
8172
  }
8214
8173
  ),
8215
8174
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8216
- _chunkNMIMRASDcjs.ProcessingStep,
8175
+ _chunkEEEQZOTJcjs.ProcessingStep,
8217
8176
  {
8218
8177
  smartAccount: effectiveStep.smartAccount,
8219
8178
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -8391,7 +8350,7 @@ function DepositHistoryPanel({
8391
8350
  className: "rs-modal-header-back",
8392
8351
  "aria-label": "Back",
8393
8352
  onClick: onClose,
8394
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ChevronLeftIcon, {})
8353
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ChevronLeftIcon, {})
8395
8354
  }
8396
8355
  ) }),
8397
8356
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: onCloseModal && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -8401,29 +8360,29 @@ function DepositHistoryPanel({
8401
8360
  className: "rs-modal-close",
8402
8361
  "aria-label": "Close",
8403
8362
  onClick: onCloseModal,
8404
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CloseIcon, {})
8363
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CloseIcon, {})
8405
8364
  }
8406
8365
  ) })
8407
8366
  ] }),
8408
8367
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen", children: [
8409
8368
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen-body", children: [
8410
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.HistoryIcon, {}), title: "History" }),
8369
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.HistoryIcon, {}), title: "History" }),
8411
8370
  isLoading && deposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
8412
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.HistoryIcon, {}) }),
8371
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.HistoryIcon, {}) }),
8413
8372
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
8414
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.Spinner, { className: "rs-spinner--sm" }),
8373
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.Spinner, { className: "rs-spinner--sm" }),
8415
8374
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Loading history\u2026" })
8416
8375
  ] })
8417
8376
  ] }),
8418
8377
  error && !isLoading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
8419
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.AlertTriangleIcon, {}) }),
8378
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.AlertTriangleIcon, {}) }),
8420
8379
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
8421
8380
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "Couldn't load history" }),
8422
8381
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: error })
8423
8382
  ] })
8424
8383
  ] }),
8425
8384
  !isLoading && !error && visibleDeposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
8426
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.HistoryIcon, {}) }),
8385
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.HistoryIcon, {}) }),
8427
8386
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
8428
8387
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "No deposits yet" }),
8429
8388
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Your deposit history will appear here" })
@@ -8443,7 +8402,7 @@ function DepositHistoryPanel({
8443
8402
  )
8444
8403
  ] })
8445
8404
  ] }),
8446
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.PoweredBy, {})
8405
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.PoweredBy, {})
8447
8406
  ] })
8448
8407
  ]
8449
8408
  }
@@ -8479,8 +8438,8 @@ function HistoryCard({ deposit }) {
8479
8438
  children: [
8480
8439
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-card-row", children: [
8481
8440
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-card-icons", children: [
8482
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-token", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.TokenIcon, { symbol: sourceSymbol, fallback: sourceSymbol.slice(0, 2) }) }),
8483
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-chain", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: sourceChainIcon }) })
8441
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-token", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.TokenIcon, { symbol: sourceSymbol, fallback: sourceSymbol.slice(0, 2) }) }),
8442
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-chain", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: sourceChainIcon }) })
8484
8443
  ] }),
8485
8444
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-card-text", children: [
8486
8445
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-title", children: txTypeLabel }),
@@ -8496,14 +8455,14 @@ function HistoryCard({ deposit }) {
8496
8455
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
8497
8456
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-detail-value", children: [
8498
8457
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceChainName }),
8499
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: sourceChainIcon }) })
8458
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: sourceChainIcon }) })
8500
8459
  ] })
8501
8460
  ] }),
8502
8461
  targetChainName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
8503
8462
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Destination chain" }),
8504
8463
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-detail-value", children: [
8505
8464
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName }),
8506
- targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CdnIcon, { src: targetChainIcon }) })
8465
+ targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CdnIcon, { src: targetChainIcon }) })
8507
8466
  ] })
8508
8467
  ] }),
8509
8468
  srcTxUrl && srcTxHash && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
@@ -8518,7 +8477,7 @@ function HistoryCard({ deposit }) {
8518
8477
  onClick: (e) => e.stopPropagation(),
8519
8478
  children: [
8520
8479
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: shortenHash(srcTxHash) }),
8521
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ArrowUpRightIcon, {})
8480
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ArrowUpRightIcon, {})
8522
8481
  ]
8523
8482
  }
8524
8483
  )
@@ -8533,7 +8492,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
8533
8492
  // src/DepositModal.tsx
8534
8493
 
8535
8494
  var ReownDepositInner = _react.lazy.call(void 0,
8536
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-XC5RIU7Z.cjs"))).then((m) => ({ default: m.DepositModalReown }))
8495
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-YQSO4SVY.cjs"))).then((m) => ({ default: m.DepositModalReown }))
8537
8496
  );
8538
8497
  function sortByCreatedAtDesc(items) {
8539
8498
  return [...items].sort((a, b) => {
@@ -8547,8 +8506,8 @@ function hasSuppliedWalletClient(props) {
8547
8506
  return Object.prototype.hasOwnProperty.call(props, WALLET_CLIENT_PROP);
8548
8507
  }
8549
8508
  function DepositModal(props) {
8550
- _chunkNMIMRASDcjs.warnRemovedProps.call(void 0, "DepositModal", props);
8551
- _chunkVN4BLZYCcjs.checkBackendUrl.call(void 0, "DepositModal", props.backendUrl);
8509
+ _chunkEEEQZOTJcjs.warnRemovedProps.call(void 0, "DepositModal", props);
8510
+ _chunk6U2H3R3Tcjs.checkBackendUrl.call(void 0, "DepositModal", props.backendUrl);
8552
8511
  const needsReown = !!props.reownAppId;
8553
8512
  const hasWalletClientProp = hasSuppliedWalletClient(props);
8554
8513
  if (needsReown) {
@@ -8610,7 +8569,7 @@ function DepositModalInner({
8610
8569
  debug
8611
8570
  }) {
8612
8571
  const modalRef = _react.useRef.call(void 0, null);
8613
- const onReadyRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, onReady);
8572
+ const onReadyRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, onReady);
8614
8573
  const [currentScreen, setCurrentScreen] = _react.useState.call(void 0, "connect");
8615
8574
  const [swappedImmersive, setSwappedImmersive] = _react.useState.call(void 0, false);
8616
8575
  const [backHandler, setBackHandler] = _react.useState.call(void 0,
@@ -8629,9 +8588,9 @@ function DepositModalInner({
8629
8588
  const historyLoadedRef = _react.useRef.call(void 0, false);
8630
8589
  const targetChain = targetChainProp === "solana" ? "solana" : _chunkH577RJN5cjs.getChainId.call(void 0, targetChainProp);
8631
8590
  const sourceChain = sourceChainProp ? _chunkH577RJN5cjs.getChainId.call(void 0, sourceChainProp) : void 0;
8632
- const rpcUrls = _chunkVN4BLZYCcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
8591
+ const rpcUrls = _chunk6U2H3R3Tcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
8633
8592
  const service = _react.useMemo.call(void 0,
8634
- () => _chunkVN4BLZYCcjs.createDepositService.call(void 0, backendUrl, {
8593
+ () => _chunk6U2H3R3Tcjs.createDepositService.call(void 0, backendUrl, {
8635
8594
  debug,
8636
8595
  debugScope: "service:deposit"
8637
8596
  }),
@@ -8665,7 +8624,7 @@ function DepositModalInner({
8665
8624
  }, [store, targetChain, targetToken]);
8666
8625
  _react.useEffect.call(void 0, () => {
8667
8626
  if (isOpen && modalRef.current) {
8668
- _chunkVN4BLZYCcjs.applyTheme.call(void 0, modalRef.current, theme);
8627
+ _chunk6U2H3R3Tcjs.applyTheme.call(void 0, modalRef.current, theme);
8669
8628
  }
8670
8629
  }, [isOpen, theme]);
8671
8630
  _react.useEffect.call(void 0, () => {
@@ -8746,7 +8705,7 @@ function DepositModalInner({
8746
8705
  fetchHistory("initial");
8747
8706
  }
8748
8707
  }, [historyOpen, fetchHistory]);
8749
- const onLifecycleRef = _chunkVN4BLZYCcjs.useLatestRef.call(void 0, onLifecycle);
8708
+ const onLifecycleRef = _chunk6U2H3R3Tcjs.useLatestRef.call(void 0, onLifecycle);
8750
8709
  const handleLifecycle = _react.useCallback.call(void 0,
8751
8710
  (event) => {
8752
8711
  _optionalChain([onLifecycleRef, 'access', _256 => _256.current, 'optionalCall', _257 => _257(event)]);
@@ -8782,8 +8741,8 @@ function DepositModalInner({
8782
8741
  const canGoBack = backHandler !== void 0;
8783
8742
  const hideHeaderChrome = swappedImmersive;
8784
8743
  const modalClassName = `rs-modal${hideHeaderChrome ? " rs-modal--swapped-iframe" : ""}`;
8785
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8786
- _chunkVN4BLZYCcjs.Modal,
8744
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8745
+ _chunk6U2H3R3Tcjs.Modal,
8787
8746
  {
8788
8747
  isOpen,
8789
8748
  onClose,
@@ -8799,7 +8758,7 @@ function DepositModalInner({
8799
8758
  className: "rs-modal-header-back",
8800
8759
  "aria-label": "Go back",
8801
8760
  onClick: backHandler,
8802
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.ChevronLeftIcon, {})
8761
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.ChevronLeftIcon, {})
8803
8762
  }
8804
8763
  ) }),
8805
8764
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-header-nav-right", children: [
@@ -8811,7 +8770,7 @@ function DepositModalInner({
8811
8770
  "aria-label": "Deposit history",
8812
8771
  onClick: handleHistoryOpen,
8813
8772
  disabled: !recipient,
8814
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.HistoryIcon, {})
8773
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.HistoryIcon, {})
8815
8774
  }
8816
8775
  ),
8817
8776
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -8821,7 +8780,7 @@ function DepositModalInner({
8821
8780
  onClick: onClose,
8822
8781
  className: "rs-modal-close",
8823
8782
  "aria-label": "Close",
8824
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVN4BLZYCcjs.CloseIcon, {})
8783
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6U2H3R3Tcjs.CloseIcon, {})
8825
8784
  }
8826
8785
  )
8827
8786
  ] })