1import{store as a,getUrlParamsFromStorage as i}from"woody_addon_favorites_tools";async function l(t){const e=t.querySelector(".counter");t.addEventListener("update",function(){const n=a.getByState("f"),s=i();e&&(n.length==0?e.classList.add("is-empty"):(e.classList.remove("is-empty"),e.innerHTML=n.length));let r=t.dataset.favtarget;r+=s!=""?"?fav="+s:"",this.setAttribute("href",r)}),t.dispatchEvent(new Event("update"))}export{l as init};
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.