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,82 +1,78 @@
1
- import { jsx as r, jsxs as o, Fragment as l } from "react/jsx-runtime";
2
- import { useRef as g, useState as B, useEffect as N } from "react";
3
- import { I as T } from "../../../Info-BVeUSPyk.js";
4
- import { DIALOG_SUCCESS_ICON as w, FEATURE_VIRTUAL_IBAN as p } from "../../../util/constants.js";
5
- import { M as b } from "../../../tooltip-3UvETWtS.js";
6
- import D from "../Shared/noData.js";
7
- import E from "./createIban.js";
8
- import { AuthInnerContainer as P } from "../Shared/Container/index.js";
9
- import v from "./ibanItem.js";
10
- import { B as t } from "../../../Box-B0YSYLco.js";
11
- import { G as n } from "../../../Grid-CFe3amXO.js";
12
- import { T as z } from "../../../Typography-pAaje37G.js";
13
- import { I as L } from "../../../IconButton-DHm-hucF.js";
14
- import { C as R } from "../../../CircularProgress-xZA3lvba.js";
15
- const Q = ({
16
- dispatch: u,
1
+ import { jsx as e, jsxs as n, Fragment as l } from "react/jsx-runtime";
2
+ import { useRef as g, useState as N, useEffect as B } from "react";
3
+ import { Box as t, Grid as o, Typography as w, IconButton as T, CircularProgress as b } from "@mui/material";
4
+ import { I as D } from "../../../Info-DOoRR7sR.js";
5
+ import { DIALOG_SUCCESS_ICON as E, FEATURE_VIRTUAL_IBAN as u } from "../../../util/constants.js";
6
+ import { M as P } from "../../../tooltip-BW0UyWw7.js";
7
+ import v from "../Shared/noData.js";
8
+ import z from "./createIban.js";
9
+ import { AuthInnerContainer as L } from "../Shared/Container/index.js";
10
+ import R from "./ibanItem.js";
11
+ const W = ({
12
+ dispatch: p,
17
13
  openDialog: a,
18
- appKey: f,
19
- appKeyEur: h,
20
- paymentWidgetSrcUrl: d,
21
- iban: e,
22
- navigate: i,
23
- AccountItem: I,
24
- createIbanRequest: y,
14
+ appKey: h,
15
+ appKeyEur: d,
16
+ paymentWidgetSrcUrl: f,
17
+ iban: r,
18
+ navigate: c,
19
+ AccountItem: y,
20
+ createIbanRequest: I,
25
21
  tokenData: x
26
22
  }) => {
27
- const c = e.data, C = e.loader, A = g(""), [U, S] = B("");
28
- return N(() => {
23
+ const i = r.data, A = r.loader, C = g(""), [U, S] = N("");
24
+ return B(() => {
29
25
  new URLSearchParams(window.location.search).get("paymentStatus") === "success" && a({
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: w,
28
+ icon: E,
33
29
  width: "575px",
34
30
  confirmButtonText: "Continue"
35
31
  });
36
- }, []), /* @__PURE__ */ r(P, { children: /* @__PURE__ */ o(t, { p: 3, children: [
37
- /* @__PURE__ */ o(n, { spacing: 2, container: !0, alignItems: "center", children: [
38
- /* @__PURE__ */ o(n, { size: 8, children: [
39
- /* @__PURE__ */ r(z, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ r("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
40
- /* @__PURE__ */ r(
41
- b,
32
+ }, []), /* @__PURE__ */ e(L, { children: /* @__PURE__ */ n(t, { p: 3, children: [
33
+ /* @__PURE__ */ n(o, { spacing: 2, container: !0, alignItems: "center", children: [
34
+ /* @__PURE__ */ n(o, { size: 8, children: [
35
+ /* @__PURE__ */ e(w, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
36
+ /* @__PURE__ */ e(
37
+ P,
42
38
  {
43
- title: /* @__PURE__ */ r(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
39
+ title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
44
40
  placement: "bottom",
45
- children: /* @__PURE__ */ r(L, { className: "info-fee-icon", children: /* @__PURE__ */ r(T, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
41
+ children: /* @__PURE__ */ e(T, { className: "info-fee-icon", children: /* @__PURE__ */ e(D, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
46
42
  }
47
43
  )
48
44
  ] }),
49
- /* @__PURE__ */ r(n, { size: 4, children: /* @__PURE__ */ r(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ r(
50
- E,
45
+ /* @__PURE__ */ e(o, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
46
+ z,
51
47
  {
52
48
  openDialog: a,
53
- createIbanRequest: y,
54
- iban: e,
55
- navigate: i,
56
- currency: A,
49
+ createIbanRequest: I,
50
+ iban: r,
51
+ navigate: c,
52
+ currency: C,
57
53
  setIbanCurrency: S,
58
- from: p
54
+ from: u
59
55
  }
60
56
  ) }) })
61
57
  ] }),
62
- C ? /* @__PURE__ */ r(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ r(R, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(l, { children: c.length > 0 ? /* @__PURE__ */ r(l, { children: c.map((s, m) => /* @__PURE__ */ r(
63
- v,
58
+ A ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(b, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(l, { children: i.length > 0 ? /* @__PURE__ */ e(l, { children: i.map((s, m) => /* @__PURE__ */ e(
59
+ R,
64
60
  {
65
61
  data: s,
66
- AccountItem: I,
67
- dispatch: u,
68
- appKey: f,
69
- appKeyEur: h,
70
- paymentWidgetSrcUrl: d,
71
- iban: e,
72
- navigate: i,
73
- from: p,
62
+ AccountItem: y,
63
+ dispatch: p,
64
+ appKey: h,
65
+ appKeyEur: d,
66
+ paymentWidgetSrcUrl: f,
67
+ iban: r,
68
+ navigate: c,
69
+ from: u,
74
70
  tokenData: x
75
71
  },
76
72
  m
77
- )) }) : /* @__PURE__ */ r(D, { text: "You currently have no IBAN Accounts" }) })
73
+ )) }) : /* @__PURE__ */ e(v, { text: "You currently have no IBAN Accounts" }) })
78
74
  ] }) });
79
75
  };
80
76
  export {
81
- Q as default
77
+ W as default
82
78
  };
@@ -1,75 +1,69 @@
1
1
  import { jsx as e, Fragment as I, jsxs as n } from "react/jsx-runtime";
2
2
  import { useState as u, useMemo as f, useEffect as k } from "react";
3
- import "../../../constants-DREDnCMu.js";
4
- import { v as ye } from "../../../order-DGBbo_Ox.js";
3
+ import { Grid as N, Dialog as Y, DialogTitle as q, Typography as a, IconButton as z, DialogContent as J, Box as M, CircularProgress as K } from "@mui/material";
4
+ import "../../../constants-DrmtdI1J.js";
5
+ import { v as ye } from "../../../order-DEp_Lmar.js";
5
6
  import U from "../Shared/appButton.js";
6
- import { C as be } from "../../../ContentCopy-coPwrEuz.js";
7
- import { C as Y } from "../../../Close-CNwiMz_O.js";
8
- import q from "../../Shared/transition.js";
7
+ import { C as be } from "../../../ContentCopy-D0C0zbQj.js";
8
+ import { C as Q } from "../../../Close-DSxLLo08.js";
9
+ import X from "../../Shared/transition.js";
9
10
  import "../../../index-DlQqWbXG.js";
10
11
  import "../../../hoc/withThemeProvider.js";
11
- import { u as J } from "../../../react-redux-C7I9-1M6.js";
12
- import { GBP_ISO3 as K, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
13
- import "../Shared/Auth/otpForm.js";
12
+ import { u as Z } from "../../../react-redux-C7I9-1M6.js";
13
+ import { GBP_ISO3 as D, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
14
+ import "../../../otpForm-fiNqeB5H.js";
14
15
  import { useSnackBarContext as ee } from "../../../context/snackBarContext.js";
15
16
  import "../../../util/conversions.js";
16
17
  import "../../../index-CAoLi5Qq.js";
17
- import Te from "../Shared/inputField.js";
18
+ import Ne from "../Shared/inputField.js";
18
19
  import "../../../react-webcam-B3cXh1XT.js";
19
- import "../../../tooltip-3UvETWtS.js";
20
- import "../Shared/pin.js";
20
+ import "../../../tooltip-BW0UyWw7.js";
21
21
  import "../../../moment-h96o7c8I.js";
22
22
  import "../../../index.esm-BsMAMhYW.js";
23
23
  import "../../../web3-u4qDZYpo.js";
24
24
  import "../../../index-ceeCtFuh.js";
25
- import Ne from "../Shared/CardCorp/index.js";
25
+ import Te from "../Shared/CardCorp/index.js";
26
26
  import "../../../index.esm-I_Bp2YLf.js";
27
27
  import "../../../context/dialogContext.js";
28
+ import "@mui/icons-material";
28
29
  import xe from "./sendIban.js";
29
- import { G as T } from "../../../Grid-CFe3amXO.js";
30
- import { D as Q, a as X } from "../../../DialogContent-BMwlOnbW.js";
31
- import { D as Z } from "../../../DialogTitle-CfS0bb2K.js";
32
- import { T as a } from "../../../Typography-pAaje37G.js";
33
- import { I as z } from "../../../IconButton-DHm-hucF.js";
34
- import { B as M } from "../../../Box-B0YSYLco.js";
35
- import { C as D } from "../../../CircularProgress-xZA3lvba.js";
36
30
  const i = ({
37
- label: N,
31
+ label: T,
38
32
  value: r,
39
33
  showCopyBtn: x
40
34
  }) => {
41
- const { showAlertMessage: B } = ee();
35
+ const { showAlertMessage: w } = ee();
42
36
  return /* @__PURE__ */ n(I, { children: [
43
- /* @__PURE__ */ e(T, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: N }) }),
44
- /* @__PURE__ */ n(T, { size: 7, className: "fw500 text-left d-flex items-center", children: [
37
+ /* @__PURE__ */ e(N, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: T }) }),
38
+ /* @__PURE__ */ n(N, { size: 7, className: "fw500 text-left d-flex items-center", children: [
45
39
  r,
46
40
  x && /* @__PURE__ */ e(z, { onClick: () => {
47
- navigator.clipboard.writeText(r), B({
48
- message: `${N} has been copied successfully.`,
41
+ navigator.clipboard.writeText(r), w({
42
+ message: `${T} has been copied successfully.`,
49
43
  type: "success"
50
44
  });
51
45
  }, children: /* @__PURE__ */ e(be, { fontSize: "small", color: "primary" }) })
52
46
  ] })
53
47
  ] });
54
- }, sr = ({
55
- AccountItem: N,
48
+ }, rr = ({
49
+ AccountItem: T,
56
50
  data: r,
57
51
  appKey: x,
58
- appKeyEur: B,
52
+ appKeyEur: w,
59
53
  paymentWidgetSrcUrl: m,
60
54
  dispatch: L,
61
55
  iban: re,
62
- navigate: Be,
56
+ navigate: we,
63
57
  from: ne,
64
58
  tokenData: l
65
59
  }) => {
66
60
  var $;
67
- const [oe, R] = u(!1), [te, le] = u(!1), [h, O] = u(!1), [P, w] = u(""), [A, y] = u(null), [_, b] = u(null), [p, s] = u(!1), { showAlertMessage: g } = ee(), c = ne === ge, C = J(
61
+ const [oe, R] = u(!1), [te, le] = u(!1), [h, O] = u(!1), [P, A] = u(""), [B, y] = u(null), [_, b] = u(null), [d, s] = u(!1), { showAlertMessage: g } = ee(), c = ne === ge, C = Z(
68
62
  (o) => o.order
69
- ), E = C.v4Payment ?? null, v = C.v4PaymentLoader ?? !1, ie = J((o) => o.session.uuid), se = (l == null ? void 0 : l.loader) ?? !1, ce = () => {
70
- w(""), y(null), b(null), s(!1), O(!0);
63
+ ), E = C.v4Payment ?? null, v = C.v4PaymentLoader ?? !1, ie = Z((o) => o.session.uuid), se = (l == null ? void 0 : l.loader) ?? !1, ce = () => {
64
+ A(""), y(null), b(null), s(!1), O(!0);
71
65
  }, W = () => {
72
- O(!1), w(""), y(null), b(null), s(!1);
66
+ O(!1), A(""), y(null), b(null), s(!1);
73
67
  }, ue = () => {
74
68
  const o = Number(P);
75
69
  if (!P || Number.isNaN(o) || o <= 0) {
@@ -86,20 +80,20 @@ const i = ({
86
80
  });
87
81
  return;
88
82
  }
89
- if (!B) {
83
+ if (!w) {
90
84
  g({
91
85
  message: "Unable to identify application EUR key.",
92
86
  type: "error"
93
87
  });
94
88
  return;
95
89
  }
96
- const G = Math.round(o * 100);
90
+ const H = Math.round(o * 100);
97
91
  L(
98
92
  ye({
99
- apiKey: B,
93
+ apiKey: w,
100
94
  ccy: "EUR",
101
95
  transaction_type: "CHECKOUT",
102
- amount: G,
96
+ amount: H,
103
97
  uuid: ie ?? void 0
104
98
  })
105
99
  ), s(!0);
@@ -109,41 +103,41 @@ const i = ({
109
103
  return;
110
104
  }
111
105
  R(!0);
112
- }, t = f(() => E ?? null, [E]), d = f(() => {
106
+ }, t = f(() => E ?? null, [E]), p = f(() => {
113
107
  var o;
114
108
  return t ? (t == null ? void 0 : t.checkout_id) ?? ((o = t == null ? void 0 : t.order) == null ? void 0 : o.provider_token) ?? (t == null ? void 0 : t.provider_token) ?? null : null;
115
109
  }, [t]), S = (($ = t == null ? void 0 : t.order) == null ? void 0 : $.order_id) ?? null, me = f(() => m ? m.endsWith("/") ? m : `${m}/` : "", [m]), F = f(() => {
116
110
  const o = (l == null ? void 0 : l.list) ?? [];
117
111
  if (!o.length) return null;
118
- const H = {
112
+ const j = {
119
113
  [Ce]: ve,
120
- [K]: Ie
114
+ [D]: Ie
121
115
  }[(r.currency ?? "").toUpperCase()] ?? null;
122
- if (!H) return null;
123
- const j = o.find((he) => he.symbol === H);
124
116
  if (!j) return null;
117
+ const G = o.find((he) => he.symbol === j);
118
+ if (!G) return null;
125
119
  const V = parseFloat(
126
- (j.fmt_balance ?? "0").toString().replaceAll(",", "")
120
+ (G.fmt_balance ?? "0").toString().replaceAll(",", "")
127
121
  );
128
122
  return Number.isNaN(V) ? null : V / 100;
129
- }, [l == null ? void 0 : l.list, r.currency]), pe = f(() => F == null ? "--" : `${F.toLocaleString(void 0, {
123
+ }, [l == null ? void 0 : l.list, r.currency]), de = f(() => F == null ? "--" : `${F.toLocaleString(void 0, {
130
124
  minimumFractionDigits: 2,
131
125
  maximumFractionDigits: 2
132
- })} ${r.currency ?? ""}`, [F, r.currency]), de = f(() => _ ? `/?paymentId=${encodeURIComponent(_)}` : "/", [_]);
126
+ })} ${r.currency ?? ""}`, [F, r.currency]), pe = f(() => _ ? `/?paymentId=${encodeURIComponent(_)}` : "/", [_]);
133
127
  k(() => {
134
- p && d && (y(d), b(S ?? null), s(!1));
135
- }, [p, d, S]), k(() => {
136
- p && h && (!d || A || (y(d), b(S ?? null), s(!1)));
128
+ d && p && (y(p), b(S ?? null), s(!1));
129
+ }, [d, p, S]), k(() => {
130
+ d && h && (!p || B || (y(p), b(S ?? null), s(!1)));
137
131
  }, [
138
- p,
139
- h,
140
132
  d,
141
- A,
133
+ h,
134
+ p,
135
+ B,
142
136
  S
143
137
  ]), k(() => {
144
- c && (h || (w(""), y(null), b(null)));
138
+ c && (h || (A(""), y(null), b(null)));
145
139
  }, [c, h]), k(() => {
146
- if (p && !v) {
140
+ if (d && !v) {
147
141
  if (E) {
148
142
  s(!1);
149
143
  return;
@@ -154,7 +148,7 @@ const i = ({
154
148
  }), s(!1));
155
149
  }
156
150
  }, [
157
- p,
151
+ d,
158
152
  v,
159
153
  E,
160
154
  C.error,
@@ -162,7 +156,7 @@ const i = ({
162
156
  ]);
163
157
  const fe = /* @__PURE__ */ n(M, { display: "flex", alignItems: "center", gap: 0.75, children: [
164
158
  /* @__PURE__ */ e(a, { component: "span", sx: { fontSize: 14, color: "text.secondary" }, children: "Balance:" }),
165
- se ? /* @__PURE__ */ e(D, { size: 16, color: "inherit" }) : /* @__PURE__ */ e(
159
+ se ? /* @__PURE__ */ e(K, { size: 16, color: "inherit" }) : /* @__PURE__ */ e(
166
160
  a,
167
161
  {
168
162
  component: "span",
@@ -171,22 +165,22 @@ const i = ({
171
165
  fontWeight: 700,
172
166
  color: "primary.main"
173
167
  },
174
- children: pe
168
+ children: de
175
169
  }
176
170
  )
177
171
  ] });
178
172
  return /* @__PURE__ */ e(I, { children: r.accountNumber ? /* @__PURE__ */ n(I, { children: [
179
- /* @__PURE__ */ e(N, { type: "iban", data: r, rightAdornment: fe, children: /* @__PURE__ */ e(T, { my: 1, spacing: 2, container: !0, alignItems: "center", children: /* @__PURE__ */ e(T, { size: { xs: 12 }, children: /* @__PURE__ */ e(U, { fullWidth: !0, onClick: ae, children: c ? "Topup" : "Deposit" }) }) }) }),
173
+ /* @__PURE__ */ e(T, { type: "iban", data: r, rightAdornment: fe, children: /* @__PURE__ */ e(N, { my: 1, spacing: 2, container: !0, alignItems: "center", children: /* @__PURE__ */ e(N, { size: { xs: 12 }, children: /* @__PURE__ */ e(U, { fullWidth: !0, onClick: ae, children: c ? "Topup" : "Deposit" }) }) }) }),
180
174
  /* @__PURE__ */ n(
181
- Q,
175
+ Y,
182
176
  {
183
177
  open: oe,
184
178
  fullWidth: !0,
185
179
  onClose: () => R(!1),
186
- TransitionComponent: q,
180
+ TransitionComponent: X,
187
181
  maxWidth: "md",
188
182
  children: [
189
- /* @__PURE__ */ n(Z, { className: "buy-modal-text-color", children: [
183
+ /* @__PURE__ */ n(q, { className: "buy-modal-text-color", children: [
190
184
  /* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
191
185
  /* @__PURE__ */ e(
192
186
  z,
@@ -194,13 +188,13 @@ const i = ({
194
188
  "aria-label": "close",
195
189
  onClick: () => R(!1),
196
190
  className: "menu-buttons",
197
- children: /* @__PURE__ */ e(Y, {})
191
+ children: /* @__PURE__ */ e(Q, {})
198
192
  }
199
193
  )
200
194
  ] }),
201
- /* @__PURE__ */ n(X, { dividers: !0, children: [
195
+ /* @__PURE__ */ n(J, { dividers: !0, children: [
202
196
  /* @__PURE__ */ e(a, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
203
- /* @__PURE__ */ n(T, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
197
+ /* @__PURE__ */ n(N, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
204
198
  /* @__PURE__ */ e(
205
199
  i,
206
200
  {
@@ -232,7 +226,7 @@ const i = ({
232
226
  showCopyBtn: !0
233
227
  }
234
228
  ),
235
- r.currency === K && /* @__PURE__ */ n(I, { children: [
229
+ r.currency === D && /* @__PURE__ */ n(I, { children: [
236
230
  /* @__PURE__ */ e(
237
231
  i,
238
232
  {
@@ -264,15 +258,15 @@ const i = ({
264
258
  }
265
259
  ),
266
260
  c && /* @__PURE__ */ n(
267
- Q,
261
+ Y,
268
262
  {
269
263
  open: h,
270
264
  fullWidth: !0,
271
265
  maxWidth: "sm",
272
266
  onClose: W,
273
- TransitionComponent: q,
267
+ TransitionComponent: X,
274
268
  children: [
275
- /* @__PURE__ */ n(Z, { className: "buy-modal-text-color", children: [
269
+ /* @__PURE__ */ n(q, { className: "buy-modal-text-color", children: [
276
270
  /* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "E-Wallet Topup" }) }),
277
271
  /* @__PURE__ */ e(
278
272
  z,
@@ -280,29 +274,29 @@ const i = ({
280
274
  "aria-label": "close",
281
275
  onClick: W,
282
276
  className: "menu-buttons",
283
- children: /* @__PURE__ */ e(Y, {})
277
+ children: /* @__PURE__ */ e(Q, {})
284
278
  }
285
279
  )
286
280
  ] }),
287
- /* @__PURE__ */ e(X, { dividers: !0, children: A ? /* @__PURE__ */ n(M, { mt: 2, children: [
281
+ /* @__PURE__ */ e(J, { dividers: !0, children: B ? /* @__PURE__ */ n(M, { mt: 2, children: [
288
282
  /* @__PURE__ */ e(a, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
289
283
  /* @__PURE__ */ e(
290
- Ne,
284
+ Te,
291
285
  {
292
- checkoutId: A,
286
+ checkoutId: B,
293
287
  srcUrl: me,
294
- onResultUrl: de
288
+ onResultUrl: pe
295
289
  }
296
290
  )
297
291
  ] }) : /* @__PURE__ */ n(I, { children: [
298
292
  /* @__PURE__ */ e(a, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
299
293
  /* @__PURE__ */ e(
300
- Te,
294
+ Ne,
301
295
  {
302
296
  label: "Topup Amount",
303
297
  type: "number",
304
298
  value: P,
305
- onChangeHandler: (o) => w(o),
299
+ onChangeHandler: (o) => A(o),
306
300
  inputProps: { min: "0", step: "0.01" }
307
301
  }
308
302
  ),
@@ -330,7 +324,7 @@ const i = ({
330
324
  disabled: v,
331
325
  children: /* @__PURE__ */ n("strong", { children: [
332
326
  v ? /* @__PURE__ */ e(
333
- D,
327
+ K,
334
328
  {
335
329
  size: 18,
336
330
  color: "inherit",
@@ -386,5 +380,5 @@ const i = ({
386
380
  ) });
387
381
  };
388
382
  export {
389
- sr as default
383
+ rr as default
390
384
  };