"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),l=require("react"),u=require("../../../../src/pageComponents/Footer/components/AccordionFooter/accordionFooter.module.css"),a=require("../AccordionFooterItem/AccordionFooterItem.cjs.js"),d=({items:c})=>{const[n,r]=l.useState(null),s=e=>{r(t=>t===e?null:e)},i=e=>n===e;return o.jsx("div",{className:u.root,children:c.map((e,t)=>o.jsx(a.AccordionFooterItem,{title:e.title,content:e.content,isOpen:i(t),index:t,onClick:s},t))})};exports.AccordionFooter=d;
