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