catchup-library-web 2.1.6 → 2.2.0

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
@@ -71,7 +71,6 @@ __export(index_exports, {
71
71
  ActivityEmptyContent: () => ActivityEmptyContent_default,
72
72
  ActivityEvaluationRubricContent: () => ActivityEvaluationRubricContent_default,
73
73
  ActivityLabel: () => ActivityLabel_default,
74
- ActivityPreviewByAnswerData: () => ActivityPreviewByAnswerData_default,
75
74
  ActivityPreviewByData: () => ActivityPreviewByData_default,
76
75
  ActivitySolutionContent: () => ActivitySolutionContent_default,
77
76
  ActivityTemplateLabel: () => ActivityTemplateLabel_default,
@@ -7204,224 +7203,6 @@ var SelectionBox_default = SelectionBox;
7204
7203
 
7205
7204
  // src/components/activities/ActivityPreviewByData.tsx
7206
7205
  var import_jsx_runtime47 = require("react/jsx-runtime");
7207
- var ActivityPreviewByData = ({
7208
- data,
7209
- showType,
7210
- showDescription,
7211
- lockedType,
7212
- typeOptionList,
7213
- showSolution,
7214
- showEvaluationRubric,
7215
- showDifficulty,
7216
- isFullScreen
7217
- }) => {
7218
- const [key, setKey] = (0, import_react25.useState)((/* @__PURE__ */ new Date()).getTime());
7219
- const [selectedType, setSelectedType] = (0, import_react25.useState)(null);
7220
- const [optionList, setOptionList] = (0, import_react25.useState)([]);
7221
- (0, import_react25.useEffect)(() => {
7222
- if (!data) return;
7223
- setKey((/* @__PURE__ */ new Date()).getTime());
7224
- }, [data]);
7225
- (0, import_react25.useEffect)(() => {
7226
- if (!typeOptionList) return;
7227
- if (typeOptionList.length === 0) return;
7228
- let foundTypeOption;
7229
- if (lockedType) {
7230
- foundTypeOption = typeOptionList.find(
7231
- (typeOption) => typeOption.id === lockedType
7232
- );
7233
- }
7234
- if (foundTypeOption) {
7235
- setSelectedType(foundTypeOption.id);
7236
- } else {
7237
- setSelectedType(typeOptionList[0].id);
7238
- }
7239
- }, [typeOptionList, lockedType]);
7240
- (0, import_react25.useEffect)(() => {
7241
- if (!data) return;
7242
- if (!typeOptionList) return;
7243
- if (typeOptionList.length === 0) return;
7244
- let currentTypeOptionList = JSON.parse(JSON.stringify(typeOptionList));
7245
- if (lockedType) {
7246
- currentTypeOptionList = currentTypeOptionList.filter(
7247
- (typeOption) => typeOption.id === lockedType
7248
- );
7249
- }
7250
- if (showDifficulty) {
7251
- setOptionList(
7252
- currentTypeOptionList.map((typeOption) => __spreadProps(__spreadValues({}, typeOption), {
7253
- subText: i18n_default.t(
7254
- retrieveDifficultyByActivityTypeFromData(typeOption.id, data)
7255
- )
7256
- }))
7257
- );
7258
- } else {
7259
- setOptionList(currentTypeOptionList);
7260
- }
7261
- }, [data, lockedType, typeOptionList, showDifficulty]);
7262
- if (!data) return;
7263
- if (!selectedType) return;
7264
- let answerMap = constructAnswerBasedOnData(selectedType, data);
7265
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { children: [
7266
- showType ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7267
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "mb-4", children: [
7268
- showDescription ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7269
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7270
- SelectionBox_default,
7271
- {
7272
- optionList,
7273
- selectedId: selectedType,
7274
- handleSelectOnClick: (itemId) => {
7275
- setSelectedType(itemId);
7276
- }
7277
- }
7278
- )
7279
- ] }),
7280
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DividerLine_default, {})
7281
- ] }) : null,
7282
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "", children: selectedType === "ORDERING" && data["orderingBodyMap"] != null && data["orderingMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7283
- OrderingActivityContent_default,
7284
- {
7285
- answerMap,
7286
- changeAnswer: () => {
7287
- },
7288
- canAnswerQuestion: () => {
7289
- return true;
7290
- },
7291
- data,
7292
- isPreview: true,
7293
- showCorrectAnswer: true
7294
- }
7295
- ) : selectedType === "DROPDOWN" && data["dropdownBodyMap"] != null && data["dropdownMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7296
- DropdownActivityContent_default,
7297
- {
7298
- answerMap,
7299
- changeAnswer: () => {
7300
- },
7301
- canAnswerQuestion: () => {
7302
- return true;
7303
- },
7304
- data,
7305
- isPreview: true,
7306
- showCorrectAnswer: true,
7307
- isFullScreen
7308
- }
7309
- ) : selectedType === "MCSA" && data["MCSABodyMap"] != null && data["MCSAMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7310
- MCSAActivityContent_default,
7311
- {
7312
- answerMap,
7313
- changeAnswer: () => {
7314
- },
7315
- canAnswerQuestion: () => {
7316
- return true;
7317
- },
7318
- data,
7319
- isPreview: true,
7320
- showCorrectAnswer: true,
7321
- isFullScreen
7322
- }
7323
- ) : selectedType === "MCMA" && data["MCMABodyMap"] != null && data["MCMAMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7324
- MCMAActivityContent_default,
7325
- {
7326
- answerMap,
7327
- changeAnswer: () => {
7328
- },
7329
- canAnswerQuestion: () => {
7330
- return true;
7331
- },
7332
- data,
7333
- isPreview: true,
7334
- showCorrectAnswer: true,
7335
- isFullScreen
7336
- }
7337
- ) : selectedType === "MATCHING" && data["matchingBodyMap"] != null && data["matchingMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7338
- MatchingActivityContent_default,
7339
- {
7340
- answerMap,
7341
- changeAnswer: () => {
7342
- },
7343
- canAnswerQuestion: () => {
7344
- return true;
7345
- },
7346
- data,
7347
- isPreview: true,
7348
- showCorrectAnswer: true
7349
- }
7350
- ) : selectedType === "GROUPING" && data["groupingBodyMap"] != null && data["groupingMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7351
- GroupingActivityContent_default,
7352
- {
7353
- answerMap,
7354
- changeAnswer: () => {
7355
- },
7356
- canAnswerQuestion: () => {
7357
- return true;
7358
- },
7359
- data,
7360
- isPreview: true,
7361
- showCorrectAnswer: true
7362
- }
7363
- ) : selectedType === "FILL_IN_THE_BLANKS" && data["fillInTheBlanksBodyMap"] != null && data["fillInTheBlanksMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7364
- FillInTheBlanksActivityContent_default,
7365
- {
7366
- answerMap,
7367
- changeAnswer: () => {
7368
- },
7369
- canAnswerQuestion: () => {
7370
- return true;
7371
- },
7372
- data,
7373
- isPreview: true,
7374
- showCorrectAnswer: true,
7375
- isFullScreen
7376
- }
7377
- ) : selectedType === "OPEN_ENDED" && data["openEndedBodyMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7378
- OpenEndedActivityContent_default,
7379
- {
7380
- answerMap,
7381
- canAnswerQuestion: () => false,
7382
- changeAnswer: () => {
7383
- },
7384
- showMaterialContent: true,
7385
- data,
7386
- isPreview: true,
7387
- isFullScreen
7388
- }
7389
- ) : selectedType === "TRUE_FALSE" && data["trueFalseBodyMap"] != null && data["trueFalseMaterialMap"] != null ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7390
- TrueFalseActivityContent_default,
7391
- {
7392
- answerMap,
7393
- changeAnswer: () => {
7394
- },
7395
- canAnswerQuestion: () => {
7396
- return true;
7397
- },
7398
- data,
7399
- isPreview: true,
7400
- showCorrectAnswer: true,
7401
- isFullScreen
7402
- }
7403
- ) : null }, selectedType),
7404
- showSolution ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7405
- ActivitySolutionContent_default,
7406
- {
7407
- activityTemplateType: selectedType,
7408
- data
7409
- }
7410
- ) }) : null,
7411
- showEvaluationRubric ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7412
- ActivityEvaluationRubricContent_default,
7413
- {
7414
- activityTemplateType: selectedType,
7415
- data
7416
- }
7417
- ) }) : null
7418
- ] }, key);
7419
- };
7420
- var ActivityPreviewByData_default = ActivityPreviewByData;
7421
-
7422
- // src/components/activities/ActivityPreviewByAnswerData.tsx
7423
- var import_react26 = require("react");
7424
- var import_jsx_runtime48 = require("react/jsx-runtime");
7425
7206
  var ACTIVITY_TEMPLATE_LIST = [
7426
7207
  { type: "ORDERING", materialMap: "orderingMaterialMap" },
7427
7208
  { type: "DROPDOWN", materialMap: "dropdownMaterialMap" },
@@ -7436,7 +7217,7 @@ var ACTIVITY_TEMPLATE_LIST = [
7436
7217
  { type: "OPEN_ENDED", materialMap: "openEndedMaterialMap" },
7437
7218
  { type: "TRUE_FALSE", materialMap: "trueFalseMaterialMap" }
7438
7219
  ];
7439
- var ActivityPreviewByAnswerData = ({
7220
+ var ActivityPreviewByData = ({
7440
7221
  data,
7441
7222
  answerType = null,
7442
7223
  showType = true,
@@ -7448,11 +7229,11 @@ var ActivityPreviewByAnswerData = ({
7448
7229
  isFullScreen = false,
7449
7230
  showCorrectAnswer = false
7450
7231
  }) => {
7451
- const [selectedType, setSelectedType] = (0, import_react26.useState)(null);
7452
- const [optionList, setOptionList] = (0, import_react26.useState)([]);
7453
- const [answerMapMap, setAnswerMapMap] = (0, import_react26.useState)({});
7454
- const [activityTemplateTypeList, setActivityTemplateTypeList] = (0, import_react26.useState)([]);
7455
- (0, import_react26.useEffect)(() => {
7232
+ const [selectedType, setSelectedType] = (0, import_react25.useState)(null);
7233
+ const [optionList, setOptionList] = (0, import_react25.useState)([]);
7234
+ const [answerMapMap, setAnswerMapMap] = (0, import_react25.useState)({});
7235
+ const [activityTemplateTypeList, setActivityTemplateTypeList] = (0, import_react25.useState)([]);
7236
+ (0, import_react25.useEffect)(() => {
7456
7237
  if (!data) return;
7457
7238
  let currentActivityTemplateMapList = JSON.parse(
7458
7239
  JSON.stringify(ACTIVITY_TEMPLATE_LIST)
@@ -7470,7 +7251,7 @@ var ActivityPreviewByAnswerData = ({
7470
7251
  }
7471
7252
  setActivityTemplateTypeList(currentActivityTemplateMapList);
7472
7253
  }, [data, answerType, typeList]);
7473
- (0, import_react26.useEffect)(() => {
7254
+ (0, import_react25.useEffect)(() => {
7474
7255
  if (activityTemplateTypeList.length === 0) return;
7475
7256
  const currentOptionList = [];
7476
7257
  for (const activityTemplateType of activityTemplateTypeList) {
@@ -7490,11 +7271,11 @@ var ActivityPreviewByAnswerData = ({
7490
7271
  }
7491
7272
  setOptionList(currentOptionList);
7492
7273
  }, [activityTemplateTypeList, showDifficulty]);
7493
- (0, import_react26.useEffect)(() => {
7274
+ (0, import_react25.useEffect)(() => {
7494
7275
  if (optionList.length === 0) return;
7495
7276
  setSelectedType(optionList[0].id);
7496
7277
  }, [optionList]);
7497
- (0, import_react26.useEffect)(() => {
7278
+ (0, import_react25.useEffect)(() => {
7498
7279
  if (activityTemplateTypeList.length === 0) return;
7499
7280
  const currentAnswerMapMap = {};
7500
7281
  for (const activityTemplateMap of activityTemplateTypeList) {
@@ -7524,44 +7305,44 @@ var ActivityPreviewByAnswerData = ({
7524
7305
  const isEmpty = answerMapMap[selectedType].isEmpty;
7525
7306
  switch (selectedType) {
7526
7307
  case "ORDERING":
7527
- return data.orderingBodyMap && data.orderingMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7528
- isEmpty && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActivityEmptyContent_default, {}),
7529
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(OrderingActivityContent_default, __spreadValues({}, commonProps))
7308
+ return data.orderingBodyMap && data.orderingMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7309
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ActivityEmptyContent_default, {}),
7310
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(OrderingActivityContent_default, __spreadValues({}, commonProps))
7530
7311
  ] }) : null;
7531
7312
  case "DROPDOWN":
7532
- return data.dropdownBodyMap && data.dropdownMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7533
- isEmpty && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActivityEmptyContent_default, {}),
7534
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DropdownActivityContent_default, __spreadValues({}, commonProps))
7313
+ return data.dropdownBodyMap && data.dropdownMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7314
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ActivityEmptyContent_default, {}),
7315
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DropdownActivityContent_default, __spreadValues({}, commonProps))
7535
7316
  ] }) : null;
7536
7317
  case "MCSA":
7537
- return data.MCSABodyMap && data.MCSAMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7538
- isEmpty && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActivityEmptyContent_default, {}),
7539
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MCSAActivityContent_default, __spreadValues({}, commonProps))
7318
+ return data.MCSABodyMap && data.MCSAMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7319
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ActivityEmptyContent_default, {}),
7320
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(MCSAActivityContent_default, __spreadValues({}, commonProps))
7540
7321
  ] }) : null;
7541
7322
  case "MCMA":
7542
- return data.MCMABodyMap && data.MCMAMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7543
- isEmpty && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActivityEmptyContent_default, {}),
7544
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MCMAActivityContent_default, __spreadValues({}, commonProps))
7323
+ return data.MCMABodyMap && data.MCMAMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7324
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ActivityEmptyContent_default, {}),
7325
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(MCMAActivityContent_default, __spreadValues({}, commonProps))
7545
7326
  ] }) : null;
7546
7327
  case "MATCHING":
7547
- return data.matchingBodyMap && data.matchingMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7548
- isEmpty && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActivityEmptyContent_default, {}),
7549
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(MatchingActivityContent_default, __spreadValues({}, commonProps))
7328
+ return data.matchingBodyMap && data.matchingMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7329
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ActivityEmptyContent_default, {}),
7330
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(MatchingActivityContent_default, __spreadValues({}, commonProps))
7550
7331
  ] }) : null;
7551
7332
  case "GROUPING":
7552
- return data.groupingBodyMap && data.groupingMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7553
- isEmpty && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActivityEmptyContent_default, {}),
7554
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(GroupingActivityContent_default, __spreadValues({}, commonProps))
7333
+ return data.groupingBodyMap && data.groupingMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7334
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ActivityEmptyContent_default, {}),
7335
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(GroupingActivityContent_default, __spreadValues({}, commonProps))
7555
7336
  ] }) : null;
7556
7337
  case "FILL_IN_THE_BLANKS":
7557
- return data.fillInTheBlanksBodyMap && data.fillInTheBlanksMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7558
- isEmpty && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActivityEmptyContent_default, {}),
7559
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(FillInTheBlanksActivityContent_default, __spreadValues({}, commonProps))
7338
+ return data.fillInTheBlanksBodyMap && data.fillInTheBlanksMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7339
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ActivityEmptyContent_default, {}),
7340
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(FillInTheBlanksActivityContent_default, __spreadValues({}, commonProps))
7560
7341
  ] }) : null;
7561
7342
  case "OPEN_ENDED":
7562
- return data.openEndedBodyMap ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7563
- isEmpty && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActivityEmptyContent_default, {}),
7564
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7343
+ return data.openEndedBodyMap ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7344
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ActivityEmptyContent_default, {}),
7345
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7565
7346
  OpenEndedActivityContent_default,
7566
7347
  __spreadProps(__spreadValues({}, commonProps), {
7567
7348
  showMaterialContent: true
@@ -7569,20 +7350,20 @@ var ActivityPreviewByAnswerData = ({
7569
7350
  )
7570
7351
  ] }) : null;
7571
7352
  case "TRUE_FALSE":
7572
- return data.trueFalseBodyMap && data.trueFalseMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7573
- isEmpty && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ActivityEmptyContent_default, {}),
7574
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TrueFalseActivityContent_default, __spreadValues({}, commonProps))
7353
+ return data.trueFalseBodyMap && data.trueFalseMaterialMap ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7354
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ActivityEmptyContent_default, {}),
7355
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TrueFalseActivityContent_default, __spreadValues({}, commonProps))
7575
7356
  ] }) : null;
7576
7357
  default:
7577
7358
  return null;
7578
7359
  }
7579
7360
  };
7580
7361
  if (!data) return null;
7581
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { children: [
7582
- showType && optionList.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7583
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "mb-4", children: [
7584
- showDescription ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7585
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7362
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { children: [
7363
+ showType && optionList.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7364
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "mb-4", children: [
7365
+ showDescription ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7366
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7586
7367
  SelectionBox_default,
7587
7368
  {
7588
7369
  optionList,
@@ -7593,17 +7374,17 @@ var ActivityPreviewByAnswerData = ({
7593
7374
  }
7594
7375
  )
7595
7376
  ] }),
7596
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DividerLine_default, {})
7377
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DividerLine_default, {})
7597
7378
  ] }) : null,
7598
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex flex-col my-2 w-full p-5", children: RenderSelectedActivityContent() }),
7599
- selectedType && showSolution ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7379
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-col my-2 w-full p-5", children: RenderSelectedActivityContent() }),
7380
+ selectedType && showSolution ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7600
7381
  ActivitySolutionContent_default,
7601
7382
  {
7602
7383
  activityTemplateType: selectedType,
7603
7384
  data
7604
7385
  }
7605
7386
  ) }) : null,
7606
- selectedType && showEvaluationRubric ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7387
+ selectedType && showEvaluationRubric ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7607
7388
  ActivityEvaluationRubricContent_default,
7608
7389
  {
7609
7390
  activityTemplateType: selectedType,
@@ -7612,20 +7393,20 @@ var ActivityPreviewByAnswerData = ({
7612
7393
  ) }) : null
7613
7394
  ] });
7614
7395
  };
7615
- var ActivityPreviewByAnswerData_default = ActivityPreviewByAnswerData;
7396
+ var ActivityPreviewByData_default = ActivityPreviewByData;
7616
7397
 
7617
7398
  // src/components/errors/StatusError.tsx
7618
- var import_jsx_runtime49 = require("react/jsx-runtime");
7399
+ var import_jsx_runtime48 = require("react/jsx-runtime");
7619
7400
  var StatusError = ({
7620
7401
  statusCode,
7621
7402
  statusText,
7622
7403
  textSize
7623
7404
  }) => {
7624
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex flex-col justify-center items-center", children: [
7625
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "text-6xl text-catchup-red my-5", children: i18n_default.t("ooops_text") }),
7626
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "text-center my-5", children: [
7627
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("p", { className: "italic", children: i18n_default.t("unexcepted_error_text") }),
7628
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("p", { className: `${textSize ? textSize : "text-lg"}`, children: [
7405
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col justify-center items-center", children: [
7406
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { className: "text-6xl text-catchup-red my-5", children: i18n_default.t("ooops_text") }),
7407
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "text-center my-5", children: [
7408
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("p", { className: "italic", children: i18n_default.t("unexcepted_error_text") }),
7409
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("p", { className: `${textSize ? textSize : "text-lg"}`, children: [
7629
7410
  "(",
7630
7411
  statusCode ? `${statusCode} - ` : null,
7631
7412
  statusText,
@@ -7637,9 +7418,9 @@ var StatusError = ({
7637
7418
  var StatusError_default = StatusError;
7638
7419
 
7639
7420
  // src/components/dividers/BlueVerticalDividerLine.tsx
7640
- var import_jsx_runtime50 = require("react/jsx-runtime");
7421
+ var import_jsx_runtime49 = require("react/jsx-runtime");
7641
7422
  var BlueVerticalDividerLine = ({ opacity }) => {
7642
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
7423
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
7643
7424
  "div",
7644
7425
  {
7645
7426
  className: `w-[2px] h-[40px] my-4 bg-catchup-blue ${opacity === "medium" ? "opacity-50" : ""}`
@@ -7649,7 +7430,7 @@ var BlueVerticalDividerLine = ({ opacity }) => {
7649
7430
  var BlueVerticalDividerLine_default = BlueVerticalDividerLine;
7650
7431
 
7651
7432
  // src/components/groups/LeftTextRightInputGroup.tsx
7652
- var import_jsx_runtime51 = require("react/jsx-runtime");
7433
+ var import_jsx_runtime50 = require("react/jsx-runtime");
7653
7434
  var LeftTextRightInputGroup = ({
7654
7435
  type,
7655
7436
  title,
@@ -7659,9 +7440,9 @@ var LeftTextRightInputGroup = ({
7659
7440
  disabled,
7660
7441
  errorText
7661
7442
  }) => {
7662
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "w-full flex flex-row mx-2", children: [
7663
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("p", { children: title }) }),
7664
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7443
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "w-full flex flex-row mx-2", children: [
7444
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("p", { children: title }) }),
7445
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
7665
7446
  InputGroup_default,
7666
7447
  {
7667
7448
  type,
@@ -7677,8 +7458,8 @@ var LeftTextRightInputGroup = ({
7677
7458
  var LeftTextRightInputGroup_default = LeftTextRightInputGroup;
7678
7459
 
7679
7460
  // src/components/groups/PageTravelGroup.tsx
7680
- var import_react27 = require("react");
7681
- var import_jsx_runtime52 = require("react/jsx-runtime");
7461
+ var import_react26 = require("react");
7462
+ var import_jsx_runtime51 = require("react/jsx-runtime");
7682
7463
  var PageTravelGroup = ({
7683
7464
  isImageProcessing,
7684
7465
  handleImageProcessing,
@@ -7687,17 +7468,17 @@ var PageTravelGroup = ({
7687
7468
  setPageNumber,
7688
7469
  setImageReady
7689
7470
  }) => {
7690
- const [totalPageNumber, setTotalPageNumber] = (0, import_react27.useState)(0);
7691
- const [newPageNumber, setNewPageNumber] = (0, import_react27.useState)(0);
7692
- (0, import_react27.useEffect)(() => {
7471
+ const [totalPageNumber, setTotalPageNumber] = (0, import_react26.useState)(0);
7472
+ const [newPageNumber, setNewPageNumber] = (0, import_react26.useState)(0);
7473
+ (0, import_react26.useEffect)(() => {
7693
7474
  if (!initialTotalPageNumber) return;
7694
7475
  setTotalPageNumber(initialTotalPageNumber);
7695
7476
  }, [initialTotalPageNumber]);
7696
- (0, import_react27.useEffect)(() => {
7477
+ (0, import_react26.useEffect)(() => {
7697
7478
  setNewPageNumber(pageNumber + 1);
7698
7479
  }, [pageNumber]);
7699
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex-1 flex flex-row justify-center items-center flex-wrap", children: [
7700
- pageNumber === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7480
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "flex-1 flex flex-row justify-center items-center flex-wrap", children: [
7481
+ pageNumber === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7701
7482
  BaseImage_default,
7702
7483
  {
7703
7484
  size: "small",
@@ -7715,7 +7496,7 @@ var PageTravelGroup = ({
7715
7496
  }
7716
7497
  }
7717
7498
  ) }),
7718
- Array.from(Array(totalPageNumber).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "px-2", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7499
+ Array.from(Array(totalPageNumber).keys()).filter((index) => index < pageNumber + 5).filter((index) => index > pageNumber - 5).map((index) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "px-2", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7719
7500
  "p",
7720
7501
  {
7721
7502
  className: `${pageNumber === index ? "text-2xl" : "text-md"} cursor-pointer`,
@@ -7730,7 +7511,7 @@ var PageTravelGroup = ({
7730
7511
  children: index + 1
7731
7512
  }
7732
7513
  ) }, index)),
7733
- totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7514
+ totalPageNumber === 0 || pageNumber === totalPageNumber - 1 ? null : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "px-2 flex flex-col items-center", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7734
7515
  BaseImage_default,
7735
7516
  {
7736
7517
  size: "small",
@@ -7748,7 +7529,7 @@ var PageTravelGroup = ({
7748
7529
  }
7749
7530
  }
7750
7531
  ) }),
7751
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7532
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
7752
7533
  "input",
7753
7534
  {
7754
7535
  className: `w-[90px] py-2 px-4 border border-catchup-gray-100 rounded-catchup-xlarge focus:outline-none placeholder-catchup-gray-200 focus:border-catchup-blue-400 focus:shadow-input`,
@@ -7772,14 +7553,14 @@ var PageTravelGroup = ({
7772
7553
  var PageTravelGroup_default = PageTravelGroup;
7773
7554
 
7774
7555
  // src/components/boxes/SelectionCheckbox.tsx
7775
- var import_jsx_runtime53 = require("react/jsx-runtime");
7556
+ var import_jsx_runtime52 = require("react/jsx-runtime");
7776
7557
  var SelectionCheckbox = ({
7777
7558
  optionList,
7778
7559
  selectedIdList,
7779
7560
  handleSelectOnClick,
7780
7561
  handleRemoveOnClick
7781
7562
  }) => {
7782
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7563
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7783
7564
  "div",
7784
7565
  {
7785
7566
  className: `${selectedIdList.findIndex(
@@ -7794,14 +7575,14 @@ var SelectionCheckbox = ({
7794
7575
  handleRemoveOnClick(option.id);
7795
7576
  }
7796
7577
  },
7797
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
7578
+ children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
7798
7579
  "div",
7799
7580
  {
7800
7581
  className: `flex flex-row items-center gap-x-1 ${selectedIdList.findIndex(
7801
7582
  (selectedId) => selectedId === option.id
7802
7583
  ) > -1 ? "opacity-100" : "opacity-50"}`,
7803
7584
  children: [
7804
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
7585
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
7805
7586
  BaseImage_default,
7806
7587
  {
7807
7588
  src: selectedIdList.findIndex(
@@ -7811,7 +7592,7 @@ var SelectionCheckbox = ({
7811
7592
  size: "small"
7812
7593
  }
7813
7594
  ),
7814
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { children: option.text }) })
7595
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("p", { children: option.text }) })
7815
7596
  ]
7816
7597
  }
7817
7598
  )
@@ -7822,7 +7603,7 @@ var SelectionCheckbox = ({
7822
7603
  var SelectionCheckbox_default = SelectionCheckbox;
7823
7604
 
7824
7605
  // src/components/tabs/SelectionTab.tsx
7825
- var import_jsx_runtime54 = require("react/jsx-runtime");
7606
+ var import_jsx_runtime53 = require("react/jsx-runtime");
7826
7607
  var SelectionTab = ({
7827
7608
  optionList,
7828
7609
  selectedId,
@@ -7832,7 +7613,7 @@ var SelectionTab = ({
7832
7613
  textColor,
7833
7614
  borderColor
7834
7615
  }) => {
7835
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap mb-2 text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
7616
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap mb-2 text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
7836
7617
  "div",
7837
7618
  {
7838
7619
  className: `${selectedId === option.id ? selectedTextColor ? selectedTextColor : "text-catchup-blue-500" : textColor ? textColor : "text-catchup-gray-300"} ${selectedId === option.id ? selectedBorderColor ? selectedBorderColor : "border-catchup-blue-500" : borderColor ? borderColor : "border-catchup-gray-50"} border-b-2 transition-all duration-300 p-3 cursor-pointer`,
@@ -7840,8 +7621,8 @@ var SelectionTab = ({
7840
7621
  handleSelectOnClick(option.id);
7841
7622
  },
7842
7623
  children: [
7843
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "text-lg", children: option.title }),
7844
- option.subTitle ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "text-md", children: option.subTitle }) : null
7624
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "text-lg", children: option.title }),
7625
+ option.subTitle ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "text-md", children: option.subTitle }) : null
7845
7626
  ]
7846
7627
  },
7847
7628
  index
@@ -7850,20 +7631,20 @@ var SelectionTab = ({
7850
7631
  var SelectionTab_default = SelectionTab;
7851
7632
 
7852
7633
  // src/components/tabs/SelectionTabFill.tsx
7853
- var import_jsx_runtime55 = require("react/jsx-runtime");
7634
+ var import_jsx_runtime54 = require("react/jsx-runtime");
7854
7635
  var SelectionTabFill = ({
7855
7636
  optionList,
7856
7637
  selectedId,
7857
7638
  handleSelectOnClick
7858
7639
  }) => {
7859
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7640
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "w-full flex flex-row bg-catchup-gray-50 gap-x-2 rounded-catchup-medium px-4 py-2 justify-center text-center", children: optionList.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7860
7641
  "div",
7861
7642
  {
7862
7643
  className: "cursor-pointer",
7863
7644
  onClick: () => {
7864
7645
  handleSelectOnClick(option.id);
7865
7646
  },
7866
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
7647
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
7867
7648
  "p",
7868
7649
  {
7869
7650
  className: `${selectedId === option.id ? "text-catchup-white bg-catchup-blue-500" : "text-catchup-gray-300"} transition-all duration-300 rounded-catchup-medium px-2 py-1`,
@@ -7877,34 +7658,34 @@ var SelectionTabFill = ({
7877
7658
  var SelectionTabFill_default = SelectionTabFill;
7878
7659
 
7879
7660
  // src/components/labels/ActivityTemplateLabel.tsx
7880
- var import_jsx_runtime56 = require("react/jsx-runtime");
7661
+ var import_jsx_runtime55 = require("react/jsx-runtime");
7881
7662
  var ActivityTemplateLabel = ({
7882
7663
  title,
7883
7664
  icon,
7884
7665
  font
7885
7666
  }) => {
7886
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7887
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7888
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: font ? font : "text-sm", children: title })
7667
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7668
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7669
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: font ? font : "text-sm", children: title })
7889
7670
  ] }) });
7890
7671
  };
7891
7672
  var ActivityTemplateLabel_default = ActivityTemplateLabel;
7892
7673
 
7893
7674
  // src/components/labels/BrandLabel.tsx
7894
- var import_jsx_runtime57 = require("react/jsx-runtime");
7675
+ var import_jsx_runtime56 = require("react/jsx-runtime");
7895
7676
  var BrandLabel = ({ title, icon, font }) => {
7896
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7897
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7898
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: font ? font : "text-sm", children: title })
7677
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7678
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7679
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: font ? font : "text-sm", children: title })
7899
7680
  ] }) });
7900
7681
  };
7901
7682
  var BrandLabel_default = BrandLabel;
7902
7683
 
7903
7684
  // src/components/labels/CategoryLabel.tsx
7904
- var import_jsx_runtime58 = require("react/jsx-runtime");
7685
+ var import_jsx_runtime57 = require("react/jsx-runtime");
7905
7686
  var CategoryLabel = ({ title, icon, font }) => {
7906
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7907
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
7687
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-category-label-border bg-category-label text-category-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7688
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
7908
7689
  BaseImage_default,
7909
7690
  {
7910
7691
  src: "/icons/category-label.webp",
@@ -7912,40 +7693,40 @@ var CategoryLabel = ({ title, icon, font }) => {
7912
7693
  size: "xsmall"
7913
7694
  }
7914
7695
  ),
7915
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: font ? font : "text-sm", children: title })
7696
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("p", { className: font ? font : "text-sm", children: title })
7916
7697
  ] }) });
7917
7698
  };
7918
7699
  var CategoryLabel_default = CategoryLabel;
7919
7700
 
7920
7701
  // src/components/labels/CoterieLabel.tsx
7921
- var import_jsx_runtime59 = require("react/jsx-runtime");
7702
+ var import_jsx_runtime58 = require("react/jsx-runtime");
7922
7703
  var CoterieLabel = ({ title, font }) => {
7923
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7704
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7924
7705
  };
7925
7706
  var CoterieLabel_default = CoterieLabel;
7926
7707
 
7927
7708
  // src/components/labels/GradeLabel.tsx
7928
- var import_jsx_runtime60 = require("react/jsx-runtime");
7709
+ var import_jsx_runtime59 = require("react/jsx-runtime");
7929
7710
  var GradeLabel = ({ title, font }) => {
7930
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7711
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7931
7712
  };
7932
7713
  var GradeLabel_default = GradeLabel;
7933
7714
 
7934
7715
  // src/components/labels/OutcomeLabel.tsx
7935
- var import_jsx_runtime61 = require("react/jsx-runtime");
7716
+ var import_jsx_runtime60 = require("react/jsx-runtime");
7936
7717
  var OutcomeLabel = ({ title, font }) => {
7937
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7938
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7939
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: font ? font : "text-sm", children: title })
7718
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7719
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7720
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("p", { className: font ? font : "text-sm", children: title })
7940
7721
  ] }) });
7941
7722
  };
7942
7723
  var OutcomeLabel_default = OutcomeLabel;
7943
7724
 
7944
7725
  // src/components/labels/PersonalLabel.tsx
7945
- var import_jsx_runtime62 = require("react/jsx-runtime");
7726
+ var import_jsx_runtime61 = require("react/jsx-runtime");
7946
7727
  var PersonalLabel = ({ title, icon, font }) => {
7947
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7948
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
7728
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7729
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
7949
7730
  BaseImage_default,
7950
7731
  {
7951
7732
  src: "/icons/personal-label.webp",
@@ -7953,16 +7734,16 @@ var PersonalLabel = ({ title, icon, font }) => {
7953
7734
  size: "xsmall"
7954
7735
  }
7955
7736
  ),
7956
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: font ? font : "text-sm", children: title })
7737
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: font ? font : "text-sm", children: title })
7957
7738
  ] }) });
7958
7739
  };
7959
7740
  var PersonalLabel_default = PersonalLabel;
7960
7741
 
7961
7742
  // src/components/labels/PublishingHouseLabel.tsx
7962
- var import_jsx_runtime63 = require("react/jsx-runtime");
7743
+ var import_jsx_runtime62 = require("react/jsx-runtime");
7963
7744
  var PublishingHouseLabel = ({ title, icon, font }) => {
7964
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7965
- icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
7745
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "flex flex-row items-center gap-x-2", children: [
7746
+ icon ? icon : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
7966
7747
  BaseImage_default,
7967
7748
  {
7968
7749
  src: "/icons/publishing-house-label.webp",
@@ -7970,55 +7751,55 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
7970
7751
  size: "xsmall"
7971
7752
  }
7972
7753
  ),
7973
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { className: font ? font : "text-sm", children: title })
7754
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { className: font ? font : "text-sm", children: title })
7974
7755
  ] }) });
7975
7756
  };
7976
7757
  var PublishingHouseLabel_default = PublishingHouseLabel;
7977
7758
 
7978
7759
  // src/components/labels/ActivityLabel.tsx
7979
- var import_jsx_runtime64 = require("react/jsx-runtime");
7760
+ var import_jsx_runtime63 = require("react/jsx-runtime");
7980
7761
  var ActivityLabel = ({ title, font }) => {
7981
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7762
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "px-3 py-1 gap-x-3 border border-publishing-house-label-border bg-publishing-house-label text-publishing-house-label-text rounded-catchup-3xlarge text-center", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { className: font ? font : "text-sm", children: title }) });
7982
7763
  };
7983
7764
  var ActivityLabel_default = ActivityLabel;
7984
7765
 
7985
7766
  // src/components/infos/InfoWithText.tsx
7986
- var import_jsx_runtime65 = require("react/jsx-runtime");
7767
+ var import_jsx_runtime64 = require("react/jsx-runtime");
7987
7768
  var InfoWithText = (props) => {
7988
7769
  const { value } = props;
7989
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7990
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7991
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "", children: value }) })
7770
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7771
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7772
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: "", children: value }) })
7992
7773
  ] });
7993
7774
  };
7994
7775
  var InfoWithText_default = InfoWithText;
7995
7776
 
7996
7777
  // src/components/titles/BaseTitle.tsx
7997
- var import_jsx_runtime66 = require("react/jsx-runtime");
7778
+ var import_jsx_runtime65 = require("react/jsx-runtime");
7998
7779
  var BaseTitle = ({
7999
7780
  title,
8000
7781
  totalItemCount,
8001
7782
  itemName,
8002
7783
  description
8003
7784
  }) => {
8004
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
8005
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("p", { className: "text-2xl font-medium", children: [
7785
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex flex-col gap-y-2", children: [
7786
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("p", { className: "text-2xl font-medium", children: [
8006
7787
  title,
8007
- totalItemCount && itemName ? /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
7788
+ totalItemCount && itemName ? /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { className: "p-2 text-base text-catchup-blue-600 border border-catchup-blue-300 rounded-catchup-3xlarge mx-2 bg-catchup-blue-100", children: [
8008
7789
  totalItemCount,
8009
7790
  " ",
8010
7791
  itemName
8011
7792
  ] }) : null
8012
7793
  ] }),
8013
- description ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "", children: description }) : null
7794
+ description ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("p", { className: "", children: description }) : null
8014
7795
  ] });
8015
7796
  };
8016
7797
  var BaseTitle_default = BaseTitle;
8017
7798
 
8018
7799
  // src/components/titles/SubTitle.tsx
8019
- var import_jsx_runtime67 = require("react/jsx-runtime");
7800
+ var import_jsx_runtime66 = require("react/jsx-runtime");
8020
7801
  var SubTitle = ({ title }) => {
8021
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7802
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
8022
7803
  };
8023
7804
  var SubTitle_default = SubTitle;
8024
7805
 
@@ -10740,7 +10521,6 @@ var retrieveActivityMethodologyOptionList = () => {
10740
10521
  ActivityEmptyContent,
10741
10522
  ActivityEvaluationRubricContent,
10742
10523
  ActivityLabel,
10743
- ActivityPreviewByAnswerData,
10744
10524
  ActivityPreviewByData,
10745
10525
  ActivitySolutionContent,
10746
10526
  ActivityTemplateLabel,