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,44 +1,42 @@
1
- import { jsxs as A, Fragment as C, jsx as t } from "react/jsx-runtime";
2
- import { useState as p, useRef as f, useEffect as b, useCallback as n } from "react";
3
- import { S as x } from "../../../index.esm-I_Bp2YLf.js";
4
- import { u as E } from "../../../react-redux-C7I9-1M6.js";
5
- import "../../../constants-DREDnCMu.js";
6
- import { g as D, b as R } from "../../../kyc-D4s_B9Cf.js";
7
- import I from "../../../hooks/useEverestDispatch.js";
8
- import { T as v } from "../../../Typography-pAaje37G.js";
9
- import { B as d } from "../../../Box-B0YSYLco.js";
10
- import { C as y } from "../../../CircularProgress-xZA3lvba.js";
11
- function z({ onApplicantIdLoaded: o }) {
12
- const c = I(), e = E((s) => s.user.kyc), [u, k] = p(null), i = f(null), [a, h] = p(!1), m = f(!1);
13
- b(() => {
14
- c(D());
1
+ import { jsxs as f, Fragment as p, jsx as t } from "react/jsx-runtime";
2
+ import { useState as d, useRef as b, useEffect as h, useCallback as c } from "react";
3
+ import { S as E } from "../../../index.esm-I_Bp2YLf.js";
4
+ import { Typography as k, Box as g, CircularProgress as D } from "@mui/material";
5
+ import { u as v } from "../../../react-redux-C7I9-1M6.js";
6
+ import "../../../constants-DrmtdI1J.js";
7
+ import { g as w, b as y } from "../../../kyc-ksV3vBP_.js";
8
+ import R from "../../../hooks/useEverestDispatch.js";
9
+ function K({ onApplicantIdLoaded: o }) {
10
+ const n = R(), e = v((r) => r.user.kyc), [i, T] = d(null), u = b(null), [a, A] = d(!1), l = b(!1);
11
+ h(() => {
12
+ n(w());
15
13
  }, []);
16
- const T = n(async () => e.sumsubAccessToken ?? "", [e.sumsubAccessToken]);
17
- b(() => {
14
+ const S = c(async () => e.sumsubAccessToken ?? "", [e.sumsubAccessToken]);
15
+ h(() => {
18
16
  if (!a) return;
19
- const s = i.current ?? u;
20
- s && (m.current || (m.current = !0, c(R(s))));
21
- }, [u, c, a]);
22
- const g = n(
23
- (s, l) => {
24
- if (s === "idCheck.onApplicantLoaded") {
25
- const r = l;
26
- r != null && r.applicantId && (i.current = r.applicantId, k(r.applicantId), o == null || o(r.applicantId));
17
+ const r = u.current ?? i;
18
+ r && (l.current || (l.current = !0, n(y(r))));
19
+ }, [i, n, a]);
20
+ const x = c(
21
+ (r, m) => {
22
+ if (r === "idCheck.onApplicantLoaded") {
23
+ const s = m;
24
+ s != null && s.applicantId && (u.current = s.applicantId, T(s.applicantId), o == null || o(s.applicantId));
27
25
  return;
28
26
  }
29
- if (s === "idCheck.onApplicantStatusChanged" || s === "idCheck.onApplicantActionCompleted") {
30
- const r = l;
31
- (r == null ? void 0 : r.reviewStatus) === "completed" && h(!0);
27
+ if (r === "idCheck.onApplicantStatusChanged" || r === "idCheck.onApplicantActionCompleted") {
28
+ const s = m;
29
+ (s == null ? void 0 : s.reviewStatus) === "completed" && A(!0);
32
30
  }
33
31
  },
34
- [c, o]
35
- ), S = n((s) => {
36
- console.error("Sumsub WebSDK error:", s);
32
+ [n, o]
33
+ ), C = c((r) => {
34
+ console.error("Sumsub WebSDK error:", r);
37
35
  }, []);
38
- return /* @__PURE__ */ A(C, { children: [
39
- e.sumsubAccessTokenError && /* @__PURE__ */ t(v, { color: "error", variant: "body2", children: e.sumsubAccessTokenError }),
36
+ return /* @__PURE__ */ f(p, { children: [
37
+ e.sumsubAccessTokenError && /* @__PURE__ */ t(k, { color: "error", variant: "body2", children: e.sumsubAccessTokenError }),
40
38
  !e.sumsubAccessTokenError && (e.sumsubAccessTokenLoader || !e.sumsubAccessToken) && /* @__PURE__ */ t(
41
- d,
39
+ g,
42
40
  {
43
41
  sx: {
44
42
  display: "flex",
@@ -46,38 +44,53 @@ function z({ onApplicantIdLoaded: o }) {
46
44
  justifyContent: "center",
47
45
  py: 4
48
46
  },
49
- children: /* @__PURE__ */ t(y, {})
47
+ children: /* @__PURE__ */ t(D, {})
50
48
  }
51
49
  ),
52
- !e.sumsubAccessTokenError && e.sumsubAccessToken && /* @__PURE__ */ t(
53
- d,
54
- {
55
- sx: {
56
- borderRadius: 1,
57
- border: "1px solid black",
58
- overflow: "hidden",
59
- minHeight: 500
60
- },
61
- children: /* @__PURE__ */ t(
62
- x,
63
- {
64
- accessToken: e.sumsubAccessToken,
65
- expirationHandler: T,
66
- config: {
67
- lang: "en"
68
- },
69
- options: {
70
- addViewportTag: !1,
71
- adaptIframeHeight: !0
72
- },
73
- onMessage: g,
74
- onError: S
75
- }
76
- )
77
- }
78
- )
50
+ !e.sumsubAccessTokenError && e.sumsubAccessToken && /* @__PURE__ */ f(p, { children: [
51
+ /* @__PURE__ */ t(
52
+ g,
53
+ {
54
+ sx: {
55
+ mb: 2,
56
+ p: 2,
57
+ backgroundColor: "#fff3cd",
58
+ border: "1px solid #ffc107",
59
+ borderRadius: 1
60
+ },
61
+ children: /* @__PURE__ */ t(
62
+ k,
63
+ {
64
+ variant: "body2",
65
+ sx: {
66
+ fontWeight: "bold",
67
+ color: "#856404",
68
+ textAlign: "center"
69
+ },
70
+ children: "⚠️ Do not close this window or navigate away. Wait for verification to complete - additional information will be required next."
71
+ }
72
+ )
73
+ }
74
+ ),
75
+ /* @__PURE__ */ t(
76
+ E,
77
+ {
78
+ accessToken: e.sumsubAccessToken,
79
+ expirationHandler: S,
80
+ config: {
81
+ lang: "en"
82
+ },
83
+ options: {
84
+ addViewportTag: !1,
85
+ adaptIframeHeight: !0
86
+ },
87
+ onMessage: x,
88
+ onError: C
89
+ }
90
+ )
91
+ ] })
79
92
  ] });
80
93
  }
81
94
  export {
82
- z as default
95
+ K as default
83
96
  };
@@ -1,7 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { B as a } from "../../Backdrop-CioURPVG.js";
3
- import { C as s } from "../../CircularProgress-xZA3lvba.js";
4
- const m = ({ open: o = !0 }) => /* @__PURE__ */ r(
2
+ import { Backdrop as a, CircularProgress as d } from "@mui/material";
3
+ const f = ({ open: o = !0 }) => /* @__PURE__ */ r(
5
4
  a,
6
5
  {
7
6
  open: o,
@@ -9,9 +8,9 @@ const m = ({ open: o = !0 }) => /* @__PURE__ */ r(
9
8
  color: "#fff",
10
9
  zIndex: (e) => e.zIndex.drawer + 1
11
10
  },
12
- children: /* @__PURE__ */ r(s, { color: "primary" })
11
+ children: /* @__PURE__ */ r(d, { color: "primary" })
13
12
  }
14
13
  );
15
14
  export {
16
- m as default
15
+ f as default
17
16
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../DefaultPropsProvider-oAu9El-f.js";
4
- import { M as i } from "../../tooltip-3UvETWtS.js";
3
+ import "@mui/material";
4
+ import { M as i } from "../../tooltip-BW0UyWw7.js";
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,9 +1,9 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as n } from "react";
3
- import { S as s } from "../../Slide-B9Nw0LZ4.js";
4
- const a = n((r, o) => {
2
+ import { Slide as n } from "@mui/material";
3
+ import { forwardRef as s } from "react";
4
+ const a = s((r, o) => {
5
5
  const { children: i, ...t } = r;
6
- return /* @__PURE__ */ e(s, { direction: "up", ref: o, ...t, children: i });
6
+ return /* @__PURE__ */ e(n, { direction: "up", ref: o, ...t, children: i });
7
7
  });
8
8
  a.displayName = "Transition";
9
9
  export {
@@ -1,30 +1,26 @@
1
- import { jsx as t, jsxs as u } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
2
  import { useRef as A } from "react";
3
3
  import { u as N } from "../../../react-redux-C7I9-1M6.js";
4
- import { FEATURE_EWALLET as r, DIALOG_ERROR_ICON as d, DIALOG_SUCCESS_ICON as U } from "../../../util/constants.js";
5
- import { a as v, ah as P, c as V, K as _ } from "../../../constants-DREDnCMu.js";
4
+ import { Box as S, CircularProgress as U, Typography as E, Select as v, MenuItem as d } from "@mui/material";
5
+ import { FEATURE_EWALLET as r, DIALOG_ERROR_ICON as f, DIALOG_SUCCESS_ICON as P } from "../../../util/constants.js";
6
+ import { a as V, ah as _, c as G, K } from "../../../constants-DrmtdI1J.js";
6
7
  import "../../../index-DlQqWbXG.js";
7
8
  import "../Shared/appButton.js";
8
9
  import "../../../hoc/withThemeProvider.js";
9
- import "../Shared/Auth/otpForm.js";
10
- import { useSnackBarContext as G } from "../../../context/snackBarContext.js";
10
+ import "../../../otpForm-fiNqeB5H.js";
11
+ import { useSnackBarContext as O } from "../../../context/snackBarContext.js";
11
12
  import "../../../util/conversions.js";
12
13
  import "../../../index-CAoLi5Qq.js";
13
14
  import "../../../react-webcam-B3cXh1XT.js";
14
15
  import "../../Shared/transition.js";
15
- import "../../../tooltip-3UvETWtS.js";
16
- import "../Shared/pin.js";
16
+ import "../../../tooltip-BW0UyWw7.js";
17
17
  import "../../../moment-h96o7c8I.js";
18
18
  import "../../../index.esm-BsMAMhYW.js";
19
19
  import "../../../web3-u4qDZYpo.js";
20
20
  import "../../../index-ceeCtFuh.js";
21
21
  import "../../../index.esm-I_Bp2YLf.js";
22
22
  import "../../../context/dialogContext.js";
23
- import { B as S } from "../../../Box-B0YSYLco.js";
24
- import { C as K } from "../../../CircularProgress-xZA3lvba.js";
25
- import { T as E } from "../../../Typography-pAaje37G.js";
26
- import { S as O } from "../../../Select-CB5yWmyn.js";
27
- import { M as f } from "../../../MenuItem-DUdYOJr4.js";
23
+ import "@mui/icons-material";
28
24
  const Y = [
29
25
  {
30
26
  alpha3: "AUT",
@@ -191,21 +187,21 @@ const Y = [
191
187
  alpha2: "GB",
192
188
  name: "United Kingdom"
193
189
  }
194
- ], ua = ({
190
+ ], ha = ({
195
191
  openDialog: n,
196
192
  createIbanRequest: B,
197
- iban: h,
198
- navigate: T,
193
+ iban: s,
194
+ navigate: L,
199
195
  currency: a,
200
- setIbanCurrency: m,
196
+ setIbanCurrency: c,
201
197
  from: e
202
198
  }) => {
203
- const { showAlertMessage: C } = G(), c = N((o) => o.user), p = c.profile, L = p.loader, y = c.kyc.loader, s = c.kyc.status, I = p.email, R = h.loader, l = A(!1), g = () => {
199
+ const { showAlertMessage: C } = O(), u = N((o) => o.user), p = u.profile, T = p.loader, y = u.kyc.loader, h = u.kyc.status, I = p.email, R = s.loader, l = A(!1), g = () => {
204
200
  if (!I) {
205
201
  n({
206
202
  title: "No Email",
207
203
  message: "Please contact support to update your email address.",
208
- icon: d,
204
+ icon: f,
209
205
  width: "575px",
210
206
  confirmButtonText: "Contact Suuport",
211
207
  cancelButtonShow: !0,
@@ -215,7 +211,7 @@ const Y = [
215
211
  });
216
212
  return;
217
213
  }
218
- if (s === v || s === P) {
214
+ if (h === V || h === _) {
219
215
  n({
220
216
  title: "Under Review",
221
217
  message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
@@ -226,7 +222,7 @@ const Y = [
226
222
  });
227
223
  return;
228
224
  }
229
- if (s !== V && s !== _) {
225
+ if (h !== G && h !== K) {
230
226
  n({
231
227
  title: "Verification Required",
232
228
  message: `To create a ${e === r ? "E-Wallet" : "Virtual IBAN"}, we first need to verify your identity. You will now be taken to complete your KYC verification.`,
@@ -234,7 +230,7 @@ const Y = [
234
230
  height: "400px",
235
231
  confirmButtonText: "Start Verification",
236
232
  cancelButtonText: "Cancel",
237
- onConfirm: () => T("/kyc")
233
+ onConfirm: () => L("/kyc")
238
234
  });
239
235
  return;
240
236
  }
@@ -244,7 +240,7 @@ const Y = [
244
240
  n({
245
241
  title: "Not Allowed",
246
242
  message: "Currently we are not supporting your country for Virtual IBAN.",
247
- icon: d,
243
+ icon: f,
248
244
  width: "575px",
249
245
  height: "450px",
250
246
  confirmButtonText: "Continue",
@@ -256,7 +252,7 @@ const Y = [
256
252
  n({
257
253
  title: "Not Allowed",
258
254
  message: "Currently we are not supporting organizational wallet(KYB) for Virtual IBAN.",
259
- icon: d,
255
+ icon: f,
260
256
  width: "575px",
261
257
  height: "450px",
262
258
  confirmButtonText: "Continue",
@@ -264,29 +260,29 @@ const Y = [
264
260
  });
265
261
  return;
266
262
  }
267
- e === r && (a.current = "EUR", m("EUR")), n({
263
+ e === r && (a.current = "EUR", c("EUR")), n({
268
264
  title: e === r ? "Create E-Wallet" : "Create Virtual IBAN",
269
- message: /* @__PURE__ */ u(S, { children: [
265
+ message: /* @__PURE__ */ m(S, { children: [
270
266
  /* @__PURE__ */ t(E, { children: e === r ? "Please proceed to create your E-Wallet." : "Please select the currency for the Virtual IBAN and proceed." }),
271
- e !== r && /* @__PURE__ */ u(
272
- O,
267
+ e !== r && /* @__PURE__ */ m(
268
+ v,
273
269
  {
274
270
  defaultValue: "",
275
271
  onChange: (i) => {
276
- a.current = i.target.value, m(i.target.value);
272
+ a.current = i.target.value, c(i.target.value);
277
273
  },
278
274
  style: { marginTop: "10px" },
279
275
  displayEmpty: !0,
280
276
  fullWidth: !0,
281
277
  children: [
282
- /* @__PURE__ */ t(f, { value: "", children: "Select currency" }),
283
- /* @__PURE__ */ t(f, { value: "EUR", children: "EUR" }),
284
- /* @__PURE__ */ t(f, { value: "GBP", children: "GBP" })
278
+ /* @__PURE__ */ t(d, { value: "", children: "Select currency" }),
279
+ /* @__PURE__ */ t(d, { value: "EUR", children: "EUR" }),
280
+ /* @__PURE__ */ t(d, { value: "GBP", children: "GBP" })
285
281
  ]
286
282
  }
287
283
  )
288
284
  ] }),
289
- icon: U,
285
+ icon: P,
290
286
  width: "575px",
291
287
  confirmButtonText: "Create",
292
288
  cancelButtonShow: !0,
@@ -294,7 +290,7 @@ const Y = [
294
290
  closeModalConfirm: w,
295
291
  onConfirm: x,
296
292
  onCancel: () => {
297
- a.current = "", m(""), l.current = !1;
293
+ a.current = "", c(""), l.current = !1;
298
294
  },
299
295
  onClose: () => {
300
296
  a.current = "", l.current = !1;
@@ -305,8 +301,8 @@ const Y = [
305
301
  return l.current = !0, C({
306
302
  message: e === r ? "Currency selection is missing." : "Please select currency for Virtual IBAN."
307
303
  }), !1;
308
- if (h.data.length > 0) {
309
- const o = h.data.find(
304
+ if (s.data.length > 0) {
305
+ const o = s.data.find(
310
306
  (i) => i.currency === a.current
311
307
  );
312
308
  if (o != null && o.id)
@@ -316,14 +312,14 @@ const Y = [
316
312
  }
317
313
  B(a.current);
318
314
  };
319
- return L || y || R ? /* @__PURE__ */ t(S, { mt: 4, className: "flex-center", children: /* @__PURE__ */ t(K, { color: "primary", size: 50 }) }) : /* @__PURE__ */ t(
315
+ return T || y || R ? /* @__PURE__ */ t(S, { mt: 4, className: "flex-center", children: /* @__PURE__ */ t(U, { color: "primary", size: 50 }) }) : /* @__PURE__ */ t(
320
316
  E,
321
317
  {
322
318
  onClick: g,
323
319
  component: "span",
324
320
  color: "primary",
325
321
  sx: { cursor: "pointer" },
326
- children: /* @__PURE__ */ u("span", { className: "text-underline", children: [
322
+ children: /* @__PURE__ */ m("span", { className: "text-underline", children: [
327
323
  "+ Add ",
328
324
  e === r ? "E-Wallet" : "Virtual IBAN"
329
325
  ] })
@@ -331,5 +327,5 @@ const Y = [
331
327
  );
332
328
  };
333
329
  export {
334
- ua as default
330
+ ha as default
335
331
  };
@@ -1,35 +1,31 @@
1
- import { jsx as e, jsxs as r, Fragment as l } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as r, Fragment as m } from "react/jsx-runtime";
2
2
  import { useRef as w, useState as A, useEffect as N } from "react";
3
- import { I as P } from "../../../Info-BVeUSPyk.js";
4
- import { DIALOG_SUCCESS_ICON as T, FEATURE_EWALLET as p } from "../../../util/constants.js";
5
- import { M as D } from "../../../tooltip-3UvETWtS.js";
6
- import b from "../Shared/noData.js";
7
- import v from "./createIban.js";
3
+ import { Box as t, Grid as a, Typography as h, IconButton as P, CircularProgress as D } from "@mui/material";
4
+ import { I as T } from "../../../Info-DOoRR7sR.js";
5
+ import { DIALOG_SUCCESS_ICON as b, FEATURE_EWALLET as p } from "../../../util/constants.js";
6
+ import { M as v } from "../../../tooltip-BW0UyWw7.js";
7
+ import L from "../Shared/noData.js";
8
+ import z from "./createIban.js";
8
9
  import { AuthInnerContainer as B } from "../Shared/Container/index.js";
9
- import L from "./ibanItem.js";
10
- import { B as t } from "../../../Box-B0YSYLco.js";
11
- import { G as a } from "../../../Grid-CFe3amXO.js";
12
- import { T as h } from "../../../Typography-pAaje37G.js";
13
- import { I as z } from "../../../IconButton-DHm-hucF.js";
14
- import { C as _ } from "../../../CircularProgress-xZA3lvba.js";
15
- const Q = ({
10
+ import _ from "./ibanItem.js";
11
+ const V = ({
16
12
  dispatch: u,
17
- openDialog: i,
13
+ openDialog: c,
18
14
  appKey: d,
19
15
  appKeyEur: f,
20
16
  paymentWidgetSrcUrl: y,
21
- iban: o,
22
- navigate: c,
17
+ iban: n,
18
+ navigate: i,
23
19
  AccountItem: x,
24
- createIbanRequest: C,
25
- tokenData: I
20
+ createIbanRequest: g,
21
+ tokenData: C
26
22
  }) => {
27
- const s = o.data, g = o.loader, E = w(""), [q, S] = A("");
23
+ const s = n.data, I = n.loader, E = w(""), [q, S] = A("");
28
24
  return N(() => {
29
- new URLSearchParams(window.location.search).get("paymentStatus") === "success" && i({
25
+ new URLSearchParams(window.location.search).get("paymentStatus") === "success" && c({
30
26
  title: "Payment Success",
31
27
  message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
32
- icon: T,
28
+ icon: b,
33
29
  width: "575px",
34
30
  confirmButtonText: "Continue"
35
31
  });
@@ -38,35 +34,35 @@ const Q = ({
38
34
  /* @__PURE__ */ r(a, { size: 8, children: [
39
35
  /* @__PURE__ */ e(h, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "E-Wallet" }) }),
40
36
  /* @__PURE__ */ e(
41
- D,
37
+ v,
42
38
  {
43
39
  title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create an E-Wallet. This requires KYC" }),
44
40
  placement: "bottom",
45
- children: /* @__PURE__ */ e(z, { className: "info-fee-icon", children: /* @__PURE__ */ e(P, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
41
+ children: /* @__PURE__ */ e(P, { className: "info-fee-icon", children: /* @__PURE__ */ e(T, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
46
42
  }
47
43
  )
48
44
  ] }),
49
45
  /* @__PURE__ */ e(a, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
50
- v,
46
+ z,
51
47
  {
52
- openDialog: i,
53
- createIbanRequest: C,
54
- iban: o,
55
- navigate: c,
48
+ openDialog: c,
49
+ createIbanRequest: g,
50
+ iban: n,
51
+ navigate: i,
56
52
  currency: E,
57
53
  setIbanCurrency: S,
58
54
  from: p
59
55
  }
60
56
  ) }) })
61
57
  ] }),
62
- g ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(_, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(l, { children: [
63
- s.length > 0 ? /* @__PURE__ */ e(l, { children: s.map((n, m) => {
58
+ I ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(D, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(m, { children: [
59
+ s.length > 0 ? /* @__PURE__ */ e(m, { children: s.map((o, l) => {
64
60
  const W = {
65
- ...n,
66
- accountName: `E-Wallet - ${n.currency ?? ""}`
61
+ ...o,
62
+ accountName: `E-Wallet - ${o.currency ?? ""}`
67
63
  };
68
64
  return /* @__PURE__ */ e(
69
- L,
65
+ _,
70
66
  {
71
67
  data: W,
72
68
  AccountItem: x,
@@ -74,14 +70,14 @@ const Q = ({
74
70
  appKey: d,
75
71
  appKeyEur: f,
76
72
  paymentWidgetSrcUrl: y,
77
- iban: o,
78
- navigate: c,
73
+ iban: n,
74
+ navigate: i,
79
75
  from: p,
80
- tokenData: I
76
+ tokenData: C
81
77
  },
82
- m
78
+ l
83
79
  );
84
- }) }) : /* @__PURE__ */ e(b, { text: "You currently have no E-Wallets" }),
80
+ }) }) : /* @__PURE__ */ e(L, { text: "You currently have no E-Wallets" }),
85
81
  /* @__PURE__ */ e(t, { mt: 3, textAlign: "center", children: /* @__PURE__ */ r(h, { variant: "caption", color: "secondary", children: [
86
82
  "Powered by",
87
83
  " ",
@@ -100,5 +96,5 @@ const Q = ({
100
96
  ] }) });
101
97
  };
102
98
  export {
103
- Q as default
99
+ V as default
104
100
  };