1import{$ as o}from"./useControlledState-BB99txCh.js";import{r as u}from"./jsx-runtime-Dt5Dsy05.js";function s(e={}){let{isReadOnly:a}=e,[t,d]=o(e.isSelected,e.defaultSelected||!1,e.onChange),[c]=u.useState(t);function f(n){a||d(n)}function i(){a||d(!t)}var l;return{isSelected:t,defaultSelected:(l=e.defaultSelected)!==null&&l!==void 0?l:c,setSelected:f,toggle:i}}export{s as $}; 2//# sourceMappingURL=useToggleState-xbdVqVLM.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.