PageSourceSearch

https://pizzabytango.ro/wp-content/themes/understrap-child-master/js/swiper-lazy-load.js?ver=202509111017

js pizzabytango.ro collected 2026-10-02 02:06:29 UTC 921 bytes, 23 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function () {
2    var swiperObserver = new IntersectionObserver(function (entries, observer) {
3        entries.forEach(function (entry) {
4            if (entry.isIntersecting) {
5                // Lazy load Swiper
6                var script = document.createElement('script');
7                script.src = 'https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js';
8                script.onload = function () {
9                    new Swiper('.swiper-container', {
10                        // Swiper options
11                    });
12                };
13                document.body.appendChild(script);
14                observer.disconnect(); // Stop observing once Swiper is loaded
15            }
16        });
17    });
18
19    var swiperContainer = document.querySelector('.swiper-container');
20    if (swiperContainer) {
21        swiperObserver.observe(swiperContainer);
22    }
23});

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.