1(function ($, root, undefined) { 2 3 $(function () { 4 5 'use strict'; 6 7 // DOM ready, take it away 8 9 10 // lang switcher 11 $('.lang_switcher').click(function(){ 12 $('.lang_switcher .lang').toggleClass('active'); 13 }); 14 15 // SLIDER 16 $('.slideshow').flexslider({ 17 animation: "fade", 18 directionNav: true, 19 controlNav: false, 20 prevText: '<i class="fa fa-angle-left" aria-hidden="true"></i>', 21 nextText: '<i class="fa fa-angle-right" aria-hidden="true"></i>', 22 slideshowSpeed: 4000 23 }); 24 25 // BURGER 26 $('#burger').click(function(){ 27 $('header nav').slideToggle(); 28 }); 29 30 // NEWSLETTER SCROLL 31 $(function() { 32 $('a[href*="#"]:not([href="#"])').click(function() { 33 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { 34 var target = $(this.hash); 35 target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); 36 if (target.length) { 37 $('html, body').animate({ 38 scrollTop: target.offset().top 39 }, 1000); 40 return false; 41 } 42 } 43 }); 44 }); 45 46 }); 47 48})(jQuery, this); 49 50//helper callback to set some custom class if turnstile is shown (interactive) 51function onTurnstileInteractive(data) 52{ 53 const elem = document.getElementsByClassName("cf-turnstile"); 54 for(el of elem){ 55 if(el){ 56 el.classList.add("screen-width"); 57 } 58 } 59}
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.