@imtbl/sdk 1.73.2-alpha.2 → 1.73.2-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.
- package/dist/{blockchain_data-1FQKhTxB.js → blockchain_data-BLwY2_l8.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-DttL8PtN.js → AddTokensWidget-BrUktLSu.js} +8 -8
- package/dist/browser/checkout/{BridgeWidget-LmayQcLg.js → BridgeWidget-CDLrNgEf.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-DY4wGXpm.js → CommerceWidget-Q7luzl2Q.js} +17 -17
- package/dist/browser/checkout/{CryptoFiatProvider-g9OdF-Pt.js → CryptoFiatProvider-Caaasq7X.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-1wKk6q3g.js → EllipsizedText-DcWPNRco.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-1VCzx-e_.js → FeesBreakdown-D07Vbc-8.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-BlWKcxNC.js → HandoverContent-BxBniM0w.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-BNssRFKO.js → OnRampWidget-B_cghM4v.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-CcmriJBj.js → SaleWidget-D49jz6DF.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-DDmnwWzj.js → SpendingCapHero-xFwC870d.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-IlHNSEOu.js → SwapWidget-BV62wPfw.js} +9 -9
- package/dist/browser/checkout/{TokenImage-BpoXYKTB.js → TokenImage-D-HgQgPE.js} +1 -1
- package/dist/browser/checkout/{TopUpView-By95_msc.js → TopUpView-BmH5YnI2.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-BnJCxsbA.js → WalletApproveHero-DLSiJKRU.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-CjrOUq4j.js → WalletWidget-CtbRHd_c.js} +4 -4
- package/dist/browser/checkout/{auto-track-BxdxLPIA.js → auto-track-C3Qn6aWo.js} +1 -1
- package/dist/browser/checkout/{index-B3VDrNr-.js → index-1oxDSwv8.js} +1 -1
- package/dist/browser/checkout/{index-CgjnYPC9.js → index-B1IiZtxz.js} +1 -1
- package/dist/browser/checkout/{index-Ccn-pFL0.js → index-BHdY2M-1.js} +18 -18
- package/dist/browser/checkout/{index-DzOf-dzS.js → index-BLS_vfNB.js} +1 -1
- package/dist/browser/checkout/{index-DQsTn8Nc.js → index-C0_uj-V9.js} +2 -2
- package/dist/browser/checkout/{index-CMvc5mvi.js → index-CGRqqY4W.js} +1 -1
- package/dist/browser/checkout/{index-DdW7AiQY.js → index-CL0epPF9.js} +1 -1
- package/dist/browser/checkout/{index-CcYNRZ5U.js → index-CLGL5rmE.js} +1 -1
- package/dist/browser/checkout/{index-Cx56Dxn8.js → index-xy4QS7W_.js} +1 -1
- package/dist/browser/checkout/{index.umd-DHZ7lZoA.js → index.umd-DIbx7d6u.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-BuGAsPbz.js → useInterval-BiNwcafF.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +2 -2
- package/dist/{checkout-DIzTrv8T.js → checkout-CmMZr29V.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-CiwXjrrM.js → config-BUTa18S3.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-B4gb7W0f.js → index-BJq07bcy.js} +1 -1
- package/dist/{index-OiYZUhut.js → index-Bg4UqvOM.js} +3 -3
- package/dist/{index-BAl3t7ic.js → index-CA3wWAyd.js} +1 -1
- package/dist/{index-C2zgBb-q.js → index-Fx3VOFqr.js} +1 -1
- package/dist/{index-DdFZcnB3.js → index-QevZLH_3.js} +1 -1
- package/dist/{index-nUFTj_mQ.js → index-S54ugcNL.js} +4 -4
- package/dist/index.browser.js +4 -4
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{minting_backend-DRXOEtni.js → minting_backend-BvYxbT3A.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-j3_31MAy.js → orderbook-BR919ym7.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-DF_tkPrW.js → passport-BE8Q5xtW.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-DUb4YRBq.js → webhook-C19VjaWc.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-BM8ZBQlg.js → x-DPq0UNle.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as APIError, B as BlockchainData } from './index-
|
|
2
|
-
import { i as index } from './index-
|
|
1
|
+
import { A as APIError, B as BlockchainData } from './index-Bg4UqvOM.js';
|
|
2
|
+
import { i as index } from './index-BJq07bcy.js';
|
|
3
3
|
|
|
4
4
|
var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
5
5
|
__proto__: null,
|
package/dist/blockchain_data.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as APIError, B as BlockchainData } from './index-
|
|
2
|
-
export { i as Types } from './index-
|
|
3
|
-
import './index-
|
|
1
|
+
export { A as APIError, B as BlockchainData } from './index-Bg4UqvOM.js';
|
|
2
|
+
export { i as Types } from './index-BJq07bcy.js';
|
|
3
|
+
import './index-QevZLH_3.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'lru-memorise';
|
|
6
6
|
import 'global-const';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _objectWithoutProperties, w as useTheme, x as useForwardLocalDomRef, y as useGetSubcomponentChild, z as useSplitApartChildrenAndSubComponents, r as reactExports, D as merge$2, F as useResizeObserver, p as jsxs, o as jsx, G as SmartClone, H as Box, J as isChildSubcomponent, K as flattenChildren, M as Body, N as useTheme$1, Q as Icon, R as ButtCon, T as Button, U as _defineProperty, X as isDualVariantIcon, Y as _slicedToArray, Z as isNumberWithinTotal, $ as getStartingSize, a0 as BaseClickable, a1 as ClassNames, a2 as _toConsumableArray, a3 as isError, a4 as Badge, a5 as FramedIcon, a6 as FramedImage, a7 as FramedLogo, a8 as Stack, a9 as hFlex, aa as usePrevious, ab as useBrowserEffect, ac as getHeadingTextStyles, ad as vFlex, ae as centerFlexChildren, af as FormControlLabel, ag as FormControlValidation, ah as FormControlCaption, I as IMTBLWidgetEvents, A as AddTokensEventType, ai as getDefaultExportFromCjs, aj as commonjsGlobal, u as useTranslation, ak as MenuItem, al as tokenValueFormat, am as DEFAULT_TOKEN_FORMATTING_DECIMALS, an as BigNumber, ao as getRemoteVideo, ap as FramedVideo, aq as listVariants, ar as motion, as as listItemVariants, at as Fragment, au as Divider, av as useProvidersContext, aw as Drawer, ax as useAnalytics, ay as UserJourney, az as isPassportProvider, aA as Heading, aB as WalletDrawer, aC as UnableToConnectDrawer, aD as WalletProviderRdns, aE as removeSpace, aF as getProviderSlugFromRdns, aG as Web3Provider, aH as connectEIP6963Provider, aI as identifyUser, aJ as ConnectEIP6963ProviderError, aK as ProvidersContextActions, j as ChainId, aL as commonjsRequire, aM as getRemoteImage, aN as ViewContext, aO as useHandover, aP as HandoverTarget, aQ as EventTargetContext, V as ViewActions, aR as getRemoteRive, aS as Trans, aT as Link, aU as keyframes, aV as getDefaultTokenImage, aW as TokenFilterTypes, h as getL2ChainId, aX as isNativeToken, aY as getTokenImageByAddress, aZ as TextInput, a_ as VerticalMenu, a$ as fetchRiskAssessment, b0 as isAddressSanctioned, b1 as useInjectedProviders, b2 as SimpleLayout, m as SharedViews, b3 as orchestrationEvents, b4 as requireSecp256k1$1, b5 as requireLib_commonjs, b6 as require$$0$2, b7 as bech32$2, b8 as bnExports$1, b9 as require$$0$3, ba as getAugmentedNamespace, bb as require$$0$4, bc as minimalisticAssert, bd as require$$2, be as hash$6, bf as trackFlow, bg as trackError, bh as MaxUint256, bi as merge$3, bj as SvgIcon, bk as WalletWarningHero, bl as Environment, bm as t, bn as PriceDisplay, L as LoadingView, bo as viewReducer, bp as initialViewState, bq as isValidAddress, br as amountInputValidation, bs as CloudImage, E as ErrorView, bt as ServiceUnavailableErrorView } from './index-
|
|
2
|
-
import { f as formatUnits, p as parseUnits } from './index-
|
|
3
|
-
import { E as EllipsizedText, C as Contract } from './EllipsizedText-
|
|
4
|
-
import { r as retry, T as TokenImage } from './TokenImage-
|
|
5
|
-
import { H as HandoverContent } from './HandoverContent-
|
|
6
|
-
import { F as FeesBreakdown } from './FeesBreakdown-
|
|
1
|
+
import { _ as _objectWithoutProperties, w as useTheme, x as useForwardLocalDomRef, y as useGetSubcomponentChild, z as useSplitApartChildrenAndSubComponents, r as reactExports, D as merge$2, F as useResizeObserver, p as jsxs, o as jsx, G as SmartClone, H as Box, J as isChildSubcomponent, K as flattenChildren, M as Body, N as useTheme$1, Q as Icon, R as ButtCon, T as Button, U as _defineProperty, X as isDualVariantIcon, Y as _slicedToArray, Z as isNumberWithinTotal, $ as getStartingSize, a0 as BaseClickable, a1 as ClassNames, a2 as _toConsumableArray, a3 as isError, a4 as Badge, a5 as FramedIcon, a6 as FramedImage, a7 as FramedLogo, a8 as Stack, a9 as hFlex, aa as usePrevious, ab as useBrowserEffect, ac as getHeadingTextStyles, ad as vFlex, ae as centerFlexChildren, af as FormControlLabel, ag as FormControlValidation, ah as FormControlCaption, I as IMTBLWidgetEvents, A as AddTokensEventType, ai as getDefaultExportFromCjs, aj as commonjsGlobal, u as useTranslation, ak as MenuItem, al as tokenValueFormat, am as DEFAULT_TOKEN_FORMATTING_DECIMALS, an as BigNumber, ao as getRemoteVideo, ap as FramedVideo, aq as listVariants, ar as motion, as as listItemVariants, at as Fragment, au as Divider, av as useProvidersContext, aw as Drawer, ax as useAnalytics, ay as UserJourney, az as isPassportProvider, aA as Heading, aB as WalletDrawer, aC as UnableToConnectDrawer, aD as WalletProviderRdns, aE as removeSpace, aF as getProviderSlugFromRdns, aG as Web3Provider, aH as connectEIP6963Provider, aI as identifyUser, aJ as ConnectEIP6963ProviderError, aK as ProvidersContextActions, j as ChainId, aL as commonjsRequire, aM as getRemoteImage, aN as ViewContext, aO as useHandover, aP as HandoverTarget, aQ as EventTargetContext, V as ViewActions, aR as getRemoteRive, aS as Trans, aT as Link, aU as keyframes, aV as getDefaultTokenImage, aW as TokenFilterTypes, h as getL2ChainId, aX as isNativeToken, aY as getTokenImageByAddress, aZ as TextInput, a_ as VerticalMenu, a$ as fetchRiskAssessment, b0 as isAddressSanctioned, b1 as useInjectedProviders, b2 as SimpleLayout, m as SharedViews, b3 as orchestrationEvents, b4 as requireSecp256k1$1, b5 as requireLib_commonjs, b6 as require$$0$2, b7 as bech32$2, b8 as bnExports$1, b9 as require$$0$3, ba as getAugmentedNamespace, bb as require$$0$4, bc as minimalisticAssert, bd as require$$2, be as hash$6, bf as trackFlow, bg as trackError, bh as MaxUint256, bi as merge$3, bj as SvgIcon, bk as WalletWarningHero, bl as Environment, bm as t, bn as PriceDisplay, L as LoadingView, bo as viewReducer, bp as initialViewState, bq as isValidAddress, br as amountInputValidation, bs as CloudImage, E as ErrorView, bt as ServiceUnavailableErrorView } from './index-BHdY2M-1.js';
|
|
2
|
+
import { f as formatUnits, p as parseUnits } from './index-xy4QS7W_.js';
|
|
3
|
+
import { E as EllipsizedText, C as Contract } from './EllipsizedText-DcWPNRco.js';
|
|
4
|
+
import { r as retry, T as TokenImage } from './TokenImage-D-HgQgPE.js';
|
|
5
|
+
import { H as HandoverContent } from './HandoverContent-BxBniM0w.js';
|
|
6
|
+
import { F as FeesBreakdown } from './FeesBreakdown-D07Vbc-8.js';
|
|
7
7
|
|
|
8
8
|
var bannerSx = {
|
|
9
9
|
d: "flex",
|
|
@@ -1179,7 +1179,7 @@ const initialAddTokensState = {
|
|
|
1179
1179
|
selectedRouteData: undefined,
|
|
1180
1180
|
selectedToken: undefined,
|
|
1181
1181
|
selectedAmount: '',
|
|
1182
|
-
isSwapAvailable:
|
|
1182
|
+
isSwapAvailable: undefined,
|
|
1183
1183
|
};
|
|
1184
1184
|
var AddTokensActions;
|
|
1185
1185
|
(function (AddTokensActions) {
|
|
@@ -6226,7 +6226,7 @@ function AddTokens({ checkout, toAmount, config, toTokenAddress, showOnrampOptio
|
|
|
6226
6226
|
return detail;
|
|
6227
6227
|
}), [providers]);
|
|
6228
6228
|
reactExports.useEffect(() => {
|
|
6229
|
-
if (!id) {
|
|
6229
|
+
if (!id || isSwapAvailable === undefined) {
|
|
6230
6230
|
return;
|
|
6231
6231
|
}
|
|
6232
6232
|
page({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c5 as axios, c6 as CheckoutErrorType, c7 as IMMUTABLE_API_BASE_URL, r as reactExports, I as IMTBLWidgetEvents, B as BridgeEventType, p as jsxs, o as jsx, c8 as ShimmerBox, ak as MenuItem, a8 as Stack, u as useTranslation, M as Body, T as Button, H as Box, c9 as PASSPORT_URL, aT as Link, ca as getChainIdBySlug, cb as getChainImage, cc as networkName, a6 as FramedImage, Q as Icon, ax as useAnalytics, ay as UserJourney, au as Divider, aN as ViewContext, at as Fragment, V as ViewActions, cd as useWalletConnect, ce as isWalletConnectProvider, cf as Logo, cg as RawImage, ch as AXELAR_SCAN_URL, aX as isNativeToken, aY as getTokenImageByAddress, ci as getNativeSymbolByChainSlug, bD as calculateCryptoToFiat, aQ as EventTargetContext, az as isPassportProvider, i as getL1ChainId, aW as TokenFilterTypes, h as getL2ChainId, aD as WalletProviderRdns, aG as Web3Provider, b1 as useInjectedProviders, bK as HeaderNavigation, bN as FooterLogo, aB as WalletDrawer, b2 as SimpleLayout, cj as getChainSlugById, ck as JsonRpcProvider, cl as DEFAULT_TRANSACTIONS_RETRY_POLICY, L as LoadingView, j as ChainId, cm as getChainNameById, w as useTheme, aA as Heading, cn as getWalletProviderNameByProvider, co as isMetaMaskProvider, cp as WalletProviderName, aw as Drawer, R as ButtCon, cq as ButtonNavigationStyles, b3 as orchestrationEvents, al as tokenValueFormat, cr as formatZeroAmount, cs as NATIVE, a$ as fetchRiskAssessment, br as amountInputValidation, aM as getRemoteImage, bs as CloudImage, ct as ETH_TOKEN_SYMBOL, an as BigNumber, bl as Environment, cu as GasEstimateType, cv as DEFAULT_TOKEN_DECIMALS, cw as DEFAULT_QUOTE_REFRESH_INTERVAL, cx as addChainChangedListener, cy as removeChainChangedListener, b0 as isAddressSanctioned, cz as IMX_TOKEN_SYMBOL, m as SharedViews, cA as dist, cB as CHECKOUT_CDN_BASE_URL, cC as heroBackGroundStyles, cD as heroImageStyles, a4 as Badge, cE as SimpleTextBody, cF as FooterButton, cG as getEthTokenImage, cH as WITHDRAWAL_CLAIM_GAS_LIMIT, aV as getDefaultTokenImage, bo as viewReducer, bp as initialViewState, cI as BridgeConfiguration, cJ as ImmutableConfiguration, cK as TokenBridge, cL as StatusView, bO as StatusType, E as ErrorView, bt as ServiceUnavailableErrorView, cM as ETH_SEPOLIA_TO_ZKEVM_TESTNET, cN as ETH_SEPOLIA_TO_ZKEVM_DEVNET, cO as ETH_MAINNET_TO_ZKEVM_MAINNET } from './index-
|
|
2
|
-
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-
|
|
3
|
-
import { T as TokenImage, r as retry } from './TokenImage-
|
|
4
|
-
import { E as EllipsizedText, C as Contract } from './EllipsizedText-
|
|
5
|
-
import { A as Accordion, S as SelectForm, T as TextInputForm, a as TransactionRejected, g as getAllowedBalances, F as Fees, N as NetworkSwitchDrawer, W as WalletApproveHero } from './WalletApproveHero-
|
|
6
|
-
import { B as BridgeWidgetViews, T as TopUpView } from './TopUpView-
|
|
7
|
-
import { f as formatUnits, p as parseUnits } from './index-
|
|
8
|
-
import { u as useInterval } from './useInterval-
|
|
9
|
-
import './FeesBreakdown-
|
|
1
|
+
import { c5 as axios, c6 as CheckoutErrorType, c7 as IMMUTABLE_API_BASE_URL, r as reactExports, I as IMTBLWidgetEvents, B as BridgeEventType, p as jsxs, o as jsx, c8 as ShimmerBox, ak as MenuItem, a8 as Stack, u as useTranslation, M as Body, T as Button, H as Box, c9 as PASSPORT_URL, aT as Link, ca as getChainIdBySlug, cb as getChainImage, cc as networkName, a6 as FramedImage, Q as Icon, ax as useAnalytics, ay as UserJourney, au as Divider, aN as ViewContext, at as Fragment, V as ViewActions, cd as useWalletConnect, ce as isWalletConnectProvider, cf as Logo, cg as RawImage, ch as AXELAR_SCAN_URL, aX as isNativeToken, aY as getTokenImageByAddress, ci as getNativeSymbolByChainSlug, bD as calculateCryptoToFiat, aQ as EventTargetContext, az as isPassportProvider, i as getL1ChainId, aW as TokenFilterTypes, h as getL2ChainId, aD as WalletProviderRdns, aG as Web3Provider, b1 as useInjectedProviders, bK as HeaderNavigation, bN as FooterLogo, aB as WalletDrawer, b2 as SimpleLayout, cj as getChainSlugById, ck as JsonRpcProvider, cl as DEFAULT_TRANSACTIONS_RETRY_POLICY, L as LoadingView, j as ChainId, cm as getChainNameById, w as useTheme, aA as Heading, cn as getWalletProviderNameByProvider, co as isMetaMaskProvider, cp as WalletProviderName, aw as Drawer, R as ButtCon, cq as ButtonNavigationStyles, b3 as orchestrationEvents, al as tokenValueFormat, cr as formatZeroAmount, cs as NATIVE, a$ as fetchRiskAssessment, br as amountInputValidation, aM as getRemoteImage, bs as CloudImage, ct as ETH_TOKEN_SYMBOL, an as BigNumber, bl as Environment, cu as GasEstimateType, cv as DEFAULT_TOKEN_DECIMALS, cw as DEFAULT_QUOTE_REFRESH_INTERVAL, cx as addChainChangedListener, cy as removeChainChangedListener, b0 as isAddressSanctioned, cz as IMX_TOKEN_SYMBOL, m as SharedViews, cA as dist, cB as CHECKOUT_CDN_BASE_URL, cC as heroBackGroundStyles, cD as heroImageStyles, a4 as Badge, cE as SimpleTextBody, cF as FooterButton, cG as getEthTokenImage, cH as WITHDRAWAL_CLAIM_GAS_LIMIT, aV as getDefaultTokenImage, bo as viewReducer, bp as initialViewState, cI as BridgeConfiguration, cJ as ImmutableConfiguration, cK as TokenBridge, cL as StatusView, bO as StatusType, E as ErrorView, bt as ServiceUnavailableErrorView, cM as ETH_SEPOLIA_TO_ZKEVM_TESTNET, cN as ETH_SEPOLIA_TO_ZKEVM_DEVNET, cO as ETH_MAINNET_TO_ZKEVM_MAINNET } from './index-BHdY2M-1.js';
|
|
2
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-Caaasq7X.js';
|
|
3
|
+
import { T as TokenImage, r as retry } from './TokenImage-D-HgQgPE.js';
|
|
4
|
+
import { E as EllipsizedText, C as Contract } from './EllipsizedText-DcWPNRco.js';
|
|
5
|
+
import { A as Accordion, S as SelectForm, T as TextInputForm, a as TransactionRejected, g as getAllowedBalances, F as Fees, N as NetworkSwitchDrawer, W as WalletApproveHero } from './WalletApproveHero-DLSiJKRU.js';
|
|
6
|
+
import { B as BridgeWidgetViews, T as TopUpView } from './TopUpView-BmH5YnI2.js';
|
|
7
|
+
import { f as formatUnits, p as parseUnits } from './index-xy4QS7W_.js';
|
|
8
|
+
import { u as useInterval } from './useInterval-BiNwcafF.js';
|
|
9
|
+
import './FeesBreakdown-D07Vbc-8.js';
|
|
10
10
|
|
|
11
11
|
// This module is intended to unwrap Axios default export as named.
|
|
12
12
|
// Keep top-level export same with static properties
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { I as IMTBLWidgetEvents, C as CommerceFlowType, P as ProviderEventType, a as CommerceEventType, b as ConnectEventType, c as CommerceFailureEventType, d as CommerceSuccessEventType, W as WalletEventType, e as CommerceUserActionEventType, S as SwapEventType, A as AddTokensEventType, B as BridgeEventType, O as OnRampEventType, f as SaleEventType, g as OrchestrationEventType, r as reactExports, V as ViewActions, h as getL2ChainId, i as getL1ChainId, j as ChainId, u as useTranslation, k as useViewState, l as useEventTargetState, m as SharedViews, n as commerceFlows, o as jsx, p as jsxs, L as LoadingView, E as ErrorView, q as ConnectWidget, s as ProvidersContextProvider, t as ConnectLoader, v as ViewContextProvider } from './index-
|
|
2
|
-
import SwapWidget from './SwapWidget-
|
|
3
|
-
import BridgeWidget from './BridgeWidget-
|
|
4
|
-
import { O as OnRampWidget } from './OnRampWidget-
|
|
5
|
-
import WalletWidget from './WalletWidget-
|
|
6
|
-
import SaleWidget from './SaleWidget-
|
|
7
|
-
import AddTokensWidget from './AddTokensWidget-
|
|
8
|
-
import './WalletApproveHero-
|
|
9
|
-
import './TokenImage-
|
|
10
|
-
import './FeesBreakdown-
|
|
11
|
-
import './CryptoFiatProvider-
|
|
12
|
-
import './useInterval-
|
|
13
|
-
import './index-
|
|
14
|
-
import './TopUpView-
|
|
15
|
-
import './SpendingCapHero-
|
|
16
|
-
import './EllipsizedText-
|
|
17
|
-
import './HandoverContent-
|
|
1
|
+
import { I as IMTBLWidgetEvents, C as CommerceFlowType, P as ProviderEventType, a as CommerceEventType, b as ConnectEventType, c as CommerceFailureEventType, d as CommerceSuccessEventType, W as WalletEventType, e as CommerceUserActionEventType, S as SwapEventType, A as AddTokensEventType, B as BridgeEventType, O as OnRampEventType, f as SaleEventType, g as OrchestrationEventType, r as reactExports, V as ViewActions, h as getL2ChainId, i as getL1ChainId, j as ChainId, u as useTranslation, k as useViewState, l as useEventTargetState, m as SharedViews, n as commerceFlows, o as jsx, p as jsxs, L as LoadingView, E as ErrorView, q as ConnectWidget, s as ProvidersContextProvider, t as ConnectLoader, v as ViewContextProvider } from './index-BHdY2M-1.js';
|
|
2
|
+
import SwapWidget from './SwapWidget-BV62wPfw.js';
|
|
3
|
+
import BridgeWidget from './BridgeWidget-CDLrNgEf.js';
|
|
4
|
+
import { O as OnRampWidget } from './OnRampWidget-B_cghM4v.js';
|
|
5
|
+
import WalletWidget from './WalletWidget-CtbRHd_c.js';
|
|
6
|
+
import SaleWidget from './SaleWidget-D49jz6DF.js';
|
|
7
|
+
import AddTokensWidget from './AddTokensWidget-BrUktLSu.js';
|
|
8
|
+
import './WalletApproveHero-DLSiJKRU.js';
|
|
9
|
+
import './TokenImage-D-HgQgPE.js';
|
|
10
|
+
import './FeesBreakdown-D07Vbc-8.js';
|
|
11
|
+
import './CryptoFiatProvider-Caaasq7X.js';
|
|
12
|
+
import './useInterval-BiNwcafF.js';
|
|
13
|
+
import './index-xy4QS7W_.js';
|
|
14
|
+
import './TopUpView-BmH5YnI2.js';
|
|
15
|
+
import './SpendingCapHero-xFwC870d.js';
|
|
16
|
+
import './EllipsizedText-DcWPNRco.js';
|
|
17
|
+
import './HandoverContent-BxBniM0w.js';
|
|
18
18
|
|
|
19
19
|
const sendCheckoutEvent = (eventTarget, detail) => {
|
|
20
20
|
const event = new CustomEvent(IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT, { detail });
|
package/dist/browser/checkout/{CryptoFiatProvider-g9OdF-Pt.js → CryptoFiatProvider-Caaasq7X.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bl as Environment, c5 as axios, r as reactExports, o as jsx } from './index-
|
|
1
|
+
import { bl as Environment, c5 as axios, r as reactExports, o as jsx } from './index-BHdY2M-1.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Class representing the configuration for the CryptoFiatModule.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cP as defineReadOnly, cQ as getStatic, cR as Signer, cS as Provider, cT as getAddress, cU as Logger, cV as getContractAddress, cW as Interface, cX as shallowCopy, cY as VoidSigner, cZ as Indexed, c_ as deepCopy, c$ as isHexString, d0 as checkResultErrors, d1 as resolveProperties, an as BigNumber, d2 as accessListify, d3 as arrayify, o as jsx, _ as _objectWithoutProperties, bA as cloneElementWithCssProp, M as Body, U as _defineProperty } from './index-
|
|
1
|
+
import { cP as defineReadOnly, cQ as getStatic, cR as Signer, cS as Provider, cT as getAddress, cU as Logger, cV as getContractAddress, cW as Interface, cX as shallowCopy, cY as VoidSigner, cZ as Indexed, c_ as deepCopy, c$ as isHexString, d0 as checkResultErrors, d1 as resolveProperties, an as BigNumber, d2 as accessListify, d3 as arrayify, o as jsx, _ as _objectWithoutProperties, bA as cloneElementWithCssProp, M as Body, U as _defineProperty } from './index-BHdY2M-1.js';
|
|
2
2
|
|
|
3
3
|
const version = "contracts/5.7.0";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as jsxs, o as jsx, M as Body, bn as PriceDisplay, H as Box, u as useTranslation, aw as Drawer, ak as MenuItem, at as Fragment, au as Divider, al as tokenValueFormat, cr as formatZeroAmount, bN as FooterLogo } from './index-
|
|
1
|
+
import { p as jsxs, o as jsx, M as Body, bn as PriceDisplay, H as Box, u as useTranslation, aw as Drawer, ak as MenuItem, at as Fragment, au as Divider, al as tokenValueFormat, cr as formatZeroAmount, bN as FooterLogo } from './index-BHdY2M-1.js';
|
|
2
2
|
|
|
3
3
|
const feesBreakdownContentStyles = {
|
|
4
4
|
display: 'flex',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as jsxs, H as Box, o as jsx, aA as Heading, M as Body, T as Button } from './index-
|
|
1
|
+
import { p as jsxs, H as Box, o as jsx, aA as Heading, M as Body, T as Button } from './index-BHdY2M-1.js';
|
|
2
2
|
|
|
3
3
|
function HandoverContent({ headingText, subheadingText, primaryButtonText, onPrimaryButtonClick, secondaryButtonText, onSecondaryButtonClick, }) {
|
|
4
4
|
return (jsxs(Box, { sx: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d4 as global, ax as useAnalytics, r as reactExports, bZ as ConnectLoaderContext, aQ as EventTargetContext, u as useTranslation, aN as ViewContext, m as SharedViews, a$ as fetchRiskAssessment, b0 as isAddressSanctioned, V as ViewActions, d5 as ExchangeType, o as jsx, b2 as SimpleLayout, bK as HeaderNavigation, d6 as sendOnRampWidgetCloseEvent, b3 as orchestrationEvents, I as IMTBLWidgetEvents, H as Box, ay as UserJourney, bN as FooterLogo, p as jsxs, cE as SimpleTextBody, bo as viewReducer, bp as initialViewState, cs as NATIVE, L as LoadingView, d7 as sendOnRampSuccessEvent, bO as StatusType, cL as StatusView, d8 as sendOnRampFailedEvent, bt as ServiceUnavailableErrorView } from './index-
|
|
2
|
-
import { O as OnRampWidgetViews, T as TopUpView } from './TopUpView-
|
|
3
|
-
import { S as SpendingCapHero } from './SpendingCapHero-
|
|
1
|
+
import { d4 as global, ax as useAnalytics, r as reactExports, bZ as ConnectLoaderContext, aQ as EventTargetContext, u as useTranslation, aN as ViewContext, m as SharedViews, a$ as fetchRiskAssessment, b0 as isAddressSanctioned, V as ViewActions, d5 as ExchangeType, o as jsx, b2 as SimpleLayout, bK as HeaderNavigation, d6 as sendOnRampWidgetCloseEvent, b3 as orchestrationEvents, I as IMTBLWidgetEvents, H as Box, ay as UserJourney, bN as FooterLogo, p as jsxs, cE as SimpleTextBody, bo as viewReducer, bp as initialViewState, cs as NATIVE, L as LoadingView, d7 as sendOnRampSuccessEvent, bO as StatusType, cL as StatusView, d8 as sendOnRampFailedEvent, bt as ServiceUnavailableErrorView } from './index-BHdY2M-1.js';
|
|
2
|
+
import { O as OnRampWidgetViews, T as TopUpView } from './TopUpView-BmH5YnI2.js';
|
|
3
|
+
import { S as SpendingCapHero } from './SpendingCapHero-xFwC870d.js';
|
|
4
4
|
|
|
5
5
|
function isNull(arg) {
|
|
6
6
|
return arg === null;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as _objectWithoutProperties, o as jsx, bu as MultiTextShimmer, U as _defineProperty, w as useTheme, r as reactExports, D as merge, bv as getCaptionTextStyles, bw as DEFAULT_BODY_PROPS, bx as baseTextComponentSx, by as useConvertSxToEmotionStyles, bz as useGetCurrentSizeClass, bA as cloneElementWithCssProp, bl as Environment, an as BigNumber, bB as compareStr, aN as ViewContext, V as ViewActions, a$ as fetchRiskAssessment, bC as SalePaymentTypes, ay as UserJourney, u as useTranslation, bD as calculateCryptoToFiat, ax as useAnalytics, aQ as EventTargetContext, bE as sendSaleWidgetCloseEvent, bF as sendSaleSuccessEvent, bG as sendSaleFailedEvent, bH as sendSaleTransactionSuccessEvent, bI as sendSalePaymentMethodEvent, bJ as sendSalePaymentTokenEvent, bK as HeaderNavigation, p as jsxs, bL as LoadingOverlay, H as Box, at as Fragment, b2 as SimpleLayout, aO as useHandover, aP as HandoverTarget, aR as getRemoteRive, aA as Heading, bM as HandoverDuration, az as isPassportProvider, ak as MenuItem, ar as motion, aq as listVariants, as as listItemVariants, b0 as isAddressSanctioned, m as SharedViews, bN as FooterLogo, bO as StatusType, bP as prettyFormatNumber, al as tokenValueFormat, bQ as ShimmerCircle, T as Button, a8 as Stack, bR as FundingStepType, bS as abbreviateWalletAddress, aw as Drawer, au as Divider, bT as tokenSymbolNameOverrides, bU as ItemType, bV as TransactionOrGasType, bW as GasTokenType, bX as RoutingOutcomeType, aX as isNativeToken, aY as getTokenImageByAddress, bY as isGasFree, bZ as ConnectLoaderContext, b_ as eventTargetReducer, b$ as initialEventTargetState, i as getL1ChainId, h as getL2ChainId, I as IMTBLWidgetEvents, c0 as EventTargetActions, L as LoadingView, j as ChainId, c1 as ConnectWidgetViews, q as ConnectWidget, S as SwapEventType, O as OnRampEventType, B as BridgeEventType, b as ConnectEventType, c2 as ConnectLoaderActions, R as ButtCon, M as Body, c3 as widgetTheme, bo as viewReducer, bp as initialViewState, c4 as BlockExplorerService, bt as ServiceUnavailableErrorView } from './index-
|
|
2
|
-
import { C as Contract } from './EllipsizedText-
|
|
3
|
-
import { u as useTransakEvents, O as OnRampWidget } from './OnRampWidget-
|
|
4
|
-
import { H as HandoverContent } from './HandoverContent-
|
|
5
|
-
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-
|
|
6
|
-
import { u as useMount, T as TopUpView } from './TopUpView-
|
|
7
|
-
import { T as TokenImage } from './TokenImage-
|
|
8
|
-
import { f as formatUnits } from './index-
|
|
9
|
-
import { F as Fees } from './WalletApproveHero-
|
|
10
|
-
import BridgeWidget from './BridgeWidget-
|
|
11
|
-
import SwapWidget from './SwapWidget-
|
|
12
|
-
import './SpendingCapHero-
|
|
13
|
-
import './FeesBreakdown-
|
|
14
|
-
import './useInterval-
|
|
1
|
+
import { _ as _objectWithoutProperties, o as jsx, bu as MultiTextShimmer, U as _defineProperty, w as useTheme, r as reactExports, D as merge, bv as getCaptionTextStyles, bw as DEFAULT_BODY_PROPS, bx as baseTextComponentSx, by as useConvertSxToEmotionStyles, bz as useGetCurrentSizeClass, bA as cloneElementWithCssProp, bl as Environment, an as BigNumber, bB as compareStr, aN as ViewContext, V as ViewActions, a$ as fetchRiskAssessment, bC as SalePaymentTypes, ay as UserJourney, u as useTranslation, bD as calculateCryptoToFiat, ax as useAnalytics, aQ as EventTargetContext, bE as sendSaleWidgetCloseEvent, bF as sendSaleSuccessEvent, bG as sendSaleFailedEvent, bH as sendSaleTransactionSuccessEvent, bI as sendSalePaymentMethodEvent, bJ as sendSalePaymentTokenEvent, bK as HeaderNavigation, p as jsxs, bL as LoadingOverlay, H as Box, at as Fragment, b2 as SimpleLayout, aO as useHandover, aP as HandoverTarget, aR as getRemoteRive, aA as Heading, bM as HandoverDuration, az as isPassportProvider, ak as MenuItem, ar as motion, aq as listVariants, as as listItemVariants, b0 as isAddressSanctioned, m as SharedViews, bN as FooterLogo, bO as StatusType, bP as prettyFormatNumber, al as tokenValueFormat, bQ as ShimmerCircle, T as Button, a8 as Stack, bR as FundingStepType, bS as abbreviateWalletAddress, aw as Drawer, au as Divider, bT as tokenSymbolNameOverrides, bU as ItemType, bV as TransactionOrGasType, bW as GasTokenType, bX as RoutingOutcomeType, aX as isNativeToken, aY as getTokenImageByAddress, bY as isGasFree, bZ as ConnectLoaderContext, b_ as eventTargetReducer, b$ as initialEventTargetState, i as getL1ChainId, h as getL2ChainId, I as IMTBLWidgetEvents, c0 as EventTargetActions, L as LoadingView, j as ChainId, c1 as ConnectWidgetViews, q as ConnectWidget, S as SwapEventType, O as OnRampEventType, B as BridgeEventType, b as ConnectEventType, c2 as ConnectLoaderActions, R as ButtCon, M as Body, c3 as widgetTheme, bo as viewReducer, bp as initialViewState, c4 as BlockExplorerService, bt as ServiceUnavailableErrorView } from './index-BHdY2M-1.js';
|
|
2
|
+
import { C as Contract } from './EllipsizedText-DcWPNRco.js';
|
|
3
|
+
import { u as useTransakEvents, O as OnRampWidget } from './OnRampWidget-B_cghM4v.js';
|
|
4
|
+
import { H as HandoverContent } from './HandoverContent-BxBniM0w.js';
|
|
5
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-Caaasq7X.js';
|
|
6
|
+
import { u as useMount, T as TopUpView } from './TopUpView-BmH5YnI2.js';
|
|
7
|
+
import { T as TokenImage } from './TokenImage-D-HgQgPE.js';
|
|
8
|
+
import { f as formatUnits } from './index-xy4QS7W_.js';
|
|
9
|
+
import { F as Fees } from './WalletApproveHero-DLSiJKRU.js';
|
|
10
|
+
import BridgeWidget from './BridgeWidget-CDLrNgEf.js';
|
|
11
|
+
import SwapWidget from './SwapWidget-BV62wPfw.js';
|
|
12
|
+
import './SpendingCapHero-xFwC870d.js';
|
|
13
|
+
import './FeesBreakdown-D07Vbc-8.js';
|
|
14
|
+
import './useInterval-BiNwcafF.js';
|
|
15
15
|
|
|
16
16
|
var _excluded = ["size", "rc", "weight", "sx", "testId", "children", "domRef", "className"],
|
|
17
17
|
_excluded2 = ["size", "rc", "weight", "shimmer", "shimmerSx", "sx", "children", "domRef", "testId", "className"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as jsx, cC as heroBackGroundStyles, H as Box, cD as heroImageStyles, dt as heroImageBottomAlign, p as jsxs } from './index-
|
|
1
|
+
import { o as jsx, cC as heroBackGroundStyles, H as Box, cD as heroImageStyles, dt as heroImageBottomAlign, p as jsxs } from './index-BHdY2M-1.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,12 +1,12 @@
|
|
|
1
|
-
import { u as useTranslation, d9 as WidgetTheme, aM as getRemoteImage, p as jsxs, da as quickswapFooterStyles, H as Box, db as quickswapFooterLogoStyles, o as jsx, M as Body, dc as quickswapFooterDisclaimerTextStyles, r as reactExports, T as Button, dd as getImxTokenImage, aw as Drawer, bs as CloudImage, aA as Heading, cf as Logo, Q as Icon, an as BigNumber, bD as calculateCryptoToFiat, al as tokenValueFormat, bY as isGasFree, cr as formatZeroAmount, bZ as ConnectLoaderContext, aV as getDefaultTokenImage, aX as isNativeToken, cs as NATIVE, aN as ViewContext, ax as useAnalytics, cw as DEFAULT_QUOTE_REFRESH_INTERVAL, az as isPassportProvider, br as amountInputValidation, de as Tooltip, ay as UserJourney, bl as Environment, V as ViewActions, m as SharedViews, h as getL2ChainId, at as Fragment, df as ESTIMATE_DEBOUNCE, dg as DEFAULT_TOKEN_VALIDATION_DECIMALS, b0 as isAddressSanctioned, cv as DEFAULT_TOKEN_DECIMALS, aQ as EventTargetContext, dh as sendSwapWidgetCloseEvent, b3 as orchestrationEvents, I as IMTBLWidgetEvents, bK as HeaderNavigation, L as LoadingView, b2 as SimpleLayout, cz as IMX_TOKEN_SYMBOL, c6 as CheckoutErrorType, cE as SimpleTextBody, cF as FooterButton, bo as viewReducer, bp as initialViewState, aW as TokenFilterTypes, di as DEFAULT_BALANCE_RETRY_POLICY, a$ as fetchRiskAssessment, dj as SwapDirection$1, cL as StatusView, dk as sendSwapSuccessEvent, bO as StatusType, dl as sendSwapFailedEvent, dm as sendSwapRejectedEvent, E as ErrorView, bt as ServiceUnavailableErrorView } from './index-
|
|
2
|
-
import { S as SelectForm, T as TextInputForm, F as Fees, a as TransactionRejected, N as NetworkSwitchDrawer, W as WalletApproveHero, g as getAllowedBalances } from './WalletApproveHero-
|
|
3
|
-
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-
|
|
4
|
-
import { u as useInterval } from './useInterval-
|
|
5
|
-
import { f as formatUnits, p as parseUnits, a as parseEther } from './index-
|
|
6
|
-
import { S as SwapWidgetViews, T as TopUpView } from './TopUpView-
|
|
7
|
-
import { S as SpendingCapHero } from './SpendingCapHero-
|
|
8
|
-
import './TokenImage-
|
|
9
|
-
import './FeesBreakdown-
|
|
1
|
+
import { u as useTranslation, d9 as WidgetTheme, aM as getRemoteImage, p as jsxs, da as quickswapFooterStyles, H as Box, db as quickswapFooterLogoStyles, o as jsx, M as Body, dc as quickswapFooterDisclaimerTextStyles, r as reactExports, T as Button, dd as getImxTokenImage, aw as Drawer, bs as CloudImage, aA as Heading, cf as Logo, Q as Icon, an as BigNumber, bD as calculateCryptoToFiat, al as tokenValueFormat, bY as isGasFree, cr as formatZeroAmount, bZ as ConnectLoaderContext, aV as getDefaultTokenImage, aX as isNativeToken, cs as NATIVE, aN as ViewContext, ax as useAnalytics, cw as DEFAULT_QUOTE_REFRESH_INTERVAL, az as isPassportProvider, br as amountInputValidation, de as Tooltip, ay as UserJourney, bl as Environment, V as ViewActions, m as SharedViews, h as getL2ChainId, at as Fragment, df as ESTIMATE_DEBOUNCE, dg as DEFAULT_TOKEN_VALIDATION_DECIMALS, b0 as isAddressSanctioned, cv as DEFAULT_TOKEN_DECIMALS, aQ as EventTargetContext, dh as sendSwapWidgetCloseEvent, b3 as orchestrationEvents, I as IMTBLWidgetEvents, bK as HeaderNavigation, L as LoadingView, b2 as SimpleLayout, cz as IMX_TOKEN_SYMBOL, c6 as CheckoutErrorType, cE as SimpleTextBody, cF as FooterButton, bo as viewReducer, bp as initialViewState, aW as TokenFilterTypes, di as DEFAULT_BALANCE_RETRY_POLICY, a$ as fetchRiskAssessment, dj as SwapDirection$1, cL as StatusView, dk as sendSwapSuccessEvent, bO as StatusType, dl as sendSwapFailedEvent, dm as sendSwapRejectedEvent, E as ErrorView, bt as ServiceUnavailableErrorView } from './index-BHdY2M-1.js';
|
|
2
|
+
import { S as SelectForm, T as TextInputForm, F as Fees, a as TransactionRejected, N as NetworkSwitchDrawer, W as WalletApproveHero, g as getAllowedBalances } from './WalletApproveHero-DLSiJKRU.js';
|
|
3
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-Caaasq7X.js';
|
|
4
|
+
import { u as useInterval } from './useInterval-BiNwcafF.js';
|
|
5
|
+
import { f as formatUnits, p as parseUnits, a as parseEther } from './index-xy4QS7W_.js';
|
|
6
|
+
import { S as SwapWidgetViews, T as TopUpView } from './TopUpView-BmH5YnI2.js';
|
|
7
|
+
import { S as SpendingCapHero } from './SpendingCapHero-xFwC870d.js';
|
|
8
|
+
import './TokenImage-D-HgQgPE.js';
|
|
9
|
+
import './FeesBreakdown-D07Vbc-8.js';
|
|
10
10
|
|
|
11
11
|
function QuickswapFooter({ theme, environment }) {
|
|
12
12
|
const { t } = useTranslation();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as reactExports, aV as getDefaultTokenImage, o as jsx } from './index-
|
|
1
|
+
import { r as reactExports, aV as getDefaultTokenImage, o as jsx } from './index-BHdY2M-1.js';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line no-promise-executor-return
|
|
4
4
|
const sleep = (ms = 0) => ms && new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as reactExports, o as jsx, p as jsxs, X as isDualVariantIcon, ak as MenuItem, H as Box, bl as Environment, u as useTranslation, aN as ViewContext, aQ as EventTargetContext, ax as useAnalytics, cu as GasEstimateType, bK as HeaderNavigation, aA as Heading, M as Body, b2 as SimpleLayout, I as IMTBLWidgetEvents, V as ViewActions, b3 as orchestrationEvents } from './index-
|
|
2
|
-
import { C as CryptoFiatContext, a as CryptoFiatActions, D as DEFAULT_TOKEN_SYMBOLS } from './CryptoFiatProvider-
|
|
3
|
-
import { f as formatUnits } from './index-
|
|
1
|
+
import { r as reactExports, o as jsx, p as jsxs, X as isDualVariantIcon, ak as MenuItem, H as Box, bl as Environment, u as useTranslation, aN as ViewContext, aQ as EventTargetContext, ax as useAnalytics, cu as GasEstimateType, bK as HeaderNavigation, aA as Heading, M as Body, b2 as SimpleLayout, I as IMTBLWidgetEvents, V as ViewActions, b3 as orchestrationEvents } from './index-BHdY2M-1.js';
|
|
2
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, D as DEFAULT_TOKEN_SYMBOLS } from './CryptoFiatProvider-Caaasq7X.js';
|
|
3
|
+
import { f as formatUnits } from './index-xy4QS7W_.js';
|
|
4
4
|
|
|
5
5
|
var BridgeWidgetViews;
|
|
6
6
|
(function (BridgeWidgetViews) {
|
package/dist/browser/checkout/{WalletApproveHero-BnJCxsbA.js → WalletApproveHero-DLSiJKRU.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a9 as hFlex, o as jsx, ar as motion, _ as _objectWithoutProperties, w as useTheme, r as reactExports, Y as _slicedToArray, y as useGetSubcomponentChild, D as merge, p as jsxs, a0 as BaseClickable, R as ButtCon, G as SmartClone, dn as AnimatePresence, H as Box, a8 as Stack, a1 as ClassNames, U as _defineProperty, dp as getTertiaryButtonStyles, K as flattenChildren, J as isChildSubcomponent, au as Divider, aZ as TextInput, dq as FormControlWrapper, u as useTranslation, ak as MenuItem, aw as Drawer, M as Body, dr as Select, bl as Environment, d9 as WidgetTheme, ds as DuoCon, aA as Heading, T as Button, cs as NATIVE, aY as getTokenImageByAddress, aX as isNativeToken, di as DEFAULT_BALANCE_RETRY_POLICY, aM as getRemoteImage, cm as getChainNameById, i as getL1ChainId, ce as isWalletConnectProvider, co as isMetaMaskProvider, bs as CloudImage, bN as FooterLogo, cr as formatZeroAmount, al as tokenValueFormat, c8 as ShimmerBox, bn as PriceDisplay, at as Fragment, cC as heroBackGroundStyles, cD as heroImageStyles, dt as heroImageBottomAlign } from './index-
|
|
2
|
-
import { T as TokenImage, r as retry } from './TokenImage-
|
|
3
|
-
import { F as FeesBreakdown } from './FeesBreakdown-
|
|
1
|
+
import { a9 as hFlex, o as jsx, ar as motion, _ as _objectWithoutProperties, w as useTheme, r as reactExports, Y as _slicedToArray, y as useGetSubcomponentChild, D as merge, p as jsxs, a0 as BaseClickable, R as ButtCon, G as SmartClone, dn as AnimatePresence, H as Box, a8 as Stack, a1 as ClassNames, U as _defineProperty, dp as getTertiaryButtonStyles, K as flattenChildren, J as isChildSubcomponent, au as Divider, aZ as TextInput, dq as FormControlWrapper, u as useTranslation, ak as MenuItem, aw as Drawer, M as Body, dr as Select, bl as Environment, d9 as WidgetTheme, ds as DuoCon, aA as Heading, T as Button, cs as NATIVE, aY as getTokenImageByAddress, aX as isNativeToken, di as DEFAULT_BALANCE_RETRY_POLICY, aM as getRemoteImage, cm as getChainNameById, i as getL1ChainId, ce as isWalletConnectProvider, co as isMetaMaskProvider, bs as CloudImage, bN as FooterLogo, cr as formatZeroAmount, al as tokenValueFormat, c8 as ShimmerBox, bn as PriceDisplay, at as Fragment, cC as heroBackGroundStyles, cD as heroImageStyles, dt as heroImageBottomAlign } from './index-BHdY2M-1.js';
|
|
2
|
+
import { T as TokenImage, r as retry } from './TokenImage-D-HgQgPE.js';
|
|
3
|
+
import { F as FeesBreakdown } from './FeesBreakdown-D07Vbc-8.js';
|
|
4
4
|
|
|
5
5
|
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; }
|
|
6
6
|
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,7 +1,7 @@
|
|
|
1
|
-
import { R as ButtCon, T as Button, _ as _objectWithoutProperties, w as useTheme, $ as getStartingSize, dy as DEFAULT_BUTTON_SIZE, D as merge, r as reactExports, K as flattenChildren, o as jsx, J as isChildSubcomponent, G as SmartClone, H as Box, dz as getResponsiveSx, dA as BUTTON_SIZES, dB as setDefaultSxBackgroundColor, a1 as ClassNames, U as _defineProperty, aW as TokenFilterTypes, u as useTranslation, aN as ViewContext, p as jsxs, M as Body, V as ViewActions, bZ as ConnectLoaderContext, ax as useAnalytics, cr as formatZeroAmount, aQ as EventTargetContext, az as isPassportProvider, h as getL2ChainId, i as getL1ChainId, bl as Environment, ak as MenuItem, al as tokenValueFormat, ay as UserJourney, b3 as orchestrationEvents, I as IMTBLWidgetEvents, dC as ZERO_BALANCE_STRING, aX as isNativeToken, dD as sendNetworkSwitchEvent, c6 as CheckoutErrorType, m as SharedViews, dE as NetworkFilterTypes, dF as sortNetworksCompareFn, cb as getChainImage, di as DEFAULT_BALANCE_RETRY_POLICY, dG as sortTokensByAmount, aY as getTokenImageByAddress, bD as calculateCryptoToFiat, bK as HeaderNavigation, cq as ButtonNavigationStyles, dH as sendWalletWidgetCloseEvent, bN as FooterLogo, b2 as SimpleLayout, cp as WalletProviderName, cn as getWalletProviderNameByProvider, X as isDualVariantIcon, bS as abbreviateWalletAddress, aA as Heading, aw as Drawer, cd as useWalletConnect, dI as sendDisconnectWalletEvent, ce as isWalletConnectProvider, cC as heroBackGroundStyles, cD as heroImageStyles, dt as heroImageBottomAlign, cE as SimpleTextBody, dJ as FAQS_LINK, aT as Link, bo as viewReducer, bp as initialViewState, L as LoadingView, E as ErrorView } from './index-
|
|
2
|
-
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-
|
|
3
|
-
import { T as TokenImage, r as retry } from './TokenImage-
|
|
4
|
-
import { u as useInterval } from './useInterval-
|
|
1
|
+
import { R as ButtCon, T as Button, _ as _objectWithoutProperties, w as useTheme, $ as getStartingSize, dy as DEFAULT_BUTTON_SIZE, D as merge, r as reactExports, K as flattenChildren, o as jsx, J as isChildSubcomponent, G as SmartClone, H as Box, dz as getResponsiveSx, dA as BUTTON_SIZES, dB as setDefaultSxBackgroundColor, a1 as ClassNames, U as _defineProperty, aW as TokenFilterTypes, u as useTranslation, aN as ViewContext, p as jsxs, M as Body, V as ViewActions, bZ as ConnectLoaderContext, ax as useAnalytics, cr as formatZeroAmount, aQ as EventTargetContext, az as isPassportProvider, h as getL2ChainId, i as getL1ChainId, bl as Environment, ak as MenuItem, al as tokenValueFormat, ay as UserJourney, b3 as orchestrationEvents, I as IMTBLWidgetEvents, dC as ZERO_BALANCE_STRING, aX as isNativeToken, dD as sendNetworkSwitchEvent, c6 as CheckoutErrorType, m as SharedViews, dE as NetworkFilterTypes, dF as sortNetworksCompareFn, cb as getChainImage, di as DEFAULT_BALANCE_RETRY_POLICY, dG as sortTokensByAmount, aY as getTokenImageByAddress, bD as calculateCryptoToFiat, bK as HeaderNavigation, cq as ButtonNavigationStyles, dH as sendWalletWidgetCloseEvent, bN as FooterLogo, b2 as SimpleLayout, cp as WalletProviderName, cn as getWalletProviderNameByProvider, X as isDualVariantIcon, bS as abbreviateWalletAddress, aA as Heading, aw as Drawer, cd as useWalletConnect, dI as sendDisconnectWalletEvent, ce as isWalletConnectProvider, cC as heroBackGroundStyles, cD as heroImageStyles, dt as heroImageBottomAlign, cE as SimpleTextBody, dJ as FAQS_LINK, aT as Link, bo as viewReducer, bp as initialViewState, L as LoadingView, E as ErrorView } from './index-BHdY2M-1.js';
|
|
2
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-Caaasq7X.js';
|
|
3
|
+
import { T as TokenImage, r as retry } from './TokenImage-D-HgQgPE.js';
|
|
4
|
+
import { u as useInterval } from './useInterval-BiNwcafF.js';
|
|
5
5
|
|
|
6
6
|
var horizontalMenuSxProps = {
|
|
7
7
|
justifyContent: "stretch",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dL as ne$1, dM as se$1, dN as T$2, dO as oe$1, dP as R$1, dQ as a$2, dR as te$1, dS as p$1, dT as y$1 } from './index-
|
|
1
|
+
import { dL as ne$1, dM as se$1, dN as T$2, dO as oe$1, dP as R$1, dQ as a$2, dR as te$1, dS as p$1, dT as y$1 } from './index-BHdY2M-1.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -135304,7 +135304,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
135304
135304
|
|
|
135305
135305
|
const o$2=proxy({history:["ConnectWallet"],view:"ConnectWallet",data:void 0}),T$2={state:o$2,subscribe(e){return subscribe(o$2,()=>e(o$2))},push(e,t){e!==o$2.view&&(o$2.view=e,t&&(o$2.data=t),o$2.history.push(e));},reset(e){o$2.view=e,o$2.history=[e];},replace(e){o$2.history.length>1&&(o$2.history[o$2.history.length-1]=e,o$2.view=e);},goBack(){if(o$2.history.length>1){o$2.history.pop();const[e]=o$2.history.slice(-1);o$2.view=e;}},setData(e){o$2.data=e;}},a$4={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$4.isMobile()&&navigator.userAgent.toLowerCase().includes("android")},isIos(){const e=navigator.userAgent.toLowerCase();return a$4.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$4.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$4.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$4.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$4.WALLETCONNECT_DEEPLINK_CHOICE,JSON.stringify({href:t,name:"Android"}));}catch{console.info("Unable to set WalletConnect android deep link");}},removeWalletConnectDeepLink(){try{localStorage.removeItem(a$4.WALLETCONNECT_DEEPLINK_CHOICE);}catch{console.info("Unable to remove WalletConnect deep link");}},setModalVersionInStorage(){try{typeof localStorage<"u"&&localStorage.setItem(a$4.WCM_VERSION,"2.6.2");}catch{console.info("Unable to set Web3Modal version in storage");}},getWalletRouterData(){var e;const t=(e=T$2.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$3=proxy({enabled:_$3,userSessionId:"",events:[],connectedWalletId:void 0}),R$5={state:r$3,subscribe(e){return subscribe(r$3.events,()=>e(snapshot(r$3.events[r$3.events.length-1])))},initialize(){r$3.enabled&&typeof(crypto==null?void 0:crypto.randomUUID)<"u"&&(r$3.userSessionId=crypto.randomUUID());},setConnectedWalletId(e){r$3.connectedWalletId=e;},click(e){if(r$3.enabled){const t={type:"CLICK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},track(e){if(r$3.enabled){const t={type:"TRACK",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}},view(e){if(r$3.enabled){const t={type:"VIEW",name:e.name,userSessionId:r$3.userSessionId,timestamp:Date.now(),data:e};r$3.events.push(t);}}},c$4=proxy({chains:void 0,walletConnectUri:void 0,isAuth:!1,isCustomDesktop:!1,isCustomMobile:!1,isDataLoaded:!1,isUiLoaded:!1}),p$9={state:c$4,subscribe(e){return subscribe(c$4,()=>e(c$4))},setChains(e){c$4.chains=e;},setWalletConnectUri(e){c$4.walletConnectUri=e;},setIsCustomDesktop(e){c$4.isCustomDesktop=e;},setIsCustomMobile(e){c$4.isCustomMobile=e;},setIsDataLoaded(e){c$4.isDataLoaded=e;},setIsUiLoaded(e){c$4.isUiLoaded=e;},setIsAuth(e){c$4.isAuth=e;}},W$3=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$6={state:W$3,subscribe(e){return subscribe(W$3,()=>e(W$3))},setConfig(e){var t,s;R$5.initialize(),p$9.setChains(e.chains),p$9.setIsAuth(Boolean(e.enableAuthMode)),p$9.setIsCustomMobile(Boolean((t=e.mobileWallets)==null?void 0:t.length)),p$9.setIsCustomDesktop(Boolean((s=e.desktopWallets)==null?void 0:s.length)),a$4.setModalVersionInStorage(),Object.assign(W$3,e);}};var V$4=Object.defineProperty,D$7=Object.getOwnPropertySymbols,H$4=Object.prototype.hasOwnProperty,B$4=Object.prototype.propertyIsEnumerable,M$4=(e,t,s)=>t in e?V$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,K$4=(e,t)=>{for(var s in t||(t={}))H$4.call(t,s)&&M$4(e,s,t[s]);if(D$7)for(var s of D$7(t))B$4.call(t,s)&&M$4(e,s,t[s]);return e};const L$5="https://explorer-api.walletconnect.com",E$4="wcm",O$6="js-2.6.2";async function w$5(e,t){const s=K$4({sdkType:E$4,sdkVersion:O$6},t),n=new URL(e,L$5);return n.searchParams.append("projectId",y$6.state.projectId),Object.entries(s).forEach(([i,l])=>{l&&n.searchParams.append(i,String(l));}),(await fetch(n)).json()}const m$6={async getDesktopListings(e){return w$5("/w3m/v1/getDesktopListings",e)},async getMobileListings(e){return w$5("/w3m/v1/getMobileListings",e)},async getInjectedListings(e){return w$5("/w3m/v1/getInjectedListings",e)},async getAllListings(e){return w$5("/w3m/v1/getAllListings",e)},getWalletImageUrl(e){return `${L$5}/w3m/v1/getWalletImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`},getAssetImageUrl(e){return `${L$5}/w3m/v1/getAssetImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$6}`}};var z$5=Object.defineProperty,j$4=Object.getOwnPropertySymbols,J$3=Object.prototype.hasOwnProperty,q$5=Object.prototype.propertyIsEnumerable,k$5=(e,t,s)=>t in e?z$5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,F$5=(e,t)=>{for(var s in t||(t={}))J$3.call(t,s)&&k$5(e,s,t[s]);if(j$4)for(var s of j$4(t))q$5.call(t,s)&&k$5(e,s,t[s]);return e};const N$4=a$4.isMobile(),d$4=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$4={state:d$4,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$6.state;if(e==="NONE"||t==="ALL"&&!e)return d$4.recomendedWallets;if(a$4.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$6.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$4.recomendedWallets=i;}else {const{chains:s,isAuth:n}=p$9.state,i=s?.join(","),l=a$4.isArray(t),v={page:1,sdks:n?"auth_v1":void 0,entries:a$4.RECOMMENDED_WALLET_AMOUNT,chains:i,version:2,excludedIds:l?t.join(","):void 0},{listings:b}=N$4?await m$6.getMobileListings(v):await m$6.getDesktopListings(v);d$4.recomendedWallets=Object.values(b);}return d$4.recomendedWallets},async getWallets(e){const t=F$5({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$6.state,{recomendedWallets:i}=d$4;if(n==="ALL")return d$4.wallets;i.length?t.excludedIds=i.map(x=>x.id).join(","):a$4.isArray(s)&&(t.excludedIds=s.join(",")),a$4.isArray(n)&&(t.excludedIds=[t.excludedIds,n].filter(Boolean).join(",")),p$9.state.isAuth&&(t.sdks="auth_v1");const{page:l,search:v}=e,{listings:b,total:f}=N$4?await m$6.getMobileListings(t):await m$6.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$4[U]={listings:[...d$4[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$6.getWalletImageUrl(e)},getAssetImageUrl(e){return m$6.getAssetImageUrl(e)},resetSearch(){d$4.search={listings:[],total:0,page:1};}},I$3=proxy({open:!1}),se$2={state:I$3,subscribe(e){return subscribe(I$3,()=>e(I$3))},async open(e){return new Promise(t=>{const{isUiLoaded:s,isDataLoaded:n}=p$9.state;if(a$4.removeWalletConnectDeepLink(),p$9.setWalletConnectUri(e?.uri),p$9.setChains(e?.chains),T$2.reset("ConnectWallet"),s&&n)I$3.open=!0,t();else {const i=setInterval(()=>{const l=p$9.state;l.isUiLoaded&&l.isDataLoaded&&(clearInterval(i),I$3.open=!0,t());},200);}})},close(){I$3.open=!1;}};var G$4=Object.defineProperty,$$3=Object.getOwnPropertySymbols,Q$6=Object.prototype.hasOwnProperty,X$4=Object.prototype.propertyIsEnumerable,S$4=(e,t,s)=>t in e?G$4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y$2=(e,t)=>{for(var s in t||(t={}))Q$6.call(t,s)&&S$4(e,s,t[s]);if($$3)for(var s of $$3(t))X$4.call(t,s)&&S$4(e,s,t[s]);return e};function Z$4(){return typeof matchMedia<"u"&&matchMedia("(prefers-color-scheme: dark)").matches}const C$2=proxy({themeMode:Z$4()?"dark":"light"}),ne$2={state:C$2,subscribe(e){return subscribe(C$2,()=>e(C$2))},setThemeConfig(e){const{themeMode:t,themeVariables:s}=e;t&&(C$2.themeMode=t),s&&(C$2.themeVariables=Y$2({},s));}},g$8=proxy({open:!1,message:"",variant:"success"}),oe$4={state:g$8,subscribe(e){return subscribe(g$8,()=>e(g$8))},openToast(e,t){g$8.open=!0,g$8.message=e,g$8.variant=t;},closeToast(){g$8.open=!1;}};
|
|
135306
135306
|
|
|
135307
|
-
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-
|
|
135307
|
+
let d$3 = class d{constructor(e){this.openModal=se$2.open,this.closeModal=se$2.close,this.subscribeModal=se$2.subscribe,this.setTheme=ne$2.setThemeConfig,ne$2.setThemeConfig(e),y$6.setConfig(e),this.initUi();}async initUi(){if(typeof window<"u"){await import('./index-B1IiZtxz.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
|
|
135308
135308
|
|
|
135309
135309
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
135310
135310
|
__proto__: null,
|
|
@@ -152145,7 +152145,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152145
152145
|
return __generator(this, function (_b) {
|
|
152146
152146
|
switch (_b.label) {
|
|
152147
152147
|
case 0: return [4 /*yield*/, import(
|
|
152148
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152148
|
+
/* webpackChunkName: "auto-track" */ './auto-track-C3Qn6aWo.js')];
|
|
152149
152149
|
case 1:
|
|
152150
152150
|
autotrack = _b.sent();
|
|
152151
152151
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152164,7 +152164,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152164
152164
|
return __generator(this, function (_b) {
|
|
152165
152165
|
switch (_b.label) {
|
|
152166
152166
|
case 0: return [4 /*yield*/, import(
|
|
152167
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152167
|
+
/* webpackChunkName: "auto-track" */ './auto-track-C3Qn6aWo.js')];
|
|
152168
152168
|
case 1:
|
|
152169
152169
|
autotrack = _b.sent();
|
|
152170
152170
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152183,7 +152183,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152183
152183
|
return __generator(this, function (_b) {
|
|
152184
152184
|
switch (_b.label) {
|
|
152185
152185
|
case 0: return [4 /*yield*/, import(
|
|
152186
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152186
|
+
/* webpackChunkName: "auto-track" */ './auto-track-C3Qn6aWo.js')];
|
|
152187
152187
|
case 1:
|
|
152188
152188
|
autotrack = _b.sent();
|
|
152189
152189
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152202,7 +152202,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152202
152202
|
return __generator(this, function (_b) {
|
|
152203
152203
|
switch (_b.label) {
|
|
152204
152204
|
case 0: return [4 /*yield*/, import(
|
|
152205
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152205
|
+
/* webpackChunkName: "auto-track" */ './auto-track-C3Qn6aWo.js')];
|
|
152206
152206
|
case 1:
|
|
152207
152207
|
autotrack = _b.sent();
|
|
152208
152208
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152352,7 +152352,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152352
152352
|
return [2 /*return*/, []];
|
|
152353
152353
|
}
|
|
152354
152354
|
return [4 /*yield*/, import(
|
|
152355
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
152355
|
+
/* webpackChunkName: "queryString" */ './index-1oxDSwv8.js')];
|
|
152356
152356
|
case 1:
|
|
152357
152357
|
queryString = (_a.sent()).queryString;
|
|
152358
152358
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -155056,7 +155056,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155056
155056
|
case 0:
|
|
155057
155057
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
155058
155058
|
return [4 /*yield*/, import(
|
|
155059
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
155059
|
+
/* webpackChunkName: "tsub-middleware" */ './index-CLGL5rmE.js').then(function (mod) {
|
|
155060
155060
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
155061
155061
|
})];
|
|
155062
155062
|
case 1:
|
|
@@ -155069,7 +155069,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155069
155069
|
tsubMiddleware = _d;
|
|
155070
155070
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
155071
155071
|
return [4 /*yield*/, import(
|
|
155072
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
155072
|
+
/* webpackChunkName: "ajs-destination" */ './index-CL0epPF9.js').then(function (mod) {
|
|
155073
155073
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
155074
155074
|
})];
|
|
155075
155075
|
case 4:
|
|
@@ -155082,7 +155082,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155082
155082
|
legacyDestinations = _e;
|
|
155083
155083
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
155084
155084
|
return [4 /*yield*/, import(
|
|
155085
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
155085
|
+
/* webpackChunkName: "legacyVideos" */ './index-C0_uj-V9.js').then(function (mod) {
|
|
155086
155086
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
155087
155087
|
})];
|
|
155088
155088
|
case 7:
|
|
@@ -155091,7 +155091,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155091
155091
|
case 8:
|
|
155092
155092
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
155093
155093
|
return [4 /*yield*/, import(
|
|
155094
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
155094
|
+
/* webpackChunkName: "schemaFilter" */ './index-CGRqqY4W.js').then(function (mod) {
|
|
155095
155095
|
var _a;
|
|
155096
155096
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
155097
155097
|
})];
|
|
@@ -155130,7 +155130,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155130
155130
|
return enabled;
|
|
155131
155131
|
})) return [3 /*break*/, 17];
|
|
155132
155132
|
return [4 /*yield*/, import(
|
|
155133
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
155133
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-BLS_vfNB.js').then(function (_a) {
|
|
155134
155134
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
155135
155135
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155136
155136
|
var middleware, promises;
|
|
@@ -222322,7 +222322,7 @@ const useProvidersContext = () => {
|
|
|
222322
222322
|
return context;
|
|
222323
222323
|
};
|
|
222324
222324
|
|
|
222325
|
-
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-
|
|
222325
|
+
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-BrUktLSu.js'));
|
|
222326
222326
|
class AddTokens extends Base {
|
|
222327
222327
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
|
|
222328
222328
|
getValidatedProperties({ config, }) {
|
|
@@ -222366,7 +222366,7 @@ class AddTokens extends Base {
|
|
|
222366
222366
|
}
|
|
222367
222367
|
}
|
|
222368
222368
|
|
|
222369
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
222369
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-CDLrNgEf.js'));
|
|
222370
222370
|
class Bridge extends Base {
|
|
222371
222371
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
222372
222372
|
getValidatedProperties({ config }) {
|
|
@@ -222520,7 +222520,7 @@ const commerceFlows = [
|
|
|
222520
222520
|
CommerceFlowType.ADD_TOKENS,
|
|
222521
222521
|
];
|
|
222522
222522
|
|
|
222523
|
-
const CommerceWidget = React.lazy(() => import('./CommerceWidget-
|
|
222523
|
+
const CommerceWidget = React.lazy(() => import('./CommerceWidget-Q7luzl2Q.js'));
|
|
222524
222524
|
class CommerceWidgetRoot extends Base {
|
|
222525
222525
|
eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
|
|
222526
222526
|
getValidatedProperties({ config, }) {
|
|
@@ -224737,7 +224737,7 @@ const orchestrationEvents = {
|
|
|
224737
224737
|
sendRequestAddTokensEvent,
|
|
224738
224738
|
};
|
|
224739
224739
|
|
|
224740
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
224740
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-B_cghM4v.js').then(function (n) { return n.a; }));
|
|
224741
224741
|
class OnRamp extends Base {
|
|
224742
224742
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
224743
224743
|
getValidatedProperties({ config }) {
|
|
@@ -224875,7 +224875,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
224875
224875
|
eventTarget.dispatchEvent(event);
|
|
224876
224876
|
};
|
|
224877
224877
|
|
|
224878
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
224878
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-D49jz6DF.js'));
|
|
224879
224879
|
class Sale extends Base {
|
|
224880
224880
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
224881
224881
|
// TODO: add specific validation logic for the sale items
|
|
@@ -225112,7 +225112,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
225112
225112
|
: serviceUnavailableView) }));
|
|
225113
225113
|
}
|
|
225114
225114
|
|
|
225115
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
225115
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-BV62wPfw.js'));
|
|
225116
225116
|
class Swap extends Base {
|
|
225117
225117
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
225118
225118
|
getValidatedProperties({ config }) {
|
|
@@ -225237,7 +225237,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
225237
225237
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
225238
225238
|
}
|
|
225239
225239
|
|
|
225240
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
225240
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-CtbRHd_c.js'));
|
|
225241
225241
|
class Wallet extends Base {
|
|
225242
225242
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
225243
225243
|
getValidatedProperties({ config }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dU as __awaiter, dV as __generator, e3 as isServer, dX as getNextIntegrationsURL, dW as loadScript } from './index-
|
|
1
|
+
import { dU as __awaiter, dV as __generator, e3 as isServer, dX as getNextIntegrationsURL, dW as loadScript } from './index-BHdY2M-1.js';
|
|
2
2
|
|
|
3
3
|
function remoteMiddlewares(ctx, settings, obfuscate) {
|
|
4
4
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dU as __awaiter, dV as __generator } from './index-
|
|
1
|
+
import { dU as __awaiter, dV as __generator } from './index-BHdY2M-1.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-
|
|
10
|
+
'./index.umd-DIbx7d6u.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
|