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.
package/dist/index.js CHANGED
@@ -4048,7 +4048,132 @@ var import_react15 = require("react");
4048
4048
  // src/components/Card/Card.tsx
4049
4049
  var import_react14 = require("react");
4050
4050
  var import_phosphor_react12 = require("phosphor-react");
4051
+
4052
+ // src/components/IconRender/IconRender.tsx
4053
+ var PhosphorIcons = __toESM(require("phosphor-react"));
4051
4054
  var import_jsx_runtime26 = require("react/jsx-runtime");
4055
+ var ChatPT = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4056
+ "svg",
4057
+ {
4058
+ width: size,
4059
+ height: size,
4060
+ viewBox: "0 0 32 32",
4061
+ fill: "none",
4062
+ xmlns: "http://www.w3.org/2000/svg",
4063
+ children: [
4064
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4065
+ "path",
4066
+ {
4067
+ 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",
4068
+ fill: color
4069
+ }
4070
+ ),
4071
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4072
+ "path",
4073
+ {
4074
+ d: "M21.1758 12V20.5312H19.7168V12H21.1758ZM23.8535 12V13.1719H17.0625V12H23.8535Z",
4075
+ fill: color
4076
+ }
4077
+ ),
4078
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4079
+ "path",
4080
+ {
4081
+ 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",
4082
+ fill: color
4083
+ }
4084
+ )
4085
+ ]
4086
+ }
4087
+ );
4088
+ var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4089
+ "svg",
4090
+ {
4091
+ width: size,
4092
+ height: size,
4093
+ viewBox: "0 0 32 32",
4094
+ fill: "none",
4095
+ xmlns: "http://www.w3.org/2000/svg",
4096
+ children: [
4097
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4098
+ "path",
4099
+ {
4100
+ 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",
4101
+ fill: color
4102
+ }
4103
+ ),
4104
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4105
+ "path",
4106
+ {
4107
+ d: "M22.5488 12V20.5312H21.0781L17.252 14.4199V20.5312H15.7812V12H17.252L21.0898 18.123V12H22.5488Z",
4108
+ fill: color
4109
+ }
4110
+ ),
4111
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4112
+ "path",
4113
+ {
4114
+ 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",
4115
+ fill: color
4116
+ }
4117
+ )
4118
+ ]
4119
+ }
4120
+ );
4121
+ var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4122
+ "svg",
4123
+ {
4124
+ width: size,
4125
+ height: size,
4126
+ viewBox: "0 0 32 32",
4127
+ fill: "none",
4128
+ xmlns: "http://www.w3.org/2000/svg",
4129
+ children: [
4130
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4131
+ "path",
4132
+ {
4133
+ 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",
4134
+ fill: color
4135
+ }
4136
+ ),
4137
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4138
+ "path",
4139
+ {
4140
+ 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",
4141
+ fill: color
4142
+ }
4143
+ ),
4144
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4145
+ "path",
4146
+ {
4147
+ 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",
4148
+ fill: color
4149
+ }
4150
+ )
4151
+ ]
4152
+ }
4153
+ );
4154
+ var IconRender = ({
4155
+ iconName,
4156
+ color = "#000000",
4157
+ size = 24,
4158
+ weight = "regular"
4159
+ }) => {
4160
+ switch (iconName) {
4161
+ case "Chat_PT":
4162
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ChatPT, { size, color });
4163
+ case "Chat_EN":
4164
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ChatEN, { size, color });
4165
+ case "Chat_ES":
4166
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ChatES, { size, color });
4167
+ default: {
4168
+ const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
4169
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(IconComponent, { size, color, weight });
4170
+ }
4171
+ }
4172
+ };
4173
+ var IconRender_default = IconRender;
4174
+
4175
+ // src/components/Card/Card.tsx
4176
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4052
4177
  var CARD_BASE_CLASSES = {
4053
4178
  default: "w-full bg-background border border-border-50 rounded-xl",
4054
4179
  compact: "w-full bg-background border border-border-50 rounded-lg",
@@ -4098,7 +4223,7 @@ var CardBase = (0, import_react14.forwardRef)(
4098
4223
  cursorClasses,
4099
4224
  className
4100
4225
  ].filter(Boolean).join(" ");
4101
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { ref, className: combinedClasses, ...props, children });
4226
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { ref, className: combinedClasses, ...props, children });
4102
4227
  }
4103
4228
  );
4104
4229
  var ACTION_CARD_CLASSES = {
@@ -4141,7 +4266,7 @@ var CardActivitiesResults = (0, import_react14.forwardRef)(
4141
4266
  const actionIconClasses = ACTION_ICON_CLASSES[action];
4142
4267
  const actionSubTitleClasses = ACTION_SUBTITLE_CLASSES[action];
4143
4268
  const actionHeaderClasses = ACTION_HEADER_CLASSES[action];
4144
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4269
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4145
4270
  "div",
4146
4271
  {
4147
4272
  ref,
@@ -4151,7 +4276,7 @@ var CardActivitiesResults = (0, import_react14.forwardRef)(
4151
4276
  ),
4152
4277
  ...props,
4153
4278
  children: [
4154
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4279
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4155
4280
  "div",
4156
4281
  {
4157
4282
  className: cn(
@@ -4160,7 +4285,7 @@ var CardActivitiesResults = (0, import_react14.forwardRef)(
4160
4285
  extended ? "rounded-t-xl" : "rounded-xl"
4161
4286
  ),
4162
4287
  children: [
4163
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4288
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4164
4289
  "span",
4165
4290
  {
4166
4291
  className: cn(
@@ -4170,7 +4295,7 @@ var CardActivitiesResults = (0, import_react14.forwardRef)(
4170
4295
  children: icon
4171
4296
  }
4172
4297
  ),
4173
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4298
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4174
4299
  Text_default,
4175
4300
  {
4176
4301
  size: "2xs",
@@ -4179,7 +4304,7 @@ var CardActivitiesResults = (0, import_react14.forwardRef)(
4179
4304
  children: title
4180
4305
  }
4181
4306
  ),
4182
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4307
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4183
4308
  "p",
4184
4309
  {
4185
4310
  className: cn("text-lg font-bold truncate", actionSubTitleClasses),
@@ -4189,8 +4314,8 @@ var CardActivitiesResults = (0, import_react14.forwardRef)(
4189
4314
  ]
4190
4315
  }
4191
4316
  ),
4192
- extended && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
4193
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4317
+ extended && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col items-center gap-2.5 pb-9.5 pt-2.5", children: [
4318
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4194
4319
  "p",
4195
4320
  {
4196
4321
  className: cn(
@@ -4200,7 +4325,7 @@ var CardActivitiesResults = (0, import_react14.forwardRef)(
4200
4325
  children: header
4201
4326
  }
4202
4327
  ),
4203
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Badge_default, { size: "large", action: "info", children: description })
4328
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Badge_default, { size: "large", action: "info", children: description })
4204
4329
  ] })
4205
4330
  ]
4206
4331
  }
@@ -4219,7 +4344,7 @@ var CardQuestions = (0, import_react14.forwardRef)(
4219
4344
  const isDone = state === "done";
4220
4345
  const stateLabel = isDone ? "Realizado" : "N\xE3o Realizado";
4221
4346
  const buttonLabel = isDone ? "Ver Quest\xE3o" : "Responder";
4222
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4347
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4223
4348
  CardBase,
4224
4349
  {
4225
4350
  ref,
@@ -4229,10 +4354,10 @@ var CardQuestions = (0, import_react14.forwardRef)(
4229
4354
  className: cn("justify-between gap-4", className),
4230
4355
  ...props,
4231
4356
  children: [
4232
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
4233
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
4234
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
4235
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4357
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
4358
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
4359
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
4360
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4236
4361
  Badge_default,
4237
4362
  {
4238
4363
  size: "medium",
@@ -4241,13 +4366,13 @@ var CardQuestions = (0, import_react14.forwardRef)(
4241
4366
  children: stateLabel
4242
4367
  }
4243
4368
  ),
4244
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
4369
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
4245
4370
  isDone ? "Nota" : "Sem nota",
4246
- isDone && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Badge_default, { size: "medium", action: "success", children: "00" })
4371
+ isDone && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Badge_default, { size: "medium", action: "success", children: "00" })
4247
4372
  ] })
4248
4373
  ] })
4249
4374
  ] }),
4250
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "flex-shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4375
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "flex-shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4251
4376
  Button_default,
4252
4377
  {
4253
4378
  size: "extra-small",
@@ -4278,19 +4403,19 @@ var CardProgress = (0, import_react14.forwardRef)(
4278
4403
  }, ref) => {
4279
4404
  const isHorizontal = direction === "horizontal";
4280
4405
  const contentComponent = {
4281
- horizontal: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
4282
- showDates && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
4283
- initialDate && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
4284
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
4285
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-text-600", children: initialDate })
4406
+ horizontal: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_jsx_runtime27.Fragment, { children: [
4407
+ showDates && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-row gap-6 items-center", children: [
4408
+ initialDate && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
4409
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-text-800 font-semibold", children: "In\xEDcio" }),
4410
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-text-600", children: initialDate })
4286
4411
  ] }),
4287
- endDate && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
4288
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-text-800 font-semibold", children: "Fim" }),
4289
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-text-600", children: endDate })
4412
+ endDate && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("span", { className: "flex flex-row gap-1 items-center text-2xs", children: [
4413
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-text-800 font-semibold", children: "Fim" }),
4414
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-text-600", children: endDate })
4290
4415
  ] })
4291
4416
  ] }),
4292
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
4293
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4417
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
4418
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4294
4419
  ProgressBar_default,
4295
4420
  {
4296
4421
  size: "small",
@@ -4299,7 +4424,7 @@ var CardProgress = (0, import_react14.forwardRef)(
4299
4424
  "data-testid": "progress-bar"
4300
4425
  }
4301
4426
  ),
4302
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4427
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4303
4428
  Text_default,
4304
4429
  {
4305
4430
  size: "xs",
@@ -4315,9 +4440,9 @@ var CardProgress = (0, import_react14.forwardRef)(
4315
4440
  )
4316
4441
  ] })
4317
4442
  ] }),
4318
- vertical: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm text-text-800", children: subhead })
4443
+ vertical: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-sm text-text-800", children: subhead })
4319
4444
  };
4320
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4445
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4321
4446
  CardBase,
4322
4447
  {
4323
4448
  ref,
@@ -4328,7 +4453,7 @@ var CardProgress = (0, import_react14.forwardRef)(
4328
4453
  className: cn(isHorizontal ? "h-20" : "", className),
4329
4454
  ...props,
4330
4455
  children: [
4331
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4456
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4332
4457
  "div",
4333
4458
  {
4334
4459
  className: cn(
@@ -4341,7 +4466,7 @@ var CardProgress = (0, import_react14.forwardRef)(
4341
4466
  children: icon
4342
4467
  }
4343
4468
  ),
4344
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4469
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4345
4470
  "div",
4346
4471
  {
4347
4472
  className: cn(
@@ -4349,7 +4474,7 @@ var CardProgress = (0, import_react14.forwardRef)(
4349
4474
  !isHorizontal && "gap-4"
4350
4475
  ),
4351
4476
  children: [
4352
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
4477
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text_default, { size: "sm", weight: "bold", className: "text-text-950 truncate", children: header }),
4353
4478
  contentComponent[direction]
4354
4479
  ]
4355
4480
  }
@@ -4369,7 +4494,7 @@ var CardTopic = (0, import_react14.forwardRef)(
4369
4494
  className = "",
4370
4495
  ...props
4371
4496
  }, ref) => {
4372
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4497
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4373
4498
  CardBase,
4374
4499
  {
4375
4500
  ref,
@@ -4380,13 +4505,13 @@ var CardTopic = (0, import_react14.forwardRef)(
4380
4505
  className: cn("justify-center gap-2 py-2 px-4", className),
4381
4506
  ...props,
4382
4507
  children: [
4383
- subHead && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_react14.Fragment, { children: [
4384
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { children: text }),
4385
- index < subHead.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { children: "\u2022" })
4508
+ subHead && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "text-text-600 text-2xs flex flex-row gap-1", children: subHead.map((text, index) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react14.Fragment, { children: [
4509
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { children: text }),
4510
+ index < subHead.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { children: "\u2022" })
4386
4511
  ] }, `${text} - ${index}`)) }),
4387
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
4388
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
4389
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4512
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }),
4513
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("span", { className: "grid grid-cols-[1fr_auto] items-center gap-2", children: [
4514
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4390
4515
  ProgressBar_default,
4391
4516
  {
4392
4517
  size: "small",
@@ -4395,7 +4520,7 @@ var CardTopic = (0, import_react14.forwardRef)(
4395
4520
  "data-testid": "progress-bar"
4396
4521
  }
4397
4522
  ),
4398
- showPercentage && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4523
+ showPercentage && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4399
4524
  Text_default,
4400
4525
  {
4401
4526
  size: "xs",
@@ -4429,7 +4554,7 @@ var CardPerformance = (0, import_react14.forwardRef)(
4429
4554
  ...props
4430
4555
  }, ref) => {
4431
4556
  const hasProgress = progress !== void 0;
4432
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4557
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4433
4558
  CardBase,
4434
4559
  {
4435
4560
  ref,
@@ -4443,10 +4568,10 @@ var CardPerformance = (0, import_react14.forwardRef)(
4443
4568
  onClick: () => actionVariant == "caret" && onClickButton?.(valueButton),
4444
4569
  ...props,
4445
4570
  children: [
4446
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "w-full flex flex-col justify-between gap-2", children: [
4447
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-row justify-between items-center gap-2", children: [
4448
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4449
- actionVariant === "button" && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4571
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "w-full flex flex-col justify-between gap-2", children: [
4572
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-row justify-between items-center gap-2", children: [
4573
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-lg font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4574
+ actionVariant === "button" && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4450
4575
  Button_default,
4451
4576
  {
4452
4577
  variant: "outline",
@@ -4457,16 +4582,16 @@ var CardPerformance = (0, import_react14.forwardRef)(
4457
4582
  }
4458
4583
  )
4459
4584
  ] }),
4460
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4585
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4461
4586
  ProgressBar_default,
4462
4587
  {
4463
4588
  value: progress,
4464
4589
  label: `${progress}% ${labelProgress}`,
4465
4590
  variant: progressVariant
4466
4591
  }
4467
- ) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-xs text-text-600 truncate", children: description }) })
4592
+ ) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-xs text-text-600 truncate", children: description }) })
4468
4593
  ] }),
4469
- actionVariant == "caret" && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4594
+ actionVariant == "caret" && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4470
4595
  import_phosphor_react12.CaretRight,
4471
4596
  {
4472
4597
  className: "size-4.5 text-text-800 cursor-pointer",
@@ -4490,7 +4615,7 @@ var CardResults = (0, import_react14.forwardRef)(
4490
4615
  ...props
4491
4616
  }, ref) => {
4492
4617
  const isRow = direction == "row";
4493
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4618
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4494
4619
  CardBase,
4495
4620
  {
4496
4621
  ref,
@@ -4500,7 +4625,7 @@ var CardResults = (0, import_react14.forwardRef)(
4500
4625
  className: cn("items-center cursor-pointer pr-4", className),
4501
4626
  ...props,
4502
4627
  children: [
4503
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4628
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4504
4629
  "div",
4505
4630
  {
4506
4631
  className: cn(
@@ -4509,10 +4634,10 @@ var CardResults = (0, import_react14.forwardRef)(
4509
4634
  style: {
4510
4635
  backgroundColor: color
4511
4636
  },
4512
- children: icon
4637
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
4513
4638
  }
4514
4639
  ),
4515
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4640
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4516
4641
  "div",
4517
4642
  {
4518
4643
  className: cn(
@@ -4520,28 +4645,28 @@ var CardResults = (0, import_react14.forwardRef)(
4520
4645
  isRow ? "flex-row items-center gap-2" : "flex-col"
4521
4646
  ),
4522
4647
  children: [
4523
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4524
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "flex flex-row gap-1 items-center", children: [
4525
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4648
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4649
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("span", { className: "flex flex-row gap-1 items-center", children: [
4650
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4526
4651
  Badge_default,
4527
4652
  {
4528
4653
  action: "success",
4529
4654
  variant: "solid",
4530
4655
  size: "large",
4531
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.CheckCircle, {}),
4656
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.CheckCircle, {}),
4532
4657
  children: [
4533
4658
  correct_answers,
4534
4659
  " Corretas"
4535
4660
  ]
4536
4661
  }
4537
4662
  ),
4538
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4663
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4539
4664
  Badge_default,
4540
4665
  {
4541
4666
  action: "error",
4542
4667
  variant: "solid",
4543
4668
  size: "large",
4544
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.XCircle, {}),
4669
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.XCircle, {}),
4545
4670
  children: [
4546
4671
  incorrect_answers,
4547
4672
  " Incorretas"
@@ -4552,7 +4677,7 @@ var CardResults = (0, import_react14.forwardRef)(
4552
4677
  ]
4553
4678
  }
4554
4679
  ),
4555
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
4680
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
4556
4681
  ]
4557
4682
  }
4558
4683
  );
@@ -4572,7 +4697,7 @@ var CardStatus = (0, import_react14.forwardRef)(
4572
4697
  return "Em branco";
4573
4698
  }
4574
4699
  };
4575
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4700
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4576
4701
  CardBase,
4577
4702
  {
4578
4703
  ref,
@@ -4581,22 +4706,22 @@ var CardStatus = (0, import_react14.forwardRef)(
4581
4706
  minHeight: "medium",
4582
4707
  className: cn("items-center cursor-pointer", className),
4583
4708
  ...props,
4584
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
4585
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4586
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
4587
- status && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4709
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
4710
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4711
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
4712
+ status && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4588
4713
  Badge_default,
4589
4714
  {
4590
4715
  action: status == "correct" ? "success" : "error",
4591
4716
  variant: "solid",
4592
4717
  size: "medium",
4593
- iconLeft: status == "correct" ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.CheckCircle, {}) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.XCircle, {}),
4718
+ iconLeft: status == "correct" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.CheckCircle, {}) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.XCircle, {}),
4594
4719
  children: getLabelBadge(status)
4595
4720
  }
4596
4721
  ),
4597
- label && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm text-text-800", children: label })
4722
+ label && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-sm text-text-800", children: label })
4598
4723
  ] }),
4599
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
4724
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
4600
4725
  ] })
4601
4726
  }
4602
4727
  );
@@ -4604,7 +4729,7 @@ var CardStatus = (0, import_react14.forwardRef)(
4604
4729
  );
4605
4730
  var CardSettings = (0, import_react14.forwardRef)(
4606
4731
  ({ header, className, icon, ...props }, ref) => {
4607
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4732
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4608
4733
  CardBase,
4609
4734
  {
4610
4735
  ref,
@@ -4617,9 +4742,9 @@ var CardSettings = (0, import_react14.forwardRef)(
4617
4742
  ),
4618
4743
  ...props,
4619
4744
  children: [
4620
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "[&>svg]:size-6", children: icon }),
4621
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "w-full text-sm truncate", children: header }),
4622
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.CaretRight, { size: 24, className: "cursor-pointer" })
4745
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "[&>svg]:size-6", children: icon }),
4746
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "w-full text-sm truncate", children: header }),
4747
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.CaretRight, { size: 24, className: "cursor-pointer" })
4623
4748
  ]
4624
4749
  }
4625
4750
  );
@@ -4627,7 +4752,7 @@ var CardSettings = (0, import_react14.forwardRef)(
4627
4752
  );
4628
4753
  var CardSupport = (0, import_react14.forwardRef)(
4629
4754
  ({ header, className, direction = "col", children, ...props }, ref) => {
4630
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4755
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4631
4756
  CardBase,
4632
4757
  {
4633
4758
  ref,
@@ -4640,7 +4765,7 @@ var CardSupport = (0, import_react14.forwardRef)(
4640
4765
  ),
4641
4766
  ...props,
4642
4767
  children: [
4643
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4768
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4644
4769
  "div",
4645
4770
  {
4646
4771
  className: cn(
@@ -4648,12 +4773,12 @@ var CardSupport = (0, import_react14.forwardRef)(
4648
4773
  direction == "col" ? "flex-col" : "flex-row items-center"
4649
4774
  ),
4650
4775
  children: [
4651
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "w-full min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
4652
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "flex flex-row gap-1", children })
4776
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "w-full min-w-0", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-sm text-text-950 font-bold truncate", children: header }) }),
4777
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "flex flex-row gap-1", children })
4653
4778
  ]
4654
4779
  }
4655
4780
  ),
4656
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
4781
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.CaretRight, { className: "text-text-800 cursor-pointer", size: 24 })
4657
4782
  ]
4658
4783
  }
4659
4784
  );
@@ -4673,7 +4798,7 @@ var CardForum = (0, import_react14.forwardRef)(
4673
4798
  hour,
4674
4799
  ...props
4675
4800
  }, ref) => {
4676
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4801
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4677
4802
  CardBase,
4678
4803
  {
4679
4804
  ref,
@@ -4684,7 +4809,7 @@ var CardForum = (0, import_react14.forwardRef)(
4684
4809
  className: cn("w-auto h-auto gap-3", className),
4685
4810
  ...props,
4686
4811
  children: [
4687
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4812
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4688
4813
  "button",
4689
4814
  {
4690
4815
  type: "button",
@@ -4693,18 +4818,18 @@ var CardForum = (0, import_react14.forwardRef)(
4693
4818
  className: "min-w-8 h-8 rounded-full bg-background-950"
4694
4819
  }
4695
4820
  ),
4696
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
4697
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
4698
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
4699
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("p", { className: "text-xs text-text-600", children: [
4821
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
4822
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-row gap-1 items-center flex-wrap", children: [
4823
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-xs font-semibold text-primary-700 truncate", children: title }),
4824
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("p", { className: "text-xs text-text-600", children: [
4700
4825
  "\u2022 ",
4701
4826
  date,
4702
4827
  " \u2022 ",
4703
4828
  hour
4704
4829
  ] })
4705
4830
  ] }),
4706
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
4707
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4831
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-text-950 text-sm line-clamp-2 truncate", children: content }),
4832
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4708
4833
  "button",
4709
4834
  {
4710
4835
  type: "button",
@@ -4712,8 +4837,8 @@ var CardForum = (0, import_react14.forwardRef)(
4712
4837
  onClick: () => onClickComments?.(valueComments),
4713
4838
  className: "text-text-600 flex flex-row gap-2 items-center",
4714
4839
  children: [
4715
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.ChatCircleText, { "aria-hidden": "true", size: 16 }),
4716
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("p", { className: "text-xs", children: [
4840
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.ChatCircleText, { "aria-hidden": "true", size: 16 }),
4841
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("p", { className: "text-xs", children: [
4717
4842
  comments,
4718
4843
  " respostas"
4719
4844
  ] })
@@ -4812,14 +4937,14 @@ var CardAudio = (0, import_react14.forwardRef)(
4812
4937
  };
4813
4938
  const getVolumeIcon = () => {
4814
4939
  if (volume === 0) {
4815
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.SpeakerSimpleX, {});
4940
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.SpeakerSimpleX, {});
4816
4941
  }
4817
4942
  if (volume < 0.5) {
4818
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.SpeakerLow, {});
4943
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.SpeakerLow, {});
4819
4944
  }
4820
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.SpeakerHigh, {});
4945
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.SpeakerHigh, {});
4821
4946
  };
4822
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4947
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
4823
4948
  CardBase,
4824
4949
  {
4825
4950
  ref,
@@ -4829,7 +4954,7 @@ var CardAudio = (0, import_react14.forwardRef)(
4829
4954
  className: cn("w-auto h-14 items-center gap-2", className),
4830
4955
  ...props,
4831
4956
  children: [
4832
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4957
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4833
4958
  "audio",
4834
4959
  {
4835
4960
  ref: audioRef,
@@ -4841,7 +4966,7 @@ var CardAudio = (0, import_react14.forwardRef)(
4841
4966
  onEnded: handleEnded,
4842
4967
  "data-testid": "audio-element",
4843
4968
  "aria-label": title,
4844
- children: tracks ? tracks.map((track) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4969
+ children: tracks ? tracks.map((track) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4845
4970
  "track",
4846
4971
  {
4847
4972
  kind: track.kind,
@@ -4851,7 +4976,7 @@ var CardAudio = (0, import_react14.forwardRef)(
4851
4976
  default: track.default
4852
4977
  },
4853
4978
  track.src
4854
- )) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4979
+ )) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4855
4980
  "track",
4856
4981
  {
4857
4982
  kind: "captions",
@@ -4862,7 +4987,7 @@ var CardAudio = (0, import_react14.forwardRef)(
4862
4987
  )
4863
4988
  }
4864
4989
  ),
4865
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4990
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4866
4991
  "button",
4867
4992
  {
4868
4993
  type: "button",
@@ -4870,14 +4995,14 @@ var CardAudio = (0, import_react14.forwardRef)(
4870
4995
  disabled: !src,
4871
4996
  className: "cursor-pointer text-text-950 hover:text-primary-600 disabled:text-text-400 disabled:cursor-not-allowed",
4872
4997
  "aria-label": isPlaying ? "Pausar" : "Reproduzir",
4873
- children: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex gap-0.5", children: [
4874
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" }),
4875
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" })
4876
- ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.Play, { size: 24 })
4998
+ children: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex gap-0.5", children: [
4999
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" }),
5000
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-1 h-4 bg-current rounded-sm" })
5001
+ ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.Play, { size: 24 })
4877
5002
  }
4878
5003
  ),
4879
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime2(currentTime) }),
4880
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5004
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime2(currentTime) }),
5005
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex-1 relative", "data-testid": "progress-bar", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4881
5006
  "button",
4882
5007
  {
4883
5008
  type: "button",
@@ -4892,7 +5017,7 @@ var CardAudio = (0, import_react14.forwardRef)(
4892
5017
  }
4893
5018
  },
4894
5019
  "aria-label": "Barra de progresso do \xE1udio",
4895
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5020
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4896
5021
  "div",
4897
5022
  {
4898
5023
  className: "h-full bg-primary-600 rounded-full transition-all duration-100",
@@ -4903,19 +5028,19 @@ var CardAudio = (0, import_react14.forwardRef)(
4903
5028
  )
4904
5029
  }
4905
5030
  ) }),
4906
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime2(duration) }),
4907
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "relative", children: [
4908
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5031
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-text-800 text-sm font-medium min-w-[2.5rem]", children: formatTime2(duration) }),
5032
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "relative", children: [
5033
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4909
5034
  "button",
4910
5035
  {
4911
5036
  type: "button",
4912
5037
  onClick: toggleVolumeControl,
4913
5038
  className: "cursor-pointer text-text-950 hover:text-primary-600",
4914
5039
  "aria-label": "Controle de volume",
4915
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
5040
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-6 h-6 flex items-center justify-center", children: getVolumeIcon() })
4916
5041
  }
4917
5042
  ),
4918
- showVolumeControl && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5043
+ showVolumeControl && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4919
5044
  "button",
4920
5045
  {
4921
5046
  type: "button",
@@ -4925,7 +5050,7 @@ var CardAudio = (0, import_react14.forwardRef)(
4925
5050
  setShowVolumeControl(false);
4926
5051
  }
4927
5052
  },
4928
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5053
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4929
5054
  "input",
4930
5055
  {
4931
5056
  type: "range",
@@ -4966,22 +5091,22 @@ var CardAudio = (0, import_react14.forwardRef)(
4966
5091
  }
4967
5092
  )
4968
5093
  ] }),
4969
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "relative", children: [
4970
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5094
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "relative", children: [
5095
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4971
5096
  "button",
4972
5097
  {
4973
5098
  type: "button",
4974
5099
  onClick: toggleSpeedMenu,
4975
5100
  className: "cursor-pointer text-text-950 hover:text-primary-600",
4976
5101
  "aria-label": "Op\xE7\xF5es de velocidade",
4977
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.DotsThreeVertical, { size: 24 })
5102
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.DotsThreeVertical, { size: 24 })
4978
5103
  }
4979
5104
  ),
4980
- showSpeedMenu && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "absolute bottom-full right-0 mb-2 p-2 bg-background border border-border-100 rounded-lg shadow-lg min-w-24 z-10", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "flex flex-col gap-1", children: [
5105
+ showSpeedMenu && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "absolute bottom-full right-0 mb-2 p-2 bg-background border border-border-100 rounded-lg shadow-lg min-w-24 z-10", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex flex-col gap-1", children: [
4981
5106
  { speed: 1, label: "1x" },
4982
5107
  { speed: 1.5, label: "1.5x" },
4983
5108
  { speed: 2, label: "2x" }
4984
- ].map(({ speed, label }) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5109
+ ].map(({ speed, label }) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4985
5110
  "button",
4986
5111
  {
4987
5112
  type: "button",
@@ -5009,7 +5134,7 @@ var SIMULADO_BACKGROUND_CLASSES = {
5009
5134
  var CardSimulado = (0, import_react14.forwardRef)(
5010
5135
  ({ title, duration, info, backgroundColor, className, ...props }, ref) => {
5011
5136
  const backgroundClass = SIMULADO_BACKGROUND_CLASSES[backgroundColor];
5012
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5137
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5013
5138
  CardBase,
5014
5139
  {
5015
5140
  ref,
@@ -5022,18 +5147,18 @@ var CardSimulado = (0, import_react14.forwardRef)(
5022
5147
  className
5023
5148
  ),
5024
5149
  ...props,
5025
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex justify-between items-center w-full gap-4", children: [
5026
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
5027
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
5028
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex items-center gap-4 text-text-700", children: [
5029
- duration && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex items-center gap-1", children: [
5030
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.Clock, { size: 16, className: "flex-shrink-0" }),
5031
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text_default, { size: "sm", children: duration })
5150
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex justify-between items-center w-full gap-4", children: [
5151
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
5152
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
5153
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex items-center gap-4 text-text-700", children: [
5154
+ duration && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex items-center gap-1", children: [
5155
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.Clock, { size: 16, className: "flex-shrink-0" }),
5156
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text_default, { size: "sm", children: duration })
5032
5157
  ] }),
5033
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text_default, { size: "sm", className: "truncate", children: info })
5158
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text_default, { size: "sm", className: "truncate", children: info })
5034
5159
  ] })
5035
5160
  ] }),
5036
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5161
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5037
5162
  import_phosphor_react12.CaretRight,
5038
5163
  {
5039
5164
  size: 24,
@@ -5078,7 +5203,7 @@ var CardTest = (0, import_react14.forwardRef)(
5078
5203
  const interactiveClasses = isSelectable ? "cursor-pointer focus:outline-none focus:ring-2 focus:ring-primary-950 focus:ring-offset-2" : "";
5079
5204
  const selectedClasses = selected ? "ring-2 ring-primary-950 ring-offset-2" : "";
5080
5205
  if (isSelectable) {
5081
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5206
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5082
5207
  "button",
5083
5208
  {
5084
5209
  ref,
@@ -5090,8 +5215,8 @@ var CardTest = (0, import_react14.forwardRef)(
5090
5215
  onKeyDown: handleKeyDown,
5091
5216
  "aria-pressed": selected,
5092
5217
  ...props,
5093
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
5094
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5218
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
5219
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5095
5220
  Text_default,
5096
5221
  {
5097
5222
  size: "md",
@@ -5100,10 +5225,10 @@ var CardTest = (0, import_react14.forwardRef)(
5100
5225
  children: title
5101
5226
  }
5102
5227
  ),
5103
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
5104
- duration && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
5105
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.Clock, { size: 16, className: "text-text-700" }),
5106
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5228
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
5229
+ duration && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
5230
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.Clock, { size: 16, className: "text-text-700" }),
5231
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5107
5232
  Text_default,
5108
5233
  {
5109
5234
  size: "sm",
@@ -5112,7 +5237,7 @@ var CardTest = (0, import_react14.forwardRef)(
5112
5237
  }
5113
5238
  )
5114
5239
  ] }),
5115
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5240
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5116
5241
  Text_default,
5117
5242
  {
5118
5243
  size: "sm",
@@ -5125,14 +5250,14 @@ var CardTest = (0, import_react14.forwardRef)(
5125
5250
  }
5126
5251
  );
5127
5252
  }
5128
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5253
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5129
5254
  "div",
5130
5255
  {
5131
5256
  ref,
5132
5257
  className: cn(`${baseClasses} ${className}`.trim()),
5133
5258
  ...props,
5134
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
5135
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5259
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col justify-between gap-[27px] flex-grow min-h-[67px] w-full min-w-0", children: [
5260
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5136
5261
  Text_default,
5137
5262
  {
5138
5263
  size: "md",
@@ -5141,10 +5266,10 @@ var CardTest = (0, import_react14.forwardRef)(
5141
5266
  children: title
5142
5267
  }
5143
5268
  ),
5144
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
5145
- duration && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
5146
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react12.Clock, { size: 16, className: "text-text-700" }),
5147
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5269
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-row justify-start items-end gap-4 w-full", children: [
5270
+ duration && /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-row items-center gap-1 flex-shrink-0", children: [
5271
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_phosphor_react12.Clock, { size: 16, className: "text-text-700" }),
5272
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5148
5273
  Text_default,
5149
5274
  {
5150
5275
  size: "sm",
@@ -5153,7 +5278,7 @@ var CardTest = (0, import_react14.forwardRef)(
5153
5278
  }
5154
5279
  )
5155
5280
  ] }),
5156
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5281
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5157
5282
  Text_default,
5158
5283
  {
5159
5284
  size: "sm",
@@ -5190,14 +5315,14 @@ var SIMULATION_TYPE_STYLES = {
5190
5315
  }
5191
5316
  };
5192
5317
  var CardSimulationHistory = (0, import_react14.forwardRef)(({ data, onSimulationClick, className, ...props }, ref) => {
5193
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5318
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5194
5319
  "div",
5195
5320
  {
5196
5321
  ref,
5197
5322
  className: cn("w-full max-w-[992px] h-auto", className),
5198
5323
  ...props,
5199
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-col gap-0", children: [
5200
- data.map((section, sectionIndex) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "flex flex-col", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
5324
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-col gap-0", children: [
5325
+ data.map((section, sectionIndex) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex flex-col", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
5201
5326
  "div",
5202
5327
  {
5203
5328
  className: cn(
@@ -5205,7 +5330,7 @@ var CardSimulationHistory = (0, import_react14.forwardRef)(({ data, onSimulation
5205
5330
  sectionIndex === 0 ? "rounded-t-3xl" : ""
5206
5331
  ),
5207
5332
  children: [
5208
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5333
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5209
5334
  Text_default,
5210
5335
  {
5211
5336
  size: "xs",
@@ -5214,9 +5339,9 @@ var CardSimulationHistory = (0, import_react14.forwardRef)(({ data, onSimulation
5214
5339
  children: section.date
5215
5340
  }
5216
5341
  ),
5217
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
5342
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex flex-col gap-2 flex-1", children: section.simulations.map((simulation) => {
5218
5343
  const typeStyles = SIMULATION_TYPE_STYLES[simulation.type];
5219
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5344
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5220
5345
  CardBase,
5221
5346
  {
5222
5347
  layout: "horizontal",
@@ -5228,9 +5353,9 @@ var CardSimulationHistory = (0, import_react14.forwardRef)(({ data, onSimulation
5228
5353
  transition-shadow duration-200 h-auto min-h-[61px]`
5229
5354
  ),
5230
5355
  onClick: () => onSimulationClick?.(simulation),
5231
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex justify-between items-center w-full gap-2", children: [
5232
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
5233
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5356
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex justify-between items-center w-full gap-2", children: [
5357
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex flex-wrap flex-col justify-between sm:flex-row gap-2 flex-1 min-w-0", children: [
5358
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5234
5359
  Text_default,
5235
5360
  {
5236
5361
  size: "lg",
@@ -5239,8 +5364,8 @@ var CardSimulationHistory = (0, import_react14.forwardRef)(({ data, onSimulation
5239
5364
  children: simulation.title
5240
5365
  }
5241
5366
  ),
5242
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex items-center gap-2", children: [
5243
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5367
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex items-center gap-2", children: [
5368
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5244
5369
  Badge_default,
5245
5370
  {
5246
5371
  variant: "examsOutlined",
@@ -5249,10 +5374,10 @@ var CardSimulationHistory = (0, import_react14.forwardRef)(({ data, onSimulation
5249
5374
  children: typeStyles.text
5250
5375
  }
5251
5376
  ),
5252
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
5377
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Text_default, { size: "sm", className: "text-text-800 truncate", children: simulation.info })
5253
5378
  ] })
5254
5379
  ] }),
5255
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5380
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5256
5381
  import_phosphor_react12.CaretRight,
5257
5382
  {
5258
5383
  size: 24,
@@ -5268,7 +5393,7 @@ var CardSimulationHistory = (0, import_react14.forwardRef)(({ data, onSimulation
5268
5393
  ]
5269
5394
  }
5270
5395
  ) }, section.date)),
5271
- data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
5396
+ data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "w-full h-6 bg-white rounded-b-3xl" })
5272
5397
  ] })
5273
5398
  }
5274
5399
  );
@@ -5276,7 +5401,7 @@ var CardSimulationHistory = (0, import_react14.forwardRef)(({ data, onSimulation
5276
5401
 
5277
5402
  // src/components/Accordation/Accordation.tsx
5278
5403
  var import_phosphor_react13 = require("phosphor-react");
5279
- var import_jsx_runtime27 = require("react/jsx-runtime");
5404
+ var import_jsx_runtime28 = require("react/jsx-runtime");
5280
5405
  var CardAccordation = (0, import_react15.forwardRef)(
5281
5406
  ({
5282
5407
  trigger,
@@ -5299,7 +5424,7 @@ var CardAccordation = (0, import_react15.forwardRef)(
5299
5424
  handleToggle();
5300
5425
  }
5301
5426
  };
5302
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
5427
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
5303
5428
  CardBase,
5304
5429
  {
5305
5430
  ref,
@@ -5309,7 +5434,7 @@ var CardAccordation = (0, import_react15.forwardRef)(
5309
5434
  className: cn("overflow-hidden", className),
5310
5435
  ...props,
5311
5436
  children: [
5312
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
5437
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
5313
5438
  "button",
5314
5439
  {
5315
5440
  onClick: handleToggle,
@@ -5319,7 +5444,7 @@ var CardAccordation = (0, import_react15.forwardRef)(
5319
5444
  "aria-controls": "accordion-content",
5320
5445
  children: [
5321
5446
  trigger,
5322
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5447
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5323
5448
  import_phosphor_react13.CaretRight,
5324
5449
  {
5325
5450
  size: 20,
@@ -5333,7 +5458,7 @@ var CardAccordation = (0, import_react15.forwardRef)(
5333
5458
  ]
5334
5459
  }
5335
5460
  ),
5336
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5461
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5337
5462
  "div",
5338
5463
  {
5339
5464
  id: contentId,
@@ -5342,7 +5467,7 @@ var CardAccordation = (0, import_react15.forwardRef)(
5342
5467
  isExpanded ? "max-h-screen opacity-100" : "max-h-0 opacity-0"
5343
5468
  ),
5344
5469
  "data-testid": "accordion-content",
5345
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "p-4 pt-0 border-border-50", children })
5470
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "p-4 pt-0 border-border-50", children })
5346
5471
  }
5347
5472
  )
5348
5473
  ]
@@ -5354,7 +5479,7 @@ var CardAccordation = (0, import_react15.forwardRef)(
5354
5479
  // src/components/Alternative/Alternative.tsx
5355
5480
  var import_phosphor_react14 = require("phosphor-react");
5356
5481
  var import_react16 = require("react");
5357
- var import_jsx_runtime28 = require("react/jsx-runtime");
5482
+ var import_jsx_runtime29 = require("react/jsx-runtime");
5358
5483
  var AlternativesList = ({
5359
5484
  alternatives,
5360
5485
  name,
@@ -5385,9 +5510,9 @@ var AlternativesList = ({
5385
5510
  const getStatusBadge2 = (status) => {
5386
5511
  switch (status) {
5387
5512
  case "correct":
5388
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_phosphor_react14.CheckCircle, {}), children: "Resposta correta" });
5513
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_phosphor_react14.CheckCircle, {}), children: "Resposta correta" });
5389
5514
  case "incorrect":
5390
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_phosphor_react14.XCircle, {}), children: "Resposta incorreta" });
5515
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_phosphor_react14.XCircle, {}), children: "Resposta incorreta" });
5391
5516
  default:
5392
5517
  return null;
5393
5518
  }
@@ -5417,10 +5542,10 @@ var AlternativesList = ({
5417
5542
  const renderRadio = () => {
5418
5543
  const radioClasses = `w-6 h-6 rounded-full border-2 cursor-default transition-all duration-200 flex items-center justify-center ${isUserSelected ? "border-primary-950 bg-background" : "border-border-400 bg-background"}`;
5419
5544
  const dotClasses = "w-3 h-3 rounded-full bg-primary-950 transition-all duration-200";
5420
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: radioClasses, children: isUserSelected && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: dotClasses }) });
5545
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: radioClasses, children: isUserSelected && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: dotClasses }) });
5421
5546
  };
5422
5547
  if (layout === "detailed") {
5423
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5548
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5424
5549
  "div",
5425
5550
  {
5426
5551
  className: cn(
@@ -5428,11 +5553,11 @@ var AlternativesList = ({
5428
5553
  statusStyles,
5429
5554
  alternative.disabled ? "opacity-50" : ""
5430
5555
  ),
5431
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5432
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-start gap-3 flex-1", children: [
5433
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "mt-1", children: renderRadio() }),
5434
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex-1", children: [
5435
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5556
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5557
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex items-start gap-3 flex-1", children: [
5558
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "mt-1", children: renderRadio() }),
5559
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex-1", children: [
5560
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5436
5561
  "p",
5437
5562
  {
5438
5563
  className: cn(
@@ -5442,16 +5567,16 @@ var AlternativesList = ({
5442
5567
  children: alternative.label
5443
5568
  }
5444
5569
  ),
5445
- alternative.description && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-sm text-text-600 mt-1", children: alternative.description })
5570
+ alternative.description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "text-sm text-text-600 mt-1", children: alternative.description })
5446
5571
  ] })
5447
5572
  ] }),
5448
- statusBadge && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5573
+ statusBadge && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5449
5574
  ] })
5450
5575
  },
5451
5576
  alternativeId
5452
5577
  );
5453
5578
  }
5454
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
5579
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
5455
5580
  "div",
5456
5581
  {
5457
5582
  className: cn(
@@ -5460,9 +5585,9 @@ var AlternativesList = ({
5460
5585
  alternative.disabled ? "opacity-50" : ""
5461
5586
  ),
5462
5587
  children: [
5463
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center gap-2 flex-1", children: [
5588
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex items-center gap-2 flex-1", children: [
5464
5589
  renderRadio(),
5465
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5590
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5466
5591
  "span",
5467
5592
  {
5468
5593
  className: cn(
@@ -5473,14 +5598,14 @@ var AlternativesList = ({
5473
5598
  }
5474
5599
  )
5475
5600
  ] }),
5476
- statusBadge && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5601
+ statusBadge && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5477
5602
  ]
5478
5603
  },
5479
5604
  alternativeId
5480
5605
  );
5481
5606
  };
5482
5607
  if (isReadonly) {
5483
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5608
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5484
5609
  "div",
5485
5610
  {
5486
5611
  className: cn("flex flex-col", getLayoutClasses(), "w-full", className),
@@ -5490,7 +5615,7 @@ var AlternativesList = ({
5490
5615
  }
5491
5616
  );
5492
5617
  }
5493
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5618
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5494
5619
  RadioGroup,
5495
5620
  {
5496
5621
  name: groupName,
@@ -5507,7 +5632,7 @@ var AlternativesList = ({
5507
5632
  const statusStyles = getStatusStyles2(alternative.status, false);
5508
5633
  const statusBadge = getStatusBadge2(alternative.status);
5509
5634
  if (layout === "detailed") {
5510
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5635
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5511
5636
  "div",
5512
5637
  {
5513
5638
  className: cn(
@@ -5515,9 +5640,9 @@ var AlternativesList = ({
5515
5640
  statusStyles,
5516
5641
  alternative.disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer"
5517
5642
  ),
5518
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5519
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-start gap-3 flex-1", children: [
5520
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5643
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex items-start justify-between gap-3", children: [
5644
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex items-start gap-3 flex-1", children: [
5645
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5521
5646
  RadioGroupItem,
5522
5647
  {
5523
5648
  value: alternative.value,
@@ -5526,8 +5651,8 @@ var AlternativesList = ({
5526
5651
  className: "mt-1"
5527
5652
  }
5528
5653
  ),
5529
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex-1", children: [
5530
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5654
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex-1", children: [
5655
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5531
5656
  "label",
5532
5657
  {
5533
5658
  htmlFor: alternativeId,
@@ -5539,16 +5664,16 @@ var AlternativesList = ({
5539
5664
  children: alternative.label
5540
5665
  }
5541
5666
  ),
5542
- alternative.description && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-sm text-text-600 mt-1", children: alternative.description })
5667
+ alternative.description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "text-sm text-text-600 mt-1", children: alternative.description })
5543
5668
  ] })
5544
5669
  ] }),
5545
- statusBadge && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5670
+ statusBadge && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5546
5671
  ] })
5547
5672
  },
5548
5673
  alternativeId
5549
5674
  );
5550
5675
  }
5551
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
5676
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
5552
5677
  "div",
5553
5678
  {
5554
5679
  className: cn(
@@ -5557,8 +5682,8 @@ var AlternativesList = ({
5557
5682
  alternative.disabled ? "opacity-50 cursor-not-allowed" : ""
5558
5683
  ),
5559
5684
  children: [
5560
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center gap-2 flex-1", children: [
5561
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5685
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex items-center gap-2 flex-1", children: [
5686
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5562
5687
  RadioGroupItem,
5563
5688
  {
5564
5689
  value: alternative.value,
@@ -5566,7 +5691,7 @@ var AlternativesList = ({
5566
5691
  disabled: alternative.disabled
5567
5692
  }
5568
5693
  ),
5569
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5694
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5570
5695
  "label",
5571
5696
  {
5572
5697
  htmlFor: alternativeId,
@@ -5579,7 +5704,7 @@ var AlternativesList = ({
5579
5704
  }
5580
5705
  )
5581
5706
  ] }),
5582
- statusBadge && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5707
+ statusBadge && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5583
5708
  ]
5584
5709
  },
5585
5710
  alternativeId
@@ -5590,7 +5715,7 @@ var AlternativesList = ({
5590
5715
  };
5591
5716
  var HeaderAlternative = (0, import_react16.forwardRef)(
5592
5717
  ({ className, title, subTitle, content, ...props }, ref) => {
5593
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
5718
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
5594
5719
  "div",
5595
5720
  {
5596
5721
  ref,
@@ -5600,11 +5725,11 @@ var HeaderAlternative = (0, import_react16.forwardRef)(
5600
5725
  ),
5601
5726
  ...props,
5602
5727
  children: [
5603
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "flex flex-col", children: [
5604
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-text-950 font-bold text-lg", children: title }),
5605
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-text-700 text-sm ", children: subTitle })
5728
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("span", { className: "flex flex-col", children: [
5729
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "text-text-950 font-bold text-lg", children: title }),
5730
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "text-text-700 text-sm ", children: subTitle })
5606
5731
  ] }),
5607
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "text-text-950 text-md", children: content })
5732
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "text-text-950 text-md", children: content })
5608
5733
  ]
5609
5734
  }
5610
5735
  );
@@ -5613,7 +5738,7 @@ var HeaderAlternative = (0, import_react16.forwardRef)(
5613
5738
 
5614
5739
  // src/components/AlertDialog/AlertDialog.tsx
5615
5740
  var import_react17 = require("react");
5616
- var import_jsx_runtime29 = require("react/jsx-runtime");
5741
+ var import_jsx_runtime30 = require("react/jsx-runtime");
5617
5742
  var SIZE_CLASSES11 = {
5618
5743
  "extra-small": "w-screen max-w-[324px]",
5619
5744
  small: "w-screen max-w-[378px]",
@@ -5678,14 +5803,14 @@ var AlertDialog = (0, import_react17.forwardRef)(
5678
5803
  onCancel?.(cancelValue);
5679
5804
  };
5680
5805
  const sizeClasses = SIZE_CLASSES11[size];
5681
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, { children: isOpen && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5806
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, { children: isOpen && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5682
5807
  "div",
5683
5808
  {
5684
5809
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm",
5685
5810
  onClick: handleBackdropClick,
5686
5811
  onKeyDown: handleBackdropKeyDown,
5687
5812
  "data-testid": "alert-dialog-overlay",
5688
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
5813
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
5689
5814
  "div",
5690
5815
  {
5691
5816
  ref,
@@ -5696,7 +5821,7 @@ var AlertDialog = (0, import_react17.forwardRef)(
5696
5821
  ),
5697
5822
  ...props,
5698
5823
  children: [
5699
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5824
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5700
5825
  "h2",
5701
5826
  {
5702
5827
  id: "alert-dialog-title",
@@ -5704,7 +5829,7 @@ var AlertDialog = (0, import_react17.forwardRef)(
5704
5829
  children: title
5705
5830
  }
5706
5831
  ),
5707
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5832
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5708
5833
  "p",
5709
5834
  {
5710
5835
  id: "alert-dialog-description",
@@ -5712,9 +5837,9 @@ var AlertDialog = (0, import_react17.forwardRef)(
5712
5837
  children: description
5713
5838
  }
5714
5839
  ),
5715
- /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex flex-row items-center justify-end pt-4 gap-3", children: [
5716
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Button_default, { variant: "outline", size: "small", onClick: handleCancel, children: cancelButtonLabel }),
5717
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5840
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-row items-center justify-end pt-4 gap-3", children: [
5841
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button_default, { variant: "outline", size: "small", onClick: handleCancel, children: cancelButtonLabel }),
5842
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5718
5843
  Button_default,
5719
5844
  {
5720
5845
  variant: "solid",
@@ -5737,7 +5862,7 @@ AlertDialog.displayName = "AlertDialog";
5737
5862
  // src/components/MultipleChoice/MultipleChoice.tsx
5738
5863
  var import_react18 = require("react");
5739
5864
  var import_phosphor_react15 = require("phosphor-react");
5740
- var import_jsx_runtime30 = require("react/jsx-runtime");
5865
+ var import_jsx_runtime31 = require("react/jsx-runtime");
5741
5866
  var MultipleChoiceList = ({
5742
5867
  disabled = false,
5743
5868
  className = "",
@@ -5754,9 +5879,9 @@ var MultipleChoiceList = ({
5754
5879
  const getStatusBadge2 = (status) => {
5755
5880
  switch (status) {
5756
5881
  case "correct":
5757
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_phosphor_react15.CheckCircle, {}), children: "Resposta correta" });
5882
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Badge_default, { variant: "solid", action: "success", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_phosphor_react15.CheckCircle, {}), children: "Resposta correta" });
5758
5883
  case "incorrect":
5759
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_phosphor_react15.XCircle, {}), children: "Resposta incorreta" });
5884
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Badge_default, { variant: "solid", action: "error", iconLeft: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_phosphor_react15.XCircle, {}), children: "Resposta incorreta" });
5760
5885
  default:
5761
5886
  return null;
5762
5887
  }
@@ -5777,14 +5902,14 @@ var MultipleChoiceList = ({
5777
5902
  isSelected ? "border-primary-950 bg-primary-950 text-text" : "border-border-400 bg-background",
5778
5903
  isDisabled && "opacity-40 cursor-not-allowed"
5779
5904
  );
5780
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: checkboxClasses, children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_phosphor_react15.Check, { size: 16, weight: "bold" }) });
5905
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: checkboxClasses, children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_phosphor_react15.Check, { size: 16, weight: "bold" }) });
5781
5906
  };
5782
5907
  if (mode === "readonly") {
5783
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: cn("flex flex-col gap-2", className), children: choices.map((choice, i) => {
5908
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: cn("flex flex-col gap-2", className), children: choices.map((choice, i) => {
5784
5909
  const isSelected = actualValue?.includes(choice.value) || false;
5785
5910
  const statusStyles = getStatusStyles2(choice.status);
5786
5911
  const statusBadge = getStatusBadge2(choice.status);
5787
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
5912
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
5788
5913
  "div",
5789
5914
  {
5790
5915
  className: cn(
@@ -5793,9 +5918,9 @@ var MultipleChoiceList = ({
5793
5918
  choice.disabled ? "opacity-50 cursor-not-allowed" : ""
5794
5919
  ),
5795
5920
  children: [
5796
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-2 flex-1", children: [
5921
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex items-center gap-2 flex-1", children: [
5797
5922
  renderVisualCheckbox(isSelected, choice.disabled || disabled),
5798
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5923
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5799
5924
  "span",
5800
5925
  {
5801
5926
  className: cn(
@@ -5807,14 +5932,14 @@ var MultipleChoiceList = ({
5807
5932
  }
5808
5933
  )
5809
5934
  ] }),
5810
- statusBadge && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5935
+ statusBadge && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "flex-shrink-0", children: statusBadge })
5811
5936
  ]
5812
5937
  },
5813
5938
  `readonly-${choice.value}-${i}`
5814
5939
  );
5815
5940
  }) });
5816
5941
  }
5817
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5942
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5818
5943
  "div",
5819
5944
  {
5820
5945
  className: cn(
@@ -5822,7 +5947,7 @@ var MultipleChoiceList = ({
5822
5947
  disabled ? "opacity-50 cursor-not-allowed" : "",
5823
5948
  className
5824
5949
  ),
5825
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5950
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5826
5951
  CheckboxList_default,
5827
5952
  {
5828
5953
  name,
@@ -5832,12 +5957,12 @@ var MultipleChoiceList = ({
5832
5957
  onHandleSelectedValues?.(v);
5833
5958
  },
5834
5959
  disabled,
5835
- children: choices.map((choice, i) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
5960
+ children: choices.map((choice, i) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
5836
5961
  "div",
5837
5962
  {
5838
5963
  className: "flex flex-row gap-2 items-center",
5839
5964
  children: [
5840
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5965
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5841
5966
  CheckboxListItem,
5842
5967
  {
5843
5968
  value: choice.value,
@@ -5845,7 +5970,7 @@ var MultipleChoiceList = ({
5845
5970
  disabled: choice.disabled || disabled
5846
5971
  }
5847
5972
  ),
5848
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
5973
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5849
5974
  "label",
5850
5975
  {
5851
5976
  htmlFor: `interactive-${choice.value}-${i}`,
@@ -5867,129 +5992,6 @@ var MultipleChoiceList = ({
5867
5992
  );
5868
5993
  };
5869
5994
 
5870
- // src/components/IconRender/IconRender.tsx
5871
- var PhosphorIcons = __toESM(require("phosphor-react"));
5872
- var import_jsx_runtime31 = require("react/jsx-runtime");
5873
- var ChatPT = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
5874
- "svg",
5875
- {
5876
- width: size,
5877
- height: size,
5878
- viewBox: "0 0 32 32",
5879
- fill: "none",
5880
- xmlns: "http://www.w3.org/2000/svg",
5881
- children: [
5882
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5883
- "path",
5884
- {
5885
- 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",
5886
- fill: color
5887
- }
5888
- ),
5889
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5890
- "path",
5891
- {
5892
- d: "M21.1758 12V20.5312H19.7168V12H21.1758ZM23.8535 12V13.1719H17.0625V12H23.8535Z",
5893
- fill: color
5894
- }
5895
- ),
5896
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5897
- "path",
5898
- {
5899
- 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",
5900
- fill: color
5901
- }
5902
- )
5903
- ]
5904
- }
5905
- );
5906
- var ChatEN = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
5907
- "svg",
5908
- {
5909
- width: size,
5910
- height: size,
5911
- viewBox: "0 0 32 32",
5912
- fill: "none",
5913
- xmlns: "http://www.w3.org/2000/svg",
5914
- children: [
5915
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5916
- "path",
5917
- {
5918
- 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",
5919
- fill: color
5920
- }
5921
- ),
5922
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5923
- "path",
5924
- {
5925
- d: "M22.5488 12V20.5312H21.0781L17.252 14.4199V20.5312H15.7812V12H17.252L21.0898 18.123V12H22.5488Z",
5926
- fill: color
5927
- }
5928
- ),
5929
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5930
- "path",
5931
- {
5932
- 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",
5933
- fill: color
5934
- }
5935
- )
5936
- ]
5937
- }
5938
- );
5939
- var ChatES = ({ size, color }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
5940
- "svg",
5941
- {
5942
- width: size,
5943
- height: size,
5944
- viewBox: "0 0 32 32",
5945
- fill: "none",
5946
- xmlns: "http://www.w3.org/2000/svg",
5947
- children: [
5948
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5949
- "path",
5950
- {
5951
- 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",
5952
- fill: color
5953
- }
5954
- ),
5955
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5956
- "path",
5957
- {
5958
- 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",
5959
- fill: color
5960
- }
5961
- ),
5962
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5963
- "path",
5964
- {
5965
- 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",
5966
- fill: color
5967
- }
5968
- )
5969
- ]
5970
- }
5971
- );
5972
- var IconRender = ({
5973
- iconName,
5974
- color = "#000000",
5975
- size = 24,
5976
- weight = "regular"
5977
- }) => {
5978
- switch (iconName) {
5979
- case "Chat_PT":
5980
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ChatPT, { size, color });
5981
- case "Chat_EN":
5982
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ChatEN, { size, color });
5983
- case "Chat_ES":
5984
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ChatES, { size, color });
5985
- default: {
5986
- const IconComponent = PhosphorIcons[iconName] || PhosphorIcons.Question;
5987
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(IconComponent, { size, color, weight });
5988
- }
5989
- }
5990
- };
5991
- var IconRender_default = IconRender;
5992
-
5993
5995
  // src/hooks/useMobile.ts
5994
5996
  var import_react19 = require("react");
5995
5997
  var MOBILE_WIDTH = 500;
@@ -6355,12 +6357,10 @@ var SelectItem = (0, import_react20.forwardRef)(
6355
6357
  const handleClick = (e) => {
6356
6358
  const labelNode = getLabelAsNode(children);
6357
6359
  if (!disabled) {
6358
- const newValue = selectedValue === value ? "" : value;
6359
- const newLabel = selectedValue === value ? "" : labelNode;
6360
- setValue(newValue);
6361
- setSelectedLabel(newLabel);
6360
+ setValue(value);
6361
+ setSelectedLabel(labelNode);
6362
6362
  setOpen(false);
6363
- onValueChange?.(newValue);
6363
+ onValueChange?.(value);
6364
6364
  }
6365
6365
  props.onClick?.(e);
6366
6366
  };
@@ -9827,8 +9827,24 @@ var QuizFooter = (0, import_react28.forwardRef)(
9827
9827
  ] });
9828
9828
  }
9829
9829
  );
9830
+ var QuizBadge = ({ subtype }) => {
9831
+ switch (subtype) {
9832
+ case "PROVA":
9833
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Prova" });
9834
+ case "ENEM":
9835
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Enem" });
9836
+ case "VESTIBULAR":
9837
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Vestibular" });
9838
+ case "SIMULADO":
9839
+ case null:
9840
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: "Simulado" });
9841
+ default:
9842
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Badge_default, { variant: "solid", action: "info", "data-testid": "quiz-badge", children: subtype });
9843
+ }
9844
+ };
9830
9845
  var QuizResultHeaderTitle = (0, import_react28.forwardRef)(({ className, ...props }, ref) => {
9831
- const { bySimulated } = useQuizStore();
9846
+ const { getActiveQuiz } = useQuizStore();
9847
+ const activeQuiz = getActiveQuiz();
9832
9848
  return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
9833
9849
  "div",
9834
9850
  {
@@ -9837,7 +9853,7 @@ var QuizResultHeaderTitle = (0, import_react28.forwardRef)(({ className, ...prop
9837
9853
  ...props,
9838
9854
  children: [
9839
9855
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "text-text-950 font-bold text-2xl", children: "Resultado" }),
9840
- bySimulated && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Badge_default, { variant: "solid", action: "info", children: bySimulated.type })
9856
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(QuizBadge, { subtype: activeQuiz?.quiz.subtype || null })
9841
9857
  ]
9842
9858
  }
9843
9859
  );
@@ -9996,7 +10012,9 @@ var QuizListResult = (0, import_react28.forwardRef)(({ className, onSubjectClick
9996
10012
  return {
9997
10013
  subject: {
9998
10014
  name: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.name ?? "Sem mat\xE9ria",
9999
- id: subjectId
10015
+ id: subjectId,
10016
+ color: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.color ?? "",
10017
+ icon: questions?.[0]?.knowledgeMatrix?.[0]?.subject?.icon ?? ""
10000
10018
  },
10001
10019
  correct,
10002
10020
  incorrect,
@@ -10014,7 +10032,8 @@ var QuizListResult = (0, import_react28.forwardRef)(({ className, onSubjectClick
10014
10032
  header: subject.subject.name,
10015
10033
  correct_answers: subject.correct,
10016
10034
  incorrect_answers: subject.incorrect,
10017
- icon: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_phosphor_react20.Book, { size: 20 }),
10035
+ icon: subject.subject.icon || "Book",
10036
+ color: subject.subject.color || void 0,
10018
10037
  direction: "row"
10019
10038
  }
10020
10039
  ) }, subject.subject.id)) })