1"use strict";(self.webpackChunklib=self.webpackChunklib||[]).push([[4294],{40004:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(97652),r=s(31634);const l=class{constructor(t){this.galleryEl=t.querySelector(".js-uk-hotel-card-carousel"),this.slider=null,this.initSlider()}initSlider(){this.galleryEl&&(this.slider=new i.Z(this.galleryEl,{modules:[r.W_],speed:400,autoplay:{delay:4e3},navigation:{nextEl:".js-hotel-carousel-next",prevEl:".js-hotel-carousel-prev"},preloadImages:!1}))}destroy(){this.galleryEl=null,this.slider&&this.slider.initialized&&this.slider.destroy()}}},65839:(t,e,s)=>{s.d(e,{Z:()=>i});class i{constructor(t,e,s){var i,r,l;l=()=>{this.navItems.forEach((t=>t.htmlElement.classList.remove("is-active")))},(r="_deactivateNavItems")in(i=this)?Object.defineProperty(i,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):i[r]=l,this.nav="string"==typeof t?document.querySelector(t):t,this.nav&&(this.navHeight=s||this.nav.offsetHeight,this.navItems=[],this.targetBlocks=[],this.scrollInProgress=!1,this._initNavItems(),this._initTargetSections(e),this.navItems.length&&this.targetBlocks.length&&(this.currentActive=this.navItems[0],this._activateNavItem(),this.initEvents()))}_initNavItems(){var t=[...this.nav.querySelectorAll(".js-nav-item")];t&&(this.navItems=t.map((t=>({htmlElement:t,target:t.dataset.target}))))}_initTargetSections(t){var e="string"==typeof t?[...document.querySelectorAll(t)]:t;e&&(this.targetBlocks=e.map((t=>({htmlElement:t,navItem:t.dataset.nav}))))}_activateNavItem(){this._deactivateNavItems(),this.currentActive.htmlElement.classList.add("is-active")}_getNavItem(t){return this.navItems.find((e=>t===e.target))}initEvents(){window.addEventListener("scroll",(()=>{if(!this.scrollInProgress){var t=window.scrollY,e=null;if(this.targetBlocks.forEach((s=>{var i=s.htmlElement.getBoundingClientRect(),r=i.top+window.scrollY-this.navHeight-1,l=i.bottom+window.scrollY;t>=r&&t<l&&(e=s)})),e){var s=this._getNavItem(e.navItem);s.target!==this.currentActive.target&&(this.currentActive=s,this._activateNavItem())}}}),{passive:!0}),this.navItems.forEach((t=>{t.htmlElement.addEventListener("click",(()=>{this.currentActive.target!==t.target&&(this.currentActive=t,this._activateNavItem(),this._scrollToTarget())}))}))}_scrollToTarget(){var t=document.body.getBoundingClientRect().top,e=this.targetBlocks.filter((t=>t.navItem===this.currentActive.target))[0].htmlElement.getBoundingClientRect().top-t-this.navHeight;window.scrollTo({top:e,behavior:"smooth"}),this.scrollInProgress=!0;var s=()=>{Math.abs(window.scrollY-e)<=1?this.scrollInProgress=!1:window.requestAnimationFrame(s)};window.requestAnimationFrame(s)}}},27006:(t,e,s)=>{var i=s(29915),r=s(96926);document.querySelectorAll(".js-menu-filters-group").forEach((t=>{var e=t.querySelector(".js-menu-filters-button"),s=t.querySelector(".js-menu-filters-list");s.classList.add("is-hide"),new i.ZP(e,{target:s,toggleClass:"is-hide"})})),travel.isTablet()&&new r.default(".js-menu-filters-modal",{trigger:".js-menu-filters-modal-open-btn",selectors:{close:".js-menu-filters-modal-close",content:".js-menu-filters-modal-content"}})},30063:(t,e,s)=>{s.d(e,{Z:()=>i});class i{constructor(t){if(this.scrollContainer=document.querySelector(t.scrollContainer),!this.scrollContainer)return null;this.scrollButtonRight=this.scrollContainer.querySelector(t.scrollButtonRight),this.wrapper=this.scrollContainer.closest(t.wrapper),this.initView(),this.initEvents()}initView(){this.scrollButtonRight&&this.scrollContainer.scrollWidth<=this.scrollContainer.clientWidth&&(this.scrollButtonRight.style.display="none",this.wrapper.classList.add("is-no-scroll"))}initEvents(){var t;null===(t=this.scrollButtonRight)||void 0===t||t.addEventListener("click",(()=>{var t=this.scrollContainer.scrollWidth-this.scrollContainer.clientWidth;this.scrollContainer.scrollBy({left:t,behavior:"smooth"})}))}}},46359:(t,e,s)=>{var i=s(29915);document.querySelectorAll(".js-show-all-hotels-wrapper").forEach((t=>{var e=t.querySelector(".js-show-all-hotels-btn"),s=t.querySelector(".js-show-all-hotels-list"),r=travel.isMobile()?620:430;s.offsetHeight>r?(t.classList.add("is-hide"),new i.ZP(e,{target:t,toggleClass:"is-open"})):e.classList.add("hidden")}))},96926:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(29915);function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function l(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}class o extends i.ZP{constructor(t){var{trigger:e="",toggleClass:s,selectors:i,hideOnBackdrop:o=!0,lockScroll:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e,{target:t,toggleClass:s}),this.selectors=function(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};
1e%2?r(Object(s),!0).forEach((function(e){l(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):r(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}({close:".js-popup-close",content:".js-popup-content"},i),this.callbacks={show:()=>this.show(),hide:()=>this.hide(),clickBackdropHandler:t=>this._clickBackdropHandler(t)},this.lockScroll=n,this.initCloseBtn(),o&&this.initHideOnClickOutSide()}initCloseBtn(){this._closeTriggers=[...this.target.querySelectorAll(this.selectors.close)],this._closeTriggers.forEach((t=>t.addEventListener("click",this.callbacks.hide)))}initHideOnClickOutSide(){this.target.addEventListener("click",this.callbacks.clickBackdropHandler)}_clickBackdropHandler(t){t.target.matches(this.selectors.content)||t.target.closest(this.selectors.content)||this.hide()}show(){this.lockScroll&&(document.body.style.overflow="hidden"),super.show()}hide(){this.lockScroll&&(document.body.style.overflow="auto"),super.hide()}destroy(){super.destroy(),this._closeTriggers.forEach((t=>t.removeEventListener("click",this.callbacks.hide))),this.target.removeEventListener("click",this.callbacks.clickBackdropHandler)}}},31634:(t,e,s)=>{s.d(e,{W_:()=>i.Z});s(34257),s(65647),s(8104);var i=s(32562);s(77701),s(7185);s(75278),s(39278),s(88498),s(35824),s(22126),s(28538),s(24914),s(13758),s(46765),s(92844),s(21395),s(30820),s(15646),s(66160),s(35485),s(80557)}}]);
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.