everest-npm-features 0.0.41 → 0.0.43
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-C6lnbwD4.js → PlayArrow-Cd3sLvFW.js} +3 -3
- package/dist/{auth-BMzyEvqd.js → auth-CzQ2SiN_.js} +1 -1
- package/dist/{bank-Bp23LpvN.js → bank-DJqJqzwJ.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
- 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 +5 -5
- 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 +6 -6
- package/dist/components/Shared/FullKyc/edd.js +2 -2
- package/dist/components/Shared/FullKyc/index.js +3 -3
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +3 -3
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.js +1 -1
- package/dist/components/Wallet/Account/iban.js +5 -5
- package/dist/components/Wallet/Account/ibanItem.js +1 -1
- package/dist/components/Wallet/Account/index.js +11 -11
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.d.ts +2 -0
- package/dist/components/Wallet/Buy/index.js +15 -11
- package/dist/components/Wallet/Deposit/index.d.ts +4 -0
- package/dist/components/Wallet/Deposit/index.js +62 -50
- package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +25 -25
- package/dist/components/Wallet/Portfolio/index.js +195 -186
- package/dist/components/Wallet/Profile/documents.js +3 -3
- package/dist/components/Wallet/Profile/index.js +10 -10
- package/dist/components/Wallet/Receive/index.js +3 -3
- package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
- 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 +12 -12
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.d.ts +4 -0
- package/dist/components/Wallet/Shared/BankSelect/index.js +71 -0
- package/dist/components/Wallet/Shared/CardCorp/index.d.ts +11 -0
- package/dist/components/Wallet/Shared/CardCorp/index.js +72 -0
- package/dist/components/Wallet/Shared/Order/types.d.ts +3 -0
- package/dist/components/Wallet/Shared/addBank.js +3 -3
- package/dist/components/Wallet/Shared/connectPlaidBank.js +3 -3
- package/dist/components/Wallet/Shared/manualSend.js +3 -3
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/Stake/index.js +4 -4
- package/dist/components/Wallet/Swap/form.js +6 -6
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +69 -19
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +5 -5
- package/dist/components/Wallet/Withdraw/index.js +11 -10
- package/dist/{constants-9grj4Du1.js → constants-BQibkMPf.js} +119 -118
- package/dist/{cryptoAssets-Cf7xMoh9.js → cryptoAssets-CI_6_gpT.js} +1 -1
- package/dist/{documents-vj042AkQ.js → documents-DhAyY9OB.js} +2 -2
- package/dist/{index-FwnHkXdK.js → index-BQNs1mvn.js} +2 -2
- package/dist/{index-ufcy2D20.js → index-BmnzQEjv.js} +2 -2
- package/dist/{index-DVQ-d6A4.js → index-C3ZgWBrd.js} +6 -6
- package/dist/{index-Y7QJR4pX.js → index-C4Z1sQwf.js} +7 -7
- package/dist/index-ChAYuyXl.js +592 -0
- package/dist/{index-Cf_gfO-E.js → index-Dh9NbI7I.js} +4 -4
- package/dist/{index-CUBxw5s4.js → index-DpOHb_Wl.js} +4 -4
- package/dist/index-e2FmUhS_.js +760 -0
- package/dist/{kyc-MeOwOyUF.js → kyc-BbIvXp_G.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/order-BQbk7Nb4.js +55 -0
- package/dist/{stake-ClJWsrHb.js → stake-DWzckUqA.js} +1 -1
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +63 -62
- package/dist/{wallet-nsVuNagB.js → wallet-CHtpHvyK.js} +3 -3
- package/package.json +2 -2
- package/dist/index-BXj7Wdol.js +0 -730
- package/dist/index-CUhPCwCD.js +0 -643
- package/dist/order-Cs5_3wOs.js +0 -51
|
@@ -2,16 +2,16 @@ import { jsxs as a, Fragment as v, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as ye, useMemo as Ve, useState as p, useEffect as h } from "react";
|
|
3
3
|
import Je from "./hoc/withThemeProvider.js";
|
|
4
4
|
import { a as C, u as Ie } from "./react-redux-B4BZippc.js";
|
|
5
|
-
import { P as Qe } from "./PlayArrow-
|
|
5
|
+
import { P as Qe } from "./PlayArrow-Cd3sLvFW.js";
|
|
6
6
|
import { I as Ze } from "./Info-BVeUSPyk.js";
|
|
7
7
|
import { G as et } from "./generic-token-B_ptO5yb.js";
|
|
8
8
|
import { getCentralLedgetNetwork as V, getNetworkBackGround as be, getCurrencySymbol as tt } from "./util/functions.js";
|
|
9
9
|
import Ne from "./components/Wallet/Shared/TokenModal/index.js";
|
|
10
10
|
import { formatNumberWithoutRounding as _e } from "./util/conversions.js";
|
|
11
|
-
import {
|
|
12
|
-
import { c as ot, d as rt } from "./index-
|
|
13
|
-
import { f as nt, a as at, b as st } from "./cryptoAssets-
|
|
14
|
-
import {
|
|
11
|
+
import { ab as A } from "./constants-BQibkMPf.js";
|
|
12
|
+
import { c as ot, d as rt } from "./index-BQNs1mvn.js";
|
|
13
|
+
import { f as nt, a as at, b as st } from "./cryptoAssets-CI_6_gpT.js";
|
|
14
|
+
import { c as Z, d as ve, e as it, f as lt, g as ct, h as mt } from "./order-BQbk7Nb4.js";
|
|
15
15
|
import { DIALOG_SUCCESS_ICON as dt, TOKEN_TO_TOKEN as ee, ARROW_ICON as ut, ESTIMATE_TOOLTIP_TEXT as pt } from "./util/constants.js";
|
|
16
16
|
import { M as ft } from "./tooltip-3UvETWtS.js";
|
|
17
17
|
import "./index-DlQqWbXG.js";
|
|
@@ -28,11 +28,11 @@ import "./web3-u4qDZYpo.js";
|
|
|
28
28
|
import "./index-ceeCtFuh.js";
|
|
29
29
|
import { s as i } from "./styles.module-CHEBh2ID.js";
|
|
30
30
|
import Ce from "./components/Wallet/Shared/Order/selectCustomIcon.js";
|
|
31
|
-
import { u as xt, a as gt } from "./wallet-
|
|
31
|
+
import { u as xt, a as gt } from "./wallet-CHtpHvyK.js";
|
|
32
32
|
import { AuthContainer as yt } from "./components/Wallet/Shared/Container/index.js";
|
|
33
33
|
import bt from "./components/Shared/MinimalKyc/index.js";
|
|
34
34
|
import Nt from "./components/Wallet/Shared/Input/index.js";
|
|
35
|
-
import { M as _t } from "./index-
|
|
35
|
+
import { M as _t } from "./index-C3ZgWBrd.js";
|
|
36
36
|
import { useDialogContext as vt } from "./context/dialogContext.js";
|
|
37
37
|
import { B as R } from "./Box-B0YSYLco.js";
|
|
38
38
|
import { G as s } from "./Grid-CFe3amXO.js";
|
|
@@ -0,0 +1,592 @@
|
|
|
1
|
+
import { jsxs as r, Fragment as K, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as f, useEffect as y } from "react";
|
|
3
|
+
import Fe from "./hoc/withThemeProvider.js";
|
|
4
|
+
import Ae from "./components/Wallet/Shared/backBtn.js";
|
|
5
|
+
import { DIALOG_SUCCESS_ICON as Ee, PAYMENT_BANK as J, SEPA_ICON as ke, VISA_ICON as Se, PAYMENT_PROVIDER_PAYSAFE as Re, FIAT_WITHDRAW as ee, EURO_ISO3 as ze, US_DOLLAR_ISO3 as ce, SYNTHETIC_EUR as Ie, SYNTHETIC_USD as Te } from "./util/constants.js";
|
|
6
|
+
import { s as u } from "./styles.module-CHEBh2ID.js";
|
|
7
|
+
import ie from "./components/Wallet/Shared/appButton.js";
|
|
8
|
+
import { ae as G } from "./constants-BQibkMPf.js";
|
|
9
|
+
import { u as Be } from "./index-BQNs1mvn.js";
|
|
10
|
+
import { c as te, f as pe, g as We, e as we, h as Oe } from "./order-BQbk7Nb4.js";
|
|
11
|
+
import { a as j, u as Pe } from "./react-redux-B4BZippc.js";
|
|
12
|
+
import { P as Me, f as Le } from "./PlayArrow-Cd3sLvFW.js";
|
|
13
|
+
import { g as Ye, u as qe } from "./wallet-CHtpHvyK.js";
|
|
14
|
+
import { useSnackBarContext as Ke } from "./context/snackBarContext.js";
|
|
15
|
+
import { AuthContainer as $e } from "./components/Wallet/Shared/Container/index.js";
|
|
16
|
+
import Ue from "./components/Shared/MinimalKyc/index.js";
|
|
17
|
+
import He from "./components/Wallet/Shared/Input/index.js";
|
|
18
|
+
import { G as je } from "./generic-token-B_ptO5yb.js";
|
|
19
|
+
import { getCurrencySymbol as Ge } from "./util/functions.js";
|
|
20
|
+
import { PaymentButton as Ve } from "./components/Wallet/Shared/Order/paymentButton.js";
|
|
21
|
+
import Xe from "./components/Wallet/Shared/Order/selectCustomIcon.js";
|
|
22
|
+
import { G as n } from "./Grid-CFe3amXO.js";
|
|
23
|
+
import { T as i } from "./Typography-pAaje37G.js";
|
|
24
|
+
import { C as B } from "./CircularProgress-xZA3lvba.js";
|
|
25
|
+
import { F as Q } from "./FormControl-RtZDQMdA.js";
|
|
26
|
+
import { F as Z } from "./FilledInput-DuNqnPjc.js";
|
|
27
|
+
import { F as me } from "./TextField-DPpRUQe3.js";
|
|
28
|
+
import { S as De } from "./Select-CB5yWmyn.js";
|
|
29
|
+
import { M as Je } from "./MenuItem-DUdYOJr4.js";
|
|
30
|
+
import { L as Qe } from "./ListItemIcon-CUcyTEEm.js";
|
|
31
|
+
import { B as W } from "./Box-B0YSYLco.js";
|
|
32
|
+
import { I as Ze } from "./InputAdornment-DMiED3JH.js";
|
|
33
|
+
import { I as et } from "./IconButton-DHm-hucF.js";
|
|
34
|
+
import tt from "./components/Wallet/Shared/BankSelect/index.js";
|
|
35
|
+
import { useDialog as nt } from "./hooks/useDialog/index.js";
|
|
36
|
+
const it = ({
|
|
37
|
+
setScreen: k,
|
|
38
|
+
partnerKey: b,
|
|
39
|
+
orderData: c,
|
|
40
|
+
dispatch: h,
|
|
41
|
+
navigate: p
|
|
42
|
+
}) => {
|
|
43
|
+
const { openDialog: w, ConfirmDialog: N } = nt(), $ = j(Be).banks, o = c.estimate[G], S = c.create.order_id, s = c.create.bank_id, O = c.loader, P = o.fiat_amount, [U, F] = f(!1), [C, R] = f({});
|
|
44
|
+
y(() => {
|
|
45
|
+
if (s) {
|
|
46
|
+
const M = $.find((L) => L.id === s);
|
|
47
|
+
M && R(M);
|
|
48
|
+
}
|
|
49
|
+
}, [s]), y(() => {
|
|
50
|
+
S && U && w({
|
|
51
|
+
icon: Ee,
|
|
52
|
+
title: "Withdraw Success",
|
|
53
|
+
message: "Your transaction was successful for more details on the transaction please track your order.",
|
|
54
|
+
cancelButtonText: "Withdraw again",
|
|
55
|
+
onCancel: () => {
|
|
56
|
+
h(te()), k(ne);
|
|
57
|
+
},
|
|
58
|
+
confirmButtonText: "Track Order",
|
|
59
|
+
onConfirm: () => {
|
|
60
|
+
p && p("/history"), h(te());
|
|
61
|
+
},
|
|
62
|
+
height: "490px"
|
|
63
|
+
});
|
|
64
|
+
}, [S]), y(() => {
|
|
65
|
+
_();
|
|
66
|
+
}, []);
|
|
67
|
+
const _ = () => {
|
|
68
|
+
h(
|
|
69
|
+
pe(
|
|
70
|
+
{
|
|
71
|
+
apiKey: b,
|
|
72
|
+
transaction_type: o.transaction_type,
|
|
73
|
+
coin_amount: o.fiat_amount,
|
|
74
|
+
payment_type: o.payment_type,
|
|
75
|
+
fiat_ccy: o.fiat_currency,
|
|
76
|
+
payment_provider: o.payment_provider
|
|
77
|
+
},
|
|
78
|
+
G
|
|
79
|
+
)
|
|
80
|
+
);
|
|
81
|
+
}, x = () => {
|
|
82
|
+
h(
|
|
83
|
+
We({
|
|
84
|
+
apiKey: b,
|
|
85
|
+
quoteId: o.quote_id,
|
|
86
|
+
bankId: c.create.bank_id
|
|
87
|
+
})
|
|
88
|
+
), F(!0);
|
|
89
|
+
};
|
|
90
|
+
return /* @__PURE__ */ r(K, { children: [
|
|
91
|
+
/* @__PURE__ */ e(N, {}),
|
|
92
|
+
/* @__PURE__ */ e(
|
|
93
|
+
Ae,
|
|
94
|
+
{
|
|
95
|
+
onClickHandler: () => k(ue),
|
|
96
|
+
backBtnText: "Confirm Your Order"
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
/* @__PURE__ */ e(i, { mt: 2, variant: "sm", fontWeight: 600, children: "Funds received at" }),
|
|
100
|
+
/* @__PURE__ */ r(W, { mt: 2, className: u["confirm-payment"], children: [
|
|
101
|
+
/* @__PURE__ */ e(
|
|
102
|
+
"img",
|
|
103
|
+
{
|
|
104
|
+
src: o.payment_type === J ? ke : Se,
|
|
105
|
+
width: 100,
|
|
106
|
+
alt: "payment"
|
|
107
|
+
}
|
|
108
|
+
),
|
|
109
|
+
/* @__PURE__ */ e(i, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: o.payment_type === J ? "Bank Account" : "Debit Card" }) })
|
|
110
|
+
] }),
|
|
111
|
+
o.payment_type === J && /* @__PURE__ */ r(K, { children: [
|
|
112
|
+
/* @__PURE__ */ e(i, { mt: 3, variant: "caption", component: "p", children: /* @__PURE__ */ e("b", { children: "Bank Details" }) }),
|
|
113
|
+
/* @__PURE__ */ e(W, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ r(n, { container: !0, children: [
|
|
114
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Account Name" }) }),
|
|
115
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: C.accountName }) }),
|
|
116
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Bank Name" }) }),
|
|
117
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: C.bankName }) }),
|
|
118
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "IBAN" }) }),
|
|
119
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: C.accountNumber }) }),
|
|
120
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "BIC" }) }),
|
|
121
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: C.bicCode }) })
|
|
122
|
+
] }) })
|
|
123
|
+
] }),
|
|
124
|
+
/* @__PURE__ */ e(i, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
|
|
125
|
+
/* @__PURE__ */ e(W, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ r(n, { container: !0, children: [
|
|
126
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Withdraw Amount" }) }),
|
|
127
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
|
|
128
|
+
(+P * 1).toFixed(2),
|
|
129
|
+
" ",
|
|
130
|
+
o.fiat_currency
|
|
131
|
+
] }) }),
|
|
132
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Amount received" }) }),
|
|
133
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
|
|
134
|
+
(+o.fiat_out_amount * 1).toFixed(2),
|
|
135
|
+
" ",
|
|
136
|
+
o.fiat_currency
|
|
137
|
+
] }) }),
|
|
138
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
|
|
139
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
|
|
140
|
+
(+o.total_fee * 1).toFixed(2),
|
|
141
|
+
" ",
|
|
142
|
+
o.fiat_currency
|
|
143
|
+
] }) })
|
|
144
|
+
] }) }),
|
|
145
|
+
/* @__PURE__ */ e(W, { mt: 4, children: /* @__PURE__ */ e(
|
|
146
|
+
ie,
|
|
147
|
+
{
|
|
148
|
+
onClick: x,
|
|
149
|
+
disabled: O,
|
|
150
|
+
fullWidth: !0,
|
|
151
|
+
children: /* @__PURE__ */ e("strong", { children: O ? /* @__PURE__ */ r(K, { children: [
|
|
152
|
+
/* @__PURE__ */ e(B, { size: 15, color: "inherit" }),
|
|
153
|
+
" Processing..."
|
|
154
|
+
] }) : "Payment Details" })
|
|
155
|
+
}
|
|
156
|
+
) })
|
|
157
|
+
] });
|
|
158
|
+
}, ot = ({
|
|
159
|
+
setScreen: k,
|
|
160
|
+
orderData: b,
|
|
161
|
+
dispatch: c,
|
|
162
|
+
fiatAssets: h,
|
|
163
|
+
showAlertMessage: p,
|
|
164
|
+
partnerKey: w,
|
|
165
|
+
usdBalance: N,
|
|
166
|
+
eurBalance: v,
|
|
167
|
+
balanceLoader: $,
|
|
168
|
+
paymentId: o,
|
|
169
|
+
setPaymentId: S,
|
|
170
|
+
currencyId: s,
|
|
171
|
+
setCurrencyId: O,
|
|
172
|
+
paymentOptions: P,
|
|
173
|
+
setPaymentOptions: U
|
|
174
|
+
}) => {
|
|
175
|
+
var re, se;
|
|
176
|
+
const F = h.fiats, C = h.loader, R = b.loader, _ = b.estimate[G], x = _.fiat_out_amount, M = _.total_fee;
|
|
177
|
+
let L = 0, A = 0;
|
|
178
|
+
const d = _.fee_breakdown;
|
|
179
|
+
for (let t = 0; t < d.length; t++) {
|
|
180
|
+
const a = d[t];
|
|
181
|
+
a.name === "ev_fee" ? L = Number(a.value) : a.name === "network_fee" && (A = Number(a.value));
|
|
182
|
+
}
|
|
183
|
+
const [g, fe] = f(!1), [Y, he] = f([]), [oe, _e] = f(!1), [X, xe] = f(50), [st, ye] = f(3e3), [ae, Ne] = f(""), [H, D] = f(
|
|
184
|
+
_.fiat_amount || X.toString()
|
|
185
|
+
), l = F.find((t) => t.id === s), z = Ge(l == null ? void 0 : l.symbol), q = P.find((t) => t.id === o);
|
|
186
|
+
y(() => {
|
|
187
|
+
const t = [];
|
|
188
|
+
for (let a = 0; a < F.length; a++) {
|
|
189
|
+
const m = {}, E = F[a];
|
|
190
|
+
m.id = E.id, m.name = E.name, m.icon_uri = E.icon_uri, m.symbol = E.symbol, m.payment_options = [];
|
|
191
|
+
const I = E.payment_options;
|
|
192
|
+
for (let T = 0; T < I.length; T++) {
|
|
193
|
+
const le = {}, V = I[T];
|
|
194
|
+
V.payment_provider !== Re && V.active && V.payout_allowed && (Object.assign(le, V), m.payment_options.push(le));
|
|
195
|
+
}
|
|
196
|
+
m.payment_options.length > 0 && t.push(m);
|
|
197
|
+
}
|
|
198
|
+
he(t);
|
|
199
|
+
}, [F]), y(() => {
|
|
200
|
+
if (!s || Y.length === 0)
|
|
201
|
+
return;
|
|
202
|
+
const t = [];
|
|
203
|
+
for (let a = 0; a < Y.length; a++) {
|
|
204
|
+
if (Y[a].id === s) {
|
|
205
|
+
const m = Y[a].payment_options;
|
|
206
|
+
let E = !1;
|
|
207
|
+
for (let I = 0; I < m.length; I++) {
|
|
208
|
+
const T = m[I];
|
|
209
|
+
T.active && T.payout_allowed && (t.push(T), m[I].id === o && (E = !0));
|
|
210
|
+
}
|
|
211
|
+
E || S(t[0].id);
|
|
212
|
+
}
|
|
213
|
+
U(t);
|
|
214
|
+
}
|
|
215
|
+
}, [s, Y]), y(() => {
|
|
216
|
+
if (H && o && s) {
|
|
217
|
+
c(we(G)), fe(!1), Ne("");
|
|
218
|
+
const t = setTimeout(() => {
|
|
219
|
+
be();
|
|
220
|
+
}, 1e3);
|
|
221
|
+
return () => clearTimeout(t);
|
|
222
|
+
}
|
|
223
|
+
}, [H, o, s]);
|
|
224
|
+
const be = () => {
|
|
225
|
+
const t = q.payment_type;
|
|
226
|
+
c(
|
|
227
|
+
pe(
|
|
228
|
+
{
|
|
229
|
+
apiKey: w,
|
|
230
|
+
transaction_type: ee,
|
|
231
|
+
coin_amount: H,
|
|
232
|
+
payment_type: t,
|
|
233
|
+
fiat_ccy: l == null ? void 0 : l.symbol,
|
|
234
|
+
payment_provider: q.payment_provider
|
|
235
|
+
},
|
|
236
|
+
G
|
|
237
|
+
)
|
|
238
|
+
);
|
|
239
|
+
};
|
|
240
|
+
y(() => {
|
|
241
|
+
const t = b.types.length;
|
|
242
|
+
if (t > 0)
|
|
243
|
+
for (let a = 0; a < t; a++) {
|
|
244
|
+
const m = b.types[a];
|
|
245
|
+
if (m.type === ee) {
|
|
246
|
+
xe(parseFloat(m.min_deposit_amount)), ye(parseFloat(m.max_deposit_amount));
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}, [b.types]);
|
|
251
|
+
const ge = (t) => {
|
|
252
|
+
const a = t.target.value;
|
|
253
|
+
a ? /^([0-9]+)$/.test(a) && D(a) : D("");
|
|
254
|
+
}, ve = () => {
|
|
255
|
+
if (!o)
|
|
256
|
+
return p({ message: "Please select payment method" }), !1;
|
|
257
|
+
if (!H)
|
|
258
|
+
return p({ message: "Please enter amount" }), !1;
|
|
259
|
+
if (!x)
|
|
260
|
+
return p({
|
|
261
|
+
message: "Please wait for the estimate to be calculated and then press next"
|
|
262
|
+
}), !1;
|
|
263
|
+
if ((l == null ? void 0 : l.symbol) === ze && typeof v < "u" && parseFloat(x) > v)
|
|
264
|
+
return p({
|
|
265
|
+
message: "Insufficient Funds. Please provide amount less or equal to available balance"
|
|
266
|
+
}), !1;
|
|
267
|
+
if ((l == null ? void 0 : l.symbol) === ce && typeof N < "u" && parseFloat(x) > N)
|
|
268
|
+
return p({
|
|
269
|
+
message: "Insufficient Funds. Please provide amount less or equal to available balance"
|
|
270
|
+
}), !1;
|
|
271
|
+
if (parseFloat(x) < q.payout_min_amount * 1)
|
|
272
|
+
return p({
|
|
273
|
+
message: `${q.payout_min_amount + z} is the minimum amount to make the withdraw.`
|
|
274
|
+
}), !1;
|
|
275
|
+
if (parseFloat(x) > q.payout_max_amount * 1)
|
|
276
|
+
return p({
|
|
277
|
+
message: `${q.payout_max_amount + z} is the maximum amount to make the withdraw.`
|
|
278
|
+
}), !1;
|
|
279
|
+
k(ue);
|
|
280
|
+
}, Ce = () => {
|
|
281
|
+
const t = l.symbol === ce ? N : v;
|
|
282
|
+
D(t + "");
|
|
283
|
+
};
|
|
284
|
+
return /* @__PURE__ */ r(K, { children: [
|
|
285
|
+
/* @__PURE__ */ r(n, { container: !0, children: [
|
|
286
|
+
/* @__PURE__ */ e(n, { size: { xs: 3 }, children: /* @__PURE__ */ e(i, { className: u.label, variant: "caption", component: "p", children: "You Withdraw" }) }),
|
|
287
|
+
/* @__PURE__ */ e(n, { size: { xs: 9 }, children: /* @__PURE__ */ r(
|
|
288
|
+
i,
|
|
289
|
+
{
|
|
290
|
+
className: u["balance-label"],
|
|
291
|
+
variant: "caption",
|
|
292
|
+
component: "p",
|
|
293
|
+
children: [
|
|
294
|
+
"You Have:",
|
|
295
|
+
" ",
|
|
296
|
+
$ ? /* @__PURE__ */ e(B, { size: 10, color: "inherit" }) : s === 1 ? N : v,
|
|
297
|
+
" ",
|
|
298
|
+
(l == null ? void 0 : l.symbol) && (l == null ? void 0 : l.symbol) + ".c",
|
|
299
|
+
" ",
|
|
300
|
+
/* @__PURE__ */ e("span", { className: u["max-btn"], onClick: Ce, children: "MAX" })
|
|
301
|
+
]
|
|
302
|
+
}
|
|
303
|
+
) })
|
|
304
|
+
] }),
|
|
305
|
+
/* @__PURE__ */ r(n, { mt: 0.5, spacing: 0, container: !0, className: u["field-set"], children: [
|
|
306
|
+
/* @__PURE__ */ e(n, { size: { xs: 7 }, children: /* @__PURE__ */ r(
|
|
307
|
+
Q,
|
|
308
|
+
{
|
|
309
|
+
variant: "filled",
|
|
310
|
+
className: `${u.amount} ${u["fiat-field"]}`,
|
|
311
|
+
fullWidth: !0,
|
|
312
|
+
children: [
|
|
313
|
+
/* @__PURE__ */ e(
|
|
314
|
+
Z,
|
|
315
|
+
{
|
|
316
|
+
value: H,
|
|
317
|
+
onChange: ge,
|
|
318
|
+
type: "text",
|
|
319
|
+
placeholder: `${X > 0 ? "$" + X + " minimum value" : ""}`,
|
|
320
|
+
error: g,
|
|
321
|
+
disableUnderline: !0,
|
|
322
|
+
required: !0,
|
|
323
|
+
fullWidth: !0
|
|
324
|
+
}
|
|
325
|
+
),
|
|
326
|
+
/* @__PURE__ */ e(me, { className: u["amount-symbol"], children: " " })
|
|
327
|
+
]
|
|
328
|
+
}
|
|
329
|
+
) }),
|
|
330
|
+
/* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: C ? /* @__PURE__ */ e(
|
|
331
|
+
B,
|
|
332
|
+
{
|
|
333
|
+
sx: { ml: 1 },
|
|
334
|
+
size: 30
|
|
335
|
+
}
|
|
336
|
+
) : /* @__PURE__ */ e(
|
|
337
|
+
Q,
|
|
338
|
+
{
|
|
339
|
+
variant: "filled",
|
|
340
|
+
className: `text-left ${u["fiat-picker"]}`,
|
|
341
|
+
fullWidth: !0,
|
|
342
|
+
children: /* @__PURE__ */ e(
|
|
343
|
+
De,
|
|
344
|
+
{
|
|
345
|
+
IconComponent: Xe,
|
|
346
|
+
input: /* @__PURE__ */ e(Z, { disableUnderline: !0 }),
|
|
347
|
+
sx: {
|
|
348
|
+
borderTopLeftRadius: 0,
|
|
349
|
+
"&::before": {
|
|
350
|
+
borderBottom: "none"
|
|
351
|
+
},
|
|
352
|
+
".MuiSelect-select": {
|
|
353
|
+
fontSize: "21px",
|
|
354
|
+
fontWeight: "bold",
|
|
355
|
+
color: "#16359d",
|
|
356
|
+
padding: "28px 12px 23px !important"
|
|
357
|
+
},
|
|
358
|
+
".dropdown-list-item, span": {
|
|
359
|
+
position: "relative",
|
|
360
|
+
bottom: "5px"
|
|
361
|
+
},
|
|
362
|
+
".MuiSvgIcon-root": {
|
|
363
|
+
fill: "#16359D !important"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
value: s,
|
|
367
|
+
variant: "filled",
|
|
368
|
+
displayEmpty: !0,
|
|
369
|
+
onChange: (t) => O(t.target.value),
|
|
370
|
+
error: g,
|
|
371
|
+
children: Y.map((t) => /* @__PURE__ */ r(Je, { value: t.id, children: [
|
|
372
|
+
/* @__PURE__ */ e(Qe, { className: u["dropdown-list-item"], children: /* @__PURE__ */ e(
|
|
373
|
+
"img",
|
|
374
|
+
{
|
|
375
|
+
src: t.icon_uri,
|
|
376
|
+
onError: ({ currentTarget: a }) => {
|
|
377
|
+
a.onerror = null, a.src = je;
|
|
378
|
+
},
|
|
379
|
+
alt: "tokenImg",
|
|
380
|
+
width: "40",
|
|
381
|
+
height: "40"
|
|
382
|
+
}
|
|
383
|
+
) }),
|
|
384
|
+
/* @__PURE__ */ e("span", { children: t.symbol })
|
|
385
|
+
] }, t.id))
|
|
386
|
+
}
|
|
387
|
+
)
|
|
388
|
+
}
|
|
389
|
+
) }),
|
|
390
|
+
ae && /* @__PURE__ */ e(i, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: ae }) })
|
|
391
|
+
] }),
|
|
392
|
+
/* @__PURE__ */ r(W, { className: "text-left", mt: 3, children: [
|
|
393
|
+
/* @__PURE__ */ e(i, { variant: "sm", fontWeight: 600, children: "Select Payment Method" }),
|
|
394
|
+
C ? /* @__PURE__ */ e(B, { sx: { ml: 1, mt: 3 }, size: 50 }) : /* @__PURE__ */ e(n, { mt: 0.5, container: !0, children: P.map((t) => /* @__PURE__ */ e(n, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(
|
|
395
|
+
Ve,
|
|
396
|
+
{
|
|
397
|
+
label: t.payment_type,
|
|
398
|
+
value: t.id,
|
|
399
|
+
paymentId: o,
|
|
400
|
+
setPaymentId: S
|
|
401
|
+
}
|
|
402
|
+
) }, t.id)) })
|
|
403
|
+
] }),
|
|
404
|
+
/* @__PURE__ */ e(n, { mt: 4, container: !0, children: /* @__PURE__ */ e(n, { size: { xs: 4 }, children: /* @__PURE__ */ e(i, { className: u.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
|
|
405
|
+
/* @__PURE__ */ e(n, { mt: 0.5, container: !0, className: u["field-set"], children: /* @__PURE__ */ e(n, { size: { xs: 12 }, children: /* @__PURE__ */ r(
|
|
406
|
+
Q,
|
|
407
|
+
{
|
|
408
|
+
className: `${u.amount} ${u["fiat-field"]}`,
|
|
409
|
+
sx: {
|
|
410
|
+
"& input": {
|
|
411
|
+
paddingLeft: "5px !important"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
fullWidth: !0,
|
|
415
|
+
children: [
|
|
416
|
+
/* @__PURE__ */ e(
|
|
417
|
+
Z,
|
|
418
|
+
{
|
|
419
|
+
disableUnderline: !0,
|
|
420
|
+
value: x && parseFloat((+x * 1).toFixed(5)),
|
|
421
|
+
startAdornment: /* @__PURE__ */ e(Ze, { position: "start", children: /* @__PURE__ */ e(
|
|
422
|
+
i,
|
|
423
|
+
{
|
|
424
|
+
sx: {
|
|
425
|
+
fontWeight: "bold",
|
|
426
|
+
fontSize: "32px"
|
|
427
|
+
},
|
|
428
|
+
children: z
|
|
429
|
+
}
|
|
430
|
+
) }),
|
|
431
|
+
type: "text",
|
|
432
|
+
readOnly: !0,
|
|
433
|
+
fullWidth: !0
|
|
434
|
+
}
|
|
435
|
+
),
|
|
436
|
+
/* @__PURE__ */ e(me, { className: u["amount-symbol"], children: +((re = _ == null ? void 0 : _.output_token) == null ? void 0 : re.fiat_amount) * 1 > 0 ? z + (+((se = _ == null ? void 0 : _.output_token) == null ? void 0 : se.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(K, { children: " " }) })
|
|
437
|
+
]
|
|
438
|
+
}
|
|
439
|
+
) }) }),
|
|
440
|
+
/* @__PURE__ */ e(W, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ r(n, { container: !0, children: [
|
|
441
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ r(
|
|
442
|
+
et,
|
|
443
|
+
{
|
|
444
|
+
sx: { padding: "0" },
|
|
445
|
+
onClick: () => _e((t) => !t),
|
|
446
|
+
disableFocusRipple: !0,
|
|
447
|
+
disableRipple: !0,
|
|
448
|
+
children: [
|
|
449
|
+
/* @__PURE__ */ e(i, { variant: "caption", fontWeight: 700, children: "Fee Calculation" }),
|
|
450
|
+
/* @__PURE__ */ e(
|
|
451
|
+
Me,
|
|
452
|
+
{
|
|
453
|
+
sx: {
|
|
454
|
+
transform: `rotate(${oe ? "90" : "0"}deg)`,
|
|
455
|
+
fontSize: "15px"
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
)
|
|
459
|
+
]
|
|
460
|
+
}
|
|
461
|
+
) }),
|
|
462
|
+
oe && /* @__PURE__ */ r(K, { children: [
|
|
463
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
|
|
464
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
|
|
465
|
+
z,
|
|
466
|
+
R ? /* @__PURE__ */ e(
|
|
467
|
+
B,
|
|
468
|
+
{
|
|
469
|
+
sx: { ml: 1 },
|
|
470
|
+
size: 15,
|
|
471
|
+
color: "primary"
|
|
472
|
+
}
|
|
473
|
+
) : L.toFixed(2)
|
|
474
|
+
] }) }),
|
|
475
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
|
|
476
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
|
|
477
|
+
z,
|
|
478
|
+
R ? /* @__PURE__ */ e(
|
|
479
|
+
B,
|
|
480
|
+
{
|
|
481
|
+
sx: { ml: 1 },
|
|
482
|
+
size: 15,
|
|
483
|
+
color: "primary"
|
|
484
|
+
}
|
|
485
|
+
) : A.toFixed(2)
|
|
486
|
+
] }) })
|
|
487
|
+
] }),
|
|
488
|
+
/* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
|
|
489
|
+
/* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
|
|
490
|
+
z,
|
|
491
|
+
R ? /* @__PURE__ */ e(B, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(M).toFixed(2)
|
|
492
|
+
] }) })
|
|
493
|
+
] }) }),
|
|
494
|
+
/* @__PURE__ */ e(W, { mt: 4, children: /* @__PURE__ */ e(
|
|
495
|
+
ie,
|
|
496
|
+
{
|
|
497
|
+
onClick: ve,
|
|
498
|
+
disabled: g || !x,
|
|
499
|
+
fullWidth: !0,
|
|
500
|
+
children: /* @__PURE__ */ e("strong", { children: "Next" })
|
|
501
|
+
}
|
|
502
|
+
) })
|
|
503
|
+
] });
|
|
504
|
+
}, ne = "FORM_SCREEN", ue = "BANK_SCREEN", de = "CONFIRM_SCREEN", at = "MINIMAL_KYC_SCREEN", rt = ({ partnerKey: k, navigate: b }) => {
|
|
505
|
+
const c = Pe(), h = j((d) => d.order), p = h.error, w = j(
|
|
506
|
+
(d) => d.user.profile
|
|
507
|
+
), N = w.tokens, v = w.everWalletAddress, $ = j((d) => d.fiatAssets), o = j(
|
|
508
|
+
(d) => d.cryptoAssets
|
|
509
|
+
), [S, s] = f(ne), [O, P] = f(0), [U, F] = f(2), [C, R] = f([]), [_, x] = f(0), [M, L] = f(0), { showAlertMessage: A } = Ke();
|
|
510
|
+
return y(() => {
|
|
511
|
+
v && c(Ye(v));
|
|
512
|
+
}, [v]), y(() => {
|
|
513
|
+
if (N.list.length > 0) {
|
|
514
|
+
const d = N.list;
|
|
515
|
+
for (let g = 0; g < d.length; g++)
|
|
516
|
+
d[g].symbol === Ie && L(
|
|
517
|
+
parseFloat(d[g].fmt_balance.replaceAll(",", "")) / 100
|
|
518
|
+
), d[g].symbol === Te && x(
|
|
519
|
+
parseFloat(d[g].fmt_balance.replaceAll(",", "")) / 100
|
|
520
|
+
);
|
|
521
|
+
}
|
|
522
|
+
}, [N.list]), y(() => {
|
|
523
|
+
p && A({ message: p });
|
|
524
|
+
}, [p]), y(() => {
|
|
525
|
+
h.initMinimalKyc && (A({ message: p, type: "info" }), s(at));
|
|
526
|
+
}, [h.initMinimalKyc]), y(() => (c(Le()), c(Oe(ee)), c(qe()), () => {
|
|
527
|
+
c(te());
|
|
528
|
+
}), []), /* @__PURE__ */ e($e, { addPadding: !0, children: {
|
|
529
|
+
FORM_SCREEN: /* @__PURE__ */ e(
|
|
530
|
+
ot,
|
|
531
|
+
{
|
|
532
|
+
cryptoAssets: o,
|
|
533
|
+
showAlertMessage: A,
|
|
534
|
+
setScreen: s,
|
|
535
|
+
fiatAssets: $,
|
|
536
|
+
orderData: h,
|
|
537
|
+
dispatch: c,
|
|
538
|
+
partnerKey: k,
|
|
539
|
+
usdBalance: _,
|
|
540
|
+
eurBalance: M,
|
|
541
|
+
balanceLoader: N.loader,
|
|
542
|
+
paymentId: O,
|
|
543
|
+
setPaymentId: P,
|
|
544
|
+
currencyId: U,
|
|
545
|
+
setCurrencyId: F,
|
|
546
|
+
paymentOptions: C,
|
|
547
|
+
setPaymentOptions: R
|
|
548
|
+
}
|
|
549
|
+
),
|
|
550
|
+
BANK_SCREEN: /* @__PURE__ */ e(
|
|
551
|
+
tt,
|
|
552
|
+
{
|
|
553
|
+
showAlertMessage: A,
|
|
554
|
+
setScreen: s,
|
|
555
|
+
orderData: h,
|
|
556
|
+
dispatch: c,
|
|
557
|
+
backBtnFunc: () => s(ne),
|
|
558
|
+
bankSelectFunc: () => s(de)
|
|
559
|
+
}
|
|
560
|
+
),
|
|
561
|
+
CONFIRM_SCREEN: /* @__PURE__ */ e(
|
|
562
|
+
it,
|
|
563
|
+
{
|
|
564
|
+
partnerKey: k,
|
|
565
|
+
setScreen: s,
|
|
566
|
+
showAlertMessage: A,
|
|
567
|
+
orderData: h,
|
|
568
|
+
dispatch: c,
|
|
569
|
+
navigate: b
|
|
570
|
+
}
|
|
571
|
+
),
|
|
572
|
+
MINIMAL_KYC_SCREEN: /* @__PURE__ */ e(
|
|
573
|
+
Ue,
|
|
574
|
+
{
|
|
575
|
+
inputComponent: He,
|
|
576
|
+
buttonComponent: ie,
|
|
577
|
+
onComplete: () => {
|
|
578
|
+
s(de);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
)
|
|
582
|
+
}[S] });
|
|
583
|
+
}, $t = Fe(rt);
|
|
584
|
+
export {
|
|
585
|
+
it as B,
|
|
586
|
+
de as C,
|
|
587
|
+
ne as F,
|
|
588
|
+
at as M,
|
|
589
|
+
ot as W,
|
|
590
|
+
ue as a,
|
|
591
|
+
$t as i
|
|
592
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as F, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useEffect as g } from "react";
|
|
3
3
|
import Oe from "./hoc/withThemeProvider.js";
|
|
4
|
-
import { P as we, f as Be } from "./PlayArrow-
|
|
4
|
+
import { P as we, f as Be } from "./PlayArrow-Cd3sLvFW.js";
|
|
5
5
|
import { I as Le } from "./Info-BVeUSPyk.js";
|
|
6
6
|
import { G as Ve } from "./generic-token-B_ptO5yb.js";
|
|
7
7
|
import ne from "./components/RocketRamp/Shared/Input/index.js";
|
|
8
8
|
import { ID_TOKEN_SYMBOL as pe, FIAT_TO_EVER_ID as ae, FIAT_TO_TOKEN as ie, ESTIMATE_TOOLTIP_TEXT as Ye, VISA_PAYMENT as We, VISA_PAYMENT_ACTIVE as Ke, SEPA_PAYMENT as qe, SEPA_PAYMENT_ACTIVE as $e, PAYMENT_BANK as he, SEPA_ICON as De, VISA_ICON as be, PAYMENT_PROVIDER_CHECKOUT as fe } from "./util/constants.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { aC as Ue, ao as te } from "./constants-BQibkMPf.js";
|
|
10
|
+
import { e as Ge, f as Ce, g as je, i as He, h as ye } from "./order-BQbk7Nb4.js";
|
|
11
11
|
import { M as Xe } from "./tooltip-3UvETWtS.js";
|
|
12
12
|
import { getCurrencySymbol as Ne, removeExtraSpace as Qe, getOrionBalance as Je } from "./util/functions.js";
|
|
13
13
|
import oe from "./components/RocketRamp/Shared/Button/index.js";
|
|
@@ -19,7 +19,7 @@ import { C as I } from "./CircularProgress-xZA3lvba.js";
|
|
|
19
19
|
import { E as Ze } from "./ErrorOutline-CPQcnl2b.js";
|
|
20
20
|
import { s as xe, p as et, h as tt, v as rt } from "./index-ceeCtFuh.js";
|
|
21
21
|
import { u as nt, a as q } from "./react-redux-B4BZippc.js";
|
|
22
|
-
import { f as at } from "./cryptoAssets-
|
|
22
|
+
import { f as at } from "./cryptoAssets-CI_6_gpT.js";
|
|
23
23
|
import it from "./components/RocketRamp/MinimalKyc/form.js";
|
|
24
24
|
import { useSnackBarContext as ot } from "./context/snackBarContext.js";
|
|
25
25
|
import { I as st } from "./TextField-DPpRUQe3.js";
|
|
@@ -5,14 +5,14 @@ import Se from "./components/RocketRamp/Shared/backBtn.js";
|
|
|
5
5
|
import { getCurrencySymbol as ue, getOrionBalance as Me } from "./util/functions.js";
|
|
6
6
|
import { PAYMENT_BANK as ie, SEPA_ICON as ze, VISA_ICON as Oe, ID_TOKEN_SYMBOL as Pe, FIAT_WITHDRAW as we, FIAT_TO_EVER_ID as We, FIAT_TO_TOKEN as Be, ESTIMATE_TOOLTIP_TEXT as Le, TOKEN_TO_FIAT as Xe } from "./util/constants.js";
|
|
7
7
|
import U from "./components/RocketRamp/Shared/Button/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { ap as j } from "./constants-BQibkMPf.js";
|
|
9
|
+
import { f as pe, g as De, k as Ye, e as qe, h as Ke } from "./order-BQbk7Nb4.js";
|
|
10
10
|
import "./index-DlQqWbXG.js";
|
|
11
11
|
import "./components/Wallet/Shared/appButton.js";
|
|
12
12
|
import { u as $e, a as W } from "./react-redux-B4BZippc.js";
|
|
13
13
|
import "./components/Wallet/Shared/Auth/otpForm.js";
|
|
14
|
-
import { P as Ge, f as Ue } from "./PlayArrow-
|
|
15
|
-
import { f as je } from "./cryptoAssets-
|
|
14
|
+
import { P as Ge, f as Ue } from "./PlayArrow-Cd3sLvFW.js";
|
|
15
|
+
import { f as je } from "./cryptoAssets-CI_6_gpT.js";
|
|
16
16
|
import "./context/snackBarContext.js";
|
|
17
17
|
import "./util/conversions.js";
|
|
18
18
|
import "./index-CAoLi5Qq.js";
|