analytica-frontend-lib 1.1.61 → 1.1.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/Accordation/index.js +230 -211
  2. package/dist/Accordation/index.js.map +1 -1
  3. package/dist/Accordation/index.mjs +199 -180
  4. package/dist/Accordation/index.mjs.map +1 -1
  5. package/dist/Card/index.js +220 -201
  6. package/dist/Card/index.js.map +1 -1
  7. package/dist/Card/index.mjs +193 -174
  8. package/dist/Card/index.mjs.map +1 -1
  9. package/dist/CheckBox/index.d.mts +1 -1
  10. package/dist/CheckBox/index.d.ts +1 -1
  11. package/dist/DropdownMenu/index.js.map +1 -1
  12. package/dist/DropdownMenu/index.mjs.map +1 -1
  13. package/dist/IconRender/index.d.mts +2 -2
  14. package/dist/IconRender/index.d.ts +2 -2
  15. package/dist/IconRender/index.js +37 -18
  16. package/dist/IconRender/index.js.map +1 -1
  17. package/dist/IconRender/index.mjs +37 -18
  18. package/dist/IconRender/index.mjs.map +1 -1
  19. package/dist/NotificationCard/index.js.map +1 -1
  20. package/dist/NotificationCard/index.mjs.map +1 -1
  21. package/dist/Quiz/index.js +495 -476
  22. package/dist/Quiz/index.js.map +1 -1
  23. package/dist/Quiz/index.mjs +412 -393
  24. package/dist/Quiz/index.mjs.map +1 -1
  25. package/dist/Radio/index.d.mts +2 -2
  26. package/dist/Radio/index.d.ts +2 -2
  27. package/dist/Search/index.d.mts +1 -1
  28. package/dist/Search/index.d.ts +1 -1
  29. package/dist/Search/index.js.map +1 -1
  30. package/dist/Search/index.mjs.map +1 -1
  31. package/dist/SubjectInfo/index.d.mts +1 -1
  32. package/dist/SubjectInfo/index.d.ts +1 -1
  33. package/dist/SubjectInfo/index.js +8 -4
  34. package/dist/SubjectInfo/index.js.map +1 -1
  35. package/dist/SubjectInfo/index.mjs +8 -3
  36. package/dist/SubjectInfo/index.mjs.map +1 -1
  37. package/dist/{SubjectInfo-DZvZ5alE.d.mts → SubjectInfo-Dvt0OodP.d.mts} +2 -2
  38. package/dist/{SubjectInfo-DZvZ5alE.d.ts → SubjectInfo-Dvt0OodP.d.ts} +2 -2
  39. package/dist/ThemeToggle/index.js.map +1 -1
  40. package/dist/ThemeToggle/index.mjs.map +1 -1
  41. package/dist/index.css +15 -0
  42. package/dist/index.css.map +1 -1
  43. package/dist/index.d.mts +2 -2
  44. package/dist/index.d.ts +2 -2
  45. package/dist/index.js +473 -558
  46. package/dist/index.js.map +1 -1
  47. package/dist/index.mjs +391 -475
  48. package/dist/index.mjs.map +1 -1
  49. package/dist/styles.css +15 -0
  50. package/dist/styles.css.map +1 -1
  51. package/package.json +1 -1
@@ -33,10 +33,10 @@ __export(Accordation_exports, {
33
33
  CardAccordation: () => CardAccordation
34
34
  });
35
35
  module.exports = __toCommonJS(Accordation_exports);
36
- var import_react2 = require("react");
36
+ var import_react3 = require("react");
37
37
 
38
38
  // src/components/Card/Card.tsx
39
- var import_react = require("react");
39
+ var import_react2 = require("react");
40
40
 
41
41
  // src/utils/utils.ts
42
42
  var import_clsx = require("clsx");
@@ -731,7 +731,10 @@ var ProgressBar_default = ProgressBar;
731
731
  var import_phosphor_react2 = require("phosphor-react");
732
732
 
733
733
  // src/components/IconRender/IconRender.tsx
734
+ var import_react = require("react");
734
735
  var PhosphorIcons = __toESM(require("phosphor-react"));
736
+
737
+ // src/assets/icons/subjects/ChatPT.tsx
735
738
  var import_jsx_runtime5 = require("react/jsx-runtime");
736
739
  var ChatPT = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
737
740
  "svg",
@@ -766,7 +769,10 @@ var ChatPT = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
766
769
  ]
767
770
  }
768
771
  );
769
- var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
772
+
773
+ // src/assets/icons/subjects/ChatEN.tsx
774
+ var import_jsx_runtime6 = require("react/jsx-runtime");
775
+ var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
770
776
  "svg",
771
777
  {
772
778
  width: size,
@@ -775,21 +781,21 @@ var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
775
781
  fill: "none",
776
782
  xmlns: "http://www.w3.org/2000/svg",
777
783
  children: [
778
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
784
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
779
785
  "path",
780
786
  {
781
787
  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",
782
788
  fill: color
783
789
  }
784
790
  ),
785
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
791
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
786
792
  "path",
787
793
  {
788
794
  d: "M22.5488 12V20.5312H21.0781L17.252 14.4199V20.5312H15.7812V12H17.252L21.0898 18.123V12H22.5488Z",
789
795
  fill: color
790
796
  }
791
797
  ),
792
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
798
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
793
799
  "path",
794
800
  {
795
801
  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",
@@ -799,7 +805,10 @@ var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
799
805
  ]
800
806
  }
801
807
  );
802
- var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
808
+
809
+ // src/assets/icons/subjects/ChatES.tsx
810
+ var import_jsx_runtime7 = require("react/jsx-runtime");
811
+ var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
803
812
  "svg",
804
813
  {
805
814
  width: size,
@@ -808,21 +817,21 @@ var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
808
817
  fill: "none",
809
818
  xmlns: "http://www.w3.org/2000/svg",
810
819
  children: [
811
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
820
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
812
821
  "path",
813
822
  {
814
823
  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",
815
824
  fill: color
816
825
  }
817
826
  ),
818
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
827
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
819
828
  "path",
820
829
  {
821
830
  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",
822
831
  fill: color
823
832
  }
824
833
  ),
825
- /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
834
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
826
835
  "path",
827
836
  {
828
837
  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",
@@ -832,29 +841,39 @@ var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
832
841
  ]
833
842
  }
834
843
  );
844
+
845
+ // src/components/IconRender/IconRender.tsx
846
+ var import_jsx_runtime8 = require("react/jsx-runtime");
835
847
  var IconRender = ({
836
848
  iconName,
837
849
  color = "#000000",
838
850
  size = 24,
839
851
  weight = "regular"
840
852
  }) => {
841
- switch (iconName) {
842
- case "Chat_PT":
843
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ChatPT, { size, color });
844
- case "Chat_EN":
845
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ChatEN, { size, color });
846
- case "Chat_ES":
847
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(ChatES, { size, color });
848
- default: {
849
- const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
850
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(IconComponent, { size, color, weight });
853
+ if (typeof iconName === "string") {
854
+ switch (iconName) {
855
+ case "Chat_PT":
856
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ChatPT, { size, color });
857
+ case "Chat_EN":
858
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ChatEN, { size, color });
859
+ case "Chat_ES":
860
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ChatES, { size, color });
861
+ default: {
862
+ const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
863
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(IconComponent, { size, color, weight });
864
+ }
851
865
  }
866
+ } else {
867
+ return (0, import_react.cloneElement)(iconName, {
868
+ size,
869
+ color: "currentColor"
870
+ });
852
871
  }
853
872
  };
854
873
  var IconRender_default = IconRender;
855
874
 
856
875
  // src/components/Card/Card.tsx
857
- var import_jsx_runtime6 = require("react/jsx-runtime");
876
+ var import_jsx_runtime9 = require("react/jsx-runtime");
858
877
  var CARD_BASE_CLASSES = {
859
878
  default: "w-full bg-background border border-border-50 rounded-xl",
860
879
  compact: "w-full bg-background border border-border-50 rounded-lg",
@@ -880,7 +899,7 @@ var CARD_CURSOR_CLASSES = {
880
899
  default: "",
881
900
  pointer: "cursor-pointer"
882
901
  };
883
- var CardBase = (0, import_react.forwardRef)(
902
+ var CardBase = (0, import_react2.forwardRef)(
884
903
  ({
885
904
  children,
886
905
  variant = "default",
@@ -896,7 +915,7 @@ var CardBase = (0, import_react.forwardRef)(
896
915
  const minHeightClasses = CARD_MIN_HEIGHT_CLASSES[minHeight];
897
916
  const layoutClasses = CARD_LAYOUT_CLASSES[layout];
898
917
  const cursorClasses = CARD_CURSOR_CLASSES[cursor];
899
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
918
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
900
919
  "div",
901
920
  {
902
921
  ref,
@@ -938,7 +957,7 @@ var ACTION_HEADER_CLASSES = {
938
957
  error: "text-error-300",
939
958
  info: "text-info-300"
940
959
  };
941
- var CardActivitiesResults = (0, import_react.forwardRef)(
960
+ var CardActivitiesResults = (0, import_react2.forwardRef)(
942
961
  ({
943
962
  icon,
944
963
  title,
@@ -954,7 +973,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
954
973
  const actionIconClasses = ACTION_ICON_CLASSES[action];
955
974
  const actionSubTitleClasses = ACTION_SUBTITLE_CLASSES[action];
956
975
  const actionHeaderClasses = ACTION_HEADER_CLASSES[action];
957
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
976
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
958
977
  "div",
959
978
  {
960
979
  ref,
@@ -964,7 +983,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
964
983
  ),
965
984
  ...props,
966
985
  children: [
967
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
986
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
968
987
  "div",
969
988
  {
970
989
  className: cn(
@@ -973,7 +992,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
973
992
  extended ? "rounded-t-xl" : "rounded-xl"
974
993
  ),
975
994
  children: [
976
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
995
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
977
996
  "span",
978
997
  {
979
998
  className: cn(
@@ -983,7 +1002,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
983
1002
  children: icon
984
1003
  }
985
1004
  ),
986
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1005
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
987
1006
  Text_default,
988
1007
  {
989
1008
  size: "2xs",
@@ -992,7 +1011,7 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
992
1011
  children: title
993
1012
  }
994
1013
  ),
995
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1014
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
996
1015
  "p",
997
1016
  {
998
1017
  className: cn("text-lg font-bold truncate", actionSubTitleClasses),
@@ -1002,8 +1021,8 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
1002
1021
  ]
1003
1022
  }
1004
1023
  ),
1005
- extended && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
1006
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1024
+ extended && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
1025
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1007
1026
  "p",
1008
1027
  {
1009
1028
  className: cn(
@@ -1013,14 +1032,14 @@ var CardActivitiesResults = (0, import_react.forwardRef)(
1013
1032
  children: header
1014
1033
  }
1015
1034
  ),
1016
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Badge_default, { size: "large", action: "info", children: description })
1035
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Badge_default, { size: "large", action: "info", children: description })
1017
1036
  ] })
1018
1037
  ]
1019
1038
  }
1020
1039
  );
1021
1040
  }
1022
1041
  );
1023
- var CardQuestions = (0, import_react.forwardRef)(
1042
+ var CardQuestions = (0, import_react2.forwardRef)(
1024
1043
  ({
1025
1044
  header,
1026
1045
  state = "undone",
@@ -1032,7 +1051,7 @@ var CardQuestions = (0, import_react.forwardRef)(
1032
1051
  const isDone = state === "done";
1033
1052
  const stateLabel = isDone ? "Realizado" : "N\xE3o Realizado";
1034
1053
  const buttonLabel = isDone ? "Ver Quest\xE3o" : "Responder";
1035
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1054
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1036
1055
  CardBase,
1037
1056
  {
1038
1057
  ref,
@@ -1042,10 +1061,10 @@ var CardQuestions = (0, import_react.forwardRef)(
1042
1061
  className: cn("justify-between gap-4", className),
1043
1062
  ...props,
1044
1063
  children: [
1045
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1046
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
1047
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
1048
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1064
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1065
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
1066
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
1067
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1049
1068
  Badge_default,
1050
1069
  {
1051
1070
  size: "medium",
@@ -1054,13 +1073,13 @@ var CardQuestions = (0, import_react.forwardRef)(
1054
1073
  children: stateLabel
1055
1074
  }
1056
1075
  ),
1057
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
1076
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
1058
1077
  isDone ? "Nota" : "Sem nota",
1059
- isDone && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Badge_default, { size: "medium", action: "success", children: "00" })
1078
+ isDone && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Badge_default, { size: "medium", action: "success", children: "00" })
1060
1079
  ] })
1061
1080
  ] })
1062
1081
  ] }),
1063
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "flex-shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1082
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "flex-shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1064
1083
  Button_default,
1065
1084
  {
1066
1085
  size: "extra-small",
@@ -1074,7 +1093,7 @@ var CardQuestions = (0, import_react.forwardRef)(
1074
1093
  );
1075
1094
  }
1076
1095
  );
1077
- var CardProgress = (0, import_react.forwardRef)(
1096
+ var CardProgress = (0, import_react2.forwardRef)(
1078
1097
  ({
1079
1098
  header,
1080
1099
  subhead,
@@ -1091,19 +1110,19 @@ var CardProgress = (0, import_react.forwardRef)(
1091
1110
  }, ref) => {
1092
1111
  const isHorizontal = direction === "horizontal";
1093
1112
  const contentComponent = {
1094
- horizontal: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
1095
- showDates && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
1096
- initialDate && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1097
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
1098
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-600", children: initialDate })
1113
+ horizontal: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
1114
+ showDates && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
1115
+ initialDate && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1116
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
1117
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-600", children: initialDate })
1099
1118
  ] }),
1100
- endDate && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1101
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-800 font-semibold", children: "Fim" }),
1102
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-600", children: endDate })
1119
+ endDate && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
1120
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-800 font-semibold", children: "Fim" }),
1121
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-600", children: endDate })
1103
1122
  ] })
1104
1123
  ] }),
1105
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1106
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1124
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1125
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1107
1126
  ProgressBar_default,
1108
1127
  {
1109
1128
  size: "small",
@@ -1112,7 +1131,7 @@ var CardProgress = (0, import_react.forwardRef)(
1112
1131
  "data-testid": "progress-bar"
1113
1132
  }
1114
1133
  ),
1115
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1134
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1116
1135
  Text_default,
1117
1136
  {
1118
1137
  size: "xs",
@@ -1128,9 +1147,9 @@ var CardProgress = (0, import_react.forwardRef)(
1128
1147
  )
1129
1148
  ] })
1130
1149
  ] }),
1131
- vertical: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm text-text-800", children: subhead })
1150
+ vertical: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-text-800", children: subhead })
1132
1151
  };
1133
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1152
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1134
1153
  CardBase,
1135
1154
  {
1136
1155
  ref,
@@ -1141,20 +1160,20 @@ var CardProgress = (0, import_react.forwardRef)(
1141
1160
  className: cn(isHorizontal ? "h-20" : "", className),
1142
1161
  ...props,
1143
1162
  children: [
1144
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1163
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1145
1164
  "div",
1146
1165
  {
1147
1166
  className: cn(
1148
1167
  "flex justify-center items-center [&>svg]:size-6 text-text-950",
1149
1168
  isHorizontal ? "min-w-[80px] min-h-[80px] rounded-l-xl" : "min-h-[50px] w-full rounded-t-xl",
1150
- !color.startsWith("#") ? `bg-${color}` : ""
1169
+ !color.startsWith("#") ? `${color}` : ""
1151
1170
  ),
1152
1171
  style: color.startsWith("#") ? { backgroundColor: color } : void 0,
1153
1172
  "data-testid": "icon-container",
1154
1173
  children: icon
1155
1174
  }
1156
1175
  ),
1157
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1176
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1158
1177
  "div",
1159
1178
  {
1160
1179
  className: cn(
@@ -1162,7 +1181,7 @@ var CardProgress = (0, import_react.forwardRef)(
1162
1181
  !isHorizontal && "gap-4"
1163
1182
  ),
1164
1183
  children: [
1165
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
1184
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
1166
1185
  contentComponent[direction]
1167
1186
  ]
1168
1187
  }
@@ -1172,7 +1191,7 @@ var CardProgress = (0, import_react.forwardRef)(
1172
1191
  );
1173
1192
  }
1174
1193
  );
1175
- var CardTopic = (0, import_react.forwardRef)(
1194
+ var CardTopic = (0, import_react2.forwardRef)(
1176
1195
  ({
1177
1196
  header,
1178
1197
  subHead,
@@ -1182,7 +1201,7 @@ var CardTopic = (0, import_react.forwardRef)(
1182
1201
  className = "",
1183
1202
  ...props
1184
1203
  }, ref) => {
1185
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1204
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1186
1205
  CardBase,
1187
1206
  {
1188
1207
  ref,
@@ -1193,13 +1212,13 @@ var CardTopic = (0, import_react.forwardRef)(
1193
1212
  className: cn("justify-center gap-2 py-2 px-4", className),
1194
1213
  ...props,
1195
1214
  children: [
1196
- subHead && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_react.Fragment, { children: [
1197
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { children: text }),
1198
- index < subHead.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { children: "\u2022" })
1215
+ subHead && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_react2.Fragment, { children: [
1216
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: text }),
1217
+ index < subHead.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { children: "\u2022" })
1199
1218
  ] }, `${text} - ${index}`)) }),
1200
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
1201
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1202
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1219
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
1220
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
1221
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1203
1222
  ProgressBar_default,
1204
1223
  {
1205
1224
  size: "small",
@@ -1208,7 +1227,7 @@ var CardTopic = (0, import_react.forwardRef)(
1208
1227
  "data-testid": "progress-bar"
1209
1228
  }
1210
1229
  ),
1211
- showPercentage && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1230
+ showPercentage && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1212
1231
  Text_default,
1213
1232
  {
1214
1233
  size: "xs",
@@ -1228,7 +1247,7 @@ var CardTopic = (0, import_react.forwardRef)(
1228
1247
  );
1229
1248
  }
1230
1249
  );
1231
- var CardPerformance = (0, import_react.forwardRef)(
1250
+ var CardPerformance = (0, import_react2.forwardRef)(
1232
1251
  ({
1233
1252
  header,
1234
1253
  progress,
@@ -1242,7 +1261,7 @@ var CardPerformance = (0, import_react.forwardRef)(
1242
1261
  ...props
1243
1262
  }, ref) => {
1244
1263
  const hasProgress = progress !== void 0;
1245
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1264
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1246
1265
  CardBase,
1247
1266
  {
1248
1267
  ref,
@@ -1256,10 +1275,10 @@ var CardPerformance = (0, import_react.forwardRef)(
1256
1275
  onClick: () => actionVariant == "caret" && onClickButton?.(valueButton),
1257
1276
  ...props,
1258
1277
  children: [
1259
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "w-full flex flex-col justify-between gap-2", children: [
1260
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row justify-between items-center gap-2", children: [
1261
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1262
- actionVariant === "button" && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1278
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "w-full flex flex-col justify-between gap-2", children: [
1279
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row justify-between items-center gap-2", children: [
1280
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1281
+ actionVariant === "button" && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1263
1282
  Button_default,
1264
1283
  {
1265
1284
  variant: "outline",
@@ -1270,16 +1289,16 @@ var CardPerformance = (0, import_react.forwardRef)(
1270
1289
  }
1271
1290
  )
1272
1291
  ] }),
1273
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1292
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1274
1293
  ProgressBar_default,
1275
1294
  {
1276
1295
  value: progress,
1277
1296
  label: `${progress}% ${labelProgress}`,
1278
1297
  variant: progressVariant
1279
1298
  }
1280
- ) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-xs text-text-600 truncate", children: description }) })
1299
+ ) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs text-text-600 truncate", children: description }) })
1281
1300
  ] }),
1282
- actionVariant == "caret" && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1301
+ actionVariant == "caret" && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1283
1302
  import_phosphor_react2.CaretRight,
1284
1303
  {
1285
1304
  className: "size-4.5 text-text-800 cursor-pointer",
@@ -1291,7 +1310,7 @@ var CardPerformance = (0, import_react.forwardRef)(
1291
1310
  );
1292
1311
  }
1293
1312
  );
1294
- var CardResults = (0, import_react.forwardRef)(
1313
+ var CardResults = (0, import_react2.forwardRef)(
1295
1314
  ({
1296
1315
  header,
1297
1316
  correct_answers,
@@ -1303,7 +1322,7 @@ var CardResults = (0, import_react.forwardRef)(
1303
1322
  ...props
1304
1323
  }, ref) => {
1305
1324
  const isRow = direction == "row";
1306
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1325
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1307
1326
  CardBase,
1308
1327
  {
1309
1328
  ref,
@@ -1313,7 +1332,7 @@ var CardResults = (0, import_react.forwardRef)(
1313
1332
  className: cn("items-stretch cursor-pointer pr-4", className),
1314
1333
  ...props,
1315
1334
  children: [
1316
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1335
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1317
1336
  "div",
1318
1337
  {
1319
1338
  className: cn(
@@ -1322,11 +1341,11 @@ var CardResults = (0, import_react.forwardRef)(
1322
1341
  style: {
1323
1342
  backgroundColor: color
1324
1343
  },
1325
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
1344
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
1326
1345
  }
1327
1346
  ),
1328
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "w-full flex flex-row justify-between items-center", children: [
1329
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1347
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "w-full flex flex-row justify-between items-center", children: [
1348
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1330
1349
  "div",
1331
1350
  {
1332
1351
  className: cn(
@@ -1334,28 +1353,28 @@ var CardResults = (0, import_react.forwardRef)(
1334
1353
  isRow ? "flex-row items-center gap-2" : "flex-col"
1335
1354
  ),
1336
1355
  children: [
1337
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1338
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-wrap flex-row gap-1 items-center", children: [
1339
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1356
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1357
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-wrap flex-row gap-1 items-center", children: [
1358
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1340
1359
  Badge_default,
1341
1360
  {
1342
1361
  action: "success",
1343
1362
  variant: "solid",
1344
1363
  size: "large",
1345
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CheckCircle, {}),
1364
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CheckCircle, {}),
1346
1365
  children: [
1347
1366
  correct_answers,
1348
1367
  " Corretas"
1349
1368
  ]
1350
1369
  }
1351
1370
  ),
1352
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1371
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1353
1372
  Badge_default,
1354
1373
  {
1355
1374
  action: "error",
1356
1375
  variant: "solid",
1357
1376
  size: "large",
1358
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.XCircle, {}),
1377
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.XCircle, {}),
1359
1378
  children: [
1360
1379
  incorrect_answers,
1361
1380
  " Incorretas"
@@ -1366,14 +1385,14 @@ var CardResults = (0, import_react.forwardRef)(
1366
1385
  ]
1367
1386
  }
1368
1387
  ),
1369
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1388
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1370
1389
  ] })
1371
1390
  ]
1372
1391
  }
1373
1392
  );
1374
1393
  }
1375
1394
  );
1376
- var CardStatus = (0, import_react.forwardRef)(
1395
+ var CardStatus = (0, import_react2.forwardRef)(
1377
1396
  ({ header, className, status, label, ...props }, ref) => {
1378
1397
  const getLabelBadge = (status2) => {
1379
1398
  switch (status2) {
@@ -1387,7 +1406,7 @@ var CardStatus = (0, import_react.forwardRef)(
1387
1406
  return "Em branco";
1388
1407
  }
1389
1408
  };
1390
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1409
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1391
1410
  CardBase,
1392
1411
  {
1393
1412
  ref,
@@ -1396,30 +1415,30 @@ var CardStatus = (0, import_react.forwardRef)(
1396
1415
  minHeight: "medium",
1397
1416
  className: cn("items-center cursor-pointer", className),
1398
1417
  ...props,
1399
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
1400
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1401
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
1402
- status && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1418
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
1419
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
1420
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
1421
+ status && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1403
1422
  Badge_default,
1404
1423
  {
1405
1424
  action: status == "correct" ? "success" : "error",
1406
1425
  variant: "solid",
1407
1426
  size: "medium",
1408
- iconLeft: status == "correct" ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CheckCircle, {}) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.XCircle, {}),
1427
+ iconLeft: status == "correct" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CheckCircle, {}) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.XCircle, {}),
1409
1428
  children: getLabelBadge(status)
1410
1429
  }
1411
1430
  ),
1412
- label && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm text-text-800", children: label })
1431
+ label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-text-800", children: label })
1413
1432
  ] }),
1414
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
1433
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
1415
1434
  ] })
1416
1435
  }
1417
1436
  );
1418
1437
  }
1419
1438
  );
1420
- var CardSettings = (0, import_react.forwardRef)(
1439
+ var CardSettings = (0, import_react2.forwardRef)(
1421
1440
  ({ header, className, icon, ...props }, ref) => {
1422
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1441
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1423
1442
  CardBase,
1424
1443
  {
1425
1444
  ref,
@@ -1432,17 +1451,17 @@ var CardSettings = (0, import_react.forwardRef)(
1432
1451
  ),
1433
1452
  ...props,
1434
1453
  children: [
1435
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "[&>svg]:size-6", children: icon }),
1436
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "w-full text-sm truncate", children: header }),
1437
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { size: 24, className: "cursor-pointer" })
1454
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "[&>svg]:size-6", children: icon }),
1455
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "w-full text-sm truncate", children: header }),
1456
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CaretRight, { size: 24, className: "cursor-pointer" })
1438
1457
  ]
1439
1458
  }
1440
1459
  );
1441
1460
  }
1442
1461
  );
1443
- var CardSupport = (0, import_react.forwardRef)(
1462
+ var CardSupport = (0, import_react2.forwardRef)(
1444
1463
  ({ header, className, direction = "col", children, ...props }, ref) => {
1445
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1464
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1446
1465
  CardBase,
1447
1466
  {
1448
1467
  ref,
@@ -1455,7 +1474,7 @@ var CardSupport = (0, import_react.forwardRef)(
1455
1474
  ),
1456
1475
  ...props,
1457
1476
  children: [
1458
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1477
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1459
1478
  "div",
1460
1479
  {
1461
1480
  className: cn(
@@ -1463,18 +1482,18 @@ var CardSupport = (0, import_react.forwardRef)(
1463
1482
  direction == "col" ? "flex-col" : "flex-row items-center"
1464
1483
  ),
1465
1484
  children: [
1466
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "w-full min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
1467
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "flex flex-row gap-1", children })
1485
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "w-full min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
1486
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "flex flex-row gap-1", children })
1468
1487
  ]
1469
1488
  }
1470
1489
  ),
1471
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
1490
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
1472
1491
  ]
1473
1492
  }
1474
1493
  );
1475
1494
  }
1476
1495
  );
1477
- var CardForum = (0, import_react.forwardRef)(
1496
+ var CardForum = (0, import_react2.forwardRef)(
1478
1497
  ({
1479
1498
  title,
1480
1499
  content,
@@ -1488,7 +1507,7 @@ var CardForum = (0, import_react.forwardRef)(
1488
1507
  hour,
1489
1508
  ...props
1490
1509
  }, ref) => {
1491
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1510
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1492
1511
  CardBase,
1493
1512
  {
1494
1513
  ref,
@@ -1499,7 +1518,7 @@ var CardForum = (0, import_react.forwardRef)(
1499
1518
  className: cn("w-auto h-auto gap-3", className),
1500
1519
  ...props,
1501
1520
  children: [
1502
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1521
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1503
1522
  "button",
1504
1523
  {
1505
1524
  type: "button",
@@ -1508,18 +1527,18 @@ var CardForum = (0, import_react.forwardRef)(
1508
1527
  className: "min-w-8 h-8 rounded-full bg-background-950"
1509
1528
  }
1510
1529
  ),
1511
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
1512
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
1513
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
1514
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("p", { className: "text-xs text-text-600", children: [
1530
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
1531
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
1532
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
1533
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("p", { className: "text-xs text-text-600", children: [
1515
1534
  "\u2022 ",
1516
1535
  date,
1517
1536
  " \u2022 ",
1518
1537
  hour
1519
1538
  ] })
1520
1539
  ] }),
1521
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
1522
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1540
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
1541
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1523
1542
  "button",
1524
1543
  {
1525
1544
  type: "button",
@@ -1527,8 +1546,8 @@ var CardForum = (0, import_react.forwardRef)(
1527
1546
  onClick: () => onClickComments?.(valueComments),
1528
1547
  className: "text-text-600 flex flex-row gap-2 items-center",
1529
1548
  children: [
1530
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.ChatCircleText, { "aria-hidden": "true", size: 16 }),
1531
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("p", { className: "text-xs", children: [
1549
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.ChatCircleText, { "aria-hidden": "true", size: 16 }),
1550
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("p", { className: "text-xs", children: [
1532
1551
  comments,
1533
1552
  " respostas"
1534
1553
  ] })
@@ -1541,7 +1560,7 @@ var CardForum = (0, import_react.forwardRef)(
1541
1560
  );
1542
1561
  }
1543
1562
  );
1544
- var CardAudio = (0, import_react.forwardRef)(
1563
+ var CardAudio = (0, import_react2.forwardRef)(
1545
1564
  ({
1546
1565
  src,
1547
1566
  title,
@@ -1555,16 +1574,16 @@ var CardAudio = (0, import_react.forwardRef)(
1555
1574
  className,
1556
1575
  ...props
1557
1576
  }, ref) => {
1558
- const [isPlaying, setIsPlaying] = (0, import_react.useState)(false);
1559
- const [currentTime, setCurrentTime] = (0, import_react.useState)(0);
1560
- const [duration, setDuration] = (0, import_react.useState)(0);
1561
- const [volume, setVolume] = (0, import_react.useState)(1);
1562
- const [showVolumeControl, setShowVolumeControl] = (0, import_react.useState)(false);
1563
- const [showSpeedMenu, setShowSpeedMenu] = (0, import_react.useState)(false);
1564
- const [playbackRate, setPlaybackRate] = (0, import_react.useState)(1);
1565
- const audioRef = (0, import_react.useRef)(null);
1566
- const volumeControlRef = (0, import_react.useRef)(null);
1567
- const speedMenuRef = (0, import_react.useRef)(null);
1577
+ const [isPlaying, setIsPlaying] = (0, import_react2.useState)(false);
1578
+ const [currentTime, setCurrentTime] = (0, import_react2.useState)(0);
1579
+ const [duration, setDuration] = (0, import_react2.useState)(0);
1580
+ const [volume, setVolume] = (0, import_react2.useState)(1);
1581
+ const [showVolumeControl, setShowVolumeControl] = (0, import_react2.useState)(false);
1582
+ const [showSpeedMenu, setShowSpeedMenu] = (0, import_react2.useState)(false);
1583
+ const [playbackRate, setPlaybackRate] = (0, import_react2.useState)(1);
1584
+ const audioRef = (0, import_react2.useRef)(null);
1585
+ const volumeControlRef = (0, import_react2.useRef)(null);
1586
+ const speedMenuRef = (0, import_react2.useRef)(null);
1568
1587
  const formatTime = (time) => {
1569
1588
  const minutes = Math.floor(time / 60);
1570
1589
  const seconds = Math.floor(time % 60);
@@ -1631,14 +1650,14 @@ var CardAudio = (0, import_react.forwardRef)(
1631
1650
  };
1632
1651
  const getVolumeIcon = () => {
1633
1652
  if (volume === 0) {
1634
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.SpeakerSimpleX, { size: 24 });
1653
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.SpeakerSimpleX, { size: 24 });
1635
1654
  }
1636
1655
  if (volume < 0.5) {
1637
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.SpeakerLow, { size: 24 });
1656
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.SpeakerLow, { size: 24 });
1638
1657
  }
1639
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.SpeakerHigh, { size: 24 });
1658
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.SpeakerHigh, { size: 24 });
1640
1659
  };
1641
- (0, import_react.useEffect)(() => {
1660
+ (0, import_react2.useEffect)(() => {
1642
1661
  const handleClickOutside = (event) => {
1643
1662
  if (volumeControlRef.current && !volumeControlRef.current.contains(event.target)) {
1644
1663
  setShowVolumeControl(false);
@@ -1652,7 +1671,7 @@ var CardAudio = (0, import_react.forwardRef)(
1652
1671
  document.removeEventListener("mousedown", handleClickOutside);
1653
1672
  };
1654
1673
  }, []);
1655
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1674
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
1656
1675
  CardBase,
1657
1676
  {
1658
1677
  ref,
@@ -1665,7 +1684,7 @@ var CardAudio = (0, import_react.forwardRef)(
1665
1684
  ),
1666
1685
  ...props,
1667
1686
  children: [
1668
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1687
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1669
1688
  "audio",
1670
1689
  {
1671
1690
  ref: audioRef,
@@ -1677,7 +1696,7 @@ var CardAudio = (0, import_react.forwardRef)(
1677
1696
  onEnded: handleEnded,
1678
1697
  "data-testid": "audio-element",
1679
1698
  "aria-label": title,
1680
- children: tracks ? tracks.map((track) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1699
+ children: tracks ? tracks.map((track) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1681
1700
  "track",
1682
1701
  {
1683
1702
  kind: track.kind,
@@ -1687,7 +1706,7 @@ var CardAudio = (0, import_react.forwardRef)(
1687
1706
  default: track.default
1688
1707
  },
1689
1708
  track.src
1690
- )) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1709
+ )) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1691
1710
  "track",
1692
1711
  {
1693
1712
  kind: "captions",
@@ -1698,7 +1717,7 @@ var CardAudio = (0, import_react.forwardRef)(
1698
1717
  )
1699
1718
  }
1700
1719
  ),
1701
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1720
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1702
1721
  "button",
1703
1722
  {
1704
1723
  type: "button",
@@ -1706,14 +1725,14 @@ var CardAudio = (0, import_react.forwardRef)(
1706
1725
  disabled: !src,
1707
1726
  className: "cursor-pointer text-text-950 hover:text-primary-600 disabled:text-text-400 disabled:cursor-not-allowed",
1708
1727
  "aria-label": isPlaying ? "Pausar" : "Reproduzir",
1709
- children: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex gap-0.5", children: [
1710
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" }),
1711
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" })
1712
- ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.Play, { size: 24 })
1728
+ children: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex gap-0.5", children: [
1729
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" }),
1730
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" })
1731
+ ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.Play, { size: 24 })
1713
1732
  }
1714
1733
  ),
1715
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
1716
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1734
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
1735
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1717
1736
  "button",
1718
1737
  {
1719
1738
  type: "button",
@@ -1728,7 +1747,7 @@ var CardAudio = (0, import_react.forwardRef)(
1728
1747
  }
1729
1748
  },
1730
1749
  "aria-label": "Barra de progresso do \xE1udio",
1731
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1750
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1732
1751
  "div",
1733
1752
  {
1734
1753
  className: "h-full bg-primary-600 rounded-full transition-all duration-100",
@@ -1739,19 +1758,19 @@ var CardAudio = (0, import_react.forwardRef)(
1739
1758
  )
1740
1759
  }
1741
1760
  ) }),
1742
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(duration) }),
1743
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "relative h-6", ref: volumeControlRef, children: [
1744
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1761
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(duration) }),
1762
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "relative h-6", ref: volumeControlRef, children: [
1763
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1745
1764
  "button",
1746
1765
  {
1747
1766
  type: "button",
1748
1767
  onClick: toggleVolumeControl,
1749
1768
  className: "cursor-pointer text-text-950 hover:text-primary-600",
1750
1769
  "aria-label": "Controle de volume",
1751
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
1770
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
1752
1771
  }
1753
1772
  ),
1754
- showVolumeControl && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1773
+ showVolumeControl && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1755
1774
  "button",
1756
1775
  {
1757
1776
  type: "button",
@@ -1761,7 +1780,7 @@ var CardAudio = (0, import_react.forwardRef)(
1761
1780
  setShowVolumeControl(false);
1762
1781
  }
1763
1782
  },
1764
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1783
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1765
1784
  "input",
1766
1785
  {
1767
1786
  type: "range",
@@ -1802,22 +1821,22 @@ var CardAudio = (0, import_react.forwardRef)(
1802
1821
  }
1803
1822
  )
1804
1823
  ] }),
1805
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "relative h-6", ref: speedMenuRef, children: [
1806
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1824
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "relative h-6", ref: speedMenuRef, children: [
1825
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1807
1826
  "button",
1808
1827
  {
1809
1828
  type: "button",
1810
1829
  onClick: toggleSpeedMenu,
1811
1830
  className: "cursor-pointer text-text-950 hover:text-primary-600",
1812
1831
  "aria-label": "Op\xE7\xF5es de velocidade",
1813
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.DotsThreeVertical, { size: 24 })
1832
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.DotsThreeVertical, { size: 24 })
1814
1833
  }
1815
1834
  ),
1816
- showSpeedMenu && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "absolute bottom-full right-0 mb-2 p-2 bg-background border border-border-100 rounded-lg shadow-lg min-w-24 z-10", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex flex-col gap-1", children: [
1835
+ showSpeedMenu && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "absolute bottom-full right-0 mb-2 p-2 bg-background border border-border-100 rounded-lg shadow-lg min-w-24 z-10", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex flex-col gap-1", children: [
1817
1836
  { speed: 1, label: "1x" },
1818
1837
  { speed: 1.5, label: "1.5x" },
1819
1838
  { speed: 2, label: "2x" }
1820
- ].map(({ speed, label }) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1839
+ ].map(({ speed, label }) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1821
1840
  "button",
1822
1841
  {
1823
1842
  type: "button",
@@ -1842,10 +1861,10 @@ var SIMULADO_BACKGROUND_CLASSES = {
1842
1861
  simuladao: "bg-exam-3",
1843
1862
  vestibular: "bg-exam-4"
1844
1863
  };
1845
- var CardSimulado = (0, import_react.forwardRef)(
1864
+ var CardSimulado = (0, import_react2.forwardRef)(
1846
1865
  ({ title, duration, info, backgroundColor, className, ...props }, ref) => {
1847
1866
  const backgroundClass = SIMULADO_BACKGROUND_CLASSES[backgroundColor];
1848
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1867
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1849
1868
  CardBase,
1850
1869
  {
1851
1870
  ref,
@@ -1858,18 +1877,18 @@ var CardSimulado = (0, import_react.forwardRef)(
1858
1877
  className
1859
1878
  ),
1860
1879
  ...props,
1861
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex justify-between items-center w-full gap-4", children: [
1862
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1863
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
1864
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-4 text-text-700", children: [
1865
- duration && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-1", children: [
1866
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.Clock, { size: 16, className: "flex-shrink-0" }),
1867
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "sm", children: duration })
1880
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex justify-between items-center w-full gap-4", children: [
1881
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
1882
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
1883
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-4 text-text-700", children: [
1884
+ duration && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-1", children: [
1885
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.Clock, { size: 16, className: "flex-shrink-0" }),
1886
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "sm", children: duration })
1868
1887
  ] }),
1869
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "sm", className: "truncate", children: info })
1888
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "sm", className: "truncate", children: info })
1870
1889
  ] })
1871
1890
  ] }),
1872
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1891
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1873
1892
  import_phosphor_react2.CaretRight,
1874
1893
  {
1875
1894
  size: 24,
@@ -1882,7 +1901,7 @@ var CardSimulado = (0, import_react.forwardRef)(
1882
1901
  );
1883
1902
  }
1884
1903
  );
1885
- var CardTest = (0, import_react.forwardRef)(
1904
+ var CardTest = (0, import_react2.forwardRef)(
1886
1905
  ({
1887
1906
  title,
1888
1907
  duration,
@@ -1914,7 +1933,7 @@ var CardTest = (0, import_react.forwardRef)(
1914
1933
  const interactiveClasses = isSelectable ? "cursor-pointer focus:outline-none focus:ring-2 focus:ring-primary-950 focus:ring-offset-2" : "";
1915
1934
  const selectedClasses = selected ? "ring-2 ring-primary-950 ring-offset-2" : "";
1916
1935
  if (isSelectable) {
1917
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1936
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1918
1937
  "button",
1919
1938
  {
1920
1939
  ref,
@@ -1926,8 +1945,8 @@ var CardTest = (0, import_react.forwardRef)(
1926
1945
  onKeyDown: handleKeyDown,
1927
1946
  "aria-pressed": selected,
1928
1947
  ...props,
1929
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1930
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1948
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1949
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1931
1950
  Text_default,
1932
1951
  {
1933
1952
  size: "md",
@@ -1936,10 +1955,10 @@ var CardTest = (0, import_react.forwardRef)(
1936
1955
  children: title
1937
1956
  }
1938
1957
  ),
1939
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1940
- duration && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1941
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.Clock, { size: 16, className: "text-text-700" }),
1942
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1958
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1959
+ duration && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1960
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.Clock, { size: 16, className: "text-text-700" }),
1961
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1943
1962
  Text_default,
1944
1963
  {
1945
1964
  size: "sm",
@@ -1948,7 +1967,7 @@ var CardTest = (0, import_react.forwardRef)(
1948
1967
  }
1949
1968
  )
1950
1969
  ] }),
1951
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1970
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1952
1971
  Text_default,
1953
1972
  {
1954
1973
  size: "sm",
@@ -1961,14 +1980,14 @@ var CardTest = (0, import_react.forwardRef)(
1961
1980
  }
1962
1981
  );
1963
1982
  }
1964
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1983
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1965
1984
  "div",
1966
1985
  {
1967
1986
  ref,
1968
1987
  className: cn(`${baseClasses} ${className}`.trim()),
1969
1988
  ...props,
1970
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1971
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1989
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
1990
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1972
1991
  Text_default,
1973
1992
  {
1974
1993
  size: "md",
@@ -1977,10 +1996,10 @@ var CardTest = (0, import_react.forwardRef)(
1977
1996
  children: title
1978
1997
  }
1979
1998
  ),
1980
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
1981
- duration && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
1982
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.Clock, { size: 16, className: "text-text-700" }),
1983
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1999
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
2000
+ duration && /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
2001
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_phosphor_react2.Clock, { size: 16, className: "text-text-700" }),
2002
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1984
2003
  Text_default,
1985
2004
  {
1986
2005
  size: "sm",
@@ -1989,7 +2008,7 @@ var CardTest = (0, import_react.forwardRef)(
1989
2008
  }
1990
2009
  )
1991
2010
  ] }),
1992
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2011
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1993
2012
  Text_default,
1994
2013
  {
1995
2014
  size: "sm",
@@ -2025,15 +2044,15 @@ var SIMULATION_TYPE_STYLES = {
2025
2044
  text: "Vestibular"
2026
2045
  }
2027
2046
  };
2028
- var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationClick, className, ...props }, ref) => {
2029
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2047
+ var CardSimulationHistory = (0, import_react2.forwardRef)(({ data, onSimulationClick, className, ...props }, ref) => {
2048
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2030
2049
  "div",
2031
2050
  {
2032
2051
  ref,
2033
2052
  className: cn("w-full max-w-[992px] h-auto", className),
2034
2053
  ...props,
2035
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-col gap-0", children: [
2036
- data.map((section, sectionIndex) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex flex-col", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
2054
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-0", children: [
2055
+ data.map((section, sectionIndex) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex flex-col", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
2037
2056
  "div",
2038
2057
  {
2039
2058
  className: cn(
@@ -2041,7 +2060,7 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2041
2060
  sectionIndex === 0 ? "rounded-t-3xl" : ""
2042
2061
  ),
2043
2062
  children: [
2044
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2063
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2045
2064
  Text_default,
2046
2065
  {
2047
2066
  size: "xs",
@@ -2050,9 +2069,9 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2050
2069
  children: section.date
2051
2070
  }
2052
2071
  ),
2053
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
2072
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
2054
2073
  const typeStyles = SIMULATION_TYPE_STYLES[simulation.type];
2055
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2074
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2056
2075
  CardBase,
2057
2076
  {
2058
2077
  layout: "horizontal",
@@ -2064,9 +2083,9 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2064
2083
  transition-shadow duration-200 h-auto min-h-[61px]`
2065
2084
  ),
2066
2085
  onClick: () => onSimulationClick?.(simulation),
2067
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex justify-between items-center w-full gap-2", children: [
2068
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
2069
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2086
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex justify-between items-center w-full gap-2", children: [
2087
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
2088
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2070
2089
  Text_default,
2071
2090
  {
2072
2091
  size: "lg",
@@ -2075,8 +2094,8 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2075
2094
  children: simulation.title
2076
2095
  }
2077
2096
  ),
2078
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-2", children: [
2079
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2097
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-2", children: [
2098
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2080
2099
  Badge_default,
2081
2100
  {
2082
2101
  variant: "examsOutlined",
@@ -2085,10 +2104,10 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2085
2104
  children: typeStyles.text
2086
2105
  }
2087
2106
  ),
2088
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
2107
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
2089
2108
  ] })
2090
2109
  ] }),
2091
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2110
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
2092
2111
  import_phosphor_react2.CaretRight,
2093
2112
  {
2094
2113
  size: 24,
@@ -2104,7 +2123,7 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2104
2123
  ]
2105
2124
  }
2106
2125
  ) }, section.date)),
2107
- data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
2126
+ data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
2108
2127
  ] })
2109
2128
  }
2110
2129
  );
@@ -2112,8 +2131,8 @@ var CardSimulationHistory = (0, import_react.forwardRef)(({ data, onSimulationCl
2112
2131
 
2113
2132
  // src/components/Accordation/Accordation.tsx
2114
2133
  var import_phosphor_react3 = require("phosphor-react");
2115
- var import_jsx_runtime7 = require("react/jsx-runtime");
2116
- var CardAccordation = (0, import_react2.forwardRef)(
2134
+ var import_jsx_runtime10 = require("react/jsx-runtime");
2135
+ var CardAccordation = (0, import_react3.forwardRef)(
2117
2136
  ({
2118
2137
  trigger,
2119
2138
  children,
@@ -2122,8 +2141,8 @@ var CardAccordation = (0, import_react2.forwardRef)(
2122
2141
  onToggleExpanded,
2123
2142
  ...props
2124
2143
  }, ref) => {
2125
- const [isExpanded, setIsExpanded] = (0, import_react2.useState)(defaultExpanded);
2126
- const contentId = (0, import_react2.useId)();
2144
+ const [isExpanded, setIsExpanded] = (0, import_react3.useState)(defaultExpanded);
2145
+ const contentId = (0, import_react3.useId)();
2127
2146
  const handleToggle = () => {
2128
2147
  const newExpanded = !isExpanded;
2129
2148
  setIsExpanded(newExpanded);
@@ -2135,7 +2154,7 @@ var CardAccordation = (0, import_react2.forwardRef)(
2135
2154
  handleToggle();
2136
2155
  }
2137
2156
  };
2138
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
2157
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
2139
2158
  CardBase,
2140
2159
  {
2141
2160
  ref,
@@ -2145,7 +2164,7 @@ var CardAccordation = (0, import_react2.forwardRef)(
2145
2164
  className: cn("overflow-hidden", className),
2146
2165
  ...props,
2147
2166
  children: [
2148
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
2167
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
2149
2168
  "button",
2150
2169
  {
2151
2170
  onClick: handleToggle,
@@ -2155,7 +2174,7 @@ var CardAccordation = (0, import_react2.forwardRef)(
2155
2174
  "aria-controls": "accordion-content",
2156
2175
  children: [
2157
2176
  trigger,
2158
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2177
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2159
2178
  import_phosphor_react3.CaretRight,
2160
2179
  {
2161
2180
  size: 20,
@@ -2169,7 +2188,7 @@ var CardAccordation = (0, import_react2.forwardRef)(
2169
2188
  ]
2170
2189
  }
2171
2190
  ),
2172
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2191
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
2173
2192
  "div",
2174
2193
  {
2175
2194
  id: contentId,
@@ -2178,7 +2197,7 @@ var CardAccordation = (0, import_react2.forwardRef)(
2178
2197
  isExpanded ? "max-h-screen opacity-100" : "max-h-0 opacity-0"
2179
2198
  ),
2180
2199
  "data-testid": "accordion-content",
2181
- children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "p-4 pt-0 border-border-50", children })
2200
+ children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "p-4 pt-0 border-border-50", children })
2182
2201
  }
2183
2202
  )
2184
2203
  ]