everest-npm-features 0.0.61 → 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 (229) 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-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
  11. package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
  12. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  13. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
  14. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
  15. package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
  16. package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
  17. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  18. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  20. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
  21. package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
  24. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
  25. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
  26. package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
  27. package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
  28. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
  29. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  30. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  31. package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
  32. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  33. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  34. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  35. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  36. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  37. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  38. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  39. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  40. package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
  41. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
  42. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
  43. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  44. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  45. package/dist/components/RocketRamp/Transactions/index.js +22 -23
  46. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  47. package/dist/components/Shared/FullKyc/edd.js +50 -52
  48. package/dist/components/Shared/FullKyc/index.js +11 -9
  49. package/dist/components/Shared/FullKyc/pep.js +35 -43
  50. package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
  51. package/dist/components/Shared/FullKyc/userInfo.js +6 -11
  52. package/dist/components/Shared/HistoryItem/index.js +43 -48
  53. package/dist/components/Shared/Incode/index.js +31 -35
  54. package/dist/components/Shared/MinimalKyc/index.js +59 -64
  55. package/dist/components/Shared/Sumsub/index.js +74 -61
  56. package/dist/components/Shared/loader.js +4 -5
  57. package/dist/components/Shared/tooltip.js +2 -2
  58. package/dist/components/Shared/transition.js +4 -4
  59. package/dist/components/Wallet/Account/createIban.js +34 -37
  60. package/dist/components/Wallet/Account/eWallet.js +35 -39
  61. package/dist/components/Wallet/Account/iban.js +49 -53
  62. package/dist/components/Wallet/Account/ibanItem.js +68 -73
  63. package/dist/components/Wallet/Account/index.js +66 -73
  64. package/dist/components/Wallet/Account/sendIban.js +79 -88
  65. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
  66. package/dist/components/Wallet/Buy/form.js +6 -16
  67. package/dist/components/Wallet/Buy/index.js +2 -2
  68. package/dist/components/Wallet/Deposit/index.js +15 -17
  69. package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
  70. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  71. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  72. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  73. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  74. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
  77. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  78. package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
  79. package/dist/components/Wallet/History/index.js +22 -796
  80. package/dist/components/Wallet/Home/index.js +13 -14
  81. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
  82. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  83. package/dist/components/Wallet/Portfolio/index.js +47 -50
  84. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  85. package/dist/components/Wallet/Profile/documents.js +125 -134
  86. package/dist/components/Wallet/Profile/index.js +37 -42
  87. package/dist/components/Wallet/Profile/storage.js +39 -47
  88. package/dist/components/Wallet/Receive/index.js +31 -36
  89. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
  90. package/dist/components/Wallet/Sell/form.js +6 -16
  91. package/dist/components/Wallet/Sell/index.js +2 -2
  92. package/dist/components/Wallet/Send/index.js +98 -107
  93. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  94. package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
  95. package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
  96. package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
  97. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  98. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  99. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  100. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  101. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  102. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  103. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  104. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  105. package/dist/components/Wallet/Shared/addBank.js +40 -44
  106. package/dist/components/Wallet/Shared/appButton.js +11 -15
  107. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  108. package/dist/components/Wallet/Shared/button.js +7 -7
  109. package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
  110. package/dist/components/Wallet/Shared/inputField.js +5 -5
  111. package/dist/components/Wallet/Shared/manualSend.js +7 -11
  112. package/dist/components/Wallet/Shared/noData.js +4 -5
  113. package/dist/components/Wallet/Shared/pin.js +25 -27
  114. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  115. package/dist/components/Wallet/Shared/step.js +12 -13
  116. package/dist/components/Wallet/Shared/timer.js +1 -1
  117. package/dist/components/Wallet/SignIn/index.js +16 -16
  118. package/dist/components/Wallet/SignUp/index.js +62 -152
  119. package/dist/components/Wallet/SignUp/terms.js +1 -1
  120. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  121. package/dist/components/Wallet/Stake/id/index.js +73 -81
  122. package/dist/components/Wallet/Stake/index.js +64 -67
  123. package/dist/components/Wallet/Swap/form.js +8 -17
  124. package/dist/components/Wallet/Swap/index.js +2 -2
  125. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  126. package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
  127. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
  128. package/dist/components/Wallet/Withdraw/form.js +4 -15
  129. package/dist/components/Wallet/Withdraw/index.js +2 -2
  130. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  131. package/dist/hoc/withThemeProvider.js +5 -732
  132. package/dist/hooks/useDialog/index.js +22 -23
  133. package/dist/hooks/useRrDialog/index.js +43 -46
  134. package/dist/hooks/useSnackBar.js +24 -696
  135. package/dist/icons/buyIcon.js +1 -1
  136. package/dist/icons/canceledBuyIcon.js +1 -1
  137. package/dist/icons/canceledRedeemIcon.js +1 -1
  138. package/dist/icons/failedBuyIcon.js +2 -2
  139. package/dist/icons/failedRedeemIcon.js +2 -2
  140. package/dist/icons/pendingBuyIcon.js +1 -1
  141. package/dist/icons/pendingRedeemIcon.js +1 -1
  142. package/dist/icons/redeemIcon.js +1 -1
  143. package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
  144. package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
  145. package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
  146. package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
  147. package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
  148. package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
  149. package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
  150. package/dist/main.js +7 -7
  151. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  152. package/dist/otpForm-fiNqeB5H.js +7378 -0
  153. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  154. package/dist/tooltip-BW0UyWw7.js +2129 -0
  155. package/package.json +6 -6
  156. package/dist/Alert-DzsbFW3-.js +0 -369
  157. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  158. package/dist/Avatar-1XklXr4O.js +0 -281
  159. package/dist/Backdrop-CioURPVG.js +0 -359
  160. package/dist/Box-B0YSYLco.js +0 -59
  161. package/dist/Button-Df4vgU24.js +0 -663
  162. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  163. package/dist/CardContent-D9wTdpu-.js +0 -141
  164. package/dist/CircularProgress-xZA3lvba.js +0 -252
  165. package/dist/Close-CxzDL3J-.js +0 -9
  166. package/dist/Container-urNKV7hm.js +0 -181
  167. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  168. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  169. package/dist/DialogContent-BMwlOnbW.js +0 -567
  170. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  171. package/dist/Divider-BShhMFf4.js +0 -297
  172. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  173. package/dist/FormControl-RtZDQMdA.js +0 -258
  174. package/dist/FormControlLabel-BliKW48y.js +0 -519
  175. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  176. package/dist/Grid-CFe3amXO.js +0 -410
  177. package/dist/Grow-CnGtel3u.js +0 -196
  178. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  179. package/dist/IconButton-DHm-hucF.js +0 -297
  180. package/dist/InputAdornment-DMiED3JH.js +0 -173
  181. package/dist/Link-DBA9Yifs.js +0 -266
  182. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  183. package/dist/Menu-DLYFFrEk.js +0 -1239
  184. package/dist/MenuItem-DUdYOJr4.js +0 -271
  185. package/dist/Modal-CFIQ_s3T.js +0 -743
  186. package/dist/Paper-Bgt2WXI6.js +0 -186
  187. package/dist/Popper-BBAoiZKn.js +0 -1409
  188. package/dist/Portal-BMAxiQwe.js +0 -69
  189. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  190. package/dist/Select-CB5yWmyn.js +0 -1886
  191. package/dist/Slide-B9Nw0LZ4.js +0 -235
  192. package/dist/Stack-k55YTxET.js +0 -172
  193. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  194. package/dist/TextField-DPpRUQe3.js +0 -978
  195. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  196. package/dist/Typography-pAaje37G.js +0 -260
  197. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  198. package/dist/clsx-BTaloaeC.js +0 -264
  199. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  200. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  201. package/dist/createTheme-CD19zQB7.js +0 -3825
  202. package/dist/debounce-46wSf_lW.js +0 -15
  203. package/dist/defaultTheme-C35y5cLB.js +0 -5
  204. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  205. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  206. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  207. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  208. package/dist/exactProp-C1Lmtwf_.js +0 -13
  209. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  210. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  211. package/dist/index-B0Z-Gjno.js +0 -22
  212. package/dist/index-DUcLo3x5.js +0 -43
  213. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  214. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  215. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  216. package/dist/memoTheme-yHaPezod.js +0 -15
  217. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  218. package/dist/radioButton-CzlYB0Lh.js +0 -402
  219. package/dist/refType-BsTH3qnM.js +0 -56
  220. package/dist/tooltip-3UvETWtS.js +0 -740
  221. package/dist/useControlled-nm4pBabJ.js +0 -31
  222. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  223. package/dist/useFormControl-CatNKXAi.js +0 -10
  224. package/dist/useId-CK6Kn3Tn.js +0 -21
  225. package/dist/useSlot-CW7SOYlh.js +0 -125
  226. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  227. package/dist/useTheme-BQJ5lp0i.js +0 -11
  228. package/dist/useTheme-S5_DHFsQ.js +0 -17
  229. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,18 +1,11 @@
1
- import { jsxs as t, Fragment as C, jsx as e } from "react/jsx-runtime";
2
- import M from "../../Shared/noData.js";
3
- import { M as h } from "../../../../tooltip-3UvETWtS.js";
4
- import { I as p } from "../../../../Info-BVeUSPyk.js";
5
- import { s as i } from "../../../../styles.module-C1sNeKjL.js";
1
+ import { jsxs as r, Fragment as M, jsx as e } from "react/jsx-runtime";
2
+ import { Backdrop as w, CircularProgress as m, Grid as t, Box as a, Typography as o, IconButton as p, FormControl as C, TextField as G } from "@mui/material";
3
+ import b from "../../Shared/noData.js";
4
+ import { M as u } from "../../../../tooltip-BW0UyWw7.js";
5
+ import { I as f } from "../../../../Info-DOoRR7sR.js";
6
+ import { s as n } from "../../../../styles.module-C1sNeKjL.js";
6
7
  import s from "../../Shared/appButton.js";
7
- import { B as w } from "../../../../Backdrop-CioURPVG.js";
8
- import { C as f } from "../../../../CircularProgress-xZA3lvba.js";
9
- import { G as r } from "../../../../Grid-CFe3amXO.js";
10
- import { B as a } from "../../../../Box-B0YSYLco.js";
11
- import { T as o } from "../../../../Typography-pAaje37G.js";
12
- import { I as u } from "../../../../IconButton-DHm-hucF.js";
13
- import { F as G } from "../../../../FormControl-RtZDQMdA.js";
14
- import { T as B } from "../../../../TextField-DPpRUQe3.js";
15
- const Q = ({
8
+ const W = ({
16
9
  loader: x,
17
10
  stakeData: c,
18
11
  totalStake: g,
@@ -22,13 +15,13 @@ const Q = ({
22
15
  amount: E,
23
16
  setAmount: l,
24
17
  balanceLoader: N,
25
- balance: m,
18
+ balance: d,
26
19
  onMoveToEthereum: S,
27
20
  onMoveToEverChain: y,
28
21
  ethereumBalance: D
29
22
  }) => {
30
- const z = (n) => {
31
- n ? /^([0-9.,]+)$/.test(n) && l(n) : l("");
23
+ const z = (i) => {
24
+ i ? /^([0-9.,]+)$/.test(i) && l(i) : l("");
32
25
  }, I = [
33
26
  "To earn reward tokens you must stake GEMS “to EverChain”",
34
27
  "Staking GEMS for a 365 day commitment will earn up to 20% APY in ID tokens*",
@@ -37,55 +30,55 @@ const Q = ({
37
30
  ].join(`
38
31
 
39
32
  `);
40
- return /* @__PURE__ */ t(C, { children: [
33
+ return /* @__PURE__ */ r(M, { children: [
41
34
  /* @__PURE__ */ e(
42
35
  w,
43
36
  {
44
37
  sx: {
45
38
  color: "#fff",
46
- zIndex: (n) => n.zIndex.drawer + 1e3
39
+ zIndex: (i) => i.zIndex.drawer + 1e3
47
40
  },
48
41
  open: x,
49
- children: /* @__PURE__ */ e(f, { color: "inherit" })
42
+ children: /* @__PURE__ */ e(m, { color: "inherit" })
50
43
  }
51
44
  ),
52
- /* @__PURE__ */ t(r, { spacing: 2, container: !0, width: "100%", children: [
53
- /* @__PURE__ */ e(r, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: i["inner-container"], children: /* @__PURE__ */ t(a, { p: 3, children: [
54
- /* @__PURE__ */ e(o, { className: i["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
55
- /* @__PURE__ */ t(r, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
56
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
57
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(o, { className: "text-right fs16 fw500", children: [
45
+ /* @__PURE__ */ r(t, { spacing: 2, container: !0, width: "100%", children: [
46
+ /* @__PURE__ */ e(t, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: n["inner-container"], children: /* @__PURE__ */ r(a, { p: 3, children: [
47
+ /* @__PURE__ */ e(o, { className: n["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
48
+ /* @__PURE__ */ r(t, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
49
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
50
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ r(o, { className: "text-right fs16 fw500", children: [
58
51
  g,
59
52
  " GEMS"
60
53
  ] }) }),
61
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
62
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(o, { className: "text-right fs16 fw500", children: [
54
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
55
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ r(o, { className: "text-right fs16 fw500", children: [
63
56
  k,
64
57
  " ID"
65
58
  ] }) })
66
59
  ] }),
67
- /* @__PURE__ */ t(a, { mt: 6, children: [
68
- c.length === 0 && /* @__PURE__ */ e(M, { text: "No GEM are staked at the moment" }),
69
- c.map((n, d) => /* @__PURE__ */ e(T, { data: n }, d))
60
+ /* @__PURE__ */ r(a, { mt: 6, children: [
61
+ c.length === 0 && /* @__PURE__ */ e(b, { text: "No GEM are staked at the moment" }),
62
+ c.map((i, h) => /* @__PURE__ */ e(T, { data: i }, h))
70
63
  ] })
71
64
  ] }) }) }),
72
- /* @__PURE__ */ e(r, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ t(a, { p: 3, className: i["inner-container"], children: [
65
+ /* @__PURE__ */ e(t, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ r(a, { p: 3, className: n["inner-container"], children: [
73
66
  /* @__PURE__ */ e(
74
67
  o,
75
68
  {
76
- className: i["heading-text"],
69
+ className: n["heading-text"],
77
70
  variant: "h6",
78
71
  component: "span",
79
72
  children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
80
73
  }
81
74
  ),
82
75
  /* @__PURE__ */ e(
83
- h,
76
+ u,
84
77
  {
85
78
  title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: I }),
86
79
  placement: "bottom",
87
- children: /* @__PURE__ */ e(u, { className: i["info-icon"], children: /* @__PURE__ */ e(
88
- p,
80
+ children: /* @__PURE__ */ e(p, { className: n["info-icon"], children: /* @__PURE__ */ e(
81
+ f,
89
82
  {
90
83
  sx: {
91
84
  fontSize: "26px",
@@ -95,26 +88,26 @@ const Q = ({
95
88
  ) })
96
89
  }
97
90
  ),
98
- /* @__PURE__ */ t(a, { className: `${i["add-container"]} text-center`, children: [
91
+ /* @__PURE__ */ r(a, { className: `${n["add-container"]} text-center`, children: [
99
92
  /* @__PURE__ */ e(o, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available GEMS on EverChain" }) }),
100
- N ? /* @__PURE__ */ e(f, {}) : /* @__PURE__ */ e(
93
+ N ? /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e(
101
94
  o,
102
95
  {
103
96
  sx: { mt: 2 },
104
97
  className: "secondary-text-color",
105
98
  variant: "h3",
106
- children: /* @__PURE__ */ t("strong", { children: [
107
- m,
99
+ children: /* @__PURE__ */ r("strong", { children: [
100
+ d,
108
101
  " GEMS"
109
102
  ] })
110
103
  }
111
104
  ),
112
- /* @__PURE__ */ t(r, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
113
- /* @__PURE__ */ e(r, { size: 11, children: /* @__PURE__ */ t("fieldset", { className: i["move-id"], children: [
105
+ /* @__PURE__ */ r(t, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
106
+ /* @__PURE__ */ e(t, { size: 11, children: /* @__PURE__ */ r("fieldset", { className: n["move-id"], children: [
114
107
  /* @__PURE__ */ e(
115
108
  "legend",
116
109
  {
117
- className: i["move-id-text"],
110
+ className: n["move-id-text"],
118
111
  style: { width: "135px" },
119
112
  children: "Move GEMS Tokens"
120
113
  }
@@ -135,18 +128,18 @@ const Q = ({
135
128
  ml: { md: 3 },
136
129
  mt: { xs: 1, md: 0 }
137
130
  },
138
- onClick: () => S(Number(m)),
131
+ onClick: () => S(Number(d)),
139
132
  children: "To Ethereum"
140
133
  }
141
134
  )
142
135
  ] }) }),
143
- /* @__PURE__ */ e(r, { size: 1, children: /* @__PURE__ */ e(
144
- h,
136
+ /* @__PURE__ */ e(t, { size: 1, children: /* @__PURE__ */ e(
137
+ u,
145
138
  {
146
139
  title: "To stake your GEMS token, the token must be on EverChain. To move GEMS from Ethereum to EverChain or back requires ETH to pay the network fees.",
147
140
  placement: "top",
148
- children: /* @__PURE__ */ e(u, { className: i["button-icon"], children: /* @__PURE__ */ e(
149
- p,
141
+ children: /* @__PURE__ */ e(p, { className: n["button-icon"], children: /* @__PURE__ */ e(
142
+ f,
150
143
  {
151
144
  sx: {
152
145
  fontSize: "24px",
@@ -157,8 +150,8 @@ const Q = ({
157
150
  }
158
151
  ) })
159
152
  ] }),
160
- /* @__PURE__ */ t(
161
- r,
153
+ /* @__PURE__ */ r(
154
+ t,
162
155
  {
163
156
  mt: 4,
164
157
  sx: {
@@ -168,28 +161,28 @@ const Q = ({
168
161
  container: !0,
169
162
  width: "100%",
170
163
  children: [
171
- /* @__PURE__ */ e(r, { size: 4 }),
164
+ /* @__PURE__ */ e(t, { size: 4 }),
172
165
  /* @__PURE__ */ e(
173
- r,
166
+ t,
174
167
  {
175
- className: `${i["time-item"]} ${i["item-last"]} ${i.active}`,
168
+ className: `${n["time-item"]} ${n["item-last"]} ${n.active}`,
176
169
  size: 4,
177
170
  children: /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
178
171
  }
179
172
  ),
180
- /* @__PURE__ */ e(r, { size: 4 })
173
+ /* @__PURE__ */ e(t, { size: 4 })
181
174
  ]
182
175
  }
183
176
  ),
184
- /* @__PURE__ */ e(G, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
185
- B,
177
+ /* @__PURE__ */ e(C, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
178
+ G,
186
179
  {
187
180
  variant: "filled",
188
181
  placeholder: "Amount to Stake",
189
182
  value: E,
190
183
  fullWidth: !0,
191
184
  required: !0,
192
- onChange: (n) => z(n.target.value)
185
+ onChange: (i) => z(i.target.value)
193
186
  }
194
187
  ) }),
195
188
  /* @__PURE__ */ e(s, { sx: { mt: 4 }, onClick: () => v(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
@@ -199,5 +192,5 @@ const Q = ({
199
192
  ] });
200
193
  };
201
194
  export {
202
- Q as default
195
+ W as default
203
196
  };
@@ -1,39 +1,31 @@
1
- import { jsxs as t, Fragment as _, jsx as e } from "react/jsx-runtime";
2
- import F from "../../Shared/noData.js";
3
- import { M as f } from "../../../../tooltip-3UvETWtS.js";
4
- import { I as u } from "../../../../Info-BVeUSPyk.js";
5
- import { STAKE_ID_MIN_DAYS as g, STAKE_ID_MID_DAYS as x, STAKE_ID_MAX_DAYS as T } from "../../../../util/constants.js";
6
- import { s as r } from "../../../../styles.module-C1sNeKjL.js";
1
+ import { jsxs as i, Fragment as B, jsx as e } from "react/jsx-runtime";
2
+ import { Backdrop as F, CircularProgress as f, Grid as r, Box as a, Typography as t, IconButton as u, Divider as g, FormControl as M, TextField as Y } from "@mui/material";
3
+ import R from "../../Shared/noData.js";
4
+ import { M as x } from "../../../../tooltip-BW0UyWw7.js";
5
+ import { I as k } from "../../../../Info-DOoRR7sR.js";
6
+ import { STAKE_ID_MIN_DAYS as D, STAKE_ID_MID_DAYS as T, STAKE_ID_MAX_DAYS as v } from "../../../../util/constants.js";
7
+ import { s as n } from "../../../../styles.module-C1sNeKjL.js";
7
8
  import c from "../../Shared/appButton.js";
8
- import { B as M } from "../../../../Backdrop-CioURPVG.js";
9
- import { C as k } from "../../../../CircularProgress-xZA3lvba.js";
10
- import { G as i } from "../../../../Grid-CFe3amXO.js";
11
- import { B as a } from "../../../../Box-B0YSYLco.js";
12
- import { T as n } from "../../../../Typography-pAaje37G.js";
13
- import { I as D } from "../../../../IconButton-DHm-hucF.js";
14
- import { D as I } from "../../../../Divider-BShhMFf4.js";
15
- import { F as Y } from "../../../../FormControl-RtZDQMdA.js";
16
- import { T as R } from "../../../../TextField-DPpRUQe3.js";
17
- const ie = ({
18
- loader: v,
9
+ const L = ({
10
+ loader: I,
19
11
  stakeData: d,
20
12
  totalStake: N,
21
13
  totalReward: y,
22
- StakeItem: C,
23
- stakeStart: z,
14
+ StakeItem: z,
15
+ stakeStart: C,
24
16
  amount: w,
25
- setAmount: m,
26
- stakeDuration: s,
27
- setStakeDuration: l,
17
+ setAmount: h,
18
+ stakeDuration: l,
19
+ setStakeDuration: s,
28
20
  balanceLoader: S,
29
- balance: h,
21
+ balance: m,
30
22
  onMoveToEthereum: A,
31
23
  onMoveToEverChain: E,
32
24
  ethereumBalance: $
33
25
  }) => {
34
26
  const b = (o) => {
35
- o ? /^([0-9.,]+)$/.test(o) && m(o) : m("");
36
- }, B = [
27
+ o ? /^([0-9.,]+)$/.test(o) && h(o) : h("");
28
+ }, _ = [
37
29
  "To earn reward tokens you must stake ID tokens in your EverWallet",
38
30
  "Staking Rewards...",
39
31
  `Commit for 90 days to earn 3% APY
@@ -44,55 +36,55 @@ Commit for 365 days to earn 18% APY`,
44
36
  ].join(`
45
37
 
46
38
  `);
47
- return /* @__PURE__ */ t(_, { children: [
39
+ return /* @__PURE__ */ i(B, { children: [
48
40
  /* @__PURE__ */ e(
49
- M,
41
+ F,
50
42
  {
51
43
  sx: {
52
44
  color: "#fff",
53
45
  zIndex: (o) => o.zIndex.drawer + 1e3
54
46
  },
55
- open: v,
56
- children: /* @__PURE__ */ e(k, { color: "inherit" })
47
+ open: I,
48
+ children: /* @__PURE__ */ e(f, { color: "inherit" })
57
49
  }
58
50
  ),
59
- /* @__PURE__ */ t(i, { spacing: 2, container: !0, width: "100%", children: [
60
- /* @__PURE__ */ e(i, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: r["inner-container"], children: /* @__PURE__ */ t(a, { p: 3, children: [
61
- /* @__PURE__ */ e(n, { className: r["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
62
- /* @__PURE__ */ t(i, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
63
- /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ e(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
64
- /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ t(n, { className: "text-right fs16 fw500", children: [
51
+ /* @__PURE__ */ i(r, { spacing: 2, container: !0, width: "100%", children: [
52
+ /* @__PURE__ */ e(r, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: n["inner-container"], children: /* @__PURE__ */ i(a, { p: 3, children: [
53
+ /* @__PURE__ */ e(t, { className: n["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
54
+ /* @__PURE__ */ i(r, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
55
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(t, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
56
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ i(t, { className: "text-right fs16 fw500", children: [
65
57
  N,
66
58
  " ID"
67
59
  ] }) }),
68
- /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ e(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
69
- /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ t(n, { className: "text-right fs16 fw500", children: [
60
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(t, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
61
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ i(t, { className: "text-right fs16 fw500", children: [
70
62
  y,
71
63
  " ID"
72
64
  ] }) })
73
65
  ] }),
74
- /* @__PURE__ */ t(a, { mt: 6, children: [
75
- d.length === 0 && /* @__PURE__ */ e(F, { text: "No ID are staked at the moment" }),
76
- d.map((o, p) => /* @__PURE__ */ e(C, { data: o }, p))
66
+ /* @__PURE__ */ i(a, { mt: 6, children: [
67
+ d.length === 0 && /* @__PURE__ */ e(R, { text: "No ID are staked at the moment" }),
68
+ d.map((o, p) => /* @__PURE__ */ e(z, { data: o }, p))
77
69
  ] })
78
70
  ] }) }) }),
79
- /* @__PURE__ */ e(i, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ t(a, { p: 3, className: r["inner-container"], children: [
71
+ /* @__PURE__ */ e(r, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ i(a, { p: 3, className: n["inner-container"], children: [
80
72
  /* @__PURE__ */ e(
81
- n,
73
+ t,
82
74
  {
83
- className: r["heading-text"],
75
+ className: n["heading-text"],
84
76
  variant: "h6",
85
77
  component: "span",
86
78
  children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
87
79
  }
88
80
  ),
89
81
  /* @__PURE__ */ e(
90
- f,
82
+ x,
91
83
  {
92
- title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: B }),
84
+ title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: _ }),
93
85
  placement: "bottom",
94
- children: /* @__PURE__ */ e(D, { className: r["info-icon"], children: /* @__PURE__ */ e(
95
- u,
86
+ children: /* @__PURE__ */ e(u, { className: n["info-icon"], children: /* @__PURE__ */ e(
87
+ k,
96
88
  {
97
89
  sx: {
98
90
  fontSize: "26px",
@@ -102,23 +94,23 @@ Commit for 365 days to earn 18% APY`,
102
94
  ) })
103
95
  }
104
96
  ),
105
- /* @__PURE__ */ t(a, { className: `${r["add-container"]} text-center`, children: [
106
- /* @__PURE__ */ e(n, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available ID on EverChain" }) }),
107
- S ? /* @__PURE__ */ e(k, {}) : /* @__PURE__ */ e(
108
- n,
97
+ /* @__PURE__ */ i(a, { className: `${n["add-container"]} text-center`, children: [
98
+ /* @__PURE__ */ e(t, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available ID on EverChain" }) }),
99
+ S ? /* @__PURE__ */ e(f, {}) : /* @__PURE__ */ e(
100
+ t,
109
101
  {
110
102
  sx: { mt: 2 },
111
103
  className: "secondary-text-color",
112
104
  variant: "h3",
113
- children: /* @__PURE__ */ t("strong", { children: [
114
- h,
105
+ children: /* @__PURE__ */ i("strong", { children: [
106
+ m,
115
107
  " ID"
116
108
  ] })
117
109
  }
118
110
  ),
119
- /* @__PURE__ */ t(i, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
120
- /* @__PURE__ */ e(i, { size: 11, children: /* @__PURE__ */ t("fieldset", { className: r["move-id"], children: [
121
- /* @__PURE__ */ e("legend", { className: r["move-id-text"], children: "Move ID Tokens" }),
111
+ /* @__PURE__ */ i(r, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
112
+ /* @__PURE__ */ e(r, { size: 11, children: /* @__PURE__ */ i("fieldset", { className: n["move-id"], children: [
113
+ /* @__PURE__ */ e("legend", { className: n["move-id-text"], children: "Move ID Tokens" }),
122
114
  /* @__PURE__ */ e(
123
115
  c,
124
116
  {
@@ -135,18 +127,18 @@ Commit for 365 days to earn 18% APY`,
135
127
  ml: { md: 3 },
136
128
  mt: { xs: 1, md: 0 }
137
129
  },
138
- onClick: () => A(Number(h)),
130
+ onClick: () => A(Number(m)),
139
131
  children: "To Ethereum"
140
132
  }
141
133
  )
142
134
  ] }) }),
143
- /* @__PURE__ */ e(i, { size: 1, children: /* @__PURE__ */ e(
144
- f,
135
+ /* @__PURE__ */ e(r, { size: 1, children: /* @__PURE__ */ e(
136
+ x,
145
137
  {
146
138
  title: "To stake your ID Token, the token must be on EverChain. To move ID Token from Ethereum to EverChain or back requires ETH to pay the network fees.",
147
139
  placement: "top",
148
- children: /* @__PURE__ */ e(D, { className: r["button-icon"], children: /* @__PURE__ */ e(
149
- u,
140
+ children: /* @__PURE__ */ e(u, { className: n["button-icon"], children: /* @__PURE__ */ e(
141
+ k,
150
142
  {
151
143
  sx: {
152
144
  fontSize: "24px",
@@ -157,8 +149,8 @@ Commit for 365 days to earn 18% APY`,
157
149
  }
158
150
  ) })
159
151
  ] }),
160
- /* @__PURE__ */ t(
161
- i,
152
+ /* @__PURE__ */ i(
153
+ r,
162
154
  {
163
155
  mt: 4,
164
156
  sx: {
@@ -170,39 +162,39 @@ Commit for 365 days to earn 18% APY`,
170
162
  width: "100%",
171
163
  children: [
172
164
  /* @__PURE__ */ e(
173
- i,
165
+ r,
174
166
  {
175
- className: `${r["time-item"]} ${r["item-1st"]} ${s === g ? r.active : ""}`,
176
- onClick: () => l(g),
167
+ className: `${n["time-item"]} ${n["item-1st"]} ${l === D ? n.active : ""}`,
168
+ onClick: () => s(D),
177
169
  size: 3.9,
178
- children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "90 Days" }) })
170
+ children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("strong", { children: "90 Days" }) })
179
171
  }
180
172
  ),
181
- /* @__PURE__ */ e(i, { size: 0.01, children: /* @__PURE__ */ e(I, { orientation: "vertical" }) }),
173
+ /* @__PURE__ */ e(r, { size: 0.01, children: /* @__PURE__ */ e(g, { orientation: "vertical" }) }),
182
174
  /* @__PURE__ */ e(
183
- i,
175
+ r,
184
176
  {
185
- className: `${r["time-item"]} ${s === x ? r.active : ""}`,
186
- onClick: () => l(x),
177
+ className: `${n["time-item"]} ${l === T ? n.active : ""}`,
178
+ onClick: () => s(T),
187
179
  size: 3.9,
188
- children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "180 Days" }) })
180
+ children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("strong", { children: "180 Days" }) })
189
181
  }
190
182
  ),
191
- /* @__PURE__ */ e(i, { size: 0.01, children: /* @__PURE__ */ e(I, { orientation: "vertical" }) }),
183
+ /* @__PURE__ */ e(r, { size: 0.01, children: /* @__PURE__ */ e(g, { orientation: "vertical" }) }),
192
184
  /* @__PURE__ */ e(
193
- i,
185
+ r,
194
186
  {
195
- className: `${r["time-item"]} ${r["item-last"]} ${s === T ? r.active : ""}`,
196
- onClick: () => l(T),
187
+ className: `${n["time-item"]} ${n["item-last"]} ${l === v ? n.active : ""}`,
188
+ onClick: () => s(v),
197
189
  size: 4,
198
- children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
190
+ children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
199
191
  }
200
192
  )
201
193
  ]
202
194
  }
203
195
  ),
204
- /* @__PURE__ */ e(Y, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
205
- R,
196
+ /* @__PURE__ */ e(M, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
197
+ Y,
206
198
  {
207
199
  variant: "filled",
208
200
  placeholder: "Amount to Stake",
@@ -212,12 +204,12 @@ Commit for 365 days to earn 18% APY`,
212
204
  onChange: (o) => b(o.target.value)
213
205
  }
214
206
  ) }),
215
- /* @__PURE__ */ e(c, { sx: { mt: 4 }, onClick: () => z(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
207
+ /* @__PURE__ */ e(c, { sx: { mt: 4 }, onClick: () => C(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
216
208
  ] })
217
209
  ] }) })
218
210
  ] })
219
211
  ] });
220
212
  };
221
213
  export {
222
- ie as default
214
+ L as default
223
215
  };