@rhinestone/deposit-modal 0.11.0 → 0.11.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 (39) hide show
  1. package/dist/{DepositModalReown-6RVLEM3B.mjs → DepositModalReown-MO5QDLIT.mjs} +5 -5
  2. package/dist/{DepositModalReown-TXTLVZIQ.cjs → DepositModalReown-YGB73NMW.cjs} +13 -13
  3. package/dist/{chunk-XVKBCDZI.cjs → chunk-4FTI3GTB.cjs} +1 -1
  4. package/dist/{chunk-WLDTBKRA.mjs → chunk-5746YXKC.mjs} +1 -1
  5. package/dist/{chunk-ITAYM7SB.mjs → chunk-CWGUBFJL.mjs} +41 -3
  6. package/dist/{chunk-G4FVZQOM.mjs → chunk-EIWOVX53.mjs} +6 -6
  7. package/dist/{chunk-JYKMR6QI.cjs → chunk-FVUXJ3RP.cjs} +3 -3
  8. package/dist/{chunk-HCQWFL3A.cjs → chunk-HUHBNYD3.cjs} +66 -66
  9. package/dist/{chunk-BLJMYCBF.cjs → chunk-LQGYPM5B.cjs} +63 -63
  10. package/dist/{chunk-VRNRRN2U.mjs → chunk-OWYPKCYD.mjs} +3 -3
  11. package/dist/{chunk-7RNEYPI4.cjs → chunk-SSQ27YFB.cjs} +277 -274
  12. package/dist/{chunk-QRR3Y7EK.mjs → chunk-URFSTNRS.mjs} +1 -1
  13. package/dist/{chunk-DYTRG4C7.mjs → chunk-V6T7LORJ.mjs} +1 -1
  14. package/dist/{chunk-TRD2FCAR.mjs → chunk-YELNYILK.mjs} +256 -253
  15. package/dist/{chunk-NPSC5R22.cjs → chunk-ZQR36NCV.cjs} +65 -27
  16. package/dist/{chunk-GWA6GFTI.cjs → chunk-ZRIRCIQM.cjs} +54 -54
  17. package/dist/claim.cjs +5 -5
  18. package/dist/claim.d.cts +2 -2
  19. package/dist/claim.d.ts +2 -2
  20. package/dist/claim.mjs +4 -4
  21. package/dist/constants.cjs +2 -2
  22. package/dist/constants.d.cts +1 -1
  23. package/dist/constants.d.ts +1 -1
  24. package/dist/constants.mjs +1 -1
  25. package/dist/deposit.cjs +6 -6
  26. package/dist/deposit.d.cts +2 -2
  27. package/dist/deposit.d.ts +2 -2
  28. package/dist/deposit.mjs +5 -5
  29. package/dist/index.cjs +8 -8
  30. package/dist/index.d.cts +1 -1
  31. package/dist/index.d.ts +1 -1
  32. package/dist/index.mjs +7 -7
  33. package/dist/{types-C7wag_iL.d.cts → types-CsGa-HxD.d.cts} +6 -0
  34. package/dist/{types-D4b6Cjox.d.ts → types-DdS8OySJ.d.ts} +6 -0
  35. package/dist/withdraw.cjs +5 -5
  36. package/dist/withdraw.d.cts +2 -2
  37. package/dist/withdraw.d.ts +2 -2
  38. package/dist/withdraw.mjs +4 -4
  39. package/package.json +1 -1
@@ -17,10 +17,10 @@
17
17
 
18
18
 
19
19
 
20
- var _chunkHCQWFL3Acjs = require('./chunk-HCQWFL3A.cjs');
20
+ var _chunkHUHBNYD3cjs = require('./chunk-HUHBNYD3.cjs');
21
21
 
22
22
 
23
- var _chunkJYKMR6QIcjs = require('./chunk-JYKMR6QI.cjs');
23
+ var _chunkFVUXJ3RPcjs = require('./chunk-FVUXJ3RP.cjs');
24
24
 
25
25
 
26
26
 
@@ -85,7 +85,8 @@ var _chunkJYKMR6QIcjs = require('./chunk-JYKMR6QI.cjs');
85
85
 
86
86
 
87
87
 
88
- var _chunkNPSC5R22cjs = require('./chunk-NPSC5R22.cjs');
88
+
89
+ var _chunkZQR36NCVcjs = require('./chunk-ZQR36NCV.cjs');
89
90
 
90
91
 
91
92
 
@@ -220,11 +221,11 @@ SegmentedToggle.displayName = "SegmentedToggle";
220
221
 
221
222
  function ChainIcon({ chainId, className, loading }) {
222
223
  const badge = _chunkTENL4H64cjs.getChainBadge.call(void 0, chainId);
223
- const catalogChain = _chunkNPSC5R22cjs.useCatalogChain.call(void 0, _chunkNPSC5R22cjs.catalogKeyForChain.call(void 0, chainId));
224
+ const catalogChain = _chunkZQR36NCVcjs.useCatalogChain.call(void 0, _chunkZQR36NCVcjs.catalogKeyForChain.call(void 0, chainId));
224
225
  const name = _nullishCoalesce(_optionalChain([catalogChain, 'optionalAccess', _2 => _2.name]), () => ( _chunkTENL4H64cjs.getChainName.call(void 0, chainId)));
225
226
  const initial = (_nullishCoalesce(_optionalChain([catalogChain, 'optionalAccess', _3 => _3.name]), () => ( badge.shortLabel))).charAt(0);
226
227
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
227
- _chunkNPSC5R22cjs.CdnIcon,
228
+ _chunkZQR36NCVcjs.CdnIcon,
228
229
  {
229
230
  src: _nullishCoalesce(_optionalChain([catalogChain, 'optionalAccess', _4 => _4.iconUrl]), () => ( _chunkTENL4H64cjs.getChainIcon.call(void 0, chainId))),
230
231
  alt: name,
@@ -247,7 +248,7 @@ ChainIcon.displayName = "ChainIcon";
247
248
  // src/components/ui/WalletBadgeIcons/index.tsx
248
249
 
249
250
  function BadgeImage({ src, alt = "" }) {
250
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src, alt }) });
251
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src, alt }) });
251
252
  }
252
253
  var WALLET_BADGES = ["rabby", "phantom", "walletconnect"];
253
254
  function WalletBadgeIcons() {
@@ -300,7 +301,7 @@ var DAPP_IMPORT_CATALOG = [
300
301
  // src/components/ui/BrandIcons.tsx
301
302
 
302
303
  function ExchangeBadgeImage({ name }) {
303
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: _nullishCoalesce(_chunkHCQWFL3Acjs.getExchangeLogoSrc.call(void 0, name), () => ( void 0)) });
304
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: _nullishCoalesce(_chunkHUHBNYD3cjs.getExchangeLogoSrc.call(void 0, name), () => ( void 0)) });
304
305
  }
305
306
  var CARD_NETWORKS = ["amex", "visa", "mastercard"];
306
307
  function CardNetworkIcons() {
@@ -308,20 +309,18 @@ function CardNetworkIcons() {
308
309
  "span",
309
310
  {
310
311
  className: `rs-card-network rs-card-network--${network}`,
311
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: _chunkTENL4H64cjs.cdnIconUrl.call(void 0, "cards", network) })
312
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: _chunkTENL4H64cjs.cdnIconUrl.call(void 0, "cards", network) })
312
313
  },
313
314
  network
314
315
  )) });
315
316
  }
316
317
  CardNetworkIcons.displayName = "CardNetworkIcons";
318
+ var EXCHANGE_BADGE_ORDER = ["Coinbase", "Binance", "Bybit"];
317
319
  function ExchangeBadgeIcons() {
318
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-list-row-meta-icons rs-list-row-meta-icons--exchanges", children: [
319
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExchangeBadgeImage, { name: "Coinbase" }) }),
320
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExchangeBadgeImage, { name: "Binance" }) }),
321
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExchangeBadgeImage, { name: "Kraken" }) })
322
- ] });
320
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-list-row-meta-icons rs-list-row-meta-icons--exchanges", children: EXCHANGE_BADGE_ORDER.map((name) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExchangeBadgeImage, { name }) }, name)) });
323
321
  }
324
322
  ExchangeBadgeIcons.displayName = "ExchangeBadgeIcons";
323
+ var EXCHANGE_BADGE_COUNT = EXCHANGE_BADGE_ORDER.length;
325
324
  var DAPP_BADGE_ORDER = ["polymarket", "aave", "hyperliquid"];
326
325
  function DappBadgeIcons() {
327
326
  const marks = DAPP_BADGE_ORDER.map(
@@ -329,7 +328,7 @@ function DappBadgeIcons() {
329
328
  ).filter(
330
329
  (brand) => Boolean(brand)
331
330
  );
332
- 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, _chunkNPSC5R22cjs.CdnIcon, { src: brand.iconUrl, alt: brand.label }) }, brand.id)) });
331
+ 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, _chunkZQR36NCVcjs.CdnIcon, { src: brand.iconUrl, alt: brand.label }) }, brand.id)) });
333
332
  }
334
333
  DappBadgeIcons.displayName = "DappBadgeIcons";
335
334
  var DAPP_BADGE_COUNT = DAPP_BADGE_ORDER.length;
@@ -349,9 +348,9 @@ function balanceSubtitle(status, balanceUsd, fallback) {
349
348
  return "No balance";
350
349
  }
351
350
  function fiatIcon(name) {
352
- if (name === "apple") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.AppleIcon, {});
353
- if (name === "bank") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BankIcon, {});
354
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CardIcon, {});
351
+ if (name === "apple") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.AppleIcon, {});
352
+ if (name === "bank") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BankIcon, {});
353
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CardIcon, {});
355
354
  }
356
355
  function FiatMethodIcon({ option }) {
357
356
  const [remoteFailed, setRemoteFailed] = _react.useState.call(void 0, false);
@@ -434,20 +433,24 @@ function renderWalletLeading(row) {
434
433
  }
435
434
  );
436
435
  }
437
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {});
436
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {});
438
437
  }
439
- var TRANSFER_CRYPTO_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TransferCryptoIcon, {});
440
- var WALLET_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {});
441
- var EXCHANGE_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.UnplugIcon, {});
442
- var MIGRATE_ASSETS_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.MigrateAssetsIcon, {});
443
- var SMALL_SPINNER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Spinner, { className: "rs-spinner--sm" });
438
+ var TRANSFER_CRYPTO_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TransferCryptoIcon, {});
439
+ var WALLET_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {});
440
+ var EXCHANGE_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.UnplugIcon, {});
441
+ var MIGRATE_ASSETS_LEADING = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.MigrateAssetsIcon, {});
442
+ var SMALL_SPINNER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Spinner, { className: "rs-spinner--sm" });
444
443
  var CONNECT_META = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
445
444
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WalletBadgeIcons, {}),
446
445
  "+100"
447
446
  ] });
447
+ var EXTRA_EXCHANGE_COUNT = Math.max(
448
+ 0,
449
+ _chunkZQR36NCVcjs.SUPPORTED_CONNECT_EXCHANGE_COUNT - EXCHANGE_BADGE_COUNT
450
+ );
448
451
  var EXCHANGE_META = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
449
452
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExchangeBadgeIcons, {}),
450
- "+6"
453
+ EXTRA_EXCHANGE_COUNT > 0 ? `+${EXTRA_EXCHANGE_COUNT}` : null
451
454
  ] });
452
455
  var EXTRA_DAPP_COUNT = Math.max(
453
456
  0,
@@ -501,7 +504,7 @@ function ConnectStep({
501
504
  if (onSelectTransferCrypto) {
502
505
  cryptoRows.push(
503
506
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
504
- _chunkJYKMR6QIcjs.ListRow,
507
+ _chunkFVUXJ3RPcjs.ListRow,
505
508
  {
506
509
  leading: TRANSFER_CRYPTO_LEADING,
507
510
  title: "Transfer crypto",
@@ -522,7 +525,7 @@ function ConnectStep({
522
525
  );
523
526
  cryptoRows.push(
524
527
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
525
- _chunkJYKMR6QIcjs.ListRow,
528
+ _chunkFVUXJ3RPcjs.ListRow,
526
529
  {
527
530
  leading: renderWalletLeading(row),
528
531
  title: collapseToExternal ? "External wallet" : row.label,
@@ -539,7 +542,7 @@ function ConnectStep({
539
542
  if (!hasReownWallet && handleConnect) {
540
543
  cryptoRows.push(
541
544
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
542
- _chunkJYKMR6QIcjs.ListRow,
545
+ _chunkFVUXJ3RPcjs.ListRow,
543
546
  {
544
547
  leading: WALLET_LEADING,
545
548
  title: "Connect wallet",
@@ -554,7 +557,7 @@ function ConnectStep({
554
557
  if (onSelectFundFromExchange) {
555
558
  cryptoRows.push(
556
559
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
557
- _chunkJYKMR6QIcjs.ListRow,
560
+ _chunkFVUXJ3RPcjs.ListRow,
558
561
  {
559
562
  leading: EXCHANGE_LEADING,
560
563
  title: "Connect exchange",
@@ -569,7 +572,7 @@ function ConnectStep({
569
572
  if (onSelectMigrateAssets) {
570
573
  cryptoRows.push(
571
574
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
572
- _chunkJYKMR6QIcjs.ListRow,
575
+ _chunkFVUXJ3RPcjs.ListRow,
573
576
  {
574
577
  leading: MIGRATE_ASSETS_LEADING,
575
578
  title: "Migrate assets",
@@ -590,7 +593,7 @@ function ConnectStep({
590
593
  for (const opt of fiatPaymentMethods) {
591
594
  cashRows.push(
592
595
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
593
- _chunkJYKMR6QIcjs.ListRow,
596
+ _chunkFVUXJ3RPcjs.ListRow,
594
597
  {
595
598
  leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FiatMethodIcon, { option: opt }),
596
599
  title: opt.label,
@@ -605,7 +608,7 @@ function ConnectStep({
605
608
  } else if (fiatLoading) {
606
609
  cashRows.push(
607
610
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
608
- _chunkJYKMR6QIcjs.ListRow,
611
+ _chunkFVUXJ3RPcjs.ListRow,
609
612
  {
610
613
  leading: SMALL_SPINNER,
611
614
  title: "Loading payment options\u2026",
@@ -634,9 +637,9 @@ function ConnectStep({
634
637
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
635
638
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
636
639
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
637
- _chunkNPSC5R22cjs.BodyHeader,
640
+ _chunkZQR36NCVcjs.BodyHeader,
638
641
  {
639
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.HandCoinsIcon, {}),
642
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.HandCoinsIcon, {}),
640
643
  title,
641
644
  subtitle: _nullishCoalesce(subtitle, () => ( defaultSubtitle)),
642
645
  aside: showToggle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -672,7 +675,7 @@ function ConnectStep({
672
675
  children: "Disconnect wallet"
673
676
  }
674
677
  ) }),
675
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
678
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
676
679
  ] });
677
680
  }
678
681
  ConnectStep.displayName = "ConnectStep";
@@ -695,17 +698,17 @@ function AssetSelectStep({
695
698
  const [selectedAssetId, setSelectedAssetId] = _react.useState.call(void 0, null);
696
699
  const [loading, setLoading] = _react.useState.call(void 0, true);
697
700
  const [error, setError] = _react.useState.call(void 0, null);
698
- const isDepositChain = _chunkNPSC5R22cjs.useIsDepositChain.call(void 0, );
699
- const { catalog } = _chunkNPSC5R22cjs.useChainCatalog.call(void 0, );
700
- const chainName = _chunkNPSC5R22cjs.useChainName.call(void 0, );
701
+ const isDepositChain = _chunkZQR36NCVcjs.useIsDepositChain.call(void 0, );
702
+ const { catalog } = _chunkZQR36NCVcjs.useChainCatalog.call(void 0, );
703
+ const chainName = _chunkZQR36NCVcjs.useChainName.call(void 0, );
701
704
  const defaultAssetId = _react.useMemo.call(void 0, () => {
702
705
  if (!defaultSourceChain || !defaultSourceToken) return null;
703
- return _chunkNPSC5R22cjs.getAssetId.call(void 0, {
706
+ return _chunkZQR36NCVcjs.getAssetId.call(void 0, {
704
707
  chainId: defaultSourceChain,
705
708
  token: defaultSourceToken
706
709
  });
707
710
  }, [defaultSourceChain, defaultSourceToken]);
708
- const onTotalBalanceComputedRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onTotalBalanceComputed);
711
+ const onTotalBalanceComputedRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
709
712
  _react.useEffect.call(void 0, () => {
710
713
  let active = true;
711
714
  function emitAssetsUpdate(currentAssets) {
@@ -725,7 +728,7 @@ function AssetSelectStep({
725
728
  try {
726
729
  const portfolio = await service.fetchPortfolio(address);
727
730
  if (!active) return;
728
- const portfolioAssets = _chunkNPSC5R22cjs.portfolioToAssets.call(void 0, portfolio.tokens);
731
+ const portfolioAssets = _chunkZQR36NCVcjs.portfolioToAssets.call(void 0, portfolio.tokens);
729
732
  setAssets(portfolioAssets);
730
733
  emitAssetsUpdate(portfolioAssets);
731
734
  const hasNative = portfolioAssets.some(
@@ -804,7 +807,7 @@ function AssetSelectStep({
804
807
  const raw = _viem.formatUnits.call(void 0, BigInt(asset.balance), asset.decimals);
805
808
  const numeric = Number(raw);
806
809
  if (!Number.isFinite(numeric)) return raw;
807
- return _chunkNPSC5R22cjs.tokenFormatter.format(numeric);
810
+ return _chunkZQR36NCVcjs.tokenFormatter.format(numeric);
808
811
  } catch (e3) {
809
812
  return asset.balance;
810
813
  }
@@ -812,20 +815,20 @@ function AssetSelectStep({
812
815
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
813
816
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
814
817
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
815
- _chunkNPSC5R22cjs.BodyHeader,
818
+ _chunkZQR36NCVcjs.BodyHeader,
816
819
  {
817
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {}),
820
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {}),
818
821
  title: "Your assets",
819
822
  subtitle: "Select source assets to transfer"
820
823
  }
821
824
  ),
822
825
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
823
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Spinner, { className: "rs-text-tertiary" }),
826
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Spinner, { className: "rs-text-tertiary" }),
824
827
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
825
828
  ] }),
826
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Callout, { variant: "error", children: error }),
829
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Callout, { variant: "error", children: error }),
827
830
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
828
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, { className: "rs-empty-icon" }),
831
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, { className: "rs-empty-icon" }),
829
832
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
830
833
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
831
834
  address.slice(0, 6),
@@ -858,13 +861,13 @@ function AssetSelectStep({
858
861
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-info", children: [
859
862
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-icon-wrapper", children: [
860
863
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
861
- _chunkNPSC5R22cjs.TokenIcon,
864
+ _chunkZQR36NCVcjs.TokenIcon,
862
865
  {
863
866
  symbol: asset.symbol,
864
867
  fallback: asset.symbol.slice(0, 4)
865
868
  }
866
869
  ) }),
867
- chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: chainIcon, alt: chainName(asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
870
+ chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: chainIcon, alt: chainName(asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
868
871
  "span",
869
872
  {
870
873
  className: "rs-asset-chain-badge",
@@ -891,14 +894,14 @@ function AssetSelectStep({
891
894
  ] })
892
895
  ] })
893
896
  ] }),
894
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunkNPSC5R22cjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
897
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunkZQR36NCVcjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
895
898
  ]
896
899
  },
897
900
  asset.id
898
901
  );
899
902
  }) }),
900
903
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
901
- _chunkNPSC5R22cjs.Button,
904
+ _chunkZQR36NCVcjs.Button,
902
905
  {
903
906
  onClick: () => selectedAsset && onContinue(selectedAsset),
904
907
  disabled: !selectedAsset,
@@ -907,7 +910,7 @@ function AssetSelectStep({
907
910
  }
908
911
  )
909
912
  ] }),
910
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
913
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
911
914
  ] });
912
915
  }
913
916
  async function fetchNativeAssets(address, publicClient, existing, isDepositChain, catalogChain) {
@@ -915,7 +918,7 @@ async function fetchNativeAssets(address, publicClient, existing, isDepositChain
915
918
  const connectedChainId = _optionalChain([publicClient, 'access', _16 => _16.chain, 'optionalAccess', _17 => _17.id]);
916
919
  if (!connectedChainId) return [];
917
920
  if (!isDepositChain(connectedChainId)) return [];
918
- const id = _chunkNPSC5R22cjs.getAssetId.call(void 0, {
921
+ const id = _chunkZQR36NCVcjs.getAssetId.call(void 0, {
919
922
  chainId: connectedChainId,
920
923
  token: _chunkTENL4H64cjs.NATIVE_TOKEN_ADDRESS
921
924
  });
@@ -1118,7 +1121,7 @@ function AmountStep({
1118
1121
  const balanceTarget = _nullishCoalesce(balanceAddress, () => ( address));
1119
1122
  if (!balanceTarget || !publicClient) return;
1120
1123
  try {
1121
- const bal = _chunkNPSC5R22cjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
1124
+ const bal = _chunkZQR36NCVcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
1122
1125
  address: asset.token,
1123
1126
  abi: _viem.erc20Abi,
1124
1127
  functionName: "balanceOf",
@@ -1139,7 +1142,7 @@ function AmountStep({
1139
1142
  hasAttemptedSwitch.current = true;
1140
1143
  switchChain(asset.chainId).catch((err) => {
1141
1144
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
1142
- setError(_chunkNPSC5R22cjs.formatUserError.call(void 0, raw));
1145
+ setError(_chunkZQR36NCVcjs.formatUserError.call(void 0, raw));
1143
1146
  });
1144
1147
  }
1145
1148
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -1192,7 +1195,7 @@ function AmountStep({
1192
1195
  const raw = _viem.formatUnits.call(void 0, balance, asset.decimals);
1193
1196
  const numeric = Number(raw);
1194
1197
  if (!Number.isFinite(numeric)) return raw;
1195
- return _chunkNPSC5R22cjs.tokenFormatter.format(numeric);
1198
+ return _chunkZQR36NCVcjs.tokenFormatter.format(numeric);
1196
1199
  } catch (e8) {
1197
1200
  return "\u2026";
1198
1201
  }
@@ -1277,12 +1280,12 @@ function AmountStep({
1277
1280
  };
1278
1281
  const continueLabel = exceedsBalance ? "Insufficient balance" : isAboveMax ? "Continue with max allowed deposit" : isBelowMin ? "Continue with minimum deposit" : "Continue";
1279
1282
  const continueDisabled = chainMismatch || exceedsBalance || numericAmount === 0 && !isBelowMin || balance === null;
1280
- const chainName = _chunkNPSC5R22cjs.useChainName.call(void 0, );
1283
+ const chainName = _chunkZQR36NCVcjs.useChainName.call(void 0, );
1281
1284
  const sourceChainName = chainName(asset.chainId);
1282
1285
  const targetChainName = chainName(targetChainId);
1283
1286
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
1284
1287
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
1285
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {}), title: "Wallet deposit" }),
1288
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {}), title: "Wallet deposit" }),
1286
1289
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
1287
1290
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
1288
1291
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1302,13 +1305,13 @@ function AmountStep({
1302
1305
  " available",
1303
1306
  balanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1304
1307
  " (~",
1305
- _chunkNPSC5R22cjs.currencyFormatter.format(balanceUsd),
1308
+ _chunkZQR36NCVcjs.currencyFormatter.format(balanceUsd),
1306
1309
  ")"
1307
1310
  ] })
1308
1311
  ] }),
1309
1312
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
1310
1313
  "Min. deposit ",
1311
- _chunkNPSC5R22cjs.currencyFormatter.format(minDepositUsd)
1314
+ _chunkZQR36NCVcjs.currencyFormatter.format(minDepositUsd)
1312
1315
  ] })
1313
1316
  ] })
1314
1317
  ] }),
@@ -1333,7 +1336,7 @@ function AmountStep({
1333
1336
  " ",
1334
1337
  asset.symbol
1335
1338
  ] }),
1336
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: asset.symbol }) })
1339
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: asset.symbol }) })
1337
1340
  ] })
1338
1341
  ] }),
1339
1342
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
@@ -1344,17 +1347,17 @@ function AmountStep({
1344
1347
  " ",
1345
1348
  targetSymbol
1346
1349
  ] }),
1347
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: targetSymbol }) })
1350
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: targetSymbol }) })
1348
1351
  ] })
1349
1352
  ] }),
1350
1353
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
1351
1354
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
1352
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkNPSC5R22cjs.currencyFormatter.format(balanceAfterUsd) })
1355
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkZQR36NCVcjs.currencyFormatter.format(balanceAfterUsd) })
1353
1356
  ] })
1354
1357
  ] }),
1355
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Callout, { variant: "error", children: error }),
1358
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Callout, { variant: "error", children: error }),
1356
1359
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1357
- _chunkNPSC5R22cjs.Button,
1360
+ _chunkZQR36NCVcjs.Button,
1358
1361
  {
1359
1362
  onClick: handleContinue,
1360
1363
  fullWidth: true,
@@ -1363,7 +1366,7 @@ function AmountStep({
1363
1366
  }
1364
1367
  )
1365
1368
  ] }),
1366
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
1369
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
1367
1370
  ] });
1368
1371
  }
1369
1372
 
@@ -1432,34 +1435,34 @@ function ConfirmStep({
1432
1435
  const targetChainName = _chunkTENL4H64cjs.getChainName.call(void 0, targetChainId);
1433
1436
  const sourceChainIcon = _chunkTENL4H64cjs.getChainIcon.call(void 0, asset.chainId);
1434
1437
  const targetChainIcon = _chunkTENL4H64cjs.getChainIcon.call(void 0, targetChainId);
1435
- const formattedSendAmount = amount && Number.isFinite(Number(amount)) ? _nullishCoalesce(_chunkNPSC5R22cjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( "0")) : "0";
1436
- const mustHaveQuote = !appFeesResolved || _chunkNPSC5R22cjs.resolveAppFeeBps.call(void 0,
1438
+ const formattedSendAmount = amount && Number.isFinite(Number(amount)) ? _nullishCoalesce(_chunkZQR36NCVcjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( "0")) : "0";
1439
+ const mustHaveQuote = !appFeesResolved || _chunkZQR36NCVcjs.resolveAppFeeBps.call(void 0,
1437
1440
  appFees,
1438
1441
  `eip155:${quoteSource.chainId}`,
1439
1442
  quoteSource.token
1440
1443
  ) > 0;
1441
- const { display: feeDisplay, struck: feesFullySponsored } = _chunkNPSC5R22cjs.quoteFeeRow.call(void 0,
1444
+ const { display: feeDisplay, struck: feesFullySponsored } = _chunkZQR36NCVcjs.quoteFeeRow.call(void 0,
1442
1445
  _optionalChain([quote, 'optionalAccess', _36 => _36.fees])
1443
1446
  );
1444
1447
  const directTransfer = sameRoute && !mustHaveQuote && !executeTransfer;
1445
1448
  const receiveDisplay = (() => {
1446
1449
  if (directTransfer) return `${formattedSendAmount} ${asset.symbol}`;
1447
1450
  if (quote) {
1448
- const quoted = _chunkNPSC5R22cjs.formatQuotedReceive.call(void 0, quote.output, targetSymbol);
1451
+ const quoted = _chunkZQR36NCVcjs.formatQuotedReceive.call(void 0, quote.output, targetSymbol);
1449
1452
  if (quoted !== void 0) return quoted;
1450
1453
  }
1451
1454
  const usdValue = Number(targetAmount);
1452
1455
  const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
1453
- const estimate = _chunkNPSC5R22cjs.formatReceiveEstimate.call(void 0, {
1456
+ const estimate = _chunkZQR36NCVcjs.formatReceiveEstimate.call(void 0, {
1454
1457
  sourceAmount: Number.isFinite(Number(amount)) ? Number(amount) : void 0,
1455
1458
  sourceSymbol: asset.symbol,
1456
1459
  targetSymbol,
1457
1460
  sourceAmountUsd,
1458
- sourceTrusted: _chunkNPSC5R22cjs.isRecognizedToken.call(void 0, asset.token, asset.chainId),
1461
+ sourceTrusted: _chunkZQR36NCVcjs.isRecognizedToken.call(void 0, asset.token, asset.chainId),
1459
1462
  // The target is the curated deposit destination, so a stablecoin target
1460
1463
  // estimates at $1 when unquoted (DepositFlow skips fetching stablecoin
1461
1464
  // target prices). Not applied to the source — that can be a held token.
1462
- prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkNPSC5R22cjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
1465
+ prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkZQR36NCVcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
1463
1466
  });
1464
1467
  if (estimate !== void 0) return estimate;
1465
1468
  return targetSymbol;
@@ -1470,7 +1473,7 @@ function ConfirmStep({
1470
1473
  hasAttemptedSwitch.current = true;
1471
1474
  switchChain(asset.chainId).catch((err) => {
1472
1475
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
1473
- setError(_chunkNPSC5R22cjs.formatUserError.call(void 0, raw));
1476
+ setError(_chunkZQR36NCVcjs.formatUserError.call(void 0, raw));
1474
1477
  });
1475
1478
  }
1476
1479
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -1559,7 +1562,7 @@ function ConfirmStep({
1559
1562
  const result = await executeTransfer(amountUnits);
1560
1563
  hash = result.txHash;
1561
1564
  resolvedSourceToken = result.sourceToken;
1562
- } else if (_chunkNPSC5R22cjs.isNativeAsset.call(void 0, asset)) {
1565
+ } else if (_chunkZQR36NCVcjs.isNativeAsset.call(void 0, asset)) {
1563
1566
  hash = await walletClient.sendTransaction({
1564
1567
  account,
1565
1568
  chain,
@@ -1590,29 +1593,29 @@ function ConfirmStep({
1590
1593
  );
1591
1594
  } catch (err) {
1592
1595
  const raw = err instanceof Error ? err.message : "Transfer failed";
1593
- const message = _chunkNPSC5R22cjs.formatUserError.call(void 0, raw);
1596
+ const message = _chunkZQR36NCVcjs.formatUserError.call(void 0, raw);
1594
1597
  setError(message);
1595
- _optionalChain([onError, 'optionalCall', _38 => _38(message, "TRANSFER_ERROR")]);
1598
+ _optionalChain([onError, 'optionalCall', _38 => _38(message, "TRANSFER_ERROR", raw)]);
1596
1599
  } finally {
1597
1600
  setIsSubmitting(false);
1598
1601
  }
1599
1602
  };
1600
1603
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
1601
1604
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
1602
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {}), title: "Review deposit" }),
1605
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {}), title: "Review deposit" }),
1603
1606
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-details", children: [
1604
1607
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1605
1608
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
1606
1609
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1607
1610
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceChainName }),
1608
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: sourceChainIcon }) })
1611
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: sourceChainIcon }) })
1609
1612
  ] })
1610
1613
  ] }),
1611
1614
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1612
1615
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Destination chain" }),
1613
1616
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1614
1617
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName }),
1615
- targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: targetChainIcon }) })
1618
+ targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: targetChainIcon }) })
1616
1619
  ] })
1617
1620
  ] }),
1618
1621
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -1627,14 +1630,14 @@ function ConfirmStep({
1627
1630
  " ",
1628
1631
  asset.symbol
1629
1632
  ] }),
1630
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: asset.symbol }) })
1633
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: asset.symbol }) })
1631
1634
  ] })
1632
1635
  ] }),
1633
1636
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1634
1637
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Receive" }),
1635
1638
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1636
1639
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
1637
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: targetSymbol }) })
1640
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: targetSymbol }) })
1638
1641
  ] })
1639
1642
  ] }),
1640
1643
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -1654,9 +1657,9 @@ function ConfirmStep({
1654
1657
  ) })
1655
1658
  ] })
1656
1659
  ] }),
1657
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Callout, { variant: "error", children: error }),
1660
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Callout, { variant: "error", children: error }),
1658
1661
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1659
- _chunkNPSC5R22cjs.Button,
1662
+ _chunkZQR36NCVcjs.Button,
1660
1663
  {
1661
1664
  onClick: handleConfirm,
1662
1665
  loading: isSubmitting,
@@ -1670,7 +1673,7 @@ function ConfirmStep({
1670
1673
  }
1671
1674
  )
1672
1675
  ] }),
1673
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
1676
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
1674
1677
  ] });
1675
1678
  }
1676
1679
 
@@ -1693,9 +1696,9 @@ var INITIAL_POLL_INTERVAL = 3e3;
1693
1696
  var MAX_POLL_INTERVAL = 3e4;
1694
1697
  var BACKOFF_MULTIPLIER = 1.5;
1695
1698
  function isEventForTx(event, txHash) {
1696
- const eventTxHash = _chunkHCQWFL3Acjs.getEventTxHash.call(void 0, event);
1699
+ const eventTxHash = _chunkHUHBNYD3cjs.getEventTxHash.call(void 0, event);
1697
1700
  if (!eventTxHash) return false;
1698
- return _chunkHCQWFL3Acjs.txRefsMatch.call(void 0, eventTxHash, txHash);
1701
+ return _chunkHUHBNYD3cjs.txRefsMatch.call(void 0, eventTxHash, txHash);
1699
1702
  }
1700
1703
  function truncateHash(hash) {
1701
1704
  return `${hash.slice(0, 4)}\u2026${hash.slice(-4)}`;
@@ -1745,7 +1748,7 @@ function formatBridgeFailedMessage(event) {
1745
1748
  }
1746
1749
  return "Bridge failed";
1747
1750
  }
1748
- var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
1751
+ var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
1749
1752
  function DepositNotification({
1750
1753
  deposit,
1751
1754
  smartAccount,
@@ -1779,7 +1782,7 @@ function DepositNotification({
1779
1782
  const pollIntervalRef = _react.useRef.call(void 0, INITIAL_POLL_INTERVAL);
1780
1783
  const pollTimeoutRef = _react.useRef.call(void 0, null);
1781
1784
  const completedRef = _react.useRef.call(void 0, _nullishCoalesce(directTransfer, () => ( false)));
1782
- const depositContextRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, {
1785
+ const depositContextRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, {
1783
1786
  amount,
1784
1787
  sourceChain,
1785
1788
  sourceToken: token,
@@ -1787,8 +1790,8 @@ function DepositNotification({
1787
1790
  targetChain,
1788
1791
  targetToken
1789
1792
  });
1790
- const onCompleteRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onComplete);
1791
- const onFailedRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onFailed);
1793
+ const onCompleteRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onComplete);
1794
+ const onFailedRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onFailed);
1792
1795
  const handleComplete = _react.useCallback.call(void 0,
1793
1796
  (destTxHash) => {
1794
1797
  if (completedRef.current) return;
@@ -1879,12 +1882,12 @@ function DepositNotification({
1879
1882
  status,
1880
1883
  txHash
1881
1884
  ]);
1882
- const explorerTxUrl = _chunkNPSC5R22cjs.useExplorerTxUrl.call(void 0, );
1885
+ const explorerTxUrl = _chunkZQR36NCVcjs.useExplorerTxUrl.call(void 0, );
1883
1886
  const sourceExplorerUrl = sourceChain === "unknown" ? void 0 : explorerTxUrl(sourceChain, txHash);
1884
1887
  const destExplorerUrl = destinationTxHash ? explorerTxUrl(_chunkTENL4H64cjs.targetChainToChainId.call(void 0, targetChain), destinationTxHash) : null;
1885
1888
  const title = status === "complete" ? "Deposit completed" : status === "failed" ? "Deposit failed" : "Deposit received and processing\u2026";
1886
1889
  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.";
1887
- 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, _chunkNPSC5R22cjs.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, _chunkNPSC5R22cjs.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,
1890
+ 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, _chunkZQR36NCVcjs.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, _chunkZQR36NCVcjs.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,
1888
1891
  "svg",
1889
1892
  {
1890
1893
  className: "rs-deposit-notification-spinner",
@@ -1934,7 +1937,7 @@ function DepositNotification({
1934
1937
  className: "rs-deposit-notification-close",
1935
1938
  onClick: () => onDismiss(deposit.id),
1936
1939
  "aria-label": "Dismiss",
1937
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CloseIcon, {})
1940
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CloseIcon, {})
1938
1941
  }
1939
1942
  )
1940
1943
  ] }),
@@ -1950,7 +1953,7 @@ function DepositNotification({
1950
1953
  "aria-expanded": expanded,
1951
1954
  children: [
1952
1955
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: expanded ? "See less details" : "See more details" }),
1953
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
1956
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
1954
1957
  ]
1955
1958
  }
1956
1959
  ),
@@ -2104,7 +2107,7 @@ function resolveSourceTokenAddress(symbol, chainId, topTokens, catalogChain) {
2104
2107
  }
2105
2108
  function TokenGlyph({ symbol }) {
2106
2109
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2107
- _chunkNPSC5R22cjs.TokenIcon,
2110
+ _chunkZQR36NCVcjs.TokenIcon,
2108
2111
  {
2109
2112
  symbol,
2110
2113
  className: "rs-deposit-address-dropdown-icon",
@@ -2145,12 +2148,12 @@ function DepositAddressStep({
2145
2148
  };
2146
2149
  }, [service]);
2147
2150
  const BASE_CHAIN_ID2 = 8453;
2148
- const evmChainIds = _chunkNPSC5R22cjs.useDepositChainIds.call(void 0, );
2149
- const { catalog } = _chunkNPSC5R22cjs.useChainCatalog.call(void 0, );
2151
+ const evmChainIds = _chunkZQR36NCVcjs.useDepositChainIds.call(void 0, );
2152
+ const { catalog } = _chunkZQR36NCVcjs.useChainCatalog.call(void 0, );
2150
2153
  const catalogFor = _react.useCallback.call(void 0,
2151
2154
  (chain) => {
2152
2155
  if (!catalog) return void 0;
2153
- const key = _chunkNPSC5R22cjs.catalogKeyForChain.call(void 0, chain);
2156
+ const key = _chunkZQR36NCVcjs.catalogKeyForChain.call(void 0, chain);
2154
2157
  return typeof key === "number" ? catalog.byChainId.get(key) : catalog.byCaip2.get(key);
2155
2158
  },
2156
2159
  [catalog]
@@ -2357,10 +2360,10 @@ function DepositAddressStep({
2357
2360
  return;
2358
2361
  }
2359
2362
  const event = status.lastEvent;
2360
- const eventTxHash = _chunkHCQWFL3Acjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkHCQWFL3Acjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2363
+ const eventTxHash = _chunkHUHBNYD3cjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkHUHBNYD3cjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2361
2364
  if (baselineTxHashRef.current === void 0) {
2362
2365
  baselineTxHashRef.current = eventTxHash;
2363
- } else if (eventTxHash && (!baselineTxHashRef.current || !_chunkHCQWFL3Acjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
2366
+ } else if (eventTxHash && (!baselineTxHashRef.current || !_chunkHUHBNYD3cjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
2364
2367
  const details = getDepositEventDetails(event);
2365
2368
  const chainId = _nullishCoalesce(details.chainId, () => ( "unknown"));
2366
2369
  const amount = _nullishCoalesce(details.amount, () => ( "0"));
@@ -2437,7 +2440,7 @@ function DepositAddressStep({
2437
2440
  const qrIconSrc = _nullishCoalesce(_optionalChain([catalogFor, 'call', _93 => _93(sourceChainId), 'optionalAccess', _94 => _94.iconUrl]), () => ( _chunkTENL4H64cjs.getChainIcon.call(void 0, sourceChainId)));
2438
2441
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-step--with-notifications", children: [
2439
2442
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
2440
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2443
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2441
2444
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", children: [
2442
2445
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", ref: chainDropdownRef, children: [
2443
2446
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
@@ -2453,14 +2456,14 @@ function DepositAddressStep({
2453
2456
  },
2454
2457
  children: [
2455
2458
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2456
- _chunkNPSC5R22cjs.CdnIcon,
2459
+ _chunkZQR36NCVcjs.CdnIcon,
2457
2460
  {
2458
2461
  src: _nullishCoalesce(_optionalChain([catalogFor, 'call', _95 => _95(sourceChainId), 'optionalAccess', _96 => _96.iconUrl]), () => ( _chunkTENL4H64cjs.getChainIcon.call(void 0, sourceChainId))),
2459
2462
  className: "rs-deposit-address-dropdown-icon"
2460
2463
  }
2461
2464
  ),
2462
2465
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainLabel(sourceChainId, catalogFor(sourceChainId)) }),
2463
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2466
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2464
2467
  ]
2465
2468
  }
2466
2469
  ),
@@ -2472,7 +2475,7 @@ function DepositAddressStep({
2472
2475
  onClick: () => handleSelectChain(chainId),
2473
2476
  children: [
2474
2477
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2475
- _chunkNPSC5R22cjs.CdnIcon,
2478
+ _chunkZQR36NCVcjs.CdnIcon,
2476
2479
  {
2477
2480
  src: _nullishCoalesce(_optionalChain([catalogFor, 'call', _97 => _97(chainId), 'optionalAccess', _98 => _98.iconUrl]), () => ( _chunkTENL4H64cjs.getChainIcon.call(void 0, chainId))),
2478
2481
  className: "rs-deposit-address-dropdown-icon"
@@ -2490,8 +2493,8 @@ function DepositAddressStep({
2490
2493
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
2491
2494
  "Min.$",
2492
2495
  (_chunkTENL4H64cjs.isHyperCoreDestination.call(void 0, targetChain) || isHyperCore ? Math.max(_chunkTENL4H64cjs.HYPERCORE_MIN_DEPOSIT_USD, _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _99 => _99.minDepositUsd]), () => ( 0))) : _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _100 => _100.minDepositUsd]), () => ( 0.1))).toFixed(2),
2493
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCQWFL3Acjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2494
- _chunkNPSC5R22cjs.InfoIcon,
2496
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHUHBNYD3cjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2497
+ _chunkZQR36NCVcjs.InfoIcon,
2495
2498
  {
2496
2499
  className: "rs-deposit-address-min-icon",
2497
2500
  "aria-hidden": "true"
@@ -2512,7 +2515,7 @@ function DepositAddressStep({
2512
2515
  children: [
2513
2516
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenGlyph, { symbol: sourceTokenSymbol }),
2514
2517
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceTokenSymbol }),
2515
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2518
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2516
2519
  ]
2517
2520
  }
2518
2521
  ),
@@ -2556,7 +2559,7 @@ function DepositAddressStep({
2556
2559
  className: "rs-deposit-address-copy",
2557
2560
  onClick: handleCopy,
2558
2561
  children: [
2559
- copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CopyIcon, {}),
2562
+ copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CopyIcon, {}),
2560
2563
  copied ? "Copied!" : "Copy address"
2561
2564
  ]
2562
2565
  }
@@ -2581,16 +2584,16 @@ function DepositAddressStep({
2581
2584
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: "Price impact" }),
2582
2585
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.00%" }) }),
2583
2586
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2584
- _chunkHCQWFL3Acjs.Tooltip,
2587
+ _chunkHUHBNYD3cjs.Tooltip,
2585
2588
  {
2586
2589
  className: "rs-price-impact-info",
2587
2590
  content: "Price impact is the difference between expected and execution price, due to trade size and liquidity.",
2588
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.InfoIcon, { "aria-hidden": "true" })
2591
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.InfoIcon, { "aria-hidden": "true" })
2589
2592
  }
2590
2593
  )
2591
2594
  ] }),
2592
2595
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2593
- _chunkNPSC5R22cjs.ChevronDownIcon,
2596
+ _chunkZQR36NCVcjs.ChevronDownIcon,
2594
2597
  {
2595
2598
  className: "rs-price-impact-chevron",
2596
2599
  "aria-hidden": "true"
@@ -2601,29 +2604,29 @@ function DepositAddressStep({
2601
2604
  ),
2602
2605
  /* @__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: [
2603
2606
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
2604
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PercentIcon, {}) }),
2607
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PercentIcon, {}) }),
2605
2608
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2606
2609
  "Max slippage: ",
2607
2610
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.2%" })
2608
2611
  ] }),
2609
2612
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2610
- _chunkHCQWFL3Acjs.Tooltip,
2613
+ _chunkHUHBNYD3cjs.Tooltip,
2611
2614
  {
2612
2615
  className: "rs-price-impact-info",
2613
2616
  content: "Slippage accounts for price changes during execution. Slippage is adjusted per pair to ensure reliable execution.",
2614
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.InfoIcon, { "aria-hidden": "true" })
2617
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.InfoIcon, { "aria-hidden": "true" })
2615
2618
  }
2616
2619
  )
2617
2620
  ] }),
2618
2621
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
2619
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ClockIcon, {}) }),
2622
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ClockIcon, {}) }),
2620
2623
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2621
2624
  "Processing time: ",
2622
2625
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "< 1 min" })
2623
2626
  ] })
2624
2627
  ] }),
2625
2628
  liquidityHelper.kind !== "idle" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
2626
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PlusCircleIcon, {}) }),
2629
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PlusCircleIcon, {}) }),
2627
2630
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2628
2631
  "Max deposit:",
2629
2632
  " ",
@@ -2654,7 +2657,7 @@ function DepositAddressStep({
2654
2657
  },
2655
2658
  deposit.id
2656
2659
  )) }),
2657
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
2660
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
2658
2661
  ] });
2659
2662
  }
2660
2663
  DepositAddressStep.displayName = "DepositAddressStep";
@@ -2702,7 +2705,7 @@ function FinalisingDepositStep() {
2702
2705
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "rs-finalising-subtitle", children: "We are depositing your funds to the application." })
2703
2706
  ] })
2704
2707
  ] }),
2705
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
2708
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
2706
2709
  ] });
2707
2710
  }
2708
2711
  FinalisingDepositStep.displayName = "FinalisingDepositStep";
@@ -2732,7 +2735,7 @@ function SwappedOrderTracker({
2732
2735
  ];
2733
2736
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-swapped-tracker", children: [
2734
2737
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2735
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.HandCoinsIcon, {}), title }),
2738
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.HandCoinsIcon, {}), title }),
2736
2739
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "rs-swapped-tracker-steps", children: labels.map((label, idx) => {
2737
2740
  const status = stepStates[idx];
2738
2741
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -2746,7 +2749,7 @@ function SwappedOrderTracker({
2746
2749
  {
2747
2750
  className: "rs-swapped-tracker-step-marker",
2748
2751
  "aria-hidden": "true",
2749
- children: status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Spinner, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2752
+ children: status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Spinner, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2750
2753
  "svg",
2751
2754
  {
2752
2755
  className: "rs-swapped-tracker-step-ring",
@@ -2781,7 +2784,7 @@ function SwappedOrderTracker({
2781
2784
  }
2782
2785
  )
2783
2786
  ] }),
2784
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
2787
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
2785
2788
  ] });
2786
2789
  }
2787
2790
  function formatTrackerAmount(amount) {
@@ -2986,10 +2989,10 @@ function SwappedIframeStep({
2986
2989
  const status = await service.fetchLatestStatus(smartAccount);
2987
2990
  if (cancelled) return;
2988
2991
  const event = status.lastEvent;
2989
- const eventTxHash = _chunkHCQWFL3Acjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkHCQWFL3Acjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2992
+ const eventTxHash = _chunkHUHBNYD3cjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkHUHBNYD3cjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2990
2993
  if (baselineDepositTxHashRef.current === void 0) {
2991
2994
  baselineDepositTxHashRef.current = eventTxHash;
2992
- } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunkHCQWFL3Acjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
2995
+ } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunkHUHBNYD3cjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
2993
2996
  currentDepositTxHashRef.current = eventTxHash;
2994
2997
  setLatestEvent(_nullishCoalesce(event, () => ( null)));
2995
2998
  }
@@ -3063,10 +3066,10 @@ function SwappedIframeStep({
3063
3066
  [orderState, latestEvent]
3064
3067
  );
3065
3068
  const terminalState = _react.useMemo.call(void 0, () => {
3066
- if (_chunkHCQWFL3Acjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3069
+ if (_chunkHUHBNYD3cjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3067
3070
  return {
3068
3071
  kind: "failed",
3069
- message: _chunkHCQWFL3Acjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3072
+ message: _chunkHUHBNYD3cjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3070
3073
  };
3071
3074
  }
3072
3075
  if (_optionalChain([orderState, 'optionalAccess', _117 => _117.status]) === "order_cancelled") {
@@ -3089,7 +3092,7 @@ function SwappedIframeStep({
3089
3092
  orderCrypto: _nullishCoalesce(_optionalChain([orderState, 'optionalAccess', _119 => _119.orderCrypto]), () => ( null)),
3090
3093
  // Base-unit source amount from the deposit row/event, consistent with the
3091
3094
  // wallet/QR path. ProcessingStep + onLifecycle expect base units.
3092
- amount: _nullishCoalesce(_chunkHCQWFL3Acjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null)),
3095
+ amount: _nullishCoalesce(_chunkHUHBNYD3cjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null)),
3093
3096
  expectedOrderUuid: expectedOrderUuidRef.current,
3094
3097
  initialEvent: _nullishCoalesce(latestEvent, () => ( void 0))
3095
3098
  };
@@ -3100,14 +3103,14 @@ function SwappedIframeStep({
3100
3103
  }, [latestEvent, orderState, smartAccount]);
3101
3104
  _react.useEffect.call(void 0, () => {
3102
3105
  if (failedFiredRef.current || completeFiredRef.current) return;
3103
- if (!_chunkHCQWFL3Acjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
3106
+ if (!_chunkHUHBNYD3cjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
3104
3107
  const txHash = currentDepositTxHashRef.current;
3105
3108
  if (!txHash) return;
3106
3109
  failedFiredRef.current = true;
3107
3110
  setPhase("tracker");
3108
3111
  _optionalChain([onSwappedFailedRef, 'access', _120 => _120.current, 'optionalCall', _121 => _121(
3109
3112
  txHash,
3110
- _chunkHCQWFL3Acjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3113
+ _chunkHUHBNYD3cjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
3111
3114
  )]);
3112
3115
  }, [latestEvent]);
3113
3116
  const immersive = variant === "fiat" && phase === "iframe" && !loadError;
@@ -3153,7 +3156,7 @@ function SwappedIframeStep({
3153
3156
  }
3154
3157
  )
3155
3158
  ] }),
3156
- !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Spinner, {}) }),
3159
+ !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Spinner, {}) }),
3157
3160
  widgetUrl && !loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3158
3161
  "iframe",
3159
3162
  {
@@ -3176,11 +3179,11 @@ function SwappedIframeStep({
3176
3179
  retryToken
3177
3180
  )
3178
3181
  ] }) }),
3179
- loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
3182
+ loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
3180
3183
  ] });
3181
3184
  }
3182
3185
  function deriveStepStates(swappedStatus, latestEvent) {
3183
- if (_chunkHCQWFL3Acjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3186
+ if (_chunkHUHBNYD3cjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
3184
3187
  return ["complete", "complete", "failed", "pending"];
3185
3188
  }
3186
3189
  if (swappedStatus === "order_cancelled") {
@@ -3370,7 +3373,7 @@ ExchangeConnectStep.displayName = "ExchangeConnectStep";
3370
3373
  function ExchangeLogo({ exchange }) {
3371
3374
  const [failed, setFailed] = _react.useState.call(void 0, false);
3372
3375
  if (!exchange.logoUrl || failed) {
3373
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BankIcon, {});
3376
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BankIcon, {});
3374
3377
  }
3375
3378
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3376
3379
  "img",
@@ -3451,14 +3454,14 @@ function ExchangeSelectStep({
3451
3454
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-exchange-select", children: [
3452
3455
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3453
3456
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3454
- _chunkNPSC5R22cjs.BodyHeader,
3457
+ _chunkZQR36NCVcjs.BodyHeader,
3455
3458
  {
3456
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.UnplugIcon, {}),
3459
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.UnplugIcon, {}),
3457
3460
  title: "Connect exchange",
3458
3461
  subtitle: "Select an exchange to connect"
3459
3462
  }
3460
3463
  ),
3461
- loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Spinner, {}) }),
3464
+ loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Spinner, {}) }),
3462
3465
  !loading && error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: [
3463
3466
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state-title", children: "Couldn\u2019t load exchanges" }),
3464
3467
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -3484,7 +3487,7 @@ function ExchangeSelectStep({
3484
3487
  )
3485
3488
  ] }),
3486
3489
  !loading && !error && exchanges.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-grid", children: exchanges.map((exchange) => {
3487
- const brand = _chunkHCQWFL3Acjs.getExchangeLogo.call(void 0, exchange.name, exchange.connection);
3490
+ const brand = _chunkHUHBNYD3cjs.getExchangeLogo.call(void 0, exchange.name, exchange.connection);
3488
3491
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3489
3492
  "button",
3490
3493
  {
@@ -3509,7 +3512,7 @@ function ExchangeSelectStep({
3509
3512
  );
3510
3513
  }) })
3511
3514
  ] }),
3512
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {}),
3515
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {}),
3513
3516
  exchangeFeeBps > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "rs-exchange-select-fee-note", children: [
3514
3517
  "A ",
3515
3518
  formatFeeRate(exchangeFeeBps),
@@ -3535,20 +3538,20 @@ function DepositAddressSkeleton({
3535
3538
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", "aria-busy": "true", children: [
3536
3539
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: "Preparing deposit details\u2026" }),
3537
3540
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
3538
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
3541
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
3539
3542
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", "aria-hidden": "true", children: [
3540
3543
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
3541
3544
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
3542
3545
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown-trigger", children: [
3543
3546
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3544
- _chunkNPSC5R22cjs.CdnIcon,
3547
+ _chunkZQR36NCVcjs.CdnIcon,
3545
3548
  {
3546
3549
  src: chainIcon,
3547
3550
  className: "rs-deposit-address-dropdown-icon"
3548
3551
  }
3549
3552
  ),
3550
3553
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainName }),
3551
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3554
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3552
3555
  ] })
3553
3556
  ] }),
3554
3557
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
@@ -3557,8 +3560,8 @@ function DepositAddressSkeleton({
3557
3560
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
3558
3561
  "Min.$",
3559
3562
  (_nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _136 => _136.minDepositUsd]), () => ( 0.1))).toFixed(2),
3560
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCQWFL3Acjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3561
- _chunkNPSC5R22cjs.InfoIcon,
3563
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHUHBNYD3cjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3564
+ _chunkZQR36NCVcjs.InfoIcon,
3562
3565
  {
3563
3566
  className: "rs-deposit-address-min-icon",
3564
3567
  "aria-hidden": "true"
@@ -3568,14 +3571,14 @@ function DepositAddressSkeleton({
3568
3571
  ] }),
3569
3572
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown-trigger", children: [
3570
3573
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3571
- _chunkNPSC5R22cjs.TokenIcon,
3574
+ _chunkZQR36NCVcjs.TokenIcon,
3572
3575
  {
3573
3576
  symbol: defaultToken,
3574
3577
  className: "rs-deposit-address-dropdown-icon"
3575
3578
  }
3576
3579
  ),
3577
3580
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: defaultToken }),
3578
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3581
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
3579
3582
  ] })
3580
3583
  ] })
3581
3584
  ] }),
@@ -3596,7 +3599,7 @@ function DepositAddressSkeleton({
3596
3599
  disabled: true,
3597
3600
  "aria-hidden": "true",
3598
3601
  children: [
3599
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CopyIcon, {}),
3602
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CopyIcon, {}),
3600
3603
  "Copy address"
3601
3604
  ]
3602
3605
  }
@@ -3609,16 +3612,16 @@ function DepositAddressSkeleton({
3609
3612
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: "Price impact" }),
3610
3613
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.00%" }) }),
3611
3614
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3612
- _chunkHCQWFL3Acjs.Tooltip,
3615
+ _chunkHUHBNYD3cjs.Tooltip,
3613
3616
  {
3614
3617
  className: "rs-price-impact-info",
3615
3618
  content: "Price impact is the difference between expected and execution price, due to trade size and liquidity.",
3616
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.InfoIcon, { "aria-hidden": "true" })
3619
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.InfoIcon, { "aria-hidden": "true" })
3617
3620
  }
3618
3621
  )
3619
3622
  ] }),
3620
3623
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3621
- _chunkNPSC5R22cjs.ChevronDownIcon,
3624
+ _chunkZQR36NCVcjs.ChevronDownIcon,
3622
3625
  {
3623
3626
  className: "rs-price-impact-chevron",
3624
3627
  "aria-hidden": "true"
@@ -3626,7 +3629,7 @@ function DepositAddressSkeleton({
3626
3629
  )
3627
3630
  ] }) })
3628
3631
  ] }),
3629
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
3632
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
3630
3633
  ] });
3631
3634
  }
3632
3635
  DepositAddressSkeleton.displayName = "DepositAddressSkeleton";
@@ -3658,7 +3661,7 @@ function SolanaTokenSelectStep({
3658
3661
  setError(null);
3659
3662
  const portfolioBySymbol = {};
3660
3663
  try {
3661
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
3664
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
3662
3665
  solanaAddress
3663
3666
  });
3664
3667
  const portfolio = await service.fetchSolanaPortfolio(solanaAddress);
@@ -3681,12 +3684,12 @@ function SolanaTokenSelectStep({
3681
3684
  };
3682
3685
  }
3683
3686
  }
3684
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
3687
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
3685
3688
  symbols: Object.keys(portfolioBySymbol)
3686
3689
  });
3687
3690
  } catch (err) {
3688
3691
  if (!active) return;
3689
- _chunkNPSC5R22cjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
3692
+ _chunkZQR36NCVcjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
3690
3693
  solanaAddress
3691
3694
  });
3692
3695
  setError(
@@ -3733,7 +3736,7 @@ function SolanaTokenSelectStep({
3733
3736
  const raw = _viem.formatUnits.call(void 0, entry.balance, entry.token.decimals);
3734
3737
  const numeric = Number(raw);
3735
3738
  if (!Number.isFinite(numeric)) return raw;
3736
- return _chunkNPSC5R22cjs.tokenFormatter.format(numeric);
3739
+ return _chunkZQR36NCVcjs.tokenFormatter.format(numeric);
3737
3740
  } catch (e22) {
3738
3741
  return "--";
3739
3742
  }
@@ -3743,20 +3746,20 @@ function SolanaTokenSelectStep({
3743
3746
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3744
3747
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
3745
3748
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3746
- _chunkNPSC5R22cjs.BodyHeader,
3749
+ _chunkZQR36NCVcjs.BodyHeader,
3747
3750
  {
3748
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {}),
3751
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {}),
3749
3752
  title: "Your assets",
3750
3753
  subtitle: "Select source assets to transfer"
3751
3754
  }
3752
3755
  ),
3753
3756
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
3754
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Spinner, { className: "rs-text-tertiary" }),
3757
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Spinner, { className: "rs-text-tertiary" }),
3755
3758
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
3756
3759
  ] }),
3757
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Callout, { variant: "error", children: error }),
3760
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Callout, { variant: "error", children: error }),
3758
3761
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
3759
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, { className: "rs-empty-icon" }),
3762
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, { className: "rs-empty-icon" }),
3760
3763
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
3761
3764
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
3762
3765
  solanaAddress.slice(0, 6),
@@ -3787,13 +3790,13 @@ function SolanaTokenSelectStep({
3787
3790
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-info", children: [
3788
3791
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-icon-wrapper", children: [
3789
3792
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3790
- _chunkNPSC5R22cjs.TokenIcon,
3793
+ _chunkZQR36NCVcjs.TokenIcon,
3791
3794
  {
3792
3795
  symbol: entry.token.symbol,
3793
3796
  fallback: entry.token.symbol.slice(0, 4)
3794
3797
  }
3795
3798
  ) }),
3796
- chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: chainIcon, alt: chainName }) })
3799
+ chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: chainIcon, alt: chainName }) })
3797
3800
  ] }),
3798
3801
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-text", children: [
3799
3802
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-name-row", children: [
@@ -3810,14 +3813,14 @@ function SolanaTokenSelectStep({
3810
3813
  ] })
3811
3814
  ] })
3812
3815
  ] }),
3813
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunkNPSC5R22cjs.currencyFormatter.format(entry.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${entry.token.symbol}` : "--" })
3816
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunkZQR36NCVcjs.currencyFormatter.format(entry.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${entry.token.symbol}` : "--" })
3814
3817
  ]
3815
3818
  },
3816
3819
  entry.token.symbol
3817
3820
  );
3818
3821
  }) }),
3819
3822
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3820
- _chunkNPSC5R22cjs.Button,
3823
+ _chunkZQR36NCVcjs.Button,
3821
3824
  {
3822
3825
  onClick: () => selectedEntry && onContinue(
3823
3826
  selectedEntry.token,
@@ -3830,7 +3833,7 @@ function SolanaTokenSelectStep({
3830
3833
  }
3831
3834
  )
3832
3835
  ] }),
3833
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
3836
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
3834
3837
  ] });
3835
3838
  }
3836
3839
 
@@ -3882,7 +3885,7 @@ function SolanaAmountStep({
3882
3885
  const raw = _viem.formatUnits.call(void 0, balance, token.decimals);
3883
3886
  const numeric = Number(raw);
3884
3887
  if (!Number.isFinite(numeric)) return raw;
3885
- return _chunkNPSC5R22cjs.tokenFormatter.format(numeric);
3888
+ return _chunkZQR36NCVcjs.tokenFormatter.format(numeric);
3886
3889
  } catch (e24) {
3887
3890
  return "\u2026";
3888
3891
  }
@@ -3975,7 +3978,7 @@ function SolanaAmountStep({
3975
3978
  const handlePresetClick = (percentage) => {
3976
3979
  const formatted = computePresetAmount(percentage);
3977
3980
  if (!formatted) return;
3978
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
3981
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
3979
3982
  percentage,
3980
3983
  symbol: token.symbol,
3981
3984
  formatted
@@ -4010,7 +4013,7 @@ function SolanaAmountStep({
4010
4013
  try {
4011
4014
  amountInUnits = _viem.parseUnits.call(void 0, sourceAmountStr, token.decimals);
4012
4015
  } catch (e29) {
4013
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
4016
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
4014
4017
  amount,
4015
4018
  sourceAmount: sourceAmountStr,
4016
4019
  reason: "parse-units-failed"
@@ -4025,7 +4028,7 @@ function SolanaAmountStep({
4025
4028
  );
4026
4029
  return;
4027
4030
  }
4028
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
4031
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
4029
4032
  symbol: token.symbol,
4030
4033
  inputAmountUsd: amount,
4031
4034
  sourceAmount: sourceAmountStr,
@@ -4038,7 +4041,7 @@ function SolanaAmountStep({
4038
4041
  const continueDisabled = exceedsBalance || numericAmount === 0 && !isBelowMin;
4039
4042
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4040
4043
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4041
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {}), title: "Wallet deposit" }),
4044
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {}), title: "Wallet deposit" }),
4042
4045
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
4043
4046
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
4044
4047
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -4058,13 +4061,13 @@ function SolanaAmountStep({
4058
4061
  " available",
4059
4062
  computedBalanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4060
4063
  " (~",
4061
- _chunkNPSC5R22cjs.currencyFormatter.format(computedBalanceUsd),
4064
+ _chunkZQR36NCVcjs.currencyFormatter.format(computedBalanceUsd),
4062
4065
  ")"
4063
4066
  ] })
4064
4067
  ] }),
4065
4068
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
4066
4069
  "Min. deposit ",
4067
- _chunkNPSC5R22cjs.currencyFormatter.format(minDepositUsd)
4070
+ _chunkZQR36NCVcjs.currencyFormatter.format(minDepositUsd)
4068
4071
  ] })
4069
4072
  ] })
4070
4073
  ] }),
@@ -4087,7 +4090,7 @@ function SolanaAmountStep({
4087
4090
  "Solana ",
4088
4091
  token.symbol
4089
4092
  ] }),
4090
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: token.symbol }) })
4093
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: token.symbol }) })
4091
4094
  ] })
4092
4095
  ] }),
4093
4096
  targetChainName && targetTokenSymbol && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
@@ -4098,17 +4101,17 @@ function SolanaAmountStep({
4098
4101
  " ",
4099
4102
  targetTokenSymbol
4100
4103
  ] }),
4101
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: targetTokenSymbol }) })
4104
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: targetTokenSymbol }) })
4102
4105
  ] })
4103
4106
  ] }),
4104
4107
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
4105
4108
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
4106
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkNPSC5R22cjs.currencyFormatter.format(balanceAfterUsd) })
4109
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkZQR36NCVcjs.currencyFormatter.format(balanceAfterUsd) })
4107
4110
  ] })
4108
4111
  ] }),
4109
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Callout, { variant: "error", children: error }),
4112
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Callout, { variant: "error", children: error }),
4110
4113
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4111
- _chunkNPSC5R22cjs.Button,
4114
+ _chunkZQR36NCVcjs.Button,
4112
4115
  {
4113
4116
  onClick: handleContinue,
4114
4117
  fullWidth: true,
@@ -4117,7 +4120,7 @@ function SolanaAmountStep({
4117
4120
  }
4118
4121
  )
4119
4122
  ] }),
4120
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
4123
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
4121
4124
  ] });
4122
4125
  }
4123
4126
 
@@ -4140,10 +4143,10 @@ var _spltoken = require('@solana/spl-token');
4140
4143
  var DEFAULT_SOLANA_RPC_URL = "https://api.mainnet.solana.com";
4141
4144
  var cachedConnections = /* @__PURE__ */ new Map();
4142
4145
  function getSolanaRpcUrl(rpcUrls) {
4143
- return _nullishCoalesce(_chunkNPSC5R22cjs.rpcUrlFor.call(void 0, rpcUrls, "solana"), () => ( DEFAULT_SOLANA_RPC_URL));
4146
+ return _nullishCoalesce(_chunkZQR36NCVcjs.rpcUrlFor.call(void 0, rpcUrls, "solana"), () => ( DEFAULT_SOLANA_RPC_URL));
4144
4147
  }
4145
4148
  function hasConfiguredSolanaRpcUrl(rpcUrls) {
4146
- return _chunkNPSC5R22cjs.rpcUrlFor.call(void 0, rpcUrls, "solana") !== void 0;
4149
+ return _chunkZQR36NCVcjs.rpcUrlFor.call(void 0, rpcUrls, "solana") !== void 0;
4147
4150
  }
4148
4151
  function getSolanaConnection(rpcUrls) {
4149
4152
  const rpcUrl = getSolanaRpcUrl(rpcUrls);
@@ -4245,7 +4248,7 @@ function SolanaConfirmStep({
4245
4248
  onError,
4246
4249
  debug
4247
4250
  }) {
4248
- const rpcUrls = _chunkNPSC5R22cjs.useRpcUrls.call(void 0, );
4251
+ const rpcUrls = _chunkZQR36NCVcjs.useRpcUrls.call(void 0, );
4249
4252
  const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
4250
4253
  const [error, setError] = _react.useState.call(void 0, null);
4251
4254
  const targetChainId = _chunkTENL4H64cjs.targetChainToChainId.call(void 0, targetChain);
@@ -4256,26 +4259,26 @@ function SolanaConfirmStep({
4256
4259
  const targetChainIcon = _chunkTENL4H64cjs.getChainIcon.call(void 0, targetChainId);
4257
4260
  const feeSponsored = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _145 => _145.feeSponsored]), () => ( false));
4258
4261
  const feeTooltip = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _146 => _146.feeTooltip]), () => ( (feeSponsored ? "Network fees are sponsored for this deposit." : "Network fees apply.")));
4259
- const formattedAmount = sourceAmount && Number.isFinite(Number(sourceAmount)) ? _nullishCoalesce(_chunkNPSC5R22cjs.formatTokenAmount.call(void 0, Number(sourceAmount), token.symbol), () => ( "0")) : "0";
4262
+ const formattedAmount = sourceAmount && Number.isFinite(Number(sourceAmount)) ? _nullishCoalesce(_chunkZQR36NCVcjs.formatTokenAmount.call(void 0, Number(sourceAmount), token.symbol), () => ( "0")) : "0";
4260
4263
  const receiveDisplay = (() => {
4261
4264
  const usdValue = Number(targetAmount);
4262
4265
  const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
4263
- const estimate = _chunkNPSC5R22cjs.formatReceiveEstimate.call(void 0, {
4266
+ const estimate = _chunkZQR36NCVcjs.formatReceiveEstimate.call(void 0, {
4264
4267
  sourceAmount: Number.isFinite(Number(sourceAmount)) ? Number(sourceAmount) : void 0,
4265
4268
  sourceSymbol: token.symbol,
4266
4269
  targetSymbol,
4267
4270
  sourceAmountUsd,
4268
- sourceTrusted: _chunkNPSC5R22cjs.isRecognizedToken.call(void 0, token.mint, "solana"),
4271
+ sourceTrusted: _chunkZQR36NCVcjs.isRecognizedToken.call(void 0, token.mint, "solana"),
4269
4272
  // Curated stablecoin target estimates at $1 when unquoted; never applied
4270
4273
  // to the source (a held token). See ConfirmStep for the rationale.
4271
- prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkNPSC5R22cjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
4274
+ prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : _chunkZQR36NCVcjs.isDisplayStablecoinSymbol.call(void 0, targetSymbol) ? { [targetSymbol.toUpperCase()]: 1 } : {}
4272
4275
  });
4273
4276
  if (estimate !== void 0) return estimate;
4274
4277
  return targetSymbol;
4275
4278
  })();
4276
4279
  const handleConfirm = async () => {
4277
4280
  if (!solanaProvider) {
4278
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4281
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4279
4282
  reason: "missing-provider"
4280
4283
  });
4281
4284
  setError("Solana wallet not connected");
@@ -4283,7 +4286,7 @@ function SolanaConfirmStep({
4283
4286
  }
4284
4287
  const parsedAmount = parseFloat(sourceAmount);
4285
4288
  if (isNaN(parsedAmount) || parsedAmount <= 0) {
4286
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4289
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
4287
4290
  reason: "invalid-amount",
4288
4291
  sourceAmount
4289
4292
  });
@@ -4292,7 +4295,7 @@ function SolanaConfirmStep({
4292
4295
  }
4293
4296
  setError(null);
4294
4297
  setIsSubmitting(true);
4295
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
4298
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
4296
4299
  smartAccount,
4297
4300
  solanaAddress,
4298
4301
  solanaDepositAddress,
@@ -4302,7 +4305,7 @@ function SolanaConfirmStep({
4302
4305
  });
4303
4306
  try {
4304
4307
  const check = await service.checkAccount(smartAccount);
4305
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
4308
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
4306
4309
  smartAccount,
4307
4310
  isRegistered: check.isRegistered,
4308
4311
  targetChain: check.targetChain,
@@ -4315,7 +4318,7 @@ function SolanaConfirmStep({
4315
4318
  }
4316
4319
  const connection = hasConfiguredSolanaRpcUrl(rpcUrls) ? getSolanaConnection(rpcUrls) : _nullishCoalesce(solanaConnection, () => ( getSolanaConnection(rpcUrls)));
4317
4320
  const amountUnits = _viem.parseUnits.call(void 0, sourceAmount, token.decimals);
4318
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
4321
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
4319
4322
  token: token.symbol,
4320
4323
  sourceAmount,
4321
4324
  amountUnits: amountUnits.toString()
@@ -4332,7 +4335,7 @@ function SolanaConfirmStep({
4332
4335
  token.mint,
4333
4336
  amountUnits
4334
4337
  );
4335
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
4338
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
4336
4339
  token: token.symbol,
4337
4340
  instructionCount: transaction.instructions.length,
4338
4341
  feePayer: _optionalChain([transaction, 'access', _147 => _147.feePayer, 'optionalAccess', _148 => _148.toBase58, 'call', _149 => _149()]),
@@ -4343,7 +4346,7 @@ function SolanaConfirmStep({
4343
4346
  connection,
4344
4347
  transaction
4345
4348
  );
4346
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
4349
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
4347
4350
  txHash,
4348
4351
  amountUnits: amountUnits.toString()
4349
4352
  });
@@ -4355,34 +4358,34 @@ function SolanaConfirmStep({
4355
4358
  });
4356
4359
  } catch (err) {
4357
4360
  const raw = err instanceof Error ? err.message : "Transfer failed";
4358
- const message = _chunkNPSC5R22cjs.formatUserError.call(void 0, raw);
4359
- _chunkNPSC5R22cjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
4361
+ const message = _chunkZQR36NCVcjs.formatUserError.call(void 0, raw);
4362
+ _chunkZQR36NCVcjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
4360
4363
  smartAccount,
4361
4364
  token: token.symbol,
4362
4365
  sourceAmount
4363
4366
  });
4364
4367
  setError(message);
4365
- _optionalChain([onError, 'optionalCall', _150 => _150(message, "SOLANA_TRANSFER_ERROR")]);
4368
+ _optionalChain([onError, 'optionalCall', _150 => _150(message, "SOLANA_TRANSFER_ERROR", raw)]);
4366
4369
  } finally {
4367
4370
  setIsSubmitting(false);
4368
4371
  }
4369
4372
  };
4370
4373
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4371
4374
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4372
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {}), title: "Review deposit" }),
4375
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {}), title: "Review deposit" }),
4373
4376
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-details", children: [
4374
4377
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
4375
4378
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
4376
4379
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
4377
4380
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceChainName }),
4378
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: sourceChainIcon }) })
4381
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: sourceChainIcon }) })
4379
4382
  ] })
4380
4383
  ] }),
4381
4384
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
4382
4385
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Destination chain" }),
4383
4386
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
4384
4387
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName }),
4385
- targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: targetChainIcon }) })
4388
+ targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: targetChainIcon }) })
4386
4389
  ] })
4387
4390
  ] }),
4388
4391
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -4397,14 +4400,14 @@ function SolanaConfirmStep({
4397
4400
  " ",
4398
4401
  token.symbol
4399
4402
  ] }),
4400
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: token.symbol }) })
4403
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: token.symbol }) })
4401
4404
  ] })
4402
4405
  ] }),
4403
4406
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
4404
4407
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Receive" }),
4405
4408
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
4406
4409
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
4407
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: targetSymbol }) })
4410
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: targetSymbol }) })
4408
4411
  ] })
4409
4412
  ] }),
4410
4413
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -4417,13 +4420,13 @@ function SolanaConfirmStep({
4417
4420
  children: "$0.04"
4418
4421
  }
4419
4422
  ),
4420
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCQWFL3Acjs.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, _chunkNPSC5R22cjs.InfoIcon, {}) }) })
4423
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHUHBNYD3cjs.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, _chunkZQR36NCVcjs.InfoIcon, {}) }) })
4421
4424
  ] })
4422
4425
  ] })
4423
4426
  ] }),
4424
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Callout, { variant: "error", children: error }),
4427
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Callout, { variant: "error", children: error }),
4425
4428
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4426
- _chunkNPSC5R22cjs.Button,
4429
+ _chunkZQR36NCVcjs.Button,
4427
4430
  {
4428
4431
  onClick: handleConfirm,
4429
4432
  loading: isSubmitting,
@@ -4434,7 +4437,7 @@ function SolanaConfirmStep({
4434
4437
  }
4435
4438
  )
4436
4439
  ] }),
4437
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
4440
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
4438
4441
  ] });
4439
4442
  }
4440
4443
 
@@ -4449,19 +4452,19 @@ function DappImportAssetSelectStep({
4449
4452
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4450
4453
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4451
4454
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4452
- _chunkNPSC5R22cjs.BodyHeader,
4455
+ _chunkZQR36NCVcjs.BodyHeader,
4453
4456
  {
4454
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {}),
4457
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {}),
4455
4458
  title: `Transfer from ${sourceLabel}`,
4456
4459
  subtitle: "Pick the balance to import"
4457
4460
  }
4458
4461
  ),
4459
4462
  incompleteSummary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-notice", role: "status", children: incompleteSummary }),
4460
4463
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-list", children: assets.map((asset) => {
4461
- const tokenAmount = asset.balance ? _chunkNPSC5R22cjs.tokenFormatter.format(
4464
+ const tokenAmount = asset.balance ? _chunkZQR36NCVcjs.tokenFormatter.format(
4462
4465
  Number(asset.balance) / 10 ** asset.decimals
4463
4466
  ) : "0";
4464
- const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunkNPSC5R22cjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
4467
+ const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunkZQR36NCVcjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
4465
4468
  const assetIcon = asset.icon;
4466
4469
  const chainIcon = _chunkTENL4H64cjs.getChainIcon.call(void 0, asset.chainId);
4467
4470
  const badge = _chunkTENL4H64cjs.getChainBadge.call(void 0, asset.chainId);
@@ -4474,14 +4477,14 @@ function DappImportAssetSelectStep({
4474
4477
  children: [
4475
4478
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-info", children: [
4476
4479
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-icon-wrapper", children: [
4477
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: assetIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: assetIcon, alt: asset.symbol }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4478
- _chunkNPSC5R22cjs.TokenIcon,
4480
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-icon", children: assetIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: assetIcon, alt: asset.symbol }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4481
+ _chunkZQR36NCVcjs.TokenIcon,
4479
4482
  {
4480
4483
  symbol: asset.symbol,
4481
4484
  fallback: asset.symbol.slice(0, 4)
4482
4485
  }
4483
4486
  ) }),
4484
- chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: chainIcon, alt: _chunkTENL4H64cjs.getChainName.call(void 0, asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4487
+ chainIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-chain-badge", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: chainIcon, alt: _chunkTENL4H64cjs.getChainName.call(void 0, asset.chainId) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4485
4488
  "span",
4486
4489
  {
4487
4490
  className: "rs-asset-chain-badge",
@@ -4513,7 +4516,7 @@ function DappImportAssetSelectStep({
4513
4516
  );
4514
4517
  }) })
4515
4518
  ] }),
4516
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
4519
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
4517
4520
  ] });
4518
4521
  }
4519
4522
  DappImportAssetSelectStep.displayName = "DappImportAssetSelectStep";
@@ -4535,7 +4538,7 @@ function describeRow(status, comingSoon) {
4535
4538
  }
4536
4539
  if (status.enabled) {
4537
4540
  return {
4538
- subtitle: status.balanceUsd > 0 ? _chunkNPSC5R22cjs.currencyFormatter.format(status.balanceUsd) : "No balance",
4541
+ subtitle: status.balanceUsd > 0 ? _chunkZQR36NCVcjs.currencyFormatter.format(status.balanceUsd) : "No balance",
4539
4542
  disabled: false,
4540
4543
  busy: false
4541
4544
  };
@@ -4558,9 +4561,9 @@ function DappImportSelectStep({
4558
4561
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
4559
4562
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4560
4563
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4561
- _chunkNPSC5R22cjs.BodyHeader,
4564
+ _chunkZQR36NCVcjs.BodyHeader,
4562
4565
  {
4563
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.MigrateAssetsIcon, {}),
4566
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.MigrateAssetsIcon, {}),
4564
4567
  title: "Migrate assets",
4565
4568
  subtitle: "Select a position to migrate"
4566
4569
  }
@@ -4572,13 +4575,13 @@ function DappImportSelectStep({
4572
4575
  Boolean(brand.comingSoon)
4573
4576
  );
4574
4577
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4575
- _chunkJYKMR6QIcjs.ListRow,
4578
+ _chunkFVUXJ3RPcjs.ListRow,
4576
4579
  {
4577
4580
  leadingMedia: brand.iconUrl,
4578
4581
  title: brand.label,
4579
4582
  subtitle,
4580
4583
  disabled,
4581
- trailing: busy ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Spinner, { className: "rs-spinner--sm" }) : void 0,
4584
+ trailing: busy ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Spinner, { className: "rs-spinner--sm" }) : void 0,
4582
4585
  onClick: () => {
4583
4586
  if (status === "needs-connect") {
4584
4587
  _optionalChain([onRequestConnect, 'optionalCall', _151 => _151()]);
@@ -4591,7 +4594,7 @@ function DappImportSelectStep({
4591
4594
  );
4592
4595
  }) })
4593
4596
  ] }),
4594
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
4597
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
4595
4598
  ] });
4596
4599
  }
4597
4600
  DappImportSelectStep.displayName = "DappImportSelectStep";
@@ -4608,9 +4611,9 @@ function DappImportAssetSelectSkeleton({
4608
4611
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: error ? "Couldn't load balances" : "Loading balances\u2026" }),
4609
4612
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
4610
4613
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4611
- _chunkNPSC5R22cjs.BodyHeader,
4614
+ _chunkZQR36NCVcjs.BodyHeader,
4612
4615
  {
4613
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.WalletIcon, {}),
4616
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.WalletIcon, {}),
4614
4617
  title: `Transfer from ${sourceLabel}`,
4615
4618
  subtitle: "Pick the balance to import"
4616
4619
  }
@@ -4648,7 +4651,7 @@ function DappImportAssetSelectSkeleton({
4648
4651
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Try again" })
4649
4652
  }
4650
4653
  ) }),
4651
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
4654
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
4652
4655
  ] });
4653
4656
  }
4654
4657
  DappImportAssetSelectSkeleton.displayName = "DappImportAssetSelectSkeleton";
@@ -6451,11 +6454,11 @@ function DepositFlow({
6451
6454
  onError,
6452
6455
  debug
6453
6456
  }) {
6454
- const rpcUrls = _chunkNPSC5R22cjs.useRpcUrls.call(void 0, );
6455
- const onStepChangeRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onStepChange);
6456
- const onEventRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onEvent);
6457
- const onLifecycleRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onLifecycle);
6458
- const onErrorRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onError);
6457
+ const rpcUrls = _chunkZQR36NCVcjs.useRpcUrls.call(void 0, );
6458
+ const onStepChangeRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onStepChange);
6459
+ const onEventRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onEvent);
6460
+ const onLifecycleRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onLifecycle);
6461
+ const onErrorRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onError);
6459
6462
  const storeApi = useDepositStoreApi();
6460
6463
  const flowSlice = useDepositStore((s) => s.flow);
6461
6464
  const depositSlice = useDepositStore((s) => s.deposit);
@@ -6472,13 +6475,13 @@ function DepositFlow({
6472
6475
  const stableWalletSelectionKeyRef = _react.useRef.call(void 0, null);
6473
6476
  const logFlow = _react.useCallback.call(void 0,
6474
6477
  (message, data) => {
6475
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
6478
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
6476
6479
  },
6477
6480
  [debug]
6478
6481
  );
6479
6482
  const logFlowError = _react.useCallback.call(void 0,
6480
6483
  (message, error, data) => {
6481
- _chunkNPSC5R22cjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
6484
+ _chunkZQR36NCVcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
6482
6485
  },
6483
6486
  [debug]
6484
6487
  );
@@ -6611,7 +6614,7 @@ function DepositFlow({
6611
6614
  return;
6612
6615
  }
6613
6616
  let cancelled = false;
6614
- _chunkHCQWFL3Acjs.fetchTokenPriceUsd.call(void 0, service, {
6617
+ _chunkHUHBNYD3cjs.fetchTokenPriceUsd.call(void 0, service, {
6615
6618
  chainId: targetChainId,
6616
6619
  address: targetToken,
6617
6620
  symbol: targetSymbol
@@ -6632,7 +6635,7 @@ function DepositFlow({
6632
6635
  return {
6633
6636
  ownerAddress: walletClientProp.account.address,
6634
6637
  walletClient: walletClientProp,
6635
- publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkNPSC5R22cjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
6638
+ publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkZQR36NCVcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
6636
6639
  switchChain: dappSwitchChain
6637
6640
  };
6638
6641
  }
@@ -6649,7 +6652,7 @@ function DepositFlow({
6649
6652
  return {
6650
6653
  ownerAddress: walletClientProp.account.address,
6651
6654
  walletClient: walletClientProp,
6652
- publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkNPSC5R22cjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
6655
+ publicClient: _nullishCoalesce(publicClientProp, () => ( _chunkZQR36NCVcjs.getPublicClient.call(void 0, fallbackChainId, rpcUrls))),
6653
6656
  switchChain: dappSwitchChain
6654
6657
  };
6655
6658
  }
@@ -6657,7 +6660,7 @@ function DepositFlow({
6657
6660
  return {
6658
6661
  ownerAddress: reownWallet.address,
6659
6662
  walletClient: reownWallet.walletClient,
6660
- publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkNPSC5R22cjs.getPublicClient.call(void 0, setupChainId, rpcUrls))),
6663
+ publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkZQR36NCVcjs.getPublicClient.call(void 0, setupChainId, rpcUrls))),
6661
6664
  switchChain: reownWallet.switchChain
6662
6665
  };
6663
6666
  }
@@ -7012,7 +7015,7 @@ function DepositFlow({
7012
7015
  eoa: dappImportOwner,
7013
7016
  getPublicClient: (chainId) => {
7014
7017
  try {
7015
- return _chunkNPSC5R22cjs.getPublicClient.call(void 0, chainId, rpcUrls);
7018
+ return _chunkZQR36NCVcjs.getPublicClient.call(void 0, chainId, rpcUrls);
7016
7019
  } catch (e33) {
7017
7020
  return null;
7018
7021
  }
@@ -7237,7 +7240,7 @@ function DepositFlow({
7237
7240
  acceptedExchangeFeeBps: disclosedFeeBps
7238
7241
  });
7239
7242
  } catch (error) {
7240
- if (error instanceof _chunkNPSC5R22cjs.SwappedConnectFeeChangedError) {
7243
+ if (error instanceof _chunkZQR36NCVcjs.SwappedConnectFeeChangedError) {
7241
7244
  return error.exchangeFeeBps;
7242
7245
  }
7243
7246
  throw error;
@@ -7488,17 +7491,17 @@ function DepositFlow({
7488
7491
  forceRegister
7489
7492
  ]
7490
7493
  );
7491
- const desiredSetupRequestKey = _chunkHCQWFL3Acjs.computeRequestKey.call(void 0, setupInput);
7494
+ const desiredSetupRequestKey = _chunkHUHBNYD3cjs.computeRequestKey.call(void 0, setupInput);
7492
7495
  const setupReady = setupSlice.status === "ready" && setupSlice.requestKey === desiredSetupRequestKey;
7493
7496
  _react.useEffect.call(void 0, () => {
7494
7497
  void (async () => {
7495
- const requestKey = _chunkHCQWFL3Acjs.computeRequestKey.call(void 0, setupInput);
7496
- const cacheKey = _chunkHCQWFL3Acjs.computeCacheKey.call(void 0, setupInput);
7497
- const cacheable = _chunkHCQWFL3Acjs.computeIsCacheable.call(void 0, setupInput);
7498
+ const requestKey = _chunkHUHBNYD3cjs.computeRequestKey.call(void 0, setupInput);
7499
+ const cacheKey = _chunkHUHBNYD3cjs.computeCacheKey.call(void 0, setupInput);
7500
+ const cacheable = _chunkHUHBNYD3cjs.computeIsCacheable.call(void 0, setupInput);
7498
7501
  if (storeApi.getState().setup.requestKey === requestKey) {
7499
7502
  return;
7500
7503
  }
7501
- const dedupedResult = _chunkHCQWFL3Acjs.readDedupedAccountSetupResult.call(void 0, requestKey);
7504
+ const dedupedResult = _chunkHUHBNYD3cjs.readDedupedAccountSetupResult.call(void 0, requestKey);
7502
7505
  if (dedupedResult) {
7503
7506
  storeApi.dispatch({
7504
7507
  type: "setup/started",
@@ -7524,7 +7527,7 @@ function DepositFlow({
7524
7527
  cacheable
7525
7528
  });
7526
7529
  try {
7527
- const result = await _chunkHCQWFL3Acjs.runAccountSetupDeduped.call(void 0,
7530
+ const result = await _chunkHUHBNYD3cjs.runAccountSetupDeduped.call(void 0,
7528
7531
  setupInput,
7529
7532
  { service, debug },
7530
7533
  requestKey
@@ -7539,7 +7542,7 @@ function DepositFlow({
7539
7542
  }
7540
7543
  });
7541
7544
  } catch (error) {
7542
- const message = error instanceof _chunkHCQWFL3Acjs.SetupError ? error.message : "Deposit service is temporarily unavailable. Please try again shortly.";
7545
+ const message = error instanceof _chunkHUHBNYD3cjs.SetupError ? error.message : "Deposit service is temporarily unavailable. Please try again shortly.";
7543
7546
  storeApi.dispatch({
7544
7547
  type: "setup/failed",
7545
7548
  requestKey,
@@ -7588,7 +7591,7 @@ function DepositFlow({
7588
7591
  address,
7589
7592
  requestId,
7590
7593
  totalUsd: portfolio.totalUsd,
7591
- chainIds: _chunkNPSC5R22cjs.chainIdsByValue.call(void 0, portfolio.tokens)
7594
+ chainIds: _chunkZQR36NCVcjs.chainIdsByValue.call(void 0, portfolio.tokens)
7592
7595
  });
7593
7596
  } catch (e34) {
7594
7597
  storeApi.dispatch({
@@ -7839,9 +7842,9 @@ function DepositFlow({
7839
7842
  [logFlowError, onLifecycleRef]
7840
7843
  );
7841
7844
  const handleError = _react.useCallback.call(void 0,
7842
- (message, code) => {
7843
- logFlowError("flow:error", message, { code });
7844
- _optionalChain([onErrorRef, 'access', _251 => _251.current, 'optionalCall', _252 => _252({ message, code })]);
7845
+ (message, code, cause) => {
7846
+ logFlowError("flow:error", _nullishCoalesce(cause, () => ( message)), { code });
7847
+ _optionalChain([onErrorRef, 'access', _251 => _251.current, 'optionalCall', _252 => _252({ message, code, cause })]);
7845
7848
  },
7846
7849
  [logFlowError, onErrorRef]
7847
7850
  );
@@ -8030,7 +8033,7 @@ function DepositFlow({
8030
8033
  }
8031
8034
  ),
8032
8035
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8033
- _chunkHCQWFL3Acjs.ProcessingStep,
8036
+ _chunkHUHBNYD3cjs.ProcessingStep,
8034
8037
  {
8035
8038
  smartAccount: step.smartAccount,
8036
8039
  solanaDepositAddress: step.solanaDepositAddress,
@@ -8102,7 +8105,7 @@ function DepositFlow({
8102
8105
  }
8103
8106
  ),
8104
8107
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8105
- _chunkHCQWFL3Acjs.ProcessingStep,
8108
+ _chunkHUHBNYD3cjs.ProcessingStep,
8106
8109
  {
8107
8110
  smartAccount: step.smartAccount,
8108
8111
  solanaDepositAddress: step.solanaDepositAddress,
@@ -8231,7 +8234,7 @@ function DepositFlow({
8231
8234
  ) })
8232
8235
  ] }) : null,
8233
8236
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8234
- _chunkHCQWFL3Acjs.ProcessingStep,
8237
+ _chunkHUHBNYD3cjs.ProcessingStep,
8235
8238
  {
8236
8239
  smartAccount: effectiveStep.smartAccount,
8237
8240
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -8318,7 +8321,7 @@ function DepositFlow({
8318
8321
  if (_optionalChain([signerContext, 'access', _271 => _271.publicClient, 'access', _272 => _272.chain, 'optionalAccess', _273 => _273.id]) === chainId) {
8319
8322
  return signerContext.publicClient;
8320
8323
  }
8321
- return _chunkNPSC5R22cjs.getPublicClient.call(void 0, chainId, rpcUrls);
8324
+ return _chunkZQR36NCVcjs.getPublicClient.call(void 0, chainId, rpcUrls);
8322
8325
  };
8323
8326
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
8324
8327
  effectiveStep.type === "setup" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -8429,7 +8432,7 @@ function DepositFlow({
8429
8432
  }
8430
8433
  ),
8431
8434
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8432
- _chunkHCQWFL3Acjs.ProcessingStep,
8435
+ _chunkHUHBNYD3cjs.ProcessingStep,
8433
8436
  {
8434
8437
  smartAccount: effectiveStep.smartAccount,
8435
8438
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -8607,7 +8610,7 @@ function DepositHistoryPanel({
8607
8610
  className: "rs-modal-header-back",
8608
8611
  "aria-label": "Back",
8609
8612
  onClick: onClose,
8610
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChevronLeftIcon, {})
8613
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChevronLeftIcon, {})
8611
8614
  }
8612
8615
  ) }),
8613
8616
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: onCloseModal && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -8617,29 +8620,29 @@ function DepositHistoryPanel({
8617
8620
  className: "rs-modal-close",
8618
8621
  "aria-label": "Close",
8619
8622
  onClick: onCloseModal,
8620
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CloseIcon, {})
8623
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CloseIcon, {})
8621
8624
  }
8622
8625
  ) })
8623
8626
  ] }),
8624
8627
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen", children: [
8625
8628
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen-body", children: [
8626
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.HistoryIcon, {}), title: "History" }),
8629
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.HistoryIcon, {}), title: "History" }),
8627
8630
  isLoading && deposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
8628
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.HistoryIcon, {}) }),
8631
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.HistoryIcon, {}) }),
8629
8632
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
8630
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Spinner, { className: "rs-spinner--sm" }),
8633
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Spinner, { className: "rs-spinner--sm" }),
8631
8634
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Loading history\u2026" })
8632
8635
  ] })
8633
8636
  ] }),
8634
8637
  error && !isLoading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
8635
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.AlertTriangleIcon, {}) }),
8638
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.AlertTriangleIcon, {}) }),
8636
8639
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
8637
8640
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "Couldn't load history" }),
8638
8641
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: error })
8639
8642
  ] })
8640
8643
  ] }),
8641
8644
  !isLoading && !error && visibleDeposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
8642
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.HistoryIcon, {}) }),
8645
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.HistoryIcon, {}) }),
8643
8646
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
8644
8647
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "No deposits yet" }),
8645
8648
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Your deposit history will appear here" })
@@ -8659,7 +8662,7 @@ function DepositHistoryPanel({
8659
8662
  )
8660
8663
  ] })
8661
8664
  ] }),
8662
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
8665
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
8663
8666
  ] })
8664
8667
  ]
8665
8668
  }
@@ -8695,8 +8698,8 @@ function HistoryCard({ deposit }) {
8695
8698
  children: [
8696
8699
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-card-row", children: [
8697
8700
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-card-icons", children: [
8698
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-token", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: sourceSymbol, fallback: sourceSymbol.slice(0, 2) }) }),
8699
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-chain", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: sourceChainIcon }) })
8701
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-token", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: sourceSymbol, fallback: sourceSymbol.slice(0, 2) }) }),
8702
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-chain", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: sourceChainIcon }) })
8700
8703
  ] }),
8701
8704
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-card-text", children: [
8702
8705
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-card-title", children: txTypeLabel }),
@@ -8712,14 +8715,14 @@ function HistoryCard({ deposit }) {
8712
8715
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
8713
8716
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-detail-value", children: [
8714
8717
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceChainName }),
8715
- sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: sourceChainIcon }) })
8718
+ sourceChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: sourceChainIcon }) })
8716
8719
  ] })
8717
8720
  ] }),
8718
8721
  targetChainName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
8719
8722
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Destination chain" }),
8720
8723
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-detail-value", children: [
8721
8724
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName }),
8722
- targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: targetChainIcon }) })
8725
+ targetChainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: targetChainIcon }) })
8723
8726
  ] })
8724
8727
  ] }),
8725
8728
  srcTxUrl && srcTxHash && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
@@ -8734,7 +8737,7 @@ function HistoryCard({ deposit }) {
8734
8737
  onClick: (e) => e.stopPropagation(),
8735
8738
  children: [
8736
8739
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: shortenHash(srcTxHash) }),
8737
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ArrowUpRightIcon, {})
8740
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ArrowUpRightIcon, {})
8738
8741
  ]
8739
8742
  }
8740
8743
  )
@@ -8749,7 +8752,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
8749
8752
  // src/DepositModal.tsx
8750
8753
 
8751
8754
  var ReownDepositInner = _react.lazy.call(void 0,
8752
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-TXTLVZIQ.cjs"))).then((m) => ({ default: m.DepositModalReown }))
8755
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-YGB73NMW.cjs"))).then((m) => ({ default: m.DepositModalReown }))
8753
8756
  );
8754
8757
  function sortByCreatedAtDesc(items) {
8755
8758
  return [...items].sort((a, b) => {
@@ -8763,8 +8766,8 @@ function hasSuppliedWalletClient(props) {
8763
8766
  return Object.prototype.hasOwnProperty.call(props, WALLET_CLIENT_PROP);
8764
8767
  }
8765
8768
  function DepositModal(props) {
8766
- _chunkHCQWFL3Acjs.warnRemovedProps.call(void 0, "DepositModal", props);
8767
- _chunkNPSC5R22cjs.checkBackendUrl.call(void 0, "DepositModal", props.backendUrl);
8769
+ _chunkHUHBNYD3cjs.warnRemovedProps.call(void 0, "DepositModal", props);
8770
+ _chunkZQR36NCVcjs.checkBackendUrl.call(void 0, "DepositModal", props.backendUrl);
8768
8771
  const needsReown = !!props.reownAppId;
8769
8772
  const hasWalletClientProp = hasSuppliedWalletClient(props);
8770
8773
  if (needsReown) {
@@ -8826,7 +8829,7 @@ function DepositModalInner({
8826
8829
  debug
8827
8830
  }) {
8828
8831
  const modalRef = _react.useRef.call(void 0, null);
8829
- const onReadyRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onReady);
8832
+ const onReadyRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onReady);
8830
8833
  const [currentScreen, setCurrentScreen] = _react.useState.call(void 0, "connect");
8831
8834
  const [swappedImmersive, setSwappedImmersive] = _react.useState.call(void 0, false);
8832
8835
  const [backHandler, setBackHandler] = _react.useState.call(void 0,
@@ -8845,9 +8848,9 @@ function DepositModalInner({
8845
8848
  const historyLoadedRef = _react.useRef.call(void 0, false);
8846
8849
  const targetChain = targetChainProp === "solana" || targetChainProp === _chunkTENL4H64cjs.HYPERCORE_SPOT_CAIP2 ? targetChainProp : _chunkTENL4H64cjs.getChainId.call(void 0, targetChainProp);
8847
8850
  const sourceChain = sourceChainProp ? _chunkTENL4H64cjs.getChainId.call(void 0, sourceChainProp) : void 0;
8848
- const rpcUrls = _chunkNPSC5R22cjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
8851
+ const rpcUrls = _chunkZQR36NCVcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
8849
8852
  const service = _react.useMemo.call(void 0,
8850
- () => _chunkNPSC5R22cjs.createDepositService.call(void 0, backendUrl, {
8853
+ () => _chunkZQR36NCVcjs.createDepositService.call(void 0, backendUrl, {
8851
8854
  debug,
8852
8855
  debugScope: "service:deposit"
8853
8856
  }),
@@ -8881,7 +8884,7 @@ function DepositModalInner({
8881
8884
  }, [store, targetChain, targetToken]);
8882
8885
  _react.useEffect.call(void 0, () => {
8883
8886
  if (isOpen && modalRef.current) {
8884
- _chunkNPSC5R22cjs.applyTheme.call(void 0, modalRef.current, theme);
8887
+ _chunkZQR36NCVcjs.applyTheme.call(void 0, modalRef.current, theme);
8885
8888
  }
8886
8889
  }, [isOpen, theme]);
8887
8890
  _react.useEffect.call(void 0, () => {
@@ -8962,7 +8965,7 @@ function DepositModalInner({
8962
8965
  fetchHistory("initial");
8963
8966
  }
8964
8967
  }, [historyOpen, fetchHistory]);
8965
- const onLifecycleRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onLifecycle);
8968
+ const onLifecycleRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onLifecycle);
8966
8969
  const handleLifecycle = _react.useCallback.call(void 0,
8967
8970
  (event) => {
8968
8971
  _optionalChain([onLifecycleRef, 'access', _286 => _286.current, 'optionalCall', _287 => _287(event)]);
@@ -8998,8 +9001,8 @@ function DepositModalInner({
8998
9001
  const canGoBack = backHandler !== void 0;
8999
9002
  const hideHeaderChrome = swappedImmersive;
9000
9003
  const modalClassName = `rs-modal${hideHeaderChrome ? " rs-modal--swapped-iframe" : ""}`;
9001
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9002
- _chunkNPSC5R22cjs.Modal,
9004
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9005
+ _chunkZQR36NCVcjs.Modal,
9003
9006
  {
9004
9007
  isOpen,
9005
9008
  onClose,
@@ -9015,7 +9018,7 @@ function DepositModalInner({
9015
9018
  className: "rs-modal-header-back",
9016
9019
  "aria-label": "Go back",
9017
9020
  onClick: backHandler,
9018
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChevronLeftIcon, {})
9021
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChevronLeftIcon, {})
9019
9022
  }
9020
9023
  ) }),
9021
9024
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-header-nav-right", children: [
@@ -9027,7 +9030,7 @@ function DepositModalInner({
9027
9030
  "aria-label": "Deposit history",
9028
9031
  onClick: handleHistoryOpen,
9029
9032
  disabled: !recipient,
9030
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.HistoryIcon, {})
9033
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.HistoryIcon, {})
9031
9034
  }
9032
9035
  ),
9033
9036
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9037,7 +9040,7 @@ function DepositModalInner({
9037
9040
  onClick: onClose,
9038
9041
  className: "rs-modal-close",
9039
9042
  "aria-label": "Close",
9040
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CloseIcon, {})
9043
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CloseIcon, {})
9041
9044
  }
9042
9045
  )
9043
9046
  ] })