HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wpseo-local/js/dist/wp-seo-local-frontend-1560.js
(()=>{function t(e,o,r){this.extend(t,google.maps.OverlayView),this.map_=e,this.markers_=[],this.clusters_=[],this.sizes=[53,56,66,78,90],this.styles_=[],this.ready_=!1;var i=r||{};this.gridSize_=i.gridSize||60,this.minClusterSize_=i.minimumClusterSize||2,this.maxZoom_=i.maxZoom||null,this.styles_=i.styles||[],this.imagePath_=i.imagePath||this.MARKER_CLUSTER_IMAGE_PATH_,this.imageExtension_=i.imageExtension||this.MARKER_CLUSTER_IMAGE_EXTENSION_,this.zoomOnClick_=!0,null!=i.zoomOnClick&&(this.zoomOnClick_=i.zoomOnClick),this.averageCenter_=!1,null!=i.averageCenter&&(this.averageCenter_=i.averageCenter),this.setupStyles_(),this.setMap(e),this.prevZoom_=this.map_.getZoom();var s=this;google.maps.event.addListener(this.map_,"zoom_changed",(function(){var t=s.map_.getZoom(),e=s.map_.minZoom||0,o=Math.min(s.map_.maxZoom||100,s.map_.mapTypes[s.map_.getMapTypeId()].maxZoom);t=Math.min(Math.max(t,e),o),s.prevZoom_!=t&&(s.prevZoom_=t,s.resetViewport())})),google.maps.event.addListener(this.map_,"idle",(function(){s.redraw()})),o&&(o.length||Object.keys(o).length)&&this.addMarkers(o,!1)}function e(t){this.markerClusterer_=t,this.map_=t.getMap(),this.gridSize_=t.getGridSize(),this.minClusterSize_=t.getMinClusterSize(),this.averageCenter_=t.isAverageCenter(),this.center_=null,this.markers_=[],this.bounds_=null,this.clusterIcon_=new o(this,t.getStyles(),t.getGridSize())}function o(t,e,r){t.getMarkerClusterer().extend(o,google.maps.OverlayView),this.styles_=e,this.padding_=r||0,this.cluster_=t,this.center_=null,this.map_=t.getMap(),this.div_=null,this.sums_=null,this.visible_=!1,this.setMap(this.map_)}t.prototype.MARKER_CLUSTER_IMAGE_PATH_="../images/m",t.prototype.MARKER_CLUSTER_IMAGE_EXTENSION_="png",t.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},t.prototype.onAdd=function(){this.setReady_(!0)},t.prototype.draw=function(){},t.prototype.setupStyles_=function(){if(!this.styles_.length)for(var t,e=0;t=this.sizes[e];e++)this.styles_.push({url:this.imagePath_+(e+1)+"."+this.imageExtension_,height:t,width:t})},t.prototype.fitMapToMarkers=function(){for(var t,e=this.getMarkers(),o=new google.maps.LatLngBounds,r=0;t=e[r];r++)o.extend(t.getPosition());this.map_.fitBounds(o)},t.prototype.setStyles=function(t){this.styles_=t},t.prototype.getStyles=function(){return this.styles_},t.prototype.isZoomOnClick=function(){return this.zoomOnClick_},t.prototype.isAverageCenter=function(){return this.averageCenter_},t.prototype.getMarkers=function(){return this.markers_},t.prototype.getTotalMarkers=function(){return this.markers_.length},t.prototype.setMaxZoom=function(t){this.maxZoom_=t},t.prototype.getMaxZoom=function(){return this.maxZoom_},t.prototype.calculator_=function(t,e){for(var o=0,r=t.length,i=r;0!==i;)i=parseInt(i/10,10),o++;return{text:r,index:o=Math.min(o,e)}},t.prototype.setCalculator=function(t){this.calculator_=t},t.prototype.getCalculator=function(){return this.calculator_},t.prototype.addMarkers=function(t,e){if(t.length)for(var o=0;r=t[o];o++)this.pushMarkerTo_(r);else if(Object.keys(t).length)for(var r in t)this.pushMarkerTo_(t[r]);e||this.redraw()},t.prototype.pushMarkerTo_=function(t){if(t.isAdded=!1,t.draggable){var e=this;google.maps.event.addListener(t,"dragend",(function(){t.isAdded=!1,e.repaint()}))}this.markers_.push(t)},t.prototype.addMarker=function(t,e){this.pushMarkerTo_(t),e||this.redraw()},t.prototype.removeMarker_=function(t){var e=-1;if(this.markers_.indexOf)e=this.markers_.indexOf(t);else for(var o,r=0;o=this.markers_[r];r++)if(o==t){e=r;break}return-1!=e&&(t.setMap(null),this.markers_.splice(e,1),!0)},t.prototype.removeMarker=function(t,e){var o=this.removeMarker_(t);return!(e||!o||(this.resetViewport(),this.redraw(),0))},t.prototype.removeMarkers=function(t,e){for(var o,r=t===this.getMarkers()?t.slice():t,i=!1,s=0;o=r[s];s++){var n=this.removeMarker_(o);i=i||n}if(!e&&i)return this.resetViewport(),this.redraw(),!0},t.prototype.setReady_=function(t){this.ready_||(this.ready_=t,this.createClusters_())},t.prototype.getTotalClusters=function(){return this.clusters_.length},t.prototype.getMap=function(){return this.map_},t.prototype.setMap=function(t){this.map_=t},t.prototype.getGridSize=function(){return this.gridSize_},t.prototype.setGridSize=function(t){this.gridSize_=t},t.prototype.getMinClusterSize=function(){return this.minClusterSize_},t.prototype.setMinClusterSize=function(t){this.minClusterSize_=t},t.prototype.getExtendedBounds=function(t){var e=this.getProjection(),o=new google.maps.LatLng(t.getNorthEast().lat(),t.getNorthEast().lng()),r=new google.maps.LatLng(t.getSouthWest().lat(),t.getSouthWest().lng()),i=e.fromLatLngToDivPixel(o);i.x+=this.gridSize_,i.y-=this.gridSize_;var s=e.fromLatLngToDivPixel(r);s.x-=this.gridSize_,s.y+=this.gridSize_;var n=e.fromDivPixelToLatLng(i),a=e.fromDivPixelToLatLng(s);return t.extend(n),t.extend(a),t},t.prototype.isMarkerInBounds_=function(t,e){return e.contains(t.getPosition())},t.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers_=[]},t.prototype.resetViewport=function(t){for(var e,o=0;e=this.clusters_[o];o++)e.remove();var r;for(o=0;r=this.markers_[o];o++)r.isAdded=!1,t&&r.setMap(null);this.clusters_=[]},t.prototype.repaint=function(){var t=this.clusters_.slice();this.clusters_.length=0,this.resetViewport(),this.redraw(),window.setTimeout((function(){for(var e,o=0;e=t[o];o++)e.remove()}),0)},t.prototype.redraw=function(){this.createClusters_()},t.prototype.distanceBetweenPoints_=function(t,e){if(!t||!e)return 0;var o=(e.lat()-t.lat())*Math.PI/180,r=(e.lng()-t.lng())*Math.PI/180,i=Math.sin(o/2)*Math.sin(o/2)+Math.cos(t.lat()*Math.PI/180)*Math.cos(e.lat()*Math.PI/180)*Math.sin(r/2)*Math.sin(r/2);return 2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i))*6371},t.prototype.addToClosestCluster_=function(t){for(var o,r=4e4,i=null,s=(t.getPosition(),0);o=this.clusters_[s];s++){var n=o.getCenter();if(n){var a=this.distanceBetweenPoints_(n,t.getPosition());a<r&&(r=a,i=o)}}i&&i.isMarkerInClusterBounds(t)?i.addMarker(t):((o=new e(this)).addMarker(t),this.clusters_.push(o))},t.prototype.createClusters_=function(){if(this.ready_)for(var t,e=new google.maps.LatLngBounds(this.map_.getBounds().getSouthWest(),this.map_.getBounds().getNorthEast()),o=this.getExtendedBounds(e),r=0;t=this.markers_[r];r++)!t.isAdded&&this.isMarkerInBounds_(t,o)&&this.addToClosestCluster_(t)},e.prototype.isMarkerAlreadyAdded=function(t){if(this.markers_.indexOf)return-1!=this.markers_.indexOf(t);for(var e,o=0;e=this.markers_[o];o++)if(e==t)return!0;return!1},e.prototype.addMarker=function(t){if(this.isMarkerAlreadyAdded(t))return!1;if(this.center_){if(this.averageCenter_){var e=this.markers_.length+1,o=(this.center_.lat()*(e-1)+t.getPosition().lat())/e,r=(this.center_.lng()*(e-1)+t.getPosition().lng())/e;this.center_=new google.maps.LatLng(o,r),this.calculateBounds_()}}else this.center_=t.getPosition(),this.calculateBounds_();t.isAdded=!0,this.markers_.push(t);var i=this.markers_.length;if(i<this.minClusterSize_&&t.getMap()!=this.map_&&t.setMap(this.map_),i==this.minClusterSize_)for(var s=0;s<i;s++)this.markers_[s].setMap(null);return i>=this.minClusterSize_&&t.setMap(null),this.updateIcon(),!0},e.prototype.getMarkerClusterer=function(){return this.markerClusterer_},e.prototype.getBounds=function(){for(var t,e=new google.maps.LatLngBounds(this.center_,this.center_),o=this.getMarkers(),r=0;t=o[r];r++)e.extend(t.getPosition());return e},e.prototype.remove=function(){this.clusterIcon_.remove(),this.markers_.length=0,delete this.markers_},e.prototype.getSize=function(){return this.markers_.length},e.prototype.getMarkers=function(){return this.markers_},e.prototype.getCenter=function(){return this.center_},e.prototype.calculateBounds_=function(){var t=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(t)},e.prototype.isMarkerInClusterBounds=function(t){return this.bounds_.contains(t.getPosition())},e.prototype.getMap=function(){return this.map_},e.prototype.updateIcon=function(){var t=this.map_.getZoom(),e=this.markerClusterer_.getMaxZoom();if(e&&t>e)for(var o,r=0;o=this.markers_[r];r++)o.setMap(this.map_);else if(this.markers_.length<this.minClusterSize_)this.clusterIcon_.hide();else{var i=this.markerClusterer_.getStyles().length,s=this.markerClusterer_.getCalculator()(this.markers_,i);this.clusterIcon_.setCenter(this.center_),this.clusterIcon_.setSums(s),this.clusterIcon_.show()}},o.prototype.triggerClusterClick=function(){var t=this.cluster_.getMarkerClusterer();google.maps.event.trigger(t.map_,"clusterclick",this.cluster_),t.isZoomOnClick()&&this.map_.fitBounds(this.cluster_.getBounds())},o.prototype.onAdd=function(){if(this.div_=document.createElement("DIV"),this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.cssText=this.createCss(t),this.div_.innerHTML=this.sums_.text}this.getPanes().overlayMouseTarget.appendChild(this.div_);var e=this;this.div_.addEventListener("click",(function(){e.triggerClusterClick()}))},o.prototype.getPosFromLatLng_=function(t){var e=this.getProjection().fromLatLngToDivPixel(t);return e.x-=parseInt(this.width_/2,10),e.y-=parseInt(this.height_/2,10),e},o.prototype.draw=function(){if(this.visible_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.top=t.y+"px",this.div_.style.left=t.x+"px"}},o.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},o.prototype.show=function(){if(this.div_){var t=this.getPosFromLatLng_(this.center_);this.div_.style.cssText=this.createCss(t),this.div_.style.display=""}this.visible_=!0},o.prototype.remove=function(){this.setMap(null)},o.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),this.div_.parentNode.removeChild(this.div_),this.div_=null)},o.prototype.setSums=function(t){this.sums_=t,this.text_=t.text,this.index_=t.index,this.div_&&(this.div_.innerHTML=t.text),this.useStyle()},o.prototype.useStyle=function(){var t=Math.max(0,this.sums_.index-1);t=Math.min(this.styles_.length-1,t);var e=this.styles_[t];this.url_=e.url,this.height_=e.height,this.width_=e.width,this.textColor_=e.textColor,this.anchor_=e.anchor,this.textSize_=e.textSize,this.backgroundPosition_=e.backgroundPosition},o.prototype.setCenter=function(t){this.center_=t},o.prototype.createCss=function(t){var e=[];e.push("background-image:url("+this.url_+");");var o=this.backgroundPosition_?this.backgroundPosition_:"0 0";e.push("background-position:"+o+";"),"object"==typeof this.anchor_?("number"==typeof this.anchor_[0]&&this.anchor_[0]>0&&this.anchor_[0]<this.height_?e.push("height:"+(this.height_-this.anchor_[0])+"px; padding-top:"+this.anchor_[0]+"px;"):e.push("height:"+this.height_+"px; line-height:"+this.height_+"px;"),"number"==typeof this.anchor_[1]&&this.anchor_[1]>0&&this.anchor_[1]<this.width_?e.push("width:"+(this.width_-this.anchor_[1])+"px; padding-left:"+this.anchor_[1]+"px;"):e.push("width:"+this.width_+"px; text-align:center;")):e.push("height:"+this.height_+"px; line-height:"+this.height_+"px; width:"+this.width_+"px; text-align:center;");var r=this.textColor_?this.textColor_:"black",i=this.textSize_?this.textSize_:11;return e.push("cursor:pointer; top:"+t.y+"px; left:"+t.x+"px; color:"+r+"; position:absolute; font-size:"+i+"px; font-family:Arial,sans-serif; font-weight:bold"),e.join("")},window.MarkerClusterer=t,t.prototype.addMarker=t.prototype.addMarker,t.prototype.addMarkers=t.prototype.addMarkers,t.prototype.clearMarkers=t.prototype.clearMarkers,t.prototype.fitMapToMarkers=t.prototype.fitMapToMarkers,t.prototype.getCalculator=t.prototype.getCalculator,t.prototype.getGridSize=t.prototype.getGridSize,t.prototype.getExtendedBounds=t.prototype.getExtendedBounds,t.prototype.getMap=t.prototype.getMap,t.prototype.getMarkers=t.prototype.getMarkers,t.prototype.getMaxZoom=t.prototype.getMaxZoom,t.prototype.getStyles=t.prototype.getStyles,t.prototype.getTotalClusters=t.prototype.getTotalClusters,t.prototype.getTotalMarkers=t.prototype.getTotalMarkers,t.prototype.redraw=t.prototype.redraw,t.prototype.removeMarker=t.prototype.removeMarker,t.prototype.removeMarkers=t.prototype.removeMarkers,t.prototype.resetViewport=t.prototype.resetViewport,t.prototype.repaint=t.prototype.repaint,t.prototype.setCalculator=t.prototype.setCalculator,t.prototype.setGridSize=t.prototype.setGridSize,t.prototype.setMaxZoom=t.prototype.setMaxZoom,t.prototype.onAdd=t.prototype.onAdd,t.prototype.draw=t.prototype.draw,e.prototype.getCenter=e.prototype.getCenter,e.prototype.getSize=e.prototype.getSize,e.prototype.getMarkers=e.prototype.getMarkers,o.prototype.onAdd=o.prototype.onAdd,o.prototype.draw=o.prototype.draw,o.prototype.onRemove=o.prototype.onRemove,Object.keys=Object.keys||function(t){var e=[];for(var o in t)t.hasOwnProperty(o)&&e.push(o);return e}})(),(()=>{var t=new Object;window.wpseo_map_init=function(){if(window.wpseoMapOptions)for(var t in window.wpseoMapOptions)window.wpseoMapOptions.hasOwnProperty(t)&&(window.wpseoMapOptions[t].map=window.wpseo_show_map(window.wpseoMapOptions[t].location_data,t,...window.wpseoMapOptions[t].mapVars),window.wpseoMapOptions[t].directionsDisplay=window.wpseo_get_directions(window.wpseoMapOptions[t].map,window.wpseoMapOptions[t].location_data,t,...window.wpseoMapOptions[t].directionVars))},window.wpseo_show_map=function(e,o,r,i,s,n,a,p,l,h,d){var u=new google.maps.LatLngBounds,g=new google.maps.LatLng(r,i);t[o]=[];var c={zoom:s,minZoom:1,mapTypeControl:!0,zoomControl:a,streetViewControl:!0,mapTypeId:google.maps.MapTypeId[n.toUpperCase()],scrollwheel:a&&window.innerWidth>480};if(checkForTouch()?c.gestureHandling=p?"auto":"none":c.draggable=p,-1==s){for(var _=0;_<e.length;_++){var m=new google.maps.LatLng(e[_].lat,e[_].long);u.extend(m)}g=u.getCenter()}c.center=g;try{var y=new google.maps.Map(document.getElementById("map_canvas"+(0!=o?"_"+o:"")),c)}catch(t){return}-1===s&&y.fitBounds(u);var w=new google.maps.InfoWindow({content:f});for(_=0;_<e.length;_++){var f=getInfoBubbleText(e[_].name,e[_].address,e[_].url,e[_].self_url),v=(m=new google.maps.LatLng(e[_].lat,e[_].long),e[_].custom_marker),M=e[_].categories;t[o][_]=new google.maps.Marker({position:m,center:g,map:y,map_id:o,html:f,draggable:Boolean(h),icon:void 0!==v&&v||"",categories:void 0!==M&&M||""})}for(_=0;_<t[o].length;_++){var k=t[o][_];google.maps.event.addListener(k,"click",(function(){w.setContent(this.html),w.open(y,this)})),google.maps.event.addListener(w,"closeclick",(function(){y.setCenter(this.getPosition())})),google.maps.event.addListener(k,"dragend",(function(t){document.getElementById("wpseo_coordinates_lat")&&document.getElementById("wpseo_coordinates_long")&&(document.getElementById("wpseo_coordinates_lat").value=t.latLng.lat(),document.getElementById("wpseo_coordinates_long").value=t.latLng.lng()),document.getElementById("location_coords_lat")&&document.getElementById("location_coords_long")&&(document.getElementById("location_coords_lat").value=t.latLng.lat(),document.getElementById("location_coords_long").value=t.latLng.lng())}))}return d&&new MarkerClusterer(y,t[o],{imagePath:window.wpseo_local_data.marker_cluster_image_path}),1==t[o].length&&l&&(w.setContent(t[o][0].html),w.open(y,k)),y},window.checkForTouch=function(){return!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i))},window.wpseo_get_directions=function(t,e,o,r){var i="";return r&&e.length>=1&&((i=new google.maps.DirectionsRenderer).setMap(t),i.setPanel(document.getElementById("directions"+(0!=o?"_"+o:"")))),i},window.getInfoBubbleText=function(t,e,o,r){var i='<div class="wpseo-info-window-wrapper">',s=!1;return null!=r&&""!=window.wpseo_local_data.has_multiple_locations&&r!=window.location.href&&(s=!0),s&&(i+='<a href="'+r+'">'),i+="<strong>"+t+"</strong>",s&&(i+="</a>"),i+="<br>",(i+=e)+"</div>"},window.wpseo_calculate_route=function(e,o,r,i,s){null!=document.getElementById("wpseo-sl-coords-lat")&&(r=document.getElementById("wpseo-sl-coords-lat").value),null!=document.getElementById("wpseo-sl-coords-long")&&(i=document.getElementById("wpseo-sl-coords-long").value);var n=document.getElementById("origin"+(0!=s?"_"+s:"")).value+" "+window.wpseo_local_data.default_country,a=google.maps.UnitSystem.METRIC;"IMPERIAL"===window.wpseo_local_data.unit_system&&(a=google.maps.UnitSystem.IMPERIAL);for(var p=0;p<t.length;p++)t[p].setMap(null);if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){var l="https://maps.google.com/maps?saddr="+escape(n)+"&daddr="+r+","+i;return window.open(l,"_blank"),!1}var h={origin:n,destination:new google.maps.LatLng(r,i),provideRouteAlternatives:!0,optimizeWaypoints:!0,travelMode:google.maps.DirectionsTravelMode.DRIVING,unitSystem:a};(new google.maps.DirectionsService).route(h,(function(t,e){e==google.maps.DirectionsStatus.OK?o.setDirections(t):e==google.maps.DirectionsStatus.ZERO_RESULTS&&document.getElementById("wpseo-noroute").setAttribute("style","clear: both; display: block;")}))},window.wpseo_sl_show_route=function(t,e,o){$=jQuery,$(".wpseo-sl-coords").remove();var r='<input type="hidden" class="wpseo-sl-coords" id="wpseo-sl-coords-lat" value="'+e+'">';r+='<input type="hidden" class="wpseo-sl-coords" id="wpseo-sl-coords-long" value="'+o+'">',$("#wpseo-directions-form").append(r).submit(),$("#wpseo-directions-wrapper").slideUp((function(){$(this).insertAfter($(t).parents(".wpseo-result")).slideDown()}))},window.wpseo_detect_location=function(t,e){var o=document.getElementById(e);if(null==o&&(o=document.getElementById("origin")),navigator.geolocation&&null!=o){var r=t.target||t.srcElement,i=r.getAttribute("src"),s=r.getAttribute("alt"),n=r.getAttribute("data-loading-text");r.setAttribute("src",window.wpseo_local_data.adminurl+"images/loading.gif"),r.setAttribute("alt",n),navigator.geolocation.getCurrentPosition((function(t){var e=new google.maps.Geocoder,n={lat:parseFloat(t.coords.latitude),lng:parseFloat(t.coords.longitude)};e.geocode({location:n},(function(t,e){e===google.maps.GeocoderStatus.OK&&t.length>0&&""==o.value&&(o.value=t[0].formatted_address),r.setAttribute("src",i),r.setAttribute("alt",s)}))}),(function(t){var e="[wpseo] Error detecting location: ";switch(t.code){case t.TIMEOUT:e+="Timeout";break;case t.POSITION_UNAVAILABLE:e+="Position unavailable";break;case t.PERMISSION_DENIED:e+="Permission denied";break;case t.UNKNOWN_ERROR:e+="Unknown error"}"undefined"!=typeof console&&console.log(e),r.setAttribute("src",i),r.setAttribute("alt",s)}))}},window.wpseo_current_location_buttons=document.getElementsByClassName("wpseo_use_current_location");for(var e=0;e<wpseo_current_location_buttons.length;e++)wpseo_current_location_buttons[e].addEventListener("click",(function(t){var e=this.dataset.target;wpseo_detect_location(t,e)}),!1);window.filterMarkers=function(o,r){for(e=0;e<t[r].length;e++)marker=t[r][e],marker.categories.hasOwnProperty(o)||0===o.length?marker.setVisible(!0):marker.setVisible(!1)}})();