1document.addEventListener("DOMContentLoaded", function() { 2 3 function slickTrack() { 4 if ($('.news-page').length > 0) { 5 var count = $('.slick-track .slick-slide').length; 6 var currentIndex = $('.slick-current').index() + 1; 7 $('.count-number').html(currentIndex); 8 $('.count-all').html(count) 9 } 10 } 11 slickTrack(); 12 $('.slick-arrow').on('click', function(){ 13 slickTrack(); 14 }); 15 16 $('.slideshow').slick({ 17 dots: false, 18 infinite: true, 19 arrows: true, 20 adaptiveHeight: false, 21 speed: 300, 22 slidesToShow: 1, 23 asNavFor: '.slideshow-description' 24 }); 25 $('.slideshow-description').slick({ 26 slidesToShow: 1, 27 slidesToScroll: 1, 28 asNavFor: '.slideshow', 29 dots: false, 30 centerMode: true, 31 arrows: false, 32 fade: true, 33 focusOnSelect: true 34 }); 35 36 // Initialize and add the map 37 function initMap() { 38 39 // The location of Uluru 40 var uluru = {lat: map_lat, lng: map_lng}; 41 // The map, centered at Uluru 42 var map = new google.maps.Map( 43 document.getElementById('map'), {zoom: 16, center: uluru, 44 styles: [ 45 { 46 "featureType": "administrative", 47 "stylers": [ 48 { 49 "visibility": "off" 50 } 51 ] 52 }, 53 { 54 "featureType": "landscape.man_made", 55 "elementType": "geometry.stroke", 56 "stylers": [ 57 { 58 "visibility": "off" 59 } 60 ] 61 }, 62 { 63 "featureType": "poi", 64 "elementType": "labels", 65 "stylers": [ 66 { 67 "visibility": "off" 68 } 69 ] 70 }, 71 { 72 "featureType": "poi.sports_complex", 73 "stylers": [ 74 { 75 "color": "#ccffcc" 76 } 77 ] 78 }, 79 { 80 "featureType": "road", 81 "elementType": "labels.text.fill", 82 "stylers": [ 83 { 84 "color": "#969696" 85 } 86 ] 87 } 88]}); 89 // The marker, positioned at Uluru 90 var marker = new google.maps.Marker({position: uluru, map: map}); 91 var image = map_icon; 92 var beachMarker = new google.maps.Marker({ 93 position: {lat: map_lat, lng: map_lng}, 94 map: map, 95 icon: image 96 }); 97 }; 98 initMap(); 99 100});
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.