@rhinestone/deposit-modal 0.3.1 → 0.4.0

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 (38) hide show
  1. package/dist/{DepositModalReown-MECHBE6P.cjs → DepositModalReown-KFTMS2WX.cjs} +9 -9
  2. package/dist/{DepositModalReown-G7UX4IBZ.mjs → DepositModalReown-PC7EX5VK.mjs} +6 -6
  3. package/dist/{WithdrawModalReown-CUJAFUQM.mjs → WithdrawModalReown-BE23LUMT.mjs} +5 -5
  4. package/dist/{WithdrawModalReown-WJ6VBZKK.cjs → WithdrawModalReown-Z2YF2FSJ.cjs} +8 -8
  5. package/dist/{chunk-ULEAK63T.cjs → chunk-3MXWIYAT.cjs} +16 -6
  6. package/dist/{chunk-QYSCCX4K.mjs → chunk-3PVDRSJ7.mjs} +539 -412
  7. package/dist/{chunk-SPUZLWQS.cjs → chunk-7MP2UWIQ.cjs} +519 -392
  8. package/dist/{chunk-MILJQWPT.cjs → chunk-ABVRVW3P.cjs} +133 -8
  9. package/dist/{chunk-LEL6GMEQ.cjs → chunk-AE5LHTPM.cjs} +121 -101
  10. package/dist/{chunk-TQ2AYMWS.mjs → chunk-F7P4MV72.mjs} +1 -1
  11. package/dist/{chunk-BAEB5AFZ.mjs → chunk-FJWLC4AM.mjs} +1 -1
  12. package/dist/{chunk-3C35DVPE.mjs → chunk-GKC22JC4.mjs} +901 -428
  13. package/dist/{chunk-R5CPOBCF.cjs → chunk-NRNJAQUA.cjs} +4 -4
  14. package/dist/{chunk-MQIJZNTP.cjs → chunk-OQVLEVNR.cjs} +760 -287
  15. package/dist/{chunk-AJHFNHG3.cjs → chunk-UEKPBRBY.cjs} +3 -3
  16. package/dist/{chunk-R5WDHHVM.mjs → chunk-UFKFSGT3.mjs} +14 -4
  17. package/dist/{chunk-DZQD3DAV.mjs → chunk-WCIGOV34.mjs} +32 -12
  18. package/dist/{chunk-6YRDD462.mjs → chunk-WJX3TJFK.mjs} +135 -10
  19. package/dist/constants.cjs +2 -2
  20. package/dist/constants.mjs +1 -1
  21. package/dist/deposit.cjs +6 -6
  22. package/dist/deposit.d.cts +2 -2
  23. package/dist/deposit.d.ts +2 -2
  24. package/dist/deposit.mjs +5 -5
  25. package/dist/index.cjs +7 -7
  26. package/dist/index.d.cts +1 -1
  27. package/dist/index.d.ts +1 -1
  28. package/dist/index.mjs +6 -6
  29. package/dist/polymarket.cjs +6 -6
  30. package/dist/polymarket.mjs +3 -3
  31. package/dist/styles.css +218 -9
  32. package/dist/{types-RzfAD14B.d.ts → types-CFRuisqK.d.cts} +1 -1
  33. package/dist/{types-RzfAD14B.d.cts → types-CFRuisqK.d.ts} +1 -1
  34. package/dist/withdraw.cjs +5 -5
  35. package/dist/withdraw.d.cts +2 -2
  36. package/dist/withdraw.d.ts +2 -2
  37. package/dist/withdraw.mjs +4 -4
  38. package/package.json +1 -1
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkR5CPOBCFcjs = require('./chunk-R5CPOBCF.cjs');
10
+ var _chunkNRNJAQUAcjs = require('./chunk-NRNJAQUA.cjs');
11
11
 
12
12
 
13
13
 
@@ -59,13 +59,13 @@ var _chunkR5CPOBCFcjs = require('./chunk-R5CPOBCF.cjs');
59
59
 
60
60
 
61
61
 
62
- var _chunkMQIJZNTPcjs = require('./chunk-MQIJZNTP.cjs');
63
62
 
64
63
 
65
- var _chunkAJHFNHG3cjs = require('./chunk-AJHFNHG3.cjs');
66
64
 
65
+ var _chunkOQVLEVNRcjs = require('./chunk-OQVLEVNR.cjs');
67
66
 
68
67
 
68
+ var _chunkUEKPBRBYcjs = require('./chunk-UEKPBRBY.cjs');
69
69
 
70
70
 
71
71
 
@@ -92,7 +92,10 @@ var _chunkAJHFNHG3cjs = require('./chunk-AJHFNHG3.cjs');
92
92
 
93
93
 
94
94
 
95
- var _chunkMILJQWPTcjs = require('./chunk-MILJQWPT.cjs');
95
+
96
+
97
+
98
+ var _chunkABVRVW3Pcjs = require('./chunk-ABVRVW3P.cjs');
96
99
 
97
100
  // src/DepositModal.tsx
98
101
 
@@ -139,13 +142,13 @@ function AssetSelectStep({
139
142
  const [error, setError] = _react.useState.call(void 0, null);
140
143
  const defaultAssetId = _react.useMemo.call(void 0, () => {
141
144
  if (!defaultSourceChain || !defaultSourceToken) return null;
142
- return _chunkMQIJZNTPcjs.getAssetId.call(void 0, {
145
+ return _chunkOQVLEVNRcjs.getAssetId.call(void 0, {
143
146
  chainId: defaultSourceChain,
144
147
  token: defaultSourceToken
145
148
  });
146
149
  }, [defaultSourceChain, defaultSourceToken]);
147
- const onTotalBalanceComputedRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
148
- const onAssetsLoadedRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onAssetsLoaded);
150
+ const onTotalBalanceComputedRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
151
+ const onAssetsLoadedRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onAssetsLoaded);
149
152
  _react.useEffect.call(void 0, () => {
150
153
  let active = true;
151
154
  function emitAssetsUpdate(currentAssets) {
@@ -166,11 +169,11 @@ function AssetSelectStep({
166
169
  try {
167
170
  const portfolio = await service.fetchPortfolio(address);
168
171
  if (!active) return;
169
- const portfolioAssets = _chunkMQIJZNTPcjs.portfolioToAssets.call(void 0, portfolio.tokens);
172
+ const portfolioAssets = _chunkOQVLEVNRcjs.portfolioToAssets.call(void 0, portfolio.tokens);
170
173
  setAssets(portfolioAssets);
171
174
  emitAssetsUpdate(portfolioAssets);
172
175
  const hasNative = portfolioAssets.some(
173
- (asset) => asset.token.toLowerCase() === _chunkMILJQWPTcjs.NATIVE_TOKEN_ADDRESS
176
+ (asset) => asset.token.toLowerCase() === _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS
174
177
  );
175
178
  if (!hasNative) {
176
179
  const nativeAssets = await fetchNativeAssets(
@@ -242,7 +245,7 @@ function AssetSelectStep({
242
245
  const raw = _viem.formatUnits.call(void 0, BigInt(asset.balance), asset.decimals);
243
246
  const numeric = Number(raw);
244
247
  if (!Number.isFinite(numeric)) return raw;
245
- return _chunkMQIJZNTPcjs.tokenFormatter.format(numeric);
248
+ return _chunkOQVLEVNRcjs.tokenFormatter.format(numeric);
246
249
  } catch (e3) {
247
250
  return asset.balance;
248
251
  }
@@ -250,20 +253,20 @@ function AssetSelectStep({
250
253
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
251
254
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
252
255
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
253
- _chunkMQIJZNTPcjs.BodyHeader,
256
+ _chunkOQVLEVNRcjs.BodyHeader,
254
257
  {
255
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, {}),
258
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
256
259
  title: "Your assets",
257
260
  subtitle: "Select source assets to transfer"
258
261
  }
259
262
  ),
260
263
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
261
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Spinner, { className: "rs-text-tertiary" }),
264
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, { className: "rs-text-tertiary" }),
262
265
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
263
266
  ] }),
264
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "error", children: error }),
267
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: error }),
265
268
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
266
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, { className: "rs-empty-icon" }),
269
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, { className: "rs-empty-icon" }),
267
270
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
268
271
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
269
272
  address.slice(0, 6),
@@ -283,9 +286,9 @@ function AssetSelectStep({
283
286
  !loading && !error && rows.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-list", children: rows.map((asset) => {
284
287
  const isSelected = selectedAssetId === asset.id;
285
288
  const tokenAmount = formatBalance(asset);
286
- const badge = _chunkMILJQWPTcjs.getChainBadge.call(void 0, asset.chainId);
287
- const tokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, asset.symbol);
288
- const chainIcon = _chunkMILJQWPTcjs.getChainIcon.call(void 0, asset.chainId);
289
+ const badge = _chunkABVRVW3Pcjs.getChainBadge.call(void 0, asset.chainId);
290
+ const tokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, asset.symbol);
291
+ const chainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, asset.chainId);
289
292
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
290
293
  "button",
291
294
  {
@@ -301,7 +304,7 @@ function AssetSelectStep({
301
304
  "img",
302
305
  {
303
306
  src: chainIcon,
304
- alt: _chunkMILJQWPTcjs.getChainName.call(void 0, asset.chainId)
307
+ alt: _chunkABVRVW3Pcjs.getChainName.call(void 0, asset.chainId)
305
308
  }
306
309
  ) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
307
310
  "span",
@@ -320,7 +323,7 @@ function AssetSelectStep({
320
323
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-asset-name", children: asset.symbol }),
321
324
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-asset-chain", children: [
322
325
  "on ",
323
- _chunkMILJQWPTcjs.getChainName.call(void 0, asset.chainId)
326
+ _chunkABVRVW3Pcjs.getChainName.call(void 0, asset.chainId)
324
327
  ] })
325
328
  ] }),
326
329
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-balance-small", children: [
@@ -330,14 +333,14 @@ function AssetSelectStep({
330
333
  ] })
331
334
  ] })
332
335
  ] }),
333
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunkMQIJZNTPcjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
336
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunkOQVLEVNRcjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
334
337
  ]
335
338
  },
336
339
  asset.id
337
340
  );
338
341
  }) }),
339
342
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
340
- _chunkMQIJZNTPcjs.Button,
343
+ _chunkOQVLEVNRcjs.Button,
341
344
  {
342
345
  onClick: () => selectedAsset && onContinue(selectedAsset),
343
346
  disabled: !selectedAsset,
@@ -346,17 +349,17 @@ function AssetSelectStep({
346
349
  }
347
350
  )
348
351
  ] }),
349
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
352
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
350
353
  ] });
351
354
  }
352
355
  async function fetchNativeAssets(address, publicClient, existing) {
353
356
  const existingIds = new Set(existing.map((asset) => asset.id));
354
357
  const connectedChainId = _optionalChain([publicClient, 'access', _10 => _10.chain, 'optionalAccess', _11 => _11.id]);
355
358
  if (!connectedChainId) return [];
356
- if (!_chunkMILJQWPTcjs.SOURCE_CHAINS.some((chain) => chain.id === connectedChainId)) return [];
357
- const id = _chunkMQIJZNTPcjs.getAssetId.call(void 0, {
359
+ if (!_chunkABVRVW3Pcjs.SOURCE_CHAINS.some((chain) => chain.id === connectedChainId)) return [];
360
+ const id = _chunkOQVLEVNRcjs.getAssetId.call(void 0, {
358
361
  chainId: connectedChainId,
359
- token: _chunkMILJQWPTcjs.NATIVE_TOKEN_ADDRESS
362
+ token: _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS
360
363
  });
361
364
  if (existingIds.has(id)) return [];
362
365
  try {
@@ -365,7 +368,7 @@ async function fetchNativeAssets(address, publicClient, existing) {
365
368
  {
366
369
  id,
367
370
  chainId: connectedChainId,
368
- token: _chunkMILJQWPTcjs.NATIVE_TOKEN_ADDRESS,
371
+ token: _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS,
369
372
  symbol: "ETH",
370
373
  name: "Ethereum",
371
374
  decimals: 18,
@@ -526,8 +529,8 @@ function AmountStep({
526
529
  const chainMismatch = Boolean(
527
530
  _optionalChain([walletClient, 'optionalAccess', _16 => _16.chain, 'optionalAccess', _17 => _17.id]) && walletClient.chain.id !== asset.chainId
528
531
  );
529
- const targetSymbol = _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
530
- const isSourceStablecoin = _chunkMILJQWPTcjs.isStablecoinSymbol.call(void 0, asset.symbol);
532
+ const targetSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
533
+ const isSourceStablecoin = _chunkABVRVW3Pcjs.isStablecoinSymbol.call(void 0, asset.symbol);
531
534
  const tokenPriceUsd = _react.useMemo.call(void 0, () => {
532
535
  if (tokenPriceUsdOverride !== void 0 && tokenPriceUsdOverride > 0)
533
536
  return tokenPriceUsdOverride;
@@ -551,7 +554,7 @@ function AmountStep({
551
554
  const balanceTarget = _nullishCoalesce(balanceAddress, () => ( address));
552
555
  if (!balanceTarget || !publicClient) return;
553
556
  try {
554
- const bal = _chunkMQIJZNTPcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
557
+ const bal = _chunkOQVLEVNRcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
555
558
  address: asset.token,
556
559
  abi: _viem.erc20Abi,
557
560
  functionName: "balanceOf",
@@ -572,7 +575,7 @@ function AmountStep({
572
575
  hasAttemptedSwitch.current = true;
573
576
  switchChain(asset.chainId).catch((err) => {
574
577
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
575
- setError(_chunkMQIJZNTPcjs.formatUserError.call(void 0, raw));
578
+ setError(_chunkOQVLEVNRcjs.formatUserError.call(void 0, raw));
576
579
  });
577
580
  }
578
581
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -625,7 +628,7 @@ function AmountStep({
625
628
  const raw = _viem.formatUnits.call(void 0, balance, asset.decimals);
626
629
  const numeric = Number(raw);
627
630
  if (!Number.isFinite(numeric)) return raw;
628
- return _chunkMQIJZNTPcjs.tokenFormatter.format(numeric);
631
+ return _chunkOQVLEVNRcjs.tokenFormatter.format(numeric);
629
632
  } catch (e8) {
630
633
  return "\u2026";
631
634
  }
@@ -644,7 +647,7 @@ function AmountStep({
644
647
  return null;
645
648
  }
646
649
  }, [numericAmount, isSourceStablecoin, hasPricing, tokenPriceUsd, asset.decimals]);
647
- const minDepositUsd = targetChain === _chunkMILJQWPTcjs.HYPERCORE_CHAIN_ID ? Math.max(_chunkMILJQWPTcjs.HYPERCORE_MIN_DEPOSIT_USD, _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _18 => _18.minDepositUsd]), () => ( 0))) : _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _19 => _19.minDepositUsd]), () => ( null));
650
+ const minDepositUsd = targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID ? Math.max(_chunkABVRVW3Pcjs.HYPERCORE_MIN_DEPOSIT_USD, _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _18 => _18.minDepositUsd]), () => ( 0))) : _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _19 => _19.minDepositUsd]), () => ( null));
648
651
  const maxDepositUsd = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _20 => _20.maxDepositUsd]), () => ( null));
649
652
  const isBelowMin = minDepositUsd !== null && numericAmount > 0 && amountUsd < minDepositUsd;
650
653
  const isAboveMax = maxDepositUsd !== null && amountUsd > maxDepositUsd;
@@ -738,13 +741,13 @@ function AmountStep({
738
741
  };
739
742
  const continueLabel = exceedsBalance ? "Insufficient balance" : isAboveMax ? "Continue with max allowed deposit" : isBelowMin ? "Continue with minimum deposit" : "Continue";
740
743
  const continueDisabled = chainMismatch || isCheckingLiquidity || exceedsBalance || numericAmount === 0 && !isBelowMin || balance === null;
741
- const sourceChainName = _chunkMILJQWPTcjs.getChainName.call(void 0, asset.chainId);
742
- const targetChainName = _chunkMILJQWPTcjs.getChainName.call(void 0, targetChain);
743
- const sourceTokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, asset.symbol);
744
- const targetTokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, targetSymbol);
744
+ const sourceChainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, asset.chainId);
745
+ const targetChainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, targetChain);
746
+ const sourceTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, asset.symbol);
747
+ const targetTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, targetSymbol);
745
748
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
746
749
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
747
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, {}), title: "Wallet deposit" }),
750
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}), title: "Wallet deposit" }),
748
751
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
749
752
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
750
753
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -764,13 +767,13 @@ function AmountStep({
764
767
  " available",
765
768
  balanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
766
769
  " (~",
767
- _chunkMQIJZNTPcjs.currencyFormatter.format(balanceUsd),
770
+ _chunkOQVLEVNRcjs.currencyFormatter.format(balanceUsd),
768
771
  ")"
769
772
  ] })
770
773
  ] }),
771
774
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
772
775
  "Min. deposit ",
773
- _chunkMQIJZNTPcjs.currencyFormatter.format(minDepositUsd)
776
+ _chunkOQVLEVNRcjs.currencyFormatter.format(minDepositUsd)
774
777
  ] })
775
778
  ] })
776
779
  ] }),
@@ -811,13 +814,13 @@ function AmountStep({
811
814
  ] }),
812
815
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
813
816
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
814
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkMQIJZNTPcjs.currencyFormatter.format(balanceAfterUsd) })
817
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkOQVLEVNRcjs.currencyFormatter.format(balanceAfterUsd) })
815
818
  ] })
816
819
  ] }),
817
- targetChain === _chunkMILJQWPTcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
818
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "error", children: error }),
820
+ targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
821
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: error }),
819
822
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
820
- _chunkMQIJZNTPcjs.Button,
823
+ _chunkOQVLEVNRcjs.Button,
821
824
  {
822
825
  onClick: handleContinue,
823
826
  fullWidth: true,
@@ -828,7 +831,7 @@ function AmountStep({
828
831
  }
829
832
  )
830
833
  ] }),
831
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
834
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
832
835
  ] });
833
836
  }
834
837
 
@@ -868,32 +871,28 @@ function ConfirmStep({
868
871
  _optionalChain([walletClient, 'optionalAccess', _25 => _25.chain, 'optionalAccess', _26 => _26.id]) && walletClient.chain.id !== asset.chainId
869
872
  );
870
873
  const sameRoute = targetChain === asset.chainId && targetToken.toLowerCase() === asset.token.toLowerCase();
871
- const targetSymbol = sameRoute ? asset.symbol : _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
872
- const sourceChainName = _chunkMILJQWPTcjs.getChainName.call(void 0, asset.chainId);
873
- const targetChainName = _chunkMILJQWPTcjs.getChainName.call(void 0, targetChain);
874
- const sourceChainIcon = _chunkMILJQWPTcjs.getChainIcon.call(void 0, asset.chainId);
875
- const targetChainIcon = _chunkMILJQWPTcjs.getChainIcon.call(void 0, targetChain);
876
- const sourceTokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, asset.symbol);
877
- const targetTokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, targetSymbol);
878
- const formattedSendAmount = amount && !Number.isNaN(Number(amount)) ? Number(amount).toLocaleString("en-US", {
879
- minimumFractionDigits: 2,
880
- maximumFractionDigits: 6
881
- }) : "0";
882
- const formattedReceiveAmount = (() => {
883
- if (sameRoute) return formattedSendAmount;
884
- const dollarValue = Number(targetAmount);
885
- if (!Number.isFinite(dollarValue) || dollarValue <= 0)
886
- return formattedSendAmount;
887
- if (targetTokenPriceUsd !== null && targetTokenPriceUsd > 0) {
888
- const tokenAmount = dollarValue / targetTokenPriceUsd;
889
- return tokenAmount.toLocaleString("en-US", {
890
- minimumFractionDigits: 2,
891
- maximumFractionDigits: 6
892
- });
893
- }
894
- return formattedSendAmount;
874
+ const targetSymbol = sameRoute ? asset.symbol : _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
875
+ const sourceChainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, asset.chainId);
876
+ const targetChainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, targetChain);
877
+ const sourceChainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, asset.chainId);
878
+ const targetChainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, targetChain);
879
+ const sourceTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, asset.symbol);
880
+ const targetTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, targetSymbol);
881
+ const formattedSendAmount = amount && Number.isFinite(Number(amount)) ? _nullishCoalesce(_chunkOQVLEVNRcjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( "0")) : "0";
882
+ const receiveDisplay = (() => {
883
+ if (sameRoute) return `${formattedSendAmount} ${asset.symbol}`;
884
+ const usdValue = Number(targetAmount);
885
+ const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
886
+ const estimate = _chunkOQVLEVNRcjs.formatReceiveEstimate.call(void 0, {
887
+ sourceAmount: Number.isFinite(Number(amount)) ? Number(amount) : void 0,
888
+ sourceSymbol: asset.symbol,
889
+ targetSymbol,
890
+ sourceAmountUsd,
891
+ prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : {}
892
+ });
893
+ if (estimate !== void 0) return estimate;
894
+ return sourceAmountUsd !== void 0 ? `~$${sourceAmountUsd.toFixed(2)}` : `${formattedSendAmount} ${asset.symbol}`;
895
895
  })();
896
- const receiveAmount = sameRoute ? formattedReceiveAmount : `~${formattedReceiveAmount}`;
897
896
  const feeSponsored = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _27 => _27.feeSponsored]), () => ( false));
898
897
  const feeTooltip = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _28 => _28.feeTooltip]), () => ( (feeSponsored ? "Network fees are sponsored for this deposit." : "Network fees apply.")));
899
898
  const feeDisplay = quote ? `$${quote.fees.totalUsd.toFixed(2)}` : null;
@@ -903,7 +902,7 @@ function ConfirmStep({
903
902
  hasAttemptedSwitch.current = true;
904
903
  switchChain(asset.chainId).catch((err) => {
905
904
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
906
- setError(_chunkMQIJZNTPcjs.formatUserError.call(void 0, raw));
905
+ setError(_chunkOQVLEVNRcjs.formatUserError.call(void 0, raw));
907
906
  });
908
907
  }
909
908
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -983,7 +982,7 @@ function ConfirmStep({
983
982
  const result = await executeTransfer(amountUnits);
984
983
  hash = result.txHash;
985
984
  resolvedSourceToken = result.sourceToken;
986
- } else if (_chunkMQIJZNTPcjs.isNativeAsset.call(void 0, asset)) {
985
+ } else if (_chunkOQVLEVNRcjs.isNativeAsset.call(void 0, asset)) {
987
986
  hash = await walletClient.sendTransaction({
988
987
  account,
989
988
  chain,
@@ -1004,7 +1003,7 @@ function ConfirmStep({
1004
1003
  onConfirm(hash, asset.chainId, amountUnits.toString(), resolvedSourceToken);
1005
1004
  } catch (err) {
1006
1005
  const raw = err instanceof Error ? err.message : "Transfer failed";
1007
- const message = _chunkMQIJZNTPcjs.formatUserError.call(void 0, raw);
1006
+ const message = _chunkOQVLEVNRcjs.formatUserError.call(void 0, raw);
1008
1007
  setError(message);
1009
1008
  _optionalChain([onError, 'optionalCall', _30 => _30(message, "TRANSFER_ERROR")]);
1010
1009
  } finally {
@@ -1013,7 +1012,7 @@ function ConfirmStep({
1013
1012
  };
1014
1013
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
1015
1014
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
1016
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, {}), title: "Review deposit" }),
1015
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}), title: "Review deposit" }),
1017
1016
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-details", children: [
1018
1017
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1019
1018
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
@@ -1047,11 +1046,7 @@ function ConfirmStep({
1047
1046
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1048
1047
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Receive" }),
1049
1048
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
1050
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { children: [
1051
- receiveAmount,
1052
- " ",
1053
- targetSymbol
1054
- ] }),
1049
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
1055
1050
  targetTokenIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: targetTokenIcon, alt: "" }) })
1056
1051
  ] })
1057
1052
  ] }),
@@ -1071,14 +1066,14 @@ function ConfirmStep({
1071
1066
  children: feeDisplay
1072
1067
  }
1073
1068
  ),
1074
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.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, _chunkMQIJZNTPcjs.InfoIcon, {}) }) })
1069
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.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, _chunkOQVLEVNRcjs.InfoIcon, {}) }) })
1075
1070
  ] })
1076
1071
  ] })
1077
1072
  ] }),
1078
- targetChain === _chunkMILJQWPTcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
1079
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "error", children: error }),
1073
+ targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
1074
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: error }),
1080
1075
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1081
- _chunkMQIJZNTPcjs.Button,
1076
+ _chunkOQVLEVNRcjs.Button,
1082
1077
  {
1083
1078
  onClick: handleConfirm,
1084
1079
  loading: isSubmitting,
@@ -1089,7 +1084,7 @@ function ConfirmStep({
1089
1084
  }
1090
1085
  )
1091
1086
  ] }),
1092
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
1087
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
1093
1088
  ] });
1094
1089
  }
1095
1090
 
@@ -1112,9 +1107,9 @@ var INITIAL_POLL_INTERVAL = 3e3;
1112
1107
  var MAX_POLL_INTERVAL = 3e4;
1113
1108
  var BACKOFF_MULTIPLIER = 1.5;
1114
1109
  function isEventForTx(event, txHash) {
1115
- const eventTxHash = _chunkMQIJZNTPcjs.getEventTxHash.call(void 0, event);
1110
+ const eventTxHash = _chunkOQVLEVNRcjs.getEventTxHash.call(void 0, event);
1116
1111
  if (!eventTxHash) return false;
1117
- return _chunkMQIJZNTPcjs.txRefsMatch.call(void 0, eventTxHash, txHash);
1112
+ return _chunkOQVLEVNRcjs.txRefsMatch.call(void 0, eventTxHash, txHash);
1118
1113
  }
1119
1114
  function truncateHash(hash) {
1120
1115
  return `${hash.slice(0, 4)}\u2026${hash.slice(-4)}`;
@@ -1164,7 +1159,7 @@ function formatBridgeFailedMessage(event) {
1164
1159
  }
1165
1160
  return "Bridge failed";
1166
1161
  }
1167
- var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
1162
+ var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
1168
1163
  function DepositNotification({
1169
1164
  deposit,
1170
1165
  smartAccount,
@@ -1199,7 +1194,7 @@ function DepositNotification({
1199
1194
  const pollIntervalRef = _react.useRef.call(void 0, INITIAL_POLL_INTERVAL);
1200
1195
  const pollTimeoutRef = _react.useRef.call(void 0, null);
1201
1196
  const completedRef = _react.useRef.call(void 0, _nullishCoalesce(directTransfer, () => ( false)));
1202
- const depositContextRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, {
1197
+ const depositContextRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, {
1203
1198
  amount,
1204
1199
  sourceChain,
1205
1200
  sourceToken: token,
@@ -1208,8 +1203,8 @@ function DepositNotification({
1208
1203
  targetToken,
1209
1204
  hasPostBridgeActions
1210
1205
  });
1211
- const onCompleteRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onComplete);
1212
- const onFailedRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onFailed);
1206
+ const onCompleteRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onComplete);
1207
+ const onFailedRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onFailed);
1213
1208
  const handleComplete = _react.useCallback.call(void 0,
1214
1209
  (destTxHash) => {
1215
1210
  if (completedRef.current) return;
@@ -1310,11 +1305,11 @@ function DepositNotification({
1310
1305
  status,
1311
1306
  txHash
1312
1307
  ]);
1313
- const sourceExplorerUrl = sourceChain === "unknown" ? void 0 : _chunkMILJQWPTcjs.getExplorerTxUrl.call(void 0, sourceChain, txHash);
1314
- const destExplorerUrl = destinationTxHash ? _chunkMILJQWPTcjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1308
+ const sourceExplorerUrl = sourceChain === "unknown" ? void 0 : _chunkABVRVW3Pcjs.getExplorerTxUrl.call(void 0, sourceChain, txHash);
1309
+ const destExplorerUrl = destinationTxHash ? _chunkABVRVW3Pcjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1315
1310
  const title = status === "complete" ? "Deposit completed" : status === "failed" ? "Deposit failed" : "Deposit received and processing\u2026";
1316
1311
  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.";
1317
- 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, _chunkMQIJZNTPcjs.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, _chunkMQIJZNTPcjs.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,
1312
+ 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, _chunkOQVLEVNRcjs.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, _chunkOQVLEVNRcjs.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,
1318
1313
  "svg",
1319
1314
  {
1320
1315
  className: "rs-deposit-notification-spinner",
@@ -1364,7 +1359,7 @@ function DepositNotification({
1364
1359
  className: "rs-deposit-notification-close",
1365
1360
  onClick: () => onDismiss(deposit.id),
1366
1361
  "aria-label": "Dismiss",
1367
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.CloseIcon, {})
1362
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CloseIcon, {})
1368
1363
  }
1369
1364
  )
1370
1365
  ] }),
@@ -1380,7 +1375,7 @@ function DepositNotification({
1380
1375
  "aria-expanded": expanded,
1381
1376
  children: [
1382
1377
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: expanded ? "See less details" : "See more details" }),
1383
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
1378
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
1384
1379
  ]
1385
1380
  }
1386
1381
  ),
@@ -1469,7 +1464,7 @@ function asString(value) {
1469
1464
  function resolveSolanaTokenMeta(token) {
1470
1465
  if (!token) return {};
1471
1466
  const normalized = token.toLowerCase();
1472
- const matched = _chunkMILJQWPTcjs.SOLANA_TOKENS.find(
1467
+ const matched = _chunkABVRVW3Pcjs.SOLANA_TOKENS.find(
1473
1468
  (entry) => entry.mint.toLowerCase() === normalized
1474
1469
  );
1475
1470
  if (matched) {
@@ -1512,7 +1507,7 @@ function isSameRoute(sourceChain, sourceToken, targetChain, targetToken) {
1512
1507
  return sourceChain === targetChain && sourceToken.toLowerCase() === targetToken.toLowerCase();
1513
1508
  }
1514
1509
  function computeTokensForChain(chainId, allowedTokenSet) {
1515
- const all = chainId === "solana" ? _chunkMILJQWPTcjs.SOLANA_TOKENS.map((t) => t.symbol) : _chunkMILJQWPTcjs.getTargetTokenSymbolsForChain.call(void 0, chainId);
1510
+ const all = chainId === "solana" ? _chunkABVRVW3Pcjs.SOLANA_TOKENS.map((t) => t.symbol) : _chunkABVRVW3Pcjs.getTargetTokenSymbolsForChain.call(void 0, chainId);
1516
1511
  return allowedTokenSet ? all.filter((s) => allowedTokenSet.has(s.toUpperCase())) : all;
1517
1512
  }
1518
1513
  function pickFallbackToken(tokens, current) {
@@ -1545,7 +1540,7 @@ function DepositAddressStep({
1545
1540
  [_optionalChain([allowedRoutes, 'optionalAccess', _60 => _60.sourceTokens])]
1546
1541
  );
1547
1542
  const evmChainIds = _react.useMemo.call(void 0, () => {
1548
- const all = _chunkMILJQWPTcjs.getSupportedChainIds.call(void 0, );
1543
+ const all = _chunkABVRVW3Pcjs.getSupportedChainIds.call(void 0, );
1549
1544
  return allowedChainSet ? all.filter((id) => allowedChainSet.has(id)) : all;
1550
1545
  }, [allowedChainSet]);
1551
1546
  const chainOptions = _react.useMemo.call(void 0, () => {
@@ -1583,7 +1578,7 @@ function DepositAddressStep({
1583
1578
  setLiquidityHelper({ kind: "idle" });
1584
1579
  return;
1585
1580
  }
1586
- const sourceTokenAddress = _chunkMILJQWPTcjs.getTokenAddress.call(void 0,
1581
+ const sourceTokenAddress = _chunkABVRVW3Pcjs.getTokenAddress.call(void 0,
1587
1582
  sourceTokenSymbol,
1588
1583
  sourceChainId
1589
1584
  );
@@ -1727,10 +1722,10 @@ function DepositAddressStep({
1727
1722
  return;
1728
1723
  }
1729
1724
  const event = status.lastEvent;
1730
- const eventTxHash = _chunkMQIJZNTPcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkMQIJZNTPcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
1725
+ const eventTxHash = _chunkOQVLEVNRcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkOQVLEVNRcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
1731
1726
  if (baselineTxHashRef.current === void 0) {
1732
1727
  baselineTxHashRef.current = eventTxHash;
1733
- } else if (eventTxHash && (!baselineTxHashRef.current || !_chunkMQIJZNTPcjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
1728
+ } else if (eventTxHash && (!baselineTxHashRef.current || !_chunkOQVLEVNRcjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
1734
1729
  const details = getDepositEventDetails(event);
1735
1730
  const chainId = _nullishCoalesce(details.chainId, () => ( "unknown"));
1736
1731
  const amount = _nullishCoalesce(details.amount, () => ( "0"));
@@ -1739,7 +1734,7 @@ function DepositAddressStep({
1739
1734
  baselineTxHashRef.current = eventTxHash;
1740
1735
  isTrackingRef.current = true;
1741
1736
  const isEvmToken = token ? /^0x[a-fA-F0-9]{40}$/.test(token) : false;
1742
- const sourceDecimals = _nullishCoalesce(details.sourceDecimals, () => ( (isEvmToken ? _chunkMILJQWPTcjs.findTokenDecimals.call(void 0,
1737
+ const sourceDecimals = _nullishCoalesce(details.sourceDecimals, () => ( (isEvmToken ? _chunkABVRVW3Pcjs.findTokenDecimals.call(void 0,
1743
1738
  token,
1744
1739
  typeof chainId === "number" ? chainId : void 0
1745
1740
  ) : void 0)));
@@ -1804,10 +1799,10 @@ function DepositAddressStep({
1804
1799
  const handleNotificationDismiss = _react.useCallback.call(void 0, (id) => {
1805
1800
  setNotifications((prev) => prev.filter((n) => n.id !== id));
1806
1801
  }, []);
1807
- const qrIconSrc = _chunkMILJQWPTcjs.getChainIcon.call(void 0, sourceChainId);
1802
+ const qrIconSrc = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, sourceChainId);
1808
1803
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-step--with-notifications", children: [
1809
1804
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
1810
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
1805
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
1811
1806
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", children: [
1812
1807
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", ref: chainDropdownRef, children: [
1813
1808
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
@@ -1822,16 +1817,16 @@ function DepositAddressStep({
1822
1817
  setTokenDropdownOpen(false);
1823
1818
  },
1824
1819
  children: [
1825
- _chunkMILJQWPTcjs.getChainIcon.call(void 0, sourceChainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1820
+ _chunkABVRVW3Pcjs.getChainIcon.call(void 0, sourceChainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1826
1821
  "img",
1827
1822
  {
1828
- src: _chunkMILJQWPTcjs.getChainIcon.call(void 0, sourceChainId),
1823
+ src: _chunkABVRVW3Pcjs.getChainIcon.call(void 0, sourceChainId),
1829
1824
  alt: "",
1830
1825
  className: "rs-deposit-address-dropdown-icon"
1831
1826
  }
1832
1827
  ),
1833
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkMILJQWPTcjs.getChainName.call(void 0, sourceChainId) }),
1834
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
1828
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkABVRVW3Pcjs.getChainName.call(void 0, sourceChainId) }),
1829
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
1835
1830
  ]
1836
1831
  }
1837
1832
  ),
@@ -1842,15 +1837,15 @@ function DepositAddressStep({
1842
1837
  className: `rs-deposit-address-dropdown-item ${chainId === sourceChainId ? "rs-deposit-address-dropdown-item--active" : ""}`,
1843
1838
  onClick: () => handleSelectChain(chainId),
1844
1839
  children: [
1845
- _chunkMILJQWPTcjs.getChainIcon.call(void 0, chainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1840
+ _chunkABVRVW3Pcjs.getChainIcon.call(void 0, chainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1846
1841
  "img",
1847
1842
  {
1848
- src: _chunkMILJQWPTcjs.getChainIcon.call(void 0, chainId),
1843
+ src: _chunkABVRVW3Pcjs.getChainIcon.call(void 0, chainId),
1849
1844
  alt: "",
1850
1845
  className: "rs-deposit-address-dropdown-icon"
1851
1846
  }
1852
1847
  ),
1853
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkMILJQWPTcjs.getChainName.call(void 0, chainId) })
1848
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkABVRVW3Pcjs.getChainName.call(void 0, chainId) })
1854
1849
  ]
1855
1850
  },
1856
1851
  String(chainId)
@@ -1861,9 +1856,9 @@ function DepositAddressStep({
1861
1856
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Supported token" }),
1862
1857
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
1863
1858
  "Min.$",
1864
- (targetChain === _chunkMILJQWPTcjs.HYPERCORE_CHAIN_ID ? Math.max(_chunkMILJQWPTcjs.HYPERCORE_MIN_DEPOSIT_USD, _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _76 => _76.minDepositUsd]), () => ( 0))) : _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _77 => _77.minDepositUsd]), () => ( 0.1))).toFixed(2),
1865
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1866
- _chunkMQIJZNTPcjs.InfoIcon,
1859
+ (targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID ? Math.max(_chunkABVRVW3Pcjs.HYPERCORE_MIN_DEPOSIT_USD, _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _76 => _76.minDepositUsd]), () => ( 0))) : _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _77 => _77.minDepositUsd]), () => ( 0.1))).toFixed(2),
1860
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1861
+ _chunkOQVLEVNRcjs.InfoIcon,
1867
1862
  {
1868
1863
  className: "rs-deposit-address-min-icon",
1869
1864
  "aria-hidden": "true"
@@ -1882,16 +1877,16 @@ function DepositAddressStep({
1882
1877
  setChainDropdownOpen(false);
1883
1878
  },
1884
1879
  children: [
1885
- _chunkMILJQWPTcjs.getTokenIcon.call(void 0, sourceTokenSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1880
+ _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, sourceTokenSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1886
1881
  "img",
1887
1882
  {
1888
- src: _chunkMILJQWPTcjs.getTokenIcon.call(void 0, sourceTokenSymbol),
1883
+ src: _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, sourceTokenSymbol),
1889
1884
  alt: "",
1890
1885
  className: "rs-deposit-address-dropdown-icon"
1891
1886
  }
1892
1887
  ),
1893
1888
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceTokenSymbol }),
1894
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
1889
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
1895
1890
  ]
1896
1891
  }
1897
1892
  ),
@@ -1905,10 +1900,10 @@ function DepositAddressStep({
1905
1900
  setTokenDropdownOpen(false);
1906
1901
  },
1907
1902
  children: [
1908
- _chunkMILJQWPTcjs.getTokenIcon.call(void 0, symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1903
+ _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1909
1904
  "img",
1910
1905
  {
1911
- src: _chunkMILJQWPTcjs.getTokenIcon.call(void 0, symbol),
1906
+ src: _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, symbol),
1912
1907
  alt: "",
1913
1908
  className: "rs-deposit-address-dropdown-icon"
1914
1909
  }
@@ -1942,7 +1937,7 @@ function DepositAddressStep({
1942
1937
  className: "rs-deposit-address-copy",
1943
1938
  onClick: handleCopy,
1944
1939
  children: [
1945
- copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.CopyIcon, {}),
1940
+ copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CopyIcon, {}),
1946
1941
  copied ? "Copied!" : "Copy address"
1947
1942
  ]
1948
1943
  }
@@ -1950,7 +1945,7 @@ function DepositAddressStep({
1950
1945
  ]
1951
1946
  }
1952
1947
  ),
1953
- targetChain === _chunkMILJQWPTcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "warning", children: "HyperCore's first deposit to a new account includes a ~1 USDC activation fee \u2014 send at least 1 USDC or it will fail." }),
1948
+ targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "warning", children: "HyperCore's first deposit to a new account includes a ~1 USDC activation fee \u2014 send at least 1 USDC or it will fail." }),
1954
1949
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1955
1950
  "div",
1956
1951
  {
@@ -1968,16 +1963,16 @@ function DepositAddressStep({
1968
1963
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: "Price impact" }),
1969
1964
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.00%" }) }),
1970
1965
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1971
- _chunkMQIJZNTPcjs.Tooltip,
1966
+ _chunkOQVLEVNRcjs.Tooltip,
1972
1967
  {
1973
1968
  className: "rs-price-impact-info",
1974
1969
  content: "Price impact is the difference between expected and execution price, due to trade size and liquidity.",
1975
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.InfoIcon, { "aria-hidden": "true" })
1970
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.InfoIcon, { "aria-hidden": "true" })
1976
1971
  }
1977
1972
  )
1978
1973
  ] }),
1979
1974
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1980
- _chunkMQIJZNTPcjs.ChevronDownIcon,
1975
+ _chunkOQVLEVNRcjs.ChevronDownIcon,
1981
1976
  {
1982
1977
  className: "rs-price-impact-chevron",
1983
1978
  "aria-hidden": "true"
@@ -1988,29 +1983,29 @@ function DepositAddressStep({
1988
1983
  ),
1989
1984
  /* @__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: [
1990
1985
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
1991
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PercentIcon, {}) }),
1986
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PercentIcon, {}) }),
1992
1987
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
1993
1988
  "Max slippage: ",
1994
1989
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.2%" })
1995
1990
  ] }),
1996
1991
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1997
- _chunkMQIJZNTPcjs.Tooltip,
1992
+ _chunkOQVLEVNRcjs.Tooltip,
1998
1993
  {
1999
1994
  className: "rs-price-impact-info",
2000
1995
  content: "Slippage accounts for price changes during execution. Slippage is adjusted per pair to ensure reliable execution.",
2001
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.InfoIcon, { "aria-hidden": "true" })
1996
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.InfoIcon, { "aria-hidden": "true" })
2002
1997
  }
2003
1998
  )
2004
1999
  ] }),
2005
2000
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
2006
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ClockIcon, {}) }),
2001
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ClockIcon, {}) }),
2007
2002
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2008
2003
  "Processing time: ",
2009
2004
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "< 1 min" })
2010
2005
  ] })
2011
2006
  ] }),
2012
2007
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
2013
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PlusCircleIcon, {}) }),
2008
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PlusCircleIcon, {}) }),
2014
2009
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2015
2010
  "Max deposit:",
2016
2011
  " ",
@@ -2042,7 +2037,7 @@ function DepositAddressStep({
2042
2037
  },
2043
2038
  deposit.id
2044
2039
  )) }),
2045
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
2040
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2046
2041
  ] });
2047
2042
  }
2048
2043
  DepositAddressStep.displayName = "DepositAddressStep";
@@ -2053,12 +2048,28 @@ DepositAddressStep.displayName = "DepositAddressStep";
2053
2048
  // src/components/steps/SwappedIframeStep.tsx
2054
2049
 
2055
2050
 
2051
+ // src/components/steps/FinalisingDepositStep.tsx
2052
+
2053
+ function FinalisingDepositStep() {
2054
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-finalising", children: [
2055
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-finalising-body", children: [
2056
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-finalising-spinner", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, {}) }),
2057
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-finalising-text", children: [
2058
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "rs-finalising-title", children: "Finalising deposit" }),
2059
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "rs-finalising-subtitle", children: "We are depositing your funds to the application." })
2060
+ ] })
2061
+ ] }),
2062
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2063
+ ] });
2064
+ }
2065
+ FinalisingDepositStep.displayName = "FinalisingDepositStep";
2066
+
2056
2067
  // src/components/steps/SwappedOrderTracker.tsx
2057
2068
 
2058
2069
  var STEP_LABELS = [
2059
2070
  "Payment received",
2060
2071
  null,
2061
- "Processing App deposit",
2072
+ "Processing deposit",
2062
2073
  "Deposit successful"
2063
2074
  ];
2064
2075
  function SwappedOrderTracker({
@@ -2079,7 +2090,7 @@ function SwappedOrderTracker({
2079
2090
  ];
2080
2091
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-swapped-tracker", children: [
2081
2092
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2082
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.HandCoinsIcon, {}), title }),
2093
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HandCoinsIcon, {}), title }),
2083
2094
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "rs-swapped-tracker-steps", children: labels.map((label, idx) => {
2084
2095
  const status = stepStates[idx];
2085
2096
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -2093,7 +2104,7 @@ function SwappedOrderTracker({
2093
2104
  {
2094
2105
  className: "rs-swapped-tracker-step-marker",
2095
2106
  "aria-hidden": "true",
2096
- children: status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Spinner, {}) : null
2107
+ children: status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, {}) : null
2097
2108
  }
2098
2109
  )
2099
2110
  ]
@@ -2120,7 +2131,7 @@ function SwappedOrderTracker({
2120
2131
  }
2121
2132
  )
2122
2133
  ] }),
2123
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
2134
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2124
2135
  ] });
2125
2136
  }
2126
2137
  function formatTrackerAmount(amount) {
@@ -2284,10 +2295,10 @@ function SwappedIframeStep({
2284
2295
  const status = await service.fetchLatestStatus(smartAccount);
2285
2296
  if (cancelled) return;
2286
2297
  const event = status.lastEvent;
2287
- const eventTxHash = _chunkMQIJZNTPcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkMQIJZNTPcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2298
+ const eventTxHash = _chunkOQVLEVNRcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkOQVLEVNRcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2288
2299
  if (baselineDepositTxHashRef.current === void 0) {
2289
2300
  baselineDepositTxHashRef.current = eventTxHash;
2290
- } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunkMQIJZNTPcjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
2301
+ } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunkOQVLEVNRcjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
2291
2302
  currentDepositTxHashRef.current = eventTxHash;
2292
2303
  setLatestEvent(_nullishCoalesce(event, () => ( null)));
2293
2304
  }
@@ -2348,10 +2359,10 @@ function SwappedIframeStep({
2348
2359
  [orderState, latestEvent]
2349
2360
  );
2350
2361
  const terminalState = _react.useMemo.call(void 0, () => {
2351
- if (_chunkMQIJZNTPcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
2362
+ if (_chunkOQVLEVNRcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
2352
2363
  return {
2353
2364
  kind: "failed",
2354
- message: _chunkMQIJZNTPcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
2365
+ message: _chunkOQVLEVNRcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
2355
2366
  };
2356
2367
  }
2357
2368
  if (_optionalChain([orderState, 'optionalAccess', _92 => _92.status]) === "order_cancelled") {
@@ -2373,22 +2384,26 @@ function SwappedIframeStep({
2373
2384
  orderCrypto: _nullishCoalesce(_optionalChain([orderState, 'optionalAccess', _94 => _94.orderCrypto]), () => ( null)),
2374
2385
  // Base-unit source amount from the deposit row/event, consistent with the
2375
2386
  // wallet/QR path. ProcessingStep + onLifecycle expect base units.
2376
- amount: _nullishCoalesce(_chunkMQIJZNTPcjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null))
2387
+ amount: _nullishCoalesce(_chunkOQVLEVNRcjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null))
2377
2388
  });
2378
2389
  }, [latestEvent, orderState]);
2379
2390
  _react.useEffect.call(void 0, () => {
2380
2391
  if (failedFiredRef.current || completeFiredRef.current) return;
2381
- if (!_chunkMQIJZNTPcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
2392
+ if (!_chunkOQVLEVNRcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
2382
2393
  const txHash = currentDepositTxHashRef.current;
2383
2394
  if (!txHash) return;
2384
2395
  failedFiredRef.current = true;
2385
2396
  setPhase("tracker");
2386
2397
  _optionalChain([onSwappedFailedRef, 'access', _95 => _95.current, 'optionalCall', _96 => _96(
2387
2398
  txHash,
2388
- _chunkMQIJZNTPcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
2399
+ _chunkOQVLEVNRcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
2389
2400
  )]);
2390
2401
  }, [latestEvent]);
2391
2402
  if (phase === "tracker") {
2403
+ const paymentReceived = stepStates[0] === "complete";
2404
+ if (variant === "connect" && !terminalState && paymentReceived) {
2405
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FinalisingDepositStep, {});
2406
+ }
2392
2407
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2393
2408
  SwappedOrderTracker,
2394
2409
  {
@@ -2404,9 +2419,9 @@ function SwappedIframeStep({
2404
2419
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-fiat-onramp", "data-variant": variant, children: [
2405
2420
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2406
2421
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2407
- _chunkMQIJZNTPcjs.BodyHeader,
2422
+ _chunkOQVLEVNRcjs.BodyHeader,
2408
2423
  {
2409
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.HandCoinsIcon, {}),
2424
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HandCoinsIcon, {}),
2410
2425
  title: "Deposit",
2411
2426
  subtitle: "Add money to your balance"
2412
2427
  }
@@ -2424,7 +2439,7 @@ function SwappedIframeStep({
2424
2439
  }
2425
2440
  )
2426
2441
  ] }),
2427
- !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Spinner, {}) }),
2442
+ !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, {}) }),
2428
2443
  widgetUrl && !loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2429
2444
  "iframe",
2430
2445
  {
@@ -2439,11 +2454,11 @@ function SwappedIframeStep({
2439
2454
  )
2440
2455
  ] })
2441
2456
  ] }),
2442
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
2457
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2443
2458
  ] });
2444
2459
  }
2445
2460
  function deriveStepStates(swappedStatus, latestEvent) {
2446
- if (_chunkMQIJZNTPcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
2461
+ if (_chunkOQVLEVNRcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
2447
2462
  return ["complete", "complete", "failed", "pending"];
2448
2463
  }
2449
2464
  if (swappedStatus === "order_cancelled") {
@@ -2507,11 +2522,6 @@ function FiatOnrampStep({
2507
2522
  smartAccount,
2508
2523
  method: paymentMethod
2509
2524
  });
2510
- if (res.currencyCode !== "USDC_BASE") {
2511
- console.warn(
2512
- `[FiatOnrampStep] Expected backend to return currencyCode=USDC_BASE, got ${res.currencyCode}. Swapped purchases may not bridge as expected.`
2513
- );
2514
- }
2515
2525
  return res;
2516
2526
  }, [service, smartAccount, paymentMethod]);
2517
2527
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -2580,11 +2590,6 @@ function ExchangeConnectStep({
2580
2590
  smartAccount,
2581
2591
  connection
2582
2592
  });
2583
- if (res.currencyCode !== "USDC_BASE") {
2584
- console.warn(
2585
- `[ExchangeConnectStep] Expected backend to return currencyCode=USDC_BASE, got ${res.currencyCode}. Swapped Connect pulls may not bridge as expected.`
2586
- );
2587
- }
2588
2593
  return res;
2589
2594
  }, [service, smartAccount, connection]);
2590
2595
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -2610,10 +2615,114 @@ ExchangeConnectStep.displayName = "ExchangeConnectStep";
2610
2615
  // src/components/steps/ExchangeSelectStep.tsx
2611
2616
 
2612
2617
 
2618
+ // src/components/ui/ExchangeLogos.tsx
2619
+
2620
+ var HTX_LOGO_DATA_URI = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXYAAACQCAMAAAAr6rB8AAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAACNUExURQAAAAAAPgAAPgAAPgAAQAAAPQAAPgAAPQAAPQAAPgAAOAAAPgAAPQAAPQAAPAAAOgAAPgAAPQAAPQAAQAAAQACK1QCM1QCNzwCL1gCL1gCM1QCM1gCL1gAAPgCL1wCK1ACL1QCL0wCM1gCM1QCM1ACL1AAAPQCM1gAAPgCM1gAAOgCM1gAAPgCM1v///6KyLqIAAAAsdFJOUwCAj88Qn6BQv+8g33CvQDCQT2AgUCBgEN+AkL/eb58wcECw71Cgvs/O7zGgm66ePgAAAAFiS0dELlTTEIcAAAAHdElNRQfoDAUMAwII1OX3AAAI7ElEQVR42u2dbWPaOBCEQ8Ml4UyAg5IQ0ru8kLS9Vv7/f+9CaArYs7sjg/GtrfmKjeXHYjVarcXZGa/ep4iDk46lXjjvN92GDqoXEvcG9IY9/NF0I7qnizfsodd0Kzqnd+zhsulmdE1X79gHfzbdjo5pgz1cNd2OjinbYA/DphvSLf2iHgbJRZ5Q/Q/s4brppnRJo9/Yw6jptnRIl1vsaVQ9nXohdfcGdL2D/bzpxnRHVyF19wY02MWeovuJNA4hdffT63Ife+rup9FkH3tIU9WT6LyAPSXeT6F+gXoYNN2iTuiyiD0NqqfQRQn7pOkmdUFZSFHm9BqHkKLM6TUB2CdNN6r9ygD2lA+rWyjGpBlT7bqA2P9qulktVz+D2CdNt6vlmkLqKR1Ws3BnT869XgmdPYRUl1enMgl7GlNrlNjZw7TpprVZYmdPVqZGyZ09vdtRn/pyZ08Osj71ZOopK1ObZgr1kDXdutYqS9gbkBZiEva6pIaYhL0m9bOEvQF9Cgn76dUzqCffXofGFvX07lgNmmUm9vSG6tFlDadrpUqZo+vcpp5KB44uy8QcPqKOpyUxv56+ddpseiSN1982Qp98pm5wfoOknmKamLUOW+XoVXuOYAa3n38e2Q3n9F7BPxugj5hB7XaRA90dTP3ApVQf2EGFeeB2d1ki6veHUz/QtTvBDss/iZT3DaL+Za6c8TfXrAMXsL1gx5bO2pxxDkOMFtmnXKsOzQx4wS5MG43h/x5R/+dw6uUBVfsBecZ+NkSf6uH9LjbEjAdco0qd/SF/bCn2/ff+mcbOEfX86XDq5c5+Y7gjx9hjXWS0dyQSMRuVI/uz5Ur9YscuMoylNkLv+OUI1IFnX5mzAb/YsYvMhOQI9I65HNh56pPSuS/ELMwv9hgXOY8NMUz6a/Ocy539mbCmfrELLhKmR6B3VKanTPpLutx27H5oJXbeRcZ6R3JyGmDJ6evvKyxI/+4MO3aRX5X+x01PZ3R7wFCya5m+tRM7dpHF8I69ozw9ZVaTfgn8svYG72UrsQsuspAkwN5RDgB8YEc7yew/Y2U65hg75SKf4qanbCYGlwsUnOritkHsiq4OOPdMCgiF8A5G1LvIb4RPF6WAigGNCTP+sAsuspAkKPlHZXrKLWyshWbE5SdMhBmH2AUXuY9kviqwUKanNHUU2MG0TF288osdu8hCeH9hQ4ywp0AgW/ma5xW6u0vslItckh2QHvxh8gdOEBbtxC64yP3/idn17trSBvzpAOEVlW8Iu52b8Ykdu8gCmIcVg4Hu7LAsB6c57ejuFDvlIh8/KGirp2xkhztu4jQnEd2dYhfW3wou8tkOMayNwVBeBepmd/eKHbvIQpLgV3jXuh7Z2eE8CU+GNzKmqm6xUy7yyfCOxjuQW+EChYWM/bGt2LGLLCRNlur0lB5Q8VbKS5m6FWX8YheQlZIE6sIDF2Nw85QQY0YZx9gpFzl/VL+CijE4sM8XKnb9up6xYxf5PeI1Cy7G4MD+qlJXTatv7IKLjPizcCr3iAP7jU49/7e92CkXGdmUknBxrxFi8lwfU3xjx9z4P5Nlah4rhZjcyMvwKX5LjWDHLvIrebb9zq8UYl5M6voik3PsnIuUdBlMCe8PmCEmz5/bjB27SLkeNfbmcYi5s6nrFTPusWMXmVEu8tq6J6Fhc4K6bmXcYz/7Ud1FmkYmqzqertVu7IKLZMK7WeSLx1Oqs+sOsgXYq7tIKzUgjKf3CftaP2B7vtsnWreEX3C35qddwS6kEe3wbtxRdfP4Lq3WvQXYh1KLzCRBpTt6Iqm3vLfPxBm+6SKNO8KjAxnZ245dGRetJIGeksG5qQeWeruxqzdguEjdyeABlfPsa1VutQPsn9U2DfQkge7bYYgiPXve7lmq9TKpHt7V5ACOMax7bHdOxpzeqy5yop2JA9Q3GnvsXkGDjND/AzvRaS6V04faidB+8jEmOt/uZ3WJqaTTkgRqvh2e8chjf2krdu6dI+V2+sppeEMsPsboL2R7xk7WL/bkb1CeG9zCNyLGtLZygH6tUU4SKA9ugo4nllA/pK7pOcY+Y7c6Ulyk8uTgb2TJY4/e4dMJdhggerD/int+K8EdYqfzMUaZjF/s0Dt+FYZZMUkg+36YGuCpt7TiFyYF1kufsIJDdJGy8UdPik+DWS+NOcWOkwLvPXSIPpHqUeUog4IMnWq3YoxX7DCb0hO/X04SiFFmAg7mEzJ6va9X7DA2fKzBYYsjuEix1Bo1ialKojq7T+w4KfA7fkdtfy3ZUDRLpbG38r1U063AzKJwW9Kgiv5inMZubjrgETv05rtfEeMi+1J3Z/d9qxDZXWKHU8v9sjkc3vFSk9TdwQ7tLHZ7ezx/2KkRcwgfDXSRUh5zUj6UdDLE5qf+sOOkQPEo6DDxZYSsO8DAZcLsbU0cYle941Yx4R1790H5t8HlfZmt8bxhp+f+EUkCIZcJnP6KoE7tr+wMu5IUKAq6SFyPOoTYJ+UDiQwkt+2pM+wRITsmSYBLtcvH2Uup5Ca/vrDjwC6kuSKSBPhHVD7UTEGuGt5auRbsRlKgKGzw4UOCr0pOysdZS9jUTrPOsPc577hVRJJgCI4EXsaYMDW+bX4d2OEGyFpVb4yL7FFH3q6OQt0TdiIpUBR8vWZAJwkACWURe8VTd4Qdj5DG/2cO4aPCYzBAUR5U5RnTiv2DCF/YYcCYVLiYuNRUZgFQSNGd/XsIZ9jJpECpofz8Cl2j3N2F6P6T2bXdH3a8+Ea8expVSTAkWKAp0+oxCrob7LO48pddxSw1la8DZlflDMF95P9HusFuLigp+o7OlSoJZoUrARjFreEXakm1Z+w4sJObJEVVErz51Mw6bq9cZhFhG51hx0kBekuwIXxoYj3qfodHNLZuZnUXN5R6wh6dFCgqrh717e52E51oAHmtHNQ/rjAqidl5qF8+bcZechx7LrjYmyJusj9F0l7iG23Bg8zM2e0mJfazIvQkUbOLTPlZve9H+Bz9pUmERhvyqLuv/wohbl6aFKHx9Dob4NexlzE5mKSt/gNCZI6GyUmWNAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyNC0xMi0wNVQxMjowMzowMiswMDowMLpM60QAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjQtMTItMDVUMTI6MDM6MDIrMDA6MDDLEVP4AAAAKHRFWHRkYXRlOnRpbWVzdGFtcAAyMDI0LTEyLTA1VDEyOjAzOjAyKzAwOjAwnARyJwAAAABJRU5ErkJggg==";
2621
+ function Tile({
2622
+ bg,
2623
+ children,
2624
+ fg = "#fff"
2625
+ }) {
2626
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { viewBox: "0 0 40 40", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
2627
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: "40", height: "40", fill: bg }),
2628
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "g", { color: fg, children })
2629
+ ] });
2630
+ }
2631
+ function Icon({
2632
+ children,
2633
+ x = 8,
2634
+ y = 8,
2635
+ size = 24,
2636
+ viewBox = "0 0 24 24"
2637
+ }) {
2638
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { x, y, width: size, height: size, viewBox, children });
2639
+ }
2640
+ var LOGOS = {
2641
+ coinbase: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tile, { bg: "#0052FF", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { x: 7, y: 7, size: 26, viewBox: "0 0 512 512", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2642
+ "path",
2643
+ {
2644
+ fill: "#fff",
2645
+ d: "M256.737 338.138c-45.081 0-81.512-36.531-81.512-81.513 0-44.98 36.53-81.512 81.512-81.512 40.356 0 73.863 29.387 80.306 67.925h82.113C412.212 159.313 342.175 93.5 256.637 93.5c-90.069 0-163.125 73.063-163.125 163.125 0 90.07 73.056 163.125 163.125 163.125 85.538 0 155.575-65.812 162.519-149.537h-82.213c-6.443 38.537-39.85 67.925-80.206 67.925z"
2646
+ }
2647
+ ) }) }),
2648
+ binance: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tile, { bg: "#181A20", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2649
+ "path",
2650
+ {
2651
+ fill: "#F0B90B",
2652
+ d: "m16.624 13.920 2.718 2.716-7.353 7.353-7.353-7.353 2.717-2.716 4.636 4.66zm4.637-4.636L24 12l-2.715 2.716L18.568 12zm-9.272.001 2.716 2.691-2.716 2.717L9.272 12zm-9.273-.001L5.409 12l-2.692 2.692L0 12zM11.989.012l7.353 7.329-2.718 2.715-4.635-4.636-4.636 4.66-2.717-2.716z"
2653
+ }
2654
+ ) }) }),
2655
+ bitfinex: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tile, { bg: "#101914", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Icon, { x: 5, y: 8, size: 30, viewBox: "780 0 116 100", children: [
2656
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2657
+ "path",
2658
+ {
2659
+ fill: "#97C554",
2660
+ d: "m792.54 88.414c4.795 5.078 31.135 29.418 72.478 1.17C894.913 66.302 894.166 15.827 891.294.584c-1 2.219-35.724 78.26-98.754 87.83Z"
2661
+ }
2662
+ ),
2663
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2664
+ "path",
2665
+ {
2666
+ fill: "#709B30",
2667
+ d: "M891.29.572c-.366-.152-38.827-5.395-76.85 19.094-23.61 15.207-26.731 37.464-25.654 52.295 55.273-6.185 101.25-69.646 102.504-71.39Z"
2668
+ }
2669
+ )
2670
+ ] }) }),
2671
+ bybit: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tile, { bg: "#16171A", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { x: 4, y: 4, size: 32, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "g", { fill: "none", children: [
2672
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { fill: "#F6A500", d: "M15.829 13.626V9h.93v4.626z" }),
2673
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2674
+ "path",
2675
+ {
2676
+ fill: "#fff",
2677
+ d: "M4.993 15H3v-4.626h1.913c.93 0 1.471.507 1.471 1.3 0 .513-.348.845-.588.955.287.13.655.423.655 1.04 0 .863-.609 1.33-1.458 1.33m-.154-3.82h-.91v1.065h.91c.395 0 .615-.214.615-.533 0-.317-.22-.532-.615-.532m.06 1.877h-.97v1.137h.97c.42 0 .622-.259.622-.571s-.201-.565-.622-.565zm4.388.046V15h-.923v-1.898l-1.431-2.728h1.01l.889 1.864.877-1.864h1.01zM13.355 15h-1.993v-4.626h1.913c.93 0 1.47.507 1.47 1.3 0 .513-.347.845-.588.955.287.13.655.423.655 1.04 0 .863-.608 1.33-1.457 1.33m-.155-3.82h-.91v1.065h.91c.395 0 .616-.214.616-.533 0-.317-.22-.532-.616-.532m.06 1.877h-.97v1.137h.97c.422 0 .622-.259.622-.571s-.2-.565-.622-.565zm6.495-1.876V15h-.929v-3.82h-1.245v-.806H21v.806z"
2678
+ }
2679
+ )
2680
+ ] }) }) }),
2681
+ btcturk: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tile, { bg: "#FFFFFF", fg: "#0D0D17", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { x: 7, y: 7, size: 26, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2682
+ "path",
2683
+ {
2684
+ fill: "currentColor",
2685
+ d: "M14.126 18.743c-1.05.742-1.67 1.67-1.38 2.072s1.365.128 2.414-.612 1.667-1.668 1.379-2.072c-.089-.12-.256-.186-.474-.186-.48 0-1.218.29-1.94.798m-5.76-1.584c-2.028.842-3.433 2.088-3.141 2.796.291.709 2.17.607 4.2-.23 2.03-.836 3.428-2.084 3.137-2.797-.13-.317-.576-.47-1.21-.47-.787 0-1.865.24-2.987.701m9.293-.84c-.36.683-.47 1.33-.251 1.44.22.11.685-.345 1.043-1.028s.47-1.33.25-1.44a.15.15 0 0 0-.074-.017c-.24 0-.648.433-.968 1.045m-2.927-1.891c-.695.4-1.058 1.073-.812 1.5s1.008.448 1.703.047c.695-.4 1.057-1.073.811-1.5-.128-.222-.396-.335-.72-.335-.346.01-.684.11-.981.288m2.568-.91c-.202.348-.188.735.03.86.218.127.56-.053.76-.404.202-.35.19-.735-.03-.861a.3.3 0 0 0-.155-.041c-.204 0-.447.17-.6.445m-2.592-1.499c0 .418.384.758.858.758s.858-.34.858-.758c0-.417-.384-.757-.858-.757s-.858.339-.858.757m-5.728 0c0 .938 1.057 1.697 2.361 1.697s2.36-.755 2.36-1.697-1.055-1.698-2.36-1.698-2.361.761-2.361 1.698m8.369-2.4c-.218.12-.232.513-.03.862.201.35.541.531.76.404.22-.127.232-.51.03-.861-.158-.274-.401-.446-.6-.446a.3.3 0 0 0-.155.041m-3.413-1.545c-.24.427.12 1.099.811 1.5.691.4 1.457.38 1.703-.047s-.12-1.098-.811-1.5a2 2 0 0 0-.983-.287c-.325 0-.593.112-.72.334m3.456-1.833c-.218.12-.107.762.25 1.44.358.678.825 1.144 1.045 1.029.22-.116.105-.762-.252-1.44-.32-.612-.73-1.046-.969-1.046a.2.2 0 0 0-.074.017M5.225 4.05c-.292.708 1.115 1.96 3.14 2.797s3.902.94 4.197.233-1.115-1.962-3.14-2.798c-1.123-.464-2.196-.702-2.988-.702-.633 0-1.08.154-1.21.47m7.51-.864c-.284.403.337 1.33 1.386 2.071s2.13 1.016 2.413.612c.283-.403-.336-1.33-1.387-2.071C14.427 3.289 13.692 3 13.21 3c-.219 0-.385.06-.48.186"
2686
+ }
2687
+ ) }) }),
2688
+ gate: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tile, { bg: "#FFFFFF", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { x: 7, y: 7, size: 26, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "g", { fill: "none", children: [
2689
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { fill: "#2354E6", d: "M12 16.95a4.95 4.95 0 1 1 0-9.9V3a9 9 0 1 0 9 9h-4.05A4.95 4.95 0 0 1 12 16.95" }),
2690
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { fill: "#17E6A1", d: "M16.95 7.05H12V12h4.95z" })
2691
+ ] }) }) }),
2692
+ gateio: () => LOGOS.gate(),
2693
+ htx: () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { viewBox: "0 0 40 40", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
2694
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: "40", height: "40", fill: "#fff" }),
2695
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "image", { href: HTX_LOGO_DATA_URI, x: "3", y: "12", width: "34", height: "13.1", preserveAspectRatio: "xMidYMid meet" })
2696
+ ] }),
2697
+ kraken: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tile, { bg: "#7133F5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { x: 6, y: 6, size: 28, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2698
+ "path",
2699
+ {
2700
+ fill: "#fff",
2701
+ d: "M11.998 4.5C7.028 4.5 3 8.774 3 14.047v4.09c0 .753.575 1.363 1.285 1.363s1.288-.61 1.288-1.362v-4.091c0-.755.573-1.365 1.285-1.365.71 0 1.284.61 1.284 1.365v4.09c0 .753.575 1.363 1.285 1.363.712 0 1.286-.61 1.286-1.362v-4.091c0-.755.575-1.365 1.285-1.365.712 0 1.289.61 1.289 1.365v4.09c0 .753.574 1.363 1.284 1.363s1.285-.61 1.285-1.362v-4.091c0-.755.574-1.365 1.288-1.365.71 0 1.285.61 1.285 1.365v4.09c0 .753.575 1.363 1.287 1.363.71 0 1.284-.61 1.284-1.362v-4.091C21 8.774 16.97 4.5 11.998 4.5"
2702
+ }
2703
+ ) }) }),
2704
+ kucoin: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tile, { bg: "#01BC8D", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { x: 7, y: 7, size: 26, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2705
+ "path",
2706
+ {
2707
+ fill: "#fff",
2708
+ d: "m7.928 11.996 7.122 7.122 4.49-4.49a2.004 2.004 0 0 1 2.865 0 2.004 2.004 0 0 1 0 2.865l-5.918 5.918a2.058 2.058 0 0 1-2.883 0l-8.541-8.542v5.07a2.034 2.034 0 1 1-4.07 0V4.043a2.034 2.034 0 1 1 4.07 0v5.088L13.604.589a2.058 2.058 0 0 1 2.883 0l5.918 5.918c.785.803.785 2.088 0 2.865-.804.785-2.089.785-2.865 0l-4.49-4.49zM15.05 9.96a2.038 2.038 0 0 0-2.053 2.035c0 1.133.902 2.052 2.035 2.052a2.038 2.038 0 0 0 2.053-2.035v-.018a2.07 2.07 0 0 0-2.035-2.034z"
2709
+ }
2710
+ ) }) })
2711
+ };
2712
+ function normalize(value) {
2713
+ return value.toLowerCase().replace(/[^a-z0-9]/g, "");
2714
+ }
2715
+ function getExchangeLogo(name, connection) {
2716
+ const render = _nullishCoalesce(LOGOS[normalize(name)], () => ( LOGOS[normalize(_nullishCoalesce(connection, () => ( "")))]));
2717
+ return render ? render() : null;
2718
+ }
2719
+
2720
+ // src/components/steps/ExchangeSelectStep.tsx
2721
+
2613
2722
  function ExchangeLogo({ exchange }) {
2614
2723
  const [failed, setFailed] = _react.useState.call(void 0, false);
2615
2724
  if (!exchange.logoUrl || failed) {
2616
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BankIcon, {});
2725
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BankIcon, {});
2617
2726
  }
2618
2727
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2619
2728
  "img",
@@ -2659,14 +2768,14 @@ function ExchangeSelectStep({
2659
2768
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-exchange-select", children: [
2660
2769
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2661
2770
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2662
- _chunkMQIJZNTPcjs.BodyHeader,
2771
+ _chunkOQVLEVNRcjs.BodyHeader,
2663
2772
  {
2664
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BankIcon, {}),
2665
- title: "Fund from Exchange",
2666
- subtitle: "Choose your exchange"
2773
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.UnplugIcon, {}),
2774
+ title: "Connect exchange",
2775
+ subtitle: "Select an exchange to connect"
2667
2776
  }
2668
2777
  ),
2669
- loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Spinner, {}) }),
2778
+ loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, {}) }),
2670
2779
  !loading && error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: [
2671
2780
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state-title", children: "Couldn\u2019t load exchanges" }),
2672
2781
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -2691,22 +2800,31 @@ function ExchangeSelectStep({
2691
2800
  }
2692
2801
  )
2693
2802
  ] }),
2694
- !loading && !error && exchanges.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-grid", children: exchanges.map((exchange) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2695
- "button",
2696
- {
2697
- type: "button",
2698
- className: "rs-exchange-card",
2699
- onClick: () => onSelectExchange(exchange.connection),
2700
- "aria-label": `Select ${exchange.name}`,
2701
- children: [
2702
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-exchange-card-logo", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExchangeLogo, { exchange }) }),
2703
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-exchange-card-name", children: exchange.name })
2704
- ]
2705
- },
2706
- exchange.connection
2707
- )) })
2803
+ !loading && !error && exchanges.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-grid", children: exchanges.map((exchange) => {
2804
+ const brand = getExchangeLogo(exchange.name, exchange.connection);
2805
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2806
+ "button",
2807
+ {
2808
+ type: "button",
2809
+ className: "rs-exchange-card",
2810
+ onClick: () => onSelectExchange(exchange.connection),
2811
+ "aria-label": `Select ${exchange.name}`,
2812
+ children: [
2813
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2814
+ "span",
2815
+ {
2816
+ className: `rs-exchange-card-logo${brand ? " rs-exchange-card-logo--brand" : ""}`,
2817
+ children: _nullishCoalesce(brand, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExchangeLogo, { exchange })))
2818
+ }
2819
+ ),
2820
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-exchange-card-name", children: exchange.name })
2821
+ ]
2822
+ },
2823
+ exchange.connection
2824
+ );
2825
+ }) })
2708
2826
  ] }),
2709
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
2827
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2710
2828
  ] });
2711
2829
  }
2712
2830
  ExchangeSelectStep.displayName = "ExchangeSelectStep";
@@ -2721,22 +2839,22 @@ function DepositAddressSkeleton({
2721
2839
  const allowedChainSet = _optionalChain([allowedRoutes, 'optionalAccess', _102 => _102.sourceChains]) ? new Set(allowedRoutes.sourceChains) : null;
2722
2840
  const allowedTokenSet = _optionalChain([allowedRoutes, 'optionalAccess', _103 => _103.sourceTokens]) ? new Set(allowedRoutes.sourceTokens.map((s) => s.toUpperCase())) : null;
2723
2841
  const evmChainIds = (() => {
2724
- const all = _chunkMILJQWPTcjs.getSupportedChainIds.call(void 0, );
2842
+ const all = _chunkABVRVW3Pcjs.getSupportedChainIds.call(void 0, );
2725
2843
  return allowedChainSet ? all.filter((id) => allowedChainSet.has(id)) : all;
2726
2844
  })();
2727
2845
  const defaultChainId = evmChainIds.includes(BASE_CHAIN_ID) ? BASE_CHAIN_ID : evmChainIds[0];
2728
2846
  const tokensForChain = (() => {
2729
- const all = _chunkMILJQWPTcjs.getTargetTokenSymbolsForChain.call(void 0, defaultChainId);
2847
+ const all = _chunkABVRVW3Pcjs.getTargetTokenSymbolsForChain.call(void 0, defaultChainId);
2730
2848
  return allowedTokenSet ? all.filter((s) => allowedTokenSet.has(s.toUpperCase())) : all;
2731
2849
  })();
2732
2850
  const defaultToken = tokensForChain.includes("USDC") ? "USDC" : _nullishCoalesce(tokensForChain[0], () => ( "USDC"));
2733
- const chainName = _chunkMILJQWPTcjs.getChainName.call(void 0, defaultChainId);
2734
- const chainIcon = _chunkMILJQWPTcjs.getChainIcon.call(void 0, defaultChainId);
2735
- const tokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, defaultToken);
2851
+ const chainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, defaultChainId);
2852
+ const chainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, defaultChainId);
2853
+ const tokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, defaultToken);
2736
2854
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", "aria-busy": "true", children: [
2737
2855
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: "Preparing deposit details\u2026" }),
2738
2856
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
2739
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2857
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2740
2858
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", "aria-hidden": "true", children: [
2741
2859
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
2742
2860
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
@@ -2750,7 +2868,7 @@ function DepositAddressSkeleton({
2750
2868
  }
2751
2869
  ),
2752
2870
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainName }),
2753
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2871
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2754
2872
  ] })
2755
2873
  ] }),
2756
2874
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
@@ -2759,8 +2877,8 @@ function DepositAddressSkeleton({
2759
2877
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
2760
2878
  "Min.$",
2761
2879
  (_nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _104 => _104.minDepositUsd]), () => ( 0.1))).toFixed(2),
2762
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2763
- _chunkMQIJZNTPcjs.InfoIcon,
2880
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2881
+ _chunkOQVLEVNRcjs.InfoIcon,
2764
2882
  {
2765
2883
  className: "rs-deposit-address-min-icon",
2766
2884
  "aria-hidden": "true"
@@ -2778,7 +2896,7 @@ function DepositAddressSkeleton({
2778
2896
  }
2779
2897
  ),
2780
2898
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: defaultToken }),
2781
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2899
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2782
2900
  ] })
2783
2901
  ] })
2784
2902
  ] }),
@@ -2799,7 +2917,7 @@ function DepositAddressSkeleton({
2799
2917
  disabled: true,
2800
2918
  "aria-hidden": "true",
2801
2919
  children: [
2802
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.CopyIcon, {}),
2920
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CopyIcon, {}),
2803
2921
  "Copy address"
2804
2922
  ]
2805
2923
  }
@@ -2812,16 +2930,16 @@ function DepositAddressSkeleton({
2812
2930
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: "Price impact" }),
2813
2931
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.00%" }) }),
2814
2932
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2815
- _chunkMQIJZNTPcjs.Tooltip,
2933
+ _chunkOQVLEVNRcjs.Tooltip,
2816
2934
  {
2817
2935
  className: "rs-price-impact-info",
2818
2936
  content: "Price impact is the difference between expected and execution price, due to trade size and liquidity.",
2819
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.InfoIcon, { "aria-hidden": "true" })
2937
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.InfoIcon, { "aria-hidden": "true" })
2820
2938
  }
2821
2939
  )
2822
2940
  ] }),
2823
2941
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2824
- _chunkMQIJZNTPcjs.ChevronDownIcon,
2942
+ _chunkOQVLEVNRcjs.ChevronDownIcon,
2825
2943
  {
2826
2944
  className: "rs-price-impact-chevron",
2827
2945
  "aria-hidden": "true"
@@ -2829,7 +2947,7 @@ function DepositAddressSkeleton({
2829
2947
  )
2830
2948
  ] }) })
2831
2949
  ] }),
2832
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
2950
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2833
2951
  ] });
2834
2952
  }
2835
2953
  DepositAddressSkeleton.displayName = "DepositAddressSkeleton";
@@ -2861,14 +2979,14 @@ function SolanaTokenSelectStep({
2861
2979
  setError(null);
2862
2980
  const portfolioBySymbol = {};
2863
2981
  try {
2864
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
2982
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
2865
2983
  solanaAddress
2866
2984
  });
2867
2985
  const portfolio = await service.fetchSolanaPortfolio(solanaAddress);
2868
2986
  if (!active) return;
2869
2987
  for (const t of portfolio.tokens) {
2870
2988
  const symbol = t.symbol.toUpperCase();
2871
- if (!_chunkMILJQWPTcjs.SOLANA_TOKENS.some((st) => st.symbol === symbol)) continue;
2989
+ if (!_chunkABVRVW3Pcjs.SOLANA_TOKENS.some((st) => st.symbol === symbol)) continue;
2872
2990
  let parsed = 0n;
2873
2991
  try {
2874
2992
  parsed = BigInt(t.balance || "0");
@@ -2884,12 +3002,12 @@ function SolanaTokenSelectStep({
2884
3002
  };
2885
3003
  }
2886
3004
  }
2887
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
3005
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
2888
3006
  symbols: Object.keys(portfolioBySymbol)
2889
3007
  });
2890
3008
  } catch (err) {
2891
3009
  if (!active) return;
2892
- _chunkMQIJZNTPcjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
3010
+ _chunkOQVLEVNRcjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
2893
3011
  solanaAddress
2894
3012
  });
2895
3013
  setError(
@@ -2900,7 +3018,7 @@ function SolanaTokenSelectStep({
2900
3018
  return;
2901
3019
  }
2902
3020
  const results = [];
2903
- for (const token of _chunkMILJQWPTcjs.SOLANA_TOKENS) {
3021
+ for (const token of _chunkABVRVW3Pcjs.SOLANA_TOKENS) {
2904
3022
  const fromPortfolio = portfolioBySymbol[token.symbol];
2905
3023
  if (fromPortfolio && fromPortfolio.balance > 0n) {
2906
3024
  results.push({
@@ -2936,30 +3054,30 @@ function SolanaTokenSelectStep({
2936
3054
  const raw = _viem.formatUnits.call(void 0, entry.balance, entry.token.decimals);
2937
3055
  const numeric = Number(raw);
2938
3056
  if (!Number.isFinite(numeric)) return raw;
2939
- return _chunkMQIJZNTPcjs.tokenFormatter.format(numeric);
3057
+ return _chunkOQVLEVNRcjs.tokenFormatter.format(numeric);
2940
3058
  } catch (e20) {
2941
3059
  return "--";
2942
3060
  }
2943
3061
  };
2944
- const chainIcon = _chunkMILJQWPTcjs.getChainIcon.call(void 0, "solana");
2945
- const chainName = _chunkMILJQWPTcjs.getChainName.call(void 0, "solana");
3062
+ const chainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, "solana");
3063
+ const chainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, "solana");
2946
3064
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
2947
3065
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
2948
3066
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2949
- _chunkMQIJZNTPcjs.BodyHeader,
3067
+ _chunkOQVLEVNRcjs.BodyHeader,
2950
3068
  {
2951
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, {}),
3069
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
2952
3070
  title: "Your assets",
2953
3071
  subtitle: "Select source assets to transfer"
2954
3072
  }
2955
3073
  ),
2956
3074
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
2957
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Spinner, { className: "rs-text-tertiary" }),
3075
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, { className: "rs-text-tertiary" }),
2958
3076
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
2959
3077
  ] }),
2960
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "error", children: error }),
3078
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: error }),
2961
3079
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
2962
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, { className: "rs-empty-icon" }),
3080
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, { className: "rs-empty-icon" }),
2963
3081
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
2964
3082
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
2965
3083
  solanaAddress.slice(0, 6),
@@ -2979,7 +3097,7 @@ function SolanaTokenSelectStep({
2979
3097
  !loading && !error && rows.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-list", children: rows.map((entry) => {
2980
3098
  const isSelected = selectedSymbol === entry.token.symbol;
2981
3099
  const tokenAmount = formatBalance(entry);
2982
- const tokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, entry.token.symbol);
3100
+ const tokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, entry.token.symbol);
2983
3101
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2984
3102
  "button",
2985
3103
  {
@@ -3008,14 +3126,14 @@ function SolanaTokenSelectStep({
3008
3126
  ] })
3009
3127
  ] })
3010
3128
  ] }),
3011
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunkMQIJZNTPcjs.currencyFormatter.format(entry.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${entry.token.symbol}` : "--" })
3129
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunkOQVLEVNRcjs.currencyFormatter.format(entry.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${entry.token.symbol}` : "--" })
3012
3130
  ]
3013
3131
  },
3014
3132
  entry.token.symbol
3015
3133
  );
3016
3134
  }) }),
3017
3135
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3018
- _chunkMQIJZNTPcjs.Button,
3136
+ _chunkOQVLEVNRcjs.Button,
3019
3137
  {
3020
3138
  onClick: () => selectedEntry && onContinue(
3021
3139
  selectedEntry.token,
@@ -3028,7 +3146,7 @@ function SolanaTokenSelectStep({
3028
3146
  }
3029
3147
  )
3030
3148
  ] }),
3031
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
3149
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3032
3150
  ] });
3033
3151
  }
3034
3152
 
@@ -3060,7 +3178,7 @@ function SolanaAmountStep({
3060
3178
  const [amount, setAmount] = _react.useState.call(void 0, "");
3061
3179
  const [error, setError] = _react.useState.call(void 0, null);
3062
3180
  const hasAppliedDefaultRef = _react.useRef.call(void 0, false);
3063
- const isSourceStablecoin = _chunkMILJQWPTcjs.isStablecoinSymbol.call(void 0, token.symbol);
3181
+ const isSourceStablecoin = _chunkABVRVW3Pcjs.isStablecoinSymbol.call(void 0, token.symbol);
3064
3182
  const isMaxDefault = _optionalChain([defaultAmount, 'optionalAccess', _106 => _106.trim, 'call', _107 => _107(), 'access', _108 => _108.toLowerCase, 'call', _109 => _109()]) === "max";
3065
3183
  const tokenPriceUsd = _react.useMemo.call(void 0, () => {
3066
3184
  if (isSourceStablecoin) return 1;
@@ -3081,7 +3199,7 @@ function SolanaAmountStep({
3081
3199
  const raw = _viem.formatUnits.call(void 0, balance, token.decimals);
3082
3200
  const numeric = Number(raw);
3083
3201
  if (!Number.isFinite(numeric)) return raw;
3084
- return _chunkMQIJZNTPcjs.tokenFormatter.format(numeric);
3202
+ return _chunkOQVLEVNRcjs.tokenFormatter.format(numeric);
3085
3203
  } catch (e22) {
3086
3204
  return "\u2026";
3087
3205
  }
@@ -3098,7 +3216,7 @@ function SolanaAmountStep({
3098
3216
  }
3099
3217
  }, [balance, token.decimals, tokenPriceUsd, balanceUsd]);
3100
3218
  const spendableBalance = _react.useMemo.call(void 0, () => {
3101
- if (!_chunkMILJQWPTcjs.isNativeSol.call(void 0, token)) return balance;
3219
+ if (!_chunkABVRVW3Pcjs.isNativeSol.call(void 0, token)) return balance;
3102
3220
  return balance > SOL_FEE_RESERVE_LAMPORTS ? balance - SOL_FEE_RESERVE_LAMPORTS : 0n;
3103
3221
  }, [balance, token]);
3104
3222
  const spendableBalanceUsd = _react.useMemo.call(void 0, () => {
@@ -3163,7 +3281,7 @@ function SolanaAmountStep({
3163
3281
  return null;
3164
3282
  }
3165
3283
  }, [numericAmount, isSourceStablecoin, hasPricing, tokenPriceUsd, token.decimals]);
3166
- const minDepositUsd = targetChain === _chunkMILJQWPTcjs.HYPERCORE_CHAIN_ID ? Math.max(_chunkMILJQWPTcjs.HYPERCORE_MIN_DEPOSIT_USD, _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _110 => _110.minDepositUsd]), () => ( 0))) : _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _111 => _111.minDepositUsd]), () => ( null));
3284
+ const minDepositUsd = targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID ? Math.max(_chunkABVRVW3Pcjs.HYPERCORE_MIN_DEPOSIT_USD, _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _110 => _110.minDepositUsd]), () => ( 0))) : _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _111 => _111.minDepositUsd]), () => ( null));
3167
3285
  const maxDepositUsd = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _112 => _112.maxDepositUsd]), () => ( null));
3168
3286
  const isBelowMin = minDepositUsd !== null && numericAmount > 0 && numericAmount < minDepositUsd;
3169
3287
  const isAboveMax = maxDepositUsd !== null && numericAmount > maxDepositUsd;
@@ -3174,7 +3292,7 @@ function SolanaAmountStep({
3174
3292
  const handlePresetClick = (percentage) => {
3175
3293
  const formatted = computePresetAmount(percentage);
3176
3294
  if (!formatted) return;
3177
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
3295
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
3178
3296
  percentage,
3179
3297
  symbol: token.symbol,
3180
3298
  formatted
@@ -3209,7 +3327,7 @@ function SolanaAmountStep({
3209
3327
  try {
3210
3328
  amountInUnits = _viem.parseUnits.call(void 0, sourceAmountStr, token.decimals);
3211
3329
  } catch (e27) {
3212
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
3330
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
3213
3331
  amount,
3214
3332
  sourceAmount: sourceAmountStr,
3215
3333
  reason: "parse-units-failed"
@@ -3218,13 +3336,13 @@ function SolanaAmountStep({
3218
3336
  return;
3219
3337
  }
3220
3338
  if (amountInUnits > spendableBalance) {
3221
- const isReserveIssue = _chunkMILJQWPTcjs.isNativeSol.call(void 0, token) && amountInUnits <= balance;
3339
+ const isReserveIssue = _chunkABVRVW3Pcjs.isNativeSol.call(void 0, token) && amountInUnits <= balance;
3222
3340
  setError(
3223
3341
  isReserveIssue ? "Use a bit less than your full SOL balance" : "Insufficient balance"
3224
3342
  );
3225
3343
  return;
3226
3344
  }
3227
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
3345
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
3228
3346
  symbol: token.symbol,
3229
3347
  inputAmountUsd: amount,
3230
3348
  sourceAmount: sourceAmountStr,
@@ -3235,10 +3353,10 @@ function SolanaAmountStep({
3235
3353
  };
3236
3354
  const continueLabel = exceedsBalance ? "Insufficient balance" : isAboveMax ? "Continue with max allowed deposit" : isBelowMin ? "Continue with minimum deposit" : "Continue";
3237
3355
  const continueDisabled = exceedsBalance || numericAmount === 0 && !isBelowMin;
3238
- const sourceTokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, token.symbol);
3356
+ const sourceTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, token.symbol);
3239
3357
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3240
3358
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3241
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, {}), title: "Wallet deposit" }),
3359
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}), title: "Wallet deposit" }),
3242
3360
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
3243
3361
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
3244
3362
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -3258,13 +3376,13 @@ function SolanaAmountStep({
3258
3376
  " available",
3259
3377
  computedBalanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3260
3378
  " (~",
3261
- _chunkMQIJZNTPcjs.currencyFormatter.format(computedBalanceUsd),
3379
+ _chunkOQVLEVNRcjs.currencyFormatter.format(computedBalanceUsd),
3262
3380
  ")"
3263
3381
  ] })
3264
3382
  ] }),
3265
3383
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
3266
3384
  "Min. deposit ",
3267
- _chunkMQIJZNTPcjs.currencyFormatter.format(minDepositUsd)
3385
+ _chunkOQVLEVNRcjs.currencyFormatter.format(minDepositUsd)
3268
3386
  ] })
3269
3387
  ] })
3270
3388
  ] }),
@@ -3303,13 +3421,13 @@ function SolanaAmountStep({
3303
3421
  ] }),
3304
3422
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
3305
3423
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
3306
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkMQIJZNTPcjs.currencyFormatter.format(balanceAfterUsd) })
3424
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkOQVLEVNRcjs.currencyFormatter.format(balanceAfterUsd) })
3307
3425
  ] })
3308
3426
  ] }),
3309
- targetChain === _chunkMILJQWPTcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
3310
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "error", children: error }),
3427
+ targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
3428
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: error }),
3311
3429
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3312
- _chunkMQIJZNTPcjs.Button,
3430
+ _chunkOQVLEVNRcjs.Button,
3313
3431
  {
3314
3432
  onClick: handleContinue,
3315
3433
  fullWidth: true,
@@ -3318,7 +3436,7 @@ function SolanaAmountStep({
3318
3436
  }
3319
3437
  )
3320
3438
  ] }),
3321
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
3439
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3322
3440
  ] });
3323
3441
  }
3324
3442
 
@@ -3454,38 +3572,32 @@ function SolanaConfirmStep({
3454
3572
  }) {
3455
3573
  const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
3456
3574
  const [error, setError] = _react.useState.call(void 0, null);
3457
- const targetSymbol = _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
3458
- const isSameToken = token.symbol.toUpperCase() === targetSymbol.toUpperCase();
3459
- const sourceChainName = _chunkMILJQWPTcjs.getChainName.call(void 0, "solana");
3460
- const targetChainName = _chunkMILJQWPTcjs.getChainName.call(void 0, targetChain);
3461
- const sourceChainIcon = _chunkMILJQWPTcjs.getChainIcon.call(void 0, "solana");
3462
- const targetChainIcon = _chunkMILJQWPTcjs.getChainIcon.call(void 0, targetChain);
3463
- const sourceTokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, token.symbol);
3464
- const targetTokenIcon = _chunkMILJQWPTcjs.getTokenIcon.call(void 0, targetSymbol);
3575
+ const targetSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
3576
+ const sourceChainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, "solana");
3577
+ const targetChainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, targetChain);
3578
+ const sourceChainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, "solana");
3579
+ const targetChainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, targetChain);
3580
+ const sourceTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, token.symbol);
3581
+ const targetTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, targetSymbol);
3465
3582
  const feeSponsored = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _115 => _115.feeSponsored]), () => ( false));
3466
3583
  const feeTooltip = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _116 => _116.feeTooltip]), () => ( (feeSponsored ? "Network fees are sponsored for this deposit." : "Network fees apply.")));
3467
- const formattedAmount = sourceAmount && !Number.isNaN(Number(sourceAmount)) ? Number(sourceAmount).toLocaleString("en-US", {
3468
- minimumFractionDigits: 2,
3469
- maximumFractionDigits: 6
3470
- }) : "0";
3471
- const formattedReceiveAmount = (() => {
3472
- if (isSameToken) return formattedAmount;
3473
- const dollarValue = Number(targetAmount);
3474
- if (!Number.isFinite(dollarValue) || dollarValue <= 0)
3475
- return formattedAmount;
3476
- if (targetTokenPriceUsd !== null && targetTokenPriceUsd > 0) {
3477
- const tokenAmount = dollarValue / targetTokenPriceUsd;
3478
- return tokenAmount.toLocaleString("en-US", {
3479
- minimumFractionDigits: 2,
3480
- maximumFractionDigits: 6
3481
- });
3482
- }
3483
- return formattedAmount;
3584
+ const formattedAmount = sourceAmount && Number.isFinite(Number(sourceAmount)) ? _nullishCoalesce(_chunkOQVLEVNRcjs.formatTokenAmount.call(void 0, Number(sourceAmount), token.symbol), () => ( "0")) : "0";
3585
+ const receiveDisplay = (() => {
3586
+ const usdValue = Number(targetAmount);
3587
+ const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
3588
+ const estimate = _chunkOQVLEVNRcjs.formatReceiveEstimate.call(void 0, {
3589
+ sourceAmount: Number.isFinite(Number(sourceAmount)) ? Number(sourceAmount) : void 0,
3590
+ sourceSymbol: token.symbol,
3591
+ targetSymbol,
3592
+ sourceAmountUsd,
3593
+ prices: targetTokenPriceUsd !== null && targetTokenPriceUsd > 0 ? { [targetSymbol.toUpperCase()]: targetTokenPriceUsd } : {}
3594
+ });
3595
+ if (estimate !== void 0) return estimate;
3596
+ return sourceAmountUsd !== void 0 ? `~$${sourceAmountUsd.toFixed(2)}` : `${formattedAmount} ${token.symbol}`;
3484
3597
  })();
3485
- const receiveAmount = isSameToken ? formattedReceiveAmount : `~${formattedReceiveAmount}`;
3486
3598
  const handleConfirm = async () => {
3487
3599
  if (!solanaProvider) {
3488
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
3600
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
3489
3601
  reason: "missing-provider"
3490
3602
  });
3491
3603
  setError("Solana wallet not connected");
@@ -3493,7 +3605,7 @@ function SolanaConfirmStep({
3493
3605
  }
3494
3606
  const parsedAmount = parseFloat(sourceAmount);
3495
3607
  if (isNaN(parsedAmount) || parsedAmount <= 0) {
3496
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
3608
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
3497
3609
  reason: "invalid-amount",
3498
3610
  sourceAmount
3499
3611
  });
@@ -3502,7 +3614,7 @@ function SolanaConfirmStep({
3502
3614
  }
3503
3615
  setError(null);
3504
3616
  setIsSubmitting(true);
3505
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
3617
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
3506
3618
  smartAccount,
3507
3619
  solanaAddress,
3508
3620
  solanaDepositAddress,
@@ -3512,7 +3624,7 @@ function SolanaConfirmStep({
3512
3624
  });
3513
3625
  try {
3514
3626
  const check = await service.checkAccount(smartAccount);
3515
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
3627
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
3516
3628
  smartAccount,
3517
3629
  isRegistered: check.isRegistered,
3518
3630
  targetChain: check.targetChain,
@@ -3525,12 +3637,12 @@ function SolanaConfirmStep({
3525
3637
  }
3526
3638
  const connection = hasConfiguredSolanaRpcUrl() ? getSolanaConnection() : _nullishCoalesce(solanaConnection, () => ( getSolanaConnection()));
3527
3639
  const amountUnits = _viem.parseUnits.call(void 0, sourceAmount, token.decimals);
3528
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
3640
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
3529
3641
  token: token.symbol,
3530
3642
  sourceAmount,
3531
3643
  amountUnits: amountUnits.toString()
3532
3644
  });
3533
- const transaction = _chunkMILJQWPTcjs.isNativeSol.call(void 0, token) ? await buildSolTransferTransaction(
3645
+ const transaction = _chunkABVRVW3Pcjs.isNativeSol.call(void 0, token) ? await buildSolTransferTransaction(
3534
3646
  connection,
3535
3647
  solanaAddress,
3536
3648
  solanaDepositAddress,
@@ -3542,7 +3654,7 @@ function SolanaConfirmStep({
3542
3654
  token.mint,
3543
3655
  amountUnits
3544
3656
  );
3545
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
3657
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
3546
3658
  token: token.symbol,
3547
3659
  instructionCount: transaction.instructions.length,
3548
3660
  feePayer: _optionalChain([transaction, 'access', _117 => _117.feePayer, 'optionalAccess', _118 => _118.toBase58, 'call', _119 => _119()]),
@@ -3553,15 +3665,15 @@ function SolanaConfirmStep({
3553
3665
  connection,
3554
3666
  transaction
3555
3667
  );
3556
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
3668
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
3557
3669
  txHash,
3558
3670
  amountUnits: amountUnits.toString()
3559
3671
  });
3560
3672
  onConfirm(txHash, amountUnits.toString());
3561
3673
  } catch (err) {
3562
3674
  const raw = err instanceof Error ? err.message : "Transfer failed";
3563
- const message = _chunkMQIJZNTPcjs.formatUserError.call(void 0, raw);
3564
- _chunkMQIJZNTPcjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
3675
+ const message = _chunkOQVLEVNRcjs.formatUserError.call(void 0, raw);
3676
+ _chunkOQVLEVNRcjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
3565
3677
  smartAccount,
3566
3678
  token: token.symbol,
3567
3679
  sourceAmount
@@ -3574,7 +3686,7 @@ function SolanaConfirmStep({
3574
3686
  };
3575
3687
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3576
3688
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3577
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, {}), title: "Review deposit" }),
3689
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}), title: "Review deposit" }),
3578
3690
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-details", children: [
3579
3691
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
3580
3692
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
@@ -3608,11 +3720,7 @@ function SolanaConfirmStep({
3608
3720
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
3609
3721
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Receive" }),
3610
3722
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
3611
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { children: [
3612
- receiveAmount,
3613
- " ",
3614
- targetSymbol
3615
- ] }),
3723
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
3616
3724
  targetTokenIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: targetTokenIcon, alt: "" }) })
3617
3725
  ] })
3618
3726
  ] }),
@@ -3626,13 +3734,13 @@ function SolanaConfirmStep({
3626
3734
  children: "$0.04"
3627
3735
  }
3628
3736
  ),
3629
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.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, _chunkMQIJZNTPcjs.InfoIcon, {}) }) })
3737
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.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, _chunkOQVLEVNRcjs.InfoIcon, {}) }) })
3630
3738
  ] })
3631
3739
  ] })
3632
3740
  ] }),
3633
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "error", children: error }),
3741
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: error }),
3634
3742
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3635
- _chunkMQIJZNTPcjs.Button,
3743
+ _chunkOQVLEVNRcjs.Button,
3636
3744
  {
3637
3745
  onClick: handleConfirm,
3638
3746
  loading: isSubmitting,
@@ -3643,7 +3751,7 @@ function SolanaConfirmStep({
3643
3751
  }
3644
3752
  )
3645
3753
  ] }),
3646
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
3754
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3647
3755
  ] });
3648
3756
  }
3649
3757
 
@@ -3657,21 +3765,21 @@ function DappImportAssetSelectStep({
3657
3765
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3658
3766
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3659
3767
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3660
- _chunkMQIJZNTPcjs.BodyHeader,
3768
+ _chunkOQVLEVNRcjs.BodyHeader,
3661
3769
  {
3662
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, {}),
3770
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
3663
3771
  title: `Transfer from ${sourceLabel}`,
3664
3772
  subtitle: "Pick the balance to import"
3665
3773
  }
3666
3774
  ),
3667
3775
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-list", children: assets.map((asset) => {
3668
- const tokenAmount = asset.balance ? _chunkMQIJZNTPcjs.tokenFormatter.format(
3776
+ const tokenAmount = asset.balance ? _chunkOQVLEVNRcjs.tokenFormatter.format(
3669
3777
  Number(asset.balance) / 10 ** asset.decimals
3670
3778
  ) : "0";
3671
- const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunkMQIJZNTPcjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
3672
- const tokenIcon = _nullishCoalesce(asset.icon, () => ( _chunkMILJQWPTcjs.getTokenIcon.call(void 0, asset.symbol)));
3673
- const chainIcon = _chunkMILJQWPTcjs.getChainIcon.call(void 0, asset.chainId);
3674
- const badge = _chunkMILJQWPTcjs.getChainBadge.call(void 0, asset.chainId);
3779
+ const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunkOQVLEVNRcjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
3780
+ const tokenIcon = _nullishCoalesce(asset.icon, () => ( _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, asset.symbol)));
3781
+ const chainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, asset.chainId);
3782
+ const badge = _chunkABVRVW3Pcjs.getChainBadge.call(void 0, asset.chainId);
3675
3783
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3676
3784
  "button",
3677
3785
  {
@@ -3686,7 +3794,7 @@ function DappImportAssetSelectStep({
3686
3794
  "img",
3687
3795
  {
3688
3796
  src: chainIcon,
3689
- alt: _chunkMILJQWPTcjs.getChainName.call(void 0, asset.chainId)
3797
+ alt: _chunkABVRVW3Pcjs.getChainName.call(void 0, asset.chainId)
3690
3798
  }
3691
3799
  ) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3692
3800
  "span",
@@ -3719,7 +3827,7 @@ function DappImportAssetSelectStep({
3719
3827
  );
3720
3828
  }) })
3721
3829
  ] }),
3722
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
3830
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3723
3831
  ] });
3724
3832
  }
3725
3833
  DappImportAssetSelectStep.displayName = "DappImportAssetSelectStep";
@@ -3736,9 +3844,9 @@ function DappImportAssetSelectSkeleton({
3736
3844
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: error ? "Couldn't load balances" : "Loading balances\u2026" }),
3737
3845
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3738
3846
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3739
- _chunkMQIJZNTPcjs.BodyHeader,
3847
+ _chunkOQVLEVNRcjs.BodyHeader,
3740
3848
  {
3741
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.WalletIcon, {}),
3849
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
3742
3850
  title: `Transfer from ${sourceLabel}`,
3743
3851
  subtitle: "Pick the balance to import"
3744
3852
  }
@@ -3776,7 +3884,7 @@ function DappImportAssetSelectSkeleton({
3776
3884
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Try again" })
3777
3885
  }
3778
3886
  ) }),
3779
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
3887
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3780
3888
  ] });
3781
3889
  }
3782
3890
  DappImportAssetSelectSkeleton.displayName = "DappImportAssetSelectSkeleton";
@@ -3833,7 +3941,7 @@ async function detectPolymarketWalletKind(params) {
3833
3941
  contracts: [
3834
3942
  {
3835
3943
  address: proxyWallet,
3836
- abi: _chunkAJHFNHG3cjs.SAFE_ABI,
3944
+ abi: _chunkUEKPBRBYcjs.SAFE_ABI,
3837
3945
  functionName: "isOwner",
3838
3946
  args: [eoa]
3839
3947
  },
@@ -3866,7 +3974,7 @@ async function buildSignedDepositWalletBatch(params) {
3866
3974
  if (!account || !chain) {
3867
3975
  throw new Error("Wallet not connected");
3868
3976
  }
3869
- if (chain.id !== _chunkR5CPOBCFcjs.POLYMARKET_POLYGON_CHAIN_ID) {
3977
+ if (chain.id !== _chunkNRNJAQUAcjs.POLYMARKET_POLYGON_CHAIN_ID) {
3870
3978
  throw new Error("Switch to Polygon to sign");
3871
3979
  }
3872
3980
  const owner = await publicClient.readContract({
@@ -3911,14 +4019,14 @@ async function buildSignedDepositWalletBatch(params) {
3911
4019
  })),
3912
4020
  signature
3913
4021
  },
3914
- sourceToken: _chunkR5CPOBCFcjs.POLYMARKET_USDCE_ADDRESS,
4022
+ sourceToken: _chunkNRNJAQUAcjs.POLYMARKET_USDCE_ADDRESS,
3915
4023
  sourceSymbol: tokenKind === "pusd" ? "pUSD" : "USDC.e"
3916
4024
  };
3917
4025
  }
3918
4026
  function buildUsdceTransferCalls(recipient, amount) {
3919
4027
  return [
3920
4028
  {
3921
- target: _chunkR5CPOBCFcjs.POLYMARKET_USDCE_ADDRESS,
4029
+ target: _chunkNRNJAQUAcjs.POLYMARKET_USDCE_ADDRESS,
3922
4030
  value: 0n,
3923
4031
  data: _viem.encodeFunctionData.call(void 0, {
3924
4032
  abi: _viem.erc20Abi,
@@ -3931,21 +4039,21 @@ function buildUsdceTransferCalls(recipient, amount) {
3931
4039
  function buildPusdUnwrapCalls(recipient, amount) {
3932
4040
  return [
3933
4041
  {
3934
- target: _chunkR5CPOBCFcjs.POLYMARKET_PUSD_ADDRESS,
4042
+ target: _chunkNRNJAQUAcjs.POLYMARKET_PUSD_ADDRESS,
3935
4043
  value: 0n,
3936
4044
  data: _viem.encodeFunctionData.call(void 0, {
3937
4045
  abi: _viem.erc20Abi,
3938
4046
  functionName: "approve",
3939
- args: [_chunkR5CPOBCFcjs.POLYMARKET_COLLATERAL_OFFRAMP_ADDRESS, amount]
4047
+ args: [_chunkNRNJAQUAcjs.POLYMARKET_COLLATERAL_OFFRAMP_ADDRESS, amount]
3940
4048
  })
3941
4049
  },
3942
4050
  {
3943
- target: _chunkR5CPOBCFcjs.POLYMARKET_COLLATERAL_OFFRAMP_ADDRESS,
4051
+ target: _chunkNRNJAQUAcjs.POLYMARKET_COLLATERAL_OFFRAMP_ADDRESS,
3944
4052
  value: 0n,
3945
4053
  data: _viem.encodeFunctionData.call(void 0, {
3946
4054
  abi: COLLATERAL_OFFRAMP_ABI,
3947
4055
  functionName: "unwrap",
3948
- args: [_chunkR5CPOBCFcjs.POLYMARKET_USDCE_ADDRESS, recipient, amount]
4056
+ args: [_chunkNRNJAQUAcjs.POLYMARKET_USDCE_ADDRESS, recipient, amount]
3949
4057
  })
3950
4058
  }
3951
4059
  ];
@@ -3958,18 +4066,18 @@ var polymarketProvider = {
3958
4066
  label: "Transfer from Polymarket",
3959
4067
  sourceLabel: "Polymarket",
3960
4068
  icon: _react.createElement.call(void 0, "img", {
3961
- src: _chunkR5CPOBCFcjs.POLYMARKET_ICON_URL,
4069
+ src: _chunkNRNJAQUAcjs.POLYMARKET_ICON_URL,
3962
4070
  alt: "Polymarket",
3963
4071
  style: { width: 24, height: 24, borderRadius: 6 }
3964
4072
  }),
3965
- chainId: _chunkR5CPOBCFcjs.POLYMARKET_POLYGON_CHAIN_ID,
4073
+ chainId: _chunkNRNJAQUAcjs.POLYMARKET_POLYGON_CHAIN_ID,
3966
4074
  async fetchAvailability({ eoa, getPublicClient: getPublicClient2, signal }) {
3967
- const proxyWallet = await _chunkR5CPOBCFcjs.fetchPolymarketProxyWallet.call(void 0, eoa, signal);
4075
+ const proxyWallet = await _chunkNRNJAQUAcjs.fetchPolymarketProxyWallet.call(void 0, eoa, signal);
3968
4076
  if (!proxyWallet) return null;
3969
4077
  if (_optionalChain([signal, 'optionalAccess', _121 => _121.aborted])) return null;
3970
- const polygonClient = getPublicClient2(_chunkR5CPOBCFcjs.POLYMARKET_POLYGON_CHAIN_ID);
4078
+ const polygonClient = getPublicClient2(_chunkNRNJAQUAcjs.POLYMARKET_POLYGON_CHAIN_ID);
3971
4079
  if (!polygonClient) return null;
3972
- const balances = await _chunkR5CPOBCFcjs.readPolymarketBalances.call(void 0, {
4080
+ const balances = await _chunkNRNJAQUAcjs.readPolymarketBalances.call(void 0, {
3973
4081
  publicClient: polygonClient,
3974
4082
  proxyWallet
3975
4083
  });
@@ -4027,7 +4135,7 @@ var polymarketProvider = {
4027
4135
  const { txHash } = await backend.submitPolymarketWithdraw(payload);
4028
4136
  return { txHash, sourceToken, sourceSymbol, sourceDecimals: 6 };
4029
4137
  }
4030
- const result = await _chunkR5CPOBCFcjs.executePolymarketSafeTransfer.call(void 0, {
4138
+ const result = await _chunkNRNJAQUAcjs.executePolymarketSafeTransfer.call(void 0, {
4031
4139
  walletClient,
4032
4140
  publicClient,
4033
4141
  safeAddress: metadata.proxyWallet,
@@ -4046,17 +4154,17 @@ var polymarketProvider = {
4046
4154
  function buildAsset(params) {
4047
4155
  const { tokenKind, proxyWallet, walletKind, balance } = params;
4048
4156
  const isPusd = tokenKind === "pusd";
4049
- const tokenAddress = isPusd ? _chunkR5CPOBCFcjs.POLYMARKET_PUSD_ADDRESS : _chunkR5CPOBCFcjs.POLYMARKET_USDCE_ADDRESS;
4157
+ const tokenAddress = isPusd ? _chunkNRNJAQUAcjs.POLYMARKET_PUSD_ADDRESS : _chunkNRNJAQUAcjs.POLYMARKET_USDCE_ADDRESS;
4050
4158
  const symbol = isPusd ? "pUSD" : "USDC.e";
4051
4159
  const balanceUsd = Number(_viem.formatUnits.call(void 0, balance, 6));
4052
4160
  const metadata = { proxyWallet, tokenKind, walletKind };
4053
4161
  return {
4054
4162
  id: `polymarket:${tokenKind}`,
4055
- chainId: _chunkR5CPOBCFcjs.POLYMARKET_POLYGON_CHAIN_ID,
4163
+ chainId: _chunkNRNJAQUAcjs.POLYMARKET_POLYGON_CHAIN_ID,
4056
4164
  token: tokenAddress,
4057
4165
  symbol,
4058
4166
  name: isPusd ? "Polymarket USD" : "Polygon USDC.e",
4059
- icon: isPusd ? _chunkR5CPOBCFcjs.POLYMARKET_ICON_URL : void 0,
4167
+ icon: isPusd ? _chunkNRNJAQUAcjs.POLYMARKET_ICON_URL : void 0,
4060
4168
  decimals: 6,
4061
4169
  balance: balance.toString(),
4062
4170
  balanceUsd: Number.isFinite(balanceUsd) ? balanceUsd : 0,
@@ -4066,8 +4174,8 @@ function buildAsset(params) {
4066
4174
  // pUSD unwraps to USDC.e via the offramp; USDC.e is what actually
4067
4175
  // arrives at the smart account, so it's also what the orchestrator
4068
4176
  // bridges from.
4069
- depositToken: _chunkR5CPOBCFcjs.POLYMARKET_USDCE_ADDRESS,
4070
- depositChainId: _chunkR5CPOBCFcjs.POLYMARKET_POLYGON_CHAIN_ID,
4177
+ depositToken: _chunkNRNJAQUAcjs.POLYMARKET_USDCE_ADDRESS,
4178
+ depositChainId: _chunkNRNJAQUAcjs.POLYMARKET_POLYGON_CHAIN_ID,
4071
4179
  providerMetadata: metadata
4072
4180
  };
4073
4181
  }
@@ -4902,15 +5010,15 @@ var SetupError = class extends Error {
4902
5010
  }
4903
5011
  };
4904
5012
  async function resolveSessionOwner(eoaAddress) {
4905
- const local = _chunkMQIJZNTPcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
5013
+ const local = _chunkOQVLEVNRcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
4906
5014
  if (local) {
4907
5015
  return {
4908
- account: _chunkMQIJZNTPcjs.accountFromPrivateKey.call(void 0, local.privateKey),
5016
+ account: _chunkOQVLEVNRcjs.accountFromPrivateKey.call(void 0, local.privateKey),
4909
5017
  address: local.address
4910
5018
  };
4911
5019
  }
4912
- const created = _chunkMQIJZNTPcjs.createSessionOwnerKey.call(void 0, );
4913
- _chunkMQIJZNTPcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
5020
+ const created = _chunkOQVLEVNRcjs.createSessionOwnerKey.call(void 0, );
5021
+ _chunkOQVLEVNRcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
4914
5022
  return { account: created.account, address: created.address };
4915
5023
  }
4916
5024
  function stableStringify(value) {
@@ -4978,7 +5086,7 @@ async function runAccountSetup(input, deps) {
4978
5086
  try {
4979
5087
  const sessionOwner = await resolveSessionOwner(input.ownerAddress);
4980
5088
  const cacheKey = computeCacheKey(input, sessionOwner.address);
4981
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "account-setup", "setup:start", {
5089
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "account-setup", "setup:start", {
4982
5090
  owner: input.ownerAddress,
4983
5091
  sessionOwner: sessionOwner.address,
4984
5092
  hasPostBridgeActions: Boolean(_optionalChain([input, 'access', _133 => _133.postBridgeActions, 'optionalAccess', _134 => _134.length])),
@@ -4987,7 +5095,7 @@ async function runAccountSetup(input, deps) {
4987
5095
  const setup = await service.setupAccount({
4988
5096
  ownerAddress: input.ownerAddress,
4989
5097
  sessionOwnerAddress: sessionOwner.address,
4990
- targetChain: _chunkMILJQWPTcjs.targetChainToCaip2.call(void 0, input.targetChain),
5098
+ targetChain: _chunkABVRVW3Pcjs.targetChainToCaip2.call(void 0, input.targetChain),
4991
5099
  targetToken: input.targetToken,
4992
5100
  recipient: input.recipient,
4993
5101
  postBridgeActions: input.postBridgeActions,
@@ -5026,7 +5134,7 @@ async function runAccountSetup(input, deps) {
5026
5134
  primaryType: typedData.primaryType,
5027
5135
  message: typedData.message
5028
5136
  });
5029
- const sessionDetails = _chunkMQIJZNTPcjs.buildSessionDetails.call(void 0,
5137
+ const sessionDetails = _chunkOQVLEVNRcjs.buildSessionDetails.call(void 0,
5030
5138
  setup.sessionDetailsUnsigned,
5031
5139
  signature
5032
5140
  );
@@ -5040,7 +5148,7 @@ async function runAccountSetup(input, deps) {
5040
5148
  eoaAddress: input.ownerAddress,
5041
5149
  sessionOwner: sessionOwner.address,
5042
5150
  target: {
5043
- chain: _chunkMILJQWPTcjs.targetChainToCaip2.call(void 0, input.targetChain),
5151
+ chain: _chunkABVRVW3Pcjs.targetChainToCaip2.call(void 0, input.targetChain),
5044
5152
  token: input.targetToken,
5045
5153
  ...input.recipient && { recipient: input.recipient },
5046
5154
  ..._optionalChain([input, 'access', _135 => _135.postBridgeActions, 'optionalAccess', _136 => _136.length]) && {
@@ -5062,7 +5170,7 @@ async function runAccountSetup(input, deps) {
5062
5170
  isRegistered: true
5063
5171
  };
5064
5172
  } catch (error) {
5065
- _chunkMQIJZNTPcjs.debugError.call(void 0, debug, "account-setup", "setup:failed", error, {
5173
+ _chunkOQVLEVNRcjs.debugError.call(void 0, debug, "account-setup", "setup:failed", error, {
5066
5174
  owner: input.ownerAddress
5067
5175
  });
5068
5176
  if (error instanceof SetupError) throw error;
@@ -5073,7 +5181,7 @@ function runAccountSetupDeduped(input, deps, requestKey) {
5073
5181
  const now = Date.now();
5074
5182
  const existing = setupRequestDedupe.get(requestKey);
5075
5183
  if (existing && (!existing.settled || existing.expiresAt > now)) {
5076
- _chunkMQIJZNTPcjs.debugLog.call(void 0, deps.debug, "account-setup", "setup:dedupe-hit", {
5184
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, deps.debug, "account-setup", "setup:dedupe-hit", {
5077
5185
  owner: input.ownerAddress,
5078
5186
  forceRegister: _nullishCoalesce(input.forceRegister, () => ( false))
5079
5187
  });
@@ -5165,6 +5273,26 @@ function isSameRoute2(sourceChain, sourceToken, targetChain, targetToken) {
5165
5273
  var SWAPPED_SOURCE_CHAIN = 8453;
5166
5274
  var SWAPPED_SOURCE_TOKEN = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
5167
5275
  var SWAPPED_SOURCE_DECIMALS = 6;
5276
+ var DEFAULT_FIAT_ONRAMP_METHODS = [
5277
+ {
5278
+ method: "creditcard",
5279
+ label: "Debit/Credit card",
5280
+ sublabel: "Instant - $10,000 limit",
5281
+ icon: "card"
5282
+ },
5283
+ {
5284
+ method: "bank-transfer",
5285
+ label: "Bank transfer",
5286
+ sublabel: "Instant - $10,000 limit",
5287
+ icon: "bank"
5288
+ },
5289
+ {
5290
+ method: "apple-pay",
5291
+ label: "Apple pay",
5292
+ sublabel: "Instant - $10,000 limit",
5293
+ icon: "apple"
5294
+ }
5295
+ ];
5168
5296
  function getAddressKey(address) {
5169
5297
  return address ? address.toLowerCase() : null;
5170
5298
  }
@@ -5318,7 +5446,7 @@ function DepositFlow({
5318
5446
  postBridgeActions,
5319
5447
  outputTokenRules,
5320
5448
  rejectUnmapped,
5321
- signerAddress = _chunkMILJQWPTcjs.DEFAULT_SIGNER_ADDRESS,
5449
+ signerAddress = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS,
5322
5450
  sessionChainIds,
5323
5451
  forceRegister = false,
5324
5452
  enableSolana = true,
@@ -5341,10 +5469,10 @@ function DepositFlow({
5341
5469
  onError,
5342
5470
  debug
5343
5471
  }) {
5344
- const onStepChangeRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onStepChange);
5345
- const onEventRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onEvent);
5346
- const onLifecycleRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onLifecycle);
5347
- const onErrorRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onError);
5472
+ const onStepChangeRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onStepChange);
5473
+ const onEventRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onEvent);
5474
+ const onLifecycleRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onLifecycle);
5475
+ const onErrorRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onError);
5348
5476
  const hasInitialReownSession = Boolean(
5349
5477
  enableSolana ? _optionalChain([reownWallet, 'optionalAccess', _139 => _139.isConnected]) || _optionalChain([reownWallet, 'optionalAccess', _140 => _140.address]) : _optionalChain([reownWallet, 'optionalAccess', _141 => _141.address])
5350
5478
  );
@@ -5369,13 +5497,13 @@ function DepositFlow({
5369
5497
  const stableWalletSelectionKeyRef = _react.useRef.call(void 0, null);
5370
5498
  const logFlow = _react.useCallback.call(void 0,
5371
5499
  (message, data) => {
5372
- _chunkMQIJZNTPcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
5500
+ _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
5373
5501
  },
5374
5502
  [debug]
5375
5503
  );
5376
5504
  const logFlowError = _react.useCallback.call(void 0,
5377
5505
  (message, error, data) => {
5378
- _chunkMQIJZNTPcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
5506
+ _chunkOQVLEVNRcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
5379
5507
  },
5380
5508
  [debug]
5381
5509
  );
@@ -5493,9 +5621,9 @@ function DepositFlow({
5493
5621
  isConnectSelectionConfirmed,
5494
5622
  selectedWalletId
5495
5623
  ]);
5496
- const setupChainId = typeof targetChain === "number" && !_chunkMILJQWPTcjs.isVirtualDestination.call(void 0, targetChain) ? targetChain : typeof defaultSourceChain === "number" ? defaultSourceChain : _chains.base.id;
5497
- const targetSymbol = _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
5498
- const isTargetStablecoin = _chunkMILJQWPTcjs.isStablecoinSymbol.call(void 0, targetSymbol);
5624
+ const setupChainId = typeof targetChain === "number" && !_chunkABVRVW3Pcjs.isVirtualDestination.call(void 0, targetChain) ? targetChain : typeof defaultSourceChain === "number" ? defaultSourceChain : _chains.base.id;
5625
+ const targetSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
5626
+ const isTargetStablecoin = _chunkABVRVW3Pcjs.isStablecoinSymbol.call(void 0, targetSymbol);
5499
5627
  const targetMarketPriceRef = _react.useRef.call(void 0, null);
5500
5628
  _react.useEffect.call(void 0, () => {
5501
5629
  targetMarketPriceRef.current = null;
@@ -5521,7 +5649,7 @@ function DepositFlow({
5521
5649
  return {
5522
5650
  ownerAddress: dappAddress,
5523
5651
  walletClient: void 0,
5524
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkMQIJZNTPcjs.getPublicClient.call(void 0, setupChainId))),
5652
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5525
5653
  switchChain: void 0
5526
5654
  };
5527
5655
  }
@@ -5530,7 +5658,7 @@ function DepositFlow({
5530
5658
  return {
5531
5659
  ownerAddress: dappWalletClient.account.address,
5532
5660
  walletClient: dappWalletClient,
5533
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkMQIJZNTPcjs.getPublicClient.call(void 0, fallbackChainId))),
5661
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, fallbackChainId))),
5534
5662
  switchChain: dappSwitchChain
5535
5663
  };
5536
5664
  }
@@ -5544,7 +5672,7 @@ function DepositFlow({
5544
5672
  return {
5545
5673
  ownerAddress: dappAddress,
5546
5674
  walletClient: void 0,
5547
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkMQIJZNTPcjs.getPublicClient.call(void 0, setupChainId))),
5675
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5548
5676
  switchChain: void 0
5549
5677
  };
5550
5678
  }
@@ -5553,7 +5681,7 @@ function DepositFlow({
5553
5681
  return {
5554
5682
  ownerAddress: dappWalletClient.account.address,
5555
5683
  walletClient: dappWalletClient,
5556
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkMQIJZNTPcjs.getPublicClient.call(void 0, fallbackChainId))),
5684
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, fallbackChainId))),
5557
5685
  switchChain: dappSwitchChain
5558
5686
  };
5559
5687
  }
@@ -5561,7 +5689,7 @@ function DepositFlow({
5561
5689
  return {
5562
5690
  ownerAddress: reownWallet.address,
5563
5691
  walletClient: reownWallet.walletClient,
5564
- publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkMQIJZNTPcjs.getPublicClient.call(void 0, setupChainId))),
5692
+ publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5565
5693
  switchChain: reownWallet.switchChain
5566
5694
  };
5567
5695
  }
@@ -5599,7 +5727,7 @@ function DepositFlow({
5599
5727
  return {
5600
5728
  ownerAddress: dappAddress,
5601
5729
  walletClient: void 0,
5602
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkMQIJZNTPcjs.getPublicClient.call(void 0, setupChainId))),
5730
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5603
5731
  switchChain: void 0
5604
5732
  };
5605
5733
  }
@@ -5795,8 +5923,8 @@ function DepositFlow({
5795
5923
  pred_balance: totalBalanceUsd
5796
5924
  })]);
5797
5925
  } else if (effectiveStep.type === "deposit-address") {
5798
- const chainName = _chunkMILJQWPTcjs.getChainName.call(void 0, targetChain);
5799
- const tokenSymbol = _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
5926
+ const chainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, targetChain);
5927
+ const tokenSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
5800
5928
  _optionalChain([onEventRef, 'access', _185 => _185.current, 'optionalCall', _186 => _186({
5801
5929
  type: "deposit_modal_transfer_crypto_open",
5802
5930
  default_chain: chainName,
@@ -5804,7 +5932,7 @@ function DepositFlow({
5804
5932
  pred_balance: totalBalanceUsd
5805
5933
  })]);
5806
5934
  } else if (effectiveStep.type === "amount" && stepSendToken) {
5807
- const receiveSymbol = _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
5935
+ const receiveSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
5808
5936
  _optionalChain([onEventRef, 'access', _187 => _187.current, 'optionalCall', _188 => _188({
5809
5937
  type: "deposit_modal_connected_wallet_enter_value_open",
5810
5938
  send_token: stepSendToken,
@@ -5922,7 +6050,7 @@ function DepositFlow({
5922
6050
  eoa: dappImportOwner,
5923
6051
  getPublicClient: (chainId) => {
5924
6052
  try {
5925
- return _chunkMQIJZNTPcjs.getPublicClient.call(void 0, chainId);
6053
+ return _chunkOQVLEVNRcjs.getPublicClient.call(void 0, chainId);
5926
6054
  } catch (e29) {
5927
6055
  return null;
5928
6056
  }
@@ -6190,7 +6318,7 @@ function DepositFlow({
6190
6318
  try {
6191
6319
  sessionOwner = await resolveSessionOwner(owner);
6192
6320
  } catch (error) {
6193
- _chunkMQIJZNTPcjs.debugError.call(void 0,
6321
+ _chunkOQVLEVNRcjs.debugError.call(void 0,
6194
6322
  debug,
6195
6323
  "deposit-flow",
6196
6324
  "session-owner:resolve-failed",
@@ -6300,8 +6428,8 @@ function DepositFlow({
6300
6428
  );
6301
6429
  const handleSolanaAmountContinue = _react.useCallback.call(void 0,
6302
6430
  (token, sourceAmount, inputAmountUsd) => {
6303
- const targetSym = _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
6304
- const isTargetStable = _chunkMILJQWPTcjs.isStablecoinSymbol.call(void 0, targetSym);
6431
+ const targetSym = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
6432
+ const isTargetStable = _chunkABVRVW3Pcjs.isStablecoinSymbol.call(void 0, targetSym);
6305
6433
  const targetTokenPriceUsd = isTargetStable ? 1 : _nullishCoalesce(getTokenPriceUsd(targetSym), () => ( targetMarketPriceRef.current));
6306
6434
  logFlow("solana:amount:continue", {
6307
6435
  token: token.symbol,
@@ -6377,8 +6505,8 @@ function DepositFlow({
6377
6505
  activeOwner
6378
6506
  );
6379
6507
  if (entry.status !== "ready") return;
6380
- const targetSym = _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
6381
- const isTargetStable = _chunkMILJQWPTcjs.isStablecoinSymbol.call(void 0, targetSym);
6508
+ const targetSym = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
6509
+ const isTargetStable = _chunkABVRVW3Pcjs.isStablecoinSymbol.call(void 0, targetSym);
6382
6510
  const targetTokenPriceUsd = isTargetStable ? 1 : _nullishCoalesce(getTokenPriceUsd(targetSym), () => ( targetMarketPriceRef.current));
6383
6511
  storeApi.dispatch({
6384
6512
  type: "amount/entered",
@@ -6569,7 +6697,7 @@ function DepositFlow({
6569
6697
  );
6570
6698
  if (showConnectStep) {
6571
6699
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6572
- _chunkMQIJZNTPcjs.ConnectStep,
6700
+ _chunkOQVLEVNRcjs.ConnectStep,
6573
6701
  {
6574
6702
  walletRows,
6575
6703
  transferCryptoState: dappAddress ? transferCryptoState : void 0,
@@ -6581,8 +6709,7 @@ function DepositFlow({
6581
6709
  }
6582
6710
  handleSelectTransferCrypto();
6583
6711
  } : void 0,
6584
- onSelectPayWithCard: enableFiatOnramp && dappAddress && (!fiatOnrampMethods || fiatOnrampMethods.length === 0) ? () => handleSelectFiatMethod() : void 0,
6585
- fiatPaymentMethods: enableFiatOnramp && dappAddress ? fiatOnrampMethods : void 0,
6712
+ fiatPaymentMethods: enableFiatOnramp && dappAddress ? fiatOnrampMethods && fiatOnrampMethods.length > 0 ? fiatOnrampMethods : DEFAULT_FIAT_ONRAMP_METHODS : void 0,
6586
6713
  onSelectFiatMethod: enableFiatOnramp && dappAddress ? (method) => handleSelectFiatMethod(method) : void 0,
6587
6714
  onSelectFundFromExchange: enableExchangeConnect && dappAddress ? () => handleSelectExchange() : void 0,
6588
6715
  onRequestConnect,
@@ -6654,8 +6781,8 @@ function DepositFlow({
6654
6781
  onDepositComplete: handleDepositComplete,
6655
6782
  onDepositFailed: handleDepositFailed,
6656
6783
  onCopyAddress: () => {
6657
- const chainName = _chunkMILJQWPTcjs.getChainName.call(void 0, targetChain);
6658
- const tokenSymbol = _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
6784
+ const chainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, targetChain);
6785
+ const tokenSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
6659
6786
  _optionalChain([onEvent, 'optionalCall', _231 => _231({
6660
6787
  type: "deposit_modal_transfer_crypto_cta_click",
6661
6788
  default_chain: chainName,
@@ -6700,7 +6827,7 @@ function DepositFlow({
6700
6827
  }
6701
6828
  ),
6702
6829
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6703
- _chunkMQIJZNTPcjs.ProcessingStep,
6830
+ _chunkOQVLEVNRcjs.ProcessingStep,
6704
6831
  {
6705
6832
  smartAccount: step.smartAccount,
6706
6833
  solanaDepositAddress: step.solanaDepositAddress,
@@ -6767,7 +6894,7 @@ function DepositFlow({
6767
6894
  }
6768
6895
  ),
6769
6896
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6770
- _chunkMQIJZNTPcjs.ProcessingStep,
6897
+ _chunkOQVLEVNRcjs.ProcessingStep,
6771
6898
  {
6772
6899
  smartAccount: step.smartAccount,
6773
6900
  solanaDepositAddress: step.solanaDepositAddress,
@@ -6831,10 +6958,10 @@ function DepositFlow({
6831
6958
  defaultAmount: effectiveStep.inputAmountUsd,
6832
6959
  uiConfig,
6833
6960
  targetChain,
6834
- targetChainName: _chunkMILJQWPTcjs.getChainName.call(void 0, targetChain),
6835
- targetTokenSymbol: _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain),
6836
- targetTokenIcon: _chunkMILJQWPTcjs.getTokenIcon.call(void 0,
6837
- _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain)
6961
+ targetChainName: _chunkABVRVW3Pcjs.getChainName.call(void 0, targetChain),
6962
+ targetTokenSymbol: _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain),
6963
+ targetTokenIcon: _chunkABVRVW3Pcjs.getTokenIcon.call(void 0,
6964
+ _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain)
6838
6965
  ),
6839
6966
  appBalanceUsd,
6840
6967
  onContinue: handleSolanaAmountContinue,
@@ -6897,7 +7024,7 @@ function DepositFlow({
6897
7024
  ) })
6898
7025
  ] }) : null,
6899
7026
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6900
- _chunkMQIJZNTPcjs.ProcessingStep,
7027
+ _chunkOQVLEVNRcjs.ProcessingStep,
6901
7028
  {
6902
7029
  smartAccount: effectiveStep.smartAccount,
6903
7030
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -6950,7 +7077,7 @@ function DepositFlow({
6950
7077
  if (_optionalChain([signerContext, 'access', _247 => _247.publicClient, 'access', _248 => _248.chain, 'optionalAccess', _249 => _249.id]) === chainId) {
6951
7078
  return signerContext.publicClient;
6952
7079
  }
6953
- return _chunkMQIJZNTPcjs.getPublicClient.call(void 0, chainId);
7080
+ return _chunkOQVLEVNRcjs.getPublicClient.call(void 0, chainId);
6954
7081
  };
6955
7082
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
6956
7083
  effectiveStep.type === "setup" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7007,7 +7134,7 @@ function DepositFlow({
7007
7134
  service,
7008
7135
  onContinue: handleAmountContinue,
7009
7136
  onCtaClick: (ctaName) => {
7010
- const receiveSymbol = _chunkMILJQWPTcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
7137
+ const receiveSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
7011
7138
  _optionalChain([onEvent, 'optionalCall', _253 => _253({
7012
7139
  type: "deposit_modal_connected_wallet_enter_value_cta_click",
7013
7140
  send_token: effectiveStep.asset.symbol,
@@ -7060,7 +7187,7 @@ function DepositFlow({
7060
7187
  }
7061
7188
  ),
7062
7189
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7063
- _chunkMQIJZNTPcjs.ProcessingStep,
7190
+ _chunkOQVLEVNRcjs.ProcessingStep,
7064
7191
  {
7065
7192
  smartAccount: effectiveStep.smartAccount,
7066
7193
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -7112,8 +7239,8 @@ function formatDate(iso) {
7112
7239
  function resolveChainId(value) {
7113
7240
  if (value === void 0 || value === null) return null;
7114
7241
  if (typeof value === "number") return value;
7115
- if (_chunkMILJQWPTcjs.isSolanaCaip2.call(void 0, value) || value === "solana") return "solana";
7116
- const parsed = _chunkMILJQWPTcjs.parseEvmChainId.call(void 0, value);
7242
+ if (_chunkABVRVW3Pcjs.isSolanaCaip2.call(void 0, value) || value === "solana") return "solana";
7243
+ const parsed = _chunkABVRVW3Pcjs.parseEvmChainId.call(void 0, value);
7117
7244
  if (parsed !== null) return parsed;
7118
7245
  const num = Number(value);
7119
7246
  return Number.isFinite(num) ? num : null;
@@ -7122,7 +7249,7 @@ function resolveTokenSymbol(token, chainId) {
7122
7249
  if (!token) return "";
7123
7250
  if (chainId === "solana") {
7124
7251
  const normalized = token.toLowerCase();
7125
- const matched = _chunkMILJQWPTcjs.SOLANA_TOKENS.find(
7252
+ const matched = _chunkABVRVW3Pcjs.SOLANA_TOKENS.find(
7126
7253
  (entry) => entry.mint.toLowerCase() === normalized
7127
7254
  );
7128
7255
  if (matched) return matched.symbol;
@@ -7131,7 +7258,7 @@ function resolveTokenSymbol(token, chainId) {
7131
7258
  }
7132
7259
  }
7133
7260
  if (chainId !== null && chainId !== void 0 && chainId !== "solana" && /^0x[a-fA-F0-9]{40}$/.test(token)) {
7134
- const sym = _chunkMILJQWPTcjs.getTokenSymbol.call(void 0, token, chainId);
7261
+ const sym = _chunkABVRVW3Pcjs.getTokenSymbol.call(void 0, token, chainId);
7135
7262
  if (sym !== "Token") return sym;
7136
7263
  }
7137
7264
  return shortenHash(token);
@@ -7142,7 +7269,7 @@ function formatAmount(rawAmount, token, chainId) {
7142
7269
  if (token && chainId !== null && chainId !== void 0) {
7143
7270
  if (chainId === "solana") {
7144
7271
  const normalized = token.toLowerCase();
7145
- const matched = _chunkMILJQWPTcjs.SOLANA_TOKENS.find(
7272
+ const matched = _chunkABVRVW3Pcjs.SOLANA_TOKENS.find(
7146
7273
  (entry) => entry.mint.toLowerCase() === normalized
7147
7274
  );
7148
7275
  if (matched) {
@@ -7151,7 +7278,7 @@ function formatAmount(rawAmount, token, chainId) {
7151
7278
  decimals = 9;
7152
7279
  }
7153
7280
  } else if (/^0x[a-fA-F0-9]{40}$/.test(token)) {
7154
- decimals = _chunkMILJQWPTcjs.getTokenDecimalsByAddress.call(void 0, token, chainId);
7281
+ decimals = _chunkABVRVW3Pcjs.getTokenDecimalsByAddress.call(void 0, token, chainId);
7155
7282
  }
7156
7283
  }
7157
7284
  try {
@@ -7169,7 +7296,7 @@ function formatAmount(rawAmount, token, chainId) {
7169
7296
  }
7170
7297
  function getTxExplorerUrl(txHash, chainId) {
7171
7298
  if (!chainId) return null;
7172
- const base2 = _chunkMILJQWPTcjs.getExplorerUrl.call(void 0, chainId);
7299
+ const base2 = _chunkABVRVW3Pcjs.getExplorerUrl.call(void 0, chainId);
7173
7300
  if (!base2) return null;
7174
7301
  return `${base2}/tx/${txHash}`;
7175
7302
  }
@@ -7234,7 +7361,7 @@ function DepositHistoryPanel({
7234
7361
  className: "rs-modal-header-back",
7235
7362
  "aria-label": "Back",
7236
7363
  onClick: onClose,
7237
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ChevronLeftIcon, {})
7364
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronLeftIcon, {})
7238
7365
  }
7239
7366
  ) }),
7240
7367
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: onCloseModal && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7244,29 +7371,29 @@ function DepositHistoryPanel({
7244
7371
  className: "rs-modal-close",
7245
7372
  "aria-label": "Close",
7246
7373
  onClick: onCloseModal,
7247
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.CloseIcon, {})
7374
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CloseIcon, {})
7248
7375
  }
7249
7376
  ) })
7250
7377
  ] }),
7251
7378
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen", children: [
7252
7379
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen-body", children: [
7253
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.HistoryIcon, {}), title: "History" }),
7380
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HistoryIcon, {}), title: "History" }),
7254
7381
  isLoading && deposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
7255
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.HistoryIcon, {}) }),
7382
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HistoryIcon, {}) }),
7256
7383
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
7257
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Spinner, { className: "rs-spinner--sm" }),
7384
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, { className: "rs-spinner--sm" }),
7258
7385
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Loading history\u2026" })
7259
7386
  ] })
7260
7387
  ] }),
7261
7388
  error && !isLoading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
7262
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.AlertTriangleIcon, {}) }),
7389
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.AlertTriangleIcon, {}) }),
7263
7390
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
7264
7391
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "Couldn't load history" }),
7265
7392
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: error })
7266
7393
  ] })
7267
7394
  ] }),
7268
7395
  !isLoading && !error && visibleDeposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
7269
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.HistoryIcon, {}) }),
7396
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HistoryIcon, {}) }),
7270
7397
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
7271
7398
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "No deposits yet" }),
7272
7399
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Your deposit history will appear here" })
@@ -7286,7 +7413,7 @@ function DepositHistoryPanel({
7286
7413
  )
7287
7414
  ] })
7288
7415
  ] }),
7289
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.PoweredBy, {})
7416
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
7290
7417
  ] })
7291
7418
  ]
7292
7419
  }
@@ -7297,12 +7424,12 @@ function HistoryCard({ deposit }) {
7297
7424
  const status = normalizeStatus(deposit.status, deposit.isSpam);
7298
7425
  const sourceChainId = resolveChainId(deposit.chain);
7299
7426
  const targetChainId = resolveChainId(deposit.targetChain);
7300
- const sourceChainName = sourceChainId ? _chunkMILJQWPTcjs.getChainName.call(void 0, sourceChainId) : null;
7301
- const targetChainName = targetChainId ? _chunkMILJQWPTcjs.getChainName.call(void 0, targetChainId) : null;
7302
- const sourceChainIcon = sourceChainId ? _chunkMILJQWPTcjs.getChainIcon.call(void 0, sourceChainId) : void 0;
7303
- const targetChainIcon = targetChainId ? _chunkMILJQWPTcjs.getChainIcon.call(void 0, targetChainId) : void 0;
7427
+ const sourceChainName = sourceChainId ? _chunkABVRVW3Pcjs.getChainName.call(void 0, sourceChainId) : null;
7428
+ const targetChainName = targetChainId ? _chunkABVRVW3Pcjs.getChainName.call(void 0, targetChainId) : null;
7429
+ const sourceChainIcon = sourceChainId ? _chunkABVRVW3Pcjs.getChainIcon.call(void 0, sourceChainId) : void 0;
7430
+ const targetChainIcon = targetChainId ? _chunkABVRVW3Pcjs.getChainIcon.call(void 0, targetChainId) : void 0;
7304
7431
  const sourceSymbol = resolveTokenSymbol(deposit.token, sourceChainId);
7305
- const sourceTokenIcon = sourceSymbol ? _chunkMILJQWPTcjs.getTokenIcon.call(void 0, sourceSymbol) : void 0;
7432
+ const sourceTokenIcon = sourceSymbol ? _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, sourceSymbol) : void 0;
7306
7433
  const rawAmount = deposit.sourceAmount && deposit.sourceAmount !== "0" ? deposit.sourceAmount : deposit.amount;
7307
7434
  const formattedAmount = rawAmount ? formatAmount(rawAmount, deposit.token, sourceChainId) : null;
7308
7435
  const displayAmount = formattedAmount ? sourceSymbol && /^USD/.test(sourceSymbol) ? `$${Number(formattedAmount).toLocaleString("en-US", {
@@ -7361,7 +7488,7 @@ function HistoryCard({ deposit }) {
7361
7488
  onClick: (e) => e.stopPropagation(),
7362
7489
  children: [
7363
7490
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: shortenHash(deposit.sourceTxHash) }),
7364
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ArrowUpRightIcon, {})
7491
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ArrowUpRightIcon, {})
7365
7492
  ]
7366
7493
  }
7367
7494
  )
@@ -7376,7 +7503,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
7376
7503
  // src/DepositModal.tsx
7377
7504
 
7378
7505
  var ReownDepositInner = _react.lazy.call(void 0,
7379
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-MECHBE6P.cjs"))).then((m) => ({ default: m.DepositModalReown }))
7506
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-KFTMS2WX.cjs"))).then((m) => ({ default: m.DepositModalReown }))
7380
7507
  );
7381
7508
  function sortByCreatedAtDesc(items) {
7382
7509
  return [...items].sort((a, b) => {
@@ -7425,9 +7552,9 @@ function DepositModalInner({
7425
7552
  defaultAmount,
7426
7553
  recipient,
7427
7554
  appBalanceUsd,
7428
- backendUrl = _chunkMILJQWPTcjs.DEFAULT_BACKEND_URL,
7555
+ backendUrl = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL,
7429
7556
  solanaRpcUrl,
7430
- signerAddress = _chunkMILJQWPTcjs.DEFAULT_SIGNER_ADDRESS,
7557
+ signerAddress = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS,
7431
7558
  sessionChainIds,
7432
7559
  forceRegister = false,
7433
7560
  enableSolana = true,
@@ -7455,7 +7582,7 @@ function DepositModalInner({
7455
7582
  debug
7456
7583
  }) {
7457
7584
  const modalRef = _react.useRef.call(void 0, null);
7458
- const onReadyRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onReady);
7585
+ const onReadyRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onReady);
7459
7586
  const [currentScreen, setCurrentScreen] = _react.useState.call(void 0, "connect");
7460
7587
  const [backHandler, setBackHandler] = _react.useState.call(void 0,
7461
7588
  void 0
@@ -7471,19 +7598,19 @@ function DepositModalInner({
7471
7598
  const cursorRef = _react.useRef.call(void 0, null);
7472
7599
  const historyStaleRef = _react.useRef.call(void 0, false);
7473
7600
  const historyLoadedRef = _react.useRef.call(void 0, false);
7474
- const targetChain = targetChainProp === "solana" ? "solana" : _chunkMILJQWPTcjs.getChainId.call(void 0, targetChainProp);
7475
- const sourceChain = sourceChainProp ? _chunkMILJQWPTcjs.getChainId.call(void 0, sourceChainProp) : void 0;
7601
+ const targetChain = targetChainProp === "solana" ? "solana" : _chunkABVRVW3Pcjs.getChainId.call(void 0, targetChainProp);
7602
+ const sourceChain = sourceChainProp ? _chunkABVRVW3Pcjs.getChainId.call(void 0, sourceChainProp) : void 0;
7476
7603
  const [recipientIsContract, setRecipientIsContract] = _react.useState.call(void 0, false);
7477
- const onErrorRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onError);
7604
+ const onErrorRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onError);
7478
7605
  _react.useEffect.call(void 0, () => {
7479
- if (targetChain !== _chunkMILJQWPTcjs.HYPERCORE_CHAIN_ID || !_viem.isAddress.call(void 0, recipient, { strict: false })) {
7606
+ if (targetChain !== _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID || !_viem.isAddress.call(void 0, recipient, { strict: false })) {
7480
7607
  setRecipientIsContract(false);
7481
7608
  return;
7482
7609
  }
7483
7610
  let cancelled = false;
7484
- _chunkMQIJZNTPcjs.getHyperEvmReadClient.call(void 0, ).getCode({ address: recipient }).then((code) => {
7611
+ _chunkOQVLEVNRcjs.getHyperEvmReadClient.call(void 0, ).getCode({ address: recipient }).then((code) => {
7485
7612
  if (cancelled) return;
7486
- const isContract = _chunkMILJQWPTcjs.isContractBytecode.call(void 0, code);
7613
+ const isContract = _chunkABVRVW3Pcjs.isContractBytecode.call(void 0, code);
7487
7614
  setRecipientIsContract(isContract);
7488
7615
  if (isContract) {
7489
7616
  _optionalChain([onErrorRef, 'access', _259 => _259.current, 'optionalCall', _260 => _260({
@@ -7499,7 +7626,7 @@ function DepositModalInner({
7499
7626
  };
7500
7627
  }, [targetChain, recipient, onErrorRef]);
7501
7628
  const service = _react.useMemo.call(void 0,
7502
- () => _chunkMQIJZNTPcjs.createDepositService.call(void 0, backendUrl, {
7629
+ () => _chunkOQVLEVNRcjs.createDepositService.call(void 0, backendUrl, {
7503
7630
  debug,
7504
7631
  debugScope: "service:deposit"
7505
7632
  }),
@@ -7515,7 +7642,7 @@ function DepositModalInner({
7515
7642
  }, [store, targetChain, targetToken]);
7516
7643
  _react.useEffect.call(void 0, () => {
7517
7644
  if (isOpen && modalRef.current) {
7518
- _chunkMQIJZNTPcjs.applyTheme.call(void 0, modalRef.current, theme);
7645
+ _chunkOQVLEVNRcjs.applyTheme.call(void 0, modalRef.current, theme);
7519
7646
  }
7520
7647
  }, [isOpen, theme]);
7521
7648
  _react.useEffect.call(void 0, () => {
@@ -7599,7 +7726,7 @@ function DepositModalInner({
7599
7726
  fetchHistory("initial");
7600
7727
  }
7601
7728
  }, [historyOpen, fetchHistory]);
7602
- const onLifecycleRef = _chunkMQIJZNTPcjs.useLatestRef.call(void 0, onLifecycle);
7729
+ const onLifecycleRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onLifecycle);
7603
7730
  const handleLifecycle = _react.useCallback.call(void 0,
7604
7731
  (event) => {
7605
7732
  _optionalChain([onLifecycleRef, 'access', _263 => _263.current, 'optionalCall', _264 => _264(event)]);
@@ -7631,7 +7758,7 @@ function DepositModalInner({
7631
7758
  const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _265 => _265.showBackButton]), () => ( true));
7632
7759
  const canGoBack = backHandler !== void 0;
7633
7760
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7634
- _chunkMQIJZNTPcjs.Modal,
7761
+ _chunkOQVLEVNRcjs.Modal,
7635
7762
  {
7636
7763
  isOpen,
7637
7764
  onClose,
@@ -7647,7 +7774,7 @@ function DepositModalInner({
7647
7774
  className: "rs-modal-header-back",
7648
7775
  "aria-label": "Go back",
7649
7776
  onClick: backHandler,
7650
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.ChevronLeftIcon, {})
7777
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronLeftIcon, {})
7651
7778
  }
7652
7779
  ) }),
7653
7780
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-header-nav-right", children: [
@@ -7659,7 +7786,7 @@ function DepositModalInner({
7659
7786
  "aria-label": "Deposit history",
7660
7787
  onClick: handleHistoryOpen,
7661
7788
  disabled: !recipient,
7662
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.HistoryIcon, {})
7789
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HistoryIcon, {})
7663
7790
  }
7664
7791
  ),
7665
7792
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7669,12 +7796,12 @@ function DepositModalInner({
7669
7796
  onClick: onClose,
7670
7797
  className: "rs-modal-close",
7671
7798
  "aria-label": "Close",
7672
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.CloseIcon, {})
7799
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CloseIcon, {})
7673
7800
  }
7674
7801
  )
7675
7802
  ] })
7676
7803
  ] }),
7677
- recipientIsContract ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQIJZNTPcjs.Callout, { variant: "error", children: "HyperCore deposits require an EOA recipient. The configured recipient is a smart contract, which is not supported." }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7804
+ recipientIsContract ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: "HyperCore deposits require an EOA recipient. The configured recipient is a smart contract, which is not supported." }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7678
7805
  DepositFlow,
7679
7806
  {
7680
7807
  dappWalletClient,