1jQuery(document).ready(function() { 2 document.querySelectorAll('.paragraph--type--promotional-panel-type-one .splide').forEach(carousel => { 3 const total = carousel.querySelectorAll('li').length 4 const splideInstance = new Splide(carousel, { 5 drag: total > 1, 6 arrows: total > 1, 7 pagination: false, 8 }).mount() 9 10 const right = carousel.parentNode.nextElementSibling 11 if (right) { 12 const status = right.querySelector('.status') 13 if (status) { 14 status.innerText = '1 / ' + total.toString() 15 16 splideInstance.on('move', newIndex => { 17 status.innerText = (newIndex + 1).toString() + ' / ' + total.toString() 18 }) 19 } 20 } 21 }) 22})
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.