1let slideIndex = 0 2 const slides = document.getElementsByClassName("slide"); 3 const displaySlide = (index) => { 4 for (let i = 0; i < slides.length; i++) { 5 if (i !== index) { 6 slides[i].style.opacity = '0'; 7 setTimeout(() => { 8 slides[i].style.animationName = ''; 9 }, 2000) 10 } else { 11 if (index % 2 === 0) { 12 slides[i].style.animationName = 'zoom2'; 13 } else { 14 slides[i].style.animationName = 'zoom'; 15 } 16 slides[i].style.opacity = 1; 17 } 18 } 19 } 20 displaySlide(slideIndex); 21 const increment = () => { 22 if (slideIndex < slides.length - 1) { 23 slideIndex += 1; 24 } else { 25 slideIndex = 0; 26 } 27 displaySlide(slideIndex); 28 } 29 const intervalId = setInterval(increment, 3000);
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.