everest-npm-features 0.0.61 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  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 +14 -13
  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 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  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.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,30 +1,31 @@
1
- import { jsxs as n, Fragment as Y, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as n, Fragment as Z, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as W, useEffect as c } from "react";
3
- import { u as f } from "../../../react-redux-C7I9-1M6.js";
4
- import "../../../constants-DrmtdI1J.js";
5
- import { u as me, c as de, d as ue } from "../../../index-BQNs1mvn.js";
6
- import { u as pe, a as fe, b as he, c as ge, d as be, e as _e, g as xe } from "../../../wallet-CauUBXou.js";
7
- import { u as Ne, c as We, d as Ce, e as we } from "../../../bank-C4pmTe--.js";
8
- import { LINKED_WALLET_TOOLTIP as ke, CONNECTED_WALLET_TOOLTIP as Ie, WALLET_ICON as ve, DELETE_ICON as De } from "../../../util/constants.js";
9
- import { M as Z } from "../../../tooltip-3UvETWtS.js";
10
- import { I as U } from "../../../Info-BVeUSPyk.js";
11
- import { C as ye } from "../../../Cancel-4lT7GZUA.js";
12
- import { D as Ae } from "../../../Delete-jpMstGIF.js";
13
- import { C as Te } from "../../../Close-CNwiMz_O.js";
14
- import Le from "../../Shared/transition.js";
15
- import ee from "../Shared/inputField.js";
16
- import Be from "../Shared/addBank.js";
17
- import Se from "../Shared/connectPlaidBank.js";
18
- import Re from "../Shared/ConnectWallet/index.js";
19
- import qe from "./iban.js";
20
- import Ee from "./eWallet.js";
21
- import { useSnackBarContext as ze } from "../../../context/snackBarContext.js";
22
- import te from "../Shared/appButton.js";
23
- import { AuthInnerContainer as R } from "../Shared/Container/index.js";
3
+ import { u as h } from "../../../react-redux-C7I9-1M6.js";
4
+ import "../../../constants-DX0YBtP2.js";
5
+ import { u as de, c as ue, d as pe } from "../../../index-BQNs1mvn.js";
6
+ import { u as he, a as fe, b as ge, c as be, d as _e, e as xe, g as Ne } from "../../../wallet-BPXOp8UG.js";
7
+ import { u as We, c as Ce, d as we, e as ke } from "../../../bank-HVb0GFsa.js";
8
+ import { Box as r, Grid as m, Typography as l, IconButton as C, CircularProgress as w, Button as ve, Stack as Ie, Dialog as De, DialogTitle as ye, DialogContent as Ae } from "@mui/material";
9
+ import { LINKED_WALLET_TOOLTIP as Te, CONNECTED_WALLET_TOOLTIP as Le, BRAND_VORTEX_ID as Be, WALLET_ICON as Re, DELETE_ICON as Se } from "../../../util/constants.js";
10
+ import { M as U } from "../../../tooltip-BW0UyWw7.js";
11
+ import { I as ee } from "../../../Info-DOoRR7sR.js";
12
+ import { C as Ee } from "../../../Cancel-pHQsCjtK.js";
13
+ import { D as qe } from "../../../Delete-Bj8zmXnh.js";
14
+ import { C as ze } from "../../../Close-DSxLLo08.js";
15
+ import Pe from "../../Shared/transition.js";
16
+ import te from "../Shared/inputField.js";
17
+ import Oe from "../Shared/addBank.js";
18
+ import $e from "../Shared/connectPlaidBank.js";
19
+ import Me from "../Shared/ConnectWallet/index.js";
20
+ import He from "./iban.js";
21
+ import je from "./eWallet.js";
22
+ import { useSnackBarContext as Fe } from "../../../context/snackBarContext.js";
23
+ import ne from "../Shared/appButton.js";
24
+ import { AuthInnerContainer as S } from "../Shared/Container/index.js";
24
25
  import "../../../index-DlQqWbXG.js";
25
- import Pe from "../../../hoc/withThemeProvider.js";
26
- import "../Shared/Auth/otpForm.js";
27
- import Oe from "../../../hooks/useEverestDispatch.js";
26
+ import Ge from "../../../hoc/withThemeProvider.js";
27
+ import "../../../otpForm-DeeegaX2.js";
28
+ import Ke from "../../../hooks/useEverestDispatch.js";
28
29
  import "../../../util/conversions.js";
29
30
  import "../../../index-CAoLi5Qq.js";
30
31
  import "../../../react-webcam-B3cXh1XT.js";
@@ -32,18 +33,10 @@ import "../../../moment-h96o7c8I.js";
32
33
  import "../../../index.esm-BsMAMhYW.js";
33
34
  import "../../../index-ceeCtFuh.js";
34
35
  import "../../../index.esm-I_Bp2YLf.js";
35
- import { useDialogContext as $e } from "../../../context/dialogContext.js";
36
- import { B as r } from "../../../Box-B0YSYLco.js";
37
- import { G as m } from "../../../Grid-CFe3amXO.js";
38
- import { T as l } from "../../../Typography-pAaje37G.js";
39
- import { I as C } from "../../../IconButton-DHm-hucF.js";
40
- import { C as w } from "../../../CircularProgress-xZA3lvba.js";
41
- import { B as Me } from "../../../Button-Df4vgU24.js";
42
- import { S as He } from "../../../Stack-k55YTxET.js";
43
- import { D as je, a as Fe } from "../../../DialogContent-BMwlOnbW.js";
44
- import { D as Ge } from "../../../DialogTitle-CfS0bb2K.js";
45
- import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_heading_arwo8_27", a = {
46
- container: Ke,
36
+ import { useDialogContext as Ve } from "../../../context/dialogContext.js";
37
+ import "@mui/icons-material";
38
+ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_heading_arwo8_27", a = {
39
+ container: Xe,
47
40
  "inner-container": "_inner-container_arwo8_13",
48
41
  heading: Je,
49
42
  "account-item": "_account-item_arwo8_41",
@@ -55,58 +48,59 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
55
48
  "delete-disable": "_delete-disable_arwo8_121",
56
49
  "confirm-edit": "_confirm-edit_arwo8_137"
57
50
  }, Qe = ({
58
- baseUrl: q,
59
- checkoutSdkKey: E,
51
+ baseUrl: E,
52
+ checkoutSdkKey: q,
60
53
  appKey: z,
61
54
  appKeyEur: P,
62
55
  paymentWidgetSrcUrl: O,
63
- navigate: $
56
+ navigate: $,
57
+ brandId: M
64
58
  }) => {
65
- const o = Oe(), { showAlertMessage: i } = ze(), { openDialog: k } = $e(), I = f((t) => t.app.features), h = f(me), ne = h.loader, u = h.message, M = h.banks, H = h.iban, [j, F] = W(!1), [oe, g] = W(!1), [v, ae] = W(""), [D, se] = W(""), G = f(de), K = G.data, { error: y, message: A, loader: T } = G, J = f((t) => t.user.profile), Q = J.tokens, L = J.everWalletAddress, V = f(ue), b = V.data, {
59
+ const o = Ke(), { showAlertMessage: i } = Fe(), { openDialog: k } = Ve(), v = h((t) => t.app.features), f = h(de), oe = f.loader, u = f.message, H = f.banks, j = f.iban, [F, G] = W(!1), [ae, g] = W(!1), [I, se] = W(""), [D, re] = W(""), K = h(ue), V = K.data, { error: y, message: A, loader: T } = K, X = h((t) => t.user.profile), J = X.tokens, L = X.everWalletAddress, Q = h(pe), b = Q.data, {
66
60
  error: B,
67
- message: S,
68
- loader: re
69
- } = V;
61
+ message: R,
62
+ loader: ie
63
+ } = Q;
70
64
  c(() => {
71
65
  if (u) {
72
- F(!1);
66
+ G(!1);
73
67
  const t = typeof u == "string" ? u : String(u);
74
68
  (t.includes("created") || t.includes("successfully") || t.includes("Account")) && i({ message: t, type: "success" });
75
69
  }
76
70
  }, [u]), c(() => {
77
71
  B && i({ message: B });
78
72
  }, [B]), c(() => {
79
- S && i({ message: S, type: "success" });
80
- }, [S]), c(() => {
73
+ R && i({ message: R, type: "success" });
74
+ }, [R]), c(() => {
81
75
  y && i({ message: y });
82
76
  }, [y]), c(() => {
83
77
  A && (g(!1), i({ message: A, type: "success" }));
84
- }, [A]), c(() => (K.length <= 0 && o(pe()), b.length <= 0 && o(fe()), o(Ne()), o(We()), () => {
85
- o(he("")), o(ge(""));
78
+ }, [A]), c(() => (V.length <= 0 && o(he()), b.length <= 0 && o(fe()), o(We()), o(Ce()), () => {
79
+ o(ge("")), o(be(""));
86
80
  }), []), c(() => {
87
- L && o(be(L));
81
+ L && o(_e(L));
88
82
  }, [L, o]);
89
- const ie = () => {
90
- if (!v)
83
+ const le = () => {
84
+ if (!I)
91
85
  return i({ message: "Please provide the wallet name" }), !1;
92
86
  if (!D)
93
87
  return i({
94
88
  message: "Please provide the wallet private key"
95
89
  }), !1;
96
90
  T || o(
97
- _e({
98
- name: v,
91
+ xe({
92
+ name: I,
99
93
  privatekey: Buffer.from(D).toString("base64")
100
94
  })
101
95
  );
102
- }, le = (t) => {
96
+ }, ce = (t) => {
103
97
  k({
104
- icon: De,
98
+ icon: Se,
105
99
  height: "450px",
106
100
  title: "Are you sure you want to delete?",
107
101
  message: "This action cannot be undone.",
108
102
  onConfirm: () => {
109
- o(we(t));
103
+ o(ke(t));
110
104
  },
111
105
  cancelButtonShow: !0
112
106
  });
@@ -118,16 +112,16 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
118
112
  }) => {
119
113
  let x, N;
120
114
  return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (x = t.name, N = t.address) : s === "iban" ? "accountName" in t && "accountNumber" in t && (x = t.accountName, N = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`) : "accountName" in t && "accountNumber" in t && (x = t.accountName, N = t.accountNumber), /* @__PURE__ */ n(r, { className: a["account-item"], children: [
121
- s === "bankAccount" && j && "id" in t && /* @__PURE__ */ e(
115
+ s === "bankAccount" && F && "id" in t && /* @__PURE__ */ e(
122
116
  C,
123
117
  {
124
118
  className: a["remove-icon"],
125
- onClick: () => le(t.id),
126
- children: /* @__PURE__ */ e(ye, {})
119
+ onClick: () => ce(t.id),
120
+ children: /* @__PURE__ */ e(Ee, {})
127
121
  }
128
122
  ),
129
123
  /* @__PURE__ */ n(m, { container: !0, width: "100%", alignItems: "center", spacing: 1, children: [
130
- /* @__PURE__ */ e(m, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: ve, alt: "Icon", height: 28, width: 28 }) }),
124
+ /* @__PURE__ */ e(m, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: Re, alt: "Icon", height: 28, width: 28 }) }),
131
125
  /* @__PURE__ */ n(m, { size: { xs: 7, md: 7 }, children: [
132
126
  /* @__PURE__ */ e(
133
127
  l,
@@ -159,7 +153,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
159
153
  ] }),
160
154
  _
161
155
  ] });
162
- }, ce = (t) => {
156
+ }, me = (t) => {
163
157
  const s = b.length;
164
158
  let _ = !1;
165
159
  for (let d = 0; d < s; d++)
@@ -169,14 +163,14 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
169
163
  }
170
164
  _ ? i({
171
165
  message: "This wallet address is already connected."
172
- }) : o(xe(t));
173
- }, X = (t) => {
174
- o(Ce({ currency: t }));
166
+ }) : o(Ne(t));
167
+ }, Y = (t) => {
168
+ o(we({ currency: t }));
175
169
  };
176
- return /* @__PURE__ */ n(Y, { children: [
170
+ return /* @__PURE__ */ n(Z, { children: [
177
171
  /* @__PURE__ */ e(r, { className: a.container, children: /* @__PURE__ */ n(m, { spacing: 2, container: !0, width: "100%", children: [
178
172
  /* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
179
- /* @__PURE__ */ n(R, { p: 3, children: [
173
+ /* @__PURE__ */ n(S, { p: 3, children: [
180
174
  /* @__PURE__ */ e(
181
175
  l,
182
176
  {
@@ -187,12 +181,12 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
187
181
  }
188
182
  ),
189
183
  /* @__PURE__ */ e(
190
- Z,
184
+ U,
191
185
  {
192
- title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: ke }),
186
+ title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Te }),
193
187
  placement: "bottom",
194
188
  children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
195
- U,
189
+ ee,
196
190
  {
197
191
  sx: {
198
192
  fontSize: "26px",
@@ -203,9 +197,9 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
203
197
  }
204
198
  ),
205
199
  T && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
206
- K.map((t, s) => /* @__PURE__ */ e(p, { type: "linkedWallet", data: t }, s)),
200
+ V.map((t, s) => /* @__PURE__ */ e(p, { type: "linkedWallet", data: t }, s)),
207
201
  /* @__PURE__ */ e(
208
- te,
202
+ ne,
209
203
  {
210
204
  sx: { mt: 4 },
211
205
  onClick: () => g(!0),
@@ -214,7 +208,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
214
208
  }
215
209
  )
216
210
  ] }),
217
- /* @__PURE__ */ n(R, { p: 3, mt: 2, children: [
211
+ /* @__PURE__ */ n(S, { p: 3, mt: 2, children: [
218
212
  /* @__PURE__ */ e(
219
213
  l,
220
214
  {
@@ -225,12 +219,12 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
225
219
  }
226
220
  ),
227
221
  /* @__PURE__ */ e(
228
- Z,
222
+ U,
229
223
  {
230
- title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Ie }),
224
+ title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Le }),
231
225
  placement: "bottom",
232
226
  children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
233
- U,
227
+ ee,
234
228
  {
235
229
  sx: {
236
230
  fontSize: "26px",
@@ -240,86 +234,87 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
240
234
  ) })
241
235
  }
242
236
  ),
243
- re && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
237
+ ie && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
244
238
  b.map((t, s) => /* @__PURE__ */ e(p, { type: "connectedWallet", data: t }, s)),
245
239
  /* @__PURE__ */ e(
246
- Re,
240
+ Me,
247
241
  {
248
- addressHandler: ce,
242
+ addressHandler: me,
249
243
  btnClass: "wallet-btn"
250
244
  }
251
245
  )
252
246
  ] })
253
247
  ] }),
254
248
  /* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
255
- I.eWallet && /* @__PURE__ */ e(r, { mb: 2, children: /* @__PURE__ */ e(
256
- Ee,
249
+ v.eWallet && M !== Be && /* @__PURE__ */ e(r, { mb: 2, children: /* @__PURE__ */ e(
250
+ je,
257
251
  {
258
252
  openDialog: k,
259
253
  dispatch: o,
260
- iban: H,
261
- baseUrl: q,
262
- checkoutSdkKey: E,
254
+ iban: j,
255
+ baseUrl: E,
256
+ checkoutSdkKey: q,
263
257
  appKey: z,
264
258
  appKeyEur: P,
265
259
  paymentWidgetSrcUrl: O,
266
260
  navigate: $,
267
261
  AccountItem: p,
268
- createIbanRequest: X,
269
- tokenData: Q
262
+ createIbanRequest: Y,
263
+ tokenData: J
270
264
  }
271
265
  ) }),
272
- I.iban && /* @__PURE__ */ e(
273
- qe,
266
+ v.iban && /* @__PURE__ */ e(
267
+ He,
274
268
  {
275
269
  openDialog: k,
276
270
  dispatch: o,
277
- iban: H,
278
- baseUrl: q,
279
- checkoutSdkKey: E,
271
+ iban: j,
272
+ baseUrl: E,
273
+ checkoutSdkKey: q,
280
274
  appKey: z,
281
275
  appKeyEur: P,
282
276
  paymentWidgetSrcUrl: O,
283
277
  navigate: $,
284
278
  AccountItem: p,
285
- createIbanRequest: X,
286
- tokenData: Q
279
+ createIbanRequest: Y,
280
+ tokenData: J,
281
+ brandId: M
287
282
  }
288
283
  ),
289
- /* @__PURE__ */ e(R, { mt: 2, children: /* @__PURE__ */ n(r, { p: 3, mt: I.iban ? 2 : 0, children: [
284
+ /* @__PURE__ */ e(S, { mt: 2, children: /* @__PURE__ */ n(r, { p: 3, mt: v.iban ? 2 : 0, children: [
290
285
  /* @__PURE__ */ e(l, { className: a.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
291
- M.length > 0 && /* @__PURE__ */ n(
292
- Me,
286
+ H.length > 0 && /* @__PURE__ */ n(
287
+ ve,
293
288
  {
294
- className: `${j ? a["delete-disable"] : a["confirm-edit"]} normal-text`,
289
+ className: `${F ? a["delete-disable"] : a["confirm-edit"]} normal-text`,
295
290
  sx: { mt: 3, mb: 3 },
296
291
  variant: "contained",
297
- onClick: () => F((t) => !t),
292
+ onClick: () => G((t) => !t),
298
293
  children: [
299
- /* @__PURE__ */ e(Ae, {}),
294
+ /* @__PURE__ */ e(qe, {}),
300
295
  "Delete"
301
296
  ]
302
297
  }
303
298
  ),
304
- ne && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
305
- M.map((t, s) => /* @__PURE__ */ e(p, { type: "bankAccount", data: t }, s)),
306
- /* @__PURE__ */ n(He, { mt: 4, gap: 1, children: [
307
- /* @__PURE__ */ e(Se, {}),
299
+ oe && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
300
+ H.map((t, s) => /* @__PURE__ */ e(p, { type: "bankAccount", data: t }, s)),
301
+ /* @__PURE__ */ n(Ie, { mt: 4, gap: 1, children: [
302
+ /* @__PURE__ */ e($e, {}),
308
303
  /* @__PURE__ */ e(l, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
309
- /* @__PURE__ */ e(Be, {})
304
+ /* @__PURE__ */ e(Oe, {})
310
305
  ] })
311
306
  ] }) })
312
307
  ] })
313
308
  ] }) }),
314
309
  /* @__PURE__ */ n(
315
- je,
310
+ De,
316
311
  {
317
312
  fullWidth: !0,
318
- open: oe,
313
+ open: ae,
319
314
  onClose: () => g(!1),
320
- TransitionComponent: Le,
315
+ TransitionComponent: Pe,
321
316
  children: [
322
- /* @__PURE__ */ n(Ge, { className: "buy-modal-text-color", children: [
317
+ /* @__PURE__ */ n(ye, { className: "buy-modal-text-color", children: [
323
318
  /* @__PURE__ */ e(l, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
324
319
  /* @__PURE__ */ e(
325
320
  C,
@@ -327,29 +322,29 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
327
322
  "aria-label": "close",
328
323
  onClick: () => g(!1),
329
324
  className: "menu-buttons",
330
- children: /* @__PURE__ */ e(Te, {})
325
+ children: /* @__PURE__ */ e(ze, {})
331
326
  }
332
327
  )
333
328
  ] }),
334
- /* @__PURE__ */ n(Fe, { dividers: !0, children: [
329
+ /* @__PURE__ */ n(Ae, { dividers: !0, children: [
335
330
  /* @__PURE__ */ e(l, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
336
331
  /* @__PURE__ */ e(
337
- ee,
332
+ te,
338
333
  {
339
334
  label: "Name",
340
- value: v,
341
- onChangeHandler: (t) => ae(t)
335
+ value: I,
336
+ onChangeHandler: (t) => se(t)
342
337
  }
343
338
  ),
344
339
  /* @__PURE__ */ e(
345
- ee,
340
+ te,
346
341
  {
347
342
  label: "Private Key",
348
343
  value: D,
349
- onChangeHandler: (t) => se(t)
344
+ onChangeHandler: (t) => re(t)
350
345
  }
351
346
  ),
352
- /* @__PURE__ */ e(te, { sx: { mt: 4 }, onClick: ie, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: T ? /* @__PURE__ */ n(Y, { children: [
347
+ /* @__PURE__ */ e(ne, { sx: { mt: 4 }, onClick: le, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: T ? /* @__PURE__ */ n(Z, { children: [
353
348
  /* @__PURE__ */ e(w, { size: 15, color: "inherit" }),
354
349
  " Processing..."
355
350
  ] }) : "Import Wallet" }) })
@@ -358,7 +353,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
358
353
  }
359
354
  )
360
355
  ] });
361
- }, Ot = Pe(Qe);
356
+ }, St = Ge(Qe);
362
357
  export {
363
- Ot as default
358
+ St as default
364
359
  };