everest-npm-features 0.0.61 → 0.0.62

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 (229) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
  11. package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
  12. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  13. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
  14. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
  15. package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
  16. package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
  17. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  18. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  20. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
  21. package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
  24. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
  25. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
  26. package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
  27. package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
  28. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
  29. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  30. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  31. package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
  32. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  33. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  34. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  35. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  36. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  37. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  38. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  39. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  40. package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
  41. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
  42. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
  43. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  44. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  45. package/dist/components/RocketRamp/Transactions/index.js +22 -23
  46. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  47. package/dist/components/Shared/FullKyc/edd.js +50 -52
  48. package/dist/components/Shared/FullKyc/index.js +11 -9
  49. package/dist/components/Shared/FullKyc/pep.js +35 -43
  50. package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
  51. package/dist/components/Shared/FullKyc/userInfo.js +6 -11
  52. package/dist/components/Shared/HistoryItem/index.js +43 -48
  53. package/dist/components/Shared/Incode/index.js +31 -35
  54. package/dist/components/Shared/MinimalKyc/index.js +59 -64
  55. package/dist/components/Shared/Sumsub/index.js +74 -61
  56. package/dist/components/Shared/loader.js +4 -5
  57. package/dist/components/Shared/tooltip.js +2 -2
  58. package/dist/components/Shared/transition.js +4 -4
  59. package/dist/components/Wallet/Account/createIban.js +34 -37
  60. package/dist/components/Wallet/Account/eWallet.js +35 -39
  61. package/dist/components/Wallet/Account/iban.js +49 -53
  62. package/dist/components/Wallet/Account/ibanItem.js +68 -73
  63. package/dist/components/Wallet/Account/index.js +66 -73
  64. package/dist/components/Wallet/Account/sendIban.js +79 -88
  65. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
  66. package/dist/components/Wallet/Buy/form.js +6 -16
  67. package/dist/components/Wallet/Buy/index.js +2 -2
  68. package/dist/components/Wallet/Deposit/index.js +15 -17
  69. package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
  70. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  71. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  72. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  73. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  74. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
  77. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  78. package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
  79. package/dist/components/Wallet/History/index.js +22 -796
  80. package/dist/components/Wallet/Home/index.js +13 -14
  81. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
  82. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  83. package/dist/components/Wallet/Portfolio/index.js +47 -50
  84. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  85. package/dist/components/Wallet/Profile/documents.js +125 -134
  86. package/dist/components/Wallet/Profile/index.js +37 -42
  87. package/dist/components/Wallet/Profile/storage.js +39 -47
  88. package/dist/components/Wallet/Receive/index.js +31 -36
  89. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
  90. package/dist/components/Wallet/Sell/form.js +6 -16
  91. package/dist/components/Wallet/Sell/index.js +2 -2
  92. package/dist/components/Wallet/Send/index.js +98 -107
  93. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  94. package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
  95. package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
  96. package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
  97. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  98. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  99. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  100. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  101. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  102. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  103. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  104. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  105. package/dist/components/Wallet/Shared/addBank.js +40 -44
  106. package/dist/components/Wallet/Shared/appButton.js +11 -15
  107. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  108. package/dist/components/Wallet/Shared/button.js +7 -7
  109. package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
  110. package/dist/components/Wallet/Shared/inputField.js +5 -5
  111. package/dist/components/Wallet/Shared/manualSend.js +7 -11
  112. package/dist/components/Wallet/Shared/noData.js +4 -5
  113. package/dist/components/Wallet/Shared/pin.js +25 -27
  114. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  115. package/dist/components/Wallet/Shared/step.js +12 -13
  116. package/dist/components/Wallet/Shared/timer.js +1 -1
  117. package/dist/components/Wallet/SignIn/index.js +16 -16
  118. package/dist/components/Wallet/SignUp/index.js +62 -152
  119. package/dist/components/Wallet/SignUp/terms.js +1 -1
  120. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  121. package/dist/components/Wallet/Stake/id/index.js +73 -81
  122. package/dist/components/Wallet/Stake/index.js +64 -67
  123. package/dist/components/Wallet/Swap/form.js +8 -17
  124. package/dist/components/Wallet/Swap/index.js +2 -2
  125. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  126. package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
  127. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
  128. package/dist/components/Wallet/Withdraw/form.js +4 -15
  129. package/dist/components/Wallet/Withdraw/index.js +2 -2
  130. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  131. package/dist/hoc/withThemeProvider.js +5 -732
  132. package/dist/hooks/useDialog/index.js +22 -23
  133. package/dist/hooks/useRrDialog/index.js +43 -46
  134. package/dist/hooks/useSnackBar.js +24 -696
  135. package/dist/icons/buyIcon.js +1 -1
  136. package/dist/icons/canceledBuyIcon.js +1 -1
  137. package/dist/icons/canceledRedeemIcon.js +1 -1
  138. package/dist/icons/failedBuyIcon.js +2 -2
  139. package/dist/icons/failedRedeemIcon.js +2 -2
  140. package/dist/icons/pendingBuyIcon.js +1 -1
  141. package/dist/icons/pendingRedeemIcon.js +1 -1
  142. package/dist/icons/redeemIcon.js +1 -1
  143. package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
  144. package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
  145. package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
  146. package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
  147. package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
  148. package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
  149. package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
  150. package/dist/main.js +7 -7
  151. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  152. package/dist/otpForm-fiNqeB5H.js +7378 -0
  153. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  154. package/dist/tooltip-BW0UyWw7.js +2129 -0
  155. package/package.json +6 -6
  156. package/dist/Alert-DzsbFW3-.js +0 -369
  157. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  158. package/dist/Avatar-1XklXr4O.js +0 -281
  159. package/dist/Backdrop-CioURPVG.js +0 -359
  160. package/dist/Box-B0YSYLco.js +0 -59
  161. package/dist/Button-Df4vgU24.js +0 -663
  162. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  163. package/dist/CardContent-D9wTdpu-.js +0 -141
  164. package/dist/CircularProgress-xZA3lvba.js +0 -252
  165. package/dist/Close-CxzDL3J-.js +0 -9
  166. package/dist/Container-urNKV7hm.js +0 -181
  167. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  168. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  169. package/dist/DialogContent-BMwlOnbW.js +0 -567
  170. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  171. package/dist/Divider-BShhMFf4.js +0 -297
  172. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  173. package/dist/FormControl-RtZDQMdA.js +0 -258
  174. package/dist/FormControlLabel-BliKW48y.js +0 -519
  175. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  176. package/dist/Grid-CFe3amXO.js +0 -410
  177. package/dist/Grow-CnGtel3u.js +0 -196
  178. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  179. package/dist/IconButton-DHm-hucF.js +0 -297
  180. package/dist/InputAdornment-DMiED3JH.js +0 -173
  181. package/dist/Link-DBA9Yifs.js +0 -266
  182. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  183. package/dist/Menu-DLYFFrEk.js +0 -1239
  184. package/dist/MenuItem-DUdYOJr4.js +0 -271
  185. package/dist/Modal-CFIQ_s3T.js +0 -743
  186. package/dist/Paper-Bgt2WXI6.js +0 -186
  187. package/dist/Popper-BBAoiZKn.js +0 -1409
  188. package/dist/Portal-BMAxiQwe.js +0 -69
  189. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  190. package/dist/Select-CB5yWmyn.js +0 -1886
  191. package/dist/Slide-B9Nw0LZ4.js +0 -235
  192. package/dist/Stack-k55YTxET.js +0 -172
  193. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  194. package/dist/TextField-DPpRUQe3.js +0 -978
  195. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  196. package/dist/Typography-pAaje37G.js +0 -260
  197. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  198. package/dist/clsx-BTaloaeC.js +0 -264
  199. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  200. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  201. package/dist/createTheme-CD19zQB7.js +0 -3825
  202. package/dist/debounce-46wSf_lW.js +0 -15
  203. package/dist/defaultTheme-C35y5cLB.js +0 -5
  204. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  205. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  206. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  207. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  208. package/dist/exactProp-C1Lmtwf_.js +0 -13
  209. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  210. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  211. package/dist/index-B0Z-Gjno.js +0 -22
  212. package/dist/index-DUcLo3x5.js +0 -43
  213. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  214. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  215. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  216. package/dist/memoTheme-yHaPezod.js +0 -15
  217. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  218. package/dist/radioButton-CzlYB0Lh.js +0 -402
  219. package/dist/refType-BsTH3qnM.js +0 -56
  220. package/dist/tooltip-3UvETWtS.js +0 -740
  221. package/dist/useControlled-nm4pBabJ.js +0 -31
  222. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  223. package/dist/useFormControl-CatNKXAi.js +0 -10
  224. package/dist/useId-CK6Kn3Tn.js +0 -21
  225. package/dist/useSlot-CW7SOYlh.js +0 -125
  226. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  227. package/dist/useTheme-BQJ5lp0i.js +0 -11
  228. package/dist/useTheme-S5_DHFsQ.js +0 -17
  229. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,13 +1,14 @@
1
1
  import { jsxs as v, Fragment as ae, jsx as t } from "react/jsx-runtime";
2
- import { useState as n, useEffect as z, useRef as Ne } from "react";
2
+ import { useState as r, useEffect as z, useRef as Ne } from "react";
3
3
  import { AuthContainer as Oe } from "./components/Wallet/Shared/Container/index.js";
4
- import Ae from "./hoc/withThemeProvider.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";
5
6
  import ye from "./components/Wallet/Shared/Input/index.js";
6
7
  import Se from "./components/Wallet/Shared/appButton.js";
7
8
  import "./index-DlQqWbXG.js";
8
- import "./components/Wallet/Shared/Auth/otpForm.js";
9
- import { d as T, f as _e } from "./constants-DrmtdI1J.js";
10
- import { c as Pe, d as Re } from "./kyc-ksV3vBP_.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";
11
12
  import { useSnackBarContext as ce } from "./context/snackBarContext.js";
12
13
  import xe from "./hooks/useEverestDispatch.js";
13
14
  import "./util/conversions.js";
@@ -15,29 +16,23 @@ import "./index-CAoLi5Qq.js";
15
16
  import ve from "./components/Wallet/Shared/step.js";
16
17
  import "./react-webcam-B3cXh1XT.js";
17
18
  import "./components/Shared/transition.js";
18
- import "./tooltip-3UvETWtS.js";
19
+ import "./tooltip-BW0UyWw7.js";
19
20
  import "./moment-h96o7c8I.js";
20
21
  import "./index.esm-BsMAMhYW.js";
21
- import { c as Be } from "./countries-BVn1FubK.js";
22
+ import { c as Te } from "./countries-BVn1FubK.js";
22
23
  import "./web3-u4qDZYpo.js";
23
24
  import "./index-ceeCtFuh.js";
24
- import { useDialogContext as be } from "./context/dialogContext.js";
25
+ import { useDialogContext as Fe } from "./context/dialogContext.js";
26
+ import "@mui/icons-material";
25
27
  import le from "./components/Shared/FullKyc/countryList.js";
26
- import { B as D } from "./Box-B0YSYLco.js";
27
- import { T as ee } from "./Typography-pAaje37G.js";
28
- import Le from "./components/Shared/FullKyc/pep.js";
29
- import { u as ne } from "./react-redux-C7I9-1M6.js";
30
- import Te from "./components/Shared/FullKyc/edd.js";
31
- import Fe from "./components/Shared/Sumsub/index.js";
32
- import { F as Ie } from "./FormControl-RtZDQMdA.js";
33
- import { I as Ke } from "./TextField-DPpRUQe3.js";
34
- import { S as Me } from "./Select-CB5yWmyn.js";
35
- import { M as ie } from "./MenuItem-DUdYOJr4.js";
36
- import { G as oe } from "./Grid-CFe3amXO.js";
28
+ import Ke from "./components/Shared/FullKyc/pep.js";
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";
37
32
  const ze = ({
38
33
  inputComponent: g,
39
34
  buttonComponent: k,
40
- setUserInfo: q,
35
+ setUserInfo: M,
41
36
  userInfo: l,
42
37
  docData: o,
43
38
  setScreen: h,
@@ -45,32 +40,32 @@ const ze = ({
45
40
  kycFlow: E
46
41
  }) => {
47
42
  const d = xe();
48
- be();
49
- const { showAlertMessage: c } = ce(), s = g ?? ye, U = k ?? Se, [a, p] = n(l.gender || ""), [u, F] = n(!1), [I, y] = n(l.email || ""), [te, re] = n(!1), [Y, Z] = n(""), [m, $] = n(l.address || ""), [r, K] = n(l.city || ""), [S, X] = n(l.state || ""), [N, W] = n(l.zipCode || ""), [O, e] = n(
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(
50
45
  l.country || null
51
- ), [A, _] = n(!1);
46
+ ), [A, _] = r(!1);
52
47
  z(() => {
53
- C && (y(C), re(!0));
48
+ C && (y(C), ne(!0));
54
49
  }, [C]), z(() => {
55
50
  var i;
56
51
  if (o != null && o.issuingCountry) {
57
52
  o.gender && (p(o.gender), F(!0));
58
- const x = Be.find(
59
- (f) => f.alpha3 === o.issuingCountry
53
+ const x = Te.find(
54
+ (u) => u.alpha3 === o.issuingCountry
60
55
  );
61
- q({ ...l, country: x, nationality: x });
62
- const R = new Date(o.birthDate), B = R.getTimezoneOffset() * 6e4, b = new Date(
63
- R.getTime() + B
56
+ M({ ...l, country: x, nationality: x });
57
+ const R = new Date(o.birthDate), b = R.getTimezoneOffset() * 6e4, B = new Date(
58
+ R.getTime() + b
64
59
  );
65
- if (Z(b.toLocaleDateString("en-US")), (i = o.checkedAddressBean) != null && i.street) {
66
- const f = o.checkedAddressBean;
67
- _(!0), $(f.street), K(f.city), X(f.state), W(f.postalCode);
60
+ 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);
68
63
  }
69
64
  } else
70
65
  P();
71
66
  }, []);
72
67
  const P = () => {
73
- d(Pe());
68
+ d(Be());
74
69
  };
75
70
  return /* @__PURE__ */ v(ae, { children: [
76
71
  E !== T && /* @__PURE__ */ t(D, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(ve, { totalSteps: 4, currentStep: 2 }) }),
@@ -88,20 +83,20 @@ const ze = ({
88
83
  required: !0
89
84
  }
90
85
  ),
91
- /* @__PURE__ */ v(Ie, { sx: { mt: 3 }, fullWidth: !0, children: [
92
- /* @__PURE__ */ t(Ke, { children: "Gender" }),
86
+ /* @__PURE__ */ v(Ae, { sx: { mt: 3 }, fullWidth: !0, children: [
87
+ /* @__PURE__ */ t(_e, { children: "Gender" }),
93
88
  /* @__PURE__ */ v(
94
- Me,
89
+ Pe,
95
90
  {
96
91
  value: a,
97
92
  label: "Gender",
98
93
  onChange: (i) => p(i.target.value),
99
- disabled: !!(u && a),
94
+ disabled: !!(f && a),
100
95
  required: !0,
101
96
  children: [
102
- /* @__PURE__ */ t(ie, { value: "M", children: "Male" }, "M"),
103
- /* @__PURE__ */ t(ie, { value: "F", children: "Female" }, "F"),
104
- /* @__PURE__ */ t(ie, { value: "X", children: "Another" }, "X")
97
+ /* @__PURE__ */ t(re, { value: "M", children: "Male" }, "M"),
98
+ /* @__PURE__ */ t(re, { value: "F", children: "Female" }, "F"),
99
+ /* @__PURE__ */ t(re, { value: "X", children: "Another" }, "X")
105
100
  ]
106
101
  }
107
102
  )
@@ -111,7 +106,7 @@ const ze = ({
111
106
  {
112
107
  sx: { mt: 3 },
113
108
  label: "Email",
114
- value: I,
109
+ value: K,
115
110
  onChange: (i) => y(i.target.value),
116
111
  disabled: te,
117
112
  required: !0
@@ -129,18 +124,18 @@ const ze = ({
129
124
  required: !0
130
125
  }
131
126
  ),
132
- /* @__PURE__ */ v(oe, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
133
- /* @__PURE__ */ t(oe, { size: 6, children: /* @__PURE__ */ t(
127
+ /* @__PURE__ */ v(ie, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
128
+ /* @__PURE__ */ t(ie, { size: 6, children: /* @__PURE__ */ t(
134
129
  s,
135
130
  {
136
131
  label: "City",
137
- value: r,
138
- onChange: (i) => K(i.target.value),
139
- disabled: !!(A && r),
132
+ value: n,
133
+ onChange: (i) => I(i.target.value),
134
+ disabled: !!(A && n),
140
135
  required: !0
141
136
  }
142
137
  ) }),
143
- /* @__PURE__ */ t(oe, { size: 6, children: /* @__PURE__ */ t(
138
+ /* @__PURE__ */ t(ie, { size: 6, children: /* @__PURE__ */ t(
144
139
  s,
145
140
  {
146
141
  label: "State/Province",
@@ -156,7 +151,7 @@ const ze = ({
156
151
  sx: { mt: 3 },
157
152
  label: "Zipcode",
158
153
  value: N,
159
- onChange: (i) => W(i.target.value),
154
+ onChange: (i) => U(i.target.value),
160
155
  disabled: !!(A && N),
161
156
  required: !0
162
157
  }
@@ -171,7 +166,7 @@ const ze = ({
171
166
  )
172
167
  ] }),
173
168
  /* @__PURE__ */ t(
174
- U,
169
+ w,
175
170
  {
176
171
  sx: { mt: 3 },
177
172
  variant: "contained",
@@ -184,7 +179,7 @@ const ze = ({
184
179
  }
185
180
  if (!m)
186
181
  return c({ message: "Please provide address" });
187
- if (!r) return c({ message: "Please provide city" });
182
+ if (!n) return c({ message: "Please provide city" });
188
183
  if (!S) return c({ message: "Please provide state" });
189
184
  if (!N)
190
185
  return c({ message: "Please provide zip code" });
@@ -192,12 +187,12 @@ const ze = ({
192
187
  return c({
193
188
  message: "Please select country of residency"
194
189
  });
195
- q({
190
+ M({
196
191
  ...l,
197
192
  gender: a,
198
- email: I,
193
+ email: K,
199
194
  address: m,
200
- city: r,
195
+ city: n,
201
196
  state: S,
202
197
  zipCode: N,
203
198
  country: O
@@ -205,24 +200,24 @@ const ze = ({
205
200
  E !== T ? de : pe
206
201
  );
207
202
  },
208
- disabled: E !== T && !I || E !== T && !a || !m || !O,
203
+ disabled: E !== T && !K || E !== T && !a || !m || !O,
209
204
  fullWidth: !0,
210
205
  children: /* @__PURE__ */ t("strong", { children: "Next" })
211
206
  }
212
207
  )
213
208
  ] });
214
- }, qe = ({
209
+ }, Me = ({
215
210
  userInfo: g,
216
211
  setUserInfo: k,
217
- setScreen: q,
212
+ setScreen: M,
218
213
  inputComponent: l,
219
214
  buttonComponent: o
220
215
  }) => {
221
- const { showAlertMessage: h } = ce(), C = l ?? ye, E = o ?? Se, [d, c] = n(
216
+ const { showAlertMessage: h } = ce(), C = l ?? ye, E = o ?? Se, [d, c] = r(
222
217
  g.placeOfBirth || null
223
- ), [s, U] = n(
218
+ ), [s, w] = r(
224
219
  g.nationality || null
225
- ), [a, p] = n(g.occupation || ""), [u, F] = n(g.employer || "");
220
+ ), [a, p] = r(g.occupation || ""), [f, F] = r(g.employer || "");
226
221
  return /* @__PURE__ */ v(ae, { children: [
227
222
  /* @__PURE__ */ t(D, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(ve, { totalSteps: 4, currentStep: 3 }) }),
228
223
  /* @__PURE__ */ v(D, { pl: 2, mt: 4, children: [
@@ -240,7 +235,7 @@ const ze = ({
240
235
  le,
241
236
  {
242
237
  value: s,
243
- onChange: U,
238
+ onChange: w,
244
239
  label: "Country of citizenship"
245
240
  }
246
241
  ),
@@ -258,7 +253,7 @@ const ze = ({
258
253
  {
259
254
  sx: { mt: 3 },
260
255
  label: "Employer",
261
- value: u,
256
+ value: f,
262
257
  onChange: (y) => F(y.target.value)
263
258
  }
264
259
  )
@@ -286,16 +281,16 @@ const ze = ({
286
281
  placeOfBirth: d,
287
282
  nationality: s,
288
283
  occupation: a,
289
- employer: u
290
- }), q(pe);
284
+ employer: f
285
+ }), M(pe);
291
286
  },
292
- disabled: !d || !s || !a || !u,
287
+ disabled: !d || !s || !a || !f,
293
288
  fullWidth: !0,
294
289
  children: /* @__PURE__ */ t("strong", { children: "Next" })
295
290
  }
296
291
  )
297
292
  ] });
298
- }, se = "INCODE_SCREEN", Q = "USER_INFO_SCREEN", de = "PERSONAL_DETAILS_SCREEN", pe = "PEP_SCREEN", Ue = "EDD_SCREEN", We = {
293
+ }, se = "INCODE_SCREEN", Q = "USER_INFO_SCREEN", de = "PERSONAL_DETAILS_SCREEN", pe = "PEP_SCREEN", we = "EDD_SCREEN", Ue = {
299
294
  BANK_STATEMENT: {
300
295
  text: "",
301
296
  file: [],
@@ -311,10 +306,10 @@ const ze = ({
311
306
  file: [],
312
307
  preview: []
313
308
  }
314
- }, we = ({
309
+ }, We = ({
315
310
  configurationId: g,
316
311
  incodeApiKey: k,
317
- incodeApiUrl: q,
312
+ incodeApiUrl: M,
318
313
  incodeOnBoardingUrl: l,
319
314
  withContainer: o = !1,
320
315
  successHandler: h,
@@ -322,11 +317,11 @@ const ze = ({
322
317
  isModalView: E = !1,
323
318
  kycFlow: d
324
319
  }) => {
325
- const c = Ne(!0), { showAlertMessage: s } = ce(), U = xe(), a = ne((e) => e.user), p = ne((e) => e.user.kyc);
326
- ne((e) => e.session.uuid);
327
- const u = a.kyc, F = u.processComplete, I = {}, [y, te] = n(I);
328
- n({ token: "" });
329
- const [re, Y] = n(""), [Z, m] = n(
320
+ const c = Ne(!0), { showAlertMessage: s } = ce(), w = xe(), a = oe((e) => e.user), p = oe((e) => e.user.kyc);
321
+ oe((e) => e.session.uuid);
322
+ const f = a.kyc, F = f.processComplete, K = {}, [y, te] = r(K);
323
+ r({ token: "" });
324
+ const [ne, Y] = r(""), [Z, m] = r(
330
325
  d === T ? Q : se
331
326
  );
332
327
  z(() => {
@@ -350,7 +345,7 @@ const ze = ({
350
345
  }
351
346
  m(e);
352
347
  }, [C]), z(() => {
353
- h && F && (s({ message: "KYC has been done successfully.", type: "success" }), h());
348
+ h && F && (s({ message: "KYC request has been received and will be processed shortly.", type: "success" }), h());
354
349
  }, [h, F]);
355
350
  const $ = {
356
351
  gender: "",
@@ -370,59 +365,59 @@ const ze = ({
370
365
  frequency: "",
371
366
  reason: "",
372
367
  source: ""
373
- }, [r, K] = n($), [S, X] = n(We);
368
+ }, [n, I] = r($), [S, X] = r(Ue);
374
369
  z(() => {
375
370
  S.BANK_STATEMENT.file.length > 0 && N(S);
376
371
  }, [S]);
377
372
  const N = (e) => {
378
- W(
379
- r.isPoliticalExpose,
380
- r.politicalExpose,
381
- r.frequency,
382
- r.reason,
383
- r.source,
384
- r.origin,
373
+ U(
374
+ n.isPoliticalExpose,
375
+ n.politicalExpose,
376
+ n.frequency,
377
+ n.reason,
378
+ n.source,
379
+ n.origin,
385
380
  e,
386
381
  !0
387
382
  );
388
- }, W = (e, A, _, P, M, i, x, R = !1) => {
389
- var B, b, f;
390
- if (d !== _e && !R) {
391
- m(Ue);
383
+ }, U = (e, A, _, P, q, i, x, R = !1) => {
384
+ var b, B, u;
385
+ if (d !== be && !R) {
386
+ m(we);
392
387
  return;
393
388
  }
394
- if (!u.loader) {
389
+ if (!f.loader) {
395
390
  const V = {
396
- street: r.address,
397
- city: r.city,
398
- postcode: r.zipCode,
399
- state: r.state,
400
- country: (B = r.country) == null ? void 0 : B.alpha3
391
+ street: n.address,
392
+ city: n.city,
393
+ postcode: n.zipCode,
394
+ state: n.state,
395
+ country: (b = n.country) == null ? void 0 : b.alpha3
401
396
  }, H = {
402
397
  isExposed: e,
403
398
  exposed: A,
404
399
  frequency: _,
405
400
  reason: P,
406
- source: M,
401
+ source: q,
407
402
  originFunds: i
408
403
  }, J = {
409
404
  frequency: _,
410
405
  reason: P,
411
- source: M,
406
+ source: q,
412
407
  originFunds: i
413
- }, w = {
408
+ }, W = {
414
409
  kycFlow: d,
415
- email: r.email,
416
- gender: r.gender,
417
- birthPlace: (b = r.placeOfBirth) == null ? void 0 : b.alpha3,
418
- nationality: (f = r.nationality) == null ? void 0 : f.alpha3,
419
- occupation: r.occupation,
420
- employer: r.employer,
410
+ email: n.email,
411
+ gender: n.gender,
412
+ birthPlace: (B = n.placeOfBirth) == null ? void 0 : B.alpha3,
413
+ nationality: (u = n.nationality) == null ? void 0 : u.alpha3,
414
+ occupation: n.occupation,
415
+ employer: n.employer,
421
416
  residentialAddress: V,
422
417
  politicalExposure: H,
423
418
  customerDueDiligence: J,
424
419
  workflow: {
425
- token: re
420
+ token: ne
426
421
  }
427
422
  };
428
423
  if (x) {
@@ -430,27 +425,27 @@ const ze = ({
430
425
  file: L.file[0],
431
426
  type: j
432
427
  }));
433
- G.length > 0 && (w.eddDocuments = G);
428
+ G.length > 0 && (W.eddDocuments = G);
434
429
  }
435
- U(Re(w));
430
+ w(Le(W));
436
431
  }
437
432
  };
438
433
  z(() => {
439
- var _, P, M, i, x, R, B, b, f, V, H, J, w, G, j, L, me, fe, ue, he, Ee, ge, Ce;
434
+ var _, P, q, i, x, R, b, B, u, V, H, J, W, G, j, L, me, ue, fe, he, Ee, ge, Ce;
440
435
  const e = p == null ? void 0 : p.sumsubDocumentData;
441
436
  if (!e) return;
442
437
  const A = {
443
438
  name: {
444
439
  fullName: `${((_ = e == null ? void 0 : e.documentData) == null ? void 0 : _.firstName) ?? ""} ${((P = e == null ? void 0 : e.documentData) == null ? void 0 : P.lastName) ?? ""}`.trim(),
445
- firstName: ((M = e == null ? void 0 : e.documentData) == null ? void 0 : M.firstName) ?? "",
440
+ firstName: ((q = e == null ? void 0 : e.documentData) == null ? void 0 : q.firstName) ?? "",
446
441
  givenName: ((i = e == null ? void 0 : e.documentData) == null ? void 0 : i.firstName) ?? "",
447
442
  paternalLastName: ((x = e == null ? void 0 : e.documentData) == null ? void 0 : x.lastName) ?? ""
448
443
  },
449
- address: ((B = (R = e == null ? void 0 : e.documentData) == null ? void 0 : R.address) == null ? void 0 : B.street) ?? "",
444
+ address: ((b = (R = e == null ? void 0 : e.documentData) == null ? void 0 : R.address) == null ? void 0 : b.street) ?? "",
450
445
  checkedAddressBean: {
451
- street: ((f = (b = e == null ? void 0 : e.documentData) == null ? void 0 : b.address) == null ? void 0 : f.street) ?? "",
446
+ street: ((u = (B = e == null ? void 0 : e.documentData) == null ? void 0 : B.address) == null ? void 0 : u.street) ?? "",
452
447
  city: ((H = (V = e == null ? void 0 : e.documentData) == null ? void 0 : V.address) == null ? void 0 : H.city) ?? "",
453
- state: ((w = (J = e == null ? void 0 : e.documentData) == null ? void 0 : J.address) == null ? void 0 : w.state) ?? "",
448
+ state: ((W = (J = e == null ? void 0 : e.documentData) == null ? void 0 : J.address) == null ? void 0 : W.state) ?? "",
454
449
  postalCode: ((j = (G = e == null ? void 0 : e.documentData) == null ? void 0 : G.address) == null ? void 0 : j.postcode) ?? "",
455
450
  zipColonyOptions: []
456
451
  },
@@ -460,8 +455,8 @@ const ze = ({
460
455
  issueFront: 0,
461
456
  issueBack: 0,
462
457
  birthDate: Date.parse(((me = e == null ? void 0 : e.documentData) == null ? void 0 : me.dateOfBirth) ?? "") || 0,
463
- gender: ((fe = e == null ? void 0 : e.documentData) == null ? void 0 : fe.gender) ?? "",
464
- personalNumber: ((ue = e == null ? void 0 : e.documentData) == null ? void 0 : ue.number) ?? "",
458
+ gender: ((ue = e == null ? void 0 : e.documentData) == null ? void 0 : ue.gender) ?? "",
459
+ personalNumber: ((fe = e == null ? void 0 : e.documentData) == null ? void 0 : fe.number) ?? "",
465
460
  issuedAt: "",
466
461
  expireAt: ((he = e == null ? void 0 : e.documentData) == null ? void 0 : he.dateOfExpiry) ?? "",
467
462
  expirationDate: Date.parse(((Ee = e == null ? void 0 : e.documentData) == null ? void 0 : Ee.dateOfExpiry) ?? "") || 0,
@@ -486,55 +481,55 @@ const ze = ({
486
481
  te(A), m(Q);
487
482
  }, [p == null ? void 0 : p.sumsubDocumentData]);
488
483
  const O = {
489
- INCODE_SCREEN: /* @__PURE__ */ t(Fe, { onApplicantIdLoaded: Y }),
484
+ INCODE_SCREEN: /* @__PURE__ */ t(qe, { onApplicantIdLoaded: Y }),
490
485
  USER_INFO_SCREEN: /* @__PURE__ */ t(
491
486
  ze,
492
487
  {
493
488
  docData: y,
494
489
  setScreen: m,
495
- setUserInfo: K,
496
- userInfo: r,
490
+ setUserInfo: I,
491
+ userInfo: n,
497
492
  userEmail: a.profile.email,
498
493
  kycFlow: d
499
494
  }
500
495
  ),
501
496
  PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ t(
502
- qe,
497
+ Me,
503
498
  {
504
499
  setScreen: m,
505
- setUserInfo: K,
506
- userInfo: r
500
+ setUserInfo: I,
501
+ userInfo: n
507
502
  }
508
503
  ),
509
504
  PEP_SCREEN: /* @__PURE__ */ t(
510
- Le,
505
+ Ke,
511
506
  {
512
507
  setScreen: m,
513
- setUserInfo: K,
514
- userInfo: r,
515
- processKyc: W,
516
- processLoader: u.loader,
508
+ setUserInfo: I,
509
+ userInfo: n,
510
+ processKyc: U,
511
+ processLoader: f.loader,
517
512
  kycFlow: d
518
513
  }
519
514
  ),
520
515
  EDD_SCREEN: /* @__PURE__ */ t(
521
- Te,
516
+ Ie,
522
517
  {
523
518
  kycStoreData: p,
524
519
  eddData: S,
525
520
  setEddData: X,
526
521
  processKyc: N,
527
- processLoader: u.loader
522
+ processLoader: f.loader
528
523
  }
529
524
  )
530
525
  }[Z];
531
- return o ? /* @__PURE__ */ t(Oe, { addPadding: !1, children: O }) : O;
532
- }, Ot = Ae(we);
526
+ return o ? /* @__PURE__ */ t(Oe, { addPadding: !0, children: O }) : O;
527
+ }, yt = Re(We);
533
528
  export {
534
- Ue as E,
535
- Ot as F,
529
+ we as E,
530
+ yt as F,
536
531
  se as I,
537
- qe as P,
532
+ Me as P,
538
533
  ze as U,
539
534
  Q as a,
540
535
  de as b,