@rhinestone/deposit-modal 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{DepositModalReown-CHVDFNEX.cjs → DepositModalReown-J5YFZKFS.cjs} +9 -9
  2. package/dist/{DepositModalReown-T4RRW5FM.mjs → DepositModalReown-RZ6VSMKP.mjs} +6 -6
  3. package/dist/{WithdrawModalReown-Q6MUMZTX.mjs → WithdrawModalReown-4YUV2WWV.mjs} +5 -5
  4. package/dist/{WithdrawModalReown-YZMZTN6E.cjs → WithdrawModalReown-B6BGY52S.cjs} +8 -8
  5. package/dist/caip-C_ZYFIGa.d.cts +77 -0
  6. package/dist/caip-C_ZYFIGa.d.ts +77 -0
  7. package/dist/{chunk-XOBLFIGV.cjs → chunk-4IOQIWDY.cjs} +4 -4
  8. package/dist/{chunk-UZENNYHS.mjs → chunk-5S5BQ2GM.mjs} +83 -53
  9. package/dist/{chunk-CLUR2J72.mjs → chunk-7JJ4EFDY.mjs} +13 -17
  10. package/dist/{chunk-UN6MEOOA.cjs → chunk-IRI34U6N.cjs} +71 -33
  11. package/dist/{chunk-KUURQOTT.cjs → chunk-JRFPKFL6.cjs} +102 -106
  12. package/dist/{chunk-J52W34Y7.mjs → chunk-LXTAAHPC.mjs} +2 -2
  13. package/dist/{chunk-HH46H6ZI.cjs → chunk-PUMTR35E.cjs} +49 -24
  14. package/dist/{chunk-OYPFPEIT.mjs → chunk-RXWJ267K.mjs} +153 -115
  15. package/dist/{chunk-CPMHRMPH.mjs → chunk-SX52FXKH.mjs} +48 -23
  16. package/dist/{chunk-K6J3RDDK.mjs → chunk-TYB6AA6D.mjs} +1 -1
  17. package/dist/{chunk-6P3WNDED.cjs → chunk-VURI4G2Z.cjs} +7 -7
  18. package/dist/{chunk-RLMXWLF4.cjs → chunk-WL7AXYQ4.cjs} +3 -3
  19. package/dist/{chunk-QSMPJQTX.cjs → chunk-XLXJW44N.cjs} +384 -354
  20. package/dist/{chunk-4JLYWRQA.mjs → chunk-YLIPI3NU.mjs} +1 -1
  21. package/dist/constants.cjs +4 -2
  22. package/dist/constants.d.cts +1 -1
  23. package/dist/constants.d.ts +1 -1
  24. package/dist/constants.mjs +5 -3
  25. package/dist/deposit.cjs +6 -6
  26. package/dist/deposit.d.cts +2 -2
  27. package/dist/deposit.d.ts +2 -2
  28. package/dist/deposit.mjs +5 -5
  29. package/dist/index.cjs +11 -7
  30. package/dist/index.d.cts +2 -2
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.mjs +12 -8
  33. package/dist/polymarket.cjs +6 -6
  34. package/dist/polymarket.mjs +3 -3
  35. package/dist/{types-6ROxwyfG.d.cts → types--LQWg_4W.d.cts} +1 -1
  36. package/dist/{types-6ROxwyfG.d.ts → types--LQWg_4W.d.ts} +1 -1
  37. package/dist/withdraw.cjs +5 -5
  38. package/dist/withdraw.d.cts +2 -2
  39. package/dist/withdraw.d.ts +2 -2
  40. package/dist/withdraw.mjs +4 -4
  41. package/package.json +1 -1
  42. package/dist/caip-CsslyHGL.d.cts +0 -62
  43. package/dist/caip-CsslyHGL.d.ts +0 -62
@@ -33,13 +33,13 @@
33
33
 
34
34
 
35
35
 
36
- var _chunkUN6MEOOAcjs = require('./chunk-UN6MEOOA.cjs');
37
36
 
37
+ var _chunkIRI34U6Ncjs = require('./chunk-IRI34U6N.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkRLMXWLF4cjs = require('./chunk-RLMXWLF4.cjs');
42
41
 
42
+ var _chunkWL7AXYQ4cjs = require('./chunk-WL7AXYQ4.cjs');
43
43
 
44
44
 
45
45
 
@@ -52,7 +52,7 @@ var _chunkRLMXWLF4cjs = require('./chunk-RLMXWLF4.cjs');
52
52
 
53
53
 
54
54
 
55
- var _chunkHH46H6ZIcjs = require('./chunk-HH46H6ZI.cjs');
55
+ var _chunkPUMTR35Ecjs = require('./chunk-PUMTR35E.cjs');
56
56
 
57
57
  // src/WithdrawModal.tsx
58
58
 
@@ -244,8 +244,8 @@ function WithdrawFormStep({
244
244
  const chainMismatch = Boolean(
245
245
  _optionalChain([walletClient, 'optionalAccess', _3 => _3.chain, 'optionalAccess', _4 => _4.id]) && walletClient.chain.id !== asset.chainId
246
246
  );
247
- const targetSymbol = _chunkHH46H6ZIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
248
- const targetChainName = _chunkHH46H6ZIcjs.getChainName.call(void 0, targetChain);
247
+ const targetSymbol = _chunkPUMTR35Ecjs.getTokenSymbol.call(void 0, targetToken, targetChain);
248
+ const targetChainName = _chunkPUMTR35Ecjs.getChainName.call(void 0, targetChain);
249
249
  const isBusy = submitting || isSubmitting;
250
250
  const seededRecipientRef = _react.useRef.call(void 0, _nullishCoalesce(defaultRecipient, () => ( "")));
251
251
  _react.useEffect.call(void 0, () => {
@@ -264,7 +264,7 @@ function WithdrawFormStep({
264
264
  setIsSwitching(true);
265
265
  switchChain(asset.chainId).catch((err) => {
266
266
  const raw = err instanceof Error ? err.message : "Failed to switch chain";
267
- setError(_chunkUN6MEOOAcjs.formatUserError.call(void 0, raw));
267
+ setError(_chunkIRI34U6Ncjs.formatUserError.call(void 0, raw));
268
268
  }).finally(() => {
269
269
  setIsSwitching(false);
270
270
  });
@@ -284,7 +284,7 @@ function WithdrawFormStep({
284
284
  return;
285
285
  }
286
286
  try {
287
- const bal = _chunkUN6MEOOAcjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
287
+ const bal = _chunkIRI34U6Ncjs.isNativeAsset.call(void 0, asset) ? await publicClient.getBalance({ address: safeAddress }) : await publicClient.readContract({
288
288
  address: asset.token,
289
289
  abi: _viem.erc20Abi,
290
290
  functionName: "balanceOf",
@@ -395,7 +395,7 @@ function WithdrawFormStep({
395
395
  await onSubmit(recipient, amount);
396
396
  } catch (err) {
397
397
  const raw = err instanceof Error ? err.message : "Withdrawal failed";
398
- setError(_chunkUN6MEOOAcjs.formatUserError.call(void 0, raw));
398
+ setError(_chunkIRI34U6Ncjs.formatUserError.call(void 0, raw));
399
399
  } finally {
400
400
  setIsSubmitting(false);
401
401
  }
@@ -411,16 +411,16 @@ function WithdrawFormStep({
411
411
  if (isBalanceLoading) {
412
412
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
413
413
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-withdraw-loading", children: [
414
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.Spinner, { className: "rs-spinner--lg" }),
414
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.Spinner, { className: "rs-spinner--lg" }),
415
415
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-title", children: "Loading on-chain balance" }),
416
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-subtitle", children: chainMismatch ? `Switch to ${_chunkHH46H6ZIcjs.getChainName.call(void 0, asset.chainId)} to continue.` : "Please wait before withdrawing." })
416
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-withdraw-loading-subtitle", children: chainMismatch ? `Switch to ${_chunkPUMTR35Ecjs.getChainName.call(void 0, asset.chainId)} to continue.` : "Please wait before withdrawing." })
417
417
  ] }),
418
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.PoweredBy, {})
418
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.PoweredBy, {})
419
419
  ] });
420
420
  }
421
421
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
422
422
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body", children: [
423
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.CircleArrowOutUpLeftIcon, {}), title: "Withdraw" }),
423
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.BodyHeader, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.CircleArrowOutUpLeftIcon, {}), title: "Withdraw" }),
424
424
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-section", children: [
425
425
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
426
426
  "label",
@@ -466,7 +466,7 @@ function WithdrawFormStep({
466
466
  ),
467
467
  isRecipientConnected ? null : "Use connected"
468
468
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
469
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.WalletIcon, { className: "rs-withdraw-use-connected-icon" }),
469
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.WalletIcon, { className: "rs-withdraw-use-connected-icon" }),
470
470
  isRecipientConnected ? null : "Use connected"
471
471
  ] })
472
472
  }
@@ -506,7 +506,7 @@ function WithdrawFormStep({
506
506
  ) })
507
507
  ] }),
508
508
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-amount-info", children: [
509
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunkUN6MEOOAcjs.currencyFormatter.format(amountUsd) : "$0.00" }),
509
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-withdraw-usd", children: amountUsd !== null ? _chunkIRI34U6Ncjs.currencyFormatter.format(amountUsd) : "$0.00" }),
510
510
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-withdraw-balance", children: [
511
511
  "Balance: ",
512
512
  formattedBalance,
@@ -536,10 +536,10 @@ function WithdrawFormStep({
536
536
  },
537
537
  children: [
538
538
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-dropdown-value", children: [
539
- _chunkHH46H6ZIcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
539
+ _chunkPUMTR35Ecjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
540
540
  "img",
541
541
  {
542
- src: _chunkHH46H6ZIcjs.getChainIcon.call(void 0, targetChain),
542
+ src: _chunkPUMTR35Ecjs.getChainIcon.call(void 0, targetChain),
543
543
  alt: targetChainName,
544
544
  className: "rs-withdraw-dropdown-icon"
545
545
  }
@@ -547,7 +547,7 @@ function WithdrawFormStep({
547
547
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetChainName })
548
548
  ] }),
549
549
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
550
- _chunkUN6MEOOAcjs.ChevronDownIcon,
550
+ _chunkIRI34U6Ncjs.ChevronDownIcon,
551
551
  {
552
552
  className: "rs-withdraw-dropdown-arrow",
553
553
  style: {
@@ -568,10 +568,10 @@ function WithdrawFormStep({
568
568
  setShowChainDropdown(false);
569
569
  },
570
570
  children: [
571
- _chunkHH46H6ZIcjs.getChainIcon.call(void 0, chain.id) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
571
+ _chunkPUMTR35Ecjs.getChainIcon.call(void 0, chain.id) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
572
572
  "img",
573
573
  {
574
- src: _chunkHH46H6ZIcjs.getChainIcon.call(void 0, chain.id),
574
+ src: _chunkPUMTR35Ecjs.getChainIcon.call(void 0, chain.id),
575
575
  alt: chain.name,
576
576
  className: "rs-withdraw-dropdown-icon"
577
577
  }
@@ -605,18 +605,17 @@ function WithdrawFormStep({
605
605
  },
606
606
  children: [
607
607
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-withdraw-dropdown-value", children: [
608
- _chunkHH46H6ZIcjs.getTokenIcon.call(void 0, targetSymbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
609
- "img",
608
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
609
+ _chunkIRI34U6Ncjs.TokenIcon,
610
610
  {
611
- src: _chunkHH46H6ZIcjs.getTokenIcon.call(void 0, targetSymbol),
612
- alt: targetSymbol,
611
+ symbol: targetSymbol,
613
612
  className: "rs-withdraw-dropdown-icon"
614
613
  }
615
614
  ),
616
615
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: targetSymbol })
617
616
  ] }),
618
617
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
619
- _chunkUN6MEOOAcjs.ChevronDownIcon,
618
+ _chunkIRI34U6Ncjs.ChevronDownIcon,
620
619
  {
621
620
  className: "rs-withdraw-dropdown-arrow",
622
621
  style: {
@@ -637,11 +636,10 @@ function WithdrawFormStep({
637
636
  setShowTokenDropdown(false);
638
637
  },
639
638
  children: [
640
- _chunkHH46H6ZIcjs.getTokenIcon.call(void 0, option.symbol) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
641
- "img",
639
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
640
+ _chunkIRI34U6Ncjs.TokenIcon,
642
641
  {
643
- src: _chunkHH46H6ZIcjs.getTokenIcon.call(void 0, option.symbol),
644
- alt: option.symbol,
642
+ symbol: option.symbol,
645
643
  className: "rs-withdraw-dropdown-icon"
646
644
  }
647
645
  ),
@@ -655,11 +653,11 @@ function WithdrawFormStep({
655
653
  )
656
654
  ] })
657
655
  ] }),
658
- 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 ${_chunkHH46H6ZIcjs.getChainName.call(void 0, asset.chainId)}...` : `Switch to ${_chunkHH46H6ZIcjs.getChainName.call(void 0, asset.chainId)} to continue.` }) }),
659
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.Callout, { variant: "error", children: error }),
660
- !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.Callout, { variant: "error", children: registrationError }),
656
+ 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 ${_chunkPUMTR35Ecjs.getChainName.call(void 0, asset.chainId)}...` : `Switch to ${_chunkPUMTR35Ecjs.getChainName.call(void 0, asset.chainId)} to continue.` }) }),
657
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.Callout, { variant: "error", children: error }),
658
+ !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.Callout, { variant: "error", children: registrationError }),
661
659
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
662
- _chunkUN6MEOOAcjs.Button,
660
+ _chunkIRI34U6Ncjs.Button,
663
661
  {
664
662
  onClick: handleWithdraw,
665
663
  fullWidth: true,
@@ -669,7 +667,7 @@ function WithdrawFormStep({
669
667
  }
670
668
  )
671
669
  ] }),
672
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.PoweredBy, {})
670
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.PoweredBy, {})
673
671
  ] });
674
672
  }
675
673
  WithdrawFormStep.displayName = "WithdrawFormStep";
@@ -696,17 +694,15 @@ function WithdrawReviewStep({
696
694
  }) {
697
695
  const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
698
696
  const [error, setError] = _react.useState.call(void 0, null);
699
- const sourceChainName = _chunkHH46H6ZIcjs.getChainName.call(void 0, sourceChain);
700
- const sourceChainIcon = _chunkHH46H6ZIcjs.getChainIcon.call(void 0, sourceChain);
701
- const targetSymbol = _chunkHH46H6ZIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
702
- const targetChainName = _chunkHH46H6ZIcjs.getChainName.call(void 0, targetChain);
703
- const targetChainIcon = _chunkHH46H6ZIcjs.getChainIcon.call(void 0, targetChain);
704
- const sourceTokenIcon = _chunkHH46H6ZIcjs.getTokenIcon.call(void 0, sourceSymbol);
705
- const targetTokenIcon = _chunkHH46H6ZIcjs.getTokenIcon.call(void 0, targetSymbol);
697
+ const sourceChainName = _chunkPUMTR35Ecjs.getChainName.call(void 0, sourceChain);
698
+ const sourceChainIcon = _chunkPUMTR35Ecjs.getChainIcon.call(void 0, sourceChain);
699
+ const targetSymbol = _chunkPUMTR35Ecjs.getTokenSymbol.call(void 0, targetToken, targetChain);
700
+ const targetChainName = _chunkPUMTR35Ecjs.getChainName.call(void 0, targetChain);
701
+ const targetChainIcon = _chunkPUMTR35Ecjs.getChainIcon.call(void 0, targetChain);
706
702
  const amountNumber = Number(amount);
707
- const formattedSendAmount = _nullishCoalesce(_chunkUN6MEOOAcjs.formatTokenAmount.call(void 0, amountNumber, sourceSymbol), () => ( amount));
708
- const prices = _chunkUN6MEOOAcjs.useTokenPrices.call(void 0, service, [sourceSymbol, targetSymbol]);
709
- const receiveDisplay = _nullishCoalesce(_chunkUN6MEOOAcjs.formatReceiveEstimate.call(void 0, {
703
+ const formattedSendAmount = _nullishCoalesce(_chunkIRI34U6Ncjs.formatTokenAmount.call(void 0, amountNumber, sourceSymbol), () => ( amount));
704
+ const prices = _chunkIRI34U6Ncjs.useTokenPrices.call(void 0, service, [sourceSymbol, targetSymbol]);
705
+ const receiveDisplay = _nullishCoalesce(_chunkIRI34U6Ncjs.formatReceiveEstimate.call(void 0, {
710
706
  sourceAmount: Number.isFinite(amountNumber) ? amountNumber : void 0,
711
707
  sourceSymbol,
712
708
  targetSymbol,
@@ -720,7 +716,7 @@ function WithdrawReviewStep({
720
716
  await onConfirm();
721
717
  } catch (err) {
722
718
  const raw = err instanceof Error ? err.message : "Withdraw failed";
723
- const message = _chunkUN6MEOOAcjs.formatUserError.call(void 0, raw);
719
+ const message = _chunkIRI34U6Ncjs.formatUserError.call(void 0, raw);
724
720
  setError(message);
725
721
  _optionalChain([onError, 'optionalCall', _10 => _10(message, "WITHDRAW_REVIEW_ERROR")]);
726
722
  } finally {
@@ -731,9 +727,9 @@ function WithdrawReviewStep({
731
727
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
732
728
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
733
729
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
734
- _chunkUN6MEOOAcjs.BodyHeader,
730
+ _chunkIRI34U6Ncjs.BodyHeader,
735
731
  {
736
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.CircleArrowOutUpLeftIcon, {}),
732
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.CircleArrowOutUpLeftIcon, {}),
737
733
  title: "Review withdrawal"
738
734
  }
739
735
  ),
@@ -746,7 +742,7 @@ function WithdrawReviewStep({
746
742
  " ",
747
743
  sourceSymbol
748
744
  ] }),
749
- sourceTokenIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: sourceTokenIcon, alt: "" }) })
745
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.TokenIcon, { symbol: sourceSymbol }) })
750
746
  ] })
751
747
  ] }),
752
748
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -764,7 +760,7 @@ function WithdrawReviewStep({
764
760
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Receive" }),
765
761
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
766
762
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
767
- targetTokenIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: targetTokenIcon, alt: "" }) })
763
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.TokenIcon, { symbol: targetSymbol }) })
768
764
  ] })
769
765
  ] }),
770
766
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -779,10 +775,10 @@ function WithdrawReviewStep({
779
775
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-value", children: estimatedTime })
780
776
  ] })
781
777
  ] }),
782
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.Callout, { variant: "error", children: error }),
783
- !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.Callout, { variant: "error", children: registrationError }),
778
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.Callout, { variant: "error", children: error }),
779
+ !error && registrationError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.Callout, { variant: "error", children: registrationError }),
784
780
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
785
- _chunkUN6MEOOAcjs.Button,
781
+ _chunkIRI34U6Ncjs.Button,
786
782
  {
787
783
  onClick: handleConfirm,
788
784
  loading: isSubmitting,
@@ -793,7 +789,7 @@ function WithdrawReviewStep({
793
789
  }
794
790
  )
795
791
  ] }),
796
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.PoweredBy, {})
792
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.PoweredBy, {})
797
793
  ] });
798
794
  }
799
795
  WithdrawReviewStep.displayName = "WithdrawReviewStep";
@@ -805,15 +801,15 @@ var ADDR_REGEX = /^0x[a-fA-F0-9]{40}$/;
805
801
  var REGISTRATION_DEBOUNCE_MS = 600;
806
802
  var WITHDRAW_INDEXING_DELAY_MS = 2e3;
807
803
  function resolveSessionOwner(eoaAddress) {
808
- const localOwner = _chunkUN6MEOOAcjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
804
+ const localOwner = _chunkIRI34U6Ncjs.loadSessionOwnerFromStorage.call(void 0, eoaAddress);
809
805
  if (localOwner) {
810
806
  return {
811
- account: _chunkUN6MEOOAcjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
807
+ account: _chunkIRI34U6Ncjs.accountFromPrivateKey.call(void 0, localOwner.privateKey),
812
808
  address: localOwner.address
813
809
  };
814
810
  }
815
- const created = _chunkUN6MEOOAcjs.createSessionOwnerKey.call(void 0, );
816
- _chunkUN6MEOOAcjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
811
+ const created = _chunkIRI34U6Ncjs.createSessionOwnerKey.call(void 0, );
812
+ _chunkIRI34U6Ncjs.saveSessionOwnerToStorage.call(void 0, eoaAddress, created.privateKey, created.address);
817
813
  return { account: created.account, address: created.address };
818
814
  }
819
815
  function targetsEqual(a, b) {
@@ -833,7 +829,7 @@ function WithdrawFlow({
833
829
  amount: defaultAmount,
834
830
  service,
835
831
  allowedRoutes,
836
- signerAddress = _chunkHH46H6ZIcjs.DEFAULT_SIGNER_ADDRESS,
832
+ signerAddress = _chunkPUMTR35Ecjs.DEFAULT_SIGNER_ADDRESS,
837
833
  sessionChainIds,
838
834
  forceRegister = false,
839
835
  reownWallet,
@@ -848,11 +844,11 @@ function WithdrawFlow({
848
844
  onError,
849
845
  debug
850
846
  }) {
851
- const rpcUrls = _chunkUN6MEOOAcjs.useRpcUrls.call(void 0, );
852
- const onStepChangeRef = _chunkUN6MEOOAcjs.useLatestRef.call(void 0, onStepChange);
853
- const onEventRef = _chunkUN6MEOOAcjs.useLatestRef.call(void 0, onEvent);
854
- const onLifecycleRef = _chunkUN6MEOOAcjs.useLatestRef.call(void 0, onLifecycle);
855
- const onErrorRef = _chunkUN6MEOOAcjs.useLatestRef.call(void 0, onError);
847
+ const rpcUrls = _chunkIRI34U6Ncjs.useRpcUrls.call(void 0, );
848
+ const onStepChangeRef = _chunkIRI34U6Ncjs.useLatestRef.call(void 0, onStepChange);
849
+ const onEventRef = _chunkIRI34U6Ncjs.useLatestRef.call(void 0, onEvent);
850
+ const onLifecycleRef = _chunkIRI34U6Ncjs.useLatestRef.call(void 0, onLifecycle);
851
+ const onErrorRef = _chunkIRI34U6Ncjs.useLatestRef.call(void 0, onError);
856
852
  const isFlowActiveRef = _react.useRef.call(void 0, true);
857
853
  const submitGenerationRef = _react.useRef.call(void 0, 0);
858
854
  _react.useEffect.call(void 0, () => {
@@ -863,13 +859,13 @@ function WithdrawFlow({
863
859
  }, []);
864
860
  const logFlow = _react.useCallback.call(void 0,
865
861
  (message, data) => {
866
- _chunkUN6MEOOAcjs.debugLog.call(void 0, debug, "withdraw-flow", message, data);
862
+ _chunkIRI34U6Ncjs.debugLog.call(void 0, debug, "withdraw-flow", message, data);
867
863
  },
868
864
  [debug]
869
865
  );
870
866
  const logFlowError = _react.useCallback.call(void 0,
871
867
  (message, error, data) => {
872
- _chunkUN6MEOOAcjs.debugError.call(void 0, debug, "withdraw-flow", message, error, data);
868
+ _chunkIRI34U6Ncjs.debugError.call(void 0, debug, "withdraw-flow", message, error, data);
873
869
  },
874
870
  [debug]
875
871
  );
@@ -945,14 +941,14 @@ function WithdrawFlow({
945
941
  return {
946
942
  ownerAddress: dappAddress,
947
943
  walletClient: _nullishCoalesce(dappWalletClient, () => ( void 0)),
948
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkUN6MEOOAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
944
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkIRI34U6Ncjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
949
945
  switchChain: dappSwitchChain
950
946
  };
951
947
  }
952
948
  return {
953
949
  ownerAddress: dappWalletClient.account.address,
954
950
  walletClient: dappWalletClient,
955
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkUN6MEOOAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
951
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkIRI34U6Ncjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
956
952
  switchChain: dappSwitchChain
957
953
  };
958
954
  }
@@ -963,7 +959,7 @@ function WithdrawFlow({
963
959
  return {
964
960
  ownerAddress: dappWalletClient.account.address,
965
961
  walletClient: dappWalletClient,
966
- publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkUN6MEOOAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
962
+ publicClient: _nullishCoalesce(dappPublicClient, () => ( _chunkIRI34U6Ncjs.getPublicClient.call(void 0, sourceChain, rpcUrls))),
967
963
  switchChain: dappSwitchChain
968
964
  };
969
965
  }
@@ -1021,7 +1017,7 @@ function WithdrawFlow({
1021
1017
  const setup = await service.setupAccount({
1022
1018
  ownerAddress,
1023
1019
  sessionOwnerAddress: sessionOwner.address,
1024
- targetChain: _chunkHH46H6ZIcjs.toEvmCaip2.call(void 0, targetChain),
1020
+ targetChain: _chunkPUMTR35Ecjs.toEvmCaip2.call(void 0, targetChain),
1025
1021
  targetToken,
1026
1022
  recipient: recipientForRegistration,
1027
1023
  signerAddress,
@@ -1046,7 +1042,7 @@ function WithdrawFlow({
1046
1042
  message: typedData.message
1047
1043
  });
1048
1044
  if (cancelled) return;
1049
- const sessionDetails = _chunkUN6MEOOAcjs.buildSessionDetails.call(void 0,
1045
+ const sessionDetails = _chunkIRI34U6Ncjs.buildSessionDetails.call(void 0,
1050
1046
  setup.sessionDetailsUnsigned,
1051
1047
  signature
1052
1048
  );
@@ -1060,7 +1056,7 @@ function WithdrawFlow({
1060
1056
  eoaAddress: ownerAddress,
1061
1057
  sessionOwner: sessionOwner.address,
1062
1058
  target: {
1063
- chain: _chunkHH46H6ZIcjs.toEvmCaip2.call(void 0, targetChain),
1059
+ chain: _chunkPUMTR35Ecjs.toEvmCaip2.call(void 0, targetChain),
1064
1060
  token: targetToken,
1065
1061
  recipient: recipientForRegistration
1066
1062
  }
@@ -1083,7 +1079,7 @@ function WithdrawFlow({
1083
1079
  } catch (err) {
1084
1080
  if (cancelled) return;
1085
1081
  const raw = err instanceof Error ? err.message : "Registration failed";
1086
- const message = _chunkUN6MEOOAcjs.formatUserError.call(void 0, raw);
1082
+ const message = _chunkIRI34U6Ncjs.formatUserError.call(void 0, raw);
1087
1083
  logFlowError("auto-register:failed", err, {
1088
1084
  ownerAddress,
1089
1085
  targetChain,
@@ -1116,10 +1112,10 @@ function WithdrawFlow({
1116
1112
  onErrorRef
1117
1113
  ]);
1118
1114
  const asset = _react.useMemo.call(void 0, () => {
1119
- const symbol = _chunkHH46H6ZIcjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
1120
- const decimals = _chunkHH46H6ZIcjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
1115
+ const symbol = _chunkPUMTR35Ecjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
1116
+ const decimals = _chunkPUMTR35Ecjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
1121
1117
  return {
1122
- id: _chunkUN6MEOOAcjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
1118
+ id: _chunkIRI34U6Ncjs.getAssetId.call(void 0, { chainId: sourceChain, token: sourceToken }),
1123
1119
  chainId: sourceChain,
1124
1120
  token: sourceToken,
1125
1121
  symbol,
@@ -1127,7 +1123,7 @@ function WithdrawFlow({
1127
1123
  decimals
1128
1124
  };
1129
1125
  }, [sourceChain, sourceToken]);
1130
- const isSourceNative = sourceToken.toLowerCase() === _chunkHH46H6ZIcjs.NATIVE_TOKEN_ADDRESS.toLowerCase();
1126
+ const isSourceNative = sourceToken.toLowerCase() === _chunkPUMTR35Ecjs.NATIVE_TOKEN_ADDRESS.toLowerCase();
1131
1127
  const isSameRoute = targetChain === sourceChain && targetToken.toLowerCase() === sourceToken.toLowerCase();
1132
1128
  const reviewedTarget = reviewedRecipient ? {
1133
1129
  chain: targetChain,
@@ -1152,8 +1148,8 @@ function WithdrawFlow({
1152
1148
  }
1153
1149
  if (lastStepOpenEventKeyRef.current === "form") return;
1154
1150
  lastStepOpenEventKeyRef.current = "form";
1155
- const tokenSymbol = _chunkHH46H6ZIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1156
- const chainName = _chunkHH46H6ZIcjs.getChainName.call(void 0, targetChain);
1151
+ const tokenSymbol = _chunkPUMTR35Ecjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1152
+ const chainName = _chunkPUMTR35Ecjs.getChainName.call(void 0, targetChain);
1157
1153
  _optionalChain([onEventRef, 'access', _39 => _39.current, 'optionalCall', _40 => _40({
1158
1154
  type: "withdraw_modal_select_amount_open",
1159
1155
  pred_balance: totalBalanceUsd,
@@ -1190,8 +1186,8 @@ function WithdrawFlow({
1190
1186
  );
1191
1187
  const handleFormContinue = _react.useCallback.call(void 0,
1192
1188
  (recipient, amountValue) => {
1193
- const tokenSymbol = _chunkHH46H6ZIcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1194
- const chainName = _chunkHH46H6ZIcjs.getChainName.call(void 0, targetChain);
1189
+ const tokenSymbol = _chunkPUMTR35Ecjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1190
+ const chainName = _chunkPUMTR35Ecjs.getChainName.call(void 0, targetChain);
1195
1191
  _optionalChain([onEventRef, 'access', _43 => _43.current, 'optionalCall', _44 => _44({
1196
1192
  type: "withdraw_modal_select_amount_cta_click",
1197
1193
  pred_balance: totalBalanceUsd,
@@ -1259,7 +1255,7 @@ function WithdrawFlow({
1259
1255
  targetToken
1260
1256
  });
1261
1257
  const amountUnits = _viem.parseUnits.call(void 0, amountValue, asset.decimals);
1262
- const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _46 => _46.publicClient]), () => ( _chunkUN6MEOOAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1258
+ const pc = _nullishCoalesce(_optionalChain([signerContext, 'optionalAccess', _46 => _46.publicClient]), () => ( _chunkIRI34U6Ncjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1263
1259
  let result;
1264
1260
  if (onSignTransaction) {
1265
1261
  const transferTarget = isSameRoute ? recipient : smartAccount;
@@ -1272,7 +1268,7 @@ function WithdrawFlow({
1272
1268
  args: [transferTarget, amountUnits]
1273
1269
  })
1274
1270
  };
1275
- const request = await _chunkRLMXWLF4cjs.buildSafeTransaction.call(void 0, {
1271
+ const request = await _chunkWL7AXYQ4cjs.buildSafeTransaction.call(void 0, {
1276
1272
  publicClient: pc,
1277
1273
  safeAddress,
1278
1274
  to: transferData.to,
@@ -1288,7 +1284,7 @@ function WithdrawFlow({
1288
1284
  }
1289
1285
  const relayResult = await service.relayWithdraw({
1290
1286
  smartAccount,
1291
- chainId: _chunkHH46H6ZIcjs.toEvmCaip2.call(void 0, sourceChain),
1287
+ chainId: _chunkPUMTR35Ecjs.toEvmCaip2.call(void 0, sourceChain),
1292
1288
  safeAddress,
1293
1289
  safeTransaction: request.typedData.message,
1294
1290
  signature
@@ -1301,7 +1297,7 @@ function WithdrawFlow({
1301
1297
  if (!getMatchingRegistration()) {
1302
1298
  throw new Error("Withdrawal target changed before submission");
1303
1299
  }
1304
- result = await _chunkRLMXWLF4cjs.executeSafeEthTransfer.call(void 0, {
1300
+ result = await _chunkWL7AXYQ4cjs.executeSafeEthTransfer.call(void 0, {
1305
1301
  walletClient: signerContext.walletClient,
1306
1302
  publicClient: pc,
1307
1303
  safeAddress,
@@ -1313,7 +1309,7 @@ function WithdrawFlow({
1313
1309
  if (!getMatchingRegistration()) {
1314
1310
  throw new Error("Withdrawal target changed before submission");
1315
1311
  }
1316
- result = await _chunkRLMXWLF4cjs.executeSafeErc20Transfer.call(void 0, {
1312
+ result = await _chunkWL7AXYQ4cjs.executeSafeErc20Transfer.call(void 0, {
1317
1313
  walletClient: signerContext.walletClient,
1318
1314
  publicClient: pc,
1319
1315
  safeAddress,
@@ -1347,7 +1343,7 @@ function WithdrawFlow({
1347
1343
  targetChain,
1348
1344
  targetToken
1349
1345
  });
1350
- handleError(_chunkUN6MEOOAcjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1346
+ handleError(_chunkIRI34U6Ncjs.formatUserError.call(void 0, raw), "WITHDRAW_FLOW_ERROR");
1351
1347
  throw err;
1352
1348
  }
1353
1349
  },
@@ -1413,9 +1409,9 @@ function WithdrawFlow({
1413
1409
  [_optionalChain([allowedRoutes, 'optionalAccess', _56 => _56.sourceTokens])]
1414
1410
  );
1415
1411
  const targetChainOptions = _react.useMemo.call(void 0, () => {
1416
- return _chunkHH46H6ZIcjs.SOURCE_CHAINS.filter((chain) => {
1412
+ return _chunkPUMTR35Ecjs.SOURCE_CHAINS.filter((chain) => {
1417
1413
  if (allowedChainSet && !allowedChainSet.has(chain.id)) return false;
1418
- const tokens = _chunkHH46H6ZIcjs.getSupportedTargetTokens.call(void 0, chain.id);
1414
+ const tokens = _chunkPUMTR35Ecjs.getSupportedTargetTokens.call(void 0, chain.id);
1419
1415
  if (allowedTokenSet) {
1420
1416
  return tokens.some((t) => allowedTokenSet.has(t.symbol.toUpperCase()));
1421
1417
  }
@@ -1423,7 +1419,7 @@ function WithdrawFlow({
1423
1419
  });
1424
1420
  }, [allowedChainSet, allowedTokenSet]);
1425
1421
  const targetTokenOptions = _react.useMemo.call(void 0, () => {
1426
- const tokens = _chunkHH46H6ZIcjs.getSupportedTargetTokens.call(void 0, targetChain);
1422
+ const tokens = _chunkPUMTR35Ecjs.getSupportedTargetTokens.call(void 0, targetChain);
1427
1423
  if (!allowedTokenSet) return tokens;
1428
1424
  return tokens.filter((t) => allowedTokenSet.has(t.symbol.toUpperCase()));
1429
1425
  }, [targetChain, allowedTokenSet]);
@@ -1437,7 +1433,7 @@ function WithdrawFlow({
1437
1433
  const handleTargetChainChange = _react.useCallback.call(void 0,
1438
1434
  (chainId) => {
1439
1435
  setTargetChain(chainId);
1440
- let options = _chunkHH46H6ZIcjs.getSupportedTargetTokens.call(void 0, chainId);
1436
+ let options = _chunkPUMTR35Ecjs.getSupportedTargetTokens.call(void 0, chainId);
1441
1437
  if (allowedTokenSet) {
1442
1438
  options = options.filter(
1443
1439
  (t) => allowedTokenSet.has(t.symbol.toUpperCase())
@@ -1487,7 +1483,7 @@ function WithdrawFlow({
1487
1483
  state: "ready"
1488
1484
  }));
1489
1485
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1490
- _chunkUN6MEOOAcjs.ConnectStep,
1486
+ _chunkIRI34U6Ncjs.ConnectStep,
1491
1487
  {
1492
1488
  walletRows: withdrawRows,
1493
1489
  onConfirmWallet: (walletId) => {
@@ -1505,7 +1501,7 @@ function WithdrawFlow({
1505
1501
  if (!signerContext) return null;
1506
1502
  if (!onSignTransaction && !signerContext.walletClient) return null;
1507
1503
  const resolvedConnectedRecipient = _optionalChain([selectedWalletOption, 'optionalAccess', _63 => _63.kind]) === "external" ? selectedWalletOption.address : void 0;
1508
- const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunkUN6MEOOAcjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1504
+ const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunkIRI34U6Ncjs.getPublicClient.call(void 0, sourceChain, rpcUrls)));
1509
1505
  const depositAddress = registration.kind === "ready" || registration.kind === "stale" ? registration.smartAccount : void 0;
1510
1506
  const stepView = deriveStepView(flowStep, registration);
1511
1507
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
@@ -1552,7 +1548,7 @@ function WithdrawFlow({
1552
1548
  }
1553
1549
  ),
1554
1550
  stepView === "processing" && registration.kind !== "idle" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1555
- _chunkUN6MEOOAcjs.ProcessingStep,
1551
+ _chunkIRI34U6Ncjs.ProcessingStep,
1556
1552
  {
1557
1553
  smartAccount: registration.kind === "ready" || registration.kind === "stale" ? registration.smartAccount : "0x0",
1558
1554
  txHash: _nullishCoalesce(storeApi.getState().txHash, () => ( "0x0")),
@@ -1594,7 +1590,7 @@ function deriveStepView(step, _registration) {
1594
1590
  // src/WithdrawModal.tsx
1595
1591
 
1596
1592
  var ReownWithdrawInner = _react.lazy.call(void 0,
1597
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-YZMZTN6E.cjs"))).then((m) => ({
1593
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-B6BGY52S.cjs"))).then((m) => ({
1598
1594
  default: m.WithdrawModalReown
1599
1595
  }))
1600
1596
  );
@@ -1622,9 +1618,9 @@ function WithdrawModalInner({
1622
1618
  inline,
1623
1619
  closeOnOverlayClick,
1624
1620
  allowedRoutes,
1625
- backendUrl = _chunkHH46H6ZIcjs.DEFAULT_BACKEND_URL,
1621
+ backendUrl = _chunkPUMTR35Ecjs.DEFAULT_BACKEND_URL,
1626
1622
  rpcUrls: rpcUrlsProp,
1627
- signerAddress = _chunkHH46H6ZIcjs.DEFAULT_SIGNER_ADDRESS,
1623
+ signerAddress = _chunkPUMTR35Ecjs.DEFAULT_SIGNER_ADDRESS,
1628
1624
  sessionChainIds,
1629
1625
  forceRegister = false,
1630
1626
  reownWallet,
@@ -1642,19 +1638,19 @@ function WithdrawModalInner({
1642
1638
  debug
1643
1639
  }) {
1644
1640
  const modalRef = _react.useRef.call(void 0, null);
1645
- const onReadyRef = _chunkUN6MEOOAcjs.useLatestRef.call(void 0, onReady);
1641
+ const onReadyRef = _chunkIRI34U6Ncjs.useLatestRef.call(void 0, onReady);
1646
1642
  const [backHandler, setBackHandler] = _react.useState.call(void 0,
1647
1643
  void 0
1648
1644
  );
1649
- const targetChain = _chunkHH46H6ZIcjs.getChainId.call(void 0, targetChainProp);
1650
- const sourceChain = _chunkHH46H6ZIcjs.getChainId.call(void 0, sourceChainProp);
1651
- const rpcUrls = _chunkUN6MEOOAcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
1645
+ const targetChain = _chunkPUMTR35Ecjs.getChainId.call(void 0, targetChainProp);
1646
+ const sourceChain = _chunkPUMTR35Ecjs.getChainId.call(void 0, sourceChainProp);
1647
+ const rpcUrls = _chunkIRI34U6Ncjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
1652
1648
  const service = _react.useMemo.call(void 0,
1653
- () => _chunkUN6MEOOAcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:withdraw" }),
1649
+ () => _chunkIRI34U6Ncjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:withdraw" }),
1654
1650
  [backendUrl, debug]
1655
1651
  );
1656
1652
  const store = _react.useMemo.call(void 0, () => createWithdrawStore(), []);
1657
- const onErrorRef = _chunkUN6MEOOAcjs.useLatestRef.call(void 0, onError);
1653
+ const onErrorRef = _chunkIRI34U6Ncjs.useLatestRef.call(void 0, onError);
1658
1654
  _react.useEffect.call(void 0, () => {
1659
1655
  if (isOpen && onSignTransaction && !dappAddress) {
1660
1656
  _optionalChain([onErrorRef, 'access', _64 => _64.current, 'optionalCall', _65 => _65({
@@ -1665,7 +1661,7 @@ function WithdrawModalInner({
1665
1661
  }, [isOpen, onSignTransaction, dappAddress, onErrorRef]);
1666
1662
  _react.useEffect.call(void 0, () => {
1667
1663
  if (isOpen && modalRef.current) {
1668
- _chunkUN6MEOOAcjs.applyTheme.call(void 0, modalRef.current, theme);
1664
+ _chunkIRI34U6Ncjs.applyTheme.call(void 0, modalRef.current, theme);
1669
1665
  }
1670
1666
  }, [isOpen, theme]);
1671
1667
  _react.useEffect.call(void 0, () => {
@@ -1683,8 +1679,8 @@ function WithdrawModalInner({
1683
1679
  }, []);
1684
1680
  const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _68 => _68.showBackButton]), () => ( true));
1685
1681
  const canGoBack = backHandler !== void 0;
1686
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WithdrawStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1687
- _chunkUN6MEOOAcjs.Modal,
1682
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WithdrawStoreProvider, { store, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1683
+ _chunkIRI34U6Ncjs.Modal,
1688
1684
  {
1689
1685
  isOpen,
1690
1686
  onClose,
@@ -1700,7 +1696,7 @@ function WithdrawModalInner({
1700
1696
  className: "rs-modal-header-back",
1701
1697
  "aria-label": "Go back",
1702
1698
  onClick: backHandler,
1703
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.ChevronLeftIcon, {})
1699
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.ChevronLeftIcon, {})
1704
1700
  }
1705
1701
  ) }),
1706
1702
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1710,7 +1706,7 @@ function WithdrawModalInner({
1710
1706
  onClick: onClose,
1711
1707
  className: "rs-modal-close",
1712
1708
  "aria-label": "Close",
1713
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6MEOOAcjs.CloseIcon, {})
1709
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIRI34U6Ncjs.CloseIcon, {})
1714
1710
  }
1715
1711
  ) })
1716
1712
  ] }),