everest-npm-features 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Alert-CbQZ8Nii.js → Alert-CUoIVlUd.js} +8 -7
- package/dist/{ArrowBack-BoYSBb8u.js → ArrowBack-BV158RTp.js} +1 -1
- package/dist/Avatar-CwczQLPi.js +280 -0
- package/dist/{Backdrop-CJBRZv_z.js → Backdrop-yR8IRnFX.js} +1 -1
- package/dist/{Box-B12x52NC.js → Box-BwKpr_VI.js} +1 -1
- package/dist/{Button-C57IMamW.js → Button-tAfK4lud.js} +13 -12
- package/dist/{ButtonBase-DugIO1pR.js → ButtonBase-CaH152Zd.js} +1 -1
- package/dist/{Cancel-D1JNu4Hj.js → Cancel-BoEk0xRy.js} +1 -1
- package/dist/{CardContent-CbObWW6t.js → CardContent-ZS4vlcvi.js} +2 -2
- package/dist/{CircularProgress-t8uGhLMo.js → CircularProgress-Yx712vpT.js} +7 -6
- package/dist/{Close-jnEgOCZv.js → Close-B_8kEwSt.js} +1 -1
- package/dist/{Close-VV7zb3cu.js → Close-CFg1QB5M.js} +1 -1
- package/dist/{Container-B3Af6Sc3.js → Container-CBPBT38n.js} +2 -2
- package/dist/{ContentCopy-Ufwoeeov.js → ContentCopy-D4Eg7Nkm.js} +1 -1
- package/dist/DefaultPropsProvider-4P82EuVL.js +232 -0
- package/dist/{Delete-TCARcVtU.js → Delete-BGp4FPdE.js} +1 -1
- package/dist/{DialogContent-DzidtXui.js → DialogContent-_gvZOy18.js} +13 -12
- package/dist/{DialogTitle-Bg61Hr7M.js → DialogTitle-dq22bYlF.js} +3 -3
- package/dist/{Divider-Dy5hKfey.js → Divider-CIL55YSC.js} +10 -9
- package/dist/{ErrorOutline-CI_ys3Zo.js → ErrorOutline-BykbFh0r.js} +1 -1
- package/dist/{FileDownload-BcYF17B0.js → FileDownload-BSy7tA6m.js} +1 -1
- package/dist/{FilledInput-DrGeWgue.js → FilledInput-QaJVaeIX.js} +12 -14
- package/dist/{FormControl-DeeQCuu5.js → FormControl-H4D1Z6Ov.js} +1 -1
- package/dist/{FormControlLabel-DVnrJkC8.js → FormControlLabel-BvI1nkJ1.js} +7 -6
- package/dist/{Grid-BXyV_lM8.js → Grid-CPkjiKqX.js} +2 -2
- package/dist/{IconButton-eWRhV6Q9.js → IconButton-WneJM4uP.js} +10 -9
- package/dist/{Info-D2UkGxyK.js → Info-0vSsl6Bm.js} +1 -1
- package/dist/{InputAdornment-BKuUMfPj.js → InputAdornment-Bqn4-Kns.js} +6 -5
- package/dist/{Link-Cm4BkRHO.js → Link-DhdK4VfZ.js} +6 -5
- package/dist/{ListItemIcon-GKRFb1Gr.js → ListItemIcon-D657XWHf.js} +15 -14
- package/dist/Menu-BAFJBGa-.js +1238 -0
- package/dist/{MenuItem-CeCt0bfa.js → MenuItem-ByxiQtY2.js} +36 -35
- package/dist/{Modal-csf3Y8d2.js → Modal-DEfOsvWK.js} +16 -15
- package/dist/{Paper-CnStNE24.js → Paper-jx_cZiyU.js} +27 -26
- package/dist/{PlayArrow-DRCGjsrx.js → PlayArrow-BCWGWaUq.js} +1 -1
- package/dist/{Popper-pPBEFLi4.js → Popper-B1He9eVi.js} +1 -1
- package/dist/{RadioGroup-KiyYjXaT.js → RadioGroup-_-H2gvH2.js} +3 -3
- package/dist/Select-CGei0bav.js +1885 -0
- package/dist/{Stack-CcR5RCg8.js → Stack-DH-Nxf9q.js} +2 -2
- package/dist/{SwitchBase-CHO5ZceN.js → SwitchBase-BDUzpdBf.js} +2 -2
- package/dist/{TextField-q_SeLeNd.js → TextField-DmiK1A_S.js} +17 -16
- package/dist/{Typography-DBlMiOti.js → Typography-BQDN44CM.js} +16 -15
- package/dist/assets/documents.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/assets/styles3.css +1 -1
- package/dist/assets/tokenRow.css +1 -1
- package/dist/assets/withThemeProvider.css +1 -1
- package/dist/{auth-Bf9zHZ-x.js → auth-SxpGte_3.js} +1 -1
- package/dist/{bank-BC4YNBRb.js → bank-DyVf4Uoo.js} +6 -6
- package/dist/components/RocketRamp/MinimalKyc/form.js +13 -12
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/index.js +16 -14
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
- package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
- package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
- package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
- package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
- package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
- package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
- package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
- package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
- package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
- package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/Transactions/index.js +4 -4
- package/dist/components/Shared/FullKyc/index.js +4 -4
- package/dist/components/Shared/FullKyc/pep.js +9 -9
- package/dist/components/Shared/FullKyc/personalDetails.js +10 -9
- package/dist/components/Shared/FullKyc/userInfo.js +15 -14
- package/dist/components/Shared/HistoryItem/index.js +64 -65
- package/dist/components/Shared/Incode/index.js +5 -5
- package/dist/components/Shared/MinimalKyc/index.js +8 -8
- package/dist/components/Shared/loader.js +2 -2
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Wallet/Account/createIban.js +76 -85
- package/dist/components/Wallet/Account/iban.d.ts +5 -1
- package/dist/components/Wallet/Account/iban.js +223 -25
- package/dist/components/Wallet/Account/index.js +144 -149
- package/dist/components/Wallet/Account/sendIban.js +25 -27
- package/dist/components/Wallet/Buy/confirmTransaction.js +8 -8
- package/dist/components/Wallet/Buy/form.js +21 -20
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +25 -24
- package/dist/components/Wallet/EnterpriseKyc/edd.js +23 -22
- package/dist/components/Wallet/EnterpriseKyc/index.js +15 -14
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +26 -25
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +30 -28
- package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/verify.js +8 -7
- package/dist/components/Wallet/History/index.js +111 -112
- package/dist/components/Wallet/Home/index.d.ts +5 -0
- package/dist/components/Wallet/Home/index.js +20 -0
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +18 -17
- package/dist/components/Wallet/Portfolio/dropdown.d.ts +14 -0
- package/dist/components/Wallet/Portfolio/dropdown.js +76 -0
- package/dist/components/Wallet/Portfolio/index.js +309 -304
- package/dist/components/Wallet/Portfolio/tokenRow.js +5 -7
- package/dist/components/Wallet/Profile/documents.js +18 -18
- package/dist/components/Wallet/Profile/index.js +152 -419
- package/dist/components/Wallet/Receive/index.js +10 -10
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -8
- package/dist/components/Wallet/Sell/form.js +19 -19
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +20 -19
- package/dist/components/Wallet/Shared/Auth/emailForm.js +14 -13
- package/dist/components/Wallet/Shared/Auth/otpForm.d.ts +1 -1
- package/dist/components/Wallet/Shared/Auth/otpForm.js +98 -88
- package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +10 -12
- package/dist/components/Wallet/Shared/Container/index.d.ts +7 -4
- package/dist/components/Wallet/Shared/Container/index.js +62 -26
- package/dist/components/Wallet/Shared/Input/index.js +1 -1
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Wallet/Shared/Order/paymentButton.d.ts +2 -0
- package/dist/components/Wallet/Shared/Order/paymentButton.js +46 -0
- package/dist/components/Wallet/Shared/Order/types.d.ts +2 -0
- package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +13 -11
- package/dist/components/Wallet/Shared/addBank.js +44 -48
- package/dist/components/Wallet/Shared/appButton.d.ts +1 -1
- package/dist/components/Wallet/Shared/appButton.js +77 -57
- package/dist/components/Wallet/Shared/backBtn.js +2 -2
- package/dist/components/Wallet/Shared/button.js +1 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.d.ts +5 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.js +39 -38
- package/dist/components/Wallet/Shared/inputField.js +1 -1
- package/dist/components/Wallet/Shared/noData.js +7 -7
- package/dist/components/Wallet/Shared/pin.js +4 -4
- package/dist/components/Wallet/Shared/radioButton.js +3 -3
- package/dist/components/Wallet/Shared/step.js +2 -2
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/SignUp/terms.js +4 -4
- package/dist/components/Wallet/Stake/gems/index.js +11 -11
- package/dist/components/Wallet/Stake/id/index.js +12 -12
- package/dist/components/Wallet/Stake/index.js +30 -29
- package/dist/components/Wallet/Swap/index.js +112 -116
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
- package/dist/components/Wallet/Withdraw/bankSelect.js +12 -12
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +9 -9
- package/dist/components/Wallet/Withdraw/form.js +19 -18
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-CsMPRK0U.js → constants-BF50a6s-.js} +30 -30
- package/dist/context/dialogContext.d.ts +6 -0
- package/dist/context/dialogContext.js +13 -0
- package/dist/{createSvgIcon-CH41ZVFw.js → createSvgIcon-BgBEJXMh.js} +15 -14
- package/dist/cryptoAssets-Dck03SPI.js +16 -0
- package/dist/{dividerClasses-DnbM--4s.js → dividerClasses-BVK5cNr7.js} +1 -1
- package/dist/documents-Sh6RH769.js +549 -0
- package/dist/{fiatAssets-DVHfFafS.js → fiatAssets-CTIJw9N4.js} +1 -1
- package/dist/hooks/useDialog/index.js +35 -38
- package/dist/hooks/useRrDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +12 -11
- package/dist/index-BRwse7X5.js +631 -0
- package/dist/{index-DxX5Mo0o.js → index-CWzs4-wZ.js} +18 -18
- package/dist/{index-DZ__IpVI.js → index-CbogTdwW.js} +25 -24
- package/dist/{index-C9uGghB8.js → index-CmJNKC9m.js} +26 -26
- package/dist/{index-VE9lYjq3.js → index-D8j7wPDM.js} +15 -14
- package/dist/{index-eEYiDlpX.js → index-GxLtFwhs.js} +228 -230
- package/dist/{index-f15o1nhn.js → index-v4KC1K_V.js} +2 -2
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/{kyc-BweeW6k9.js → kyc-kWxxF1vI.js} +1 -1
- package/dist/main.d.ts +7 -0
- package/dist/main.js +66 -59
- package/dist/memoTheme-BUUB1UEO.js +15 -0
- package/dist/{order-DmTHC7ZG.js → order-D-FBHreS.js} +1 -1
- package/dist/{pep-C5Ge-kU4.js → pep-D8bFjgpy.js} +19 -18
- package/dist/{radioButton-Bgy7Kxxo.js → radioButton-CBcYX40o.js} +8 -7
- package/dist/{stake-B150utJI.js → stake-mS8fdG8g.js} +1 -1
- package/dist/styles.module-B-t8vvWh.js +31 -0
- package/dist/styles.module-verVx4pE.js +8 -0
- package/dist/tokenRow-DBnoUm0z.js +186 -0
- package/dist/{tooltip-DGtrVEzU.js → tooltip-Dv3Lfsa2.js} +5 -4
- package/dist/{useThemeProps-lRuJRcRX.js → useThemeProps-DLhzJP-y.js} +1 -1
- package/dist/util/constants.d.ts +5 -0
- package/dist/util/constants.js +88 -83
- package/dist/{wallet-DDW5KCHp.js → wallet-BTc5u8j2.js} +1 -1
- package/package.json +1 -1
- package/dist/ArrowDropDown-BC_iEASy.js +0 -8
- package/dist/ArrowRight-rYkfGJuF.js +0 -8
- package/dist/CheckCircle-CyxKX1TY.js +0 -8
- package/dist/DefaultPropsProvider-B2njZVNv.js +0 -242
- package/dist/Select-Chubcks_.js +0 -3108
- package/dist/assets/iban.css +0 -1
- package/dist/assets/index11.css +0 -1
- package/dist/cryptoAssets-CzNDY1j6.js +0 -16
- package/dist/documents-CEeV8SyW.js +0 -569
- package/dist/iban-DRT7i0vb.js +0 -275
- package/dist/index-BB3__zW3.js +0 -644
- package/dist/styles.module-BFHktEw2.js +0 -30
- package/dist/styles.module-DJk7Pf0F.js +0 -10
- package/dist/tokenRow-X6vlp1LH.js +0 -198
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as b } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
2
|
+
import { useRef as Le, useState as u, useEffect as y } from "react";
|
|
3
3
|
import { u as P, a as $e } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
-
import { P as Pe } from "../../../PlayArrow-
|
|
5
|
-
import { I as
|
|
6
|
-
import { G as
|
|
7
|
-
import { getCentralLedgetNetwork as
|
|
4
|
+
import { P as Pe } from "../../../PlayArrow-BCWGWaUq.js";
|
|
5
|
+
import { I as De } from "../../../Info-0vSsl6Bm.js";
|
|
6
|
+
import { G as Be } from "../../../generic-token-B_ptO5yb.js";
|
|
7
|
+
import { getCentralLedgetNetwork as D, getNetworkBackGround as ce, getCurrencySymbol as Ue } from "../../../util/functions.js";
|
|
8
8
|
import me from "../Shared/TokenModal/index.js";
|
|
9
9
|
import { formatNumberWithoutRounding as de } from "../../../util/conversions.js";
|
|
10
|
-
import { F as
|
|
11
|
-
import { u as qe } from "../../../index-
|
|
12
|
-
import { f as Ge, a as Ye, b as je } from "../../../cryptoAssets-
|
|
13
|
-
import { u as He } from "../../../wallet-
|
|
14
|
-
import { o as
|
|
10
|
+
import { F as A } from "../../../constants-BF50a6s-.js";
|
|
11
|
+
import { u as qe } from "../../../index-v4KC1K_V.js";
|
|
12
|
+
import { f as Ge, a as Ye, b as je } from "../../../cryptoAssets-Dck03SPI.js";
|
|
13
|
+
import { u as He } from "../../../wallet-BTc5u8j2.js";
|
|
14
|
+
import { o as B, a as Ke, b as Xe, c as Ve, d as Je } from "../../../order-D-FBHreS.js";
|
|
15
15
|
import { DIALOG_SUCCESS_ICON as Qe, TOKEN_TO_TOKEN as U, ARROW_ICON as Ze, ESTIMATE_TOOLTIP_TEXT as et } from "../../../util/constants.js";
|
|
16
|
-
import { M as tt } from "../../../tooltip-
|
|
17
|
-
import rt from "
|
|
18
|
-
import "../Shared/appButton.js";
|
|
16
|
+
import { M as tt } from "../../../tooltip-Dv3Lfsa2.js";
|
|
17
|
+
import { AuthContainer as rt } from "../Shared/Container/index.js";
|
|
18
|
+
import ot from "../Shared/appButton.js";
|
|
19
|
+
import at from "../../../hoc/withThemeProvider.js";
|
|
19
20
|
import "../Shared/Auth/otpForm.js";
|
|
20
|
-
import {
|
|
21
|
-
import { useSnackBarContext as at } from "../../../context/snackBarContext.js";
|
|
22
|
-
import { useDialog as nt } from "../../../hooks/useDialog/index.js";
|
|
21
|
+
import { useSnackBarContext as nt } from "../../../context/snackBarContext.js";
|
|
23
22
|
import "../../../index-CAoLi5Qq.js";
|
|
24
23
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
25
24
|
import "../../Shared/transition.js";
|
|
25
|
+
import { useDialog as st } from "../../../hooks/useDialog/index.js";
|
|
26
26
|
import "../Shared/pin.js";
|
|
27
27
|
import "../../../moment-h96o7c8I.js";
|
|
28
28
|
import "../../../index.esm-BsMAMhYW.js";
|
|
29
29
|
import "../../../web3-u4qDZYpo.js";
|
|
30
30
|
import "../../../index-B8QKlEgj.js";
|
|
31
31
|
import "../../../index-ceeCtFuh.js";
|
|
32
|
-
import { s
|
|
33
|
-
import
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { F as
|
|
38
|
-
import { F as
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
const it = ({ partnerKey:
|
|
32
|
+
import { s } from "../../../styles.module-B-t8vvWh.js";
|
|
33
|
+
import "../../../context/dialogContext.js";
|
|
34
|
+
import { B as k } from "../../../Box-BwKpr_VI.js";
|
|
35
|
+
import { G as n } from "../../../Grid-CPkjiKqX.js";
|
|
36
|
+
import { T as l } from "../../../Typography-BQDN44CM.js";
|
|
37
|
+
import { F as N } from "../../../FormControl-H4D1Z6Ov.js";
|
|
38
|
+
import { F as I } from "../../../FilledInput-QaJVaeIX.js";
|
|
39
|
+
import { F as ue, I as q } from "../../../TextField-DmiK1A_S.js";
|
|
40
|
+
import { C as h } from "../../../CircularProgress-Yx712vpT.js";
|
|
41
|
+
import { S as G } from "../../../Select-CGei0bav.js";
|
|
42
|
+
import { M as _ } from "../../../MenuItem-ByxiQtY2.js";
|
|
43
|
+
import { L as pe } from "../../../ListItemIcon-D657XWHf.js";
|
|
44
|
+
import { I as fe } from "../../../IconButton-WneJM4uP.js";
|
|
45
|
+
const it = ({ partnerKey: z, navigate: Y }) => {
|
|
46
46
|
var ie, le;
|
|
47
|
-
const j =
|
|
47
|
+
const j = Le(null), { openDialog: he, ConfirmDialog: xe } = st(), { showAlertMessage: d } = nt(), x = P((t) => t.order), w = P(
|
|
48
48
|
(t) => t.cryptoAssets
|
|
49
|
-
), H = P(qe), ge = H.data, { loader: be } = H, M = w.featureTokens.swap.inputList, r = w.featureTokens.swap.inputDefault, v = w.featureTokens.swap.outputList, o = w.featureTokens.swap.outputDefault, S = w.loader, O = x.error, K = x.create.order_id,
|
|
49
|
+
), H = P(qe), ge = H.data, { loader: be } = H, M = w.featureTokens.swap.inputList, r = w.featureTokens.swap.inputDefault, v = w.featureTokens.swap.outputList, o = w.featureTokens.swap.outputDefault, S = w.loader, O = x.error, K = x.create.order_id, C = x.loader, c = x.estimate[A], F = c.output_token.amount, X = c.conversion_price, ye = c.total_fee, T = Number((ie = c == null ? void 0 : c.input_token) == null ? void 0 : ie.fiat_amount), V = Number((le = c == null ? void 0 : c.output_token) == null ? void 0 : le.fiat_amount);
|
|
50
50
|
let J = 0, Q = 0;
|
|
51
51
|
const Z = c.fee_breakdown;
|
|
52
52
|
for (let t = 0; t < Z.length; t++) {
|
|
53
|
-
const
|
|
54
|
-
|
|
53
|
+
const i = Z[t];
|
|
54
|
+
i.name === "ev_fee" ? J = Number(i.value) : i.name === "network_fee" && (Q = Number(i.value));
|
|
55
55
|
}
|
|
56
|
-
const [g, R] = u("0.05"), [E, we] = u(!1), [ve, ee] = u(!1), [ke, te] = u(!1), [re, Ne] = u(!1), [
|
|
56
|
+
const [g, R] = u("0.05"), [E, we] = u(!1), [ve, ee] = u(!1), [ke, te] = u(!1), [re, Ne] = u(!1), [W, oe] = u(!1), [p, _e] = u(""), [L, Se] = u(50), [Ce, Fe] = u(1e4), [ae, Te] = u(""), Ae = /^([0-9]*(\,|\.)[0-9]+|[0-9]+)$/, $ = Ue("USD"), m = $e(), Ie = (t) => {
|
|
57
57
|
m(Ye(t));
|
|
58
|
-
},
|
|
58
|
+
}, ze = (t) => {
|
|
59
59
|
m(je(t));
|
|
60
60
|
};
|
|
61
61
|
y(() => {
|
|
62
|
-
K &&
|
|
62
|
+
K && W && he({
|
|
63
63
|
icon: Qe,
|
|
64
64
|
title: "Swap Success",
|
|
65
65
|
message: "Your transaction was successful for more details on the transaction, please view your transaction history.",
|
|
66
66
|
cancelButtonText: "Swap again",
|
|
67
67
|
onCancel: () => {
|
|
68
|
-
m(
|
|
68
|
+
m(B()), oe(!1);
|
|
69
69
|
},
|
|
70
70
|
confirmButtonText: "Track Order",
|
|
71
71
|
onConfirm: () => {
|
|
72
|
-
Y && Y("/history"), m(
|
|
72
|
+
Y && Y("/history"), m(B());
|
|
73
73
|
},
|
|
74
74
|
height: "490px"
|
|
75
75
|
});
|
|
@@ -77,22 +77,22 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
77
77
|
const t = j.current;
|
|
78
78
|
(t == null ? void 0 : t.id) === r.id && (t == null ? void 0 : t.wallet) === p || (j.current = { id: r.id, wallet: p }, m(
|
|
79
79
|
Ge({
|
|
80
|
-
type:
|
|
80
|
+
type: A,
|
|
81
81
|
id: r.id,
|
|
82
82
|
outputId: o.id,
|
|
83
83
|
walletAddress: p,
|
|
84
|
-
partnerKey:
|
|
84
|
+
partnerKey: z
|
|
85
85
|
})
|
|
86
86
|
));
|
|
87
87
|
}, [r.id, p]), y(() => (m(He()), m(Ke(U)), () => {
|
|
88
|
-
m(
|
|
88
|
+
m(B());
|
|
89
89
|
}), []), y(() => {
|
|
90
90
|
const t = x.types.length;
|
|
91
91
|
if (t > 0)
|
|
92
|
-
for (let
|
|
93
|
-
const f = x.types[
|
|
92
|
+
for (let i = 0; i < t; i++) {
|
|
93
|
+
const f = x.types[i];
|
|
94
94
|
if (f.type === U) {
|
|
95
|
-
Se(parseFloat(f.min_deposit_amount)),
|
|
95
|
+
Se(parseFloat(f.min_deposit_amount)), Fe(parseFloat(f.max_deposit_amount));
|
|
96
96
|
break;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -100,7 +100,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
100
100
|
O && d({ message: O });
|
|
101
101
|
}, [O]), y(() => {
|
|
102
102
|
if (o && o.id && g) {
|
|
103
|
-
m(Xe(
|
|
103
|
+
m(Xe(A)), we(!1), Te("");
|
|
104
104
|
const t = setTimeout(() => {
|
|
105
105
|
Me();
|
|
106
106
|
}, 1e3);
|
|
@@ -111,36 +111,36 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
111
111
|
r.network && o && o.network && m(
|
|
112
112
|
Ve(
|
|
113
113
|
{
|
|
114
|
-
apiKey:
|
|
114
|
+
apiKey: z,
|
|
115
115
|
transaction_type: U,
|
|
116
116
|
coin_amount: g,
|
|
117
117
|
input_token: r.symbol,
|
|
118
|
-
input_token_network:
|
|
118
|
+
input_token_network: D(
|
|
119
119
|
r.network.name
|
|
120
120
|
),
|
|
121
121
|
exchange: r.exchange,
|
|
122
122
|
output_token: o.symbol,
|
|
123
|
-
output_token_network:
|
|
123
|
+
output_token_network: D(
|
|
124
124
|
o.network.name
|
|
125
125
|
),
|
|
126
126
|
output_exchange: o.exchange
|
|
127
127
|
},
|
|
128
|
-
|
|
128
|
+
A
|
|
129
129
|
)
|
|
130
130
|
);
|
|
131
131
|
}, Oe = (t) => {
|
|
132
132
|
_e(t);
|
|
133
133
|
}, Re = (t) => {
|
|
134
|
-
const
|
|
135
|
-
|
|
134
|
+
const i = t.target.value;
|
|
135
|
+
i ? /^([0-9.]+)$/.test(i) && R(de(i, 8)) : R("");
|
|
136
136
|
}, ne = (t) => {
|
|
137
137
|
if (v) {
|
|
138
|
-
const
|
|
139
|
-
|
|
138
|
+
const i = v.find((f) => f.symbol === t);
|
|
139
|
+
ze(i);
|
|
140
140
|
}
|
|
141
141
|
}, se = (t) => {
|
|
142
|
-
const
|
|
143
|
-
|
|
142
|
+
const i = M.find((f) => f.symbol === t);
|
|
143
|
+
Ie(i);
|
|
144
144
|
}, Ee = () => {
|
|
145
145
|
if (!r)
|
|
146
146
|
return d({
|
|
@@ -154,9 +154,9 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
154
154
|
return d({ message: "Please enter amount" }), !1;
|
|
155
155
|
if (!p)
|
|
156
156
|
return d({ message: "Please select/enter wallet address" }), !1;
|
|
157
|
-
if (!
|
|
157
|
+
if (!Ae.test(g))
|
|
158
158
|
return d({ message: "Please provide a valid amount" }), !1;
|
|
159
|
-
if (!
|
|
159
|
+
if (!F)
|
|
160
160
|
return d({
|
|
161
161
|
message: "Please wait for the estimate to be calculated and then press next"
|
|
162
162
|
}), !1;
|
|
@@ -164,34 +164,34 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
164
164
|
return d({
|
|
165
165
|
message: "You don't have enough balance to make this swap"
|
|
166
166
|
}), !1;
|
|
167
|
-
if (
|
|
167
|
+
if (L * 1 > T * 1)
|
|
168
168
|
return d({
|
|
169
169
|
message: "The input amount of this transaction is below our minimum, please try a higher transaction amount"
|
|
170
170
|
}), !1;
|
|
171
|
-
if (
|
|
171
|
+
if (Ce * 1 < T * 1)
|
|
172
172
|
return d({
|
|
173
173
|
message: "The input amount of this transaction is above our maximum, please try a lower transaction amount"
|
|
174
174
|
}), !1;
|
|
175
|
-
if (
|
|
175
|
+
if (W)
|
|
176
176
|
return !1;
|
|
177
177
|
oe(!0), m(
|
|
178
178
|
Je({
|
|
179
|
-
apiKey:
|
|
179
|
+
apiKey: z,
|
|
180
180
|
quoteId: c.quote_id,
|
|
181
181
|
walletAddress: p
|
|
182
182
|
})
|
|
183
183
|
);
|
|
184
|
-
},
|
|
184
|
+
}, We = () => {
|
|
185
185
|
r && R(de(r.fmt_balance + "", 8));
|
|
186
186
|
};
|
|
187
|
-
return /* @__PURE__ */ a(
|
|
187
|
+
return /* @__PURE__ */ a(rt, { addPadding: !0, children: [
|
|
188
188
|
/* @__PURE__ */ a(k, { children: [
|
|
189
189
|
/* @__PURE__ */ e(xe, {}),
|
|
190
190
|
/* @__PURE__ */ a(n, { container: !0, children: [
|
|
191
191
|
/* @__PURE__ */ e(n, { size: 2.5, children: /* @__PURE__ */ e(
|
|
192
192
|
l,
|
|
193
193
|
{
|
|
194
|
-
className:
|
|
194
|
+
className: s.label,
|
|
195
195
|
variant: "caption",
|
|
196
196
|
component: "p",
|
|
197
197
|
children: "You Swap"
|
|
@@ -200,7 +200,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
200
200
|
/* @__PURE__ */ e(n, { size: 9.5, children: p && r && /* @__PURE__ */ a(
|
|
201
201
|
l,
|
|
202
202
|
{
|
|
203
|
-
className:
|
|
203
|
+
className: s["balance-label"],
|
|
204
204
|
variant: "caption",
|
|
205
205
|
component: "p",
|
|
206
206
|
children: [
|
|
@@ -209,32 +209,32 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
209
209
|
" ",
|
|
210
210
|
r.symbol,
|
|
211
211
|
" ",
|
|
212
|
-
/* @__PURE__ */ e("span", { className:
|
|
212
|
+
/* @__PURE__ */ e("span", { className: s["max-btn"], onClick: We, children: "MAX" })
|
|
213
213
|
]
|
|
214
214
|
}
|
|
215
215
|
) })
|
|
216
216
|
] }),
|
|
217
|
-
/* @__PURE__ */ a(n, { spacing: 0, mt: 0.5, container: !0, children: [
|
|
217
|
+
/* @__PURE__ */ a(n, { spacing: 0, mt: 0.5, container: !0, className: s["field-set"], children: [
|
|
218
218
|
/* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ a(
|
|
219
219
|
N,
|
|
220
220
|
{
|
|
221
|
-
className: `${
|
|
221
|
+
className: `${s.amount} ${s["fiat-field"]}`,
|
|
222
222
|
fullWidth: !0,
|
|
223
223
|
children: [
|
|
224
224
|
/* @__PURE__ */ e(
|
|
225
|
-
|
|
225
|
+
I,
|
|
226
226
|
{
|
|
227
227
|
disableUnderline: !0,
|
|
228
228
|
value: g,
|
|
229
229
|
onChange: Re,
|
|
230
230
|
type: "text",
|
|
231
|
-
placeholder: `${
|
|
231
|
+
placeholder: `${L > 0 ? "$" + L + " minimum value" : ""}`,
|
|
232
232
|
error: E,
|
|
233
233
|
required: !0,
|
|
234
234
|
fullWidth: !0
|
|
235
235
|
}
|
|
236
236
|
),
|
|
237
|
-
/* @__PURE__ */ e(ue, { className:
|
|
237
|
+
/* @__PURE__ */ e(ue, { className: s["amount-symbol"], children: T > 0 ? "$" + (T * 1).toFixed(2) : /* @__PURE__ */ e(b, { children: " " }) })
|
|
238
238
|
]
|
|
239
239
|
}
|
|
240
240
|
) }),
|
|
@@ -242,20 +242,20 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
242
242
|
N,
|
|
243
243
|
{
|
|
244
244
|
variant: "filled",
|
|
245
|
-
className: `text-left ${
|
|
245
|
+
className: `text-left ${s["crypto-picker"]}`,
|
|
246
246
|
fullWidth: !0,
|
|
247
247
|
children: [
|
|
248
248
|
(r == null ? void 0 : r.network) && /* @__PURE__ */ e(
|
|
249
249
|
q,
|
|
250
250
|
{
|
|
251
|
-
className: `${
|
|
252
|
-
children:
|
|
251
|
+
className: `${s["network-label"]} ${s[ce(r == null ? void 0 : r.network.name)]}`,
|
|
252
|
+
children: D(r == null ? void 0 : r.network.name)
|
|
253
253
|
}
|
|
254
254
|
),
|
|
255
255
|
/* @__PURE__ */ a(
|
|
256
256
|
G,
|
|
257
257
|
{
|
|
258
|
-
input: /* @__PURE__ */ e(
|
|
258
|
+
input: /* @__PURE__ */ e(I, { disableUnderline: !0 }),
|
|
259
259
|
sx: {
|
|
260
260
|
borderTopLeftRadius: 0,
|
|
261
261
|
"&::before": {
|
|
@@ -265,7 +265,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
265
265
|
fontSize: "21px",
|
|
266
266
|
fontWeight: "bold",
|
|
267
267
|
color: "#16359d",
|
|
268
|
-
padding: "
|
|
268
|
+
padding: "28px 12px 23px !important"
|
|
269
269
|
},
|
|
270
270
|
".dropdown-list-item, span": {
|
|
271
271
|
position: "relative",
|
|
@@ -290,7 +290,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
290
290
|
children: [
|
|
291
291
|
/* @__PURE__ */ e(_, { value: "", children: "Please select input" }),
|
|
292
292
|
M.map((t) => /* @__PURE__ */ a(_, { value: t.symbol, children: [
|
|
293
|
-
/* @__PURE__ */ e(pe, { className:
|
|
293
|
+
/* @__PURE__ */ e(pe, { className: s["dropdown-list-item"], children: /* @__PURE__ */ e(
|
|
294
294
|
"img",
|
|
295
295
|
{
|
|
296
296
|
src: t.icon_uri,
|
|
@@ -309,36 +309,34 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
309
309
|
) }),
|
|
310
310
|
ae && /* @__PURE__ */ e(l, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: ae }) })
|
|
311
311
|
] }),
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
] }),
|
|
324
|
-
/* @__PURE__ */ a(n, { mt: 0.5, container: !0, children: [
|
|
312
|
+
/* @__PURE__ */ e(n, { mt: 3, justifyContent: "center", display: "flex", container: !0, children: /* @__PURE__ */ e(n, { className: "text-center", children: /* @__PURE__ */ e("img", { src: Ze, alt: "arrow" }) }) }),
|
|
313
|
+
/* @__PURE__ */ e(n, { mt: 1, container: !0, children: /* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e(
|
|
314
|
+
l,
|
|
315
|
+
{
|
|
316
|
+
className: s.label,
|
|
317
|
+
variant: "caption",
|
|
318
|
+
component: "p",
|
|
319
|
+
children: "You Receive"
|
|
320
|
+
}
|
|
321
|
+
) }) }),
|
|
322
|
+
/* @__PURE__ */ a(n, { mt: 0.5, container: !0, className: s["field-set"], children: [
|
|
325
323
|
/* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ a(
|
|
326
324
|
N,
|
|
327
325
|
{
|
|
328
|
-
className: `${
|
|
326
|
+
className: `${s.amount} ${s["fiat-field"]}`,
|
|
329
327
|
fullWidth: !0,
|
|
330
328
|
children: [
|
|
331
329
|
/* @__PURE__ */ e(
|
|
332
|
-
|
|
330
|
+
I,
|
|
333
331
|
{
|
|
334
332
|
disableUnderline: !0,
|
|
335
|
-
value:
|
|
333
|
+
value: F && parseFloat(F).toFixed(5),
|
|
336
334
|
type: "text",
|
|
337
335
|
readOnly: !0,
|
|
338
336
|
fullWidth: !0
|
|
339
337
|
}
|
|
340
338
|
),
|
|
341
|
-
/* @__PURE__ */ e(ue, { className:
|
|
339
|
+
/* @__PURE__ */ e(ue, { className: s["amount-symbol"], children: V > 0 ? "$" + (V * 1).toFixed(2) : /* @__PURE__ */ e(b, { children: " " }) })
|
|
342
340
|
]
|
|
343
341
|
}
|
|
344
342
|
) }),
|
|
@@ -352,20 +350,20 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
352
350
|
N,
|
|
353
351
|
{
|
|
354
352
|
variant: "filled",
|
|
355
|
-
className: `text-left ${
|
|
353
|
+
className: `text-left ${s["crypto-picker"]}`,
|
|
356
354
|
fullWidth: !0,
|
|
357
355
|
children: [
|
|
358
356
|
(o == null ? void 0 : o.network) && /* @__PURE__ */ e(
|
|
359
357
|
q,
|
|
360
358
|
{
|
|
361
|
-
className: `${
|
|
359
|
+
className: `${s["network-label"]} ${s[ce(o == null ? void 0 : o.network.name)]}`,
|
|
362
360
|
children: o == null ? void 0 : o.network.name
|
|
363
361
|
}
|
|
364
362
|
),
|
|
365
363
|
/* @__PURE__ */ a(
|
|
366
364
|
G,
|
|
367
365
|
{
|
|
368
|
-
input: /* @__PURE__ */ e(
|
|
366
|
+
input: /* @__PURE__ */ e(I, { disableUnderline: !0 }),
|
|
369
367
|
sx: {
|
|
370
368
|
borderTopLeftRadius: 0,
|
|
371
369
|
"&::before": {
|
|
@@ -375,7 +373,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
375
373
|
fontSize: "21px",
|
|
376
374
|
fontWeight: "bold",
|
|
377
375
|
color: "#16359d",
|
|
378
|
-
padding: "
|
|
376
|
+
padding: "28px 12px 23px !important"
|
|
379
377
|
},
|
|
380
378
|
".dropdown-list-item, span": {
|
|
381
379
|
position: "relative",
|
|
@@ -399,12 +397,12 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
399
397
|
children: [
|
|
400
398
|
/* @__PURE__ */ e(_, { value: "", children: "Please select output" }),
|
|
401
399
|
v && v.map((t) => /* @__PURE__ */ a(_, { value: t.symbol, children: [
|
|
402
|
-
/* @__PURE__ */ e(pe, { className:
|
|
400
|
+
/* @__PURE__ */ e(pe, { className: s["dropdown-list-item"], children: /* @__PURE__ */ e(
|
|
403
401
|
"img",
|
|
404
402
|
{
|
|
405
403
|
src: t.icon_uri,
|
|
406
|
-
onError: ({ currentTarget:
|
|
407
|
-
|
|
404
|
+
onError: ({ currentTarget: i }) => {
|
|
405
|
+
i.onerror = null, i.src = Be;
|
|
408
406
|
},
|
|
409
407
|
alt: "tokenImage",
|
|
410
408
|
width: "40",
|
|
@@ -420,7 +418,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
420
418
|
}
|
|
421
419
|
) })
|
|
422
420
|
] }),
|
|
423
|
-
/* @__PURE__ */ e(k, { mt: 2.5, className:
|
|
421
|
+
/* @__PURE__ */ e(k, { mt: 2.5, className: s["fee-area"], children: /* @__PURE__ */ a(n, { container: !0, children: [
|
|
424
422
|
/* @__PURE__ */ e(n, { className: "text-left", size: 12, children: /* @__PURE__ */ a(
|
|
425
423
|
fe,
|
|
426
424
|
{
|
|
@@ -429,7 +427,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
429
427
|
disableFocusRipple: !0,
|
|
430
428
|
disableRipple: !0,
|
|
431
429
|
children: [
|
|
432
|
-
/* @__PURE__ */ e(l, { variant: "caption",
|
|
430
|
+
/* @__PURE__ */ e(l, { variant: "caption", fontWeight: 700, children: "Fee Calculation" }),
|
|
433
431
|
/* @__PURE__ */ e(
|
|
434
432
|
Pe,
|
|
435
433
|
{
|
|
@@ -446,7 +444,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
446
444
|
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: "Everest Fee" }) }),
|
|
447
445
|
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
|
|
448
446
|
$,
|
|
449
|
-
|
|
447
|
+
C ? /* @__PURE__ */ e(
|
|
450
448
|
h,
|
|
451
449
|
{
|
|
452
450
|
sx: { ml: 1 },
|
|
@@ -457,7 +455,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
457
455
|
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: "Network Fee" }) }),
|
|
458
456
|
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
|
|
459
457
|
$,
|
|
460
|
-
|
|
458
|
+
C ? /* @__PURE__ */ e(
|
|
461
459
|
h,
|
|
462
460
|
{
|
|
463
461
|
sx: { ml: 1 },
|
|
@@ -469,7 +467,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
469
467
|
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: "Total Fees" }) }),
|
|
470
468
|
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
|
|
471
469
|
$,
|
|
472
|
-
|
|
470
|
+
C ? /* @__PURE__ */ e(
|
|
473
471
|
h,
|
|
474
472
|
{
|
|
475
473
|
sx: { ml: 1 },
|
|
@@ -482,9 +480,9 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
482
480
|
"1 ",
|
|
483
481
|
r == null ? void 0 : r.symbol,
|
|
484
482
|
" ",
|
|
485
|
-
/* @__PURE__ */ e(tt, { title: et, placement: "right", children: /* @__PURE__ */ e(fe, { className:
|
|
483
|
+
/* @__PURE__ */ e(tt, { title: et, placement: "right", children: /* @__PURE__ */ e(fe, { className: s["info-fee-icon"], children: /* @__PURE__ */ e(De, { sx: { fontSize: "14px" } }) }) })
|
|
486
484
|
] }) }),
|
|
487
|
-
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children:
|
|
485
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: C ? /* @__PURE__ */ e(
|
|
488
486
|
h,
|
|
489
487
|
{
|
|
490
488
|
sx: { ml: 1 },
|
|
@@ -505,21 +503,19 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
505
503
|
{
|
|
506
504
|
value: p,
|
|
507
505
|
onChange: (t) => Oe(t.target.value),
|
|
508
|
-
children: ge.map((t,
|
|
506
|
+
children: ge.map((t, i) => /* @__PURE__ */ e(_, { value: t.address, children: t.name + "(" + t.address + ")" }, i))
|
|
509
507
|
}
|
|
510
508
|
)
|
|
511
509
|
]
|
|
512
510
|
}
|
|
513
511
|
) }) }),
|
|
514
512
|
/* @__PURE__ */ e(k, { mt: 4, children: /* @__PURE__ */ e(
|
|
515
|
-
|
|
513
|
+
ot,
|
|
516
514
|
{
|
|
517
|
-
className: "wallet-btn",
|
|
518
515
|
fullWidth: !0,
|
|
519
|
-
variant: "contained",
|
|
520
516
|
onClick: Ee,
|
|
521
|
-
disabled: E || !
|
|
522
|
-
children: /* @__PURE__ */ e("strong", { children:
|
|
517
|
+
disabled: E || !F,
|
|
518
|
+
children: /* @__PURE__ */ e("strong", { children: W ? /* @__PURE__ */ a(b, { children: [
|
|
523
519
|
/* @__PURE__ */ e(h, { size: 15, color: "inherit" }),
|
|
524
520
|
" Processing..."
|
|
525
521
|
] }) : "Swap" })
|
|
@@ -548,7 +544,7 @@ const it = ({ partnerKey: I, navigate: Y }) => {
|
|
|
548
544
|
}
|
|
549
545
|
)
|
|
550
546
|
] });
|
|
551
|
-
}, Zt =
|
|
547
|
+
}, Zt = at(it);
|
|
552
548
|
export {
|
|
553
549
|
Zt as default
|
|
554
550
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as n, Fragment as s, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as o } from "react";
|
|
3
3
|
import l from "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { B as t } from "../../../Box-
|
|
5
|
-
import { G as i } from "../../../Grid-
|
|
6
|
-
import { T as c } from "../../../Typography-
|
|
4
|
+
import { B as t } from "../../../Box-BwKpr_VI.js";
|
|
5
|
+
import { G as i } from "../../../Grid-CPkjiKqX.js";
|
|
6
|
+
import { T as c } from "../../../Typography-BQDN44CM.js";
|
|
7
7
|
import '../../../assets/index.css';const p = "_container_1pyai_1", _ = "_active_1pyai_43", e = {
|
|
8
8
|
container: p,
|
|
9
9
|
"inner-container": "_inner-container_1pyai_13",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../react-redux-C7I9-1M6.js";
|
|
4
|
-
import "../../../ArrowRight-rYkfGJuF.js";
|
|
5
|
-
import "../../../CheckCircle-CyxKX1TY.js";
|
|
6
4
|
import "../Shared/backBtn.js";
|
|
7
5
|
import "../Shared/addBank.js";
|
|
8
|
-
import { W as j } from "../../../index-
|
|
9
|
-
import "../../../constants-
|
|
10
|
-
import "../../../index-
|
|
11
|
-
import "../../../order-
|
|
12
|
-
import "../../../bank-
|
|
6
|
+
import { W as j } from "../../../index-BRwse7X5.js";
|
|
7
|
+
import "../../../constants-BF50a6s-.js";
|
|
8
|
+
import "../../../index-v4KC1K_V.js";
|
|
9
|
+
import "../../../order-D-FBHreS.js";
|
|
10
|
+
import "../../../bank-DyVf4Uoo.js";
|
|
13
11
|
import "../Shared/connectPlaidBank.js";
|
|
14
|
-
import "../../../styles.module-
|
|
15
|
-
import "../../../
|
|
16
|
-
import "../../../
|
|
17
|
-
import "../../../
|
|
18
|
-
import "../../../
|
|
12
|
+
import "../../../styles.module-B-t8vvWh.js";
|
|
13
|
+
import "../../../util/constants.js";
|
|
14
|
+
import "../../../Box-BwKpr_VI.js";
|
|
15
|
+
import "../../../CircularProgress-Yx712vpT.js";
|
|
16
|
+
import "../../../Grid-CPkjiKqX.js";
|
|
17
|
+
import "../../../Typography-BQDN44CM.js";
|
|
18
|
+
import "../../../Stack-DH-Nxf9q.js";
|
|
19
19
|
export {
|
|
20
20
|
j as default
|
|
21
21
|
};
|
|
@@ -2,18 +2,18 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../Shared/backBtn.js";
|
|
4
4
|
import "../../../util/constants.js";
|
|
5
|
-
import "../../../styles.module-
|
|
5
|
+
import "../../../styles.module-B-t8vvWh.js";
|
|
6
6
|
import "../Shared/appButton.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import "../../../index-
|
|
9
|
-
import "../../../order-
|
|
10
|
-
import { B as g } from "../../../index-
|
|
7
|
+
import "../../../constants-BF50a6s-.js";
|
|
8
|
+
import "../../../index-v4KC1K_V.js";
|
|
9
|
+
import "../../../order-D-FBHreS.js";
|
|
10
|
+
import { B as g } from "../../../index-BRwse7X5.js";
|
|
11
11
|
import "../../../react-redux-C7I9-1M6.js";
|
|
12
12
|
import "../../../hooks/useDialog/index.js";
|
|
13
|
-
import "../../../Typography-
|
|
14
|
-
import "../../../Box-
|
|
15
|
-
import "../../../Grid-
|
|
16
|
-
import "../../../CircularProgress-
|
|
13
|
+
import "../../../Typography-BQDN44CM.js";
|
|
14
|
+
import "../../../Box-BwKpr_VI.js";
|
|
15
|
+
import "../../../Grid-CPkjiKqX.js";
|
|
16
|
+
import "../../../CircularProgress-Yx712vpT.js";
|
|
17
17
|
export {
|
|
18
18
|
g as default
|
|
19
19
|
};
|