1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5853],{4463:function(n,e,r){var t=r(7294),i=r(6362);e.Z=function(n,e,r){if(!i.jU)return[e,i.ZT,i.ZT];if(!n)throw new Error("useLocalStorage key may not be falsy");var u=r?r.raw?function(n){return n}:r.deserializer:JSON.parse,o=(0,t.useRef)((function(n){try{var t=r?r.raw?String:r.serializer:JSON.stringify,i=localStorage.getItem(n);return null!==i?u(i):(e&&localStorage.setItem(n,t(e)),e)}catch(c){return e}})),c=(0,t.useState)((function(){return o.current(n)})),a=c[0],f=c[1];(0,t.useLayoutEffect)((function(){return f(o.current(n))}),[n]);var s=(0,t.useCallback)((function(e){try{var t="function"===typeof e?e(a):e;if("undefined"===typeof t)return;var i=void 0;i=r?r.raw?"string"===typeof t?t:JSON.stringify(t):r.serializer?r.serializer(t):JSON.stringify(t):JSON.stringify(t),localStorage.setItem(n,i),f(u(i))}catch(c){}}),[n,f]),l=(0,t.useCallback)((function(){try{localStorage.removeItem(n),f(void 0)}catch(c){}}),[n,f]);return[a,s,l]}},2977:function(n,e,r){r.d(e,{Z:function(){return a}});var t=r(7294),i=function(n){(0,t.useEffect)(n,[])},u=function(n){var e=(0,t.useRef)(n);e.current=n,i((function(){return function(){return e.current()}}))},o=function(n){var e=(0,t.useRef)(0),r=(0,t.useState)(n),i=r[0],o=r[1],c=(0,t.useCallback)((function(n){cancelAnimationFrame(e.current),e.current=requestAnimationFrame((function(){o(n)}))}),[]);return u((function(){cancelAnimationFrame(e.current)})),[i,c]},c=r(6362),a=function(n,e){void 0===n&&(n=1/0),void 0===e&&(e=1/0);var r=o({width:c.jU?window.innerWidth:n,height:c.jU?window.innerHeight:e}),i=r[0],u=r[1];return(0,t.useEffect)((function(){if(c.jU){var n=function(){u({width:window.innerWidth,height:window.innerHeight})};return(0,c.on)(window,"resize",n),function(){(0,c.S1)(window,"resize",n)}}}),[]),i}}}]);
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.