1document.addEventListener('alpine:init', () => { 2 Alpine.data('productBanner', () => ({ 3 4 carousel: document.getElementById('relatedProductsSlider'), 5 6 next(){ 7 this.carousel.scrollBy({left: 300, behavior: 'smooth'}) 8 }, 9 prev(){ 10 this.carousel.scrollBy({left: -300, behavior: 'smooth'}) 11 }, 12 13 init(){ 14 var rect = document.getElementsByClassName('product-active')[0].getBoundingClientRect(); 15 this.carousel.scroll({left: rect.x - 300}) 16 } 17 18 })) 19}) 20
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.