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