analytica-frontend-lib 1.1.58 → 1.1.60

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.
package/dist/index.js CHANGED
@@ -126,6 +126,8 @@ __export(src_exports, {
126
126
  SkeletonTable: () => SkeletonTable,
127
127
  SkeletonText: () => SkeletonText,
128
128
  Stepper: () => Stepper_default,
129
+ SubjectEnum: () => SubjectEnum,
130
+ SubjectInfo: () => SubjectInfo,
129
131
  Table: () => Table_default,
130
132
  Text: () => Text_default,
131
133
  TextArea: () => TextArea_default,
@@ -143,6 +145,10 @@ __export(src_exports, {
143
145
  getDeviceType: () => getDeviceType,
144
146
  getRootDomain: () => getRootDomain,
145
147
  getStatusBadge: () => getStatusBadge,
148
+ getSubjectColorClass: () => getSubjectColorClass,
149
+ getSubjectData: () => getSubjectData,
150
+ getSubjectIcon: () => getSubjectIcon,
151
+ getSubjectName: () => getSubjectName,
146
152
  useApiConfig: () => useApiConfig,
147
153
  useAuth: () => useAuth,
148
154
  useAuthGuard: () => useAuthGuard,
@@ -2617,7 +2623,7 @@ var ProfileMenuHeader = (0, import_react13.forwardRef)(({ className, name, email
2617
2623
  className: cn("flex flex-row gap-4 items-center", className),
2618
2624
  ...props,
2619
2625
  children: [
2620
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "size-16 bg-primary-100 rounded-full flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_phosphor_react9.User, { size: 34, className: "text-primary-950" }) }),
2626
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "size-16 bg-primary-100 rounded-full flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_phosphor_react9.User, { size: 34, className: "text-primary-800" }) }),
2621
2627
  /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-col ", children: [
2622
2628
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text_default, { size: "xl", weight: "bold", color: "text-text-950", children: name }),
2623
2629
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text_default, { size: "md", color: "text-text-600", children: email })
@@ -6401,6 +6407,302 @@ var MultipleChoiceList = ({
6401
6407
  );
6402
6408
  };
6403
6409
 
6410
+ // src/assets/icons/subjects/BookOpenText.tsx
6411
+ var import_jsx_runtime33 = require("react/jsx-runtime");
6412
+ var BookOpenText = ({
6413
+ size,
6414
+ color
6415
+ }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6416
+ "svg",
6417
+ {
6418
+ width: size,
6419
+ height: size,
6420
+ viewBox: "0 0 32 32",
6421
+ fill: "none",
6422
+ xmlns: "http://www.w3.org/2000/svg",
6423
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6424
+ "path",
6425
+ {
6426
+ d: "M29 6H20C19.2238 6 18.4582 6.18073 17.7639 6.52786C17.0697 6.875 16.4657 7.37902 16 8C15.5343 7.37902 14.9303 6.875 14.2361 6.52786C13.5418 6.18073 12.7762 6 12 6H3C2.73478 6 2.48043 6.10536 2.29289 6.29289C2.10536 6.48043 2 6.73478 2 7V25C2 25.2652 2.10536 25.5196 2.29289 25.7071C2.48043 25.8946 2.73478 26 3 26H12C12.7956 26 13.5587 26.3161 14.1213 26.8787C14.6839 27.4413 15 28.2044 15 29C15 29.2652 15.1054 29.5196 15.2929 29.7071C15.4804 29.8946 15.7348 30 16 30C16.2652 30 16.5196 29.8946 16.7071 29.7071C16.8946 29.5196 17 29.2652 17 29C17 28.2044 17.3161 27.4413 17.8787 26.8787C18.4413 26.3161 19.2044 26 20 26H29C29.2652 26 29.5196 25.8946 29.7071 25.7071C29.8946 25.5196 30 25.2652 30 25V7C30 6.73478 29.8946 6.48043 29.7071 6.29289C29.5196 6.10536 29.2652 6 29 6ZM12 24H4V8H12C12.7956 8 13.5587 8.31607 14.1213 8.87868C14.6839 9.44129 15 10.2044 15 11V25C14.1353 24.3493 13.0821 23.9983 12 24ZM28 24H20C18.9179 23.9983 17.8647 24.3493 17 25V11C17 10.2044 17.3161 9.44129 17.8787 8.87868C18.4413 8.31607 19.2044 8 20 8H28V24ZM20 11H25C25.2652 11 25.5196 11.1054 25.7071 11.2929C25.8946 11.4804 26 11.7348 26 12C26 12.2652 25.8946 12.5196 25.7071 12.7071C25.5196 12.8946 25.2652 13 25 13H20C19.7348 13 19.4804 12.8946 19.2929 12.7071C19.1054 12.5196 19 12.2652 19 12C19 11.7348 19.1054 11.4804 19.2929 11.2929C19.4804 11.1054 19.7348 11 20 11ZM26 16C26 16.2652 25.8946 16.5196 25.7071 16.7071C25.5196 16.8946 25.2652 17 25 17H20C19.7348 17 19.4804 16.8946 19.2929 16.7071C19.1054 16.5196 19 16.2652 19 16C19 15.7348 19.1054 15.4804 19.2929 15.2929C19.4804 15.1054 19.7348 15 20 15H25C25.2652 15 25.5196 15.1054 25.7071 15.2929C25.8946 15.4804 26 15.7348 26 16ZM26 20C26 20.2652 25.8946 20.5196 25.7071 20.7071C25.5196 20.8946 25.2652 21 25 21H20C19.7348 21 19.4804 20.8946 19.2929 20.7071C19.1054 20.5196 19 20.2652 19 20C19 19.7348 19.1054 19.4804 19.2929 19.2929C19.4804 19.1054 19.7348 19 20 19H25C25.2652 19 25.5196 19.1054 25.7071 19.2929C25.8946 19.4804 26 19.7348 26 20Z",
6427
+ fill: color
6428
+ }
6429
+ )
6430
+ }
6431
+ );
6432
+
6433
+ // src/assets/icons/subjects/ChatEN.tsx
6434
+ var import_jsx_runtime34 = require("react/jsx-runtime");
6435
+ var ChatEN2 = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
6436
+ "svg",
6437
+ {
6438
+ width: size,
6439
+ height: size,
6440
+ viewBox: "0 0 32 32",
6441
+ fill: "none",
6442
+ xmlns: "http://www.w3.org/2000/svg",
6443
+ children: [
6444
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
6445
+ "path",
6446
+ {
6447
+ d: "M27 6H5.00004C4.4696 6 3.9609 6.21071 3.58582 6.58579C3.21075 6.96086 3.00004 7.46957 3.00004 8V28C2.99773 28.3814 3.10562 28.7553 3.31074 29.0768C3.51585 29.3984 3.80947 29.6538 4.15629 29.8125C4.42057 29.9356 4.7085 29.9995 5.00004 30C5.46954 29.9989 5.92347 29.8315 6.28129 29.5275L6.29254 29.5187L10.375 26H27C27.5305 26 28.0392 25.7893 28.4142 25.4142C28.7893 25.0391 29 24.5304 29 24V8C29 7.46957 28.7893 6.96086 28.4142 6.58579C28.0392 6.21071 27.5305 6 27 6ZM27 24H10C9.75992 24.0001 9.52787 24.0866 9.34629 24.2437L5.00004 28V8H27V24Z",
6448
+ fill: color
6449
+ }
6450
+ ),
6451
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
6452
+ "path",
6453
+ {
6454
+ d: "M22.5488 12V20.5312H21.0781L17.252 14.4199V20.5312H15.7812V12H17.252L21.0898 18.123V12H22.5488Z",
6455
+ fill: color
6456
+ }
6457
+ ),
6458
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
6459
+ "path",
6460
+ {
6461
+ d: "M14.584 19.3652V20.5312H10.0547V19.3652H14.584ZM10.4707 12V20.5312H9V12H10.4707ZM13.9922 15.5625V16.7109H10.0547V15.5625H13.9922ZM14.5547 12V13.1719H10.0547V12H14.5547Z",
6462
+ fill: color
6463
+ }
6464
+ )
6465
+ ]
6466
+ }
6467
+ );
6468
+
6469
+ // src/assets/icons/subjects/ChatES.tsx
6470
+ var import_jsx_runtime35 = require("react/jsx-runtime");
6471
+ var ChatES2 = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
6472
+ "svg",
6473
+ {
6474
+ width: size,
6475
+ height: size,
6476
+ viewBox: "0 0 32 32",
6477
+ fill: "none",
6478
+ xmlns: "http://www.w3.org/2000/svg",
6479
+ children: [
6480
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
6481
+ "path",
6482
+ {
6483
+ d: "M27 6H5.00004C4.4696 6 3.9609 6.21071 3.58582 6.58579C3.21075 6.96086 3.00004 7.46957 3.00004 8V28C2.99773 28.3814 3.10562 28.7553 3.31074 29.0768C3.51585 29.3984 3.80947 29.6538 4.15629 29.8125C4.42057 29.9356 4.7085 29.9995 5.00004 30C5.46954 29.9989 5.92347 29.8315 6.28129 29.5275L6.29254 29.5187L10.375 26H27C27.5305 26 28.0392 25.7893 28.4142 25.4142C28.7893 25.0391 29 24.5304 29 24V8C29 7.46957 28.7893 6.96086 28.4142 6.58579C28.0392 6.21071 27.5305 6 27 6ZM27 24H10C9.75992 24.0001 9.52787 24.0866 9.34629 24.2437L5.00004 28V8H27V24Z",
6484
+ fill: color
6485
+ }
6486
+ ),
6487
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
6488
+ "path",
6489
+ {
6490
+ d: "M21.1426 17.8027C21.1426 17.627 21.1152 17.4707 21.0605 17.334C21.0098 17.1973 20.918 17.0723 20.7852 16.959C20.6523 16.8457 20.4648 16.7363 20.2227 16.6309C19.9844 16.5215 19.6797 16.4102 19.3086 16.2969C18.9023 16.1719 18.5273 16.0332 18.1836 15.8809C17.8438 15.7246 17.5469 15.5449 17.293 15.3418C17.0391 15.1348 16.8418 14.8984 16.7012 14.6328C16.5605 14.3633 16.4902 14.0527 16.4902 13.7012C16.4902 13.3535 16.5625 13.0371 16.707 12.752C16.8555 12.4668 17.0645 12.2207 17.334 12.0137C17.6074 11.8027 17.9297 11.6406 18.3008 11.5273C18.6719 11.4102 19.082 11.3516 19.5312 11.3516C20.1641 11.3516 20.709 11.4688 21.166 11.7031C21.627 11.9375 21.9805 12.252 22.2266 12.6465C22.4766 13.041 22.6016 13.4766 22.6016 13.9531H21.1426C21.1426 13.6719 21.082 13.4238 20.9609 13.209C20.8438 12.9902 20.6641 12.8184 20.4219 12.6934C20.1836 12.5684 19.8809 12.5059 19.5137 12.5059C19.166 12.5059 18.877 12.5586 18.6465 12.6641C18.416 12.7695 18.2441 12.9121 18.1309 13.0918C18.0176 13.2715 17.9609 13.4746 17.9609 13.7012C17.9609 13.8613 17.998 14.0078 18.0723 14.1406C18.1465 14.2695 18.2598 14.3906 18.4121 14.5039C18.5645 14.6133 18.7559 14.7168 18.9863 14.8145C19.2168 14.9121 19.4883 15.0059 19.8008 15.0957C20.2734 15.2363 20.6855 15.3926 21.0371 15.5645C21.3887 15.7324 21.6816 15.9238 21.916 16.1387C22.1504 16.3535 22.3262 16.5977 22.4434 16.8711C22.5605 17.1406 22.6191 17.4473 22.6191 17.791C22.6191 18.1504 22.5469 18.4746 22.4023 18.7637C22.2578 19.0488 22.0508 19.293 21.7812 19.4961C21.5156 19.6953 21.1953 19.8496 20.8203 19.959C20.4492 20.0645 20.0352 20.1172 19.5781 20.1172C19.168 20.1172 18.7637 20.0625 18.3652 19.9531C17.9707 19.8438 17.6113 19.6777 17.2871 19.4551C16.9629 19.2285 16.7051 18.9473 16.5137 18.6113C16.3223 18.2715 16.2266 17.875 16.2266 17.4219H17.6973C17.6973 17.6992 17.7441 17.9355 17.8379 18.1309C17.9355 18.3262 18.0703 18.4863 18.2422 18.6113C18.4141 18.7324 18.6133 18.8223 18.8398 18.8809C19.0703 18.9395 19.3164 18.9688 19.5781 18.9688C19.9219 18.9688 20.209 18.9199 20.4395 18.8223C20.6738 18.7246 20.8496 18.5879 20.9668 18.4121C21.084 18.2363 21.1426 18.0332 21.1426 17.8027Z",
6491
+ fill: color
6492
+ }
6493
+ ),
6494
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
6495
+ "path",
6496
+ {
6497
+ d: "M15.4512 18.834V20H10.9219V18.834H15.4512ZM11.3379 11.4688V20H9.86719V11.4688H11.3379ZM14.8594 15.0312V16.1797H10.9219V15.0312H14.8594ZM15.4219 11.4688V12.6406H10.9219V11.4688H15.4219Z",
6498
+ fill: color
6499
+ }
6500
+ )
6501
+ ]
6502
+ }
6503
+ );
6504
+
6505
+ // src/assets/icons/subjects/ChatPT.tsx
6506
+ var import_jsx_runtime36 = require("react/jsx-runtime");
6507
+ var ChatPT2 = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
6508
+ "svg",
6509
+ {
6510
+ width: size,
6511
+ height: size,
6512
+ viewBox: "0 0 32 32",
6513
+ fill: "none",
6514
+ xmlns: "http://www.w3.org/2000/svg",
6515
+ children: [
6516
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
6517
+ "path",
6518
+ {
6519
+ d: "M27 6H5.00004C4.4696 6 3.9609 6.21071 3.58582 6.58579C3.21075 6.96086 3.00004 7.46957 3.00004 8V28C2.99773 28.3814 3.10562 28.7553 3.31074 29.0768C3.51585 29.3984 3.80947 29.6538 4.15629 29.8125C4.42057 29.9356 4.7085 29.9995 5.00004 30C5.46954 29.9989 5.92347 29.8315 6.28129 29.5275L6.29254 29.5187L10.375 26H27C27.5305 26 28.0392 25.7893 28.4142 25.4142C28.7893 25.0391 29 24.5304 29 24V8C29 7.46957 28.7893 6.96086 28.4142 6.58579C28.0392 6.21071 27.5305 6 27 6ZM27 24H10C9.75992 24.0001 9.52787 24.0866 9.34629 24.2437L5.00004 28V8H27V24Z",
6520
+ fill: color
6521
+ }
6522
+ ),
6523
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
6524
+ "path",
6525
+ {
6526
+ d: "M21.1758 12V20.5312H19.7168V12H21.1758ZM23.8535 12V13.1719H17.0625V12H23.8535Z",
6527
+ fill: color
6528
+ }
6529
+ ),
6530
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
6531
+ "path",
6532
+ {
6533
+ d: "M13.2402 17.3496H11.0195V16.1836H13.2402C13.627 16.1836 13.9395 16.1211 14.1777 15.9961C14.416 15.8711 14.5898 15.6992 14.6992 15.4805C14.8125 15.2578 14.8691 15.0039 14.8691 14.7188C14.8691 14.4492 14.8125 14.1973 14.6992 13.9629C14.5898 13.7246 14.416 13.5332 14.1777 13.3887C13.9395 13.2441 13.627 13.1719 13.2402 13.1719H11.4707V20.5312H10V12H13.2402C13.9004 12 14.4609 12.1172 14.9219 12.3516C15.3867 12.582 15.7402 12.9023 15.9824 13.3125C16.2246 13.7188 16.3457 14.1836 16.3457 14.707C16.3457 15.2578 16.2246 15.7305 15.9824 16.125C15.7402 16.5195 15.3867 16.8223 14.9219 17.0332C14.4609 17.2441 13.9004 17.3496 13.2402 17.3496Z",
6534
+ fill: color
6535
+ }
6536
+ )
6537
+ ]
6538
+ }
6539
+ );
6540
+
6541
+ // src/assets/icons/subjects/HeadCircuit.tsx
6542
+ var import_jsx_runtime37 = require("react/jsx-runtime");
6543
+ var HeadCircuit = ({
6544
+ size,
6545
+ color
6546
+ }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
6547
+ "svg",
6548
+ {
6549
+ width: size,
6550
+ height: size,
6551
+ viewBox: "0 0 32 32",
6552
+ fill: "none",
6553
+ xmlns: "http://www.w3.org/2000/svg",
6554
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
6555
+ "path",
6556
+ {
6557
+ d: "M24.0625 21.4338C25.327 20.3715 26.3372 19.0392 27.0187 17.5348C27.7001 16.0304 28.0354 14.3924 28 12.7413C27.875 7.02751 23.2987 2.31626 17.595 2.01626C16.1233 1.93616 14.6506 2.15261 13.2642 2.65277C11.8778 3.15293 10.6061 3.92659 9.52453 4.92781C8.44297 5.92903 7.57365 7.13739 6.96819 8.48112C6.36272 9.82485 6.03347 11.2766 5.99997 12.75L3.19372 18.1475C3.18247 18.17 3.17122 18.1925 3.16122 18.215C2.96003 18.6839 2.94569 19.212 3.12114 19.6912C3.29659 20.1704 3.64855 20.5644 4.10497 20.7925L4.13622 20.8063L6.99997 22.1175V26C6.99997 26.5304 7.21068 27.0392 7.58576 27.4142C7.96083 27.7893 8.46954 28 8.99997 28H15C15.2652 28 15.5195 27.8947 15.7071 27.7071C15.8946 27.5196 16 27.2652 16 27C16 26.7348 15.8946 26.4804 15.7071 26.2929C15.5195 26.1054 15.2652 26 15 26H8.99997V21.4763C9.00011 21.2846 8.94517 21.0969 8.84168 20.9356C8.73818 20.7742 8.5905 20.646 8.41622 20.5663L4.99997 19L7.88372 13.4575C7.95889 13.3166 7.99878 13.1597 7.99997 13C7.99968 10.9604 8.69216 8.98124 9.96395 7.38674C11.2357 5.79224 13.0114 4.677 15 4.22376V6.17251C14.3328 6.4084 13.7704 6.87258 13.4123 7.48299C13.0543 8.0934 12.9235 8.81075 13.0432 9.50824C13.1628 10.2057 13.5252 10.8385 14.0663 11.2946C14.6074 11.7508 15.2923 12.0009 16 12.0009C16.7077 12.0009 17.3926 11.7508 17.9336 11.2946C18.4747 10.8385 18.8371 10.2057 18.9568 9.50824C19.0764 8.81075 18.9457 8.0934 18.5876 7.48299C18.2295 6.87258 17.6672 6.4084 17 6.17251V4.00001C17.1625 4.00001 17.325 4.00001 17.4875 4.01251C19.2608 4.11409 20.9649 4.73627 22.3864 5.80124C23.808 6.86621 24.8841 8.32669 25.48 10H23C22.8533 9.99995 22.7084 10.0322 22.5755 10.0944C22.4426 10.1566 22.3251 10.2473 22.2312 10.36L19.0425 14.1875C18.3774 13.9397 17.6462 13.9351 16.9781 14.1744C16.3099 14.4138 15.748 14.8817 15.3916 15.4954C15.0352 16.1092 14.9073 16.8292 15.0306 17.5281C15.1538 18.227 15.5203 18.8598 16.0652 19.3146C16.61 19.7694 17.2981 20.0168 18.0078 20.0132C18.7175 20.0095 19.4031 19.755 19.9432 19.2947C20.4834 18.8343 20.8433 18.1977 20.9594 17.4976C21.0754 16.7974 20.9402 16.0788 20.5775 15.4688L23.4687 12H25.9425C25.9725 12.26 25.9908 12.5225 25.9975 12.7875C26.0286 14.2198 25.7187 15.639 25.0931 16.9278C24.4676 18.2167 23.5445 19.3383 22.4 20.2C22.2589 20.3057 22.1484 20.4469 22.0794 20.6091C22.0105 20.7713 21.9857 20.9489 22.0075 21.1238L23.0075 29.1238C23.0379 29.3653 23.1554 29.5874 23.3379 29.7485C23.5203 29.9095 23.7553 29.9985 23.9987 29.9988C24.0405 29.9988 24.0822 29.9962 24.1237 29.9913C24.2541 29.975 24.3799 29.9333 24.4942 29.8684C24.6084 29.8035 24.7087 29.7168 24.7893 29.6131C24.87 29.5094 24.9295 29.3909 24.9643 29.2643C24.9992 29.1376 25.0087 29.0054 24.9925 28.875L24.0625 21.4338ZM16 10C15.8022 10 15.6088 9.94136 15.4444 9.83148C15.28 9.7216 15.1518 9.56542 15.0761 9.38269C15.0004 9.19997 14.9806 8.9989 15.0192 8.80492C15.0578 8.61094 15.153 8.43275 15.2929 8.2929C15.4327 8.15305 15.6109 8.05781 15.8049 8.01922C15.9989 7.98064 16.1999 8.00044 16.3827 8.07613C16.5654 8.15182 16.7216 8.27999 16.8314 8.44444C16.9413 8.60889 17 8.80223 17 9.00001C17 9.26523 16.8946 9.51958 16.7071 9.70712C16.5195 9.89465 16.2652 10 16 10ZM18 18C17.8022 18 17.6088 17.9414 17.4444 17.8315C17.28 17.7216 17.1518 17.5654 17.0761 17.3827C17.0004 17.2 16.9806 16.9989 17.0192 16.8049C17.0578 16.6109 17.153 16.4328 17.2929 16.2929C17.4327 16.153 17.6109 16.0578 17.8049 16.0192C17.9989 15.9806 18.1999 16.0004 18.3827 16.0761C18.5654 16.1518 18.7216 16.28 18.8314 16.4444C18.9413 16.6089 19 16.8022 19 17C19 17.2652 18.8946 17.5196 18.7071 17.7071C18.5195 17.8947 18.2652 18 18 18Z",
6558
+ fill: color
6559
+ }
6560
+ )
6561
+ }
6562
+ );
6563
+
6564
+ // src/assets/icons/subjects/Microscope.tsx
6565
+ var import_jsx_runtime38 = require("react/jsx-runtime");
6566
+ var Microscope = ({
6567
+ size,
6568
+ color
6569
+ }) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6570
+ "svg",
6571
+ {
6572
+ width: size,
6573
+ height: size,
6574
+ viewBox: "0 0 32 32",
6575
+ fill: "none",
6576
+ xmlns: "http://www.w3.org/2000/svg",
6577
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
6578
+ "path",
6579
+ {
6580
+ d: "M28 26H25.4925C26.7637 24.4552 27.5898 22.5932 27.882 20.6142C28.1743 18.6351 27.9216 16.6138 27.1511 14.7676C26.3806 12.9213 25.1215 11.32 23.5092 10.1358C21.8968 8.95153 19.9922 8.22913 18 8.04625V4C18 3.46957 17.7893 2.96086 17.4142 2.58579C17.0391 2.21071 16.5304 2 16 2H10C9.46957 2 8.96086 2.21071 8.58579 2.58579C8.21071 2.96086 8 3.46957 8 4V17C8 17.5304 8.21071 18.0391 8.58579 18.4142C8.96086 18.7893 9.46957 19 10 19H16C16.5304 19 17.0391 18.7893 17.4142 18.4142C17.7893 18.0391 18 17.5304 18 17V10.0575C19.7643 10.2552 21.4306 10.9703 22.7895 12.1128C24.1483 13.2553 25.1389 14.7742 25.6366 16.4783C26.1343 18.1824 26.1169 19.9957 25.5866 21.69C25.0563 23.3842 24.0368 24.8838 22.6562 26H4C3.73478 26 3.48043 26.1054 3.29289 26.2929C3.10536 26.4804 3 26.7348 3 27C3 27.2652 3.10536 27.5196 3.29289 27.7071C3.48043 27.8946 3.73478 28 4 28H28C28.2652 28 28.5196 27.8946 28.7071 27.7071C28.8946 27.5196 29 27.2652 29 27C29 26.7348 28.8946 26.4804 28.7071 26.2929C28.5196 26.1054 28.2652 26 28 26ZM16 17H10V4H16V17ZM9 23C8.73478 23 8.48043 22.8946 8.29289 22.7071C8.10536 22.5196 8 22.2652 8 22C8 21.7348 8.10536 21.4804 8.29289 21.2929C8.48043 21.1054 8.73478 21 9 21H17C17.2652 21 17.5196 21.1054 17.7071 21.2929C17.8946 21.4804 18 21.7348 18 22C18 22.2652 17.8946 22.5196 17.7071 22.7071C17.5196 22.8946 17.2652 23 17 23H9Z",
6581
+ fill: color
6582
+ }
6583
+ )
6584
+ }
6585
+ );
6586
+
6587
+ // src/enums/SubjectEnum.ts
6588
+ var SubjectEnum = /* @__PURE__ */ ((SubjectEnum2) => {
6589
+ SubjectEnum2["FISICA"] = "F\xEDsica";
6590
+ SubjectEnum2["HISTORIA"] = "Hist\xF3ria";
6591
+ SubjectEnum2["LITERATURA"] = "Literatura";
6592
+ SubjectEnum2["GEOGRAFIA"] = "Geografia";
6593
+ SubjectEnum2["BIOLOGIA"] = "Biologia";
6594
+ SubjectEnum2["PORTUGUES"] = "Portugu\xEAs";
6595
+ SubjectEnum2["QUIMICA"] = "Qu\xEDmica";
6596
+ SubjectEnum2["ARTES"] = "Artes";
6597
+ SubjectEnum2["MATEMATICA"] = "Matem\xE1tica";
6598
+ SubjectEnum2["FILOSOFIA"] = "Filosofia";
6599
+ SubjectEnum2["ESPANHOL"] = "Espanhol";
6600
+ SubjectEnum2["REDACAO"] = "Reda\xE7\xE3o";
6601
+ SubjectEnum2["SOCIOLOGIA"] = "Sociologia";
6602
+ SubjectEnum2["INGLES"] = "Ingl\xEAs";
6603
+ SubjectEnum2["EDUCACAO_FISICA"] = "Ed. F\xEDsica";
6604
+ SubjectEnum2["TRILHAS"] = "Trilhas";
6605
+ return SubjectEnum2;
6606
+ })(SubjectEnum || {});
6607
+
6608
+ // src/components/SubjectInfo/SubjectInfo.tsx
6609
+ var import_phosphor_react17 = require("phosphor-react");
6610
+ var import_jsx_runtime39 = require("react/jsx-runtime");
6611
+ var SubjectInfo = {
6612
+ ["F\xEDsica" /* FISICA */]: {
6613
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.Atom, { size: 17 }),
6614
+ colorClass: "bg-subject-1",
6615
+ name: "F\xEDsica" /* FISICA */
6616
+ },
6617
+ ["Hist\xF3ria" /* HISTORIA */]: {
6618
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.Scroll, { size: 17 }),
6619
+ colorClass: "bg-subject-2",
6620
+ name: "Hist\xF3ria" /* HISTORIA */
6621
+ },
6622
+ ["Literatura" /* LITERATURA */]: {
6623
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(BookOpenText, { size: 17, color: "#000000" }),
6624
+ colorClass: "bg-subject-3",
6625
+ name: "Literatura" /* LITERATURA */
6626
+ },
6627
+ ["Geografia" /* GEOGRAFIA */]: {
6628
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.GlobeHemisphereWest, { size: 17 }),
6629
+ colorClass: "bg-subject-4",
6630
+ name: "Geografia" /* GEOGRAFIA */
6631
+ },
6632
+ ["Biologia" /* BIOLOGIA */]: {
6633
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Microscope, { size: 17, color: "#000000" }),
6634
+ colorClass: "bg-subject-5",
6635
+ name: "Biologia" /* BIOLOGIA */
6636
+ },
6637
+ ["Portugu\xEAs" /* PORTUGUES */]: {
6638
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ChatPT2, { size: 17, color: "#000000" }),
6639
+ colorClass: "bg-subject-6",
6640
+ name: "Portugu\xEAs" /* PORTUGUES */
6641
+ },
6642
+ ["Qu\xEDmica" /* QUIMICA */]: {
6643
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.Flask, { size: 17 }),
6644
+ colorClass: "bg-subject-7",
6645
+ name: "Qu\xEDmica" /* QUIMICA */
6646
+ },
6647
+ ["Artes" /* ARTES */]: {
6648
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.Palette, { size: 17 }),
6649
+ colorClass: "bg-subject-8",
6650
+ name: "Artes" /* ARTES */
6651
+ },
6652
+ ["Matem\xE1tica" /* MATEMATICA */]: {
6653
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.MathOperations, { size: 17 }),
6654
+ colorClass: "bg-subject-9",
6655
+ name: "Matem\xE1tica" /* MATEMATICA */
6656
+ },
6657
+ ["Filosofia" /* FILOSOFIA */]: {
6658
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(HeadCircuit, { size: 17, color: "#000000" }),
6659
+ colorClass: "bg-subject-10",
6660
+ name: "Filosofia" /* FILOSOFIA */
6661
+ },
6662
+ ["Espanhol" /* ESPANHOL */]: {
6663
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ChatES2, { size: 17, color: "#000000" }),
6664
+ colorClass: "bg-subject-11",
6665
+ name: "Espanhol" /* ESPANHOL */
6666
+ },
6667
+ ["Reda\xE7\xE3o" /* REDACAO */]: {
6668
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.ArticleNyTimes, { size: 17 }),
6669
+ colorClass: "bg-subject-12",
6670
+ name: "Reda\xE7\xE3o" /* REDACAO */
6671
+ },
6672
+ ["Sociologia" /* SOCIOLOGIA */]: {
6673
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.Person, { size: 17 }),
6674
+ colorClass: "bg-subject-13",
6675
+ name: "Sociologia" /* SOCIOLOGIA */
6676
+ },
6677
+ ["Ingl\xEAs" /* INGLES */]: {
6678
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ChatEN2, { size: 17, color: "#000000" }),
6679
+ colorClass: "bg-subject-14",
6680
+ name: "Ingl\xEAs" /* INGLES */
6681
+ },
6682
+ ["Ed. F\xEDsica" /* EDUCACAO_FISICA */]: {
6683
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.DribbbleLogo, { size: 17 }),
6684
+ colorClass: "bg-subject-15",
6685
+ name: "Ed. F\xEDsica" /* EDUCACAO_FISICA */
6686
+ },
6687
+ ["Trilhas" /* TRILHAS */]: {
6688
+ icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react17.BookBookmark, { size: 17 }),
6689
+ colorClass: "bg-subject-16",
6690
+ name: "Trilhas" /* TRILHAS */
6691
+ }
6692
+ };
6693
+ var getSubjectData = (subject) => {
6694
+ return SubjectInfo[subject];
6695
+ };
6696
+ var getSubjectIcon = (subject) => {
6697
+ return SubjectInfo[subject].icon;
6698
+ };
6699
+ var getSubjectColorClass = (subject) => {
6700
+ return SubjectInfo[subject].colorClass;
6701
+ };
6702
+ var getSubjectName = (subject) => {
6703
+ return SubjectInfo[subject].name;
6704
+ };
6705
+
6404
6706
  // src/hooks/useMobile.ts
6405
6707
  var import_react21 = require("react");
6406
6708
  var MOBILE_WIDTH = 500;
@@ -6461,8 +6763,8 @@ var useMobile = () => {
6461
6763
  // src/components/Select/Select.tsx
6462
6764
  var import_zustand5 = require("zustand");
6463
6765
  var import_react22 = require("react");
6464
- var import_phosphor_react17 = require("phosphor-react");
6465
- var import_jsx_runtime33 = require("react/jsx-runtime");
6766
+ var import_phosphor_react18 = require("phosphor-react");
6767
+ var import_jsx_runtime40 = require("react/jsx-runtime");
6466
6768
  var VARIANT_CLASSES4 = {
6467
6769
  outlined: "border-2 rounded-lg focus:border-primary-950",
6468
6770
  underlined: "border-b-2 focus:border-primary-950",
@@ -6522,7 +6824,7 @@ function getLabelAsNode(children) {
6522
6824
  }
6523
6825
  const flattened = import_react22.Children.toArray(children);
6524
6826
  if (flattened.length === 1) return flattened[0];
6525
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, { children: flattened });
6827
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children: flattened });
6526
6828
  }
6527
6829
  var injectStore4 = (children, store, size, selectId) => {
6528
6830
  return import_react22.Children.map(children, (child) => {
@@ -6633,8 +6935,8 @@ var Select = ({
6633
6935
  }
6634
6936
  }, [propValue]);
6635
6937
  const sizeClasses = SIZE_CLASSES12[size];
6636
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: cn("w-full", className), children: [
6637
- label && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6938
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: cn("w-full", className), children: [
6939
+ label && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6638
6940
  "label",
6639
6941
  {
6640
6942
  htmlFor: selectId,
@@ -6642,11 +6944,11 @@ var Select = ({
6642
6944
  children: label
6643
6945
  }
6644
6946
  ),
6645
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: cn("relative w-full"), ref: selectRef, children: injectStore4(children, store, size, selectId) }),
6646
- (helperText || errorMessage) && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "mt-1.5 gap-1.5", children: [
6647
- helperText && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { className: "text-sm text-text-500", children: helperText }),
6648
- errorMessage && /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("p", { className: "flex gap-1 items-center text-sm text-indicator-error", children: [
6649
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_phosphor_react17.WarningCircle, { size: 16 }),
6947
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: cn("relative w-full"), ref: selectRef, children: injectStore4(children, store, size, selectId) }),
6948
+ (helperText || errorMessage) && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "mt-1.5 gap-1.5", children: [
6949
+ helperText && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-sm text-text-500", children: helperText }),
6950
+ errorMessage && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("p", { className: "flex gap-1 items-center text-sm text-indicator-error", children: [
6951
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react18.WarningCircle, { size: 16 }),
6650
6952
  " ",
6651
6953
  errorMessage
6652
6954
  ] })
@@ -6660,7 +6962,7 @@ var SelectValue = ({
6660
6962
  const store = useSelectStore(externalStore);
6661
6963
  const selectedLabel = (0, import_zustand5.useStore)(store, (s) => s.selectedLabel);
6662
6964
  const value = (0, import_zustand5.useStore)(store, (s) => s.value);
6663
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "text-inherit flex gap-2 items-center", children: selectedLabel || placeholder || value });
6965
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-inherit flex gap-2 items-center", children: selectedLabel || placeholder || value });
6664
6966
  };
6665
6967
  var SelectTrigger = (0, import_react22.forwardRef)(
6666
6968
  ({
@@ -6679,7 +6981,7 @@ var SelectTrigger = (0, import_react22.forwardRef)(
6679
6981
  const variantClasses = VARIANT_CLASSES4[variant];
6680
6982
  const heightClasses = HEIGHT_CLASSES[size];
6681
6983
  const paddingClasses = PADDING_CLASSES[size];
6682
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
6984
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
6683
6985
  "button",
6684
6986
  {
6685
6987
  ref,
@@ -6701,8 +7003,8 @@ var SelectTrigger = (0, import_react22.forwardRef)(
6701
7003
  ...props,
6702
7004
  children: [
6703
7005
  props.children,
6704
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6705
- import_phosphor_react17.CaretDown,
7006
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
7007
+ import_phosphor_react18.CaretDown,
6706
7008
  {
6707
7009
  className: cn(
6708
7010
  "h-[1em] w-[1em] opacity-50 transition-transform",
@@ -6729,7 +7031,7 @@ var SelectContent = (0, import_react22.forwardRef)(
6729
7031
  const open = (0, import_zustand5.useStore)(store, (s) => s.open);
6730
7032
  if (!open) return null;
6731
7033
  const getPositionClasses = () => `w-full min-w-full absolute ${SIDE_CLASSES2[side]} ${ALIGN_CLASSES2[align]}`;
6732
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
7034
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
6733
7035
  "div",
6734
7036
  {
6735
7037
  role: "menu",
@@ -6773,7 +7075,7 @@ var SelectItem = (0, import_react22.forwardRef)(
6773
7075
  }
6774
7076
  props.onClick?.(e);
6775
7077
  };
6776
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
7078
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
6777
7079
  "div",
6778
7080
  {
6779
7081
  role: "menuitem",
@@ -6793,7 +7095,7 @@ var SelectItem = (0, import_react22.forwardRef)(
6793
7095
  tabIndex: disabled ? -1 : 0,
6794
7096
  ...props,
6795
7097
  children: [
6796
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: selectedValue === value && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_phosphor_react17.Check, { className: "" }) }),
7098
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: selectedValue === value && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react18.Check, { className: "" }) }),
6797
7099
  children
6798
7100
  ]
6799
7101
  }
@@ -6806,8 +7108,8 @@ var Select_default = Select;
6806
7108
  // src/components/Menu/Menu.tsx
6807
7109
  var import_zustand6 = require("zustand");
6808
7110
  var import_react23 = require("react");
6809
- var import_phosphor_react18 = require("phosphor-react");
6810
- var import_jsx_runtime34 = require("react/jsx-runtime");
7111
+ var import_phosphor_react19 = require("phosphor-react");
7112
+ var import_jsx_runtime41 = require("react/jsx-runtime");
6811
7113
  var createMenuStore = (onValueChange) => (0, import_zustand6.create)((set) => ({
6812
7114
  value: "",
6813
7115
  setValue: (value) => {
@@ -6845,7 +7147,7 @@ var Menu = (0, import_react23.forwardRef)(
6845
7147
  }, [defaultValue, propValue, setValue]);
6846
7148
  const baseClasses = variant === "menu-overflow" ? "w-fit py-2 flex flex-row items-center justify-center" : "w-full py-2 flex flex-row items-center justify-center";
6847
7149
  const variantClasses = VARIANT_CLASSES5[variant];
6848
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7150
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6849
7151
  "div",
6850
7152
  {
6851
7153
  ref,
@@ -6865,7 +7167,7 @@ var MenuContent = (0, import_react23.forwardRef)(
6865
7167
  ({ className, children, variant = "menu", ...props }, ref) => {
6866
7168
  const baseClasses = "w-full flex flex-row items-center gap-2";
6867
7169
  const variantClasses = variant === "menu2" || variant === "menu-overflow" ? "overflow-x-auto scroll-smooth" : "";
6868
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7170
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6869
7171
  "ul",
6870
7172
  {
6871
7173
  ref,
@@ -6917,7 +7219,7 @@ var MenuItem = (0, import_react23.forwardRef)(
6917
7219
  ...props
6918
7220
  };
6919
7221
  const variants = {
6920
- menu: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7222
+ menu: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6921
7223
  "li",
6922
7224
  {
6923
7225
  "data-variant": "menu",
@@ -6932,7 +7234,7 @@ var MenuItem = (0, import_react23.forwardRef)(
6932
7234
  children
6933
7235
  }
6934
7236
  ),
6935
- menu2: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
7237
+ menu2: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
6936
7238
  "li",
6937
7239
  {
6938
7240
  "data-variant": "menu2",
@@ -6943,7 +7245,7 @@ var MenuItem = (0, import_react23.forwardRef)(
6943
7245
  `,
6944
7246
  ...commonProps,
6945
7247
  children: [
6946
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7248
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6947
7249
  "span",
6948
7250
  {
6949
7251
  className: cn(
@@ -6953,11 +7255,11 @@ var MenuItem = (0, import_react23.forwardRef)(
6953
7255
  children
6954
7256
  }
6955
7257
  ),
6956
- selectedValue === value && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "h-1 w-full bg-primary-950 rounded-lg" })
7258
+ selectedValue === value && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "h-1 w-full bg-primary-950 rounded-lg" })
6957
7259
  ]
6958
7260
  }
6959
7261
  ),
6960
- "menu-overflow": /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
7262
+ "menu-overflow": /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
6961
7263
  "li",
6962
7264
  {
6963
7265
  "data-variant": "menu-overflow",
@@ -6968,7 +7270,7 @@ var MenuItem = (0, import_react23.forwardRef)(
6968
7270
  `,
6969
7271
  ...commonProps,
6970
7272
  children: [
6971
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7273
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6972
7274
  "span",
6973
7275
  {
6974
7276
  className: cn(
@@ -6978,11 +7280,11 @@ var MenuItem = (0, import_react23.forwardRef)(
6978
7280
  children
6979
7281
  }
6980
7282
  ),
6981
- selectedValue === value && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "h-1 w-full bg-primary-950 rounded-lg" })
7283
+ selectedValue === value && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "h-1 w-full bg-primary-950 rounded-lg" })
6982
7284
  ]
6983
7285
  }
6984
7286
  ),
6985
- breadcrumb: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
7287
+ breadcrumb: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
6986
7288
  "li",
6987
7289
  {
6988
7290
  "data-variant": "breadcrumb",
@@ -6994,7 +7296,7 @@ var MenuItem = (0, import_react23.forwardRef)(
6994
7296
  `,
6995
7297
  ...commonProps,
6996
7298
  children: [
6997
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7299
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
6998
7300
  "span",
6999
7301
  {
7000
7302
  className: cn(
@@ -7004,8 +7306,8 @@ var MenuItem = (0, import_react23.forwardRef)(
7004
7306
  children
7005
7307
  }
7006
7308
  ),
7007
- separator && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7008
- import_phosphor_react18.CaretRight,
7309
+ separator && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
7310
+ import_phosphor_react19.CaretRight,
7009
7311
  {
7010
7312
  size: 16,
7011
7313
  className: "text-text-600",
@@ -7059,25 +7361,25 @@ var MenuOverflow = ({
7059
7361
  window.removeEventListener("resize", checkScroll);
7060
7362
  };
7061
7363
  }, []);
7062
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
7364
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
7063
7365
  "div",
7064
7366
  {
7065
7367
  "data-testid": "menu-overflow-wrapper",
7066
7368
  className: cn("relative w-full overflow-hidden", className),
7067
7369
  children: [
7068
- showLeftArrow && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
7370
+ showLeftArrow && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
7069
7371
  "button",
7070
7372
  {
7071
7373
  onClick: () => internalScroll(containerRef.current, "left"),
7072
7374
  className: "absolute left-0 top-1/2 -translate-y-1/2 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-white shadow-md cursor-pointer",
7073
7375
  "data-testid": "scroll-left-button",
7074
7376
  children: [
7075
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_phosphor_react18.CaretLeft, { size: 16 }),
7076
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "sr-only", children: "Scroll left" })
7377
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_phosphor_react19.CaretLeft, { size: 16 }),
7378
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "sr-only", children: "Scroll left" })
7077
7379
  ]
7078
7380
  }
7079
7381
  ),
7080
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
7382
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
7081
7383
  Menu,
7082
7384
  {
7083
7385
  defaultValue,
@@ -7085,18 +7387,18 @@ var MenuOverflow = ({
7085
7387
  value,
7086
7388
  variant: "menu2",
7087
7389
  ...props,
7088
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(MenuContent, { ref: containerRef, variant: "menu2", children })
7390
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(MenuContent, { ref: containerRef, variant: "menu2", children })
7089
7391
  }
7090
7392
  ),
7091
- showRightArrow && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
7393
+ showRightArrow && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
7092
7394
  "button",
7093
7395
  {
7094
7396
  onClick: () => internalScroll(containerRef.current, "right"),
7095
7397
  className: "absolute right-0 top-1/2 -translate-y-1/2 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-white shadow-md cursor-pointer",
7096
7398
  "data-testid": "scroll-right-button",
7097
7399
  children: [
7098
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_phosphor_react18.CaretRight, { size: 16 }),
7099
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "sr-only", children: "Scroll right" })
7400
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_phosphor_react19.CaretRight, { size: 16 }),
7401
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "sr-only", children: "Scroll right" })
7100
7402
  ]
7101
7403
  }
7102
7404
  )
@@ -7117,7 +7419,7 @@ var Menu_default = Menu;
7117
7419
 
7118
7420
  // src/components/Skeleton/Skeleton.tsx
7119
7421
  var import_react24 = require("react");
7120
- var import_jsx_runtime35 = require("react/jsx-runtime");
7422
+ var import_jsx_runtime42 = require("react/jsx-runtime");
7121
7423
  var SKELETON_ANIMATION_CLASSES = {
7122
7424
  pulse: "animate-pulse",
7123
7425
  none: ""
@@ -7154,13 +7456,13 @@ var Skeleton = (0, import_react24.forwardRef)(
7154
7456
  height: typeof height === "number" ? `${height}px` : height
7155
7457
  };
7156
7458
  if (variant === "text" && lines > 1) {
7157
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
7459
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
7158
7460
  "div",
7159
7461
  {
7160
7462
  ref,
7161
7463
  className: cn("flex flex-col", spacingClass, className),
7162
7464
  ...props,
7163
- children: Array.from({ length: lines }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
7465
+ children: Array.from({ length: lines }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
7164
7466
  "div",
7165
7467
  {
7166
7468
  className: cn(variantClass, animationClass),
@@ -7171,7 +7473,7 @@ var Skeleton = (0, import_react24.forwardRef)(
7171
7473
  }
7172
7474
  );
7173
7475
  }
7174
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
7476
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
7175
7477
  "div",
7176
7478
  {
7177
7479
  ref,
@@ -7184,11 +7486,11 @@ var Skeleton = (0, import_react24.forwardRef)(
7184
7486
  }
7185
7487
  );
7186
7488
  var SkeletonText = (0, import_react24.forwardRef)(
7187
- (props, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Skeleton, { ref, variant: "text", ...props })
7489
+ (props, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Skeleton, { ref, variant: "text", ...props })
7188
7490
  );
7189
- var SkeletonCircle = (0, import_react24.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Skeleton, { ref, variant: "circular", ...props }));
7190
- var SkeletonRectangle = (0, import_react24.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Skeleton, { ref, variant: "rectangular", ...props }));
7191
- var SkeletonRounded = (0, import_react24.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Skeleton, { ref, variant: "rounded", ...props }));
7491
+ var SkeletonCircle = (0, import_react24.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Skeleton, { ref, variant: "circular", ...props }));
7492
+ var SkeletonRectangle = (0, import_react24.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Skeleton, { ref, variant: "rectangular", ...props }));
7493
+ var SkeletonRounded = (0, import_react24.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Skeleton, { ref, variant: "rounded", ...props }));
7192
7494
  var SkeletonCard = (0, import_react24.forwardRef)(
7193
7495
  ({
7194
7496
  showAvatar = true,
@@ -7199,7 +7501,7 @@ var SkeletonCard = (0, import_react24.forwardRef)(
7199
7501
  className = "",
7200
7502
  ...props
7201
7503
  }, ref) => {
7202
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
7504
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
7203
7505
  "div",
7204
7506
  {
7205
7507
  ref,
@@ -7209,16 +7511,16 @@ var SkeletonCard = (0, import_react24.forwardRef)(
7209
7511
  ),
7210
7512
  ...props,
7211
7513
  children: [
7212
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-start space-x-3", children: [
7213
- showAvatar && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SkeletonCircle, { width: 40, height: 40 }),
7214
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex-1 space-y-2", children: [
7215
- showTitle && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SkeletonText, { width: "60%", height: 20 }),
7216
- showDescription && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SkeletonText, { lines, spacing: "small" })
7514
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-start space-x-3", children: [
7515
+ showAvatar && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SkeletonCircle, { width: 40, height: 40 }),
7516
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex-1 space-y-2", children: [
7517
+ showTitle && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SkeletonText, { width: "60%", height: 20 }),
7518
+ showDescription && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SkeletonText, { lines, spacing: "small" })
7217
7519
  ] })
7218
7520
  ] }),
7219
- showActions && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex justify-end space-x-2 mt-4", children: [
7220
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SkeletonRectangle, { width: 80, height: 32 }),
7221
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SkeletonRectangle, { width: 80, height: 32 })
7521
+ showActions && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex justify-end space-x-2 mt-4", children: [
7522
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SkeletonRectangle, { width: 80, height: 32 }),
7523
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SkeletonRectangle, { width: 80, height: 32 })
7222
7524
  ] })
7223
7525
  ]
7224
7526
  }
@@ -7235,19 +7537,19 @@ var SkeletonList = (0, import_react24.forwardRef)(
7235
7537
  className = "",
7236
7538
  ...props
7237
7539
  }, ref) => {
7238
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref, className: cn("space-y-3", className), ...props, children: Array.from({ length: items }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-start space-x-3 p-3", children: [
7239
- showAvatar && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SkeletonCircle, { width: 32, height: 32 }),
7240
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex-1 space-y-2", children: [
7241
- showTitle && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SkeletonText, { width: "40%", height: 16 }),
7242
- showDescription && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SkeletonText, { lines, spacing: "small" })
7540
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { ref, className: cn("space-y-3", className), ...props, children: Array.from({ length: items }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-start space-x-3 p-3", children: [
7541
+ showAvatar && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SkeletonCircle, { width: 32, height: 32 }),
7542
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex-1 space-y-2", children: [
7543
+ showTitle && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SkeletonText, { width: "40%", height: 16 }),
7544
+ showDescription && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SkeletonText, { lines, spacing: "small" })
7243
7545
  ] })
7244
7546
  ] }, index)) });
7245
7547
  }
7246
7548
  );
7247
7549
  var SkeletonTable = (0, import_react24.forwardRef)(
7248
7550
  ({ rows = 5, columns = 4, showHeader = true, className = "", ...props }, ref) => {
7249
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
7250
- showHeader && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex space-x-2 mb-3", children: Array.from({ length: columns }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
7551
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { ref, className: cn("w-full", className), ...props, children: [
7552
+ showHeader && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex space-x-2 mb-3", children: Array.from({ length: columns }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
7251
7553
  SkeletonText,
7252
7554
  {
7253
7555
  width: `${100 / columns}%`,
@@ -7255,7 +7557,7 @@ var SkeletonTable = (0, import_react24.forwardRef)(
7255
7557
  },
7256
7558
  index
7257
7559
  )) }),
7258
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "space-y-2", children: Array.from({ length: rows }, (_, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex space-x-2", children: Array.from({ length: columns }, (_2, colIndex) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
7560
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "space-y-2", children: Array.from({ length: rows }, (_, rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex space-x-2", children: Array.from({ length: columns }, (_2, colIndex) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
7259
7561
  SkeletonText,
7260
7562
  {
7261
7563
  width: `${100 / columns}%`,
@@ -7268,7 +7570,7 @@ var SkeletonTable = (0, import_react24.forwardRef)(
7268
7570
  );
7269
7571
 
7270
7572
  // src/components/NotFound/NotFound.tsx
7271
- var import_jsx_runtime36 = require("react/jsx-runtime");
7573
+ var import_jsx_runtime43 = require("react/jsx-runtime");
7272
7574
  var NotFound = ({
7273
7575
  title,
7274
7576
  description,
@@ -7311,22 +7613,22 @@ var NotFound = ({
7311
7613
  const errorTitle = title || getDefaultTitle();
7312
7614
  const errorDescription = description || getDefaultDescription();
7313
7615
  const errorCode = getErrorCode();
7314
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
7616
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
7315
7617
  "div",
7316
7618
  {
7317
7619
  className: cn(
7318
7620
  "flex flex-col w-full h-screen items-center justify-center bg-background-50 px-4",
7319
7621
  className
7320
7622
  ),
7321
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
7623
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
7322
7624
  "main",
7323
7625
  {
7324
7626
  role: "main",
7325
7627
  "aria-labelledby": "error-title",
7326
7628
  "aria-describedby": "error-description",
7327
7629
  className: "flex flex-col items-center text-center max-w-md space-y-6",
7328
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("section", { "aria-label": `Erro ${errorCode}`, children: [
7329
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
7630
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("section", { "aria-label": `Erro ${errorCode}`, children: [
7631
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
7330
7632
  "div",
7331
7633
  {
7332
7634
  className: "text-8xl font-bold text-primary-300 select-none",
@@ -7334,8 +7636,8 @@ var NotFound = ({
7334
7636
  children: errorCode
7335
7637
  }
7336
7638
  ),
7337
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("header", { className: "space-y-2", children: [
7338
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
7639
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("header", { className: "space-y-2", children: [
7640
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
7339
7641
  Text_default,
7340
7642
  {
7341
7643
  size: "xl",
@@ -7346,9 +7648,9 @@ var NotFound = ({
7346
7648
  children: errorTitle
7347
7649
  }
7348
7650
  ),
7349
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Text_default, { size: "md", className: "text-text-600", id: "error-description", children: errorDescription })
7651
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Text_default, { size: "md", className: "text-text-600", id: "error-description", children: errorDescription })
7350
7652
  ] }),
7351
- onButtonClick && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("nav", { "aria-label": "Navega\xE7\xE3o de erro", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
7653
+ onButtonClick && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("nav", { "aria-label": "Navega\xE7\xE3o de erro", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
7352
7654
  Button_default,
7353
7655
  {
7354
7656
  onClick: handleButtonClick,
@@ -7371,8 +7673,8 @@ var NotFound_default = NotFound;
7371
7673
  // src/components/VideoPlayer/VideoPlayer.tsx
7372
7674
  var import_react25 = require("react");
7373
7675
  var import_react_dom = require("react-dom");
7374
- var import_phosphor_react19 = require("phosphor-react");
7375
- var import_jsx_runtime37 = require("react/jsx-runtime");
7676
+ var import_phosphor_react20 = require("phosphor-react");
7677
+ var import_jsx_runtime44 = require("react/jsx-runtime");
7376
7678
  var CONTROLS_HIDE_TIMEOUT = 3e3;
7377
7679
  var LEAVE_HIDE_TIMEOUT = 1e3;
7378
7680
  var INIT_DELAY = 100;
@@ -7387,7 +7689,7 @@ var ProgressBar2 = ({
7387
7689
  duration,
7388
7690
  progressPercentage,
7389
7691
  onSeek
7390
- }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "px-4 pb-2", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
7692
+ }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "px-4 pb-2", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7391
7693
  "input",
7392
7694
  {
7393
7695
  type: "range",
@@ -7407,17 +7709,17 @@ var VolumeControls = ({
7407
7709
  isMuted,
7408
7710
  onVolumeChange,
7409
7711
  onToggleMute
7410
- }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-2", children: [
7411
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
7712
+ }) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex items-center gap-2", children: [
7713
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7412
7714
  IconButton_default,
7413
7715
  {
7414
- icon: isMuted ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_phosphor_react19.SpeakerSlash, { size: 24 }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_phosphor_react19.SpeakerHigh, { size: 24 }),
7716
+ icon: isMuted ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react20.SpeakerSlash, { size: 24 }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react20.SpeakerHigh, { size: 24 }),
7415
7717
  onClick: onToggleMute,
7416
7718
  "aria-label": isMuted ? "Unmute" : "Mute",
7417
7719
  className: "!bg-transparent !text-white hover:!bg-white/20"
7418
7720
  }
7419
7721
  ),
7420
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
7722
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7421
7723
  "input",
7422
7724
  {
7423
7725
  type: "range",
@@ -7469,7 +7771,7 @@ var SpeedMenu = ({
7469
7771
  document.removeEventListener("mousedown", handleClickOutside);
7470
7772
  };
7471
7773
  }, [showSpeedMenu, onToggleMenu]);
7472
- const menuContent = /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
7774
+ const menuContent = /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7473
7775
  "div",
7474
7776
  {
7475
7777
  ref: speedMenuRef,
@@ -7480,7 +7782,7 @@ var SpeedMenu = ({
7480
7782
  top: `${position.top}px`,
7481
7783
  left: `${position.left}px`
7482
7784
  } : void 0,
7483
- children: [0.5, 0.75, 1, 1.25, 1.5, 2].map((speed) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
7785
+ children: [0.5, 0.75, 1, 1.25, 1.5, 2].map((speed) => /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
7484
7786
  "button",
7485
7787
  {
7486
7788
  role: "menuitemradio",
@@ -7497,12 +7799,12 @@ var SpeedMenu = ({
7497
7799
  }
7498
7800
  );
7499
7801
  const portalContent = typeof window !== "undefined" && typeof document !== "undefined" ? (0, import_react_dom.createPortal)(menuContent, document.body) : null;
7500
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "relative", ref: speedMenuContainerRef, children: [
7501
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
7802
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "relative", ref: speedMenuContainerRef, children: [
7803
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7502
7804
  IconButton_default,
7503
7805
  {
7504
7806
  ref: buttonRef,
7505
- icon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_phosphor_react19.DotsThreeVertical, { size: 24 }),
7807
+ icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react20.DotsThreeVertical, { size: 24 }),
7506
7808
  onClick: onToggleMenu,
7507
7809
  "aria-label": "Playback speed",
7508
7810
  "aria-haspopup": "menu",
@@ -7897,9 +8199,9 @@ var VideoPlayer = ({
7897
8199
  toggleFullscreen
7898
8200
  ]
7899
8201
  );
7900
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: cn("flex flex-col", className), children: [
7901
- (title || subtitleText) && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "bg-subject-1 px-8 py-4 flex items-end justify-between min-h-20", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-col gap-1", children: [
7902
- title && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8202
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: cn("flex flex-col", className), children: [
8203
+ (title || subtitleText) && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "bg-subject-1 px-8 py-4 flex items-end justify-between min-h-20", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex flex-col gap-1", children: [
8204
+ title && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7903
8205
  Text_default,
7904
8206
  {
7905
8207
  as: "h2",
@@ -7910,7 +8212,7 @@ var VideoPlayer = ({
7910
8212
  children: title
7911
8213
  }
7912
8214
  ),
7913
- subtitleText && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8215
+ subtitleText && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7914
8216
  Text_default,
7915
8217
  {
7916
8218
  as: "p",
@@ -7922,7 +8224,7 @@ var VideoPlayer = ({
7922
8224
  }
7923
8225
  )
7924
8226
  ] }) }),
7925
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
8227
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
7926
8228
  "section",
7927
8229
  {
7928
8230
  className: cn(
@@ -7937,7 +8239,7 @@ var VideoPlayer = ({
7937
8239
  onTouchStart: handleMouseEnter,
7938
8240
  onMouseLeave: handleMouseLeave,
7939
8241
  children: [
7940
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8242
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7941
8243
  "video",
7942
8244
  {
7943
8245
  ref: videoRef,
@@ -7951,7 +8253,7 @@ var VideoPlayer = ({
7951
8253
  onKeyDown: handleVideoKeyDown,
7952
8254
  tabIndex: 0,
7953
8255
  "aria-label": title ? `Video: ${title}` : "Video player",
7954
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8256
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7955
8257
  "track",
7956
8258
  {
7957
8259
  ref: trackRef,
@@ -7964,26 +8266,26 @@ var VideoPlayer = ({
7964
8266
  )
7965
8267
  }
7966
8268
  ),
7967
- !isPlaying && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "absolute inset-0 flex items-center justify-center bg-black/30 transition-opacity", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8269
+ !isPlaying && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "absolute inset-0 flex items-center justify-center bg-black/30 transition-opacity", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7968
8270
  IconButton_default,
7969
8271
  {
7970
- icon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_phosphor_react19.Play, { size: 32, weight: "regular", className: "ml-1" }),
8272
+ icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react20.Play, { size: 32, weight: "regular", className: "ml-1" }),
7971
8273
  onClick: togglePlayPause,
7972
8274
  "aria-label": "Play video",
7973
8275
  className: "!bg-transparent !text-white !w-auto !h-auto hover:!bg-transparent hover:!text-gray-200"
7974
8276
  }
7975
8277
  ) }),
7976
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8278
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7977
8279
  "div",
7978
8280
  {
7979
8281
  className: cn(
7980
8282
  "absolute top-0 left-0 right-0 p-4 bg-gradient-to-b from-black/70 to-transparent transition-opacity",
7981
8283
  getTopControlsOpacity()
7982
8284
  ),
7983
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex justify-start", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8285
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex justify-start", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
7984
8286
  IconButton_default,
7985
8287
  {
7986
- icon: isFullscreen ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_phosphor_react19.ArrowsInSimple, { size: 24 }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_phosphor_react19.ArrowsOutSimple, { size: 24 }),
8288
+ icon: isFullscreen ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react20.ArrowsInSimple, { size: 24 }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react20.ArrowsOutSimple, { size: 24 }),
7987
8289
  onClick: toggleFullscreen,
7988
8290
  "aria-label": isFullscreen ? "Exit fullscreen" : "Enter fullscreen",
7989
8291
  className: "!bg-transparent !text-white hover:!bg-white/20"
@@ -7991,7 +8293,7 @@ var VideoPlayer = ({
7991
8293
  ) })
7992
8294
  }
7993
8295
  ),
7994
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
8296
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
7995
8297
  "div",
7996
8298
  {
7997
8299
  className: cn(
@@ -7999,7 +8301,7 @@ var VideoPlayer = ({
7999
8301
  getBottomControlsOpacity()
8000
8302
  ),
8001
8303
  children: [
8002
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8304
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8003
8305
  ProgressBar2,
8004
8306
  {
8005
8307
  currentTime,
@@ -8008,18 +8310,18 @@ var VideoPlayer = ({
8008
8310
  onSeek: handleSeek
8009
8311
  }
8010
8312
  ),
8011
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center justify-between px-4 pb-4", children: [
8012
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-4", children: [
8013
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8313
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex items-center justify-between px-4 pb-4", children: [
8314
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex items-center gap-4", children: [
8315
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8014
8316
  IconButton_default,
8015
8317
  {
8016
- icon: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_phosphor_react19.Pause, { size: 24 }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_phosphor_react19.Play, { size: 24 }),
8318
+ icon: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react20.Pause, { size: 24 }) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react20.Play, { size: 24 }),
8017
8319
  onClick: togglePlayPause,
8018
8320
  "aria-label": isPlaying ? "Pause" : "Play",
8019
8321
  className: "!bg-transparent !text-white hover:!bg-white/20"
8020
8322
  }
8021
8323
  ),
8022
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8324
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8023
8325
  VolumeControls,
8024
8326
  {
8025
8327
  volume,
@@ -8028,10 +8330,10 @@ var VideoPlayer = ({
8028
8330
  onToggleMute: toggleMute
8029
8331
  }
8030
8332
  ),
8031
- subtitles && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8333
+ subtitles && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8032
8334
  IconButton_default,
8033
8335
  {
8034
- icon: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_phosphor_react19.ClosedCaptioning, { size: 24 }),
8336
+ icon: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_phosphor_react20.ClosedCaptioning, { size: 24 }),
8035
8337
  onClick: toggleCaptions,
8036
8338
  "aria-label": showCaptions ? "Hide captions" : "Show captions",
8037
8339
  className: cn(
@@ -8040,13 +8342,13 @@ var VideoPlayer = ({
8040
8342
  )
8041
8343
  }
8042
8344
  ),
8043
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(Text_default, { size: "sm", weight: "medium", color: "text-white", children: [
8345
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Text_default, { size: "sm", weight: "medium", color: "text-white", children: [
8044
8346
  formatTime(currentTime),
8045
8347
  " / ",
8046
8348
  formatTime(duration)
8047
8349
  ] })
8048
8350
  ] }),
8049
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex items-center gap-4", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
8351
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "flex items-center gap-4", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
8050
8352
  SpeedMenu,
8051
8353
  {
8052
8354
  showSpeedMenu,
@@ -8069,8 +8371,8 @@ var VideoPlayer_default = VideoPlayer;
8069
8371
 
8070
8372
  // src/components/Whiteboard/Whiteboard.tsx
8071
8373
  var import_react26 = require("react");
8072
- var import_phosphor_react20 = require("phosphor-react");
8073
- var import_jsx_runtime38 = require("react/jsx-runtime");
8374
+ var import_phosphor_react21 = require("phosphor-react");
8375
+ var import_jsx_runtime45 = require("react/jsx-runtime");
8074
8376
  var IMAGE_WIDTH = 225;
8075
8377
  var IMAGE_HEIGHT = 90;
8076
8378
  var Whiteboard = ({
@@ -8108,7 +8410,7 @@ var Whiteboard = ({
8108
8410
  4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"
8109
8411
  }[imagesPerRow];
8110
8412
  if (!images || images.length === 0) {
8111
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
8413
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8112
8414
  "div",
8113
8415
  {
8114
8416
  className: cn(
@@ -8116,11 +8418,11 @@ var Whiteboard = ({
8116
8418
  className
8117
8419
  ),
8118
8420
  ...rest,
8119
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "text-gray-400 text-sm", children: "Nenhuma imagem dispon\xEDvel" })
8421
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: "text-gray-400 text-sm", children: "Nenhuma imagem dispon\xEDvel" })
8120
8422
  }
8121
8423
  );
8122
8424
  }
8123
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
8425
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8124
8426
  "div",
8125
8427
  {
8126
8428
  className: cn(
@@ -8128,7 +8430,7 @@ var Whiteboard = ({
8128
8430
  className
8129
8431
  ),
8130
8432
  ...rest,
8131
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: cn("grid gap-4", gridColsClass), children: images.map((image) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
8433
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: cn("grid gap-4", gridColsClass), children: images.map((image) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
8132
8434
  "div",
8133
8435
  {
8134
8436
  className: "relative group overflow-hidden bg-gray-100 rounded-lg",
@@ -8136,7 +8438,7 @@ var Whiteboard = ({
8136
8438
  width: `${IMAGE_WIDTH}px`
8137
8439
  },
8138
8440
  children: [
8139
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
8441
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8140
8442
  "div",
8141
8443
  {
8142
8444
  className: "relative",
@@ -8144,8 +8446,8 @@ var Whiteboard = ({
8144
8446
  width: `${IMAGE_WIDTH}px`,
8145
8447
  height: `${IMAGE_HEIGHT}px`
8146
8448
  },
8147
- children: imageErrors.has(image.id) ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "absolute inset-0 flex items-center justify-center bg-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "text-gray-500 text-sm text-center px-2", children: "Imagem indispon\xEDvel" }) }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
8148
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
8449
+ children: imageErrors.has(image.id) ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "absolute inset-0 flex items-center justify-center bg-gray-200", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: "text-gray-500 text-sm text-center px-2", children: "Imagem indispon\xEDvel" }) }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
8450
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8149
8451
  "img",
8150
8452
  {
8151
8453
  src: image.imageUrl,
@@ -8155,19 +8457,19 @@ var Whiteboard = ({
8155
8457
  onError: () => handleImageError(image.id)
8156
8458
  }
8157
8459
  ),
8158
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "absolute inset-0 bg-gradient-to-t from-black/20 to-transparent" })
8460
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "absolute inset-0 bg-gradient-to-t from-black/20 to-transparent" })
8159
8461
  ] })
8160
8462
  }
8161
8463
  ),
8162
- showDownload && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
8464
+ showDownload && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8163
8465
  "button",
8164
8466
  {
8165
8467
  type: "button",
8166
8468
  onClick: () => handleDownload(image),
8167
8469
  className: "cursor-pointer absolute bottom-3 right-3 flex items-center justify-center bg-black/20 backdrop-blur-sm rounded hover:bg-black/30 transition-colors duration-200 group/button w-6 h-6",
8168
8470
  "aria-label": `Download ${image.title || "imagem"}`,
8169
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
8170
- import_phosphor_react20.ArrowsOut,
8471
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
8472
+ import_phosphor_react21.ArrowsOut,
8171
8473
  {
8172
8474
  size: 24,
8173
8475
  weight: "regular",
@@ -8188,7 +8490,7 @@ var Whiteboard_default = Whiteboard;
8188
8490
  // src/components/Auth/Auth.tsx
8189
8491
  var import_react27 = require("react");
8190
8492
  var import_react_router_dom = require("react-router-dom");
8191
- var import_jsx_runtime39 = require("react/jsx-runtime");
8493
+ var import_jsx_runtime46 = require("react/jsx-runtime");
8192
8494
  var AuthContext = (0, import_react27.createContext)(void 0);
8193
8495
  var AuthProvider = ({
8194
8496
  children,
@@ -8258,7 +8560,7 @@ var AuthProvider = ({
8258
8560
  }),
8259
8561
  [authState, checkAuth, signOut]
8260
8562
  );
8261
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(AuthContext.Provider, { value: contextValue, children });
8563
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(AuthContext.Provider, { value: contextValue, children });
8262
8564
  };
8263
8565
  var useAuth = () => {
8264
8566
  const context = (0, import_react27.useContext)(AuthContext);
@@ -8274,9 +8576,9 @@ var ProtectedRoute = ({
8274
8576
  additionalCheck
8275
8577
  }) => {
8276
8578
  const { isAuthenticated, isLoading, ...authState } = useAuth();
8277
- const defaultLoadingComponent = /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "text-text-950 text-lg", children: "Carregando..." }) });
8579
+ const defaultLoadingComponent = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "text-text-950 text-lg", children: "Carregando..." }) });
8278
8580
  if (isLoading) {
8279
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, { children: loadingComponent || defaultLoadingComponent });
8581
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, { children: loadingComponent || defaultLoadingComponent });
8280
8582
  }
8281
8583
  if (!isAuthenticated) {
8282
8584
  if (typeof window !== "undefined") {
@@ -8287,12 +8589,12 @@ var ProtectedRoute = ({
8287
8589
  return null;
8288
8590
  }
8289
8591
  }
8290
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_router_dom.Navigate, { to: redirectTo, replace: true });
8592
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_router_dom.Navigate, { to: redirectTo, replace: true });
8291
8593
  }
8292
8594
  if (additionalCheck && !additionalCheck({ isAuthenticated, isLoading, ...authState })) {
8293
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_router_dom.Navigate, { to: redirectTo, replace: true });
8595
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_router_dom.Navigate, { to: redirectTo, replace: true });
8294
8596
  }
8295
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, { children });
8597
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, { children });
8296
8598
  };
8297
8599
  var PublicRoute = ({
8298
8600
  children,
@@ -8302,15 +8604,15 @@ var PublicRoute = ({
8302
8604
  }) => {
8303
8605
  const { isAuthenticated, isLoading } = useAuth();
8304
8606
  if (checkAuthBeforeRender && isLoading) {
8305
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "text-text-950 text-lg", children: "Carregando..." }) });
8607
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex items-center justify-center min-h-screen", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "text-text-950 text-lg", children: "Carregando..." }) });
8306
8608
  }
8307
8609
  if (isAuthenticated && redirectIfAuthenticated) {
8308
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_router_dom.Navigate, { to: redirectTo, replace: true });
8610
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_router_dom.Navigate, { to: redirectTo, replace: true });
8309
8611
  }
8310
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_jsx_runtime39.Fragment, { children });
8612
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_jsx_runtime46.Fragment, { children });
8311
8613
  };
8312
8614
  var withAuth = (Component, options = {}) => {
8313
- return (props) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ProtectedRoute, { ...options, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Component, { ...props }) });
8615
+ return (props) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ProtectedRoute, { ...options, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Component, { ...props }) });
8314
8616
  };
8315
8617
  var useAuthGuard = (options = {}) => {
8316
8618
  const authState = useAuth();
@@ -8325,7 +8627,7 @@ var useAuthGuard = (options = {}) => {
8325
8627
  var useRouteAuth = (fallbackPath = "/") => {
8326
8628
  const { isAuthenticated, isLoading } = useAuth();
8327
8629
  const location = (0, import_react_router_dom.useLocation)();
8328
- const redirectToLogin = () => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_react_router_dom.Navigate, { to: fallbackPath, state: { from: location }, replace: true });
8630
+ const redirectToLogin = () => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_router_dom.Navigate, { to: fallbackPath, state: { from: location }, replace: true });
8329
8631
  return {
8330
8632
  isAuthenticated,
8331
8633
  isLoading,
@@ -8532,7 +8834,7 @@ function useApiConfig(api) {
8532
8834
  }
8533
8835
 
8534
8836
  // src/components/Quiz/Quiz.tsx
8535
- var import_phosphor_react21 = require("phosphor-react");
8837
+ var import_phosphor_react22 = require("phosphor-react");
8536
8838
  var import_react30 = require("react");
8537
8839
 
8538
8840
  // src/components/Quiz/useQuizStore.ts
@@ -9169,13 +9471,13 @@ var useQuizStore = (0, import_zustand7.create)()(
9169
9471
  var mock_image_question_default = "./mock-image-question-HEZCLFDL.png";
9170
9472
 
9171
9473
  // src/components/Quiz/Quiz.tsx
9172
- var import_jsx_runtime40 = require("react/jsx-runtime");
9474
+ var import_jsx_runtime47 = require("react/jsx-runtime");
9173
9475
  var getStatusBadge = (status) => {
9174
9476
  switch (status) {
9175
9477
  case "correct":
9176
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.CheckCircle, {}), children: "Resposta correta" });
9478
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.CheckCircle, {}), children: "Resposta correta" });
9177
9479
  case "incorrect":
9178
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.XCircle, {}), children: "Resposta incorreta" });
9480
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.XCircle, {}), children: "Resposta incorreta" });
9179
9481
  default:
9180
9482
  return null;
9181
9483
  }
@@ -9193,7 +9495,7 @@ var Quiz = (0, import_react30.forwardRef)(({ children, className, variant = "def
9193
9495
  (0, import_react30.useEffect)(() => {
9194
9496
  setVariant(variant);
9195
9497
  }, [variant, setVariant]);
9196
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children });
9498
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children });
9197
9499
  });
9198
9500
  var QuizHeaderResult = (0, import_react30.forwardRef)(
9199
9501
  ({ className, ...props }, ref) => {
@@ -9234,7 +9536,7 @@ var QuizHeaderResult = (0, import_react30.forwardRef)(
9234
9536
  return "N\xE3o foi dessa vez...voc\xEA deixou a resposta em branco";
9235
9537
  }
9236
9538
  };
9237
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
9539
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
9238
9540
  "div",
9239
9541
  {
9240
9542
  ref,
@@ -9245,8 +9547,8 @@ var QuizHeaderResult = (0, import_react30.forwardRef)(
9245
9547
  ),
9246
9548
  ...props,
9247
9549
  children: [
9248
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-950 font-bold text-lg", children: "Resultado" }),
9249
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-700 text-md", children: getLabelByAnswersStatus() })
9550
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-950 font-bold text-lg", children: "Resultado" }),
9551
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-700 text-md", children: getLabelByAnswersStatus() })
9250
9552
  ]
9251
9553
  }
9252
9554
  );
@@ -9279,8 +9581,8 @@ var QuizTitle = (0, import_react30.forwardRef)(
9279
9581
  const handleCancelExit = () => {
9280
9582
  setShowExitConfirmation(false);
9281
9583
  };
9282
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9283
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
9584
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
9585
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
9284
9586
  "div",
9285
9587
  {
9286
9588
  ref,
@@ -9290,24 +9592,24 @@ var QuizTitle = (0, import_react30.forwardRef)(
9290
9592
  ),
9291
9593
  ...props,
9292
9594
  children: [
9293
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
9595
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9294
9596
  IconButton_default,
9295
9597
  {
9296
- icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.CaretLeft, { size: 24 }),
9598
+ icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.CaretLeft, { size: 24 }),
9297
9599
  size: "md",
9298
9600
  "aria-label": "Voltar",
9299
9601
  onClick: handleBackClick
9300
9602
  }
9301
9603
  ),
9302
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "flex flex-col gap-2 text-center", children: [
9303
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-950 font-bold text-md", children: quizTitle }),
9304
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-600 text-xs", children: totalQuestions > 0 ? `${currentQuestionIndex + 1} de ${totalQuestions}` : "0 de 0" })
9604
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("span", { className: "flex flex-col gap-2 text-center", children: [
9605
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-950 font-bold text-md", children: quizTitle }),
9606
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-600 text-xs", children: totalQuestions > 0 ? `${currentQuestionIndex + 1} de ${totalQuestions}` : "0 de 0" })
9305
9607
  ] }),
9306
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "flex flex-row items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Badge_default, { variant: "outlined", action: "info", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.Clock, {}), children: isStarted ? formatTime2(timeElapsed) : "00:00" }) })
9608
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "flex flex-row items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge_default, { variant: "outlined", action: "info", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.Clock, {}), children: isStarted ? formatTime2(timeElapsed) : "00:00" }) })
9307
9609
  ]
9308
9610
  }
9309
9611
  ),
9310
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
9612
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9311
9613
  AlertDialog,
9312
9614
  {
9313
9615
  isOpen: showExitConfirmation,
@@ -9325,13 +9627,13 @@ var QuizTitle = (0, import_react30.forwardRef)(
9325
9627
  );
9326
9628
  var QuizSubTitle = (0, import_react30.forwardRef)(
9327
9629
  ({ subTitle, ...props }, ref) => {
9328
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "px-4 pb-2 pt-6", ...props, ref, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "font-bold text-lg text-text-950", children: subTitle }) });
9630
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "px-4 pb-2 pt-6", ...props, ref, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "font-bold text-lg text-text-950", children: subTitle }) });
9329
9631
  }
9330
9632
  );
9331
9633
  var QuizHeader = () => {
9332
9634
  const { getCurrentQuestion, currentQuestionIndex } = useQuizStore();
9333
9635
  const currentQuestion = getCurrentQuestion();
9334
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
9636
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9335
9637
  HeaderAlternative,
9336
9638
  {
9337
9639
  title: currentQuestion ? `Quest\xE3o ${currentQuestionIndex + 1}` : "Quest\xE3o",
@@ -9341,7 +9643,7 @@ var QuizHeader = () => {
9341
9643
  );
9342
9644
  };
9343
9645
  var QuizContainer = (0, import_react30.forwardRef)(({ children, className, ...props }, ref) => {
9344
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
9646
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9345
9647
  "div",
9346
9648
  {
9347
9649
  ref,
@@ -9367,7 +9669,7 @@ var QuizContent = (0, import_react30.forwardRef)(({ paddingBottom }) => {
9367
9669
  ["IMAGEM" /* IMAGEM */]: QuizImageQuestion
9368
9670
  };
9369
9671
  const QuestionComponent = currentQuestion ? questionComponents[currentQuestion.questionType] : null;
9370
- return QuestionComponent ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuestionComponent, { paddingBottom }) : null;
9672
+ return QuestionComponent ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuestionComponent, { paddingBottom }) : null;
9371
9673
  });
9372
9674
  var QuizAlternative = ({ paddingBottom }) => {
9373
9675
  const {
@@ -9404,10 +9706,10 @@ var QuizAlternative = ({ paddingBottom }) => {
9404
9706
  };
9405
9707
  });
9406
9708
  if (!alternatives)
9407
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { children: "N\xE3o h\xE1 Alternativas" }) });
9408
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9409
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
9410
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
9709
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { children: "N\xE3o h\xE1 Alternativas" }) });
9710
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
9711
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
9712
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9411
9713
  AlternativesList,
9412
9714
  {
9413
9715
  mode: variant === "default" ? "interactive" : "readonly",
@@ -9505,10 +9807,10 @@ var QuizMultipleChoice = ({ paddingBottom }) => {
9505
9807
  };
9506
9808
  });
9507
9809
  if (!choices)
9508
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { children: "N\xE3o h\xE1 Escolhas Multiplas" }) });
9509
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9510
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
9511
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
9810
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { children: "N\xE3o h\xE1 Escolhas Multiplas" }) });
9811
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
9812
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
9813
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9512
9814
  MultipleChoiceList,
9513
9815
  {
9514
9816
  choices,
@@ -9554,12 +9856,12 @@ var QuizDissertative = ({ paddingBottom }) => {
9554
9856
  adjustTextareaHeight();
9555
9857
  }, [currentAnswer, adjustTextareaHeight]);
9556
9858
  if (!currentQuestion) {
9557
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-600 text-md", children: "Nenhuma quest\xE3o dispon\xEDvel" }) });
9859
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-600 text-md", children: "Nenhuma quest\xE3o dispon\xEDvel" }) });
9558
9860
  }
9559
9861
  const localAnswer = (variant == "result" ? currentQuestionResult?.answer : currentAnswer?.answer) || "";
9560
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9561
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizSubTitle, { subTitle: "Resposta" }),
9562
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizContainer, { className: cn(variant != "result" && paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-4 max-h-[600px] overflow-y-auto", children: variant === "default" ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
9862
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
9863
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizSubTitle, { subTitle: "Resposta" }),
9864
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizContainer, { className: cn(variant != "result" && paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "space-y-4 max-h-[600px] overflow-y-auto", children: variant === "default" ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9563
9865
  TextArea_default,
9564
9866
  {
9565
9867
  ref: textareaRef,
@@ -9569,10 +9871,10 @@ var QuizDissertative = ({ paddingBottom }) => {
9569
9871
  rows: 4,
9570
9872
  className: "min-h-[120px] max-h-[400px] resize-none overflow-y-auto"
9571
9873
  }
9572
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-600 text-md whitespace-pre-wrap", children: localAnswer || "Nenhuma resposta fornecida" }) }) }) }),
9573
- variant === "result" && currentQuestionResult?.answerStatus == "RESPOSTA_INCORRETA" /* RESPOSTA_INCORRETA */ && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9574
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizSubTitle, { subTitle: "Observa\xE7\xE3o do professor" }),
9575
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-600 text-md whitespace-pre-wrap", children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse potenti. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit. Sed ut imperdiet nisi. Proin condimentum fermentum nunc. Etiam pharetra, erat sed fermentum feugiat, velit mauris egestas quam, ut aliquam massa nisl quis neque. Suspendisse in orci enim. Mauris euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse potenti. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit. Sed ut imperdiet nisi. Proin condimentum fermentum nunc. Etiam pharetra, erat sed fermentum feugiat, velit mauris egestas quam, ut aliquam massa nisl quis neque. Suspendisse in orci enim. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse potenti. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit. Sed ut imperdiet nisi. Proin condimentum fermentum nunc. Etiam pharetra, erat sed fermentum feugiat, velit mauris egestas quam, ut aliquam massa nisl quis neque. Suspendisse in orci enim." }) })
9874
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-600 text-md whitespace-pre-wrap", children: localAnswer || "Nenhuma resposta fornecida" }) }) }) }),
9875
+ variant === "result" && currentQuestionResult?.answerStatus == "RESPOSTA_INCORRETA" /* RESPOSTA_INCORRETA */ && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
9876
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizSubTitle, { subTitle: "Observa\xE7\xE3o do professor" }),
9877
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-600 text-md whitespace-pre-wrap", children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse potenti. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit. Sed ut imperdiet nisi. Proin condimentum fermentum nunc. Etiam pharetra, erat sed fermentum feugiat, velit mauris egestas quam, ut aliquam massa nisl quis neque. Suspendisse in orci enim. Mauris euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse potenti. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit. Sed ut imperdiet nisi. Proin condimentum fermentum nunc. Etiam pharetra, erat sed fermentum feugiat, velit mauris egestas quam, ut aliquam massa nisl quis neque. Suspendisse in orci enim. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Integer euismod, urna eu tincidunt consectetur, nisi nisl aliquam nunc, eget aliquam massa nisl quis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Suspendisse potenti. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit. Sed ut imperdiet nisi. Proin condimentum fermentum nunc. Etiam pharetra, erat sed fermentum feugiat, velit mauris egestas quam, ut aliquam massa nisl quis neque. Suspendisse in orci enim." }) })
9576
9878
  ] })
9577
9879
  ] });
9578
9880
  };
@@ -9598,16 +9900,16 @@ var QuizTrueOrFalse = ({ paddingBottom }) => {
9598
9900
  ];
9599
9901
  const getLetterByIndex = (index) => String.fromCharCode(97 + index);
9600
9902
  const isDefaultVariant = variant == "default";
9601
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9602
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
9603
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
9903
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
9904
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
9905
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
9604
9906
  const variantCorrect = option.isCorrect ? "correct" : "incorrect";
9605
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
9907
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
9606
9908
  "section",
9607
9909
  {
9608
9910
  className: "flex flex-col gap-2",
9609
9911
  children: [
9610
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
9912
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
9611
9913
  "div",
9612
9914
  {
9613
9915
  className: cn(
@@ -9615,20 +9917,20 @@ var QuizTrueOrFalse = ({ paddingBottom }) => {
9615
9917
  !isDefaultVariant ? getStatusStyles(variantCorrect) : ""
9616
9918
  ),
9617
9919
  children: [
9618
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index).concat(") ").concat(option.label) }),
9619
- isDefaultVariant ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Select_default, { size: "medium", children: [
9620
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectValue, { placeholder: "Selecione opc\xE3o" }) }),
9621
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(SelectContent, { children: [
9622
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectItem, { value: "V", children: "Verdadeiro" }),
9623
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectItem, { value: "F", children: "Falso" })
9920
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index).concat(") ").concat(option.label) }),
9921
+ isDefaultVariant ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Select_default, { size: "medium", children: [
9922
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectValue, { placeholder: "Selecione opc\xE3o" }) }),
9923
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SelectContent, { children: [
9924
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: "V", children: "Verdadeiro" }),
9925
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: "F", children: "Falso" })
9624
9926
  ] })
9625
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex-shrink-0", children: getStatusBadge(variantCorrect) })
9927
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex-shrink-0", children: getStatusBadge(variantCorrect) })
9626
9928
  ]
9627
9929
  }
9628
9930
  ),
9629
- !isDefaultVariant && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "flex flex-row gap-2 items-center", children: [
9630
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-800 text-2xs", children: "Resposta selecionada: V" }),
9631
- !option.isCorrect && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-800 text-2xs", children: "Resposta correta: F" })
9931
+ !isDefaultVariant && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("span", { className: "flex flex-row gap-2 items-center", children: [
9932
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-800 text-2xs", children: "Resposta selecionada: V" }),
9933
+ !option.isCorrect && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-800 text-2xs", children: "Resposta correta: F" })
9632
9934
  ] })
9633
9935
  ]
9634
9936
  },
@@ -9718,13 +10020,13 @@ var QuizConnectDots = ({ paddingBottom }) => {
9718
10020
  const assignedDots = new Set(
9719
10021
  userAnswers.map((a) => a.dotOption).filter(Boolean)
9720
10022
  );
9721
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9722
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
9723
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
10023
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
10024
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
10025
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
9724
10026
  const answer = userAnswers[index];
9725
10027
  const variantCorrect = answer.isCorrect ? "correct" : "incorrect";
9726
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("section", { className: "flex flex-col gap-2", children: [
9727
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10028
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("section", { className: "flex flex-col gap-2", children: [
10029
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
9728
10030
  "div",
9729
10031
  {
9730
10032
  className: cn(
@@ -9732,30 +10034,30 @@ var QuizConnectDots = ({ paddingBottom }) => {
9732
10034
  !isDefaultVariant ? getStatusStyles(variantCorrect) : ""
9733
10035
  ),
9734
10036
  children: [
9735
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index) + ") " + option.label }),
9736
- isDefaultVariant ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10037
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index) + ") " + option.label }),
10038
+ isDefaultVariant ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
9737
10039
  Select_default,
9738
10040
  {
9739
10041
  size: "medium",
9740
10042
  value: answer.dotOption || void 0,
9741
10043
  onValueChange: (value) => handleSelectDot(index, value),
9742
10044
  children: [
9743
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
9744
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectContent, { children: dotsOptions.filter(
10045
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
10046
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectContent, { children: dotsOptions.filter(
9745
10047
  (dot) => !assignedDots.has(dot.label) || answer.dotOption === dot.label
9746
- ).map((dot) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectItem, { value: dot.label, children: dot.label }, dot.label)) })
10048
+ ).map((dot) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: dot.label, children: dot.label }, dot.label)) })
9747
10049
  ]
9748
10050
  }
9749
- ) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex-shrink-0", children: answer.isCorrect === null ? null : getStatusBadge(variantCorrect) })
10051
+ ) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex-shrink-0", children: answer.isCorrect === null ? null : getStatusBadge(variantCorrect) })
9750
10052
  ]
9751
10053
  }
9752
10054
  ),
9753
- !isDefaultVariant && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "flex flex-row gap-2 items-center", children: [
9754
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("p", { className: "text-text-800 text-2xs", children: [
10055
+ !isDefaultVariant && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("span", { className: "flex flex-row gap-2 items-center", children: [
10056
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("p", { className: "text-text-800 text-2xs", children: [
9755
10057
  "Resposta selecionada: ",
9756
10058
  answer.dotOption || "Nenhuma"
9757
10059
  ] }),
9758
- !answer.isCorrect && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("p", { className: "text-text-800 text-2xs", children: [
10060
+ !answer.isCorrect && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("p", { className: "text-text-800 text-2xs", children: [
9759
10061
  "Resposta correta: ",
9760
10062
  answer.correctOption
9761
10063
  ] })
@@ -9822,18 +10124,18 @@ var QuizFill = ({ paddingBottom }) => {
9822
10124
  const mockAnswer = mockUserAnswers.find(
9823
10125
  (answer) => answer.selectId === selectId
9824
10126
  );
9825
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "inline-flex mb-2.5 text-success-600 font-semibold text-md border-b-2 border-success-600", children: mockAnswer?.correctAnswer });
10127
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "inline-flex mb-2.5 text-success-600 font-semibold text-md border-b-2 border-success-600", children: mockAnswer?.correctAnswer });
9826
10128
  };
9827
10129
  const renderDefaultElement = (selectId, startIndex, selectedValue, availableOptionsForThisSelect) => {
9828
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10130
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
9829
10131
  Select_default,
9830
10132
  {
9831
10133
  value: selectedValue,
9832
10134
  onValueChange: (value) => handleSelectChange(selectId, value),
9833
10135
  className: "inline-flex mb-2.5",
9834
10136
  children: [
9835
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectTrigger, { className: "inline-flex w-auto min-w-[140px] h-8 mx-1 bg-white border-gray-300", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
9836
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectContent, { children: availableOptionsForThisSelect.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectItem, { value: option, children: option }, `${option}-${index}`)) })
10137
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectTrigger, { className: "inline-flex w-auto min-w-[140px] h-8 mx-1 bg-white border-gray-300", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
10138
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectContent, { children: availableOptionsForThisSelect.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: option, children: option }, `${option}-${index}`)) })
9837
10139
  ]
9838
10140
  },
9839
10141
  `${selectId}-${startIndex}`
@@ -9845,8 +10147,8 @@ var QuizFill = ({ paddingBottom }) => {
9845
10147
  );
9846
10148
  if (!mockAnswer) return null;
9847
10149
  const action = mockAnswer.isCorrect ? "success" : "error";
9848
- const icon = mockAnswer.isCorrect ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.CheckCircle, {}) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.XCircle, {});
9849
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10150
+ const icon = mockAnswer.isCorrect ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.CheckCircle, {}) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.XCircle, {});
10151
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9850
10152
  Badge_default,
9851
10153
  {
9852
10154
  variant: "solid",
@@ -9854,7 +10156,7 @@ var QuizFill = ({ paddingBottom }) => {
9854
10156
  iconRight: icon,
9855
10157
  size: "large",
9856
10158
  className: "py-3 w-[180px] justify-between mb-2.5",
9857
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-text-900", children: mockAnswer.userAnswer })
10159
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-text-900", children: mockAnswer.userAnswer })
9858
10160
  },
9859
10161
  selectId
9860
10162
  );
@@ -9910,25 +10212,25 @@ var QuizFill = ({ paddingBottom }) => {
9910
10212
  }
9911
10213
  return elements;
9912
10214
  };
9913
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9914
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
9915
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-6 px-4 h-auto", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10215
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
10216
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizSubTitle, { subTitle: "Alternativas" }),
10217
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "space-y-6 px-4 h-auto", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9916
10218
  "div",
9917
10219
  {
9918
10220
  className: cn(
9919
10221
  "text-lg text-text-900 leading-8 h-auto",
9920
10222
  variant != "result" && paddingBottom
9921
10223
  ),
9922
- children: renderTextWithSelects(exampleText).map((element) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { children: element.element }, element.id))
10224
+ children: renderTextWithSelects(exampleText).map((element) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { children: element.element }, element.id))
9923
10225
  }
9924
10226
  ) }) }),
9925
- variant === "result" && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9926
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizSubTitle, { subTitle: "Resultado" }),
9927
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "space-y-6 px-4", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10227
+ variant === "result" && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
10228
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizSubTitle, { subTitle: "Resultado" }),
10229
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "space-y-6 px-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9928
10230
  "div",
9929
10231
  {
9930
10232
  className: cn("text-lg text-text-900 leading-8", paddingBottom),
9931
- children: renderTextWithSelects(exampleText, true).map((element) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { children: element.element }, element.id))
10233
+ children: renderTextWithSelects(exampleText, true).map((element) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { children: element.element }, element.id))
9932
10234
  }
9933
10235
  ) }) })
9934
10236
  ] })
@@ -9982,36 +10284,36 @@ var QuizImageQuestion = ({ paddingBottom }) => {
9982
10284
  }
9983
10285
  return "bg-success-600/70 border-white";
9984
10286
  };
9985
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
9986
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizSubTitle, { subTitle: "Clique na \xE1rea correta" }),
9987
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10287
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
10288
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizSubTitle, { subTitle: "Clique na \xE1rea correta" }),
10289
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
9988
10290
  "div",
9989
10291
  {
9990
10292
  "data-testid": "quiz-image-container",
9991
10293
  className: "space-y-6 p-3 relative inline-block",
9992
10294
  children: [
9993
- variant == "result" && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10295
+ variant == "result" && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
9994
10296
  "div",
9995
10297
  {
9996
10298
  "data-testid": "quiz-legend",
9997
10299
  className: "flex items-center gap-4 text-xs",
9998
10300
  children: [
9999
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex items-center gap-2", children: [
10000
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "w-3 h-3 rounded-full bg-indicator-primary/70 border border-[#F8CC2E]" }),
10001
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-text-600 font-medium text-sm", children: "\xC1rea correta" })
10301
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center gap-2", children: [
10302
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-3 h-3 rounded-full bg-indicator-primary/70 border border-[#F8CC2E]" }),
10303
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-text-600 font-medium text-sm", children: "\xC1rea correta" })
10002
10304
  ] }),
10003
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex items-center gap-2", children: [
10004
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "w-3 h-3 rounded-full bg-success-600/70 border border-white" }),
10005
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-text-600 font-medium text-sm", children: "Resposta correta" })
10305
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center gap-2", children: [
10306
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-3 h-3 rounded-full bg-success-600/70 border border-white" }),
10307
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-text-600 font-medium text-sm", children: "Resposta correta" })
10006
10308
  ] }),
10007
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex items-center gap-2", children: [
10008
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "w-3 h-3 rounded-full bg-indicator-error/70 border border-white" }),
10009
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-text-600 font-medium text-sm", children: "Resposta incorreta" })
10309
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center gap-2", children: [
10310
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-3 h-3 rounded-full bg-indicator-error/70 border border-white" }),
10311
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-text-600 font-medium text-sm", children: "Resposta incorreta" })
10010
10312
  ] })
10011
10313
  ]
10012
10314
  }
10013
10315
  ),
10014
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10316
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
10015
10317
  "button",
10016
10318
  {
10017
10319
  "data-testid": "quiz-image-button",
@@ -10026,7 +10328,7 @@ var QuizImageQuestion = ({ paddingBottom }) => {
10026
10328
  },
10027
10329
  "aria-label": "\xC1rea da imagem interativa",
10028
10330
  children: [
10029
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10331
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10030
10332
  "img",
10031
10333
  {
10032
10334
  "data-testid": "quiz-image",
@@ -10035,7 +10337,7 @@ var QuizImageQuestion = ({ paddingBottom }) => {
10035
10337
  className: "w-full h-auto rounded-md"
10036
10338
  }
10037
10339
  ),
10038
- variant === "result" && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10340
+ variant === "result" && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10039
10341
  "div",
10040
10342
  {
10041
10343
  "data-testid": "quiz-correct-circle",
@@ -10050,7 +10352,7 @@ var QuizImageQuestion = ({ paddingBottom }) => {
10050
10352
  }
10051
10353
  }
10052
10354
  ),
10053
- clickPositionRelative && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10355
+ clickPositionRelative && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10054
10356
  "div",
10055
10357
  {
10056
10358
  "data-testid": "quiz-user-circle",
@@ -10118,18 +10420,18 @@ var QuizQuestionList = ({
10118
10420
  return "Em branco";
10119
10421
  }
10120
10422
  };
10121
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "space-y-6 px-4 h-full", children: [
10122
- Object.entries(filteredGroupedQuestions).length == 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex items-center justify-center text-gray-500 py-8 h-full", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-lg", children: "Nenhum resultado" }) }),
10423
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "space-y-6 px-4 h-full", children: [
10424
+ Object.entries(filteredGroupedQuestions).length == 0 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex items-center justify-center text-gray-500 py-8 h-full", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-lg", children: "Nenhum resultado" }) }),
10123
10425
  Object.entries(filteredGroupedQuestions).map(
10124
- ([subjectId, questions]) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("section", { className: "flex flex-col gap-2", children: [
10125
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: "pt-6 pb-4 flex flex-row gap-2", children: [
10126
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "bg-primary-500 p-1 rounded-sm flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.BookOpen, { size: 17, className: "text-white" }) }),
10127
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-800 font-bold text-lg", children: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" })
10426
+ ([subjectId, questions]) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("section", { className: "flex flex-col gap-2", children: [
10427
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("span", { className: "pt-6 pb-4 flex flex-row gap-2", children: [
10428
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "bg-primary-500 p-1 rounded-sm flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.BookOpen, { size: 17, className: "text-white" }) }),
10429
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-800 font-bold text-lg", children: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" })
10128
10430
  ] }),
10129
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("ul", { className: "flex flex-col gap-2", children: questions.map((question) => {
10431
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("ul", { className: "flex flex-col gap-2", children: questions.map((question) => {
10130
10432
  const status = getQuestionStatus(question.id);
10131
10433
  const questionNumber = getQuestionIndex(question.id);
10132
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10434
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10133
10435
  CardStatus,
10134
10436
  {
10135
10437
  header: `Quest\xE3o ${questionNumber.toString().padStart(2, "0")}`,
@@ -10209,8 +10511,8 @@ var QuizFooter = (0, import_react30.forwardRef)(
10209
10511
  return;
10210
10512
  }
10211
10513
  };
10212
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
10213
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10514
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
10515
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10214
10516
  "footer",
10215
10517
  {
10216
10518
  ref,
@@ -10219,17 +10521,17 @@ var QuizFooter = (0, import_react30.forwardRef)(
10219
10521
  className
10220
10522
  ),
10221
10523
  ...props,
10222
- children: variant === "default" ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
10223
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-row items-center gap-1", children: [
10224
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10524
+ children: variant === "default" ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
10525
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-row items-center gap-1", children: [
10526
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10225
10527
  IconButton_default,
10226
10528
  {
10227
- icon: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.SquaresFour, { size: 24, className: "text-text-950" }),
10529
+ icon: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.SquaresFour, { size: 24, className: "text-text-950" }),
10228
10530
  size: "md",
10229
10531
  onClick: () => setModalNavigateOpen(true)
10230
10532
  }
10231
10533
  ),
10232
- isFirstQuestion ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10534
+ isFirstQuestion ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10233
10535
  Button_default,
10234
10536
  {
10235
10537
  variant: "outline",
@@ -10240,13 +10542,13 @@ var QuizFooter = (0, import_react30.forwardRef)(
10240
10542
  },
10241
10543
  children: "Pular"
10242
10544
  }
10243
- ) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10545
+ ) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10244
10546
  Button_default,
10245
10547
  {
10246
10548
  size: "medium",
10247
10549
  variant: "link",
10248
10550
  action: "primary",
10249
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.CaretLeft, { size: 18 }),
10551
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.CaretLeft, { size: 18 }),
10250
10552
  onClick: () => {
10251
10553
  goToPreviousQuestion();
10252
10554
  },
@@ -10254,7 +10556,7 @@ var QuizFooter = (0, import_react30.forwardRef)(
10254
10556
  }
10255
10557
  )
10256
10558
  ] }),
10257
- !isFirstQuestion && !isLastQuestion && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10559
+ !isFirstQuestion && !isLastQuestion && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10258
10560
  Button_default,
10259
10561
  {
10260
10562
  size: "small",
@@ -10267,7 +10569,7 @@ var QuizFooter = (0, import_react30.forwardRef)(
10267
10569
  children: "Pular"
10268
10570
  }
10269
10571
  ),
10270
- isLastQuestion ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10572
+ isLastQuestion ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10271
10573
  Button_default,
10272
10574
  {
10273
10575
  size: "medium",
@@ -10277,13 +10579,13 @@ var QuizFooter = (0, import_react30.forwardRef)(
10277
10579
  onClick: handleFinishQuiz,
10278
10580
  children: "Finalizar"
10279
10581
  }
10280
- ) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10582
+ ) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10281
10583
  Button_default,
10282
10584
  {
10283
10585
  size: "medium",
10284
10586
  variant: "link",
10285
10587
  action: "primary",
10286
- iconRight: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.CaretRight, { size: 18 }),
10588
+ iconRight: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.CaretRight, { size: 18 }),
10287
10589
  disabled: !currentAnswer && !isCurrentQuestionSkipped,
10288
10590
  onClick: () => {
10289
10591
  goToNextQuestion();
@@ -10291,7 +10593,7 @@ var QuizFooter = (0, import_react30.forwardRef)(
10291
10593
  children: "Avan\xE7ar"
10292
10594
  }
10293
10595
  )
10294
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex flex-row items-center justify-end w-full", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10596
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-row items-center justify-end w-full", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10295
10597
  Button_default,
10296
10598
  {
10297
10599
  variant: "solid",
@@ -10303,7 +10605,7 @@ var QuizFooter = (0, import_react30.forwardRef)(
10303
10605
  ) })
10304
10606
  }
10305
10607
  ),
10306
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10608
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10307
10609
  AlertDialog,
10308
10610
  {
10309
10611
  isOpen: alertDialogOpen,
@@ -10315,7 +10617,7 @@ var QuizFooter = (0, import_react30.forwardRef)(
10315
10617
  onSubmit: handleAlertSubmit
10316
10618
  }
10317
10619
  ),
10318
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10620
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10319
10621
  Modal_default,
10320
10622
  {
10321
10623
  isOpen: modalResultOpen,
@@ -10324,11 +10626,11 @@ var QuizFooter = (0, import_react30.forwardRef)(
10324
10626
  closeOnEscape: false,
10325
10627
  hideCloseButton: true,
10326
10628
  size: "md",
10327
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-col w-full h-full items-center justify-center gap-4", children: [
10328
- resultImageComponent ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "w-[282px] h-auto", children: resultImageComponent }) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "w-[282px] h-[200px] bg-gray-100 rounded-md flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-gray-500 text-sm", children: "Imagem de resultado" }) }),
10329
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-col gap-2 text-center", children: [
10330
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("h2", { className: "text-text-950 font-bold text-lg", children: "Voc\xEA concluiu o simulado!" }),
10331
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("p", { className: "text-text-500 font-sm", children: [
10629
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-col w-full h-full items-center justify-center gap-4", children: [
10630
+ resultImageComponent ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-[282px] h-auto", children: resultImageComponent }) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "w-[282px] h-[200px] bg-gray-100 rounded-md flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-gray-500 text-sm", children: "Imagem de resultado" }) }),
10631
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-col gap-2 text-center", children: [
10632
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("h2", { className: "text-text-950 font-bold text-lg", children: "Voc\xEA concluiu o simulado!" }),
10633
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("p", { className: "text-text-500 font-sm", children: [
10332
10634
  "Voc\xEA acertou",
10333
10635
  " ",
10334
10636
  getQuestionResultStatistics()?.correctAnswers ?? "--",
@@ -10338,8 +10640,8 @@ var QuizFooter = (0, import_react30.forwardRef)(
10338
10640
  " quest\xF5es."
10339
10641
  ] })
10340
10642
  ] }),
10341
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "px-6 flex flex-row items-center gap-2 w-full", children: [
10342
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10643
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "px-6 flex flex-row items-center gap-2 w-full", children: [
10644
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10343
10645
  Button_default,
10344
10646
  {
10345
10647
  variant: "outline",
@@ -10349,38 +10651,38 @@ var QuizFooter = (0, import_react30.forwardRef)(
10349
10651
  children: "Ir para simulados"
10350
10652
  }
10351
10653
  ),
10352
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Button_default, { className: "w-full", onClick: onDetailResult, children: "Detalhar resultado" })
10654
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button_default, { className: "w-full", onClick: onDetailResult, children: "Detalhar resultado" })
10353
10655
  ] })
10354
10656
  ] })
10355
10657
  }
10356
10658
  ),
10357
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10659
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10358
10660
  Modal_default,
10359
10661
  {
10360
10662
  isOpen: modalNavigateOpen,
10361
10663
  onClose: () => setModalNavigateOpen(false),
10362
10664
  title: "Quest\xF5es",
10363
10665
  size: "lg",
10364
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-col w-full not-lg:h-[calc(100vh-200px)] lg:max-h-[687px] lg:h-[687px]", children: [
10365
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-row justify-between items-center py-6 pt-6 pb-4 border-b border-border-200 flex-shrink-0", children: [
10366
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-950 font-bold text-lg", children: "Filtrar por" }),
10367
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "max-w-[266px]", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Select_default, { value: filterType, onValueChange: setFilterType, children: [
10368
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10666
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-col w-full not-lg:h-[calc(100vh-200px)] lg:max-h-[687px] lg:h-[687px]", children: [
10667
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-row justify-between items-center py-6 pt-6 pb-4 border-b border-border-200 flex-shrink-0", children: [
10668
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-950 font-bold text-lg", children: "Filtrar por" }),
10669
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "max-w-[266px]", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Select_default, { value: filterType, onValueChange: setFilterType, children: [
10670
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10369
10671
  SelectTrigger,
10370
10672
  {
10371
10673
  variant: "rounded",
10372
10674
  className: "max-w-[266px] min-w-[160px]",
10373
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectValue, { placeholder: "Selecione uma op\xE7\xE3o" })
10675
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectValue, { placeholder: "Selecione uma op\xE7\xE3o" })
10374
10676
  }
10375
10677
  ),
10376
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(SelectContent, { children: [
10377
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectItem, { value: "all", children: "Todas" }),
10378
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectItem, { value: "unanswered", children: "Em branco" }),
10379
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectItem, { value: "answered", children: "Respondidas" })
10678
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SelectContent, { children: [
10679
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: "all", children: "Todas" }),
10680
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: "unanswered", children: "Em branco" }),
10681
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: "answered", children: "Respondidas" })
10380
10682
  ] })
10381
10683
  ] }) })
10382
10684
  ] }),
10383
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex flex-col gap-2 flex-1 min-h-0 overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10685
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-col gap-2 flex-1 min-h-0 overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10384
10686
  QuizQuestionList,
10385
10687
  {
10386
10688
  filterType,
@@ -10390,7 +10692,7 @@ var QuizFooter = (0, import_react30.forwardRef)(
10390
10692
  ] })
10391
10693
  }
10392
10694
  ),
10393
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10695
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10394
10696
  Modal_default,
10395
10697
  {
10396
10698
  isOpen: modalResolutionOpen,
@@ -10408,32 +10710,32 @@ var QuizBadge = ({
10408
10710
  }) => {
10409
10711
  switch (subtype) {
10410
10712
  case "PROVA" /* PROVA */:
10411
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Badge_default, { variant: "examsOutlined", action: "exam2", "data-testid": "quiz-badge", children: "Prova" });
10713
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge_default, { variant: "examsOutlined", action: "exam2", "data-testid": "quiz-badge", children: "Prova" });
10412
10714
  case "ENEM_PROVA_1" /* ENEM_PROVA_1 */:
10413
10715
  case "ENEM_PROVA_2" /* ENEM_PROVA_2 */:
10414
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Badge_default, { variant: "examsOutlined", action: "exam1", "data-testid": "quiz-badge", children: "Enem" });
10716
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge_default, { variant: "examsOutlined", action: "exam1", "data-testid": "quiz-badge", children: "Enem" });
10415
10717
  case "VESTIBULAR" /* VESTIBULAR */:
10416
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Badge_default, { variant: "examsOutlined", action: "exam4", "data-testid": "quiz-badge", children: "Vestibular" });
10718
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge_default, { variant: "examsOutlined", action: "exam4", "data-testid": "quiz-badge", children: "Vestibular" });
10417
10719
  case "SIMULADO" /* SIMULADO */:
10418
10720
  case "SIMULADAO" /* SIMULADAO */:
10419
10721
  case void 0:
10420
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Badge_default, { variant: "examsOutlined", action: "exam3", "data-testid": "quiz-badge", children: "Simulad\xE3o" });
10722
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge_default, { variant: "examsOutlined", action: "exam3", "data-testid": "quiz-badge", children: "Simulad\xE3o" });
10421
10723
  default:
10422
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: subtype });
10724
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: subtype });
10423
10725
  }
10424
10726
  };
10425
10727
  var QuizResultHeaderTitle = (0, import_react30.forwardRef)(({ className, ...props }, ref) => {
10426
10728
  const { getActiveQuiz } = useQuizStore();
10427
10729
  const activeQuiz = getActiveQuiz();
10428
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10730
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
10429
10731
  "div",
10430
10732
  {
10431
10733
  ref,
10432
10734
  className: cn("flex flex-row pt-4 justify-between", className),
10433
10735
  ...props,
10434
10736
  children: [
10435
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-950 font-bold text-2xl", children: "Resultado" }),
10436
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(QuizBadge, { subtype: activeQuiz?.quiz.subtype || void 0 })
10737
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-950 font-bold text-2xl", children: "Resultado" }),
10738
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(QuizBadge, { subtype: activeQuiz?.quiz.subtype || void 0 })
10437
10739
  ]
10438
10740
  }
10439
10741
  );
@@ -10441,7 +10743,7 @@ var QuizResultHeaderTitle = (0, import_react30.forwardRef)(({ className, ...prop
10441
10743
  var QuizResultTitle = (0, import_react30.forwardRef)(({ className, ...props }, ref) => {
10442
10744
  const { getQuizTitle } = useQuizStore();
10443
10745
  const quizTitle = getQuizTitle();
10444
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10746
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10445
10747
  "p",
10446
10748
  {
10447
10749
  className: cn("pt-6 pb-4 text-text-950 font-bold text-lg", className),
@@ -10493,15 +10795,15 @@ var QuizResultPerformance = (0, import_react30.forwardRef)(
10493
10795
  });
10494
10796
  }
10495
10797
  const percentage = totalQuestions > 0 ? Math.round(correctAnswers / totalQuestions * 100) : 0;
10496
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10798
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
10497
10799
  "div",
10498
10800
  {
10499
10801
  className: "flex flex-row gap-6 p-6 rounded-xl bg-background justify-between",
10500
10802
  ref,
10501
10803
  ...props,
10502
10804
  children: [
10503
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "relative", children: [
10504
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10805
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "relative", children: [
10806
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10505
10807
  ProgressCircle_default,
10506
10808
  {
10507
10809
  size: "medium",
@@ -10511,24 +10813,24 @@ var QuizResultPerformance = (0, import_react30.forwardRef)(
10511
10813
  label: ""
10512
10814
  }
10513
10815
  ),
10514
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "absolute inset-0 flex flex-col items-center justify-center", children: [
10515
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex items-center gap-1 mb-1", children: [
10516
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_phosphor_react21.Clock, { size: 12, weight: "regular", className: "text-text-800" }),
10517
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "text-2xs font-medium text-text-800", children: formatTime2(
10816
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "absolute inset-0 flex flex-col items-center justify-center", children: [
10817
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center gap-1 mb-1", children: [
10818
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_phosphor_react22.Clock, { size: 12, weight: "regular", className: "text-text-800" }),
10819
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-2xs font-medium text-text-800", children: formatTime2(
10518
10820
  (getQuestionResultStatistics()?.timeSpent ?? 0) * 60
10519
10821
  ) })
10520
10822
  ] }),
10521
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "text-2xl font-medium text-text-800 leading-7", children: [
10823
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "text-2xl font-medium text-text-800 leading-7", children: [
10522
10824
  getQuestionResultStatistics()?.correctAnswers ?? "--",
10523
10825
  " de",
10524
10826
  " ",
10525
10827
  totalQuestions
10526
10828
  ] }),
10527
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "text-2xs font-medium text-text-600 mt-1", children: "Corretas" })
10829
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "text-2xs font-medium text-text-600 mt-1", children: "Corretas" })
10528
10830
  ] })
10529
10831
  ] }),
10530
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-col gap-4 w-full", children: [
10531
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10832
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-col gap-4 w-full", children: [
10833
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10532
10834
  ProgressBar_default,
10533
10835
  {
10534
10836
  className: "w-full",
@@ -10542,7 +10844,7 @@ var QuizResultPerformance = (0, import_react30.forwardRef)(
10542
10844
  percentageClassName: "text-xs font-medium leading-[14px] text-right"
10543
10845
  }
10544
10846
  ),
10545
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10847
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10546
10848
  ProgressBar_default,
10547
10849
  {
10548
10850
  className: "w-full",
@@ -10556,7 +10858,7 @@ var QuizResultPerformance = (0, import_react30.forwardRef)(
10556
10858
  percentageClassName: "text-xs font-medium leading-[14px] text-right"
10557
10859
  }
10558
10860
  ),
10559
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10861
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10560
10862
  ProgressBar_default,
10561
10863
  {
10562
10864
  className: "w-full",
@@ -10603,9 +10905,9 @@ var QuizListResult = (0, import_react30.forwardRef)(({ className, onSubjectClick
10603
10905
  };
10604
10906
  }
10605
10907
  );
10606
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("section", { ref, className, ...props, children: [
10607
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Mat\xE9rias" }),
10608
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("ul", { className: "flex flex-col gap-2", children: subjectsStats.map((subject) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10908
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("section", { ref, className, ...props, children: [
10909
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Mat\xE9rias" }),
10910
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("ul", { className: "flex flex-col gap-2", children: subjectsStats.map((subject) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10609
10911
  CardResults,
10610
10912
  {
10611
10913
  onClick: () => onSubjectClick?.(subject.subject.id),
@@ -10627,16 +10929,16 @@ var QuizListResultByMateria = ({
10627
10929
  const { getQuestionsGroupedBySubject, getQuestionIndex } = useQuizStore();
10628
10930
  const groupedQuestions = getQuestionsGroupedBySubject();
10629
10931
  const answeredQuestions = groupedQuestions[subject] || [];
10630
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-col", children: [
10631
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex flex-row pt-4 justify-between", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "text-text-950 font-bold text-2xl", children: answeredQuestions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" }) }),
10632
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("section", { className: "flex flex-col ", children: [
10633
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Resultado das quest\xF5es" }),
10634
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("ul", { className: "flex flex-col gap-2 pt-4", children: answeredQuestions.map((question) => {
10932
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-col", children: [
10933
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-row pt-4 justify-between", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-text-950 font-bold text-2xl", children: answeredQuestions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" }) }),
10934
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("section", { className: "flex flex-col ", children: [
10935
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Resultado das quest\xF5es" }),
10936
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("ul", { className: "flex flex-col gap-2 pt-4", children: answeredQuestions.map((question) => {
10635
10937
  const questionIndex = getQuestionIndex(
10636
10938
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10637
10939
  question.questionId ?? question.id
10638
10940
  );
10639
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
10941
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10640
10942
  CardStatus,
10641
10943
  {
10642
10944
  className: "max-w-full",
@@ -10660,11 +10962,11 @@ var QuizListResultByMateria = ({
10660
10962
 
10661
10963
  // src/components/LoadingModal/loadingModal.tsx
10662
10964
  var import_react31 = require("react");
10663
- var import_jsx_runtime41 = require("react/jsx-runtime");
10965
+ var import_jsx_runtime48 = require("react/jsx-runtime");
10664
10966
  var LoadingModal = (0, import_react31.forwardRef)(
10665
10967
  ({ open, title = "Titulo...", subtitle = "Subtitulo...", ...props }, ref) => {
10666
10968
  if (!open) return null;
10667
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10969
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10668
10970
  "div",
10669
10971
  {
10670
10972
  ref,
@@ -10673,8 +10975,8 @@ var LoadingModal = (0, import_react31.forwardRef)(
10673
10975
  "aria-describedby": "loading-modal-subtitle",
10674
10976
  className: "fixed inset-0 z-50 flex items-center justify-center bg-background/90 backdrop-blur-xs",
10675
10977
  ...props,
10676
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "w-full max-w-[364px] flex flex-col items-center justify-center gap-14", children: [
10677
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "animate-spin", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
10978
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "w-full max-w-[364px] flex flex-col items-center justify-center gap-14", children: [
10979
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "animate-spin", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
10678
10980
  "svg",
10679
10981
  {
10680
10982
  width: "102",
@@ -10685,14 +10987,14 @@ var LoadingModal = (0, import_react31.forwardRef)(
10685
10987
  "aria-hidden": "true",
10686
10988
  focusable: false,
10687
10989
  children: [
10688
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10990
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10689
10991
  "path",
10690
10992
  {
10691
10993
  d: "M101.5 51C101.5 78.8904 78.8904 101.5 51 101.5C23.1096 101.5 0.5 78.8904 0.5 51C0.5 23.1096 23.1096 0.5 51 0.5C78.8904 0.5 101.5 23.1096 101.5 51ZM8.62286 51C8.62286 74.4043 27.5957 93.3771 51 93.3771C74.4043 93.3771 93.3771 74.4043 93.3771 51C93.3771 27.5957 74.4043 8.62286 51 8.62286C27.5957 8.62286 8.62286 27.5957 8.62286 51Z",
10692
10994
  className: "fill-primary-100"
10693
10995
  }
10694
10996
  ),
10695
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
10997
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10696
10998
  "path",
10697
10999
  {
10698
11000
  d: "M97.4386 51C99.6816 51 101.517 52.8213 101.337 55.0571C100.754 62.2833 98.6212 69.3162 95.0643 75.6696C90.8444 83.207 84.7616 89.536 77.3975 94.0514C70.0333 98.5668 61.6339 101.118 53.0024 101.46C44.371 101.803 35.7959 99.9255 28.0971 96.0078C20.3982 92.0902 13.833 86.2631 9.02917 79.0838C4.22529 71.9045 1.34332 63.6129 0.658804 55.0017C-0.0257159 46.3906 1.51009 37.7479 5.1194 29.8997C8.16173 23.2845 12.5915 17.4202 18.0904 12.6959C19.7917 11.2341 22.3444 11.6457 23.6647 13.459C24.9851 15.2723 24.5702 17.7988 22.8916 19.2866C18.5048 23.1747 14.9608 27.9413 12.4992 33.2937C9.47048 39.8794 8.1817 47.132 8.75612 54.3581C9.33053 61.5841 11.7489 68.542 15.7801 74.5666C19.8113 80.5911 25.3205 85.4809 31.781 88.7684C38.2414 92.0559 45.4372 93.6312 52.6804 93.3438C59.9235 93.0564 66.9718 90.9158 73.1515 87.1267C79.3311 83.3375 84.4355 78.0266 87.9766 71.7015C90.8546 66.561 92.6217 60.8903 93.1827 55.0553C93.3973 52.8225 95.1955 51 97.4386 51Z",
@@ -10702,9 +11004,9 @@ var LoadingModal = (0, import_react31.forwardRef)(
10702
11004
  ]
10703
11005
  }
10704
11006
  ) }),
10705
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", { className: "flex flex-col gap-4 text-center", children: [
10706
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { id: "loading-modal-title", className: "text-text-950 text-lg", children: title }),
10707
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { id: "loading-modal-subtitle", className: "text-text-600 text-lg", children: subtitle })
11007
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { className: "flex flex-col gap-4 text-center", children: [
11008
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { id: "loading-modal-title", className: "text-text-950 text-lg", children: title }),
11009
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { id: "loading-modal-subtitle", className: "text-text-600 text-lg", children: subtitle })
10708
11010
  ] })
10709
11011
  ] })
10710
11012
  }
@@ -10714,7 +11016,7 @@ var LoadingModal = (0, import_react31.forwardRef)(
10714
11016
  var loadingModal_default = LoadingModal;
10715
11017
 
10716
11018
  // src/components/NotificationCard/NotificationCard.tsx
10717
- var import_phosphor_react22 = require("phosphor-react");
11019
+ var import_phosphor_react23 = require("phosphor-react");
10718
11020
  var import_react32 = require("react");
10719
11021
 
10720
11022
  // src/store/notificationStore.ts
@@ -10962,14 +11264,14 @@ var createNotificationStore = (apiClient) => {
10962
11264
  var mock_content_default = "./mock-content-K2CDVG6P.png";
10963
11265
 
10964
11266
  // src/components/NotificationCard/NotificationCard.tsx
10965
- var import_jsx_runtime42 = require("react/jsx-runtime");
11267
+ var import_jsx_runtime49 = require("react/jsx-runtime");
10966
11268
  var NotificationEmpty = ({
10967
11269
  emptyStateImage,
10968
11270
  emptyStateTitle = "Nenhuma notifica\xE7\xE3o no momento",
10969
11271
  emptyStateDescription = "Voc\xEA est\xE1 em dia com todas as novidades. Volte depois para conferir atualiza\xE7\xF5es!"
10970
11272
  }) => {
10971
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex flex-col items-center justify-center gap-4 p-6 w-full", children: [
10972
- emptyStateImage && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "w-20 h-20 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11273
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col items-center justify-center gap-4 p-6 w-full", children: [
11274
+ emptyStateImage && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "w-20 h-20 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
10973
11275
  "img",
10974
11276
  {
10975
11277
  src: emptyStateImage,
@@ -10979,23 +11281,23 @@ var NotificationEmpty = ({
10979
11281
  className: "object-contain"
10980
11282
  }
10981
11283
  ) }),
10982
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h3", { className: "text-xl font-semibold text-text-950 text-center leading-[23px]", children: emptyStateTitle }),
10983
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-sm font-normal text-text-400 text-center max-w-[316px] leading-[21px]", children: emptyStateDescription })
11284
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("h3", { className: "text-xl font-semibold text-text-950 text-center leading-[23px]", children: emptyStateTitle }),
11285
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-sm font-normal text-text-400 text-center max-w-[316px] leading-[21px]", children: emptyStateDescription })
10984
11286
  ] });
10985
11287
  };
10986
11288
  var NotificationHeader = ({
10987
11289
  unreadCount,
10988
11290
  variant = "modal"
10989
11291
  }) => {
10990
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
10991
- variant === "modal" ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Text_default, { size: "sm", weight: "bold", className: "text-text-950", children: "Notifica\xE7\xF5es" }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h3", { className: "text-sm font-semibold text-text-950", children: "Notifica\xE7\xF5es" }),
10992
- unreadCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11292
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
11293
+ variant === "modal" ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Text_default, { size: "sm", weight: "bold", className: "text-text-950", children: "Notifica\xE7\xF5es" }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("h3", { className: "text-sm font-semibold text-text-950", children: "Notifica\xE7\xF5es" }),
11294
+ unreadCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
10993
11295
  Badge_default,
10994
11296
  {
10995
11297
  variant: "solid",
10996
11298
  action: "info",
10997
11299
  size: "small",
10998
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_phosphor_react22.Bell, { size: 12, "aria-hidden": "true", focusable: "false" }),
11300
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_phosphor_react23.Bell, { size: 12, "aria-hidden": "true", focusable: "false" }),
10999
11301
  className: "border-0",
11000
11302
  children: unreadCount === 1 ? "1 n\xE3o lida" : `${unreadCount} n\xE3o lidas`
11001
11303
  }
@@ -11031,7 +11333,7 @@ var SingleNotificationCard = ({
11031
11333
  onNavigate();
11032
11334
  }
11033
11335
  };
11034
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
11336
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
11035
11337
  "div",
11036
11338
  {
11037
11339
  className: cn(
@@ -11040,20 +11342,20 @@ var SingleNotificationCard = ({
11040
11342
  className
11041
11343
  ),
11042
11344
  children: [
11043
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-center gap-2 w-full", children: [
11044
- !isRead && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "w-[7px] h-[7px] bg-info-300 rounded-full flex-shrink-0" }),
11045
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h3", { className: "font-bold text-sm leading-4 text-text-950 flex-grow", children: title }),
11046
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(DropdownMenu_default, { children: [
11047
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11345
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center gap-2 w-full", children: [
11346
+ !isRead && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "w-[7px] h-[7px] bg-info-300 rounded-full flex-shrink-0" }),
11347
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("h3", { className: "font-bold text-sm leading-4 text-text-950 flex-grow", children: title }),
11348
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenu_default, { children: [
11349
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11048
11350
  DropdownMenuTrigger,
11049
11351
  {
11050
11352
  className: "flex-shrink-0 inline-flex items-center justify-center font-medium bg-transparent text-text-950 cursor-pointer hover:bg-info-50 w-6 h-6 rounded-lg",
11051
11353
  "aria-label": "Menu de a\xE7\xF5es",
11052
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_phosphor_react22.DotsThreeVertical, { size: 24 })
11354
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_phosphor_react23.DotsThreeVertical, { size: 24 })
11053
11355
  }
11054
11356
  ),
11055
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(DropdownMenuContent, { align: "end", className: "min-w-[160px]", children: [
11056
- !isRead && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11357
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuContent, { align: "end", className: "min-w-[160px]", children: [
11358
+ !isRead && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11057
11359
  DropdownMenuItem,
11058
11360
  {
11059
11361
  onClick: handleMarkAsRead,
@@ -11061,14 +11363,14 @@ var SingleNotificationCard = ({
11061
11363
  children: "Marcar como lida"
11062
11364
  }
11063
11365
  ),
11064
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DropdownMenuItem, { onClick: handleDelete, className: "text-error-600", children: "Deletar" })
11366
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuItem, { onClick: handleDelete, className: "text-error-600", children: "Deletar" })
11065
11367
  ] })
11066
11368
  ] })
11067
11369
  ] }),
11068
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-sm leading-[21px] text-text-800 w-full", children: message }),
11069
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-center justify-between w-full", children: [
11070
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "text-sm font-medium text-text-400", children: time }),
11071
- onNavigate && actionLabel && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11370
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-sm leading-[21px] text-text-800 w-full", children: message }),
11371
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between w-full", children: [
11372
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "text-sm font-medium text-text-400", children: time }),
11373
+ onNavigate && actionLabel && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11072
11374
  "button",
11073
11375
  {
11074
11376
  type: "button",
@@ -11108,9 +11410,9 @@ var NotificationList = ({
11108
11410
  }
11109
11411
  };
11110
11412
  if (error) {
11111
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex flex-col items-center gap-4 p-6 w-full", children: [
11112
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-sm text-error-600", children: error }),
11113
- onRetry && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11413
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col items-center gap-4 p-6 w-full", children: [
11414
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-sm text-error-600", children: error }),
11415
+ onRetry && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11114
11416
  "button",
11115
11417
  {
11116
11418
  type: "button",
@@ -11122,8 +11424,8 @@ var NotificationList = ({
11122
11424
  ] });
11123
11425
  }
11124
11426
  if (loading) {
11125
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex flex-col gap-0 w-full", children: ["skeleton-first", "skeleton-second", "skeleton-third"].map(
11126
- (skeletonId) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11427
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex flex-col gap-0 w-full", children: ["skeleton-first", "skeleton-second", "skeleton-third"].map(
11428
+ (skeletonId) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11127
11429
  SkeletonCard,
11128
11430
  {
11129
11431
  className: "p-4 border-b border-border-200"
@@ -11133,11 +11435,11 @@ var NotificationList = ({
11133
11435
  ) });
11134
11436
  }
11135
11437
  if (!groupedNotifications || groupedNotifications.length === 0) {
11136
- return renderEmpty ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "w-full", children: renderEmpty() }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(NotificationEmpty, {});
11438
+ return renderEmpty ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "w-full", children: renderEmpty() }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationEmpty, {});
11137
11439
  }
11138
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: cn("flex flex-col gap-0 w-full", className), children: [
11139
- groupedNotifications.map((group, idx) => /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex flex-col", children: [
11140
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex items-end px-4 py-6 pb-4", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("h4", { className: "text-lg font-bold text-text-500 flex-grow", children: group.label }) }),
11440
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: cn("flex flex-col gap-0 w-full", className), children: [
11441
+ groupedNotifications.map((group, idx) => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col", children: [
11442
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex items-end px-4 py-6 pb-4", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("h4", { className: "text-lg font-bold text-text-500 flex-grow", children: group.label }) }),
11141
11443
  group.notifications.map((notification) => {
11142
11444
  const isGlobalNotification = !notification.entityType && !notification.entityId && !notification.activity && !notification.goal;
11143
11445
  let navigationHandler;
@@ -11157,7 +11459,7 @@ var NotificationList = ({
11157
11459
  notification.entityType ?? void 0
11158
11460
  );
11159
11461
  }
11160
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11462
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11161
11463
  SingleNotificationCard,
11162
11464
  {
11163
11465
  title: notification.title,
@@ -11173,7 +11475,7 @@ var NotificationList = ({
11173
11475
  );
11174
11476
  })
11175
11477
  ] }, `${group.label}-${idx}`)),
11176
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11478
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11177
11479
  Modal_default,
11178
11480
  {
11179
11481
  isOpen: globalNotificationModal.isOpen,
@@ -11223,7 +11525,7 @@ var NotificationCenter = ({
11223
11525
  onFetchNotifications?.();
11224
11526
  }
11225
11527
  }, [isActive, onFetchNotifications]);
11226
- const renderEmptyState = () => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11528
+ const renderEmptyState = () => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11227
11529
  NotificationEmpty,
11228
11530
  {
11229
11531
  emptyStateImage,
@@ -11232,17 +11534,17 @@ var NotificationCenter = ({
11232
11534
  }
11233
11535
  );
11234
11536
  if (isMobile) {
11235
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
11236
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11537
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
11538
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11237
11539
  IconButton_default,
11238
11540
  {
11239
11541
  active: isModalOpen,
11240
11542
  onClick: handleMobileClick,
11241
- icon: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_phosphor_react22.Bell, { size: 24, className: "text-primary" }),
11543
+ icon: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_phosphor_react23.Bell, { size: 24, className: "text-primary" }),
11242
11544
  className
11243
11545
  }
11244
11546
  ),
11245
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11547
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11246
11548
  Modal_default,
11247
11549
  {
11248
11550
  isOpen: isModalOpen,
@@ -11251,10 +11553,10 @@ var NotificationCenter = ({
11251
11553
  size: "md",
11252
11554
  hideCloseButton: false,
11253
11555
  closeOnEscape: true,
11254
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex flex-col h-full max-h-[80vh]", children: [
11255
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "px-0 pb-3 border-b border-border-200", children: [
11256
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(NotificationHeader, { unreadCount, variant: "modal" }),
11257
- unreadCount > 0 && onMarkAllAsRead && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11556
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col h-full max-h-[80vh]", children: [
11557
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "px-0 pb-3 border-b border-border-200", children: [
11558
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationHeader, { unreadCount, variant: "modal" }),
11559
+ unreadCount > 0 && onMarkAllAsRead && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11258
11560
  "button",
11259
11561
  {
11260
11562
  type: "button",
@@ -11264,7 +11566,7 @@ var NotificationCenter = ({
11264
11566
  }
11265
11567
  )
11266
11568
  ] }),
11267
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11569
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11268
11570
  NotificationList,
11269
11571
  {
11270
11572
  groupedNotifications,
@@ -11294,15 +11596,15 @@ var NotificationCenter = ({
11294
11596
  )
11295
11597
  ] });
11296
11598
  }
11297
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
11298
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(DropdownMenu_default, { children: [
11299
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DropdownMenuTrigger, { className: "text-primary cursor-pointer", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11599
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
11600
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenu_default, { children: [
11601
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuTrigger, { className: "text-primary cursor-pointer", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11300
11602
  IconButton_default,
11301
11603
  {
11302
11604
  active: isActive,
11303
11605
  onClick: handleDesktopClick,
11304
- icon: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11305
- import_phosphor_react22.Bell,
11606
+ icon: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11607
+ import_phosphor_react23.Bell,
11306
11608
  {
11307
11609
  size: 24,
11308
11610
  className: isActive ? "text-primary-950" : "text-primary"
@@ -11311,22 +11613,22 @@ var NotificationCenter = ({
11311
11613
  className
11312
11614
  }
11313
11615
  ) }),
11314
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11616
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11315
11617
  DropdownMenuContent,
11316
11618
  {
11317
11619
  className: "min-w-[320px] max-w-[400px] max-h-[500px] overflow-hidden",
11318
11620
  side: "bottom",
11319
11621
  align: "end",
11320
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex flex-col", children: [
11321
- /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "px-4 py-3 border-b border-border-200", children: [
11322
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11622
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col", children: [
11623
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "px-4 py-3 border-b border-border-200", children: [
11624
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11323
11625
  NotificationHeader,
11324
11626
  {
11325
11627
  unreadCount,
11326
11628
  variant: "dropdown"
11327
11629
  }
11328
11630
  ),
11329
- unreadCount > 0 && onMarkAllAsRead && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11631
+ unreadCount > 0 && onMarkAllAsRead && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11330
11632
  "button",
11331
11633
  {
11332
11634
  type: "button",
@@ -11336,7 +11638,7 @@ var NotificationCenter = ({
11336
11638
  }
11337
11639
  )
11338
11640
  ] }),
11339
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "max-h-[350px] overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11641
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "max-h-[350px] overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11340
11642
  NotificationList,
11341
11643
  {
11342
11644
  groupedNotifications,
@@ -11361,7 +11663,7 @@ var NotificationCenter = ({
11361
11663
  }
11362
11664
  )
11363
11665
  ] }),
11364
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11666
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11365
11667
  Modal_default,
11366
11668
  {
11367
11669
  isOpen: globalNotificationModal.isOpen,
@@ -11380,7 +11682,7 @@ var NotificationCenter = ({
11380
11682
  var NotificationCard = (props) => {
11381
11683
  switch (props.mode) {
11382
11684
  case "single":
11383
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11685
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11384
11686
  SingleNotificationCard,
11385
11687
  {
11386
11688
  title: props.title,
@@ -11395,7 +11697,7 @@ var NotificationCard = (props) => {
11395
11697
  }
11396
11698
  );
11397
11699
  case "list":
11398
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
11700
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
11399
11701
  NotificationList,
11400
11702
  {
11401
11703
  groupedNotifications: props.groupedNotifications ?? (props.notifications ? [
@@ -11418,9 +11720,9 @@ var NotificationCard = (props) => {
11418
11720
  }
11419
11721
  );
11420
11722
  case "center":
11421
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(NotificationCenter, { ...props });
11723
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NotificationCenter, { ...props });
11422
11724
  default:
11423
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex flex-col items-center gap-4 p-6 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-sm text-text-600", children: "Modo de notifica\xE7\xE3o n\xE3o reconhecido" }) });
11725
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex flex-col items-center gap-4 p-6 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-sm text-text-600", children: "Modo de notifica\xE7\xE3o n\xE3o reconhecido" }) });
11424
11726
  }
11425
11727
  };
11426
11728
  var NotificationCard_default = NotificationCard;
@@ -11470,7 +11772,7 @@ var createUseNotifications = (apiClient) => {
11470
11772
  );
11471
11773
  const getActionLabel = (0, import_react33.useCallback)(
11472
11774
  (entityType) => {
11473
- if (!entityType) return void 0;
11775
+ if (!entityType) return "Ver mais";
11474
11776
  switch (entityType.toUpperCase()) {
11475
11777
  case "ACTIVITY" /* ACTIVITY */:
11476
11778
  return "Ver atividade";
@@ -11638,6 +11940,8 @@ var createNotificationsHook = (apiClient) => {
11638
11940
  SkeletonTable,
11639
11941
  SkeletonText,
11640
11942
  Stepper,
11943
+ SubjectEnum,
11944
+ SubjectInfo,
11641
11945
  Table,
11642
11946
  Text,
11643
11947
  TextArea,
@@ -11655,6 +11959,10 @@ var createNotificationsHook = (apiClient) => {
11655
11959
  getDeviceType,
11656
11960
  getRootDomain,
11657
11961
  getStatusBadge,
11962
+ getSubjectColorClass,
11963
+ getSubjectData,
11964
+ getSubjectIcon,
11965
+ getSubjectName,
11658
11966
  useApiConfig,
11659
11967
  useAuth,
11660
11968
  useAuthGuard,