1function owlDestaques() { 2 const $owlDestaques = jQuery(".owl-destaques"); 3 if ($owlDestaques.length) { 4 $owlDestaques.owlCarousel({ 5 margin: 16, 6 lazyLoad: true, 7 stagePadding: 0, 8 autoplay: true, 9 autoplayTimeout: 4000, 10 autoplayHoverPause: true, 11 dots: false, 12 responsive: { 13 0: { items: 1, nav: true, loop: true }, 14 768: { items: 2, nav: true, loop: true }, 15 1024: { items: 3, nav: false, loop: true }, 16 1025: { items: 3, nav: false, loop: true }, 17 }, 18 }); 19 20 jQuery(".play").on("click", function () { 21 $owlDestaques.trigger("play.owl.autoplay", [4000]); 22 }); 23 24 jQuery(".stop").on("click", function () { 25 $owlDestaques.trigger("stop.owl.autoplay"); 26 }); 27 28 jQuery(".owl-destaques").parent().find(".owl-nav").removeClass("enable"); 29 } else { 30 setTimeout(() => { 31 owlDestaques(); 32 }, 20); 33 } 34} 35 36owlDestaques(); 37 38// Executa a função owlDestaques assim que o DOM estiver pronto 39document.addEventListener("DOMContentLoaded", function () { 40 owlDestaques(); 41});
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.