import{jsx as r,jsxs as p}from"react/jsx-runtime";import{a as l,b4 as t}from"./ui-components-B24mpb8o.js";import{g as c,S as a,a as s}from"./section-DjkqMKZX.js";import{usePage as n}from"@inertiajs/react";import{DynamicIcon as d}from"lucide-react/dynamic";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"./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"./table-header-DXTJ1r7-.js";import"@tanstack/react-table";import"./table-page-size-B94DPeOD.js";import"./route-D0xh7FtZ.js";const lo=()=>{const{props:i}=n(),m=c(i.page,"overview");return r(a,{customize:i.customize,pageSection:m,containerClass:"py-20",children:r("div",{className:"relative grid grid-cols-1 gap-7 sm:grid-cols-2 md:grid-cols-4",children:s(m).map((o,e)=>p(l,{className:"bg-secondary-lighter relative rounded-3xl border-none px-6 py-10 !shadow-none md:py-12",style:{backgroundColor:t(o.bg_color,1),color:t(o.text_color,1)},children:[r("img",{src:o.image,alt:"",className:"absolute top-0 right-0 w-full max-w-[100px]"}),r("div",{className:"flex h-14 w-14 items-center justify-center rounded-full",style:{backgroundColor:t(o.text_color,.1)},children:r(d,{name:o.icon,className:"h-8 w-8"})}),r("h3",{className:"mt-8 text-3xl font-semibold md:text-4xl",children:o.count}),r("p",{className:"mt-4 text-sm",children:o.title})]},`element-${e}`))})})};export{lo as default};
