analytica-frontend-lib 1.1.30 → 1.1.32

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.
@@ -5,7 +5,6 @@ import {
5
5
  Clock as Clock2,
6
6
  SquaresFour,
7
7
  BookOpen,
8
- Book,
9
8
  CheckCircle as CheckCircle4,
10
9
  XCircle as XCircle4
11
10
  } from "phosphor-react";
@@ -946,10 +945,12 @@ import {
946
945
  // src/components/Quiz/useQuizStore.ts
947
946
  import { create as create2 } from "zustand";
948
947
  import { devtools } from "zustand/middleware";
948
+ var MINUTE_INTERVAL_MS = 6e4;
949
949
  var useQuizStore = create2()(
950
950
  devtools(
951
951
  (set, get) => {
952
952
  let timerInterval = null;
953
+ let minuteCallbackInterval = null;
953
954
  const startTimer = () => {
954
955
  if (get().isFinished) {
955
956
  return;
@@ -968,6 +969,35 @@ var useQuizStore = create2()(
968
969
  timerInterval = null;
969
970
  }
970
971
  };
972
+ const setMinuteCallback = (callback) => {
973
+ set({ minuteCallback: callback });
974
+ };
975
+ const startMinuteCallback = () => {
976
+ const { minuteCallback, isFinished } = get();
977
+ if (isFinished || !minuteCallback) {
978
+ return;
979
+ }
980
+ if (minuteCallbackInterval) {
981
+ clearInterval(minuteCallbackInterval);
982
+ }
983
+ minuteCallbackInterval = setInterval(() => {
984
+ const {
985
+ minuteCallback: currentCallback,
986
+ isFinished: currentIsFinished
987
+ } = get();
988
+ if (currentIsFinished || !currentCallback) {
989
+ stopMinuteCallback();
990
+ return;
991
+ }
992
+ currentCallback();
993
+ }, MINUTE_INTERVAL_MS);
994
+ };
995
+ const stopMinuteCallback = () => {
996
+ if (minuteCallbackInterval) {
997
+ clearInterval(minuteCallbackInterval);
998
+ minuteCallbackInterval = null;
999
+ }
1000
+ };
971
1001
  return {
972
1002
  // Initial State
973
1003
  currentQuestionIndex: 0,
@@ -978,6 +1008,7 @@ var useQuizStore = create2()(
978
1008
  isFinished: false,
979
1009
  userId: "",
980
1010
  variant: "default",
1011
+ minuteCallback: null,
981
1012
  questionsResult: null,
982
1013
  currentQuestionResult: null,
983
1014
  // Setters
@@ -1212,13 +1243,16 @@ var useQuizStore = create2()(
1212
1243
  startQuiz: () => {
1213
1244
  set({ isStarted: true, timeElapsed: 0 });
1214
1245
  startTimer();
1246
+ startMinuteCallback();
1215
1247
  },
1216
1248
  finishQuiz: () => {
1217
1249
  set({ isFinished: true });
1218
1250
  stopTimer();
1251
+ stopMinuteCallback();
1219
1252
  },
1220
1253
  resetQuiz: () => {
1221
1254
  stopTimer();
1255
+ stopMinuteCallback();
1222
1256
  set({
1223
1257
  currentQuestionIndex: 0,
1224
1258
  selectedAnswers: {},
@@ -1228,6 +1262,7 @@ var useQuizStore = create2()(
1228
1262
  isFinished: false,
1229
1263
  userId: "",
1230
1264
  variant: "default",
1265
+ minuteCallback: null,
1231
1266
  questionsResult: null,
1232
1267
  currentQuestionResult: null
1233
1268
  });
@@ -1236,6 +1271,10 @@ var useQuizStore = create2()(
1236
1271
  updateTime: (time) => set({ timeElapsed: time }),
1237
1272
  startTimer,
1238
1273
  stopTimer,
1274
+ // Minute Callback
1275
+ setMinuteCallback,
1276
+ startMinuteCallback,
1277
+ stopMinuteCallback,
1239
1278
  // Getters
1240
1279
  getCurrentQuestion: () => {
1241
1280
  const { currentQuestionIndex, getActiveQuiz } = get();
@@ -2030,12 +2069,10 @@ var SelectItem = forwardRef5(
2030
2069
  const handleClick = (e) => {
2031
2070
  const labelNode = getLabelAsNode(children);
2032
2071
  if (!disabled) {
2033
- const newValue = selectedValue === value ? "" : value;
2034
- const newLabel = selectedValue === value ? "" : labelNode;
2035
- setValue(newValue);
2036
- setSelectedLabel(newLabel);
2072
+ setValue(value);
2073
+ setSelectedLabel(labelNode);
2037
2074
  setOpen(false);
2038
- onValueChange?.(newValue);
2075
+ onValueChange?.(value);
2039
2076
  }
2040
2077
  props.onClick?.(e);
2041
2078
  };
@@ -2566,7 +2603,132 @@ import {
2566
2603
  SpeakerSimpleX,
2567
2604
  XCircle as XCircle2
2568
2605
  } from "phosphor-react";
2569
- import { Fragment as Fragment5, jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
2606
+
2607
+ // src/components/IconRender/IconRender.tsx
2608
+ import * as PhosphorIcons from "phosphor-react";
2609
+ import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
2610
+ var ChatPT = ({ size, color }) => /* @__PURE__ */ jsxs9(
2611
+ "svg",
2612
+ {
2613
+ width: size,
2614
+ height: size,
2615
+ viewBox: "0 0 32 32",
2616
+ fill: "none",
2617
+ xmlns: "http://www.w3.org/2000/svg",
2618
+ children: [
2619
+ /* @__PURE__ */ jsx11(
2620
+ "path",
2621
+ {
2622
+ 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",
2623
+ fill: color
2624
+ }
2625
+ ),
2626
+ /* @__PURE__ */ jsx11(
2627
+ "path",
2628
+ {
2629
+ d: "M21.1758 12V20.5312H19.7168V12H21.1758ZM23.8535 12V13.1719H17.0625V12H23.8535Z",
2630
+ fill: color
2631
+ }
2632
+ ),
2633
+ /* @__PURE__ */ jsx11(
2634
+ "path",
2635
+ {
2636
+ 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",
2637
+ fill: color
2638
+ }
2639
+ )
2640
+ ]
2641
+ }
2642
+ );
2643
+ var ChatEN = ({ size, color }) => /* @__PURE__ */ jsxs9(
2644
+ "svg",
2645
+ {
2646
+ width: size,
2647
+ height: size,
2648
+ viewBox: "0 0 32 32",
2649
+ fill: "none",
2650
+ xmlns: "http://www.w3.org/2000/svg",
2651
+ children: [
2652
+ /* @__PURE__ */ jsx11(
2653
+ "path",
2654
+ {
2655
+ 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",
2656
+ fill: color
2657
+ }
2658
+ ),
2659
+ /* @__PURE__ */ jsx11(
2660
+ "path",
2661
+ {
2662
+ d: "M22.5488 12V20.5312H21.0781L17.252 14.4199V20.5312H15.7812V12H17.252L21.0898 18.123V12H22.5488Z",
2663
+ fill: color
2664
+ }
2665
+ ),
2666
+ /* @__PURE__ */ jsx11(
2667
+ "path",
2668
+ {
2669
+ 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",
2670
+ fill: color
2671
+ }
2672
+ )
2673
+ ]
2674
+ }
2675
+ );
2676
+ var ChatES = ({ size, color }) => /* @__PURE__ */ jsxs9(
2677
+ "svg",
2678
+ {
2679
+ width: size,
2680
+ height: size,
2681
+ viewBox: "0 0 32 32",
2682
+ fill: "none",
2683
+ xmlns: "http://www.w3.org/2000/svg",
2684
+ children: [
2685
+ /* @__PURE__ */ jsx11(
2686
+ "path",
2687
+ {
2688
+ 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",
2689
+ fill: color
2690
+ }
2691
+ ),
2692
+ /* @__PURE__ */ jsx11(
2693
+ "path",
2694
+ {
2695
+ 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",
2696
+ fill: color
2697
+ }
2698
+ ),
2699
+ /* @__PURE__ */ jsx11(
2700
+ "path",
2701
+ {
2702
+ 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",
2703
+ fill: color
2704
+ }
2705
+ )
2706
+ ]
2707
+ }
2708
+ );
2709
+ var IconRender = ({
2710
+ iconName,
2711
+ color = "#000000",
2712
+ size = 24,
2713
+ weight = "regular"
2714
+ }) => {
2715
+ switch (iconName) {
2716
+ case "Chat_PT":
2717
+ return /* @__PURE__ */ jsx11(ChatPT, { size, color });
2718
+ case "Chat_EN":
2719
+ return /* @__PURE__ */ jsx11(ChatEN, { size, color });
2720
+ case "Chat_ES":
2721
+ return /* @__PURE__ */ jsx11(ChatES, { size, color });
2722
+ default: {
2723
+ const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
2724
+ return /* @__PURE__ */ jsx11(IconComponent, { size, color, weight });
2725
+ }
2726
+ }
2727
+ };
2728
+ var IconRender_default = IconRender;
2729
+
2730
+ // src/components/Card/Card.tsx
2731
+ import { Fragment as Fragment5, jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
2570
2732
  var CARD_BASE_CLASSES = {
2571
2733
  default: "w-full bg-background border border-border-50 rounded-xl",
2572
2734
  compact: "w-full bg-background border border-border-50 rounded-lg",
@@ -2616,7 +2778,7 @@ var CardBase = forwardRef6(
2616
2778
  cursorClasses,
2617
2779
  className
2618
2780
  ].filter(Boolean).join(" ");
2619
- return /* @__PURE__ */ jsx11("div", { ref, className: combinedClasses, ...props, children });
2781
+ return /* @__PURE__ */ jsx12("div", { ref, className: combinedClasses, ...props, children });
2620
2782
  }
2621
2783
  );
2622
2784
  var ACTION_CARD_CLASSES = {
@@ -2659,7 +2821,7 @@ var CardActivitiesResults = forwardRef6(
2659
2821
  const actionIconClasses = ACTION_ICON_CLASSES[action];
2660
2822
  const actionSubTitleClasses = ACTION_SUBTITLE_CLASSES[action];
2661
2823
  const actionHeaderClasses = ACTION_HEADER_CLASSES[action];
2662
- return /* @__PURE__ */ jsxs9(
2824
+ return /* @__PURE__ */ jsxs10(
2663
2825
  "div",
2664
2826
  {
2665
2827
  ref,
@@ -2669,7 +2831,7 @@ var CardActivitiesResults = forwardRef6(
2669
2831
  ),
2670
2832
  ...props,
2671
2833
  children: [
2672
- /* @__PURE__ */ jsxs9(
2834
+ /* @__PURE__ */ jsxs10(
2673
2835
  "div",
2674
2836
  {
2675
2837
  className: cn(
@@ -2678,7 +2840,7 @@ var CardActivitiesResults = forwardRef6(
2678
2840
  extended ? "rounded-t-xl" : "rounded-xl"
2679
2841
  ),
2680
2842
  children: [
2681
- /* @__PURE__ */ jsx11(
2843
+ /* @__PURE__ */ jsx12(
2682
2844
  "span",
2683
2845
  {
2684
2846
  className: cn(
@@ -2688,7 +2850,7 @@ var CardActivitiesResults = forwardRef6(
2688
2850
  children: icon
2689
2851
  }
2690
2852
  ),
2691
- /* @__PURE__ */ jsx11(
2853
+ /* @__PURE__ */ jsx12(
2692
2854
  Text_default,
2693
2855
  {
2694
2856
  size: "2xs",
@@ -2697,7 +2859,7 @@ var CardActivitiesResults = forwardRef6(
2697
2859
  children: title
2698
2860
  }
2699
2861
  ),
2700
- /* @__PURE__ */ jsx11(
2862
+ /* @__PURE__ */ jsx12(
2701
2863
  "p",
2702
2864
  {
2703
2865
  className: cn("text-lg font-bold truncate", actionSubTitleClasses),
@@ -2707,8 +2869,8 @@ var CardActivitiesResults = forwardRef6(
2707
2869
  ]
2708
2870
  }
2709
2871
  ),
2710
- extended && /* @__PURE__ */ jsxs9("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
2711
- /* @__PURE__ */ jsx11(
2872
+ extended && /* @__PURE__ */ jsxs10("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
2873
+ /* @__PURE__ */ jsx12(
2712
2874
  "p",
2713
2875
  {
2714
2876
  className: cn(
@@ -2718,7 +2880,7 @@ var CardActivitiesResults = forwardRef6(
2718
2880
  children: header
2719
2881
  }
2720
2882
  ),
2721
- /* @__PURE__ */ jsx11(Badge_default, { size: "large", action: "info", children: description })
2883
+ /* @__PURE__ */ jsx12(Badge_default, { size: "large", action: "info", children: description })
2722
2884
  ] })
2723
2885
  ]
2724
2886
  }
@@ -2737,7 +2899,7 @@ var CardQuestions = forwardRef6(
2737
2899
  const isDone = state === "done";
2738
2900
  const stateLabel = isDone ? "Realizado" : "N\xE3o Realizado";
2739
2901
  const buttonLabel = isDone ? "Ver Quest\xE3o" : "Responder";
2740
- return /* @__PURE__ */ jsxs9(
2902
+ return /* @__PURE__ */ jsxs10(
2741
2903
  CardBase,
2742
2904
  {
2743
2905
  ref,
@@ -2747,10 +2909,10 @@ var CardQuestions = forwardRef6(
2747
2909
  className: cn("justify-between gap-4", className),
2748
2910
  ...props,
2749
2911
  children: [
2750
- /* @__PURE__ */ jsxs9("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
2751
- /* @__PURE__ */ jsx11("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
2752
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-row gap-6 items-center", children: [
2753
- /* @__PURE__ */ jsx11(
2912
+ /* @__PURE__ */ jsxs10("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
2913
+ /* @__PURE__ */ jsx12("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
2914
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row gap-6 items-center", children: [
2915
+ /* @__PURE__ */ jsx12(
2754
2916
  Badge_default,
2755
2917
  {
2756
2918
  size: "medium",
@@ -2759,13 +2921,13 @@ var CardQuestions = forwardRef6(
2759
2921
  children: stateLabel
2760
2922
  }
2761
2923
  ),
2762
- /* @__PURE__ */ jsxs9("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
2924
+ /* @__PURE__ */ jsxs10("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
2763
2925
  isDone ? "Nota" : "Sem nota",
2764
- isDone && /* @__PURE__ */ jsx11(Badge_default, { size: "medium", action: "success", children: "00" })
2926
+ isDone && /* @__PURE__ */ jsx12(Badge_default, { size: "medium", action: "success", children: "00" })
2765
2927
  ] })
2766
2928
  ] })
2767
2929
  ] }),
2768
- /* @__PURE__ */ jsx11("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx11(
2930
+ /* @__PURE__ */ jsx12("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx12(
2769
2931
  Button_default,
2770
2932
  {
2771
2933
  size: "extra-small",
@@ -2796,19 +2958,19 @@ var CardProgress = forwardRef6(
2796
2958
  }, ref) => {
2797
2959
  const isHorizontal = direction === "horizontal";
2798
2960
  const contentComponent = {
2799
- horizontal: /* @__PURE__ */ jsxs9(Fragment5, { children: [
2800
- showDates && /* @__PURE__ */ jsxs9("div", { className: "flex flex-row gap-6 items-center", children: [
2801
- initialDate && /* @__PURE__ */ jsxs9("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
2802
- /* @__PURE__ */ jsx11("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
2803
- /* @__PURE__ */ jsx11("p", { className: "text-text-600", children: initialDate })
2961
+ horizontal: /* @__PURE__ */ jsxs10(Fragment5, { children: [
2962
+ showDates && /* @__PURE__ */ jsxs10("div", { className: "flex flex-row gap-6 items-center", children: [
2963
+ initialDate && /* @__PURE__ */ jsxs10("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
2964
+ /* @__PURE__ */ jsx12("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
2965
+ /* @__PURE__ */ jsx12("p", { className: "text-text-600", children: initialDate })
2804
2966
  ] }),
2805
- endDate && /* @__PURE__ */ jsxs9("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
2806
- /* @__PURE__ */ jsx11("p", { className: "text-text-800 font-semibold", children: "Fim" }),
2807
- /* @__PURE__ */ jsx11("p", { className: "text-text-600", children: endDate })
2967
+ endDate && /* @__PURE__ */ jsxs10("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
2968
+ /* @__PURE__ */ jsx12("p", { className: "text-text-800 font-semibold", children: "Fim" }),
2969
+ /* @__PURE__ */ jsx12("p", { className: "text-text-600", children: endDate })
2808
2970
  ] })
2809
2971
  ] }),
2810
- /* @__PURE__ */ jsxs9("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
2811
- /* @__PURE__ */ jsx11(
2972
+ /* @__PURE__ */ jsxs10("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
2973
+ /* @__PURE__ */ jsx12(
2812
2974
  ProgressBar_default,
2813
2975
  {
2814
2976
  size: "small",
@@ -2817,7 +2979,7 @@ var CardProgress = forwardRef6(
2817
2979
  "data-testid": "progress-bar"
2818
2980
  }
2819
2981
  ),
2820
- /* @__PURE__ */ jsxs9(
2982
+ /* @__PURE__ */ jsxs10(
2821
2983
  Text_default,
2822
2984
  {
2823
2985
  size: "xs",
@@ -2833,9 +2995,9 @@ var CardProgress = forwardRef6(
2833
2995
  )
2834
2996
  ] })
2835
2997
  ] }),
2836
- vertical: /* @__PURE__ */ jsx11("p", { className: "text-sm text-text-800", children: subhead })
2998
+ vertical: /* @__PURE__ */ jsx12("p", { className: "text-sm text-text-800", children: subhead })
2837
2999
  };
2838
- return /* @__PURE__ */ jsxs9(
3000
+ return /* @__PURE__ */ jsxs10(
2839
3001
  CardBase,
2840
3002
  {
2841
3003
  ref,
@@ -2846,7 +3008,7 @@ var CardProgress = forwardRef6(
2846
3008
  className: cn(isHorizontal ? "h-20" : "", className),
2847
3009
  ...props,
2848
3010
  children: [
2849
- /* @__PURE__ */ jsx11(
3011
+ /* @__PURE__ */ jsx12(
2850
3012
  "div",
2851
3013
  {
2852
3014
  className: cn(
@@ -2859,7 +3021,7 @@ var CardProgress = forwardRef6(
2859
3021
  children: icon
2860
3022
  }
2861
3023
  ),
2862
- /* @__PURE__ */ jsxs9(
3024
+ /* @__PURE__ */ jsxs10(
2863
3025
  "div",
2864
3026
  {
2865
3027
  className: cn(
@@ -2867,7 +3029,7 @@ var CardProgress = forwardRef6(
2867
3029
  !isHorizontal && "gap-4"
2868
3030
  ),
2869
3031
  children: [
2870
- /* @__PURE__ */ jsx11(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
3032
+ /* @__PURE__ */ jsx12(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
2871
3033
  contentComponent[direction]
2872
3034
  ]
2873
3035
  }
@@ -2887,7 +3049,7 @@ var CardTopic = forwardRef6(
2887
3049
  className = "",
2888
3050
  ...props
2889
3051
  }, ref) => {
2890
- return /* @__PURE__ */ jsxs9(
3052
+ return /* @__PURE__ */ jsxs10(
2891
3053
  CardBase,
2892
3054
  {
2893
3055
  ref,
@@ -2898,13 +3060,13 @@ var CardTopic = forwardRef6(
2898
3060
  className: cn("justify-center gap-2 py-2 px-4", className),
2899
3061
  ...props,
2900
3062
  children: [
2901
- subHead && /* @__PURE__ */ jsx11("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ jsxs9(Fragment4, { children: [
2902
- /* @__PURE__ */ jsx11("p", { children: text }),
2903
- index < subHead.length - 1 && /* @__PURE__ */ jsx11("p", { children: "\u2022" })
3063
+ subHead && /* @__PURE__ */ jsx12("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ jsxs10(Fragment4, { children: [
3064
+ /* @__PURE__ */ jsx12("p", { children: text }),
3065
+ index < subHead.length - 1 && /* @__PURE__ */ jsx12("p", { children: "\u2022" })
2904
3066
  ] }, `${text} - ${index}`)) }),
2905
- /* @__PURE__ */ jsx11("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
2906
- /* @__PURE__ */ jsxs9("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
2907
- /* @__PURE__ */ jsx11(
3067
+ /* @__PURE__ */ jsx12("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
3068
+ /* @__PURE__ */ jsxs10("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
3069
+ /* @__PURE__ */ jsx12(
2908
3070
  ProgressBar_default,
2909
3071
  {
2910
3072
  size: "small",
@@ -2913,7 +3075,7 @@ var CardTopic = forwardRef6(
2913
3075
  "data-testid": "progress-bar"
2914
3076
  }
2915
3077
  ),
2916
- showPercentage && /* @__PURE__ */ jsxs9(
3078
+ showPercentage && /* @__PURE__ */ jsxs10(
2917
3079
  Text_default,
2918
3080
  {
2919
3081
  size: "xs",
@@ -2947,7 +3109,7 @@ var CardPerformance = forwardRef6(
2947
3109
  ...props
2948
3110
  }, ref) => {
2949
3111
  const hasProgress = progress !== void 0;
2950
- return /* @__PURE__ */ jsxs9(
3112
+ return /* @__PURE__ */ jsxs10(
2951
3113
  CardBase,
2952
3114
  {
2953
3115
  ref,
@@ -2961,10 +3123,10 @@ var CardPerformance = forwardRef6(
2961
3123
  onClick: () => actionVariant == "caret" && onClickButton?.(valueButton),
2962
3124
  ...props,
2963
3125
  children: [
2964
- /* @__PURE__ */ jsxs9("div", { className: "w-full flex flex-col justify-between gap-2", children: [
2965
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-row justify-between items-center gap-2", children: [
2966
- /* @__PURE__ */ jsx11("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
2967
- actionVariant === "button" && /* @__PURE__ */ jsx11(
3126
+ /* @__PURE__ */ jsxs10("div", { className: "w-full flex flex-col justify-between gap-2", children: [
3127
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row justify-between items-center gap-2", children: [
3128
+ /* @__PURE__ */ jsx12("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
3129
+ actionVariant === "button" && /* @__PURE__ */ jsx12(
2968
3130
  Button_default,
2969
3131
  {
2970
3132
  variant: "outline",
@@ -2975,16 +3137,16 @@ var CardPerformance = forwardRef6(
2975
3137
  }
2976
3138
  )
2977
3139
  ] }),
2978
- /* @__PURE__ */ jsx11("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ jsx11(
3140
+ /* @__PURE__ */ jsx12("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ jsx12(
2979
3141
  ProgressBar_default,
2980
3142
  {
2981
3143
  value: progress,
2982
3144
  label: `${progress}% ${labelProgress}`,
2983
3145
  variant: progressVariant
2984
3146
  }
2985
- ) : /* @__PURE__ */ jsx11("p", { className: "text-xs text-text-600 truncate", children: description }) })
3147
+ ) : /* @__PURE__ */ jsx12("p", { className: "text-xs text-text-600 truncate", children: description }) })
2986
3148
  ] }),
2987
- actionVariant == "caret" && /* @__PURE__ */ jsx11(
3149
+ actionVariant == "caret" && /* @__PURE__ */ jsx12(
2988
3150
  CaretRight,
2989
3151
  {
2990
3152
  className: "size-4.5 text-text-800 cursor-pointer",
@@ -3008,7 +3170,7 @@ var CardResults = forwardRef6(
3008
3170
  ...props
3009
3171
  }, ref) => {
3010
3172
  const isRow = direction == "row";
3011
- return /* @__PURE__ */ jsxs9(
3173
+ return /* @__PURE__ */ jsxs10(
3012
3174
  CardBase,
3013
3175
  {
3014
3176
  ref,
@@ -3018,7 +3180,7 @@ var CardResults = forwardRef6(
3018
3180
  className: cn("items-center cursor-pointer pr-4", className),
3019
3181
  ...props,
3020
3182
  children: [
3021
- /* @__PURE__ */ jsx11(
3183
+ /* @__PURE__ */ jsx12(
3022
3184
  "div",
3023
3185
  {
3024
3186
  className: cn(
@@ -3027,10 +3189,10 @@ var CardResults = forwardRef6(
3027
3189
  style: {
3028
3190
  backgroundColor: color
3029
3191
  },
3030
- children: icon
3192
+ children: /* @__PURE__ */ jsx12(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
3031
3193
  }
3032
3194
  ),
3033
- /* @__PURE__ */ jsxs9(
3195
+ /* @__PURE__ */ jsxs10(
3034
3196
  "div",
3035
3197
  {
3036
3198
  className: cn(
@@ -3038,28 +3200,28 @@ var CardResults = forwardRef6(
3038
3200
  isRow ? "flex-row items-center gap-2" : "flex-col"
3039
3201
  ),
3040
3202
  children: [
3041
- /* @__PURE__ */ jsx11("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
3042
- /* @__PURE__ */ jsxs9("span", { className: "flex flex-row gap-1 items-center", children: [
3043
- /* @__PURE__ */ jsxs9(
3203
+ /* @__PURE__ */ jsx12("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
3204
+ /* @__PURE__ */ jsxs10("span", { className: "flex flex-row gap-1 items-center", children: [
3205
+ /* @__PURE__ */ jsxs10(
3044
3206
  Badge_default,
3045
3207
  {
3046
3208
  action: "success",
3047
3209
  variant: "solid",
3048
3210
  size: "large",
3049
- iconLeft: /* @__PURE__ */ jsx11(CheckCircle2, {}),
3211
+ iconLeft: /* @__PURE__ */ jsx12(CheckCircle2, {}),
3050
3212
  children: [
3051
3213
  correct_answers,
3052
3214
  " Corretas"
3053
3215
  ]
3054
3216
  }
3055
3217
  ),
3056
- /* @__PURE__ */ jsxs9(
3218
+ /* @__PURE__ */ jsxs10(
3057
3219
  Badge_default,
3058
3220
  {
3059
3221
  action: "error",
3060
3222
  variant: "solid",
3061
3223
  size: "large",
3062
- iconLeft: /* @__PURE__ */ jsx11(XCircle2, {}),
3224
+ iconLeft: /* @__PURE__ */ jsx12(XCircle2, {}),
3063
3225
  children: [
3064
3226
  incorrect_answers,
3065
3227
  " Incorretas"
@@ -3070,7 +3232,7 @@ var CardResults = forwardRef6(
3070
3232
  ]
3071
3233
  }
3072
3234
  ),
3073
- /* @__PURE__ */ jsx11(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
3235
+ /* @__PURE__ */ jsx12(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
3074
3236
  ]
3075
3237
  }
3076
3238
  );
@@ -3090,7 +3252,7 @@ var CardStatus = forwardRef6(
3090
3252
  return "Em branco";
3091
3253
  }
3092
3254
  };
3093
- return /* @__PURE__ */ jsx11(
3255
+ return /* @__PURE__ */ jsx12(
3094
3256
  CardBase,
3095
3257
  {
3096
3258
  ref,
@@ -3099,22 +3261,22 @@ var CardStatus = forwardRef6(
3099
3261
  minHeight: "medium",
3100
3262
  className: cn("items-center cursor-pointer", className),
3101
3263
  ...props,
3102
- children: /* @__PURE__ */ jsxs9("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
3103
- /* @__PURE__ */ jsx11("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
3104
- /* @__PURE__ */ jsxs9("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
3105
- status && /* @__PURE__ */ jsx11(
3264
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
3265
+ /* @__PURE__ */ jsx12("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
3266
+ /* @__PURE__ */ jsxs10("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
3267
+ status && /* @__PURE__ */ jsx12(
3106
3268
  Badge_default,
3107
3269
  {
3108
3270
  action: status == "correct" ? "success" : "error",
3109
3271
  variant: "solid",
3110
3272
  size: "medium",
3111
- iconLeft: status == "correct" ? /* @__PURE__ */ jsx11(CheckCircle2, {}) : /* @__PURE__ */ jsx11(XCircle2, {}),
3273
+ iconLeft: status == "correct" ? /* @__PURE__ */ jsx12(CheckCircle2, {}) : /* @__PURE__ */ jsx12(XCircle2, {}),
3112
3274
  children: getLabelBadge(status)
3113
3275
  }
3114
3276
  ),
3115
- label && /* @__PURE__ */ jsx11("p", { className: "text-sm text-text-800", children: label })
3277
+ label && /* @__PURE__ */ jsx12("p", { className: "text-sm text-text-800", children: label })
3116
3278
  ] }),
3117
- /* @__PURE__ */ jsx11(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
3279
+ /* @__PURE__ */ jsx12(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
3118
3280
  ] })
3119
3281
  }
3120
3282
  );
@@ -3122,7 +3284,7 @@ var CardStatus = forwardRef6(
3122
3284
  );
3123
3285
  var CardSettings = forwardRef6(
3124
3286
  ({ header, className, icon, ...props }, ref) => {
3125
- return /* @__PURE__ */ jsxs9(
3287
+ return /* @__PURE__ */ jsxs10(
3126
3288
  CardBase,
3127
3289
  {
3128
3290
  ref,
@@ -3135,9 +3297,9 @@ var CardSettings = forwardRef6(
3135
3297
  ),
3136
3298
  ...props,
3137
3299
  children: [
3138
- /* @__PURE__ */ jsx11("span", { className: "[&>svg]:size-6", children: icon }),
3139
- /* @__PURE__ */ jsx11("p", { className: "w-full text-sm truncate", children: header }),
3140
- /* @__PURE__ */ jsx11(CaretRight, { size: 24, className: "cursor-pointer" })
3300
+ /* @__PURE__ */ jsx12("span", { className: "[&>svg]:size-6", children: icon }),
3301
+ /* @__PURE__ */ jsx12("p", { className: "w-full text-sm truncate", children: header }),
3302
+ /* @__PURE__ */ jsx12(CaretRight, { size: 24, className: "cursor-pointer" })
3141
3303
  ]
3142
3304
  }
3143
3305
  );
@@ -3145,7 +3307,7 @@ var CardSettings = forwardRef6(
3145
3307
  );
3146
3308
  var CardSupport = forwardRef6(
3147
3309
  ({ header, className, direction = "col", children, ...props }, ref) => {
3148
- return /* @__PURE__ */ jsxs9(
3310
+ return /* @__PURE__ */ jsxs10(
3149
3311
  CardBase,
3150
3312
  {
3151
3313
  ref,
@@ -3158,7 +3320,7 @@ var CardSupport = forwardRef6(
3158
3320
  ),
3159
3321
  ...props,
3160
3322
  children: [
3161
- /* @__PURE__ */ jsxs9(
3323
+ /* @__PURE__ */ jsxs10(
3162
3324
  "div",
3163
3325
  {
3164
3326
  className: cn(
@@ -3166,12 +3328,12 @@ var CardSupport = forwardRef6(
3166
3328
  direction == "col" ? "flex-col" : "flex-row items-center"
3167
3329
  ),
3168
3330
  children: [
3169
- /* @__PURE__ */ jsx11("span", { className: "w-full min-w-0", children: /* @__PURE__ */ jsx11("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
3170
- /* @__PURE__ */ jsx11("span", { className: "flex flex-row gap-1", children })
3331
+ /* @__PURE__ */ jsx12("span", { className: "w-full min-w-0", children: /* @__PURE__ */ jsx12("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
3332
+ /* @__PURE__ */ jsx12("span", { className: "flex flex-row gap-1", children })
3171
3333
  ]
3172
3334
  }
3173
3335
  ),
3174
- /* @__PURE__ */ jsx11(CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
3336
+ /* @__PURE__ */ jsx12(CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
3175
3337
  ]
3176
3338
  }
3177
3339
  );
@@ -3191,7 +3353,7 @@ var CardForum = forwardRef6(
3191
3353
  hour,
3192
3354
  ...props
3193
3355
  }, ref) => {
3194
- return /* @__PURE__ */ jsxs9(
3356
+ return /* @__PURE__ */ jsxs10(
3195
3357
  CardBase,
3196
3358
  {
3197
3359
  ref,
@@ -3202,7 +3364,7 @@ var CardForum = forwardRef6(
3202
3364
  className: cn("w-auto h-auto gap-3", className),
3203
3365
  ...props,
3204
3366
  children: [
3205
- /* @__PURE__ */ jsx11(
3367
+ /* @__PURE__ */ jsx12(
3206
3368
  "button",
3207
3369
  {
3208
3370
  type: "button",
@@ -3211,18 +3373,18 @@ var CardForum = forwardRef6(
3211
3373
  className: "min-w-8 h-8 rounded-full bg-background-950"
3212
3374
  }
3213
3375
  ),
3214
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
3215
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
3216
- /* @__PURE__ */ jsx11("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
3217
- /* @__PURE__ */ jsxs9("p", { className: "text-xs text-text-600", children: [
3376
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
3377
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
3378
+ /* @__PURE__ */ jsx12("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
3379
+ /* @__PURE__ */ jsxs10("p", { className: "text-xs text-text-600", children: [
3218
3380
  "\u2022 ",
3219
3381
  date,
3220
3382
  " \u2022 ",
3221
3383
  hour
3222
3384
  ] })
3223
3385
  ] }),
3224
- /* @__PURE__ */ jsx11("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
3225
- /* @__PURE__ */ jsxs9(
3386
+ /* @__PURE__ */ jsx12("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
3387
+ /* @__PURE__ */ jsxs10(
3226
3388
  "button",
3227
3389
  {
3228
3390
  type: "button",
@@ -3230,8 +3392,8 @@ var CardForum = forwardRef6(
3230
3392
  onClick: () => onClickComments?.(valueComments),
3231
3393
  className: "text-text-600 flex flex-row gap-2 items-center",
3232
3394
  children: [
3233
- /* @__PURE__ */ jsx11(ChatCircleText, { "aria-hidden": "true", size: 16 }),
3234
- /* @__PURE__ */ jsxs9("p", { className: "text-xs", children: [
3395
+ /* @__PURE__ */ jsx12(ChatCircleText, { "aria-hidden": "true", size: 16 }),
3396
+ /* @__PURE__ */ jsxs10("p", { className: "text-xs", children: [
3235
3397
  comments,
3236
3398
  " respostas"
3237
3399
  ] })
@@ -3330,14 +3492,14 @@ var CardAudio = forwardRef6(
3330
3492
  };
3331
3493
  const getVolumeIcon = () => {
3332
3494
  if (volume === 0) {
3333
- return /* @__PURE__ */ jsx11(SpeakerSimpleX, {});
3495
+ return /* @__PURE__ */ jsx12(SpeakerSimpleX, {});
3334
3496
  }
3335
3497
  if (volume < 0.5) {
3336
- return /* @__PURE__ */ jsx11(SpeakerLow, {});
3498
+ return /* @__PURE__ */ jsx12(SpeakerLow, {});
3337
3499
  }
3338
- return /* @__PURE__ */ jsx11(SpeakerHigh, {});
3500
+ return /* @__PURE__ */ jsx12(SpeakerHigh, {});
3339
3501
  };
3340
- return /* @__PURE__ */ jsxs9(
3502
+ return /* @__PURE__ */ jsxs10(
3341
3503
  CardBase,
3342
3504
  {
3343
3505
  ref,
@@ -3347,7 +3509,7 @@ var CardAudio = forwardRef6(
3347
3509
  className: cn("w-auto h-14 items-center gap-2", className),
3348
3510
  ...props,
3349
3511
  children: [
3350
- /* @__PURE__ */ jsx11(
3512
+ /* @__PURE__ */ jsx12(
3351
3513
  "audio",
3352
3514
  {
3353
3515
  ref: audioRef,
@@ -3359,7 +3521,7 @@ var CardAudio = forwardRef6(
3359
3521
  onEnded: handleEnded,
3360
3522
  "data-testid": "audio-element",
3361
3523
  "aria-label": title,
3362
- children: tracks ? tracks.map((track) => /* @__PURE__ */ jsx11(
3524
+ children: tracks ? tracks.map((track) => /* @__PURE__ */ jsx12(
3363
3525
  "track",
3364
3526
  {
3365
3527
  kind: track.kind,
@@ -3369,7 +3531,7 @@ var CardAudio = forwardRef6(
3369
3531
  default: track.default
3370
3532
  },
3371
3533
  track.src
3372
- )) : /* @__PURE__ */ jsx11(
3534
+ )) : /* @__PURE__ */ jsx12(
3373
3535
  "track",
3374
3536
  {
3375
3537
  kind: "captions",
@@ -3380,7 +3542,7 @@ var CardAudio = forwardRef6(
3380
3542
  )
3381
3543
  }
3382
3544
  ),
3383
- /* @__PURE__ */ jsx11(
3545
+ /* @__PURE__ */ jsx12(
3384
3546
  "button",
3385
3547
  {
3386
3548
  type: "button",
@@ -3388,14 +3550,14 @@ var CardAudio = forwardRef6(
3388
3550
  disabled: !src,
3389
3551
  className: "cursor-pointer text-text-950 hover:text-primary-600 disabled:text-text-400 disabled:cursor-not-allowed",
3390
3552
  "aria-label": isPlaying ? "Pausar" : "Reproduzir",
3391
- children: isPlaying ? /* @__PURE__ */ jsx11("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ jsxs9("div", { className: "flex gap-0.5", children: [
3392
- /* @__PURE__ */ jsx11("div", { className: "w-1 h-4 bg-current rounded-sm" }),
3393
- /* @__PURE__ */ jsx11("div", { className: "w-1 h-4 bg-current rounded-sm" })
3394
- ] }) }) : /* @__PURE__ */ jsx11(Play, { size: 24 })
3553
+ children: isPlaying ? /* @__PURE__ */ jsx12("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ jsxs10("div", { className: "flex gap-0.5", children: [
3554
+ /* @__PURE__ */ jsx12("div", { className: "w-1 h-4 bg-current rounded-sm" }),
3555
+ /* @__PURE__ */ jsx12("div", { className: "w-1 h-4 bg-current rounded-sm" })
3556
+ ] }) }) : /* @__PURE__ */ jsx12(Play, { size: 24 })
3395
3557
  }
3396
3558
  ),
3397
- /* @__PURE__ */ jsx11("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
3398
- /* @__PURE__ */ jsx11("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ jsx11(
3559
+ /* @__PURE__ */ jsx12("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
3560
+ /* @__PURE__ */ jsx12("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ jsx12(
3399
3561
  "button",
3400
3562
  {
3401
3563
  type: "button",
@@ -3410,7 +3572,7 @@ var CardAudio = forwardRef6(
3410
3572
  }
3411
3573
  },
3412
3574
  "aria-label": "Barra de progresso do \xE1udio",
3413
- children: /* @__PURE__ */ jsx11(
3575
+ children: /* @__PURE__ */ jsx12(
3414
3576
  "div",
3415
3577
  {
3416
3578
  className: "h-full bg-primary-600 rounded-full transition-all duration-100",
@@ -3421,19 +3583,19 @@ var CardAudio = forwardRef6(
3421
3583
  )
3422
3584
  }
3423
3585
  ) }),
3424
- /* @__PURE__ */ jsx11("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(duration) }),
3425
- /* @__PURE__ */ jsxs9("div", { className: "relative", children: [
3426
- /* @__PURE__ */ jsx11(
3586
+ /* @__PURE__ */ jsx12("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(duration) }),
3587
+ /* @__PURE__ */ jsxs10("div", { className: "relative", children: [
3588
+ /* @__PURE__ */ jsx12(
3427
3589
  "button",
3428
3590
  {
3429
3591
  type: "button",
3430
3592
  onClick: toggleVolumeControl,
3431
3593
  className: "cursor-pointer text-text-950 hover:text-primary-600",
3432
3594
  "aria-label": "Controle de volume",
3433
- children: /* @__PURE__ */ jsx11("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
3595
+ children: /* @__PURE__ */ jsx12("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
3434
3596
  }
3435
3597
  ),
3436
- showVolumeControl && /* @__PURE__ */ jsx11(
3598
+ showVolumeControl && /* @__PURE__ */ jsx12(
3437
3599
  "button",
3438
3600
  {
3439
3601
  type: "button",
@@ -3443,7 +3605,7 @@ var CardAudio = forwardRef6(
3443
3605
  setShowVolumeControl(false);
3444
3606
  }
3445
3607
  },
3446
- children: /* @__PURE__ */ jsx11(
3608
+ children: /* @__PURE__ */ jsx12(
3447
3609
  "input",
3448
3610
  {
3449
3611
  type: "range",
@@ -3484,22 +3646,22 @@ var CardAudio = forwardRef6(
3484
3646
  }
3485
3647
  )
3486
3648
  ] }),
3487
- /* @__PURE__ */ jsxs9("div", { className: "relative", children: [
3488
- /* @__PURE__ */ jsx11(
3649
+ /* @__PURE__ */ jsxs10("div", { className: "relative", children: [
3650
+ /* @__PURE__ */ jsx12(
3489
3651
  "button",
3490
3652
  {
3491
3653
  type: "button",
3492
3654
  onClick: toggleSpeedMenu,
3493
3655
  className: "cursor-pointer text-text-950 hover:text-primary-600",
3494
3656
  "aria-label": "Op\xE7\xF5es de velocidade",
3495
- children: /* @__PURE__ */ jsx11(DotsThreeVertical, { size: 24 })
3657
+ children: /* @__PURE__ */ jsx12(DotsThreeVertical, { size: 24 })
3496
3658
  }
3497
3659
  ),
3498
- showSpeedMenu && /* @__PURE__ */ jsx11("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__ */ jsx11("div", { className: "flex flex-col gap-1", children: [
3660
+ showSpeedMenu && /* @__PURE__ */ jsx12("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__ */ jsx12("div", { className: "flex flex-col gap-1", children: [
3499
3661
  { speed: 1, label: "1x" },
3500
3662
  { speed: 1.5, label: "1.5x" },
3501
3663
  { speed: 2, label: "2x" }
3502
- ].map(({ speed, label }) => /* @__PURE__ */ jsx11(
3664
+ ].map(({ speed, label }) => /* @__PURE__ */ jsx12(
3503
3665
  "button",
3504
3666
  {
3505
3667
  type: "button",
@@ -3527,7 +3689,7 @@ var SIMULADO_BACKGROUND_CLASSES = {
3527
3689
  var CardSimulado = forwardRef6(
3528
3690
  ({ title, duration, info, backgroundColor, className, ...props }, ref) => {
3529
3691
  const backgroundClass = SIMULADO_BACKGROUND_CLASSES[backgroundColor];
3530
- return /* @__PURE__ */ jsx11(
3692
+ return /* @__PURE__ */ jsx12(
3531
3693
  CardBase,
3532
3694
  {
3533
3695
  ref,
@@ -3540,18 +3702,18 @@ var CardSimulado = forwardRef6(
3540
3702
  className
3541
3703
  ),
3542
3704
  ...props,
3543
- children: /* @__PURE__ */ jsxs9("div", { className: "flex justify-between items-center w-full gap-4", children: [
3544
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
3545
- /* @__PURE__ */ jsx11(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
3546
- /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-4 text-text-700", children: [
3547
- duration && /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-1", children: [
3548
- /* @__PURE__ */ jsx11(Clock, { size: 16, className: "flex-shrink-0" }),
3549
- /* @__PURE__ */ jsx11(Text_default, { size: "sm", children: duration })
3705
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex justify-between items-center w-full gap-4", children: [
3706
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
3707
+ /* @__PURE__ */ jsx12(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
3708
+ /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-4 text-text-700", children: [
3709
+ duration && /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-1", children: [
3710
+ /* @__PURE__ */ jsx12(Clock, { size: 16, className: "flex-shrink-0" }),
3711
+ /* @__PURE__ */ jsx12(Text_default, { size: "sm", children: duration })
3550
3712
  ] }),
3551
- /* @__PURE__ */ jsx11(Text_default, { size: "sm", className: "truncate", children: info })
3713
+ /* @__PURE__ */ jsx12(Text_default, { size: "sm", className: "truncate", children: info })
3552
3714
  ] })
3553
3715
  ] }),
3554
- /* @__PURE__ */ jsx11(
3716
+ /* @__PURE__ */ jsx12(
3555
3717
  CaretRight,
3556
3718
  {
3557
3719
  size: 24,
@@ -3596,7 +3758,7 @@ var CardTest = forwardRef6(
3596
3758
  const interactiveClasses = isSelectable ? "cursor-pointer focus:outline-none focus:ring-2 focus:ring-primary-950 focus:ring-offset-2" : "";
3597
3759
  const selectedClasses = selected ? "ring-2 ring-primary-950 ring-offset-2" : "";
3598
3760
  if (isSelectable) {
3599
- return /* @__PURE__ */ jsx11(
3761
+ return /* @__PURE__ */ jsx12(
3600
3762
  "button",
3601
3763
  {
3602
3764
  ref,
@@ -3608,8 +3770,8 @@ var CardTest = forwardRef6(
3608
3770
  onKeyDown: handleKeyDown,
3609
3771
  "aria-pressed": selected,
3610
3772
  ...props,
3611
- children: /* @__PURE__ */ jsxs9("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
3612
- /* @__PURE__ */ jsx11(
3773
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
3774
+ /* @__PURE__ */ jsx12(
3613
3775
  Text_default,
3614
3776
  {
3615
3777
  size: "md",
@@ -3618,10 +3780,10 @@ var CardTest = forwardRef6(
3618
3780
  children: title
3619
3781
  }
3620
3782
  ),
3621
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
3622
- duration && /* @__PURE__ */ jsxs9("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
3623
- /* @__PURE__ */ jsx11(Clock, { size: 16, className: "text-text-700" }),
3624
- /* @__PURE__ */ jsx11(
3783
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
3784
+ duration && /* @__PURE__ */ jsxs10("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
3785
+ /* @__PURE__ */ jsx12(Clock, { size: 16, className: "text-text-700" }),
3786
+ /* @__PURE__ */ jsx12(
3625
3787
  Text_default,
3626
3788
  {
3627
3789
  size: "sm",
@@ -3630,7 +3792,7 @@ var CardTest = forwardRef6(
3630
3792
  }
3631
3793
  )
3632
3794
  ] }),
3633
- /* @__PURE__ */ jsx11(
3795
+ /* @__PURE__ */ jsx12(
3634
3796
  Text_default,
3635
3797
  {
3636
3798
  size: "sm",
@@ -3643,14 +3805,14 @@ var CardTest = forwardRef6(
3643
3805
  }
3644
3806
  );
3645
3807
  }
3646
- return /* @__PURE__ */ jsx11(
3808
+ return /* @__PURE__ */ jsx12(
3647
3809
  "div",
3648
3810
  {
3649
3811
  ref,
3650
3812
  className: cn(`${baseClasses} ${className}`.trim()),
3651
3813
  ...props,
3652
- children: /* @__PURE__ */ jsxs9("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
3653
- /* @__PURE__ */ jsx11(
3814
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
3815
+ /* @__PURE__ */ jsx12(
3654
3816
  Text_default,
3655
3817
  {
3656
3818
  size: "md",
@@ -3659,10 +3821,10 @@ var CardTest = forwardRef6(
3659
3821
  children: title
3660
3822
  }
3661
3823
  ),
3662
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
3663
- duration && /* @__PURE__ */ jsxs9("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
3664
- /* @__PURE__ */ jsx11(Clock, { size: 16, className: "text-text-700" }),
3665
- /* @__PURE__ */ jsx11(
3824
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
3825
+ duration && /* @__PURE__ */ jsxs10("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
3826
+ /* @__PURE__ */ jsx12(Clock, { size: 16, className: "text-text-700" }),
3827
+ /* @__PURE__ */ jsx12(
3666
3828
  Text_default,
3667
3829
  {
3668
3830
  size: "sm",
@@ -3671,7 +3833,7 @@ var CardTest = forwardRef6(
3671
3833
  }
3672
3834
  )
3673
3835
  ] }),
3674
- /* @__PURE__ */ jsx11(
3836
+ /* @__PURE__ */ jsx12(
3675
3837
  Text_default,
3676
3838
  {
3677
3839
  size: "sm",
@@ -3708,14 +3870,14 @@ var SIMULATION_TYPE_STYLES = {
3708
3870
  }
3709
3871
  };
3710
3872
  var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, ...props }, ref) => {
3711
- return /* @__PURE__ */ jsx11(
3873
+ return /* @__PURE__ */ jsx12(
3712
3874
  "div",
3713
3875
  {
3714
3876
  ref,
3715
3877
  className: cn("w-full max-w-[992px] h-auto", className),
3716
3878
  ...props,
3717
- children: /* @__PURE__ */ jsxs9("div", { className: "flex flex-col gap-0", children: [
3718
- data.map((section, sectionIndex) => /* @__PURE__ */ jsx11("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs9(
3879
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-0", children: [
3880
+ data.map((section, sectionIndex) => /* @__PURE__ */ jsx12("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs10(
3719
3881
  "div",
3720
3882
  {
3721
3883
  className: cn(
@@ -3723,7 +3885,7 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3723
3885
  sectionIndex === 0 ? "rounded-t-3xl" : ""
3724
3886
  ),
3725
3887
  children: [
3726
- /* @__PURE__ */ jsx11(
3888
+ /* @__PURE__ */ jsx12(
3727
3889
  Text_default,
3728
3890
  {
3729
3891
  size: "xs",
@@ -3732,9 +3894,9 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3732
3894
  children: section.date
3733
3895
  }
3734
3896
  ),
3735
- /* @__PURE__ */ jsx11("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
3897
+ /* @__PURE__ */ jsx12("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
3736
3898
  const typeStyles = SIMULATION_TYPE_STYLES[simulation.type];
3737
- return /* @__PURE__ */ jsx11(
3899
+ return /* @__PURE__ */ jsx12(
3738
3900
  CardBase,
3739
3901
  {
3740
3902
  layout: "horizontal",
@@ -3746,9 +3908,9 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3746
3908
  transition-shadow duration-200 h-auto min-h-[61px]`
3747
3909
  ),
3748
3910
  onClick: () => onSimulationClick?.(simulation),
3749
- children: /* @__PURE__ */ jsxs9("div", { className: "flex justify-between items-center w-full gap-2", children: [
3750
- /* @__PURE__ */ jsxs9("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
3751
- /* @__PURE__ */ jsx11(
3911
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex justify-between items-center w-full gap-2", children: [
3912
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
3913
+ /* @__PURE__ */ jsx12(
3752
3914
  Text_default,
3753
3915
  {
3754
3916
  size: "lg",
@@ -3757,8 +3919,8 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3757
3919
  children: simulation.title
3758
3920
  }
3759
3921
  ),
3760
- /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-2", children: [
3761
- /* @__PURE__ */ jsx11(
3922
+ /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-2", children: [
3923
+ /* @__PURE__ */ jsx12(
3762
3924
  Badge_default,
3763
3925
  {
3764
3926
  variant: "examsOutlined",
@@ -3767,10 +3929,10 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3767
3929
  children: typeStyles.text
3768
3930
  }
3769
3931
  ),
3770
- /* @__PURE__ */ jsx11(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
3932
+ /* @__PURE__ */ jsx12(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
3771
3933
  ] })
3772
3934
  ] }),
3773
- /* @__PURE__ */ jsx11(
3935
+ /* @__PURE__ */ jsx12(
3774
3936
  CaretRight,
3775
3937
  {
3776
3938
  size: 24,
@@ -3786,14 +3948,14 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3786
3948
  ]
3787
3949
  }
3788
3950
  ) }, section.date)),
3789
- data.length > 0 && /* @__PURE__ */ jsx11("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
3951
+ data.length > 0 && /* @__PURE__ */ jsx12("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
3790
3952
  ] })
3791
3953
  }
3792
3954
  );
3793
3955
  });
3794
3956
 
3795
3957
  // src/components/ProgressCircle/ProgressCircle.tsx
3796
- import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
3958
+ import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
3797
3959
  var SIZE_CLASSES8 = {
3798
3960
  small: {
3799
3961
  container: "w-[90px] h-[90px]",
@@ -3875,7 +4037,7 @@ var ProgressCircle = ({
3875
4037
  const strokeDashoffset = circumference - percentage / 100 * circumference;
3876
4038
  const center = size === "small" ? 45 : 76;
3877
4039
  const svgSize = size === "small" ? 90 : 152;
3878
- return /* @__PURE__ */ jsxs10(
4040
+ return /* @__PURE__ */ jsxs11(
3879
4041
  "div",
3880
4042
  {
3881
4043
  className: cn(
@@ -3885,7 +4047,7 @@ var ProgressCircle = ({
3885
4047
  className
3886
4048
  ),
3887
4049
  children: [
3888
- /* @__PURE__ */ jsxs10(
4050
+ /* @__PURE__ */ jsxs11(
3889
4051
  "svg",
3890
4052
  {
3891
4053
  className: "absolute inset-0 transform -rotate-90",
@@ -3894,7 +4056,7 @@ var ProgressCircle = ({
3894
4056
  viewBox: `0 0 ${svgSize} ${svgSize}`,
3895
4057
  "aria-hidden": "true",
3896
4058
  children: [
3897
- /* @__PURE__ */ jsx12(
4059
+ /* @__PURE__ */ jsx13(
3898
4060
  "circle",
3899
4061
  {
3900
4062
  cx: center,
@@ -3905,7 +4067,7 @@ var ProgressCircle = ({
3905
4067
  className: cn(variantClasses.background, "rounded-lg")
3906
4068
  }
3907
4069
  ),
3908
- /* @__PURE__ */ jsx12(
4070
+ /* @__PURE__ */ jsx13(
3909
4071
  "circle",
3910
4072
  {
3911
4073
  cx: center,
@@ -3925,7 +4087,7 @@ var ProgressCircle = ({
3925
4087
  ]
3926
4088
  }
3927
4089
  ),
3928
- /* @__PURE__ */ jsx12(
4090
+ /* @__PURE__ */ jsx13(
3929
4091
  "progress",
3930
4092
  {
3931
4093
  value: clampedValue,
@@ -3934,7 +4096,7 @@ var ProgressCircle = ({
3934
4096
  className: "absolute opacity-0 w-0 h-0"
3935
4097
  }
3936
4098
  ),
3937
- /* @__PURE__ */ jsxs10(
4099
+ /* @__PURE__ */ jsxs11(
3938
4100
  "div",
3939
4101
  {
3940
4102
  className: cn(
@@ -3943,7 +4105,7 @@ var ProgressCircle = ({
3943
4105
  sizeClasses.contentWidth
3944
4106
  ),
3945
4107
  children: [
3946
- showPercentage && /* @__PURE__ */ jsxs10(
4108
+ showPercentage && /* @__PURE__ */ jsxs11(
3947
4109
  Text_default,
3948
4110
  {
3949
4111
  size: sizeClasses.textSize,
@@ -3959,7 +4121,7 @@ var ProgressCircle = ({
3959
4121
  ]
3960
4122
  }
3961
4123
  ),
3962
- label && /* @__PURE__ */ jsx12(
4124
+ label && /* @__PURE__ */ jsx13(
3963
4125
  Text_default,
3964
4126
  {
3965
4127
  as: "span",
@@ -4004,7 +4166,7 @@ import {
4004
4166
  useId as useId4
4005
4167
  } from "react";
4006
4168
  import { Check as Check2, Minus } from "phosphor-react";
4007
- import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
4169
+ import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
4008
4170
  var SIZE_CLASSES9 = {
4009
4171
  small: {
4010
4172
  checkbox: "w-4 h-4",
@@ -4105,7 +4267,7 @@ var CheckBox = forwardRef7(
4105
4267
  );
4106
4268
  const renderIcon = () => {
4107
4269
  if (indeterminate) {
4108
- return /* @__PURE__ */ jsx13(
4270
+ return /* @__PURE__ */ jsx14(
4109
4271
  Minus,
4110
4272
  {
4111
4273
  size: sizeClasses.iconSize,
@@ -4115,7 +4277,7 @@ var CheckBox = forwardRef7(
4115
4277
  );
4116
4278
  }
4117
4279
  if (checked) {
4118
- return /* @__PURE__ */ jsx13(
4280
+ return /* @__PURE__ */ jsx14(
4119
4281
  Check2,
4120
4282
  {
4121
4283
  size: sizeClasses.iconSize,
@@ -4126,8 +4288,8 @@ var CheckBox = forwardRef7(
4126
4288
  }
4127
4289
  return null;
4128
4290
  };
4129
- return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col", children: [
4130
- /* @__PURE__ */ jsxs11(
4291
+ return /* @__PURE__ */ jsxs12("div", { className: "flex flex-col", children: [
4292
+ /* @__PURE__ */ jsxs12(
4131
4293
  "div",
4132
4294
  {
4133
4295
  className: cn(
@@ -4136,7 +4298,7 @@ var CheckBox = forwardRef7(
4136
4298
  disabled ? "opacity-40" : ""
4137
4299
  ),
4138
4300
  children: [
4139
- /* @__PURE__ */ jsx13(
4301
+ /* @__PURE__ */ jsx14(
4140
4302
  "input",
4141
4303
  {
4142
4304
  ref,
@@ -4149,15 +4311,15 @@ var CheckBox = forwardRef7(
4149
4311
  ...props
4150
4312
  }
4151
4313
  ),
4152
- /* @__PURE__ */ jsx13("label", { htmlFor: inputId, className: checkboxClasses, children: renderIcon() }),
4153
- label && /* @__PURE__ */ jsx13(
4314
+ /* @__PURE__ */ jsx14("label", { htmlFor: inputId, className: checkboxClasses, children: renderIcon() }),
4315
+ label && /* @__PURE__ */ jsx14(
4154
4316
  "div",
4155
4317
  {
4156
4318
  className: cn(
4157
4319
  "flex flex-row items-center",
4158
4320
  sizeClasses.labelHeight
4159
4321
  ),
4160
- children: /* @__PURE__ */ jsx13(
4322
+ children: /* @__PURE__ */ jsx14(
4161
4323
  Text_default,
4162
4324
  {
4163
4325
  as: "label",
@@ -4176,7 +4338,7 @@ var CheckBox = forwardRef7(
4176
4338
  ]
4177
4339
  }
4178
4340
  ),
4179
- errorMessage && /* @__PURE__ */ jsx13(
4341
+ errorMessage && /* @__PURE__ */ jsx14(
4180
4342
  Text_default,
4181
4343
  {
4182
4344
  size: "sm",
@@ -4186,7 +4348,7 @@ var CheckBox = forwardRef7(
4186
4348
  children: errorMessage
4187
4349
  }
4188
4350
  ),
4189
- helperText && !errorMessage && /* @__PURE__ */ jsx13(
4351
+ helperText && !errorMessage && /* @__PURE__ */ jsx14(
4190
4352
  Text_default,
4191
4353
  {
4192
4354
  size: "sm",
@@ -4203,7 +4365,7 @@ CheckBox.displayName = "CheckBox";
4203
4365
  var CheckBox_default = CheckBox;
4204
4366
 
4205
4367
  // src/components/CheckBox/CheckboxList.tsx
4206
- import { jsx as jsx14 } from "react/jsx-runtime";
4368
+ import { jsx as jsx15 } from "react/jsx-runtime";
4207
4369
  var createCheckboxListStore = (name, defaultValues, disabled, onValuesChange) => create4((set, get) => ({
4208
4370
  values: defaultValues,
4209
4371
  setValues: (values) => {
@@ -4275,7 +4437,7 @@ var CheckboxList = forwardRef8(
4275
4437
  useEffect5(() => {
4276
4438
  store.setState({ disabled });
4277
4439
  }, [disabled, store]);
4278
- return /* @__PURE__ */ jsx14(
4440
+ return /* @__PURE__ */ jsx15(
4279
4441
  "div",
4280
4442
  {
4281
4443
  ref,
@@ -4311,7 +4473,7 @@ var CheckboxListItem = forwardRef8(
4311
4473
  const isChecked = groupValues.includes(value);
4312
4474
  const isDisabled = groupDisabled || itemDisabled;
4313
4475
  const currentState = isDisabled ? "disabled" : state;
4314
- return /* @__PURE__ */ jsx14(
4476
+ return /* @__PURE__ */ jsx15(
4315
4477
  CheckBox_default,
4316
4478
  {
4317
4479
  ref,
@@ -4338,7 +4500,7 @@ var CheckboxList_default = CheckboxList;
4338
4500
 
4339
4501
  // src/components/MultipleChoice/MultipleChoice.tsx
4340
4502
  import { CheckCircle as CheckCircle3, XCircle as XCircle3, Check as Check3 } from "phosphor-react";
4341
- import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
4503
+ import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
4342
4504
  var MultipleChoiceList = ({
4343
4505
  disabled = false,
4344
4506
  className = "",
@@ -4355,9 +4517,9 @@ var MultipleChoiceList = ({
4355
4517
  const getStatusBadge2 = (status) => {
4356
4518
  switch (status) {
4357
4519
  case "correct":
4358
- return /* @__PURE__ */ jsx15(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ jsx15(CheckCircle3, {}), children: "Resposta correta" });
4520
+ return /* @__PURE__ */ jsx16(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ jsx16(CheckCircle3, {}), children: "Resposta correta" });
4359
4521
  case "incorrect":
4360
- return /* @__PURE__ */ jsx15(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ jsx15(XCircle3, {}), children: "Resposta incorreta" });
4522
+ return /* @__PURE__ */ jsx16(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ jsx16(XCircle3, {}), children: "Resposta incorreta" });
4361
4523
  default:
4362
4524
  return null;
4363
4525
  }
@@ -4378,14 +4540,14 @@ var MultipleChoiceList = ({
4378
4540
  isSelected ? "border-primary-950 bg-primary-950 text-text" : "border-border-400 bg-background",
4379
4541
  isDisabled && "opacity-40 cursor-not-allowed"
4380
4542
  );
4381
- return /* @__PURE__ */ jsx15("div", { className: checkboxClasses, children: isSelected && /* @__PURE__ */ jsx15(Check3, { size: 16, weight: "bold" }) });
4543
+ return /* @__PURE__ */ jsx16("div", { className: checkboxClasses, children: isSelected && /* @__PURE__ */ jsx16(Check3, { size: 16, weight: "bold" }) });
4382
4544
  };
4383
4545
  if (mode === "readonly") {
4384
- return /* @__PURE__ */ jsx15("div", { className: cn("flex flex-col gap-2", className), children: choices.map((choice, i) => {
4546
+ return /* @__PURE__ */ jsx16("div", { className: cn("flex flex-col gap-2", className), children: choices.map((choice, i) => {
4385
4547
  const isSelected = actualValue?.includes(choice.value) || false;
4386
4548
  const statusStyles = getStatusStyles2(choice.status);
4387
4549
  const statusBadge = getStatusBadge2(choice.status);
4388
- return /* @__PURE__ */ jsxs12(
4550
+ return /* @__PURE__ */ jsxs13(
4389
4551
  "div",
4390
4552
  {
4391
4553
  className: cn(
@@ -4394,9 +4556,9 @@ var MultipleChoiceList = ({
4394
4556
  choice.disabled ? "opacity-50 cursor-not-allowed" : ""
4395
4557
  ),
4396
4558
  children: [
4397
- /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-2 flex-1", children: [
4559
+ /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-2 flex-1", children: [
4398
4560
  renderVisualCheckbox(isSelected, choice.disabled || disabled),
4399
- /* @__PURE__ */ jsx15(
4561
+ /* @__PURE__ */ jsx16(
4400
4562
  "span",
4401
4563
  {
4402
4564
  className: cn(
@@ -4408,14 +4570,14 @@ var MultipleChoiceList = ({
4408
4570
  }
4409
4571
  )
4410
4572
  ] }),
4411
- statusBadge && /* @__PURE__ */ jsx15("div", { className: "flex-shrink-0", children: statusBadge })
4573
+ statusBadge && /* @__PURE__ */ jsx16("div", { className: "flex-shrink-0", children: statusBadge })
4412
4574
  ]
4413
4575
  },
4414
4576
  `readonly-${choice.value}-${i}`
4415
4577
  );
4416
4578
  }) });
4417
4579
  }
4418
- return /* @__PURE__ */ jsx15(
4580
+ return /* @__PURE__ */ jsx16(
4419
4581
  "div",
4420
4582
  {
4421
4583
  className: cn(
@@ -4423,7 +4585,7 @@ var MultipleChoiceList = ({
4423
4585
  disabled ? "opacity-50 cursor-not-allowed" : "",
4424
4586
  className
4425
4587
  ),
4426
- children: /* @__PURE__ */ jsx15(
4588
+ children: /* @__PURE__ */ jsx16(
4427
4589
  CheckboxList_default,
4428
4590
  {
4429
4591
  name,
@@ -4433,12 +4595,12 @@ var MultipleChoiceList = ({
4433
4595
  onHandleSelectedValues?.(v);
4434
4596
  },
4435
4597
  disabled,
4436
- children: choices.map((choice, i) => /* @__PURE__ */ jsxs12(
4598
+ children: choices.map((choice, i) => /* @__PURE__ */ jsxs13(
4437
4599
  "div",
4438
4600
  {
4439
4601
  className: "flex flex-row gap-2 items-center",
4440
4602
  children: [
4441
- /* @__PURE__ */ jsx15(
4603
+ /* @__PURE__ */ jsx16(
4442
4604
  CheckboxListItem,
4443
4605
  {
4444
4606
  value: choice.value,
@@ -4446,7 +4608,7 @@ var MultipleChoiceList = ({
4446
4608
  disabled: choice.disabled || disabled
4447
4609
  }
4448
4610
  ),
4449
- /* @__PURE__ */ jsx15(
4611
+ /* @__PURE__ */ jsx16(
4450
4612
  "label",
4451
4613
  {
4452
4614
  htmlFor: `interactive-${choice.value}-${i}`,
@@ -4475,7 +4637,7 @@ import {
4475
4637
  useId as useId6
4476
4638
  } from "react";
4477
4639
  import { WarningCircle as WarningCircle2 } from "phosphor-react";
4478
- import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
4640
+ import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
4479
4641
  var SIZE_CLASSES10 = {
4480
4642
  small: {
4481
4643
  textarea: "h-24 text-sm",
@@ -4569,8 +4731,8 @@ var TextArea = forwardRef9(
4569
4731
  stateClasses.focus,
4570
4732
  className
4571
4733
  );
4572
- return /* @__PURE__ */ jsxs13("div", { className: `flex flex-col`, children: [
4573
- label && /* @__PURE__ */ jsx16(
4734
+ return /* @__PURE__ */ jsxs14("div", { className: `flex flex-col`, children: [
4735
+ label && /* @__PURE__ */ jsx17(
4574
4736
  Text_default,
4575
4737
  {
4576
4738
  as: "label",
@@ -4582,7 +4744,7 @@ var TextArea = forwardRef9(
4582
4744
  children: label
4583
4745
  }
4584
4746
  ),
4585
- /* @__PURE__ */ jsx16(
4747
+ /* @__PURE__ */ jsx17(
4586
4748
  "textarea",
4587
4749
  {
4588
4750
  ref,
@@ -4596,12 +4758,12 @@ var TextArea = forwardRef9(
4596
4758
  ...props
4597
4759
  }
4598
4760
  ),
4599
- errorMessage && /* @__PURE__ */ jsxs13("p", { className: "flex gap-1 items-center text-sm text-indicator-error mt-1.5", children: [
4600
- /* @__PURE__ */ jsx16(WarningCircle2, { size: 16 }),
4761
+ errorMessage && /* @__PURE__ */ jsxs14("p", { className: "flex gap-1 items-center text-sm text-indicator-error mt-1.5", children: [
4762
+ /* @__PURE__ */ jsx17(WarningCircle2, { size: 16 }),
4601
4763
  " ",
4602
4764
  errorMessage
4603
4765
  ] }),
4604
- helperMessage && !errorMessage && /* @__PURE__ */ jsx16(Text_default, { size: "sm", weight: "normal", className: "mt-1.5 text-text-500", children: helperMessage })
4766
+ helperMessage && !errorMessage && /* @__PURE__ */ jsx17(Text_default, { size: "sm", weight: "normal", className: "mt-1.5 text-text-500", children: helperMessage })
4605
4767
  ] });
4606
4768
  }
4607
4769
  );
@@ -4612,13 +4774,13 @@ var TextArea_default = TextArea;
4612
4774
  var mock_image_question_default = "../mock-image-question-HEZCLFDL.png";
4613
4775
 
4614
4776
  // src/components/Quiz/Quiz.tsx
4615
- import { Fragment as Fragment6, jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
4777
+ import { Fragment as Fragment6, jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
4616
4778
  var getStatusBadge = (status) => {
4617
4779
  switch (status) {
4618
4780
  case "correct":
4619
- return /* @__PURE__ */ jsx17(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ jsx17(CheckCircle4, {}), children: "Resposta correta" });
4781
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ jsx18(CheckCircle4, {}), children: "Resposta correta" });
4620
4782
  case "incorrect":
4621
- return /* @__PURE__ */ jsx17(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ jsx17(XCircle4, {}), children: "Resposta incorreta" });
4783
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ jsx18(XCircle4, {}), children: "Resposta incorreta" });
4622
4784
  default:
4623
4785
  return null;
4624
4786
  }
@@ -4636,7 +4798,7 @@ var Quiz = forwardRef10(({ children, className, variant = "default", ...props },
4636
4798
  useEffect7(() => {
4637
4799
  setVariant(variant);
4638
4800
  }, [variant, setVariant]);
4639
- return /* @__PURE__ */ jsx17("div", { ref, className: cn("flex flex-col", className), ...props, children });
4801
+ return /* @__PURE__ */ jsx18("div", { ref, className: cn("flex flex-col", className), ...props, children });
4640
4802
  });
4641
4803
  var QuizHeaderResult = forwardRef10(
4642
4804
  ({ className, ...props }, ref) => {
@@ -4677,7 +4839,7 @@ var QuizHeaderResult = forwardRef10(
4677
4839
  return "N\xE3o foi dessa vez...voc\xEA deixou a resposta em branco";
4678
4840
  }
4679
4841
  };
4680
- return /* @__PURE__ */ jsxs14(
4842
+ return /* @__PURE__ */ jsxs15(
4681
4843
  "div",
4682
4844
  {
4683
4845
  ref,
@@ -4688,8 +4850,8 @@ var QuizHeaderResult = forwardRef10(
4688
4850
  ),
4689
4851
  ...props,
4690
4852
  children: [
4691
- /* @__PURE__ */ jsx17("p", { className: "text-text-950 font-bold text-lg", children: "Resultado" }),
4692
- /* @__PURE__ */ jsx17("p", { className: "text-text-700 text-md", children: getLabelByAnswersStatus() })
4853
+ /* @__PURE__ */ jsx18("p", { className: "text-text-950 font-bold text-lg", children: "Resultado" }),
4854
+ /* @__PURE__ */ jsx18("p", { className: "text-text-700 text-md", children: getLabelByAnswersStatus() })
4693
4855
  ]
4694
4856
  }
4695
4857
  );
@@ -4707,7 +4869,7 @@ var QuizTitle = forwardRef10(
4707
4869
  } = useQuizStore();
4708
4870
  const totalQuestions = getTotalQuestions();
4709
4871
  const quizTitle = getQuizTitle();
4710
- return /* @__PURE__ */ jsxs14(
4872
+ return /* @__PURE__ */ jsxs15(
4711
4873
  "div",
4712
4874
  {
4713
4875
  ref,
@@ -4717,11 +4879,11 @@ var QuizTitle = forwardRef10(
4717
4879
  ),
4718
4880
  ...props,
4719
4881
  children: [
4720
- /* @__PURE__ */ jsxs14("span", { className: "flex flex-col gap-2 text-center", children: [
4721
- /* @__PURE__ */ jsx17("p", { className: "text-text-950 font-bold text-md", children: quizTitle }),
4722
- /* @__PURE__ */ jsx17("p", { className: "text-text-600 text-xs", children: totalQuestions > 0 ? `${currentQuestionIndex + 1} de ${totalQuestions}` : "0 de 0" })
4882
+ /* @__PURE__ */ jsxs15("span", { className: "flex flex-col gap-2 text-center", children: [
4883
+ /* @__PURE__ */ jsx18("p", { className: "text-text-950 font-bold text-md", children: quizTitle }),
4884
+ /* @__PURE__ */ jsx18("p", { className: "text-text-600 text-xs", children: totalQuestions > 0 ? `${currentQuestionIndex + 1} de ${totalQuestions}` : "0 de 0" })
4723
4885
  ] }),
4724
- /* @__PURE__ */ jsx17("span", { className: "absolute right-2", children: /* @__PURE__ */ jsx17(Badge_default, { variant: "outlined", action: "info", iconLeft: /* @__PURE__ */ jsx17(Clock2, {}), children: isStarted ? formatTime(timeElapsed) : "00:00" }) })
4886
+ /* @__PURE__ */ jsx18("span", { className: "absolute right-2", children: /* @__PURE__ */ jsx18(Badge_default, { variant: "outlined", action: "info", iconLeft: /* @__PURE__ */ jsx18(Clock2, {}), children: isStarted ? formatTime(timeElapsed) : "00:00" }) })
4725
4887
  ]
4726
4888
  }
4727
4889
  );
@@ -4729,13 +4891,13 @@ var QuizTitle = forwardRef10(
4729
4891
  );
4730
4892
  var QuizSubTitle = forwardRef10(
4731
4893
  ({ subTitle, ...props }, ref) => {
4732
- return /* @__PURE__ */ jsx17("div", { className: "px-4 pb-2 pt-6", ...props, ref, children: /* @__PURE__ */ jsx17("p", { className: "font-bold text-lg text-text-950", children: subTitle }) });
4894
+ return /* @__PURE__ */ jsx18("div", { className: "px-4 pb-2 pt-6", ...props, ref, children: /* @__PURE__ */ jsx18("p", { className: "font-bold text-lg text-text-950", children: subTitle }) });
4733
4895
  }
4734
4896
  );
4735
4897
  var QuizHeader = () => {
4736
4898
  const { getCurrentQuestion, currentQuestionIndex } = useQuizStore();
4737
4899
  const currentQuestion = getCurrentQuestion();
4738
- return /* @__PURE__ */ jsx17(
4900
+ return /* @__PURE__ */ jsx18(
4739
4901
  HeaderAlternative,
4740
4902
  {
4741
4903
  title: currentQuestion ? `Quest\xE3o ${currentQuestionIndex + 1}` : "Quest\xE3o",
@@ -4745,7 +4907,7 @@ var QuizHeader = () => {
4745
4907
  );
4746
4908
  };
4747
4909
  var QuizContainer = forwardRef10(({ children, className, ...props }, ref) => {
4748
- return /* @__PURE__ */ jsx17(
4910
+ return /* @__PURE__ */ jsx18(
4749
4911
  "div",
4750
4912
  {
4751
4913
  ref,
@@ -4771,7 +4933,7 @@ var QuizContent = forwardRef10(({ paddingBottom }) => {
4771
4933
  ["IMAGEM" /* IMAGEM */]: QuizImageQuestion
4772
4934
  };
4773
4935
  const QuestionComponent = currentQuestion ? questionComponents[currentQuestion.questionType] : null;
4774
- return QuestionComponent ? /* @__PURE__ */ jsx17(QuestionComponent, { paddingBottom }) : null;
4936
+ return QuestionComponent ? /* @__PURE__ */ jsx18(QuestionComponent, { paddingBottom }) : null;
4775
4937
  });
4776
4938
  var QuizAlternative = ({ paddingBottom }) => {
4777
4939
  const {
@@ -4808,10 +4970,10 @@ var QuizAlternative = ({ paddingBottom }) => {
4808
4970
  };
4809
4971
  });
4810
4972
  if (!alternatives)
4811
- return /* @__PURE__ */ jsx17("div", { children: /* @__PURE__ */ jsx17("p", { children: "N\xE3o h\xE1 Alternativas" }) });
4812
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
4813
- /* @__PURE__ */ jsx17(QuizSubTitle, { subTitle: "Alternativas" }),
4814
- /* @__PURE__ */ jsx17(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx17("div", { className: "space-y-4", children: /* @__PURE__ */ jsx17(
4973
+ return /* @__PURE__ */ jsx18("div", { children: /* @__PURE__ */ jsx18("p", { children: "N\xE3o h\xE1 Alternativas" }) });
4974
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
4975
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
4976
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx18("div", { className: "space-y-4", children: /* @__PURE__ */ jsx18(
4815
4977
  AlternativesList,
4816
4978
  {
4817
4979
  mode: variant === "default" ? "interactive" : "readonly",
@@ -4909,10 +5071,10 @@ var QuizMultipleChoice = ({ paddingBottom }) => {
4909
5071
  };
4910
5072
  });
4911
5073
  if (!choices)
4912
- return /* @__PURE__ */ jsx17("div", { children: /* @__PURE__ */ jsx17("p", { children: "N\xE3o h\xE1 Escolhas Multiplas" }) });
4913
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
4914
- /* @__PURE__ */ jsx17(QuizSubTitle, { subTitle: "Alternativas" }),
4915
- /* @__PURE__ */ jsx17(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx17("div", { className: "space-y-4", children: /* @__PURE__ */ jsx17(
5074
+ return /* @__PURE__ */ jsx18("div", { children: /* @__PURE__ */ jsx18("p", { children: "N\xE3o h\xE1 Escolhas Multiplas" }) });
5075
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5076
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
5077
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx18("div", { className: "space-y-4", children: /* @__PURE__ */ jsx18(
4916
5078
  MultipleChoiceList,
4917
5079
  {
4918
5080
  choices,
@@ -4958,12 +5120,12 @@ var QuizDissertative = ({ paddingBottom }) => {
4958
5120
  adjustTextareaHeight();
4959
5121
  }, [currentAnswer, adjustTextareaHeight]);
4960
5122
  if (!currentQuestion) {
4961
- return /* @__PURE__ */ jsx17("div", { className: "space-y-4", children: /* @__PURE__ */ jsx17("p", { className: "text-text-600 text-md", children: "Nenhuma quest\xE3o dispon\xEDvel" }) });
5123
+ return /* @__PURE__ */ jsx18("div", { className: "space-y-4", children: /* @__PURE__ */ jsx18("p", { className: "text-text-600 text-md", children: "Nenhuma quest\xE3o dispon\xEDvel" }) });
4962
5124
  }
4963
5125
  const localAnswer = (variant == "result" ? currentQuestionResult?.answer : currentAnswer?.answer) || "";
4964
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
4965
- /* @__PURE__ */ jsx17(QuizSubTitle, { subTitle: "Resposta" }),
4966
- /* @__PURE__ */ jsx17(QuizContainer, { className: cn(variant != "result" && paddingBottom), children: /* @__PURE__ */ jsx17("div", { className: "space-y-4 max-h-[600px] overflow-y-auto", children: variant === "default" ? /* @__PURE__ */ jsx17("div", { className: "space-y-4", children: /* @__PURE__ */ jsx17(
5126
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5127
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Resposta" }),
5128
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn(variant != "result" && paddingBottom), children: /* @__PURE__ */ jsx18("div", { className: "space-y-4 max-h-[600px] overflow-y-auto", children: variant === "default" ? /* @__PURE__ */ jsx18("div", { className: "space-y-4", children: /* @__PURE__ */ jsx18(
4967
5129
  TextArea_default,
4968
5130
  {
4969
5131
  ref: textareaRef,
@@ -4973,10 +5135,10 @@ var QuizDissertative = ({ paddingBottom }) => {
4973
5135
  rows: 4,
4974
5136
  className: "min-h-[120px] max-h-[400px] resize-none overflow-y-auto"
4975
5137
  }
4976
- ) }) : /* @__PURE__ */ jsx17("div", { className: "space-y-4", children: /* @__PURE__ */ jsx17("p", { className: "text-text-600 text-md whitespace-pre-wrap", children: localAnswer || "Nenhuma resposta fornecida" }) }) }) }),
4977
- variant === "result" && currentQuestionResult?.answerStatus == "RESPOSTA_INCORRETA" /* RESPOSTA_INCORRETA */ && /* @__PURE__ */ jsxs14(Fragment6, { children: [
4978
- /* @__PURE__ */ jsx17(QuizSubTitle, { subTitle: "Observa\xE7\xE3o do professor" }),
4979
- /* @__PURE__ */ jsx17(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx17("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." }) })
5138
+ ) }) : /* @__PURE__ */ jsx18("div", { className: "space-y-4", children: /* @__PURE__ */ jsx18("p", { className: "text-text-600 text-md whitespace-pre-wrap", children: localAnswer || "Nenhuma resposta fornecida" }) }) }) }),
5139
+ variant === "result" && currentQuestionResult?.answerStatus == "RESPOSTA_INCORRETA" /* RESPOSTA_INCORRETA */ && /* @__PURE__ */ jsxs15(Fragment6, { children: [
5140
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Observa\xE7\xE3o do professor" }),
5141
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx18("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." }) })
4980
5142
  ] })
4981
5143
  ] });
4982
5144
  };
@@ -5002,16 +5164,16 @@ var QuizTrueOrFalse = ({ paddingBottom }) => {
5002
5164
  ];
5003
5165
  const getLetterByIndex = (index) => String.fromCharCode(97 + index);
5004
5166
  const isDefaultVariant = variant == "default";
5005
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
5006
- /* @__PURE__ */ jsx17(QuizSubTitle, { subTitle: "Alternativas" }),
5007
- /* @__PURE__ */ jsx17(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx17("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
5167
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5168
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
5169
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx18("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
5008
5170
  const variantCorrect = option.isCorrect ? "correct" : "incorrect";
5009
- return /* @__PURE__ */ jsxs14(
5171
+ return /* @__PURE__ */ jsxs15(
5010
5172
  "section",
5011
5173
  {
5012
5174
  className: "flex flex-col gap-2",
5013
5175
  children: [
5014
- /* @__PURE__ */ jsxs14(
5176
+ /* @__PURE__ */ jsxs15(
5015
5177
  "div",
5016
5178
  {
5017
5179
  className: cn(
@@ -5019,20 +5181,20 @@ var QuizTrueOrFalse = ({ paddingBottom }) => {
5019
5181
  !isDefaultVariant ? getStatusStyles(variantCorrect) : ""
5020
5182
  ),
5021
5183
  children: [
5022
- /* @__PURE__ */ jsx17("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index).concat(") ").concat(option.label) }),
5023
- isDefaultVariant ? /* @__PURE__ */ jsxs14(Select_default, { size: "medium", children: [
5024
- /* @__PURE__ */ jsx17(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ jsx17(SelectValue, { placeholder: "Selecione opc\xE3o" }) }),
5025
- /* @__PURE__ */ jsxs14(SelectContent, { children: [
5026
- /* @__PURE__ */ jsx17(SelectItem, { value: "V", children: "Verdadeiro" }),
5027
- /* @__PURE__ */ jsx17(SelectItem, { value: "F", children: "Falso" })
5184
+ /* @__PURE__ */ jsx18("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index).concat(") ").concat(option.label) }),
5185
+ isDefaultVariant ? /* @__PURE__ */ jsxs15(Select_default, { size: "medium", children: [
5186
+ /* @__PURE__ */ jsx18(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ jsx18(SelectValue, { placeholder: "Selecione opc\xE3o" }) }),
5187
+ /* @__PURE__ */ jsxs15(SelectContent, { children: [
5188
+ /* @__PURE__ */ jsx18(SelectItem, { value: "V", children: "Verdadeiro" }),
5189
+ /* @__PURE__ */ jsx18(SelectItem, { value: "F", children: "Falso" })
5028
5190
  ] })
5029
- ] }) : /* @__PURE__ */ jsx17("div", { className: "flex-shrink-0", children: getStatusBadge(variantCorrect) })
5191
+ ] }) : /* @__PURE__ */ jsx18("div", { className: "flex-shrink-0", children: getStatusBadge(variantCorrect) })
5030
5192
  ]
5031
5193
  }
5032
5194
  ),
5033
- !isDefaultVariant && /* @__PURE__ */ jsxs14("span", { className: "flex flex-row gap-2 items-center", children: [
5034
- /* @__PURE__ */ jsx17("p", { className: "text-text-800 text-2xs", children: "Resposta selecionada: V" }),
5035
- !option.isCorrect && /* @__PURE__ */ jsx17("p", { className: "text-text-800 text-2xs", children: "Resposta correta: F" })
5195
+ !isDefaultVariant && /* @__PURE__ */ jsxs15("span", { className: "flex flex-row gap-2 items-center", children: [
5196
+ /* @__PURE__ */ jsx18("p", { className: "text-text-800 text-2xs", children: "Resposta selecionada: V" }),
5197
+ !option.isCorrect && /* @__PURE__ */ jsx18("p", { className: "text-text-800 text-2xs", children: "Resposta correta: F" })
5036
5198
  ] })
5037
5199
  ]
5038
5200
  },
@@ -5122,13 +5284,13 @@ var QuizConnectDots = ({ paddingBottom }) => {
5122
5284
  const assignedDots = new Set(
5123
5285
  userAnswers.map((a) => a.dotOption).filter(Boolean)
5124
5286
  );
5125
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
5126
- /* @__PURE__ */ jsx17(QuizSubTitle, { subTitle: "Alternativas" }),
5127
- /* @__PURE__ */ jsx17(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx17("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
5287
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5288
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
5289
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx18("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
5128
5290
  const answer = userAnswers[index];
5129
5291
  const variantCorrect = answer.isCorrect ? "correct" : "incorrect";
5130
- return /* @__PURE__ */ jsxs14("section", { className: "flex flex-col gap-2", children: [
5131
- /* @__PURE__ */ jsxs14(
5292
+ return /* @__PURE__ */ jsxs15("section", { className: "flex flex-col gap-2", children: [
5293
+ /* @__PURE__ */ jsxs15(
5132
5294
  "div",
5133
5295
  {
5134
5296
  className: cn(
@@ -5136,30 +5298,30 @@ var QuizConnectDots = ({ paddingBottom }) => {
5136
5298
  !isDefaultVariant ? getStatusStyles(variantCorrect) : ""
5137
5299
  ),
5138
5300
  children: [
5139
- /* @__PURE__ */ jsx17("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index) + ") " + option.label }),
5140
- isDefaultVariant ? /* @__PURE__ */ jsxs14(
5301
+ /* @__PURE__ */ jsx18("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index) + ") " + option.label }),
5302
+ isDefaultVariant ? /* @__PURE__ */ jsxs15(
5141
5303
  Select_default,
5142
5304
  {
5143
5305
  size: "medium",
5144
5306
  value: answer.dotOption || void 0,
5145
5307
  onValueChange: (value) => handleSelectDot(index, value),
5146
5308
  children: [
5147
- /* @__PURE__ */ jsx17(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ jsx17(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
5148
- /* @__PURE__ */ jsx17(SelectContent, { children: dotsOptions.filter(
5309
+ /* @__PURE__ */ jsx18(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ jsx18(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
5310
+ /* @__PURE__ */ jsx18(SelectContent, { children: dotsOptions.filter(
5149
5311
  (dot) => !assignedDots.has(dot.label) || answer.dotOption === dot.label
5150
- ).map((dot) => /* @__PURE__ */ jsx17(SelectItem, { value: dot.label, children: dot.label }, dot.label)) })
5312
+ ).map((dot) => /* @__PURE__ */ jsx18(SelectItem, { value: dot.label, children: dot.label }, dot.label)) })
5151
5313
  ]
5152
5314
  }
5153
- ) : /* @__PURE__ */ jsx17("div", { className: "flex-shrink-0", children: answer.isCorrect === null ? null : getStatusBadge(variantCorrect) })
5315
+ ) : /* @__PURE__ */ jsx18("div", { className: "flex-shrink-0", children: answer.isCorrect === null ? null : getStatusBadge(variantCorrect) })
5154
5316
  ]
5155
5317
  }
5156
5318
  ),
5157
- !isDefaultVariant && /* @__PURE__ */ jsxs14("span", { className: "flex flex-row gap-2 items-center", children: [
5158
- /* @__PURE__ */ jsxs14("p", { className: "text-text-800 text-2xs", children: [
5319
+ !isDefaultVariant && /* @__PURE__ */ jsxs15("span", { className: "flex flex-row gap-2 items-center", children: [
5320
+ /* @__PURE__ */ jsxs15("p", { className: "text-text-800 text-2xs", children: [
5159
5321
  "Resposta selecionada: ",
5160
5322
  answer.dotOption || "Nenhuma"
5161
5323
  ] }),
5162
- !answer.isCorrect && /* @__PURE__ */ jsxs14("p", { className: "text-text-800 text-2xs", children: [
5324
+ !answer.isCorrect && /* @__PURE__ */ jsxs15("p", { className: "text-text-800 text-2xs", children: [
5163
5325
  "Resposta correta: ",
5164
5326
  answer.correctOption
5165
5327
  ] })
@@ -5226,18 +5388,18 @@ var QuizFill = ({ paddingBottom }) => {
5226
5388
  const mockAnswer = mockUserAnswers.find(
5227
5389
  (answer) => answer.selectId === selectId
5228
5390
  );
5229
- return /* @__PURE__ */ jsx17("p", { className: "inline-flex mb-2.5 text-success-600 font-semibold text-md border-b-2 border-success-600", children: mockAnswer?.correctAnswer });
5391
+ return /* @__PURE__ */ jsx18("p", { className: "inline-flex mb-2.5 text-success-600 font-semibold text-md border-b-2 border-success-600", children: mockAnswer?.correctAnswer });
5230
5392
  };
5231
5393
  const renderDefaultElement = (selectId, startIndex, selectedValue, availableOptionsForThisSelect) => {
5232
- return /* @__PURE__ */ jsxs14(
5394
+ return /* @__PURE__ */ jsxs15(
5233
5395
  Select_default,
5234
5396
  {
5235
5397
  value: selectedValue,
5236
5398
  onValueChange: (value) => handleSelectChange(selectId, value),
5237
5399
  className: "inline-flex mb-2.5",
5238
5400
  children: [
5239
- /* @__PURE__ */ jsx17(SelectTrigger, { className: "inline-flex w-auto min-w-[140px] h-8 mx-1 bg-white border-gray-300", children: /* @__PURE__ */ jsx17(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
5240
- /* @__PURE__ */ jsx17(SelectContent, { children: availableOptionsForThisSelect.map((option, index) => /* @__PURE__ */ jsx17(SelectItem, { value: option, children: option }, `${option}-${index}`)) })
5401
+ /* @__PURE__ */ jsx18(SelectTrigger, { className: "inline-flex w-auto min-w-[140px] h-8 mx-1 bg-white border-gray-300", children: /* @__PURE__ */ jsx18(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
5402
+ /* @__PURE__ */ jsx18(SelectContent, { children: availableOptionsForThisSelect.map((option, index) => /* @__PURE__ */ jsx18(SelectItem, { value: option, children: option }, `${option}-${index}`)) })
5241
5403
  ]
5242
5404
  },
5243
5405
  `${selectId}-${startIndex}`
@@ -5249,8 +5411,8 @@ var QuizFill = ({ paddingBottom }) => {
5249
5411
  );
5250
5412
  if (!mockAnswer) return null;
5251
5413
  const action = mockAnswer.isCorrect ? "success" : "error";
5252
- const icon = mockAnswer.isCorrect ? /* @__PURE__ */ jsx17(CheckCircle4, {}) : /* @__PURE__ */ jsx17(XCircle4, {});
5253
- return /* @__PURE__ */ jsx17(
5414
+ const icon = mockAnswer.isCorrect ? /* @__PURE__ */ jsx18(CheckCircle4, {}) : /* @__PURE__ */ jsx18(XCircle4, {});
5415
+ return /* @__PURE__ */ jsx18(
5254
5416
  Badge_default,
5255
5417
  {
5256
5418
  variant: "solid",
@@ -5258,7 +5420,7 @@ var QuizFill = ({ paddingBottom }) => {
5258
5420
  iconRight: icon,
5259
5421
  size: "large",
5260
5422
  className: "py-3 w-[180px] justify-between mb-2.5",
5261
- children: /* @__PURE__ */ jsx17("span", { className: "text-text-900", children: mockAnswer.userAnswer })
5423
+ children: /* @__PURE__ */ jsx18("span", { className: "text-text-900", children: mockAnswer.userAnswer })
5262
5424
  },
5263
5425
  selectId
5264
5426
  );
@@ -5314,25 +5476,25 @@ var QuizFill = ({ paddingBottom }) => {
5314
5476
  }
5315
5477
  return elements;
5316
5478
  };
5317
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
5318
- /* @__PURE__ */ jsx17(QuizSubTitle, { subTitle: "Alternativas" }),
5319
- /* @__PURE__ */ jsx17(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ jsx17("div", { className: "space-y-6 px-4 h-auto", children: /* @__PURE__ */ jsx17(
5479
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5480
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
5481
+ /* @__PURE__ */ jsx18(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ jsx18("div", { className: "space-y-6 px-4 h-auto", children: /* @__PURE__ */ jsx18(
5320
5482
  "div",
5321
5483
  {
5322
5484
  className: cn(
5323
5485
  "text-lg text-text-900 leading-8 h-auto",
5324
5486
  variant != "result" && paddingBottom
5325
5487
  ),
5326
- children: renderTextWithSelects(exampleText).map((element) => /* @__PURE__ */ jsx17("span", { children: element.element }, element.id))
5488
+ children: renderTextWithSelects(exampleText).map((element) => /* @__PURE__ */ jsx18("span", { children: element.element }, element.id))
5327
5489
  }
5328
5490
  ) }) }),
5329
- variant === "result" && /* @__PURE__ */ jsxs14(Fragment6, { children: [
5330
- /* @__PURE__ */ jsx17(QuizSubTitle, { subTitle: "Resultado" }),
5331
- /* @__PURE__ */ jsx17(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ jsx17("div", { className: "space-y-6 px-4", children: /* @__PURE__ */ jsx17(
5491
+ variant === "result" && /* @__PURE__ */ jsxs15(Fragment6, { children: [
5492
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Resultado" }),
5493
+ /* @__PURE__ */ jsx18(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ jsx18("div", { className: "space-y-6 px-4", children: /* @__PURE__ */ jsx18(
5332
5494
  "div",
5333
5495
  {
5334
5496
  className: cn("text-lg text-text-900 leading-8", paddingBottom),
5335
- children: renderTextWithSelects(exampleText, true).map((element) => /* @__PURE__ */ jsx17("span", { children: element.element }, element.id))
5497
+ children: renderTextWithSelects(exampleText, true).map((element) => /* @__PURE__ */ jsx18("span", { children: element.element }, element.id))
5336
5498
  }
5337
5499
  ) }) })
5338
5500
  ] })
@@ -5386,36 +5548,36 @@ var QuizImageQuestion = ({ paddingBottom }) => {
5386
5548
  }
5387
5549
  return "bg-success-600/70 border-white";
5388
5550
  };
5389
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
5390
- /* @__PURE__ */ jsx17(QuizSubTitle, { subTitle: "Clique na \xE1rea correta" }),
5391
- /* @__PURE__ */ jsx17(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsxs14(
5551
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5552
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Clique na \xE1rea correta" }),
5553
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsxs15(
5392
5554
  "div",
5393
5555
  {
5394
5556
  "data-testid": "quiz-image-container",
5395
5557
  className: "space-y-6 p-3 relative inline-block",
5396
5558
  children: [
5397
- variant == "result" && /* @__PURE__ */ jsxs14(
5559
+ variant == "result" && /* @__PURE__ */ jsxs15(
5398
5560
  "div",
5399
5561
  {
5400
5562
  "data-testid": "quiz-legend",
5401
5563
  className: "flex items-center gap-4 text-xs",
5402
5564
  children: [
5403
- /* @__PURE__ */ jsxs14("div", { className: "flex items-center gap-2", children: [
5404
- /* @__PURE__ */ jsx17("div", { className: "w-3 h-3 rounded-full bg-indicator-primary/70 border border-[#F8CC2E]" }),
5405
- /* @__PURE__ */ jsx17("span", { className: "text-text-600 font-medium text-sm", children: "\xC1rea correta" })
5565
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2", children: [
5566
+ /* @__PURE__ */ jsx18("div", { className: "w-3 h-3 rounded-full bg-indicator-primary/70 border border-[#F8CC2E]" }),
5567
+ /* @__PURE__ */ jsx18("span", { className: "text-text-600 font-medium text-sm", children: "\xC1rea correta" })
5406
5568
  ] }),
5407
- /* @__PURE__ */ jsxs14("div", { className: "flex items-center gap-2", children: [
5408
- /* @__PURE__ */ jsx17("div", { className: "w-3 h-3 rounded-full bg-success-600/70 border border-white" }),
5409
- /* @__PURE__ */ jsx17("span", { className: "text-text-600 font-medium text-sm", children: "Resposta correta" })
5569
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2", children: [
5570
+ /* @__PURE__ */ jsx18("div", { className: "w-3 h-3 rounded-full bg-success-600/70 border border-white" }),
5571
+ /* @__PURE__ */ jsx18("span", { className: "text-text-600 font-medium text-sm", children: "Resposta correta" })
5410
5572
  ] }),
5411
- /* @__PURE__ */ jsxs14("div", { className: "flex items-center gap-2", children: [
5412
- /* @__PURE__ */ jsx17("div", { className: "w-3 h-3 rounded-full bg-indicator-error/70 border border-white" }),
5413
- /* @__PURE__ */ jsx17("span", { className: "text-text-600 font-medium text-sm", children: "Resposta incorreta" })
5573
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2", children: [
5574
+ /* @__PURE__ */ jsx18("div", { className: "w-3 h-3 rounded-full bg-indicator-error/70 border border-white" }),
5575
+ /* @__PURE__ */ jsx18("span", { className: "text-text-600 font-medium text-sm", children: "Resposta incorreta" })
5414
5576
  ] })
5415
5577
  ]
5416
5578
  }
5417
5579
  ),
5418
- /* @__PURE__ */ jsxs14(
5580
+ /* @__PURE__ */ jsxs15(
5419
5581
  "button",
5420
5582
  {
5421
5583
  "data-testid": "quiz-image-button",
@@ -5430,7 +5592,7 @@ var QuizImageQuestion = ({ paddingBottom }) => {
5430
5592
  },
5431
5593
  "aria-label": "\xC1rea da imagem interativa",
5432
5594
  children: [
5433
- /* @__PURE__ */ jsx17(
5595
+ /* @__PURE__ */ jsx18(
5434
5596
  "img",
5435
5597
  {
5436
5598
  "data-testid": "quiz-image",
@@ -5439,7 +5601,7 @@ var QuizImageQuestion = ({ paddingBottom }) => {
5439
5601
  className: "w-full h-auto rounded-md"
5440
5602
  }
5441
5603
  ),
5442
- variant === "result" && /* @__PURE__ */ jsx17(
5604
+ variant === "result" && /* @__PURE__ */ jsx18(
5443
5605
  "div",
5444
5606
  {
5445
5607
  "data-testid": "quiz-correct-circle",
@@ -5454,7 +5616,7 @@ var QuizImageQuestion = ({ paddingBottom }) => {
5454
5616
  }
5455
5617
  }
5456
5618
  ),
5457
- clickPositionRelative && /* @__PURE__ */ jsx17(
5619
+ clickPositionRelative && /* @__PURE__ */ jsx18(
5458
5620
  "div",
5459
5621
  {
5460
5622
  "data-testid": "quiz-user-circle",
@@ -5522,18 +5684,18 @@ var QuizQuestionList = ({
5522
5684
  return "Em branco";
5523
5685
  }
5524
5686
  };
5525
- return /* @__PURE__ */ jsxs14("div", { className: "space-y-6 px-4 h-full", children: [
5526
- Object.entries(filteredGroupedQuestions).length == 0 && /* @__PURE__ */ jsx17("div", { className: "flex items-center justify-center text-gray-500 py-8 h-full", children: /* @__PURE__ */ jsx17("p", { className: "text-lg", children: "Nenhum resultado" }) }),
5687
+ return /* @__PURE__ */ jsxs15("div", { className: "space-y-6 px-4 h-full", children: [
5688
+ Object.entries(filteredGroupedQuestions).length == 0 && /* @__PURE__ */ jsx18("div", { className: "flex items-center justify-center text-gray-500 py-8 h-full", children: /* @__PURE__ */ jsx18("p", { className: "text-lg", children: "Nenhum resultado" }) }),
5527
5689
  Object.entries(filteredGroupedQuestions).map(
5528
- ([subjectId, questions]) => /* @__PURE__ */ jsxs14("section", { className: "flex flex-col gap-2", children: [
5529
- /* @__PURE__ */ jsxs14("span", { className: "pt-6 pb-4 flex flex-row gap-2", children: [
5530
- /* @__PURE__ */ jsx17("div", { className: "bg-primary-500 p-1 rounded-sm flex items-center justify-center", children: /* @__PURE__ */ jsx17(BookOpen, { size: 17, className: "text-white" }) }),
5531
- /* @__PURE__ */ jsx17("p", { className: "text-text-800 font-bold text-lg", children: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" })
5690
+ ([subjectId, questions]) => /* @__PURE__ */ jsxs15("section", { className: "flex flex-col gap-2", children: [
5691
+ /* @__PURE__ */ jsxs15("span", { className: "pt-6 pb-4 flex flex-row gap-2", children: [
5692
+ /* @__PURE__ */ jsx18("div", { className: "bg-primary-500 p-1 rounded-sm flex items-center justify-center", children: /* @__PURE__ */ jsx18(BookOpen, { size: 17, className: "text-white" }) }),
5693
+ /* @__PURE__ */ jsx18("p", { className: "text-text-800 font-bold text-lg", children: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" })
5532
5694
  ] }),
5533
- /* @__PURE__ */ jsx17("ul", { className: "flex flex-col gap-2", children: questions.map((question) => {
5695
+ /* @__PURE__ */ jsx18("ul", { className: "flex flex-col gap-2", children: questions.map((question) => {
5534
5696
  const status = getQuestionStatus(question.id);
5535
5697
  const questionNumber = getQuestionIndex(question.id);
5536
- return /* @__PURE__ */ jsx17(
5698
+ return /* @__PURE__ */ jsx18(
5537
5699
  CardStatus,
5538
5700
  {
5539
5701
  header: `Quest\xE3o ${questionNumber.toString().padStart(2, "0")}`,
@@ -5613,8 +5775,8 @@ var QuizFooter = forwardRef10(
5613
5775
  return;
5614
5776
  }
5615
5777
  };
5616
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
5617
- /* @__PURE__ */ jsx17(
5778
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5779
+ /* @__PURE__ */ jsx18(
5618
5780
  "footer",
5619
5781
  {
5620
5782
  ref,
@@ -5623,17 +5785,17 @@ var QuizFooter = forwardRef10(
5623
5785
  className
5624
5786
  ),
5625
5787
  ...props,
5626
- children: variant === "default" ? /* @__PURE__ */ jsxs14(Fragment6, { children: [
5627
- /* @__PURE__ */ jsxs14("div", { className: "flex flex-row items-center gap-1", children: [
5628
- /* @__PURE__ */ jsx17(
5788
+ children: variant === "default" ? /* @__PURE__ */ jsxs15(Fragment6, { children: [
5789
+ /* @__PURE__ */ jsxs15("div", { className: "flex flex-row items-center gap-1", children: [
5790
+ /* @__PURE__ */ jsx18(
5629
5791
  IconButton_default,
5630
5792
  {
5631
- icon: /* @__PURE__ */ jsx17(SquaresFour, { size: 24, className: "text-text-950" }),
5793
+ icon: /* @__PURE__ */ jsx18(SquaresFour, { size: 24, className: "text-text-950" }),
5632
5794
  size: "md",
5633
5795
  onClick: () => setModalNavigateOpen(true)
5634
5796
  }
5635
5797
  ),
5636
- isFirstQuestion ? /* @__PURE__ */ jsx17(
5798
+ isFirstQuestion ? /* @__PURE__ */ jsx18(
5637
5799
  Button_default,
5638
5800
  {
5639
5801
  variant: "outline",
@@ -5644,13 +5806,13 @@ var QuizFooter = forwardRef10(
5644
5806
  },
5645
5807
  children: "Pular"
5646
5808
  }
5647
- ) : /* @__PURE__ */ jsx17(
5809
+ ) : /* @__PURE__ */ jsx18(
5648
5810
  Button_default,
5649
5811
  {
5650
5812
  size: "medium",
5651
5813
  variant: "link",
5652
5814
  action: "primary",
5653
- iconLeft: /* @__PURE__ */ jsx17(CaretLeft, { size: 18 }),
5815
+ iconLeft: /* @__PURE__ */ jsx18(CaretLeft, { size: 18 }),
5654
5816
  onClick: () => {
5655
5817
  goToPreviousQuestion();
5656
5818
  },
@@ -5658,7 +5820,7 @@ var QuizFooter = forwardRef10(
5658
5820
  }
5659
5821
  )
5660
5822
  ] }),
5661
- !isFirstQuestion && !isLastQuestion && /* @__PURE__ */ jsx17(
5823
+ !isFirstQuestion && !isLastQuestion && /* @__PURE__ */ jsx18(
5662
5824
  Button_default,
5663
5825
  {
5664
5826
  size: "small",
@@ -5671,7 +5833,7 @@ var QuizFooter = forwardRef10(
5671
5833
  children: "Pular"
5672
5834
  }
5673
5835
  ),
5674
- isLastQuestion ? /* @__PURE__ */ jsx17(
5836
+ isLastQuestion ? /* @__PURE__ */ jsx18(
5675
5837
  Button_default,
5676
5838
  {
5677
5839
  size: "medium",
@@ -5681,13 +5843,13 @@ var QuizFooter = forwardRef10(
5681
5843
  onClick: handleFinishQuiz,
5682
5844
  children: "Finalizar"
5683
5845
  }
5684
- ) : /* @__PURE__ */ jsx17(
5846
+ ) : /* @__PURE__ */ jsx18(
5685
5847
  Button_default,
5686
5848
  {
5687
5849
  size: "medium",
5688
5850
  variant: "link",
5689
5851
  action: "primary",
5690
- iconRight: /* @__PURE__ */ jsx17(CaretRight2, { size: 18 }),
5852
+ iconRight: /* @__PURE__ */ jsx18(CaretRight2, { size: 18 }),
5691
5853
  disabled: !currentAnswer && !isCurrentQuestionSkipped,
5692
5854
  onClick: () => {
5693
5855
  goToNextQuestion();
@@ -5695,7 +5857,7 @@ var QuizFooter = forwardRef10(
5695
5857
  children: "Avan\xE7ar"
5696
5858
  }
5697
5859
  )
5698
- ] }) : /* @__PURE__ */ jsx17("div", { className: "flex flex-row items-center justify-end w-full", children: /* @__PURE__ */ jsx17(
5860
+ ] }) : /* @__PURE__ */ jsx18("div", { className: "flex flex-row items-center justify-end w-full", children: /* @__PURE__ */ jsx18(
5699
5861
  Button_default,
5700
5862
  {
5701
5863
  variant: "solid",
@@ -5707,7 +5869,7 @@ var QuizFooter = forwardRef10(
5707
5869
  ) })
5708
5870
  }
5709
5871
  ),
5710
- /* @__PURE__ */ jsx17(
5872
+ /* @__PURE__ */ jsx18(
5711
5873
  AlertDialog,
5712
5874
  {
5713
5875
  isOpen: alertDialogOpen,
@@ -5719,7 +5881,7 @@ var QuizFooter = forwardRef10(
5719
5881
  onSubmit: handleAlertSubmit
5720
5882
  }
5721
5883
  ),
5722
- /* @__PURE__ */ jsx17(
5884
+ /* @__PURE__ */ jsx18(
5723
5885
  Modal_default,
5724
5886
  {
5725
5887
  isOpen: modalResultOpen,
@@ -5729,11 +5891,11 @@ var QuizFooter = forwardRef10(
5729
5891
  closeOnEscape: false,
5730
5892
  hideCloseButton: true,
5731
5893
  size: "md",
5732
- children: /* @__PURE__ */ jsxs14("div", { className: "flex flex-col w-full h-full items-center justify-center gap-4", children: [
5733
- resultImageComponent ? /* @__PURE__ */ jsx17("div", { className: "w-[282px] h-auto", children: resultImageComponent }) : /* @__PURE__ */ jsx17("div", { className: "w-[282px] h-[200px] bg-gray-100 rounded-md flex items-center justify-center", children: /* @__PURE__ */ jsx17("span", { className: "text-gray-500 text-sm", children: "Imagem de resultado" }) }),
5734
- /* @__PURE__ */ jsxs14("div", { className: "flex flex-col gap-2 text-center", children: [
5735
- /* @__PURE__ */ jsx17("h2", { className: "text-text-950 font-bold text-lg", children: "Voc\xEA concluiu o simulado!" }),
5736
- /* @__PURE__ */ jsxs14("p", { className: "text-text-500 font-sm", children: [
5894
+ children: /* @__PURE__ */ jsxs15("div", { className: "flex flex-col w-full h-full items-center justify-center gap-4", children: [
5895
+ resultImageComponent ? /* @__PURE__ */ jsx18("div", { className: "w-[282px] h-auto", children: resultImageComponent }) : /* @__PURE__ */ jsx18("div", { className: "w-[282px] h-[200px] bg-gray-100 rounded-md flex items-center justify-center", children: /* @__PURE__ */ jsx18("span", { className: "text-gray-500 text-sm", children: "Imagem de resultado" }) }),
5896
+ /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-2 text-center", children: [
5897
+ /* @__PURE__ */ jsx18("h2", { className: "text-text-950 font-bold text-lg", children: "Voc\xEA concluiu o simulado!" }),
5898
+ /* @__PURE__ */ jsxs15("p", { className: "text-text-500 font-sm", children: [
5737
5899
  "Voc\xEA acertou",
5738
5900
  " ",
5739
5901
  getQuestionResultStatistics()?.correctAnswers ?? "--",
@@ -5743,8 +5905,8 @@ var QuizFooter = forwardRef10(
5743
5905
  " quest\xF5es."
5744
5906
  ] })
5745
5907
  ] }),
5746
- /* @__PURE__ */ jsxs14("div", { className: "px-6 flex flex-row items-center gap-2 w-full", children: [
5747
- /* @__PURE__ */ jsx17(
5908
+ /* @__PURE__ */ jsxs15("div", { className: "px-6 flex flex-row items-center gap-2 w-full", children: [
5909
+ /* @__PURE__ */ jsx18(
5748
5910
  Button_default,
5749
5911
  {
5750
5912
  variant: "outline",
@@ -5754,38 +5916,38 @@ var QuizFooter = forwardRef10(
5754
5916
  children: "Ir para simulados"
5755
5917
  }
5756
5918
  ),
5757
- /* @__PURE__ */ jsx17(Button_default, { className: "w-full", onClick: onDetailResult, children: "Detalhar resultado" })
5919
+ /* @__PURE__ */ jsx18(Button_default, { className: "w-full", onClick: onDetailResult, children: "Detalhar resultado" })
5758
5920
  ] })
5759
5921
  ] })
5760
5922
  }
5761
5923
  ),
5762
- /* @__PURE__ */ jsx17(
5924
+ /* @__PURE__ */ jsx18(
5763
5925
  Modal_default,
5764
5926
  {
5765
5927
  isOpen: modalNavigateOpen,
5766
5928
  onClose: () => setModalNavigateOpen(false),
5767
5929
  title: "Quest\xF5es",
5768
5930
  size: "lg",
5769
- children: /* @__PURE__ */ jsxs14("div", { className: "flex flex-col w-full h-full", children: [
5770
- /* @__PURE__ */ jsxs14("div", { className: "flex flex-row justify-between items-center py-6 pt-6 pb-4 border-b border-border-200", children: [
5771
- /* @__PURE__ */ jsx17("p", { className: "text-text-950 font-bold text-lg", children: "Filtrar por" }),
5772
- /* @__PURE__ */ jsx17("span", { className: "max-w-[266px]", children: /* @__PURE__ */ jsxs14(Select_default, { value: filterType, onValueChange: setFilterType, children: [
5773
- /* @__PURE__ */ jsx17(
5931
+ children: /* @__PURE__ */ jsxs15("div", { className: "flex flex-col w-full h-full", children: [
5932
+ /* @__PURE__ */ jsxs15("div", { className: "flex flex-row justify-between items-center py-6 pt-6 pb-4 border-b border-border-200", children: [
5933
+ /* @__PURE__ */ jsx18("p", { className: "text-text-950 font-bold text-lg", children: "Filtrar por" }),
5934
+ /* @__PURE__ */ jsx18("span", { className: "max-w-[266px]", children: /* @__PURE__ */ jsxs15(Select_default, { value: filterType, onValueChange: setFilterType, children: [
5935
+ /* @__PURE__ */ jsx18(
5774
5936
  SelectTrigger,
5775
5937
  {
5776
5938
  variant: "rounded",
5777
5939
  className: "max-w-[266px] min-w-[160px]",
5778
- children: /* @__PURE__ */ jsx17(SelectValue, { placeholder: "Selecione uma op\xE7\xE3o" })
5940
+ children: /* @__PURE__ */ jsx18(SelectValue, { placeholder: "Selecione uma op\xE7\xE3o" })
5779
5941
  }
5780
5942
  ),
5781
- /* @__PURE__ */ jsxs14(SelectContent, { children: [
5782
- /* @__PURE__ */ jsx17(SelectItem, { value: "all", children: "Todas" }),
5783
- /* @__PURE__ */ jsx17(SelectItem, { value: "unanswered", children: "Em branco" }),
5784
- /* @__PURE__ */ jsx17(SelectItem, { value: "answered", children: "Respondidas" })
5943
+ /* @__PURE__ */ jsxs15(SelectContent, { children: [
5944
+ /* @__PURE__ */ jsx18(SelectItem, { value: "all", children: "Todas" }),
5945
+ /* @__PURE__ */ jsx18(SelectItem, { value: "unanswered", children: "Em branco" }),
5946
+ /* @__PURE__ */ jsx18(SelectItem, { value: "answered", children: "Respondidas" })
5785
5947
  ] })
5786
5948
  ] }) })
5787
5949
  ] }),
5788
- /* @__PURE__ */ jsx17("div", { className: "flex flex-col gap-2 not-lg:h-[calc(100vh-200px)] lg:max-h-[687px] lg:h-[687px] overflow-y-auto", children: /* @__PURE__ */ jsx17(
5950
+ /* @__PURE__ */ jsx18("div", { className: "flex flex-col gap-2 not-lg:h-[calc(100vh-200px)] lg:max-h-[687px] lg:h-[687px] overflow-y-auto", children: /* @__PURE__ */ jsx18(
5789
5951
  QuizQuestionList,
5790
5952
  {
5791
5953
  filterType,
@@ -5795,7 +5957,7 @@ var QuizFooter = forwardRef10(
5795
5957
  ] })
5796
5958
  }
5797
5959
  ),
5798
- /* @__PURE__ */ jsx17(
5960
+ /* @__PURE__ */ jsx18(
5799
5961
  Modal_default,
5800
5962
  {
5801
5963
  isOpen: modalResolutionOpen,
@@ -5808,17 +5970,33 @@ var QuizFooter = forwardRef10(
5808
5970
  ] });
5809
5971
  }
5810
5972
  );
5973
+ var QuizBadge = ({ subtype }) => {
5974
+ switch (subtype) {
5975
+ case "PROVA":
5976
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Prova" });
5977
+ case "ENEM":
5978
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Enem" });
5979
+ case "VESTIBULAR":
5980
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Vestibular" });
5981
+ case "SIMULADO":
5982
+ case null:
5983
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Simulado" });
5984
+ default:
5985
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: subtype });
5986
+ }
5987
+ };
5811
5988
  var QuizResultHeaderTitle = forwardRef10(({ className, ...props }, ref) => {
5812
- const { bySimulated } = useQuizStore();
5813
- return /* @__PURE__ */ jsxs14(
5989
+ const { getActiveQuiz } = useQuizStore();
5990
+ const activeQuiz = getActiveQuiz();
5991
+ return /* @__PURE__ */ jsxs15(
5814
5992
  "div",
5815
5993
  {
5816
5994
  ref,
5817
5995
  className: cn("flex flex-row pt-4 justify-between", className),
5818
5996
  ...props,
5819
5997
  children: [
5820
- /* @__PURE__ */ jsx17("p", { className: "text-text-950 font-bold text-2xl", children: "Resultado" }),
5821
- bySimulated && /* @__PURE__ */ jsx17(Badge_default, { variant: "solid", action: "info", children: bySimulated.type })
5998
+ /* @__PURE__ */ jsx18("p", { className: "text-text-950 font-bold text-2xl", children: "Resultado" }),
5999
+ /* @__PURE__ */ jsx18(QuizBadge, { subtype: activeQuiz?.quiz.subtype || null })
5822
6000
  ]
5823
6001
  }
5824
6002
  );
@@ -5826,7 +6004,7 @@ var QuizResultHeaderTitle = forwardRef10(({ className, ...props }, ref) => {
5826
6004
  var QuizResultTitle = forwardRef10(({ className, ...props }, ref) => {
5827
6005
  const { getQuizTitle } = useQuizStore();
5828
6006
  const quizTitle = getQuizTitle();
5829
- return /* @__PURE__ */ jsx17(
6007
+ return /* @__PURE__ */ jsx18(
5830
6008
  "p",
5831
6009
  {
5832
6010
  className: cn("pt-6 pb-4 text-text-950 font-bold text-lg", className),
@@ -5879,15 +6057,15 @@ var QuizResultPerformance = forwardRef10(
5879
6057
  });
5880
6058
  }
5881
6059
  const percentage = totalQuestions > 0 ? Math.round(correctAnswers / totalQuestions * 100) : 0;
5882
- return /* @__PURE__ */ jsxs14(
6060
+ return /* @__PURE__ */ jsxs15(
5883
6061
  "div",
5884
6062
  {
5885
6063
  className: "flex flex-row gap-6 p-6 rounded-xl bg-background justify-between",
5886
6064
  ref,
5887
6065
  ...props,
5888
6066
  children: [
5889
- /* @__PURE__ */ jsxs14("div", { className: "relative", children: [
5890
- /* @__PURE__ */ jsx17(
6067
+ /* @__PURE__ */ jsxs15("div", { className: "relative", children: [
6068
+ /* @__PURE__ */ jsx18(
5891
6069
  ProgressCircle_default,
5892
6070
  {
5893
6071
  size: "medium",
@@ -5897,22 +6075,22 @@ var QuizResultPerformance = forwardRef10(
5897
6075
  label: ""
5898
6076
  }
5899
6077
  ),
5900
- /* @__PURE__ */ jsxs14("div", { className: "absolute inset-0 flex flex-col items-center justify-center", children: [
5901
- /* @__PURE__ */ jsxs14("div", { className: "flex items-center gap-1 mb-1", children: [
5902
- /* @__PURE__ */ jsx17(Clock2, { size: 12, weight: "regular", className: "text-text-800" }),
5903
- /* @__PURE__ */ jsx17("span", { className: "text-2xs font-medium text-text-800", children: formatTime(timeElapsed) })
6078
+ /* @__PURE__ */ jsxs15("div", { className: "absolute inset-0 flex flex-col items-center justify-center", children: [
6079
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-1 mb-1", children: [
6080
+ /* @__PURE__ */ jsx18(Clock2, { size: 12, weight: "regular", className: "text-text-800" }),
6081
+ /* @__PURE__ */ jsx18("span", { className: "text-2xs font-medium text-text-800", children: formatTime(timeElapsed) })
5904
6082
  ] }),
5905
- /* @__PURE__ */ jsxs14("div", { className: "text-2xl font-medium text-text-800 leading-7", children: [
6083
+ /* @__PURE__ */ jsxs15("div", { className: "text-2xl font-medium text-text-800 leading-7", children: [
5906
6084
  getQuestionResultStatistics()?.correctAnswers ?? "--",
5907
6085
  " de",
5908
6086
  " ",
5909
6087
  totalQuestions
5910
6088
  ] }),
5911
- /* @__PURE__ */ jsx17("div", { className: "text-2xs font-medium text-text-600 mt-1", children: "Corretas" })
6089
+ /* @__PURE__ */ jsx18("div", { className: "text-2xs font-medium text-text-600 mt-1", children: "Corretas" })
5912
6090
  ] })
5913
6091
  ] }),
5914
- /* @__PURE__ */ jsxs14("div", { className: "flex flex-col gap-4 w-full", children: [
5915
- /* @__PURE__ */ jsx17(
6092
+ /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-4 w-full", children: [
6093
+ /* @__PURE__ */ jsx18(
5916
6094
  ProgressBar_default,
5917
6095
  {
5918
6096
  className: "w-full",
@@ -5926,7 +6104,7 @@ var QuizResultPerformance = forwardRef10(
5926
6104
  percentageClassName: "text-xs font-medium leading-[14px] text-right"
5927
6105
  }
5928
6106
  ),
5929
- /* @__PURE__ */ jsx17(
6107
+ /* @__PURE__ */ jsx18(
5930
6108
  ProgressBar_default,
5931
6109
  {
5932
6110
  className: "w-full",
@@ -5940,7 +6118,7 @@ var QuizResultPerformance = forwardRef10(
5940
6118
  percentageClassName: "text-xs font-medium leading-[14px] text-right"
5941
6119
  }
5942
6120
  ),
5943
- /* @__PURE__ */ jsx17(
6121
+ /* @__PURE__ */ jsx18(
5944
6122
  ProgressBar_default,
5945
6123
  {
5946
6124
  className: "w-full",
@@ -5977,7 +6155,9 @@ var QuizListResult = forwardRef10(({ className, onSubjectClick, ...props }, ref)
5977
6155
  return {
5978
6156
  subject: {
5979
6157
  name: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria",
5980
- id: subjectId
6158
+ id: subjectId,
6159
+ color: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.color ?? "",
6160
+ icon: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.icon ?? ""
5981
6161
  },
5982
6162
  correct,
5983
6163
  incorrect,
@@ -5985,9 +6165,9 @@ var QuizListResult = forwardRef10(({ className, onSubjectClick, ...props }, ref)
5985
6165
  };
5986
6166
  }
5987
6167
  );
5988
- return /* @__PURE__ */ jsxs14("section", { ref, className, ...props, children: [
5989
- /* @__PURE__ */ jsx17("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Mat\xE9rias" }),
5990
- /* @__PURE__ */ jsx17("ul", { className: "flex flex-col gap-2", children: subjectsStats.map((subject) => /* @__PURE__ */ jsx17("li", { children: /* @__PURE__ */ jsx17(
6168
+ return /* @__PURE__ */ jsxs15("section", { ref, className, ...props, children: [
6169
+ /* @__PURE__ */ jsx18("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Mat\xE9rias" }),
6170
+ /* @__PURE__ */ jsx18("ul", { className: "flex flex-col gap-2", children: subjectsStats.map((subject) => /* @__PURE__ */ jsx18("li", { children: /* @__PURE__ */ jsx18(
5991
6171
  CardResults,
5992
6172
  {
5993
6173
  onClick: () => onSubjectClick?.(subject.subject.id),
@@ -5995,7 +6175,8 @@ var QuizListResult = forwardRef10(({ className, onSubjectClick, ...props }, ref)
5995
6175
  header: subject.subject.name,
5996
6176
  correct_answers: subject.correct,
5997
6177
  incorrect_answers: subject.incorrect,
5998
- icon: /* @__PURE__ */ jsx17(Book, { size: 20 }),
6178
+ icon: subject.subject.icon || "Book",
6179
+ color: subject.subject.color || void 0,
5999
6180
  direction: "row"
6000
6181
  }
6001
6182
  ) }, subject.subject.id)) })
@@ -6008,16 +6189,16 @@ var QuizListResultByMateria = ({
6008
6189
  const { getQuestionsGroupedBySubject, getQuestionIndex } = useQuizStore();
6009
6190
  const groupedQuestions = getQuestionsGroupedBySubject();
6010
6191
  const answeredQuestions = groupedQuestions[subject] || [];
6011
- return /* @__PURE__ */ jsxs14("div", { className: "flex flex-col", children: [
6012
- /* @__PURE__ */ jsx17("div", { className: "flex flex-row pt-4 justify-between", children: /* @__PURE__ */ jsx17("p", { className: "text-text-950 font-bold text-2xl", children: answeredQuestions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" }) }),
6013
- /* @__PURE__ */ jsxs14("section", { className: "flex flex-col ", children: [
6014
- /* @__PURE__ */ jsx17("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Resultado das quest\xF5es" }),
6015
- /* @__PURE__ */ jsx17("ul", { className: "flex flex-col gap-2 pt-4", children: answeredQuestions.map((question) => {
6192
+ return /* @__PURE__ */ jsxs15("div", { className: "flex flex-col", children: [
6193
+ /* @__PURE__ */ jsx18("div", { className: "flex flex-row pt-4 justify-between", children: /* @__PURE__ */ jsx18("p", { className: "text-text-950 font-bold text-2xl", children: answeredQuestions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" }) }),
6194
+ /* @__PURE__ */ jsxs15("section", { className: "flex flex-col ", children: [
6195
+ /* @__PURE__ */ jsx18("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Resultado das quest\xF5es" }),
6196
+ /* @__PURE__ */ jsx18("ul", { className: "flex flex-col gap-2 pt-4", children: answeredQuestions.map((question) => {
6016
6197
  const questionIndex = getQuestionIndex(
6017
6198
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6018
6199
  question.questionId ?? question.id
6019
6200
  );
6020
- return /* @__PURE__ */ jsx17("li", { children: /* @__PURE__ */ jsx17(
6201
+ return /* @__PURE__ */ jsx18("li", { children: /* @__PURE__ */ jsx18(
6021
6202
  CardStatus,
6022
6203
  {
6023
6204
  className: "max-w-full",