PageSourceSearch

https://www.gacetamercantil.com/wp-content/plugins/wp-top-news/assets/js/wtn-front.js?ver=2.3.8

js gacetamercantil.com collected 2026-10-02 08:05:17 UTC 2,368 bytes, 80 lines download raw bytes

1(function(window, $) {
2
3    // USE STRICT
4    "use strict";
5
6    var wtnClass = $(".wtn-news-ticker")[0];
7    var wtnFeatured = document.getElementById('wtn-featured-id');
8
9    if (wtnClass != null) {
10        var rtl = wtnClass.getAttribute('data-rtl-type');
11        var speed = wtnClass.getAttribute('data-speed');
12        //alert(speed);
13
14        $('.wtn-news-ticker-marquee').AcmeTicker({
15            type: 'marquee',
16            direction: (rtl == 'rtl' ? 'right' : 'left'),
17            speed: speed
18        });
19
20        $('.wtn-news-ticker-horizontal').AcmeTicker({
21            type: 'horizontal',
22            direction: (rtl == 'rtl' ? 'left' : 'right'),
23            speed: parseInt(speed)
24        });
25
26        $('.wtn-news-ticker-typewriter').AcmeTicker({
27            type: 'typewriter',
28            direction: 'left',
29            speed: speed
30        });
31
32        $('.wtn-news-ticker-vertical').AcmeTicker({
33            type: 'vertical',
34            direction: 'down',
35            speed: parseInt(speed)
36        });
37    }
38
39    if (wtnFeatured != null) {
40        $('.featured').slick({
41            speed: 300,
42            slidesToShow: 4,
43            slidesToScroll: 1,
44            autoplay: true,
45            infinite: true,
46            autoplaySpeed: 3000,
47            cssEase: 'ease',
48            dots: false,
49            dotsClass: 'slick-dots',
50            pauseOnHover: true,
51            arrows: true,
52            prevArrow: '<button type="button" data-role="none" class="slick-prev">Previous</button>',
53            responsive: [{
54                    breakpoint: 1024,
55                    settings: {
56                        slidesToShow: 3,
57                        slidesToScroll: 3,
58                        infinite: true,
59                        dots: false
60                    }
61                },
62                {
63                    breakpoint: 600,
64                    settings: {
65                        slidesToShow: 2,
66                        slidesToScroll: 2
67                    }
68                },
69                {
70                    breakpoint: 480,
71                    settings: {
72                        slidesToShow: 1,
73                        slidesToScroll: 1
74                    }
75                }
76            ],
77        });
78    }
79
80})(window, jQuery);

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.