@funkit/connect 9.23.1 → 9.24.0-next.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 (90) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/__generated__/default_configs.d.ts +901 -0
  3. package/dist/__generated__/default_feature_gates.d.ts +20 -0
  4. package/dist/clients/chunk-25ICASD7.js +2371 -0
  5. package/dist/clients/chunk-3GO74QTP.js +2382 -0
  6. package/dist/clients/{chunk-4M57JDJK.js → chunk-4HCOSF4M.js} +1 -1
  7. package/dist/clients/chunk-7GWX2ZS4.js +69 -0
  8. package/dist/clients/{chunk-2LMREKV6.js → chunk-7HNGV6JU.js} +1 -1
  9. package/dist/clients/chunk-A32VN2DX.js +2382 -0
  10. package/dist/clients/{chunk-H3CKQIYI.js → chunk-CEBG7XQ5.js} +2 -2
  11. package/dist/clients/{chunk-GCIUIPM7.js → chunk-ELLXM7RO.js} +1 -1
  12. package/dist/clients/chunk-GGXTLJ7J.js +290 -0
  13. package/dist/clients/chunk-GUWXVR5S.js +186 -0
  14. package/dist/clients/chunk-HRWCNZJA.js +230 -0
  15. package/dist/clients/chunk-JBWB54MX.js +69 -0
  16. package/dist/clients/chunk-JD3FIVZ7.js +69 -0
  17. package/dist/clients/chunk-JTGKAPID.js +2382 -0
  18. package/dist/clients/chunk-L7PABCF2.js +54 -0
  19. package/dist/clients/chunk-LII3SVUH.js +230 -0
  20. package/dist/clients/chunk-NCUPPJ2Z.js +2382 -0
  21. package/dist/clients/chunk-NPPIETHZ.js +54 -0
  22. package/dist/clients/chunk-NUJ6ZM5F.js +186 -0
  23. package/dist/clients/chunk-UVWNEQMD.js +186 -0
  24. package/dist/clients/chunk-VVTNR7YH.js +2382 -0
  25. package/dist/clients/chunk-YYMIRDCQ.js +230 -0
  26. package/dist/clients/chunk-ZNVFASTH.js +54 -0
  27. package/dist/clients/fanatics.css +1 -1
  28. package/dist/clients/fanatics.js +3 -3
  29. package/dist/clients/lighter.css +1 -1
  30. package/dist/clients/lighter.d.ts +18 -0
  31. package/dist/clients/lighter.js +10 -5
  32. package/dist/clients/nado.d.ts +78 -0
  33. package/dist/clients/nado.js +107 -0
  34. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +21 -11
  35. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +4 -4
  36. package/dist/clients/polymarket/index.css +21 -11
  37. package/dist/clients/polymarket/index.js +4 -4
  38. package/dist/clients/polymarket.d.ts +161 -0
  39. package/dist/clients/polymarket.js +688 -0
  40. package/dist/components/BottomLinks/BottomLinks.css.d.ts +6 -0
  41. package/dist/components/BottomLinks/BottomLinks.d.ts +14 -0
  42. package/dist/consts/funkit.d.ts +1 -0
  43. package/dist/index.css +21 -11
  44. package/dist/index.js +545 -471
  45. package/dist/interfaces/logTransport.d.ts +51 -0
  46. package/dist/interfaces/swapped-transport.d.ts +78 -0
  47. package/dist/modals/CheckoutModal/SourceChange/EmptyFormOfPaymentsMessage.d.ts +4 -0
  48. package/dist/modals/CheckoutModal/SourceChange/useUpdateSourceAssetForCard.d.ts +4 -0
  49. package/dist/modals/CheckoutModal/SwappedIframe/SwappedErrorMessage.d.ts +6 -0
  50. package/dist/providers/FunkitCheckoutContext/types.d.ts +16 -0
  51. package/dist/utils/flags/resolver.d.ts +34 -0
  52. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  53. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  54. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  55. package/dist/wallets/walletConnectors/chunk-2VP2F6EK.js +70 -0
  56. package/dist/wallets/walletConnectors/chunk-4T6ZSRJF.js +69 -0
  57. package/dist/wallets/walletConnectors/chunk-6BW3HLBG.js +96 -0
  58. package/dist/wallets/walletConnectors/chunk-CCQV2ZET.js +218 -0
  59. package/dist/wallets/walletConnectors/chunk-CPI4TD43.js +99 -0
  60. package/dist/wallets/walletConnectors/chunk-F5XEEVG6.js +98 -0
  61. package/dist/wallets/walletConnectors/chunk-HNRB7KJU.js +92 -0
  62. package/dist/wallets/walletConnectors/chunk-HTHAK6XB.js +93 -0
  63. package/dist/wallets/walletConnectors/chunk-MIQTHJ6X.js +66 -0
  64. package/dist/wallets/walletConnectors/chunk-RB3HR4R2.js +95 -0
  65. package/dist/wallets/walletConnectors/chunk-RVOY537T.js +100 -0
  66. package/dist/wallets/walletConnectors/chunk-STVVP43G.js +94 -0
  67. package/dist/wallets/walletConnectors/chunk-UK7C2JXW.js +87 -0
  68. package/dist/wallets/walletConnectors/chunk-VAPGUPHO.js +92 -0
  69. package/dist/wallets/walletConnectors/chunk-VTM6EECM.js +110 -0
  70. package/dist/wallets/walletConnectors/chunk-X6CGV36L.js +103 -0
  71. package/dist/wallets/walletConnectors/chunk-YEZM4CK4.js +96 -0
  72. package/dist/wallets/walletConnectors/chunk-ZNX4EMPB.js +106 -0
  73. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  74. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  75. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  76. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  77. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  78. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  79. package/dist/wallets/walletConnectors/index.js +52 -52
  80. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  81. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  82. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  83. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  84. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  85. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  86. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  87. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  88. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  89. package/package.json +4 -4
  90. /package/dist/clients/{chunk-OG254LB3.js → chunk-7FIVHWNC.js} +0 -0
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- darkTheme
4
- } from "./chunk-36KVHK22.js";
5
2
  import {
6
3
  lightTheme
7
4
  } from "./chunk-67BKQQNG.js";
5
+ import {
6
+ darkTheme
7
+ } from "./chunk-36KVHK22.js";
8
8
  import {
9
9
  systemFontStack
10
10
  } from "./chunk-4YEAUICE.js";
@@ -448,7 +448,7 @@ function Avatar({ address, imageUrl, loading, size }) {
448
448
  }
449
449
 
450
450
  // src/components/ConnectButton/ConnectButton.tsx
451
- import React303, { useEffect as useEffect83, useState as useState88 } from "react";
451
+ import React304, { useEffect as useEffect83, useState as useState88 } from "react";
452
452
 
453
453
  // src/css/touchableStyles.css.ts
454
454
  var active = { shrink: "_7rkubb8", shrinkSm: "_7rkubb9" };
@@ -905,7 +905,7 @@ var getRemoteImageStyles = (isRemoteImage, isRemoteImageLoaded, src) => {
905
905
 
906
906
  // src/components/ConnectButton/ConnectButtonRenderer.tsx
907
907
  import { formatCurrencyAndStringify as formatCurrencyAndStringify16, isMobile as isMobile14, noop as noop9 } from "@funkit/utils";
908
- import React302 from "react";
908
+ import React303 from "react";
909
909
  import { formatUnits as formatUnits6 } from "viem";
910
910
 
911
911
  // src/hooks/useIsMounted.ts
@@ -1124,7 +1124,7 @@ import {
1124
1124
  SOLANA_MAINNET_CHAIN_ID as SOLANA_MAINNET_CHAIN_ID2
1125
1125
  } from "@funkit/chains";
1126
1126
  import { isNotNullish as isNotNullish8, isTokenAddressEquivalent as isTokenAddressEquivalent4 } from "@funkit/utils";
1127
- import React301, {
1127
+ import React302, {
1128
1128
  createContext as createContext21,
1129
1129
  useCallback as useCallback56,
1130
1130
  useContext as useContext21,
@@ -1140,6 +1140,7 @@ var NATIVE_TOKEN = FUNKIT_CONNECT_CHECKOUT_NATIVE_CURRENCY_ADDRESS;
1140
1140
  var WETH_MAINNET_ADDRESS = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2";
1141
1141
  var FUN_ORG_NAME = "Fun.xyz";
1142
1142
  var FUN_TERMS_URL = "https://fun.xyz/terms";
1143
+ var FUN_HELP_FAQ_URL = "https://intercom.help/funxyz/en/articles/10003876-transfer-crypto-guide-faqs";
1143
1144
  var PLACEHOLDER_FUNKIT_USER_INFO = {
1144
1145
  id: "0x",
1145
1146
  address: "0x",
@@ -5862,7 +5863,7 @@ var useFunkitPostCheckoutInternal = (checkoutId) => {
5862
5863
  };
5863
5864
 
5864
5865
  // src/providers/ModalContext.tsx
5865
- import React300, {
5866
+ import React301, {
5866
5867
  createContext as createContext20,
5867
5868
  useCallback as useCallback55,
5868
5869
  useContext as useContext20,
@@ -10069,6 +10070,8 @@ var en_default = {
10069
10070
  minDepositAmountTooltip: "Minimum deposit amount required for the selected chain.",
10070
10071
  yourDepositAddress: "Your deposit address",
10071
10072
  termsApply: "Terms apply",
10073
+ terms: "Terms",
10074
+ help: "Help",
10072
10075
  depositAddressOriginalRecipient: "Send any accepted token to this address",
10073
10076
  depositAddressUniversal: "Send any accepted token to this address and it will auto swap to {{targetToken}} in your account",
10074
10077
  groupPopularChains: "Popular",
@@ -10672,6 +10675,8 @@ var es_default = {
10672
10675
  minDepositAmountTooltip: "Monto m\xEDnimo de dep\xF3sito requerido para la cadena seleccionada.",
10673
10676
  yourDepositAddress: "Tu direcci\xF3n de dep\xF3sito",
10674
10677
  termsApply: "Se aplican t\xE9rminos",
10678
+ terms: "T\xE9rminos",
10679
+ help: "Ayuda",
10675
10680
  depositAddressOriginalRecipient: "Env\xEDa cualquier token aceptado a esta direcci\xF3n",
10676
10681
  depositAddressUniversal: "Env\xEDa cualquier token aceptado a esta direcci\xF3n y se intercambiar\xE1 autom\xE1ticamente a {{targetToken}} en tu cuenta",
10677
10682
  groupPopularChains: "Populares",
@@ -11272,6 +11277,8 @@ var fr_default = {
11272
11277
  minDepositAmountTooltip: "Montant de d\xE9p\xF4t minimum requis pour la cha\xEEne s\xE9lectionn\xE9e.",
11273
11278
  yourDepositAddress: "Votre adresse de d\xE9p\xF4t",
11274
11279
  termsApply: "Conditions applicables",
11280
+ terms: "Conditions",
11281
+ help: "Aide",
11275
11282
  depositAddressOriginalRecipient: "Envoyez n'importe quelle devise prise en charge \xE0 cette adresse",
11276
11283
  depositAddressUniversal: "Envoyez n'importe quelle devise prise en charge \xE0 cette adresse et elle sera automatiquement \xE9chang\xE9e contre {{targetToken}} dans votre compte",
11277
11284
  groupPopularChains: "Populaires",
@@ -11872,6 +11879,8 @@ var ja_default = {
11872
11879
  minDepositAmountTooltip: "\u9078\u629E\u3057\u305F\u30C1\u30A7\u30FC\u30F3\u306B\u5FC5\u8981\u306A\u6700\u5C0F\u5165\u91D1\u984D\u3002",
11873
11880
  yourDepositAddress: "\u3042\u306A\u305F\u306E\u5165\u91D1\u30A2\u30C9\u30EC\u30B9",
11874
11881
  termsApply: "\u5229\u7528\u898F\u7D04\u304C\u9069\u7528\u3055\u308C\u307E\u3059",
11882
+ terms: "\u5229\u7528\u898F\u7D04",
11883
+ help: "\u30D8\u30EB\u30D7",
11875
11884
  depositAddressOriginalRecipient: "\u3053\u306E\u30A2\u30C9\u30EC\u30B9\u306B\u5BFE\u5FDC\u3059\u308B\u30C8\u30FC\u30AF\u30F3\u3092\u9001\u4FE1\u3057\u3066\u304F\u3060\u3055\u3044",
11876
11885
  depositAddressUniversal: "\u3053\u306E\u30A2\u30C9\u30EC\u30B9\u306B\u5BFE\u5FDC\u3059\u308B\u30C8\u30FC\u30AF\u30F3\u3092\u9001\u4FE1\u3059\u308B\u3068\u3001\u30A2\u30AB\u30A6\u30F3\u30C8\u5185\u3067\u81EA\u52D5\u7684\u306B{{targetToken}}\u306B\u4EA4\u63DB\u3055\u308C\u307E\u3059",
11877
11886
  groupPopularChains: "\u4EBA\u6C17",
@@ -12472,6 +12481,8 @@ var ko_default = {
12472
12481
  minDepositAmountTooltip: "\uC120\uD0DD\uD55C \uCCB4\uC778\uC5D0 \uD544\uC694\uD55C \uCD5C\uC18C \uC785\uAE08\uC561\uC785\uB2C8\uB2E4.",
12473
12482
  yourDepositAddress: "\uC785\uAE08 \uC8FC\uC18C",
12474
12483
  termsApply: "\uC57D\uAD00\uC774 \uC801\uC6A9\uB429\uB2C8\uB2E4",
12484
+ terms: "\uC57D\uAD00",
12485
+ help: "\uB3C4\uC6C0\uB9D0",
12475
12486
  depositAddressOriginalRecipient: "\uC774 \uC8FC\uC18C\uB85C \uC9C0\uC6D0\uB418\uB294 \uD1A0\uD070\uC744 \uBCF4\uB0B4\uC138\uC694",
12476
12487
  depositAddressUniversal: "\uC774 \uC8FC\uC18C\uB85C \uC9C0\uC6D0\uB418\uB294 \uD1A0\uD070\uC744 \uBCF4\uB0B4\uBA74 \uACC4\uC815\uC5D0\uC11C \uC790\uB3D9\uC73C\uB85C {{targetToken}}(\uC73C)\uB85C \uAD50\uD658\uB429\uB2C8\uB2E4",
12477
12488
  groupPopularChains: "\uC778\uAE30",
@@ -13072,6 +13083,8 @@ var ru_default = {
13072
13083
  minDepositAmountTooltip: "\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0441\u0443\u043C\u043C\u0430 \u0434\u0435\u043F\u043E\u0437\u0438\u0442\u0430 \u0434\u043B\u044F \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u0441\u0435\u0442\u0438.",
13073
13084
  yourDepositAddress: "\u0412\u0430\u0448 \u0430\u0434\u0440\u0435\u0441 \u0434\u0435\u043F\u043E\u0437\u0438\u0442\u0430",
13074
13085
  termsApply: "\u0423\u0441\u043B\u043E\u0432\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F",
13086
+ terms: "\u0423\u0441\u043B\u043E\u0432\u0438\u044F",
13087
+ help: "\u041F\u043E\u043C\u043E\u0449\u044C",
13075
13088
  depositAddressOriginalRecipient: "\u041E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043B\u044E\u0431\u043E\u0439 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0439 \u0442\u043E\u043A\u0435\u043D \u043F\u043E \u044D\u0442\u043E\u043C\u0443 \u0430\u0434\u0440\u0435\u0441\u0443",
13076
13089
  depositAddressUniversal: "\u041E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043B\u044E\u0431\u043E\u0439 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0439 \u0442\u043E\u043A\u0435\u043D \u043F\u043E \u044D\u0442\u043E\u043C\u0443 \u0430\u0434\u0440\u0435\u0441\u0443 \u0438 \u043C\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0431\u043C\u0435\u043D\u044F\u0435\u043C \u0435\u0433\u043E \u043D\u0430 {{targetToken}} \u0432 \u0432\u0430\u0448\u0435\u043C \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0435",
13077
13090
  groupPopularChains: "\u041F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435",
@@ -13672,6 +13685,8 @@ var tr_default = {
13672
13685
  minDepositAmountTooltip: "Se\xE7ilen a\u011F i\xE7in gereken minimum yat\u0131r\u0131m tutar\u0131.",
13673
13686
  yourDepositAddress: "Yat\u0131r\u0131m adresiniz",
13674
13687
  termsApply: "\u015Eartlar ge\xE7erlidir",
13688
+ terms: "\u015Eartlar",
13689
+ help: "Yard\u0131m",
13675
13690
  depositAddressOriginalRecipient: "Bu adrese kabul edilen herhangi bir token g\xF6nderin",
13676
13691
  depositAddressUniversal: "Bu adrese kabul edilen herhangi bir token g\xF6nderin ve hesab\u0131n\u0131zda otomatik olarak {{targetToken}}'a d\xF6n\xFC\u015Ft\xFCr\xFCl\xFCr",
13677
13692
  groupPopularChains: "Pop\xFCler",
@@ -14272,6 +14287,8 @@ var zh_default = {
14272
14287
  minDepositAmountTooltip: "\u6240\u9009\u94FE\u6240\u9700\u7684\u6700\u4F4E\u5B58\u6B3E\u91D1\u989D\u3002",
14273
14288
  yourDepositAddress: "\u60A8\u7684\u5B58\u6B3E\u5730\u5740",
14274
14289
  termsApply: "\u6761\u6B3E\u9002\u7528",
14290
+ terms: "\u6761\u6B3E",
14291
+ help: "\u5E2E\u52A9",
14275
14292
  depositAddressOriginalRecipient: "\u5411\u6B64\u5730\u5740\u53D1\u9001\u4EFB\u4F55\u652F\u6301\u7684\u4EE3\u5E01",
14276
14293
  depositAddressUniversal: "\u5411\u6B64\u5730\u5740\u53D1\u9001\u4EFB\u4F55\u652F\u6301\u7684\u4EE3\u5E01\uFF0C\u4F1A\u81EA\u52A8\u5151\u6362\u4E3A {{targetToken}}",
14277
14294
  groupPopularChains: "\u70ED\u95E8",
@@ -25970,6 +25987,13 @@ function useWithdrawal({
25970
25987
  }
25971
25988
  try {
25972
25989
  setIsWithdrawing(true);
25990
+ const onBeforeSign = isWalletWithdrawalConfig(config) || isCustomWithdrawalConfig(config) ? config.onBeforeSign : void 0;
25991
+ if (onBeforeSign) {
25992
+ logger.info("withdrawal:onBeforeSign", baseLogContext);
25993
+ customCallbackFailed = true;
25994
+ await onBeforeSign();
25995
+ customCallbackFailed = false;
25996
+ }
25973
25997
  let txHash;
25974
25998
  if (isWalletWithdrawalConfig(config)) {
25975
25999
  txHash = await walletWithdrawal(config);
@@ -28078,7 +28102,7 @@ function WithdrawalModal({
28078
28102
  }
28079
28103
 
28080
28104
  // src/modals/AccountModal/AccountModal.tsx
28081
- import React278 from "react";
28105
+ import React279 from "react";
28082
28106
 
28083
28107
  // src/modals/ProfileDetails/ActivityTraversalContext.tsx
28084
28108
  import React147, {
@@ -28153,10 +28177,10 @@ var useActivityTraversal = () => {
28153
28177
  };
28154
28178
 
28155
28179
  // src/modals/ProfileDetails/ProfileDetails.tsx
28156
- import React277, { useCallback as useCallback51, useState as useState79 } from "react";
28180
+ import React278, { useCallback as useCallback51, useState as useState79 } from "react";
28157
28181
 
28158
28182
  // src/components/ModalHeightAnimationLayer/FunCheckoutModalHeightAnimationWrapper.tsx
28159
- import React264 from "react";
28183
+ import React265 from "react";
28160
28184
 
28161
28185
  // src/modals/CheckoutModal/stepTransition.ts
28162
28186
  import {
@@ -41666,18 +41690,58 @@ function trackEventForFormOfPayment(fop, checkoutItem, eventName, extras) {
41666
41690
 
41667
41691
  // src/modals/CheckoutModal/TransferToken/TransferToken.tsx
41668
41692
  import { motion as motion17, useAnimationControls as useAnimationControls4 } from "motion/react";
41669
- import React257, { useRef as useRef34, useState as useState73 } from "react";
41693
+ import React258, { useRef as useRef34, useState as useState73 } from "react";
41670
41694
  import { createPortal as createPortal23 } from "react-dom";
41671
41695
 
41696
+ // src/components/BottomLinks/BottomLinks.tsx
41697
+ import React251 from "react";
41698
+
41699
+ // src/components/BottomLinks/BottomLinks.css.ts
41700
+ var bottomLinkStyle = "_17ejcqj1 _1rsrm2f2r4";
41701
+
41702
+ // src/components/BottomLinks/BottomLinks.tsx
41703
+ var BottomLinks = ({ links }) => {
41704
+ return /* @__PURE__ */ React251.createElement(
41705
+ Box,
41706
+ {
41707
+ width: "full",
41708
+ display: "flex",
41709
+ alignItems: "center",
41710
+ justifyContent: "center",
41711
+ gap: "8"
41712
+ },
41713
+ links.map((link, index) => /* @__PURE__ */ React251.createElement(React251.Fragment, { key: link.href }, index > 0 && /* @__PURE__ */ React251.createElement(
41714
+ Box,
41715
+ {
41716
+ testId: "bottom-link-separator",
41717
+ background: "secondaryText",
41718
+ borderRadius: "full",
41719
+ style: { width: "3px", height: "3px" }
41720
+ }
41721
+ ), /* @__PURE__ */ React251.createElement(
41722
+ Box,
41723
+ {
41724
+ as: "a",
41725
+ className: bottomLinkStyle,
41726
+ fontSize: "13",
41727
+ href: link.href,
41728
+ rel: "noreferrer",
41729
+ target: "_blank"
41730
+ },
41731
+ link.text
41732
+ )))
41733
+ );
41734
+ };
41735
+
41672
41736
  // src/components/TransferTokenDetails/TransferTokenDetails.tsx
41673
41737
  import { formatNumberAndStringify as formatNumberAndStringify2 } from "@funkit/utils";
41674
- import React256 from "react";
41738
+ import React257 from "react";
41675
41739
  import { Trans as Trans18 } from "react-i18next";
41676
41740
 
41677
41741
  // src/components/Icons/New/FileIcon.tsx
41678
- import React251 from "react";
41742
+ import React252 from "react";
41679
41743
  var FileIcon = () => {
41680
- return /* @__PURE__ */ React251.createElement(
41744
+ return /* @__PURE__ */ React252.createElement(
41681
41745
  "svg",
41682
41746
  {
41683
41747
  width: "12",
@@ -41686,7 +41750,7 @@ var FileIcon = () => {
41686
41750
  fill: "none",
41687
41751
  xmlns: "http://www.w3.org/2000/svg"
41688
41752
  },
41689
- /* @__PURE__ */ React251.createElement(
41753
+ /* @__PURE__ */ React252.createElement(
41690
41754
  "path",
41691
41755
  {
41692
41756
  fillRule: "evenodd",
@@ -41699,9 +41763,9 @@ var FileIcon = () => {
41699
41763
  };
41700
41764
 
41701
41765
  // src/components/Icons/New/SpeedometerIcon.tsx
41702
- import React252 from "react";
41766
+ import React253 from "react";
41703
41767
  var SpeedometerIcon = () => {
41704
- return /* @__PURE__ */ React252.createElement(
41768
+ return /* @__PURE__ */ React253.createElement(
41705
41769
  "svg",
41706
41770
  {
41707
41771
  width: "12",
@@ -41710,7 +41774,7 @@ var SpeedometerIcon = () => {
41710
41774
  fill: "none",
41711
41775
  xmlns: "http://www.w3.org/2000/svg"
41712
41776
  },
41713
- /* @__PURE__ */ React252.createElement(
41777
+ /* @__PURE__ */ React253.createElement(
41714
41778
  "path",
41715
41779
  {
41716
41780
  fillRule: "evenodd",
@@ -41724,13 +41788,13 @@ var SpeedometerIcon = () => {
41724
41788
 
41725
41789
  // src/components/FunFeatureList/FunFeatureList.tsx
41726
41790
  import { motion as motion16, useAnimationControls as useAnimationControls3 } from "motion/react";
41727
- import React254, { useState as useState72 } from "react";
41791
+ import React255, { useState as useState72 } from "react";
41728
41792
 
41729
41793
  // src/components/FunFeatureList/FunFeatureList.css.ts
41730
41794
  var detailsButton = "_1045qr71 _1rsrm2fpy _1rsrm2frz _1rsrm2ftw _1rsrm2fnt _1rsrm2fx5 _1rsrm2fa _1rsrm2f4 _1rsrm2f86 _1rsrm2fu";
41731
41795
 
41732
41796
  // src/components/FunFeatureList/FunFeatureListItem.tsx
41733
- import React253 from "react";
41797
+ import React254 from "react";
41734
41798
  var FunFeatureListItem = ({
41735
41799
  text,
41736
41800
  tooltip,
@@ -41741,7 +41805,7 @@ var FunFeatureListItem = ({
41741
41805
  }) => {
41742
41806
  const valueLabel = value && (prefix ? ` ${prefix}${value}` : ` ${value}`);
41743
41807
  const isMultiline = Array.isArray(value) && value.length > 0;
41744
- const TooltipWrapperElement = /* @__PURE__ */ React253.createElement(
41808
+ const TooltipWrapperElement = /* @__PURE__ */ React254.createElement(
41745
41809
  Box,
41746
41810
  {
41747
41811
  marginLeft: "4",
@@ -41757,7 +41821,7 @@ var FunFeatureListItem = ({
41757
41821
  },
41758
41822
  tooltip
41759
41823
  );
41760
- return /* @__PURE__ */ React253.createElement(Box, { display: "flex", gap: "6", alignItems: "center", paddingY: "2", ...boxProps }, /* @__PURE__ */ React253.createElement(
41824
+ return /* @__PURE__ */ React254.createElement(Box, { display: "flex", gap: "6", alignItems: "center", paddingY: "2", ...boxProps }, /* @__PURE__ */ React254.createElement(
41761
41825
  Box,
41762
41826
  {
41763
41827
  color: "secondaryText",
@@ -41766,7 +41830,7 @@ var FunFeatureListItem = ({
41766
41830
  justifyContent: "center"
41767
41831
  },
41768
41832
  icon
41769
- ), /* @__PURE__ */ React253.createElement(
41833
+ ), /* @__PURE__ */ React254.createElement(
41770
41834
  Box,
41771
41835
  {
41772
41836
  display: "flex",
@@ -41775,8 +41839,8 @@ var FunFeatureListItem = ({
41775
41839
  gap: "6"
41776
41840
  }
41777
41841
  },
41778
- isMultiline ? /* @__PURE__ */ React253.createElement(Box, { display: "flex" }, /* @__PURE__ */ React253.createElement(Text, { size: "funFeatureListItemFontSize", weight: "medium" }, text), tooltip && TooltipWrapperElement) : /* @__PURE__ */ React253.createElement(Text, { size: "funFeatureListItemFontSize" }, text, /* @__PURE__ */ React253.createElement(React253.Fragment, null, "\xA0")),
41779
- isMultiline ? /* @__PURE__ */ React253.createElement(Box, { display: "flex", flexDirection: "column", gap: "6" }, value.map((v, index) => /* @__PURE__ */ React253.createElement(
41842
+ isMultiline ? /* @__PURE__ */ React254.createElement(Box, { display: "flex" }, /* @__PURE__ */ React254.createElement(Text, { size: "funFeatureListItemFontSize", weight: "medium" }, text), tooltip && TooltipWrapperElement) : /* @__PURE__ */ React254.createElement(Text, { size: "funFeatureListItemFontSize" }, text, /* @__PURE__ */ React254.createElement(React254.Fragment, null, "\xA0")),
41843
+ isMultiline ? /* @__PURE__ */ React254.createElement(Box, { display: "flex", flexDirection: "column", gap: "6" }, value.map((v, index) => /* @__PURE__ */ React254.createElement(
41780
41844
  Text,
41781
41845
  {
41782
41846
  size: "funFeatureListItemFontSize",
@@ -41784,7 +41848,7 @@ var FunFeatureListItem = ({
41784
41848
  key: index
41785
41849
  },
41786
41850
  v
41787
- ))) : /* @__PURE__ */ React253.createElement(
41851
+ ))) : /* @__PURE__ */ React254.createElement(
41788
41852
  Text,
41789
41853
  {
41790
41854
  size: "funFeatureListItemFontSize",
@@ -41821,7 +41885,7 @@ var FunFeatureList = ({
41821
41885
  onExpanded?.();
41822
41886
  }
41823
41887
  };
41824
- return /* @__PURE__ */ React254.createElement(
41888
+ return /* @__PURE__ */ React255.createElement(
41825
41889
  Box,
41826
41890
  {
41827
41891
  ...withBackgroundContainer && {
@@ -41838,7 +41902,7 @@ var FunFeatureList = ({
41838
41902
  display: "flex",
41839
41903
  flexDirection: "column"
41840
41904
  },
41841
- isExpandable ? /* @__PURE__ */ React254.createElement(React254.Fragment, null, /* @__PURE__ */ React254.createElement(
41905
+ isExpandable ? /* @__PURE__ */ React255.createElement(React255.Fragment, null, /* @__PURE__ */ React255.createElement(
41842
41906
  Box,
41843
41907
  {
41844
41908
  as: "button",
@@ -41854,9 +41918,9 @@ var FunFeatureList = ({
41854
41918
  disabled,
41855
41919
  onClick: handleExpandToggle
41856
41920
  },
41857
- items[0] && /* @__PURE__ */ React254.createElement(FunFeatureListItem, { ...items[0] }),
41858
- /* @__PURE__ */ React254.createElement(AnimatedCaretDownIcon, { expanded: isDisplayed })
41859
- ), /* @__PURE__ */ React254.createElement(
41921
+ items[0] && /* @__PURE__ */ React255.createElement(FunFeatureListItem, { ...items[0] }),
41922
+ /* @__PURE__ */ React255.createElement(AnimatedCaretDownIcon, { expanded: isDisplayed })
41923
+ ), /* @__PURE__ */ React255.createElement(
41860
41924
  motion16.div,
41861
41925
  {
41862
41926
  initial: "collapsed",
@@ -41867,7 +41931,7 @@ var FunFeatureList = ({
41867
41931
  expanded: { height: "auto", opacity: 1, overflow: "visible" }
41868
41932
  }
41869
41933
  },
41870
- /* @__PURE__ */ React254.createElement(
41934
+ /* @__PURE__ */ React255.createElement(
41871
41935
  Box,
41872
41936
  {
41873
41937
  paddingX: "12",
@@ -41876,7 +41940,7 @@ var FunFeatureList = ({
41876
41940
  gap: "6",
41877
41941
  paddingBottom: "8"
41878
41942
  },
41879
- items.slice(1).map((item, index) => /* @__PURE__ */ React254.createElement(
41943
+ items.slice(1).map((item, index) => /* @__PURE__ */ React255.createElement(
41880
41944
  FunFeatureListItem,
41881
41945
  {
41882
41946
  key: index,
@@ -41888,7 +41952,7 @@ var FunFeatureList = ({
41888
41952
  }
41889
41953
  ))
41890
41954
  )
41891
- )) : /* @__PURE__ */ React254.createElement(
41955
+ )) : /* @__PURE__ */ React255.createElement(
41892
41956
  Box,
41893
41957
  {
41894
41958
  display: "flex",
@@ -41899,7 +41963,7 @@ var FunFeatureList = ({
41899
41963
  paddingY: "8"
41900
41964
  }
41901
41965
  },
41902
- items.map((item, index) => /* @__PURE__ */ React254.createElement(
41966
+ items.map((item, index) => /* @__PURE__ */ React255.createElement(
41903
41967
  Box,
41904
41968
  {
41905
41969
  key: index,
@@ -41910,16 +41974,16 @@ var FunFeatureList = ({
41910
41974
  background: "funFeatureListBackgroundBase"
41911
41975
  }
41912
41976
  },
41913
- /* @__PURE__ */ React254.createElement(FunFeatureListItem, { ...item })
41977
+ /* @__PURE__ */ React255.createElement(FunFeatureListItem, { ...item })
41914
41978
  ))
41915
41979
  )
41916
41980
  );
41917
41981
  };
41918
41982
 
41919
41983
  // src/components/Icons/New/PercentageIcon.tsx
41920
- import React255 from "react";
41984
+ import React256 from "react";
41921
41985
  var PercentageIcon = () => {
41922
- return /* @__PURE__ */ React255.createElement(
41986
+ return /* @__PURE__ */ React256.createElement(
41923
41987
  "svg",
41924
41988
  {
41925
41989
  width: "12",
@@ -41928,7 +41992,7 @@ var PercentageIcon = () => {
41928
41992
  fill: "none",
41929
41993
  xmlns: "http://www.w3.org/2000/svg"
41930
41994
  },
41931
- /* @__PURE__ */ React255.createElement(
41995
+ /* @__PURE__ */ React256.createElement(
41932
41996
  "path",
41933
41997
  {
41934
41998
  fillRule: "evenodd",
@@ -41946,7 +42010,7 @@ var FunLinkButtonComponent3 = ({
41946
42010
  href,
41947
42011
  size = "funFeatureListItemFontSize"
41948
42012
  }) => {
41949
- return /* @__PURE__ */ React256.createElement(FunLinkButton, { href, inline: true, text: children, size });
42013
+ return /* @__PURE__ */ React257.createElement(FunLinkButton, { href, inline: true, text: children, size });
41950
42014
  };
41951
42015
  var TransferTokenDetails = ({
41952
42016
  estProcessingTime,
@@ -41964,7 +42028,7 @@ var TransferTokenDetails = ({
41964
42028
  !!estProcessingTime
41965
42029
  );
41966
42030
  const gasFees = void 0;
41967
- return /* @__PURE__ */ React256.createElement(
42031
+ return /* @__PURE__ */ React257.createElement(
41968
42032
  FunFeatureList,
41969
42033
  {
41970
42034
  isExpandable: true,
@@ -41976,17 +42040,17 @@ var TransferTokenDetails = ({
41976
42040
  text: `${estPriceImpact.label}:`,
41977
42041
  prefix: estPriceImpact.value > 0 ? "< " : "",
41978
42042
  value: `${formatNumberAndStringify2(estPriceImpact.value, void 0, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}%`,
41979
- icon: /* @__PURE__ */ React256.createElement(DollarIcon, null),
41980
- tooltip: /* @__PURE__ */ React256.createElement(
42043
+ icon: /* @__PURE__ */ React257.createElement(DollarIcon, null),
42044
+ tooltip: /* @__PURE__ */ React257.createElement(
41981
42045
  FunTooltip,
41982
42046
  {
41983
- content: /* @__PURE__ */ React256.createElement(
42047
+ content: /* @__PURE__ */ React257.createElement(
41984
42048
  Trans18,
41985
42049
  {
41986
42050
  t,
41987
42051
  i18nKey: "fees.priceImpactTooltip",
41988
42052
  components: {
41989
- LearnMoreLink: /* @__PURE__ */ React256.createElement(
42053
+ LearnMoreLink: /* @__PURE__ */ React257.createElement(
41990
42054
  FunLinkButtonComponent3,
41991
42055
  {
41992
42056
  href: "https://intercom.help/funxyz/en/articles/10925883-order-execution-guide",
@@ -42005,17 +42069,17 @@ var TransferTokenDetails = ({
42005
42069
  text: `${maxSlippage.label}:`,
42006
42070
  prefix: maxSlippage.value > 0 ? `${t("common.auto")} \u2022 ` : "",
42007
42071
  value: `${formatNumberAndStringify2(maxSlippage.value, void 0, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}%`,
42008
- icon: /* @__PURE__ */ React256.createElement(PercentageIcon, null),
42009
- tooltip: /* @__PURE__ */ React256.createElement(
42072
+ icon: /* @__PURE__ */ React257.createElement(PercentageIcon, null),
42073
+ tooltip: /* @__PURE__ */ React257.createElement(
42010
42074
  FunTooltip,
42011
42075
  {
42012
- content: /* @__PURE__ */ React256.createElement(
42076
+ content: /* @__PURE__ */ React257.createElement(
42013
42077
  Trans18,
42014
42078
  {
42015
42079
  t,
42016
42080
  i18nKey: "fees.slippageTooltipFull",
42017
42081
  components: {
42018
- LearnMoreLink: /* @__PURE__ */ React256.createElement(
42082
+ LearnMoreLink: /* @__PURE__ */ React257.createElement(
42019
42083
  FunLinkButtonComponent3,
42020
42084
  {
42021
42085
  href: "https://intercom.help/funxyz/en/articles/10925883-order-execution-guide",
@@ -42034,26 +42098,26 @@ var TransferTokenDetails = ({
42034
42098
  text: `${t("common.estimatedGas")}:`,
42035
42099
  prefix: "~",
42036
42100
  value: `$${gasFees}`,
42037
- icon: /* @__PURE__ */ React256.createElement(DollarIcon, null)
42101
+ icon: /* @__PURE__ */ React257.createElement(DollarIcon, null)
42038
42102
  }
42039
42103
  ] : [],
42040
42104
  {
42041
42105
  text: t("common.processingTime"),
42042
42106
  value: estimatedTimeText,
42043
- icon: /* @__PURE__ */ React256.createElement(SpeedometerIcon, null)
42107
+ icon: /* @__PURE__ */ React257.createElement(SpeedometerIcon, null)
42044
42108
  },
42045
42109
  {
42046
- text: /* @__PURE__ */ React256.createElement(
42110
+ text: /* @__PURE__ */ React257.createElement(
42047
42111
  Trans18,
42048
42112
  {
42049
42113
  t,
42050
42114
  i18nKey: "common.haveQuestionsGetHelp",
42051
42115
  components: {
42052
- GetHelpLink: /* @__PURE__ */ React256.createElement(FunLinkButtonComponent3, { href: "https://intercom.help/funxyz/en/articles/10003876-transfer-crypto-guide-faqs" })
42116
+ GetHelpLink: /* @__PURE__ */ React257.createElement(FunLinkButtonComponent3, { href: "https://intercom.help/funxyz/en/articles/10003876-transfer-crypto-guide-faqs" })
42053
42117
  }
42054
42118
  }
42055
42119
  ),
42056
- icon: /* @__PURE__ */ React256.createElement(FileIcon, null)
42120
+ icon: /* @__PURE__ */ React257.createElement(FileIcon, null)
42057
42121
  }
42058
42122
  ]
42059
42123
  }
@@ -42455,6 +42519,7 @@ function TransferToken({
42455
42519
  toChainId: udaParams?.targetChain,
42456
42520
  toTokenAddress: udaParams?.targetAsset
42457
42521
  });
42522
+ const isFreeUsdcBannerEnabled = useDynamicConfig("freeusdcbanner").enabled;
42458
42523
  const toggleQrHover = async () => {
42459
42524
  if (qrCodeHover) {
42460
42525
  controls.start("shrinkBack");
@@ -42472,6 +42537,7 @@ function TransferToken({
42472
42537
  );
42473
42538
  const bottomSectionRef = useBottomSectionRef();
42474
42539
  const { targetAssetTicker, targetChain, iconSrc } = checkoutConfig ?? {};
42540
+ const hideFeeBreakdown = isFreeUsdcBannerEnabled && !!targetAssetTicker && ["pUSD", "USDC", "USDCe", "USDC.e"].includes(targetAssetTicker);
42475
42541
  const displayYouPayYouReceive = uiCustomizations.transferCryptoScreen.showYouSendYouReceive && typeof targetAssetTicker === "string" && typeof targetChain === "string" && typeof selectedChainId === "number" && typeof selectedToken === "string";
42476
42542
  const chainTagComponent = (value) => {
42477
42543
  if (!minTransferUsdPerChain[value]) {
@@ -42486,7 +42552,7 @@ function TransferToken({
42486
42552
  dynamicRoutingId
42487
42553
  }) ?? 0;
42488
42554
  }
42489
- return /* @__PURE__ */ React257.createElement(
42555
+ return /* @__PURE__ */ React258.createElement(
42490
42556
  Text,
42491
42557
  {
42492
42558
  size: "12",
@@ -42509,7 +42575,7 @@ function TransferToken({
42509
42575
  }
42510
42576
  return (
42511
42577
  // This ID is used in the DialogContent css to set the height of the modal
42512
- /* @__PURE__ */ React257.createElement(React257.Fragment, null, /* @__PURE__ */ React257.createElement(Box, { id: "token-transfer-page" }, uiCustomizations.transferCryptoScreen.customTopComponent?.(), /* @__PURE__ */ React257.createElement(
42578
+ /* @__PURE__ */ React258.createElement(React258.Fragment, null, /* @__PURE__ */ React258.createElement(Box, { id: "token-transfer-page" }, uiCustomizations.transferCryptoScreen.customTopComponent?.(), /* @__PURE__ */ React258.createElement(
42513
42579
  Box,
42514
42580
  {
42515
42581
  display: "flex",
@@ -42518,17 +42584,17 @@ function TransferToken({
42518
42584
  justifyContent: "center",
42519
42585
  gap: "18"
42520
42586
  },
42521
- isSourceNavWidgetEnabled && /* @__PURE__ */ React257.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React257.createElement(
42587
+ isSourceNavWidgetEnabled && /* @__PURE__ */ React258.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React258.createElement(
42522
42588
  SourcePaymentMethodItem,
42523
42589
  {
42524
42590
  type: PaymentMethod.TOKEN_TRANSFER,
42525
42591
  keyText: textCustomizations.transferTokens,
42526
42592
  disclaimerText: t("transferToken.noLimit"),
42527
- keyIcon: /* @__PURE__ */ React257.createElement(CryptoTransferQRIcon, null),
42593
+ keyIcon: /* @__PURE__ */ React258.createElement(CryptoTransferQRIcon, null),
42528
42594
  onClick: () => onNext({})
42529
42595
  }
42530
42596
  )),
42531
- /* @__PURE__ */ React257.createElement(
42597
+ /* @__PURE__ */ React258.createElement(
42532
42598
  TokenAndChainDropdown,
42533
42599
  {
42534
42600
  isLoading: isLoadingDepositAddress,
@@ -42562,7 +42628,7 @@ function TransferToken({
42562
42628
  selectedToken,
42563
42629
  selectedChainId,
42564
42630
  chainTagComponent,
42565
- chainLabelAddon: !!minTransferUsd && /* @__PURE__ */ React257.createElement(
42631
+ chainLabelAddon: !!minTransferUsd && /* @__PURE__ */ React258.createElement(
42566
42632
  Box,
42567
42633
  {
42568
42634
  display: "flex",
@@ -42572,15 +42638,15 @@ function TransferToken({
42572
42638
  fontSize: "12",
42573
42639
  height: "14"
42574
42640
  },
42575
- /* @__PURE__ */ React257.createElement(Text, { size: "inputLabel", color: "secondaryText" }, t("transferToken.min")),
42576
- /* @__PURE__ */ React257.createElement(Text, { size: "inputLabel", color: "secondaryText" }, /* @__PURE__ */ React257.createElement(
42641
+ /* @__PURE__ */ React258.createElement(Text, { size: "inputLabel", color: "secondaryText" }, t("transferToken.min")),
42642
+ /* @__PURE__ */ React258.createElement(Text, { size: "inputLabel", color: "secondaryText" }, /* @__PURE__ */ React258.createElement(
42577
42643
  AnimatedDollarValue,
42578
42644
  {
42579
42645
  value: minTransferUsd,
42580
42646
  dynamicMinFractionDigits: true
42581
42647
  }
42582
42648
  )),
42583
- /* @__PURE__ */ React257.createElement(
42649
+ /* @__PURE__ */ React258.createElement(
42584
42650
  FunTooltip,
42585
42651
  {
42586
42652
  content: t("transferToken.minDepositAmountTooltip"),
@@ -42594,7 +42660,7 @@ function TransferToken({
42594
42660
  chainIdSortOrder
42595
42661
  }
42596
42662
  ),
42597
- /* @__PURE__ */ React257.createElement(
42663
+ /* @__PURE__ */ React258.createElement(
42598
42664
  Box,
42599
42665
  {
42600
42666
  display: "flex",
@@ -42604,7 +42670,7 @@ function TransferToken({
42604
42670
  justifyContent: "center",
42605
42671
  padding: "20"
42606
42672
  },
42607
- isLoadingDepositAddress ? /* @__PURE__ */ React257.createElement(QRCodeSkeletonLoader_default, { diagonalDimension: 13, gapBetweenDots: "4" }) : /* @__PURE__ */ React257.createElement(
42673
+ isLoadingDepositAddress ? /* @__PURE__ */ React258.createElement(QRCodeSkeletonLoader_default, { diagonalDimension: 13, gapBetweenDots: "4" }) : /* @__PURE__ */ React258.createElement(
42608
42674
  motion17.div,
42609
42675
  {
42610
42676
  onHoverStart: toggleQrHover,
@@ -42624,7 +42690,7 @@ function TransferToken({
42624
42690
  },
42625
42691
  animate: controls
42626
42692
  },
42627
- /* @__PURE__ */ React257.createElement(
42693
+ /* @__PURE__ */ React258.createElement(
42628
42694
  QRCode,
42629
42695
  {
42630
42696
  withShadow: true,
@@ -42638,7 +42704,7 @@ function TransferToken({
42638
42704
  }
42639
42705
  )
42640
42706
  ),
42641
- displayYouPayYouReceive && /* @__PURE__ */ React257.createElement(Box, { display: "flex", justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React257.createElement(
42707
+ displayYouPayYouReceive && /* @__PURE__ */ React258.createElement(Box, { display: "flex", justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React258.createElement(
42642
42708
  YouPayYouReceive,
42643
42709
  {
42644
42710
  payLabel: textCustomizations.confirmationScreen?.payAmountLabel,
@@ -42653,7 +42719,7 @@ function TransferToken({
42653
42719
  }
42654
42720
  ))
42655
42721
  ),
42656
- /* @__PURE__ */ React257.createElement(Box, { width: "full", display: "flex", flexDirection: "column", gap: "12" }, /* @__PURE__ */ React257.createElement(Box, { width: "full", display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React257.createElement(
42722
+ /* @__PURE__ */ React258.createElement(Box, { width: "full", display: "flex", flexDirection: "column", gap: "12" }, /* @__PURE__ */ React258.createElement(Box, { width: "full", display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React258.createElement(
42657
42723
  Box,
42658
42724
  {
42659
42725
  display: "flex",
@@ -42661,7 +42727,7 @@ function TransferToken({
42661
42727
  justifyContent: "space-between",
42662
42728
  ref: disclaimerTextWrapperRef
42663
42729
  },
42664
- /* @__PURE__ */ React257.createElement(Box, { display: "flex", alignItems: "center", gap: "4" }, /* @__PURE__ */ React257.createElement(
42730
+ /* @__PURE__ */ React258.createElement(Box, { display: "flex", alignItems: "center", gap: "4" }, /* @__PURE__ */ React258.createElement(
42665
42731
  Text,
42666
42732
  {
42667
42733
  size: "inputLabel",
@@ -42669,7 +42735,7 @@ function TransferToken({
42669
42735
  color: "inputLabel"
42670
42736
  },
42671
42737
  t("transferToken.yourDepositAddress")
42672
- ), /* @__PURE__ */ React257.createElement(
42738
+ ), /* @__PURE__ */ React258.createElement(
42673
42739
  FunTooltip,
42674
42740
  {
42675
42741
  content: depositAddressTooltip,
@@ -42677,7 +42743,7 @@ function TransferToken({
42677
42743
  enableDynamicPositioning: true
42678
42744
  }
42679
42745
  )),
42680
- /* @__PURE__ */ React257.createElement(
42746
+ !hideFeeBreakdown && /* @__PURE__ */ React258.createElement(
42681
42747
  FunLinkButton,
42682
42748
  {
42683
42749
  text: t("transferToken.termsApply"),
@@ -42686,13 +42752,21 @@ function TransferToken({
42686
42752
  variant: "labelLink"
42687
42753
  }
42688
42754
  )
42689
- ), isLoadingDepositAddress ? /* @__PURE__ */ React257.createElement(FunSkeletonBlock, { height: "66px", width: "full" }) : /* @__PURE__ */ React257.createElement(
42755
+ ), isLoadingDepositAddress ? /* @__PURE__ */ React258.createElement(FunSkeletonBlock, { height: "66px", width: "full" }) : /* @__PURE__ */ React258.createElement(
42690
42756
  CopyInputDisplayedAddress,
42691
42757
  {
42692
42758
  address: depositAddress,
42693
42759
  onAddressCopied: trackAddressCopied
42694
42760
  }
42695
- )), selectedChainId !== void 0 && /* @__PURE__ */ React257.createElement(ChainInfoBanners, { chainId: selectedChainId }), /* @__PURE__ */ React257.createElement(FunInfoBanner, null), /* @__PURE__ */ React257.createElement(
42761
+ )), selectedChainId !== void 0 && /* @__PURE__ */ React258.createElement(ChainInfoBanners, { chainId: selectedChainId }), /* @__PURE__ */ React258.createElement(FunInfoBanner, null), hideFeeBreakdown ? /* @__PURE__ */ React258.createElement(
42762
+ BottomLinks,
42763
+ {
42764
+ links: [
42765
+ { text: t("transferToken.terms"), href: FUN_TERMS_URL },
42766
+ { text: t("transferToken.help"), href: FUN_HELP_FAQ_URL }
42767
+ ]
42768
+ }
42769
+ ) : /* @__PURE__ */ React258.createElement(
42696
42770
  TransferTokenDetails,
42697
42771
  {
42698
42772
  estProcessingTime: blockchain === "bitcoin" ? 30 * 60 * 1e3 : void 0,
@@ -42702,24 +42776,24 @@ function TransferToken({
42702
42776
  onExpanded: () => trackImpactExpanded(estPriceImpact?.value)
42703
42777
  }
42704
42778
  ))
42705
- )), bottomSectionRef && createPortal23(/* @__PURE__ */ React257.createElement(Dialog.BottomBar, null), bottomSectionRef))
42779
+ )), bottomSectionRef && createPortal23(/* @__PURE__ */ React258.createElement(Dialog.BottomBar, null), bottomSectionRef))
42706
42780
  );
42707
42781
  }
42708
42782
 
42709
42783
  // src/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.tsx
42710
- import React262, { useState as useState74 } from "react";
42784
+ import React263, { useState as useState74 } from "react";
42711
42785
 
42712
42786
  // src/components/VirtualFiatAccount/AccountDetailsTab/AccountDetailsTab.tsx
42713
- import React261 from "react";
42787
+ import React262 from "react";
42714
42788
 
42715
42789
  // src/components/FunInputButton/FunInputButton.tsx
42716
- import React260 from "react";
42790
+ import React261 from "react";
42717
42791
 
42718
42792
  // src/components/Icons/CopyDoubleRoundedSquareIcon.tsx
42719
- import React258 from "react";
42793
+ import React259 from "react";
42720
42794
  var CopyDoubleRoundedSquareIcon = ({
42721
42795
  size = 16
42722
- }) => /* @__PURE__ */ React258.createElement(
42796
+ }) => /* @__PURE__ */ React259.createElement(
42723
42797
  "svg",
42724
42798
  {
42725
42799
  width: size,
@@ -42728,7 +42802,7 @@ var CopyDoubleRoundedSquareIcon = ({
42728
42802
  fill: "none",
42729
42803
  xmlns: "http://www.w3.org/2000/svg"
42730
42804
  },
42731
- /* @__PURE__ */ React258.createElement(
42805
+ /* @__PURE__ */ React259.createElement(
42732
42806
  "path",
42733
42807
  {
42734
42808
  d: "M10.2 5.8V4.26C10.2 3.64394 10.2 3.33591 10.0801 3.10061C9.97465 2.89363 9.80637 2.72535 9.59939 2.61989C9.36409 2.5 9.05606 2.5 8.44 2.5H4.26C3.64394 2.5 3.33591 2.5 3.10061 2.61989C2.89363 2.72535 2.72535 2.89363 2.61989 3.10061C2.5 3.33591 2.5 3.64394 2.5 4.26V8.44C2.5 9.05606 2.5 9.36409 2.61989 9.59939C2.72535 9.80637 2.89363 9.97465 3.10061 10.0801C3.33591 10.2 3.64394 10.2 4.26 10.2H5.8M7.56 13.5H11.74C12.3561 13.5 12.6641 13.5 12.8994 13.3801C13.1064 13.2746 13.2746 13.1064 13.3801 12.8994C13.5 12.6641 13.5 12.3561 13.5 11.74V7.56C13.5 6.94394 13.5 6.63591 13.3801 6.40061C13.2746 6.19363 13.1064 6.02535 12.8994 5.91989C12.6641 5.8 12.3561 5.8 11.74 5.8H7.56C6.94394 5.8 6.63591 5.8 6.40061 5.91989C6.19363 6.02535 6.02535 6.19363 5.91989 6.40061C5.8 6.63591 5.8 6.94394 5.8 7.56V11.74C5.8 12.3561 5.8 12.6641 5.91989 12.8994C6.02535 13.1064 6.19363 13.2746 6.40061 13.3801C6.63591 13.5 6.94394 13.5 7.56 13.5Z",
@@ -42741,9 +42815,9 @@ var CopyDoubleRoundedSquareIcon = ({
42741
42815
  );
42742
42816
 
42743
42817
  // src/components/Icons/New/CheckCircleIcon.tsx
42744
- import React259 from "react";
42818
+ import React260 from "react";
42745
42819
  var CheckCircleIcon = () => {
42746
- return /* @__PURE__ */ React259.createElement(
42820
+ return /* @__PURE__ */ React260.createElement(
42747
42821
  "svg",
42748
42822
  {
42749
42823
  width: "16",
@@ -42752,7 +42826,7 @@ var CheckCircleIcon = () => {
42752
42826
  fill: "none",
42753
42827
  xmlns: "http://www.w3.org/2000/svg"
42754
42828
  },
42755
- /* @__PURE__ */ React259.createElement(
42829
+ /* @__PURE__ */ React260.createElement(
42756
42830
  "circle",
42757
42831
  {
42758
42832
  cx: "8",
@@ -42764,7 +42838,7 @@ var CheckCircleIcon = () => {
42764
42838
  strokeLinejoin: "round"
42765
42839
  }
42766
42840
  ),
42767
- /* @__PURE__ */ React259.createElement(
42841
+ /* @__PURE__ */ React260.createElement(
42768
42842
  "path",
42769
42843
  {
42770
42844
  d: "M5.5 9L7 10.5L10.5 7",
@@ -42789,7 +42863,7 @@ var FunInputButton = ({
42789
42863
  const { t } = useFunkitTranslation();
42790
42864
  const { isCopied, handleCopy } = useCopyToClipboard(text, HIDE_TOOLTIP_MS);
42791
42865
  if (!isCopyable) {
42792
- return /* @__PURE__ */ React260.createElement(
42866
+ return /* @__PURE__ */ React261.createElement(
42793
42867
  FunOptionBox,
42794
42868
  {
42795
42869
  width: "full",
@@ -42808,10 +42882,10 @@ var FunInputButton = ({
42808
42882
  hover: "heavyStroke"
42809
42883
  }
42810
42884
  },
42811
- /* @__PURE__ */ React260.createElement(Box, { display: "flex", gap: "8", flexDirection: "column" }, label && /* @__PURE__ */ React260.createElement(Text, { size: "10", color: "secondaryText" }, label), /* @__PURE__ */ React260.createElement(Text, { weight: "medium", size: "12" }, text))
42885
+ /* @__PURE__ */ React261.createElement(Box, { display: "flex", gap: "8", flexDirection: "column" }, label && /* @__PURE__ */ React261.createElement(Text, { size: "10", color: "secondaryText" }, label), /* @__PURE__ */ React261.createElement(Text, { weight: "medium", size: "12" }, text))
42812
42886
  );
42813
42887
  }
42814
- return /* @__PURE__ */ React260.createElement(
42888
+ return /* @__PURE__ */ React261.createElement(
42815
42889
  FunOptionBox,
42816
42890
  {
42817
42891
  width: "full",
@@ -42831,8 +42905,8 @@ var FunInputButton = ({
42831
42905
  hover: "heavyStroke"
42832
42906
  }
42833
42907
  },
42834
- /* @__PURE__ */ React260.createElement(Box, { display: "flex", gap: "8", flexDirection: "column" }, label && /* @__PURE__ */ React260.createElement(Text, { size: "10", color: "secondaryText" }, label), /* @__PURE__ */ React260.createElement(Text, { weight: "medium", size: "12" }, text)),
42835
- /* @__PURE__ */ React260.createElement(FunTooltip, { content: isCopied ? t("common.copied") : t("common.copy") }, /* @__PURE__ */ React260.createElement(Box, { display: "flex", alignItems: "center", color: "primaryText" }, isCopied ? /* @__PURE__ */ React260.createElement(CheckCircleIcon, null) : /* @__PURE__ */ React260.createElement(CopyDoubleRoundedSquareIcon, null)))
42908
+ /* @__PURE__ */ React261.createElement(Box, { display: "flex", gap: "8", flexDirection: "column" }, label && /* @__PURE__ */ React261.createElement(Text, { size: "10", color: "secondaryText" }, label), /* @__PURE__ */ React261.createElement(Text, { weight: "medium", size: "12" }, text)),
42909
+ /* @__PURE__ */ React261.createElement(FunTooltip, { content: isCopied ? t("common.copied") : t("common.copy") }, /* @__PURE__ */ React261.createElement(Box, { display: "flex", alignItems: "center", color: "primaryText" }, isCopied ? /* @__PURE__ */ React261.createElement(CheckCircleIcon, null) : /* @__PURE__ */ React261.createElement(CopyDoubleRoundedSquareIcon, null)))
42836
42910
  );
42837
42911
  };
42838
42912
 
@@ -42843,62 +42917,62 @@ var AccountDetailsTab = ({
42843
42917
  handleToggleDetails
42844
42918
  }) => {
42845
42919
  const { t } = useFunkitTranslation();
42846
- return /* @__PURE__ */ React261.createElement(Box, { display: "flex", flexDirection: "column", gap: "8" }, account.bank_account_number ? /* @__PURE__ */ React261.createElement(
42920
+ return /* @__PURE__ */ React262.createElement(Box, { display: "flex", flexDirection: "column", gap: "8" }, account.bank_account_number ? /* @__PURE__ */ React262.createElement(
42847
42921
  FunInputButton,
42848
42922
  {
42849
42923
  label: t("virtualFiatAccount.accountNumber"),
42850
42924
  text: account.bank_account_number
42851
42925
  }
42852
- ) : null, account.bank_routing_number ? /* @__PURE__ */ React261.createElement(
42926
+ ) : null, account.bank_routing_number ? /* @__PURE__ */ React262.createElement(
42853
42927
  FunInputButton,
42854
42928
  {
42855
42929
  label: t("virtualFiatAccount.routingNumber"),
42856
42930
  text: account.bank_routing_number
42857
42931
  }
42858
- ) : null, account.iban ? /* @__PURE__ */ React261.createElement(
42932
+ ) : null, account.iban ? /* @__PURE__ */ React262.createElement(
42859
42933
  FunInputButton,
42860
42934
  {
42861
42935
  label: t("virtualFiatAccount.iban"),
42862
42936
  text: account.iban
42863
42937
  }
42864
- ) : null, account.bic ? /* @__PURE__ */ React261.createElement(
42938
+ ) : null, account.bic ? /* @__PURE__ */ React262.createElement(
42865
42939
  FunInputButton,
42866
42940
  {
42867
42941
  label: t("virtualFiatAccount.swiftBic"),
42868
42942
  text: account.bic
42869
42943
  }
42870
- ) : null, account.account_holder_name ? /* @__PURE__ */ React261.createElement(
42944
+ ) : null, account.account_holder_name ? /* @__PURE__ */ React262.createElement(
42871
42945
  FunInputButton,
42872
42946
  {
42873
42947
  label: t("virtualFiatAccount.accountHolderName"),
42874
42948
  text: account.account_holder_name
42875
42949
  }
42876
- ) : null, account.bank_beneficiary_name ? /* @__PURE__ */ React261.createElement(
42950
+ ) : null, account.bank_beneficiary_name ? /* @__PURE__ */ React262.createElement(
42877
42951
  FunInputButton,
42878
42952
  {
42879
42953
  label: t("virtualFiatAccount.beneficiaryName"),
42880
42954
  text: account.bank_beneficiary_name
42881
42955
  }
42882
- ) : null, detailsExpanded && /* @__PURE__ */ React261.createElement(React261.Fragment, null, /* @__PURE__ */ React261.createElement(
42956
+ ) : null, detailsExpanded && /* @__PURE__ */ React262.createElement(React262.Fragment, null, /* @__PURE__ */ React262.createElement(
42883
42957
  FunInputButton,
42884
42958
  {
42885
42959
  label: t("virtualFiatAccount.bankName"),
42886
42960
  text: account.bank_name
42887
42961
  }
42888
- ), /* @__PURE__ */ React261.createElement(
42962
+ ), /* @__PURE__ */ React262.createElement(
42889
42963
  FunInputButton,
42890
42964
  {
42891
42965
  label: t("virtualFiatAccount.bankAddress"),
42892
42966
  text: account.bank_address
42893
42967
  }
42894
- ), /* @__PURE__ */ React261.createElement(
42968
+ ), /* @__PURE__ */ React262.createElement(
42895
42969
  FunInputButton,
42896
42970
  {
42897
42971
  label: t("virtualFiatAccount.currency"),
42898
42972
  text: String(account.currency).toUpperCase(),
42899
42973
  isCopyable: false
42900
42974
  }
42901
- )), /* @__PURE__ */ React261.createElement(
42975
+ )), /* @__PURE__ */ React262.createElement(
42902
42976
  Box,
42903
42977
  {
42904
42978
  width: "full",
@@ -42918,8 +42992,8 @@ var AccountDetailsTab = ({
42918
42992
  hover: "heavyStroke"
42919
42993
  }
42920
42994
  },
42921
- /* @__PURE__ */ React261.createElement(Text, { size: "13" }, detailsExpanded ? "See less" : "More details"),
42922
- /* @__PURE__ */ React261.createElement(
42995
+ /* @__PURE__ */ React262.createElement(Text, { size: "13" }, detailsExpanded ? "See less" : "More details"),
42996
+ /* @__PURE__ */ React262.createElement(
42923
42997
  Box,
42924
42998
  {
42925
42999
  width: "16",
@@ -42928,7 +43002,7 @@ var AccountDetailsTab = ({
42928
43002
  alignItems: "center",
42929
43003
  justifyContent: "center"
42930
43004
  },
42931
- /* @__PURE__ */ React261.createElement(
43005
+ /* @__PURE__ */ React262.createElement(
42932
43006
  Box,
42933
43007
  {
42934
43008
  color: "secondaryText",
@@ -42939,7 +43013,7 @@ var AccountDetailsTab = ({
42939
43013
  justifyContent: "center",
42940
43014
  style: detailsExpanded ? { transform: "rotate(180deg)" } : void 0
42941
43015
  },
42942
- /* @__PURE__ */ React261.createElement(CaretDownIcon, null)
43016
+ /* @__PURE__ */ React262.createElement(CaretDownIcon, null)
42943
43017
  )
42944
43018
  )
42945
43019
  ));
@@ -42965,7 +43039,7 @@ var AccountDetailsScreen = ({
42965
43039
  const handleTabChange = (index) => {
42966
43040
  animate(() => setActiveTab(index), { reverse: index < activeTab });
42967
43041
  };
42968
- return /* @__PURE__ */ React262.createElement(
43042
+ return /* @__PURE__ */ React263.createElement(
42969
43043
  Box,
42970
43044
  {
42971
43045
  id: "fiat-detail-page",
@@ -42973,7 +43047,7 @@ var AccountDetailsScreen = ({
42973
43047
  flexDirection: "column",
42974
43048
  gap: "16"
42975
43049
  },
42976
- isSourceNavWidgetEnabled && /* @__PURE__ */ React262.createElement(
43050
+ isSourceNavWidgetEnabled && /* @__PURE__ */ React263.createElement(
42977
43051
  SourcePaymentMethodItem,
42978
43052
  {
42979
43053
  onClick: () => onNext({}),
@@ -42982,21 +43056,21 @@ var AccountDetailsScreen = ({
42982
43056
  keyIcon: label.icon
42983
43057
  }
42984
43058
  ),
42985
- /* @__PURE__ */ React262.createElement(Box, { display: "flex", flexDirection: "column", gap: "8" }, /* @__PURE__ */ React262.createElement(Box, { display: "flex", flexDirection: "column", gap: "12" }, /* @__PURE__ */ React262.createElement(
43059
+ /* @__PURE__ */ React263.createElement(Box, { display: "flex", flexDirection: "column", gap: "8" }, /* @__PURE__ */ React263.createElement(Box, { display: "flex", flexDirection: "column", gap: "12" }, /* @__PURE__ */ React263.createElement(
42986
43060
  Tabs,
42987
43061
  {
42988
43062
  tabs,
42989
43063
  activeTab,
42990
43064
  onTabChange: handleTabChange
42991
43065
  }
42992
- )), /* @__PURE__ */ React262.createElement(Box, { className: getContentAnimation(animation) }, tabs[activeTab]?.value === "details" ? /* @__PURE__ */ React262.createElement(
43066
+ )), /* @__PURE__ */ React263.createElement(Box, { className: getContentAnimation(animation) }, tabs[activeTab]?.value === "details" ? /* @__PURE__ */ React263.createElement(
42993
43067
  AccountDetailsTab,
42994
43068
  {
42995
43069
  account: sourceDeposit,
42996
43070
  detailsExpanded,
42997
43071
  handleToggleDetails: () => setDetailsExpanded((prev) => !prev)
42998
43072
  }
42999
- ) : /* @__PURE__ */ React262.createElement(
43073
+ ) : /* @__PURE__ */ React263.createElement(
43000
43074
  FunFeatureList,
43001
43075
  {
43002
43076
  gapBetweenItems: "8",
@@ -43010,7 +43084,7 @@ var AccountDetailsScreen = ({
43010
43084
  "Gas fee: < $5.00",
43011
43085
  "Banks fees may also apply"
43012
43086
  ],
43013
- icon: /* @__PURE__ */ React262.createElement(DollarIcon, null)
43087
+ icon: /* @__PURE__ */ React263.createElement(DollarIcon, null)
43014
43088
  },
43015
43089
  {
43016
43090
  text: "Limits",
@@ -43018,12 +43092,12 @@ var AccountDetailsScreen = ({
43018
43092
  "Minimum amount: 25 EUR",
43019
43093
  "Maximum amount: 20,000,000 EUR"
43020
43094
  ],
43021
- icon: /* @__PURE__ */ React262.createElement(DollarIcon, null)
43095
+ icon: /* @__PURE__ */ React263.createElement(DollarIcon, null)
43022
43096
  },
43023
43097
  {
43024
43098
  text: "Processing time",
43025
43099
  value: [FIAT_PROCESSING_TIME],
43026
- icon: /* @__PURE__ */ React262.createElement(SpeedometerIcon, null)
43100
+ icon: /* @__PURE__ */ React263.createElement(SpeedometerIcon, null)
43027
43101
  }
43028
43102
  ]
43029
43103
  }
@@ -43046,7 +43120,7 @@ var FiatAccountDetail = {
43046
43120
 
43047
43121
  // src/modals/CheckoutModal/VirtualFiatAccount/KycIframe.tsx
43048
43122
  import { BridgeCustomerStatus as BridgeCustomerStatus7 } from "@funkit/api-base";
43049
- import React263, { useCallback as useCallback48, useEffect as useEffect68, useMemo as useMemo61, useState as useState75 } from "react";
43123
+ import React264, { useCallback as useCallback48, useEffect as useEffect68, useMemo as useMemo61, useState as useState75 } from "react";
43050
43124
  function useIframeListener(listeners, expectedOrigin) {
43051
43125
  const handleMessage = useCallback48(
43052
43126
  (event) => {
@@ -43133,7 +43207,7 @@ function KycIframe({
43133
43207
  );
43134
43208
  const loading = isLinkLoading || iframeLoading;
43135
43209
  useIframeListener(listeners, kycOrigin);
43136
- return /* @__PURE__ */ React263.createElement(
43210
+ return /* @__PURE__ */ React264.createElement(
43137
43211
  Dialog,
43138
43212
  {
43139
43213
  onClose: onBack,
@@ -43142,13 +43216,13 @@ function KycIframe({
43142
43216
  withoutSidePadding: !loading,
43143
43217
  withTransition: false
43144
43218
  },
43145
- loading && /* @__PURE__ */ React263.createElement(React263.Fragment, null, /* @__PURE__ */ React263.createElement(
43219
+ loading && /* @__PURE__ */ React264.createElement(React264.Fragment, null, /* @__PURE__ */ React264.createElement(
43146
43220
  Dialog.Title,
43147
43221
  {
43148
43222
  onClose: onBack,
43149
43223
  title: textCustomizations.virtualFiat
43150
43224
  }
43151
- ), /* @__PURE__ */ React263.createElement(
43225
+ ), /* @__PURE__ */ React264.createElement(
43152
43226
  VerifyAccountScreen,
43153
43227
  {
43154
43228
  customerStatus: BridgeCustomerStatus7.NOT_STARTED,
@@ -43156,7 +43230,7 @@ function KycIframe({
43156
43230
  withActionButton: false
43157
43231
  }
43158
43232
  )),
43159
- /* @__PURE__ */ React263.createElement(
43233
+ /* @__PURE__ */ React264.createElement(
43160
43234
  Dialog.Content,
43161
43235
  {
43162
43236
  display: "flex",
@@ -43169,7 +43243,7 @@ function KycIframe({
43169
43243
  withoutSidePadding: !loading,
43170
43244
  fullHeight: !loading
43171
43245
  },
43172
- kycLink && /* @__PURE__ */ React263.createElement(
43246
+ kycLink && /* @__PURE__ */ React264.createElement(
43173
43247
  "iframe",
43174
43248
  {
43175
43249
  src: kycLink,
@@ -43184,14 +43258,14 @@ function KycIframe({
43184
43258
  }
43185
43259
  )
43186
43260
  ),
43187
- loading && /* @__PURE__ */ React263.createElement(
43261
+ loading && /* @__PURE__ */ React264.createElement(
43188
43262
  Dialog.BottomSection,
43189
43263
  {
43190
43264
  style: {
43191
43265
  paddingBottom: themeVars.spacing.modalPaddingBottomLower
43192
43266
  }
43193
43267
  },
43194
- /* @__PURE__ */ React263.createElement(
43268
+ /* @__PURE__ */ React264.createElement(
43195
43269
  Dialog.BottomBar,
43196
43270
  {
43197
43271
  actionButtonProps: {
@@ -43533,7 +43607,7 @@ function FunCheckoutModalHeightAnimationWrapper({
43533
43607
  const permittedHeight = getPermittedHeight2(
43534
43608
  checkoutStep === "loading_account" /* LOADING_ACCOUNT */ ? startsOnConfirmationStep ? "confirmation" /* CONFIRMATION */ : startsOnSelectAssetStep ? "select_asset" /* SELECT_ASSET */ : "source_change" /* SOURCE_CHANGE */ : checkoutStep
43535
43609
  );
43536
- return /* @__PURE__ */ React264.createElement(ModalHeightAnimationLayer, { permittedHeight }, children);
43610
+ return /* @__PURE__ */ React265.createElement(ModalHeightAnimationLayer, { permittedHeight }, children);
43537
43611
  }
43538
43612
 
43539
43613
  // src/hooks/useCheckoutModalTitle.ts
@@ -43548,7 +43622,7 @@ function useCheckoutModalTitle(depositAddress, defaultTitle) {
43548
43622
  import { IN_PROGRESS_CHECKOUT_STATES as IN_PROGRESS_CHECKOUT_STATES2 } from "@funkit/api-base";
43549
43623
  import { formatTimestampToDate, fullMonthNames } from "@funkit/utils";
43550
43624
  import clsx23 from "clsx";
43551
- import React273, { useEffect as useEffect71, useMemo as useMemo62, useRef as useRef37, useState as useState78 } from "react";
43625
+ import React274, { useEffect as useEffect71, useMemo as useMemo62, useRef as useRef37, useState as useState78 } from "react";
43552
43626
  import { Virtuoso } from "react-virtuoso";
43553
43627
 
43554
43628
  // src/consts/layout.ts
@@ -43559,10 +43633,10 @@ var DEFAULT_ICON_SIZE = "24";
43559
43633
  var OVERLAY_Z_INDEX = 100;
43560
43634
 
43561
43635
  // src/modals/ProfileDetails/FunProfileViews/Home/BalanceSection.tsx
43562
- import React265 from "react";
43636
+ import React266 from "react";
43563
43637
  import { formatCurrencyAndStringify as formatCurrencyAndStringify13 } from "@funkit/utils";
43564
43638
  var BalanceSection = ({ totalBalance }) => {
43565
- return /* @__PURE__ */ React265.createElement(Box, { display: "flex", flexDirection: "column", gap: "16" }, /* @__PURE__ */ React265.createElement(Box, { display: "flex", justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React265.createElement(Text, { as: "h1", color: "primaryText", weight: "medium", size: "40" }, formatCurrencyAndStringify13(
43639
+ return /* @__PURE__ */ React266.createElement(Box, { display: "flex", flexDirection: "column", gap: "16" }, /* @__PURE__ */ React266.createElement(Box, { display: "flex", justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React266.createElement(Text, { as: "h1", color: "primaryText", weight: "medium", size: "40" }, formatCurrencyAndStringify13(
43566
43640
  Number.parseFloat(totalBalance.toString())
43567
43641
  ))));
43568
43642
  };
@@ -43581,12 +43655,12 @@ import {
43581
43655
  isNotNullish as isNotNullish7
43582
43656
  } from "@funkit/utils";
43583
43657
  import clsx22 from "clsx";
43584
- import React267 from "react";
43658
+ import React268 from "react";
43585
43659
 
43586
43660
  // src/components/Icons/RedRoundErrorCross.tsx
43587
- import React266 from "react";
43661
+ import React267 from "react";
43588
43662
  var RedRoundErrorCross = ({ size = 15 }) => {
43589
- return /* @__PURE__ */ React266.createElement(
43663
+ return /* @__PURE__ */ React267.createElement(
43590
43664
  "svg",
43591
43665
  {
43592
43666
  width: size,
@@ -43595,8 +43669,8 @@ var RedRoundErrorCross = ({ size = 15 }) => {
43595
43669
  fill: "none",
43596
43670
  xmlns: "http://www.w3.org/2000/svg"
43597
43671
  },
43598
- /* @__PURE__ */ React266.createElement("circle", { cx: "4", cy: "4.5", r: "4", fill: "#F34126" }),
43599
- /* @__PURE__ */ React266.createElement(
43672
+ /* @__PURE__ */ React267.createElement("circle", { cx: "4", cy: "4.5", r: "4", fill: "#F34126" }),
43673
+ /* @__PURE__ */ React267.createElement(
43600
43674
  "path",
43601
43675
  {
43602
43676
  d: "M2.57111 2.59761L4 4.02654L5.42889 2.59761C5.54807 2.47844 5.7369 2.46734 5.87797 2.57755L5.90238 2.59979C6.03254 2.72994 6.03254 2.94096 5.90238 3.07111L4.47346 4.5L5.90238 5.92889C6.02156 6.04806 6.03266 6.2369 5.92244 6.37797L5.90022 6.40239C5.77007 6.53254 5.55904 6.53254 5.42888 6.40238L4 4.97346L2.57111 6.40239C2.45193 6.52156 2.2631 6.53266 2.12203 6.42245L2.09761 6.40021C1.96746 6.27006 1.96746 6.05904 2.09761 5.92889L3.52654 4.5L2.09761 3.07111C1.97844 2.95194 1.96734 2.7631 2.07755 2.62203L2.09978 2.59761C2.22993 2.46746 2.44095 2.46746 2.57111 2.59761ZM2.36024 6.33149L2.35293 6.33242C2.35536 6.33217 2.3578 6.33185 2.36024 6.33149ZM2.31088 6.33152L2.31385 6.33194L2.31088 6.33152ZM2.3814 6.3269L2.37242 6.3292C2.37542 6.32852 2.37842 6.32775 2.3814 6.3269ZM2.40026 6.32026L2.39333 6.323C2.39564 6.32215 2.39795 6.32123 2.40026 6.32026ZM2.25106 6.31043L2.23334 6.29839C2.24074 6.30415 2.2485 6.30919 2.25656 6.31353L2.25106 6.31043ZM2.41976 6.31047L2.4144 6.31349C2.4144 6.31349 2.41796 6.31153 2.41976 6.31047ZM5.81353 6.24343L5.81042 6.24894L5.79839 6.26667C5.80415 6.25927 5.80919 6.25149 5.81353 6.24343ZM5.82275 6.2231L5.82025 6.22939C5.82114 6.22729 5.82197 6.2252 5.82275 6.2231ZM5.82913 6.20184L5.82703 6.21006C5.82778 6.20739 5.8285 6.20462 5.82913 6.20184ZM5.83241 6.18215L5.83152 6.18912C5.83186 6.18683 5.83216 6.18449 5.83241 6.18215ZM5.66455 2.83328L4 4.49787L2.33545 2.83328L2.33327 2.83545L3.99787 4.5L2.33327 6.16455L2.33545 6.16672L4 4.50213L5.66455 6.16672L5.66673 6.16455L4.00213 4.5L5.66673 2.83545L5.66455 2.83328ZM5.83331 6.16189L5.83332 6.16672L5.83331 6.16189ZM5.83149 6.13977L5.83242 6.14707C5.83216 6.14465 5.83186 6.1422 5.83149 6.13977ZM5.8269 6.1186L5.8292 6.12758C5.82852 6.12458 5.82776 6.12158 5.8269 6.1186ZM5.82026 6.09974L5.823 6.10667C5.82214 6.10436 5.82123 6.10204 5.82026 6.09974ZM5.81048 6.08024L5.81349 6.0856C5.81349 6.0856 5.81153 6.08203 5.81048 6.08024ZM2.18651 2.9144L2.18903 2.9189L2.18651 2.9144ZM2.177 2.89333L2.17924 2.89907C2.17845 2.89716 2.17772 2.89526 2.177 2.89333ZM2.1708 2.87242L2.17226 2.87835C2.17174 2.87638 2.17125 2.87441 2.1708 2.87242ZM2.16751 2.85227L2.16806 2.85705L2.16751 2.85227ZM2.16674 2.83061L2.16667 2.83545L2.16674 2.83061ZM2.16848 2.81088L2.16806 2.81385L2.16848 2.81088ZM2.18957 2.75106L2.20161 2.73333C2.19585 2.74073 2.1908 2.74851 2.18647 2.75657L2.18957 2.75106ZM2.41433 2.68647L2.41984 2.68957L2.43756 2.70161C2.43016 2.69585 2.42238 2.69081 2.41433 2.68647ZM5.5856 2.68651L5.5811 2.68903L5.5856 2.68651ZM2.2565 2.68651L2.25199 2.68903L2.2565 2.68651ZM5.74344 2.68647L5.74894 2.68957L5.76666 2.70161C5.75926 2.69585 5.75149 2.69081 5.74344 2.68647ZM2.27691 2.67725L2.27183 2.67924L2.27691 2.67725ZM2.3933 2.67699L2.40029 2.67975C2.39796 2.67877 2.39564 2.67785 2.3933 2.67699ZM5.60667 2.677L5.60093 2.67924C5.60284 2.67846 5.60473 2.67771 5.60667 2.677ZM5.7231 2.67725L5.72939 2.67975C5.72729 2.67887 5.7252 2.67804 5.7231 2.67725ZM2.29821 2.67086L2.29254 2.67226L2.29821 2.67086ZM2.37241 2.6708L2.38143 2.6731C2.37842 2.67225 2.37542 2.67148 2.37241 2.6708ZM5.62758 2.6708L5.62165 2.67226C5.62363 2.67173 5.62559 2.67125 5.62758 2.6708ZM5.70184 2.67087L5.71006 2.67297C5.7074 2.67221 5.70463 2.67151 5.70184 2.67087ZM2.31856 2.66752L2.31385 2.66806L2.31856 2.66752ZM2.35224 2.66751L2.36022 2.66851C2.35757 2.66811 2.35491 2.66778 2.35224 2.66751ZM5.64774 2.66751L5.64295 2.66806L5.64774 2.66751ZM5.68148 2.66752L5.68912 2.66848C5.68661 2.6681 5.68405 2.66778 5.68148 2.66752ZM5.65972 2.66674L5.66941 2.66674C5.66618 2.66664 5.66295 2.66664 5.65972 2.66674ZM2.33059 2.66674L2.34028 2.66674C2.33705 2.66664 2.33382 2.66664 2.33059 2.66674Z",
@@ -43632,7 +43706,7 @@ var HomeCheckoutDisplayRow = ({
43632
43706
  const checkoutClientMetadata = checkoutHistoryItem.clientMetadata;
43633
43707
  const getStatusElement = () => {
43634
43708
  if (isCompleted) {
43635
- return /* @__PURE__ */ React267.createElement(
43709
+ return /* @__PURE__ */ React268.createElement(
43636
43710
  Box,
43637
43711
  {
43638
43712
  display: "flex",
@@ -43640,12 +43714,12 @@ var HomeCheckoutDisplayRow = ({
43640
43714
  gap: STATUS_FLEX_GAP_X,
43641
43715
  alignItems: "center"
43642
43716
  },
43643
- /* @__PURE__ */ React267.createElement(GreenRoundCheckmark, { size: Number.parseInt(STATUS_ICON_SIZE) }),
43644
- /* @__PURE__ */ React267.createElement(Text, { size: STATUS_TEXT_SIZE, color: "success" }, t("checkoutHistory.completed"))
43717
+ /* @__PURE__ */ React268.createElement(GreenRoundCheckmark, { size: Number.parseInt(STATUS_ICON_SIZE) }),
43718
+ /* @__PURE__ */ React268.createElement(Text, { size: STATUS_TEXT_SIZE, color: "success" }, t("checkoutHistory.completed"))
43645
43719
  );
43646
43720
  }
43647
43721
  if (isError || isFailed || isExpired) {
43648
- return /* @__PURE__ */ React267.createElement(
43722
+ return /* @__PURE__ */ React268.createElement(
43649
43723
  Box,
43650
43724
  {
43651
43725
  display: "flex",
@@ -43653,12 +43727,12 @@ var HomeCheckoutDisplayRow = ({
43653
43727
  gap: STATUS_FLEX_GAP_X,
43654
43728
  alignItems: "center"
43655
43729
  },
43656
- /* @__PURE__ */ React267.createElement(RedRoundErrorCross, { size: Number.parseInt(STATUS_ICON_SIZE) }),
43657
- /* @__PURE__ */ React267.createElement(Text, { size: STATUS_TEXT_SIZE, color: "error" }, t("checkoutHistory.failed"))
43730
+ /* @__PURE__ */ React268.createElement(RedRoundErrorCross, { size: Number.parseInt(STATUS_ICON_SIZE) }),
43731
+ /* @__PURE__ */ React268.createElement(Text, { size: STATUS_TEXT_SIZE, color: "error" }, t("checkoutHistory.failed"))
43658
43732
  );
43659
43733
  }
43660
43734
  if (isProcessing) {
43661
- return /* @__PURE__ */ React267.createElement(
43735
+ return /* @__PURE__ */ React268.createElement(
43662
43736
  Box,
43663
43737
  {
43664
43738
  display: "flex",
@@ -43666,7 +43740,7 @@ var HomeCheckoutDisplayRow = ({
43666
43740
  gap: STATUS_FLEX_GAP_X,
43667
43741
  alignItems: "center"
43668
43742
  },
43669
- /* @__PURE__ */ React267.createElement(
43743
+ /* @__PURE__ */ React268.createElement(
43670
43744
  Box,
43671
43745
  {
43672
43746
  width: STATUS_ICON_SIZE,
@@ -43675,13 +43749,13 @@ var HomeCheckoutDisplayRow = ({
43675
43749
  background: "standby"
43676
43750
  }
43677
43751
  ),
43678
- /* @__PURE__ */ React267.createElement(Text, { size: STATUS_TEXT_SIZE, color: "standby" }, t("checkoutHistory.processing"))
43752
+ /* @__PURE__ */ React268.createElement(Text, { size: STATUS_TEXT_SIZE, color: "standby" }, t("checkoutHistory.processing"))
43679
43753
  );
43680
43754
  }
43681
43755
  };
43682
43756
  const checkoutConfig = checkoutClientMetadata.initSettings.config;
43683
43757
  const showIcon = isNotNullish7(checkoutConfig.iconSrc) || checkoutClientMetadata.isWithdrawal;
43684
- return /* @__PURE__ */ React267.createElement(
43758
+ return /* @__PURE__ */ React268.createElement(
43685
43759
  Box,
43686
43760
  {
43687
43761
  className: clsx22(
@@ -43706,7 +43780,7 @@ var HomeCheckoutDisplayRow = ({
43706
43780
  }
43707
43781
  }
43708
43782
  },
43709
- /* @__PURE__ */ React267.createElement(Box, { display: "flex", alignItems: "center", gap: ROW_FLEX_GAP_X, width: "full" }, showIcon && /* @__PURE__ */ React267.createElement(
43783
+ /* @__PURE__ */ React268.createElement(Box, { display: "flex", alignItems: "center", gap: ROW_FLEX_GAP_X, width: "full" }, showIcon && /* @__PURE__ */ React268.createElement(
43710
43784
  Box,
43711
43785
  {
43712
43786
  display: "flex",
@@ -43717,7 +43791,7 @@ var HomeCheckoutDisplayRow = ({
43717
43791
  minWidth: "29px"
43718
43792
  }
43719
43793
  },
43720
- /* @__PURE__ */ React267.createElement(
43794
+ /* @__PURE__ */ React268.createElement(
43721
43795
  FunAssetAvatar,
43722
43796
  {
43723
43797
  assetSrc: checkoutConfig.iconSrc || "",
@@ -43728,7 +43802,7 @@ var HomeCheckoutDisplayRow = ({
43728
43802
  chainId: checkoutConfig.targetChain
43729
43803
  }
43730
43804
  )
43731
- ), /* @__PURE__ */ React267.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React267.createElement(
43805
+ ), /* @__PURE__ */ React268.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React268.createElement(
43732
43806
  Box,
43733
43807
  {
43734
43808
  display: "flex",
@@ -43736,19 +43810,19 @@ var HomeCheckoutDisplayRow = ({
43736
43810
  alignItems: "center",
43737
43811
  gap: "16"
43738
43812
  },
43739
- /* @__PURE__ */ React267.createElement(Text, { size: TEXT_SIZE_MEDIUM2, weight: "medium", color: "primaryText" }, checkoutConfig.checkoutItemTitle),
43740
- /* @__PURE__ */ React267.createElement(Text, { size: TEXT_SIZE_MEDIUM2, weight: "medium", color: "primaryText" }, `${formatCurrencyAndStringify14(
43813
+ /* @__PURE__ */ React268.createElement(Text, { size: TEXT_SIZE_MEDIUM2, weight: "medium", color: "primaryText" }, checkoutConfig.checkoutItemTitle),
43814
+ /* @__PURE__ */ React268.createElement(Text, { size: TEXT_SIZE_MEDIUM2, weight: "medium", color: "primaryText" }, `${formatCurrencyAndStringify14(
43741
43815
  checkoutClientMetadata?.finalDollarValue || 0
43742
43816
  )} USD`)
43743
- ), /* @__PURE__ */ React267.createElement(Box, { display: "flex", justifyContent: "space-between", gap: "16" }, /* @__PURE__ */ React267.createElement(Text, { size: TEXT_SIZE_SMALL2, color: "secondaryText" }, formatTimestamp3(new Date(checkoutHistoryItem.createdTimeMs), {
43817
+ ), /* @__PURE__ */ React268.createElement(Box, { display: "flex", justifyContent: "space-between", gap: "16" }, /* @__PURE__ */ React268.createElement(Text, { size: TEXT_SIZE_SMALL2, color: "secondaryText" }, formatTimestamp3(new Date(checkoutHistoryItem.createdTimeMs), {
43744
43818
  year: "none",
43745
43819
  seconds: "none",
43746
43820
  month: "short"
43747
- })), /* @__PURE__ */ React267.createElement(Box, null, getStatusElement()))))
43821
+ })), /* @__PURE__ */ React268.createElement(Box, null, getStatusElement()))))
43748
43822
  );
43749
43823
  };
43750
43824
  var HomeCheckoutDisplayRowSkeleton = () => {
43751
- return /* @__PURE__ */ React267.createElement(
43825
+ return /* @__PURE__ */ React268.createElement(
43752
43826
  Box,
43753
43827
  {
43754
43828
  display: "flex",
@@ -43758,8 +43832,8 @@ var HomeCheckoutDisplayRowSkeleton = () => {
43758
43832
  paddingX: PROFILE_SIDE_PADDING,
43759
43833
  paddingY: ROW_PADDING_Y
43760
43834
  },
43761
- /* @__PURE__ */ React267.createElement(FunSkeletonCircle, { size: DEFAULT_ICON_SIZE }),
43762
- /* @__PURE__ */ React267.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React267.createElement(
43835
+ /* @__PURE__ */ React268.createElement(FunSkeletonCircle, { size: DEFAULT_ICON_SIZE }),
43836
+ /* @__PURE__ */ React268.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React268.createElement(
43763
43837
  FunSkeletonBlock,
43764
43838
  {
43765
43839
  height: TEXT_SIZE_MEDIUM2,
@@ -43767,7 +43841,7 @@ var HomeCheckoutDisplayRowSkeleton = () => {
43767
43841
  marginTop: TEXT_SKELETON_MARGIN_TOP2,
43768
43842
  width: TEXT_SKELETON_WIDTH_LONG2
43769
43843
  }
43770
- ), /* @__PURE__ */ React267.createElement(
43844
+ ), /* @__PURE__ */ React268.createElement(
43771
43845
  FunSkeletonBlock,
43772
43846
  {
43773
43847
  height: TEXT_SIZE_SMALL2,
@@ -43776,7 +43850,7 @@ var HomeCheckoutDisplayRowSkeleton = () => {
43776
43850
  width: TEXT_SKELETON_WIDTH_MEDIUM
43777
43851
  }
43778
43852
  )),
43779
- /* @__PURE__ */ React267.createElement(Box, { alignItems: "flex-end", display: "flex", flexDirection: "column" }, /* @__PURE__ */ React267.createElement(
43853
+ /* @__PURE__ */ React268.createElement(Box, { alignItems: "flex-end", display: "flex", flexDirection: "column" }, /* @__PURE__ */ React268.createElement(
43780
43854
  FunSkeletonBlock,
43781
43855
  {
43782
43856
  height: TEXT_SIZE_MEDIUM2,
@@ -43784,7 +43858,7 @@ var HomeCheckoutDisplayRowSkeleton = () => {
43784
43858
  marginTop: TEXT_SKELETON_MARGIN_TOP2,
43785
43859
  width: TEXT_SKELETON_WIDTH_MEDIUM
43786
43860
  }
43787
- ), /* @__PURE__ */ React267.createElement(
43861
+ ), /* @__PURE__ */ React268.createElement(
43788
43862
  FunSkeletonBlock,
43789
43863
  {
43790
43864
  height: STATUS_TEXT_SIZE,
@@ -43802,7 +43876,7 @@ import {
43802
43876
  formatCurrencyAndStringify as formatCurrencyAndStringify15,
43803
43877
  isMobile as isMobile9
43804
43878
  } from "@funkit/utils";
43805
- import React268 from "react";
43879
+ import React269 from "react";
43806
43880
  var TEXT_SIZE = "13";
43807
43881
  var TEXT_SKELETON_MARGIN_TOP3 = "2";
43808
43882
  var TEXT_SKELETON_MARGIN_BOTTOM3 = "3";
@@ -43817,7 +43891,7 @@ var HomeTokenBalanceDisplayRow = ({
43817
43891
  asset.tokenBalance,
43818
43892
  asset.decimals
43819
43893
  );
43820
- return /* @__PURE__ */ React268.createElement(
43894
+ return /* @__PURE__ */ React269.createElement(
43821
43895
  Box,
43822
43896
  {
43823
43897
  display: "flex",
@@ -43831,7 +43905,7 @@ var HomeTokenBalanceDisplayRow = ({
43831
43905
  paddingY: ROW_PADDING_Y2,
43832
43906
  className: baseStyles4
43833
43907
  },
43834
- /* @__PURE__ */ React268.createElement(
43908
+ /* @__PURE__ */ React269.createElement(
43835
43909
  Box,
43836
43910
  {
43837
43911
  display: "flex",
@@ -43840,7 +43914,7 @@ var HomeTokenBalanceDisplayRow = ({
43840
43914
  alignItems: "flex-start",
43841
43915
  height: "full"
43842
43916
  },
43843
- /* @__PURE__ */ React268.createElement(
43917
+ /* @__PURE__ */ React269.createElement(
43844
43918
  FunAssetAvatar,
43845
43919
  {
43846
43920
  assetSrc: asset.logo,
@@ -43850,22 +43924,22 @@ var HomeTokenBalanceDisplayRow = ({
43850
43924
  assetIconSize: DEFAULT_ICON_SIZE
43851
43925
  }
43852
43926
  ),
43853
- /* @__PURE__ */ React268.createElement(
43927
+ /* @__PURE__ */ React269.createElement(
43854
43928
  Box,
43855
43929
  {
43856
43930
  display: "flex",
43857
43931
  flexDirection: "column",
43858
43932
  justifyContent: "space-between"
43859
43933
  },
43860
- /* @__PURE__ */ React268.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, asset.name),
43861
- /* @__PURE__ */ React268.createElement(Text, { color: "secondaryText", size: TEXT_SIZE, weight: "regular" }, formatCryptoAndStringify10(normalizedAmount, asset.symbol))
43934
+ /* @__PURE__ */ React269.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, asset.name),
43935
+ /* @__PURE__ */ React269.createElement(Text, { color: "secondaryText", size: TEXT_SIZE, weight: "regular" }, formatCryptoAndStringify10(normalizedAmount, asset.symbol))
43862
43936
  )
43863
43937
  ),
43864
- /* @__PURE__ */ React268.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, formatCurrencyAndStringify15(asset.totalUsdValue || 0))
43938
+ /* @__PURE__ */ React269.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, formatCurrencyAndStringify15(asset.totalUsdValue || 0))
43865
43939
  );
43866
43940
  };
43867
43941
  var HomeTokenBalanceDisplayRowSkeleton = () => {
43868
- return /* @__PURE__ */ React268.createElement(
43942
+ return /* @__PURE__ */ React269.createElement(
43869
43943
  Box,
43870
43944
  {
43871
43945
  display: "flex",
@@ -43875,8 +43949,8 @@ var HomeTokenBalanceDisplayRowSkeleton = () => {
43875
43949
  paddingX: PROFILE_SIDE_PADDING,
43876
43950
  paddingY: ROW_PADDING_Y2
43877
43951
  },
43878
- /* @__PURE__ */ React268.createElement(FunSkeletonCircle, { size: DEFAULT_ICON_SIZE }),
43879
- /* @__PURE__ */ React268.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React268.createElement(
43952
+ /* @__PURE__ */ React269.createElement(FunSkeletonCircle, { size: DEFAULT_ICON_SIZE }),
43953
+ /* @__PURE__ */ React269.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React269.createElement(
43880
43954
  FunSkeletonBlock,
43881
43955
  {
43882
43956
  height: TEXT_SIZE,
@@ -43884,7 +43958,7 @@ var HomeTokenBalanceDisplayRowSkeleton = () => {
43884
43958
  marginTop: TEXT_SKELETON_MARGIN_TOP3,
43885
43959
  width: TEXT_SKELETON_WIDTH_SHORT3
43886
43960
  }
43887
- ), /* @__PURE__ */ React268.createElement(
43961
+ ), /* @__PURE__ */ React269.createElement(
43888
43962
  FunSkeletonBlock,
43889
43963
  {
43890
43964
  height: TEXT_SIZE,
@@ -43893,7 +43967,7 @@ var HomeTokenBalanceDisplayRowSkeleton = () => {
43893
43967
  width: TEXT_SKELETON_WIDTH_LONG3
43894
43968
  }
43895
43969
  )),
43896
- /* @__PURE__ */ React268.createElement(
43970
+ /* @__PURE__ */ React269.createElement(
43897
43971
  FunSkeletonBlock,
43898
43972
  {
43899
43973
  height: TEXT_SIZE,
@@ -43906,11 +43980,11 @@ var HomeTokenBalanceDisplayRowSkeleton = () => {
43906
43980
  };
43907
43981
 
43908
43982
  // src/modals/ProfileDetails/FunProfileViews/Home/ProfileTitleSection.tsx
43909
- import React272 from "react";
43983
+ import React273 from "react";
43910
43984
  import { useCallback as useCallback50, useState as useState77 } from "react";
43911
43985
 
43912
43986
  // src/components/FunSelect/FunClickOutside.tsx
43913
- import React269 from "react";
43987
+ import React270 from "react";
43914
43988
  import { useEffect as useEffect70, useRef as useRef36 } from "react";
43915
43989
  function FunClickOutside({
43916
43990
  children,
@@ -43931,13 +44005,13 @@ function FunClickOutside({
43931
44005
  document.removeEventListener("mousedown", handleClickListener);
43932
44006
  };
43933
44007
  }, [onClick]);
43934
- return /* @__PURE__ */ React269.createElement("div", { ref: wrapperRef }, children);
44008
+ return /* @__PURE__ */ React270.createElement("div", { ref: wrapperRef }, children);
43935
44009
  }
43936
44010
 
43937
44011
  // src/components/Icons/LogoutIcon.tsx
43938
- import React270 from "react";
44012
+ import React271 from "react";
43939
44013
  var LogoutIcon = ({ size = 16 }) => {
43940
- return /* @__PURE__ */ React270.createElement(
44014
+ return /* @__PURE__ */ React271.createElement(
43941
44015
  "svg",
43942
44016
  {
43943
44017
  width: size,
@@ -43946,7 +44020,7 @@ var LogoutIcon = ({ size = 16 }) => {
43946
44020
  fill: "none",
43947
44021
  xmlns: "http://www.w3.org/2000/svg"
43948
44022
  },
43949
- /* @__PURE__ */ React270.createElement(
44023
+ /* @__PURE__ */ React271.createElement(
43950
44024
  "path",
43951
44025
  {
43952
44026
  d: "M9.33463 13.3337H4.0013C3.26492 13.3337 2.66797 12.7367 2.66797 12.0003V4.00033C2.66797 3.26395 3.26492 2.66699 4.0013 2.66699H9.33463M6.66797 8.00033H14.0013M14.0013 8.00033L12.0013 10.0003M14.0013 8.00033L12.0013 6.00033",
@@ -43961,9 +44035,9 @@ var LogoutIcon = ({ size = 16 }) => {
43961
44035
  };
43962
44036
 
43963
44037
  // src/components/Icons/SettingsIcon.tsx
43964
- import React271 from "react";
44038
+ import React272 from "react";
43965
44039
  var SettingsIcon = ({ size = 16 }) => {
43966
- return /* @__PURE__ */ React271.createElement(
44040
+ return /* @__PURE__ */ React272.createElement(
43967
44041
  "svg",
43968
44042
  {
43969
44043
  width: size,
@@ -43972,14 +44046,14 @@ var SettingsIcon = ({ size = 16 }) => {
43972
44046
  fill: "none",
43973
44047
  xmlns: "http://www.w3.org/2000/svg"
43974
44048
  },
43975
- /* @__PURE__ */ React271.createElement(
44049
+ /* @__PURE__ */ React272.createElement(
43976
44050
  "path",
43977
44051
  {
43978
44052
  d: "M8.75 10.167C9.85457 10.167 10.75 9.27156 10.75 8.16699C10.75 7.06242 9.85457 6.16699 8.75 6.16699C7.64543 6.16699 6.75 7.06242 6.75 8.16699C6.75 9.27156 7.64543 10.167 8.75 10.167Z",
43979
44053
  stroke: "currentColor"
43980
44054
  }
43981
44055
  ),
43982
- /* @__PURE__ */ React271.createElement(
44056
+ /* @__PURE__ */ React272.createElement(
43983
44057
  "path",
43984
44058
  {
43985
44059
  d: "M9.92726 1.60149C9.68219 1.5 9.37159 1.5 8.75032 1.5C8.12906 1.5 7.81846 1.5 7.57339 1.60149C7.2467 1.73682 6.98714 1.99639 6.85181 2.32309C6.79004 2.47223 6.76586 2.64567 6.7564 2.89866C6.7425 3.27045 6.55183 3.61459 6.22962 3.80062C5.90742 3.98664 5.51405 3.97969 5.18512 3.80584C4.96129 3.68753 4.799 3.62175 4.63895 3.60068C4.28835 3.55452 3.93378 3.64953 3.65323 3.8648C3.44282 4.02625 3.2875 4.29527 2.97688 4.83329C2.66625 5.37131 2.51094 5.64032 2.47632 5.90327C2.43016 6.25387 2.52517 6.60844 2.74044 6.889C2.8387 7.01707 2.97679 7.12467 3.19112 7.25933C3.50619 7.45733 3.70892 7.7946 3.7089 8.16667C3.70888 8.53873 3.50616 8.87593 3.19111 9.07387C2.97676 9.2086 2.83864 9.31627 2.74038 9.44433C2.5251 9.72487 2.4301 10.0794 2.47626 10.43C2.51087 10.6929 2.66618 10.962 2.97681 11.5C3.28744 12.038 3.44276 12.3071 3.65316 12.4685C3.93371 12.6837 4.28828 12.7787 4.63888 12.7326C4.79892 12.7115 4.9612 12.6457 5.18502 12.5275C5.51397 12.3536 5.90736 12.3467 6.22959 12.5327C6.55182 12.7187 6.7425 13.0629 6.7564 13.4347C6.76586 13.6877 6.79004 13.8611 6.85181 14.0103C6.98714 14.3369 7.2467 14.5965 7.57339 14.7319C7.81846 14.8333 8.12906 14.8333 8.75032 14.8333C9.37159 14.8333 9.68219 14.8333 9.92726 14.7319C10.2539 14.5965 10.5135 14.3369 10.6488 14.0103C10.7106 13.8611 10.7348 13.6877 10.7443 13.4347C10.7581 13.0629 10.9488 12.7187 11.271 12.5327C11.5932 12.3466 11.9866 12.3536 12.3156 12.5275C12.5394 12.6457 12.7017 12.7115 12.8617 12.7325C13.2123 12.7787 13.5669 12.6837 13.8474 12.4685C14.0578 12.307 14.2131 12.038 14.5237 11.4999C14.8344 10.9619 14.9897 10.6929 15.0243 10.43C15.0705 10.0794 14.9755 9.7248 14.7602 9.44427C14.6619 9.3162 14.5238 9.20853 14.3095 9.07387C13.9945 8.87593 13.7917 8.53867 13.7917 8.1666C13.7917 7.79453 13.9945 7.4574 14.3095 7.25947C14.5239 7.12473 14.662 7.01713 14.7603 6.889C14.9755 6.60849 15.0705 6.25391 15.0244 5.90331C14.9898 5.64037 14.8345 5.37135 14.5238 4.83333C14.2132 4.29531 14.0579 4.0263 13.8475 3.86485C13.5669 3.64957 13.2123 3.55457 12.8617 3.60073C12.7017 3.62179 12.5395 3.68757 12.3156 3.80587C11.9867 3.97973 11.5933 3.98668 11.2711 3.80064C10.9488 3.61461 10.7581 3.27044 10.7443 2.89863C10.7348 2.64565 10.7106 2.47222 10.6488 2.32309C10.5135 1.99639 10.2539 1.73682 9.92726 1.60149Z",
@@ -44004,7 +44078,7 @@ var ProfileTitleSection = ({
44004
44078
  () => setIsDisconnectExpanded(false),
44005
44079
  []
44006
44080
  );
44007
- return /* @__PURE__ */ React272.createElement(
44081
+ return /* @__PURE__ */ React273.createElement(
44008
44082
  Box,
44009
44083
  {
44010
44084
  display: "flex",
@@ -44013,7 +44087,7 @@ var ProfileTitleSection = ({
44013
44087
  width: "full",
44014
44088
  minHeight: "28"
44015
44089
  },
44016
- /* @__PURE__ */ React272.createElement(
44090
+ /* @__PURE__ */ React273.createElement(
44017
44091
  Box,
44018
44092
  {
44019
44093
  display: "flex",
@@ -44022,7 +44096,7 @@ var ProfileTitleSection = ({
44022
44096
  gap: "8",
44023
44097
  className: animateOut ? animateTitleOutClass : animateTitleInClass
44024
44098
  },
44025
- account.address && /* @__PURE__ */ React272.createElement(
44099
+ account.address && /* @__PURE__ */ React273.createElement(
44026
44100
  Avatar,
44027
44101
  {
44028
44102
  address: account.address,
@@ -44031,21 +44105,21 @@ var ProfileTitleSection = ({
44031
44105
  size: 20
44032
44106
  }
44033
44107
  ),
44034
- /* @__PURE__ */ React272.createElement(Text, { color: "primaryText", size: "13", weight: "medium" }, userInfo.nameTruncated)
44108
+ /* @__PURE__ */ React273.createElement(Text, { color: "primaryText", size: "13", weight: "medium" }, userInfo.nameTruncated)
44035
44109
  ),
44036
- /* @__PURE__ */ React272.createElement(Box, { display: "flex", alignItems: "center", flexDirection: "row" }, !isDisconnectExpanded && /* @__PURE__ */ React272.createElement(
44110
+ /* @__PURE__ */ React273.createElement(Box, { display: "flex", alignItems: "center", flexDirection: "row" }, !isDisconnectExpanded && /* @__PURE__ */ React273.createElement(
44037
44111
  FunIconButton,
44038
44112
  {
44039
- icon: /* @__PURE__ */ React272.createElement(SettingsIcon, { size: 17 }),
44113
+ icon: /* @__PURE__ */ React273.createElement(SettingsIcon, { size: 17 }),
44040
44114
  onClick: () => onChangeView(1 /* SETTINGS */),
44041
44115
  paddingX: "4",
44042
44116
  paddingY: "4"
44043
44117
  }
44044
- ), /* @__PURE__ */ React272.createElement(FunClickOutside, { onClick: collapseDisconnect }, /* @__PURE__ */ React272.createElement(
44118
+ ), /* @__PURE__ */ React273.createElement(FunClickOutside, { onClick: collapseDisconnect }, /* @__PURE__ */ React273.createElement(
44045
44119
  FunIconButton,
44046
44120
  {
44047
44121
  size: "28",
44048
- icon: /* @__PURE__ */ React272.createElement(LogoutIcon, { size: 15 }),
44122
+ icon: /* @__PURE__ */ React273.createElement(LogoutIcon, { size: 15 }),
44049
44123
  paddingX: isDisconnectExpanded ? "6" : void 0,
44050
44124
  "aria-label": t("profile.disconnect"),
44051
44125
  onClick: isDisconnectExpanded ? onLogout : () => setIsDisconnectExpanded(true),
@@ -44053,12 +44127,12 @@ var ProfileTitleSection = ({
44053
44127
  onMouseLeave: collapseDisconnect,
44054
44128
  onBlur: collapseDisconnect
44055
44129
  },
44056
- isDisconnectExpanded && /* @__PURE__ */ React272.createElement(Text, { size: "10", color: "secondaryText", weight: "medium" }, t("profile.disconnect"))
44057
- )), !isDisconnectExpanded && /* @__PURE__ */ React272.createElement(
44130
+ isDisconnectExpanded && /* @__PURE__ */ React273.createElement(Text, { size: "10", color: "secondaryText", weight: "medium" }, t("profile.disconnect"))
44131
+ )), !isDisconnectExpanded && /* @__PURE__ */ React273.createElement(
44058
44132
  FunIconButton,
44059
44133
  {
44060
44134
  size: "28",
44061
- icon: /* @__PURE__ */ React272.createElement(CloseIcon, { size: 12 }),
44135
+ icon: /* @__PURE__ */ React273.createElement(CloseIcon, { size: 12 }),
44062
44136
  onClick: onClose
44063
44137
  }
44064
44138
  ))
@@ -44074,10 +44148,10 @@ var SelectedHomeTab = /* @__PURE__ */ ((SelectedHomeTab2) => {
44074
44148
  var EmptyTabAlert = () => {
44075
44149
  const { t } = useFunkitTranslation();
44076
44150
  const { appName } = useFunkitConfig();
44077
- return /* @__PURE__ */ React273.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React273.createElement(
44151
+ return /* @__PURE__ */ React274.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React274.createElement(
44078
44152
  FunAlert,
44079
44153
  {
44080
- icon: /* @__PURE__ */ React273.createElement(GreenRoundCheckmark, null),
44154
+ icon: /* @__PURE__ */ React274.createElement(GreenRoundCheckmark, null),
44081
44155
  description: t("profile.executeFirstCheckout", { appName })
44082
44156
  }
44083
44157
  ));
@@ -44106,7 +44180,7 @@ function Home({
44106
44180
  }, []);
44107
44181
  const AssetsList = useMemo62(() => {
44108
44182
  if (walletAssets && !Object.keys(walletAssets).length) {
44109
- return /* @__PURE__ */ React273.createElement(EmptyTabAlert, null);
44183
+ return /* @__PURE__ */ React274.createElement(EmptyTabAlert, null);
44110
44184
  }
44111
44185
  const assets = walletAssets ? Object.values(walletAssets).sort(
44112
44186
  (a, b) => (b.totalUsdValue ?? 0) - (a.totalUsdValue ?? 0)
@@ -44114,7 +44188,7 @@ function Home({
44114
44188
  const itemHeight = HOME_TOKEN_BALANCE_DISPLAY_ROW_HEIGHT;
44115
44189
  const itemMargin = 8;
44116
44190
  const height = assets.length * (itemHeight + itemMargin) - itemMargin;
44117
- return /* @__PURE__ */ React273.createElement(Box, { ref: virtuosoParentRef }, /* @__PURE__ */ React273.createElement(
44191
+ return /* @__PURE__ */ React274.createElement(Box, { ref: virtuosoParentRef }, /* @__PURE__ */ React274.createElement(
44118
44192
  Virtuoso,
44119
44193
  {
44120
44194
  className: clsx23(hideScrollBar, scrollContent),
@@ -44126,14 +44200,14 @@ function Home({
44126
44200
  itemContent: (index, asset) => (
44127
44201
  // gaps/margins between items must be part of the measured content
44128
44202
  // thus we wrap items in padded divs (margin is not measured)
44129
- /* @__PURE__ */ React273.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, asset ? /* @__PURE__ */ React273.createElement(HomeTokenBalanceDisplayRow, { asset }) : /* @__PURE__ */ React273.createElement(HomeTokenBalanceDisplayRowSkeleton, null))
44203
+ /* @__PURE__ */ React274.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, asset ? /* @__PURE__ */ React274.createElement(HomeTokenBalanceDisplayRow, { asset }) : /* @__PURE__ */ React274.createElement(HomeTokenBalanceDisplayRowSkeleton, null))
44130
44204
  )
44131
44205
  }
44132
44206
  ));
44133
44207
  }, [walletAssets]);
44134
44208
  const CheckoutsList = useMemo62(() => {
44135
44209
  if (checkoutHistoryList.length === 0 && isCheckoutHistoryInited) {
44136
- return /* @__PURE__ */ React273.createElement(EmptyTabAlert, null);
44210
+ return /* @__PURE__ */ React274.createElement(EmptyTabAlert, null);
44137
44211
  }
44138
44212
  const processingCheckouts = checkoutHistoryList.filter(
44139
44213
  (checkoutHistoryItem) => IN_PROGRESS_CHECKOUT_STATES2.includes(checkoutHistoryItem.state)
@@ -44195,7 +44269,7 @@ function Home({
44195
44269
  const groupHeight = 15;
44196
44270
  const groupMargin = 24;
44197
44271
  const height = groups.length * (groupHeight + groupMargin) + (items.length - groups.length) * (itemHeight + itemMargin) - groupMargin;
44198
- return /* @__PURE__ */ React273.createElement(Box, { ref: virtuosoParentRef }, /* @__PURE__ */ React273.createElement(
44272
+ return /* @__PURE__ */ React274.createElement(Box, { ref: virtuosoParentRef }, /* @__PURE__ */ React274.createElement(
44199
44273
  Virtuoso,
44200
44274
  {
44201
44275
  className: clsx23(hideScrollBar, scrollContent),
@@ -44209,13 +44283,13 @@ function Home({
44209
44283
  itemContent: (index, data) => (
44210
44284
  // gaps/margins between items must be part of the measured content
44211
44285
  // thus we wrap items in padded divs (margin is not measured)
44212
- "group" in data ? /* @__PURE__ */ React273.createElement("div", { style: { paddingTop: index === 0 ? 0 : groupMargin } }, /* @__PURE__ */ React273.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React273.createElement(Text, { size: "10", color: "secondaryText" }, data.group))) : /* @__PURE__ */ React273.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, data.checkout ? /* @__PURE__ */ React273.createElement(
44286
+ "group" in data ? /* @__PURE__ */ React274.createElement("div", { style: { paddingTop: index === 0 ? 0 : groupMargin } }, /* @__PURE__ */ React274.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React274.createElement(Text, { size: "10", color: "secondaryText" }, data.group))) : /* @__PURE__ */ React274.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, data.checkout ? /* @__PURE__ */ React274.createElement(
44213
44287
  HomeCheckoutDisplayRow,
44214
44288
  {
44215
44289
  checkoutHistoryItem: data.checkout,
44216
44290
  onSelect: handleCheckoutSelect
44217
44291
  }
44218
- ) : /* @__PURE__ */ React273.createElement(HomeCheckoutDisplayRowSkeleton, null))
44292
+ ) : /* @__PURE__ */ React274.createElement(HomeCheckoutDisplayRowSkeleton, null))
44219
44293
  )
44220
44294
  }
44221
44295
  ));
@@ -44230,7 +44304,7 @@ function Home({
44230
44304
  { tab: "assets" /* ASSETS */, label: t("profile.tokensTab") },
44231
44305
  { tab: "checkouts" /* CHECKOUTS */, label: t("profile.checkoutsTab") }
44232
44306
  ];
44233
- return /* @__PURE__ */ React273.createElement(Box, { paddingTop: "14" }, /* @__PURE__ */ React273.createElement(
44307
+ return /* @__PURE__ */ React274.createElement(Box, { paddingTop: "14" }, /* @__PURE__ */ React274.createElement(
44234
44308
  ProfileTitleSection,
44235
44309
  {
44236
44310
  animateOut: animation.isOut,
@@ -44240,7 +44314,7 @@ function Home({
44240
44314
  onLogout: handleLogout,
44241
44315
  onClose
44242
44316
  }
44243
- ), /* @__PURE__ */ React273.createElement(
44317
+ ), /* @__PURE__ */ React274.createElement(
44244
44318
  Box,
44245
44319
  {
44246
44320
  display: "flex",
@@ -44250,8 +44324,8 @@ function Home({
44250
44324
  gap: "24",
44251
44325
  className: getContentAnimation(animation, true)
44252
44326
  },
44253
- /* @__PURE__ */ React273.createElement(BalanceSection, { totalBalance: totalWalletAssetsUsd }),
44254
- /* @__PURE__ */ React273.createElement(
44327
+ /* @__PURE__ */ React274.createElement(BalanceSection, { totalBalance: totalWalletAssetsUsd }),
44328
+ /* @__PURE__ */ React274.createElement(
44255
44329
  Box,
44256
44330
  {
44257
44331
  display: "flex",
@@ -44262,7 +44336,7 @@ function Home({
44262
44336
  marginLeft: `-${Number.parseInt(PROFILE_SIDE_PADDING)}px`
44263
44337
  }
44264
44338
  },
44265
- /* @__PURE__ */ React273.createElement(
44339
+ /* @__PURE__ */ React274.createElement(
44266
44340
  Box,
44267
44341
  {
44268
44342
  display: "flex",
@@ -44270,7 +44344,7 @@ function Home({
44270
44344
  gap: "24",
44271
44345
  paddingX: PROFILE_SIDE_PADDING
44272
44346
  },
44273
- tabs2.map(({ tab, label }) => /* @__PURE__ */ React273.createElement(
44347
+ tabs2.map(({ tab, label }) => /* @__PURE__ */ React274.createElement(
44274
44348
  Box,
44275
44349
  {
44276
44350
  key: label,
@@ -44279,7 +44353,7 @@ function Home({
44279
44353
  tabIndex: 0,
44280
44354
  className: tabLabelStyles
44281
44355
  },
44282
- /* @__PURE__ */ React273.createElement(
44356
+ /* @__PURE__ */ React274.createElement(
44283
44357
  Text,
44284
44358
  {
44285
44359
  weight: "bold",
@@ -44290,21 +44364,21 @@ function Home({
44290
44364
  )
44291
44365
  ))
44292
44366
  ),
44293
- /* @__PURE__ */ React273.createElement(Box, { className: getContentAnimation(tabAnimation, false) }, selectedView === "assets" /* ASSETS */ && AssetsList, selectedView === "checkouts" /* CHECKOUTS */ && CheckoutsList)
44367
+ /* @__PURE__ */ React274.createElement(Box, { className: getContentAnimation(tabAnimation, false) }, selectedView === "assets" /* ASSETS */ && AssetsList, selectedView === "checkouts" /* CHECKOUTS */ && CheckoutsList)
44294
44368
  )
44295
44369
  ));
44296
44370
  }
44297
44371
 
44298
44372
  // src/modals/ProfileDetails/FunProfileViews/Settings/Settings.tsx
44299
44373
  import { formatAddress as formatAddress7 } from "@funkit/utils";
44300
- import React276 from "react";
44374
+ import React277 from "react";
44301
44375
 
44302
44376
  // src/components/CopyAddress/OldCopyAddressButton.tsx
44303
- import React275 from "react";
44377
+ import React276 from "react";
44304
44378
 
44305
44379
  // src/components/Icons/CopyDoublePaperSheetIcon.tsx
44306
- import React274 from "react";
44307
- var CopyDoublePaperSheetIcon = () => /* @__PURE__ */ React274.createElement(
44380
+ import React275 from "react";
44381
+ var CopyDoublePaperSheetIcon = () => /* @__PURE__ */ React275.createElement(
44308
44382
  "svg",
44309
44383
  {
44310
44384
  width: "14",
@@ -44313,7 +44387,7 @@ var CopyDoublePaperSheetIcon = () => /* @__PURE__ */ React274.createElement(
44313
44387
  fill: "none",
44314
44388
  xmlns: "http://www.w3.org/2000/svg"
44315
44389
  },
44316
- /* @__PURE__ */ React274.createElement(
44390
+ /* @__PURE__ */ React275.createElement(
44317
44391
  "path",
44318
44392
  {
44319
44393
  d: "M3.76074 3.97363V2.4248C3.76074 1.73926 3.93424 1.22087 4.28125 0.869629C4.62826 0.51416 5.14242 0.336426 5.82373 0.336426H8.21045C8.57861 0.336426 8.90658 0.389323 9.19434 0.495117C9.48633 0.59668 9.75081 0.770182 9.98779 1.01562L13.1489 4.23389C13.3986 4.49202 13.5742 4.76709 13.6758 5.05908C13.7773 5.34684 13.8281 5.7002 13.8281 6.11914V11.1465C13.8281 11.832 13.6525 12.3504 13.3013 12.7017C12.9543 13.0529 12.4422 13.2285 11.7651 13.2285H10.4639V11.9844H11.6509C11.9598 11.9844 12.1904 11.9061 12.3428 11.7495C12.4993 11.5887 12.5776 11.3623 12.5776 11.0703V5.81445H9.78467C9.39111 5.81445 9.09277 5.71501 8.88965 5.51611C8.68652 5.31299 8.58496 5.01465 8.58496 4.62109V1.58691H5.92529C5.62061 1.58691 5.38997 1.6652 5.2334 1.82178C5.08105 1.97835 5.00488 2.20475 5.00488 2.50098V3.97363H3.76074ZM9.62598 4.4624C9.62598 4.57243 9.64925 4.65283 9.6958 4.70361C9.74658 4.75016 9.82487 4.77344 9.93066 4.77344H12.2539L9.62598 2.10742V4.4624ZM0.618652 14.4028V5.68115C0.618652 4.99561 0.792155 4.47721 1.13916 4.12598C1.48617 3.77051 2.00033 3.59277 2.68164 3.59277H4.89062C5.27572 3.59277 5.5931 3.63509 5.84277 3.71973C6.09668 3.80013 6.35059 3.97152 6.60449 4.23389L10.0449 7.7251C10.2227 7.90706 10.3581 8.08057 10.4512 8.24561C10.5443 8.41064 10.6056 8.59473 10.6353 8.79785C10.6691 8.99674 10.686 9.23796 10.686 9.52148V14.4028C10.686 15.0884 10.5125 15.6068 10.1655 15.958C9.81852 16.3092 9.30436 16.4849 8.62305 16.4849H2.68164C2.00033 16.4849 1.48617 16.3092 1.13916 15.958C0.792155 15.611 0.618652 15.0926 0.618652 14.4028ZM1.86914 14.3267C1.86914 14.6229 1.94531 14.8493 2.09766 15.0059C2.25 15.1624 2.47852 15.2407 2.7832 15.2407H8.51514C8.81982 15.2407 9.04834 15.1624 9.20068 15.0059C9.35726 14.8493 9.43555 14.6229 9.43555 14.3267V9.66748H6.08398C5.63542 9.66748 5.29899 9.55745 5.07471 9.3374C4.85042 9.11312 4.73828 8.77246 4.73828 8.31543V4.84326H2.78955C2.48063 4.84326 2.25 4.92155 2.09766 5.07812C1.94531 5.2347 1.86914 5.45898 1.86914 5.75098V14.3267ZM6.21094 8.56934H9.26416L5.83643 5.08447V8.19482C5.83643 8.32601 5.86605 8.42122 5.92529 8.48047C5.98454 8.53971 6.07975 8.56934 6.21094 8.56934Z",
@@ -44325,11 +44399,11 @@ var CopyDoublePaperSheetIcon = () => /* @__PURE__ */ React274.createElement(
44325
44399
  // src/components/CopyAddress/OldCopyAddressButton.tsx
44326
44400
  function OldCopyAddressButton({ address }) {
44327
44401
  const { isCopied, handleCopy } = useCopyToClipboard(address);
44328
- return /* @__PURE__ */ React275.createElement(
44402
+ return /* @__PURE__ */ React276.createElement(
44329
44403
  FunIconButton,
44330
44404
  {
44331
44405
  size: "36",
44332
- icon: /* @__PURE__ */ React275.createElement(Box, { display: "flex", alignItems: "center", color: "primaryText" }, isCopied ? /* @__PURE__ */ React275.createElement(CheckIcon, null) : /* @__PURE__ */ React275.createElement(CopyDoublePaperSheetIcon, null)),
44406
+ icon: /* @__PURE__ */ React276.createElement(Box, { display: "flex", alignItems: "center", color: "primaryText" }, isCopied ? /* @__PURE__ */ React276.createElement(CheckIcon, null) : /* @__PURE__ */ React276.createElement(CopyDoublePaperSheetIcon, null)),
44333
44407
  onClick: handleCopy
44334
44408
  }
44335
44409
  );
@@ -44341,7 +44415,7 @@ function LineItem({
44341
44415
  value,
44342
44416
  valueSuffix = null
44343
44417
  }) {
44344
- return /* @__PURE__ */ React276.createElement(
44418
+ return /* @__PURE__ */ React277.createElement(
44345
44419
  Box,
44346
44420
  {
44347
44421
  display: "flex",
@@ -44350,26 +44424,26 @@ function LineItem({
44350
44424
  alignItems: "center",
44351
44425
  justifyContent: "space-between"
44352
44426
  },
44353
- /* @__PURE__ */ React276.createElement(Text, { color: "tertiaryText", size: "13", weight: "medium" }, label),
44354
- /* @__PURE__ */ React276.createElement(Box, { display: "flex", flexDirection: "row", gap: "1" }, /* @__PURE__ */ React276.createElement(Box, { display: "flex", alignItems: "center" }, /* @__PURE__ */ React276.createElement(Text, { color: "primaryText", size: "13", weight: "medium" }, value)), valueSuffix ? /* @__PURE__ */ React276.createElement(Box, { display: "flex", alignItems: "center" }, valueSuffix) : null)
44427
+ /* @__PURE__ */ React277.createElement(Text, { color: "tertiaryText", size: "13", weight: "medium" }, label),
44428
+ /* @__PURE__ */ React277.createElement(Box, { display: "flex", flexDirection: "row", gap: "1" }, /* @__PURE__ */ React277.createElement(Box, { display: "flex", alignItems: "center" }, /* @__PURE__ */ React277.createElement(Text, { color: "primaryText", size: "13", weight: "medium" }, value)), valueSuffix ? /* @__PURE__ */ React277.createElement(Box, { display: "flex", alignItems: "center" }, valueSuffix) : null)
44355
44429
  );
44356
44430
  }
44357
44431
  function Settings() {
44358
44432
  const { t } = useFunkitTranslation();
44359
44433
  const { walletAddress, loginType, userInfo } = useGeneralWallet();
44360
44434
  const isWeb3Login = loginType === "web3" /* Web3 */;
44361
- return /* @__PURE__ */ React276.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, /* @__PURE__ */ React276.createElement(
44435
+ return /* @__PURE__ */ React277.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, /* @__PURE__ */ React277.createElement(
44362
44436
  LineItem,
44363
44437
  {
44364
44438
  label: isWeb3Login ? "Wallet" : userInfo.typeLabel,
44365
44439
  value: isWeb3Login ? userInfo.typeLabel : userInfo.name
44366
44440
  }
44367
- ), /* @__PURE__ */ React276.createElement(
44441
+ ), /* @__PURE__ */ React277.createElement(
44368
44442
  LineItem,
44369
44443
  {
44370
44444
  label: t("profile.address"),
44371
44445
  value: formatAddress7(walletAddress),
44372
- valueSuffix: /* @__PURE__ */ React276.createElement(OldCopyAddressButton, { address: walletAddress })
44446
+ valueSuffix: /* @__PURE__ */ React277.createElement(OldCopyAddressButton, { address: walletAddress })
44373
44447
  }
44374
44448
  ));
44375
44449
  }
@@ -44449,11 +44523,11 @@ function ProfileDetails({ onClose, defaultTab }) {
44449
44523
  isActiveCheckout: false,
44450
44524
  isCheckoutDetailView,
44451
44525
  paddingTop: PADDING_TOP,
44452
- topbar: dialogTitleMap[view] && /* @__PURE__ */ React277.createElement(Dialog.Title, { onClose, ...dialogTitleMap[view] }),
44526
+ topbar: dialogTitleMap[view] && /* @__PURE__ */ React278.createElement(Dialog.Title, { onClose, ...dialogTitleMap[view] }),
44453
44527
  withTopDivider: withDivider,
44454
44528
  scrollableContent: PROFILE_DETAILS_DIALOG_CONTENT_ID
44455
44529
  });
44456
- return /* @__PURE__ */ React277.createElement(FunCheckoutModalHeightAnimationWrapper, null, topbar, /* @__PURE__ */ React277.createElement(
44530
+ return /* @__PURE__ */ React278.createElement(FunCheckoutModalHeightAnimationWrapper, null, topbar, /* @__PURE__ */ React278.createElement(
44457
44531
  Dialog.Content,
44458
44532
  {
44459
44533
  display: "flex",
@@ -44470,7 +44544,7 @@ function ProfileDetails({ onClose, defaultTab }) {
44470
44544
  withTopDivider,
44471
44545
  id: PROFILE_DETAILS_DIALOG_CONTENT_ID
44472
44546
  },
44473
- view === 0 /* HOME */ ? /* @__PURE__ */ React277.createElement(
44547
+ view === 0 /* HOME */ ? /* @__PURE__ */ React278.createElement(
44474
44548
  Home,
44475
44549
  {
44476
44550
  animation,
@@ -44479,7 +44553,7 @@ function ProfileDetails({ onClose, defaultTab }) {
44479
44553
  onSelectActivity: onSelectActivityWrapper,
44480
44554
  defaultHomeTab: selectedHomeTab
44481
44555
  }
44482
- ) : view === 1 /* SETTINGS */ ? /* @__PURE__ */ React277.createElement(Settings, null) : view === 3 /* SINGLE_ACTIVITY */ ? /* @__PURE__ */ React277.createElement(
44556
+ ) : view === 1 /* SETTINGS */ ? /* @__PURE__ */ React278.createElement(Settings, null) : view === 3 /* SINGLE_ACTIVITY */ ? /* @__PURE__ */ React278.createElement(
44483
44557
  FunCheckoutHistoryContent,
44484
44558
  {
44485
44559
  depositAddress: selectedPurchaseId || "0x",
@@ -44491,7 +44565,7 @@ function ProfileDetails({ onClose, defaultTab }) {
44491
44565
  bottomBarId: HISTORY_BOTTOM_BAR_ID
44492
44566
  }
44493
44567
  ) : null
44494
- ), /* @__PURE__ */ React277.createElement(Dialog.BottomSection, { id: HISTORY_BOTTOM_BAR_ID }));
44568
+ ), /* @__PURE__ */ React278.createElement(Dialog.BottomSection, { id: HISTORY_BOTTOM_BAR_ID }));
44495
44569
  }
44496
44570
 
44497
44571
  // src/modals/AccountModal/AccountModal.tsx
@@ -44501,7 +44575,7 @@ function AccountModal({ onClose, open, defaultTab }) {
44501
44575
  if (!walletAddress) {
44502
44576
  return null;
44503
44577
  }
44504
- return /* @__PURE__ */ React278.createElement(
44578
+ return /* @__PURE__ */ React279.createElement(
44505
44579
  Dialog,
44506
44580
  {
44507
44581
  onClose,
@@ -44509,17 +44583,17 @@ function AccountModal({ onClose, open, defaultTab }) {
44509
44583
  titleId: TITLE_ID,
44510
44584
  isSmartCloseable: true
44511
44585
  },
44512
- /* @__PURE__ */ React278.createElement(ActivityTraversalProvider, null, /* @__PURE__ */ React278.createElement(ProfileDetails, { onClose, defaultTab }))
44586
+ /* @__PURE__ */ React279.createElement(ActivityTraversalProvider, null, /* @__PURE__ */ React279.createElement(ProfileDetails, { onClose, defaultTab }))
44513
44587
  );
44514
44588
  }
44515
44589
 
44516
44590
  // src/modals/ChainModal/ChainModal.tsx
44517
44591
  import { isMobile as isMobile12 } from "@funkit/utils";
44518
- import React283 from "react";
44592
+ import React284 from "react";
44519
44593
 
44520
44594
  // src/components/Icons/DisconnectSqIcon.tsx
44521
- import React279 from "react";
44522
- var DisconnectSqIcon = ({ size }) => /* @__PURE__ */ React279.createElement(
44595
+ import React280 from "react";
44596
+ var DisconnectSqIcon = ({ size }) => /* @__PURE__ */ React280.createElement(
44523
44597
  "svg",
44524
44598
  {
44525
44599
  fill: "none",
@@ -44528,7 +44602,7 @@ var DisconnectSqIcon = ({ size }) => /* @__PURE__ */ React279.createElement(
44528
44602
  width: size,
44529
44603
  xmlns: "http://www.w3.org/2000/svg"
44530
44604
  },
44531
- /* @__PURE__ */ React279.createElement(
44605
+ /* @__PURE__ */ React280.createElement(
44532
44606
  "path",
44533
44607
  {
44534
44608
  d: "M6.742 22.195h8.367c1.774 0 2.743-.968 2.743-2.758V16.11h-2.016v3.11c0 .625-.305.96-.969.96H6.984c-.664 0-.968-.335-.968-.96V7.984c0-.632.304-.968.968-.968h7.883c.664 0 .969.336.969.968v3.133h2.016v-3.36c0-1.78-.97-2.757-2.743-2.757H6.742C4.97 5 4 5.977 4 7.758v11.68c0 1.789.969 2.757 2.742 2.757Zm5.438-7.703h7.601l1.149-.07-.602.406-1.008.938a.816.816 0 0 0-.258.593c0 .407.313.782.758.782.227 0 .39-.086.547-.243l2.492-2.593c.235-.235.313-.47.313-.711 0-.242-.078-.477-.313-.719l-2.492-2.586c-.156-.156-.32-.25-.547-.25-.445 0-.758.367-.758.781 0 .227.094.446.258.594l1.008.945.602.407-1.149-.079H12.18a.904.904 0 0 0 0 1.805Z",
@@ -44539,13 +44613,13 @@ var DisconnectSqIcon = ({ size }) => /* @__PURE__ */ React279.createElement(
44539
44613
 
44540
44614
  // src/components/MenuButton/MenuButton.tsx
44541
44615
  import { isMobile as isMobile10 } from "@funkit/utils";
44542
- import React280 from "react";
44616
+ import React281 from "react";
44543
44617
 
44544
44618
  // src/components/MenuButton/MenuButton.css.ts
44545
44619
  var unsetBackgroundOnHover = "_10pw5x60";
44546
44620
 
44547
44621
  // src/components/MenuButton/MenuButton.tsx
44548
- var MenuButton = React280.forwardRef(
44622
+ var MenuButton = React281.forwardRef(
44549
44623
  ({
44550
44624
  children,
44551
44625
  currentlySelected = false,
@@ -44554,7 +44628,7 @@ var MenuButton = React280.forwardRef(
44554
44628
  ...urlProps
44555
44629
  }, ref) => {
44556
44630
  const mobile = isMobile10();
44557
- return /* @__PURE__ */ React280.createElement(
44631
+ return /* @__PURE__ */ React281.createElement(
44558
44632
  Box,
44559
44633
  {
44560
44634
  as: "button",
@@ -44566,7 +44640,7 @@ var MenuButton = React280.forwardRef(
44566
44640
  testId,
44567
44641
  type: "button"
44568
44642
  },
44569
- /* @__PURE__ */ React280.createElement(
44643
+ /* @__PURE__ */ React281.createElement(
44570
44644
  Box,
44571
44645
  {
44572
44646
  borderRadius: "menuButton",
@@ -44600,12 +44674,12 @@ MenuButton.displayName = "MenuButton";
44600
44674
 
44601
44675
  // src/modals/ChainModal/Chain.tsx
44602
44676
  import { isMobile as isMobile11 } from "@funkit/utils";
44603
- import React282, { Fragment as Fragment3 } from "react";
44677
+ import React283, { Fragment as Fragment3 } from "react";
44604
44678
 
44605
44679
  // src/components/FunDot/FunDot.tsx
44606
- import React281 from "react";
44680
+ import React282 from "react";
44607
44681
  function FunDot() {
44608
- return /* @__PURE__ */ React281.createElement(
44682
+ return /* @__PURE__ */ React282.createElement(
44609
44683
  Box,
44610
44684
  {
44611
44685
  background: "connectionIndicator",
@@ -44633,7 +44707,7 @@ function ChainLineItem({
44633
44707
  if (!chainItem) {
44634
44708
  return null;
44635
44709
  }
44636
- return /* @__PURE__ */ React282.createElement(
44710
+ return /* @__PURE__ */ React283.createElement(
44637
44711
  Box,
44638
44712
  {
44639
44713
  alignItems: "center",
@@ -44642,7 +44716,7 @@ function ChainLineItem({
44642
44716
  gap,
44643
44717
  height: chainIconSize
44644
44718
  },
44645
- /* @__PURE__ */ React282.createElement(Box, { height: "full" }, /* @__PURE__ */ React282.createElement(
44719
+ /* @__PURE__ */ React283.createElement(Box, { height: "full" }, /* @__PURE__ */ React283.createElement(
44646
44720
  AsyncImage,
44647
44721
  {
44648
44722
  alt: chainItem.name,
@@ -44654,7 +44728,7 @@ function ChainLineItem({
44654
44728
  testId: `chain-option-${chainId2}-icon`
44655
44729
  }
44656
44730
  )),
44657
- !hideChainName ? /* @__PURE__ */ React282.createElement("div", null, chainItem.name) : null
44731
+ !hideChainName ? /* @__PURE__ */ React283.createElement("div", null, chainItem.name) : null
44658
44732
  );
44659
44733
  }
44660
44734
  var Chain = ({
@@ -44669,14 +44743,14 @@ var Chain = ({
44669
44743
  const mobile = isMobile11();
44670
44744
  const funkitConnectChains = useFunkitConnectChains();
44671
44745
  const isCurrentChain = currentChainId === chainId2 && !isLoading;
44672
- return /* @__PURE__ */ React282.createElement(Fragment3, null, /* @__PURE__ */ React282.createElement(
44746
+ return /* @__PURE__ */ React283.createElement(Fragment3, null, /* @__PURE__ */ React283.createElement(
44673
44747
  MenuButton,
44674
44748
  {
44675
44749
  currentlySelected: isCurrentChain,
44676
44750
  onClick: isCurrentChain ? void 0 : () => switchChain({ chainId: chainId2 }),
44677
44751
  testId: `chain-option-${chainId2}`
44678
44752
  },
44679
- /* @__PURE__ */ React282.createElement(Box, { fontFamily: "body", fontSize: "16", fontWeight: "bold" }, /* @__PURE__ */ React282.createElement(
44753
+ /* @__PURE__ */ React283.createElement(Box, { fontFamily: "body", fontSize: "16", fontWeight: "bold" }, /* @__PURE__ */ React283.createElement(
44680
44754
  Box,
44681
44755
  {
44682
44756
  alignItems: "center",
@@ -44684,8 +44758,8 @@ var Chain = ({
44684
44758
  flexDirection: "row",
44685
44759
  justifyContent: "space-between"
44686
44760
  },
44687
- /* @__PURE__ */ React282.createElement(ChainLineItem, { chainId: chainId2, chainIconSize }),
44688
- isCurrentChain && /* @__PURE__ */ React282.createElement(
44761
+ /* @__PURE__ */ React283.createElement(ChainLineItem, { chainId: chainId2, chainIconSize }),
44762
+ isCurrentChain && /* @__PURE__ */ React283.createElement(
44689
44763
  Box,
44690
44764
  {
44691
44765
  alignItems: "center",
@@ -44693,10 +44767,10 @@ var Chain = ({
44693
44767
  flexDirection: "row",
44694
44768
  marginRight: "6"
44695
44769
  },
44696
- /* @__PURE__ */ React282.createElement(Text, { color: "accentColorForeground", size: "14", weight: "medium" }, t("common.connected")),
44697
- /* @__PURE__ */ React282.createElement(FunDot, null)
44770
+ /* @__PURE__ */ React283.createElement(Text, { color: "accentColorForeground", size: "14", weight: "medium" }, t("common.connected")),
44771
+ /* @__PURE__ */ React283.createElement(FunDot, null)
44698
44772
  ),
44699
- isLoading && /* @__PURE__ */ React282.createElement(
44773
+ isLoading && /* @__PURE__ */ React283.createElement(
44700
44774
  Box,
44701
44775
  {
44702
44776
  alignItems: "center",
@@ -44704,8 +44778,8 @@ var Chain = ({
44704
44778
  flexDirection: "row",
44705
44779
  marginRight: "6"
44706
44780
  },
44707
- /* @__PURE__ */ React282.createElement(Text, { color: "primaryText", size: "14", weight: "medium" }, t("common.confirmInWallet")),
44708
- /* @__PURE__ */ React282.createElement(
44781
+ /* @__PURE__ */ React283.createElement(Text, { color: "primaryText", size: "14", weight: "medium" }, t("common.confirmInWallet")),
44782
+ /* @__PURE__ */ React283.createElement(
44709
44783
  Box,
44710
44784
  {
44711
44785
  background: "standby",
@@ -44717,7 +44791,7 @@ var Chain = ({
44717
44791
  )
44718
44792
  )
44719
44793
  ))
44720
- ), mobile && idx < funkitConnectChains.length - 1 && /* @__PURE__ */ React282.createElement(Box, { background: "generalBorderDim", height: "1", marginX: "8" }));
44794
+ ), mobile && idx < funkitConnectChains.length - 1 && /* @__PURE__ */ React283.createElement(Box, { background: "generalBorderDim", height: "1", marginX: "8" }));
44721
44795
  };
44722
44796
  var Chain_default = Chain;
44723
44797
 
@@ -44742,7 +44816,7 @@ function ChainModal({ onClose, open }) {
44742
44816
  if (!chainId2) {
44743
44817
  return null;
44744
44818
  }
44745
- return /* @__PURE__ */ React283.createElement(
44819
+ return /* @__PURE__ */ React284.createElement(
44746
44820
  Dialog,
44747
44821
  {
44748
44822
  onClose,
@@ -44750,15 +44824,15 @@ function ChainModal({ onClose, open }) {
44750
44824
  titleId,
44751
44825
  isSmartCloseable: true
44752
44826
  },
44753
- /* @__PURE__ */ React283.createElement(Dialog.Content, { paddingTop: "18" }, /* @__PURE__ */ React283.createElement(Box, { display: "flex", flexDirection: "column", gap: "14" }, /* @__PURE__ */ React283.createElement(
44827
+ /* @__PURE__ */ React284.createElement(Dialog.Content, { paddingTop: "18" }, /* @__PURE__ */ React284.createElement(Box, { display: "flex", flexDirection: "column", gap: "14" }, /* @__PURE__ */ React284.createElement(
44754
44828
  Box,
44755
44829
  {
44756
44830
  display: "flex",
44757
44831
  flexDirection: "row",
44758
44832
  justifyContent: "space-between"
44759
44833
  },
44760
- mobile && /* @__PURE__ */ React283.createElement(Box, { width: "30" }),
44761
- /* @__PURE__ */ React283.createElement(Box, { paddingBottom: "0", paddingLeft: "8", paddingTop: "4" }, /* @__PURE__ */ React283.createElement(
44834
+ mobile && /* @__PURE__ */ React284.createElement(Box, { width: "30" }),
44835
+ /* @__PURE__ */ React284.createElement(Box, { paddingBottom: "0", paddingLeft: "8", paddingTop: "4" }, /* @__PURE__ */ React284.createElement(
44762
44836
  Text,
44763
44837
  {
44764
44838
  as: "h1",
@@ -44769,8 +44843,8 @@ function ChainModal({ onClose, open }) {
44769
44843
  },
44770
44844
  t("chainModal.switchNetworks")
44771
44845
  )),
44772
- /* @__PURE__ */ React283.createElement(CloseButton, { onClose })
44773
- ), !isCurrentChainSupported && /* @__PURE__ */ React283.createElement(Box, { marginX: "8", textAlign: mobile ? "center" : "left" }, /* @__PURE__ */ React283.createElement(Text, { color: "tertiaryText", size: "14", weight: "medium" }, t("chainModal.wrongNetworkDetected"))), /* @__PURE__ */ React283.createElement(
44846
+ /* @__PURE__ */ React284.createElement(CloseButton, { onClose })
44847
+ ), !isCurrentChainSupported && /* @__PURE__ */ React284.createElement(Box, { marginX: "8", textAlign: mobile ? "center" : "left" }, /* @__PURE__ */ React284.createElement(Text, { color: "tertiaryText", size: "14", weight: "medium" }, t("chainModal.wrongNetworkDetected"))), /* @__PURE__ */ React284.createElement(
44774
44848
  Box,
44775
44849
  {
44776
44850
  className: mobile ? MobileScrollClassName : DesktopScrollClassName,
@@ -44781,7 +44855,7 @@ function ChainModal({ onClose, open }) {
44781
44855
  paddingBottom: "16"
44782
44856
  },
44783
44857
  funkitConnectChains.map(({ id }, idx) => {
44784
- return /* @__PURE__ */ React283.createElement(
44858
+ return /* @__PURE__ */ React284.createElement(
44785
44859
  Chain_default,
44786
44860
  {
44787
44861
  key: id,
@@ -44794,13 +44868,13 @@ function ChainModal({ onClose, open }) {
44794
44868
  }
44795
44869
  );
44796
44870
  }),
44797
- !isCurrentChainSupported && /* @__PURE__ */ React283.createElement(React283.Fragment, null, /* @__PURE__ */ React283.createElement(Box, { background: "generalBorderDim", height: "1", marginX: "8" }), /* @__PURE__ */ React283.createElement(
44871
+ !isCurrentChainSupported && /* @__PURE__ */ React284.createElement(React284.Fragment, null, /* @__PURE__ */ React284.createElement(Box, { background: "generalBorderDim", height: "1", marginX: "8" }), /* @__PURE__ */ React284.createElement(
44798
44872
  MenuButton,
44799
44873
  {
44800
44874
  onClick: () => handleLogout(),
44801
44875
  testId: "chain-option-disconnect"
44802
44876
  },
44803
- /* @__PURE__ */ React283.createElement(
44877
+ /* @__PURE__ */ React284.createElement(
44804
44878
  Box,
44805
44879
  {
44806
44880
  color: "error",
@@ -44808,7 +44882,7 @@ function ChainModal({ onClose, open }) {
44808
44882
  fontSize: "16",
44809
44883
  fontWeight: "bold"
44810
44884
  },
44811
- /* @__PURE__ */ React283.createElement(
44885
+ /* @__PURE__ */ React284.createElement(
44812
44886
  Box,
44813
44887
  {
44814
44888
  alignItems: "center",
@@ -44816,7 +44890,7 @@ function ChainModal({ onClose, open }) {
44816
44890
  flexDirection: "row",
44817
44891
  justifyContent: "space-between"
44818
44892
  },
44819
- /* @__PURE__ */ React283.createElement(
44893
+ /* @__PURE__ */ React284.createElement(
44820
44894
  Box,
44821
44895
  {
44822
44896
  alignItems: "center",
@@ -44825,7 +44899,7 @@ function ChainModal({ onClose, open }) {
44825
44899
  gap: "4",
44826
44900
  height: chainIconSize
44827
44901
  },
44828
- /* @__PURE__ */ React283.createElement(
44902
+ /* @__PURE__ */ React284.createElement(
44829
44903
  Box,
44830
44904
  {
44831
44905
  alignItems: "center",
@@ -44834,9 +44908,9 @@ function ChainModal({ onClose, open }) {
44834
44908
  justifyContent: "center",
44835
44909
  marginRight: "8"
44836
44910
  },
44837
- /* @__PURE__ */ React283.createElement(DisconnectSqIcon, { size: Number(chainIconSize) })
44911
+ /* @__PURE__ */ React284.createElement(DisconnectSqIcon, { size: Number(chainIconSize) })
44838
44912
  ),
44839
- /* @__PURE__ */ React283.createElement("div", null, t("chainModal.disconnect"))
44913
+ /* @__PURE__ */ React284.createElement("div", null, t("chainModal.disconnect"))
44840
44914
  )
44841
44915
  )
44842
44916
  )
@@ -44848,13 +44922,13 @@ function ChainModal({ onClose, open }) {
44848
44922
  // src/modals/CheckoutModal/FunCheckoutModal.tsx
44849
44923
  import { FUNKIT_CONNECT_SUPPORTED_CHECKOUT_CHAINS_INFO_LIST as FUNKIT_CONNECT_SUPPORTED_CHECKOUT_CHAINS_INFO_LIST2 } from "@funkit/chains";
44850
44924
  import { LogLevel as LogLevel2, initializeRelayClient } from "@funkit/fun-relay";
44851
- import React298, { useEffect as useEffect80, useRef as useRef40 } from "react";
44925
+ import React299, { useEffect as useEffect80, useRef as useRef40 } from "react";
44852
44926
 
44853
44927
  // src/components/FunConnectOptions/FunConnectOptions.tsx
44854
- import React289, { useCallback as useCallback52, useMemo as useMemo63, useState as useState82 } from "react";
44928
+ import React290, { useCallback as useCallback52, useMemo as useMemo63, useState as useState82 } from "react";
44855
44929
 
44856
44930
  // src/components/FunConnectOptions/FunConnectResultStep.tsx
44857
- import React284, { useEffect as useEffect72 } from "react";
44931
+ import React285, { useEffect as useEffect72 } from "react";
44858
44932
  var AUTO_CLOSE = 2e3;
44859
44933
  var messageMap = (hasQrCode) => ({
44860
44934
  error: {
@@ -44882,7 +44956,7 @@ var FunConnectResultStep = ({
44882
44956
  }, [onClose, hasAutoclose]);
44883
44957
  const hasQrCode = wallet?.qrCode && qrCodeUri;
44884
44958
  const message = messageMap(!!hasQrCode)[type];
44885
- return /* @__PURE__ */ React284.createElement(Box, { display: "flex", flexDirection: "column", gap: "24", paddingBottom: "12" }, /* @__PURE__ */ React284.createElement(Box, { display: "flex", flexDirection: "column", alignItems: "center", gap: "12" }, hasQrCode && type === "error" ? /* @__PURE__ */ React284.createElement(
44959
+ return /* @__PURE__ */ React285.createElement(Box, { display: "flex", flexDirection: "column", gap: "24", paddingBottom: "12" }, /* @__PURE__ */ React285.createElement(Box, { display: "flex", flexDirection: "column", alignItems: "center", gap: "12" }, hasQrCode && type === "error" ? /* @__PURE__ */ React285.createElement(
44886
44960
  Box,
44887
44961
  {
44888
44962
  alignItems: "center",
@@ -44891,7 +44965,7 @@ var FunConnectResultStep = ({
44891
44965
  justifyContent: "center",
44892
44966
  flexDirection: "column"
44893
44967
  },
44894
- /* @__PURE__ */ React284.createElement(
44968
+ /* @__PURE__ */ React285.createElement(
44895
44969
  QRCode,
44896
44970
  {
44897
44971
  logoBackground: wallet.iconBackground,
@@ -44901,7 +44975,7 @@ var FunConnectResultStep = ({
44901
44975
  uri: qrCodeUri
44902
44976
  }
44903
44977
  )
44904
- ) : /* @__PURE__ */ React284.createElement(
44978
+ ) : /* @__PURE__ */ React285.createElement(
44905
44979
  Box,
44906
44980
  {
44907
44981
  padding: "30",
@@ -44910,7 +44984,7 @@ var FunConnectResultStep = ({
44910
44984
  borderStyle: "solid",
44911
44985
  borderColor: type === "success" ? "buttonSuccess" : "buttonWarning"
44912
44986
  },
44913
- wallet && /* @__PURE__ */ React284.createElement(Box, { style: { width: 40, height: 40 } }, /* @__PURE__ */ React284.createElement(
44987
+ wallet && /* @__PURE__ */ React285.createElement(Box, { style: { width: 40, height: 40 } }, /* @__PURE__ */ React285.createElement(
44914
44988
  AsyncImage,
44915
44989
  {
44916
44990
  background: wallet.iconBackground,
@@ -44920,12 +44994,12 @@ var FunConnectResultStep = ({
44920
44994
  height: 40
44921
44995
  }
44922
44996
  ))
44923
- ), /* @__PURE__ */ React284.createElement(FunMessage, { title: message.title, description: message.description })));
44997
+ ), /* @__PURE__ */ React285.createElement(FunMessage, { title: message.title, description: message.description })));
44924
44998
  };
44925
44999
 
44926
45000
  // src/components/FunConnectOptions/FunSignInStep.tsx
44927
45001
  import { isMobile as isMobile13, isSafari as isSafari2, redirectInMobile } from "@funkit/utils";
44928
- import React286, { useState as useState81 } from "react";
45002
+ import React287, { useState as useState81 } from "react";
44929
45003
 
44930
45004
  // src/wallets/latestWalletId.ts
44931
45005
  var storageKey5 = "fkc-latest-id";
@@ -44934,7 +45008,7 @@ function addLatestWalletId(walletId) {
44934
45008
  }
44935
45009
 
44936
45010
  // src/components/ModalSelection/ModalSelection.tsx
44937
- import React285, { useState as useState80 } from "react";
45011
+ import React286, { useState as useState80 } from "react";
44938
45012
  var ModalSelection = ({
44939
45013
  as = "button",
44940
45014
  currentlySelected = false,
@@ -44951,7 +45025,7 @@ var ModalSelection = ({
44951
45025
  }) => {
44952
45026
  const [isMouseOver, setIsMouseOver] = useState80(false);
44953
45027
  const { t } = useFunkitTranslation();
44954
- return /* @__PURE__ */ React285.createElement(
45028
+ return /* @__PURE__ */ React286.createElement(
44955
45029
  Box,
44956
45030
  {
44957
45031
  display: "flex",
@@ -44959,7 +45033,7 @@ var ModalSelection = ({
44959
45033
  onMouseEnter: () => setIsMouseOver(true),
44960
45034
  onMouseLeave: () => setIsMouseOver(false)
44961
45035
  },
44962
- /* @__PURE__ */ React285.createElement(
45036
+ /* @__PURE__ */ React286.createElement(
44963
45037
  Box,
44964
45038
  {
44965
45039
  as,
@@ -44983,7 +45057,7 @@ var ModalSelection = ({
44983
45057
  width: "full",
44984
45058
  ...urlProps
44985
45059
  },
44986
- /* @__PURE__ */ React285.createElement(
45060
+ /* @__PURE__ */ React286.createElement(
44987
45061
  Box,
44988
45062
  {
44989
45063
  color: currentlySelected ? "accentColorForeground" : "primaryText",
@@ -44993,7 +45067,7 @@ var ModalSelection = ({
44993
45067
  fontWeight: "medium",
44994
45068
  transition: "default"
44995
45069
  },
44996
- /* @__PURE__ */ React285.createElement(Box, { alignItems: "center", display: "flex", flexDirection: "row", gap: "12" }, icon ? icon : /* @__PURE__ */ React285.createElement(
45070
+ /* @__PURE__ */ React286.createElement(Box, { alignItems: "center", display: "flex", flexDirection: "row", gap: "12" }, icon ? icon : /* @__PURE__ */ React286.createElement(
44997
45071
  AsyncImage,
44998
45072
  {
44999
45073
  background: iconBackground,
@@ -45004,7 +45078,7 @@ var ModalSelection = ({
45004
45078
  src: iconUrl,
45005
45079
  width: "18"
45006
45080
  }
45007
- ), /* @__PURE__ */ React285.createElement(
45081
+ ), /* @__PURE__ */ React286.createElement(
45008
45082
  Box,
45009
45083
  {
45010
45084
  display: "flex",
@@ -45012,8 +45086,8 @@ var ModalSelection = ({
45012
45086
  style: { flex: 1 },
45013
45087
  alignItems: "center"
45014
45088
  },
45015
- /* @__PURE__ */ React285.createElement(Box, { maxWidth: "200" }, name),
45016
- recent && /* @__PURE__ */ React285.createElement(
45089
+ /* @__PURE__ */ React286.createElement(Box, { maxWidth: "200" }, name),
45090
+ recent && /* @__PURE__ */ React286.createElement(
45017
45091
  FunBadge,
45018
45092
  {
45019
45093
  borderRadius: "smallBadge",
@@ -45102,8 +45176,8 @@ function FunSignInStep({
45102
45176
  }
45103
45177
  };
45104
45178
  const makeWeb3LoginSection = () => {
45105
- return /* @__PURE__ */ React286.createElement(Box, { display: "flex", flexDirection: "column", gap: "walletConnectorListGap" }, wallets.map((wallet) => {
45106
- return /* @__PURE__ */ React286.createElement(
45179
+ return /* @__PURE__ */ React287.createElement(Box, { display: "flex", flexDirection: "column", gap: "walletConnectorListGap" }, wallets.map((wallet) => {
45180
+ return /* @__PURE__ */ React287.createElement(
45107
45181
  ModalSelection,
45108
45182
  {
45109
45183
  currentlySelected: wallet.id === selectedOptionId,
@@ -45120,14 +45194,14 @@ function FunSignInStep({
45120
45194
  }));
45121
45195
  };
45122
45196
  const Web3LoginSection = makeWeb3LoginSection();
45123
- return /* @__PURE__ */ React286.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, Web3LoginSection);
45197
+ return /* @__PURE__ */ React287.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, Web3LoginSection);
45124
45198
  }
45125
45199
 
45126
45200
  // src/components/FunConnectOptions/FunWeb3ConnectingStep.tsx
45127
- import React288 from "react";
45201
+ import React289 from "react";
45128
45202
 
45129
45203
  // src/components/GradientLoader/GradientLoader.tsx
45130
- import React287 from "react";
45204
+ import React288 from "react";
45131
45205
 
45132
45206
  // src/components/GradientLoader/GradientLoader.css.ts
45133
45207
  var loader = "m17uwo1";
@@ -45137,7 +45211,7 @@ var GradientLoader = ({
45137
45211
  height = "100",
45138
45212
  width = "100"
45139
45213
  }) => {
45140
- return /* @__PURE__ */ React287.createElement(
45214
+ return /* @__PURE__ */ React288.createElement(
45141
45215
  Box,
45142
45216
  {
45143
45217
  className: loader,
@@ -45158,7 +45232,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
45158
45232
  }
45159
45233
  const { iconBackground, iconUrl, name, qrCode, ready } = selectedWallet;
45160
45234
  const hasQrCode = qrCode && qrCodeUri;
45161
- const waitingMessage = /* @__PURE__ */ React288.createElement(
45235
+ const waitingMessage = /* @__PURE__ */ React289.createElement(
45162
45236
  FunMessage,
45163
45237
  {
45164
45238
  title: `Waiting for ${hasQrCode ? "connection" : name}`,
@@ -45166,7 +45240,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
45166
45240
  id: "link-text"
45167
45241
  }
45168
45242
  );
45169
- return /* @__PURE__ */ React288.createElement(Box, { display: "flex", flexDirection: "column", gap: "24", paddingBottom: "12" }, hasQrCode ? /* @__PURE__ */ React288.createElement(
45243
+ return /* @__PURE__ */ React289.createElement(Box, { display: "flex", flexDirection: "column", gap: "24", paddingBottom: "12" }, hasQrCode ? /* @__PURE__ */ React289.createElement(
45170
45244
  Box,
45171
45245
  {
45172
45246
  alignItems: "center",
@@ -45176,7 +45250,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
45176
45250
  gap: "12",
45177
45251
  flexDirection: "column"
45178
45252
  },
45179
- /* @__PURE__ */ React288.createElement(
45253
+ /* @__PURE__ */ React289.createElement(
45180
45254
  QRCode,
45181
45255
  {
45182
45256
  logoBackground: iconBackground,
@@ -45187,7 +45261,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
45187
45261
  }
45188
45262
  ),
45189
45263
  waitingMessage
45190
- ) : /* @__PURE__ */ React288.createElement(
45264
+ ) : /* @__PURE__ */ React289.createElement(
45191
45265
  Box,
45192
45266
  {
45193
45267
  alignItems: "center",
@@ -45196,7 +45270,7 @@ var FunWeb3ConnectingStep = ({ selectedWallet, qrCodeUri }) => {
45196
45270
  flexDirection: "column",
45197
45271
  gap: "12"
45198
45272
  },
45199
- ready && /* @__PURE__ */ React288.createElement(React288.Fragment, null, /* @__PURE__ */ React288.createElement(Box, { id: "link-graphics", padding: "30", position: "relative" }, /* @__PURE__ */ React288.createElement(Box, { position: "absolute", style: { top: 0, left: 0 } }, /* @__PURE__ */ React288.createElement(GradientLoader, null)), /* @__PURE__ */ React288.createElement(Box, { style: { width: 40, height: 40 } }, /* @__PURE__ */ React288.createElement(
45273
+ ready && /* @__PURE__ */ React289.createElement(React289.Fragment, null, /* @__PURE__ */ React289.createElement(Box, { id: "link-graphics", padding: "30", position: "relative" }, /* @__PURE__ */ React289.createElement(Box, { position: "absolute", style: { top: 0, left: 0 } }, /* @__PURE__ */ React289.createElement(GradientLoader, null)), /* @__PURE__ */ React289.createElement(Box, { style: { width: 40, height: 40 } }, /* @__PURE__ */ React289.createElement(
45200
45274
  AsyncImage,
45201
45275
  {
45202
45276
  background: iconBackground,
@@ -45296,7 +45370,7 @@ function FunConnectOptions({
45296
45370
  const stepComponent = useMemo63(() => {
45297
45371
  switch (step) {
45298
45372
  case 0 /* SIGNIN_PRIMARY */:
45299
- return /* @__PURE__ */ React289.createElement(
45373
+ return /* @__PURE__ */ React290.createElement(
45300
45374
  FunSignInStep,
45301
45375
  {
45302
45376
  signInStep: step,
@@ -45308,7 +45382,7 @@ function FunConnectOptions({
45308
45382
  }
45309
45383
  );
45310
45384
  case 1 /* PENDING_WALLET */:
45311
- return /* @__PURE__ */ React289.createElement(
45385
+ return /* @__PURE__ */ React290.createElement(
45312
45386
  FunWeb3ConnectingStep,
45313
45387
  {
45314
45388
  selectedWallet,
@@ -45316,7 +45390,7 @@ function FunConnectOptions({
45316
45390
  }
45317
45391
  );
45318
45392
  case 2 /* ERROR_WEB3 */:
45319
- return /* @__PURE__ */ React289.createElement(
45393
+ return /* @__PURE__ */ React290.createElement(
45320
45394
  FunConnectResultStep,
45321
45395
  {
45322
45396
  onClose,
@@ -45327,7 +45401,7 @@ function FunConnectOptions({
45327
45401
  );
45328
45402
  }
45329
45403
  }, [connectToWallet, navigateTo, onClose, qrCodeUri, selectedWallet, step]);
45330
- return /* @__PURE__ */ React289.createElement(React289.Fragment, null, /* @__PURE__ */ React289.createElement(Dialog.Title, { onClose, ...navigationConfig[step] }), /* @__PURE__ */ React289.createElement(
45404
+ return /* @__PURE__ */ React290.createElement(React290.Fragment, null, /* @__PURE__ */ React290.createElement(Dialog.Title, { onClose, ...navigationConfig[step] }), /* @__PURE__ */ React290.createElement(
45331
45405
  Dialog.Content,
45332
45406
  {
45333
45407
  display: "flex",
@@ -45339,7 +45413,7 @@ function FunConnectOptions({
45339
45413
  withBottomDivider: actionConfig[step] ? "always" : "never"
45340
45414
  },
45341
45415
  stepComponent
45342
- ), /* @__PURE__ */ React289.createElement(Dialog.BottomSection, { id: MODAL_BOTTOM_BAR_IDS.connectwallet }, actionConfig[step] && /* @__PURE__ */ React289.createElement(Dialog.BottomBar, { ...actionConfig[step] })));
45416
+ ), /* @__PURE__ */ React290.createElement(Dialog.BottomSection, { id: MODAL_BOTTOM_BAR_IDS.connectwallet }, actionConfig[step] && /* @__PURE__ */ React290.createElement(Dialog.BottomBar, { ...actionConfig[step] })));
45343
45417
  }
45344
45418
 
45345
45419
  // src/hooks/useIsCheckoutComplete.ts
@@ -45359,7 +45433,7 @@ function useIsCheckoutComplete(depositAddress) {
45359
45433
  }
45360
45434
 
45361
45435
  // src/components/FunCheckoutBlocked/FunCheckoutBlocked.tsx
45362
- import React290 from "react";
45436
+ import React291 from "react";
45363
45437
  import { Trans as Trans19 } from "react-i18next";
45364
45438
 
45365
45439
  // src/components/FunCheckoutBlocked/FunCheckoutBlocked.css.ts
@@ -45373,35 +45447,35 @@ var FunCheckoutBlocked = ({ reason }) => {
45373
45447
  }
45374
45448
  const blockedReasonToDescription = {
45375
45449
  fullGeoblock: t("funCheckoutBlocked.geoblock", { orgName: FUN_ORG_NAME }),
45376
- security: /* @__PURE__ */ React290.createElement(
45450
+ security: /* @__PURE__ */ React291.createElement(
45377
45451
  Trans19,
45378
45452
  {
45379
45453
  t,
45380
45454
  i18nKey: "funCheckoutBlocked.security",
45381
45455
  components: {
45382
- ContactSupportLink: /* @__PURE__ */ React290.createElement(ContactSupportLink, { size: "10" })
45456
+ ContactSupportLink: /* @__PURE__ */ React291.createElement(ContactSupportLink, { size: "10" })
45383
45457
  },
45384
45458
  values: {
45385
45459
  orgName: FUN_ORG_NAME
45386
45460
  }
45387
45461
  }
45388
45462
  ),
45389
- unloggedin: /* @__PURE__ */ React290.createElement(
45463
+ unloggedin: /* @__PURE__ */ React291.createElement(
45390
45464
  Trans19,
45391
45465
  {
45392
45466
  t,
45393
45467
  i18nKey: "funCheckoutBlocked.unloggedin",
45394
45468
  components: {
45395
- ContactSupportLink: /* @__PURE__ */ React290.createElement(ContactSupportLink, { size: "10" })
45469
+ ContactSupportLink: /* @__PURE__ */ React291.createElement(ContactSupportLink, { size: "10" })
45396
45470
  }
45397
45471
  }
45398
45472
  )
45399
45473
  };
45400
45474
  const description = blockedReasonToDescription[reason];
45401
- return /* @__PURE__ */ React290.createElement(Box, { className: funCheckoutBlockedStyle }, /* @__PURE__ */ React290.createElement(
45475
+ return /* @__PURE__ */ React291.createElement(Box, { className: funCheckoutBlockedStyle }, /* @__PURE__ */ React291.createElement(
45402
45476
  FunAlert,
45403
45477
  {
45404
- icon: /* @__PURE__ */ React290.createElement(FunInfoIcon, null),
45478
+ icon: /* @__PURE__ */ React291.createElement(FunInfoIcon, null),
45405
45479
  description,
45406
45480
  verticalAlignment: "top"
45407
45481
  }
@@ -45429,7 +45503,7 @@ function CheckoutModalPrefetchedHooks() {
45429
45503
  }
45430
45504
 
45431
45505
  // src/modals/CheckoutModal/SwappedIframe/SwappedIframe.tsx
45432
- import React291, { useEffect as useEffect74, useState as useState83 } from "react";
45506
+ import React292, { useEffect as useEffect74, useState as useState83 } from "react";
45433
45507
  var SwappedIframe = () => {
45434
45508
  const { iframeUrl, isSwappedReady, isActive, setIframeRef } = useSwappedContext();
45435
45509
  const [visible, setVisible] = useState83(false);
@@ -45444,7 +45518,7 @@ var SwappedIframe = () => {
45444
45518
  if (!iframeUrl) {
45445
45519
  return null;
45446
45520
  }
45447
- return /* @__PURE__ */ React291.createElement(
45521
+ return /* @__PURE__ */ React292.createElement(
45448
45522
  Box,
45449
45523
  {
45450
45524
  background: "modalBackground",
@@ -45463,7 +45537,7 @@ var SwappedIframe = () => {
45463
45537
  },
45464
45538
  "aria-hidden": !shouldShow
45465
45539
  },
45466
- /* @__PURE__ */ React291.createElement(
45540
+ /* @__PURE__ */ React292.createElement(
45467
45541
  "iframe",
45468
45542
  {
45469
45543
  ref: setIframeRef,
@@ -45486,20 +45560,20 @@ var SwappedIframe = () => {
45486
45560
  )
45487
45561
  );
45488
45562
  };
45489
- var SwappedIframe_default = React291.memo(SwappedIframe);
45563
+ var SwappedIframe_default = React292.memo(SwappedIframe);
45490
45564
 
45491
45565
  // src/modals/CheckoutModal/TransferToken/CheckoutNotifications.tsx
45492
45566
  import clsx26 from "clsx";
45493
- import React297, { useCallback as useCallback54, useEffect as useEffect78, useMemo as useMemo64, useState as useState85 } from "react";
45567
+ import React298, { useCallback as useCallback54, useEffect as useEffect78, useMemo as useMemo64, useState as useState85 } from "react";
45494
45568
 
45495
45569
  // src/components/FunNotificationBanner/FunNotificationShowMoreButton.tsx
45496
- import React292 from "react";
45570
+ import React293 from "react";
45497
45571
  var FunNotificationShowMoreButton = ({
45498
45572
  numberOfNotifications,
45499
45573
  isExpanded,
45500
45574
  onClick
45501
45575
  }) => {
45502
- const buttonTitleCompoent = /* @__PURE__ */ React292.createElement(Box, { display: "flex", gap: "4", alignItems: "center" }, /* @__PURE__ */ React292.createElement(Text, { size: "13" }, isExpanded ? "Show less" : `${numberOfNotifications} more`), /* @__PURE__ */ React292.createElement(
45576
+ const buttonTitleCompoent = /* @__PURE__ */ React293.createElement(Box, { display: "flex", gap: "4", alignItems: "center" }, /* @__PURE__ */ React293.createElement(Text, { size: "13" }, isExpanded ? "Show less" : `${numberOfNotifications} more`), /* @__PURE__ */ React293.createElement(
45503
45577
  Box,
45504
45578
  {
45505
45579
  width: "16",
@@ -45508,7 +45582,7 @@ var FunNotificationShowMoreButton = ({
45508
45582
  alignItems: "center",
45509
45583
  justifyContent: "center"
45510
45584
  },
45511
- /* @__PURE__ */ React292.createElement(
45585
+ /* @__PURE__ */ React293.createElement(
45512
45586
  Box,
45513
45587
  {
45514
45588
  color: "secondaryText",
@@ -45519,10 +45593,10 @@ var FunNotificationShowMoreButton = ({
45519
45593
  justifyContent: "center",
45520
45594
  style: isExpanded ? { transform: "rotate(180deg)" } : void 0
45521
45595
  },
45522
- /* @__PURE__ */ React292.createElement(CaretDownIcon, null)
45596
+ /* @__PURE__ */ React293.createElement(CaretDownIcon, null)
45523
45597
  )
45524
45598
  ));
45525
- return /* @__PURE__ */ React292.createElement(
45599
+ return /* @__PURE__ */ React293.createElement(
45526
45600
  FunButton,
45527
45601
  {
45528
45602
  type: "tertiary",
@@ -45604,12 +45678,12 @@ var getUniqueId = (item) => {
45604
45678
  };
45605
45679
 
45606
45680
  // src/modals/CheckoutModal/TransferToken/CheckoutNotification.tsx
45607
- import React295 from "react";
45681
+ import React296 from "react";
45608
45682
  import { Trans as Trans20 } from "react-i18next";
45609
45683
 
45610
45684
  // src/components/FunNotificationBanner/FunNotificationBanner.tsx
45611
45685
  import { AnimatePresence as AnimatePresence6, motion as motion19 } from "motion/react";
45612
- import React294, { useEffect as useEffect77, useRef as useRef39, useState as useState84 } from "react";
45686
+ import React295, { useEffect as useEffect77, useRef as useRef39, useState as useState84 } from "react";
45613
45687
  import clsx25 from "clsx";
45614
45688
 
45615
45689
  // src/components/FunNotificationBanner/FunNotificationBanner.css.ts
@@ -45619,7 +45693,7 @@ var showMoreButtonStyle = "_4yitd93 _1rsrm2f1r4 _1rsrm2f1i _1rsrm2f1f _1rsrm2f11
45619
45693
  // src/components/FunNotificationBanner/FunNotificationBannerIcon.tsx
45620
45694
  import clsx24 from "clsx";
45621
45695
  import { motion as motion18, useAnimate as useAnimate3 } from "motion/react";
45622
- import React293, { useCallback as useCallback53, useEffect as useEffect76, useRef as useRef38 } from "react";
45696
+ import React294, { useCallback as useCallback53, useEffect as useEffect76, useRef as useRef38 } from "react";
45623
45697
 
45624
45698
  // src/components/FunNotificationBanner/FunNotificationBannerIcon.css.ts
45625
45699
  var STATUS_SPINNER_BOTTOM_POSITION = -5;
@@ -45632,7 +45706,7 @@ var statusSpinner = "_1i8t3xj4 qe221a3";
45632
45706
  function generateAnimationPrefixClassName(className) {
45633
45707
  return `framer-fnb-${className}`;
45634
45708
  }
45635
- var successIcon = /* @__PURE__ */ React293.createElement(
45709
+ var successIcon = /* @__PURE__ */ React294.createElement(
45636
45710
  motion18.svg,
45637
45711
  {
45638
45712
  width: "16",
@@ -45641,8 +45715,8 @@ var successIcon = /* @__PURE__ */ React293.createElement(
45641
45715
  fill: "none",
45642
45716
  xmlns: "http://www.w3.org/2000/svg"
45643
45717
  },
45644
- /* @__PURE__ */ React293.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#66CC00" }),
45645
- /* @__PURE__ */ React293.createElement(
45718
+ /* @__PURE__ */ React294.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#66CC00" }),
45719
+ /* @__PURE__ */ React294.createElement(
45646
45720
  motion18.path,
45647
45721
  {
45648
45722
  d: "M5 8L7 10L11.5 5.5",
@@ -45652,7 +45726,7 @@ var successIcon = /* @__PURE__ */ React293.createElement(
45652
45726
  }
45653
45727
  )
45654
45728
  );
45655
- var errorIcon = /* @__PURE__ */ React293.createElement(
45729
+ var errorIcon = /* @__PURE__ */ React294.createElement(
45656
45730
  "svg",
45657
45731
  {
45658
45732
  width: "16",
@@ -45661,8 +45735,8 @@ var errorIcon = /* @__PURE__ */ React293.createElement(
45661
45735
  fill: "none",
45662
45736
  xmlns: "http://www.w3.org/2000/svg"
45663
45737
  },
45664
- /* @__PURE__ */ React293.createElement("g", { filter: "url(#filter0_i_19769_7642)" }, /* @__PURE__ */ React293.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#F34126" })),
45665
- /* @__PURE__ */ React293.createElement(
45738
+ /* @__PURE__ */ React294.createElement("g", { filter: "url(#filter0_i_19769_7642)" }, /* @__PURE__ */ React294.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#F34126" })),
45739
+ /* @__PURE__ */ React294.createElement(
45666
45740
  "path",
45667
45741
  {
45668
45742
  d: "M5 5L11 11",
@@ -45671,7 +45745,7 @@ var errorIcon = /* @__PURE__ */ React293.createElement(
45671
45745
  strokeLinejoin: "round"
45672
45746
  }
45673
45747
  ),
45674
- /* @__PURE__ */ React293.createElement(
45748
+ /* @__PURE__ */ React294.createElement(
45675
45749
  "path",
45676
45750
  {
45677
45751
  d: "M5 11L11 5",
@@ -45680,7 +45754,7 @@ var errorIcon = /* @__PURE__ */ React293.createElement(
45680
45754
  strokeLinejoin: "round"
45681
45755
  }
45682
45756
  ),
45683
- /* @__PURE__ */ React293.createElement("defs", null, /* @__PURE__ */ React293.createElement(
45757
+ /* @__PURE__ */ React294.createElement("defs", null, /* @__PURE__ */ React294.createElement(
45684
45758
  "filter",
45685
45759
  {
45686
45760
  id: "filter0_i_19769_7642",
@@ -45691,8 +45765,8 @@ var errorIcon = /* @__PURE__ */ React293.createElement(
45691
45765
  filterUnits: "userSpaceOnUse",
45692
45766
  colorInterpolationFilters: "sRGB"
45693
45767
  },
45694
- /* @__PURE__ */ React293.createElement("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
45695
- /* @__PURE__ */ React293.createElement(
45768
+ /* @__PURE__ */ React294.createElement("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
45769
+ /* @__PURE__ */ React294.createElement(
45696
45770
  "feBlend",
45697
45771
  {
45698
45772
  mode: "normal",
@@ -45701,7 +45775,7 @@ var errorIcon = /* @__PURE__ */ React293.createElement(
45701
45775
  result: "shape"
45702
45776
  }
45703
45777
  ),
45704
- /* @__PURE__ */ React293.createElement(
45778
+ /* @__PURE__ */ React294.createElement(
45705
45779
  "feColorMatrix",
45706
45780
  {
45707
45781
  in: "SourceAlpha",
@@ -45710,16 +45784,16 @@ var errorIcon = /* @__PURE__ */ React293.createElement(
45710
45784
  result: "hardAlpha"
45711
45785
  }
45712
45786
  ),
45713
- /* @__PURE__ */ React293.createElement("feOffset", { dy: "-1" }),
45714
- /* @__PURE__ */ React293.createElement("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
45715
- /* @__PURE__ */ React293.createElement(
45787
+ /* @__PURE__ */ React294.createElement("feOffset", { dy: "-1" }),
45788
+ /* @__PURE__ */ React294.createElement("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
45789
+ /* @__PURE__ */ React294.createElement(
45716
45790
  "feColorMatrix",
45717
45791
  {
45718
45792
  type: "matrix",
45719
45793
  values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
45720
45794
  }
45721
45795
  ),
45722
- /* @__PURE__ */ React293.createElement(
45796
+ /* @__PURE__ */ React294.createElement(
45723
45797
  "feBlend",
45724
45798
  {
45725
45799
  mode: "normal",
@@ -45729,7 +45803,7 @@ var errorIcon = /* @__PURE__ */ React293.createElement(
45729
45803
  )
45730
45804
  ))
45731
45805
  );
45732
- var pendingIcon = /* @__PURE__ */ React293.createElement(
45806
+ var pendingIcon = /* @__PURE__ */ React294.createElement(
45733
45807
  motion18.svg,
45734
45808
  {
45735
45809
  width: "16",
@@ -45738,8 +45812,8 @@ var pendingIcon = /* @__PURE__ */ React293.createElement(
45738
45812
  fill: "none",
45739
45813
  xmlns: "http://www.w3.org/2000/svg"
45740
45814
  },
45741
- /* @__PURE__ */ React293.createElement("g", { filter: "url(#filter0_i_19866_15799)" }, /* @__PURE__ */ React293.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#8C8C8C" })),
45742
- /* @__PURE__ */ React293.createElement("g", { clipPath: "url(#clip0_19866_15799)" }, /* @__PURE__ */ React293.createElement(
45815
+ /* @__PURE__ */ React294.createElement("g", { filter: "url(#filter0_i_19866_15799)" }, /* @__PURE__ */ React294.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#8C8C8C" })),
45816
+ /* @__PURE__ */ React294.createElement("g", { clipPath: "url(#clip0_19866_15799)" }, /* @__PURE__ */ React294.createElement(
45743
45817
  motion18.path,
45744
45818
  {
45745
45819
  d: "M8 5V8L10 9M13 8C13 10.7614 10.7614 13 8 13C5.23858 13 3 10.7614 3 8C3 5.23858 5.23858 3 8 3C10.7614 3 13 5.23858 13 8Z",
@@ -45749,7 +45823,7 @@ var pendingIcon = /* @__PURE__ */ React293.createElement(
45749
45823
  strokeLinejoin: "round"
45750
45824
  }
45751
45825
  )),
45752
- /* @__PURE__ */ React293.createElement("defs", null, /* @__PURE__ */ React293.createElement(
45826
+ /* @__PURE__ */ React294.createElement("defs", null, /* @__PURE__ */ React294.createElement(
45753
45827
  "filter",
45754
45828
  {
45755
45829
  id: "filter0_i_19866_15799",
@@ -45760,8 +45834,8 @@ var pendingIcon = /* @__PURE__ */ React293.createElement(
45760
45834
  filterUnits: "userSpaceOnUse",
45761
45835
  colorInterpolationFilters: "sRGB"
45762
45836
  },
45763
- /* @__PURE__ */ React293.createElement("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
45764
- /* @__PURE__ */ React293.createElement(
45837
+ /* @__PURE__ */ React294.createElement("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
45838
+ /* @__PURE__ */ React294.createElement(
45765
45839
  "feBlend",
45766
45840
  {
45767
45841
  mode: "normal",
@@ -45770,7 +45844,7 @@ var pendingIcon = /* @__PURE__ */ React293.createElement(
45770
45844
  result: "shape"
45771
45845
  }
45772
45846
  ),
45773
- /* @__PURE__ */ React293.createElement(
45847
+ /* @__PURE__ */ React294.createElement(
45774
45848
  "feColorMatrix",
45775
45849
  {
45776
45850
  in: "SourceAlpha",
@@ -45779,16 +45853,16 @@ var pendingIcon = /* @__PURE__ */ React293.createElement(
45779
45853
  result: "hardAlpha"
45780
45854
  }
45781
45855
  ),
45782
- /* @__PURE__ */ React293.createElement("feOffset", { dy: "-1" }),
45783
- /* @__PURE__ */ React293.createElement("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
45784
- /* @__PURE__ */ React293.createElement(
45856
+ /* @__PURE__ */ React294.createElement("feOffset", { dy: "-1" }),
45857
+ /* @__PURE__ */ React294.createElement("feComposite", { in2: "hardAlpha", operator: "arithmetic", k2: "-1", k3: "1" }),
45858
+ /* @__PURE__ */ React294.createElement(
45785
45859
  "feColorMatrix",
45786
45860
  {
45787
45861
  type: "matrix",
45788
45862
  values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
45789
45863
  }
45790
45864
  ),
45791
- /* @__PURE__ */ React293.createElement(
45865
+ /* @__PURE__ */ React294.createElement(
45792
45866
  "feBlend",
45793
45867
  {
45794
45868
  mode: "normal",
@@ -45796,9 +45870,9 @@ var pendingIcon = /* @__PURE__ */ React293.createElement(
45796
45870
  result: "effect1_innerShadow_19866_15799"
45797
45871
  }
45798
45872
  )
45799
- ), /* @__PURE__ */ React293.createElement("clipPath", { id: "clip0_19866_15799" }, /* @__PURE__ */ React293.createElement("rect", { width: "12", height: "12", fill: "white", transform: "translate(2 2)" })))
45873
+ ), /* @__PURE__ */ React294.createElement("clipPath", { id: "clip0_19866_15799" }, /* @__PURE__ */ React294.createElement("rect", { width: "12", height: "12", fill: "white", transform: "translate(2 2)" })))
45800
45874
  );
45801
- var downloadIcon = /* @__PURE__ */ React293.createElement(
45875
+ var downloadIcon = /* @__PURE__ */ React294.createElement(
45802
45876
  motion18.svg,
45803
45877
  {
45804
45878
  width: "16",
@@ -45807,8 +45881,8 @@ var downloadIcon = /* @__PURE__ */ React293.createElement(
45807
45881
  fill: "none",
45808
45882
  xmlns: "http://www.w3.org/2000/svg"
45809
45883
  },
45810
- /* @__PURE__ */ React293.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#66CC00" }),
45811
- /* @__PURE__ */ React293.createElement(
45884
+ /* @__PURE__ */ React294.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#66CC00" }),
45885
+ /* @__PURE__ */ React294.createElement(
45812
45886
  motion18.path,
45813
45887
  {
45814
45888
  d: "M8 4C8 6.14788 8 11.5 8 11.5M8 11.5L11 8.5M8 11.5L5 8.5",
@@ -45819,7 +45893,7 @@ var downloadIcon = /* @__PURE__ */ React293.createElement(
45819
45893
  )
45820
45894
  );
45821
45895
  var SpinnerBase = ({ variant }) => {
45822
- return /* @__PURE__ */ React293.createElement(motion18.div, null, /* @__PURE__ */ React293.createElement(
45896
+ return /* @__PURE__ */ React294.createElement(motion18.div, null, /* @__PURE__ */ React294.createElement(
45823
45897
  Box,
45824
45898
  {
45825
45899
  className: clsx24(
@@ -45828,7 +45902,7 @@ var SpinnerBase = ({ variant }) => {
45828
45902
  ),
45829
45903
  color: variant === "processing" ? "success" : "inputBorderHover"
45830
45904
  },
45831
- /* @__PURE__ */ React293.createElement(
45905
+ /* @__PURE__ */ React294.createElement(
45832
45906
  "svg",
45833
45907
  {
45834
45908
  width: "24",
@@ -45837,7 +45911,7 @@ var SpinnerBase = ({ variant }) => {
45837
45911
  fill: "none",
45838
45912
  xmlns: "http://www.w3.org/2000/svg"
45839
45913
  },
45840
- /* @__PURE__ */ React293.createElement(
45914
+ /* @__PURE__ */ React294.createElement(
45841
45915
  "circle",
45842
45916
  {
45843
45917
  opacity: "0.5",
@@ -45853,8 +45927,8 @@ var SpinnerBase = ({ variant }) => {
45853
45927
  )
45854
45928
  ));
45855
45929
  };
45856
- var ProcessingSpinner = () => /* @__PURE__ */ React293.createElement(SpinnerBase, { variant: "processing" });
45857
- var DelayedSpinner = () => /* @__PURE__ */ React293.createElement(SpinnerBase, { variant: "delayed" });
45930
+ var ProcessingSpinner = () => /* @__PURE__ */ React294.createElement(SpinnerBase, { variant: "processing" });
45931
+ var DelayedSpinner = () => /* @__PURE__ */ React294.createElement(SpinnerBase, { variant: "delayed" });
45858
45932
  var statusIconMap = {
45859
45933
  processing: downloadIcon,
45860
45934
  delayed: downloadIcon,
@@ -46085,7 +46159,7 @@ var FunNotificationBannerIcon = ({
46085
46159
  triggerAnimationDelayedToFailed,
46086
46160
  triggerAnimationProcessingToCompleted
46087
46161
  ]);
46088
- return /* @__PURE__ */ React293.createElement(Box, { width: "32", height: "32", position: "relative", ref: animationScope }, statusRef.current === "processing" && /* @__PURE__ */ React293.createElement(ProcessingSpinner, null), statusRef.current === "delayed" && /* @__PURE__ */ React293.createElement(DelayedSpinner, null), /* @__PURE__ */ React293.createElement(Box, { className: shadowStyle }, /* @__PURE__ */ React293.createElement(
46162
+ return /* @__PURE__ */ React294.createElement(Box, { width: "32", height: "32", position: "relative", ref: animationScope }, statusRef.current === "processing" && /* @__PURE__ */ React294.createElement(ProcessingSpinner, null), statusRef.current === "delayed" && /* @__PURE__ */ React294.createElement(DelayedSpinner, null), /* @__PURE__ */ React294.createElement(Box, { className: shadowStyle }, /* @__PURE__ */ React294.createElement(
46089
46163
  AsyncImage,
46090
46164
  {
46091
46165
  alt: "",
@@ -46095,7 +46169,7 @@ var FunNotificationBannerIcon = ({
46095
46169
  src: iconUrl ?? void 0,
46096
46170
  fallbackSrc: fallbackIconUrl
46097
46171
  }
46098
- )), statusRef.current && /* @__PURE__ */ React293.createElement(
46172
+ )), statusRef.current && /* @__PURE__ */ React294.createElement(
46099
46173
  Box,
46100
46174
  {
46101
46175
  className: clsx24(
@@ -46105,7 +46179,7 @@ var FunNotificationBannerIcon = ({
46105
46179
  width: "20",
46106
46180
  height: "20"
46107
46181
  },
46108
- /* @__PURE__ */ React293.createElement(Box, { className: clsx24(statusIcon) }, Object.entries(statusIconMap).map(([key, value]) => /* @__PURE__ */ React293.createElement(
46182
+ /* @__PURE__ */ React294.createElement(Box, { className: clsx24(statusIcon) }, Object.entries(statusIconMap).map(([key, value]) => /* @__PURE__ */ React294.createElement(
46109
46183
  "div",
46110
46184
  {
46111
46185
  key,
@@ -46137,7 +46211,7 @@ var STATUS_RANK = {
46137
46211
  failed: 3,
46138
46212
  expired: 4
46139
46213
  };
46140
- var closeIcon = /* @__PURE__ */ React294.createElement(
46214
+ var closeIcon = /* @__PURE__ */ React295.createElement(
46141
46215
  "svg",
46142
46216
  {
46143
46217
  width: "16",
@@ -46146,7 +46220,7 @@ var closeIcon = /* @__PURE__ */ React294.createElement(
46146
46220
  fill: "none",
46147
46221
  xmlns: "http://www.w3.org/2000/svg"
46148
46222
  },
46149
- /* @__PURE__ */ React294.createElement(
46223
+ /* @__PURE__ */ React295.createElement(
46150
46224
  "path",
46151
46225
  {
46152
46226
  d: "M4.89066 4.15281C4.68691 3.94906 4.35657 3.94906 4.15281 4.15281C3.94906 4.35657 3.94906 4.68691 4.15281 4.89066L7.26215 8L4.15281 11.1093C3.94906 11.3131 3.94906 11.6434 4.15281 11.8472C4.35657 12.0509 4.68691 12.0509 4.89066 11.8472L8 8.73785L11.1093 11.8472C11.3131 12.0509 11.6434 12.0509 11.8472 11.8472C12.0509 11.6434 12.0509 11.3131 11.8472 11.1093L8.73785 8L11.8472 4.89066C12.0509 4.68691 12.0509 4.35657 11.8472 4.15281C11.6434 3.94906 11.3131 3.94906 11.1093 4.15281L8 7.26215L4.89066 4.15281Z",
@@ -46177,7 +46251,7 @@ var FunNotificationBanner = ({
46177
46251
  setIsOpen(false);
46178
46252
  onClosed?.();
46179
46253
  };
46180
- return /* @__PURE__ */ React294.createElement(AnimatePresence6, null, isOpen ? /* @__PURE__ */ React294.createElement(
46254
+ return /* @__PURE__ */ React295.createElement(AnimatePresence6, null, isOpen ? /* @__PURE__ */ React295.createElement(
46181
46255
  motion19.div,
46182
46256
  {
46183
46257
  initial: {
@@ -46206,7 +46280,7 @@ var FunNotificationBanner = ({
46206
46280
  }
46207
46281
  }
46208
46282
  },
46209
- /* @__PURE__ */ React294.createElement(Box, { className: clsx25(notificationBannerStyle) }, /* @__PURE__ */ React294.createElement(
46283
+ /* @__PURE__ */ React295.createElement(Box, { className: clsx25(notificationBannerStyle) }, /* @__PURE__ */ React295.createElement(
46210
46284
  FunIconButton,
46211
46285
  {
46212
46286
  borderRadius: "full",
@@ -46220,28 +46294,28 @@ var FunNotificationBanner = ({
46220
46294
  right: "4px"
46221
46295
  }
46222
46296
  }
46223
- ), /* @__PURE__ */ React294.createElement(Box, { padding: "16", display: "flex", gap: "16" }, /* @__PURE__ */ React294.createElement(
46297
+ ), /* @__PURE__ */ React295.createElement(Box, { padding: "16", display: "flex", gap: "16" }, /* @__PURE__ */ React295.createElement(
46224
46298
  FunNotificationBannerIcon,
46225
46299
  {
46226
46300
  iconUrl,
46227
46301
  status,
46228
46302
  fallbackIconUrl
46229
46303
  }
46230
- ), /* @__PURE__ */ React294.createElement(
46304
+ ), /* @__PURE__ */ React295.createElement(
46231
46305
  Box,
46232
46306
  {
46233
46307
  display: "flex",
46234
46308
  flexDirection: "column",
46235
46309
  style: { flex: 1, minWidth: 0 }
46236
46310
  },
46237
- /* @__PURE__ */ React294.createElement(Box, { display: "flex", flexDirection: "column", gap: "6" }, /* @__PURE__ */ React294.createElement(
46311
+ /* @__PURE__ */ React295.createElement(Box, { display: "flex", flexDirection: "column", gap: "6" }, /* @__PURE__ */ React295.createElement(
46238
46312
  Box,
46239
46313
  {
46240
46314
  display: "flex",
46241
46315
  flexDirection: "column",
46242
46316
  style: { flexGrow: 1 }
46243
46317
  },
46244
- /* @__PURE__ */ React294.createElement(
46318
+ /* @__PURE__ */ React295.createElement(
46245
46319
  AnimatedText,
46246
46320
  {
46247
46321
  textKey: title,
@@ -46257,7 +46331,7 @@ var FunNotificationBanner = ({
46257
46331
  },
46258
46332
  title
46259
46333
  )
46260
- ), /* @__PURE__ */ React294.createElement(Box, { display: "flex", flexDirection: "column" }, /* @__PURE__ */ React294.createElement(
46334
+ ), /* @__PURE__ */ React295.createElement(Box, { display: "flex", flexDirection: "column" }, /* @__PURE__ */ React295.createElement(
46261
46335
  AnimatedText,
46262
46336
  {
46263
46337
  textKey: title,
@@ -46271,7 +46345,7 @@ var FunNotificationBanner = ({
46271
46345
  },
46272
46346
  description
46273
46347
  ))),
46274
- disclaimer && /* @__PURE__ */ React294.createElement(
46348
+ disclaimer && /* @__PURE__ */ React295.createElement(
46275
46349
  Box,
46276
46350
  {
46277
46351
  marginTop: "12",
@@ -46282,9 +46356,9 @@ var FunNotificationBanner = ({
46282
46356
  borderRadius: "8",
46283
46357
  borderColor: "mediumStroke"
46284
46358
  },
46285
- /* @__PURE__ */ React294.createElement(Text, { color: "secondaryText", size: "12" }, disclaimer)
46359
+ /* @__PURE__ */ React295.createElement(Text, { color: "secondaryText", size: "12" }, disclaimer)
46286
46360
  ),
46287
- /* @__PURE__ */ React294.createElement(AnimatePresence6, null, showMore && /* @__PURE__ */ React294.createElement(
46361
+ /* @__PURE__ */ React295.createElement(AnimatePresence6, null, showMore && /* @__PURE__ */ React295.createElement(
46288
46362
  motion19.div,
46289
46363
  {
46290
46364
  initial: {
@@ -46321,7 +46395,7 @@ var FunNotificationBanner = ({
46321
46395
  }
46322
46396
  }
46323
46397
  },
46324
- /* @__PURE__ */ React294.createElement(
46398
+ /* @__PURE__ */ React295.createElement(
46325
46399
  Box,
46326
46400
  {
46327
46401
  marginTop: "12"
@@ -46329,7 +46403,7 @@ var FunNotificationBanner = ({
46329
46403
  children
46330
46404
  )
46331
46405
  ))
46332
- )), children && /* @__PURE__ */ React294.createElement(
46406
+ )), children && /* @__PURE__ */ React295.createElement(
46333
46407
  "button",
46334
46408
  {
46335
46409
  type: "button",
@@ -46341,13 +46415,13 @@ var FunNotificationBanner = ({
46341
46415
  },
46342
46416
  className: showMoreButtonStyle
46343
46417
  },
46344
- /* @__PURE__ */ React294.createElement(
46418
+ /* @__PURE__ */ React295.createElement(
46345
46419
  Text,
46346
46420
  {
46347
46421
  size: "12",
46348
46422
  color: { base: "secondaryText", hover: "primaryText" }
46349
46423
  },
46350
- /* @__PURE__ */ React294.createElement(Box, { paddingY: "8", textAlign: "center" }, showMore ? "See less" : "See more")
46424
+ /* @__PURE__ */ React295.createElement(Box, { paddingY: "8", textAlign: "center" }, showMore ? "See less" : "See more")
46351
46425
  )
46352
46426
  ))
46353
46427
  ) : null);
@@ -46406,7 +46480,7 @@ var CheckoutNotification = ({
46406
46480
  return null;
46407
46481
  }
46408
46482
  const normalizedTicker = initSettings.config.targetAssetTicker?.toUpperCase();
46409
- return /* @__PURE__ */ React295.createElement(
46483
+ return /* @__PURE__ */ React296.createElement(
46410
46484
  FunNotificationBanner,
46411
46485
  {
46412
46486
  description: parseDescription(checkout, t),
@@ -46420,7 +46494,7 @@ var CheckoutNotification = ({
46420
46494
  },
46421
46495
  onShowMore: trackShowMore
46422
46496
  },
46423
- /* @__PURE__ */ React295.createElement(
46497
+ /* @__PURE__ */ React296.createElement(
46424
46498
  Box,
46425
46499
  {
46426
46500
  paddingY: "8",
@@ -46431,7 +46505,7 @@ var CheckoutNotification = ({
46431
46505
  borderWidth: "1",
46432
46506
  borderStyle: "solid"
46433
46507
  },
46434
- /* @__PURE__ */ React295.createElement(OrderDetailSection, { checkoutHistoryItem: checkout })
46508
+ /* @__PURE__ */ React296.createElement(OrderDetailSection, { checkoutHistoryItem: checkout })
46435
46509
  )
46436
46510
  );
46437
46511
  };
@@ -46466,25 +46540,25 @@ var parseDescription = (checkout, t) => {
46466
46540
  return t("transaction.depositHasBeenCredited");
46467
46541
  }
46468
46542
  if (checkout.refundState === "REFUNDED" || checkout.refundState === "ERROR") {
46469
- return /* @__PURE__ */ React295.createElement(
46543
+ return /* @__PURE__ */ React296.createElement(
46470
46544
  Trans20,
46471
46545
  {
46472
46546
  t,
46473
46547
  i18nKey: "transaction.depositDidntCompleteError",
46474
46548
  components: {
46475
- ContactSupportLink: /* @__PURE__ */ React295.createElement(ContactSupportLink, null)
46549
+ ContactSupportLink: /* @__PURE__ */ React296.createElement(ContactSupportLink, null)
46476
46550
  }
46477
46551
  }
46478
46552
  );
46479
46553
  }
46480
46554
  if (isError || checkout.refundState) {
46481
- return /* @__PURE__ */ React295.createElement(
46555
+ return /* @__PURE__ */ React296.createElement(
46482
46556
  Trans20,
46483
46557
  {
46484
46558
  t,
46485
46559
  i18nKey: "transaction.depositDidntCompleteFundsSafe",
46486
46560
  components: {
46487
- ContactSupportLink: /* @__PURE__ */ React295.createElement(ContactSupportLink, null)
46561
+ ContactSupportLink: /* @__PURE__ */ React296.createElement(ContactSupportLink, null)
46488
46562
  }
46489
46563
  }
46490
46564
  );
@@ -46493,7 +46567,7 @@ var parseDescription = (checkout, t) => {
46493
46567
  };
46494
46568
  var parseDisclaimer = (checkout, onHelp, t) => {
46495
46569
  const { isError } = getCheckoutStateBooleans(checkout.state);
46496
- const contactLink = /* @__PURE__ */ React295.createElement(
46570
+ const contactLink = /* @__PURE__ */ React296.createElement(
46497
46571
  FunLinkButton,
46498
46572
  {
46499
46573
  text: t("transaction.contactUs"),
@@ -46504,7 +46578,7 @@ var parseDisclaimer = (checkout, onHelp, t) => {
46504
46578
  }
46505
46579
  );
46506
46580
  if (isError) {
46507
- return /* @__PURE__ */ React295.createElement(
46581
+ return /* @__PURE__ */ React296.createElement(
46508
46582
  Trans20,
46509
46583
  {
46510
46584
  i18nKey: "transaction.depositBeingProcessedFull",
@@ -46518,7 +46592,7 @@ var parseDisclaimer = (checkout, onHelp, t) => {
46518
46592
  return t("checkout.orderRefunded");
46519
46593
  }
46520
46594
  if (checkout.refundState === "PROCEEDED" || isDelayed(checkout)) {
46521
- return /* @__PURE__ */ React295.createElement(
46595
+ return /* @__PURE__ */ React296.createElement(
46522
46596
  Trans20,
46523
46597
  {
46524
46598
  i18nKey: "transaction.transactionDelayedFundsSafeFull",
@@ -46531,7 +46605,7 @@ var parseDisclaimer = (checkout, onHelp, t) => {
46531
46605
  };
46532
46606
 
46533
46607
  // src/modals/CheckoutModal/TransferToken/DirectExecutionNotification.tsx
46534
- import React296 from "react";
46608
+ import React297 from "react";
46535
46609
  import { Trans as Trans21 } from "react-i18next";
46536
46610
  var mapDirectExecutionStateToNotificationStatus = (isProcessing, isDelayed2, isRefunded, isCompleted, isFailed) => {
46537
46611
  if (isProcessing) {
@@ -46615,13 +46689,13 @@ var DirectExecutionNotification = ({
46615
46689
  delayed: t("transaction.depositWillBeCredited"),
46616
46690
  completed: t("transaction.depositHasBeenCredited"),
46617
46691
  // Relay refunded which either goes back to user (balance flow) or reprocessed (qr code)
46618
- expired: /* @__PURE__ */ React296.createElement(
46692
+ expired: /* @__PURE__ */ React297.createElement(
46619
46693
  Trans21,
46620
46694
  {
46621
46695
  t,
46622
46696
  i18nKey: "transaction.depositRefundedOrReprocessed",
46623
46697
  components: {
46624
- ContactSupportLink: /* @__PURE__ */ React296.createElement(ContactSupportLink, null)
46698
+ ContactSupportLink: /* @__PURE__ */ React297.createElement(ContactSupportLink, null)
46625
46699
  }
46626
46700
  }
46627
46701
  ),
@@ -46640,7 +46714,7 @@ var DirectExecutionNotification = ({
46640
46714
  status: notificationStatus
46641
46715
  });
46642
46716
  const normalizedTicker = initSettings.config.targetAssetTicker?.toUpperCase();
46643
- return /* @__PURE__ */ React296.createElement(
46717
+ return /* @__PURE__ */ React297.createElement(
46644
46718
  FunNotificationBanner,
46645
46719
  {
46646
46720
  title: getNotificationContent(
@@ -46668,7 +46742,7 @@ var DirectExecutionNotification = ({
46668
46742
  },
46669
46743
  onShowMore: trackShowMore
46670
46744
  },
46671
- /* @__PURE__ */ React296.createElement(
46745
+ /* @__PURE__ */ React297.createElement(
46672
46746
  Box,
46673
46747
  {
46674
46748
  paddingY: "8",
@@ -46679,12 +46753,12 @@ var DirectExecutionNotification = ({
46679
46753
  borderWidth: "1",
46680
46754
  borderStyle: "solid"
46681
46755
  },
46682
- /* @__PURE__ */ React296.createElement(DirectExecutionOrderDetailSection, { directExecution })
46756
+ /* @__PURE__ */ React297.createElement(DirectExecutionOrderDetailSection, { directExecution })
46683
46757
  )
46684
46758
  );
46685
46759
  };
46686
46760
  var parseDisclaimer2 = (t, isRefunded, isDelayed2, isFailed, onHelp) => {
46687
- const contactLink = /* @__PURE__ */ React296.createElement(
46761
+ const contactLink = /* @__PURE__ */ React297.createElement(
46688
46762
  FunLinkButton,
46689
46763
  {
46690
46764
  text: t("transaction.contactUs"),
@@ -46695,7 +46769,7 @@ var parseDisclaimer2 = (t, isRefunded, isDelayed2, isFailed, onHelp) => {
46695
46769
  }
46696
46770
  );
46697
46771
  if (isFailed || isRefunded) {
46698
- return /* @__PURE__ */ React296.createElement(
46772
+ return /* @__PURE__ */ React297.createElement(
46699
46773
  Trans21,
46700
46774
  {
46701
46775
  i18nKey: "transaction.depositDidntCompleteFull",
@@ -46706,7 +46780,7 @@ var parseDisclaimer2 = (t, isRefunded, isDelayed2, isFailed, onHelp) => {
46706
46780
  );
46707
46781
  }
46708
46782
  if (isDelayed2) {
46709
- return /* @__PURE__ */ React296.createElement(
46783
+ return /* @__PURE__ */ React297.createElement(
46710
46784
  Trans21,
46711
46785
  {
46712
46786
  i18nKey: "transaction.depositDelayedFundsSafeFull",
@@ -46794,7 +46868,7 @@ var CheckoutNotifications = ({
46794
46868
  if (!isVisible) {
46795
46869
  return null;
46796
46870
  }
46797
- return /* @__PURE__ */ React297.createElement(
46871
+ return /* @__PURE__ */ React298.createElement(
46798
46872
  Box,
46799
46873
  {
46800
46874
  position: "absolute",
@@ -46802,9 +46876,9 @@ var CheckoutNotifications = ({
46802
46876
  maxHeight: "full",
46803
46877
  style: { bottom: 0, left: 0, right: 0, zIndex: OVERLAY_Z_INDEX }
46804
46878
  },
46805
- /* @__PURE__ */ React297.createElement(Box, { display: "flex", flexDirection: "column", gap: "8", padding: "8" }, displayedNotifications.map((item) => {
46879
+ /* @__PURE__ */ React298.createElement(Box, { display: "flex", flexDirection: "column", gap: "8", padding: "8" }, displayedNotifications.map((item) => {
46806
46880
  if (item.isDirectExecution) {
46807
- return /* @__PURE__ */ React297.createElement(
46881
+ return /* @__PURE__ */ React298.createElement(
46808
46882
  DirectExecutionNotification,
46809
46883
  {
46810
46884
  key: getDirectExecutionNotificationKey(item),
@@ -46814,7 +46888,7 @@ var CheckoutNotifications = ({
46814
46888
  }
46815
46889
  );
46816
46890
  }
46817
- return /* @__PURE__ */ React297.createElement(
46891
+ return /* @__PURE__ */ React298.createElement(
46818
46892
  CheckoutNotification,
46819
46893
  {
46820
46894
  key: item.depositAddr,
@@ -46823,7 +46897,7 @@ var CheckoutNotifications = ({
46823
46897
  onHelp
46824
46898
  }
46825
46899
  );
46826
- }), combinedNotifications.length > COLLAPSED_COUNT && /* @__PURE__ */ React297.createElement(
46900
+ }), combinedNotifications.length > COLLAPSED_COUNT && /* @__PURE__ */ React298.createElement(
46827
46901
  FunNotificationShowMoreButton,
46828
46902
  {
46829
46903
  isExpanded,
@@ -46929,7 +47003,7 @@ function useCheckoutModalQueryPreload() {
46929
47003
  function FunCheckoutModalStepComponent(props) {
46930
47004
  useCheckoutModalQueryPreload();
46931
47005
  const { Component: Component2 } = CheckoutModalSteps[props.modalState.step];
46932
- return /* @__PURE__ */ React298.createElement(Component2, { ...props });
47006
+ return /* @__PURE__ */ React299.createElement(Component2, { ...props });
46933
47007
  }
46934
47008
  function getSwappedExtraPaddingExcludedSteps(startingStep) {
46935
47009
  const steps = ["source_change" /* SOURCE_CHANGE */];
@@ -47036,7 +47110,7 @@ function FunCheckoutModalInner({
47036
47110
  isActiveCheckout: true,
47037
47111
  isCheckoutDetailView: modalState.step === "checkout_complete" /* CHECKOUT_COMPLETE */,
47038
47112
  paddingTop: 0,
47039
- topbar: /* @__PURE__ */ React298.createElement(
47113
+ topbar: /* @__PURE__ */ React299.createElement(
47040
47114
  Dialog.Title,
47041
47115
  {
47042
47116
  hasBackButton: hasBack && !showBlockedUI,
@@ -47056,7 +47130,7 @@ function FunCheckoutModalInner({
47056
47130
  modalState.step
47057
47131
  ) && isSwappedEnabled;
47058
47132
  const isSourceChangeLikeStep = modalState.step === "source_change" /* SOURCE_CHANGE */ || modalState.step === "loading_account" /* LOADING_ACCOUNT */ && startingStep !== "confirmation" /* CONFIRMATION */ && startingStep !== "select_asset" /* SELECT_ASSET */;
47059
- return /* @__PURE__ */ React298.createElement(
47133
+ return /* @__PURE__ */ React299.createElement(
47060
47134
  Dialog,
47061
47135
  {
47062
47136
  open,
@@ -47069,13 +47143,13 @@ function FunCheckoutModalInner({
47069
47143
  isFanaticsBottomSheet: isFanatics,
47070
47144
  backgroundOverlay: successScreenBackgroundOverlay
47071
47145
  },
47072
- /* @__PURE__ */ React298.createElement(SwappedProvider, null, /* @__PURE__ */ React298.createElement(CheckoutModalPrefetchedHooks, null), /* @__PURE__ */ React298.createElement(TooltipAnchorRefContext.Provider, { value: tooltipAnchorRef }, /* @__PURE__ */ React298.createElement(
47146
+ /* @__PURE__ */ React299.createElement(SwappedProvider, null, /* @__PURE__ */ React299.createElement(CheckoutModalPrefetchedHooks, null), /* @__PURE__ */ React299.createElement(TooltipAnchorRefContext.Provider, { value: tooltipAnchorRef }, /* @__PURE__ */ React299.createElement(
47073
47147
  FunCheckoutModalHeightAnimationWrapper,
47074
47148
  {
47075
47149
  checkoutConfig,
47076
47150
  checkoutStep: modalState.step
47077
47151
  },
47078
- modalState.showWalletOptions ? /* @__PURE__ */ React298.createElement(
47152
+ modalState.showWalletOptions ? /* @__PURE__ */ React299.createElement(
47079
47153
  FunConnectOptions,
47080
47154
  {
47081
47155
  initialScreenOnBack: () => setModalState((state) => ({
@@ -47091,7 +47165,7 @@ function FunCheckoutModalInner({
47091
47165
  },
47092
47166
  walletsOnly: true
47093
47167
  }
47094
- ) : /* @__PURE__ */ React298.createElement(React298.Fragment, null, !hideTopbar && topbar, /* @__PURE__ */ React298.createElement(
47168
+ ) : /* @__PURE__ */ React299.createElement(React299.Fragment, null, !hideTopbar && topbar, /* @__PURE__ */ React299.createElement(
47095
47169
  Dialog.Content,
47096
47170
  {
47097
47171
  fullHeight: showFullHeight || hideTopbar,
@@ -47105,17 +47179,17 @@ function FunCheckoutModalInner({
47105
47179
  extraContentTopPadding: !shouldSkipExtraContentTopPadding,
47106
47180
  withChildScrollArea: isSourceChangeLikeStep
47107
47181
  },
47108
- showBlockedUI ? /* @__PURE__ */ React298.createElement(FunCheckoutBlocked, { reason: blockedReason }) : /* @__PURE__ */ React298.createElement(FunCheckoutModalStepComponent, { ...modalProps }),
47109
- /* @__PURE__ */ React298.createElement("div", { ref: tooltipAnchorRef })
47182
+ showBlockedUI ? /* @__PURE__ */ React299.createElement(FunCheckoutBlocked, { reason: blockedReason }) : /* @__PURE__ */ React299.createElement(FunCheckoutModalStepComponent, { ...modalProps }),
47183
+ /* @__PURE__ */ React299.createElement("div", { ref: tooltipAnchorRef })
47110
47184
  )),
47111
- /* @__PURE__ */ React298.createElement(
47185
+ /* @__PURE__ */ React299.createElement(
47112
47186
  Dialog.BottomSection,
47113
47187
  {
47114
47188
  id: MODAL_BOTTOM_BAR_IDS.checkout,
47115
47189
  display: modalState.showWalletOptions ? "none" : "block"
47116
47190
  }
47117
47191
  ),
47118
- !showBlockedUI && /* @__PURE__ */ React298.createElement(
47192
+ !showBlockedUI && /* @__PURE__ */ React299.createElement(
47119
47193
  CheckoutNotifications,
47120
47194
  {
47121
47195
  onHelp: handleCheckoutHelp,
@@ -47123,7 +47197,7 @@ function FunCheckoutModalInner({
47123
47197
  variant: notificationVariant
47124
47198
  }
47125
47199
  )
47126
- ), /* @__PURE__ */ React298.createElement(SwappedIframe_default, null)))
47200
+ ), /* @__PURE__ */ React299.createElement(SwappedIframe_default, null)))
47127
47201
  );
47128
47202
  }
47129
47203
  function FunCheckoutModal({
@@ -47135,7 +47209,7 @@ function FunCheckoutModal({
47135
47209
  if (!checkoutItem) {
47136
47210
  return null;
47137
47211
  }
47138
- return /* @__PURE__ */ React298.createElement(
47212
+ return /* @__PURE__ */ React299.createElement(
47139
47213
  FunCheckoutModalInner,
47140
47214
  {
47141
47215
  checkoutItem,
@@ -47155,20 +47229,20 @@ var hideModalTitleMetaIfTrue = (checkoutConfig, hideModalMeta) => {
47155
47229
  };
47156
47230
 
47157
47231
  // src/modals/ConnectModal/ConnectModal.tsx
47158
- import React299 from "react";
47232
+ import React300 from "react";
47159
47233
  var TITLE_ID2 = "rk-connect-modal-title";
47160
47234
  function ConnectModal({ onClose, open }) {
47161
47235
  const connectionStatus = useConnectionStatus();
47162
47236
  const { disconnect } = useFunkitDisconnect();
47163
47237
  const { isConnecting } = useAccount();
47164
- const onConnectModalCancel = React299.useCallback(() => {
47238
+ const onConnectModalCancel = React300.useCallback(() => {
47165
47239
  if (isConnecting) {
47166
47240
  disconnect();
47167
47241
  }
47168
47242
  onClose();
47169
47243
  }, [onClose, disconnect, isConnecting]);
47170
47244
  if (connectionStatus === "disconnected" || connectionStatus === "loading") {
47171
- return /* @__PURE__ */ React299.createElement(
47245
+ return /* @__PURE__ */ React300.createElement(
47172
47246
  Dialog,
47173
47247
  {
47174
47248
  onClose: onConnectModalCancel,
@@ -47176,7 +47250,7 @@ function ConnectModal({ onClose, open }) {
47176
47250
  titleId: TITLE_ID2,
47177
47251
  isSmartCloseable: true
47178
47252
  },
47179
- /* @__PURE__ */ React299.createElement(FunCheckoutModalHeightAnimationWrapper, null, /* @__PURE__ */ React299.createElement(FunConnectOptions, { onClose: onConnectModalCancel }))
47253
+ /* @__PURE__ */ React300.createElement(FunCheckoutModalHeightAnimationWrapper, null, /* @__PURE__ */ React300.createElement(FunConnectOptions, { onClose: onConnectModalCancel }))
47180
47254
  );
47181
47255
  }
47182
47256
  return null;
@@ -47293,7 +47367,7 @@ function ModalProvider({ children }) {
47293
47367
  closeModals();
47294
47368
  }
47295
47369
  }, [isUnauthenticated]);
47296
- return /* @__PURE__ */ React300.createElement(
47370
+ return /* @__PURE__ */ React301.createElement(
47297
47371
  ModalContext.Provider,
47298
47372
  {
47299
47373
  value: useMemo65(
@@ -47339,8 +47413,8 @@ function ModalProvider({ children }) {
47339
47413
  )
47340
47414
  },
47341
47415
  children,
47342
- /* @__PURE__ */ React300.createElement(ConnectModal, { onClose: closeConnectModal, open: connectModalOpen }),
47343
- /* @__PURE__ */ React300.createElement(
47416
+ /* @__PURE__ */ React301.createElement(ConnectModal, { onClose: closeConnectModal, open: connectModalOpen }),
47417
+ /* @__PURE__ */ React301.createElement(
47344
47418
  AccountModal,
47345
47419
  {
47346
47420
  onClose: closeAccountModal,
@@ -47348,8 +47422,8 @@ function ModalProvider({ children }) {
47348
47422
  defaultTab: accountModalTab
47349
47423
  }
47350
47424
  ),
47351
- /* @__PURE__ */ React300.createElement(ChainModal, { onClose: closeChainModal, open: chainModalOpen }),
47352
- /* @__PURE__ */ React300.createElement(
47425
+ /* @__PURE__ */ React301.createElement(ChainModal, { onClose: closeChainModal, open: chainModalOpen }),
47426
+ /* @__PURE__ */ React301.createElement(
47353
47427
  FunCheckoutModal,
47354
47428
  {
47355
47429
  onClose: closeFunCheckoutModal,
@@ -47358,7 +47432,7 @@ function ModalProvider({ children }) {
47358
47432
  key: softHiddenCheckoutId ?? funCheckoutModalId
47359
47433
  }
47360
47434
  ),
47361
- withdrawalModalConfig && /* @__PURE__ */ React300.createElement(
47435
+ withdrawalModalConfig && /* @__PURE__ */ React301.createElement(
47362
47436
  WithdrawalModal,
47363
47437
  {
47364
47438
  onClose: closeWithdrawalModal,
@@ -48065,7 +48139,7 @@ function FunkitCheckoutProvider({ children }) {
48065
48139
  updateDynamicRoutingId,
48066
48140
  applyDynamicTargetAssetCandidate
48067
48141
  };
48068
- return /* @__PURE__ */ React301.createElement(FunkitCheckoutContext.Provider, { value: contextValue }, children);
48142
+ return /* @__PURE__ */ React302.createElement(FunkitCheckoutContext.Provider, { value: contextValue }, children);
48069
48143
  }
48070
48144
  function useCheckoutContext() {
48071
48145
  return useContext21(FunkitCheckoutContext);
@@ -48841,7 +48915,7 @@ function ConnectButtonRenderer({
48841
48915
  const { openChainModal } = useChainModal();
48842
48916
  const { openAccountModal } = useAccountModal();
48843
48917
  const { accountModalOpen, chainModalOpen, connectModalOpen } = useModalState();
48844
- return /* @__PURE__ */ React302.createElement(React302.Fragment, null, children({
48918
+ return /* @__PURE__ */ React303.createElement(React303.Fragment, null, children({
48845
48919
  account: address ? {
48846
48920
  address,
48847
48921
  balanceDecimals: balanceData?.decimals,
@@ -48898,7 +48972,7 @@ function ChainSelectorButton({
48898
48972
  chain
48899
48973
  }) {
48900
48974
  const { t } = useFunkitTranslation();
48901
- return /* @__PURE__ */ React303.createElement(
48975
+ return /* @__PURE__ */ React304.createElement(
48902
48976
  Box,
48903
48977
  {
48904
48978
  alignItems: "center",
@@ -48926,7 +49000,7 @@ function ChainSelectorButton({
48926
49000
  type: "button",
48927
49001
  ...connectButtonStyles
48928
49002
  },
48929
- unsupportedChain ? /* @__PURE__ */ React303.createElement(Box, { alignItems: "center", display: "flex", height: "24", paddingX: "4" }, t("chainModal.wrongNetwork")) : /* @__PURE__ */ React303.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, chain.hasIcon ? /* @__PURE__ */ React303.createElement(
49003
+ unsupportedChain ? /* @__PURE__ */ React304.createElement(Box, { alignItems: "center", display: "flex", height: "24", paddingX: "4" }, t("chainModal.wrongNetwork")) : /* @__PURE__ */ React304.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, chain.hasIcon ? /* @__PURE__ */ React304.createElement(
48930
49004
  Box,
48931
49005
  {
48932
49006
  display: mapResponsiveValue(
@@ -48936,7 +49010,7 @@ function ChainSelectorButton({
48936
49010
  height: "12",
48937
49011
  width: "12"
48938
49012
  },
48939
- /* @__PURE__ */ React303.createElement(
49013
+ /* @__PURE__ */ React304.createElement(
48940
49014
  AsyncImage,
48941
49015
  {
48942
49016
  alt: chain.name ?? "Chain icon",
@@ -48947,7 +49021,7 @@ function ChainSelectorButton({
48947
49021
  src: chain.iconUrl
48948
49022
  }
48949
49023
  )
48950
- ) : null, /* @__PURE__ */ React303.createElement(
49024
+ ) : null, /* @__PURE__ */ React304.createElement(
48951
49025
  Box,
48952
49026
  {
48953
49027
  display: mapResponsiveValue(chainStatus, (value) => {
@@ -48967,7 +49041,7 @@ function AccountButton({
48967
49041
  showBalance,
48968
49042
  accountStatus
48969
49043
  }) {
48970
- return /* @__PURE__ */ React303.createElement(
49044
+ return /* @__PURE__ */ React304.createElement(
48971
49045
  Box,
48972
49046
  {
48973
49047
  alignItems: "center",
@@ -48987,7 +49061,7 @@ function AccountButton({
48987
49061
  gap: "16",
48988
49062
  ...connectButtonStyles
48989
49063
  },
48990
- account.displayBalance && /* @__PURE__ */ React303.createElement(
49064
+ account.displayBalance && /* @__PURE__ */ React304.createElement(
48991
49065
  Box,
48992
49066
  {
48993
49067
  display: mapResponsiveValue(
@@ -48997,7 +49071,7 @@ function AccountButton({
48997
49071
  },
48998
49072
  account.displayBalance
48999
49073
  ),
49000
- /* @__PURE__ */ React303.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, /* @__PURE__ */ React303.createElement(
49074
+ /* @__PURE__ */ React304.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, /* @__PURE__ */ React304.createElement(
49001
49075
  Box,
49002
49076
  {
49003
49077
  display: mapResponsiveValue(
@@ -49005,7 +49079,7 @@ function AccountButton({
49005
49079
  (value) => value === "full" || value === "avatar" ? "block" : "none"
49006
49080
  )
49007
49081
  },
49008
- /* @__PURE__ */ React303.createElement(
49082
+ /* @__PURE__ */ React304.createElement(
49009
49083
  Avatar,
49010
49084
  {
49011
49085
  address: account.address,
@@ -49014,7 +49088,7 @@ function AccountButton({
49014
49088
  size: 12
49015
49089
  }
49016
49090
  )
49017
- ), /* @__PURE__ */ React303.createElement(
49091
+ ), /* @__PURE__ */ React304.createElement(
49018
49092
  Box,
49019
49093
  {
49020
49094
  display: mapResponsiveValue(
@@ -49047,7 +49121,7 @@ function ConnectButton({
49047
49121
  setReady(true);
49048
49122
  }
49049
49123
  }, [showBalance, setShowBalance, ready]);
49050
- return ready ? /* @__PURE__ */ React303.createElement(ConnectButtonRenderer, null, ({
49124
+ return ready ? /* @__PURE__ */ React304.createElement(ConnectButtonRenderer, null, ({
49051
49125
  account,
49052
49126
  chain,
49053
49127
  mounted,
@@ -49057,7 +49131,7 @@ function ConnectButton({
49057
49131
  }) => {
49058
49132
  const ready2 = mounted && connectionStatus !== "loading";
49059
49133
  const unsupportedChain = chain?.unsupported ?? false;
49060
- return /* @__PURE__ */ React303.createElement(
49134
+ return /* @__PURE__ */ React304.createElement(
49061
49135
  Box,
49062
49136
  {
49063
49137
  display: "flex",
@@ -49073,7 +49147,7 @@ function ConnectButton({
49073
49147
  },
49074
49148
  ready2 && account && connectionStatus === "connected" ? (
49075
49149
  // Logged in: Chain Button & Account Button
49076
- /* @__PURE__ */ React303.createElement(React303.Fragment, null, showChainSelector && chain && (chains.length > 1 || unsupportedChain) && /* @__PURE__ */ React303.createElement(
49150
+ /* @__PURE__ */ React304.createElement(React304.Fragment, null, showChainSelector && chain && (chains.length > 1 || unsupportedChain) && /* @__PURE__ */ React304.createElement(
49077
49151
  ChainSelectorButton,
49078
49152
  {
49079
49153
  unsupportedChain,
@@ -49081,7 +49155,7 @@ function ConnectButton({
49081
49155
  openChainModal,
49082
49156
  chain
49083
49157
  }
49084
- ), !unsupportedChain && /* @__PURE__ */ React303.createElement(
49158
+ ), !unsupportedChain && /* @__PURE__ */ React304.createElement(
49085
49159
  AccountButton,
49086
49160
  {
49087
49161
  openAccountModal,
@@ -49092,7 +49166,7 @@ function ConnectButton({
49092
49166
  ))
49093
49167
  ) : (
49094
49168
  // Not logged in: Connect Button
49095
- /* @__PURE__ */ React303.createElement(
49169
+ /* @__PURE__ */ React304.createElement(
49096
49170
  Box,
49097
49171
  {
49098
49172
  as: "button",
@@ -49110,19 +49184,19 @@ function ConnectButton({
49110
49184
  type: "button",
49111
49185
  ...connectButtonStyles
49112
49186
  },
49113
- /* @__PURE__ */ React303.createElement(Box, { display: "flex", gap: "8", alignItems: "center" }, mounted && label, suffixIcon)
49187
+ /* @__PURE__ */ React304.createElement(Box, { display: "flex", gap: "8", alignItems: "center" }, mounted && label, suffixIcon)
49114
49188
  )
49115
49189
  )
49116
49190
  );
49117
- }) : /* @__PURE__ */ React303.createElement(React303.Fragment, null);
49191
+ }) : /* @__PURE__ */ React304.createElement(React304.Fragment, null);
49118
49192
  }
49119
49193
  ConnectButton.__defaultProps = defaultProps;
49120
49194
  ConnectButton.Custom = ConnectButtonRenderer;
49121
49195
 
49122
49196
  // src/components/Icons/FunkitPaymentsIconLine.tsx
49123
- import React304 from "react";
49197
+ import React305 from "react";
49124
49198
  function MetaMaskPaymentIcon({ size = 16 }) {
49125
- return /* @__PURE__ */ React304.createElement(
49199
+ return /* @__PURE__ */ React305.createElement(
49126
49200
  "svg",
49127
49201
  {
49128
49202
  width: size,
@@ -49131,7 +49205,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49131
49205
  fill: "none",
49132
49206
  xmlns: "http://www.w3.org/2000/svg"
49133
49207
  },
49134
- /* @__PURE__ */ React304.createElement(
49208
+ /* @__PURE__ */ React305.createElement(
49135
49209
  "path",
49136
49210
  {
49137
49211
  d: "M24.0891 3.1199L15.3446 9.61456L16.9617 5.7828L24.0891 3.1199Z",
@@ -49142,7 +49216,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49142
49216
  strokeLinejoin: "round"
49143
49217
  }
49144
49218
  ),
49145
- /* @__PURE__ */ React304.createElement(
49219
+ /* @__PURE__ */ React305.createElement(
49146
49220
  "path",
49147
49221
  {
49148
49222
  d: "M3.90207 3.1199L12.5763 9.67608L11.0383 5.7828L3.90207 3.1199Z",
@@ -49153,7 +49227,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49153
49227
  strokeLinejoin: "round"
49154
49228
  }
49155
49229
  ),
49156
- /* @__PURE__ */ React304.createElement(
49230
+ /* @__PURE__ */ React305.createElement(
49157
49231
  "path",
49158
49232
  {
49159
49233
  d: "M20.9429 18.1745L18.6139 21.7426L23.597 23.1136L25.0295 18.2536L20.9429 18.1745Z",
@@ -49164,7 +49238,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49164
49238
  strokeLinejoin: "round"
49165
49239
  }
49166
49240
  ),
49167
- /* @__PURE__ */ React304.createElement(
49241
+ /* @__PURE__ */ React305.createElement(
49168
49242
  "path",
49169
49243
  {
49170
49244
  d: "M2.97929 18.2536L4.40301 23.1136L9.38607 21.7426L7.05713 18.1745L2.97929 18.2536Z",
@@ -49175,7 +49249,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49175
49249
  strokeLinejoin: "round"
49176
49250
  }
49177
49251
  ),
49178
- /* @__PURE__ */ React304.createElement(
49252
+ /* @__PURE__ */ React305.createElement(
49179
49253
  "path",
49180
49254
  {
49181
49255
  d: "M9.10483 12.1456L7.71626 14.2461L12.6642 14.4658L12.4884 9.14877L9.10483 12.1456Z",
@@ -49186,7 +49260,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49186
49260
  strokeLinejoin: "round"
49187
49261
  }
49188
49262
  ),
49189
- /* @__PURE__ */ React304.createElement(
49263
+ /* @__PURE__ */ React305.createElement(
49190
49264
  "path",
49191
49265
  {
49192
49266
  d: "M18.8864 12.1456L15.4589 9.08725L15.3446 14.4658L20.2837 14.2461L18.8864 12.1456Z",
@@ -49197,7 +49271,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49197
49271
  strokeLinejoin: "round"
49198
49272
  }
49199
49273
  ),
49200
- /* @__PURE__ */ React304.createElement(
49274
+ /* @__PURE__ */ React305.createElement(
49201
49275
  "path",
49202
49276
  {
49203
49277
  d: "M9.38606 21.7426L12.3566 20.2925L9.79033 18.2888L9.38606 21.7426Z",
@@ -49208,7 +49282,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49208
49282
  strokeLinejoin: "round"
49209
49283
  }
49210
49284
  ),
49211
- /* @__PURE__ */ React304.createElement(
49285
+ /* @__PURE__ */ React305.createElement(
49212
49286
  "path",
49213
49287
  {
49214
49288
  d: "M15.6347 20.2925L18.6139 21.7426L18.2009 18.2888L15.6347 20.2925Z",
@@ -49219,7 +49293,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49219
49293
  strokeLinejoin: "round"
49220
49294
  }
49221
49295
  ),
49222
- /* @__PURE__ */ React304.createElement(
49296
+ /* @__PURE__ */ React305.createElement(
49223
49297
  "path",
49224
49298
  {
49225
49299
  d: "M18.6139 21.7426L15.6347 20.2925L15.8719 22.2348L15.8456 23.0521L18.6139 21.7426Z",
@@ -49230,7 +49304,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49230
49304
  strokeLinejoin: "round"
49231
49305
  }
49232
49306
  ),
49233
- /* @__PURE__ */ React304.createElement(
49307
+ /* @__PURE__ */ React305.createElement(
49234
49308
  "path",
49235
49309
  {
49236
49310
  d: "M9.38606 21.7426L12.1544 23.0521L12.1368 22.2348L12.3566 20.2925L9.38606 21.7426Z",
@@ -49241,7 +49315,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49241
49315
  strokeLinejoin: "round"
49242
49316
  }
49243
49317
  ),
49244
- /* @__PURE__ */ React304.createElement(
49318
+ /* @__PURE__ */ React305.createElement(
49245
49319
  "path",
49246
49320
  {
49247
49321
  d: "M12.1984 17.0056L9.72002 16.2762L11.4689 15.4765L12.1984 17.0056Z",
@@ -49252,7 +49326,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49252
49326
  strokeLinejoin: "round"
49253
49327
  }
49254
49328
  ),
49255
- /* @__PURE__ */ React304.createElement(
49329
+ /* @__PURE__ */ React305.createElement(
49256
49330
  "path",
49257
49331
  {
49258
49332
  d: "M15.7928 17.0056L16.5223 15.4765L18.28 16.2762L15.7928 17.0056Z",
@@ -49263,7 +49337,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49263
49337
  strokeLinejoin: "round"
49264
49338
  }
49265
49339
  ),
49266
- /* @__PURE__ */ React304.createElement(
49340
+ /* @__PURE__ */ React305.createElement(
49267
49341
  "path",
49268
49342
  {
49269
49343
  d: "M9.38606 21.7426L9.80791 18.1745L7.05712 18.2536L9.38606 21.7426Z",
@@ -49274,7 +49348,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49274
49348
  strokeLinejoin: "round"
49275
49349
  }
49276
49350
  ),
49277
- /* @__PURE__ */ React304.createElement(
49351
+ /* @__PURE__ */ React305.createElement(
49278
49352
  "path",
49279
49353
  {
49280
49354
  d: "M18.1921 18.1745L18.6139 21.7426L20.9429 18.2536L18.1921 18.1745Z",
@@ -49285,7 +49359,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49285
49359
  strokeLinejoin: "round"
49286
49360
  }
49287
49361
  ),
49288
- /* @__PURE__ */ React304.createElement(
49362
+ /* @__PURE__ */ React305.createElement(
49289
49363
  "path",
49290
49364
  {
49291
49365
  d: "M20.2837 14.2461L15.3446 14.4658L15.8016 17.0057L16.5311 15.4765L18.2888 16.2762L20.2837 14.2461Z",
@@ -49296,7 +49370,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49296
49370
  strokeLinejoin: "round"
49297
49371
  }
49298
49372
  ),
49299
- /* @__PURE__ */ React304.createElement(
49373
+ /* @__PURE__ */ React305.createElement(
49300
49374
  "path",
49301
49375
  {
49302
49376
  d: "M9.72002 16.2762L11.4777 15.4765L12.1984 17.0057L12.6642 14.4658L7.71626 14.2461L9.72002 16.2762Z",
@@ -49307,7 +49381,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49307
49381
  strokeLinejoin: "round"
49308
49382
  }
49309
49383
  ),
49310
- /* @__PURE__ */ React304.createElement(
49384
+ /* @__PURE__ */ React305.createElement(
49311
49385
  "path",
49312
49386
  {
49313
49387
  d: "M7.71626 14.2461L9.79033 18.2888L9.72002 16.2762L7.71626 14.2461Z",
@@ -49318,7 +49392,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49318
49392
  strokeLinejoin: "round"
49319
49393
  }
49320
49394
  ),
49321
- /* @__PURE__ */ React304.createElement(
49395
+ /* @__PURE__ */ React305.createElement(
49322
49396
  "path",
49323
49397
  {
49324
49398
  d: "M18.2888 16.2762L18.2009 18.2888L20.2837 14.2461L18.2888 16.2762Z",
@@ -49329,7 +49403,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49329
49403
  strokeLinejoin: "round"
49330
49404
  }
49331
49405
  ),
49332
- /* @__PURE__ */ React304.createElement(
49406
+ /* @__PURE__ */ React305.createElement(
49333
49407
  "path",
49334
49408
  {
49335
49409
  d: "M12.6642 14.4658L12.1984 17.0057L12.7784 20.0025L12.9102 16.0565L12.6642 14.4658Z",
@@ -49340,7 +49414,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49340
49414
  strokeLinejoin: "round"
49341
49415
  }
49342
49416
  ),
49343
- /* @__PURE__ */ React304.createElement(
49417
+ /* @__PURE__ */ React305.createElement(
49344
49418
  "path",
49345
49419
  {
49346
49420
  d: "M15.3446 14.4658L15.1073 16.0477L15.2128 20.0025L15.8016 17.0057L15.3446 14.4658Z",
@@ -49351,7 +49425,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49351
49425
  strokeLinejoin: "round"
49352
49426
  }
49353
49427
  ),
49354
- /* @__PURE__ */ React304.createElement(
49428
+ /* @__PURE__ */ React305.createElement(
49355
49429
  "path",
49356
49430
  {
49357
49431
  d: "M15.8016 17.0056L15.2128 20.0025L15.6347 20.2925L18.2009 18.2888L18.2888 16.2762L15.8016 17.0056Z",
@@ -49362,7 +49436,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49362
49436
  strokeLinejoin: "round"
49363
49437
  }
49364
49438
  ),
49365
- /* @__PURE__ */ React304.createElement(
49439
+ /* @__PURE__ */ React305.createElement(
49366
49440
  "path",
49367
49441
  {
49368
49442
  d: "M9.72002 16.2762L9.79033 18.2888L12.3566 20.2925L12.7784 20.0025L12.1984 17.0056L9.72002 16.2762Z",
@@ -49373,7 +49447,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49373
49447
  strokeLinejoin: "round"
49374
49448
  }
49375
49449
  ),
49376
- /* @__PURE__ */ React304.createElement(
49450
+ /* @__PURE__ */ React305.createElement(
49377
49451
  "path",
49378
49452
  {
49379
49453
  d: "M15.8456 23.0521L15.8719 22.2348L15.6522 22.0414H12.339L12.1368 22.2348L12.1544 23.0521L9.38606 21.7426L10.3528 22.5336L12.3126 23.8958H15.6786L17.6472 22.5336L18.6139 21.7426L15.8456 23.0521Z",
@@ -49384,7 +49458,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49384
49458
  strokeLinejoin: "round"
49385
49459
  }
49386
49460
  ),
49387
- /* @__PURE__ */ React304.createElement(
49461
+ /* @__PURE__ */ React305.createElement(
49388
49462
  "path",
49389
49463
  {
49390
49464
  d: "M15.6347 20.2925L15.2128 20.0025H12.7784L12.3566 20.2925L12.1368 22.2348L12.339 22.0414H15.6522L15.8719 22.2348L15.6347 20.2925Z",
@@ -49395,7 +49469,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49395
49469
  strokeLinejoin: "round"
49396
49470
  }
49397
49471
  ),
49398
- /* @__PURE__ */ React304.createElement(
49472
+ /* @__PURE__ */ React305.createElement(
49399
49473
  "path",
49400
49474
  {
49401
49475
  d: "M24.4583 10.0364L25.2053 6.45072L24.0891 3.1199L15.6347 9.39485L18.8864 12.1456L23.4827 13.4903L24.5022 12.3038L24.0628 11.9874L24.7658 11.3459L24.221 10.924L24.924 10.3879L24.4583 10.0364Z",
@@ -49406,7 +49480,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49406
49480
  strokeLinejoin: "round"
49407
49481
  }
49408
49482
  ),
49409
- /* @__PURE__ */ React304.createElement(
49483
+ /* @__PURE__ */ React305.createElement(
49410
49484
  "path",
49411
49485
  {
49412
49486
  d: "M2.79472 6.45072L3.54174 10.0364L3.06717 10.3879L3.77024 10.924L3.23415 11.3459L3.93722 11.9874L3.4978 12.3038L4.50847 13.4903L9.10483 12.1456L12.3566 9.39485L3.90207 3.1199L2.79472 6.45072Z",
@@ -49417,7 +49491,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49417
49491
  strokeLinejoin: "round"
49418
49492
  }
49419
49493
  ),
49420
- /* @__PURE__ */ React304.createElement(
49494
+ /* @__PURE__ */ React305.createElement(
49421
49495
  "path",
49422
49496
  {
49423
49497
  d: "M23.4827 13.4903L18.8864 12.1456L20.2837 14.2461L18.2009 18.2888L20.9429 18.2536H25.0295L23.4827 13.4903Z",
@@ -49428,7 +49502,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49428
49502
  strokeLinejoin: "round"
49429
49503
  }
49430
49504
  ),
49431
- /* @__PURE__ */ React304.createElement(
49505
+ /* @__PURE__ */ React305.createElement(
49432
49506
  "path",
49433
49507
  {
49434
49508
  d: "M9.10484 12.1456L4.50848 13.4903L2.97929 18.2536H7.05713L9.79033 18.2888L7.71626 14.2461L9.10484 12.1456Z",
@@ -49439,7 +49513,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49439
49513
  strokeLinejoin: "round"
49440
49514
  }
49441
49515
  ),
49442
- /* @__PURE__ */ React304.createElement(
49516
+ /* @__PURE__ */ React305.createElement(
49443
49517
  "path",
49444
49518
  {
49445
49519
  d: "M15.3446 14.4658L15.6347 9.39485L16.9705 5.7828H11.0383L12.3566 9.39485L12.6642 14.4658L12.7696 16.0653L12.7784 20.0025H15.2128L15.2304 16.0653L15.3446 14.4658Z",
@@ -49453,14 +49527,14 @@ function MetaMaskPaymentIcon({ size = 16 }) {
49453
49527
  );
49454
49528
  }
49455
49529
  function MastercardPaymentIcon({ size = 16 }) {
49456
- return /* @__PURE__ */ React304.createElement(
49530
+ return /* @__PURE__ */ React305.createElement(
49457
49531
  "svg",
49458
49532
  {
49459
49533
  xmlns: "http://www.w3.org/2000/svg",
49460
49534
  height: size,
49461
49535
  viewBox: "0 0 152.407 108"
49462
49536
  },
49463
- /* @__PURE__ */ React304.createElement("g", null, /* @__PURE__ */ React304.createElement("rect", { width: "152.407", height: "108", fill: "transparent" }), /* @__PURE__ */ React304.createElement("g", null, /* @__PURE__ */ React304.createElement(
49537
+ /* @__PURE__ */ React305.createElement("g", null, /* @__PURE__ */ React305.createElement("rect", { width: "152.407", height: "108", fill: "transparent" }), /* @__PURE__ */ React305.createElement("g", null, /* @__PURE__ */ React305.createElement(
49464
49538
  "rect",
49465
49539
  {
49466
49540
  x: "60.4117",
@@ -49469,21 +49543,21 @@ function MastercardPaymentIcon({ size = 16 }) {
49469
49543
  height: "56.6064",
49470
49544
  fill: "#ff5f00"
49471
49545
  }
49472
- ), /* @__PURE__ */ React304.createElement(
49546
+ ), /* @__PURE__ */ React305.createElement(
49473
49547
  "path",
49474
49548
  {
49475
49549
  d: "M382.20839,306a35.9375,35.9375,0,0,1,13.7499-28.3032,36,36,0,1,0,0,56.6064A35.938,35.938,0,0,1,382.20839,306Z",
49476
49550
  transform: "translate(-319.79649 -252)",
49477
49551
  fill: "#eb001b"
49478
49552
  }
49479
- ), /* @__PURE__ */ React304.createElement(
49553
+ ), /* @__PURE__ */ React305.createElement(
49480
49554
  "path",
49481
49555
  {
49482
49556
  d: "M454.20349,306a35.99867,35.99867,0,0,1-58.2452,28.3032,36.00518,36.00518,0,0,0,0-56.6064A35.99867,35.99867,0,0,1,454.20349,306Z",
49483
49557
  transform: "translate(-319.79649 -252)",
49484
49558
  fill: "#f79e1b"
49485
49559
  }
49486
- ), /* @__PURE__ */ React304.createElement(
49560
+ ), /* @__PURE__ */ React305.createElement(
49487
49561
  "path",
49488
49562
  {
49489
49563
  d: "M450.76889,328.3077v-1.1589h.4673v-.2361h-1.1901v.2361h.4675v1.1589Zm2.3105,0v-1.3973h-.3648l-.41959.9611-.41971-.9611h-.365v1.3973h.2576v-1.054l.3935.9087h.2671l.39351-.911v1.0563Z",
@@ -49497,7 +49571,7 @@ function FunkitPaymentsIconLine({
49497
49571
  size = 16,
49498
49572
  gap = "2"
49499
49573
  }) {
49500
- return /* @__PURE__ */ React304.createElement(
49574
+ return /* @__PURE__ */ React305.createElement(
49501
49575
  Box,
49502
49576
  {
49503
49577
  display: "flex",
@@ -49506,9 +49580,9 @@ function FunkitPaymentsIconLine({
49506
49580
  alignItems: "center",
49507
49581
  justifyContent: "center"
49508
49582
  },
49509
- /* @__PURE__ */ React304.createElement(MetaMaskPaymentIcon, { size }),
49510
- /* @__PURE__ */ React304.createElement(MastercardPaymentIcon, { size }),
49511
- /* @__PURE__ */ React304.createElement(CoinbaseIcon, { size })
49583
+ /* @__PURE__ */ React305.createElement(MetaMaskPaymentIcon, { size }),
49584
+ /* @__PURE__ */ React305.createElement(MastercardPaymentIcon, { size }),
49585
+ /* @__PURE__ */ React305.createElement(CoinbaseIcon, { size })
49512
49586
  );
49513
49587
  }
49514
49588