@imtbl/sdk 1.64.0 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{blockchain_data-BJFFyOsZ.js → blockchain_data-Dp0DKwKY.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-_RYa4euh.js → AddTokensWidget-CzLj_kbJ.js} +38 -16
- package/dist/browser/checkout/{BridgeWidget-BCC7YXWj.js → BridgeWidget-BD2arVjv.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-B4QxFLZq.js → CommerceWidget-B0rI7mqO.js} +90 -75
- package/dist/browser/checkout/{CryptoFiatProvider-b0KhVg3Y.js → CryptoFiatProvider-GIG1QRoo.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-CF9lzi6c.js → EllipsizedText-DbCAqh7Y.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-BGnZxcX5.js → FeesBreakdown-DJsus8QD.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-CESizLWk.js → HandoverContent-BgWR4m27.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-BrGpM6Vn.js → OnRampWidget-mDBP43Vd.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-iuigaIZp.js → SaleWidget-D9I4_Y1V.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-B3sb2Wt1.js → SpendingCapHero-aRrdLYqJ.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-CdXf4YYP.js → SwapWidget-fHXX-Hf-.js} +9 -9
- package/dist/browser/checkout/{TopUpView-Bg-huhcb.js → TopUpView-BLRvkTp5.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-DW6Uw6rT.js → WalletApproveHero-D7vrJyr0.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-ChYjXfAy.js → WalletWidget-DiNzzHMW.js} +4 -4
- package/dist/browser/checkout/{auto-track-CgS-wbin.js → auto-track-DK4gsk5m.js} +1 -1
- package/dist/browser/checkout/{index-DoYS_inI.js → index-BQ0p7X6B.js} +1 -1
- package/dist/browser/checkout/{index-qYOj-RwR.js → index-BbANArQU.js} +1 -1
- package/dist/browser/checkout/{index-BqJ9Usxu.js → index-Cbyd34U6.js} +1 -1
- package/dist/browser/checkout/{index-LCMExv1j.js → index-CkkTi5Rn.js} +1 -1
- package/dist/browser/checkout/{index-CshBDuS0.js → index-Ct1L-gy-.js} +1 -1
- package/dist/browser/checkout/{index-BjLYItcm.js → index-D1QHaKvq.js} +26 -26
- package/dist/browser/checkout/{index-C4anNRY5.js → index-DHBxX6fE.js} +2 -2
- package/dist/browser/checkout/{index-D6TVOnc2.js → index-DNtUrKbu.js} +1 -1
- package/dist/browser/checkout/{index-bNCjF_qE.js → index-N6bH7obe.js} +1 -1
- package/dist/browser/checkout/{index.umd-CL6Tp5Ej.js → index.umd-CM-rtgTq.js} +1 -1
- package/dist/browser/checkout/{retry-GJcGp5Sw.js → retry-ByGtTHBD.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-BfG2xnz-.js → useInterval-y1UbVfF8.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +112 -75
- package/dist/{checkout-Cs8dXzsO.js → checkout-BFPBookq.js} +5 -5
- package/dist/checkout.d.ts +2 -0
- package/dist/checkout.js +5 -5
- package/dist/{config-COmcON31.js → config-V18XBR3x.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-BDcnlE-I.js → index-Bp8cN2wo.js} +1 -1
- package/dist/{index-CPZC_4-h.js → index-C80azzXH.js} +1 -1
- package/dist/{index-27OfHl8u.js → index-CP3zHUjx.js} +1 -1
- package/dist/{index-B1oIamSp.js → index-CTcEmIj1.js} +4 -4
- package/dist/{index-CinJtsQi.js → index-ChXdl1w-.js} +3 -3
- package/dist/{index-8JzLLOmv.js → index-gXJeNIGk.js} +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.cjs +7 -7
- package/dist/index.d.ts +2 -0
- package/dist/index.js +14 -14
- package/dist/{minting_backend-CkmXVZ0p.js → minting_backend-BRZXKNZH.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-Bi2t8guV.js → orderbook-DV4Fw1tL.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-B9TINukj.js → passport-DDebGWwi.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-D45ZPknC.js → webhook-B4jwsgjm.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-C1LIWzQf.js → x-DmIbrceD.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-ChXdl1w-.js';
|
|
2
|
+
import { i as index } from './index-C80azzXH.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-ChXdl1w-.js';
|
|
2
|
+
export { i as Types } from './index-C80azzXH.js';
|
|
3
|
+
import './index-Bp8cN2wo.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'lru-memorise';
|
|
6
6
|
import 'global-const';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _objectWithoutProperties,
|
|
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 './retry-
|
|
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, A as merge$2, D as useResizeObserver, p as jsxs, o as jsx, F as SmartClone, G as Box, H as isChildSubcomponent, J as flattenChildren, K as Body, M as useTheme$1, N as Icon, Q as ButtCon, R as Button, T as _defineProperty, U as isDualVariantIcon, X as _slicedToArray, Y as isNumberWithinTotal, Z as getStartingSize, $ as BaseClickable, a0 as ClassNames, a1 as _toConsumableArray, a2 as isError, a3 as Badge, a4 as FramedIcon, a5 as FramedImage, a6 as FramedLogo, a7 as Stack, a8 as hFlex, a9 as usePrevious, aa as useBrowserEffect, ab as getHeadingTextStyles, ac as vFlex, ad as centerFlexChildren, ae as FormControlLabel, af as FormControlValidation, ag as FormControlCaption, I as IMTBLWidgetEvents, ah 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 motion, ar as listItemVariants, as as Divider, at as Fragment, au as listVariants, 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 ChangedYourMindDrawer, aE as WalletProviderRdns, aF as getProviderSlugFromRdns, aG as Web3Provider, aH as connectEIP6963Provider, aI as identifyUser, aJ as ConnectEIP6963ProviderError, aK as ProvidersContextActions, aL as ViewContext, V as ViewActions, m as SharedViews, j as ChainId, aM as commonjsRequire, aN as getRemoteImage, aO as useHandover, aP as HandoverTarget, aQ as EventTargetContext, aR as getRemoteRive, aS as Trans, aT as Link, aU as useInjectedProviders, aV as getDefaultTokenImage, aW as OverflowDrawerMenu, aX as SimpleLayout, aY as TokenFilterTypes, h as getL2ChainId, aZ as isNativeToken, a_ as getTokenImageByAddress, a$ as orchestrationEvents, b0 as requireSecp256k1$1, b1 as requireLib_commonjs, b2 as require$$0$2, b3 as bech32$2, b4 as bnExports$1, b5 as require$$0$3, b6 as getAugmentedNamespace, b7 as require$$0$4, b8 as minimalisticAssert, b9 as require$$2, ba as hash$6, bb as MaxUint256, bc as merge$3, bd as SvgIcon, be as WalletWarningHero, bf as Environment, bg as t, bh as PriceDisplay, L as LoadingView, bi as viewReducer, bj as initialViewState, bk as isValidAddress, bl as amountInputValidation, bm as CloudImage, E as ErrorView, bn as ServiceUnavailableErrorView, bo as ServiceType } from './index-D1QHaKvq.js';
|
|
2
|
+
import { f as formatUnits, p as parseUnits } from './index-Ct1L-gy-.js';
|
|
3
|
+
import { E as EllipsizedText, C as Contract } from './EllipsizedText-DbCAqh7Y.js';
|
|
4
|
+
import { r as retry, T as TokenImage } from './retry-ByGtTHBD.js';
|
|
5
|
+
import { H as HandoverContent } from './HandoverContent-BgWR4m27.js';
|
|
6
|
+
import { F as FeesBreakdown } from './FeesBreakdown-DJsus8QD.js';
|
|
7
7
|
|
|
8
8
|
var bannerSx = {
|
|
9
9
|
d: "flex",
|
|
@@ -2694,7 +2694,7 @@ function EOAWarningDrawer({ visible, onProceedClick, onCloseDrawer, }) {
|
|
|
2694
2694
|
}
|
|
2695
2695
|
|
|
2696
2696
|
function ConnectWalletDrawer({ heading, visible, onClose, onConnect, onError, providerType, walletOptions, bottomSlot, menuItemSize = 'small', disabledOptions = [], getShouldRequestWalletPermissions, }) {
|
|
2697
|
-
const { providersState: { checkout }, providersDispatch, } = useProvidersContext();
|
|
2697
|
+
const { providersState: { checkout, fromProvider }, providersDispatch, } = useProvidersContext();
|
|
2698
2698
|
const { identify, track } = useAnalytics();
|
|
2699
2699
|
const prevWalletChangeEvent = reactExports.useRef();
|
|
2700
2700
|
const [showUnableToConnectDrawer, setShowUnableToConnectDrawer] = reactExports.useState(false);
|
|
@@ -2739,13 +2739,14 @@ function ConnectWalletDrawer({ heading, visible, onClose, onConnect, onError, pr
|
|
|
2739
2739
|
walletRdns: info.rdns,
|
|
2740
2740
|
},
|
|
2741
2741
|
});
|
|
2742
|
-
// Proceed to disconnect current provider if Passport
|
|
2743
2742
|
if (info.rdns === WalletProviderRdns.PASSPORT) {
|
|
2744
2743
|
const { isConnected } = await checkout.checkIsWalletConnected({
|
|
2745
2744
|
provider: new Web3Provider(providerDetail.provider),
|
|
2746
2745
|
});
|
|
2747
2746
|
if (isConnected) {
|
|
2748
|
-
|
|
2747
|
+
if (providerType === 'from' || (providerType === 'to' && !isPassportProvider(fromProvider))) {
|
|
2748
|
+
await checkout.passport?.logout();
|
|
2749
|
+
}
|
|
2749
2750
|
}
|
|
2750
2751
|
}
|
|
2751
2752
|
let address;
|
|
@@ -2831,7 +2832,7 @@ function DeliverToWalletDrawer({ visible, onClose, onConnect, walletOptions, })
|
|
|
2831
2832
|
});
|
|
2832
2833
|
}
|
|
2833
2834
|
};
|
|
2834
|
-
//
|
|
2835
|
+
// Because wallets extensions don't support multiple wallet connections
|
|
2835
2836
|
// UX decides to have the user use the same wallet type they selected to pay with
|
|
2836
2837
|
// ie: Metamask to Metamsk, will send to same wallet address
|
|
2837
2838
|
const selectedSameFromWalletType = (providerInfo) => (fromProviderInfo?.rdns !== providerInfo.rdns ? undefined : false);
|
|
@@ -5932,6 +5933,7 @@ function AddTokens({ checkout, toAmount, config, toTokenAddress, showOnrampOptio
|
|
|
5932
5933
|
const { track, page } = useAnalytics();
|
|
5933
5934
|
const { t } = useTranslation();
|
|
5934
5935
|
const { eventTargetState: { eventTarget }, } = reactExports.useContext(EventTargetContext);
|
|
5936
|
+
const [payWithCardClicked, setPayWithCardClicked] = reactExports.useState(false);
|
|
5935
5937
|
const [showOptionsDrawer, setShowOptionsDrawer] = reactExports.useState(false);
|
|
5936
5938
|
const [showPayWithDrawer, setShowPayWithDrawer] = reactExports.useState(false);
|
|
5937
5939
|
const [showDeliverToDrawer, setShowDeliverToDrawer] = reactExports.useState(false);
|
|
@@ -6007,7 +6009,7 @@ function AddTokens({ checkout, toAmount, config, toTokenAddress, showOnrampOptio
|
|
|
6007
6009
|
setInputValue(value);
|
|
6008
6010
|
setSelectedAmount(value);
|
|
6009
6011
|
};
|
|
6010
|
-
const { providersState: { fromProviderInfo, toProviderInfo, fromAddress, toAddress, lockedToProvider, }, } = useProvidersContext();
|
|
6012
|
+
const { providersState: { fromProviderInfo, toProviderInfo, toProvider, fromAddress, toAddress, lockedToProvider, }, } = useProvidersContext();
|
|
6011
6013
|
const { providers } = useInjectedProviders({ checkout });
|
|
6012
6014
|
const walletOptions = reactExports.useMemo(() => providers
|
|
6013
6015
|
// TODO: Check if must filter passport on L1
|
|
@@ -6133,7 +6135,7 @@ function AddTokens({ checkout, toAmount, config, toTokenAddress, showOnrampOptio
|
|
|
6133
6135
|
const handleTokenChange = reactExports.useCallback((token) => {
|
|
6134
6136
|
setSelectedToken(token);
|
|
6135
6137
|
}, []);
|
|
6136
|
-
const
|
|
6138
|
+
const sendRequestOnRampEvent = () => {
|
|
6137
6139
|
track({
|
|
6138
6140
|
userJourney: UserJourney.ADD_TOKENS,
|
|
6139
6141
|
screen: 'InputScreen',
|
|
@@ -6148,15 +6150,35 @@ function AddTokens({ checkout, toAmount, config, toTokenAddress, showOnrampOptio
|
|
|
6148
6150
|
tokenAddress: selectedToken?.address ?? '',
|
|
6149
6151
|
amount: selectedAmount ?? '',
|
|
6150
6152
|
showBackButton: true,
|
|
6153
|
+
provider: toProvider,
|
|
6151
6154
|
};
|
|
6152
6155
|
orchestrationEvents.sendRequestOnrampEvent(eventTarget, IMTBLWidgetEvents.IMTBL_ADD_TOKENS_WIDGET_EVENT, data);
|
|
6153
6156
|
};
|
|
6157
|
+
const handleCardClick = () => {
|
|
6158
|
+
setPayWithCardClicked(true);
|
|
6159
|
+
if (!toProvider) {
|
|
6160
|
+
setShowDeliverToDrawer(true);
|
|
6161
|
+
return;
|
|
6162
|
+
}
|
|
6163
|
+
sendRequestOnRampEvent();
|
|
6164
|
+
};
|
|
6165
|
+
reactExports.useEffect(() => {
|
|
6166
|
+
if (toProvider && payWithCardClicked) {
|
|
6167
|
+
sendRequestOnRampEvent();
|
|
6168
|
+
}
|
|
6169
|
+
}, [toProvider]);
|
|
6154
6170
|
const handleRouteClick = (route) => {
|
|
6155
6171
|
setShowOptionsDrawer(false);
|
|
6156
6172
|
setShowPayWithDrawer(false);
|
|
6157
6173
|
setShowDeliverToDrawer(false);
|
|
6158
6174
|
setSelectedRouteData(route);
|
|
6159
6175
|
};
|
|
6176
|
+
const handleDeliverToClose = (connectedToAddress) => {
|
|
6177
|
+
if (!connectedToAddress) {
|
|
6178
|
+
setPayWithCardClicked(false);
|
|
6179
|
+
}
|
|
6180
|
+
setShowDeliverToDrawer(false);
|
|
6181
|
+
};
|
|
6160
6182
|
const handleReviewClick = () => {
|
|
6161
6183
|
if (!selectedRouteData || !selectedToken?.address)
|
|
6162
6184
|
return;
|
|
@@ -6267,7 +6289,7 @@ function AddTokens({ checkout, toAmount, config, toTokenAddress, showOnrampOptio
|
|
|
6267
6289
|
} }) }), jsx(SelectedWallet, { label: "Deliver to", providerInfo: {
|
|
6268
6290
|
...toProviderInfo,
|
|
6269
6291
|
address: toAddress,
|
|
6270
|
-
}, onClick: () => setShowDeliverToDrawer(true), disabled: lockedToProvider })] }), jsx(Button, { testId: "add-tokens-button", size: "large", variant: readyToReview ? 'primary' : 'secondary', disabled: !readyToReview, onClick: handleReviewClick, sx: { opacity: readyToReview ? 1 : 0.5 }, children: "Review" }), jsx(SquidFooter, {}), jsx(PayWithWalletDrawer, { visible: showPayWithDrawer, walletOptions: walletOptions, onClose: () => setShowPayWithDrawer(false), onPayWithCard: handleCardClick, onConnect: handleWalletConnected, insufficientBalance: insufficientBalance, showOnRampOption: shouldShowOnRampOption }), jsx(OptionsDrawer, { checkout: checkout, routes: routes, showOnrampOption: shouldShowOnRampOption, showSwapOption: showSwapOption, showBridgeOption: showBridgeOption, visible: showOptionsDrawer, onClose: () => setShowOptionsDrawer(false), onCardClick: handleCardClick, onRouteClick: handleRouteClick, insufficientBalance: insufficientBalance }), jsx(DeliverToWalletDrawer, { visible: showDeliverToDrawer, walletOptions: walletOptions, onClose:
|
|
6292
|
+
}, onClick: () => setShowDeliverToDrawer(true), disabled: lockedToProvider })] }), jsx(Button, { testId: "add-tokens-button", size: "large", variant: readyToReview ? 'primary' : 'secondary', disabled: !readyToReview, onClick: handleReviewClick, sx: { opacity: readyToReview ? 1 : 0.5 }, children: "Review" }), jsx(SquidFooter, {}), jsx(PayWithWalletDrawer, { visible: showPayWithDrawer, walletOptions: walletOptions, onClose: () => setShowPayWithDrawer(false), onPayWithCard: handleCardClick, onConnect: handleWalletConnected, insufficientBalance: insufficientBalance, showOnRampOption: shouldShowOnRampOption }), jsx(OptionsDrawer, { checkout: checkout, routes: routes, showOnrampOption: shouldShowOnRampOption, showSwapOption: showSwapOption, showBridgeOption: showBridgeOption, visible: showOptionsDrawer, onClose: () => setShowOptionsDrawer(false), onCardClick: handleCardClick, onRouteClick: handleRouteClick, insufficientBalance: insufficientBalance }), jsx(DeliverToWalletDrawer, { visible: showDeliverToDrawer, walletOptions: walletOptions, onClose: handleDeliverToClose }), jsx(OnboardingDrawer, { environment: checkout?.config.environment })] })] }) }));
|
|
6271
6293
|
}
|
|
6272
6294
|
|
|
6273
6295
|
var dist$2 = {};
|
|
@@ -173503,7 +173525,7 @@ function RouteFees({ visible, onClose, routeData, totalAmount, totalFiatAmount,
|
|
|
173503
173525
|
const feeCosts = reactExports.useMemo(() => routeData?.route.estimate.feeCosts.map((fee) => ({
|
|
173504
173526
|
label: fee.name,
|
|
173505
173527
|
amount: getFormattedNumber(fee.amount, fee.token.decimals),
|
|
173506
|
-
fiatAmount: `${t('views.ADD_TOKENS.fees.fiatPricePrefix')}${getFormattedAmounts(fee.amountUsd)}`,
|
|
173528
|
+
fiatAmount: `${t('views.ADD_TOKENS.fees.fiatPricePrefix')} ${getFormattedAmounts(fee.amountUsd)}`,
|
|
173507
173529
|
token: {
|
|
173508
173530
|
name: fee.token.name,
|
|
173509
173531
|
symbol: fee.token.symbol,
|
|
@@ -173516,7 +173538,7 @@ function RouteFees({ visible, onClose, routeData, totalAmount, totalFiatAmount,
|
|
|
173516
173538
|
const gasCosts = reactExports.useMemo(() => routeData?.route.estimate.gasCosts.map((fee) => ({
|
|
173517
173539
|
label: 'Gas (transaction)',
|
|
173518
173540
|
amount: getFormattedNumber(fee.amount, fee.token.decimals),
|
|
173519
|
-
fiatAmount: `${t('views.ADD_TOKENS.fees.fiatPricePrefix')}${getFormattedAmounts(fee.amountUsd)}`,
|
|
173541
|
+
fiatAmount: `${t('views.ADD_TOKENS.fees.fiatPricePrefix')} ${getFormattedAmounts(fee.amountUsd)}`,
|
|
173520
173542
|
token: {
|
|
173521
173543
|
name: fee.token.name,
|
|
173522
173544
|
symbol: fee.token.symbol,
|
|
@@ -173752,7 +173774,7 @@ function Review({ data, showBackButton = false, onBackButtonClick, onCloseButton
|
|
|
173752
173774
|
top: '-26px',
|
|
173753
173775
|
h: 'base.spacing.x10',
|
|
173754
173776
|
},
|
|
173755
|
-
} }), jsxs(Stack, { direction: "row", sx: { py: 'base.spacing.x5', px: 'base.spacing.x7' }, gap: "base.spacing.x6", alignItems: "center", children: [jsxs(Sticker, { position: { x: 'right', y: 'bottom' }, children: [jsx(FramedImage, { use: (jsx("img", { src:
|
|
173777
|
+
} }), jsxs(Stack, { direction: "row", sx: { py: 'base.spacing.x5', px: 'base.spacing.x7' }, gap: "base.spacing.x6", alignItems: "center", children: [jsxs(Sticker, { position: { x: 'right', y: 'bottom' }, children: [jsx(FramedImage, { use: (jsx("img", { src: route.route.estimate.toToken.logoURI, alt: route.route.estimate.toToken.name })), circularFrame: true, size: "large" }), jsx(Sticker.FramedImage, { use: jsx("img", { src: toChain?.iconUrl, alt: toChain?.name }), emphasized: true, sx: {
|
|
173756
173778
|
bottom: 'base.spacing.x2',
|
|
173757
173779
|
right: 'base.spacing.x2',
|
|
173758
173780
|
} })] }), jsxs(Stack, { sx: { flex: 1 }, gap: "0px", children: [jsxs(Body, { weight: "bold", children: ["Receive", ' ', route?.route.estimate.toToken.name] }), jsxs(Body, { size: "small", sx: { c: 'base.color.text.body.secondary' }, children: [toChain?.name, jsx(EllipsizedText, { text: toAddress ?? '', sx: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-
|
|
3
|
-
import { T as TokenImage, r as retry } from './retry-
|
|
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 { c0 as axios, c1 as CheckoutErrorType, c2 as IMMUTABLE_API_BASE_URL, r as reactExports, I as IMTBLWidgetEvents, B as BridgeEventType, p as jsxs, o as jsx, c3 as ShimmerBox, ak as MenuItem, a7 as Stack, u as useTranslation, K as Body, R as Button, G as Box, c4 as PASSPORT_URL, aT as Link, c5 as getChainIdBySlug, c6 as getChainImage, c7 as networkName, a5 as FramedImage, N as Icon, ax as useAnalytics, ay as UserJourney, as as Divider, aL as ViewContext, at as Fragment, V as ViewActions, c8 as useWalletConnect, c9 as isWalletConnectProvider, ca as Logo, cb as RawImage, cc as AXELAR_SCAN_URL, aZ as isNativeToken, a_ as getTokenImageByAddress, cd as getNativeSymbolByChainSlug, by as calculateCryptoToFiat, aQ as EventTargetContext, az as isPassportProvider, i as getL1ChainId, aY as TokenFilterTypes, h as getL2ChainId, aE as WalletProviderRdns, aG as Web3Provider, aU as useInjectedProviders, bF as HeaderNavigation, bI as FooterLogo, aB as WalletDrawer, aX as SimpleLayout, ce as getChainSlugById, cf as JsonRpcProvider, cg as DEFAULT_TRANSACTIONS_RETRY_POLICY, L as LoadingView, j as ChainId, ch as getChainNameById, w as useTheme, aA as Heading, ci as getWalletProviderNameByProvider, cj as isAddressSanctioned, m as SharedViews, ck as isMetaMaskProvider, cl as WalletProviderName, aw as Drawer, Q as ButtCon, cm as ButtonNavigationStyles, a$ as orchestrationEvents, al as tokenValueFormat, cn as formatZeroAmount, co as NATIVE, bl as amountInputValidation, aN as getRemoteImage, bm as CloudImage, cp as ETH_TOKEN_SYMBOL, an as BigNumber, bf as Environment, cq as GasEstimateType, cr as DEFAULT_TOKEN_DECIMALS, cs as DEFAULT_QUOTE_REFRESH_INTERVAL, ct as addChainChangedListener, cu as removeChainChangedListener, cv as IMX_TOKEN_SYMBOL, cw as dist, cx as CHECKOUT_CDN_BASE_URL, cy as heroBackGroundStyles, cz as heroImageStyles, a3 as Badge, cA as SimpleTextBody, cB as FooterButton, cC as getEthTokenImage, cD as WITHDRAWAL_CLAIM_GAS_LIMIT, aV as getDefaultTokenImage, bi as viewReducer, bj as initialViewState, cE as BridgeConfiguration, cF as ImmutableConfiguration, cG as TokenBridge, cH as StatusView, bJ as StatusType, E as ErrorView, bn as ServiceUnavailableErrorView, bo as ServiceType, cI as ETH_SEPOLIA_TO_ZKEVM_TESTNET, cJ as ETH_SEPOLIA_TO_ZKEVM_DEVNET, cK as ETH_MAINNET_TO_ZKEVM_MAINNET } from './index-D1QHaKvq.js';
|
|
2
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-GIG1QRoo.js';
|
|
3
|
+
import { T as TokenImage, r as retry } from './retry-ByGtTHBD.js';
|
|
4
|
+
import { E as EllipsizedText, C as Contract } from './EllipsizedText-DbCAqh7Y.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-D7vrJyr0.js';
|
|
6
|
+
import { B as BridgeWidgetViews, T as TopUpView } from './TopUpView-BLRvkTp5.js';
|
|
7
|
+
import { f as formatUnits, p as parseUnits } from './index-Ct1L-gy-.js';
|
|
8
|
+
import { u as useInterval } from './useInterval-y1UbVfF8.js';
|
|
9
|
+
import './FeesBreakdown-DJsus8QD.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,73 +1,20 @@
|
|
|
1
|
-
import {
|
|
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 './retry-
|
|
10
|
-
import './FeesBreakdown-
|
|
11
|
-
import './CryptoFiatProvider-
|
|
12
|
-
import './useInterval-
|
|
13
|
-
import './index-
|
|
14
|
-
import './TopUpView-
|
|
15
|
-
import './SpendingCapHero-
|
|
16
|
-
import './EllipsizedText-
|
|
17
|
-
import './HandoverContent-
|
|
18
|
-
|
|
19
|
-
const initialCommerceState = {
|
|
20
|
-
checkout: undefined,
|
|
21
|
-
provider: undefined,
|
|
22
|
-
passport: undefined,
|
|
23
|
-
};
|
|
24
|
-
var CommerceActions;
|
|
25
|
-
(function (CommerceActions) {
|
|
26
|
-
CommerceActions["SET_CHECKOUT"] = "SET_CHECKOUT";
|
|
27
|
-
CommerceActions["SET_PROVIDER"] = "SET_PROVIDER";
|
|
28
|
-
CommerceActions["SET_PASSPORT"] = "SET_PASSPORT";
|
|
29
|
-
})(CommerceActions || (CommerceActions = {}));
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
31
|
-
const CommerceContext = reactExports.createContext({
|
|
32
|
-
commerceState: initialCommerceState,
|
|
33
|
-
commerceDispatch: () => { },
|
|
34
|
-
});
|
|
35
|
-
CommerceContext.displayName = 'CommerceContext'; // help with debugging Context in browser
|
|
36
|
-
const commerceReducer = (state, action) => {
|
|
37
|
-
switch (action.payload.type) {
|
|
38
|
-
case CommerceActions.SET_CHECKOUT:
|
|
39
|
-
return {
|
|
40
|
-
...state,
|
|
41
|
-
checkout: action.payload.checkout,
|
|
42
|
-
};
|
|
43
|
-
case CommerceActions.SET_PROVIDER:
|
|
44
|
-
return {
|
|
45
|
-
...state,
|
|
46
|
-
provider: action.payload.provider,
|
|
47
|
-
};
|
|
48
|
-
case CommerceActions.SET_PASSPORT:
|
|
49
|
-
return {
|
|
50
|
-
...state,
|
|
51
|
-
passport: action.payload.passport,
|
|
52
|
-
};
|
|
53
|
-
default:
|
|
54
|
-
return state;
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
const useCommerceWidgetState = () => {
|
|
59
|
-
const [viewState, viewDispatch] = reactExports.useReducer(commerceReducer, initialCommerceState);
|
|
60
|
-
return [viewState, viewDispatch];
|
|
61
|
-
};
|
|
62
|
-
function CommerceWidgetContextProvicer({ children, }) {
|
|
63
|
-
const [{ checkout, provider }] = useConnectLoaderState();
|
|
64
|
-
const [commerceState, commerceDispatch] = useCommerceWidgetState();
|
|
65
|
-
const values = reactExports.useMemo(() => ({
|
|
66
|
-
commerceState: { ...commerceState, checkout, provider },
|
|
67
|
-
commerceDispatch,
|
|
68
|
-
}), [commerceState, commerceDispatch, checkout, provider]);
|
|
69
|
-
return (jsx(CommerceContext.Provider, { value: values, children: children }));
|
|
70
|
-
}
|
|
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, 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-D1QHaKvq.js';
|
|
2
|
+
import SwapWidget from './SwapWidget-fHXX-Hf-.js';
|
|
3
|
+
import BridgeWidget from './BridgeWidget-BD2arVjv.js';
|
|
4
|
+
import { O as OnRampWidget } from './OnRampWidget-mDBP43Vd.js';
|
|
5
|
+
import WalletWidget from './WalletWidget-DiNzzHMW.js';
|
|
6
|
+
import SaleWidget from './SaleWidget-D9I4_Y1V.js';
|
|
7
|
+
import AddTokensWidget from './AddTokensWidget-CzLj_kbJ.js';
|
|
8
|
+
import './WalletApproveHero-D7vrJyr0.js';
|
|
9
|
+
import './retry-ByGtTHBD.js';
|
|
10
|
+
import './FeesBreakdown-DJsus8QD.js';
|
|
11
|
+
import './CryptoFiatProvider-GIG1QRoo.js';
|
|
12
|
+
import './useInterval-y1UbVfF8.js';
|
|
13
|
+
import './index-Ct1L-gy-.js';
|
|
14
|
+
import './TopUpView-BLRvkTp5.js';
|
|
15
|
+
import './SpendingCapHero-aRrdLYqJ.js';
|
|
16
|
+
import './EllipsizedText-DbCAqh7Y.js';
|
|
17
|
+
import './HandoverContent-BgWR4m27.js';
|
|
71
18
|
|
|
72
19
|
const sendCheckoutEvent = (eventTarget, detail) => {
|
|
73
20
|
const event = new CustomEvent(IMTBLWidgetEvents.IMTBL_COMMERCE_WIDGET_EVENT, { detail });
|
|
@@ -425,7 +372,7 @@ const widgetEvents = [
|
|
|
425
372
|
/**
|
|
426
373
|
* Subscribe and Handle widget events
|
|
427
374
|
*/
|
|
428
|
-
function useWidgetEvents(eventTarget, viewState) {
|
|
375
|
+
function useWidgetEvents(eventTarget, viewState, handleProviderUpdated) {
|
|
429
376
|
const [{ history }, viewDispatch] = viewState;
|
|
430
377
|
/**
|
|
431
378
|
* Change view as per orchestration event requests
|
|
@@ -441,6 +388,12 @@ function useWidgetEvents(eventTarget, viewState) {
|
|
|
441
388
|
});
|
|
442
389
|
return;
|
|
443
390
|
}
|
|
391
|
+
if (type === OrchestrationEventType.REQUEST_ONRAMP) {
|
|
392
|
+
const onRampEvent = data;
|
|
393
|
+
if (onRampEvent.provider) {
|
|
394
|
+
handleProviderUpdated(onRampEvent.provider);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
444
397
|
const flow = getViewFromOrchestrationEventType(type);
|
|
445
398
|
if (!flow)
|
|
446
399
|
return;
|
|
@@ -527,13 +480,56 @@ function getConnectLoaderParams(view, checkout, web3Provider) {
|
|
|
527
480
|
}
|
|
528
481
|
}
|
|
529
482
|
|
|
483
|
+
const initialCommerceState = {
|
|
484
|
+
checkout: undefined,
|
|
485
|
+
provider: undefined,
|
|
486
|
+
passport: undefined,
|
|
487
|
+
};
|
|
488
|
+
var CommerceActions;
|
|
489
|
+
(function (CommerceActions) {
|
|
490
|
+
CommerceActions["SET_CHECKOUT"] = "SET_CHECKOUT";
|
|
491
|
+
CommerceActions["SET_PROVIDER"] = "SET_PROVIDER";
|
|
492
|
+
CommerceActions["SET_PASSPORT"] = "SET_PASSPORT";
|
|
493
|
+
})(CommerceActions || (CommerceActions = {}));
|
|
494
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
495
|
+
const CommerceContext = reactExports.createContext({
|
|
496
|
+
commerceState: initialCommerceState,
|
|
497
|
+
commerceDispatch: () => { },
|
|
498
|
+
});
|
|
499
|
+
CommerceContext.displayName = 'CommerceContext'; // help with debugging Context in browser
|
|
500
|
+
const commerceReducer = (state, action) => {
|
|
501
|
+
switch (action.payload.type) {
|
|
502
|
+
case CommerceActions.SET_CHECKOUT:
|
|
503
|
+
return {
|
|
504
|
+
...state,
|
|
505
|
+
checkout: action.payload.checkout,
|
|
506
|
+
};
|
|
507
|
+
case CommerceActions.SET_PROVIDER:
|
|
508
|
+
return {
|
|
509
|
+
...state,
|
|
510
|
+
provider: action.payload.provider,
|
|
511
|
+
};
|
|
512
|
+
case CommerceActions.SET_PASSPORT:
|
|
513
|
+
return {
|
|
514
|
+
...state,
|
|
515
|
+
passport: action.payload.passport,
|
|
516
|
+
};
|
|
517
|
+
default:
|
|
518
|
+
return state;
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
|
|
530
522
|
function CommerceWidget(props) {
|
|
531
523
|
const { flowParams, flowConfig, widgetsConfig, checkout, web3Provider, } = props;
|
|
532
524
|
const { t } = useTranslation();
|
|
533
525
|
const viewState = useViewState();
|
|
534
526
|
const [{ view, history }, viewDispatch] = viewState;
|
|
535
527
|
const [{ eventTarget }] = useEventTargetState();
|
|
536
|
-
const
|
|
528
|
+
const [commerceState, commerceDispatch] = reactExports.useReducer(commerceReducer, initialCommerceState);
|
|
529
|
+
const commerceReducerValues = reactExports.useMemo(() => ({ commerceState, commerceDispatch }), [commerceState, commerceDispatch]);
|
|
530
|
+
const { provider } = commerceState;
|
|
531
|
+
const connectLoaderParams = reactExports.useMemo(() => getConnectLoaderParams(view, checkout, provider || web3Provider), [view, checkout, provider, web3Provider]);
|
|
532
|
+
const connectLoaderSuccessEvent = flowParams.flow === CommerceFlowType.ADD_TOKENS ? () => { } : undefined;
|
|
537
533
|
const goToPreviousView = reactExports.useCallback(() => {
|
|
538
534
|
const sharedViews = [
|
|
539
535
|
SharedViews.LOADING_VIEW,
|
|
@@ -555,10 +551,29 @@ function CommerceWidget(props) {
|
|
|
555
551
|
});
|
|
556
552
|
}
|
|
557
553
|
}, [history]);
|
|
554
|
+
const handleProviderUpdated = reactExports.useMemo(() => (updatedProvider) => {
|
|
555
|
+
commerceDispatch({
|
|
556
|
+
payload: {
|
|
557
|
+
type: CommerceActions.SET_PROVIDER,
|
|
558
|
+
provider: updatedProvider,
|
|
559
|
+
},
|
|
560
|
+
});
|
|
561
|
+
}, [commerceDispatch]);
|
|
558
562
|
/**
|
|
559
563
|
* Subscribe and Handle widget events
|
|
560
564
|
*/
|
|
561
|
-
useWidgetEvents(eventTarget, viewState);
|
|
565
|
+
useWidgetEvents(eventTarget, viewState, handleProviderUpdated);
|
|
566
|
+
reactExports.useEffect(() => {
|
|
567
|
+
if (!web3Provider) {
|
|
568
|
+
return;
|
|
569
|
+
}
|
|
570
|
+
commerceDispatch({
|
|
571
|
+
payload: {
|
|
572
|
+
type: CommerceActions.SET_PROVIDER,
|
|
573
|
+
provider: web3Provider,
|
|
574
|
+
},
|
|
575
|
+
});
|
|
576
|
+
}, [commerceDispatch, web3Provider]);
|
|
562
577
|
/**
|
|
563
578
|
* Mount the view according to set flow in params
|
|
564
579
|
*/
|
|
@@ -610,7 +625,7 @@ function CommerceWidget(props) {
|
|
|
610
625
|
* Show back button
|
|
611
626
|
*/
|
|
612
627
|
const showBackButton = !!view.data?.showBackButton;
|
|
613
|
-
return (jsx(ViewContextProvider, { children: jsxs(
|
|
628
|
+
return (jsx(ViewContextProvider, { children: jsxs(CommerceContext.Provider, { value: commerceReducerValues, children: [view.type === SharedViews.LOADING_VIEW && (jsx(LoadingView, { loadingText: t('views.LOADING_VIEW.text') })), view.type === SharedViews.ERROR_VIEW && (jsx(ErrorView, { onCloseClick: () => {
|
|
614
629
|
sendCheckoutEvent(eventTarget, {
|
|
615
630
|
type: CommerceEventType.CLOSE,
|
|
616
631
|
data: {},
|
|
@@ -622,7 +637,7 @@ function CommerceWidget(props) {
|
|
|
622
637
|
type: CommerceEventType.CLOSE,
|
|
623
638
|
data: {},
|
|
624
639
|
});
|
|
625
|
-
}, ...(view.data.params || {}) })), view.type === CommerceFlowType.BRIDGE && (jsx(BridgeWidget, { config: widgetsConfig, checkout: checkout, web3Provider: web3Provider, showBackButton: showBackButton, ...(view.data.params || {}) })), shouldWrapWithProvidersContext && (jsx(ProvidersContextProvider, { initialState: { checkout }, children: view.type === CommerceFlowType.ADD_TOKENS && (jsx(AddTokensWidget, { config: widgetsConfig, ...(view.data.params || {}), ...(view.data.config || {}), showBackButton: showBackButton })) })), shouldWrapWithConnectLoader && (jsx(ConnectLoader, { widgetConfig: widgetsConfig, params: connectLoaderParams, closeEvent: () => {
|
|
640
|
+
}, ...(view.data.params || {}) })), view.type === CommerceFlowType.BRIDGE && (jsx(BridgeWidget, { config: widgetsConfig, checkout: checkout, web3Provider: web3Provider, showBackButton: showBackButton, ...(view.data.params || {}) })), shouldWrapWithProvidersContext && (jsx(ProvidersContextProvider, { initialState: { checkout }, children: view.type === CommerceFlowType.ADD_TOKENS && (jsx(AddTokensWidget, { config: widgetsConfig, ...(view.data.params || {}), ...(view.data.config || {}), showBackButton: showBackButton })) })), shouldWrapWithConnectLoader && (jsx(ConnectLoader, { widgetConfig: widgetsConfig, params: connectLoaderParams, successEvent: connectLoaderSuccessEvent, closeEvent: () => {
|
|
626
641
|
sendCheckoutEvent(eventTarget, {
|
|
627
642
|
type: CommerceEventType.CLOSE,
|
|
628
643
|
data: {},
|
package/dist/browser/checkout/{CryptoFiatProvider-b0KhVg3Y.js → CryptoFiatProvider-GIG1QRoo.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bf as Environment, c0 as axios, r as reactExports, o as jsx } from './index-D1QHaKvq.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Class representing the configuration for the CryptoFiatModule.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cL as defineReadOnly, cM as getStatic, cN as Signer, cO as Provider, cP as getAddress, cQ as Logger, cR as getContractAddress, cS as Interface, cT as shallowCopy, cU as VoidSigner, cV as Indexed, cW as deepCopy, cX as isHexString, cY as checkResultErrors, cZ as resolveProperties, an as BigNumber, c_ as accessListify, c$ as arrayify, o as jsx, _ as _objectWithoutProperties, bv as cloneElementWithCssProp, K as Body, T as _defineProperty } from './index-D1QHaKvq.js';
|
|
2
2
|
|
|
3
3
|
const version = "contracts/5.7.0";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as jsxs, o as jsx, K as Body, bh as PriceDisplay, G as Box, u as useTranslation, aw as Drawer, ak as MenuItem, at as Fragment, as as Divider, al as tokenValueFormat, cn as formatZeroAmount, bI as FooterLogo } from './index-D1QHaKvq.js';
|
|
2
2
|
|
|
3
3
|
const feesBreakdownContentStyles = {
|
|
4
4
|
display: 'flex',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as jsxs, G as Box, o as jsx, aA as Heading, K as Body, R as Button } from './index-D1QHaKvq.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 {
|
|
2
|
-
import { O as OnRampWidgetViews, T as TopUpView } from './TopUpView-
|
|
3
|
-
import { S as SpendingCapHero } from './SpendingCapHero-
|
|
1
|
+
import { d0 as global, ax as useAnalytics, r as reactExports, bU as ConnectLoaderContext, aQ as EventTargetContext, u as useTranslation, aL as ViewContext, m as SharedViews, d1 as ExchangeType, o as jsx, aX as SimpleLayout, bF as HeaderNavigation, d2 as sendOnRampWidgetCloseEvent, a$ as orchestrationEvents, I as IMTBLWidgetEvents, G as Box, ay as UserJourney, V as ViewActions, bI as FooterLogo, p as jsxs, cA as SimpleTextBody, bi as viewReducer, bj as initialViewState, co as NATIVE, L as LoadingView, d3 as sendOnRampSuccessEvent, bJ as StatusType, cH as StatusView, d4 as sendOnRampFailedEvent } from './index-D1QHaKvq.js';
|
|
2
|
+
import { O as OnRampWidgetViews, T as TopUpView } from './TopUpView-BLRvkTp5.js';
|
|
3
|
+
import { S as SpendingCapHero } from './SpendingCapHero-aRrdLYqJ.js';
|
|
4
4
|
|
|
5
5
|
function isNull(arg) {
|
|
6
6
|
return arg === null;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as _objectWithoutProperties,
|
|
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 './retry-
|
|
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, bp as MultiTextShimmer, T as _defineProperty, w as useTheme, r as reactExports, A as merge, bq as getCaptionTextStyles, br as DEFAULT_BODY_PROPS, bs as baseTextComponentSx, bt as useConvertSxToEmotionStyles, bu as useGetCurrentSizeClass, bv as cloneElementWithCssProp, bf as Environment, an as BigNumber, bw as compareStr, aL as ViewContext, V as ViewActions, bx as SalePaymentTypes, ay as UserJourney, u as useTranslation, by as calculateCryptoToFiat, ax as useAnalytics, aQ as EventTargetContext, bz as sendSaleWidgetCloseEvent, bA as sendSaleSuccessEvent, bB as sendSaleFailedEvent, bC as sendSaleTransactionSuccessEvent, bD as sendSalePaymentMethodEvent, bE as sendSalePaymentTokenEvent, bF as HeaderNavigation, p as jsxs, bG as LoadingOverlay, G as Box, at as Fragment, aX as SimpleLayout, aO as useHandover, aP as HandoverTarget, aR as getRemoteRive, aA as Heading, bH as HandoverDuration, az as isPassportProvider, ak as MenuItem, aq as motion, au as listVariants, ar as listItemVariants, m as SharedViews, bI as FooterLogo, bJ as StatusType, bK as prettyFormatNumber, al as tokenValueFormat, bL as ShimmerCircle, R as Button, a7 as Stack, bM as FundingStepType, bN as abbreviateWalletAddress, aw as Drawer, as as Divider, bO as tokenSymbolNameOverrides, bP as ItemType, bQ as TransactionOrGasType, bR as GasTokenType, bS as RoutingOutcomeType, aZ as isNativeToken, a_ as getTokenImageByAddress, bT as isGasFree, bU as ConnectLoaderContext, bV as eventTargetReducer, bW as initialEventTargetState, i as getL1ChainId, h as getL2ChainId, I as IMTBLWidgetEvents, bX as EventTargetActions, L as LoadingView, j as ChainId, bY as ConnectWidgetViews, q as ConnectWidget, S as SwapEventType, O as OnRampEventType, B as BridgeEventType, b as ConnectEventType, bZ as ConnectLoaderActions, Q as ButtCon, K as Body, b_ as widgetTheme, bi as viewReducer, bj as initialViewState, b$ as BlockExplorerService } from './index-D1QHaKvq.js';
|
|
2
|
+
import { C as Contract } from './EllipsizedText-DbCAqh7Y.js';
|
|
3
|
+
import { u as useTransakEvents, O as OnRampWidget } from './OnRampWidget-mDBP43Vd.js';
|
|
4
|
+
import { H as HandoverContent } from './HandoverContent-BgWR4m27.js';
|
|
5
|
+
import { C as CryptoFiatContext, a as CryptoFiatActions, b as CryptoFiatProvider } from './CryptoFiatProvider-GIG1QRoo.js';
|
|
6
|
+
import { u as useMount, T as TopUpView } from './TopUpView-BLRvkTp5.js';
|
|
7
|
+
import { T as TokenImage } from './retry-ByGtTHBD.js';
|
|
8
|
+
import { f as formatUnits } from './index-Ct1L-gy-.js';
|
|
9
|
+
import { F as Fees } from './WalletApproveHero-D7vrJyr0.js';
|
|
10
|
+
import BridgeWidget from './BridgeWidget-BD2arVjv.js';
|
|
11
|
+
import SwapWidget from './SwapWidget-fHXX-Hf-.js';
|
|
12
|
+
import './SpendingCapHero-aRrdLYqJ.js';
|
|
13
|
+
import './FeesBreakdown-DJsus8QD.js';
|
|
14
|
+
import './useInterval-y1UbVfF8.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 {
|
|
1
|
+
import { o as jsx, cy as heroBackGroundStyles, G as Box, cz as heroImageStyles, dq as heroImageBottomAlign, p as jsxs } from './index-D1QHaKvq.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" })] }) }) }));
|