everest-npm-features 0.0.62 → 0.0.64
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/ArrowBack-DEJjwfp0.js +8 -0
- package/dist/{PlayArrow-BVDyfxsQ.js → PlayArrow-WUr_Eyo1.js} +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/{auth-DTJdu6mq.js → auth-Cg-RJNB1.js} +1 -1
- package/dist/bank-CPJa0NOE.js +47 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +2 -2
- package/dist/components/Shared/FullKyc/countryList.js +33 -30
- package/dist/components/Shared/FullKyc/edd.js +3 -3
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +68 -64
- package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Shared/Sumsub/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +14 -314
- package/dist/components/Wallet/Account/eWallet.js +33 -35
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +75 -54
- package/dist/components/Wallet/Account/ibanItem.js +3 -3
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +221 -184
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +96 -95
- package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
- package/dist/components/Wallet/Portfolio/index.js +5 -5
- package/dist/components/Wallet/Profile/documents.js +121 -124
- package/dist/components/Wallet/Profile/index.js +4 -4
- package/dist/components/Wallet/Profile/storage.js +15 -15
- package/dist/components/Wallet/Receive/index.js +3 -3
- package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +36 -36
- package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
- package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
- package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
- package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +19 -18
- package/dist/components/Wallet/Shared/addBank.js +4 -4
- package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
- package/dist/components/Wallet/Shared/manualSend.js +4 -4
- package/dist/components/Wallet/SignIn/index.js +3 -3
- package/dist/components/Wallet/SignUp/index.js +3 -3
- package/dist/components/Wallet/Stake/gems/index.js +74 -62
- package/dist/components/Wallet/Stake/id/index.js +69 -65
- package/dist/components/Wallet/Stake/index.js +6 -6
- package/dist/components/Wallet/Swap/form.js +7 -7
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DrmtdI1J.js → constants-BRS2liAt.js} +216 -214
- package/dist/createIban-DKoCQ4o3.js +573 -0
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-BD0cJpXM.js} +1 -1
- package/dist/{index-CDwzoHu7.js → index-BUtxhHso.js} +87 -86
- package/dist/{index-3OQ4M69t.js → index-C2weAjLp.js} +70 -69
- package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
- package/dist/{index-ILpK4BCB.js → index-CZhiRUiE.js} +4 -4
- package/dist/{index-CYX3j0V7.js → index-D7Eq-pbC.js} +65 -64
- package/dist/{index-C1WPCgkl.js → index-DX8IEulu.js} +5 -5
- package/dist/{index-CK4kLRAw.js → index-hgn4Pjw3.js} +5 -5
- package/dist/index-oPbOSCUk.js +545 -0
- package/dist/{kyc-ksV3vBP_.js → kyc-C7NviI9l.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-DEp_Lmar.js → order-DBuLYKfx.js} +1 -1
- package/dist/{otpForm-fiNqeB5H.js → otpForm-DhVp5Gvi.js} +2 -2
- package/dist/{stake-Ct7-_aWW.js → stake-DGXpiw_Y.js} +1 -1
- package/dist/styles.module-C99UuHOT.js +22 -0
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BLx0XKpK.js} +1 -1
- package/package.json +7 -7
- package/dist/bank-C4pmTe--.js +0 -37
- package/dist/index-BBFbUCRZ.js +0 -537
- package/dist/styles.module-C1sNeKjL.js +0 -22
- package/dist/styles.module-CHPRGltL.js +0 -28
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as
|
|
4
|
-
import "../../../constants-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { Box as
|
|
9
|
-
import { LINKED_WALLET_TOOLTIP as
|
|
10
|
-
import { M as
|
|
11
|
-
import { I as
|
|
12
|
-
import { C as
|
|
13
|
-
import { D as
|
|
14
|
-
import { C as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import { useSnackBarContext as
|
|
23
|
-
import
|
|
24
|
-
import { AuthInnerContainer as
|
|
1
|
+
import { jsxs as o, Fragment as ne, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as w, useEffect as c } from "react";
|
|
3
|
+
import { u as m } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
+
import { a as ge, ai as be } from "../../../constants-BRS2liAt.js";
|
|
5
|
+
import { u as _e, c as xe, d as Ne, p as Ce } from "../../../index-CREgBh59.js";
|
|
6
|
+
import { u as ye, a as we, b as We, c as Ie, d as Ae, e as ke, g as ve } from "../../../wallet-BLx0XKpK.js";
|
|
7
|
+
import { u as De, c as Se, d as oe, e as Te, f as Re } from "../../../bank-CPJa0NOE.js";
|
|
8
|
+
import { Box as i, Grid as d, Typography as l, IconButton as W, CircularProgress as I, Button as Be, Stack as Ee, Dialog as Le, DialogTitle as Oe, DialogContent as Pe } from "@mui/material";
|
|
9
|
+
import { DIALOG_ERROR_ICON as qe, LINKED_WALLET_TOOLTIP as ze, CONNECTED_WALLET_TOOLTIP as $e, BRAND_VORTEX_ID as Me, WALLET_ICON as Fe, DELETE_ICON as He } from "../../../util/constants.js";
|
|
10
|
+
import { M as se } from "../../../tooltip-BW0UyWw7.js";
|
|
11
|
+
import { I as re } from "../../../Info-DOoRR7sR.js";
|
|
12
|
+
import { C as Ve } from "../../../Cancel-pHQsCjtK.js";
|
|
13
|
+
import { D as je } from "../../../Delete-Bj8zmXnh.js";
|
|
14
|
+
import { C as Ge } from "../../../Close-DSxLLo08.js";
|
|
15
|
+
import Ke from "../../Shared/transition.js";
|
|
16
|
+
import ae from "../Shared/inputField.js";
|
|
17
|
+
import Ye from "../Shared/addBank.js";
|
|
18
|
+
import Ue from "../Shared/connectPlaidBank.js";
|
|
19
|
+
import Xe from "../Shared/ConnectWallet/index.js";
|
|
20
|
+
import Je from "./iban.js";
|
|
21
|
+
import Qe from "./eWallet.js";
|
|
22
|
+
import { useSnackBarContext as Ze } from "../../../context/snackBarContext.js";
|
|
23
|
+
import ie from "../Shared/appButton.js";
|
|
24
|
+
import { AuthInnerContainer as O } from "../Shared/Container/index.js";
|
|
25
25
|
import "../../../index-DlQqWbXG.js";
|
|
26
|
-
import
|
|
27
|
-
import "../../../otpForm-
|
|
28
|
-
import
|
|
26
|
+
import et from "../../../hoc/withThemeProvider.js";
|
|
27
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
28
|
+
import tt from "../../../hooks/useEverestDispatch.js";
|
|
29
29
|
import "../../../util/conversions.js";
|
|
30
30
|
import "../../../index-CAoLi5Qq.js";
|
|
31
31
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
@@ -33,12 +33,13 @@ import "../../../moment-h96o7c8I.js";
|
|
|
33
33
|
import "../../../index.esm-BsMAMhYW.js";
|
|
34
34
|
import "../../../index-ceeCtFuh.js";
|
|
35
35
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
36
|
-
import { useDialogContext as
|
|
36
|
+
import { useDialogContext as nt } from "../../../context/dialogContext.js";
|
|
37
37
|
import "@mui/icons-material";
|
|
38
|
-
import
|
|
39
|
-
|
|
38
|
+
import { c as ot } from "../../../createIban-DKoCQ4o3.js";
|
|
39
|
+
import '../../../assets/index3.css';const st = "_container_arwo8_1", rt = "_heading_arwo8_27", r = {
|
|
40
|
+
container: st,
|
|
40
41
|
"inner-container": "_inner-container_arwo8_13",
|
|
41
|
-
heading:
|
|
42
|
+
heading: rt,
|
|
42
43
|
"account-item": "_account-item_arwo8_41",
|
|
43
44
|
"account-item-text": "_account-item-text_arwo8_71",
|
|
44
45
|
"primary-color": "_primary-color_arwo8_81",
|
|
@@ -47,88 +48,123 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
47
48
|
"remove-icon": "_remove-icon_arwo8_107",
|
|
48
49
|
"delete-disable": "_delete-disable_arwo8_121",
|
|
49
50
|
"confirm-edit": "_confirm-edit_arwo8_137"
|
|
50
|
-
},
|
|
51
|
-
baseUrl:
|
|
52
|
-
checkoutSdkKey:
|
|
51
|
+
}, at = ({
|
|
52
|
+
baseUrl: P,
|
|
53
|
+
checkoutSdkKey: q,
|
|
53
54
|
appKey: z,
|
|
54
|
-
appKeyEur:
|
|
55
|
-
paymentWidgetSrcUrl:
|
|
56
|
-
navigate:
|
|
55
|
+
appKeyEur: $,
|
|
56
|
+
paymentWidgetSrcUrl: M,
|
|
57
|
+
navigate: F,
|
|
58
|
+
brandId: H
|
|
57
59
|
}) => {
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
const n = tt(), { showAlertMessage: a } = Ze(), { openDialog: f } = nt(), A = m((t) => t.app.features), b = m(_e), ce = b.loader, h = b.message, V = b.banks, j = b.iban, [G, K] = w(!1), [le, _] = w(!1), [k, me] = w(""), [v, de] = w(""), Y = m(xe), U = Y.data, { error: D, message: S, loader: T } = Y, R = m(
|
|
61
|
+
(t) => t.user.profile
|
|
62
|
+
), X = R.tokens, B = R.everWalletAddress, J = m(Ne), x = J.data, {
|
|
63
|
+
error: E,
|
|
64
|
+
message: L,
|
|
65
|
+
loader: ue
|
|
66
|
+
} = J, u = m(Ce), Q = m((t) => t.user), Z = Q.kyc.status, ee = Q.kyc.processComplete;
|
|
63
67
|
c(() => {
|
|
64
|
-
if (
|
|
65
|
-
|
|
66
|
-
const t = typeof
|
|
67
|
-
(t.includes("created") || t.includes("successfully") || t.includes("Account")) &&
|
|
68
|
+
if (h) {
|
|
69
|
+
K(!1);
|
|
70
|
+
const t = typeof h == "string" ? h : String(h);
|
|
71
|
+
(t.includes("created") || t.includes("successfully") || t.includes("Account")) && a({ message: t, type: "success" });
|
|
68
72
|
}
|
|
69
|
-
}, [
|
|
70
|
-
|
|
71
|
-
}, [
|
|
72
|
-
|
|
73
|
-
}, [
|
|
74
|
-
|
|
75
|
-
}, [
|
|
76
|
-
|
|
77
|
-
}, [
|
|
78
|
-
|
|
73
|
+
}, [h]), c(() => {
|
|
74
|
+
E && a({ message: E });
|
|
75
|
+
}, [E]), c(() => {
|
|
76
|
+
L && a({ message: L, type: "success" });
|
|
77
|
+
}, [L]), c(() => {
|
|
78
|
+
D && a({ message: D });
|
|
79
|
+
}, [D]), c(() => {
|
|
80
|
+
S && (_(!1), a({ message: S, type: "success" }));
|
|
81
|
+
}, [S]), c(() => (U.length <= 0 && n(ye()), x.length <= 0 && n(we()), n(De()), n(Se()), () => {
|
|
82
|
+
n(We("")), n(Ie(""));
|
|
79
83
|
}), []), c(() => {
|
|
80
|
-
|
|
81
|
-
}, [
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
B && n(Ae(B));
|
|
85
|
+
}, [B, n]), c(() => {
|
|
86
|
+
if (u.shouldAutoCreate && u.currency && ee) {
|
|
87
|
+
if (Z === ge || Z === be) {
|
|
88
|
+
f({
|
|
89
|
+
title: "Under Review",
|
|
90
|
+
message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
|
|
91
|
+
width: "550px",
|
|
92
|
+
cancelButtonShow: !1,
|
|
93
|
+
confirmButtonText: "Dismiss",
|
|
94
|
+
height: "270px"
|
|
95
|
+
});
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
if (!ot.find(
|
|
99
|
+
(s) => s.alpha3 === R.residentialAddress.country
|
|
100
|
+
)) {
|
|
101
|
+
f({
|
|
102
|
+
title: "Not Allowed",
|
|
103
|
+
message: "Currently we are not supporting your country for Virtual IBAN.",
|
|
104
|
+
icon: qe,
|
|
105
|
+
width: "575px",
|
|
106
|
+
height: "450px",
|
|
107
|
+
confirmButtonText: "Continue",
|
|
108
|
+
cancelButtonShow: !1
|
|
109
|
+
});
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
n(oe({ currency: u.currency })), a({
|
|
113
|
+
message: `Virtual IBAN for ${u.currency} is being created.`,
|
|
114
|
+
type: "success"
|
|
115
|
+
}), n(Te());
|
|
116
|
+
}
|
|
117
|
+
}, [u.shouldAutoCreate, u.currency, ee, n]);
|
|
118
|
+
const pe = () => {
|
|
119
|
+
if (!k)
|
|
120
|
+
return a({ message: "Please provide the wallet name" }), !1;
|
|
121
|
+
if (!v)
|
|
122
|
+
return a({
|
|
87
123
|
message: "Please provide the wallet private key"
|
|
88
124
|
}), !1;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
name:
|
|
92
|
-
privatekey: Buffer.from(
|
|
125
|
+
T || n(
|
|
126
|
+
ke({
|
|
127
|
+
name: k,
|
|
128
|
+
privatekey: Buffer.from(v).toString("base64")
|
|
93
129
|
})
|
|
94
130
|
);
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
icon:
|
|
131
|
+
}, fe = (t) => {
|
|
132
|
+
f({
|
|
133
|
+
icon: He,
|
|
98
134
|
height: "450px",
|
|
99
135
|
title: "Are you sure you want to delete?",
|
|
100
136
|
message: "This action cannot be undone.",
|
|
101
137
|
onConfirm: () => {
|
|
102
|
-
|
|
138
|
+
n(Re(t));
|
|
103
139
|
},
|
|
104
140
|
cancelButtonShow: !0
|
|
105
141
|
});
|
|
106
|
-
},
|
|
142
|
+
}, g = ({
|
|
107
143
|
data: t,
|
|
108
144
|
type: s,
|
|
109
|
-
children:
|
|
110
|
-
rightAdornment:
|
|
145
|
+
children: N,
|
|
146
|
+
rightAdornment: p
|
|
111
147
|
}) => {
|
|
112
|
-
let
|
|
113
|
-
return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (
|
|
114
|
-
s === "bankAccount" &&
|
|
115
|
-
|
|
148
|
+
let C, y;
|
|
149
|
+
return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (C = t.name, y = t.address) : s === "iban" ? "accountName" in t && "accountNumber" in t && (C = t.accountName, y = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`) : "accountName" in t && "accountNumber" in t && (C = t.accountName, y = t.accountNumber), /* @__PURE__ */ o(i, { className: r["account-item"], children: [
|
|
150
|
+
s === "bankAccount" && G && "id" in t && /* @__PURE__ */ e(
|
|
151
|
+
W,
|
|
116
152
|
{
|
|
117
|
-
className:
|
|
118
|
-
onClick: () =>
|
|
119
|
-
children: /* @__PURE__ */ e(
|
|
153
|
+
className: r["remove-icon"],
|
|
154
|
+
onClick: () => fe(t.id),
|
|
155
|
+
children: /* @__PURE__ */ e(Ve, {})
|
|
120
156
|
}
|
|
121
157
|
),
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
-
/* @__PURE__ */ e(
|
|
124
|
-
/* @__PURE__ */
|
|
158
|
+
/* @__PURE__ */ o(d, { container: !0, width: "100%", alignItems: "center", spacing: 1, children: [
|
|
159
|
+
/* @__PURE__ */ e(d, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: Fe, alt: "Icon", height: 28, width: 28 }) }),
|
|
160
|
+
/* @__PURE__ */ o(d, { size: { xs: 7, md: 7 }, children: [
|
|
125
161
|
/* @__PURE__ */ e(
|
|
126
162
|
l,
|
|
127
163
|
{
|
|
128
164
|
variant: "body1",
|
|
129
165
|
component: "p",
|
|
130
|
-
className: `${
|
|
131
|
-
children: /* @__PURE__ */ e("strong", { children:
|
|
166
|
+
className: `${r["account-item-text"]} ${r["primary-color"]}`,
|
|
167
|
+
children: /* @__PURE__ */ e("strong", { children: C })
|
|
132
168
|
}
|
|
133
169
|
),
|
|
134
170
|
/* @__PURE__ */ e(
|
|
@@ -136,56 +172,56 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
136
172
|
{
|
|
137
173
|
variant: "caption",
|
|
138
174
|
component: "p",
|
|
139
|
-
className: `${
|
|
140
|
-
children: /* @__PURE__ */ e("strong", { children:
|
|
175
|
+
className: `${r["account-item-text"]} ${r["secondary-color"]}`,
|
|
176
|
+
children: /* @__PURE__ */ e("strong", { children: y })
|
|
141
177
|
}
|
|
142
178
|
)
|
|
143
179
|
] }),
|
|
144
|
-
|
|
145
|
-
|
|
180
|
+
p ? /* @__PURE__ */ e(
|
|
181
|
+
d,
|
|
146
182
|
{
|
|
147
183
|
size: { xs: 3, md: 4 },
|
|
148
184
|
sx: { display: "flex", justifyContent: "flex-end" },
|
|
149
|
-
children:
|
|
185
|
+
children: p
|
|
150
186
|
}
|
|
151
187
|
) : null
|
|
152
188
|
] }),
|
|
153
|
-
|
|
189
|
+
N
|
|
154
190
|
] });
|
|
155
|
-
},
|
|
156
|
-
const s =
|
|
157
|
-
let
|
|
158
|
-
for (let
|
|
159
|
-
if (
|
|
160
|
-
|
|
191
|
+
}, he = (t) => {
|
|
192
|
+
const s = x.length;
|
|
193
|
+
let N = !1;
|
|
194
|
+
for (let p = 0; p < s; p++)
|
|
195
|
+
if (x[p].address.toLowerCase() === t.toLowerCase()) {
|
|
196
|
+
N = !0;
|
|
161
197
|
break;
|
|
162
198
|
}
|
|
163
|
-
|
|
199
|
+
N ? a({
|
|
164
200
|
message: "This wallet address is already connected."
|
|
165
|
-
}) :
|
|
166
|
-
},
|
|
167
|
-
|
|
201
|
+
}) : n(ve(t));
|
|
202
|
+
}, te = (t) => {
|
|
203
|
+
n(oe({ currency: t }));
|
|
168
204
|
};
|
|
169
|
-
return /* @__PURE__ */
|
|
170
|
-
/* @__PURE__ */ e(
|
|
171
|
-
/* @__PURE__ */
|
|
172
|
-
/* @__PURE__ */
|
|
205
|
+
return /* @__PURE__ */ o(ne, { children: [
|
|
206
|
+
/* @__PURE__ */ e(i, { className: r.container, children: /* @__PURE__ */ o(d, { spacing: 2, container: !0, width: "100%", children: [
|
|
207
|
+
/* @__PURE__ */ o(d, { size: { md: 6, xs: 12 }, children: [
|
|
208
|
+
/* @__PURE__ */ o(O, { p: 3, children: [
|
|
173
209
|
/* @__PURE__ */ e(
|
|
174
210
|
l,
|
|
175
211
|
{
|
|
176
|
-
className:
|
|
212
|
+
className: r.heading,
|
|
177
213
|
variant: "h6",
|
|
178
214
|
component: "span",
|
|
179
215
|
children: /* @__PURE__ */ e("strong", { children: "Linked Wallets" })
|
|
180
216
|
}
|
|
181
217
|
),
|
|
182
218
|
/* @__PURE__ */ e(
|
|
183
|
-
|
|
219
|
+
se,
|
|
184
220
|
{
|
|
185
|
-
title: /* @__PURE__ */ e(
|
|
221
|
+
title: /* @__PURE__ */ e(i, { sx: { whiteSpace: "pre-line" }, children: ze }),
|
|
186
222
|
placement: "bottom",
|
|
187
|
-
children: /* @__PURE__ */ e(
|
|
188
|
-
|
|
223
|
+
children: /* @__PURE__ */ e(W, { className: r["info-icon"], children: /* @__PURE__ */ e(
|
|
224
|
+
re,
|
|
189
225
|
{
|
|
190
226
|
sx: {
|
|
191
227
|
fontSize: "26px",
|
|
@@ -195,35 +231,35 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
195
231
|
) })
|
|
196
232
|
}
|
|
197
233
|
),
|
|
198
|
-
|
|
199
|
-
|
|
234
|
+
T && /* @__PURE__ */ e(i, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(I, { size: 50 }) }),
|
|
235
|
+
U.map((t, s) => /* @__PURE__ */ e(g, { type: "linkedWallet", data: t }, s)),
|
|
200
236
|
/* @__PURE__ */ e(
|
|
201
|
-
|
|
237
|
+
ie,
|
|
202
238
|
{
|
|
203
239
|
sx: { mt: 4 },
|
|
204
|
-
onClick: () =>
|
|
240
|
+
onClick: () => _(!0),
|
|
205
241
|
fullWidth: !0,
|
|
206
242
|
children: /* @__PURE__ */ e("strong", { children: "Add Wallet" })
|
|
207
243
|
}
|
|
208
244
|
)
|
|
209
245
|
] }),
|
|
210
|
-
/* @__PURE__ */
|
|
246
|
+
/* @__PURE__ */ o(O, { p: 3, mt: 2, children: [
|
|
211
247
|
/* @__PURE__ */ e(
|
|
212
248
|
l,
|
|
213
249
|
{
|
|
214
|
-
className:
|
|
250
|
+
className: r.heading,
|
|
215
251
|
variant: "h6",
|
|
216
252
|
component: "span",
|
|
217
253
|
children: /* @__PURE__ */ e("strong", { children: "Connected Wallets" })
|
|
218
254
|
}
|
|
219
255
|
),
|
|
220
256
|
/* @__PURE__ */ e(
|
|
221
|
-
|
|
257
|
+
se,
|
|
222
258
|
{
|
|
223
|
-
title: /* @__PURE__ */ e(
|
|
259
|
+
title: /* @__PURE__ */ e(i, { sx: { whiteSpace: "pre-line" }, children: $e }),
|
|
224
260
|
placement: "bottom",
|
|
225
|
-
children: /* @__PURE__ */ e(
|
|
226
|
-
|
|
261
|
+
children: /* @__PURE__ */ e(W, { className: r["info-icon"], children: /* @__PURE__ */ e(
|
|
262
|
+
re,
|
|
227
263
|
{
|
|
228
264
|
sx: {
|
|
229
265
|
fontSize: "26px",
|
|
@@ -233,117 +269,118 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
233
269
|
) })
|
|
234
270
|
}
|
|
235
271
|
),
|
|
236
|
-
|
|
237
|
-
|
|
272
|
+
ue && /* @__PURE__ */ e(i, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(I, { size: 50 }) }),
|
|
273
|
+
x.map((t, s) => /* @__PURE__ */ e(g, { type: "connectedWallet", data: t }, s)),
|
|
238
274
|
/* @__PURE__ */ e(
|
|
239
|
-
|
|
275
|
+
Xe,
|
|
240
276
|
{
|
|
241
|
-
addressHandler:
|
|
277
|
+
addressHandler: he,
|
|
242
278
|
btnClass: "wallet-btn"
|
|
243
279
|
}
|
|
244
280
|
)
|
|
245
281
|
] })
|
|
246
282
|
] }),
|
|
247
|
-
/* @__PURE__ */
|
|
248
|
-
|
|
249
|
-
|
|
283
|
+
/* @__PURE__ */ o(d, { size: { md: 6, xs: 12 }, children: [
|
|
284
|
+
A.eWallet && H !== Me && /* @__PURE__ */ e(i, { mb: 2, children: /* @__PURE__ */ e(
|
|
285
|
+
Qe,
|
|
250
286
|
{
|
|
251
|
-
openDialog:
|
|
252
|
-
dispatch:
|
|
253
|
-
iban:
|
|
254
|
-
baseUrl:
|
|
255
|
-
checkoutSdkKey:
|
|
287
|
+
openDialog: f,
|
|
288
|
+
dispatch: n,
|
|
289
|
+
iban: j,
|
|
290
|
+
baseUrl: P,
|
|
291
|
+
checkoutSdkKey: q,
|
|
256
292
|
appKey: z,
|
|
257
|
-
appKeyEur:
|
|
258
|
-
paymentWidgetSrcUrl:
|
|
259
|
-
navigate:
|
|
260
|
-
AccountItem:
|
|
261
|
-
createIbanRequest:
|
|
262
|
-
tokenData:
|
|
293
|
+
appKeyEur: $,
|
|
294
|
+
paymentWidgetSrcUrl: M,
|
|
295
|
+
navigate: F,
|
|
296
|
+
AccountItem: g,
|
|
297
|
+
createIbanRequest: te,
|
|
298
|
+
tokenData: X
|
|
263
299
|
}
|
|
264
300
|
) }),
|
|
265
|
-
|
|
266
|
-
|
|
301
|
+
A.iban && /* @__PURE__ */ e(
|
|
302
|
+
Je,
|
|
267
303
|
{
|
|
268
|
-
openDialog:
|
|
269
|
-
dispatch:
|
|
270
|
-
iban:
|
|
271
|
-
baseUrl:
|
|
272
|
-
checkoutSdkKey:
|
|
304
|
+
openDialog: f,
|
|
305
|
+
dispatch: n,
|
|
306
|
+
iban: j,
|
|
307
|
+
baseUrl: P,
|
|
308
|
+
checkoutSdkKey: q,
|
|
273
309
|
appKey: z,
|
|
274
|
-
appKeyEur:
|
|
275
|
-
paymentWidgetSrcUrl:
|
|
276
|
-
navigate:
|
|
277
|
-
AccountItem:
|
|
278
|
-
createIbanRequest:
|
|
279
|
-
tokenData:
|
|
310
|
+
appKeyEur: $,
|
|
311
|
+
paymentWidgetSrcUrl: M,
|
|
312
|
+
navigate: F,
|
|
313
|
+
AccountItem: g,
|
|
314
|
+
createIbanRequest: te,
|
|
315
|
+
tokenData: X,
|
|
316
|
+
brandId: H
|
|
280
317
|
}
|
|
281
318
|
),
|
|
282
|
-
/* @__PURE__ */ e(
|
|
283
|
-
/* @__PURE__ */ e(l, { className:
|
|
284
|
-
|
|
285
|
-
|
|
319
|
+
/* @__PURE__ */ e(O, { mt: 2, children: /* @__PURE__ */ o(i, { p: 3, mt: A.iban ? 2 : 0, children: [
|
|
320
|
+
/* @__PURE__ */ e(l, { className: r.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
|
|
321
|
+
V.length > 0 && /* @__PURE__ */ o(
|
|
322
|
+
Be,
|
|
286
323
|
{
|
|
287
|
-
className: `${
|
|
324
|
+
className: `${G ? r["delete-disable"] : r["confirm-edit"]} normal-text`,
|
|
288
325
|
sx: { mt: 3, mb: 3 },
|
|
289
326
|
variant: "contained",
|
|
290
|
-
onClick: () =>
|
|
327
|
+
onClick: () => K((t) => !t),
|
|
291
328
|
children: [
|
|
292
|
-
/* @__PURE__ */ e(
|
|
329
|
+
/* @__PURE__ */ e(je, {}),
|
|
293
330
|
"Delete"
|
|
294
331
|
]
|
|
295
332
|
}
|
|
296
333
|
),
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
/* @__PURE__ */
|
|
300
|
-
/* @__PURE__ */ e(
|
|
334
|
+
ce && /* @__PURE__ */ e(i, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(I, { size: 50 }) }),
|
|
335
|
+
V.map((t, s) => /* @__PURE__ */ e(g, { type: "bankAccount", data: t }, s)),
|
|
336
|
+
/* @__PURE__ */ o(Ee, { mt: 4, gap: 1, children: [
|
|
337
|
+
/* @__PURE__ */ e(Ue, {}),
|
|
301
338
|
/* @__PURE__ */ e(l, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
|
|
302
|
-
/* @__PURE__ */ e(
|
|
339
|
+
/* @__PURE__ */ e(Ye, {})
|
|
303
340
|
] })
|
|
304
341
|
] }) })
|
|
305
342
|
] })
|
|
306
343
|
] }) }),
|
|
307
|
-
/* @__PURE__ */
|
|
308
|
-
|
|
344
|
+
/* @__PURE__ */ o(
|
|
345
|
+
Le,
|
|
309
346
|
{
|
|
310
347
|
fullWidth: !0,
|
|
311
|
-
open:
|
|
312
|
-
onClose: () =>
|
|
313
|
-
TransitionComponent:
|
|
348
|
+
open: le,
|
|
349
|
+
onClose: () => _(!1),
|
|
350
|
+
TransitionComponent: Ke,
|
|
314
351
|
children: [
|
|
315
|
-
/* @__PURE__ */
|
|
352
|
+
/* @__PURE__ */ o(Oe, { className: "buy-modal-text-color", children: [
|
|
316
353
|
/* @__PURE__ */ e(l, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
|
|
317
354
|
/* @__PURE__ */ e(
|
|
318
|
-
|
|
355
|
+
W,
|
|
319
356
|
{
|
|
320
357
|
"aria-label": "close",
|
|
321
|
-
onClick: () =>
|
|
358
|
+
onClick: () => _(!1),
|
|
322
359
|
className: "menu-buttons",
|
|
323
|
-
children: /* @__PURE__ */ e(
|
|
360
|
+
children: /* @__PURE__ */ e(Ge, {})
|
|
324
361
|
}
|
|
325
362
|
)
|
|
326
363
|
] }),
|
|
327
|
-
/* @__PURE__ */
|
|
364
|
+
/* @__PURE__ */ o(Pe, { dividers: !0, children: [
|
|
328
365
|
/* @__PURE__ */ e(l, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
|
|
329
366
|
/* @__PURE__ */ e(
|
|
330
|
-
|
|
367
|
+
ae,
|
|
331
368
|
{
|
|
332
369
|
label: "Name",
|
|
333
|
-
value:
|
|
334
|
-
onChangeHandler: (t) =>
|
|
370
|
+
value: k,
|
|
371
|
+
onChangeHandler: (t) => me(t)
|
|
335
372
|
}
|
|
336
373
|
),
|
|
337
374
|
/* @__PURE__ */ e(
|
|
338
|
-
|
|
375
|
+
ae,
|
|
339
376
|
{
|
|
340
377
|
label: "Private Key",
|
|
341
|
-
value:
|
|
342
|
-
onChangeHandler: (t) =>
|
|
378
|
+
value: v,
|
|
379
|
+
onChangeHandler: (t) => de(t)
|
|
343
380
|
}
|
|
344
381
|
),
|
|
345
|
-
/* @__PURE__ */ e(
|
|
346
|
-
/* @__PURE__ */ e(
|
|
382
|
+
/* @__PURE__ */ e(ie, { sx: { mt: 4 }, onClick: pe, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: T ? /* @__PURE__ */ o(ne, { children: [
|
|
383
|
+
/* @__PURE__ */ e(I, { size: 15, color: "inherit" }),
|
|
347
384
|
" Processing..."
|
|
348
385
|
] }) : "Import Wallet" }) })
|
|
349
386
|
] })
|
|
@@ -351,7 +388,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
351
388
|
}
|
|
352
389
|
)
|
|
353
390
|
] });
|
|
354
|
-
},
|
|
391
|
+
}, jt = et(at);
|
|
355
392
|
export {
|
|
356
|
-
|
|
393
|
+
jt as default
|
|
357
394
|
};
|
|
@@ -6,8 +6,8 @@ import { I as M } from "../../../Info-DOoRR7sR.js";
|
|
|
6
6
|
import { u as O } from "../../../react-redux-C7I9-1M6.js";
|
|
7
7
|
import H from "../../Shared/transition.js";
|
|
8
8
|
import { M as J } from "../../../tooltip-BW0UyWw7.js";
|
|
9
|
-
import {
|
|
10
|
-
import { s as L } from "../../../bank-
|
|
9
|
+
import { af as K, ag as b } from "../../../constants-BRS2liAt.js";
|
|
10
|
+
import { s as L } from "../../../bank-CPJa0NOE.js";
|
|
11
11
|
import { useSnackBarContext as Q } from "../../../context/snackBarContext.js";
|
|
12
12
|
import V from "../Shared/appButton.js";
|
|
13
13
|
import { EURO_ISO3 as T } from "../../../util/constants.js";
|
|
@@ -6,16 +6,16 @@ import "../../../util/functions.js";
|
|
|
6
6
|
import "../../../util/constants.js";
|
|
7
7
|
import "../../../styles.module-DMd29SPQ.js";
|
|
8
8
|
import "../Shared/appButton.js";
|
|
9
|
-
import "../../../constants-
|
|
10
|
-
import "../../../index-
|
|
11
|
-
import "../../../order-
|
|
12
|
-
import "../../../bank-
|
|
13
|
-
import { a as F } from "../../../index-
|
|
9
|
+
import "../../../constants-BRS2liAt.js";
|
|
10
|
+
import "../../../index-CREgBh59.js";
|
|
11
|
+
import "../../../order-DBuLYKfx.js";
|
|
12
|
+
import "../../../bank-CPJa0NOE.js";
|
|
13
|
+
import { a as F } from "../../../index-D7Eq-pbC.js";
|
|
14
14
|
import "../../../index.esm-BsMAMhYW.js";
|
|
15
15
|
import "../../../react-redux-C7I9-1M6.js";
|
|
16
16
|
import "../../../index-DlQqWbXG.js";
|
|
17
17
|
import "../../../hoc/withThemeProvider.js";
|
|
18
|
-
import "../../../otpForm-
|
|
18
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
19
19
|
import "../../../context/snackBarContext.js";
|
|
20
20
|
import "../../../util/conversions.js";
|
|
21
21
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../../../PlayArrow-
|
|
4
|
+
import "../../../PlayArrow-WUr_Eyo1.js";
|
|
5
5
|
import "../../../Info-DOoRR7sR.js";
|
|
6
6
|
import "../../../generic-token-B_ptO5yb.js";
|
|
7
7
|
import "../../../util/constants.js";
|
|
8
|
-
import "../../../constants-
|
|
9
|
-
import "../../../index-
|
|
10
|
-
import "../../../order-
|
|
8
|
+
import "../../../constants-BRS2liAt.js";
|
|
9
|
+
import "../../../index-CREgBh59.js";
|
|
10
|
+
import "../../../order-DBuLYKfx.js";
|
|
11
11
|
import "../../../tooltip-BW0UyWw7.js";
|
|
12
12
|
import "../../../util/functions.js";
|
|
13
13
|
import "../Shared/appButton.js";
|
|
14
|
-
import { B as k } from "../../../index-
|
|
14
|
+
import { B as k } from "../../../index-D7Eq-pbC.js";
|
|
15
15
|
import "../../../styles.module-DMd29SPQ.js";
|
|
16
16
|
import "../Shared/TokenModal/index.js";
|
|
17
17
|
import "../../../react-redux-C7I9-1M6.js";
|