1const e="recently-viewed",t=new class{constructor(){this.recentlyViewedHandles=[],this.recentlyViewedHandles=JSON.parse(localStorage.getItem(e)||"[]")}add(t){this.recentlyViewedHandles=Array.from(new Set([t,...this.recentlyViewedHandles].slice(0,20))),localStorage.setItem(e,JSON.stringify(this.recentlyViewedHandles))}get(){return this.recentlyViewedHandles}clear(){localStorage.removeItem(e),this.recentlyViewedHandles=[]}remove(t){this.recentlyViewedHandles=this.recentlyViewedHandles.filter(e=>e!==t),localStorage.setItem(e,JSON.stringify(this.recentlyViewedHandles))}list(){return this.recentlyViewedHandles}};export{t as r};
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.