import{jsx as t,jsxs as e}from"react/jsx-runtime";import{D as b,E as s,F as p,G as l}from"./ui-components-B24mpb8o.js";import{g as u,a as h,S as x}from"./section-DjkqMKZX.js";import{usePage as v}from"@inertiajs/react";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"lucide-react/dynamic";import"./table-header-DXTJ1r7-.js";import"@tanstack/react-table";import"./table-page-size-B94DPeOD.js";import"./route-D0xh7FtZ.js";const gt=()=>{const{props:c}=v(),{page:d,customize:n}=c,r=u(d,"faqs"),a=h(r),m=Math.floor(a.length/2),f=a.slice(0,m),g=a.slice(m);return t(x,{customize:n,pageSection:r,containerClass:"py-20",contentClass:"relative",children:e("div",{className:"relative z-10",children:[e("div",{className:"relative z-10 mx-auto mb-10 max-w-lg text-center",children:[t("h2",{className:"mb-2 text-3xl font-bold sm:text-4xl",children:r==null?void 0:r.title}),t("p",{className:"text-muted-foreground",children:r==null?void 0:r.description})]}),e(b,{type:"single",collapsible:!0,defaultValue:"faq-0-first",className:"relative w-full",children:[e("div",{className:"relative z-10 grid grid-cols-1 items-start gap-x-7 gap-y-4 md:grid-cols-2",children:[t("div",{children:f.map((o,i)=>e(s,{value:`faq-${i}-first`,className:"bg-background border-border mb-4 rounded-lg border px-6 shadow-sm",children:[t(p,{className:"text-base font-semibold",children:o.title}),t(l,{className:"text-muted-foreground",children:o.description})]},`faq-${i}-first`))}),t("div",{children:g.map((o,i)=>e(s,{value:`faq-${i}-second`,className:"bg-background border-border mb-4 rounded-lg border px-6 shadow-sm",children:[t(p,{className:"text-base font-semibold",children:o.title}),t(l,{className:"text-muted-foreground",children:o.description})]},`faq-${i}-second`))})]}),t("div",{className:"after:pointer-events-none after:absolute after:top-1/2 after:left-1/2 after:h-[240px] after:w-[240px] after:-translate-x-1/2 after:-translate-y-1/2 after:rounded-full after:bg-[rgba(97,95,255,1))] after:blur-[280px] after:content-['']"})]})]})})};export{gt as default};
