1document.addEventListener('DOMContentLoaded', function () { 2 if (typeof GLightbox !== 'undefined') { 3 GLightbox({ selector: '.glightbox' }); 4 } 5 6 if (typeof Swiper !== 'undefined') { 7 document.querySelectorAll('.mi-slider').forEach(function (sliderEl) { 8 const autoplay = sliderEl.dataset.autoplay === 'true'; 9 const delay = parseInt(sliderEl.dataset.delay) || 3000; 10 11 new Swiper(sliderEl, { 12 loop: true, 13 navigation: { 14 nextEl: sliderEl.querySelector('.swiper-button-next'), 15 prevEl: sliderEl.querySelector('.swiper-button-prev') 16 }, 17 pagination: { 18 el: sliderEl.querySelector('.swiper-pagination'), 19 clickable: true 20 }, 21 slidesPerView: 1, 22 spaceBetween: 10, 23 autoplay: autoplay ? { delay: delay, disableOnInteraction: false } : false 24 }); 25 }); 26 } 27});
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.