analytica-frontend-lib 1.2.37 → 1.2.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/Accordation/index.d.ts +4 -0
  2. package/dist/Accordation/index.d.ts.map +1 -1
  3. package/dist/Accordation/index.js +5 -2
  4. package/dist/Accordation/index.js.map +1 -1
  5. package/dist/Accordation/index.mjs +5 -2
  6. package/dist/Accordation/index.mjs.map +1 -1
  7. package/dist/ActivityCardQuestionBanks/index.css +24 -10
  8. package/dist/ActivityCardQuestionBanks/index.css.map +1 -1
  9. package/dist/ActivityCardQuestionBanks/index.d.ts.map +1 -1
  10. package/dist/ActivityCardQuestionBanks/index.js +8 -6
  11. package/dist/ActivityCardQuestionBanks/index.js.map +1 -1
  12. package/dist/ActivityCardQuestionBanks/index.mjs +8 -6
  13. package/dist/ActivityCardQuestionBanks/index.mjs.map +1 -1
  14. package/dist/ActivityCardQuestionPreview/index.css +19307 -0
  15. package/dist/ActivityCardQuestionPreview/index.css.map +1 -0
  16. package/dist/ActivityCardQuestionPreview/index.d.ts +29 -0
  17. package/dist/ActivityCardQuestionPreview/index.d.ts.map +1 -0
  18. package/dist/ActivityCardQuestionPreview/index.js +3684 -0
  19. package/dist/ActivityCardQuestionPreview/index.js.map +1 -0
  20. package/dist/ActivityCardQuestionPreview/index.mjs +3692 -0
  21. package/dist/ActivityCardQuestionPreview/index.mjs.map +1 -0
  22. package/dist/ActivityDetails/index.css +24 -10
  23. package/dist/ActivityDetails/index.css.map +1 -1
  24. package/dist/ActivityDetails/index.js +83 -31
  25. package/dist/ActivityDetails/index.js.map +1 -1
  26. package/dist/ActivityDetails/index.mjs +84 -31
  27. package/dist/ActivityDetails/index.mjs.map +1 -1
  28. package/dist/ActivityFilters/index.css +24 -10
  29. package/dist/ActivityFilters/index.css.map +1 -1
  30. package/dist/ActivityFilters/index.js +83 -31
  31. package/dist/ActivityFilters/index.js.map +1 -1
  32. package/dist/ActivityFilters/index.mjs +84 -31
  33. package/dist/ActivityFilters/index.mjs.map +1 -1
  34. package/dist/ActivityPreview/index.css +19307 -0
  35. package/dist/ActivityPreview/index.css.map +1 -0
  36. package/dist/ActivityPreview/index.d.ts +34 -0
  37. package/dist/ActivityPreview/index.d.ts.map +1 -0
  38. package/dist/ActivityPreview/index.js +4458 -0
  39. package/dist/ActivityPreview/index.js.map +1 -0
  40. package/dist/ActivityPreview/index.mjs +4468 -0
  41. package/dist/ActivityPreview/index.mjs.map +1 -0
  42. package/dist/AlertManager/index.css +24 -10
  43. package/dist/AlertManager/index.css.map +1 -1
  44. package/dist/AlertManager/index.js +500 -389
  45. package/dist/AlertManager/index.js.map +1 -1
  46. package/dist/AlertManager/index.mjs +466 -354
  47. package/dist/AlertManager/index.mjs.map +1 -1
  48. package/dist/CorrectActivityModal/index.js +5 -2
  49. package/dist/CorrectActivityModal/index.js.map +1 -1
  50. package/dist/CorrectActivityModal/index.mjs +5 -2
  51. package/dist/CorrectActivityModal/index.mjs.map +1 -1
  52. package/dist/DropdownMenu/index.d.ts +7 -8
  53. package/dist/DropdownMenu/index.d.ts.map +1 -1
  54. package/dist/DropdownMenu/index.js +78 -29
  55. package/dist/DropdownMenu/index.js.map +1 -1
  56. package/dist/DropdownMenu/index.mjs +79 -29
  57. package/dist/DropdownMenu/index.mjs.map +1 -1
  58. package/dist/NotificationCard/index.js +78 -29
  59. package/dist/NotificationCard/index.js.map +1 -1
  60. package/dist/NotificationCard/index.mjs +79 -29
  61. package/dist/NotificationCard/index.mjs.map +1 -1
  62. package/dist/Search/index.js +78 -29
  63. package/dist/Search/index.js.map +1 -1
  64. package/dist/Search/index.mjs +79 -29
  65. package/dist/Search/index.mjs.map +1 -1
  66. package/dist/SendActivityModal/index.css +19307 -0
  67. package/dist/SendActivityModal/index.css.map +1 -0
  68. package/dist/SendActivityModal/index.d.ts +5 -0
  69. package/dist/SendActivityModal/index.d.ts.map +1 -0
  70. package/dist/SendActivityModal/index.js +6471 -0
  71. package/dist/SendActivityModal/index.js.map +1 -0
  72. package/dist/SendActivityModal/index.mjs +6493 -0
  73. package/dist/SendActivityModal/index.mjs.map +1 -0
  74. package/dist/TableProvider/index.css +24 -10
  75. package/dist/TableProvider/index.css.map +1 -1
  76. package/dist/TableProvider/index.js +83 -31
  77. package/dist/TableProvider/index.js.map +1 -1
  78. package/dist/TableProvider/index.mjs +84 -31
  79. package/dist/TableProvider/index.mjs.map +1 -1
  80. package/dist/index.css +24 -10
  81. package/dist/index.css.map +1 -1
  82. package/dist/index.d.ts +16 -3
  83. package/dist/index.d.ts.map +1 -1
  84. package/dist/index.js +3183 -1502
  85. package/dist/index.js.map +1 -1
  86. package/dist/index.mjs +2963 -1294
  87. package/dist/index.mjs.map +1 -1
  88. package/dist/styles.css +24 -10
  89. package/dist/styles.css.map +1 -1
  90. package/dist/types/activityDetails.d.ts +10 -0
  91. package/dist/types/activityDetails.d.ts.map +1 -1
  92. package/dist/types/questions.d.ts +100 -1
  93. package/dist/types/questions.d.ts.map +1 -1
  94. package/dist/utils/questionRenderer.d.ts +5 -0
  95. package/dist/utils/questionRenderer.d.ts.map +1 -0
  96. package/package.json +10 -3
@@ -1802,12 +1802,14 @@ import { CaretRight, SignOut, User } from "phosphor-react";
1802
1802
  import {
1803
1803
  forwardRef as forwardRef5,
1804
1804
  useEffect as useEffect5,
1805
+ useLayoutEffect,
1805
1806
  useRef as useRef3,
1806
1807
  isValidElement,
1807
1808
  Children,
1808
1809
  cloneElement,
1809
1810
  useState as useState7
1810
1811
  } from "react";
1812
+ import { createPortal } from "react-dom";
1811
1813
  import { create as create3, useStore } from "zustand";
1812
1814
 
1813
1815
  // src/components/ThemeToggle/ThemeToggle.tsx
@@ -2072,7 +2074,7 @@ var DropdownMenu = ({
2072
2074
  ).filter((el) => el instanceof HTMLElement);
2073
2075
  if (items.length === 0) return;
2074
2076
  const focusedItem = document.activeElement;
2075
- const currentIndex = items.findIndex((item) => item === focusedItem);
2077
+ const currentIndex = items.indexOf(focusedItem);
2076
2078
  let nextIndex;
2077
2079
  if (event.key === "ArrowDown") {
2078
2080
  nextIndex = currentIndex === -1 ? 0 : (currentIndex + 1) % items.length;
@@ -2090,9 +2092,14 @@ var DropdownMenu = ({
2090
2092
  }
2091
2093
  };
2092
2094
  const handleClickOutside = (event) => {
2093
- if (menuRef.current && !menuRef.current.contains(event.target)) {
2094
- setOpen(false);
2095
+ const target = event.target;
2096
+ if (menuRef.current?.contains(target)) {
2097
+ return;
2098
+ }
2099
+ if (target instanceof Element && target.closest('[data-dropdown-content="true"]')) {
2100
+ return;
2095
2101
  }
2102
+ setOpen(false);
2096
2103
  };
2097
2104
  useEffect5(() => {
2098
2105
  if (open) {
@@ -2114,40 +2121,30 @@ var DropdownMenu = ({
2114
2121
  }, [propOpen]);
2115
2122
  return /* @__PURE__ */ jsx13("div", { className: "relative", ref: menuRef, children: injectStore(children, store) });
2116
2123
  };
2117
- var DropdownMenuTrigger = ({
2118
- className,
2119
- children,
2120
- onClick,
2121
- store: externalStore,
2122
- ...props
2123
- }) => {
2124
+ var DropdownMenuTrigger = forwardRef5(({ className, children, onClick, store: externalStore, ...props }, ref) => {
2124
2125
  const store = useDropdownStore(externalStore);
2125
2126
  const open = useStore(store, (s) => s.open);
2126
2127
  const toggleOpen = () => store.setState({ open: !open });
2127
2128
  return /* @__PURE__ */ jsx13(
2128
- "div",
2129
+ "button",
2129
2130
  {
2131
+ ref,
2132
+ type: "button",
2130
2133
  onClick: (e) => {
2131
2134
  e.stopPropagation();
2132
2135
  toggleOpen();
2133
- if (onClick) onClick(e);
2134
- },
2135
- role: "button",
2136
- onKeyDown: (e) => {
2137
- if (e.key === "Enter" || e.key === " ") {
2138
- e.preventDefault();
2139
- toggleOpen();
2140
- if (onClick) onClick(e);
2141
- }
2136
+ onClick?.(e);
2142
2137
  },
2143
- tabIndex: 0,
2144
2138
  "aria-expanded": open,
2145
- className: cn(className),
2139
+ className: cn(
2140
+ "appearance-none bg-transparent border-none p-0",
2141
+ className
2142
+ ),
2146
2143
  ...props,
2147
2144
  children
2148
2145
  }
2149
2146
  );
2150
- };
2147
+ });
2151
2148
  DropdownMenuTrigger.displayName = "DropdownMenuTrigger";
2152
2149
  var ITEM_SIZE_CLASSES = {
2153
2150
  small: "text-sm",
@@ -2188,11 +2185,15 @@ var DropdownMenuContent = forwardRef5(
2188
2185
  sideOffset = 4,
2189
2186
  children,
2190
2187
  store: externalStore,
2188
+ portal = false,
2189
+ triggerRef,
2191
2190
  ...props
2192
2191
  }, ref) => {
2193
2192
  const store = useDropdownStore(externalStore);
2194
2193
  const open = useStore(store, (s) => s.open);
2195
2194
  const [isVisible, setIsVisible] = useState7(open);
2195
+ const [portalPosition, setPortalPosition] = useState7({ top: 0, left: 0 });
2196
+ const contentRef = useRef3(null);
2196
2197
  useEffect5(() => {
2197
2198
  if (open) {
2198
2199
  setIsVisible(true);
@@ -2201,18 +2202,61 @@ var DropdownMenuContent = forwardRef5(
2201
2202
  return () => clearTimeout(timer);
2202
2203
  }
2203
2204
  }, [open]);
2205
+ useLayoutEffect(() => {
2206
+ if (portal && open && triggerRef?.current) {
2207
+ const rect = triggerRef.current.getBoundingClientRect();
2208
+ let top = rect.bottom + sideOffset;
2209
+ let left = rect.left;
2210
+ if (side === "left") {
2211
+ left = rect.left - sideOffset;
2212
+ top = rect.top;
2213
+ } else if (side === "right") {
2214
+ left = rect.right + sideOffset;
2215
+ top = rect.top;
2216
+ } else {
2217
+ if (align === "end") {
2218
+ left = rect.right;
2219
+ } else if (align === "center") {
2220
+ left = rect.left + rect.width / 2;
2221
+ }
2222
+ if (side === "top") {
2223
+ top = rect.top - sideOffset;
2224
+ }
2225
+ }
2226
+ setPortalPosition({ top, left });
2227
+ }
2228
+ }, [portal, open, triggerRef, align, side, sideOffset]);
2204
2229
  if (!isVisible) return null;
2205
2230
  const getPositionClasses = () => {
2231
+ if (portal) {
2232
+ return "fixed";
2233
+ }
2206
2234
  const vertical = SIDE_CLASSES[side];
2207
2235
  const horizontal = ALIGN_CLASSES[align];
2208
2236
  return `absolute ${vertical} ${horizontal}`;
2209
2237
  };
2238
+ const getPortalAlignStyle = () => {
2239
+ if (!portal) return {};
2240
+ const baseStyle = {
2241
+ top: portalPosition.top
2242
+ };
2243
+ if (align === "end") {
2244
+ baseStyle.right = window.innerWidth - portalPosition.left;
2245
+ } else if (align === "center") {
2246
+ baseStyle.left = portalPosition.left;
2247
+ baseStyle.transform = "translateX(-50%)";
2248
+ } else {
2249
+ baseStyle.left = portalPosition.left;
2250
+ }
2251
+ return baseStyle;
2252
+ };
2210
2253
  const variantClasses = MENUCONTENT_VARIANT_CLASSES[variant];
2211
- return /* @__PURE__ */ jsx13(
2254
+ const content = /* @__PURE__ */ jsx13(
2212
2255
  "div",
2213
2256
  {
2214
- ref,
2257
+ ref: portal ? contentRef : ref,
2215
2258
  role: "menu",
2259
+ "data-dropdown-content": "true",
2216
2260
  className: `
2217
2261
  bg-background z-50 min-w-[210px] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md border-border-100
2218
2262
  ${open ? "animate-in fade-in-0 zoom-in-95" : "animate-out fade-out-0 zoom-out-95"}
@@ -2221,15 +2265,21 @@ var DropdownMenuContent = forwardRef5(
2221
2265
  ${className}
2222
2266
  `,
2223
2267
  style: {
2224
- marginTop: side === "bottom" ? sideOffset : void 0,
2225
- marginBottom: side === "top" ? sideOffset : void 0,
2226
- marginLeft: side === "right" ? sideOffset : void 0,
2227
- marginRight: side === "left" ? sideOffset : void 0
2268
+ ...portal ? getPortalAlignStyle() : {
2269
+ marginTop: side === "bottom" ? sideOffset : void 0,
2270
+ marginBottom: side === "top" ? sideOffset : void 0,
2271
+ marginLeft: side === "right" ? sideOffset : void 0,
2272
+ marginRight: side === "left" ? sideOffset : void 0
2273
+ }
2228
2274
  },
2229
2275
  ...props,
2230
2276
  children
2231
2277
  }
2232
2278
  );
2279
+ if (portal && typeof document !== "undefined") {
2280
+ return createPortal(content, document.body);
2281
+ }
2282
+ return content;
2233
2283
  }
2234
2284
  );
2235
2285
  DropdownMenuContent.displayName = "DropdownMenuContent";
@@ -3806,11 +3856,140 @@ var Calendar = ({
3806
3856
  };
3807
3857
  var Calendar_default = Calendar;
3808
3858
 
3859
+ // src/components/DateTimeInput/DateTimeInput.tsx
3860
+ import { useRef as useRef5, useState as useState9 } from "react";
3861
+ import { CalendarBlank } from "phosphor-react";
3862
+ import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
3863
+ var formatDateToInput = (dateObj) => {
3864
+ const year = dateObj.getFullYear();
3865
+ const month = String(dateObj.getMonth() + 1).padStart(2, "0");
3866
+ const day = String(dateObj.getDate()).padStart(2, "0");
3867
+ return `${year}-${month}-${day}`;
3868
+ };
3869
+ var DateTimeInput = ({
3870
+ label,
3871
+ date,
3872
+ time,
3873
+ onDateChange,
3874
+ onTimeChange,
3875
+ errorMessage,
3876
+ disabled = false,
3877
+ defaultTime = "00:00",
3878
+ testId,
3879
+ timeLabel = "Hora",
3880
+ className
3881
+ }) => {
3882
+ const [isCalendarOpen, setIsCalendarOpen] = useState9(false);
3883
+ const [selectedDate, setSelectedDate] = useState9(
3884
+ date ? /* @__PURE__ */ new Date(`${date}T12:00:00`) : void 0
3885
+ );
3886
+ const triggerRef = useRef5(null);
3887
+ const handleDateSelect = (dateObj) => {
3888
+ setSelectedDate(dateObj);
3889
+ onDateChange(formatDateToInput(dateObj));
3890
+ if (!time) {
3891
+ onTimeChange(defaultTime);
3892
+ }
3893
+ };
3894
+ const handleDateInputChange = (e) => {
3895
+ const value = e.target.value;
3896
+ if (value.includes("T")) {
3897
+ const [datePart, timePart] = value.split("T");
3898
+ onDateChange(datePart);
3899
+ if (timePart) {
3900
+ onTimeChange(timePart);
3901
+ }
3902
+ } else {
3903
+ onDateChange(value);
3904
+ }
3905
+ if (value) {
3906
+ const dateValue = value.includes("T") ? value : `${value}T12:00:00`;
3907
+ const dateObj = new Date(dateValue);
3908
+ if (!Number.isNaN(dateObj.getTime())) {
3909
+ setSelectedDate(dateObj);
3910
+ }
3911
+ }
3912
+ };
3913
+ const handleTimeChange = (e) => {
3914
+ onTimeChange(e.target.value);
3915
+ };
3916
+ const inputValue = date ? `${date}T${time || defaultTime}` : "";
3917
+ return /* @__PURE__ */ jsxs14(
3918
+ DropdownMenu_default,
3919
+ {
3920
+ open: !disabled && isCalendarOpen,
3921
+ onOpenChange: (open) => {
3922
+ if (!disabled) {
3923
+ setIsCalendarOpen(open);
3924
+ }
3925
+ },
3926
+ children: [
3927
+ /* @__PURE__ */ jsx17(
3928
+ DropdownMenuTrigger,
3929
+ {
3930
+ className,
3931
+ ref: triggerRef,
3932
+ disabled,
3933
+ children: /* @__PURE__ */ jsx17(
3934
+ Input_default,
3935
+ {
3936
+ label,
3937
+ type: "datetime-local",
3938
+ placeholder: "00/00/0000",
3939
+ value: inputValue,
3940
+ onChange: handleDateInputChange,
3941
+ variant: "rounded",
3942
+ errorMessage,
3943
+ disabled,
3944
+ "data-testid": testId ? `${testId}-input` : void 0,
3945
+ iconRight: /* @__PURE__ */ jsx17(CalendarBlank, { size: 14 }),
3946
+ className: "[&::-webkit-calendar-picker-indicator]:hidden"
3947
+ }
3948
+ )
3949
+ }
3950
+ ),
3951
+ /* @__PURE__ */ jsxs14(
3952
+ DropdownMenuContent,
3953
+ {
3954
+ align: "start",
3955
+ className: "p-0 z-[100]",
3956
+ portal: true,
3957
+ triggerRef,
3958
+ children: [
3959
+ /* @__PURE__ */ jsx17(
3960
+ Calendar_default,
3961
+ {
3962
+ variant: "selection",
3963
+ selectedDate,
3964
+ onDateSelect: handleDateSelect,
3965
+ showActivities: false
3966
+ }
3967
+ ),
3968
+ /* @__PURE__ */ jsx17("div", { className: "p-3 border-t border-border-200", children: /* @__PURE__ */ jsx17(
3969
+ Input_default,
3970
+ {
3971
+ label: timeLabel,
3972
+ type: "time",
3973
+ value: time || defaultTime,
3974
+ onChange: handleTimeChange,
3975
+ variant: "rounded",
3976
+ "data-testid": testId ? `${testId}-time` : void 0
3977
+ }
3978
+ ) })
3979
+ ]
3980
+ }
3981
+ )
3982
+ ]
3983
+ }
3984
+ );
3985
+ };
3986
+ var DateTimeInput_default = DateTimeInput;
3987
+
3809
3988
  // src/components/Accordation/Accordation.tsx
3810
3989
  import {
3811
3990
  forwardRef as forwardRef7,
3812
3991
  useId as useId5,
3813
- useState as useState10,
3992
+ useState as useState11,
3814
3993
  useEffect as useEffect8
3815
3994
  } from "react";
3816
3995
 
@@ -3818,8 +3997,8 @@ import {
3818
3997
  import {
3819
3998
  forwardRef as forwardRef6,
3820
3999
  Fragment as Fragment3,
3821
- useState as useState9,
3822
- useRef as useRef5,
4000
+ useState as useState10,
4001
+ useRef as useRef6,
3823
4002
  useEffect as useEffect7
3824
4003
  } from "react";
3825
4004
  import {
@@ -3840,8 +4019,8 @@ import { cloneElement as cloneElement2 } from "react";
3840
4019
  import * as PhosphorIcons from "phosphor-react";
3841
4020
 
3842
4021
  // src/assets/icons/subjects/ChatPT.tsx
3843
- import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
3844
- var ChatPT = ({ size, color }) => /* @__PURE__ */ jsxs14(
4022
+ import { jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
4023
+ var ChatPT = ({ size, color }) => /* @__PURE__ */ jsxs15(
3845
4024
  "svg",
3846
4025
  {
3847
4026
  width: size,
@@ -3850,21 +4029,21 @@ var ChatPT = ({ size, color }) => /* @__PURE__ */ jsxs14(
3850
4029
  fill: "none",
3851
4030
  xmlns: "http://www.w3.org/2000/svg",
3852
4031
  children: [
3853
- /* @__PURE__ */ jsx17(
4032
+ /* @__PURE__ */ jsx18(
3854
4033
  "path",
3855
4034
  {
3856
4035
  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",
3857
4036
  fill: color
3858
4037
  }
3859
4038
  ),
3860
- /* @__PURE__ */ jsx17(
4039
+ /* @__PURE__ */ jsx18(
3861
4040
  "path",
3862
4041
  {
3863
4042
  d: "M21.1758 12V20.5312H19.7168V12H21.1758ZM23.8535 12V13.1719H17.0625V12H23.8535Z",
3864
4043
  fill: color
3865
4044
  }
3866
4045
  ),
3867
- /* @__PURE__ */ jsx17(
4046
+ /* @__PURE__ */ jsx18(
3868
4047
  "path",
3869
4048
  {
3870
4049
  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",
@@ -3876,8 +4055,8 @@ var ChatPT = ({ size, color }) => /* @__PURE__ */ jsxs14(
3876
4055
  );
3877
4056
 
3878
4057
  // src/assets/icons/subjects/ChatEN.tsx
3879
- import { jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
3880
- var ChatEN = ({ size, color }) => /* @__PURE__ */ jsxs15(
4058
+ import { jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
4059
+ var ChatEN = ({ size, color }) => /* @__PURE__ */ jsxs16(
3881
4060
  "svg",
3882
4061
  {
3883
4062
  width: size,
@@ -3886,21 +4065,21 @@ var ChatEN = ({ size, color }) => /* @__PURE__ */ jsxs15(
3886
4065
  fill: "none",
3887
4066
  xmlns: "http://www.w3.org/2000/svg",
3888
4067
  children: [
3889
- /* @__PURE__ */ jsx18(
4068
+ /* @__PURE__ */ jsx19(
3890
4069
  "path",
3891
4070
  {
3892
4071
  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",
3893
4072
  fill: color
3894
4073
  }
3895
4074
  ),
3896
- /* @__PURE__ */ jsx18(
4075
+ /* @__PURE__ */ jsx19(
3897
4076
  "path",
3898
4077
  {
3899
4078
  d: "M22.5488 12V20.5312H21.0781L17.252 14.4199V20.5312H15.7812V12H17.252L21.0898 18.123V12H22.5488Z",
3900
4079
  fill: color
3901
4080
  }
3902
4081
  ),
3903
- /* @__PURE__ */ jsx18(
4082
+ /* @__PURE__ */ jsx19(
3904
4083
  "path",
3905
4084
  {
3906
4085
  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",
@@ -3912,8 +4091,8 @@ var ChatEN = ({ size, color }) => /* @__PURE__ */ jsxs15(
3912
4091
  );
3913
4092
 
3914
4093
  // src/assets/icons/subjects/ChatES.tsx
3915
- import { jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
3916
- var ChatES = ({ size, color }) => /* @__PURE__ */ jsxs16(
4094
+ import { jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
4095
+ var ChatES = ({ size, color }) => /* @__PURE__ */ jsxs17(
3917
4096
  "svg",
3918
4097
  {
3919
4098
  width: size,
@@ -3922,21 +4101,21 @@ var ChatES = ({ size, color }) => /* @__PURE__ */ jsxs16(
3922
4101
  fill: "none",
3923
4102
  xmlns: "http://www.w3.org/2000/svg",
3924
4103
  children: [
3925
- /* @__PURE__ */ jsx19(
4104
+ /* @__PURE__ */ jsx20(
3926
4105
  "path",
3927
4106
  {
3928
4107
  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",
3929
4108
  fill: color
3930
4109
  }
3931
4110
  ),
3932
- /* @__PURE__ */ jsx19(
4111
+ /* @__PURE__ */ jsx20(
3933
4112
  "path",
3934
4113
  {
3935
4114
  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",
3936
4115
  fill: color
3937
4116
  }
3938
4117
  ),
3939
- /* @__PURE__ */ jsx19(
4118
+ /* @__PURE__ */ jsx20(
3940
4119
  "path",
3941
4120
  {
3942
4121
  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",
@@ -3948,7 +4127,7 @@ var ChatES = ({ size, color }) => /* @__PURE__ */ jsxs16(
3948
4127
  );
3949
4128
 
3950
4129
  // src/components/IconRender/IconRender.tsx
3951
- import { jsx as jsx20 } from "react/jsx-runtime";
4130
+ import { jsx as jsx21 } from "react/jsx-runtime";
3952
4131
  var IconRender = ({
3953
4132
  iconName,
3954
4133
  color = "#000000",
@@ -3958,14 +4137,14 @@ var IconRender = ({
3958
4137
  if (typeof iconName === "string") {
3959
4138
  switch (iconName) {
3960
4139
  case "Chat_PT":
3961
- return /* @__PURE__ */ jsx20(ChatPT, { size, color });
4140
+ return /* @__PURE__ */ jsx21(ChatPT, { size, color });
3962
4141
  case "Chat_EN":
3963
- return /* @__PURE__ */ jsx20(ChatEN, { size, color });
4142
+ return /* @__PURE__ */ jsx21(ChatEN, { size, color });
3964
4143
  case "Chat_ES":
3965
- return /* @__PURE__ */ jsx20(ChatES, { size, color });
4144
+ return /* @__PURE__ */ jsx21(ChatES, { size, color });
3966
4145
  default: {
3967
4146
  const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
3968
- return /* @__PURE__ */ jsx20(IconComponent, { size, color, weight });
4147
+ return /* @__PURE__ */ jsx21(IconComponent, { size, color, weight });
3969
4148
  }
3970
4149
  }
3971
4150
  } else {
@@ -3978,7 +4157,7 @@ var IconRender = ({
3978
4157
  var IconRender_default = IconRender;
3979
4158
 
3980
4159
  // src/components/Card/Card.tsx
3981
- import { Fragment as Fragment4, jsx as jsx21, jsxs as jsxs17 } from "react/jsx-runtime";
4160
+ import { Fragment as Fragment4, jsx as jsx22, jsxs as jsxs18 } from "react/jsx-runtime";
3982
4161
  var CARD_BASE_CLASSES = {
3983
4162
  default: "w-full bg-background border border-border-50 rounded-xl",
3984
4163
  compact: "w-full bg-background border border-border-50 rounded-lg",
@@ -4020,7 +4199,7 @@ var CardBase = forwardRef6(
4020
4199
  const minHeightClasses = CARD_MIN_HEIGHT_CLASSES[minHeight];
4021
4200
  const layoutClasses = CARD_LAYOUT_CLASSES[layout];
4022
4201
  const cursorClasses = CARD_CURSOR_CLASSES[cursor];
4023
- return /* @__PURE__ */ jsx21(
4202
+ return /* @__PURE__ */ jsx22(
4024
4203
  "div",
4025
4204
  {
4026
4205
  ref,
@@ -4078,7 +4257,7 @@ var CardActivitiesResults = forwardRef6(
4078
4257
  const actionIconClasses = ACTION_ICON_CLASSES[action];
4079
4258
  const actionSubTitleClasses = ACTION_SUBTITLE_CLASSES[action];
4080
4259
  const actionHeaderClasses = ACTION_HEADER_CLASSES[action];
4081
- return /* @__PURE__ */ jsxs17(
4260
+ return /* @__PURE__ */ jsxs18(
4082
4261
  "div",
4083
4262
  {
4084
4263
  ref,
@@ -4088,7 +4267,7 @@ var CardActivitiesResults = forwardRef6(
4088
4267
  ),
4089
4268
  ...props,
4090
4269
  children: [
4091
- /* @__PURE__ */ jsxs17(
4270
+ /* @__PURE__ */ jsxs18(
4092
4271
  "div",
4093
4272
  {
4094
4273
  className: cn(
@@ -4097,7 +4276,7 @@ var CardActivitiesResults = forwardRef6(
4097
4276
  extended ? "rounded-t-xl" : "rounded-xl"
4098
4277
  ),
4099
4278
  children: [
4100
- /* @__PURE__ */ jsx21(
4279
+ /* @__PURE__ */ jsx22(
4101
4280
  "span",
4102
4281
  {
4103
4282
  className: cn(
@@ -4107,7 +4286,7 @@ var CardActivitiesResults = forwardRef6(
4107
4286
  children: icon
4108
4287
  }
4109
4288
  ),
4110
- /* @__PURE__ */ jsx21(
4289
+ /* @__PURE__ */ jsx22(
4111
4290
  Text_default,
4112
4291
  {
4113
4292
  size: "2xs",
@@ -4116,7 +4295,7 @@ var CardActivitiesResults = forwardRef6(
4116
4295
  children: title
4117
4296
  }
4118
4297
  ),
4119
- /* @__PURE__ */ jsx21(
4298
+ /* @__PURE__ */ jsx22(
4120
4299
  "p",
4121
4300
  {
4122
4301
  className: cn("text-lg font-bold truncate", actionSubTitleClasses),
@@ -4126,8 +4305,8 @@ var CardActivitiesResults = forwardRef6(
4126
4305
  ]
4127
4306
  }
4128
4307
  ),
4129
- extended && /* @__PURE__ */ jsxs17("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
4130
- /* @__PURE__ */ jsx21(
4308
+ extended && /* @__PURE__ */ jsxs18("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
4309
+ /* @__PURE__ */ jsx22(
4131
4310
  "p",
4132
4311
  {
4133
4312
  className: cn(
@@ -4137,7 +4316,7 @@ var CardActivitiesResults = forwardRef6(
4137
4316
  children: header
4138
4317
  }
4139
4318
  ),
4140
- /* @__PURE__ */ jsx21(Badge_default, { size: "large", action: "info", children: description })
4319
+ /* @__PURE__ */ jsx22(Badge_default, { size: "large", action: "info", children: description })
4141
4320
  ] })
4142
4321
  ]
4143
4322
  }
@@ -4156,7 +4335,7 @@ var CardQuestions = forwardRef6(
4156
4335
  const isDone = state === "done";
4157
4336
  const stateLabel = isDone ? "Realizado" : "N\xE3o Realizado";
4158
4337
  const buttonLabel = isDone ? "Ver Resultado" : "Responder";
4159
- return /* @__PURE__ */ jsxs17(
4338
+ return /* @__PURE__ */ jsxs18(
4160
4339
  CardBase,
4161
4340
  {
4162
4341
  ref,
@@ -4166,9 +4345,9 @@ var CardQuestions = forwardRef6(
4166
4345
  className: cn("justify-between gap-4", className),
4167
4346
  ...props,
4168
4347
  children: [
4169
- /* @__PURE__ */ jsxs17("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
4170
- /* @__PURE__ */ jsx21("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
4171
- /* @__PURE__ */ jsx21("div", { className: "flex flex-row gap-6 items-center", children: /* @__PURE__ */ jsx21(
4348
+ /* @__PURE__ */ jsxs18("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
4349
+ /* @__PURE__ */ jsx22("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
4350
+ /* @__PURE__ */ jsx22("div", { className: "flex flex-row gap-6 items-center", children: /* @__PURE__ */ jsx22(
4172
4351
  Badge_default,
4173
4352
  {
4174
4353
  size: "medium",
@@ -4178,7 +4357,7 @@ var CardQuestions = forwardRef6(
4178
4357
  }
4179
4358
  ) })
4180
4359
  ] }),
4181
- /* @__PURE__ */ jsx21("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx21(
4360
+ /* @__PURE__ */ jsx22("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx22(
4182
4361
  Button_default,
4183
4362
  {
4184
4363
  size: "extra-small",
@@ -4209,19 +4388,19 @@ var CardProgress = forwardRef6(
4209
4388
  }, ref) => {
4210
4389
  const isHorizontal = direction === "horizontal";
4211
4390
  const contentComponent = {
4212
- horizontal: /* @__PURE__ */ jsxs17(Fragment4, { children: [
4213
- showDates && /* @__PURE__ */ jsxs17("div", { className: "flex flex-row gap-6 items-center", children: [
4214
- initialDate && /* @__PURE__ */ jsxs17("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
4215
- /* @__PURE__ */ jsx21("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
4216
- /* @__PURE__ */ jsx21("p", { className: "text-text-600", children: initialDate })
4391
+ horizontal: /* @__PURE__ */ jsxs18(Fragment4, { children: [
4392
+ showDates && /* @__PURE__ */ jsxs18("div", { className: "flex flex-row gap-6 items-center", children: [
4393
+ initialDate && /* @__PURE__ */ jsxs18("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
4394
+ /* @__PURE__ */ jsx22("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
4395
+ /* @__PURE__ */ jsx22("p", { className: "text-text-600", children: initialDate })
4217
4396
  ] }),
4218
- endDate && /* @__PURE__ */ jsxs17("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
4219
- /* @__PURE__ */ jsx21("p", { className: "text-text-800 font-semibold", children: "Fim" }),
4220
- /* @__PURE__ */ jsx21("p", { className: "text-text-600", children: endDate })
4397
+ endDate && /* @__PURE__ */ jsxs18("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
4398
+ /* @__PURE__ */ jsx22("p", { className: "text-text-800 font-semibold", children: "Fim" }),
4399
+ /* @__PURE__ */ jsx22("p", { className: "text-text-600", children: endDate })
4221
4400
  ] })
4222
4401
  ] }),
4223
- /* @__PURE__ */ jsxs17("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
4224
- /* @__PURE__ */ jsx21(
4402
+ /* @__PURE__ */ jsxs18("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
4403
+ /* @__PURE__ */ jsx22(
4225
4404
  ProgressBar_default,
4226
4405
  {
4227
4406
  size: "small",
@@ -4230,7 +4409,7 @@ var CardProgress = forwardRef6(
4230
4409
  "data-testid": "progress-bar"
4231
4410
  }
4232
4411
  ),
4233
- /* @__PURE__ */ jsxs17(
4412
+ /* @__PURE__ */ jsxs18(
4234
4413
  Text_default,
4235
4414
  {
4236
4415
  size: "xs",
@@ -4246,9 +4425,9 @@ var CardProgress = forwardRef6(
4246
4425
  )
4247
4426
  ] })
4248
4427
  ] }),
4249
- vertical: /* @__PURE__ */ jsx21("p", { className: "text-sm text-text-800", children: subhead })
4428
+ vertical: /* @__PURE__ */ jsx22("p", { className: "text-sm text-text-800", children: subhead })
4250
4429
  };
4251
- return /* @__PURE__ */ jsxs17(
4430
+ return /* @__PURE__ */ jsxs18(
4252
4431
  CardBase,
4253
4432
  {
4254
4433
  ref,
@@ -4259,7 +4438,7 @@ var CardProgress = forwardRef6(
4259
4438
  className: cn(isHorizontal ? "h-20" : "", className),
4260
4439
  ...props,
4261
4440
  children: [
4262
- /* @__PURE__ */ jsx21(
4441
+ /* @__PURE__ */ jsx22(
4263
4442
  "div",
4264
4443
  {
4265
4444
  className: cn(
@@ -4272,7 +4451,7 @@ var CardProgress = forwardRef6(
4272
4451
  children: icon
4273
4452
  }
4274
4453
  ),
4275
- /* @__PURE__ */ jsxs17(
4454
+ /* @__PURE__ */ jsxs18(
4276
4455
  "div",
4277
4456
  {
4278
4457
  className: cn(
@@ -4280,7 +4459,7 @@ var CardProgress = forwardRef6(
4280
4459
  !isHorizontal && "gap-4"
4281
4460
  ),
4282
4461
  children: [
4283
- /* @__PURE__ */ jsx21(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
4462
+ /* @__PURE__ */ jsx22(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
4284
4463
  contentComponent[direction]
4285
4464
  ]
4286
4465
  }
@@ -4300,7 +4479,7 @@ var CardTopic = forwardRef6(
4300
4479
  className = "",
4301
4480
  ...props
4302
4481
  }, ref) => {
4303
- return /* @__PURE__ */ jsxs17(
4482
+ return /* @__PURE__ */ jsxs18(
4304
4483
  CardBase,
4305
4484
  {
4306
4485
  ref,
@@ -4311,13 +4490,13 @@ var CardTopic = forwardRef6(
4311
4490
  className: cn("justify-center gap-2 py-2 px-4", className),
4312
4491
  ...props,
4313
4492
  children: [
4314
- subHead && /* @__PURE__ */ jsx21("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ jsxs17(Fragment3, { children: [
4315
- /* @__PURE__ */ jsx21("p", { children: text }),
4316
- index < subHead.length - 1 && /* @__PURE__ */ jsx21("p", { children: "\u2022" })
4493
+ subHead && /* @__PURE__ */ jsx22("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ jsxs18(Fragment3, { children: [
4494
+ /* @__PURE__ */ jsx22("p", { children: text }),
4495
+ index < subHead.length - 1 && /* @__PURE__ */ jsx22("p", { children: "\u2022" })
4317
4496
  ] }, `${text} - ${index}`)) }),
4318
- /* @__PURE__ */ jsx21("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
4319
- /* @__PURE__ */ jsxs17("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
4320
- /* @__PURE__ */ jsx21(
4497
+ /* @__PURE__ */ jsx22("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
4498
+ /* @__PURE__ */ jsxs18("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
4499
+ /* @__PURE__ */ jsx22(
4321
4500
  ProgressBar_default,
4322
4501
  {
4323
4502
  size: "small",
@@ -4326,7 +4505,7 @@ var CardTopic = forwardRef6(
4326
4505
  "data-testid": "progress-bar"
4327
4506
  }
4328
4507
  ),
4329
- showPercentage && /* @__PURE__ */ jsxs17(
4508
+ showPercentage && /* @__PURE__ */ jsxs18(
4330
4509
  Text_default,
4331
4510
  {
4332
4511
  size: "xs",
@@ -4360,7 +4539,7 @@ var CardPerformance = forwardRef6(
4360
4539
  ...props
4361
4540
  }, ref) => {
4362
4541
  const hasProgress = progress !== void 0;
4363
- return /* @__PURE__ */ jsxs17(
4542
+ return /* @__PURE__ */ jsxs18(
4364
4543
  CardBase,
4365
4544
  {
4366
4545
  ref,
@@ -4374,10 +4553,10 @@ var CardPerformance = forwardRef6(
4374
4553
  onClick: () => actionVariant == "caret" && onClickButton?.(valueButton),
4375
4554
  ...props,
4376
4555
  children: [
4377
- /* @__PURE__ */ jsxs17("div", { className: "w-full flex flex-col justify-between gap-2", children: [
4378
- /* @__PURE__ */ jsxs17("div", { className: "flex flex-row justify-between items-center gap-2", children: [
4379
- /* @__PURE__ */ jsx21("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4380
- actionVariant === "button" && /* @__PURE__ */ jsx21(
4556
+ /* @__PURE__ */ jsxs18("div", { className: "w-full flex flex-col justify-between gap-2", children: [
4557
+ /* @__PURE__ */ jsxs18("div", { className: "flex flex-row justify-between items-center gap-2", children: [
4558
+ /* @__PURE__ */ jsx22("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4559
+ actionVariant === "button" && /* @__PURE__ */ jsx22(
4381
4560
  Button_default,
4382
4561
  {
4383
4562
  variant: "outline",
@@ -4388,16 +4567,16 @@ var CardPerformance = forwardRef6(
4388
4567
  }
4389
4568
  )
4390
4569
  ] }),
4391
- /* @__PURE__ */ jsx21("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ jsx21(
4570
+ /* @__PURE__ */ jsx22("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ jsx22(
4392
4571
  ProgressBar_default,
4393
4572
  {
4394
4573
  value: progress,
4395
4574
  label: `${progress}% ${labelProgress}`,
4396
4575
  variant: progressVariant
4397
4576
  }
4398
- ) : /* @__PURE__ */ jsx21("p", { className: "text-xs text-text-600 truncate", children: description }) })
4577
+ ) : /* @__PURE__ */ jsx22("p", { className: "text-xs text-text-600 truncate", children: description }) })
4399
4578
  ] }),
4400
- actionVariant == "caret" && /* @__PURE__ */ jsx21(
4579
+ actionVariant == "caret" && /* @__PURE__ */ jsx22(
4401
4580
  CaretRight2,
4402
4581
  {
4403
4582
  className: "size-4.5 text-text-800 cursor-pointer",
@@ -4421,7 +4600,7 @@ var CardResults = forwardRef6(
4421
4600
  ...props
4422
4601
  }, ref) => {
4423
4602
  const isRow = direction == "row";
4424
- return /* @__PURE__ */ jsxs17(
4603
+ return /* @__PURE__ */ jsxs18(
4425
4604
  CardBase,
4426
4605
  {
4427
4606
  ref,
@@ -4431,7 +4610,7 @@ var CardResults = forwardRef6(
4431
4610
  className: cn("items-stretch cursor-pointer pr-4", className),
4432
4611
  ...props,
4433
4612
  children: [
4434
- /* @__PURE__ */ jsx21(
4613
+ /* @__PURE__ */ jsx22(
4435
4614
  "div",
4436
4615
  {
4437
4616
  className: cn(
@@ -4440,11 +4619,11 @@ var CardResults = forwardRef6(
4440
4619
  style: {
4441
4620
  backgroundColor: color
4442
4621
  },
4443
- children: /* @__PURE__ */ jsx21(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
4622
+ children: /* @__PURE__ */ jsx22(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
4444
4623
  }
4445
4624
  ),
4446
- /* @__PURE__ */ jsxs17("div", { className: "w-full flex flex-row justify-between items-center", children: [
4447
- /* @__PURE__ */ jsxs17(
4625
+ /* @__PURE__ */ jsxs18("div", { className: "w-full flex flex-row justify-between items-center", children: [
4626
+ /* @__PURE__ */ jsxs18(
4448
4627
  "div",
4449
4628
  {
4450
4629
  className: cn(
@@ -4452,28 +4631,28 @@ var CardResults = forwardRef6(
4452
4631
  isRow ? "flex-row items-center gap-2" : "flex-col"
4453
4632
  ),
4454
4633
  children: [
4455
- /* @__PURE__ */ jsx21("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
4456
- /* @__PURE__ */ jsxs17("span", { className: "flex flex-wrap flex-row gap-1 items-center", children: [
4457
- /* @__PURE__ */ jsxs17(
4634
+ /* @__PURE__ */ jsx22("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
4635
+ /* @__PURE__ */ jsxs18("span", { className: "flex flex-wrap flex-row gap-1 items-center", children: [
4636
+ /* @__PURE__ */ jsxs18(
4458
4637
  Badge_default,
4459
4638
  {
4460
4639
  action: "success",
4461
4640
  variant: "solid",
4462
4641
  size: "large",
4463
- iconLeft: /* @__PURE__ */ jsx21(CheckCircle, {}),
4642
+ iconLeft: /* @__PURE__ */ jsx22(CheckCircle, {}),
4464
4643
  children: [
4465
4644
  correct_answers,
4466
4645
  " Corretas"
4467
4646
  ]
4468
4647
  }
4469
4648
  ),
4470
- /* @__PURE__ */ jsxs17(
4649
+ /* @__PURE__ */ jsxs18(
4471
4650
  Badge_default,
4472
4651
  {
4473
4652
  action: "error",
4474
4653
  variant: "solid",
4475
4654
  size: "large",
4476
- iconLeft: /* @__PURE__ */ jsx21(XCircle, {}),
4655
+ iconLeft: /* @__PURE__ */ jsx22(XCircle, {}),
4477
4656
  children: [
4478
4657
  incorrect_answers,
4479
4658
  " Incorretas"
@@ -4484,7 +4663,7 @@ var CardResults = forwardRef6(
4484
4663
  ]
4485
4664
  }
4486
4665
  ),
4487
- /* @__PURE__ */ jsx21(CaretRight2, { className: "min-w-6 min-h-6 text-text-800" })
4666
+ /* @__PURE__ */ jsx22(CaretRight2, { className: "min-w-6 min-h-6 text-text-800" })
4488
4667
  ] })
4489
4668
  ]
4490
4669
  }
@@ -4510,13 +4689,13 @@ var CardStatus = forwardRef6(
4510
4689
  const getIconBadge = (status2) => {
4511
4690
  switch (status2) {
4512
4691
  case "correct":
4513
- return /* @__PURE__ */ jsx21(CheckCircle, {});
4692
+ return /* @__PURE__ */ jsx22(CheckCircle, {});
4514
4693
  case "incorrect":
4515
- return /* @__PURE__ */ jsx21(XCircle, {});
4694
+ return /* @__PURE__ */ jsx22(XCircle, {});
4516
4695
  case "pending":
4517
- return /* @__PURE__ */ jsx21(Clock, {});
4696
+ return /* @__PURE__ */ jsx22(Clock, {});
4518
4697
  default:
4519
- return /* @__PURE__ */ jsx21(XCircle, {});
4698
+ return /* @__PURE__ */ jsx22(XCircle, {});
4520
4699
  }
4521
4700
  };
4522
4701
  const getActionBadge = (status2) => {
@@ -4531,7 +4710,7 @@ var CardStatus = forwardRef6(
4531
4710
  return "info";
4532
4711
  }
4533
4712
  };
4534
- return /* @__PURE__ */ jsx21(
4713
+ return /* @__PURE__ */ jsx22(
4535
4714
  CardBase,
4536
4715
  {
4537
4716
  ref,
@@ -4540,10 +4719,10 @@ var CardStatus = forwardRef6(
4540
4719
  minHeight: "medium",
4541
4720
  className: cn("items-center cursor-pointer", className),
4542
4721
  ...props,
4543
- children: /* @__PURE__ */ jsxs17("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
4544
- /* @__PURE__ */ jsx21("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4545
- /* @__PURE__ */ jsxs17("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
4546
- status && /* @__PURE__ */ jsx21(
4722
+ children: /* @__PURE__ */ jsxs18("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
4723
+ /* @__PURE__ */ jsx22("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4724
+ /* @__PURE__ */ jsxs18("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
4725
+ status && /* @__PURE__ */ jsx22(
4547
4726
  Badge_default,
4548
4727
  {
4549
4728
  action: getActionBadge(status),
@@ -4553,9 +4732,9 @@ var CardStatus = forwardRef6(
4553
4732
  children: getLabelBadge(status)
4554
4733
  }
4555
4734
  ),
4556
- label && /* @__PURE__ */ jsx21("p", { className: "text-sm text-text-800", children: label })
4735
+ label && /* @__PURE__ */ jsx22("p", { className: "text-sm text-text-800", children: label })
4557
4736
  ] }),
4558
- /* @__PURE__ */ jsx21(CaretRight2, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
4737
+ /* @__PURE__ */ jsx22(CaretRight2, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
4559
4738
  ] })
4560
4739
  }
4561
4740
  );
@@ -4563,7 +4742,7 @@ var CardStatus = forwardRef6(
4563
4742
  );
4564
4743
  var CardSettings = forwardRef6(
4565
4744
  ({ header, className, icon, ...props }, ref) => {
4566
- return /* @__PURE__ */ jsxs17(
4745
+ return /* @__PURE__ */ jsxs18(
4567
4746
  CardBase,
4568
4747
  {
4569
4748
  ref,
@@ -4576,9 +4755,9 @@ var CardSettings = forwardRef6(
4576
4755
  ),
4577
4756
  ...props,
4578
4757
  children: [
4579
- /* @__PURE__ */ jsx21("span", { className: "[&>svg]:size-6", children: icon }),
4580
- /* @__PURE__ */ jsx21("p", { className: "w-full text-sm truncate", children: header }),
4581
- /* @__PURE__ */ jsx21(CaretRight2, { size: 24, className: "cursor-pointer" })
4758
+ /* @__PURE__ */ jsx22("span", { className: "[&>svg]:size-6", children: icon }),
4759
+ /* @__PURE__ */ jsx22("p", { className: "w-full text-sm truncate", children: header }),
4760
+ /* @__PURE__ */ jsx22(CaretRight2, { size: 24, className: "cursor-pointer" })
4582
4761
  ]
4583
4762
  }
4584
4763
  );
@@ -4586,7 +4765,7 @@ var CardSettings = forwardRef6(
4586
4765
  );
4587
4766
  var CardSupport = forwardRef6(
4588
4767
  ({ header, className, direction = "col", children, ...props }, ref) => {
4589
- return /* @__PURE__ */ jsxs17(
4768
+ return /* @__PURE__ */ jsxs18(
4590
4769
  CardBase,
4591
4770
  {
4592
4771
  ref,
@@ -4599,7 +4778,7 @@ var CardSupport = forwardRef6(
4599
4778
  ),
4600
4779
  ...props,
4601
4780
  children: [
4602
- /* @__PURE__ */ jsxs17(
4781
+ /* @__PURE__ */ jsxs18(
4603
4782
  "div",
4604
4783
  {
4605
4784
  className: cn(
@@ -4607,12 +4786,12 @@ var CardSupport = forwardRef6(
4607
4786
  direction == "col" ? "flex-col" : "flex-row items-center"
4608
4787
  ),
4609
4788
  children: [
4610
- /* @__PURE__ */ jsx21("span", { className: "w-full min-w-0", children: /* @__PURE__ */ jsx21("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
4611
- /* @__PURE__ */ jsx21("span", { className: "flex flex-row gap-1", children })
4789
+ /* @__PURE__ */ jsx22("span", { className: "w-full min-w-0", children: /* @__PURE__ */ jsx22("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
4790
+ /* @__PURE__ */ jsx22("span", { className: "flex flex-row gap-1", children })
4612
4791
  ]
4613
4792
  }
4614
4793
  ),
4615
- /* @__PURE__ */ jsx21(CaretRight2, { className: "text-text-800 cursor-pointer", size: 24 })
4794
+ /* @__PURE__ */ jsx22(CaretRight2, { className: "text-text-800 cursor-pointer", size: 24 })
4616
4795
  ]
4617
4796
  }
4618
4797
  );
@@ -4632,7 +4811,7 @@ var CardForum = forwardRef6(
4632
4811
  hour,
4633
4812
  ...props
4634
4813
  }, ref) => {
4635
- return /* @__PURE__ */ jsxs17(
4814
+ return /* @__PURE__ */ jsxs18(
4636
4815
  CardBase,
4637
4816
  {
4638
4817
  ref,
@@ -4643,7 +4822,7 @@ var CardForum = forwardRef6(
4643
4822
  className: cn("w-auto h-auto gap-3", className),
4644
4823
  ...props,
4645
4824
  children: [
4646
- /* @__PURE__ */ jsx21(
4825
+ /* @__PURE__ */ jsx22(
4647
4826
  "button",
4648
4827
  {
4649
4828
  type: "button",
@@ -4652,18 +4831,18 @@ var CardForum = forwardRef6(
4652
4831
  className: "min-w-8 h-8 rounded-full bg-background-950"
4653
4832
  }
4654
4833
  ),
4655
- /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
4656
- /* @__PURE__ */ jsxs17("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
4657
- /* @__PURE__ */ jsx21("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
4658
- /* @__PURE__ */ jsxs17("p", { className: "text-xs text-text-600", children: [
4834
+ /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
4835
+ /* @__PURE__ */ jsxs18("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
4836
+ /* @__PURE__ */ jsx22("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
4837
+ /* @__PURE__ */ jsxs18("p", { className: "text-xs text-text-600", children: [
4659
4838
  "\u2022 ",
4660
4839
  date,
4661
4840
  " \u2022 ",
4662
4841
  hour
4663
4842
  ] })
4664
4843
  ] }),
4665
- /* @__PURE__ */ jsx21("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
4666
- /* @__PURE__ */ jsxs17(
4844
+ /* @__PURE__ */ jsx22("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
4845
+ /* @__PURE__ */ jsxs18(
4667
4846
  "button",
4668
4847
  {
4669
4848
  type: "button",
@@ -4671,8 +4850,8 @@ var CardForum = forwardRef6(
4671
4850
  onClick: () => onClickComments?.(valueComments),
4672
4851
  className: "text-text-600 flex flex-row gap-2 items-center",
4673
4852
  children: [
4674
- /* @__PURE__ */ jsx21(ChatCircleText, { "aria-hidden": "true", size: 16 }),
4675
- /* @__PURE__ */ jsxs17("p", { className: "text-xs", children: [
4853
+ /* @__PURE__ */ jsx22(ChatCircleText, { "aria-hidden": "true", size: 16 }),
4854
+ /* @__PURE__ */ jsxs18("p", { className: "text-xs", children: [
4676
4855
  comments,
4677
4856
  " respostas"
4678
4857
  ] })
@@ -4699,16 +4878,16 @@ var CardAudio = forwardRef6(
4699
4878
  className,
4700
4879
  ...props
4701
4880
  }, ref) => {
4702
- const [isPlaying, setIsPlaying] = useState9(false);
4703
- const [currentTime, setCurrentTime] = useState9(0);
4704
- const [duration, setDuration] = useState9(0);
4705
- const [volume, setVolume] = useState9(1);
4706
- const [showVolumeControl, setShowVolumeControl] = useState9(false);
4707
- const [showSpeedMenu, setShowSpeedMenu] = useState9(false);
4708
- const [playbackRate, setPlaybackRate] = useState9(1);
4709
- const audioRef = useRef5(null);
4710
- const volumeControlRef = useRef5(null);
4711
- const speedMenuRef = useRef5(null);
4881
+ const [isPlaying, setIsPlaying] = useState10(false);
4882
+ const [currentTime, setCurrentTime] = useState10(0);
4883
+ const [duration, setDuration] = useState10(0);
4884
+ const [volume, setVolume] = useState10(1);
4885
+ const [showVolumeControl, setShowVolumeControl] = useState10(false);
4886
+ const [showSpeedMenu, setShowSpeedMenu] = useState10(false);
4887
+ const [playbackRate, setPlaybackRate] = useState10(1);
4888
+ const audioRef = useRef6(null);
4889
+ const volumeControlRef = useRef6(null);
4890
+ const speedMenuRef = useRef6(null);
4712
4891
  const formatTime = (time) => {
4713
4892
  const minutes = Math.floor(time / 60);
4714
4893
  const seconds = Math.floor(time % 60);
@@ -4775,12 +4954,12 @@ var CardAudio = forwardRef6(
4775
4954
  };
4776
4955
  const getVolumeIcon = () => {
4777
4956
  if (volume === 0) {
4778
- return /* @__PURE__ */ jsx21(SpeakerSimpleX, { size: 24 });
4957
+ return /* @__PURE__ */ jsx22(SpeakerSimpleX, { size: 24 });
4779
4958
  }
4780
4959
  if (volume < 0.5) {
4781
- return /* @__PURE__ */ jsx21(SpeakerLow, { size: 24 });
4960
+ return /* @__PURE__ */ jsx22(SpeakerLow, { size: 24 });
4782
4961
  }
4783
- return /* @__PURE__ */ jsx21(SpeakerHigh, { size: 24 });
4962
+ return /* @__PURE__ */ jsx22(SpeakerHigh, { size: 24 });
4784
4963
  };
4785
4964
  useEffect7(() => {
4786
4965
  const handleClickOutside = (event) => {
@@ -4796,7 +4975,7 @@ var CardAudio = forwardRef6(
4796
4975
  document.removeEventListener("mousedown", handleClickOutside);
4797
4976
  };
4798
4977
  }, []);
4799
- return /* @__PURE__ */ jsxs17(
4978
+ return /* @__PURE__ */ jsxs18(
4800
4979
  CardBase,
4801
4980
  {
4802
4981
  ref,
@@ -4809,7 +4988,7 @@ var CardAudio = forwardRef6(
4809
4988
  ),
4810
4989
  ...props,
4811
4990
  children: [
4812
- /* @__PURE__ */ jsx21(
4991
+ /* @__PURE__ */ jsx22(
4813
4992
  "audio",
4814
4993
  {
4815
4994
  ref: audioRef,
@@ -4821,7 +5000,7 @@ var CardAudio = forwardRef6(
4821
5000
  onEnded: handleEnded,
4822
5001
  "data-testid": "audio-element",
4823
5002
  "aria-label": title,
4824
- children: tracks ? tracks.map((track) => /* @__PURE__ */ jsx21(
5003
+ children: tracks ? tracks.map((track) => /* @__PURE__ */ jsx22(
4825
5004
  "track",
4826
5005
  {
4827
5006
  kind: track.kind,
@@ -4831,7 +5010,7 @@ var CardAudio = forwardRef6(
4831
5010
  default: track.default
4832
5011
  },
4833
5012
  track.src
4834
- )) : /* @__PURE__ */ jsx21(
5013
+ )) : /* @__PURE__ */ jsx22(
4835
5014
  "track",
4836
5015
  {
4837
5016
  kind: "captions",
@@ -4842,7 +5021,7 @@ var CardAudio = forwardRef6(
4842
5021
  )
4843
5022
  }
4844
5023
  ),
4845
- /* @__PURE__ */ jsx21(
5024
+ /* @__PURE__ */ jsx22(
4846
5025
  "button",
4847
5026
  {
4848
5027
  type: "button",
@@ -4850,14 +5029,14 @@ var CardAudio = forwardRef6(
4850
5029
  disabled: !src,
4851
5030
  className: "cursor-pointer text-text-950 hover:text-primary-600 disabled:text-text-400 disabled:cursor-not-allowed",
4852
5031
  "aria-label": isPlaying ? "Pausar" : "Reproduzir",
4853
- children: isPlaying ? /* @__PURE__ */ jsx21("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ jsxs17("div", { className: "flex gap-0.5", children: [
4854
- /* @__PURE__ */ jsx21("div", { className: "w-1 h-4 bg-current rounded-sm" }),
4855
- /* @__PURE__ */ jsx21("div", { className: "w-1 h-4 bg-current rounded-sm" })
4856
- ] }) }) : /* @__PURE__ */ jsx21(Play, { size: 24 })
5032
+ children: isPlaying ? /* @__PURE__ */ jsx22("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ jsxs18("div", { className: "flex gap-0.5", children: [
5033
+ /* @__PURE__ */ jsx22("div", { className: "w-1 h-4 bg-current rounded-sm" }),
5034
+ /* @__PURE__ */ jsx22("div", { className: "w-1 h-4 bg-current rounded-sm" })
5035
+ ] }) }) : /* @__PURE__ */ jsx22(Play, { size: 24 })
4857
5036
  }
4858
5037
  ),
4859
- /* @__PURE__ */ jsx21("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
4860
- /* @__PURE__ */ jsx21("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ jsx21(
5038
+ /* @__PURE__ */ jsx22("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(currentTime) }),
5039
+ /* @__PURE__ */ jsx22("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ jsx22(
4861
5040
  "button",
4862
5041
  {
4863
5042
  type: "button",
@@ -4872,7 +5051,7 @@ var CardAudio = forwardRef6(
4872
5051
  }
4873
5052
  },
4874
5053
  "aria-label": "Barra de progresso do \xE1udio",
4875
- children: /* @__PURE__ */ jsx21(
5054
+ children: /* @__PURE__ */ jsx22(
4876
5055
  "div",
4877
5056
  {
4878
5057
  className: "h-full bg-primary-600 rounded-full transition-all duration-100",
@@ -4883,19 +5062,19 @@ var CardAudio = forwardRef6(
4883
5062
  )
4884
5063
  }
4885
5064
  ) }),
4886
- /* @__PURE__ */ jsx21("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(duration) }),
4887
- /* @__PURE__ */ jsxs17("div", { className: "relative h-6", ref: volumeControlRef, children: [
4888
- /* @__PURE__ */ jsx21(
5065
+ /* @__PURE__ */ jsx22("p", { className: "text-text-800 text-md font-medium min-w-[2.5rem]", children: formatTime(duration) }),
5066
+ /* @__PURE__ */ jsxs18("div", { className: "relative h-6", ref: volumeControlRef, children: [
5067
+ /* @__PURE__ */ jsx22(
4889
5068
  "button",
4890
5069
  {
4891
5070
  type: "button",
4892
5071
  onClick: toggleVolumeControl,
4893
5072
  className: "cursor-pointer text-text-950 hover:text-primary-600",
4894
5073
  "aria-label": "Controle de volume",
4895
- children: /* @__PURE__ */ jsx21("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
5074
+ children: /* @__PURE__ */ jsx22("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
4896
5075
  }
4897
5076
  ),
4898
- showVolumeControl && /* @__PURE__ */ jsx21(
5077
+ showVolumeControl && /* @__PURE__ */ jsx22(
4899
5078
  "button",
4900
5079
  {
4901
5080
  type: "button",
@@ -4905,7 +5084,7 @@ var CardAudio = forwardRef6(
4905
5084
  setShowVolumeControl(false);
4906
5085
  }
4907
5086
  },
4908
- children: /* @__PURE__ */ jsx21(
5087
+ children: /* @__PURE__ */ jsx22(
4909
5088
  "input",
4910
5089
  {
4911
5090
  type: "range",
@@ -4946,22 +5125,22 @@ var CardAudio = forwardRef6(
4946
5125
  }
4947
5126
  )
4948
5127
  ] }),
4949
- /* @__PURE__ */ jsxs17("div", { className: "relative h-6", ref: speedMenuRef, children: [
4950
- /* @__PURE__ */ jsx21(
5128
+ /* @__PURE__ */ jsxs18("div", { className: "relative h-6", ref: speedMenuRef, children: [
5129
+ /* @__PURE__ */ jsx22(
4951
5130
  "button",
4952
5131
  {
4953
5132
  type: "button",
4954
5133
  onClick: toggleSpeedMenu,
4955
5134
  className: "cursor-pointer text-text-950 hover:text-primary-600",
4956
5135
  "aria-label": "Op\xE7\xF5es de velocidade",
4957
- children: /* @__PURE__ */ jsx21(DotsThreeVertical, { size: 24 })
5136
+ children: /* @__PURE__ */ jsx22(DotsThreeVertical, { size: 24 })
4958
5137
  }
4959
5138
  ),
4960
- showSpeedMenu && /* @__PURE__ */ jsx21("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__ */ jsx21("div", { className: "flex flex-col gap-1", children: [
5139
+ showSpeedMenu && /* @__PURE__ */ jsx22("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__ */ jsx22("div", { className: "flex flex-col gap-1", children: [
4961
5140
  { speed: 1, label: "1x" },
4962
5141
  { speed: 1.5, label: "1.5x" },
4963
5142
  { speed: 2, label: "2x" }
4964
- ].map(({ speed, label }) => /* @__PURE__ */ jsx21(
5143
+ ].map(({ speed, label }) => /* @__PURE__ */ jsx22(
4965
5144
  "button",
4966
5145
  {
4967
5146
  type: "button",
@@ -4989,7 +5168,7 @@ var SIMULADO_BACKGROUND_CLASSES = {
4989
5168
  var CardSimulado = forwardRef6(
4990
5169
  ({ title, duration, info, backgroundColor, className, ...props }, ref) => {
4991
5170
  const backgroundClass = SIMULADO_BACKGROUND_CLASSES[backgroundColor];
4992
- return /* @__PURE__ */ jsx21(
5171
+ return /* @__PURE__ */ jsx22(
4993
5172
  CardBase,
4994
5173
  {
4995
5174
  ref,
@@ -5002,18 +5181,18 @@ var CardSimulado = forwardRef6(
5002
5181
  className
5003
5182
  ),
5004
5183
  ...props,
5005
- children: /* @__PURE__ */ jsxs17("div", { className: "flex justify-between items-center w-full gap-4", children: [
5006
- /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
5007
- /* @__PURE__ */ jsx21(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
5008
- /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-4 text-text-700", children: [
5009
- duration && /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-1", children: [
5010
- /* @__PURE__ */ jsx21(Clock, { size: 16, className: "flex-shrink-0" }),
5011
- /* @__PURE__ */ jsx21(Text_default, { size: "sm", children: duration })
5184
+ children: /* @__PURE__ */ jsxs18("div", { className: "flex justify-between items-center w-full gap-4", children: [
5185
+ /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
5186
+ /* @__PURE__ */ jsx22(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
5187
+ /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-4 text-text-700", children: [
5188
+ duration && /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-1", children: [
5189
+ /* @__PURE__ */ jsx22(Clock, { size: 16, className: "flex-shrink-0" }),
5190
+ /* @__PURE__ */ jsx22(Text_default, { size: "sm", children: duration })
5012
5191
  ] }),
5013
- /* @__PURE__ */ jsx21(Text_default, { size: "sm", className: "truncate", children: info })
5192
+ /* @__PURE__ */ jsx22(Text_default, { size: "sm", className: "truncate", children: info })
5014
5193
  ] })
5015
5194
  ] }),
5016
- /* @__PURE__ */ jsx21(
5195
+ /* @__PURE__ */ jsx22(
5017
5196
  CaretRight2,
5018
5197
  {
5019
5198
  size: 24,
@@ -5058,7 +5237,7 @@ var CardTest = forwardRef6(
5058
5237
  const interactiveClasses = isSelectable ? "cursor-pointer focus:outline-none focus:ring-2 focus:ring-primary-950 focus:ring-offset-2" : "";
5059
5238
  const selectedClasses = selected ? "ring-2 ring-primary-950 ring-offset-2" : "";
5060
5239
  if (isSelectable) {
5061
- return /* @__PURE__ */ jsx21(
5240
+ return /* @__PURE__ */ jsx22(
5062
5241
  "button",
5063
5242
  {
5064
5243
  ref,
@@ -5070,8 +5249,8 @@ var CardTest = forwardRef6(
5070
5249
  onKeyDown: handleKeyDown,
5071
5250
  "aria-pressed": selected,
5072
5251
  ...props,
5073
- children: /* @__PURE__ */ jsxs17("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
5074
- /* @__PURE__ */ jsx21(
5252
+ children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
5253
+ /* @__PURE__ */ jsx22(
5075
5254
  Text_default,
5076
5255
  {
5077
5256
  size: "md",
@@ -5080,10 +5259,10 @@ var CardTest = forwardRef6(
5080
5259
  children: title
5081
5260
  }
5082
5261
  ),
5083
- /* @__PURE__ */ jsxs17("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
5084
- duration && /* @__PURE__ */ jsxs17("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
5085
- /* @__PURE__ */ jsx21(Clock, { size: 16, className: "text-text-700" }),
5086
- /* @__PURE__ */ jsx21(
5262
+ /* @__PURE__ */ jsxs18("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
5263
+ duration && /* @__PURE__ */ jsxs18("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
5264
+ /* @__PURE__ */ jsx22(Clock, { size: 16, className: "text-text-700" }),
5265
+ /* @__PURE__ */ jsx22(
5087
5266
  Text_default,
5088
5267
  {
5089
5268
  size: "sm",
@@ -5092,7 +5271,7 @@ var CardTest = forwardRef6(
5092
5271
  }
5093
5272
  )
5094
5273
  ] }),
5095
- /* @__PURE__ */ jsx21(
5274
+ /* @__PURE__ */ jsx22(
5096
5275
  Text_default,
5097
5276
  {
5098
5277
  size: "sm",
@@ -5105,14 +5284,14 @@ var CardTest = forwardRef6(
5105
5284
  }
5106
5285
  );
5107
5286
  }
5108
- return /* @__PURE__ */ jsx21(
5287
+ return /* @__PURE__ */ jsx22(
5109
5288
  "div",
5110
5289
  {
5111
5290
  ref,
5112
5291
  className: cn(`${baseClasses} ${className}`.trim()),
5113
5292
  ...props,
5114
- children: /* @__PURE__ */ jsxs17("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
5115
- /* @__PURE__ */ jsx21(
5293
+ children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
5294
+ /* @__PURE__ */ jsx22(
5116
5295
  Text_default,
5117
5296
  {
5118
5297
  size: "md",
@@ -5121,10 +5300,10 @@ var CardTest = forwardRef6(
5121
5300
  children: title
5122
5301
  }
5123
5302
  ),
5124
- /* @__PURE__ */ jsxs17("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
5125
- duration && /* @__PURE__ */ jsxs17("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
5126
- /* @__PURE__ */ jsx21(Clock, { size: 16, className: "text-text-700" }),
5127
- /* @__PURE__ */ jsx21(
5303
+ /* @__PURE__ */ jsxs18("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
5304
+ duration && /* @__PURE__ */ jsxs18("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
5305
+ /* @__PURE__ */ jsx22(Clock, { size: 16, className: "text-text-700" }),
5306
+ /* @__PURE__ */ jsx22(
5128
5307
  Text_default,
5129
5308
  {
5130
5309
  size: "sm",
@@ -5133,7 +5312,7 @@ var CardTest = forwardRef6(
5133
5312
  }
5134
5313
  )
5135
5314
  ] }),
5136
- /* @__PURE__ */ jsx21(
5315
+ /* @__PURE__ */ jsx22(
5137
5316
  Text_default,
5138
5317
  {
5139
5318
  size: "sm",
@@ -5170,14 +5349,14 @@ var SIMULATION_TYPE_STYLES = {
5170
5349
  }
5171
5350
  };
5172
5351
  var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, ...props }, ref) => {
5173
- return /* @__PURE__ */ jsx21(
5352
+ return /* @__PURE__ */ jsx22(
5174
5353
  "div",
5175
5354
  {
5176
5355
  ref,
5177
5356
  className: cn("w-full max-w-[992px] h-auto", className),
5178
5357
  ...props,
5179
- children: /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-0", children: [
5180
- data.map((section, sectionIndex) => /* @__PURE__ */ jsx21("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs17(
5358
+ children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-0", children: [
5359
+ data.map((section, sectionIndex) => /* @__PURE__ */ jsx22("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs18(
5181
5360
  "div",
5182
5361
  {
5183
5362
  className: cn(
@@ -5185,7 +5364,7 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
5185
5364
  sectionIndex === 0 ? "rounded-t-3xl" : ""
5186
5365
  ),
5187
5366
  children: [
5188
- /* @__PURE__ */ jsx21(
5367
+ /* @__PURE__ */ jsx22(
5189
5368
  Text_default,
5190
5369
  {
5191
5370
  size: "xs",
@@ -5194,9 +5373,9 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
5194
5373
  children: section.date
5195
5374
  }
5196
5375
  ),
5197
- /* @__PURE__ */ jsx21("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
5376
+ /* @__PURE__ */ jsx22("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
5198
5377
  const typeStyles = SIMULATION_TYPE_STYLES[simulation.type];
5199
- return /* @__PURE__ */ jsx21(
5378
+ return /* @__PURE__ */ jsx22(
5200
5379
  CardBase,
5201
5380
  {
5202
5381
  layout: "horizontal",
@@ -5208,9 +5387,9 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
5208
5387
  transition-shadow duration-200 h-auto min-h-[61px]`
5209
5388
  ),
5210
5389
  onClick: () => onSimulationClick?.(simulation),
5211
- children: /* @__PURE__ */ jsxs17("div", { className: "flex justify-between items-center w-full gap-2", children: [
5212
- /* @__PURE__ */ jsxs17("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
5213
- /* @__PURE__ */ jsx21(
5390
+ children: /* @__PURE__ */ jsxs18("div", { className: "flex justify-between items-center w-full gap-2", children: [
5391
+ /* @__PURE__ */ jsxs18("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
5392
+ /* @__PURE__ */ jsx22(
5214
5393
  Text_default,
5215
5394
  {
5216
5395
  size: "lg",
@@ -5219,8 +5398,8 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
5219
5398
  children: simulation.title
5220
5399
  }
5221
5400
  ),
5222
- /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-2", children: [
5223
- /* @__PURE__ */ jsx21(
5401
+ /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-2", children: [
5402
+ /* @__PURE__ */ jsx22(
5224
5403
  Badge_default,
5225
5404
  {
5226
5405
  variant: "examsOutlined",
@@ -5229,10 +5408,10 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
5229
5408
  children: typeStyles.text
5230
5409
  }
5231
5410
  ),
5232
- /* @__PURE__ */ jsx21(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
5411
+ /* @__PURE__ */ jsx22(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
5233
5412
  ] })
5234
5413
  ] }),
5235
- /* @__PURE__ */ jsx21(
5414
+ /* @__PURE__ */ jsx22(
5236
5415
  CaretRight2,
5237
5416
  {
5238
5417
  size: 24,
@@ -5248,7 +5427,7 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
5248
5427
  ]
5249
5428
  }
5250
5429
  ) }, section.date)),
5251
- data.length > 0 && /* @__PURE__ */ jsx21("div", { className: "w-full h-6 bg-background rounded-b-3xl" })
5430
+ data.length > 0 && /* @__PURE__ */ jsx22("div", { className: "w-full h-6 bg-background rounded-b-3xl" })
5252
5431
  ] })
5253
5432
  }
5254
5433
  );
@@ -5256,7 +5435,7 @@ var CardSimulationHistory = forwardRef6(({ data, onSimulationClick, className, .
5256
5435
 
5257
5436
  // src/components/Accordation/Accordation.tsx
5258
5437
  import { CaretRight as CaretRight3 } from "phosphor-react";
5259
- import { jsx as jsx22, jsxs as jsxs18 } from "react/jsx-runtime";
5438
+ import { jsx as jsx23, jsxs as jsxs19 } from "react/jsx-runtime";
5260
5439
  var CardAccordation = forwardRef7(
5261
5440
  ({
5262
5441
  trigger,
@@ -5267,9 +5446,11 @@ var CardAccordation = forwardRef7(
5267
5446
  onToggleExpanded,
5268
5447
  value,
5269
5448
  disabled = false,
5449
+ triggerClassName,
5450
+ contentClassName,
5270
5451
  ...props
5271
5452
  }, ref) => {
5272
- const [internalExpanded, setInternalExpanded] = useState10(defaultExpanded);
5453
+ const [internalExpanded, setInternalExpanded] = useState11(defaultExpanded);
5273
5454
  const generatedId = useId5();
5274
5455
  const contentId = value ? `accordion-content-${value}` : generatedId;
5275
5456
  const headerId = value ? `accordion-header-${value}` : `${generatedId}-header`;
@@ -5295,7 +5476,7 @@ var CardAccordation = forwardRef7(
5295
5476
  handleToggle();
5296
5477
  }
5297
5478
  };
5298
- return /* @__PURE__ */ jsxs18(
5479
+ return /* @__PURE__ */ jsxs19(
5299
5480
  CardBase,
5300
5481
  {
5301
5482
  ref,
@@ -5305,7 +5486,7 @@ var CardAccordation = forwardRef7(
5305
5486
  className: cn("overflow-hidden", className),
5306
5487
  ...props,
5307
5488
  children: [
5308
- /* @__PURE__ */ jsxs18(
5489
+ /* @__PURE__ */ jsxs19(
5309
5490
  "button",
5310
5491
  {
5311
5492
  id: headerId,
@@ -5315,7 +5496,8 @@ var CardAccordation = forwardRef7(
5315
5496
  disabled,
5316
5497
  className: cn(
5317
5498
  "w-full cursor-pointer not-aria-expanded:rounded-xl aria-expanded:rounded-t-xl flex items-center justify-between gap-3 text-left transition-colors duration-200 focus:outline-none focus:border-2 focus:border-primary-950 focus:ring-inset px-2",
5318
- disabled && "cursor-not-allowed text-text-400"
5499
+ disabled && "cursor-not-allowed text-text-400",
5500
+ triggerClassName
5319
5501
  ),
5320
5502
  "aria-expanded": isExpanded,
5321
5503
  "aria-controls": contentId,
@@ -5323,7 +5505,7 @@ var CardAccordation = forwardRef7(
5323
5505
  "data-value": value,
5324
5506
  children: [
5325
5507
  trigger,
5326
- /* @__PURE__ */ jsx22(
5508
+ /* @__PURE__ */ jsx23(
5327
5509
  CaretRight3,
5328
5510
  {
5329
5511
  size: 20,
@@ -5338,7 +5520,7 @@ var CardAccordation = forwardRef7(
5338
5520
  ]
5339
5521
  }
5340
5522
  ),
5341
- /* @__PURE__ */ jsx22(
5523
+ /* @__PURE__ */ jsx23(
5342
5524
  "section",
5343
5525
  {
5344
5526
  id: contentId,
@@ -5350,7 +5532,7 @@ var CardAccordation = forwardRef7(
5350
5532
  ),
5351
5533
  "data-testid": "accordion-content",
5352
5534
  "data-value": value,
5353
- children: /* @__PURE__ */ jsx22("div", { className: "p-4 pt-0", children })
5535
+ children: /* @__PURE__ */ jsx23("div", { className: cn("p-4 pt-0", contentClassName), children })
5354
5536
  }
5355
5537
  )
5356
5538
  ]
@@ -5367,11 +5549,11 @@ import {
5367
5549
  forwardRef as forwardRef8,
5368
5550
  isValidElement as isValidElement2,
5369
5551
  useEffect as useEffect9,
5370
- useRef as useRef6,
5371
- useState as useState11
5552
+ useRef as useRef7,
5553
+ useState as useState12
5372
5554
  } from "react";
5373
5555
  import { create as create4 } from "zustand";
5374
- import { jsx as jsx23 } from "react/jsx-runtime";
5556
+ import { jsx as jsx24 } from "react/jsx-runtime";
5375
5557
  function createAccordionGroupStore(type, initialValue, collapsible) {
5376
5558
  return create4((set, get) => ({
5377
5559
  type,
@@ -5437,12 +5619,12 @@ var AccordionGroup = forwardRef8(
5437
5619
  className,
5438
5620
  ...props
5439
5621
  }, ref) => {
5440
- const [internalValue, setInternalValue] = useState11(
5622
+ const [internalValue, setInternalValue] = useState12(
5441
5623
  defaultValue || (type === "single" ? "" : [])
5442
5624
  );
5443
5625
  const isControlled = controlledValue !== void 0;
5444
5626
  const currentValue = isControlled ? controlledValue : internalValue;
5445
- const storeRef = useRef6(null);
5627
+ const storeRef = useRef7(null);
5446
5628
  if (storeRef.current) {
5447
5629
  storeRef.current.setState((prev) => {
5448
5630
  const nextState = {};
@@ -5511,7 +5693,7 @@ var AccordionGroup = forwardRef8(
5511
5693
  indexRef,
5512
5694
  handleItemToggle
5513
5695
  );
5514
- return /* @__PURE__ */ jsx23("div", { ref, className, ...props, children: enhancedChildren });
5696
+ return /* @__PURE__ */ jsx24("div", { ref, className, ...props, children: enhancedChildren });
5515
5697
  }
5516
5698
  );
5517
5699
  AccordionGroup.displayName = "AccordionGroup";
@@ -5521,7 +5703,7 @@ import { CaretLeft, CaretRight as CaretRight4, PaperPlaneTilt } from "phosphor-r
5521
5703
 
5522
5704
  // src/components/AlertManager/AlertSteps/MessageStep.tsx
5523
5705
  import { useShallow } from "zustand/react/shallow";
5524
- import { jsx as jsx24, jsxs as jsxs19 } from "react/jsx-runtime";
5706
+ import { jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
5525
5707
  var MessageStep = ({
5526
5708
  labels,
5527
5709
  allowImageAttachment = true
@@ -5543,8 +5725,8 @@ var MessageStep = ({
5543
5725
  setImage(null);
5544
5726
  };
5545
5727
  const isImageFile = image instanceof File;
5546
- return /* @__PURE__ */ jsxs19("section", { className: "flex flex-col gap-4", children: [
5547
- /* @__PURE__ */ jsx24(
5728
+ return /* @__PURE__ */ jsxs20("section", { className: "flex flex-col gap-4", children: [
5729
+ /* @__PURE__ */ jsx25(
5548
5730
  Input_default,
5549
5731
  {
5550
5732
  required: true,
@@ -5555,7 +5737,7 @@ var MessageStep = ({
5555
5737
  onChange: (e) => setTitle(e.target.value)
5556
5738
  }
5557
5739
  ),
5558
- /* @__PURE__ */ jsx24(
5740
+ /* @__PURE__ */ jsx25(
5559
5741
  TextArea_default,
5560
5742
  {
5561
5743
  required: true,
@@ -5565,7 +5747,7 @@ var MessageStep = ({
5565
5747
  onChange: (e) => setMessage(e.target.value)
5566
5748
  }
5567
5749
  ),
5568
- allowImageAttachment && /* @__PURE__ */ jsx24(
5750
+ allowImageAttachment && /* @__PURE__ */ jsx25(
5569
5751
  ImageUpload,
5570
5752
  {
5571
5753
  selectedFile: isImageFile ? image : null,
@@ -5578,7 +5760,7 @@ var MessageStep = ({
5578
5760
 
5579
5761
  // src/components/AlertManager/AlertSteps/RecipientsStep.tsx
5580
5762
  import { useEffect as useEffect10, useMemo as useMemo4 } from "react";
5581
- import { jsx as jsx25, jsxs as jsxs20 } from "react/jsx-runtime";
5763
+ import { jsx as jsx26, jsxs as jsxs21 } from "react/jsx-runtime";
5582
5764
  var RecipientsStep = ({
5583
5765
  categories,
5584
5766
  labels,
@@ -5627,9 +5809,9 @@ var RecipientsStep = ({
5627
5809
  return category;
5628
5810
  });
5629
5811
  }, [categories, recipientCategories]);
5630
- return /* @__PURE__ */ jsxs20("section", { className: "flex flex-col gap-4", children: [
5631
- /* @__PURE__ */ jsx25(Text_default, { size: "lg", weight: "medium", className: "text-text-950", children: labels?.recipientsDescription || "Para quem voc\xEA vai enviar o aviso?" }),
5632
- /* @__PURE__ */ jsx25(
5812
+ return /* @__PURE__ */ jsxs21("section", { className: "flex flex-col gap-4", children: [
5813
+ /* @__PURE__ */ jsx26(Text_default, { size: "lg", weight: "medium", className: "text-text-950", children: labels?.recipientsDescription || "Para quem voc\xEA vai enviar o aviso?" }),
5814
+ /* @__PURE__ */ jsx26(
5633
5815
  CheckboxGroup,
5634
5816
  {
5635
5817
  categories: syncedCategories,
@@ -5640,16 +5822,12 @@ var RecipientsStep = ({
5640
5822
  };
5641
5823
 
5642
5824
  // src/components/AlertManager/AlertSteps/DateStep.tsx
5643
- import { useState as useState12 } from "react";
5644
- import { CalendarBlank } from "phosphor-react";
5645
- import { jsx as jsx26, jsxs as jsxs21 } from "react/jsx-runtime";
5825
+ import { jsx as jsx27, jsxs as jsxs22 } from "react/jsx-runtime";
5646
5826
  var DateStep = ({
5647
5827
  labels,
5648
5828
  allowScheduling = true,
5649
5829
  allowEmailCopy = true
5650
5830
  }) => {
5651
- const [selectedDate, setSelectedDate] = useState12();
5652
- const [isCalendarOpen, setIsCalendarOpen] = useState12(false);
5653
5831
  const date = useAlertFormStore((state) => state.date);
5654
5832
  const time = useAlertFormStore((state) => state.time);
5655
5833
  const sendToday = useAlertFormStore((state) => state.sendToday);
@@ -5660,41 +5838,9 @@ var DateStep = ({
5660
5838
  const setSendCopyToEmail = useAlertFormStore(
5661
5839
  (state) => state.setSendCopyToEmail
5662
5840
  );
5663
- const formatDateToInput = (dateObj) => {
5664
- const year = dateObj.getFullYear();
5665
- const month = String(dateObj.getMonth() + 1).padStart(2, "0");
5666
- const day = String(dateObj.getDate()).padStart(2, "0");
5667
- return `${year}-${month}-${day}`;
5668
- };
5669
- const formatTimeToInput = (dateObj) => {
5670
- const hours = String(dateObj.getHours()).padStart(2, "0");
5671
- const minutes = String(dateObj.getMinutes()).padStart(2, "0");
5672
- return `${hours}:${minutes}`;
5673
- };
5674
- const handleDateSelect = (dateObj) => {
5675
- setSelectedDate(dateObj);
5676
- setDate(formatDateToInput(dateObj));
5677
- if (!time) {
5678
- setTime(formatTimeToInput(dateObj));
5679
- }
5680
- setIsCalendarOpen(false);
5681
- };
5682
- const handleDateInputChange = (e) => {
5683
- const value = e.target.value;
5684
- setDate(value);
5685
- if (value) {
5686
- const dateObj = new Date(value);
5687
- if (!Number.isNaN(dateObj.getTime())) {
5688
- setSelectedDate(dateObj);
5689
- }
5690
- }
5691
- };
5692
- const handleTimeInputChange = (e) => {
5693
- setTime(e.target.value);
5694
- };
5695
- return /* @__PURE__ */ jsxs21("section", { className: "flex flex-col gap-4", children: [
5696
- /* @__PURE__ */ jsxs21("span", { className: "flex flex-row items-center gap-6", children: [
5697
- /* @__PURE__ */ jsx26(
5841
+ return /* @__PURE__ */ jsxs22("section", { className: "flex flex-col gap-4", children: [
5842
+ /* @__PURE__ */ jsxs22("span", { className: "flex flex-row items-center gap-6", children: [
5843
+ /* @__PURE__ */ jsx27(
5698
5844
  Text_default,
5699
5845
  {
5700
5846
  weight: "normal",
@@ -5702,7 +5848,7 @@ var DateStep = ({
5702
5848
  children: labels?.sendTodayLabel || "Enviar Hoje?"
5703
5849
  }
5704
5850
  ),
5705
- /* @__PURE__ */ jsx26(
5851
+ /* @__PURE__ */ jsx27(
5706
5852
  CheckBox_default,
5707
5853
  {
5708
5854
  label: "Sim",
@@ -5711,54 +5857,20 @@ var DateStep = ({
5711
5857
  }
5712
5858
  )
5713
5859
  ] }),
5714
- allowScheduling && /* @__PURE__ */ jsxs21("span", { className: "grid grid-cols-2 gap-2", children: [
5715
- /* @__PURE__ */ jsxs21(
5716
- DropdownMenu_default,
5717
- {
5718
- open: !sendToday && isCalendarOpen,
5719
- onOpenChange: (open) => !sendToday && setIsCalendarOpen(open),
5720
- children: [
5721
- /* @__PURE__ */ jsx26(DropdownMenuTrigger, { children: /* @__PURE__ */ jsx26(
5722
- Input_default,
5723
- {
5724
- label: labels?.dateLabel || "Data de envio",
5725
- placeholder: "Selecione a data de envio",
5726
- variant: "rounded",
5727
- type: "date",
5728
- iconRight: /* @__PURE__ */ jsx26(CalendarBlank, {}),
5729
- value: date,
5730
- onChange: handleDateInputChange,
5731
- disabled: sendToday,
5732
- className: "text-text-950 [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-inner-spin-button]:hidden [&::-webkit-clear-button]:hidden"
5733
- }
5734
- ) }),
5735
- /* @__PURE__ */ jsx26(DropdownMenuContent, { children: /* @__PURE__ */ jsx26(
5736
- Calendar_default,
5737
- {
5738
- variant: "selection",
5739
- selectedDate,
5740
- onDateSelect: handleDateSelect,
5741
- showActivities: false
5742
- }
5743
- ) })
5744
- ]
5745
- }
5746
- ),
5747
- /* @__PURE__ */ jsx26(
5748
- Input_default,
5749
- {
5750
- label: labels?.timeLabel || "Hora de envio",
5751
- placeholder: "Digite a hora de envio",
5752
- variant: "rounded",
5753
- type: "time",
5754
- value: time,
5755
- onChange: handleTimeInputChange,
5756
- disabled: sendToday,
5757
- className: "[&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-inner-spin-button]:hidden [&::-webkit-clear-button]:hidden"
5758
- }
5759
- )
5760
- ] }),
5761
- allowEmailCopy && /* @__PURE__ */ jsx26(
5860
+ allowScheduling && /* @__PURE__ */ jsx27(
5861
+ DateTimeInput_default,
5862
+ {
5863
+ label: labels?.dateLabel || "Data de envio",
5864
+ date,
5865
+ time,
5866
+ onDateChange: setDate,
5867
+ onTimeChange: setTime,
5868
+ disabled: sendToday,
5869
+ timeLabel: labels?.timeLabel || "Hora de envio",
5870
+ testId: "alert-datetime"
5871
+ }
5872
+ ),
5873
+ allowEmailCopy && /* @__PURE__ */ jsx27(
5762
5874
  CheckBox_default,
5763
5875
  {
5764
5876
  label: labels?.sendCopyToEmailLabel || "Enviar c\xF3pia para e-mail",
@@ -5771,7 +5883,7 @@ var DateStep = ({
5771
5883
 
5772
5884
  // src/components/AlertManager/AlertSteps/PreviewStep.tsx
5773
5885
  import { useMemo as useMemo5, useEffect as useEffect11 } from "react";
5774
- import { jsx as jsx27, jsxs as jsxs22 } from "react/jsx-runtime";
5886
+ import { jsx as jsx28, jsxs as jsxs23 } from "react/jsx-runtime";
5775
5887
  var PreviewStep = ({ imageLink, defaultImage }) => {
5776
5888
  const title = useAlertFormStore((state) => state.title);
5777
5889
  const message = useAlertFormStore((state) => state.message);
@@ -5796,11 +5908,11 @@ var PreviewStep = ({ imageLink, defaultImage }) => {
5796
5908
  };
5797
5909
  }, [imageUrl, image]);
5798
5910
  const finalImageUrl = imageLink || imageUrl || defaultImage || void 0;
5799
- return /* @__PURE__ */ jsx27("section", { className: "flex flex-col gap-4", children: /* @__PURE__ */ jsxs22("div", { className: "bg-background-50 px-5 py-6 flex flex-col items-center gap-4 rounded-xl", children: [
5800
- finalImageUrl && /* @__PURE__ */ jsx27("img", { src: finalImageUrl, alt: title || "Imagem do alerta" }),
5801
- /* @__PURE__ */ jsxs22("div", { className: "flex flex-col items-center text-center gap-3", children: [
5802
- /* @__PURE__ */ jsx27(Text_default, { size: "lg", weight: "semibold", children: title || "Nenhum T\xEDtulo de Alerta" }),
5803
- /* @__PURE__ */ jsx27(Text_default, { size: "sm", weight: "normal", className: "text-text-500", children: message || "Aqui aparecer\xE1 a mensagem do alerta definido pelo usu\xE1rio" })
5911
+ return /* @__PURE__ */ jsx28("section", { className: "flex flex-col gap-4", children: /* @__PURE__ */ jsxs23("div", { className: "bg-background-50 px-5 py-6 flex flex-col items-center gap-4 rounded-xl", children: [
5912
+ finalImageUrl && /* @__PURE__ */ jsx28("img", { src: finalImageUrl, alt: title || "Imagem do alerta" }),
5913
+ /* @__PURE__ */ jsxs23("div", { className: "flex flex-col items-center text-center gap-3", children: [
5914
+ /* @__PURE__ */ jsx28(Text_default, { size: "lg", weight: "semibold", children: title || "Nenhum T\xEDtulo de Alerta" }),
5915
+ /* @__PURE__ */ jsx28(Text_default, { size: "sm", weight: "normal", className: "text-text-500", children: message || "Aqui aparecer\xE1 a mensagem do alerta definido pelo usu\xE1rio" })
5804
5916
  ] })
5805
5917
  ] }) });
5806
5918
  };
@@ -5886,8 +5998,8 @@ var handleNext = ({
5886
5998
  };
5887
5999
 
5888
6000
  // src/components/AlertManager/AlertsManager.tsx
5889
- import { jsx as jsx28, jsxs as jsxs23 } from "react/jsx-runtime";
5890
- var StepWrapper = ({ children }) => /* @__PURE__ */ jsx28("div", { children });
6001
+ import { jsx as jsx29, jsxs as jsxs24 } from "react/jsx-runtime";
6002
+ var StepWrapper = ({ children }) => /* @__PURE__ */ jsx29("div", { children });
5891
6003
  var AlertsManager = ({
5892
6004
  config,
5893
6005
  isOpen = false,
@@ -6022,11 +6134,11 @@ var AlertsManager = ({
6022
6134
  const currentStepContent = useMemo6(() => {
6023
6135
  if (customSteps?.[currentStep]?.component) {
6024
6136
  const CustomComponent = customSteps[currentStep].component;
6025
- return /* @__PURE__ */ jsx28(StepWrapper, { children: /* @__PURE__ */ jsx28(CustomComponent, { onNext: handleNext2, onPrevious: handlePrevious }) });
6137
+ return /* @__PURE__ */ jsx29(StepWrapper, { children: /* @__PURE__ */ jsx29(CustomComponent, { onNext: handleNext2, onPrevious: handlePrevious }) });
6026
6138
  }
6027
6139
  switch (currentStep) {
6028
6140
  case 0:
6029
- return /* @__PURE__ */ jsx28(StepWrapper, { children: /* @__PURE__ */ jsx28(
6141
+ return /* @__PURE__ */ jsx29(StepWrapper, { children: /* @__PURE__ */ jsx29(
6030
6142
  MessageStep,
6031
6143
  {
6032
6144
  labels,
@@ -6034,7 +6146,7 @@ var AlertsManager = ({
6034
6146
  }
6035
6147
  ) });
6036
6148
  case 1:
6037
- return /* @__PURE__ */ jsx28(StepWrapper, { children: /* @__PURE__ */ jsx28(
6149
+ return /* @__PURE__ */ jsx29(StepWrapper, { children: /* @__PURE__ */ jsx29(
6038
6150
  RecipientsStep,
6039
6151
  {
6040
6152
  categories,
@@ -6043,7 +6155,7 @@ var AlertsManager = ({
6043
6155
  }
6044
6156
  ) });
6045
6157
  case 2:
6046
- return /* @__PURE__ */ jsx28(StepWrapper, { children: /* @__PURE__ */ jsx28(
6158
+ return /* @__PURE__ */ jsx29(StepWrapper, { children: /* @__PURE__ */ jsx29(
6047
6159
  DateStep,
6048
6160
  {
6049
6161
  labels,
@@ -6052,7 +6164,7 @@ var AlertsManager = ({
6052
6164
  }
6053
6165
  ) });
6054
6166
  case 3:
6055
- return /* @__PURE__ */ jsx28(StepWrapper, { children: /* @__PURE__ */ jsx28(PreviewStep, { imageLink, defaultImage }) });
6167
+ return /* @__PURE__ */ jsx29(StepWrapper, { children: /* @__PURE__ */ jsx29(PreviewStep, { imageLink, defaultImage }) });
6056
6168
  default:
6057
6169
  return null;
6058
6170
  }
@@ -6069,7 +6181,7 @@ var AlertsManager = ({
6069
6181
  ]);
6070
6182
  const isFirstStep = currentStep === 0;
6071
6183
  const isLastStep = currentStep === steps.length - 1;
6072
- return /* @__PURE__ */ jsx28(
6184
+ return /* @__PURE__ */ jsx29(
6073
6185
  Modal_default,
6074
6186
  {
6075
6187
  isOpen: isModalOpen,
@@ -6077,33 +6189,33 @@ var AlertsManager = ({
6077
6189
  title: labels?.modalTitle || "Enviar aviso",
6078
6190
  size: "md",
6079
6191
  contentClassName: "p-0",
6080
- footer: /* @__PURE__ */ jsx28("div", { className: "flex gap-3 justify-end w-full", children: /* @__PURE__ */ jsxs23("div", { className: "flex gap-3", children: [
6081
- /* @__PURE__ */ jsx28(Button_default, { variant: "link", size: "small", onClick: handleCloseModal, children: labels?.cancelButton || "Cancelar" }),
6082
- !isFirstStep && /* @__PURE__ */ jsx28(
6192
+ footer: /* @__PURE__ */ jsx29("div", { className: "flex gap-3 justify-end w-full", children: /* @__PURE__ */ jsxs24("div", { className: "flex gap-3", children: [
6193
+ /* @__PURE__ */ jsx29(Button_default, { variant: "link", size: "small", onClick: handleCloseModal, children: labels?.cancelButton || "Cancelar" }),
6194
+ !isFirstStep && /* @__PURE__ */ jsx29(
6083
6195
  Button_default,
6084
6196
  {
6085
6197
  variant: "outline",
6086
6198
  size: "small",
6087
- iconLeft: /* @__PURE__ */ jsx28(CaretLeft, {}),
6199
+ iconLeft: /* @__PURE__ */ jsx29(CaretLeft, {}),
6088
6200
  onClick: handlePrevious,
6089
6201
  children: labels?.previousButton || "Anterior"
6090
6202
  }
6091
6203
  ),
6092
- isLastStep ? /* @__PURE__ */ jsx28(
6204
+ isLastStep ? /* @__PURE__ */ jsx29(
6093
6205
  Button_default,
6094
6206
  {
6095
6207
  variant: "solid",
6096
- iconLeft: /* @__PURE__ */ jsx28(PaperPlaneTilt, {}),
6208
+ iconLeft: /* @__PURE__ */ jsx29(PaperPlaneTilt, {}),
6097
6209
  size: "small",
6098
6210
  onClick: handleFinish,
6099
6211
  disabled: !canFinish2(),
6100
6212
  children: labels?.finishButton || "Enviar Aviso"
6101
6213
  }
6102
- ) : /* @__PURE__ */ jsx28(
6214
+ ) : /* @__PURE__ */ jsx29(
6103
6215
  Button_default,
6104
6216
  {
6105
6217
  variant: "solid",
6106
- iconRight: /* @__PURE__ */ jsx28(CaretRight4, {}),
6218
+ iconRight: /* @__PURE__ */ jsx29(CaretRight4, {}),
6107
6219
  size: "small",
6108
6220
  onClick: handleNext2,
6109
6221
  disabled: !isCurrentStepValid2(),
@@ -6111,8 +6223,8 @@ var AlertsManager = ({
6111
6223
  }
6112
6224
  )
6113
6225
  ] }) }),
6114
- children: /* @__PURE__ */ jsxs23("div", { className: "flex flex-col h-[calc(100vh-14rem)] max-h-[600px]", children: [
6115
- /* @__PURE__ */ jsx28("div", { className: "shrink-0 px-6 pt-4", children: /* @__PURE__ */ jsx28(
6226
+ children: /* @__PURE__ */ jsxs24("div", { className: "flex flex-col h-[calc(100vh-14rem)] max-h-[600px]", children: [
6227
+ /* @__PURE__ */ jsx29("div", { className: "shrink-0 px-6 pt-4", children: /* @__PURE__ */ jsx29(
6116
6228
  Stepper_default,
6117
6229
  {
6118
6230
  steps: dynamicSteps,
@@ -6122,7 +6234,7 @@ var AlertsManager = ({
6122
6234
  progressText: `Etapa ${currentStep + 1} de ${steps.length}`
6123
6235
  }
6124
6236
  ) }),
6125
- /* @__PURE__ */ jsx28("div", { className: "flex-1 overflow-y-auto px-6 pb-4", children: currentStepContent })
6237
+ /* @__PURE__ */ jsx29("div", { className: "flex-1 overflow-y-auto px-6 pb-4", children: currentStepContent })
6126
6238
  ] })
6127
6239
  }
6128
6240
  );