everest-npm-features 0.0.26 → 0.0.28

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 (220) hide show
  1. package/dist/{Alert-CbQZ8Nii.js → Alert-CUoIVlUd.js} +8 -7
  2. package/dist/{ArrowBack-BoYSBb8u.js → ArrowBack-BV158RTp.js} +1 -1
  3. package/dist/Avatar-CwczQLPi.js +280 -0
  4. package/dist/{Backdrop-CJBRZv_z.js → Backdrop-yR8IRnFX.js} +1 -1
  5. package/dist/{Box-B12x52NC.js → Box-BwKpr_VI.js} +1 -1
  6. package/dist/{Button-C57IMamW.js → Button-tAfK4lud.js} +13 -12
  7. package/dist/{ButtonBase-DugIO1pR.js → ButtonBase-CaH152Zd.js} +1 -1
  8. package/dist/{Cancel-D1JNu4Hj.js → Cancel-BoEk0xRy.js} +1 -1
  9. package/dist/{CardContent-CbObWW6t.js → CardContent-ZS4vlcvi.js} +2 -2
  10. package/dist/{CircularProgress-t8uGhLMo.js → CircularProgress-Yx712vpT.js} +7 -6
  11. package/dist/{Close-jnEgOCZv.js → Close-B_8kEwSt.js} +1 -1
  12. package/dist/{Close-VV7zb3cu.js → Close-CFg1QB5M.js} +1 -1
  13. package/dist/{Container-B3Af6Sc3.js → Container-CBPBT38n.js} +2 -2
  14. package/dist/{ContentCopy-Ufwoeeov.js → ContentCopy-D4Eg7Nkm.js} +1 -1
  15. package/dist/DefaultPropsProvider-4P82EuVL.js +232 -0
  16. package/dist/{Delete-TCARcVtU.js → Delete-BGp4FPdE.js} +1 -1
  17. package/dist/{DialogContent-DzidtXui.js → DialogContent-_gvZOy18.js} +13 -12
  18. package/dist/{DialogTitle-Bg61Hr7M.js → DialogTitle-dq22bYlF.js} +3 -3
  19. package/dist/{Divider-Dy5hKfey.js → Divider-CIL55YSC.js} +10 -9
  20. package/dist/{ErrorOutline-CI_ys3Zo.js → ErrorOutline-BykbFh0r.js} +1 -1
  21. package/dist/{FileDownload-BcYF17B0.js → FileDownload-BSy7tA6m.js} +1 -1
  22. package/dist/{FilledInput-DrGeWgue.js → FilledInput-QaJVaeIX.js} +12 -14
  23. package/dist/{FormControl-DeeQCuu5.js → FormControl-H4D1Z6Ov.js} +1 -1
  24. package/dist/{FormControlLabel-DVnrJkC8.js → FormControlLabel-BvI1nkJ1.js} +7 -6
  25. package/dist/{Grid-BXyV_lM8.js → Grid-CPkjiKqX.js} +2 -2
  26. package/dist/{IconButton-eWRhV6Q9.js → IconButton-WneJM4uP.js} +10 -9
  27. package/dist/{Info-D2UkGxyK.js → Info-0vSsl6Bm.js} +1 -1
  28. package/dist/{InputAdornment-BKuUMfPj.js → InputAdornment-Bqn4-Kns.js} +6 -5
  29. package/dist/{Link-Cm4BkRHO.js → Link-DhdK4VfZ.js} +6 -5
  30. package/dist/{ListItemIcon-GKRFb1Gr.js → ListItemIcon-D657XWHf.js} +15 -14
  31. package/dist/Menu-BAFJBGa-.js +1238 -0
  32. package/dist/{MenuItem-CeCt0bfa.js → MenuItem-ByxiQtY2.js} +36 -35
  33. package/dist/{Modal-csf3Y8d2.js → Modal-DEfOsvWK.js} +16 -15
  34. package/dist/{Paper-CnStNE24.js → Paper-jx_cZiyU.js} +27 -26
  35. package/dist/{PlayArrow-DRCGjsrx.js → PlayArrow-BCWGWaUq.js} +1 -1
  36. package/dist/{Popper-pPBEFLi4.js → Popper-B1He9eVi.js} +1 -1
  37. package/dist/{RadioGroup-KiyYjXaT.js → RadioGroup-_-H2gvH2.js} +3 -3
  38. package/dist/Select-CGei0bav.js +1885 -0
  39. package/dist/{Stack-CcR5RCg8.js → Stack-DH-Nxf9q.js} +2 -2
  40. package/dist/{SwitchBase-CHO5ZceN.js → SwitchBase-BDUzpdBf.js} +2 -2
  41. package/dist/{TextField-q_SeLeNd.js → TextField-DmiK1A_S.js} +17 -16
  42. package/dist/{Typography-DBlMiOti.js → Typography-BQDN44CM.js} +16 -15
  43. package/dist/assets/documents.css +1 -1
  44. package/dist/assets/index10.css +1 -1
  45. package/dist/assets/index3.css +1 -1
  46. package/dist/assets/index4.css +1 -1
  47. package/dist/assets/styles2.css +1 -1
  48. package/dist/assets/styles3.css +1 -1
  49. package/dist/assets/tokenRow.css +1 -1
  50. package/dist/assets/withThemeProvider.css +1 -1
  51. package/dist/{auth-Bf9zHZ-x.js → auth-DoHhqFQx.js} +11 -11
  52. package/dist/{bank-BC4YNBRb.js → bank-DyVf4Uoo.js} +6 -6
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +13 -12
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +6 -6
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +16 -14
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +9 -9
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +9 -9
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +10 -10
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +5 -5
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +5 -5
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +15 -15
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +11 -11
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +10 -9
  91. package/dist/components/Shared/FullKyc/types.d.ts +1 -1
  92. package/dist/components/Shared/FullKyc/userInfo.js +15 -14
  93. package/dist/components/Shared/HistoryItem/index.js +64 -65
  94. package/dist/components/Shared/Incode/index.js +5 -5
  95. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  96. package/dist/components/Shared/loader.js +2 -2
  97. package/dist/components/Shared/tooltip.js +2 -2
  98. package/dist/components/Wallet/Account/createIban.js +76 -85
  99. package/dist/components/Wallet/Account/iban.d.ts +5 -1
  100. package/dist/components/Wallet/Account/iban.js +223 -25
  101. package/dist/components/Wallet/Account/index.js +144 -149
  102. package/dist/components/Wallet/Account/sendIban.js +25 -27
  103. package/dist/components/Wallet/Buy/confirmTransaction.js +8 -8
  104. package/dist/components/Wallet/Buy/form.js +21 -20
  105. package/dist/components/Wallet/Buy/index.js +6 -6
  106. package/dist/components/Wallet/Deposit/index.js +25 -24
  107. package/dist/components/Wallet/EnterpriseKyc/edd.js +23 -22
  108. package/dist/components/Wallet/EnterpriseKyc/index.js +83 -80
  109. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  110. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  111. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  112. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +26 -25
  114. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +30 -28
  115. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  116. package/dist/components/Wallet/EnterpriseKyc/verify.js +8 -7
  117. package/dist/components/Wallet/History/index.js +111 -112
  118. package/dist/components/Wallet/Home/index.d.ts +5 -0
  119. package/dist/components/Wallet/Home/index.js +20 -0
  120. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +18 -17
  121. package/dist/components/Wallet/Portfolio/dropdown.d.ts +14 -0
  122. package/dist/components/Wallet/Portfolio/dropdown.js +76 -0
  123. package/dist/components/Wallet/Portfolio/index.js +310 -301
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +5 -7
  125. package/dist/components/Wallet/Profile/documents.js +18 -18
  126. package/dist/components/Wallet/Profile/index.js +152 -419
  127. package/dist/components/Wallet/Receive/index.js +10 -10
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -8
  129. package/dist/components/Wallet/Sell/form.js +19 -19
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +20 -19
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +14 -13
  133. package/dist/components/Wallet/Shared/Auth/otpForm.d.ts +1 -1
  134. package/dist/components/Wallet/Shared/Auth/otpForm.js +98 -88
  135. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  136. package/dist/components/Wallet/Shared/ConnectWallet/index.js +10 -12
  137. package/dist/components/Wallet/Shared/Container/index.d.ts +8 -4
  138. package/dist/components/Wallet/Shared/Container/index.js +63 -26
  139. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  140. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  141. package/dist/components/Wallet/Shared/Order/paymentButton.d.ts +2 -0
  142. package/dist/components/Wallet/Shared/Order/paymentButton.js +47 -0
  143. package/dist/components/Wallet/Shared/Order/types.d.ts +2 -0
  144. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  145. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +13 -11
  146. package/dist/components/Wallet/Shared/addBank.js +44 -48
  147. package/dist/components/Wallet/Shared/appButton.d.ts +1 -1
  148. package/dist/components/Wallet/Shared/appButton.js +77 -57
  149. package/dist/components/Wallet/Shared/backBtn.js +2 -2
  150. package/dist/components/Wallet/Shared/button.js +1 -1
  151. package/dist/components/Wallet/Shared/connectPlaidBank.d.ts +5 -1
  152. package/dist/components/Wallet/Shared/connectPlaidBank.js +39 -38
  153. package/dist/components/Wallet/Shared/inputField.js +1 -1
  154. package/dist/components/Wallet/Shared/noData.js +7 -7
  155. package/dist/components/Wallet/Shared/pin.js +4 -4
  156. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  157. package/dist/components/Wallet/Shared/step.js +2 -2
  158. package/dist/components/Wallet/SignIn/index.js +7 -7
  159. package/dist/components/Wallet/SignUp/index.js +185 -58
  160. package/dist/components/Wallet/SignUp/terms.d.ts +1 -6
  161. package/dist/components/Wallet/SignUp/terms.js +517 -564
  162. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  163. package/dist/components/Wallet/Stake/id/index.js +12 -12
  164. package/dist/components/Wallet/Stake/index.js +30 -29
  165. package/dist/components/Wallet/Swap/index.js +112 -116
  166. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  167. package/dist/components/Wallet/Withdraw/bankSelect.js +12 -12
  168. package/dist/components/Wallet/Withdraw/confirmTransaction.js +9 -9
  169. package/dist/components/Wallet/Withdraw/form.js +19 -18
  170. package/dist/components/Wallet/Withdraw/index.js +5 -5
  171. package/dist/{constants-CsMPRK0U.js → constants-BF50a6s-.js} +30 -30
  172. package/dist/context/dialogContext.d.ts +6 -0
  173. package/dist/context/dialogContext.js +13 -0
  174. package/dist/{createSvgIcon-CH41ZVFw.js → createSvgIcon-BgBEJXMh.js} +15 -14
  175. package/dist/cryptoAssets-Dck03SPI.js +16 -0
  176. package/dist/{dividerClasses-DnbM--4s.js → dividerClasses-BVK5cNr7.js} +1 -1
  177. package/dist/documents-Sh6RH769.js +549 -0
  178. package/dist/{fiatAssets-DVHfFafS.js → fiatAssets-CTIJw9N4.js} +1 -1
  179. package/dist/hooks/useDialog/index.js +35 -38
  180. package/dist/hooks/useRrDialog/index.js +4 -4
  181. package/dist/hooks/useSnackBar.js +12 -11
  182. package/dist/index-BRwse7X5.js +631 -0
  183. package/dist/{index-DxX5Mo0o.js → index-CWzs4-wZ.js} +18 -18
  184. package/dist/{index-DZ__IpVI.js → index-CbogTdwW.js} +25 -24
  185. package/dist/{index-C9uGghB8.js → index-CmJNKC9m.js} +26 -26
  186. package/dist/{index-VE9lYjq3.js → index-Db73x3ti.js} +178 -177
  187. package/dist/{index-eEYiDlpX.js → index-GxLtFwhs.js} +228 -230
  188. package/dist/{index-f15o1nhn.js → index-v4KC1K_V.js} +2 -2
  189. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  190. package/dist/{kyc-BweeW6k9.js → kyc-kWxxF1vI.js} +1 -1
  191. package/dist/main.d.ts +7 -0
  192. package/dist/main.js +66 -59
  193. package/dist/memoTheme-BUUB1UEO.js +15 -0
  194. package/dist/{order-DmTHC7ZG.js → order-D-FBHreS.js} +1 -1
  195. package/dist/{pep-C5Ge-kU4.js → pep-C_LViPSb.js} +219 -218
  196. package/dist/{radioButton-Bgy7Kxxo.js → radioButton-CBcYX40o.js} +8 -7
  197. package/dist/{stake-B150utJI.js → stake-mS8fdG8g.js} +1 -1
  198. package/dist/styles.module-B-t8vvWh.js +31 -0
  199. package/dist/styles.module-verVx4pE.js +8 -0
  200. package/dist/tokenRow-DBnoUm0z.js +186 -0
  201. package/dist/{tooltip-DGtrVEzU.js → tooltip-Dv3Lfsa2.js} +5 -4
  202. package/dist/{useThemeProps-lRuJRcRX.js → useThemeProps-DLhzJP-y.js} +1 -1
  203. package/dist/util/constants.d.ts +9 -0
  204. package/dist/util/constants.js +93 -84
  205. package/dist/{wallet-DDW5KCHp.js → wallet-BTc5u8j2.js} +1 -1
  206. package/package.json +1 -1
  207. package/dist/ArrowDropDown-BC_iEASy.js +0 -8
  208. package/dist/ArrowRight-rYkfGJuF.js +0 -8
  209. package/dist/CheckCircle-CyxKX1TY.js +0 -8
  210. package/dist/DefaultPropsProvider-B2njZVNv.js +0 -242
  211. package/dist/Select-Chubcks_.js +0 -3108
  212. package/dist/assets/iban.css +0 -1
  213. package/dist/assets/index11.css +0 -1
  214. package/dist/cryptoAssets-CzNDY1j6.js +0 -16
  215. package/dist/documents-CEeV8SyW.js +0 -569
  216. package/dist/iban-DRT7i0vb.js +0 -275
  217. package/dist/index-BB3__zW3.js +0 -644
  218. package/dist/styles.module-BFHktEw2.js +0 -30
  219. package/dist/styles.module-DJk7Pf0F.js +0 -10
  220. package/dist/tokenRow-X6vlp1LH.js +0 -198
@@ -1,18 +1,18 @@
1
1
  import { jsxs as i, Fragment as z, jsx as e } from "react/jsx-runtime";
2
2
  import I from "../../Shared/noData.js";
3
- import { M as h } from "../../../../tooltip-DGtrVEzU.js";
4
- import { I as p } from "../../../../Info-D2UkGxyK.js";
3
+ import { M as h } from "../../../../tooltip-Dv3Lfsa2.js";
4
+ import { I as p } from "../../../../Info-0vSsl6Bm.js";
5
5
  import C from "../../../../hoc/withThemeProvider.js";
6
6
  import { s as r } from "../../../../styles.module-O5VVND5e.js";
7
- import { B as G } from "../../../../Backdrop-CJBRZv_z.js";
8
- import { C as f } from "../../../../CircularProgress-t8uGhLMo.js";
9
- import { G as t } from "../../../../Grid-BXyV_lM8.js";
10
- import { B as a } from "../../../../Box-B12x52NC.js";
11
- import { T as o } from "../../../../Typography-DBlMiOti.js";
12
- import { I as u } from "../../../../IconButton-eWRhV6Q9.js";
13
- import { B as s } from "../../../../Button-C57IMamW.js";
14
- import { F as M } from "../../../../FormControl-DeeQCuu5.js";
15
- import { T as y } from "../../../../TextField-q_SeLeNd.js";
7
+ import { B as G } from "../../../../Backdrop-yR8IRnFX.js";
8
+ import { C as f } from "../../../../CircularProgress-Yx712vpT.js";
9
+ import { G as t } from "../../../../Grid-CPkjiKqX.js";
10
+ import { B as a } from "../../../../Box-BwKpr_VI.js";
11
+ import { T as o } from "../../../../Typography-BQDN44CM.js";
12
+ import { I as u } from "../../../../IconButton-WneJM4uP.js";
13
+ import { B as s } from "../../../../Button-tAfK4lud.js";
14
+ import { F as M } from "../../../../FormControl-H4D1Z6Ov.js";
15
+ import { T as y } from "../../../../TextField-DmiK1A_S.js";
16
16
  const B = ({
17
17
  history: c,
18
18
  loader: x,
@@ -1,19 +1,19 @@
1
1
  import { jsxs as i, Fragment as B, jsx as e } from "react/jsx-runtime";
2
2
  import $ from "../../Shared/noData.js";
3
- import { M as p } from "../../../../tooltip-DGtrVEzU.js";
4
- import { I as u } from "../../../../Info-D2UkGxyK.js";
3
+ import { M as p } from "../../../../tooltip-Dv3Lfsa2.js";
4
+ import { I as u } from "../../../../Info-0vSsl6Bm.js";
5
5
  import { STAKE_ID_MIN_DAYS as g, STAKE_ID_MID_DAYS as x, STAKE_ID_MAX_DAYS as v } from "../../../../util/constants.js";
6
6
  import { s as r } from "../../../../styles.module-O5VVND5e.js";
7
- import { B as _ } from "../../../../Backdrop-CJBRZv_z.js";
8
- import { C as k } from "../../../../CircularProgress-t8uGhLMo.js";
9
- import { G as t } from "../../../../Grid-BXyV_lM8.js";
10
- import { B as a } from "../../../../Box-B12x52NC.js";
11
- import { T as n } from "../../../../Typography-DBlMiOti.js";
12
- import { I as D } from "../../../../IconButton-eWRhV6Q9.js";
13
- import { B as c } from "../../../../Button-C57IMamW.js";
14
- import { D as T } from "../../../../Divider-Dy5hKfey.js";
15
- import { F } from "../../../../FormControl-DeeQCuu5.js";
16
- import { T as M } from "../../../../TextField-q_SeLeNd.js";
7
+ import { B as _ } from "../../../../Backdrop-yR8IRnFX.js";
8
+ import { C as k } from "../../../../CircularProgress-Yx712vpT.js";
9
+ import { G as t } from "../../../../Grid-CPkjiKqX.js";
10
+ import { B as a } from "../../../../Box-BwKpr_VI.js";
11
+ import { T as n } from "../../../../Typography-BQDN44CM.js";
12
+ import { I as D } from "../../../../IconButton-WneJM4uP.js";
13
+ import { B as c } from "../../../../Button-tAfK4lud.js";
14
+ import { D as T } from "../../../../Divider-CIL55YSC.js";
15
+ import { F } from "../../../../FormControl-H4D1Z6Ov.js";
16
+ import { T as M } from "../../../../TextField-DmiK1A_S.js";
17
17
  const ee = ({
18
18
  history: d,
19
19
  loader: I,
@@ -4,14 +4,14 @@ import xe from "./id/index.js";
4
4
  import we from "./gems/index.js";
5
5
  import { a as Ae, u as K } from "../../../react-redux-C7I9-1M6.js";
6
6
  import { ID_STAKE as i, STAKE_ID_MIN_DAYS as ee, GEM_SYNTHETIC_TOKEN_SYMBOL as De, ID_TOKEN_SYMBOL as be, EVER_CHAIN_NETWORK as Ie, GEMS_STAKE as T, STAKE_GEM_MAX_DAYS as Te, STAKE_ID_ICON as Ee, STAKE_GEM_ICON as Ne, STAKE_GEM_MAX_APY as ve, STAKE_ID_MIN_APY as Re, STAKE_ID_MID_DAYS as ye, STAKE_ID_MID_APY as Me, STAKE_ID_MAX_DAYS as Ce, STAKE_ID_MAX_APY as Fe } from "../../../util/constants.js";
7
- import "../../../constants-CsMPRK0U.js";
8
- import { a as Pe } from "../../../index-f15o1nhn.js";
9
- import { f as Be } from "../../../wallet-DDW5KCHp.js";
10
- import { s as Ge, a as Ke, b as Le } from "../../../stake-B150utJI.js";
7
+ import "../../../constants-BF50a6s-.js";
8
+ import { a as Pe } from "../../../index-v4KC1K_V.js";
9
+ import { f as Be } from "../../../wallet-BTc5u8j2.js";
10
+ import { s as Ge, a as Ke, b as Le } from "../../../stake-mS8fdG8g.js";
11
11
  import { fromHuman as Ye, numberFormat as u, toHuman as E } from "../../../util/conversions.js";
12
+ import "../Shared/appButton.js";
12
13
  import We from "../../../hoc/withThemeProvider.js";
13
14
  import { decimalNumbersWithCommaOrDot as Oe } from "../../../util/regex.js";
14
- import "../Shared/appButton.js";
15
15
  import "../Shared/Auth/otpForm.js";
16
16
  import "../../../context/snackBarContext.js";
17
17
  import "../../../index-CAoLi5Qq.js";
@@ -20,18 +20,19 @@ import "../../../react-webcam-B3cXh1XT.js";
20
20
  import "../../Shared/transition.js";
21
21
  import "../Shared/pin.js";
22
22
  import "../../../moment-h96o7c8I.js";
23
- import "../../../tooltip-DGtrVEzU.js";
23
+ import "../../../tooltip-Dv3Lfsa2.js";
24
24
  import "../../../index.esm-BsMAMhYW.js";
25
25
  import "../../../web3-u4qDZYpo.js";
26
26
  import "../../../index-B8QKlEgj.js";
27
27
  import "../../../index-ceeCtFuh.js";
28
+ import "../../../context/dialogContext.js";
28
29
  import { s as x } from "../../../styles.module-O5VVND5e.js";
29
- import { B as h } from "../../../Box-B12x52NC.js";
30
- import { G as f } from "../../../Grid-BXyV_lM8.js";
31
- import { T as c } from "../../../Typography-DBlMiOti.js";
32
- import { D as $e, a as He } from "../../../DialogContent-DzidtXui.js";
33
- import { C as Xe } from "../../../CircularProgress-t8uGhLMo.js";
34
- import { B as te } from "../../../Button-C57IMamW.js";
30
+ import { B as h } from "../../../Box-BwKpr_VI.js";
31
+ import { G as f } from "../../../Grid-CPkjiKqX.js";
32
+ import { T as c } from "../../../Typography-BQDN44CM.js";
33
+ import { D as $e, a as He } from "../../../DialogContent-_gvZOy18.js";
34
+ import { C as Xe } from "../../../CircularProgress-Yx712vpT.js";
35
+ import { B as te } from "../../../Button-tAfK4lud.js";
35
36
  const je = ({ router: N }) => {
36
37
  const D = Ae(), { showAlertMessage: m, snackBar: ae } = ze(), v = K(Pe).everWalletAddress, L = K((t) => t.user.wallets);
37
38
  L.loader;
@@ -41,7 +42,7 @@ const je = ({ router: N }) => {
41
42
  addLoader: oe,
42
43
  error: M,
43
44
  tx: W
44
- } = se, [a, O] = r(i), [z, re] = r(!0), [$, ne] = r(0), [H, le] = r(0), [k, C] = r(""), [p, X] = r(ee), [F, ie] = r({
45
+ } = se, [a, O] = r(i), [z, re] = r(!0), [$, ne] = r(0), [H, le] = r(0), [p, C] = r(""), [k, X] = r(ee), [F, ie] = r({
45
46
  data: [],
46
47
  totalStake: 0,
47
48
  totalReward: 0
@@ -49,11 +50,11 @@ const je = ({ router: N }) => {
49
50
  data: [],
50
51
  totalStake: 0,
51
52
  totalReward: 0
52
- }), [de, b] = r(!1), [me, j] = r(""), [fe, q] = r(""), [ke, V] = r(
53
+ }), [de, b] = r(!1), [me, j] = r(""), [fe, q] = r(""), [pe, V] = r(
53
54
  void 0
54
- ), pe = a === i ? 18 : 6, ue = Ye(k.toString(), pe);
55
+ ), ke = a === i ? 18 : 6, ue = Ye(p.toString(), ke);
55
56
  let I = ve;
56
- a === i && (I = Re, p === ye ? I = Me : p === Ce && (I = Fe)), _(() => {
57
+ a === i && (I = Re, k === ye ? I = Me : k === Ce && (I = Fe)), _(() => {
57
58
  M && (Se(), m({ message: M }));
58
59
  }, [M]), _(() => {
59
60
  W && (b(!1), m({
@@ -125,7 +126,7 @@ const je = ({ router: N }) => {
125
126
  Le({
126
127
  amount: ue,
127
128
  type: a,
128
- period: p.toString()
129
+ period: k.toString()
129
130
  })
130
131
  );
131
132
  }, Se = () => {
@@ -135,17 +136,17 @@ const je = ({ router: N }) => {
135
136
  }, ge = () => {
136
137
  B("review");
137
138
  }, B = (t) => {
138
- if (!p)
139
+ if (!k)
139
140
  return m({
140
141
  message: "Please select the stake duration period"
141
142
  }), !1;
142
- if (!k)
143
+ if (!p)
143
144
  return m({ message: "Please provide the amount to stake" }), !1;
144
- if (!Oe.test(k))
145
+ if (!Oe.test(p))
145
146
  return m({
146
147
  message: "Please provide the valid amount"
147
148
  }), !1;
148
- const s = parseFloat(k.replaceAll(",", "."));
149
+ const s = parseFloat(p.replaceAll(",", "."));
149
150
  if (s * 1 <= 0)
150
151
  return m({
151
152
  message: "Please provide the amount greater than 0"
@@ -155,9 +156,9 @@ const je = ({ router: N }) => {
155
156
  if (a === T && s * 1 > $ * 1)
156
157
  return m({ message: "Insufficient balance to stake" }), !1;
157
158
  let { title: l, html: d, func: n } = J();
158
- t === "review" && (l = "Please Review", d = `You are about to stake <strong>${k} ${a}</strong> Tokens for <strong>${p} days</strong> for ${a === T ? "up to" : ""} <strong>${I}% APY</strong>`, n = he), j(l), q(d), b(!0), V(() => n);
159
+ t === "review" && (l = "Please Review", d = `You are about to stake <strong>${p} ${a}</strong> Tokens for <strong>${k} days</strong> for ${a === T ? "up to" : ""} <strong>${I}% APY</strong>`, n = he), j(l), q(d), b(!0), V(() => n);
159
160
  }, J = () => {
160
- let t = "Are you sure?", s = `You will not have access to your ${a} Tokens during the staking period of <strong>${p} days</strong>`;
161
+ let t = "Are you sure?", s = `You will not have access to your ${a} Tokens during the staking period of <strong>${k} days</strong>`;
161
162
  return { title: t, html: s, func: ge };
162
163
  }, Q = ({ data: t }) => /* @__PURE__ */ o(
163
164
  h,
@@ -249,9 +250,9 @@ const je = ({ router: N }) => {
249
250
  totalReward: F.totalReward,
250
251
  StakeItem: Q,
251
252
  stakeStart: B,
252
- amount: k,
253
+ amount: p,
253
254
  setAmount: C,
254
- stakeDuration: p,
255
+ stakeDuration: k,
255
256
  setStakeDuration: X,
256
257
  balanceLoader: z,
257
258
  balance: H
@@ -266,7 +267,7 @@ const je = ({ router: N }) => {
266
267
  totalReward: P.totalReward,
267
268
  StakeItem: Q,
268
269
  stakeStart: B,
269
- amount: k,
270
+ amount: p,
270
271
  setAmount: C,
271
272
  balanceLoader: z,
272
273
  balance: $
@@ -316,7 +317,7 @@ const je = ({ router: N }) => {
316
317
  te,
317
318
  {
318
319
  sx: { mt: 6 },
319
- onClick: ke,
320
+ onClick: pe,
320
321
  className: "wallet-btn",
321
322
  variant: "contained",
322
323
  fullWidth: !0,
@@ -339,7 +340,7 @@ const je = ({ router: N }) => {
339
340
  }
340
341
  )
341
342
  ] });
342
- }, vt = We(je);
343
+ }, Rt = We(je);
343
344
  export {
344
- vt as default
345
+ Rt as default
345
346
  };