1function MarkerClusterer(n,t,i){var r,u;this.extend(MarkerClusterer,google.maps.OverlayView);this.map_=n;this.markers_=[];this.clusters_=[];this.sizes=[53,56,66,78,90];this.styles_=[];this.ready_=!1;r=i||{};this.gridSize_=r.gridSize||60;this.minClusterSize_=r.minimumClusterSize||2;this.maxZoom_=r.maxZoom||null;this.styles_=r.styles||[];this.imagePath_=r.imagePath||this.MARKER_CLUSTER_IMAGE_PATH_;this.imageExtension_=r.imageExtension||this.MARKER_CLUSTER_IMAGE_EXTENSION_;this.zoomOnClick_=!0;r.zoomOnClick!=undefined&&(this.zoomOnClick_=r.zoomOnClick);this.averageCenter_=!1;r.averageCenter!=undefined&&(this.averageCenter_=r.averageCenter);this.setupStyles_();this.setMap(n);this.prevZoom_=this.map_.getZoom();u=this;google.maps.event.addListener(this.map_,"zoom_changed",function(){var n=u.map_.getZoom();u.prevZoom_!=n&&(u.prevZoom_=n,u.resetViewport())});google.maps.event.addListener(this.map_,"idle",function(){u.redraw()});t&&t.length&&this.addMarkers(t,!1)}function Cluster(n){this.markerClusterer_=n;this.map_=n.getMap();this.gridSize_=n.getGridSize();this.minClusterSize_=n.getMinClusterSize();this.averageCenter_=n.isAverageCenter();this.center_=null;this.markers_=[];this.bounds_=null;this.clusterIcon_=new ClusterIcon(this,n.getStyles(),n.getGridSize())}function ClusterIcon(n,t,i){n.getMarkerClusterer().extend(ClusterIcon,google.maps.OverlayView);this.styles_=t;this.padding_=i||0;this.cluster_=n;this.center_=null;this.map_=n.getMap();this.div_=null;this.sums_=null;this.visible_=!1;this.setMap(this.map_)}MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_PATH_="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/images/m";MarkerClusterer.prototype.MARKER_CLUSTER_IMAGE_EXTENSION_="png";MarkerClusterer.prototype.extend=function(n,t){return function(n){for(var t in n.prototype)this.prototype[t]=n.prototype[t];return this}.apply(n,[t])};MarkerClusterer.prototype.onAdd=function(){this.setReady_(!0)};MarkerClusterer.prototype.draw=function(){};MarkerClusterer.prototype.setupStyles_=function(){if(!this.styles_.length)for(var n=0,t;t=this.sizes[n];n++)this.styles_.push({url:this.imagePath_+(n+1)+"."+this.imageExtension_,height:t,width:t})};MarkerClusterer.prototype.fitMapToMarkers=function(){for(var r=this.getMarkers(),t=new google.maps.LatLngBounds,i,n=0;i=r[n];n++)t.extend(i.getPosition());this.map_.fitBounds(t)};MarkerClusterer.prototype.setStyles=function(n){this.styles_=n};
1MarkerClusterer.prototype.getStyles=function(){return this.styles_};MarkerClusterer.prototype.isZoomOnClick=function(){return this.zoomOnClick_};MarkerClusterer.prototype.isAverageCenter=function(){return this.averageCenter_};MarkerClusterer.prototype.getMarkers=function(){return this.markers_};MarkerClusterer.prototype.getTotalMarkers=function(){return this.markers_.length};MarkerClusterer.prototype.setMaxZoom=function(n){this.maxZoom_=n};MarkerClusterer.prototype.getMaxZoom=function(){return this.maxZoom_};MarkerClusterer.prototype.calculator_=function(n,t){for(var i=0,u=n.length,r=u;r!==0;)r=parseInt(r/10,10),i++;return i=Math.min(i,t),{text:u,index:i}};MarkerClusterer.prototype.setCalculator=function(n){this.calculator_=n};MarkerClusterer.prototype.getCalculator=function(){return this.calculator_};MarkerClusterer.prototype.addMarkers=function(n,t){for(var i=0,r;r=n[i];i++)this.pushMarkerTo_(r);t||this.redraw()};MarkerClusterer.prototype.pushMarkerTo_=function(n){if(n.isAdded=!1,n.draggable){var t=this;google.maps.event.addListener(n,"dragend",function(){n.isAdded=!1;t.repaint()})}this.markers_.push(n)};MarkerClusterer.prototype.addMarker=function(n,t){this.pushMarkerTo_(n);t||this.redraw()};MarkerClusterer.prototype.removeMarker_=function(n){var t=-1,i,r;if(this.markers_.indexOf)t=this.markers_.indexOf(n);else for(i=0;r=this.markers_[i];i++)if(r==n){t=i;break}return t==-1?!1:(n.setMap(null),this.markers_.splice(t,1),!0)};MarkerClusterer.prototype.removeMarker=function(n,t){var i=this.removeMarker_(n);return!t&&i?(this.resetViewport(),this.redraw(),!0):!1};MarkerClusterer.prototype.removeMarkers=function(n,t){for(var i=!1,u,f,r=0;u=n[r];r++)f=this.removeMarker_(u),i=i||f;if(!t&&i)return this.resetViewport(),this.redraw(),!0};MarkerClusterer.prototype.setReady_=function(n){this.ready_||(this.ready_=n,this.createClusters_())};MarkerClusterer.prototype.getTotalClusters=function(){return this.clusters_.length};MarkerClusterer.prototype.getMap=function(){return this.map_};MarkerClusterer.prototype.setMap=function(n){this.map_=n};MarkerClusterer.prototype.getGridSize=function(){return this.gridSize_};MarkerClusterer.prototype.setGridSize=function(n){this.gridSize_=n};MarkerClusterer.prototype.getMinClusterSize=function(){return this.minClusterSize_};MarkerClusterer.prototype.setMinClusterSize=function(n){this.minClusterSize_=n};MarkerClusterer.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
1().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};MarkerClusterer.prototype.isMarkerInBounds_=function(n,t){return t.contains(n.getPosition())};MarkerClusterer.prototype.clearMarkers=function(){this.resetViewport(!0);this.markers_=[]};MarkerClusterer.prototype.resetViewport=function(n){for(var r,i,t=0;r=this.clusters_[t];t++)r.remove();for(t=0;i=this.markers_[t];t++)i.isAdded=!1,n&&i.setMap(null);this.clusters_=[]};MarkerClusterer.prototype.repaint=function(){var n=this.clusters_.slice();this.clusters_.length=0;this.resetViewport();this.redraw();window.setTimeout(function(){for(var t=0,i;i=n[t];t++)i.remove()},0)};MarkerClusterer.prototype.redraw=function(){this.createClusters_()};MarkerClusterer.prototype.distanceBetweenPoints_=function(n,t){if(!n||!t)return 0;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),f=2*Math.atan2(Math.sqrt(u),Math.sqrt(1-u));return 6371*f};MarkerClusterer.prototype.addToClosestCluster_=function(n){for(var e=4e4,i=null,o=n.getPosition(),u,f,t,r=0;
1t=this.clusters_[r];r++)u=t.getCenter(),u&&(f=this.distanceBetweenPoints_(u,n.getPosition()),f<e&&(e=f,i=t));i&&i.isMarkerInClusterBounds(n)?i.addMarker(n):(t=new Cluster(this),t.addMarker(n),this.clusters_.push(t))};MarkerClusterer.prototype.createClusters_=function(){var i,r,t,n;if(this.ready_)for(i=new google.maps.LatLngBounds(this.map_.getBounds().getSouthWest(),this.map_.getBounds().getNorthEast()),r=this.getExtendedBounds(i),t=0;n=this.markers_[t];t++)!n.isAdded&&this.isMarkerInBounds_(n,r)&&this.addToClosestCluster_(n)};Cluster.prototype.isMarkerAlreadyAdded=function(n){if(this.markers_.indexOf)return this.markers_.indexOf(n)!=-1;for(var t=0,i;i=this.markers_[t];t++)if(i==n)return!0;return!1};Cluster.prototype.addMarker=function(n){var t,r;if(this.isMarkerAlreadyAdded(n))return!1;if(this.center_){if(this.averageCenter_){var i=this.markers_.length+1,u=(this.center_.lat()*(i-1)+n.getPosition().lat())/i,f=(this.center_.lng()*(i-1)+n.getPosition().lng())/i;this.center_=new google.maps.LatLng(u,f);this.calculateBounds_()}}else this.center_=n.getPosition(),this.calculateBounds_();if(n.isAdded=!0,this.markers_.push(n),t=this.markers_.length,t<this.minClusterSize_&&n.getMap()!=this.map_&&n.setMap(this.map_),t==this.minClusterSize_)for(r=0;r<t;r++)this.markers_[r].setMap(null);return t>=this.minClusterSize_&&n.setMap(null),this.updateIcon(),!0};Cluster.prototype.getMarkerClusterer=function(){return this.markerClusterer_};Cluster.prototype.getBounds=function(){for(var t=new google.maps.LatLngBounds(this.center_,this.center_),r=this.getMarkers(),i,n=0;i=r[n];n++)t.extend(i.getPosition());return t};Cluster.prototype.remove=function(){this.clusterIcon_.remove();this.markers_.length=0;delete this.markers_};Cluster.prototype.getSize=function(){return this.markers_.length};Cluster.prototype.getMarkers=function(){return this.markers_};Cluster.prototype.getCenter=function(){return this.center_};Cluster.prototype.calculateBounds_=function(){var n=new google.maps.LatLngBounds(this.center_,this.center_);this.bounds_=this.markerClusterer_.getExtendedBounds(n)};Cluster.prototype.isMarkerInClusterBounds=function(n){return this.bounds_.contains(n.getPosition())};Cluster.prototype.getMap=function(){return this.map_};Cluster.prototype.updateIcon=function(){var f=this.map_.getZoom(),t=this.markerClusterer_.getMaxZoom(),n,i,r,u;if(t&&f>t){for(n=0;i=this.markers_[n];n++)i.setMap(this.map_);return}if(this.markers_.length<this.minClusterSize_){this.clusterIcon_.hide();return}r=this.markerClusterer_.getStyles().length;u=this.markerClusterer_.getCalculator()(this.markers_,r);this.clusterIcon_.setCenter(this.center_);this.clusterIcon_.setSums(u);this.clusterIcon_.show()};ClusterIcon.prototype.triggerClusterClick=function(){var n=this.cluster_.getMarkerClusterer();google.maps.event.trigger(n,"clusterclick",this.cluster_);n.isZoomOnClick()&&this.map_.fitBounds(this.cluster_.getBounds())};ClusterIcon.prototype.onAdd=function(){var n,t,i;this.div_=document.createElement("DIV");this.visible_&&(n=this.getPosFromLatLng_(this.center_),this.div_.style.cssText=this.createCss(n),this.div_.innerHTML=this.sums_.text);t=this.getPanes();t.overlayMouseTarget.appendChild(this.div_);i=this;google.maps.event.addDomListener(this.div_,"click",function(){i.triggerClusterClick()})};ClusterIcon.prototype.getPosFromLatLng_=function(n){var t=this.getProjection().fromLatLngToDivPixel(n);return t.x-=parseInt(this.width_/2,10),t.y-=parseInt(this.height_/2,10),t};ClusterIcon.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"}};ClusterIcon.prototype.hide=function(){this.div_&&(this.div_.style.display="none");this.visible_=!1};ClusterIcon.prototype.show=function(){if(this.div_){var n=this.getPosFromLatLng_(this.center_);this.div_.style.cssText=this.createCss(n);this.div_.style.display=""}this.visible_=!0};ClusterIcon.prototype.remove=function(){this.setMap(null)};ClusterIcon.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),this.div_.parentNode.removeChild(this.div_),this.div_=null)};ClusterIcon.prototype.setSums=function(n){this.sums_=n;this.text_=n.text;this.index_=n.index;this.div_&&(this.div_.innerHTML=n.text);this.useStyle()};ClusterIcon.prototype.useStyle=function(){var t=Math.max(0,this.sums_.index-1),n;t=Math.min(this.styles_.length-1,t);n=this.styles_[t];this.url_=n.url;this.height_=n.height;this.width_=n.width;this.textColor_=n.textColor;
1this.anchor_=n.anchor;this.textSize_=n.textSize;this.textFont_=n.textFont;this.textWeight_=n.textWeight;this.backgroundPosition_=n.backgroundPosition};ClusterIcon.prototype.setCenter=function(n){this.center_=n};ClusterIcon.prototype.createCss=function(n){var t=[],i;t.push("background-image:url("+this.url_+");");i=this.backgroundPosition_?this.backgroundPosition_:"0 0";t.push("background-position:"+i+";");typeof this.anchor_=="object"?(typeof this.anchor_[0]=="number"&&this.anchor_[0]>0&&this.anchor_[0]<this.height_?t.push("height:"+(this.height_-this.anchor_[0])+"px; padding-top:"+this.anchor_[0]+"px;"):t.push("height:"+this.height_+"px; line-height:"+this.height_+"px;"),typeof this.anchor_[1]=="number"&&this.anchor_[1]>0&&this.anchor_[1]<this.width_?t.push("width:"+(this.width_-this.anchor_[1])+"px; padding-left:"+this.anchor_[1]+"px;"):t.push("width:"+this.width_+"px; text-align:center;")):t.push("height:"+this.height_+"px; line-height:"+this.height_+"px; width:"+this.width_+"px; text-align:center;");var r=this.textColor_?this.textColor_:"black",u=this.textSize_?this.textSize_:11,f=this.textFont_?this.textFont_:"Arial",e=this.textWeight_?this.textWeight_:"normal";return t.push("cursor:pointer; top:"+n.y+"px; left:"+n.x+"px; color:"+r+"; position:absolute;z-index:20000; font-size:"+u+"px; font-family:"+f+"; font-weight:"+e+";"),t.join("")};window.MarkerClusterer=MarkerClusterer;MarkerClusterer.prototype.addMarker=MarkerClusterer.prototype.addMarker;MarkerClusterer.prototype.addMarkers=MarkerClusterer.prototype.addMarkers;MarkerClusterer.prototype.clearMarkers=MarkerClusterer.prototype.clearMarkers;MarkerClusterer.prototype.fitMapToMarkers=MarkerClusterer.prototype.fitMapToMarkers;MarkerClusterer.prototype.getCalculator=MarkerClusterer.prototype.getCalculator;MarkerClusterer.prototype.getGridSize=MarkerClusterer.prototype.getGridSize;MarkerClusterer.prototype.getExtendedBounds=MarkerClusterer.prototype.getExtendedBounds;MarkerClusterer.prototype.getMap=MarkerClusterer.prototype.getMap;MarkerClusterer.prototype.getMarkers=MarkerClusterer.prototype.getMarkers;MarkerClusterer.prototype.getMaxZoom=MarkerClusterer.prototype.getMaxZoom;MarkerClusterer.prototype.getStyles=MarkerClusterer.prototype.getStyles;MarkerClusterer.prototype.getTotalClusters=MarkerClusterer.prototype.getTotalClusters;MarkerClusterer.prototype.getTotalMarkers=MarkerClusterer.prototype.getTotalMarkers;MarkerClusterer.prototype.redraw=MarkerClusterer.prototype.redraw;MarkerClusterer.prototype.removeMarker=MarkerClusterer.prototype.removeMarker;MarkerClusterer.prototype.removeMarkers=MarkerClusterer.prototype.removeMarkers;MarkerClusterer.prototype.resetViewport=MarkerClusterer.prototype.resetViewport;MarkerClusterer.prototype.repaint=MarkerClusterer.prototype.repaint;MarkerClusterer.prototype.setCalculator=MarkerClusterer.prototype.setCalculator;MarkerClusterer.prototype.setGridSize=MarkerClusterer.prototype.setGridSize;MarkerClusterer.prototype.setMaxZoom=MarkerClusterer.prototype.setMaxZoom;MarkerClusterer.prototype.onAdd=MarkerClusterer.prototype.onAdd;MarkerClusterer.prototype.draw=MarkerClusterer.prototype.draw;Cluster.prototype.getCenter=Cluster.prototype.getCenter;Cluster.prototype.getSize=Cluster.prototype.getSize;Cluster.prototype.getMarkers=Cluster.prototype.getMarkers;ClusterIcon.prototype.onAdd=ClusterIcon.prototype.onAdd;ClusterIcon.prototype.draw=ClusterIcon.prototype.draw;ClusterIcon.prototype.onRemove=ClusterIcon.prototype.onRemove;var initMapInListMode,hoveredCruise;typeof $!="undefined"&&$(function(){var n={},t=window.mapkit;t.init({authorizationCallback:function(n){n(window.MapKitToken)}});n["00000000-0000-0000-0000-00000000000"]="hotel";n["52bafeb2-d32b-46e2-88c9-67ae564df1d6"]="sejour";n["a9f1f678-5d91-4437-b87b-e08a6d2161da"]="village_vacances";
1n["5e305462-69b3-4fd6-9394-98fa4a0f97ac"]="camping";n["fdfbac6f-4422-4046-b394-f9ff5193623b"]="hotel";n["3cdf2761-22a8-4353-b96d-6a06122d4ed7"]="locatif";n["2319d9cb-74c6-4ed8-8a16-c01ecc9b4987"]="village_vacances";n["ea9cd2e5-76aa-45c8-8b77-38502764fddb"]="loisir_sportif";n["2ca4399e-35e9-45c3-82ad-9a47d374ce87"]="FM";n["6caf58a6-e775-4309-8bdd-b01f8b1ba437"]="loisir_culturel";n["ea652fed-bfd4-4139-a656-0693e97c3ab4"]="monuments";n["aa2634c9-08d1-43d8-af7a-0e9c7c8c1e22"]="grand_espaces";n["ec425e81-2f03-4b69-82bf-96b8af01a12c"]="itineraire";n["4c6d4dfe-fef4-4d24-b859-455a28532625"]="commerce";n["9911be18-992c-4f59-9cf7-930773788a6c"]="transport";n["35f0db92-f9d0-4304-bd1a-f9b845301f4c"]="organisme";n["68a3bd2a-b1bf-497b-9f98-92c87bf6efd6"]="brochure";n["383e44e0-0599-4301-8701-c281b5ce8cf2"]="actus";n["8e9c4de6-a19d-4751-aa3c-3812c3f6efc7"]="degustation";n["3c98efdd-5edf-44ff-bdfa-c40efe47678b"]="restaurant";n["5a149586-6bcb-4935-b909-9818c955b044"]="poi";n["aac999d9-9930-4ba4-a9e4-c8503fa321e5"]="seminaire";n["07e7f7d5-6625-4d0b-a0f5-f635ee65cac4"]="stage";n["5027d2ef-c7ba-41a9-9bcf-adde39137773"]="sejour";n["7e76c254-9b34-4c2e-bd2d-84bd649c65f2"]="croisiere";n.activite="activite";initMapInListMode=function(){$(".map-container").each(function(){var t,f,r,i=$(this),u=null;t=window.listMapResult;typeof t=="undefined"&&(t={Ois:[]});f=function(i){var u,f,r=[],o=t.Ois.length,e;typeof window.oiLat!="undefined"&&(window.oiLat!==0||window.oiLng!==0)&&(f=window.oiIsActivity===!0?n.activite:window.oiIsRestaurant===!0?n["3c98efdd-5edf-44ff-bdfa-c40efe47678b"]:n["00000000-0000-0000-0000-00000000000"],oiSpan=new mapkit.CoordinateSpan(.167647972,.354985255),oiRegion=new mapkit.CoordinateRegion(new mapkit.Coordinate(Number(window.oiLat),Number(window.oiLng)),oiSpan),u=new mapkit.MarkerAnnotation(new mapkit.Coordinate(Number(window.oiLat),Number(window.oiLng)),{clusteringIdentifier:"oi-main",color:"#326cfb",glyphImage:{1:"https://static.elloha.com/MapKit/pin-"+f+".png"}}),i.showItems([u],{minimumSpan:oiSpan}));typeof window.searchLat!="undefined"&&(window.searchLat!==0||window.searchLng!==0)&&(oiSpan=new mapkit.CoordinateSpan(.167647972,.354985255),oiRegion=new mapkit.CoordinateRegion(new mapkit.Coordinate(Number(window.searchLat),Number(window.searchLng)),oiSpan),annotationDetailSearch=new mapkit.MarkerAnnotation(new mapkit.Coordinate(Number(window.searchLat),Number(window.searchLng)),{clusteringIdentifier:"oi-search",color:"#326cfb"}),i.showItems([annotationDetailSearch],{minimumSpan:oiSpan}));$.each(t.Ois,function(){var t=this,u={calloutElementForAnnotation:function(n){var l,u,f,e,a,v,o,s,h,y,c,p,r,i,w;if(l=window.isCrossSelling?typeof window.ProductDetailUrlForCrossSelling!="undefined"?window.ProductDetailUrlForCrossSelling.replace("___CODE___",t.Code):"#":typeof window.ProductDetailUrl!="undefined"?window.ProductDetailUrl.replace("___CODE___",t.Code):"#",f=document.createElement("a"),f.href=l=l+"?zoom="+n.coordinate.latitude+" "+n.coordinate.Longitude+"|9",e=f.appendChild(document.createElement("div")),e.className="infowindow-w clearfix c-pointer",a=e.appendChild(document.createElement("div")),a.className="infowindow-img-w",v=a.appendChild(document.createElement("img")),v.src=t.ThumbnailUrl,v.alt=t.Name,o=e.appendChild(document.createElement("div")),o.className="infowindow-text-w",s=o.appendChild(document.createElement("div")),s.className="infowindow-text-title",h=s.appendChild(document.createElement("div")),h.className="color-gray text-cut",h.innerHTML=t.Type,t.HasPromotion===!0&&(y=h.appendChild(document.createElement("span")),y.className="promo",y.innerHTML=window.jsRes.discount),c=s.appendChild(document.createElement("h2")),c.className="v-padding-5",c.innerHTML=t.Name,t.Rating>0)for(p=c.appendChild(document.createElement("sup")),u=0;u<t.Rating;u=u+1)p.innerHTML+='<i class="fa fa-'+(t.TypeCode===27?"certificate":"star")+'"><\/i>';return t.PriceFrom!==null&&t.PriceFrom!==""&&t.PriceFromWithCurrency!==""&&(r=o.appendChild(document.createElement("div")),r.className="btn-warning",r.innerHTML="<small>"+window.jsRes.fromPrice+"<\/small><br>",t.HasPromotion===!0&&t.PriceFromWithoutPromotion<=t.PriceFrom&&t.PriceFromWithoutPromotion>0&&(r.innerHTML+='<span class="striked price">'+t.PriceFromWithoutPromotionWithCurrency+"<\/span> "),r.innerHTML+='<span class="price'+(t.HasPromotion===!0?" red":"")+'">'+t.PriceFromWithCurrency+'<\/span><br> <small class="color-inherit">'+(t.HasRooms?window.jsRes.perRoom+" "+window.jsRes.forMinus+" "+(window.isCrossSelling?window.DurationResumeCrossSelling:window.DurationResume):t.IsAccommodation?window.jsRes.perAccommodation+" "+window.jsRes.forMinus+" "+(window.isCrossSelling?window.DurationResumeCrossSelling:window.DurationResume):window.jsRes.forMinus+" "+window.PersonNumber+" "+window.jsRes.person)+"<\/small>"),$(".map-filters-w").length>0&&$(".product",".map-filters-w").length>0&&(i=$(".product[data-action*="+t.Code+"]",".map-filters-w"),$(".product",".map-filters-w").removeClass("product-selected"),i.length>0&&(w=$("div.map-filters-w div.map-filters").scrollTop(),i.addClass("product-selected"),$("div.map-filters-w div.map-filters").slimScroll({scrollTo:i.position().top+w+"px",animate:600}))),typeof i=="object"&&n.addEventListener("deselect",function(){i.removeClass("product-selected")}),f}},f=t.IsActivity===!0?n.activite:t.IsRestaurant===!0?n["3c98efdd-5edf-44ff-bdfa-c40efe47678b"]:n["00000000-0000-0000-0000-00000000000"],e=new mapkit.MarkerAnnotation(new mapkit.Coordinate(Number(t.Latitude),Number(t.Longitude)),{color:"#000",glyphImage:{1:"https://static.elloha.com/MapKit/pin-"+f+".png"},clusteringIdentifier:"oi",callout:u});
1r.push(e);i.annotationForCluster=function(n){n.clusteringIdentifier==="oi"&&(n.color="#1F6184")}});typeof window.pinLat!="undefined"&&typeof window.pinLng!="undefined"&&(window.pinLat!==0||window.pinLng!==0)&&(e={calloutElementForAnnotation:function(){var n=document.createElement("div"),t,i;return n.className="container-CDE",t=n.appendChild(document.createElement("div")),t.className="bg-cde",i=t.appendChild(document.createElement("img")),i.src="https://static.elloha.com/CiteDeLespace/logo-citedelespace.png",n}},annotationPin=new mapkit.MarkerAnnotation(new mapkit.Coordinate(Number(window.pinLat),Number(window.pinLng)),{color:"#DA1274",glyphImage:{1:"https://static.elloha.com/MapKit/pin-cde.png"},callout:e}),r.push(annotationPin));i.showItems(r)};itemCount=t.Ois.length;r=function(){var t,r,f=$(".div-options-tab-mob"),e=i.parents(".modal-body").length>0,o=$(window).width()<=768,n=e?$(window).height()*.6:$(document).height()-i.offset().top;f.is(":visible")&&(n=n-f.height());typeof $CruiseContainer!="undefined"&&(t=n,o&&(t=n*.5,n=n*.5),$CruiseContainer.height(t),$CruiseContainer.slimScroll({alwaysVisible:!1,distance:3,height:t,railVisible:!0}));i.height(n);$(".map-filters-w").height(n-20);$(".map-filters").slimScroll({width:"100%",alwaysVisible:!1,distance:3,height:"auto",railVisible:!0});u!==null&&(r=setTimeout(function(){var n;if(clearTimeout(r),n=window.location.href.indexOf("ShowMap")!==-1&&$("input:hidden#CurrentZoom").length>0&&$("input:hidden#CurrentZoom").val()!=="",n){var t=$("input:hidden#CurrentZoom").val().split("|"),i=Number(t[1]),u=t[0].split(" ");$("input:hidden#CurrentZoom").val("")}},300))};$(window).resize(function(){r()});u=new mapkit.Map(i.attr("id"));f(u);r()})};($("#AppleMapListWithMap").length>0||$("#AppleMap").length>0)&&initMapInListMode();$("#DetailMapContainer").length>0&&function(){var i,r,u,t,f=$("#DetailMapContainer"),o=window.oiIsActivity===!0?n.activite:window.oiIsRestaurant===!0?n["3c98efdd-5edf-44ff-bdfa-c40efe47678b"]:n["00000000-0000-0000-0000-00000000000"],e=function(){var n,e=$("#MapDialog .modal-content").height()-$("#MapDialog .modal-header").outerHeight();f.height(e);t=new mapkit.CoordinateSpan(.167647972,.354985255);u=new mapkit.CoordinateRegion(new mapkit.Coordinate(Number(window.oiLat),Number(window.oiLng)),t);n=setTimeout(function(){clearTimeout(n);var e=new mapkit.Map(f.attr("id"));e.region=u;i=new mapkit.MarkerAnnotation(new mapkit.Coordinate(Number(window.oiLat),Number(window.oiLng)),{color:"#326cfb",glyphImage:{1:"https://static.elloha.com/MapKit/pin-"+o+".png"}});typeof window.pinLat!="undefined"&&typeof window.pinLng!="undefined"&&(window.pinLat!==0||window.pinLng!==0)?(r=new mapkit.MarkerAnnotation(new mapkit.Coordinate(Number(window.pinLat),Number(window.pinLng)),{color:"#DA1274",glyphImage:{1:"https://static.elloha.com/MapKit/pin-activite.png"}}),e.showItems([i,r],{minimumSpan:t})):e.showItems([i],{minimumSpan:t})},100)};$(window).resize(function(){e()});$("#MapDialog").on("shown.bs.modal",e)}()})
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.