@gostudent/shared-ui-library 1.4.0 → 1.5.0-DT-16758.2

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 (138) hide show
  1. package/dist/.storybook/preview.d.ts.map +1 -1
  2. package/dist/fonts/work-sans-latin-400-normal.woff2 +0 -0
  3. package/dist/fonts/work-sans-latin-500-normal.woff2 +0 -0
  4. package/dist/fonts/work-sans-latin-600-normal.woff2 +0 -0
  5. package/dist/fonts/work-sans-latin-700-normal.woff2 +0 -0
  6. package/dist/index.js +835 -55
  7. package/dist/src/components/Avatar/Avatar.d.ts +11 -0
  8. package/dist/src/components/Avatar/Avatar.d.ts.map +1 -0
  9. package/dist/src/components/Avatar/index.d.ts +3 -0
  10. package/dist/src/components/Avatar/index.d.ts.map +1 -0
  11. package/dist/src/components/AvatarGroup/AvatarGroup.d.ts +11 -0
  12. package/dist/src/components/AvatarGroup/AvatarGroup.d.ts.map +1 -0
  13. package/dist/src/components/AvatarGroup/index.d.ts +3 -0
  14. package/dist/src/components/AvatarGroup/index.d.ts.map +1 -0
  15. package/dist/src/components/Button/Button.d.ts +3 -1
  16. package/dist/src/components/Button/Button.d.ts.map +1 -1
  17. package/dist/src/components/Button/index.d.ts +1 -1
  18. package/dist/src/components/Button/index.d.ts.map +1 -1
  19. package/dist/src/components/Card/Card.d.ts +13 -0
  20. package/dist/src/components/Card/Card.d.ts.map +1 -0
  21. package/dist/src/components/Card/index.d.ts +3 -0
  22. package/dist/src/components/Card/index.d.ts.map +1 -0
  23. package/dist/src/components/Disclosure/Disclosure.d.ts +12 -0
  24. package/dist/src/components/Disclosure/Disclosure.d.ts.map +1 -0
  25. package/dist/src/components/Disclosure/index.d.ts +3 -0
  26. package/dist/src/components/Disclosure/index.d.ts.map +1 -0
  27. package/dist/src/components/Divider/Divider.d.ts +8 -0
  28. package/dist/src/components/Divider/Divider.d.ts.map +1 -0
  29. package/dist/src/components/Divider/index.d.ts +3 -0
  30. package/dist/src/components/Divider/index.d.ts.map +1 -0
  31. package/dist/src/components/DropdownMenu/DropdownMenu.d.ts +16 -0
  32. package/dist/src/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  33. package/dist/src/components/DropdownMenu/index.d.ts +3 -0
  34. package/dist/src/components/DropdownMenu/index.d.ts.map +1 -0
  35. package/dist/src/components/IconButton/IconButton.d.ts +13 -0
  36. package/dist/src/components/IconButton/IconButton.d.ts.map +1 -0
  37. package/dist/src/components/IconButton/index.d.ts +3 -0
  38. package/dist/src/components/IconButton/index.d.ts.map +1 -0
  39. package/dist/src/components/MetadataItem/MetadataItem.d.ts +9 -0
  40. package/dist/src/components/MetadataItem/MetadataItem.d.ts.map +1 -0
  41. package/dist/src/components/MetadataItem/index.d.ts +3 -0
  42. package/dist/src/components/MetadataItem/index.d.ts.map +1 -0
  43. package/dist/src/components/Tag/Tag.d.ts +12 -0
  44. package/dist/src/components/Tag/Tag.d.ts.map +1 -0
  45. package/dist/src/components/Tag/index.d.ts +3 -0
  46. package/dist/src/components/Tag/index.d.ts.map +1 -0
  47. package/dist/src/compositions/LessonCard/LessonCard.d.ts +35 -0
  48. package/dist/src/compositions/LessonCard/LessonCard.d.ts.map +1 -0
  49. package/dist/src/compositions/LessonCard/index.d.ts +3 -0
  50. package/dist/src/compositions/LessonCard/index.d.ts.map +1 -0
  51. package/dist/src/icons/ChevronDownIcon.d.ts +8 -0
  52. package/dist/src/icons/ChevronDownIcon.d.ts.map +1 -0
  53. package/dist/src/icons/ChevronLeftIcon.d.ts +8 -0
  54. package/dist/src/icons/ChevronLeftIcon.d.ts.map +1 -0
  55. package/dist/src/icons/ClockIcon.d.ts +8 -0
  56. package/dist/src/icons/ClockIcon.d.ts.map +1 -0
  57. package/dist/src/icons/CloseIcon.d.ts +8 -0
  58. package/dist/src/icons/CloseIcon.d.ts.map +1 -0
  59. package/dist/src/icons/EventBusy.d.ts +8 -0
  60. package/dist/src/icons/EventBusy.d.ts.map +1 -0
  61. package/dist/src/icons/EventNoteIcon.d.ts +8 -0
  62. package/dist/src/icons/EventNoteIcon.d.ts.map +1 -0
  63. package/dist/src/icons/GroupIcon.d.ts +8 -0
  64. package/dist/src/icons/GroupIcon.d.ts.map +1 -0
  65. package/dist/src/icons/HistoryIcon.d.ts +8 -0
  66. package/dist/src/icons/HistoryIcon.d.ts.map +1 -0
  67. package/dist/src/icons/HourglassIcon.d.ts +8 -0
  68. package/dist/src/icons/HourglassIcon.d.ts.map +1 -0
  69. package/dist/src/icons/InfoIcon.d.ts +8 -0
  70. package/dist/src/icons/InfoIcon.d.ts.map +1 -0
  71. package/dist/src/icons/KebabIcon.d.ts +8 -0
  72. package/dist/src/icons/KebabIcon.d.ts.map +1 -0
  73. package/dist/src/icons/UploadIcon.d.ts +8 -0
  74. package/dist/src/icons/UploadIcon.d.ts.map +1 -0
  75. package/dist/src/icons/index.d.ts +27 -0
  76. package/dist/src/icons/index.d.ts.map +1 -0
  77. package/dist/src/icons/types.d.ts +4 -0
  78. package/dist/src/icons/types.d.ts.map +1 -0
  79. package/dist/src/index.d.ts +23 -1
  80. package/dist/src/index.d.ts.map +1 -1
  81. package/dist/src/tokens/output/base/breakpoints/tokens.d.ts +3 -6
  82. package/dist/src/tokens/output/base/breakpoints/tokens.d.ts.map +1 -1
  83. package/dist/src/tokens/output/base/semantic-font-desktop/tokens.d.ts +10 -8
  84. package/dist/src/tokens/output/base/semantic-font-desktop/tokens.d.ts.map +1 -1
  85. package/dist/src/tokens/output/base/semantic-font-mobile/tokens.d.ts +2 -0
  86. package/dist/src/tokens/output/base/semantic-font-mobile/tokens.d.ts.map +1 -1
  87. package/dist/src/tokens/output/base/sizes/tokens.d.ts +14 -0
  88. package/dist/src/tokens/output/base/sizes/tokens.d.ts.map +1 -0
  89. package/dist/src/tokens/output/base/spacing/tokens.d.ts +1 -0
  90. package/dist/src/tokens/output/base/spacing/tokens.d.ts.map +1 -1
  91. package/dist/src/tokens/output/base/tokens.d.ts +14 -6
  92. package/dist/src/tokens/output/base/tokens.d.ts.map +1 -1
  93. package/dist/src/tokens/output/gs/semantic-colors/tokens.d.ts +6 -4
  94. package/dist/src/tokens/output/gs/semantic-colors/tokens.d.ts.map +1 -1
  95. package/dist/src/tokens/output/sk/semantic-colors/tokens.d.ts +6 -4
  96. package/dist/src/tokens/output/sk/semantic-colors/tokens.d.ts.map +1 -1
  97. package/dist/src/tokens/output/sk/tokens.d.ts +10 -10
  98. package/dist/style.css +1 -1
  99. package/dist/themes/theme-gs.css +70 -24
  100. package/dist/themes/theme-sk.css +80 -34
  101. package/package.json +11 -2
  102. package/src/tokens/output/base/breakpoints/tokens.d.ts +3 -6
  103. package/src/tokens/output/base/breakpoints/tokens.js +3 -6
  104. package/src/tokens/output/base/breakpoints/tokens.ts +3 -6
  105. package/src/tokens/output/base/breakpoints/variables.css +3 -6
  106. package/src/tokens/output/base/global-colours/variables.css +1 -1
  107. package/src/tokens/output/base/semantic-font-desktop/tokens.d.ts +10 -8
  108. package/src/tokens/output/base/semantic-font-desktop/tokens.js +10 -8
  109. package/src/tokens/output/base/semantic-font-desktop/tokens.ts +10 -8
  110. package/src/tokens/output/base/semantic-font-desktop/variables.css +11 -9
  111. package/src/tokens/output/base/semantic-font-mobile/tokens.d.ts +3 -1
  112. package/src/tokens/output/base/semantic-font-mobile/tokens.js +3 -1
  113. package/src/tokens/output/base/semantic-font-mobile/tokens.ts +3 -1
  114. package/src/tokens/output/base/semantic-font-mobile/variables.css +4 -2
  115. package/src/tokens/output/base/sizes/tokens.d.ts +15 -0
  116. package/src/tokens/output/base/sizes/tokens.js +13 -0
  117. package/src/tokens/output/base/sizes/tokens.ts +15 -0
  118. package/src/tokens/output/base/sizes/variables.css +16 -0
  119. package/src/tokens/output/base/spacing/tokens.d.ts +2 -1
  120. package/src/tokens/output/base/spacing/tokens.js +2 -1
  121. package/src/tokens/output/base/spacing/tokens.ts +2 -1
  122. package/src/tokens/output/base/spacing/variables.css +1 -0
  123. package/src/tokens/output/base/tokens.d.ts +15 -7
  124. package/src/tokens/output/base/tokens.js +15 -7
  125. package/src/tokens/output/base/tokens.ts +15 -7
  126. package/src/tokens/output/base/variables.css +15 -7
  127. package/src/tokens/output/gs/semantic-colors/tokens.d.ts +6 -4
  128. package/src/tokens/output/gs/semantic-colors/tokens.js +6 -4
  129. package/src/tokens/output/gs/semantic-colors/tokens.ts +6 -4
  130. package/src/tokens/output/gs/semantic-colors/variables.css +8 -6
  131. package/src/tokens/output/sk/semantic-colors/tokens.d.ts +6 -4
  132. package/src/tokens/output/sk/semantic-colors/tokens.js +6 -4
  133. package/src/tokens/output/sk/semantic-colors/tokens.ts +6 -4
  134. package/src/tokens/output/sk/semantic-colors/variables.css +8 -6
  135. package/src/tokens/output/sk/tokens.d.ts +10 -10
  136. package/src/tokens/output/sk/tokens.js +10 -10
  137. package/src/tokens/output/sk/tokens.ts +10 -10
  138. package/src/tokens/output/sk/variables.css +10 -10
package/dist/index.js CHANGED
@@ -1,61 +1,841 @@
1
- import { jsx as e, jsxs as X, Fragment as x } from "react/jsx-runtime";
2
- const u = "_root_10ygv_9", f = "_icon_10ygv_28", b = "_label_10ygv_34", M = "_primary_10ygv_40", N = "_secondary_10ygv_67", k = "_link_10ygv_99", L = "_sizeXl_10ygv_128", S = "_sizeLg_10ygv_135", j = "_sizeMd_10ygv_142", h = "_sizeSm_10ygv_149", B = "_sizeXs_10ygv_156", C = "_sizeXxs_10ygv_163", F = "_pressed_10ygv_177", q = "_focused_10ygv_181", s = {
3
- root: u,
4
- icon: f,
5
- label: b,
6
- primary: M,
7
- secondary: N,
8
- link: k,
9
- sizeXl: L,
10
- sizeLg: S,
11
- sizeMd: j,
12
- sizeSm: h,
13
- sizeXs: B,
14
- sizeXxs: C,
15
- pressed: F,
16
- focused: q
17
- }, w = {
18
- xxs: s.sizeXxs,
19
- xs: s.sizeXs,
20
- sm: s.sizeSm,
21
- md: s.sizeMd,
22
- lg: s.sizeLg,
23
- xl: s.sizeXl
24
- }, A = {
25
- primary: s.primary,
26
- secondary: s.secondary,
27
- link: s.link
28
- };
29
- function E({
30
- variant: r = "primary",
31
- size: l = "md",
32
- children: n,
33
- disabled: y = !1,
34
- leftIcon: i,
35
- rightIcon: o,
36
- className: z,
37
- onClick: c,
38
- type: d = "button",
39
- href: _,
40
- target: m,
41
- rel: g,
42
- forceFocus: p,
43
- forceActive: v
1
+ import { jsx as e, jsxs as i, Fragment as j } from "react/jsx-runtime";
2
+ import K, { useState as $, useRef as J, useEffect as Q } from "react";
3
+ const Y = "_root_1ao1r_9", e1 = "_icon_1ao1r_28", o1 = "_label_1ao1r_34", s1 = "_primary_1ao1r_40", t1 = "_secondary_1ao1r_67", n1 = "_link_1ao1r_99", i1 = "_sizeXl_1ao1r_128", a1 = "_sizeLg_1ao1r_135", r1 = "_sizeMd_1ao1r_142", c1 = "_sizeSm_1ao1r_149", l1 = "_sizeXs_1ao1r_156", d1 = "_sizeXxs_1ao1r_163", C1 = "_desktopSizeXl_1ao1r_182", p1 = "_desktopSizeLg_1ao1r_189", _1 = "_desktopSizeMd_1ao1r_196", m1 = "_desktopSizeSm_1ao1r_203", g1 = "_desktopSizeXs_1ao1r_210", u1 = "_desktopSizeXxs_1ao1r_217", h1 = "_pressed_1ao1r_231", f1 = "_focused_1ao1r_235", l = {
4
+ root: Y,
5
+ icon: e1,
6
+ label: o1,
7
+ primary: s1,
8
+ secondary: t1,
9
+ link: n1,
10
+ sizeXl: i1,
11
+ sizeLg: a1,
12
+ sizeMd: r1,
13
+ sizeSm: c1,
14
+ sizeXs: l1,
15
+ sizeXxs: d1,
16
+ desktopSizeXl: C1,
17
+ desktopSizeLg: p1,
18
+ desktopSizeMd: _1,
19
+ desktopSizeSm: m1,
20
+ desktopSizeXs: g1,
21
+ desktopSizeXxs: u1,
22
+ pressed: h1,
23
+ focused: f1
24
+ }, z1 = {
25
+ xxs: l.sizeXxs,
26
+ xs: l.sizeXs,
27
+ sm: l.sizeSm,
28
+ md: l.sizeMd,
29
+ lg: l.sizeLg,
30
+ xl: l.sizeXl
31
+ }, w1 = {
32
+ xxs: l.desktopSizeXxs,
33
+ xs: l.desktopSizeXs,
34
+ sm: l.desktopSizeSm,
35
+ md: l.desktopSizeMd,
36
+ lg: l.desktopSizeLg,
37
+ xl: l.desktopSizeXl
38
+ }, v1 = {
39
+ primary: l.primary,
40
+ secondary: l.secondary,
41
+ link: l.link
42
+ };
43
+ function L({
44
+ variant: t = "primary",
45
+ size: o = "md",
46
+ children: s,
47
+ disabled: a = !1,
48
+ leftIcon: r,
49
+ rightIcon: p,
50
+ className: _,
51
+ onClick: d,
52
+ type: u = "button",
53
+ href: m,
54
+ target: f,
55
+ rel: k,
56
+ forceFocus: b,
57
+ forceActive: w
58
+ }) {
59
+ const y = Array.isArray(o) ? o[0] : o, V = Array.isArray(o) ? o[1] : void 0, S = [
60
+ l.root,
61
+ v1[t],
62
+ z1[y],
63
+ V && w1[V],
64
+ b && l.focused,
65
+ w && l.pressed,
66
+ _
67
+ ].filter(Boolean).join(" "), v = /* @__PURE__ */ i(j, { children: [
68
+ r && /* @__PURE__ */ e("span", { className: l.icon, children: r }),
69
+ s && /* @__PURE__ */ e("span", { className: l.label, children: s }),
70
+ p && /* @__PURE__ */ e("span", { className: l.icon, children: p })
71
+ ] });
72
+ return m ? /* @__PURE__ */ e("a", { href: m, target: f, rel: k, onClick: d, className: S, children: v }) : /* @__PURE__ */ e("button", { type: u, disabled: a, onClick: d, className: S, children: v });
73
+ }
74
+ const x1 = "_root_6fkcq_1", k1 = "_sizeLg_6fkcq_15", S1 = "_sizeSm_6fkcq_21", b1 = "_sizeXs_6fkcq_27", L1 = "_desktopSizeLg_6fkcq_36", B1 = "_desktopSizeSm_6fkcq_42", M1 = "_desktopSizeXs_6fkcq_48", x = {
75
+ root: x1,
76
+ sizeLg: k1,
77
+ sizeSm: S1,
78
+ sizeXs: b1,
79
+ desktopSizeLg: L1,
80
+ desktopSizeSm: B1,
81
+ desktopSizeXs: M1
82
+ }, N1 = {
83
+ xs: x.sizeXs,
84
+ sm: x.sizeSm,
85
+ lg: x.sizeLg
86
+ }, y1 = {
87
+ xs: x.desktopSizeXs,
88
+ sm: x.desktopSizeSm,
89
+ lg: x.desktopSizeLg
90
+ };
91
+ function V1({ children: t, size: o = "sm", className: s }) {
92
+ const a = Array.isArray(o) ? o[0] : o, r = Array.isArray(o) ? o[1] : void 0, p = [
93
+ x.root,
94
+ N1[a],
95
+ r && y1[r],
96
+ s
97
+ ].filter(Boolean).join(" ");
98
+ return /* @__PURE__ */ e("span", { className: p, children: t });
99
+ }
100
+ const H1 = "_root_az18f_1", X1 = "_image_az18f_15", j1 = "_initials_az18f_21", $1 = "_sizeSm_az18f_28", T1 = "_sizeMd_az18f_34", Z1 = "_sizeLg_az18f_40", D1 = "_colorPink_az18f_48", I1 = "_colorPurple_az18f_52", A1 = "_colorGreen_az18f_56", R1 = "_colorOrange_az18f_60", h = {
101
+ root: H1,
102
+ image: X1,
103
+ initials: j1,
104
+ sizeSm: $1,
105
+ sizeMd: T1,
106
+ sizeLg: Z1,
107
+ colorPink: D1,
108
+ colorPurple: I1,
109
+ colorGreen: A1,
110
+ colorOrange: R1
111
+ }, q = ["pink", "purple", "green", "orange"], E1 = {
112
+ pink: h.colorPink,
113
+ purple: h.colorPurple,
114
+ green: h.colorGreen,
115
+ orange: h.colorOrange
116
+ }, O1 = {
117
+ sm: h.sizeSm,
118
+ md: h.sizeMd,
119
+ lg: h.sizeLg
120
+ };
121
+ function P1(t) {
122
+ let o = 0;
123
+ for (let s = 0; s < t.length; s++)
124
+ o = t.charCodeAt(s) + ((o << 5) - o);
125
+ return q[Math.abs(o) % q.length];
126
+ }
127
+ function q1(t) {
128
+ const o = t.trim().split(/\s+/);
129
+ return o.length === 1 ? o[0].charAt(0).toUpperCase() : (o[0].charAt(0) + o[o.length - 1].charAt(0)).toUpperCase();
130
+ }
131
+ function I({ name: t, src: o, size: s = "md", color: a, className: r }) {
132
+ const [p, _] = $(!1), d = a ?? P1(t), u = o && !p, m = [
133
+ h.root,
134
+ O1[s],
135
+ !u && E1[d],
136
+ r
137
+ ].filter(Boolean).join(" ");
138
+ return /* @__PURE__ */ e("span", { className: m, "aria-label": t, role: "img", children: u ? /* @__PURE__ */ e(
139
+ "img",
140
+ {
141
+ src: o,
142
+ alt: t,
143
+ className: h.image,
144
+ onError: () => _(!0)
145
+ }
146
+ ) : /* @__PURE__ */ e("span", { className: h.initials, "aria-hidden": "true", children: q1(t) }) });
147
+ }
148
+ const G1 = "_root_1iy54_1", U1 = "_item_1iy54_6", W1 = "_overflow_1iy54_13", H = {
149
+ root: G1,
150
+ item: U1,
151
+ overflow: W1
152
+ };
153
+ function F1({
154
+ max: t,
155
+ overlap: o = 9,
156
+ children: s,
157
+ className: a
158
+ }) {
159
+ const r = K.Children.toArray(s), p = t != null ? r.slice(0, t) : r, _ = t != null ? r.length - t : 0, d = [H.root, a].filter(Boolean).join(" ");
160
+ return /* @__PURE__ */ i("span", { className: d, children: [
161
+ p.map((u, m) => /* @__PURE__ */ e(
162
+ "span",
163
+ {
164
+ className: H.item,
165
+ style: { marginLeft: m === 0 ? 0 : -o },
166
+ children: u
167
+ },
168
+ m
169
+ )),
170
+ _ > 0 && /* @__PURE__ */ e(
171
+ "span",
172
+ {
173
+ className: H.item,
174
+ style: { marginLeft: -o },
175
+ children: /* @__PURE__ */ i("span", { className: H.overflow, "aria-label": `${_} more`, children: [
176
+ "+",
177
+ _
178
+ ] })
179
+ }
180
+ )
181
+ ] });
182
+ }
183
+ const K1 = "_root_10o15_1", J1 = "_icon_10o15_32", Q1 = "_sizeSm_10o15_45", Y1 = "_sizeMd_10o15_50", e2 = "_sizeLg_10o15_55", N = {
184
+ root: K1,
185
+ icon: J1,
186
+ sizeSm: Q1,
187
+ sizeMd: Y1,
188
+ sizeLg: e2
189
+ }, o2 = {
190
+ sm: N.sizeSm,
191
+ md: N.sizeMd,
192
+ lg: N.sizeLg
193
+ };
194
+ function s2({
195
+ icon: t,
196
+ "aria-label": o,
197
+ size: s = "md",
198
+ disabled: a = !1,
199
+ onClick: r,
200
+ className: p
201
+ }) {
202
+ const _ = [N.root, o2[s], p].filter(Boolean).join(" ");
203
+ return /* @__PURE__ */ e(
204
+ "button",
205
+ {
206
+ type: "button",
207
+ "aria-label": o,
208
+ disabled: a,
209
+ onClick: r,
210
+ className: _,
211
+ children: /* @__PURE__ */ e("span", { className: N.icon, children: t })
212
+ }
213
+ );
214
+ }
215
+ const t2 = "_root_1iq0r_1", n2 = "_icon_1iq0r_18", i2 = "_text_1iq0r_25", A = {
216
+ root: t2,
217
+ icon: n2,
218
+ text: i2
219
+ };
220
+ function X({ icon: t, children: o, className: s }) {
221
+ const a = [A.root, s].filter(Boolean).join(" ");
222
+ return /* @__PURE__ */ i("span", { className: a, children: [
223
+ /* @__PURE__ */ e("span", { className: A.icon, children: t }),
224
+ /* @__PURE__ */ e("span", { className: A.text, children: o })
225
+ ] });
226
+ }
227
+ const a2 = "_root_aywfe_1", r2 = "_bordered_aywfe_10", c2 = "_paddingNone_aywfe_16", l2 = "_paddingSm_aywfe_20", d2 = "_paddingMd_aywfe_24", C2 = "_paddingLg_aywfe_28", p2 = "_radiusSm_aywfe_34", _2 = "_radiusMd_aywfe_38", m2 = "_radiusLg_aywfe_42", z = {
228
+ root: a2,
229
+ bordered: r2,
230
+ paddingNone: c2,
231
+ paddingSm: l2,
232
+ paddingMd: d2,
233
+ paddingLg: C2,
234
+ radiusSm: p2,
235
+ radiusMd: _2,
236
+ radiusLg: m2
237
+ }, g2 = {
238
+ none: z.paddingNone,
239
+ sm: z.paddingSm,
240
+ md: z.paddingMd,
241
+ lg: z.paddingLg
242
+ }, u2 = {
243
+ sm: z.radiusSm,
244
+ md: z.radiusMd,
245
+ lg: z.radiusLg
246
+ };
247
+ function h2({
248
+ children: t,
249
+ padding: o = "md",
250
+ radius: s = "sm",
251
+ bordered: a = !0,
252
+ className: r
44
253
  }) {
254
+ const p = [
255
+ z.root,
256
+ g2[o],
257
+ u2[s],
258
+ a && z.bordered,
259
+ r
260
+ ].filter(Boolean).join(" ");
261
+ return /* @__PURE__ */ e("div", { className: p, children: t });
262
+ }
263
+ const f2 = "_root_16590_1", z2 = "_spacingTopNone_16590_10", w2 = "_spacingTopXxs_16590_11", v2 = "_spacingTopXs_16590_12", x2 = "_spacingTopSm_16590_13", k2 = "_spacingTopMd_16590_14", S2 = "_spacingTopLg_16590_15", b2 = "_spacingTopXl_16590_16", L2 = "_spacingTop2xl_16590_17", B2 = "_spacingTop3xl_16590_18", M2 = "_spacingBottomNone_16590_22", N2 = "_spacingBottomXxs_16590_23", y2 = "_spacingBottomXs_16590_24", V2 = "_spacingBottomSm_16590_25", H2 = "_spacingBottomMd_16590_26", X2 = "_spacingBottomLg_16590_27", j2 = "_spacingBottomXl_16590_28", $2 = "_spacingBottom2xl_16590_29", T2 = "_spacingBottom3xl_16590_30", C = {
264
+ root: f2,
265
+ spacingTopNone: z2,
266
+ spacingTopXxs: w2,
267
+ spacingTopXs: v2,
268
+ spacingTopSm: x2,
269
+ spacingTopMd: k2,
270
+ spacingTopLg: S2,
271
+ spacingTopXl: b2,
272
+ spacingTop2xl: L2,
273
+ spacingTop3xl: B2,
274
+ spacingBottomNone: M2,
275
+ spacingBottomXxs: N2,
276
+ spacingBottomXs: y2,
277
+ spacingBottomSm: V2,
278
+ spacingBottomMd: H2,
279
+ spacingBottomLg: X2,
280
+ spacingBottomXl: j2,
281
+ spacingBottom2xl: $2,
282
+ spacingBottom3xl: T2
283
+ }, Z2 = {
284
+ none: C.spacingTopNone,
285
+ xxs: C.spacingTopXxs,
286
+ xs: C.spacingTopXs,
287
+ sm: C.spacingTopSm,
288
+ md: C.spacingTopMd,
289
+ lg: C.spacingTopLg,
290
+ xl: C.spacingTopXl,
291
+ "2xl": C.spacingTop2xl,
292
+ "3xl": C.spacingTop3xl
293
+ }, D2 = {
294
+ none: C.spacingBottomNone,
295
+ xxs: C.spacingBottomXxs,
296
+ xs: C.spacingBottomXs,
297
+ sm: C.spacingBottomSm,
298
+ md: C.spacingBottomMd,
299
+ lg: C.spacingBottomLg,
300
+ xl: C.spacingBottomXl,
301
+ "2xl": C.spacingBottom2xl,
302
+ "3xl": C.spacingBottom3xl
303
+ };
304
+ function G({ spacingTop: t = "none", spacingBottom: o = "none", className: s }) {
45
305
  const a = [
46
- s.root,
47
- A[r],
48
- w[l],
49
- p && s.focused,
50
- v && s.pressed,
51
- z
52
- ].filter(Boolean).join(" "), t = /* @__PURE__ */ X(x, { children: [
53
- i && /* @__PURE__ */ e("span", { className: s.icon, children: i }),
54
- n && /* @__PURE__ */ e("span", { className: s.label, children: n }),
55
- o && /* @__PURE__ */ e("span", { className: s.icon, children: o })
306
+ C.root,
307
+ Z2[t],
308
+ D2[o],
309
+ s
310
+ ].filter(Boolean).join(" ");
311
+ return /* @__PURE__ */ e("hr", { className: a });
312
+ }
313
+ const I2 = "_root_crrf5_1", A2 = "_item_crrf5_11", R2 = "_itemDisabled_crrf5_34", E2 = "_itemIcon_crrf5_40", O2 = "_itemLabel_crrf5_49", M = {
314
+ root: I2,
315
+ item: A2,
316
+ itemDisabled: R2,
317
+ itemIcon: E2,
318
+ itemLabel: O2
319
+ };
320
+ function P2({ children: t, className: o }) {
321
+ const s = [M.root, o].filter(Boolean).join(" ");
322
+ return /* @__PURE__ */ e("div", { role: "menu", className: s, children: t });
323
+ }
324
+ function q2({
325
+ children: t,
326
+ icon: o,
327
+ onClick: s,
328
+ disabled: a = !1,
329
+ className: r
330
+ }) {
331
+ const p = [M.item, a && M.itemDisabled, r].filter(Boolean).join(" ");
332
+ return /* @__PURE__ */ i(
333
+ "button",
334
+ {
335
+ role: "menuitem",
336
+ type: "button",
337
+ disabled: a,
338
+ onClick: s,
339
+ className: p,
340
+ children: [
341
+ o && /* @__PURE__ */ e("span", { className: M.itemIcon, children: o }),
342
+ /* @__PURE__ */ e("span", { className: M.itemLabel, children: t })
343
+ ]
344
+ }
345
+ );
346
+ }
347
+ const g = {
348
+ sm: 16,
349
+ md: 20,
350
+ lg: 24
351
+ };
352
+ function G2({ size: t = "md", ...o }) {
353
+ const s = g[t];
354
+ return /* @__PURE__ */ i(
355
+ "svg",
356
+ {
357
+ width: s,
358
+ height: s,
359
+ viewBox: "0 0 24 24",
360
+ fill: "none",
361
+ "aria-hidden": "true",
362
+ xmlns: "http://www.w3.org/2000/svg",
363
+ ...o,
364
+ children: [
365
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "5", r: "2", fill: "currentColor" }),
366
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: "currentColor" }),
367
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "19", r: "2", fill: "currentColor" })
368
+ ]
369
+ }
370
+ );
371
+ }
372
+ function T5({ size: t = "md", ...o }) {
373
+ const s = g[t];
374
+ return /* @__PURE__ */ e(
375
+ "svg",
376
+ {
377
+ width: s,
378
+ height: s,
379
+ viewBox: "0 0 24 24",
380
+ fill: "none",
381
+ "aria-hidden": "true",
382
+ xmlns: "http://www.w3.org/2000/svg",
383
+ ...o,
384
+ children: /* @__PURE__ */ e(
385
+ "path",
386
+ {
387
+ d: "M18 6L6 18M6 6l12 12",
388
+ stroke: "currentColor",
389
+ strokeWidth: "1.5",
390
+ strokeLinecap: "round"
391
+ }
392
+ )
393
+ }
394
+ );
395
+ }
396
+ function Z5({ size: t = "md", ...o }) {
397
+ const s = g[t];
398
+ return /* @__PURE__ */ e(
399
+ "svg",
400
+ {
401
+ width: s,
402
+ height: s,
403
+ viewBox: "0 0 14 15",
404
+ fill: "none",
405
+ "aria-hidden": "true",
406
+ xmlns: "http://www.w3.org/2000/svg",
407
+ ...o,
408
+ children: /* @__PURE__ */ e(
409
+ "path",
410
+ {
411
+ d: "M6.90725 14.1667C5.23211 14.1667 3.75565 13.6554 2.47788 12.6329C1.2001 11.6106 0.381139 10.3024 0.0210002 8.70833C-0.0238609 8.54278 0.00315297 8.39056 0.102042 8.25167C0.200792 8.11278 0.340722 8.03208 0.521833 8.00958C0.69225 7.98722 0.845028 8.0209 0.980167 8.11063C1.11531 8.20035 1.20961 8.33229 1.26308 8.50646C1.58031 9.79382 2.26378 10.8507 3.3135 11.6771C4.36322 12.5035 5.56114 12.9167 6.90725 12.9167C8.53225 12.9167 9.91072 12.3507 11.0427 11.2188C12.1746 10.0868 12.7406 8.70833 12.7406 7.08333C12.7406 5.45833 12.1746 4.07986 11.0427 2.94792C9.91072 1.81597 8.53225 1.25 6.90725 1.25C5.99697 1.25 5.14392 1.45222 4.34808 1.85667C3.55211 2.26097 2.86669 2.81729 2.29183 3.52562H3.84642C4.0235 3.52562 4.1719 3.58556 4.29162 3.70542C4.41149 3.82528 4.47142 3.97375 4.47142 4.15083C4.47142 4.32806 4.41149 4.47646 4.29162 4.59604C4.1719 4.71576 4.0235 4.77562 3.84642 4.77562H0.993917C0.780445 4.77562 0.601556 4.7034 0.45725 4.55896C0.312806 4.41465 0.240583 4.23576 0.240583 4.02229V1.16979C0.240583 0.992709 0.300514 0.844306 0.420375 0.724584C0.540236 0.604723 0.688778 0.544792 0.866 0.544792C1.04308 0.544792 1.19149 0.604723 1.31121 0.724584C1.43079 0.844306 1.49058 0.992709 1.49058 1.16979V2.51917C2.16683 1.72111 2.97669 1.10174 3.92017 0.661041C4.8635 0.220347 5.85919 0 6.90725 0C7.89058 0 8.81162 0.185903 9.67037 0.557709C10.5291 0.929514 11.2779 1.43486 11.9168 2.07375C12.5557 2.71264 13.0611 3.46139 13.4329 4.32C13.8047 5.17875 13.9906 6.09972 13.9906 7.08292C13.9906 8.06611 13.8047 8.98715 13.4329 9.84604C13.0611 10.7051 12.5557 11.454 11.9168 12.0929C11.2779 12.7318 10.5291 13.2372 9.67037 13.609C8.81162 13.9808 7.89058 14.1667 6.90725 14.1667ZM7.55621 6.83021L9.84788 9.12188C9.96329 9.23715 10.0223 9.38215 10.025 9.55688C10.0277 9.7316 9.96871 9.87931 9.84788 10C9.72718 10.1207 9.58086 10.181 9.40892 10.181C9.23683 10.181 9.09044 10.1207 8.96975 10L6.53225 7.5625C6.45433 7.48444 6.39718 7.39944 6.36079 7.3075C6.32454 7.21556 6.30642 7.12056 6.30642 7.0225V3.54167C6.30642 3.36458 6.36628 3.21611 6.486 3.09625C6.60586 2.97653 6.7544 2.91667 6.93163 2.91667C7.10871 2.91667 7.25711 2.97653 7.37683 3.09625C7.49642 3.21611 7.55621 3.36458 7.55621 3.54167V6.83021Z",
412
+ fill: "currentColor"
413
+ }
414
+ )
415
+ }
416
+ );
417
+ }
418
+ function D5({ size: t = "md", ...o }) {
419
+ const s = g[t];
420
+ return /* @__PURE__ */ e(
421
+ "svg",
422
+ {
423
+ width: s,
424
+ height: s,
425
+ viewBox: "0 0 15 16",
426
+ fill: "none",
427
+ "aria-hidden": "true",
428
+ xmlns: "http://www.w3.org/2000/svg",
429
+ ...o,
430
+ children: /* @__PURE__ */ e(
431
+ "path",
432
+ {
433
+ d: "M7.08333 11.2867L5.60583 12.7644C5.49042 12.8797 5.34535 12.9387 5.17063 12.9415C4.99604 12.9441 4.84833 12.8851 4.7275 12.7644C4.60681 12.6435 4.54646 12.4972 4.54646 12.3252C4.54646 12.1533 4.60681 12.0069 4.7275 11.886L6.20521 10.4085L4.7275 8.93104C4.61222 8.81562 4.55319 8.67056 4.55042 8.49583C4.54778 8.32125 4.60681 8.17354 4.7275 8.05271C4.84833 7.93201 4.99472 7.87167 5.16667 7.87167C5.33861 7.87167 5.485 7.93201 5.60583 8.05271L7.08333 9.53042L8.56083 8.05271C8.67625 7.93743 8.82132 7.8784 8.99604 7.87563C9.17063 7.87299 9.31833 7.93201 9.43917 8.05271C9.55986 8.17354 9.62021 8.31993 9.62021 8.49187C9.62021 8.66382 9.55986 8.81021 9.43917 8.93104L7.96146 10.4085L9.43917 11.886C9.55445 12.0015 9.61347 12.1465 9.61625 12.3212C9.61889 12.4958 9.55986 12.6435 9.43917 12.7644C9.31833 12.8851 9.17195 12.9454 9 12.9454C8.82806 12.9454 8.68167 12.8851 8.56083 12.7644L7.08333 11.2867ZM1.50646 15.9294C1.08549 15.9294 0.729167 15.7835 0.4375 15.4919C0.145833 15.2002 0 14.8439 0 14.4229V3.26917C0 2.84819 0.145833 2.49187 0.4375 2.20021C0.729167 1.90854 1.08549 1.76271 1.50646 1.76271H2.66021V0.640834C2.66021 0.458195 2.72139 0.305694 2.84375 0.183333C2.96611 0.0611109 3.11861 0 3.30125 0C3.48403 0 3.63653 0.0611109 3.75875 0.183333C3.88111 0.305694 3.94229 0.458195 3.94229 0.640834V1.76271H10.2565V0.625C10.2565 0.447639 10.3163 0.299097 10.4358 0.179375C10.5556 0.0597914 10.7041 0 10.8815 0C11.0588 0 11.2073 0.0597914 11.3269 0.179375C11.4466 0.299097 11.5065 0.447639 11.5065 0.625V1.76271H12.6602C13.0812 1.76271 13.4375 1.90854 13.7292 2.20021C14.0208 2.49187 14.1667 2.84819 14.1667 3.26917V14.4229C14.1667 14.8439 14.0208 15.2002 13.7292 15.4919C13.4375 15.7835 13.0812 15.9294 12.6602 15.9294H1.50646ZM1.50646 14.6794H12.6602C12.7244 14.6794 12.7831 14.6526 12.8365 14.5992C12.8899 14.5458 12.9167 14.4871 12.9167 14.4229V6.6025H1.25V14.4229C1.25 14.4871 1.27674 14.5458 1.33021 14.5992C1.38354 14.6526 1.44229 14.6794 1.50646 14.6794ZM1.25 5.3525H12.9167V3.26917C12.9167 3.205 12.8899 3.14625 12.8365 3.09292C12.7831 3.03944 12.7244 3.01271 12.6602 3.01271H1.50646C1.44229 3.01271 1.38354 3.03944 1.33021 3.09292C1.27674 3.14625 1.25 3.205 1.25 3.26917V5.3525Z",
434
+ fill: "currentColor"
435
+ }
436
+ )
437
+ }
438
+ );
439
+ }
440
+ function I5({ size: t = "md", ...o }) {
441
+ const s = g[t];
442
+ return /* @__PURE__ */ e(
443
+ "svg",
444
+ {
445
+ width: s,
446
+ height: s,
447
+ viewBox: "0 0 15 15",
448
+ fill: "none",
449
+ "aria-hidden": "true",
450
+ xmlns: "http://www.w3.org/2000/svg",
451
+ ...o,
452
+ children: /* @__PURE__ */ e(
453
+ "path",
454
+ {
455
+ d: "M1.80775 14.623C1.30258 14.623 0.875 14.448 0.525 14.098C0.175 13.748 0 13.3204 0 12.8152V10.8538C0 10.6409 0.0718332 10.4628 0.2155 10.3193C0.359 10.1756 0.537167 10.1038 0.75 10.1038C0.962833 10.1038 1.141 10.1756 1.2845 10.3193C1.42817 10.4628 1.5 10.6409 1.5 10.8538V12.8152C1.5 12.8922 1.53208 12.9627 1.59625 13.0267C1.66025 13.0909 1.73075 13.123 1.80775 13.123H13.1923C13.2692 13.123 13.3398 13.0909 13.4038 13.0267C13.4679 12.9627 13.5 12.8922 13.5 12.8152V10.8538C13.5 10.6409 13.5718 10.4628 13.7155 10.3193C13.859 10.1756 14.0372 10.1038 14.25 10.1038C14.4628 10.1038 14.641 10.1756 14.7845 10.3193C14.9282 10.4628 15 10.6409 15 10.8538V12.8152C15 13.3204 14.825 13.748 14.475 14.098C14.125 14.448 13.6974 14.623 13.1923 14.623H1.80775ZM6.75 2.5115L4.827 4.4345C4.67817 4.58317 4.50158 4.65658 4.29725 4.65475C4.09275 4.65275 3.91292 4.57417 3.75775 4.419C3.61292 4.264 3.53792 4.08842 3.53275 3.89225C3.52758 3.69608 3.60258 3.52042 3.75775 3.36525L6.86725 0.25575C6.96092 0.162083 7.05967 0.0960833 7.1635 0.0577499C7.26733 0.0192499 7.3795 0 7.5 0C7.6205 0 7.73267 0.0192499 7.8365 0.0577499C7.94033 0.0960833 8.03908 0.162083 8.13275 0.25575L11.2423 3.36525C11.3909 3.51392 11.4643 3.688 11.4625 3.8875C11.4605 4.08683 11.3871 4.264 11.2423 4.419C11.0871 4.57417 10.9089 4.65433 10.7078 4.6595C10.5064 4.66467 10.3282 4.58967 10.173 4.4345L8.25 2.5115V10.1615C8.25 10.3743 8.17817 10.5525 8.0345 10.696C7.891 10.8397 7.71283 10.9115 7.5 10.9115C7.28717 10.9115 7.109 10.8397 6.9655 10.696C6.82183 10.5525 6.75 10.3743 6.75 10.1615V2.5115Z",
456
+ fill: "currentColor"
457
+ }
458
+ )
459
+ }
460
+ );
461
+ }
462
+ function U2({ size: t = "md", ...o }) {
463
+ const s = g[t];
464
+ return /* @__PURE__ */ e(
465
+ "svg",
466
+ {
467
+ width: s,
468
+ height: s,
469
+ viewBox: "0 0 15 16",
470
+ fill: "none",
471
+ "aria-hidden": "true",
472
+ xmlns: "http://www.w3.org/2000/svg",
473
+ ...o,
474
+ children: /* @__PURE__ */ e(
475
+ "path",
476
+ {
477
+ d: "M1.50646 15.9294C1.08549 15.9294 0.729167 15.7835 0.4375 15.4919C0.145833 15.2002 0 14.8439 0 14.4229V3.26917C0 2.84819 0.145833 2.49187 0.4375 2.20021C0.729167 1.90854 1.08549 1.76271 1.50646 1.76271H2.66021V0.640834C2.66021 0.458195 2.72139 0.305694 2.84375 0.183333C2.96611 0.0611109 3.11861 0 3.30125 0C3.48403 0 3.63653 0.0611109 3.75875 0.183333C3.88111 0.305694 3.94229 0.458195 3.94229 0.640834V1.76271H10.2565V0.625C10.2565 0.447639 10.3163 0.299097 10.4358 0.179375C10.5556 0.0597914 10.7041 0 10.8815 0C11.0588 0 11.2073 0.0597914 11.3269 0.179375C11.4466 0.299097 11.5065 0.447639 11.5065 0.625V1.76271H12.6602C13.0812 1.76271 13.4375 1.90854 13.7292 2.20021C14.0208 2.49187 14.1667 2.84819 14.1667 3.26917V14.4229C14.1667 14.8439 14.0208 15.2002 13.7292 15.4919C13.4375 15.7835 13.0812 15.9294 12.6602 15.9294H1.50646ZM1.50646 14.6794H12.6602C12.7244 14.6794 12.7831 14.6526 12.8365 14.5992C12.8899 14.5458 12.9167 14.4871 12.9167 14.4229V6.6025H1.25V14.4229C1.25 14.4871 1.27674 14.5458 1.33021 14.5992C1.38354 14.6526 1.44229 14.6794 1.50646 14.6794ZM1.25 5.3525H12.9167V3.26917C12.9167 3.205 12.8899 3.14625 12.8365 3.09292C12.7831 3.03944 12.7244 3.01271 12.6602 3.01271H1.50646C1.44229 3.01271 1.38354 3.03944 1.33021 3.09292C1.27674 3.14625 1.25 3.205 1.25 3.26917V5.3525ZM3.75 9.47104C3.57264 9.47104 3.42417 9.41118 3.30458 9.29146C3.18486 9.17187 3.125 9.0234 3.125 8.84604C3.125 8.66868 3.18486 8.52021 3.30458 8.40062C3.42417 8.2809 3.57264 8.22104 3.75 8.22104H10.4167C10.594 8.22104 10.7425 8.2809 10.8621 8.40062C10.9818 8.52021 11.0417 8.66868 11.0417 8.84604C11.0417 9.0234 10.9818 9.17187 10.8621 9.29146C10.7425 9.41118 10.594 9.47104 10.4167 9.47104H3.75ZM3.75 12.8044C3.57264 12.8044 3.42417 12.7445 3.30458 12.6248C3.18486 12.5052 3.125 12.3567 3.125 12.1794C3.125 12.002 3.18486 11.8535 3.30458 11.734C3.42417 11.6142 3.57264 11.5544 3.75 11.5544H7.91667C8.09403 11.5544 8.2425 11.6142 8.36208 11.734C8.48181 11.8535 8.54167 12.002 8.54167 12.1794C8.54167 12.3567 8.48181 12.5052 8.36208 12.6248C8.2425 12.7445 8.09403 12.8044 7.91667 12.8044H3.75Z",
478
+ fill: "currentColor"
479
+ }
480
+ )
481
+ }
482
+ );
483
+ }
484
+ function W2({ size: t = "md", ...o }) {
485
+ const s = g[t];
486
+ return /* @__PURE__ */ e(
487
+ "svg",
488
+ {
489
+ width: s,
490
+ height: s,
491
+ viewBox: "0 0 16 16",
492
+ fill: "none",
493
+ "aria-hidden": "true",
494
+ xmlns: "http://www.w3.org/2000/svg",
495
+ ...o,
496
+ children: /* @__PURE__ */ e(
497
+ "path",
498
+ {
499
+ d: "M8.54167 8.15063L10.641 10.25C10.7565 10.364 10.8142 10.5066 10.8142 10.6777C10.8142 10.8488 10.7565 10.9963 10.641 11.1202C10.5172 11.2495 10.3687 11.3128 10.1956 11.31C10.0224 11.3074 9.87389 11.2441 9.75 11.1202L7.51771 8.88771C7.43965 8.80979 7.3825 8.72486 7.34625 8.63292C7.30986 8.54097 7.29167 8.4459 7.29167 8.34771V5.17625C7.29167 4.99917 7.3516 4.85076 7.47146 4.73104C7.59132 4.61118 7.73979 4.55125 7.91688 4.55125C8.0941 4.55125 8.2425 4.61118 8.36208 4.73104C8.48181 4.85076 8.54167 4.99917 8.54167 5.17625V8.15063ZM7.91646 2.91667C7.73924 2.91667 7.59083 2.85681 7.47125 2.73708C7.35153 2.61722 7.29167 2.46875 7.29167 2.29167V1.25H8.54167V2.29167C8.54167 2.46875 8.48174 2.61722 8.36188 2.73708C8.24201 2.85681 8.09354 2.91667 7.91646 2.91667ZM12.9167 7.91646C12.9167 7.73924 12.9765 7.59083 13.0962 7.47125C13.2161 7.35153 13.3646 7.29167 13.5417 7.29167H14.5833V8.54167H13.5417C13.3646 8.54167 13.2161 8.48174 13.0962 8.36188C12.9765 8.24201 12.9167 8.09354 12.9167 7.91646ZM7.91688 12.9167C8.0941 12.9167 8.2425 12.9765 8.36208 13.0962C8.48181 13.2161 8.54167 13.3646 8.54167 13.5417V14.5833H7.29167V13.5417C7.29167 13.3646 7.3516 13.2161 7.47146 13.0962C7.59132 12.9765 7.73979 12.9167 7.91688 12.9167ZM2.91667 7.91688C2.91667 8.0941 2.85681 8.2425 2.73708 8.36208C2.61722 8.48181 2.46875 8.54167 2.29167 8.54167H1.25V7.29167H2.29167C2.46875 7.29167 2.61722 7.3516 2.73708 7.47146C2.85681 7.59132 2.91667 7.73979 2.91667 7.91688ZM7.91812 15.8333C6.82312 15.8333 5.79389 15.6256 4.83042 15.21C3.86694 14.7944 3.02889 14.2305 2.31625 13.5181C1.60361 12.8058 1.03937 11.9681 0.623542 11.005C0.207847 10.0419 0 9.01299 0 7.91812C0 6.82312 0.207778 5.79389 0.623333 4.83042C1.03889 3.86694 1.60285 3.02889 2.31521 2.31625C3.02757 1.60361 3.86528 1.03937 4.82833 0.623542C5.79139 0.207847 6.82035 0 7.91521 0C9.01021 0 10.0394 0.207777 11.0029 0.623333C11.9664 1.03889 12.8044 1.60285 13.5171 2.31521C14.2297 3.02757 14.794 3.86528 15.2098 4.82833C15.6255 5.79139 15.8333 6.82035 15.8333 7.91521C15.8333 9.01021 15.6256 10.0394 15.21 11.0029C14.7944 11.9664 14.2305 12.8044 13.5181 13.5171C12.8058 14.2297 11.9681 14.794 11.005 15.2098C10.0419 15.6255 9.01299 15.8333 7.91812 15.8333ZM14.5833 7.91667C14.5833 6.05556 13.9375 4.47917 12.6458 3.1875C11.3542 1.89583 9.77778 1.25 7.91667 1.25C6.05556 1.25 4.47917 1.89583 3.1875 3.1875C1.89583 4.47917 1.25 6.05556 1.25 7.91667C1.25 9.77778 1.89583 11.3542 3.1875 12.6458C4.47917 13.9375 6.05556 14.5833 7.91667 14.5833C9.77778 14.5833 11.3542 13.9375 12.6458 12.6458C13.9375 11.3542 14.5833 9.77778 14.5833 7.91667Z",
500
+ fill: "currentColor"
501
+ }
502
+ )
503
+ }
504
+ );
505
+ }
506
+ function F2({ size: t = "md", ...o }) {
507
+ const s = g[t];
508
+ return /* @__PURE__ */ e(
509
+ "svg",
510
+ {
511
+ width: s,
512
+ height: s,
513
+ viewBox: "0 0 13 16",
514
+ fill: "none",
515
+ "aria-hidden": "true",
516
+ xmlns: "http://www.w3.org/2000/svg",
517
+ ...o,
518
+ children: /* @__PURE__ */ e(
519
+ "path",
520
+ {
521
+ d: "M2.83646 14.5833H9.66354V12.0833C9.66354 11.1346 9.33181 10.3231 8.66833 9.64896C8.00486 8.97479 7.19875 8.63771 6.25 8.63771C5.30125 8.63771 4.49514 8.97514 3.83167 9.65C3.16819 10.3247 2.83646 11.1358 2.83646 12.0833V14.5833ZM6.25 7.19563C7.19875 7.19563 8.00486 6.85819 8.66833 6.18333C9.33181 5.50861 9.66354 4.6975 9.66354 3.75V1.25H2.83646V3.75C2.83646 4.69875 3.16819 5.51021 3.83167 6.18437C4.49514 6.85854 5.30125 7.19563 6.25 7.19563ZM0.625 15.8333C0.447917 15.8333 0.299514 15.7734 0.179792 15.6535C0.0599307 15.5337 0 15.3852 0 15.2081C0 15.0309 0.0599307 14.8825 0.179792 14.7629C0.299514 14.6432 0.447917 14.5833 0.625 14.5833H1.58667V12.0833C1.58667 11.1453 1.84333 10.2914 2.35667 9.52167C2.87 8.75181 3.55028 8.21681 4.3975 7.91667C3.55028 7.61111 2.87 7.07479 2.35667 6.30771C1.84333 5.54063 1.58667 4.68806 1.58667 3.75V1.25H0.625C0.447917 1.25 0.299514 1.19007 0.179792 1.07021C0.0599307 0.950347 0 0.801875 0 0.624791C0 0.447569 0.0599307 0.299167 0.179792 0.179583C0.299514 0.059861 0.447917 0 0.625 0H11.875C12.0521 0 12.2005 0.0599307 12.3202 0.179792C12.4401 0.299653 12.5 0.448125 12.5 0.625209C12.5 0.802431 12.4401 0.950833 12.3202 1.07042C12.2005 1.19014 12.0521 1.25 11.875 1.25H10.9133V3.75C10.9133 4.68806 10.6567 5.54063 10.1433 6.30771C9.63 7.07479 8.94972 7.61111 8.1025 7.91667C8.94972 8.21681 9.63 8.75181 10.1433 9.52167C10.6567 10.2914 10.9133 11.1453 10.9133 12.0833V14.5833H11.875C12.0521 14.5833 12.2005 14.6433 12.3202 14.7631C12.4401 14.883 12.5 15.0315 12.5 15.2085C12.5 15.3858 12.4401 15.5342 12.3202 15.6537C12.2005 15.7735 12.0521 15.8333 11.875 15.8333H0.625Z",
522
+ fill: "currentColor"
523
+ }
524
+ )
525
+ }
526
+ );
527
+ }
528
+ function K2({ size: t = "md", ...o }) {
529
+ const s = g[t];
530
+ return /* @__PURE__ */ e(
531
+ "svg",
532
+ {
533
+ width: s,
534
+ height: s,
535
+ viewBox: "0 0 20 9",
536
+ fill: "none",
537
+ "aria-hidden": "true",
538
+ xmlns: "http://www.w3.org/2000/svg",
539
+ ...o,
540
+ children: /* @__PURE__ */ e(
541
+ "path",
542
+ {
543
+ d: "M8.02083 4.16667C7.77597 4.16667 7.57479 4.06972 7.41729 3.87583C7.25979 3.68194 7.21472 3.46958 7.28208 3.23875L7.59625 1.61375C7.68597 1.13194 7.92049 0.74257 8.29979 0.445625C8.67896 0.148542 9.1041 0 9.57521 0C10.0572 0 10.4877 0.148542 10.8669 0.445625C11.2462 0.74257 11.4807 1.13194 11.5704 1.61375L11.8846 3.23875C11.9381 3.48625 11.8889 3.70278 11.7371 3.88833C11.5853 4.07389 11.3882 4.16667 11.1458 4.16667H8.02083ZM8.41667 3.08333H10.75L10.5 1.83333C10.4583 1.61111 10.3504 1.43056 10.1763 1.29167C10.0021 1.15278 9.80417 1.08333 9.5825 1.08333C9.36083 1.08333 9.16319 1.15278 8.98958 1.29167C8.81597 1.43056 8.70833 1.61111 8.66667 1.83333L8.41667 3.08333ZM2.60854 5.04646C2.34924 5.06035 2.12701 5.00764 1.94187 4.88833C1.75674 4.76903 1.63403 4.59375 1.57375 4.3625C1.54597 4.26194 1.54035 4.155 1.55688 4.04167C1.5734 3.92847 1.60417 3.83035 1.64917 3.74729C1.64917 3.74729 1.64222 3.7284 1.62833 3.69563C1.59194 3.65396 1.53729 3.51333 1.46438 3.27375C1.44757 3.13833 1.46521 3.01292 1.51729 2.8975C1.56938 2.78208 1.64271 2.67736 1.73729 2.58333C1.74257 2.58333 1.75375 2.56521 1.77083 2.52896C1.795 2.33118 1.88493 2.15514 2.04063 2.00083C2.19632 1.84653 2.37778 1.76937 2.585 1.76937C2.63833 1.76937 2.75375 1.79875 2.93125 1.8575L2.97917 1.84458C3.03792 1.78319 3.10965 1.73368 3.19438 1.69604C3.27924 1.6584 3.36931 1.63958 3.46458 1.63958C3.58361 1.63958 3.6941 1.65986 3.79604 1.70042C3.89785 1.74097 3.97847 1.80521 4.03792 1.89312C4.04972 1.89312 4.05861 1.89625 4.06458 1.9025C4.07056 1.90875 4.07944 1.91188 4.09125 1.91188C4.23708 1.92576 4.36694 1.97694 4.48083 2.06542C4.59472 2.15389 4.68674 2.27021 4.75688 2.41438C4.78326 2.49604 4.79431 2.57403 4.79 2.64833C4.78569 2.7225 4.76965 2.79104 4.74188 2.85396C4.74188 2.8609 4.74882 2.88271 4.76271 2.91938C4.83549 2.99451 4.89431 3.08042 4.93917 3.17708C4.98403 3.27375 5.00646 3.3766 5.00646 3.48563C5.00646 3.49743 4.97972 3.60799 4.92625 3.81729C4.91778 3.83438 4.91778 3.85951 4.92625 3.89271C4.93167 3.90868 4.94292 4.00375 4.96 4.17792C4.96 4.41639 4.85556 4.62076 4.64667 4.79104C4.43792 4.96132 4.19833 5.04646 3.92792 5.04646H2.60854ZM15.8969 5.07063C15.5403 5.07063 15.239 4.94646 14.9927 4.69813C14.7465 4.44993 14.6233 4.1516 14.6233 3.80312C14.6233 3.67632 14.6441 3.55792 14.6856 3.44792C14.727 3.33806 14.7763 3.23097 14.8333 3.12667L14.2494 2.62229C14.158 2.52799 14.1371 2.41993 14.1867 2.29813C14.2364 2.17632 14.3397 2.11542 14.4965 2.11542H15.8846C16.2319 2.11542 16.5285 2.23847 16.7742 2.48458C17.0197 2.73056 17.1425 3.02632 17.1425 3.37188V3.68604C17.1425 4.0634 17.024 4.38847 16.7871 4.66125C16.5501 4.93417 16.2534 5.07063 15.8969 5.07063ZM0 7.93583V7.62021C0 6.93215 0.325208 6.42257 0.975625 6.09146C1.62604 5.76021 2.40083 5.59458 3.3 5.59458C3.4975 5.59458 3.69507 5.60632 3.89271 5.62979C4.09035 5.65326 4.28799 5.68583 4.48563 5.7275C4.27299 5.94556 4.11215 6.22444 4.00313 6.56417C3.89424 6.90403 3.83979 7.21681 3.83979 7.5025V8.57375H0.637917C0.457222 8.57375 0.305694 8.51264 0.183333 8.39042C0.0611111 8.26806 0 8.11653 0 7.93583ZM5 7.90375V7.53208C5 6.81708 5.38535 6.2441 6.15604 5.81313C6.92674 5.38215 8.06993 5.16667 9.58562 5.16667C11.1001 5.16667 12.2422 5.38215 13.0121 5.81313C13.7818 6.2441 14.1667 6.81708 14.1667 7.53208V7.90375C14.1667 8.09361 14.1024 8.25271 13.974 8.38104C13.8456 8.50951 13.6865 8.57375 13.4967 8.57375H5.67313C5.47979 8.57375 5.31931 8.50951 5.19167 8.38104C5.06389 8.25271 5 8.09361 5 7.90375ZM15.875 5.59458C16.7708 5.59458 17.5434 5.76021 18.1927 6.09146C18.842 6.42257 19.1667 6.93215 19.1667 7.62021V7.93583C19.1667 8.11653 19.1056 8.26806 18.9833 8.39042C18.861 8.51264 18.7094 8.57375 18.5288 8.57375H15.3269V7.50104C15.3269 7.21507 15.2759 6.9025 15.174 6.56333C15.0719 6.22417 14.9049 5.94556 14.6731 5.7275C14.8708 5.68583 15.0688 5.65326 15.2671 5.62979C15.4654 5.60632 15.6681 5.59458 15.875 5.59458ZM9.58229 6.25C8.61924 6.25 7.88215 6.34056 7.37104 6.52167C6.85979 6.70278 6.43111 6.99632 6.085 7.40229V7.49042H13.0737V7.40229C12.719 6.99632 12.2895 6.70278 11.7852 6.52167C11.281 6.34056 10.5467 6.25 9.58229 6.25Z",
544
+ fill: "currentColor"
545
+ }
546
+ )
547
+ }
548
+ );
549
+ }
550
+ function J2({ size: t = "md", ...o }) {
551
+ const s = g[t];
552
+ return /* @__PURE__ */ e(
553
+ "svg",
554
+ {
555
+ width: s,
556
+ height: s,
557
+ viewBox: "0 0 19 19",
558
+ fill: "none",
559
+ "aria-hidden": "true",
560
+ xmlns: "http://www.w3.org/2000/svg",
561
+ ...o,
562
+ children: /* @__PURE__ */ e(
563
+ "path",
564
+ {
565
+ d: "M9.50025 14.25C9.71292 14.25 9.891 14.1781 10.0345 14.0343C10.1782 13.8906 10.25 13.7125 10.25 13.5V9.25C10.25 9.0375 10.1781 8.85933 10.0343 8.7155C9.89042 8.57183 9.71225 8.5 9.49975 8.5C9.28708 8.5 9.109 8.57183 8.9655 8.7155C8.82183 8.85933 8.75 9.0375 8.75 9.25V13.5C8.75 13.7125 8.82192 13.8906 8.96575 14.0343C9.10958 14.1781 9.28775 14.25 9.50025 14.25ZM9.5 6.7885C9.72883 6.7885 9.92067 6.71108 10.0755 6.55625C10.2303 6.40142 10.3077 6.20958 10.3077 5.98075C10.3077 5.75192 10.2303 5.56008 10.0755 5.40525C9.92067 5.25058 9.72883 5.17325 9.5 5.17325C9.27117 5.17325 9.07933 5.25058 8.9245 5.40525C8.76967 5.56008 8.69225 5.75192 8.69225 5.98075C8.69225 6.20958 8.76967 6.40142 8.9245 6.55625C9.07933 6.71108 9.27117 6.7885 9.5 6.7885ZM9.50175 19C8.18775 19 6.95267 18.7507 5.7965 18.252C4.64033 17.7533 3.63467 17.0766 2.7795 16.2218C1.92433 15.3669 1.24725 14.3617 0.74825 13.206C0.249417 12.0503 0 10.8156 0 9.50175C0 8.18775 0.249333 6.95267 0.748 5.7965C1.24667 4.64033 1.92342 3.63467 2.77825 2.7795C3.63308 1.92433 4.63833 1.24725 5.794 0.74825C6.94967 0.249417 8.18442 0 9.49825 0C10.8123 0 12.0473 0.249333 13.2035 0.748C14.3597 1.24667 15.3653 1.92342 16.2205 2.77825C17.0757 3.63308 17.7528 4.63833 18.2518 5.794C18.7506 6.94967 19 8.18442 19 9.49825C19 10.8123 18.7507 12.0473 18.252 13.2035C17.7533 14.3597 17.0766 15.3653 16.2218 16.2205C15.3669 17.0757 14.3617 17.7528 13.206 18.2518C12.0503 18.7506 10.8156 19 9.50175 19ZM9.5 17.5C11.7333 17.5 13.625 16.725 15.175 15.175C16.725 13.625 17.5 11.7333 17.5 9.5C17.5 7.26667 16.725 5.375 15.175 3.825C13.625 2.275 11.7333 1.5 9.5 1.5C7.26667 1.5 5.375 2.275 3.825 3.825C2.275 5.375 1.5 7.26667 1.5 9.5C1.5 11.7333 2.275 13.625 3.825 15.175C5.375 16.725 7.26667 17.5 9.5 17.5Z",
566
+ fill: "currentColor"
567
+ }
568
+ )
569
+ }
570
+ );
571
+ }
572
+ function Q2({ size: t = "md", ...o }) {
573
+ const s = g[t];
574
+ return /* @__PURE__ */ i(
575
+ "svg",
576
+ {
577
+ width: s,
578
+ height: s,
579
+ viewBox: "0 0 24 24",
580
+ fill: "none",
581
+ "aria-hidden": "true",
582
+ xmlns: "http://www.w3.org/2000/svg",
583
+ ...o,
584
+ children: [
585
+ /* @__PURE__ */ e("rect", { width: "24", height: "24", fill: "none" }),
586
+ /* @__PURE__ */ e("path", { d: "M12 14.677C11.8795 14.677 11.7673 14.6578 11.6635 14.6193C11.5597 14.5808 11.4609 14.5148 11.3673 14.4213L6.873 9.927C6.73467 9.7885 6.66384 9.61442 6.6605 9.40475C6.65734 9.19525 6.72817 9.018 6.873 8.873C7.018 8.72817 7.19367 8.65575 7.4 8.65575C7.60634 8.65575 7.782 8.72817 7.927 8.873L12 12.9463L16.073 8.873C16.2115 8.73467 16.3856 8.66383 16.5953 8.6605C16.8048 8.65733 16.982 8.72817 17.127 8.873C17.2718 9.018 17.3443 9.19367 17.3443 9.4C17.3443 9.60633 17.2718 9.782 17.127 9.927L12.6328 14.4213C12.5391 14.5148 12.4403 14.5808 12.3365 14.6193C12.2327 14.6578 12.1205 14.677 12 14.677Z", fill: "currentColor" })
587
+ ]
588
+ }
589
+ );
590
+ }
591
+ function A5({ size: t = "md", ...o }) {
592
+ const s = g[t];
593
+ return /* @__PURE__ */ i(
594
+ "svg",
595
+ {
596
+ width: s,
597
+ height: s,
598
+ viewBox: "0 0 24 24",
599
+ fill: "none",
600
+ "aria-hidden": "true",
601
+ xmlns: "http://www.w3.org/2000/svg",
602
+ ...o,
603
+ children: [
604
+ /* @__PURE__ */ e("mask", { id: "mask0_243_837", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "24", height: "24", children: /* @__PURE__ */ e("rect", { width: "24", height: "24", fill: "currentColor" }) }),
605
+ /* @__PURE__ */ e("g", { mask: "url(#mask0_243_837)", children: /* @__PURE__ */ e("path", { d: "M10.4537 12L14.527 16.073C14.6653 16.2115 14.7362 16.3856 14.7395 16.5952C14.7427 16.8047 14.6718 16.982 14.527 17.127C14.382 17.2718 14.2063 17.3442 14 17.3442C13.7937 17.3442 13.618 17.2718 13.473 17.127L8.97875 12.6327C8.88525 12.5391 8.81925 12.4403 8.78075 12.3365C8.74225 12.2327 8.723 12.1205 8.723 12C8.723 11.8795 8.74225 11.7673 8.78075 11.6635C8.81925 11.5597 8.88525 11.4609 8.97875 11.3672L13.473 6.873C13.6115 6.73466 13.7856 6.66383 13.9952 6.6605C14.2047 6.65733 14.382 6.72816 14.527 6.873C14.6718 7.018 14.7442 7.19367 14.7442 7.4C14.7442 7.60633 14.6718 7.782 14.527 7.927L10.4537 12Z", fill: "currentColor" }) })
606
+ ]
607
+ }
608
+ );
609
+ }
610
+ const Y2 = "_root_1mn3g_1", e5 = "_trigger_1mn3g_7", o5 = "_chevron_1mn3g_29", s5 = "_chevronOpen_1mn3g_35", t5 = "_content_1mn3g_39", B = {
611
+ root: Y2,
612
+ trigger: e5,
613
+ chevron: o5,
614
+ chevronOpen: s5,
615
+ content: t5
616
+ };
617
+ function n5({
618
+ trigger: t,
619
+ children: o,
620
+ defaultOpen: s = !1,
621
+ open: a,
622
+ onToggle: r,
623
+ className: p
624
+ }) {
625
+ const [_, d] = $(s), u = a !== void 0, m = u ? a : _;
626
+ function f() {
627
+ const w = !m;
628
+ u || d(w), r == null || r(w);
629
+ }
630
+ const k = [B.root, p].filter(Boolean).join(" "), b = [B.chevron, m && B.chevronOpen].filter(Boolean).join(" ");
631
+ return /* @__PURE__ */ i("div", { className: k, children: [
632
+ /* @__PURE__ */ i(
633
+ "button",
634
+ {
635
+ type: "button",
636
+ className: B.trigger,
637
+ "aria-expanded": m,
638
+ onClick: f,
639
+ children: [
640
+ t,
641
+ /* @__PURE__ */ e(Q2, { size: "sm", className: b })
642
+ ]
643
+ }
644
+ ),
645
+ m && o != null && /* @__PURE__ */ e("div", { className: B.content, children: o })
646
+ ] });
647
+ }
648
+ const i5 = "_root_13jpb_1", a5 = "_header_13jpb_9", r5 = "_info_13jpb_16", c5 = "_titleRow_13jpb_26", l5 = "_titleContent_13jpb_34", d5 = "_tagGroup_13jpb_41", C5 = "_headerAvatar_13jpb_49", p5 = "_footerAvatars_13jpb_56", _5 = "_title_13jpb_26", m5 = "_metaRow_13jpb_72", g5 = "_headerRight_13jpb_81", u5 = "_menuWrapper_13jpb_89", h5 = "_dropdown_13jpb_93", f5 = "_footer_13jpb_56", z5 = "_avatars_13jpb_110", w5 = "_actions_13jpb_115", v5 = "_feedbackRow_13jpb_124", x5 = "_feedbackDisclosure_13jpb_132", k5 = "_feedbackExpanded_13jpb_136", S5 = "_feedbackButtonHeader_13jpb_143", b5 = "_feedbackButtonBottom_13jpb_147", L5 = "_reviewButtonHeader_13jpb_156", B5 = "_reviewButtonBottom_13jpb_161", M5 = "_studentStatusList_13jpb_169", N5 = "_studentItem_13jpb_177", y5 = "_statusDot_13jpb_189", V5 = "_statusDotPending_13jpb_197", H5 = "_statusDotSubmitted_13jpb_201", X5 = "_studentsSummary_13jpb_207", n = {
649
+ root: i5,
650
+ header: a5,
651
+ info: r5,
652
+ titleRow: c5,
653
+ titleContent: l5,
654
+ tagGroup: d5,
655
+ headerAvatar: C5,
656
+ footerAvatars: p5,
657
+ title: _5,
658
+ metaRow: m5,
659
+ headerRight: g5,
660
+ menuWrapper: u5,
661
+ dropdown: h5,
662
+ footer: f5,
663
+ avatars: z5,
664
+ actions: w5,
665
+ feedbackRow: v5,
666
+ feedbackDisclosure: x5,
667
+ feedbackExpanded: k5,
668
+ feedbackButtonHeader: S5,
669
+ feedbackButtonBottom: b5,
670
+ reviewButtonHeader: L5,
671
+ reviewButtonBottom: B5,
672
+ studentStatusList: M5,
673
+ studentItem: N5,
674
+ statusDot: y5,
675
+ statusDotPending: V5,
676
+ statusDotSubmitted: H5,
677
+ studentsSummary: X5
678
+ };
679
+ function R5({
680
+ title: t,
681
+ type: o,
682
+ subjects: s,
683
+ date: a,
684
+ time: r,
685
+ duration: p,
686
+ lessonState: _,
687
+ students: d = [],
688
+ onStartLesson: u,
689
+ isStartLessonDisabled: m = !0,
690
+ menuItems: f,
691
+ feedbackState: k = "pending",
692
+ pendingFeedbackCount: b = 0,
693
+ onLeaveFeedback: w,
694
+ onReviewFeedback: y,
695
+ className: V
696
+ }) {
697
+ const [S, v] = $(!1), [R, U] = $(!1), T = J(null);
698
+ Q(() => {
699
+ if (!S) return;
700
+ function c(D) {
701
+ T.current && !T.current.contains(D.target) && v(!1);
702
+ }
703
+ function P(D) {
704
+ D.key === "Escape" && v(!1);
705
+ }
706
+ return document.addEventListener("mousedown", c), document.addEventListener("keydown", P), () => {
707
+ document.removeEventListener("mousedown", c), document.removeEventListener("keydown", P);
708
+ };
709
+ }, [S]);
710
+ const E = _ === "upcoming", O = _ === "previous", W = O && k === "pending", Z = O && k === "submitted", F = /* @__PURE__ */ i("div", { className: n.metaRow, children: [
711
+ /* @__PURE__ */ e(X, { icon: /* @__PURE__ */ e(U2, { size: "sm" }), children: a }),
712
+ /* @__PURE__ */ e(X, { icon: /* @__PURE__ */ e(W2, { size: "sm" }), children: r }),
713
+ /* @__PURE__ */ e(X, { icon: /* @__PURE__ */ e(F2, { size: "sm" }), children: p }),
714
+ o === "group" && /* @__PURE__ */ e(X, { icon: /* @__PURE__ */ e(K2, { size: "md" }), children: d.length })
715
+ ] });
716
+ return /* @__PURE__ */ i(h2, { padding: "lg", radius: "sm", bordered: !0, className: [n.root, V].filter(Boolean).join(" "), children: [
717
+ /* @__PURE__ */ i("div", { className: n.header, children: [
718
+ /* @__PURE__ */ i("div", { className: n.info, children: [
719
+ /* @__PURE__ */ i("div", { className: n.titleContent, children: [
720
+ /* @__PURE__ */ i("div", { className: n.titleRow, children: [
721
+ E && o === "1:1" && d[0] && /* @__PURE__ */ e("div", { className: n.headerAvatar, children: /* @__PURE__ */ e(I, { name: d[0].name, src: d[0].avatarSrc, size: "md" }) }),
722
+ /* @__PURE__ */ e("h3", { className: n.title, children: t })
723
+ ] }),
724
+ /* @__PURE__ */ e("div", { className: n.tagGroup, children: s.map((c) => /* @__PURE__ */ e(V1, { size: ["sm", "xs"], children: c }, c)) })
725
+ ] }),
726
+ F
727
+ ] }),
728
+ (f && f.length > 0 || Z) && /* @__PURE__ */ i("div", { className: n.headerRight, children: [
729
+ f && f.length > 0 && /* @__PURE__ */ i("div", { className: n.menuWrapper, ref: T, children: [
730
+ /* @__PURE__ */ e(
731
+ s2,
732
+ {
733
+ icon: /* @__PURE__ */ e(G2, { size: "sm" }),
734
+ "aria-label": "Lesson options",
735
+ size: "sm",
736
+ onClick: () => v((c) => !c)
737
+ }
738
+ ),
739
+ S && /* @__PURE__ */ e("div", { className: n.dropdown, children: /* @__PURE__ */ e(P2, { children: f.map((c) => /* @__PURE__ */ e(
740
+ q2,
741
+ {
742
+ icon: c.icon,
743
+ onClick: () => {
744
+ c.onClick(), v(!1);
745
+ },
746
+ children: c.label
747
+ },
748
+ c.label
749
+ )) }) })
750
+ ] }),
751
+ Z && /* @__PURE__ */ e(L, { variant: "secondary", size: "sm", onClick: y, className: n.reviewButtonHeader, children: "Review feedback" })
752
+ ] })
753
+ ] }),
754
+ E && /* @__PURE__ */ i("div", { className: n.footer, children: [
755
+ /* @__PURE__ */ e("div", { className: o === "1:1" ? n.footerAvatars : n.avatars, children: o === "1:1" ? d[0] && /* @__PURE__ */ e(I, { name: d[0].name, src: d[0].avatarSrc, size: "md" }) : /* @__PURE__ */ e(F1, { children: d.map((c) => /* @__PURE__ */ e(I, { name: c.name, src: c.avatarSrc, size: "md" }, c.name)) }) }),
756
+ /* @__PURE__ */ e("div", { className: n.actions, children: /* @__PURE__ */ e(
757
+ L,
758
+ {
759
+ variant: "primary",
760
+ size: ["md", "sm"],
761
+ disabled: m,
762
+ onClick: u,
763
+ children: "Start lesson"
764
+ }
765
+ ) })
766
+ ] }),
767
+ W && /* @__PURE__ */ i(j, { children: [
768
+ /* @__PURE__ */ i("div", { className: n.feedbackRow, children: [
769
+ /* @__PURE__ */ e(
770
+ n5,
771
+ {
772
+ className: n.feedbackDisclosure,
773
+ open: R,
774
+ onToggle: U,
775
+ trigger: /* @__PURE__ */ i(j, { children: [
776
+ /* @__PURE__ */ e(J2, { size: "sm" }),
777
+ /* @__PURE__ */ i("span", { children: [
778
+ b,
779
+ " pending feedback"
780
+ ] })
781
+ ] }),
782
+ children: null
783
+ }
784
+ ),
785
+ /* @__PURE__ */ e(L, { variant: "primary", size: "sm", onClick: w, className: n.feedbackButtonHeader, children: "Leave feedback" })
786
+ ] }),
787
+ R && /* @__PURE__ */ i("div", { className: n.feedbackExpanded, children: [
788
+ /* @__PURE__ */ e(G, {}),
789
+ /* @__PURE__ */ e("div", { className: n.studentStatusList, children: d.map((c) => /* @__PURE__ */ i("span", { className: n.studentItem, children: [
790
+ /* @__PURE__ */ e(
791
+ "span",
792
+ {
793
+ className: [
794
+ n.statusDot,
795
+ c.feedbackStatus === "submitted" ? n.statusDotSubmitted : n.statusDotPending
796
+ ].join(" ")
797
+ }
798
+ ),
799
+ c.name
800
+ ] }, c.name)) })
801
+ ] }),
802
+ /* @__PURE__ */ e("div", { className: n.feedbackButtonBottom, children: /* @__PURE__ */ e(L, { variant: "primary", size: "md", onClick: w, children: "Leave feedback" }) })
803
+ ] }),
804
+ Z && /* @__PURE__ */ i(j, { children: [
805
+ /* @__PURE__ */ e(G, { spacingBottom: "xxs", spacingTop: "xxs" }),
806
+ /* @__PURE__ */ i("p", { className: n.studentsSummary, children: [
807
+ /* @__PURE__ */ e("strong", { children: "Students" }),
808
+ ": ",
809
+ /* @__PURE__ */ e("span", { children: d.map((c) => c.name).join(", ") })
810
+ ] }),
811
+ /* @__PURE__ */ e("div", { className: n.reviewButtonBottom, children: /* @__PURE__ */ e(L, { variant: "secondary", size: "md", onClick: y, children: "Review feedback" }) })
812
+ ] })
56
813
  ] });
57
- return _ ? /* @__PURE__ */ e("a", { href: _, target: m, rel: g, onClick: c, className: a, children: t }) : /* @__PURE__ */ e("button", { type: d, disabled: y, onClick: c, className: a, children: t });
58
814
  }
59
815
  export {
60
- E as Button
816
+ I as Avatar,
817
+ F1 as AvatarGroup,
818
+ L as Button,
819
+ h2 as Card,
820
+ Q2 as ChevronDownIcon,
821
+ A5 as ChevronLeftIcon,
822
+ W2 as ClockIcon,
823
+ T5 as CloseIcon,
824
+ n5 as Disclosure,
825
+ G as Divider,
826
+ P2 as DropdownMenu,
827
+ q2 as DropdownMenuItem,
828
+ D5 as EventBusyIcon,
829
+ U2 as EventNoteIcon,
830
+ K2 as GroupIcon,
831
+ Z5 as HistoryIcon,
832
+ F2 as HourglassIcon,
833
+ g as ICON_SIZES,
834
+ s2 as IconButton,
835
+ J2 as InfoIcon,
836
+ G2 as KebabIcon,
837
+ R5 as LessonCard,
838
+ X as MetadataItem,
839
+ V1 as Tag,
840
+ I5 as UploadIcon
61
841
  };