import{_ as p}from"./MembersCount.js";import{y as _,H as u,o as i,c as m,b as l}from"./index.js";import"./person.js";const f={class:"participants-counter iface-container"},d={data:()=>({noAdaptation:!0})},P=Object.assign(d,{__name:"ParticipantsCounter",props:{openParams:Object},setup(s,{expose:o}){const a=s,t=_({current:5,max:10}),r=e=>{const[n,c]=typeof e=="string"?JSON.parse(e):e;t.value={current:n,max:c}};return u(()=>{a.openParams&&r(a.openParams)}),o({setMembers:r}),(e,n)=>(i(),m("div",f,[l(p,{current:t.value.current,max:t.value.max},null,8,["current","max"])]))}});export{P as default};
