import {
  curriculum_ai_traning_default
} from "./chunk-EFCQZTUA.js";
import {
  curriculum_review_default
} from "./chunk-HVOPPWO5.js";
import {
  curriculum_video_default
} from "./chunk-HYMGXDPL.js";
import {
  useCurriculumContext
} from "./chunk-IYQJIEVM.js";
import {
  Typo
} from "./chunk-PARGQUJB.js";
import {
  Flex
} from "./chunk-25HMMI7R.js";
import {
  InfoCircledIcon
} from "./chunk-V5XKNSCK.js";

// src/molecules/curriculumV2/CurriculumContents/index.tsx
import { jsx, jsxs } from "react/jsx-runtime";
function CurriculumBody() {
  const { selectedItem, selectedSectionTitle } = useCurriculumContext();
  switch (selectedItem.type) {
    case "video":
      return /* @__PURE__ */ jsx(curriculum_video_default, { item: selectedItem });
    case "review":
      return /* @__PURE__ */ jsx(
        curriculum_review_default,
        {
          item: selectedItem,
          sectionTitle: selectedSectionTitle == null ? void 0 : selectedSectionTitle.title
        }
      );
    case "aiTraining":
      return /* @__PURE__ */ jsx(curriculum_ai_traning_default, { item: selectedItem });
    default:
      return /* @__PURE__ */ jsxs(
        Flex,
        {
          align: "center",
          direction: "column",
          gap: "2",
          height: "100%",
          justify: "center",
          width: "100%",
          children: [
            /* @__PURE__ */ jsx(InfoCircledIcon, { height: 24, width: 24 }),
            /* @__PURE__ */ jsx(Typo, { children: "\uCEE8\uD150\uCE20\uB97C \uB85C\uB529 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4" }),
            /* @__PURE__ */ jsx(Typo, { align: "center", color: "gray", variant: "caption", children: `[debug info]
            ${JSON.stringify(selectedItem)}` })
          ]
        }
      );
  }
}

export {
  CurriculumBody
};
//# sourceMappingURL=chunk-UU5JG7BD.js.map