catchup-library-web 1.12.3 → 1.12.6

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.mjs CHANGED
@@ -683,6 +683,31 @@ var ApproveButton = ({
683
683
  };
684
684
  var ApproveButton_default = ApproveButton;
685
685
 
686
+ // src/components/cards/FullCard.tsx
687
+ import { jsx as jsx9 } from "react/jsx-runtime";
688
+ var FullCard = ({
689
+ bgColor,
690
+ opacity,
691
+ isShadowed,
692
+ usePadding,
693
+ children
694
+ }) => {
695
+ return /* @__PURE__ */ jsx9("div", { className: "flex flex-col justify-center items-center h-full", children: /* @__PURE__ */ jsx9(
696
+ "div",
697
+ {
698
+ className: `flex-1 ${bgColor ? bgColor : ""} ${opacity ? opacity : "opacity-100"} rounded-catchup-xlarge w-full border border-catchup-gray-50 bg-catchup-white`,
699
+ children: /* @__PURE__ */ jsx9(
700
+ "div",
701
+ {
702
+ className: `flex flex-col mx-auto ${usePadding === false ? "p-0" : "p-6"} h-full`,
703
+ children
704
+ }
705
+ )
706
+ }
707
+ ) });
708
+ };
709
+ var FullCard_default = FullCard;
710
+
686
711
  // src/components/loading/BaseLoadingWithText.tsx
687
712
  import { useEffect, useState as useState8 } from "react";
688
713
 
@@ -693,7 +718,7 @@ i18n.use(initReactI18next);
693
718
  var i18n_default = i18n;
694
719
 
695
720
  // src/components/loading/BaseLoadingWithText.tsx
696
- import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
721
+ import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
697
722
  var BaseLoadingWithText = (props) => {
698
723
  const { height, width, size, primaryColor, secondaryColor, hideText } = props;
699
724
  const [initialTimestamp, setInitialTimestamp] = useState8(
@@ -742,7 +767,7 @@ var BaseLoadingWithText = (props) => {
742
767
  }
743
768
  const loadingText = retrieveLoadingText();
744
769
  return /* @__PURE__ */ jsxs7("div", { className: "flex flex-col justify-center items-center", children: [
745
- /* @__PURE__ */ jsx9(
770
+ /* @__PURE__ */ jsx10(
746
771
  BaseLoading_default,
747
772
  {
748
773
  height,
@@ -752,12 +777,12 @@ var BaseLoadingWithText = (props) => {
752
777
  secondaryColor
753
778
  }
754
779
  ),
755
- !hideText && size !== "small" ? /* @__PURE__ */ jsx9(
780
+ !hideText && size !== "small" ? /* @__PURE__ */ jsx10(
756
781
  "div",
757
782
  {
758
783
  className: `${textClassName} text-center`,
759
784
  style: { width: textWidth },
760
- children: /* @__PURE__ */ jsx9("p", { className: "font-bold", children: loadingText })
785
+ children: /* @__PURE__ */ jsx10("p", { className: "font-bold", children: loadingText })
761
786
  }
762
787
  ) : null
763
788
  ] });
@@ -766,7 +791,7 @@ var BaseLoadingWithText_default = BaseLoadingWithText;
766
791
 
767
792
  // src/components/modals/BaseModal.tsx
768
793
  import Modal from "react-modal";
769
- import { jsx as jsx10 } from "react/jsx-runtime";
794
+ import { jsx as jsx11 } from "react/jsx-runtime";
770
795
  var BaseModal = ({
771
796
  isOpen,
772
797
  size,
@@ -775,7 +800,7 @@ var BaseModal = ({
775
800
  customSize,
776
801
  children
777
802
  }) => {
778
- return /* @__PURE__ */ jsx10(
803
+ return /* @__PURE__ */ jsx11(
779
804
  Modal,
780
805
  {
781
806
  isOpen,
@@ -804,7 +829,7 @@ var BaseModal = ({
804
829
  }
805
830
  },
806
831
  contentLabel: "",
807
- children: customSize ? /* @__PURE__ */ jsx10("div", { className: `${customSize}`, children }) : /* @__PURE__ */ jsx10(
832
+ children: customSize ? /* @__PURE__ */ jsx11("div", { className: `${customSize}`, children }) : /* @__PURE__ */ jsx11(
808
833
  "div",
809
834
  {
810
835
  className: `${size === "small" ? "w-[600px]" : size === "medium" ? "w-[900px]" : "w-[600px] lg:w-[900px] xl:w-[1200px] 2xl:w-[1500px]"}`,
@@ -817,9 +842,9 @@ var BaseModal = ({
817
842
  var BaseModal_default = BaseModal;
818
843
 
819
844
  // src/components/activities/empty-content/ActivityEmptyContent.tsx
820
- import { jsx as jsx11 } from "react/jsx-runtime";
845
+ import { jsx as jsx12 } from "react/jsx-runtime";
821
846
  var ActivityEmptyContent = () => {
822
- return /* @__PURE__ */ jsx11("div", { className: "flex flex-col items-center justify-center border-2 border-catchup-orange rounded-catchup-xlarge px-5 py-2 my-5 bg-catchup-orange", children: /* @__PURE__ */ jsx11("div", { className: "", children: /* @__PURE__ */ jsx11("p", { className: "text-catchup-white text-xl", children: i18n_default.t("you_have_set_this_activity_as_empty") }) }) });
847
+ return /* @__PURE__ */ jsx12("div", { className: "flex flex-col items-center justify-center border-2 border-catchup-orange rounded-catchup-xlarge px-5 py-2 my-5 bg-catchup-orange", children: /* @__PURE__ */ jsx12("div", { className: "", children: /* @__PURE__ */ jsx12("p", { className: "text-catchup-white text-xl", children: i18n_default.t("you_have_set_this_activity_as_empty") }) }) });
823
848
  };
824
849
  var ActivityEmptyContent_default = ActivityEmptyContent;
825
850
 
@@ -2893,7 +2918,7 @@ var constructActivityItemListSolutionOnly = (solutionMap) => {
2893
2918
 
2894
2919
  // src/components/activities/body-content/ShowBodyMediaByContentType.tsx
2895
2920
  import { InlineMath } from "react-katex";
2896
- import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
2921
+ import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
2897
2922
  var ShowBodyMediaByContentType = ({
2898
2923
  index,
2899
2924
  type,
@@ -2915,11 +2940,11 @@ var ShowBodyMediaByContentType = ({
2915
2940
  }
2916
2941
  };
2917
2942
  const renderSpecialExpressions = (inputPart, partIndex, parentKey) => {
2918
- return /* @__PURE__ */ jsx12(
2943
+ return /* @__PURE__ */ jsx13(
2919
2944
  "span",
2920
2945
  {
2921
2946
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
2922
- children: inputPart.isEquation ? /* @__PURE__ */ jsx12("span", { className: "text-2xl", children: /* @__PURE__ */ jsx12(InlineMath, { math: inputPart.value }) }) : inputPart.value
2947
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx13("span", { className: "text-2xl", children: /* @__PURE__ */ jsx13(InlineMath, { math: inputPart.value }) }) : inputPart.value
2923
2948
  },
2924
2949
  `${parentKey}-expr-${partIndex}`
2925
2950
  );
@@ -2939,7 +2964,7 @@ var ShowBodyMediaByContentType = ({
2939
2964
  };
2940
2965
  const renderTextContent = (text, itemKey) => {
2941
2966
  const balancedText = balanceSpecialChars(text);
2942
- return /* @__PURE__ */ jsx12("span", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(balancedText).map(
2967
+ return /* @__PURE__ */ jsx13("span", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(balancedText).map(
2943
2968
  (inputPart, exprIndex) => renderSpecialExpressions(inputPart, exprIndex, itemKey)
2944
2969
  ) }, itemKey);
2945
2970
  };
@@ -2972,7 +2997,7 @@ var ShowBodyMediaByContentType = ({
2972
2997
  currentIndex++;
2973
2998
  const itemKey = `text-inside-${index}-${currentIndex}`;
2974
2999
  valuePartList.push(
2975
- /* @__PURE__ */ jsx12("span", { className: "text-xl font-bold whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(textInsideTag).map(
3000
+ /* @__PURE__ */ jsx13("span", { className: "text-xl font-bold whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(textInsideTag).map(
2976
3001
  (inputPart, exprIndex) => renderSpecialExpressions(inputPart, exprIndex, itemKey)
2977
3002
  ) }, itemKey)
2978
3003
  );
@@ -2992,7 +3017,7 @@ var ShowBodyMediaByContentType = ({
2992
3017
  if (textBeforeTag.trim() !== "") {
2993
3018
  currentIndex++;
2994
3019
  valuePartList.push(
2995
- /* @__PURE__ */ jsx12(
3020
+ /* @__PURE__ */ jsx13(
2996
3021
  "p",
2997
3022
  {
2998
3023
  className: "text-xl",
@@ -3016,7 +3041,7 @@ var ShowBodyMediaByContentType = ({
3016
3041
  {
3017
3042
  className: "relative w-[200px]",
3018
3043
  children: [
3019
- /* @__PURE__ */ jsx12(
3044
+ /* @__PURE__ */ jsx13(
3020
3045
  BaseImage_default,
3021
3046
  {
3022
3047
  src: imageSource,
@@ -3025,12 +3050,12 @@ var ShowBodyMediaByContentType = ({
3025
3050
  className: "rounded-catchup-xlarge"
3026
3051
  }
3027
3052
  ),
3028
- /* @__PURE__ */ jsx12(
3053
+ /* @__PURE__ */ jsx13(
3029
3054
  "div",
3030
3055
  {
3031
3056
  className: "absolute flex items-center justify-center top-2 right-2 h-6 w-6 cursor-pointer border rounded-catchup-xlarge border-catchup-blue p-1",
3032
3057
  onClick: () => handleOpenFullScreen(imageSource),
3033
- children: /* @__PURE__ */ jsx12(
3058
+ children: /* @__PURE__ */ jsx13(
3034
3059
  BaseImage_default,
3035
3060
  {
3036
3061
  src: "/icons/arrow-up.webp",
@@ -3059,7 +3084,7 @@ var ShowBodyMediaByContentType = ({
3059
3084
  if (textBeforeTag.trim() !== "") {
3060
3085
  currentIndex++;
3061
3086
  valuePartList.push(
3062
- /* @__PURE__ */ jsx12(
3087
+ /* @__PURE__ */ jsx13(
3063
3088
  "p",
3064
3089
  {
3065
3090
  className: "text-xl",
@@ -3078,7 +3103,7 @@ var ShowBodyMediaByContentType = ({
3078
3103
  );
3079
3104
  currentIndex++;
3080
3105
  valuePartList.push(
3081
- /* @__PURE__ */ jsx12(
3106
+ /* @__PURE__ */ jsx13(
3082
3107
  "video",
3083
3108
  {
3084
3109
  src: videoSource,
@@ -3101,7 +3126,7 @@ var ShowBodyMediaByContentType = ({
3101
3126
  if (textBeforeTag.trim() !== "") {
3102
3127
  currentIndex++;
3103
3128
  valuePartList.push(
3104
- /* @__PURE__ */ jsx12(
3129
+ /* @__PURE__ */ jsx13(
3105
3130
  "p",
3106
3131
  {
3107
3132
  className: "text-xl",
@@ -3120,7 +3145,7 @@ var ShowBodyMediaByContentType = ({
3120
3145
  );
3121
3146
  currentIndex++;
3122
3147
  valuePartList.push(
3123
- /* @__PURE__ */ jsx12(
3148
+ /* @__PURE__ */ jsx13(
3124
3149
  "audio",
3125
3150
  {
3126
3151
  src: audioSource,
@@ -3151,8 +3176,8 @@ var ShowBodyMediaByContentType = ({
3151
3176
  {
3152
3177
  className: "bg-catchup-gray-50 relative px-4 py-4 rounded-catchup-small mt-2",
3153
3178
  children: [
3154
- /* @__PURE__ */ jsx12("div", { className: "absolute -top-3 bg-catchup-white border rounded-catchup-small px-2 left-2", children: /* @__PURE__ */ jsx12("p", { className: "font-bold", children: i18n_default.t("image_description") }) }),
3155
- /* @__PURE__ */ jsx12("span", { className: "text-xl whitespace-pre-wrap", children: imageText })
3179
+ /* @__PURE__ */ jsx13("div", { className: "absolute -top-3 bg-catchup-white border rounded-catchup-small px-2 left-2", children: /* @__PURE__ */ jsx13("p", { className: "font-bold", children: i18n_default.t("image_description") }) }),
3180
+ /* @__PURE__ */ jsx13("span", { className: "text-xl whitespace-pre-wrap", children: imageText })
3156
3181
  ]
3157
3182
  },
3158
3183
  `img-desc-${index}-${currentIndex}`
@@ -3166,7 +3191,7 @@ var ShowBodyMediaByContentType = ({
3166
3191
  return valuePartList;
3167
3192
  };
3168
3193
  const RenderShowFullScreenItem = () => {
3169
- return /* @__PURE__ */ jsx12(
3194
+ return /* @__PURE__ */ jsx13(
3170
3195
  Modal2,
3171
3196
  {
3172
3197
  isOpen: showFullScreen,
@@ -3196,7 +3221,7 @@ var ShowBodyMediaByContentType = ({
3196
3221
  },
3197
3222
  contentLabel: "Image Fullscreen View",
3198
3223
  children: /* @__PURE__ */ jsxs8("div", { className: "flex-1 flex flex-col", children: [
3199
- /* @__PURE__ */ jsx12("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ jsx12(
3224
+ /* @__PURE__ */ jsx13("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ jsx13(
3200
3225
  BaseImage_default,
3201
3226
  {
3202
3227
  src: "/icons/cross-red.webp",
@@ -3208,7 +3233,7 @@ var ShowBodyMediaByContentType = ({
3208
3233
  }
3209
3234
  }
3210
3235
  ) }),
3211
- /* @__PURE__ */ jsx12("div", { className: "flex items-center justify-center h-[500]", children: /* @__PURE__ */ jsx12(
3236
+ /* @__PURE__ */ jsx13("div", { className: "flex items-center justify-center h-[500]", children: /* @__PURE__ */ jsx13(
3212
3237
  BaseImage_default,
3213
3238
  {
3214
3239
  src: selectedFullScreenItem,
@@ -3224,16 +3249,16 @@ var ShowBodyMediaByContentType = ({
3224
3249
  const RenderMainContent = () => {
3225
3250
  switch (type) {
3226
3251
  case "TEXT":
3227
- return /* @__PURE__ */ jsx12("div", { className: "mb-3 flex flex-row flex-wrap items-center mx-auto w-full", children: retrieveValueParts(value) });
3252
+ return /* @__PURE__ */ jsx13("div", { className: "mb-3 flex flex-row flex-wrap items-center mx-auto w-full", children: retrieveValueParts(value) });
3228
3253
  case "IMAGE":
3229
- return /* @__PURE__ */ jsx12("div", { className: "mb-3 flex flex-col items-center relative", children: /* @__PURE__ */ jsxs8(
3254
+ return /* @__PURE__ */ jsx13("div", { className: "mb-3 flex flex-col items-center relative", children: /* @__PURE__ */ jsxs8(
3230
3255
  "div",
3231
3256
  {
3232
3257
  className: `${convertToPercentage(
3233
3258
  size || ""
3234
3259
  )} rounded-catchup-xlarge relative`,
3235
3260
  children: [
3236
- /* @__PURE__ */ jsx12(
3261
+ /* @__PURE__ */ jsx13(
3237
3262
  BaseImage_default,
3238
3263
  {
3239
3264
  src: value,
@@ -3242,12 +3267,12 @@ var ShowBodyMediaByContentType = ({
3242
3267
  className: "w-full rounded-catchup-xlarge"
3243
3268
  }
3244
3269
  ),
3245
- /* @__PURE__ */ jsx12(
3270
+ /* @__PURE__ */ jsx13(
3246
3271
  "div",
3247
3272
  {
3248
3273
  className: "absolute flex items-center justify-center top-2 right-2 h-6 w-6 cursor-pointer border rounded-catchup-xlarge border-catchup-blue p-1",
3249
3274
  onClick: () => handleOpenFullScreen(value),
3250
- children: /* @__PURE__ */ jsx12(
3275
+ children: /* @__PURE__ */ jsx13(
3251
3276
  BaseImage_default,
3252
3277
  {
3253
3278
  src: "/icons/arrow-up.webp",
@@ -3262,7 +3287,7 @@ var ShowBodyMediaByContentType = ({
3262
3287
  }
3263
3288
  ) });
3264
3289
  case "VIDEO":
3265
- return /* @__PURE__ */ jsx12("div", { className: "mb-3 flex flex-col items-center", children: /* @__PURE__ */ jsx12(
3290
+ return /* @__PURE__ */ jsx13("div", { className: "mb-3 flex flex-col items-center", children: /* @__PURE__ */ jsx13(
3266
3291
  "video",
3267
3292
  {
3268
3293
  src: value,
@@ -3273,7 +3298,7 @@ var ShowBodyMediaByContentType = ({
3273
3298
  }
3274
3299
  ) });
3275
3300
  case "AUDIO":
3276
- return /* @__PURE__ */ jsx12("div", { className: "mb-3 flex flex-col items-center", children: /* @__PURE__ */ jsx12("audio", { src: value, controls: true, className: "rounded-catchup-xlarge" }) });
3301
+ return /* @__PURE__ */ jsx13("div", { className: "mb-3 flex flex-col items-center", children: /* @__PURE__ */ jsx13("audio", { src: value, controls: true, className: "rounded-catchup-xlarge" }) });
3277
3302
  default:
3278
3303
  return null;
3279
3304
  }
@@ -3286,7 +3311,7 @@ var ShowBodyMediaByContentType = ({
3286
3311
  var ShowBodyMediaByContentType_default = ShowBodyMediaByContentType;
3287
3312
 
3288
3313
  // src/components/activities/body-content/ActivityBodyContent.tsx
3289
- import { jsx as jsx13 } from "react/jsx-runtime";
3314
+ import { jsx as jsx14 } from "react/jsx-runtime";
3290
3315
  var ActivityBodyContent = ({
3291
3316
  templateType,
3292
3317
  bodyMap,
@@ -3367,7 +3392,7 @@ var ActivityBodyContent = ({
3367
3392
  key
3368
3393
  });
3369
3394
  }).filter(Boolean);
3370
- return /* @__PURE__ */ jsx13("div", { className: "flex flex-col justify-center items-center", children: processedBodies.map((body, index) => /* @__PURE__ */ jsx13(
3395
+ return /* @__PURE__ */ jsx14("div", { className: "flex flex-col justify-center items-center", children: processedBodies.map((body, index) => /* @__PURE__ */ jsx14(
3371
3396
  ShowBodyMediaByContentType_default,
3372
3397
  {
3373
3398
  index,
@@ -3381,16 +3406,16 @@ var ActivityBodyContent = ({
3381
3406
  var ActivityBodyContent_default = ActivityBodyContent;
3382
3407
 
3383
3408
  // src/components/dividers/DividerLine.tsx
3384
- import { jsx as jsx14 } from "react/jsx-runtime";
3409
+ import { jsx as jsx15 } from "react/jsx-runtime";
3385
3410
  var DividerLine = () => {
3386
- return /* @__PURE__ */ jsx14("div", { className: "bg-catchup-gray-50 h-[1px] w-full my-3" });
3411
+ return /* @__PURE__ */ jsx15("div", { className: "bg-catchup-gray-50 h-[1px] w-full my-3" });
3387
3412
  };
3388
3413
  var DividerLine_default = DividerLine;
3389
3414
 
3390
3415
  // src/components/dividers/VerticalDividerLine.tsx
3391
- import { jsx as jsx15 } from "react/jsx-runtime";
3416
+ import { jsx as jsx16 } from "react/jsx-runtime";
3392
3417
  var VerticalDividerLine = () => {
3393
- return /* @__PURE__ */ jsx15("div", { className: "bg-catchup-gray-50 h-full w-[1px] mx-3" });
3418
+ return /* @__PURE__ */ jsx16("div", { className: "bg-catchup-gray-50 h-full w-[1px] mx-3" });
3394
3419
  };
3395
3420
  var VerticalDividerLine_default = VerticalDividerLine;
3396
3421
 
@@ -3399,8 +3424,8 @@ import { InlineMath as InlineMath2 } from "react-katex";
3399
3424
 
3400
3425
  // src/components/groups/InputGroup.tsx
3401
3426
  import Select from "react-select";
3402
- import { useEffect as useEffect2, useRef, useState as useState10 } from "react";
3403
- import { Fragment, jsx as jsx16, jsxs as jsxs9 } from "react/jsx-runtime";
3427
+ import { useEffect as useEffect2, useRef, useState as useState10, useCallback } from "react";
3428
+ import { Fragment, jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
3404
3429
  var InputGroup = ({
3405
3430
  type,
3406
3431
  title,
@@ -3422,9 +3447,9 @@ var InputGroup = ({
3422
3447
  useMath
3423
3448
  }) => {
3424
3449
  const textAreaRef = useRef(null);
3450
+ const [showMathConstructor, setShowMathConstructor] = useState10(false);
3451
+ const [mathValue, setMathValue] = useState10("");
3425
3452
  const mathFieldRef = useRef(null);
3426
- const [isMathMode, setIsMathMode] = useState10(false);
3427
- const [showMathOverlay, setShowMathOverlay] = useState10(false);
3428
3453
  useEffect2(() => {
3429
3454
  if (!textAreaRef) return;
3430
3455
  if (!textAreaRef.current) return;
@@ -3441,18 +3466,7 @@ var InputGroup = ({
3441
3466
  customElements.define("math-field", MathfieldElement);
3442
3467
  }
3443
3468
  });
3444
- }, [useMath, type, placeholder, title]);
3445
- useEffect2(() => {
3446
- const handleClickOutside = (event) => {
3447
- if (showMathOverlay && event.target instanceof Element && !event.target.closest(".math-overlay")) {
3448
- setShowMathOverlay(false);
3449
- }
3450
- };
3451
- document.addEventListener("mousedown", handleClickOutside);
3452
- return () => {
3453
- document.removeEventListener("mousedown", handleClickOutside);
3454
- };
3455
- }, [showMathOverlay]);
3469
+ }, [useMath]);
3456
3470
  const retrieveNullableOptionList = () => {
3457
3471
  if (!optionList) return [];
3458
3472
  const currentOptionList = {
@@ -3480,88 +3494,95 @@ var InputGroup = ({
3480
3494
  onChange && onChange(e);
3481
3495
  }
3482
3496
  };
3483
- const handleMathFieldChange = (event) => {
3484
- const mathField = event.currentTarget;
3485
- const syntheticEvent = {
3486
- target: {
3487
- value: mathField.value,
3488
- type: "text"
3489
- }
3490
- };
3491
- onChange && onChange(syntheticEvent);
3492
- };
3493
- const handleMathFieldFocus = (event) => {
3494
- const syntheticEvent = {
3495
- target: event.currentTarget
3496
- };
3497
- onFocus && onFocus(syntheticEvent);
3497
+ const handleMathFieldChange = useCallback(() => {
3498
+ if (!mathFieldRef.current) return;
3499
+ const latexValue = mathFieldRef.current.value;
3500
+ const wasFocused = mathFieldRef.current === document.activeElement;
3501
+ const cursorPosition = mathFieldRef.current.position;
3502
+ setMathValue(latexValue);
3503
+ if (wasFocused) {
3504
+ setTimeout(() => {
3505
+ if (mathFieldRef.current) {
3506
+ mathFieldRef.current.focus();
3507
+ mathFieldRef.current.position = cursorPosition;
3508
+ }
3509
+ }, 0);
3510
+ }
3511
+ }, []);
3512
+ const handleCopyLatex = () => {
3513
+ navigator.clipboard.writeText(`$$${mathValue}$$`);
3498
3514
  };
3499
- const handleMathModeToggle = (mode) => {
3500
- setIsMathMode(mode);
3501
- setShowMathOverlay(false);
3515
+ const handleOpenMathConstructor = () => {
3516
+ setMathValue("");
3517
+ setShowMathConstructor(true);
3502
3518
  };
3503
- const MathModeOverlay = () => {
3504
- if (!showMathOverlay) return null;
3505
- return /* @__PURE__ */ jsx16("div", { className: "fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50", children: /* @__PURE__ */ jsxs9("div", { className: "math-overlay bg-white rounded-lg p-6 shadow-xl max-w-sm w-full mx-4", children: [
3506
- /* @__PURE__ */ jsxs9("div", { className: "flex justify-between items-center mb-4", children: [
3507
- /* @__PURE__ */ jsx16("h3", { className: "text-lg font-semibold text-catchup-gray-400", children: i18n_default.t("select_input_mode") }),
3508
- /* @__PURE__ */ jsx16(
3509
- "button",
3510
- {
3511
- className: "text-catchup-gray-300 hover:text-catchup-gray-400 transition-colors",
3512
- onClick: () => setShowMathOverlay(false),
3513
- children: /* @__PURE__ */ jsx16(
3514
- "svg",
3519
+ const MathConstructorModal = () => {
3520
+ return /* @__PURE__ */ jsx17(
3521
+ BaseModal_default,
3522
+ {
3523
+ isOpen: showMathConstructor,
3524
+ onAfterOpen: () => {
3525
+ },
3526
+ onRequestClose: () => {
3527
+ setShowMathConstructor(false);
3528
+ },
3529
+ size: "large",
3530
+ children: /* @__PURE__ */ jsx17(FullCard_default, { children: /* @__PURE__ */ jsx17("div", { className: "bg-white rounded-lg overflow-hidden", children: /* @__PURE__ */ jsxs9("div", { className: "p-6 space-y-6", children: [
3531
+ /* @__PURE__ */ jsxs9("div", { children: [
3532
+ /* @__PURE__ */ jsx17("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: i18n_default.t("math_editor") }),
3533
+ /* @__PURE__ */ jsx17("div", { className: "border border-catchup-gray-100 rounded-catchup-large focus-within:border-catchup-blue-400 focus-within:shadow-input", children: /* @__PURE__ */ jsx17(
3534
+ "math-field",
3515
3535
  {
3516
- className: "w-6 h-6",
3517
- fill: "none",
3518
- stroke: "currentColor",
3519
- viewBox: "0 0 24 24",
3520
- children: /* @__PURE__ */ jsx16(
3521
- "path",
3522
- {
3523
- strokeLinecap: "round",
3524
- strokeLinejoin: "round",
3525
- strokeWidth: 2,
3526
- d: "M6 18L18 6M6 6l12 12"
3527
- }
3528
- )
3536
+ ref: mathFieldRef,
3537
+ value: mathValue,
3538
+ onInput: handleMathFieldChange,
3539
+ placeholder: i18n_default.t("expression"),
3540
+ "virtual-keyboard-mode": "off",
3541
+ "smart-fence": true,
3542
+ "smart-mode": true,
3543
+ "smart-superscript": true,
3544
+ style: {
3545
+ fontSize: "18px",
3546
+ paddingRight: "16px",
3547
+ paddingLeft: "16px",
3548
+ paddingTop: "8px",
3549
+ paddingBottom: "8px",
3550
+ border: "none",
3551
+ outline: "none",
3552
+ width: "100%",
3553
+ backgroundColor: "transparent",
3554
+ borderRadius: "16px",
3555
+ fontFamily: "inherit"
3556
+ }
3529
3557
  }
3530
- )
3531
- }
3532
- )
3533
- ] }),
3534
- /* @__PURE__ */ jsxs9("div", { className: "space-y-3", children: [
3535
- /* @__PURE__ */ jsx16(
3536
- "button",
3537
- {
3538
- className: `w-full p-3 rounded-lg border-2 transition-all duration-200 ${!isMathMode ? "border-catchup-blue-400 bg-catchup-blue-50" : "border-catchup-gray-100 hover:border-catchup-gray-200"}`,
3539
- onClick: () => handleMathModeToggle(false),
3540
- children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center space-x-3", children: [
3541
- /* @__PURE__ */ jsx16("div", { className: "w-4 h-4 rounded-full border-2 border-catchup-blue-400 flex items-center justify-center", children: !isMathMode && /* @__PURE__ */ jsx16("div", { className: "w-2 h-2 rounded-full bg-catchup-blue-400" }) }),
3542
- /* @__PURE__ */ jsxs9("div", { className: "text-left", children: [
3543
- /* @__PURE__ */ jsx16("p", { className: "font-medium text-catchup-gray-400", children: i18n_default.t("text_mode") }),
3544
- /* @__PURE__ */ jsx16("p", { className: "text-sm text-catchup-gray-300", children: "Regular text input" })
3545
- ] })
3546
- ] })
3547
- }
3548
- ),
3549
- /* @__PURE__ */ jsx16(
3550
- "button",
3551
- {
3552
- className: `w-full p-3 rounded-lg border-2 transition-all duration-200 ${isMathMode ? "border-catchup-blue-400 bg-catchup-blue-50" : "border-catchup-gray-100 hover:border-catchup-gray-200"}`,
3553
- onClick: () => handleMathModeToggle(true),
3554
- children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center space-x-3", children: [
3555
- /* @__PURE__ */ jsx16("div", { className: "w-4 h-4 rounded-full border-2 border-catchup-blue-400 flex items-center justify-center", children: isMathMode && /* @__PURE__ */ jsx16("div", { className: "w-2 h-2 rounded-full bg-catchup-blue-400" }) }),
3556
- /* @__PURE__ */ jsxs9("div", { className: "text-left", children: [
3557
- /* @__PURE__ */ jsx16("p", { className: "font-medium text-catchup-gray-400", children: i18n_default.t("math_mode") }),
3558
- /* @__PURE__ */ jsx16("p", { className: "text-sm text-catchup-gray-300", children: "Mathematical expressions" })
3559
- ] })
3558
+ ) })
3559
+ ] }),
3560
+ /* @__PURE__ */ jsxs9("div", { children: [
3561
+ /* @__PURE__ */ jsx17("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: i18n_default.t("latex_output") }),
3562
+ /* @__PURE__ */ jsxs9("div", { className: "relative", children: [
3563
+ /* @__PURE__ */ jsx17(
3564
+ "textarea",
3565
+ {
3566
+ readOnly: true,
3567
+ value: mathValue,
3568
+ className: "w-full py-2 px-4 bg-catchup-gray-50 border border-catchup-gray-100 rounded-catchup-large font-mono text-sm resize-none focus:outline-none",
3569
+ placeholder: i18n_default.t("latex_will_appear_here")
3570
+ }
3571
+ ),
3572
+ /* @__PURE__ */ jsx17(
3573
+ "button",
3574
+ {
3575
+ onClick: handleCopyLatex,
3576
+ className: "absolute top-2 right-2 bg-catchup-blue-400 text-white px-3 py-1 rounded-md text-sm hover:bg-catchup-blue-500 transition-colors",
3577
+ disabled: !mathValue,
3578
+ children: i18n_default.t("copy")
3579
+ }
3580
+ )
3560
3581
  ] })
3561
- }
3562
- )
3563
- ] })
3564
- ] }) });
3582
+ ] })
3583
+ ] }) }) })
3584
+ }
3585
+ );
3565
3586
  };
3566
3587
  const CheckboxInputGroup = () => {
3567
3588
  return /* @__PURE__ */ jsxs9(
@@ -3570,7 +3591,7 @@ var InputGroup = ({
3570
3591
  className: "flex flex-row items-center gap-x-1 cursor-pointer",
3571
3592
  onClick,
3572
3593
  children: [
3573
- /* @__PURE__ */ jsx16(
3594
+ /* @__PURE__ */ jsx17(
3574
3595
  BaseImage_default,
3575
3596
  {
3576
3597
  src: value ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -3580,15 +3601,15 @@ var InputGroup = ({
3580
3601
  }
3581
3602
  }
3582
3603
  ),
3583
- /* @__PURE__ */ jsx16("p", { className: "", children: title })
3604
+ /* @__PURE__ */ jsx17("p", { className: "", children: title })
3584
3605
  ]
3585
3606
  }
3586
3607
  );
3587
3608
  };
3588
3609
  const FileInputGroup = () => {
3589
3610
  return /* @__PURE__ */ jsxs9("div", { className: "my-1", children: [
3590
- title ? /* @__PURE__ */ jsx16("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3591
- /* @__PURE__ */ jsx16(
3611
+ title ? /* @__PURE__ */ jsx17("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3612
+ /* @__PURE__ */ jsx17(
3592
3613
  "input",
3593
3614
  {
3594
3615
  className: "w-full py-2 px-4 border border-catchup-gray-100 placeholder-catchup-gray-200 rounded-catchup-large text-black focus:outline-none focus:border-catchup-blue-400 focus:shadow-input",
@@ -3606,8 +3627,8 @@ var InputGroup = ({
3606
3627
  };
3607
3628
  const DateInputGroup = () => {
3608
3629
  return /* @__PURE__ */ jsxs9("div", { className: "my-1", children: [
3609
- title ? /* @__PURE__ */ jsx16("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3610
- /* @__PURE__ */ jsx16(
3630
+ title ? /* @__PURE__ */ jsx17("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3631
+ /* @__PURE__ */ jsx17(
3611
3632
  "input",
3612
3633
  {
3613
3634
  className: `w-full py-2 px-4 border ${errorText ? "border-catchup-red shadow-error" : theme === "red" ? "border-catchup-red bg-catchup-red text-catchup-white focus:border-catchup-red" : "border-catchup-gray-100 placeholder-catchup-gray-200 focus:border-catchup-blue-400"} rounded-catchup-large text-black focus:outline-none focus:shadow-input`,
@@ -3623,8 +3644,8 @@ var InputGroup = ({
3623
3644
  };
3624
3645
  const SearchableSelectInputGroup = () => {
3625
3646
  return /* @__PURE__ */ jsxs9("div", { className: "my-1", children: [
3626
- title ? /* @__PURE__ */ jsx16("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400 ", children: title }) : null,
3627
- /* @__PURE__ */ jsx16(
3647
+ title ? /* @__PURE__ */ jsx17("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400 ", children: title }) : null,
3648
+ /* @__PURE__ */ jsx17(
3628
3649
  Select,
3629
3650
  {
3630
3651
  options: convertOptionListToSelectComponent(
@@ -3689,78 +3710,48 @@ var InputGroup = ({
3689
3710
  const TextAreaInputGroup = () => {
3690
3711
  return /* @__PURE__ */ jsxs9("div", { className: "my-1 flex-1 flex flex-col relative", children: [
3691
3712
  /* @__PURE__ */ jsxs9("div", { className: "flex flex-row justify-between items-center", children: [
3692
- /* @__PURE__ */ jsx16("div", { children: title ? /* @__PURE__ */ jsx16("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null }),
3693
- /* @__PURE__ */ jsx16("div", { children: value && limit ? /* @__PURE__ */ jsxs9("p", { className: "text-md font-semibold pr-2 py-1 text-catchup-gray-400", children: [
3713
+ /* @__PURE__ */ jsx17("div", { children: title ? /* @__PURE__ */ jsx17("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null }),
3714
+ /* @__PURE__ */ jsx17("div", { children: value && limit ? /* @__PURE__ */ jsxs9("p", { className: "text-md font-semibold pr-2 py-1 text-catchup-gray-400", children: [
3694
3715
  value.length,
3695
3716
  " / ",
3696
3717
  limit
3697
3718
  ] }) : null })
3698
3719
  ] }),
3699
- /* @__PURE__ */ jsx16(
3720
+ /* @__PURE__ */ jsx17(
3700
3721
  "textarea",
3701
3722
  {
3702
3723
  ref: textAreaRef,
3703
3724
  disabled,
3704
- className: `w-full h-[44px] ${useMinHeight ? "min-h-[250px]" : ""} resize-none overflow-hidden py-2 px-4 border ${errorText ? "border-catchup-red shadow-error placeholder:text-catchup-red placeholder:opacity-80" : "border-catchup-gray-100"} placeholder-catchup-gray-200 rounded-catchup-large focus:outline-none focus:border-catchup-blue-400 ${disabled ? "bg-catchup-lighter-gray" : ""} focus:shadow-input`,
3725
+ className: `w-full h-[44px] ${useMinHeight ? "min-h-[250px]" : ""} resize-none overflow-hidden py-2 px-4 border ${errorText ? "border-catchup-red shadow-error placeholder:text-catchup-red placeholder:opacity-80" : "border-catchup-gray-100"} placeholder-catchup-gray-200 rounded-catchup-large focus:outline-none focus:border-catchup-blue-400 ${disabled ? "bg-catchup-lighter-gray" : ""} focus:shadow-input ${useMath ? "pr-20" : ""}`,
3705
3726
  placeholder: errorText ? errorText : placeholder,
3706
3727
  value,
3707
- onLoad: (e) => {
3708
- console.log(e);
3709
- },
3710
3728
  onChange: handleTextAreaOnChange,
3711
3729
  onFocus,
3712
3730
  onKeyDown
3713
3731
  }
3714
3732
  ),
3715
- useMath && isMathMode && /* @__PURE__ */ jsx16("div", { className: "absolute inset-0 bg-white border border-catchup-gray-100 rounded-catchup-large focus-within:border-catchup-blue-400 focus-within:shadow-input", children: /* @__PURE__ */ jsx16(
3716
- "math-field",
3717
- {
3718
- ref: mathFieldRef,
3719
- value: value || "",
3720
- onInput: handleMathFieldChange,
3721
- onFocus: handleMathFieldFocus,
3722
- placeholder: errorText ? errorText : placeholder,
3723
- disabled,
3724
- "virtual-keyboard-mode": "off",
3725
- "smart-fence": true,
3726
- "smart-mode": true,
3727
- "smart-superscript": true,
3728
- style: {
3729
- fontSize: "16px",
3730
- padding: "8px 16px",
3731
- border: "none",
3732
- outline: "none",
3733
- width: "100%",
3734
- height: "100%",
3735
- backgroundColor: "transparent",
3736
- borderRadius: "16px",
3737
- fontFamily: "inherit",
3738
- color: disabled ? "#9ca3af" : "#000000"
3739
- }
3740
- }
3741
- ) }),
3742
- useMath && /* @__PURE__ */ jsx16(
3733
+ useMath && /* @__PURE__ */ jsx17(
3743
3734
  "button",
3744
3735
  {
3745
- className: "absolute right-2 top-1/2 transform -translate-y-1/2 bg-catchup-white border border-catchup-gray-100 rounded-md px-3 py-1 shadow-sm hover:shadow-md transition-shadow duration-200 z-10",
3746
- onClick: () => setShowMathOverlay(true),
3736
+ className: "absolute right-2 top-1/2 transform -translate-y-1/2 bg-catchup-blue-400 text-white rounded-md px-3 py-1 shadow-sm hover:bg-catchup-blue-500 transition-colors duration-200 z-10",
3737
+ onClick: handleOpenMathConstructor,
3747
3738
  type: "button",
3748
3739
  children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-1", children: [
3749
- /* @__PURE__ */ jsx16("span", { className: "text-sm font-medium text-catchup-gray-400", children: isMathMode ? "\u{1D453}(x)" : "Aa" }),
3750
- /* @__PURE__ */ jsx16(
3740
+ /* @__PURE__ */ jsx17("span", { className: "text-sm font-medium", children: "\u{1D453}(x)" }),
3741
+ /* @__PURE__ */ jsx17(
3751
3742
  "svg",
3752
3743
  {
3753
- className: "w-3 h-3 text-catchup-gray-300",
3744
+ className: "w-3 h-3",
3754
3745
  fill: "none",
3755
3746
  stroke: "currentColor",
3756
3747
  viewBox: "0 0 24 24",
3757
- children: /* @__PURE__ */ jsx16(
3748
+ children: /* @__PURE__ */ jsx17(
3758
3749
  "path",
3759
3750
  {
3760
3751
  strokeLinecap: "round",
3761
3752
  strokeLinejoin: "round",
3762
3753
  strokeWidth: 2,
3763
- d: "M19 9l-7 7-7-7"
3754
+ d: "M12 6v6m0 0v6m0-6h6m-6 0H6"
3764
3755
  }
3765
3756
  )
3766
3757
  }
@@ -3772,42 +3763,16 @@ var InputGroup = ({
3772
3763
  };
3773
3764
  const TextInputGroup = () => {
3774
3765
  return /* @__PURE__ */ jsxs9("div", { className: "my-1 relative", children: [
3775
- title ? /* @__PURE__ */ jsx16("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3776
- /* @__PURE__ */ jsx16(
3766
+ title ? /* @__PURE__ */ jsx17("p", { className: "text-md font-semibold pl-2 py-1 text-catchup-gray-400", children: title }) : null,
3767
+ /* @__PURE__ */ jsx17(
3777
3768
  "div",
3778
3769
  {
3779
3770
  className: `w-full border ${errorText ? "border-catchup-red shadow-error" : "border-catchup-gray-100"} rounded-catchup-large focus-within:border-catchup-blue-400 focus-within:shadow-input ${disabled ? "bg-catchup-lighter-gray" : "bg-white"}`,
3780
- children: useMath && isMathMode ? /* @__PURE__ */ jsx16(
3781
- "math-field",
3782
- {
3783
- ref: mathFieldRef,
3784
- value: value || "",
3785
- onInput: handleMathFieldChange,
3786
- onFocus: handleMathFieldFocus,
3787
- placeholder: errorText ? errorText : placeholder,
3788
- disabled,
3789
- "virtual-keyboard-mode": "off",
3790
- "smart-fence": true,
3791
- "smart-mode": true,
3792
- "smart-superscript": true,
3793
- style: {
3794
- fontSize: "16px",
3795
- padding: "8px 16px",
3796
- border: "none",
3797
- outline: "none",
3798
- width: "100%",
3799
- minHeight: "44px",
3800
- backgroundColor: "transparent",
3801
- borderRadius: "16px",
3802
- fontFamily: "inherit",
3803
- color: disabled ? "#9ca3af" : "#000000"
3804
- }
3805
- }
3806
- ) : /* @__PURE__ */ jsx16(
3771
+ children: /* @__PURE__ */ jsx17(
3807
3772
  "input",
3808
3773
  {
3809
3774
  disabled,
3810
- className: `w-full py-2 px-4 border-none rounded-catchup-large focus:outline-none placeholder-catchup-gray-200 ${disabled ? "bg-catchup-lighter-gray" : ""} ${errorText ? "placeholder:text-catchup-red placeholder:opacity-80" : ""}`,
3775
+ className: `w-full py-2 px-4 border-none rounded-catchup-large focus:outline-none placeholder-catchup-gray-200 ${disabled ? "bg-catchup-lighter-gray" : ""} ${errorText ? "placeholder:text-catchup-red placeholder:opacity-80" : ""} ${useMath ? "pr-20" : ""}`,
3811
3776
  type,
3812
3777
  defaultValue,
3813
3778
  placeholder: errorText ? errorText : placeholder,
@@ -3819,28 +3784,28 @@ var InputGroup = ({
3819
3784
  )
3820
3785
  }
3821
3786
  ),
3822
- useMath && /* @__PURE__ */ jsx16(
3787
+ useMath && /* @__PURE__ */ jsx17(
3823
3788
  "button",
3824
3789
  {
3825
- className: "absolute right-2 top-1/2 transform -translate-y-1/2 bg-catchup-white border border-catchup-gray-100 rounded-md px-3 py-1 shadow-sm hover:shadow-md transition-shadow duration-200",
3826
- onClick: () => setShowMathOverlay(true),
3790
+ className: "absolute right-2 top-1/2 transform -translate-y-1/2 bg-catchup-blue-400 text-white rounded-md px-3 py-1 shadow-sm hover:bg-catchup-blue-500 transition-colors duration-200",
3791
+ onClick: handleOpenMathConstructor,
3827
3792
  type: "button",
3828
3793
  children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-1", children: [
3829
- /* @__PURE__ */ jsx16("span", { className: "text-sm font-medium text-catchup-gray-400", children: isMathMode ? "\u{1D453}(x)" : "Aa" }),
3830
- /* @__PURE__ */ jsx16(
3794
+ /* @__PURE__ */ jsx17("span", { className: "text-sm font-medium", children: "\u{1D453}(x)" }),
3795
+ /* @__PURE__ */ jsx17(
3831
3796
  "svg",
3832
3797
  {
3833
- className: "w-3 h-3 text-catchup-gray-300",
3798
+ className: "w-3 h-3",
3834
3799
  fill: "none",
3835
3800
  stroke: "currentColor",
3836
3801
  viewBox: "0 0 24 24",
3837
- children: /* @__PURE__ */ jsx16(
3802
+ children: /* @__PURE__ */ jsx17(
3838
3803
  "path",
3839
3804
  {
3840
3805
  strokeLinecap: "round",
3841
3806
  strokeLinejoin: "round",
3842
3807
  strokeWidth: 2,
3843
- d: "M19 9l-7 7-7-7"
3808
+ d: "M12 6v6m0 0v6m0-6h6m-6 0H6"
3844
3809
  }
3845
3810
  )
3846
3811
  }
@@ -3869,7 +3834,7 @@ var InputGroup = ({
3869
3834
  };
3870
3835
  return /* @__PURE__ */ jsxs9(Fragment, { children: [
3871
3836
  RenderMainContent(),
3872
- /* @__PURE__ */ jsx16(MathModeOverlay, {})
3837
+ /* @__PURE__ */ jsx17(MathConstructorModal, {})
3873
3838
  ] });
3874
3839
  };
3875
3840
  var InputGroup_default = InputGroup;
@@ -3977,7 +3942,7 @@ var getColorByIndex = (index) => {
3977
3942
 
3978
3943
  // src/components/dropdowns/MediaDropdown.tsx
3979
3944
  import { useState as useState11 } from "react";
3980
- import { jsx as jsx17, jsxs as jsxs10 } from "react/jsx-runtime";
3945
+ import { jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
3981
3946
  var MediaDropdown = ({ id, answer, optionList }) => {
3982
3947
  const [showDropdown, setShowDropdown] = useState11(false);
3983
3948
  return /* @__PURE__ */ jsxs10(
@@ -3991,8 +3956,8 @@ var MediaDropdown = ({ id, answer, optionList }) => {
3991
3956
  setShowDropdown(false);
3992
3957
  },
3993
3958
  children: [
3994
- /* @__PURE__ */ jsx17("div", { className: "w-full flex flex-col items-center justify-center", children: answer }),
3995
- /* @__PURE__ */ jsx17(
3959
+ /* @__PURE__ */ jsx18("div", { className: "w-full flex flex-col items-center justify-center", children: answer }),
3960
+ /* @__PURE__ */ jsx18(
3996
3961
  "ul",
3997
3962
  {
3998
3963
  className: `absolute ${showDropdown ? "opacity-100 visible" : "opacity-0 invisible"} flex flex-col items-center w-[300px] rounded-catchup-xlarge border-3 transition-all duration-300 border-catchup-blue bg-catchup-white px-4 py-4 translate-x-1/2 right-1/2 mt-2 z-10`,
@@ -4001,7 +3966,7 @@ var MediaDropdown = ({ id, answer, optionList }) => {
4001
3966
  {
4002
3967
  className: `${option.listItemClassNames ? option.listItemClassNames : ""}`,
4003
3968
  children: [
4004
- /* @__PURE__ */ jsx17(
3969
+ /* @__PURE__ */ jsx18(
4005
3970
  "div",
4006
3971
  {
4007
3972
  className: `w-full flex flex-col my-2 ${option.divClassNames ? option.divClassNames : ""}`,
@@ -4009,7 +3974,7 @@ var MediaDropdown = ({ id, answer, optionList }) => {
4009
3974
  children: option.media
4010
3975
  }
4011
3976
  ),
4012
- index !== optionList.length - 1 ? /* @__PURE__ */ jsx17("div", { className: "w-full border my-1 border-catchup-light-blue rounded-catchup-full" }) : null
3977
+ index !== optionList.length - 1 ? /* @__PURE__ */ jsx18("div", { className: "w-full border my-1 border-catchup-light-blue rounded-catchup-full" }) : null
4013
3978
  ]
4014
3979
  },
4015
3980
  option.id
@@ -4026,7 +3991,7 @@ var MediaDropdown_default = MediaDropdown;
4026
3991
  // src/components/activities/material-content/ShowMaterialMediaByContentType.tsx
4027
3992
  import { useEffect as useEffect3, useRef as useRef2, useState as useState12 } from "react";
4028
3993
  import Modal3 from "react-modal";
4029
- import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
3994
+ import { jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
4030
3995
  var ShowMaterialMediaByContentType = ({
4031
3996
  key,
4032
3997
  contentType,
@@ -4054,7 +4019,7 @@ var ShowMaterialMediaByContentType = ({
4054
4019
  }
4055
4020
  }, [isLoaded, key]);
4056
4021
  const RenderShowFullScreenItem = () => {
4057
- return /* @__PURE__ */ jsx18(
4022
+ return /* @__PURE__ */ jsx19(
4058
4023
  Modal3,
4059
4024
  {
4060
4025
  isOpen: showFullScreen,
@@ -4086,7 +4051,7 @@ var ShowMaterialMediaByContentType = ({
4086
4051
  },
4087
4052
  contentLabel: "",
4088
4053
  children: /* @__PURE__ */ jsxs11("div", { className: "flex-1 flex flex-col", children: [
4089
- /* @__PURE__ */ jsx18("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ jsx18(
4054
+ /* @__PURE__ */ jsx19("div", { className: "ml-auto px-5 py-3", children: /* @__PURE__ */ jsx19(
4090
4055
  BaseImage_default,
4091
4056
  {
4092
4057
  src: "/icons/cross-red.webp",
@@ -4098,7 +4063,7 @@ var ShowMaterialMediaByContentType = ({
4098
4063
  }
4099
4064
  }
4100
4065
  ) }),
4101
- /* @__PURE__ */ jsx18("div", { className: "flex items-center justify-center h-[500px]", children: /* @__PURE__ */ jsx18(
4066
+ /* @__PURE__ */ jsx19("div", { className: "flex items-center justify-center h-[500px]", children: /* @__PURE__ */ jsx19(
4102
4067
  BaseImage_default,
4103
4068
  {
4104
4069
  src: selectedFullScreenItem,
@@ -4113,12 +4078,12 @@ var ShowMaterialMediaByContentType = ({
4113
4078
  };
4114
4079
  return contentType === "IMAGE" ? /* @__PURE__ */ jsxs11("div", { children: [
4115
4080
  RenderShowFullScreenItem(),
4116
- /* @__PURE__ */ jsx18("div", { className: "my-2", children: /* @__PURE__ */ jsx18("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsxs11(
4081
+ /* @__PURE__ */ jsx19("div", { className: "my-2", children: /* @__PURE__ */ jsx19("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsxs11(
4117
4082
  "div",
4118
4083
  {
4119
4084
  className: `${isFullHeight ? "h-catchup-activity-box-item" : "max-w-catchup-activity-box-item"} flex flex-col justify-center items-center relative`,
4120
4085
  children: [
4121
- /* @__PURE__ */ jsx18(
4086
+ /* @__PURE__ */ jsx19(
4122
4087
  BaseImage_default,
4123
4088
  {
4124
4089
  src,
@@ -4131,7 +4096,7 @@ var ShowMaterialMediaByContentType = ({
4131
4096
  }
4132
4097
  }
4133
4098
  ),
4134
- src !== null && src !== "" && src !== "DEFAULT_OPTION" && canFullScreen ? /* @__PURE__ */ jsx18(
4099
+ src !== null && src !== "" && src !== "DEFAULT_OPTION" && canFullScreen ? /* @__PURE__ */ jsx19(
4135
4100
  "div",
4136
4101
  {
4137
4102
  className: "absolute flex items-center justify-center top-2 right-2 h-6 w-6 cursor-pointer border rounded-catchup-xlarge border-catchup-blue p-1",
@@ -4143,7 +4108,7 @@ var ShowMaterialMediaByContentType = ({
4143
4108
  setShowFullScreen(true);
4144
4109
  setSelectedFullScreenItem(src);
4145
4110
  },
4146
- children: /* @__PURE__ */ jsx18(
4111
+ children: /* @__PURE__ */ jsx19(
4147
4112
  BaseImage_default,
4148
4113
  {
4149
4114
  src: "/icons/arrow-up.webp",
@@ -4157,7 +4122,7 @@ var ShowMaterialMediaByContentType = ({
4157
4122
  ]
4158
4123
  }
4159
4124
  ) }) })
4160
- ] }, key) : contentType === "VIDEO" ? /* @__PURE__ */ jsx18("div", { className: "my-2", children: /* @__PURE__ */ jsx18("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsx18("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ jsx18(
4125
+ ] }, key) : contentType === "VIDEO" ? /* @__PURE__ */ jsx19("div", { className: "my-2", children: /* @__PURE__ */ jsx19("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsx19("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ jsx19(
4161
4126
  "video",
4162
4127
  {
4163
4128
  className: "h-catchup-activity-box-item rounded-catchup-xlarge",
@@ -4166,7 +4131,7 @@ var ShowMaterialMediaByContentType = ({
4166
4131
  onClick: () => {
4167
4132
  }
4168
4133
  }
4169
- ) }) }) }) : contentType === "AUDIO" ? /* @__PURE__ */ jsx18("div", { className: "my-2", children: /* @__PURE__ */ jsx18("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsx18("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ jsx18(
4134
+ ) }) }) }) : contentType === "AUDIO" ? /* @__PURE__ */ jsx19("div", { className: "my-2", children: /* @__PURE__ */ jsx19("div", { className: "h-full flex flex-row flex-wrap items-center", children: /* @__PURE__ */ jsx19("div", { className: "h-full flex flex-col justify-center items-center", children: /* @__PURE__ */ jsx19(
4170
4135
  "audio",
4171
4136
  {
4172
4137
  className: "h-catchup-activity-box-item rounded-catchup-xlarge",
@@ -4180,7 +4145,7 @@ var ShowMaterialMediaByContentType = ({
4180
4145
  var ShowMaterialMediaByContentType_default = ShowMaterialMediaByContentType;
4181
4146
 
4182
4147
  // src/components/activities/material-content/DropdownActivityMaterialContent.tsx
4183
- import { jsx as jsx19, jsxs as jsxs12 } from "react/jsx-runtime";
4148
+ import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
4184
4149
  var DropdownActivityMaterialContent = ({
4185
4150
  uniqueValue,
4186
4151
  answer,
@@ -4224,21 +4189,21 @@ var DropdownActivityMaterialContent = ({
4224
4189
  };
4225
4190
  const answerMap = retrieveAnswerMap();
4226
4191
  return /* @__PURE__ */ jsxs12("div", { className: "flex flex-row flex-wrap items-center", children: [
4227
- /* @__PURE__ */ jsx19("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx19("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_dropdown_text") }) }),
4228
- /* @__PURE__ */ jsx19("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx19(DividerLine_default, {}) }),
4229
- /* @__PURE__ */ jsx19("div", { className: "w-full flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4192
+ /* @__PURE__ */ jsx20("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx20("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_dropdown_text") }) }),
4193
+ /* @__PURE__ */ jsx20("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx20(DividerLine_default, {}) }),
4194
+ /* @__PURE__ */ jsx20("div", { className: "w-full flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4230
4195
  const answerKey = Object.keys(materialMap[materialKey])[0];
4231
4196
  const learnerAnswerState = checkAnswerState(
4232
4197
  answerKey,
4233
4198
  answerMap[materialKey]
4234
4199
  );
4235
- return /* @__PURE__ */ jsx19("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ jsx19("div", { className: "mx-2", children: /* @__PURE__ */ jsxs12("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4236
- /* @__PURE__ */ jsx19("div", { className: "my-auto", children: /* @__PURE__ */ jsxs12("p", { className: "text-xl", children: [
4200
+ return /* @__PURE__ */ jsx20("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ jsx20("div", { className: "mx-2", children: /* @__PURE__ */ jsxs12("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4201
+ /* @__PURE__ */ jsx20("div", { className: "my-auto", children: /* @__PURE__ */ jsxs12("p", { className: "text-xl", children: [
4237
4202
  parseFloat(materialKey) + 1,
4238
4203
  "."
4239
4204
  ] }) }),
4240
4205
  /* @__PURE__ */ jsxs12("div", { className: "w-full relative", children: [
4241
- /* @__PURE__ */ jsx19("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ jsx19("div", { className: "flex-1", children: /* @__PURE__ */ jsx19(
4206
+ /* @__PURE__ */ jsx20("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ jsx20("div", { className: "flex-1", children: /* @__PURE__ */ jsx20(
4242
4207
  InputGroup_default,
4243
4208
  {
4244
4209
  type: "select",
@@ -4246,13 +4211,13 @@ var DropdownActivityMaterialContent = ({
4246
4211
  optionList: shuffleArray(
4247
4212
  materialMap[materialKey][answerKey]
4248
4213
  ).map((materialOption) => ({
4249
- text: /* @__PURE__ */ jsx19("span", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4214
+ text: /* @__PURE__ */ jsx20("span", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4250
4215
  materialOption
4251
- ).map((inputPart, index2) => /* @__PURE__ */ jsx19(
4216
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx20(
4252
4217
  "span",
4253
4218
  {
4254
4219
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4255
- children: inputPart.isEquation ? /* @__PURE__ */ jsx19("span", { className: "text-2xl", children: /* @__PURE__ */ jsx19(
4220
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx20("span", { className: "text-2xl", children: /* @__PURE__ */ jsx20(
4256
4221
  InlineMath2,
4257
4222
  {
4258
4223
  math: inputPart.value
@@ -4267,11 +4232,11 @@ var DropdownActivityMaterialContent = ({
4267
4232
  onChange(answer, materialKey, e.target.value);
4268
4233
  }
4269
4234
  }
4270
- ) }) : /* @__PURE__ */ jsx19(
4235
+ ) }) : /* @__PURE__ */ jsx20(
4271
4236
  MediaDropdown_default,
4272
4237
  {
4273
4238
  id: materialKey,
4274
- answer: answerMap[materialKey] === "DEFAULT_OPTION" ? /* @__PURE__ */ jsx19("div", { className: "w-catchup-activity-box-item border h-catchup-activity-box-item rounded-catchup-xlarge border-dashed border-catchup-blue", children: /* @__PURE__ */ jsx19("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ jsx19("span", { className: "italic", children: i18n_default.t("please_select") }) }) }) : /* @__PURE__ */ jsx19(
4239
+ answer: answerMap[materialKey] === "DEFAULT_OPTION" ? /* @__PURE__ */ jsx20("div", { className: "w-catchup-activity-box-item border h-catchup-activity-box-item rounded-catchup-xlarge border-dashed border-catchup-blue", children: /* @__PURE__ */ jsx20("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ jsx20("span", { className: "italic", children: i18n_default.t("please_select") }) }) }) : /* @__PURE__ */ jsx20(
4275
4240
  ShowMaterialMediaByContentType_default,
4276
4241
  {
4277
4242
  contentType: contentMap.type,
@@ -4283,7 +4248,7 @@ var DropdownActivityMaterialContent = ({
4283
4248
  optionList: materialMap[materialKey][answerKey].map(
4284
4249
  (materialOption, index2) => ({
4285
4250
  id: index2,
4286
- media: /* @__PURE__ */ jsx19("div", { children: /* @__PURE__ */ jsx19(
4251
+ media: /* @__PURE__ */ jsx20("div", { children: /* @__PURE__ */ jsx20(
4287
4252
  ShowMaterialMediaByContentType_default,
4288
4253
  {
4289
4254
  contentType: contentMap.type,
@@ -4302,24 +4267,24 @@ var DropdownActivityMaterialContent = ({
4302
4267
  })
4303
4268
  )
4304
4269
  }
4305
- ) : /* @__PURE__ */ jsx19("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4270
+ ) : /* @__PURE__ */ jsx20("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4306
4271
  answerMap[materialKey]
4307
- ).map((inputPart, index2) => /* @__PURE__ */ jsx19(
4272
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx20(
4308
4273
  "span",
4309
4274
  {
4310
4275
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4311
- children: inputPart.isEquation ? /* @__PURE__ */ jsx19("span", { className: "text-2xl", children: /* @__PURE__ */ jsx19(InlineMath2, { math: inputPart.value }) }) : inputPart.value
4276
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx20("span", { className: "text-2xl", children: /* @__PURE__ */ jsx20(InlineMath2, { math: inputPart.value }) }) : inputPart.value
4312
4277
  },
4313
4278
  index2
4314
4279
  )) }) }),
4315
- learnerAnswerState === "CORRECT" ? /* @__PURE__ */ jsx19("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ jsx19(
4280
+ learnerAnswerState === "CORRECT" ? /* @__PURE__ */ jsx20("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ jsx20(
4316
4281
  BaseImage_default,
4317
4282
  {
4318
4283
  src: "/icons/checkbox.webp",
4319
4284
  alt: "chekbbox",
4320
4285
  size: "small"
4321
4286
  }
4322
- ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ jsx19("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ jsx19(
4287
+ ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ jsx20("div", { className: "absolute -top-2 right-3 bg-catchup-white", children: /* @__PURE__ */ jsx20(
4323
4288
  BaseImage_default,
4324
4289
  {
4325
4290
  src: "/icons/cross-red.webp",
@@ -4336,7 +4301,7 @@ var DropdownActivityMaterialContent_default = DropdownActivityMaterialContent;
4336
4301
 
4337
4302
  // src/components/activities/DropdownActivityContent.tsx
4338
4303
  import { useState as useState14, useEffect as useEffect5 } from "react";
4339
- import { jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
4304
+ import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
4340
4305
  var DropdownActivityContent = ({
4341
4306
  answer,
4342
4307
  data,
@@ -4379,7 +4344,7 @@ var DropdownActivityContent = ({
4379
4344
  changeAnswer(newAnswer);
4380
4345
  };
4381
4346
  return /* @__PURE__ */ jsxs13("div", { className: "flex flex-row flex-wrap", children: [
4382
- /* @__PURE__ */ jsx20("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx20(
4347
+ /* @__PURE__ */ jsx21("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx21(
4383
4348
  ActivityBodyContent_default,
4384
4349
  {
4385
4350
  bodyMap: dropdownBodyMap,
@@ -4388,9 +4353,9 @@ var DropdownActivityContent = ({
4388
4353
  templateType: "DROPDOWN"
4389
4354
  }
4390
4355
  ) }),
4391
- /* @__PURE__ */ jsx20("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx20(DividerLine_default, {}) }),
4392
- /* @__PURE__ */ jsx20("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx20(VerticalDividerLine_default, {}) }),
4393
- /* @__PURE__ */ jsx20("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx20(
4356
+ /* @__PURE__ */ jsx21("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx21(DividerLine_default, {}) }),
4357
+ /* @__PURE__ */ jsx21("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx21(VerticalDividerLine_default, {}) }),
4358
+ /* @__PURE__ */ jsx21("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx21(
4394
4359
  DropdownActivityMaterialContent_default,
4395
4360
  {
4396
4361
  uniqueValue: JSON.stringify(data.contentMap),
@@ -4415,7 +4380,7 @@ import { useDrop as useDrop2 } from "react-dnd";
4415
4380
 
4416
4381
  // src/components/dnds/DraggableItem.tsx
4417
4382
  import { useDrag } from "react-dnd";
4418
- import { jsx as jsx21 } from "react/jsx-runtime";
4383
+ import { jsx as jsx22 } from "react/jsx-runtime";
4419
4384
  var DraggableItem = ({
4420
4385
  key,
4421
4386
  item,
@@ -4437,11 +4402,11 @@ var DraggableItem = ({
4437
4402
  })
4438
4403
  });
4439
4404
  const opacity = isDragging ? 0.4 : 1;
4440
- return /* @__PURE__ */ jsx21(
4405
+ return /* @__PURE__ */ jsx22(
4441
4406
  "div",
4442
4407
  {
4443
4408
  className: `${isDragging ? "w-[0px] opacity-0" : "opacity-100"} transition-all duration-500`,
4444
- children: /* @__PURE__ */ jsx21("div", { ref: drag, className: "", style: { opacity }, children: component })
4409
+ children: /* @__PURE__ */ jsx22("div", { ref: drag, className: "", style: { opacity }, children: component })
4445
4410
  },
4446
4411
  key
4447
4412
  );
@@ -4451,7 +4416,7 @@ var DraggableItem_default = DraggableItem;
4451
4416
  // src/components/dnds/DroppableItem.tsx
4452
4417
  import { useRef as useRef3 } from "react";
4453
4418
  import { useDrop } from "react-dnd";
4454
- import { jsx as jsx22 } from "react/jsx-runtime";
4419
+ import { jsx as jsx23 } from "react/jsx-runtime";
4455
4420
  var DroppableItem = ({
4456
4421
  key,
4457
4422
  item,
@@ -4471,7 +4436,7 @@ var DroppableItem = ({
4471
4436
  }
4472
4437
  });
4473
4438
  dropRef(drop(ref));
4474
- return /* @__PURE__ */ jsx22(
4439
+ return /* @__PURE__ */ jsx23(
4475
4440
  "div",
4476
4441
  {
4477
4442
  className: `w-full transition-all duration-500 h-full`,
@@ -4484,7 +4449,7 @@ var DroppableItem = ({
4484
4449
  var DroppableItem_default = DroppableItem;
4485
4450
 
4486
4451
  // src/components/activities/material-content/FillInTheBlanksActivityMaterialContent.tsx
4487
- import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
4452
+ import { jsx as jsx24, jsxs as jsxs14 } from "react/jsx-runtime";
4488
4453
  var FillInTheBlanksActivityMaterialContent = ({
4489
4454
  uniqueValue,
4490
4455
  answer,
@@ -4545,10 +4510,10 @@ var FillInTheBlanksActivityMaterialContent = ({
4545
4510
  const answerMap = retrieveAnswerMap();
4546
4511
  return /* @__PURE__ */ jsxs14("div", { className: "flex flex-row flex-wrap items-center", onMouseUp: () => {
4547
4512
  }, children: [
4548
- /* @__PURE__ */ jsx23("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx23("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_fill_in_the_blanks_text") }) }),
4549
- /* @__PURE__ */ jsx23("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx23(DividerLine_default, {}) }),
4550
- /* @__PURE__ */ jsx23("div", { className: "w-full flex flex-row flex-wrap gap-x-2 gap-y-2 my-2", children: shuffleOptionList.map(
4551
- (option, index) => checkAnswerProvided(answerMap, option) ? /* @__PURE__ */ jsx23("div", { className: "opacity-30", children: /* @__PURE__ */ jsx23(
4513
+ /* @__PURE__ */ jsx24("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx24("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_fill_in_the_blanks_text") }) }),
4514
+ /* @__PURE__ */ jsx24("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx24(DividerLine_default, {}) }),
4515
+ /* @__PURE__ */ jsx24("div", { className: "w-full flex flex-row flex-wrap gap-x-2 gap-y-2 my-2", children: shuffleOptionList.map(
4516
+ (option, index) => checkAnswerProvided(answerMap, option) ? /* @__PURE__ */ jsx24("div", { className: "opacity-30", children: /* @__PURE__ */ jsx24(
4552
4517
  ShowMaterialMediaByContentType_default,
4553
4518
  {
4554
4519
  contentType: contentMap.type,
@@ -4556,12 +4521,12 @@ var FillInTheBlanksActivityMaterialContent = ({
4556
4521
  canFullScreen: true
4557
4522
  },
4558
4523
  `${uniqueValue}-${index}`
4559
- ) }, index) : /* @__PURE__ */ jsx23(
4524
+ ) }, index) : /* @__PURE__ */ jsx24(
4560
4525
  DraggableItem_default,
4561
4526
  {
4562
4527
  item: { index: option },
4563
4528
  type: "FILL_IN_THE_BLANKS",
4564
- component: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx23(
4529
+ component: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx24(
4565
4530
  "div",
4566
4531
  {
4567
4532
  className: "border-catchup-blue border-2 px-2 py-1 rounded-catchup-xlarge cursor-pointer",
@@ -4569,9 +4534,9 @@ var FillInTheBlanksActivityMaterialContent = ({
4569
4534
  setSelectedOption(option);
4570
4535
  setPasteOptionIndex(null);
4571
4536
  },
4572
- children: /* @__PURE__ */ jsx23("p", { className: "italic whitespace-pre-wrap", children: option })
4537
+ children: /* @__PURE__ */ jsx24("p", { className: "italic whitespace-pre-wrap", children: option })
4573
4538
  }
4574
- ) : /* @__PURE__ */ jsx23(
4539
+ ) : /* @__PURE__ */ jsx24(
4575
4540
  "div",
4576
4541
  {
4577
4542
  className: "border-catchup-blue border-2 px-2 py-1 rounded-catchup-xlarge cursor-pointer",
@@ -4579,7 +4544,7 @@ var FillInTheBlanksActivityMaterialContent = ({
4579
4544
  setSelectedOption(option);
4580
4545
  setPasteOptionIndex(null);
4581
4546
  },
4582
- children: /* @__PURE__ */ jsx23(
4547
+ children: /* @__PURE__ */ jsx24(
4583
4548
  ShowMaterialMediaByContentType_default,
4584
4549
  {
4585
4550
  contentType: contentMap.type,
@@ -4597,12 +4562,12 @@ var FillInTheBlanksActivityMaterialContent = ({
4597
4562
  index
4598
4563
  )
4599
4564
  ) }),
4600
- /* @__PURE__ */ jsx23("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4565
+ /* @__PURE__ */ jsx24("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
4601
4566
  const learnerAnswerState = checkAnswerState(
4602
4567
  JSON.parse(materialMap[materialKey]),
4603
4568
  answerMap[materialKey]
4604
4569
  );
4605
- return /* @__PURE__ */ jsx23("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ jsx23("div", { className: "mx-2", children: /* @__PURE__ */ jsx23(
4570
+ return /* @__PURE__ */ jsx24("div", { className: "w-full md:w-1/2", children: /* @__PURE__ */ jsx24("div", { className: "mx-2", children: /* @__PURE__ */ jsx24(
4606
4571
  DroppableItem_default,
4607
4572
  {
4608
4573
  item: { index },
@@ -4611,12 +4576,12 @@ var FillInTheBlanksActivityMaterialContent = ({
4611
4576
  setTarget: setPasteOptionIndex,
4612
4577
  dropRef: drop,
4613
4578
  component: /* @__PURE__ */ jsxs14("div", { className: "w-full flex flex-row my-2 gap-x-2", children: [
4614
- /* @__PURE__ */ jsx23("div", { className: "my-auto", children: /* @__PURE__ */ jsxs14("p", { className: "text-xl", children: [
4579
+ /* @__PURE__ */ jsx24("div", { className: "my-auto", children: /* @__PURE__ */ jsxs14("p", { className: "text-xl", children: [
4615
4580
  parseFloat(materialKey) + 1,
4616
4581
  "."
4617
4582
  ] }) }),
4618
- /* @__PURE__ */ jsx23("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ jsxs14("div", { className: "relative", children: [
4619
- /* @__PURE__ */ jsx23("div", { className: "flex-1", children: /* @__PURE__ */ jsx23(
4583
+ /* @__PURE__ */ jsx24("div", { className: "flex-1", children: checkCanAnswerQuestion() ? contentMap.type === "TEXT" ? /* @__PURE__ */ jsxs14("div", { className: "relative", children: [
4584
+ /* @__PURE__ */ jsx24("div", { className: "flex-1", children: /* @__PURE__ */ jsx24(
4620
4585
  InputGroup_default,
4621
4586
  {
4622
4587
  type: "textarea",
@@ -4631,14 +4596,14 @@ var FillInTheBlanksActivityMaterialContent = ({
4631
4596
  }
4632
4597
  }
4633
4598
  ) }),
4634
- learnerAnswerState === "CORRECT" ? /* @__PURE__ */ jsx23("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ jsx23(
4599
+ learnerAnswerState === "CORRECT" ? /* @__PURE__ */ jsx24("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ jsx24(
4635
4600
  BaseImage_default,
4636
4601
  {
4637
4602
  src: "/icons/checkbox.webp",
4638
4603
  alt: "checkbox",
4639
4604
  size: "small"
4640
4605
  }
4641
- ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ jsx23("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ jsx23(
4606
+ ) }) : learnerAnswerState === "INCORRECT" ? /* @__PURE__ */ jsx24("div", { className: "absolute -top-[10px] right-4 bg-catchup-white", children: /* @__PURE__ */ jsx24(
4642
4607
  BaseImage_default,
4643
4608
  {
4644
4609
  src: "/icons/cross-red.webp",
@@ -4646,20 +4611,20 @@ var FillInTheBlanksActivityMaterialContent = ({
4646
4611
  size: "small"
4647
4612
  }
4648
4613
  ) }) : null
4649
- ] }) : answerMap[materialKey] === "" ? /* @__PURE__ */ jsx23(
4614
+ ] }) : answerMap[materialKey] === "" ? /* @__PURE__ */ jsx24(
4650
4615
  "div",
4651
4616
  {
4652
4617
  className: `w-catchup-activity-box-item border h-catchup-activity-box-item rounded-catchup-xlarge border-dashed ${learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"}`,
4653
- children: /* @__PURE__ */ jsx23("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ jsx23("span", { className: "italic", children: i18n_default.t("please_drop_here") }) })
4618
+ children: /* @__PURE__ */ jsx24("div", { className: "h-full flex flex-col items-center justify-center px-4 py-2", children: /* @__PURE__ */ jsx24("span", { className: "italic", children: i18n_default.t("please_drop_here") }) })
4654
4619
  }
4655
- ) : /* @__PURE__ */ jsx23(
4620
+ ) : /* @__PURE__ */ jsx24(
4656
4621
  "div",
4657
4622
  {
4658
4623
  className: "flex-1 cursor-pointer",
4659
4624
  onClick: () => {
4660
4625
  onChange(answer, materialKey, "");
4661
4626
  },
4662
- children: /* @__PURE__ */ jsx23(
4627
+ children: /* @__PURE__ */ jsx24(
4663
4628
  ShowMaterialMediaByContentType_default,
4664
4629
  {
4665
4630
  contentType: contentMap.type,
@@ -4669,13 +4634,13 @@ var FillInTheBlanksActivityMaterialContent = ({
4669
4634
  `${uniqueValue}-${index}`
4670
4635
  )
4671
4636
  }
4672
- ) : /* @__PURE__ */ jsx23("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
4637
+ ) : /* @__PURE__ */ jsx24("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
4673
4638
  answerMap[materialKey]
4674
- ).map((inputPart, index2) => /* @__PURE__ */ jsx23(
4639
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx24(
4675
4640
  "span",
4676
4641
  {
4677
4642
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4678
- children: inputPart.isEquation ? /* @__PURE__ */ jsx23("span", { className: "text-2xl", children: /* @__PURE__ */ jsx23(InlineMath3, { math: inputPart.value }) }) : inputPart.value
4643
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx24("span", { className: "text-2xl", children: /* @__PURE__ */ jsx24(InlineMath3, { math: inputPart.value }) }) : inputPart.value
4679
4644
  },
4680
4645
  index2
4681
4646
  )) }, materialKey) })
@@ -4690,7 +4655,7 @@ var FillInTheBlanksActivityMaterialContent_default = FillInTheBlanksActivityMate
4690
4655
 
4691
4656
  // src/components/activities/FillInTheBlanksActivityContent.tsx
4692
4657
  import { useState as useState16, useEffect as useEffect7 } from "react";
4693
- import { jsx as jsx24, jsxs as jsxs15 } from "react/jsx-runtime";
4658
+ import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
4694
4659
  var FillInTheBlanksActivityContent = ({
4695
4660
  answer,
4696
4661
  data,
@@ -4758,7 +4723,7 @@ var FillInTheBlanksActivityContent = ({
4758
4723
  changeAnswer(newAnswer);
4759
4724
  };
4760
4725
  return /* @__PURE__ */ jsxs15("div", { className: "flex flex-row flex-wrap", children: [
4761
- /* @__PURE__ */ jsx24("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx24(
4726
+ /* @__PURE__ */ jsx25("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx25(
4762
4727
  ActivityBodyContent_default,
4763
4728
  {
4764
4729
  bodyMap: fillInTheBlanksBodyMap,
@@ -4767,9 +4732,9 @@ var FillInTheBlanksActivityContent = ({
4767
4732
  templateType: "FILL_IN_THE_BLANKS"
4768
4733
  }
4769
4734
  ) }),
4770
- /* @__PURE__ */ jsx24("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx24(DividerLine_default, {}) }),
4771
- /* @__PURE__ */ jsx24("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx24(VerticalDividerLine_default, {}) }),
4772
- /* @__PURE__ */ jsx24("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx24(
4735
+ /* @__PURE__ */ jsx25("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx25(DividerLine_default, {}) }),
4736
+ /* @__PURE__ */ jsx25("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx25(VerticalDividerLine_default, {}) }),
4737
+ /* @__PURE__ */ jsx25("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx25(
4773
4738
  FillInTheBlanksActivityMaterialContent_default,
4774
4739
  {
4775
4740
  uniqueValue: JSON.stringify(data.contentMap),
@@ -4828,7 +4793,7 @@ var useScreenSize = () => {
4828
4793
  var useScreenSize_default = useScreenSize;
4829
4794
 
4830
4795
  // src/components/activities/material-content/GroupingActivityMaterialContent.tsx
4831
- import { Fragment as Fragment2, jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
4796
+ import { Fragment as Fragment2, jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
4832
4797
  var GroupingActivityMaterialContent = ({
4833
4798
  uniqueValue,
4834
4799
  answer,
@@ -4928,18 +4893,18 @@ var GroupingActivityMaterialContent = ({
4928
4893
  const answerMap = retrieveAnswerMap();
4929
4894
  const filteredMaterialList = retrieveFilteredMaterialList(answerMap);
4930
4895
  return /* @__PURE__ */ jsxs16(Fragment2, { children: [
4931
- /* @__PURE__ */ jsx25(
4896
+ /* @__PURE__ */ jsx26(
4932
4897
  "div",
4933
4898
  {
4934
4899
  ref: itemsRef,
4935
4900
  className: "flex-1 flex flex-row gap-x-4 gap-y-4 overflow-auto py-2",
4936
4901
  children: filteredMaterialList.map((materialValue, index) => {
4937
- return /* @__PURE__ */ jsx25(
4902
+ return /* @__PURE__ */ jsx26(
4938
4903
  DraggableItem_default,
4939
4904
  {
4940
4905
  item: { index: materialValue },
4941
4906
  type: "GROUPING",
4942
- component: /* @__PURE__ */ jsx25(
4907
+ component: /* @__PURE__ */ jsx26(
4943
4908
  "div",
4944
4909
  {
4945
4910
  className: `${selectedValue === materialValue ? "border-catchup-blue" : "border-catchup-lighter-gray"} h-catchup-activity-covering-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge cursor-pointer transition-all duration-300`,
@@ -4953,22 +4918,22 @@ var GroupingActivityMaterialContent = ({
4953
4918
  setSelectedValue(null);
4954
4919
  }
4955
4920
  },
4956
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx25(
4921
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx26(
4957
4922
  "div",
4958
4923
  {
4959
4924
  className: `flex flex-col items-center justify-center m-4 min-h-[64px] min-w-[200px]`,
4960
- children: /* @__PURE__ */ jsx25("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4925
+ children: /* @__PURE__ */ jsx26("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
4961
4926
  materialValue
4962
- ).map((inputPart, index2) => /* @__PURE__ */ jsx25(
4927
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx26(
4963
4928
  "span",
4964
4929
  {
4965
4930
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
4966
- children: inputPart.isEquation ? /* @__PURE__ */ jsx25("span", { className: "text-2xl", children: /* @__PURE__ */ jsx25(InlineMath4, { math: inputPart.value }) }) : inputPart.value
4931
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx26("span", { className: "text-2xl", children: /* @__PURE__ */ jsx26(InlineMath4, { math: inputPart.value }) }) : inputPart.value
4967
4932
  },
4968
4933
  index2
4969
4934
  )) })
4970
4935
  }
4971
- ) : /* @__PURE__ */ jsx25(
4936
+ ) : /* @__PURE__ */ jsx26(
4972
4937
  ShowMaterialMediaByContentType_default,
4973
4938
  {
4974
4939
  contentType: contentMap.type,
@@ -4993,22 +4958,22 @@ var GroupingActivityMaterialContent = ({
4993
4958
  })
4994
4959
  }
4995
4960
  ),
4996
- filteredMaterialList.length > 0 ? /* @__PURE__ */ jsx25(DividerLine_default, {}) : null,
4961
+ filteredMaterialList.length > 0 ? /* @__PURE__ */ jsx26(DividerLine_default, {}) : null,
4997
4962
  Object.keys(answerMap).map((answerMapKey, index) => /* @__PURE__ */ jsxs16("div", { className: "flex flex-row w-full", children: [
4998
- /* @__PURE__ */ jsx25("div", { className: "w-1/3", children: /* @__PURE__ */ jsx25(
4963
+ /* @__PURE__ */ jsx26("div", { className: "w-1/3", children: /* @__PURE__ */ jsx26(
4999
4964
  "div",
5000
4965
  {
5001
4966
  className: `border-catchup-blue h-catchup-activity-outer-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge transition-all duration-300 my-3`,
5002
- children: /* @__PURE__ */ jsx25(
4967
+ children: /* @__PURE__ */ jsx26(
5003
4968
  "div",
5004
4969
  {
5005
4970
  className: `flex flex-col items-center justify-center transition-all duration-300 m-4`,
5006
- children: /* @__PURE__ */ jsx25("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
5007
- (inputPart, index2) => /* @__PURE__ */ jsx25(
4971
+ children: /* @__PURE__ */ jsx26("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
4972
+ (inputPart, index2) => /* @__PURE__ */ jsx26(
5008
4973
  "span",
5009
4974
  {
5010
4975
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5011
- children: inputPart.isEquation ? /* @__PURE__ */ jsx25("span", { className: "text-2xl", children: /* @__PURE__ */ jsx25(InlineMath4, { math: inputPart.value }) }) : inputPart.value
4976
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx26("span", { className: "text-2xl", children: /* @__PURE__ */ jsx26(InlineMath4, { math: inputPart.value }) }) : inputPart.value
5012
4977
  },
5013
4978
  index2
5014
4979
  )
@@ -5017,12 +4982,12 @@ var GroupingActivityMaterialContent = ({
5017
4982
  )
5018
4983
  }
5019
4984
  ) }),
5020
- /* @__PURE__ */ jsx25("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
5021
- /* @__PURE__ */ jsx25("div", { className: "flex-1", ref, children: /* @__PURE__ */ jsx25("div", { className: "h-full py-3", children: /* @__PURE__ */ jsx25(
4985
+ /* @__PURE__ */ jsx26("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
4986
+ /* @__PURE__ */ jsx26("div", { className: "flex-1", ref, children: /* @__PURE__ */ jsx26("div", { className: "h-full py-3", children: /* @__PURE__ */ jsx26(
5022
4987
  "div",
5023
4988
  {
5024
4989
  className: `${canDrop ? selectedTargetKey === answerMapKey ? "bg-catchup-light-blue" : "bg-catchup-light-blue opacity-40" : ""} flex-1 border-catchup-blue rounded-catchup-xlarge border-2 h-full p-1`,
5025
- children: /* @__PURE__ */ jsx25(
4990
+ children: /* @__PURE__ */ jsx26(
5026
4991
  DroppableItem_default,
5027
4992
  {
5028
4993
  item: { index: answerMapKey },
@@ -5030,7 +4995,7 @@ var GroupingActivityMaterialContent = ({
5030
4995
  target: selectedTargetKey,
5031
4996
  setTarget: setSelectedTargetKey,
5032
4997
  dropRef: drop,
5033
- component: /* @__PURE__ */ jsx25(
4998
+ component: /* @__PURE__ */ jsx26(
5034
4999
  "div",
5035
5000
  {
5036
5001
  className: "h-full flex-1 flex flex-row items-center overflow-x-auto",
@@ -5043,7 +5008,7 @@ var GroupingActivityMaterialContent = ({
5043
5008
  materialMap[answerMapKey],
5044
5009
  answerMapValue
5045
5010
  );
5046
- return /* @__PURE__ */ jsx25("div", { className: "p-1", children: /* @__PURE__ */ jsx25("div", { className: "h-catchup-activity-box-item", children: /* @__PURE__ */ jsx25(
5011
+ return /* @__PURE__ */ jsx26("div", { className: "p-1", children: /* @__PURE__ */ jsx26("div", { className: "h-catchup-activity-box-item", children: /* @__PURE__ */ jsx26(
5047
5012
  "div",
5048
5013
  {
5049
5014
  className: `${learnerAnswerState === "EMPTY" ? "border-catchup-lighter-gray" : learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"} border-2 rounded-catchup-xlarge h-full flex flex-col items-center justify-center transition-all duration-300 cursor-pointer`,
@@ -5059,17 +5024,17 @@ var GroupingActivityMaterialContent = ({
5059
5024
  setSelectedValue(null);
5060
5025
  }
5061
5026
  },
5062
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx25(
5027
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx26(
5063
5028
  "div",
5064
5029
  {
5065
5030
  className: `flex flex-col items-center justify-center transition-all duration-300 min-h-[64px] min-w-[200px]`,
5066
- children: /* @__PURE__ */ jsx25("div", { className: "m-2", children: /* @__PURE__ */ jsx25("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5031
+ children: /* @__PURE__ */ jsx26("div", { className: "m-2", children: /* @__PURE__ */ jsx26("p", { className: "text-xl text-center whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5067
5032
  answerMapValue
5068
- ).map((inputPart, index2) => /* @__PURE__ */ jsx25(
5033
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx26(
5069
5034
  "span",
5070
5035
  {
5071
5036
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5072
- children: inputPart.isEquation ? /* @__PURE__ */ jsx25("span", { className: "text-2xl", children: /* @__PURE__ */ jsx25(
5037
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx26("span", { className: "text-2xl", children: /* @__PURE__ */ jsx26(
5073
5038
  InlineMath4,
5074
5039
  {
5075
5040
  math: inputPart.value
@@ -5079,7 +5044,7 @@ var GroupingActivityMaterialContent = ({
5079
5044
  index2
5080
5045
  )) }) })
5081
5046
  }
5082
- ) : /* @__PURE__ */ jsx25(
5047
+ ) : /* @__PURE__ */ jsx26(
5083
5048
  ShowMaterialMediaByContentType_default,
5084
5049
  {
5085
5050
  contentType: contentMap.type,
@@ -5105,7 +5070,7 @@ var GroupingActivityMaterialContent = ({
5105
5070
  var GroupingActivityMaterialContent_default = GroupingActivityMaterialContent;
5106
5071
 
5107
5072
  // src/components/activities/GroupingActivityContent.tsx
5108
- import { Fragment as Fragment3, jsx as jsx26, jsxs as jsxs17 } from "react/jsx-runtime";
5073
+ import { Fragment as Fragment3, jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
5109
5074
  var GroupingActivityContent = ({
5110
5075
  answer,
5111
5076
  data,
@@ -5131,15 +5096,15 @@ var GroupingActivityContent = ({
5131
5096
  changeAnswer(answer2);
5132
5097
  };
5133
5098
  return /* @__PURE__ */ jsxs17(Fragment3, { children: [
5134
- /* @__PURE__ */ jsx26(
5099
+ /* @__PURE__ */ jsx27(
5135
5100
  ActivityBodyContent_default,
5136
5101
  {
5137
5102
  bodyMap: groupingBodyMap,
5138
5103
  templateType: "GROUPING"
5139
5104
  }
5140
5105
  ),
5141
- /* @__PURE__ */ jsx26(DividerLine_default, {}),
5142
- /* @__PURE__ */ jsx26(
5106
+ /* @__PURE__ */ jsx27(DividerLine_default, {}),
5107
+ /* @__PURE__ */ jsx27(
5143
5108
  GroupingActivityMaterialContent_default,
5144
5109
  {
5145
5110
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5160,7 +5125,7 @@ var GroupingActivityContent_default = GroupingActivityContent;
5160
5125
  import { useEffect as useEffect10, useRef as useRef5, useState as useState19 } from "react";
5161
5126
  import { useDrop as useDrop4 } from "react-dnd";
5162
5127
  import { InlineMath as InlineMath5 } from "react-katex";
5163
- import { Fragment as Fragment4, jsx as jsx27, jsxs as jsxs18 } from "react/jsx-runtime";
5128
+ import { Fragment as Fragment4, jsx as jsx28, jsxs as jsxs18 } from "react/jsx-runtime";
5164
5129
  var MatchingActivityMaterialContent = ({
5165
5130
  uniqueValue,
5166
5131
  answer,
@@ -5257,17 +5222,17 @@ var MatchingActivityMaterialContent = ({
5257
5222
  const answerMap = retrieveAnswerMap();
5258
5223
  const filteredMaterialList = retrieveFilteredMaterialList(answerMap);
5259
5224
  return /* @__PURE__ */ jsxs18(Fragment4, { children: [
5260
- /* @__PURE__ */ jsx27(
5225
+ /* @__PURE__ */ jsx28(
5261
5226
  "div",
5262
5227
  {
5263
5228
  ref: itemsRef,
5264
5229
  className: "flex-1 flex flex-row gap-x-4 gap-y-4 overflow-auto py-2",
5265
- children: filteredMaterialList.map((materialValue, index) => /* @__PURE__ */ jsx27(
5230
+ children: filteredMaterialList.map((materialValue, index) => /* @__PURE__ */ jsx28(
5266
5231
  DraggableItem_default,
5267
5232
  {
5268
5233
  item: { index: materialValue },
5269
5234
  type: "MATCHING",
5270
- component: /* @__PURE__ */ jsx27(
5235
+ component: /* @__PURE__ */ jsx28(
5271
5236
  "div",
5272
5237
  {
5273
5238
  className: `${selectedValue === materialValue ? "border-catchup-blue" : "border-catchup-lighter-gray"} h-catchup-activity-covering-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge cursor-pointer transition-all duration-300`,
@@ -5281,22 +5246,22 @@ var MatchingActivityMaterialContent = ({
5281
5246
  setSelectedValue(null);
5282
5247
  }
5283
5248
  },
5284
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx27(
5249
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx28(
5285
5250
  "div",
5286
5251
  {
5287
5252
  className: `flex flex-col items-center justify-center m-4 min-h-[64px] min-w-[200px]`,
5288
- children: /* @__PURE__ */ jsx27("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5253
+ children: /* @__PURE__ */ jsx28("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5289
5254
  materialValue
5290
- ).map((inputPart, index2) => /* @__PURE__ */ jsx27(
5255
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx28(
5291
5256
  "span",
5292
5257
  {
5293
5258
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5294
- children: inputPart.isEquation ? /* @__PURE__ */ jsx27("span", { className: "text-2xl", children: /* @__PURE__ */ jsx27(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5259
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx28("span", { className: "text-2xl", children: /* @__PURE__ */ jsx28(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5295
5260
  },
5296
5261
  index2
5297
5262
  )) })
5298
5263
  }
5299
- ) : /* @__PURE__ */ jsx27(
5264
+ ) : /* @__PURE__ */ jsx28(
5300
5265
  ShowMaterialMediaByContentType_default,
5301
5266
  {
5302
5267
  contentType: contentMap.type,
@@ -5320,27 +5285,27 @@ var MatchingActivityMaterialContent = ({
5320
5285
  ))
5321
5286
  }
5322
5287
  ),
5323
- filteredMaterialList.length > 0 ? /* @__PURE__ */ jsx27(DividerLine_default, {}) : null,
5288
+ filteredMaterialList.length > 0 ? /* @__PURE__ */ jsx28(DividerLine_default, {}) : null,
5324
5289
  Object.keys(answerMap).map((answerMapKey, index) => {
5325
5290
  const learnerAnswerState = checkAnswerState(
5326
5291
  materialMap[answerMapKey],
5327
5292
  answerMap[answerMapKey]
5328
5293
  );
5329
5294
  return /* @__PURE__ */ jsxs18("div", { className: "flex flex-row w-full", children: [
5330
- /* @__PURE__ */ jsx27("div", { className: "w-1/3", children: /* @__PURE__ */ jsx27(
5295
+ /* @__PURE__ */ jsx28("div", { className: "w-1/3", children: /* @__PURE__ */ jsx28(
5331
5296
  "div",
5332
5297
  {
5333
5298
  className: `h-catchup-activity-outer-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge transition-all duration-300 my-3 ${learnerAnswerState === "EMPTY" ? "border-catchup-blue" : learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"}`,
5334
- children: /* @__PURE__ */ jsx27(
5299
+ children: /* @__PURE__ */ jsx28(
5335
5300
  "div",
5336
5301
  {
5337
5302
  className: `flex flex-col items-center justify-center transition-all duration-300 m-4`,
5338
- children: /* @__PURE__ */ jsx27("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
5339
- (inputPart, index2) => /* @__PURE__ */ jsx27(
5303
+ children: /* @__PURE__ */ jsx28("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(answerMapKey).map(
5304
+ (inputPart, index2) => /* @__PURE__ */ jsx28(
5340
5305
  "span",
5341
5306
  {
5342
5307
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5343
- children: inputPart.isEquation ? /* @__PURE__ */ jsx27("span", { className: "text-2xl", children: /* @__PURE__ */ jsx27(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5308
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx28("span", { className: "text-2xl", children: /* @__PURE__ */ jsx28(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5344
5309
  },
5345
5310
  index2
5346
5311
  )
@@ -5349,8 +5314,8 @@ var MatchingActivityMaterialContent = ({
5349
5314
  )
5350
5315
  }
5351
5316
  ) }),
5352
- /* @__PURE__ */ jsx27("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
5353
- /* @__PURE__ */ jsx27("div", { className: "flex-1", children: /* @__PURE__ */ jsx27(
5317
+ /* @__PURE__ */ jsx28("div", { className: "mx-4 w-[2px] bg-catchup-lighter-gray" }),
5318
+ /* @__PURE__ */ jsx28("div", { className: "flex-1", children: /* @__PURE__ */ jsx28(
5354
5319
  "div",
5355
5320
  {
5356
5321
  className: `${canDrop ? selectedTargetKey === answerMapKey ? "bg-catchup-light-blue" : "bg-catchup-light-blue opacity-40" : ""} h-catchup-activity-outer-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge cursor-pointer transition-all duration-300 my-3 ${learnerAnswerState === "EMPTY" ? "border-catchup-blue" : learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"}`,
@@ -5359,7 +5324,7 @@ var MatchingActivityMaterialContent = ({
5359
5324
  setSelectedValue(null);
5360
5325
  }
5361
5326
  },
5362
- children: /* @__PURE__ */ jsx27(
5327
+ children: /* @__PURE__ */ jsx28(
5363
5328
  DroppableItem_default,
5364
5329
  {
5365
5330
  item: { index: answerMapKey },
@@ -5367,7 +5332,7 @@ var MatchingActivityMaterialContent = ({
5367
5332
  target: selectedTargetKey,
5368
5333
  setTarget: setSelectedTargetKey,
5369
5334
  dropRef: drop,
5370
- component: /* @__PURE__ */ jsx27(
5335
+ component: /* @__PURE__ */ jsx28(
5371
5336
  "div",
5372
5337
  {
5373
5338
  className: `h-full flex-1 flex flex-row items-center justify-center `,
@@ -5380,16 +5345,16 @@ var MatchingActivityMaterialContent = ({
5380
5345
  );
5381
5346
  }
5382
5347
  },
5383
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx27("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5348
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx28("p", { className: "text-xl p-5 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5384
5349
  answerMap[answerMapKey]
5385
- ).map((inputPart, index2) => /* @__PURE__ */ jsx27(
5350
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx28(
5386
5351
  "span",
5387
5352
  {
5388
5353
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5389
- children: inputPart.isEquation ? /* @__PURE__ */ jsx27("span", { className: "text-2xl", children: /* @__PURE__ */ jsx27(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5354
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx28("span", { className: "text-2xl", children: /* @__PURE__ */ jsx28(InlineMath5, { math: inputPart.value }) }) : inputPart.value
5390
5355
  },
5391
5356
  index2
5392
- )) }) : /* @__PURE__ */ jsx27(
5357
+ )) }) : /* @__PURE__ */ jsx28(
5393
5358
  ShowMaterialMediaByContentType_default,
5394
5359
  {
5395
5360
  contentType: contentMap.type,
@@ -5412,7 +5377,7 @@ var MatchingActivityMaterialContent = ({
5412
5377
  var MatchingActivityMaterialContent_default = MatchingActivityMaterialContent;
5413
5378
 
5414
5379
  // src/components/activities/MatchingActivityContent.tsx
5415
- import { Fragment as Fragment5, jsx as jsx28, jsxs as jsxs19 } from "react/jsx-runtime";
5380
+ import { Fragment as Fragment5, jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
5416
5381
  var MatchingActivityContent = ({
5417
5382
  answer,
5418
5383
  data,
@@ -5434,15 +5399,15 @@ var MatchingActivityContent = ({
5434
5399
  changeAnswer(answer2);
5435
5400
  };
5436
5401
  return /* @__PURE__ */ jsxs19(Fragment5, { children: [
5437
- /* @__PURE__ */ jsx28(
5402
+ /* @__PURE__ */ jsx29(
5438
5403
  ActivityBodyContent_default,
5439
5404
  {
5440
5405
  bodyMap: matchingBodyMap,
5441
5406
  templateType: "MATCHING"
5442
5407
  }
5443
5408
  ),
5444
- /* @__PURE__ */ jsx28(DividerLine_default, {}),
5445
- /* @__PURE__ */ jsx28(
5409
+ /* @__PURE__ */ jsx29(DividerLine_default, {}),
5410
+ /* @__PURE__ */ jsx29(
5446
5411
  MatchingActivityMaterialContent_default,
5447
5412
  {
5448
5413
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5461,7 +5426,7 @@ var MatchingActivityContent_default = MatchingActivityContent;
5461
5426
 
5462
5427
  // src/components/activities/material-content/MCMAActivityMaterialContent.tsx
5463
5428
  import { InlineMath as InlineMath6 } from "react-katex";
5464
- import { jsx as jsx29, jsxs as jsxs20 } from "react/jsx-runtime";
5429
+ import { jsx as jsx30, jsxs as jsxs20 } from "react/jsx-runtime";
5465
5430
  var MCMAActivityMaterialContent = ({
5466
5431
  uniqueValue,
5467
5432
  answer,
@@ -5494,10 +5459,10 @@ var MCMAActivityMaterialContent = ({
5494
5459
  const answerMap = retrieveAnswerMap();
5495
5460
  const correctAnswerList = retrieveCorrectAnswerList();
5496
5461
  return Object.keys(materialMap).map((materialKey, index) => {
5497
- return /* @__PURE__ */ jsx29("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs20("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5498
- /* @__PURE__ */ jsx29("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx29("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcma_text") }) }),
5499
- /* @__PURE__ */ jsx29("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx29(DividerLine_default, {}) }),
5500
- checkCanAnswerQuestion() ? /* @__PURE__ */ jsx29("div", { className: "flex flex-row w-full flex-wrap ", children: materialMap[materialKey].map(
5462
+ return /* @__PURE__ */ jsx30("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs20("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5463
+ /* @__PURE__ */ jsx30("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx30("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcma_text") }) }),
5464
+ /* @__PURE__ */ jsx30("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx30(DividerLine_default, {}) }),
5465
+ checkCanAnswerQuestion() ? /* @__PURE__ */ jsx30("div", { className: "flex flex-row w-full flex-wrap ", children: materialMap[materialKey].map(
5501
5466
  (materialSubKey, index2) => {
5502
5467
  const foundAnswer = answerMap[materialKey].find(
5503
5468
  (learnerAnswer) => learnerAnswer === materialSubKey
@@ -5518,7 +5483,7 @@ var MCMAActivityMaterialContent = ({
5518
5483
  onChange(answer, materialKey, materialSubKey);
5519
5484
  },
5520
5485
  children: [
5521
- /* @__PURE__ */ jsx29(
5486
+ /* @__PURE__ */ jsx30(
5522
5487
  BaseImage_default,
5523
5488
  {
5524
5489
  src: answerMap[materialKey].includes(materialSubKey) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -5528,16 +5493,16 @@ var MCMAActivityMaterialContent = ({
5528
5493
  }
5529
5494
  }
5530
5495
  ),
5531
- /* @__PURE__ */ jsx29("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx29("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5496
+ /* @__PURE__ */ jsx30("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx30("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5532
5497
  materialSubKey
5533
- ).map((inputPart, index3) => /* @__PURE__ */ jsx29(
5498
+ ).map((inputPart, index3) => /* @__PURE__ */ jsx30(
5534
5499
  "span",
5535
5500
  {
5536
5501
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5537
- children: inputPart.isEquation ? /* @__PURE__ */ jsx29("span", { className: "text-2xl", children: /* @__PURE__ */ jsx29(InlineMath6, { math: inputPart.value }) }) : inputPart.value
5502
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx30("span", { className: "text-2xl", children: /* @__PURE__ */ jsx30(InlineMath6, { math: inputPart.value }) }) : inputPart.value
5538
5503
  },
5539
5504
  index3
5540
- )) }) : /* @__PURE__ */ jsx29(
5505
+ )) }) : /* @__PURE__ */ jsx30(
5541
5506
  ShowMaterialMediaByContentType_default,
5542
5507
  {
5543
5508
  contentType: contentMap.type,
@@ -5551,13 +5516,13 @@ var MCMAActivityMaterialContent = ({
5551
5516
  index2
5552
5517
  );
5553
5518
  }
5554
- ) }) : /* @__PURE__ */ jsx29("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
5519
+ ) }) : /* @__PURE__ */ jsx30("p", { className: "text-xl", children: constructInputWithSpecialExpressionList(
5555
5520
  answerMap[materialKey]
5556
- ).map((inputPart, index2) => /* @__PURE__ */ jsx29(
5521
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx30(
5557
5522
  "span",
5558
5523
  {
5559
5524
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5560
- children: inputPart.isEquation ? /* @__PURE__ */ jsx29("span", { className: "text-2xl", children: /* @__PURE__ */ jsx29(InlineMath6, { math: inputPart.value }) }) : inputPart.value
5525
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx30("span", { className: "text-2xl", children: /* @__PURE__ */ jsx30(InlineMath6, { math: inputPart.value }) }) : inputPart.value
5561
5526
  },
5562
5527
  index2
5563
5528
  )) }, materialKey)
@@ -5567,7 +5532,7 @@ var MCMAActivityMaterialContent = ({
5567
5532
  var MCMAActivityMaterialContent_default = MCMAActivityMaterialContent;
5568
5533
 
5569
5534
  // src/components/activities/MCMAActivityContent.tsx
5570
- import { jsx as jsx30, jsxs as jsxs21 } from "react/jsx-runtime";
5535
+ import { jsx as jsx31, jsxs as jsxs21 } from "react/jsx-runtime";
5571
5536
  var MCMAActivityContent = ({
5572
5537
  answer,
5573
5538
  data,
@@ -5595,10 +5560,10 @@ var MCMAActivityContent = ({
5595
5560
  changeAnswer(answer2);
5596
5561
  };
5597
5562
  return /* @__PURE__ */ jsxs21("div", { className: "flex flex-row flex-wrap", children: [
5598
- /* @__PURE__ */ jsx30("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx30(ActivityBodyContent_default, { bodyMap: MCMABodyMap, templateType: "MCMA" }) }),
5599
- /* @__PURE__ */ jsx30("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx30(DividerLine_default, {}) }),
5600
- /* @__PURE__ */ jsx30("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx30(VerticalDividerLine_default, {}) }),
5601
- /* @__PURE__ */ jsx30("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx30(
5563
+ /* @__PURE__ */ jsx31("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx31(ActivityBodyContent_default, { bodyMap: MCMABodyMap, templateType: "MCMA" }) }),
5564
+ /* @__PURE__ */ jsx31("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx31(DividerLine_default, {}) }),
5565
+ /* @__PURE__ */ jsx31("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx31(VerticalDividerLine_default, {}) }),
5566
+ /* @__PURE__ */ jsx31("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx31(
5602
5567
  MCMAActivityMaterialContent_default,
5603
5568
  {
5604
5569
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5616,7 +5581,7 @@ var MCMAActivityContent_default = MCMAActivityContent;
5616
5581
 
5617
5582
  // src/components/activities/material-content/MCSAActivityMaterialContent.tsx
5618
5583
  import { InlineMath as InlineMath7 } from "react-katex";
5619
- import { jsx as jsx31, jsxs as jsxs22 } from "react/jsx-runtime";
5584
+ import { jsx as jsx32, jsxs as jsxs22 } from "react/jsx-runtime";
5620
5585
  var MCSAActivityMaterialContent = ({
5621
5586
  uniqueValue,
5622
5587
  answer,
@@ -5646,10 +5611,10 @@ var MCSAActivityMaterialContent = ({
5646
5611
  const answerMap = retrieveAnswerMap();
5647
5612
  const correctAnswer = retrieveCorrectAnswer();
5648
5613
  return Object.keys(materialMap).map((materialKey, index) => {
5649
- return /* @__PURE__ */ jsx31("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs22("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5650
- /* @__PURE__ */ jsx31("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx31("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcsa_text") }) }),
5651
- /* @__PURE__ */ jsx31("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx31(DividerLine_default, {}) }),
5652
- checkCanAnswerQuestion() ? /* @__PURE__ */ jsx31(
5614
+ return /* @__PURE__ */ jsx32("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs22("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5615
+ /* @__PURE__ */ jsx32("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx32("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcsa_text") }) }),
5616
+ /* @__PURE__ */ jsx32("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx32(DividerLine_default, {}) }),
5617
+ checkCanAnswerQuestion() ? /* @__PURE__ */ jsx32(
5653
5618
  "div",
5654
5619
  {
5655
5620
  className: `flex flex-row w-full ${Object.keys(materialMap[materialKey]).length <= 4 ? "justify-center" : ""} flex-wrap`,
@@ -5668,7 +5633,7 @@ var MCSAActivityMaterialContent = ({
5668
5633
  onChange(answer, materialKey, materialSubKey);
5669
5634
  },
5670
5635
  children: [
5671
- /* @__PURE__ */ jsx31(
5636
+ /* @__PURE__ */ jsx32(
5672
5637
  BaseImage_default,
5673
5638
  {
5674
5639
  src: answerMap[materialKey] === materialSubKey ? "/icons/item-element.webp" : "/icons/not-selected-item-element.webp",
@@ -5678,16 +5643,16 @@ var MCSAActivityMaterialContent = ({
5678
5643
  }
5679
5644
  }
5680
5645
  ),
5681
- /* @__PURE__ */ jsx31("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx31("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5646
+ /* @__PURE__ */ jsx32("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx32("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5682
5647
  materialSubKey
5683
- ).map((inputPart, index3) => /* @__PURE__ */ jsx31(
5648
+ ).map((inputPart, index3) => /* @__PURE__ */ jsx32(
5684
5649
  "span",
5685
5650
  {
5686
5651
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5687
- children: inputPart.isEquation ? /* @__PURE__ */ jsx31("span", { className: "text-2xl", children: /* @__PURE__ */ jsx31(InlineMath7, { math: inputPart.value }) }) : inputPart.value
5652
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx32("span", { className: "text-2xl", children: /* @__PURE__ */ jsx32(InlineMath7, { math: inputPart.value }) }) : inputPart.value
5688
5653
  },
5689
5654
  index3
5690
- )) }) : /* @__PURE__ */ jsx31(
5655
+ )) }) : /* @__PURE__ */ jsx32(
5691
5656
  ShowMaterialMediaByContentType_default,
5692
5657
  {
5693
5658
  contentType: contentMap.type,
@@ -5703,13 +5668,13 @@ var MCSAActivityMaterialContent = ({
5703
5668
  }
5704
5669
  )
5705
5670
  }
5706
- ) : /* @__PURE__ */ jsx31("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5671
+ ) : /* @__PURE__ */ jsx32("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
5707
5672
  answerMap[materialKey]
5708
- ).map((inputPart, index2) => /* @__PURE__ */ jsx31(
5673
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx32(
5709
5674
  "span",
5710
5675
  {
5711
5676
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
5712
- children: inputPart.isEquation ? /* @__PURE__ */ jsx31("span", { className: "text-2xl", children: /* @__PURE__ */ jsx31(InlineMath7, { math: inputPart.value }) }) : inputPart.value
5677
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx32("span", { className: "text-2xl", children: /* @__PURE__ */ jsx32(InlineMath7, { math: inputPart.value }) }) : inputPart.value
5713
5678
  },
5714
5679
  index2
5715
5680
  )) })
@@ -5719,7 +5684,7 @@ var MCSAActivityMaterialContent = ({
5719
5684
  var MCSAActivityMaterialContent_default = MCSAActivityMaterialContent;
5720
5685
 
5721
5686
  // src/components/activities/MCSAActivityContent.tsx
5722
- import { jsx as jsx32, jsxs as jsxs23 } from "react/jsx-runtime";
5687
+ import { jsx as jsx33, jsxs as jsxs23 } from "react/jsx-runtime";
5723
5688
  var MCSAActivityContent = ({
5724
5689
  answer,
5725
5690
  data,
@@ -5740,10 +5705,10 @@ var MCSAActivityContent = ({
5740
5705
  changeAnswer(answer2);
5741
5706
  };
5742
5707
  return /* @__PURE__ */ jsxs23("div", { className: "flex flex-row flex-wrap", children: [
5743
- /* @__PURE__ */ jsx32("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx32(ActivityBodyContent_default, { bodyMap: MCSABodyMap, templateType: "MCSA" }) }),
5744
- /* @__PURE__ */ jsx32("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx32(DividerLine_default, {}) }),
5745
- /* @__PURE__ */ jsx32("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx32(VerticalDividerLine_default, {}) }),
5746
- /* @__PURE__ */ jsx32("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx32(
5708
+ /* @__PURE__ */ jsx33("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[60%]"}`, children: /* @__PURE__ */ jsx33(ActivityBodyContent_default, { bodyMap: MCSABodyMap, templateType: "MCSA" }) }),
5709
+ /* @__PURE__ */ jsx33("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx33(DividerLine_default, {}) }),
5710
+ /* @__PURE__ */ jsx33("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx33(VerticalDividerLine_default, {}) }),
5711
+ /* @__PURE__ */ jsx33("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx33(
5747
5712
  MCSAActivityMaterialContent_default,
5748
5713
  {
5749
5714
  uniqueValue: JSON.stringify(data.contentMap),
@@ -5760,7 +5725,7 @@ var MCSAActivityContent = ({
5760
5725
  var MCSAActivityContent_default = MCSAActivityContent;
5761
5726
 
5762
5727
  // src/components/activities/material-content/OpenEndedActivityMaterialContent.tsx
5763
- import { Fragment as Fragment6, jsx as jsx33, jsxs as jsxs24 } from "react/jsx-runtime";
5728
+ import { Fragment as Fragment6, jsx as jsx34, jsxs as jsxs24 } from "react/jsx-runtime";
5764
5729
  var OpenEndedActivityMaterialContent = ({
5765
5730
  answer,
5766
5731
  contentMap,
@@ -5783,7 +5748,7 @@ var OpenEndedActivityMaterialContent = ({
5783
5748
  };
5784
5749
  const RenderTextContent = (answerMap2) => {
5785
5750
  const answerMapAnswer = answerMap2["ANSWER"];
5786
- return /* @__PURE__ */ jsx33(
5751
+ return /* @__PURE__ */ jsx34(
5787
5752
  InputGroup_default,
5788
5753
  {
5789
5754
  type: "textarea",
@@ -5796,16 +5761,16 @@ var OpenEndedActivityMaterialContent = ({
5796
5761
  );
5797
5762
  };
5798
5763
  const answerMap = retrieveAnswerMap();
5799
- return /* @__PURE__ */ jsx33(Fragment6, { children: /* @__PURE__ */ jsxs24("div", { className: "", children: [
5800
- /* @__PURE__ */ jsx33("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx33("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_open_ended_text") }) }),
5801
- /* @__PURE__ */ jsx33("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx33(DividerLine_default, {}) }),
5764
+ return /* @__PURE__ */ jsx34(Fragment6, { children: /* @__PURE__ */ jsxs24("div", { className: "", children: [
5765
+ /* @__PURE__ */ jsx34("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx34("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_open_ended_text") }) }),
5766
+ /* @__PURE__ */ jsx34("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx34(DividerLine_default, {}) }),
5802
5767
  contentMap.type === "TEXT" ? RenderTextContent(answerMap) : null
5803
5768
  ] }) });
5804
5769
  };
5805
5770
  var OpenEndedActivityMaterialContent_default = OpenEndedActivityMaterialContent;
5806
5771
 
5807
5772
  // src/components/activities/OpenEndedActivityContent.tsx
5808
- import { Fragment as Fragment7, jsx as jsx34, jsxs as jsxs25 } from "react/jsx-runtime";
5773
+ import { Fragment as Fragment7, jsx as jsx35, jsxs as jsxs25 } from "react/jsx-runtime";
5809
5774
  var OpenEndedActivityContent = ({
5810
5775
  answer,
5811
5776
  data,
@@ -5824,11 +5789,11 @@ var OpenEndedActivityContent = ({
5824
5789
  changeAnswer(answer2);
5825
5790
  };
5826
5791
  return /* @__PURE__ */ jsxs25("div", { className: "flex flex-row flex-wrap", children: [
5827
- /* @__PURE__ */ jsx34(
5792
+ /* @__PURE__ */ jsx35(
5828
5793
  "div",
5829
5794
  {
5830
5795
  className: `${showMaterialContent ? isFullScreen ? "w-full" : "w-full md:w-[40%]" : "w-full"}`,
5831
- children: /* @__PURE__ */ jsx34(
5796
+ children: /* @__PURE__ */ jsx35(
5832
5797
  ActivityBodyContent_default,
5833
5798
  {
5834
5799
  bodyMap: openEndedBodyMap,
@@ -5838,15 +5803,15 @@ var OpenEndedActivityContent = ({
5838
5803
  }
5839
5804
  ),
5840
5805
  showMaterialContent ? /* @__PURE__ */ jsxs25(Fragment7, { children: [
5841
- /* @__PURE__ */ jsx34(
5806
+ /* @__PURE__ */ jsx35(
5842
5807
  "div",
5843
5808
  {
5844
5809
  className: `${isFullScreen ? "contents" : "contents md:hidden"}`,
5845
- children: /* @__PURE__ */ jsx34(DividerLine_default, {})
5810
+ children: /* @__PURE__ */ jsx35(DividerLine_default, {})
5846
5811
  }
5847
5812
  ),
5848
- /* @__PURE__ */ jsx34("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx34(VerticalDividerLine_default, {}) }),
5849
- /* @__PURE__ */ jsx34("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx34(
5813
+ /* @__PURE__ */ jsx35("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx35(VerticalDividerLine_default, {}) }),
5814
+ /* @__PURE__ */ jsx35("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx35(
5850
5815
  OpenEndedActivityMaterialContent_default,
5851
5816
  {
5852
5817
  answer,
@@ -5867,7 +5832,7 @@ import { InlineMath as InlineMath8 } from "react-katex";
5867
5832
  // src/components/dnds/DraggableDroppableItem.tsx
5868
5833
  import { useRef as useRef6 } from "react";
5869
5834
  import { useDrag as useDrag2, useDrop as useDrop5 } from "react-dnd";
5870
- import { jsx as jsx35 } from "react/jsx-runtime";
5835
+ import { jsx as jsx36 } from "react/jsx-runtime";
5871
5836
  var DraggableDroppableItem = ({
5872
5837
  key,
5873
5838
  item,
@@ -5905,12 +5870,12 @@ var DraggableDroppableItem = ({
5905
5870
  });
5906
5871
  const opacity = isDragging ? 0.4 : 1;
5907
5872
  drag(drop(ref));
5908
- return /* @__PURE__ */ jsx35(
5873
+ return /* @__PURE__ */ jsx36(
5909
5874
  "div",
5910
5875
  {
5911
5876
  className: `${isDragging ? "w-[0px] opacity-0" : "w-full opacity-100"} transition-all duration-500`,
5912
5877
  ref: dropRef,
5913
- children: /* @__PURE__ */ jsx35("div", { ref, className: "w-full", style: { opacity }, children: component })
5878
+ children: /* @__PURE__ */ jsx36("div", { ref, className: "w-full", style: { opacity }, children: component })
5914
5879
  },
5915
5880
  key
5916
5881
  );
@@ -5918,7 +5883,7 @@ var DraggableDroppableItem = ({
5918
5883
  var DraggableDroppableItem_default = DraggableDroppableItem;
5919
5884
 
5920
5885
  // src/components/activities/material-content/OrderingActivityMaterialContent.tsx
5921
- import { jsx as jsx36, jsxs as jsxs26 } from "react/jsx-runtime";
5886
+ import { jsx as jsx37, jsxs as jsxs26 } from "react/jsx-runtime";
5922
5887
  var OrderingActivityMaterialContent = ({
5923
5888
  uniqueValue,
5924
5889
  answer,
@@ -5995,12 +5960,12 @@ var OrderingActivityMaterialContent = ({
5995
5960
  return 0;
5996
5961
  };
5997
5962
  const answerMap = retrieveAnswerMap();
5998
- return /* @__PURE__ */ jsx36("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
5963
+ return /* @__PURE__ */ jsx37("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
5999
5964
  const learnerAnswerState = checkAnswerState(
6000
5965
  answerMap[materialKey] + "",
6001
5966
  index + ""
6002
5967
  );
6003
- return /* @__PURE__ */ jsx36("div", { className: "w-full lg:w-1/2", children: /* @__PURE__ */ jsxs26(
5968
+ return /* @__PURE__ */ jsx37("div", { className: "w-full lg:w-1/2", children: /* @__PURE__ */ jsxs26(
6004
5969
  "div",
6005
5970
  {
6006
5971
  className: `flex flex-row items-center my-4 mx-2`,
@@ -6008,26 +5973,26 @@ var OrderingActivityMaterialContent = ({
6008
5973
  marginTop: view === "PC" ? calculateMarginTop(parseFloat(materialKey)) : 0
6009
5974
  },
6010
5975
  children: [
6011
- /* @__PURE__ */ jsx36("div", { className: "mr-3", children: /* @__PURE__ */ jsx36(
5976
+ /* @__PURE__ */ jsx37("div", { className: "mr-3", children: /* @__PURE__ */ jsx37(
6012
5977
  "div",
6013
5978
  {
6014
5979
  className: `min-h-catchup-activity-outer-box-item w-catchup-activity-box-item flex flex-col items-center justify-center cursor-pointer transition-all duration-300`,
6015
- children: /* @__PURE__ */ jsx36(
5980
+ children: /* @__PURE__ */ jsx37(
6016
5981
  "div",
6017
5982
  {
6018
5983
  className: `${selectedKey === materialKey ? "border-2 border-catchup-light-gray" : "border-2 border-catchup-blue"} flex flex-col items-center justify-center transition-all duration-300 rounded-catchup-full w-[50px] h-[50px]`,
6019
- children: /* @__PURE__ */ jsx36("p", { className: "", children: parseFloat(materialKey) + 1 })
5984
+ children: /* @__PURE__ */ jsx37("p", { className: "", children: parseFloat(materialKey) + 1 })
6020
5985
  }
6021
5986
  )
6022
5987
  }
6023
5988
  ) }),
6024
- /* @__PURE__ */ jsx36(
5989
+ /* @__PURE__ */ jsx37(
6025
5990
  DraggableDroppableItem_default,
6026
5991
  {
6027
5992
  item: { index: materialKey },
6028
5993
  type: "ORDERING",
6029
5994
  dropRef: drop,
6030
- component: /* @__PURE__ */ jsx36(
5995
+ component: /* @__PURE__ */ jsx37(
6031
5996
  "div",
6032
5997
  {
6033
5998
  className: `${canDrop ? selectedKey !== materialKey ? selectedTargetKey === materialKey ? "bg-catchup-light-blue rounded-catchup-xlarge" : "bg-catchup-light-blue rounded-catchup-xlarge opacity-40" : "" : ""} flex-1 min-h-catchup-activity-outer-box-item flex flex-col items-center justify-center border-2 rounded-catchup-xlarge cursor-pointer p-3 ${learnerAnswerState === "CORRECT" ? "border-catchup-green" : learnerAnswerState === "INCORRECT" ? "border-catchup-red" : "border-catchup-blue"}`,
@@ -6036,16 +6001,16 @@ var OrderingActivityMaterialContent = ({
6036
6001
  setSelectedKey(materialKey);
6037
6002
  }
6038
6003
  },
6039
- children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx36("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6004
+ children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx37("p", { className: "text-xl whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6040
6005
  materialMap[answerMap[materialKey]]
6041
- ).map((inputPart, index2) => /* @__PURE__ */ jsx36(
6006
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx37(
6042
6007
  "span",
6043
6008
  {
6044
6009
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6045
- children: inputPart.isEquation ? /* @__PURE__ */ jsx36("span", { className: "text-2xl", children: /* @__PURE__ */ jsx36(InlineMath8, { math: inputPart.value }) }) : inputPart.value
6010
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx37("span", { className: "text-2xl", children: /* @__PURE__ */ jsx37(InlineMath8, { math: inputPart.value }) }) : inputPart.value
6046
6011
  },
6047
6012
  index2
6048
- )) }) : /* @__PURE__ */ jsx36(
6013
+ )) }) : /* @__PURE__ */ jsx37(
6049
6014
  ShowMaterialMediaByContentType_default,
6050
6015
  {
6051
6016
  contentType: contentMap.type,
@@ -6077,7 +6042,7 @@ var OrderingActivityMaterialContent = ({
6077
6042
  var OrderingActivityMaterialContent_default = OrderingActivityMaterialContent;
6078
6043
 
6079
6044
  // src/components/activities/OrderingActivityContent.tsx
6080
- import { Fragment as Fragment8, jsx as jsx37, jsxs as jsxs27 } from "react/jsx-runtime";
6045
+ import { Fragment as Fragment8, jsx as jsx38, jsxs as jsxs27 } from "react/jsx-runtime";
6081
6046
  var OrderingActivityContent = ({
6082
6047
  answer,
6083
6048
  data,
@@ -6101,15 +6066,15 @@ var OrderingActivityContent = ({
6101
6066
  changeAnswer(answer2);
6102
6067
  };
6103
6068
  return /* @__PURE__ */ jsxs27(Fragment8, { children: [
6104
- /* @__PURE__ */ jsx37(
6069
+ /* @__PURE__ */ jsx38(
6105
6070
  ActivityBodyContent_default,
6106
6071
  {
6107
6072
  bodyMap: orderingBodyMap,
6108
6073
  templateType: "ORDERING"
6109
6074
  }
6110
6075
  ),
6111
- /* @__PURE__ */ jsx37(DividerLine_default, {}),
6112
- /* @__PURE__ */ jsx37(
6076
+ /* @__PURE__ */ jsx38(DividerLine_default, {}),
6077
+ /* @__PURE__ */ jsx38(
6113
6078
  OrderingActivityMaterialContent_default,
6114
6079
  {
6115
6080
  uniqueValue: JSON.stringify(data.contentMap),
@@ -6129,7 +6094,7 @@ var OrderingActivityContent_default = OrderingActivityContent;
6129
6094
  // src/components/activities/material-content/TrueFalseActivityMaterialContent.tsx
6130
6095
  import { useEffect as useEffect12, useState as useState21 } from "react";
6131
6096
  import { InlineMath as InlineMath9 } from "react-katex";
6132
- import { Fragment as Fragment9, jsx as jsx38, jsxs as jsxs28 } from "react/jsx-runtime";
6097
+ import { Fragment as Fragment9, jsx as jsx39, jsxs as jsxs28 } from "react/jsx-runtime";
6133
6098
  var TrueFalseActivityMaterialContent = ({
6134
6099
  uniqueValue,
6135
6100
  answer,
@@ -6183,13 +6148,13 @@ var TrueFalseActivityMaterialContent = ({
6183
6148
  };
6184
6149
  const answerMap = retrieveAnswerMap();
6185
6150
  return /* @__PURE__ */ jsxs28("div", { className: "", children: [
6186
- /* @__PURE__ */ jsx38("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx38("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_true_false_text") }) }),
6187
- /* @__PURE__ */ jsx38("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx38(DividerLine_default, {}) }),
6151
+ /* @__PURE__ */ jsx39("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx39("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_true_false_text") }) }),
6152
+ /* @__PURE__ */ jsx39("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx39(DividerLine_default, {}) }),
6188
6153
  /* @__PURE__ */ jsxs28("div", { className: "flex flex-row justify-end items-center gap-x-2", children: [
6189
- /* @__PURE__ */ jsx38("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx38("p", { className: "font-bold text-lg", children: i18n_default.t("true") }) }),
6190
- /* @__PURE__ */ jsx38("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx38("p", { className: "font-bold text-lg", children: i18n_default.t("false") }) })
6154
+ /* @__PURE__ */ jsx39("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx39("p", { className: "font-bold text-lg", children: i18n_default.t("true") }) }),
6155
+ /* @__PURE__ */ jsx39("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx39("p", { className: "font-bold text-lg", children: i18n_default.t("false") }) })
6191
6156
  ] }),
6192
- checkCanAnswerQuestion() ? /* @__PURE__ */ jsx38("div", { className: `flex flex-row w-full justify-center flex-wrap`, children: shuffleOptionList.map((shuffleOption, index) => {
6157
+ checkCanAnswerQuestion() ? /* @__PURE__ */ jsx39("div", { className: `flex flex-row w-full justify-center flex-wrap`, children: shuffleOptionList.map((shuffleOption, index) => {
6193
6158
  const correctAnswer = materialMap.trueList.find(
6194
6159
  (trueItem) => trueItem === shuffleOption
6195
6160
  ) !== void 0 ? "TRUE" : "FALSE";
@@ -6205,16 +6170,16 @@ var TrueFalseActivityMaterialContent = ({
6205
6170
  {
6206
6171
  className: `w-full flex flex-row items-center justify-center cursor-pointer my-2 ${learnerAnswerState === "CORRECT" ? "border-2 border-catchup-green rounded-catchup-xlarge p-2" : learnerAnswerState === "INCORRECT" ? "border-2 border-catchup-red rounded-catchup-xlarge p-2" : ""}`,
6207
6172
  children: [
6208
- /* @__PURE__ */ jsx38("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx38("p", { className: "text-xl p-2 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6173
+ /* @__PURE__ */ jsx39("div", { className: "flex-1", children: contentMap.type === "TEXT" ? /* @__PURE__ */ jsx39("p", { className: "text-xl p-2 whitespace-pre-wrap", children: constructInputWithSpecialExpressionList(
6209
6174
  shuffleOption
6210
- ).map((inputPart, index2) => /* @__PURE__ */ jsx38(
6175
+ ).map((inputPart, index2) => /* @__PURE__ */ jsx39(
6211
6176
  "span",
6212
6177
  {
6213
6178
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6214
- children: inputPart.isEquation ? /* @__PURE__ */ jsx38("span", { className: "text-2xl", children: /* @__PURE__ */ jsx38(InlineMath9, { math: inputPart.value }) }) : inputPart.value
6179
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx39("span", { className: "text-2xl", children: /* @__PURE__ */ jsx39(InlineMath9, { math: inputPart.value }) }) : inputPart.value
6215
6180
  },
6216
6181
  index2
6217
- )) }) : /* @__PURE__ */ jsx38(
6182
+ )) }) : /* @__PURE__ */ jsx39(
6218
6183
  ShowMaterialMediaByContentType_default,
6219
6184
  {
6220
6185
  contentType: contentMap.type,
@@ -6224,7 +6189,7 @@ var TrueFalseActivityMaterialContent = ({
6224
6189
  `${uniqueValue}-${index}`
6225
6190
  ) }),
6226
6191
  /* @__PURE__ */ jsxs28("div", { className: "flex flex-row items-center gap-x-2", children: [
6227
- /* @__PURE__ */ jsx38("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx38("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx38(
6192
+ /* @__PURE__ */ jsx39("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx39("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx39(
6228
6193
  BaseImage_default,
6229
6194
  {
6230
6195
  src: answerMap.trueList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -6235,7 +6200,7 @@ var TrueFalseActivityMaterialContent = ({
6235
6200
  }
6236
6201
  }
6237
6202
  ) }) }),
6238
- /* @__PURE__ */ jsx38("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx38("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx38(
6203
+ /* @__PURE__ */ jsx39("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx39("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx39(
6239
6204
  BaseImage_default,
6240
6205
  {
6241
6206
  src: answerMap.falseList.includes(shuffleOption) ? "/icons/checkbox.webp" : "/icons/checkbox-empty.webp",
@@ -6253,12 +6218,12 @@ var TrueFalseActivityMaterialContent = ({
6253
6218
  );
6254
6219
  }) }) : /* @__PURE__ */ jsxs28(Fragment9, { children: [
6255
6220
  answerMap.trueList.map((item) => /* @__PURE__ */ jsxs28("div", { className: "flex flex-row items-center gap-x-2", children: [
6256
- /* @__PURE__ */ jsx38("div", { className: "flex-1", children: /* @__PURE__ */ jsx38("p", { children: item }) }),
6257
- /* @__PURE__ */ jsx38("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx38("p", { className: "underline", children: i18n_default.t("true") }) })
6221
+ /* @__PURE__ */ jsx39("div", { className: "flex-1", children: /* @__PURE__ */ jsx39("p", { children: item }) }),
6222
+ /* @__PURE__ */ jsx39("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx39("p", { className: "underline", children: i18n_default.t("true") }) })
6258
6223
  ] })),
6259
6224
  answerMap.falseList.map((item) => /* @__PURE__ */ jsxs28("div", { className: "flex flex-row items-center gap-x-2", children: [
6260
- /* @__PURE__ */ jsx38("div", { className: "flex-1", children: /* @__PURE__ */ jsx38("p", { children: item }) }),
6261
- /* @__PURE__ */ jsx38("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx38("p", { className: "underline", children: i18n_default.t("false") }) })
6225
+ /* @__PURE__ */ jsx39("div", { className: "flex-1", children: /* @__PURE__ */ jsx39("p", { children: item }) }),
6226
+ /* @__PURE__ */ jsx39("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx39("p", { className: "underline", children: i18n_default.t("false") }) })
6262
6227
  ] }))
6263
6228
  ] })
6264
6229
  ] });
@@ -6266,7 +6231,7 @@ var TrueFalseActivityMaterialContent = ({
6266
6231
  var TrueFalseActivityMaterialContent_default = TrueFalseActivityMaterialContent;
6267
6232
 
6268
6233
  // src/components/activities/TrueFalseActivityContent.tsx
6269
- import { jsx as jsx39, jsxs as jsxs29 } from "react/jsx-runtime";
6234
+ import { jsx as jsx40, jsxs as jsxs29 } from "react/jsx-runtime";
6270
6235
  var TrueFalseActivityContent = ({
6271
6236
  answer,
6272
6237
  data,
@@ -6317,16 +6282,16 @@ var TrueFalseActivityContent = ({
6317
6282
  changeAnswer(answer2);
6318
6283
  };
6319
6284
  return /* @__PURE__ */ jsxs29("div", { className: "flex flex-row flex-wrap", children: [
6320
- /* @__PURE__ */ jsx39("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[40%]"}`, children: /* @__PURE__ */ jsx39(
6285
+ /* @__PURE__ */ jsx40("div", { className: `${isFullScreen ? "w-full" : "w-full md:w-[40%]"}`, children: /* @__PURE__ */ jsx40(
6321
6286
  ActivityBodyContent_default,
6322
6287
  {
6323
6288
  bodyMap: trueFalseBodyMap,
6324
6289
  templateType: "GROUPING"
6325
6290
  }
6326
6291
  ) }),
6327
- /* @__PURE__ */ jsx39("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx39(DividerLine_default, {}) }),
6328
- /* @__PURE__ */ jsx39("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx39(VerticalDividerLine_default, {}) }),
6329
- /* @__PURE__ */ jsx39("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx39(
6292
+ /* @__PURE__ */ jsx40("div", { className: `${isFullScreen ? "contents" : "contents md:hidden"}`, children: /* @__PURE__ */ jsx40(DividerLine_default, {}) }),
6293
+ /* @__PURE__ */ jsx40("div", { className: `${isFullScreen ? "hidden" : "hidden md:block"}`, children: /* @__PURE__ */ jsx40(VerticalDividerLine_default, {}) }),
6294
+ /* @__PURE__ */ jsx40("div", { className: `${isFullScreen ? "w-full" : "w-full md:flex-1"}`, children: /* @__PURE__ */ jsx40(
6330
6295
  TrueFalseActivityMaterialContent_default,
6331
6296
  {
6332
6297
  uniqueValue: JSON.stringify(data.contentMap),
@@ -6345,7 +6310,7 @@ var TrueFalseActivityContent_default = TrueFalseActivityContent;
6345
6310
 
6346
6311
  // src/components/activities/solution-content/ActivitySolutionContent.tsx
6347
6312
  import { InlineMath as InlineMath10 } from "react-katex";
6348
- import { jsx as jsx40, jsxs as jsxs30 } from "react/jsx-runtime";
6313
+ import { jsx as jsx41, jsxs as jsxs30 } from "react/jsx-runtime";
6349
6314
  var ActivitySolutionContent = ({
6350
6315
  activityTemplateType,
6351
6316
  data
@@ -6375,8 +6340,8 @@ var ActivitySolutionContent = ({
6375
6340
  return null;
6376
6341
  }
6377
6342
  if (!solutionMap || Object.keys(solutionMap).length === 0) return null;
6378
- return /* @__PURE__ */ jsx40("div", { className: "mx-2", children: /* @__PURE__ */ jsxs30("div", { className: "p-4 border-catchup-blue border-2 rounded-catchup-xlarge", children: [
6379
- /* @__PURE__ */ jsx40("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("solution") }),
6343
+ return /* @__PURE__ */ jsx41("div", { className: "mx-2", children: /* @__PURE__ */ jsxs30("div", { className: "p-4 border-catchup-blue border-2 rounded-catchup-xlarge", children: [
6344
+ /* @__PURE__ */ jsx41("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("solution") }),
6380
6345
  Object.keys(solutionMap).map((key) => {
6381
6346
  let currentItem;
6382
6347
  try {
@@ -6386,12 +6351,12 @@ var ActivitySolutionContent = ({
6386
6351
  return null;
6387
6352
  }
6388
6353
  const { value } = currentItem;
6389
- return /* @__PURE__ */ jsx40("div", { className: "my-3 text-xl", children: constructInputWithSpecialExpressionList(value).map(
6390
- (inputPart, partIndex) => /* @__PURE__ */ jsx40(
6354
+ return /* @__PURE__ */ jsx41("div", { className: "my-3 text-xl", children: constructInputWithSpecialExpressionList(value).map(
6355
+ (inputPart, partIndex) => /* @__PURE__ */ jsx41(
6391
6356
  "span",
6392
6357
  {
6393
6358
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6394
- children: inputPart.isEquation ? /* @__PURE__ */ jsx40("span", { className: "text-2xl", children: /* @__PURE__ */ jsx40(InlineMath10, { math: inputPart.value }) }) : inputPart.value
6359
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx41("span", { className: "text-2xl", children: /* @__PURE__ */ jsx41(InlineMath10, { math: inputPart.value }) }) : inputPart.value
6395
6360
  },
6396
6361
  `${key}_part_${partIndex}`
6397
6362
  )
@@ -6403,7 +6368,7 @@ var ActivitySolutionContent_default = ActivitySolutionContent;
6403
6368
 
6404
6369
  // src/components/activities/evaluation-rubric-content/ActivityEvaluationRubricContent.tsx
6405
6370
  import { InlineMath as InlineMath11 } from "react-katex";
6406
- import { jsx as jsx41, jsxs as jsxs31 } from "react/jsx-runtime";
6371
+ import { jsx as jsx42, jsxs as jsxs31 } from "react/jsx-runtime";
6407
6372
  var ActivityEvaluationRubricContent = ({
6408
6373
  activityTemplateType,
6409
6374
  data
@@ -6432,21 +6397,21 @@ var ActivityEvaluationRubricContent = ({
6432
6397
  }
6433
6398
  if (!evaluationRubricMap || Object.keys(evaluationRubricMap).length === 0)
6434
6399
  return null;
6435
- return /* @__PURE__ */ jsx41("div", { className: "mx-2", children: /* @__PURE__ */ jsxs31("div", { className: "p-4 border-catchup-gray-400 border-2 rounded-catchup-xlarge", children: [
6436
- /* @__PURE__ */ jsx41("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("evaluation_rubric") }),
6400
+ return /* @__PURE__ */ jsx42("div", { className: "mx-2", children: /* @__PURE__ */ jsxs31("div", { className: "p-4 border-catchup-gray-400 border-2 rounded-catchup-xlarge", children: [
6401
+ /* @__PURE__ */ jsx42("p", { className: "text-xl font-bold text-center mb-3", children: i18n_default.t("evaluation_rubric") }),
6437
6402
  Object.keys(evaluationRubricMap).map((key, index) => {
6438
6403
  const currentItem = JSON.parse(evaluationRubricMap[key]);
6439
6404
  const { value } = currentItem;
6440
- return /* @__PURE__ */ jsx41("p", { className: "my-3", children: /* @__PURE__ */ jsx41(
6405
+ return /* @__PURE__ */ jsx42("p", { className: "my-3", children: /* @__PURE__ */ jsx42(
6441
6406
  "span",
6442
6407
  {
6443
6408
  className: "text-xl whitespace-pre-wrap",
6444
6409
  children: constructInputWithSpecialExpressionList(value).map(
6445
- (inputPart, index2) => /* @__PURE__ */ jsx41(
6410
+ (inputPart, index2) => /* @__PURE__ */ jsx42(
6446
6411
  "span",
6447
6412
  {
6448
6413
  className: `${inputPart.isBold ? "font-bold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
6449
- children: inputPart.isEquation ? /* @__PURE__ */ jsx41("span", { className: "text-2xl", children: /* @__PURE__ */ jsx41(InlineMath11, { math: inputPart.value }) }) : inputPart.value
6414
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx42("span", { className: "text-2xl", children: /* @__PURE__ */ jsx42(InlineMath11, { math: inputPart.value }) }) : inputPart.value
6450
6415
  },
6451
6416
  index2
6452
6417
  )
@@ -6463,13 +6428,13 @@ var ActivityEvaluationRubricContent_default = ActivityEvaluationRubricContent;
6463
6428
  import { useEffect as useEffect13, useState as useState22 } from "react";
6464
6429
 
6465
6430
  // src/components/boxes/SelectionBox.tsx
6466
- import { jsx as jsx42, jsxs as jsxs32 } from "react/jsx-runtime";
6431
+ import { jsx as jsx43, jsxs as jsxs32 } from "react/jsx-runtime";
6467
6432
  var SelectionBox = ({
6468
6433
  optionList,
6469
6434
  selectedId,
6470
6435
  handleSelectOnClick
6471
6436
  }) => {
6472
- return /* @__PURE__ */ jsx42("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx42(
6437
+ return /* @__PURE__ */ jsx43("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx43(
6473
6438
  "div",
6474
6439
  {
6475
6440
  className: `${option.id === selectedId ? "border-catchup-blue-400" : "border-catchup-gray-100 hover:border-catchup-blue-500"} border-2 rounded-catchup-xlarge py-3 px-8 cursor-pointer duration-300 transition-all`,
@@ -6483,7 +6448,7 @@ var SelectionBox = ({
6483
6448
  children: [
6484
6449
  option.icon,
6485
6450
  /* @__PURE__ */ jsxs32("div", { className: "flex-1 flex flex-col items-center", children: [
6486
- /* @__PURE__ */ jsx42("p", { children: option.text }),
6451
+ /* @__PURE__ */ jsx43("p", { children: option.text }),
6487
6452
  option.subText ? /* @__PURE__ */ jsxs32("p", { className: "text-md", children: [
6488
6453
  "(",
6489
6454
  option.subText,
@@ -6500,7 +6465,7 @@ var SelectionBox = ({
6500
6465
  var SelectionBox_default = SelectionBox;
6501
6466
 
6502
6467
  // src/components/activities/ActivityPreviewByData.tsx
6503
- import { jsx as jsx43, jsxs as jsxs33 } from "react/jsx-runtime";
6468
+ import { jsx as jsx44, jsxs as jsxs33 } from "react/jsx-runtime";
6504
6469
  var ActivityPreviewByData = ({
6505
6470
  data,
6506
6471
  showType,
@@ -6585,8 +6550,8 @@ var ActivityPreviewByData = ({
6585
6550
  const answer = constructAnswerBasedOnData(data);
6586
6551
  return /* @__PURE__ */ jsxs33("div", { children: [
6587
6552
  showType ? /* @__PURE__ */ jsxs33("div", { className: "mb-4", children: [
6588
- showDescription ? /* @__PURE__ */ jsx43("div", { className: "my-2", children: /* @__PURE__ */ jsx43("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
6589
- /* @__PURE__ */ jsx43(
6553
+ showDescription ? /* @__PURE__ */ jsx44("div", { className: "my-2", children: /* @__PURE__ */ jsx44("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
6554
+ /* @__PURE__ */ jsx44(
6590
6555
  SelectionBox_default,
6591
6556
  {
6592
6557
  optionList,
@@ -6597,7 +6562,7 @@ var ActivityPreviewByData = ({
6597
6562
  }
6598
6563
  )
6599
6564
  ] }) : null,
6600
- selectedType ? /* @__PURE__ */ jsx43("div", { className: "", children: selectedType === "ORDERING" && data["orderingBodyMap"] != null && data["orderingMaterialMap"] != null ? /* @__PURE__ */ jsx43(
6565
+ selectedType ? /* @__PURE__ */ jsx44("div", { className: "", children: selectedType === "ORDERING" && data["orderingBodyMap"] != null && data["orderingMaterialMap"] != null ? /* @__PURE__ */ jsx44(
6601
6566
  OrderingActivityContent_default,
6602
6567
  {
6603
6568
  answer,
@@ -6611,7 +6576,7 @@ var ActivityPreviewByData = ({
6611
6576
  showCorrectAnswer: true,
6612
6577
  isFullScreen
6613
6578
  }
6614
- ) : selectedType === "DROPDOWN" && data["dropdownBodyMap"] != null && data["dropdownMaterialMap"] != null ? /* @__PURE__ */ jsx43(
6579
+ ) : selectedType === "DROPDOWN" && data["dropdownBodyMap"] != null && data["dropdownMaterialMap"] != null ? /* @__PURE__ */ jsx44(
6615
6580
  DropdownActivityContent_default,
6616
6581
  {
6617
6582
  answer,
@@ -6625,7 +6590,7 @@ var ActivityPreviewByData = ({
6625
6590
  showCorrectAnswer: true,
6626
6591
  isFullScreen
6627
6592
  }
6628
- ) : selectedType === "MCSA" && data["MCSABodyMap"] != null && data["MCSAMaterialMap"] != null ? /* @__PURE__ */ jsx43(
6593
+ ) : selectedType === "MCSA" && data["MCSABodyMap"] != null && data["MCSAMaterialMap"] != null ? /* @__PURE__ */ jsx44(
6629
6594
  MCSAActivityContent_default,
6630
6595
  {
6631
6596
  answer,
@@ -6639,7 +6604,7 @@ var ActivityPreviewByData = ({
6639
6604
  showCorrectAnswer: true,
6640
6605
  isFullScreen
6641
6606
  }
6642
- ) : selectedType === "MCMA" && data["MCMABodyMap"] != null && data["MCMAMaterialMap"] != null ? /* @__PURE__ */ jsx43(
6607
+ ) : selectedType === "MCMA" && data["MCMABodyMap"] != null && data["MCMAMaterialMap"] != null ? /* @__PURE__ */ jsx44(
6643
6608
  MCMAActivityContent_default,
6644
6609
  {
6645
6610
  answer,
@@ -6653,7 +6618,7 @@ var ActivityPreviewByData = ({
6653
6618
  showCorrectAnswer: true,
6654
6619
  isFullScreen
6655
6620
  }
6656
- ) : selectedType === "MATCHING" && data["matchingBodyMap"] != null && data["matchingMaterialMap"] != null ? /* @__PURE__ */ jsx43(
6621
+ ) : selectedType === "MATCHING" && data["matchingBodyMap"] != null && data["matchingMaterialMap"] != null ? /* @__PURE__ */ jsx44(
6657
6622
  MatchingActivityContent_default,
6658
6623
  {
6659
6624
  answer,
@@ -6667,7 +6632,7 @@ var ActivityPreviewByData = ({
6667
6632
  showCorrectAnswer: true,
6668
6633
  isFullScreen
6669
6634
  }
6670
- ) : selectedType === "GROUPING" && data["groupingBodyMap"] != null && data["groupingMaterialMap"] != null ? /* @__PURE__ */ jsx43(
6635
+ ) : selectedType === "GROUPING" && data["groupingBodyMap"] != null && data["groupingMaterialMap"] != null ? /* @__PURE__ */ jsx44(
6671
6636
  GroupingActivityContent_default,
6672
6637
  {
6673
6638
  answer,
@@ -6681,7 +6646,7 @@ var ActivityPreviewByData = ({
6681
6646
  showCorrectAnswer: true,
6682
6647
  isFullScreen
6683
6648
  }
6684
- ) : selectedType === "FILL_IN_THE_BLANKS" && data["fillInTheBlanksBodyMap"] != null && data["fillInTheBlanksMaterialMap"] != null ? /* @__PURE__ */ jsx43(
6649
+ ) : selectedType === "FILL_IN_THE_BLANKS" && data["fillInTheBlanksBodyMap"] != null && data["fillInTheBlanksMaterialMap"] != null ? /* @__PURE__ */ jsx44(
6685
6650
  FillInTheBlanksActivityContent_default,
6686
6651
  {
6687
6652
  answer,
@@ -6695,7 +6660,7 @@ var ActivityPreviewByData = ({
6695
6660
  showCorrectAnswer: true,
6696
6661
  isFullScreen
6697
6662
  }
6698
- ) : selectedType === "OPEN_ENDED" && data["openEndedBodyMap"] != null ? /* @__PURE__ */ jsx43(
6663
+ ) : selectedType === "OPEN_ENDED" && data["openEndedBodyMap"] != null ? /* @__PURE__ */ jsx44(
6699
6664
  OpenEndedActivityContent_default,
6700
6665
  {
6701
6666
  answer,
@@ -6705,7 +6670,7 @@ var ActivityPreviewByData = ({
6705
6670
  data,
6706
6671
  isFullScreen
6707
6672
  }
6708
- ) : selectedType === "TRUE_FALSE" && data["trueFalseBodyMap"] != null && data["trueFalseMaterialMap"] != null ? /* @__PURE__ */ jsx43(
6673
+ ) : selectedType === "TRUE_FALSE" && data["trueFalseBodyMap"] != null && data["trueFalseMaterialMap"] != null ? /* @__PURE__ */ jsx44(
6709
6674
  TrueFalseActivityContent_default,
6710
6675
  {
6711
6676
  answer,
@@ -6720,14 +6685,14 @@ var ActivityPreviewByData = ({
6720
6685
  isFullScreen
6721
6686
  }
6722
6687
  ) : null }, selectedType) : null,
6723
- selectedType && showSolution ? /* @__PURE__ */ jsx43("div", { className: "my-4", children: /* @__PURE__ */ jsx43(
6688
+ selectedType && showSolution ? /* @__PURE__ */ jsx44("div", { className: "my-4", children: /* @__PURE__ */ jsx44(
6724
6689
  ActivitySolutionContent_default,
6725
6690
  {
6726
6691
  activityTemplateType: selectedType,
6727
6692
  data
6728
6693
  }
6729
6694
  ) }) : null,
6730
- selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx43("div", { className: "my-4", children: /* @__PURE__ */ jsx43(
6695
+ selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx44("div", { className: "my-4", children: /* @__PURE__ */ jsx44(
6731
6696
  ActivityEvaluationRubricContent_default,
6732
6697
  {
6733
6698
  activityTemplateType: selectedType,
@@ -6740,7 +6705,7 @@ var ActivityPreviewByData_default = ActivityPreviewByData;
6740
6705
 
6741
6706
  // src/components/activities/ActivityPreviewByAnswerData.tsx
6742
6707
  import { useEffect as useEffect14, useState as useState23 } from "react";
6743
- import { jsx as jsx44, jsxs as jsxs34 } from "react/jsx-runtime";
6708
+ import { jsx as jsx45, jsxs as jsxs34 } from "react/jsx-runtime";
6744
6709
  var ActivityPreviewByAnswerData = ({
6745
6710
  data,
6746
6711
  showType = true,
@@ -6867,28 +6832,28 @@ var ActivityPreviewByAnswerData = ({
6867
6832
  };
6868
6833
  switch (selectedType) {
6869
6834
  case "ORDERING":
6870
- return data.orderingBodyMap && data.orderingMaterialMap ? /* @__PURE__ */ jsx44(OrderingActivityContent_default, __spreadValues({}, commonProps)) : null;
6835
+ return data.orderingBodyMap && data.orderingMaterialMap ? /* @__PURE__ */ jsx45(OrderingActivityContent_default, __spreadValues({}, commonProps)) : null;
6871
6836
  case "DROPDOWN":
6872
- return data.dropdownBodyMap && data.dropdownMaterialMap ? /* @__PURE__ */ jsx44(DropdownActivityContent_default, __spreadValues({}, commonProps)) : null;
6837
+ return data.dropdownBodyMap && data.dropdownMaterialMap ? /* @__PURE__ */ jsx45(DropdownActivityContent_default, __spreadValues({}, commonProps)) : null;
6873
6838
  case "MCSA":
6874
- return data.MCSABodyMap && data.MCSAMaterialMap ? /* @__PURE__ */ jsx44(MCSAActivityContent_default, __spreadValues({}, commonProps)) : null;
6839
+ return data.MCSABodyMap && data.MCSAMaterialMap ? /* @__PURE__ */ jsx45(MCSAActivityContent_default, __spreadValues({}, commonProps)) : null;
6875
6840
  case "MCMA":
6876
- return data.MCMABodyMap && data.MCMAMaterialMap ? /* @__PURE__ */ jsx44(MCMAActivityContent_default, __spreadValues({}, commonProps)) : null;
6841
+ return data.MCMABodyMap && data.MCMAMaterialMap ? /* @__PURE__ */ jsx45(MCMAActivityContent_default, __spreadValues({}, commonProps)) : null;
6877
6842
  case "MATCHING":
6878
- return data.matchingBodyMap && data.matchingMaterialMap ? /* @__PURE__ */ jsx44(MatchingActivityContent_default, __spreadValues({}, commonProps)) : null;
6843
+ return data.matchingBodyMap && data.matchingMaterialMap ? /* @__PURE__ */ jsx45(MatchingActivityContent_default, __spreadValues({}, commonProps)) : null;
6879
6844
  case "GROUPING":
6880
- return data.groupingBodyMap && data.groupingMaterialMap ? /* @__PURE__ */ jsx44(GroupingActivityContent_default, __spreadValues({}, commonProps)) : null;
6845
+ return data.groupingBodyMap && data.groupingMaterialMap ? /* @__PURE__ */ jsx45(GroupingActivityContent_default, __spreadValues({}, commonProps)) : null;
6881
6846
  case "FILL_IN_THE_BLANKS":
6882
- return data.fillInTheBlanksBodyMap && data.fillInTheBlanksMaterialMap ? /* @__PURE__ */ jsx44(FillInTheBlanksActivityContent_default, __spreadValues({}, commonProps)) : null;
6847
+ return data.fillInTheBlanksBodyMap && data.fillInTheBlanksMaterialMap ? /* @__PURE__ */ jsx45(FillInTheBlanksActivityContent_default, __spreadValues({}, commonProps)) : null;
6883
6848
  case "OPEN_ENDED":
6884
- return data.openEndedBodyMap ? /* @__PURE__ */ jsx44(
6849
+ return data.openEndedBodyMap ? /* @__PURE__ */ jsx45(
6885
6850
  OpenEndedActivityContent_default,
6886
6851
  __spreadProps(__spreadValues({}, commonProps), {
6887
6852
  showMaterialContent: true
6888
6853
  })
6889
6854
  ) : null;
6890
6855
  case "TRUE_FALSE":
6891
- return data.trueFalseBodyMap && data.trueFalseMaterialMap ? /* @__PURE__ */ jsx44(TrueFalseActivityContent_default, __spreadValues({}, commonProps)) : null;
6856
+ return data.trueFalseBodyMap && data.trueFalseMaterialMap ? /* @__PURE__ */ jsx45(TrueFalseActivityContent_default, __spreadValues({}, commonProps)) : null;
6892
6857
  default:
6893
6858
  return null;
6894
6859
  }
@@ -6896,8 +6861,8 @@ var ActivityPreviewByAnswerData = ({
6896
6861
  if (!data) return null;
6897
6862
  return /* @__PURE__ */ jsxs34("div", { children: [
6898
6863
  showType && optionList.length > 0 ? /* @__PURE__ */ jsxs34("div", { className: "mb-4", children: [
6899
- showDescription ? /* @__PURE__ */ jsx44("div", { className: "my-2", children: /* @__PURE__ */ jsx44("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
6900
- /* @__PURE__ */ jsx44(
6864
+ showDescription ? /* @__PURE__ */ jsx45("div", { className: "my-2", children: /* @__PURE__ */ jsx45("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
6865
+ /* @__PURE__ */ jsx45(
6901
6866
  SelectionBox_default,
6902
6867
  {
6903
6868
  optionList,
@@ -6908,19 +6873,19 @@ var ActivityPreviewByAnswerData = ({
6908
6873
  }
6909
6874
  )
6910
6875
  ] }) : null,
6911
- /* @__PURE__ */ jsx44(DividerLine_default, {}),
6876
+ /* @__PURE__ */ jsx45(DividerLine_default, {}),
6912
6877
  /* @__PURE__ */ jsxs34("div", { className: "flex flex-col my-2 w-full p-5", children: [
6913
- ((_a = answer == null ? void 0 : answer.data[0]) == null ? void 0 : _a.isEmpty) ? /* @__PURE__ */ jsx44(ActivityEmptyContent_default, {}) : null,
6914
- selectedType ? /* @__PURE__ */ jsx44("div", { children: RenderSelectedActivityContent() }, selectedType) : null
6878
+ ((_a = answer == null ? void 0 : answer.data[0]) == null ? void 0 : _a.isEmpty) ? /* @__PURE__ */ jsx45(ActivityEmptyContent_default, {}) : null,
6879
+ selectedType ? /* @__PURE__ */ jsx45("div", { children: RenderSelectedActivityContent() }, selectedType) : null
6915
6880
  ] }),
6916
- selectedType && showSolution ? /* @__PURE__ */ jsx44("div", { className: "my-4", children: /* @__PURE__ */ jsx44(
6881
+ selectedType && showSolution ? /* @__PURE__ */ jsx45("div", { className: "my-4", children: /* @__PURE__ */ jsx45(
6917
6882
  ActivitySolutionContent_default,
6918
6883
  {
6919
6884
  activityTemplateType: selectedType,
6920
6885
  data
6921
6886
  }
6922
6887
  ) }) : null,
6923
- selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx44("div", { className: "my-4", children: /* @__PURE__ */ jsx44(
6888
+ selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx45("div", { className: "my-4", children: /* @__PURE__ */ jsx45(
6924
6889
  ActivityEvaluationRubricContent_default,
6925
6890
  {
6926
6891
  activityTemplateType: selectedType,
@@ -6932,9 +6897,9 @@ var ActivityPreviewByAnswerData = ({
6932
6897
  var ActivityPreviewByAnswerData_default = ActivityPreviewByAnswerData;
6933
6898
 
6934
6899
  // src/components/dividers/BlueVerticalDividerLine.tsx
6935
- import { jsx as jsx45 } from "react/jsx-runtime";
6900
+ import { jsx as jsx46 } from "react/jsx-runtime";
6936
6901
  var BlueVerticalDividerLine = ({ opacity }) => {
6937
- return /* @__PURE__ */ jsx45(
6902
+ return /* @__PURE__ */ jsx46(
6938
6903
  "div",
6939
6904
  {
6940
6905
  className: `w-[2px] h-[40px] my-4 bg-catchup-blue ${opacity === "medium" ? "opacity-50" : ""}`
@@ -6944,7 +6909,7 @@ var BlueVerticalDividerLine = ({ opacity }) => {
6944
6909
  var BlueVerticalDividerLine_default = BlueVerticalDividerLine;
6945
6910
 
6946
6911
  // src/components/groups/LeftTextRightInputGroup.tsx
6947
- import { jsx as jsx46, jsxs as jsxs35 } from "react/jsx-runtime";
6912
+ import { jsx as jsx47, jsxs as jsxs35 } from "react/jsx-runtime";
6948
6913
  var LeftTextRightInputGroup = ({
6949
6914
  type,
6950
6915
  title,
@@ -6955,8 +6920,8 @@ var LeftTextRightInputGroup = ({
6955
6920
  errorText
6956
6921
  }) => {
6957
6922
  return /* @__PURE__ */ jsxs35("div", { className: "w-full flex flex-row mx-2", children: [
6958
- /* @__PURE__ */ jsx46("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ jsx46("p", { children: title }) }),
6959
- /* @__PURE__ */ jsx46("div", { className: "flex-1", children: /* @__PURE__ */ jsx46(
6923
+ /* @__PURE__ */ jsx47("div", { className: "w-catchup-input-group-title py-5", children: /* @__PURE__ */ jsx47("p", { children: title }) }),
6924
+ /* @__PURE__ */ jsx47("div", { className: "flex-1", children: /* @__PURE__ */ jsx47(
6960
6925
  InputGroup_default,
6961
6926
  {
6962
6927
  type,
@@ -6972,14 +6937,14 @@ var LeftTextRightInputGroup = ({
6972
6937
  var LeftTextRightInputGroup_default = LeftTextRightInputGroup;
6973
6938
 
6974
6939
  // src/components/boxes/SelectionCheckbox.tsx
6975
- import { jsx as jsx47, jsxs as jsxs36 } from "react/jsx-runtime";
6940
+ import { jsx as jsx48, jsxs as jsxs36 } from "react/jsx-runtime";
6976
6941
  var SelectionCheckbox = ({
6977
6942
  optionList,
6978
6943
  selectedIdList,
6979
6944
  handleSelectOnClick,
6980
6945
  handleRemoveOnClick
6981
6946
  }) => {
6982
- return /* @__PURE__ */ jsx47("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx47(
6947
+ return /* @__PURE__ */ jsx48("div", { className: "flex flex-row items-center gap-x-4 gap-y-2 flex-wrap text-center", children: optionList.map((option, index) => /* @__PURE__ */ jsx48(
6983
6948
  "div",
6984
6949
  {
6985
6950
  className: `${selectedIdList.findIndex(
@@ -7001,7 +6966,7 @@ var SelectionCheckbox = ({
7001
6966
  (selectedId) => selectedId === option.id
7002
6967
  ) > -1 ? "opacity-100" : "opacity-50"}`,
7003
6968
  children: [
7004
- /* @__PURE__ */ jsx47(
6969
+ /* @__PURE__ */ jsx48(
7005
6970
  BaseImage_default,
7006
6971
  {
7007
6972
  src: selectedIdList.findIndex(
@@ -7011,7 +6976,7 @@ var SelectionCheckbox = ({
7011
6976
  size: "small"
7012
6977
  }
7013
6978
  ),
7014
- /* @__PURE__ */ jsx47("div", { className: "flex-1", children: /* @__PURE__ */ jsx47("p", { children: option.text }) })
6979
+ /* @__PURE__ */ jsx48("div", { className: "flex-1", children: /* @__PURE__ */ jsx48("p", { children: option.text }) })
7015
6980
  ]
7016
6981
  }
7017
6982
  )
@@ -7022,7 +6987,7 @@ var SelectionCheckbox = ({
7022
6987
  var SelectionCheckbox_default = SelectionCheckbox;
7023
6988
 
7024
6989
  // src/components/tabs/SelectionTab.tsx
7025
- import { jsx as jsx48, jsxs as jsxs37 } from "react/jsx-runtime";
6990
+ import { jsx as jsx49, jsxs as jsxs37 } from "react/jsx-runtime";
7026
6991
  var SelectionTab = ({
7027
6992
  optionList,
7028
6993
  selectedId,
@@ -7032,7 +6997,7 @@ var SelectionTab = ({
7032
6997
  textColor,
7033
6998
  borderColor
7034
6999
  }) => {
7035
- return /* @__PURE__ */ jsx48("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__ */ jsxs37(
7000
+ return /* @__PURE__ */ jsx49("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__ */ jsxs37(
7036
7001
  "div",
7037
7002
  {
7038
7003
  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`,
@@ -7040,8 +7005,8 @@ var SelectionTab = ({
7040
7005
  handleSelectOnClick(option.id);
7041
7006
  },
7042
7007
  children: [
7043
- /* @__PURE__ */ jsx48("p", { className: "text-lg", children: option.title }),
7044
- option.subTitle ? /* @__PURE__ */ jsx48("p", { className: "text-md", children: option.subTitle }) : null
7008
+ /* @__PURE__ */ jsx49("p", { className: "text-lg", children: option.title }),
7009
+ option.subTitle ? /* @__PURE__ */ jsx49("p", { className: "text-md", children: option.subTitle }) : null
7045
7010
  ]
7046
7011
  },
7047
7012
  index
@@ -7050,20 +7015,20 @@ var SelectionTab = ({
7050
7015
  var SelectionTab_default = SelectionTab;
7051
7016
 
7052
7017
  // src/components/tabs/SelectionTabFill.tsx
7053
- import { jsx as jsx49 } from "react/jsx-runtime";
7018
+ import { jsx as jsx50 } from "react/jsx-runtime";
7054
7019
  var SelectionTabFill = ({
7055
7020
  optionList,
7056
7021
  selectedId,
7057
7022
  handleSelectOnClick
7058
7023
  }) => {
7059
- return /* @__PURE__ */ jsx49("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__ */ jsx49(
7024
+ return /* @__PURE__ */ jsx50("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__ */ jsx50(
7060
7025
  "div",
7061
7026
  {
7062
7027
  className: "cursor-pointer",
7063
7028
  onClick: () => {
7064
7029
  handleSelectOnClick(option.id);
7065
7030
  },
7066
- children: /* @__PURE__ */ jsx49(
7031
+ children: /* @__PURE__ */ jsx50(
7067
7032
  "p",
7068
7033
  {
7069
7034
  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`,
@@ -7077,57 +7042,57 @@ var SelectionTabFill = ({
7077
7042
  var SelectionTabFill_default = SelectionTabFill;
7078
7043
 
7079
7044
  // src/components/labels/ActivityTemplateLabel.tsx
7080
- import { jsx as jsx50, jsxs as jsxs38 } from "react/jsx-runtime";
7045
+ import { jsx as jsx51, jsxs as jsxs38 } from "react/jsx-runtime";
7081
7046
  var ActivityTemplateLabel = ({
7082
7047
  title,
7083
7048
  font
7084
7049
  }) => {
7085
- return /* @__PURE__ */ jsx50("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs38("div", { className: "flex flex-row items-center gap-x-2", children: [
7086
- /* @__PURE__ */ jsx50(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7087
- /* @__PURE__ */ jsx50("p", { className: font ? font : "text-sm", children: title })
7050
+ return /* @__PURE__ */ jsx51("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs38("div", { className: "flex flex-row items-center gap-x-2", children: [
7051
+ /* @__PURE__ */ jsx51(BaseImage_default, { src: "/icons/activity.webp", alt: "label", size: "xsmall" }),
7052
+ /* @__PURE__ */ jsx51("p", { className: font ? font : "text-sm", children: title })
7088
7053
  ] }) });
7089
7054
  };
7090
7055
  var ActivityTemplateLabel_default = ActivityTemplateLabel;
7091
7056
 
7092
7057
  // src/components/labels/BrandLabel.tsx
7093
- import { jsx as jsx51, jsxs as jsxs39 } from "react/jsx-runtime";
7058
+ import { jsx as jsx52, jsxs as jsxs39 } from "react/jsx-runtime";
7094
7059
  var BrandLabel = ({ title, icon, font }) => {
7095
- return /* @__PURE__ */ jsx51("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs39("div", { className: "flex flex-row items-center gap-x-2", children: [
7096
- icon ? icon : /* @__PURE__ */ jsx51(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7097
- /* @__PURE__ */ jsx51("p", { className: font ? font : "text-sm", children: title })
7060
+ return /* @__PURE__ */ jsx52("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs39("div", { className: "flex flex-row items-center gap-x-2", children: [
7061
+ icon ? icon : /* @__PURE__ */ jsx52(BaseImage_default, { src: "/icons/brand-label.webp", alt: "label", size: "xsmall" }),
7062
+ /* @__PURE__ */ jsx52("p", { className: font ? font : "text-sm", children: title })
7098
7063
  ] }) });
7099
7064
  };
7100
7065
  var BrandLabel_default = BrandLabel;
7101
7066
 
7102
7067
  // src/components/labels/CoterieLabel.tsx
7103
- import { jsx as jsx52 } from "react/jsx-runtime";
7068
+ import { jsx as jsx53 } from "react/jsx-runtime";
7104
7069
  var CoterieLabel = ({ title, font }) => {
7105
- return /* @__PURE__ */ jsx52("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsx52("p", { className: font ? font : "text-sm", children: title }) });
7070
+ return /* @__PURE__ */ jsx53("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsx53("p", { className: font ? font : "text-sm", children: title }) });
7106
7071
  };
7107
7072
  var CoterieLabel_default = CoterieLabel;
7108
7073
 
7109
7074
  // src/components/labels/GradeLabel.tsx
7110
- import { jsx as jsx53 } from "react/jsx-runtime";
7075
+ import { jsx as jsx54 } from "react/jsx-runtime";
7111
7076
  var GradeLabel = ({ title, font }) => {
7112
- return /* @__PURE__ */ jsx53("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsx53("p", { className: font ? font : "text-sm", children: title }) });
7077
+ return /* @__PURE__ */ jsx54("div", { className: "px-3 py-1 gap-x-3 border border-grade-label-border bg-grade-label text-grade-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsx54("p", { className: font ? font : "text-sm", children: title }) });
7113
7078
  };
7114
7079
  var GradeLabel_default = GradeLabel;
7115
7080
 
7116
7081
  // src/components/labels/OutcomeLabel.tsx
7117
- import { jsx as jsx54, jsxs as jsxs40 } from "react/jsx-runtime";
7082
+ import { jsx as jsx55, jsxs as jsxs40 } from "react/jsx-runtime";
7118
7083
  var OutcomeLabel = ({ title, font }) => {
7119
- return /* @__PURE__ */ jsx54("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs40("div", { className: "flex flex-row items-center gap-x-2", children: [
7120
- /* @__PURE__ */ jsx54(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7121
- /* @__PURE__ */ jsx54("p", { className: font ? font : "text-sm", children: title })
7084
+ return /* @__PURE__ */ jsx55("div", { className: "px-3 py-1 gap-x-3 border border-brand-label-border bg-brand-label text-brand-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs40("div", { className: "flex flex-row items-center gap-x-2", children: [
7085
+ /* @__PURE__ */ jsx55(BaseImage_default, { src: "/icons/category.webp", alt: "label", size: "xsmall" }),
7086
+ /* @__PURE__ */ jsx55("p", { className: font ? font : "text-sm", children: title })
7122
7087
  ] }) });
7123
7088
  };
7124
7089
  var OutcomeLabel_default = OutcomeLabel;
7125
7090
 
7126
7091
  // src/components/labels/PersonalLabel.tsx
7127
- import { jsx as jsx55, jsxs as jsxs41 } from "react/jsx-runtime";
7092
+ import { jsx as jsx56, jsxs as jsxs41 } from "react/jsx-runtime";
7128
7093
  var PersonalLabel = ({ title, icon, font }) => {
7129
- return /* @__PURE__ */ jsx55("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs41("div", { className: "flex flex-row items-center gap-x-2", children: [
7130
- icon ? icon : /* @__PURE__ */ jsx55(
7094
+ return /* @__PURE__ */ jsx56("div", { className: "px-3 py-1 gap-x-3 border border-personal-label-border bg-personal-label text-personal-label-text rounded-catchup-3xlarge", children: /* @__PURE__ */ jsxs41("div", { className: "flex flex-row items-center gap-x-2", children: [
7095
+ icon ? icon : /* @__PURE__ */ jsx56(
7131
7096
  BaseImage_default,
7132
7097
  {
7133
7098
  src: "/icons/personal-label.webp",
@@ -7135,16 +7100,16 @@ var PersonalLabel = ({ title, icon, font }) => {
7135
7100
  size: "xsmall"
7136
7101
  }
7137
7102
  ),
7138
- /* @__PURE__ */ jsx55("p", { className: font ? font : "text-sm", children: title })
7103
+ /* @__PURE__ */ jsx56("p", { className: font ? font : "text-sm", children: title })
7139
7104
  ] }) });
7140
7105
  };
7141
7106
  var PersonalLabel_default = PersonalLabel;
7142
7107
 
7143
7108
  // src/components/labels/PublishingHouseLabel.tsx
7144
- import { jsx as jsx56, jsxs as jsxs42 } from "react/jsx-runtime";
7109
+ import { jsx as jsx57, jsxs as jsxs42 } from "react/jsx-runtime";
7145
7110
  var PublishingHouseLabel = ({ title, icon, font }) => {
7146
- return /* @__PURE__ */ jsx56("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", children: /* @__PURE__ */ jsxs42("div", { className: "flex flex-row items-center gap-x-2", children: [
7147
- icon ? icon : /* @__PURE__ */ jsx56(
7111
+ return /* @__PURE__ */ jsx57("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", children: /* @__PURE__ */ jsxs42("div", { className: "flex flex-row items-center gap-x-2", children: [
7112
+ icon ? icon : /* @__PURE__ */ jsx57(
7148
7113
  BaseImage_default,
7149
7114
  {
7150
7115
  src: "/icons/publishing-house-label.webp",
@@ -7152,55 +7117,55 @@ var PublishingHouseLabel = ({ title, icon, font }) => {
7152
7117
  size: "xsmall"
7153
7118
  }
7154
7119
  ),
7155
- /* @__PURE__ */ jsx56("p", { className: font ? font : "text-sm", children: title })
7120
+ /* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title })
7156
7121
  ] }) });
7157
7122
  };
7158
7123
  var PublishingHouseLabel_default = PublishingHouseLabel;
7159
7124
 
7160
7125
  // src/components/labels/ActivityLabel.tsx
7161
- import { jsx as jsx57 } from "react/jsx-runtime";
7126
+ import { jsx as jsx58 } from "react/jsx-runtime";
7162
7127
  var ActivityLabel = ({ title, font }) => {
7163
- return /* @__PURE__ */ jsx57("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", children: /* @__PURE__ */ jsx57("p", { className: font ? font : "text-sm", children: title }) });
7128
+ return /* @__PURE__ */ jsx58("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", children: /* @__PURE__ */ jsx58("p", { className: font ? font : "text-sm", children: title }) });
7164
7129
  };
7165
7130
  var ActivityLabel_default = ActivityLabel;
7166
7131
 
7167
7132
  // src/components/infos/InfoWithText.tsx
7168
- import { jsx as jsx58, jsxs as jsxs43 } from "react/jsx-runtime";
7133
+ import { jsx as jsx59, jsxs as jsxs43 } from "react/jsx-runtime";
7169
7134
  var InfoWithText = (props) => {
7170
7135
  const { value } = props;
7171
7136
  return /* @__PURE__ */ jsxs43("div", { className: "w-full flex flex-row items-center gap-x-2 my-2", children: [
7172
- /* @__PURE__ */ jsx58(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7173
- /* @__PURE__ */ jsx58("div", { className: "flex-1", children: /* @__PURE__ */ jsx58("p", { className: "", children: value }) })
7137
+ /* @__PURE__ */ jsx59(BaseImage_default, { src: "/icons/info.webp", alt: "info", size: "small" }),
7138
+ /* @__PURE__ */ jsx59("div", { className: "flex-1", children: /* @__PURE__ */ jsx59("p", { className: "", children: value }) })
7174
7139
  ] });
7175
7140
  };
7176
7141
  var InfoWithText_default = InfoWithText;
7177
7142
 
7178
7143
  // src/components/texts/InputWithSpecialExpression.tsx
7179
7144
  import { InlineMath as InlineMath12 } from "react-katex";
7180
- import { jsx as jsx59 } from "react/jsx-runtime";
7145
+ import { jsx as jsx60 } from "react/jsx-runtime";
7181
7146
  var InputWithSpecialExpression = ({
7182
7147
  value,
7183
7148
  showSpecialOnly
7184
7149
  }) => {
7185
7150
  const inputWithSpecialExpressionList = constructInputWithSpecialExpressionList(value);
7186
- return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ jsx59("div", { className: "m-2", children: /* @__PURE__ */ jsx59("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx59(
7151
+ return showSpecialOnly ? inputWithSpecialExpressionList.length > 1 ? /* @__PURE__ */ jsx60("div", { className: "m-2", children: /* @__PURE__ */ jsx60("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx60(
7187
7152
  "span",
7188
7153
  {
7189
7154
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7190
- children: inputPart.isEquation ? /* @__PURE__ */ jsx59("span", { className: "text-lg", children: /* @__PURE__ */ jsx59(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7155
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx60("span", { className: "text-lg", children: /* @__PURE__ */ jsx60(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7191
7156
  }
7192
- )) }) }) : null : /* @__PURE__ */ jsx59("div", { className: "m-2", children: /* @__PURE__ */ jsx59("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx59(
7157
+ )) }) }) : null : /* @__PURE__ */ jsx60("div", { className: "m-2", children: /* @__PURE__ */ jsx60("span", { className: "whitespace-pre-wrap", children: inputWithSpecialExpressionList.map((inputPart, index) => /* @__PURE__ */ jsx60(
7193
7158
  "span",
7194
7159
  {
7195
7160
  className: `${inputPart.isBold ? "font-semibold" : ""} ${inputPart.isUnderline ? "underline" : ""}`,
7196
- children: inputPart.isEquation ? /* @__PURE__ */ jsx59("span", { className: "text-lg", children: /* @__PURE__ */ jsx59(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7161
+ children: inputPart.isEquation ? /* @__PURE__ */ jsx60("span", { className: "text-lg", children: /* @__PURE__ */ jsx60(InlineMath12, { math: inputPart.value }, index) }) : inputPart.value
7197
7162
  }
7198
7163
  )) }) });
7199
7164
  };
7200
7165
  var InputWithSpecialExpression_default = InputWithSpecialExpression;
7201
7166
 
7202
7167
  // src/components/titles/BaseTitle.tsx
7203
- import { jsx as jsx60, jsxs as jsxs44 } from "react/jsx-runtime";
7168
+ import { jsx as jsx61, jsxs as jsxs44 } from "react/jsx-runtime";
7204
7169
  var BaseTitle = ({
7205
7170
  title,
7206
7171
  totalItemCount,
@@ -7216,15 +7181,15 @@ var BaseTitle = ({
7216
7181
  itemName
7217
7182
  ] }) : null
7218
7183
  ] }),
7219
- description ? /* @__PURE__ */ jsx60("p", { className: "", children: description }) : null
7184
+ description ? /* @__PURE__ */ jsx61("p", { className: "", children: description }) : null
7220
7185
  ] });
7221
7186
  };
7222
7187
  var BaseTitle_default = BaseTitle;
7223
7188
 
7224
7189
  // src/components/titles/SubTitle.tsx
7225
- import { jsx as jsx61 } from "react/jsx-runtime";
7190
+ import { jsx as jsx62 } from "react/jsx-runtime";
7226
7191
  var SubTitle = ({ title }) => {
7227
- return /* @__PURE__ */ jsx61("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7192
+ return /* @__PURE__ */ jsx62("p", { className: "text-xl font-medium text-catchup-darker-blue", children: title });
7228
7193
  };
7229
7194
  var SubTitle_default = SubTitle;
7230
7195
 
@@ -9693,6 +9658,7 @@ export {
9693
9658
  DividerLine_default as DividerLine,
9694
9659
  DropdownActivityContent_default as DropdownActivityContent,
9695
9660
  FillInTheBlanksActivityContent_default as FillInTheBlanksActivityContent,
9661
+ FullCard_default as FullCard,
9696
9662
  GradeLabel_default as GradeLabel,
9697
9663
  GroupingActivityContent_default as GroupingActivityContent,
9698
9664
  InfoWithText_default as InfoWithText,