import{j as t,H as e}from"./vendor-rThclpOQ.js";import a from"./blogs-BcA6xViM.js";import c from"./call-to-action-BWd1ufTP.js";import u from"./faqs-BJrv1VA7.js";import f from"./hero-D8FPCHpe.js";import n from"./new-courses-2m4FZyTY.js";import h from"./overview-BfldFWmX.js";import l from"./partners-oADpjNcA.js";import b from"./top-categories-DLeeECs2.js";import k from"./top-courses-8VoVLFK0.js";import _ from"./top-instructors-Bxt-5uND.js";import x from"./layout-Bs9RdpPT.js";import"./blog-card-1-DfZqFob2.js";import"./card-HXna_7vU.js";import"./utils-8KAaAB9H.js";import"./avatar-BsP_s7dr.js";import"./button-ZcsoqUQn.js";import"./index-DquVdLUg.js";import"./embla-carousel-autoplay.esm-C7ZpmY0q.js";import"./section-BOqnWLvv.js";import"./dialog-CDEDwQhm.js";import"./use-lang-BK6P2WMc.js";import"./chunked-uploader-input-rUbaF7V3.js";import"./input-BeqyurrI.js";import"./index-CWNIUFqh.js";import"./input-error-Br4ngfdE.js";import"./loading-button-DKhpmf6V.js";import"./label-CtY1vfZY.js";import"./textarea-DM_GyfeP.js";import"./inertia-SZXqLvQm.js";import"./icon-picker-dialog-Bko_3r6q.js";import"./icon-picker-B7sCh2g1.js";import"./debounce-CWHP_ANh.js";import"./tooltip-WOIaUmuC.js";import"./scroll-area-BCwyUKIK.js";import"./table-header-Cuecslh2.js";import"./table-DoQbaWlF.js";import"./table-page-size-FBmivxVb.js";import"./dropdown-menu-Cm0H42C1.js";import"./route-B4ZMN77y.js";import"./subscribe-input-NrmwhYFD.js";import"./button-gradient-primary-Q0_Q44Uz.js";import"./accordion-by19KtHq.js";import"./rating-stars-CVLS44XM.js";import"./course-card-1-D6-WYoD1.js";import"./instructor-socials-ByOJVLmZ.js";import"./data-sort-modal-BlHogjA-.js";import"./switch-Bkpv9GhG.js";import"./switch-h0WX32ka.js";import"./landing-layout-DlxImaTd.js";import"./index-Bu96Y4ST.js";import"./app-logo-Bj2M2lhk.js";import"./main-CC75Iw88.js";import"./sonner-CgbrDmPW.js";import"./use-auth-C-KzOAQ_.js";import"./use-screen-CKcjNZmA.js";import"./appearance-Bwg83W1G.js";import"./app-BsPpMpSR.js";/* empty css            */import"./language-BmlkXzFK.js";import"./separator-Cir9hccx.js";import"./notification-Bti7isEF.js";import"./popover-otAaS-4X.js";import"./profile-toggle-CNRfQZAT.js";import"./index.browser-OxPLOBIU.js";const Eo=({system:p,page:m})=>{const{sections:i}=m,o=[];return i.filter(r=>r.active).map(r=>{switch(r.slug){case"hero":o.push(f);break;case"partners":o.push(l);break;case"top_categories":o.push(b);break;case"top_courses":o.push(k);break;case"overview":o.push(h);break;case"new_courses":o.push(n);break;case"top_instructors":o.push(_);break;case"faqs":o.push(u);break;case"blogs":o.push(a);break;case"call_to_action":o.push(c);break}}),t.jsxs(x,{children:[t.jsx(e,{title:p.fields.name}),o.map((r,s)=>t.jsx(r,{},`home-1-${s}`))]})};export{Eo as default};
