analytica-frontend-lib 1.1.30 → 1.1.31

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";
@@ -2030,12 +2029,10 @@ var SelectItem = forwardRef5(
2030
2029
  const handleClick = (e) => {
2031
2030
  const labelNode = getLabelAsNode(children);
2032
2031
  if (!disabled) {
2033
- const newValue = selectedValue === value ? "" : value;
2034
- const newLabel = selectedValue === value ? "" : labelNode;
2035
- setValue(newValue);
2036
- setSelectedLabel(newLabel);
2032
+ setValue(value);
2033
+ setSelectedLabel(labelNode);
2037
2034
  setOpen(false);
2038
- onValueChange?.(newValue);
2035
+ onValueChange?.(value);
2039
2036
  }
2040
2037
  props.onClick?.(e);
2041
2038
  };
@@ -2566,7 +2563,132 @@ import {
2566
2563
  SpeakerSimpleX,
2567
2564
  XCircle as XCircle2
2568
2565
  } from "phosphor-react";
2569
- import { Fragment as Fragment5, jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
2566
+
2567
+ // src/components/IconRender/IconRender.tsx
2568
+ import * as PhosphorIcons from "phosphor-react";
2569
+ import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
2570
+ var ChatPT = ({ size, color }) => /* @__PURE__ */ jsxs9(
2571
+ "svg",
2572
+ {
2573
+ width: size,
2574
+ height: size,
2575
+ viewBox: "0 0 32 32",
2576
+ fill: "none",
2577
+ xmlns: "http://www.w3.org/2000/svg",
2578
+ children: [
2579
+ /* @__PURE__ */ jsx11(
2580
+ "path",
2581
+ {
2582
+ 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",
2583
+ fill: color
2584
+ }
2585
+ ),
2586
+ /* @__PURE__ */ jsx11(
2587
+ "path",
2588
+ {
2589
+ d: "M21.1758 12V20.5312H19.7168V12H21.1758ZM23.8535 12V13.1719H17.0625V12H23.8535Z",
2590
+ fill: color
2591
+ }
2592
+ ),
2593
+ /* @__PURE__ */ jsx11(
2594
+ "path",
2595
+ {
2596
+ 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",
2597
+ fill: color
2598
+ }
2599
+ )
2600
+ ]
2601
+ }
2602
+ );
2603
+ var ChatEN = ({ size, color }) => /* @__PURE__ */ jsxs9(
2604
+ "svg",
2605
+ {
2606
+ width: size,
2607
+ height: size,
2608
+ viewBox: "0 0 32 32",
2609
+ fill: "none",
2610
+ xmlns: "http://www.w3.org/2000/svg",
2611
+ children: [
2612
+ /* @__PURE__ */ jsx11(
2613
+ "path",
2614
+ {
2615
+ 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",
2616
+ fill: color
2617
+ }
2618
+ ),
2619
+ /* @__PURE__ */ jsx11(
2620
+ "path",
2621
+ {
2622
+ d: "M22.5488 12V20.5312H21.0781L17.252 14.4199V20.5312H15.7812V12H17.252L21.0898 18.123V12H22.5488Z",
2623
+ fill: color
2624
+ }
2625
+ ),
2626
+ /* @__PURE__ */ jsx11(
2627
+ "path",
2628
+ {
2629
+ 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",
2630
+ fill: color
2631
+ }
2632
+ )
2633
+ ]
2634
+ }
2635
+ );
2636
+ var ChatES = ({ size, color }) => /* @__PURE__ */ jsxs9(
2637
+ "svg",
2638
+ {
2639
+ width: size,
2640
+ height: size,
2641
+ viewBox: "0 0 32 32",
2642
+ fill: "none",
2643
+ xmlns: "http://www.w3.org/2000/svg",
2644
+ children: [
2645
+ /* @__PURE__ */ jsx11(
2646
+ "path",
2647
+ {
2648
+ 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",
2649
+ fill: color
2650
+ }
2651
+ ),
2652
+ /* @__PURE__ */ jsx11(
2653
+ "path",
2654
+ {
2655
+ 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",
2656
+ fill: color
2657
+ }
2658
+ ),
2659
+ /* @__PURE__ */ jsx11(
2660
+ "path",
2661
+ {
2662
+ 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",
2663
+ fill: color
2664
+ }
2665
+ )
2666
+ ]
2667
+ }
2668
+ );
2669
+ var IconRender = ({
2670
+ iconName,
2671
+ color = "#000000",
2672
+ size = 24,
2673
+ weight = "regular"
2674
+ }) => {
2675
+ switch (iconName) {
2676
+ case "Chat_PT":
2677
+ return /* @__PURE__ */ jsx11(ChatPT, { size, color });
2678
+ case "Chat_EN":
2679
+ return /* @__PURE__ */ jsx11(ChatEN, { size, color });
2680
+ case "Chat_ES":
2681
+ return /* @__PURE__ */ jsx11(ChatES, { size, color });
2682
+ default: {
2683
+ const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
2684
+ return /* @__PURE__ */ jsx11(IconComponent, { size, color, weight });
2685
+ }
2686
+ }
2687
+ };
2688
+ var IconRender_default = IconRender;
2689
+
2690
+ // src/components/Card/Card.tsx
2691
+ import { Fragment as Fragment5, jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
2570
2692
  var CARD_BASE_CLASSES = {
2571
2693
  default: "w-full bg-background border border-border-50 rounded-xl",
2572
2694
  compact: "w-full bg-background border border-border-50 rounded-lg",
@@ -2616,7 +2738,7 @@ var CardBase = forwardRef6(
2616
2738
  cursorClasses,
2617
2739
  className
2618
2740
  ].filter(Boolean).join(" ");
2619
- return /* @__PURE__ */ jsx11("div", { ref, className: combinedClasses, ...props, children });
2741
+ return /* @__PURE__ */ jsx12("div", { ref, className: combinedClasses, ...props, children });
2620
2742
  }
2621
2743
  );
2622
2744
  var ACTION_CARD_CLASSES = {
@@ -2659,7 +2781,7 @@ var CardActivitiesResults = forwardRef6(
2659
2781
  const actionIconClasses = ACTION_ICON_CLASSES[action];
2660
2782
  const actionSubTitleClasses = ACTION_SUBTITLE_CLASSES[action];
2661
2783
  const actionHeaderClasses = ACTION_HEADER_CLASSES[action];
2662
- return /* @__PURE__ */ jsxs9(
2784
+ return /* @__PURE__ */ jsxs10(
2663
2785
  "div",
2664
2786
  {
2665
2787
  ref,
@@ -2669,7 +2791,7 @@ var CardActivitiesResults = forwardRef6(
2669
2791
  ),
2670
2792
  ...props,
2671
2793
  children: [
2672
- /* @__PURE__ */ jsxs9(
2794
+ /* @__PURE__ */ jsxs10(
2673
2795
  "div",
2674
2796
  {
2675
2797
  className: cn(
@@ -2678,7 +2800,7 @@ var CardActivitiesResults = forwardRef6(
2678
2800
  extended ? "rounded-t-xl" : "rounded-xl"
2679
2801
  ),
2680
2802
  children: [
2681
- /* @__PURE__ */ jsx11(
2803
+ /* @__PURE__ */ jsx12(
2682
2804
  "span",
2683
2805
  {
2684
2806
  className: cn(
@@ -2688,7 +2810,7 @@ var CardActivitiesResults = forwardRef6(
2688
2810
  children: icon
2689
2811
  }
2690
2812
  ),
2691
- /* @__PURE__ */ jsx11(
2813
+ /* @__PURE__ */ jsx12(
2692
2814
  Text_default,
2693
2815
  {
2694
2816
  size: "2xs",
@@ -2697,7 +2819,7 @@ var CardActivitiesResults = forwardRef6(
2697
2819
  children: title
2698
2820
  }
2699
2821
  ),
2700
- /* @__PURE__ */ jsx11(
2822
+ /* @__PURE__ */ jsx12(
2701
2823
  "p",
2702
2824
  {
2703
2825
  className: cn("text-lg font-bold truncate", actionSubTitleClasses),
@@ -2707,8 +2829,8 @@ var CardActivitiesResults = forwardRef6(
2707
2829
  ]
2708
2830
  }
2709
2831
  ),
2710
- extended && /* @__PURE__ */ jsxs9("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
2711
- /* @__PURE__ */ jsx11(
2832
+ extended && /* @__PURE__ */ jsxs10("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
2833
+ /* @__PURE__ */ jsx12(
2712
2834
  "p",
2713
2835
  {
2714
2836
  className: cn(
@@ -2718,7 +2840,7 @@ var CardActivitiesResults = forwardRef6(
2718
2840
  children: header
2719
2841
  }
2720
2842
  ),
2721
- /* @__PURE__ */ jsx11(Badge_default, { size: "large", action: "info", children: description })
2843
+ /* @__PURE__ */ jsx12(Badge_default, { size: "large", action: "info", children: description })
2722
2844
  ] })
2723
2845
  ]
2724
2846
  }
@@ -2737,7 +2859,7 @@ var CardQuestions = forwardRef6(
2737
2859
  const isDone = state === "done";
2738
2860
  const stateLabel = isDone ? "Realizado" : "N\xE3o Realizado";
2739
2861
  const buttonLabel = isDone ? "Ver Quest\xE3o" : "Responder";
2740
- return /* @__PURE__ */ jsxs9(
2862
+ return /* @__PURE__ */ jsxs10(
2741
2863
  CardBase,
2742
2864
  {
2743
2865
  ref,
@@ -2747,10 +2869,10 @@ var CardQuestions = forwardRef6(
2747
2869
  className: cn("justify-between gap-4", className),
2748
2870
  ...props,
2749
2871
  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(
2872
+ /* @__PURE__ */ jsxs10("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
2873
+ /* @__PURE__ */ jsx12("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
2874
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row gap-6 items-center", children: [
2875
+ /* @__PURE__ */ jsx12(
2754
2876
  Badge_default,
2755
2877
  {
2756
2878
  size: "medium",
@@ -2759,13 +2881,13 @@ var CardQuestions = forwardRef6(
2759
2881
  children: stateLabel
2760
2882
  }
2761
2883
  ),
2762
- /* @__PURE__ */ jsxs9("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
2884
+ /* @__PURE__ */ jsxs10("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
2763
2885
  isDone ? "Nota" : "Sem nota",
2764
- isDone && /* @__PURE__ */ jsx11(Badge_default, { size: "medium", action: "success", children: "00" })
2886
+ isDone && /* @__PURE__ */ jsx12(Badge_default, { size: "medium", action: "success", children: "00" })
2765
2887
  ] })
2766
2888
  ] })
2767
2889
  ] }),
2768
- /* @__PURE__ */ jsx11("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx11(
2890
+ /* @__PURE__ */ jsx12("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx12(
2769
2891
  Button_default,
2770
2892
  {
2771
2893
  size: "extra-small",
@@ -2796,19 +2918,19 @@ var CardProgress = forwardRef6(
2796
2918
  }, ref) => {
2797
2919
  const isHorizontal = direction === "horizontal";
2798
2920
  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 })
2921
+ horizontal: /* @__PURE__ */ jsxs10(Fragment5, { children: [
2922
+ showDates && /* @__PURE__ */ jsxs10("div", { className: "flex flex-row gap-6 items-center", children: [
2923
+ initialDate && /* @__PURE__ */ jsxs10("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
2924
+ /* @__PURE__ */ jsx12("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
2925
+ /* @__PURE__ */ jsx12("p", { className: "text-text-600", children: initialDate })
2804
2926
  ] }),
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 })
2927
+ endDate && /* @__PURE__ */ jsxs10("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
2928
+ /* @__PURE__ */ jsx12("p", { className: "text-text-800 font-semibold", children: "Fim" }),
2929
+ /* @__PURE__ */ jsx12("p", { className: "text-text-600", children: endDate })
2808
2930
  ] })
2809
2931
  ] }),
2810
- /* @__PURE__ */ jsxs9("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
2811
- /* @__PURE__ */ jsx11(
2932
+ /* @__PURE__ */ jsxs10("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
2933
+ /* @__PURE__ */ jsx12(
2812
2934
  ProgressBar_default,
2813
2935
  {
2814
2936
  size: "small",
@@ -2817,7 +2939,7 @@ var CardProgress = forwardRef6(
2817
2939
  "data-testid": "progress-bar"
2818
2940
  }
2819
2941
  ),
2820
- /* @__PURE__ */ jsxs9(
2942
+ /* @__PURE__ */ jsxs10(
2821
2943
  Text_default,
2822
2944
  {
2823
2945
  size: "xs",
@@ -2833,9 +2955,9 @@ var CardProgress = forwardRef6(
2833
2955
  )
2834
2956
  ] })
2835
2957
  ] }),
2836
- vertical: /* @__PURE__ */ jsx11("p", { className: "text-sm text-text-800", children: subhead })
2958
+ vertical: /* @__PURE__ */ jsx12("p", { className: "text-sm text-text-800", children: subhead })
2837
2959
  };
2838
- return /* @__PURE__ */ jsxs9(
2960
+ return /* @__PURE__ */ jsxs10(
2839
2961
  CardBase,
2840
2962
  {
2841
2963
  ref,
@@ -2846,7 +2968,7 @@ var CardProgress = forwardRef6(
2846
2968
  className: cn(isHorizontal ? "h-20" : "", className),
2847
2969
  ...props,
2848
2970
  children: [
2849
- /* @__PURE__ */ jsx11(
2971
+ /* @__PURE__ */ jsx12(
2850
2972
  "div",
2851
2973
  {
2852
2974
  className: cn(
@@ -2859,7 +2981,7 @@ var CardProgress = forwardRef6(
2859
2981
  children: icon
2860
2982
  }
2861
2983
  ),
2862
- /* @__PURE__ */ jsxs9(
2984
+ /* @__PURE__ */ jsxs10(
2863
2985
  "div",
2864
2986
  {
2865
2987
  className: cn(
@@ -2867,7 +2989,7 @@ var CardProgress = forwardRef6(
2867
2989
  !isHorizontal && "gap-4"
2868
2990
  ),
2869
2991
  children: [
2870
- /* @__PURE__ */ jsx11(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
2992
+ /* @__PURE__ */ jsx12(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
2871
2993
  contentComponent[direction]
2872
2994
  ]
2873
2995
  }
@@ -2887,7 +3009,7 @@ var CardTopic = forwardRef6(
2887
3009
  className = "",
2888
3010
  ...props
2889
3011
  }, ref) => {
2890
- return /* @__PURE__ */ jsxs9(
3012
+ return /* @__PURE__ */ jsxs10(
2891
3013
  CardBase,
2892
3014
  {
2893
3015
  ref,
@@ -2898,13 +3020,13 @@ var CardTopic = forwardRef6(
2898
3020
  className: cn("justify-center gap-2 py-2 px-4", className),
2899
3021
  ...props,
2900
3022
  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" })
3023
+ subHead && /* @__PURE__ */ jsx12("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ jsxs10(Fragment4, { children: [
3024
+ /* @__PURE__ */ jsx12("p", { children: text }),
3025
+ index < subHead.length - 1 && /* @__PURE__ */ jsx12("p", { children: "\u2022" })
2904
3026
  ] }, `${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(
3027
+ /* @__PURE__ */ jsx12("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
3028
+ /* @__PURE__ */ jsxs10("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
3029
+ /* @__PURE__ */ jsx12(
2908
3030
  ProgressBar_default,
2909
3031
  {
2910
3032
  size: "small",
@@ -2913,7 +3035,7 @@ var CardTopic = forwardRef6(
2913
3035
  "data-testid": "progress-bar"
2914
3036
  }
2915
3037
  ),
2916
- showPercentage && /* @__PURE__ */ jsxs9(
3038
+ showPercentage && /* @__PURE__ */ jsxs10(
2917
3039
  Text_default,
2918
3040
  {
2919
3041
  size: "xs",
@@ -2947,7 +3069,7 @@ var CardPerformance = forwardRef6(
2947
3069
  ...props
2948
3070
  }, ref) => {
2949
3071
  const hasProgress = progress !== void 0;
2950
- return /* @__PURE__ */ jsxs9(
3072
+ return /* @__PURE__ */ jsxs10(
2951
3073
  CardBase,
2952
3074
  {
2953
3075
  ref,
@@ -2961,10 +3083,10 @@ var CardPerformance = forwardRef6(
2961
3083
  onClick: () => actionVariant == "caret" && onClickButton?.(valueButton),
2962
3084
  ...props,
2963
3085
  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(
3086
+ /* @__PURE__ */ jsxs10("div", { className: "w-full flex flex-col justify-between gap-2", children: [
3087
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row justify-between items-center gap-2", children: [
3088
+ /* @__PURE__ */ jsx12("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
3089
+ actionVariant === "button" && /* @__PURE__ */ jsx12(
2968
3090
  Button_default,
2969
3091
  {
2970
3092
  variant: "outline",
@@ -2975,16 +3097,16 @@ var CardPerformance = forwardRef6(
2975
3097
  }
2976
3098
  )
2977
3099
  ] }),
2978
- /* @__PURE__ */ jsx11("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ jsx11(
3100
+ /* @__PURE__ */ jsx12("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ jsx12(
2979
3101
  ProgressBar_default,
2980
3102
  {
2981
3103
  value: progress,
2982
3104
  label: `${progress}% ${labelProgress}`,
2983
3105
  variant: progressVariant
2984
3106
  }
2985
- ) : /* @__PURE__ */ jsx11("p", { className: "text-xs text-text-600 truncate", children: description }) })
3107
+ ) : /* @__PURE__ */ jsx12("p", { className: "text-xs text-text-600 truncate", children: description }) })
2986
3108
  ] }),
2987
- actionVariant == "caret" && /* @__PURE__ */ jsx11(
3109
+ actionVariant == "caret" && /* @__PURE__ */ jsx12(
2988
3110
  CaretRight,
2989
3111
  {
2990
3112
  className: "size-4.5 text-text-800 cursor-pointer",
@@ -3008,7 +3130,7 @@ var CardResults = forwardRef6(
3008
3130
  ...props
3009
3131
  }, ref) => {
3010
3132
  const isRow = direction == "row";
3011
- return /* @__PURE__ */ jsxs9(
3133
+ return /* @__PURE__ */ jsxs10(
3012
3134
  CardBase,
3013
3135
  {
3014
3136
  ref,
@@ -3018,7 +3140,7 @@ var CardResults = forwardRef6(
3018
3140
  className: cn("items-center cursor-pointer pr-4", className),
3019
3141
  ...props,
3020
3142
  children: [
3021
- /* @__PURE__ */ jsx11(
3143
+ /* @__PURE__ */ jsx12(
3022
3144
  "div",
3023
3145
  {
3024
3146
  className: cn(
@@ -3027,10 +3149,10 @@ var CardResults = forwardRef6(
3027
3149
  style: {
3028
3150
  backgroundColor: color
3029
3151
  },
3030
- children: icon
3152
+ children: /* @__PURE__ */ jsx12(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
3031
3153
  }
3032
3154
  ),
3033
- /* @__PURE__ */ jsxs9(
3155
+ /* @__PURE__ */ jsxs10(
3034
3156
  "div",
3035
3157
  {
3036
3158
  className: cn(
@@ -3038,28 +3160,28 @@ var CardResults = forwardRef6(
3038
3160
  isRow ? "flex-row items-center gap-2" : "flex-col"
3039
3161
  ),
3040
3162
  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(
3163
+ /* @__PURE__ */ jsx12("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
3164
+ /* @__PURE__ */ jsxs10("span", { className: "flex flex-row gap-1 items-center", children: [
3165
+ /* @__PURE__ */ jsxs10(
3044
3166
  Badge_default,
3045
3167
  {
3046
3168
  action: "success",
3047
3169
  variant: "solid",
3048
3170
  size: "large",
3049
- iconLeft: /* @__PURE__ */ jsx11(CheckCircle2, {}),
3171
+ iconLeft: /* @__PURE__ */ jsx12(CheckCircle2, {}),
3050
3172
  children: [
3051
3173
  correct_answers,
3052
3174
  " Corretas"
3053
3175
  ]
3054
3176
  }
3055
3177
  ),
3056
- /* @__PURE__ */ jsxs9(
3178
+ /* @__PURE__ */ jsxs10(
3057
3179
  Badge_default,
3058
3180
  {
3059
3181
  action: "error",
3060
3182
  variant: "solid",
3061
3183
  size: "large",
3062
- iconLeft: /* @__PURE__ */ jsx11(XCircle2, {}),
3184
+ iconLeft: /* @__PURE__ */ jsx12(XCircle2, {}),
3063
3185
  children: [
3064
3186
  incorrect_answers,
3065
3187
  " Incorretas"
@@ -3070,7 +3192,7 @@ var CardResults = forwardRef6(
3070
3192
  ]
3071
3193
  }
3072
3194
  ),
3073
- /* @__PURE__ */ jsx11(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
3195
+ /* @__PURE__ */ jsx12(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
3074
3196
  ]
3075
3197
  }
3076
3198
  );
@@ -3090,7 +3212,7 @@ var CardStatus = forwardRef6(
3090
3212
  return "Em branco";
3091
3213
  }
3092
3214
  };
3093
- return /* @__PURE__ */ jsx11(
3215
+ return /* @__PURE__ */ jsx12(
3094
3216
  CardBase,
3095
3217
  {
3096
3218
  ref,
@@ -3099,22 +3221,22 @@ var CardStatus = forwardRef6(
3099
3221
  minHeight: "medium",
3100
3222
  className: cn("items-center cursor-pointer", className),
3101
3223
  ...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(
3224
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
3225
+ /* @__PURE__ */ jsx12("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
3226
+ /* @__PURE__ */ jsxs10("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
3227
+ status && /* @__PURE__ */ jsx12(
3106
3228
  Badge_default,
3107
3229
  {
3108
3230
  action: status == "correct" ? "success" : "error",
3109
3231
  variant: "solid",
3110
3232
  size: "medium",
3111
- iconLeft: status == "correct" ? /* @__PURE__ */ jsx11(CheckCircle2, {}) : /* @__PURE__ */ jsx11(XCircle2, {}),
3233
+ iconLeft: status == "correct" ? /* @__PURE__ */ jsx12(CheckCircle2, {}) : /* @__PURE__ */ jsx12(XCircle2, {}),
3112
3234
  children: getLabelBadge(status)
3113
3235
  }
3114
3236
  ),
3115
- label && /* @__PURE__ */ jsx11("p", { className: "text-sm text-text-800", children: label })
3237
+ label && /* @__PURE__ */ jsx12("p", { className: "text-sm text-text-800", children: label })
3116
3238
  ] }),
3117
- /* @__PURE__ */ jsx11(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
3239
+ /* @__PURE__ */ jsx12(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
3118
3240
  ] })
3119
3241
  }
3120
3242
  );
@@ -3122,7 +3244,7 @@ var CardStatus = forwardRef6(
3122
3244
  );
3123
3245
  var CardSettings = forwardRef6(
3124
3246
  ({ header, className, icon, ...props }, ref) => {
3125
- return /* @__PURE__ */ jsxs9(
3247
+ return /* @__PURE__ */ jsxs10(
3126
3248
  CardBase,
3127
3249
  {
3128
3250
  ref,
@@ -3135,9 +3257,9 @@ var CardSettings = forwardRef6(
3135
3257
  ),
3136
3258
  ...props,
3137
3259
  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" })
3260
+ /* @__PURE__ */ jsx12("span", { className: "[&>svg]:size-6", children: icon }),
3261
+ /* @__PURE__ */ jsx12("p", { className: "w-full text-sm truncate", children: header }),
3262
+ /* @__PURE__ */ jsx12(CaretRight, { size: 24, className: "cursor-pointer" })
3141
3263
  ]
3142
3264
  }
3143
3265
  );
@@ -3145,7 +3267,7 @@ var CardSettings = forwardRef6(
3145
3267
  );
3146
3268
  var CardSupport = forwardRef6(
3147
3269
  ({ header, className, direction = "col", children, ...props }, ref) => {
3148
- return /* @__PURE__ */ jsxs9(
3270
+ return /* @__PURE__ */ jsxs10(
3149
3271
  CardBase,
3150
3272
  {
3151
3273
  ref,
@@ -3158,7 +3280,7 @@ var CardSupport = forwardRef6(
3158
3280
  ),
3159
3281
  ...props,
3160
3282
  children: [
3161
- /* @__PURE__ */ jsxs9(
3283
+ /* @__PURE__ */ jsxs10(
3162
3284
  "div",
3163
3285
  {
3164
3286
  className: cn(
@@ -3166,12 +3288,12 @@ var CardSupport = forwardRef6(
3166
3288
  direction == "col" ? "flex-col" : "flex-row items-center"
3167
3289
  ),
3168
3290
  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 })
3291
+ /* @__PURE__ */ jsx12("span", { className: "w-full min-w-0", children: /* @__PURE__ */ jsx12("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
3292
+ /* @__PURE__ */ jsx12("span", { className: "flex flex-row gap-1", children })
3171
3293
  ]
3172
3294
  }
3173
3295
  ),
3174
- /* @__PURE__ */ jsx11(CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
3296
+ /* @__PURE__ */ jsx12(CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
3175
3297
  ]
3176
3298
  }
3177
3299
  );
@@ -3191,7 +3313,7 @@ var CardForum = forwardRef6(
3191
3313
  hour,
3192
3314
  ...props
3193
3315
  }, ref) => {
3194
- return /* @__PURE__ */ jsxs9(
3316
+ return /* @__PURE__ */ jsxs10(
3195
3317
  CardBase,
3196
3318
  {
3197
3319
  ref,
@@ -3202,7 +3324,7 @@ var CardForum = forwardRef6(
3202
3324
  className: cn("w-auto h-auto gap-3", className),
3203
3325
  ...props,
3204
3326
  children: [
3205
- /* @__PURE__ */ jsx11(
3327
+ /* @__PURE__ */ jsx12(
3206
3328
  "button",
3207
3329
  {
3208
3330
  type: "button",
@@ -3211,18 +3333,18 @@ var CardForum = forwardRef6(
3211
3333
  className: "min-w-8 h-8 rounded-full bg-background-950"
3212
3334
  }
3213
3335
  ),
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: [
3336
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
3337
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
3338
+ /* @__PURE__ */ jsx12("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
3339
+ /* @__PURE__ */ jsxs10("p", { className: "text-xs text-text-600", children: [
3218
3340
  "\u2022 ",
3219
3341
  date,
3220
3342
  " \u2022 ",
3221
3343
  hour
3222
3344
  ] })
3223
3345
  ] }),
3224
- /* @__PURE__ */ jsx11("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
3225
- /* @__PURE__ */ jsxs9(
3346
+ /* @__PURE__ */ jsx12("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
3347
+ /* @__PURE__ */ jsxs10(
3226
3348
  "button",
3227
3349
  {
3228
3350
  type: "button",
@@ -3230,8 +3352,8 @@ var CardForum = forwardRef6(
3230
3352
  onClick: () => onClickComments?.(valueComments),
3231
3353
  className: "text-text-600 flex flex-row gap-2 items-center",
3232
3354
  children: [
3233
- /* @__PURE__ */ jsx11(ChatCircleText, { "aria-hidden": "true", size: 16 }),
3234
- /* @__PURE__ */ jsxs9("p", { className: "text-xs", children: [
3355
+ /* @__PURE__ */ jsx12(ChatCircleText, { "aria-hidden": "true", size: 16 }),
3356
+ /* @__PURE__ */ jsxs10("p", { className: "text-xs", children: [
3235
3357
  comments,
3236
3358
  " respostas"
3237
3359
  ] })
@@ -3330,14 +3452,14 @@ var CardAudio = forwardRef6(
3330
3452
  };
3331
3453
  const getVolumeIcon = () => {
3332
3454
  if (volume === 0) {
3333
- return /* @__PURE__ */ jsx11(SpeakerSimpleX, {});
3455
+ return /* @__PURE__ */ jsx12(SpeakerSimpleX, {});
3334
3456
  }
3335
3457
  if (volume < 0.5) {
3336
- return /* @__PURE__ */ jsx11(SpeakerLow, {});
3458
+ return /* @__PURE__ */ jsx12(SpeakerLow, {});
3337
3459
  }
3338
- return /* @__PURE__ */ jsx11(SpeakerHigh, {});
3460
+ return /* @__PURE__ */ jsx12(SpeakerHigh, {});
3339
3461
  };
3340
- return /* @__PURE__ */ jsxs9(
3462
+ return /* @__PURE__ */ jsxs10(
3341
3463
  CardBase,
3342
3464
  {
3343
3465
  ref,
@@ -3347,7 +3469,7 @@ var CardAudio = forwardRef6(
3347
3469
  className: cn("w-auto h-14 items-center gap-2", className),
3348
3470
  ...props,
3349
3471
  children: [
3350
- /* @__PURE__ */ jsx11(
3472
+ /* @__PURE__ */ jsx12(
3351
3473
  "audio",
3352
3474
  {
3353
3475
  ref: audioRef,
@@ -3359,7 +3481,7 @@ var CardAudio = forwardRef6(
3359
3481
  onEnded: handleEnded,
3360
3482
  "data-testid": "audio-element",
3361
3483
  "aria-label": title,
3362
- children: tracks ? tracks.map((track) => /* @__PURE__ */ jsx11(
3484
+ children: tracks ? tracks.map((track) => /* @__PURE__ */ jsx12(
3363
3485
  "track",
3364
3486
  {
3365
3487
  kind: track.kind,
@@ -3369,7 +3491,7 @@ var CardAudio = forwardRef6(
3369
3491
  default: track.default
3370
3492
  },
3371
3493
  track.src
3372
- )) : /* @__PURE__ */ jsx11(
3494
+ )) : /* @__PURE__ */ jsx12(
3373
3495
  "track",
3374
3496
  {
3375
3497
  kind: "captions",
@@ -3380,7 +3502,7 @@ var CardAudio = forwardRef6(
3380
3502
  )
3381
3503
  }
3382
3504
  ),
3383
- /* @__PURE__ */ jsx11(
3505
+ /* @__PURE__ */ jsx12(
3384
3506
  "button",
3385
3507
  {
3386
3508
  type: "button",
@@ -3388,14 +3510,14 @@ var CardAudio = forwardRef6(
3388
3510
  disabled: !src,
3389
3511
  className: "cursor-pointer text-text-950 hover:text-primary-600 disabled:text-text-400 disabled:cursor-not-allowed",
3390
3512
  "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 })
3513
+ 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: [
3514
+ /* @__PURE__ */ jsx12("div", { className: "w-1 h-4 bg-current rounded-sm" }),
3515
+ /* @__PURE__ */ jsx12("div", { className: "w-1 h-4 bg-current rounded-sm" })
3516
+ ] }) }) : /* @__PURE__ */ jsx12(Play, { size: 24 })
3395
3517
  }
3396
3518
  ),
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(
3519
+ /* @__PURE__ */ jsx12("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
3520
+ /* @__PURE__ */ jsx12("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ jsx12(
3399
3521
  "button",
3400
3522
  {
3401
3523
  type: "button",
@@ -3410,7 +3532,7 @@ var CardAudio = forwardRef6(
3410
3532
  }
3411
3533
  },
3412
3534
  "aria-label": "Barra de progresso do \xE1udio",
3413
- children: /* @__PURE__ */ jsx11(
3535
+ children: /* @__PURE__ */ jsx12(
3414
3536
  "div",
3415
3537
  {
3416
3538
  className: "h-full bg-primary-600 rounded-full transition-all duration-100",
@@ -3421,19 +3543,19 @@ var CardAudio = forwardRef6(
3421
3543
  )
3422
3544
  }
3423
3545
  ) }),
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(
3546
+ /* @__PURE__ */ jsx12("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime(duration) }),
3547
+ /* @__PURE__ */ jsxs10("div", { className: "relative", children: [
3548
+ /* @__PURE__ */ jsx12(
3427
3549
  "button",
3428
3550
  {
3429
3551
  type: "button",
3430
3552
  onClick: toggleVolumeControl,
3431
3553
  className: "cursor-pointer text-text-950 hover:text-primary-600",
3432
3554
  "aria-label": "Controle de volume",
3433
- children: /* @__PURE__ */ jsx11("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
3555
+ children: /* @__PURE__ */ jsx12("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
3434
3556
  }
3435
3557
  ),
3436
- showVolumeControl && /* @__PURE__ */ jsx11(
3558
+ showVolumeControl && /* @__PURE__ */ jsx12(
3437
3559
  "button",
3438
3560
  {
3439
3561
  type: "button",
@@ -3443,7 +3565,7 @@ var CardAudio = forwardRef6(
3443
3565
  setShowVolumeControl(false);
3444
3566
  }
3445
3567
  },
3446
- children: /* @__PURE__ */ jsx11(
3568
+ children: /* @__PURE__ */ jsx12(
3447
3569
  "input",
3448
3570
  {
3449
3571
  type: "range",
@@ -3484,22 +3606,22 @@ var CardAudio = forwardRef6(
3484
3606
  }
3485
3607
  )
3486
3608
  ] }),
3487
- /* @__PURE__ */ jsxs9("div", { className: "relative", children: [
3488
- /* @__PURE__ */ jsx11(
3609
+ /* @__PURE__ */ jsxs10("div", { className: "relative", children: [
3610
+ /* @__PURE__ */ jsx12(
3489
3611
  "button",
3490
3612
  {
3491
3613
  type: "button",
3492
3614
  onClick: toggleSpeedMenu,
3493
3615
  className: "cursor-pointer text-text-950 hover:text-primary-600",
3494
3616
  "aria-label": "Op\xE7\xF5es de velocidade",
3495
- children: /* @__PURE__ */ jsx11(DotsThreeVertical, { size: 24 })
3617
+ children: /* @__PURE__ */ jsx12(DotsThreeVertical, { size: 24 })
3496
3618
  }
3497
3619
  ),
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: [
3620
+ 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
3621
  { speed: 1, label: "1x" },
3500
3622
  { speed: 1.5, label: "1.5x" },
3501
3623
  { speed: 2, label: "2x" }
3502
- ].map(({ speed, label }) => /* @__PURE__ */ jsx11(
3624
+ ].map(({ speed, label }) => /* @__PURE__ */ jsx12(
3503
3625
  "button",
3504
3626
  {
3505
3627
  type: "button",
@@ -3527,7 +3649,7 @@ var SIMULADO_BACKGROUND_CLASSES = {
3527
3649
  var CardSimulado = forwardRef6(
3528
3650
  ({ title, duration, info, backgroundColor, className, ...props }, ref) => {
3529
3651
  const backgroundClass = SIMULADO_BACKGROUND_CLASSES[backgroundColor];
3530
- return /* @__PURE__ */ jsx11(
3652
+ return /* @__PURE__ */ jsx12(
3531
3653
  CardBase,
3532
3654
  {
3533
3655
  ref,
@@ -3540,18 +3662,18 @@ var CardSimulado = forwardRef6(
3540
3662
  className
3541
3663
  ),
3542
3664
  ...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 })
3665
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex justify-between items-center w-full gap-4", children: [
3666
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
3667
+ /* @__PURE__ */ jsx12(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
3668
+ /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-4 text-text-700", children: [
3669
+ duration && /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-1", children: [
3670
+ /* @__PURE__ */ jsx12(Clock, { size: 16, className: "flex-shrink-0" }),
3671
+ /* @__PURE__ */ jsx12(Text_default, { size: "sm", children: duration })
3550
3672
  ] }),
3551
- /* @__PURE__ */ jsx11(Text_default, { size: "sm", className: "truncate", children: info })
3673
+ /* @__PURE__ */ jsx12(Text_default, { size: "sm", className: "truncate", children: info })
3552
3674
  ] })
3553
3675
  ] }),
3554
- /* @__PURE__ */ jsx11(
3676
+ /* @__PURE__ */ jsx12(
3555
3677
  CaretRight,
3556
3678
  {
3557
3679
  size: 24,
@@ -3596,7 +3718,7 @@ var CardTest = forwardRef6(
3596
3718
  const interactiveClasses = isSelectable ? "cursor-pointer focus:outline-none focus:ring-2 focus:ring-primary-950 focus:ring-offset-2" : "";
3597
3719
  const selectedClasses = selected ? "ring-2 ring-primary-950 ring-offset-2" : "";
3598
3720
  if (isSelectable) {
3599
- return /* @__PURE__ */ jsx11(
3721
+ return /* @__PURE__ */ jsx12(
3600
3722
  "button",
3601
3723
  {
3602
3724
  ref,
@@ -3608,8 +3730,8 @@ var CardTest = forwardRef6(
3608
3730
  onKeyDown: handleKeyDown,
3609
3731
  "aria-pressed": selected,
3610
3732
  ...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(
3733
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
3734
+ /* @__PURE__ */ jsx12(
3613
3735
  Text_default,
3614
3736
  {
3615
3737
  size: "md",
@@ -3618,10 +3740,10 @@ var CardTest = forwardRef6(
3618
3740
  children: title
3619
3741
  }
3620
3742
  ),
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(
3743
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
3744
+ duration && /* @__PURE__ */ jsxs10("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
3745
+ /* @__PURE__ */ jsx12(Clock, { size: 16, className: "text-text-700" }),
3746
+ /* @__PURE__ */ jsx12(
3625
3747
  Text_default,
3626
3748
  {
3627
3749
  size: "sm",
@@ -3630,7 +3752,7 @@ var CardTest = forwardRef6(
3630
3752
  }
3631
3753
  )
3632
3754
  ] }),
3633
- /* @__PURE__ */ jsx11(
3755
+ /* @__PURE__ */ jsx12(
3634
3756
  Text_default,
3635
3757
  {
3636
3758
  size: "sm",
@@ -3643,14 +3765,14 @@ var CardTest = forwardRef6(
3643
3765
  }
3644
3766
  );
3645
3767
  }
3646
- return /* @__PURE__ */ jsx11(
3768
+ return /* @__PURE__ */ jsx12(
3647
3769
  "div",
3648
3770
  {
3649
3771
  ref,
3650
3772
  className: cn(`${baseClasses} ${className}`.trim()),
3651
3773
  ...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(
3774
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
3775
+ /* @__PURE__ */ jsx12(
3654
3776
  Text_default,
3655
3777
  {
3656
3778
  size: "md",
@@ -3659,10 +3781,10 @@ var CardTest = forwardRef6(
3659
3781
  children: title
3660
3782
  }
3661
3783
  ),
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(
3784
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
3785
+ duration && /* @__PURE__ */ jsxs10("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
3786
+ /* @__PURE__ */ jsx12(Clock, { size: 16, className: "text-text-700" }),
3787
+ /* @__PURE__ */ jsx12(
3666
3788
  Text_default,
3667
3789
  {
3668
3790
  size: "sm",
@@ -3671,7 +3793,7 @@ var CardTest = forwardRef6(
3671
3793
  }
3672
3794
  )
3673
3795
  ] }),
3674
- /* @__PURE__ */ jsx11(
3796
+ /* @__PURE__ */ jsx12(
3675
3797
  Text_default,
3676
3798
  {
3677
3799
  size: "sm",
@@ -3708,14 +3830,14 @@ var SIMULATION_TYPE_STYLES = {
3708
3830
  }
3709
3831
  };
3710
3832
  var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, ...props }, ref) => {
3711
- return /* @__PURE__ */ jsx11(
3833
+ return /* @__PURE__ */ jsx12(
3712
3834
  "div",
3713
3835
  {
3714
3836
  ref,
3715
3837
  className: cn("w-full max-w-[992px] h-auto", className),
3716
3838
  ...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(
3839
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-0", children: [
3840
+ data.map((section, sectionIndex) => /* @__PURE__ */ jsx12("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs10(
3719
3841
  "div",
3720
3842
  {
3721
3843
  className: cn(
@@ -3723,7 +3845,7 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3723
3845
  sectionIndex === 0 ? "rounded-t-3xl" : ""
3724
3846
  ),
3725
3847
  children: [
3726
- /* @__PURE__ */ jsx11(
3848
+ /* @__PURE__ */ jsx12(
3727
3849
  Text_default,
3728
3850
  {
3729
3851
  size: "xs",
@@ -3732,9 +3854,9 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3732
3854
  children: section.date
3733
3855
  }
3734
3856
  ),
3735
- /* @__PURE__ */ jsx11("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
3857
+ /* @__PURE__ */ jsx12("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
3736
3858
  const typeStyles = SIMULATION_TYPE_STYLES[simulation.type];
3737
- return /* @__PURE__ */ jsx11(
3859
+ return /* @__PURE__ */ jsx12(
3738
3860
  CardBase,
3739
3861
  {
3740
3862
  layout: "horizontal",
@@ -3746,9 +3868,9 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3746
3868
  transition-shadow duration-200 h-auto min-h-[61px]`
3747
3869
  ),
3748
3870
  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(
3871
+ children: /* @__PURE__ */ jsxs10("div", { className: "flex justify-between items-center w-full gap-2", children: [
3872
+ /* @__PURE__ */ jsxs10("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
3873
+ /* @__PURE__ */ jsx12(
3752
3874
  Text_default,
3753
3875
  {
3754
3876
  size: "lg",
@@ -3757,8 +3879,8 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3757
3879
  children: simulation.title
3758
3880
  }
3759
3881
  ),
3760
- /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-2", children: [
3761
- /* @__PURE__ */ jsx11(
3882
+ /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-2", children: [
3883
+ /* @__PURE__ */ jsx12(
3762
3884
  Badge_default,
3763
3885
  {
3764
3886
  variant: "examsOutlined",
@@ -3767,10 +3889,10 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3767
3889
  children: typeStyles.text
3768
3890
  }
3769
3891
  ),
3770
- /* @__PURE__ */ jsx11(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
3892
+ /* @__PURE__ */ jsx12(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
3771
3893
  ] })
3772
3894
  ] }),
3773
- /* @__PURE__ */ jsx11(
3895
+ /* @__PURE__ */ jsx12(
3774
3896
  CaretRight,
3775
3897
  {
3776
3898
  size: 24,
@@ -3786,14 +3908,14 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
3786
3908
  ]
3787
3909
  }
3788
3910
  ) }, section.date)),
3789
- data.length > 0 && /* @__PURE__ */ jsx11("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
3911
+ data.length > 0 && /* @__PURE__ */ jsx12("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
3790
3912
  ] })
3791
3913
  }
3792
3914
  );
3793
3915
  });
3794
3916
 
3795
3917
  // src/components/ProgressCircle/ProgressCircle.tsx
3796
- import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
3918
+ import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
3797
3919
  var SIZE_CLASSES8 = {
3798
3920
  small: {
3799
3921
  container: "w-[90px] h-[90px]",
@@ -3875,7 +3997,7 @@ var ProgressCircle = ({
3875
3997
  const strokeDashoffset = circumference - percentage / 100 * circumference;
3876
3998
  const center = size === "small" ? 45 : 76;
3877
3999
  const svgSize = size === "small" ? 90 : 152;
3878
- return /* @__PURE__ */ jsxs10(
4000
+ return /* @__PURE__ */ jsxs11(
3879
4001
  "div",
3880
4002
  {
3881
4003
  className: cn(
@@ -3885,7 +4007,7 @@ var ProgressCircle = ({
3885
4007
  className
3886
4008
  ),
3887
4009
  children: [
3888
- /* @__PURE__ */ jsxs10(
4010
+ /* @__PURE__ */ jsxs11(
3889
4011
  "svg",
3890
4012
  {
3891
4013
  className: "absolute inset-0 transform -rotate-90",
@@ -3894,7 +4016,7 @@ var ProgressCircle = ({
3894
4016
  viewBox: `0 0 ${svgSize} ${svgSize}`,
3895
4017
  "aria-hidden": "true",
3896
4018
  children: [
3897
- /* @__PURE__ */ jsx12(
4019
+ /* @__PURE__ */ jsx13(
3898
4020
  "circle",
3899
4021
  {
3900
4022
  cx: center,
@@ -3905,7 +4027,7 @@ var ProgressCircle = ({
3905
4027
  className: cn(variantClasses.background, "rounded-lg")
3906
4028
  }
3907
4029
  ),
3908
- /* @__PURE__ */ jsx12(
4030
+ /* @__PURE__ */ jsx13(
3909
4031
  "circle",
3910
4032
  {
3911
4033
  cx: center,
@@ -3925,7 +4047,7 @@ var ProgressCircle = ({
3925
4047
  ]
3926
4048
  }
3927
4049
  ),
3928
- /* @__PURE__ */ jsx12(
4050
+ /* @__PURE__ */ jsx13(
3929
4051
  "progress",
3930
4052
  {
3931
4053
  value: clampedValue,
@@ -3934,7 +4056,7 @@ var ProgressCircle = ({
3934
4056
  className: "absolute opacity-0 w-0 h-0"
3935
4057
  }
3936
4058
  ),
3937
- /* @__PURE__ */ jsxs10(
4059
+ /* @__PURE__ */ jsxs11(
3938
4060
  "div",
3939
4061
  {
3940
4062
  className: cn(
@@ -3943,7 +4065,7 @@ var ProgressCircle = ({
3943
4065
  sizeClasses.contentWidth
3944
4066
  ),
3945
4067
  children: [
3946
- showPercentage && /* @__PURE__ */ jsxs10(
4068
+ showPercentage && /* @__PURE__ */ jsxs11(
3947
4069
  Text_default,
3948
4070
  {
3949
4071
  size: sizeClasses.textSize,
@@ -3959,7 +4081,7 @@ var ProgressCircle = ({
3959
4081
  ]
3960
4082
  }
3961
4083
  ),
3962
- label && /* @__PURE__ */ jsx12(
4084
+ label && /* @__PURE__ */ jsx13(
3963
4085
  Text_default,
3964
4086
  {
3965
4087
  as: "span",
@@ -4004,7 +4126,7 @@ import {
4004
4126
  useId as useId4
4005
4127
  } from "react";
4006
4128
  import { Check as Check2, Minus } from "phosphor-react";
4007
- import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
4129
+ import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
4008
4130
  var SIZE_CLASSES9 = {
4009
4131
  small: {
4010
4132
  checkbox: "w-4 h-4",
@@ -4105,7 +4227,7 @@ var CheckBox = forwardRef7(
4105
4227
  );
4106
4228
  const renderIcon = () => {
4107
4229
  if (indeterminate) {
4108
- return /* @__PURE__ */ jsx13(
4230
+ return /* @__PURE__ */ jsx14(
4109
4231
  Minus,
4110
4232
  {
4111
4233
  size: sizeClasses.iconSize,
@@ -4115,7 +4237,7 @@ var CheckBox = forwardRef7(
4115
4237
  );
4116
4238
  }
4117
4239
  if (checked) {
4118
- return /* @__PURE__ */ jsx13(
4240
+ return /* @__PURE__ */ jsx14(
4119
4241
  Check2,
4120
4242
  {
4121
4243
  size: sizeClasses.iconSize,
@@ -4126,8 +4248,8 @@ var CheckBox = forwardRef7(
4126
4248
  }
4127
4249
  return null;
4128
4250
  };
4129
- return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col", children: [
4130
- /* @__PURE__ */ jsxs11(
4251
+ return /* @__PURE__ */ jsxs12("div", { className: "flex flex-col", children: [
4252
+ /* @__PURE__ */ jsxs12(
4131
4253
  "div",
4132
4254
  {
4133
4255
  className: cn(
@@ -4136,7 +4258,7 @@ var CheckBox = forwardRef7(
4136
4258
  disabled ? "opacity-40" : ""
4137
4259
  ),
4138
4260
  children: [
4139
- /* @__PURE__ */ jsx13(
4261
+ /* @__PURE__ */ jsx14(
4140
4262
  "input",
4141
4263
  {
4142
4264
  ref,
@@ -4149,15 +4271,15 @@ var CheckBox = forwardRef7(
4149
4271
  ...props
4150
4272
  }
4151
4273
  ),
4152
- /* @__PURE__ */ jsx13("label", { htmlFor: inputId, className: checkboxClasses, children: renderIcon() }),
4153
- label && /* @__PURE__ */ jsx13(
4274
+ /* @__PURE__ */ jsx14("label", { htmlFor: inputId, className: checkboxClasses, children: renderIcon() }),
4275
+ label && /* @__PURE__ */ jsx14(
4154
4276
  "div",
4155
4277
  {
4156
4278
  className: cn(
4157
4279
  "flex flex-row items-center",
4158
4280
  sizeClasses.labelHeight
4159
4281
  ),
4160
- children: /* @__PURE__ */ jsx13(
4282
+ children: /* @__PURE__ */ jsx14(
4161
4283
  Text_default,
4162
4284
  {
4163
4285
  as: "label",
@@ -4176,7 +4298,7 @@ var CheckBox = forwardRef7(
4176
4298
  ]
4177
4299
  }
4178
4300
  ),
4179
- errorMessage && /* @__PURE__ */ jsx13(
4301
+ errorMessage && /* @__PURE__ */ jsx14(
4180
4302
  Text_default,
4181
4303
  {
4182
4304
  size: "sm",
@@ -4186,7 +4308,7 @@ var CheckBox = forwardRef7(
4186
4308
  children: errorMessage
4187
4309
  }
4188
4310
  ),
4189
- helperText && !errorMessage && /* @__PURE__ */ jsx13(
4311
+ helperText && !errorMessage && /* @__PURE__ */ jsx14(
4190
4312
  Text_default,
4191
4313
  {
4192
4314
  size: "sm",
@@ -4203,7 +4325,7 @@ CheckBox.displayName = "CheckBox";
4203
4325
  var CheckBox_default = CheckBox;
4204
4326
 
4205
4327
  // src/components/CheckBox/CheckboxList.tsx
4206
- import { jsx as jsx14 } from "react/jsx-runtime";
4328
+ import { jsx as jsx15 } from "react/jsx-runtime";
4207
4329
  var createCheckboxListStore = (name, defaultValues, disabled, onValuesChange) => create4((set, get) => ({
4208
4330
  values: defaultValues,
4209
4331
  setValues: (values) => {
@@ -4275,7 +4397,7 @@ var CheckboxList = forwardRef8(
4275
4397
  useEffect5(() => {
4276
4398
  store.setState({ disabled });
4277
4399
  }, [disabled, store]);
4278
- return /* @__PURE__ */ jsx14(
4400
+ return /* @__PURE__ */ jsx15(
4279
4401
  "div",
4280
4402
  {
4281
4403
  ref,
@@ -4311,7 +4433,7 @@ var CheckboxListItem = forwardRef8(
4311
4433
  const isChecked = groupValues.includes(value);
4312
4434
  const isDisabled = groupDisabled || itemDisabled;
4313
4435
  const currentState = isDisabled ? "disabled" : state;
4314
- return /* @__PURE__ */ jsx14(
4436
+ return /* @__PURE__ */ jsx15(
4315
4437
  CheckBox_default,
4316
4438
  {
4317
4439
  ref,
@@ -4338,7 +4460,7 @@ var CheckboxList_default = CheckboxList;
4338
4460
 
4339
4461
  // src/components/MultipleChoice/MultipleChoice.tsx
4340
4462
  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";
4463
+ import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
4342
4464
  var MultipleChoiceList = ({
4343
4465
  disabled = false,
4344
4466
  className = "",
@@ -4355,9 +4477,9 @@ var MultipleChoiceList = ({
4355
4477
  const getStatusBadge2 = (status) => {
4356
4478
  switch (status) {
4357
4479
  case "correct":
4358
- return /* @__PURE__ */ jsx15(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ jsx15(CheckCircle3, {}), children: "Resposta correta" });
4480
+ return /* @__PURE__ */ jsx16(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ jsx16(CheckCircle3, {}), children: "Resposta correta" });
4359
4481
  case "incorrect":
4360
- return /* @__PURE__ */ jsx15(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ jsx15(XCircle3, {}), children: "Resposta incorreta" });
4482
+ return /* @__PURE__ */ jsx16(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ jsx16(XCircle3, {}), children: "Resposta incorreta" });
4361
4483
  default:
4362
4484
  return null;
4363
4485
  }
@@ -4378,14 +4500,14 @@ var MultipleChoiceList = ({
4378
4500
  isSelected ? "border-primary-950 bg-primary-950 text-text" : "border-border-400 bg-background",
4379
4501
  isDisabled && "opacity-40 cursor-not-allowed"
4380
4502
  );
4381
- return /* @__PURE__ */ jsx15("div", { className: checkboxClasses, children: isSelected && /* @__PURE__ */ jsx15(Check3, { size: 16, weight: "bold" }) });
4503
+ return /* @__PURE__ */ jsx16("div", { className: checkboxClasses, children: isSelected && /* @__PURE__ */ jsx16(Check3, { size: 16, weight: "bold" }) });
4382
4504
  };
4383
4505
  if (mode === "readonly") {
4384
- return /* @__PURE__ */ jsx15("div", { className: cn("flex flex-col gap-2", className), children: choices.map((choice, i) => {
4506
+ return /* @__PURE__ */ jsx16("div", { className: cn("flex flex-col gap-2", className), children: choices.map((choice, i) => {
4385
4507
  const isSelected = actualValue?.includes(choice.value) || false;
4386
4508
  const statusStyles = getStatusStyles2(choice.status);
4387
4509
  const statusBadge = getStatusBadge2(choice.status);
4388
- return /* @__PURE__ */ jsxs12(
4510
+ return /* @__PURE__ */ jsxs13(
4389
4511
  "div",
4390
4512
  {
4391
4513
  className: cn(
@@ -4394,9 +4516,9 @@ var MultipleChoiceList = ({
4394
4516
  choice.disabled ? "opacity-50 cursor-not-allowed" : ""
4395
4517
  ),
4396
4518
  children: [
4397
- /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-2 flex-1", children: [
4519
+ /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-2 flex-1", children: [
4398
4520
  renderVisualCheckbox(isSelected, choice.disabled || disabled),
4399
- /* @__PURE__ */ jsx15(
4521
+ /* @__PURE__ */ jsx16(
4400
4522
  "span",
4401
4523
  {
4402
4524
  className: cn(
@@ -4408,14 +4530,14 @@ var MultipleChoiceList = ({
4408
4530
  }
4409
4531
  )
4410
4532
  ] }),
4411
- statusBadge && /* @__PURE__ */ jsx15("div", { className: "flex-shrink-0", children: statusBadge })
4533
+ statusBadge && /* @__PURE__ */ jsx16("div", { className: "flex-shrink-0", children: statusBadge })
4412
4534
  ]
4413
4535
  },
4414
4536
  `readonly-${choice.value}-${i}`
4415
4537
  );
4416
4538
  }) });
4417
4539
  }
4418
- return /* @__PURE__ */ jsx15(
4540
+ return /* @__PURE__ */ jsx16(
4419
4541
  "div",
4420
4542
  {
4421
4543
  className: cn(
@@ -4423,7 +4545,7 @@ var MultipleChoiceList = ({
4423
4545
  disabled ? "opacity-50 cursor-not-allowed" : "",
4424
4546
  className
4425
4547
  ),
4426
- children: /* @__PURE__ */ jsx15(
4548
+ children: /* @__PURE__ */ jsx16(
4427
4549
  CheckboxList_default,
4428
4550
  {
4429
4551
  name,
@@ -4433,12 +4555,12 @@ var MultipleChoiceList = ({
4433
4555
  onHandleSelectedValues?.(v);
4434
4556
  },
4435
4557
  disabled,
4436
- children: choices.map((choice, i) => /* @__PURE__ */ jsxs12(
4558
+ children: choices.map((choice, i) => /* @__PURE__ */ jsxs13(
4437
4559
  "div",
4438
4560
  {
4439
4561
  className: "flex flex-row gap-2 items-center",
4440
4562
  children: [
4441
- /* @__PURE__ */ jsx15(
4563
+ /* @__PURE__ */ jsx16(
4442
4564
  CheckboxListItem,
4443
4565
  {
4444
4566
  value: choice.value,
@@ -4446,7 +4568,7 @@ var MultipleChoiceList = ({
4446
4568
  disabled: choice.disabled || disabled
4447
4569
  }
4448
4570
  ),
4449
- /* @__PURE__ */ jsx15(
4571
+ /* @__PURE__ */ jsx16(
4450
4572
  "label",
4451
4573
  {
4452
4574
  htmlFor: `interactive-${choice.value}-${i}`,
@@ -4475,7 +4597,7 @@ import {
4475
4597
  useId as useId6
4476
4598
  } from "react";
4477
4599
  import { WarningCircle as WarningCircle2 } from "phosphor-react";
4478
- import { jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
4600
+ import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
4479
4601
  var SIZE_CLASSES10 = {
4480
4602
  small: {
4481
4603
  textarea: "h-24 text-sm",
@@ -4569,8 +4691,8 @@ var TextArea = forwardRef9(
4569
4691
  stateClasses.focus,
4570
4692
  className
4571
4693
  );
4572
- return /* @__PURE__ */ jsxs13("div", { className: `flex flex-col`, children: [
4573
- label && /* @__PURE__ */ jsx16(
4694
+ return /* @__PURE__ */ jsxs14("div", { className: `flex flex-col`, children: [
4695
+ label && /* @__PURE__ */ jsx17(
4574
4696
  Text_default,
4575
4697
  {
4576
4698
  as: "label",
@@ -4582,7 +4704,7 @@ var TextArea = forwardRef9(
4582
4704
  children: label
4583
4705
  }
4584
4706
  ),
4585
- /* @__PURE__ */ jsx16(
4707
+ /* @__PURE__ */ jsx17(
4586
4708
  "textarea",
4587
4709
  {
4588
4710
  ref,
@@ -4596,12 +4718,12 @@ var TextArea = forwardRef9(
4596
4718
  ...props
4597
4719
  }
4598
4720
  ),
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 }),
4721
+ errorMessage && /* @__PURE__ */ jsxs14("p", { className: "flex gap-1 items-center text-sm text-indicator-error mt-1.5", children: [
4722
+ /* @__PURE__ */ jsx17(WarningCircle2, { size: 16 }),
4601
4723
  " ",
4602
4724
  errorMessage
4603
4725
  ] }),
4604
- helperMessage && !errorMessage && /* @__PURE__ */ jsx16(Text_default, { size: "sm", weight: "normal", className: "mt-1.5 text-text-500", children: helperMessage })
4726
+ helperMessage && !errorMessage && /* @__PURE__ */ jsx17(Text_default, { size: "sm", weight: "normal", className: "mt-1.5 text-text-500", children: helperMessage })
4605
4727
  ] });
4606
4728
  }
4607
4729
  );
@@ -4612,13 +4734,13 @@ var TextArea_default = TextArea;
4612
4734
  var mock_image_question_default = "../mock-image-question-HEZCLFDL.png";
4613
4735
 
4614
4736
  // src/components/Quiz/Quiz.tsx
4615
- import { Fragment as Fragment6, jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
4737
+ import { Fragment as Fragment6, jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
4616
4738
  var getStatusBadge = (status) => {
4617
4739
  switch (status) {
4618
4740
  case "correct":
4619
- return /* @__PURE__ */ jsx17(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ jsx17(CheckCircle4, {}), children: "Resposta correta" });
4741
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ jsx18(CheckCircle4, {}), children: "Resposta correta" });
4620
4742
  case "incorrect":
4621
- return /* @__PURE__ */ jsx17(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ jsx17(XCircle4, {}), children: "Resposta incorreta" });
4743
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ jsx18(XCircle4, {}), children: "Resposta incorreta" });
4622
4744
  default:
4623
4745
  return null;
4624
4746
  }
@@ -4636,7 +4758,7 @@ var Quiz = forwardRef10(({ children, className, variant = "default", ...props },
4636
4758
  useEffect7(() => {
4637
4759
  setVariant(variant);
4638
4760
  }, [variant, setVariant]);
4639
- return /* @__PURE__ */ jsx17("div", { ref, className: cn("flex flex-col", className), ...props, children });
4761
+ return /* @__PURE__ */ jsx18("div", { ref, className: cn("flex flex-col", className), ...props, children });
4640
4762
  });
4641
4763
  var QuizHeaderResult = forwardRef10(
4642
4764
  ({ className, ...props }, ref) => {
@@ -4677,7 +4799,7 @@ var QuizHeaderResult = forwardRef10(
4677
4799
  return "N\xE3o foi dessa vez...voc\xEA deixou a resposta em branco";
4678
4800
  }
4679
4801
  };
4680
- return /* @__PURE__ */ jsxs14(
4802
+ return /* @__PURE__ */ jsxs15(
4681
4803
  "div",
4682
4804
  {
4683
4805
  ref,
@@ -4688,8 +4810,8 @@ var QuizHeaderResult = forwardRef10(
4688
4810
  ),
4689
4811
  ...props,
4690
4812
  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() })
4813
+ /* @__PURE__ */ jsx18("p", { className: "text-text-950 font-bold text-lg", children: "Resultado" }),
4814
+ /* @__PURE__ */ jsx18("p", { className: "text-text-700 text-md", children: getLabelByAnswersStatus() })
4693
4815
  ]
4694
4816
  }
4695
4817
  );
@@ -4707,7 +4829,7 @@ var QuizTitle = forwardRef10(
4707
4829
  } = useQuizStore();
4708
4830
  const totalQuestions = getTotalQuestions();
4709
4831
  const quizTitle = getQuizTitle();
4710
- return /* @__PURE__ */ jsxs14(
4832
+ return /* @__PURE__ */ jsxs15(
4711
4833
  "div",
4712
4834
  {
4713
4835
  ref,
@@ -4717,11 +4839,11 @@ var QuizTitle = forwardRef10(
4717
4839
  ),
4718
4840
  ...props,
4719
4841
  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" })
4842
+ /* @__PURE__ */ jsxs15("span", { className: "flex flex-col gap-2 text-center", children: [
4843
+ /* @__PURE__ */ jsx18("p", { className: "text-text-950 font-bold text-md", children: quizTitle }),
4844
+ /* @__PURE__ */ jsx18("p", { className: "text-text-600 text-xs", children: totalQuestions > 0 ? `${currentQuestionIndex + 1} de ${totalQuestions}` : "0 de 0" })
4723
4845
  ] }),
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" }) })
4846
+ /* @__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
4847
  ]
4726
4848
  }
4727
4849
  );
@@ -4729,13 +4851,13 @@ var QuizTitle = forwardRef10(
4729
4851
  );
4730
4852
  var QuizSubTitle = forwardRef10(
4731
4853
  ({ 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 }) });
4854
+ 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
4855
  }
4734
4856
  );
4735
4857
  var QuizHeader = () => {
4736
4858
  const { getCurrentQuestion, currentQuestionIndex } = useQuizStore();
4737
4859
  const currentQuestion = getCurrentQuestion();
4738
- return /* @__PURE__ */ jsx17(
4860
+ return /* @__PURE__ */ jsx18(
4739
4861
  HeaderAlternative,
4740
4862
  {
4741
4863
  title: currentQuestion ? `Quest\xE3o ${currentQuestionIndex + 1}` : "Quest\xE3o",
@@ -4745,7 +4867,7 @@ var QuizHeader = () => {
4745
4867
  );
4746
4868
  };
4747
4869
  var QuizContainer = forwardRef10(({ children, className, ...props }, ref) => {
4748
- return /* @__PURE__ */ jsx17(
4870
+ return /* @__PURE__ */ jsx18(
4749
4871
  "div",
4750
4872
  {
4751
4873
  ref,
@@ -4771,7 +4893,7 @@ var QuizContent = forwardRef10(({ paddingBottom }) => {
4771
4893
  ["IMAGEM" /* IMAGEM */]: QuizImageQuestion
4772
4894
  };
4773
4895
  const QuestionComponent = currentQuestion ? questionComponents[currentQuestion.questionType] : null;
4774
- return QuestionComponent ? /* @__PURE__ */ jsx17(QuestionComponent, { paddingBottom }) : null;
4896
+ return QuestionComponent ? /* @__PURE__ */ jsx18(QuestionComponent, { paddingBottom }) : null;
4775
4897
  });
4776
4898
  var QuizAlternative = ({ paddingBottom }) => {
4777
4899
  const {
@@ -4808,10 +4930,10 @@ var QuizAlternative = ({ paddingBottom }) => {
4808
4930
  };
4809
4931
  });
4810
4932
  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(
4933
+ return /* @__PURE__ */ jsx18("div", { children: /* @__PURE__ */ jsx18("p", { children: "N\xE3o h\xE1 Alternativas" }) });
4934
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
4935
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
4936
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx18("div", { className: "space-y-4", children: /* @__PURE__ */ jsx18(
4815
4937
  AlternativesList,
4816
4938
  {
4817
4939
  mode: variant === "default" ? "interactive" : "readonly",
@@ -4909,10 +5031,10 @@ var QuizMultipleChoice = ({ paddingBottom }) => {
4909
5031
  };
4910
5032
  });
4911
5033
  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(
5034
+ return /* @__PURE__ */ jsx18("div", { children: /* @__PURE__ */ jsx18("p", { children: "N\xE3o h\xE1 Escolhas Multiplas" }) });
5035
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5036
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
5037
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx18("div", { className: "space-y-4", children: /* @__PURE__ */ jsx18(
4916
5038
  MultipleChoiceList,
4917
5039
  {
4918
5040
  choices,
@@ -4958,12 +5080,12 @@ var QuizDissertative = ({ paddingBottom }) => {
4958
5080
  adjustTextareaHeight();
4959
5081
  }, [currentAnswer, adjustTextareaHeight]);
4960
5082
  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" }) });
5083
+ 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
5084
  }
4963
5085
  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(
5086
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5087
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Resposta" }),
5088
+ /* @__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
5089
  TextArea_default,
4968
5090
  {
4969
5091
  ref: textareaRef,
@@ -4973,10 +5095,10 @@ var QuizDissertative = ({ paddingBottom }) => {
4973
5095
  rows: 4,
4974
5096
  className: "min-h-[120px] max-h-[400px] resize-none overflow-y-auto"
4975
5097
  }
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." }) })
5098
+ ) }) : /* @__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" }) }) }) }),
5099
+ variant === "result" && currentQuestionResult?.answerStatus == "RESPOSTA_INCORRETA" /* RESPOSTA_INCORRETA */ && /* @__PURE__ */ jsxs15(Fragment6, { children: [
5100
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Observa\xE7\xE3o do professor" }),
5101
+ /* @__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
5102
  ] })
4981
5103
  ] });
4982
5104
  };
@@ -5002,16 +5124,16 @@ var QuizTrueOrFalse = ({ paddingBottom }) => {
5002
5124
  ];
5003
5125
  const getLetterByIndex = (index) => String.fromCharCode(97 + index);
5004
5126
  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) => {
5127
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5128
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
5129
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx18("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
5008
5130
  const variantCorrect = option.isCorrect ? "correct" : "incorrect";
5009
- return /* @__PURE__ */ jsxs14(
5131
+ return /* @__PURE__ */ jsxs15(
5010
5132
  "section",
5011
5133
  {
5012
5134
  className: "flex flex-col gap-2",
5013
5135
  children: [
5014
- /* @__PURE__ */ jsxs14(
5136
+ /* @__PURE__ */ jsxs15(
5015
5137
  "div",
5016
5138
  {
5017
5139
  className: cn(
@@ -5019,20 +5141,20 @@ var QuizTrueOrFalse = ({ paddingBottom }) => {
5019
5141
  !isDefaultVariant ? getStatusStyles(variantCorrect) : ""
5020
5142
  ),
5021
5143
  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" })
5144
+ /* @__PURE__ */ jsx18("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index).concat(") ").concat(option.label) }),
5145
+ isDefaultVariant ? /* @__PURE__ */ jsxs15(Select_default, { size: "medium", children: [
5146
+ /* @__PURE__ */ jsx18(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ jsx18(SelectValue, { placeholder: "Selecione opc\xE3o" }) }),
5147
+ /* @__PURE__ */ jsxs15(SelectContent, { children: [
5148
+ /* @__PURE__ */ jsx18(SelectItem, { value: "V", children: "Verdadeiro" }),
5149
+ /* @__PURE__ */ jsx18(SelectItem, { value: "F", children: "Falso" })
5028
5150
  ] })
5029
- ] }) : /* @__PURE__ */ jsx17("div", { className: "flex-shrink-0", children: getStatusBadge(variantCorrect) })
5151
+ ] }) : /* @__PURE__ */ jsx18("div", { className: "flex-shrink-0", children: getStatusBadge(variantCorrect) })
5030
5152
  ]
5031
5153
  }
5032
5154
  ),
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" })
5155
+ !isDefaultVariant && /* @__PURE__ */ jsxs15("span", { className: "flex flex-row gap-2 items-center", children: [
5156
+ /* @__PURE__ */ jsx18("p", { className: "text-text-800 text-2xs", children: "Resposta selecionada: V" }),
5157
+ !option.isCorrect && /* @__PURE__ */ jsx18("p", { className: "text-text-800 text-2xs", children: "Resposta correta: F" })
5036
5158
  ] })
5037
5159
  ]
5038
5160
  },
@@ -5122,13 +5244,13 @@ var QuizConnectDots = ({ paddingBottom }) => {
5122
5244
  const assignedDots = new Set(
5123
5245
  userAnswers.map((a) => a.dotOption).filter(Boolean)
5124
5246
  );
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) => {
5247
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5248
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
5249
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsx18("div", { className: "flex flex-col gap-3.5", children: options.map((option, index) => {
5128
5250
  const answer = userAnswers[index];
5129
5251
  const variantCorrect = answer.isCorrect ? "correct" : "incorrect";
5130
- return /* @__PURE__ */ jsxs14("section", { className: "flex flex-col gap-2", children: [
5131
- /* @__PURE__ */ jsxs14(
5252
+ return /* @__PURE__ */ jsxs15("section", { className: "flex flex-col gap-2", children: [
5253
+ /* @__PURE__ */ jsxs15(
5132
5254
  "div",
5133
5255
  {
5134
5256
  className: cn(
@@ -5136,30 +5258,30 @@ var QuizConnectDots = ({ paddingBottom }) => {
5136
5258
  !isDefaultVariant ? getStatusStyles(variantCorrect) : ""
5137
5259
  ),
5138
5260
  children: [
5139
- /* @__PURE__ */ jsx17("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index) + ") " + option.label }),
5140
- isDefaultVariant ? /* @__PURE__ */ jsxs14(
5261
+ /* @__PURE__ */ jsx18("p", { className: "text-text-900 text-sm", children: getLetterByIndex(index) + ") " + option.label }),
5262
+ isDefaultVariant ? /* @__PURE__ */ jsxs15(
5141
5263
  Select_default,
5142
5264
  {
5143
5265
  size: "medium",
5144
5266
  value: answer.dotOption || void 0,
5145
5267
  onValueChange: (value) => handleSelectDot(index, value),
5146
5268
  children: [
5147
- /* @__PURE__ */ jsx17(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ jsx17(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
5148
- /* @__PURE__ */ jsx17(SelectContent, { children: dotsOptions.filter(
5269
+ /* @__PURE__ */ jsx18(SelectTrigger, { className: "w-[180px]", children: /* @__PURE__ */ jsx18(SelectValue, { placeholder: "Selecione op\xE7\xE3o" }) }),
5270
+ /* @__PURE__ */ jsx18(SelectContent, { children: dotsOptions.filter(
5149
5271
  (dot) => !assignedDots.has(dot.label) || answer.dotOption === dot.label
5150
- ).map((dot) => /* @__PURE__ */ jsx17(SelectItem, { value: dot.label, children: dot.label }, dot.label)) })
5272
+ ).map((dot) => /* @__PURE__ */ jsx18(SelectItem, { value: dot.label, children: dot.label }, dot.label)) })
5151
5273
  ]
5152
5274
  }
5153
- ) : /* @__PURE__ */ jsx17("div", { className: "flex-shrink-0", children: answer.isCorrect === null ? null : getStatusBadge(variantCorrect) })
5275
+ ) : /* @__PURE__ */ jsx18("div", { className: "flex-shrink-0", children: answer.isCorrect === null ? null : getStatusBadge(variantCorrect) })
5154
5276
  ]
5155
5277
  }
5156
5278
  ),
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: [
5279
+ !isDefaultVariant && /* @__PURE__ */ jsxs15("span", { className: "flex flex-row gap-2 items-center", children: [
5280
+ /* @__PURE__ */ jsxs15("p", { className: "text-text-800 text-2xs", children: [
5159
5281
  "Resposta selecionada: ",
5160
5282
  answer.dotOption || "Nenhuma"
5161
5283
  ] }),
5162
- !answer.isCorrect && /* @__PURE__ */ jsxs14("p", { className: "text-text-800 text-2xs", children: [
5284
+ !answer.isCorrect && /* @__PURE__ */ jsxs15("p", { className: "text-text-800 text-2xs", children: [
5163
5285
  "Resposta correta: ",
5164
5286
  answer.correctOption
5165
5287
  ] })
@@ -5226,18 +5348,18 @@ var QuizFill = ({ paddingBottom }) => {
5226
5348
  const mockAnswer = mockUserAnswers.find(
5227
5349
  (answer) => answer.selectId === selectId
5228
5350
  );
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 });
5351
+ 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
5352
  };
5231
5353
  const renderDefaultElement = (selectId, startIndex, selectedValue, availableOptionsForThisSelect) => {
5232
- return /* @__PURE__ */ jsxs14(
5354
+ return /* @__PURE__ */ jsxs15(
5233
5355
  Select_default,
5234
5356
  {
5235
5357
  value: selectedValue,
5236
5358
  onValueChange: (value) => handleSelectChange(selectId, value),
5237
5359
  className: "inline-flex mb-2.5",
5238
5360
  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}`)) })
5361
+ /* @__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" }) }),
5362
+ /* @__PURE__ */ jsx18(SelectContent, { children: availableOptionsForThisSelect.map((option, index) => /* @__PURE__ */ jsx18(SelectItem, { value: option, children: option }, `${option}-${index}`)) })
5241
5363
  ]
5242
5364
  },
5243
5365
  `${selectId}-${startIndex}`
@@ -5249,8 +5371,8 @@ var QuizFill = ({ paddingBottom }) => {
5249
5371
  );
5250
5372
  if (!mockAnswer) return null;
5251
5373
  const action = mockAnswer.isCorrect ? "success" : "error";
5252
- const icon = mockAnswer.isCorrect ? /* @__PURE__ */ jsx17(CheckCircle4, {}) : /* @__PURE__ */ jsx17(XCircle4, {});
5253
- return /* @__PURE__ */ jsx17(
5374
+ const icon = mockAnswer.isCorrect ? /* @__PURE__ */ jsx18(CheckCircle4, {}) : /* @__PURE__ */ jsx18(XCircle4, {});
5375
+ return /* @__PURE__ */ jsx18(
5254
5376
  Badge_default,
5255
5377
  {
5256
5378
  variant: "solid",
@@ -5258,7 +5380,7 @@ var QuizFill = ({ paddingBottom }) => {
5258
5380
  iconRight: icon,
5259
5381
  size: "large",
5260
5382
  className: "py-3 w-[180px] justify-between mb-2.5",
5261
- children: /* @__PURE__ */ jsx17("span", { className: "text-text-900", children: mockAnswer.userAnswer })
5383
+ children: /* @__PURE__ */ jsx18("span", { className: "text-text-900", children: mockAnswer.userAnswer })
5262
5384
  },
5263
5385
  selectId
5264
5386
  );
@@ -5314,25 +5436,25 @@ var QuizFill = ({ paddingBottom }) => {
5314
5436
  }
5315
5437
  return elements;
5316
5438
  };
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(
5439
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5440
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Alternativas" }),
5441
+ /* @__PURE__ */ jsx18(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ jsx18("div", { className: "space-y-6 px-4 h-auto", children: /* @__PURE__ */ jsx18(
5320
5442
  "div",
5321
5443
  {
5322
5444
  className: cn(
5323
5445
  "text-lg text-text-900 leading-8 h-auto",
5324
5446
  variant != "result" && paddingBottom
5325
5447
  ),
5326
- children: renderTextWithSelects(exampleText).map((element) => /* @__PURE__ */ jsx17("span", { children: element.element }, element.id))
5448
+ children: renderTextWithSelects(exampleText).map((element) => /* @__PURE__ */ jsx18("span", { children: element.element }, element.id))
5327
5449
  }
5328
5450
  ) }) }),
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(
5451
+ variant === "result" && /* @__PURE__ */ jsxs15(Fragment6, { children: [
5452
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Resultado" }),
5453
+ /* @__PURE__ */ jsx18(QuizContainer, { className: "h-auto pb-0", children: /* @__PURE__ */ jsx18("div", { className: "space-y-6 px-4", children: /* @__PURE__ */ jsx18(
5332
5454
  "div",
5333
5455
  {
5334
5456
  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))
5457
+ children: renderTextWithSelects(exampleText, true).map((element) => /* @__PURE__ */ jsx18("span", { children: element.element }, element.id))
5336
5458
  }
5337
5459
  ) }) })
5338
5460
  ] })
@@ -5386,36 +5508,36 @@ var QuizImageQuestion = ({ paddingBottom }) => {
5386
5508
  }
5387
5509
  return "bg-success-600/70 border-white";
5388
5510
  };
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(
5511
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5512
+ /* @__PURE__ */ jsx18(QuizSubTitle, { subTitle: "Clique na \xE1rea correta" }),
5513
+ /* @__PURE__ */ jsx18(QuizContainer, { className: cn("", paddingBottom), children: /* @__PURE__ */ jsxs15(
5392
5514
  "div",
5393
5515
  {
5394
5516
  "data-testid": "quiz-image-container",
5395
5517
  className: "space-y-6 p-3 relative inline-block",
5396
5518
  children: [
5397
- variant == "result" && /* @__PURE__ */ jsxs14(
5519
+ variant == "result" && /* @__PURE__ */ jsxs15(
5398
5520
  "div",
5399
5521
  {
5400
5522
  "data-testid": "quiz-legend",
5401
5523
  className: "flex items-center gap-4 text-xs",
5402
5524
  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" })
5525
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2", children: [
5526
+ /* @__PURE__ */ jsx18("div", { className: "w-3 h-3 rounded-full bg-indicator-primary/70 border border-[#F8CC2E]" }),
5527
+ /* @__PURE__ */ jsx18("span", { className: "text-text-600 font-medium text-sm", children: "\xC1rea correta" })
5406
5528
  ] }),
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" })
5529
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2", children: [
5530
+ /* @__PURE__ */ jsx18("div", { className: "w-3 h-3 rounded-full bg-success-600/70 border border-white" }),
5531
+ /* @__PURE__ */ jsx18("span", { className: "text-text-600 font-medium text-sm", children: "Resposta correta" })
5410
5532
  ] }),
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" })
5533
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2", children: [
5534
+ /* @__PURE__ */ jsx18("div", { className: "w-3 h-3 rounded-full bg-indicator-error/70 border border-white" }),
5535
+ /* @__PURE__ */ jsx18("span", { className: "text-text-600 font-medium text-sm", children: "Resposta incorreta" })
5414
5536
  ] })
5415
5537
  ]
5416
5538
  }
5417
5539
  ),
5418
- /* @__PURE__ */ jsxs14(
5540
+ /* @__PURE__ */ jsxs15(
5419
5541
  "button",
5420
5542
  {
5421
5543
  "data-testid": "quiz-image-button",
@@ -5430,7 +5552,7 @@ var QuizImageQuestion = ({ paddingBottom }) => {
5430
5552
  },
5431
5553
  "aria-label": "\xC1rea da imagem interativa",
5432
5554
  children: [
5433
- /* @__PURE__ */ jsx17(
5555
+ /* @__PURE__ */ jsx18(
5434
5556
  "img",
5435
5557
  {
5436
5558
  "data-testid": "quiz-image",
@@ -5439,7 +5561,7 @@ var QuizImageQuestion = ({ paddingBottom }) => {
5439
5561
  className: "w-full h-auto rounded-md"
5440
5562
  }
5441
5563
  ),
5442
- variant === "result" && /* @__PURE__ */ jsx17(
5564
+ variant === "result" && /* @__PURE__ */ jsx18(
5443
5565
  "div",
5444
5566
  {
5445
5567
  "data-testid": "quiz-correct-circle",
@@ -5454,7 +5576,7 @@ var QuizImageQuestion = ({ paddingBottom }) => {
5454
5576
  }
5455
5577
  }
5456
5578
  ),
5457
- clickPositionRelative && /* @__PURE__ */ jsx17(
5579
+ clickPositionRelative && /* @__PURE__ */ jsx18(
5458
5580
  "div",
5459
5581
  {
5460
5582
  "data-testid": "quiz-user-circle",
@@ -5522,18 +5644,18 @@ var QuizQuestionList = ({
5522
5644
  return "Em branco";
5523
5645
  }
5524
5646
  };
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" }) }),
5647
+ return /* @__PURE__ */ jsxs15("div", { className: "space-y-6 px-4 h-full", children: [
5648
+ 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
5649
  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" })
5650
+ ([subjectId, questions]) => /* @__PURE__ */ jsxs15("section", { className: "flex flex-col gap-2", children: [
5651
+ /* @__PURE__ */ jsxs15("span", { className: "pt-6 pb-4 flex flex-row gap-2", children: [
5652
+ /* @__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" }) }),
5653
+ /* @__PURE__ */ jsx18("p", { className: "text-text-800 font-bold text-lg", children: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria" })
5532
5654
  ] }),
5533
- /* @__PURE__ */ jsx17("ul", { className: "flex flex-col gap-2", children: questions.map((question) => {
5655
+ /* @__PURE__ */ jsx18("ul", { className: "flex flex-col gap-2", children: questions.map((question) => {
5534
5656
  const status = getQuestionStatus(question.id);
5535
5657
  const questionNumber = getQuestionIndex(question.id);
5536
- return /* @__PURE__ */ jsx17(
5658
+ return /* @__PURE__ */ jsx18(
5537
5659
  CardStatus,
5538
5660
  {
5539
5661
  header: `Quest\xE3o ${questionNumber.toString().padStart(2, "0")}`,
@@ -5613,8 +5735,8 @@ var QuizFooter = forwardRef10(
5613
5735
  return;
5614
5736
  }
5615
5737
  };
5616
- return /* @__PURE__ */ jsxs14(Fragment6, { children: [
5617
- /* @__PURE__ */ jsx17(
5738
+ return /* @__PURE__ */ jsxs15(Fragment6, { children: [
5739
+ /* @__PURE__ */ jsx18(
5618
5740
  "footer",
5619
5741
  {
5620
5742
  ref,
@@ -5623,17 +5745,17 @@ var QuizFooter = forwardRef10(
5623
5745
  className
5624
5746
  ),
5625
5747
  ...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(
5748
+ children: variant === "default" ? /* @__PURE__ */ jsxs15(Fragment6, { children: [
5749
+ /* @__PURE__ */ jsxs15("div", { className: "flex flex-row items-center gap-1", children: [
5750
+ /* @__PURE__ */ jsx18(
5629
5751
  IconButton_default,
5630
5752
  {
5631
- icon: /* @__PURE__ */ jsx17(SquaresFour, { size: 24, className: "text-text-950" }),
5753
+ icon: /* @__PURE__ */ jsx18(SquaresFour, { size: 24, className: "text-text-950" }),
5632
5754
  size: "md",
5633
5755
  onClick: () => setModalNavigateOpen(true)
5634
5756
  }
5635
5757
  ),
5636
- isFirstQuestion ? /* @__PURE__ */ jsx17(
5758
+ isFirstQuestion ? /* @__PURE__ */ jsx18(
5637
5759
  Button_default,
5638
5760
  {
5639
5761
  variant: "outline",
@@ -5644,13 +5766,13 @@ var QuizFooter = forwardRef10(
5644
5766
  },
5645
5767
  children: "Pular"
5646
5768
  }
5647
- ) : /* @__PURE__ */ jsx17(
5769
+ ) : /* @__PURE__ */ jsx18(
5648
5770
  Button_default,
5649
5771
  {
5650
5772
  size: "medium",
5651
5773
  variant: "link",
5652
5774
  action: "primary",
5653
- iconLeft: /* @__PURE__ */ jsx17(CaretLeft, { size: 18 }),
5775
+ iconLeft: /* @__PURE__ */ jsx18(CaretLeft, { size: 18 }),
5654
5776
  onClick: () => {
5655
5777
  goToPreviousQuestion();
5656
5778
  },
@@ -5658,7 +5780,7 @@ var QuizFooter = forwardRef10(
5658
5780
  }
5659
5781
  )
5660
5782
  ] }),
5661
- !isFirstQuestion && !isLastQuestion && /* @__PURE__ */ jsx17(
5783
+ !isFirstQuestion && !isLastQuestion && /* @__PURE__ */ jsx18(
5662
5784
  Button_default,
5663
5785
  {
5664
5786
  size: "small",
@@ -5671,7 +5793,7 @@ var QuizFooter = forwardRef10(
5671
5793
  children: "Pular"
5672
5794
  }
5673
5795
  ),
5674
- isLastQuestion ? /* @__PURE__ */ jsx17(
5796
+ isLastQuestion ? /* @__PURE__ */ jsx18(
5675
5797
  Button_default,
5676
5798
  {
5677
5799
  size: "medium",
@@ -5681,13 +5803,13 @@ var QuizFooter = forwardRef10(
5681
5803
  onClick: handleFinishQuiz,
5682
5804
  children: "Finalizar"
5683
5805
  }
5684
- ) : /* @__PURE__ */ jsx17(
5806
+ ) : /* @__PURE__ */ jsx18(
5685
5807
  Button_default,
5686
5808
  {
5687
5809
  size: "medium",
5688
5810
  variant: "link",
5689
5811
  action: "primary",
5690
- iconRight: /* @__PURE__ */ jsx17(CaretRight2, { size: 18 }),
5812
+ iconRight: /* @__PURE__ */ jsx18(CaretRight2, { size: 18 }),
5691
5813
  disabled: !currentAnswer && !isCurrentQuestionSkipped,
5692
5814
  onClick: () => {
5693
5815
  goToNextQuestion();
@@ -5695,7 +5817,7 @@ var QuizFooter = forwardRef10(
5695
5817
  children: "Avan\xE7ar"
5696
5818
  }
5697
5819
  )
5698
- ] }) : /* @__PURE__ */ jsx17("div", { className: "flex flex-row items-center justify-end w-full", children: /* @__PURE__ */ jsx17(
5820
+ ] }) : /* @__PURE__ */ jsx18("div", { className: "flex flex-row items-center justify-end w-full", children: /* @__PURE__ */ jsx18(
5699
5821
  Button_default,
5700
5822
  {
5701
5823
  variant: "solid",
@@ -5707,7 +5829,7 @@ var QuizFooter = forwardRef10(
5707
5829
  ) })
5708
5830
  }
5709
5831
  ),
5710
- /* @__PURE__ */ jsx17(
5832
+ /* @__PURE__ */ jsx18(
5711
5833
  AlertDialog,
5712
5834
  {
5713
5835
  isOpen: alertDialogOpen,
@@ -5719,7 +5841,7 @@ var QuizFooter = forwardRef10(
5719
5841
  onSubmit: handleAlertSubmit
5720
5842
  }
5721
5843
  ),
5722
- /* @__PURE__ */ jsx17(
5844
+ /* @__PURE__ */ jsx18(
5723
5845
  Modal_default,
5724
5846
  {
5725
5847
  isOpen: modalResultOpen,
@@ -5729,11 +5851,11 @@ var QuizFooter = forwardRef10(
5729
5851
  closeOnEscape: false,
5730
5852
  hideCloseButton: true,
5731
5853
  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: [
5854
+ children: /* @__PURE__ */ jsxs15("div", { className: "flex flex-col w-full h-full items-center justify-center gap-4", children: [
5855
+ 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" }) }),
5856
+ /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-2 text-center", children: [
5857
+ /* @__PURE__ */ jsx18("h2", { className: "text-text-950 font-bold text-lg", children: "Voc\xEA concluiu o simulado!" }),
5858
+ /* @__PURE__ */ jsxs15("p", { className: "text-text-500 font-sm", children: [
5737
5859
  "Voc\xEA acertou",
5738
5860
  " ",
5739
5861
  getQuestionResultStatistics()?.correctAnswers ?? "--",
@@ -5743,8 +5865,8 @@ var QuizFooter = forwardRef10(
5743
5865
  " quest\xF5es."
5744
5866
  ] })
5745
5867
  ] }),
5746
- /* @__PURE__ */ jsxs14("div", { className: "px-6 flex flex-row items-center gap-2 w-full", children: [
5747
- /* @__PURE__ */ jsx17(
5868
+ /* @__PURE__ */ jsxs15("div", { className: "px-6 flex flex-row items-center gap-2 w-full", children: [
5869
+ /* @__PURE__ */ jsx18(
5748
5870
  Button_default,
5749
5871
  {
5750
5872
  variant: "outline",
@@ -5754,38 +5876,38 @@ var QuizFooter = forwardRef10(
5754
5876
  children: "Ir para simulados"
5755
5877
  }
5756
5878
  ),
5757
- /* @__PURE__ */ jsx17(Button_default, { className: "w-full", onClick: onDetailResult, children: "Detalhar resultado" })
5879
+ /* @__PURE__ */ jsx18(Button_default, { className: "w-full", onClick: onDetailResult, children: "Detalhar resultado" })
5758
5880
  ] })
5759
5881
  ] })
5760
5882
  }
5761
5883
  ),
5762
- /* @__PURE__ */ jsx17(
5884
+ /* @__PURE__ */ jsx18(
5763
5885
  Modal_default,
5764
5886
  {
5765
5887
  isOpen: modalNavigateOpen,
5766
5888
  onClose: () => setModalNavigateOpen(false),
5767
5889
  title: "Quest\xF5es",
5768
5890
  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(
5891
+ children: /* @__PURE__ */ jsxs15("div", { className: "flex flex-col w-full h-full", children: [
5892
+ /* @__PURE__ */ jsxs15("div", { className: "flex flex-row justify-between items-center py-6 pt-6 pb-4 border-b border-border-200", children: [
5893
+ /* @__PURE__ */ jsx18("p", { className: "text-text-950 font-bold text-lg", children: "Filtrar por" }),
5894
+ /* @__PURE__ */ jsx18("span", { className: "max-w-[266px]", children: /* @__PURE__ */ jsxs15(Select_default, { value: filterType, onValueChange: setFilterType, children: [
5895
+ /* @__PURE__ */ jsx18(
5774
5896
  SelectTrigger,
5775
5897
  {
5776
5898
  variant: "rounded",
5777
5899
  className: "max-w-[266px] min-w-[160px]",
5778
- children: /* @__PURE__ */ jsx17(SelectValue, { placeholder: "Selecione uma op\xE7\xE3o" })
5900
+ children: /* @__PURE__ */ jsx18(SelectValue, { placeholder: "Selecione uma op\xE7\xE3o" })
5779
5901
  }
5780
5902
  ),
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" })
5903
+ /* @__PURE__ */ jsxs15(SelectContent, { children: [
5904
+ /* @__PURE__ */ jsx18(SelectItem, { value: "all", children: "Todas" }),
5905
+ /* @__PURE__ */ jsx18(SelectItem, { value: "unanswered", children: "Em branco" }),
5906
+ /* @__PURE__ */ jsx18(SelectItem, { value: "answered", children: "Respondidas" })
5785
5907
  ] })
5786
5908
  ] }) })
5787
5909
  ] }),
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(
5910
+ /* @__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
5911
  QuizQuestionList,
5790
5912
  {
5791
5913
  filterType,
@@ -5795,7 +5917,7 @@ var QuizFooter = forwardRef10(
5795
5917
  ] })
5796
5918
  }
5797
5919
  ),
5798
- /* @__PURE__ */ jsx17(
5920
+ /* @__PURE__ */ jsx18(
5799
5921
  Modal_default,
5800
5922
  {
5801
5923
  isOpen: modalResolutionOpen,
@@ -5808,17 +5930,33 @@ var QuizFooter = forwardRef10(
5808
5930
  ] });
5809
5931
  }
5810
5932
  );
5933
+ var QuizBadge = ({ subtype }) => {
5934
+ switch (subtype) {
5935
+ case "PROVA":
5936
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Prova" });
5937
+ case "ENEM":
5938
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Enem" });
5939
+ case "VESTIBULAR":
5940
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Vestibular" });
5941
+ case "SIMULADO":
5942
+ case null:
5943
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Simulado" });
5944
+ default:
5945
+ return /* @__PURE__ */ jsx18(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: subtype });
5946
+ }
5947
+ };
5811
5948
  var QuizResultHeaderTitle = forwardRef10(({ className, ...props }, ref) => {
5812
- const { bySimulated } = useQuizStore();
5813
- return /* @__PURE__ */ jsxs14(
5949
+ const { getActiveQuiz } = useQuizStore();
5950
+ const activeQuiz = getActiveQuiz();
5951
+ return /* @__PURE__ */ jsxs15(
5814
5952
  "div",
5815
5953
  {
5816
5954
  ref,
5817
5955
  className: cn("flex flex-row pt-4 justify-between", className),
5818
5956
  ...props,
5819
5957
  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 })
5958
+ /* @__PURE__ */ jsx18("p", { className: "text-text-950 font-bold text-2xl", children: "Resultado" }),
5959
+ /* @__PURE__ */ jsx18(QuizBadge, { subtype: activeQuiz?.quiz.subtype || null })
5822
5960
  ]
5823
5961
  }
5824
5962
  );
@@ -5826,7 +5964,7 @@ var QuizResultHeaderTitle = forwardRef10(({ className, ...props }, ref) => {
5826
5964
  var QuizResultTitle = forwardRef10(({ className, ...props }, ref) => {
5827
5965
  const { getQuizTitle } = useQuizStore();
5828
5966
  const quizTitle = getQuizTitle();
5829
- return /* @__PURE__ */ jsx17(
5967
+ return /* @__PURE__ */ jsx18(
5830
5968
  "p",
5831
5969
  {
5832
5970
  className: cn("pt-6 pb-4 text-text-950 font-bold text-lg", className),
@@ -5879,15 +6017,15 @@ var QuizResultPerformance = forwardRef10(
5879
6017
  });
5880
6018
  }
5881
6019
  const percentage = totalQuestions > 0 ? Math.round(correctAnswers / totalQuestions * 100) : 0;
5882
- return /* @__PURE__ */ jsxs14(
6020
+ return /* @__PURE__ */ jsxs15(
5883
6021
  "div",
5884
6022
  {
5885
6023
  className: "flex flex-row gap-6 p-6 rounded-xl bg-background justify-between",
5886
6024
  ref,
5887
6025
  ...props,
5888
6026
  children: [
5889
- /* @__PURE__ */ jsxs14("div", { className: "relative", children: [
5890
- /* @__PURE__ */ jsx17(
6027
+ /* @__PURE__ */ jsxs15("div", { className: "relative", children: [
6028
+ /* @__PURE__ */ jsx18(
5891
6029
  ProgressCircle_default,
5892
6030
  {
5893
6031
  size: "medium",
@@ -5897,22 +6035,22 @@ var QuizResultPerformance = forwardRef10(
5897
6035
  label: ""
5898
6036
  }
5899
6037
  ),
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) })
6038
+ /* @__PURE__ */ jsxs15("div", { className: "absolute inset-0 flex flex-col items-center justify-center", children: [
6039
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-1 mb-1", children: [
6040
+ /* @__PURE__ */ jsx18(Clock2, { size: 12, weight: "regular", className: "text-text-800" }),
6041
+ /* @__PURE__ */ jsx18("span", { className: "text-2xs font-medium text-text-800", children: formatTime(timeElapsed) })
5904
6042
  ] }),
5905
- /* @__PURE__ */ jsxs14("div", { className: "text-2xl font-medium text-text-800 leading-7", children: [
6043
+ /* @__PURE__ */ jsxs15("div", { className: "text-2xl font-medium text-text-800 leading-7", children: [
5906
6044
  getQuestionResultStatistics()?.correctAnswers ?? "--",
5907
6045
  " de",
5908
6046
  " ",
5909
6047
  totalQuestions
5910
6048
  ] }),
5911
- /* @__PURE__ */ jsx17("div", { className: "text-2xs font-medium text-text-600 mt-1", children: "Corretas" })
6049
+ /* @__PURE__ */ jsx18("div", { className: "text-2xs font-medium text-text-600 mt-1", children: "Corretas" })
5912
6050
  ] })
5913
6051
  ] }),
5914
- /* @__PURE__ */ jsxs14("div", { className: "flex flex-col gap-4 w-full", children: [
5915
- /* @__PURE__ */ jsx17(
6052
+ /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-4 w-full", children: [
6053
+ /* @__PURE__ */ jsx18(
5916
6054
  ProgressBar_default,
5917
6055
  {
5918
6056
  className: "w-full",
@@ -5926,7 +6064,7 @@ var QuizResultPerformance = forwardRef10(
5926
6064
  percentageClassName: "text-xs font-medium leading-[14px] text-right"
5927
6065
  }
5928
6066
  ),
5929
- /* @__PURE__ */ jsx17(
6067
+ /* @__PURE__ */ jsx18(
5930
6068
  ProgressBar_default,
5931
6069
  {
5932
6070
  className: "w-full",
@@ -5940,7 +6078,7 @@ var QuizResultPerformance = forwardRef10(
5940
6078
  percentageClassName: "text-xs font-medium leading-[14px] text-right"
5941
6079
  }
5942
6080
  ),
5943
- /* @__PURE__ */ jsx17(
6081
+ /* @__PURE__ */ jsx18(
5944
6082
  ProgressBar_default,
5945
6083
  {
5946
6084
  className: "w-full",
@@ -5977,7 +6115,9 @@ var QuizListResult = forwardRef10(({ className, onSubjectClick, ...props }, ref)
5977
6115
  return {
5978
6116
  subject: {
5979
6117
  name: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria",
5980
- id: subjectId
6118
+ id: subjectId,
6119
+ color: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.color ?? "",
6120
+ icon: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.icon ?? ""
5981
6121
  },
5982
6122
  correct,
5983
6123
  incorrect,
@@ -5985,9 +6125,9 @@ var QuizListResult = forwardRef10(({ className, onSubjectClick, ...props }, ref)
5985
6125
  };
5986
6126
  }
5987
6127
  );
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(
6128
+ return /* @__PURE__ */ jsxs15("section", { ref, className, ...props, children: [
6129
+ /* @__PURE__ */ jsx18("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Mat\xE9rias" }),
6130
+ /* @__PURE__ */ jsx18("ul", { className: "flex flex-col gap-2", children: subjectsStats.map((subject) => /* @__PURE__ */ jsx18("li", { children: /* @__PURE__ */ jsx18(
5991
6131
  CardResults,
5992
6132
  {
5993
6133
  onClick: () => onSubjectClick?.(subject.subject.id),
@@ -5995,7 +6135,8 @@ var QuizListResult = forwardRef10(({ className, onSubjectClick, ...props }, ref)
5995
6135
  header: subject.subject.name,
5996
6136
  correct_answers: subject.correct,
5997
6137
  incorrect_answers: subject.incorrect,
5998
- icon: /* @__PURE__ */ jsx17(Book, { size: 20 }),
6138
+ icon: subject.subject.icon || "Book",
6139
+ color: subject.subject.color || void 0,
5999
6140
  direction: "row"
6000
6141
  }
6001
6142
  ) }, subject.subject.id)) })
@@ -6008,16 +6149,16 @@ var QuizListResultByMateria = ({
6008
6149
  const { getQuestionsGroupedBySubject, getQuestionIndex } = useQuizStore();
6009
6150
  const groupedQuestions = getQuestionsGroupedBySubject();
6010
6151
  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) => {
6152
+ return /* @__PURE__ */ jsxs15("div", { className: "flex flex-col", children: [
6153
+ /* @__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" }) }),
6154
+ /* @__PURE__ */ jsxs15("section", { className: "flex flex-col ", children: [
6155
+ /* @__PURE__ */ jsx18("p", { className: "pt-6 pb-4 text-text-950 font-bold text-lg", children: "Resultado das quest\xF5es" }),
6156
+ /* @__PURE__ */ jsx18("ul", { className: "flex flex-col gap-2 pt-4", children: answeredQuestions.map((question) => {
6016
6157
  const questionIndex = getQuestionIndex(
6017
6158
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
6018
6159
  question.questionId ?? question.id
6019
6160
  );
6020
- return /* @__PURE__ */ jsx17("li", { children: /* @__PURE__ */ jsx17(
6161
+ return /* @__PURE__ */ jsx18("li", { children: /* @__PURE__ */ jsx18(
6021
6162
  CardStatus,
6022
6163
  {
6023
6164
  className: "max-w-full",