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,54 +1,54 @@
|
|
|
1
1
|
import { jsxs as s, Fragment as $, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m, useEffect as S } from "react";
|
|
3
|
-
import { Backdrop as ke, CircularProgress as V, Box as
|
|
3
|
+
import { Backdrop as ke, CircularProgress as V, Box as E, Typography as w, FormControl as A, Select as I, MenuItem as T, TextField as j, Grid as o, Dialog as xe, IconButton as we, DialogContent as Te } from "@mui/material";
|
|
4
4
|
import { C as ve } from "../../../Close-DSxLLo08.js";
|
|
5
|
-
import {
|
|
6
|
-
import { f as We } from "../../../wallet-
|
|
5
|
+
import { aG as ye, aH as Se, aI as Ae, aJ as be, aK as Ee, aL as Ne } from "../../../constants-B-_x7F8X.js";
|
|
6
|
+
import { f as We } from "../../../wallet-Cw-0XynY.js";
|
|
7
7
|
import { ETHEREUM_NETWORK as Ce, EVER_CHAIN_NETWORK as Ie, ID_TOKEN_SYMBOL as _e, SYNTHETIC_EUR as Y } from "../../../util/constants.js";
|
|
8
8
|
import "../../../index-DlQqWbXG.js";
|
|
9
9
|
import _ from "../Shared/appButton.js";
|
|
10
10
|
import Le from "../../../hoc/withThemeProvider.js";
|
|
11
11
|
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
12
12
|
import { tokenBalanceDisplay as ze, getNetworkScanBaseUrl as J, displayWalletAddress as X } from "../../../util/functions.js";
|
|
13
|
-
import "../../../otpForm-
|
|
13
|
+
import "../../../otpForm-WjQmPs8D.js";
|
|
14
14
|
import { useSnackBarContext as Re } from "../../../context/snackBarContext.js";
|
|
15
15
|
import Pe from "../../../hooks/useEverestDispatch.js";
|
|
16
|
-
import { getGweiFromWei as Ge, getUnFormattedValueFromWei as
|
|
16
|
+
import { getGweiFromWei as Ge, getUnFormattedValueFromWei as Me, fromHuman as z } from "../../../util/conversions.js";
|
|
17
17
|
import "../../../index-CAoLi5Qq.js";
|
|
18
18
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
19
19
|
import "../../Shared/transition.js";
|
|
20
20
|
import "../../../tooltip-BW0UyWw7.js";
|
|
21
21
|
import "../../../moment-h96o7c8I.js";
|
|
22
|
+
import "../../../index.esm-I_Bp2YLf.js";
|
|
22
23
|
import "../../../index.esm-BsMAMhYW.js";
|
|
23
24
|
import "../../../web3-u4qDZYpo.js";
|
|
24
25
|
import "../../../index-ceeCtFuh.js";
|
|
25
|
-
import "../../../index.esm-I_Bp2YLf.js";
|
|
26
26
|
import "../../../context/dialogContext.js";
|
|
27
27
|
import "@mui/icons-material";
|
|
28
|
-
import '../../../assets/index7.css';const
|
|
28
|
+
import '../../../assets/index7.css';const Ue = () => ({
|
|
29
29
|
type: ye
|
|
30
|
-
}),
|
|
31
|
-
type:
|
|
30
|
+
}), Be = (g) => ({
|
|
31
|
+
type: be,
|
|
32
32
|
payload: g
|
|
33
33
|
}), R = () => ({
|
|
34
34
|
type: Se
|
|
35
|
-
}),
|
|
36
|
-
type:
|
|
35
|
+
}), Fe = (g) => ({
|
|
36
|
+
type: Ee,
|
|
37
37
|
payload: g
|
|
38
38
|
}), Oe = (g) => ({
|
|
39
39
|
type: Ne,
|
|
40
40
|
payload: g
|
|
41
41
|
}), Z = () => ({
|
|
42
42
|
type: Ae
|
|
43
|
-
}),
|
|
44
|
-
container:
|
|
43
|
+
}), Ke = "_container_uzn46_1", ee = {
|
|
44
|
+
container: Ke,
|
|
45
45
|
"inner-container": "_inner-container_uzn46_13"
|
|
46
|
-
},
|
|
47
|
-
var
|
|
48
|
-
const { showAlertMessage: i } = Re(), d = Pe(), P = L((t) => t.app.network), te = P.loader, G = P.list, r = L((t) => t.send), a = r == null ? void 0 : r.gasFee,
|
|
46
|
+
}, qe = ({ navigate: g }) => {
|
|
47
|
+
var H, D;
|
|
48
|
+
const { showAlertMessage: i } = Re(), d = Pe(), P = L((t) => t.app.network), te = P.loader, G = P.list, r = L((t) => t.send), a = r == null ? void 0 : r.gasFee, b = r == null ? void 0 : r.txId, M = r == null ? void 0 : r.loader, N = r == null ? void 0 : r.error, U = L((t) => t.user.wallets), B = U.loader, W = U.data, ne = te || B, [h, F] = m(""), [u, O] = m(""), [f, re] = m({}), [p, oe] = m(Ce), [K, q] = m(0), [se, ae] = m([]), [x, ie] = m(""), [c, le] = m(""), [de, C] = m(!1), l = G.find(
|
|
49
49
|
(t) => t.name.toLowerCase() === p.toLowerCase()
|
|
50
50
|
);
|
|
51
|
-
S(() => (d(
|
|
51
|
+
S(() => (d(Ue()), d(We()), () => {
|
|
52
52
|
d(R()), d(Z());
|
|
53
53
|
}), []), S(() => {
|
|
54
54
|
N && i({ message: N });
|
|
@@ -81,14 +81,14 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
81
81
|
);
|
|
82
82
|
if (v) {
|
|
83
83
|
const k = ze(v);
|
|
84
|
-
|
|
84
|
+
q(parseFloat(k)), re(v);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
} else
|
|
88
|
-
|
|
88
|
+
q(0);
|
|
89
89
|
}, [u]);
|
|
90
90
|
const ce = (t) => {
|
|
91
|
-
t ? /^([0-9.,]+)$/.test(t) &&
|
|
91
|
+
t ? /^([0-9.,]+)$/.test(t) && F(t) : F("");
|
|
92
92
|
}, me = () => {
|
|
93
93
|
if (!p)
|
|
94
94
|
return i({
|
|
@@ -109,7 +109,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
109
109
|
const t = parseFloat(h);
|
|
110
110
|
return t <= 0 ? (i({
|
|
111
111
|
message: "Please provide amount greater than 0"
|
|
112
|
-
}), !1) : t >
|
|
112
|
+
}), !1) : t > K ? (i({
|
|
113
113
|
message: `Insufficient balance to send ${u}`
|
|
114
114
|
}), !1) : !0;
|
|
115
115
|
}, he = () => {
|
|
@@ -128,7 +128,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
128
128
|
amount: t,
|
|
129
129
|
chainId: l.chainId
|
|
130
130
|
};
|
|
131
|
-
d(
|
|
131
|
+
d(Be(n));
|
|
132
132
|
}, ue = () => {
|
|
133
133
|
if (d(R()), !l) {
|
|
134
134
|
i({ message: "Network not selected" });
|
|
@@ -154,7 +154,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
154
154
|
gas: a
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
|
-
d(
|
|
157
|
+
d(Fe(n));
|
|
158
158
|
}, pe = () => {
|
|
159
159
|
if (!a) {
|
|
160
160
|
i({ message: "Gas fee data is not available" });
|
|
@@ -191,7 +191,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
191
191
|
children: /* @__PURE__ */ e(V, { color: "inherit" })
|
|
192
192
|
}
|
|
193
193
|
),
|
|
194
|
-
/* @__PURE__ */ e(
|
|
194
|
+
/* @__PURE__ */ e(E, { className: ee.container, children: /* @__PURE__ */ s(E, { className: ee["inner-container"], children: [
|
|
195
195
|
/* @__PURE__ */ e(w, { variant: "body2", children: /* @__PURE__ */ e("b", { children: "Select Chain" }) }),
|
|
196
196
|
/* @__PURE__ */ e(A, { sx: { mt: 1.5 }, fullWidth: !0, children: /* @__PURE__ */ s(
|
|
197
197
|
I,
|
|
@@ -255,10 +255,10 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
255
255
|
) }),
|
|
256
256
|
/* @__PURE__ */ e(w, { mt: 4, variant: "body2", children: /* @__PURE__ */ s("b", { children: [
|
|
257
257
|
"Balance: ",
|
|
258
|
-
|
|
258
|
+
K
|
|
259
259
|
] }) }),
|
|
260
260
|
/* @__PURE__ */ s(o, { mt: 1.5, spacing: 2, container: !0, children: [
|
|
261
|
-
/* @__PURE__ */ e(o, { className: "flex-center", size: 6, children:
|
|
261
|
+
/* @__PURE__ */ e(o, { className: "flex-center", size: 6, children: B ? /* @__PURE__ */ e(V, { size: 30, color: "inherit" }) : /* @__PURE__ */ e(A, { fullWidth: !0, children: /* @__PURE__ */ s(
|
|
262
262
|
I,
|
|
263
263
|
{
|
|
264
264
|
sx: {
|
|
@@ -295,7 +295,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
295
295
|
{
|
|
296
296
|
sx: { mt: 4 },
|
|
297
297
|
onClick: he,
|
|
298
|
-
isLoading:
|
|
298
|
+
isLoading: M,
|
|
299
299
|
fullWidth: !0,
|
|
300
300
|
children: /* @__PURE__ */ e("strong", { children: "Send" })
|
|
301
301
|
}
|
|
@@ -314,7 +314,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
314
314
|
}
|
|
315
315
|
},
|
|
316
316
|
children: [
|
|
317
|
-
!
|
|
317
|
+
!b && /* @__PURE__ */ e(
|
|
318
318
|
we,
|
|
319
319
|
{
|
|
320
320
|
"aria-label": "close",
|
|
@@ -332,7 +332,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
332
332
|
),
|
|
333
333
|
/* @__PURE__ */ s(Te, { sx: { py: 6 }, children: [
|
|
334
334
|
/* @__PURE__ */ e(w, { className: "text-center", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Sending Confirmation" }) }),
|
|
335
|
-
|
|
335
|
+
b ? /* @__PURE__ */ s($, { children: [
|
|
336
336
|
/* @__PURE__ */ e(
|
|
337
337
|
w,
|
|
338
338
|
{
|
|
@@ -342,21 +342,21 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
342
342
|
children: "This transaction is under way, it is not yet completed, you can track status of transaction using the network explorer link provided."
|
|
343
343
|
}
|
|
344
344
|
),
|
|
345
|
-
/* @__PURE__ */ e(
|
|
345
|
+
/* @__PURE__ */ e(E, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
|
|
346
346
|
"a",
|
|
347
347
|
{
|
|
348
348
|
style: { wordBreak: "break-all" },
|
|
349
|
-
href: `${J(p)}tx/${
|
|
349
|
+
href: `${J(p)}tx/${b}`,
|
|
350
350
|
rel: "noopener noreferrer",
|
|
351
351
|
target: "_blank",
|
|
352
352
|
children: [
|
|
353
353
|
J(p),
|
|
354
354
|
"tx/",
|
|
355
|
-
|
|
355
|
+
b
|
|
356
356
|
]
|
|
357
357
|
}
|
|
358
358
|
) }),
|
|
359
|
-
/* @__PURE__ */ e(
|
|
359
|
+
/* @__PURE__ */ e(E, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
|
|
360
360
|
_,
|
|
361
361
|
{
|
|
362
362
|
sx: { mt: 2 },
|
|
@@ -378,12 +378,12 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
378
378
|
/* @__PURE__ */ e(o, { className: "fw500 text-right", size: 6, children: X(x) }),
|
|
379
379
|
/* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Limit" }) }),
|
|
380
380
|
/* @__PURE__ */ s(o, { className: "fw500 text-right", size: 6, children: [
|
|
381
|
-
Ge(((
|
|
381
|
+
Ge(((H = a == null ? void 0 : a.gasLimit) == null ? void 0 : H.toString()) || "0"),
|
|
382
382
|
" Gwei"
|
|
383
383
|
] }),
|
|
384
384
|
/* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
|
|
385
385
|
/* @__PURE__ */ s(o, { className: "fw500 text-right", size: 6, children: [
|
|
386
|
-
|
|
386
|
+
Me(
|
|
387
387
|
((D = a == null ? void 0 : a.totalMaxEthSpent) == null ? void 0 : D.toString()) || "0"
|
|
388
388
|
),
|
|
389
389
|
" ",
|
|
@@ -394,7 +394,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
394
394
|
{
|
|
395
395
|
sx: { mt: 4 },
|
|
396
396
|
onClick: ue,
|
|
397
|
-
isLoading:
|
|
397
|
+
isLoading: M,
|
|
398
398
|
fullWidth: !0,
|
|
399
399
|
children: /* @__PURE__ */ e("strong", { children: "Send" })
|
|
400
400
|
}
|
|
@@ -405,7 +405,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
405
405
|
}
|
|
406
406
|
)
|
|
407
407
|
] });
|
|
408
|
-
}, kt = Le(
|
|
408
|
+
}, kt = Le(qe);
|
|
409
409
|
export {
|
|
410
410
|
kt as default
|
|
411
411
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../../../../constants-
|
|
5
|
-
import "../../../../auth-
|
|
4
|
+
import "../../../../constants-B-_x7F8X.js";
|
|
5
|
+
import "../../../../auth-D_DKdP4p.js";
|
|
6
6
|
import "../../../../util/constants.js";
|
|
7
7
|
import "../appButton.js";
|
|
8
|
-
import { O as d } from "../../../../otpForm-
|
|
8
|
+
import { O as d } from "../../../../otpForm-WjQmPs8D.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
|
@@ -4,10 +4,10 @@ import { u as S } from "../../../../react-redux-C7I9-1M6.js";
|
|
|
4
4
|
import { Box as n, CircularProgress as l, Grid as c, Typography as d, Stack as T } from "@mui/material";
|
|
5
5
|
import A from "../backBtn.js";
|
|
6
6
|
import y from "../addBank.js";
|
|
7
|
-
import "../../../../constants-
|
|
8
|
-
import { u as C } from "../../../../index-
|
|
9
|
-
import { o as E } from "../../../../order-
|
|
10
|
-
import { u as O } from "../../../../bank-
|
|
7
|
+
import "../../../../constants-B-_x7F8X.js";
|
|
8
|
+
import { u as C } from "../../../../index-CREgBh59.js";
|
|
9
|
+
import { o as E } from "../../../../order-DAiOqPsI.js";
|
|
10
|
+
import { u as O } from "../../../../bank-DIuQN1YY.js";
|
|
11
11
|
import D from "../connectPlaidBank.js";
|
|
12
12
|
import { s } from "../../../../styles.module-DMd29SPQ.js";
|
|
13
13
|
import { RADIO_BUTTON_SELECTED as I, RADIO_BUTTON as L } from "../../../../util/constants.js";
|
|
@@ -6,8 +6,8 @@ import { VISA_ICON as v } from "../../../../util/constants.js";
|
|
|
6
6
|
import "../../../../index-DlQqWbXG.js";
|
|
7
7
|
import "../appButton.js";
|
|
8
8
|
import "../../../../hoc/withThemeProvider.js";
|
|
9
|
-
import "../../../../otpForm-
|
|
10
|
-
import "../../../../constants-
|
|
9
|
+
import "../../../../otpForm-WjQmPs8D.js";
|
|
10
|
+
import "../../../../constants-B-_x7F8X.js";
|
|
11
11
|
import { useSnackBarContext as w } from "../../../../context/snackBarContext.js";
|
|
12
12
|
import "../../../../util/conversions.js";
|
|
13
13
|
import "../../../../index-CAoLi5Qq.js";
|
|
@@ -15,10 +15,10 @@ import "../../../../react-webcam-B3cXh1XT.js";
|
|
|
15
15
|
import "../../../Shared/transition.js";
|
|
16
16
|
import "../../../../tooltip-BW0UyWw7.js";
|
|
17
17
|
import "../../../../moment-h96o7c8I.js";
|
|
18
|
+
import "../../../../index.esm-I_Bp2YLf.js";
|
|
18
19
|
import "../../../../index.esm-BsMAMhYW.js";
|
|
19
20
|
import "../../../../web3-u4qDZYpo.js";
|
|
20
21
|
import "../../../../index-ceeCtFuh.js";
|
|
21
|
-
import "../../../../index.esm-I_Bp2YLf.js";
|
|
22
22
|
import "../../../../context/dialogContext.js";
|
|
23
23
|
import "@mui/icons-material";
|
|
24
24
|
const G = ({
|
|
@@ -9,10 +9,10 @@ import { PAYMENT_PROVIDER_OPENPAYD as j } from "../../../util/constants.js";
|
|
|
9
9
|
import "../../../index-DlQqWbXG.js";
|
|
10
10
|
import x from "./appButton.js";
|
|
11
11
|
import "../../../hoc/withThemeProvider.js";
|
|
12
|
-
import "../../../otpForm-
|
|
13
|
-
import "../../../constants-
|
|
14
|
-
import { a as Y, u as _ } from "../../../index-
|
|
15
|
-
import { a as q } from "../../../bank-
|
|
12
|
+
import "../../../otpForm-WjQmPs8D.js";
|
|
13
|
+
import "../../../constants-B-_x7F8X.js";
|
|
14
|
+
import { a as Y, u as _ } from "../../../index-CREgBh59.js";
|
|
15
|
+
import { a as q } from "../../../bank-DIuQN1YY.js";
|
|
16
16
|
import { useSnackBarContext as G } from "../../../context/snackBarContext.js";
|
|
17
17
|
import L from "../../../hooks/useEverestDispatch.js";
|
|
18
18
|
import "../../../util/conversions.js";
|
|
@@ -20,10 +20,10 @@ import "../../../index-CAoLi5Qq.js";
|
|
|
20
20
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
21
21
|
import "../../../tooltip-BW0UyWw7.js";
|
|
22
22
|
import "../../../moment-h96o7c8I.js";
|
|
23
|
+
import "../../../index.esm-I_Bp2YLf.js";
|
|
23
24
|
import "../../../index.esm-BsMAMhYW.js";
|
|
24
25
|
import "../../../web3-u4qDZYpo.js";
|
|
25
26
|
import "../../../index-ceeCtFuh.js";
|
|
26
|
-
import "../../../index.esm-I_Bp2YLf.js";
|
|
27
27
|
import "../../../context/dialogContext.js";
|
|
28
28
|
import "@mui/icons-material";
|
|
29
29
|
const ke = () => {
|
|
@@ -2,17 +2,17 @@ import { jsx as t, Fragment as h } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as y, useEffect as c, useCallback as C } from "react";
|
|
3
3
|
import { u as e } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import { u as S } from "../../../index.esm-BsMAMhYW.js";
|
|
5
|
-
import { Box as P, CircularProgress as
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import { u as
|
|
8
|
-
import { p as A, b as T } from "../../../bank-
|
|
5
|
+
import { Box as P, CircularProgress as B } from "@mui/material";
|
|
6
|
+
import "../../../constants-B-_x7F8X.js";
|
|
7
|
+
import { u as b, a as g, b as x } from "../../../index-CREgBh59.js";
|
|
8
|
+
import { p as A, b as T } from "../../../bank-DIuQN1YY.js";
|
|
9
9
|
import { c as q } from "../../../countries-BVn1FubK.js";
|
|
10
10
|
import v from "./appButton.js";
|
|
11
11
|
import D from "../../../hooks/useEverestDispatch.js";
|
|
12
12
|
const J = ({
|
|
13
13
|
buttonType: u = "primary"
|
|
14
14
|
}) => {
|
|
15
|
-
const r = D(), { loader: a, plaidToken: l } = e(
|
|
15
|
+
const r = D(), { loader: a, plaidToken: l } = e(b), s = e(g).residentialAddress.country || "USA", [i, d] = y(""), p = e(x);
|
|
16
16
|
c(() => {
|
|
17
17
|
if (s) {
|
|
18
18
|
const n = q.find((o) => o.alpha3 === s);
|
|
@@ -42,14 +42,14 @@ const J = ({
|
|
|
42
42
|
//required for OAuth; if not using OAuth, set to null or omit:
|
|
43
43
|
//receivedRedirectUri: window.location.href,
|
|
44
44
|
}, { open: f, ready: k } = S(m);
|
|
45
|
-
return /* @__PURE__ */ t(h, { children: a ? /* @__PURE__ */ t(P, { className: "text-center", mt: 8, children: /* @__PURE__ */ t(
|
|
45
|
+
return /* @__PURE__ */ t(h, { children: a ? /* @__PURE__ */ t(P, { className: "text-center", mt: 8, children: /* @__PURE__ */ t(B, {}) }) : /* @__PURE__ */ t(
|
|
46
46
|
v,
|
|
47
47
|
{
|
|
48
48
|
variantType: u,
|
|
49
49
|
onClick: () => f(),
|
|
50
50
|
fullWidth: !0,
|
|
51
51
|
disabled: !k,
|
|
52
|
-
children: /* @__PURE__ */ t("strong", { children: "Connect
|
|
52
|
+
children: /* @__PURE__ */ t("strong", { children: "Connect Bank Account" })
|
|
53
53
|
}
|
|
54
54
|
) });
|
|
55
55
|
};
|
|
@@ -8,13 +8,13 @@ import "../../../generic-token-B_ptO5yb.js";
|
|
|
8
8
|
import "./appButton.js";
|
|
9
9
|
import "./timer.js";
|
|
10
10
|
import "../../../util/functions.js";
|
|
11
|
-
import "../../../constants-
|
|
12
|
-
import "../../../order-
|
|
11
|
+
import "../../../constants-B-_x7F8X.js";
|
|
12
|
+
import "../../../order-DAiOqPsI.js";
|
|
13
13
|
import "../../../index-DlQqWbXG.js";
|
|
14
14
|
import "../../../hoc/withThemeProvider.js";
|
|
15
15
|
import "./Input/index.js";
|
|
16
16
|
import "../../../util/constants.js";
|
|
17
|
-
import "../../../otpForm-
|
|
17
|
+
import "../../../otpForm-WjQmPs8D.js";
|
|
18
18
|
import "../../../context/snackBarContext.js";
|
|
19
19
|
import "../../../hooks/useEverestDispatch.js";
|
|
20
20
|
import "../../../util/conversions.js";
|
|
@@ -22,12 +22,12 @@ import "../../../react-webcam-B3cXh1XT.js";
|
|
|
22
22
|
import "../../Shared/transition.js";
|
|
23
23
|
import "../../../tooltip-BW0UyWw7.js";
|
|
24
24
|
import "../../../moment-h96o7c8I.js";
|
|
25
|
+
import "../../../index.esm-I_Bp2YLf.js";
|
|
25
26
|
import "../../../index.esm-BsMAMhYW.js";
|
|
26
27
|
import "../../../web3-u4qDZYpo.js";
|
|
27
28
|
import "../../../styles.module-DMd29SPQ.js";
|
|
28
29
|
import "../../../index-ceeCtFuh.js";
|
|
29
|
-
import { M as G } from "../../../index-
|
|
30
|
-
import "../../../index.esm-I_Bp2YLf.js";
|
|
30
|
+
import { M as G } from "../../../index-BeEuJLqT.js";
|
|
31
31
|
import "../../../context/dialogContext.js";
|
|
32
32
|
import "@mui/icons-material";
|
|
33
33
|
export {
|
|
@@ -3,9 +3,9 @@ import { useState as h, useEffect as c } from "react";
|
|
|
3
3
|
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import O from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import S from "../Shared/Auth/emailForm.js";
|
|
6
|
-
import { O as x } from "../../../otpForm-
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as R, l as k, b as q } from "../../../auth-
|
|
6
|
+
import { O as x } from "../../../otpForm-WjQmPs8D.js";
|
|
7
|
+
import "../../../constants-B-_x7F8X.js";
|
|
8
|
+
import { a as R, l as k, b as q } from "../../../auth-D_DKdP4p.js";
|
|
9
9
|
import v from "../Shared/Container/index.js";
|
|
10
10
|
import { LOGIN_SCREEN as f } from "../../../util/constants.js";
|
|
11
11
|
import { useSnackBarContext as C } from "../../../context/snackBarContext.js";
|
|
@@ -3,9 +3,9 @@ import { useState as d, useEffect as c } from "react";
|
|
|
3
3
|
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import O from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import k from "../Shared/Auth/emailForm.js";
|
|
6
|
-
import { O as j } from "../../../otpForm-
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as q, r as w, v as M } from "../../../auth-
|
|
6
|
+
import { O as j } from "../../../otpForm-WjQmPs8D.js";
|
|
7
|
+
import "../../../constants-B-_x7F8X.js";
|
|
8
|
+
import { a as q, r as w, v as M } from "../../../auth-D_DKdP4p.js";
|
|
9
9
|
import P from "../Shared/Container/index.js";
|
|
10
10
|
import { REGISTER_SCREEN as g } from "../../../util/constants.js";
|
|
11
11
|
import W from "./terms.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Backdrop as w, CircularProgress as m, Grid as
|
|
1
|
+
import { jsxs as t, Fragment as I, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Backdrop as w, CircularProgress as m, Grid as r, Box as a, Typography as o, IconButton as p, FormControl as G, TextField as b } from "@mui/material";
|
|
3
3
|
import B from "../../Shared/noData.js";
|
|
4
|
-
import { M as
|
|
5
|
-
import { I as
|
|
6
|
-
import { s as i } from "../../../../styles.module-
|
|
4
|
+
import { M as u } from "../../../../tooltip-BW0UyWw7.js";
|
|
5
|
+
import { I as f } from "../../../../Info-DOoRR7sR.js";
|
|
6
|
+
import { s as i } from "../../../../styles.module-4N8hJhXS.js";
|
|
7
7
|
import s from "../../Shared/appButton.js";
|
|
8
8
|
import { AuthContainer as x } from "../../Shared/Container/index.js";
|
|
9
9
|
const Y = ({
|
|
@@ -31,7 +31,7 @@ const Y = ({
|
|
|
31
31
|
].join(`
|
|
32
32
|
|
|
33
33
|
`);
|
|
34
|
-
return /* @__PURE__ */
|
|
34
|
+
return /* @__PURE__ */ t(I, { children: [
|
|
35
35
|
/* @__PURE__ */ e(
|
|
36
36
|
w,
|
|
37
37
|
{
|
|
@@ -43,27 +43,27 @@ const Y = ({
|
|
|
43
43
|
children: /* @__PURE__ */ e(m, { color: "inherit" })
|
|
44
44
|
}
|
|
45
45
|
),
|
|
46
|
-
/* @__PURE__ */ r
|
|
47
|
-
/* @__PURE__ */ e(
|
|
46
|
+
/* @__PURE__ */ t(r, { spacing: 2, container: !0, width: "100%", children: [
|
|
47
|
+
/* @__PURE__ */ e(r, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(x, { addTopMargin: !1, children: /* @__PURE__ */ t(a, { p: 3, children: [
|
|
48
48
|
/* @__PURE__ */ e(o, { className: i["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
|
|
49
|
-
/* @__PURE__ */ r
|
|
50
|
-
/* @__PURE__ */ e(
|
|
51
|
-
/* @__PURE__ */ e(
|
|
49
|
+
/* @__PURE__ */ t(r, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
|
|
50
|
+
/* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
|
|
51
|
+
/* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(o, { className: "text-right fs16 fw500", children: [
|
|
52
52
|
k,
|
|
53
53
|
" GEMS"
|
|
54
54
|
] }) }),
|
|
55
|
-
/* @__PURE__ */ e(
|
|
56
|
-
/* @__PURE__ */ e(
|
|
55
|
+
/* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
|
|
56
|
+
/* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(o, { className: "text-right fs16 fw500", children: [
|
|
57
57
|
T,
|
|
58
58
|
" ID"
|
|
59
59
|
] }) })
|
|
60
60
|
] }),
|
|
61
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ t(a, { mt: 6, children: [
|
|
62
62
|
l.length === 0 && /* @__PURE__ */ e(B, { text: "No GEM are staked at the moment" }),
|
|
63
63
|
l.map((n, h) => /* @__PURE__ */ e(v, { data: n }, h))
|
|
64
64
|
] })
|
|
65
65
|
] }) }) }),
|
|
66
|
-
/* @__PURE__ */ e(
|
|
66
|
+
/* @__PURE__ */ e(r, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ e(x, { addTopMargin: !1, children: /* @__PURE__ */ t(a, { p: 3, children: [
|
|
67
67
|
/* @__PURE__ */ e(
|
|
68
68
|
o,
|
|
69
69
|
{
|
|
@@ -74,12 +74,12 @@ const Y = ({
|
|
|
74
74
|
}
|
|
75
75
|
),
|
|
76
76
|
/* @__PURE__ */ e(
|
|
77
|
-
|
|
77
|
+
u,
|
|
78
78
|
{
|
|
79
79
|
title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: C }),
|
|
80
80
|
placement: "bottom",
|
|
81
81
|
children: /* @__PURE__ */ e(p, { className: i["info-icon"], children: /* @__PURE__ */ e(
|
|
82
|
-
|
|
82
|
+
f,
|
|
83
83
|
{
|
|
84
84
|
sx: {
|
|
85
85
|
fontSize: "26px",
|
|
@@ -89,7 +89,7 @@ const Y = ({
|
|
|
89
89
|
) })
|
|
90
90
|
}
|
|
91
91
|
),
|
|
92
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ t(a, { className: `${i["add-container"]} text-center`, children: [
|
|
93
93
|
/* @__PURE__ */ e(o, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available GEMS on EverChain" }) }),
|
|
94
94
|
N ? /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e(
|
|
95
95
|
o,
|
|
@@ -97,14 +97,14 @@ const Y = ({
|
|
|
97
97
|
sx: { mt: 2 },
|
|
98
98
|
className: "secondary-text-color",
|
|
99
99
|
variant: "h3",
|
|
100
|
-
children: /* @__PURE__ */
|
|
100
|
+
children: /* @__PURE__ */ t("strong", { children: [
|
|
101
101
|
d,
|
|
102
102
|
" GEMS"
|
|
103
103
|
] })
|
|
104
104
|
}
|
|
105
105
|
),
|
|
106
|
-
/* @__PURE__ */ r
|
|
107
|
-
/* @__PURE__ */ e(
|
|
106
|
+
/* @__PURE__ */ t(r, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
|
|
107
|
+
/* @__PURE__ */ e(r, { size: 11, children: /* @__PURE__ */ t("fieldset", { className: i["move-id"], children: [
|
|
108
108
|
/* @__PURE__ */ e(
|
|
109
109
|
"legend",
|
|
110
110
|
{
|
|
@@ -134,13 +134,13 @@ const Y = ({
|
|
|
134
134
|
}
|
|
135
135
|
)
|
|
136
136
|
] }) }),
|
|
137
|
-
/* @__PURE__ */ e(
|
|
138
|
-
|
|
137
|
+
/* @__PURE__ */ e(r, { size: 1, children: /* @__PURE__ */ e(
|
|
138
|
+
u,
|
|
139
139
|
{
|
|
140
140
|
title: "To stake your GEMS token, the token must be on EverChain. To move GEMS from Ethereum to EverChain or back requires ETH to pay the network fees.",
|
|
141
141
|
placement: "top",
|
|
142
142
|
children: /* @__PURE__ */ e(p, { className: i["button-icon"], children: /* @__PURE__ */ e(
|
|
143
|
-
|
|
143
|
+
f,
|
|
144
144
|
{
|
|
145
145
|
sx: {
|
|
146
146
|
fontSize: "24px",
|
|
@@ -151,27 +151,27 @@ const Y = ({
|
|
|
151
151
|
}
|
|
152
152
|
) })
|
|
153
153
|
] }),
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
-
|
|
154
|
+
/* @__PURE__ */ t(
|
|
155
|
+
r,
|
|
156
156
|
{
|
|
157
157
|
mt: 4,
|
|
158
158
|
sx: {
|
|
159
|
-
borderRadius: "
|
|
159
|
+
borderRadius: "8px",
|
|
160
160
|
color: "#BDBDBD"
|
|
161
161
|
},
|
|
162
162
|
container: !0,
|
|
163
163
|
width: "100%",
|
|
164
164
|
children: [
|
|
165
|
-
/* @__PURE__ */ e(
|
|
165
|
+
/* @__PURE__ */ e(r, { size: 4 }),
|
|
166
166
|
/* @__PURE__ */ e(
|
|
167
|
-
|
|
167
|
+
r,
|
|
168
168
|
{
|
|
169
169
|
className: `${i["time-item"]} ${i["item-last"]} ${i.active}`,
|
|
170
170
|
size: 4,
|
|
171
171
|
children: /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
|
|
172
172
|
}
|
|
173
173
|
),
|
|
174
|
-
/* @__PURE__ */ e(
|
|
174
|
+
/* @__PURE__ */ e(r, { size: 4 })
|
|
175
175
|
]
|
|
176
176
|
}
|
|
177
177
|
),
|
|
@@ -183,7 +183,10 @@ const Y = ({
|
|
|
183
183
|
value: S,
|
|
184
184
|
fullWidth: !0,
|
|
185
185
|
required: !0,
|
|
186
|
-
onChange: (n) => z(n.target.value)
|
|
186
|
+
onChange: (n) => z(n.target.value),
|
|
187
|
+
sx: {
|
|
188
|
+
borderRadius: "8px"
|
|
189
|
+
}
|
|
187
190
|
}
|
|
188
191
|
) }),
|
|
189
192
|
/* @__PURE__ */ e(
|