1!function(c){var m={},g={},_={},v={},u={};function f(e,a){var t,o=0;void 0===a&&(a=!1),_[e]=new google.maps.LatLngBounds,void 0===v[e]&&(v[e]=map_config[e].visible_markers);for(var i=0;i<map_data.markers.length;i++){var s=map_data.markers[i];-1!=v[e].indexOf(s.slug)?(a||g[e][s.slug].setMap(m[e]),_[e].extend(g[e][s.slug].getPosition()),0==o&&(t=g[e][s.slug].getPosition()),o++):a||g[e][s.slug].setMap(null)}1===o?(m[e].setCenter(t),m[e].setZoom(map_config[e].default_zoom),google.maps.event.trigger(m[e],"resize")):m[e].fitBounds(_[e])}function h(e,a){if(v[a]=["hotel"],void 0!==map_data.markers_by_category[e])for(var t=0;t<map_data.markers_by_category[e].length;t++)v[a].push(map_data.markers_by_category[e][t]);f(a)}c(document).ready(function(){c(".itinerary_mode").click(function(e){e.stopPropagation();e=c(this);if(e.hasClass("active"))return!1;c(".itinerary_mode.active").removeClass("active"),e.addClass("active")});var a=c("#map_canvas").offset().top-c("#map_canvas").height(),e=c(window).height(),t=!1;e<a?c(window).on("scroll",function(){var e=window.pageYOffset;a<=e&&!1===t&&(initMap(),t=!0)}):(initMap(),t=!0)}),window.initMap=function(){c("#map_canvas").each(function(){var e=c(this),a=e.parent(),i=e.attr("id"),e=i,t=(void 0===_[e]&&(_[e]=new google.maps.LatLngBounds),map_zoom="undefined"==typeof map_zoom?14:map_zoom,m[e]=new google.maps.Map(document.getElementById(e),{scrollwheel:!1,zoom:map_zoom,center:new google.maps.LatLng(hotel_gps_coordinates.latitude,hotel_gps_coordinates.longitude),zoomControl:!0,zoomControlOptions:{position:google.maps.ControlPosition.LEFT_TOP},mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:!0,mapTypeControlOptions:{position:google.maps.ControlPosition.TOP_RIGHT,style:google.maps.MapTypeControlStyle.DEFAULT},panControl:!1,scaleControl:!1,streetViewControl:!0,streetViewControlOptions:{position:google.maps.ControlPosition.RIGHT_CENTER}}),styleResolved),o=e;g[o]={};for(var s=0;s<map_data.markers.length;s++){var n=map_data.markers[s],r="hotel"==n.slug,l=map_data.icon,p=new google.maps.Size(36,36),d=new google.maps.Size(36,36),r=(void 0!==n.image&&void 0!==n.image_size_w&&void 0!==n.image_size_h?(l=n.image,p=new google.maps.Size(n.image_size_w,n.image_size_h),d=new google.maps.Size(36,36)):r&&(l=map_data.icon_hotel,p=new google.maps.Size(48,70),d=new google.maps.Size(48,70)),{url:l,size:p,scaledSize:d,anchor:new google.maps.Point(22,52)}
1),l=(g[o][n.slug]=new google.maps.Marker({position:new google.maps.LatLng(n.latitude,n.longitude),map:null,icon:r}),function(i,s){return function(){var e=s,a=i,t=function(e){for(var a=0;a<map_data.markers.length;a++){var t=map_data.markers[a];if(t.slug==e)return t}}(e),o=t.title;o='<div class="infowindow_content"><div class="wrap"><div class="contacts"><div class="title">'+(o=void 0!==t.lang&&void 0!==t.lang[siteLang]?t.lang[siteLang]:o)+"</div>",""!==t.address&&(o+='<span class="address">'+t.address+"</span>"),""!==t.phone&&(o+='<span class="phone"> '+t.phone+"</span>"),""!==t.mail&&(o+='<span class="mail"> '+t.mail+"</span>"),o+="</div></div></div>",void 0===u[a]?u[a]=new google.maps.InfoWindow({content:o}):u[a].setContent(o),u[a].open(m[a],g[a][e])}}(o,n.slug));g[o][n.slug].addListener("click",l)}f(e),m[e].setOptions({styles:t}),m[e].setOptions({mapTypeId:map_type}),directionsService=new google.maps.DirectionsService,directionsDisplay=new google.maps.DirectionsRenderer({suppressMarkers:!1,markerOptions:{zIndex:10}}),a.find(".category a").click(function(){var e,a,t=c(this).data("category"),o=c(this).text();c(this).parent().hasClass("active")?(h("",i),c(this).parent().removeClass("active")):(h(t,i),c(".category a").parent().removeClass("active"),c(this).parent().addClass("active")),c("html").hasClass("surroundings_page")&&(o=o,t=".filter_"+(t=t),e=c("#blog_articles"),a=e.find(".post_wrap"),e.find(".wrap_title").text(o),".filter_000_all"==t?a.css("display","block"):(a.css("display","none"),e.find(".post_wrap"+t).css("display","block")))}),v.map_canvas=["hotel","000_all"],f("map_canvas")}),c("#map_overlay .category li:first-child a").trigger("click"),0<c("#map_directions").size()&&(mapConfig={mode:"car",currentHotel:{}},c("#itineraryMode").click(function(){c(this).hasClass("car")?(mapConfig.mode="feet",c(this).removeClass("car").addClass("feet").html(c(this).attr("data-feet")).attr("title",c(this).attr("data-feet"))):(mapConfig.mode="car",c(this).removeClass("feet").addClass("car").html(c(this).attr("data-car")).attr("title",c(this).attr("data-car")))}),c("#itinerarySubmit").on("click",function(){var e,a,t=c("input#itineraryFrom").val();t=t,e=(e=c(".itinerary_mode.active").attr("data-travelmode"))||("car"==mapConfig.mode?"DRIVING":"WALKING"),a=hotel_gps_coordinates.latitude+","+hotel_gps_coordinates.longitude,a={origin:t,destination:a,travelMode:google.maps.DirectionsTravelMode[e]},""==c.trim(t)?alert("insert the destination"):directionsService.route(a,function(e,a){a==google.maps.DirectionsStatus.OK?(c("#itinerary_container .title span").html(),0==c(".itineraryPanelWrapper").length&&c("#map_directions_content").append(c("<div/>",{class:"itineraryPanelWrapper"}).append(c("<div/>",{class:"title"})).append(c("<div/>",{id:"itineraryPanel"}))),directionsDisplay.setMap(m.map_canvas),directionsDisplay.setPanel(document.getElementById("itineraryPanel")),directionsDisplay.setDirections(e),0<c("#map_directions").size()&&c("#map_directions").fadeIn(function(){c(".close").click(function(){c("#map_directions").fadeOut(function(){var e=new google.maps.LatLng(hotel_gps_coordinates.latitude,hotel_gps_coordinates.longitude);directionsDisplay.setMap(null),m.map_canvas.setZoom(map_zoom),m.map_canvas.setCenter(e)})})})):alert("ERROR")})}))}}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.