@rhinestone/deposit-modal 0.1.45 → 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.
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
10
+ var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
11
11
 
12
12
  // src/components/ui/Modal.tsx
13
13
 
@@ -619,14 +619,14 @@ function normalizeOrchestratorPortfolio(data) {
619
619
  const unlocked = _nullishCoalesce(_optionalChain([chainBalance, 'access', _17 => _17.balance, 'optionalAccess', _18 => _18.unlocked]), () => ( "0"));
620
620
  const normalizedName = tokenData.tokenName.trim();
621
621
  const isNativeSymbol = normalizedName.toUpperCase() === "ETH" || normalizedName.toUpperCase() === "ETHER";
622
- const tokenAddress = _nullishCoalesce(_nullishCoalesce(chainBalance.tokenAddress, () => ( extractTokenAddress(tokenData, chainBalance.chainId))), () => ( _chunkZNHU72LIcjs.getTokenAddress.call(void 0, tokenData.tokenName, chainBalance.chainId)));
623
- const resolvedTokenAddress = isNativeSymbol ? _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS : tokenAddress;
622
+ const tokenAddress = _nullishCoalesce(_nullishCoalesce(chainBalance.tokenAddress, () => ( extractTokenAddress(tokenData, chainBalance.chainId))), () => ( _chunkNELAYNA3cjs.getTokenAddress.call(void 0, tokenData.tokenName, chainBalance.chainId)));
623
+ const resolvedTokenAddress = isNativeSymbol ? _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS : tokenAddress;
624
624
  if (!resolvedTokenAddress) {
625
625
  continue;
626
626
  }
627
- const registrySymbol = _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, resolvedTokenAddress, chainBalance.chainId);
627
+ const registrySymbol = _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, resolvedTokenAddress, chainBalance.chainId);
628
628
  const symbol = registrySymbol !== "Token" ? registrySymbol : normalizedName || "Token";
629
- const decimals = registrySymbol !== "Token" ? _chunkZNHU72LIcjs.getTokenDecimalsByAddress.call(void 0, resolvedTokenAddress, chainBalance.chainId) : _nullishCoalesce(tokenData.tokenDecimals, () => ( 18));
629
+ const decimals = registrySymbol !== "Token" ? _chunkNELAYNA3cjs.getTokenDecimalsByAddress.call(void 0, resolvedTokenAddress, chainBalance.chainId) : _nullishCoalesce(tokenData.tokenDecimals, () => ( 18));
630
630
  tokens.push({
631
631
  chainId: chainBalance.chainId,
632
632
  address: resolvedTokenAddress,
@@ -655,14 +655,14 @@ function normalizeDirectToken(token) {
655
655
  const address = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(extractString(token, "address"), () => ( extractString(token, "tokenAddress"))), () => ( extractString(
656
656
  token.token,
657
657
  "address"
658
- ))), () => ( (typeof chainId === "number" ? _chunkZNHU72LIcjs.getTokenAddress.call(void 0, symbol, chainId) : void 0)));
658
+ ))), () => ( (typeof chainId === "number" ? _chunkNELAYNA3cjs.getTokenAddress.call(void 0, symbol, chainId) : void 0)));
659
659
  if (!address) return null;
660
660
  const balanceUsd = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(extractNumber(token, "balanceUsd"), () => ( extractNumber(token, "usdValue"))), () => ( extractNumber(token, "valueUsd"))), () => ( extractNumericString(token, "balanceUsd"))), () => ( extractNumericString(token, "usdValue"))), () => ( extractNumericString(token, "valueUsd"))), () => ( 0));
661
661
  const isSolanaToken = chainId === "solana";
662
- const registrySymbol = isSolanaToken ? "Token" : _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, address, chainId);
662
+ const registrySymbol = isSolanaToken ? "Token" : _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, address, chainId);
663
663
  const resolvedSymbol = isSolanaToken ? symbol : registrySymbol !== "Token" ? registrySymbol : symbol;
664
664
  const backendDecimals = _nullishCoalesce(extractNumber(token, "decimals"), () => ( extractNumber(token, "tokenDecimals")));
665
- const resolvedDecimals = !isSolanaToken && registrySymbol !== "Token" ? _chunkZNHU72LIcjs.getTokenDecimalsByAddress.call(void 0, address, chainId) : _nullishCoalesce(backendDecimals, () => ( 18));
665
+ const resolvedDecimals = !isSolanaToken && registrySymbol !== "Token" ? _chunkNELAYNA3cjs.getTokenDecimalsByAddress.call(void 0, address, chainId) : _nullishCoalesce(backendDecimals, () => ( 18));
666
666
  return {
667
667
  chainId,
668
668
  address,
@@ -1599,8 +1599,8 @@ function ProcessingStep({
1599
1599
  const displaySourceChain = _nullishCoalesce(sourceDetails.chainId, () => ( sourceChain));
1600
1600
  const displaySourceToken = _nullishCoalesce(sourceDetails.token, () => ( sourceToken));
1601
1601
  const displayAmount = _nullishCoalesce(sourceDetails.amount, () => ( amount));
1602
- const sourceExplorerUrl = _chunkZNHU72LIcjs.getExplorerTxUrl.call(void 0, displaySourceChain, txHash);
1603
- const destExplorerUrl = destinationTxHash ? _chunkZNHU72LIcjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1602
+ const sourceExplorerUrl = _chunkNELAYNA3cjs.getExplorerTxUrl.call(void 0, displaySourceChain, txHash);
1603
+ const destExplorerUrl = destinationTxHash ? _chunkNELAYNA3cjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1604
1604
  const truncateHash = (hash) => `${hash.slice(0, 10)}...${hash.slice(-8)}`;
1605
1605
  const formatElapsedTime = (seconds) => {
1606
1606
  if (seconds < 60) return `${seconds} second${seconds !== 1 ? "s" : ""}`;
@@ -1609,8 +1609,8 @@ function ProcessingStep({
1609
1609
  return `${mins}m ${secs}s`;
1610
1610
  };
1611
1611
  const isEvmSourceToken = /^0x[a-fA-F0-9]{40}$/.test(displaySourceToken);
1612
- const sourceSymbol = displaySourceChain === "solana" ? _nullishCoalesce(providedSourceSymbol, () => ( "SOL")) : isEvmSourceToken ? _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, displaySourceToken, displaySourceChain) : _nullishCoalesce(providedSourceSymbol, () => ( "Token"));
1613
- const sourceDecimals = displaySourceChain === "solana" ? _nullishCoalesce(providedSourceDecimals, () => ( 9)) : isEvmSourceToken ? _chunkZNHU72LIcjs.getTokenDecimalsByAddress.call(void 0, displaySourceToken, displaySourceChain) : _nullishCoalesce(providedSourceDecimals, () => ( 18));
1612
+ const sourceSymbol = displaySourceChain === "solana" ? _nullishCoalesce(providedSourceSymbol, () => ( "SOL")) : isEvmSourceToken ? _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, displaySourceToken, displaySourceChain) : _nullishCoalesce(providedSourceSymbol, () => ( "Token"));
1613
+ const sourceDecimals = displaySourceChain === "solana" ? _nullishCoalesce(providedSourceDecimals, () => ( 9)) : isEvmSourceToken ? _chunkNELAYNA3cjs.getTokenDecimalsByAddress.call(void 0, displaySourceToken, displaySourceChain) : _nullishCoalesce(providedSourceDecimals, () => ( 18));
1614
1614
  const formattedReceivedAmount = (() => {
1615
1615
  try {
1616
1616
  const raw = _viem.formatUnits.call(void 0, BigInt(displayAmount), sourceDecimals);
@@ -1681,15 +1681,15 @@ function ProcessingStep({
1681
1681
  className: "rs-card-value",
1682
1682
  style: { display: "flex", alignItems: "center", gap: 6 },
1683
1683
  children: [
1684
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, displaySourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1684
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, displaySourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1685
1685
  "img",
1686
1686
  {
1687
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, displaySourceChain),
1687
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, displaySourceChain),
1688
1688
  alt: "",
1689
1689
  style: { width: 14, height: 14, borderRadius: "50%" }
1690
1690
  }
1691
1691
  ),
1692
- _chunkZNHU72LIcjs.getChainName.call(void 0, displaySourceChain)
1692
+ _chunkNELAYNA3cjs.getChainName.call(void 0, displaySourceChain)
1693
1693
  ]
1694
1694
  }
1695
1695
  )
@@ -1702,15 +1702,15 @@ function ProcessingStep({
1702
1702
  className: "rs-card-value",
1703
1703
  style: { display: "flex", alignItems: "center", gap: 6 },
1704
1704
  children: [
1705
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1705
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1706
1706
  "img",
1707
1707
  {
1708
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain),
1708
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain),
1709
1709
  alt: "",
1710
1710
  style: { width: 14, height: 14, borderRadius: "50%" }
1711
1711
  }
1712
1712
  ),
1713
- _chunkZNHU72LIcjs.getChainName.call(void 0, targetChain)
1713
+ _chunkNELAYNA3cjs.getChainName.call(void 0, targetChain)
1714
1714
  ]
1715
1715
  }
1716
1716
  )
@@ -1832,7 +1832,7 @@ function ProcessingStep({
1832
1832
  {
1833
1833
  className: `rs-step-description ${isError ? "rs-text-error" : "rs-text-secondary"}`,
1834
1834
  children: [
1835
- state.type === "processing" && (_optionalChain([lastEvent, 'optionalAccess', _104 => _104.type]) === "deposit-received" ? "Transfer received. Preparing bridge..." : _optionalChain([lastEvent, 'optionalAccess', _105 => _105.type]) === "bridge-started" ? "Transfer confirmed. Funds arriving shortly..." : `Bridging your ${flowNoun} to ${_chunkZNHU72LIcjs.getChainName.call(void 0, targetChain)}.`),
1835
+ state.type === "processing" && (_optionalChain([lastEvent, 'optionalAccess', _104 => _104.type]) === "deposit-received" ? "Transfer received. Preparing bridge..." : _optionalChain([lastEvent, 'optionalAccess', _105 => _105.type]) === "bridge-started" ? "Transfer confirmed. Funds arriving shortly..." : `Bridging your ${flowNoun} to ${_chunkNELAYNA3cjs.getChainName.call(void 0, targetChain)}.`),
1836
1836
  state.type === "failed" && state.message,
1837
1837
  state.type === "error" && state.message
1838
1838
  ]
@@ -1888,15 +1888,15 @@ function ProcessingStep({
1888
1888
  className: "rs-card-value",
1889
1889
  style: { display: "flex", alignItems: "center", gap: 8 },
1890
1890
  children: [
1891
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, displaySourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1891
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, displaySourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1892
1892
  "img",
1893
1893
  {
1894
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, displaySourceChain),
1894
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, displaySourceChain),
1895
1895
  alt: "",
1896
1896
  style: { width: 16, height: 16, borderRadius: "50%" }
1897
1897
  }
1898
1898
  ),
1899
- _chunkZNHU72LIcjs.getChainName.call(void 0, displaySourceChain)
1899
+ _chunkNELAYNA3cjs.getChainName.call(void 0, displaySourceChain)
1900
1900
  ]
1901
1901
  }
1902
1902
  )
@@ -1909,15 +1909,15 @@ function ProcessingStep({
1909
1909
  className: "rs-card-value",
1910
1910
  style: { display: "flex", alignItems: "center", gap: 8 },
1911
1911
  children: [
1912
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1912
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1913
1913
  "img",
1914
1914
  {
1915
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain),
1915
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain),
1916
1916
  alt: "",
1917
1917
  style: { width: 16, height: 16, borderRadius: "50%" }
1918
1918
  }
1919
1919
  ),
1920
- _chunkZNHU72LIcjs.getChainName.call(void 0, targetChain)
1920
+ _chunkNELAYNA3cjs.getChainName.call(void 0, targetChain)
1921
1921
  ]
1922
1922
  }
1923
1923
  )
@@ -1970,7 +1970,7 @@ var clientCache = /* @__PURE__ */ new Map();
1970
1970
  function getPublicClient(chainId) {
1971
1971
  let client = clientCache.get(chainId);
1972
1972
  if (!client) {
1973
- const chain = _chunkZNHU72LIcjs.CHAIN_BY_ID[chainId];
1973
+ const chain = _chunkNELAYNA3cjs.CHAIN_BY_ID[chainId];
1974
1974
  client = _viem.createPublicClient.call(void 0, {
1975
1975
  chain,
1976
1976
  transport: _viem.http.call(void 0, )
@@ -20,7 +20,7 @@
20
20
 
21
21
 
22
22
 
23
- var _chunk55QIUUIScjs = require('./chunk-55QIUUIS.cjs');
23
+ var _chunkLT3QKJI2cjs = require('./chunk-LT3QKJI2.cjs');
24
24
 
25
25
 
26
26
 
@@ -33,7 +33,7 @@ var _chunk55QIUUIScjs = require('./chunk-55QIUUIS.cjs');
33
33
 
34
34
 
35
35
 
36
- var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
36
+ var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
37
37
 
38
38
  // src/WithdrawModal.tsx
39
39
 
@@ -121,8 +121,8 @@ function WithdrawFormStep({
121
121
  const chainMismatch = Boolean(
122
122
  _optionalChain([walletClient, 'optionalAccess', _3 => _3.chain, 'optionalAccess', _4 => _4.id]) && walletClient.chain.id !== asset.chainId
123
123
  );
124
- const targetSymbol = _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
125
- const targetChainName = _chunkZNHU72LIcjs.getChainName.call(void 0, targetChain);
124
+ const targetSymbol = _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, targetToken, targetChain);
125
+ const targetChainName = _chunkNELAYNA3cjs.getChainName.call(void 0, targetChain);
126
126
  const isBusy = submitting || isSubmitting;
127
127
  const seededRecipientRef = _react.useRef.call(void 0, seededRecipient);
128
128
  _react.useEffect.call(void 0, () => {
@@ -141,7 +141,7 @@ function WithdrawFormStep({
141
141
  setIsSwitching(true);
142
142
  switchChain(asset.chainId).catch((err) => {
143
143
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
144
- setError(_chunk55QIUUIScjs.formatUserError.call(void 0, raw));
144
+ setError(_chunkLT3QKJI2cjs.formatUserError.call(void 0, raw));
145
145
  }).finally(() => {
146
146
  setIsSwitching(false);
147
147
  });
@@ -161,7 +161,7 @@ function WithdrawFormStep({
161
161
  return;
162
162
  }
163
163
  try {
164
- const bal = _chunk55QIUUIScjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
164
+ const bal = _chunkLT3QKJI2cjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
165
165
  address: asset.token,
166
166
  abi: _viem.erc20Abi,
167
167
  functionName: "balanceOf",
@@ -264,7 +264,7 @@ function WithdrawFormStep({
264
264
  await onSubmit(recipient, amount);
265
265
  } catch (err) {
266
266
  const raw = err instanceof Error ? err.message : "Withdrawal failed";
267
- setError(_chunk55QIUUIScjs.formatUserError.call(void 0, raw));
267
+ setError(_chunkLT3QKJI2cjs.formatUserError.call(void 0, raw));
268
268
  } finally {
269
269
  setIsSubmitting(false);
270
270
  }
@@ -272,11 +272,11 @@ function WithdrawFormStep({
272
272
  if (isBalanceLoading) {
273
273
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-step", children: [
274
274
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-step-body rs-withdraw-loading", children: [
275
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.Spinner, { className: "rs-spinner--lg" }),
275
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.Spinner, { className: "rs-spinner--lg" }),
276
276
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-title", children: "Loading on-chain balance" }),
277
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-subtitle", children: chainMismatch ? `Switch to ${_chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId)} to continue.` : "Please wait before withdrawing." })
277
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-subtitle", children: chainMismatch ? `Switch to ${_chunkNELAYNA3cjs.getChainName.call(void 0, asset.chainId)} to continue.` : "Please wait before withdrawing." })
278
278
  ] }),
279
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.PoweredBy, {})
279
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.PoweredBy, {})
280
280
  ] });
281
281
  }
282
282
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-step", children: [
@@ -372,7 +372,7 @@ function WithdrawFormStep({
372
372
  ] })
373
373
  ] }),
374
374
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-amount-info", children: [
375
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunk55QIUUIScjs.currencyFormatter.format(amountUsd) : "$0.00" }),
375
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunkLT3QKJI2cjs.currencyFormatter.format(amountUsd) : "$0.00" }),
376
376
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-withdraw-balance", children: [
377
377
  formattedBalance,
378
378
  " ",
@@ -400,10 +400,10 @@ function WithdrawFormStep({
400
400
  },
401
401
  children: [
402
402
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-dropdown-value", children: [
403
- _chunkZNHU72LIcjs.getTokenIcon.call(void 0, targetSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
403
+ _chunkNELAYNA3cjs.getTokenIcon.call(void 0, targetSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
404
404
  "img",
405
405
  {
406
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, targetSymbol),
406
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, targetSymbol),
407
407
  alt: targetSymbol,
408
408
  className: "rs-withdraw-dropdown-icon"
409
409
  }
@@ -444,10 +444,10 @@ function WithdrawFormStep({
444
444
  setShowTokenDropdown(false);
445
445
  },
446
446
  children: [
447
- _chunkZNHU72LIcjs.getTokenIcon.call(void 0, option.symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
447
+ _chunkNELAYNA3cjs.getTokenIcon.call(void 0, option.symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
448
448
  "img",
449
449
  {
450
- src: _chunkZNHU72LIcjs.getTokenIcon.call(void 0, option.symbol),
450
+ src: _chunkNELAYNA3cjs.getTokenIcon.call(void 0, option.symbol),
451
451
  alt: option.symbol,
452
452
  className: "rs-withdraw-dropdown-icon"
453
453
  }
@@ -480,10 +480,10 @@ function WithdrawFormStep({
480
480
  },
481
481
  children: [
482
482
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-dropdown-value", children: [
483
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
483
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
484
484
  "img",
485
485
  {
486
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain),
486
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain),
487
487
  alt: targetChainName,
488
488
  className: "rs-withdraw-dropdown-icon"
489
489
  }
@@ -524,10 +524,10 @@ function WithdrawFormStep({
524
524
  setShowChainDropdown(false);
525
525
  },
526
526
  children: [
527
- _chunkZNHU72LIcjs.getChainIcon.call(void 0, chain.id) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
527
+ _chunkNELAYNA3cjs.getChainIcon.call(void 0, chain.id) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
528
528
  "img",
529
529
  {
530
- src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, chain.id),
530
+ src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, chain.id),
531
531
  alt: chain.name,
532
532
  className: "rs-withdraw-dropdown-icon"
533
533
  }
@@ -542,7 +542,7 @@ function WithdrawFormStep({
542
542
  )
543
543
  ] })
544
544
  ] }),
545
- chainMismatch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch-text", children: isSwitching ? `Switching to ${_chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId)}...` : `Switch to ${_chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId)} to continue.` }) }),
545
+ chainMismatch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch-text", children: isSwitching ? `Switching to ${_chunkNELAYNA3cjs.getChainName.call(void 0, asset.chainId)}...` : `Switch to ${_chunkNELAYNA3cjs.getChainName.call(void 0, asset.chainId)} to continue.` }) }),
546
546
  error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-error", children: [
547
547
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
548
548
  "svg",
@@ -565,7 +565,7 @@ function WithdrawFormStep({
565
565
  ] })
566
566
  ] }),
567
567
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
568
- _chunk55QIUUIScjs.Button,
568
+ _chunkLT3QKJI2cjs.Button,
569
569
  {
570
570
  onClick: handleWithdraw,
571
571
  fullWidth: true,
@@ -574,7 +574,7 @@ function WithdrawFormStep({
574
574
  children: isBusy ? "Preparing..." : "Withdraw"
575
575
  }
576
576
  ) }),
577
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55QIUUIScjs.PoweredBy, {})
577
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLT3QKJI2cjs.PoweredBy, {})
578
578
  ] });
579
579
  }
580
580
  WithdrawFormStep.displayName = "WithdrawFormStep";
@@ -657,7 +657,7 @@ async function executeSafeEthTransfer(params) {
657
657
  throw new Error("Wallet not connected");
658
658
  }
659
659
  if (chain.id !== chainId) {
660
- throw new Error(`Switch to ${_chunkZNHU72LIcjs.getChainName.call(void 0, chainId)} to sign`);
660
+ throw new Error(`Switch to ${_chunkNELAYNA3cjs.getChainName.call(void 0, chainId)} to sign`);
661
661
  }
662
662
  const isOwner = await publicClient.readContract({
663
663
  address: safeAddress,
@@ -740,7 +740,7 @@ async function executeSafeErc20Transfer(params) {
740
740
  throw new Error("Wallet not connected");
741
741
  }
742
742
  if (chain.id !== chainId) {
743
- throw new Error(`Switch to ${_chunkZNHU72LIcjs.getChainName.call(void 0, chainId)} to sign`);
743
+ throw new Error(`Switch to ${_chunkNELAYNA3cjs.getChainName.call(void 0, chainId)} to sign`);
744
744
  }
745
745
  const isOwner = await publicClient.readContract({
746
746
  address: safeAddress,
@@ -879,7 +879,7 @@ function WithdrawFlow({
879
879
  recipient: defaultRecipient,
880
880
  amount: defaultAmount,
881
881
  service,
882
- signerAddress = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS,
882
+ signerAddress = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS,
883
883
  sessionChainIds,
884
884
  forceRegister = false,
885
885
  waitForFinalTx = true,
@@ -905,13 +905,13 @@ function WithdrawFlow({
905
905
  const [isConnectSelectionConfirmed, setIsConnectSelectionConfirmed] = _react.useState.call(void 0, false);
906
906
  const logFlow = _react.useCallback.call(void 0,
907
907
  (message, data) => {
908
- _chunk55QIUUIScjs.debugLog.call(void 0, debug, "withdraw-flow", message, data);
908
+ _chunkLT3QKJI2cjs.debugLog.call(void 0, debug, "withdraw-flow", message, data);
909
909
  },
910
910
  [debug]
911
911
  );
912
912
  const logFlowError = _react.useCallback.call(void 0,
913
913
  (message, error, data) => {
914
- _chunk55QIUUIScjs.debugError.call(void 0, debug, "withdraw-flow", message, error, data);
914
+ _chunkLT3QKJI2cjs.debugError.call(void 0, debug, "withdraw-flow", message, error, data);
915
915
  },
916
916
  [debug]
917
917
  );
@@ -970,14 +970,14 @@ function WithdrawFlow({
970
970
  return {
971
971
  ownerAddress: dappAddress,
972
972
  walletClient: _nullishCoalesce(dappWalletClient, () => ( void 0)),
973
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, sourceChain))),
973
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, sourceChain))),
974
974
  switchChain: dappSwitchChain
975
975
  };
976
976
  }
977
977
  return {
978
978
  ownerAddress: dappWalletClient.account.address,
979
979
  walletClient: dappWalletClient,
980
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, sourceChain))),
980
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, sourceChain))),
981
981
  switchChain: dappSwitchChain
982
982
  };
983
983
  }
@@ -988,7 +988,7 @@ function WithdrawFlow({
988
988
  return {
989
989
  ownerAddress: dappWalletClient.account.address,
990
990
  walletClient: dappWalletClient,
991
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, sourceChain))),
991
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, sourceChain))),
992
992
  switchChain: dappSwitchChain
993
993
  };
994
994
  }
@@ -1015,10 +1015,10 @@ function WithdrawFlow({
1015
1015
  sourceChain
1016
1016
  ]);
1017
1017
  const asset = _react.useMemo.call(void 0, () => {
1018
- const symbol = _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
1019
- const decimals = _chunkZNHU72LIcjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
1018
+ const symbol = _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
1019
+ const decimals = _chunkNELAYNA3cjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
1020
1020
  return {
1021
- id: _chunk55QIUUIScjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
1021
+ id: _chunkLT3QKJI2cjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
1022
1022
  chainId: sourceChain,
1023
1023
  token: sourceToken,
1024
1024
  symbol,
@@ -1026,7 +1026,7 @@ function WithdrawFlow({
1026
1026
  decimals
1027
1027
  };
1028
1028
  }, [sourceChain, sourceToken]);
1029
- const isSourceNative = sourceToken.toLowerCase() === _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS.toLowerCase();
1029
+ const isSourceNative = sourceToken.toLowerCase() === _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS.toLowerCase();
1030
1030
  const stepIndex = step.type === "form" ? 0 : 1;
1031
1031
  const currentBackHandler = void 0;
1032
1032
  _react.useEffect.call(void 0, () => {
@@ -1068,15 +1068,15 @@ function WithdrawFlow({
1068
1068
  [logFlowError, onError]
1069
1069
  );
1070
1070
  const resolveSessionOwner = _react.useCallback.call(void 0, async (eoaAddress) => {
1071
- const localOwner = _chunk55QIUUIScjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
1071
+ const localOwner = _chunkLT3QKJI2cjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
1072
1072
  if (localOwner) {
1073
1073
  return {
1074
- account: _chunk55QIUUIScjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
1074
+ account: _chunkLT3QKJI2cjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
1075
1075
  address: localOwner.address
1076
1076
  };
1077
1077
  }
1078
- const created = _chunk55QIUUIScjs.createSessionOwnerKey.call(void 0, );
1079
- _chunk55QIUUIScjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
1078
+ const created = _chunkLT3QKJI2cjs.createSessionOwnerKey.call(void 0, );
1079
+ _chunkLT3QKJI2cjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
1080
1080
  return {
1081
1081
  account: created.account,
1082
1082
  address: created.address
@@ -1106,7 +1106,7 @@ function WithdrawFlow({
1106
1106
  const setup = await service.setupAccount({
1107
1107
  ownerAddress: ownerAddress2,
1108
1108
  sessionOwnerAddress: sessionOwner.address,
1109
- targetChain: _chunk55QIUUIScjs.toEvmCaip2.call(void 0, targetChain),
1109
+ targetChain: _chunkLT3QKJI2cjs.toEvmCaip2.call(void 0, targetChain),
1110
1110
  targetToken,
1111
1111
  signerAddress,
1112
1112
  sessionChainIds,
@@ -1133,7 +1133,7 @@ function WithdrawFlow({
1133
1133
  primaryType: typedData.primaryType,
1134
1134
  message: typedData.message
1135
1135
  });
1136
- const sessionDetails = _chunk55QIUUIScjs.buildSessionDetails.call(void 0,
1136
+ const sessionDetails = _chunkLT3QKJI2cjs.buildSessionDetails.call(void 0,
1137
1137
  setup.sessionDetailsUnsigned,
1138
1138
  signature
1139
1139
  );
@@ -1147,7 +1147,7 @@ function WithdrawFlow({
1147
1147
  eoaAddress: ownerAddress2,
1148
1148
  sessionOwner: sessionOwner.address,
1149
1149
  target: {
1150
- chain: _chunk55QIUUIScjs.toEvmCaip2.call(void 0, targetChain),
1150
+ chain: _chunkLT3QKJI2cjs.toEvmCaip2.call(void 0, targetChain),
1151
1151
  token: targetToken,
1152
1152
  recipient
1153
1153
  }
@@ -1156,7 +1156,7 @@ function WithdrawFlow({
1156
1156
  }
1157
1157
  handleConnected(ownerAddress2, smartAccount);
1158
1158
  const amountUnits = _viem.parseUnits.call(void 0, amountValue, asset.decimals);
1159
- const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _26 => _26.publicClient]), () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, sourceChain)));
1159
+ const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _26 => _26.publicClient]), () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, sourceChain)));
1160
1160
  let result;
1161
1161
  if (onSignTransaction) {
1162
1162
  const transferData = isSourceNative ? { to: smartAccount, value: amountUnits, data: "0x" } : {
@@ -1179,7 +1179,7 @@ function WithdrawFlow({
1179
1179
  const { signature } = await onSignTransaction(request);
1180
1180
  const relayResult = await service.relayWithdraw({
1181
1181
  smartAccount,
1182
- chainId: _chunk55QIUUIScjs.toEvmCaip2.call(void 0, sourceChain),
1182
+ chainId: _chunkLT3QKJI2cjs.toEvmCaip2.call(void 0, sourceChain),
1183
1183
  safeAddress,
1184
1184
  safeTransaction: request.typedData.message,
1185
1185
  signature
@@ -1237,7 +1237,7 @@ function WithdrawFlow({
1237
1237
  targetChain,
1238
1238
  targetToken
1239
1239
  });
1240
- handleError(_chunk55QIUUIScjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1240
+ handleError(_chunkLT3QKJI2cjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1241
1241
  throw err;
1242
1242
  } finally {
1243
1243
  setIsSubmitting(false);
@@ -1280,12 +1280,12 @@ function WithdrawFlow({
1280
1280
  [logFlowError, onWithdrawFailed]
1281
1281
  );
1282
1282
  const targetChainOptions = _react.useMemo.call(void 0, () => {
1283
- return _chunkZNHU72LIcjs.SOURCE_CHAINS.filter(
1284
- (chain) => _chunkZNHU72LIcjs.getSupportedTargetTokens.call(void 0, chain.id).length > 0
1283
+ return _chunkNELAYNA3cjs.SOURCE_CHAINS.filter(
1284
+ (chain) => _chunkNELAYNA3cjs.getSupportedTargetTokens.call(void 0, chain.id).length > 0
1285
1285
  );
1286
1286
  }, []);
1287
1287
  const targetTokenOptions = _react.useMemo.call(void 0,
1288
- () => _chunkZNHU72LIcjs.getSupportedTargetTokens.call(void 0, targetChain),
1288
+ () => _chunkNELAYNA3cjs.getSupportedTargetTokens.call(void 0, targetChain),
1289
1289
  [targetChain]
1290
1290
  );
1291
1291
  _react.useEffect.call(void 0, () => {
@@ -1300,7 +1300,7 @@ function WithdrawFlow({
1300
1300
  const handleTargetChainChange = _react.useCallback.call(void 0,
1301
1301
  (chainId) => {
1302
1302
  setTargetChain(chainId);
1303
- const options = _chunkZNHU72LIcjs.getSupportedTargetTokens.call(void 0, chainId);
1303
+ const options = _chunkNELAYNA3cjs.getSupportedTargetTokens.call(void 0, chainId);
1304
1304
  if (options.length === 0) {
1305
1305
  return;
1306
1306
  }
@@ -1347,7 +1347,7 @@ function WithdrawFlow({
1347
1347
  }, [walletOptions, ownerAddress, _optionalChain([reownWallet, 'optionalAccess', _37 => _37.icon])]);
1348
1348
  if (showConnectStep) {
1349
1349
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1350
- _chunk55QIUUIScjs.ConnectStep,
1350
+ _chunkLT3QKJI2cjs.ConnectStep,
1351
1351
  {
1352
1352
  walletOptions,
1353
1353
  selectedWalletId: selectedWalletIdEffective,
@@ -1370,7 +1370,7 @@ function WithdrawFlow({
1370
1370
  const resolvedOwnerAddress = signerContext.ownerAddress;
1371
1371
  const resolvedConnectedAddress = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([signerContext, 'access', _38 => _38.walletClient, 'optionalAccess', _39 => _39.account, 'optionalAccess', _40 => _40.address]), () => ( _optionalChain([reownWallet, 'optionalAccess', _41 => _41.address]))), () => ( _optionalChain([dappWalletClient, 'optionalAccess', _42 => _42.account, 'optionalAccess', _43 => _43.address]))), () => ( resolvedOwnerAddress));
1372
1372
  const resolvedDefaultRecipient = _nullishCoalesce(defaultRecipient, () => ( resolvedConnectedAddress));
1373
- const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunk55QIUUIScjs.getPublicClient.call(void 0, sourceChain)));
1373
+ const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunkLT3QKJI2cjs.getPublicClient.call(void 0, sourceChain)));
1374
1374
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
1375
1375
  step.type === "form" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1376
1376
  WithdrawFormStep,
@@ -1397,7 +1397,7 @@ function WithdrawFlow({
1397
1397
  }
1398
1398
  ),
1399
1399
  step.type === "processing" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1400
- _chunk55QIUUIScjs.ProcessingStep,
1400
+ _chunkLT3QKJI2cjs.ProcessingStep,
1401
1401
  {
1402
1402
  smartAccount: step.smartAccount,
1403
1403
  txHash: step.txHash,
@@ -1422,7 +1422,7 @@ function WithdrawFlow({
1422
1422
  // src/WithdrawModal.tsx
1423
1423
 
1424
1424
  var ReownWithdrawInner = _react.lazy.call(void 0,
1425
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-CT6E2F2J.cjs"))).then((m) => ({
1425
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-FGUHFUVN.cjs"))).then((m) => ({
1426
1426
  default: m.WithdrawModalReown
1427
1427
  }))
1428
1428
  );
@@ -1448,8 +1448,8 @@ function WithdrawModalInner({
1448
1448
  isOpen,
1449
1449
  onClose,
1450
1450
  inline,
1451
- backendUrl = _chunkZNHU72LIcjs.DEFAULT_BACKEND_URL,
1452
- signerAddress = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS,
1451
+ backendUrl = _chunkNELAYNA3cjs.DEFAULT_BACKEND_URL,
1452
+ signerAddress = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS,
1453
1453
  sessionChainIds,
1454
1454
  forceRegister = false,
1455
1455
  waitForFinalTx = true,
@@ -1475,15 +1475,15 @@ function WithdrawModalInner({
1475
1475
  const [currentStepIndex, setCurrentStepIndex] = _react.useState.call(void 0, 0);
1476
1476
  const [totalBalanceUsd, setTotalBalanceUsd] = _react.useState.call(void 0, null);
1477
1477
  const backHandlerRef = _react.useRef.call(void 0, void 0);
1478
- const targetChain = _chunkZNHU72LIcjs.getChainId.call(void 0, targetChainProp);
1479
- const sourceChain = _chunkZNHU72LIcjs.getChainId.call(void 0, sourceChainProp);
1478
+ const targetChain = _chunkNELAYNA3cjs.getChainId.call(void 0, targetChainProp);
1479
+ const sourceChain = _chunkNELAYNA3cjs.getChainId.call(void 0, sourceChainProp);
1480
1480
  const service = _react.useMemo.call(void 0,
1481
- () => _chunk55QIUUIScjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:withdraw" }),
1481
+ () => _chunkLT3QKJI2cjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:withdraw" }),
1482
1482
  [backendUrl, debug]
1483
1483
  );
1484
1484
  _react.useEffect.call(void 0, () => {
1485
1485
  if (isOpen && modalRef.current) {
1486
- _chunk55QIUUIScjs.applyTheme.call(void 0, modalRef.current, theme);
1486
+ _chunkLT3QKJI2cjs.applyTheme.call(void 0, modalRef.current, theme);
1487
1487
  }
1488
1488
  }, [isOpen, theme]);
1489
1489
  const hasCalledReady = _react.useRef.call(void 0, false);
@@ -1519,7 +1519,7 @@ function WithdrawModalInner({
1519
1519
  const title = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _52 => _52.title]), () => ( "Withdraw"));
1520
1520
  const canGoBack = currentStepIndex > 0 && currentStepIndex < 3 && backHandlerRef.current;
1521
1521
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1522
- _chunk55QIUUIScjs.Modal,
1522
+ _chunkLT3QKJI2cjs.Modal,
1523
1523
  {
1524
1524
  isOpen,
1525
1525
  onClose,
@@ -1577,7 +1577,7 @@ function WithdrawModalInner({
1577
1577
  ] }),
1578
1578
  balance && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-header-balance", children: [
1579
1579
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-modal-header-balance-label", children: balance.title }),
1580
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-modal-header-balance-value", children: _nullishCoalesce(balance.amount, () => ( (totalBalanceUsd !== null ? _chunk55QIUUIScjs.currencyFormatter.format(totalBalanceUsd) : null))) })
1580
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-modal-header-balance-value", children: _nullishCoalesce(balance.amount, () => ( (totalBalanceUsd !== null ? _chunkLT3QKJI2cjs.currencyFormatter.format(totalBalanceUsd) : null))) })
1581
1581
  ] })
1582
1582
  ] }),
1583
1583
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -23,10 +23,10 @@ var ALL_CHAINS_BY_ID = {
23
23
  [_chains.soneium.id]: _chains.soneium
24
24
  };
25
25
  var SUPPORTED_TOKEN_MATRIX = {
26
- ETH: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id],
27
- WETH: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id],
28
- USDC: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id],
29
- USDT: [_chains.mainnet.id, _chains.arbitrum.id, _chains.polygon.id, _chains.bsc.id]
26
+ ETH: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id, _chains.soneium.id],
27
+ WETH: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id, _chains.soneium.id],
28
+ USDC: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id, _chains.soneium.id],
29
+ USDT: [_chains.mainnet.id, _chains.arbitrum.id, _chains.polygon.id, _chains.bsc.id, _chains.plasma.id]
30
30
  };
31
31
  var CHAIN_DISPLAY_ORDER = [
32
32
  _chains.mainnet.id,
@@ -34,7 +34,9 @@ var CHAIN_DISPLAY_ORDER = [
34
34
  _chains.arbitrum.id,
35
35
  _chains.optimism.id,
36
36
  _chains.polygon.id,
37
- _chains.bsc.id
37
+ _chains.bsc.id,
38
+ _chains.plasma.id,
39
+ _chains.soneium.id
38
40
  ];
39
41
  var supportedChainSet = /* @__PURE__ */ new Set();
40
42
  for (const chainIds of Object.values(SUPPORTED_TOKEN_MATRIX)) {
@@ -20,7 +20,7 @@ import {
20
20
  loadSessionOwnerFromStorage,
21
21
  saveSessionOwnerToStorage,
22
22
  toEvmCaip2
23
- } from "./chunk-U6KOKXWY.mjs";
23
+ } from "./chunk-QIK6ONMQ.mjs";
24
24
  import {
25
25
  DEFAULT_BACKEND_URL,
26
26
  DEFAULT_SIGNER_ADDRESS,
@@ -33,7 +33,7 @@ import {
33
33
  getTokenDecimalsByAddress,
34
34
  getTokenIcon,
35
35
  getTokenSymbol
36
- } from "./chunk-AVASFOLP.mjs";
36
+ } from "./chunk-ZJQZEIHA.mjs";
37
37
 
38
38
  // src/WithdrawModal.tsx
39
39
  import {
@@ -1422,7 +1422,7 @@ function WithdrawFlow({
1422
1422
  // src/WithdrawModal.tsx
1423
1423
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
1424
1424
  var ReownWithdrawInner = lazy(
1425
- () => import("./WithdrawModalReown-FM2TJFOV.mjs").then((m) => ({
1425
+ () => import("./WithdrawModalReown-XOFREB4D.mjs").then((m) => ({
1426
1426
  default: m.WithdrawModalReown
1427
1427
  }))
1428
1428
  );