import{jsx as m}from"react/jsx-runtime";import{C as p}from"./course-card-3-7q2dUiBN.js";import{c as e}from"./ui-components-B24mpb8o.js";import"@inertiajs/react";import"lucide-react";import"./checkout-item-C6mQbTml.js";import"next-themes";import"sonner";import"react";import"@radix-ui/react-label";import"class-variance-authority";import"@radix-ui/react-checkbox";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";const O=({data:r})=>{var i;if(!r)return null;const o=(i=r.collection.length)!=null?i:0;return m("div",{className:e("relative z-10 grid grid-cols-1 items-center gap-x-20",o>1?"md:grid-cols-2":"md:grid-cols-1",o>2?"gap-y-10":"gap-y-14"),children:r.collection.slice(0,2).map(t=>m(p,{course:t,className:"h-full"},t.id))})};export{O as default};
