@funkit/connect 3.0.0-next.6 → 3.0.0-next.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/CHANGELOG.md +9 -0
- package/dist/components/Box/Box.d.ts +21 -21
- package/dist/components/CloseButton/CloseButton.d.ts +6 -3
- package/dist/components/Dialog/Dialog.d.ts +5 -3
- package/dist/components/FunAssetAvatar/FunAssetAvatar.d.ts +2 -3
- package/dist/components/FunBottomBar/FunBottomBar.css.d.ts +1 -0
- package/dist/components/FunButton/FunBackButton.d.ts +6 -3
- package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +6 -10
- package/dist/components/FunSkeletonLoader/FunSkeletonCircle.d.ts +4 -13
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +1 -1
- package/dist/components/Icons/TwoFactor.d.ts +2 -0
- package/dist/components/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +1 -0
- package/dist/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +1 -0
- package/dist/components/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +21 -21
- package/dist/hooks/useScrollDivider.d.ts +1 -0
- package/dist/index.css +1951 -1794
- package/dist/index.js +731 -663
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bloomWallet/bloomWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-45BGLKK3.js +149 -0
- package/dist/wallets/walletConnectors/chunk-A6MZY5ZZ.js +81 -0
- package/dist/wallets/walletConnectors/chunk-ARIYPPEC.js +92 -0
- package/dist/wallets/walletConnectors/chunk-BEAW5Y5M.js +60 -0
- package/dist/wallets/walletConnectors/chunk-CW3DUKXK.js +102 -0
- package/dist/wallets/walletConnectors/chunk-E5XC6KBV.js +95 -0
- package/dist/wallets/walletConnectors/chunk-FCHEJLHR.js +101 -0
- package/dist/wallets/walletConnectors/chunk-HKN7647Q.js +73 -0
- package/dist/wallets/walletConnectors/chunk-IOQWKPOO.js +71 -0
- package/dist/wallets/walletConnectors/chunk-LPQBQIZL.js +108 -0
- package/dist/wallets/walletConnectors/chunk-LTIIUGMZ.js +96 -0
- package/dist/wallets/walletConnectors/chunk-PIZ2XVGH.js +60 -0
- package/dist/wallets/walletConnectors/chunk-RXUGTOMT.js +60 -0
- package/dist/wallets/walletConnectors/chunk-VJ5C6RXN.js +98 -0
- package/dist/wallets/walletConnectors/chunk-WMLYUYMP.js +94 -0
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +84 -84
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -3
- /package/dist/{utils → consts}/checkoutFees.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import { createNormalizeValueFn as _a49f6 } from "@vanilla-extract/sprinkles/cre
|
|
|
30
30
|
import { createSprinkles as _ad221 } from "@vanilla-extract/sprinkles/createRuntimeSprinkles";
|
|
31
31
|
var mapResponsiveValue = _51c72({ conditions: { defaultCondition: "smallScreen", conditionNames: ["smallScreen", "largeScreen"], responsiveArray: void 0 } });
|
|
32
32
|
var normalizeResponsiveValue = _a49f6({ conditions: { defaultCondition: "smallScreen", conditionNames: ["smallScreen", "largeScreen"], responsiveArray: void 0 } });
|
|
33
|
-
var sprinkles = _ad221({ conditions: { defaultCondition: "base", conditionNames: ["base", "hover", "active", "selection", "focused", "focusedVisible"], responsiveArray: void 0 }, styles: { background: { values: { accentColor: { conditions: { base: "_1rsrm2ffo", hover: "_1rsrm2ffp", active: "_1rsrm2ffq", selection: "_1rsrm2ffr", focused: "_1rsrm2ffs", focusedVisible: "_1rsrm2fft" }, defaultClass: "_1rsrm2ffo" }, accentColorForeground: { conditions: { base: "_1rsrm2ffu", hover: "_1rsrm2ffv", active: "_1rsrm2ffw", selection: "_1rsrm2ffx", focused: "_1rsrm2ffy", focusedVisible: "_1rsrm2ffz" }, defaultClass: "_1rsrm2ffu" }, actionButtonBorder: { conditions: { base: "_1rsrm2fg0", hover: "_1rsrm2fg1", active: "_1rsrm2fg2", selection: "_1rsrm2fg3", focused: "_1rsrm2fg4", focusedVisible: "_1rsrm2fg5" }, defaultClass: "_1rsrm2fg0" }, connectButtonBackground: { conditions: { base: "_1rsrm2fg6", hover: "_1rsrm2fg7", active: "_1rsrm2fg8", selection: "_1rsrm2fg9", focused: "_1rsrm2fga", focusedVisible: "_1rsrm2fgb" }, defaultClass: "_1rsrm2fg6" }, connectButtonBackgroundError: { conditions: { base: "_1rsrm2fgc", hover: "_1rsrm2fgd", active: "_1rsrm2fge", selection: "_1rsrm2fgf", focused: "_1rsrm2fgg", focusedVisible: "_1rsrm2fgh" }, defaultClass: "_1rsrm2fgc" }, connectButtonText: { conditions: { base: "_1rsrm2fgi", hover: "_1rsrm2fgj", active: "_1rsrm2fgk", selection: "_1rsrm2fgl", focused: "_1rsrm2fgm", focusedVisible: "_1rsrm2fgn" }, defaultClass: "_1rsrm2fgi" }, connectButtonTextError: { conditions: { base: "_1rsrm2fgo", hover: "_1rsrm2fgp", active: "_1rsrm2fgq", selection: "_1rsrm2fgr", focused: "_1rsrm2fgs", focusedVisible: "_1rsrm2fgt" }, defaultClass: "_1rsrm2fgo" }, connectionIndicator: { conditions: { base: "_1rsrm2fgu", hover: "_1rsrm2fgv", active: "_1rsrm2fgw", selection: "_1rsrm2fgx", focused: "_1rsrm2fgy", focusedVisible: "_1rsrm2fgz" }, defaultClass: "_1rsrm2fgu" }, error: { conditions: { base: "_1rsrm2fh0", hover: "_1rsrm2fh1", active: "_1rsrm2fh2", selection: "_1rsrm2fh3", focused: "_1rsrm2fh4", focusedVisible: "_1rsrm2fh5" }, defaultClass: "_1rsrm2fh0" }, generalBorder: { conditions: { base: "_1rsrm2fh6", hover: "_1rsrm2fh7", active: "_1rsrm2fh8", selection: "_1rsrm2fh9", focused: "_1rsrm2fha", focusedVisible: "_1rsrm2fhb" }, defaultClass: "_1rsrm2fh6" }, generalBorderDim: { conditions: { base: "_1rsrm2fhc", hover: "_1rsrm2fhd", active: "_1rsrm2fhe", selection: "_1rsrm2fhf", focused: "_1rsrm2fhg", focusedVisible: "_1rsrm2fhh" }, defaultClass: "_1rsrm2fhc" }, menuItemBackground: { conditions: { base: "_1rsrm2fhi", hover: "_1rsrm2fhj", active: "_1rsrm2fhk", selection: "_1rsrm2fhl", focused: "_1rsrm2fhm", focusedVisible: "_1rsrm2fhn" }, defaultClass: "_1rsrm2fhi" }, selectedOptionBorder: { conditions: { base: "_1rsrm2fho", hover: "_1rsrm2fhp", active: "_1rsrm2fhq", selection: "_1rsrm2fhr", focused: "_1rsrm2fhs", focusedVisible: "_1rsrm2fht" }, defaultClass: "_1rsrm2fho" }, paymentOptionBorderDisabled: { conditions: { base: "_1rsrm2fhu", hover: "_1rsrm2fhv", active: "_1rsrm2fhw", selection: "_1rsrm2fhx", focused: "_1rsrm2fhy", focusedVisible: "_1rsrm2fhz" }, defaultClass: "_1rsrm2fhu" }, standby: { conditions: { base: "_1rsrm2fi0", hover: "_1rsrm2fi1", active: "_1rsrm2fi2", selection: "_1rsrm2fi3", focused: "_1rsrm2fi4", focusedVisible: "_1rsrm2fi5" }, defaultClass: "_1rsrm2fi0" }, success: { conditions: { base: "_1rsrm2fi6", hover: "_1rsrm2fi7", active: "_1rsrm2fi8", selection: "_1rsrm2fi9", focused: "_1rsrm2fia", focusedVisible: "_1rsrm2fib" }, defaultClass: "_1rsrm2fi6" }, loadingBase: { conditions: { base: "_1rsrm2fic", hover: "_1rsrm2fid", active: "_1rsrm2fie", selection: "_1rsrm2fif", focused: "_1rsrm2fig", focusedVisible: "_1rsrm2fih" }, defaultClass: "_1rsrm2fic" }, loadingAccent: { conditions: { base: "_1rsrm2fii", hover: "_1rsrm2fij", active: "_1rsrm2fik", selection: "_1rsrm2fil", focused: "_1rsrm2fim", focusedVisible: "_1rsrm2fin" }, defaultClass: "_1rsrm2fii" }, chainIconBorder: { conditions: { base: "_1rsrm2fio", hover: "_1rsrm2fip", active: "_1rsrm2fiq", selection: "_1rsrm2fir", focused: "_1rsrm2fis", focusedVisible: "_1rsrm2fit" }, defaultClass: "_1rsrm2fio" }, modalBackdrop: { conditions: { base: "_1rsrm2fiu", hover: "_1rsrm2fiv", active: "_1rsrm2fiw", selection: "_1rsrm2fix", focused: "_1rsrm2fiy", focusedVisible: "_1rsrm2fiz" }, defaultClass: "_1rsrm2fiu" }, modalBackground: { conditions: { base: "_1rsrm2fj0", hover: "_1rsrm2fj1", active: "_1rsrm2fj2", selection: "_1rsrm2fj3", focused: "_1rsrm2fj4", focusedVisible: "_1rsrm2fj5" }, defaultClass: "_1rsrm2fj0" }, modalBorder: { conditions: { base: "_1rsrm2fj6", hover: "_1rsrm2fj7", active: "_1rsrm2fj8", selection: "_1rsrm2fj9", focused: "_1rsrm2fja", focusedVisible: "_1rsrm2fjb" }, defaultClass: "_1rsrm2fj6" }, notificationPrimary: { conditions: { base: "_1rsrm2fjc", hover: "_1rsrm2fjd", active: "_1rsrm2fje", selection: "_1rsrm2fjf", focused: "_1rsrm2fjg", focusedVisible: "_1rsrm2fjh" }, defaultClass: "_1rsrm2fjc" }, offBackground: { conditions: { base: "_1rsrm2fji", hover: "_1rsrm2fjj", active: "_1rsrm2fjk", selection: "_1rsrm2fjl", focused: "_1rsrm2fjm", focusedVisible: "_1rsrm2fjn" }, defaultClass: "_1rsrm2fji" }, hoverState: { conditions: { base: "_1rsrm2fjo", hover: "_1rsrm2fjp", active: "_1rsrm2fjq", selection: "_1rsrm2fjr", focused: "_1rsrm2fjs", focusedVisible: "_1rsrm2fjt" }, defaultClass: "_1rsrm2fjo" }, offBackgroundInverse: { conditions: { base: "_1rsrm2fju", hover: "_1rsrm2fjv", active: "_1rsrm2fjw", selection: "_1rsrm2fjx", focused: "_1rsrm2fjy", focusedVisible: "_1rsrm2fjz" }, defaultClass: "_1rsrm2fju" }, dydxSwitchActiveBackground: { conditions: { base: "_1rsrm2fk0", hover: "_1rsrm2fk1", active: "_1rsrm2fk2", selection: "_1rsrm2fk3", focused: "_1rsrm2fk4", focusedVisible: "_1rsrm2fk5" }, defaultClass: "_1rsrm2fk0" }, primaryText: { conditions: { base: "_1rsrm2fk6", hover: "_1rsrm2fk7", active: "_1rsrm2fk8", selection: "_1rsrm2fk9", focused: "_1rsrm2fka", focusedVisible: "_1rsrm2fkb" }, defaultClass: "_1rsrm2fk6" }, secondaryText: { conditions: { base: "_1rsrm2fkc", hover: "_1rsrm2fkd", active: "_1rsrm2fke", selection: "_1rsrm2fkf", focused: "_1rsrm2fkg", focusedVisible: "_1rsrm2fkh" }, defaultClass: "_1rsrm2fkc" }, tertiaryText: { conditions: { base: "_1rsrm2fki", hover: "_1rsrm2fkj", active: "_1rsrm2fkk", selection: "_1rsrm2fkl", focused: "_1rsrm2fkm", focusedVisible: "_1rsrm2fkn" }, defaultClass: "_1rsrm2fki" }, textSelection: { conditions: { base: "_1rsrm2fko", hover: "_1rsrm2fkp", active: "_1rsrm2fkq", selection: "_1rsrm2fkr", focused: "_1rsrm2fks", focusedVisible: "_1rsrm2fkt" }, defaultClass: "_1rsrm2fko" }, inputBackground: { conditions: { base: "_1rsrm2fku", hover: "_1rsrm2fkv", active: "_1rsrm2fkw", selection: "_1rsrm2fkx", focused: "_1rsrm2fky", focusedVisible: "_1rsrm2fkz" }, defaultClass: "_1rsrm2fku" }, inputBorderBase: { conditions: { base: "_1rsrm2fl0", hover: "_1rsrm2fl1", active: "_1rsrm2fl2", selection: "_1rsrm2fl3", focused: "_1rsrm2fl4", focusedVisible: "_1rsrm2fl5" }, defaultClass: "_1rsrm2fl0" }, inputBorderHover: { conditions: { base: "_1rsrm2fl6", hover: "_1rsrm2fl7", active: "_1rsrm2fl8", selection: "_1rsrm2fl9", focused: "_1rsrm2fla", focusedVisible: "_1rsrm2flb" }, defaultClass: "_1rsrm2fl6" }, actionColor: { conditions: { base: "_1rsrm2flc", hover: "_1rsrm2fld", active: "_1rsrm2fle", selection: "_1rsrm2flf", focused: "_1rsrm2flg", focusedVisible: "_1rsrm2flh" }, defaultClass: "_1rsrm2flc" }, actionColorHover: { conditions: { base: "_1rsrm2fli", hover: "_1rsrm2flj", active: "_1rsrm2flk", selection: "_1rsrm2fll", focused: "_1rsrm2flm", focusedVisible: "_1rsrm2fln" }, defaultClass: "_1rsrm2fli" }, actionColorDisabled: { conditions: { base: "_1rsrm2flo", hover: "_1rsrm2flp", active: "_1rsrm2flq", selection: "_1rsrm2flr", focused: "_1rsrm2fls", focusedVisible: "_1rsrm2flt" }, defaultClass: "_1rsrm2flo" }, buttonPrimary: { conditions: { base: "_1rsrm2flu", hover: "_1rsrm2flv", active: "_1rsrm2flw", selection: "_1rsrm2flx", focused: "_1rsrm2fly", focusedVisible: "_1rsrm2flz" }, defaultClass: "_1rsrm2flu" }, buttonDisabled: { conditions: { base: "_1rsrm2fm0", hover: "_1rsrm2fm1", active: "_1rsrm2fm2", selection: "_1rsrm2fm3", focused: "_1rsrm2fm4", focusedVisible: "_1rsrm2fm5" }, defaultClass: "_1rsrm2fm0" }, buttonWarning: { conditions: { base: "_1rsrm2fm6", hover: "_1rsrm2fm7", active: "_1rsrm2fm8", selection: "_1rsrm2fm9", focused: "_1rsrm2fma", focusedVisible: "_1rsrm2fmb" }, defaultClass: "_1rsrm2fm6" }, buttonSuccess: { conditions: { base: "_1rsrm2fmc", hover: "_1rsrm2fmd", active: "_1rsrm2fme", selection: "_1rsrm2fmf", focused: "_1rsrm2fmg", focusedVisible: "_1rsrm2fmh" }, defaultClass: "_1rsrm2fmc" }, buttonTextWarning: { conditions: { base: "_1rsrm2fmi", hover: "_1rsrm2fmj", active: "_1rsrm2fmk", selection: "_1rsrm2fml", focused: "_1rsrm2fmm", focusedVisible: "_1rsrm2fmn" }, defaultClass: "_1rsrm2fmi" }, buttonTextSuccess: { conditions: { base: "_1rsrm2fmo", hover: "_1rsrm2fmp", active: "_1rsrm2fmq", selection: "_1rsrm2fmr", focused: "_1rsrm2fms", focusedVisible: "_1rsrm2fmt" }, defaultClass: "_1rsrm2fmo" }, buttonTextPrimary: { conditions: { base: "_1rsrm2fmu", hover: "_1rsrm2fmv", active: "_1rsrm2fmw", selection: "_1rsrm2fmx", focused: "_1rsrm2fmy", focusedVisible: "_1rsrm2fmz" }, defaultClass: "_1rsrm2fmu" }, buttonTextDisabled: { conditions: { base: "_1rsrm2fn0", hover: "_1rsrm2fn1", active: "_1rsrm2fn2", selection: "_1rsrm2fn3", focused: "_1rsrm2fn4", focusedVisible: "_1rsrm2fn5" }, defaultClass: "_1rsrm2fn0" }, transparent: { conditions: { base: "_1rsrm2fn6", hover: "_1rsrm2fn7", active: "_1rsrm2fn8", selection: "_1rsrm2fn9", focused: "_1rsrm2fna", focusedVisible: "_1rsrm2fnb" }, defaultClass: "_1rsrm2fn6" }, buttonBackgroundTertiary: { conditions: { base: "_1rsrm2fnc", hover: "_1rsrm2fnd", active: "_1rsrm2fne", selection: "_1rsrm2fnf", focused: "_1rsrm2fng", focusedVisible: "_1rsrm2fnh" }, defaultClass: "_1rsrm2fnc" }, buttonBackgroundHoverTertiary: { conditions: { base: "_1rsrm2fni", hover: "_1rsrm2fnj", active: "_1rsrm2fnk", selection: "_1rsrm2fnl", focused: "_1rsrm2fnm", focusedVisible: "_1rsrm2fnn" }, defaultClass: "_1rsrm2fni" }, buttonTextTertiary: { conditions: { base: "_1rsrm2fno", hover: "_1rsrm2fnp", active: "_1rsrm2fnq", selection: "_1rsrm2fnr", focused: "_1rsrm2fns", focusedVisible: "_1rsrm2fnt" }, defaultClass: "_1rsrm2fno" }, buttonTextDisabledTertiary: { conditions: { base: "_1rsrm2fnu", hover: "_1rsrm2fnv", active: "_1rsrm2fnw", selection: "_1rsrm2fnx", focused: "_1rsrm2fny", focusedVisible: "_1rsrm2fnz" }, defaultClass: "_1rsrm2fnu" }, buttonStrokeTertiary: { conditions: { base: "_1rsrm2fo0", hover: "_1rsrm2fo1", active: "_1rsrm2fo2", selection: "_1rsrm2fo3", focused: "_1rsrm2fo4", focusedVisible: "_1rsrm2fo5" }, defaultClass: "_1rsrm2fo0" }, buttonBackground: { conditions: { base: "_1rsrm2fo6", hover: "_1rsrm2fo7", active: "_1rsrm2fo8", selection: "_1rsrm2fo9", focused: "_1rsrm2foa", focusedVisible: "_1rsrm2fob" }, defaultClass: "_1rsrm2fo6" }, buttonBackgroundHover: { conditions: { base: "_1rsrm2foc", hover: "_1rsrm2fod", active: "_1rsrm2foe", selection: "_1rsrm2fof", focused: "_1rsrm2fog", focusedVisible: "_1rsrm2foh" }, defaultClass: "_1rsrm2foc" }, buttonBackgroundDisabled: { conditions: { base: "_1rsrm2foi", hover: "_1rsrm2foj", active: "_1rsrm2fok", selection: "_1rsrm2fol", focused: "_1rsrm2fom", focusedVisible: "_1rsrm2fon" }, defaultClass: "_1rsrm2foi" }, buttonText: { conditions: { base: "_1rsrm2foo", hover: "_1rsrm2fop", active: "_1rsrm2foq", selection: "_1rsrm2for", focused: "_1rsrm2fos", focusedVisible: "_1rsrm2fot" }, defaultClass: "_1rsrm2foo" }, buttonStroke: { conditions: { base: "_1rsrm2fou", hover: "_1rsrm2fov", active: "_1rsrm2fow", selection: "_1rsrm2fox", focused: "_1rsrm2foy", focusedVisible: "_1rsrm2foz" }, defaultClass: "_1rsrm2fou" }, buttonTextSecondaryDisabled: { conditions: { base: "_1rsrm2fp0", hover: "_1rsrm2fp1", active: "_1rsrm2fp2", selection: "_1rsrm2fp3", focused: "_1rsrm2fp4", focusedVisible: "_1rsrm2fp5" }, defaultClass: "_1rsrm2fp0" }, buttonTextSecondary: { conditions: { base: "_1rsrm2fp6", hover: "_1rsrm2fp7", active: "_1rsrm2fp8", selection: "_1rsrm2fp9", focused: "_1rsrm2fpa", focusedVisible: "_1rsrm2fpb" }, defaultClass: "_1rsrm2fp6" }, buttonIconBackgroundHover: { conditions: { base: "_1rsrm2fpc", hover: "_1rsrm2fpd", active: "_1rsrm2fpe", selection: "_1rsrm2fpf", focused: "_1rsrm2fpg", focusedVisible: "_1rsrm2fph" }, defaultClass: "_1rsrm2fpc" }, buttonIconBackgroundPressed: { conditions: { base: "_1rsrm2fpi", hover: "_1rsrm2fpj", active: "_1rsrm2fpk", selection: "_1rsrm2fpl", focused: "_1rsrm2fpm", focusedVisible: "_1rsrm2fpn" }, defaultClass: "_1rsrm2fpi" }, buttonIconStroke: { conditions: { base: "_1rsrm2fpo", hover: "_1rsrm2fpp", active: "_1rsrm2fpq", selection: "_1rsrm2fpr", focused: "_1rsrm2fps", focusedVisible: "_1rsrm2fpt" }, defaultClass: "_1rsrm2fpo" } } }, borderColor: { values: { accentColor: { conditions: { base: "_1rsrm2fpu", hover: "_1rsrm2fpv", active: "_1rsrm2fpw", selection: "_1rsrm2fpx", focused: "_1rsrm2fpy", focusedVisible: "_1rsrm2fpz" }, defaultClass: "_1rsrm2fpu" }, accentColorForeground: { conditions: { base: "_1rsrm2fq0", hover: "_1rsrm2fq1", active: "_1rsrm2fq2", selection: "_1rsrm2fq3", focused: "_1rsrm2fq4", focusedVisible: "_1rsrm2fq5" }, defaultClass: "_1rsrm2fq0" }, actionButtonBorder: { conditions: { base: "_1rsrm2fq6", hover: "_1rsrm2fq7", active: "_1rsrm2fq8", selection: "_1rsrm2fq9", focused: "_1rsrm2fqa", focusedVisible: "_1rsrm2fqb" }, defaultClass: "_1rsrm2fq6" }, connectButtonBackground: { conditions: { base: "_1rsrm2fqc", hover: "_1rsrm2fqd", active: "_1rsrm2fqe", selection: "_1rsrm2fqf", focused: "_1rsrm2fqg", focusedVisible: "_1rsrm2fqh" }, defaultClass: "_1rsrm2fqc" }, connectButtonBackgroundError: { conditions: { base: "_1rsrm2fqi", hover: "_1rsrm2fqj", active: "_1rsrm2fqk", selection: "_1rsrm2fql", focused: "_1rsrm2fqm", focusedVisible: "_1rsrm2fqn" }, defaultClass: "_1rsrm2fqi" }, connectButtonText: { conditions: { base: "_1rsrm2fqo", hover: "_1rsrm2fqp", active: "_1rsrm2fqq", selection: "_1rsrm2fqr", focused: "_1rsrm2fqs", focusedVisible: "_1rsrm2fqt" }, defaultClass: "_1rsrm2fqo" }, connectButtonTextError: { conditions: { base: "_1rsrm2fqu", hover: "_1rsrm2fqv", active: "_1rsrm2fqw", selection: "_1rsrm2fqx", focused: "_1rsrm2fqy", focusedVisible: "_1rsrm2fqz" }, defaultClass: "_1rsrm2fqu" }, connectionIndicator: { conditions: { base: "_1rsrm2fr0", hover: "_1rsrm2fr1", active: "_1rsrm2fr2", selection: "_1rsrm2fr3", focused: "_1rsrm2fr4", focusedVisible: "_1rsrm2fr5" }, defaultClass: "_1rsrm2fr0" }, error: { conditions: { base: "_1rsrm2fr6", hover: "_1rsrm2fr7", active: "_1rsrm2fr8", selection: "_1rsrm2fr9", focused: "_1rsrm2fra", focusedVisible: "_1rsrm2frb" }, defaultClass: "_1rsrm2fr6" }, generalBorder: { conditions: { base: "_1rsrm2frc", hover: "_1rsrm2frd", active: "_1rsrm2fre", selection: "_1rsrm2frf", focused: "_1rsrm2frg", focusedVisible: "_1rsrm2frh" }, defaultClass: "_1rsrm2frc" }, generalBorderDim: { conditions: { base: "_1rsrm2fri", hover: "_1rsrm2frj", active: "_1rsrm2frk", selection: "_1rsrm2frl", focused: "_1rsrm2frm", focusedVisible: "_1rsrm2frn" }, defaultClass: "_1rsrm2fri" }, menuItemBackground: { conditions: { base: "_1rsrm2fro", hover: "_1rsrm2frp", active: "_1rsrm2frq", selection: "_1rsrm2frr", focused: "_1rsrm2frs", focusedVisible: "_1rsrm2frt" }, defaultClass: "_1rsrm2fro" }, selectedOptionBorder: { conditions: { base: "_1rsrm2fru", hover: "_1rsrm2frv", active: "_1rsrm2frw", selection: "_1rsrm2frx", focused: "_1rsrm2fry", focusedVisible: "_1rsrm2frz" }, defaultClass: "_1rsrm2fru" }, paymentOptionBorderDisabled: { conditions: { base: "_1rsrm2fs0", hover: "_1rsrm2fs1", active: "_1rsrm2fs2", selection: "_1rsrm2fs3", focused: "_1rsrm2fs4", focusedVisible: "_1rsrm2fs5" }, defaultClass: "_1rsrm2fs0" }, standby: { conditions: { base: "_1rsrm2fs6", hover: "_1rsrm2fs7", active: "_1rsrm2fs8", selection: "_1rsrm2fs9", focused: "_1rsrm2fsa", focusedVisible: "_1rsrm2fsb" }, defaultClass: "_1rsrm2fs6" }, success: { conditions: { base: "_1rsrm2fsc", hover: "_1rsrm2fsd", active: "_1rsrm2fse", selection: "_1rsrm2fsf", focused: "_1rsrm2fsg", focusedVisible: "_1rsrm2fsh" }, defaultClass: "_1rsrm2fsc" }, loadingBase: { conditions: { base: "_1rsrm2fsi", hover: "_1rsrm2fsj", active: "_1rsrm2fsk", selection: "_1rsrm2fsl", focused: "_1rsrm2fsm", focusedVisible: "_1rsrm2fsn" }, defaultClass: "_1rsrm2fsi" }, loadingAccent: { conditions: { base: "_1rsrm2fso", hover: "_1rsrm2fsp", active: "_1rsrm2fsq", selection: "_1rsrm2fsr", focused: "_1rsrm2fss", focusedVisible: "_1rsrm2fst" }, defaultClass: "_1rsrm2fso" }, chainIconBorder: { conditions: { base: "_1rsrm2fsu", hover: "_1rsrm2fsv", active: "_1rsrm2fsw", selection: "_1rsrm2fsx", focused: "_1rsrm2fsy", focusedVisible: "_1rsrm2fsz" }, defaultClass: "_1rsrm2fsu" }, modalBackdrop: { conditions: { base: "_1rsrm2ft0", hover: "_1rsrm2ft1", active: "_1rsrm2ft2", selection: "_1rsrm2ft3", focused: "_1rsrm2ft4", focusedVisible: "_1rsrm2ft5" }, defaultClass: "_1rsrm2ft0" }, modalBackground: { conditions: { base: "_1rsrm2ft6", hover: "_1rsrm2ft7", active: "_1rsrm2ft8", selection: "_1rsrm2ft9", focused: "_1rsrm2fta", focusedVisible: "_1rsrm2ftb" }, defaultClass: "_1rsrm2ft6" }, modalBorder: { conditions: { base: "_1rsrm2ftc", hover: "_1rsrm2ftd", active: "_1rsrm2fte", selection: "_1rsrm2ftf", focused: "_1rsrm2ftg", focusedVisible: "_1rsrm2fth" }, defaultClass: "_1rsrm2ftc" }, notificationPrimary: { conditions: { base: "_1rsrm2fti", hover: "_1rsrm2ftj", active: "_1rsrm2ftk", selection: "_1rsrm2ftl", focused: "_1rsrm2ftm", focusedVisible: "_1rsrm2ftn" }, defaultClass: "_1rsrm2fti" }, offBackground: { conditions: { base: "_1rsrm2fto", hover: "_1rsrm2ftp", active: "_1rsrm2ftq", selection: "_1rsrm2ftr", focused: "_1rsrm2fts", focusedVisible: "_1rsrm2ftt" }, defaultClass: "_1rsrm2fto" }, hoverState: { conditions: { base: "_1rsrm2ftu", hover: "_1rsrm2ftv", active: "_1rsrm2ftw", selection: "_1rsrm2ftx", focused: "_1rsrm2fty", focusedVisible: "_1rsrm2ftz" }, defaultClass: "_1rsrm2ftu" }, offBackgroundInverse: { conditions: { base: "_1rsrm2fu0", hover: "_1rsrm2fu1", active: "_1rsrm2fu2", selection: "_1rsrm2fu3", focused: "_1rsrm2fu4", focusedVisible: "_1rsrm2fu5" }, defaultClass: "_1rsrm2fu0" }, dydxSwitchActiveBackground: { conditions: { base: "_1rsrm2fu6", hover: "_1rsrm2fu7", active: "_1rsrm2fu8", selection: "_1rsrm2fu9", focused: "_1rsrm2fua", focusedVisible: "_1rsrm2fub" }, defaultClass: "_1rsrm2fu6" }, primaryText: { conditions: { base: "_1rsrm2fuc", hover: "_1rsrm2fud", active: "_1rsrm2fue", selection: "_1rsrm2fuf", focused: "_1rsrm2fug", focusedVisible: "_1rsrm2fuh" }, defaultClass: "_1rsrm2fuc" }, secondaryText: { conditions: { base: "_1rsrm2fui", hover: "_1rsrm2fuj", active: "_1rsrm2fuk", selection: "_1rsrm2ful", focused: "_1rsrm2fum", focusedVisible: "_1rsrm2fun" }, defaultClass: "_1rsrm2fui" }, tertiaryText: { conditions: { base: "_1rsrm2fuo", hover: "_1rsrm2fup", active: "_1rsrm2fuq", selection: "_1rsrm2fur", focused: "_1rsrm2fus", focusedVisible: "_1rsrm2fut" }, defaultClass: "_1rsrm2fuo" }, textSelection: { conditions: { base: "_1rsrm2fuu", hover: "_1rsrm2fuv", active: "_1rsrm2fuw", selection: "_1rsrm2fux", focused: "_1rsrm2fuy", focusedVisible: "_1rsrm2fuz" }, defaultClass: "_1rsrm2fuu" }, inputBackground: { conditions: { base: "_1rsrm2fv0", hover: "_1rsrm2fv1", active: "_1rsrm2fv2", selection: "_1rsrm2fv3", focused: "_1rsrm2fv4", focusedVisible: "_1rsrm2fv5" }, defaultClass: "_1rsrm2fv0" }, inputBorderBase: { conditions: { base: "_1rsrm2fv6", hover: "_1rsrm2fv7", active: "_1rsrm2fv8", selection: "_1rsrm2fv9", focused: "_1rsrm2fva", focusedVisible: "_1rsrm2fvb" }, defaultClass: "_1rsrm2fv6" }, inputBorderHover: { conditions: { base: "_1rsrm2fvc", hover: "_1rsrm2fvd", active: "_1rsrm2fve", selection: "_1rsrm2fvf", focused: "_1rsrm2fvg", focusedVisible: "_1rsrm2fvh" }, defaultClass: "_1rsrm2fvc" }, actionColor: { conditions: { base: "_1rsrm2fvi", hover: "_1rsrm2fvj", active: "_1rsrm2fvk", selection: "_1rsrm2fvl", focused: "_1rsrm2fvm", focusedVisible: "_1rsrm2fvn" }, defaultClass: "_1rsrm2fvi" }, actionColorHover: { conditions: { base: "_1rsrm2fvo", hover: "_1rsrm2fvp", active: "_1rsrm2fvq", selection: "_1rsrm2fvr", focused: "_1rsrm2fvs", focusedVisible: "_1rsrm2fvt" }, defaultClass: "_1rsrm2fvo" }, actionColorDisabled: { conditions: { base: "_1rsrm2fvu", hover: "_1rsrm2fvv", active: "_1rsrm2fvw", selection: "_1rsrm2fvx", focused: "_1rsrm2fvy", focusedVisible: "_1rsrm2fvz" }, defaultClass: "_1rsrm2fvu" }, buttonPrimary: { conditions: { base: "_1rsrm2fw0", hover: "_1rsrm2fw1", active: "_1rsrm2fw2", selection: "_1rsrm2fw3", focused: "_1rsrm2fw4", focusedVisible: "_1rsrm2fw5" }, defaultClass: "_1rsrm2fw0" }, buttonDisabled: { conditions: { base: "_1rsrm2fw6", hover: "_1rsrm2fw7", active: "_1rsrm2fw8", selection: "_1rsrm2fw9", focused: "_1rsrm2fwa", focusedVisible: "_1rsrm2fwb" }, defaultClass: "_1rsrm2fw6" }, buttonWarning: { conditions: { base: "_1rsrm2fwc", hover: "_1rsrm2fwd", active: "_1rsrm2fwe", selection: "_1rsrm2fwf", focused: "_1rsrm2fwg", focusedVisible: "_1rsrm2fwh" }, defaultClass: "_1rsrm2fwc" }, buttonSuccess: { conditions: { base: "_1rsrm2fwi", hover: "_1rsrm2fwj", active: "_1rsrm2fwk", selection: "_1rsrm2fwl", focused: "_1rsrm2fwm", focusedVisible: "_1rsrm2fwn" }, defaultClass: "_1rsrm2fwi" }, buttonTextWarning: { conditions: { base: "_1rsrm2fwo", hover: "_1rsrm2fwp", active: "_1rsrm2fwq", selection: "_1rsrm2fwr", focused: "_1rsrm2fws", focusedVisible: "_1rsrm2fwt" }, defaultClass: "_1rsrm2fwo" }, buttonTextSuccess: { conditions: { base: "_1rsrm2fwu", hover: "_1rsrm2fwv", active: "_1rsrm2fww", selection: "_1rsrm2fwx", focused: "_1rsrm2fwy", focusedVisible: "_1rsrm2fwz" }, defaultClass: "_1rsrm2fwu" }, buttonTextPrimary: { conditions: { base: "_1rsrm2fx0", hover: "_1rsrm2fx1", active: "_1rsrm2fx2", selection: "_1rsrm2fx3", focused: "_1rsrm2fx4", focusedVisible: "_1rsrm2fx5" }, defaultClass: "_1rsrm2fx0" }, buttonTextDisabled: { conditions: { base: "_1rsrm2fx6", hover: "_1rsrm2fx7", active: "_1rsrm2fx8", selection: "_1rsrm2fx9", focused: "_1rsrm2fxa", focusedVisible: "_1rsrm2fxb" }, defaultClass: "_1rsrm2fx6" }, transparent: { conditions: { base: "_1rsrm2fxc", hover: "_1rsrm2fxd", active: "_1rsrm2fxe", selection: "_1rsrm2fxf", focused: "_1rsrm2fxg", focusedVisible: "_1rsrm2fxh" }, defaultClass: "_1rsrm2fxc" }, buttonBackgroundTertiary: { conditions: { base: "_1rsrm2fxi", hover: "_1rsrm2fxj", active: "_1rsrm2fxk", selection: "_1rsrm2fxl", focused: "_1rsrm2fxm", focusedVisible: "_1rsrm2fxn" }, defaultClass: "_1rsrm2fxi" }, buttonBackgroundHoverTertiary: { conditions: { base: "_1rsrm2fxo", hover: "_1rsrm2fxp", active: "_1rsrm2fxq", selection: "_1rsrm2fxr", focused: "_1rsrm2fxs", focusedVisible: "_1rsrm2fxt" }, defaultClass: "_1rsrm2fxo" }, buttonTextTertiary: { conditions: { base: "_1rsrm2fxu", hover: "_1rsrm2fxv", active: "_1rsrm2fxw", selection: "_1rsrm2fxx", focused: "_1rsrm2fxy", focusedVisible: "_1rsrm2fxz" }, defaultClass: "_1rsrm2fxu" }, buttonTextDisabledTertiary: { conditions: { base: "_1rsrm2fy0", hover: "_1rsrm2fy1", active: "_1rsrm2fy2", selection: "_1rsrm2fy3", focused: "_1rsrm2fy4", focusedVisible: "_1rsrm2fy5" }, defaultClass: "_1rsrm2fy0" }, buttonStrokeTertiary: { conditions: { base: "_1rsrm2fy6", hover: "_1rsrm2fy7", active: "_1rsrm2fy8", selection: "_1rsrm2fy9", focused: "_1rsrm2fya", focusedVisible: "_1rsrm2fyb" }, defaultClass: "_1rsrm2fy6" }, buttonBackground: { conditions: { base: "_1rsrm2fyc", hover: "_1rsrm2fyd", active: "_1rsrm2fye", selection: "_1rsrm2fyf", focused: "_1rsrm2fyg", focusedVisible: "_1rsrm2fyh" }, defaultClass: "_1rsrm2fyc" }, buttonBackgroundHover: { conditions: { base: "_1rsrm2fyi", hover: "_1rsrm2fyj", active: "_1rsrm2fyk", selection: "_1rsrm2fyl", focused: "_1rsrm2fym", focusedVisible: "_1rsrm2fyn" }, defaultClass: "_1rsrm2fyi" }, buttonBackgroundDisabled: { conditions: { base: "_1rsrm2fyo", hover: "_1rsrm2fyp", active: "_1rsrm2fyq", selection: "_1rsrm2fyr", focused: "_1rsrm2fys", focusedVisible: "_1rsrm2fyt" }, defaultClass: "_1rsrm2fyo" }, buttonText: { conditions: { base: "_1rsrm2fyu", hover: "_1rsrm2fyv", active: "_1rsrm2fyw", selection: "_1rsrm2fyx", focused: "_1rsrm2fyy", focusedVisible: "_1rsrm2fyz" }, defaultClass: "_1rsrm2fyu" }, buttonStroke: { conditions: { base: "_1rsrm2fz0", hover: "_1rsrm2fz1", active: "_1rsrm2fz2", selection: "_1rsrm2fz3", focused: "_1rsrm2fz4", focusedVisible: "_1rsrm2fz5" }, defaultClass: "_1rsrm2fz0" }, buttonTextSecondaryDisabled: { conditions: { base: "_1rsrm2fz6", hover: "_1rsrm2fz7", active: "_1rsrm2fz8", selection: "_1rsrm2fz9", focused: "_1rsrm2fza", focusedVisible: "_1rsrm2fzb" }, defaultClass: "_1rsrm2fz6" }, buttonTextSecondary: { conditions: { base: "_1rsrm2fzc", hover: "_1rsrm2fzd", active: "_1rsrm2fze", selection: "_1rsrm2fzf", focused: "_1rsrm2fzg", focusedVisible: "_1rsrm2fzh" }, defaultClass: "_1rsrm2fzc" }, buttonIconBackgroundHover: { conditions: { base: "_1rsrm2fzi", hover: "_1rsrm2fzj", active: "_1rsrm2fzk", selection: "_1rsrm2fzl", focused: "_1rsrm2fzm", focusedVisible: "_1rsrm2fzn" }, defaultClass: "_1rsrm2fzi" }, buttonIconBackgroundPressed: { conditions: { base: "_1rsrm2fzo", hover: "_1rsrm2fzp", active: "_1rsrm2fzq", selection: "_1rsrm2fzr", focused: "_1rsrm2fzs", focusedVisible: "_1rsrm2fzt" }, defaultClass: "_1rsrm2fzo" }, buttonIconStroke: { conditions: { base: "_1rsrm2fzu", hover: "_1rsrm2fzv", active: "_1rsrm2fzw", selection: "_1rsrm2fzx", focused: "_1rsrm2fzy", focusedVisible: "_1rsrm2fzz" }, defaultClass: "_1rsrm2fzu" } } }, boxShadow: { values: { connectButton: { conditions: { base: "_1rsrm2f100", hover: "_1rsrm2f101", active: "_1rsrm2f102", selection: "_1rsrm2f103", focused: "_1rsrm2f104", focusedVisible: "_1rsrm2f105" }, defaultClass: "_1rsrm2f100" }, dialog: { conditions: { base: "_1rsrm2f106", hover: "_1rsrm2f107", active: "_1rsrm2f108", selection: "_1rsrm2f109", focused: "_1rsrm2f10a", focusedVisible: "_1rsrm2f10b" }, defaultClass: "_1rsrm2f106" }, selectedOption: { conditions: { base: "_1rsrm2f10c", hover: "_1rsrm2f10d", active: "_1rsrm2f10e", selection: "_1rsrm2f10f", focused: "_1rsrm2f10g", focusedVisible: "_1rsrm2f10h" }, defaultClass: "_1rsrm2f10c" }, selectedWallet: { conditions: { base: "_1rsrm2f10i", hover: "_1rsrm2f10j", active: "_1rsrm2f10k", selection: "_1rsrm2f10l", focused: "_1rsrm2f10m", focusedVisible: "_1rsrm2f10n" }, defaultClass: "_1rsrm2f10i" }, button: { conditions: { base: "_1rsrm2f10o", hover: "_1rsrm2f10p", active: "_1rsrm2f10q", selection: "_1rsrm2f10r", focused: "_1rsrm2f10s", focusedVisible: "_1rsrm2f10t" }, defaultClass: "_1rsrm2f10o" } } }, color: { values: { accentColor: { conditions: { base: "_1rsrm2f10u", hover: "_1rsrm2f10v", active: "_1rsrm2f10w", selection: "_1rsrm2f10x", focused: "_1rsrm2f10y", focusedVisible: "_1rsrm2f10z" }, defaultClass: "_1rsrm2f10u" }, accentColorForeground: { conditions: { base: "_1rsrm2f110", hover: "_1rsrm2f111", active: "_1rsrm2f112", selection: "_1rsrm2f113", focused: "_1rsrm2f114", focusedVisible: "_1rsrm2f115" }, defaultClass: "_1rsrm2f110" }, actionButtonBorder: { conditions: { base: "_1rsrm2f116", hover: "_1rsrm2f117", active: "_1rsrm2f118", selection: "_1rsrm2f119", focused: "_1rsrm2f11a", focusedVisible: "_1rsrm2f11b" }, defaultClass: "_1rsrm2f116" }, connectButtonBackground: { conditions: { base: "_1rsrm2f11c", hover: "_1rsrm2f11d", active: "_1rsrm2f11e", selection: "_1rsrm2f11f", focused: "_1rsrm2f11g", focusedVisible: "_1rsrm2f11h" }, defaultClass: "_1rsrm2f11c" }, connectButtonBackgroundError: { conditions: { base: "_1rsrm2f11i", hover: "_1rsrm2f11j", active: "_1rsrm2f11k", selection: "_1rsrm2f11l", focused: "_1rsrm2f11m", focusedVisible: "_1rsrm2f11n" }, defaultClass: "_1rsrm2f11i" }, connectButtonText: { conditions: { base: "_1rsrm2f11o", hover: "_1rsrm2f11p", active: "_1rsrm2f11q", selection: "_1rsrm2f11r", focused: "_1rsrm2f11s", focusedVisible: "_1rsrm2f11t" }, defaultClass: "_1rsrm2f11o" }, connectButtonTextError: { conditions: { base: "_1rsrm2f11u", hover: "_1rsrm2f11v", active: "_1rsrm2f11w", selection: "_1rsrm2f11x", focused: "_1rsrm2f11y", focusedVisible: "_1rsrm2f11z" }, defaultClass: "_1rsrm2f11u" }, connectionIndicator: { conditions: { base: "_1rsrm2f120", hover: "_1rsrm2f121", active: "_1rsrm2f122", selection: "_1rsrm2f123", focused: "_1rsrm2f124", focusedVisible: "_1rsrm2f125" }, defaultClass: "_1rsrm2f120" }, error: { conditions: { base: "_1rsrm2f126", hover: "_1rsrm2f127", active: "_1rsrm2f128", selection: "_1rsrm2f129", focused: "_1rsrm2f12a", focusedVisible: "_1rsrm2f12b" }, defaultClass: "_1rsrm2f126" }, generalBorder: { conditions: { base: "_1rsrm2f12c", hover: "_1rsrm2f12d", active: "_1rsrm2f12e", selection: "_1rsrm2f12f", focused: "_1rsrm2f12g", focusedVisible: "_1rsrm2f12h" }, defaultClass: "_1rsrm2f12c" }, generalBorderDim: { conditions: { base: "_1rsrm2f12i", hover: "_1rsrm2f12j", active: "_1rsrm2f12k", selection: "_1rsrm2f12l", focused: "_1rsrm2f12m", focusedVisible: "_1rsrm2f12n" }, defaultClass: "_1rsrm2f12i" }, menuItemBackground: { conditions: { base: "_1rsrm2f12o", hover: "_1rsrm2f12p", active: "_1rsrm2f12q", selection: "_1rsrm2f12r", focused: "_1rsrm2f12s", focusedVisible: "_1rsrm2f12t" }, defaultClass: "_1rsrm2f12o" }, selectedOptionBorder: { conditions: { base: "_1rsrm2f12u", hover: "_1rsrm2f12v", active: "_1rsrm2f12w", selection: "_1rsrm2f12x", focused: "_1rsrm2f12y", focusedVisible: "_1rsrm2f12z" }, defaultClass: "_1rsrm2f12u" }, paymentOptionBorderDisabled: { conditions: { base: "_1rsrm2f130", hover: "_1rsrm2f131", active: "_1rsrm2f132", selection: "_1rsrm2f133", focused: "_1rsrm2f134", focusedVisible: "_1rsrm2f135" }, defaultClass: "_1rsrm2f130" }, standby: { conditions: { base: "_1rsrm2f136", hover: "_1rsrm2f137", active: "_1rsrm2f138", selection: "_1rsrm2f139", focused: "_1rsrm2f13a", focusedVisible: "_1rsrm2f13b" }, defaultClass: "_1rsrm2f136" }, success: { conditions: { base: "_1rsrm2f13c", hover: "_1rsrm2f13d", active: "_1rsrm2f13e", selection: "_1rsrm2f13f", focused: "_1rsrm2f13g", focusedVisible: "_1rsrm2f13h" }, defaultClass: "_1rsrm2f13c" }, loadingBase: { conditions: { base: "_1rsrm2f13i", hover: "_1rsrm2f13j", active: "_1rsrm2f13k", selection: "_1rsrm2f13l", focused: "_1rsrm2f13m", focusedVisible: "_1rsrm2f13n" }, defaultClass: "_1rsrm2f13i" }, loadingAccent: { conditions: { base: "_1rsrm2f13o", hover: "_1rsrm2f13p", active: "_1rsrm2f13q", selection: "_1rsrm2f13r", focused: "_1rsrm2f13s", focusedVisible: "_1rsrm2f13t" }, defaultClass: "_1rsrm2f13o" }, chainIconBorder: { conditions: { base: "_1rsrm2f13u", hover: "_1rsrm2f13v", active: "_1rsrm2f13w", selection: "_1rsrm2f13x", focused: "_1rsrm2f13y", focusedVisible: "_1rsrm2f13z" }, defaultClass: "_1rsrm2f13u" }, modalBackdrop: { conditions: { base: "_1rsrm2f140", hover: "_1rsrm2f141", active: "_1rsrm2f142", selection: "_1rsrm2f143", focused: "_1rsrm2f144", focusedVisible: "_1rsrm2f145" }, defaultClass: "_1rsrm2f140" }, modalBackground: { conditions: { base: "_1rsrm2f146", hover: "_1rsrm2f147", active: "_1rsrm2f148", selection: "_1rsrm2f149", focused: "_1rsrm2f14a", focusedVisible: "_1rsrm2f14b" }, defaultClass: "_1rsrm2f146" }, modalBorder: { conditions: { base: "_1rsrm2f14c", hover: "_1rsrm2f14d", active: "_1rsrm2f14e", selection: "_1rsrm2f14f", focused: "_1rsrm2f14g", focusedVisible: "_1rsrm2f14h" }, defaultClass: "_1rsrm2f14c" }, notificationPrimary: { conditions: { base: "_1rsrm2f14i", hover: "_1rsrm2f14j", active: "_1rsrm2f14k", selection: "_1rsrm2f14l", focused: "_1rsrm2f14m", focusedVisible: "_1rsrm2f14n" }, defaultClass: "_1rsrm2f14i" }, offBackground: { conditions: { base: "_1rsrm2f14o", hover: "_1rsrm2f14p", active: "_1rsrm2f14q", selection: "_1rsrm2f14r", focused: "_1rsrm2f14s", focusedVisible: "_1rsrm2f14t" }, defaultClass: "_1rsrm2f14o" }, hoverState: { conditions: { base: "_1rsrm2f14u", hover: "_1rsrm2f14v", active: "_1rsrm2f14w", selection: "_1rsrm2f14x", focused: "_1rsrm2f14y", focusedVisible: "_1rsrm2f14z" }, defaultClass: "_1rsrm2f14u" }, offBackgroundInverse: { conditions: { base: "_1rsrm2f150", hover: "_1rsrm2f151", active: "_1rsrm2f152", selection: "_1rsrm2f153", focused: "_1rsrm2f154", focusedVisible: "_1rsrm2f155" }, defaultClass: "_1rsrm2f150" }, dydxSwitchActiveBackground: { conditions: { base: "_1rsrm2f156", hover: "_1rsrm2f157", active: "_1rsrm2f158", selection: "_1rsrm2f159", focused: "_1rsrm2f15a", focusedVisible: "_1rsrm2f15b" }, defaultClass: "_1rsrm2f156" }, primaryText: { conditions: { base: "_1rsrm2f15c", hover: "_1rsrm2f15d", active: "_1rsrm2f15e", selection: "_1rsrm2f15f", focused: "_1rsrm2f15g", focusedVisible: "_1rsrm2f15h" }, defaultClass: "_1rsrm2f15c" }, secondaryText: { conditions: { base: "_1rsrm2f15i", hover: "_1rsrm2f15j", active: "_1rsrm2f15k", selection: "_1rsrm2f15l", focused: "_1rsrm2f15m", focusedVisible: "_1rsrm2f15n" }, defaultClass: "_1rsrm2f15i" }, tertiaryText: { conditions: { base: "_1rsrm2f15o", hover: "_1rsrm2f15p", active: "_1rsrm2f15q", selection: "_1rsrm2f15r", focused: "_1rsrm2f15s", focusedVisible: "_1rsrm2f15t" }, defaultClass: "_1rsrm2f15o" }, textSelection: { conditions: { base: "_1rsrm2f15u", hover: "_1rsrm2f15v", active: "_1rsrm2f15w", selection: "_1rsrm2f15x", focused: "_1rsrm2f15y", focusedVisible: "_1rsrm2f15z" }, defaultClass: "_1rsrm2f15u" }, inputBackground: { conditions: { base: "_1rsrm2f160", hover: "_1rsrm2f161", active: "_1rsrm2f162", selection: "_1rsrm2f163", focused: "_1rsrm2f164", focusedVisible: "_1rsrm2f165" }, defaultClass: "_1rsrm2f160" }, inputBorderBase: { conditions: { base: "_1rsrm2f166", hover: "_1rsrm2f167", active: "_1rsrm2f168", selection: "_1rsrm2f169", focused: "_1rsrm2f16a", focusedVisible: "_1rsrm2f16b" }, defaultClass: "_1rsrm2f166" }, inputBorderHover: { conditions: { base: "_1rsrm2f16c", hover: "_1rsrm2f16d", active: "_1rsrm2f16e", selection: "_1rsrm2f16f", focused: "_1rsrm2f16g", focusedVisible: "_1rsrm2f16h" }, defaultClass: "_1rsrm2f16c" }, actionColor: { conditions: { base: "_1rsrm2f16i", hover: "_1rsrm2f16j", active: "_1rsrm2f16k", selection: "_1rsrm2f16l", focused: "_1rsrm2f16m", focusedVisible: "_1rsrm2f16n" }, defaultClass: "_1rsrm2f16i" }, actionColorHover: { conditions: { base: "_1rsrm2f16o", hover: "_1rsrm2f16p", active: "_1rsrm2f16q", selection: "_1rsrm2f16r", focused: "_1rsrm2f16s", focusedVisible: "_1rsrm2f16t" }, defaultClass: "_1rsrm2f16o" }, actionColorDisabled: { conditions: { base: "_1rsrm2f16u", hover: "_1rsrm2f16v", active: "_1rsrm2f16w", selection: "_1rsrm2f16x", focused: "_1rsrm2f16y", focusedVisible: "_1rsrm2f16z" }, defaultClass: "_1rsrm2f16u" }, buttonPrimary: { conditions: { base: "_1rsrm2f170", hover: "_1rsrm2f171", active: "_1rsrm2f172", selection: "_1rsrm2f173", focused: "_1rsrm2f174", focusedVisible: "_1rsrm2f175" }, defaultClass: "_1rsrm2f170" }, buttonDisabled: { conditions: { base: "_1rsrm2f176", hover: "_1rsrm2f177", active: "_1rsrm2f178", selection: "_1rsrm2f179", focused: "_1rsrm2f17a", focusedVisible: "_1rsrm2f17b" }, defaultClass: "_1rsrm2f176" }, buttonWarning: { conditions: { base: "_1rsrm2f17c", hover: "_1rsrm2f17d", active: "_1rsrm2f17e", selection: "_1rsrm2f17f", focused: "_1rsrm2f17g", focusedVisible: "_1rsrm2f17h" }, defaultClass: "_1rsrm2f17c" }, buttonSuccess: { conditions: { base: "_1rsrm2f17i", hover: "_1rsrm2f17j", active: "_1rsrm2f17k", selection: "_1rsrm2f17l", focused: "_1rsrm2f17m", focusedVisible: "_1rsrm2f17n" }, defaultClass: "_1rsrm2f17i" }, buttonTextWarning: { conditions: { base: "_1rsrm2f17o", hover: "_1rsrm2f17p", active: "_1rsrm2f17q", selection: "_1rsrm2f17r", focused: "_1rsrm2f17s", focusedVisible: "_1rsrm2f17t" }, defaultClass: "_1rsrm2f17o" }, buttonTextSuccess: { conditions: { base: "_1rsrm2f17u", hover: "_1rsrm2f17v", active: "_1rsrm2f17w", selection: "_1rsrm2f17x", focused: "_1rsrm2f17y", focusedVisible: "_1rsrm2f17z" }, defaultClass: "_1rsrm2f17u" }, buttonTextPrimary: { conditions: { base: "_1rsrm2f180", hover: "_1rsrm2f181", active: "_1rsrm2f182", selection: "_1rsrm2f183", focused: "_1rsrm2f184", focusedVisible: "_1rsrm2f185" }, defaultClass: "_1rsrm2f180" }, buttonTextDisabled: { conditions: { base: "_1rsrm2f186", hover: "_1rsrm2f187", active: "_1rsrm2f188", selection: "_1rsrm2f189", focused: "_1rsrm2f18a", focusedVisible: "_1rsrm2f18b" }, defaultClass: "_1rsrm2f186" }, transparent: { conditions: { base: "_1rsrm2f18c", hover: "_1rsrm2f18d", active: "_1rsrm2f18e", selection: "_1rsrm2f18f", focused: "_1rsrm2f18g", focusedVisible: "_1rsrm2f18h" }, defaultClass: "_1rsrm2f18c" }, buttonBackgroundTertiary: { conditions: { base: "_1rsrm2f18i", hover: "_1rsrm2f18j", active: "_1rsrm2f18k", selection: "_1rsrm2f18l", focused: "_1rsrm2f18m", focusedVisible: "_1rsrm2f18n" }, defaultClass: "_1rsrm2f18i" }, buttonBackgroundHoverTertiary: { conditions: { base: "_1rsrm2f18o", hover: "_1rsrm2f18p", active: "_1rsrm2f18q", selection: "_1rsrm2f18r", focused: "_1rsrm2f18s", focusedVisible: "_1rsrm2f18t" }, defaultClass: "_1rsrm2f18o" }, buttonTextTertiary: { conditions: { base: "_1rsrm2f18u", hover: "_1rsrm2f18v", active: "_1rsrm2f18w", selection: "_1rsrm2f18x", focused: "_1rsrm2f18y", focusedVisible: "_1rsrm2f18z" }, defaultClass: "_1rsrm2f18u" }, buttonTextDisabledTertiary: { conditions: { base: "_1rsrm2f190", hover: "_1rsrm2f191", active: "_1rsrm2f192", selection: "_1rsrm2f193", focused: "_1rsrm2f194", focusedVisible: "_1rsrm2f195" }, defaultClass: "_1rsrm2f190" }, buttonStrokeTertiary: { conditions: { base: "_1rsrm2f196", hover: "_1rsrm2f197", active: "_1rsrm2f198", selection: "_1rsrm2f199", focused: "_1rsrm2f19a", focusedVisible: "_1rsrm2f19b" }, defaultClass: "_1rsrm2f196" }, buttonBackground: { conditions: { base: "_1rsrm2f19c", hover: "_1rsrm2f19d", active: "_1rsrm2f19e", selection: "_1rsrm2f19f", focused: "_1rsrm2f19g", focusedVisible: "_1rsrm2f19h" }, defaultClass: "_1rsrm2f19c" }, buttonBackgroundHover: { conditions: { base: "_1rsrm2f19i", hover: "_1rsrm2f19j", active: "_1rsrm2f19k", selection: "_1rsrm2f19l", focused: "_1rsrm2f19m", focusedVisible: "_1rsrm2f19n" }, defaultClass: "_1rsrm2f19i" }, buttonBackgroundDisabled: { conditions: { base: "_1rsrm2f19o", hover: "_1rsrm2f19p", active: "_1rsrm2f19q", selection: "_1rsrm2f19r", focused: "_1rsrm2f19s", focusedVisible: "_1rsrm2f19t" }, defaultClass: "_1rsrm2f19o" }, buttonText: { conditions: { base: "_1rsrm2f19u", hover: "_1rsrm2f19v", active: "_1rsrm2f19w", selection: "_1rsrm2f19x", focused: "_1rsrm2f19y", focusedVisible: "_1rsrm2f19z" }, defaultClass: "_1rsrm2f19u" }, buttonStroke: { conditions: { base: "_1rsrm2f1a0", hover: "_1rsrm2f1a1", active: "_1rsrm2f1a2", selection: "_1rsrm2f1a3", focused: "_1rsrm2f1a4", focusedVisible: "_1rsrm2f1a5" }, defaultClass: "_1rsrm2f1a0" }, buttonTextSecondaryDisabled: { conditions: { base: "_1rsrm2f1a6", hover: "_1rsrm2f1a7", active: "_1rsrm2f1a8", selection: "_1rsrm2f1a9", focused: "_1rsrm2f1aa", focusedVisible: "_1rsrm2f1ab" }, defaultClass: "_1rsrm2f1a6" }, buttonTextSecondary: { conditions: { base: "_1rsrm2f1ac", hover: "_1rsrm2f1ad", active: "_1rsrm2f1ae", selection: "_1rsrm2f1af", focused: "_1rsrm2f1ag", focusedVisible: "_1rsrm2f1ah" }, defaultClass: "_1rsrm2f1ac" }, buttonIconBackgroundHover: { conditions: { base: "_1rsrm2f1ai", hover: "_1rsrm2f1aj", active: "_1rsrm2f1ak", selection: "_1rsrm2f1al", focused: "_1rsrm2f1am", focusedVisible: "_1rsrm2f1an" }, defaultClass: "_1rsrm2f1ai" }, buttonIconBackgroundPressed: { conditions: { base: "_1rsrm2f1ao", hover: "_1rsrm2f1ap", active: "_1rsrm2f1aq", selection: "_1rsrm2f1ar", focused: "_1rsrm2f1as", focusedVisible: "_1rsrm2f1at" }, defaultClass: "_1rsrm2f1ao" }, buttonIconStroke: { conditions: { base: "_1rsrm2f1au", hover: "_1rsrm2f1av", active: "_1rsrm2f1aw", selection: "_1rsrm2f1ax", focused: "_1rsrm2f1ay", focusedVisible: "_1rsrm2f1az" }, defaultClass: "_1rsrm2f1au" } } } } }, { conditions: { defaultCondition: "smallScreen", conditionNames: ["smallScreen", "largeScreen"], responsiveArray: void 0 }, styles: { alignItems: { values: { "flex-start": { conditions: { smallScreen: "_1rsrm2f0", largeScreen: "_1rsrm2f1" }, defaultClass: "_1rsrm2f0" }, "flex-end": { conditions: { smallScreen: "_1rsrm2f2", largeScreen: "_1rsrm2f3" }, defaultClass: "_1rsrm2f2" }, center: { conditions: { smallScreen: "_1rsrm2f4", largeScreen: "_1rsrm2f5" }, defaultClass: "_1rsrm2f4" } } }, display: { values: { none: { conditions: { smallScreen: "_1rsrm2f6", largeScreen: "_1rsrm2f7" }, defaultClass: "_1rsrm2f6" }, block: { conditions: { smallScreen: "_1rsrm2f8", largeScreen: "_1rsrm2f9" }, defaultClass: "_1rsrm2f8" }, flex: { conditions: { smallScreen: "_1rsrm2fa", largeScreen: "_1rsrm2fb" }, defaultClass: "_1rsrm2fa" }, inline: { conditions: { smallScreen: "_1rsrm2fc", largeScreen: "_1rsrm2fd" }, defaultClass: "_1rsrm2fc" } } } } }, { conditions: void 0, styles: { margin: { mappings: ["marginTop", "marginBottom", "marginLeft", "marginRight"] }, marginX: { mappings: ["marginLeft", "marginRight"] }, marginY: { mappings: ["marginTop", "marginBottom"] }, padding: { mappings: ["paddingTop", "paddingBottom", "paddingLeft", "paddingRight"] }, paddingX: { mappings: ["paddingLeft", "paddingRight"] }, paddingY: { mappings: ["paddingTop", "paddingBottom"] }, alignSelf: { values: { "flex-start": { defaultClass: "_1rsrm2fe" }, "flex-end": { defaultClass: "_1rsrm2ff" }, center: { defaultClass: "_1rsrm2fg" } } }, backgroundSize: { values: { cover: { defaultClass: "_1rsrm2fh" } } }, borderRadius: { values: { "1": { defaultClass: "_1rsrm2fi" }, "4": { defaultClass: "_1rsrm2fj" }, "6": { defaultClass: "_1rsrm2fk" }, "8": { defaultClass: "_1rsrm2fl" }, "10": { defaultClass: "_1rsrm2fm" }, "13": { defaultClass: "_1rsrm2fn" }, "16": { defaultClass: "_1rsrm2fo" }, "24": { defaultClass: "_1rsrm2fp" }, actionButton: { defaultClass: "_1rsrm2fq" }, connectButton: { defaultClass: "_1rsrm2fr" }, menuButton: { defaultClass: "_1rsrm2fs" }, modal: { defaultClass: "_1rsrm2ft" }, modalMobile: { defaultClass: "_1rsrm2fu" }, "25%": { defaultClass: "_1rsrm2fv" }, full: { defaultClass: "_1rsrm2fw" } } }, borderStyle: { values: { solid: { defaultClass: "_1rsrm2fx" }, dotted: { defaultClass: "_1rsrm2fy" }, hidden: { defaultClass: "_1rsrm2fz" } } }, borderWidth: { values: { "0": { defaultClass: "_1rsrm2f10" }, "1": { defaultClass: "_1rsrm2f11" }, "2": { defaultClass: "_1rsrm2f12" }, "3": { defaultClass: "_1rsrm2f13" }, "4": { defaultClass: "_1rsrm2f14" }, "0.5": { defaultClass: "_1rsrm2f15" } } }, cursor: { values: { pointer: { defaultClass: "_1rsrm2f16" }, "not-allowed": { defaultClass: "_1rsrm2f17" }, "default": { defaultClass: "_1rsrm2f18" } } }, flexDirection: { values: { row: { defaultClass: "_1rsrm2f19" }, column: { defaultClass: "_1rsrm2f1a" } } }, fontFamily: { values: { body: { defaultClass: "_1rsrm2f1b" } } }, fontSize: { values: { "8": { defaultClass: "_1rsrm2f1c" }, "10": { defaultClass: "_1rsrm2f1d" }, "12": { defaultClass: "_1rsrm2f1e" }, "13": { defaultClass: "_1rsrm2f1f" }, "14": { defaultClass: "_1rsrm2f1g" }, "16": { defaultClass: "_1rsrm2f1h" }, "18": { defaultClass: "_1rsrm2f1i" }, "20": { defaultClass: "_1rsrm2f1j" }, "23": { defaultClass: "_1rsrm2f1k" }, "40": { defaultClass: "_1rsrm2f1l" }, "57": { defaultClass: "_1rsrm2f1m" } } }, fontWeight: { values: { regular: { defaultClass: "_1rsrm2f1n" }, medium: { defaultClass: "_1rsrm2f1o" }, semibold: { defaultClass: "_1rsrm2f1p" }, bold: { defaultClass: "_1rsrm2f1q" }, heavy: { defaultClass: "_1rsrm2f1r" } } }, gap: { values: { "0": { defaultClass: "_1rsrm2f1s" }, "1": { defaultClass: "_1rsrm2f1t" }, "2": { defaultClass: "_1rsrm2f1u" }, "3": { defaultClass: "_1rsrm2f1v" }, "4": { defaultClass: "_1rsrm2f1w" }, "5": { defaultClass: "_1rsrm2f1x" }, "6": { defaultClass: "_1rsrm2f1y" }, "8": { defaultClass: "_1rsrm2f1z" }, "9": { defaultClass: "_1rsrm2f20" }, "10": { defaultClass: "_1rsrm2f21" }, "11": { defaultClass: "_1rsrm2f22" }, "12": { defaultClass: "_1rsrm2f23" }, "13": { defaultClass: "_1rsrm2f24" }, "14": { defaultClass: "_1rsrm2f25" }, "15": { defaultClass: "_1rsrm2f26" }, "16": { defaultClass: "_1rsrm2f27" }, "18": { defaultClass: "_1rsrm2f28" }, "20": { defaultClass: "_1rsrm2f29" }, "24": { defaultClass: "_1rsrm2f2a" }, "28": { defaultClass: "_1rsrm2f2b" }, "30": { defaultClass: "_1rsrm2f2c" }, "32": { defaultClass: "_1rsrm2f2d" }, "36": { defaultClass: "_1rsrm2f2e" }, "44": { defaultClass: "_1rsrm2f2f" }, "64": { defaultClass: "_1rsrm2f2g" }, "-1": { defaultClass: "_1rsrm2f2h" } } }, height: { values: { "1": { defaultClass: "_1rsrm2f2i" }, "2": { defaultClass: "_1rsrm2f2j" }, "4": { defaultClass: "_1rsrm2f2k" }, "8": { defaultClass: "_1rsrm2f2l" }, "10": { defaultClass: "_1rsrm2f2m" }, "12": { defaultClass: "_1rsrm2f2n" }, "14": { defaultClass: "_1rsrm2f2o" }, "16": { defaultClass: "_1rsrm2f2p" }, "18": { defaultClass: "_1rsrm2f2q" }, "20": { defaultClass: "_1rsrm2f2r" }, "24": { defaultClass: "_1rsrm2f2s" }, "28": { defaultClass: "_1rsrm2f2t" }, "30": { defaultClass: "_1rsrm2f2u" }, "32": { defaultClass: "_1rsrm2f2v" }, "34": { defaultClass: "_1rsrm2f2w" }, "36": { defaultClass: "_1rsrm2f2x" }, "40": { defaultClass: "_1rsrm2f2y" }, "44": { defaultClass: "_1rsrm2f2z" }, "48": { defaultClass: "_1rsrm2f30" }, "50": { defaultClass: "_1rsrm2f31" }, "54": { defaultClass: "_1rsrm2f32" }, "60": { defaultClass: "_1rsrm2f33" }, "93": { defaultClass: "_1rsrm2f34" }, "100": { defaultClass: "_1rsrm2f35" }, "108": { defaultClass: "_1rsrm2f36" }, "162": { defaultClass: "_1rsrm2f37" }, "192": { defaultClass: "_1rsrm2f38" }, "200": { defaultClass: "_1rsrm2f39" }, "210": { defaultClass: "_1rsrm2f3a" }, "220": { defaultClass: "_1rsrm2f3b" }, "230": { defaultClass: "_1rsrm2f3c" }, "240": { defaultClass: "_1rsrm2f3d" }, "256": { defaultClass: "_1rsrm2f3e" }, "320": { defaultClass: "_1rsrm2f3f" }, "400": { defaultClass: "_1rsrm2f3g" }, "440": { defaultClass: "_1rsrm2f3h" }, "600": { defaultClass: "_1rsrm2f3i" }, half: { defaultClass: "_1rsrm2f3j" }, full: { defaultClass: "_1rsrm2f3k" }, max: { defaultClass: "_1rsrm2f3l" } } }, justifyContent: { values: { "flex-start": { defaultClass: "_1rsrm2f3m" }, "flex-end": { defaultClass: "_1rsrm2f3n" }, center: { defaultClass: "_1rsrm2f3o" }, "space-between": { defaultClass: "_1rsrm2f3p" }, "space-around": { defaultClass: "_1rsrm2f3q" } } }, textAlign: { values: { left: { defaultClass: "_1rsrm2f3r" }, center: { defaultClass: "_1rsrm2f3s" }, right: { defaultClass: "_1rsrm2f3t" }, inherit: { defaultClass: "_1rsrm2f3u" } } }, marginBottom: { values: { "0": { defaultClass: "_1rsrm2f3v" }, "1": { defaultClass: "_1rsrm2f3w" }, "2": { defaultClass: "_1rsrm2f3x" }, "3": { defaultClass: "_1rsrm2f3y" }, "4": { defaultClass: "_1rsrm2f3z" }, "5": { defaultClass: "_1rsrm2f40" }, "6": { defaultClass: "_1rsrm2f41" }, "8": { defaultClass: "_1rsrm2f42" }, "9": { defaultClass: "_1rsrm2f43" }, "10": { defaultClass: "_1rsrm2f44" }, "11": { defaultClass: "_1rsrm2f45" }, "12": { defaultClass: "_1rsrm2f46" }, "13": { defaultClass: "_1rsrm2f47" }, "14": { defaultClass: "_1rsrm2f48" }, "15": { defaultClass: "_1rsrm2f49" }, "16": { defaultClass: "_1rsrm2f4a" }, "18": { defaultClass: "_1rsrm2f4b" }, "20": { defaultClass: "_1rsrm2f4c" }, "24": { defaultClass: "_1rsrm2f4d" }, "28": { defaultClass: "_1rsrm2f4e" }, "30": { defaultClass: "_1rsrm2f4f" }, "32": { defaultClass: "_1rsrm2f4g" }, "36": { defaultClass: "_1rsrm2f4h" }, "44": { defaultClass: "_1rsrm2f4i" }, "64": { defaultClass: "_1rsrm2f4j" }, auto: { defaultClass: "_1rsrm2f4k" }, "-18": { defaultClass: "_1rsrm2f4l" }, "-1": { defaultClass: "_1rsrm2f4m" } } }, marginLeft: { values: { "0": { defaultClass: "_1rsrm2f4n" }, "1": { defaultClass: "_1rsrm2f4o" }, "2": { defaultClass: "_1rsrm2f4p" }, "3": { defaultClass: "_1rsrm2f4q" }, "4": { defaultClass: "_1rsrm2f4r" }, "5": { defaultClass: "_1rsrm2f4s" }, "6": { defaultClass: "_1rsrm2f4t" }, "8": { defaultClass: "_1rsrm2f4u" }, "9": { defaultClass: "_1rsrm2f4v" }, "10": { defaultClass: "_1rsrm2f4w" }, "11": { defaultClass: "_1rsrm2f4x" }, "12": { defaultClass: "_1rsrm2f4y" }, "13": { defaultClass: "_1rsrm2f4z" }, "14": { defaultClass: "_1rsrm2f50" }, "15": { defaultClass: "_1rsrm2f51" }, "16": { defaultClass: "_1rsrm2f52" }, "18": { defaultClass: "_1rsrm2f53" }, "20": { defaultClass: "_1rsrm2f54" }, "24": { defaultClass: "_1rsrm2f55" }, "28": { defaultClass: "_1rsrm2f56" }, "30": { defaultClass: "_1rsrm2f57" }, "32": { defaultClass: "_1rsrm2f58" }, "36": { defaultClass: "_1rsrm2f59" }, "44": { defaultClass: "_1rsrm2f5a" }, "64": { defaultClass: "_1rsrm2f5b" }, auto: { defaultClass: "_1rsrm2f5c" }, "-18": { defaultClass: "_1rsrm2f5d" }, "-1": { defaultClass: "_1rsrm2f5e" } } }, marginRight: { values: { "0": { defaultClass: "_1rsrm2f5f" }, "1": { defaultClass: "_1rsrm2f5g" }, "2": { defaultClass: "_1rsrm2f5h" }, "3": { defaultClass: "_1rsrm2f5i" }, "4": { defaultClass: "_1rsrm2f5j" }, "5": { defaultClass: "_1rsrm2f5k" }, "6": { defaultClass: "_1rsrm2f5l" }, "8": { defaultClass: "_1rsrm2f5m" }, "9": { defaultClass: "_1rsrm2f5n" }, "10": { defaultClass: "_1rsrm2f5o" }, "11": { defaultClass: "_1rsrm2f5p" }, "12": { defaultClass: "_1rsrm2f5q" }, "13": { defaultClass: "_1rsrm2f5r" }, "14": { defaultClass: "_1rsrm2f5s" }, "15": { defaultClass: "_1rsrm2f5t" }, "16": { defaultClass: "_1rsrm2f5u" }, "18": { defaultClass: "_1rsrm2f5v" }, "20": { defaultClass: "_1rsrm2f5w" }, "24": { defaultClass: "_1rsrm2f5x" }, "28": { defaultClass: "_1rsrm2f5y" }, "30": { defaultClass: "_1rsrm2f5z" }, "32": { defaultClass: "_1rsrm2f60" }, "36": { defaultClass: "_1rsrm2f61" }, "44": { defaultClass: "_1rsrm2f62" }, "64": { defaultClass: "_1rsrm2f63" }, auto: { defaultClass: "_1rsrm2f64" }, "-18": { defaultClass: "_1rsrm2f65" }, "-1": { defaultClass: "_1rsrm2f66" } } }, marginTop: { values: { "0": { defaultClass: "_1rsrm2f67" }, "1": { defaultClass: "_1rsrm2f68" }, "2": { defaultClass: "_1rsrm2f69" }, "3": { defaultClass: "_1rsrm2f6a" }, "4": { defaultClass: "_1rsrm2f6b" }, "5": { defaultClass: "_1rsrm2f6c" }, "6": { defaultClass: "_1rsrm2f6d" }, "8": { defaultClass: "_1rsrm2f6e" }, "9": { defaultClass: "_1rsrm2f6f" }, "10": { defaultClass: "_1rsrm2f6g" }, "11": { defaultClass: "_1rsrm2f6h" }, "12": { defaultClass: "_1rsrm2f6i" }, "13": { defaultClass: "_1rsrm2f6j" }, "14": { defaultClass: "_1rsrm2f6k" }, "15": { defaultClass: "_1rsrm2f6l" }, "16": { defaultClass: "_1rsrm2f6m" }, "18": { defaultClass: "_1rsrm2f6n" }, "20": { defaultClass: "_1rsrm2f6o" }, "24": { defaultClass: "_1rsrm2f6p" }, "28": { defaultClass: "_1rsrm2f6q" }, "30": { defaultClass: "_1rsrm2f6r" }, "32": { defaultClass: "_1rsrm2f6s" }, "36": { defaultClass: "_1rsrm2f6t" }, "44": { defaultClass: "_1rsrm2f6u" }, "64": { defaultClass: "_1rsrm2f6v" }, auto: { defaultClass: "_1rsrm2f6w" }, "-18": { defaultClass: "_1rsrm2f6x" }, "-1": { defaultClass: "_1rsrm2f6y" } } }, minHeight: { values: { "1": { defaultClass: "_1rsrm2f6z" }, "2": { defaultClass: "_1rsrm2f70" }, "4": { defaultClass: "_1rsrm2f71" }, "8": { defaultClass: "_1rsrm2f72" }, "10": { defaultClass: "_1rsrm2f73" }, "12": { defaultClass: "_1rsrm2f74" }, "14": { defaultClass: "_1rsrm2f75" }, "16": { defaultClass: "_1rsrm2f76" }, "18": { defaultClass: "_1rsrm2f77" }, "20": { defaultClass: "_1rsrm2f78" }, "24": { defaultClass: "_1rsrm2f79" }, "28": { defaultClass: "_1rsrm2f7a" }, "30": { defaultClass: "_1rsrm2f7b" }, "32": { defaultClass: "_1rsrm2f7c" }, "34": { defaultClass: "_1rsrm2f7d" }, "36": { defaultClass: "_1rsrm2f7e" }, "40": { defaultClass: "_1rsrm2f7f" }, "44": { defaultClass: "_1rsrm2f7g" }, "48": { defaultClass: "_1rsrm2f7h" }, "50": { defaultClass: "_1rsrm2f7i" }, "54": { defaultClass: "_1rsrm2f7j" }, "60": { defaultClass: "_1rsrm2f7k" }, "93": { defaultClass: "_1rsrm2f7l" }, "100": { defaultClass: "_1rsrm2f7m" }, "108": { defaultClass: "_1rsrm2f7n" }, "162": { defaultClass: "_1rsrm2f7o" }, "192": { defaultClass: "_1rsrm2f7p" }, "200": { defaultClass: "_1rsrm2f7q" }, "210": { defaultClass: "_1rsrm2f7r" }, "220": { defaultClass: "_1rsrm2f7s" }, "230": { defaultClass: "_1rsrm2f7t" }, "240": { defaultClass: "_1rsrm2f7u" }, "256": { defaultClass: "_1rsrm2f7v" }, "320": { defaultClass: "_1rsrm2f7w" }, "400": { defaultClass: "_1rsrm2f7x" }, "440": { defaultClass: "_1rsrm2f7y" }, "600": { defaultClass: "_1rsrm2f7z" }, half: { defaultClass: "_1rsrm2f80" }, full: { defaultClass: "_1rsrm2f81" }, max: { defaultClass: "_1rsrm2f82" } } }, maxHeight: { values: { "1": { defaultClass: "_1rsrm2f83" }, "2": { defaultClass: "_1rsrm2f84" }, "4": { defaultClass: "_1rsrm2f85" }, "8": { defaultClass: "_1rsrm2f86" }, "10": { defaultClass: "_1rsrm2f87" }, "12": { defaultClass: "_1rsrm2f88" }, "14": { defaultClass: "_1rsrm2f89" }, "16": { defaultClass: "_1rsrm2f8a" }, "18": { defaultClass: "_1rsrm2f8b" }, "20": { defaultClass: "_1rsrm2f8c" }, "24": { defaultClass: "_1rsrm2f8d" }, "28": { defaultClass: "_1rsrm2f8e" }, "30": { defaultClass: "_1rsrm2f8f" }, "32": { defaultClass: "_1rsrm2f8g" }, "34": { defaultClass: "_1rsrm2f8h" }, "36": { defaultClass: "_1rsrm2f8i" }, "40": { defaultClass: "_1rsrm2f8j" }, "44": { defaultClass: "_1rsrm2f8k" }, "48": { defaultClass: "_1rsrm2f8l" }, "50": { defaultClass: "_1rsrm2f8m" }, "54": { defaultClass: "_1rsrm2f8n" }, "60": { defaultClass: "_1rsrm2f8o" }, "93": { defaultClass: "_1rsrm2f8p" }, "100": { defaultClass: "_1rsrm2f8q" }, "108": { defaultClass: "_1rsrm2f8r" }, "162": { defaultClass: "_1rsrm2f8s" }, "192": { defaultClass: "_1rsrm2f8t" }, "200": { defaultClass: "_1rsrm2f8u" }, "210": { defaultClass: "_1rsrm2f8v" }, "220": { defaultClass: "_1rsrm2f8w" }, "230": { defaultClass: "_1rsrm2f8x" }, "240": { defaultClass: "_1rsrm2f8y" }, "256": { defaultClass: "_1rsrm2f8z" }, "320": { defaultClass: "_1rsrm2f90" }, "400": { defaultClass: "_1rsrm2f91" }, "440": { defaultClass: "_1rsrm2f92" }, "600": { defaultClass: "_1rsrm2f93" }, half: { defaultClass: "_1rsrm2f94" }, full: { defaultClass: "_1rsrm2f95" }, max: { defaultClass: "_1rsrm2f96" } } }, maxWidth: { values: { "1": { defaultClass: "_1rsrm2f97" }, "2": { defaultClass: "_1rsrm2f98" }, "4": { defaultClass: "_1rsrm2f99" }, "8": { defaultClass: "_1rsrm2f9a" }, "10": { defaultClass: "_1rsrm2f9b" }, "12": { defaultClass: "_1rsrm2f9c" }, "14": { defaultClass: "_1rsrm2f9d" }, "16": { defaultClass: "_1rsrm2f9e" }, "18": { defaultClass: "_1rsrm2f9f" }, "20": { defaultClass: "_1rsrm2f9g" }, "24": { defaultClass: "_1rsrm2f9h" }, "28": { defaultClass: "_1rsrm2f9i" }, "30": { defaultClass: "_1rsrm2f9j" }, "32": { defaultClass: "_1rsrm2f9k" }, "34": { defaultClass: "_1rsrm2f9l" }, "36": { defaultClass: "_1rsrm2f9m" }, "40": { defaultClass: "_1rsrm2f9n" }, "44": { defaultClass: "_1rsrm2f9o" }, "48": { defaultClass: "_1rsrm2f9p" }, "50": { defaultClass: "_1rsrm2f9q" }, "54": { defaultClass: "_1rsrm2f9r" }, "60": { defaultClass: "_1rsrm2f9s" }, "93": { defaultClass: "_1rsrm2f9t" }, "100": { defaultClass: "_1rsrm2f9u" }, "108": { defaultClass: "_1rsrm2f9v" }, "162": { defaultClass: "_1rsrm2f9w" }, "192": { defaultClass: "_1rsrm2f9x" }, "200": { defaultClass: "_1rsrm2f9y" }, "210": { defaultClass: "_1rsrm2f9z" }, "220": { defaultClass: "_1rsrm2fa0" }, "230": { defaultClass: "_1rsrm2fa1" }, "240": { defaultClass: "_1rsrm2fa2" }, "256": { defaultClass: "_1rsrm2fa3" }, "320": { defaultClass: "_1rsrm2fa4" }, "400": { defaultClass: "_1rsrm2fa5" }, "440": { defaultClass: "_1rsrm2fa6" }, "600": { defaultClass: "_1rsrm2fa7" }, half: { defaultClass: "_1rsrm2fa8" }, full: { defaultClass: "_1rsrm2fa9" }, max: { defaultClass: "_1rsrm2faa" } } }, minWidth: { values: { "1": { defaultClass: "_1rsrm2fab" }, "2": { defaultClass: "_1rsrm2fac" }, "4": { defaultClass: "_1rsrm2fad" }, "8": { defaultClass: "_1rsrm2fae" }, "10": { defaultClass: "_1rsrm2faf" }, "12": { defaultClass: "_1rsrm2fag" }, "14": { defaultClass: "_1rsrm2fah" }, "16": { defaultClass: "_1rsrm2fai" }, "18": { defaultClass: "_1rsrm2faj" }, "20": { defaultClass: "_1rsrm2fak" }, "24": { defaultClass: "_1rsrm2fal" }, "28": { defaultClass: "_1rsrm2fam" }, "30": { defaultClass: "_1rsrm2fan" }, "32": { defaultClass: "_1rsrm2fao" }, "34": { defaultClass: "_1rsrm2fap" }, "36": { defaultClass: "_1rsrm2faq" }, "40": { defaultClass: "_1rsrm2far" }, "44": { defaultClass: "_1rsrm2fas" }, "48": { defaultClass: "_1rsrm2fat" }, "50": { defaultClass: "_1rsrm2fau" }, "54": { defaultClass: "_1rsrm2fav" }, "60": { defaultClass: "_1rsrm2faw" }, "93": { defaultClass: "_1rsrm2fax" }, "100": { defaultClass: "_1rsrm2fay" }, "108": { defaultClass: "_1rsrm2faz" }, "162": { defaultClass: "_1rsrm2fb0" }, "192": { defaultClass: "_1rsrm2fb1" }, "200": { defaultClass: "_1rsrm2fb2" }, "210": { defaultClass: "_1rsrm2fb3" }, "220": { defaultClass: "_1rsrm2fb4" }, "230": { defaultClass: "_1rsrm2fb5" }, "240": { defaultClass: "_1rsrm2fb6" }, "256": { defaultClass: "_1rsrm2fb7" }, "320": { defaultClass: "_1rsrm2fb8" }, "400": { defaultClass: "_1rsrm2fb9" }, "440": { defaultClass: "_1rsrm2fba" }, "600": { defaultClass: "_1rsrm2fbb" }, half: { defaultClass: "_1rsrm2fbc" }, full: { defaultClass: "_1rsrm2fbd" }, max: { defaultClass: "_1rsrm2fbe" } } }, overflow: { values: { hidden: { defaultClass: "_1rsrm2fbf" } } }, paddingBottom: { values: { "0": { defaultClass: "_1rsrm2fbg" }, "1": { defaultClass: "_1rsrm2fbh" }, "2": { defaultClass: "_1rsrm2fbi" }, "3": { defaultClass: "_1rsrm2fbj" }, "4": { defaultClass: "_1rsrm2fbk" }, "5": { defaultClass: "_1rsrm2fbl" }, "6": { defaultClass: "_1rsrm2fbm" }, "8": { defaultClass: "_1rsrm2fbn" }, "9": { defaultClass: "_1rsrm2fbo" }, "10": { defaultClass: "_1rsrm2fbp" }, "11": { defaultClass: "_1rsrm2fbq" }, "12": { defaultClass: "_1rsrm2fbr" }, "13": { defaultClass: "_1rsrm2fbs" }, "14": { defaultClass: "_1rsrm2fbt" }, "15": { defaultClass: "_1rsrm2fbu" }, "16": { defaultClass: "_1rsrm2fbv" }, "18": { defaultClass: "_1rsrm2fbw" }, "20": { defaultClass: "_1rsrm2fbx" }, "24": { defaultClass: "_1rsrm2fby" }, "28": { defaultClass: "_1rsrm2fbz" }, "30": { defaultClass: "_1rsrm2fc0" }, "32": { defaultClass: "_1rsrm2fc1" }, "36": { defaultClass: "_1rsrm2fc2" }, "44": { defaultClass: "_1rsrm2fc3" }, "64": { defaultClass: "_1rsrm2fc4" }, "-1": { defaultClass: "_1rsrm2fc5" } } }, paddingLeft: { values: { "0": { defaultClass: "_1rsrm2fc6" }, "1": { defaultClass: "_1rsrm2fc7" }, "2": { defaultClass: "_1rsrm2fc8" }, "3": { defaultClass: "_1rsrm2fc9" }, "4": { defaultClass: "_1rsrm2fca" }, "5": { defaultClass: "_1rsrm2fcb" }, "6": { defaultClass: "_1rsrm2fcc" }, "8": { defaultClass: "_1rsrm2fcd" }, "9": { defaultClass: "_1rsrm2fce" }, "10": { defaultClass: "_1rsrm2fcf" }, "11": { defaultClass: "_1rsrm2fcg" }, "12": { defaultClass: "_1rsrm2fch" }, "13": { defaultClass: "_1rsrm2fci" }, "14": { defaultClass: "_1rsrm2fcj" }, "15": { defaultClass: "_1rsrm2fck" }, "16": { defaultClass: "_1rsrm2fcl" }, "18": { defaultClass: "_1rsrm2fcm" }, "20": { defaultClass: "_1rsrm2fcn" }, "24": { defaultClass: "_1rsrm2fco" }, "28": { defaultClass: "_1rsrm2fcp" }, "30": { defaultClass: "_1rsrm2fcq" }, "32": { defaultClass: "_1rsrm2fcr" }, "36": { defaultClass: "_1rsrm2fcs" }, "44": { defaultClass: "_1rsrm2fct" }, "64": { defaultClass: "_1rsrm2fcu" }, "-1": { defaultClass: "_1rsrm2fcv" } } }, paddingRight: { values: { "0": { defaultClass: "_1rsrm2fcw" }, "1": { defaultClass: "_1rsrm2fcx" }, "2": { defaultClass: "_1rsrm2fcy" }, "3": { defaultClass: "_1rsrm2fcz" }, "4": { defaultClass: "_1rsrm2fd0" }, "5": { defaultClass: "_1rsrm2fd1" }, "6": { defaultClass: "_1rsrm2fd2" }, "8": { defaultClass: "_1rsrm2fd3" }, "9": { defaultClass: "_1rsrm2fd4" }, "10": { defaultClass: "_1rsrm2fd5" }, "11": { defaultClass: "_1rsrm2fd6" }, "12": { defaultClass: "_1rsrm2fd7" }, "13": { defaultClass: "_1rsrm2fd8" }, "14": { defaultClass: "_1rsrm2fd9" }, "15": { defaultClass: "_1rsrm2fda" }, "16": { defaultClass: "_1rsrm2fdb" }, "18": { defaultClass: "_1rsrm2fdc" }, "20": { defaultClass: "_1rsrm2fdd" }, "24": { defaultClass: "_1rsrm2fde" }, "28": { defaultClass: "_1rsrm2fdf" }, "30": { defaultClass: "_1rsrm2fdg" }, "32": { defaultClass: "_1rsrm2fdh" }, "36": { defaultClass: "_1rsrm2fdi" }, "44": { defaultClass: "_1rsrm2fdj" }, "64": { defaultClass: "_1rsrm2fdk" }, "-1": { defaultClass: "_1rsrm2fdl" } } }, paddingTop: { values: { "0": { defaultClass: "_1rsrm2fdm" }, "1": { defaultClass: "_1rsrm2fdn" }, "2": { defaultClass: "_1rsrm2fdo" }, "3": { defaultClass: "_1rsrm2fdp" }, "4": { defaultClass: "_1rsrm2fdq" }, "5": { defaultClass: "_1rsrm2fdr" }, "6": { defaultClass: "_1rsrm2fds" }, "8": { defaultClass: "_1rsrm2fdt" }, "9": { defaultClass: "_1rsrm2fdu" }, "10": { defaultClass: "_1rsrm2fdv" }, "11": { defaultClass: "_1rsrm2fdw" }, "12": { defaultClass: "_1rsrm2fdx" }, "13": { defaultClass: "_1rsrm2fdy" }, "14": { defaultClass: "_1rsrm2fdz" }, "15": { defaultClass: "_1rsrm2fe0" }, "16": { defaultClass: "_1rsrm2fe1" }, "18": { defaultClass: "_1rsrm2fe2" }, "20": { defaultClass: "_1rsrm2fe3" }, "24": { defaultClass: "_1rsrm2fe4" }, "28": { defaultClass: "_1rsrm2fe5" }, "30": { defaultClass: "_1rsrm2fe6" }, "32": { defaultClass: "_1rsrm2fe7" }, "36": { defaultClass: "_1rsrm2fe8" }, "44": { defaultClass: "_1rsrm2fe9" }, "64": { defaultClass: "_1rsrm2fea" }, "-1": { defaultClass: "_1rsrm2feb" } } }, position: { values: { absolute: { defaultClass: "_1rsrm2fec" }, fixed: { defaultClass: "_1rsrm2fed" }, relative: { defaultClass: "_1rsrm2fee" } } }, right: { values: { "0": { defaultClass: "_1rsrm2fef" } } }, transition: { values: { "default": { defaultClass: "_1rsrm2feg" }, transform: { defaultClass: "_1rsrm2feh" } } }, userSelect: { values: { none: { defaultClass: "_1rsrm2fei" } } }, width: { values: { "1": { defaultClass: "_1rsrm2fej" }, "2": { defaultClass: "_1rsrm2fek" }, "4": { defaultClass: "_1rsrm2fel" }, "8": { defaultClass: "_1rsrm2fem" }, "10": { defaultClass: "_1rsrm2fen" }, "12": { defaultClass: "_1rsrm2feo" }, "14": { defaultClass: "_1rsrm2fep" }, "16": { defaultClass: "_1rsrm2feq" }, "18": { defaultClass: "_1rsrm2fer" }, "20": { defaultClass: "_1rsrm2fes" }, "24": { defaultClass: "_1rsrm2fet" }, "28": { defaultClass: "_1rsrm2feu" }, "30": { defaultClass: "_1rsrm2fev" }, "32": { defaultClass: "_1rsrm2few" }, "34": { defaultClass: "_1rsrm2fex" }, "36": { defaultClass: "_1rsrm2fey" }, "40": { defaultClass: "_1rsrm2fez" }, "44": { defaultClass: "_1rsrm2ff0" }, "48": { defaultClass: "_1rsrm2ff1" }, "50": { defaultClass: "_1rsrm2ff2" }, "54": { defaultClass: "_1rsrm2ff3" }, "60": { defaultClass: "_1rsrm2ff4" }, "93": { defaultClass: "_1rsrm2ff5" }, "100": { defaultClass: "_1rsrm2ff6" }, "108": { defaultClass: "_1rsrm2ff7" }, "162": { defaultClass: "_1rsrm2ff8" }, "192": { defaultClass: "_1rsrm2ff9" }, "200": { defaultClass: "_1rsrm2ffa" }, "210": { defaultClass: "_1rsrm2ffb" }, "220": { defaultClass: "_1rsrm2ffc" }, "230": { defaultClass: "_1rsrm2ffd" }, "240": { defaultClass: "_1rsrm2ffe" }, "256": { defaultClass: "_1rsrm2fff" }, "320": { defaultClass: "_1rsrm2ffg" }, "400": { defaultClass: "_1rsrm2ffh" }, "440": { defaultClass: "_1rsrm2ffi" }, "600": { defaultClass: "_1rsrm2ffj" }, half: { defaultClass: "_1rsrm2ffk" }, full: { defaultClass: "_1rsrm2ffl" }, max: { defaultClass: "_1rsrm2ffm" } } }, backdropFilter: { values: { modalOverlay: { defaultClass: "_1rsrm2ffn" } } } } });
|
|
33
|
+
var sprinkles = _ad221({ conditions: { defaultCondition: "base", conditionNames: ["base", "hover", "active", "selection", "focused", "focusedVisible"], responsiveArray: void 0 }, styles: { background: { values: { accentColor: { conditions: { base: "_1rsrm2fgu", hover: "_1rsrm2fgv", active: "_1rsrm2fgw", selection: "_1rsrm2fgx", focused: "_1rsrm2fgy", focusedVisible: "_1rsrm2fgz" }, defaultClass: "_1rsrm2fgu" }, accentColorForeground: { conditions: { base: "_1rsrm2fh0", hover: "_1rsrm2fh1", active: "_1rsrm2fh2", selection: "_1rsrm2fh3", focused: "_1rsrm2fh4", focusedVisible: "_1rsrm2fh5" }, defaultClass: "_1rsrm2fh0" }, actionButtonBorder: { conditions: { base: "_1rsrm2fh6", hover: "_1rsrm2fh7", active: "_1rsrm2fh8", selection: "_1rsrm2fh9", focused: "_1rsrm2fha", focusedVisible: "_1rsrm2fhb" }, defaultClass: "_1rsrm2fh6" }, connectButtonBackground: { conditions: { base: "_1rsrm2fhc", hover: "_1rsrm2fhd", active: "_1rsrm2fhe", selection: "_1rsrm2fhf", focused: "_1rsrm2fhg", focusedVisible: "_1rsrm2fhh" }, defaultClass: "_1rsrm2fhc" }, connectButtonBackgroundError: { conditions: { base: "_1rsrm2fhi", hover: "_1rsrm2fhj", active: "_1rsrm2fhk", selection: "_1rsrm2fhl", focused: "_1rsrm2fhm", focusedVisible: "_1rsrm2fhn" }, defaultClass: "_1rsrm2fhi" }, connectButtonText: { conditions: { base: "_1rsrm2fho", hover: "_1rsrm2fhp", active: "_1rsrm2fhq", selection: "_1rsrm2fhr", focused: "_1rsrm2fhs", focusedVisible: "_1rsrm2fht" }, defaultClass: "_1rsrm2fho" }, connectButtonTextError: { conditions: { base: "_1rsrm2fhu", hover: "_1rsrm2fhv", active: "_1rsrm2fhw", selection: "_1rsrm2fhx", focused: "_1rsrm2fhy", focusedVisible: "_1rsrm2fhz" }, defaultClass: "_1rsrm2fhu" }, connectionIndicator: { conditions: { base: "_1rsrm2fi0", hover: "_1rsrm2fi1", active: "_1rsrm2fi2", selection: "_1rsrm2fi3", focused: "_1rsrm2fi4", focusedVisible: "_1rsrm2fi5" }, defaultClass: "_1rsrm2fi0" }, error: { conditions: { base: "_1rsrm2fi6", hover: "_1rsrm2fi7", active: "_1rsrm2fi8", selection: "_1rsrm2fi9", focused: "_1rsrm2fia", focusedVisible: "_1rsrm2fib" }, defaultClass: "_1rsrm2fi6" }, generalBorder: { conditions: { base: "_1rsrm2fic", hover: "_1rsrm2fid", active: "_1rsrm2fie", selection: "_1rsrm2fif", focused: "_1rsrm2fig", focusedVisible: "_1rsrm2fih" }, defaultClass: "_1rsrm2fic" }, generalBorderDim: { conditions: { base: "_1rsrm2fii", hover: "_1rsrm2fij", active: "_1rsrm2fik", selection: "_1rsrm2fil", focused: "_1rsrm2fim", focusedVisible: "_1rsrm2fin" }, defaultClass: "_1rsrm2fii" }, menuItemBackground: { conditions: { base: "_1rsrm2fio", hover: "_1rsrm2fip", active: "_1rsrm2fiq", selection: "_1rsrm2fir", focused: "_1rsrm2fis", focusedVisible: "_1rsrm2fit" }, defaultClass: "_1rsrm2fio" }, selectedOptionBorder: { conditions: { base: "_1rsrm2fiu", hover: "_1rsrm2fiv", active: "_1rsrm2fiw", selection: "_1rsrm2fix", focused: "_1rsrm2fiy", focusedVisible: "_1rsrm2fiz" }, defaultClass: "_1rsrm2fiu" }, paymentOptionBorderDisabled: { conditions: { base: "_1rsrm2fj0", hover: "_1rsrm2fj1", active: "_1rsrm2fj2", selection: "_1rsrm2fj3", focused: "_1rsrm2fj4", focusedVisible: "_1rsrm2fj5" }, defaultClass: "_1rsrm2fj0" }, standby: { conditions: { base: "_1rsrm2fj6", hover: "_1rsrm2fj7", active: "_1rsrm2fj8", selection: "_1rsrm2fj9", focused: "_1rsrm2fja", focusedVisible: "_1rsrm2fjb" }, defaultClass: "_1rsrm2fj6" }, success: { conditions: { base: "_1rsrm2fjc", hover: "_1rsrm2fjd", active: "_1rsrm2fje", selection: "_1rsrm2fjf", focused: "_1rsrm2fjg", focusedVisible: "_1rsrm2fjh" }, defaultClass: "_1rsrm2fjc" }, loadingBase: { conditions: { base: "_1rsrm2fji", hover: "_1rsrm2fjj", active: "_1rsrm2fjk", selection: "_1rsrm2fjl", focused: "_1rsrm2fjm", focusedVisible: "_1rsrm2fjn" }, defaultClass: "_1rsrm2fji" }, loadingAccent: { conditions: { base: "_1rsrm2fjo", hover: "_1rsrm2fjp", active: "_1rsrm2fjq", selection: "_1rsrm2fjr", focused: "_1rsrm2fjs", focusedVisible: "_1rsrm2fjt" }, defaultClass: "_1rsrm2fjo" }, chainIconBorder: { conditions: { base: "_1rsrm2fju", hover: "_1rsrm2fjv", active: "_1rsrm2fjw", selection: "_1rsrm2fjx", focused: "_1rsrm2fjy", focusedVisible: "_1rsrm2fjz" }, defaultClass: "_1rsrm2fju" }, modalBackdrop: { conditions: { base: "_1rsrm2fk0", hover: "_1rsrm2fk1", active: "_1rsrm2fk2", selection: "_1rsrm2fk3", focused: "_1rsrm2fk4", focusedVisible: "_1rsrm2fk5" }, defaultClass: "_1rsrm2fk0" }, modalBackground: { conditions: { base: "_1rsrm2fk6", hover: "_1rsrm2fk7", active: "_1rsrm2fk8", selection: "_1rsrm2fk9", focused: "_1rsrm2fka", focusedVisible: "_1rsrm2fkb" }, defaultClass: "_1rsrm2fk6" }, modalBorder: { conditions: { base: "_1rsrm2fkc", hover: "_1rsrm2fkd", active: "_1rsrm2fke", selection: "_1rsrm2fkf", focused: "_1rsrm2fkg", focusedVisible: "_1rsrm2fkh" }, defaultClass: "_1rsrm2fkc" }, notificationPrimary: { conditions: { base: "_1rsrm2fki", hover: "_1rsrm2fkj", active: "_1rsrm2fkk", selection: "_1rsrm2fkl", focused: "_1rsrm2fkm", focusedVisible: "_1rsrm2fkn" }, defaultClass: "_1rsrm2fki" }, offBackground: { conditions: { base: "_1rsrm2fko", hover: "_1rsrm2fkp", active: "_1rsrm2fkq", selection: "_1rsrm2fkr", focused: "_1rsrm2fks", focusedVisible: "_1rsrm2fkt" }, defaultClass: "_1rsrm2fko" }, hoverState: { conditions: { base: "_1rsrm2fku", hover: "_1rsrm2fkv", active: "_1rsrm2fkw", selection: "_1rsrm2fkx", focused: "_1rsrm2fky", focusedVisible: "_1rsrm2fkz" }, defaultClass: "_1rsrm2fku" }, offBackgroundInverse: { conditions: { base: "_1rsrm2fl0", hover: "_1rsrm2fl1", active: "_1rsrm2fl2", selection: "_1rsrm2fl3", focused: "_1rsrm2fl4", focusedVisible: "_1rsrm2fl5" }, defaultClass: "_1rsrm2fl0" }, dydxSwitchActiveBackground: { conditions: { base: "_1rsrm2fl6", hover: "_1rsrm2fl7", active: "_1rsrm2fl8", selection: "_1rsrm2fl9", focused: "_1rsrm2fla", focusedVisible: "_1rsrm2flb" }, defaultClass: "_1rsrm2fl6" }, primaryText: { conditions: { base: "_1rsrm2flc", hover: "_1rsrm2fld", active: "_1rsrm2fle", selection: "_1rsrm2flf", focused: "_1rsrm2flg", focusedVisible: "_1rsrm2flh" }, defaultClass: "_1rsrm2flc" }, secondaryText: { conditions: { base: "_1rsrm2fli", hover: "_1rsrm2flj", active: "_1rsrm2flk", selection: "_1rsrm2fll", focused: "_1rsrm2flm", focusedVisible: "_1rsrm2fln" }, defaultClass: "_1rsrm2fli" }, tertiaryText: { conditions: { base: "_1rsrm2flo", hover: "_1rsrm2flp", active: "_1rsrm2flq", selection: "_1rsrm2flr", focused: "_1rsrm2fls", focusedVisible: "_1rsrm2flt" }, defaultClass: "_1rsrm2flo" }, textSelection: { conditions: { base: "_1rsrm2flu", hover: "_1rsrm2flv", active: "_1rsrm2flw", selection: "_1rsrm2flx", focused: "_1rsrm2fly", focusedVisible: "_1rsrm2flz" }, defaultClass: "_1rsrm2flu" }, inputBackground: { conditions: { base: "_1rsrm2fm0", hover: "_1rsrm2fm1", active: "_1rsrm2fm2", selection: "_1rsrm2fm3", focused: "_1rsrm2fm4", focusedVisible: "_1rsrm2fm5" }, defaultClass: "_1rsrm2fm0" }, inputBorderBase: { conditions: { base: "_1rsrm2fm6", hover: "_1rsrm2fm7", active: "_1rsrm2fm8", selection: "_1rsrm2fm9", focused: "_1rsrm2fma", focusedVisible: "_1rsrm2fmb" }, defaultClass: "_1rsrm2fm6" }, inputBorderHover: { conditions: { base: "_1rsrm2fmc", hover: "_1rsrm2fmd", active: "_1rsrm2fme", selection: "_1rsrm2fmf", focused: "_1rsrm2fmg", focusedVisible: "_1rsrm2fmh" }, defaultClass: "_1rsrm2fmc" }, actionColor: { conditions: { base: "_1rsrm2fmi", hover: "_1rsrm2fmj", active: "_1rsrm2fmk", selection: "_1rsrm2fml", focused: "_1rsrm2fmm", focusedVisible: "_1rsrm2fmn" }, defaultClass: "_1rsrm2fmi" }, actionColorHover: { conditions: { base: "_1rsrm2fmo", hover: "_1rsrm2fmp", active: "_1rsrm2fmq", selection: "_1rsrm2fmr", focused: "_1rsrm2fms", focusedVisible: "_1rsrm2fmt" }, defaultClass: "_1rsrm2fmo" }, actionColorDisabled: { conditions: { base: "_1rsrm2fmu", hover: "_1rsrm2fmv", active: "_1rsrm2fmw", selection: "_1rsrm2fmx", focused: "_1rsrm2fmy", focusedVisible: "_1rsrm2fmz" }, defaultClass: "_1rsrm2fmu" }, buttonPrimary: { conditions: { base: "_1rsrm2fn0", hover: "_1rsrm2fn1", active: "_1rsrm2fn2", selection: "_1rsrm2fn3", focused: "_1rsrm2fn4", focusedVisible: "_1rsrm2fn5" }, defaultClass: "_1rsrm2fn0" }, buttonDisabled: { conditions: { base: "_1rsrm2fn6", hover: "_1rsrm2fn7", active: "_1rsrm2fn8", selection: "_1rsrm2fn9", focused: "_1rsrm2fna", focusedVisible: "_1rsrm2fnb" }, defaultClass: "_1rsrm2fn6" }, buttonWarning: { conditions: { base: "_1rsrm2fnc", hover: "_1rsrm2fnd", active: "_1rsrm2fne", selection: "_1rsrm2fnf", focused: "_1rsrm2fng", focusedVisible: "_1rsrm2fnh" }, defaultClass: "_1rsrm2fnc" }, buttonSuccess: { conditions: { base: "_1rsrm2fni", hover: "_1rsrm2fnj", active: "_1rsrm2fnk", selection: "_1rsrm2fnl", focused: "_1rsrm2fnm", focusedVisible: "_1rsrm2fnn" }, defaultClass: "_1rsrm2fni" }, buttonTextWarning: { conditions: { base: "_1rsrm2fno", hover: "_1rsrm2fnp", active: "_1rsrm2fnq", selection: "_1rsrm2fnr", focused: "_1rsrm2fns", focusedVisible: "_1rsrm2fnt" }, defaultClass: "_1rsrm2fno" }, buttonTextSuccess: { conditions: { base: "_1rsrm2fnu", hover: "_1rsrm2fnv", active: "_1rsrm2fnw", selection: "_1rsrm2fnx", focused: "_1rsrm2fny", focusedVisible: "_1rsrm2fnz" }, defaultClass: "_1rsrm2fnu" }, buttonTextPrimary: { conditions: { base: "_1rsrm2fo0", hover: "_1rsrm2fo1", active: "_1rsrm2fo2", selection: "_1rsrm2fo3", focused: "_1rsrm2fo4", focusedVisible: "_1rsrm2fo5" }, defaultClass: "_1rsrm2fo0" }, buttonTextDisabled: { conditions: { base: "_1rsrm2fo6", hover: "_1rsrm2fo7", active: "_1rsrm2fo8", selection: "_1rsrm2fo9", focused: "_1rsrm2foa", focusedVisible: "_1rsrm2fob" }, defaultClass: "_1rsrm2fo6" }, transparent: { conditions: { base: "_1rsrm2foc", hover: "_1rsrm2fod", active: "_1rsrm2foe", selection: "_1rsrm2fof", focused: "_1rsrm2fog", focusedVisible: "_1rsrm2foh" }, defaultClass: "_1rsrm2foc" }, buttonBackgroundTertiary: { conditions: { base: "_1rsrm2foi", hover: "_1rsrm2foj", active: "_1rsrm2fok", selection: "_1rsrm2fol", focused: "_1rsrm2fom", focusedVisible: "_1rsrm2fon" }, defaultClass: "_1rsrm2foi" }, buttonBackgroundHoverTertiary: { conditions: { base: "_1rsrm2foo", hover: "_1rsrm2fop", active: "_1rsrm2foq", selection: "_1rsrm2for", focused: "_1rsrm2fos", focusedVisible: "_1rsrm2fot" }, defaultClass: "_1rsrm2foo" }, buttonTextTertiary: { conditions: { base: "_1rsrm2fou", hover: "_1rsrm2fov", active: "_1rsrm2fow", selection: "_1rsrm2fox", focused: "_1rsrm2foy", focusedVisible: "_1rsrm2foz" }, defaultClass: "_1rsrm2fou" }, buttonTextDisabledTertiary: { conditions: { base: "_1rsrm2fp0", hover: "_1rsrm2fp1", active: "_1rsrm2fp2", selection: "_1rsrm2fp3", focused: "_1rsrm2fp4", focusedVisible: "_1rsrm2fp5" }, defaultClass: "_1rsrm2fp0" }, buttonStrokeTertiary: { conditions: { base: "_1rsrm2fp6", hover: "_1rsrm2fp7", active: "_1rsrm2fp8", selection: "_1rsrm2fp9", focused: "_1rsrm2fpa", focusedVisible: "_1rsrm2fpb" }, defaultClass: "_1rsrm2fp6" }, buttonBackground: { conditions: { base: "_1rsrm2fpc", hover: "_1rsrm2fpd", active: "_1rsrm2fpe", selection: "_1rsrm2fpf", focused: "_1rsrm2fpg", focusedVisible: "_1rsrm2fph" }, defaultClass: "_1rsrm2fpc" }, buttonBackgroundHover: { conditions: { base: "_1rsrm2fpi", hover: "_1rsrm2fpj", active: "_1rsrm2fpk", selection: "_1rsrm2fpl", focused: "_1rsrm2fpm", focusedVisible: "_1rsrm2fpn" }, defaultClass: "_1rsrm2fpi" }, buttonBackgroundDisabled: { conditions: { base: "_1rsrm2fpo", hover: "_1rsrm2fpp", active: "_1rsrm2fpq", selection: "_1rsrm2fpr", focused: "_1rsrm2fps", focusedVisible: "_1rsrm2fpt" }, defaultClass: "_1rsrm2fpo" }, buttonText: { conditions: { base: "_1rsrm2fpu", hover: "_1rsrm2fpv", active: "_1rsrm2fpw", selection: "_1rsrm2fpx", focused: "_1rsrm2fpy", focusedVisible: "_1rsrm2fpz" }, defaultClass: "_1rsrm2fpu" }, buttonStroke: { conditions: { base: "_1rsrm2fq0", hover: "_1rsrm2fq1", active: "_1rsrm2fq2", selection: "_1rsrm2fq3", focused: "_1rsrm2fq4", focusedVisible: "_1rsrm2fq5" }, defaultClass: "_1rsrm2fq0" }, buttonTextSecondaryDisabled: { conditions: { base: "_1rsrm2fq6", hover: "_1rsrm2fq7", active: "_1rsrm2fq8", selection: "_1rsrm2fq9", focused: "_1rsrm2fqa", focusedVisible: "_1rsrm2fqb" }, defaultClass: "_1rsrm2fq6" }, buttonTextSecondary: { conditions: { base: "_1rsrm2fqc", hover: "_1rsrm2fqd", active: "_1rsrm2fqe", selection: "_1rsrm2fqf", focused: "_1rsrm2fqg", focusedVisible: "_1rsrm2fqh" }, defaultClass: "_1rsrm2fqc" }, buttonIconBackgroundHover: { conditions: { base: "_1rsrm2fqi", hover: "_1rsrm2fqj", active: "_1rsrm2fqk", selection: "_1rsrm2fql", focused: "_1rsrm2fqm", focusedVisible: "_1rsrm2fqn" }, defaultClass: "_1rsrm2fqi" }, buttonIconBackgroundPressed: { conditions: { base: "_1rsrm2fqo", hover: "_1rsrm2fqp", active: "_1rsrm2fqq", selection: "_1rsrm2fqr", focused: "_1rsrm2fqs", focusedVisible: "_1rsrm2fqt" }, defaultClass: "_1rsrm2fqo" }, buttonIconStroke: { conditions: { base: "_1rsrm2fqu", hover: "_1rsrm2fqv", active: "_1rsrm2fqw", selection: "_1rsrm2fqx", focused: "_1rsrm2fqy", focusedVisible: "_1rsrm2fqz" }, defaultClass: "_1rsrm2fqu" } } }, borderColor: { values: { accentColor: { conditions: { base: "_1rsrm2fr0", hover: "_1rsrm2fr1", active: "_1rsrm2fr2", selection: "_1rsrm2fr3", focused: "_1rsrm2fr4", focusedVisible: "_1rsrm2fr5" }, defaultClass: "_1rsrm2fr0" }, accentColorForeground: { conditions: { base: "_1rsrm2fr6", hover: "_1rsrm2fr7", active: "_1rsrm2fr8", selection: "_1rsrm2fr9", focused: "_1rsrm2fra", focusedVisible: "_1rsrm2frb" }, defaultClass: "_1rsrm2fr6" }, actionButtonBorder: { conditions: { base: "_1rsrm2frc", hover: "_1rsrm2frd", active: "_1rsrm2fre", selection: "_1rsrm2frf", focused: "_1rsrm2frg", focusedVisible: "_1rsrm2frh" }, defaultClass: "_1rsrm2frc" }, connectButtonBackground: { conditions: { base: "_1rsrm2fri", hover: "_1rsrm2frj", active: "_1rsrm2frk", selection: "_1rsrm2frl", focused: "_1rsrm2frm", focusedVisible: "_1rsrm2frn" }, defaultClass: "_1rsrm2fri" }, connectButtonBackgroundError: { conditions: { base: "_1rsrm2fro", hover: "_1rsrm2frp", active: "_1rsrm2frq", selection: "_1rsrm2frr", focused: "_1rsrm2frs", focusedVisible: "_1rsrm2frt" }, defaultClass: "_1rsrm2fro" }, connectButtonText: { conditions: { base: "_1rsrm2fru", hover: "_1rsrm2frv", active: "_1rsrm2frw", selection: "_1rsrm2frx", focused: "_1rsrm2fry", focusedVisible: "_1rsrm2frz" }, defaultClass: "_1rsrm2fru" }, connectButtonTextError: { conditions: { base: "_1rsrm2fs0", hover: "_1rsrm2fs1", active: "_1rsrm2fs2", selection: "_1rsrm2fs3", focused: "_1rsrm2fs4", focusedVisible: "_1rsrm2fs5" }, defaultClass: "_1rsrm2fs0" }, connectionIndicator: { conditions: { base: "_1rsrm2fs6", hover: "_1rsrm2fs7", active: "_1rsrm2fs8", selection: "_1rsrm2fs9", focused: "_1rsrm2fsa", focusedVisible: "_1rsrm2fsb" }, defaultClass: "_1rsrm2fs6" }, error: { conditions: { base: "_1rsrm2fsc", hover: "_1rsrm2fsd", active: "_1rsrm2fse", selection: "_1rsrm2fsf", focused: "_1rsrm2fsg", focusedVisible: "_1rsrm2fsh" }, defaultClass: "_1rsrm2fsc" }, generalBorder: { conditions: { base: "_1rsrm2fsi", hover: "_1rsrm2fsj", active: "_1rsrm2fsk", selection: "_1rsrm2fsl", focused: "_1rsrm2fsm", focusedVisible: "_1rsrm2fsn" }, defaultClass: "_1rsrm2fsi" }, generalBorderDim: { conditions: { base: "_1rsrm2fso", hover: "_1rsrm2fsp", active: "_1rsrm2fsq", selection: "_1rsrm2fsr", focused: "_1rsrm2fss", focusedVisible: "_1rsrm2fst" }, defaultClass: "_1rsrm2fso" }, menuItemBackground: { conditions: { base: "_1rsrm2fsu", hover: "_1rsrm2fsv", active: "_1rsrm2fsw", selection: "_1rsrm2fsx", focused: "_1rsrm2fsy", focusedVisible: "_1rsrm2fsz" }, defaultClass: "_1rsrm2fsu" }, selectedOptionBorder: { conditions: { base: "_1rsrm2ft0", hover: "_1rsrm2ft1", active: "_1rsrm2ft2", selection: "_1rsrm2ft3", focused: "_1rsrm2ft4", focusedVisible: "_1rsrm2ft5" }, defaultClass: "_1rsrm2ft0" }, paymentOptionBorderDisabled: { conditions: { base: "_1rsrm2ft6", hover: "_1rsrm2ft7", active: "_1rsrm2ft8", selection: "_1rsrm2ft9", focused: "_1rsrm2fta", focusedVisible: "_1rsrm2ftb" }, defaultClass: "_1rsrm2ft6" }, standby: { conditions: { base: "_1rsrm2ftc", hover: "_1rsrm2ftd", active: "_1rsrm2fte", selection: "_1rsrm2ftf", focused: "_1rsrm2ftg", focusedVisible: "_1rsrm2fth" }, defaultClass: "_1rsrm2ftc" }, success: { conditions: { base: "_1rsrm2fti", hover: "_1rsrm2ftj", active: "_1rsrm2ftk", selection: "_1rsrm2ftl", focused: "_1rsrm2ftm", focusedVisible: "_1rsrm2ftn" }, defaultClass: "_1rsrm2fti" }, loadingBase: { conditions: { base: "_1rsrm2fto", hover: "_1rsrm2ftp", active: "_1rsrm2ftq", selection: "_1rsrm2ftr", focused: "_1rsrm2fts", focusedVisible: "_1rsrm2ftt" }, defaultClass: "_1rsrm2fto" }, loadingAccent: { conditions: { base: "_1rsrm2ftu", hover: "_1rsrm2ftv", active: "_1rsrm2ftw", selection: "_1rsrm2ftx", focused: "_1rsrm2fty", focusedVisible: "_1rsrm2ftz" }, defaultClass: "_1rsrm2ftu" }, chainIconBorder: { conditions: { base: "_1rsrm2fu0", hover: "_1rsrm2fu1", active: "_1rsrm2fu2", selection: "_1rsrm2fu3", focused: "_1rsrm2fu4", focusedVisible: "_1rsrm2fu5" }, defaultClass: "_1rsrm2fu0" }, modalBackdrop: { conditions: { base: "_1rsrm2fu6", hover: "_1rsrm2fu7", active: "_1rsrm2fu8", selection: "_1rsrm2fu9", focused: "_1rsrm2fua", focusedVisible: "_1rsrm2fub" }, defaultClass: "_1rsrm2fu6" }, modalBackground: { conditions: { base: "_1rsrm2fuc", hover: "_1rsrm2fud", active: "_1rsrm2fue", selection: "_1rsrm2fuf", focused: "_1rsrm2fug", focusedVisible: "_1rsrm2fuh" }, defaultClass: "_1rsrm2fuc" }, modalBorder: { conditions: { base: "_1rsrm2fui", hover: "_1rsrm2fuj", active: "_1rsrm2fuk", selection: "_1rsrm2ful", focused: "_1rsrm2fum", focusedVisible: "_1rsrm2fun" }, defaultClass: "_1rsrm2fui" }, notificationPrimary: { conditions: { base: "_1rsrm2fuo", hover: "_1rsrm2fup", active: "_1rsrm2fuq", selection: "_1rsrm2fur", focused: "_1rsrm2fus", focusedVisible: "_1rsrm2fut" }, defaultClass: "_1rsrm2fuo" }, offBackground: { conditions: { base: "_1rsrm2fuu", hover: "_1rsrm2fuv", active: "_1rsrm2fuw", selection: "_1rsrm2fux", focused: "_1rsrm2fuy", focusedVisible: "_1rsrm2fuz" }, defaultClass: "_1rsrm2fuu" }, hoverState: { conditions: { base: "_1rsrm2fv0", hover: "_1rsrm2fv1", active: "_1rsrm2fv2", selection: "_1rsrm2fv3", focused: "_1rsrm2fv4", focusedVisible: "_1rsrm2fv5" }, defaultClass: "_1rsrm2fv0" }, offBackgroundInverse: { conditions: { base: "_1rsrm2fv6", hover: "_1rsrm2fv7", active: "_1rsrm2fv8", selection: "_1rsrm2fv9", focused: "_1rsrm2fva", focusedVisible: "_1rsrm2fvb" }, defaultClass: "_1rsrm2fv6" }, dydxSwitchActiveBackground: { conditions: { base: "_1rsrm2fvc", hover: "_1rsrm2fvd", active: "_1rsrm2fve", selection: "_1rsrm2fvf", focused: "_1rsrm2fvg", focusedVisible: "_1rsrm2fvh" }, defaultClass: "_1rsrm2fvc" }, primaryText: { conditions: { base: "_1rsrm2fvi", hover: "_1rsrm2fvj", active: "_1rsrm2fvk", selection: "_1rsrm2fvl", focused: "_1rsrm2fvm", focusedVisible: "_1rsrm2fvn" }, defaultClass: "_1rsrm2fvi" }, secondaryText: { conditions: { base: "_1rsrm2fvo", hover: "_1rsrm2fvp", active: "_1rsrm2fvq", selection: "_1rsrm2fvr", focused: "_1rsrm2fvs", focusedVisible: "_1rsrm2fvt" }, defaultClass: "_1rsrm2fvo" }, tertiaryText: { conditions: { base: "_1rsrm2fvu", hover: "_1rsrm2fvv", active: "_1rsrm2fvw", selection: "_1rsrm2fvx", focused: "_1rsrm2fvy", focusedVisible: "_1rsrm2fvz" }, defaultClass: "_1rsrm2fvu" }, textSelection: { conditions: { base: "_1rsrm2fw0", hover: "_1rsrm2fw1", active: "_1rsrm2fw2", selection: "_1rsrm2fw3", focused: "_1rsrm2fw4", focusedVisible: "_1rsrm2fw5" }, defaultClass: "_1rsrm2fw0" }, inputBackground: { conditions: { base: "_1rsrm2fw6", hover: "_1rsrm2fw7", active: "_1rsrm2fw8", selection: "_1rsrm2fw9", focused: "_1rsrm2fwa", focusedVisible: "_1rsrm2fwb" }, defaultClass: "_1rsrm2fw6" }, inputBorderBase: { conditions: { base: "_1rsrm2fwc", hover: "_1rsrm2fwd", active: "_1rsrm2fwe", selection: "_1rsrm2fwf", focused: "_1rsrm2fwg", focusedVisible: "_1rsrm2fwh" }, defaultClass: "_1rsrm2fwc" }, inputBorderHover: { conditions: { base: "_1rsrm2fwi", hover: "_1rsrm2fwj", active: "_1rsrm2fwk", selection: "_1rsrm2fwl", focused: "_1rsrm2fwm", focusedVisible: "_1rsrm2fwn" }, defaultClass: "_1rsrm2fwi" }, actionColor: { conditions: { base: "_1rsrm2fwo", hover: "_1rsrm2fwp", active: "_1rsrm2fwq", selection: "_1rsrm2fwr", focused: "_1rsrm2fws", focusedVisible: "_1rsrm2fwt" }, defaultClass: "_1rsrm2fwo" }, actionColorHover: { conditions: { base: "_1rsrm2fwu", hover: "_1rsrm2fwv", active: "_1rsrm2fww", selection: "_1rsrm2fwx", focused: "_1rsrm2fwy", focusedVisible: "_1rsrm2fwz" }, defaultClass: "_1rsrm2fwu" }, actionColorDisabled: { conditions: { base: "_1rsrm2fx0", hover: "_1rsrm2fx1", active: "_1rsrm2fx2", selection: "_1rsrm2fx3", focused: "_1rsrm2fx4", focusedVisible: "_1rsrm2fx5" }, defaultClass: "_1rsrm2fx0" }, buttonPrimary: { conditions: { base: "_1rsrm2fx6", hover: "_1rsrm2fx7", active: "_1rsrm2fx8", selection: "_1rsrm2fx9", focused: "_1rsrm2fxa", focusedVisible: "_1rsrm2fxb" }, defaultClass: "_1rsrm2fx6" }, buttonDisabled: { conditions: { base: "_1rsrm2fxc", hover: "_1rsrm2fxd", active: "_1rsrm2fxe", selection: "_1rsrm2fxf", focused: "_1rsrm2fxg", focusedVisible: "_1rsrm2fxh" }, defaultClass: "_1rsrm2fxc" }, buttonWarning: { conditions: { base: "_1rsrm2fxi", hover: "_1rsrm2fxj", active: "_1rsrm2fxk", selection: "_1rsrm2fxl", focused: "_1rsrm2fxm", focusedVisible: "_1rsrm2fxn" }, defaultClass: "_1rsrm2fxi" }, buttonSuccess: { conditions: { base: "_1rsrm2fxo", hover: "_1rsrm2fxp", active: "_1rsrm2fxq", selection: "_1rsrm2fxr", focused: "_1rsrm2fxs", focusedVisible: "_1rsrm2fxt" }, defaultClass: "_1rsrm2fxo" }, buttonTextWarning: { conditions: { base: "_1rsrm2fxu", hover: "_1rsrm2fxv", active: "_1rsrm2fxw", selection: "_1rsrm2fxx", focused: "_1rsrm2fxy", focusedVisible: "_1rsrm2fxz" }, defaultClass: "_1rsrm2fxu" }, buttonTextSuccess: { conditions: { base: "_1rsrm2fy0", hover: "_1rsrm2fy1", active: "_1rsrm2fy2", selection: "_1rsrm2fy3", focused: "_1rsrm2fy4", focusedVisible: "_1rsrm2fy5" }, defaultClass: "_1rsrm2fy0" }, buttonTextPrimary: { conditions: { base: "_1rsrm2fy6", hover: "_1rsrm2fy7", active: "_1rsrm2fy8", selection: "_1rsrm2fy9", focused: "_1rsrm2fya", focusedVisible: "_1rsrm2fyb" }, defaultClass: "_1rsrm2fy6" }, buttonTextDisabled: { conditions: { base: "_1rsrm2fyc", hover: "_1rsrm2fyd", active: "_1rsrm2fye", selection: "_1rsrm2fyf", focused: "_1rsrm2fyg", focusedVisible: "_1rsrm2fyh" }, defaultClass: "_1rsrm2fyc" }, transparent: { conditions: { base: "_1rsrm2fyi", hover: "_1rsrm2fyj", active: "_1rsrm2fyk", selection: "_1rsrm2fyl", focused: "_1rsrm2fym", focusedVisible: "_1rsrm2fyn" }, defaultClass: "_1rsrm2fyi" }, buttonBackgroundTertiary: { conditions: { base: "_1rsrm2fyo", hover: "_1rsrm2fyp", active: "_1rsrm2fyq", selection: "_1rsrm2fyr", focused: "_1rsrm2fys", focusedVisible: "_1rsrm2fyt" }, defaultClass: "_1rsrm2fyo" }, buttonBackgroundHoverTertiary: { conditions: { base: "_1rsrm2fyu", hover: "_1rsrm2fyv", active: "_1rsrm2fyw", selection: "_1rsrm2fyx", focused: "_1rsrm2fyy", focusedVisible: "_1rsrm2fyz" }, defaultClass: "_1rsrm2fyu" }, buttonTextTertiary: { conditions: { base: "_1rsrm2fz0", hover: "_1rsrm2fz1", active: "_1rsrm2fz2", selection: "_1rsrm2fz3", focused: "_1rsrm2fz4", focusedVisible: "_1rsrm2fz5" }, defaultClass: "_1rsrm2fz0" }, buttonTextDisabledTertiary: { conditions: { base: "_1rsrm2fz6", hover: "_1rsrm2fz7", active: "_1rsrm2fz8", selection: "_1rsrm2fz9", focused: "_1rsrm2fza", focusedVisible: "_1rsrm2fzb" }, defaultClass: "_1rsrm2fz6" }, buttonStrokeTertiary: { conditions: { base: "_1rsrm2fzc", hover: "_1rsrm2fzd", active: "_1rsrm2fze", selection: "_1rsrm2fzf", focused: "_1rsrm2fzg", focusedVisible: "_1rsrm2fzh" }, defaultClass: "_1rsrm2fzc" }, buttonBackground: { conditions: { base: "_1rsrm2fzi", hover: "_1rsrm2fzj", active: "_1rsrm2fzk", selection: "_1rsrm2fzl", focused: "_1rsrm2fzm", focusedVisible: "_1rsrm2fzn" }, defaultClass: "_1rsrm2fzi" }, buttonBackgroundHover: { conditions: { base: "_1rsrm2fzo", hover: "_1rsrm2fzp", active: "_1rsrm2fzq", selection: "_1rsrm2fzr", focused: "_1rsrm2fzs", focusedVisible: "_1rsrm2fzt" }, defaultClass: "_1rsrm2fzo" }, buttonBackgroundDisabled: { conditions: { base: "_1rsrm2fzu", hover: "_1rsrm2fzv", active: "_1rsrm2fzw", selection: "_1rsrm2fzx", focused: "_1rsrm2fzy", focusedVisible: "_1rsrm2fzz" }, defaultClass: "_1rsrm2fzu" }, buttonText: { conditions: { base: "_1rsrm2f100", hover: "_1rsrm2f101", active: "_1rsrm2f102", selection: "_1rsrm2f103", focused: "_1rsrm2f104", focusedVisible: "_1rsrm2f105" }, defaultClass: "_1rsrm2f100" }, buttonStroke: { conditions: { base: "_1rsrm2f106", hover: "_1rsrm2f107", active: "_1rsrm2f108", selection: "_1rsrm2f109", focused: "_1rsrm2f10a", focusedVisible: "_1rsrm2f10b" }, defaultClass: "_1rsrm2f106" }, buttonTextSecondaryDisabled: { conditions: { base: "_1rsrm2f10c", hover: "_1rsrm2f10d", active: "_1rsrm2f10e", selection: "_1rsrm2f10f", focused: "_1rsrm2f10g", focusedVisible: "_1rsrm2f10h" }, defaultClass: "_1rsrm2f10c" }, buttonTextSecondary: { conditions: { base: "_1rsrm2f10i", hover: "_1rsrm2f10j", active: "_1rsrm2f10k", selection: "_1rsrm2f10l", focused: "_1rsrm2f10m", focusedVisible: "_1rsrm2f10n" }, defaultClass: "_1rsrm2f10i" }, buttonIconBackgroundHover: { conditions: { base: "_1rsrm2f10o", hover: "_1rsrm2f10p", active: "_1rsrm2f10q", selection: "_1rsrm2f10r", focused: "_1rsrm2f10s", focusedVisible: "_1rsrm2f10t" }, defaultClass: "_1rsrm2f10o" }, buttonIconBackgroundPressed: { conditions: { base: "_1rsrm2f10u", hover: "_1rsrm2f10v", active: "_1rsrm2f10w", selection: "_1rsrm2f10x", focused: "_1rsrm2f10y", focusedVisible: "_1rsrm2f10z" }, defaultClass: "_1rsrm2f10u" }, buttonIconStroke: { conditions: { base: "_1rsrm2f110", hover: "_1rsrm2f111", active: "_1rsrm2f112", selection: "_1rsrm2f113", focused: "_1rsrm2f114", focusedVisible: "_1rsrm2f115" }, defaultClass: "_1rsrm2f110" } } }, boxShadow: { values: { connectButton: { conditions: { base: "_1rsrm2f116", hover: "_1rsrm2f117", active: "_1rsrm2f118", selection: "_1rsrm2f119", focused: "_1rsrm2f11a", focusedVisible: "_1rsrm2f11b" }, defaultClass: "_1rsrm2f116" }, dialog: { conditions: { base: "_1rsrm2f11c", hover: "_1rsrm2f11d", active: "_1rsrm2f11e", selection: "_1rsrm2f11f", focused: "_1rsrm2f11g", focusedVisible: "_1rsrm2f11h" }, defaultClass: "_1rsrm2f11c" }, selectedOption: { conditions: { base: "_1rsrm2f11i", hover: "_1rsrm2f11j", active: "_1rsrm2f11k", selection: "_1rsrm2f11l", focused: "_1rsrm2f11m", focusedVisible: "_1rsrm2f11n" }, defaultClass: "_1rsrm2f11i" }, selectedWallet: { conditions: { base: "_1rsrm2f11o", hover: "_1rsrm2f11p", active: "_1rsrm2f11q", selection: "_1rsrm2f11r", focused: "_1rsrm2f11s", focusedVisible: "_1rsrm2f11t" }, defaultClass: "_1rsrm2f11o" }, button: { conditions: { base: "_1rsrm2f11u", hover: "_1rsrm2f11v", active: "_1rsrm2f11w", selection: "_1rsrm2f11x", focused: "_1rsrm2f11y", focusedVisible: "_1rsrm2f11z" }, defaultClass: "_1rsrm2f11u" } } }, color: { values: { accentColor: { conditions: { base: "_1rsrm2f120", hover: "_1rsrm2f121", active: "_1rsrm2f122", selection: "_1rsrm2f123", focused: "_1rsrm2f124", focusedVisible: "_1rsrm2f125" }, defaultClass: "_1rsrm2f120" }, accentColorForeground: { conditions: { base: "_1rsrm2f126", hover: "_1rsrm2f127", active: "_1rsrm2f128", selection: "_1rsrm2f129", focused: "_1rsrm2f12a", focusedVisible: "_1rsrm2f12b" }, defaultClass: "_1rsrm2f126" }, actionButtonBorder: { conditions: { base: "_1rsrm2f12c", hover: "_1rsrm2f12d", active: "_1rsrm2f12e", selection: "_1rsrm2f12f", focused: "_1rsrm2f12g", focusedVisible: "_1rsrm2f12h" }, defaultClass: "_1rsrm2f12c" }, connectButtonBackground: { conditions: { base: "_1rsrm2f12i", hover: "_1rsrm2f12j", active: "_1rsrm2f12k", selection: "_1rsrm2f12l", focused: "_1rsrm2f12m", focusedVisible: "_1rsrm2f12n" }, defaultClass: "_1rsrm2f12i" }, connectButtonBackgroundError: { conditions: { base: "_1rsrm2f12o", hover: "_1rsrm2f12p", active: "_1rsrm2f12q", selection: "_1rsrm2f12r", focused: "_1rsrm2f12s", focusedVisible: "_1rsrm2f12t" }, defaultClass: "_1rsrm2f12o" }, connectButtonText: { conditions: { base: "_1rsrm2f12u", hover: "_1rsrm2f12v", active: "_1rsrm2f12w", selection: "_1rsrm2f12x", focused: "_1rsrm2f12y", focusedVisible: "_1rsrm2f12z" }, defaultClass: "_1rsrm2f12u" }, connectButtonTextError: { conditions: { base: "_1rsrm2f130", hover: "_1rsrm2f131", active: "_1rsrm2f132", selection: "_1rsrm2f133", focused: "_1rsrm2f134", focusedVisible: "_1rsrm2f135" }, defaultClass: "_1rsrm2f130" }, connectionIndicator: { conditions: { base: "_1rsrm2f136", hover: "_1rsrm2f137", active: "_1rsrm2f138", selection: "_1rsrm2f139", focused: "_1rsrm2f13a", focusedVisible: "_1rsrm2f13b" }, defaultClass: "_1rsrm2f136" }, error: { conditions: { base: "_1rsrm2f13c", hover: "_1rsrm2f13d", active: "_1rsrm2f13e", selection: "_1rsrm2f13f", focused: "_1rsrm2f13g", focusedVisible: "_1rsrm2f13h" }, defaultClass: "_1rsrm2f13c" }, generalBorder: { conditions: { base: "_1rsrm2f13i", hover: "_1rsrm2f13j", active: "_1rsrm2f13k", selection: "_1rsrm2f13l", focused: "_1rsrm2f13m", focusedVisible: "_1rsrm2f13n" }, defaultClass: "_1rsrm2f13i" }, generalBorderDim: { conditions: { base: "_1rsrm2f13o", hover: "_1rsrm2f13p", active: "_1rsrm2f13q", selection: "_1rsrm2f13r", focused: "_1rsrm2f13s", focusedVisible: "_1rsrm2f13t" }, defaultClass: "_1rsrm2f13o" }, menuItemBackground: { conditions: { base: "_1rsrm2f13u", hover: "_1rsrm2f13v", active: "_1rsrm2f13w", selection: "_1rsrm2f13x", focused: "_1rsrm2f13y", focusedVisible: "_1rsrm2f13z" }, defaultClass: "_1rsrm2f13u" }, selectedOptionBorder: { conditions: { base: "_1rsrm2f140", hover: "_1rsrm2f141", active: "_1rsrm2f142", selection: "_1rsrm2f143", focused: "_1rsrm2f144", focusedVisible: "_1rsrm2f145" }, defaultClass: "_1rsrm2f140" }, paymentOptionBorderDisabled: { conditions: { base: "_1rsrm2f146", hover: "_1rsrm2f147", active: "_1rsrm2f148", selection: "_1rsrm2f149", focused: "_1rsrm2f14a", focusedVisible: "_1rsrm2f14b" }, defaultClass: "_1rsrm2f146" }, standby: { conditions: { base: "_1rsrm2f14c", hover: "_1rsrm2f14d", active: "_1rsrm2f14e", selection: "_1rsrm2f14f", focused: "_1rsrm2f14g", focusedVisible: "_1rsrm2f14h" }, defaultClass: "_1rsrm2f14c" }, success: { conditions: { base: "_1rsrm2f14i", hover: "_1rsrm2f14j", active: "_1rsrm2f14k", selection: "_1rsrm2f14l", focused: "_1rsrm2f14m", focusedVisible: "_1rsrm2f14n" }, defaultClass: "_1rsrm2f14i" }, loadingBase: { conditions: { base: "_1rsrm2f14o", hover: "_1rsrm2f14p", active: "_1rsrm2f14q", selection: "_1rsrm2f14r", focused: "_1rsrm2f14s", focusedVisible: "_1rsrm2f14t" }, defaultClass: "_1rsrm2f14o" }, loadingAccent: { conditions: { base: "_1rsrm2f14u", hover: "_1rsrm2f14v", active: "_1rsrm2f14w", selection: "_1rsrm2f14x", focused: "_1rsrm2f14y", focusedVisible: "_1rsrm2f14z" }, defaultClass: "_1rsrm2f14u" }, chainIconBorder: { conditions: { base: "_1rsrm2f150", hover: "_1rsrm2f151", active: "_1rsrm2f152", selection: "_1rsrm2f153", focused: "_1rsrm2f154", focusedVisible: "_1rsrm2f155" }, defaultClass: "_1rsrm2f150" }, modalBackdrop: { conditions: { base: "_1rsrm2f156", hover: "_1rsrm2f157", active: "_1rsrm2f158", selection: "_1rsrm2f159", focused: "_1rsrm2f15a", focusedVisible: "_1rsrm2f15b" }, defaultClass: "_1rsrm2f156" }, modalBackground: { conditions: { base: "_1rsrm2f15c", hover: "_1rsrm2f15d", active: "_1rsrm2f15e", selection: "_1rsrm2f15f", focused: "_1rsrm2f15g", focusedVisible: "_1rsrm2f15h" }, defaultClass: "_1rsrm2f15c" }, modalBorder: { conditions: { base: "_1rsrm2f15i", hover: "_1rsrm2f15j", active: "_1rsrm2f15k", selection: "_1rsrm2f15l", focused: "_1rsrm2f15m", focusedVisible: "_1rsrm2f15n" }, defaultClass: "_1rsrm2f15i" }, notificationPrimary: { conditions: { base: "_1rsrm2f15o", hover: "_1rsrm2f15p", active: "_1rsrm2f15q", selection: "_1rsrm2f15r", focused: "_1rsrm2f15s", focusedVisible: "_1rsrm2f15t" }, defaultClass: "_1rsrm2f15o" }, offBackground: { conditions: { base: "_1rsrm2f15u", hover: "_1rsrm2f15v", active: "_1rsrm2f15w", selection: "_1rsrm2f15x", focused: "_1rsrm2f15y", focusedVisible: "_1rsrm2f15z" }, defaultClass: "_1rsrm2f15u" }, hoverState: { conditions: { base: "_1rsrm2f160", hover: "_1rsrm2f161", active: "_1rsrm2f162", selection: "_1rsrm2f163", focused: "_1rsrm2f164", focusedVisible: "_1rsrm2f165" }, defaultClass: "_1rsrm2f160" }, offBackgroundInverse: { conditions: { base: "_1rsrm2f166", hover: "_1rsrm2f167", active: "_1rsrm2f168", selection: "_1rsrm2f169", focused: "_1rsrm2f16a", focusedVisible: "_1rsrm2f16b" }, defaultClass: "_1rsrm2f166" }, dydxSwitchActiveBackground: { conditions: { base: "_1rsrm2f16c", hover: "_1rsrm2f16d", active: "_1rsrm2f16e", selection: "_1rsrm2f16f", focused: "_1rsrm2f16g", focusedVisible: "_1rsrm2f16h" }, defaultClass: "_1rsrm2f16c" }, primaryText: { conditions: { base: "_1rsrm2f16i", hover: "_1rsrm2f16j", active: "_1rsrm2f16k", selection: "_1rsrm2f16l", focused: "_1rsrm2f16m", focusedVisible: "_1rsrm2f16n" }, defaultClass: "_1rsrm2f16i" }, secondaryText: { conditions: { base: "_1rsrm2f16o", hover: "_1rsrm2f16p", active: "_1rsrm2f16q", selection: "_1rsrm2f16r", focused: "_1rsrm2f16s", focusedVisible: "_1rsrm2f16t" }, defaultClass: "_1rsrm2f16o" }, tertiaryText: { conditions: { base: "_1rsrm2f16u", hover: "_1rsrm2f16v", active: "_1rsrm2f16w", selection: "_1rsrm2f16x", focused: "_1rsrm2f16y", focusedVisible: "_1rsrm2f16z" }, defaultClass: "_1rsrm2f16u" }, textSelection: { conditions: { base: "_1rsrm2f170", hover: "_1rsrm2f171", active: "_1rsrm2f172", selection: "_1rsrm2f173", focused: "_1rsrm2f174", focusedVisible: "_1rsrm2f175" }, defaultClass: "_1rsrm2f170" }, inputBackground: { conditions: { base: "_1rsrm2f176", hover: "_1rsrm2f177", active: "_1rsrm2f178", selection: "_1rsrm2f179", focused: "_1rsrm2f17a", focusedVisible: "_1rsrm2f17b" }, defaultClass: "_1rsrm2f176" }, inputBorderBase: { conditions: { base: "_1rsrm2f17c", hover: "_1rsrm2f17d", active: "_1rsrm2f17e", selection: "_1rsrm2f17f", focused: "_1rsrm2f17g", focusedVisible: "_1rsrm2f17h" }, defaultClass: "_1rsrm2f17c" }, inputBorderHover: { conditions: { base: "_1rsrm2f17i", hover: "_1rsrm2f17j", active: "_1rsrm2f17k", selection: "_1rsrm2f17l", focused: "_1rsrm2f17m", focusedVisible: "_1rsrm2f17n" }, defaultClass: "_1rsrm2f17i" }, actionColor: { conditions: { base: "_1rsrm2f17o", hover: "_1rsrm2f17p", active: "_1rsrm2f17q", selection: "_1rsrm2f17r", focused: "_1rsrm2f17s", focusedVisible: "_1rsrm2f17t" }, defaultClass: "_1rsrm2f17o" }, actionColorHover: { conditions: { base: "_1rsrm2f17u", hover: "_1rsrm2f17v", active: "_1rsrm2f17w", selection: "_1rsrm2f17x", focused: "_1rsrm2f17y", focusedVisible: "_1rsrm2f17z" }, defaultClass: "_1rsrm2f17u" }, actionColorDisabled: { conditions: { base: "_1rsrm2f180", hover: "_1rsrm2f181", active: "_1rsrm2f182", selection: "_1rsrm2f183", focused: "_1rsrm2f184", focusedVisible: "_1rsrm2f185" }, defaultClass: "_1rsrm2f180" }, buttonPrimary: { conditions: { base: "_1rsrm2f186", hover: "_1rsrm2f187", active: "_1rsrm2f188", selection: "_1rsrm2f189", focused: "_1rsrm2f18a", focusedVisible: "_1rsrm2f18b" }, defaultClass: "_1rsrm2f186" }, buttonDisabled: { conditions: { base: "_1rsrm2f18c", hover: "_1rsrm2f18d", active: "_1rsrm2f18e", selection: "_1rsrm2f18f", focused: "_1rsrm2f18g", focusedVisible: "_1rsrm2f18h" }, defaultClass: "_1rsrm2f18c" }, buttonWarning: { conditions: { base: "_1rsrm2f18i", hover: "_1rsrm2f18j", active: "_1rsrm2f18k", selection: "_1rsrm2f18l", focused: "_1rsrm2f18m", focusedVisible: "_1rsrm2f18n" }, defaultClass: "_1rsrm2f18i" }, buttonSuccess: { conditions: { base: "_1rsrm2f18o", hover: "_1rsrm2f18p", active: "_1rsrm2f18q", selection: "_1rsrm2f18r", focused: "_1rsrm2f18s", focusedVisible: "_1rsrm2f18t" }, defaultClass: "_1rsrm2f18o" }, buttonTextWarning: { conditions: { base: "_1rsrm2f18u", hover: "_1rsrm2f18v", active: "_1rsrm2f18w", selection: "_1rsrm2f18x", focused: "_1rsrm2f18y", focusedVisible: "_1rsrm2f18z" }, defaultClass: "_1rsrm2f18u" }, buttonTextSuccess: { conditions: { base: "_1rsrm2f190", hover: "_1rsrm2f191", active: "_1rsrm2f192", selection: "_1rsrm2f193", focused: "_1rsrm2f194", focusedVisible: "_1rsrm2f195" }, defaultClass: "_1rsrm2f190" }, buttonTextPrimary: { conditions: { base: "_1rsrm2f196", hover: "_1rsrm2f197", active: "_1rsrm2f198", selection: "_1rsrm2f199", focused: "_1rsrm2f19a", focusedVisible: "_1rsrm2f19b" }, defaultClass: "_1rsrm2f196" }, buttonTextDisabled: { conditions: { base: "_1rsrm2f19c", hover: "_1rsrm2f19d", active: "_1rsrm2f19e", selection: "_1rsrm2f19f", focused: "_1rsrm2f19g", focusedVisible: "_1rsrm2f19h" }, defaultClass: "_1rsrm2f19c" }, transparent: { conditions: { base: "_1rsrm2f19i", hover: "_1rsrm2f19j", active: "_1rsrm2f19k", selection: "_1rsrm2f19l", focused: "_1rsrm2f19m", focusedVisible: "_1rsrm2f19n" }, defaultClass: "_1rsrm2f19i" }, buttonBackgroundTertiary: { conditions: { base: "_1rsrm2f19o", hover: "_1rsrm2f19p", active: "_1rsrm2f19q", selection: "_1rsrm2f19r", focused: "_1rsrm2f19s", focusedVisible: "_1rsrm2f19t" }, defaultClass: "_1rsrm2f19o" }, buttonBackgroundHoverTertiary: { conditions: { base: "_1rsrm2f19u", hover: "_1rsrm2f19v", active: "_1rsrm2f19w", selection: "_1rsrm2f19x", focused: "_1rsrm2f19y", focusedVisible: "_1rsrm2f19z" }, defaultClass: "_1rsrm2f19u" }, buttonTextTertiary: { conditions: { base: "_1rsrm2f1a0", hover: "_1rsrm2f1a1", active: "_1rsrm2f1a2", selection: "_1rsrm2f1a3", focused: "_1rsrm2f1a4", focusedVisible: "_1rsrm2f1a5" }, defaultClass: "_1rsrm2f1a0" }, buttonTextDisabledTertiary: { conditions: { base: "_1rsrm2f1a6", hover: "_1rsrm2f1a7", active: "_1rsrm2f1a8", selection: "_1rsrm2f1a9", focused: "_1rsrm2f1aa", focusedVisible: "_1rsrm2f1ab" }, defaultClass: "_1rsrm2f1a6" }, buttonStrokeTertiary: { conditions: { base: "_1rsrm2f1ac", hover: "_1rsrm2f1ad", active: "_1rsrm2f1ae", selection: "_1rsrm2f1af", focused: "_1rsrm2f1ag", focusedVisible: "_1rsrm2f1ah" }, defaultClass: "_1rsrm2f1ac" }, buttonBackground: { conditions: { base: "_1rsrm2f1ai", hover: "_1rsrm2f1aj", active: "_1rsrm2f1ak", selection: "_1rsrm2f1al", focused: "_1rsrm2f1am", focusedVisible: "_1rsrm2f1an" }, defaultClass: "_1rsrm2f1ai" }, buttonBackgroundHover: { conditions: { base: "_1rsrm2f1ao", hover: "_1rsrm2f1ap", active: "_1rsrm2f1aq", selection: "_1rsrm2f1ar", focused: "_1rsrm2f1as", focusedVisible: "_1rsrm2f1at" }, defaultClass: "_1rsrm2f1ao" }, buttonBackgroundDisabled: { conditions: { base: "_1rsrm2f1au", hover: "_1rsrm2f1av", active: "_1rsrm2f1aw", selection: "_1rsrm2f1ax", focused: "_1rsrm2f1ay", focusedVisible: "_1rsrm2f1az" }, defaultClass: "_1rsrm2f1au" }, buttonText: { conditions: { base: "_1rsrm2f1b0", hover: "_1rsrm2f1b1", active: "_1rsrm2f1b2", selection: "_1rsrm2f1b3", focused: "_1rsrm2f1b4", focusedVisible: "_1rsrm2f1b5" }, defaultClass: "_1rsrm2f1b0" }, buttonStroke: { conditions: { base: "_1rsrm2f1b6", hover: "_1rsrm2f1b7", active: "_1rsrm2f1b8", selection: "_1rsrm2f1b9", focused: "_1rsrm2f1ba", focusedVisible: "_1rsrm2f1bb" }, defaultClass: "_1rsrm2f1b6" }, buttonTextSecondaryDisabled: { conditions: { base: "_1rsrm2f1bc", hover: "_1rsrm2f1bd", active: "_1rsrm2f1be", selection: "_1rsrm2f1bf", focused: "_1rsrm2f1bg", focusedVisible: "_1rsrm2f1bh" }, defaultClass: "_1rsrm2f1bc" }, buttonTextSecondary: { conditions: { base: "_1rsrm2f1bi", hover: "_1rsrm2f1bj", active: "_1rsrm2f1bk", selection: "_1rsrm2f1bl", focused: "_1rsrm2f1bm", focusedVisible: "_1rsrm2f1bn" }, defaultClass: "_1rsrm2f1bi" }, buttonIconBackgroundHover: { conditions: { base: "_1rsrm2f1bo", hover: "_1rsrm2f1bp", active: "_1rsrm2f1bq", selection: "_1rsrm2f1br", focused: "_1rsrm2f1bs", focusedVisible: "_1rsrm2f1bt" }, defaultClass: "_1rsrm2f1bo" }, buttonIconBackgroundPressed: { conditions: { base: "_1rsrm2f1bu", hover: "_1rsrm2f1bv", active: "_1rsrm2f1bw", selection: "_1rsrm2f1bx", focused: "_1rsrm2f1by", focusedVisible: "_1rsrm2f1bz" }, defaultClass: "_1rsrm2f1bu" }, buttonIconStroke: { conditions: { base: "_1rsrm2f1c0", hover: "_1rsrm2f1c1", active: "_1rsrm2f1c2", selection: "_1rsrm2f1c3", focused: "_1rsrm2f1c4", focusedVisible: "_1rsrm2f1c5" }, defaultClass: "_1rsrm2f1c0" } } } } }, { conditions: { defaultCondition: "smallScreen", conditionNames: ["smallScreen", "largeScreen"], responsiveArray: void 0 }, styles: { alignItems: { values: { "flex-start": { conditions: { smallScreen: "_1rsrm2f0", largeScreen: "_1rsrm2f1" }, defaultClass: "_1rsrm2f0" }, "flex-end": { conditions: { smallScreen: "_1rsrm2f2", largeScreen: "_1rsrm2f3" }, defaultClass: "_1rsrm2f2" }, center: { conditions: { smallScreen: "_1rsrm2f4", largeScreen: "_1rsrm2f5" }, defaultClass: "_1rsrm2f4" } } }, display: { values: { none: { conditions: { smallScreen: "_1rsrm2f6", largeScreen: "_1rsrm2f7" }, defaultClass: "_1rsrm2f6" }, block: { conditions: { smallScreen: "_1rsrm2f8", largeScreen: "_1rsrm2f9" }, defaultClass: "_1rsrm2f8" }, flex: { conditions: { smallScreen: "_1rsrm2fa", largeScreen: "_1rsrm2fb" }, defaultClass: "_1rsrm2fa" }, inline: { conditions: { smallScreen: "_1rsrm2fc", largeScreen: "_1rsrm2fd" }, defaultClass: "_1rsrm2fc" } } } } }, { conditions: void 0, styles: { margin: { mappings: ["marginTop", "marginBottom", "marginLeft", "marginRight"] }, marginX: { mappings: ["marginLeft", "marginRight"] }, marginY: { mappings: ["marginTop", "marginBottom"] }, padding: { mappings: ["paddingTop", "paddingBottom", "paddingLeft", "paddingRight"] }, paddingX: { mappings: ["paddingLeft", "paddingRight"] }, paddingY: { mappings: ["paddingTop", "paddingBottom"] }, alignSelf: { values: { "flex-start": { defaultClass: "_1rsrm2fe" }, "flex-end": { defaultClass: "_1rsrm2ff" }, center: { defaultClass: "_1rsrm2fg" } } }, backgroundSize: { values: { cover: { defaultClass: "_1rsrm2fh" } } }, borderRadius: { values: { "1": { defaultClass: "_1rsrm2fi" }, "4": { defaultClass: "_1rsrm2fj" }, "6": { defaultClass: "_1rsrm2fk" }, "8": { defaultClass: "_1rsrm2fl" }, "10": { defaultClass: "_1rsrm2fm" }, "13": { defaultClass: "_1rsrm2fn" }, "16": { defaultClass: "_1rsrm2fo" }, "24": { defaultClass: "_1rsrm2fp" }, actionButton: { defaultClass: "_1rsrm2fq" }, connectButton: { defaultClass: "_1rsrm2fr" }, menuButton: { defaultClass: "_1rsrm2fs" }, modal: { defaultClass: "_1rsrm2ft" }, modalMobile: { defaultClass: "_1rsrm2fu" }, "25%": { defaultClass: "_1rsrm2fv" }, full: { defaultClass: "_1rsrm2fw" } } }, borderStyle: { values: { solid: { defaultClass: "_1rsrm2fx" }, dotted: { defaultClass: "_1rsrm2fy" }, hidden: { defaultClass: "_1rsrm2fz" } } }, borderWidth: { values: { "0": { defaultClass: "_1rsrm2f10" }, "1": { defaultClass: "_1rsrm2f11" }, "2": { defaultClass: "_1rsrm2f12" }, "3": { defaultClass: "_1rsrm2f13" }, "4": { defaultClass: "_1rsrm2f14" }, "0.5": { defaultClass: "_1rsrm2f15" } } }, cursor: { values: { pointer: { defaultClass: "_1rsrm2f16" }, "not-allowed": { defaultClass: "_1rsrm2f17" }, "default": { defaultClass: "_1rsrm2f18" } } }, flexDirection: { values: { row: { defaultClass: "_1rsrm2f19" }, column: { defaultClass: "_1rsrm2f1a" } } }, fontFamily: { values: { body: { defaultClass: "_1rsrm2f1b" } } }, fontSize: { values: { "8": { defaultClass: "_1rsrm2f1c" }, "10": { defaultClass: "_1rsrm2f1d" }, "12": { defaultClass: "_1rsrm2f1e" }, "13": { defaultClass: "_1rsrm2f1f" }, "14": { defaultClass: "_1rsrm2f1g" }, "16": { defaultClass: "_1rsrm2f1h" }, "18": { defaultClass: "_1rsrm2f1i" }, "20": { defaultClass: "_1rsrm2f1j" }, "23": { defaultClass: "_1rsrm2f1k" }, "40": { defaultClass: "_1rsrm2f1l" }, "57": { defaultClass: "_1rsrm2f1m" } } }, fontWeight: { values: { regular: { defaultClass: "_1rsrm2f1n" }, medium: { defaultClass: "_1rsrm2f1o" }, semibold: { defaultClass: "_1rsrm2f1p" }, bold: { defaultClass: "_1rsrm2f1q" }, heavy: { defaultClass: "_1rsrm2f1r" } } }, gap: { values: { "0": { defaultClass: "_1rsrm2f1s" }, "1": { defaultClass: "_1rsrm2f1t" }, "2": { defaultClass: "_1rsrm2f1u" }, "3": { defaultClass: "_1rsrm2f1v" }, "4": { defaultClass: "_1rsrm2f1w" }, "5": { defaultClass: "_1rsrm2f1x" }, "6": { defaultClass: "_1rsrm2f1y" }, "8": { defaultClass: "_1rsrm2f1z" }, "9": { defaultClass: "_1rsrm2f20" }, "10": { defaultClass: "_1rsrm2f21" }, "11": { defaultClass: "_1rsrm2f22" }, "12": { defaultClass: "_1rsrm2f23" }, "13": { defaultClass: "_1rsrm2f24" }, "14": { defaultClass: "_1rsrm2f25" }, "15": { defaultClass: "_1rsrm2f26" }, "16": { defaultClass: "_1rsrm2f27" }, "18": { defaultClass: "_1rsrm2f28" }, "20": { defaultClass: "_1rsrm2f29" }, "24": { defaultClass: "_1rsrm2f2a" }, "28": { defaultClass: "_1rsrm2f2b" }, "30": { defaultClass: "_1rsrm2f2c" }, "32": { defaultClass: "_1rsrm2f2d" }, "36": { defaultClass: "_1rsrm2f2e" }, "44": { defaultClass: "_1rsrm2f2f" }, "64": { defaultClass: "_1rsrm2f2g" }, "-1": { defaultClass: "_1rsrm2f2h" } } }, height: { values: { "1": { defaultClass: "_1rsrm2f2i" }, "2": { defaultClass: "_1rsrm2f2j" }, "4": { defaultClass: "_1rsrm2f2k" }, "8": { defaultClass: "_1rsrm2f2l" }, "10": { defaultClass: "_1rsrm2f2m" }, "12": { defaultClass: "_1rsrm2f2n" }, "13": { defaultClass: "_1rsrm2f2o" }, "14": { defaultClass: "_1rsrm2f2p" }, "15": { defaultClass: "_1rsrm2f2q" }, "16": { defaultClass: "_1rsrm2f2r" }, "18": { defaultClass: "_1rsrm2f2s" }, "20": { defaultClass: "_1rsrm2f2t" }, "24": { defaultClass: "_1rsrm2f2u" }, "28": { defaultClass: "_1rsrm2f2v" }, "30": { defaultClass: "_1rsrm2f2w" }, "32": { defaultClass: "_1rsrm2f2x" }, "34": { defaultClass: "_1rsrm2f2y" }, "36": { defaultClass: "_1rsrm2f2z" }, "40": { defaultClass: "_1rsrm2f30" }, "44": { defaultClass: "_1rsrm2f31" }, "48": { defaultClass: "_1rsrm2f32" }, "50": { defaultClass: "_1rsrm2f33" }, "54": { defaultClass: "_1rsrm2f34" }, "57": { defaultClass: "_1rsrm2f35" }, "60": { defaultClass: "_1rsrm2f36" }, "72": { defaultClass: "_1rsrm2f37" }, "93": { defaultClass: "_1rsrm2f38" }, "96": { defaultClass: "_1rsrm2f39" }, "100": { defaultClass: "_1rsrm2f3a" }, "108": { defaultClass: "_1rsrm2f3b" }, "120": { defaultClass: "_1rsrm2f3c" }, "162": { defaultClass: "_1rsrm2f3d" }, "180": { defaultClass: "_1rsrm2f3e" }, "192": { defaultClass: "_1rsrm2f3f" }, "200": { defaultClass: "_1rsrm2f3g" }, "210": { defaultClass: "_1rsrm2f3h" }, "220": { defaultClass: "_1rsrm2f3i" }, "230": { defaultClass: "_1rsrm2f3j" }, "240": { defaultClass: "_1rsrm2f3k" }, "256": { defaultClass: "_1rsrm2f3l" }, "320": { defaultClass: "_1rsrm2f3m" }, "400": { defaultClass: "_1rsrm2f3n" }, "440": { defaultClass: "_1rsrm2f3o" }, "600": { defaultClass: "_1rsrm2f3p" }, half: { defaultClass: "_1rsrm2f3q" }, full: { defaultClass: "_1rsrm2f3r" }, max: { defaultClass: "_1rsrm2f3s" } } }, justifyContent: { values: { "flex-start": { defaultClass: "_1rsrm2f3t" }, "flex-end": { defaultClass: "_1rsrm2f3u" }, center: { defaultClass: "_1rsrm2f3v" }, "space-between": { defaultClass: "_1rsrm2f3w" }, "space-around": { defaultClass: "_1rsrm2f3x" } } }, textAlign: { values: { left: { defaultClass: "_1rsrm2f3y" }, center: { defaultClass: "_1rsrm2f3z" }, right: { defaultClass: "_1rsrm2f40" }, inherit: { defaultClass: "_1rsrm2f41" } } }, marginBottom: { values: { "0": { defaultClass: "_1rsrm2f42" }, "1": { defaultClass: "_1rsrm2f43" }, "2": { defaultClass: "_1rsrm2f44" }, "3": { defaultClass: "_1rsrm2f45" }, "4": { defaultClass: "_1rsrm2f46" }, "5": { defaultClass: "_1rsrm2f47" }, "6": { defaultClass: "_1rsrm2f48" }, "8": { defaultClass: "_1rsrm2f49" }, "9": { defaultClass: "_1rsrm2f4a" }, "10": { defaultClass: "_1rsrm2f4b" }, "11": { defaultClass: "_1rsrm2f4c" }, "12": { defaultClass: "_1rsrm2f4d" }, "13": { defaultClass: "_1rsrm2f4e" }, "14": { defaultClass: "_1rsrm2f4f" }, "15": { defaultClass: "_1rsrm2f4g" }, "16": { defaultClass: "_1rsrm2f4h" }, "18": { defaultClass: "_1rsrm2f4i" }, "20": { defaultClass: "_1rsrm2f4j" }, "24": { defaultClass: "_1rsrm2f4k" }, "28": { defaultClass: "_1rsrm2f4l" }, "30": { defaultClass: "_1rsrm2f4m" }, "32": { defaultClass: "_1rsrm2f4n" }, "36": { defaultClass: "_1rsrm2f4o" }, "44": { defaultClass: "_1rsrm2f4p" }, "64": { defaultClass: "_1rsrm2f4q" }, auto: { defaultClass: "_1rsrm2f4r" }, "-18": { defaultClass: "_1rsrm2f4s" }, "-1": { defaultClass: "_1rsrm2f4t" } } }, marginLeft: { values: { "0": { defaultClass: "_1rsrm2f4u" }, "1": { defaultClass: "_1rsrm2f4v" }, "2": { defaultClass: "_1rsrm2f4w" }, "3": { defaultClass: "_1rsrm2f4x" }, "4": { defaultClass: "_1rsrm2f4y" }, "5": { defaultClass: "_1rsrm2f4z" }, "6": { defaultClass: "_1rsrm2f50" }, "8": { defaultClass: "_1rsrm2f51" }, "9": { defaultClass: "_1rsrm2f52" }, "10": { defaultClass: "_1rsrm2f53" }, "11": { defaultClass: "_1rsrm2f54" }, "12": { defaultClass: "_1rsrm2f55" }, "13": { defaultClass: "_1rsrm2f56" }, "14": { defaultClass: "_1rsrm2f57" }, "15": { defaultClass: "_1rsrm2f58" }, "16": { defaultClass: "_1rsrm2f59" }, "18": { defaultClass: "_1rsrm2f5a" }, "20": { defaultClass: "_1rsrm2f5b" }, "24": { defaultClass: "_1rsrm2f5c" }, "28": { defaultClass: "_1rsrm2f5d" }, "30": { defaultClass: "_1rsrm2f5e" }, "32": { defaultClass: "_1rsrm2f5f" }, "36": { defaultClass: "_1rsrm2f5g" }, "44": { defaultClass: "_1rsrm2f5h" }, "64": { defaultClass: "_1rsrm2f5i" }, auto: { defaultClass: "_1rsrm2f5j" }, "-18": { defaultClass: "_1rsrm2f5k" }, "-1": { defaultClass: "_1rsrm2f5l" } } }, marginRight: { values: { "0": { defaultClass: "_1rsrm2f5m" }, "1": { defaultClass: "_1rsrm2f5n" }, "2": { defaultClass: "_1rsrm2f5o" }, "3": { defaultClass: "_1rsrm2f5p" }, "4": { defaultClass: "_1rsrm2f5q" }, "5": { defaultClass: "_1rsrm2f5r" }, "6": { defaultClass: "_1rsrm2f5s" }, "8": { defaultClass: "_1rsrm2f5t" }, "9": { defaultClass: "_1rsrm2f5u" }, "10": { defaultClass: "_1rsrm2f5v" }, "11": { defaultClass: "_1rsrm2f5w" }, "12": { defaultClass: "_1rsrm2f5x" }, "13": { defaultClass: "_1rsrm2f5y" }, "14": { defaultClass: "_1rsrm2f5z" }, "15": { defaultClass: "_1rsrm2f60" }, "16": { defaultClass: "_1rsrm2f61" }, "18": { defaultClass: "_1rsrm2f62" }, "20": { defaultClass: "_1rsrm2f63" }, "24": { defaultClass: "_1rsrm2f64" }, "28": { defaultClass: "_1rsrm2f65" }, "30": { defaultClass: "_1rsrm2f66" }, "32": { defaultClass: "_1rsrm2f67" }, "36": { defaultClass: "_1rsrm2f68" }, "44": { defaultClass: "_1rsrm2f69" }, "64": { defaultClass: "_1rsrm2f6a" }, auto: { defaultClass: "_1rsrm2f6b" }, "-18": { defaultClass: "_1rsrm2f6c" }, "-1": { defaultClass: "_1rsrm2f6d" } } }, marginTop: { values: { "0": { defaultClass: "_1rsrm2f6e" }, "1": { defaultClass: "_1rsrm2f6f" }, "2": { defaultClass: "_1rsrm2f6g" }, "3": { defaultClass: "_1rsrm2f6h" }, "4": { defaultClass: "_1rsrm2f6i" }, "5": { defaultClass: "_1rsrm2f6j" }, "6": { defaultClass: "_1rsrm2f6k" }, "8": { defaultClass: "_1rsrm2f6l" }, "9": { defaultClass: "_1rsrm2f6m" }, "10": { defaultClass: "_1rsrm2f6n" }, "11": { defaultClass: "_1rsrm2f6o" }, "12": { defaultClass: "_1rsrm2f6p" }, "13": { defaultClass: "_1rsrm2f6q" }, "14": { defaultClass: "_1rsrm2f6r" }, "15": { defaultClass: "_1rsrm2f6s" }, "16": { defaultClass: "_1rsrm2f6t" }, "18": { defaultClass: "_1rsrm2f6u" }, "20": { defaultClass: "_1rsrm2f6v" }, "24": { defaultClass: "_1rsrm2f6w" }, "28": { defaultClass: "_1rsrm2f6x" }, "30": { defaultClass: "_1rsrm2f6y" }, "32": { defaultClass: "_1rsrm2f6z" }, "36": { defaultClass: "_1rsrm2f70" }, "44": { defaultClass: "_1rsrm2f71" }, "64": { defaultClass: "_1rsrm2f72" }, auto: { defaultClass: "_1rsrm2f73" }, "-18": { defaultClass: "_1rsrm2f74" }, "-1": { defaultClass: "_1rsrm2f75" } } }, minHeight: { values: { "1": { defaultClass: "_1rsrm2f76" }, "2": { defaultClass: "_1rsrm2f77" }, "4": { defaultClass: "_1rsrm2f78" }, "8": { defaultClass: "_1rsrm2f79" }, "10": { defaultClass: "_1rsrm2f7a" }, "12": { defaultClass: "_1rsrm2f7b" }, "13": { defaultClass: "_1rsrm2f7c" }, "14": { defaultClass: "_1rsrm2f7d" }, "15": { defaultClass: "_1rsrm2f7e" }, "16": { defaultClass: "_1rsrm2f7f" }, "18": { defaultClass: "_1rsrm2f7g" }, "20": { defaultClass: "_1rsrm2f7h" }, "24": { defaultClass: "_1rsrm2f7i" }, "28": { defaultClass: "_1rsrm2f7j" }, "30": { defaultClass: "_1rsrm2f7k" }, "32": { defaultClass: "_1rsrm2f7l" }, "34": { defaultClass: "_1rsrm2f7m" }, "36": { defaultClass: "_1rsrm2f7n" }, "40": { defaultClass: "_1rsrm2f7o" }, "44": { defaultClass: "_1rsrm2f7p" }, "48": { defaultClass: "_1rsrm2f7q" }, "50": { defaultClass: "_1rsrm2f7r" }, "54": { defaultClass: "_1rsrm2f7s" }, "57": { defaultClass: "_1rsrm2f7t" }, "60": { defaultClass: "_1rsrm2f7u" }, "72": { defaultClass: "_1rsrm2f7v" }, "93": { defaultClass: "_1rsrm2f7w" }, "96": { defaultClass: "_1rsrm2f7x" }, "100": { defaultClass: "_1rsrm2f7y" }, "108": { defaultClass: "_1rsrm2f7z" }, "120": { defaultClass: "_1rsrm2f80" }, "162": { defaultClass: "_1rsrm2f81" }, "180": { defaultClass: "_1rsrm2f82" }, "192": { defaultClass: "_1rsrm2f83" }, "200": { defaultClass: "_1rsrm2f84" }, "210": { defaultClass: "_1rsrm2f85" }, "220": { defaultClass: "_1rsrm2f86" }, "230": { defaultClass: "_1rsrm2f87" }, "240": { defaultClass: "_1rsrm2f88" }, "256": { defaultClass: "_1rsrm2f89" }, "320": { defaultClass: "_1rsrm2f8a" }, "400": { defaultClass: "_1rsrm2f8b" }, "440": { defaultClass: "_1rsrm2f8c" }, "600": { defaultClass: "_1rsrm2f8d" }, half: { defaultClass: "_1rsrm2f8e" }, full: { defaultClass: "_1rsrm2f8f" }, max: { defaultClass: "_1rsrm2f8g" } } }, maxHeight: { values: { "1": { defaultClass: "_1rsrm2f8h" }, "2": { defaultClass: "_1rsrm2f8i" }, "4": { defaultClass: "_1rsrm2f8j" }, "8": { defaultClass: "_1rsrm2f8k" }, "10": { defaultClass: "_1rsrm2f8l" }, "12": { defaultClass: "_1rsrm2f8m" }, "13": { defaultClass: "_1rsrm2f8n" }, "14": { defaultClass: "_1rsrm2f8o" }, "15": { defaultClass: "_1rsrm2f8p" }, "16": { defaultClass: "_1rsrm2f8q" }, "18": { defaultClass: "_1rsrm2f8r" }, "20": { defaultClass: "_1rsrm2f8s" }, "24": { defaultClass: "_1rsrm2f8t" }, "28": { defaultClass: "_1rsrm2f8u" }, "30": { defaultClass: "_1rsrm2f8v" }, "32": { defaultClass: "_1rsrm2f8w" }, "34": { defaultClass: "_1rsrm2f8x" }, "36": { defaultClass: "_1rsrm2f8y" }, "40": { defaultClass: "_1rsrm2f8z" }, "44": { defaultClass: "_1rsrm2f90" }, "48": { defaultClass: "_1rsrm2f91" }, "50": { defaultClass: "_1rsrm2f92" }, "54": { defaultClass: "_1rsrm2f93" }, "57": { defaultClass: "_1rsrm2f94" }, "60": { defaultClass: "_1rsrm2f95" }, "72": { defaultClass: "_1rsrm2f96" }, "93": { defaultClass: "_1rsrm2f97" }, "96": { defaultClass: "_1rsrm2f98" }, "100": { defaultClass: "_1rsrm2f99" }, "108": { defaultClass: "_1rsrm2f9a" }, "120": { defaultClass: "_1rsrm2f9b" }, "162": { defaultClass: "_1rsrm2f9c" }, "180": { defaultClass: "_1rsrm2f9d" }, "192": { defaultClass: "_1rsrm2f9e" }, "200": { defaultClass: "_1rsrm2f9f" }, "210": { defaultClass: "_1rsrm2f9g" }, "220": { defaultClass: "_1rsrm2f9h" }, "230": { defaultClass: "_1rsrm2f9i" }, "240": { defaultClass: "_1rsrm2f9j" }, "256": { defaultClass: "_1rsrm2f9k" }, "320": { defaultClass: "_1rsrm2f9l" }, "400": { defaultClass: "_1rsrm2f9m" }, "440": { defaultClass: "_1rsrm2f9n" }, "600": { defaultClass: "_1rsrm2f9o" }, half: { defaultClass: "_1rsrm2f9p" }, full: { defaultClass: "_1rsrm2f9q" }, max: { defaultClass: "_1rsrm2f9r" } } }, maxWidth: { values: { "1": { defaultClass: "_1rsrm2f9s" }, "2": { defaultClass: "_1rsrm2f9t" }, "4": { defaultClass: "_1rsrm2f9u" }, "8": { defaultClass: "_1rsrm2f9v" }, "10": { defaultClass: "_1rsrm2f9w" }, "12": { defaultClass: "_1rsrm2f9x" }, "13": { defaultClass: "_1rsrm2f9y" }, "14": { defaultClass: "_1rsrm2f9z" }, "15": { defaultClass: "_1rsrm2fa0" }, "16": { defaultClass: "_1rsrm2fa1" }, "18": { defaultClass: "_1rsrm2fa2" }, "20": { defaultClass: "_1rsrm2fa3" }, "24": { defaultClass: "_1rsrm2fa4" }, "28": { defaultClass: "_1rsrm2fa5" }, "30": { defaultClass: "_1rsrm2fa6" }, "32": { defaultClass: "_1rsrm2fa7" }, "34": { defaultClass: "_1rsrm2fa8" }, "36": { defaultClass: "_1rsrm2fa9" }, "40": { defaultClass: "_1rsrm2faa" }, "44": { defaultClass: "_1rsrm2fab" }, "48": { defaultClass: "_1rsrm2fac" }, "50": { defaultClass: "_1rsrm2fad" }, "54": { defaultClass: "_1rsrm2fae" }, "57": { defaultClass: "_1rsrm2faf" }, "60": { defaultClass: "_1rsrm2fag" }, "72": { defaultClass: "_1rsrm2fah" }, "93": { defaultClass: "_1rsrm2fai" }, "96": { defaultClass: "_1rsrm2faj" }, "100": { defaultClass: "_1rsrm2fak" }, "108": { defaultClass: "_1rsrm2fal" }, "120": { defaultClass: "_1rsrm2fam" }, "162": { defaultClass: "_1rsrm2fan" }, "180": { defaultClass: "_1rsrm2fao" }, "192": { defaultClass: "_1rsrm2fap" }, "200": { defaultClass: "_1rsrm2faq" }, "210": { defaultClass: "_1rsrm2far" }, "220": { defaultClass: "_1rsrm2fas" }, "230": { defaultClass: "_1rsrm2fat" }, "240": { defaultClass: "_1rsrm2fau" }, "256": { defaultClass: "_1rsrm2fav" }, "320": { defaultClass: "_1rsrm2faw" }, "400": { defaultClass: "_1rsrm2fax" }, "440": { defaultClass: "_1rsrm2fay" }, "600": { defaultClass: "_1rsrm2faz" }, half: { defaultClass: "_1rsrm2fb0" }, full: { defaultClass: "_1rsrm2fb1" }, max: { defaultClass: "_1rsrm2fb2" } } }, minWidth: { values: { "1": { defaultClass: "_1rsrm2fb3" }, "2": { defaultClass: "_1rsrm2fb4" }, "4": { defaultClass: "_1rsrm2fb5" }, "8": { defaultClass: "_1rsrm2fb6" }, "10": { defaultClass: "_1rsrm2fb7" }, "12": { defaultClass: "_1rsrm2fb8" }, "13": { defaultClass: "_1rsrm2fb9" }, "14": { defaultClass: "_1rsrm2fba" }, "15": { defaultClass: "_1rsrm2fbb" }, "16": { defaultClass: "_1rsrm2fbc" }, "18": { defaultClass: "_1rsrm2fbd" }, "20": { defaultClass: "_1rsrm2fbe" }, "24": { defaultClass: "_1rsrm2fbf" }, "28": { defaultClass: "_1rsrm2fbg" }, "30": { defaultClass: "_1rsrm2fbh" }, "32": { defaultClass: "_1rsrm2fbi" }, "34": { defaultClass: "_1rsrm2fbj" }, "36": { defaultClass: "_1rsrm2fbk" }, "40": { defaultClass: "_1rsrm2fbl" }, "44": { defaultClass: "_1rsrm2fbm" }, "48": { defaultClass: "_1rsrm2fbn" }, "50": { defaultClass: "_1rsrm2fbo" }, "54": { defaultClass: "_1rsrm2fbp" }, "57": { defaultClass: "_1rsrm2fbq" }, "60": { defaultClass: "_1rsrm2fbr" }, "72": { defaultClass: "_1rsrm2fbs" }, "93": { defaultClass: "_1rsrm2fbt" }, "96": { defaultClass: "_1rsrm2fbu" }, "100": { defaultClass: "_1rsrm2fbv" }, "108": { defaultClass: "_1rsrm2fbw" }, "120": { defaultClass: "_1rsrm2fbx" }, "162": { defaultClass: "_1rsrm2fby" }, "180": { defaultClass: "_1rsrm2fbz" }, "192": { defaultClass: "_1rsrm2fc0" }, "200": { defaultClass: "_1rsrm2fc1" }, "210": { defaultClass: "_1rsrm2fc2" }, "220": { defaultClass: "_1rsrm2fc3" }, "230": { defaultClass: "_1rsrm2fc4" }, "240": { defaultClass: "_1rsrm2fc5" }, "256": { defaultClass: "_1rsrm2fc6" }, "320": { defaultClass: "_1rsrm2fc7" }, "400": { defaultClass: "_1rsrm2fc8" }, "440": { defaultClass: "_1rsrm2fc9" }, "600": { defaultClass: "_1rsrm2fca" }, half: { defaultClass: "_1rsrm2fcb" }, full: { defaultClass: "_1rsrm2fcc" }, max: { defaultClass: "_1rsrm2fcd" } } }, overflow: { values: { hidden: { defaultClass: "_1rsrm2fce" } } }, paddingBottom: { values: { "0": { defaultClass: "_1rsrm2fcf" }, "1": { defaultClass: "_1rsrm2fcg" }, "2": { defaultClass: "_1rsrm2fch" }, "3": { defaultClass: "_1rsrm2fci" }, "4": { defaultClass: "_1rsrm2fcj" }, "5": { defaultClass: "_1rsrm2fck" }, "6": { defaultClass: "_1rsrm2fcl" }, "8": { defaultClass: "_1rsrm2fcm" }, "9": { defaultClass: "_1rsrm2fcn" }, "10": { defaultClass: "_1rsrm2fco" }, "11": { defaultClass: "_1rsrm2fcp" }, "12": { defaultClass: "_1rsrm2fcq" }, "13": { defaultClass: "_1rsrm2fcr" }, "14": { defaultClass: "_1rsrm2fcs" }, "15": { defaultClass: "_1rsrm2fct" }, "16": { defaultClass: "_1rsrm2fcu" }, "18": { defaultClass: "_1rsrm2fcv" }, "20": { defaultClass: "_1rsrm2fcw" }, "24": { defaultClass: "_1rsrm2fcx" }, "28": { defaultClass: "_1rsrm2fcy" }, "30": { defaultClass: "_1rsrm2fcz" }, "32": { defaultClass: "_1rsrm2fd0" }, "36": { defaultClass: "_1rsrm2fd1" }, "44": { defaultClass: "_1rsrm2fd2" }, "64": { defaultClass: "_1rsrm2fd3" }, "-1": { defaultClass: "_1rsrm2fd4" } } }, paddingLeft: { values: { "0": { defaultClass: "_1rsrm2fd5" }, "1": { defaultClass: "_1rsrm2fd6" }, "2": { defaultClass: "_1rsrm2fd7" }, "3": { defaultClass: "_1rsrm2fd8" }, "4": { defaultClass: "_1rsrm2fd9" }, "5": { defaultClass: "_1rsrm2fda" }, "6": { defaultClass: "_1rsrm2fdb" }, "8": { defaultClass: "_1rsrm2fdc" }, "9": { defaultClass: "_1rsrm2fdd" }, "10": { defaultClass: "_1rsrm2fde" }, "11": { defaultClass: "_1rsrm2fdf" }, "12": { defaultClass: "_1rsrm2fdg" }, "13": { defaultClass: "_1rsrm2fdh" }, "14": { defaultClass: "_1rsrm2fdi" }, "15": { defaultClass: "_1rsrm2fdj" }, "16": { defaultClass: "_1rsrm2fdk" }, "18": { defaultClass: "_1rsrm2fdl" }, "20": { defaultClass: "_1rsrm2fdm" }, "24": { defaultClass: "_1rsrm2fdn" }, "28": { defaultClass: "_1rsrm2fdo" }, "30": { defaultClass: "_1rsrm2fdp" }, "32": { defaultClass: "_1rsrm2fdq" }, "36": { defaultClass: "_1rsrm2fdr" }, "44": { defaultClass: "_1rsrm2fds" }, "64": { defaultClass: "_1rsrm2fdt" }, "-1": { defaultClass: "_1rsrm2fdu" } } }, paddingRight: { values: { "0": { defaultClass: "_1rsrm2fdv" }, "1": { defaultClass: "_1rsrm2fdw" }, "2": { defaultClass: "_1rsrm2fdx" }, "3": { defaultClass: "_1rsrm2fdy" }, "4": { defaultClass: "_1rsrm2fdz" }, "5": { defaultClass: "_1rsrm2fe0" }, "6": { defaultClass: "_1rsrm2fe1" }, "8": { defaultClass: "_1rsrm2fe2" }, "9": { defaultClass: "_1rsrm2fe3" }, "10": { defaultClass: "_1rsrm2fe4" }, "11": { defaultClass: "_1rsrm2fe5" }, "12": { defaultClass: "_1rsrm2fe6" }, "13": { defaultClass: "_1rsrm2fe7" }, "14": { defaultClass: "_1rsrm2fe8" }, "15": { defaultClass: "_1rsrm2fe9" }, "16": { defaultClass: "_1rsrm2fea" }, "18": { defaultClass: "_1rsrm2feb" }, "20": { defaultClass: "_1rsrm2fec" }, "24": { defaultClass: "_1rsrm2fed" }, "28": { defaultClass: "_1rsrm2fee" }, "30": { defaultClass: "_1rsrm2fef" }, "32": { defaultClass: "_1rsrm2feg" }, "36": { defaultClass: "_1rsrm2feh" }, "44": { defaultClass: "_1rsrm2fei" }, "64": { defaultClass: "_1rsrm2fej" }, "-1": { defaultClass: "_1rsrm2fek" } } }, paddingTop: { values: { "0": { defaultClass: "_1rsrm2fel" }, "1": { defaultClass: "_1rsrm2fem" }, "2": { defaultClass: "_1rsrm2fen" }, "3": { defaultClass: "_1rsrm2feo" }, "4": { defaultClass: "_1rsrm2fep" }, "5": { defaultClass: "_1rsrm2feq" }, "6": { defaultClass: "_1rsrm2fer" }, "8": { defaultClass: "_1rsrm2fes" }, "9": { defaultClass: "_1rsrm2fet" }, "10": { defaultClass: "_1rsrm2feu" }, "11": { defaultClass: "_1rsrm2fev" }, "12": { defaultClass: "_1rsrm2few" }, "13": { defaultClass: "_1rsrm2fex" }, "14": { defaultClass: "_1rsrm2fey" }, "15": { defaultClass: "_1rsrm2fez" }, "16": { defaultClass: "_1rsrm2ff0" }, "18": { defaultClass: "_1rsrm2ff1" }, "20": { defaultClass: "_1rsrm2ff2" }, "24": { defaultClass: "_1rsrm2ff3" }, "28": { defaultClass: "_1rsrm2ff4" }, "30": { defaultClass: "_1rsrm2ff5" }, "32": { defaultClass: "_1rsrm2ff6" }, "36": { defaultClass: "_1rsrm2ff7" }, "44": { defaultClass: "_1rsrm2ff8" }, "64": { defaultClass: "_1rsrm2ff9" }, "-1": { defaultClass: "_1rsrm2ffa" } } }, position: { values: { absolute: { defaultClass: "_1rsrm2ffb" }, fixed: { defaultClass: "_1rsrm2ffc" }, relative: { defaultClass: "_1rsrm2ffd" } } }, right: { values: { "0": { defaultClass: "_1rsrm2ffe" } } }, transition: { values: { "default": { defaultClass: "_1rsrm2fff" }, transform: { defaultClass: "_1rsrm2ffg" } } }, userSelect: { values: { none: { defaultClass: "_1rsrm2ffh" } } }, width: { values: { "1": { defaultClass: "_1rsrm2ffi" }, "2": { defaultClass: "_1rsrm2ffj" }, "4": { defaultClass: "_1rsrm2ffk" }, "8": { defaultClass: "_1rsrm2ffl" }, "10": { defaultClass: "_1rsrm2ffm" }, "12": { defaultClass: "_1rsrm2ffn" }, "13": { defaultClass: "_1rsrm2ffo" }, "14": { defaultClass: "_1rsrm2ffp" }, "15": { defaultClass: "_1rsrm2ffq" }, "16": { defaultClass: "_1rsrm2ffr" }, "18": { defaultClass: "_1rsrm2ffs" }, "20": { defaultClass: "_1rsrm2fft" }, "24": { defaultClass: "_1rsrm2ffu" }, "28": { defaultClass: "_1rsrm2ffv" }, "30": { defaultClass: "_1rsrm2ffw" }, "32": { defaultClass: "_1rsrm2ffx" }, "34": { defaultClass: "_1rsrm2ffy" }, "36": { defaultClass: "_1rsrm2ffz" }, "40": { defaultClass: "_1rsrm2fg0" }, "44": { defaultClass: "_1rsrm2fg1" }, "48": { defaultClass: "_1rsrm2fg2" }, "50": { defaultClass: "_1rsrm2fg3" }, "54": { defaultClass: "_1rsrm2fg4" }, "57": { defaultClass: "_1rsrm2fg5" }, "60": { defaultClass: "_1rsrm2fg6" }, "72": { defaultClass: "_1rsrm2fg7" }, "93": { defaultClass: "_1rsrm2fg8" }, "96": { defaultClass: "_1rsrm2fg9" }, "100": { defaultClass: "_1rsrm2fga" }, "108": { defaultClass: "_1rsrm2fgb" }, "120": { defaultClass: "_1rsrm2fgc" }, "162": { defaultClass: "_1rsrm2fgd" }, "180": { defaultClass: "_1rsrm2fge" }, "192": { defaultClass: "_1rsrm2fgf" }, "200": { defaultClass: "_1rsrm2fgg" }, "210": { defaultClass: "_1rsrm2fgh" }, "220": { defaultClass: "_1rsrm2fgi" }, "230": { defaultClass: "_1rsrm2fgj" }, "240": { defaultClass: "_1rsrm2fgk" }, "256": { defaultClass: "_1rsrm2fgl" }, "320": { defaultClass: "_1rsrm2fgm" }, "400": { defaultClass: "_1rsrm2fgn" }, "440": { defaultClass: "_1rsrm2fgo" }, "600": { defaultClass: "_1rsrm2fgp" }, half: { defaultClass: "_1rsrm2fgq" }, full: { defaultClass: "_1rsrm2fgr" }, max: { defaultClass: "_1rsrm2fgs" } } }, backdropFilter: { values: { modalOverlay: { defaultClass: "_1rsrm2fgt" } } } } });
|
|
34
34
|
var themeVars = { colors: { accentColor: "var(--rk-colors-accentColor)", accentColorForeground: "var(--rk-colors-accentColorForeground)", actionButtonBorder: "var(--rk-colors-actionButtonBorder)", connectButtonBackground: "var(--rk-colors-connectButtonBackground)", connectButtonBackgroundError: "var(--rk-colors-connectButtonBackgroundError)", connectButtonText: "var(--rk-colors-connectButtonText)", connectButtonTextError: "var(--rk-colors-connectButtonTextError)", connectionIndicator: "var(--rk-colors-connectionIndicator)", error: "var(--rk-colors-error)", generalBorder: "var(--rk-colors-generalBorder)", generalBorderDim: "var(--rk-colors-generalBorderDim)", menuItemBackground: "var(--rk-colors-menuItemBackground)", selectedOptionBorder: "var(--rk-colors-selectedOptionBorder)", paymentOptionBorderDisabled: "var(--rk-colors-paymentOptionBorderDisabled)", standby: "var(--rk-colors-standby)", success: "var(--rk-colors-success)", loadingBase: "var(--rk-colors-loadingBase)", loadingAccent: "var(--rk-colors-loadingAccent)", chainIconBorder: "var(--rk-colors-chainIconBorder)", modalBackdrop: "var(--rk-colors-modalBackdrop)", modalBackground: "var(--rk-colors-modalBackground)", modalBorder: "var(--rk-colors-modalBorder)", notificationPrimary: "var(--rk-colors-notificationPrimary)", offBackground: "var(--rk-colors-offBackground)", hoverState: "var(--rk-colors-hoverState)", offBackgroundInverse: "var(--rk-colors-offBackgroundInverse)", dydxSwitchActiveBackground: "var(--rk-colors-dydxSwitchActiveBackground)", primaryText: "var(--rk-colors-primaryText)", secondaryText: "var(--rk-colors-secondaryText)", tertiaryText: "var(--rk-colors-tertiaryText)", textSelection: "var(--rk-colors-textSelection)", inputBackground: "var(--rk-colors-inputBackground)", inputBorderBase: "var(--rk-colors-inputBorderBase)", inputBorderHover: "var(--rk-colors-inputBorderHover)", actionColor: "var(--rk-colors-actionColor)", actionColorHover: "var(--rk-colors-actionColorHover)", actionColorDisabled: "var(--rk-colors-actionColorDisabled)", buttonPrimary: "var(--rk-colors-buttonPrimary)", buttonDisabled: "var(--rk-colors-buttonDisabled)", buttonWarning: "var(--rk-colors-buttonWarning)", buttonSuccess: "var(--rk-colors-buttonSuccess)", buttonTextWarning: "var(--rk-colors-buttonTextWarning)", buttonTextSuccess: "var(--rk-colors-buttonTextSuccess)", buttonTextPrimary: "var(--rk-colors-buttonTextPrimary)", buttonTextDisabled: "var(--rk-colors-buttonTextDisabled)", transparent: "var(--rk-colors-transparent)", buttonBackgroundTertiary: "var(--rk-colors-buttonBackgroundTertiary)", buttonBackgroundHoverTertiary: "var(--rk-colors-buttonBackgroundHoverTertiary)", buttonTextTertiary: "var(--rk-colors-buttonTextTertiary)", buttonTextDisabledTertiary: "var(--rk-colors-buttonTextDisabledTertiary)", buttonStrokeTertiary: "var(--rk-colors-buttonStrokeTertiary)", buttonBackground: "var(--rk-colors-buttonBackground)", buttonBackgroundHover: "var(--rk-colors-buttonBackgroundHover)", buttonBackgroundDisabled: "var(--rk-colors-buttonBackgroundDisabled)", buttonText: "var(--rk-colors-buttonText)", buttonStroke: "var(--rk-colors-buttonStroke)", buttonTextSecondaryDisabled: "var(--rk-colors-buttonTextSecondaryDisabled)", buttonTextSecondary: "var(--rk-colors-buttonTextSecondary)", buttonIconBackgroundHover: "var(--rk-colors-buttonIconBackgroundHover)", buttonIconBackgroundPressed: "var(--rk-colors-buttonIconBackgroundPressed)", buttonIconStroke: "var(--rk-colors-buttonIconStroke)" }, fonts: { body: "var(--rk-fonts-body)" }, fontWeight: { regular: "var(--rk-fontWeight-regular)", medium: "var(--rk-fontWeight-medium)", semibold: "var(--rk-fontWeight-semibold)", bold: "var(--rk-fontWeight-bold)", heavy: "var(--rk-fontWeight-heavy)" }, fontSize: { "8": { fontSize: "var(--rk-fontSize-8-fontSize)", lineHeight: "var(--rk-fontSize-8-lineHeight)" }, "10": { fontSize: "var(--rk-fontSize-10-fontSize)", lineHeight: "var(--rk-fontSize-10-lineHeight)" }, "12": { fontSize: "var(--rk-fontSize-12-fontSize)", lineHeight: "var(--rk-fontSize-12-lineHeight)" }, "13": { fontSize: "var(--rk-fontSize-13-fontSize)", lineHeight: "var(--rk-fontSize-13-lineHeight)" }, "14": { fontSize: "var(--rk-fontSize-14-fontSize)", lineHeight: "var(--rk-fontSize-14-lineHeight)" }, "16": { fontSize: "var(--rk-fontSize-16-fontSize)", lineHeight: "var(--rk-fontSize-16-lineHeight)" }, "18": { fontSize: "var(--rk-fontSize-18-fontSize)", lineHeight: "var(--rk-fontSize-18-lineHeight)" }, "20": { fontSize: "var(--rk-fontSize-20-fontSize)", lineHeight: "var(--rk-fontSize-20-lineHeight)" }, "23": { fontSize: "var(--rk-fontSize-23-fontSize)", lineHeight: "var(--rk-fontSize-23-lineHeight)" }, "40": { fontSize: "var(--rk-fontSize-40-fontSize)", lineHeight: "var(--rk-fontSize-40-lineHeight)" }, "57": { fontSize: "var(--rk-fontSize-57-fontSize)", lineHeight: "var(--rk-fontSize-57-lineHeight)" } }, radii: { actionButton: "var(--rk-radii-actionButton)", connectButton: "var(--rk-radii-connectButton)", menuButton: "var(--rk-radii-menuButton)", modal: "var(--rk-radii-modal)", modalMobile: "var(--rk-radii-modalMobile)" }, shadows: { connectButton: "var(--rk-shadows-connectButton)", dialog: "var(--rk-shadows-dialog)", selectedOption: "var(--rk-shadows-selectedOption)", selectedWallet: "var(--rk-shadows-selectedWallet)", button: "var(--rk-shadows-button)" }, blurs: { modalOverlay: "var(--rk-blurs-modalOverlay)" }, moonpayTheme: "var(--rk-moonpayTheme)" };
|
|
35
35
|
|
|
36
36
|
// src/css/atoms.ts
|
|
@@ -86,11 +86,11 @@ function DevEmbed() {
|
|
|
86
86
|
|
|
87
87
|
// src/components/Dialog/DialogContent.css.ts
|
|
88
88
|
var SCROLL_BAR_WIDTH = 6;
|
|
89
|
-
var dialog = "_1pzt4231
|
|
90
|
-
var dialogCompact = "_1pzt4232 _1pzt4231
|
|
89
|
+
var dialog = "_1pzt4231 _1rsrm2fk6 _1rsrm2fui _1rsrm2ft _1rsrm2fx _1rsrm2f11 _1rsrm2f11c _1rsrm2fa _1rsrm2f1a _1rsrm2fce _1rsrm2ffd _1rsrm2fcq _1rsrm2fe1 _1rsrm2fdb";
|
|
90
|
+
var dialogCompact = "_1pzt4232 _1pzt4231 _1rsrm2fk6 _1rsrm2fui _1rsrm2ft _1rsrm2fx _1rsrm2f11 _1rsrm2f11c _1rsrm2fa _1rsrm2f1a _1rsrm2fce _1rsrm2ffd _1rsrm2fcq _1rsrm2fe1 _1rsrm2fdb";
|
|
91
91
|
var dialogMobile = "_1pzt4234 _1rsrm2fu";
|
|
92
92
|
var fullHeightContent = "_1pzt4238";
|
|
93
|
-
var scrollContent = "_1pzt4236
|
|
93
|
+
var scrollContent = "_1pzt4236 _1rsrm2fgr";
|
|
94
94
|
var scrollbarHidden = "_1pzt4237";
|
|
95
95
|
|
|
96
96
|
// src/__private__/index.ts
|
|
@@ -414,13 +414,13 @@ function Avatar({ address, imageUrl, loading, size }) {
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
// src/components/ConnectButton/ConnectButton.tsx
|
|
417
|
-
import
|
|
417
|
+
import React173, { useContext as useContext20, useEffect as useEffect36, useState as useState46 } from "react";
|
|
418
418
|
|
|
419
419
|
// src/css/touchableStyles.css.ts
|
|
420
420
|
var active = { shrink: "_7rkubb8", shrinkSm: "_7rkubb9" };
|
|
421
|
-
var base2 = "_7rkubb3
|
|
421
|
+
var base2 = "_7rkubb3 _1rsrm2ffd";
|
|
422
422
|
var hover = { grow: "_7rkubb6", growLg: "_7rkubb7" };
|
|
423
|
-
var primaryBase = "_7rkubb5
|
|
423
|
+
var primaryBase = "_7rkubb5 _1rsrm2ffd";
|
|
424
424
|
|
|
425
425
|
// src/css/touchableStyles.ts
|
|
426
426
|
function touchableStyles({ active: active2, hover: hover2 }) {
|
|
@@ -517,11 +517,11 @@ import PrivyJS, {
|
|
|
517
517
|
getUserEmbeddedWallet,
|
|
518
518
|
LocalStorage
|
|
519
519
|
} from "@privy-io/js-sdk-core";
|
|
520
|
-
import
|
|
520
|
+
import React170, {
|
|
521
521
|
createContext as createContext16,
|
|
522
522
|
useCallback as useCallback31,
|
|
523
523
|
useContext as useContext18,
|
|
524
|
-
useEffect as
|
|
524
|
+
useEffect as useEffect34,
|
|
525
525
|
useMemo as useMemo34,
|
|
526
526
|
useState as useState43
|
|
527
527
|
} from "react";
|
|
@@ -1409,11 +1409,11 @@ var useFunkitConnectChainsById = () => groupChainsById(useFunkitConnectChains())
|
|
|
1409
1409
|
var useInitialChainId = () => useContext4(FunkitConnectChainContext).initialChainId;
|
|
1410
1410
|
|
|
1411
1411
|
// src/components/FunkitProvider/ModalContext.tsx
|
|
1412
|
-
import
|
|
1412
|
+
import React169, {
|
|
1413
1413
|
createContext as createContext15,
|
|
1414
1414
|
useCallback as useCallback30,
|
|
1415
1415
|
useContext as useContext17,
|
|
1416
|
-
useEffect as
|
|
1416
|
+
useEffect as useEffect33,
|
|
1417
1417
|
useMemo as useMemo33,
|
|
1418
1418
|
useState as useState42
|
|
1419
1419
|
} from "react";
|
|
@@ -1460,7 +1460,7 @@ import { useEffect as useEffect4, useRef, useState as useState3 } from "react";
|
|
|
1460
1460
|
var useScrollDivider = () => {
|
|
1461
1461
|
const ref = useRef(null);
|
|
1462
1462
|
const [isTop, setIsTop] = useState3(true);
|
|
1463
|
-
const [
|
|
1463
|
+
const [isScrollable, setIsScrollable] = useState3(false);
|
|
1464
1464
|
const [isScrolling, setIsScrolling] = useState3(false);
|
|
1465
1465
|
useEffect4(() => {
|
|
1466
1466
|
const content2 = ref.current;
|
|
@@ -1468,7 +1468,7 @@ var useScrollDivider = () => {
|
|
|
1468
1468
|
const handleScrollPositionChange = () => {
|
|
1469
1469
|
const { scrollTop, scrollHeight, clientHeight } = content2;
|
|
1470
1470
|
setIsTop(scrollTop === 0);
|
|
1471
|
-
|
|
1471
|
+
setIsScrollable(scrollHeight > clientHeight);
|
|
1472
1472
|
};
|
|
1473
1473
|
const onScrollChange = () => {
|
|
1474
1474
|
handleScrollPositionChange();
|
|
@@ -1488,8 +1488,9 @@ var useScrollDivider = () => {
|
|
|
1488
1488
|
return {
|
|
1489
1489
|
ref,
|
|
1490
1490
|
hasTopDivider: !isTop && isScrolling,
|
|
1491
|
-
hasBottomDivider:
|
|
1492
|
-
isScrolling
|
|
1491
|
+
hasBottomDivider: isScrollable,
|
|
1492
|
+
isScrolling,
|
|
1493
|
+
isScrollable
|
|
1493
1494
|
};
|
|
1494
1495
|
};
|
|
1495
1496
|
|
|
@@ -1523,7 +1524,7 @@ var noop = () => void 0;
|
|
|
1523
1524
|
// src/components/FunButton/FunButton.css.ts
|
|
1524
1525
|
var funIconButtonClickableStyle = "_1tyx5nu4";
|
|
1525
1526
|
var funIconButtonDisabledStyle = "_1tyx5nu5";
|
|
1526
|
-
var funLinkButtonStyle = "_1tyx5nu1
|
|
1527
|
+
var funLinkButtonStyle = "_1tyx5nu1 _1rsrm2f186";
|
|
1527
1528
|
var pressedStyles = "_1tyx5nu3";
|
|
1528
1529
|
var transitionStyles = "_1tyx5nu2";
|
|
1529
1530
|
|
|
@@ -1627,14 +1628,18 @@ var CloseIcon = ({ size = 13 }) => {
|
|
|
1627
1628
|
};
|
|
1628
1629
|
|
|
1629
1630
|
// src/components/CloseButton/CloseButton.tsx
|
|
1630
|
-
var CloseButton = ({
|
|
1631
|
+
var CloseButton = ({
|
|
1632
|
+
onClose,
|
|
1633
|
+
...buttonProps
|
|
1634
|
+
}) => {
|
|
1631
1635
|
return /* @__PURE__ */ React12.createElement(
|
|
1632
1636
|
FunIconButton,
|
|
1633
1637
|
{
|
|
1634
1638
|
onClick: onClose,
|
|
1635
1639
|
icon: /* @__PURE__ */ React12.createElement(CloseIcon, null),
|
|
1636
1640
|
ariaLabel: "Close",
|
|
1637
|
-
size: "32"
|
|
1641
|
+
size: "32",
|
|
1642
|
+
...buttonProps
|
|
1638
1643
|
}
|
|
1639
1644
|
);
|
|
1640
1645
|
};
|
|
@@ -1924,13 +1929,16 @@ function FunPoweredTagline() {
|
|
|
1924
1929
|
);
|
|
1925
1930
|
}
|
|
1926
1931
|
|
|
1932
|
+
// src/components/FunBottomBar/FunBottomBar.css.ts
|
|
1933
|
+
var topSectionDynamicPadding = "n5qwi0";
|
|
1934
|
+
|
|
1927
1935
|
// src/components/FunBottomBar/FunBottomBar.tsx
|
|
1928
1936
|
var FunBottomBar = ({
|
|
1929
1937
|
topSection = null,
|
|
1930
1938
|
actionButtonProps,
|
|
1931
1939
|
bottomSection = /* @__PURE__ */ React17.createElement(FunPoweredTagline, null)
|
|
1932
1940
|
}) => {
|
|
1933
|
-
return /* @__PURE__ */ React17.createElement(Box, null, /* @__PURE__ */ React17.createElement(Box, {
|
|
1941
|
+
return /* @__PURE__ */ React17.createElement(Box, null, /* @__PURE__ */ React17.createElement(Box, { className: topSectionDynamicPadding }, topSection), /* @__PURE__ */ React17.createElement(Box, null, /* @__PURE__ */ React17.createElement(FunButton, { ...actionButtonProps })), /* @__PURE__ */ React17.createElement(Box, { paddingTop: "8" }, bottomSection));
|
|
1934
1942
|
};
|
|
1935
1943
|
|
|
1936
1944
|
// src/components/FunButton/FunBackButton.tsx
|
|
@@ -1944,24 +1952,24 @@ var directionMap = {
|
|
|
1944
1952
|
left: void 0,
|
|
1945
1953
|
right: "rotate(180)"
|
|
1946
1954
|
};
|
|
1947
|
-
var ArrowIcon = ({ direction, size =
|
|
1955
|
+
var ArrowIcon = ({ direction, size = 16 }) => {
|
|
1948
1956
|
return /* @__PURE__ */ React18.createElement(
|
|
1949
1957
|
"svg",
|
|
1950
1958
|
{
|
|
1951
|
-
width: size,
|
|
1952
|
-
viewBox: "0 0 11 13",
|
|
1953
1959
|
fill: "none",
|
|
1954
|
-
|
|
1955
|
-
transform: directionMap[direction]
|
|
1960
|
+
height: size,
|
|
1961
|
+
transform: directionMap[direction],
|
|
1962
|
+
viewBox: "0 0 16 16",
|
|
1963
|
+
width: size,
|
|
1964
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1956
1965
|
},
|
|
1957
1966
|
/* @__PURE__ */ React18.createElement(
|
|
1958
1967
|
"path",
|
|
1959
1968
|
{
|
|
1960
|
-
|
|
1961
|
-
d: "
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
strokeLinecap: "round"
|
|
1969
|
+
clipRule: "evenodd",
|
|
1970
|
+
d: "M10.5303 13.5303C10.8232 13.2374 10.8232 12.7626 10.5303 12.4697L6.06066 8L10.5303 3.53033C10.8232 3.23744 10.8232 2.76256 10.5303 2.46967C10.2374 2.17678 9.76256 2.17678 9.46967 2.46967L4.46967 7.46967C4.17678 7.76256 4.17678 8.23744 4.46967 8.53033L9.46967 13.5303C9.76256 13.8232 10.2374 13.8232 10.5303 13.5303Z",
|
|
1971
|
+
fill: "currentColor",
|
|
1972
|
+
fillRule: "evenodd"
|
|
1965
1973
|
}
|
|
1966
1974
|
)
|
|
1967
1975
|
);
|
|
@@ -1969,14 +1977,18 @@ var ArrowIcon = ({ direction, size = 11 }) => {
|
|
|
1969
1977
|
var BackIcon = () => /* @__PURE__ */ React18.createElement(ArrowIcon, { direction: "left" });
|
|
1970
1978
|
|
|
1971
1979
|
// src/components/FunButton/FunBackButton.tsx
|
|
1972
|
-
var FunBackButton = ({
|
|
1980
|
+
var FunBackButton = ({
|
|
1981
|
+
onBack,
|
|
1982
|
+
...buttonProps
|
|
1983
|
+
}) => {
|
|
1973
1984
|
return /* @__PURE__ */ React19.createElement(
|
|
1974
1985
|
FunIconButton,
|
|
1975
1986
|
{
|
|
1976
1987
|
onClick: onBack,
|
|
1977
1988
|
icon: /* @__PURE__ */ React19.createElement(BackIcon, null),
|
|
1978
1989
|
ariaLabel: "Back",
|
|
1979
|
-
size: "32"
|
|
1990
|
+
size: "32",
|
|
1991
|
+
...buttonProps
|
|
1980
1992
|
}
|
|
1981
1993
|
);
|
|
1982
1994
|
};
|
|
@@ -2024,8 +2036,8 @@ function useInterval(callback, delay) {
|
|
|
2024
2036
|
}
|
|
2025
2037
|
|
|
2026
2038
|
// src/components/FunCountdown/FunCountdown.css.ts
|
|
2027
|
-
var backgroundRing = "
|
|
2028
|
-
var counterRing = "
|
|
2039
|
+
var backgroundRing = "_1rsrm2f13i";
|
|
2040
|
+
var counterRing = "_1rsrm2f16i";
|
|
2029
2041
|
|
|
2030
2042
|
// src/components/FunCountdown/FunCountdown.tsx
|
|
2031
2043
|
var FunCountdown = ({
|
|
@@ -2429,11 +2441,11 @@ var ShortFunToast = ({
|
|
|
2429
2441
|
var DialogAnimationTimeOut = 120;
|
|
2430
2442
|
var animateTitleInClass = "_1r8f57e";
|
|
2431
2443
|
var animateTitleOutClass = "_1r8f57f";
|
|
2432
|
-
var content = "_1r8f579 _1rsrm2fa _1rsrm2f1a
|
|
2433
|
-
var contentSlideOut = "_1r8f57b _1rsrm2fa _1rsrm2f1a
|
|
2444
|
+
var content = "_1r8f579 _1rsrm2fa _1rsrm2f1a _1rsrm2ffd";
|
|
2445
|
+
var contentSlideOut = "_1r8f57b _1rsrm2fa _1rsrm2f1a _1rsrm2ffd";
|
|
2434
2446
|
var dydxTitle = "_1r8f57g";
|
|
2435
|
-
var overlay = "_1r8f575
|
|
2436
|
-
var overlayOut = "_1r8f577
|
|
2447
|
+
var overlay = "_1r8f575 _1rsrm2fgt _1rsrm2fk0 _1rsrm2fa _1rsrm2f3v _1rsrm2ffc";
|
|
2448
|
+
var overlayOut = "_1r8f577 _1rsrm2fgt _1rsrm2fk0 _1rsrm2fa _1rsrm2f3v _1rsrm2ffc";
|
|
2437
2449
|
|
|
2438
2450
|
// src/components/Dialog/FocusTrap.tsx
|
|
2439
2451
|
import React26, { useCallback as useCallback4, useEffect as useEffect9, useRef as useRef4 } from "react";
|
|
@@ -2583,17 +2595,19 @@ var DialogWrapper = ({ children }) => {
|
|
|
2583
2595
|
var DialogContent = ({
|
|
2584
2596
|
children,
|
|
2585
2597
|
fullHeight = false,
|
|
2586
|
-
paddingLeft = "
|
|
2598
|
+
paddingLeft = "12",
|
|
2599
|
+
paddingBottom,
|
|
2587
2600
|
className,
|
|
2588
2601
|
withTopDivider = false,
|
|
2589
2602
|
withBottomDivider = false,
|
|
2590
2603
|
...boxProps
|
|
2591
2604
|
}) => {
|
|
2592
|
-
const { ref, hasTopDivider, hasBottomDivider, isScrolling } = useScrollDivider();
|
|
2605
|
+
const { ref, hasTopDivider, hasBottomDivider, isScrolling, isScrollable } = useScrollDivider();
|
|
2593
2606
|
const paddingRight = Number(boxProps.paddingRight ?? paddingLeft) - SCROLL_BAR_WIDTH;
|
|
2594
2607
|
return /* @__PURE__ */ React27.createElement(React27.Fragment, null, withTopDivider && hasTopDivider && /* @__PURE__ */ React27.createElement(FunDivider, null), /* @__PURE__ */ React27.createElement(
|
|
2595
2608
|
Box,
|
|
2596
2609
|
{
|
|
2610
|
+
paddingBottom: paddingBottom ?? isScrollable ? "18" : void 0,
|
|
2597
2611
|
paddingLeft,
|
|
2598
2612
|
ref,
|
|
2599
2613
|
className: clsx5(
|
|
@@ -2609,7 +2623,7 @@ var DialogContent = ({
|
|
|
2609
2623
|
), withBottomDivider && hasBottomDivider && /* @__PURE__ */ React27.createElement(FunDivider, null));
|
|
2610
2624
|
};
|
|
2611
2625
|
var DialogBottom = ({
|
|
2612
|
-
paddingX = "
|
|
2626
|
+
paddingX = "12",
|
|
2613
2627
|
...boxProps
|
|
2614
2628
|
}) => {
|
|
2615
2629
|
return /* @__PURE__ */ React27.createElement(Box, { paddingX, ...boxProps });
|
|
@@ -2621,10 +2635,12 @@ function useDydxHideBack(hasBackButton, dydxHideBack) {
|
|
|
2621
2635
|
}
|
|
2622
2636
|
var DialogTitle = ({
|
|
2623
2637
|
title,
|
|
2624
|
-
hasCloseButton
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2638
|
+
hasCloseButton: hasCloseButtonProp,
|
|
2639
|
+
isCloseDisabled,
|
|
2640
|
+
onClose,
|
|
2641
|
+
hasBackButton: hasBackButtonProp,
|
|
2642
|
+
isBackDisabled,
|
|
2643
|
+
onBack,
|
|
2628
2644
|
backAnimation = false,
|
|
2629
2645
|
skipBackDelay = false,
|
|
2630
2646
|
countdownSeconds,
|
|
@@ -2632,6 +2648,8 @@ var DialogTitle = ({
|
|
|
2632
2648
|
delayCountdownReturnByBuffer = false,
|
|
2633
2649
|
dydxHideBack
|
|
2634
2650
|
}) => {
|
|
2651
|
+
const hasBackButton = hasBackButtonProp ?? !!onBack;
|
|
2652
|
+
const hasCloseButton = hasCloseButtonProp ?? !!onClose;
|
|
2635
2653
|
const hasTimeLeft = countdownSeconds !== void 0 && countdownSeconds > 0;
|
|
2636
2654
|
const [isCountdownVisible, setIsCountdownVisible] = useState7(hasTimeLeft);
|
|
2637
2655
|
const [animateOut, setAnimateOut] = useState7(false);
|
|
@@ -2640,13 +2658,13 @@ var DialogTitle = ({
|
|
|
2640
2658
|
setAnimateOut(true);
|
|
2641
2659
|
if (!skipBackDelay) {
|
|
2642
2660
|
setTimeout(() => {
|
|
2643
|
-
onBack();
|
|
2661
|
+
onBack?.();
|
|
2644
2662
|
setAnimateOut(false);
|
|
2645
2663
|
}, 300);
|
|
2646
2664
|
return;
|
|
2647
2665
|
}
|
|
2648
2666
|
}
|
|
2649
|
-
onBack();
|
|
2667
|
+
onBack?.();
|
|
2650
2668
|
setAnimateOut(false);
|
|
2651
2669
|
};
|
|
2652
2670
|
useEffect10(() => {
|
|
@@ -2660,14 +2678,14 @@ var DialogTitle = ({
|
|
|
2660
2678
|
alignItems: "center",
|
|
2661
2679
|
justifyContent: "space-between",
|
|
2662
2680
|
width: "full",
|
|
2663
|
-
paddingX: "
|
|
2681
|
+
paddingX: "12",
|
|
2664
2682
|
paddingY: hideAllBackSection ? "16" : "12",
|
|
2665
2683
|
style: {
|
|
2666
2684
|
// to prevent the title from jumping when the countdown is removed/added
|
|
2667
2685
|
minHeight: "56px"
|
|
2668
2686
|
}
|
|
2669
2687
|
},
|
|
2670
|
-
hideAllBackSection ? null : /* @__PURE__ */ React27.createElement(Box, { style: { flexBasis: 0, flexGrow: 1 } }, hasBackButton && /* @__PURE__ */ React27.createElement(FunBackButton, { onBack: handleBack })),
|
|
2688
|
+
hideAllBackSection ? null : /* @__PURE__ */ React27.createElement(Box, { style: { flexBasis: 0, flexGrow: 1 } }, hasBackButton && /* @__PURE__ */ React27.createElement(FunBackButton, { onBack: handleBack, isDisabled: isBackDisabled })),
|
|
2671
2689
|
/* @__PURE__ */ React27.createElement(Box, null, title && /* @__PURE__ */ React27.createElement(
|
|
2672
2690
|
Text,
|
|
2673
2691
|
{
|
|
@@ -2709,7 +2727,7 @@ var DialogTitle = ({
|
|
|
2709
2727
|
}, 1e3) : setIsCountdownVisible(false);
|
|
2710
2728
|
}
|
|
2711
2729
|
}
|
|
2712
|
-
) : hasCloseButton && /* @__PURE__ */ React27.createElement(CloseButton, { onClose })
|
|
2730
|
+
) : hasCloseButton && /* @__PURE__ */ React27.createElement(CloseButton, { onClose, isDisabled: isCloseDisabled })
|
|
2713
2731
|
)
|
|
2714
2732
|
)
|
|
2715
2733
|
);
|
|
@@ -2930,7 +2948,7 @@ function FunContainer({
|
|
|
2930
2948
|
size: "13"
|
|
2931
2949
|
},
|
|
2932
2950
|
title
|
|
2933
|
-
), isCollapsed && /* @__PURE__ */ React28.createElement(Box, { marginLeft: "auto" }, /* @__PURE__ */ React28.createElement(ArrowIcon, { direction: "right" }))),
|
|
2951
|
+
), isCollapsed && /* @__PURE__ */ React28.createElement(Box, { color: "secondaryText", marginLeft: "auto" }, /* @__PURE__ */ React28.createElement(ArrowIcon, { direction: "right", size: 11 }))),
|
|
2934
2952
|
/* @__PURE__ */ React28.createElement(Box, null, !isCollapsed && children)
|
|
2935
2953
|
);
|
|
2936
2954
|
}
|
|
@@ -2975,9 +2993,9 @@ var SearchIcon = ({ selected }) => {
|
|
|
2975
2993
|
};
|
|
2976
2994
|
|
|
2977
2995
|
// src/components/FunInput/FunInput.css.ts
|
|
2978
|
-
var inputClass = "zue0i61
|
|
2979
|
-
var inputClassDisabled = "zue0i63
|
|
2980
|
-
var inputClassError = "zue0i65
|
|
2996
|
+
var inputClass = "zue0i61 _1rsrm2few _1rsrm2fcq _1rsrm2fdg _1rsrm2fe6 _1rsrm2f16i";
|
|
2997
|
+
var inputClassDisabled = "zue0i63 _1rsrm2few _1rsrm2fcq _1rsrm2fdg _1rsrm2fe6 _1rsrm2f180";
|
|
2998
|
+
var inputClassError = "zue0i65 _1rsrm2few _1rsrm2fcq _1rsrm2fdg _1rsrm2fe6 _1rsrm2f13c";
|
|
2981
2999
|
|
|
2982
3000
|
// src/components/FunInput/FunInput.tsx
|
|
2983
3001
|
var DEFAULT_ICON_FONT_SIZE = "57px";
|
|
@@ -4172,6 +4190,9 @@ var WEB3_ACCOUNT_BALANCE_MESSAGE = {
|
|
|
4172
4190
|
[2 /* APPROVE_TRANSFER */]: (tokenSymbol) => `Confirm ${tokenSymbol} transfer`
|
|
4173
4191
|
};
|
|
4174
4192
|
|
|
4193
|
+
// src/consts/checkoutFees.ts
|
|
4194
|
+
var GAS_ESTIMATE_MULTIPLER = 1.2;
|
|
4195
|
+
|
|
4175
4196
|
// src/consts/quote.ts
|
|
4176
4197
|
var PENDING_QUOTE_MESSAGE_GENERATOR = {
|
|
4177
4198
|
[0 /* PREPARING */]: () => "Preparing your quote...",
|
|
@@ -4791,9 +4812,6 @@ function getCheckoutItemDisplay(checkoutConfig, checkoutItem, hideAmount = false
|
|
|
4791
4812
|
return hideAmount ? itemName : formatCryptoAndStringify(checkoutConfig.targetAssetAmount, itemName);
|
|
4792
4813
|
}
|
|
4793
4814
|
|
|
4794
|
-
// src/utils/checkoutFees.ts
|
|
4795
|
-
var GAS_ESTIMATE_MULTIPLER = 1.2;
|
|
4796
|
-
|
|
4797
4815
|
// src/utils/moonpay.ts
|
|
4798
4816
|
import { FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO2 } from "@funkit/core";
|
|
4799
4817
|
var generateMoonpayCurrencyCode = (tokenSymbol, chainId) => {
|
|
@@ -6774,15 +6792,7 @@ function FunConnectOptions({ onClose }) {
|
|
|
6774
6792
|
onBack: () => handleBackToSignIn("web3")
|
|
6775
6793
|
}
|
|
6776
6794
|
};
|
|
6777
|
-
return /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(
|
|
6778
|
-
Dialog.Title,
|
|
6779
|
-
{
|
|
6780
|
-
hasCloseButton: true,
|
|
6781
|
-
onClose,
|
|
6782
|
-
hasBackButton: navigationConfig[step].onBack !== void 0,
|
|
6783
|
-
...navigationConfig[step]
|
|
6784
|
-
}
|
|
6785
|
-
), /* @__PURE__ */ React57.createElement(
|
|
6795
|
+
return /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(Dialog.Title, { onClose, ...navigationConfig[step] }), /* @__PURE__ */ React57.createElement(
|
|
6786
6796
|
Dialog.Content,
|
|
6787
6797
|
{
|
|
6788
6798
|
display: "flex",
|
|
@@ -8216,7 +8226,7 @@ function OrderDetail({
|
|
|
8216
8226
|
alignItems: "center"
|
|
8217
8227
|
},
|
|
8218
8228
|
/* @__PURE__ */ React69.createElement(Text, { size: "12", weight: "medium", color: "tertiaryText" }, "More details"),
|
|
8219
|
-
/* @__PURE__ */ React69.createElement(Text, { color: "tertiaryText" }, /* @__PURE__ */ React69.createElement(ArrowIcon, { size:
|
|
8229
|
+
/* @__PURE__ */ React69.createElement(Text, { color: "tertiaryText" }, /* @__PURE__ */ React69.createElement(ArrowIcon, { size: 10, direction: isExpanded ? "down" : "right" }))
|
|
8220
8230
|
), /* @__PURE__ */ React69.createElement(FunTxSummaryCollapsibleBox, { isExpanded }, /* @__PURE__ */ React69.createElement(FunTxSummaryBox, null, /* @__PURE__ */ React69.createElement(FunTxSummaryLineItem, null, /* @__PURE__ */ React69.createElement(FunTxSummaryLineItemKeyText, { text: "Deposit address" }), /* @__PURE__ */ React69.createElement(
|
|
8221
8231
|
Box,
|
|
8222
8232
|
{
|
|
@@ -9088,7 +9098,7 @@ var ASSET_LOGO_SRCS = {
|
|
|
9088
9098
|
|
|
9089
9099
|
// src/components/FunAssetAvatar/FunAssetAvatar.css.ts
|
|
9090
9100
|
var assetContainerStyle = "uwrdc21";
|
|
9091
|
-
var chainContainerStyle = "uwrdc23
|
|
9101
|
+
var chainContainerStyle = "uwrdc23 _1rsrm2fju _1rsrm2fu0 _1rsrm2f11 _1rsrm2fi _1rsrm2fx";
|
|
9092
9102
|
var containerStyle = "uwrdc20";
|
|
9093
9103
|
|
|
9094
9104
|
// src/components/FunAssetAvatar/FunAssetAvatar.tsx
|
|
@@ -9099,7 +9109,6 @@ function FunAssetAvatar({
|
|
|
9099
9109
|
assetName,
|
|
9100
9110
|
assetIconSize = "20",
|
|
9101
9111
|
chainId,
|
|
9102
|
-
chainIconSize = "8",
|
|
9103
9112
|
prioritizeDefaults = true,
|
|
9104
9113
|
hideIfUnknown = false
|
|
9105
9114
|
}) {
|
|
@@ -9114,6 +9123,7 @@ function FunAssetAvatar({
|
|
|
9114
9123
|
}
|
|
9115
9124
|
}, [assetSrc, assetTicker, prioritizeDefaults]);
|
|
9116
9125
|
const showChainIcon = isNotNullish(chainMetadata);
|
|
9126
|
+
const chainIconSize = parseInt(assetIconSize) / 2;
|
|
9117
9127
|
return hideIfUnknown && !finalAssetSrc ? null : /* @__PURE__ */ React80.createElement(Box, { id: "container", alignSelf: "center" }, /* @__PURE__ */ React80.createElement(
|
|
9118
9128
|
Box,
|
|
9119
9129
|
{
|
|
@@ -9147,8 +9157,8 @@ function FunAssetAvatar({
|
|
|
9147
9157
|
showChainIcon ? /* @__PURE__ */ React80.createElement(
|
|
9148
9158
|
Box,
|
|
9149
9159
|
{
|
|
9150
|
-
width:
|
|
9151
|
-
height:
|
|
9160
|
+
width: "half",
|
|
9161
|
+
height: "half",
|
|
9152
9162
|
className: chainContainerStyle
|
|
9153
9163
|
},
|
|
9154
9164
|
/* @__PURE__ */ React80.createElement(
|
|
@@ -9158,8 +9168,8 @@ function FunAssetAvatar({
|
|
|
9158
9168
|
src: chainMetadata.iconUrl || "",
|
|
9159
9169
|
background: chainMetadata.iconBackground,
|
|
9160
9170
|
borderRadius: "1",
|
|
9161
|
-
height:
|
|
9162
|
-
width:
|
|
9171
|
+
height: chainIconSize - 2,
|
|
9172
|
+
width: chainIconSize - 2,
|
|
9163
9173
|
testId: `fun-asset-chain-${chainId}-icon`
|
|
9164
9174
|
}
|
|
9165
9175
|
)
|
|
@@ -9266,7 +9276,6 @@ function FunCheckoutNotification({
|
|
|
9266
9276
|
assetName: "checkout-asset",
|
|
9267
9277
|
assetIconSize: "32",
|
|
9268
9278
|
chainId: checkoutClientMetadata.initSettings.config.targetChain,
|
|
9269
|
-
chainIconSize: "14",
|
|
9270
9279
|
prioritizeDefaults: false
|
|
9271
9280
|
}
|
|
9272
9281
|
) : null, /* @__PURE__ */ React83.createElement(Box, { display: "flex", flexDirection: "column", gap: "4", width: "full" }, /* @__PURE__ */ React83.createElement(
|
|
@@ -9489,7 +9498,9 @@ function ActivityHistory({
|
|
|
9489
9498
|
}
|
|
9490
9499
|
|
|
9491
9500
|
// src/components/ProfileDetails/FunProfileViews/Home/index.tsx
|
|
9492
|
-
import
|
|
9501
|
+
import clsx8 from "clsx";
|
|
9502
|
+
import React93, { useMemo as useMemo18, useRef as useRef12, useState as useState24 } from "react";
|
|
9503
|
+
import { Virtuoso } from "react-virtuoso";
|
|
9493
9504
|
import { useAccount as useAccount5 } from "wagmi";
|
|
9494
9505
|
|
|
9495
9506
|
// src/css/scrollStyles.css.ts
|
|
@@ -9573,10 +9584,11 @@ var SettingsIcon = ({ size = 16 }) => {
|
|
|
9573
9584
|
};
|
|
9574
9585
|
|
|
9575
9586
|
// src/components/ProfileDetails/FunProfileViews/Home/Home.css.ts
|
|
9576
|
-
var animateContentInClass2 = "
|
|
9577
|
-
var animateContentOutClass2 = "
|
|
9578
|
-
var animateTitleInClass2 = "
|
|
9579
|
-
var animateTitleOutClass2 = "
|
|
9587
|
+
var animateContentInClass2 = "_1x1d6jx7";
|
|
9588
|
+
var animateContentOutClass2 = "_1x1d6jx9";
|
|
9589
|
+
var animateTitleInClass2 = "_1x1d6jx5";
|
|
9590
|
+
var animateTitleOutClass2 = "_1x1d6jx6";
|
|
9591
|
+
var animateVirtuosoInClass = "_1x1d6jx8";
|
|
9580
9592
|
|
|
9581
9593
|
// src/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.tsx
|
|
9582
9594
|
import clsx7 from "clsx";
|
|
@@ -9586,17 +9598,21 @@ import React91 from "react";
|
|
|
9586
9598
|
import React88 from "react";
|
|
9587
9599
|
|
|
9588
9600
|
// src/components/FunSkeletonLoader/FunSkeletonLoader.css.ts
|
|
9589
|
-
var animateSkeletonClass = "dj0x602
|
|
9601
|
+
var animateSkeletonClass = "dj0x602 _1rsrm2fmc";
|
|
9590
9602
|
var circleSkeletonClass = "dj0x603";
|
|
9591
9603
|
|
|
9592
9604
|
// src/components/FunSkeletonLoader/FunSkeletonBlock.tsx
|
|
9593
|
-
function FunSkeletonBlock(
|
|
9605
|
+
function FunSkeletonBlock({
|
|
9606
|
+
width = "full",
|
|
9607
|
+
...props
|
|
9608
|
+
}) {
|
|
9594
9609
|
return /* @__PURE__ */ React88.createElement(
|
|
9595
9610
|
Box,
|
|
9596
9611
|
{
|
|
9597
9612
|
borderRadius: "4",
|
|
9598
9613
|
className: animateSkeletonClass,
|
|
9599
|
-
|
|
9614
|
+
width,
|
|
9615
|
+
...props
|
|
9600
9616
|
}
|
|
9601
9617
|
);
|
|
9602
9618
|
}
|
|
@@ -9605,7 +9621,7 @@ function FunSkeletonBlock(props) {
|
|
|
9605
9621
|
import clsx6 from "clsx";
|
|
9606
9622
|
import React89 from "react";
|
|
9607
9623
|
function FunSkeletonCircle({
|
|
9608
|
-
size = 20,
|
|
9624
|
+
size = "20",
|
|
9609
9625
|
...props
|
|
9610
9626
|
}) {
|
|
9611
9627
|
return /* @__PURE__ */ React89.createElement(
|
|
@@ -9616,7 +9632,9 @@ function FunSkeletonCircle({
|
|
|
9616
9632
|
animateSkeletonClass,
|
|
9617
9633
|
circleSkeletonClass
|
|
9618
9634
|
),
|
|
9619
|
-
|
|
9635
|
+
height: size,
|
|
9636
|
+
width: size,
|
|
9637
|
+
...props
|
|
9620
9638
|
}
|
|
9621
9639
|
);
|
|
9622
9640
|
}
|
|
@@ -9645,21 +9663,21 @@ var RedRoundErrorCross = ({ size = 15 }) => {
|
|
|
9645
9663
|
};
|
|
9646
9664
|
|
|
9647
9665
|
// src/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.ts
|
|
9648
|
-
var homeCheckoutDisplayRowStyle = { defaultBorder: "jw86f61
|
|
9666
|
+
var homeCheckoutDisplayRowStyle = { defaultBorder: "jw86f61 _1rsrm2fyi _1rsrm2fv4", defaultBackground: "_1rsrm2foc _1rsrm2fkw", hoverBackground: "_1rsrm2fkp" };
|
|
9649
9667
|
|
|
9650
9668
|
// src/components/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.tsx
|
|
9651
|
-
var
|
|
9652
|
-
var
|
|
9653
|
-
var TEXT_SIZE_MEDIUM = 13;
|
|
9654
|
-
var TEXT_SIZE_SMALL = 10;
|
|
9669
|
+
var HOME_CHECKOUT_DISPLAY_ROW_HEIGHT = 52;
|
|
9670
|
+
var ASSET_ICON_SIZE = "24";
|
|
9671
|
+
var TEXT_SIZE_MEDIUM = "13";
|
|
9672
|
+
var TEXT_SIZE_SMALL = "10";
|
|
9655
9673
|
var STATUS_FLEX_GAP_X = "4";
|
|
9656
|
-
var STATUS_ICON_SIZE = 8;
|
|
9674
|
+
var STATUS_ICON_SIZE = "8";
|
|
9657
9675
|
var STATUS_TEXT_SIZE = TEXT_SIZE_SMALL;
|
|
9658
|
-
var TEXT_SKELETON_MARGIN_TOP = 2;
|
|
9659
|
-
var TEXT_SKELETON_MARGIN_BOTTOM = 3;
|
|
9660
|
-
var TEXT_SKELETON_WIDTH_SHORT = 48;
|
|
9661
|
-
var TEXT_SKELETON_WIDTH_MEDIUM = 72;
|
|
9662
|
-
var TEXT_SKELETON_WIDTH_LONG = 96;
|
|
9676
|
+
var TEXT_SKELETON_MARGIN_TOP = "2";
|
|
9677
|
+
var TEXT_SKELETON_MARGIN_BOTTOM = "3";
|
|
9678
|
+
var TEXT_SKELETON_WIDTH_SHORT = "48";
|
|
9679
|
+
var TEXT_SKELETON_WIDTH_MEDIUM = "72";
|
|
9680
|
+
var TEXT_SKELETON_WIDTH_LONG = "96";
|
|
9663
9681
|
var ROW_FLEX_GAP_X = "8";
|
|
9664
9682
|
var ROW_PADDING_Y = "8";
|
|
9665
9683
|
var HomeCheckoutDisplayRow = ({
|
|
@@ -9678,8 +9696,8 @@ var HomeCheckoutDisplayRow = ({
|
|
|
9678
9696
|
gap: STATUS_FLEX_GAP_X,
|
|
9679
9697
|
alignItems: "center"
|
|
9680
9698
|
},
|
|
9681
|
-
/* @__PURE__ */ React91.createElement(GreenRoundCheckmark, { size: STATUS_ICON_SIZE }),
|
|
9682
|
-
/* @__PURE__ */ React91.createElement(Text, { size:
|
|
9699
|
+
/* @__PURE__ */ React91.createElement(GreenRoundCheckmark, { size: parseInt(STATUS_ICON_SIZE) }),
|
|
9700
|
+
/* @__PURE__ */ React91.createElement(Text, { size: STATUS_TEXT_SIZE, color: "success" }, "Completed")
|
|
9683
9701
|
);
|
|
9684
9702
|
} else if (isError || isFailed || isExpired) {
|
|
9685
9703
|
return /* @__PURE__ */ React91.createElement(
|
|
@@ -9690,8 +9708,8 @@ var HomeCheckoutDisplayRow = ({
|
|
|
9690
9708
|
gap: STATUS_FLEX_GAP_X,
|
|
9691
9709
|
alignItems: "center"
|
|
9692
9710
|
},
|
|
9693
|
-
/* @__PURE__ */ React91.createElement(RedRoundErrorCross, { size: STATUS_ICON_SIZE }),
|
|
9694
|
-
/* @__PURE__ */ React91.createElement(Text, { size:
|
|
9711
|
+
/* @__PURE__ */ React91.createElement(RedRoundErrorCross, { size: parseInt(STATUS_ICON_SIZE) }),
|
|
9712
|
+
/* @__PURE__ */ React91.createElement(Text, { size: STATUS_TEXT_SIZE, color: "error" }, "Failed")
|
|
9695
9713
|
);
|
|
9696
9714
|
} else if (isProcessing) {
|
|
9697
9715
|
return /* @__PURE__ */ React91.createElement(
|
|
@@ -9705,13 +9723,13 @@ var HomeCheckoutDisplayRow = ({
|
|
|
9705
9723
|
/* @__PURE__ */ React91.createElement(
|
|
9706
9724
|
Box,
|
|
9707
9725
|
{
|
|
9708
|
-
width:
|
|
9709
|
-
height:
|
|
9726
|
+
width: STATUS_ICON_SIZE,
|
|
9727
|
+
height: STATUS_ICON_SIZE,
|
|
9710
9728
|
borderRadius: "full",
|
|
9711
9729
|
background: "standby"
|
|
9712
9730
|
}
|
|
9713
9731
|
),
|
|
9714
|
-
/* @__PURE__ */ React91.createElement(Text, { size:
|
|
9732
|
+
/* @__PURE__ */ React91.createElement(Text, { size: STATUS_TEXT_SIZE, color: "standby" }, "Processing")
|
|
9715
9733
|
);
|
|
9716
9734
|
}
|
|
9717
9735
|
};
|
|
@@ -9755,10 +9773,9 @@ var HomeCheckoutDisplayRow = ({
|
|
|
9755
9773
|
{
|
|
9756
9774
|
assetSrc: checkoutClientMetadata.initSettings.config.iconSrc,
|
|
9757
9775
|
assetName: "checkout-asset",
|
|
9758
|
-
assetIconSize:
|
|
9776
|
+
assetIconSize: ASSET_ICON_SIZE,
|
|
9759
9777
|
prioritizeDefaults: false,
|
|
9760
|
-
chainId: checkoutClientMetadata.initSettings.config.targetChain
|
|
9761
|
-
chainIconSize: `${CHAIN_ICON_SIZE}`
|
|
9778
|
+
chainId: checkoutClientMetadata.initSettings.config.targetChain
|
|
9762
9779
|
}
|
|
9763
9780
|
)
|
|
9764
9781
|
), /* @__PURE__ */ React91.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React91.createElement(
|
|
@@ -9769,28 +9786,12 @@ var HomeCheckoutDisplayRow = ({
|
|
|
9769
9786
|
alignItems: "center",
|
|
9770
9787
|
gap: "16"
|
|
9771
9788
|
},
|
|
9772
|
-
/* @__PURE__ */ React91.createElement(
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
},
|
|
9779
|
-
checkoutClientMetadata.initSettings.config.checkoutItemTitle
|
|
9780
|
-
),
|
|
9781
|
-
/* @__PURE__ */ React91.createElement(
|
|
9782
|
-
Text,
|
|
9783
|
-
{
|
|
9784
|
-
size: `${TEXT_SIZE_MEDIUM}`,
|
|
9785
|
-
weight: "medium",
|
|
9786
|
-
color: "primaryText"
|
|
9787
|
-
},
|
|
9788
|
-
`${formatCurrencyAndStringify(
|
|
9789
|
-
(checkoutClientMetadata?.finalDollarValue ?? // For backwards compatibility
|
|
9790
|
-
checkoutClientMetadata?.draftDollarValue) || 0
|
|
9791
|
-
)} USD`
|
|
9792
|
-
)
|
|
9793
|
-
), /* @__PURE__ */ React91.createElement(Box, { display: "flex", justifyContent: "space-between", gap: "16" }, /* @__PURE__ */ React91.createElement(Text, { size: `${TEXT_SIZE_SMALL}`, color: "secondaryText" }, formatTimestamp(new Date(checkoutHistoryItem.createdTimeMs), {
|
|
9789
|
+
/* @__PURE__ */ React91.createElement(Text, { size: TEXT_SIZE_MEDIUM, weight: "medium", color: "primaryText" }, checkoutClientMetadata.initSettings.config.checkoutItemTitle),
|
|
9790
|
+
/* @__PURE__ */ React91.createElement(Text, { size: TEXT_SIZE_MEDIUM, weight: "medium", color: "primaryText" }, `${formatCurrencyAndStringify(
|
|
9791
|
+
(checkoutClientMetadata?.finalDollarValue ?? // For backwards compatibility
|
|
9792
|
+
checkoutClientMetadata?.draftDollarValue) || 0
|
|
9793
|
+
)} USD`)
|
|
9794
|
+
), /* @__PURE__ */ React91.createElement(Box, { display: "flex", justifyContent: "space-between", gap: "16" }, /* @__PURE__ */ React91.createElement(Text, { size: TEXT_SIZE_SMALL, color: "secondaryText" }, formatTimestamp(new Date(checkoutHistoryItem.createdTimeMs), {
|
|
9794
9795
|
year: "none",
|
|
9795
9796
|
seconds: "none",
|
|
9796
9797
|
month: "short"
|
|
@@ -9808,13 +9809,7 @@ var HomeCheckoutDisplayRowSkeleton = () => {
|
|
|
9808
9809
|
paddingX: PROFILE_SIDE_PADDING,
|
|
9809
9810
|
paddingY: ROW_PADDING_Y
|
|
9810
9811
|
},
|
|
9811
|
-
/* @__PURE__ */ React91.createElement(
|
|
9812
|
-
FunSkeletonCircle,
|
|
9813
|
-
{
|
|
9814
|
-
marginRight: CHAIN_ICON_SIZE / 2,
|
|
9815
|
-
size: ASSET_ICON_SIZE
|
|
9816
|
-
}
|
|
9817
|
-
),
|
|
9812
|
+
/* @__PURE__ */ React91.createElement(FunSkeletonCircle, { size: ASSET_ICON_SIZE }),
|
|
9818
9813
|
/* @__PURE__ */ React91.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React91.createElement(
|
|
9819
9814
|
FunSkeletonBlock,
|
|
9820
9815
|
{
|
|
@@ -10095,13 +10090,13 @@ var getRecommendedAsset = (checkoutItem, accountHoldingsMap, isWeb3Login, isWeb2
|
|
|
10095
10090
|
};
|
|
10096
10091
|
|
|
10097
10092
|
// src/components/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.tsx
|
|
10098
|
-
var
|
|
10099
|
-
var
|
|
10100
|
-
var TEXT_SIZE = 13;
|
|
10101
|
-
var TEXT_SKELETON_MARGIN_TOP2 = 2;
|
|
10102
|
-
var TEXT_SKELETON_MARGIN_BOTTOM2 = 3;
|
|
10103
|
-
var TEXT_SKELETON_WIDTH_SHORT2 = 48;
|
|
10104
|
-
var TEXT_SKELETON_WIDTH_LONG2 = 96;
|
|
10093
|
+
var HOME_TOKEN_BALANCE_DISPLAY_ROW_HEIGHT = 52;
|
|
10094
|
+
var ASSET_ICON_SIZE2 = "24";
|
|
10095
|
+
var TEXT_SIZE = "13";
|
|
10096
|
+
var TEXT_SKELETON_MARGIN_TOP2 = "2";
|
|
10097
|
+
var TEXT_SKELETON_MARGIN_BOTTOM2 = "3";
|
|
10098
|
+
var TEXT_SKELETON_WIDTH_SHORT2 = "48";
|
|
10099
|
+
var TEXT_SKELETON_WIDTH_LONG2 = "96";
|
|
10105
10100
|
var ROW_FLEX_GAP_X2 = "12";
|
|
10106
10101
|
var ROW_PADDING_Y2 = "8";
|
|
10107
10102
|
var HomeTokenBalanceDisplayRow = ({ asset }) => {
|
|
@@ -10138,8 +10133,7 @@ var HomeTokenBalanceDisplayRow = ({ asset }) => {
|
|
|
10138
10133
|
assetName: asset.name,
|
|
10139
10134
|
assetTicker: asset.symbol,
|
|
10140
10135
|
chainId: asset.chainId,
|
|
10141
|
-
assetIconSize:
|
|
10142
|
-
chainIconSize: `${CHAIN_ICON_SIZE2}`
|
|
10136
|
+
assetIconSize: ASSET_ICON_SIZE2
|
|
10143
10137
|
}
|
|
10144
10138
|
),
|
|
10145
10139
|
/* @__PURE__ */ React92.createElement(
|
|
@@ -10149,11 +10143,11 @@ var HomeTokenBalanceDisplayRow = ({ asset }) => {
|
|
|
10149
10143
|
flexDirection: "column",
|
|
10150
10144
|
justifyContent: "space-between"
|
|
10151
10145
|
},
|
|
10152
|
-
/* @__PURE__ */ React92.createElement(Text, { color: "primaryText", size:
|
|
10153
|
-
/* @__PURE__ */ React92.createElement(Text, { color: "secondaryText", size:
|
|
10146
|
+
/* @__PURE__ */ React92.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, asset.name),
|
|
10147
|
+
/* @__PURE__ */ React92.createElement(Text, { color: "secondaryText", size: TEXT_SIZE, weight: "regular" }, formatCryptoAndStringify(normalizedAmount, asset.symbol))
|
|
10154
10148
|
)
|
|
10155
10149
|
),
|
|
10156
|
-
/* @__PURE__ */ React92.createElement(Text, { color: "primaryText", size:
|
|
10150
|
+
/* @__PURE__ */ React92.createElement(Text, { color: "primaryText", size: TEXT_SIZE, weight: "regular" }, formatCurrencyAndStringify(asset.totalUsdValue || 0))
|
|
10157
10151
|
);
|
|
10158
10152
|
};
|
|
10159
10153
|
var HomeTokenBalanceDisplayRowSkeleton = () => {
|
|
@@ -10167,13 +10161,7 @@ var HomeTokenBalanceDisplayRowSkeleton = () => {
|
|
|
10167
10161
|
paddingX: PROFILE_SIDE_PADDING,
|
|
10168
10162
|
paddingY: ROW_PADDING_Y2
|
|
10169
10163
|
},
|
|
10170
|
-
/* @__PURE__ */ React92.createElement(
|
|
10171
|
-
FunSkeletonCircle,
|
|
10172
|
-
{
|
|
10173
|
-
marginRight: CHAIN_ICON_SIZE2 / 2,
|
|
10174
|
-
size: ASSET_ICON_SIZE2
|
|
10175
|
-
}
|
|
10176
|
-
),
|
|
10164
|
+
/* @__PURE__ */ React92.createElement(FunSkeletonCircle, { size: ASSET_ICON_SIZE2 }),
|
|
10177
10165
|
/* @__PURE__ */ React92.createElement(Box, { display: "flex", flexDirection: "column", style: { flexGrow: 1 } }, /* @__PURE__ */ React92.createElement(
|
|
10178
10166
|
FunSkeletonBlock,
|
|
10179
10167
|
{
|
|
@@ -10282,7 +10270,6 @@ var ProfileTitleSection = ({
|
|
|
10282
10270
|
))
|
|
10283
10271
|
);
|
|
10284
10272
|
};
|
|
10285
|
-
var Wrapper = ({ children }) => /* @__PURE__ */ React93.createElement(Box, { display: "flex", flexDirection: "column", className: hideScrollBar }, children);
|
|
10286
10273
|
var EmptyTabAlert = () => {
|
|
10287
10274
|
const { appName } = useFunkitConfig();
|
|
10288
10275
|
return /* @__PURE__ */ React93.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React93.createElement(
|
|
@@ -10309,35 +10296,45 @@ function Home({
|
|
|
10309
10296
|
useCheckoutHistoryListener();
|
|
10310
10297
|
const { userInfo, handleLogout, walletAssets, totalWalletAssetsUsd } = useGeneralWallet();
|
|
10311
10298
|
const [selectedView, setSelectedView] = useState24(defaultHomeTab);
|
|
10312
|
-
const listRef = useRef12(null);
|
|
10313
10299
|
const { checkoutHistoryList, isCheckoutHistoryInited } = useFunkitAllPostCheckoutsInternal();
|
|
10314
10300
|
const { returnViewPresets } = useActivityTraversal();
|
|
10315
|
-
|
|
10316
|
-
const presetScrollPos = returnViewPresets?.scrollPosition;
|
|
10317
|
-
if (presetScrollPos) {
|
|
10318
|
-
listRef.current?.scrollTo({ top: presetScrollPos, behavior: "auto" });
|
|
10319
|
-
}
|
|
10320
|
-
}, []);
|
|
10301
|
+
const checkoutsListRef = useRef12(null);
|
|
10321
10302
|
const AssetsList = useMemo18(() => {
|
|
10322
|
-
if (walletAssets
|
|
10323
|
-
return Array.from({ length: 3 }).map((_, index) => /* @__PURE__ */ React93.createElement(HomeTokenBalanceDisplayRowSkeleton, { key: index }));
|
|
10324
|
-
}
|
|
10325
|
-
const assets = Object.entries(walletAssets || {});
|
|
10326
|
-
if (assets.length === 0) {
|
|
10303
|
+
if (!Object.keys(walletAssets || {}).length) {
|
|
10327
10304
|
return /* @__PURE__ */ React93.createElement(EmptyTabAlert, null);
|
|
10328
10305
|
}
|
|
10329
|
-
const
|
|
10330
|
-
(
|
|
10331
|
-
)
|
|
10332
|
-
|
|
10306
|
+
const assets = walletAssets ? Object.values(walletAssets).sort(
|
|
10307
|
+
(a, b) => b.totalUsdValue - a.totalUsdValue
|
|
10308
|
+
) : Array.from({ length: 3 }).fill(null);
|
|
10309
|
+
const itemHeight = HOME_TOKEN_BALANCE_DISPLAY_ROW_HEIGHT;
|
|
10310
|
+
const itemMargin = 8;
|
|
10311
|
+
const height = assets.length * (itemHeight + itemMargin) - itemMargin;
|
|
10312
|
+
const maxHeight = 300;
|
|
10313
|
+
return /* @__PURE__ */ React93.createElement(
|
|
10314
|
+
Virtuoso,
|
|
10315
|
+
{
|
|
10316
|
+
className: clsx8(
|
|
10317
|
+
hideScrollBar,
|
|
10318
|
+
animateVirtuosoInClass,
|
|
10319
|
+
scrollContent
|
|
10320
|
+
),
|
|
10321
|
+
data: assets,
|
|
10322
|
+
defaultItemHeight: itemHeight + itemMargin,
|
|
10323
|
+
id: "token-list",
|
|
10324
|
+
style: { height, maxHeight },
|
|
10325
|
+
totalCount: assets.length,
|
|
10326
|
+
itemContent: (index, asset) => (
|
|
10327
|
+
// gaps/margins between items must be part of the measured content
|
|
10328
|
+
// thus we wrap items in padded divs (margin is not measured)
|
|
10329
|
+
/* @__PURE__ */ React93.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, asset ? /* @__PURE__ */ React93.createElement(HomeTokenBalanceDisplayRow, { asset }) : /* @__PURE__ */ React93.createElement(HomeTokenBalanceDisplayRowSkeleton, null))
|
|
10330
|
+
)
|
|
10331
|
+
}
|
|
10332
|
+
);
|
|
10333
10333
|
}, [walletAssets]);
|
|
10334
10334
|
const CheckoutsList = useMemo18(() => {
|
|
10335
10335
|
if (checkoutHistoryList.length === 0 && isCheckoutHistoryInited) {
|
|
10336
10336
|
return /* @__PURE__ */ React93.createElement(EmptyTabAlert, null);
|
|
10337
10337
|
}
|
|
10338
|
-
if (!isCheckoutHistoryInited) {
|
|
10339
|
-
return /* @__PURE__ */ React93.createElement(Wrapper, null, /* @__PURE__ */ React93.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, Array.from({ length: 3 }).map((i, index) => /* @__PURE__ */ React93.createElement(Box, { key: index }, /* @__PURE__ */ React93.createElement(HomeCheckoutDisplayRowSkeleton, null)))));
|
|
10340
|
-
}
|
|
10341
10338
|
const processingCheckouts = checkoutHistoryList.filter(
|
|
10342
10339
|
(checkoutHistoryItem) => IN_PROGRESS_CHECKOUT_STATES.includes(checkoutHistoryItem.state)
|
|
10343
10340
|
);
|
|
@@ -10362,34 +10359,68 @@ function Home({
|
|
|
10362
10359
|
return new Date(dateKey).getFullYear() !== (/* @__PURE__ */ new Date()).getFullYear();
|
|
10363
10360
|
});
|
|
10364
10361
|
const handleCheckoutSelect = (depositAddress, initialPage) => {
|
|
10365
|
-
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
|
|
10362
|
+
checkoutsListRef.current?.getState((scrollState) => {
|
|
10363
|
+
onSelectActivity({
|
|
10364
|
+
depositAddress,
|
|
10365
|
+
initialPage,
|
|
10366
|
+
// Save presets to return to when coming back
|
|
10367
|
+
returnViewPresets: {
|
|
10368
|
+
selectedView,
|
|
10369
|
+
scrollState
|
|
10370
|
+
}
|
|
10371
|
+
});
|
|
10373
10372
|
});
|
|
10374
10373
|
};
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10378
|
-
|
|
10379
|
-
|
|
10374
|
+
const groups = segmentedCheckoutHistoryListByDays.map(
|
|
10375
|
+
([dateKey, checkouts]) => [
|
|
10376
|
+
formatTimestampToDate(new Date(dateKey), {
|
|
10377
|
+
year: hasMultipleYearsOfCheckoutData ? "full" : "none",
|
|
10378
|
+
month: "short"
|
|
10379
|
+
}),
|
|
10380
|
+
checkouts
|
|
10381
|
+
]
|
|
10382
|
+
);
|
|
10383
|
+
if (processingCheckouts.length > 0) {
|
|
10384
|
+
groups.unshift(["Processing", processingCheckouts]);
|
|
10385
|
+
}
|
|
10386
|
+
const items = isCheckoutHistoryInited ? groups.flatMap(([group, checkouts]) => [
|
|
10387
|
+
{ group },
|
|
10388
|
+
...checkouts.map((checkout) => ({ checkout }))
|
|
10389
|
+
]) : Array.from({ length: 3 }).fill({ checkout: null });
|
|
10390
|
+
const itemHeight = HOME_CHECKOUT_DISPLAY_ROW_HEIGHT;
|
|
10391
|
+
const itemMargin = 16;
|
|
10392
|
+
const groupHeight = 15;
|
|
10393
|
+
const groupMargin = 24;
|
|
10394
|
+
const height = groups.length * (groupHeight + groupMargin) + (items.length - groups.length) * (itemHeight + itemMargin) - groupMargin;
|
|
10395
|
+
const maxHeight = 300;
|
|
10396
|
+
return /* @__PURE__ */ React93.createElement(
|
|
10397
|
+
Virtuoso,
|
|
10398
|
+
{
|
|
10399
|
+
className: clsx8(
|
|
10400
|
+
hideScrollBar,
|
|
10401
|
+
animateVirtuosoInClass,
|
|
10402
|
+
scrollContent
|
|
10403
|
+
),
|
|
10404
|
+
data: items,
|
|
10405
|
+
defaultItemHeight: itemHeight + itemMargin,
|
|
10406
|
+
id: "checkouts-list",
|
|
10407
|
+
ref: checkoutsListRef,
|
|
10408
|
+
restoreStateFrom: returnViewPresets?.scrollState,
|
|
10409
|
+
style: { height, maxHeight },
|
|
10410
|
+
totalCount: items.length,
|
|
10411
|
+
itemContent: (index, data) => (
|
|
10412
|
+
// gaps/margins between items must be part of the measured content
|
|
10413
|
+
// thus we wrap items in padded divs (margin is not measured)
|
|
10414
|
+
"group" in data ? /* @__PURE__ */ React93.createElement("div", { style: { paddingTop: index === 0 ? 0 : groupMargin } }, /* @__PURE__ */ React93.createElement(Box, { paddingX: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React93.createElement(Text, { size: "10", color: "secondaryText" }, data.group))) : /* @__PURE__ */ React93.createElement("div", { style: { paddingTop: index === 0 ? 0 : itemMargin } }, data.checkout ? /* @__PURE__ */ React93.createElement(
|
|
10415
|
+
HomeCheckoutDisplayRow,
|
|
10416
|
+
{
|
|
10417
|
+
checkoutHistoryItem: data.checkout,
|
|
10418
|
+
onSelect: handleCheckoutSelect
|
|
10419
|
+
}
|
|
10420
|
+
) : /* @__PURE__ */ React93.createElement(HomeCheckoutDisplayRowSkeleton, null))
|
|
10421
|
+
)
|
|
10380
10422
|
}
|
|
10381
|
-
)
|
|
10382
|
-
([dateKey, checkoutHistoryList2]) => /* @__PURE__ */ React93.createElement(Box, { key: dateKey, display: "flex", flexDirection: "column", gap: "16" }, /* @__PURE__ */ React93.createElement(Box, { paddingLeft: PROFILE_SIDE_PADDING }, /* @__PURE__ */ React93.createElement(Text, { size: "10", color: "secondaryText" }, formatTimestampToDate(new Date(dateKey), {
|
|
10383
|
-
year: hasMultipleYearsOfCheckoutData ? "full" : "none",
|
|
10384
|
-
month: "short"
|
|
10385
|
-
}))), checkoutHistoryList2.map((checkoutHistoryItem) => /* @__PURE__ */ React93.createElement(Box, { key: checkoutHistoryItem.depositAddr }, /* @__PURE__ */ React93.createElement(
|
|
10386
|
-
HomeCheckoutDisplayRow,
|
|
10387
|
-
{
|
|
10388
|
-
onSelect: handleCheckoutSelect,
|
|
10389
|
-
checkoutHistoryItem
|
|
10390
|
-
}
|
|
10391
|
-
))))
|
|
10392
|
-
)));
|
|
10423
|
+
);
|
|
10393
10424
|
}, [isCheckoutHistoryInited, onSelectActivity, selectedView]);
|
|
10394
10425
|
return /* @__PURE__ */ React93.createElement(Box, { paddingTop: "14" }, /* @__PURE__ */ React93.createElement(
|
|
10395
10426
|
ProfileTitleSection,
|
|
@@ -10452,29 +10483,8 @@ function Home({
|
|
|
10452
10483
|
)
|
|
10453
10484
|
))
|
|
10454
10485
|
),
|
|
10455
|
-
selectedView === "assets" /* ASSETS */ &&
|
|
10456
|
-
|
|
10457
|
-
{
|
|
10458
|
-
display: "flex",
|
|
10459
|
-
flexDirection: "column",
|
|
10460
|
-
gap: "8",
|
|
10461
|
-
className: animateContentInClass2,
|
|
10462
|
-
style: { maxHeight: 300, overflow: "auto" }
|
|
10463
|
-
},
|
|
10464
|
-
AssetsList
|
|
10465
|
-
),
|
|
10466
|
-
selectedView === "checkouts" /* CHECKOUTS */ && /* @__PURE__ */ React93.createElement(
|
|
10467
|
-
Box,
|
|
10468
|
-
{
|
|
10469
|
-
ref: listRef,
|
|
10470
|
-
display: "flex",
|
|
10471
|
-
flexDirection: "column",
|
|
10472
|
-
gap: "8",
|
|
10473
|
-
className: animateContentInClass2,
|
|
10474
|
-
style: { maxHeight: 300, overflow: "auto" }
|
|
10475
|
-
},
|
|
10476
|
-
CheckoutsList
|
|
10477
|
-
)
|
|
10486
|
+
selectedView === "assets" /* ASSETS */ && AssetsList,
|
|
10487
|
+
selectedView === "checkouts" /* CHECKOUTS */ && CheckoutsList
|
|
10478
10488
|
)
|
|
10479
10489
|
));
|
|
10480
10490
|
}
|
|
@@ -10586,15 +10596,7 @@ function ProfileDetails({ onClose }) {
|
|
|
10586
10596
|
};
|
|
10587
10597
|
const hasCustomAnimation = view === 0 /* HOME */;
|
|
10588
10598
|
const animateClass = animateOut ? animateContentOutClass : animateContentInClass;
|
|
10589
|
-
return /* @__PURE__ */ React95.createElement(React95.Fragment, null, dialogTitleMap[view] && /* @__PURE__ */ React95.createElement(
|
|
10590
|
-
Dialog.Title,
|
|
10591
|
-
{
|
|
10592
|
-
hasBackButton: true,
|
|
10593
|
-
hasCloseButton: true,
|
|
10594
|
-
onClose,
|
|
10595
|
-
...dialogTitleMap[view]
|
|
10596
|
-
}
|
|
10597
|
-
), /* @__PURE__ */ React95.createElement(
|
|
10599
|
+
return /* @__PURE__ */ React95.createElement(React95.Fragment, null, dialogTitleMap[view] && /* @__PURE__ */ React95.createElement(Dialog.Title, { onClose, ...dialogTitleMap[view] }), /* @__PURE__ */ React95.createElement(
|
|
10598
10600
|
Dialog.Content,
|
|
10599
10601
|
{
|
|
10600
10602
|
display: "flex",
|
|
@@ -10849,15 +10851,11 @@ function FunCheckoutHistoryModal({
|
|
|
10849
10851
|
}, []);
|
|
10850
10852
|
const historyTitle = {
|
|
10851
10853
|
["help" /* HELP */]: {
|
|
10852
|
-
hasBackButton: true,
|
|
10853
10854
|
onBack: () => navigateTo("detail" /* DETAIL */),
|
|
10854
10855
|
title: "Get Help",
|
|
10855
|
-
hasCloseButton: true,
|
|
10856
10856
|
onClose
|
|
10857
10857
|
},
|
|
10858
10858
|
["detail" /* DETAIL */]: {
|
|
10859
|
-
hasBackButton: false,
|
|
10860
|
-
hasCloseButton: true,
|
|
10861
10859
|
title: "Deposit",
|
|
10862
10860
|
onClose
|
|
10863
10861
|
}
|
|
@@ -10888,7 +10886,7 @@ import {
|
|
|
10888
10886
|
FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO8,
|
|
10889
10887
|
getTokenInfo as getTokenInfo2
|
|
10890
10888
|
} from "@funkit/core";
|
|
10891
|
-
import
|
|
10889
|
+
import React168, { useCallback as useCallback29, useEffect as useEffect32, useMemo as useMemo32, useRef as useRef15, useState as useState41 } from "react";
|
|
10892
10890
|
import { arbitrum, mainnet as mainnet6, mantle as mantle2, zkSync as zkSync3 } from "viem/chains";
|
|
10893
10891
|
|
|
10894
10892
|
// src/hooks/useCheckoutAccountBalanceTransfer.ts
|
|
@@ -12310,7 +12308,7 @@ function DydxSwitchTab({
|
|
|
12310
12308
|
import React131, {
|
|
12311
12309
|
createContext as createContext14,
|
|
12312
12310
|
useContext as useContext16,
|
|
12313
|
-
useEffect as
|
|
12311
|
+
useEffect as useEffect25,
|
|
12314
12312
|
useMemo as useMemo21,
|
|
12315
12313
|
useState as useState29
|
|
12316
12314
|
} from "react";
|
|
@@ -12323,7 +12321,7 @@ var useIsFunkitSandboxMode = () => useContext15(FunkitSandboxContext);
|
|
|
12323
12321
|
// src/components/FunkitProvider/FunkitMoonpayProvider.tsx
|
|
12324
12322
|
var MoonPayOriginalProvider = (props) => {
|
|
12325
12323
|
const [MoonPayProviderInner, setMoonPayProviderInner] = useState29(null);
|
|
12326
|
-
|
|
12324
|
+
useEffect25(() => {
|
|
12327
12325
|
const loadMoonPayProviderInner = async () => {
|
|
12328
12326
|
try {
|
|
12329
12327
|
const module = await import("@moonpay/moonpay-react");
|
|
@@ -12353,7 +12351,7 @@ function useFunkitUserIp() {
|
|
|
12353
12351
|
null
|
|
12354
12352
|
);
|
|
12355
12353
|
const { moonpayApiKey } = useContext16(FunkitMoonpayContext);
|
|
12356
|
-
|
|
12354
|
+
useEffect25(() => {
|
|
12357
12355
|
const getUserIpViaMoonpay = async () => {
|
|
12358
12356
|
const response = await fetch(
|
|
12359
12357
|
`https://api.moonpay.com/v3/ip_address?apiKey=${moonpayApiKey}`
|
|
@@ -12392,9 +12390,9 @@ import {
|
|
|
12392
12390
|
meshExecuteTransfer,
|
|
12393
12391
|
MeshExecuteTransferStatus
|
|
12394
12392
|
} from "@funkit/api-base";
|
|
12395
|
-
import
|
|
12393
|
+
import React136, {
|
|
12396
12394
|
useCallback as useCallback22,
|
|
12397
|
-
useEffect as
|
|
12395
|
+
useEffect as useEffect26,
|
|
12398
12396
|
useMemo as useMemo22,
|
|
12399
12397
|
useState as useState30
|
|
12400
12398
|
} from "react";
|
|
@@ -12443,10 +12441,30 @@ var EmailConfirmationIcon = () => {
|
|
|
12443
12441
|
);
|
|
12444
12442
|
};
|
|
12445
12443
|
|
|
12446
|
-
// src/components/Icons/
|
|
12444
|
+
// src/components/Icons/TwoFactor.tsx
|
|
12447
12445
|
import React134 from "react";
|
|
12446
|
+
var TwoFactorIcon = () => /* @__PURE__ */ React134.createElement(
|
|
12447
|
+
"svg",
|
|
12448
|
+
{
|
|
12449
|
+
width: "40",
|
|
12450
|
+
height: "49",
|
|
12451
|
+
viewBox: "0 0 40 49",
|
|
12452
|
+
fill: "none",
|
|
12453
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12454
|
+
},
|
|
12455
|
+
/* @__PURE__ */ React134.createElement(
|
|
12456
|
+
"path",
|
|
12457
|
+
{
|
|
12458
|
+
d: "M19.8359 48.5233C19.6328 48.5233 19.3828 48.4764 19.0859 48.3827C18.8047 48.3046 18.5078 48.1874 18.1953 48.0311C14.8359 46.1874 11.9922 44.5311 9.66406 43.0624C7.35156 41.6093 5.48438 40.1952 4.0625 38.8202C2.65625 37.4452 1.63281 35.9608 0.992188 34.3671C0.367188 32.7577 0.0546875 30.8827 0.0546875 28.7421V11.0233C0.0546875 9.63269 0.328125 8.61707 0.875 7.97644C1.4375 7.32019 2.29688 6.74988 3.45312 6.2655C3.96875 6.04675 4.69531 5.75769 5.63281 5.39832C6.57031 5.03894 7.60938 4.65613 8.75 4.24988C9.89062 3.828 11.0234 3.41394 12.1484 3.00769C13.2734 2.60144 14.2969 2.24207 15.2188 1.92957C16.1562 1.60144 16.8828 1.36707 17.3984 1.22644C17.7891 1.13269 18.1953 1.04675 18.6172 0.968628C19.0391 0.874878 19.4453 0.828003 19.8359 0.828003C20.2422 0.828003 20.6562 0.867065 21.0781 0.94519C21.5156 1.02332 21.9219 1.11707 22.2969 1.22644C22.8125 1.39832 23.5312 1.64832 24.4531 1.97644C25.3906 2.30457 26.4219 2.67175 27.5469 3.078C28.6875 3.46863 29.8203 3.86707 30.9453 4.27332C32.0859 4.67957 33.125 5.06238 34.0625 5.42175C35 5.7655 35.7266 6.04675 36.2422 6.2655C37.4141 6.7655 38.2734 7.33582 38.8203 7.97644C39.3672 8.61707 39.6406 9.63269 39.6406 11.0233V28.7421C39.6406 30.8827 39.3281 32.7577 38.7031 34.3671C38.0781 35.9608 37.0547 37.453 35.6328 38.8436C34.2266 40.2186 32.3594 41.6327 30.0312 43.0858C27.7188 44.5389 24.875 46.1874 21.5 48.0311C21.1875 48.1874 20.8828 48.3046 20.5859 48.3827C20.3047 48.4764 20.0547 48.5233 19.8359 48.5233ZM19.8359 43.578C20.0078 43.578 20.1953 43.5389 20.3984 43.4608C20.6016 43.3827 20.8672 43.2421 21.1953 43.0389C23.8359 41.4452 26.0547 40.078 27.8516 38.9374C29.6641 37.7811 31.1094 36.6874 32.1875 35.6561C33.2812 34.6249 34.0625 33.5077 34.5312 32.3046C35 31.0858 35.2344 29.6093 35.2344 27.8749V11.7733C35.2344 11.3671 35.1797 11.0624 35.0703 10.8593C34.9609 10.6405 34.75 10.4764 34.4375 10.3671C33.7188 10.1171 32.8984 9.828 31.9766 9.49988C31.0703 9.17175 30.1094 8.828 29.0938 8.46863C28.0938 8.10925 27.1016 7.74988 26.1172 7.3905C25.1328 7.03113 24.2031 6.69519 23.3281 6.38269C22.4531 6.05457 21.7031 5.7655 21.0781 5.5155C20.8125 5.42175 20.5781 5.35144 20.375 5.30457C20.1875 5.25769 20.0078 5.23425 19.8359 5.23425C19.6797 5.23425 19.5 5.25769 19.2969 5.30457C19.1094 5.35144 18.8828 5.42175 18.6172 5.5155C17.9922 5.7655 17.2422 6.04675 16.3672 6.35925C15.4922 6.67175 14.5547 6.99988 13.5547 7.34363C12.5703 7.68738 11.5703 8.03894 10.5547 8.39832C9.55469 8.75769 8.59375 9.10925 7.67188 9.453C6.76562 9.78113 5.96875 10.0858 5.28125 10.3671C4.95312 10.4921 4.73438 10.6561 4.625 10.8593C4.51562 11.0624 4.46094 11.3671 4.46094 11.7733V27.8749C4.46094 29.5936 4.69531 31.0546 5.16406 32.2577C5.63281 33.4608 6.39844 34.578 7.46094 35.6093C8.53906 36.6249 9.97656 37.7108 11.7734 38.8671C13.5859 40.0233 15.8281 41.4139 18.5 43.0389C18.8281 43.2421 19.0938 43.3827 19.2969 43.4608C19.5 43.5389 19.6797 43.578 19.8359 43.578ZM11.4453 32.5155V23.3749C11.4453 21.8124 12.1016 20.9608 13.4141 20.8202V18.1718C13.4141 16.0155 14.0078 14.2811 15.1953 12.9686C16.3828 11.6405 17.9297 10.9764 19.8359 10.9764C21.7578 10.9764 23.3047 11.6405 24.4766 12.9686C25.6641 14.2811 26.2578 16.0155 26.2578 18.1718V20.8202C27.5859 20.9452 28.25 21.7968 28.25 23.3749V32.5155C28.25 34.2655 27.4297 35.1405 25.7891 35.1405H13.8828C12.2578 35.1405 11.4453 34.2655 11.4453 32.5155ZM16.1562 20.7733H23.5391V17.9374C23.5391 16.6405 23.1953 15.6014 22.5078 14.8202C21.8359 14.0233 20.9453 13.6249 19.8359 13.6249C18.7266 13.6249 17.8359 14.0233 17.1641 14.8202C16.4922 15.6014 16.1562 16.6405 16.1562 17.9374V20.7733Z",
|
|
12459
|
+
fill: "currentColor"
|
|
12460
|
+
}
|
|
12461
|
+
)
|
|
12462
|
+
);
|
|
12463
|
+
|
|
12464
|
+
// src/components/Icons/WhitelistIcon.tsx
|
|
12465
|
+
import React135 from "react";
|
|
12448
12466
|
var WhitelistIcon = () => {
|
|
12449
|
-
return /* @__PURE__ */
|
|
12467
|
+
return /* @__PURE__ */ React135.createElement(
|
|
12450
12468
|
"svg",
|
|
12451
12469
|
{
|
|
12452
12470
|
width: "54",
|
|
@@ -12455,7 +12473,7 @@ var WhitelistIcon = () => {
|
|
|
12455
12473
|
fill: "none",
|
|
12456
12474
|
xmlns: "http://www.w3.org/2000/svg"
|
|
12457
12475
|
},
|
|
12458
|
-
/* @__PURE__ */
|
|
12476
|
+
/* @__PURE__ */ React135.createElement(
|
|
12459
12477
|
"path",
|
|
12460
12478
|
{
|
|
12461
12479
|
d: "M10.4531 20.8905C8.57812 20.8905 6.85156 20.4218 5.27344 19.4843C3.71094 18.5468 2.46094 17.2968 1.52344 15.7343C0.585938 14.1718 0.117188 12.453 0.117188 10.578C0.117188 8.68738 0.585938 6.96082 1.52344 5.39832C2.46094 3.82019 3.71094 2.56238 5.27344 1.62488C6.83594 0.687378 8.5625 0.218628 10.4531 0.218628C12.3438 0.218628 14.0625 0.687378 15.6094 1.62488C17.1719 2.56238 18.4219 3.82019 19.3594 5.39832C20.3125 6.96082 20.7891 8.68738 20.7891 10.578C20.7891 12.453 20.3125 14.1718 19.3594 15.7343C18.4219 17.2968 17.1719 18.5468 15.6094 19.4843C14.0469 20.4218 12.3281 20.8905 10.4531 20.8905ZM9.21094 16.1093C9.75781 16.1093 10.1875 15.8749 10.5 15.4061L15.4922 7.64832C15.7109 7.32019 15.8203 6.99207 15.8203 6.66394C15.8203 6.33582 15.6875 6.05457 15.4219 5.82019C15.1562 5.58582 14.8438 5.46863 14.4844 5.46863C14.0312 5.46863 13.6562 5.703 13.3594 6.17175L9.1875 12.8514L7.38281 10.6014C7.21094 10.3983 7.03906 10.2499 6.86719 10.1561C6.71094 10.0624 6.50781 10.0155 6.25781 10.0155C5.91406 10.0155 5.61719 10.1405 5.36719 10.3905C5.13281 10.6405 5.01562 10.953 5.01562 11.328C5.01562 11.6874 5.125 12.0077 5.34375 12.2889L7.96875 15.4296C8.14062 15.6483 8.32812 15.8202 8.53125 15.9452C8.73438 16.0546 8.96094 16.1093 9.21094 16.1093ZM10.4531 47.9843C8.57812 47.9843 6.85156 47.5155 5.27344 46.578C3.71094 45.6405 2.46094 44.3827 1.52344 42.8046C0.585938 41.2421 0.117188 39.5233 0.117188 37.6483C0.117188 35.7577 0.585938 34.0311 1.52344 32.4686C2.46094 30.9061 3.71094 29.6561 5.27344 28.7186C6.83594 27.7811 8.5625 27.3124 10.4531 27.3124C12.3438 27.3124 14.0625 27.7811 15.6094 28.7186C17.1719 29.6405 18.4219 30.8905 19.3594 32.4686C20.3125 34.0311 20.7891 35.7577 20.7891 37.6483C20.7891 39.5233 20.3125 41.2421 19.3594 42.8046C18.4219 44.3827 17.1719 45.6405 15.6094 46.578C14.0625 47.5155 12.3438 47.9843 10.4531 47.9843ZM10.4531 43.9999C11.5938 43.9999 12.6484 43.7108 13.6172 43.1327C14.5859 42.5546 15.3594 41.7811 15.9375 40.8124C16.5156 39.8436 16.8047 38.7889 16.8047 37.6483C16.8047 36.4921 16.5156 35.4374 15.9375 34.4843C15.3594 33.5155 14.5859 32.7421 13.6172 32.1639C12.6484 31.5858 11.5938 31.2968 10.4531 31.2968C9.3125 31.2968 8.25781 31.5858 7.28906 32.1639C6.32031 32.7421 5.54688 33.5155 4.96875 34.4843C4.39062 35.4374 4.10156 36.4921 4.10156 37.6483C4.10156 38.7889 4.39062 39.8436 4.96875 40.8124C5.54688 41.7811 6.32031 42.5546 7.28906 43.1327C8.25781 43.7108 9.3125 43.9999 10.4531 43.9999ZM28.2188 12.6405C27.6406 12.6405 27.1484 12.4452 26.7422 12.0546C26.3516 11.6483 26.1562 11.1561 26.1562 10.578C26.1562 9.99988 26.3516 9.5155 26.7422 9.12488C27.1484 8.71863 27.6406 8.5155 28.2188 8.5155H51.7969C52.375 8.5155 52.8672 8.71863 53.2734 9.12488C53.6797 9.5155 53.8828 9.99988 53.8828 10.578C53.8828 11.1561 53.6797 11.6483 53.2734 12.0546C52.8672 12.4452 52.375 12.6405 51.7969 12.6405H28.2188ZM28.2188 39.7577C27.6406 39.7577 27.1484 39.5546 26.7422 39.1483C26.3516 38.7421 26.1562 38.2577 26.1562 37.6952C26.1562 37.1171 26.3516 36.6327 26.7422 36.2421C27.1484 35.8358 27.6406 35.6327 28.2188 35.6327H51.7969C52.375 35.6327 52.8672 35.8358 53.2734 36.2421C53.6797 36.6327 53.8828 37.1171 53.8828 37.6952C53.8828 38.2577 53.6797 38.7421 53.2734 39.1483C52.8672 39.5546 52.375 39.7577 51.7969 39.7577H28.2188Z",
|
|
@@ -12496,7 +12514,7 @@ function FunMeshVerificationStep({
|
|
|
12496
12514
|
screen,
|
|
12497
12515
|
twoFactorCode.length
|
|
12498
12516
|
]);
|
|
12499
|
-
|
|
12517
|
+
useEffect26(() => {
|
|
12500
12518
|
void handleCompletion();
|
|
12501
12519
|
return () => {
|
|
12502
12520
|
setScreen(0 /* INITIAL */);
|
|
@@ -12603,7 +12621,7 @@ function FunMeshVerificationStep({
|
|
|
12603
12621
|
}
|
|
12604
12622
|
}, [exchange, executionStatus]);
|
|
12605
12623
|
if (screen === 0 /* INITIAL */) {
|
|
12606
|
-
return /* @__PURE__ */
|
|
12624
|
+
return /* @__PURE__ */ React136.createElement(
|
|
12607
12625
|
Box,
|
|
12608
12626
|
{
|
|
12609
12627
|
width: "full",
|
|
@@ -12615,65 +12633,63 @@ function FunMeshVerificationStep({
|
|
|
12615
12633
|
color: "primaryText",
|
|
12616
12634
|
gap: "10"
|
|
12617
12635
|
},
|
|
12618
|
-
/* @__PURE__ */
|
|
12619
|
-
/* @__PURE__ */
|
|
12636
|
+
/* @__PURE__ */ React136.createElement(Text, { size: "14", color: "secondaryText" }, "Executing brokerage transfer"),
|
|
12637
|
+
/* @__PURE__ */ React136.createElement(SpinnerIcon, null)
|
|
12620
12638
|
);
|
|
12621
12639
|
}
|
|
12622
|
-
return /* @__PURE__ */
|
|
12623
|
-
|
|
12640
|
+
return /* @__PURE__ */ React136.createElement(Box, null, screen === 1 /* TWO_FACTOR */ ? /* @__PURE__ */ React136.createElement(
|
|
12641
|
+
VerificationPopup,
|
|
12624
12642
|
{
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
gap: "8"
|
|
12643
|
+
title: verificationTitle,
|
|
12644
|
+
description: verificationDescription,
|
|
12645
|
+
icon: /* @__PURE__ */ React136.createElement(TwoFactorIcon, null)
|
|
12629
12646
|
},
|
|
12630
|
-
/* @__PURE__ */
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
|
|
12642
|
-
|
|
12643
|
-
|
|
12644
|
-
|
|
12645
|
-
|
|
12646
|
-
))) : screen === 2 /* DEVICE_CONFIRMATION */ ? /* @__PURE__ */ React135.createElement(
|
|
12647
|
+
/* @__PURE__ */ React136.createElement(
|
|
12648
|
+
FunTwoFaInput,
|
|
12649
|
+
{
|
|
12650
|
+
value: twoFactorCode,
|
|
12651
|
+
onChange: (value) => {
|
|
12652
|
+
setExecutionError("");
|
|
12653
|
+
setTwoFactorCode(value);
|
|
12654
|
+
},
|
|
12655
|
+
hasError: !!executionError,
|
|
12656
|
+
errorMessage: executionError,
|
|
12657
|
+
initialInputLength: MIN_MFA_CODE_LENGTH,
|
|
12658
|
+
maxInputLength: 10,
|
|
12659
|
+
onCompleted: handleCompletion
|
|
12660
|
+
}
|
|
12661
|
+
)
|
|
12662
|
+
) : screen === 2 /* DEVICE_CONFIRMATION */ ? /* @__PURE__ */ React136.createElement(
|
|
12647
12663
|
VerificationPopup,
|
|
12648
12664
|
{
|
|
12649
12665
|
title: verificationTitle,
|
|
12650
12666
|
description: verificationDescription,
|
|
12651
|
-
icon: /* @__PURE__ */
|
|
12667
|
+
icon: /* @__PURE__ */ React136.createElement(DeviceConfirmationIcon, null)
|
|
12652
12668
|
}
|
|
12653
|
-
) : screen === 3 /* EMAIL_CONFIRMATION */ ? /* @__PURE__ */
|
|
12669
|
+
) : screen === 3 /* EMAIL_CONFIRMATION */ ? /* @__PURE__ */ React136.createElement(
|
|
12654
12670
|
VerificationPopup,
|
|
12655
12671
|
{
|
|
12656
12672
|
title: verificationTitle,
|
|
12657
12673
|
description: verificationDescription,
|
|
12658
|
-
icon: /* @__PURE__ */
|
|
12674
|
+
icon: /* @__PURE__ */ React136.createElement(EmailConfirmationIcon, null)
|
|
12659
12675
|
}
|
|
12660
|
-
) : screen === 4 /* WHITELIST */ ? /* @__PURE__ */
|
|
12676
|
+
) : screen === 4 /* WHITELIST */ ? /* @__PURE__ */ React136.createElement(
|
|
12661
12677
|
VerificationPopup,
|
|
12662
12678
|
{
|
|
12663
12679
|
title: verificationTitle,
|
|
12664
12680
|
description: verificationDescription,
|
|
12665
|
-
icon: /* @__PURE__ */
|
|
12681
|
+
icon: /* @__PURE__ */ React136.createElement(WhitelistIcon, null)
|
|
12666
12682
|
},
|
|
12667
|
-
/* @__PURE__ */
|
|
12668
|
-
/* @__PURE__ */
|
|
12683
|
+
/* @__PURE__ */ React136.createElement(FunDivider, null),
|
|
12684
|
+
/* @__PURE__ */ React136.createElement(Box, { width: "full" }, /* @__PURE__ */ React136.createElement(
|
|
12669
12685
|
LineItem,
|
|
12670
12686
|
{
|
|
12671
12687
|
label: "Address",
|
|
12672
12688
|
value: formatAddress(transferToAddress),
|
|
12673
|
-
valueSuffix: /* @__PURE__ */
|
|
12689
|
+
valueSuffix: /* @__PURE__ */ React136.createElement(CopyAddress, { address: transferToAddress, type: "button" })
|
|
12674
12690
|
}
|
|
12675
12691
|
))
|
|
12676
|
-
) : screen === 5 /* FAILED */ ? /* @__PURE__ */
|
|
12692
|
+
) : screen === 5 /* FAILED */ ? /* @__PURE__ */ React136.createElement(Box, { paddingTop: "10" }, /* @__PURE__ */ React136.createElement(FunNotification, { type: "error", description: executionError })) : null, isButtonVisible && /* @__PURE__ */ React136.createElement(
|
|
12677
12693
|
FunBottomBar,
|
|
12678
12694
|
{
|
|
12679
12695
|
actionButtonProps: {
|
|
@@ -12691,7 +12707,7 @@ var VerificationPopup = ({
|
|
|
12691
12707
|
icon,
|
|
12692
12708
|
children
|
|
12693
12709
|
}) => {
|
|
12694
|
-
return /* @__PURE__ */
|
|
12710
|
+
return /* @__PURE__ */ React136.createElement(Box, { paddingY: "18", display: "flex", flexDirection: "column", gap: "24" }, /* @__PURE__ */ React136.createElement(Box, { display: "flex", flexDirection: "column", alignItems: "center", gap: "12" }, /* @__PURE__ */ React136.createElement(Box, { color: "primaryText" }, icon), /* @__PURE__ */ React136.createElement(Text, { size: "18", color: "primaryText" }, title), /* @__PURE__ */ React136.createElement(
|
|
12695
12711
|
Text,
|
|
12696
12712
|
{
|
|
12697
12713
|
textAlign: "center",
|
|
@@ -12704,19 +12720,19 @@ var VerificationPopup = ({
|
|
|
12704
12720
|
};
|
|
12705
12721
|
|
|
12706
12722
|
// src/components/FunPayments/FunPaymentSetup.tsx
|
|
12707
|
-
import
|
|
12723
|
+
import React144 from "react";
|
|
12708
12724
|
|
|
12709
12725
|
// src/components/FunPayments/FunPaymentMeshType.tsx
|
|
12710
|
-
import
|
|
12726
|
+
import React141, { useMemo as useMemo23, useState as useState31 } from "react";
|
|
12711
12727
|
import { createPortal as createPortal3 } from "react-dom";
|
|
12712
12728
|
|
|
12713
12729
|
// src/components/FunNoResults/FunNoResults.tsx
|
|
12714
|
-
import
|
|
12730
|
+
import React138 from "react";
|
|
12715
12731
|
|
|
12716
12732
|
// src/components/Icons/SearchSkeletonIcon.tsx
|
|
12717
|
-
import
|
|
12733
|
+
import React137 from "react";
|
|
12718
12734
|
var SearchSkeletonIcon = () => {
|
|
12719
|
-
return /* @__PURE__ */
|
|
12735
|
+
return /* @__PURE__ */ React137.createElement(
|
|
12720
12736
|
"svg",
|
|
12721
12737
|
{
|
|
12722
12738
|
width: "122",
|
|
@@ -12725,7 +12741,7 @@ var SearchSkeletonIcon = () => {
|
|
|
12725
12741
|
fill: "none",
|
|
12726
12742
|
xmlns: "http://www.w3.org/2000/svg"
|
|
12727
12743
|
},
|
|
12728
|
-
/* @__PURE__ */
|
|
12744
|
+
/* @__PURE__ */ React137.createElement("g", { clipPath: "url(#clip0_7590_15835)" }, /* @__PURE__ */ React137.createElement(
|
|
12729
12745
|
"path",
|
|
12730
12746
|
{
|
|
12731
12747
|
fillRule: "evenodd",
|
|
@@ -12733,26 +12749,26 @@ var SearchSkeletonIcon = () => {
|
|
|
12733
12749
|
d: "M99.5636 34.0159C92.9099 34.0159 87.5159 39.4099 87.5159 46.0636C87.5159 52.7174 92.9099 58.1114 99.5636 58.1114C106.217 58.1114 111.611 52.7174 111.611 46.0636C111.611 39.4099 106.217 34.0159 99.5636 34.0159ZM83.5 46.0636C83.5 37.1919 90.6919 30 99.5636 30C108.435 30 115.627 37.1919 115.627 46.0636C115.627 49.7758 114.368 53.1938 112.254 55.9139L120.912 64.5722C121.696 65.3564 121.696 66.6277 120.912 67.4119C120.128 68.196 118.856 68.196 118.072 67.4119L109.414 58.7536C106.694 60.8681 103.276 62.1273 99.5636 62.1273C90.6919 62.1273 83.5 54.9353 83.5 46.0636Z",
|
|
12734
12750
|
fill: "currentColor"
|
|
12735
12751
|
}
|
|
12736
|
-
), /* @__PURE__ */
|
|
12752
|
+
), /* @__PURE__ */ React137.createElement(
|
|
12737
12753
|
"path",
|
|
12738
12754
|
{
|
|
12739
12755
|
d: "M117.5 8H4.5C2.29086 8 0.5 9.79086 0.5 12V20C0.5 22.2091 2.29086 24 4.5 24H117.5C119.709 24 121.5 22.2091 121.5 20V12C121.5 9.79086 119.709 8 117.5 8Z",
|
|
12740
12756
|
fill: "currentColor"
|
|
12741
12757
|
}
|
|
12742
|
-
), /* @__PURE__ */
|
|
12758
|
+
), /* @__PURE__ */ React137.createElement(
|
|
12743
12759
|
"path",
|
|
12744
12760
|
{
|
|
12745
12761
|
d: "M71.5 30H4.5C2.29086 30 0.5 31.7909 0.5 34V42C0.5 44.2091 2.29086 46 4.5 46H71.5C73.7091 46 75.5 44.2091 75.5 42V34C75.5 31.7909 73.7091 30 71.5 30Z",
|
|
12746
12762
|
fill: "currentColor"
|
|
12747
12763
|
}
|
|
12748
|
-
), /* @__PURE__ */
|
|
12764
|
+
), /* @__PURE__ */ React137.createElement(
|
|
12749
12765
|
"path",
|
|
12750
12766
|
{
|
|
12751
12767
|
d: "M71.5 52H4.5C2.29086 52 0.5 53.7909 0.5 56V64C0.5 66.2091 2.29086 68 4.5 68H71.5C73.7091 68 75.5 66.2091 75.5 64V56C75.5 53.7909 73.7091 52 71.5 52Z",
|
|
12752
12768
|
fill: "currentColor"
|
|
12753
12769
|
}
|
|
12754
12770
|
)),
|
|
12755
|
-
/* @__PURE__ */
|
|
12771
|
+
/* @__PURE__ */ React137.createElement("defs", null, /* @__PURE__ */ React137.createElement("clipPath", { id: "clip0_7590_15835" }, /* @__PURE__ */ React137.createElement(
|
|
12756
12772
|
"rect",
|
|
12757
12773
|
{
|
|
12758
12774
|
width: "121",
|
|
@@ -12766,7 +12782,7 @@ var SearchSkeletonIcon = () => {
|
|
|
12766
12782
|
|
|
12767
12783
|
// src/components/FunNoResults/FunNoResults.tsx
|
|
12768
12784
|
var FunNoResults = ({ children }) => {
|
|
12769
|
-
return /* @__PURE__ */
|
|
12785
|
+
return /* @__PURE__ */ React138.createElement(
|
|
12770
12786
|
Box,
|
|
12771
12787
|
{
|
|
12772
12788
|
display: "flex",
|
|
@@ -12777,21 +12793,21 @@ var FunNoResults = ({ children }) => {
|
|
|
12777
12793
|
color: "secondaryText",
|
|
12778
12794
|
paddingTop: "12"
|
|
12779
12795
|
},
|
|
12780
|
-
/* @__PURE__ */
|
|
12781
|
-
/* @__PURE__ */
|
|
12796
|
+
/* @__PURE__ */ React138.createElement(SearchSkeletonIcon, null),
|
|
12797
|
+
/* @__PURE__ */ React138.createElement(Text, { color: "secondaryText", size: "10" }, children)
|
|
12782
12798
|
);
|
|
12783
12799
|
};
|
|
12784
12800
|
|
|
12785
12801
|
// src/components/FunSelectBrokerage/FunSelectBrokerage.tsx
|
|
12786
|
-
import
|
|
12787
|
-
import
|
|
12802
|
+
import clsx10 from "clsx";
|
|
12803
|
+
import React140 from "react";
|
|
12788
12804
|
|
|
12789
12805
|
// src/components/FunOptionBox/FunOptionBox.tsx
|
|
12790
|
-
import
|
|
12791
|
-
import
|
|
12806
|
+
import clsx9 from "clsx";
|
|
12807
|
+
import React139 from "react";
|
|
12792
12808
|
|
|
12793
12809
|
// src/components/FunOptionBox/FunOptionBox.css.ts
|
|
12794
|
-
var funOptionBoxStyle = { baseStyle: "_1rfcluh0", defaultBorder: "
|
|
12810
|
+
var funOptionBoxStyle = { baseStyle: "_1rfcluh0", defaultBorder: "_1rsrm2fv4", transparentBorder: "_1rsrm2fyi", activeBorder: "_1rsrm2fvo", paymentOptionBorderDisabledBorder: "_1rsrm2ft6", defaultBackground: "_1rsrm2foc _1rsrm2fkw", activeBackground: "_1rsrm2fkp _1rsrm2fkw" };
|
|
12795
12811
|
|
|
12796
12812
|
// src/components/FunOptionBox/FunOptionBox.tsx
|
|
12797
12813
|
function FunOptionBox({
|
|
@@ -12804,7 +12820,7 @@ function FunOptionBox({
|
|
|
12804
12820
|
children
|
|
12805
12821
|
}) {
|
|
12806
12822
|
const isClickable = !!onClick && !isDisabled;
|
|
12807
|
-
return /* @__PURE__ */
|
|
12823
|
+
return /* @__PURE__ */ React139.createElement(
|
|
12808
12824
|
Box,
|
|
12809
12825
|
{
|
|
12810
12826
|
as: "button",
|
|
@@ -12824,7 +12840,7 @@ function FunOptionBox({
|
|
|
12824
12840
|
style: {
|
|
12825
12841
|
opacity: isDisabled ? 0.5 : 1
|
|
12826
12842
|
},
|
|
12827
|
-
className:
|
|
12843
|
+
className: clsx9(
|
|
12828
12844
|
funOptionBoxStyle.baseStyle,
|
|
12829
12845
|
!isActive && funOptionBoxStyle.defaultBorder,
|
|
12830
12846
|
isActive ? funOptionBoxStyle.activeBorder : (
|
|
@@ -12848,10 +12864,10 @@ function FunSelectBrokerage({
|
|
|
12848
12864
|
options,
|
|
12849
12865
|
selectedValue
|
|
12850
12866
|
}) {
|
|
12851
|
-
return /* @__PURE__ */
|
|
12867
|
+
return /* @__PURE__ */ React140.createElement(
|
|
12852
12868
|
Box,
|
|
12853
12869
|
{
|
|
12854
|
-
className:
|
|
12870
|
+
className: clsx10(hideScrollBar, selectBrokerageStyle),
|
|
12855
12871
|
width: "full",
|
|
12856
12872
|
display: "flex",
|
|
12857
12873
|
flexDirection: "column",
|
|
@@ -12859,7 +12875,7 @@ function FunSelectBrokerage({
|
|
|
12859
12875
|
},
|
|
12860
12876
|
options.map((optionItem) => {
|
|
12861
12877
|
const isActive = selectedValue === optionItem.value;
|
|
12862
|
-
return /* @__PURE__ */
|
|
12878
|
+
return /* @__PURE__ */ React140.createElement(
|
|
12863
12879
|
FunOptionBox,
|
|
12864
12880
|
{
|
|
12865
12881
|
key: optionItem.value,
|
|
@@ -12894,7 +12910,7 @@ function FunPaymentMeshType({
|
|
|
12894
12910
|
[options, searchInput]
|
|
12895
12911
|
);
|
|
12896
12912
|
const bottomSectionRef = document.getElementById(CHECKOUT_MODAL_BOTTOM_BAR_ID);
|
|
12897
|
-
return /* @__PURE__ */
|
|
12913
|
+
return /* @__PURE__ */ React141.createElement(Box, null, /* @__PURE__ */ React141.createElement(Box, { display: "flex", flexDirection: "column", gap: "18" }, /* @__PURE__ */ React141.createElement(
|
|
12898
12914
|
FunInput,
|
|
12899
12915
|
{
|
|
12900
12916
|
placeholder: "Search exchanges",
|
|
@@ -12902,7 +12918,7 @@ function FunPaymentMeshType({
|
|
|
12902
12918
|
onChange: handleSearch,
|
|
12903
12919
|
prefixIcon: "SearchIcon"
|
|
12904
12920
|
}
|
|
12905
|
-
), /* @__PURE__ */
|
|
12921
|
+
), /* @__PURE__ */ React141.createElement(Box, { style: { minHeight: 200 } }, filteredOptions?.length === 0 ? /* @__PURE__ */ React141.createElement(FunNoResults, null, "No results found") : /* @__PURE__ */ React141.createElement(
|
|
12906
12922
|
FunSelectBrokerage,
|
|
12907
12923
|
{
|
|
12908
12924
|
handleSelect: (selectedExchange) => {
|
|
@@ -12912,7 +12928,7 @@ function FunPaymentMeshType({
|
|
|
12912
12928
|
selectedValue: exchange?.toString() || ""
|
|
12913
12929
|
}
|
|
12914
12930
|
))), bottomSectionRef && createPortal3(
|
|
12915
|
-
/* @__PURE__ */
|
|
12931
|
+
/* @__PURE__ */ React141.createElement(
|
|
12916
12932
|
Dialog.BottomBar,
|
|
12917
12933
|
{
|
|
12918
12934
|
actionButtonProps: {
|
|
@@ -12931,7 +12947,7 @@ function FunPaymentMeshType({
|
|
|
12931
12947
|
|
|
12932
12948
|
// src/components/FunPayments/FunPaymentMoonpayType.tsx
|
|
12933
12949
|
import { getMoonpayUrlSignature } from "@funkit/api-base";
|
|
12934
|
-
import
|
|
12950
|
+
import React142, { memo, useEffect as useEffect27, useMemo as useMemo24, useState as useState32 } from "react";
|
|
12935
12951
|
|
|
12936
12952
|
// src/utils/colors.ts
|
|
12937
12953
|
function colorToHex(color) {
|
|
@@ -12961,7 +12977,7 @@ var stretchStyle = "_1kmpeyf1";
|
|
|
12961
12977
|
// src/components/FunPayments/FunPaymentMoonpayType.tsx
|
|
12962
12978
|
var MoonPayBuyWidget = memo(function Widget(props) {
|
|
12963
12979
|
const [MoonPayBuyWidgetInner, setMoonPayBuyWidgetInner] = useState32(null);
|
|
12964
|
-
|
|
12980
|
+
useEffect27(() => {
|
|
12965
12981
|
const loadMoonPayBuyWidgetInner = async () => {
|
|
12966
12982
|
try {
|
|
12967
12983
|
const module = await import("@moonpay/moonpay-react");
|
|
@@ -12973,8 +12989,8 @@ var MoonPayBuyWidget = memo(function Widget(props) {
|
|
|
12973
12989
|
loadMoonPayBuyWidgetInner();
|
|
12974
12990
|
return () => setMoonPayBuyWidgetInner(null);
|
|
12975
12991
|
}, []);
|
|
12976
|
-
if (!MoonPayBuyWidgetInner) return /* @__PURE__ */
|
|
12977
|
-
return /* @__PURE__ */
|
|
12992
|
+
if (!MoonPayBuyWidgetInner) return /* @__PURE__ */ React142.createElement(React142.Fragment, null, props.children);
|
|
12993
|
+
return /* @__PURE__ */ React142.createElement(MoonPayBuyWidgetInner, { ...props }, props.children);
|
|
12978
12994
|
});
|
|
12979
12995
|
function FunPaymentMoonpayType({
|
|
12980
12996
|
paymentAddress,
|
|
@@ -13018,13 +13034,13 @@ function FunPaymentMoonpayType({
|
|
|
13018
13034
|
return primaryButtonHex;
|
|
13019
13035
|
}
|
|
13020
13036
|
}, [active2.colors.buttonPrimary]);
|
|
13021
|
-
return /* @__PURE__ */
|
|
13037
|
+
return /* @__PURE__ */ React142.createElement(Box, { className: stretchStyle }, !isSupportedRegion ? /* @__PURE__ */ React142.createElement(Box, { paddingY: "10" }, /* @__PURE__ */ React142.createElement(
|
|
13022
13038
|
FunNotification,
|
|
13023
13039
|
{
|
|
13024
13040
|
type: "error",
|
|
13025
13041
|
description: "You are using moonpay from an unsupported region. Please use a different payment method."
|
|
13026
13042
|
}
|
|
13027
|
-
)) : null, /* @__PURE__ */
|
|
13043
|
+
)) : null, /* @__PURE__ */ React142.createElement(Box, { className: stretchStyle }, /* @__PURE__ */ React142.createElement(
|
|
13028
13044
|
MoonPayBuyWidget,
|
|
13029
13045
|
{
|
|
13030
13046
|
variant: "embedded",
|
|
@@ -13049,12 +13065,12 @@ function FunPaymentMoonpayType({
|
|
|
13049
13065
|
}
|
|
13050
13066
|
|
|
13051
13067
|
// src/components/FunPayments/FunPaymentTransferType.tsx
|
|
13052
|
-
import
|
|
13068
|
+
import React143 from "react";
|
|
13053
13069
|
function FunPaymentTransferType({
|
|
13054
13070
|
address,
|
|
13055
13071
|
onBackToHome
|
|
13056
13072
|
}) {
|
|
13057
|
-
return /* @__PURE__ */
|
|
13073
|
+
return /* @__PURE__ */ React143.createElement(Box, null, /* @__PURE__ */ React143.createElement(Box, { display: "flex", flexDirection: "column", gap: "5" }, /* @__PURE__ */ React143.createElement(CopyAddress, { type: "kv", address }), /* @__PURE__ */ React143.createElement(
|
|
13058
13074
|
Box,
|
|
13059
13075
|
{
|
|
13060
13076
|
display: "flex",
|
|
@@ -13066,8 +13082,8 @@ function FunPaymentTransferType({
|
|
|
13066
13082
|
borderWidth: "1",
|
|
13067
13083
|
borderRadius: "16"
|
|
13068
13084
|
},
|
|
13069
|
-
/* @__PURE__ */
|
|
13070
|
-
), /* @__PURE__ */
|
|
13085
|
+
/* @__PURE__ */ React143.createElement(QRCode, { uri: address, logoSize: 0, logoMargin: 0, size: 360 })
|
|
13086
|
+
), /* @__PURE__ */ React143.createElement(Text, { textAlign: "center", color: "tertiaryText", size: "12", weight: "medium" }, "Scan the QR or copy and paste the payment details into your wallet.")), /* @__PURE__ */ React143.createElement(Box, { paddingTop: "24" }, /* @__PURE__ */ React143.createElement(FunButton, { title: "Back to Home", type: "primary", onClick: onBackToHome })));
|
|
13071
13087
|
}
|
|
13072
13088
|
|
|
13073
13089
|
// src/components/FunPayments/FunPaymentSetup.tsx
|
|
@@ -13082,19 +13098,19 @@ function FunPaymentSetup({
|
|
|
13082
13098
|
redirectToCheckoutHistory,
|
|
13083
13099
|
isParentLoading = false
|
|
13084
13100
|
}) {
|
|
13085
|
-
return paymentMethod === "brokerage" /* BROKERAGE */ ? /* @__PURE__ */
|
|
13101
|
+
return paymentMethod === "brokerage" /* BROKERAGE */ ? /* @__PURE__ */ React144.createElement(
|
|
13086
13102
|
FunPaymentMeshType,
|
|
13087
13103
|
{
|
|
13088
13104
|
isParentLoading,
|
|
13089
13105
|
onContinue: onExchangeConfirm
|
|
13090
13106
|
}
|
|
13091
|
-
) : paymentMethod === "transfer" /* TRANSFER */ ? /* @__PURE__ */
|
|
13107
|
+
) : paymentMethod === "transfer" /* TRANSFER */ ? /* @__PURE__ */ React144.createElement(
|
|
13092
13108
|
FunPaymentTransferType,
|
|
13093
13109
|
{
|
|
13094
13110
|
address: paymentAddress,
|
|
13095
13111
|
onBackToHome
|
|
13096
13112
|
}
|
|
13097
|
-
) : paymentMethod === "card" /* CARD */ ? /* @__PURE__ */
|
|
13113
|
+
) : paymentMethod === "card" /* CARD */ ? /* @__PURE__ */ React144.createElement(
|
|
13098
13114
|
FunPaymentMoonpayType,
|
|
13099
13115
|
{
|
|
13100
13116
|
paymentAddress,
|
|
@@ -13106,14 +13122,14 @@ function FunPaymentSetup({
|
|
|
13106
13122
|
}
|
|
13107
13123
|
) : (
|
|
13108
13124
|
// TODO: Support other payment method setup screens here
|
|
13109
|
-
/* @__PURE__ */
|
|
13125
|
+
/* @__PURE__ */ React144.createElement(Text, { color: "secondaryText" }, "Unsupported payment method")
|
|
13110
13126
|
);
|
|
13111
13127
|
}
|
|
13112
13128
|
|
|
13113
13129
|
// src/components/Icons/CreditCardIcons.tsx
|
|
13114
|
-
import
|
|
13130
|
+
import React145 from "react";
|
|
13115
13131
|
var MasterCardIcon = () => {
|
|
13116
|
-
return /* @__PURE__ */
|
|
13132
|
+
return /* @__PURE__ */ React145.createElement(
|
|
13117
13133
|
"svg",
|
|
13118
13134
|
{
|
|
13119
13135
|
width: "20",
|
|
@@ -13122,21 +13138,21 @@ var MasterCardIcon = () => {
|
|
|
13122
13138
|
fill: "none",
|
|
13123
13139
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13124
13140
|
},
|
|
13125
|
-
/* @__PURE__ */
|
|
13141
|
+
/* @__PURE__ */ React145.createElement(
|
|
13126
13142
|
"path",
|
|
13127
13143
|
{
|
|
13128
13144
|
d: "M12.7041 11.0401H7.29614V1.32129H12.7042L12.7041 11.0401Z",
|
|
13129
13145
|
fill: "#FF5F00"
|
|
13130
13146
|
}
|
|
13131
13147
|
),
|
|
13132
|
-
/* @__PURE__ */
|
|
13148
|
+
/* @__PURE__ */ React145.createElement(
|
|
13133
13149
|
"path",
|
|
13134
13150
|
{
|
|
13135
13151
|
d: "M7.63905 6.18093C7.63905 4.20948 8.56213 2.4533 9.99955 1.32154C8.9115 0.463596 7.56574 -0.00204062 6.18013 6.72263e-06C2.76685 6.72263e-06 0 2.76726 0 6.18093C0 9.59461 2.76685 12.3619 6.18013 12.3619C7.56578 12.3639 8.91157 11.8983 9.99965 11.0403C8.56233 9.90877 7.63905 8.15249 7.63905 6.18093Z",
|
|
13136
13152
|
fill: "#EB001B"
|
|
13137
13153
|
}
|
|
13138
13154
|
),
|
|
13139
|
-
/* @__PURE__ */
|
|
13155
|
+
/* @__PURE__ */ React145.createElement(
|
|
13140
13156
|
"path",
|
|
13141
13157
|
{
|
|
13142
13158
|
d: "M19.9999 6.18093C19.9999 9.59461 17.2331 12.3619 13.8198 12.3619C12.434 12.3639 11.088 11.8983 9.99976 11.0403C11.4376 9.90857 12.3607 8.15249 12.3607 6.18093C12.3607 4.20938 11.4376 2.4533 9.99976 1.32154C11.088 0.463622 12.4339 -0.00200473 13.8197 6.48814e-06C17.233 6.48814e-06 19.9998 2.76726 19.9998 6.18093",
|
|
@@ -13146,7 +13162,7 @@ var MasterCardIcon = () => {
|
|
|
13146
13162
|
);
|
|
13147
13163
|
};
|
|
13148
13164
|
var VisaCardIcon = () => {
|
|
13149
|
-
return /* @__PURE__ */
|
|
13165
|
+
return /* @__PURE__ */ React145.createElement(
|
|
13150
13166
|
"svg",
|
|
13151
13167
|
{
|
|
13152
13168
|
width: "30",
|
|
@@ -13155,35 +13171,35 @@ var VisaCardIcon = () => {
|
|
|
13155
13171
|
fill: "none",
|
|
13156
13172
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13157
13173
|
},
|
|
13158
|
-
/* @__PURE__ */
|
|
13174
|
+
/* @__PURE__ */ React145.createElement(
|
|
13159
13175
|
"path",
|
|
13160
13176
|
{
|
|
13161
13177
|
d: "M 26.835 10.17 C 26.76 10.14 26.764 10.12 26.821 10.107 C 26.83 10.147 26.835 10.17 26.835 10.17 Z M 26.821 10.107 C 26.774 9.89 26.618 9.174 26.561 8.93 C 26.233 8.93 23.932 8.927 23.674 8.927 C 23.586 9.15 23.2 10.17 23.2 10.17 L 20.833 10.17 L 24.18 2.59 C 24.418 2.051 24.82 1.903 25.361 1.903 L 27.102 1.903 L 28.927 10.169 C 28.927 10.169 27.124 10.039 26.821 10.107 Z M 25.52 4.134 C 25.405 4.445 25.207 4.945 25.22 4.923 C 25.22 4.923 24.507 6.759 24.322 7.235 L 26.194 7.235 C 26.103 6.821 25.671 4.847 25.671 4.847 Z",
|
|
13162
13178
|
fill: "currentColor"
|
|
13163
13179
|
}
|
|
13164
13180
|
),
|
|
13165
|
-
/* @__PURE__ */
|
|
13181
|
+
/* @__PURE__ */ React145.createElement(
|
|
13166
13182
|
"path",
|
|
13167
13183
|
{
|
|
13168
13184
|
d: "M 1.22551 1.82339 L 1.19653 1.98919 C 3.91596 2.64774 5.71538 4.23847 6.46205 6.15037 L 5.70205 2.49528 C 5.57104 1.99151 5.19132 1.8413599999999999 4.72002 1.82339 L 1.22551 1.82339",
|
|
13169
13185
|
fill: "currentColor"
|
|
13170
13186
|
}
|
|
13171
13187
|
),
|
|
13172
|
-
/* @__PURE__ */
|
|
13188
|
+
/* @__PURE__ */ React145.createElement(
|
|
13173
13189
|
"path",
|
|
13174
13190
|
{
|
|
13175
13191
|
d: "M 5.45393 10.1597 L 7.83945 10.1579 L 11.389 1.9028100000000001 L 9.00062 1.9028100000000001 L 6.79307 7.54283 L 6.55771 6.69124 C 6.12234 5.66573 4.8864 4.1921 3.4353800000000003 3.2634 L 5.45393 10.1597",
|
|
13176
13192
|
fill: "currentColor"
|
|
13177
13193
|
}
|
|
13178
13194
|
),
|
|
13179
|
-
/* @__PURE__ */
|
|
13195
|
+
/* @__PURE__ */ React145.createElement(
|
|
13180
13196
|
"path",
|
|
13181
13197
|
{
|
|
13182
13198
|
d: "M 13.1444 10.1666 L 14.5548 1.89528 L 12.2998 1.89528 L 10.8905 10.1666 L 13.1444 10.1666",
|
|
13183
13199
|
fill: "currentColor"
|
|
13184
13200
|
}
|
|
13185
13201
|
),
|
|
13186
|
-
/* @__PURE__ */
|
|
13202
|
+
/* @__PURE__ */ React145.createElement(
|
|
13187
13203
|
"path",
|
|
13188
13204
|
{
|
|
13189
13205
|
d: "M 17.0667 10.2901 C 19.4372 10.2901 20.9752 9.1811 20.9925 7.46515 C 21.0007 6.52428 20.3995 5.80834 19.0992 5.21819 C 18.3108 4.83442 17.8285 4.57935 17.8331 4.1921 C 17.8331 3.84833 18.2424 3.48079 19.1247 3.48079 C 19.8627 3.4692 20.3966 3.63036 20.811700000000002 3.79731 L 21.0152 3.89297 L 21.3195 2.1005 C 20.8731 1.93296 20.1734 1.75325 19.3004 1.75325 C 17.0725 1.75325 15.5027 2.8749900000000004 15.4905 4.48253 C 15.4766 5.67036 16.6093 6.33356 17.465 6.7289200000000005 C 18.3427 7.13472 18.6372 7.39327 18.6331 7.75559 C 18.6267 8.30979 17.9328 8.56313 17.2853 8.56313 C 16.3827 8.56313 15.9033 8.43791 15.163 8.12892 L 14.8725 7.99733 L 14.5554 9.84835 C 15.083 10.0797 16.0563 10.2797 17.0667 10.2901",
|
|
@@ -13193,7 +13209,7 @@ var VisaCardIcon = () => {
|
|
|
13193
13209
|
);
|
|
13194
13210
|
};
|
|
13195
13211
|
var CombinedCreditCardOptionsIcon = () => {
|
|
13196
|
-
return /* @__PURE__ */
|
|
13212
|
+
return /* @__PURE__ */ React145.createElement(Box, { display: "flex", gap: "2", alignItems: "center" }, /* @__PURE__ */ React145.createElement(MasterCardIcon, null), /* @__PURE__ */ React145.createElement(VisaCardIcon, null));
|
|
13197
13213
|
};
|
|
13198
13214
|
|
|
13199
13215
|
// src/components/FunCheckoutModal/FunCheckoutConfirmationStep.tsx
|
|
@@ -13202,7 +13218,7 @@ import {
|
|
|
13202
13218
|
meshPreviewTransfer as meshPreviewTransfer2
|
|
13203
13219
|
} from "@funkit/api-base";
|
|
13204
13220
|
import { ERC20_ABI, isAddress as isAddress3, USDT_ABI } from "@funkit/core";
|
|
13205
|
-
import
|
|
13221
|
+
import React155, { useCallback as useCallback24, useMemo as useMemo29, useState as useState36 } from "react";
|
|
13206
13222
|
import { createPortal as createPortal5 } from "react-dom";
|
|
13207
13223
|
import { useAccount as useAccount9, useSendTransaction, useWriteContract } from "wagmi";
|
|
13208
13224
|
|
|
@@ -13226,7 +13242,7 @@ function isMainnetUsdt(chainId, address) {
|
|
|
13226
13242
|
|
|
13227
13243
|
// src/components/FunPayments/FunPaymentMethods.tsx
|
|
13228
13244
|
import { getAssetPriceInfo as getAssetPriceInfo3 } from "@funkit/api-base";
|
|
13229
|
-
import
|
|
13245
|
+
import React149, { useCallback as useCallback23, useMemo as useMemo26, useState as useState33 } from "react";
|
|
13230
13246
|
import { createPortal as createPortal4 } from "react-dom";
|
|
13231
13247
|
|
|
13232
13248
|
// src/hooks/useUsableWalletAssetsForCheckout.ts
|
|
@@ -13255,7 +13271,7 @@ function useUsableWalletAssetsForCheckout(checkoutId) {
|
|
|
13255
13271
|
}
|
|
13256
13272
|
|
|
13257
13273
|
// src/components/FunPaymentMethodItem/FunPaymentMethodItem.tsx
|
|
13258
|
-
import
|
|
13274
|
+
import React146 from "react";
|
|
13259
13275
|
function FunPaymentMethodItem({
|
|
13260
13276
|
keyIcon,
|
|
13261
13277
|
keyText,
|
|
@@ -13265,7 +13281,7 @@ function FunPaymentMethodItem({
|
|
|
13265
13281
|
isDisabled = false,
|
|
13266
13282
|
isActive = false
|
|
13267
13283
|
}) {
|
|
13268
|
-
const valueIconComponent = valueIcon ? /* @__PURE__ */
|
|
13284
|
+
const valueIconComponent = valueIcon ? /* @__PURE__ */ React146.createElement(
|
|
13269
13285
|
Box,
|
|
13270
13286
|
{
|
|
13271
13287
|
height: "max",
|
|
@@ -13276,7 +13292,7 @@ function FunPaymentMethodItem({
|
|
|
13276
13292
|
},
|
|
13277
13293
|
valueIcon
|
|
13278
13294
|
) : null;
|
|
13279
|
-
return /* @__PURE__ */
|
|
13295
|
+
return /* @__PURE__ */ React146.createElement(
|
|
13280
13296
|
FunOptionBox,
|
|
13281
13297
|
{
|
|
13282
13298
|
type: "bordered",
|
|
@@ -13284,7 +13300,7 @@ function FunPaymentMethodItem({
|
|
|
13284
13300
|
isDisabled,
|
|
13285
13301
|
onClick
|
|
13286
13302
|
},
|
|
13287
|
-
/* @__PURE__ */
|
|
13303
|
+
/* @__PURE__ */ React146.createElement(Box, { display: "flex", alignItems: "center", gap: "12" }, keyIcon ? /* @__PURE__ */ React146.createElement(
|
|
13288
13304
|
Box,
|
|
13289
13305
|
{
|
|
13290
13306
|
height: "max",
|
|
@@ -13293,15 +13309,15 @@ function FunPaymentMethodItem({
|
|
|
13293
13309
|
alignItems: "center"
|
|
13294
13310
|
},
|
|
13295
13311
|
keyIcon
|
|
13296
|
-
) : null, /* @__PURE__ */
|
|
13312
|
+
) : null, /* @__PURE__ */ React146.createElement(Box, { display: "flex", gap: "4", flexDirection: "column" }, /* @__PURE__ */ React146.createElement(Text, { color: "primaryText", weight: "medium", size: "12" }, keyText), disclaimerText ? /* @__PURE__ */ React146.createElement(Text, { size: "12", color: "secondaryText" }, disclaimerText) : null)),
|
|
13297
13313
|
valueIconComponent
|
|
13298
13314
|
);
|
|
13299
13315
|
}
|
|
13300
13316
|
|
|
13301
13317
|
// src/components/Icons/ClockIcon.tsx
|
|
13302
|
-
import
|
|
13318
|
+
import React147 from "react";
|
|
13303
13319
|
var ClockIcon = ({ color = "#A6DA11" }) => {
|
|
13304
|
-
return /* @__PURE__ */
|
|
13320
|
+
return /* @__PURE__ */ React147.createElement(
|
|
13305
13321
|
"svg",
|
|
13306
13322
|
{
|
|
13307
13323
|
width: "20",
|
|
@@ -13310,7 +13326,7 @@ var ClockIcon = ({ color = "#A6DA11" }) => {
|
|
|
13310
13326
|
fill: "none",
|
|
13311
13327
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13312
13328
|
},
|
|
13313
|
-
/* @__PURE__ */
|
|
13329
|
+
/* @__PURE__ */ React147.createElement(
|
|
13314
13330
|
"path",
|
|
13315
13331
|
{
|
|
13316
13332
|
d: "M10 6.61111V10.5L8.05556 11.6667M17 10.5C17 14.366 13.866 17.5 10 17.5C6.13401 17.5 3 14.366 3 10.5C3 6.63401 6.13401 3.5 10 3.5C13.866 3.5 17 6.63401 17 10.5Z",
|
|
@@ -13324,9 +13340,9 @@ var ClockIcon = ({ color = "#A6DA11" }) => {
|
|
|
13324
13340
|
};
|
|
13325
13341
|
|
|
13326
13342
|
// src/components/Icons/LightningIcon.tsx
|
|
13327
|
-
import
|
|
13343
|
+
import React148 from "react";
|
|
13328
13344
|
var LightningIcon = ({ color }) => {
|
|
13329
|
-
return /* @__PURE__ */
|
|
13345
|
+
return /* @__PURE__ */ React148.createElement(
|
|
13330
13346
|
"svg",
|
|
13331
13347
|
{
|
|
13332
13348
|
width: "20",
|
|
@@ -13335,14 +13351,14 @@ var LightningIcon = ({ color }) => {
|
|
|
13335
13351
|
fill: "none",
|
|
13336
13352
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13337
13353
|
},
|
|
13338
|
-
/* @__PURE__ */
|
|
13354
|
+
/* @__PURE__ */ React148.createElement(
|
|
13339
13355
|
"path",
|
|
13340
13356
|
{
|
|
13341
13357
|
d: "M7.96321 11.1031L7.86338 11.094C6.59021 10.9783 5.95362 10.9204 5.7514 10.4849C5.54919 10.0494 5.91576 9.52573 6.6489 8.47839L9.63451 4.21326C10.1188 3.52137 10.361 3.17542 10.5698 3.24898C10.7787 3.32254 10.7506 3.74389 10.6944 4.58658L10.5251 7.12701C10.4739 7.89384 10.4484 8.27726 10.6688 8.53531C10.8891 8.79331 11.2718 8.82814 12.0372 8.89773L12.137 8.90681C13.4102 9.02248 14.0468 9.08039 14.2489 9.51589C14.4512 9.95139 14.0846 10.4751 13.3514 11.5224L10.3658 15.7876C9.88151 16.4794 9.63935 16.8254 9.43051 16.7518C9.22168 16.6782 9.24976 16.2569 9.30593 15.4142L9.47526 12.8738C9.52643 12.107 9.55193 11.7236 9.3316 11.4655C9.11126 11.2075 8.7286 11.1726 7.96321 11.1031Z",
|
|
13342
13358
|
fill: color
|
|
13343
13359
|
}
|
|
13344
13360
|
),
|
|
13345
|
-
/* @__PURE__ */
|
|
13361
|
+
/* @__PURE__ */ React148.createElement(
|
|
13346
13362
|
"path",
|
|
13347
13363
|
{
|
|
13348
13364
|
d: "M15.417 3.33398L14.167 5.00065H15.8337L14.5837 6.66732",
|
|
@@ -13353,7 +13369,7 @@ var LightningIcon = ({ color }) => {
|
|
|
13353
13369
|
strokeLinejoin: "round"
|
|
13354
13370
|
}
|
|
13355
13371
|
),
|
|
13356
|
-
/* @__PURE__ */
|
|
13372
|
+
/* @__PURE__ */ React148.createElement(
|
|
13357
13373
|
"path",
|
|
13358
13374
|
{
|
|
13359
13375
|
d: "M5.41699 13.334L4.16699 15.0007H5.83366L4.58366 16.6673",
|
|
@@ -13378,7 +13394,7 @@ var PAYMENT_METHOD_CONFIG = {
|
|
|
13378
13394
|
}
|
|
13379
13395
|
return flags.getBool("payment_method_copy_v1" /* PaymentMethodCopyV1 */, false) ? `Wallet${walletSuffix}` : `${textCustomizations.accountBalance}${walletSuffix}`;
|
|
13380
13396
|
},
|
|
13381
|
-
timeIconDynamic: (color) => /* @__PURE__ */
|
|
13397
|
+
timeIconDynamic: (color) => /* @__PURE__ */ React149.createElement(LightningIcon, { color }),
|
|
13382
13398
|
timeRange: "Instant",
|
|
13383
13399
|
conditionalIcon: null,
|
|
13384
13400
|
isEnabledForOnramp: false,
|
|
@@ -13394,8 +13410,8 @@ var PAYMENT_METHOD_CONFIG = {
|
|
|
13394
13410
|
}
|
|
13395
13411
|
return flags.getBool("payment_method_copy_v1" /* PaymentMethodCopyV1 */, false) ? "Card" : textCustomizations.debitOrCredit;
|
|
13396
13412
|
},
|
|
13397
|
-
timeIconDynamic: (color) => /* @__PURE__ */
|
|
13398
|
-
conditionalIcon: /* @__PURE__ */
|
|
13413
|
+
timeIconDynamic: (color) => /* @__PURE__ */ React149.createElement(ClockIcon, { color }),
|
|
13414
|
+
conditionalIcon: /* @__PURE__ */ React149.createElement(CombinedCreditCardOptionsIcon, null),
|
|
13399
13415
|
isEnabledForOnramp: true,
|
|
13400
13416
|
// TODO: Deprecate
|
|
13401
13417
|
isEnabledForCheckout: true,
|
|
@@ -13409,8 +13425,8 @@ var PAYMENT_METHOD_CONFIG = {
|
|
|
13409
13425
|
}
|
|
13410
13426
|
return flags.getBool("payment_method_copy_v1" /* PaymentMethodCopyV1 */, false) ? "Exchange" : textCustomizations.brokerageOrExchange;
|
|
13411
13427
|
},
|
|
13412
|
-
timeIconDynamic: (color) => /* @__PURE__ */
|
|
13413
|
-
conditionalIcon: /* @__PURE__ */
|
|
13428
|
+
timeIconDynamic: (color) => /* @__PURE__ */ React149.createElement(ClockIcon, { color }),
|
|
13429
|
+
conditionalIcon: /* @__PURE__ */ React149.createElement(Box, { display: "flex", gap: "2", alignItems: "center" }, /* @__PURE__ */ React149.createElement(CoinbaseIcon, { size: 12 }), /* @__PURE__ */ React149.createElement(BinanceIcon, { size: 12 }), /* @__PURE__ */ React149.createElement(RobinhoodIcon, { size: 12 })),
|
|
13414
13430
|
isEnabledForOnramp: true,
|
|
13415
13431
|
// TODO: Deprecate
|
|
13416
13432
|
isEnabledForCheckout: true,
|
|
@@ -13419,7 +13435,7 @@ var PAYMENT_METHOD_CONFIG = {
|
|
|
13419
13435
|
["transfer" /* TRANSFER */]: {
|
|
13420
13436
|
label: DEFAULT_TEXT_CUSTOMIZATIONS.transferCrypto,
|
|
13421
13437
|
labelDynamic: (textCustomizations) => textCustomizations.transferCrypto,
|
|
13422
|
-
timeIconDynamic: (color) => /* @__PURE__ */
|
|
13438
|
+
timeIconDynamic: (color) => /* @__PURE__ */ React149.createElement(ClockIcon, { color }),
|
|
13423
13439
|
conditionalIcon: null,
|
|
13424
13440
|
isEnabledForOnramp: true,
|
|
13425
13441
|
// TODO: Deprecate
|
|
@@ -13452,7 +13468,7 @@ function AddPaymentMethodItem({
|
|
|
13452
13468
|
userInfo
|
|
13453
13469
|
});
|
|
13454
13470
|
if (!PAYMENT_METHOD_CONFIG?.[paymentMethod]) {
|
|
13455
|
-
return /* @__PURE__ */
|
|
13471
|
+
return /* @__PURE__ */ React149.createElement(React149.Fragment, null);
|
|
13456
13472
|
}
|
|
13457
13473
|
const getDynamicValueIconComponent = () => {
|
|
13458
13474
|
if (paymentMethod !== "balance" /* ACCOUNT_BALANCE */ || !checkoutItem || !usableWalletAssets) {
|
|
@@ -13461,16 +13477,16 @@ function AddPaymentMethodItem({
|
|
|
13461
13477
|
const uniqueChainIds = Array.from(
|
|
13462
13478
|
new Set(Object.values(usableWalletAssets).map((asset) => asset.chainId))
|
|
13463
13479
|
);
|
|
13464
|
-
return /* @__PURE__ */
|
|
13480
|
+
return /* @__PURE__ */ React149.createElement(Box, { display: "flex", alignItems: "center", justifyContent: "flex-end" }, uniqueChainIds.map((chainId, index) => {
|
|
13465
13481
|
const metadata = chainMetadataById[chainId];
|
|
13466
|
-
return /* @__PURE__ */
|
|
13482
|
+
return /* @__PURE__ */ React149.createElement(
|
|
13467
13483
|
Box,
|
|
13468
13484
|
{
|
|
13469
13485
|
key: metadata.name,
|
|
13470
13486
|
position: "relative",
|
|
13471
13487
|
style: { right: `${(uniqueChainIds.length - index - 1) * -2}px` }
|
|
13472
13488
|
},
|
|
13473
|
-
/* @__PURE__ */
|
|
13489
|
+
/* @__PURE__ */ React149.createElement(
|
|
13474
13490
|
AsyncImage,
|
|
13475
13491
|
{
|
|
13476
13492
|
alt: metadata.name,
|
|
@@ -13483,11 +13499,11 @@ function AddPaymentMethodItem({
|
|
|
13483
13499
|
);
|
|
13484
13500
|
}));
|
|
13485
13501
|
};
|
|
13486
|
-
return /* @__PURE__ */
|
|
13502
|
+
return /* @__PURE__ */ React149.createElement(
|
|
13487
13503
|
FunPaymentMethodItem,
|
|
13488
13504
|
{
|
|
13489
13505
|
isActive,
|
|
13490
|
-
keyIcon: isWalletBalanceAndAssetStillLoading ? /* @__PURE__ */
|
|
13506
|
+
keyIcon: isWalletBalanceAndAssetStillLoading ? /* @__PURE__ */ React149.createElement(SpinnerIcon, { width: 24, height: 24 }) : /* @__PURE__ */ React149.createElement(
|
|
13491
13507
|
Box,
|
|
13492
13508
|
{
|
|
13493
13509
|
display: "flex",
|
|
@@ -13510,10 +13526,10 @@ function ExistingPaymentMethodItem({
|
|
|
13510
13526
|
paymentMethodInfo
|
|
13511
13527
|
}) {
|
|
13512
13528
|
if (!PAYMENT_METHOD_CONFIG[paymentMethodInfo.paymentMethod]) {
|
|
13513
|
-
return /* @__PURE__ */
|
|
13529
|
+
return /* @__PURE__ */ React149.createElement(React149.Fragment, null);
|
|
13514
13530
|
}
|
|
13515
13531
|
const { text, icon } = getPaymentMethodItemTextAndIcon(paymentMethodInfo);
|
|
13516
|
-
return /* @__PURE__ */
|
|
13532
|
+
return /* @__PURE__ */ React149.createElement(
|
|
13517
13533
|
FunKeyValue,
|
|
13518
13534
|
{
|
|
13519
13535
|
keyText: "Source",
|
|
@@ -13534,9 +13550,9 @@ function ExistingPaymentMethodItem({
|
|
|
13534
13550
|
}
|
|
13535
13551
|
var getPaymentMethodItemTextAndIcon = (methodInfo) => {
|
|
13536
13552
|
if (methodInfo.paymentMethod === "card" /* CARD */) {
|
|
13537
|
-
return { text: "
|
|
13553
|
+
return { text: "", icon: /* @__PURE__ */ React149.createElement(CombinedCreditCardOptionsIcon, null) };
|
|
13538
13554
|
}
|
|
13539
|
-
const icon = /* @__PURE__ */
|
|
13555
|
+
const icon = /* @__PURE__ */ React149.createElement(Box, { display: "flex", alignItems: "center", justifyContent: "center" }, methodInfo.titleIcon);
|
|
13540
13556
|
if (methodInfo.paymentMethod === "balance" /* ACCOUNT_BALANCE */) {
|
|
13541
13557
|
const address = formatAddressLastFour(methodInfo.description);
|
|
13542
13558
|
return { text: `Wallet (${address})`, icon };
|
|
@@ -13639,9 +13655,9 @@ function FunPaymentMethods({
|
|
|
13639
13655
|
const hasQuoteError = messageType === "error";
|
|
13640
13656
|
const isWalletEmpty = totalUsableWalletAssetsUsd === 0;
|
|
13641
13657
|
return {
|
|
13642
|
-
isUpdateNeeded: !isContinuable
|
|
13658
|
+
isUpdateNeeded: !isContinuable,
|
|
13643
13659
|
isUpdatePossible: "balance" /* ACCOUNT_BALANCE */ !== selectedOption || !isWalletEmpty,
|
|
13644
|
-
showNotification:
|
|
13660
|
+
showNotification: Boolean(hasQuoteError || continueErrorText),
|
|
13645
13661
|
notificationText: continueErrorText || quoteMessage,
|
|
13646
13662
|
notificationType: hasQuoteError ? "error" : !isContinuable ? "warning" : "default"
|
|
13647
13663
|
};
|
|
@@ -13687,7 +13703,7 @@ function FunPaymentMethods({
|
|
|
13687
13703
|
const bottomSectionRef = document.getElementById(CHECKOUT_MODAL_BOTTOM_BAR_ID);
|
|
13688
13704
|
function paymentMethodList() {
|
|
13689
13705
|
const expressOption = enabledPaymentMethods.includes("balance" /* ACCOUNT_BALANCE */) && hasSufficientBalance2 ? "balance" /* ACCOUNT_BALANCE */ : "card" /* CARD */;
|
|
13690
|
-
return /* @__PURE__ */
|
|
13706
|
+
return /* @__PURE__ */ React149.createElement(React149.Fragment, null, /* @__PURE__ */ React149.createElement(Text, { size: "13", weight: "medium", color: "secondaryText" }, "Express checkout"), /* @__PURE__ */ React149.createElement(
|
|
13691
13707
|
AddPaymentMethodItem,
|
|
13692
13708
|
{
|
|
13693
13709
|
key: expressOption,
|
|
@@ -13700,8 +13716,8 @@ function FunPaymentMethods({
|
|
|
13700
13716
|
formatCurrencyAndStringify(totalUsableWalletAssetsUsd)
|
|
13701
13717
|
)
|
|
13702
13718
|
}
|
|
13703
|
-
), /* @__PURE__ */
|
|
13704
|
-
return /* @__PURE__ */
|
|
13719
|
+
), /* @__PURE__ */ React149.createElement(Text, { size: "13", weight: "medium", color: "secondaryText" }, "More options"), enabledPaymentMethods.filter((pm) => pm !== expressOption).map((paymentMethod) => {
|
|
13720
|
+
return /* @__PURE__ */ React149.createElement(
|
|
13705
13721
|
AddPaymentMethodItem,
|
|
13706
13722
|
{
|
|
13707
13723
|
key: paymentMethod,
|
|
@@ -13717,7 +13733,7 @@ function FunPaymentMethods({
|
|
|
13717
13733
|
);
|
|
13718
13734
|
}));
|
|
13719
13735
|
}
|
|
13720
|
-
return /* @__PURE__ */
|
|
13736
|
+
return /* @__PURE__ */ React149.createElement(Box, null, /* @__PURE__ */ React149.createElement(Box, { display: "flex", flexDirection: "column", gap: "18" }, primaryInfo, /* @__PURE__ */ React149.createElement(
|
|
13721
13737
|
Box,
|
|
13722
13738
|
{
|
|
13723
13739
|
id: "add-methods",
|
|
@@ -13728,12 +13744,12 @@ function FunPaymentMethods({
|
|
|
13728
13744
|
cursor: isDisabled ? "not-allowed" : void 0
|
|
13729
13745
|
}
|
|
13730
13746
|
},
|
|
13731
|
-
/* @__PURE__ */
|
|
13747
|
+
/* @__PURE__ */ React149.createElement(Box, { id: "method-list", display: "flex", flexDirection: "column", gap: "12" }, paymentMethodList())
|
|
13732
13748
|
)), bottomSectionRef && createPortal4(
|
|
13733
|
-
/* @__PURE__ */
|
|
13749
|
+
/* @__PURE__ */ React149.createElement(
|
|
13734
13750
|
Dialog.BottomBar,
|
|
13735
13751
|
{
|
|
13736
|
-
topSection: /* @__PURE__ */
|
|
13752
|
+
topSection: /* @__PURE__ */ React149.createElement(
|
|
13737
13753
|
FunNotification,
|
|
13738
13754
|
{
|
|
13739
13755
|
isVisible: notificationConfig.showNotification,
|
|
@@ -13742,7 +13758,7 @@ function FunPaymentMethods({
|
|
|
13742
13758
|
}
|
|
13743
13759
|
),
|
|
13744
13760
|
actionButtonProps: {
|
|
13745
|
-
title: messageType === "step" ? quoteMessage : notificationConfig.isUpdateNeeded ? "Update Order" : "Continue",
|
|
13761
|
+
title: messageType === "step" ? quoteMessage : notificationConfig.isUpdateNeeded && notificationConfig.isUpdatePossible ? "Update Order" : "Continue",
|
|
13746
13762
|
isDisabled: !canContinue || !notificationConfig.isUpdatePossible,
|
|
13747
13763
|
onClick: notificationConfig.isUpdateNeeded ? updateTargetAssetAmountForCardOrBalance : onClickContinue,
|
|
13748
13764
|
isLoading
|
|
@@ -13754,12 +13770,12 @@ function FunPaymentMethods({
|
|
|
13754
13770
|
}
|
|
13755
13771
|
|
|
13756
13772
|
// src/components/FunTransactionSummary/FunTransactionSummary.tsx
|
|
13757
|
-
import
|
|
13773
|
+
import React152, { useMemo as useMemo27, useState as useState34 } from "react";
|
|
13758
13774
|
|
|
13759
13775
|
// src/components/Icons/CaretDownIcon.tsx
|
|
13760
|
-
import
|
|
13776
|
+
import React150 from "react";
|
|
13761
13777
|
var CaretDownIcon = () => {
|
|
13762
|
-
return /* @__PURE__ */
|
|
13778
|
+
return /* @__PURE__ */ React150.createElement(
|
|
13763
13779
|
"svg",
|
|
13764
13780
|
{
|
|
13765
13781
|
width: "8",
|
|
@@ -13768,7 +13784,7 @@ var CaretDownIcon = () => {
|
|
|
13768
13784
|
fill: "none",
|
|
13769
13785
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13770
13786
|
},
|
|
13771
|
-
/* @__PURE__ */
|
|
13787
|
+
/* @__PURE__ */ React150.createElement(
|
|
13772
13788
|
"path",
|
|
13773
13789
|
{
|
|
13774
13790
|
d: "M3.45163 2.92973L0.879121 0.393174C0.654314 0.188182 0.317464 0.217886 0.126753 0.459527C-0.0639587 0.701168 -0.036324 1.06324 0.188483 1.26824L3.60944 4.64138C3.65478 4.68988 3.70789 4.72919 3.76623 4.7574C3.83874 4.79249 3.91764 4.80968 3.99714 4.80771C4.07647 4.80576 4.15489 4.78486 4.22578 4.74655C4.23264 4.74283 4.23943 4.73894 4.24614 4.7349C4.28505 4.71152 4.32107 4.68295 4.35332 4.64987L7.82907 1.18704C8.04528 0.97163 8.0581 0.608604 7.8577 0.376205C7.6573 0.143806 7.31956 0.130027 7.10335 0.345432L4.51922 2.91996C4.51922 2.94623 4 3.43025 4 3.43025L3.45163 2.92973Z",
|
|
@@ -13779,9 +13795,9 @@ var CaretDownIcon = () => {
|
|
|
13779
13795
|
};
|
|
13780
13796
|
|
|
13781
13797
|
// src/components/FunTransactionSummary/FunTxSummaryComponents.tsx
|
|
13782
|
-
import
|
|
13798
|
+
import React151 from "react";
|
|
13783
13799
|
function FunTxSummaryBox2({ children }) {
|
|
13784
|
-
return /* @__PURE__ */
|
|
13800
|
+
return /* @__PURE__ */ React151.createElement(
|
|
13785
13801
|
Box,
|
|
13786
13802
|
{
|
|
13787
13803
|
background: "modalBackground",
|
|
@@ -13801,7 +13817,7 @@ function FunTxSummaryBox2({ children }) {
|
|
|
13801
13817
|
);
|
|
13802
13818
|
}
|
|
13803
13819
|
function FunTxSummaryLineItem2({ children, ...otherProps }) {
|
|
13804
|
-
return /* @__PURE__ */
|
|
13820
|
+
return /* @__PURE__ */ React151.createElement(
|
|
13805
13821
|
Box,
|
|
13806
13822
|
{
|
|
13807
13823
|
display: "flex",
|
|
@@ -13821,7 +13837,7 @@ function FunTxSummaryLineItemCollapsibleTrigger({
|
|
|
13821
13837
|
isDisabled,
|
|
13822
13838
|
onClick
|
|
13823
13839
|
}) {
|
|
13824
|
-
return /* @__PURE__ */
|
|
13840
|
+
return /* @__PURE__ */ React151.createElement(
|
|
13825
13841
|
FunTxSummaryLineItem2,
|
|
13826
13842
|
{
|
|
13827
13843
|
onClick: isDisabled ? () => void 0 : () => onClick(),
|
|
@@ -13836,7 +13852,7 @@ function FunTxSummaryCollapsibleBox2({
|
|
|
13836
13852
|
isExpanded,
|
|
13837
13853
|
children
|
|
13838
13854
|
}) {
|
|
13839
|
-
return /* @__PURE__ */
|
|
13855
|
+
return /* @__PURE__ */ React151.createElement(
|
|
13840
13856
|
Box,
|
|
13841
13857
|
{
|
|
13842
13858
|
className: isExpanded ? "fun-container-content-expanded" : "fun-container-content-collapsed"
|
|
@@ -13845,7 +13861,7 @@ function FunTxSummaryCollapsibleBox2({
|
|
|
13845
13861
|
);
|
|
13846
13862
|
}
|
|
13847
13863
|
function FunTxSummaryLineItemKeyText2({ text }) {
|
|
13848
|
-
return /* @__PURE__ */
|
|
13864
|
+
return /* @__PURE__ */ React151.createElement(
|
|
13849
13865
|
Text,
|
|
13850
13866
|
{
|
|
13851
13867
|
weight: "medium",
|
|
@@ -13857,7 +13873,7 @@ function FunTxSummaryLineItemKeyText2({ text }) {
|
|
|
13857
13873
|
);
|
|
13858
13874
|
}
|
|
13859
13875
|
function FunTxSummaryDivider() {
|
|
13860
|
-
return /* @__PURE__ */
|
|
13876
|
+
return /* @__PURE__ */ React151.createElement(Box, { width: "full" }, /* @__PURE__ */ React151.createElement(FunDivider, null));
|
|
13861
13877
|
}
|
|
13862
13878
|
|
|
13863
13879
|
// src/components/FunTransactionSummary/FunTransactionSummary.tsx
|
|
@@ -13870,21 +13886,21 @@ function FeesLineItem({
|
|
|
13870
13886
|
const [isExpanded, setIsExpanded] = useState34(false);
|
|
13871
13887
|
const toggle = () => setIsExpanded(!isExpanded);
|
|
13872
13888
|
const hasPlatformFees = feesItem?.platformFeesUsd && Number(feesItem.platformFeesUsd) > 0;
|
|
13873
|
-
return /* @__PURE__ */
|
|
13889
|
+
return /* @__PURE__ */ React152.createElement(Box, { width: "full" }, /* @__PURE__ */ React152.createElement(
|
|
13874
13890
|
FunTxSummaryLineItemCollapsibleTrigger,
|
|
13875
13891
|
{
|
|
13876
13892
|
isDisabled: isLoading || !hasPlatformFees,
|
|
13877
13893
|
onClick: toggle
|
|
13878
13894
|
},
|
|
13879
|
-
/* @__PURE__ */
|
|
13895
|
+
/* @__PURE__ */ React152.createElement(
|
|
13880
13896
|
FunTxSummaryLineItemKeyText2,
|
|
13881
13897
|
{
|
|
13882
13898
|
text: hasPlatformFees ? "Estimated fee" : NETWORK_FEE_TITLE
|
|
13883
13899
|
}
|
|
13884
13900
|
),
|
|
13885
|
-
isLoading ? /* @__PURE__ */
|
|
13901
|
+
isLoading ? /* @__PURE__ */ React152.createElement(Box, { alignItems: "center", display: "flex", gap: "8" }, /* @__PURE__ */ React152.createElement(FunSkeletonCircle, { size: "15" }), /* @__PURE__ */ React152.createElement(FunSkeletonBlock, { height: "10", width: "54" })) : isNotNullish(feesItem?.totalUsd) ? /* @__PURE__ */ React152.createElement(Box, { display: "flex", gap: "5", alignItems: "center" }, /* @__PURE__ */ React152.createElement(Text, { weight: "medium", color: "primaryText", size: "12" }, formatCurrencyAndStringify(
|
|
13886
13902
|
parseFloat(feesItem.totalUsd.toString())
|
|
13887
|
-
)), hasPlatformFees ? /* @__PURE__ */
|
|
13903
|
+
)), hasPlatformFees ? /* @__PURE__ */ React152.createElement(
|
|
13888
13904
|
Box,
|
|
13889
13905
|
{
|
|
13890
13906
|
color: "secondaryText",
|
|
@@ -13897,22 +13913,22 @@ function FeesLineItem({
|
|
|
13897
13913
|
transform: `rotate(${isExpanded ? "0deg" : "-90deg"})`
|
|
13898
13914
|
}
|
|
13899
13915
|
},
|
|
13900
|
-
/* @__PURE__ */
|
|
13916
|
+
/* @__PURE__ */ React152.createElement(CaretDownIcon, null)
|
|
13901
13917
|
) : null) : null
|
|
13902
|
-
), /* @__PURE__ */
|
|
13918
|
+
), /* @__PURE__ */ React152.createElement(FunTxSummaryCollapsibleBox2, { isExpanded }, /* @__PURE__ */ React152.createElement(FunTxSummaryLineItem2, null, /* @__PURE__ */ React152.createElement(FunTxSummaryLineItemKeyText2, { text: NETWORK_FEE_TITLE }), isLoading ? /* @__PURE__ */ React152.createElement(Box, { alignItems: "center", display: "flex", gap: "8" }, /* @__PURE__ */ React152.createElement(FunSkeletonCircle, { size: "15" }), /* @__PURE__ */ React152.createElement(FunSkeletonBlock, { height: "10", width: "40" })) : isNotNullish(feesItem?.transactionFeesUsd) ? /* @__PURE__ */ React152.createElement(Box, { display: "flex", justifyContent: "flex-end" }, isNotNullish(feesItem.transactionFeesTokenAmount) && isNotNullish(feesItem.transactionFeesTokenSymbol) ? /* @__PURE__ */ React152.createElement(Text, { weight: "medium", color: "tertiaryText", size: "12" }, "(", formatCryptoAndStringify(
|
|
13903
13919
|
parseFloat(feesItem.transactionFeesTokenAmount.toString()),
|
|
13904
13920
|
feesItem.transactionFeesTokenSymbol
|
|
13905
|
-
), ")\xA0") : null, /* @__PURE__ */
|
|
13921
|
+
), ")\xA0") : null, /* @__PURE__ */ React152.createElement(Text, { weight: "medium", color: "primaryText", size: "12" }, formatCurrencyAndStringify(
|
|
13906
13922
|
parseFloat(feesItem.transactionFeesUsd.toString())
|
|
13907
|
-
))) : null), /* @__PURE__ */
|
|
13923
|
+
))) : null), /* @__PURE__ */ React152.createElement(FunTxSummaryLineItem2, null, /* @__PURE__ */ React152.createElement(
|
|
13908
13924
|
FunTxSummaryLineItemKeyText2,
|
|
13909
13925
|
{
|
|
13910
13926
|
text: paymentMethod === "card" /* CARD */ ? "Card processing fee" : paymentMethod === "brokerage" /* BROKERAGE */ ? "Transaction fee" : "Platform fee"
|
|
13911
13927
|
}
|
|
13912
|
-
), isLoading ? /* @__PURE__ */
|
|
13928
|
+
), isLoading ? /* @__PURE__ */ React152.createElement(Box, { alignItems: "center", display: "flex", gap: "8" }, /* @__PURE__ */ React152.createElement(FunSkeletonCircle, { size: "15" }), /* @__PURE__ */ React152.createElement(FunSkeletonBlock, { height: "10", width: "40" })) : isNotNullish(feesItem?.platformFeesUsd) ? /* @__PURE__ */ React152.createElement(Box, { display: "flex", justifyContent: "flex-end" }, isNotNullish(feesItem.platformFeesTokenAmount) && isNotNullish(feesItem.platformFeesTokenSymbol) ? /* @__PURE__ */ React152.createElement(Text, { weight: "medium", color: "tertiaryText", size: "12" }, "(", formatCryptoAndStringify(
|
|
13913
13929
|
parseFloat(feesItem.platformFeesTokenAmount.toString()),
|
|
13914
13930
|
feesItem.platformFeesTokenSymbol
|
|
13915
|
-
), ")\xA0") : null, /* @__PURE__ */
|
|
13931
|
+
), ")\xA0") : null, /* @__PURE__ */ React152.createElement(Text, { weight: "medium", color: "primaryText", size: "12" }, formatCurrencyAndStringify(
|
|
13916
13932
|
parseFloat(feesItem.platformFeesUsd.toString())
|
|
13917
13933
|
))) : null)));
|
|
13918
13934
|
}
|
|
@@ -13926,19 +13942,19 @@ function PaymentRouteLineItem({
|
|
|
13926
13942
|
const isSameChain = destinationChainId === sourceChainId;
|
|
13927
13943
|
const [isExpanded, setIsExpanded] = useState34(false);
|
|
13928
13944
|
const toggle = () => setIsExpanded(!isExpanded);
|
|
13929
|
-
return /* @__PURE__ */
|
|
13945
|
+
return /* @__PURE__ */ React152.createElement(Box, { width: "full" }, /* @__PURE__ */ React152.createElement(
|
|
13930
13946
|
FunTxSummaryLineItemCollapsibleTrigger,
|
|
13931
13947
|
{
|
|
13932
13948
|
isDisabled: isSameChain || isLoading,
|
|
13933
13949
|
onClick: toggle
|
|
13934
13950
|
},
|
|
13935
|
-
/* @__PURE__ */
|
|
13951
|
+
/* @__PURE__ */ React152.createElement(
|
|
13936
13952
|
FunTxSummaryLineItemKeyText2,
|
|
13937
13953
|
{
|
|
13938
13954
|
text: `Payment ${isSameChain ? "token" : "route"}`
|
|
13939
13955
|
}
|
|
13940
13956
|
),
|
|
13941
|
-
isLoading ? /* @__PURE__ */
|
|
13957
|
+
isLoading ? /* @__PURE__ */ React152.createElement(Box, { alignItems: "center", display: "flex", gap: "8" }, /* @__PURE__ */ React152.createElement(FunSkeletonCircle, { size: "15" }), /* @__PURE__ */ React152.createElement(FunSkeletonBlock, { height: "10", width: "93" })) : /* @__PURE__ */ React152.createElement(
|
|
13942
13958
|
Box,
|
|
13943
13959
|
{
|
|
13944
13960
|
display: "flex",
|
|
@@ -13946,7 +13962,7 @@ function PaymentRouteLineItem({
|
|
|
13946
13962
|
justifyContent: "flex-end",
|
|
13947
13963
|
gap: "5"
|
|
13948
13964
|
},
|
|
13949
|
-
symbol && /* @__PURE__ */
|
|
13965
|
+
symbol && /* @__PURE__ */ React152.createElement(Box, { display: "flex", alignItems: "center" }, /* @__PURE__ */ React152.createElement(
|
|
13950
13966
|
FunAssetAvatar,
|
|
13951
13967
|
{
|
|
13952
13968
|
assetIconSize: "14",
|
|
@@ -13955,7 +13971,7 @@ function PaymentRouteLineItem({
|
|
|
13955
13971
|
hideIfUnknown: true
|
|
13956
13972
|
}
|
|
13957
13973
|
)),
|
|
13958
|
-
/* @__PURE__ */
|
|
13974
|
+
/* @__PURE__ */ React152.createElement(
|
|
13959
13975
|
Text,
|
|
13960
13976
|
{
|
|
13961
13977
|
weight: "medium",
|
|
@@ -13965,7 +13981,7 @@ function PaymentRouteLineItem({
|
|
|
13965
13981
|
},
|
|
13966
13982
|
paymentTokenString
|
|
13967
13983
|
),
|
|
13968
|
-
!isSameChain && /* @__PURE__ */
|
|
13984
|
+
!isSameChain && /* @__PURE__ */ React152.createElement(
|
|
13969
13985
|
Box,
|
|
13970
13986
|
{
|
|
13971
13987
|
color: "secondaryText",
|
|
@@ -13978,10 +13994,10 @@ function PaymentRouteLineItem({
|
|
|
13978
13994
|
transform: `rotate(${isExpanded ? "0deg" : "-90deg"})`
|
|
13979
13995
|
}
|
|
13980
13996
|
},
|
|
13981
|
-
/* @__PURE__ */
|
|
13997
|
+
/* @__PURE__ */ React152.createElement(CaretDownIcon, null)
|
|
13982
13998
|
)
|
|
13983
13999
|
)
|
|
13984
|
-
), !isSameChain && /* @__PURE__ */
|
|
14000
|
+
), !isSameChain && /* @__PURE__ */ React152.createElement(FunTxSummaryCollapsibleBox2, { isExpanded }, /* @__PURE__ */ React152.createElement(FunTxSummaryLineItem2, null, /* @__PURE__ */ React152.createElement(FunTxSummaryLineItemKeyText2, { text: "Source chain" }), isLoading ? /* @__PURE__ */ React152.createElement(FunSkeletonBlock, { height: "10", width: "54" }) : /* @__PURE__ */ React152.createElement(
|
|
13985
14001
|
Box,
|
|
13986
14002
|
{
|
|
13987
14003
|
display: "flex",
|
|
@@ -13991,7 +14007,7 @@ function PaymentRouteLineItem({
|
|
|
13991
14007
|
color: "primaryText",
|
|
13992
14008
|
fontSize: "12"
|
|
13993
14009
|
},
|
|
13994
|
-
/* @__PURE__ */
|
|
14010
|
+
/* @__PURE__ */ React152.createElement(
|
|
13995
14011
|
ChainLineItem,
|
|
13996
14012
|
{
|
|
13997
14013
|
chainId: Number(sourceChainId),
|
|
@@ -13999,7 +14015,7 @@ function PaymentRouteLineItem({
|
|
|
13999
14015
|
gap: "5"
|
|
14000
14016
|
}
|
|
14001
14017
|
)
|
|
14002
|
-
)), /* @__PURE__ */
|
|
14018
|
+
)), /* @__PURE__ */ React152.createElement(FunTxSummaryLineItem2, null, /* @__PURE__ */ React152.createElement(FunTxSummaryLineItemKeyText2, { text: "Destination chain" }), isLoading ? /* @__PURE__ */ React152.createElement(FunSkeletonBlock, { height: "10", width: "54" }) : /* @__PURE__ */ React152.createElement(
|
|
14003
14019
|
Box,
|
|
14004
14020
|
{
|
|
14005
14021
|
display: "flex",
|
|
@@ -14009,7 +14025,7 @@ function PaymentRouteLineItem({
|
|
|
14009
14025
|
color: "primaryText",
|
|
14010
14026
|
fontSize: "12"
|
|
14011
14027
|
},
|
|
14012
|
-
/* @__PURE__ */
|
|
14028
|
+
/* @__PURE__ */ React152.createElement(
|
|
14013
14029
|
ChainLineItem,
|
|
14014
14030
|
{
|
|
14015
14031
|
chainId: Number(destinationChainId),
|
|
@@ -14051,7 +14067,7 @@ function FunTransactionSummary({
|
|
|
14051
14067
|
const symbol = checkoutItem?.selectedSourceAssetInfo.symbol || "";
|
|
14052
14068
|
const sourceChainId = checkoutItem?.selectedSourceAssetInfo.chainId || "";
|
|
14053
14069
|
const destinationChainId = checkoutItem?.initSettings.config.targetChain || "";
|
|
14054
|
-
return /* @__PURE__ */
|
|
14070
|
+
return /* @__PURE__ */ React152.createElement(Box, null, errorMessage !== "" ? /* @__PURE__ */ React152.createElement(Box, { paddingTop: "16" }, /* @__PURE__ */ React152.createElement(FunNotification, { type: "error", description: errorMessage })) : /* @__PURE__ */ React152.createElement(FunTxSummaryBox2, null, /* @__PURE__ */ React152.createElement(
|
|
14055
14071
|
PaymentRouteLineItem,
|
|
14056
14072
|
{
|
|
14057
14073
|
paymentTokenString,
|
|
@@ -14060,14 +14076,14 @@ function FunTransactionSummary({
|
|
|
14060
14076
|
destinationChainId,
|
|
14061
14077
|
isLoading
|
|
14062
14078
|
}
|
|
14063
|
-
), /* @__PURE__ */
|
|
14079
|
+
), /* @__PURE__ */ React152.createElement(FunTxSummaryDivider, null), /* @__PURE__ */ React152.createElement(
|
|
14064
14080
|
FeesLineItem,
|
|
14065
14081
|
{
|
|
14066
14082
|
feesItem: estFees,
|
|
14067
14083
|
isLoading,
|
|
14068
14084
|
paymentMethod
|
|
14069
14085
|
}
|
|
14070
|
-
), /* @__PURE__ */
|
|
14086
|
+
), /* @__PURE__ */ React152.createElement(FunTxSummaryDivider, null), /* @__PURE__ */ React152.createElement(FunTxSummaryLineItem2, null, /* @__PURE__ */ React152.createElement(FunTxSummaryLineItemKeyText2, { text: "Est. processing time" }), isLoading ? /* @__PURE__ */ React152.createElement(FunSkeletonBlock, { height: "10", width: "54" }) : isNotNullish(estTime) ? /* @__PURE__ */ React152.createElement(
|
|
14071
14087
|
Text,
|
|
14072
14088
|
{
|
|
14073
14089
|
weight: "medium",
|
|
@@ -14080,12 +14096,12 @@ function FunTransactionSummary({
|
|
|
14080
14096
|
true,
|
|
14081
14097
|
false
|
|
14082
14098
|
)
|
|
14083
|
-
) : null), /* @__PURE__ */
|
|
14099
|
+
) : null), /* @__PURE__ */ React152.createElement(FunTxSummaryDivider, null), /* @__PURE__ */ React152.createElement(FunTxSummaryLineItem2, null, /* @__PURE__ */ React152.createElement(FunTxSummaryLineItemKeyText2, { text: "Total" }), isLoading ? /* @__PURE__ */ React152.createElement(Box, { alignItems: "center", display: "flex", gap: "8" }, /* @__PURE__ */ React152.createElement(FunSkeletonCircle, { size: "15" }), /* @__PURE__ */ React152.createElement(FunSkeletonBlock, { height: "10", width: "54" })) : isNotNullish(total) ? /* @__PURE__ */ React152.createElement(Text, { weight: "medium", color: "primaryText", size: "12" }, formatCurrencyAndStringify(parseFloat(total?.toString()))) : null)));
|
|
14084
14100
|
}
|
|
14085
14101
|
|
|
14086
14102
|
// src/components/Icons/Info.tsx
|
|
14087
|
-
import
|
|
14088
|
-
var FunInfoIcon = ({ size = 14 }) => /* @__PURE__ */
|
|
14103
|
+
import React153 from "react";
|
|
14104
|
+
var FunInfoIcon = ({ size = 14 }) => /* @__PURE__ */ React153.createElement(
|
|
14089
14105
|
"svg",
|
|
14090
14106
|
{
|
|
14091
14107
|
width: size,
|
|
@@ -14094,7 +14110,7 @@ var FunInfoIcon = ({ size = 14 }) => /* @__PURE__ */ React152.createElement(
|
|
|
14094
14110
|
fill: "none",
|
|
14095
14111
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14096
14112
|
},
|
|
14097
|
-
/* @__PURE__ */
|
|
14113
|
+
/* @__PURE__ */ React153.createElement(
|
|
14098
14114
|
"path",
|
|
14099
14115
|
{
|
|
14100
14116
|
fillRule: "evenodd",
|
|
@@ -14106,7 +14122,7 @@ var FunInfoIcon = ({ size = 14 }) => /* @__PURE__ */ React152.createElement(
|
|
|
14106
14122
|
strokeLinejoin: "round"
|
|
14107
14123
|
}
|
|
14108
14124
|
),
|
|
14109
|
-
/* @__PURE__ */
|
|
14125
|
+
/* @__PURE__ */ React153.createElement(
|
|
14110
14126
|
"path",
|
|
14111
14127
|
{
|
|
14112
14128
|
d: "M5.85617 10.4287C5.85617 10.7837 6.14399 11.0716 6.49902 11.0716C6.85405 11.0716 7.14188 10.7837 7.14188 10.4287H5.85617ZM6.49902 6.143H7.14188C7.14188 5.78797 6.85405 5.50014 6.49902 5.50014V6.143ZM5.64188 5.50014C5.28685 5.50014 4.99902 5.78797 4.99902 6.143C4.99902 6.49802 5.28685 6.78585 5.64188 6.78585V5.50014ZM6.49902 11.0716C6.85405 11.0716 7.14188 10.7837 7.14188 10.4287C7.14188 10.0737 6.85405 9.78585 6.49902 9.78585V11.0716ZM5.64188 9.78585C5.28685 9.78585 4.99902 10.0737 4.99902 10.4287C4.99902 10.7837 5.28685 11.0716 5.64188 11.0716V9.78585ZM6.49902 9.78585C6.14399 9.78585 5.85617 10.0737 5.85617 10.4287C5.85617 10.7837 6.14399 11.0716 6.49902 11.0716V9.78585ZM7.35617 11.0716C7.71119 11.0716 7.99902 10.7837 7.99902 10.4287C7.99902 10.0737 7.71119 9.78585 7.35617 9.78585V11.0716ZM7.14188 3.57157C7.14188 3.21653 6.85405 2.92871 6.49902 2.92871C6.14399 2.92871 5.85617 3.21653 5.85617 3.57157H7.14188ZM5.85617 4.42871C5.85617 4.78375 6.14399 5.07157 6.49902 5.07157C6.85405 5.07157 7.14188 4.78375 7.14188 4.42871H5.85617ZM7.14188 10.4287V6.143H5.85617V10.4287H7.14188ZM6.49902 5.50014H5.64188V6.78585H6.49902V5.50014ZM6.49902 9.78585H5.64188V11.0716H6.49902V9.78585ZM6.49902 11.0716H7.35617V9.78585H6.49902V11.0716ZM5.85617 3.57157V4.42871H7.14188V3.57157H5.85617Z",
|
|
@@ -14117,7 +14133,7 @@ var FunInfoIcon = ({ size = 14 }) => /* @__PURE__ */ React152.createElement(
|
|
|
14117
14133
|
);
|
|
14118
14134
|
|
|
14119
14135
|
// src/components/FunCheckoutModal/FunCheckoutPrimaryInfo.tsx
|
|
14120
|
-
import
|
|
14136
|
+
import React154, { useEffect as useEffect28, useMemo as useMemo28, useState as useState35 } from "react";
|
|
14121
14137
|
function CheckoutPrimaryInfoSnapshot({
|
|
14122
14138
|
checkoutItem,
|
|
14123
14139
|
isLoading,
|
|
@@ -14137,7 +14153,7 @@ function CheckoutPrimaryInfoSnapshot({
|
|
|
14137
14153
|
checkoutItem.finalDollarValue,
|
|
14138
14154
|
prioritizeDraftValue
|
|
14139
14155
|
]);
|
|
14140
|
-
return /* @__PURE__ */
|
|
14156
|
+
return /* @__PURE__ */ React154.createElement(
|
|
14141
14157
|
Box,
|
|
14142
14158
|
{
|
|
14143
14159
|
display: "flex",
|
|
@@ -14147,8 +14163,8 @@ function CheckoutPrimaryInfoSnapshot({
|
|
|
14147
14163
|
gap: "4",
|
|
14148
14164
|
style: { minHeight: preserveMinHeight ? 95 : "none" }
|
|
14149
14165
|
},
|
|
14150
|
-
isLoading ? /* @__PURE__ */
|
|
14151
|
-
/* @__PURE__ */
|
|
14166
|
+
isLoading ? /* @__PURE__ */ React154.createElement(FunSkeletonBlock, { height: "40", width: "120" }) : /* @__PURE__ */ React154.createElement(Text, { color: "primaryText", size: "40", weight: "medium", textAlign: "center" }, formatCurrencyAndStringify(displayDollarValue)),
|
|
14167
|
+
/* @__PURE__ */ React154.createElement(Box, { display: "flex", gap: "5", justifyContent: "center" }, checkoutConfig?.iconSrc ? /* @__PURE__ */ React154.createElement(
|
|
14152
14168
|
FunAssetAvatar,
|
|
14153
14169
|
{
|
|
14154
14170
|
assetSrc: checkoutConfig.iconSrc,
|
|
@@ -14156,7 +14172,7 @@ function CheckoutPrimaryInfoSnapshot({
|
|
|
14156
14172
|
assetIconSize: "16",
|
|
14157
14173
|
prioritizeDefaults: false
|
|
14158
14174
|
}
|
|
14159
|
-
) : null, /* @__PURE__ */
|
|
14175
|
+
) : null, /* @__PURE__ */ React154.createElement(Text, { color: "tertiaryText", size: "14", weight: "medium" }, displaySubtitle))
|
|
14160
14176
|
);
|
|
14161
14177
|
}
|
|
14162
14178
|
function CheckoutPrimaryInfo({
|
|
@@ -14166,7 +14182,7 @@ function CheckoutPrimaryInfo({
|
|
|
14166
14182
|
}) {
|
|
14167
14183
|
const { checkoutItem, getCheckoutDraftDollarValue } = useFunkitPreCheckoutInternal(checkoutId);
|
|
14168
14184
|
const [isForceRefresh, setIsForceRefresh] = useState35(false);
|
|
14169
|
-
|
|
14185
|
+
useEffect28(() => {
|
|
14170
14186
|
if (isForceRefresh || !isNotNullish(checkoutItem?.draftDollarValue)) {
|
|
14171
14187
|
setIsForceRefresh(false);
|
|
14172
14188
|
getCheckoutDraftDollarValue().catch(
|
|
@@ -14177,7 +14193,7 @@ function CheckoutPrimaryInfo({
|
|
|
14177
14193
|
checkoutItem?.initSettings?.config?.targetAssetAmount,
|
|
14178
14194
|
checkoutItem?.draftDollarValue
|
|
14179
14195
|
]);
|
|
14180
|
-
return checkoutItem ? /* @__PURE__ */
|
|
14196
|
+
return checkoutItem ? /* @__PURE__ */ React154.createElement(
|
|
14181
14197
|
CheckoutPrimaryInfoSnapshot,
|
|
14182
14198
|
{
|
|
14183
14199
|
isLoading: prioritizeDraftValue ? checkoutItem.isDrafting : checkoutItem.isQuoting,
|
|
@@ -14559,28 +14575,28 @@ function FunCheckoutConfirmationStep({
|
|
|
14559
14575
|
const toChainName = chainMetadataById[checkoutItem?.initSettings.config.targetChain || ""].name;
|
|
14560
14576
|
return `This transaction occurs in two steps. MoonPay powers only your purchase of ${depositToken} (${sourceChainName}) which Fun.xyz then converts to ${finalConvertedAssetName} (${toChainName}).`;
|
|
14561
14577
|
}, [checkoutItem]);
|
|
14562
|
-
return /* @__PURE__ */
|
|
14578
|
+
return /* @__PURE__ */ React155.createElement(Box, { className: animateContentInClass }, /* @__PURE__ */ React155.createElement(Box, { display: "flex", flexDirection: "column", gap: "18" }, /* @__PURE__ */ React155.createElement(
|
|
14563
14579
|
CheckoutPrimaryInfo,
|
|
14564
14580
|
{
|
|
14565
14581
|
checkoutId,
|
|
14566
14582
|
prioritizeDraftValue: false
|
|
14567
14583
|
}
|
|
14568
|
-
), checkoutItem?.selectedPaymentMethodInfo && /* @__PURE__ */
|
|
14584
|
+
), checkoutItem?.selectedPaymentMethodInfo && /* @__PURE__ */ React155.createElement(
|
|
14569
14585
|
ExistingPaymentMethodItem,
|
|
14570
14586
|
{
|
|
14571
14587
|
paymentMethodInfo: checkoutItem.selectedPaymentMethodInfo
|
|
14572
14588
|
}
|
|
14573
|
-
), /* @__PURE__ */
|
|
14589
|
+
), /* @__PURE__ */ React155.createElement(FunTransactionSummary, { checkoutId }), checkoutItem?.selectedPaymentMethodInfo?.paymentMethod === "card" /* CARD */ ? /* @__PURE__ */ React155.createElement(
|
|
14574
14590
|
FunAlert,
|
|
14575
14591
|
{
|
|
14576
|
-
icon: /* @__PURE__ */
|
|
14577
|
-
description: /* @__PURE__ */
|
|
14592
|
+
icon: /* @__PURE__ */ React155.createElement(Box, { width: "12", height: "12" }, /* @__PURE__ */ React155.createElement(FunInfoIcon, { size: 12 })),
|
|
14593
|
+
description: /* @__PURE__ */ React155.createElement(Text, { color: "secondaryText", size: "10", weight: "regular" }, cardDisclaimer)
|
|
14578
14594
|
}
|
|
14579
|
-
) : null, /* @__PURE__ */
|
|
14595
|
+
) : null, /* @__PURE__ */ React155.createElement(
|
|
14580
14596
|
FunAlert,
|
|
14581
14597
|
{
|
|
14582
|
-
icon: /* @__PURE__ */
|
|
14583
|
-
description: /* @__PURE__ */
|
|
14598
|
+
icon: /* @__PURE__ */ React155.createElement(FunInfoIcon, { size: 12 }),
|
|
14599
|
+
description: /* @__PURE__ */ React155.createElement(Box, { display: "flex", alignItems: "center", gap: "3" }, /* @__PURE__ */ React155.createElement(Text, { color: "secondaryText", size: "10", weight: "regular" }, "By clicking on Continue you agree to our"), /* @__PURE__ */ React155.createElement(
|
|
14584
14600
|
FunButton,
|
|
14585
14601
|
{
|
|
14586
14602
|
type: "secondary",
|
|
@@ -14596,10 +14612,10 @@ function FunCheckoutConfirmationStep({
|
|
|
14596
14612
|
))
|
|
14597
14613
|
}
|
|
14598
14614
|
)), bottomSectionRef && createPortal5(
|
|
14599
|
-
/* @__PURE__ */
|
|
14615
|
+
/* @__PURE__ */ React155.createElement(
|
|
14600
14616
|
Dialog.BottomBar,
|
|
14601
14617
|
{
|
|
14602
|
-
topSection: /* @__PURE__ */
|
|
14618
|
+
topSection: /* @__PURE__ */ React155.createElement(
|
|
14603
14619
|
FunNotification,
|
|
14604
14620
|
{
|
|
14605
14621
|
isVisible: hasError,
|
|
@@ -14621,16 +14637,16 @@ function FunCheckoutConfirmationStep({
|
|
|
14621
14637
|
}
|
|
14622
14638
|
|
|
14623
14639
|
// src/components/FunCheckoutModal/FunCheckoutConnectExchangeStep.tsx
|
|
14624
|
-
import
|
|
14640
|
+
import React161, { useCallback as useCallback25, useState as useState37 } from "react";
|
|
14625
14641
|
import { createPortal as createPortal6 } from "react-dom";
|
|
14626
14642
|
|
|
14627
14643
|
// src/components/FunGuarantees/FunGuarantees.tsx
|
|
14628
|
-
import
|
|
14644
|
+
import React159 from "react";
|
|
14629
14645
|
|
|
14630
14646
|
// src/components/Icons/HandIcon.tsx
|
|
14631
|
-
import
|
|
14647
|
+
import React156 from "react";
|
|
14632
14648
|
var HandIcon = () => {
|
|
14633
|
-
return /* @__PURE__ */
|
|
14649
|
+
return /* @__PURE__ */ React156.createElement(
|
|
14634
14650
|
"svg",
|
|
14635
14651
|
{
|
|
14636
14652
|
width: "11",
|
|
@@ -14639,7 +14655,7 @@ var HandIcon = () => {
|
|
|
14639
14655
|
fill: "none",
|
|
14640
14656
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14641
14657
|
},
|
|
14642
|
-
/* @__PURE__ */
|
|
14658
|
+
/* @__PURE__ */ React156.createElement(
|
|
14643
14659
|
"path",
|
|
14644
14660
|
{
|
|
14645
14661
|
d: "M4.75879 14.2598C3.8151 14.2598 2.98991 14.0588 2.2832 13.6567C1.5765 13.259 1.02637 12.6898 0.632812 11.9492C0.239258 11.2087 0.0424805 10.3263 0.0424805 9.30225V3.75439C0.0424805 3.36507 0.156738 3.0498 0.385254 2.80859C0.618001 2.56738 0.916341 2.44678 1.28027 2.44678C1.40299 2.44678 1.51937 2.46794 1.62939 2.51025C1.73942 2.54834 1.83464 2.60547 1.91504 2.68164V2.08496C1.91504 1.70833 2.02718 1.40576 2.25146 1.17725C2.47575 0.944499 2.76986 0.828125 3.13379 0.828125C3.3623 0.828125 3.55485 0.897949 3.71143 1.0376C3.77913 0.728678 3.9209 0.48112 4.13672 0.294922C4.35677 0.108724 4.62549 0.015625 4.94287 0.015625C5.26449 0.015625 5.5332 0.108724 5.74902 0.294922C5.96484 0.476888 6.10238 0.728678 6.16162 1.05029C6.24626 0.978353 6.34359 0.92334 6.45361 0.885254C6.56364 0.847168 6.6779 0.828125 6.79639 0.828125C7.18994 0.828125 7.50521 0.94873 7.74219 1.18994C7.97917 1.42692 8.09766 1.7443 8.09766 2.14209V7.03613C8.09766 7.06999 8.11247 7.08691 8.14209 7.08691C8.16748 7.08691 8.18441 7.07422 8.19287 7.04883L8.53564 6.20459C8.64567 5.95915 8.79801 5.77295 8.99268 5.646C9.18734 5.51481 9.39681 5.44922 9.62109 5.44922C9.97656 5.44922 10.2728 5.56771 10.5098 5.80469C10.751 6.04167 10.8716 6.33789 10.8716 6.69336C10.8716 6.90918 10.8314 7.13135 10.751 7.35986L9.62109 10.5337C9.18099 11.7694 8.55257 12.6982 7.73584 13.3203C6.92334 13.9466 5.93099 14.2598 4.75879 14.2598ZM4.72705 13.187C5.64111 13.187 6.42822 12.9585 7.08838 12.5015C7.75277 12.0444 8.28174 11.2764 8.67529 10.1973L9.85596 6.94092C9.90251 6.80127 9.90885 6.68278 9.875 6.58545C9.84538 6.48812 9.77555 6.41829 9.66553 6.37598C9.5682 6.33789 9.46875 6.34001 9.36719 6.38232C9.26986 6.42041 9.1958 6.50293 9.14502 6.62988L8.23096 8.67383C8.15479 8.8431 8.06169 8.96159 7.95166 9.0293C7.84163 9.09701 7.72314 9.13086 7.59619 9.13086C7.44808 9.13086 7.32324 9.08219 7.22168 8.98486C7.12012 8.8833 7.06934 8.74154 7.06934 8.55957V2.2373C7.06934 2.11882 7.03125 2.02148 6.95508 1.94531C6.87891 1.86491 6.78369 1.82471 6.66943 1.82471C6.55094 1.82471 6.45361 1.86491 6.37744 1.94531C6.3055 2.02148 6.26953 2.11882 6.26953 2.2373V6.73779C6.26953 6.86475 6.22298 6.97266 6.12988 7.06152C6.03678 7.15039 5.92676 7.19482 5.7998 7.19482C5.66862 7.19482 5.55648 7.15039 5.46338 7.06152C5.37451 6.97266 5.33008 6.86475 5.33008 6.73779V1.4375C5.33008 1.31478 5.29199 1.21533 5.21582 1.13916C5.14388 1.05876 5.05078 1.01855 4.93652 1.01855C4.81803 1.01855 4.7207 1.05876 4.64453 1.13916C4.56836 1.21533 4.53027 1.31478 4.53027 1.4375V6.80762C4.53027 6.94303 4.48372 7.05518 4.39062 7.14404C4.29753 7.22868 4.1875 7.271 4.06055 7.271C3.93359 7.271 3.82357 7.22868 3.73047 7.14404C3.63737 7.05518 3.59082 6.94303 3.59082 6.80762V2.2373C3.59082 2.11882 3.55273 2.02148 3.47656 1.94531C3.40039 1.86491 3.30306 1.82471 3.18457 1.82471C3.07031 1.82471 2.97721 1.86491 2.90527 1.94531C2.83757 2.02148 2.80371 2.11882 2.80371 2.2373V7.1377C2.80371 7.27311 2.75505 7.38525 2.65771 7.47412C2.56038 7.55876 2.44824 7.60107 2.32129 7.60107C2.19857 7.60107 2.09066 7.55876 1.99756 7.47412C1.90446 7.38525 1.85791 7.27311 1.85791 7.1377V3.86865C1.85791 3.75016 1.81982 3.65283 1.74365 3.57666C1.66748 3.50049 1.57015 3.4624 1.45166 3.4624C1.3374 3.4624 1.2443 3.50049 1.17236 3.57666C1.10042 3.65283 1.06445 3.75016 1.06445 3.86865V9.19434C1.06445 10.0407 1.21045 10.7622 1.50244 11.3589C1.79867 11.9556 2.21973 12.4084 2.76562 12.7173C3.31152 13.0304 3.96533 13.187 4.72705 13.187Z",
|
|
@@ -14650,9 +14666,9 @@ var HandIcon = () => {
|
|
|
14650
14666
|
};
|
|
14651
14667
|
|
|
14652
14668
|
// src/components/Icons/ShieldIcon.tsx
|
|
14653
|
-
import
|
|
14669
|
+
import React157 from "react";
|
|
14654
14670
|
var ShieldIcon = () => {
|
|
14655
|
-
return /* @__PURE__ */
|
|
14671
|
+
return /* @__PURE__ */ React157.createElement(
|
|
14656
14672
|
"svg",
|
|
14657
14673
|
{
|
|
14658
14674
|
width: "12",
|
|
@@ -14661,7 +14677,7 @@ var ShieldIcon = () => {
|
|
|
14661
14677
|
fill: "none",
|
|
14662
14678
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14663
14679
|
},
|
|
14664
|
-
/* @__PURE__ */
|
|
14680
|
+
/* @__PURE__ */ React157.createElement(
|
|
14665
14681
|
"path",
|
|
14666
14682
|
{
|
|
14667
14683
|
d: "M5.95557 13.0376C5.90055 13.0376 5.83285 13.0249 5.75244 12.9995C5.67627 12.9784 5.59587 12.9466 5.51123 12.9043C4.6014 12.4049 3.83122 11.9564 3.20068 11.5586C2.57438 11.165 2.06868 10.7821 1.68359 10.4097C1.30273 10.0373 1.02555 9.63525 0.852051 9.20361C0.68278 8.76774 0.598145 8.25993 0.598145 7.68018V2.88135C0.598145 2.50472 0.672201 2.22965 0.820312 2.05615C0.972656 1.87842 1.2054 1.72396 1.51855 1.59277C1.6582 1.53353 1.85498 1.45524 2.10889 1.35791C2.36279 1.26058 2.64421 1.1569 2.95312 1.04688C3.26204 0.932617 3.56885 0.820475 3.87354 0.710449C4.17822 0.600423 4.4554 0.503092 4.70508 0.418457C4.95898 0.32959 5.15576 0.266113 5.29541 0.228027C5.4012 0.202637 5.51123 0.179362 5.62549 0.158203C5.73975 0.132812 5.84977 0.120117 5.95557 0.120117C6.06559 0.120117 6.17773 0.130697 6.29199 0.151855C6.41048 0.173014 6.52051 0.198405 6.62207 0.228027C6.76172 0.274577 6.95638 0.342285 7.20605 0.431152C7.45996 0.52002 7.73926 0.619466 8.04395 0.729492C8.35286 0.835286 8.65967 0.943197 8.96436 1.05322C9.27327 1.16325 9.55469 1.26693 9.80859 1.36426C10.0625 1.45736 10.2593 1.53353 10.3989 1.59277C10.7163 1.72819 10.9491 1.88265 11.0972 2.05615C11.2453 2.22965 11.3193 2.50472 11.3193 2.88135V7.68018C11.3193 8.25993 11.2347 8.76774 11.0654 9.20361C10.8962 9.63525 10.619 10.0394 10.2339 10.416C9.85303 10.7884 9.34733 11.1714 8.7168 11.5649C8.09049 11.9585 7.32031 12.4049 6.40625 12.9043C6.32161 12.9466 6.2391 12.9784 6.15869 12.9995C6.08252 13.0249 6.01481 13.0376 5.95557 13.0376ZM5.95557 11.6982C6.00212 11.6982 6.0529 11.6877 6.10791 11.6665C6.16292 11.6453 6.23486 11.6073 6.32373 11.5522C7.0389 11.1206 7.63981 10.7503 8.12646 10.4414C8.61735 10.1283 9.00879 9.83203 9.30078 9.55273C9.59701 9.27344 9.80859 8.97087 9.93555 8.64502C10.0625 8.31494 10.126 7.91504 10.126 7.44531V3.08447C10.126 2.97445 10.1112 2.89193 10.0815 2.83691C10.0519 2.77767 9.99479 2.73324 9.91016 2.70361C9.71549 2.6359 9.49333 2.55762 9.24365 2.46875C8.99821 2.37988 8.73796 2.28678 8.46289 2.18945C8.19206 2.09212 7.92334 1.99479 7.65674 1.89746C7.39014 1.80013 7.13835 1.70915 6.90137 1.62451C6.66439 1.53564 6.46126 1.45736 6.29199 1.38965C6.22005 1.36426 6.15658 1.34521 6.10156 1.33252C6.05078 1.31982 6.00212 1.31348 5.95557 1.31348C5.91325 1.31348 5.86458 1.31982 5.80957 1.33252C5.75879 1.34521 5.69743 1.36426 5.62549 1.38965C5.45622 1.45736 5.25309 1.53353 5.01611 1.61816C4.77913 1.7028 4.52523 1.79167 4.25439 1.88477C3.98779 1.97786 3.71696 2.07308 3.44189 2.17041C3.17106 2.26774 2.91081 2.36296 2.66113 2.45605C2.41569 2.54492 2.19987 2.62744 2.01367 2.70361C1.9248 2.73747 1.86556 2.7819 1.83594 2.83691C1.80632 2.89193 1.7915 2.97445 1.7915 3.08447V7.44531C1.7915 7.91081 1.85498 8.30648 1.98193 8.63232C2.10889 8.95817 2.31624 9.26074 2.604 9.54004C2.896 9.8151 3.28532 10.1092 3.77197 10.4224C4.26286 10.7355 4.87012 11.1121 5.59375 11.5522C5.68262 11.6073 5.75456 11.6453 5.80957 11.6665C5.86458 11.6877 5.91325 11.6982 5.95557 11.6982ZM3.68311 8.70215V6.22656C3.68311 5.80339 3.86084 5.57275 4.21631 5.53467V4.81738C4.21631 4.2334 4.37712 3.76367 4.69873 3.4082C5.02035 3.0485 5.43929 2.86865 5.95557 2.86865C6.47607 2.86865 6.89502 3.0485 7.2124 3.4082C7.53402 3.76367 7.69482 4.2334 7.69482 4.81738V5.53467C8.05452 5.56852 8.23438 5.79915 8.23438 6.22656V8.70215C8.23438 9.17611 8.01221 9.41309 7.56787 9.41309H4.34326C3.90316 9.41309 3.68311 9.17611 3.68311 8.70215ZM4.95898 5.52197H6.9585V4.75391C6.9585 4.40267 6.8654 4.12126 6.6792 3.90967C6.49723 3.69385 6.25602 3.58594 5.95557 3.58594C5.65511 3.58594 5.4139 3.69385 5.23193 3.90967C5.04997 4.12126 4.95898 4.40267 4.95898 4.75391V5.52197Z",
|
|
@@ -14672,9 +14688,9 @@ var ShieldIcon = () => {
|
|
|
14672
14688
|
};
|
|
14673
14689
|
|
|
14674
14690
|
// src/components/Icons/TwoFaIcon.tsx
|
|
14675
|
-
import
|
|
14691
|
+
import React158 from "react";
|
|
14676
14692
|
var TwoFaIcon = () => {
|
|
14677
|
-
return /* @__PURE__ */
|
|
14693
|
+
return /* @__PURE__ */ React158.createElement(
|
|
14678
14694
|
"svg",
|
|
14679
14695
|
{
|
|
14680
14696
|
width: "10",
|
|
@@ -14683,7 +14699,7 @@ var TwoFaIcon = () => {
|
|
|
14683
14699
|
fill: "none",
|
|
14684
14700
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14685
14701
|
},
|
|
14686
|
-
/* @__PURE__ */
|
|
14702
|
+
/* @__PURE__ */ React158.createElement(
|
|
14687
14703
|
"path",
|
|
14688
14704
|
{
|
|
14689
14705
|
d: "M0.683594 12.603V2.21826C0.683594 1.69352 0.850749 1.27035 1.18506 0.94873C1.5236 0.627116 1.96582 0.466309 2.51172 0.466309H7.50732C8.04899 0.466309 8.48275 0.627116 8.80859 0.94873C9.13867 1.27035 9.30371 1.69352 9.30371 2.21826V12.603C9.30371 13.1278 9.13867 13.5509 8.80859 13.8726C8.48275 14.1942 8.04899 14.355 7.50732 14.355H2.51172C1.96582 14.355 1.5236 14.1942 1.18506 13.8726C0.850749 13.5552 0.683594 13.132 0.683594 12.603ZM1.93408 12.3174C1.93408 12.5586 2.00179 12.7448 2.13721 12.876C2.27686 13.0072 2.47363 13.0728 2.72754 13.0728H7.27246C7.52214 13.0728 7.71468 13.0072 7.8501 12.876C7.98975 12.7448 8.05957 12.5586 8.05957 12.3174V2.50391C8.05957 2.26693 7.98975 2.08285 7.8501 1.95166C7.71468 1.81624 7.52214 1.74854 7.27246 1.74854H2.72754C2.47363 1.74854 2.27686 1.81413 2.13721 1.94531C2.00179 2.0765 1.93408 2.2627 1.93408 2.50391V12.3174ZM3.9082 9.58789C3.5612 9.58789 3.3877 9.40381 3.3877 9.03564V7.36621C3.3877 7.08268 3.49561 6.9113 3.71143 6.85205V6.42041C3.71143 5.98877 3.82992 5.64176 4.06689 5.37939C4.30387 5.11279 4.61491 4.97949 5 4.97949C5.38086 4.97949 5.68978 5.11279 5.92676 5.37939C6.16374 5.64176 6.28223 5.98877 6.28223 6.42041V6.8457C6.49805 6.90918 6.60596 7.08268 6.60596 7.36621V9.03564C6.60596 9.40381 6.43034 9.58789 6.0791 9.58789H3.9082ZM4.37793 6.82031H5.61572V6.36963C5.61572 6.14535 5.55859 5.96549 5.44434 5.83008C5.33431 5.69466 5.1862 5.62695 5 5.62695C4.80957 5.62695 4.65723 5.69466 4.54297 5.83008C4.43294 5.96549 4.37793 6.14535 4.37793 6.36963V6.82031Z",
|
|
@@ -14695,27 +14711,27 @@ var TwoFaIcon = () => {
|
|
|
14695
14711
|
|
|
14696
14712
|
// src/components/FunGuarantees/FunGuarantees.tsx
|
|
14697
14713
|
var FunGuarantee = ({ title, description, icon }) => {
|
|
14698
|
-
return /* @__PURE__ */
|
|
14714
|
+
return /* @__PURE__ */ React159.createElement(Box, { display: "flex", gap: "8", alignItems: "flex-start" }, /* @__PURE__ */ React159.createElement(Box, { padding: "3", color: "primaryText" }, icon), /* @__PURE__ */ React159.createElement(Box, { display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React159.createElement(Text, { color: "primaryText", size: "13", weight: "medium" }, title), /* @__PURE__ */ React159.createElement(Text, { color: "secondaryText", size: "10" }, description)));
|
|
14699
14715
|
};
|
|
14700
14716
|
var FunGuarantees = ({ exchange }) => {
|
|
14701
|
-
return /* @__PURE__ */
|
|
14717
|
+
return /* @__PURE__ */ React159.createElement(Box, { gap: "12", display: "flex", flexDirection: "column" }, /* @__PURE__ */ React159.createElement(
|
|
14702
14718
|
FunGuarantee,
|
|
14703
14719
|
{
|
|
14704
|
-
icon: /* @__PURE__ */
|
|
14720
|
+
icon: /* @__PURE__ */ React159.createElement(HandIcon, null),
|
|
14705
14721
|
title: "Your sign-in credentials are never stored",
|
|
14706
14722
|
description: `All data is encrypted between Fun.xyz and ${exchange}.`
|
|
14707
14723
|
}
|
|
14708
|
-
), /* @__PURE__ */
|
|
14724
|
+
), /* @__PURE__ */ React159.createElement(
|
|
14709
14725
|
FunGuarantee,
|
|
14710
14726
|
{
|
|
14711
|
-
icon: /* @__PURE__ */
|
|
14727
|
+
icon: /* @__PURE__ */ React159.createElement(TwoFaIcon, null),
|
|
14712
14728
|
title: "2fa always required",
|
|
14713
14729
|
description: "Transfers cannot be made without your approval."
|
|
14714
14730
|
}
|
|
14715
|
-
), /* @__PURE__ */
|
|
14731
|
+
), /* @__PURE__ */ React159.createElement(
|
|
14716
14732
|
FunGuarantee,
|
|
14717
14733
|
{
|
|
14718
|
-
icon: /* @__PURE__ */
|
|
14734
|
+
icon: /* @__PURE__ */ React159.createElement(ShieldIcon, null),
|
|
14719
14735
|
title: "Assets never touch 3rd parties",
|
|
14720
14736
|
description: "Your funds are transferred directly to your wallet."
|
|
14721
14737
|
}
|
|
@@ -14723,9 +14739,9 @@ var FunGuarantees = ({ exchange }) => {
|
|
|
14723
14739
|
};
|
|
14724
14740
|
|
|
14725
14741
|
// src/components/Icons/LockIcon.tsx
|
|
14726
|
-
import
|
|
14742
|
+
import React160 from "react";
|
|
14727
14743
|
var LockIcon = () => {
|
|
14728
|
-
return /* @__PURE__ */
|
|
14744
|
+
return /* @__PURE__ */ React160.createElement(
|
|
14729
14745
|
"svg",
|
|
14730
14746
|
{
|
|
14731
14747
|
width: "7",
|
|
@@ -14734,7 +14750,7 @@ var LockIcon = () => {
|
|
|
14734
14750
|
fill: "none",
|
|
14735
14751
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14736
14752
|
},
|
|
14737
|
-
/* @__PURE__ */
|
|
14753
|
+
/* @__PURE__ */ React160.createElement(
|
|
14738
14754
|
"path",
|
|
14739
14755
|
{
|
|
14740
14756
|
d: "M1.26367 10.1377C0.905599 10.1377 0.632161 10.04 0.443359 9.84473C0.257812 9.64941 0.165039 9.3597 0.165039 8.97559V5.61133C0.165039 5.22721 0.257812 4.93913 0.443359 4.74707C0.632161 4.55176 0.905599 4.4541 1.26367 4.4541H5.73145C6.08952 4.4541 6.36133 4.55176 6.54688 4.74707C6.73568 4.93913 6.83008 5.22721 6.83008 5.61133V8.97559C6.83008 9.3597 6.73568 9.64941 6.54688 9.84473C6.36133 10.04 6.08952 10.1377 5.73145 10.1377H1.26367ZM1.01953 4.83008V3.28711C1.01953 2.67513 1.13672 2.16732 1.37109 1.76367C1.60872 1.36003 1.91634 1.05892 2.29395 0.860352C2.67155 0.658529 3.07194 0.557617 3.49512 0.557617C3.92155 0.557617 4.32357 0.658529 4.70117 0.860352C5.07878 1.05892 5.38477 1.36003 5.61914 1.76367C5.85677 2.16732 5.97559 2.67513 5.97559 3.28711V4.83008H5.2041V3.17969C5.2041 2.76953 5.12435 2.42448 4.96484 2.14453C4.80859 1.86458 4.60026 1.65299 4.33984 1.50977C4.08268 1.36654 3.80111 1.29492 3.49512 1.29492C3.19238 1.29492 2.91081 1.36654 2.65039 1.50977C2.39323 1.65299 2.18652 1.86458 2.03027 2.14453C1.87402 2.42448 1.7959 2.76953 1.7959 3.17969V4.83008H1.01953Z",
|
|
@@ -14789,24 +14805,24 @@ var FunCheckoutConnectExchangeStep = ({
|
|
|
14789
14805
|
}
|
|
14790
14806
|
}, [exchange, connectToBrokerage]);
|
|
14791
14807
|
const bottomSectionRef = document.getElementById(CHECKOUT_MODAL_BOTTOM_BAR_ID);
|
|
14792
|
-
return /* @__PURE__ */
|
|
14808
|
+
return /* @__PURE__ */ React161.createElement(Box, null, /* @__PURE__ */ React161.createElement(Box, { display: "flex", flexDirection: "column", gap: "18" }, /* @__PURE__ */ React161.createElement(
|
|
14793
14809
|
FunMessage,
|
|
14794
14810
|
{
|
|
14795
14811
|
icon,
|
|
14796
14812
|
title: `${appName} uses Mesh to connect your ${exchange} account.`,
|
|
14797
|
-
gap: "
|
|
14813
|
+
gap: "18"
|
|
14798
14814
|
}
|
|
14799
|
-
), /* @__PURE__ */
|
|
14815
|
+
), /* @__PURE__ */ React161.createElement(FunGuarantees, { exchange }), /* @__PURE__ */ React161.createElement(
|
|
14800
14816
|
FunAlert,
|
|
14801
14817
|
{
|
|
14802
|
-
icon: /* @__PURE__ */
|
|
14818
|
+
icon: /* @__PURE__ */ React161.createElement(LockIcon, null),
|
|
14803
14819
|
description: "Fun.xyz encrypts this data to keep it secure."
|
|
14804
14820
|
}
|
|
14805
14821
|
)), bottomSectionRef && createPortal6(
|
|
14806
|
-
/* @__PURE__ */
|
|
14822
|
+
/* @__PURE__ */ React161.createElement(
|
|
14807
14823
|
Dialog.BottomBar,
|
|
14808
14824
|
{
|
|
14809
|
-
topSection: /* @__PURE__ */
|
|
14825
|
+
topSection: /* @__PURE__ */ React161.createElement(
|
|
14810
14826
|
FunNotification,
|
|
14811
14827
|
{
|
|
14812
14828
|
description: meshPreError,
|
|
@@ -14828,18 +14844,18 @@ var FunCheckoutConnectExchangeStep = ({
|
|
|
14828
14844
|
|
|
14829
14845
|
// src/components/FunCheckoutModal/FunCheckoutInputAmountStep.tsx
|
|
14830
14846
|
import { getAssetPriceInfo as getAssetPriceInfo4 } from "@funkit/api-base";
|
|
14831
|
-
import
|
|
14847
|
+
import React163, { useCallback as useCallback27, useEffect as useEffect30, useMemo as useMemo30, useState as useState39 } from "react";
|
|
14832
14848
|
import { createPortal as createPortal7 } from "react-dom";
|
|
14833
14849
|
|
|
14834
14850
|
// src/hooks/useDynamicFont.ts
|
|
14835
|
-
import { useCallback as useCallback26, useEffect as
|
|
14851
|
+
import { useCallback as useCallback26, useEffect as useEffect29, useRef as useRef14, useState as useState38 } from "react";
|
|
14836
14852
|
var SIZE_STEP = 1;
|
|
14837
14853
|
var ALLOWANCE = 20;
|
|
14838
14854
|
var useDynamicFont = (inputValue, max, min = 16) => {
|
|
14839
14855
|
const [fontSize, setFontSize] = useState38(max);
|
|
14840
14856
|
const inputRef = useRef14(null);
|
|
14841
14857
|
const canvasRef = useRef14(document.createElement("canvas"));
|
|
14842
|
-
|
|
14858
|
+
useEffect29(() => {
|
|
14843
14859
|
const measureTextWidth = (text) => {
|
|
14844
14860
|
if (!inputRef.current) return void 0;
|
|
14845
14861
|
const context = canvasRef.current.getContext("2d");
|
|
@@ -14878,9 +14894,9 @@ var useAmountRestriction = (currentAmount) => {
|
|
|
14878
14894
|
};
|
|
14879
14895
|
|
|
14880
14896
|
// src/components/Icons/SwitchIcon.tsx
|
|
14881
|
-
import
|
|
14897
|
+
import React162 from "react";
|
|
14882
14898
|
var SwitchIcon = () => {
|
|
14883
|
-
return /* @__PURE__ */
|
|
14899
|
+
return /* @__PURE__ */ React162.createElement(
|
|
14884
14900
|
"svg",
|
|
14885
14901
|
{
|
|
14886
14902
|
width: "15",
|
|
@@ -14889,7 +14905,7 @@ var SwitchIcon = () => {
|
|
|
14889
14905
|
fill: "none",
|
|
14890
14906
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14891
14907
|
},
|
|
14892
|
-
/* @__PURE__ */
|
|
14908
|
+
/* @__PURE__ */ React162.createElement(
|
|
14893
14909
|
"path",
|
|
14894
14910
|
{
|
|
14895
14911
|
fillRule: "evenodd",
|
|
@@ -14921,20 +14937,15 @@ var FunCheckoutInputAmountStep = ({
|
|
|
14921
14937
|
const [amountInput, setAmountInput] = useState39("");
|
|
14922
14938
|
const [unitPrice, setUnitPrice] = useState39(null);
|
|
14923
14939
|
const [errorMessage, setErrorMessage] = useState39("");
|
|
14924
|
-
const
|
|
14925
|
-
|
|
14926
|
-
const { ref, fontSize, resetText } = useDynamicFont(
|
|
14927
|
-
inputValue || inputPlaceholder,
|
|
14928
|
-
BASE_FONT_SIZE
|
|
14929
|
-
);
|
|
14930
|
-
useEffect31(() => {
|
|
14940
|
+
const config = checkoutItem?.initSettings?.config;
|
|
14941
|
+
useEffect30(() => {
|
|
14931
14942
|
const fetchPrice = async () => {
|
|
14932
14943
|
try {
|
|
14933
|
-
if (
|
|
14944
|
+
if (config?.targetChain && config.targetAsset) {
|
|
14934
14945
|
const info = await getAssetPriceInfo4({
|
|
14935
14946
|
apiKey,
|
|
14936
|
-
chainId:
|
|
14937
|
-
assetTokenAddress:
|
|
14947
|
+
chainId: config.targetChain,
|
|
14948
|
+
assetTokenAddress: config.targetAsset
|
|
14938
14949
|
});
|
|
14939
14950
|
setErrorMessage("");
|
|
14940
14951
|
setUnitPrice(info.unitPrice);
|
|
@@ -14948,7 +14959,7 @@ var FunCheckoutInputAmountStep = ({
|
|
|
14948
14959
|
const id = setInterval(fetchPrice, 1e4);
|
|
14949
14960
|
return () => clearInterval(id);
|
|
14950
14961
|
}, []);
|
|
14951
|
-
|
|
14962
|
+
useEffect30(() => {
|
|
14952
14963
|
if (unitPrice == null || isInited) return;
|
|
14953
14964
|
if (isAmountInAbsolute) {
|
|
14954
14965
|
setAmountInput(
|
|
@@ -15003,6 +15014,14 @@ var FunCheckoutInputAmountStep = ({
|
|
|
15003
15014
|
}
|
|
15004
15015
|
setAmountInput(newValue);
|
|
15005
15016
|
};
|
|
15017
|
+
const isLoading = unitPrice === null && !errorMessage;
|
|
15018
|
+
const inputPlaceholder = isAmountInAbsolute ? "0.0000" : "$0";
|
|
15019
|
+
const inputValue = isAmountInAbsolute ? amountInput : amountInput && `$${amountInput}`;
|
|
15020
|
+
const { ref, fontSize, resetText } = useDynamicFont(
|
|
15021
|
+
inputValue || inputPlaceholder,
|
|
15022
|
+
BASE_FONT_SIZE
|
|
15023
|
+
);
|
|
15024
|
+
const convertedAmount = isLoading ? config && !isAmountInAbsolute ? formatCryptoAndStringify(config.targetAssetAmount, ticker) : void 0 : isAmountInAbsolute ? formatCurrencyAndStringify(finalAmounts.usdEquivalent) : formatCryptoAndStringify(finalAmounts.absoluteEquivalent, ticker);
|
|
15006
15025
|
const handleIsAmountInAbsoluteToggle = () => {
|
|
15007
15026
|
const { usdEquivalent, absoluteEquivalent } = finalAmounts;
|
|
15008
15027
|
const switchedAmount = isAmountInAbsolute ? usdEquivalent : absoluteEquivalent;
|
|
@@ -15010,9 +15029,9 @@ var FunCheckoutInputAmountStep = ({
|
|
|
15010
15029
|
setIsAmountInAbsolute((value) => !value);
|
|
15011
15030
|
resetText();
|
|
15012
15031
|
};
|
|
15013
|
-
const chainSymbolKey =
|
|
15014
|
-
chainId:
|
|
15015
|
-
symbolOrAddress:
|
|
15032
|
+
const chainSymbolKey = config ? combineChainSymbolOrAddress({
|
|
15033
|
+
chainId: config.targetChain,
|
|
15034
|
+
symbolOrAddress: config.targetAsset
|
|
15016
15035
|
}) : null;
|
|
15017
15036
|
const targetAssetKeyInWallet = walletAssets && chainSymbolKey ? Object.keys(walletAssets).find(
|
|
15018
15037
|
(asset) => asset.toLowerCase() === chainSymbolKey.toLowerCase()
|
|
@@ -15022,7 +15041,7 @@ var FunCheckoutInputAmountStep = ({
|
|
|
15022
15041
|
const hasNonZeroAssetBalance = walletAssets && hasTargetAssetInWallet && targetAssetInWallet !== null ? targetAssetInWallet.tokenBalance !== "0" : false;
|
|
15023
15042
|
const showAssetAvailableElement = isArbitraryOrTransferFlow && hasTargetAssetInWallet && hasNonZeroAssetBalance;
|
|
15024
15043
|
const bottomSectionRef = document.getElementById(CHECKOUT_MODAL_BOTTOM_BAR_ID);
|
|
15025
|
-
return /* @__PURE__ */
|
|
15044
|
+
return /* @__PURE__ */ React163.createElement(Box, { display: "flex", flexDirection: "column", width: "full", style: { flex: 1 } }, /* @__PURE__ */ React163.createElement(
|
|
15026
15045
|
Box,
|
|
15027
15046
|
{
|
|
15028
15047
|
display: "flex",
|
|
@@ -15032,18 +15051,26 @@ var FunCheckoutInputAmountStep = ({
|
|
|
15032
15051
|
width: "full",
|
|
15033
15052
|
style: { flex: 1 }
|
|
15034
15053
|
},
|
|
15035
|
-
/* @__PURE__ */
|
|
15054
|
+
/* @__PURE__ */ React163.createElement(
|
|
15036
15055
|
Box,
|
|
15037
15056
|
{
|
|
15038
|
-
style: { flex: 1 },
|
|
15039
15057
|
display: "flex",
|
|
15058
|
+
style: { flex: 1 },
|
|
15040
15059
|
flexDirection: "column",
|
|
15041
15060
|
alignItems: "center",
|
|
15042
15061
|
justifyContent: "center",
|
|
15043
15062
|
gap: "8",
|
|
15044
15063
|
width: "full"
|
|
15045
15064
|
},
|
|
15046
|
-
|
|
15065
|
+
isLoading ? /* @__PURE__ */ React163.createElement(
|
|
15066
|
+
FunSkeletonBlock,
|
|
15067
|
+
{
|
|
15068
|
+
height: "57",
|
|
15069
|
+
marginBottom: "6",
|
|
15070
|
+
marginTop: "13",
|
|
15071
|
+
width: "180"
|
|
15072
|
+
}
|
|
15073
|
+
) : /* @__PURE__ */ React163.createElement(
|
|
15047
15074
|
Box,
|
|
15048
15075
|
{
|
|
15049
15076
|
display: "flex",
|
|
@@ -15051,7 +15078,7 @@ var FunCheckoutInputAmountStep = ({
|
|
|
15051
15078
|
justifyContent: "center",
|
|
15052
15079
|
alignItems: "flex-end"
|
|
15053
15080
|
},
|
|
15054
|
-
/* @__PURE__ */
|
|
15081
|
+
/* @__PURE__ */ React163.createElement(
|
|
15055
15082
|
FunInput,
|
|
15056
15083
|
{
|
|
15057
15084
|
ref,
|
|
@@ -15076,7 +15103,7 @@ var FunCheckoutInputAmountStep = ({
|
|
|
15076
15103
|
}
|
|
15077
15104
|
)
|
|
15078
15105
|
),
|
|
15079
|
-
ticker && /* @__PURE__ */
|
|
15106
|
+
ticker && /* @__PURE__ */ React163.createElement(
|
|
15080
15107
|
Box,
|
|
15081
15108
|
{
|
|
15082
15109
|
display: "flex",
|
|
@@ -15084,41 +15111,42 @@ var FunCheckoutInputAmountStep = ({
|
|
|
15084
15111
|
alignItems: "center",
|
|
15085
15112
|
paddingX: "8"
|
|
15086
15113
|
},
|
|
15087
|
-
/* @__PURE__ */
|
|
15114
|
+
/* @__PURE__ */ React163.createElement(
|
|
15088
15115
|
FunIconButton,
|
|
15089
15116
|
{
|
|
15090
|
-
icon: /* @__PURE__ */
|
|
15117
|
+
icon: /* @__PURE__ */ React163.createElement(SwitchIcon, null),
|
|
15091
15118
|
paddingY: "1",
|
|
15092
15119
|
paddingX: "6",
|
|
15093
|
-
color: {
|
|
15094
|
-
|
|
15120
|
+
color: {
|
|
15121
|
+
base: "actionColor",
|
|
15122
|
+
hover: isLoading ? "actionColor" : "actionColorHover"
|
|
15123
|
+
},
|
|
15124
|
+
disableHoverStyles: isLoading,
|
|
15125
|
+
onClick: isLoading ? void 0 : handleIsAmountInAbsoluteToggle
|
|
15095
15126
|
},
|
|
15096
|
-
|
|
15097
|
-
finalAmounts.absoluteEquivalent,
|
|
15098
|
-
ticker
|
|
15099
|
-
))
|
|
15127
|
+
isLoading && !convertedAmount ? /* @__PURE__ */ React163.createElement(Box, { alignItems: "center", display: "flex", gap: "8" }, /* @__PURE__ */ React163.createElement(FunSkeletonBlock, { height: "14", width: "60" }), isAmountInAbsolute || /* @__PURE__ */ React163.createElement(Text, { color: "actionColorDisabled", size: "14" }, ticker)) : /* @__PURE__ */ React163.createElement(Text, { color: "actionColorDisabled", size: "14" }, convertedAmount)
|
|
15100
15128
|
)
|
|
15101
15129
|
)
|
|
15102
15130
|
)
|
|
15103
15131
|
), bottomSectionRef && createPortal7(
|
|
15104
|
-
/* @__PURE__ */
|
|
15132
|
+
/* @__PURE__ */ React163.createElement(
|
|
15105
15133
|
Dialog.BottomBar,
|
|
15106
15134
|
{
|
|
15107
|
-
topSection: /* @__PURE__ */
|
|
15135
|
+
topSection: /* @__PURE__ */ React163.createElement(Box, { display: "flex", flexDirection: "column" }, /* @__PURE__ */ React163.createElement(
|
|
15108
15136
|
FunNotification,
|
|
15109
15137
|
{
|
|
15110
15138
|
isVisible: !!errorMessage,
|
|
15111
15139
|
type: "error",
|
|
15112
15140
|
description: errorMessage
|
|
15113
15141
|
}
|
|
15114
|
-
), /* @__PURE__ */
|
|
15142
|
+
), /* @__PURE__ */ React163.createElement(
|
|
15115
15143
|
FunNotification,
|
|
15116
15144
|
{
|
|
15117
15145
|
isVisible: !!inputLimitError,
|
|
15118
15146
|
type: "warning",
|
|
15119
15147
|
description: inputLimitError
|
|
15120
15148
|
}
|
|
15121
|
-
), showAssetAvailableElement && targetAssetInWallet && !!targetAssetInWallet.totalUsdValue && /* @__PURE__ */
|
|
15149
|
+
), showAssetAvailableElement && targetAssetInWallet && !!targetAssetInWallet.totalUsdValue && /* @__PURE__ */ React163.createElement(
|
|
15122
15150
|
Box,
|
|
15123
15151
|
{
|
|
15124
15152
|
display: "flex",
|
|
@@ -15128,7 +15156,7 @@ var FunCheckoutInputAmountStep = ({
|
|
|
15128
15156
|
marginTop: "4",
|
|
15129
15157
|
marginBottom: "8"
|
|
15130
15158
|
},
|
|
15131
|
-
/* @__PURE__ */
|
|
15159
|
+
/* @__PURE__ */ React163.createElement(
|
|
15132
15160
|
FunAssetAvatar,
|
|
15133
15161
|
{
|
|
15134
15162
|
assetSrc: targetAssetInWallet.logo,
|
|
@@ -15137,7 +15165,7 @@ var FunCheckoutInputAmountStep = ({
|
|
|
15137
15165
|
assetIconSize: "12"
|
|
15138
15166
|
}
|
|
15139
15167
|
),
|
|
15140
|
-
/* @__PURE__ */
|
|
15168
|
+
/* @__PURE__ */ React163.createElement(Text, { size: "10", color: "primaryText" }, formatCurrencyAndStringify(
|
|
15141
15169
|
targetAssetInWallet.totalUsdValue
|
|
15142
15170
|
), " ", "available")
|
|
15143
15171
|
)),
|
|
@@ -15158,20 +15186,20 @@ import {
|
|
|
15158
15186
|
FUNKIT_CONNECT_CHECKOUT_NATIVE_CURRENCY_ADDRESS as FUNKIT_CONNECT_CHECKOUT_NATIVE_CURRENCY_ADDRESS3,
|
|
15159
15187
|
FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO as FUNKIT_CONNECT_SUPPORTED_CHAINS_INFO7
|
|
15160
15188
|
} from "@funkit/core";
|
|
15161
|
-
import
|
|
15189
|
+
import React166, { useCallback as useCallback28, useEffect as useEffect31, useMemo as useMemo31, useState as useState40 } from "react";
|
|
15162
15190
|
import { createPortal as createPortal8 } from "react-dom";
|
|
15163
15191
|
|
|
15164
15192
|
// src/components/FunAsset/FunAssetItem.tsx
|
|
15165
|
-
import
|
|
15193
|
+
import React165 from "react";
|
|
15166
15194
|
|
|
15167
15195
|
// src/components/FunAsset/FunAssetBadge.tsx
|
|
15168
|
-
import
|
|
15196
|
+
import React164 from "react";
|
|
15169
15197
|
function FunAssetBadge({
|
|
15170
15198
|
children,
|
|
15171
15199
|
background,
|
|
15172
15200
|
color
|
|
15173
15201
|
}) {
|
|
15174
|
-
return /* @__PURE__ */
|
|
15202
|
+
return /* @__PURE__ */ React164.createElement(
|
|
15175
15203
|
Box,
|
|
15176
15204
|
{
|
|
15177
15205
|
background: background ?? "offBackground",
|
|
@@ -15183,7 +15211,7 @@ function FunAssetBadge({
|
|
|
15183
15211
|
borderColor: "generalBorder",
|
|
15184
15212
|
style: { width: "fit-content" }
|
|
15185
15213
|
},
|
|
15186
|
-
/* @__PURE__ */
|
|
15214
|
+
/* @__PURE__ */ React164.createElement(Text, { size: "10", color: color ?? "secondaryText", weight: "regular" }, children)
|
|
15187
15215
|
);
|
|
15188
15216
|
}
|
|
15189
15217
|
|
|
@@ -15192,6 +15220,12 @@ var FUN_ASSET_ITEM_GAP = "12";
|
|
|
15192
15220
|
var FUN_ASSET_ITEM_AVATAR_SIZE = "20";
|
|
15193
15221
|
var FUN_ASSET_ITEM_PADDING_X = "12";
|
|
15194
15222
|
var FUN_ASSET_ITEM_PADDING_Y = "8";
|
|
15223
|
+
var TEXT_SIZE_MEDIUM2 = "13";
|
|
15224
|
+
var TEXT_SIZE_SMALL2 = "10";
|
|
15225
|
+
var TEXT_SKELETON_MARGIN_TOP3 = "2";
|
|
15226
|
+
var TEXT_SKELETON_MARGIN_BOTTOM3 = "3";
|
|
15227
|
+
var TEXT_SKELETON_WIDTH_SHORT3 = "48";
|
|
15228
|
+
var TEXT_SKELETON_WIDTH_LONG3 = "96";
|
|
15195
15229
|
var FunAssetItem = ({
|
|
15196
15230
|
asset,
|
|
15197
15231
|
isActive = false,
|
|
@@ -15203,7 +15237,7 @@ var FunAssetItem = ({
|
|
|
15203
15237
|
chainId: asset.pickedChainId,
|
|
15204
15238
|
symbolOrAddress: asset.symbol
|
|
15205
15239
|
});
|
|
15206
|
-
return /* @__PURE__ */
|
|
15240
|
+
return /* @__PURE__ */ React165.createElement(
|
|
15207
15241
|
FunOptionBox,
|
|
15208
15242
|
{
|
|
15209
15243
|
type: "default",
|
|
@@ -15213,7 +15247,7 @@ var FunAssetItem = ({
|
|
|
15213
15247
|
paddingX: "0",
|
|
15214
15248
|
paddingY: "0"
|
|
15215
15249
|
},
|
|
15216
|
-
/* @__PURE__ */
|
|
15250
|
+
/* @__PURE__ */ React165.createElement(
|
|
15217
15251
|
Box,
|
|
15218
15252
|
{
|
|
15219
15253
|
alignItems: "center",
|
|
@@ -15221,12 +15255,12 @@ var FunAssetItem = ({
|
|
|
15221
15255
|
display: "flex",
|
|
15222
15256
|
flexDirection: "row",
|
|
15223
15257
|
justifyContent: "space-between",
|
|
15224
|
-
fontSize:
|
|
15258
|
+
fontSize: TEXT_SIZE_MEDIUM2,
|
|
15225
15259
|
key: chainSymbolKey,
|
|
15226
15260
|
paddingX: FUN_ASSET_ITEM_PADDING_X,
|
|
15227
15261
|
paddingY: FUN_ASSET_ITEM_PADDING_Y
|
|
15228
15262
|
},
|
|
15229
|
-
/* @__PURE__ */
|
|
15263
|
+
/* @__PURE__ */ React165.createElement(
|
|
15230
15264
|
Box,
|
|
15231
15265
|
{
|
|
15232
15266
|
display: "flex",
|
|
@@ -15234,20 +15268,35 @@ var FunAssetItem = ({
|
|
|
15234
15268
|
alignItems: "center",
|
|
15235
15269
|
gap: FUN_ASSET_ITEM_GAP
|
|
15236
15270
|
},
|
|
15237
|
-
/* @__PURE__ */
|
|
15271
|
+
/* @__PURE__ */ React165.createElement(
|
|
15238
15272
|
FunAssetAvatar,
|
|
15239
15273
|
{
|
|
15240
15274
|
assetSrc: asset.iconSrc,
|
|
15241
15275
|
assetTicker: asset.symbol,
|
|
15242
15276
|
assetName: asset.symbol,
|
|
15243
15277
|
assetIconSize: FUN_ASSET_ITEM_AVATAR_SIZE,
|
|
15244
|
-
chainId: asset.pickedChainId
|
|
15245
|
-
chainIconSize: "8"
|
|
15278
|
+
chainId: asset.pickedChainId
|
|
15246
15279
|
}
|
|
15247
15280
|
),
|
|
15248
|
-
/* @__PURE__ */
|
|
15281
|
+
/* @__PURE__ */ React165.createElement(Box, null, /* @__PURE__ */ React165.createElement(
|
|
15282
|
+
Box,
|
|
15283
|
+
{
|
|
15284
|
+
color: "primaryText",
|
|
15285
|
+
fontSize: TEXT_SIZE_MEDIUM2,
|
|
15286
|
+
fontWeight: "medium"
|
|
15287
|
+
},
|
|
15288
|
+
asset.symbol
|
|
15289
|
+
), /* @__PURE__ */ React165.createElement(
|
|
15290
|
+
Box,
|
|
15291
|
+
{
|
|
15292
|
+
color: "secondaryText",
|
|
15293
|
+
fontSize: TEXT_SIZE_SMALL2,
|
|
15294
|
+
fontWeight: "regular"
|
|
15295
|
+
},
|
|
15296
|
+
isNotNullish(asset.amount) ? /* @__PURE__ */ React165.createElement("div", null, formatCryptoAndStringify(asset.amount), " ", asset.symbol) : null
|
|
15297
|
+
))
|
|
15249
15298
|
),
|
|
15250
|
-
/* @__PURE__ */
|
|
15299
|
+
/* @__PURE__ */ React165.createElement(
|
|
15251
15300
|
Box,
|
|
15252
15301
|
{
|
|
15253
15302
|
display: "flex",
|
|
@@ -15255,23 +15304,53 @@ var FunAssetItem = ({
|
|
|
15255
15304
|
justifyContent: "flex-end",
|
|
15256
15305
|
gap: "12"
|
|
15257
15306
|
},
|
|
15258
|
-
badgeText ? /* @__PURE__ */
|
|
15259
|
-
/* @__PURE__ */
|
|
15307
|
+
badgeText ? /* @__PURE__ */ React165.createElement(FunAssetBadge, null, badgeText) : null,
|
|
15308
|
+
/* @__PURE__ */ React165.createElement(Box, { fontSize: TEXT_SIZE_MEDIUM2, fontWeight: "medium" }, formatCurrencyAndStringify(asset.usdAmount || 0))
|
|
15260
15309
|
)
|
|
15261
15310
|
)
|
|
15262
15311
|
);
|
|
15263
15312
|
};
|
|
15264
15313
|
function FunAssetItemSkeleton() {
|
|
15265
|
-
return /* @__PURE__ */
|
|
15314
|
+
return /* @__PURE__ */ React165.createElement(
|
|
15266
15315
|
Box,
|
|
15267
15316
|
{
|
|
15317
|
+
alignItems: "center",
|
|
15318
|
+
borderColor: "transparent",
|
|
15319
|
+
borderWidth: "1",
|
|
15320
|
+
borderStyle: "solid",
|
|
15268
15321
|
display: "flex",
|
|
15322
|
+
flexDirection: "row",
|
|
15269
15323
|
gap: FUN_ASSET_ITEM_GAP,
|
|
15270
15324
|
paddingX: FUN_ASSET_ITEM_PADDING_X,
|
|
15271
15325
|
paddingY: FUN_ASSET_ITEM_PADDING_Y
|
|
15272
15326
|
},
|
|
15273
|
-
/* @__PURE__ */
|
|
15274
|
-
/* @__PURE__ */
|
|
15327
|
+
/* @__PURE__ */ React165.createElement(FunSkeletonCircle, { size: FUN_ASSET_ITEM_AVATAR_SIZE }),
|
|
15328
|
+
/* @__PURE__ */ React165.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React165.createElement(
|
|
15329
|
+
FunSkeletonBlock,
|
|
15330
|
+
{
|
|
15331
|
+
height: TEXT_SIZE_MEDIUM2,
|
|
15332
|
+
marginBottom: TEXT_SKELETON_MARGIN_BOTTOM3,
|
|
15333
|
+
marginTop: TEXT_SKELETON_MARGIN_TOP3,
|
|
15334
|
+
width: TEXT_SKELETON_WIDTH_SHORT3
|
|
15335
|
+
}
|
|
15336
|
+
), /* @__PURE__ */ React165.createElement(
|
|
15337
|
+
FunSkeletonBlock,
|
|
15338
|
+
{
|
|
15339
|
+
height: TEXT_SIZE_SMALL2,
|
|
15340
|
+
marginBottom: TEXT_SKELETON_MARGIN_BOTTOM3,
|
|
15341
|
+
marginTop: TEXT_SKELETON_MARGIN_TOP3,
|
|
15342
|
+
width: TEXT_SKELETON_WIDTH_LONG3
|
|
15343
|
+
}
|
|
15344
|
+
)),
|
|
15345
|
+
/* @__PURE__ */ React165.createElement(
|
|
15346
|
+
FunSkeletonBlock,
|
|
15347
|
+
{
|
|
15348
|
+
height: TEXT_SIZE_MEDIUM2,
|
|
15349
|
+
marginBottom: TEXT_SKELETON_MARGIN_BOTTOM3,
|
|
15350
|
+
marginTop: TEXT_SKELETON_MARGIN_TOP3,
|
|
15351
|
+
width: TEXT_SKELETON_WIDTH_SHORT3
|
|
15352
|
+
}
|
|
15353
|
+
)
|
|
15275
15354
|
);
|
|
15276
15355
|
}
|
|
15277
15356
|
|
|
@@ -15287,7 +15366,6 @@ function MeshOrAccountSelectAsset({
|
|
|
15287
15366
|
const [fetchAssetsError, setFetchAssetsError] = useState40("");
|
|
15288
15367
|
const hasFetchAssetsError = !!fetchAssetsError;
|
|
15289
15368
|
const [selectedChainTokenSymbol, setSelectedChainTokenSymbol] = useState40("");
|
|
15290
|
-
const [recommendedAsset, setRecommendedAsset] = useState40(null);
|
|
15291
15369
|
const { checkoutItem, updateSourceAsset } = useFunkitPreCheckoutInternal(checkoutId);
|
|
15292
15370
|
const { isCheckoutCrFlow } = useCheckoutType(checkoutItem);
|
|
15293
15371
|
const draftDollarValueNormalized = checkoutItem?.draftDollarValue || 0;
|
|
@@ -15413,7 +15491,7 @@ function MeshOrAccountSelectAsset({
|
|
|
15413
15491
|
});
|
|
15414
15492
|
return itemMap;
|
|
15415
15493
|
}, [checkoutItem?.initSettings.config.targetChain, walletAssets]);
|
|
15416
|
-
|
|
15494
|
+
useEffect31(() => {
|
|
15417
15495
|
async function fetchAccountHoldings() {
|
|
15418
15496
|
const isMapInited = Object.keys(accountHoldingsMap).length > 0;
|
|
15419
15497
|
setIsLoadingAssets(!isMapInited);
|
|
@@ -15458,6 +15536,16 @@ function MeshOrAccountSelectAsset({
|
|
|
15458
15536
|
}
|
|
15459
15537
|
return [];
|
|
15460
15538
|
}, [checkoutItem, accountHoldingsMap]);
|
|
15539
|
+
const recommendedAsset = useMemo31(() => {
|
|
15540
|
+
if (checkoutItem?.draftDollarValue) {
|
|
15541
|
+
return getRecommendedAsset(
|
|
15542
|
+
checkoutItem,
|
|
15543
|
+
accountHoldingsMap,
|
|
15544
|
+
isWeb3Login,
|
|
15545
|
+
isWeb2Login
|
|
15546
|
+
);
|
|
15547
|
+
}
|
|
15548
|
+
}, [accountHoldingsMap, checkoutItem, isWeb2Login, isWeb3Login]);
|
|
15461
15549
|
const assetOptions = useMemo31(() => {
|
|
15462
15550
|
if (!checkoutItem || !checkoutItem.selectedPaymentMethodInfo?.paymentMethod)
|
|
15463
15551
|
return [];
|
|
@@ -15501,8 +15589,7 @@ function MeshOrAccountSelectAsset({
|
|
|
15501
15589
|
checkoutItem,
|
|
15502
15590
|
isWeb2Login,
|
|
15503
15591
|
isWeb3Login,
|
|
15504
|
-
recommendedAsset
|
|
15505
|
-
recommendedAsset?.symbol
|
|
15592
|
+
recommendedAsset
|
|
15506
15593
|
]);
|
|
15507
15594
|
const onClickContinue = useCallback28(() => {
|
|
15508
15595
|
if (selectedChainTokenSymbol && !checkoutItem?.isDrafting) {
|
|
@@ -15528,7 +15615,7 @@ function MeshOrAccountSelectAsset({
|
|
|
15528
15615
|
const showQuoteMessage = messageType === "step" && !hasError;
|
|
15529
15616
|
const errorMessage = useMemo31(() => {
|
|
15530
15617
|
if (hasFetchAssetsError) {
|
|
15531
|
-
return /* @__PURE__ */
|
|
15618
|
+
return /* @__PURE__ */ React166.createElement("div", null, fetchAssetsError, /* @__PURE__ */ React166.createElement(
|
|
15532
15619
|
FunLinkButton,
|
|
15533
15620
|
{
|
|
15534
15621
|
text: "Unlink.",
|
|
@@ -15556,35 +15643,17 @@ function MeshOrAccountSelectAsset({
|
|
|
15556
15643
|
checkoutItem?.selectedPaymentMethodInfo?.meta?.accessToken?.brokerName,
|
|
15557
15644
|
onBack
|
|
15558
15645
|
]);
|
|
15559
|
-
|
|
15646
|
+
useEffect31(() => {
|
|
15560
15647
|
if (checkoutItem?.isDrafting) {
|
|
15561
15648
|
setSelectedChainTokenSymbol("");
|
|
15562
15649
|
setInsufficientAssetError("");
|
|
15563
15650
|
}
|
|
15564
15651
|
}, [checkoutItem?.isDrafting]);
|
|
15565
|
-
|
|
15566
|
-
if (
|
|
15567
|
-
setRecommendedAsset(
|
|
15568
|
-
getRecommendedAsset(
|
|
15569
|
-
checkoutItem,
|
|
15570
|
-
accountHoldingsMap,
|
|
15571
|
-
isWeb3Login,
|
|
15572
|
-
isWeb2Login
|
|
15573
|
-
)
|
|
15574
|
-
);
|
|
15575
|
-
}
|
|
15576
|
-
}, [
|
|
15577
|
-
checkoutItem,
|
|
15578
|
-
accountHoldingsMap,
|
|
15579
|
-
isWeb2Login,
|
|
15580
|
-
selectedChainTokenSymbol,
|
|
15581
|
-
isWeb3Login
|
|
15582
|
-
]);
|
|
15583
|
-
useEffect32(() => {
|
|
15584
|
-
if (recommendedAsset) {
|
|
15652
|
+
useEffect31(() => {
|
|
15653
|
+
if (recommendedAsset && !selectedChainTokenSymbol) {
|
|
15585
15654
|
setSelectedChainTokenSymbol(recommendedAsset.symbol);
|
|
15586
15655
|
}
|
|
15587
|
-
}, [recommendedAsset]);
|
|
15656
|
+
}, [recommendedAsset, selectedChainTokenSymbol]);
|
|
15588
15657
|
const handleAssetSelect = (chainSymbolKey) => {
|
|
15589
15658
|
setSelectedChainTokenSymbol(chainSymbolKey);
|
|
15590
15659
|
clearCheckoutQuoteMessages();
|
|
@@ -15601,7 +15670,7 @@ function MeshOrAccountSelectAsset({
|
|
|
15601
15670
|
const bottomSectionRef = document.getElementById(CHECKOUT_MODAL_BOTTOM_BAR_ID);
|
|
15602
15671
|
const walletAssetCount = walletAssets ? Object.keys(walletAssets).length : void 0;
|
|
15603
15672
|
const isAssetsEmpty = assetOptions.length === 0;
|
|
15604
|
-
return /* @__PURE__ */
|
|
15673
|
+
return /* @__PURE__ */ React166.createElement(Box, null, isLoadingAssets ? /* @__PURE__ */ React166.createElement(Box, { display: "flex", flexDirection: "column" }, Array.from({ length: walletAssetCount ?? 3 }).map((_, index) => /* @__PURE__ */ React166.createElement(FunAssetItemSkeleton, { key: index }))) : /* @__PURE__ */ React166.createElement(
|
|
15605
15674
|
Box,
|
|
15606
15675
|
{
|
|
15607
15676
|
width: "full",
|
|
@@ -15611,9 +15680,9 @@ function MeshOrAccountSelectAsset({
|
|
|
15611
15680
|
flexDirection: "column",
|
|
15612
15681
|
gap: "4"
|
|
15613
15682
|
},
|
|
15614
|
-
isAssetsEmpty ? /* @__PURE__ */
|
|
15683
|
+
isAssetsEmpty ? /* @__PURE__ */ React166.createElement(FunNoResults, null, "No assets found") : /* @__PURE__ */ React166.createElement(React166.Fragment, null, !!defaultTokenSymbols.length && /* @__PURE__ */ React166.createElement(Box, { display: "flex", flexDirection: "column", gap: "4" }, /* @__PURE__ */ React166.createElement(Box, { color: "secondaryText", fontSize: "10", fontWeight: "regular" }, "Default tokens"), /* @__PURE__ */ React166.createElement(Box, { display: "flex", flexDirection: "column" }, assetOptions.filter(
|
|
15615
15684
|
(asset) => defaultTokenSymbols.includes(asset.chainSymbolKey)
|
|
15616
|
-
).map((asset) => /* @__PURE__ */
|
|
15685
|
+
).map((asset) => /* @__PURE__ */ React166.createElement(
|
|
15617
15686
|
FunAssetItem,
|
|
15618
15687
|
{
|
|
15619
15688
|
key: asset.chainSymbolKey,
|
|
@@ -15623,9 +15692,9 @@ function MeshOrAccountSelectAsset({
|
|
|
15623
15692
|
badgeText: asset.badgeText,
|
|
15624
15693
|
onClick: () => handleAssetSelect(asset.chainSymbolKey)
|
|
15625
15694
|
}
|
|
15626
|
-
))), /* @__PURE__ */
|
|
15695
|
+
))), /* @__PURE__ */ React166.createElement(Box, { color: "secondaryText", fontSize: "10", fontWeight: "regular" }, "All tokens")), /* @__PURE__ */ React166.createElement(Box, { display: "flex", flexDirection: "column" }, assetOptions.filter(
|
|
15627
15696
|
(asset) => !defaultTokenSymbols.includes(asset.chainSymbolKey)
|
|
15628
|
-
).map((asset) => /* @__PURE__ */
|
|
15697
|
+
).map((asset) => /* @__PURE__ */ React166.createElement(
|
|
15629
15698
|
FunAssetItem,
|
|
15630
15699
|
{
|
|
15631
15700
|
key: asset.chainSymbolKey,
|
|
@@ -15637,10 +15706,10 @@ function MeshOrAccountSelectAsset({
|
|
|
15637
15706
|
}
|
|
15638
15707
|
))))
|
|
15639
15708
|
), bottomSectionRef && createPortal8(
|
|
15640
|
-
/* @__PURE__ */
|
|
15709
|
+
/* @__PURE__ */ React166.createElement(
|
|
15641
15710
|
Dialog.BottomBar,
|
|
15642
15711
|
{
|
|
15643
|
-
topSection: /* @__PURE__ */
|
|
15712
|
+
topSection: /* @__PURE__ */ React166.createElement(
|
|
15644
15713
|
FunNotification,
|
|
15645
15714
|
{
|
|
15646
15715
|
isVisible: hasError,
|
|
@@ -15667,9 +15736,9 @@ function FunCheckoutSelectAssetStep({
|
|
|
15667
15736
|
isOnFinishLoading
|
|
15668
15737
|
}) {
|
|
15669
15738
|
const { checkoutItem } = useFunkitPreCheckoutInternal(checkoutId);
|
|
15670
|
-
return /* @__PURE__ */
|
|
15739
|
+
return /* @__PURE__ */ React166.createElement(Box, { display: "flex", flexDirection: "column", gap: "24" }, isNotNullish(checkoutItem?.selectedPaymentMethodInfo?.paymentMethod) && ["brokerage" /* BROKERAGE */, "balance" /* ACCOUNT_BALANCE */].includes(
|
|
15671
15740
|
checkoutItem?.selectedPaymentMethodInfo?.paymentMethod
|
|
15672
|
-
) ? /* @__PURE__ */
|
|
15741
|
+
) ? /* @__PURE__ */ React166.createElement(
|
|
15673
15742
|
MeshOrAccountSelectAsset,
|
|
15674
15743
|
{
|
|
15675
15744
|
isOnFinishLoading,
|
|
@@ -15679,22 +15748,22 @@ function FunCheckoutSelectAssetStep({
|
|
|
15679
15748
|
}
|
|
15680
15749
|
) : (
|
|
15681
15750
|
// TODO: Support other payment method asset selection screens (if any) here
|
|
15682
|
-
/* @__PURE__ */
|
|
15751
|
+
/* @__PURE__ */ React166.createElement(Text, { color: "tertiaryText" }, "Unsupported payment method")
|
|
15683
15752
|
));
|
|
15684
15753
|
}
|
|
15685
15754
|
|
|
15686
15755
|
// src/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.tsx
|
|
15687
|
-
import
|
|
15756
|
+
import React167 from "react";
|
|
15688
15757
|
function FunCheckoutVerifyDetailsStep({
|
|
15689
15758
|
checkoutId,
|
|
15690
15759
|
onSelectPaymentMethod
|
|
15691
15760
|
}) {
|
|
15692
15761
|
const { checkoutItem } = useFunkitPreCheckoutInternal(checkoutId);
|
|
15693
15762
|
const isDraftDollarValueReady = isNotNullish(checkoutItem?.draftDollarValue) && !checkoutItem?.isDrafting;
|
|
15694
|
-
return /* @__PURE__ */
|
|
15763
|
+
return /* @__PURE__ */ React167.createElement(
|
|
15695
15764
|
FunPaymentMethods,
|
|
15696
15765
|
{
|
|
15697
|
-
primaryInfo: /* @__PURE__ */
|
|
15766
|
+
primaryInfo: /* @__PURE__ */ React167.createElement(
|
|
15698
15767
|
CheckoutPrimaryInfo,
|
|
15699
15768
|
{
|
|
15700
15769
|
checkoutId,
|
|
@@ -15749,7 +15818,7 @@ function useSourceAssetConfirm(checkoutId, setCheckoutStep) {
|
|
|
15749
15818
|
newPaymentMethodInfo = {
|
|
15750
15819
|
paymentMethod: "card" /* CARD */,
|
|
15751
15820
|
title: textCustomizations.debitOrCredit,
|
|
15752
|
-
titleIcon: /* @__PURE__ */
|
|
15821
|
+
titleIcon: /* @__PURE__ */ React168.createElement(
|
|
15753
15822
|
Box,
|
|
15754
15823
|
{
|
|
15755
15824
|
display: "flex",
|
|
@@ -15761,7 +15830,7 @@ function useSourceAssetConfirm(checkoutId, setCheckoutStep) {
|
|
|
15761
15830
|
PAYMENT_METHOD_ICONS["card" /* CARD */]
|
|
15762
15831
|
),
|
|
15763
15832
|
description: "",
|
|
15764
|
-
descriptionIcon: /* @__PURE__ */
|
|
15833
|
+
descriptionIcon: /* @__PURE__ */ React168.createElement(CombinedCreditCardOptionsIcon, null),
|
|
15765
15834
|
meta: {}
|
|
15766
15835
|
};
|
|
15767
15836
|
} else if (selectedPaymentMethod === "brokerage" /* BROKERAGE */) {
|
|
@@ -15878,7 +15947,7 @@ function useRefreshAsset(checkoutStep, onSourceAssetConfirmed) {
|
|
|
15878
15947
|
const [isRegeneratingQuote, setIsRegeneratingQuote] = useState41(false);
|
|
15879
15948
|
const [countdown, setCountdownSeconds] = useState41(0);
|
|
15880
15949
|
const [countdownKey, setCountdownKey] = useState41(1);
|
|
15881
|
-
|
|
15950
|
+
useEffect32(() => {
|
|
15882
15951
|
if (checkoutStep !== "confirmation" /* CONFIRMATION */) return;
|
|
15883
15952
|
intervalRef.current = setInterval(() => {
|
|
15884
15953
|
setTimeout(() => {
|
|
@@ -15959,7 +16028,7 @@ function FunCheckoutModal({
|
|
|
15959
16028
|
const { clearCheckoutQuoteMessages } = useCheckoutQuoteNotification(
|
|
15960
16029
|
checkoutId || ""
|
|
15961
16030
|
);
|
|
15962
|
-
|
|
16031
|
+
useEffect32(() => {
|
|
15963
16032
|
clearCheckoutQuoteMessages();
|
|
15964
16033
|
}, [checkoutStep]);
|
|
15965
16034
|
const navigateTo = (step) => {
|
|
@@ -16031,8 +16100,7 @@ function FunCheckoutModal({
|
|
|
16031
16100
|
checkoutItem?.isFastForwarded,
|
|
16032
16101
|
checkoutItem?.selectedPaymentMethodInfo?.paymentMethod,
|
|
16033
16102
|
checkoutStep,
|
|
16034
|
-
isCheckoutPostActionRequired
|
|
16035
|
-
textCustomizations.selectAccount
|
|
16103
|
+
isCheckoutPostActionRequired
|
|
16036
16104
|
]);
|
|
16037
16105
|
const onCloseWrapper = useCallback29(() => {
|
|
16038
16106
|
checkoutItem?.initSettings?.onClose?.();
|
|
@@ -16049,10 +16117,10 @@ function FunCheckoutModal({
|
|
|
16049
16117
|
);
|
|
16050
16118
|
const { isSourceAssetConfirming, onSourceAssetConfirmed } = useSourceAssetConfirm(checkoutId, setCheckoutStep);
|
|
16051
16119
|
const [triggerSymbol, triggerSourceAssetConfirmedFn] = useSymbolRefresh_default();
|
|
16052
|
-
|
|
16120
|
+
useEffect32(() => {
|
|
16053
16121
|
onSourceAssetConfirmed();
|
|
16054
16122
|
}, [triggerSymbol]);
|
|
16055
|
-
|
|
16123
|
+
useEffect32(() => {
|
|
16056
16124
|
if (checkoutItem && isCheckoutCrFlow && checkoutStep === "confirmation" /* CONFIRMATION */) {
|
|
16057
16125
|
onSourceAssetConfirmed();
|
|
16058
16126
|
}
|
|
@@ -16125,7 +16193,7 @@ function FunCheckoutModal({
|
|
|
16125
16193
|
const meshPreviewExpirationMs = meshMeta?.computedPreviewExpirationMs;
|
|
16126
16194
|
const selectedPaymentMethod = checkoutItem?.selectedPaymentMethodInfo?.paymentMethod;
|
|
16127
16195
|
const isMoonpayModal = checkoutStep === "payment_setup" /* PAYMENT_SETUP */ && selectedPaymentMethod === "card" /* CARD */;
|
|
16128
|
-
return /* @__PURE__ */
|
|
16196
|
+
return /* @__PURE__ */ React168.createElement(
|
|
16129
16197
|
Dialog,
|
|
16130
16198
|
{
|
|
16131
16199
|
open,
|
|
@@ -16133,13 +16201,13 @@ function FunCheckoutModal({
|
|
|
16133
16201
|
titleId: "fun-checkout-modal",
|
|
16134
16202
|
isHidden: isSoftHidden
|
|
16135
16203
|
},
|
|
16136
|
-
/* @__PURE__ */
|
|
16204
|
+
/* @__PURE__ */ React168.createElement(
|
|
16137
16205
|
Dialog.Title,
|
|
16138
16206
|
{
|
|
16139
|
-
hasBackButton: titleConfig.hasBack
|
|
16207
|
+
hasBackButton: titleConfig.hasBack,
|
|
16208
|
+
isBackDisabled: checkoutItem?.isQuoting,
|
|
16140
16209
|
onBack: titleConfig.onBack,
|
|
16141
16210
|
title: titleConfig.title,
|
|
16142
|
-
hasCloseButton: true,
|
|
16143
16211
|
onClose: onCloseWrapper,
|
|
16144
16212
|
countdownSeconds: checkoutStep === "confirmation" /* CONFIRMATION */ ? countdown : 0,
|
|
16145
16213
|
countdownKey: countdownKey.toString(),
|
|
@@ -16147,7 +16215,7 @@ function FunCheckoutModal({
|
|
|
16147
16215
|
dydxHideBack: checkoutStep === "input_amount" /* INPUT_AMOUNT */
|
|
16148
16216
|
}
|
|
16149
16217
|
),
|
|
16150
|
-
/* @__PURE__ */
|
|
16218
|
+
/* @__PURE__ */ React168.createElement(
|
|
16151
16219
|
Dialog.Content,
|
|
16152
16220
|
{
|
|
16153
16221
|
fullHeight: !mobile && checkoutStep === "input_amount" /* INPUT_AMOUNT */ || isMoonpayModal,
|
|
@@ -16155,7 +16223,7 @@ function FunCheckoutModal({
|
|
|
16155
16223
|
withTopDivider: true,
|
|
16156
16224
|
withBottomDivider: true
|
|
16157
16225
|
},
|
|
16158
|
-
/* @__PURE__ */
|
|
16226
|
+
/* @__PURE__ */ React168.createElement(
|
|
16159
16227
|
DydxSwitchTab,
|
|
16160
16228
|
{
|
|
16161
16229
|
checkoutItem,
|
|
@@ -16163,14 +16231,14 @@ function FunCheckoutModal({
|
|
|
16163
16231
|
onClose: onCloseWrapper
|
|
16164
16232
|
}
|
|
16165
16233
|
),
|
|
16166
|
-
checkoutStep === "input_amount" /* INPUT_AMOUNT */ ? /* @__PURE__ */
|
|
16234
|
+
checkoutStep === "input_amount" /* INPUT_AMOUNT */ ? /* @__PURE__ */ React168.createElement(
|
|
16167
16235
|
FunCheckoutInputAmountStep,
|
|
16168
16236
|
{
|
|
16169
16237
|
checkoutId: checkoutId || "",
|
|
16170
16238
|
onContinue: () => navigateTo("select_payment" /* SELECT_PAYMENT_METHOD */),
|
|
16171
16239
|
ticker: checkoutItem?.initSettings.config.targetAssetTicker
|
|
16172
16240
|
}
|
|
16173
|
-
) : checkoutStep === "select_payment" /* SELECT_PAYMENT_METHOD */ ? /* @__PURE__ */
|
|
16241
|
+
) : checkoutStep === "select_payment" /* SELECT_PAYMENT_METHOD */ ? /* @__PURE__ */ React168.createElement(
|
|
16174
16242
|
FunCheckoutVerifyDetailsStep,
|
|
16175
16243
|
{
|
|
16176
16244
|
checkoutId: checkoutId || "",
|
|
@@ -16179,7 +16247,7 @@ function FunCheckoutModal({
|
|
|
16179
16247
|
setCountdownSeconds(ESTIMATE_REFRESH_INTERVAL_SEC);
|
|
16180
16248
|
}
|
|
16181
16249
|
}
|
|
16182
|
-
) : checkoutStep === "payment_setup" /* PAYMENT_SETUP */ ? /* @__PURE__ */
|
|
16250
|
+
) : checkoutStep === "payment_setup" /* PAYMENT_SETUP */ ? /* @__PURE__ */ React168.createElement(
|
|
16183
16251
|
FunPaymentSetup,
|
|
16184
16252
|
{
|
|
16185
16253
|
key: checkoutStep,
|
|
@@ -16193,14 +16261,14 @@ function FunCheckoutModal({
|
|
|
16193
16261
|
redirectToCheckoutHistory,
|
|
16194
16262
|
isParentLoading: !!checkoutItem?.isDrafting
|
|
16195
16263
|
}
|
|
16196
|
-
) : checkoutStep === "connect_exchange" /* CONNECT_EXCHANGE */ && selectedExchange ? /* @__PURE__ */
|
|
16264
|
+
) : checkoutStep === "connect_exchange" /* CONNECT_EXCHANGE */ && selectedExchange ? /* @__PURE__ */ React168.createElement(
|
|
16197
16265
|
FunCheckoutConnectExchangeStep,
|
|
16198
16266
|
{
|
|
16199
16267
|
onSetup: handleSetup,
|
|
16200
16268
|
onSoftHide: setIsSoftHidden,
|
|
16201
16269
|
exchange: selectedExchange
|
|
16202
16270
|
}
|
|
16203
|
-
) : checkoutStep === "select_asset" /* SELECT_ASSET */ ? /* @__PURE__ */
|
|
16271
|
+
) : checkoutStep === "select_asset" /* SELECT_ASSET */ ? /* @__PURE__ */ React168.createElement(
|
|
16204
16272
|
FunCheckoutSelectAssetStep,
|
|
16205
16273
|
{
|
|
16206
16274
|
checkoutId,
|
|
@@ -16208,7 +16276,7 @@ function FunCheckoutModal({
|
|
|
16208
16276
|
onFinish: triggerSourceAssetConfirmedFn,
|
|
16209
16277
|
onBack: titleConfig.onBack
|
|
16210
16278
|
}
|
|
16211
|
-
) : checkoutStep === "confirmation" /* CONFIRMATION */ ? /* @__PURE__ */
|
|
16279
|
+
) : checkoutStep === "confirmation" /* CONFIRMATION */ ? /* @__PURE__ */ React168.createElement(
|
|
16212
16280
|
FunCheckoutConfirmationStep,
|
|
16213
16281
|
{
|
|
16214
16282
|
isRegeneratingQuote,
|
|
@@ -16228,7 +16296,7 @@ function FunCheckoutModal({
|
|
|
16228
16296
|
clearInterval(intervalRef.current);
|
|
16229
16297
|
}
|
|
16230
16298
|
}
|
|
16231
|
-
) : checkoutStep === "mesh_verification" /* MESH_VERIFICATION */ ? /* @__PURE__ */
|
|
16299
|
+
) : checkoutStep === "mesh_verification" /* MESH_VERIFICATION */ ? /* @__PURE__ */ React168.createElement(
|
|
16232
16300
|
FunMeshVerificationStep,
|
|
16233
16301
|
{
|
|
16234
16302
|
previewId: meshPreviewResult?.previewId,
|
|
@@ -16242,7 +16310,7 @@ function FunCheckoutModal({
|
|
|
16242
16310
|
}
|
|
16243
16311
|
) : null
|
|
16244
16312
|
),
|
|
16245
|
-
/* @__PURE__ */
|
|
16313
|
+
/* @__PURE__ */ React168.createElement(Dialog.BottomSection, { id: CHECKOUT_MODAL_BOTTOM_BAR_ID })
|
|
16246
16314
|
);
|
|
16247
16315
|
}
|
|
16248
16316
|
|
|
@@ -16335,10 +16403,10 @@ function ModalProvider({ children }) {
|
|
|
16335
16403
|
onConnect: () => closeModals(isUnauthenticated),
|
|
16336
16404
|
onDisconnect: closeModals
|
|
16337
16405
|
});
|
|
16338
|
-
|
|
16406
|
+
useEffect33(() => {
|
|
16339
16407
|
if (isUnauthenticated) closeModals();
|
|
16340
16408
|
}, [isUnauthenticated]);
|
|
16341
|
-
return /* @__PURE__ */
|
|
16409
|
+
return /* @__PURE__ */ React169.createElement(
|
|
16342
16410
|
ModalContext.Provider,
|
|
16343
16411
|
{
|
|
16344
16412
|
value: useMemo33(
|
|
@@ -16382,10 +16450,10 @@ function ModalProvider({ children }) {
|
|
|
16382
16450
|
)
|
|
16383
16451
|
},
|
|
16384
16452
|
children,
|
|
16385
|
-
/* @__PURE__ */
|
|
16386
|
-
/* @__PURE__ */
|
|
16387
|
-
/* @__PURE__ */
|
|
16388
|
-
/* @__PURE__ */
|
|
16453
|
+
/* @__PURE__ */ React169.createElement(ConnectModal, { onClose: closeConnectModal, open: connectModalOpen }),
|
|
16454
|
+
/* @__PURE__ */ React169.createElement(AccountModal, { onClose: closeAccountModal, open: accountModalOpen }),
|
|
16455
|
+
/* @__PURE__ */ React169.createElement(ChainModal, { onClose: closeChainModal, open: chainModalOpen }),
|
|
16456
|
+
/* @__PURE__ */ React169.createElement(
|
|
16389
16457
|
FunCheckoutModal,
|
|
16390
16458
|
{
|
|
16391
16459
|
onClose: closeFunCheckoutModal,
|
|
@@ -16394,7 +16462,7 @@ function ModalProvider({ children }) {
|
|
|
16394
16462
|
key: funCheckoutModalId
|
|
16395
16463
|
}
|
|
16396
16464
|
),
|
|
16397
|
-
depositAddressInitialPageCombined ? /* @__PURE__ */
|
|
16465
|
+
depositAddressInitialPageCombined ? /* @__PURE__ */ React169.createElement(
|
|
16398
16466
|
FunCheckoutHistoryModal,
|
|
16399
16467
|
{
|
|
16400
16468
|
onClose: closeFunCheckoutHistoryModal,
|
|
@@ -16407,7 +16475,7 @@ function ModalProvider({ children }) {
|
|
|
16407
16475
|
).initialPage
|
|
16408
16476
|
}
|
|
16409
16477
|
) : null,
|
|
16410
|
-
/* @__PURE__ */
|
|
16478
|
+
/* @__PURE__ */ React169.createElement(
|
|
16411
16479
|
FunDevTestModal,
|
|
16412
16480
|
{
|
|
16413
16481
|
onClose: closeFunDevTestModal,
|
|
@@ -16766,7 +16834,7 @@ var FunkitWeb2Provider = ({
|
|
|
16766
16834
|
},
|
|
16767
16835
|
[]
|
|
16768
16836
|
);
|
|
16769
|
-
|
|
16837
|
+
useEffect34(() => {
|
|
16770
16838
|
const newPrivy = new PrivyJS({
|
|
16771
16839
|
appId: DEFAULT_PRIVY_APP_ID,
|
|
16772
16840
|
storage: new LocalStorage(),
|
|
@@ -16969,7 +17037,7 @@ var FunkitWeb2Provider = ({
|
|
|
16969
17037
|
}
|
|
16970
17038
|
}
|
|
16971
17039
|
}, [handleFunkitWeb2Login, initChainId, loginMethod]);
|
|
16972
|
-
|
|
17040
|
+
useEffect34(() => {
|
|
16973
17041
|
if (privy && privyIframeUrl && isNotNullish(initChainId)) {
|
|
16974
17042
|
const iframe = document.getElementById(
|
|
16975
17043
|
PRIVY_IFRAME_ID
|
|
@@ -17150,7 +17218,7 @@ var FunkitWeb2Provider = ({
|
|
|
17150
17218
|
handleFunkitWeb2Logout,
|
|
17151
17219
|
web2UserInfo
|
|
17152
17220
|
};
|
|
17153
|
-
return /* @__PURE__ */
|
|
17221
|
+
return /* @__PURE__ */ React170.createElement(FunkitWeb2Context.Provider, { value: contextValue }, privyIframeUrl ? /* @__PURE__ */ React170.createElement(
|
|
17154
17222
|
"iframe",
|
|
17155
17223
|
{
|
|
17156
17224
|
id: PRIVY_IFRAME_ID,
|
|
@@ -17182,26 +17250,26 @@ function useConnectionStatus() {
|
|
|
17182
17250
|
}
|
|
17183
17251
|
|
|
17184
17252
|
// src/components/FunkitProvider/ShowBalanceContext.tsx
|
|
17185
|
-
import
|
|
17253
|
+
import React171, { createContext as createContext17, useContext as useContext19, useState as useState44 } from "react";
|
|
17186
17254
|
var ShowBalanceContext = createContext17({
|
|
17187
17255
|
showBalance: void 0,
|
|
17188
17256
|
setShowBalance: () => void 0
|
|
17189
17257
|
});
|
|
17190
17258
|
function ShowBalanceProvider({ children }) {
|
|
17191
17259
|
const [showBalance, setShowBalance] = useState44();
|
|
17192
|
-
return /* @__PURE__ */
|
|
17260
|
+
return /* @__PURE__ */ React171.createElement(ShowBalanceContext.Provider, { value: { showBalance, setShowBalance } }, children);
|
|
17193
17261
|
}
|
|
17194
17262
|
var useShowBalance = () => useContext19(ShowBalanceContext);
|
|
17195
17263
|
|
|
17196
17264
|
// src/components/ConnectButton/ConnectButtonRenderer.tsx
|
|
17197
|
-
import
|
|
17265
|
+
import React172 from "react";
|
|
17198
17266
|
import { useAccount as useAccount12, useBalance, useConfig as useConfig6 } from "wagmi";
|
|
17199
17267
|
|
|
17200
17268
|
// src/hooks/useIsMounted.ts
|
|
17201
|
-
import { useCallback as useCallback32, useEffect as
|
|
17269
|
+
import { useCallback as useCallback32, useEffect as useEffect35, useState as useState45 } from "react";
|
|
17202
17270
|
function useIsMounted() {
|
|
17203
17271
|
const [isMounted, setIsMounted] = useState45(false);
|
|
17204
|
-
|
|
17272
|
+
useEffect35(() => {
|
|
17205
17273
|
setIsMounted(true);
|
|
17206
17274
|
return () => {
|
|
17207
17275
|
setIsMounted(false);
|
|
@@ -17279,7 +17347,7 @@ function ConnectButtonRenderer({
|
|
|
17279
17347
|
const { openChainModal } = useChainModal();
|
|
17280
17348
|
const { openAccountModal } = useAccountModal();
|
|
17281
17349
|
const { accountModalOpen, chainModalOpen, connectModalOpen } = useModalState();
|
|
17282
|
-
return /* @__PURE__ */
|
|
17350
|
+
return /* @__PURE__ */ React172.createElement(React172.Fragment, null, children({
|
|
17283
17351
|
account: address ? {
|
|
17284
17352
|
address,
|
|
17285
17353
|
balanceDecimals: balanceData?.decimals,
|
|
@@ -17336,7 +17404,7 @@ function ChainSelectorButton({
|
|
|
17336
17404
|
chain
|
|
17337
17405
|
}) {
|
|
17338
17406
|
const { i18n: i18n2 } = useContext20(I18nContext);
|
|
17339
|
-
return /* @__PURE__ */
|
|
17407
|
+
return /* @__PURE__ */ React173.createElement(
|
|
17340
17408
|
Box,
|
|
17341
17409
|
{
|
|
17342
17410
|
alignItems: "center",
|
|
@@ -17364,7 +17432,7 @@ function ChainSelectorButton({
|
|
|
17364
17432
|
type: "button",
|
|
17365
17433
|
...connectButtonStyles
|
|
17366
17434
|
},
|
|
17367
|
-
unsupportedChain ? /* @__PURE__ */
|
|
17435
|
+
unsupportedChain ? /* @__PURE__ */ React173.createElement(Box, { alignItems: "center", display: "flex", height: "24", paddingX: "4" }, i18n2.t("connect_wallet.wrong_network.label")) : /* @__PURE__ */ React173.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, chain.hasIcon ? /* @__PURE__ */ React173.createElement(
|
|
17368
17436
|
Box,
|
|
17369
17437
|
{
|
|
17370
17438
|
display: mapResponsiveValue(
|
|
@@ -17374,7 +17442,7 @@ function ChainSelectorButton({
|
|
|
17374
17442
|
height: "12",
|
|
17375
17443
|
width: "12"
|
|
17376
17444
|
},
|
|
17377
|
-
/* @__PURE__ */
|
|
17445
|
+
/* @__PURE__ */ React173.createElement(
|
|
17378
17446
|
AsyncImage,
|
|
17379
17447
|
{
|
|
17380
17448
|
alt: chain.name ?? "Chain icon",
|
|
@@ -17385,7 +17453,7 @@ function ChainSelectorButton({
|
|
|
17385
17453
|
src: chain.iconUrl
|
|
17386
17454
|
}
|
|
17387
17455
|
)
|
|
17388
|
-
) : null, /* @__PURE__ */
|
|
17456
|
+
) : null, /* @__PURE__ */ React173.createElement(
|
|
17389
17457
|
Box,
|
|
17390
17458
|
{
|
|
17391
17459
|
display: mapResponsiveValue(chainStatus, (value) => {
|
|
@@ -17405,7 +17473,7 @@ function AccountButton({
|
|
|
17405
17473
|
showBalance,
|
|
17406
17474
|
accountStatus
|
|
17407
17475
|
}) {
|
|
17408
|
-
return /* @__PURE__ */
|
|
17476
|
+
return /* @__PURE__ */ React173.createElement(
|
|
17409
17477
|
Box,
|
|
17410
17478
|
{
|
|
17411
17479
|
alignItems: "center",
|
|
@@ -17425,7 +17493,7 @@ function AccountButton({
|
|
|
17425
17493
|
gap: "16",
|
|
17426
17494
|
...connectButtonStyles
|
|
17427
17495
|
},
|
|
17428
|
-
account.displayBalance && /* @__PURE__ */
|
|
17496
|
+
account.displayBalance && /* @__PURE__ */ React173.createElement(
|
|
17429
17497
|
Box,
|
|
17430
17498
|
{
|
|
17431
17499
|
display: mapResponsiveValue(
|
|
@@ -17435,7 +17503,7 @@ function AccountButton({
|
|
|
17435
17503
|
},
|
|
17436
17504
|
account.displayBalance
|
|
17437
17505
|
),
|
|
17438
|
-
/* @__PURE__ */
|
|
17506
|
+
/* @__PURE__ */ React173.createElement(Box, { alignItems: "center", display: "flex", gap: "6" }, /* @__PURE__ */ React173.createElement(
|
|
17439
17507
|
Box,
|
|
17440
17508
|
{
|
|
17441
17509
|
display: mapResponsiveValue(
|
|
@@ -17443,7 +17511,7 @@ function AccountButton({
|
|
|
17443
17511
|
(value) => value === "full" || value === "avatar" ? "block" : "none"
|
|
17444
17512
|
)
|
|
17445
17513
|
},
|
|
17446
|
-
/* @__PURE__ */
|
|
17514
|
+
/* @__PURE__ */ React173.createElement(
|
|
17447
17515
|
Avatar,
|
|
17448
17516
|
{
|
|
17449
17517
|
address: account.address,
|
|
@@ -17452,7 +17520,7 @@ function AccountButton({
|
|
|
17452
17520
|
size: 12
|
|
17453
17521
|
}
|
|
17454
17522
|
)
|
|
17455
|
-
), /* @__PURE__ */
|
|
17523
|
+
), /* @__PURE__ */ React173.createElement(
|
|
17456
17524
|
Box,
|
|
17457
17525
|
{
|
|
17458
17526
|
display: mapResponsiveValue(
|
|
@@ -17480,11 +17548,11 @@ function ConnectButton({
|
|
|
17480
17548
|
const { setShowBalance } = useShowBalance();
|
|
17481
17549
|
const [ready, setReady] = useState46(false);
|
|
17482
17550
|
const { i18n: i18n2 } = useContext20(I18nContext);
|
|
17483
|
-
|
|
17551
|
+
useEffect36(() => {
|
|
17484
17552
|
setShowBalance(showBalance);
|
|
17485
17553
|
if (!ready) setReady(true);
|
|
17486
17554
|
}, [showBalance, setShowBalance, ready]);
|
|
17487
|
-
return ready ? /* @__PURE__ */
|
|
17555
|
+
return ready ? /* @__PURE__ */ React173.createElement(ConnectButtonRenderer, null, ({
|
|
17488
17556
|
account,
|
|
17489
17557
|
chain,
|
|
17490
17558
|
mounted,
|
|
@@ -17494,7 +17562,7 @@ function ConnectButton({
|
|
|
17494
17562
|
}) => {
|
|
17495
17563
|
const ready2 = mounted && connectionStatus !== "loading";
|
|
17496
17564
|
const unsupportedChain = chain?.unsupported ?? false;
|
|
17497
|
-
return /* @__PURE__ */
|
|
17565
|
+
return /* @__PURE__ */ React173.createElement(
|
|
17498
17566
|
Box,
|
|
17499
17567
|
{
|
|
17500
17568
|
display: "flex",
|
|
@@ -17510,7 +17578,7 @@ function ConnectButton({
|
|
|
17510
17578
|
},
|
|
17511
17579
|
ready2 && account && connectionStatus === "connected" ? (
|
|
17512
17580
|
// Logged in: Chain Button & Account Button
|
|
17513
|
-
/* @__PURE__ */
|
|
17581
|
+
/* @__PURE__ */ React173.createElement(React173.Fragment, null, showChainSelector && chain && (chains.length > 1 || unsupportedChain) && /* @__PURE__ */ React173.createElement(
|
|
17514
17582
|
ChainSelectorButton,
|
|
17515
17583
|
{
|
|
17516
17584
|
unsupportedChain,
|
|
@@ -17518,7 +17586,7 @@ function ConnectButton({
|
|
|
17518
17586
|
openChainModal,
|
|
17519
17587
|
chain
|
|
17520
17588
|
}
|
|
17521
|
-
), !unsupportedChain && /* @__PURE__ */
|
|
17589
|
+
), !unsupportedChain && /* @__PURE__ */ React173.createElement(
|
|
17522
17590
|
AccountButton,
|
|
17523
17591
|
{
|
|
17524
17592
|
openAccountModal,
|
|
@@ -17529,7 +17597,7 @@ function ConnectButton({
|
|
|
17529
17597
|
))
|
|
17530
17598
|
) : (
|
|
17531
17599
|
// Not logged in: Connect Button
|
|
17532
|
-
/* @__PURE__ */
|
|
17600
|
+
/* @__PURE__ */ React173.createElement(
|
|
17533
17601
|
Box,
|
|
17534
17602
|
{
|
|
17535
17603
|
as: "button",
|
|
@@ -17547,18 +17615,18 @@ function ConnectButton({
|
|
|
17547
17615
|
type: "button",
|
|
17548
17616
|
...connectButtonStyles
|
|
17549
17617
|
},
|
|
17550
|
-
/* @__PURE__ */
|
|
17618
|
+
/* @__PURE__ */ React173.createElement(Box, { display: "flex", gap: "8", alignItems: "center" }, mounted && label === "Connect Wallet" ? i18n2.t("connect_wallet.label") : label, suffixIcon)
|
|
17551
17619
|
)
|
|
17552
17620
|
)
|
|
17553
17621
|
);
|
|
17554
|
-
}) : /* @__PURE__ */
|
|
17622
|
+
}) : /* @__PURE__ */ React173.createElement(React173.Fragment, null);
|
|
17555
17623
|
}
|
|
17556
17624
|
ConnectButton.__defaultProps = defaultProps;
|
|
17557
17625
|
ConnectButton.Custom = ConnectButtonRenderer;
|
|
17558
17626
|
|
|
17559
17627
|
// src/components/FunkitProvider/FunkitProvider.tsx
|
|
17560
17628
|
import { QueryClientProvider } from "@tanstack/react-query";
|
|
17561
|
-
import
|
|
17629
|
+
import React177, { createContext as createContext19, useContext as useContext21 } from "react";
|
|
17562
17630
|
import { useAccountEffect as useAccountEffect3, WagmiProvider } from "wagmi";
|
|
17563
17631
|
|
|
17564
17632
|
// src/config/getDefaultConfig.ts
|
|
@@ -18354,33 +18422,33 @@ var defaultAppInfo = {
|
|
|
18354
18422
|
var AppContext = createContext18(defaultAppInfo);
|
|
18355
18423
|
|
|
18356
18424
|
// src/components/FunkitProvider/useFingerprint.ts
|
|
18357
|
-
import { useCallback as useCallback33, useEffect as
|
|
18425
|
+
import { useCallback as useCallback33, useEffect as useEffect37 } from "react";
|
|
18358
18426
|
var storageKey5 = "funkit-connect-version";
|
|
18359
18427
|
function setFunkitConnectVersion({ version }) {
|
|
18360
18428
|
localStorage.setItem(storageKey5, version);
|
|
18361
18429
|
}
|
|
18362
18430
|
function getCurrentSdkVersion() {
|
|
18363
|
-
return "3.0.0-next.
|
|
18431
|
+
return "3.0.0-next.7";
|
|
18364
18432
|
}
|
|
18365
18433
|
function useFingerprint() {
|
|
18366
18434
|
const fingerprint = useCallback33(() => {
|
|
18367
18435
|
setFunkitConnectVersion({ version: getCurrentSdkVersion() });
|
|
18368
18436
|
}, []);
|
|
18369
|
-
|
|
18437
|
+
useEffect37(() => {
|
|
18370
18438
|
fingerprint();
|
|
18371
18439
|
}, [fingerprint]);
|
|
18372
18440
|
}
|
|
18373
18441
|
|
|
18374
18442
|
// src/components/FunkitProvider/usePreloadImages.ts
|
|
18375
|
-
import { useCallback as useCallback34, useEffect as
|
|
18443
|
+
import { useCallback as useCallback34, useEffect as useEffect38 } from "react";
|
|
18376
18444
|
|
|
18377
18445
|
// src/components/Icons/Assets.tsx
|
|
18378
|
-
import
|
|
18446
|
+
import React175 from "react";
|
|
18379
18447
|
var src = async () => (await import("./assets-NU2OP443.js")).default;
|
|
18380
18448
|
var preloadAssetsIcon = () => loadImages(src);
|
|
18381
18449
|
|
|
18382
18450
|
// src/components/Icons/Login.tsx
|
|
18383
|
-
import
|
|
18451
|
+
import React176 from "react";
|
|
18384
18452
|
var src2 = async () => (await import("./login-CWDTIDNK.js")).default;
|
|
18385
18453
|
var preloadLoginIcon = () => loadImages(src2);
|
|
18386
18454
|
|
|
@@ -18398,7 +18466,7 @@ function usePreloadImages() {
|
|
|
18398
18466
|
preloadLoginIcon();
|
|
18399
18467
|
}
|
|
18400
18468
|
}, [walletConnectors, funkitConnectChains]);
|
|
18401
|
-
|
|
18469
|
+
useEffect38(() => {
|
|
18402
18470
|
preloadImages();
|
|
18403
18471
|
}, [preloadImages]);
|
|
18404
18472
|
}
|
|
@@ -18432,7 +18500,7 @@ function FunkitProvider(props) {
|
|
|
18432
18500
|
!!props.debug,
|
|
18433
18501
|
getCurrentSdkVersion()
|
|
18434
18502
|
);
|
|
18435
|
-
const MainChild = /* @__PURE__ */
|
|
18503
|
+
const MainChild = /* @__PURE__ */ React177.createElement(FunkitThemeProvider, { theme: props.theme }, /* @__PURE__ */ React177.createElement(
|
|
18436
18504
|
FunkitProviderInner,
|
|
18437
18505
|
{
|
|
18438
18506
|
appInfo: props.appInfo,
|
|
@@ -18447,7 +18515,7 @@ function FunkitProvider(props) {
|
|
|
18447
18515
|
},
|
|
18448
18516
|
props.children
|
|
18449
18517
|
));
|
|
18450
|
-
return finalWagmiConfig && finalQueryClient ? /* @__PURE__ */
|
|
18518
|
+
return finalWagmiConfig && finalQueryClient ? /* @__PURE__ */ React177.createElement(WagmiProvider, { config: finalWagmiConfig }, /* @__PURE__ */ React177.createElement(QueryClientProvider, { client: finalQueryClient }, MainChild)) : MainChild;
|
|
18451
18519
|
}
|
|
18452
18520
|
function FunkitProviderInner({
|
|
18453
18521
|
appInfo,
|
|
@@ -18473,7 +18541,7 @@ function FunkitProviderInner({
|
|
|
18473
18541
|
const avatarContext = avatar ?? defaultAvatar;
|
|
18474
18542
|
const isSandboxMode = !!sandbox;
|
|
18475
18543
|
const modalSizeFinal = modalSize || ModalSizeOptions.COMPACT;
|
|
18476
|
-
return /* @__PURE__ */
|
|
18544
|
+
return /* @__PURE__ */ React177.createElement(FunkitConfigContext.Provider, { value: funkitConfig }, /* @__PURE__ */ React177.createElement(FunkitConnectChainProvider, { initialChain }, /* @__PURE__ */ React177.createElement(I18nProvider, { locale }, /* @__PURE__ */ React177.createElement(ModalSizeProvider, { modalSize: modalSizeFinal }, /* @__PURE__ */ React177.createElement(FunkitWeb2Provider, null, /* @__PURE__ */ React177.createElement(GeneralWalletProvider, null, /* @__PURE__ */ React177.createElement(FunkitCheckoutProvider, null, /* @__PURE__ */ React177.createElement(FunkitSandboxContext.Provider, { value: isSandboxMode }, /* @__PURE__ */ React177.createElement(FunkitMeshProvider, null, /* @__PURE__ */ React177.createElement(AvatarContext.Provider, { value: avatarContext }, /* @__PURE__ */ React177.createElement(AppContext.Provider, { value: appContext }, /* @__PURE__ */ React177.createElement(ThemeIdContext2.Provider, { value: id }, /* @__PURE__ */ React177.createElement(ShowBalanceProvider, null, /* @__PURE__ */ React177.createElement(FunToastProvider, null, /* @__PURE__ */ React177.createElement(FunkitMoonpayProvider, { debug: !!debug }, /* @__PURE__ */ React177.createElement(ModalProvider, null, activeTheme ? /* @__PURE__ */ React177.createElement(
|
|
18477
18545
|
"div",
|
|
18478
18546
|
{
|
|
18479
18547
|
...createThemeRootProps2(id),
|
|
@@ -18482,7 +18550,7 @@ function FunkitProviderInner({
|
|
|
18482
18550
|
height: "100%"
|
|
18483
18551
|
}
|
|
18484
18552
|
},
|
|
18485
|
-
/* @__PURE__ */
|
|
18553
|
+
/* @__PURE__ */ React177.createElement(
|
|
18486
18554
|
"style",
|
|
18487
18555
|
{
|
|
18488
18556
|
dangerouslySetInnerHTML: {
|
|
@@ -18503,9 +18571,9 @@ function FunkitProviderInner({
|
|
|
18503
18571
|
}
|
|
18504
18572
|
|
|
18505
18573
|
// src/components/Icons/FunkitPaymentsIconLine.tsx
|
|
18506
|
-
import
|
|
18574
|
+
import React178 from "react";
|
|
18507
18575
|
function MetaMaskPaymentIcon({ size = 16 }) {
|
|
18508
|
-
return /* @__PURE__ */
|
|
18576
|
+
return /* @__PURE__ */ React178.createElement(
|
|
18509
18577
|
"svg",
|
|
18510
18578
|
{
|
|
18511
18579
|
width: size,
|
|
@@ -18514,7 +18582,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18514
18582
|
fill: "none",
|
|
18515
18583
|
xmlns: "http://www.w3.org/2000/svg"
|
|
18516
18584
|
},
|
|
18517
|
-
/* @__PURE__ */
|
|
18585
|
+
/* @__PURE__ */ React178.createElement(
|
|
18518
18586
|
"path",
|
|
18519
18587
|
{
|
|
18520
18588
|
d: "M24.0891 3.1199L15.3446 9.61456L16.9617 5.7828L24.0891 3.1199Z",
|
|
@@ -18525,7 +18593,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18525
18593
|
strokeLinejoin: "round"
|
|
18526
18594
|
}
|
|
18527
18595
|
),
|
|
18528
|
-
/* @__PURE__ */
|
|
18596
|
+
/* @__PURE__ */ React178.createElement(
|
|
18529
18597
|
"path",
|
|
18530
18598
|
{
|
|
18531
18599
|
d: "M3.90207 3.1199L12.5763 9.67608L11.0383 5.7828L3.90207 3.1199Z",
|
|
@@ -18536,7 +18604,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18536
18604
|
strokeLinejoin: "round"
|
|
18537
18605
|
}
|
|
18538
18606
|
),
|
|
18539
|
-
/* @__PURE__ */
|
|
18607
|
+
/* @__PURE__ */ React178.createElement(
|
|
18540
18608
|
"path",
|
|
18541
18609
|
{
|
|
18542
18610
|
d: "M20.9429 18.1745L18.6139 21.7426L23.597 23.1136L25.0295 18.2536L20.9429 18.1745Z",
|
|
@@ -18547,7 +18615,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18547
18615
|
strokeLinejoin: "round"
|
|
18548
18616
|
}
|
|
18549
18617
|
),
|
|
18550
|
-
/* @__PURE__ */
|
|
18618
|
+
/* @__PURE__ */ React178.createElement(
|
|
18551
18619
|
"path",
|
|
18552
18620
|
{
|
|
18553
18621
|
d: "M2.97929 18.2536L4.40301 23.1136L9.38607 21.7426L7.05713 18.1745L2.97929 18.2536Z",
|
|
@@ -18558,7 +18626,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18558
18626
|
strokeLinejoin: "round"
|
|
18559
18627
|
}
|
|
18560
18628
|
),
|
|
18561
|
-
/* @__PURE__ */
|
|
18629
|
+
/* @__PURE__ */ React178.createElement(
|
|
18562
18630
|
"path",
|
|
18563
18631
|
{
|
|
18564
18632
|
d: "M9.10483 12.1456L7.71626 14.2461L12.6642 14.4658L12.4884 9.14877L9.10483 12.1456Z",
|
|
@@ -18569,7 +18637,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18569
18637
|
strokeLinejoin: "round"
|
|
18570
18638
|
}
|
|
18571
18639
|
),
|
|
18572
|
-
/* @__PURE__ */
|
|
18640
|
+
/* @__PURE__ */ React178.createElement(
|
|
18573
18641
|
"path",
|
|
18574
18642
|
{
|
|
18575
18643
|
d: "M18.8864 12.1456L15.4589 9.08725L15.3446 14.4658L20.2837 14.2461L18.8864 12.1456Z",
|
|
@@ -18580,7 +18648,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18580
18648
|
strokeLinejoin: "round"
|
|
18581
18649
|
}
|
|
18582
18650
|
),
|
|
18583
|
-
/* @__PURE__ */
|
|
18651
|
+
/* @__PURE__ */ React178.createElement(
|
|
18584
18652
|
"path",
|
|
18585
18653
|
{
|
|
18586
18654
|
d: "M9.38606 21.7426L12.3566 20.2925L9.79033 18.2888L9.38606 21.7426Z",
|
|
@@ -18591,7 +18659,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18591
18659
|
strokeLinejoin: "round"
|
|
18592
18660
|
}
|
|
18593
18661
|
),
|
|
18594
|
-
/* @__PURE__ */
|
|
18662
|
+
/* @__PURE__ */ React178.createElement(
|
|
18595
18663
|
"path",
|
|
18596
18664
|
{
|
|
18597
18665
|
d: "M15.6347 20.2925L18.6139 21.7426L18.2009 18.2888L15.6347 20.2925Z",
|
|
@@ -18602,7 +18670,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18602
18670
|
strokeLinejoin: "round"
|
|
18603
18671
|
}
|
|
18604
18672
|
),
|
|
18605
|
-
/* @__PURE__ */
|
|
18673
|
+
/* @__PURE__ */ React178.createElement(
|
|
18606
18674
|
"path",
|
|
18607
18675
|
{
|
|
18608
18676
|
d: "M18.6139 21.7426L15.6347 20.2925L15.8719 22.2348L15.8456 23.0521L18.6139 21.7426Z",
|
|
@@ -18613,7 +18681,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18613
18681
|
strokeLinejoin: "round"
|
|
18614
18682
|
}
|
|
18615
18683
|
),
|
|
18616
|
-
/* @__PURE__ */
|
|
18684
|
+
/* @__PURE__ */ React178.createElement(
|
|
18617
18685
|
"path",
|
|
18618
18686
|
{
|
|
18619
18687
|
d: "M9.38606 21.7426L12.1544 23.0521L12.1368 22.2348L12.3566 20.2925L9.38606 21.7426Z",
|
|
@@ -18624,7 +18692,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18624
18692
|
strokeLinejoin: "round"
|
|
18625
18693
|
}
|
|
18626
18694
|
),
|
|
18627
|
-
/* @__PURE__ */
|
|
18695
|
+
/* @__PURE__ */ React178.createElement(
|
|
18628
18696
|
"path",
|
|
18629
18697
|
{
|
|
18630
18698
|
d: "M12.1984 17.0056L9.72002 16.2762L11.4689 15.4765L12.1984 17.0056Z",
|
|
@@ -18635,7 +18703,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18635
18703
|
strokeLinejoin: "round"
|
|
18636
18704
|
}
|
|
18637
18705
|
),
|
|
18638
|
-
/* @__PURE__ */
|
|
18706
|
+
/* @__PURE__ */ React178.createElement(
|
|
18639
18707
|
"path",
|
|
18640
18708
|
{
|
|
18641
18709
|
d: "M15.7928 17.0056L16.5223 15.4765L18.28 16.2762L15.7928 17.0056Z",
|
|
@@ -18646,7 +18714,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18646
18714
|
strokeLinejoin: "round"
|
|
18647
18715
|
}
|
|
18648
18716
|
),
|
|
18649
|
-
/* @__PURE__ */
|
|
18717
|
+
/* @__PURE__ */ React178.createElement(
|
|
18650
18718
|
"path",
|
|
18651
18719
|
{
|
|
18652
18720
|
d: "M9.38606 21.7426L9.80791 18.1745L7.05712 18.2536L9.38606 21.7426Z",
|
|
@@ -18657,7 +18725,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18657
18725
|
strokeLinejoin: "round"
|
|
18658
18726
|
}
|
|
18659
18727
|
),
|
|
18660
|
-
/* @__PURE__ */
|
|
18728
|
+
/* @__PURE__ */ React178.createElement(
|
|
18661
18729
|
"path",
|
|
18662
18730
|
{
|
|
18663
18731
|
d: "M18.1921 18.1745L18.6139 21.7426L20.9429 18.2536L18.1921 18.1745Z",
|
|
@@ -18668,7 +18736,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18668
18736
|
strokeLinejoin: "round"
|
|
18669
18737
|
}
|
|
18670
18738
|
),
|
|
18671
|
-
/* @__PURE__ */
|
|
18739
|
+
/* @__PURE__ */ React178.createElement(
|
|
18672
18740
|
"path",
|
|
18673
18741
|
{
|
|
18674
18742
|
d: "M20.2837 14.2461L15.3446 14.4658L15.8016 17.0057L16.5311 15.4765L18.2888 16.2762L20.2837 14.2461Z",
|
|
@@ -18679,7 +18747,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18679
18747
|
strokeLinejoin: "round"
|
|
18680
18748
|
}
|
|
18681
18749
|
),
|
|
18682
|
-
/* @__PURE__ */
|
|
18750
|
+
/* @__PURE__ */ React178.createElement(
|
|
18683
18751
|
"path",
|
|
18684
18752
|
{
|
|
18685
18753
|
d: "M9.72002 16.2762L11.4777 15.4765L12.1984 17.0057L12.6642 14.4658L7.71626 14.2461L9.72002 16.2762Z",
|
|
@@ -18690,7 +18758,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18690
18758
|
strokeLinejoin: "round"
|
|
18691
18759
|
}
|
|
18692
18760
|
),
|
|
18693
|
-
/* @__PURE__ */
|
|
18761
|
+
/* @__PURE__ */ React178.createElement(
|
|
18694
18762
|
"path",
|
|
18695
18763
|
{
|
|
18696
18764
|
d: "M7.71626 14.2461L9.79033 18.2888L9.72002 16.2762L7.71626 14.2461Z",
|
|
@@ -18701,7 +18769,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18701
18769
|
strokeLinejoin: "round"
|
|
18702
18770
|
}
|
|
18703
18771
|
),
|
|
18704
|
-
/* @__PURE__ */
|
|
18772
|
+
/* @__PURE__ */ React178.createElement(
|
|
18705
18773
|
"path",
|
|
18706
18774
|
{
|
|
18707
18775
|
d: "M18.2888 16.2762L18.2009 18.2888L20.2837 14.2461L18.2888 16.2762Z",
|
|
@@ -18712,7 +18780,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18712
18780
|
strokeLinejoin: "round"
|
|
18713
18781
|
}
|
|
18714
18782
|
),
|
|
18715
|
-
/* @__PURE__ */
|
|
18783
|
+
/* @__PURE__ */ React178.createElement(
|
|
18716
18784
|
"path",
|
|
18717
18785
|
{
|
|
18718
18786
|
d: "M12.6642 14.4658L12.1984 17.0057L12.7784 20.0025L12.9102 16.0565L12.6642 14.4658Z",
|
|
@@ -18723,7 +18791,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18723
18791
|
strokeLinejoin: "round"
|
|
18724
18792
|
}
|
|
18725
18793
|
),
|
|
18726
|
-
/* @__PURE__ */
|
|
18794
|
+
/* @__PURE__ */ React178.createElement(
|
|
18727
18795
|
"path",
|
|
18728
18796
|
{
|
|
18729
18797
|
d: "M15.3446 14.4658L15.1073 16.0477L15.2128 20.0025L15.8016 17.0057L15.3446 14.4658Z",
|
|
@@ -18734,7 +18802,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18734
18802
|
strokeLinejoin: "round"
|
|
18735
18803
|
}
|
|
18736
18804
|
),
|
|
18737
|
-
/* @__PURE__ */
|
|
18805
|
+
/* @__PURE__ */ React178.createElement(
|
|
18738
18806
|
"path",
|
|
18739
18807
|
{
|
|
18740
18808
|
d: "M15.8016 17.0056L15.2128 20.0025L15.6347 20.2925L18.2009 18.2888L18.2888 16.2762L15.8016 17.0056Z",
|
|
@@ -18745,7 +18813,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18745
18813
|
strokeLinejoin: "round"
|
|
18746
18814
|
}
|
|
18747
18815
|
),
|
|
18748
|
-
/* @__PURE__ */
|
|
18816
|
+
/* @__PURE__ */ React178.createElement(
|
|
18749
18817
|
"path",
|
|
18750
18818
|
{
|
|
18751
18819
|
d: "M9.72002 16.2762L9.79033 18.2888L12.3566 20.2925L12.7784 20.0025L12.1984 17.0056L9.72002 16.2762Z",
|
|
@@ -18756,7 +18824,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18756
18824
|
strokeLinejoin: "round"
|
|
18757
18825
|
}
|
|
18758
18826
|
),
|
|
18759
|
-
/* @__PURE__ */
|
|
18827
|
+
/* @__PURE__ */ React178.createElement(
|
|
18760
18828
|
"path",
|
|
18761
18829
|
{
|
|
18762
18830
|
d: "M15.8456 23.0521L15.8719 22.2348L15.6522 22.0414H12.339L12.1368 22.2348L12.1544 23.0521L9.38606 21.7426L10.3528 22.5336L12.3126 23.8958H15.6786L17.6472 22.5336L18.6139 21.7426L15.8456 23.0521Z",
|
|
@@ -18767,7 +18835,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18767
18835
|
strokeLinejoin: "round"
|
|
18768
18836
|
}
|
|
18769
18837
|
),
|
|
18770
|
-
/* @__PURE__ */
|
|
18838
|
+
/* @__PURE__ */ React178.createElement(
|
|
18771
18839
|
"path",
|
|
18772
18840
|
{
|
|
18773
18841
|
d: "M15.6347 20.2925L15.2128 20.0025H12.7784L12.3566 20.2925L12.1368 22.2348L12.339 22.0414H15.6522L15.8719 22.2348L15.6347 20.2925Z",
|
|
@@ -18778,7 +18846,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18778
18846
|
strokeLinejoin: "round"
|
|
18779
18847
|
}
|
|
18780
18848
|
),
|
|
18781
|
-
/* @__PURE__ */
|
|
18849
|
+
/* @__PURE__ */ React178.createElement(
|
|
18782
18850
|
"path",
|
|
18783
18851
|
{
|
|
18784
18852
|
d: "M24.4583 10.0364L25.2053 6.45072L24.0891 3.1199L15.6347 9.39485L18.8864 12.1456L23.4827 13.4903L24.5022 12.3038L24.0628 11.9874L24.7658 11.3459L24.221 10.924L24.924 10.3879L24.4583 10.0364Z",
|
|
@@ -18789,7 +18857,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18789
18857
|
strokeLinejoin: "round"
|
|
18790
18858
|
}
|
|
18791
18859
|
),
|
|
18792
|
-
/* @__PURE__ */
|
|
18860
|
+
/* @__PURE__ */ React178.createElement(
|
|
18793
18861
|
"path",
|
|
18794
18862
|
{
|
|
18795
18863
|
d: "M2.79472 6.45072L3.54174 10.0364L3.06717 10.3879L3.77024 10.924L3.23415 11.3459L3.93722 11.9874L3.4978 12.3038L4.50847 13.4903L9.10483 12.1456L12.3566 9.39485L3.90207 3.1199L2.79472 6.45072Z",
|
|
@@ -18800,7 +18868,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18800
18868
|
strokeLinejoin: "round"
|
|
18801
18869
|
}
|
|
18802
18870
|
),
|
|
18803
|
-
/* @__PURE__ */
|
|
18871
|
+
/* @__PURE__ */ React178.createElement(
|
|
18804
18872
|
"path",
|
|
18805
18873
|
{
|
|
18806
18874
|
d: "M23.4827 13.4903L18.8864 12.1456L20.2837 14.2461L18.2009 18.2888L20.9429 18.2536H25.0295L23.4827 13.4903Z",
|
|
@@ -18811,7 +18879,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18811
18879
|
strokeLinejoin: "round"
|
|
18812
18880
|
}
|
|
18813
18881
|
),
|
|
18814
|
-
/* @__PURE__ */
|
|
18882
|
+
/* @__PURE__ */ React178.createElement(
|
|
18815
18883
|
"path",
|
|
18816
18884
|
{
|
|
18817
18885
|
d: "M9.10484 12.1456L4.50848 13.4903L2.97929 18.2536H7.05713L9.79033 18.2888L7.71626 14.2461L9.10484 12.1456Z",
|
|
@@ -18822,7 +18890,7 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18822
18890
|
strokeLinejoin: "round"
|
|
18823
18891
|
}
|
|
18824
18892
|
),
|
|
18825
|
-
/* @__PURE__ */
|
|
18893
|
+
/* @__PURE__ */ React178.createElement(
|
|
18826
18894
|
"path",
|
|
18827
18895
|
{
|
|
18828
18896
|
d: "M15.3446 14.4658L15.6347 9.39485L16.9705 5.7828H11.0383L12.3566 9.39485L12.6642 14.4658L12.7696 16.0653L12.7784 20.0025H15.2128L15.2304 16.0653L15.3446 14.4658Z",
|
|
@@ -18836,14 +18904,14 @@ function MetaMaskPaymentIcon({ size = 16 }) {
|
|
|
18836
18904
|
);
|
|
18837
18905
|
}
|
|
18838
18906
|
function MastercardPaymentIcon({ size = 16 }) {
|
|
18839
|
-
return /* @__PURE__ */
|
|
18907
|
+
return /* @__PURE__ */ React178.createElement(
|
|
18840
18908
|
"svg",
|
|
18841
18909
|
{
|
|
18842
18910
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18843
18911
|
height: size,
|
|
18844
18912
|
viewBox: "0 0 152.407 108"
|
|
18845
18913
|
},
|
|
18846
|
-
/* @__PURE__ */
|
|
18914
|
+
/* @__PURE__ */ React178.createElement("g", null, /* @__PURE__ */ React178.createElement("rect", { width: "152.407", height: "108", fill: "transparent" }), /* @__PURE__ */ React178.createElement("g", null, /* @__PURE__ */ React178.createElement(
|
|
18847
18915
|
"rect",
|
|
18848
18916
|
{
|
|
18849
18917
|
x: "60.4117",
|
|
@@ -18852,21 +18920,21 @@ function MastercardPaymentIcon({ size = 16 }) {
|
|
|
18852
18920
|
height: "56.6064",
|
|
18853
18921
|
fill: "#ff5f00"
|
|
18854
18922
|
}
|
|
18855
|
-
), /* @__PURE__ */
|
|
18923
|
+
), /* @__PURE__ */ React178.createElement(
|
|
18856
18924
|
"path",
|
|
18857
18925
|
{
|
|
18858
18926
|
d: "M382.20839,306a35.9375,35.9375,0,0,1,13.7499-28.3032,36,36,0,1,0,0,56.6064A35.938,35.938,0,0,1,382.20839,306Z",
|
|
18859
18927
|
transform: "translate(-319.79649 -252)",
|
|
18860
18928
|
fill: "#eb001b"
|
|
18861
18929
|
}
|
|
18862
|
-
), /* @__PURE__ */
|
|
18930
|
+
), /* @__PURE__ */ React178.createElement(
|
|
18863
18931
|
"path",
|
|
18864
18932
|
{
|
|
18865
18933
|
d: "M454.20349,306a35.99867,35.99867,0,0,1-58.2452,28.3032,36.00518,36.00518,0,0,0,0-56.6064A35.99867,35.99867,0,0,1,454.20349,306Z",
|
|
18866
18934
|
transform: "translate(-319.79649 -252)",
|
|
18867
18935
|
fill: "#f79e1b"
|
|
18868
18936
|
}
|
|
18869
|
-
), /* @__PURE__ */
|
|
18937
|
+
), /* @__PURE__ */ React178.createElement(
|
|
18870
18938
|
"path",
|
|
18871
18939
|
{
|
|
18872
18940
|
d: "M450.76889,328.3077v-1.1589h.4673v-.2361h-1.1901v.2361h.4675v1.1589Zm2.3105,0v-1.3973h-.3648l-.41959.9611-.41971-.9611h-.365v1.3973h.2576v-1.054l.3935.9087h.2671l.39351-.911v1.0563Z",
|
|
@@ -18880,7 +18948,7 @@ function FunkitPaymentsIconLine({
|
|
|
18880
18948
|
size = 16,
|
|
18881
18949
|
gap = "2"
|
|
18882
18950
|
}) {
|
|
18883
|
-
return /* @__PURE__ */
|
|
18951
|
+
return /* @__PURE__ */ React178.createElement(
|
|
18884
18952
|
Box,
|
|
18885
18953
|
{
|
|
18886
18954
|
display: "flex",
|
|
@@ -18889,9 +18957,9 @@ function FunkitPaymentsIconLine({
|
|
|
18889
18957
|
alignItems: "center",
|
|
18890
18958
|
justifyContent: "center"
|
|
18891
18959
|
},
|
|
18892
|
-
/* @__PURE__ */
|
|
18893
|
-
/* @__PURE__ */
|
|
18894
|
-
/* @__PURE__ */
|
|
18960
|
+
/* @__PURE__ */ React178.createElement(MetaMaskPaymentIcon, { size }),
|
|
18961
|
+
/* @__PURE__ */ React178.createElement(MastercardPaymentIcon, { size }),
|
|
18962
|
+
/* @__PURE__ */ React178.createElement(CoinbaseIcon, { size })
|
|
18895
18963
|
);
|
|
18896
18964
|
}
|
|
18897
18965
|
|