@rhinestone/deposit-modal 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -62,7 +62,8 @@ var _chunkNRNJAQUAcjs = require('./chunk-NRNJAQUA.cjs');
62
62
 
63
63
 
64
64
 
65
- var _chunkOQVLEVNRcjs = require('./chunk-OQVLEVNR.cjs');
65
+
66
+ var _chunkLJJCPDZOcjs = require('./chunk-LJJCPDZO.cjs');
66
67
 
67
68
 
68
69
  var _chunkUEKPBRBYcjs = require('./chunk-UEKPBRBY.cjs');
@@ -142,13 +143,13 @@ function AssetSelectStep({
142
143
  const [error, setError] = _react.useState.call(void 0, null);
143
144
  const defaultAssetId = _react.useMemo.call(void 0, () => {
144
145
  if (!defaultSourceChain || !defaultSourceToken) return null;
145
- return _chunkOQVLEVNRcjs.getAssetId.call(void 0, {
146
+ return _chunkLJJCPDZOcjs.getAssetId.call(void 0, {
146
147
  chainId: defaultSourceChain,
147
148
  token: defaultSourceToken
148
149
  });
149
150
  }, [defaultSourceChain, defaultSourceToken]);
150
- const onTotalBalanceComputedRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
151
- const onAssetsLoadedRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onAssetsLoaded);
151
+ const onTotalBalanceComputedRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
152
+ const onAssetsLoadedRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onAssetsLoaded);
152
153
  _react.useEffect.call(void 0, () => {
153
154
  let active = true;
154
155
  function emitAssetsUpdate(currentAssets) {
@@ -169,7 +170,7 @@ function AssetSelectStep({
169
170
  try {
170
171
  const portfolio = await service.fetchPortfolio(address);
171
172
  if (!active) return;
172
- const portfolioAssets = _chunkOQVLEVNRcjs.portfolioToAssets.call(void 0, portfolio.tokens);
173
+ const portfolioAssets = _chunkLJJCPDZOcjs.portfolioToAssets.call(void 0, portfolio.tokens);
173
174
  setAssets(portfolioAssets);
174
175
  emitAssetsUpdate(portfolioAssets);
175
176
  const hasNative = portfolioAssets.some(
@@ -245,7 +246,7 @@ function AssetSelectStep({
245
246
  const raw = _viem.formatUnits.call(void 0, BigInt(asset.balance), asset.decimals);
246
247
  const numeric = Number(raw);
247
248
  if (!Number.isFinite(numeric)) return raw;
248
- return _chunkOQVLEVNRcjs.tokenFormatter.format(numeric);
249
+ return _chunkLJJCPDZOcjs.tokenFormatter.format(numeric);
249
250
  } catch (e3) {
250
251
  return asset.balance;
251
252
  }
@@ -253,20 +254,20 @@ function AssetSelectStep({
253
254
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
254
255
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
255
256
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
256
- _chunkOQVLEVNRcjs.BodyHeader,
257
+ _chunkLJJCPDZOcjs.BodyHeader,
257
258
  {
258
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
259
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, {}),
259
260
  title: "Your assets",
260
261
  subtitle: "Select source assets to transfer"
261
262
  }
262
263
  ),
263
264
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
264
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, { className: "rs-text-tertiary" }),
265
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Spinner, { className: "rs-text-tertiary" }),
265
266
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
266
267
  ] }),
267
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: error }),
268
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Callout, { variant: "error", children: error }),
268
269
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
269
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, { className: "rs-empty-icon" }),
270
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, { className: "rs-empty-icon" }),
270
271
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
271
272
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
272
273
  address.slice(0, 6),
@@ -333,14 +334,14 @@ function AssetSelectStep({
333
334
  ] })
334
335
  ] })
335
336
  ] }),
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}` : "--" })
337
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunkLJJCPDZOcjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
337
338
  ]
338
339
  },
339
340
  asset.id
340
341
  );
341
342
  }) }),
342
343
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
343
- _chunkOQVLEVNRcjs.Button,
344
+ _chunkLJJCPDZOcjs.Button,
344
345
  {
345
346
  onClick: () => selectedAsset && onContinue(selectedAsset),
346
347
  disabled: !selectedAsset,
@@ -349,7 +350,7 @@ function AssetSelectStep({
349
350
  }
350
351
  )
351
352
  ] }),
352
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
353
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
353
354
  ] });
354
355
  }
355
356
  async function fetchNativeAssets(address, publicClient, existing) {
@@ -357,7 +358,7 @@ async function fetchNativeAssets(address, publicClient, existing) {
357
358
  const connectedChainId = _optionalChain([publicClient, 'access', _10 => _10.chain, 'optionalAccess', _11 => _11.id]);
358
359
  if (!connectedChainId) return [];
359
360
  if (!_chunkABVRVW3Pcjs.SOURCE_CHAINS.some((chain) => chain.id === connectedChainId)) return [];
360
- const id = _chunkOQVLEVNRcjs.getAssetId.call(void 0, {
361
+ const id = _chunkLJJCPDZOcjs.getAssetId.call(void 0, {
361
362
  chainId: connectedChainId,
362
363
  token: _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS
363
364
  });
@@ -554,7 +555,7 @@ function AmountStep({
554
555
  const balanceTarget = _nullishCoalesce(balanceAddress, () => ( address));
555
556
  if (!balanceTarget || !publicClient) return;
556
557
  try {
557
- const bal = _chunkOQVLEVNRcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
558
+ const bal = _chunkLJJCPDZOcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
558
559
  address: asset.token,
559
560
  abi: _viem.erc20Abi,
560
561
  functionName: "balanceOf",
@@ -575,7 +576,7 @@ function AmountStep({
575
576
  hasAttemptedSwitch.current = true;
576
577
  switchChain(asset.chainId).catch((err) => {
577
578
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
578
- setError(_chunkOQVLEVNRcjs.formatUserError.call(void 0, raw));
579
+ setError(_chunkLJJCPDZOcjs.formatUserError.call(void 0, raw));
579
580
  });
580
581
  }
581
582
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -628,7 +629,7 @@ function AmountStep({
628
629
  const raw = _viem.formatUnits.call(void 0, balance, asset.decimals);
629
630
  const numeric = Number(raw);
630
631
  if (!Number.isFinite(numeric)) return raw;
631
- return _chunkOQVLEVNRcjs.tokenFormatter.format(numeric);
632
+ return _chunkLJJCPDZOcjs.tokenFormatter.format(numeric);
632
633
  } catch (e8) {
633
634
  return "\u2026";
634
635
  }
@@ -747,7 +748,7 @@ function AmountStep({
747
748
  const targetTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, targetSymbol);
748
749
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
749
750
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
750
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}), title: "Wallet deposit" }),
751
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, {}), title: "Wallet deposit" }),
751
752
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
752
753
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
753
754
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -767,13 +768,13 @@ function AmountStep({
767
768
  " available",
768
769
  balanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
769
770
  " (~",
770
- _chunkOQVLEVNRcjs.currencyFormatter.format(balanceUsd),
771
+ _chunkLJJCPDZOcjs.currencyFormatter.format(balanceUsd),
771
772
  ")"
772
773
  ] })
773
774
  ] }),
774
775
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
775
776
  "Min. deposit ",
776
- _chunkOQVLEVNRcjs.currencyFormatter.format(minDepositUsd)
777
+ _chunkLJJCPDZOcjs.currencyFormatter.format(minDepositUsd)
777
778
  ] })
778
779
  ] })
779
780
  ] }),
@@ -814,13 +815,13 @@ function AmountStep({
814
815
  ] }),
815
816
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
816
817
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
817
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkOQVLEVNRcjs.currencyFormatter.format(balanceAfterUsd) })
818
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkLJJCPDZOcjs.currencyFormatter.format(balanceAfterUsd) })
818
819
  ] })
819
820
  ] }),
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 }),
821
+ targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
822
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Callout, { variant: "error", children: error }),
822
823
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
823
- _chunkOQVLEVNRcjs.Button,
824
+ _chunkLJJCPDZOcjs.Button,
824
825
  {
825
826
  onClick: handleContinue,
826
827
  fullWidth: true,
@@ -831,7 +832,7 @@ function AmountStep({
831
832
  }
832
833
  )
833
834
  ] }),
834
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
835
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
835
836
  ] });
836
837
  }
837
838
 
@@ -878,12 +879,12 @@ function ConfirmStep({
878
879
  const targetChainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, targetChain);
879
880
  const sourceTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, asset.symbol);
880
881
  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 formattedSendAmount = amount && Number.isFinite(Number(amount)) ? _nullishCoalesce(_chunkLJJCPDZOcjs.formatTokenAmount.call(void 0, Number(amount), asset.symbol), () => ( "0")) : "0";
882
883
  const receiveDisplay = (() => {
883
884
  if (sameRoute) return `${formattedSendAmount} ${asset.symbol}`;
884
885
  const usdValue = Number(targetAmount);
885
886
  const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
886
- const estimate = _chunkOQVLEVNRcjs.formatReceiveEstimate.call(void 0, {
887
+ const estimate = _chunkLJJCPDZOcjs.formatReceiveEstimate.call(void 0, {
887
888
  sourceAmount: Number.isFinite(Number(amount)) ? Number(amount) : void 0,
888
889
  sourceSymbol: asset.symbol,
889
890
  targetSymbol,
@@ -902,7 +903,7 @@ function ConfirmStep({
902
903
  hasAttemptedSwitch.current = true;
903
904
  switchChain(asset.chainId).catch((err) => {
904
905
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
905
- setError(_chunkOQVLEVNRcjs.formatUserError.call(void 0, raw));
906
+ setError(_chunkLJJCPDZOcjs.formatUserError.call(void 0, raw));
906
907
  });
907
908
  }
908
909
  }, [chainMismatch, switchChain, asset.chainId]);
@@ -982,7 +983,7 @@ function ConfirmStep({
982
983
  const result = await executeTransfer(amountUnits);
983
984
  hash = result.txHash;
984
985
  resolvedSourceToken = result.sourceToken;
985
- } else if (_chunkOQVLEVNRcjs.isNativeAsset.call(void 0, asset)) {
986
+ } else if (_chunkLJJCPDZOcjs.isNativeAsset.call(void 0, asset)) {
986
987
  hash = await walletClient.sendTransaction({
987
988
  account,
988
989
  chain,
@@ -1003,7 +1004,7 @@ function ConfirmStep({
1003
1004
  onConfirm(hash, asset.chainId, amountUnits.toString(), resolvedSourceToken);
1004
1005
  } catch (err) {
1005
1006
  const raw = err instanceof Error ? err.message : "Transfer failed";
1006
- const message = _chunkOQVLEVNRcjs.formatUserError.call(void 0, raw);
1007
+ const message = _chunkLJJCPDZOcjs.formatUserError.call(void 0, raw);
1007
1008
  setError(message);
1008
1009
  _optionalChain([onError, 'optionalCall', _30 => _30(message, "TRANSFER_ERROR")]);
1009
1010
  } finally {
@@ -1012,7 +1013,7 @@ function ConfirmStep({
1012
1013
  };
1013
1014
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
1014
1015
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
1015
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}), title: "Review deposit" }),
1016
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, {}), title: "Review deposit" }),
1016
1017
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-details", children: [
1017
1018
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
1018
1019
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
@@ -1066,14 +1067,14 @@ function ConfirmStep({
1066
1067
  children: feeDisplay
1067
1068
  }
1068
1069
  ),
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, {}) }) })
1070
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.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, _chunkLJJCPDZOcjs.InfoIcon, {}) }) })
1070
1071
  ] })
1071
1072
  ] })
1072
1073
  ] }),
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 }),
1074
+ targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
1075
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Callout, { variant: "error", children: error }),
1075
1076
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1076
- _chunkOQVLEVNRcjs.Button,
1077
+ _chunkLJJCPDZOcjs.Button,
1077
1078
  {
1078
1079
  onClick: handleConfirm,
1079
1080
  loading: isSubmitting,
@@ -1084,7 +1085,7 @@ function ConfirmStep({
1084
1085
  }
1085
1086
  )
1086
1087
  ] }),
1087
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
1088
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
1088
1089
  ] });
1089
1090
  }
1090
1091
 
@@ -1107,9 +1108,9 @@ var INITIAL_POLL_INTERVAL = 3e3;
1107
1108
  var MAX_POLL_INTERVAL = 3e4;
1108
1109
  var BACKOFF_MULTIPLIER = 1.5;
1109
1110
  function isEventForTx(event, txHash) {
1110
- const eventTxHash = _chunkOQVLEVNRcjs.getEventTxHash.call(void 0, event);
1111
+ const eventTxHash = _chunkLJJCPDZOcjs.getEventTxHash.call(void 0, event);
1111
1112
  if (!eventTxHash) return false;
1112
- return _chunkOQVLEVNRcjs.txRefsMatch.call(void 0, eventTxHash, txHash);
1113
+ return _chunkLJJCPDZOcjs.txRefsMatch.call(void 0, eventTxHash, txHash);
1113
1114
  }
1114
1115
  function truncateHash(hash) {
1115
1116
  return `${hash.slice(0, 4)}\u2026${hash.slice(-4)}`;
@@ -1159,7 +1160,7 @@ function formatBridgeFailedMessage(event) {
1159
1160
  }
1160
1161
  return "Bridge failed";
1161
1162
  }
1162
- var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
1163
+ var txLinkIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ExternalLinkIcon, { className: "rs-deposit-notification-link-icon" });
1163
1164
  function DepositNotification({
1164
1165
  deposit,
1165
1166
  smartAccount,
@@ -1194,7 +1195,7 @@ function DepositNotification({
1194
1195
  const pollIntervalRef = _react.useRef.call(void 0, INITIAL_POLL_INTERVAL);
1195
1196
  const pollTimeoutRef = _react.useRef.call(void 0, null);
1196
1197
  const completedRef = _react.useRef.call(void 0, _nullishCoalesce(directTransfer, () => ( false)));
1197
- const depositContextRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, {
1198
+ const depositContextRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, {
1198
1199
  amount,
1199
1200
  sourceChain,
1200
1201
  sourceToken: token,
@@ -1203,8 +1204,8 @@ function DepositNotification({
1203
1204
  targetToken,
1204
1205
  hasPostBridgeActions
1205
1206
  });
1206
- const onCompleteRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onComplete);
1207
- const onFailedRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onFailed);
1207
+ const onCompleteRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onComplete);
1208
+ const onFailedRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onFailed);
1208
1209
  const handleComplete = _react.useCallback.call(void 0,
1209
1210
  (destTxHash) => {
1210
1211
  if (completedRef.current) return;
@@ -1309,7 +1310,7 @@ function DepositNotification({
1309
1310
  const destExplorerUrl = destinationTxHash ? _chunkABVRVW3Pcjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1310
1311
  const title = status === "complete" ? "Deposit completed" : status === "failed" ? "Deposit failed" : "Deposit received and processing\u2026";
1311
1312
  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.";
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,
1313
+ 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, _chunkLJJCPDZOcjs.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, _chunkLJJCPDZOcjs.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,
1313
1314
  "svg",
1314
1315
  {
1315
1316
  className: "rs-deposit-notification-spinner",
@@ -1359,7 +1360,7 @@ function DepositNotification({
1359
1360
  className: "rs-deposit-notification-close",
1360
1361
  onClick: () => onDismiss(deposit.id),
1361
1362
  "aria-label": "Dismiss",
1362
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CloseIcon, {})
1363
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.CloseIcon, {})
1363
1364
  }
1364
1365
  )
1365
1366
  ] }),
@@ -1375,7 +1376,7 @@ function DepositNotification({
1375
1376
  "aria-expanded": expanded,
1376
1377
  children: [
1377
1378
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: expanded ? "See less details" : "See more details" }),
1378
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
1379
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ChevronDownIcon, { className: "rs-deposit-notification-toggle-chevron" })
1379
1380
  ]
1380
1381
  }
1381
1382
  ),
@@ -1722,10 +1723,10 @@ function DepositAddressStep({
1722
1723
  return;
1723
1724
  }
1724
1725
  const event = status.lastEvent;
1725
- const eventTxHash = _chunkOQVLEVNRcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkOQVLEVNRcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
1726
+ const eventTxHash = _chunkLJJCPDZOcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkLJJCPDZOcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
1726
1727
  if (baselineTxHashRef.current === void 0) {
1727
1728
  baselineTxHashRef.current = eventTxHash;
1728
- } else if (eventTxHash && (!baselineTxHashRef.current || !_chunkOQVLEVNRcjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
1729
+ } else if (eventTxHash && (!baselineTxHashRef.current || !_chunkLJJCPDZOcjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHashRef.current))) {
1729
1730
  const details = getDepositEventDetails(event);
1730
1731
  const chainId = _nullishCoalesce(details.chainId, () => ( "unknown"));
1731
1732
  const amount = _nullishCoalesce(details.amount, () => ( "0"));
@@ -1802,7 +1803,7 @@ function DepositAddressStep({
1802
1803
  const qrIconSrc = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, sourceChainId);
1803
1804
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-step--with-notifications", children: [
1804
1805
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
1805
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
1806
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
1806
1807
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", children: [
1807
1808
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", ref: chainDropdownRef, children: [
1808
1809
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
@@ -1826,7 +1827,7 @@ function DepositAddressStep({
1826
1827
  }
1827
1828
  ),
1828
1829
  /* @__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" })
1830
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
1830
1831
  ]
1831
1832
  }
1832
1833
  ),
@@ -1857,8 +1858,8 @@ function DepositAddressStep({
1857
1858
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
1858
1859
  "Min.$",
1859
1860
  (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,
1861
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1862
+ _chunkLJJCPDZOcjs.InfoIcon,
1862
1863
  {
1863
1864
  className: "rs-deposit-address-min-icon",
1864
1865
  "aria-hidden": "true"
@@ -1886,7 +1887,7 @@ function DepositAddressStep({
1886
1887
  }
1887
1888
  ),
1888
1889
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: sourceTokenSymbol }),
1889
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
1890
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
1890
1891
  ]
1891
1892
  }
1892
1893
  ),
@@ -1937,7 +1938,7 @@ function DepositAddressStep({
1937
1938
  className: "rs-deposit-address-copy",
1938
1939
  onClick: handleCopy,
1939
1940
  children: [
1940
- copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CopyIcon, {}),
1941
+ copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.CopyIcon, {}),
1941
1942
  copied ? "Copied!" : "Copy address"
1942
1943
  ]
1943
1944
  }
@@ -1945,7 +1946,7 @@ function DepositAddressStep({
1945
1946
  ]
1946
1947
  }
1947
1948
  ),
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." }),
1949
+ targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.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." }),
1949
1950
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1950
1951
  "div",
1951
1952
  {
@@ -1963,16 +1964,16 @@ function DepositAddressStep({
1963
1964
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: "Price impact" }),
1964
1965
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.00%" }) }),
1965
1966
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1966
- _chunkOQVLEVNRcjs.Tooltip,
1967
+ _chunkLJJCPDZOcjs.Tooltip,
1967
1968
  {
1968
1969
  className: "rs-price-impact-info",
1969
1970
  content: "Price impact is the difference between expected and execution price, due to trade size and liquidity.",
1970
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.InfoIcon, { "aria-hidden": "true" })
1971
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.InfoIcon, { "aria-hidden": "true" })
1971
1972
  }
1972
1973
  )
1973
1974
  ] }),
1974
1975
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1975
- _chunkOQVLEVNRcjs.ChevronDownIcon,
1976
+ _chunkLJJCPDZOcjs.ChevronDownIcon,
1976
1977
  {
1977
1978
  className: "rs-price-impact-chevron",
1978
1979
  "aria-hidden": "true"
@@ -1983,29 +1984,29 @@ function DepositAddressStep({
1983
1984
  ),
1984
1985
  /* @__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: [
1985
1986
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
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, {}) }),
1987
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PercentIcon, {}) }),
1987
1988
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
1988
1989
  "Max slippage: ",
1989
1990
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.2%" })
1990
1991
  ] }),
1991
1992
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1992
- _chunkOQVLEVNRcjs.Tooltip,
1993
+ _chunkLJJCPDZOcjs.Tooltip,
1993
1994
  {
1994
1995
  className: "rs-price-impact-info",
1995
1996
  content: "Slippage accounts for price changes during execution. Slippage is adjusted per pair to ensure reliable execution.",
1996
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.InfoIcon, { "aria-hidden": "true" })
1997
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.InfoIcon, { "aria-hidden": "true" })
1997
1998
  }
1998
1999
  )
1999
2000
  ] }),
2000
2001
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
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, {}) }),
2002
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ClockIcon, {}) }),
2002
2003
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2003
2004
  "Processing time: ",
2004
2005
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "< 1 min" })
2005
2006
  ] })
2006
2007
  ] }),
2007
2008
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-price-impact-row", children: [
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, {}) }),
2009
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-row-icon", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PlusCircleIcon, {}) }),
2009
2010
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-price-impact-label", children: [
2010
2011
  "Max deposit:",
2011
2012
  " ",
@@ -2037,7 +2038,7 @@ function DepositAddressStep({
2037
2038
  },
2038
2039
  deposit.id
2039
2040
  )) }),
2040
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2041
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
2041
2042
  ] });
2042
2043
  }
2043
2044
  DepositAddressStep.displayName = "DepositAddressStep";
@@ -2053,13 +2054,13 @@ DepositAddressStep.displayName = "DepositAddressStep";
2053
2054
  function FinalisingDepositStep() {
2054
2055
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-finalising", children: [
2055
2056
  /* @__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.jsx.call(void 0, "span", { className: "rs-finalising-spinner", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Spinner, {}) }),
2057
2058
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-finalising-text", children: [
2058
2059
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "rs-finalising-title", children: "Finalising deposit" }),
2059
2060
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "rs-finalising-subtitle", children: "We are depositing your funds to the application." })
2060
2061
  ] })
2061
2062
  ] }),
2062
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2063
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
2063
2064
  ] });
2064
2065
  }
2065
2066
  FinalisingDepositStep.displayName = "FinalisingDepositStep";
@@ -2090,7 +2091,7 @@ function SwappedOrderTracker({
2090
2091
  ];
2091
2092
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-swapped-tracker", children: [
2092
2093
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2093
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HandCoinsIcon, {}), title }),
2094
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.HandCoinsIcon, {}), title }),
2094
2095
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { className: "rs-swapped-tracker-steps", children: labels.map((label, idx) => {
2095
2096
  const status = stepStates[idx];
2096
2097
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -2104,7 +2105,7 @@ function SwappedOrderTracker({
2104
2105
  {
2105
2106
  className: "rs-swapped-tracker-step-marker",
2106
2107
  "aria-hidden": "true",
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
2108
+ children: status === "complete" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Spinner, {}) : null
2108
2109
  }
2109
2110
  )
2110
2111
  ]
@@ -2131,7 +2132,7 @@ function SwappedOrderTracker({
2131
2132
  }
2132
2133
  )
2133
2134
  ] }),
2134
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2135
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
2135
2136
  ] });
2136
2137
  }
2137
2138
  function formatTrackerAmount(amount) {
@@ -2295,10 +2296,10 @@ function SwappedIframeStep({
2295
2296
  const status = await service.fetchLatestStatus(smartAccount);
2296
2297
  if (cancelled) return;
2297
2298
  const event = status.lastEvent;
2298
- const eventTxHash = _chunkOQVLEVNRcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkOQVLEVNRcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2299
+ const eventTxHash = _chunkLJJCPDZOcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkLJJCPDZOcjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
2299
2300
  if (baselineDepositTxHashRef.current === void 0) {
2300
2301
  baselineDepositTxHashRef.current = eventTxHash;
2301
- } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunkOQVLEVNRcjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
2302
+ } else if (eventTxHash && (!baselineDepositTxHashRef.current || !_chunkLJJCPDZOcjs.txRefsMatch.call(void 0, eventTxHash, baselineDepositTxHashRef.current))) {
2302
2303
  currentDepositTxHashRef.current = eventTxHash;
2303
2304
  setLatestEvent(_nullishCoalesce(event, () => ( null)));
2304
2305
  }
@@ -2359,10 +2360,10 @@ function SwappedIframeStep({
2359
2360
  [orderState, latestEvent]
2360
2361
  );
2361
2362
  const terminalState = _react.useMemo.call(void 0, () => {
2362
- if (_chunkOQVLEVNRcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
2363
+ if (_chunkLJJCPDZOcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
2363
2364
  return {
2364
2365
  kind: "failed",
2365
- message: _chunkOQVLEVNRcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
2366
+ message: _chunkLJJCPDZOcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
2366
2367
  };
2367
2368
  }
2368
2369
  if (_optionalChain([orderState, 'optionalAccess', _92 => _92.status]) === "order_cancelled") {
@@ -2384,19 +2385,19 @@ function SwappedIframeStep({
2384
2385
  orderCrypto: _nullishCoalesce(_optionalChain([orderState, 'optionalAccess', _94 => _94.orderCrypto]), () => ( null)),
2385
2386
  // Base-unit source amount from the deposit row/event, consistent with the
2386
2387
  // wallet/QR path. ProcessingStep + onLifecycle expect base units.
2387
- amount: _nullishCoalesce(_chunkOQVLEVNRcjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null))
2388
+ amount: _nullishCoalesce(_chunkLJJCPDZOcjs.getEventSourceDetails.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0))).amount, () => ( null))
2388
2389
  });
2389
2390
  }, [latestEvent, orderState]);
2390
2391
  _react.useEffect.call(void 0, () => {
2391
2392
  if (failedFiredRef.current || completeFiredRef.current) return;
2392
- if (!_chunkOQVLEVNRcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
2393
+ if (!_chunkLJJCPDZOcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) return;
2393
2394
  const txHash = currentDepositTxHashRef.current;
2394
2395
  if (!txHash) return;
2395
2396
  failedFiredRef.current = true;
2396
2397
  setPhase("tracker");
2397
2398
  _optionalChain([onSwappedFailedRef, 'access', _95 => _95.current, 'optionalCall', _96 => _96(
2398
2399
  txHash,
2399
- _chunkOQVLEVNRcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
2400
+ _chunkLJJCPDZOcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
2400
2401
  )]);
2401
2402
  }, [latestEvent]);
2402
2403
  if (phase === "tracker") {
@@ -2417,48 +2418,38 @@ function SwappedIframeStep({
2417
2418
  );
2418
2419
  }
2419
2420
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-fiat-onramp", "data-variant": variant, children: [
2420
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2421
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2422
- _chunkOQVLEVNRcjs.BodyHeader,
2423
- {
2424
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HandCoinsIcon, {}),
2425
- title: "Deposit",
2426
- subtitle: "Add money to your balance"
2427
- }
2428
- ),
2429
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-fiat-onramp-iframe-wrap", children: [
2430
- loadError && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-fiat-onramp-error", children: [
2431
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: loadError }),
2432
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2433
- "button",
2434
- {
2435
- type: "button",
2436
- className: "rs-fiat-onramp-retry",
2437
- onClick: () => setRetryToken((n) => n + 1),
2438
- children: "Retry"
2439
- }
2440
- )
2441
- ] }),
2442
- !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, {}) }),
2443
- widgetUrl && !loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2444
- "iframe",
2421
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen-body rs-fiat-onramp-body", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-fiat-onramp-iframe-wrap", children: [
2422
+ loadError && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-fiat-onramp-error", children: [
2423
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: loadError }),
2424
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2425
+ "button",
2445
2426
  {
2446
- src: widgetUrl,
2447
- title: iframeTitle,
2448
- className: "rs-fiat-onramp-iframe",
2449
- sandbox: "allow-scripts allow-forms allow-same-origin allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation",
2450
- allow: "payment; camera; microphone; clipboard-write; geolocation",
2451
- onLoad: () => setIframeLoaded(true)
2452
- },
2453
- retryToken
2427
+ type: "button",
2428
+ className: "rs-fiat-onramp-retry",
2429
+ onClick: () => setRetryToken((n) => n + 1),
2430
+ children: "Retry"
2431
+ }
2454
2432
  )
2455
- ] })
2456
- ] }),
2457
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2433
+ ] }),
2434
+ !loadError && !iframeLoaded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-fiat-onramp-loading", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Spinner, {}) }),
2435
+ widgetUrl && !loadError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2436
+ "iframe",
2437
+ {
2438
+ src: widgetUrl,
2439
+ title: iframeTitle,
2440
+ className: "rs-fiat-onramp-iframe",
2441
+ sandbox: "allow-scripts allow-forms allow-same-origin allow-popups allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation",
2442
+ allow: "payment; camera; microphone; clipboard-write; geolocation",
2443
+ onLoad: () => setIframeLoaded(true)
2444
+ },
2445
+ retryToken
2446
+ )
2447
+ ] }) }),
2448
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
2458
2449
  ] });
2459
2450
  }
2460
2451
  function deriveStepStates(swappedStatus, latestEvent) {
2461
- if (_chunkOQVLEVNRcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
2452
+ if (_chunkLJJCPDZOcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
2462
2453
  return ["complete", "complete", "failed", "pending"];
2463
2454
  }
2464
2455
  if (swappedStatus === "order_cancelled") {
@@ -2615,114 +2606,10 @@ ExchangeConnectStep.displayName = "ExchangeConnectStep";
2615
2606
  // src/components/steps/ExchangeSelectStep.tsx
2616
2607
 
2617
2608
 
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
-
2722
2609
  function ExchangeLogo({ exchange }) {
2723
2610
  const [failed, setFailed] = _react.useState.call(void 0, false);
2724
2611
  if (!exchange.logoUrl || failed) {
2725
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BankIcon, {});
2612
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.BankIcon, {});
2726
2613
  }
2727
2614
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2728
2615
  "img",
@@ -2768,14 +2655,14 @@ function ExchangeSelectStep({
2768
2655
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen rs-exchange-select", children: [
2769
2656
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
2770
2657
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2771
- _chunkOQVLEVNRcjs.BodyHeader,
2658
+ _chunkLJJCPDZOcjs.BodyHeader,
2772
2659
  {
2773
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.UnplugIcon, {}),
2660
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.UnplugIcon, {}),
2774
2661
  title: "Connect exchange",
2775
2662
  subtitle: "Select an exchange to connect"
2776
2663
  }
2777
2664
  ),
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, {}) }),
2665
+ loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Spinner, {}) }),
2779
2666
  !loading && error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-exchange-select-state", "aria-live": "polite", children: [
2780
2667
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-exchange-select-state-title", children: "Couldn\u2019t load exchanges" }),
2781
2668
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -2801,7 +2688,7 @@ function ExchangeSelectStep({
2801
2688
  )
2802
2689
  ] }),
2803
2690
  !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);
2691
+ const brand = _chunkLJJCPDZOcjs.getExchangeLogo.call(void 0, exchange.name, exchange.connection);
2805
2692
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2806
2693
  "button",
2807
2694
  {
@@ -2824,7 +2711,7 @@ function ExchangeSelectStep({
2824
2711
  );
2825
2712
  }) })
2826
2713
  ] }),
2827
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2714
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
2828
2715
  ] });
2829
2716
  }
2830
2717
  ExchangeSelectStep.displayName = "ExchangeSelectStep";
@@ -2854,7 +2741,7 @@ function DepositAddressSkeleton({
2854
2741
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", "aria-busy": "true", children: [
2855
2742
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: "Preparing deposit details\u2026" }),
2856
2743
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
2857
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2744
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.TransferCryptoIcon, {}), title: "Transfer crypto" }),
2858
2745
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", "aria-hidden": "true", children: [
2859
2746
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
2860
2747
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-dropdown-label", children: "Supported chain" }),
@@ -2868,7 +2755,7 @@ function DepositAddressSkeleton({
2868
2755
  }
2869
2756
  ),
2870
2757
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainName }),
2871
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2758
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2872
2759
  ] })
2873
2760
  ] }),
2874
2761
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-dropdown", children: [
@@ -2877,8 +2764,8 @@ function DepositAddressSkeleton({
2877
2764
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-deposit-address-min", children: [
2878
2765
  "Min.$",
2879
2766
  (_nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _104 => _104.minDepositUsd]), () => ( 0.1))).toFixed(2),
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,
2767
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2768
+ _chunkLJJCPDZOcjs.InfoIcon,
2882
2769
  {
2883
2770
  className: "rs-deposit-address-min-icon",
2884
2771
  "aria-hidden": "true"
@@ -2896,7 +2783,7 @@ function DepositAddressSkeleton({
2896
2783
  }
2897
2784
  ),
2898
2785
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: defaultToken }),
2899
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2786
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ChevronDownIcon, { className: "rs-deposit-address-dropdown-chevron" })
2900
2787
  ] })
2901
2788
  ] })
2902
2789
  ] }),
@@ -2917,7 +2804,7 @@ function DepositAddressSkeleton({
2917
2804
  disabled: true,
2918
2805
  "aria-hidden": "true",
2919
2806
  children: [
2920
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CopyIcon, {}),
2807
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.CopyIcon, {}),
2921
2808
  "Copy address"
2922
2809
  ]
2923
2810
  }
@@ -2930,16 +2817,16 @@ function DepositAddressSkeleton({
2930
2817
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: "Price impact" }),
2931
2818
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-price-impact-label", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: "0.00%" }) }),
2932
2819
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2933
- _chunkOQVLEVNRcjs.Tooltip,
2820
+ _chunkLJJCPDZOcjs.Tooltip,
2934
2821
  {
2935
2822
  className: "rs-price-impact-info",
2936
2823
  content: "Price impact is the difference between expected and execution price, due to trade size and liquidity.",
2937
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.InfoIcon, { "aria-hidden": "true" })
2824
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.InfoIcon, { "aria-hidden": "true" })
2938
2825
  }
2939
2826
  )
2940
2827
  ] }),
2941
2828
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2942
- _chunkOQVLEVNRcjs.ChevronDownIcon,
2829
+ _chunkLJJCPDZOcjs.ChevronDownIcon,
2943
2830
  {
2944
2831
  className: "rs-price-impact-chevron",
2945
2832
  "aria-hidden": "true"
@@ -2947,7 +2834,7 @@ function DepositAddressSkeleton({
2947
2834
  )
2948
2835
  ] }) })
2949
2836
  ] }),
2950
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
2837
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
2951
2838
  ] });
2952
2839
  }
2953
2840
  DepositAddressSkeleton.displayName = "DepositAddressSkeleton";
@@ -2979,7 +2866,7 @@ function SolanaTokenSelectStep({
2979
2866
  setError(null);
2980
2867
  const portfolioBySymbol = {};
2981
2868
  try {
2982
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
2869
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
2983
2870
  solanaAddress
2984
2871
  });
2985
2872
  const portfolio = await service.fetchSolanaPortfolio(solanaAddress);
@@ -3002,12 +2889,12 @@ function SolanaTokenSelectStep({
3002
2889
  };
3003
2890
  }
3004
2891
  }
3005
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
2892
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
3006
2893
  symbols: Object.keys(portfolioBySymbol)
3007
2894
  });
3008
2895
  } catch (err) {
3009
2896
  if (!active) return;
3010
- _chunkOQVLEVNRcjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
2897
+ _chunkLJJCPDZOcjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
3011
2898
  solanaAddress
3012
2899
  });
3013
2900
  setError(
@@ -3054,7 +2941,7 @@ function SolanaTokenSelectStep({
3054
2941
  const raw = _viem.formatUnits.call(void 0, entry.balance, entry.token.decimals);
3055
2942
  const numeric = Number(raw);
3056
2943
  if (!Number.isFinite(numeric)) return raw;
3057
- return _chunkOQVLEVNRcjs.tokenFormatter.format(numeric);
2944
+ return _chunkLJJCPDZOcjs.tokenFormatter.format(numeric);
3058
2945
  } catch (e20) {
3059
2946
  return "--";
3060
2947
  }
@@ -3064,20 +2951,20 @@ function SolanaTokenSelectStep({
3064
2951
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3065
2952
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
3066
2953
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3067
- _chunkOQVLEVNRcjs.BodyHeader,
2954
+ _chunkLJJCPDZOcjs.BodyHeader,
3068
2955
  {
3069
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
2956
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, {}),
3070
2957
  title: "Your assets",
3071
2958
  subtitle: "Select source assets to transfer"
3072
2959
  }
3073
2960
  ),
3074
2961
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
3075
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, { className: "rs-text-tertiary" }),
2962
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Spinner, { className: "rs-text-tertiary" }),
3076
2963
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
3077
2964
  ] }),
3078
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: error }),
2965
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Callout, { variant: "error", children: error }),
3079
2966
  !loading && !error && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
3080
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, { className: "rs-empty-icon" }),
2967
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, { className: "rs-empty-icon" }),
3081
2968
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-empty-text", children: "No funds in connected wallet" }),
3082
2969
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-address", children: [
3083
2970
  solanaAddress.slice(0, 6),
@@ -3126,14 +3013,14 @@ function SolanaTokenSelectStep({
3126
3013
  ] })
3127
3014
  ] })
3128
3015
  ] }),
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}` : "--" })
3016
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunkLJJCPDZOcjs.currencyFormatter.format(entry.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${entry.token.symbol}` : "--" })
3130
3017
  ]
3131
3018
  },
3132
3019
  entry.token.symbol
3133
3020
  );
3134
3021
  }) }),
3135
3022
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3136
- _chunkOQVLEVNRcjs.Button,
3023
+ _chunkLJJCPDZOcjs.Button,
3137
3024
  {
3138
3025
  onClick: () => selectedEntry && onContinue(
3139
3026
  selectedEntry.token,
@@ -3146,7 +3033,7 @@ function SolanaTokenSelectStep({
3146
3033
  }
3147
3034
  )
3148
3035
  ] }),
3149
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3036
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
3150
3037
  ] });
3151
3038
  }
3152
3039
 
@@ -3199,7 +3086,7 @@ function SolanaAmountStep({
3199
3086
  const raw = _viem.formatUnits.call(void 0, balance, token.decimals);
3200
3087
  const numeric = Number(raw);
3201
3088
  if (!Number.isFinite(numeric)) return raw;
3202
- return _chunkOQVLEVNRcjs.tokenFormatter.format(numeric);
3089
+ return _chunkLJJCPDZOcjs.tokenFormatter.format(numeric);
3203
3090
  } catch (e22) {
3204
3091
  return "\u2026";
3205
3092
  }
@@ -3292,7 +3179,7 @@ function SolanaAmountStep({
3292
3179
  const handlePresetClick = (percentage) => {
3293
3180
  const formatted = computePresetAmount(percentage);
3294
3181
  if (!formatted) return;
3295
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
3182
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
3296
3183
  percentage,
3297
3184
  symbol: token.symbol,
3298
3185
  formatted
@@ -3327,7 +3214,7 @@ function SolanaAmountStep({
3327
3214
  try {
3328
3215
  amountInUnits = _viem.parseUnits.call(void 0, sourceAmountStr, token.decimals);
3329
3216
  } catch (e27) {
3330
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
3217
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
3331
3218
  amount,
3332
3219
  sourceAmount: sourceAmountStr,
3333
3220
  reason: "parse-units-failed"
@@ -3342,7 +3229,7 @@ function SolanaAmountStep({
3342
3229
  );
3343
3230
  return;
3344
3231
  }
3345
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
3232
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
3346
3233
  symbol: token.symbol,
3347
3234
  inputAmountUsd: amount,
3348
3235
  sourceAmount: sourceAmountStr,
@@ -3356,7 +3243,7 @@ function SolanaAmountStep({
3356
3243
  const sourceTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, token.symbol);
3357
3244
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3358
3245
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3359
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}), title: "Wallet deposit" }),
3246
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, {}), title: "Wallet deposit" }),
3360
3247
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-section", children: [
3361
3248
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-display", children: [
3362
3249
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -3376,13 +3263,13 @@ function SolanaAmountStep({
3376
3263
  " available",
3377
3264
  computedBalanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3378
3265
  " (~",
3379
- _chunkOQVLEVNRcjs.currencyFormatter.format(computedBalanceUsd),
3266
+ _chunkLJJCPDZOcjs.currencyFormatter.format(computedBalanceUsd),
3380
3267
  ")"
3381
3268
  ] })
3382
3269
  ] }),
3383
3270
  minDepositUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-amount-meta-minimum", children: [
3384
3271
  "Min. deposit ",
3385
- _chunkOQVLEVNRcjs.currencyFormatter.format(minDepositUsd)
3272
+ _chunkLJJCPDZOcjs.currencyFormatter.format(minDepositUsd)
3386
3273
  ] })
3387
3274
  ] })
3388
3275
  ] }),
@@ -3421,13 +3308,13 @@ function SolanaAmountStep({
3421
3308
  ] }),
3422
3309
  balanceAfterUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-detail-row", children: [
3423
3310
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Balance after deposit" }),
3424
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkOQVLEVNRcjs.currencyFormatter.format(balanceAfterUsd) })
3311
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-amount-detail-value", children: _chunkLJJCPDZOcjs.currencyFormatter.format(balanceAfterUsd) })
3425
3312
  ] })
3426
3313
  ] }),
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 }),
3314
+ targetChain === _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Callout, { variant: "warning", children: "First deposit to a new HyperCore account includes a ~1 USDC activation fee." }),
3315
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Callout, { variant: "error", children: error }),
3429
3316
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3430
- _chunkOQVLEVNRcjs.Button,
3317
+ _chunkLJJCPDZOcjs.Button,
3431
3318
  {
3432
3319
  onClick: handleContinue,
3433
3320
  fullWidth: true,
@@ -3436,7 +3323,7 @@ function SolanaAmountStep({
3436
3323
  }
3437
3324
  )
3438
3325
  ] }),
3439
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3326
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
3440
3327
  ] });
3441
3328
  }
3442
3329
 
@@ -3581,11 +3468,11 @@ function SolanaConfirmStep({
3581
3468
  const targetTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, targetSymbol);
3582
3469
  const feeSponsored = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _115 => _115.feeSponsored]), () => ( false));
3583
3470
  const feeTooltip = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _116 => _116.feeTooltip]), () => ( (feeSponsored ? "Network fees are sponsored for this deposit." : "Network fees apply.")));
3584
- const formattedAmount = sourceAmount && Number.isFinite(Number(sourceAmount)) ? _nullishCoalesce(_chunkOQVLEVNRcjs.formatTokenAmount.call(void 0, Number(sourceAmount), token.symbol), () => ( "0")) : "0";
3471
+ const formattedAmount = sourceAmount && Number.isFinite(Number(sourceAmount)) ? _nullishCoalesce(_chunkLJJCPDZOcjs.formatTokenAmount.call(void 0, Number(sourceAmount), token.symbol), () => ( "0")) : "0";
3585
3472
  const receiveDisplay = (() => {
3586
3473
  const usdValue = Number(targetAmount);
3587
3474
  const sourceAmountUsd = Number.isFinite(usdValue) && usdValue > 0 ? usdValue : void 0;
3588
- const estimate = _chunkOQVLEVNRcjs.formatReceiveEstimate.call(void 0, {
3475
+ const estimate = _chunkLJJCPDZOcjs.formatReceiveEstimate.call(void 0, {
3589
3476
  sourceAmount: Number.isFinite(Number(sourceAmount)) ? Number(sourceAmount) : void 0,
3590
3477
  sourceSymbol: token.symbol,
3591
3478
  targetSymbol,
@@ -3597,7 +3484,7 @@ function SolanaConfirmStep({
3597
3484
  })();
3598
3485
  const handleConfirm = async () => {
3599
3486
  if (!solanaProvider) {
3600
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
3487
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
3601
3488
  reason: "missing-provider"
3602
3489
  });
3603
3490
  setError("Solana wallet not connected");
@@ -3605,7 +3492,7 @@ function SolanaConfirmStep({
3605
3492
  }
3606
3493
  const parsedAmount = parseFloat(sourceAmount);
3607
3494
  if (isNaN(parsedAmount) || parsedAmount <= 0) {
3608
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
3495
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
3609
3496
  reason: "invalid-amount",
3610
3497
  sourceAmount
3611
3498
  });
@@ -3614,7 +3501,7 @@ function SolanaConfirmStep({
3614
3501
  }
3615
3502
  setError(null);
3616
3503
  setIsSubmitting(true);
3617
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
3504
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
3618
3505
  smartAccount,
3619
3506
  solanaAddress,
3620
3507
  solanaDepositAddress,
@@ -3624,7 +3511,7 @@ function SolanaConfirmStep({
3624
3511
  });
3625
3512
  try {
3626
3513
  const check = await service.checkAccount(smartAccount);
3627
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
3514
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
3628
3515
  smartAccount,
3629
3516
  isRegistered: check.isRegistered,
3630
3517
  targetChain: check.targetChain,
@@ -3637,7 +3524,7 @@ function SolanaConfirmStep({
3637
3524
  }
3638
3525
  const connection = hasConfiguredSolanaRpcUrl() ? getSolanaConnection() : _nullishCoalesce(solanaConnection, () => ( getSolanaConnection()));
3639
3526
  const amountUnits = _viem.parseUnits.call(void 0, sourceAmount, token.decimals);
3640
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
3527
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
3641
3528
  token: token.symbol,
3642
3529
  sourceAmount,
3643
3530
  amountUnits: amountUnits.toString()
@@ -3654,7 +3541,7 @@ function SolanaConfirmStep({
3654
3541
  token.mint,
3655
3542
  amountUnits
3656
3543
  );
3657
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
3544
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
3658
3545
  token: token.symbol,
3659
3546
  instructionCount: transaction.instructions.length,
3660
3547
  feePayer: _optionalChain([transaction, 'access', _117 => _117.feePayer, 'optionalAccess', _118 => _118.toBase58, 'call', _119 => _119()]),
@@ -3665,15 +3552,15 @@ function SolanaConfirmStep({
3665
3552
  connection,
3666
3553
  transaction
3667
3554
  );
3668
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
3555
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
3669
3556
  txHash,
3670
3557
  amountUnits: amountUnits.toString()
3671
3558
  });
3672
3559
  onConfirm(txHash, amountUnits.toString());
3673
3560
  } catch (err) {
3674
3561
  const raw = err instanceof Error ? err.message : "Transfer failed";
3675
- const message = _chunkOQVLEVNRcjs.formatUserError.call(void 0, raw);
3676
- _chunkOQVLEVNRcjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
3562
+ const message = _chunkLJJCPDZOcjs.formatUserError.call(void 0, raw);
3563
+ _chunkLJJCPDZOcjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
3677
3564
  smartAccount,
3678
3565
  token: token.symbol,
3679
3566
  sourceAmount
@@ -3686,7 +3573,7 @@ function SolanaConfirmStep({
3686
3573
  };
3687
3574
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3688
3575
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3689
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}), title: "Review deposit" }),
3576
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, {}), title: "Review deposit" }),
3690
3577
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-details", children: [
3691
3578
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
3692
3579
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
@@ -3734,13 +3621,13 @@ function SolanaConfirmStep({
3734
3621
  children: "$0.04"
3735
3622
  }
3736
3623
  ),
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, {}) }) })
3624
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.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, _chunkLJJCPDZOcjs.InfoIcon, {}) }) })
3738
3625
  ] })
3739
3626
  ] })
3740
3627
  ] }),
3741
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Callout, { variant: "error", children: error }),
3628
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Callout, { variant: "error", children: error }),
3742
3629
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3743
- _chunkOQVLEVNRcjs.Button,
3630
+ _chunkLJJCPDZOcjs.Button,
3744
3631
  {
3745
3632
  onClick: handleConfirm,
3746
3633
  loading: isSubmitting,
@@ -3751,7 +3638,7 @@ function SolanaConfirmStep({
3751
3638
  }
3752
3639
  )
3753
3640
  ] }),
3754
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3641
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
3755
3642
  ] });
3756
3643
  }
3757
3644
 
@@ -3765,18 +3652,18 @@ function DappImportAssetSelectStep({
3765
3652
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
3766
3653
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3767
3654
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3768
- _chunkOQVLEVNRcjs.BodyHeader,
3655
+ _chunkLJJCPDZOcjs.BodyHeader,
3769
3656
  {
3770
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
3657
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, {}),
3771
3658
  title: `Transfer from ${sourceLabel}`,
3772
3659
  subtitle: "Pick the balance to import"
3773
3660
  }
3774
3661
  ),
3775
3662
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-list", children: assets.map((asset) => {
3776
- const tokenAmount = asset.balance ? _chunkOQVLEVNRcjs.tokenFormatter.format(
3663
+ const tokenAmount = asset.balance ? _chunkLJJCPDZOcjs.tokenFormatter.format(
3777
3664
  Number(asset.balance) / 10 ** asset.decimals
3778
3665
  ) : "0";
3779
- const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunkOQVLEVNRcjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
3666
+ const balanceUsd = asset.balanceUsd && asset.balanceUsd > 0 ? _chunkLJJCPDZOcjs.currencyFormatter.format(asset.balanceUsd) : `${tokenAmount} ${asset.symbol}`;
3780
3667
  const tokenIcon = _nullishCoalesce(asset.icon, () => ( _chunkABVRVW3Pcjs.getTokenIcon.call(void 0, asset.symbol)));
3781
3668
  const chainIcon = _chunkABVRVW3Pcjs.getChainIcon.call(void 0, asset.chainId);
3782
3669
  const badge = _chunkABVRVW3Pcjs.getChainBadge.call(void 0, asset.chainId);
@@ -3827,7 +3714,7 @@ function DappImportAssetSelectStep({
3827
3714
  );
3828
3715
  }) })
3829
3716
  ] }),
3830
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3717
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
3831
3718
  ] });
3832
3719
  }
3833
3720
  DappImportAssetSelectStep.displayName = "DappImportAssetSelectStep";
@@ -3844,9 +3731,9 @@ function DappImportAssetSelectSkeleton({
3844
3731
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-sr-only", role: "status", children: error ? "Couldn't load balances" : "Loading balances\u2026" }),
3845
3732
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
3846
3733
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3847
- _chunkOQVLEVNRcjs.BodyHeader,
3734
+ _chunkLJJCPDZOcjs.BodyHeader,
3848
3735
  {
3849
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
3736
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.WalletIcon, {}),
3850
3737
  title: `Transfer from ${sourceLabel}`,
3851
3738
  subtitle: "Pick the balance to import"
3852
3739
  }
@@ -3884,7 +3771,7 @@ function DappImportAssetSelectSkeleton({
3884
3771
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Try again" })
3885
3772
  }
3886
3773
  ) }),
3887
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
3774
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
3888
3775
  ] });
3889
3776
  }
3890
3777
  DappImportAssetSelectSkeleton.displayName = "DappImportAssetSelectSkeleton";
@@ -5010,15 +4897,15 @@ var SetupError = class extends Error {
5010
4897
  }
5011
4898
  };
5012
4899
  async function resolveSessionOwner(eoaAddress) {
5013
- const local = _chunkOQVLEVNRcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
4900
+ const local = _chunkLJJCPDZOcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
5014
4901
  if (local) {
5015
4902
  return {
5016
- account: _chunkOQVLEVNRcjs.accountFromPrivateKey.call(void 0, local.privateKey),
4903
+ account: _chunkLJJCPDZOcjs.accountFromPrivateKey.call(void 0, local.privateKey),
5017
4904
  address: local.address
5018
4905
  };
5019
4906
  }
5020
- const created = _chunkOQVLEVNRcjs.createSessionOwnerKey.call(void 0, );
5021
- _chunkOQVLEVNRcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
4907
+ const created = _chunkLJJCPDZOcjs.createSessionOwnerKey.call(void 0, );
4908
+ _chunkLJJCPDZOcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
5022
4909
  return { account: created.account, address: created.address };
5023
4910
  }
5024
4911
  function stableStringify(value) {
@@ -5086,7 +4973,7 @@ async function runAccountSetup(input, deps) {
5086
4973
  try {
5087
4974
  const sessionOwner = await resolveSessionOwner(input.ownerAddress);
5088
4975
  const cacheKey = computeCacheKey(input, sessionOwner.address);
5089
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "account-setup", "setup:start", {
4976
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "account-setup", "setup:start", {
5090
4977
  owner: input.ownerAddress,
5091
4978
  sessionOwner: sessionOwner.address,
5092
4979
  hasPostBridgeActions: Boolean(_optionalChain([input, 'access', _133 => _133.postBridgeActions, 'optionalAccess', _134 => _134.length])),
@@ -5134,7 +5021,7 @@ async function runAccountSetup(input, deps) {
5134
5021
  primaryType: typedData.primaryType,
5135
5022
  message: typedData.message
5136
5023
  });
5137
- const sessionDetails = _chunkOQVLEVNRcjs.buildSessionDetails.call(void 0,
5024
+ const sessionDetails = _chunkLJJCPDZOcjs.buildSessionDetails.call(void 0,
5138
5025
  setup.sessionDetailsUnsigned,
5139
5026
  signature
5140
5027
  );
@@ -5170,7 +5057,7 @@ async function runAccountSetup(input, deps) {
5170
5057
  isRegistered: true
5171
5058
  };
5172
5059
  } catch (error) {
5173
- _chunkOQVLEVNRcjs.debugError.call(void 0, debug, "account-setup", "setup:failed", error, {
5060
+ _chunkLJJCPDZOcjs.debugError.call(void 0, debug, "account-setup", "setup:failed", error, {
5174
5061
  owner: input.ownerAddress
5175
5062
  });
5176
5063
  if (error instanceof SetupError) throw error;
@@ -5181,7 +5068,7 @@ function runAccountSetupDeduped(input, deps, requestKey) {
5181
5068
  const now = Date.now();
5182
5069
  const existing = setupRequestDedupe.get(requestKey);
5183
5070
  if (existing && (!existing.settled || existing.expiresAt > now)) {
5184
- _chunkOQVLEVNRcjs.debugLog.call(void 0, deps.debug, "account-setup", "setup:dedupe-hit", {
5071
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, deps.debug, "account-setup", "setup:dedupe-hit", {
5185
5072
  owner: input.ownerAddress,
5186
5073
  forceRegister: _nullishCoalesce(input.forceRegister, () => ( false))
5187
5074
  });
@@ -5265,7 +5152,6 @@ function AccountPreparingSkeleton({
5265
5152
  ) })
5266
5153
  ] });
5267
5154
  }
5268
- var QR_AUTO_ADVANCE_HYDRATION_GRACE_MS = 1e3;
5269
5155
  var DAPP_IMPORT_RESOLVE_TIMEOUT_MS = 1e4;
5270
5156
  function isSameRoute2(sourceChain, sourceToken, targetChain, targetToken) {
5271
5157
  return sourceChain === targetChain && sourceToken.toLowerCase() === targetToken.toLowerCase();
@@ -5469,16 +5355,10 @@ function DepositFlow({
5469
5355
  onError,
5470
5356
  debug
5471
5357
  }) {
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);
5476
- const hasInitialReownSession = Boolean(
5477
- enableSolana ? _optionalChain([reownWallet, 'optionalAccess', _139 => _139.isConnected]) || _optionalChain([reownWallet, 'optionalAccess', _140 => _140.address]) : _optionalChain([reownWallet, 'optionalAccess', _141 => _141.address])
5478
- );
5479
- const hasInitialWalletHydrationPending = Boolean(
5480
- dappAddress && (hasDappWalletClientProp && dappWalletClient === void 0 || reownWallet && !hasInitialReownSession && !reownWallet.isReady)
5481
- );
5358
+ const onStepChangeRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onStepChange);
5359
+ const onEventRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onEvent);
5360
+ const onLifecycleRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onLifecycle);
5361
+ const onErrorRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onError);
5482
5362
  const storeApi = useDepositStoreApi();
5483
5363
  const flowSlice = useDepositStore((s) => s.flow);
5484
5364
  const depositSlice = useDepositStore((s) => s.deposit);
@@ -5488,22 +5368,20 @@ function DepositFlow({
5488
5368
  const exchangeSlice = useDepositStore((s) => s.exchange);
5489
5369
  const flowMode = flowSlice.mode;
5490
5370
  const isConnectSelectionConfirmed = flowSlice.isConnectSelectionConfirmed;
5491
- const hasNavigatedBack = flowSlice.hasNavigatedBack;
5492
5371
  const selectedWalletId = useDepositStore(selectedWalletIdSelector);
5493
5372
  const [totalBalanceUsd, setTotalBalanceUsd] = _react.useState.call(void 0, 0);
5494
- const [hasQrAutoAdvanceGraceElapsed, setHasQrAutoAdvanceGraceElapsed] = _react.useState.call(void 0, () => !hasInitialWalletHydrationPending);
5495
5373
  const portfolioAssetsRef = _react.useRef.call(void 0, []);
5496
5374
  const stableWalletSignerRef = _react.useRef.call(void 0, null);
5497
5375
  const stableWalletSelectionKeyRef = _react.useRef.call(void 0, null);
5498
5376
  const logFlow = _react.useCallback.call(void 0,
5499
5377
  (message, data) => {
5500
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
5378
+ _chunkLJJCPDZOcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
5501
5379
  },
5502
5380
  [debug]
5503
5381
  );
5504
5382
  const logFlowError = _react.useCallback.call(void 0,
5505
5383
  (message, error, data) => {
5506
- _chunkOQVLEVNRcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
5384
+ _chunkLJJCPDZOcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
5507
5385
  },
5508
5386
  [debug]
5509
5387
  );
@@ -5526,12 +5404,12 @@ function DepositFlow({
5526
5404
  return null;
5527
5405
  }, []);
5528
5406
  const dappSwitchChain = _react.useMemo.call(void 0, () => {
5529
- if (!_optionalChain([dappWalletClient, 'optionalAccess', _142 => _142.switchChain])) return void 0;
5407
+ if (!_optionalChain([dappWalletClient, 'optionalAccess', _139 => _139.switchChain])) return void 0;
5530
5408
  return async (chainId) => {
5531
- await _optionalChain([dappWalletClient, 'access', _143 => _143.switchChain, 'optionalCall', _144 => _144({ id: chainId })]);
5409
+ await _optionalChain([dappWalletClient, 'access', _140 => _140.switchChain, 'optionalCall', _141 => _141({ id: chainId })]);
5532
5410
  };
5533
5411
  }, [dappWalletClient]);
5534
- const connectedWalletAddress = _nullishCoalesce(_optionalChain([dappWalletClient, 'optionalAccess', _145 => _145.account, 'optionalAccess', _146 => _146.address]), () => ( null));
5412
+ const connectedWalletAddress = _nullishCoalesce(_optionalChain([dappWalletClient, 'optionalAccess', _142 => _142.account, 'optionalAccess', _143 => _143.address]), () => ( null));
5535
5413
  const walletOptions = _react.useMemo.call(void 0, () => {
5536
5414
  const options = [];
5537
5415
  const seen = /* @__PURE__ */ new Set();
@@ -5545,7 +5423,7 @@ function DepositFlow({
5545
5423
  });
5546
5424
  seen.add(id);
5547
5425
  }
5548
- if (enableSolana && _optionalChain([reownWallet, 'optionalAccess', _147 => _147.isConnected]) && reownWallet.isSolana && reownWallet.solanaAddress && dappAddress) {
5426
+ if (enableSolana && _optionalChain([reownWallet, 'optionalAccess', _144 => _144.isConnected]) && reownWallet.isSolana && reownWallet.solanaAddress && dappAddress) {
5549
5427
  const id = _nullishCoalesce(reownWallet.caipAddress, () => ( `solana:${reownWallet.solanaAddress}`));
5550
5428
  if (!seen.has(id)) {
5551
5429
  options.push({
@@ -5557,7 +5435,7 @@ function DepositFlow({
5557
5435
  });
5558
5436
  seen.add(id);
5559
5437
  }
5560
- } else if (_optionalChain([reownWallet, 'optionalAccess', _148 => _148.address]) && reownWallet.isConnected && reownWallet.walletClient && reownWallet.publicClient && !seen.has(`evm:${reownWallet.address.toLowerCase()}`)) {
5438
+ } else if (_optionalChain([reownWallet, 'optionalAccess', _145 => _145.address]) && reownWallet.isConnected && reownWallet.walletClient && reownWallet.publicClient && !seen.has(`evm:${reownWallet.address.toLowerCase()}`)) {
5561
5439
  const id = `evm:${reownWallet.address.toLowerCase()}`;
5562
5440
  if (!seen.has(id)) {
5563
5441
  options.push({
@@ -5574,39 +5452,25 @@ function DepositFlow({
5574
5452
  }, [
5575
5453
  connectedWalletAddress,
5576
5454
  dappAddress,
5577
- _optionalChain([reownWallet, 'optionalAccess', _149 => _149.address]),
5578
- _optionalChain([reownWallet, 'optionalAccess', _150 => _150.isConnected]),
5579
- _optionalChain([reownWallet, 'optionalAccess', _151 => _151.walletClient]),
5580
- _optionalChain([reownWallet, 'optionalAccess', _152 => _152.publicClient]),
5581
- _optionalChain([reownWallet, 'optionalAccess', _153 => _153.icon]),
5455
+ _optionalChain([reownWallet, 'optionalAccess', _146 => _146.address]),
5456
+ _optionalChain([reownWallet, 'optionalAccess', _147 => _147.isConnected]),
5457
+ _optionalChain([reownWallet, 'optionalAccess', _148 => _148.walletClient]),
5458
+ _optionalChain([reownWallet, 'optionalAccess', _149 => _149.publicClient]),
5459
+ _optionalChain([reownWallet, 'optionalAccess', _150 => _150.icon]),
5582
5460
  enableSolana,
5583
- _optionalChain([reownWallet, 'optionalAccess', _154 => _154.isSolana]),
5584
- _optionalChain([reownWallet, 'optionalAccess', _155 => _155.solanaAddress]),
5585
- _optionalChain([reownWallet, 'optionalAccess', _156 => _156.caipAddress])
5461
+ _optionalChain([reownWallet, 'optionalAccess', _151 => _151.isSolana]),
5462
+ _optionalChain([reownWallet, 'optionalAccess', _152 => _152.solanaAddress]),
5463
+ _optionalChain([reownWallet, 'optionalAccess', _153 => _153.caipAddress])
5586
5464
  ]);
5587
- const canAutoLock = _optionalChain([dappWalletClient, 'optionalAccess', _157 => _157.account]) && dappAddress && !reownWallet && !enableFiatOnramp && !enableExchangeConnect;
5465
+ const canAutoLock = _optionalChain([dappWalletClient, 'optionalAccess', _154 => _154.account]) && dappAddress && !reownWallet && !enableFiatOnramp && !enableExchangeConnect;
5588
5466
  const hasWalletOptions = walletOptions.length > 0;
5589
5467
  const hasReownSession = Boolean(
5590
- enableSolana ? _optionalChain([reownWallet, 'optionalAccess', _158 => _158.isConnected]) || _optionalChain([reownWallet, 'optionalAccess', _159 => _159.address]) : _optionalChain([reownWallet, 'optionalAccess', _160 => _160.address])
5591
- );
5592
- const isWalletHydrationPending = Boolean(
5593
- dappAddress && !hasWalletOptions && (hasDappWalletClientProp && dappWalletClient === void 0 || reownWallet && !hasReownSession && !reownWallet.isReady)
5468
+ enableSolana ? _optionalChain([reownWallet, 'optionalAccess', _155 => _155.isConnected]) || _optionalChain([reownWallet, 'optionalAccess', _156 => _156.address]) : _optionalChain([reownWallet, 'optionalAccess', _157 => _157.address])
5594
5469
  );
5595
5470
  const isDappImportWalletHydrating = Boolean(
5596
5471
  hasDappWalletClientProp && dappWalletClient === void 0 || reownWallet && !hasReownSession && !reownWallet.isReady
5597
5472
  );
5598
5473
  const showConnectStep = flowMode === null && !isConnectSelectionConfirmed;
5599
- _react.useEffect.call(void 0, () => {
5600
- if (!isWalletHydrationPending) {
5601
- setHasQrAutoAdvanceGraceElapsed(true);
5602
- return;
5603
- }
5604
- setHasQrAutoAdvanceGraceElapsed(false);
5605
- const timeout = window.setTimeout(() => {
5606
- setHasQrAutoAdvanceGraceElapsed(true);
5607
- }, QR_AUTO_ADVANCE_HYDRATION_GRACE_MS);
5608
- return () => window.clearTimeout(timeout);
5609
- }, [isWalletHydrationPending]);
5610
5474
  const walletSelectionKey = _react.useMemo.call(void 0, () => {
5611
5475
  if (flowMode !== "wallet" && flowMode !== "dapp-import") return null;
5612
5476
  if (canAutoLock) {
@@ -5649,16 +5513,16 @@ function DepositFlow({
5649
5513
  return {
5650
5514
  ownerAddress: dappAddress,
5651
5515
  walletClient: void 0,
5652
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5516
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLJJCPDZOcjs.getPublicClient.call(void 0, setupChainId))),
5653
5517
  switchChain: void 0
5654
5518
  };
5655
5519
  }
5656
5520
  if (canAutoLock) {
5657
- const fallbackChainId = _nullishCoalesce(_optionalChain([dappWalletClient, 'optionalAccess', _161 => _161.chain, 'optionalAccess', _162 => _162.id]), () => ( setupChainId));
5521
+ const fallbackChainId = _nullishCoalesce(_optionalChain([dappWalletClient, 'optionalAccess', _158 => _158.chain, 'optionalAccess', _159 => _159.id]), () => ( setupChainId));
5658
5522
  return {
5659
5523
  ownerAddress: dappWalletClient.account.address,
5660
5524
  walletClient: dappWalletClient,
5661
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, fallbackChainId))),
5525
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLJJCPDZOcjs.getPublicClient.call(void 0, fallbackChainId))),
5662
5526
  switchChain: dappSwitchChain
5663
5527
  };
5664
5528
  }
@@ -5672,24 +5536,24 @@ function DepositFlow({
5672
5536
  return {
5673
5537
  ownerAddress: dappAddress,
5674
5538
  walletClient: void 0,
5675
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5539
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLJJCPDZOcjs.getPublicClient.call(void 0, setupChainId))),
5676
5540
  switchChain: void 0
5677
5541
  };
5678
5542
  }
5679
- if (selectedOption.kind === "connected" && _optionalChain([dappWalletClient, 'optionalAccess', _163 => _163.account]) && selectedOption.address && dappWalletClient.account.address.toLowerCase() === selectedOption.address.toLowerCase()) {
5680
- const fallbackChainId = _nullishCoalesce(_optionalChain([dappWalletClient, 'optionalAccess', _164 => _164.chain, 'optionalAccess', _165 => _165.id]), () => ( setupChainId));
5543
+ if (selectedOption.kind === "connected" && _optionalChain([dappWalletClient, 'optionalAccess', _160 => _160.account]) && selectedOption.address && dappWalletClient.account.address.toLowerCase() === selectedOption.address.toLowerCase()) {
5544
+ const fallbackChainId = _nullishCoalesce(_optionalChain([dappWalletClient, 'optionalAccess', _161 => _161.chain, 'optionalAccess', _162 => _162.id]), () => ( setupChainId));
5681
5545
  return {
5682
5546
  ownerAddress: dappWalletClient.account.address,
5683
5547
  walletClient: dappWalletClient,
5684
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, fallbackChainId))),
5548
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLJJCPDZOcjs.getPublicClient.call(void 0, fallbackChainId))),
5685
5549
  switchChain: dappSwitchChain
5686
5550
  };
5687
5551
  }
5688
- if (selectedOption.kind === "external" && _optionalChain([reownWallet, 'optionalAccess', _166 => _166.address]) && selectedOption.address && reownWallet.address.toLowerCase() === selectedOption.address.toLowerCase()) {
5552
+ if (selectedOption.kind === "external" && _optionalChain([reownWallet, 'optionalAccess', _163 => _163.address]) && selectedOption.address && reownWallet.address.toLowerCase() === selectedOption.address.toLowerCase()) {
5689
5553
  return {
5690
5554
  ownerAddress: reownWallet.address,
5691
5555
  walletClient: reownWallet.walletClient,
5692
- publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5556
+ publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkLJJCPDZOcjs.getPublicClient.call(void 0, setupChainId))),
5693
5557
  switchChain: reownWallet.switchChain
5694
5558
  };
5695
5559
  }
@@ -5727,7 +5591,7 @@ function DepositFlow({
5727
5591
  return {
5728
5592
  ownerAddress: dappAddress,
5729
5593
  walletClient: void 0,
5730
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5594
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLJJCPDZOcjs.getPublicClient.call(void 0, setupChainId))),
5731
5595
  switchChain: void 0
5732
5596
  };
5733
5597
  }
@@ -5752,37 +5616,37 @@ function DepositFlow({
5752
5616
  const selectedEvmWalletOwner = _react.useMemo.call(void 0, () => {
5753
5617
  if (!selectedWalletId) return null;
5754
5618
  const opt = walletOptions.find((o) => o.id === selectedWalletId);
5755
- if (_optionalChain([opt, 'optionalAccess', _167 => _167.kind]) === "external" && opt.address) {
5619
+ if (_optionalChain([opt, 'optionalAccess', _164 => _164.kind]) === "external" && opt.address) {
5756
5620
  return opt.address;
5757
5621
  }
5758
- if (_optionalChain([opt, 'optionalAccess', _168 => _168.kind]) === "connected" && opt.address) {
5622
+ if (_optionalChain([opt, 'optionalAccess', _165 => _165.kind]) === "connected" && opt.address) {
5759
5623
  return opt.address;
5760
5624
  }
5761
5625
  return null;
5762
5626
  }, [selectedWalletId, walletOptions]);
5763
5627
  const dappImportOwner = _react.useMemo.call(void 0, () => {
5764
5628
  if (selectedEvmWalletOwner) return selectedEvmWalletOwner;
5765
- if (_optionalChain([reownWallet, 'optionalAccess', _169 => _169.address]) && reownWallet.isConnected) {
5629
+ if (_optionalChain([reownWallet, 'optionalAccess', _166 => _166.address]) && reownWallet.isConnected) {
5766
5630
  return reownWallet.address;
5767
5631
  }
5768
5632
  if (connectedWalletAddress) return connectedWalletAddress;
5769
5633
  return null;
5770
5634
  }, [
5771
5635
  selectedEvmWalletOwner,
5772
- _optionalChain([reownWallet, 'optionalAccess', _170 => _170.address]),
5773
- _optionalChain([reownWallet, 'optionalAccess', _171 => _171.isConnected]),
5636
+ _optionalChain([reownWallet, 'optionalAccess', _167 => _167.address]),
5637
+ _optionalChain([reownWallet, 'optionalAccess', _168 => _168.isConnected]),
5774
5638
  connectedWalletAddress
5775
5639
  ]);
5776
5640
  const activeOwner = _react.useMemo.call(void 0,
5777
5641
  () => resolveOwnerForMode(flowMode, {
5778
5642
  dappAddress,
5779
- walletOwner: _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _172 => _172.ownerAddress]), () => ( (canAutoLock ? connectedWalletAddress : selectedEvmWalletOwner))),
5643
+ walletOwner: _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _169 => _169.ownerAddress]), () => ( (canAutoLock ? connectedWalletAddress : selectedEvmWalletOwner))),
5780
5644
  dappImportOwner
5781
5645
  }),
5782
5646
  [
5783
5647
  flowMode,
5784
5648
  dappAddress,
5785
- _optionalChain([signerContext, 'optionalAccess', _173 => _173.ownerAddress]),
5649
+ _optionalChain([signerContext, 'optionalAccess', _170 => _170.ownerAddress]),
5786
5650
  canAutoLock,
5787
5651
  connectedWalletAddress,
5788
5652
  selectedEvmWalletOwner,
@@ -5811,12 +5675,12 @@ function DepositFlow({
5811
5675
  return;
5812
5676
  }
5813
5677
  lastActiveSetupLifecycleKeyRef.current = lifecycleKey;
5814
- _optionalChain([onLifecycleRef, 'access', _174 => _174.current, 'optionalCall', _175 => _175({
5678
+ _optionalChain([onLifecycleRef, 'access', _171 => _171.current, 'optionalCall', _172 => _172({
5815
5679
  type: "smart-account-changed",
5816
5680
  evm: activeEntry.smartAccount,
5817
5681
  solana: _nullishCoalesce(activeEntry.solanaDepositAddress, () => ( null))
5818
5682
  })]);
5819
- _optionalChain([onLifecycleRef, 'access', _176 => _176.current, 'optionalCall', _177 => _177({
5683
+ _optionalChain([onLifecycleRef, 'access', _173 => _173.current, 'optionalCall', _174 => _174({
5820
5684
  type: "connected",
5821
5685
  address: activeOwner,
5822
5686
  smartAccount: activeEntry.smartAccount
@@ -5866,7 +5730,7 @@ function DepositFlow({
5866
5730
  const currentBackHandler = canGoBackFromHere ? handleBack : void 0;
5867
5731
  const currentScreen = showConnectStep ? "connect" : effectiveStep.type;
5868
5732
  _react.useEffect.call(void 0, () => {
5869
- _optionalChain([onStepChangeRef, 'access', _178 => _178.current, 'optionalCall', _179 => _179(currentBackHandler, currentScreen)]);
5733
+ _optionalChain([onStepChangeRef, 'access', _175 => _175.current, 'optionalCall', _176 => _176(currentBackHandler, currentScreen)]);
5870
5734
  }, [currentBackHandler, currentScreen, onStepChangeRef]);
5871
5735
  const lastModalHeightRef = _react.useRef.call(void 0, 0);
5872
5736
  const modalContentElRef = _react.useRef.call(void 0, null);
@@ -5876,7 +5740,7 @@ function DepositFlow({
5876
5740
  modalContentElRef.current = mc;
5877
5741
  const ro = new ResizeObserver((entries) => {
5878
5742
  for (const entry of entries) {
5879
- const border = _optionalChain([entry, 'access', _180 => _180.borderBoxSize, 'optionalAccess', _181 => _181[0], 'optionalAccess', _182 => _182.blockSize]);
5743
+ const border = _optionalChain([entry, 'access', _177 => _177.borderBoxSize, 'optionalAccess', _178 => _178[0], 'optionalAccess', _179 => _179.blockSize]);
5880
5744
  lastModalHeightRef.current = typeof border === "number" ? border : entry.contentRect.height;
5881
5745
  }
5882
5746
  });
@@ -5917,7 +5781,7 @@ function DepositFlow({
5917
5781
  }
5918
5782
  lastStepOpenEventKeyRef.current = stepOpenEventKey;
5919
5783
  if (effectiveStep.type === "select-asset") {
5920
- _optionalChain([onEventRef, 'access', _183 => _183.current, 'optionalCall', _184 => _184({
5784
+ _optionalChain([onEventRef, 'access', _180 => _180.current, 'optionalCall', _181 => _181({
5921
5785
  type: "deposit_modal_connected_wallet_select_source_open",
5922
5786
  total_balance_in_external_wallet: totalBalanceUsd,
5923
5787
  pred_balance: totalBalanceUsd
@@ -5925,7 +5789,7 @@ function DepositFlow({
5925
5789
  } else if (effectiveStep.type === "deposit-address") {
5926
5790
  const chainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, targetChain);
5927
5791
  const tokenSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
5928
- _optionalChain([onEventRef, 'access', _185 => _185.current, 'optionalCall', _186 => _186({
5792
+ _optionalChain([onEventRef, 'access', _182 => _182.current, 'optionalCall', _183 => _183({
5929
5793
  type: "deposit_modal_transfer_crypto_open",
5930
5794
  default_chain: chainName,
5931
5795
  default_token: tokenSymbol,
@@ -5933,7 +5797,7 @@ function DepositFlow({
5933
5797
  })]);
5934
5798
  } else if (effectiveStep.type === "amount" && stepSendToken) {
5935
5799
  const receiveSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
5936
- _optionalChain([onEventRef, 'access', _187 => _187.current, 'optionalCall', _188 => _188({
5800
+ _optionalChain([onEventRef, 'access', _184 => _184.current, 'optionalCall', _185 => _185({
5937
5801
  type: "deposit_modal_connected_wallet_enter_value_open",
5938
5802
  send_token: stepSendToken,
5939
5803
  receive_token: receiveSymbol,
@@ -5966,7 +5830,7 @@ function DepositFlow({
5966
5830
  targetToken
5967
5831
  ]);
5968
5832
  _react.useEffect.call(void 0, () => {
5969
- _optionalChain([onLifecycleRef, 'access', _189 => _189.current, 'optionalCall', _190 => _190({
5833
+ _optionalChain([onLifecycleRef, 'access', _186 => _186.current, 'optionalCall', _187 => _187({
5970
5834
  type: "balance-changed",
5971
5835
  totalUsd: totalBalanceUsd
5972
5836
  })]);
@@ -5982,7 +5846,7 @@ function DepositFlow({
5982
5846
  const handleConfirmWallet = _react.useCallback.call(void 0,
5983
5847
  (walletId) => {
5984
5848
  const selectedOption = walletOptions.find((o) => o.id === walletId);
5985
- const mode = enableSolana && _optionalChain([selectedOption, 'optionalAccess', _191 => _191.kind]) === "solana" ? "solana-wallet" : "wallet";
5849
+ const mode = enableSolana && _optionalChain([selectedOption, 'optionalAccess', _188 => _188.kind]) === "solana" ? "solana-wallet" : "wallet";
5986
5850
  storeApi.dispatch({
5987
5851
  type: "connect/wallet-confirmed",
5988
5852
  walletId,
@@ -5992,7 +5856,7 @@ function DepositFlow({
5992
5856
  [walletOptions, enableSolana, storeApi]
5993
5857
  );
5994
5858
  const isSolanaWalletConnected = Boolean(
5995
- enableSolana && _optionalChain([reownWallet, 'optionalAccess', _192 => _192.isConnected]) && _optionalChain([reownWallet, 'optionalAccess', _193 => _193.isSolana])
5859
+ enableSolana && _optionalChain([reownWallet, 'optionalAccess', _189 => _189.isConnected]) && _optionalChain([reownWallet, 'optionalAccess', _190 => _190.isSolana])
5996
5860
  );
5997
5861
  const dappImportsKey = dappImports ? Object.keys(dappImports).filter((k) => dappImports[k]).sort().join(",") : "";
5998
5862
  const enabledDappImportProviders = _react.useMemo.call(void 0,
@@ -6009,7 +5873,7 @@ function DepositFlow({
6009
5873
  const owner = dappImportOwner;
6010
5874
  if (owner) {
6011
5875
  const wallet = walletOptions.find(
6012
- (o) => _optionalChain([(_nullishCoalesce(o.address, () => ( null))), 'optionalAccess', _194 => _194.toLowerCase, 'call', _195 => _195()]) === owner.toLowerCase()
5876
+ (o) => _optionalChain([(_nullishCoalesce(o.address, () => ( null))), 'optionalAccess', _191 => _191.toLowerCase, 'call', _192 => _192()]) === owner.toLowerCase()
6013
5877
  );
6014
5878
  if (wallet) {
6015
5879
  storeApi.dispatch({
@@ -6050,7 +5914,7 @@ function DepositFlow({
6050
5914
  eoa: dappImportOwner,
6051
5915
  getPublicClient: (chainId) => {
6052
5916
  try {
6053
- return _chunkOQVLEVNRcjs.getPublicClient.call(void 0, chainId);
5917
+ return _chunkLJJCPDZOcjs.getPublicClient.call(void 0, chainId);
6054
5918
  } catch (e29) {
6055
5919
  return null;
6056
5920
  }
@@ -6126,7 +5990,7 @@ function DepositFlow({
6126
5990
  }, [activeDappImportProviderId, enabledDappImportProviders]);
6127
5991
  const activeDappImportAvailability = _react.useMemo.call(void 0, () => {
6128
5992
  if (!activeDappImportProviderId) return null;
6129
- if (!dappImportOwner || _optionalChain([dappImportAvailabilityOwner, 'optionalAccess', _196 => _196.toLowerCase, 'call', _197 => _197()]) !== dappImportOwner.toLowerCase()) {
5993
+ if (!dappImportOwner || _optionalChain([dappImportAvailabilityOwner, 'optionalAccess', _193 => _193.toLowerCase, 'call', _194 => _194()]) !== dappImportOwner.toLowerCase()) {
6130
5994
  return null;
6131
5995
  }
6132
5996
  const entry = dappImportAvailability[activeDappImportProviderId];
@@ -6167,7 +6031,7 @@ function DepositFlow({
6167
6031
  setup: setupSlice
6168
6032
  });
6169
6033
  const pinnableWallet = dappImportOwner ? _nullishCoalesce(walletOptions.find(
6170
- (o) => _optionalChain([(_nullishCoalesce(o.address, () => ( null))), 'optionalAccess', _198 => _198.toLowerCase, 'call', _199 => _199()]) === dappImportOwner.toLowerCase()
6034
+ (o) => _optionalChain([(_nullishCoalesce(o.address, () => ( null))), 'optionalAccess', _195 => _195.toLowerCase, 'call', _196 => _196()]) === dappImportOwner.toLowerCase()
6171
6035
  ), () => ( null)) : null;
6172
6036
  const outcome = resolveBootOutcome({
6173
6037
  status,
@@ -6209,7 +6073,7 @@ function DepositFlow({
6209
6073
  if (dappImportOwner) {
6210
6074
  const plan = bootRetryPlan({
6211
6075
  setupStatus: readSetupForOwner(snapshot.setup, dappImportOwner).status,
6212
- availabilityEntry: _optionalChain([snapshot, 'access', _200 => _200.dappImport, 'access', _201 => _201.availabilityOwner, 'optionalAccess', _202 => _202.toLowerCase, 'call', _203 => _203()]) === dappImportOwner.toLowerCase() ? snapshot.dappImport.availability[providerId] : void 0
6076
+ availabilityEntry: _optionalChain([snapshot, 'access', _197 => _197.dappImport, 'access', _198 => _198.availabilityOwner, 'optionalAccess', _199 => _199.toLowerCase, 'call', _200 => _200()]) === dappImportOwner.toLowerCase() ? snapshot.dappImport.availability[providerId] : void 0
6213
6077
  });
6214
6078
  if (plan.restartSetup) {
6215
6079
  storeApi.dispatch({
@@ -6250,7 +6114,7 @@ function DepositFlow({
6250
6114
  [storeApi]
6251
6115
  );
6252
6116
  const handleNewDeposit = _react.useCallback.call(void 0, () => {
6253
- _optionalChain([onLifecycleRef, 'access', _204 => _204.current, 'optionalCall', _205 => _205({
6117
+ _optionalChain([onLifecycleRef, 'access', _201 => _201.current, 'optionalCall', _202 => _202({
6254
6118
  type: "smart-account-changed",
6255
6119
  evm: null,
6256
6120
  solana: null
@@ -6298,13 +6162,13 @@ function DepositFlow({
6298
6162
  };
6299
6163
  push(dappAddress);
6300
6164
  push(connectedWalletAddress);
6301
- push(_optionalChain([reownWallet, 'optionalAccess', _206 => _206.address]));
6165
+ push(_optionalChain([reownWallet, 'optionalAccess', _203 => _203.address]));
6302
6166
  push(dappImportOwner);
6303
6167
  return owners;
6304
6168
  }, [
6305
6169
  dappAddress,
6306
6170
  connectedWalletAddress,
6307
- _optionalChain([reownWallet, 'optionalAccess', _207 => _207.address]),
6171
+ _optionalChain([reownWallet, 'optionalAccess', _204 => _204.address]),
6308
6172
  dappImportOwner
6309
6173
  ]);
6310
6174
  _react.useEffect.call(void 0, () => {
@@ -6318,7 +6182,7 @@ function DepositFlow({
6318
6182
  try {
6319
6183
  sessionOwner = await resolveSessionOwner(owner);
6320
6184
  } catch (error) {
6321
- _chunkOQVLEVNRcjs.debugError.call(void 0,
6185
+ _chunkLJJCPDZOcjs.debugError.call(void 0,
6322
6186
  debug,
6323
6187
  "deposit-flow",
6324
6188
  "session-owner:resolve-failed",
@@ -6409,7 +6273,7 @@ function DepositFlow({
6409
6273
  sourceChain: data.sourceChain,
6410
6274
  amount: data.amount
6411
6275
  });
6412
- _optionalChain([onLifecycleRef, 'access', _208 => _208.current, 'optionalCall', _209 => _209({ type: "submitted", ...data })]);
6276
+ _optionalChain([onLifecycleRef, 'access', _205 => _205.current, 'optionalCall', _206 => _206({ type: "submitted", ...data })]);
6413
6277
  },
6414
6278
  [logFlow, onLifecycleRef]
6415
6279
  );
@@ -6469,7 +6333,7 @@ function DepositFlow({
6469
6333
  sourceDecimals: tokenAtSubmit.decimals,
6470
6334
  inputAmountUsd: amountUsd
6471
6335
  });
6472
- _optionalChain([onLifecycleRef, 'access', _210 => _210.current, 'optionalCall', _211 => _211({
6336
+ _optionalChain([onLifecycleRef, 'access', _207 => _207.current, 'optionalCall', _208 => _208({
6473
6337
  type: "submitted",
6474
6338
  txHash,
6475
6339
  sourceChain: "solana",
@@ -6482,7 +6346,7 @@ function DepositFlow({
6482
6346
  );
6483
6347
  const handleAssetContinue = _react.useCallback.call(void 0,
6484
6348
  (asset) => {
6485
- _optionalChain([onEventRef, 'access', _212 => _212.current, 'optionalCall', _213 => _213({
6349
+ _optionalChain([onEventRef, 'access', _209 => _209.current, 'optionalCall', _210 => _210({
6486
6350
  type: "deposit_modal_connected_wallet_select_source_cta_click",
6487
6351
  total_balance_in_external_wallet: totalBalanceUsd,
6488
6352
  pred_balance: totalBalanceUsd,
@@ -6536,8 +6400,8 @@ function DepositFlow({
6536
6400
  sourceChain: chainId,
6537
6401
  sourceToken: token,
6538
6402
  amount,
6539
- sourceSymbol: _optionalChain([asset, 'optionalAccess', _214 => _214.symbol]),
6540
- sourceDecimals: _optionalChain([asset, 'optionalAccess', _215 => _215.decimals]),
6403
+ sourceSymbol: _optionalChain([asset, 'optionalAccess', _211 => _211.symbol]),
6404
+ sourceDecimals: _optionalChain([asset, 'optionalAccess', _212 => _212.decimals]),
6541
6405
  inputAmountUsd: _nullishCoalesce(depositAtSubmit.inputAmountUsd, () => ( void 0)),
6542
6406
  directTransfer: !dappImport && isSameRoute2(chainId, token, targetChain, targetToken)
6543
6407
  });
@@ -6560,7 +6424,7 @@ function DepositFlow({
6560
6424
  sourceSymbol: _nullishCoalesce(info.orderCrypto, () => ( "USDC")),
6561
6425
  sourceDecimals: SWAPPED_SOURCE_DECIMALS
6562
6426
  });
6563
- _optionalChain([onLifecycleRef, 'access', _216 => _216.current, 'optionalCall', _217 => _217({
6427
+ _optionalChain([onLifecycleRef, 'access', _213 => _213.current, 'optionalCall', _214 => _214({
6564
6428
  type: "submitted",
6565
6429
  txHash: info.txHash,
6566
6430
  sourceChain: SWAPPED_SOURCE_CHAIN,
@@ -6573,12 +6437,12 @@ function DepositFlow({
6573
6437
  const handleDepositSubmittedCallback = _react.useCallback.call(void 0,
6574
6438
  (txHash, sourceChain, amount) => {
6575
6439
  const depositAtSubmit = storeApi.getState().deposit;
6576
- _optionalChain([onLifecycleRef, 'access', _218 => _218.current, 'optionalCall', _219 => _219({
6440
+ _optionalChain([onLifecycleRef, 'access', _215 => _215.current, 'optionalCall', _216 => _216({
6577
6441
  type: "submitted",
6578
6442
  txHash,
6579
6443
  sourceChain,
6580
6444
  amount,
6581
- sourceDecimals: _optionalChain([depositAtSubmit, 'access', _220 => _220.selectedAsset, 'optionalAccess', _221 => _221.decimals]),
6445
+ sourceDecimals: _optionalChain([depositAtSubmit, 'access', _217 => _217.selectedAsset, 'optionalAccess', _218 => _218.decimals]),
6582
6446
  amountUsd: _nullishCoalesce(depositAtSubmit.inputAmountUsd, () => ( void 0))
6583
6447
  })]);
6584
6448
  },
@@ -6587,7 +6451,7 @@ function DepositFlow({
6587
6451
  const handleDepositComplete = _react.useCallback.call(void 0,
6588
6452
  (txHash, destinationTxHash, context) => {
6589
6453
  logFlow("deposit:complete", { txHash, destinationTxHash, ...context });
6590
- _optionalChain([onLifecycleRef, 'access', _222 => _222.current, 'optionalCall', _223 => _223({
6454
+ _optionalChain([onLifecycleRef, 'access', _219 => _219.current, 'optionalCall', _220 => _220({
6591
6455
  type: "complete",
6592
6456
  txHash,
6593
6457
  destinationTxHash,
@@ -6599,14 +6463,14 @@ function DepositFlow({
6599
6463
  const handleDepositFailed = _react.useCallback.call(void 0,
6600
6464
  (txHash, error) => {
6601
6465
  logFlowError("deposit:failed", error, { txHash });
6602
- _optionalChain([onLifecycleRef, 'access', _224 => _224.current, 'optionalCall', _225 => _225({ type: "failed", txHash, error })]);
6466
+ _optionalChain([onLifecycleRef, 'access', _221 => _221.current, 'optionalCall', _222 => _222({ type: "failed", txHash, error })]);
6603
6467
  },
6604
6468
  [logFlowError, onLifecycleRef]
6605
6469
  );
6606
6470
  const handleError = _react.useCallback.call(void 0,
6607
6471
  (message, code) => {
6608
6472
  logFlowError("flow:error", message, { code });
6609
- _optionalChain([onErrorRef, 'access', _226 => _226.current, 'optionalCall', _227 => _227({ message, code })]);
6473
+ _optionalChain([onErrorRef, 'access', _223 => _223.current, 'optionalCall', _224 => _224({ message, code })]);
6610
6474
  },
6611
6475
  [logFlowError, onErrorRef]
6612
6476
  );
@@ -6648,26 +6512,6 @@ function DepositFlow({
6648
6512
  storeApi.dispatch({ type: "flow/step-set", step: "connect" });
6649
6513
  }
6650
6514
  }, [enableSolana, flowMode, storeApi]);
6651
- _react.useEffect.call(void 0, () => {
6652
- if (hasNavigatedBack || isConnectSelectionConfirmed || flowMode || enableFiatOnramp || enableExchangeConnect || initialDappImportProvider) {
6653
- return;
6654
- }
6655
- if (enableQrTransfer && !hasWalletOptions && dappAddress && !hasReownSession && !dappWalletClient && hasQrAutoAdvanceGraceElapsed) {
6656
- handleSelectTransferCrypto();
6657
- }
6658
- }, [
6659
- enableQrTransfer,
6660
- hasWalletOptions,
6661
- hasReownSession,
6662
- hasQrAutoAdvanceGraceElapsed,
6663
- isConnectSelectionConfirmed,
6664
- flowMode,
6665
- hasNavigatedBack,
6666
- dappAddress,
6667
- dappWalletClient,
6668
- initialDappImportProvider,
6669
- handleSelectTransferCrypto
6670
- ]);
6671
6515
  const walletRows = _react.useMemo.call(void 0, () => {
6672
6516
  return walletOptions.map((option) => {
6673
6517
  const ownerForRow = option.kind === "solana" ? dappAddress : _nullishCoalesce(option.address, () => ( null));
@@ -6697,7 +6541,7 @@ function DepositFlow({
6697
6541
  );
6698
6542
  if (showConnectStep) {
6699
6543
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6700
- _chunkOQVLEVNRcjs.ConnectStep,
6544
+ _chunkLJJCPDZOcjs.ConnectStep,
6701
6545
  {
6702
6546
  walletRows,
6703
6547
  transferCryptoState: dappAddress ? transferCryptoState : void 0,
@@ -6729,7 +6573,7 @@ function DepositFlow({
6729
6573
  },
6730
6574
  dappImports: connectStepDappImports,
6731
6575
  onSelectDappImport: (providerId) => {
6732
- const availabilityEntry = dappImportOwner && _optionalChain([dappImportAvailabilityOwner, 'optionalAccess', _228 => _228.toLowerCase, 'call', _229 => _229()]) === dappImportOwner.toLowerCase() ? dappImportAvailability[providerId] : void 0;
6576
+ const availabilityEntry = dappImportOwner && _optionalChain([dappImportAvailabilityOwner, 'optionalAccess', _225 => _225.toLowerCase, 'call', _226 => _226()]) === dappImportOwner.toLowerCase() ? dappImportAvailability[providerId] : void 0;
6733
6577
  if (availabilityEntry === "error") {
6734
6578
  storeApi.dispatch({
6735
6579
  type: "dapp-import/availability-retry-requested"
@@ -6775,7 +6619,7 @@ function DepositFlow({
6775
6619
  allowedRoutes,
6776
6620
  targetChain,
6777
6621
  targetToken,
6778
- hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _230 => _230.length])),
6622
+ hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _227 => _227.length])),
6779
6623
  uiConfig,
6780
6624
  onDepositSubmitted: handleDepositAddressSubmitted,
6781
6625
  onDepositComplete: handleDepositComplete,
@@ -6783,7 +6627,7 @@ function DepositFlow({
6783
6627
  onCopyAddress: () => {
6784
6628
  const chainName = _chunkABVRVW3Pcjs.getChainName.call(void 0, targetChain);
6785
6629
  const tokenSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
6786
- _optionalChain([onEvent, 'optionalCall', _231 => _231({
6630
+ _optionalChain([onEvent, 'optionalCall', _228 => _228({
6787
6631
  type: "deposit_modal_transfer_crypto_cta_click",
6788
6632
  default_chain: chainName,
6789
6633
  default_token: tokenSymbol,
@@ -6827,7 +6671,7 @@ function DepositFlow({
6827
6671
  }
6828
6672
  ),
6829
6673
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6830
- _chunkOQVLEVNRcjs.ProcessingStep,
6674
+ _chunkLJJCPDZOcjs.ProcessingStep,
6831
6675
  {
6832
6676
  smartAccount: step.smartAccount,
6833
6677
  solanaDepositAddress: step.solanaDepositAddress,
@@ -6840,7 +6684,7 @@ function DepositFlow({
6840
6684
  sourceSymbol: step.sourceSymbol,
6841
6685
  sourceDecimals: step.sourceDecimals,
6842
6686
  amountUsd: step.inputAmountUsd,
6843
- hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _232 => _232.length])),
6687
+ hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _229 => _229.length])),
6844
6688
  service,
6845
6689
  directTransfer: step.directTransfer,
6846
6690
  isSwappedOrder: true,
@@ -6894,7 +6738,7 @@ function DepositFlow({
6894
6738
  }
6895
6739
  ),
6896
6740
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6897
- _chunkOQVLEVNRcjs.ProcessingStep,
6741
+ _chunkLJJCPDZOcjs.ProcessingStep,
6898
6742
  {
6899
6743
  smartAccount: step.smartAccount,
6900
6744
  solanaDepositAddress: step.solanaDepositAddress,
@@ -6907,7 +6751,7 @@ function DepositFlow({
6907
6751
  sourceSymbol: step.sourceSymbol,
6908
6752
  sourceDecimals: step.sourceDecimals,
6909
6753
  amountUsd: step.inputAmountUsd,
6910
- hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _233 => _233.length])),
6754
+ hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _230 => _230.length])),
6911
6755
  service,
6912
6756
  directTransfer: step.directTransfer,
6913
6757
  isSwappedOrder: true,
@@ -6925,8 +6769,8 @@ function DepositFlow({
6925
6769
  }
6926
6770
  if (isSolanaWalletMode) {
6927
6771
  if (!dappAddress) return null;
6928
- const solanaAddr = _optionalChain([reownWallet, 'optionalAccess', _234 => _234.solanaAddress]);
6929
- const solanaProvider = _optionalChain([reownWallet, 'optionalAccess', _235 => _235.solanaProvider]);
6772
+ const solanaAddr = _optionalChain([reownWallet, 'optionalAccess', _231 => _231.solanaAddress]);
6773
+ const solanaProvider = _optionalChain([reownWallet, 'optionalAccess', _232 => _232.solanaProvider]);
6930
6774
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
6931
6775
  effectiveStep.type === "setup" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6932
6776
  AccountPreparingSkeleton,
@@ -6983,7 +6827,7 @@ function DepositFlow({
6983
6827
  targetToken,
6984
6828
  service,
6985
6829
  solanaProvider,
6986
- solanaConnection: _optionalChain([reownWallet, 'optionalAccess', _236 => _236.solanaConnection]),
6830
+ solanaConnection: _optionalChain([reownWallet, 'optionalAccess', _233 => _233.solanaConnection]),
6987
6831
  uiConfig,
6988
6832
  onConfirm: handleSolanaConfirmed,
6989
6833
  onError: handleError,
@@ -7024,7 +6868,7 @@ function DepositFlow({
7024
6868
  ) })
7025
6869
  ] }) : null,
7026
6870
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7027
- _chunkOQVLEVNRcjs.ProcessingStep,
6871
+ _chunkLJJCPDZOcjs.ProcessingStep,
7028
6872
  {
7029
6873
  smartAccount: effectiveStep.smartAccount,
7030
6874
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -7037,7 +6881,7 @@ function DepositFlow({
7037
6881
  sourceSymbol: effectiveStep.sourceSymbol,
7038
6882
  sourceDecimals: effectiveStep.sourceDecimals,
7039
6883
  amountUsd: effectiveStep.inputAmountUsd,
7040
- hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _237 => _237.length])),
6884
+ hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _234 => _234.length])),
7041
6885
  service,
7042
6886
  directTransfer: effectiveStep.directTransfer,
7043
6887
  onClose,
@@ -7060,7 +6904,7 @@ function DepositFlow({
7060
6904
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7061
6905
  DappImportAssetSelectSkeleton,
7062
6906
  {
7063
- sourceLabel: _nullishCoalesce(_optionalChain([activeDappImportProvider, 'optionalAccess', _238 => _238.sourceLabel]), () => ( "")),
6907
+ sourceLabel: _nullishCoalesce(_optionalChain([activeDappImportProvider, 'optionalAccess', _235 => _235.sourceLabel]), () => ( "")),
7064
6908
  error: dappImportBootError,
7065
6909
  onRetry: handleBootRetry
7066
6910
  }
@@ -7068,16 +6912,16 @@ function DepositFlow({
7068
6912
  }
7069
6913
  );
7070
6914
  }
7071
- if (!_optionalChain([signerContext, 'optionalAccess', _239 => _239.walletClient]) || !_optionalChain([signerContext, 'optionalAccess', _240 => _240.publicClient])) {
6915
+ if (!_optionalChain([signerContext, 'optionalAccess', _236 => _236.walletClient]) || !_optionalChain([signerContext, 'optionalAccess', _237 => _237.publicClient])) {
7072
6916
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-loading-state", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-loading-text", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-loading-title", children: "Connecting wallet\u2026" }) }) }) }) });
7073
6917
  }
7074
6918
  const ownerAddress = signerContext.ownerAddress;
7075
- const ownerChainId = _nullishCoalesce(_nullishCoalesce(_optionalChain([signerContext, 'access', _241 => _241.walletClient, 'optionalAccess', _242 => _242.chain, 'optionalAccess', _243 => _243.id]), () => ( _optionalChain([signerContext, 'access', _244 => _244.publicClient, 'access', _245 => _245.chain, 'optionalAccess', _246 => _246.id]))), () => ( setupChainId));
6919
+ const ownerChainId = _nullishCoalesce(_nullishCoalesce(_optionalChain([signerContext, 'access', _238 => _238.walletClient, 'optionalAccess', _239 => _239.chain, 'optionalAccess', _240 => _240.id]), () => ( _optionalChain([signerContext, 'access', _241 => _241.publicClient, 'access', _242 => _242.chain, 'optionalAccess', _243 => _243.id]))), () => ( setupChainId));
7076
6920
  const getReadClientForChain = (chainId) => {
7077
- if (_optionalChain([signerContext, 'access', _247 => _247.publicClient, 'access', _248 => _248.chain, 'optionalAccess', _249 => _249.id]) === chainId) {
6921
+ if (_optionalChain([signerContext, 'access', _244 => _244.publicClient, 'access', _245 => _245.chain, 'optionalAccess', _246 => _246.id]) === chainId) {
7078
6922
  return signerContext.publicClient;
7079
6923
  }
7080
- return _chunkOQVLEVNRcjs.getPublicClient.call(void 0, chainId);
6924
+ return _chunkLJJCPDZOcjs.getPublicClient.call(void 0, chainId);
7081
6925
  };
7082
6926
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
7083
6927
  effectiveStep.type === "setup" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7108,7 +6952,7 @@ function DepositFlow({
7108
6952
  effectiveStep.type === "dapp-import-asset-select" && activeDappImportProvider && activeDappImportAvailability && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7109
6953
  DappImportAssetSelectStep,
7110
6954
  {
7111
- sourceLabel: _nullishCoalesce(_optionalChain([activeDappImportAvailability, 'access', _250 => _250.assets, 'access', _251 => _251[0], 'optionalAccess', _252 => _252.sourceLabel]), () => ( activeDappImportProvider.sourceLabel)),
6955
+ sourceLabel: _nullishCoalesce(_optionalChain([activeDappImportAvailability, 'access', _247 => _247.assets, 'access', _248 => _248[0], 'optionalAccess', _249 => _249.sourceLabel]), () => ( activeDappImportProvider.sourceLabel)),
7112
6956
  assets: activeDappImportAvailability.assets,
7113
6957
  onSelect: handleDappImportAssetSelected
7114
6958
  }
@@ -7135,7 +6979,7 @@ function DepositFlow({
7135
6979
  onContinue: handleAmountContinue,
7136
6980
  onCtaClick: (ctaName) => {
7137
6981
  const receiveSymbol = _chunkABVRVW3Pcjs.getTargetTokenSymbol.call(void 0, targetToken, targetChain);
7138
- _optionalChain([onEvent, 'optionalCall', _253 => _253({
6982
+ _optionalChain([onEvent, 'optionalCall', _250 => _250({
7139
6983
  type: "deposit_modal_connected_wallet_enter_value_cta_click",
7140
6984
  send_token: effectiveStep.asset.symbol,
7141
6985
  receive_token: receiveSymbol,
@@ -7187,7 +7031,7 @@ function DepositFlow({
7187
7031
  }
7188
7032
  ),
7189
7033
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7190
- _chunkOQVLEVNRcjs.ProcessingStep,
7034
+ _chunkLJJCPDZOcjs.ProcessingStep,
7191
7035
  {
7192
7036
  smartAccount: effectiveStep.smartAccount,
7193
7037
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -7200,7 +7044,7 @@ function DepositFlow({
7200
7044
  sourceSymbol: effectiveStep.sourceSymbol,
7201
7045
  sourceDecimals: effectiveStep.sourceDecimals,
7202
7046
  amountUsd: effectiveStep.inputAmountUsd,
7203
- hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _254 => _254.length])),
7047
+ hasPostBridgeActions: Boolean(_optionalChain([postBridgeActions, 'optionalAccess', _251 => _251.length])),
7204
7048
  service,
7205
7049
  directTransfer: effectiveStep.directTransfer,
7206
7050
  uiConfig,
@@ -7339,7 +7183,7 @@ function DepositHistoryPanel({
7339
7183
  );
7340
7184
  const visibleDeposits = _react.useMemo.call(void 0, () => {
7341
7185
  const sourceHashes = new Set(
7342
- deposits.map((d) => _optionalChain([d, 'access', _255 => _255.sourceTxHash, 'optionalAccess', _256 => _256.toLowerCase, 'call', _257 => _257()])).filter((h) => Boolean(h))
7186
+ deposits.map((d) => _optionalChain([d, 'access', _252 => _252.sourceTxHash, 'optionalAccess', _253 => _253.toLowerCase, 'call', _254 => _254()])).filter((h) => Boolean(h))
7343
7187
  );
7344
7188
  return deposits.filter(
7345
7189
  (d) => !(d.txHash && sourceHashes.has(d.txHash.toLowerCase()))
@@ -7361,7 +7205,7 @@ function DepositHistoryPanel({
7361
7205
  className: "rs-modal-header-back",
7362
7206
  "aria-label": "Back",
7363
7207
  onClick: onClose,
7364
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronLeftIcon, {})
7208
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ChevronLeftIcon, {})
7365
7209
  }
7366
7210
  ) }),
7367
7211
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: onCloseModal && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7371,29 +7215,29 @@ function DepositHistoryPanel({
7371
7215
  className: "rs-modal-close",
7372
7216
  "aria-label": "Close",
7373
7217
  onClick: onCloseModal,
7374
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CloseIcon, {})
7218
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.CloseIcon, {})
7375
7219
  }
7376
7220
  ) })
7377
7221
  ] }),
7378
7222
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen", children: [
7379
7223
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen-body", children: [
7380
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HistoryIcon, {}), title: "History" }),
7224
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.HistoryIcon, {}), title: "History" }),
7381
7225
  isLoading && deposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
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, {}) }),
7226
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.HistoryIcon, {}) }),
7383
7227
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
7384
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.Spinner, { className: "rs-spinner--sm" }),
7228
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.Spinner, { className: "rs-spinner--sm" }),
7385
7229
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Loading history\u2026" })
7386
7230
  ] })
7387
7231
  ] }),
7388
7232
  error && !isLoading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
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, {}) }),
7233
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.AlertTriangleIcon, {}) }),
7390
7234
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
7391
7235
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "Couldn't load history" }),
7392
7236
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: error })
7393
7237
  ] })
7394
7238
  ] }),
7395
7239
  !isLoading && !error && visibleDeposits.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty", children: [
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, {}) }),
7240
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.HistoryIcon, {}) }),
7397
7241
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
7398
7242
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "No deposits yet" }),
7399
7243
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Your deposit history will appear here" })
@@ -7413,7 +7257,7 @@ function DepositHistoryPanel({
7413
7257
  )
7414
7258
  ] })
7415
7259
  ] }),
7416
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
7260
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.PoweredBy, {})
7417
7261
  ] })
7418
7262
  ]
7419
7263
  }
@@ -7488,7 +7332,7 @@ function HistoryCard({ deposit }) {
7488
7332
  onClick: (e) => e.stopPropagation(),
7489
7333
  children: [
7490
7334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: shortenHash(deposit.sourceTxHash) }),
7491
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ArrowUpRightIcon, {})
7335
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ArrowUpRightIcon, {})
7492
7336
  ]
7493
7337
  }
7494
7338
  )
@@ -7503,7 +7347,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
7503
7347
  // src/DepositModal.tsx
7504
7348
 
7505
7349
  var ReownDepositInner = _react.lazy.call(void 0,
7506
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-KFTMS2WX.cjs"))).then((m) => ({ default: m.DepositModalReown }))
7350
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-FMAPWBQM.cjs"))).then((m) => ({ default: m.DepositModalReown }))
7507
7351
  );
7508
7352
  function sortByCreatedAtDesc(items) {
7509
7353
  return [...items].sort((a, b) => {
@@ -7582,12 +7426,12 @@ function DepositModalInner({
7582
7426
  debug
7583
7427
  }) {
7584
7428
  const modalRef = _react.useRef.call(void 0, null);
7585
- const onReadyRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onReady);
7429
+ const onReadyRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onReady);
7586
7430
  const [currentScreen, setCurrentScreen] = _react.useState.call(void 0, "connect");
7587
7431
  const [backHandler, setBackHandler] = _react.useState.call(void 0,
7588
7432
  void 0
7589
7433
  );
7590
- const showHistoryButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _258 => _258.showHistoryButton]), () => ( false));
7434
+ const showHistoryButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _255 => _255.showHistoryButton]), () => ( false));
7591
7435
  const historyButtonVisible = showHistoryButton && (currentScreen === "select-asset" || currentScreen === "deposit-address");
7592
7436
  const [historyOpen, setHistoryOpen] = _react.useState.call(void 0, false);
7593
7437
  const [historyDeposits, setHistoryDeposits] = _react.useState.call(void 0, []);
@@ -7601,19 +7445,19 @@ function DepositModalInner({
7601
7445
  const targetChain = targetChainProp === "solana" ? "solana" : _chunkABVRVW3Pcjs.getChainId.call(void 0, targetChainProp);
7602
7446
  const sourceChain = sourceChainProp ? _chunkABVRVW3Pcjs.getChainId.call(void 0, sourceChainProp) : void 0;
7603
7447
  const [recipientIsContract, setRecipientIsContract] = _react.useState.call(void 0, false);
7604
- const onErrorRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onError);
7448
+ const onErrorRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onError);
7605
7449
  _react.useEffect.call(void 0, () => {
7606
7450
  if (targetChain !== _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID || !_viem.isAddress.call(void 0, recipient, { strict: false })) {
7607
7451
  setRecipientIsContract(false);
7608
7452
  return;
7609
7453
  }
7610
7454
  let cancelled = false;
7611
- _chunkOQVLEVNRcjs.getHyperEvmReadClient.call(void 0, ).getCode({ address: recipient }).then((code) => {
7455
+ _chunkLJJCPDZOcjs.getHyperEvmReadClient.call(void 0, ).getCode({ address: recipient }).then((code) => {
7612
7456
  if (cancelled) return;
7613
7457
  const isContract = _chunkABVRVW3Pcjs.isContractBytecode.call(void 0, code);
7614
7458
  setRecipientIsContract(isContract);
7615
7459
  if (isContract) {
7616
- _optionalChain([onErrorRef, 'access', _259 => _259.current, 'optionalCall', _260 => _260({
7460
+ _optionalChain([onErrorRef, 'access', _256 => _256.current, 'optionalCall', _257 => _257({
7617
7461
  message: "HyperCore deposits require an EOA recipient; the configured recipient is a smart contract.",
7618
7462
  code: "HYPERCORE_RECIPIENT_NOT_EOA"
7619
7463
  })]);
@@ -7626,7 +7470,7 @@ function DepositModalInner({
7626
7470
  };
7627
7471
  }, [targetChain, recipient, onErrorRef]);
7628
7472
  const service = _react.useMemo.call(void 0,
7629
- () => _chunkOQVLEVNRcjs.createDepositService.call(void 0, backendUrl, {
7473
+ () => _chunkLJJCPDZOcjs.createDepositService.call(void 0, backendUrl, {
7630
7474
  debug,
7631
7475
  debugScope: "service:deposit"
7632
7476
  }),
@@ -7642,7 +7486,7 @@ function DepositModalInner({
7642
7486
  }, [store, targetChain, targetToken]);
7643
7487
  _react.useEffect.call(void 0, () => {
7644
7488
  if (isOpen && modalRef.current) {
7645
- _chunkOQVLEVNRcjs.applyTheme.call(void 0, modalRef.current, theme);
7489
+ _chunkLJJCPDZOcjs.applyTheme.call(void 0, modalRef.current, theme);
7646
7490
  }
7647
7491
  }, [isOpen, theme]);
7648
7492
  _react.useEffect.call(void 0, () => {
@@ -7650,7 +7494,7 @@ function DepositModalInner({
7650
7494
  }, [solanaRpcUrl]);
7651
7495
  _react.useEffect.call(void 0, () => {
7652
7496
  if (isOpen) {
7653
- _optionalChain([onReadyRef, 'access', _261 => _261.current, 'optionalCall', _262 => _262()]);
7497
+ _optionalChain([onReadyRef, 'access', _258 => _258.current, 'optionalCall', _259 => _259()]);
7654
7498
  }
7655
7499
  }, [isOpen, onReadyRef]);
7656
7500
  const handleStepChange = _react.useCallback.call(void 0,
@@ -7726,10 +7570,10 @@ function DepositModalInner({
7726
7570
  fetchHistory("initial");
7727
7571
  }
7728
7572
  }, [historyOpen, fetchHistory]);
7729
- const onLifecycleRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onLifecycle);
7573
+ const onLifecycleRef = _chunkLJJCPDZOcjs.useLatestRef.call(void 0, onLifecycle);
7730
7574
  const handleLifecycle = _react.useCallback.call(void 0,
7731
7575
  (event) => {
7732
- _optionalChain([onLifecycleRef, 'access', _263 => _263.current, 'optionalCall', _264 => _264(event)]);
7576
+ _optionalChain([onLifecycleRef, 'access', _260 => _260.current, 'optionalCall', _261 => _261(event)]);
7733
7577
  if (event.type === "smart-account-changed" && !event.evm && !event.solana) {
7734
7578
  historyStaleRef.current = true;
7735
7579
  }
@@ -7755,10 +7599,10 @@ function DepositModalInner({
7755
7599
  store.dispatch({ type: "flow/reset" });
7756
7600
  }
7757
7601
  }, [isOpen, store]);
7758
- const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _265 => _265.showBackButton]), () => ( true));
7602
+ const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _262 => _262.showBackButton]), () => ( true));
7759
7603
  const canGoBack = backHandler !== void 0;
7760
7604
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7761
- _chunkOQVLEVNRcjs.Modal,
7605
+ _chunkLJJCPDZOcjs.Modal,
7762
7606
  {
7763
7607
  isOpen,
7764
7608
  onClose,
@@ -7774,7 +7618,7 @@ function DepositModalInner({
7774
7618
  className: "rs-modal-header-back",
7775
7619
  "aria-label": "Go back",
7776
7620
  onClick: backHandler,
7777
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronLeftIcon, {})
7621
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.ChevronLeftIcon, {})
7778
7622
  }
7779
7623
  ) }),
7780
7624
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-header-nav-right", children: [
@@ -7786,7 +7630,7 @@ function DepositModalInner({
7786
7630
  "aria-label": "Deposit history",
7787
7631
  onClick: handleHistoryOpen,
7788
7632
  disabled: !recipient,
7789
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HistoryIcon, {})
7633
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.HistoryIcon, {})
7790
7634
  }
7791
7635
  ),
7792
7636
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7796,12 +7640,12 @@ function DepositModalInner({
7796
7640
  onClick: onClose,
7797
7641
  className: "rs-modal-close",
7798
7642
  "aria-label": "Close",
7799
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CloseIcon, {})
7643
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.CloseIcon, {})
7800
7644
  }
7801
7645
  )
7802
7646
  ] })
7803
7647
  ] }),
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,
7648
+ recipientIsContract ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJJCPDZOcjs.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,
7805
7649
  DepositFlow,
7806
7650
  {
7807
7651
  dappWalletClient,