import{jsxs as e,jsx as t}from"react/jsx-runtime";import{Head as a}from"@inertiajs/react";import c from"./blogs-DIj0aITD.js";import u from"./call-to-action-CjN6wOJm.js";import f from"./faqs-C61_1Iea.js";import n from"./hero-CUeqQcSp.js";import h from"./instructor-nofuBqcJ.js";import l from"./statistics-LRdlh74L.js";import b from"./testimonials-D7JZ8Ofp.js";import k from"./top-categories-C6D5BWb6.js";import g from"./top-course-Dus8U0By.js";import T from"./top-courses-D4NVP7wZ.js";import _ from"./layout-O1VKj32u.js";import"./blog-card-1-BvxNMtXV.js";import"./ui-components-B24mpb8o.js";import"next-themes";import"sonner";import"react";import"@radix-ui/react-label";import"class-variance-authority";import"@radix-ui/react-checkbox";import"lucide-react";import"@radix-ui/react-avatar";import"@radix-ui/react-dropdown-menu";import"@radix-ui/react-scroll-area";import"@radix-ui/react-popover";import"@radix-ui/react-radio-group";import"@radix-ui/react-dialog";import"@radix-ui/react-slot";import"clsx";import"@radix-ui/react-separator";import"@radix-ui/react-tooltip";import"@radix-ui/react-tabs";import"@radix-ui/react-accordion";import"@radix-ui/react-progress";import"@radix-ui/react-select";import"cmdk";import"@radix-ui/react-switch";import"react-day-picker";import"@radix-ui/react-slider";import"embla-carousel-react";import"@radix-ui/react-toggle-group";import"vaul";import"tailwind-merge";import"date-fns";import"./section-DjkqMKZX.js";import"./use-lang-Cw_jKJYs.js";import"./chunked-uploader-input-WemAY1Qi.js";import"axios";import"./input-error-BbsDx4-P.js";import"./loading-button-B_LaGOAp.js";import"./inertia-FIn3q7f1.js";import"./icon-picker-dialog-C9VejAFv.js";import"./icon-picker-DlQKexqz.js";import"./debounce-CWHP_ANh.js";import"./icon-picker-tooltip-BfucLgKc.js";import"lucide-react/dynamic";import"./table-header-DXTJ1r7-.js";import"@tanstack/react-table";import"./table-page-size-B94DPeOD.js";import"./route-D0xh7FtZ.js";import"embla-carousel-autoplay";import"./subscribe-input-DOZ_pHNC.js";import"./button-gradient-primary-BCGlXQYd.js";import"./course-card-3-7q2dUiBN.js";import"./checkout-item-C6mQbTml.js";import"./instructor-socials-BXNMa78k.js";import"./review-card-1-gmrHyRh7.js";import"./category-card-4-zAq0hcsN.js";import"./course-card-5-6fOjdjSC.js";import"./data-sort-modal-Ds5EjYbZ.js";import"nprogress";import"./switch-r95oaeM6.js";import"./landing-layout-D335TIc1.js";import"./index-CUpX7x90.js";import"./app-logo-CAnM-q9p.js";import"./main-Cv60h411.js";import"./theme-colors-CLpwvDr4.js";import"./use-auth-cj50aT3v.js";import"./use-screen-CJI_WQZy.js";import"./appearance-zLWEcDPI.js";import"./language-79bZLpyc.js";import"./notification-BBQVVMqD.js";import"./profile-toggle-E46Ne1rK.js";import"nanoid";const Yo=({page:m,system:i})=>{const{sections:p}=m,o=[];return p.filter(r=>r.active).map(r=>{switch(r.slug){case"hero":o.push(n);break;case"statistics":o.push(l);break;case"top_categories":o.push(k);break;case"top_course":o.push(g);break;case"top_courses":o.push(T);break;case"instructor":o.push(h);break;case"faqs":o.push(f);break;case"testimonials":o.push(b);break;case"call_to_action":o.push(u);break;case"blogs":o.push(c);break}}),e(_,{children:[t(a,{title:i.fields.name}),o.map((r,s)=>t(r,{},`home-3-${s}`))]})};export{Yo as default};
