everest-npm-features 0.0.63 → 0.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/{PlayArrow-71FP5PzJ.js → PlayArrow-WUr_Eyo1.js} +5 -5
  2. package/dist/assets/styles2.css +1 -1
  3. package/dist/{auth-BBeOw4mt.js → auth-Cg-RJNB1.js} +1 -1
  4. package/dist/bank-CPJa0NOE.js +47 -0
  5. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  9. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  10. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  11. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  12. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  13. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  14. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  20. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  24. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  25. package/dist/components/Shared/FullKyc/countryList.js +33 -30
  26. package/dist/components/Shared/FullKyc/edd.js +3 -3
  27. package/dist/components/Shared/FullKyc/index.js +11 -10
  28. package/dist/components/Shared/FullKyc/pep.js +68 -64
  29. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  30. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  31. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  32. package/dist/components/Shared/Sumsub/index.js +2 -2
  33. package/dist/components/Wallet/Account/createIban.js +15 -540
  34. package/dist/components/Wallet/Account/eWallet.js +7 -7
  35. package/dist/components/Wallet/Account/iban.js +77 -56
  36. package/dist/components/Wallet/Account/ibanItem.js +3 -3
  37. package/dist/components/Wallet/Account/index.js +216 -181
  38. package/dist/components/Wallet/Account/sendIban.js +2 -2
  39. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
  40. package/dist/components/Wallet/Buy/form.js +5 -5
  41. package/dist/components/Wallet/Buy/index.js +6 -6
  42. package/dist/components/Wallet/Deposit/index.js +2 -2
  43. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  44. package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
  45. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  46. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  47. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  48. package/dist/components/Wallet/History/index.js +2 -2
  49. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +11 -11
  50. package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
  51. package/dist/components/Wallet/Portfolio/index.js +5 -5
  52. package/dist/components/Wallet/Profile/documents.js +37 -37
  53. package/dist/components/Wallet/Profile/index.js +5 -5
  54. package/dist/components/Wallet/Profile/storage.js +14 -14
  55. package/dist/components/Wallet/Receive/index.js +3 -3
  56. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
  57. package/dist/components/Wallet/Sell/form.js +5 -5
  58. package/dist/components/Wallet/Sell/index.js +6 -6
  59. package/dist/components/Wallet/Send/index.js +36 -36
  60. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  61. package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
  62. package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
  63. package/dist/components/Wallet/Shared/addBank.js +4 -4
  64. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  65. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  66. package/dist/components/Wallet/SignIn/index.js +3 -3
  67. package/dist/components/Wallet/SignUp/index.js +3 -3
  68. package/dist/components/Wallet/Stake/gems/index.js +34 -31
  69. package/dist/components/Wallet/Stake/id/index.js +12 -9
  70. package/dist/components/Wallet/Stake/index.js +6 -6
  71. package/dist/components/Wallet/Swap/form.js +7 -7
  72. package/dist/components/Wallet/Swap/index.js +5 -5
  73. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  74. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  75. package/dist/components/Wallet/Withdraw/form.js +4 -4
  76. package/dist/components/Wallet/Withdraw/index.js +5 -5
  77. package/dist/{constants-DX0YBtP2.js → constants-BRS2liAt.js} +214 -212
  78. package/dist/createIban-DKoCQ4o3.js +573 -0
  79. package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-BD0cJpXM.js} +1 -1
  80. package/dist/{index-JY6-UKlX.js → index-BUtxhHso.js} +87 -86
  81. package/dist/{index-B4XvACQN.js → index-C2weAjLp.js} +70 -69
  82. package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
  83. package/dist/{index-_fiTunwZ.js → index-CZhiRUiE.js} +4 -4
  84. package/dist/{index-DuWW5roi.js → index-D7Eq-pbC.js} +65 -64
  85. package/dist/{index-DkiQ8pRO.js → index-DX8IEulu.js} +52 -52
  86. package/dist/{index-bK14vCZw.js → index-hgn4Pjw3.js} +5 -5
  87. package/dist/index-oPbOSCUk.js +545 -0
  88. package/dist/{kyc-BNMPoeHt.js → kyc-C7NviI9l.js} +1 -1
  89. package/dist/main.js +7 -7
  90. package/dist/{order-BXeCIvqC.js → order-DBuLYKfx.js} +1 -1
  91. package/dist/{otpForm-DeeegaX2.js → otpForm-DhVp5Gvi.js} +2 -2
  92. package/dist/{stake-BO2TYVJ7.js → stake-DGXpiw_Y.js} +1 -1
  93. package/dist/styles.module-C99UuHOT.js +22 -0
  94. package/dist/{wallet-BPXOp8UG.js → wallet-BLx0XKpK.js} +1 -1
  95. package/package.json +7 -7
  96. package/dist/bank-HVb0GFsa.js +0 -37
  97. package/dist/index-CTPMPwYK.js +0 -533
  98. package/dist/styles.module-C1sNeKjL.js +0 -22
@@ -1,37 +0,0 @@
1
- import { T as e, W as s, X as t, Y as E, Z as R, _ as o, $ as p, a0 as _, a1 as T } from "./constants-DX0YBtP2.js";
2
- const y = () => ({
3
- type: e
4
- }), d = (a) => ({
5
- type: E,
6
- payload: a
7
- }), A = (a) => ({
8
- type: T,
9
- payload: a
10
- }), c = (a) => ({
11
- type: s,
12
- payload: a
13
- }), u = () => ({
14
- type: o
15
- }), I = (a) => ({
16
- type: t,
17
- payload: a
18
- }), S = () => ({
19
- type: p
20
- }), l = (a) => ({
21
- type: _,
22
- payload: a
23
- }), B = (a) => ({
24
- type: R,
25
- payload: a
26
- });
27
- export {
28
- d as a,
29
- I as b,
30
- S as c,
31
- l as d,
32
- A as e,
33
- u as f,
34
- c as p,
35
- B as s,
36
- y as u
37
- };
@@ -1,533 +0,0 @@
1
- import { jsxs as x, Fragment as ae, jsx as t } from "react/jsx-runtime";
2
- import { useState as r, useEffect as M, useRef as Ne } from "react";
3
- import { AuthContainer as Oe } from "./components/Wallet/Shared/Container/index.js";
4
- import { Box as D, Typography as ee, FormControl as Ae, InputLabel as _e, Select as Pe, MenuItem as re, Grid as ie } from "@mui/material";
5
- import Re from "./hoc/withThemeProvider.js";
6
- import ye from "./components/Wallet/Shared/Input/index.js";
7
- import Se from "./components/Wallet/Shared/appButton.js";
8
- import "./index-DlQqWbXG.js";
9
- import "./otpForm-DeeegaX2.js";
10
- import { d as T, f as be } from "./constants-DX0YBtP2.js";
11
- import { c as Be, d as Le } from "./kyc-BNMPoeHt.js";
12
- import { useSnackBarContext as ce } from "./context/snackBarContext.js";
13
- import xe from "./hooks/useEverestDispatch.js";
14
- import "./util/conversions.js";
15
- import "./index-CAoLi5Qq.js";
16
- import ve from "./components/Wallet/Shared/step.js";
17
- import "./react-webcam-B3cXh1XT.js";
18
- import "./components/Shared/transition.js";
19
- import "./tooltip-BW0UyWw7.js";
20
- import "./moment-h96o7c8I.js";
21
- import "./index.esm-BsMAMhYW.js";
22
- import { c as Te } from "./countries-BVn1FubK.js";
23
- import "./web3-u4qDZYpo.js";
24
- import "./index-ceeCtFuh.js";
25
- import "./context/dialogContext.js";
26
- import "@mui/icons-material";
27
- import le from "./components/Shared/FullKyc/countryList.js";
28
- import Fe from "./components/Shared/FullKyc/pep.js";
29
- import { u as oe } from "./react-redux-C7I9-1M6.js";
30
- import Ke from "./components/Shared/FullKyc/edd.js";
31
- import Ie from "./components/Shared/Sumsub/index.js";
32
- const ze = ({
33
- inputComponent: C,
34
- buttonComponent: k,
35
- setUserInfo: q,
36
- userInfo: l,
37
- docData: o,
38
- setScreen: h,
39
- userEmail: g,
40
- kycFlow: E
41
- }) => {
42
- const d = xe(), { showAlertMessage: u } = ce(), s = C ?? ye, w = k ?? Se, [a, c] = r(l.gender || ""), [f, F] = r(!1), [K, y] = r(l.email || ""), [te, ne] = r(!1), [Y, Z] = r(""), [p, $] = r(l.address || ""), [n, I] = r(l.city || ""), [v, X] = r(l.state || ""), [N, U] = r(l.zipCode || ""), [O, e] = r(
43
- l.country || null
44
- ), [A, _] = r(!1);
45
- M(() => {
46
- g && (y(g), ne(!0));
47
- }, [g]), M(() => {
48
- var i;
49
- if (o != null && o.issuingCountry) {
50
- o.gender && (c(o.gender), F(!0));
51
- const S = Te.find(
52
- (m) => m.alpha3 === o.issuingCountry
53
- );
54
- q({ ...l, country: S, nationality: S });
55
- const R = new Date(o.birthDate), b = R.getTimezoneOffset() * 6e4, B = new Date(
56
- R.getTime() + b
57
- );
58
- if (Z(B.toLocaleDateString("en-US")), (i = o.checkedAddressBean) != null && i.street) {
59
- const m = o.checkedAddressBean;
60
- _(!0), $(m.street), I(m.city), X(m.state), U(m.postalCode);
61
- }
62
- } else
63
- P();
64
- }, []);
65
- const P = () => {
66
- d(Be());
67
- };
68
- return /* @__PURE__ */ x(ae, { children: [
69
- E !== T && /* @__PURE__ */ t(D, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(ve, { totalSteps: 4, currentStep: 2 }) }),
70
- /* @__PURE__ */ x(D, { pl: 2, mt: 4, children: [
71
- /* @__PURE__ */ t(ee, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "Personal details" }),
72
- E !== T && /* @__PURE__ */ x(ae, { children: [
73
- /* @__PURE__ */ t(ee, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
74
- /* @__PURE__ */ t(
75
- s,
76
- {
77
- sx: { mt: 3 },
78
- label: "Date of Birth",
79
- value: Y,
80
- disabled: !0,
81
- required: !0
82
- }
83
- ),
84
- /* @__PURE__ */ x(Ae, { sx: { mt: 3 }, fullWidth: !0, children: [
85
- /* @__PURE__ */ t(_e, { children: "Gender" }),
86
- /* @__PURE__ */ x(
87
- Pe,
88
- {
89
- value: a,
90
- label: "Gender",
91
- onChange: (i) => c(i.target.value),
92
- disabled: !!(f && a),
93
- required: !0,
94
- children: [
95
- /* @__PURE__ */ t(re, { value: "M", children: "Male" }, "M"),
96
- /* @__PURE__ */ t(re, { value: "F", children: "Female" }, "F"),
97
- /* @__PURE__ */ t(re, { value: "X", children: "Another" }, "X")
98
- ]
99
- }
100
- )
101
- ] }),
102
- /* @__PURE__ */ t(
103
- s,
104
- {
105
- sx: { mt: 3 },
106
- label: "Email",
107
- value: K,
108
- onChange: (i) => y(i.target.value),
109
- disabled: te,
110
- required: !0
111
- }
112
- )
113
- ] }),
114
- /* @__PURE__ */ t(
115
- s,
116
- {
117
- sx: { mt: 3 },
118
- label: "Home Address",
119
- value: p,
120
- onChange: (i) => $(i.target.value),
121
- disabled: !!(A && p),
122
- required: !0
123
- }
124
- ),
125
- /* @__PURE__ */ x(ie, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
126
- /* @__PURE__ */ t(ie, { size: 6, children: /* @__PURE__ */ t(
127
- s,
128
- {
129
- label: "City",
130
- value: n,
131
- onChange: (i) => I(i.target.value),
132
- disabled: !!(A && n),
133
- required: !0
134
- }
135
- ) }),
136
- /* @__PURE__ */ t(ie, { size: 6, children: /* @__PURE__ */ t(
137
- s,
138
- {
139
- label: "State/Province",
140
- value: v,
141
- onChange: (i) => X(i.target.value)
142
- }
143
- ) })
144
- ] }),
145
- /* @__PURE__ */ t(
146
- s,
147
- {
148
- sx: { mt: 3 },
149
- label: "Zipcode",
150
- value: N,
151
- onChange: (i) => U(i.target.value),
152
- disabled: !!(A && N),
153
- required: !0
154
- }
155
- ),
156
- /* @__PURE__ */ t(
157
- le,
158
- {
159
- value: O,
160
- onChange: e,
161
- label: "Country of residence"
162
- }
163
- )
164
- ] }),
165
- /* @__PURE__ */ t(
166
- w,
167
- {
168
- sx: { mt: 3 },
169
- variant: "contained",
170
- onClick: () => {
171
- if (E !== T) {
172
- if (!Y)
173
- return u({ message: "Please provide date of birth" });
174
- if (!a)
175
- return u({ message: "Please provide gender" });
176
- }
177
- if (!p)
178
- return u({ message: "Please provide address" });
179
- if (!n) return u({ message: "Please provide city" });
180
- if (!N)
181
- return u({ message: "Please provide zip code" });
182
- if (!O)
183
- return u({
184
- message: "Please select country of residency"
185
- });
186
- q({
187
- ...l,
188
- gender: a,
189
- email: K,
190
- address: p,
191
- city: n,
192
- state: v,
193
- zipCode: N,
194
- country: O
195
- }), h(
196
- E !== T ? de : pe
197
- );
198
- },
199
- disabled: E !== T && !K || E !== T && !a || !p || !O,
200
- fullWidth: !0,
201
- children: /* @__PURE__ */ t("strong", { children: "Next" })
202
- }
203
- )
204
- ] });
205
- }, Me = ({
206
- userInfo: C,
207
- setUserInfo: k,
208
- setScreen: q,
209
- inputComponent: l,
210
- buttonComponent: o
211
- }) => {
212
- const { showAlertMessage: h } = ce(), g = l ?? ye, E = o ?? Se, [d, u] = r(
213
- C.placeOfBirth || null
214
- ), [s, w] = r(
215
- C.nationality || null
216
- ), [a, c] = r(C.occupation || ""), [f, F] = r(C.employer || "");
217
- return /* @__PURE__ */ x(ae, { children: [
218
- /* @__PURE__ */ t(D, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(ve, { totalSteps: 4, currentStep: 3 }) }),
219
- /* @__PURE__ */ x(D, { pl: 2, mt: 4, children: [
220
- /* @__PURE__ */ t(ee, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "More Personal details" }),
221
- /* @__PURE__ */ t(ee, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
222
- /* @__PURE__ */ t(
223
- le,
224
- {
225
- value: d,
226
- onChange: u,
227
- label: "Place Of Birth"
228
- }
229
- ),
230
- /* @__PURE__ */ t(
231
- le,
232
- {
233
- value: s,
234
- onChange: w,
235
- label: "Country of citizenship"
236
- }
237
- ),
238
- /* @__PURE__ */ t(
239
- g,
240
- {
241
- sx: { mt: 3 },
242
- label: "Occupation",
243
- value: a,
244
- onChange: (y) => c(y.target.value)
245
- }
246
- ),
247
- /* @__PURE__ */ t(
248
- g,
249
- {
250
- sx: { mt: 3 },
251
- label: "Employer",
252
- value: f,
253
- onChange: (y) => F(y.target.value)
254
- }
255
- )
256
- ] }),
257
- /* @__PURE__ */ t(
258
- E,
259
- {
260
- sx: { mt: 3 },
261
- variant: "contained",
262
- onClick: () => {
263
- if (!d) {
264
- h({ message: "Please select place of birth" });
265
- return;
266
- }
267
- if (!s) {
268
- h({ message: "Please provide address" });
269
- return;
270
- }
271
- if (!a) {
272
- h({ message: "Please provide city" });
273
- return;
274
- }
275
- k({
276
- ...C,
277
- placeOfBirth: d,
278
- nationality: s,
279
- occupation: a,
280
- employer: f
281
- }), q(pe);
282
- },
283
- disabled: !d || !s || !a || !f,
284
- fullWidth: !0,
285
- children: /* @__PURE__ */ t("strong", { children: "Next" })
286
- }
287
- )
288
- ] });
289
- }, se = "INCODE_SCREEN", Q = "USER_INFO_SCREEN", de = "PERSONAL_DETAILS_SCREEN", pe = "PEP_SCREEN", qe = "EDD_SCREEN", we = {
290
- BANK_STATEMENT: {
291
- text: "",
292
- file: [],
293
- preview: []
294
- },
295
- PROOF_OF_INCOME: {
296
- text: "",
297
- file: [],
298
- preview: []
299
- },
300
- SOURCE_OF_WEALTH: {
301
- text: "",
302
- file: [],
303
- preview: []
304
- }
305
- }, Ue = ({
306
- configurationId: C,
307
- incodeApiKey: k,
308
- incodeApiUrl: q,
309
- incodeOnBoardingUrl: l,
310
- withContainer: o = !1,
311
- successHandler: h,
312
- updateScreen: g,
313
- isModalView: E = !1,
314
- kycFlow: d
315
- }) => {
316
- const u = Ne(!0), { showAlertMessage: s } = ce(), w = xe(), a = oe((e) => e.user), c = oe((e) => e.user.kyc);
317
- oe((e) => e.session.uuid);
318
- const f = a.kyc, F = f.processComplete, K = {}, [y, te] = r(K);
319
- r({ token: "" });
320
- const [ne, Y] = r(""), [Z, p] = r(
321
- d === T ? Q : se
322
- );
323
- M(() => {
324
- if (u.current) {
325
- u.current = !1;
326
- return;
327
- }
328
- let e;
329
- switch (Z) {
330
- case Q:
331
- e = se;
332
- break;
333
- case de:
334
- e = Q;
335
- break;
336
- case pe:
337
- e = de;
338
- break;
339
- default:
340
- e = se;
341
- }
342
- p(e);
343
- }, [g]), M(() => {
344
- h && F && (s({ message: "KYC request has been received and will be processed shortly.", type: "success" }), h());
345
- }, [h, F]);
346
- const $ = {
347
- gender: "",
348
- email: "",
349
- address: "",
350
- city: "",
351
- state: "",
352
- zipCode: "",
353
- placeOfBirth: "",
354
- country: "",
355
- nationality: "",
356
- occupation: "",
357
- employer: "",
358
- isPoliticalExpose: !1,
359
- politicalExpose: "",
360
- origin: "",
361
- frequency: "",
362
- reason: "",
363
- source: ""
364
- }, [n, I] = r($), [v, X] = r(we);
365
- M(() => {
366
- v.BANK_STATEMENT.file.length > 0 && N(v);
367
- }, [v]);
368
- const N = (e) => {
369
- U(
370
- n.isPoliticalExpose,
371
- n.politicalExpose,
372
- n.frequency,
373
- n.reason,
374
- n.source,
375
- n.origin,
376
- e,
377
- !0
378
- );
379
- }, U = (e, A, _, P, z, i, S, R = !1) => {
380
- var b, B, m;
381
- if (d !== be && !R) {
382
- p(qe);
383
- return;
384
- }
385
- if (!f.loader) {
386
- const V = {
387
- street: n.address,
388
- city: n.city,
389
- postcode: n.zipCode,
390
- state: n.state,
391
- country: (b = n.country) == null ? void 0 : b.alpha3
392
- }, H = {
393
- isExposed: e,
394
- exposed: A,
395
- frequency: _,
396
- reason: P,
397
- source: z,
398
- originFunds: i
399
- }, J = {
400
- frequency: _,
401
- reason: P,
402
- source: z,
403
- originFunds: i
404
- }, W = {
405
- kycFlow: d,
406
- email: n.email,
407
- gender: n.gender,
408
- birthPlace: (B = n.placeOfBirth) == null ? void 0 : B.alpha3,
409
- nationality: (m = n.nationality) == null ? void 0 : m.alpha3,
410
- occupation: n.occupation,
411
- employer: n.employer,
412
- residentialAddress: V,
413
- politicalExposure: H,
414
- customerDueDiligence: J,
415
- workflow: {
416
- token: ne
417
- }
418
- };
419
- if (S) {
420
- const G = Object.entries(S).filter(([j, L]) => L.file && L.file.length > 0).map(([j, L]) => ({
421
- file: L.file[0],
422
- type: j
423
- }));
424
- G.length > 0 && (W.eddDocuments = G);
425
- }
426
- w(Le(W));
427
- }
428
- };
429
- M(() => {
430
- var _, P, z, i, S, R, b, B, m, V, H, J, W, G, j, L, me, ue, fe, he, Ee, Ce, ge;
431
- const e = c == null ? void 0 : c.sumsubDocumentData;
432
- if (!e) return;
433
- const A = {
434
- name: {
435
- fullName: `${((_ = e == null ? void 0 : e.documentData) == null ? void 0 : _.firstName) ?? ""} ${((P = e == null ? void 0 : e.documentData) == null ? void 0 : P.lastName) ?? ""}`.trim(),
436
- firstName: ((z = e == null ? void 0 : e.documentData) == null ? void 0 : z.firstName) ?? "",
437
- givenName: ((i = e == null ? void 0 : e.documentData) == null ? void 0 : i.firstName) ?? "",
438
- paternalLastName: ((S = e == null ? void 0 : e.documentData) == null ? void 0 : S.lastName) ?? ""
439
- },
440
- address: ((b = (R = e == null ? void 0 : e.documentData) == null ? void 0 : R.address) == null ? void 0 : b.street) ?? "",
441
- checkedAddressBean: {
442
- street: ((m = (B = e == null ? void 0 : e.documentData) == null ? void 0 : B.address) == null ? void 0 : m.street) ?? "",
443
- city: ((H = (V = e == null ? void 0 : e.documentData) == null ? void 0 : V.address) == null ? void 0 : H.city) ?? "",
444
- state: ((W = (J = e == null ? void 0 : e.documentData) == null ? void 0 : J.address) == null ? void 0 : W.state) ?? "",
445
- postalCode: ((j = (G = e == null ? void 0 : e.documentData) == null ? void 0 : G.address) == null ? void 0 : j.postcode) ?? "",
446
- zipColonyOptions: []
447
- },
448
- typeOfId: ((L = e == null ? void 0 : e.document) == null ? void 0 : L.docType) ?? "",
449
- documentFrontSubtype: "",
450
- documentBackSubtype: "",
451
- issueFront: 0,
452
- issueBack: 0,
453
- birthDate: Date.parse(((me = e == null ? void 0 : e.documentData) == null ? void 0 : me.dateOfBirth) ?? "") || 0,
454
- gender: ((ue = e == null ? void 0 : e.documentData) == null ? void 0 : ue.gender) ?? "",
455
- personalNumber: ((fe = e == null ? void 0 : e.documentData) == null ? void 0 : fe.number) ?? "",
456
- issuedAt: "",
457
- expireAt: ((he = e == null ? void 0 : e.documentData) == null ? void 0 : he.dateOfExpiry) ?? "",
458
- expirationDate: Date.parse(((Ee = e == null ? void 0 : e.documentData) == null ? void 0 : Ee.dateOfExpiry) ?? "") || 0,
459
- issueDate: 0,
460
- issuingCountry: ((Ce = e == null ? void 0 : e.document) == null ? void 0 : Ce.issuingCountry) ?? ((ge = e == null ? void 0 : e.documentData) == null ? void 0 : ge.issuingCountry) ?? "",
461
- notExtracted: 0,
462
- notExtractedDetails: [],
463
- additionalAttrs: [],
464
- ocrDataConfidence: {
465
- birthDateConfidence: 0,
466
- nameConfidence: 0,
467
- givenNameConfidence: 0,
468
- fathersSurnameConfidence: 0,
469
- addressConfidence: 0,
470
- issueDateConfidence: 0,
471
- expirationDateConfidence: 0,
472
- issuedAtConfidence: 0,
473
- expireAtConfidence: 0,
474
- personalNumberConfidence: 0
475
- }
476
- };
477
- te(A), p(Q);
478
- }, [c == null ? void 0 : c.sumsubDocumentData]);
479
- const O = {
480
- INCODE_SCREEN: /* @__PURE__ */ t(Ie, { onApplicantIdLoaded: Y }),
481
- USER_INFO_SCREEN: /* @__PURE__ */ t(
482
- ze,
483
- {
484
- docData: y,
485
- setScreen: p,
486
- setUserInfo: I,
487
- userInfo: n,
488
- userEmail: a.profile.email,
489
- kycFlow: d
490
- }
491
- ),
492
- PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ t(
493
- Me,
494
- {
495
- setScreen: p,
496
- setUserInfo: I,
497
- userInfo: n
498
- }
499
- ),
500
- PEP_SCREEN: /* @__PURE__ */ t(
501
- Fe,
502
- {
503
- setScreen: p,
504
- setUserInfo: I,
505
- userInfo: n,
506
- processKyc: U,
507
- processLoader: f.loader,
508
- kycFlow: d
509
- }
510
- ),
511
- EDD_SCREEN: /* @__PURE__ */ t(
512
- Ke,
513
- {
514
- kycStoreData: c,
515
- eddData: v,
516
- setEddData: X,
517
- processKyc: N,
518
- processLoader: f.loader
519
- }
520
- )
521
- }[Z];
522
- return o ? /* @__PURE__ */ t(Oe, { addPadding: !0, children: O }) : O;
523
- }, gt = Re(Ue);
524
- export {
525
- qe as E,
526
- gt as F,
527
- se as I,
528
- Me as P,
529
- ze as U,
530
- Q as a,
531
- de as b,
532
- pe as c
533
- };
@@ -1,22 +0,0 @@
1
- import './assets/styles2.css';const t = "_container_18yz7_1", _ = "_active_18yz7_43", e = {
2
- container: t,
3
- "inner-container": "_inner-container_18yz7_15",
4
- "sub-tabs": "_sub-tabs_18yz7_29",
5
- active: _,
6
- "sub-tabs-item": "_sub-tabs-item_18yz7_53",
7
- "buy-sell-text": "_buy-sell-text_18yz7_65",
8
- "heading-text": "_heading-text_18yz7_75",
9
- "info-icon": "_info-icon_18yz7_89",
10
- "button-icon": "_button-icon_18yz7_99",
11
- "add-container": "_add-container_18yz7_109",
12
- "move-id": "_move-id_18yz7_117",
13
- "move-id-text": "_move-id-text_18yz7_131",
14
- "move-btn": "_move-btn_18yz7_143",
15
- "time-item": "_time-item_18yz7_167",
16
- "item-1st": "_item-1st_18yz7_189",
17
- "item-last": "_item-last_18yz7_199",
18
- "stake-modal-content": "_stake-modal-content_18yz7_211"
19
- };
20
- export {
21
- e as s
22
- };