import{_ as s}from"./BsfBP_fG.js";import{b as u,p as c,l as p}from"./DnqccIrc.js";const l=({startIndex:t=!1,alwaysOneOpen:a=!1})=>{const r=u(t),n=e=>{r.value=e===r.value||typeof e==null?-1:e},o=e=>{!s(e)&&a||n(e)};return c("a_currentIndex",p(()=>r.value)),{changeActive:o,currentIndex:r}};export{l as u};
