import{w as o}from"./index.Chpxrmiw.js";const r=o(new Set),n=o(new Set),c=()=>({selectedSampleIds:r,selectedAnnotationIds:n,toggleSampleSelection:e=>{r.update(l=>(l.has(e)?l.delete(e):l.add(e),l))},clearSelectedSamples:()=>{r.update(e=>(e.clear(),e))},toggleAnnotationSelection:e=>{n.update(l=>(l.has(e)?l.delete(e):l.add(e),l))},clearSelectedAnnotations:()=>{n.update(e=>(e.clear(),e))}});export{c as u};
