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