import{j as t}from"./app-C417rstp.js";import u from"./AutoridadCard-CoryGeWV.js";import"./index-C9OncgsG.js";import"./proxy-Bepa3l_N.js";import"./index-CIV8c8cT.js";function h({personas:r,groupIndex:n,expandedKey:c,setExpandedKey:m}){const e=r.length,o="flex flex-wrap justify-center gap-x-8 gap-y-32",s=e===1?"w-full max-w-xl":e===2?"w-full md:w-[calc(50%-1rem)] max-w-md":"w-full md:w-[calc(50%-1rem)] lg:w-[calc(33.333%-1rem)]";return t.jsx("div",{className:o,children:r.map((i,a)=>{const l=`${n}-${a}`,d=c===l;return t.jsx("div",{className:s,children:t.jsx(u,{persona:i,index:a,isOpen:d,onToggle:()=>m(x=>x===l?null:l)})},l)})})}export{h as default};
