1(function() { 2 "use strict"; 3 4 // for backlight title 5 function onEntry(entry) { 6 entry.forEach(change => { 7 if (change.isIntersecting) { 8 change.target.classList.add('backlight-on'); 9 } 10 else { 11 change.target.classList.remove('backlight-on'); 12 } 13 }); 14 } 15 let observer = new IntersectionObserver(onEntry, { threshold: [1] }); 16 let observer_parallax = new IntersectionObserver(onEntry, { threshold: [0.9] }); 17 let elements = document.querySelectorAll('.extra-backlight'); 18 if(elements) { 19 for (let elm of elements) { 20 if(elm.classList.contains('sc_parallax')) { 21 observer_parallax.observe(elm); 22 } else { 23 observer.observe(elm); 24 } 25 } 26 } 27 28})();
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.