@rhinestone/deposit-modal 0.1.46 → 0.1.47

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.
@@ -25,7 +25,7 @@
25
25
 
26
26
 
27
27
 
28
- var _chunk55QIUUIScjs = require('./chunk-55QIUUIS.cjs');
28
+ var _chunkLT3QKJI2cjs = require('./chunk-LT3QKJI2.cjs');
29
29
 
30
30
 
31
31
 
@@ -41,7 +41,7 @@ var _chunk55QIUUIScjs = require('./chunk-55QIUUIS.cjs');
41
41
 
42
42
 
43
43
 
44
- var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
44
+ var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
45
45
 
46
46
  // src/DepositModal.tsx
47
47
 
@@ -62,15 +62,15 @@ var _viem = require('viem');
62
62
 
63
63
  var _jsxruntime = require('react/jsx-runtime');
64
64
  async function resolveSessionOwner(eoaAddress) {
65
- const localOwner = _chunk55QIUUIScjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
65
+ const localOwner = _chunkLT3QKJI2cjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
66
66
  if (localOwner) {
67
67
  return {
68
- account: _chunk55QIUUIScjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
68
+ account: _chunkLT3QKJI2cjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
69
69
  address: localOwner.address
70
70
  };
71
71
  }
72
- const created = _chunk55QIUUIScjs.createSessionOwnerKey.call(void 0, );
73
- _chunk55QIUUIScjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
72
+ const created = _chunkLT3QKJI2cjs.createSessionOwnerKey.call(void 0, );
73
+ _chunkLT3QKJI2cjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
74
74
  return {
75
75
  account: created.account,
76
76
  address: created.address
@@ -105,7 +105,7 @@ function SetupStep({
105
105
  const setup = await service.setupAccount({
106
106
  ownerAddress: address,
107
107
  sessionOwnerAddress: sessionOwner.address,
108
- targetChain: _chunk55QIUUIScjs.toEvmCaip2.call(void 0, targetChain),
108
+ targetChain: _chunkLT3QKJI2cjs.toEvmCaip2.call(void 0, targetChain),
109
109
  targetToken,
110
110
  signerAddress,
111
111
  sessionChainIds,
@@ -132,7 +132,7 @@ function SetupStep({
132
132
  primaryType: typedData.primaryType,
133
133
  message: typedData.message
134
134
  });
135
- const sessionDetails = _chunk55QIUUIScjs.buildSessionDetails.call(void 0, setup.sessionDetailsUnsigned, signature);
135
+ const sessionDetails = _chunkLT3QKJI2cjs.buildSessionDetails.call(void 0, setup.sessionDetailsUnsigned, signature);
136
136
  setState({ type: "registering" });
137
137
  const registerResult = await service.registerAccount({
138
138
  address: smartAccount,
@@ -144,7 +144,7 @@ function SetupStep({
144
144
  eoaAddress: address,
145
145
  sessionOwner: sessionOwner.address,
146
146
  target: {
147
- chain: _chunk55QIUUIScjs.toEvmCaip2.call(void 0, targetChain),
147
+ chain: _chunkLT3QKJI2cjs.toEvmCaip2.call(void 0, targetChain),
148
148
  token: targetToken,
149
149
  ...recipient && { recipient }
150
150
  }
@@ -203,7 +203,7 @@ function SetupStep({
203
203
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-step", children: [
204
204
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", children: [
205
205
  isLoading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
206
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.Spinner, { className: "rs-spinner--lg rs-text-accent" }),
206
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.Spinner, { className: "rs-spinner--lg rs-text-accent" }),
207
207
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-text", children: [
208
208
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-loading-title", children: renderStateMessage() }),
209
209
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-loading-subtitle", children: "This may take a moment" })
@@ -240,7 +240,7 @@ function SetupStep({
240
240
  ] })
241
241
  ] })
242
242
  ] }),
243
- isError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.Button, { onClick: handleRetry, variant: "default", fullWidth: true, children: "Try Again" }) })
243
+ isError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.Button, { onClick: handleRetry, variant: "default", fullWidth: true, children: "Try Again" }) })
244
244
  ] });
245
245
  }
246
246
 
@@ -264,7 +264,7 @@ function AssetSelectStep({
264
264
  const [error, setError] = _react.useState.call(void 0, null);
265
265
  const defaultAssetId = _react.useMemo.call(void 0, () => {
266
266
  if (!defaultSourceChain || !defaultSourceToken) return null;
267
- return _chunk55QIUUIScjs.getAssetId.call(void 0, {
267
+ return _chunkLT3QKJI2cjs.getAssetId.call(void 0, {
268
268
  chainId: defaultSourceChain,
269
269
  token: defaultSourceToken
270
270
  });
@@ -281,10 +281,10 @@ function AssetSelectStep({
281
281
  try {
282
282
  const portfolio = await service.fetchPortfolio(address);
283
283
  if (!active) return;
284
- const portfolioAssets = _chunk55QIUUIScjs.portfolioToAssets.call(void 0, portfolio.tokens);
284
+ const portfolioAssets = _chunkLT3QKJI2cjs.portfolioToAssets.call(void 0, portfolio.tokens);
285
285
  setAssets(portfolioAssets);
286
286
  const hasNative = portfolioAssets.some(
287
- (asset) => asset.token.toLowerCase() === _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS
287
+ (asset) => asset.token.toLowerCase() === _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS
288
288
  );
289
289
  if (!hasNative) {
290
290
  const nativeAssets = await fetchNativeAssets(
@@ -350,7 +350,7 @@ function AssetSelectStep({
350
350
  const raw = _viem.formatUnits.call(void 0, BigInt(asset.balance), asset.decimals);
351
351
  const numeric = Number(raw);
352
352
  if (!Number.isFinite(numeric)) return raw;
353
- return _chunk55QIUUIScjs.tokenFormatter.format(numeric);
353
+ return _chunkLT3QKJI2cjs.tokenFormatter.format(numeric);
354
354
  } catch (e3) {
355
355
  return asset.balance;
356
356
  }
@@ -364,7 +364,7 @@ function AssetSelectStep({
364
364
  style: { paddingTop: 4, overflow: "auto", maxHeight: 340 },
365
365
  children: [
366
366
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
367
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.Spinner, { className: "rs-text-tertiary" }),
367
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.Spinner, { className: "rs-text-tertiary" }),
368
368
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
369
369
  ] }),
370
370
  error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-alert rs-alert--error", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-alert-text", children: error }) }),
@@ -397,9 +397,9 @@ function AssetSelectStep({
397
397
  !loading && !error && rows.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-list", children: rows.map((asset) => {
398
398
  const isSelected = selectedAssetId === asset.id;
399
399
  const tokenAmount = formatBalance(asset);
400
- const badge = _chunkZNHU72LIcjs.getChainBadge.call(void 0, asset.chainId);
401
- const tokenIcon = _chunkZNHU72LIcjs.getTokenIcon.call(void 0, asset.symbol);
402
- const chainIcon = _chunkZNHU72LIcjs.getChainIcon.call(void 0, asset.chainId);
400
+ const badge = _chunkNELAYNA3cjs.getChainBadge.call(void 0, asset.chainId);
401
+ const tokenIcon = _chunkNELAYNA3cjs.getTokenIcon.call(void 0, asset.symbol);
402
+ const chainIcon = _chunkNELAYNA3cjs.getChainIcon.call(void 0, asset.chainId);
403
403
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
404
404
  "button",
405
405
  {
@@ -423,7 +423,7 @@ function AssetSelectStep({
423
423
  "img",
424
424
  {
425
425
  src: chainIcon,
426
- alt: _chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId),
426
+ alt: _chunkNELAYNA3cjs.getChainName.call(void 0, asset.chainId),
427
427
  className: "rs-asset-chain-badge"
428
428
  }
429
429
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -444,7 +444,7 @@ function AssetSelectStep({
444
444
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-asset-chain", children: [
445
445
  " ",
446
446
  "on ",
447
- _chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId)
447
+ _chunkNELAYNA3cjs.getChainName.call(void 0, asset.chainId)
448
448
  ] })
449
449
  ] }),
450
450
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-asset-balance-small", children: [
@@ -454,7 +454,7 @@ function AssetSelectStep({
454
454
  ] })
455
455
  ] })
456
456
  ] }),
457
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunk55QIUUIScjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
457
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: asset.balanceUsd !== void 0 && asset.balanceUsd > 0 ? _chunkLT3QKJI2cjs.currencyFormatter.format(asset.balanceUsd) : tokenAmount !== "--" ? `${tokenAmount} ${asset.symbol}` : "--" })
458
458
  ]
459
459
  },
460
460
  asset.id
@@ -464,7 +464,7 @@ function AssetSelectStep({
464
464
  }
465
465
  ),
466
466
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
467
- _chunk55QIUUIScjs.Button,
467
+ _chunkLT3QKJI2cjs.Button,
468
468
  {
469
469
  onClick: () => selectedAsset && onContinue(selectedAsset),
470
470
  disabled: !selectedAsset,
@@ -472,17 +472,17 @@ function AssetSelectStep({
472
472
  children: "Continue"
473
473
  }
474
474
  ) }),
475
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.PoweredBy, {})
475
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.PoweredBy, {})
476
476
  ] });
477
477
  }
478
478
  async function fetchNativeAssets(address, publicClient, existing) {
479
479
  const existingIds = new Set(existing.map((asset) => asset.id));
480
480
  const connectedChainId = _optionalChain([publicClient, 'access', _6 => _6.chain, 'optionalAccess', _7 => _7.id]);
481
481
  if (!connectedChainId) return [];
482
- if (!_chunkZNHU72LIcjs.SOURCE_CHAINS.some((chain) => chain.id === connectedChainId)) return [];
483
- const id = _chunk55QIUUIScjs.getAssetId.call(void 0, {
482
+ if (!_chunkNELAYNA3cjs.SOURCE_CHAINS.some((chain) => chain.id === connectedChainId)) return [];
483
+ const id = _chunkLT3QKJI2cjs.getAssetId.call(void 0, {
484
484
  chainId: connectedChainId,
485
- token: _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS
485
+ token: _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS
486
486
  });
487
487
  if (existingIds.has(id)) return [];
488
488
  try {
@@ -491,7 +491,7 @@ async function fetchNativeAssets(address, publicClient, existing) {
491
491
  {
492
492
  id,
493
493
  chainId: connectedChainId,
494
- token: _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS,
494
+ token: _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS,
495
495
  symbol: "ETH",
496
496
  name: "Ethereum",
497
497
  decimals: 18,
@@ -541,8 +541,8 @@ function AmountStep({
541
541
  const chainMismatch = Boolean(
542
542
  _optionalChain([walletClient, 'optionalAccess', _8 => _8.chain, 'optionalAccess', _9 => _9.id]) && walletClient.chain.id !== asset.chainId
543
543
  );
544
- const targetSymbol = _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
545
- const isSourceStablecoin = _chunkZNHU72LIcjs.isStablecoinSymbol.call(void 0, asset.symbol);
544
+ const targetSymbol = _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
545
+ const isSourceStablecoin = _chunkNELAYNA3cjs.isStablecoinSymbol.call(void 0, asset.symbol);
546
546
  const tokenPriceUsd = _react.useMemo.call(void 0, () => {
547
547
  if (tokenPriceUsdOverride !== void 0 && tokenPriceUsdOverride > 0)
548
548
  return tokenPriceUsdOverride;
@@ -566,7 +566,7 @@ function AmountStep({
566
566
  const balanceTarget = _nullishCoalesce(balanceAddress, () => ( address));
567
567
  if (!balanceTarget || !publicClient) return;
568
568
  try {
569
- const bal = _chunk55QIUUIScjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
569
+ const bal = _chunkLT3QKJI2cjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: balanceTarget }) : await publicClient.readContract({
570
570
  address: asset.token,
571
571
  abi: _viem.erc20Abi,
572
572
  functionName: "balanceOf",
@@ -592,7 +592,7 @@ function AmountStep({
592
592
  setIsSwitching(true);
593
593
  switchChain(asset.chainId).catch((err) => {
594
594
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
595
- setError(_chunk55QIUUIScjs.formatUserError.call(void 0, raw));
595
+ setError(_chunkLT3QKJI2cjs.formatUserError.call(void 0, raw));
596
596
  }).finally(() => {
597
597
  setIsSwitching(false);
598
598
  });
@@ -628,7 +628,7 @@ function AmountStep({
628
628
  const raw = _viem.formatUnits.call(void 0, balance, asset.decimals);
629
629
  const numeric = Number(raw);
630
630
  if (!Number.isFinite(numeric)) return raw;
631
- return _chunk55QIUUIScjs.tokenFormatter.format(numeric);
631
+ return _chunkLT3QKJI2cjs.tokenFormatter.format(numeric);
632
632
  } catch (e8) {
633
633
  return "...";
634
634
  }
@@ -670,13 +670,13 @@ function AmountStep({
670
670
  const usdValue = numericAmount;
671
671
  if (_optionalChain([uiConfig, 'optionalAccess', _11 => _11.maxDepositUsd]) && usdValue > uiConfig.maxDepositUsd) {
672
672
  setError(
673
- `Maximum deposit is ${_chunk55QIUUIScjs.currencyFormatter.format(uiConfig.maxDepositUsd)}`
673
+ `Maximum deposit is ${_chunkLT3QKJI2cjs.currencyFormatter.format(uiConfig.maxDepositUsd)}`
674
674
  );
675
675
  return;
676
676
  }
677
677
  if (_optionalChain([uiConfig, 'optionalAccess', _12 => _12.minDepositUsd]) && usdValue < uiConfig.minDepositUsd) {
678
678
  setError(
679
- `Minimum deposit is ${_chunk55QIUUIScjs.currencyFormatter.format(uiConfig.minDepositUsd)}`
679
+ `Minimum deposit is ${_chunkLT3QKJI2cjs.currencyFormatter.format(uiConfig.minDepositUsd)}`
680
680
  );
681
681
  return;
682
682
  }
@@ -725,7 +725,7 @@ function AmountStep({
725
725
  hasPricing && balanceUsd !== null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { style: { color: "var(--rs-muted-foreground)" }, children: [
726
726
  " ",
727
727
  "(",
728
- _chunk55QIUUIScjs.currencyFormatter.format(balanceUsd),
728
+ _chunkLT3QKJI2cjs.currencyFormatter.format(balanceUsd),
729
729
  ")"
730
730
  ] })
731
731
  ] }) })
@@ -739,26 +739,26 @@ function AmountStep({
739
739
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-flow-pill-label", children: "You send" }),
740
740
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-flow-pill-token", children: [
741
741
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-flow-pill-token-icon-wrapper", children: [
742
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-flow-pill-token-icon", children: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, asset.symbol) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
742
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-flow-pill-token-icon", children: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, asset.symbol) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
743
743
  "img",
744
744
  {
745
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, asset.symbol),
745
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, asset.symbol),
746
746
  alt: asset.symbol
747
747
  }
748
748
  ) : asset.symbol.slice(0, 2) }),
749
749
  (() => {
750
- const chainIcon = _chunkZNHU72LIcjs.getChainIcon.call(void 0, asset.chainId);
750
+ const chainIcon = _chunkNELAYNA3cjs.getChainIcon.call(void 0, asset.chainId);
751
751
  if (chainIcon) {
752
752
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
753
753
  "img",
754
754
  {
755
755
  src: chainIcon,
756
- alt: _chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId),
756
+ alt: _chunkNELAYNA3cjs.getChainName.call(void 0, asset.chainId),
757
757
  className: "rs-flow-pill-chain-badge"
758
758
  }
759
759
  );
760
760
  }
761
- const badge = _chunkZNHU72LIcjs.getChainBadge.call(void 0, asset.chainId);
761
+ const badge = _chunkNELAYNA3cjs.getChainBadge.call(void 0, asset.chainId);
762
762
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
763
763
  "div",
764
764
  {
@@ -796,26 +796,26 @@ function AmountStep({
796
796
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-flow-pill-label", children: "You receive" }),
797
797
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-flow-pill-token", children: [
798
798
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-flow-pill-token-icon-wrapper", children: [
799
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-flow-pill-token-icon", children: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, targetSymbol) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
799
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-flow-pill-token-icon", children: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, targetSymbol) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
800
800
  "img",
801
801
  {
802
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, targetSymbol),
802
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, targetSymbol),
803
803
  alt: targetSymbol
804
804
  }
805
805
  ) : targetSymbol.slice(0, 2) }),
806
806
  (() => {
807
- const chainIcon = _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain);
807
+ const chainIcon = _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain);
808
808
  if (chainIcon) {
809
809
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
810
810
  "img",
811
811
  {
812
812
  src: chainIcon,
813
- alt: _chunkZNHU72LIcjs.getChainName.call(void 0, targetChain),
813
+ alt: _chunkNELAYNA3cjs.getChainName.call(void 0, targetChain),
814
814
  className: "rs-flow-pill-chain-badge"
815
815
  }
816
816
  );
817
817
  }
818
- const badge = _chunkZNHU72LIcjs.getChainBadge.call(void 0, targetChain);
818
+ const badge = _chunkNELAYNA3cjs.getChainBadge.call(void 0, targetChain);
819
819
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
820
820
  "div",
821
821
  {
@@ -884,7 +884,7 @@ function AmountStep({
884
884
  ] })
885
885
  ] }),
886
886
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
887
- _chunk55QIUUIScjs.Button,
887
+ _chunkLT3QKJI2cjs.Button,
888
888
  {
889
889
  onClick: handleContinue,
890
890
  fullWidth: true,
@@ -892,7 +892,7 @@ function AmountStep({
892
892
  children: "Continue"
893
893
  }
894
894
  ) }),
895
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.PoweredBy, {})
895
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.PoweredBy, {})
896
896
  ] });
897
897
  }
898
898
 
@@ -923,7 +923,7 @@ function ConfirmStep({
923
923
  const hasAttemptedSwitch = _react.useRef.call(void 0, false);
924
924
  const chainMismatch = _optionalChain([walletClient, 'optionalAccess', _13 => _13.chain, 'optionalAccess', _14 => _14.id]) && walletClient.chain.id !== asset.chainId;
925
925
  const sameRoute = targetChain === asset.chainId && targetToken.toLowerCase() === asset.token.toLowerCase();
926
- const targetSymbol = sameRoute ? asset.symbol : _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
926
+ const targetSymbol = sameRoute ? asset.symbol : _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
927
927
  const formattedSendAmount = amount && !Number.isNaN(Number(amount)) ? Number(amount).toLocaleString("en-US", { maximumFractionDigits: 6 }) : "0";
928
928
  const formattedReceiveAmount = (() => {
929
929
  if (sameRoute) return formattedSendAmount;
@@ -942,7 +942,7 @@ function ConfirmStep({
942
942
  setIsSwitching(true);
943
943
  switchChain(asset.chainId).catch((err) => {
944
944
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
945
- setError(_chunk55QIUUIScjs.formatUserError.call(void 0, raw));
945
+ setError(_chunkLT3QKJI2cjs.formatUserError.call(void 0, raw));
946
946
  }).finally(() => {
947
947
  setIsSwitching(false);
948
948
  });
@@ -957,7 +957,7 @@ function ConfirmStep({
957
957
  return;
958
958
  }
959
959
  if (chainMismatch) {
960
- setError(`Switch to ${_chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId)} to sign`);
960
+ setError(`Switch to ${_chunkNELAYNA3cjs.getChainName.call(void 0, asset.chainId)} to sign`);
961
961
  return;
962
962
  }
963
963
  const parsedAmount = parseFloat(amount);
@@ -985,7 +985,7 @@ function ConfirmStep({
985
985
  throw new Error("Wallet not properly connected");
986
986
  }
987
987
  const transferTo = sameRoute ? recipient : smartAccount;
988
- const hash = _chunk55QIUUIScjs.isNativeAsset.call(void 0, asset) ? await walletClient.sendTransaction({
988
+ const hash = _chunkLT3QKJI2cjs.isNativeAsset.call(void 0, asset) ? await walletClient.sendTransaction({
989
989
  account,
990
990
  chain,
991
991
  to: transferTo,
@@ -1002,7 +1002,7 @@ function ConfirmStep({
1002
1002
  onConfirm(hash, asset.chainId, amountUnits.toString(), asset.token);
1003
1003
  } catch (err) {
1004
1004
  const raw = err instanceof Error ? err.message : "Transfer failed";
1005
- const message = _chunk55QIUUIScjs.formatUserError.call(void 0, raw);
1005
+ const message = _chunkLT3QKJI2cjs.formatUserError.call(void 0, raw);
1006
1006
  setError(message);
1007
1007
  _optionalChain([onError, 'optionalCall', _16 => _16(message, "TRANSFER_ERROR")]);
1008
1008
  } finally {
@@ -1021,15 +1021,15 @@ function ConfirmStep({
1021
1021
  className: "rs-card-value",
1022
1022
  style: { display: "flex", alignItems: "center", gap: 8 },
1023
1023
  children: [
1024
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, asset.chainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1024
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, asset.chainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1025
1025
  "img",
1026
1026
  {
1027
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, asset.chainId),
1027
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, asset.chainId),
1028
1028
  alt: "",
1029
1029
  style: { width: 16, height: 16, borderRadius: 3 }
1030
1030
  }
1031
1031
  ),
1032
- _chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId)
1032
+ _chunkNELAYNA3cjs.getChainName.call(void 0, asset.chainId)
1033
1033
  ]
1034
1034
  }
1035
1035
  )
@@ -1042,15 +1042,15 @@ function ConfirmStep({
1042
1042
  className: "rs-card-value",
1043
1043
  style: { display: "flex", alignItems: "center", gap: 8 },
1044
1044
  children: [
1045
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1045
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1046
1046
  "img",
1047
1047
  {
1048
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain),
1048
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain),
1049
1049
  alt: "",
1050
1050
  style: { width: 16, height: 16, borderRadius: 3 }
1051
1051
  }
1052
1052
  ),
1053
- _chunkZNHU72LIcjs.getChainName.call(void 0, targetChain)
1053
+ _chunkNELAYNA3cjs.getChainName.call(void 0, targetChain)
1054
1054
  ]
1055
1055
  }
1056
1056
  )
@@ -1069,10 +1069,10 @@ function ConfirmStep({
1069
1069
  className: "rs-card-value",
1070
1070
  style: { display: "flex", alignItems: "center", gap: 6 },
1071
1071
  children: [
1072
- _chunkZNHU72LIcjs.getTokenIcon.call(void 0, asset.symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1072
+ _chunkNELAYNA3cjs.getTokenIcon.call(void 0, asset.symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1073
1073
  "img",
1074
1074
  {
1075
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, asset.symbol),
1075
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, asset.symbol),
1076
1076
  alt: "",
1077
1077
  style: { width: 16, height: 16, borderRadius: "50%" }
1078
1078
  }
@@ -1092,10 +1092,10 @@ function ConfirmStep({
1092
1092
  className: "rs-card-value",
1093
1093
  style: { display: "flex", alignItems: "center", gap: 6 },
1094
1094
  children: [
1095
- _chunkZNHU72LIcjs.getTokenIcon.call(void 0, targetSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1095
+ _chunkNELAYNA3cjs.getTokenIcon.call(void 0, targetSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1096
1096
  "img",
1097
1097
  {
1098
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, targetSymbol),
1098
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, targetSymbol),
1099
1099
  alt: "",
1100
1100
  style: { width: 16, height: 16, borderRadius: "50%" }
1101
1101
  }
@@ -1131,7 +1131,7 @@ function ConfirmStep({
1131
1131
  ] })
1132
1132
  ] }),
1133
1133
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1134
- _chunk55QIUUIScjs.Button,
1134
+ _chunkLT3QKJI2cjs.Button,
1135
1135
  {
1136
1136
  onClick: handleConfirm,
1137
1137
  loading: isSubmitting,
@@ -1140,7 +1140,7 @@ function ConfirmStep({
1140
1140
  children: "Confirm Order"
1141
1141
  }
1142
1142
  ) }),
1143
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.PoweredBy, {})
1143
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.PoweredBy, {})
1144
1144
  ] });
1145
1145
  }
1146
1146
 
@@ -1434,7 +1434,7 @@ function DepositAddressStep({
1434
1434
  onError
1435
1435
  }) {
1436
1436
  const hasSolana = Boolean(solanaDepositAddress);
1437
- const evmChainIds = _react.useMemo.call(void 0, () => _chunkZNHU72LIcjs.getSupportedChainIds.call(void 0, ), []);
1437
+ const evmChainIds = _react.useMemo.call(void 0, () => _chunkNELAYNA3cjs.getSupportedChainIds.call(void 0, ), []);
1438
1438
  const chainOptions = _react.useMemo.call(void 0,
1439
1439
  () => hasSolana ? [...evmChainIds, "solana"] : evmChainIds,
1440
1440
  [evmChainIds, hasSolana]
@@ -1444,7 +1444,7 @@ function DepositAddressStep({
1444
1444
  const [sourceChainId, setSourceChainId] = _react.useState.call(void 0, defaultChainId);
1445
1445
  const isSolana = sourceChainId === "solana";
1446
1446
  const tokensForChain = _react.useMemo.call(void 0,
1447
- () => isSolana ? SOLANA_TOKENS.map((t) => t.symbol) : _chunkZNHU72LIcjs.getTargetTokenSymbolsForChain.call(void 0, sourceChainId),
1447
+ () => isSolana ? SOLANA_TOKENS.map((t) => t.symbol) : _chunkNELAYNA3cjs.getTargetTokenSymbolsForChain.call(void 0, sourceChainId),
1448
1448
  [sourceChainId, isSolana]
1449
1449
  );
1450
1450
  const defaultToken = tokensForChain.includes("USDC") ? "USDC" : _nullishCoalesce(tokensForChain[0], () => ( "USDC"));
@@ -1464,7 +1464,7 @@ function DepositAddressStep({
1464
1464
  const depositHandledRef = _react.useRef.call(void 0, false);
1465
1465
  const sourceSelectionRef = _react.useRef.call(void 0, {
1466
1466
  chainId: defaultChainId,
1467
- token: typeof defaultChainId === "number" ? _chunkZNHU72LIcjs.getTokenAddress.call(void 0, defaultToken, defaultChainId) : void 0,
1467
+ token: typeof defaultChainId === "number" ? _chunkNELAYNA3cjs.getTokenAddress.call(void 0, defaultToken, defaultChainId) : void 0,
1468
1468
  sourceSymbol: defaultToken
1469
1469
  });
1470
1470
  _react.useEffect.call(void 0, () => {
@@ -1480,7 +1480,7 @@ function DepositAddressStep({
1480
1480
  }
1481
1481
  sourceSelectionRef.current = {
1482
1482
  chainId: sourceChainId,
1483
- token: _chunkZNHU72LIcjs.getTokenAddress.call(void 0, sourceTokenSymbol, sourceChainId),
1483
+ token: _chunkNELAYNA3cjs.getTokenAddress.call(void 0, sourceTokenSymbol, sourceChainId),
1484
1484
  sourceSymbol: sourceTokenSymbol
1485
1485
  };
1486
1486
  }, [sourceChainId, sourceTokenSymbol, isSolana]);
@@ -1538,10 +1538,10 @@ function DepositAddressStep({
1538
1538
  const status = await service.fetchLatestStatus(smartAccount);
1539
1539
  if (cancelled || depositHandledRef.current) return;
1540
1540
  const event = status.lastEvent;
1541
- const eventTxHash = _chunk55QIUUIScjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunk55QIUUIScjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
1541
+ const eventTxHash = _chunkLT3QKJI2cjs.isDepositEvent.call(void 0, event) ? _nullishCoalesce(_chunkLT3QKJI2cjs.getEventTxHash.call(void 0, event), () => ( null)) : null;
1542
1542
  if (baselineTxHash === void 0) {
1543
1543
  baselineTxHash = eventTxHash;
1544
- } else if (eventTxHash && (!baselineTxHash || !_chunk55QIUUIScjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHash))) {
1544
+ } else if (eventTxHash && (!baselineTxHash || !_chunkLT3QKJI2cjs.txRefsMatch.call(void 0, eventTxHash, baselineTxHash))) {
1545
1545
  const details = getDepositEventDetails(event);
1546
1546
  const fallback = sourceSelectionRef.current;
1547
1547
  const chainId = _nullishCoalesce(details.chainId, () => ( fallback.chainId));
@@ -1580,7 +1580,7 @@ function DepositAddressStep({
1580
1580
  clearTimeout(timeoutId);
1581
1581
  };
1582
1582
  }, [smartAccount, service, onDepositDetected, onError]);
1583
- const qrIconSrc = _chunkZNHU72LIcjs.getChainIcon.call(void 0, sourceChainId);
1583
+ const qrIconSrc = _chunkNELAYNA3cjs.getChainIcon.call(void 0, sourceChainId);
1584
1584
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-step", children: [
1585
1585
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-body", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address", children: [
1586
1586
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-deposit-address-selectors", children: [
@@ -1596,15 +1596,15 @@ function DepositAddressStep({
1596
1596
  setTokenDropdownOpen(false);
1597
1597
  },
1598
1598
  children: [
1599
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, sourceChainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1599
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, sourceChainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1600
1600
  "img",
1601
1601
  {
1602
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, sourceChainId),
1602
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, sourceChainId),
1603
1603
  alt: "",
1604
1604
  className: "rs-deposit-address-dropdown-icon"
1605
1605
  }
1606
1606
  ),
1607
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkZNHU72LIcjs.getChainName.call(void 0, sourceChainId) }),
1607
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkNELAYNA3cjs.getChainName.call(void 0, sourceChainId) }),
1608
1608
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1609
1609
  "svg",
1610
1610
  {
@@ -1636,15 +1636,15 @@ function DepositAddressStep({
1636
1636
  setChainDropdownOpen(false);
1637
1637
  },
1638
1638
  children: [
1639
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, chainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1639
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, chainId) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1640
1640
  "img",
1641
1641
  {
1642
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, chainId),
1642
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, chainId),
1643
1643
  alt: "",
1644
1644
  className: "rs-deposit-address-dropdown-icon"
1645
1645
  }
1646
1646
  ),
1647
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkZNHU72LIcjs.getChainName.call(void 0, chainId) })
1647
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkNELAYNA3cjs.getChainName.call(void 0, chainId) })
1648
1648
  ]
1649
1649
  },
1650
1650
  String(chainId)
@@ -1662,10 +1662,10 @@ function DepositAddressStep({
1662
1662
  setChainDropdownOpen(false);
1663
1663
  },
1664
1664
  children: [
1665
- _chunkZNHU72LIcjs.getTokenIcon.call(void 0, sourceTokenSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1665
+ _chunkNELAYNA3cjs.getTokenIcon.call(void 0, sourceTokenSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1666
1666
  "img",
1667
1667
  {
1668
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, sourceTokenSymbol),
1668
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, sourceTokenSymbol),
1669
1669
  alt: "",
1670
1670
  className: "rs-deposit-address-dropdown-icon"
1671
1671
  }
@@ -1702,10 +1702,10 @@ function DepositAddressStep({
1702
1702
  setTokenDropdownOpen(false);
1703
1703
  },
1704
1704
  children: [
1705
- _chunkZNHU72LIcjs.getTokenIcon.call(void 0, symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1705
+ _chunkNELAYNA3cjs.getTokenIcon.call(void 0, symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1706
1706
  "img",
1707
1707
  {
1708
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, symbol),
1708
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, symbol),
1709
1709
  alt: "",
1710
1710
  className: "rs-deposit-address-dropdown-icon"
1711
1711
  }
@@ -1764,7 +1764,7 @@ function DepositAddressStep({
1764
1764
  ] }),
1765
1765
  pollingError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-deposit-address-error", children: pollingError })
1766
1766
  ] }) }),
1767
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.PoweredBy, {})
1767
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.PoweredBy, {})
1768
1768
  ] });
1769
1769
  }
1770
1770
  DepositAddressStep.displayName = "DepositAddressStep";
@@ -1795,7 +1795,7 @@ function SolanaTokenSelectStep({
1795
1795
  setError(null);
1796
1796
  const portfolioBySymbol = {};
1797
1797
  try {
1798
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
1798
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:request", {
1799
1799
  solanaAddress
1800
1800
  });
1801
1801
  const portfolio = await service.fetchSolanaPortfolio(solanaAddress);
@@ -1818,12 +1818,12 @@ function SolanaTokenSelectStep({
1818
1818
  };
1819
1819
  }
1820
1820
  }
1821
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
1821
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-token-select", "portfolio:success", {
1822
1822
  symbols: Object.keys(portfolioBySymbol)
1823
1823
  });
1824
1824
  } catch (err) {
1825
1825
  if (!active) return;
1826
- _chunk55QIUUIScjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
1826
+ _chunkLT3QKJI2cjs.debugError.call(void 0, debug, "solana-token-select", "portfolio:failure", err, {
1827
1827
  solanaAddress
1828
1828
  });
1829
1829
  setError(
@@ -1877,7 +1877,7 @@ function SolanaTokenSelectStep({
1877
1877
  style: { paddingTop: 4, overflow: "auto", maxHeight: 340 },
1878
1878
  children: [
1879
1879
  loading && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-loading-state", style: { padding: "40px 12px" }, children: [
1880
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.Spinner, { className: "rs-text-tertiary" }),
1880
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.Spinner, { className: "rs-text-tertiary" }),
1881
1881
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-text-sm rs-text-tertiary", children: "Loading balances" })
1882
1882
  ] }),
1883
1883
  !loading && rows.length === 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-empty-state", children: [
@@ -1908,13 +1908,13 @@ function SolanaTokenSelectStep({
1908
1908
  ] }),
1909
1909
  !loading && rows.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-list", children: rows.map((entry) => {
1910
1910
  const isSelected = selectedSymbol === entry.token.symbol;
1911
- const tokenIcon = _chunkZNHU72LIcjs.getTokenIcon.call(void 0, entry.token.symbol);
1912
- const chainIcon = _chunkZNHU72LIcjs.getChainIcon.call(void 0, "solana");
1911
+ const tokenIcon = _chunkNELAYNA3cjs.getTokenIcon.call(void 0, entry.token.symbol);
1912
+ const chainIcon = _chunkNELAYNA3cjs.getChainIcon.call(void 0, "solana");
1913
1913
  let formattedBalance;
1914
1914
  try {
1915
1915
  const raw = _viem.formatUnits.call(void 0, entry.balance, entry.token.decimals);
1916
1916
  const numeric = Number(raw);
1917
- formattedBalance = Number.isFinite(numeric) ? _chunk55QIUUIScjs.tokenFormatter.format(numeric) : raw;
1917
+ formattedBalance = Number.isFinite(numeric) ? _chunkLT3QKJI2cjs.tokenFormatter.format(numeric) : raw;
1918
1918
  } catch (e14) {
1919
1919
  formattedBalance = "...";
1920
1920
  }
@@ -1958,7 +1958,7 @@ function SolanaTokenSelectStep({
1958
1958
  ] })
1959
1959
  ] })
1960
1960
  ] }),
1961
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunk55QIUUIScjs.currencyFormatter.format(entry.balanceUsd) : `${formattedBalance} ${entry.token.symbol}` })
1961
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-asset-balance", children: entry.balanceUsd > 0 ? _chunkLT3QKJI2cjs.currencyFormatter.format(entry.balanceUsd) : `${formattedBalance} ${entry.token.symbol}` })
1962
1962
  ]
1963
1963
  },
1964
1964
  entry.token.symbol
@@ -1968,7 +1968,7 @@ function SolanaTokenSelectStep({
1968
1968
  }
1969
1969
  ),
1970
1970
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1971
- _chunk55QIUUIScjs.Button,
1971
+ _chunkLT3QKJI2cjs.Button,
1972
1972
  {
1973
1973
  onClick: () => selectedEntry && onContinue(
1974
1974
  selectedEntry.token,
@@ -1980,7 +1980,7 @@ function SolanaTokenSelectStep({
1980
1980
  children: "Continue"
1981
1981
  }
1982
1982
  ) }),
1983
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.PoweredBy, {})
1983
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.PoweredBy, {})
1984
1984
  ] });
1985
1985
  }
1986
1986
 
@@ -2003,14 +2003,14 @@ function SolanaAmountStep({
2003
2003
  const raw = _viem.formatUnits.call(void 0, balance, token.decimals);
2004
2004
  const numeric = Number(raw);
2005
2005
  if (!Number.isFinite(numeric)) return raw;
2006
- return _chunk55QIUUIScjs.tokenFormatter.format(numeric);
2006
+ return _chunkLT3QKJI2cjs.tokenFormatter.format(numeric);
2007
2007
  } catch (e15) {
2008
2008
  return "...";
2009
2009
  }
2010
2010
  }, [balance, token.decimals]);
2011
2011
  const formattedBalanceUsd = _react.useMemo.call(void 0, () => {
2012
2012
  if (!Number.isFinite(balanceUsd) || balanceUsd <= 0) return null;
2013
- return _chunk55QIUUIScjs.currencyFormatter.format(balanceUsd);
2013
+ return _chunkLT3QKJI2cjs.currencyFormatter.format(balanceUsd);
2014
2014
  }, [balanceUsd]);
2015
2015
  const spendableBalance = _react.useMemo.call(void 0, () => {
2016
2016
  if (!isNativeSol(token)) return balance;
@@ -2025,7 +2025,7 @@ function SolanaAmountStep({
2025
2025
  const factor = 10 ** maxDecimals;
2026
2026
  const truncated = Math.floor(value * factor) / factor;
2027
2027
  const formatted = truncated.toFixed(maxDecimals).replace(/\.?0+$/, "");
2028
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
2028
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-amount", "amount:preset", {
2029
2029
  percentage,
2030
2030
  symbol: token.symbol,
2031
2031
  formatted
@@ -2039,7 +2039,7 @@ function SolanaAmountStep({
2039
2039
  const handleContinue = () => {
2040
2040
  const numericAmount = parseFloat(amount);
2041
2041
  if (isNaN(numericAmount) || numericAmount <= 0) {
2042
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
2042
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
2043
2043
  amount,
2044
2044
  reason: "nan-or-non-positive"
2045
2045
  });
@@ -2050,7 +2050,7 @@ function SolanaAmountStep({
2050
2050
  try {
2051
2051
  amountInUnits = _viem.parseUnits.call(void 0, amount, token.decimals);
2052
2052
  } catch (e17) {
2053
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
2053
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
2054
2054
  amount,
2055
2055
  reason: "parse-units-failed"
2056
2056
  });
@@ -2059,7 +2059,7 @@ function SolanaAmountStep({
2059
2059
  }
2060
2060
  if (amountInUnits > spendableBalance) {
2061
2061
  const isReserveIssue = isNativeSol(token) && amountInUnits <= balance;
2062
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
2062
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-amount", "amount:invalid", {
2063
2063
  amount,
2064
2064
  balance: balance.toString(),
2065
2065
  spendableBalance: spendableBalance.toString(),
@@ -2071,7 +2071,7 @@ function SolanaAmountStep({
2071
2071
  );
2072
2072
  return;
2073
2073
  }
2074
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
2074
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-amount", "amount:continue", {
2075
2075
  symbol: token.symbol,
2076
2076
  amount,
2077
2077
  amountInUnits: amountInUnits.toString()
@@ -2161,7 +2161,7 @@ function SolanaAmountStep({
2161
2161
  ] })
2162
2162
  ] }),
2163
2163
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2164
- _chunk55QIUUIScjs.Button,
2164
+ _chunkLT3QKJI2cjs.Button,
2165
2165
  {
2166
2166
  onClick: handleContinue,
2167
2167
  fullWidth: true,
@@ -2169,7 +2169,7 @@ function SolanaAmountStep({
2169
2169
  children: "Continue"
2170
2170
  }
2171
2171
  ) }),
2172
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.PoweredBy, {})
2172
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.PoweredBy, {})
2173
2173
  ] });
2174
2174
  }
2175
2175
 
@@ -2195,7 +2195,7 @@ function SolanaConfirmStep({
2195
2195
  }) {
2196
2196
  const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
2197
2197
  const [error, setError] = _react.useState.call(void 0, null);
2198
- const targetSymbol = _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
2198
+ const targetSymbol = _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
2199
2199
  const isSameToken = token.symbol.toUpperCase() === targetSymbol.toUpperCase();
2200
2200
  const formattedAmount = amount && !Number.isNaN(Number(amount)) ? Number(amount).toLocaleString("en-US", { maximumFractionDigits: 6 }) : "0";
2201
2201
  const formattedReceiveAmount = (() => {
@@ -2212,7 +2212,7 @@ function SolanaConfirmStep({
2212
2212
  const receiveAmount = isSameToken ? formattedReceiveAmount : `~ ${formattedReceiveAmount}`;
2213
2213
  const handleConfirm = async () => {
2214
2214
  if (!solanaProvider) {
2215
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
2215
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
2216
2216
  reason: "missing-provider"
2217
2217
  });
2218
2218
  setError("Solana wallet not connected");
@@ -2220,7 +2220,7 @@ function SolanaConfirmStep({
2220
2220
  }
2221
2221
  const parsedAmount = parseFloat(amount);
2222
2222
  if (isNaN(parsedAmount) || parsedAmount <= 0) {
2223
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
2223
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-confirm", "submit:blocked", {
2224
2224
  reason: "invalid-amount",
2225
2225
  amount
2226
2226
  });
@@ -2229,7 +2229,7 @@ function SolanaConfirmStep({
2229
2229
  }
2230
2230
  setError(null);
2231
2231
  setIsSubmitting(true);
2232
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
2232
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-confirm", "submit:start", {
2233
2233
  smartAccount,
2234
2234
  solanaAddress,
2235
2235
  solanaDepositAddress,
@@ -2238,7 +2238,7 @@ function SolanaConfirmStep({
2238
2238
  });
2239
2239
  try {
2240
2240
  const check = await service.checkAccount(smartAccount);
2241
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
2241
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-confirm", "check:success", {
2242
2242
  smartAccount,
2243
2243
  isRegistered: check.isRegistered,
2244
2244
  targetChain: check.targetChain,
@@ -2251,7 +2251,7 @@ function SolanaConfirmStep({
2251
2251
  }
2252
2252
  const connection = getSolanaConnection();
2253
2253
  const amountUnits = _viem.parseUnits.call(void 0, amount, token.decimals);
2254
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
2254
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:start", {
2255
2255
  token: token.symbol,
2256
2256
  amount,
2257
2257
  amountUnits: amountUnits.toString()
@@ -2268,7 +2268,7 @@ function SolanaConfirmStep({
2268
2268
  token.mint,
2269
2269
  amountUnits
2270
2270
  );
2271
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
2271
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-confirm", "tx:build:success", {
2272
2272
  token: token.symbol,
2273
2273
  instructionCount: transaction.instructions.length,
2274
2274
  feePayer: _optionalChain([transaction, 'access', _34 => _34.feePayer, 'optionalAccess', _35 => _35.toBase58, 'call', _36 => _36()]),
@@ -2279,15 +2279,15 @@ function SolanaConfirmStep({
2279
2279
  connection,
2280
2280
  transaction
2281
2281
  );
2282
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
2282
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "solana-confirm", "tx:sent", {
2283
2283
  txHash,
2284
2284
  amountUnits: amountUnits.toString()
2285
2285
  });
2286
2286
  onConfirm(txHash, amountUnits.toString());
2287
2287
  } catch (err) {
2288
2288
  const raw = err instanceof Error ? err.message : "Transfer failed";
2289
- const message = _chunk55QIUUIScjs.formatUserError.call(void 0, raw);
2290
- _chunk55QIUUIScjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
2289
+ const message = _chunkLT3QKJI2cjs.formatUserError.call(void 0, raw);
2290
+ _chunkLT3QKJI2cjs.debugError.call(void 0, debug, "solana-confirm", "submit:failure", err, {
2291
2291
  smartAccount,
2292
2292
  token: token.symbol,
2293
2293
  amount
@@ -2310,15 +2310,15 @@ function SolanaConfirmStep({
2310
2310
  className: "rs-card-value",
2311
2311
  style: { display: "flex", alignItems: "center", gap: 8 },
2312
2312
  children: [
2313
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, "solana") && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2313
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, "solana") && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2314
2314
  "img",
2315
2315
  {
2316
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, "solana"),
2316
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, "solana"),
2317
2317
  alt: "",
2318
2318
  style: { width: 16, height: 16, borderRadius: 3 }
2319
2319
  }
2320
2320
  ),
2321
- _chunkZNHU72LIcjs.getChainName.call(void 0, "solana")
2321
+ _chunkNELAYNA3cjs.getChainName.call(void 0, "solana")
2322
2322
  ]
2323
2323
  }
2324
2324
  )
@@ -2331,15 +2331,15 @@ function SolanaConfirmStep({
2331
2331
  className: "rs-card-value",
2332
2332
  style: { display: "flex", alignItems: "center", gap: 8 },
2333
2333
  children: [
2334
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2334
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2335
2335
  "img",
2336
2336
  {
2337
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain),
2337
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain),
2338
2338
  alt: "",
2339
2339
  style: { width: 16, height: 16, borderRadius: 3 }
2340
2340
  }
2341
2341
  ),
2342
- _chunkZNHU72LIcjs.getChainName.call(void 0, targetChain)
2342
+ _chunkNELAYNA3cjs.getChainName.call(void 0, targetChain)
2343
2343
  ]
2344
2344
  }
2345
2345
  )
@@ -2358,10 +2358,10 @@ function SolanaConfirmStep({
2358
2358
  className: "rs-card-value",
2359
2359
  style: { display: "flex", alignItems: "center", gap: 6 },
2360
2360
  children: [
2361
- _chunkZNHU72LIcjs.getTokenIcon.call(void 0, token.symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2361
+ _chunkNELAYNA3cjs.getTokenIcon.call(void 0, token.symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2362
2362
  "img",
2363
2363
  {
2364
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, token.symbol),
2364
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, token.symbol),
2365
2365
  alt: "",
2366
2366
  style: { width: 16, height: 16, borderRadius: "50%" }
2367
2367
  }
@@ -2381,10 +2381,10 @@ function SolanaConfirmStep({
2381
2381
  className: "rs-card-value",
2382
2382
  style: { display: "flex", alignItems: "center", gap: 6 },
2383
2383
  children: [
2384
- _chunkZNHU72LIcjs.getTokenIcon.call(void 0, targetSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2384
+ _chunkNELAYNA3cjs.getTokenIcon.call(void 0, targetSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2385
2385
  "img",
2386
2386
  {
2387
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, targetSymbol),
2387
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, targetSymbol),
2388
2388
  alt: "",
2389
2389
  style: { width: 16, height: 16, borderRadius: "50%" }
2390
2390
  }
@@ -2420,7 +2420,7 @@ function SolanaConfirmStep({
2420
2420
  ] })
2421
2421
  ] }),
2422
2422
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2423
- _chunk55QIUUIScjs.Button,
2423
+ _chunkLT3QKJI2cjs.Button,
2424
2424
  {
2425
2425
  onClick: handleConfirm,
2426
2426
  loading: isSubmitting,
@@ -2429,7 +2429,7 @@ function SolanaConfirmStep({
2429
2429
  children: "Confirm Order"
2430
2430
  }
2431
2431
  ) }),
2432
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.PoweredBy, {})
2432
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.PoweredBy, {})
2433
2433
  ] });
2434
2434
  }
2435
2435
 
@@ -2452,7 +2452,7 @@ function DepositFlow({
2452
2452
  sourceToken: defaultSourceToken,
2453
2453
  amount: defaultAmount,
2454
2454
  recipient,
2455
- signerAddress = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS,
2455
+ signerAddress = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS,
2456
2456
  sessionChainIds,
2457
2457
  forceRegister = false,
2458
2458
  waitForFinalTx = true,
@@ -2484,13 +2484,13 @@ function DepositFlow({
2484
2484
  flowModeRef.current = flowMode;
2485
2485
  const logFlow = _react.useCallback.call(void 0,
2486
2486
  (message, data) => {
2487
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
2487
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "deposit-flow", message, data);
2488
2488
  },
2489
2489
  [debug]
2490
2490
  );
2491
2491
  const logFlowError = _react.useCallback.call(void 0,
2492
2492
  (message, error, data) => {
2493
- _chunk55QIUUIScjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
2493
+ _chunkLT3QKJI2cjs.debugError.call(void 0, debug, "deposit-flow", message, error, data);
2494
2494
  },
2495
2495
  [debug]
2496
2496
  );
@@ -2597,7 +2597,7 @@ function DepositFlow({
2597
2597
  return {
2598
2598
  ownerAddress: dappAddress,
2599
2599
  walletClient: void 0,
2600
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, targetChain))),
2600
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, targetChain))),
2601
2601
  switchChain: void 0
2602
2602
  };
2603
2603
  }
@@ -2606,7 +2606,7 @@ function DepositFlow({
2606
2606
  return {
2607
2607
  ownerAddress: dappWalletClient.account.address,
2608
2608
  walletClient: dappWalletClient,
2609
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, fallbackChainId))),
2609
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, fallbackChainId))),
2610
2610
  switchChain: dappSwitchChain
2611
2611
  };
2612
2612
  }
@@ -2620,7 +2620,7 @@ function DepositFlow({
2620
2620
  return {
2621
2621
  ownerAddress: dappAddress,
2622
2622
  walletClient: void 0,
2623
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, targetChain))),
2623
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, targetChain))),
2624
2624
  switchChain: void 0
2625
2625
  };
2626
2626
  }
@@ -2629,7 +2629,7 @@ function DepositFlow({
2629
2629
  return {
2630
2630
  ownerAddress: dappWalletClient.account.address,
2631
2631
  walletClient: dappWalletClient,
2632
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, fallbackChainId))),
2632
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, fallbackChainId))),
2633
2633
  switchChain: dappSwitchChain
2634
2634
  };
2635
2635
  }
@@ -2637,7 +2637,7 @@ function DepositFlow({
2637
2637
  return {
2638
2638
  ownerAddress: reownWallet.address,
2639
2639
  walletClient: reownWallet.walletClient,
2640
- publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, targetChain))),
2640
+ publicClient: _nullishCoalesce(reownWallet.publicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, targetChain))),
2641
2641
  switchChain: reownWallet.switchChain
2642
2642
  };
2643
2643
  }
@@ -2675,7 +2675,7 @@ function DepositFlow({
2675
2675
  return {
2676
2676
  ownerAddress: dappAddress,
2677
2677
  walletClient: void 0,
2678
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, targetChain))),
2678
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, targetChain))),
2679
2679
  switchChain: void 0
2680
2680
  };
2681
2681
  }
@@ -2892,8 +2892,8 @@ function DepositFlow({
2892
2892
  );
2893
2893
  const handleSolanaAmountContinue = _react.useCallback.call(void 0,
2894
2894
  (token, amount) => {
2895
- const targetSym = _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
2896
- const isTargetStable = _chunkZNHU72LIcjs.isStablecoinSymbol.call(void 0, targetSym);
2895
+ const targetSym = _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
2896
+ const isTargetStable = _chunkNELAYNA3cjs.isStablecoinSymbol.call(void 0, targetSym);
2897
2897
  const targetTokenPriceUsd = isTargetStable ? 1 : getTokenPriceUsd(targetSym);
2898
2898
  logFlow("solana:amount:continue", {
2899
2899
  token: token.symbol,
@@ -2974,8 +2974,8 @@ function DepositFlow({
2974
2974
  );
2975
2975
  const handleAmountContinue = _react.useCallback.call(void 0,
2976
2976
  (amount, targetAmount, balance) => {
2977
- const targetSym = _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
2978
- const isTargetStable = _chunkZNHU72LIcjs.isStablecoinSymbol.call(void 0, targetSym);
2977
+ const targetSym = _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
2978
+ const isTargetStable = _chunkNELAYNA3cjs.isStablecoinSymbol.call(void 0, targetSym);
2979
2979
  const targetTokenPriceUsd = isTargetStable ? 1 : getTokenPriceUsd(targetSym);
2980
2980
  setStep((prev) => {
2981
2981
  if (prev.type !== "amount") return prev;
@@ -3112,7 +3112,7 @@ function DepositFlow({
3112
3112
  ]);
3113
3113
  if (showConnectStep) {
3114
3114
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3115
- _chunk55QIUUIScjs.ConnectStep,
3115
+ _chunkLT3QKJI2cjs.ConnectStep,
3116
3116
  {
3117
3117
  walletOptions,
3118
3118
  selectedWalletId: selectedWalletIdEffective,
@@ -3172,7 +3172,7 @@ function DepositFlow({
3172
3172
  }
3173
3173
  ),
3174
3174
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3175
- _chunk55QIUUIScjs.ProcessingStep,
3175
+ _chunkLT3QKJI2cjs.ProcessingStep,
3176
3176
  {
3177
3177
  smartAccount: step.smartAccount,
3178
3178
  txHash: step.txHash,
@@ -3289,7 +3289,7 @@ function DepositFlow({
3289
3289
  ) })
3290
3290
  ] }) : null,
3291
3291
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3292
- _chunk55QIUUIScjs.ProcessingStep,
3292
+ _chunkLT3QKJI2cjs.ProcessingStep,
3293
3293
  {
3294
3294
  smartAccount: step.smartAccount,
3295
3295
  txHash: step.txHash,
@@ -3321,7 +3321,7 @@ function DepositFlow({
3321
3321
  if (_optionalChain([signerContext, 'access', _85 => _85.publicClient, 'access', _86 => _86.chain, 'optionalAccess', _87 => _87.id]) === chainId) {
3322
3322
  return signerContext.publicClient;
3323
3323
  }
3324
- return _chunk55QIUUIScjs.getPublicClient.call(void 0, chainId);
3324
+ return _chunkLT3QKJI2cjs.getPublicClient.call(void 0, chainId);
3325
3325
  };
3326
3326
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
3327
3327
  step.type === "setup" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -3390,7 +3390,7 @@ function DepositFlow({
3390
3390
  }
3391
3391
  ),
3392
3392
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3393
- _chunk55QIUUIScjs.ProcessingStep,
3393
+ _chunkLT3QKJI2cjs.ProcessingStep,
3394
3394
  {
3395
3395
  smartAccount: step.smartAccount,
3396
3396
  txHash: step.txHash,
@@ -3417,7 +3417,7 @@ function DepositFlow({
3417
3417
  // src/DepositModal.tsx
3418
3418
 
3419
3419
  var ReownDepositInner = _react.lazy.call(void 0,
3420
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-QSRCNLSN.cjs"))).then((m) => ({ default: m.DepositModalReown }))
3420
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-IUZNTZ3Y.cjs"))).then((m) => ({ default: m.DepositModalReown }))
3421
3421
  );
3422
3422
  function DepositModal(props) {
3423
3423
  const needsReown = !!props.reownAppId;
@@ -3440,9 +3440,9 @@ function DepositModalInner({
3440
3440
  sourceToken,
3441
3441
  defaultAmount,
3442
3442
  recipient,
3443
- backendUrl = _chunkZNHU72LIcjs.DEFAULT_BACKEND_URL,
3443
+ backendUrl = _chunkNELAYNA3cjs.DEFAULT_BACKEND_URL,
3444
3444
  solanaRpcUrl,
3445
- signerAddress = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS,
3445
+ signerAddress = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS,
3446
3446
  sessionChainIds,
3447
3447
  forceRegister = false,
3448
3448
  waitForFinalTx = true,
@@ -3467,10 +3467,10 @@ function DepositModalInner({
3467
3467
  const [currentStepIndex, setCurrentStepIndex] = _react.useState.call(void 0, 0);
3468
3468
  const [totalBalanceUsd, setTotalBalanceUsd] = _react.useState.call(void 0, null);
3469
3469
  const backHandlerRef = _react.useRef.call(void 0, void 0);
3470
- const targetChain = _chunkZNHU72LIcjs.getChainId.call(void 0, targetChainProp);
3471
- const sourceChain = sourceChainProp ? _chunkZNHU72LIcjs.getChainId.call(void 0, sourceChainProp) : void 0;
3470
+ const targetChain = _chunkNELAYNA3cjs.getChainId.call(void 0, targetChainProp);
3471
+ const sourceChain = sourceChainProp ? _chunkNELAYNA3cjs.getChainId.call(void 0, sourceChainProp) : void 0;
3472
3472
  const service = _react.useMemo.call(void 0,
3473
- () => _chunk55QIUUIScjs.createDepositService.call(void 0, backendUrl, {
3473
+ () => _chunkLT3QKJI2cjs.createDepositService.call(void 0, backendUrl, {
3474
3474
  debug,
3475
3475
  debugScope: "service:deposit"
3476
3476
  }),
@@ -3478,7 +3478,7 @@ function DepositModalInner({
3478
3478
  );
3479
3479
  _react.useEffect.call(void 0, () => {
3480
3480
  if (isOpen && modalRef.current) {
3481
- _chunk55QIUUIScjs.applyTheme.call(void 0, modalRef.current, theme);
3481
+ _chunkLT3QKJI2cjs.applyTheme.call(void 0, modalRef.current, theme);
3482
3482
  }
3483
3483
  }, [isOpen, theme]);
3484
3484
  _react.useEffect.call(void 0, () => {
@@ -3517,7 +3517,7 @@ function DepositModalInner({
3517
3517
  const title = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _96 => _96.title]), () => ( "Deposit"));
3518
3518
  const canGoBack = currentStepIndex > 0 && currentStepIndex < 4 && backHandlerRef.current !== void 0;
3519
3519
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3520
- _chunk55QIUUIScjs.Modal,
3520
+ _chunkLT3QKJI2cjs.Modal,
3521
3521
  {
3522
3522
  isOpen,
3523
3523
  onClose,
@@ -3578,7 +3578,7 @@ function DepositModalInner({
3578
3578
  balance.title,
3579
3579
  ":"
3580
3580
  ] }),
3581
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-modal-header-balance-value", children: _nullishCoalesce(balance.amount, () => ( (totalBalanceUsd !== null ? _chunk55QIUUIScjs.currencyFormatter.format(totalBalanceUsd) : null))) })
3581
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-modal-header-balance-value", children: _nullishCoalesce(balance.amount, () => ( (totalBalanceUsd !== null ? _chunkLT3QKJI2cjs.currencyFormatter.format(totalBalanceUsd) : null))) })
3582
3582
  ] })
3583
3583
  ] }),
3584
3584
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,