@imtbl/sdk 1.74.7-alpha.2 → 1.74.7
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-BMOVVTRq.js → blockchain_data-BJDp8oKu.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-ud4viIyC.js → AddTokensWidget-CMwLuH85.js} +6 -6
- package/dist/browser/checkout/{BridgeWidget-BKltAWbs.js → BridgeWidget-BKwSgXAv.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-CCTfrTPk.js → CommerceWidget-GO6WQ0G_.js} +17 -17
- package/dist/browser/checkout/{CryptoFiatProvider-DZQhw9JC.js → CryptoFiatProvider-tgJX98Mx.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-CTa9eYXQ.js → EllipsizedText-qr0qJiZD.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-UGYIpknC.js → FeesBreakdown-CSLtPJ4L.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-BmbnM0F6.js → HandoverContent-D8J6XdmP.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-CPgS8MEN.js → OnRampWidget-D67HyXPt.js} +5 -11
- package/dist/browser/checkout/{SaleWidget-9bk3MhAp.js → SaleWidget-Dsr5XfXf.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-DFpZrnTi.js → SpendingCapHero-BOirHBAX.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-CQ-Q28HM.js → SwapWidget-DT1n1xrd.js} +9 -9
- package/dist/browser/checkout/{TokenImage-CJN4Ef6Z.js → TokenImage-BPnZNd1O.js} +1 -1
- package/dist/browser/checkout/{TopUpView-B41ylRMn.js → TopUpView-Ckb6ENCM.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-D3trlkLW.js → WalletApproveHero-CLWcFtwr.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-C3WDkaMc.js → WalletWidget-B-Xs169b.js} +4 -4
- package/dist/browser/checkout/{auto-track-C-Arc2Q_.js → auto-track-DTqRNUQd.js} +1 -1
- package/dist/browser/checkout/{index-Bnp5QEcJ.js → index-B2xgM6ux.js} +1 -1
- package/dist/browser/checkout/{index-vvKqo-b0.js → index-BWyrMf-q.js} +1 -1
- package/dist/browser/checkout/{index-Cbh-q-QJ.js → index-CY1i1jQv.js} +19 -19
- package/dist/browser/checkout/{index-pgvgkODT.js → index-ClXNH8Oc.js} +1 -1
- package/dist/browser/checkout/{index-BF5Y8OjT.js → index-Co5G6Uvk.js} +2 -2
- package/dist/browser/checkout/{index-BaQJCLQ7.js → index-D1k37Kqb.js} +1 -1
- package/dist/browser/checkout/{index-B71pdNZx.js → index-DPfMbHZw.js} +1 -1
- package/dist/browser/checkout/{index-DN4ZM9To.js → index-TLQbYbqN.js} +1 -1
- package/dist/browser/checkout/{index-MqoSQ5j9.js → index-ePiQFImQ.js} +1 -1
- package/dist/browser/checkout/{index.umd-DDltphIi.js → index.umd-J-yZ64U-.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-D3f5nAjD.js → useInterval-De9rEhBH.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +3 -9
- package/dist/{checkout-wYwgAEJE.js → checkout-Bo4TottT.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-CuqAph6f.js → config-DPbdQuRP.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-CnlN2rdW.js → index-BFhAq3KD.js} +1 -1
- package/dist/{index-Ck9BksFV.js → index-BMTi9kB_.js} +3 -3
- package/dist/{index-BCYP5h57.js → index-BnM47kK6.js} +1 -1
- package/dist/{index-CZrciL_A.js → index-Bo6pVbo8.js} +1 -1
- package/dist/{index-NmEVq-t1.js → index-Czc2j83Y.js} +1 -1
- package/dist/{index-C84yo8Ey.js → index-DZJINrft.js} +4 -4
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{minting_backend-C4IpeeOe.js → minting_backend-D_whyEz-.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-DNOQLDqN.js → orderbook-DZ44Z11E.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-Djywd6_9.js → passport-DKpHK8EA.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-BNe69c66.js → webhook-BQkFTpIG.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-Bpb4oTyU.js → x-DECPPOph.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-BMTi9kB_.js';
|
|
2
|
+
import { i as index } from './index-BnM47kK6.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-BMTi9kB_.js';
|
|
2
|
+
export { i as Types } from './index-BnM47kK6.js';
|
|
3
|
+
import './index-Czc2j83Y.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 useAnalytics, aw as useProvidersContext, ax as UserJourney, ay as Drawer, 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 trackFlow, b3 as SimpleLayout, m as SharedViews, b4 as orchestrationEvents, b5 as requireSecp256k1$1, b6 as requireLib_commonjs, b7 as require$$0$2, b8 as bech32$2, b9 as bnExports$1, ba as require$$0$3, bb as getAugmentedNamespace, bc as require$$0$4, bd as minimalisticAssert, be as require$$2, bf as hash$6, 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 useAnalytics, aw as useProvidersContext, ax as UserJourney, ay as Drawer, 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 trackFlow, b3 as SimpleLayout, m as SharedViews, b4 as orchestrationEvents, b5 as requireSecp256k1$1, b6 as requireLib_commonjs, b7 as require$$0$2, b8 as bech32$2, b9 as bnExports$1, ba as require$$0$3, bb as getAugmentedNamespace, bc as require$$0$4, bd as minimalisticAssert, be as require$$2, bf as hash$6, 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-CY1i1jQv.js';
|
|
2
|
+
import { f as formatUnits, p as parseUnits } from './index-TLQbYbqN.js';
|
|
3
|
+
import { E as EllipsizedText, C as Contract } from './EllipsizedText-qr0qJiZD.js';
|
|
4
|
+
import { r as retry, T as TokenImage } from './TokenImage-BPnZNd1O.js';
|
|
5
|
+
import { H as HandoverContent } from './HandoverContent-D8J6XdmP.js';
|
|
6
|
+
import { F as FeesBreakdown } from './FeesBreakdown-CSLtPJ4L.js';
|
|
7
7
|
|
|
8
8
|
var bannerSx = {
|
|
9
9
|
d: "flex",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b$ as axios, c0 as CheckoutErrorType, c1 as IMMUTABLE_API_BASE_URL, r as reactExports, I as IMTBLWidgetEvents, B as BridgeEventType, p as jsxs, o as jsx, c2 as ShimmerBox, ak as MenuItem, a8 as Stack, u as useTranslation, M as Body, T as Button, H as Box, c3 as PASSPORT_URL, aT as Link, c4 as getChainIdBySlug, c5 as getChainImage, c6 as networkName, a6 as FramedImage, Q as Icon, av as useAnalytics, ax as UserJourney, au as Divider, aN as ViewContext, at as Fragment, V as ViewActions, c7 as useWalletConnect, c8 as isWalletConnectProvider, c9 as Logo, ca as RawImage, cb as AXELAR_SCAN_URL, aX as isNativeToken, aY as getTokenImageByAddress, cc as getNativeSymbolByChainSlug, bw 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, bD as HeaderNavigation, bG as FooterLogo, aB as WalletDrawer, b3 as SimpleLayout, cd as getChainSlugById, ce as JsonRpcProvider, cf as DEFAULT_TRANSACTIONS_RETRY_POLICY, L as LoadingView, j as ChainId, cg as getChainNameById, w as useTheme, aA as Heading, ch as getWalletProviderNameByProvider, ci as isMetaMaskProvider, cj as WalletProviderName, ay as Drawer, R as ButtCon, ck as ButtonNavigationStyles, b4 as orchestrationEvents, al as tokenValueFormat, cl as formatZeroAmount, cm as NATIVE, a$ as fetchRiskAssessment, br as amountInputValidation, aM as getRemoteImage, bs as CloudImage, cn as ETH_TOKEN_SYMBOL, an as BigNumber, bl as Environment, co as GasEstimateType, cp as DEFAULT_TOKEN_DECIMALS, cq as DEFAULT_QUOTE_REFRESH_INTERVAL, cr as addChainChangedListener, cs as removeChainChangedListener, b0 as isAddressSanctioned, ct as IMX_TOKEN_SYMBOL, m as SharedViews, cu as dist, cv as CHECKOUT_CDN_BASE_URL, cw as heroBackGroundStyles, cx as heroImageStyles, a4 as Badge, cy as SimpleTextBody, cz as FooterButton, cA as getEthTokenImage, cB as WITHDRAWAL_CLAIM_GAS_LIMIT, aV as getDefaultTokenImage, bo as viewReducer, bp as initialViewState, cC as BridgeConfiguration, cD as ImmutableConfiguration, cE as TokenBridge, cF as StatusView, bH as StatusType, E as ErrorView, bt as ServiceUnavailableErrorView, cG as ETH_SEPOLIA_TO_ZKEVM_TESTNET, cH as ETH_SEPOLIA_TO_ZKEVM_DEVNET, cI 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 { b$ as axios, c0 as CheckoutErrorType, c1 as IMMUTABLE_API_BASE_URL, r as reactExports, I as IMTBLWidgetEvents, B as BridgeEventType, p as jsxs, o as jsx, c2 as ShimmerBox, ak as MenuItem, a8 as Stack, u as useTranslation, M as Body, T as Button, H as Box, c3 as PASSPORT_URL, aT as Link, c4 as getChainIdBySlug, c5 as getChainImage, c6 as networkName, a6 as FramedImage, Q as Icon, av as useAnalytics, ax as UserJourney, au as Divider, aN as ViewContext, at as Fragment, V as ViewActions, c7 as useWalletConnect, c8 as isWalletConnectProvider, c9 as Logo, ca as RawImage, cb as AXELAR_SCAN_URL, aX as isNativeToken, aY as getTokenImageByAddress, cc as getNativeSymbolByChainSlug, bw 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, bD as HeaderNavigation, bG as FooterLogo, aB as WalletDrawer, b3 as SimpleLayout, cd as getChainSlugById, ce as JsonRpcProvider, cf as DEFAULT_TRANSACTIONS_RETRY_POLICY, L as LoadingView, j as ChainId, cg as getChainNameById, w as useTheme, aA as Heading, ch as getWalletProviderNameByProvider, ci as isMetaMaskProvider, cj as WalletProviderName, ay as Drawer, R as ButtCon, ck as ButtonNavigationStyles, b4 as orchestrationEvents, al as tokenValueFormat, cl as formatZeroAmount, cm as NATIVE, a$ as fetchRiskAssessment, br as amountInputValidation, aM as getRemoteImage, bs as CloudImage, cn as ETH_TOKEN_SYMBOL, an as BigNumber, bl as Environment, co as GasEstimateType, cp as DEFAULT_TOKEN_DECIMALS, cq as DEFAULT_QUOTE_REFRESH_INTERVAL, cr as addChainChangedListener, cs as removeChainChangedListener, b0 as isAddressSanctioned, ct as IMX_TOKEN_SYMBOL, m as SharedViews, cu as dist, cv as CHECKOUT_CDN_BASE_URL, cw as heroBackGroundStyles, cx as heroImageStyles, a4 as Badge, cy as SimpleTextBody, cz as FooterButton, cA as getEthTokenImage, cB as WITHDRAWAL_CLAIM_GAS_LIMIT, aV as getDefaultTokenImage, bo as viewReducer, bp as initialViewState, cC as BridgeConfiguration, cD as ImmutableConfiguration, cE as TokenBridge, cF as StatusView, bH as StatusType, E as ErrorView, bt as ServiceUnavailableErrorView, cG as ETH_SEPOLIA_TO_ZKEVM_TESTNET, cH as ETH_SEPOLIA_TO_ZKEVM_DEVNET, cI as ETH_MAINNET_TO_ZKEVM_MAINNET } from './index-CY1i1jQv.js';
|
|
2
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-tgJX98Mx.js';
|
|
3
|
+
import { T as TokenImage, r as retry } from './TokenImage-BPnZNd1O.js';
|
|
4
|
+
import { E as EllipsizedText, C as Contract } from './EllipsizedText-qr0qJiZD.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-CLWcFtwr.js';
|
|
6
|
+
import { B as BridgeWidgetViews, T as TopUpView } from './TopUpView-Ckb6ENCM.js';
|
|
7
|
+
import { f as formatUnits, p as parseUnits } from './index-TLQbYbqN.js';
|
|
8
|
+
import { u as useInterval } from './useInterval-De9rEhBH.js';
|
|
9
|
+
import './FeesBreakdown-CSLtPJ4L.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-CY1i1jQv.js';
|
|
2
|
+
import SwapWidget from './SwapWidget-DT1n1xrd.js';
|
|
3
|
+
import BridgeWidget from './BridgeWidget-BKwSgXAv.js';
|
|
4
|
+
import { O as OnRampWidget } from './OnRampWidget-D67HyXPt.js';
|
|
5
|
+
import WalletWidget from './WalletWidget-B-Xs169b.js';
|
|
6
|
+
import SaleWidget from './SaleWidget-Dsr5XfXf.js';
|
|
7
|
+
import AddTokensWidget from './AddTokensWidget-CMwLuH85.js';
|
|
8
|
+
import './WalletApproveHero-CLWcFtwr.js';
|
|
9
|
+
import './TokenImage-BPnZNd1O.js';
|
|
10
|
+
import './FeesBreakdown-CSLtPJ4L.js';
|
|
11
|
+
import './CryptoFiatProvider-tgJX98Mx.js';
|
|
12
|
+
import './useInterval-De9rEhBH.js';
|
|
13
|
+
import './index-TLQbYbqN.js';
|
|
14
|
+
import './TopUpView-Ckb6ENCM.js';
|
|
15
|
+
import './SpendingCapHero-BOirHBAX.js';
|
|
16
|
+
import './EllipsizedText-qr0qJiZD.js';
|
|
17
|
+
import './HandoverContent-D8J6XdmP.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-DZQhw9JC.js → CryptoFiatProvider-tgJX98Mx.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bl as Environment, b$ as axios, r as reactExports, o as jsx } from './index-
|
|
1
|
+
import { bl as Environment, b$ as axios, r as reactExports, o as jsx } from './index-CY1i1jQv.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Class representing the configuration for the CryptoFiatModule.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cJ as defineReadOnly, cK as getStatic, cL as Signer, cM as Provider, cN as getAddress, cO as Logger, cP as getContractAddress, cQ as Interface, cR as shallowCopy, cS as VoidSigner, cT as Indexed, cU as deepCopy, cV as isHexString, cW as checkResultErrors, cX as resolveProperties, an as BigNumber, cY as accessListify, cZ as arrayify, o as jsx, _ as _objectWithoutProperties, c_ as cloneElementWithCssProp, M as Body, U as _defineProperty } from './index-
|
|
1
|
+
import { cJ as defineReadOnly, cK as getStatic, cL as Signer, cM as Provider, cN as getAddress, cO as Logger, cP as getContractAddress, cQ as Interface, cR as shallowCopy, cS as VoidSigner, cT as Indexed, cU as deepCopy, cV as isHexString, cW as checkResultErrors, cX as resolveProperties, an as BigNumber, cY as accessListify, cZ as arrayify, o as jsx, _ as _objectWithoutProperties, c_ as cloneElementWithCssProp, M as Body, U as _defineProperty } from './index-CY1i1jQv.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, ay as Drawer, ak as MenuItem, at as Fragment, au as Divider, al as tokenValueFormat, cl as formatZeroAmount, bG as FooterLogo } from './index-
|
|
1
|
+
import { p as jsxs, o as jsx, M as Body, bn as PriceDisplay, H as Box, u as useTranslation, ay as Drawer, ak as MenuItem, at as Fragment, au as Divider, al as tokenValueFormat, cl as formatZeroAmount, bG as FooterLogo } from './index-CY1i1jQv.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-CY1i1jQv.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 { c$ as global, av as useAnalytics, r as reactExports, bT as ConnectLoaderContext, aQ as EventTargetContext, u as useTranslation, aN as ViewContext, m as SharedViews, a$ as fetchRiskAssessment, b0 as isAddressSanctioned, V as ViewActions, d0 as ExchangeType, o as jsx, b3 as SimpleLayout, bD as HeaderNavigation, d1 as sendOnRampWidgetCloseEvent, b4 as orchestrationEvents, I as IMTBLWidgetEvents, H as Box, ax as UserJourney, bG as FooterLogo, p as jsxs, cy as SimpleTextBody, bo as viewReducer, bp as initialViewState, cm as NATIVE, L as LoadingView, d2 as sendOnRampSuccessEvent, bH as StatusType, cF as StatusView, d3 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 { c$ as global, av as useAnalytics, r as reactExports, bT as ConnectLoaderContext, aQ as EventTargetContext, u as useTranslation, aN as ViewContext, m as SharedViews, a$ as fetchRiskAssessment, b0 as isAddressSanctioned, V as ViewActions, d0 as ExchangeType, o as jsx, b3 as SimpleLayout, bD as HeaderNavigation, d1 as sendOnRampWidgetCloseEvent, b4 as orchestrationEvents, I as IMTBLWidgetEvents, H as Box, ax as UserJourney, bG as FooterLogo, p as jsxs, cy as SimpleTextBody, bo as viewReducer, bp as initialViewState, cm as NATIVE, L as LoadingView, d2 as sendOnRampSuccessEvent, bH as StatusType, cF as StatusView, d3 as sendOnRampFailedEvent, bt as ServiceUnavailableErrorView } from './index-CY1i1jQv.js';
|
|
2
|
+
import { O as OnRampWidgetViews, T as TopUpView } from './TopUpView-Ckb6ENCM.js';
|
|
3
|
+
import { S as SpendingCapHero } from './SpendingCapHero-BOirHBAX.js';
|
|
4
4
|
|
|
5
5
|
function isNull(arg) {
|
|
6
6
|
return arg === null;
|
|
@@ -1415,10 +1415,7 @@ function OnRampMain({ passport, showIframe, tokenAmount, tokenAddress, showBackB
|
|
|
1415
1415
|
screen: 'OrderInProgress',
|
|
1416
1416
|
control: 'PaymentProcessing',
|
|
1417
1417
|
controlType: 'IframeEvent',
|
|
1418
|
-
extras: {
|
|
1419
|
-
...miscProps,
|
|
1420
|
-
transactionHash: event.data.transactionHash,
|
|
1421
|
-
},
|
|
1418
|
+
extras: { ...miscProps },
|
|
1422
1419
|
}); // checkoutOnRampOrderInProgress_PaymentProcessingIframeEvent
|
|
1423
1420
|
}
|
|
1424
1421
|
if (event.data.status === TransakStatuses$1.COMPLETED) {
|
|
@@ -1427,10 +1424,7 @@ function OnRampMain({ passport, showIframe, tokenAmount, tokenAddress, showBackB
|
|
|
1427
1424
|
screen: 'Success',
|
|
1428
1425
|
control: 'PaymentCompleted',
|
|
1429
1426
|
controlType: 'IframeEvent',
|
|
1430
|
-
extras: {
|
|
1431
|
-
...miscProps,
|
|
1432
|
-
transactionHash: event.data.transactionHash,
|
|
1433
|
-
},
|
|
1427
|
+
extras: { ...miscProps },
|
|
1434
1428
|
}); // checkoutOnRampSuccess_PaymentCompletedIframeEvent
|
|
1435
1429
|
}
|
|
1436
1430
|
break;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { bl as Environment, an as BigNumber, r as reactExports, bu as compareStr, aN as ViewContext, V as ViewActions, a$ as fetchRiskAssessment, o as jsx, bv as SalePaymentTypes, ax as UserJourney, u as useTranslation, bw as calculateCryptoToFiat, av as useAnalytics, aQ as EventTargetContext, bx as sendSaleWidgetCloseEvent, by as sendSaleSuccessEvent, bz as sendSaleFailedEvent, bA as sendSaleTransactionSuccessEvent, bB as sendSalePaymentMethodEvent, bC as sendSalePaymentTokenEvent, bD as HeaderNavigation, p as jsxs, bE as LoadingOverlay, H as Box, at as Fragment, b3 as SimpleLayout, aO as useHandover, aP as HandoverTarget, aR as getRemoteRive, aA as Heading, bF as HandoverDuration, az as isPassportProvider, ak as MenuItem, ar as motion, aq as listVariants, as as listItemVariants, b0 as isAddressSanctioned, m as SharedViews, bG as FooterLogo, bH as StatusType, bI as prettyFormatNumber, al as tokenValueFormat, bJ as ShimmerCircle, T as Button, a8 as Stack, bK as FundingStepType, bL as abbreviateWalletAddress, ay as Drawer, bM as Caption, au as Divider, bN as tokenSymbolNameOverrides, bO as ItemType, bP as TransactionOrGasType, bQ as GasTokenType, bR as RoutingOutcomeType, aX as isNativeToken, aY as getTokenImageByAddress, bS as isGasFree, bT as ConnectLoaderContext, bU as eventTargetReducer, bV as initialEventTargetState, i as getL1ChainId, h as getL2ChainId, I as IMTBLWidgetEvents, bW as EventTargetActions, L as LoadingView, j as ChainId, bX as ConnectWidgetViews, q as ConnectWidget, S as SwapEventType, O as OnRampEventType, B as BridgeEventType, b as ConnectEventType, bY as ConnectLoaderActions, R as ButtCon, M as Body, bZ as widgetTheme, bo as viewReducer, bp as initialViewState, b_ 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 { bl as Environment, an as BigNumber, r as reactExports, bu as compareStr, aN as ViewContext, V as ViewActions, a$ as fetchRiskAssessment, o as jsx, bv as SalePaymentTypes, ax as UserJourney, u as useTranslation, bw as calculateCryptoToFiat, av as useAnalytics, aQ as EventTargetContext, bx as sendSaleWidgetCloseEvent, by as sendSaleSuccessEvent, bz as sendSaleFailedEvent, bA as sendSaleTransactionSuccessEvent, bB as sendSalePaymentMethodEvent, bC as sendSalePaymentTokenEvent, bD as HeaderNavigation, p as jsxs, bE as LoadingOverlay, H as Box, at as Fragment, b3 as SimpleLayout, aO as useHandover, aP as HandoverTarget, aR as getRemoteRive, aA as Heading, bF as HandoverDuration, az as isPassportProvider, ak as MenuItem, ar as motion, aq as listVariants, as as listItemVariants, b0 as isAddressSanctioned, m as SharedViews, bG as FooterLogo, bH as StatusType, bI as prettyFormatNumber, al as tokenValueFormat, bJ as ShimmerCircle, T as Button, a8 as Stack, bK as FundingStepType, bL as abbreviateWalletAddress, ay as Drawer, bM as Caption, au as Divider, bN as tokenSymbolNameOverrides, bO as ItemType, bP as TransactionOrGasType, bQ as GasTokenType, bR as RoutingOutcomeType, aX as isNativeToken, aY as getTokenImageByAddress, bS as isGasFree, bT as ConnectLoaderContext, bU as eventTargetReducer, bV as initialEventTargetState, i as getL1ChainId, h as getL2ChainId, I as IMTBLWidgetEvents, bW as EventTargetActions, L as LoadingView, j as ChainId, bX as ConnectWidgetViews, q as ConnectWidget, S as SwapEventType, O as OnRampEventType, B as BridgeEventType, b as ConnectEventType, bY as ConnectLoaderActions, R as ButtCon, M as Body, bZ as widgetTheme, bo as viewReducer, bp as initialViewState, b_ as BlockExplorerService, bt as ServiceUnavailableErrorView } from './index-CY1i1jQv.js';
|
|
2
|
+
import { C as Contract } from './EllipsizedText-qr0qJiZD.js';
|
|
3
|
+
import { u as useTransakEvents, O as OnRampWidget } from './OnRampWidget-D67HyXPt.js';
|
|
4
|
+
import { H as HandoverContent } from './HandoverContent-D8J6XdmP.js';
|
|
5
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-tgJX98Mx.js';
|
|
6
|
+
import { u as useMount, T as TopUpView } from './TopUpView-Ckb6ENCM.js';
|
|
7
|
+
import { T as TokenImage } from './TokenImage-BPnZNd1O.js';
|
|
8
|
+
import { f as formatUnits } from './index-TLQbYbqN.js';
|
|
9
|
+
import { F as Fees } from './WalletApproveHero-CLWcFtwr.js';
|
|
10
|
+
import BridgeWidget from './BridgeWidget-BKwSgXAv.js';
|
|
11
|
+
import SwapWidget from './SwapWidget-DT1n1xrd.js';
|
|
12
|
+
import './SpendingCapHero-BOirHBAX.js';
|
|
13
|
+
import './FeesBreakdown-CSLtPJ4L.js';
|
|
14
|
+
import './useInterval-De9rEhBH.js';
|
|
15
15
|
|
|
16
16
|
var SaleWidgetViews;
|
|
17
17
|
(function (SaleWidgetViews) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as jsx, cw as heroBackGroundStyles, H as Box, cx as heroImageStyles, dn as heroImageBottomAlign, p as jsxs } from './index-
|
|
1
|
+
import { o as jsx, cw as heroBackGroundStyles, H as Box, cx as heroImageStyles, dn as heroImageBottomAlign, p as jsxs } from './index-CY1i1jQv.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, d4 as WidgetTheme, aM as getRemoteImage, p as jsxs, d5 as quickswapFooterStyles, H as Box, d6 as quickswapFooterLogoStyles, o as jsx, M as Body, d7 as quickswapFooterDisclaimerTextStyles, r as reactExports, T as Button, d8 as getImxTokenImage, ay as Drawer, bs as CloudImage, aA as Heading, c9 as Logo, Q as Icon, an as BigNumber, bw as calculateCryptoToFiat, al as tokenValueFormat, bS as isGasFree, cl as formatZeroAmount, bT as ConnectLoaderContext, aV as getDefaultTokenImage, aX as isNativeToken, cm as NATIVE, aN as ViewContext, av as useAnalytics, cq as DEFAULT_QUOTE_REFRESH_INTERVAL, az as isPassportProvider, br as amountInputValidation, d9 as Tooltip, ax as UserJourney, bl as Environment, V as ViewActions, m as SharedViews, h as getL2ChainId, at as Fragment, da as ESTIMATE_DEBOUNCE, db as DEFAULT_TOKEN_VALIDATION_DECIMALS, b0 as isAddressSanctioned, cp as DEFAULT_TOKEN_DECIMALS, aQ as EventTargetContext, dc as sendSwapWidgetCloseEvent, b4 as orchestrationEvents, I as IMTBLWidgetEvents, bD as HeaderNavigation, L as LoadingView, b3 as SimpleLayout, ct as IMX_TOKEN_SYMBOL, c0 as CheckoutErrorType, cy as SimpleTextBody, cz as FooterButton, bo as viewReducer, bp as initialViewState, aW as TokenFilterTypes, dd as DEFAULT_BALANCE_RETRY_POLICY, a$ as fetchRiskAssessment, de as SwapDirection$1, cF as StatusView, df as sendSwapSuccessEvent, bH as StatusType, dg as sendSwapFailedEvent, dh 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, d4 as WidgetTheme, aM as getRemoteImage, p as jsxs, d5 as quickswapFooterStyles, H as Box, d6 as quickswapFooterLogoStyles, o as jsx, M as Body, d7 as quickswapFooterDisclaimerTextStyles, r as reactExports, T as Button, d8 as getImxTokenImage, ay as Drawer, bs as CloudImage, aA as Heading, c9 as Logo, Q as Icon, an as BigNumber, bw as calculateCryptoToFiat, al as tokenValueFormat, bS as isGasFree, cl as formatZeroAmount, bT as ConnectLoaderContext, aV as getDefaultTokenImage, aX as isNativeToken, cm as NATIVE, aN as ViewContext, av as useAnalytics, cq as DEFAULT_QUOTE_REFRESH_INTERVAL, az as isPassportProvider, br as amountInputValidation, d9 as Tooltip, ax as UserJourney, bl as Environment, V as ViewActions, m as SharedViews, h as getL2ChainId, at as Fragment, da as ESTIMATE_DEBOUNCE, db as DEFAULT_TOKEN_VALIDATION_DECIMALS, b0 as isAddressSanctioned, cp as DEFAULT_TOKEN_DECIMALS, aQ as EventTargetContext, dc as sendSwapWidgetCloseEvent, b4 as orchestrationEvents, I as IMTBLWidgetEvents, bD as HeaderNavigation, L as LoadingView, b3 as SimpleLayout, ct as IMX_TOKEN_SYMBOL, c0 as CheckoutErrorType, cy as SimpleTextBody, cz as FooterButton, bo as viewReducer, bp as initialViewState, aW as TokenFilterTypes, dd as DEFAULT_BALANCE_RETRY_POLICY, a$ as fetchRiskAssessment, de as SwapDirection$1, cF as StatusView, df as sendSwapSuccessEvent, bH as StatusType, dg as sendSwapFailedEvent, dh as sendSwapRejectedEvent, E as ErrorView, bt as ServiceUnavailableErrorView } from './index-CY1i1jQv.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-CLWcFtwr.js';
|
|
3
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-tgJX98Mx.js';
|
|
4
|
+
import { u as useInterval } from './useInterval-De9rEhBH.js';
|
|
5
|
+
import { f as formatUnits, p as parseUnits, a as parseEther } from './index-TLQbYbqN.js';
|
|
6
|
+
import { S as SwapWidgetViews, T as TopUpView } from './TopUpView-Ckb6ENCM.js';
|
|
7
|
+
import { S as SpendingCapHero } from './SpendingCapHero-BOirHBAX.js';
|
|
8
|
+
import './TokenImage-BPnZNd1O.js';
|
|
9
|
+
import './FeesBreakdown-CSLtPJ4L.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-CY1i1jQv.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, av as useAnalytics, co as GasEstimateType, bD as HeaderNavigation, aA as Heading, M as Body, b3 as SimpleLayout, I as IMTBLWidgetEvents, V as ViewActions, b4 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, av as useAnalytics, co as GasEstimateType, bD as HeaderNavigation, aA as Heading, M as Body, b3 as SimpleLayout, I as IMTBLWidgetEvents, V as ViewActions, b4 as orchestrationEvents } from './index-CY1i1jQv.js';
|
|
2
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, D as DEFAULT_TOKEN_SYMBOLS } from './CryptoFiatProvider-tgJX98Mx.js';
|
|
3
|
+
import { f as formatUnits } from './index-TLQbYbqN.js';
|
|
4
4
|
|
|
5
5
|
var BridgeWidgetViews;
|
|
6
6
|
(function (BridgeWidgetViews) {
|
package/dist/browser/checkout/{WalletApproveHero-D3trlkLW.js → WalletApproveHero-CLWcFtwr.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, di as AnimatePresence, H as Box, a8 as Stack, a1 as ClassNames, U as _defineProperty, dj as getTertiaryButtonStyles, K as flattenChildren, J as isChildSubcomponent, au as Divider, aZ as TextInput, dk as FormControlWrapper, u as useTranslation, ak as MenuItem, ay as Drawer, M as Body, dl as Select, bl as Environment, d4 as WidgetTheme, dm as DuoCon, aA as Heading, T as Button, cm as NATIVE, aY as getTokenImageByAddress, aX as isNativeToken, dd as DEFAULT_BALANCE_RETRY_POLICY, aM as getRemoteImage, cg as getChainNameById, i as getL1ChainId, c8 as isWalletConnectProvider, ci as isMetaMaskProvider, bs as CloudImage, bG as FooterLogo, cl as formatZeroAmount, al as tokenValueFormat, c2 as ShimmerBox, bn as PriceDisplay, at as Fragment, cw as heroBackGroundStyles, cx as heroImageStyles, dn 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, di as AnimatePresence, H as Box, a8 as Stack, a1 as ClassNames, U as _defineProperty, dj as getTertiaryButtonStyles, K as flattenChildren, J as isChildSubcomponent, au as Divider, aZ as TextInput, dk as FormControlWrapper, u as useTranslation, ak as MenuItem, ay as Drawer, M as Body, dl as Select, bl as Environment, d4 as WidgetTheme, dm as DuoCon, aA as Heading, T as Button, cm as NATIVE, aY as getTokenImageByAddress, aX as isNativeToken, dd as DEFAULT_BALANCE_RETRY_POLICY, aM as getRemoteImage, cg as getChainNameById, i as getL1ChainId, c8 as isWalletConnectProvider, ci as isMetaMaskProvider, bs as CloudImage, bG as FooterLogo, cl as formatZeroAmount, al as tokenValueFormat, c2 as ShimmerBox, bn as PriceDisplay, at as Fragment, cw as heroBackGroundStyles, cx as heroImageStyles, dn as heroImageBottomAlign } from './index-CY1i1jQv.js';
|
|
2
|
+
import { T as TokenImage, r as retry } from './TokenImage-BPnZNd1O.js';
|
|
3
|
+
import { F as FeesBreakdown } from './FeesBreakdown-CSLtPJ4L.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, dt 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, du as getResponsiveSx, dv as BUTTON_SIZES, dw 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, bT as ConnectLoaderContext, av as useAnalytics, cl as formatZeroAmount, aQ as EventTargetContext, az as isPassportProvider, h as getL2ChainId, i as getL1ChainId, bl as Environment, ak as MenuItem, al as tokenValueFormat, ax as UserJourney, b4 as orchestrationEvents, I as IMTBLWidgetEvents, dx as ZERO_BALANCE_STRING, aX as isNativeToken, dy as sendNetworkSwitchEvent, c0 as CheckoutErrorType, m as SharedViews, dz as NetworkFilterTypes, dA as sortNetworksCompareFn, c5 as getChainImage, dd as DEFAULT_BALANCE_RETRY_POLICY, dB as sortTokensByAmount, aY as getTokenImageByAddress, bw as calculateCryptoToFiat, bD as HeaderNavigation, ck as ButtonNavigationStyles, dC as sendWalletWidgetCloseEvent, bG as FooterLogo, b3 as SimpleLayout, cj as WalletProviderName, ch as getWalletProviderNameByProvider, X as isDualVariantIcon, bL as abbreviateWalletAddress, aA as Heading, ay as Drawer, c7 as useWalletConnect, dD as sendDisconnectWalletEvent, c8 as isWalletConnectProvider, cw as heroBackGroundStyles, cx as heroImageStyles, dn as heroImageBottomAlign, cy as SimpleTextBody, dE 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, dt 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, du as getResponsiveSx, dv as BUTTON_SIZES, dw 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, bT as ConnectLoaderContext, av as useAnalytics, cl as formatZeroAmount, aQ as EventTargetContext, az as isPassportProvider, h as getL2ChainId, i as getL1ChainId, bl as Environment, ak as MenuItem, al as tokenValueFormat, ax as UserJourney, b4 as orchestrationEvents, I as IMTBLWidgetEvents, dx as ZERO_BALANCE_STRING, aX as isNativeToken, dy as sendNetworkSwitchEvent, c0 as CheckoutErrorType, m as SharedViews, dz as NetworkFilterTypes, dA as sortNetworksCompareFn, c5 as getChainImage, dd as DEFAULT_BALANCE_RETRY_POLICY, dB as sortTokensByAmount, aY as getTokenImageByAddress, bw as calculateCryptoToFiat, bD as HeaderNavigation, ck as ButtonNavigationStyles, dC as sendWalletWidgetCloseEvent, bG as FooterLogo, b3 as SimpleLayout, cj as WalletProviderName, ch as getWalletProviderNameByProvider, X as isDualVariantIcon, bL as abbreviateWalletAddress, aA as Heading, ay as Drawer, c7 as useWalletConnect, dD as sendDisconnectWalletEvent, c8 as isWalletConnectProvider, cw as heroBackGroundStyles, cx as heroImageStyles, dn as heroImageBottomAlign, cy as SimpleTextBody, dE as FAQS_LINK, aT as Link, bo as viewReducer, bp as initialViewState, L as LoadingView, E as ErrorView } from './index-CY1i1jQv.js';
|
|
2
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-tgJX98Mx.js';
|
|
3
|
+
import { T as TokenImage, r as retry } from './TokenImage-BPnZNd1O.js';
|
|
4
|
+
import { u as useInterval } from './useInterval-De9rEhBH.js';
|
|
5
5
|
|
|
6
6
|
var horizontalMenuSxProps = {
|
|
7
7
|
justifyContent: "stretch",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dG as ne$1, dH as se$1, dI as T$2, dJ as oe$1, dK as R$1, dL as a$2, dM as te$1, dN as p$1, dO as y$1 } from './index-
|
|
1
|
+
import { dG as ne$1, dH as se$1, dI as T$2, dJ as oe$1, dK as R$1, dL as a$2, dM as te$1, dN as p$1, dO as y$1 } from './index-CY1i1jQv.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dP as __awaiter, dQ as __generator, d_ as isServer, dS as getNextIntegrationsURL, dR as loadScript } from './index-
|
|
1
|
+
import { dP as __awaiter, dQ as __generator, d_ as isServer, dS as getNextIntegrationsURL, dR as loadScript } from './index-CY1i1jQv.js';
|
|
2
2
|
|
|
3
3
|
function remoteMiddlewares(ctx, settings, obfuscate) {
|
|
4
4
|
var _a;
|
|
@@ -131606,7 +131606,7 @@ var views$3 = {
|
|
|
131606
131606
|
},
|
|
131607
131607
|
screen2: {
|
|
131608
131608
|
title: "You can deliver tokens to Passport\n& pay from any wallet",
|
|
131609
|
-
caption: "
|
|
131609
|
+
caption: "whats evolved",
|
|
131610
131610
|
buttonText: "Next"
|
|
131611
131611
|
},
|
|
131612
131612
|
screen3: {
|
|
@@ -135339,7 +135339,7 @@ function snapshot(proxyObject, handlePromise) {
|
|
|
135339
135339
|
|
|
135340
135340
|
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$6=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$6)for(var s of D$6(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$5="js-2.6.2";async function w$5(e,t){const s=K$4({sdkType:E$4,sdkVersion:O$5},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$5={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$5}`},getAssetImageUrl(e){return `${L$5}/w3m/v1/getAssetImage/${e}?projectId=${y$6.state.projectId}&sdkType=${E$4}&sdkVersion=${O$5}`}};var z$5=Object.defineProperty,j$3=Object.getOwnPropertySymbols,J$3=Object.prototype.hasOwnProperty,q$5=Object.prototype.propertyIsEnumerable,k$4=(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$4(e,s,t[s]);if(j$3)for(var s of j$3(t))q$5.call(t,s)&&k$4(e,s,t[s]);return e};const N$4=a$4.isMobile(),d$5=proxy({wallets:{listings:[],total:0,page:1},search:{listings:[],total:0,page:1},recomendedWallets:[]}),te$4={state:d$5,async getRecomendedWallets(){const{explorerRecommendedWalletIds:e,explorerExcludedWalletIds:t}=y$6.state;if(e==="NONE"||t==="ALL"&&!e)return d$5.recomendedWallets;if(a$4.isArray(e)){const s={recommendedIds:e.join(",")},{listings:n}=await m$5.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$5.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$5.getMobileListings(v):await m$5.getDesktopListings(v);d$5.recomendedWallets=Object.values(b);}return d$5.recomendedWallets},async getWallets(e){const t=F$5({},e),{explorerRecommendedWalletIds:s,explorerExcludedWalletIds:n}=y$6.state,{recomendedWallets:i}=d$5;if(n==="ALL")return d$5.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$5.getMobileListings(t):await m$5.getDesktopListings(t),A=Object.values(b),U=v?"search":"wallets";return d$5[U]={listings:[...d$5[U].listings,...A],total:f,page:l??1},{listings:A,total:f}},getWalletImageUrl(e){return m$5.getWalletImageUrl(e)},getAssetImageUrl(e){return m$5.getAssetImageUrl(e)},resetSearch(){d$5.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;}};
|
|
135341
135341
|
|
|
135342
|
-
let d$4 = 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-
|
|
135342
|
+
let d$4 = 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-B2xgM6ux.js');const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),p$9.setIsUiLoaded(!0);}}};
|
|
135343
135343
|
|
|
135344
135344
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
135345
135345
|
__proto__: null,
|
|
@@ -152180,7 +152180,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152180
152180
|
return __generator(this, function (_b) {
|
|
152181
152181
|
switch (_b.label) {
|
|
152182
152182
|
case 0: return [4 /*yield*/, import(
|
|
152183
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152183
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DTqRNUQd.js')];
|
|
152184
152184
|
case 1:
|
|
152185
152185
|
autotrack = _b.sent();
|
|
152186
152186
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152199,7 +152199,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152199
152199
|
return __generator(this, function (_b) {
|
|
152200
152200
|
switch (_b.label) {
|
|
152201
152201
|
case 0: return [4 /*yield*/, import(
|
|
152202
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152202
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DTqRNUQd.js')];
|
|
152203
152203
|
case 1:
|
|
152204
152204
|
autotrack = _b.sent();
|
|
152205
152205
|
return [2 /*return*/, (_a = autotrack.link).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152218,7 +152218,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152218
152218
|
return __generator(this, function (_b) {
|
|
152219
152219
|
switch (_b.label) {
|
|
152220
152220
|
case 0: return [4 /*yield*/, import(
|
|
152221
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152221
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DTqRNUQd.js')];
|
|
152222
152222
|
case 1:
|
|
152223
152223
|
autotrack = _b.sent();
|
|
152224
152224
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152237,7 +152237,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152237
152237
|
return __generator(this, function (_b) {
|
|
152238
152238
|
switch (_b.label) {
|
|
152239
152239
|
case 0: return [4 /*yield*/, import(
|
|
152240
|
-
/* webpackChunkName: "auto-track" */ './auto-track-
|
|
152240
|
+
/* webpackChunkName: "auto-track" */ './auto-track-DTqRNUQd.js')];
|
|
152241
152241
|
case 1:
|
|
152242
152242
|
autotrack = _b.sent();
|
|
152243
152243
|
return [2 /*return*/, (_a = autotrack.form).call.apply(_a, __spreadArray$1([this], args, false))];
|
|
@@ -152387,7 +152387,7 @@ var Analytics = /** @class */ (function (_super) {
|
|
|
152387
152387
|
return [2 /*return*/, []];
|
|
152388
152388
|
}
|
|
152389
152389
|
return [4 /*yield*/, import(
|
|
152390
|
-
/* webpackChunkName: "queryString" */ './index-
|
|
152390
|
+
/* webpackChunkName: "queryString" */ './index-ePiQFImQ.js')];
|
|
152391
152391
|
case 1:
|
|
152392
152392
|
queryString = (_a.sent()).queryString;
|
|
152393
152393
|
return [2 /*return*/, queryString(this, query)];
|
|
@@ -155091,7 +155091,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155091
155091
|
case 0:
|
|
155092
155092
|
if (!hasTsubMiddleware(legacySettings)) return [3 /*break*/, 2];
|
|
155093
155093
|
return [4 /*yield*/, import(
|
|
155094
|
-
/* webpackChunkName: "tsub-middleware" */ './index-
|
|
155094
|
+
/* webpackChunkName: "tsub-middleware" */ './index-ClXNH8Oc.js').then(function (mod) {
|
|
155095
155095
|
return mod.tsubMiddleware(legacySettings.middlewareSettings.routingRules);
|
|
155096
155096
|
})];
|
|
155097
155097
|
case 1:
|
|
@@ -155104,7 +155104,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155104
155104
|
tsubMiddleware = _d;
|
|
155105
155105
|
if (!(hasLegacyDestinations(legacySettings) || legacyIntegrationSources.length > 0)) return [3 /*break*/, 5];
|
|
155106
155106
|
return [4 /*yield*/, import(
|
|
155107
|
-
/* webpackChunkName: "ajs-destination" */ './index-
|
|
155107
|
+
/* webpackChunkName: "ajs-destination" */ './index-DPfMbHZw.js').then(function (mod) {
|
|
155108
155108
|
return mod.ajsDestinations(writeKey, legacySettings, analytics.integrations, opts, tsubMiddleware, legacyIntegrationSources);
|
|
155109
155109
|
})];
|
|
155110
155110
|
case 4:
|
|
@@ -155117,7 +155117,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155117
155117
|
legacyDestinations = _e;
|
|
155118
155118
|
if (!legacySettings.legacyVideoPluginsEnabled) return [3 /*break*/, 8];
|
|
155119
155119
|
return [4 /*yield*/, import(
|
|
155120
|
-
/* webpackChunkName: "legacyVideos" */ './index-
|
|
155120
|
+
/* webpackChunkName: "legacyVideos" */ './index-Co5G6Uvk.js').then(function (mod) {
|
|
155121
155121
|
return mod.loadLegacyVideoPlugins(analytics);
|
|
155122
155122
|
})];
|
|
155123
155123
|
case 7:
|
|
@@ -155126,7 +155126,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155126
155126
|
case 8:
|
|
155127
155127
|
if (!((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track)) return [3 /*break*/, 10];
|
|
155128
155128
|
return [4 /*yield*/, import(
|
|
155129
|
-
/* webpackChunkName: "schemaFilter" */ './index-
|
|
155129
|
+
/* webpackChunkName: "schemaFilter" */ './index-D1k37Kqb.js').then(function (mod) {
|
|
155130
155130
|
var _a;
|
|
155131
155131
|
return mod.schemaFilter((_a = opts.plan) === null || _a === void 0 ? void 0 : _a.track, legacySettings);
|
|
155132
155132
|
})];
|
|
@@ -155165,7 +155165,7 @@ function registerPlugins(writeKey, legacySettings, analytics, opts, options, plu
|
|
|
155165
155165
|
return enabled;
|
|
155166
155166
|
})) return [3 /*break*/, 17];
|
|
155167
155167
|
return [4 /*yield*/, import(
|
|
155168
|
-
/* webpackChunkName: "remoteMiddleware" */ './index-
|
|
155168
|
+
/* webpackChunkName: "remoteMiddleware" */ './index-BWyrMf-q.js').then(function (_a) {
|
|
155169
155169
|
var remoteMiddlewares = _a.remoteMiddlewares;
|
|
155170
155170
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155171
155171
|
var middleware, promises;
|
|
@@ -222436,7 +222436,7 @@ const useProvidersContext = () => {
|
|
|
222436
222436
|
return context;
|
|
222437
222437
|
};
|
|
222438
222438
|
|
|
222439
|
-
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-
|
|
222439
|
+
const AddTokensWidget = React.lazy(() => import('./AddTokensWidget-CMwLuH85.js'));
|
|
222440
222440
|
class AddTokens extends Base {
|
|
222441
222441
|
eventTopic = IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT;
|
|
222442
222442
|
getValidatedProperties({ config, }) {
|
|
@@ -222480,7 +222480,7 @@ class AddTokens extends Base {
|
|
|
222480
222480
|
}
|
|
222481
222481
|
}
|
|
222482
222482
|
|
|
222483
|
-
const BridgeWidget = React.lazy(() => import('./BridgeWidget-
|
|
222483
|
+
const BridgeWidget = React.lazy(() => import('./BridgeWidget-BKwSgXAv.js'));
|
|
222484
222484
|
class Bridge extends Base {
|
|
222485
222485
|
eventTopic = IMTBLWidgetEvents.IMTBL_BRIDGE_WIDGET_EVENT;
|
|
222486
222486
|
getValidatedProperties({ config }) {
|
|
@@ -222634,7 +222634,7 @@ const commerceFlows = [
|
|
|
222634
222634
|
CommerceFlowType.ADD_TOKENS,
|
|
222635
222635
|
];
|
|
222636
222636
|
|
|
222637
|
-
const CommerceWidget = React.lazy(() => import('./CommerceWidget-
|
|
222637
|
+
const CommerceWidget = React.lazy(() => import('./CommerceWidget-GO6WQ0G_.js'));
|
|
222638
222638
|
class CommerceWidgetRoot extends Base {
|
|
222639
222639
|
eventTopic = IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT;
|
|
222640
222640
|
getValidatedProperties({ config, }) {
|
|
@@ -224858,7 +224858,7 @@ const orchestrationEvents = {
|
|
|
224858
224858
|
sendRequestAddTokensEvent,
|
|
224859
224859
|
};
|
|
224860
224860
|
|
|
224861
|
-
const OnRampWidget = React.lazy(() => import('./OnRampWidget-
|
|
224861
|
+
const OnRampWidget = React.lazy(() => import('./OnRampWidget-D67HyXPt.js').then(function (n) { return n.a; }));
|
|
224862
224862
|
class OnRamp extends Base {
|
|
224863
224863
|
eventTopic = IMTBLWidgetEvents.IMTBL_ONRAMP_WIDGET_EVENT;
|
|
224864
224864
|
getValidatedProperties({ config }) {
|
|
@@ -224996,7 +224996,7 @@ const sendSalePaymentTokenEvent = (eventTarget, details) => {
|
|
|
224996
224996
|
eventTarget.dispatchEvent(event);
|
|
224997
224997
|
};
|
|
224998
224998
|
|
|
224999
|
-
const SaleWidget = React.lazy(() => import('./SaleWidget-
|
|
224999
|
+
const SaleWidget = React.lazy(() => import('./SaleWidget-Dsr5XfXf.js'));
|
|
225000
225000
|
class Sale extends Base {
|
|
225001
225001
|
eventTopic = IMTBLWidgetEvents.IMTBL_SALE_WIDGET_EVENT;
|
|
225002
225002
|
// TODO: add specific validation logic for the sale items
|
|
@@ -225233,7 +225233,7 @@ function GeoblockLoader({ widget, serviceUnavailableView, checkout, }) {
|
|
|
225233
225233
|
: serviceUnavailableView) }));
|
|
225234
225234
|
}
|
|
225235
225235
|
|
|
225236
|
-
const SwapWidget = React.lazy(() => import('./SwapWidget-
|
|
225236
|
+
const SwapWidget = React.lazy(() => import('./SwapWidget-DT1n1xrd.js'));
|
|
225237
225237
|
class Swap extends Base {
|
|
225238
225238
|
eventTopic = IMTBLWidgetEvents.IMTBL_SWAP_WIDGET_EVENT;
|
|
225239
225239
|
getValidatedProperties({ config }) {
|
|
@@ -225358,7 +225358,7 @@ function sendDisconnectWalletEvent(eventTarget) {
|
|
|
225358
225358
|
eventTarget.dispatchEvent(disconnectWalletEvent);
|
|
225359
225359
|
}
|
|
225360
225360
|
|
|
225361
|
-
const WalletWidget = React.lazy(() => import('./WalletWidget-
|
|
225361
|
+
const WalletWidget = React.lazy(() => import('./WalletWidget-B-Xs169b.js'));
|
|
225362
225362
|
class Wallet extends Base {
|
|
225363
225363
|
eventTopic = IMTBLWidgetEvents.IMTBL_WALLET_WIDGET_EVENT;
|
|
225364
225364
|
getValidatedProperties({ config }) {
|