1"use strict";var lastScrollTop=0,w=window,d=document,e=d.documentElement,g=d.getElementsByTagName("body")[0],windowWidth=w.innerWidth||e.clientWidth||g.clientWidth,windowHeight=w.innerHeight||e.clientHeight||g.clientHeight;function scrollW(){var e=window.pageYOffset||document.documentElement.scrollTop;80<e?lastScrollTop<e?document.getElementById("header").classList.contains("down")||(document.getElementById("header").classList.add("down"),document.getElementById("header").classList.remove("up")):document.getElementById("header").classList.contains("up")||(document.getElementById("header").classList.add("up"),document.getElementById("header").classList.remove("down")):(document.getElementById("header").classList.contains("up")||document.getElementById("header").classList.contains("down"))&&(document.getElementById("header").classList.remove("up"),document.getElementById("header").classList.remove("down")),document.querySelector(".sitemap , .terms-and-conditions , #gallery-category")&&document.getElementById("header").classList.add("up"),lastScrollTop=e<=0?0:e}resizeWindow(),function(){document.querySelectorAll('#primary-nav li a[href="#"]').forEach(function(e){e.addEventListener("click",function(e){e.preventDefault()})});var e=document.querySelector(".privary-navigation__submenu .active"),e=(null!=e&&e.parentElement.parentElement.parentElement.firstElementChild.classList.add("active"),window.onload=function(){scrollW(),window.addEventListener("scroll",function(){scrollW()})},document.querySelectorAll(".no-click-js").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault()})}),document.querySelectorAll(".email-signup .input input"));if(e&&e.forEach(function(e){e.addEventListener("focus",function(){this.parentElement.classList.add("moved")})}),0<document.getElementsByClassName("form-module__field").length)for(var t=document.getElementsByClassName("form-module__field"),n=0;n<t.length;n++)0<t[n].getElementsByTagName("input").length&&"checkbox"!=t[n].getElementsByTagName("input")[0].type.toLowerCase()&&"radio"!=t[n].getElementsByTagName("input")[0].type.toLowerCase()&&t[n].getElementsByTagName("input")[0].addEventListener("focus",function(){this.parentElement.classList.add("moved")}),0<t[n].getElementsByTagName("select").length&&t[n].getElementsByTagName("select")[0].addEventListener("focus",function(){this.parentElement.classList.add("moved")}),0<t[n].getElementsByTagName("textarea").length&&t[n].getElementsByTagName("textarea")[0].addEventListener("focus",function(){this.parentElement.classList.add("moved")})}();var classtoscroll=document.querySelectorAll(".scroll-js , .btn-scroll");function resizeWindow(){if(windowWidth=w.innerWidth||e.clientWidth||g.clientWidth,windowHeight=w.innerHeight||e.clientHeight||g.clientHeight,0<document.getElementsByClassName("img-slide").length||null!=document.querySelector("#home.home-page"))for(var t=document.getElementsByClassName("img-slide"),n=t.length,o=0;o<n;o++)t[o].style.height=windowHeight+10+"px"}function animateTo(e){var e=offset(document.getElementById(e)).top-50,n=window.pageYOffset,o=e,l=1300,s=(new Date).getTime(),a=setInterval(function(){var e,t=(new Date).getTime()-s;e=easeInOutQuart(t,n,n<=o?o-n:-(n-o),l),window.scrollTo(0,e),l<=t&&clearInterval(a)},1e3/60);window.scrollTo(0,n)}function easeInOutQuart(e,t,n,o){return(e/=o/2)<1?n/2*e*e*e*e+t:-n/2*((e-=2)*e*e*e-2)+t}function offset(e){var e=e.getBoundingClientRect(),t=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop;return{top:e.top+n,left:e.left+t}}classtoscroll&&classtoscroll.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),animateTo(e.target.hash.split("#")[1])})});var toggleBtn,submenuHold=document.querySelectorAll("#content .sub-menu__hold"),allsublinks=document.querySelectorAll("#content .sub-menu a");function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}1<allsublinks.length?(allsublinks.forEach(function(t){t.addEventListener("click",function(e){t.classList.contains("active")&&e.preventDefault()})}),(toggleBtn=document.querySelector(".sub-menu__toggle"))&&toggleBtn.addEventListener("click",function(){toggleBtn.parentElement.classList.toggle("open")})):0<submenuHold.length&&submenuHold[0].classList.add("hidden"),"NodeList"in window&&!NodeList.prototype.forEach&&(console.info("polyfill for IE11"),NodeList.prototype.forEach=function(e,t){t=t||window;for(var n=0;n<this.length;n++)e.call(t,this[n],n,this)}
1),function(){(document.querySelectorAll("p")||[]).forEach(function(e){return""===e.innerHTML.trim()&&e.parentNode.removeChild(e)});var e=document.querySelectorAll(".burger-cta-js"),t=document.querySelector("#burger-menu-js"),e=(e.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),t.classList.toggle("open"),document.querySelector("body").classList.toggle("no-scroll")})}),document.querySelectorAll("#burger-menu-js li:has(.sub-sub-menu)")),n=void 0;e.forEach(function(e){e.querySelector("a").addEventListener("click",function(e){e.preventDefault(),n&&n!=e.target.nextElementSibling&&n.classList.remove("active"),e.target.nextElementSibling.classList.toggle("active"),n=e.target.nextElementSibling})});document.querySelectorAll("#burger-menu-js .sub-sub-menu a").forEach(function(e){e.addEventListener("click",function(e){1<e.target.hash.length&&document.querySelector("#burger-menu-js").classList.remove("open")})});var o,l,s,a,r={loop:!0,speed:700,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:".swiper-prev",prevEl:".swiper-next"},autoplay:{delay:5e3,disableOnInteraction:!1}};new Swiper(".gallery-swiper-js",{loop:!0,speed:700,slidesPerView:"auto",centeredSlides:!0,autoplay:{delay:4e3,disableOnInteraction:!1},keyboard:{enabled:!0},pagination:{el:"[data-galdots]",clickable:!0}}),document.querySelectorAll(".swiper-js").forEach(function(e,t){var n=e.dataset.swiper?JSON.parse(e.dataset.swiper):r,e=(e.setAttribute("data-swiper-"+t,""),new Swiper("[data-swiper-"+t+"]",n));t,0}),document.querySelectorAll("[data-swiper-control]").forEach(function(e){var t=e.dataset.swiperControl?JSON.parse(e.dataset.swiperControl):[];if(t.length<1)return!1;t=t.map(function(e){return[].concat(_toConsumableArray(document.querySelectorAll(e))).map(function(e){return e.swiper})}).flat();e.swiper.controller.control=t}),new LBX(".js-intro-lightbox",{customClass:"white-close",beforeShow:function(){document.querySelector("body").classList.add("no-scroll")},beforeClose:function(){document.querySelector("body").classList.remove("no-scroll")}}),LBX._instances[0].beforeShow=function(e){document.querySelector("body").classList.add("no-scroll")},LBX._instances[0].beforeClose=function(e){document.querySelector("body").classList.remove("no-scroll")},new LBX(".lbx-rooms-js",{beforeShow:function(){document.querySelector("body").classList.add("no-scroll");new Swiper(".lbx .swiper-room-js",{loop:!0,speed:700,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:".lbx .swiper-room-next"},autoplay:{delay:4e3,disableOnInteraction:!1}})},beforeClose:function(){document.querySelector(".lbx .swiper-room-js").swiper.destroy(),document.querySelector("body").classList.remove("no-scroll"),document.querySelector(".lbx .amenities-block__list").classList.contains("active")&&(document.querySelector(".lbx .amenities-block__list").classList.remove("active"),document.querySelector(".lbx .amenitie-js").textContent="Amenities & features")}});document.querySelectorAll(".accordion-js .tab-js").forEach(function(e){e.addEventListener("click",function(e){e.target.classList.toggle("active"),e.target.nextElementSibling.classList.toggle("active")})}),e=".columns [data-filter]",o=".columns [data-filteritem]",l="#columns-select",s=document.querySelectorAll(""+e),a=document.querySelectorAll(""+o),e=document.querySelector(""+l),s&&s.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),s.forEach(function(e){e.classList.remove("active")});var t=e.target;t.classList.add("active"),a.forEach(function(e){e.classList.add("no-visible"),e.dataset.filteritem!==t.dataset.filter&&"all"!==t.dataset.filter||e.classList.remove("no-visible")})})}),e&&e.addEventListener("change",function(t){a.forEach(function(e){e.classList.add("no-visible"),e.dataset.filteritem!==t.target.value&&"all"!==t.target.value||e.classList.remove("no-visible")})}),document.querySelectorAll(".amenitie-js").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault();var t=e.target,e=e.target.nextElementSibling;e.classList.contains("active")?(e.classList.remove("active"),t.textContent="Amenities & features"):(e.classList.add("active"),t.textContent="See Less")})})}(); 2//# sourceMappingURL=scripts.js.map
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.