everest-npm-features 0.0.62 → 0.0.64

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 (109) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{PlayArrow-BVDyfxsQ.js → PlayArrow-WUr_Eyo1.js} +1 -1
  3. package/dist/assets/styles.css +1 -1
  4. package/dist/assets/styles2.css +1 -1
  5. package/dist/{auth-DTJdu6mq.js → auth-Cg-RJNB1.js} +1 -1
  6. package/dist/bank-CPJa0NOE.js +47 -0
  7. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  9. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  10. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  11. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  12. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  13. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  14. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  15. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  20. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  21. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  24. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  25. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  26. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  27. package/dist/components/Shared/FullKyc/countryList.js +33 -30
  28. package/dist/components/Shared/FullKyc/edd.js +3 -3
  29. package/dist/components/Shared/FullKyc/index.js +11 -10
  30. package/dist/components/Shared/FullKyc/pep.js +68 -64
  31. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  32. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  33. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  34. package/dist/components/Shared/Sumsub/index.js +2 -2
  35. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  36. package/dist/components/Wallet/Account/createIban.js +14 -314
  37. package/dist/components/Wallet/Account/eWallet.js +33 -35
  38. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  39. package/dist/components/Wallet/Account/iban.js +75 -54
  40. package/dist/components/Wallet/Account/ibanItem.js +3 -3
  41. package/dist/components/Wallet/Account/index.d.ts +1 -0
  42. package/dist/components/Wallet/Account/index.js +221 -184
  43. package/dist/components/Wallet/Account/sendIban.js +2 -2
  44. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
  45. package/dist/components/Wallet/Buy/form.js +5 -5
  46. package/dist/components/Wallet/Buy/index.js +6 -6
  47. package/dist/components/Wallet/Deposit/index.js +2 -2
  48. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  49. package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
  50. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  51. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  52. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  53. package/dist/components/Wallet/History/index.js +2 -2
  54. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +96 -95
  55. package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
  56. package/dist/components/Wallet/Portfolio/index.js +5 -5
  57. package/dist/components/Wallet/Profile/documents.js +121 -124
  58. package/dist/components/Wallet/Profile/index.js +4 -4
  59. package/dist/components/Wallet/Profile/storage.js +15 -15
  60. package/dist/components/Wallet/Receive/index.js +3 -3
  61. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
  62. package/dist/components/Wallet/Sell/form.js +5 -5
  63. package/dist/components/Wallet/Sell/index.js +6 -6
  64. package/dist/components/Wallet/Send/index.js +36 -36
  65. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  66. package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
  67. package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
  68. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  69. package/dist/components/Wallet/Shared/Container/index.js +19 -18
  70. package/dist/components/Wallet/Shared/addBank.js +4 -4
  71. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  72. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  73. package/dist/components/Wallet/SignIn/index.js +3 -3
  74. package/dist/components/Wallet/SignUp/index.js +3 -3
  75. package/dist/components/Wallet/Stake/gems/index.js +74 -62
  76. package/dist/components/Wallet/Stake/id/index.js +69 -65
  77. package/dist/components/Wallet/Stake/index.js +6 -6
  78. package/dist/components/Wallet/Swap/form.js +7 -7
  79. package/dist/components/Wallet/Swap/index.js +5 -5
  80. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  81. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  82. package/dist/components/Wallet/Withdraw/form.js +4 -4
  83. package/dist/components/Wallet/Withdraw/index.js +5 -5
  84. package/dist/{constants-DrmtdI1J.js → constants-BRS2liAt.js} +216 -214
  85. package/dist/createIban-DKoCQ4o3.js +573 -0
  86. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-BD0cJpXM.js} +1 -1
  87. package/dist/{index-CDwzoHu7.js → index-BUtxhHso.js} +87 -86
  88. package/dist/{index-3OQ4M69t.js → index-C2weAjLp.js} +70 -69
  89. package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
  90. package/dist/{index-ILpK4BCB.js → index-CZhiRUiE.js} +4 -4
  91. package/dist/{index-CYX3j0V7.js → index-D7Eq-pbC.js} +65 -64
  92. package/dist/{index-C1WPCgkl.js → index-DX8IEulu.js} +5 -5
  93. package/dist/{index-CK4kLRAw.js → index-hgn4Pjw3.js} +5 -5
  94. package/dist/index-oPbOSCUk.js +545 -0
  95. package/dist/{kyc-ksV3vBP_.js → kyc-C7NviI9l.js} +1 -1
  96. package/dist/main.js +7 -7
  97. package/dist/{order-DEp_Lmar.js → order-DBuLYKfx.js} +1 -1
  98. package/dist/{otpForm-fiNqeB5H.js → otpForm-DhVp5Gvi.js} +2 -2
  99. package/dist/{stake-Ct7-_aWW.js → stake-DGXpiw_Y.js} +1 -1
  100. package/dist/styles.module-C99UuHOT.js +22 -0
  101. package/dist/styles.module-DFoezEqS.js +28 -0
  102. package/dist/util/constants.d.ts +1 -0
  103. package/dist/util/constants.js +72 -71
  104. package/dist/{wallet-CauUBXou.js → wallet-BLx0XKpK.js} +1 -1
  105. package/package.json +7 -7
  106. package/dist/bank-C4pmTe--.js +0 -37
  107. package/dist/index-BBFbUCRZ.js +0 -537
  108. package/dist/styles.module-C1sNeKjL.js +0 -22
  109. package/dist/styles.module-CHPRGltL.js +0 -28
@@ -1,28 +1,29 @@
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";
1
+ import { jsxs as t, Fragment as I, jsx as e } from "react/jsx-runtime";
2
+ import { Backdrop as w, CircularProgress as m, Grid as r, Box as a, Typography as o, IconButton as p, FormControl as G, TextField as b } from "@mui/material";
3
+ import B from "../../Shared/noData.js";
4
4
  import { M as u } from "../../../../tooltip-BW0UyWw7.js";
5
5
  import { I as f } from "../../../../Info-DOoRR7sR.js";
6
- import { s as n } from "../../../../styles.module-C1sNeKjL.js";
6
+ import { s as i } from "../../../../styles.module-C99UuHOT.js";
7
7
  import s from "../../Shared/appButton.js";
8
- const W = ({
9
- loader: x,
10
- stakeData: c,
11
- totalStake: g,
12
- totalReward: k,
13
- StakeItem: T,
14
- stakeStart: v,
15
- amount: E,
16
- setAmount: l,
8
+ import { AuthContainer as x } from "../../Shared/Container/index.js";
9
+ const Y = ({
10
+ loader: g,
11
+ stakeData: l,
12
+ totalStake: k,
13
+ totalReward: T,
14
+ StakeItem: v,
15
+ stakeStart: E,
16
+ amount: S,
17
+ setAmount: c,
17
18
  balanceLoader: N,
18
19
  balance: d,
19
- onMoveToEthereum: S,
20
- onMoveToEverChain: y,
21
- ethereumBalance: D
20
+ onMoveToEthereum: y,
21
+ onMoveToEverChain: D,
22
+ ethereumBalance: M
22
23
  }) => {
23
- const z = (i) => {
24
- i ? /^([0-9.,]+)$/.test(i) && l(i) : l("");
25
- }, I = [
24
+ const z = (n) => {
25
+ n ? /^([0-9.,]+)$/.test(n) && c(n) : c("");
26
+ }, C = [
26
27
  "To earn reward tokens you must stake GEMS “to EverChain”",
27
28
  "Staking GEMS for a 365 day commitment will earn up to 20% APY in ID tokens*",
28
29
  "* there is a 10M maximum supply of IDs for staking GEMS",
@@ -30,43 +31,43 @@ const W = ({
30
31
  ].join(`
31
32
 
32
33
  `);
33
- return /* @__PURE__ */ r(M, { children: [
34
+ return /* @__PURE__ */ t(I, { children: [
34
35
  /* @__PURE__ */ e(
35
36
  w,
36
37
  {
37
38
  sx: {
38
39
  color: "#fff",
39
- zIndex: (i) => i.zIndex.drawer + 1e3
40
+ zIndex: (n) => n.zIndex.drawer + 1e3
40
41
  },
41
- open: x,
42
+ open: g,
42
43
  children: /* @__PURE__ */ e(m, { color: "inherit" })
43
44
  }
44
45
  ),
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: [
51
- g,
46
+ /* @__PURE__ */ t(r, { spacing: 2, container: !0, width: "100%", children: [
47
+ /* @__PURE__ */ e(r, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(x, { addTopMargin: !1, children: /* @__PURE__ */ t(a, { p: 3, children: [
48
+ /* @__PURE__ */ e(o, { className: i["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
49
+ /* @__PURE__ */ t(r, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
50
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
51
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(o, { className: "text-right fs16 fw500", children: [
52
+ k,
52
53
  " GEMS"
53
54
  ] }) }),
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: [
56
- k,
55
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
56
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(o, { className: "text-right fs16 fw500", children: [
57
+ T,
57
58
  " ID"
58
59
  ] }) })
59
60
  ] }),
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))
61
+ /* @__PURE__ */ t(a, { mt: 6, children: [
62
+ l.length === 0 && /* @__PURE__ */ e(B, { text: "No GEM are staked at the moment" }),
63
+ l.map((n, h) => /* @__PURE__ */ e(v, { data: n }, h))
63
64
  ] })
64
65
  ] }) }) }),
65
- /* @__PURE__ */ e(t, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ r(a, { p: 3, className: n["inner-container"], children: [
66
+ /* @__PURE__ */ e(r, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ e(x, { addTopMargin: !1, children: /* @__PURE__ */ t(a, { p: 3, children: [
66
67
  /* @__PURE__ */ e(
67
68
  o,
68
69
  {
69
- className: n["heading-text"],
70
+ className: i["heading-text"],
70
71
  variant: "h6",
71
72
  component: "span",
72
73
  children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
@@ -75,9 +76,9 @@ const W = ({
75
76
  /* @__PURE__ */ e(
76
77
  u,
77
78
  {
78
- title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: I }),
79
+ title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: C }),
79
80
  placement: "bottom",
80
- children: /* @__PURE__ */ e(p, { className: n["info-icon"], children: /* @__PURE__ */ e(
81
+ children: /* @__PURE__ */ e(p, { className: i["info-icon"], children: /* @__PURE__ */ e(
81
82
  f,
82
83
  {
83
84
  sx: {
@@ -88,7 +89,7 @@ const W = ({
88
89
  ) })
89
90
  }
90
91
  ),
91
- /* @__PURE__ */ r(a, { className: `${n["add-container"]} text-center`, children: [
92
+ /* @__PURE__ */ t(a, { className: `${i["add-container"]} text-center`, children: [
92
93
  /* @__PURE__ */ e(o, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available GEMS on EverChain" }) }),
93
94
  N ? /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e(
94
95
  o,
@@ -96,18 +97,18 @@ const W = ({
96
97
  sx: { mt: 2 },
97
98
  className: "secondary-text-color",
98
99
  variant: "h3",
99
- children: /* @__PURE__ */ r("strong", { children: [
100
+ children: /* @__PURE__ */ t("strong", { children: [
100
101
  d,
101
102
  " GEMS"
102
103
  ] })
103
104
  }
104
105
  ),
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: [
106
+ /* @__PURE__ */ t(r, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
107
+ /* @__PURE__ */ e(r, { size: 11, children: /* @__PURE__ */ t("fieldset", { className: i["move-id"], children: [
107
108
  /* @__PURE__ */ e(
108
109
  "legend",
109
110
  {
110
- className: n["move-id-text"],
111
+ className: i["move-id-text"],
111
112
  style: { width: "135px" },
112
113
  children: "Move GEMS Tokens"
113
114
  }
@@ -116,7 +117,7 @@ const W = ({
116
117
  s,
117
118
  {
118
119
  variantType: "secondary",
119
- onClick: () => y(Number(D)),
120
+ onClick: () => D(Number(M)),
120
121
  children: "To EverChain"
121
122
  }
122
123
  ),
@@ -128,17 +129,17 @@ const W = ({
128
129
  ml: { md: 3 },
129
130
  mt: { xs: 1, md: 0 }
130
131
  },
131
- onClick: () => S(Number(d)),
132
+ onClick: () => y(Number(d)),
132
133
  children: "To Ethereum"
133
134
  }
134
135
  )
135
136
  ] }) }),
136
- /* @__PURE__ */ e(t, { size: 1, children: /* @__PURE__ */ e(
137
+ /* @__PURE__ */ e(r, { size: 1, children: /* @__PURE__ */ e(
137
138
  u,
138
139
  {
139
140
  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.",
140
141
  placement: "top",
141
- children: /* @__PURE__ */ e(p, { className: n["button-icon"], children: /* @__PURE__ */ e(
142
+ children: /* @__PURE__ */ e(p, { className: i["button-icon"], children: /* @__PURE__ */ e(
142
143
  f,
143
144
  {
144
145
  sx: {
@@ -150,47 +151,58 @@ const W = ({
150
151
  }
151
152
  ) })
152
153
  ] }),
153
- /* @__PURE__ */ r(
154
- t,
154
+ /* @__PURE__ */ t(
155
+ r,
155
156
  {
156
157
  mt: 4,
157
158
  sx: {
158
- borderRadius: "4px",
159
+ borderRadius: "8px",
159
160
  color: "#BDBDBD"
160
161
  },
161
162
  container: !0,
162
163
  width: "100%",
163
164
  children: [
164
- /* @__PURE__ */ e(t, { size: 4 }),
165
+ /* @__PURE__ */ e(r, { size: 4 }),
165
166
  /* @__PURE__ */ e(
166
- t,
167
+ r,
167
168
  {
168
- className: `${n["time-item"]} ${n["item-last"]} ${n.active}`,
169
+ className: `${i["time-item"]} ${i["item-last"]} ${i.active}`,
169
170
  size: 4,
170
171
  children: /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
171
172
  }
172
173
  ),
173
- /* @__PURE__ */ e(t, { size: 4 })
174
+ /* @__PURE__ */ e(r, { size: 4 })
174
175
  ]
175
176
  }
176
177
  ),
177
- /* @__PURE__ */ e(C, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
178
- G,
178
+ /* @__PURE__ */ e(G, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
179
+ b,
179
180
  {
180
181
  variant: "filled",
181
182
  placeholder: "Amount to Stake",
182
- value: E,
183
+ value: S,
183
184
  fullWidth: !0,
184
185
  required: !0,
185
- onChange: (i) => z(i.target.value)
186
+ onChange: (n) => z(n.target.value),
187
+ sx: {
188
+ borderRadius: "8px"
189
+ }
186
190
  }
187
191
  ) }),
188
- /* @__PURE__ */ e(s, { sx: { mt: 4 }, onClick: () => v(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
192
+ /* @__PURE__ */ e(
193
+ s,
194
+ {
195
+ sx: { mt: 4 },
196
+ onClick: () => E(),
197
+ fullWidth: !0,
198
+ children: /* @__PURE__ */ e("strong", { children: "Stake" })
199
+ }
200
+ )
189
201
  ] })
190
- ] }) })
202
+ ] }) }) })
191
203
  ] })
192
204
  ] });
193
205
  };
194
206
  export {
195
- W as default
207
+ Y as default
196
208
  };
@@ -1,31 +1,32 @@
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";
1
+ import { jsxs as t, 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 n, IconButton as u, Divider as g, FormControl as R, TextField as Y } from "@mui/material";
3
+ import P from "../../Shared/noData.js";
4
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";
5
+ import { I as T } from "../../../../Info-DOoRR7sR.js";
6
+ import { STAKE_ID_MIN_DAYS as k, STAKE_ID_MID_DAYS as D, STAKE_ID_MAX_DAYS as v } from "../../../../util/constants.js";
7
+ import { s as i } from "../../../../styles.module-C99UuHOT.js";
8
8
  import c from "../../Shared/appButton.js";
9
- const L = ({
10
- loader: I,
9
+ import { AuthContainer as I } from "../../Shared/Container/index.js";
10
+ const Q = ({
11
+ loader: N,
11
12
  stakeData: d,
12
- totalStake: N,
13
- totalReward: y,
13
+ totalStake: y,
14
+ totalReward: C,
14
15
  StakeItem: z,
15
- stakeStart: C,
16
- amount: w,
16
+ stakeStart: w,
17
+ amount: S,
17
18
  setAmount: h,
18
19
  stakeDuration: l,
19
20
  setStakeDuration: s,
20
- balanceLoader: S,
21
+ balanceLoader: A,
21
22
  balance: m,
22
- onMoveToEthereum: A,
23
- onMoveToEverChain: E,
23
+ onMoveToEthereum: E,
24
+ onMoveToEverChain: b,
24
25
  ethereumBalance: $
25
26
  }) => {
26
- const b = (o) => {
27
+ const _ = (o) => {
27
28
  o ? /^([0-9.,]+)$/.test(o) && h(o) : h("");
28
- }, _ = [
29
+ }, M = [
29
30
  "To earn reward tokens you must stake ID tokens in your EverWallet",
30
31
  "Staking Rewards...",
31
32
  `Commit for 90 days to earn 3% APY
@@ -36,7 +37,7 @@ Commit for 365 days to earn 18% APY`,
36
37
  ].join(`
37
38
 
38
39
  `);
39
- return /* @__PURE__ */ i(B, { children: [
40
+ return /* @__PURE__ */ t(B, { children: [
40
41
  /* @__PURE__ */ e(
41
42
  F,
42
43
  {
@@ -44,35 +45,35 @@ Commit for 365 days to earn 18% APY`,
44
45
  color: "#fff",
45
46
  zIndex: (o) => o.zIndex.drawer + 1e3
46
47
  },
47
- open: I,
48
+ open: N,
48
49
  children: /* @__PURE__ */ e(f, { color: "inherit" })
49
50
  }
50
51
  ),
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: [
57
- N,
52
+ /* @__PURE__ */ t(r, { spacing: 2, container: !0, width: "100%", children: [
53
+ /* @__PURE__ */ e(r, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(I, { addTopMargin: !1, children: /* @__PURE__ */ t(a, { p: 3, children: [
54
+ /* @__PURE__ */ e(n, { 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(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
57
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(n, { className: "text-right fs16 fw500", children: [
58
+ y,
58
59
  " ID"
59
60
  ] }) }),
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: [
62
- y,
61
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
62
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(n, { className: "text-right fs16 fw500", children: [
63
+ C,
63
64
  " ID"
64
65
  ] }) })
65
66
  ] }),
66
- /* @__PURE__ */ i(a, { mt: 6, children: [
67
- d.length === 0 && /* @__PURE__ */ e(R, { text: "No ID are staked at the moment" }),
67
+ /* @__PURE__ */ t(a, { mt: 6, children: [
68
+ d.length === 0 && /* @__PURE__ */ e(P, { text: "No ID are staked at the moment" }),
68
69
  d.map((o, p) => /* @__PURE__ */ e(z, { data: o }, p))
69
70
  ] })
70
71
  ] }) }) }),
71
- /* @__PURE__ */ e(r, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ i(a, { p: 3, className: n["inner-container"], children: [
72
+ /* @__PURE__ */ e(r, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ e(I, { addTopMargin: !1, children: /* @__PURE__ */ t(a, { p: 3, children: [
72
73
  /* @__PURE__ */ e(
73
- t,
74
+ n,
74
75
  {
75
- className: n["heading-text"],
76
+ className: i["heading-text"],
76
77
  variant: "h6",
77
78
  component: "span",
78
79
  children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
@@ -81,10 +82,10 @@ Commit for 365 days to earn 18% APY`,
81
82
  /* @__PURE__ */ e(
82
83
  x,
83
84
  {
84
- title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: _ }),
85
+ title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: M }),
85
86
  placement: "bottom",
86
- children: /* @__PURE__ */ e(u, { className: n["info-icon"], children: /* @__PURE__ */ e(
87
- k,
87
+ children: /* @__PURE__ */ e(u, { className: i["info-icon"], children: /* @__PURE__ */ e(
88
+ T,
88
89
  {
89
90
  sx: {
90
91
  fontSize: "26px",
@@ -94,28 +95,28 @@ Commit for 365 days to earn 18% APY`,
94
95
  ) })
95
96
  }
96
97
  ),
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,
98
+ /* @__PURE__ */ t(a, { className: `${i["add-container"]} text-center`, children: [
99
+ /* @__PURE__ */ e(n, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available ID on EverChain" }) }),
100
+ A ? /* @__PURE__ */ e(f, {}) : /* @__PURE__ */ e(
101
+ n,
101
102
  {
102
103
  sx: { mt: 2 },
103
104
  className: "secondary-text-color",
104
105
  variant: "h3",
105
- children: /* @__PURE__ */ i("strong", { children: [
106
+ children: /* @__PURE__ */ t("strong", { children: [
106
107
  m,
107
108
  " ID"
108
109
  ] })
109
110
  }
110
111
  ),
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" }),
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: [
114
+ /* @__PURE__ */ e("legend", { className: i["move-id-text"], children: "Move ID Tokens" }),
114
115
  /* @__PURE__ */ e(
115
116
  c,
116
117
  {
117
118
  variantType: "secondary",
118
- onClick: () => E(Number($)),
119
+ onClick: () => b(Number($)),
119
120
  children: "To EverChain"
120
121
  }
121
122
  ),
@@ -127,7 +128,7 @@ Commit for 365 days to earn 18% APY`,
127
128
  ml: { md: 3 },
128
129
  mt: { xs: 1, md: 0 }
129
130
  },
130
- onClick: () => A(Number(m)),
131
+ onClick: () => E(Number(m)),
131
132
  children: "To Ethereum"
132
133
  }
133
134
  )
@@ -137,8 +138,8 @@ Commit for 365 days to earn 18% APY`,
137
138
  {
138
139
  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.",
139
140
  placement: "top",
140
- children: /* @__PURE__ */ e(u, { className: n["button-icon"], children: /* @__PURE__ */ e(
141
- k,
141
+ children: /* @__PURE__ */ e(u, { className: i["button-icon"], children: /* @__PURE__ */ e(
142
+ T,
142
143
  {
143
144
  sx: {
144
145
  fontSize: "24px",
@@ -149,12 +150,12 @@ Commit for 365 days to earn 18% APY`,
149
150
  }
150
151
  ) })
151
152
  ] }),
152
- /* @__PURE__ */ i(
153
+ /* @__PURE__ */ t(
153
154
  r,
154
155
  {
155
156
  mt: 4,
156
157
  sx: {
157
- borderRadius: "4px",
158
+ borderRadius: "8px",
158
159
  background: "#F0F0F0",
159
160
  color: "#BDBDBD"
160
161
  },
@@ -164,52 +165,55 @@ Commit for 365 days to earn 18% APY`,
164
165
  /* @__PURE__ */ e(
165
166
  r,
166
167
  {
167
- className: `${n["time-item"]} ${n["item-1st"]} ${l === D ? n.active : ""}`,
168
- onClick: () => s(D),
168
+ className: `${i["time-item"]} ${i["item-1st"]} ${l === k ? i.active : ""}`,
169
+ onClick: () => s(k),
169
170
  size: 3.9,
170
- children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("strong", { children: "90 Days" }) })
171
+ children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "90 Days" }) })
171
172
  }
172
173
  ),
173
174
  /* @__PURE__ */ e(r, { size: 0.01, children: /* @__PURE__ */ e(g, { orientation: "vertical" }) }),
174
175
  /* @__PURE__ */ e(
175
176
  r,
176
177
  {
177
- className: `${n["time-item"]} ${l === T ? n.active : ""}`,
178
- onClick: () => s(T),
178
+ className: `${i["time-item"]} ${l === D ? i.active : ""}`,
179
+ onClick: () => s(D),
179
180
  size: 3.9,
180
- children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("strong", { children: "180 Days" }) })
181
+ children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "180 Days" }) })
181
182
  }
182
183
  ),
183
184
  /* @__PURE__ */ e(r, { size: 0.01, children: /* @__PURE__ */ e(g, { orientation: "vertical" }) }),
184
185
  /* @__PURE__ */ e(
185
186
  r,
186
187
  {
187
- className: `${n["time-item"]} ${n["item-last"]} ${l === v ? n.active : ""}`,
188
+ className: `${i["time-item"]} ${i["item-last"]} ${l === v ? i.active : ""}`,
188
189
  onClick: () => s(v),
189
190
  size: 4,
190
- children: /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
191
+ children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
191
192
  }
192
193
  )
193
194
  ]
194
195
  }
195
196
  ),
196
- /* @__PURE__ */ e(M, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
197
+ /* @__PURE__ */ e(R, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
197
198
  Y,
198
199
  {
199
200
  variant: "filled",
200
201
  placeholder: "Amount to Stake",
201
- value: w,
202
+ value: S,
202
203
  fullWidth: !0,
203
204
  required: !0,
204
- onChange: (o) => b(o.target.value)
205
+ onChange: (o) => _(o.target.value),
206
+ sx: {
207
+ borderRadius: "8px"
208
+ }
205
209
  }
206
210
  ) }),
207
- /* @__PURE__ */ e(c, { sx: { mt: 4 }, onClick: () => C(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
211
+ /* @__PURE__ */ e(c, { sx: { mt: 4 }, onClick: () => w(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
208
212
  ] })
209
- ] }) })
213
+ ] }) }) })
210
214
  ] })
211
215
  ] });
212
216
  };
213
217
  export {
214
- L as default
218
+ Q as default
215
219
  };
@@ -5,16 +5,16 @@ import ye from "./gems/index.js";
5
5
  import { Box as S, Grid as u, Typography as i, Dialog as Be, DialogContent as Ge, CircularProgress as Le } from "@mui/material";
6
6
  import { u as W } from "../../../react-redux-C7I9-1M6.js";
7
7
  import { ID_STAKE as c, STAKE_ID_MIN_DAYS as le, GEM_SYNTHETIC_TOKEN_SYMBOL as Fe, EVER_CHAIN_NETWORK as C, GEMS_TOKEN_SYMBOL as z, ETHEREUM_NETWORK as N, ID_TOKEN_SYMBOL as $, GEMS_STAKE as R, STAKE_GEM_MAX_DAYS as Ke, STAKE_ID_ICON as Pe, STAKE_GEM_ICON as Ye, STAKE_GEM_MAX_APY as Oe, STAKE_ID_MIN_APY as We, STAKE_ID_MID_DAYS as ze, STAKE_ID_MID_APY as $e, STAKE_ID_MAX_DAYS as He, STAKE_ID_MAX_APY as Xe } from "../../../util/constants.js";
8
- import "../../../constants-DrmtdI1J.js";
9
- import { a as je } from "../../../index-BQNs1mvn.js";
10
- import { f as qe } from "../../../wallet-CauUBXou.js";
11
- import { s as Ue, a as Ve, b as Je } from "../../../stake-Ct7-_aWW.js";
8
+ import "../../../constants-BRS2liAt.js";
9
+ import { a as je } from "../../../index-CREgBh59.js";
10
+ import { f as qe } from "../../../wallet-BLx0XKpK.js";
11
+ import { s as Ue, a as Ve, b as Je } from "../../../stake-DGXpiw_Y.js";
12
12
  import { fromHuman as Qe, numberFormat as x, toHuman as y } from "../../../util/conversions.js";
13
13
  import "../../../index-DlQqWbXG.js";
14
14
  import ie from "../Shared/appButton.js";
15
15
  import Ze from "../../../hoc/withThemeProvider.js";
16
16
  import { decimalNumbersWithCommaOrDot as et } from "../../../util/regex.js";
17
- import "../../../otpForm-fiNqeB5H.js";
17
+ import "../../../otpForm-DhVp5Gvi.js";
18
18
  import { useSnackBarContext as tt } from "../../../context/snackBarContext.js";
19
19
  import at from "../../../hooks/useEverestDispatch.js";
20
20
  import "../../../index-CAoLi5Qq.js";
@@ -29,7 +29,7 @@ import "../../../index-ceeCtFuh.js";
29
29
  import "../../../index.esm-I_Bp2YLf.js";
30
30
  import "../../../context/dialogContext.js";
31
31
  import "@mui/icons-material";
32
- import { s as E } from "../../../styles.module-C1sNeKjL.js";
32
+ import { s as E } from "../../../styles.module-C99UuHOT.js";
33
33
  const st = ({
34
34
  navigate: ce,
35
35
  depositAddress: H,
@@ -2,22 +2,22 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../react-redux-C7I9-1M6.js";
4
4
  import "@mui/material";
5
- import "../../../PlayArrow-BVDyfxsQ.js";
5
+ import "../../../PlayArrow-WUr_Eyo1.js";
6
6
  import "../../../Info-DOoRR7sR.js";
7
7
  import "../../../generic-token-B_ptO5yb.js";
8
8
  import "../../../util/functions.js";
9
9
  import "../Shared/TokenModal/index.js";
10
10
  import "../../../util/conversions.js";
11
- import "../../../constants-DrmtdI1J.js";
12
- import "../../../index-BQNs1mvn.js";
13
- import "../../../cryptoAssets-DyGDknvq.js";
14
- import "../../../order-DEp_Lmar.js";
11
+ import "../../../constants-BRS2liAt.js";
12
+ import "../../../index-CREgBh59.js";
13
+ import "../../../cryptoAssets-BD0cJpXM.js";
14
+ import "../../../order-DBuLYKfx.js";
15
15
  import "../../../util/constants.js";
16
16
  import "../../../tooltip-BW0UyWw7.js";
17
17
  import "../../../index-DlQqWbXG.js";
18
18
  import "../Shared/appButton.js";
19
19
  import "../../../hoc/withThemeProvider.js";
20
- import "../../../otpForm-fiNqeB5H.js";
20
+ import "../../../otpForm-DhVp5Gvi.js";
21
21
  import "../../../context/snackBarContext.js";
22
22
  import "../../../hooks/useEverestDispatch.js";
23
23
  import "../../../index-CAoLi5Qq.js";
@@ -29,7 +29,7 @@ import "../../../web3-u4qDZYpo.js";
29
29
  import "../../../styles.module-DMd29SPQ.js";
30
30
  import "../Shared/Order/selectCustomIcon.js";
31
31
  import "../../../index-ceeCtFuh.js";
32
- import { S as J } from "../../../index-3OQ4M69t.js";
32
+ import { S as J } from "../../../index-C2weAjLp.js";
33
33
  import "../../../index.esm-I_Bp2YLf.js";
34
34
  import "../../../context/dialogContext.js";
35
35
  import "@mui/icons-material";
@@ -1,18 +1,18 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../hoc/withThemeProvider.js";
4
- import { F as f, M as F, a as I, i as L } from "../../../index-3OQ4M69t.js";
4
+ import { F as f, M as F, a as I, i as L } from "../../../index-C2weAjLp.js";
5
5
  import "../../../react-redux-C7I9-1M6.js";
6
- import "../../../constants-DrmtdI1J.js";
7
- import "../../../wallet-CauUBXou.js";
8
- import "../../../order-DEp_Lmar.js";
6
+ import "../../../constants-BRS2liAt.js";
7
+ import "../../../wallet-BLx0XKpK.js";
8
+ import "../../../order-DBuLYKfx.js";
9
9
  import "../../../util/constants.js";
10
10
  import "../../../context/snackBarContext.js";
11
11
  import "../Shared/Container/index.js";
12
12
  import "../../Shared/MinimalKyc/index.js";
13
13
  import "../Shared/Input/index.js";
14
14
  import "../Shared/appButton.js";
15
- import "../../../index-CDwzoHu7.js";
15
+ import "../../../index-BUtxhHso.js";
16
16
  import "../../../hooks/useEverestDispatch.js";
17
17
  export {
18
18
  f as FORM_SCREEN,
@@ -4,11 +4,11 @@ import { u as C } from "../../../react-redux-C7I9-1M6.js";
4
4
  import { Box as n, CircularProgress as d, Grid as s, Typography as p, Stack as E } from "@mui/material";
5
5
  import S from "../Shared/backBtn.js";
6
6
  import b from "../Shared/addBank.js";
7
- import { F as R, C as T } from "../../../index-C1WPCgkl.js";
8
- import "../../../constants-DrmtdI1J.js";
9
- import { u as A } from "../../../index-BQNs1mvn.js";
10
- import { o as O } from "../../../order-DEp_Lmar.js";
11
- import { u as y } from "../../../bank-C4pmTe--.js";
7
+ import { F as R, C as T } from "../../../index-DX8IEulu.js";
8
+ import "../../../constants-BRS2liAt.js";
9
+ import { u as A } from "../../../index-CREgBh59.js";
10
+ import { o as O } from "../../../order-DBuLYKfx.js";
11
+ import { u as y } from "../../../bank-CPJa0NOE.js";
12
12
  import _ from "../Shared/connectPlaidBank.js";
13
13
  import { s as c } from "../../../styles.module-DMd29SPQ.js";
14
14
  import { RADIO_BUTTON_SELECTED as I, RADIO_BUTTON as D } from "../../../util/constants.js";