1document.addEventListener("DOMContentLoaded", function() { 2 let element = document.getElementById("sign-up-slide-out") 3 const observer = new IntersectionObserver(($event) => { 4 let isAnyIntersecting = !!$event.reduce((previousValue, currentValue) => { return previousValue + (currentValue.isIntersecting ? 1 : 0) }, 0); 5 if (isAnyIntersecting) { 6 element.classList.remove("active") 7 } else { 8 element.classList.add("active"); 9 } 10 }); 11 document.querySelectorAll(".observable-sign-up-form").forEach(container => { 12 observer.observe(container) 13 }) 14});
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.