1(function($){function new_map($el){var $markers=$el.find('.marker');var args={zoom:18,center:new google.maps.LatLng(42.3096715,-71.0605315),mapTypeId:google.maps.MapTypeId.ROADMAP,disableDefaultUI:!0,zoomControl:!0,clickableIcons:!1,};var map=new google.maps.Map($el[0],args);map.markers=[];$markers.each(function(){add_marker($(this),map)});center_map(map);return map} 2function new_map_default($el){var $markers=$el.find('.marker');var args={zoom:18,center:new google.maps.LatLng(42.3096715,-71.0605315),mapTypeId:google.maps.MapTypeId.ROADMAP,disableDefaultUI:!0,zoomControl:!0,clickableIcons:!1,};var map=new google.maps.Map($el[0],args);map.markers=[];$markers.each(function(){add_marker_no_infowindow($(this),map)});center_map(map);return map} 3function add_marker($marker,map){var latlng=new google.maps.LatLng($marker.attr('data-lat'),$marker.attr('data-lng'));var icon=$marker.attr('data-img');var type=$marker.attr('data-type');var marker=new google.maps.Marker({position:latlng,animation:google.maps.Animation.DROP,map:map,icon:icon,type:type});map.markers.push(marker);if($marker.html()){var infowindow=new google.maps.InfoWindow({content:$marker.html(),maxWidth:252});google.maps.event.addListener(marker,'click',function(){if(typeof(currentInfoWindow)!='undefined'){Â 4currentInfoWindow.close();Â }Â 5infowindow.open(map,marker);Â 6currentInfoWindow=infowindow;Â });google.maps.event.addListener(map,'click',function(){if(infowindow){infowindow.close()}})}} 7function add_marker_no_infowindow($marker,map){var latlng=new google.maps.LatLng($marker.attr('data-lat'),$marker.attr('data-lng'));var icon=$marker.attr('data-img');var type=$marker.attr('data-type');var url=$marker.attr('data-direction');var marker=new google.maps.Marker({position:latlng,animation:google.maps.Animation.DROP,map:map,icon:icon,type:type});google.maps.event.addListener(marker,'click',function(){window.open(url,'_blank')});map.markers.push(marker)} 8var getSiblings=function(elem){var siblings=[];var sibling=elem.parentNode.firstChild;while(sibling){if(sibling.nodeType===1&&sibling!==elem){siblings.push(sibling)} 9sibling=sibling.nextSibling} 10return siblings};filterMarker=function(id){var current=$('input:radio[name="'+id+'"]');current.checked=!0;current.closest('.filter-box').siblings().find('input').prop('checked',!1);current.closest('.filter-box').addClass('active');current.closest('.filter-box').siblings().removeClass('active');console.log(current);for(i=0;i<map.markers.length;i++){marker=map.markers[i];if(marker.type==id){marker.setVisible(!0);marker.setAnimation(google.maps.Animation.DROP)}else{marker.setVisible(!1)}}} 11function showAll(){for(i=0;i<map.markers.length;i++){marker=map.markers[i];marker.setVisible(!0);marker.setAnimation(google.maps.Animation.DROP)}} 12function hideAll(){for(i=0;i<map.markers.length;i++){marker=map.markers[i];marker.setVisible(!1)}} 13filterMarkerAll=function(id){var current=$('input:radio[name="'+id+'"]');current.checked=!0;current.closest('.filter-box').siblings().find('input').prop('checked',!1);current.closest('.filter-box').addClass('active');current.closest('.filter-box').siblings().removeClass('active');for(i=0;i<map.markers.length;i++){marker=map.markers[i];if(marker.getVisible()===!1){showAll()}}} 14function center_map(map){var bounds=new google.maps.LatLngBounds();$.each(map.markers,function(i,marker){var latlng=new google.maps.LatLng(marker.position.lat(),marker.position.lng());bounds.extend(latlng)});if(map.markers.length==1){map.setCenter(bounds.getCenter());map.setZoom(18)}else{map.fitBounds(bounds)}} 15var map=null;$(document).ready(function(){if($('.acf-map.default').length){$('.acf-map.default').each(function(){map=new_map_default($(this))})} 16if($('.acf-map.acf-map-filtered').length){$('.acf-map.acf-map-filtered').each(function(){map=new_map($(this))})} 17google.maps.event.addListener(map,'zoom_changed',function(e){var zoom=map.getZoom();if(zoom!=5){var bounds=map.getBounds();myLatLngss=[];$.each(map.markers,function(i,marker){var myLatLng=new google.maps.LatLng(marker.position.lat(),marker.position.lng());if(bounds.contains(myLatLng)===!0){myLatLngss.push(myLatLng)}else{}});if(myLatLngss.length>0){document.cookie="coordn="+myLatLngss;$("#customzm").load(location.href+" #customzm")}}});google.maps.event.addListener(map,'dragend',function(){var bounds=map.getBounds();myLatLngss=[];$.each(map.markers,function(i,marker){var myLatLng=new google.maps.LatLng(marker.position.lat(),marker.position.lng());if(bounds.contains(myLatLng)===!0){myLatLngss.push(myLatLng)}else{} 18if(myLatLngss.length>0){document.cookie="coordn="+myLatLngss;$("#customzm").load(location.href+" #customzm")}})});var swiper=new Swiper(".filter-box-wrap-mobi",{direction:"horizontal",slidesPerView:3,freeMode:!0,spaceBetween:15,})})})(jQuery)
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.