1import{r as n}from"./vendor-DrKskULD.js";function u(e,t){const[c,s]=n.useState(()=>{try{const o=window.localStorage.getItem(e);return o?JSON.parse(o):t instanceof Function?t():t}catch{return t}}),a=n.useCallback(o=>{try{const r=o instanceof Function?o(c):o;s(r),window.localStorage.setItem(e,JSON.stringify(r))}catch(r){console.log(r)}},[e,c]);return[c,a]}const S=e=>{try{typeof window<"u"&&window.localStorage.removeItem(e)}catch(t){console.log(t)}};export{S as r,u}; 2//# sourceMappingURL=useLocalStorage-eSC8l4tj.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.