mario-core 2.0.38-stage → 2.0.38-stage-test

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 (121) hide show
  1. package/dist/Dashboard-BY5BVLIW.mjs +206 -0
  2. package/dist/Dashboard-Br6Pm62o.mjs +206 -0
  3. package/dist/Dashboard-D2nlbB6J.js +1 -0
  4. package/dist/Dashboard-D4yeROnn.mjs +206 -0
  5. package/dist/Dashboard-D6igZd4M.js +1 -0
  6. package/dist/Dashboard-DbI4E9od.js +1 -0
  7. package/dist/Dashboard-GVRqrXWo.mjs +206 -0
  8. package/dist/Dashboard-sqGFitV_.js +1 -0
  9. package/dist/EmailTemplateDetail-BJGaN7uh.js +1 -0
  10. package/dist/EmailTemplateDetail-BlhCa_EF.mjs +443 -0
  11. package/dist/EmailTemplateDetail-C5TND7Jy.mjs +443 -0
  12. package/dist/EmailTemplateDetail-COXnIF1r.js +1 -0
  13. package/dist/EmailTemplateDetail-J5R0X631.mjs +443 -0
  14. package/dist/EmailTemplateDetail-c2RcFzG5.js +1 -0
  15. package/dist/EmailTemplateDetail-cdOB7-qd.mjs +443 -0
  16. package/dist/EmailTemplateDetail-rKuAQMK4.js +1 -0
  17. package/dist/EmailTemplateList-BAVOo58z.js +1 -0
  18. package/dist/EmailTemplateList-BMCpm7sf.js +1 -0
  19. package/dist/EmailTemplateList-BQCcXdif.mjs +170 -0
  20. package/dist/EmailTemplateList-C5BO1qGA.js +1 -0
  21. package/dist/EmailTemplateList-CcycJcc0.mjs +170 -0
  22. package/dist/EmailTemplateList-CzFNc-Va.js +1 -0
  23. package/dist/EmailTemplateList-DrhQSou-.mjs +170 -0
  24. package/dist/EmailTemplateList-JRLV6pZW.mjs +170 -0
  25. package/dist/GalleryList-02InQQ4J.mjs +329 -0
  26. package/dist/GalleryList-B0WHAZVA.js +1 -0
  27. package/dist/GalleryList-BftIdfu8.js +1 -0
  28. package/dist/GalleryList-ByJ1_7Qx.mjs +329 -0
  29. package/dist/GalleryList-DHblERzG.js +1 -0
  30. package/dist/GalleryList-DpM906eg.mjs +329 -0
  31. package/dist/GalleryList-XgqteYvT.js +1 -0
  32. package/dist/GalleryList-dOIJJJr4.mjs +329 -0
  33. package/dist/Login-A2cXwovI.mjs +1380 -0
  34. package/dist/Login-AZUox4WJ.js +1 -0
  35. package/dist/Login-B0SFTzxw.js +1 -0
  36. package/dist/Login-C12Whvdx.js +1 -0
  37. package/dist/Login-C7iWduI-.mjs +1380 -0
  38. package/dist/Login-CIcbHD7-.mjs +1380 -0
  39. package/dist/Login-CaZlDqnt.mjs +1380 -0
  40. package/dist/Login-Rwbmk--s.js +1 -0
  41. package/dist/NotificationList-0Unz_YTn.js +2 -0
  42. package/dist/NotificationList-BmA9aaFp.mjs +3969 -0
  43. package/dist/NotificationList-DZ1epO3L.mjs +3969 -0
  44. package/dist/NotificationList-D_lGCmIS.js +2 -0
  45. package/dist/NotificationList-DcXoePJy.mjs +3969 -0
  46. package/dist/NotificationList-DctInuRV.js +2 -0
  47. package/dist/NotificationList-Ku1m25fI.mjs +3969 -0
  48. package/dist/NotificationList-_AHdv4bs.js +2 -0
  49. package/dist/SkillList-C-dw1122.js +1 -0
  50. package/dist/SkillList-C0ZfIxCl.js +1 -0
  51. package/dist/SkillList-ChI--c1_.js +1 -0
  52. package/dist/SkillList-DX530KHp.mjs +386 -0
  53. package/dist/SkillList-DYJ1USzR.js +1 -0
  54. package/dist/SkillList-DahOq8Os.mjs +386 -0
  55. package/dist/SkillList-PwOsqwqa.mjs +386 -0
  56. package/dist/SkillList-reP_3VXw.mjs +386 -0
  57. package/dist/TeacherSelector-Bi582rEx.mjs +30 -0
  58. package/dist/TeacherSelector-BmmfQxU8.js +1 -0
  59. package/dist/TeacherSelector-C7-XuXfb.mjs +30 -0
  60. package/dist/TeacherSelector-D0ePQUoF.js +1 -0
  61. package/dist/TeacherSelector-DIMbs8ei.js +1 -0
  62. package/dist/TeacherSelector-DL_Q5c2m.mjs +30 -0
  63. package/dist/TeacherSelector-DomtJIQi.js +1 -0
  64. package/dist/TeacherSelector-RqjPTziM.mjs +30 -0
  65. package/dist/TheContent-8mxlQjo9.mjs +38 -0
  66. package/dist/TheContent-C1oUudo_.mjs +38 -0
  67. package/dist/TheContent-CH__ZxdI.js +1 -0
  68. package/dist/TheContent-CayaQR9C.js +1 -0
  69. package/dist/TheContent-DHWnB8WX.js +1 -0
  70. package/dist/TheContent-Dl7_h11H.mjs +38 -0
  71. package/dist/TheContent-Du9uLezt.js +1 -0
  72. package/dist/TheContent-aEfXKW_H.mjs +38 -0
  73. package/dist/UserContainer-67U6CJdC.mjs +2771 -0
  74. package/dist/UserContainer-7MPr4UXJ.js +5 -0
  75. package/dist/UserContainer-BjYrV0kt.mjs +2783 -0
  76. package/dist/UserContainer-BoJ73Ko9.js +5 -0
  77. package/dist/UserContainer-CFnSfW2A.js +5 -0
  78. package/dist/UserContainer-CqTUtCe6.mjs +2770 -0
  79. package/dist/UserContainer-Dx3FMkRo.js +5 -0
  80. package/dist/UserContainer-i6oI5_9M.mjs +2770 -0
  81. package/dist/UserDetail-CpUlm30h.mjs +902 -0
  82. package/dist/UserDetail-DFjYZZOc.js +1 -0
  83. package/dist/UserDetail-DIGlXdot.mjs +914 -0
  84. package/dist/UserDetail-DLC8X5Hx.js +1 -0
  85. package/dist/UserDetail-DOVxVkd2.mjs +902 -0
  86. package/dist/UserDetail-DizNdqsR.mjs +902 -0
  87. package/dist/UserDetail-Wn1wTs2Z.js +1 -0
  88. package/dist/UserDetail-w8XaBSzM.js +1 -0
  89. package/dist/UserList-BjEBqEMi.mjs +1205 -0
  90. package/dist/UserList-BmlbQUxf.js +7 -0
  91. package/dist/UserList-C5Z8dDFs.js +7 -0
  92. package/dist/UserList-C6MCzl4Q.js +7 -0
  93. package/dist/UserList-CKK3zzfP.mjs +1205 -0
  94. package/dist/UserList-D-5W9tzb.mjs +1205 -0
  95. package/dist/UserList-D1Ww-Lqv.mjs +1205 -0
  96. package/dist/UserList-DX_DRp8l.js +7 -0
  97. package/dist/constants-BDzwhtDf.js +1 -0
  98. package/dist/constants-BXFDJA-1.js +1 -0
  99. package/dist/constants-BdoFiMvT.mjs +320 -0
  100. package/dist/constants-D3RqPPqz.mjs +320 -0
  101. package/dist/constants-D5ZWXomx.js +1 -0
  102. package/dist/constants-DIgPD0z-.js +1 -0
  103. package/dist/constants-DJweqObn.mjs +320 -0
  104. package/dist/constants-uRV2iNfG.mjs +320 -0
  105. package/dist/index-BB7jBVcH.js +15 -0
  106. package/dist/index-BTWI5jDz.js +15 -0
  107. package/dist/index-C0xsq2-T.mjs +17792 -0
  108. package/dist/index-C1gw45bw.mjs +17792 -0
  109. package/dist/index-D6pNkzlV.mjs +17787 -0
  110. package/dist/index-DZmetYKC.mjs +17787 -0
  111. package/dist/index-Dx9ysIXj.js +15 -0
  112. package/dist/index-Ihdym4EQ.js +15 -0
  113. package/dist/mailCategoryService-6qSmjMx7.mjs +11 -0
  114. package/dist/mailCategoryService-A4P6H91S.mjs +11 -0
  115. package/dist/mailCategoryService-BBEnNS1f.js +1 -0
  116. package/dist/mailCategoryService-BbqIjbpT.mjs +11 -0
  117. package/dist/mailCategoryService-C1sorb9h.js +1 -0
  118. package/dist/mailCategoryService-DBVi2zkj.js +1 -0
  119. package/dist/mailCategoryService-DrZXrEp2.js +1 -0
  120. package/dist/mailCategoryService-MyMGdKSl.mjs +11 -0
  121. package/package.json +1 -1
@@ -0,0 +1,206 @@
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { useState as N, useRef as I, useCallback as h, useEffect as f } from "react";
3
+ import { useSelector as k } from "react-redux";
4
+ import { Row as T, Col as u, Navbar as C, NavbarBrand as y, Collapse as E, Nav as A, NavItem as g, NavLink as p } from "reactstrap";
5
+ import { s as n, h as m, G as H } from "./index-C1gw45bw.mjs";
6
+ import { Link as v } from "react-router-dom";
7
+ const M = () => /* @__PURE__ */ a("div", { className: `${n["content-quote"]}`, children: [
8
+ /* @__PURE__ */ a("div", { className: `${n["title-quote"]} d-block`, children: [
9
+ /* @__PURE__ */ e("p", { children: "Powerful" }),
10
+ /* @__PURE__ */ e("p", { children: "Personalized" }),
11
+ /* @__PURE__ */ e("p", { children: "Learning" })
12
+ ] }),
13
+ /* @__PURE__ */ a(
14
+ "div",
15
+ {
16
+ className: `${n["descriptions-quote"]} d-block`,
17
+ children: [
18
+ /* @__PURE__ */ e("p", { children: "Focus on what matters most to you and" }),
19
+ /* @__PURE__ */ e("p", { children: "make learning meaningful." })
20
+ ]
21
+ }
22
+ )
23
+ ] }), w = ({ srcIcon: r, content: t }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
24
+ /* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: m(r), alt: "icon" }) }),
25
+ /* @__PURE__ */ e(
26
+ "div",
27
+ {
28
+ className: `${n["descriptions-icon"]}`,
29
+ dangerouslySetInnerHTML: { __html: t }
30
+ }
31
+ )
32
+ ] }, t), D = [
33
+ {
34
+ scrIcon: "/images/ChatsTeardrop.svg",
35
+ content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
36
+ },
37
+ {
38
+ scrIcon: "/images/Student.svg",
39
+ content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
40
+ },
41
+ {
42
+ scrIcon: "/images/Confetti.svg",
43
+ content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
44
+ }
45
+ ], L = ({}) => /* @__PURE__ */ a(T, { className: `${n["page-not-login"]}`, children: [
46
+ /* @__PURE__ */ e(u, { md: 12, children: /* @__PURE__ */ e(M, {}) }),
47
+ /* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((r) => /* @__PURE__ */ e(
48
+ w,
49
+ {
50
+ srcIcon: r.scrIcon,
51
+ content: r.content
52
+ },
53
+ r.scrIcon
54
+ )) })
55
+ ] });
56
+ function O(r) {
57
+ return H({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(r);
58
+ }
59
+ const S = 1e4, _ = ({
60
+ data: r,
61
+ duration: t = S
62
+ }) => {
63
+ const [o, l] = N(r.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === r.length - 1 || c === o - 1 ? n.behind : "", [o, r.length]), b = h(() => {
64
+ s && s.current && clearInterval(s.current), s.current = setInterval(() => {
65
+ l((c) => c >= r.length - 1 ? 0 : c + 1);
66
+ }, t);
67
+ }, [t, r.length]);
68
+ return f(() => (b(), () => {
69
+ s && s.current && clearInterval(s.current);
70
+ }), [r.length, t]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: r.map((c, i) => /* @__PURE__ */ e(
71
+ "img",
72
+ {
73
+ alt: `Image ${i + 1}`,
74
+ className: `${$(i)} ${d(i)}`,
75
+ src: m(c)
76
+ },
77
+ i
78
+ )) });
79
+ }, j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Education", z = [
80
+ "images/landing-page.jpg",
81
+ "images/landing-page2.jpg",
82
+ "images/landing-page3.jpg"
83
+ ], J = ({ version: r }) => {
84
+ const [t, o] = N(!1), l = k((d) => d.common.user), s = () => o(!t);
85
+ return f(() => {
86
+ l ? document.title = R : document.title = U;
87
+ }, [l]), /* @__PURE__ */ a(
88
+ "div",
89
+ {
90
+ className: `${n.login} ${n["red-background"]} position-relative`,
91
+ children: [
92
+ /* @__PURE__ */ e(
93
+ "span",
94
+ {
95
+ className: `${n["version-prod"]}`,
96
+ children: `v ${r}`
97
+ }
98
+ ),
99
+ /* @__PURE__ */ e(_, { data: z }),
100
+ /* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
101
+ /* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
102
+ /* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e(
103
+ "img",
104
+ {
105
+ src: m("/images/logo-white.svg"),
106
+ alt: "mario"
107
+ }
108
+ ) }),
109
+ /* @__PURE__ */ e(
110
+ O,
111
+ {
112
+ onClick: s,
113
+ className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
114
+ }
115
+ ),
116
+ /* @__PURE__ */ a(
117
+ E,
118
+ {
119
+ isOpen: t,
120
+ navbar: !0,
121
+ className: `${n["collapse-box"]}`,
122
+ children: [
123
+ /* @__PURE__ */ a(
124
+ A,
125
+ {
126
+ className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
127
+ navbar: !0,
128
+ children: [
129
+ /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
130
+ p,
131
+ {
132
+ className: `${n["learn-more"]} align-self-md-center`,
133
+ href: "https://marioframework.com/software",
134
+ target: "blank",
135
+ children: "Learn More"
136
+ }
137
+ ) }),
138
+ /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
139
+ p,
140
+ {
141
+ className: `${n["learn-more"]} align-self-md-center`,
142
+ href: "mailto: Info@marioeducation.com",
143
+ target: "blank",
144
+ children: "Contact"
145
+ }
146
+ ) }),
147
+ /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
148
+ p,
149
+ {
150
+ className: `${n["learn-more"]} align-self-md-center`,
151
+ href: "/privacy-policy",
152
+ target: "blank",
153
+ children: "Privacy Policy"
154
+ }
155
+ ) })
156
+ ]
157
+ }
158
+ ),
159
+ /* @__PURE__ */ e(
160
+ "div",
161
+ {
162
+ className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
163
+ children: l ? /* @__PURE__ */ e(
164
+ v,
165
+ {
166
+ to: l.roles.includes("Admin") ? j : l.roles.includes("Teacher") ? x : B,
167
+ className: `${n["btn-trans-border"]}`,
168
+ children: "Dashboard"
169
+ }
170
+ ) : /* @__PURE__ */ e(
171
+ v,
172
+ {
173
+ to: "/login",
174
+ className: `${n["btn-trans-border"]}`,
175
+ children: "Login"
176
+ }
177
+ )
178
+ }
179
+ )
180
+ ]
181
+ }
182
+ )
183
+ ] }),
184
+ /* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
185
+ /* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
186
+ "a",
187
+ {
188
+ href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
189
+ target: "blank",
190
+ children: /* @__PURE__ */ e(
191
+ "img",
192
+ {
193
+ src: m("/images/STUDENT.png"),
194
+ alt: "icon"
195
+ }
196
+ )
197
+ }
198
+ ) })
199
+ ] })
200
+ ]
201
+ }
202
+ );
203
+ };
204
+ export {
205
+ J as default
206
+ };
@@ -0,0 +1,206 @@
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { useState as N, useRef as I, useCallback as h, useEffect as f } from "react";
3
+ import { useSelector as k } from "react-redux";
4
+ import { Row as T, Col as u, Navbar as C, NavbarBrand as y, Collapse as E, Nav as A, NavItem as g, NavLink as p } from "reactstrap";
5
+ import { s as n, h as m, G as H } from "./index-C0xsq2-T.mjs";
6
+ import { Link as v } from "react-router-dom";
7
+ const M = () => /* @__PURE__ */ a("div", { className: `${n["content-quote"]}`, children: [
8
+ /* @__PURE__ */ a("div", { className: `${n["title-quote"]} d-block`, children: [
9
+ /* @__PURE__ */ e("p", { children: "Powerful" }),
10
+ /* @__PURE__ */ e("p", { children: "Personalized" }),
11
+ /* @__PURE__ */ e("p", { children: "Learning" })
12
+ ] }),
13
+ /* @__PURE__ */ a(
14
+ "div",
15
+ {
16
+ className: `${n["descriptions-quote"]} d-block`,
17
+ children: [
18
+ /* @__PURE__ */ e("p", { children: "Focus on what matters most to you and" }),
19
+ /* @__PURE__ */ e("p", { children: "make learning meaningful." })
20
+ ]
21
+ }
22
+ )
23
+ ] }), w = ({ srcIcon: r, content: t }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
24
+ /* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: m(r), alt: "icon" }) }),
25
+ /* @__PURE__ */ e(
26
+ "div",
27
+ {
28
+ className: `${n["descriptions-icon"]}`,
29
+ dangerouslySetInnerHTML: { __html: t }
30
+ }
31
+ )
32
+ ] }, t), D = [
33
+ {
34
+ scrIcon: "/images/ChatsTeardrop.svg",
35
+ content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
36
+ },
37
+ {
38
+ scrIcon: "/images/Student.svg",
39
+ content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
40
+ },
41
+ {
42
+ scrIcon: "/images/Confetti.svg",
43
+ content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
44
+ }
45
+ ], L = ({}) => /* @__PURE__ */ a(T, { className: `${n["page-not-login"]}`, children: [
46
+ /* @__PURE__ */ e(u, { md: 12, children: /* @__PURE__ */ e(M, {}) }),
47
+ /* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((r) => /* @__PURE__ */ e(
48
+ w,
49
+ {
50
+ srcIcon: r.scrIcon,
51
+ content: r.content
52
+ },
53
+ r.scrIcon
54
+ )) })
55
+ ] });
56
+ function O(r) {
57
+ return H({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(r);
58
+ }
59
+ const S = 1e4, _ = ({
60
+ data: r,
61
+ duration: t = S
62
+ }) => {
63
+ const [o, l] = N(r.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === r.length - 1 || c === o - 1 ? n.behind : "", [o, r.length]), b = h(() => {
64
+ s && s.current && clearInterval(s.current), s.current = setInterval(() => {
65
+ l((c) => c >= r.length - 1 ? 0 : c + 1);
66
+ }, t);
67
+ }, [t, r.length]);
68
+ return f(() => (b(), () => {
69
+ s && s.current && clearInterval(s.current);
70
+ }), [r.length, t]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: r.map((c, i) => /* @__PURE__ */ e(
71
+ "img",
72
+ {
73
+ alt: `Image ${i + 1}`,
74
+ className: `${$(i)} ${d(i)}`,
75
+ src: m(c)
76
+ },
77
+ i
78
+ )) });
79
+ }, j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Education", z = [
80
+ "images/landing-page.jpg",
81
+ "images/landing-page2.jpg",
82
+ "images/landing-page3.jpg"
83
+ ], J = ({ version: r }) => {
84
+ const [t, o] = N(!1), l = k((d) => d.common.user), s = () => o(!t);
85
+ return f(() => {
86
+ l ? document.title = R : document.title = U;
87
+ }, [l]), /* @__PURE__ */ a(
88
+ "div",
89
+ {
90
+ className: `${n.login} ${n["red-background"]} position-relative`,
91
+ children: [
92
+ /* @__PURE__ */ e(
93
+ "span",
94
+ {
95
+ className: `${n["version-prod"]}`,
96
+ children: `v ${r}`
97
+ }
98
+ ),
99
+ /* @__PURE__ */ e(_, { data: z }),
100
+ /* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
101
+ /* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
102
+ /* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e(
103
+ "img",
104
+ {
105
+ src: m("/images/logo-white.svg"),
106
+ alt: "mario"
107
+ }
108
+ ) }),
109
+ /* @__PURE__ */ e(
110
+ O,
111
+ {
112
+ onClick: s,
113
+ className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
114
+ }
115
+ ),
116
+ /* @__PURE__ */ a(
117
+ E,
118
+ {
119
+ isOpen: t,
120
+ navbar: !0,
121
+ className: `${n["collapse-box"]}`,
122
+ children: [
123
+ /* @__PURE__ */ a(
124
+ A,
125
+ {
126
+ className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
127
+ navbar: !0,
128
+ children: [
129
+ /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
130
+ p,
131
+ {
132
+ className: `${n["learn-more"]} align-self-md-center`,
133
+ href: "https://marioframework.com/software",
134
+ target: "blank",
135
+ children: "Learn More"
136
+ }
137
+ ) }),
138
+ /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
139
+ p,
140
+ {
141
+ className: `${n["learn-more"]} align-self-md-center`,
142
+ href: "mailto: Info@marioeducation.com",
143
+ target: "blank",
144
+ children: "Contact"
145
+ }
146
+ ) }),
147
+ /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
148
+ p,
149
+ {
150
+ className: `${n["learn-more"]} align-self-md-center`,
151
+ href: "/privacy-policy",
152
+ target: "blank",
153
+ children: "Privacy Policy"
154
+ }
155
+ ) })
156
+ ]
157
+ }
158
+ ),
159
+ /* @__PURE__ */ e(
160
+ "div",
161
+ {
162
+ className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
163
+ children: l ? /* @__PURE__ */ e(
164
+ v,
165
+ {
166
+ to: l.roles.includes("Admin") ? j : l.roles.includes("Teacher") ? x : B,
167
+ className: `${n["btn-trans-border"]}`,
168
+ children: "Dashboard"
169
+ }
170
+ ) : /* @__PURE__ */ e(
171
+ v,
172
+ {
173
+ to: "/login",
174
+ className: `${n["btn-trans-border"]}`,
175
+ children: "Login"
176
+ }
177
+ )
178
+ }
179
+ )
180
+ ]
181
+ }
182
+ )
183
+ ] }),
184
+ /* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
185
+ /* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
186
+ "a",
187
+ {
188
+ href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
189
+ target: "blank",
190
+ children: /* @__PURE__ */ e(
191
+ "img",
192
+ {
193
+ src: m("/images/STUDENT.png"),
194
+ alt: "icon"
195
+ }
196
+ )
197
+ }
198
+ ) })
199
+ ] })
200
+ ]
201
+ }
202
+ );
203
+ };
204
+ export {
205
+ J as default
206
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),p=require("react-redux"),n=require("reactstrap"),s=require("./index-Dx9ysIXj.js"),g=require("react-router-dom"),j=()=>e.jsxs("div",{className:`${s.styles["content-quote"]}`,children:[e.jsxs("div",{className:`${s.styles["title-quote"]} d-block`,children:[e.jsx("p",{children:"Powerful"}),e.jsx("p",{children:"Personalized"}),e.jsx("p",{children:"Learning"})]}),e.jsxs("div",{className:`${s.styles["descriptions-quote"]} d-block`,children:[e.jsx("p",{children:"Focus on what matters most to you and"}),e.jsx("p",{children:"make learning meaningful."})]})]}),x=({srcIcon:t,content:a})=>e.jsxs("div",{className:`${s.styles["content-icon"]}`,children:[e.jsx("div",{className:`${s.styles["title-icon"]}`,children:e.jsx("img",{src:s.getStaticFileUrl(t),alt:"icon"})}),e.jsx("div",{className:`${s.styles["descriptions-icon"]}`,dangerouslySetInnerHTML:{__html:a}})]},a),v=[{scrIcon:"/images/ChatsTeardrop.svg",content:"<p>Understand yourself better through <span>helpful feedback</span>.</p>"},{scrIcon:"/images/Student.svg",content:"<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"},{scrIcon:"/images/Confetti.svg",content:"<p>Set, monitor, and achieve <span>your goals</span>.</p>"}],y=({})=>e.jsxs(n.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(n.Col,{md:12,children:e.jsx(j,{})}),e.jsx(n.Col,{md:12,className:`${s.styles["box-content-home-page"]} d-flex align-items-center`,children:v.map(t=>e.jsx(x,{srcIcon:t.scrIcon,content:t.content},t.scrIcon))})]});function N(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const b=1e4,f=({data:t,duration:a=b})=>{const[i,o]=c.useState(t.length),r=c.useRef(null),d=c.useCallback(l=>l===i?`${s.styles.active} ${s.styles.show}`:"",[i]),h=c.useCallback(l=>i===0&&l===t.length-1||l===i-1?s.styles.behind:"",[i,t.length]),u=c.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{o(l=>l>=t.length-1?0:l+1)},a)},[a,t.length]);return c.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,a]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,m)=>e.jsx("img",{alt:`Image ${m+1}`,className:`${h(m)} ${d(m)}`,src:s.getStaticFileUrl(l)},m))})},I="/admin/users/user-list",$="/home",k="/home",C="Dashboard",T="Mario Education",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const[a,i]=c.useState(!1),o=p.useSelector(d=>d.common.user),r=()=>i(!a);return c.useEffect(()=>{o?document.title=C:document.title=T},[o]),e.jsxs("div",{className:`${s.styles.login} ${s.styles["red-background"]} position-relative`,children:[e.jsx("span",{className:`${s.styles["version-prod"]}`,children:`v ${t}`}),e.jsx(f,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(n.Navbar,{light:!0,expand:"md",children:[e.jsx(n.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(N,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(n.Collapse,{isOpen:a,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(n.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"mailto: Info@marioeducation.com",target:"blank",children:"Contact"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"/privacy-policy",target:"blank",children:"Privacy Policy"})})]}),e.jsx("div",{className:`${s.styles["hide-in-mobile"]} d-flex justify-content-end`,children:o?e.jsx(g.Link,{to:o.roles.includes("Admin")?I:o.roles.includes("Teacher")?$:k,className:`${s.styles["btn-trans-border"]}`,children:"Dashboard"}):e.jsx(g.Link,{to:"/login",className:`${s.styles["btn-trans-border"]}`,children:"Login"})})]})]}),e.jsx("div",{className:"",children:e.jsx(y,{})}),e.jsx("div",{className:`${s.styles["digital-privacy-icon"]}`,children:e.jsx("a",{href:"https://cert.privo.com/#/companies/marioFrameworkLlc",target:"blank",children:e.jsx("img",{src:s.getStaticFileUrl("/images/STUDENT.png"),alt:"icon"})})})]})]})};exports.default=E;
@@ -0,0 +1,206 @@
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { useState as N, useRef as I, useCallback as h, useEffect as f } from "react";
3
+ import { useSelector as k } from "react-redux";
4
+ import { Row as T, Col as u, Navbar as C, NavbarBrand as y, Collapse as E, Nav as A, NavItem as g, NavLink as p } from "reactstrap";
5
+ import { s as n, h as m, G as H } from "./index-D6pNkzlV.mjs";
6
+ import { Link as v } from "react-router-dom";
7
+ const M = () => /* @__PURE__ */ a("div", { className: `${n["content-quote"]}`, children: [
8
+ /* @__PURE__ */ a("div", { className: `${n["title-quote"]} d-block`, children: [
9
+ /* @__PURE__ */ e("p", { children: "Powerful" }),
10
+ /* @__PURE__ */ e("p", { children: "Personalized" }),
11
+ /* @__PURE__ */ e("p", { children: "Learning" })
12
+ ] }),
13
+ /* @__PURE__ */ a(
14
+ "div",
15
+ {
16
+ className: `${n["descriptions-quote"]} d-block`,
17
+ children: [
18
+ /* @__PURE__ */ e("p", { children: "Focus on what matters most to you and" }),
19
+ /* @__PURE__ */ e("p", { children: "make learning meaningful." })
20
+ ]
21
+ }
22
+ )
23
+ ] }), w = ({ srcIcon: r, content: t }) => /* @__PURE__ */ a("div", { className: `${n["content-icon"]}`, children: [
24
+ /* @__PURE__ */ e("div", { className: `${n["title-icon"]}`, children: /* @__PURE__ */ e("img", { src: m(r), alt: "icon" }) }),
25
+ /* @__PURE__ */ e(
26
+ "div",
27
+ {
28
+ className: `${n["descriptions-icon"]}`,
29
+ dangerouslySetInnerHTML: { __html: t }
30
+ }
31
+ )
32
+ ] }, t), D = [
33
+ {
34
+ scrIcon: "/images/ChatsTeardrop.svg",
35
+ content: "<p>Understand yourself better through <span>helpful feedback</span>.</p>"
36
+ },
37
+ {
38
+ scrIcon: "/images/Student.svg",
39
+ content: "<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"
40
+ },
41
+ {
42
+ scrIcon: "/images/Confetti.svg",
43
+ content: "<p>Set, monitor, and achieve <span>your goals</span>.</p>"
44
+ }
45
+ ], L = ({}) => /* @__PURE__ */ a(T, { className: `${n["page-not-login"]}`, children: [
46
+ /* @__PURE__ */ e(u, { md: 12, children: /* @__PURE__ */ e(M, {}) }),
47
+ /* @__PURE__ */ e(u, { md: 12, className: `${n["box-content-home-page"]} d-flex align-items-center`, children: D.map((r) => /* @__PURE__ */ e(
48
+ w,
49
+ {
50
+ srcIcon: r.scrIcon,
51
+ content: r.content
52
+ },
53
+ r.scrIcon
54
+ )) })
55
+ ] });
56
+ function O(r) {
57
+ return H({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z" } }] })(r);
58
+ }
59
+ const S = 1e4, _ = ({
60
+ data: r,
61
+ duration: t = S
62
+ }) => {
63
+ const [o, l] = N(r.length), s = I(null), d = h((c) => c === o ? `${n.active} ${n.show}` : "", [o]), $ = h((c) => o === 0 && c === r.length - 1 || c === o - 1 ? n.behind : "", [o, r.length]), b = h(() => {
64
+ s && s.current && clearInterval(s.current), s.current = setInterval(() => {
65
+ l((c) => c >= r.length - 1 ? 0 : c + 1);
66
+ }, t);
67
+ }, [t, r.length]);
68
+ return f(() => (b(), () => {
69
+ s && s.current && clearInterval(s.current);
70
+ }), [r.length, t]), /* @__PURE__ */ e("div", { className: `${n["bg-animate"]} position-absolute`, children: r.map((c, i) => /* @__PURE__ */ e(
71
+ "img",
72
+ {
73
+ alt: `Image ${i + 1}`,
74
+ className: `${$(i)} ${d(i)}`,
75
+ src: m(c)
76
+ },
77
+ i
78
+ )) });
79
+ }, j = "/admin/users/user-list", x = "/home", B = "/home", R = "Dashboard", U = "Mario Education", z = [
80
+ "images/landing-page.jpg",
81
+ "images/landing-page2.jpg",
82
+ "images/landing-page3.jpg"
83
+ ], J = ({ version: r }) => {
84
+ const [t, o] = N(!1), l = k((d) => d.common.user), s = () => o(!t);
85
+ return f(() => {
86
+ l ? document.title = R : document.title = U;
87
+ }, [l]), /* @__PURE__ */ a(
88
+ "div",
89
+ {
90
+ className: `${n.login} ${n["red-background"]} position-relative`,
91
+ children: [
92
+ /* @__PURE__ */ e(
93
+ "span",
94
+ {
95
+ className: `${n["version-prod"]}`,
96
+ children: `v ${r}`
97
+ }
98
+ ),
99
+ /* @__PURE__ */ e(_, { data: z }),
100
+ /* @__PURE__ */ a("div", { className: `${n["login-content"]}`, children: [
101
+ /* @__PURE__ */ a(C, { light: !0, expand: "md", children: [
102
+ /* @__PURE__ */ e(y, { href: "/", className: `${n["logo-home"]}`, children: /* @__PURE__ */ e(
103
+ "img",
104
+ {
105
+ src: m("/images/logo-white.svg"),
106
+ alt: "mario"
107
+ }
108
+ ) }),
109
+ /* @__PURE__ */ e(
110
+ O,
111
+ {
112
+ onClick: s,
113
+ className: `${n["hide-in-desktop"]} ${n["hamburger-menu"]}`
114
+ }
115
+ ),
116
+ /* @__PURE__ */ a(
117
+ E,
118
+ {
119
+ isOpen: t,
120
+ navbar: !0,
121
+ className: `${n["collapse-box"]}`,
122
+ children: [
123
+ /* @__PURE__ */ a(
124
+ A,
125
+ {
126
+ className: `${n["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,
127
+ navbar: !0,
128
+ children: [
129
+ /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
130
+ p,
131
+ {
132
+ className: `${n["learn-more"]} align-self-md-center`,
133
+ href: "https://marioframework.com/software",
134
+ target: "blank",
135
+ children: "Learn More"
136
+ }
137
+ ) }),
138
+ /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
139
+ p,
140
+ {
141
+ className: `${n["learn-more"]} align-self-md-center`,
142
+ href: "mailto: Info@marioeducation.com",
143
+ target: "blank",
144
+ children: "Contact"
145
+ }
146
+ ) }),
147
+ /* @__PURE__ */ e(g, { children: /* @__PURE__ */ e(
148
+ p,
149
+ {
150
+ className: `${n["learn-more"]} align-self-md-center`,
151
+ href: "/privacy-policy",
152
+ target: "blank",
153
+ children: "Privacy Policy"
154
+ }
155
+ ) })
156
+ ]
157
+ }
158
+ ),
159
+ /* @__PURE__ */ e(
160
+ "div",
161
+ {
162
+ className: `${n["hide-in-mobile"]} d-flex justify-content-end`,
163
+ children: l ? /* @__PURE__ */ e(
164
+ v,
165
+ {
166
+ to: l.roles.includes("Admin") ? j : l.roles.includes("Teacher") ? x : B,
167
+ className: `${n["btn-trans-border"]}`,
168
+ children: "Dashboard"
169
+ }
170
+ ) : /* @__PURE__ */ e(
171
+ v,
172
+ {
173
+ to: "/login",
174
+ className: `${n["btn-trans-border"]}`,
175
+ children: "Login"
176
+ }
177
+ )
178
+ }
179
+ )
180
+ ]
181
+ }
182
+ )
183
+ ] }),
184
+ /* @__PURE__ */ e("div", { className: "", children: /* @__PURE__ */ e(L, {}) }),
185
+ /* @__PURE__ */ e("div", { className: `${n["digital-privacy-icon"]}`, children: /* @__PURE__ */ e(
186
+ "a",
187
+ {
188
+ href: "https://cert.privo.com/#/companies/marioFrameworkLlc",
189
+ target: "blank",
190
+ children: /* @__PURE__ */ e(
191
+ "img",
192
+ {
193
+ src: m("/images/STUDENT.png"),
194
+ alt: "icon"
195
+ }
196
+ )
197
+ }
198
+ ) })
199
+ ] })
200
+ ]
201
+ }
202
+ );
203
+ };
204
+ export {
205
+ J as default
206
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),p=require("react-redux"),n=require("reactstrap"),s=require("./index-Ihdym4EQ.js"),g=require("react-router-dom"),j=()=>e.jsxs("div",{className:`${s.styles["content-quote"]}`,children:[e.jsxs("div",{className:`${s.styles["title-quote"]} d-block`,children:[e.jsx("p",{children:"Powerful"}),e.jsx("p",{children:"Personalized"}),e.jsx("p",{children:"Learning"})]}),e.jsxs("div",{className:`${s.styles["descriptions-quote"]} d-block`,children:[e.jsx("p",{children:"Focus on what matters most to you and"}),e.jsx("p",{children:"make learning meaningful."})]})]}),x=({srcIcon:t,content:a})=>e.jsxs("div",{className:`${s.styles["content-icon"]}`,children:[e.jsx("div",{className:`${s.styles["title-icon"]}`,children:e.jsx("img",{src:s.getStaticFileUrl(t),alt:"icon"})}),e.jsx("div",{className:`${s.styles["descriptions-icon"]}`,dangerouslySetInnerHTML:{__html:a}})]},a),v=[{scrIcon:"/images/ChatsTeardrop.svg",content:"<p>Understand yourself better through <span>helpful feedback</span>.</p>"},{scrIcon:"/images/Student.svg",content:"<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"},{scrIcon:"/images/Confetti.svg",content:"<p>Set, monitor, and achieve <span>your goals</span>.</p>"}],y=({})=>e.jsxs(n.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(n.Col,{md:12,children:e.jsx(j,{})}),e.jsx(n.Col,{md:12,className:`${s.styles["box-content-home-page"]} d-flex align-items-center`,children:v.map(t=>e.jsx(x,{srcIcon:t.scrIcon,content:t.content},t.scrIcon))})]});function N(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const b=1e4,f=({data:t,duration:a=b})=>{const[i,o]=c.useState(t.length),r=c.useRef(null),d=c.useCallback(l=>l===i?`${s.styles.active} ${s.styles.show}`:"",[i]),h=c.useCallback(l=>i===0&&l===t.length-1||l===i-1?s.styles.behind:"",[i,t.length]),u=c.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{o(l=>l>=t.length-1?0:l+1)},a)},[a,t.length]);return c.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,a]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,m)=>e.jsx("img",{alt:`Image ${m+1}`,className:`${h(m)} ${d(m)}`,src:s.getStaticFileUrl(l)},m))})},I="/admin/users/user-list",$="/home",k="/home",C="Dashboard",T="Mario Education",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const[a,i]=c.useState(!1),o=p.useSelector(d=>d.common.user),r=()=>i(!a);return c.useEffect(()=>{o?document.title=C:document.title=T},[o]),e.jsxs("div",{className:`${s.styles.login} ${s.styles["red-background"]} position-relative`,children:[e.jsx("span",{className:`${s.styles["version-prod"]}`,children:`v ${t}`}),e.jsx(f,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(n.Navbar,{light:!0,expand:"md",children:[e.jsx(n.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(N,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(n.Collapse,{isOpen:a,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(n.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"mailto: Info@marioeducation.com",target:"blank",children:"Contact"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"/privacy-policy",target:"blank",children:"Privacy Policy"})})]}),e.jsx("div",{className:`${s.styles["hide-in-mobile"]} d-flex justify-content-end`,children:o?e.jsx(g.Link,{to:o.roles.includes("Admin")?I:o.roles.includes("Teacher")?$:k,className:`${s.styles["btn-trans-border"]}`,children:"Dashboard"}):e.jsx(g.Link,{to:"/login",className:`${s.styles["btn-trans-border"]}`,children:"Login"})})]})]}),e.jsx("div",{className:"",children:e.jsx(y,{})}),e.jsx("div",{className:`${s.styles["digital-privacy-icon"]}`,children:e.jsx("a",{href:"https://cert.privo.com/#/companies/marioFrameworkLlc",target:"blank",children:e.jsx("img",{src:s.getStaticFileUrl("/images/STUDENT.png"),alt:"icon"})})})]})]})};exports.default=E;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),p=require("react-redux"),n=require("reactstrap"),s=require("./index-BTWI5jDz.js"),g=require("react-router-dom"),j=()=>e.jsxs("div",{className:`${s.styles["content-quote"]}`,children:[e.jsxs("div",{className:`${s.styles["title-quote"]} d-block`,children:[e.jsx("p",{children:"Powerful"}),e.jsx("p",{children:"Personalized"}),e.jsx("p",{children:"Learning"})]}),e.jsxs("div",{className:`${s.styles["descriptions-quote"]} d-block`,children:[e.jsx("p",{children:"Focus on what matters most to you and"}),e.jsx("p",{children:"make learning meaningful."})]})]}),x=({srcIcon:t,content:a})=>e.jsxs("div",{className:`${s.styles["content-icon"]}`,children:[e.jsx("div",{className:`${s.styles["title-icon"]}`,children:e.jsx("img",{src:s.getStaticFileUrl(t),alt:"icon"})}),e.jsx("div",{className:`${s.styles["descriptions-icon"]}`,dangerouslySetInnerHTML:{__html:a}})]},a),v=[{scrIcon:"/images/ChatsTeardrop.svg",content:"<p>Understand yourself better through <span>helpful feedback</span>.</p>"},{scrIcon:"/images/Student.svg",content:"<p>Create, explore, and share exciting <span>personalized</span> learning journeys.</p>"},{scrIcon:"/images/Confetti.svg",content:"<p>Set, monitor, and achieve <span>your goals</span>.</p>"}],y=({})=>e.jsxs(n.Row,{className:`${s.styles["page-not-login"]}`,children:[e.jsx(n.Col,{md:12,children:e.jsx(j,{})}),e.jsx(n.Col,{md:12,className:`${s.styles["box-content-home-page"]} d-flex align-items-center`,children:v.map(t=>e.jsx(x,{srcIcon:t.scrIcon,content:t.content},t.scrIcon))})]});function N(t){return s.GenIcon({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 96v64h448V96H32zm0 128v64h448v-64H32zm0 128v64h448v-64H32z"}}]})(t)}const b=1e4,f=({data:t,duration:a=b})=>{const[i,o]=c.useState(t.length),r=c.useRef(null),d=c.useCallback(l=>l===i?`${s.styles.active} ${s.styles.show}`:"",[i]),h=c.useCallback(l=>i===0&&l===t.length-1||l===i-1?s.styles.behind:"",[i,t.length]),u=c.useCallback(()=>{r&&r.current&&clearInterval(r.current),r.current=setInterval(()=>{o(l=>l>=t.length-1?0:l+1)},a)},[a,t.length]);return c.useEffect(()=>(u(),()=>{r&&r.current&&clearInterval(r.current)}),[t.length,a]),e.jsx("div",{className:`${s.styles["bg-animate"]} position-absolute`,children:t.map((l,m)=>e.jsx("img",{alt:`Image ${m+1}`,className:`${h(m)} ${d(m)}`,src:s.getStaticFileUrl(l)},m))})},I="/admin/users/user-list",$="/home",k="/home",C="Dashboard",T="Mario Education",S=["images/landing-page.jpg","images/landing-page2.jpg","images/landing-page3.jpg"],E=({version:t})=>{const[a,i]=c.useState(!1),o=p.useSelector(d=>d.common.user),r=()=>i(!a);return c.useEffect(()=>{o?document.title=C:document.title=T},[o]),e.jsxs("div",{className:`${s.styles.login} ${s.styles["red-background"]} position-relative`,children:[e.jsx("span",{className:`${s.styles["version-prod"]}`,children:`v ${t}`}),e.jsx(f,{data:S}),e.jsxs("div",{className:`${s.styles["login-content"]}`,children:[e.jsxs(n.Navbar,{light:!0,expand:"md",children:[e.jsx(n.NavbarBrand,{href:"/",className:`${s.styles["logo-home"]}`,children:e.jsx("img",{src:s.getStaticFileUrl("/images/logo-white.svg"),alt:"mario"})}),e.jsx(N,{onClick:r,className:`${s.styles["hide-in-desktop"]} ${s.styles["hamburger-menu"]}`}),e.jsxs(n.Collapse,{isOpen:a,navbar:!0,className:`${s.styles["collapse-box"]}`,children:[e.jsxs(n.Nav,{className:`${s.styles["nav-home"]} d-md-flex w-100 justify-content-center mr-auto`,navbar:!0,children:[e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"https://marioframework.com/software",target:"blank",children:"Learn More"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"mailto: Info@marioeducation.com",target:"blank",children:"Contact"})}),e.jsx(n.NavItem,{children:e.jsx(n.NavLink,{className:`${s.styles["learn-more"]} align-self-md-center`,href:"/privacy-policy",target:"blank",children:"Privacy Policy"})})]}),e.jsx("div",{className:`${s.styles["hide-in-mobile"]} d-flex justify-content-end`,children:o?e.jsx(g.Link,{to:o.roles.includes("Admin")?I:o.roles.includes("Teacher")?$:k,className:`${s.styles["btn-trans-border"]}`,children:"Dashboard"}):e.jsx(g.Link,{to:"/login",className:`${s.styles["btn-trans-border"]}`,children:"Login"})})]})]}),e.jsx("div",{className:"",children:e.jsx(y,{})}),e.jsx("div",{className:`${s.styles["digital-privacy-icon"]}`,children:e.jsx("a",{href:"https://cert.privo.com/#/companies/marioFrameworkLlc",target:"blank",children:e.jsx("img",{src:s.getStaticFileUrl("/images/STUDENT.png"),alt:"icon"})})})]})]})};exports.default=E;