import{u as f,j as t}from"./vendor-BKmmeuxg.js";import{A as g,a as i,b as l,c as n}from"./accordion-CNBvFN43.js";import{g as u,a as b,S as h}from"./section-Bz0LxI_C.js";import"./utils-DxSsnXxD.js";import"./dialog-B2gN9MvT.js";import"./use-lang-YfV87_zl.js";import"./chunked-uploader-input-D0XPVOTS.js";import"./button-BpNwv2aE.js";import"./index-WW_1X1qx.js";import"./input-DM0goJrn.js";import"./index-D9-QKOod.js";import"./input-error-LaPr_4wd.js";import"./loading-button-BnTVAMJ7.js";import"./label-HmIcv5Yx.js";import"./textarea-CyndvowL.js";import"./inertia-SZXqLvQm.js";import"./card-D9_SJYq6.js";import"./icon-picker-dialog-AqyWbPod.js";import"./icon-picker-iXyBXP6r.js";import"./debounce-CWHP_ANh.js";import"./tooltip-BsX7Z6vz.js";import"./scroll-area-C8HGru-R.js";import"./table-header-DVkEnG6Y.js";import"./table-DWOXv4Pu.js";import"./table-page-size-OCfjNXER.js";import"./dropdown-menu-DO-po5c1.js";import"./route-B4ZMN77y.js";import"./avatar-j28afJTV.js";const O=()=>{const{props:m}=f(),{page:c,customize:d}=m,e=u(c,"faqs"),s=b(e),a=Math.floor(s.length/2),p=s.slice(0,a),x=s.slice(a);return t.jsx(h,{customize:d,pageSection:e,containerClass:"py-20",contentClass:"relative",children:t.jsxs("div",{className:"relative z-10",children:[t.jsxs("div",{className:"relative z-10 mx-auto mb-10 max-w-lg text-center",children:[t.jsx("h2",{className:"mb-2 text-3xl font-bold sm:text-4xl",children:e==null?void 0:e.title}),t.jsx("p",{className:"text-muted-foreground",children:e==null?void 0:e.description})]}),t.jsxs(g,{type:"single",collapsible:!0,defaultValue:"faq-0-first",className:"relative w-full",children:[t.jsxs("div",{className:"relative z-10 grid grid-cols-1 items-start gap-x-7 gap-y-4 md:grid-cols-2",children:[t.jsx("div",{children:p.map((r,o)=>t.jsxs(i,{value:`faq-${o}-first`,className:"bg-background border-border mb-4 rounded-lg border px-6 shadow-sm",children:[t.jsx(l,{className:"cursor-pointer py-4 text-base font-semibold hover:no-underline",children:r.title}),t.jsx(n,{className:"text-muted-foreground pt-0 pb-4 text-sm",children:r.description})]},`faq-${o}-first`))}),t.jsx("div",{children:x.map((r,o)=>t.jsxs(i,{value:`faq-${o}-second`,className:"bg-background border-border mb-4 rounded-lg border px-6 shadow-sm",children:[t.jsx(l,{className:"cursor-pointer py-4 text-base font-semibold hover:no-underline",children:r.title}),t.jsx(n,{className:"text-muted-foreground pt-0 pb-4 text-sm",children:r.description})]},`faq-${o}-second`))})]}),t.jsx("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{O as default};
