everest-npm-features 0.0.63 → 0.0.65
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/{PlayArrow-71FP5PzJ.js → PlayArrow-DbQI55la.js} +5 -5
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/{auth-BBeOw4mt.js → auth-D_DKdP4p.js} +1 -1
- package/dist/bank-DIuQN1YY.js +47 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +5 -5
- 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 +7 -7
- 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 +5 -5
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +77 -73
- package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
- package/dist/components/Shared/FullKyc/types.d.ts +4 -4
- package/dist/components/Shared/FullKyc/userInfo.js +5 -5
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Shared/Sumsub/index.d.ts +1 -1
- package/dist/components/Shared/Sumsub/index.js +36 -34
- package/dist/components/Wallet/Account/createIban.js +16 -541
- package/dist/components/Wallet/Account/eWallet.js +7 -7
- package/dist/components/Wallet/Account/iban.js +77 -56
- package/dist/components/Wallet/Account/ibanItem.js +21 -6
- package/dist/components/Wallet/Account/index.js +217 -182
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
- 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 +3 -3
- package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -4
- package/dist/components/Wallet/EnterpriseKyc/index.d.ts +1 -1
- package/dist/components/Wallet/EnterpriseKyc/index.js +111 -109
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/types.d.ts +16 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +3 -3
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +5 -5
- package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
- package/dist/components/Wallet/Portfolio/index.js +7 -7
- package/dist/components/Wallet/Profile/documents.js +76 -69
- package/dist/components/Wallet/Profile/index.js +71 -50
- package/dist/components/Wallet/Profile/storage.js +32 -25
- package/dist/components/Wallet/Receive/index.js +3 -3
- package/dist/components/Wallet/Sell/confirmTransaction.js +6 -6
- 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 +37 -37
- 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 +3 -3
- package/dist/components/Wallet/Shared/addBank.js +5 -5
- package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
- package/dist/components/Wallet/Shared/manualSend.js +5 -5
- 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 +34 -31
- package/dist/components/Wallet/Stake/id/index.js +24 -16
- package/dist/components/Wallet/Stake/index.js +7 -7
- package/dist/components/Wallet/Swap/form.js +8 -8
- 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-DX0YBtP2.js → constants-B-_x7F8X.js} +221 -219
- package/dist/createIban-CbxsxTxl.js +580 -0
- package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-Cmdg7BR-.js} +1 -1
- package/dist/hooks/useDialog/index.js +11 -9
- package/dist/{index-DkiQ8pRO.js → index-9VVh1IhH.js} +52 -52
- package/dist/{index-JY6-UKlX.js → index-BeEuJLqT.js} +88 -87
- package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
- package/dist/{index-_fiTunwZ.js → index-C_Vf8Evc.js} +4 -4
- package/dist/{index-bK14vCZw.js → index-Cx8dey5q.js} +6 -6
- package/dist/{index-B4XvACQN.js → index-DXw2h9nQ.js} +71 -70
- package/dist/index-DtTDOPWZ.js +562 -0
- package/dist/{index-DuWW5roi.js → index-DuOJBwgp.js} +66 -65
- package/dist/{kyc-BNMPoeHt.js → kyc-BXoUxN4z.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-BXeCIvqC.js → order-DAiOqPsI.js} +1 -1
- package/dist/{otpForm-DeeegaX2.js → otpForm-WjQmPs8D.js} +2 -2
- package/dist/{stake-BO2TYVJ7.js → stake-CzXNB3em.js} +1 -1
- package/dist/styles.module-4N8hJhXS.js +22 -0
- package/dist/styles.module-DYytghn2.js +28 -0
- package/dist/util/constants.d.ts +2 -2
- package/dist/util/constants.js +1 -1
- package/dist/{wallet-BPXOp8UG.js → wallet-Cw-0XynY.js} +1 -1
- package/package.json +7 -7
- package/dist/bank-HVb0GFsa.js +0 -37
- package/dist/index-CTPMPwYK.js +0 -533
- package/dist/styles.module-C1sNeKjL.js +0 -22
- package/dist/styles.module-DFoezEqS.js +0 -28
|
@@ -1,44 +1,45 @@
|
|
|
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 { b as ge, ai as be } from "../../../constants-B-_x7F8X.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-Cw-0XynY.js";
|
|
7
|
+
import { u as De, c as Se, d as oe, e as Te, f as Re } from "../../../bank-DIuQN1YY.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-WjQmPs8D.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";
|
|
32
32
|
import "../../../moment-h96o7c8I.js";
|
|
33
|
+
import "../../../index.esm-I_Bp2YLf.js";
|
|
33
34
|
import "../../../index.esm-BsMAMhYW.js";
|
|
34
35
|
import "../../../index-ceeCtFuh.js";
|
|
35
|
-
import "../../../
|
|
36
|
-
import { useDialogContext as Ve } from "../../../context/dialogContext.js";
|
|
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-CbxsxTxl.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,89 +48,123 @@ import '../../../assets/index3.css';const Xe = "_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:
|
|
51
|
+
}, at = ({
|
|
52
|
+
baseUrl: P,
|
|
52
53
|
checkoutSdkKey: q,
|
|
53
54
|
appKey: z,
|
|
54
|
-
appKeyEur:
|
|
55
|
-
paymentWidgetSrcUrl:
|
|
56
|
-
navigate:
|
|
57
|
-
brandId:
|
|
55
|
+
appKeyEur: $,
|
|
56
|
+
paymentWidgetSrcUrl: M,
|
|
57
|
+
navigate: F,
|
|
58
|
+
brandId: H
|
|
58
59
|
}) => {
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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;
|
|
64
67
|
c(() => {
|
|
65
|
-
if (
|
|
66
|
-
|
|
67
|
-
const t = typeof
|
|
68
|
-
(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" });
|
|
69
72
|
}
|
|
70
|
-
}, [
|
|
71
|
-
|
|
72
|
-
}, [
|
|
73
|
-
|
|
74
|
-
}, [
|
|
75
|
-
|
|
76
|
-
}, [
|
|
77
|
-
|
|
78
|
-
}, [
|
|
79
|
-
|
|
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(""));
|
|
80
83
|
}), []), c(() => {
|
|
81
|
-
|
|
82
|
-
}, [
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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({
|
|
88
123
|
message: "Please provide the wallet private key"
|
|
89
124
|
}), !1;
|
|
90
|
-
T ||
|
|
91
|
-
|
|
92
|
-
name:
|
|
93
|
-
privatekey: Buffer.from(
|
|
125
|
+
T || n(
|
|
126
|
+
ke({
|
|
127
|
+
name: k,
|
|
128
|
+
privatekey: Buffer.from(v).toString("base64")
|
|
94
129
|
})
|
|
95
130
|
);
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
icon:
|
|
131
|
+
}, fe = (t) => {
|
|
132
|
+
f({
|
|
133
|
+
icon: He,
|
|
99
134
|
height: "450px",
|
|
100
135
|
title: "Are you sure you want to delete?",
|
|
101
136
|
message: "This action cannot be undone.",
|
|
102
137
|
onConfirm: () => {
|
|
103
|
-
|
|
138
|
+
n(Re(t));
|
|
104
139
|
},
|
|
105
140
|
cancelButtonShow: !0
|
|
106
141
|
});
|
|
107
|
-
},
|
|
142
|
+
}, g = ({
|
|
108
143
|
data: t,
|
|
109
144
|
type: s,
|
|
110
|
-
children:
|
|
111
|
-
rightAdornment:
|
|
145
|
+
children: N,
|
|
146
|
+
rightAdornment: p
|
|
112
147
|
}) => {
|
|
113
|
-
let
|
|
114
|
-
return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (
|
|
115
|
-
s === "bankAccount" &&
|
|
116
|
-
|
|
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,
|
|
117
152
|
{
|
|
118
|
-
className:
|
|
119
|
-
onClick: () =>
|
|
120
|
-
children: /* @__PURE__ */ e(
|
|
153
|
+
className: r["remove-icon"],
|
|
154
|
+
onClick: () => fe(t.id),
|
|
155
|
+
children: /* @__PURE__ */ e(Ve, {})
|
|
121
156
|
}
|
|
122
157
|
),
|
|
123
|
-
/* @__PURE__ */
|
|
124
|
-
/* @__PURE__ */ e(
|
|
125
|
-
/* @__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: [
|
|
126
161
|
/* @__PURE__ */ e(
|
|
127
162
|
l,
|
|
128
163
|
{
|
|
129
164
|
variant: "body1",
|
|
130
165
|
component: "p",
|
|
131
|
-
className: `${
|
|
132
|
-
children: /* @__PURE__ */ e("strong", { children:
|
|
166
|
+
className: `${r["account-item-text"]} ${r["primary-color"]}`,
|
|
167
|
+
children: /* @__PURE__ */ e("strong", { children: C })
|
|
133
168
|
}
|
|
134
169
|
),
|
|
135
170
|
/* @__PURE__ */ e(
|
|
@@ -137,56 +172,56 @@ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_head
|
|
|
137
172
|
{
|
|
138
173
|
variant: "caption",
|
|
139
174
|
component: "p",
|
|
140
|
-
className: `${
|
|
141
|
-
children: /* @__PURE__ */ e("strong", { children:
|
|
175
|
+
className: `${r["account-item-text"]} ${r["secondary-color"]}`,
|
|
176
|
+
children: /* @__PURE__ */ e("strong", { children: y })
|
|
142
177
|
}
|
|
143
178
|
)
|
|
144
179
|
] }),
|
|
145
|
-
|
|
146
|
-
|
|
180
|
+
p ? /* @__PURE__ */ e(
|
|
181
|
+
d,
|
|
147
182
|
{
|
|
148
183
|
size: { xs: 3, md: 4 },
|
|
149
184
|
sx: { display: "flex", justifyContent: "flex-end" },
|
|
150
|
-
children:
|
|
185
|
+
children: p
|
|
151
186
|
}
|
|
152
187
|
) : null
|
|
153
188
|
] }),
|
|
154
|
-
|
|
189
|
+
N
|
|
155
190
|
] });
|
|
156
|
-
},
|
|
157
|
-
const s =
|
|
158
|
-
let
|
|
159
|
-
for (let
|
|
160
|
-
if (
|
|
161
|
-
|
|
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;
|
|
162
197
|
break;
|
|
163
198
|
}
|
|
164
|
-
|
|
199
|
+
N ? a({
|
|
165
200
|
message: "This wallet address is already connected."
|
|
166
|
-
}) :
|
|
167
|
-
},
|
|
168
|
-
|
|
201
|
+
}) : n(ve(t));
|
|
202
|
+
}, te = (t) => {
|
|
203
|
+
n(oe({ currency: t }));
|
|
169
204
|
};
|
|
170
|
-
return /* @__PURE__ */
|
|
171
|
-
/* @__PURE__ */ e(
|
|
172
|
-
/* @__PURE__ */
|
|
173
|
-
/* @__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: [
|
|
174
209
|
/* @__PURE__ */ e(
|
|
175
210
|
l,
|
|
176
211
|
{
|
|
177
|
-
className:
|
|
212
|
+
className: r.heading,
|
|
178
213
|
variant: "h6",
|
|
179
214
|
component: "span",
|
|
180
215
|
children: /* @__PURE__ */ e("strong", { children: "Linked Wallets" })
|
|
181
216
|
}
|
|
182
217
|
),
|
|
183
218
|
/* @__PURE__ */ e(
|
|
184
|
-
|
|
219
|
+
se,
|
|
185
220
|
{
|
|
186
|
-
title: /* @__PURE__ */ e(
|
|
221
|
+
title: /* @__PURE__ */ e(i, { sx: { whiteSpace: "pre-line" }, children: ze }),
|
|
187
222
|
placement: "bottom",
|
|
188
|
-
children: /* @__PURE__ */ e(
|
|
189
|
-
|
|
223
|
+
children: /* @__PURE__ */ e(W, { className: r["info-icon"], children: /* @__PURE__ */ e(
|
|
224
|
+
re,
|
|
190
225
|
{
|
|
191
226
|
sx: {
|
|
192
227
|
fontSize: "26px",
|
|
@@ -196,35 +231,35 @@ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_head
|
|
|
196
231
|
) })
|
|
197
232
|
}
|
|
198
233
|
),
|
|
199
|
-
T && /* @__PURE__ */ e(
|
|
200
|
-
|
|
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)),
|
|
201
236
|
/* @__PURE__ */ e(
|
|
202
|
-
|
|
237
|
+
ie,
|
|
203
238
|
{
|
|
204
239
|
sx: { mt: 4 },
|
|
205
|
-
onClick: () =>
|
|
240
|
+
onClick: () => _(!0),
|
|
206
241
|
fullWidth: !0,
|
|
207
242
|
children: /* @__PURE__ */ e("strong", { children: "Add Wallet" })
|
|
208
243
|
}
|
|
209
244
|
)
|
|
210
245
|
] }),
|
|
211
|
-
/* @__PURE__ */
|
|
246
|
+
/* @__PURE__ */ o(O, { p: 3, mt: 2, children: [
|
|
212
247
|
/* @__PURE__ */ e(
|
|
213
248
|
l,
|
|
214
249
|
{
|
|
215
|
-
className:
|
|
250
|
+
className: r.heading,
|
|
216
251
|
variant: "h6",
|
|
217
252
|
component: "span",
|
|
218
253
|
children: /* @__PURE__ */ e("strong", { children: "Connected Wallets" })
|
|
219
254
|
}
|
|
220
255
|
),
|
|
221
256
|
/* @__PURE__ */ e(
|
|
222
|
-
|
|
257
|
+
se,
|
|
223
258
|
{
|
|
224
|
-
title: /* @__PURE__ */ e(
|
|
259
|
+
title: /* @__PURE__ */ e(i, { sx: { whiteSpace: "pre-line" }, children: $e }),
|
|
225
260
|
placement: "bottom",
|
|
226
|
-
children: /* @__PURE__ */ e(
|
|
227
|
-
|
|
261
|
+
children: /* @__PURE__ */ e(W, { className: r["info-icon"], children: /* @__PURE__ */ e(
|
|
262
|
+
re,
|
|
228
263
|
{
|
|
229
264
|
sx: {
|
|
230
265
|
fontSize: "26px",
|
|
@@ -234,118 +269,118 @@ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_head
|
|
|
234
269
|
) })
|
|
235
270
|
}
|
|
236
271
|
),
|
|
237
|
-
|
|
238
|
-
|
|
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)),
|
|
239
274
|
/* @__PURE__ */ e(
|
|
240
|
-
|
|
275
|
+
Xe,
|
|
241
276
|
{
|
|
242
|
-
addressHandler:
|
|
277
|
+
addressHandler: he,
|
|
243
278
|
btnClass: "wallet-btn"
|
|
244
279
|
}
|
|
245
280
|
)
|
|
246
281
|
] })
|
|
247
282
|
] }),
|
|
248
|
-
/* @__PURE__ */
|
|
249
|
-
|
|
250
|
-
|
|
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,
|
|
251
286
|
{
|
|
252
|
-
openDialog:
|
|
253
|
-
dispatch:
|
|
287
|
+
openDialog: f,
|
|
288
|
+
dispatch: n,
|
|
254
289
|
iban: j,
|
|
255
|
-
baseUrl:
|
|
290
|
+
baseUrl: P,
|
|
256
291
|
checkoutSdkKey: q,
|
|
257
292
|
appKey: z,
|
|
258
|
-
appKeyEur:
|
|
259
|
-
paymentWidgetSrcUrl:
|
|
260
|
-
navigate:
|
|
261
|
-
AccountItem:
|
|
262
|
-
createIbanRequest:
|
|
263
|
-
tokenData:
|
|
293
|
+
appKeyEur: $,
|
|
294
|
+
paymentWidgetSrcUrl: M,
|
|
295
|
+
navigate: F,
|
|
296
|
+
AccountItem: g,
|
|
297
|
+
createIbanRequest: te,
|
|
298
|
+
tokenData: X
|
|
264
299
|
}
|
|
265
300
|
) }),
|
|
266
|
-
|
|
267
|
-
|
|
301
|
+
A.iban && /* @__PURE__ */ e(
|
|
302
|
+
Je,
|
|
268
303
|
{
|
|
269
|
-
openDialog:
|
|
270
|
-
dispatch:
|
|
304
|
+
openDialog: f,
|
|
305
|
+
dispatch: n,
|
|
271
306
|
iban: j,
|
|
272
|
-
baseUrl:
|
|
307
|
+
baseUrl: P,
|
|
273
308
|
checkoutSdkKey: q,
|
|
274
309
|
appKey: z,
|
|
275
|
-
appKeyEur:
|
|
276
|
-
paymentWidgetSrcUrl:
|
|
277
|
-
navigate:
|
|
278
|
-
AccountItem:
|
|
279
|
-
createIbanRequest:
|
|
280
|
-
tokenData:
|
|
281
|
-
brandId:
|
|
310
|
+
appKeyEur: $,
|
|
311
|
+
paymentWidgetSrcUrl: M,
|
|
312
|
+
navigate: F,
|
|
313
|
+
AccountItem: g,
|
|
314
|
+
createIbanRequest: te,
|
|
315
|
+
tokenData: X,
|
|
316
|
+
brandId: H
|
|
282
317
|
}
|
|
283
318
|
),
|
|
284
|
-
/* @__PURE__ */ e(
|
|
285
|
-
/* @__PURE__ */ e(l, { className:
|
|
286
|
-
|
|
287
|
-
|
|
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,
|
|
288
323
|
{
|
|
289
|
-
className: `${
|
|
324
|
+
className: `${G ? r["delete-disable"] : r["confirm-edit"]} normal-text`,
|
|
290
325
|
sx: { mt: 3, mb: 3 },
|
|
291
326
|
variant: "contained",
|
|
292
|
-
onClick: () =>
|
|
327
|
+
onClick: () => K((t) => !t),
|
|
293
328
|
children: [
|
|
294
|
-
/* @__PURE__ */ e(
|
|
329
|
+
/* @__PURE__ */ e(je, {}),
|
|
295
330
|
"Delete"
|
|
296
331
|
]
|
|
297
332
|
}
|
|
298
333
|
),
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
/* @__PURE__ */
|
|
302
|
-
/* @__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, {}),
|
|
303
338
|
/* @__PURE__ */ e(l, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
|
|
304
|
-
/* @__PURE__ */ e(
|
|
339
|
+
/* @__PURE__ */ e(Ye, {})
|
|
305
340
|
] })
|
|
306
341
|
] }) })
|
|
307
342
|
] })
|
|
308
343
|
] }) }),
|
|
309
|
-
/* @__PURE__ */
|
|
310
|
-
|
|
344
|
+
/* @__PURE__ */ o(
|
|
345
|
+
Le,
|
|
311
346
|
{
|
|
312
347
|
fullWidth: !0,
|
|
313
|
-
open:
|
|
314
|
-
onClose: () =>
|
|
315
|
-
TransitionComponent:
|
|
348
|
+
open: le,
|
|
349
|
+
onClose: () => _(!1),
|
|
350
|
+
TransitionComponent: Ke,
|
|
316
351
|
children: [
|
|
317
|
-
/* @__PURE__ */
|
|
352
|
+
/* @__PURE__ */ o(Oe, { className: "buy-modal-text-color", children: [
|
|
318
353
|
/* @__PURE__ */ e(l, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
|
|
319
354
|
/* @__PURE__ */ e(
|
|
320
|
-
|
|
355
|
+
W,
|
|
321
356
|
{
|
|
322
357
|
"aria-label": "close",
|
|
323
|
-
onClick: () =>
|
|
358
|
+
onClick: () => _(!1),
|
|
324
359
|
className: "menu-buttons",
|
|
325
|
-
children: /* @__PURE__ */ e(
|
|
360
|
+
children: /* @__PURE__ */ e(Ge, {})
|
|
326
361
|
}
|
|
327
362
|
)
|
|
328
363
|
] }),
|
|
329
|
-
/* @__PURE__ */
|
|
364
|
+
/* @__PURE__ */ o(Pe, { dividers: !0, children: [
|
|
330
365
|
/* @__PURE__ */ e(l, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
|
|
331
366
|
/* @__PURE__ */ e(
|
|
332
|
-
|
|
367
|
+
ae,
|
|
333
368
|
{
|
|
334
369
|
label: "Name",
|
|
335
|
-
value:
|
|
336
|
-
onChangeHandler: (t) =>
|
|
370
|
+
value: k,
|
|
371
|
+
onChangeHandler: (t) => me(t)
|
|
337
372
|
}
|
|
338
373
|
),
|
|
339
374
|
/* @__PURE__ */ e(
|
|
340
|
-
|
|
375
|
+
ae,
|
|
341
376
|
{
|
|
342
377
|
label: "Private Key",
|
|
343
|
-
value:
|
|
344
|
-
onChangeHandler: (t) =>
|
|
378
|
+
value: v,
|
|
379
|
+
onChangeHandler: (t) => de(t)
|
|
345
380
|
}
|
|
346
381
|
),
|
|
347
|
-
/* @__PURE__ */ e(
|
|
348
|
-
/* @__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" }),
|
|
349
384
|
" Processing..."
|
|
350
385
|
] }) : "Import Wallet" }) })
|
|
351
386
|
] })
|
|
@@ -353,7 +388,7 @@ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_head
|
|
|
353
388
|
}
|
|
354
389
|
)
|
|
355
390
|
] });
|
|
356
|
-
},
|
|
391
|
+
}, jt = et(at);
|
|
357
392
|
export {
|
|
358
|
-
|
|
393
|
+
jt as default
|
|
359
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-B-_x7F8X.js";
|
|
10
|
+
import { s as L } from "../../../bank-DIuQN1YY.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-B-_x7F8X.js";
|
|
10
|
+
import "../../../index-CREgBh59.js";
|
|
11
|
+
import "../../../order-DAiOqPsI.js";
|
|
12
|
+
import "../../../bank-DIuQN1YY.js";
|
|
13
|
+
import { a as F } from "../../../index-DuOJBwgp.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-WjQmPs8D.js";
|
|
19
19
|
import "../../../context/snackBarContext.js";
|
|
20
20
|
import "../../../util/conversions.js";
|
|
21
21
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -23,8 +23,8 @@ import "../../../react-webcam-B3cXh1XT.js";
|
|
|
23
23
|
import "../../Shared/transition.js";
|
|
24
24
|
import "../../../tooltip-BW0UyWw7.js";
|
|
25
25
|
import "../../../moment-h96o7c8I.js";
|
|
26
|
-
import "../../../web3-u4qDZYpo.js";
|
|
27
26
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
27
|
+
import "../../../web3-u4qDZYpo.js";
|
|
28
28
|
import "../../../context/dialogContext.js";
|
|
29
29
|
import "@mui/icons-material";
|
|
30
30
|
import "../../../index-ceeCtFuh.js";
|