import{jsxs as e,jsx as t}from"react/jsx-runtime";import{Head as a}from"@inertiajs/react";import c from"./blogs-B-RVv4z-.js";import u from"./call-to-action-DCi9-Ipt.js";import f from"./faqs-B3WR2LsZ.js";import n from"./hero-Dcr7qm3Y.js";import h from"./instructor-CL_IiO7b.js";import l from"./overview-D9cbmn5S.js";import b from"./partners-DR7qEE4a.js";import k from"./testimonials-D90KDTJq.js";import g from"./top-categories-Bl2cQ0CW.js";import v from"./top-course-Dh6fnyUM.js";import T from"./top-courses-BMymw-n_.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"./rating-stars-a-rkeoeH.js";import"./video-player-DuM4pi_Z.js";import"plyr-react";/* empty css                     */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 tr=({page:m,system:p})=>{const{sections:i}=m,o=[];return i.filter(r=>r.active).map(r=>{switch(r.slug){case"hero":o.push(n);break;case"partners":o.push(b);break;case"top_categories":o.push(g);break;case"top_course":o.push(v);break;case"overview":o.push(l);break;case"top_courses":o.push(T);break;case"instructor":o.push(h);break;case"faqs":o.push(f);break;case"testimonials":o.push(k);break;case"blogs":o.push(c);break;case"call_to_action":o.push(u);break}}),e(_,{children:[t(a,{title:p.fields.name}),o.map((r,s)=>t(r,{},`home-3-${s}`))]})};export{tr as default};
