1document.body.addEventListener("click", (event) => { 2 const header = event.target.closest(".collapsible, .custom-collapsible"); 3 if (!header) return; 4 5 const container = header.closest(".collapsible-container") || header.parentElement; 6 const content = container?.querySelector(".content") || header.nextElementSibling; 7 if (!content || !content.classList.contains("content")) return; 8 9 header.classList.toggle("active"); 10 content.classList.toggle("is-open"); 11 12 const isOpen = content.classList.contains("is-open"); 13 header.setAttribute("aria-expanded", isOpen); 14 content.setAttribute("aria-hidden", !isOpen); 15});
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.