PageSourceSearch

https://www.hoy.com.py/wp-content/themes/hoypy/assets/js/jquery/post-scripts.js?ver=1.0.4

js hoy.com.py collected 2026-10-02 04:46:46 UTC 2,956 bytes, 86 lines download raw bytes

1$(function() {
2  $('.scroll-to').on('click', function() {
3    var href = $(this).attr('href');
4    var parent = $(this).parents('.sidebar-entry');
5    $('.sidebar-entry').removeClass('sidebar-entry--selected');
6    parent.addClass('sidebar-entry--selected');
7    $('html, body').animate({
8      scrollTop: $(href).offset().top
9    });
10    return false;
11  });
12
13  $('.slick-slider').slick({
14    "prevArrow": '<span class="ui-arrow-md--circle carousel-prev hide-sm section-default" style="display: block;"><svg viewBox="0 0 20 20" class="icon i-xs i-br-lgt--default"><use xlink:href="#arrow-r-sm"></use></svg></span>',
15    "nextArrow": '<span class="ui-arrow-md--circle carousel-next hide-sm section-default"><svg viewBox="0 0 20 20" class="icon i-xs i-br-lgt--default"><use xlink:href="#arrow-r-sm"></use></svg></span>',
16    "dots": false,
17    "infinite": false,
18    "slidesToShow": 4,
19    "slidesToScroll": 1,
20    "responsive": [
21      {
22        "breakpoint": 992,
23        "settings": {
24          "slidesToShow": 3,
25          "slidesToScroll": 1
26        }
27      },
28      {
29        "breakpoint": 576,
30        "settings": {
31          "slidesToShow": 2,
32          "slidesToScroll": 1
33        }
34      }
35    ]
36  });
37
38  $('.gallery-display > div').slick({
39    dots: false,
40    speed: 500,
41    fade: true,
42    cssEase: 'linear',
43    prevArrow: '<span class="gallery-prev icon i-md i-br-lgt--default hide-sm"><svg viewBox="0 0 20 20"><use xlink:href="#arrow-r-sm"></use></svg></span>',
44    nextArrow: '<span class="gallery-next icon i-md i-br-lgt--default hide-sm"><svg viewBox="0 0 20 20"><use xlink:href="#arrow-r-sm"></use></svg></span>',
45  });
46
47  $('.gallery-display > div').on('afterChange', function(event, slick, currentSlide, nextSlide){
48    var parent = $(this).parents('.gallery');
49    parent.find('.slick-current-slide').text(currentSlide + 1);
50    parent.find('.js-gallery-caption').text(parent.find('.slick-current').attr('title'));
51  });
52
53  $('.gallery-display > div').each(function() {
54    $(this).magnificPopup({
55      delegate: '.mzoom',
56      type: 'image',
57      midClick: true,
58      closeBtnInside: true,
59      gallery: {
60        enabled:true
61      }
62    });
63  });
64
65  var scrollorama = $.scrollorama({ blocks:'.scrollblock' });
66  var scrolled = [true, false, false, false];
67  scrollorama.onBlockChange(function() {
68    var i = scrollorama.blockIndex;
69    var current = scrollorama.settings.blocks.eq(i);
70    var title = current.attr('data-title');
71    var url = current.attr('data-url');
72    var sidebar_entry = current.attr('data-sidebar-entry');
73    $('.sidebar-entry').removeClass('sidebar-entry--selected');
74    $(sidebar_entry).addClass('sidebar-entry--selected');
75    document.title = title;
76    history.replaceState('title', title, url);
77    // if(!scrolled[i]) {
78      scrolled[i] = true;
79    /* gtag('event', 'page_view', {
80      page_title: title,
81      page_location: url,
82      send_to: 'G-WECTB9DC95'
83    }); */
84    // }
85  });
86});

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.