!function(o,e){"use strict";function n(){var n=Math.max(e.documentElement.clientWidth,o.innerWidth||0),r=new google.maps.LatLng(parseFloat(a.map.lat),parseFloat(a.map.lng)),s={zoomControl:!a.controls.zoomControl,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_CENTER},mapTypeControl:!a.controls.mapTypeControl,streetViewControl:!a.controls.streetViewControl,scrollwheel:!a.mobile.scrollwheel,draggable:n>480||!t(),center:r,zoom:parseInt(a.map.zoom),mapTypeId:google.maps.MapTypeId[a.map.type],mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU,position:google.maps.ControlPosition.TOP_LEFT},styles:a.map.styles,fullscreenControl:!a.controls.fullscreenControl,fullscreenControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},gestureHandling:a.mobile.gestureHandling||"auto"},m=new google.maps.Map(i,s);if(1===a.marker.enabled){var p=new google.maps.Marker({position:r,map:m,optimized:!1,title:a.marker.title,icon:a.marker.file||a.marker.color||""});if("NONE"!==a.marker.animation&&p.setAnimation(google.maps.Animation[a.marker.animation]),1===a.info_window.enabled){var g=new google.maps.InfoWindow({content:a.info_window.text});google.maps.event.addListener(m,"click",function(){g.close()})}}1===a.marker.enabled&&1===a.info_window.enabled&&(google.maps.event.addListener(p,"click",function(){g.open(m,p),p.setAnimation(null)}),1===a.info_window.state&&o.setTimeout(function(){g.open(m,p),p.setAnimation(null)},2e3));var d;google.maps.event.addDomListener(o,"resize",function(){d&&clearTimeout(d),d=o.setTimeout(function(){m.setCenter(r)},300)}),l.map=m,l.marker=p,l.infoWindow=g,o.dispatchEvent(new Event("agm.loaded"))}function t(){return"ontouchstart"in o||navigator.maxTouchPoints}var a=o._agmOpt,l=o.AGM={},i=e.getElementById("agm-canvas");"undefined"!=typeof i&&i&&("object"==typeof google&&google.maps?google.maps.event.addDomListener(o,"load",n):(i.innerHTML='

Failed to load Google Map.
Please try again.

',i.style.height="auto"))}(window,document);