PageSourceSearch

https://www.madnesslive.es/themes/madnesslive/modules/smartbloghomelatestnews/views/js/front.js?v=19

js madnesslive.es collected 2026-09-24 20:36:30 UTC 1,968 bytes, 67 lines download raw bytes

1$(document).ready(function() {
2    function refresSwiper($carousels){
3        /*const $carousels = $('.swiper-default-carousel');*/
4        let autoplay;
5
6        if (iqitTheme.pl_crsl_autoplay) {
7        autoplay = {
8            delay: 4500,
9            disableOnInteraction: true,
10        };
11        }
12
13        const defaultOptions = {
14        pagination: {
15            el: '.swiper-pagination-product',
16            clickable: true,
17        },
18        autoplay,
19        loop: false,
20        speed: 600,
21        lazy: {
22            loadedClass: 'loaded',
23            checkInView: true,
24        },
25        watchOverflow: true,
26        watchSlidesProgress: true,
27        watchSlidesVisibility: true,
28        navigation: {
29            nextEl: '.swiper-button-next',
30            prevEl: '.swiper-button-prev',
31        },
32        slidesPerView: iqitTheme.pl_slider_p,
33        slidesPerGroup: iqitTheme.pl_slider_p,
34        breakpoints: {
35            0: {
36                slidesPerView: iqitTheme.pl_slider_p-1,
37                slidesPerGroup: iqitTheme.pl_slider_p-1,
38            },
39            600: {
40                slidesPerView: iqitTheme.pl_slider_p,
41                slidesPerGroup: iqitTheme.pl_slider_p,
42            },
43            768: {
44            slidesPerView: iqitTheme.pl_slider_t,
45            slidesPerGroup: iqitTheme.pl_slider_t,
46            },
47            992: {
48            slidesPerView: iqitTheme.pl_slider_d-1,
49            slidesPerGroup: iqitTheme.pl_slider_d-1,
50            },
51            1200: {
52            slidesPerView: iqitTheme.pl_slider_ld-1,
53            slidesPerGroup: iqitTheme.pl_slider_ld-1,
54            },
55        },
56        };
57
58        $carousels.each(function () {
59        const $carousel = $(this);
60        const swiperOptions = $.extend({}, defaultOptions, $carousel.data('swiper_options'));
61        const mySwiper = new Swiper($carousel[0], swiperOptions);
62        });
63    }
64
65    refresSwiper($('.swiper-smartblog-carousel'));
66
67});

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.