1document.addEventListener('DOMContentLoaded', function () { 2 const headers = document.querySelectorAll('.accordion-header'); 3 4 headers.forEach(header => { 5 header.addEventListener('click', function () { 6 const content = this.nextElementSibling; 7 8 const isOpen = content.classList.toggle('open'); 9 10 this.classList.toggle('open', isOpen); 11 12 headers.forEach(h => { 13 if (h !== this) { 14 h.classList.remove('open'); 15 h.nextElementSibling.classList.remove('open'); 16 } 17 }); 18 }); 19 }); 20}); 21 22 23document.addEventListener("DOMContentLoaded", function () { 24 const backToTopButton = document.getElementById("back-to-top"); 25 26 window.addEventListener("scroll", function () { 27 if (window.scrollY > 300) { 28 backToTopButton.classList.add("show"); 29 } else { 30 backToTopButton.classList.remove("show"); 31 } 32 }); 33 34 backToTopButton.addEventListener("click", function () { 35 window.scrollTo({ 36 top: 0, 37 behavior: "smooth", 38 }); 39 }); 40});
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.