1(function (d, w) { 2 function whenAvailable(name, callback) { 3 let interval = 50; // ms 4 5 window.setTimeout(function () { 6 if (window[name]) { 7 callback(window[name]); 8 } else { 9 whenAvailable(name, callback); 10 } 11 }, interval); 12} 13 14whenAvailable('Glide', () => { 15 const carousels = d.querySelectorAll('.lnbMobileSlider'); 16 carousels.forEach(carousel => { 17 let glide = new Glide(carousel, { 18 type: 'carousel', 19 perView: 1, 20 swipeThreshold: false, 21 autoplay: 4500, 22 }); 23 glide.mount(); 24 }); 25 }); 26})(document, window);
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.