"use client"
import{a as m}from"./chunk-WMTXO7RT.mjs";import{m as n}from"./chunk-LO5RKFLH.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as d}from"lucide-react";import*as c from"react";import{jsx as r,jsxs as v}from"react/jsx-runtime";var g=e.Root,f=c.forwardRef(({className:t,...i},o)=>r(e.Item,{ref:o,className:n("border-b border-b-slate-200 py-3 last:border-none",t),...i}));f.displayName="AccordionItem";var l=c.forwardRef(({className:t,children:i,variant:o="chevron",...a},s)=>r(e.Header,{className:"flex",children:v(e.Trigger,{ref:s,className:n("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg",{"[&[data-state=open]>svg]:rotate-180":o==="chevron","[&[data-state=open]>svg]:rotate-45":o==="plus"},t),...a,children:[i,o==="plus"?r(m,{className:"h-5 w-5 flex-none transition-transform duration-300"}):r(d,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));l.displayName=e.Trigger.displayName;var p=c.forwardRef(({className:t,children:i,...o},a)=>r(e.Content,{ref:a,className:n("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",t),...o,children:i}));p.displayName=e.Content.displayName;export{g as a,f as b,l as c,p as d};
