1function linkBoxes(){const boxes=document.querySelectorAll("section.card, article.card");console.log("Found boxes:",boxes.length);if(!boxes.length)return;boxes.forEach((box)=>{const link=box.querySelector("a");if(!link?.href)return;const url=link.href;const target=link.target;const rel=link.rel;box.setAttribute("role","article");box.setAttribute("tabindex","0");function navigate(){if(target==="_blank"||target==="_new"){const newWindow=window.open(url,target);if(rel&&newWindow){}}else if(target&&target!=="_self"){window.open(url,target)}else{window.location.href=url}} 2box.addEventListener("click",function(event){if(window.getSelection().toString())return;if(!event.target.closest("a, button, input, textarea, [role='button']")){navigate()}});box.addEventListener("keydown",function(event){if(event.key==="Enter"||event.key===" "){event.preventDefault();if(!event.target.closest("a, button, input, textarea")){navigate()}}});box.style.cursor="pointer";box.addEventListener("mouseenter",()=>box.classList.add("is-hovered"));box.addEventListener("mouseleave",()=>box.classList.remove("is-hovered"));if(link.classList.contains("sr-only")){link.addEventListener("focus",()=>box.classList.add("is-focused"));link.addEventListener("blur",()=>box.classList.remove("is-focused"))} 3box.classList.add("linkify")})} 4if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",linkBoxes)}else{linkBoxes()}
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.