@rhinestone/deposit-modal 0.0.0-dev-20260617120607 → 0.0.0-dev-20260617160708

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 _chunkFF27W35Dcjs = require('./chunk-FF27W35D.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 _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.useLatestRef.call(void 0, onTotalBalanceComputed);
152
+ const onAssetsLoadedRef = _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.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 _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.BodyHeader,
257
258
  {
258
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
259
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 ? _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.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(_chunkFF27W35Dcjs.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 _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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: _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.Callout, { variant: "error", children: error }),
822
823
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
823
- _chunkOQVLEVNRcjs.Button,
824
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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(_chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.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(_chunkFF27W35Dcjs.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 (_chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.Callout, { variant: "error", children: error }),
1075
1076
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1076
- _chunkOQVLEVNRcjs.Button,
1077
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.getEventTxHash.call(void 0, event);
1111
1112
  if (!eventTxHash) return false;
1112
- return _chunkOQVLEVNRcjs.txRefsMatch.call(void 0, eventTxHash, txHash);
1113
+ return _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.useLatestRef.call(void 0, onComplete);
1208
+ const onFailedRef = _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkFF27W35Dcjs.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 || !_chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1862
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.InfoIcon, { "aria-hidden": "true" })
1971
1972
  }
1972
1973
  )
1973
1974
  ] }),
1974
1975
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1975
- _chunkOQVLEVNRcjs.ChevronDownIcon,
1976
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.CheckIcon, {}) : status === "failed" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.CloseIcon, {}) : status === "active" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkFF27W35Dcjs.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 || !_chunkFF27W35Dcjs.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 (_chunkFF27W35Dcjs.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: _chunkFF27W35Dcjs.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(_chunkFF27W35Dcjs.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 (!_chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.PoweredBy, {})
2458
2449
  ] });
2459
2450
  }
2460
2451
  function deriveStepStates(swappedStatus, latestEvent) {
2461
- if (_chunkOQVLEVNRcjs.isFailedEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))) {
2452
+ if (_chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.BodyHeader,
2772
2659
  {
2773
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.UnplugIcon, {}),
2660
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.Tooltip, { content: "Minimum deposit amount required for the selected chain.", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2768
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.InfoIcon, { "aria-hidden": "true" })
2938
2825
  }
2939
2826
  )
2940
2827
  ] }),
2941
2828
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2942
- _chunkOQVLEVNRcjs.ChevronDownIcon,
2829
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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 _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.BodyHeader,
3068
2955
  {
3069
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
2956
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 ? _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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: _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.Callout, { variant: "error", children: error }),
3429
3316
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3430
- _chunkOQVLEVNRcjs.Button,
3317
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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(_chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.formatUserError.call(void 0, raw);
3563
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.Callout, { variant: "error", children: error }),
3742
3629
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3743
- _chunkOQVLEVNRcjs.Button,
3630
+ _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.BodyHeader,
3769
3656
  {
3770
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
3657
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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 ? _chunkFF27W35Dcjs.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 ? _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.BodyHeader,
3848
3735
  {
3849
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.WalletIcon, {}),
3736
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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, _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
5014
4901
  if (local) {
5015
4902
  return {
5016
- account: _chunkOQVLEVNRcjs.accountFromPrivateKey.call(void 0, local.privateKey),
4903
+ account: _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.createSessionOwnerKey.call(void 0, );
4908
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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 = _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
+ _chunkFF27W35Dcjs.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
  });
@@ -5469,10 +5356,10 @@ function DepositFlow({
5469
5356
  onError,
5470
5357
  debug
5471
5358
  }) {
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);
5359
+ const onStepChangeRef = _chunkFF27W35Dcjs.useLatestRef.call(void 0, onStepChange);
5360
+ const onEventRef = _chunkFF27W35Dcjs.useLatestRef.call(void 0, onEvent);
5361
+ const onLifecycleRef = _chunkFF27W35Dcjs.useLatestRef.call(void 0, onLifecycle);
5362
+ const onErrorRef = _chunkFF27W35Dcjs.useLatestRef.call(void 0, onError);
5476
5363
  const hasInitialReownSession = Boolean(
5477
5364
  enableSolana ? _optionalChain([reownWallet, 'optionalAccess', _139 => _139.isConnected]) || _optionalChain([reownWallet, 'optionalAccess', _140 => _140.address]) : _optionalChain([reownWallet, 'optionalAccess', _141 => _141.address])
5478
5365
  );
@@ -5497,13 +5384,13 @@ function DepositFlow({
5497
5384
  const stableWalletSelectionKeyRef = _react.useRef.call(void 0, null);
5498
5385
  const logFlow = _react.useCallback.call(void 0,
5499
5386
  (message, data) => {
5500
- _chunkOQVLEVNRcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
5387
+ _chunkFF27W35Dcjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
5501
5388
  },
5502
5389
  [debug]
5503
5390
  );
5504
5391
  const logFlowError = _react.useCallback.call(void 0,
5505
5392
  (message, error, data) => {
5506
- _chunkOQVLEVNRcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
5393
+ _chunkFF27W35Dcjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
5507
5394
  },
5508
5395
  [debug]
5509
5396
  );
@@ -5649,7 +5536,7 @@ function DepositFlow({
5649
5536
  return {
5650
5537
  ownerAddress: dappAddress,
5651
5538
  walletClient: void 0,
5652
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5539
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkFF27W35Dcjs.getPublicClient.call(void 0, setupChainId))),
5653
5540
  switchChain: void 0
5654
5541
  };
5655
5542
  }
@@ -5658,7 +5545,7 @@ function DepositFlow({
5658
5545
  return {
5659
5546
  ownerAddress: dappWalletClient.account.address,
5660
5547
  walletClient: dappWalletClient,
5661
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, fallbackChainId))),
5548
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkFF27W35Dcjs.getPublicClient.call(void 0, fallbackChainId))),
5662
5549
  switchChain: dappSwitchChain
5663
5550
  };
5664
5551
  }
@@ -5672,7 +5559,7 @@ function DepositFlow({
5672
5559
  return {
5673
5560
  ownerAddress: dappAddress,
5674
5561
  walletClient: void 0,
5675
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5562
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkFF27W35Dcjs.getPublicClient.call(void 0, setupChainId))),
5676
5563
  switchChain: void 0
5677
5564
  };
5678
5565
  }
@@ -5681,7 +5568,7 @@ function DepositFlow({
5681
5568
  return {
5682
5569
  ownerAddress: dappWalletClient.account.address,
5683
5570
  walletClient: dappWalletClient,
5684
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, fallbackChainId))),
5571
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkFF27W35Dcjs.getPublicClient.call(void 0, fallbackChainId))),
5685
5572
  switchChain: dappSwitchChain
5686
5573
  };
5687
5574
  }
@@ -5689,7 +5576,7 @@ function DepositFlow({
5689
5576
  return {
5690
5577
  ownerAddress: reownWallet.address,
5691
5578
  walletClient: reownWallet.walletClient,
5692
- publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5579
+ publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkFF27W35Dcjs.getPublicClient.call(void 0, setupChainId))),
5693
5580
  switchChain: reownWallet.switchChain
5694
5581
  };
5695
5582
  }
@@ -5727,7 +5614,7 @@ function DepositFlow({
5727
5614
  return {
5728
5615
  ownerAddress: dappAddress,
5729
5616
  walletClient: void 0,
5730
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkOQVLEVNRcjs.getPublicClient.call(void 0, setupChainId))),
5617
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkFF27W35Dcjs.getPublicClient.call(void 0, setupChainId))),
5731
5618
  switchChain: void 0
5732
5619
  };
5733
5620
  }
@@ -6050,7 +5937,7 @@ function DepositFlow({
6050
5937
  eoa: dappImportOwner,
6051
5938
  getPublicClient: (chainId) => {
6052
5939
  try {
6053
- return _chunkOQVLEVNRcjs.getPublicClient.call(void 0, chainId);
5940
+ return _chunkFF27W35Dcjs.getPublicClient.call(void 0, chainId);
6054
5941
  } catch (e29) {
6055
5942
  return null;
6056
5943
  }
@@ -6318,7 +6205,7 @@ function DepositFlow({
6318
6205
  try {
6319
6206
  sessionOwner = await resolveSessionOwner(owner);
6320
6207
  } catch (error) {
6321
- _chunkOQVLEVNRcjs.debugError.call(void 0,
6208
+ _chunkFF27W35Dcjs.debugError.call(void 0,
6322
6209
  debug,
6323
6210
  "deposit-flow",
6324
6211
  "session-owner:resolve-failed",
@@ -6697,7 +6584,7 @@ function DepositFlow({
6697
6584
  );
6698
6585
  if (showConnectStep) {
6699
6586
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6700
- _chunkOQVLEVNRcjs.ConnectStep,
6587
+ _chunkFF27W35Dcjs.ConnectStep,
6701
6588
  {
6702
6589
  walletRows,
6703
6590
  transferCryptoState: dappAddress ? transferCryptoState : void 0,
@@ -6827,7 +6714,7 @@ function DepositFlow({
6827
6714
  }
6828
6715
  ),
6829
6716
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6830
- _chunkOQVLEVNRcjs.ProcessingStep,
6717
+ _chunkFF27W35Dcjs.ProcessingStep,
6831
6718
  {
6832
6719
  smartAccount: step.smartAccount,
6833
6720
  solanaDepositAddress: step.solanaDepositAddress,
@@ -6894,7 +6781,7 @@ function DepositFlow({
6894
6781
  }
6895
6782
  ),
6896
6783
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6897
- _chunkOQVLEVNRcjs.ProcessingStep,
6784
+ _chunkFF27W35Dcjs.ProcessingStep,
6898
6785
  {
6899
6786
  smartAccount: step.smartAccount,
6900
6787
  solanaDepositAddress: step.solanaDepositAddress,
@@ -7024,7 +6911,7 @@ function DepositFlow({
7024
6911
  ) })
7025
6912
  ] }) : null,
7026
6913
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7027
- _chunkOQVLEVNRcjs.ProcessingStep,
6914
+ _chunkFF27W35Dcjs.ProcessingStep,
7028
6915
  {
7029
6916
  smartAccount: effectiveStep.smartAccount,
7030
6917
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -7077,7 +6964,7 @@ function DepositFlow({
7077
6964
  if (_optionalChain([signerContext, 'access', _247 => _247.publicClient, 'access', _248 => _248.chain, 'optionalAccess', _249 => _249.id]) === chainId) {
7078
6965
  return signerContext.publicClient;
7079
6966
  }
7080
- return _chunkOQVLEVNRcjs.getPublicClient.call(void 0, chainId);
6967
+ return _chunkFF27W35Dcjs.getPublicClient.call(void 0, chainId);
7081
6968
  };
7082
6969
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
7083
6970
  effectiveStep.type === "setup" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7187,7 +7074,7 @@ function DepositFlow({
7187
7074
  }
7188
7075
  ),
7189
7076
  effectiveStep.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7190
- _chunkOQVLEVNRcjs.ProcessingStep,
7077
+ _chunkFF27W35Dcjs.ProcessingStep,
7191
7078
  {
7192
7079
  smartAccount: effectiveStep.smartAccount,
7193
7080
  solanaDepositAddress: effectiveStep.solanaDepositAddress,
@@ -7361,7 +7248,7 @@ function DepositHistoryPanel({
7361
7248
  className: "rs-modal-header-back",
7362
7249
  "aria-label": "Back",
7363
7250
  onClick: onClose,
7364
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronLeftIcon, {})
7251
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.ChevronLeftIcon, {})
7365
7252
  }
7366
7253
  ) }),
7367
7254
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: onCloseModal && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7371,29 +7258,29 @@ function DepositHistoryPanel({
7371
7258
  className: "rs-modal-close",
7372
7259
  "aria-label": "Close",
7373
7260
  onClick: onCloseModal,
7374
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CloseIcon, {})
7261
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.CloseIcon, {})
7375
7262
  }
7376
7263
  ) })
7377
7264
  ] }),
7378
7265
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-screen", children: [
7379
7266
  /* @__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" }),
7267
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.HistoryIcon, {}), title: "History" }),
7381
7268
  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, {}) }),
7269
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.HistoryIcon, {}) }),
7383
7270
  /* @__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" }),
7271
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.Spinner, { className: "rs-spinner--sm" }),
7385
7272
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Loading history\u2026" })
7386
7273
  ] })
7387
7274
  ] }),
7388
7275
  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, {}) }),
7276
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.AlertTriangleIcon, {}) }),
7390
7277
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
7391
7278
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "Couldn't load history" }),
7392
7279
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: error })
7393
7280
  ] })
7394
7281
  ] }),
7395
7282
  !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, {}) }),
7283
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-glyph", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.HistoryIcon, {}) }),
7397
7284
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-history-empty-text", children: [
7398
7285
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-title", children: "No deposits yet" }),
7399
7286
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-history-empty-hint", children: "Your deposit history will appear here" })
@@ -7413,7 +7300,7 @@ function DepositHistoryPanel({
7413
7300
  )
7414
7301
  ] })
7415
7302
  ] }),
7416
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.PoweredBy, {})
7303
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.PoweredBy, {})
7417
7304
  ] })
7418
7305
  ]
7419
7306
  }
@@ -7488,7 +7375,7 @@ function HistoryCard({ deposit }) {
7488
7375
  onClick: (e) => e.stopPropagation(),
7489
7376
  children: [
7490
7377
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: shortenHash(deposit.sourceTxHash) }),
7491
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ArrowUpRightIcon, {})
7378
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.ArrowUpRightIcon, {})
7492
7379
  ]
7493
7380
  }
7494
7381
  )
@@ -7503,7 +7390,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
7503
7390
  // src/DepositModal.tsx
7504
7391
 
7505
7392
  var ReownDepositInner = _react.lazy.call(void 0,
7506
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-KFTMS2WX.cjs"))).then((m) => ({ default: m.DepositModalReown }))
7393
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-TE5QXBVM.cjs"))).then((m) => ({ default: m.DepositModalReown }))
7507
7394
  );
7508
7395
  function sortByCreatedAtDesc(items) {
7509
7396
  return [...items].sort((a, b) => {
@@ -7582,7 +7469,7 @@ function DepositModalInner({
7582
7469
  debug
7583
7470
  }) {
7584
7471
  const modalRef = _react.useRef.call(void 0, null);
7585
- const onReadyRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onReady);
7472
+ const onReadyRef = _chunkFF27W35Dcjs.useLatestRef.call(void 0, onReady);
7586
7473
  const [currentScreen, setCurrentScreen] = _react.useState.call(void 0, "connect");
7587
7474
  const [backHandler, setBackHandler] = _react.useState.call(void 0,
7588
7475
  void 0
@@ -7601,14 +7488,14 @@ function DepositModalInner({
7601
7488
  const targetChain = targetChainProp === "solana" ? "solana" : _chunkABVRVW3Pcjs.getChainId.call(void 0, targetChainProp);
7602
7489
  const sourceChain = sourceChainProp ? _chunkABVRVW3Pcjs.getChainId.call(void 0, sourceChainProp) : void 0;
7603
7490
  const [recipientIsContract, setRecipientIsContract] = _react.useState.call(void 0, false);
7604
- const onErrorRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onError);
7491
+ const onErrorRef = _chunkFF27W35Dcjs.useLatestRef.call(void 0, onError);
7605
7492
  _react.useEffect.call(void 0, () => {
7606
7493
  if (targetChain !== _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID || !_viem.isAddress.call(void 0, recipient, { strict: false })) {
7607
7494
  setRecipientIsContract(false);
7608
7495
  return;
7609
7496
  }
7610
7497
  let cancelled = false;
7611
- _chunkOQVLEVNRcjs.getHyperEvmReadClient.call(void 0, ).getCode({ address: recipient }).then((code) => {
7498
+ _chunkFF27W35Dcjs.getHyperEvmReadClient.call(void 0, ).getCode({ address: recipient }).then((code) => {
7612
7499
  if (cancelled) return;
7613
7500
  const isContract = _chunkABVRVW3Pcjs.isContractBytecode.call(void 0, code);
7614
7501
  setRecipientIsContract(isContract);
@@ -7626,7 +7513,7 @@ function DepositModalInner({
7626
7513
  };
7627
7514
  }, [targetChain, recipient, onErrorRef]);
7628
7515
  const service = _react.useMemo.call(void 0,
7629
- () => _chunkOQVLEVNRcjs.createDepositService.call(void 0, backendUrl, {
7516
+ () => _chunkFF27W35Dcjs.createDepositService.call(void 0, backendUrl, {
7630
7517
  debug,
7631
7518
  debugScope: "service:deposit"
7632
7519
  }),
@@ -7642,7 +7529,7 @@ function DepositModalInner({
7642
7529
  }, [store, targetChain, targetToken]);
7643
7530
  _react.useEffect.call(void 0, () => {
7644
7531
  if (isOpen && modalRef.current) {
7645
- _chunkOQVLEVNRcjs.applyTheme.call(void 0, modalRef.current, theme);
7532
+ _chunkFF27W35Dcjs.applyTheme.call(void 0, modalRef.current, theme);
7646
7533
  }
7647
7534
  }, [isOpen, theme]);
7648
7535
  _react.useEffect.call(void 0, () => {
@@ -7726,7 +7613,7 @@ function DepositModalInner({
7726
7613
  fetchHistory("initial");
7727
7614
  }
7728
7615
  }, [historyOpen, fetchHistory]);
7729
- const onLifecycleRef = _chunkOQVLEVNRcjs.useLatestRef.call(void 0, onLifecycle);
7616
+ const onLifecycleRef = _chunkFF27W35Dcjs.useLatestRef.call(void 0, onLifecycle);
7730
7617
  const handleLifecycle = _react.useCallback.call(void 0,
7731
7618
  (event) => {
7732
7619
  _optionalChain([onLifecycleRef, 'access', _263 => _263.current, 'optionalCall', _264 => _264(event)]);
@@ -7758,7 +7645,7 @@ function DepositModalInner({
7758
7645
  const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _265 => _265.showBackButton]), () => ( true));
7759
7646
  const canGoBack = backHandler !== void 0;
7760
7647
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7761
- _chunkOQVLEVNRcjs.Modal,
7648
+ _chunkFF27W35Dcjs.Modal,
7762
7649
  {
7763
7650
  isOpen,
7764
7651
  onClose,
@@ -7774,7 +7661,7 @@ function DepositModalInner({
7774
7661
  className: "rs-modal-header-back",
7775
7662
  "aria-label": "Go back",
7776
7663
  onClick: backHandler,
7777
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.ChevronLeftIcon, {})
7664
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.ChevronLeftIcon, {})
7778
7665
  }
7779
7666
  ) }),
7780
7667
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-header-nav-right", children: [
@@ -7786,7 +7673,7 @@ function DepositModalInner({
7786
7673
  "aria-label": "Deposit history",
7787
7674
  onClick: handleHistoryOpen,
7788
7675
  disabled: !recipient,
7789
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.HistoryIcon, {})
7676
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.HistoryIcon, {})
7790
7677
  }
7791
7678
  ),
7792
7679
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7796,12 +7683,12 @@ function DepositModalInner({
7796
7683
  onClick: onClose,
7797
7684
  className: "rs-modal-close",
7798
7685
  "aria-label": "Close",
7799
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQVLEVNRcjs.CloseIcon, {})
7686
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.CloseIcon, {})
7800
7687
  }
7801
7688
  )
7802
7689
  ] })
7803
7690
  ] }),
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,
7691
+ recipientIsContract ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFF27W35Dcjs.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
7692
  DepositFlow,
7806
7693
  {
7807
7694
  dappWalletClient,