@imtbl/sdk 1.53.0-alpha.2 → 1.53.0-alpha.3

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 (51) hide show
  1. package/dist/{blockchain_data-CluQE4ig.js → blockchain_data-CdEaQ-Rm.js} +2 -2
  2. package/dist/blockchain_data.js +3 -3
  3. package/dist/browser/checkout/{AddFundsWidget-CNGMc-IS.js → AddFundsWidget-C6ASYdqF.js} +6 -12
  4. package/dist/browser/checkout/{BridgeWidget-Duy0xwMA.js → BridgeWidget-1GH2Y2Gl.js} +5 -5
  5. package/dist/browser/checkout/{CheckoutWidget-CmnNEoiQ.js → CheckoutWidget-bKTdGSys.js} +1 -1
  6. package/dist/browser/checkout/{OnRampWidget-D3J6DKX4.js → OnRampWidget-MPFsrkh0.js} +3 -3
  7. package/dist/browser/checkout/{SaleWidget-2cxEZepL.js → SaleWidget-CrWruhMs.js} +9 -9
  8. package/dist/browser/checkout/{SpendingCapHero-DwVSCRbV.js → SpendingCapHero-Cg4WWClJ.js} +1 -1
  9. package/dist/browser/checkout/{SwapWidget-BhIQ2RGv.js → SwapWidget-G1-gLvyX.js} +6 -6
  10. package/dist/browser/checkout/{TextInputForm-xOLL8sp5.js → TextInputForm-DBjNTE6z.js} +1 -1
  11. package/dist/browser/checkout/{TopUpView-CDk71P2Z.js → TopUpView-CIYLtGDm.js} +1 -1
  12. package/dist/browser/checkout/{WalletWidget-q-uY5W9O.js → WalletWidget-qmZQrfmu.js} +3 -3
  13. package/dist/browser/checkout/{auto-track-DxbE98Ou.js → auto-track-DdiuplwC.js} +1 -1
  14. package/dist/browser/checkout/{balance-D95D6qBc.js → balance-CQ6fP7av.js} +2 -2
  15. package/dist/browser/checkout/{index-DtkTTOwU.js → index-B0SLMzFD.js} +1 -1
  16. package/dist/browser/checkout/{index-B6yLcw_w.js → index-BCU32pT8.js} +18 -18
  17. package/dist/browser/checkout/{index-DVD4nZrz.js → index-CZhlFgfu.js} +1 -1
  18. package/dist/browser/checkout/{index-yLOTAIbX.js → index-CwmxMsoB.js} +1 -1
  19. package/dist/browser/checkout/{index-BHrYGHfl.js → index-CxtFhfUN.js} +1 -1
  20. package/dist/browser/checkout/{index-DALfhHW6.js → index-DnzYLaf5.js} +1 -1
  21. package/dist/browser/checkout/{index-tXJ2lSup.js → index-RA3Gu405.js} +1 -1
  22. package/dist/browser/checkout/{index-B_WTkZH5.js → index-lfpKQnKo.js} +2 -2
  23. package/dist/browser/checkout/{index.umd-hRYp6_Sp.js → index.umd-BS53V8xY.js} +1 -1
  24. package/dist/browser/checkout/{retry-BdEfT5hn.js → retry-B3DoYkeU.js} +1 -1
  25. package/dist/browser/checkout/sdk.js +4 -4
  26. package/dist/browser/checkout/widgets-esm.js +1 -1
  27. package/dist/browser/checkout/widgets.js +4 -10
  28. package/dist/{checkout-_x4o1PXJ.js → checkout-BYBtka2A.js} +5 -5
  29. package/dist/checkout.js +5 -5
  30. package/dist/{config-B6i-SnvY.js → config-I7a2mQO6.js} +1 -1
  31. package/dist/config.js +1 -1
  32. package/dist/{index-BIcLZvME.js → index--q2CpQMT.js} +1 -1
  33. package/dist/{index-B_pRIuPc.js → index-CP2pWQpr.js} +1 -1
  34. package/dist/{index-Cl4MdhKt.js → index-CT_EnHAo.js} +1 -1
  35. package/dist/{index-DlgL08gX.js → index-DUaoQjPO.js} +3 -3
  36. package/dist/{index-wyhsZX8z.js → index-DXHtkYr0.js} +1 -1
  37. package/dist/{index-D7qQ3tKe.js → index-DbqnubQZ.js} +4 -4
  38. package/dist/index.browser.js +4 -4
  39. package/dist/index.cjs +7 -7
  40. package/dist/index.js +14 -14
  41. package/dist/{minting_backend-CXx53dyy.js → minting_backend-C1g1QlE4.js} +3 -3
  42. package/dist/minting_backend.js +5 -5
  43. package/dist/{orderbook-BiR8ZCkD.js → orderbook-D9fkEKPn.js} +1 -1
  44. package/dist/orderbook.js +2 -2
  45. package/dist/{passport-BNClC3L_.js → passport-plLnBmYc.js} +3 -3
  46. package/dist/passport.js +4 -4
  47. package/dist/{webhook-C8yXs6Dr.js → webhook-D8hT5QcH.js} +1 -1
  48. package/dist/webhook.js +2 -2
  49. package/dist/{x-Cdd0WPMb.js → x-BSH_18kB.js} +3 -3
  50. package/dist/x.js +4 -4
  51. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { A as APIError, B as BlockchainData } from './index-DlgL08gX.js';
2
- import { i as index } from './index-wyhsZX8z.js';
1
+ import { A as APIError, B as BlockchainData } from './index-DUaoQjPO.js';
2
+ import { i as index } from './index-DXHtkYr0.js';
3
3
 
4
4
  var blockchain_data = /*#__PURE__*/Object.freeze({
5
5
  __proto__: null,
@@ -1,6 +1,6 @@
1
- export { A as APIError, B as BlockchainData } from './index-DlgL08gX.js';
2
- export { i as Types } from './index-wyhsZX8z.js';
3
- import './index-BIcLZvME.js';
1
+ export { A as APIError, B as BlockchainData } from './index-DUaoQjPO.js';
2
+ export { i as Types } from './index-DXHtkYr0.js';
3
+ import './index--q2CpQMT.js';
4
4
  import 'axios';
5
5
  import 'lru-memorise';
6
6
  import 'global-const';
@@ -1,5 +1,5 @@
1
- import { r as reactExports, l as useTranslation, n as jsxs, j as jsx, M as MenuItem, aG as motion, aH as listVariants, aI as listItemVariants, a as Box, a7 as Drawer, V as ViewContext, E as EventTargetContext, p as ViewActions, K as SharedViews, Y as HeaderNavigation, F as orchestrationEvents, I as IMTBLWidgetEvents, bh as amountInputValidation, o as Body, cK as OverflowPopoverMenu, a2 as SimpleLayout, T as TokenFilterTypes, x as getL2ChainId, cL as commonjsGlobal, cM as requireSecp256k1$1, cN as requireLib_commonjs, cO as require$$0$3, cP as requireDist$1, cQ as bech32$2, cR as bnExports$1, cS as require$$0$4, cT as getAugmentedNamespace, cU as require$$0$5, cV as minimalisticAssert, cW as require$$2, cX as hash$6, ah as viewReducer, ai as initialViewState, t as useAnalytics, cY as sendAddFundsCloseEvent, ak as ErrorView, U as UserJourney } from './index-B6yLcw_w.js';
2
- import { T as TextInputForm } from './TextInputForm-xOLL8sp5.js';
1
+ import { r as reactExports, l as useTranslation, n as jsxs, j as jsx, M as MenuItem, aG as motion, aH as listVariants, aI as listItemVariants, a as Box, a7 as Drawer, V as ViewContext, E as EventTargetContext, p as ViewActions, K as SharedViews, Y as HeaderNavigation, F as orchestrationEvents, I as IMTBLWidgetEvents, bh as amountInputValidation, o as Body, cK as OverflowPopoverMenu, a2 as SimpleLayout, T as TokenFilterTypes, x as getL2ChainId, cL as commonjsGlobal, cM as requireSecp256k1$1, cN as requireLib_commonjs, cO as require$$0$3, cP as requireDist$1, cQ as bech32$2, cR as bnExports$1, cS as require$$0$4, cT as getAugmentedNamespace, cU as require$$0$5, cV as minimalisticAssert, cW as require$$2, cX as hash$6, ah as viewReducer, ai as initialViewState, t as useAnalytics, cY as sendAddFundsCloseEvent, ak as ErrorView, U as UserJourney } from './index-BCU32pT8.js';
2
+ import { T as TextInputForm } from './TextInputForm-DBjNTE6z.js';
3
3
 
4
4
  const initialAddFundsState = {
5
5
  checkout: null,
@@ -142,11 +142,7 @@ showBridgeOption, visible, onClose, onPayWithCard, }) {
142
142
  } }) }) }) }));
143
143
  }
144
144
 
145
- function AddFunds({ checkout, provider, toAmount, toTokenAddress, showBackButton = false, showOnrampOption = true, showSwapOption = true, showBridgeOption = true, onBackButtonClick, onCloseButtonClick, }) {
146
- console.log('provider', provider);
147
- console.log('showOnrampOption', showOnrampOption);
148
- console.log('showSwapOption', showSwapOption);
149
- console.log('showBridgeOption', showBridgeOption);
145
+ function AddFunds({ checkout, toAmount, toTokenAddress, showBackButton = false, showOnrampOption = true, showSwapOption = true, showBridgeOption = true, onBackButtonClick, onCloseButtonClick, }) {
150
146
  const showBack = showBackButton || !!onBackButtonClick;
151
147
  const { addFundsDispatch } = reactExports.useContext(AddFundsContext);
152
148
  const { viewDispatch } = reactExports.useContext(ViewContext);
@@ -233,9 +229,6 @@ function AddFunds({ checkout, provider, toAmount, toTokenAddress, showBackButton
233
229
  // console.log('handle review click');
234
230
  // };
235
231
  const onPayWithCard = (paymentType) => {
236
- console.log('paymentType', paymentType);
237
- console.log('=== toTokenAddress', currentToTokenAddress);
238
- console.log('=== toAmount', toAmount);
239
232
  if (paymentType === OptionTypes.SWAP) {
240
233
  orchestrationEvents.sendRequestSwapEvent(eventTarget, IMTBLWidgetEvents.IMTBL_ADD_FUNDS_WIDGET_EVENT, {
241
234
  toTokenAddress: currentToTokenAddress?.address ?? '',
@@ -164211,10 +164204,11 @@ function AddFundsWidget({ checkout, web3Provider, showOnrampOption = true, showS
164211
164204
  chainIds,
164212
164205
  evmAddress: fromAddress,
164213
164206
  });
164207
+ const filteredBalances = balances?.evmBalances?.filter((balance) => balance.balance !== '0');
164214
164208
  addFundsDispatch({
164215
164209
  payload: {
164216
164210
  type: AddFundsActions.SET_BALANCES,
164217
- balances: balances?.evmBalances ?? [],
164211
+ balances: filteredBalances ?? [],
164218
164212
  },
164219
164213
  });
164220
164214
  })();
@@ -164250,7 +164244,7 @@ function AddFundsWidget({ checkout, web3Provider, showOnrampOption = true, showS
164250
164244
  });
164251
164245
  }, [checkout]);
164252
164246
  const { eventTargetState: { eventTarget }, } = reactExports.useContext(EventTargetContext);
164253
- return (jsx(ViewContext.Provider, { value: viewReducerValues, children: jsxs(AddFundsContext.Provider, { value: addFundsReducerValues, children: [viewState.view.type === AddFundsWidgetViews.ADD_FUNDS && (jsx(AddFunds, { checkout: checkout, provider: web3Provider, toTokenAddress: toTokenAddress, toAmount: toAmount, showBackButton: showBackButton, showOnrampOption: showOnrampOption, showSwapOption: showSwapOption, showBridgeOption: showBridgeOption, onCloseButtonClick: () => sendAddFundsCloseEvent(eventTarget) })), viewState.view.type === SharedViews.ERROR_VIEW && (jsx(ErrorView, { actionText: t('views.ERROR_VIEW.actionText'), onActionClick: () => undefined, onCloseClick: () => sendAddFundsCloseEvent(eventTarget), errorEventAction: () => {
164247
+ return (jsx(ViewContext.Provider, { value: viewReducerValues, children: jsxs(AddFundsContext.Provider, { value: addFundsReducerValues, children: [viewState.view.type === AddFundsWidgetViews.ADD_FUNDS && (jsx(AddFunds, { checkout: checkout, toTokenAddress: toTokenAddress, toAmount: toAmount, showBackButton: showBackButton, showOnrampOption: showOnrampOption, showSwapOption: showSwapOption, showBridgeOption: showBridgeOption, onCloseButtonClick: () => sendAddFundsCloseEvent(eventTarget) })), viewState.view.type === SharedViews.ERROR_VIEW && (jsx(ErrorView, { actionText: t('views.ERROR_VIEW.actionText'), onActionClick: () => undefined, onCloseClick: () => sendAddFundsCloseEvent(eventTarget), errorEventAction: () => {
164254
164248
  page({
164255
164249
  userJourney: UserJourney.ADD_FUNDS,
164256
164250
  screen: 'Error',
@@ -1,8 +1,8 @@
1
- import { bz as axios, bA as defineReadOnly, bB as getStatic, bC as Signer, bD as Provider, bE as getAddress, bF as Logger, bG as getContractAddress, bH as Interface, bI as shallowCopy, bJ as VoidSigner, bK as Indexed, bL as deepCopy, bM as isHexString, bN as checkResultErrors, bO as resolveProperties, ar as BigNumber, bP as accessListify, bQ as arrayify, j as jsx, _ as _objectWithoutProperties, ap as cloneElementWithCssProp, o as Body, k as _defineProperty, J as CheckoutErrorType, bR as IMMUTABLE_API_BASE_URL, r as reactExports, I as IMTBLWidgetEvents, b0 as BridgeEventType, n as jsxs, bS as ShimmerBox, M as MenuItem, aL as Stack, l as useTranslation, d as Button, a as Box, bT as PASSPORT_URL, ag as Link, bU as getChainIdBySlug, P as getChainImage, bV as networkName, O as FramedImage, bd as Icon, t as useAnalytics, U as UserJourney, aN as Divider, V as ViewContext, aB as Fragment, p as ViewActions, a8 as useWalletConnect, aa as isWalletConnectProvider, bc as Logo, bW as RawImage, bX as AXELAR_SCAN_URL, G as isNativeToken, W as getTokenImageByAddress, bY as getNativeSymbolByChainSlug, X as calculateCryptoToFiat, E as EventTargetContext, w as isPassportProvider, y as getL1ChainId, T as TokenFilterTypes, x as getL2ChainId, bZ as WalletProviderRdns, b_ as Web3Provider, b$ as useInjectedProviders, Y as HeaderNavigation, a1 as FooterLogo, c0 as WalletDrawer, a2 as SimpleLayout, c1 as getChainSlugById, c2 as JsonRpcProvider, c3 as DEFAULT_TRANSACTIONS_RETRY_POLICY, aj as LoadingView, aX as ChainId, c4 as getChainNameById, u as useTheme, a6 as Heading, a4 as getWalletProviderNameByProvider, c5 as isAddressSanctioned, K as SharedViews, c6 as isMetaMaskProvider, a3 as WalletProviderName, a7 as Drawer, B as ButtCon, $ as ButtonNavigationStyles, F as orchestrationEvents, A as tokenValueFormat, v as formatZeroAmount, bf as NATIVE, bh as amountInputValidation, b6 as getRemoteImage, bb as CloudImage, c7 as ETH_TOKEN_SYMBOL, z as Environment, c8 as GasEstimateType, bl as DEFAULT_TOKEN_DECIMALS, bg as DEFAULT_QUOTE_REFRESH_INTERVAL, c9 as addChainChangedListener, ca as removeChainChangedListener, bn as IMX_TOKEN_SYMBOL, cb as dist, cc as CHECKOUT_CDN_BASE_URL, ab as heroBackGroundStyles, ac as heroImageStyles, cd as Badge, ae as SimpleTextBody, bo as FooterButton, ce as getEthTokenImage, cf as WITHDRAWAL_CLAIM_GAS_LIMIT, be as getDefaultTokenImage, ah as viewReducer, ai as initialViewState, cg as BridgeConfiguration, ch as ImmutableConfiguration, ci as TokenBridge, bq as StatusView, aJ as StatusType, ak as ErrorView, cj as ServiceUnavailableErrorView, ck as ServiceType, cl as ETH_SEPOLIA_TO_ZKEVM_TESTNET, cm as ETH_SEPOLIA_TO_ZKEVM_DEVNET, cn as ETH_MAINNET_TO_ZKEVM_MAINNET } from './index-B6yLcw_w.js';
2
- import { B as BridgeWidgetViews, C as CryptoFiatContext, f as formatUnits, a as CryptoFiatActions, p as parseUnits, T as TopUpView, b as CryptoFiatProvider } from './TopUpView-CDk71P2Z.js';
3
- import { T as TokenImage, r as retry, u as useInterval } from './retry-BdEfT5hn.js';
4
- import { A as Accordion, S as SelectForm, T as TransactionRejected, g as getAllowedBalances, F as Fees, N as NetworkSwitchDrawer, W as WalletApproveHero } from './balance-D95D6qBc.js';
5
- import { T as TextInputForm } from './TextInputForm-xOLL8sp5.js';
1
+ import { bz as axios, bA as defineReadOnly, bB as getStatic, bC as Signer, bD as Provider, bE as getAddress, bF as Logger, bG as getContractAddress, bH as Interface, bI as shallowCopy, bJ as VoidSigner, bK as Indexed, bL as deepCopy, bM as isHexString, bN as checkResultErrors, bO as resolveProperties, ar as BigNumber, bP as accessListify, bQ as arrayify, j as jsx, _ as _objectWithoutProperties, ap as cloneElementWithCssProp, o as Body, k as _defineProperty, J as CheckoutErrorType, bR as IMMUTABLE_API_BASE_URL, r as reactExports, I as IMTBLWidgetEvents, b0 as BridgeEventType, n as jsxs, bS as ShimmerBox, M as MenuItem, aL as Stack, l as useTranslation, d as Button, a as Box, bT as PASSPORT_URL, ag as Link, bU as getChainIdBySlug, P as getChainImage, bV as networkName, O as FramedImage, bd as Icon, t as useAnalytics, U as UserJourney, aN as Divider, V as ViewContext, aB as Fragment, p as ViewActions, a8 as useWalletConnect, aa as isWalletConnectProvider, bc as Logo, bW as RawImage, bX as AXELAR_SCAN_URL, G as isNativeToken, W as getTokenImageByAddress, bY as getNativeSymbolByChainSlug, X as calculateCryptoToFiat, E as EventTargetContext, w as isPassportProvider, y as getL1ChainId, T as TokenFilterTypes, x as getL2ChainId, bZ as WalletProviderRdns, b_ as Web3Provider, b$ as useInjectedProviders, Y as HeaderNavigation, a1 as FooterLogo, c0 as WalletDrawer, a2 as SimpleLayout, c1 as getChainSlugById, c2 as JsonRpcProvider, c3 as DEFAULT_TRANSACTIONS_RETRY_POLICY, aj as LoadingView, aX as ChainId, c4 as getChainNameById, u as useTheme, a6 as Heading, a4 as getWalletProviderNameByProvider, c5 as isAddressSanctioned, K as SharedViews, c6 as isMetaMaskProvider, a3 as WalletProviderName, a7 as Drawer, B as ButtCon, $ as ButtonNavigationStyles, F as orchestrationEvents, A as tokenValueFormat, v as formatZeroAmount, bf as NATIVE, bh as amountInputValidation, b6 as getRemoteImage, bb as CloudImage, c7 as ETH_TOKEN_SYMBOL, z as Environment, c8 as GasEstimateType, bl as DEFAULT_TOKEN_DECIMALS, bg as DEFAULT_QUOTE_REFRESH_INTERVAL, c9 as addChainChangedListener, ca as removeChainChangedListener, bn as IMX_TOKEN_SYMBOL, cb as dist, cc as CHECKOUT_CDN_BASE_URL, ab as heroBackGroundStyles, ac as heroImageStyles, cd as Badge, ae as SimpleTextBody, bo as FooterButton, ce as getEthTokenImage, cf as WITHDRAWAL_CLAIM_GAS_LIMIT, be as getDefaultTokenImage, ah as viewReducer, ai as initialViewState, cg as BridgeConfiguration, ch as ImmutableConfiguration, ci as TokenBridge, bq as StatusView, aJ as StatusType, ak as ErrorView, cj as ServiceUnavailableErrorView, ck as ServiceType, cl as ETH_SEPOLIA_TO_ZKEVM_TESTNET, cm as ETH_SEPOLIA_TO_ZKEVM_DEVNET, cn as ETH_MAINNET_TO_ZKEVM_MAINNET } from './index-BCU32pT8.js';
2
+ import { B as BridgeWidgetViews, C as CryptoFiatContext, f as formatUnits, a as CryptoFiatActions, p as parseUnits, T as TopUpView, b as CryptoFiatProvider } from './TopUpView-CIYLtGDm.js';
3
+ import { T as TokenImage, r as retry, u as useInterval } from './retry-B3DoYkeU.js';
4
+ import { A as Accordion, S as SelectForm, T as TransactionRejected, g as getAllowedBalances, F as Fees, N as NetworkSwitchDrawer, W as WalletApproveHero } from './balance-CQ6fP7av.js';
5
+ import { T as TextInputForm } from './TextInputForm-DBjNTE6z.js';
6
6
 
7
7
  // This module is intended to unwrap Axios default export as named.
8
8
  // Keep top-level export same with static properties
@@ -1,4 +1,4 @@
1
- import { r as reactExports, cD as PostMessageHandler, j as jsx, I as IMTBLWidgetEvents, E as EventTargetContext, cE as PostMessageHandlerEventType, cF as CheckoutEventType, cG as CheckoutSuccessEventType, b_ as Web3Provider, l as useTranslation, ak as ErrorView, n as jsxs, aj as LoadingView, a as Box, aB as Fragment, z as Environment, cH as CHECKOUT_APP_URL, cI as CheckoutFlowType, cJ as ENV_DEVELOPMENT } from './index-B6yLcw_w.js';
1
+ import { r as reactExports, cD as PostMessageHandler, j as jsx, I as IMTBLWidgetEvents, E as EventTargetContext, cE as PostMessageHandlerEventType, cF as CheckoutEventType, cG as CheckoutSuccessEventType, b_ as Web3Provider, l as useTranslation, ak as ErrorView, n as jsxs, aj as LoadingView, a as Box, aB as Fragment, z as Environment, cH as CHECKOUT_APP_URL, cI as CheckoutFlowType, cJ as ENV_DEVELOPMENT } from './index-BCU32pT8.js';
2
2
 
3
3
  const initialCheckoutState = {
4
4
  checkout: null,
@@ -1,6 +1,6 @@
1
- import { bu as global, t as useAnalytics, r as reactExports, q as ConnectLoaderContext, E as EventTargetContext, l as useTranslation, V as ViewContext, K as SharedViews, bv as ExchangeType, j as jsx, a2 as SimpleLayout, Y as HeaderNavigation, bw as sendOnRampWidgetCloseEvent, F as orchestrationEvents, I as IMTBLWidgetEvents, a as Box, U as UserJourney, p as ViewActions, a1 as FooterLogo, n as jsxs, ae as SimpleTextBody, ah as viewReducer, ai as initialViewState, bf as NATIVE, aj as LoadingView, bx as sendOnRampSuccessEvent, aJ as StatusType, bq as StatusView, by as sendOnRampFailedEvent } from './index-B6yLcw_w.js';
2
- import { O as OnRampWidgetViews, T as TopUpView } from './TopUpView-CDk71P2Z.js';
3
- import { S as SpendingCapHero } from './SpendingCapHero-DwVSCRbV.js';
1
+ import { bu as global, t as useAnalytics, r as reactExports, q as ConnectLoaderContext, E as EventTargetContext, l as useTranslation, V as ViewContext, K as SharedViews, bv as ExchangeType, j as jsx, a2 as SimpleLayout, Y as HeaderNavigation, bw as sendOnRampWidgetCloseEvent, F as orchestrationEvents, I as IMTBLWidgetEvents, a as Box, U as UserJourney, p as ViewActions, a1 as FooterLogo, n as jsxs, ae as SimpleTextBody, ah as viewReducer, ai as initialViewState, bf as NATIVE, aj as LoadingView, bx as sendOnRampSuccessEvent, aJ as StatusType, bq as StatusView, by as sendOnRampFailedEvent } from './index-BCU32pT8.js';
2
+ import { O as OnRampWidgetViews, T as TopUpView } from './TopUpView-CIYLtGDm.js';
3
+ import { S as SpendingCapHero } from './SpendingCapHero-Cg4WWClJ.js';
4
4
 
5
5
  function isNull(arg) {
6
6
  return arg === null;
@@ -1,12 +1,12 @@
1
- import { j as jsx, _ as _objectWithoutProperties, u as useTheme, r as reactExports, m as merge, al as getCaptionTextStyles, am as baseTextComponentSx, an as useConvertSxToEmotionStyles, ao as useGetCurrentSizeClass, ap as cloneElementWithCssProp, k as _defineProperty, aq as shimmerSx, a as Box, z as Environment, ar as BigNumber, as as compareStr, V as ViewContext, p as ViewActions, at as SalePaymentTypes, U as UserJourney, l as useTranslation, X as calculateCryptoToFiat, t as useAnalytics, E as EventTargetContext, au as sendSaleWidgetCloseEvent, av as sendSaleSuccessEvent, aw as sendSaleFailedEvent, ax as sendSaleTransactionSuccessEvent, ay as sendSalePaymentMethodEvent, az as sendSalePaymentTokenEvent, Y as HeaderNavigation, n as jsxs, aA as LoadingOverlay, aB as Fragment, a2 as SimpleLayout, aC as useHandover, aD as HandoverTarget, aE as getRemoteRive, a6 as Heading, aF as HandoverDuration, o as Body, d as Button, w as isPassportProvider, M as MenuItem, aG as motion, aH as listVariants, aI as listItemVariants, K as SharedViews, a1 as FooterLogo, aJ as StatusType, aK as prettyFormatNumber, A as tokenValueFormat, aL as Stack, aM as FundingStepType, a5 as abbreviateWalletAddress, a7 as Drawer, aN as Divider, aO as tokenSymbolNameOverrides, aP as ItemType, aQ as TransactionOrGasType, aR as GasTokenType, aS as RoutingOutcomeType, G as isNativeToken, W as getTokenImageByAddress, aT as isGasFree, q as ConnectLoaderContext, aU as eventTargetReducer, aV as initialEventTargetState, y as getL1ChainId, x as getL2ChainId, I as IMTBLWidgetEvents, aW as EventTargetActions, aj as LoadingView, aX as ChainId, aY as ConnectWidgetViews, aZ as ConnectWidget, a_ as SwapEventType, a$ as OnRampEventType, b0 as BridgeEventType, b1 as ConnectEventType, b2 as ConnectLoaderActions, B as ButtCon, b3 as widgetTheme, ah as viewReducer, ai as initialViewState, b4 as BlockExplorerService } from './index-B6yLcw_w.js';
2
- import { C as Contract, B as BridgeWidget } from './BridgeWidget-Duy0xwMA.js';
3
- import { u as useTransakEvents, O as OnRampWidget } from './OnRampWidget-D3J6DKX4.js';
4
- import { f as formatUnits, u as useMount, C as CryptoFiatContext, a as CryptoFiatActions, T as TopUpView, b as CryptoFiatProvider } from './TopUpView-CDk71P2Z.js';
5
- import { T as TokenImage } from './retry-BdEfT5hn.js';
6
- import { F as Fees } from './balance-D95D6qBc.js';
7
- import SwapWidget from './SwapWidget-BhIQ2RGv.js';
8
- import './TextInputForm-xOLL8sp5.js';
9
- import './SpendingCapHero-DwVSCRbV.js';
1
+ import { j as jsx, _ as _objectWithoutProperties, u as useTheme, r as reactExports, m as merge, al as getCaptionTextStyles, am as baseTextComponentSx, an as useConvertSxToEmotionStyles, ao as useGetCurrentSizeClass, ap as cloneElementWithCssProp, k as _defineProperty, aq as shimmerSx, a as Box, z as Environment, ar as BigNumber, as as compareStr, V as ViewContext, p as ViewActions, at as SalePaymentTypes, U as UserJourney, l as useTranslation, X as calculateCryptoToFiat, t as useAnalytics, E as EventTargetContext, au as sendSaleWidgetCloseEvent, av as sendSaleSuccessEvent, aw as sendSaleFailedEvent, ax as sendSaleTransactionSuccessEvent, ay as sendSalePaymentMethodEvent, az as sendSalePaymentTokenEvent, Y as HeaderNavigation, n as jsxs, aA as LoadingOverlay, aB as Fragment, a2 as SimpleLayout, aC as useHandover, aD as HandoverTarget, aE as getRemoteRive, a6 as Heading, aF as HandoverDuration, o as Body, d as Button, w as isPassportProvider, M as MenuItem, aG as motion, aH as listVariants, aI as listItemVariants, K as SharedViews, a1 as FooterLogo, aJ as StatusType, aK as prettyFormatNumber, A as tokenValueFormat, aL as Stack, aM as FundingStepType, a5 as abbreviateWalletAddress, a7 as Drawer, aN as Divider, aO as tokenSymbolNameOverrides, aP as ItemType, aQ as TransactionOrGasType, aR as GasTokenType, aS as RoutingOutcomeType, G as isNativeToken, W as getTokenImageByAddress, aT as isGasFree, q as ConnectLoaderContext, aU as eventTargetReducer, aV as initialEventTargetState, y as getL1ChainId, x as getL2ChainId, I as IMTBLWidgetEvents, aW as EventTargetActions, aj as LoadingView, aX as ChainId, aY as ConnectWidgetViews, aZ as ConnectWidget, a_ as SwapEventType, a$ as OnRampEventType, b0 as BridgeEventType, b1 as ConnectEventType, b2 as ConnectLoaderActions, B as ButtCon, b3 as widgetTheme, ah as viewReducer, ai as initialViewState, b4 as BlockExplorerService } from './index-BCU32pT8.js';
2
+ import { C as Contract, B as BridgeWidget } from './BridgeWidget-1GH2Y2Gl.js';
3
+ import { u as useTransakEvents, O as OnRampWidget } from './OnRampWidget-MPFsrkh0.js';
4
+ import { f as formatUnits, u as useMount, C as CryptoFiatContext, a as CryptoFiatActions, T as TopUpView, b as CryptoFiatProvider } from './TopUpView-CIYLtGDm.js';
5
+ import { T as TokenImage } from './retry-B3DoYkeU.js';
6
+ import { F as Fees } from './balance-CQ6fP7av.js';
7
+ import SwapWidget from './SwapWidget-G1-gLvyX.js';
8
+ import './TextInputForm-DBjNTE6z.js';
9
+ import './SpendingCapHero-Cg4WWClJ.js';
10
10
 
11
11
  var _excluded$1 = ["size", "weight", "rc", "sx", "testId", "children", "domRef", "className"];
12
12
  function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -1,4 +1,4 @@
1
- import { j as jsx, ab as heroBackGroundStyles, a as Box, ac as heroImageStyles, ad as heroImageBottomAlign, n as jsxs } from './index-B6yLcw_w.js';
1
+ import { j as jsx, ab as heroBackGroundStyles, a as Box, ac as heroImageStyles, ad as heroImageBottomAlign, n as jsxs } from './index-BCU32pT8.js';
2
2
 
3
3
  function SpendingCapHero() {
4
4
  return (jsx(Box, { sx: { ...heroBackGroundStyles, background: 'base.color.translucent.emphasis.100' }, children: jsx(Box, { sx: { ...heroImageStyles, ...heroImageBottomAlign }, children: jsxs("svg", { width: "430", height: "305", viewBox: "0 0 430 305", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsx("path", { d: "M94.0614 105.632L93.6321 104L92 104.429L92.4292 106.061L94.0614 105.632Z", fill: "white" }), jsx("path", { d: "M63.6531 193.101L63.1006 191L60.9996 191.553L61.5521 193.654L63.6531 193.101Z", fill: "white" }), jsx("path", { d: "M344.489 224.345L342.345 224L342 226.145L344.144 226.49L344.489 224.345Z", fill: "white" }), jsx("path", { d: "M372.286 139.905L372.905 138.619L371.619 138L371 139.286L372.286 139.905Z", fill: "white" }), jsx("path", { d: "M341.653 78.101L341.101 76L339 76.5525L339.552 78.6535L341.653 78.101Z", fill: "white" }), jsx("path", { d: "M359.286 242.905L359.905 241.619L358.619 241L358 242.286L359.286 242.905Z", fill: "white" }), jsx("path", { d: "M87.0123 112.087L86.0869 111L85.0002 111.925L85.9256 113.012L87.0123 112.087Z", fill: "white" }), jsx("path", { d: "M84.2862 248.905L84.9053 247.619L83.6192 247L83.0001 248.286L84.2862 248.905Z", fill: "white" }), jsx("path", { d: "M215.496 262.992C268.237 262.992 310.993 220.237 310.993 167.496C310.993 114.755 268.237 72 215.496 72C162.755 72 120 114.755 120 167.496C120 220.237 162.755 262.992 215.496 262.992Z", fill: "white", fillOpacity: "0.24", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M159.82 95.1695C179.975 79.6536 204.651 73.1506 227.89 77.0665C261.089 82.6606 253.281 101.028 199.197 121.314C151.934 139.037 123.49 136.348 143.823 110.95C148.422 105.208 153.721 99.8623 159.82 95.1695Z", fill: "white", fillOpacity: "0.08" }), jsx("path", { d: "M215.497 227.183C171.451 227.183 135.159 219.871 130.194 210.462H130.187C145.912 241.626 178.21 263.001 215.497 263.001C252.705 263.001 284.942 241.719 300.706 210.664C295.33 219.98 259.232 227.183 215.505 227.183H215.497Z", fill: "#36E0F8", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M284.219 219.607L283.978 219.84C281.275 222.482 256.583 215.986 253.172 218.418C222.389 240.36 182.779 269.061 146.099 219.397C146.099 219.397 140.761 217.641 138.609 216.686C139.425 217.96 140.279 219.226 141.165 220.469C170.425 261.516 227.423 271.073 268.47 241.813C276.97 235.752 284.118 228.503 289.852 220.454L292.424 216.841L288.252 218.302C287.086 218.713 285.851 219.11 284.553 219.498L284.227 219.599L284.219 219.607Z", fill: "black" }), jsx("path", { d: "M215.496 241.4C262.183 241.4 300.03 226.557 300.03 208.248C300.03 189.938 262.183 175.095 215.496 175.095C168.81 175.095 130.963 189.938 130.963 208.248C130.963 226.557 168.81 241.4 215.496 241.4Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M300.705 210.659C300.705 210.659 300.705 210.65 300.705 210.641C300.705 210.641 300.705 210.65 300.705 210.659Z", fill: "#EBE9E9", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 204.511C208.952 204.511 221.377 199.638 221.377 193.626C221.377 187.614 208.952 182.741 193.624 182.741C178.297 182.741 165.871 187.614 165.871 193.626C165.871 199.638 178.297 204.511 193.624 204.511Z", fill: "#D0F500", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 204.511C208.954 204.511 221.377 199.64 221.377 193.626V201.349C221.377 207.363 208.954 212.234 193.624 212.234C178.295 212.234 165.871 207.363 165.871 201.349V193.626C165.871 199.64 178.295 204.511 193.624 204.511Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M197.33 204.41C199.49 204.294 201.573 204.084 203.546 203.789V211.512C201.573 211.807 199.49 212.017 197.33 212.133V204.41Z", fill: "#D0F500" }), jsx("path", { d: "M206.398 203.291C211.246 202.304 215.255 200.774 217.905 198.901V206.624C215.255 208.497 211.246 210.027 206.398 211.014V203.291Z", fill: "black" }), jsx("path", { d: "M193.624 204.511C208.954 204.511 221.377 199.64 221.377 193.626V201.349C221.377 207.363 208.954 212.234 193.624 212.234C178.295 212.234 165.871 207.363 165.871 201.349V193.626C165.871 199.64 178.295 204.511 193.624 204.511Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M206.398 211.015C211.246 210.028 215.255 208.497 217.905 206.625", stroke: "#A66CFF", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 196.788C208.952 196.788 221.377 191.914 221.377 185.903C221.377 179.891 208.952 175.017 193.624 175.017C178.297 175.017 165.871 179.891 165.871 185.903C165.871 191.914 178.297 196.788 193.624 196.788Z", fill: "#D0F500", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 196.788C208.954 196.788 221.377 191.917 221.377 185.903V193.626C221.377 199.639 208.954 204.511 193.624 204.511C178.295 204.511 165.871 199.639 165.871 193.626V185.903C165.871 191.917 178.295 196.788 193.624 196.788Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M197.33 196.687C199.49 196.57 201.573 196.361 203.546 196.065V203.788C201.573 204.084 199.49 204.293 197.33 204.41V196.687Z", fill: "#36E0F8" }), jsx("path", { d: "M206.398 195.568C211.246 194.581 215.255 193.051 217.905 191.178V198.901C215.255 200.774 211.246 202.304 206.398 203.291V195.568Z", fill: "black" }), jsx("path", { d: "M193.624 196.788C208.954 196.788 221.377 191.917 221.377 185.903V193.626C221.377 199.639 208.954 204.511 193.624 204.511C178.295 204.511 165.871 199.639 165.871 193.626V185.903C165.871 191.917 178.295 196.788 193.624 196.788Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M206.398 203.291C211.246 202.304 215.255 200.774 217.905 198.901", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 189.065C208.952 189.065 221.377 184.192 221.377 178.18C221.377 172.168 208.952 167.294 193.624 167.294C178.297 167.294 165.871 172.168 165.871 178.18C165.871 184.192 178.297 189.065 193.624 189.065Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.624 189.065C208.954 189.065 221.377 184.194 221.377 178.18V185.903C221.377 191.917 208.954 196.788 193.624 196.788C178.295 196.788 165.871 191.917 165.871 185.903V178.18C165.871 184.194 178.295 189.065 193.624 189.065Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M197.33 188.965C199.49 188.849 201.573 188.639 203.546 188.343V196.067C201.573 196.362 199.49 196.571 197.33 196.688V188.965Z", fill: "#F191FA" }), jsx("path", { d: "M206.398 187.845C211.246 186.858 215.255 185.327 217.905 183.455V191.178C215.255 193.05 211.246 194.581 206.398 195.568V187.845Z", fill: "black" }), jsx("path", { d: "M193.624 189.065C208.954 189.065 221.377 184.194 221.377 178.18V185.903C221.377 191.917 208.954 196.788 193.624 196.788C178.295 196.788 165.871 191.917 165.871 185.903V178.18C165.871 184.194 178.295 189.065 193.624 189.065Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M206.398 195.569C211.246 194.582 215.255 193.052 217.905 191.179", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 212.934C253.929 212.934 266.354 208.06 266.354 202.049C266.354 196.037 253.929 191.164 238.601 191.164C223.274 191.164 210.848 196.037 210.848 202.049C210.848 208.06 223.274 212.934 238.601 212.934Z", fill: "#D0F500", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 212.935C253.931 212.935 266.354 208.063 266.354 202.049V209.772C266.354 215.786 253.931 220.658 238.601 220.658C223.272 220.658 210.848 215.786 210.848 209.772V202.049C210.848 208.063 223.272 212.935 238.601 212.935Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M242.307 212.833C244.467 212.717 246.55 212.507 248.523 212.212V219.935C246.55 220.23 244.467 220.44 242.307 220.556V212.833Z", fill: "#F191FA" }), jsx("path", { d: "M251.375 211.713C256.223 210.727 260.232 209.196 262.882 207.324V215.047C260.232 216.919 256.223 218.45 251.375 219.436V211.713Z", fill: "black" }), jsx("path", { d: "M238.601 212.935C253.931 212.935 266.354 208.063 266.354 202.049V209.772C266.354 215.786 253.931 220.658 238.601 220.658C223.272 220.658 210.848 215.786 210.848 209.772V202.049C210.848 208.063 223.272 212.935 238.601 212.935Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M251.375 219.437C256.223 218.45 260.232 216.919 262.882 215.047", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 205.21C253.929 205.21 266.354 200.336 266.354 194.324C266.354 188.313 253.929 183.439 238.601 183.439C223.274 183.439 210.848 188.313 210.848 194.324C210.848 200.336 223.274 205.21 238.601 205.21Z", fill: "#D0F500", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 205.21C253.931 205.21 266.354 200.339 266.354 194.325V202.048C266.354 208.062 253.931 212.934 238.601 212.934C223.272 212.934 210.848 208.062 210.848 202.048V194.325C210.848 200.339 223.272 205.21 238.601 205.21Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M242.307 205.109C244.467 204.993 246.55 204.783 248.523 204.488V212.211C246.55 212.506 244.467 212.716 242.307 212.832V205.109Z", fill: "#36E0F8" }), jsx("path", { d: "M251.375 203.989C256.223 203.003 260.232 201.472 262.882 199.6V207.323C260.232 209.195 256.223 210.726 251.375 211.712V203.989Z", fill: "black" }), jsx("path", { d: "M238.601 205.21C253.931 205.21 266.354 200.339 266.354 194.325V202.048C266.354 208.062 253.931 212.934 238.601 212.934C223.272 212.934 210.848 208.062 210.848 202.048V194.325C210.848 200.339 223.272 205.21 238.601 205.21Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M251.375 211.713C256.223 210.726 260.232 209.195 262.882 207.323", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 197.487C253.929 197.487 266.354 192.613 266.354 186.602C266.354 180.59 253.929 175.716 238.601 175.716C223.274 175.716 210.848 180.59 210.848 186.602C210.848 192.613 223.274 197.487 238.601 197.487Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M238.601 197.487C253.931 197.487 266.354 192.616 266.354 186.602V194.325C266.354 200.339 253.931 205.21 238.601 205.21C223.272 205.21 210.848 200.339 210.848 194.325V186.602C210.848 192.616 223.272 197.487 238.601 197.487Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M242.307 197.386C244.467 197.27 246.55 197.06 248.523 196.765V204.488C246.55 204.783 244.467 204.992 242.307 205.109V197.386Z", fill: "#F191FA" }), jsx("path", { d: "M251.375 196.267C256.223 195.28 260.232 193.75 262.882 191.877V199.6C260.232 201.473 256.223 203.003 251.375 203.99V196.267Z", fill: "#9AEFFB" }), jsx("path", { d: "M238.601 197.487C253.931 197.487 266.354 192.616 266.354 186.602V194.325C266.354 200.339 253.931 205.21 238.601 205.21C223.272 205.21 210.848 200.339 210.848 194.325V186.602C210.848 192.616 223.272 197.487 238.601 197.487Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M251.375 203.99C256.223 203.004 260.232 201.473 262.882 199.601", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M232.652 189.678C247.979 189.678 260.405 184.804 260.405 178.793C260.405 172.781 247.979 167.908 232.652 167.908C217.324 167.908 204.899 172.781 204.899 178.793C204.899 184.804 217.324 189.678 232.652 189.678Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M232.652 189.678C247.981 189.678 260.405 184.807 260.405 178.793V186.516C260.405 192.53 247.981 197.401 232.652 197.401C217.323 197.401 204.899 192.53 204.899 186.516V178.793C204.899 184.807 217.323 189.678 232.652 189.678Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M236.358 189.578C238.518 189.461 240.6 189.251 242.574 188.956V196.679C240.6 196.974 238.518 197.184 236.358 197.301V189.578Z", fill: "#F191FA" }), jsx("path", { d: "M245.426 188.458C250.274 187.471 254.283 185.94 256.932 184.067V191.791C254.283 193.663 250.274 195.194 245.426 196.18V188.458Z", fill: "black" }), jsx("path", { d: "M232.652 189.678C247.981 189.678 260.405 184.807 260.405 178.793V186.516C260.405 192.53 247.981 197.401 232.652 197.401C217.323 197.401 204.899 192.53 204.899 186.516V178.793C204.899 184.807 217.323 189.678 232.652 189.678Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M245.426 196.182C250.274 195.195 254.283 193.664 256.932 191.792", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M240.99 180.021C256.317 180.021 268.743 175.148 268.743 169.136C268.743 163.124 256.317 158.25 240.99 158.25C225.662 158.25 213.237 163.124 213.237 169.136C213.237 175.148 225.662 180.021 240.99 180.021Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M240.99 180.021C256.319 180.021 268.743 175.15 268.743 169.136V176.859C268.743 182.873 256.319 187.744 240.99 187.744C225.66 187.744 213.237 182.873 213.237 176.859V169.136C213.237 175.15 225.66 180.021 240.99 180.021Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M244.696 179.92C246.856 179.804 248.938 179.594 250.911 179.299V187.022C248.938 187.317 246.856 187.527 244.696 187.643V179.92Z", fill: "#9AEFFB" }), jsx("path", { d: "M253.763 178.801C258.612 177.815 262.621 176.284 265.27 174.412V182.135C262.621 184.007 258.612 185.538 253.763 186.524V178.801Z", fill: "black" }), jsx("path", { d: "M240.99 180.021C256.319 180.021 268.743 175.15 268.743 169.136V176.859C268.743 182.873 256.319 187.744 240.99 187.744C225.66 187.744 213.237 182.873 213.237 176.859V169.136C213.237 175.15 225.66 180.021 240.99 180.021Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M253.763 186.525C258.612 185.538 262.621 184.007 265.27 182.135", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M189.911 223.803C205.238 223.803 217.664 218.929 217.664 212.918C217.664 206.906 205.238 202.032 189.911 202.032C174.583 202.032 162.158 206.906 162.158 212.918C162.158 218.929 174.583 223.803 189.911 223.803Z", fill: "#F191FA", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M189.911 223.803C205.24 223.803 217.664 218.932 217.664 212.918V220.641C217.664 226.655 205.24 231.526 189.911 231.526C174.581 231.526 162.158 226.655 162.158 220.641V212.918C162.158 218.932 174.581 223.803 189.911 223.803Z", fill: "#E4F4F7", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M193.625 223.71C195.785 223.593 197.867 223.384 199.84 223.088V230.811C197.867 231.107 195.785 231.316 193.625 231.433V223.71Z", fill: "#F191FA" }), jsx("path", { d: "M202.685 222.583C207.533 221.596 211.542 220.066 214.191 218.193V225.916C211.542 227.789 207.533 229.319 202.685 230.306V222.583Z", fill: "#9AEFFB" }), jsx("path", { d: "M189.911 223.803C205.24 223.803 217.664 218.932 217.664 212.918V220.641C217.664 226.655 205.24 231.526 189.911 231.526C174.581 231.526 162.158 226.655 162.158 220.641V212.918C162.158 218.932 174.581 223.803 189.911 223.803Z", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M202.685 230.306C207.533 229.32 211.542 227.789 214.191 225.917", stroke: "white", strokeLinecap: "round", strokeLinejoin: "round" }), jsx("path", { d: "M300.705 210.658C300.705 210.658 300.705 210.649 300.705 210.641C300.705 210.641 300.705 210.649 300.705 210.658Z", fill: "#A66CFF", stroke: "black", strokeLinecap: "round", strokeLinejoin: "round" })] }) }) }));
@@ -1,9 +1,9 @@
1
- import { l as useTranslation, b5 as WidgetTheme, b6 as getRemoteImage, n as jsxs, b7 as quickswapFooterStyles, a as Box, b8 as quickswapFooterLogoStyles, j as jsx, o as Body, b9 as quickswapFooterDisclaimerTextStyles, r as reactExports, d as Button, ba as getImxTokenImage, a7 as Drawer, bb as CloudImage, a6 as Heading, bc as Logo, bd as Icon, ar as BigNumber, X as calculateCryptoToFiat, A as tokenValueFormat, aT as isGasFree, v as formatZeroAmount, q as ConnectLoaderContext, be as getDefaultTokenImage, G as isNativeToken, bf as NATIVE, V as ViewContext, t as useAnalytics, bg as DEFAULT_QUOTE_REFRESH_INTERVAL, w as isPassportProvider, bh as amountInputValidation, bi as Tooltip, U as UserJourney, z as Environment, p as ViewActions, K as SharedViews, x as getL2ChainId, aB as Fragment, bj as ESTIMATE_DEBOUNCE, bk as DEFAULT_TOKEN_VALIDATION_DECIMALS, bl as DEFAULT_TOKEN_DECIMALS, E as EventTargetContext, bm as sendSwapWidgetCloseEvent, F as orchestrationEvents, I as IMTBLWidgetEvents, Y as HeaderNavigation, aj as LoadingView, a2 as SimpleLayout, bn as IMX_TOKEN_SYMBOL, J as CheckoutErrorType, ae as SimpleTextBody, bo as FooterButton, ah as viewReducer, ai as initialViewState, T as TokenFilterTypes, Q as DEFAULT_BALANCE_RETRY_POLICY, bp as SwapDirection$1, bq as StatusView, br as sendSwapSuccessEvent, aJ as StatusType, bs as sendSwapFailedEvent, bt as sendSwapRejectedEvent, ak as ErrorView } from './index-B6yLcw_w.js';
2
- import { S as SelectForm, F as Fees, T as TransactionRejected, N as NetworkSwitchDrawer, W as WalletApproveHero, g as getAllowedBalances } from './balance-D95D6qBc.js';
3
- import { f as formatUnits, p as parseUnits, C as CryptoFiatContext, a as CryptoFiatActions, c as parseEther, S as SwapWidgetViews, T as TopUpView, b as CryptoFiatProvider } from './TopUpView-CDk71P2Z.js';
4
- import { T as TextInputForm } from './TextInputForm-xOLL8sp5.js';
5
- import { u as useInterval } from './retry-BdEfT5hn.js';
6
- import { S as SpendingCapHero } from './SpendingCapHero-DwVSCRbV.js';
1
+ import { l as useTranslation, b5 as WidgetTheme, b6 as getRemoteImage, n as jsxs, b7 as quickswapFooterStyles, a as Box, b8 as quickswapFooterLogoStyles, j as jsx, o as Body, b9 as quickswapFooterDisclaimerTextStyles, r as reactExports, d as Button, ba as getImxTokenImage, a7 as Drawer, bb as CloudImage, a6 as Heading, bc as Logo, bd as Icon, ar as BigNumber, X as calculateCryptoToFiat, A as tokenValueFormat, aT as isGasFree, v as formatZeroAmount, q as ConnectLoaderContext, be as getDefaultTokenImage, G as isNativeToken, bf as NATIVE, V as ViewContext, t as useAnalytics, bg as DEFAULT_QUOTE_REFRESH_INTERVAL, w as isPassportProvider, bh as amountInputValidation, bi as Tooltip, U as UserJourney, z as Environment, p as ViewActions, K as SharedViews, x as getL2ChainId, aB as Fragment, bj as ESTIMATE_DEBOUNCE, bk as DEFAULT_TOKEN_VALIDATION_DECIMALS, bl as DEFAULT_TOKEN_DECIMALS, E as EventTargetContext, bm as sendSwapWidgetCloseEvent, F as orchestrationEvents, I as IMTBLWidgetEvents, Y as HeaderNavigation, aj as LoadingView, a2 as SimpleLayout, bn as IMX_TOKEN_SYMBOL, J as CheckoutErrorType, ae as SimpleTextBody, bo as FooterButton, ah as viewReducer, ai as initialViewState, T as TokenFilterTypes, Q as DEFAULT_BALANCE_RETRY_POLICY, bp as SwapDirection$1, bq as StatusView, br as sendSwapSuccessEvent, aJ as StatusType, bs as sendSwapFailedEvent, bt as sendSwapRejectedEvent, ak as ErrorView } from './index-BCU32pT8.js';
2
+ import { S as SelectForm, F as Fees, T as TransactionRejected, N as NetworkSwitchDrawer, W as WalletApproveHero, g as getAllowedBalances } from './balance-CQ6fP7av.js';
3
+ import { f as formatUnits, p as parseUnits, C as CryptoFiatContext, a as CryptoFiatActions, c as parseEther, S as SwapWidgetViews, T as TopUpView, b as CryptoFiatProvider } from './TopUpView-CIYLtGDm.js';
4
+ import { T as TextInputForm } from './TextInputForm-DBjNTE6z.js';
5
+ import { u as useInterval } from './retry-B3DoYkeU.js';
6
+ import { S as SpendingCapHero } from './SpendingCapHero-Cg4WWClJ.js';
7
7
 
8
8
  function QuickswapFooter({ theme, environment }) {
9
9
  const { t } = useTranslation();
@@ -1,4 +1,4 @@
1
- import { j as jsx, cZ as TextInput, cv as FormControlWrapper } from './index-B6yLcw_w.js';
1
+ import { j as jsx, cZ as TextInput, cv as FormControlWrapper } from './index-BCU32pT8.js';
2
2
 
3
3
  function TextInputForm({ testId, value, placeholder, errorMessage, validator, onTextInputChange, onTextInputBlur, onTextInputFocus, onTextInputEnter, textAlign, type, subtext, maxButtonClick, disabled, inputMode, }) {
4
4
  const handleOnChange = (event, previousValue) => {
@@ -1,4 +1,4 @@
1
- import { ar as BigNumber, bF as Logger, cz as version$1, cA as hexZeroPad, cB as isBigNumberish, bQ as arrayify, cC as isBytes, r as reactExports, z as Environment, bz as axios, j as jsx, n as jsxs, M as MenuItem, a as Box, l as useTranslation, V as ViewContext, E as EventTargetContext, t as useAnalytics, c8 as GasEstimateType, Y as HeaderNavigation, a6 as Heading, o as Body, a2 as SimpleLayout, I as IMTBLWidgetEvents, p as ViewActions, F as orchestrationEvents } from './index-B6yLcw_w.js';
1
+ import { ar as BigNumber, bF as Logger, cz as version$1, cA as hexZeroPad, cB as isBigNumberish, bQ as arrayify, cC as isBytes, r as reactExports, z as Environment, bz as axios, j as jsx, n as jsxs, M as MenuItem, a as Box, l as useTranslation, V as ViewContext, E as EventTargetContext, t as useAnalytics, c8 as GasEstimateType, Y as HeaderNavigation, a6 as Heading, o as Body, a2 as SimpleLayout, I as IMTBLWidgetEvents, p as ViewActions, F as orchestrationEvents } from './index-BCU32pT8.js';
2
2
 
3
3
  const logger$1 = new Logger(version$1);
4
4
  const _constructorGuard = {};
@@ -1,6 +1,6 @@
1
- import { B as ButtCon, _ as _objectWithoutProperties, u as useTheme, g as getStartingSize, D as DEFAULT_BUTTON_SIZE, m as merge, r as reactExports, f as flattenChildren, j as jsx, i as isChildSubcomponent, S as SmartClone, a as Box, b as getResponsiveSx, c as BUTTON_SIZES, s as setDefaultSxBackgroundColor, C as ClassNames, d as Button, e as ButtonIcon, h as ButtonLogo, k as _defineProperty, T as TokenFilterTypes, l as useTranslation, V as ViewContext, n as jsxs, o as Body, p as ViewActions, q as ConnectLoaderContext, t as useAnalytics, v as formatZeroAmount, E as EventTargetContext, w as isPassportProvider, x as getL2ChainId, y as getL1ChainId, z as Environment, M as MenuItem, A as tokenValueFormat, U as UserJourney, F as orchestrationEvents, I as IMTBLWidgetEvents, Z as ZERO_BALANCE_STRING, G as isNativeToken, H as sendNetworkSwitchEvent, J as CheckoutErrorType, K as SharedViews, N as NetworkFilterTypes, L as sortNetworksCompareFn, O as FramedImage, P as getChainImage, Q as DEFAULT_BALANCE_RETRY_POLICY, R as sortTokensByAmount, W as getTokenImageByAddress, X as calculateCryptoToFiat, Y as HeaderNavigation, $ as ButtonNavigationStyles, a0 as sendWalletWidgetCloseEvent, a1 as FooterLogo, a2 as SimpleLayout, a3 as WalletProviderName, a4 as getWalletProviderNameByProvider, a5 as abbreviateWalletAddress, a6 as Heading, a7 as Drawer, a8 as useWalletConnect, a9 as sendDisconnectWalletEvent, aa as isWalletConnectProvider, ab as heroBackGroundStyles, ac as heroImageStyles, ad as heroImageBottomAlign, ae as SimpleTextBody, af as FAQS_LINK, ag as Link, ah as viewReducer, ai as initialViewState, aj as LoadingView, ak as ErrorView } from './index-B6yLcw_w.js';
2
- import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider, T as TopUpView } from './TopUpView-CDk71P2Z.js';
3
- import { T as TokenImage, r as retry, u as useInterval } from './retry-BdEfT5hn.js';
1
+ import { B as ButtCon, _ as _objectWithoutProperties, u as useTheme, g as getStartingSize, D as DEFAULT_BUTTON_SIZE, m as merge, r as reactExports, f as flattenChildren, j as jsx, i as isChildSubcomponent, S as SmartClone, a as Box, b as getResponsiveSx, c as BUTTON_SIZES, s as setDefaultSxBackgroundColor, C as ClassNames, d as Button, e as ButtonIcon, h as ButtonLogo, k as _defineProperty, T as TokenFilterTypes, l as useTranslation, V as ViewContext, n as jsxs, o as Body, p as ViewActions, q as ConnectLoaderContext, t as useAnalytics, v as formatZeroAmount, E as EventTargetContext, w as isPassportProvider, x as getL2ChainId, y as getL1ChainId, z as Environment, M as MenuItem, A as tokenValueFormat, U as UserJourney, F as orchestrationEvents, I as IMTBLWidgetEvents, Z as ZERO_BALANCE_STRING, G as isNativeToken, H as sendNetworkSwitchEvent, J as CheckoutErrorType, K as SharedViews, N as NetworkFilterTypes, L as sortNetworksCompareFn, O as FramedImage, P as getChainImage, Q as DEFAULT_BALANCE_RETRY_POLICY, R as sortTokensByAmount, W as getTokenImageByAddress, X as calculateCryptoToFiat, Y as HeaderNavigation, $ as ButtonNavigationStyles, a0 as sendWalletWidgetCloseEvent, a1 as FooterLogo, a2 as SimpleLayout, a3 as WalletProviderName, a4 as getWalletProviderNameByProvider, a5 as abbreviateWalletAddress, a6 as Heading, a7 as Drawer, a8 as useWalletConnect, a9 as sendDisconnectWalletEvent, aa as isWalletConnectProvider, ab as heroBackGroundStyles, ac as heroImageStyles, ad as heroImageBottomAlign, ae as SimpleTextBody, af as FAQS_LINK, ag as Link, ah as viewReducer, ai as initialViewState, aj as LoadingView, ak as ErrorView } from './index-BCU32pT8.js';
2
+ import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider, T as TopUpView } from './TopUpView-CIYLtGDm.js';
3
+ import { T as TokenImage, r as retry, u as useInterval } from './retry-B3DoYkeU.js';
4
4
 
5
5
  var horizontalMenuSxProps = {
6
6
  justifyContent: "stretch",
@@ -1,4 +1,4 @@
1
- import { ds as pTimeout } from './index-B6yLcw_w.js';
1
+ import { ds as pTimeout } from './index-BCU32pT8.js';
2
2
 
3
3
  // Check if a user is opening the link in a new tab
4
4
  function userNewTab(event) {
@@ -1,5 +1,5 @@
1
- import { co as hFlex, j as jsx, aG as motion, _ as _objectWithoutProperties, u as useTheme, r as reactExports, cp as _slicedToArray, cq as useGetSubcomponentChild, m as merge, n as jsxs, cr as BaseClickable, B as ButtCon, S as SmartClone, cs as AnimatePresence, a as Box, aL as Stack, C as ClassNames, k as _defineProperty, ct as getTertiaryButtonStyles, f as flattenChildren, i as isChildSubcomponent, aN as Divider, l as useTranslation, b6 as getRemoteImage, z as Environment, c4 as getChainNameById, y as getL1ChainId, aa as isWalletConnectProvider, c6 as isMetaMaskProvider, bb as CloudImage, a6 as Heading, o as Body, d as Button, a1 as FooterLogo, a7 as Drawer, M as MenuItem, cu as Select, cv as FormControlWrapper, b5 as WidgetTheme, cw as PriceDisplay, aB as Fragment, A as tokenValueFormat, v as formatZeroAmount, bS as ShimmerBox, cx as DuoCon, ab as heroBackGroundStyles, ac as heroImageStyles, ad as heroImageBottomAlign, bf as NATIVE, W as getTokenImageByAddress, G as isNativeToken, Q as DEFAULT_BALANCE_RETRY_POLICY } from './index-B6yLcw_w.js';
2
- import { T as TokenImage, r as retry } from './retry-BdEfT5hn.js';
1
+ import { co as hFlex, j as jsx, aG as motion, _ as _objectWithoutProperties, u as useTheme, r as reactExports, cp as _slicedToArray, cq as useGetSubcomponentChild, m as merge, n as jsxs, cr as BaseClickable, B as ButtCon, S as SmartClone, cs as AnimatePresence, a as Box, aL as Stack, C as ClassNames, k as _defineProperty, ct as getTertiaryButtonStyles, f as flattenChildren, i as isChildSubcomponent, aN as Divider, l as useTranslation, b6 as getRemoteImage, z as Environment, c4 as getChainNameById, y as getL1ChainId, aa as isWalletConnectProvider, c6 as isMetaMaskProvider, bb as CloudImage, a6 as Heading, o as Body, d as Button, a1 as FooterLogo, a7 as Drawer, M as MenuItem, cu as Select, cv as FormControlWrapper, b5 as WidgetTheme, cw as PriceDisplay, aB as Fragment, A as tokenValueFormat, v as formatZeroAmount, bS as ShimmerBox, cx as DuoCon, ab as heroBackGroundStyles, ac as heroImageStyles, ad as heroImageBottomAlign, bf as NATIVE, W as getTokenImageByAddress, G as isNativeToken, Q as DEFAULT_BALANCE_RETRY_POLICY } from './index-BCU32pT8.js';
2
+ import { T as TokenImage, r as retry } from './retry-B3DoYkeU.js';
3
3
 
4
4
  function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -1,4 +1,4 @@
1
- import { cT as getAugmentedNamespace, cL as commonjsGlobal } from './index-B6yLcw_w.js';
1
+ import { cT as getAugmentedNamespace, cL as commonjsGlobal } from './index-BCU32pT8.js';
2
2
 
3
3
  var dist$1 = {};
4
4
 
@@ -167913,7 +167913,7 @@ var Analytics = /** @class */ (function (_super) {
167913
167913
  return __generator(this, function (_b) {
167914
167914
  switch (_b.label) {
167915
167915
  case 0: return [4 /*yield*/, import(
167916
- /* webpackChunkName: "auto-track" */ './auto-track-DxbE98Ou.js')];
167916
+ /* webpackChunkName: "auto-track" */ './auto-track-DdiuplwC.js')];
167917
167917
  case 1:
167918
167918
  autotrack = _b.sent();
167919
167919
  return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -167932,7 +167932,7 @@ var Analytics = /** @class */ (function (_super) {
167932
167932
  return __generator(this, function (_b) {
167933
167933
  switch (_b.label) {
167934
167934
  case 0: return [4 /*yield*/, import(
167935
- /* webpackChunkName: "auto-track" */ './auto-track-DxbE98Ou.js')];
167935
+ /* webpackChunkName: "auto-track" */ './auto-track-DdiuplwC.js')];
167936
167936
  case 1:
167937
167937
  autotrack = _b.sent();
167938
167938
  return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -167951,7 +167951,7 @@ var Analytics = /** @class */ (function (_super) {
167951
167951
  return __generator(this, function (_b) {
167952
167952
  switch (_b.label) {
167953
167953
  case 0: return [4 /*yield*/, import(
167954
- /* webpackChunkName: "auto-track" */ './auto-track-DxbE98Ou.js')];
167954
+ /* webpackChunkName: "auto-track" */ './auto-track-DdiuplwC.js')];
167955
167955
  case 1:
167956
167956
  autotrack = _b.sent();
167957
167957
  return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -167970,7 +167970,7 @@ var Analytics = /** @class */ (function (_super) {
167970
167970
  return __generator(this, function (_b) {
167971
167971
  switch (_b.label) {
167972
167972
  case 0: return [4 /*yield*/, import(
167973
- /* webpackChunkName: "auto-track" */ './auto-track-DxbE98Ou.js')];
167973
+ /* webpackChunkName: "auto-track" */ './auto-track-DdiuplwC.js')];
167974
167974
  case 1:
167975
167975
  autotrack = _b.sent();
167976
167976
  return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
@@ -168120,7 +168120,7 @@ var Analytics = /** @class */ (function (_super) {
168120
168120
  return [2 /*return*/, []];
168121
168121
  }
168122
168122
  return [4 /*yield*/, import(
168123
- /* webpackChunkName: "queryString" */ './index-yLOTAIbX.js')];
168123
+ /* webpackChunkName: "queryString" */ './index-CwmxMsoB.js')];
168124
168124
  case 1:
168125
168125
  queryString = (_a.sent()).queryString;
168126
168126
  return [2 /*return*/, queryString(this, query)];
@@ -170824,7 +170824,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
170824
170824
  case 0:
170825
170825
  if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
170826
170826
  return [4 /*yield*/, import(
170827
- /* webpackChunkName: "tsub-middleware" */ './index-DtkTTOwU.js').then(function (mod) {
170827
+ /* webpackChunkName: "tsub-middleware" */ './index-B0SLMzFD.js').then(function (mod) {
170828
170828
  return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
170829
170829
  })];
170830
170830
  case 1:
@@ -170837,7 +170837,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
170837
170837
  tsubMiddleware = _d;
170838
170838
  if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
170839
170839
  return [4 /*yield*/, import(
170840
- /* webpackChunkName: "ajs-destination" */ './index-tXJ2lSup.js').then(function (mod) {
170840
+ /* webpackChunkName: "ajs-destination" */ './index-RA3Gu405.js').then(function (mod) {
170841
170841
  return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
170842
170842
  })];
170843
170843
  case 4:
@@ -170850,7 +170850,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
170850
170850
  legacyDestinations = _e;
170851
170851
  if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
170852
170852
  return [4 /*yield*/, import(
170853
- /* webpackChunkName: "legacyVideos" */ './index-B_WTkZH5.js').then(function (mod) {
170853
+ /* webpackChunkName: "legacyVideos" */ './index-lfpKQnKo.js').then(function (mod) {
170854
170854
  return mod.loadLegacyVideoPlugins(analytics);
170855
170855
  })];
170856
170856
  case 7:
@@ -170859,7 +170859,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
170859
170859
  case 8:
170860
170860
  if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
170861
170861
  return [4 /*yield*/, import(
170862
- /* webpackChunkName: "schemaFilter" */ './index-DVD4nZrz.js').then(function (mod) {
170862
+ /* webpackChunkName: "schemaFilter" */ './index-CZhlFgfu.js').then(function (mod) {
170863
170863
  var _a;
170864
170864
  return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
170865
170865
  })];
@@ -170898,7 +170898,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
170898
170898
  return enabled;
170899
170899
  })) return [3 /*break*/, 17];
170900
170900
  return [4 /*yield*/, import(
170901
- /* webpackChunkName: "remoteMiddleware" */ './index-BHrYGHfl.js').then(function (_a) {
170901
+ /* webpackChunkName: "remoteMiddleware" */ './index-CxtFhfUN.js').then(function (_a) {
170902
170902
  var remoteMiddlewares = _a.remoteMiddlewares;
170903
170903
  return __awaiter(_this, void 0, void 0, function () {
170904
170904
  var middleware, promises;
@@ -179045,7 +179045,7 @@ function snapshot(proxyObject, handlePromise) {
179045
179045
 
179046
179046
  const o=proxy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),T={state:o,subscribe(e){return subscribe(o,()=>e(o))},push(e,t){e!==o.view&&(o.view=e,t&&(o.data=t),o.history.push(e));},reset(e){o.view=e,o.history=[e];},replace(e){o.history.length>1&&(o.history[o.history.length-1]=e,o.view=e);},goBack(){if(o.history.length>1){o.history.pop();const[e]=o.history.slice(-1);o.view=e;}},setData(e){o.data=e;}},a$2={WALLETCONNECT_DEEPLINK_CHOICE:"WALLETCONNECT_DEEPLINK_CHOICE",WCM_VERSION:"WCM_VERSION",RECOMMENDED_WALLET_AMOUNT:9,isMobile(){return typeof window<"u"?Boolean(window.matchMedia("(pointer:coarse)").matches||/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent)):!1},isAndroid(){return a$2.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return a$2.isMobile()&&(e.includes("iphone")||e.includes("ipad"))},isHttpUrl(e){return e.startsWith("http://")||e.startsWith("https://")},isArray(e){return Array.isArray(e)&&e.length>0},formatNativeUrl(e,t,s){if(a$2.isHttpUrl(e))return this.formatUniversalUrl(e,t,s);let n=e;n.includes("://")||(n=e.replaceAll("/","").replaceAll(":",""),n=`${n}://`),n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},formatUniversalUrl(e,t,s){if(!a$2.isHttpUrl(e))return this.formatNativeUrl(e,t,s);let n=e;n.endsWith("/")||(n=`${n}/`),this.setWalletConnectDeepLink(n,s);const i=encodeURIComponent(t);return `${n}wc?uri=${i}`},async wait(e){return new Promise(t=>{setTimeout(t,e);})},openHref(e,t){window.open(e,t,"noreferrer noopener");},setWalletConnectDeepLink(e,t){try{localStorage.setItem(a$2.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:e,name:t}));}catch{console.info("Unable to set WalletConnect deep link");}},setWalletConnectAndroidDeepLink(e){try{const[t]=e.split("?");localStorage.setItem(a$2.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}));}catch{console.info("Unable to set WalletConnect android deep link");}},removeWalletConnectDeepLink(){try{localStorage.removeItem(a$2.WALLETCONNECT_DEEPLINK_CHOICE);}catch{console.info("Unable to remove WalletConnect deep link");}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(a$2.WCM_VERSION,"2.6.2");}catch{console.info("Unable to set Web3Modal version in storage");}},getWalletRouterData(){var e;const t=(e=T.state.data)==null?void 0:e.Wallet;if(!t)throw new Error('Missing "Wallet" view data');return t}},_$3=typeof location<"u"&&(location.hostname.includes("localhost")||location.protocol.includes("https")),r=proxy({enabled:_$3,userSessionId:"",events:[],connectedWalletId:void 0}),R$3={state:r,subscribe(e){return subscribe(r.events,()=>e(snapshot(r.events[r.events.length-1])))},initialize(){r.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(r.userSessionId=crypto.randomUUID());},setConnectedWalletId(e){r.connectedWalletId=e;},click(e){if(r.enabled){const t={type:"CLICK",name:e.name,userSessionId:r.userSessionId,timestamp:Date.now(),data:e};r.events.push(t);}},track(e){if(r.enabled){const t={type:"TRACK",name:e.name,userSessionId:r.userSessionId,timestamp:Date.now(),data:e};r.events.push(t);}},view(e){if(r.enabled){const t={type:"VIEW",name:e.name,userSessionId:r.userSessionId,timestamp:Date.now(),data:e};r.events.push(t);}}},c$1=proxy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),p$3={state:c$1,subscribe(e){return subscribe(c$1,()=>e(c$1))},setChains(e){c$1.chains=e;},setWalletConnectUri(e){c$1.walletConnectUri=e;},setIsCustomDesktop(e){c$1.isCustomDesktop=e;},setIsCustomMobile(e){c$1.isCustomMobile=e;},setIsDataLoaded(e){c$1.isDataLoaded=e;},setIsUiLoaded(e){c$1.isUiLoaded=e;},setIsAuth(e){c$1.isAuth=e;}},W$1=proxy({projectId:"",mobileWallets:void 0,desktopWallets:void 0,walletImages:void 0,chains:void 0,enableAuthMode:!1,enableExplorer:!0,explorerExcludedWalletIds:void 0,explorerRecommendedWalletIds:void 0,termsOfServiceUrl:void 0,privacyPolicyUrl:void 0}),y$3={state:W$1,subscribe(e){return subscribe(W$1,()=>e(W$1))},setConfig(e){var t,s;R$3.initialize(),p$3.setChains(e.chains),p$3.setIsAuth(Boolean(e.enableAuthMode)),p$3.setIsCustomMobile(Boolean((t=e.mobileWallets)==null?void 0:t.length)),p$3.setIsCustomDesktop(Boolean((s=e.desktopWallets)==null?void 0:s.length)),a$2.setModalVersionInStorage(),Object.assign(W$1,e);}};var V$2=Object.defineProperty,D$5=Object.getOwnPropertySymbols,H$2=Object.prototype.hasOwnProperty,B$2=Object.prototype.propertyIsEnumerable,M$2=(e,t,s)=>t in e?V$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,K$2=(e,t)=>{for(var s in t||(t={}))H$2.call(t,s)&&M$2(e,s,t[s]);if(D$5)for(var s of D$5(t))B$2.call(t,s)&&M$2(e,s,t[s]);return e};const L$3="https://explorer-api.walletconnect.com",E$3="wcm",O$4="js-2.6.2";async function w$4(e,t){const s=K$2({sdkType:E$3,sdkVersion:O$4},t),n=new URL(e,L$3);return n.searchParams.append("projectId",y$3.state.projectId),Object.entries(s).forEach(([i,l])=>{l&&n.searchParams.append(i,String(l));}),(await fetch(n)).json()}const m$2={async getDesktopListings(e){return w$4("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return w$4("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return w$4("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return w$4("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return `${L$3}/w3m/v1/getWalletImage/${e}?projectId=${y$3.state.projectId}&sdkType=${E$3}&sdkVersion=${O$4}`},getAssetImageUrl(e){return `${L$3}/w3m/v1/getAssetImage/${e}?projectId=${y$3.state.projectId}&sdkType=${E$3}&sdkVersion=${O$4}`}};var z$2=Object.defineProperty,j$3=Object.getOwnPropertySymbols,J$2=Object.prototype.hasOwnProperty,q$2=Object.prototype.propertyIsEnumerable,k$2=(e,t,s)=>t in e?z$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,F$3=(e,t)=>{for(var s in t||(t={}))J$2.call(t,s)&&k$2(e,s,t[s]);if(j$3)for(var s of j$3(t))q$2.call(t,s)&&k$2(e,s,t[s]);return e};const N$3=a$2.isMobile(),d$2=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$2={state:d$2,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$3.state;if(e==="NONE"||t==="ALL"&&!e)return d$2.recomendedWallets;if(a$2.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$2.getAllListings(s),i=Object.values(n);i.sort((l,v)=>{const b=e.indexOf(l.id),f=e.indexOf(v.id);return b-f}),d$2.recomendedWallets=i;}else {const{chains:s,isAuth:n}=p$3.state,i=s?.join(","),l=a$2.isArray(t),v={page:1,sdks:n?"auth_v1":void 0,entries:a$2.RECOMMENDED_WALLET_AMOUNT,chains:i,version:2,excludedIds:l?t.join(","):void 0},{listings:b}=N$3?await m$2.getMobileListings(v):await m$2.getDesktopListings(v);d$2.recomendedWallets=Object.values(b);}return d$2.recomendedWallets},async getWallets(e){const t=F$3({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$3.state,{recomendedWallets:i}=d$2;if(n==="ALL")return d$2.wallets;i.length?t.excludedIds=i.map(x=>x.id).join(","):a$2.isArray(s)&&(t.excludedIds=s.join(",")),a$2.isArray(n)&&(t.excludedIds=[t.excludedIds,n].filter(Boolean).join(",")),p$3.state.isAuth&&(t.sdks="auth_v1");const{page:l,search:v}=e,{listings:b,total:f}=N$3?await m$2.getMobileListings(t):await m$2.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$2[U]={listings:[...d$2[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$2.getWalletImageUrl(e)},getAssetImageUrl(e){return m$2.getAssetImageUrl(e)},resetSearch(){d$2.search={listings:[],total:0,page:1};}},I$1=proxy({open:!1}),se={state:I$1,subscribe(e){return subscribe(I$1,()=>e(I$1))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:n}=p$3.state;if(a$2.removeWalletConnectDeepLink(),p$3.setWalletConnectUri(e?.uri),p$3.setChains(e?.chains),T.reset("ConnectWallet"),s&&n)I$1.open=!0,t();else {const i=setInterval(()=>{const l=p$3.state;l.isUiLoaded&&l.isDataLoaded&&(clearInterval(i),I$1.open=!0,t());},200);}})},close(){I$1.open=!1;}};var G$2=Object.defineProperty,$$3=Object.getOwnPropertySymbols,Q$4=Object.prototype.hasOwnProperty,X$2=Object.prototype.propertyIsEnumerable,S$3=(e,t,s)=>t in e?G$2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y=(e,t)=>{for(var s in t||(t={}))Q$4.call(t,s)&&S$3(e,s,t[s]);if($$3)for(var s of $$3(t))X$2.call(t,s)&&S$3(e,s,t[s]);return e};function Z$2(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const C=proxy({themeMode:Z$2()?"dark":"light"}),ne={state:C,subscribe(e){return subscribe(C,()=>e(C))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(C.themeMode=t),s&&(C.themeVariables=Y({},s));}},g$5=proxy({open:!1,message:"",variant:"success"}),oe$2={state:g$5,subscribe(e){return subscribe(g$5,()=>e(g$5))},openToast(e,t){g$5.open=!0,g$5.message=e,g$5.variant=t;},closeToast(){g$5.open=!1;}};
179047
179047
 
179048
- let d$1 = class d{constructor(e){this.openModal=se.open,this.closeModal=se.close,this.subscribeModal=se.subscribe,this.setTheme=ne.setThemeConfig,ne.setThemeConfig(e),y$3.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-DALfhHW6.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$3.setIsUiLoaded(!0);}}};
179048
+ let d$1 = class d{constructor(e){this.openModal=se.open,this.closeModal=se.close,this.subscribeModal=se.subscribe,this.setTheme=ne.setThemeConfig,ne.setThemeConfig(e),y$3.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-DnzYLaf5.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$3.setIsUiLoaded(!0);}}};
179049
179049
 
179050
179050
  var index = /*#__PURE__*/Object.freeze({
179051
179051
  __proto__: null,
@@ -192062,7 +192062,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
192062
192062
  : serviceUnavailableView) }));
192063
192063
  }
192064
192064
 
192065
- const SwapWidget = React.lazy(() => import('./SwapWidget-BhIQ2RGv.js'));
192065
+ const SwapWidget = React.lazy(() => import('./SwapWidget-G1-gLvyX.js'));
192066
192066
  class Swap extends Base {
192067
192067
  eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
192068
192068
  getValidatedProperties({ config }) {
@@ -192189,7 +192189,7 @@ const sendOnRampFailedEvent = (eventTarget, reason) => {
192189
192189
  eventTarget.dispatchEvent(failedEvent);
192190
192190
  };
192191
192191
 
192192
- const OnRampWidget = React.lazy(() => import('./OnRampWidget-D3J6DKX4.js').then(function (n) { return n.a; }));
192192
+ const OnRampWidget = React.lazy(() => import('./OnRampWidget-MPFsrkh0.js').then(function (n) { return n.a; }));
192193
192193
  class OnRamp extends Base {
192194
192194
  eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
192195
192195
  getValidatedProperties({ config }) {
@@ -192278,7 +192278,7 @@ function sendDisconnectWalletEvent(eventTarget) {
192278
192278
  eventTarget.dispatchEvent(disconnectWalletEvent);
192279
192279
  }
192280
192280
 
192281
- const WalletWidget = React.lazy(() => import('./WalletWidget-q-uY5W9O.js'));
192281
+ const WalletWidget = React.lazy(() => import('./WalletWidget-qmZQrfmu.js'));
192282
192282
  class Wallet extends Base {
192283
192283
  eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
192284
192284
  getValidatedProperties({ config }) {
@@ -192420,7 +192420,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
192420
192420
  eventTarget.dispatchEvent(event);
192421
192421
  };
192422
192422
 
192423
- const SaleWidget = React.lazy(() => import('./SaleWidget-2cxEZepL.js'));
192423
+ const SaleWidget = React.lazy(() => import('./SaleWidget-CrWruhMs.js'));
192424
192424
  class Sale extends Base {
192425
192425
  eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
192426
192426
  // TODO: add specific validation logic for the sale items
@@ -192511,7 +192511,7 @@ class Sale extends Base {
192511
192511
  }
192512
192512
  }
192513
192513
 
192514
- const BridgeWidget = React.lazy(() => import('./BridgeWidget-Duy0xwMA.js').then(function (n) { return n.a; }));
192514
+ const BridgeWidget = React.lazy(() => import('./BridgeWidget-1GH2Y2Gl.js').then(function (n) { return n.a; }));
192515
192515
  class Bridge extends Base {
192516
192516
  eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
192517
192517
  getValidatedProperties({ config }) {
@@ -192554,7 +192554,7 @@ class Bridge extends Base {
192554
192554
  }
192555
192555
  }
192556
192556
 
192557
- const CheckoutWidget = React.lazy(() => import('./CheckoutWidget-CmnNEoiQ.js'));
192557
+ const CheckoutWidget = React.lazy(() => import('./CheckoutWidget-bKTdGSys.js'));
192558
192558
  class CheckoutWidgetRoot extends Base {
192559
192559
  eventTopic = IMTBLWidgetEvents.IMTBL_CHECKOUT_WIDGET_EVENT;
192560
192560
  getValidatedProperties({ config, }) {
@@ -192600,7 +192600,7 @@ function sendAddFundsCloseEvent(eventTarget) {
192600
192600
  eventTarget.dispatchEvent(closeWidgetEvent);
192601
192601
  }
192602
192602
 
192603
- const AddFundsWidget = React.lazy(() => import('./AddFundsWidget-CNGMc-IS.js'));
192603
+ const AddFundsWidget = React.lazy(() => import('./AddFundsWidget-C6ASYdqF.js'));
192604
192604
  class AddFunds extends Base {
192605
192605
  eventTopic = IMTBLWidgetEvents.IMTBL_ADD_FUNDS_WIDGET_EVENT;
192606
192606
  getValidatedProperties({ config, }) {
@@ -1,4 +1,4 @@
1
- import { de as __assign } from './index-B6yLcw_w.js';
1
+ import { de as __assign } from './index-BCU32pT8.js';
2
2
  import { i as isPlanEventEnabled } from './is-plan-event-enabled-mXX0dwl-.js';
3
3
 
4
4
  function disabledActionDestinations(plan, settings) {
@@ -1,4 +1,4 @@
1
- import { dt as gracefulDecodeURIComponent, dk as isPlainObject } from './index-B6yLcw_w.js';
1
+ import { dt as gracefulDecodeURIComponent, dk as isPlainObject } from './index-BCU32pT8.js';
2
2
 
3
3
  /**
4
4
  * Returns an object containing only the properties prefixed by the input
@@ -1,4 +1,4 @@
1
- import { d7 as __awaiter, d8 as __generator, di as isServer, da as getNextIntegrationsURL, d9 as loadScript } from './index-B6yLcw_w.js';
1
+ import { d7 as __awaiter, d8 as __generator, di as isServer, da as getNextIntegrationsURL, d9 as loadScript } from './index-BCU32pT8.js';
2
2
 
3
3
  function remoteMiddlewares(ctx, settings, obfuscate) {
4
4
  var _a;
@@ -1,4 +1,4 @@
1
- import { c_ as ne$1, c$ as se$1, d0 as T$2, d1 as oe$1, d2 as R$1, d3 as a$2, d4 as te$1, d5 as p$1, d6 as y$1 } from './index-B6yLcw_w.js';
1
+ import { c_ as ne$1, c$ as se$1, d0 as T$2, d1 as oe$1, d2 as R$1, d3 as a$2, d4 as te$1, d5 as p$1, d6 as y$1 } from './index-BCU32pT8.js';
2
2
 
3
3
  /**
4
4
  * @license
@@ -1,4 +1,4 @@
1
- import { d7 as __awaiter, d8 as __generator, d9 as loadScript, da as getNextIntegrationsURL, db as unloadScript, dc as __spreadArray, dd as isOffline, de as __assign, df as ContextCancelation, dg as applyDestinationMiddleware, dh as dist, di as isServer, dj as mergedOptions, dk as isPlainObject, dl as pWhile, dm as PriorityQueue, dn as PersistedPriorityQueue, dp as attempt, dq as isOnline, dr as Context } from './index-B6yLcw_w.js';
1
+ import { d7 as __awaiter, d8 as __generator, d9 as loadScript, da as getNextIntegrationsURL, db as unloadScript, dc as __spreadArray, dd as isOffline, de as __assign, df as ContextCancelation, dg as applyDestinationMiddleware, dh as dist, di as isServer, dj as mergedOptions, dk as isPlainObject, dl as pWhile, dm as PriorityQueue, dn as PersistedPriorityQueue, dp as attempt, dq as isOnline, dr as Context } from './index-BCU32pT8.js';
2
2
  import { i as isPlanEventEnabled } from './is-plan-event-enabled-mXX0dwl-.js';
3
3
 
4
4
  function normalizeName(name) {
@@ -1,4 +1,4 @@
1
- import { d7 as __awaiter, d8 as __generator } from './index-B6yLcw_w.js';
1
+ import { d7 as __awaiter, d8 as __generator } from './index-BCU32pT8.js';
2
2
 
3
3
  function loadLegacyVideoPlugins(analytics) {
4
4
  return __awaiter(this, void 0, void 0, function () {
@@ -7,7 +7,7 @@ function loadLegacyVideoPlugins(analytics) {
7
7
  switch (_a.label) {
8
8
  case 0: return [4 /*yield*/, import(
9
9
  // @ts-expect-error
10
- './index.umd-hRYp6_Sp.js').then(function (n) { return n.i; })
10
+ './index.umd-BS53V8xY.js').then(function (n) { return n.i; })
11
11
  // This is super gross, but we need to support the `window.analytics.plugins` namespace
12
12
  // that is linked in the segment docs in order to be backwards compatible with ajs-classic
13
13
  // @ts-expect-error
@@ -1,4 +1,4 @@
1
- import { du as getDefaultExportFromCjs } from './index-B6yLcw_w.js';
1
+ import { du as getDefaultExportFromCjs } from './index-BCU32pT8.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -1,4 +1,4 @@
1
- import { r as reactExports, be as getDefaultTokenImage, j as jsx, cy as useBrowserLayoutEffect } from './index-B6yLcw_w.js';
1
+ import { r as reactExports, be as getDefaultTokenImage, j as jsx, cy as useBrowserLayoutEffect } from './index-BCU32pT8.js';
2
2
 
3
3
  function TokenImage({ src, name, environment, theme, defaultImage, ...forwardedProps }) {
4
4
  const [error, setError] = reactExports.useState(false);