import{j as e}from"./vendor-rThclpOQ.js";import{A as a,a as i,b as t,c as n}from"./accordion-by19KtHq.js";import{P as c}from"./richtor-BYY1_E6w.js";import"./utils-8KAaAB9H.js";const p=({course:r})=>{var o;return e.jsxs("div",{className:"space-y-10",children:[e.jsx(c,{value:r.description}),e.jsxs(a,{type:"single",collapsible:!0,children:[e.jsx("h6",{className:"mb-4 text-xl font-semibold",children:"Faqs"}),e.jsx("div",{className:"border-border border-y",children:(o=r.faqs)==null?void 0:o.map(s=>e.jsxs(i,{value:s.id,className:"px-4 last:border-none",children:[e.jsx(t,{className:"cursor-pointer text-lg hover:no-underline [&[data-state=open]]:text-blue-500",children:s.question}),e.jsx(n,{className:"pt-2",children:s.answer})]},s.id))})]})]})};export{p as default};
