PageSourceSearch

https://saudeadolescentesejovens.net.br/wp-content/plugins/oka-gal…/assets/oka-slider.js?ver=6.1.14.1791102757

js saudeadolescentesejovens.net.br collected 2026-10-04 08:32:59 UTC 2,457 bytes, 75 lines download raw bytes

1jQuery(document).ready(function() {
2
3  var sync1 = jQuery("#og-slider");
4  var sync2 = jQuery("#og-slider-thumbnails");
5  var slidesPerPage = 10; //globaly define number of elements per page
6  var syncedSecondary = true;
7
8  sync1.owlCarousel({
9    items : sync1.data('items'),
10    slideSpeed :  sync1.data('speed'),
11    nav:  sync1.data('nav'),
12    autoplay:  sync1.data('autoplay'),
13    dots:  sync1.data('dots'),
14    rewind: false,
15    startPosition:  sync1.data('start'),
16    //animateOut: 'slideOutDown',
17    //animateIn: 'flipInX',
18    loop: false,
19    responsiveRefreshRate : 200,
20    navText: ['<svg width="100%" height="100%" viewBox="0 0 11 20"><path style="fill:none;stroke-width: 1px;stroke: #000;" d="M9.554,1.001l-8.607,8.607l8.607,8.606"/></svg>','<svg width="100%" height="100%" viewBox="0 0 11 20" version="1.1"><path style="fill:none;stroke-width: 1px;stroke: #000;" d="M1.054,18.214l8.606,-8.606l-8.606,-8.607"/></svg>'],
21  });
22
23  if (sync2.length) {
24
25    sync2
26      .on('initialized.owl.carousel', function () {
27        sync2.find(".owl-item").eq( jQuery("#og-lightbox-slider").data('start')).addClass("current");
28      })
29      .owlCarousel({
30      items : slidesPerPage,
31      dots: false,
32      nav: false,
33      autoHeight:true,
34      smartSpeed: 200,
35      slideSpeed : 500,
36      slideBy: slidesPerPage, //alternatively you can slide by 1, this way the active slide will stick to the first item in the second carousel
37      responsiveRefreshRate : 100
38    });
39
40  }
41
42  function syncPosition(el) {
43    //if you set loop to false, you have to restore this next line
44   var current = el.item.index;
45
46    sync2
47      .find(".owl-item")
48      .removeClass("current")
49      .eq(current)
50      .addClass("current");
51    var onscreen = sync2.find('.owl-item.active').length - 1;
52    var start = sync2.find('.owl-item.active').first().index();
53    var end = sync2.find('.owl-item.active').last().index();
54    
55    if (current > end) {
56      sync2.data('owl.carousel').to(current, 100, true);
57    }
58    if (current < start) {
59      sync2.data('owl.carousel').to(current - onscreen, 100, true);
60    }
61  }
62  
63  function syncPosition2(el) {
64    if(syncedSecondary) {
65      var number = el.item.index +1;
66      sync1.data('owl.carousel').to(number, 100, true);
67    }
68  }
69  
70  sync2.on("click", ".owl-item", function(e){
71    e.preventDefault();
72    var number = jQuery(this).index();
73    sync1.data('owl.carousel').to(number, 300, true);
74  });
75});

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.