1function initializeGoogleMaps(){if(typeof google!="undefined"&&typeof google.maps!="undefined"&&typeof google.maps.Map!="undefined"&&$("#googleMapsMap").length>0){$(".maps .loader").show();map=createGoogleMapsMap();googleMapsMapSettings.showMarkers&&($("#eParticipation").length>0?loadMarkers():(convertOldMarkersToNew(),initializeGoogleMapsMarkers()));initializeGoogleMapsLayers();$("#marker.add, #marker.edit, .maps.add, .maps.edit").length>0&&google.maps.event.addListenerOnce(map,"idle",initializeGoogleMapsAddEditMode);google.maps.event.addListenerOnce(map,"idle",()=>{$(".maps").find("iframe")[0].title="Google Maps",initializeMarkerSearch()});$(".list .row[data-item-id]").on("mouseenter",function(){triggerMarkerEvent(parseInt($(this).attr("data-item-id")),"mouseover")}).on("mouseleave",function(){triggerMarkerEvent(parseInt($(this).attr("data-item-id")),"mouseout")});$(".maps .loader").hide();$("#googleMapsMap").css("visibility","visible").prop("title",settings.googleMaps.title);$(".categories .category input:checkbox").each(function(){$.fn.getQueryString("category")!=""?$(this).parent().data("category-id")==$.fn.getQueryString("category")||$(this).parent().find("label").html().toLowerCase()==$.fn.getQueryString("category").toLowerCase()?$(this).attr("checked",!1).trigger("click"):$(this).attr("checked",!0).trigger("click"):typeof $(this)[0].onclick=="function"&&$(this)[0].onclick()});$(".categories .category input:checkbox").on("change",function(){$(".categories .category input:checkbox:checked").length===0?$('.categories .toggleAll input[type="checkbox"]').attr("checked",!1):$(".categories .category input:checkbox:checked").length==$(".categories .category").length&&$('.categories .toggleAll input[type="checkbox"]:not(:checked)').trigger("click")});if($(".categories .category").length>3){$(".categories .toggleAll").removeClass("hide");$('.categories .toggleAll input[type="checkbox"]').on("change",function(){this.checked?$('.categories .category input[type="checkbox"]:not(:checked)').trigger("click"):$('.categories .category input[type="checkbox"]:checked').trigger("click")})}}}function createGoogleMapsMap(){var n,r,u=googleMapsMapSettings.latitude,f=googleMapsMapSettings.longitude,e=googleMapsMapSettings.zoomLevel,t=$(".center"),i=$(".zoom"),o=[],s;return r=["roadmap","satellite","hybrid","terrain"].indexOf(googleMapsMapSettings.mapType)!==-1?googleMapsMapSettings.mapType:"roadmap",$("#marker.add, #marker.edit").length>0&&(t.length>0&&t.val()!="0"&&(u=parseFloat(t.val().split(",")[0]),f=parseFloat(t.val().split(",")[1])),i.length>0&&i.val()!="0"&&(e=parseFloat(i.val()))),settings.googleMaps.showPois==!1&&(o=[{featureType:"poi",stylers:[{visibility:"off"}]},]),s={center:new google.maps.LatLng(u,f),zoom:e,mapTypeId:r,draggable:googleMapsMapSettings.draggable,mapTypeControl:googleMapsMapSettings.maptypeControl,scrollwheel:!1,zoomControl:googleMapsMapSettings.zoomControl,zoomControlOptions:{position:google.maps.ControlPosition.LEFT_TOP},streetViewControl:googleMapsMapSettings.streetviewControl,streetViewControlOptions:{position:google.maps.ControlPosition.LEFT_BOTTOM},styles:o},n=new google.maps.Map(document.getElementById("googleMapsMap"),s),googleMapsMapSettings.staticMap&&n.setOptions({draggable:!1,zoomControl:!1,scrollwheel:!1,streetViewControl:!1,mapTypeControl:!1,panControl:!1,keyboardShortcuts:!1,disableDoubleClickZoom:!0}),google.maps.event.addListener(n,"infowindowprepareopen",function(n){n[0].contentElem.innerHTML=n[0].contentElem.innerHTML.replace("_blank","_parent")}),googleMapsMapSettings.fullscreen&&n.panBy(0,$("#top").height()+$("#pathOptions").height()),n}function initializeGoogleMapsAddEditMode(){var n,f=0,i=$(".latitude"),r=$(".longitude"),s=$(".rdX"),h=$(".rdY"),e=$(".zoom"),t=$(".googleMapsMapTypeID"),u,c,o;if(i.length>0&&r.length>0){if(map.setOptions({draggableCursor:"crosshair"}),t.length>0&&google.maps.event.addListener(map,"maptypeid_changed",function(){switch(map.mapTypeId){case"roadmap":t.val("0");break;case"satellite":t.val("1");break;case"hybrid":t.val("2");break;case"terrain":t.val("3")}}),google.maps.event.addListener(map,"zoom_changed",function(){e.val(map.getZoom().toString())}),$(".mapInteraction .categories input:checkbox").prop("checked",!1),i.val()!=""&&r.val()!=""){for(u=0;
1u<googleMapsMarkerObjects.length;u++)googleMapsMarkerObjects[u].setMap(null);c=new google.maps.LatLng(parseFloat(i.val().replace(settings.decimalSeparator,".")),parseFloat(r.val().replace(settings.decimalSeparator,".")));n=new google.maps.Marker({position:c});googleMapsMarkerObjects=[];googleMapsMarkerObjects.push(n);n.setMap(map);$(".field.markerDelete").removeClass("hide")}o=new google.maps.OverlayView;o.draw=function(){};o.setMap(map);google.maps.event.addListener(map,"mousedown",function(n){f={x:n.pixel.x,y:n.pixel.y}});google.maps.event.addListener(map,"click",function(t){if(f.x==t.pixel.x&&f.y==t.pixel.y){for(var u=0;u<googleMapsMarkerObjects.length;u++)googleMapsMarkerObjects[u].setMap(null);n!=null&&n.setMap(null);n=new google.maps.Marker({position:t.latLng});googleMapsMarkerObjects=[];googleMapsMarkerObjects.push(n);n.setMap(map);i.val(t.latLng.lat().toString().replace(".",settings.decimalSeparator));r.val(t.latLng.lng().toString().replace(".",settings.decimalSeparator));s.length>0&&s.val("0");h.length>0&&h.val("0");e.length>0&&e.val(map.getZoom().toString());$(".field.markerDelete").removeClass("hide")}})}}function removeGoogleMapsColor(){typeof map!="undefined"&&map.setOptions({styles:[{featureType:"water",elementType:"geometry",stylers:[{color:"#e9e9e9"},{lightness:17}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:20}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#ffffff"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:16}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:21}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#dedede"},{lightness:21}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{lightness:16}]},{elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#333333"},{lightness:40}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#f2f2f2"},{lightness:19}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#fefefe"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#fefefe"},{lightness:17},{weight:1.2}]},]})}function initializeGoogleMapsMarkers(){for(var n,i,u,f,r=new google.maps.InfoWindow,t=0;t<googleMapsMarkers.length;t++)i=[googleMapsMarkers[t].Icon,googleMapsMarkers[t].IconMouseOver],$.each(i,function(n){i[n]!==""&&($("<img />").src=i[n])}),n=new google.maps.Marker({id:googleMapsMarkers[t].ContentPageId,position:new google.maps.LatLng(googleMapsMarkers[t].Lat,googleMapsMarkers[t].Long),title:HTMLDecode(googleMapsMarkers[t].Title),icon:i[0],defaultIcon:i[0],mouseOverIcon:i[1],optimized:!1}),googleMapsMapSettings.suppressInformationWindows||(google.maps.event.addListener(n,"click",function(n,t){return function(){googleMapsMarkers[t].Description&&googleMapsMarkers[t].Description!==""?r.setContent(googleMapsMarkers[t].Description):(r.setContent('<div class="loader show" role="status"><span><community:textByLabel runat="server" label="Een momentje..." /><\/span><\/div>'),loadMarkerDescription(googleMapsMarkers[t],r));r.open(map,n)}}(n,t)),google.maps.event.addListener(r,"domready",function(){$(".gm-style-iw .markerContentRight .tags:not(.alreadyLoadingTags)").addClass("alreadyLoadingTags").initializeTagsDisplay()})),typeof n.mouseOverIcon!="undefined"&&n.mouseOverIcon!=null&&n.mouseOverIcon!=""&&n.mouseOverIcon!="/"&&(google.maps.event.addListener(n,"mouseover",function(){if(this.icon!=this.mouseOverIcon){for(var n=0;n<googleMapsMarkerObjects.length;n++)typeof googleMapsMarkerObjects[n].defaultIcon!="undefined"&&trim(googleMapsMarkerObjects[n].defaultIcon)!=""&&typeof googleMapsMarkerObjects[n].id!="undefined"&&googleMapsMarkerObjects[n]!=this.id&&googleMapsMarkerObjects[n].icon!=googleMapsMarkerObjects[n].defaultIcon&&(googleMapsMarkerObjects[n].icon=googleMapsMarkerObjects[n].defaultIcon,googleMapsMarkerObjects[n].setMap(ma
1p));this.setIcon(this.mouseOverIcon)}}),google.maps.event.addListener(n,"mouseout",function(){this.setIcon(this.defaultIcon)})),googleMapsMarkers[t].ShowOnMap?n.setMap(map):n.setMap(null),googleMapsMarkerObjects[t]=n;typeof MarkerClusterer!="undefined"&&settings.googleMaps.clustering&&(u={imagePath:"/communities/common/themes/mett responsive/images/plugins/maps/m",gridSize:50,zoomOnClick:!0,maxZoom:13},f=new MarkerClusterer(map,googleMapsMarkerObjects,u));markersInitialized=!0;onMarkersInitialized()}function HTMLDecode(n){return $("<div><\/div>").html(n).text()}function toggleGoogleMapsMarkers(n,t){onMarkersInitialized(function(){for(var i=0;i<googleMapsMarkers.length;i++)googleMapsMarkers[i].CategoryId==n&&(t.is(":checked")?googleMapsMarkerObjects[i].setMap(map):googleMapsMarkerObjects[i].setMap(null))})}function triggerMarkerEvent(n,t){for(var i=0;i<googleMapsMarkerObjects.length;i++)if(typeof googleMapsMarkerObjects[i].id!="undefined"&&googleMapsMarkerObjects[i].id==n){google.maps.event.trigger(googleMapsMarkerObjects[i],t);return}}function getMarkerCoordinates(n,t){typeof t=="undefined"&&(t=!0);n!=""&&(geocoder=new google.maps.Geocoder,geocoder.geocode({address:n},function(n,i){var f,u,r,e,o;if(i==google.maps.GeocoderStatus.OK)if($(".markerSearch").removeClass("danger"),$(".markerSearch #addressError").remove(),$(".markerSearch #addressInfo").remove(),$(".markerSearch input:text").removeAttr("aria-describedby"),f=$('<div id="addressInfo" class="clear" role="alert">'+settings.errors.addressSelectedText+"<\/div>"),$("#eParticipation.section").length>0||$("#groups.item:not(.add):not(.edit)").length>0||$("#maps.section").length>0?f.insertAfter(".markerSearchWrapper"):f.insertAfter(".markerSearch .button"),t){for(u=0;u<googleMapsMarkerObjects.length;u++)googleMapsMarkerObjects[u].setMap(null);r=n[0].geometry.location;map.setCenter(r);
1e=new google.maps.Marker({map:map,position:r});$(".latitude").val(r.lat().toString().replace(".",settings.decimalSeparator));$(".longitude").val(r.lng().toString().replace(".",settings.decimalSeparator));googleMapsMarkerObjects=[];googleMapsMarkerObjects.push(e);e.setMap(map)}else n[0].geometry.location&&(map.zoom<14&&map.setZoom(14),map.setCenter(n[0].geometry.location));else $(".markerSearch #addressError").remove(),$(".markerSearch #addressInfo").remove(),$(".markerSearch").addClass("danger"),o=$('<div id="addressError" class="clear icon-attention before">'+settings.errors.invalidAddressText+"<\/div>"),$("#eParticipation.section").length>0||$("#groups.item:not(.add):not(.edit)").length>0||$("#maps.section").length>0?o.insertAfter(".markerSearchWrapper"):o.insertAfter(".markerSearch .button"),$(".markerSearch input:text").attr("aria-describedby","addressError")}))}function initializeGoogleMapsLayers(){if(typeof googleMapsLayers!="undefined"&&googleMapsLayers)for(i=googleMapsLayers.length;i>0;--i){var n={};n.ID=i-1;n.name=googleMapsLayers[n.ID][0];n.URL=googleMapsLayers[n.ID][1];n.showByDefault=googleMapsLayers[n.ID][2];n.showInLegend=googleMapsLayers[n.ID][3];n.useAsDrawBoundaries=googleMapsLayers[n.ID][4];n.map=map;n.KMLlayer=null;(!n.showByDefault||n.useAsDrawBoundaries)&&(n.map=null);n.useAsDrawBoundaries||(n.KMLlayer=new google.maps.KmlLayer(n.URL,{map:n.map,preserveViewport:!0,clickable:$("#marker.add, #marker.edit, .maps.add, .maps.edit").length==0}));googleMapsLayerObjects[n.ID]=n}}function toggleGoogleMapsLayer(n,t){for(i=0;i<googleMapsLayerObjects.length;i++)if(!googleMapsLayerObjects[i].useAsDrawBoundaries&&googleMapsLayerObjects[i].name==n){t.is(":checked")?googleMapsLayerObjects[i].KMLlayer.setMap(map):googleMapsLayerObjects[i].KMLlayer.setMap(null);return}}function loadMarkers(){$.ajax({url:"/api/maps/markers",data:{sectionId:settings.section.ID,contentPageId:settings.section.itemID,tagId:$(".tagPickerWrapper select option:selected").attr("value"),categoryId:$.fn.getQueryString("category")?$.fn.getQueryString("category"):-1,filterOptions:$(".txtFilterOptions").length?$(".txtFilterOptions").val():"",searchText:$(".txtSearch").length?$(".txtSearch").val():"",token:$("input[name='__RequestVerificationToken']").val()}}).done(function(n){typeof n=="string"&&(googleMapsMarkers=JSON.parse(n),initializeGoogleMapsMarkers())}).fail(function(){console.log("Could not load Google Mapas markers 500.7482")})}function loadMarkerDescription(n,t){$.ajax({url:"/api/maps/marker",data:{sectionId:settings.section.ID,contentPageId:n.ContentPageId,token:$("input[name='__RequestVerificationToken']").val()}}).done(function(i){typeof i=="string"&&(n.Description=createDescriptionElement(JSON.parse(i),n.ContentPageId),t.setContent(n.Description))}).fail(function(){console.log("Could not load marker description 500.7483")})}function createDescriptionElement(n,t){var l=$("<div>"),e,o,f,i,u,s,h,c,a,v,y,p,w,b,r,k,d;return l.addClass("marker"),e=$("<div>"),e.addClass("markerContentLeft"),l.append(e),o=$("<h2>"),o.addClass("itemTitle markerTitle"),o.text(n.Title),e.append(o),f=$("<img>"),n.Image&&n.Image!==""&&(f.addClass("markerImage"),f.attr("alt",n.Title),f.attr("src",n.Image),e.append(f)),i=$("<div>"),i.addClass("markerContentRight"),l.append(i),u=$("<div>"),u.addClass("itemInformation"),i.append(u),n.Avatar&&n.Avatar!==""&&(s=n.Avatar,s+=s.indexOf("?")>-1?"&":"?",s+="width=25&height=25&loc=gmv3",h=$("<img>"),h.addClass("avatar pointer"),h.attr("alt","Profielfoto"),h.attr("src",s),u.append(h)),n.FullName&&n.FullName!==""&&(c=$("<a>"),c.addClass("markerAuthor"),c.attr("href","/shortcuts/users_showprofile.aspx?userkey="+n.AuthorId),c.text(n.FullName),u.append(c)),n.DateVisible&&n.DateVisible!==""&&(a=$("<span>"),a.addClass("fullDate icon-calendar before"),a.text(n.DateVisible),u.append(a)),u.append('<div class="clear">'),v=$("<span>"),v.addClass("markerCity"),v.text(n.UserCity),i.append(v),y=$("<span>"),y.addClass("markerStartDate"),y.text(n.StartDate),i.append(y),p=$("<span>"),p.addClass("markerEndDate"),p.text(n.EndDate),i.append(p),w=$("<p>"),w.addClass("markerDescription"),w.text(n.BriefDescription),i.append(w),b=$("<p>"),b.addClass("markerCoordinates"),b.html("Lat: "+n.Lat+"<br/>Long: "+n.Long),i.append(b),n.ReadMore&&(r=$("<a>"),r.addClass("readMore icon-right-open after"),r.attr("href",n.ReadMore),n.ReadMoreNewTab&&(r.attr("rel","noreferrer"),r.attr("target","_blank")),r.text(sett
1ings.various.readMoreText),i.append(r),k=$("<span>"),k.addClass("screenReaderContent"),k.text(" "+settings.various.aboutText+" "+n.Title),r.append(k),r.length>0&&(f.on("click",function(){r[0].click()}).css({cursor:"pointer"}),o.on("click",function(){r[0].click()}).css({cursor:"pointer"}))),n.ShowTags&&(d=$("<ul />"),d.addClass("tags"),d.attr("data-item-id",t),i.append(d)),l[0]}function onMarkersInitialized(n){if(n){markersInitialized?n():markersInitializedHandlers.push(n);return}for(var t=0;t<markersInitializedHandlers.length;t++)markersInitializedHandlers[t]()}function convertOldMarkersToNew(){var i,r,n,t;if(typeof googleMapsMarkers!="undefined"&&googleMapsMarkers&&googleMapsMarkers.length!==0){i=[];for(r in googleMapsMarkers)n=googleMapsMarkers[r],t=googleMapsMarkerIcons[n.iconID],(typeof t=="undefined"||t==null)&&(t=["",""]),i.push({ContentPageId:n.id,ContentPageTitle:n.title,Lat:n.latitude,Long:n.longitude,ShowOnMap:n.showInMapInitial,Icon:t[0],IconMouseOver:t[1],CategoryId:n.iconID,Description:n.description});googleMapsMarkers=i}}function initializeMarkerSearch(){if($("#marker.add, #marker.edit, .maps, .markerSearch").length!==0&&(settings.google.APIKey!==""||globals.domain.indexOf("mett.nl")!==-1)){var n=$(".markerSearch"),t=n.find("input:text");if($("#eParticipation.section").length>0||$("#groups.item:not(.add):not(.edit)").length>0||$("#maps.section").length>0)t.on("focus",function(){t.val()==settings.errors.invalidAddressText&&($(".markerSearch").removeClass("danger"),t.val(""))});n.find("input:button").on("click",function(){$("#marker.add, #marker.edit, .maps.add, .maps.edit").length>0?getMarkerCoordinates(n.find("input:text").val()):getMarkerCoordinates(n.find("input:text").val(),!1);$(".field.markerDelete").removeClass("hide")});
1t.on("keydown",function(t){if(t.keyCode==13)return t.preventDefault(),t.stopPropagation(),n.find("input:button").trigger("click"),!1});$(".mobile").length>0?$(".sectionViewOptions").append(n):(n.addClass("onTopOfMap"),$("#googleMapsMap .gm-style").prepend(n));n.removeClass("hide")}}var map,googleMapsMarkerObjects=[],googleMapsLayerObjects=[],markersInitialized=!1,markersInitializedHandlers=[];$(window).on("load",function(){typeof Sys!="undefined"&&typeof Sys.WebForms!="undefined"&&(Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(function(){$("#googleMapsJavascript").remove();map!=null&&$(".center").length>0&&$(".zoom").length>0&&typeof map.getCenter()!="undefined"&&($(".center").val(map.getCenter().toString().replace("(","").replace(")","").replace(" ","")),$(".zoom").val(map.getZoom().toString()))}),Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function(){$("#googleMapsJavascript").length>0&&window.eval($("#googleMapsJavascript").html());initializeGoogleMaps()}))}); 2$(window).on("load",function(){$("#toolbarTop .dropDownLink.markerAdd, .sectionOptions .button.markerAdd a").initializeMarkerAdd()});$(document).ready(function(){$.fn.initializeMaps();typeof Sys!="undefined"&&typeof Sys.WebForms!="undefined"&&Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function(){$.fn.initializeMaps()})});$.fn.initializeMaps=function(){$("#maps.section, #eParticipation.section").initializeMapSection();$("#maps.item").initializeMapItem();($("#marker.add").length>0||$("#marker.edit").length>0)&&$("#marker").initializeMapsMarkerAddEdit();$("#cms").initializeMapsCMS()};$.fn.initializeMapSection=function(){var n=$(this);n.length>0&&((typeof googleMapsMapSettings!="undefined"&&googleMapsMapSettings.fullscreen||typeof atriumParams!="undefined"&&atriumParams.fullscreen)&&$("#marker.add, #marker.edit").length==0?($("body").addClass("noScroll").scrollTop(0),$("#royalSlider, #content, .markerSearch, .sectionOptions .button.switch-view, #toolbarBottom, #spacerBottom, #bottom").addClass("hide"),$("#total, #content, .maps").addClass("fullscreen"),$(".maps, .maps iframe").css("height",""),$("#content").html($("#toolbarTop, .sectionOptions, .maps, #toolbarBottom")),$("#content, #toolbarTop, .sectionOptions, .maps").removeClass("hide"),$(".maps .loader").css("top","-"+$("#top").height()+"px"),$.fn.moveLegend()):($(".maps").before('<a href="#skipMap" class="skipLink">'+settings.map.skip+"<\/a>"),$(".maps").after('<div id="skipMap" tabindex="-1"><\/div>'),$(".sectionTitle.add, .sectionTitle.edit").addClass("hide"),$("#royalSlider, .sectionTitle:first, #toolbarTop, .markers").removeClass("hide"),setTimeout(function(){if($(".mapInteraction").length==0&&($(".no-touch").length>0||$(".touch.desktop").length>0))switch(settings.googleMaps.categoriesLocation){case 0:$(".layout25-50-25").length>0||$(".layout33-33-33").length>0||$(".layout50-50").length>0||$(".layout75-25").length>0?$("#right").prepend('<div class="mapInteraction" />'):$("#left").prepend('<div class="mapInteraction" />');break;case 1:$(".sectionContent").prepend('<div class="mapInteraction" />');break;case 2:$(".sectionContent .maps").after('<div class="mapInteraction" />')}$.fn.moveLegend()},150)))};$.fn.moveLegend=function(){$(".legend input:checkbox").length>0&&($(".legend .categories input:checkbox").length>0&&$(".legend .categories").removeClass("hide"),$(".legend .layers input:checkbox").length>0&&$(".legend .layers").removeClass("hide"),$(".mapInteraction").length>0&&$(".mapInteraction").html("").html($(".legend")),$(".maps .toolbar .legend").length>0&&$(".maps .toolbar").show(),$(".legend").removeClass("hide"))};$.fn.initializeMapItem=function(){var n=$(this);n.length>0&&($("#center").length>0&&$("#right").length>0?$("#right").prepend($(".maps")):$("#left").length>0&&$("#left").prepend($(".maps")))};$.fn.initializeMapsMarkerAddEdit=function(){var n=$(this);if(n.length>0){$("#royalSlider, .sectionTitle, #toolbarTop, .button.markerAdd").addClass("hide");$(".markerTitle input:text").val()==""?($(".add").removeClass("hide"),$(".sectionTitle.add").trigger("focus")):($(".edit").removeClass("hide"),$(".sectionTitle.edit").trigger("focus"));$(".markerCategory select option").length>1&&($(".markerCategory select option:first").remove(),$(".markerCategory").removeClass("hide"));$(".tagsInput").initializeTags();$(".markerReadMoreLink input:text").val()!=""&&($(".markerReadMore select").prop("selectedIndex",1),$(".markerReadMoreLink").removeClass("hide"));$(".markerReadMore select").on("change",function(){$(this).prop("selectedIndex")==1?$(".markerReadMoreLink").removeClass("hide"):($(".markerReadMoreLink").addClass("hide"),$(".markerReadMoreLink").find('input[type="text"]').val("").end().find('input[type="checkbox"]').prop("checked",!1))})}};$.fn.initializeMapsCMS=function(){var n=$(this);if(n.length>0){if($("#categoryID").length>0&&$("#categoryID input").val().length>0||$("#layerID").length>0&&$("#layerID input").val().length>0){$(".edit").removeClass("hide");
2$(".selectLayer input:checkbox").off("click").on("click",function(){$(".selectLayer input:checkbox").not($(this)).prop("checked",!1)})}else $(".add").removeClass("hide");if($(".selectWMS").length>0){$(".selectWMS input").is(":checked")?($(".selectWMSOptions, .selectLayerOptions").show(),$(".addWMSOptions").hide()):($(".selectWMSOptions, .selectLayerOptions").hide(),$(".addWMSOptions").show());$(".selectWMS input").off("click").on("click",function(){$(".selectWMSOptions, .selectLayerOptions").show();$(".addWMSOptions").hide()})}if($(".addWMS").length>0)$(".addWMS input").off("click").on("click",function(){$(".addWMSOptions").show();$(".selectWMSOptions, .selectLayerOptions").hide()});$(".layerSource").length>0&&$(".layerSource").val()!=""&&$(".selectLayerOptions").show();$(".mapOptions .upload").each(function(n){var t=$(this);t.find(".itemID").val($(".pluploadInformation .itemID").val());t.find(".sectionIDs").val($(".pluploadInformation .sectionIDs").val());n==0?t.append($(".pluploadInformation .pluploadFileName").not(".pluploadFileNameMouseOver")):t.append($(".pluploadInformation .pluploadFileNameMouseOver"))})}};$.fn.initializeMarkerAdd=function(){if($(this).length!=0)$(this).off("click").on("click",function(){return $("#toolbarBottom .button.markerAdd input")[0].click(),!1})}; 3var MarkerClusterer=function(){"use strict";function lh(n,t){function i(){this.constructor=n}tf(n,t);n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function re(n){return Object.keys(n).reduce(function(t,i){return n[i]&&t.push(i+":"+n[i]),t},[]).join(";")}function u(n){if(n)return n+"px"}var s,gt,ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=function(n){try{return!!n()}catch(n){return!0}},l=!i(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),ni=function(n){return n&&n.Math==Math&&n},n=ni("object"==typeof globalThis&&globalThis)||ni("object"==typeof window&&window)||ni("object"==typeof self&&self)||ni("object"==typeof ue&&ue)||function(){return this}()||Function("return this")(),fe=Function.prototype,ki=fe.bind,di=fe.call,sl=ki&&ki.bind(di),t=ki?function(n){return n&&sl(di,n)}:function(n){return n&&function(){return di.apply(n,arguments)}},r=function(n){return"function"==typeof n},hl=i,cl=r,ll=/#|\.prototype\./,st=function(n,t){var i=vl[al(n)];return i==pl||i!=yl&&(cl(t)?hl(t):!!t)},al=st.normalize=function(n){return String(n).replace(ll,".").toLowerCase()},vl=st.data={},yl=st.NATIVE="N",pl=st.POLYFILL="P",ee=st,w={exports:{}},wl=n.TypeError,b=function(n){if(null==n)throw wl("Can't call method on "+n);return n},bl=b,kl=n.Object,ht=function(n){return kl(bl(n))},dl=ht,gl=t({}.hasOwnProperty),h=Object.hasOwn||function(n,t){return gl(dl(n),t)},k={},na=r,o=function(n){return"object"==typeof n?null!==n:na(n)},oe=o,gi=n.document,ta=oe(gi)&&oe(gi.createElement),se=function(n){return ta?gi.createElement(n):{}},ia=se,he=!l&&!i(function(){return 7!=Object.defineProperty(ia("div"),"a",{get:function(){return 7}}).a}),ce=n,ra=o,ua=ce.String,fa=ce.TypeError,f=function(n){if(ra(n))return n;throw fa(ua(n)+" is not an object");},ct=Function.prototype.call,a=ct.bind?ct.bind(ct):function(){return ct.apply(ct,arguments)},nr=n,ea=r,oa=function(n){if(ea(n))return n},lt=function(n,t){return arguments.length<2?oa(nr[n]):nr[n]&&nr[n][t]},tr=t({}.isPrototypeOf),le=n,ir=lt("navigator","userAgent")||"",ae=le.process,ve=le.Deno,ye=ae&&ae.versions||ve&&ve.version,pe=ye&&ye.v8,p,vs,ou,yu,tf,ut,ie;pe&&(gt=(s=pe.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1]));!gt&&ir&&(!(s=ir.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=ir.match(/Chrome\/(\d+)/))&&(gt=+s[1]);var rr=gt,we=rr,sa=i,be=!!Object.getOwnPropertySymbols&&!sa(function(){var n=Symbol();return!String(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&we&&we<41}),ke=be&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ha=lt,ca=r,la=tr,aa=ke,va=n.Object,ur=aa?function(n){return"symbol"==typeof n}:function(n){var t=ha("Symbol");return ca(t)&&la(t.prototype,va(n))},ya=n.String,de=function(n){try{return ya(n)}catch(n){return"Object"}},pa=r,wa=de,ba=n.TypeError,ka=function(n){if(pa(n))return n;throw ba(wa(n)+" is not a function");},fr=function(n,t){var i=n[t];if(null!=i)return ka(i)},er=a,or=r,sr=o,da=n.TypeError,ti={exports:{}},ge=n,ga=Object.defineProperty,hr=function(n,t){try{ga(ge,n,{value:t,configurable:!0,writable:!0})}catch(i){ge[n]=t}return t},nv=hr,no="__core-js_shared__",cr=n[no]||nv(no,{}),to=cr;(ti.exports=function(n,t){return to[n]||(to[n]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var tv=t,iv=0,rv=Math.random(),uv=tv(1..toString),io=function(n){return"Symbol("+(void 0===n?"":n)+")_"+uv(++iv+rv,36)},fv=n,ev=ti.exports,ro=h,ov=io,uo=be,fo=ke,at=ev("wks"),v=fv.Symbol,eo=v&&v.for,sv=fo?v:v&&v.withoutSetter||ov,e=function(n){if(!ro(at,n)||!uo&&"string"!=typeof at[n]){var t="Symbol."+n;at[n]=uo&&ro(v,n)?v[n]:fo&&eo?eo(t):sv(t)}return at[n]},hv=a,oo=o,so=ur,cv=fr,lv=function(n,t){var i,r;if("string"===t&&or(i=n.toString)&&!sr(r=er(i,n))||or(i=n.valueOf)&&!sr(r=er(i,n))||"string"!==t&&or(i=n.toString)&&!sr(r=er(i,n)))return r;throw da("Can't convert object to primitive value");}
3,av=e,vv=n.TypeError,yv=av("toPrimitive"),ho=function(n,t){if(!oo(n)||so(n))return n;var i,r=cv(n,yv);if(r){if(void 0===t&&(t="default"),i=hv(r,n,t),!oo(i)||so(i))return i;throw vv("Can't convert object to primitive value");}return void 0===t&&(t="number"),lv(n,t)},pv=ho,wv=ur,lr=function(n){var t=pv(n,"string");return wv(t)?t:t+""},bv=l,kv=he,co=f,dv=lr,gv=n.TypeError,lo=Object.defineProperty;k.f=bv?lo:function(n,t,i){if(co(n),t=dv(t),co(i),kv)try{return lo(n,t,i)}catch(n){}if("get"in i||"set"in i)throw gv("Accessors not supported");return"value"in i&&(n[t]=i.value),n};var ar=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}},ny=k,ty=ar,ii=l?function(n,t,i){return ny.f(n,t,ty(1,i))}:function(n,t,i){return n[t]=i,n},iy=r,vr=cr,ry=t(Function.toString);iy(vr.inspectSource)||(vr.inspectSource=function(n){return ry(n)});var ri,vt,ui,yr=vr.inspectSource,uy=r,fy=yr,ao=n.WeakMap,ey=uy(ao)&&/native code/.test(fy(ao)),oy=ti.exports,sy=io,vo=oy("keys"),yo=function(n){return vo[n]||(vo[n]=sy(n))},pr={},hy=ey,po=n,wr=t,cy=o,ly=ii,br=h,kr=cr,ay=yo,vy=pr,wo="Object already initialized",dr=po.TypeError,yy=po.WeakMap;if(hy||kr.state){var y=kr.state||(kr.state=new yy),py=wr(y.get),bo=wr(y.has),wy=wr(y.set);ri=function(n,t){if(bo(y,n))throw new dr(wo);return t.facade=n,wy(y,n,t),t};vt=function(n){return py(y,n)||{}};ui=function(n){return bo(y,n)}}else p=ay("state"),vy[p]=!0,ri=function(n,t){if(br(n,p))throw new dr(wo);return t.facade=n,ly(n,p,t),t},vt=function(n){return br(n,p)?n[p]:{}},ui=function(n){return br(n,p)};var gr={set:ri,get:vt,has:ui,enforce:function(n){return ui(n)?vt(n):ri(n,{})},getterFor:function(n){return function(t){var i;if(!cy(t)||(i=vt(t)).type!==n)throw dr("Incompatible receiver, "+n+" required");return i}}},nu=l,by=h,ko=Function.prototype,ky=nu&&Object.getOwnPropertyDescriptor,tu=by(ko,"name"),go={EXISTS:tu,PROPER:tu&&"something"===function(){}.name,CONFIGURABLE:tu&&(!nu||nu&&ky(ko,"name").configurable)},dy=n,ns=r,gy=h,ts=ii,np=hr,tp=yr,ip=go.CONFIGURABLE,rp=gr.get,up=gr.enforce,fp=String(String).split("String");(w.exports=function(n,t,i,r){var e,o=!!r&&!!r.unsafe,f=!!r&&!!r.enumerable,s=!!r&&!!r.noTargetGet,u=r&&void 0!==r.name?r.name:t;ns(i)&&("Symbol("===String(u).slice(0,7)&&(u="["+String(u).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!gy(i,"name")||ip&&i.name!==u)&&ts(i,"name",u),(e=up(i)).source||(e.source=fp.join("string"==typeof u?u:"")));n!==dy?(o?!s&&n[t]&&(f=!0):delete n[t],f?n[t]=i:ts(n,t,i)):f?n[t]=i:np(t,i)})(Function.prototype,"toString",function(){return ns(this)&&rp(this).source||tp(this)});var is=n,ep=r,op=is.String,sp=is.TypeError,hp=t,cp=f,lp=function(n){if("object"==typeof n||ep(n))return n;throw sp("Can't set "+op(n)+" as a prototype");}
3,ap=Object.setPrototypeOf||("__proto__"in{}?function(){var n,t=!1,i={};try{(n=hp(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]);t=i instanceof Array}catch(n){}return function(i,r){return cp(i),lp(r),t?n(i,r):i.__proto__=r,i}}():void 0),vp=r,yp=o,rs=ap,iu={},us=t,pp=us({}.toString),wp=us("".slice),yt=function(n){return wp(pp(n),8,-1)},bp=t,kp=i,dp=yt,ru=n.Object,gp=bp("".split),fs=kp(function(){return!ru("z").propertyIsEnumerable(0)})?function(n){return"String"==dp(n)?gp(n,""):ru(n)}:ru,nw=fs,tw=b,d=function(n){return nw(tw(n))},iw=Math.ceil,rw=Math.floor,pt=function(n){var t=+n;return t!=t||0===t?0:(t>0?rw:iw)(t)},uw=pt,fw=Math.max,ew=Math.min,fi=function(n,t){var i=uw(n);return i<0?fw(i+t,0):ew(i,t)},ow=pt,sw=Math.min,uu=function(n){return n>0?sw(ow(n),9007199254740991):0},hw=uu,wt=function(n){return hw(n.length)},cw=d,lw=fi,aw=wt,es=function(n){return function(t,i,r){var o,f=cw(t),e=aw(f),u=lw(r,e);if(n&&i!=i){for(;e>u;)if((o=f[u++])!=o)return!0}else for(;e>u;u++)if((n||u in f)&&f[u]===i)return n||u||0;return!n&&-1}},vw={includes:es(!0),indexOf:es(!1)},fu=h,yw=d,pw=vw.indexOf,ww=pr,os=t([].push),ss=function(n,t){var i,u=yw(n),f=0,r=[];for(i in u)!fu(ww,i)&&fu(u,i)&&os(r,i);for(;t.length>f;)fu(u,i=t[f++])&&(~pw(r,i)||os(r,i));return r},eu=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bw=ss,kw=eu.concat("length","prototype");iu.f=Object.getOwnPropertyNames||function(n){return bw(n,kw)};var ei={},hs={},cs={}.propertyIsEnumerable,ls=Object.getOwnPropertyDescriptor,dw=ls&&!cs.call({1:2},1);hs.f=dw?function(n){var t=ls(this,n);return!!t&&t.enumerable}:cs;var gw=l,nb=a,tb=hs,ib=ar,rb=d,ub=lr,fb=h,eb=he,as=Object.getOwnPropertyDescriptor;ei.f=gw?as:function(n,t){if(n=rb(n),t=ub(t),eb)try{return as(n,t)}catch(n){}if(fb(n,t))return ib(!nb(tb.f,n,t),n[t])};vs=t(1..valueOf);ou={};ou[e("toStringTag")]="z";var su="[object z]"===String(ou),ob=n,sb=su,hb=r,oi=yt,cb=e("toStringTag"),lb=ob.Object,ab="Arguments"==oi(function(){return arguments}()),hu=sb?oi:function(n){var t,i,r;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(i=function(n,t){try{return n[t]}catch(n){}}(t=lb(n),cb))?i:ab?oi(t):"Object"==(r=oi(t))&&hb(t.callee)?"Arguments":r},vb=hu,yb=n.String,g=function(n){if("Symbol"===vb(n))throw TypeError("Cannot convert a Symbol value to a string");return yb(n)},pb=b,wb=g,ys=t("".replace),si="[\t\n\v\f\r áââââââ
ââââââ¯âã\u2028\u2029\ufeff]",bb=RegExp("^"+si+si+"*"),kb=RegExp(si+si+"*$"),cu=function(n){return function(t){var i=wb(pb(t));return 1&n&&(i=ys(i,bb,"")),2&n&&(i=ys(i,kb,"")),i}},db={start:cu(1),end:cu(2),trim:cu(3)},gb=l,lu=n,ps=t,nk=ee,tk=w.exports,ws=h,ik=function(n,t,i){var r,u;return rs&&vp(r=t.constructor)&&r!==i&&yp(u=r.prototype)&&u!==i.prototype&&rs(n,u),n},rk=tr,uk=ur,bs=ho,fk=i,ek=iu.f,ok=ei.f,sk=k.f,hk=vs,ck=db.trim,ks="Number",c=lu.Number,au=c.prototype,lk=lu.TypeError,ak=ps("".slice),hi=ps("".charCodeAt),vk=function(n){var t=bs(n,"number");return"bigint"==typeof t?t:yk(t)},yk=function(n){var r,o,u,f,e,s,i,h,t=bs(n,"number");if(uk(t))throw lk("Cannot convert a Symbol value to a number");if("string"==typeof t&&t.length>2)if(t=ck(t),43===(r=hi(t,0))||45===r){if(88===(o=hi(t,2))||120===o)return NaN}else if(48===r){switch(hi(t,1)){case 66:case 98:u=2;f=49;break;case 79:case 111:u=8;f=55;break;default:return+t}for(s=(e=ak(t,2)).length,i=0;i<s;i++)if((h=hi(e,i))<48||h>f)return NaN;return parseInt(e,u)}return+t};if(nk(ks,!c(" 0o1")||!c("0b1")||c("+0x1"))){for(var ci,nt=function(n){var i=arguments.length<1?0:c(vk(n)),t=this;return rk(au,t)&&fk(function(){hk(t)})?ik(Object(i),t,nt):i},ds=gb?ek(c):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),vu=0;ds.length>vu;vu++)ws(c,ci=ds[vu])&&!ws(nt,ci)&&sk(nt,ci,ok(c,ci));nt.prototype=au;au.constructor=nt;tk(lu,ks,nt)}yu={};yu.f=Object.getOwnPropertySymbols;var pk=lt,wk=iu,bk=yu,kk=f,dk=t([].concat),gk=pk("Reflect","ownKeys")||function(n){var t=wk.f(kk(n)),i=bk.f;return i?dk(t,i(n)):t},nd=h,td=gk,id=ei,rd=k,pu=n,ud=ei.f,fd=ii,ed=w.exports,od=hr,sd=function(n,t){for(var i,u=td(t),f=rd.f,e=id.f,r=0;r<u.length;r++)i=u[r],nd(n,i)||f(n,i,e(t,i))},hd=ee,tt=function(n,t){var f,i,r,u,o,e=n.target,s=n.global,h=n.stat;if(f=s?pu:h?pu[e]||od(e,{}):(pu[e]||{}).prototype)for(i in t){if(u=t[i],r=n.noTargetGet?(o=ud(f,i))&&o.value:f[i],!hd(s?i:e+(h?".":"#")+i,n.forced)&&void 0!==r){if(typeof u==typeof r)continue;sd(u,r)}(n.sham||r&&r.sham)&&fd(u,"sham",!0);ed(f,i,u,n)}},cd=yt,wu=Array.isArray||function(n){return"Array"==cd(n)},ld=t,ad=i,gs=r,vd=hu,yd=yr,nh=function(){},pd=[],th=lt("Reflect","construct"),bu=/^\s*(?:class|function)\b/,wd=ld(bu.exec),bd=!bu.exec(nh),bt=function(n){if(!gs(n))return!1;try{return th(nh,pd,n),!0}catch(n){return!1}},ku=!th||ad(function(){var n;return bt(bt.call)||!bt(Object)||!bt(function(){n=!0})||n})?function(n){if(!gs(n))return!1;switch(vd(n)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return bd||!!wd(bu,yd(n))}:bt,kd=n,ih=wu,dd=ku,gd=o,ng=e("species"),rh=kd.Array,tg=function(n){var t;return ih(n)&&(t=n.constructor,(dd(t)&&(t===rh||ih(t.prototype))||gd(t)&&null===(t=t[ng]))&&(t=void 0)),void 0===t?rh:t},uh=function(n,t){return new(tg(n))(0===t?0:t)},ig=lr,rg=k,ug=ar,li=function(n,t,i){var r=ig(t);r in n?rg.f(n,r,ug(0,i)):n[r]=i},fg=i,eg=rr,og=e("species"),du=function(n){return eg>=51||!fg(function(){var t=[];return(t.constructor={})[og]=function(){return{foo:1}
3},1!==t[n](Boolean).foo})},sg=tt,hg=n,cg=fi,lg=pt,ag=wt,vg=ht,yg=uh,pg=li,wg=du("splice"),bg=hg.TypeError,kg=Math.max,dg=Math.min,gg=9007199254740991,nn="Maximum allowed length exceeded";sg({target:"Array",proto:!0,forced:!wg},{splice:function(n,t){var f,r,c,i,o,s,u=vg(this),e=ag(u),h=cg(n,e),l=arguments.length;if(0===l?f=r=0:1===l?(f=0,r=e-h):(f=l-2,r=dg(kg(lg(t),0),e-h)),e+f-r>gg)throw bg(nn);for(c=yg(u,r),i=0;i<r;i++)(o=h+i)in u&&pg(c,i,u[o]);if(c.length=r,f<r){for(i=h;i<e-r;i++)s=i+f,(o=i+r)in u?u[s]=u[o]:delete u[s];for(i=e;i>e-r+f;i--)delete u[i-1]}else if(f>r)for(i=e-r;i>h;i--)s=i+f-1,(o=i+r-1)in u?u[s]=u[o]:delete u[s];for(i=0;i<f;i++)u[i+h]=arguments[i+2];return u.length=e-r+f,c}});var tn=t([].slice),rn=tt,un=n,fh=wu,fn=ku,en=o,eh=fi,on=wt,sn=d,hn=li,cn=e,ln=tn,an=du("slice"),vn=cn("species"),gu=un.Array,yn=Math.max;rn({target:"Array",proto:!0,forced:!an},{slice:function(n,t){var i,f,e,r=sn(this),o=on(r),u=eh(n,o),s=eh(void 0===t?o:t,o);if(fh(r)&&(i=r.constructor,(fn(i)&&(i===gu||fh(i.prototype))||en(i)&&null===(i=i[vn]))&&(i=void 0),i===gu||void 0===i))return ln(r,u,s);for(f=new(void 0===i?gu:i)(yn(s-u,0)),e=0;u<s;u++,e++)u in r&&hn(f,e,r[u]);return f.length=e,f}});var pn=hu,wn=su?{}.toString:function(){return"[object "+pn(this)+"]"},bn=su,kn=w.exports,dn=wn;bn||kn(Object.prototype,"toString",dn,{unsafe:!0});var gn=f,oh=function(){var t=gn(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n},ntt=t,ttt=go.PROPER,itt=w.exports,rtt=f,utt=tr,sh=g,ftt=i,ett=oh,hh="toString",nf=RegExp.prototype,ch=nf.toString,ott=ntt(ett),stt=ftt(function(){return"/a/b"!=ch.call({source:"a",flags:"b"})}),htt=ttt&&ch.name!=hh;(stt||htt)&&itt(RegExp.prototype,hh,function(){var n=rtt(this),i=sh(n.source),t=n.flags;return"/"+i+"/"+sh(void 0===t&&utt(nf,n)&&!("flags"in nf)?ott(n):t)},{unsafe:!0});tf=function(n,t){return(tf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])})(n,t)};var it=function(){return(it=Object.assign||function(n){for(var r,i,t=1,u=arguments.length;t<u;t++)for(i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i]);return n}).apply(this,arguments)},ctt=i,ltt=tt,att=fs,vtt=d,ytt=function(n,t){var i=[][n];return!!i&&ctt(function(){i.call(null,t||function(){throw 1;},1)})},ptt=t([].join),wtt=att!=Object,btt=ytt("join",",");ltt({target:"Array",proto:!0,forced:wtt||!btt},{join:function(n){return ptt(vtt(this),void 0===n?",":n)}});var ktt=ss,dtt=eu,ah=Object.keys||function(n){return ktt(n,dtt)},gtt=ht,vh=ah;tt({target:"Object",stat:!0,forced:i(function(){vh(1)})},{keys:function(n){return vh(gtt(n))}});var ai,rf=i,uf=n.RegExp,ff=rf(function(){var n=uf("a","y");return n.lastIndex=2,null!=n.exec("abcd")}),nit=ff||rf(function(){return!uf("a","y").sticky}),yh={BROKEN_CARET:ff||rf(function(){var n=uf("^r","gy");return n.lastIndex=2,null!=n.exec("str")}),MISSED_STICKY:nit,UNSUPPORTED_Y:ff},tit=k,iit=f,rit=d,uit=ah,fit=l?Object.defineProperties:function(n,t){iit(n);for(var i,f=rit(t),r=uit(t),e=r.length,u=0;e>u;)tit.f(n,i=r[u++],f[i]);return n},eit=lt("document","documentElement"),oit=f,sit=fit,ph=eu,hit=pr,cit=eit,lit=se,wh=yo("IE_PROTO"),ef=function(){},bh=function(n){return"<script>"+n+"<\/script>"},kh=function(n){n.write(bh(""));n.close();var t=n.parentWindow.Object;return n=null,t},vi=function(){var n,t,i;try{ai=new ActiveXObject("htmlfile")}catch(n){}for(vi="undefined"!=typeof document?document.domain&&ai?kh(ai):((t=lit("iframe")).style.display="none",cit.appendChild(t),t.src=String("javascript:"),(n=t.contentWindow.document).open(),n.write(bh("document.F=Object")),n.close(),n.F):kh(ai),i=ph.length;i--;)delete vi.prototype[ph[i]];return vi()};hit[wh]=!0;var dh,sf,ait=Object.create||function(n,t){var i;return null!==n?(ef.prototype=oit(n),i=new ef,ef.prototype=null,i[wh]=n):i=vi(),void 0===t?i:sit(i,t)},vit=i,yit=n.RegExp,pit=vit(function(){var n=yit(".","s");return!(n.dotAll&&n.exec("\n")&&"s"===n.flags)}),wit=i,bit=n.RegExp,kit=wit(function(){var n=bit("(?<a>b)","g");return"b"!==n.exec("b").groups.a||"bc"!=="b".replace(n,"$<a>c")}),rt=a,yi=t,dit=g,git=oh,nrt=yh,trt=ti.exports,irt=ait,rrt=gr.get,urt=pit,frt=kit,ert=trt("native-string-replace",String.prototype.replace),pi=RegExp.prototype.exec,hf=pi,ort=yi("".charAt),srt=yi("".indexOf),hrt=yi("".replace),cf=yi("".slice),lf=(sf=/b*/g,rt(pi,dh=/a/,"a"),rt(pi,sf,"a"),0!==dh.lastIndex||0!==sf.lastIndex),gh=nrt.BROKEN_CARET,af=void 0!==/()??/.exec("")[1];(lf||af||gh||urt||frt)&&(hf=function(n){var v,f,y,t,r,p,w,i=this,b=rrt(i),e=dit(n),o=b.raw;if(o)return o.lastIndex=i.lastIndex,v=rt(hf,o,e),i.lastIndex=o.lastIndex,v;var c=b.groups,l=gh&&i.sticky,u=rt(git,i),s=i.source,a=0,h=e;if(l&&(u=hrt(u,"y",""),-1===srt(u,"g")&&(u+="g"),h=cf(e,i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==ort(e,i.lastIndex-1))&&(s="(?: "+s+")",h=" "+h,a++),f=new RegExp("^(?:"+s+")",u)),af&&(f=ne
3w RegExp("^"+s+"$(?!\\s)",u)),lf&&(y=i.lastIndex),t=rt(pi,l?f:i,h),l?t?(t.input=cf(t.input,a),t[0]=cf(t[0],a),t.index=i.lastIndex,i.lastIndex+=t[0].length):i.lastIndex=0:lf&&t&&(i.lastIndex=i.global?t.index+t[0].length:y),af&&t&&t.length>1&&rt(ert,t[0],f,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(t[r]=void 0)}),t&&c)for(t.groups=p=irt(null),r=0;r<c.length;r++)p[(w=c[r])[0]]=t[w[1]];return t});ut=hf;tt({target:"RegExp",proto:!0,forced:/./.exec!==ut},{exec:ut});var vf=Function.prototype,nc=vf.apply,crt=vf.bind,tc=vf.call,ic="object"==typeof Reflect&&Reflect.apply||(crt?tc.bind(nc):function(){return tc.apply(nc,arguments)}),rc=t,uc=w.exports,lrt=ut,fc=i,ec=e,art=ii,vrt=ec("species"),yf=RegExp.prototype,oc=function(n,t,i,r){var u=ec(n),f=!fc(function(){var t={};return t[u]=function(){return 7},7!=""[n](t)}),s=f&&!fc(function(){var i=!1,t=/a/;return"split"===n&&((t={}).constructor={},t.constructor[vrt]=function(){return t},t.flags="",t[u]=/./[u]),t.exec=function(){return i=!0,null},t[u](""),!i}),o,e;f&&s&&!i||(o=rc(/./[u]),e=t(u,""[n],function(n,t,i,r,u){var s=rc(n),e=t.exec;return e===lrt||e===yf.exec?f&&!u?{done:!0,value:o(t,i,r)}:{done:!0,value:s(i,t,r)}:{done:!1}}),uc(String.prototype,n,e[0]),uc(yf,u,e[1]));r&&art(yf[u],"sham",!0)},yrt=o,prt=yt,wrt=e("match"),brt=ku,krt=de,drt=n.TypeError,sc=f,grt=function(n){if(brt(n))return n;throw drt(krt(n)+" is not a constructor");},nut=e("species"),pf=t,tut=pt,iut=g,rut=b,uut=pf("".charAt),hc=pf("".charCodeAt),fut=pf("".slice),cc=function(n){return function(t,i){var f,e,u=iut(rut(t)),r=tut(i),o=u.length;return r<0||r>=o?n?"":void 0:(f=hc(u,r))<55296||f>56319||r+1===o||(e=hc(u,r+1))<56320||e>57343?n?uut(u,r):f:n?fut(u,r,r+2):e-56320+(f-55296<<10)+65536}},eut={codeAt:cc(!1),charAt:cc(!0)}.charAt,lc=function(n,t,i){return t+(i?eut(n,t).length:1)},ac=fi,out=wt,sut=li,hut=n.Array,cut=Math.max,vc=a,lut=f,aut=r,vut=yt,yut=ut,put=n.TypeError,yc=function(n,t){var r=n.exec,i;if(aut(r))return i=vc(r,n,t),null!==i&&lut(i),i;if("RegExp"===vut(n))return vc(yut,n,t);throw put("RegExp#exec called on incompatible receiver");},wut=ic,kt=a,wf=t,but=oc,kut=function(n){var t;return yrt(n)&&(void 0!==(t=n[wrt])?!!t:"RegExp"==prt(n))},dut=f,pc=b,gut=function(n,t){var i,r=sc(n).constructor;return void 0===r||null==(i=sc(r)[nut])?t:grt(i)},nft=lc,tft=uu,bf=g,ift=fr,wc=function(n,t,i){for(var u=out(n),r=ac(t,u),o=ac(void 0===i?u:i,u),f=hut(cut(o-r,0)),e=0;r<o;r++,e++)sut(f,e,n[r]);return f.length=e,f},bc=yc,rft=ut,uft=i,ft=yh.UNSUPPORTED_Y,kc=4294967295,fft=Math.min,dc=[].push,eft=wf(/./.exec),et=wf(dc),dt=wf("".slice);but("split",function(n,t,i){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(n,i){var u=bf(pc(this)),e=void 0===i?kc:i>>>0;if(0===e)return[];if(void 0===n)return[u];if(!kut(n))return kt(t,u,n,e);for(var f,h,c,r=[],l=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(n.sticky?"y":""),o=0,s=new RegExp(n.source,l+"g");(f=kt(rft,s,u))&&!((h=s.lastIndex)>o&&(et(r,dt(u,o,f.index)),f.length>1&&f.index<u.length&&wut(dc,r,wc(f,1)),c=f[0].length,o=h,r.length>=e));)s.lastIndex===f.index&&s.lastIndex++;return o===u.length?!c&&eft(s,"")||et(r,""):et(r,dt(u,o)),r.length>e?wc(r,0,e):r}:"0".split(void 0,0).length?function(n,i){return void 0===n&&0===i?[]:kt(t,this,n,i)}:t,[function(t,i){var u=pc(this),f=null==t?void 0:ift(t,n);return f?kt(f,t,u,i):kt(r,bf(u),t,i)},function(n,u){var e=dut(this),f=bf(n),y=i(r,e,f,u,r!==t),p,l,a;if(y.done)return y.value;var w=gut(e,RegExp),b=e.unicode,k=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(ft?"g":"y"),h=new w(ft?"^(?:"+e.source+")":e,k),v=void 0===u?kc:u>>>0;if(0===v)return[];if(0===f.length)return null===bc(h,f)?[f]:[];for(var c=0,o=0,s=[];o<f.length;)if(h.lastIndex=ft?0:o,l=bc(h,ft?dt(f,o):f),null===l||(p=fft(tft(h.lastIndex+(ft?o:0)),f.length))===c)o=nft(f,o,b);else{if(et(s,dt(f,c,o)),s.length===v)return s;for(a=1;a<=l.length-1;a++)if(et(s,l[a]),s.length===v)return s;o=c=p}
3return et(s,dt(f,c)),s}]},!!uft(function(){var t=/(?:)/,i=t.exec,n;return t.exec=function(){return i.apply(this,arguments)},n="ab".split(t),2!==n.length||"a"!==n[0]||"b"!==n[1]}),ft);var oft=tt,sft=n,hft=i,cft=wu,lft=o,aft=ht,vft=wt,gc=li,yft=uh,pft=du,wft=rr,nl=e("isConcatSpreadable"),tl=9007199254740991,il="Maximum allowed index exceeded",rl=sft.TypeError,bft=wft>=51||!hft(function(){var n=[];return n[nl]=!1,n.concat()[0]!==n}),kft=pft("concat"),dft=function(n){if(!lft(n))return!1;var t=n[nl];return void 0!==t?!!t:cft(n)};oft({target:"Array",proto:!0,forced:!bft||!kft},{concat:function(){for(var i,e,r,o=aft(this),u=yft(o,0),n=0,t=-1,f=arguments.length;t<f;t++)if(dft(r=-1===t?o:arguments[t])){if(n+(e=vft(r))>tl)throw rl(il);for(i=0;i<e;i++,n++)i in r&&gc(u,n,r[i])}else{if(n>=tl)throw rl(il);gc(u,n++,r)}return u.length=n,u}});var kf=t,gft=ht,net=Math.floor,df=kf("".charAt),tet=kf("".replace),gf=kf("".slice),iet=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ret=/\$([$&'`]|\d{1,2})/g,uet=ic,ul=a,wi=t,fet=oc,eet=i,oet=f,set=r,het=pt,cet=uu,ot=g,aet=b,vet=lc,yet=fr,pet=function(n,t,i,r,u,f){var s=i+n.length,e=r.length,o=ret;return void 0!==u&&(u=gft(u),o=iet),tet(f,o,function(f,o){var l,h,c;switch(df(o,0)){case"$":return"$";case"&":return n;case"`":return gf(t,0,i);case"'":return gf(t,s);case"<":l=u[gf(o,1,-1)];break;default:if(h=+o,0===h)return f;if(h>e)return c=net(h/10),0===c?f:c<=e?void 0===r[c-1]?df(o,1):r[c-1]+df(o,1):f;l=r[h-1]}return void 0===l?"":l})},wet=yc,ne=e("replace"),bet=Math.max,ket=Math.min,det=wi([].concat),te=wi([].push),fl=wi("".indexOf),el=wi("".slice),get="$0"==="a".replace(/./,"$0"),ol=!!/./[ne]&&""===/./[ne]("a","$0");fet("replace",function(n,t,i){var r=ol?"$":"$0";return[function(n,i){var r=aet(this),u=null==n?void 0:yet(n,ne);return u?ul(u,n,r,i):ul(t,ot(r),n,i)},function(n,u){var o=oet(this),e=ot(n),a,v,y,tt,h,f,l,g,nt;if("string"==typeof u&&-1===fl(u,r)&&-1===fl(u,"$<")&&(a=i(t,o,e,u),a.done))return a.value;for(v=set(u),v||(u=ot(u)),y=o.global,y&&(tt=o.unicode,o.lastIndex=0),h=[];;){if(f=wet(o,e),null===f)break;if(te(h,f),!y)break;""===ot(f[0])&&(o.lastIndex=vet(e,cet(o.lastIndex),tt))}for(var p,it="",c=0,w=0;w<h.length;w++){for(var b=ot((f=h[w])[0]),s=bet(ket(het(f.index),e.length),0),k=[],d=1;d<f.length;d++)te(k,void 0===(p=f[d])?p:String(p));l=f.groups;v?(g=det([b],k,s,e),void 0!==l&&te(g,l),nt=ot(uet(u,void 0,g))):nt=pet(b,e,s,k,l,u);s>=c&&(it+=el(e,c,s)+nt,c=s+b.length)}return it+el(e,c)}]},!!eet(function(){var n=/./;return n.exec=function(){var n=[];return n.groups={a:"7"},n},"7"!=="".replace(n,"$<a>")})||!get||ol);ie=function s(){!function(n,t){for(var i in t.prototype)n.prototype[i]=t.prototype[i]}(s,google.maps.OverlayView)};var not=function(n){function t(t,i){var r=n.call(this)||this;return r.cluster_=t,r.styles_=i,r.center_=null,r.div_=null,r.sums_=null,r.visible_=!1,r.style=null,r.setMap(t.getMap()),r}return lh(t,n),t.prototype.onAdd=function(){var i,r,t=this,n=this.cluster_.getMarkerClusterer(),u=google.maps.version.split("."),f=u[0],e=u[1],o=100*parseInt(f,10)+parseInt(e,10);this.div_=document.createElement("div");this.visible_&&this.show();this.getPanes().overlayMouseTarget.appendChild(this.div_);this.boundsChangedListener_=google.maps.event.addListener(this.getMap(),"bounds_changed",function(){r=i});google.maps.event.addDomListener(this.div_,"mousedown",function(){i=!0;r=!1});google.maps.event.addDomListener(this.div_,"contextmenu",function(){google.maps.event.trigger(n,"contextmenu",t.cluster_)});o>=332&&google.maps.event.addDomListener(this.div_,"touchstart",function(n){n.stopPropagation()});google.maps.event.addDomListener(this.div_,"click",function(u){if(i=!1,!r){if(google.maps.event.trigger(n,"click",t.cluster_),google.maps.event.trigger(n,"clusterclick",t.cluster_),n.getZoomOnClick()){var f=n.getMaxZoom(),e=t.cluster_.getBounds();n.getMap().fitBounds(e);setTimeout(function(){n.getMap().fitBounds(e);null!==f&&n.getMap().getZoom()>f&&n.getMap().setZoom(f+1)},100)}u.cancelBubble=!0;u.stopPropagation&&u.stopPropagation()}});google.maps.event.addDomListener(this.div_,"mouseover",function(){google.maps.event.trigger(n,"mouseover",t.cluster_)});google.maps.event.addDomListener(this.div_,"mouseout",function(){google.maps.event.trigger(n,"mouseout",t.cluster_)})},t.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},t.prototype.draw=function(){if(this.visible_){var n=this.getPosFromLatLng_(this.center_);this.div_.style.top=n.y+"px";this.div_.style.left=n.x+"px"}},t.prototype.hide=function(){this.div_&&(this.div_.style.display="none");this.visible_=!1},t.prototype.show=function(){this.div_&&(this.div_.className=this.className_,this.div_.style.cssText=this.createCss_(this.getPosFromLatLng_(this.center_)),this.div_.innerHTML=(this.style.url?this.getImageElementHtml():"")+this.getLabelDivHtml(),this.div_.title=void 0===this.sums_.title||""===this.sums_.title?this.cluster_.getMarkerClusterer().getTitle():this.sums_.title,this.div_.style.display="");this.visible_=!0},t.prototype.getLabelDivHtml=function(){var n=this.cluster_.getMarkerClusterer().ariaLabelFn(this.sums_.text),t={position:"absolute",top:u(this.anchorText_[0]),left:u(this.anchorText_[1]),color:this.style.textColor,"font-size":u(this.style.textSize),"font-family":this.style.fontFamily,"font-weight":this.style.fontWeight,"font-style":this.style.fontStyle,"text-decoration":this.style.textDecoration,"text-align":"center",width:u(this.style.width),"line-height":u(this.style.textLineHeight)};return'\n<div aria-label="'.concat(n,'" style="').concat(re(t),'" tabindex="0">\n <span aria-hidden="true">').concat(this.sums_.text,"<\/span>\n<\/div>\n")},t.prototype.getImageElementHtml=function(){var f=(this.style.backgroundPosition||"0 0").split(" "),t=parseInt(f[0].replace(/^\s+|\s+$/g,""),10),i=parseInt(f[1].replace(/^\s+|\s+$/g,""),10),r={},e,o;if(this.cluster_.getMarkerClusterer().getEnableRetinaIcons())r={width:u(this.style.width),height:u(this.style.height)};else{var n=[-1*i,-1*t+this.style.width,-1*i+this.style.height,-1*t],s=n[1],h=n[2],c=n[3];r={clip:"rect(".concat(n[0],"px, ").concat(s,"px, ").concat(h,"px, ").concat(c,"px)")}}return e=this.sums_.url?{width:"100%",height:"100%"}:{},o=re(it(it({position:"absolute",top:u(i),left:u(t)},r),e)),'<img alt="'.concat(this.sums_.text,'" aria-hidden="true" src="').concat(this.style.url,'" style="').concat(o,'"/>')},t.prototype.useStyle=function(n){this.sums_=n;var t=Math.max(0,n.index-1);t=Math.min(this.styles_.length-1,t);this.style=this.sums_.url?it(it({},this.styles_[t]),{url:this.sums_.url}):this.styles_[t];this.anchorText_=this.style.anchorText||[0,0];this.anchorIcon_=this.style.anchorIcon||[Math.floor(this.style.height/2),Math.floor(this.style.width/2)];this.className_=this.cluster_.getMarkerClusterer().getClusterClass()+" "+(this.style.className||"cluster-"+t)},t.prototype.setCenter=function(n){this.center_=n},t.prototype.createCss_=function(n){return re({"z-index":"".concat(this.cluster_.getMarkerClusterer().getZIndex()),top:u(n.y),left:u(n.x),width:u(this.style.width),height:u(this.style.height),cursor:"pointer",position:"absolute","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none"})},t.prototype.getPosFromLatLng_=function(n){var t=this.getProjection().fromLatLngToDivPixel(n);return t.x=Math.floor(t.x-this.anchorIcon_[1]),t.y=Math.floor(t.y-this.anchorIcon_[0]),t},t}(ie),tot=function(){function n(n){this.markerClusterer_=n;this.map_=this.markerClusterer_.getMap();this.minClusterSize_=this.markerClusterer_.getMinimumClusterSize();this.averageCenter_=this.markerClusterer_.getAverageCenter();this.markers_=[];this.center_=null;this.bounds_=null;this.clusterIcon_=new not(this,this.markerClusterer_.getStyles())}return n.prototype.getSize=function(){return this.markers_.length},n.prototype.getMarkers=function(){return this.markers_},n.prototype.getCenter=function(){return this.center_},n.prototype.getMap=function(){return this.map_},n.prototype.getMarkerClusterer=function(){return this.markerClusterer_},n.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center_,this.center_),i=this.getMarkers(),n=0;n<i.length;n++)t.extend(i[n].getPosition());return t},n.prototype.remove=function(){this.clusterIcon_.setMap(null);this.markers_=[];delete this.markers_},n.prototype.addMarker=function(n){var i,u,r;if(this.isMarkerAlreadyAdded_(n))return!1;if(this.center_){if(this.averageCenter_){var t=this.markers_.length+1,f=(this.center_.lat()*(t-1)+n.getPosition().lat())/t,e=(this.center_.lng()*(t-1)+n.getPosition().lng())/t;this.center_=new google.maps.LatLng(f,e);this.calculateBounds_()}}else this.center_=n.getPosition(),this.calculateBounds_();if(n.isAdded=!0,this.markers_.push(n),i=this.markers_.length,u=this.markerClusterer_.getMaxZoom(),null!==u&&this.map_.getZoom()>u)n.getMap()!==this.map_&&n.setMap(this.map_);else if(i<this.minClusterSize_)n.getMap()!==this.map_&&n.setMap(this.map_);else if(i===this.minClusterSize_)for(r=0;r<i;r++)this.markers_[r].setMap(null);else n.setMap(null);return!0},n.prototype.isMarkerInClusterBounds=function(n){return this.bounds_.contains(n.getPosition())},n.prototype.calculateBounds_=function(){var n=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(n)},n.prototype.updateIcon=function(){var r=this.markers_.length,n=this.markerClusterer_.getMaxZoom(),t,i;null!==n&&this.map_.getZoom()>n?this.clusterIcon_.hide():r<this.minClusterSize_?this.clusterIcon_.hide():(t=this.markerClusterer_.getStyles().length,i=this.markerClusterer_.getCalculator()(this.markers_,t),this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.useStyle(i),this.clusterIcon_.show())},n.prototype.isMarkerAlreadyAdded_=function(n){if(this.markers_.indexOf)return-1!==this.markers_.indexOf(n);for(var t=0;t<this.markers_.length;t++)if(n===this.markers_[t])return!0;return!1},n}(),bi=function(n,t,i){return void 0!==n[t]?n[t]:i};return function(n){function t(i,r,u){void 0===r&&(r=[]);void 0===u&&(u={});var f=n.call(this)||this;return f.options=u,f.markers_=[],f.clusters_=[],f.listeners_=[],f.activeMap_=null,f.ready_=!1,f.ariaLabelFn=f.options.ariaLabelFn||function(){return""},f.zIndex_=f.options.zIndex||Number(google.maps.Marker.MAX_ZINDEX)+1,f.gridSize_=f.options.gridSize||60,f.minClusterSize_=f.options.minimumClusterSize||2,f.maxZoom_=f.options.maxZoom||null,f.styles_=f.options.styles||[],f.title_=f.options.title||"",f.zoomOnClick_=bi(f.options,"zoomOnClick",!0),f.averageCenter_=bi(f.options,"averageCenter",!1),f.ignoreHidden_=bi(f.options,"ignoreHidden",!1),f.enableRetinaIcons_=bi(f.options,"enableRetinaIcons",!1),f.imagePath_=f.options.imagePath||t.IMAGE_PATH,f.imageExtension_=f.options.imageExtension||t.IMAGE_EXTENSION,f.imageSizes_=f.options.imageSizes||t.IMAGE_SIZES,f.calculator_=f.options.calculator||t.CALCULATOR,f.batchSize_=f.options.batchSize||t.BATCH_SIZE,f.batchSizeIE_=f.options.batchSizeIE||t.BATCH_SIZE_IE,f.clusterClass_
3=f.options.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(f.batchSize_=f.batchSizeIE_),f.setupStyles_(),f.addMarkers(r,!0),f.setMap(i),f}return lh(t,n),t.prototype.onAdd=function(){var n=this;this.activeMap_=this.getMap();this.ready_=!0;this.repaint();this.prevZoom_=this.getMap().getZoom();this.listeners_=[google.maps.event.addListener(this.getMap(),"zoom_changed",function(){var t=n.getMap(),r=t.minZoom||0,u=Math.min(t.maxZoom||100,t.mapTypes[t.getMapTypeId()].maxZoom),i=Math.min(Math.max(n.getMap().getZoom(),r),u);n.prevZoom_!=i&&(n.prevZoom_=i,n.resetViewport_(!1))}),google.maps.event.addListener(this.getMap(),"idle",function(){n.redraw_()})]},t.prototype.onRemove=function(){for(var n=0;n<this.markers_.length;n++)this.markers_[n].getMap()!==this.activeMap_&&this.markers_[n].setMap(this.activeMap_);for(n=0;n<this.clusters_.length;n++)this.clusters_[n].remove();for(this.clusters_=[],n=0;n<this.listeners_.length;n++)google.maps.event.removeListener(this.listeners_[n]);this.listeners_=[];this.activeMap_=null;this.ready_=!1},t.prototype.draw=function(){},t.prototype.setupStyles_=function(){var n,i;if(!(this.styles_.length>0))for(n=0;n<this.imageSizes_.length;n++)i=this.imageSizes_[n],this.styles_.push(t.withDefaultStyle({url:this.imagePath_+(n+1)+"."+this.imageExtension_,height:i,width:i}))},t.prototype.fitMapToMarkers=function(n){for(var i=this.getMarkers(),r=new google.maps.LatLngBounds,t=0;t<i.length;t++)!i[t].getVisible()&&this.getIgnoreHidden()||r.extend(i[t].getPosition());this.getMap().fitBounds(r,n)},t.prototype.getGridSize=function(){return this.gridSize_},t.prototype.setGridSize=function(n){this.gridSize_=n},t.prototype.getMinimumClusterSize=function(){return this.minClusterSize_},t.prototype.setMinimumClusterSize=function(n){this.minClusterSize_=n},t.prototype.getMaxZoom=function(){return this.maxZoom_},t.prototype.setMaxZoom=function(n){this.maxZoom_=n},t.prototype.getZIndex=function(){return this.zIndex_},t.prototype.setZIndex=function(n){this.zIndex_=n},t.prototype.getStyles=function(){return this.styles_},t.prototype.setStyles=function(n){this.styles_=n},t.prototype.getTitle=function(){return this.title_},t.prototype.setTitle=function(n){this.title_=n},t.prototype.getZoomOnClick=function(){return this.zoomOnClick_},t.prototype.setZoomOnClick=function(n){this.zoomOnClick_=n},t.prototype.getAverageCenter=function(){return this.averageCenter_},t.prototype.setAverageCenter=function(n){this.averageCenter_=n},t.prototype.getIgnoreHidden=function(){return this.ignoreHidden_},t.prototype.setIgnoreHidden=function(n){this.ignoreHidden_=n},t.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons_},t.prototype.setEnableRetinaIcons=function(n){this.enableRetinaIcons_=n},t.prototype.getImageExtension=function(){return this.imageExtension_},t.prototype.setImageExtension=function(n){this.imageExtension_=n},t.prototype.getImagePath=function(){return this.imagePath_},t.prototype.setImagePath=function(n){this.imagePath_=n},t.prototype.getImageSizes=function(){return this.imageSizes_},t.prototype.setImageSizes=function(n){this.imageSizes_=n},t.prototype.getCalculator=function(){return this.calculator_},t.prototype.setCalculator=function(n){this.calculator_=n},t.prototype.getBatchSizeIE=function(){return this.batchSizeIE_},t.prototype.setBatchSizeIE=function(n){this.batchSizeIE_=n},t.prototype.getClusterClass=function(){return this.clusterClass_},t.prototype.setClusterClass=function(n){this.clusterClass_=n},t.prototype.getMarkers=function(){return this.markers_},t.prototype.getTotalMarkers=function(){return this.markers_.length},t.prototype.getClusters=function(){return this.clusters_},t.prototype.getTotalClusters=function(){return this.clusters_.length},t.prototype.addMarker=function(n,t){this.pushMarkerTo_(n);t||this.redraw_()},t.prototype.addMarkers=function(n,t){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&this.pushMarkerTo_(n[i]);t||this.redraw_()},t.prototype.pushMarkerTo_=function(n){var t=this;n.getDraggable()&&google.maps.event.addListener(n,"dragend",function(){t.ready_&&(n.isAdded=!1,t.repaint())});n.isAdded=!1;this.markers_.push(n)},t.prototype.removeMarker=function(n,t){var i=this.removeMarker_(n);return!t&&i&&this.repaint(),i},t.prototype.removeMarkers=function(n,t){for(var u,i=!1,r=0;r<n.length;r++)u=this.removeMarker_(n[r]),i=i||u;return!t&&i&&this.repaint(),i},t.prototype.removeMarker_=function(n){var i=-1,t;if(this.markers_.indexOf)i=this.markers_.indexOf(n);else for(t=0;t<this.markers_.length;t++)if(n===this.markers_[t]){i=t;break}return-1!==i&&(n.setMap(null),this.markers_.splice(i,1),!0)},t.prototype.clearMarkers=function(){this.resetViewport_(!0);this.markers_=[]}
3,t.prototype.repaint=function(){var n=this.clusters_.slice();this.clusters_=[];this.resetViewport_(!1);this.redraw_();setTimeout(function(){for(var t=0;t<n.length;t++)n[t].remove()},0)},t.prototype.getExtendedBounds=function(n){var t=this.getProjection(),e=new google.maps.LatLng(n.getNorthEast().lat(),n.getNorthEast().lng()),o=new google.maps.LatLng(n.getSouthWest().lat(),n.getSouthWest().lng()),r=t.fromLatLngToDivPixel(e),i,u,f;return r.x+=this.gridSize_,r.y-=this.gridSize_,i=t.fromLatLngToDivPixel(o),i.x-=this.gridSize_,i.y+=this.gridSize_,u=t.fromDivPixelToLatLng(r),f=t.fromDivPixelToLatLng(i),n.extend(u),n.extend(f),n},t.prototype.redraw_=function(){this.createClusters_(0)},t.prototype.resetViewport_=function(n){for(var i,t=0;t<this.clusters_.length;t++)this.clusters_[t].remove();for(this.clusters_=[],t=0;t<this.markers_.length;t++)i=this.markers_[t],i.isAdded=!1,n&&i.setMap(null)},t.prototype.distanceBetweenPoints_=function(n,t){var i=(t.lat()-n.lat())*Math.PI/180,r=(t.lng()-n.lng())*Math.PI/180,u=Math.sin(i/2)*Math.sin(i/2)+Math.cos(n.lat()*Math.PI/180)*Math.cos(t.lat()*Math.PI/180)*Math.sin(r/2)*Math.sin(r/2);return 12742*Math.atan2(Math.sqrt(u),Math.sqrt(1-u))},t.prototype.isMarkerInBounds_=function(n,t){return t.contains(n.getPosition())},t.prototype.addToClosestCluster_=function(n){for(var i,u,f,e=4e4,t=null,r=0;
3r<this.clusters_.length;r++)u=(i=this.clusters_[r]).getCenter(),u&&(f=this.distanceBetweenPoints_(u,n.getPosition()),f<e&&(e=f,t=i));t&&t.isMarkerInClusterBounds(n)?t.addMarker(n):((i=new tot(this)).addMarker(n),this.clusters_.push(i))},t.prototype.createClusters_=function(n){var u=this,i;if(this.ready_){0===n&&(google.maps.event.trigger(this,"clusteringbegin",this),void 0!==this.timerRefStatic&&(clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var f=new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()),e=this.getExtendedBounds(f),r=Math.min(n+this.batchSize_,this.markers_.length),t=n;t<r;t++)i=this.markers_[t],!i.isAdded&&this.isMarkerInBounds_(i,e)&&(!this.ignoreHidden_||this.ignoreHidden_&&i.getVisible())&&this.addToClosestCluster_(i);if(r<this.markers_.length)this.timerRefStatic=window.setTimeout(function(){u.createClusters_(r)},0);else for(delete this.timerRefStatic,google.maps.event.trigger(this,"clusteringend",this),t=0;t<this.clusters_.length;
3t++)this.clusters_[t].updateIcon()}},t.CALCULATOR=function(n,t){for(var i=0,u=n.length,r=u;0!==r;)r=Math.floor(r/10),i++;return i=Math.min(i,t),{text:u.toString(),index:i,title:""}},t.withDefaultStyle=function(n){return it({textColor:"black",textSize:11,textDecoration:"none",textLineHeight:n.height,fontWeight:"bold",fontStyle:"normal",fontFamily:"Arial,sans-serif",backgroundPosition:"0 0"},n)},t.BATCH_SIZE=2e3,t.BATCH_SIZE_IE=500,t.IMAGE_PATH="../images/m",t.IMAGE_EXTENSION="png",t.IMAGE_SIZES=[53,56,66,78,90],t}(ie)}();
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.