1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c0b2345d-a124-4163-a835-7a807ff63753`,e._sentryDebugIdIdentifier=`sentry-dbid-c0b2345d-a124-4163-a835-7a807ff63753`)}catch{}})();import{o as e,t}from"./react-D5YJ8T0s.js";var n=e(t()),r=function(){},i=typeof window<`u`,a=function(e,t,a){if(!i)return[t,r,r];if(!e)throw Error(`useLocalStorage key may not be falsy`);var o=a?a.raw?function(e){return e}:a.deserializer:JSON.parse,s=(0,n.useRef)(function(e){try{var n=a?a.raw?String:a.serializer:JSON.stringify,r=localStorage.getItem(e);return r===null?(t&&localStorage.setItem(e,n(t)),t):o(r)}catch{return t}}),c=(0,n.useState)(function(){return s.current(e)}),l=c[0],u=c[1];return(0,n.useLayoutEffect)(function(){return u(s.current(e))},[e]),[l,(0,n.useCallback)(function(t){try{var n=typeof t==`function`?t(l):t;if(n===void 0)return;var r=void 0;r=a?a.raw?typeof n==`string`?n:JSON.stringify(n):a.serializer?a.serializer(n):JSON.stringify(n):JSON.stringify(n),localStorage.setItem(e,r),u(o(r))}catch{}},[e,u]),(0,n.useCallback)(function(){try{localStorage.removeItem(e),u(void 0)}catch{}},[e,u])]};export{i as n,r,a as t}; 2//# sourceMappingURL=useLocalStorage-cv6xM1U7.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.