import{aT as o,j as t,aS as c}from"./react-vendor-xYZnmIII.js";import{B as g}from"./button-gradient-primary-B41CKBZO.js";import{R as u}from"./rating-stars-BzA97NsB.js";import{c as x,A as b,h as j,i as v}from"./ui-components-CQM92IK3.js";import{g as N,S as w,a as h}from"./section-BOHF3o7C.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./interactive-vendor-B1OgcAgP.js";import"./use-lang-Dg6I_Fym.js";import"./chunked-uploader-input-dQEAsxxf.js";import"./input-error-_LAmvivg.js";import"./loading-button-D7aXR3K4.js";import"./inertia-FIn3q7f1.js";import"./icon-picker-dialog-jzY0-ZNJ.js";import"./icon-picker-e9MMAA5U.js";import"./debounce-CWHP_ANh.js";import"./icon-picker-tooltip-CR2ZyXZ1.js";import"./table-header-CjMHr8CW.js";import"./table-page-size-CzF8rJAG.js";import"./route-D0xh7FtZ.js";const K=()=>{var s,r,l,i,m,p,n;const{props:e}=o(),a=N(e.page,"hero");return t.jsxs(w,{customize:e.customize,pageSection:a,containerClass:x("pt-20 pb-10"),contentClass:x("flex flex-col items-center justify-between gap-12 md:flex-row md:gap-3"),children:[t.jsxs("div",{className:"relative w-full md:max-w-[480px]",children:[t.jsxs("div",{className:"relative z-10 mb-6",children:[t.jsx("p",{className:"text-secondary-foreground mb-2 text-lg font-medium",children:a==null?void 0:a.title}),t.jsx("h1",{className:"text-3xl leading-tight font-bold md:text-4xl lg:text-[42px] lg:leading-14",children:a==null?void 0:a.sub_title}),t.jsx("p",{className:"text-muted-foreground mt-4 text-lg",children:a==null?void 0:a.description})]}),((s=a==null?void 0:a.properties)==null?void 0:s.button_text)&&t.jsx(g,{asChild:!0,shadow:!1,className:"relative z-10 mb-10 md:mb-14",children:t.jsx(c,{href:((r=a==null?void 0:a.properties)==null?void 0:r.button_link)||"",children:(l=a==null?void 0:a.properties)==null?void 0:l.button_text})}),t.jsxs("div",{className:"relative z-10 flex items-center gap-3",children:[t.jsx("div",{className:"*:data-[slot=avatar]:ring-background flex -space-x-4 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:grayscale",children:h(a).map((d,f)=>t.jsxs(b,{className:"h-11 w-11",children:[t.jsx(j,{src:d.image||"",alt:d.name,className:"object-cover"}),t.jsx(v,{children:"IM"})]},f))}),t.jsxs("div",{children:[((i=a==null?void 0:a.properties)==null?void 0:i.ratings)&&t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(u,{rating:5,starClass:"w-4 h-4"}),t.jsx("p",{className:"font-medium",children:(m=a==null?void 0:a.properties)==null?void 0:m.ratings})]}),((p=a==null?void 0:a.properties)==null?void 0:p.subscribers)&&t.jsx("p",{className:"text-muted-foreground text-sm",children:(n=a==null?void 0:a.properties)==null?void 0:n.subscribers})]})]}),t.jsx("div",{className:"after:pointer-events-none after:absolute after:top-0 after:-right-20 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(97,95,255,1))] after:blur-[290px] after:content-['']"})]}),t.jsxs("div",{className:"relative w-full max-w-[640px]",children:[t.jsx("img",{src:(a==null?void 0:a.thumbnail)||"",alt:"Student learning online",className:"relative z-10 h-full w-full"}),t.jsx("div",{className:"after:pointer-events-none after:absolute after:right-0 after:bottom-20 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(0,167,111,1)] after:blur-[290px] after:content-['']"})]})]})};export{K as default};
