everest-npm-features 0.0.62 → 0.0.63

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 (100) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{PlayArrow-BVDyfxsQ.js → PlayArrow-71FP5PzJ.js} +5 -5
  3. package/dist/assets/styles.css +1 -1
  4. package/dist/{auth-DTJdu6mq.js → auth-BBeOw4mt.js} +1 -1
  5. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  6. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  9. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  10. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  11. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  12. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  13. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  14. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  15. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  20. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  21. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  24. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  25. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  26. package/dist/components/Shared/FullKyc/edd.js +3 -3
  27. package/dist/components/Shared/FullKyc/index.js +4 -4
  28. package/dist/components/Shared/FullKyc/pep.js +1 -1
  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.d.ts +1 -2
  34. package/dist/components/Wallet/Account/createIban.js +322 -97
  35. package/dist/components/Wallet/Account/eWallet.js +35 -37
  36. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  37. package/dist/components/Wallet/Account/iban.js +42 -42
  38. package/dist/components/Wallet/Account/ibanItem.js +3 -3
  39. package/dist/components/Wallet/Account/index.d.ts +1 -0
  40. package/dist/components/Wallet/Account/index.js +113 -111
  41. package/dist/components/Wallet/Account/sendIban.js +2 -2
  42. package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
  43. package/dist/components/Wallet/Buy/form.js +4 -4
  44. package/dist/components/Wallet/Buy/index.js +6 -6
  45. package/dist/components/Wallet/Deposit/index.js +2 -2
  46. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  47. package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
  48. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  49. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  50. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  51. package/dist/components/Wallet/History/index.js +2 -2
  52. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +96 -95
  53. package/dist/components/Wallet/Portfolio/index.js +5 -5
  54. package/dist/components/Wallet/Profile/documents.js +128 -131
  55. package/dist/components/Wallet/Profile/index.js +5 -5
  56. package/dist/components/Wallet/Profile/storage.js +2 -2
  57. package/dist/components/Wallet/Receive/index.js +2 -2
  58. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  59. package/dist/components/Wallet/Sell/form.js +4 -4
  60. package/dist/components/Wallet/Sell/index.js +6 -6
  61. package/dist/components/Wallet/Send/index.js +3 -3
  62. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  63. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  64. package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
  65. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  66. package/dist/components/Wallet/Shared/Container/index.js +19 -18
  67. package/dist/components/Wallet/Shared/addBank.js +3 -3
  68. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  69. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  70. package/dist/components/Wallet/SignIn/index.js +3 -3
  71. package/dist/components/Wallet/SignUp/index.js +3 -3
  72. package/dist/components/Wallet/Stake/gems/index.js +61 -52
  73. package/dist/components/Wallet/Stake/id/index.js +67 -66
  74. package/dist/components/Wallet/Stake/index.js +4 -4
  75. package/dist/components/Wallet/Swap/form.js +6 -6
  76. package/dist/components/Wallet/Swap/index.js +5 -5
  77. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  78. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  79. package/dist/components/Wallet/Withdraw/form.js +4 -4
  80. package/dist/components/Wallet/Withdraw/index.js +5 -5
  81. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  82. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  83. package/dist/{index-3OQ4M69t.js → index-B4XvACQN.js} +7 -7
  84. package/dist/{index-BBFbUCRZ.js → index-CTPMPwYK.js} +102 -106
  85. package/dist/{index-C1WPCgkl.js → index-DkiQ8pRO.js} +51 -51
  86. package/dist/{index-CYX3j0V7.js → index-DuWW5roi.js} +7 -7
  87. package/dist/{index-CDwzoHu7.js → index-JY6-UKlX.js} +6 -6
  88. package/dist/{index-ILpK4BCB.js → index-_fiTunwZ.js} +4 -4
  89. package/dist/{index-CK4kLRAw.js → index-bK14vCZw.js} +5 -5
  90. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  91. package/dist/main.js +7 -7
  92. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  93. package/dist/{otpForm-fiNqeB5H.js → otpForm-DeeegaX2.js} +2 -2
  94. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  95. package/dist/styles.module-DFoezEqS.js +28 -0
  96. package/dist/util/constants.d.ts +1 -0
  97. package/dist/util/constants.js +72 -71
  98. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  99. package/package.json +1 -1
  100. package/dist/styles.module-CHPRGltL.js +0 -28
@@ -1,14 +1,14 @@
1
- import { jsxs as v, Fragment as ae, jsx as t } from "react/jsx-runtime";
2
- import { useState as r, useEffect as z, useRef as Ne } from "react";
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
3
  import { AuthContainer as Oe } from "./components/Wallet/Shared/Container/index.js";
4
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
5
  import Re from "./hoc/withThemeProvider.js";
6
6
  import ye from "./components/Wallet/Shared/Input/index.js";
7
7
  import Se from "./components/Wallet/Shared/appButton.js";
8
8
  import "./index-DlQqWbXG.js";
9
- import "./otpForm-fiNqeB5H.js";
10
- import { d as T, f as be } from "./constants-DrmtdI1J.js";
11
- import { c as Be, d as Le } from "./kyc-ksV3vBP_.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
12
  import { useSnackBarContext as ce } from "./context/snackBarContext.js";
13
13
  import xe from "./hooks/useEverestDispatch.js";
14
14
  import "./util/conversions.js";
@@ -22,44 +22,42 @@ import "./index.esm-BsMAMhYW.js";
22
22
  import { c as Te } from "./countries-BVn1FubK.js";
23
23
  import "./web3-u4qDZYpo.js";
24
24
  import "./index-ceeCtFuh.js";
25
- import { useDialogContext as Fe } from "./context/dialogContext.js";
25
+ import "./context/dialogContext.js";
26
26
  import "@mui/icons-material";
27
27
  import le from "./components/Shared/FullKyc/countryList.js";
28
- import Ke from "./components/Shared/FullKyc/pep.js";
28
+ import Fe from "./components/Shared/FullKyc/pep.js";
29
29
  import { u as oe } from "./react-redux-C7I9-1M6.js";
30
- import Ie from "./components/Shared/FullKyc/edd.js";
31
- import qe from "./components/Shared/Sumsub/index.js";
30
+ import Ke from "./components/Shared/FullKyc/edd.js";
31
+ import Ie from "./components/Shared/Sumsub/index.js";
32
32
  const ze = ({
33
- inputComponent: g,
33
+ inputComponent: C,
34
34
  buttonComponent: k,
35
- setUserInfo: M,
35
+ setUserInfo: q,
36
36
  userInfo: l,
37
37
  docData: o,
38
38
  setScreen: h,
39
- userEmail: C,
39
+ userEmail: g,
40
40
  kycFlow: E
41
41
  }) => {
42
- const d = xe();
43
- Fe();
44
- const { showAlertMessage: c } = ce(), s = g ?? ye, w = k ?? Se, [a, p] = r(l.gender || ""), [f, F] = r(!1), [K, y] = r(l.email || ""), [te, ne] = r(!1), [Y, Z] = r(""), [m, $] = r(l.address || ""), [n, I] = r(l.city || ""), [S, X] = r(l.state || ""), [N, U] = r(l.zipCode || ""), [O, e] = r(
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(
45
43
  l.country || null
46
44
  ), [A, _] = r(!1);
47
- z(() => {
48
- C && (y(C), ne(!0));
49
- }, [C]), z(() => {
45
+ M(() => {
46
+ g && (y(g), ne(!0));
47
+ }, [g]), M(() => {
50
48
  var i;
51
49
  if (o != null && o.issuingCountry) {
52
- o.gender && (p(o.gender), F(!0));
53
- const x = Te.find(
54
- (u) => u.alpha3 === o.issuingCountry
50
+ o.gender && (c(o.gender), F(!0));
51
+ const S = Te.find(
52
+ (m) => m.alpha3 === o.issuingCountry
55
53
  );
56
- M({ ...l, country: x, nationality: x });
54
+ q({ ...l, country: S, nationality: S });
57
55
  const R = new Date(o.birthDate), b = R.getTimezoneOffset() * 6e4, B = new Date(
58
56
  R.getTime() + b
59
57
  );
60
58
  if (Z(B.toLocaleDateString("en-US")), (i = o.checkedAddressBean) != null && i.street) {
61
- const u = o.checkedAddressBean;
62
- _(!0), $(u.street), I(u.city), X(u.state), U(u.postalCode);
59
+ const m = o.checkedAddressBean;
60
+ _(!0), $(m.street), I(m.city), X(m.state), U(m.postalCode);
63
61
  }
64
62
  } else
65
63
  P();
@@ -67,11 +65,11 @@ const ze = ({
67
65
  const P = () => {
68
66
  d(Be());
69
67
  };
70
- return /* @__PURE__ */ v(ae, { children: [
68
+ return /* @__PURE__ */ x(ae, { children: [
71
69
  E !== T && /* @__PURE__ */ t(D, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(ve, { totalSteps: 4, currentStep: 2 }) }),
72
- /* @__PURE__ */ v(D, { pl: 2, mt: 4, children: [
70
+ /* @__PURE__ */ x(D, { pl: 2, mt: 4, children: [
73
71
  /* @__PURE__ */ t(ee, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "Personal details" }),
74
- E !== T && /* @__PURE__ */ v(ae, { children: [
72
+ E !== T && /* @__PURE__ */ x(ae, { children: [
75
73
  /* @__PURE__ */ t(ee, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
76
74
  /* @__PURE__ */ t(
77
75
  s,
@@ -83,14 +81,14 @@ const ze = ({
83
81
  required: !0
84
82
  }
85
83
  ),
86
- /* @__PURE__ */ v(Ae, { sx: { mt: 3 }, fullWidth: !0, children: [
84
+ /* @__PURE__ */ x(Ae, { sx: { mt: 3 }, fullWidth: !0, children: [
87
85
  /* @__PURE__ */ t(_e, { children: "Gender" }),
88
- /* @__PURE__ */ v(
86
+ /* @__PURE__ */ x(
89
87
  Pe,
90
88
  {
91
89
  value: a,
92
90
  label: "Gender",
93
- onChange: (i) => p(i.target.value),
91
+ onChange: (i) => c(i.target.value),
94
92
  disabled: !!(f && a),
95
93
  required: !0,
96
94
  children: [
@@ -118,13 +116,13 @@ const ze = ({
118
116
  {
119
117
  sx: { mt: 3 },
120
118
  label: "Home Address",
121
- value: m,
119
+ value: p,
122
120
  onChange: (i) => $(i.target.value),
123
- disabled: !!(A && m),
121
+ disabled: !!(A && p),
124
122
  required: !0
125
123
  }
126
124
  ),
127
- /* @__PURE__ */ v(ie, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
125
+ /* @__PURE__ */ x(ie, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
128
126
  /* @__PURE__ */ t(ie, { size: 6, children: /* @__PURE__ */ t(
129
127
  s,
130
128
  {
@@ -139,9 +137,8 @@ const ze = ({
139
137
  s,
140
138
  {
141
139
  label: "State/Province",
142
- value: S,
143
- onChange: (i) => X(i.target.value),
144
- required: !0
140
+ value: v,
141
+ onChange: (i) => X(i.target.value)
145
142
  }
146
143
  ) })
147
144
  ] }),
@@ -173,61 +170,60 @@ const ze = ({
173
170
  onClick: () => {
174
171
  if (E !== T) {
175
172
  if (!Y)
176
- return c({ message: "Please provide date of birth" });
173
+ return u({ message: "Please provide date of birth" });
177
174
  if (!a)
178
- return c({ message: "Please provide gender" });
175
+ return u({ message: "Please provide gender" });
179
176
  }
180
- if (!m)
181
- return c({ message: "Please provide address" });
182
- if (!n) return c({ message: "Please provide city" });
183
- if (!S) return c({ message: "Please provide state" });
177
+ if (!p)
178
+ return u({ message: "Please provide address" });
179
+ if (!n) return u({ message: "Please provide city" });
184
180
  if (!N)
185
- return c({ message: "Please provide zip code" });
181
+ return u({ message: "Please provide zip code" });
186
182
  if (!O)
187
- return c({
183
+ return u({
188
184
  message: "Please select country of residency"
189
185
  });
190
- M({
186
+ q({
191
187
  ...l,
192
188
  gender: a,
193
189
  email: K,
194
- address: m,
190
+ address: p,
195
191
  city: n,
196
- state: S,
192
+ state: v,
197
193
  zipCode: N,
198
194
  country: O
199
195
  }), h(
200
196
  E !== T ? de : pe
201
197
  );
202
198
  },
203
- disabled: E !== T && !K || E !== T && !a || !m || !O,
199
+ disabled: E !== T && !K || E !== T && !a || !p || !O,
204
200
  fullWidth: !0,
205
201
  children: /* @__PURE__ */ t("strong", { children: "Next" })
206
202
  }
207
203
  )
208
204
  ] });
209
205
  }, Me = ({
210
- userInfo: g,
206
+ userInfo: C,
211
207
  setUserInfo: k,
212
- setScreen: M,
208
+ setScreen: q,
213
209
  inputComponent: l,
214
210
  buttonComponent: o
215
211
  }) => {
216
- const { showAlertMessage: h } = ce(), C = l ?? ye, E = o ?? Se, [d, c] = r(
217
- g.placeOfBirth || null
212
+ const { showAlertMessage: h } = ce(), g = l ?? ye, E = o ?? Se, [d, u] = r(
213
+ C.placeOfBirth || null
218
214
  ), [s, w] = r(
219
- g.nationality || null
220
- ), [a, p] = r(g.occupation || ""), [f, F] = r(g.employer || "");
221
- return /* @__PURE__ */ v(ae, { children: [
215
+ C.nationality || null
216
+ ), [a, c] = r(C.occupation || ""), [f, F] = r(C.employer || "");
217
+ return /* @__PURE__ */ x(ae, { children: [
222
218
  /* @__PURE__ */ t(D, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(ve, { totalSteps: 4, currentStep: 3 }) }),
223
- /* @__PURE__ */ v(D, { pl: 2, mt: 4, children: [
219
+ /* @__PURE__ */ x(D, { pl: 2, mt: 4, children: [
224
220
  /* @__PURE__ */ t(ee, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "More Personal details" }),
225
221
  /* @__PURE__ */ t(ee, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
226
222
  /* @__PURE__ */ t(
227
223
  le,
228
224
  {
229
225
  value: d,
230
- onChange: c,
226
+ onChange: u,
231
227
  label: "Place Of Birth"
232
228
  }
233
229
  ),
@@ -240,16 +236,16 @@ const ze = ({
240
236
  }
241
237
  ),
242
238
  /* @__PURE__ */ t(
243
- C,
239
+ g,
244
240
  {
245
241
  sx: { mt: 3 },
246
242
  label: "Occupation",
247
243
  value: a,
248
- onChange: (y) => p(y.target.value)
244
+ onChange: (y) => c(y.target.value)
249
245
  }
250
246
  ),
251
247
  /* @__PURE__ */ t(
252
- C,
248
+ g,
253
249
  {
254
250
  sx: { mt: 3 },
255
251
  label: "Employer",
@@ -277,12 +273,12 @@ const ze = ({
277
273
  return;
278
274
  }
279
275
  k({
280
- ...g,
276
+ ...C,
281
277
  placeOfBirth: d,
282
278
  nationality: s,
283
279
  occupation: a,
284
280
  employer: f
285
- }), M(pe);
281
+ }), q(pe);
286
282
  },
287
283
  disabled: !d || !s || !a || !f,
288
284
  fullWidth: !0,
@@ -290,7 +286,7 @@ const ze = ({
290
286
  }
291
287
  )
292
288
  ] });
293
- }, se = "INCODE_SCREEN", Q = "USER_INFO_SCREEN", de = "PERSONAL_DETAILS_SCREEN", pe = "PEP_SCREEN", we = "EDD_SCREEN", Ue = {
289
+ }, se = "INCODE_SCREEN", Q = "USER_INFO_SCREEN", de = "PERSONAL_DETAILS_SCREEN", pe = "PEP_SCREEN", qe = "EDD_SCREEN", we = {
294
290
  BANK_STATEMENT: {
295
291
  text: "",
296
292
  file: [],
@@ -306,27 +302,27 @@ const ze = ({
306
302
  file: [],
307
303
  preview: []
308
304
  }
309
- }, We = ({
310
- configurationId: g,
305
+ }, Ue = ({
306
+ configurationId: C,
311
307
  incodeApiKey: k,
312
- incodeApiUrl: M,
308
+ incodeApiUrl: q,
313
309
  incodeOnBoardingUrl: l,
314
310
  withContainer: o = !1,
315
311
  successHandler: h,
316
- updateScreen: C,
312
+ updateScreen: g,
317
313
  isModalView: E = !1,
318
314
  kycFlow: d
319
315
  }) => {
320
- const c = Ne(!0), { showAlertMessage: s } = ce(), w = xe(), a = oe((e) => e.user), p = oe((e) => e.user.kyc);
316
+ const u = Ne(!0), { showAlertMessage: s } = ce(), w = xe(), a = oe((e) => e.user), c = oe((e) => e.user.kyc);
321
317
  oe((e) => e.session.uuid);
322
318
  const f = a.kyc, F = f.processComplete, K = {}, [y, te] = r(K);
323
319
  r({ token: "" });
324
- const [ne, Y] = r(""), [Z, m] = r(
320
+ const [ne, Y] = r(""), [Z, p] = r(
325
321
  d === T ? Q : se
326
322
  );
327
- z(() => {
328
- if (c.current) {
329
- c.current = !1;
323
+ M(() => {
324
+ if (u.current) {
325
+ u.current = !1;
330
326
  return;
331
327
  }
332
328
  let e;
@@ -343,8 +339,8 @@ const ze = ({
343
339
  default:
344
340
  e = se;
345
341
  }
346
- m(e);
347
- }, [C]), z(() => {
342
+ p(e);
343
+ }, [g]), M(() => {
348
344
  h && F && (s({ message: "KYC request has been received and will be processed shortly.", type: "success" }), h());
349
345
  }, [h, F]);
350
346
  const $ = {
@@ -365,10 +361,10 @@ const ze = ({
365
361
  frequency: "",
366
362
  reason: "",
367
363
  source: ""
368
- }, [n, I] = r($), [S, X] = r(Ue);
369
- z(() => {
370
- S.BANK_STATEMENT.file.length > 0 && N(S);
371
- }, [S]);
364
+ }, [n, I] = r($), [v, X] = r(we);
365
+ M(() => {
366
+ v.BANK_STATEMENT.file.length > 0 && N(v);
367
+ }, [v]);
372
368
  const N = (e) => {
373
369
  U(
374
370
  n.isPoliticalExpose,
@@ -380,10 +376,10 @@ const ze = ({
380
376
  e,
381
377
  !0
382
378
  );
383
- }, U = (e, A, _, P, q, i, x, R = !1) => {
384
- var b, B, u;
379
+ }, U = (e, A, _, P, z, i, S, R = !1) => {
380
+ var b, B, m;
385
381
  if (d !== be && !R) {
386
- m(we);
382
+ p(qe);
387
383
  return;
388
384
  }
389
385
  if (!f.loader) {
@@ -398,19 +394,19 @@ const ze = ({
398
394
  exposed: A,
399
395
  frequency: _,
400
396
  reason: P,
401
- source: q,
397
+ source: z,
402
398
  originFunds: i
403
399
  }, J = {
404
400
  frequency: _,
405
401
  reason: P,
406
- source: q,
402
+ source: z,
407
403
  originFunds: i
408
404
  }, W = {
409
405
  kycFlow: d,
410
406
  email: n.email,
411
407
  gender: n.gender,
412
408
  birthPlace: (B = n.placeOfBirth) == null ? void 0 : B.alpha3,
413
- nationality: (u = n.nationality) == null ? void 0 : u.alpha3,
409
+ nationality: (m = n.nationality) == null ? void 0 : m.alpha3,
414
410
  occupation: n.occupation,
415
411
  employer: n.employer,
416
412
  residentialAddress: V,
@@ -420,8 +416,8 @@ const ze = ({
420
416
  token: ne
421
417
  }
422
418
  };
423
- if (x) {
424
- const G = Object.entries(x).filter(([j, L]) => L.file && L.file.length > 0).map(([j, L]) => ({
419
+ if (S) {
420
+ const G = Object.entries(S).filter(([j, L]) => L.file && L.file.length > 0).map(([j, L]) => ({
425
421
  file: L.file[0],
426
422
  type: j
427
423
  }));
@@ -430,20 +426,20 @@ const ze = ({
430
426
  w(Le(W));
431
427
  }
432
428
  };
433
- z(() => {
434
- var _, P, q, i, x, R, b, B, u, V, H, J, W, G, j, L, me, ue, fe, he, Ee, ge, Ce;
435
- const e = p == null ? void 0 : p.sumsubDocumentData;
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;
436
432
  if (!e) return;
437
433
  const A = {
438
434
  name: {
439
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(),
440
- firstName: ((q = e == null ? void 0 : e.documentData) == null ? void 0 : q.firstName) ?? "",
436
+ firstName: ((z = e == null ? void 0 : e.documentData) == null ? void 0 : z.firstName) ?? "",
441
437
  givenName: ((i = e == null ? void 0 : e.documentData) == null ? void 0 : i.firstName) ?? "",
442
- paternalLastName: ((x = e == null ? void 0 : e.documentData) == null ? void 0 : x.lastName) ?? ""
438
+ paternalLastName: ((S = e == null ? void 0 : e.documentData) == null ? void 0 : S.lastName) ?? ""
443
439
  },
444
440
  address: ((b = (R = e == null ? void 0 : e.documentData) == null ? void 0 : R.address) == null ? void 0 : b.street) ?? "",
445
441
  checkedAddressBean: {
446
- street: ((u = (B = e == null ? void 0 : e.documentData) == null ? void 0 : B.address) == null ? void 0 : u.street) ?? "",
442
+ street: ((m = (B = e == null ? void 0 : e.documentData) == null ? void 0 : B.address) == null ? void 0 : m.street) ?? "",
447
443
  city: ((H = (V = e == null ? void 0 : e.documentData) == null ? void 0 : V.address) == null ? void 0 : H.city) ?? "",
448
444
  state: ((W = (J = e == null ? void 0 : e.documentData) == null ? void 0 : J.address) == null ? void 0 : W.state) ?? "",
449
445
  postalCode: ((j = (G = e == null ? void 0 : e.documentData) == null ? void 0 : G.address) == null ? void 0 : j.postcode) ?? "",
@@ -461,7 +457,7 @@ const ze = ({
461
457
  expireAt: ((he = e == null ? void 0 : e.documentData) == null ? void 0 : he.dateOfExpiry) ?? "",
462
458
  expirationDate: Date.parse(((Ee = e == null ? void 0 : e.documentData) == null ? void 0 : Ee.dateOfExpiry) ?? "") || 0,
463
459
  issueDate: 0,
464
- issuingCountry: ((ge = e == null ? void 0 : e.document) == null ? void 0 : ge.issuingCountry) ?? ((Ce = e == null ? void 0 : e.documentData) == null ? void 0 : Ce.issuingCountry) ?? "",
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) ?? "",
465
461
  notExtracted: 0,
466
462
  notExtractedDetails: [],
467
463
  additionalAttrs: [],
@@ -478,15 +474,15 @@ const ze = ({
478
474
  personalNumberConfidence: 0
479
475
  }
480
476
  };
481
- te(A), m(Q);
482
- }, [p == null ? void 0 : p.sumsubDocumentData]);
477
+ te(A), p(Q);
478
+ }, [c == null ? void 0 : c.sumsubDocumentData]);
483
479
  const O = {
484
- INCODE_SCREEN: /* @__PURE__ */ t(qe, { onApplicantIdLoaded: Y }),
480
+ INCODE_SCREEN: /* @__PURE__ */ t(Ie, { onApplicantIdLoaded: Y }),
485
481
  USER_INFO_SCREEN: /* @__PURE__ */ t(
486
482
  ze,
487
483
  {
488
484
  docData: y,
489
- setScreen: m,
485
+ setScreen: p,
490
486
  setUserInfo: I,
491
487
  userInfo: n,
492
488
  userEmail: a.profile.email,
@@ -496,15 +492,15 @@ const ze = ({
496
492
  PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ t(
497
493
  Me,
498
494
  {
499
- setScreen: m,
495
+ setScreen: p,
500
496
  setUserInfo: I,
501
497
  userInfo: n
502
498
  }
503
499
  ),
504
500
  PEP_SCREEN: /* @__PURE__ */ t(
505
- Ke,
501
+ Fe,
506
502
  {
507
- setScreen: m,
503
+ setScreen: p,
508
504
  setUserInfo: I,
509
505
  userInfo: n,
510
506
  processKyc: U,
@@ -513,10 +509,10 @@ const ze = ({
513
509
  }
514
510
  ),
515
511
  EDD_SCREEN: /* @__PURE__ */ t(
516
- Ie,
512
+ Ke,
517
513
  {
518
- kycStoreData: p,
519
- eddData: S,
514
+ kycStoreData: c,
515
+ eddData: v,
520
516
  setEddData: X,
521
517
  processKyc: N,
522
518
  processLoader: f.loader
@@ -524,10 +520,10 @@ const ze = ({
524
520
  )
525
521
  }[Z];
526
522
  return o ? /* @__PURE__ */ t(Oe, { addPadding: !0, children: O }) : O;
527
- }, yt = Re(We);
523
+ }, gt = Re(Ue);
528
524
  export {
529
- we as E,
530
- yt as F,
525
+ qe as E,
526
+ gt as F,
531
527
  se as I,
532
528
  Me as P,
533
529
  ze as U,