import{u as d,j as o}from"./vendor-rThclpOQ.js";import{C as g}from"./category-card-4-KDm03tJ-.js";import{g as x,S as u}from"./section-BOqnWLvv.js";import{l as s}from"./utils-8KAaAB9H.js";import"./card-HXna_7vU.js";import"./dialog-CDEDwQhm.js";import"./use-lang-BK6P2WMc.js";import"./chunked-uploader-input-rUbaF7V3.js";import"./button-ZcsoqUQn.js";import"./index-DquVdLUg.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"./avatar-BsP_s7dr.js";const K=()=>{const{props:m}=d(),{page:l,customize:p,topCategories:a}=m,r=x(l,"top_categories"),i=["rgba(79,57,246,1)","rgba(0,122,85,1)","rgba(255,171,0,1)","rgba(236,0,63,1)","rgba(255,171,0,1)"];return o.jsx(u,{customize:p,pageSection:r,containerClass:"mt-20 py-20",contentClass:"relative",children:o.jsxs("div",{className:"relative z-10 flex flex-col items-center justify-between gap-8 md:flex-row",children:[o.jsxs("div",{className:"w-full md:max-w-[306px]",children:[o.jsx("h2",{className:"mb-2 text-3xl font-bold sm:text-4xl",children:r==null?void 0:r.title}),o.jsx("p",{className:"text-muted-foreground",children:r==null?void 0:r.description})]}),o.jsx("div",{className:"z-10 grid w-full grid-cols-1 gap-7 md:grid-cols-2 lg:grid-cols-3",children:a.map((e,c)=>{const n=c%i.length,t=i[n];return o.jsx(g,{category:e,style:{color:t,borderColor:s(t,.15),backgroundColor:s(t,.04)}},e.id)})})]})})};export{K as default};
