(()=>{var o,a,r,t,e,n,l,u,s,g,h,O,U,i,P,m,c,j,d,p,f,y,v,w,b,N,Z,R,E,L,C,z,H,I,D,A,M,k,x,S=(()=>{try{var e=document.getElementById("pageConfig");return e?JSON.parse(e.textContent):{}}catch(e){return{}}})(),W=S.cityTz||"UTC",_=S.cityLabel||"",T=S.locale||"en-US",V=(()=>{if("en-US"!==T)try{var e=new Intl.Locale(T),t=e.getWeekInfo?e.getWeekInfo():e.weekInfo;if(t&&t.firstDay)return 7===t.firstDay}catch(e){}try{var n=(navigator.language||"en-US").toLowerCase();return 0===n.indexOf("en-us")||0===n.indexOf("en-ca")}catch(e){return!0}})(),G=((e,t)=>{for(var n=new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}),a=Date.UTC(2023,0,1+(t?0:1)),r=[],o=0;o<7;o++)r.push(n.format(new Date(a+864e5*o)));return r})(T,V);function J(){var e=new Intl.DateTimeFormat("en-US",{timeZone:W,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(new Date),t={},e=(e.forEach(function(e){t[e.type]=e.value}),parseInt(t.hour,10));return 24===e&&(e=0),{year:parseInt(t.year,10),month:parseInt(t.month,10),day:parseInt(t.day,10),hour:e,minute:parseInt(t.minute,10),second:parseInt(t.second,10)}}function K(){var e,t,n,a=document.getElementById("calCountdown"),r=document.getElementById("calTz");a&&(e=1===(t=J()).month&&1===t.day,n=12===t.month&&31===t.day,e?a.textContent=o.happyNewYear:n?(e=86400-(3600*t.hour+60*t.minute+t.second),n=Math.floor(e/3600),e=Math.floor(e%3600/60),a.textContent=n+"h "+e+"m "+o.hoursTo):(n=new Date(t.year+1,0,1,0,0,0),e=new Date(t.year,t.month-1,t.day,t.hour,t.minute,t.second),t=Math.ceil((n-e)/864e5),a.textContent=t+" "+o.daysTo),r)&&(n=new Intl.DateTimeFormat(T,{timeZone:W,hour:"numeric",minute:"2-digit"}).format(new Date),r.textContent=o.localTimeIn+" "+_+" — "+n)}function Q(){t&&t.disconnect();var e=n.getBoundingClientRect().height;t=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(e=e.target.id,l.forEach(function(e){e.classList.remove("active")}),a[e])&&a[e].classList.add("active")})},{rootMargin:"-"+Math.ceil(e+4)+"px 0px -65% 0px",threshold:0}),r.forEach(function(e){t.observe(e)})}function X(){var e,t;i||(i=!0,e=function(){function r(e,t,n){return'
'+e+"
"}function o(n,e){var t;e=e||{},c.forEach(function(e){e.classList.toggle("is-active",parseInt(e.getAttribute("data-id"),10)===n)}),Object.keys(i).forEach(function(t){var e=h.filter(function(e){return e.id==t})[0];i[t].getElement().innerHTML=r(e.id,e.group,e.id===n)}),t=n,Object.keys(i).forEach(function(e){e!=t&&(e=i[e].getPopup())&&e.isOpen()&&e.remove()}),!1!==e.pan&&i[n]&&l.panTo(i[n].getLngLat()),!1!==e.openPopup&&i[n]&&i[n].togglePopup()}var l,i,a,c,t,d;"undefined"!=typeof maplibregl&&((l=new maplibregl.Map({container:"hotelsLeafletMap",style:"https://tiles.openfreemap.org/styles/positron",center:[0,0],zoom:2,scrollZoom:!1})).addControl(new maplibregl.NavigationControl({showCompass:!1}),"top-left"),m.addEventListener("mouseenter",function(){l.scrollZoom.enable()}),m.addEventListener("mouseleave",function(){l.scrollZoom.disable()}),i={},l.on("load",function(){var a=null;h.forEach(function(t){var e=document.createElement("div"),n=(e.className="hotel-marker-wrap",e.innerHTML=r(t.id,t.group,!1),document.querySelector('#hotelListPanel .hotel-row[data-id="'+t.id+'"]')),n=n&&n.querySelector("p")?n.querySelector("p").textContent:"",n=new maplibregl.Popup({offset:28,closeButton:!1}).setHTML('
'+n+"
"),n=new maplibregl.Marker({element:e,anchor:"bottom"}).setLngLat([t.lng,t.lat]).setPopup(n).addTo(l);e.addEventListener("click",function(e){e.stopPropagation(),o(t.id,{pan:!1,openPopup:!0})}),i[t.id]=n,a=a?a.extend([t.lng,t.lat]):new maplibregl.LngLatBounds([t.lng,t.lat],[t.lng,t.lat])}),a&&l.fitBounds(a,{padding:30,maxZoom:15,animate:!1})}),(a=document.getElementById("hotelLegendRows"))&&g.forEach(function(t){var e,n=h.filter(function(e){return e.group===t}).length;n&&((e=document.createElement("div")).className="row",e.innerHTML=''+s[t]+" ("+n+")",a.appendChild(e))}),(c=Array.prototype.slice.call(document.querySelectorAll("#hotelListPanel .hotel-row"))).forEach(function(e){e.addEventListener("click",function(){o(parseInt(e.getAttribute("data-id"),10),{pan:!0,openPopup:!0})})}),t=Array.prototype.slice.call(document.querySelectorAll("#hotelFilters .filter-chip")),d=document.getElementById("hotelEmptyNote"),t.forEach(function(e){e.addEventListener("click",function(){t.forEach(function(e){e.classList.remove("active")}),e.classList.add("active");var n=e.getAttribute("data-group"),a=0;document.querySelectorAll("#hotelListPanel .h-group").forEach(function(e){var t="all"===n||e.getAttribute("data-group")===n;e.style.display=t?"":"none",t&&a++}),Object.keys(i).forEach(function(t){var e=h.filter(function(e){return e.id==t})[0],e="all"===n||e.group===n;i[t].getElement().style.display=e?"":"none"}),d&&(d.style.display=a?"none":"")})}))},"undefined"!=typeof maplibregl?e():((t=document.createElement("link")).rel="stylesheet",t.href=O,document.head.appendChild(t),(t=document.createElement("script")).src=U,t.async=!0,t.onload=e,document.head.appendChild(t)))}function $(e){return(e<10?"0":"")+e}function B(e){return e.getFullYear()+"-"+$(e.getMonth()+1)+"-"+$(e.getDate())}function ee(t){try{return new Intl.DateTimeFormat(w,{month:"short",day:"numeric",year:"numeric"}).format(t)}catch(e){return B(t)}}function te(e,t,n,a,r,o){e=["ss="+encodeURIComponent(e),"checkin="+(n||N),"checkout="+(a||Z),"group_adults="+(r||2),"group_children="+(null!=o?o:0)],c&&e.push("aid="+encodeURIComponent(c)),n=[];return d&&n.push(d),n.push(t),n.push("w"+(()=>{for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t="",n=0;n<17;n++)t+=e.charAt(Math.floor(Math.random()*e.length));return t})()),p&&n.push(p),n.length&&e.push("label="+encodeURIComponent(n.join("-"))),"https://www.booking.com/searchresults.html?"+e.join("&")}function F(e,t){return e&&t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function q(t){try{return new Intl.DateTimeFormat(w,{month:"long",year:"numeric"}).format(t)}catch(e){return t.getMonth()+1+"/"+t.getFullYear()}}function ne(e,t,n){return e+" "+(1===e?t:n)}function Y(){R.textContent=q(M);for(var e=new Date(M.getFullYear(),M.getMonth()+1,0).getDate(),t=M.getDay(),n=V?t:(t+6)%7,a="",r=0;r<7;r++)a+=''+G[r]+"";for(var o=0;o0';for(var l=1;l<=e;l++){var i=new Date(M.getFullYear(),M.getMonth(),l),c="day",d=(F(i,A)&&(c+=" today"),i"+l+""}x.innerHTML=a,L.disabled=M<=I,C.disabled=D<=M;var t=new Date(M.getFullYear(),M.getMonth()-1,1),u=new Date(M.getFullYear(),M.getMonth()+1,1);L.setAttribute("aria-label",q(t)),C.setAttribute("aria-label",q(u)),E&&(E.textContent=ee(k.ci)+" – "+(k.co?ee(k.co):"…"))}function ae(){z.textContent=ne(k.adults,b.adultOne||"adult",b.adultMany||"adults"),H.textContent=ne(k.children,b.childOne||"child",b.childMany||"children"),Array.prototype.forEach.call(document.querySelectorAll(".cal-step"),function(e){var t=e.getAttribute("data-target"),n="inc"===e.getAttribute("data-action");e.disabled="adults"===t?n?10<=k.adults:k.adults<=1:n?10<=k.children:k.children<=0})}function re(e){var t,e=e.getAttribute("data-booking-query");e&&(t=k.co||new Date(k.ci.getFullYear(),k.ci.getMonth(),k.ci.getDate()+1),window.open(te(e,"rooms",B(k.ci),B(t),k.adults,k.children),"_blank","noopener"))}o=S.strings||{},K(),setInterval(K,3e4),n=document.querySelector(".topnav"),l=Array.prototype.slice.call(document.querySelectorAll('.navlinks a[href^="#"]')),n&&l.length&&"IntersectionObserver"in window&&(a={},r=[],l.forEach(function(e){var t=e.getAttribute("href").slice(1),n=document.getElementById(t);n&&(a[t]=e,r.push(n))}),r.length)&&(Q(),window.addEventListener("resize",function(){clearTimeout(e),e=setTimeout(Q,200)})),(m=document.getElementById("hotelsLeafletMap"))&&(f=S.map||{},u=f.groupColor||{},s=f.groupLabel||{},g=f.groupOrder||[],(h=f.hotels||[]).length)&&(O="https://cdnjs.cloudflare.com/ajax/libs/maplibre-gl/5.24.0/maplibre-gl.min.css",i=!(U="https://cdnjs.cloudflare.com/ajax/libs/maplibre-gl/5.24.0/maplibre-gl.min.js"),"IntersectionObserver"in window?(P=new IntersectionObserver(function(e){e.some(function(e){return e.isIntersecting})&&(P.disconnect(),X())},{rootMargin:"600px 0px"})).observe(m):X()),c=S.bookingAffiliateId||"",j=S.cityLabel||"",d=S.domain||"",p=S.citySlug||"",f=new Date,y=f.getFullYear()+1,v=new Date(y-1,11,30),y=new Date(y,0,2),f=new Date(f.getFullYear(),f.getMonth(),f.getDate()),v{function C(e){var t=document.createElement("a"),e=(t.href=e,(t.hostname||"").replace(/^www\./i,"").toLowerCase()),t=(t.pathname||"").replace(/\/+$/,"");return e+(t="/"!==t.charAt(0)?"/"+t:t)}function e(){var e=document.querySelectorAll(".lang-switch");if(e.length){for(var t=document.querySelectorAll('link[rel="alternate"][hreflang]'),n=[],a=0;a