1/** 2 * Animated Icon Script 3 * Intersection Observer for fade-in and color loop animation 4 */ 5 6 7const obs = new IntersectionObserver(entries => { 8 entries.forEach(e => { 9 if (e.isIntersecting) { 10 e.target.classList.add('in'); 11 setTimeout(() => 12 e.target.classList.add('animating'), 13 +e.target.dataset.delay || 0 14 ); 15 } else { 16 e.target.classList.remove('animating'); 17 } 18 }); 19}, { threshold: 0.3 }); 20 21document.querySelectorAll('.icon') 22 .forEach(el => obs.observe(el));
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.