1"use strict";(self.webpackChunkyotel=self.webpackChunkyotel||[]).push([[4672],{2876:(e,t,i)=>{var o=i(3845),r=i(7649),l=i(5186),n=i(2997);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,o)}return i}function c(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?s(Object(i),!0).forEach((function(t){d(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function d(e,t,i){return(t=p(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function u(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,p(o.key),o)}}function p(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,"string");if("object"!==a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===a(t)?t:String(t)}o.Z.use([r.Z,l.Z,n.Z]),function(e,t,i){var o=function(){function e(t,i,o,r,l){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elSlider=t,this.createAriaLive(),this.initSlider(this.elSlider,i,o,r,l),window.dispatchEvent(new Event("resize"))}var t,o,r;return t=e,r=[{key:"init",value:function(e){return new this(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[1,1,1,1,1],arguments.length>4&&void 0!==arguments[4]?arguments[4]:{})}}],(o=[{key:"createAriaLive",value:function(){this.ariaLiveElement=document.createElement("div"),this.ariaLiveElement.setAttribute("aria-live","polite"),this.ariaLiveElement.setAttribute("role","status"),this.ariaLiveElement.style.position="absolute",this.ariaLiveElement.style.left="-9999px",this.ariaLiveElement.style.top="auto",this.ariaLiveElement.style.width="1px",this.ariaLiveElement.style.height="1px",this.ariaLiveElement.style.overflow="hidden",this.elSlider.appendChild(this.ariaLiveElement)}},{key:"initSlider",value:function(e,t,o,r,l){var n=this;setTimeout((function(a){var s={direction:"horizontal",loop:!1,effect:"slide",allowTouchMove:!0,spaceBetween:32,breakpoints:{576:{slidesPerView:r[0],slidesPerGroup:r[0]},768:{slidesPerView:r[1],slidesPerGroup:r[1]},992:{slidesPerView:r[2],slidesPerGroup:r[2]},1200:{slidesPerView:r[3],slidesPerGroup:r[3]},1400:{slidesPerView:r[4],slidesPerGroup:r[4]}},navigation:{nextEl:t,prevEl:o},pagination:!1,watchOverflow:!0,autoHeight:!1};n.swiper=new i(e,c(c({},s),l)),n.swiper.on("slideChange",(function(){var e=n.swiper.activeIndex,t=n.swiper.params.slidesPerView,i=n.swiper.slides.length;if(1===t){var o=e+1;n.ariaLiveElement.textContent="Showing slide ".concat(o," of ").concat(i)}else{var r=e+1,l=Math.min(e+t,i);n.ariaLiveElement.textContent="Showing slides ".concat(r," to ").concat(l," of ").concat(i)}})),n.swiper.on("slideNextTransitionStart",(function(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"carousel_interaction",carousel_name:this.el.dataset.sliderName?this.el.dataset.sliderName.trim():"Unknown",carousel_position:this.activeIndex,interaction_description:"next slide",interaction_type:"click"})})),n.swiper.on("slidePrevTransitionStart",(function(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"carousel_interaction",carousel_name:this.el.dataset.sliderName?this.el.dataset.sliderName.trim():"Unknown",carousel_position:this.activeIndex,interaction_description:"prev slide",interaction_type:"click"})}))}),500),$(e).find(".yotel-location-cabins-slider__nav__next").click((function(e){e.stopPropagation()})),$(e).find(".yotel-location-cabins-slider__nav__prev").click((function(e){e.stopPropagation()}))}}])&&u(t.prototype,o),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.behaviors.yotelLocationSliderOffers={attach:function(e){var i=[1,2,3,4,4];
1t("yotel-location-slider-offers",".yotel-hotel-offers .yotel-hp-slider--slider",e).forEach((function(e){return o.init(e,".yotel-hotel-offers .yotel-hp-slider--nav--next",".yotel-hotel-offers .yotel-hp-slider--nav--prev",i)}))}},e.behaviors.yotelLocationSliderEatDrink={attach:function(e){var i=[1,1,1,1,1];t("yotel-location-slider-eat-drink",".yotel-hotel-eat-drink .yotel-hp-slider--slider",e).forEach((function(e){return o.init(e,".yotel-hotel-eat-drink .yotel-hp-slider--nav--next",".yotel-hotel-eat-drink .yotel-hp-slider--nav--prev",i)}))}},e.behaviors.yotelLocationSliderCabin={attach:function(e){var i=[1,1,1,1,1];t("yotel-location-slider-cabins",".room--slider-wrapper .swiper",e).forEach((function(e){return o.init(e,".yotel-hotel-rooms .yotel-location-cabins-slider__nav__next",".yotel-hotel-rooms .yotel-location-cabins-slider__nav__prev",i)}))}},e.behaviors.yotelLocationSliderMeetings={attach:function(e){var i=[1,1,1,1,1];t("yotel-location-slider-meetings",".yotel-hotel-meetings-spaces .yotel-hp-slider--slider",e).forEach((function(e){return o.init(e,".yotel-hotel-meetings-spaces .yotel-hp-slider--nav--next",".yotel-hotel-meetings-spaces .yotel-hp-slider--nav--prev",i)}))}},e.behaviors.yotelHotelSliderWhatsOn={attach:function(e){var i=[1,2,3,4,4];t("yotel-location-slider-whats-on",".yotel-hotel-whats-on .yotel-hp-slider--slider",e).forEach((function(e){return o.init(e,".yotel-hotel-whats-on .yotel-hp-slider--nav--next",".yotel-hotel-whats-on .yotel-hp-slider--nav--prev",i)}))}},e.behaviors.yotelHotelSliderRooms={attach:function(e){var i=[1,2,3,4,4],r={slidesPerView:1.1,spaceBetween:16,breakpoints:{576:{slidesPerView:i[0],slidesPerGroup:i[0],spaceBetween:16},768:{slidesPerView:i[1],slidesPerGroup:i[1],spaceBetween:16},992:{slidesPerView:i[2],slidesPerGroup:i[2],spaceBetween:32},1200:{slidesPerView:i[3],slidesPerGroup:i[3],spaceBetween:32},1400:{slidesPerView:i[4],slidesPerGroup:i[4],spaceBetween:32}}};t("yotel-location-slider-rooms",".yotel-hotel-rooms .yotel-hp-slider--slider",e).forEach((function(e){return o.init(e,".yotel-hotel-rooms .yotel-hp-slider--nav--next",".yotel-hotel-rooms .yotel-hp-slider--nav--prev",i,r)}))}},e.behaviors.yotelHotelSliderModalRoom={attach:function(e){var i=".swiper-button-next",r=".swiper-button-prev",l=[1,1,1,1,1];t("yotel-location-slider-modal-room",".yotel-cabins__image .yotel-carousel .swiper",e).forEach((function(e){var t=e.querySelectorAll(".swiper-slide"),n=e.parentElement.querySelector(i),a=e.parentElement.querySelector(r),s={loop:!1,spaceBetween:0};t.length>1?(n&&(n.style.display="block"),a&&(a.style.display="block"),s={loop:!1,spaceBetween:0,autoplay:"1"===e.dataset.autoplay&&{delay:3e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0}}):(n&&(n.style.display="none"),a&&(a.style.display="none")),o.init(e,i,r,l,s)}))}},e.behaviors.yotelBlockHotelListSlider={attach:function(e){t("yotel-block-hotel-list-slider",".block-lb--hotel-list .yotel-block-hotel-list--slider",e).forEach((function(e){var t=e.dataset.sliderUuid,i=e.dataset.sliderControls,r="1"===i?'[data-slider-uuid="'+t+'"] .slider--nav--next':null,l="1"===i?'[data-slider-uuid="'+t+'"] .slider--nav--prev':null,n={loop:"1"===e.dataset.loop};o.init(e,r,l,[1,2,3,4,4],n)}))}},e.behaviors.yotelCarouselSlider={attach:function(e){t("block-lb--carousel",".block-lb--carousel .slider",e).forEach((function(e){var t=e.dataset.sliderUuid,i='[data-slider-uuid="'+t+'"] .slider--nav--next',r='[data-slider-uuid="'+t+'"] .slider--nav--prev';o.init(e,i,r,[1,1,1,1,1],{autoHeight:!0})}))}},e.behaviors.yotelHeroSlider={attach:function(e){t("block-lb--hero",".block-lb--hero .slider",e).forEach((function(e){var t=e.dataset.sliderUuid,i={loop:!1,spaceBetween:0};e.querySelectorAll(".swiper-slide").length>1&&(i={loop:"1"===e.dataset.loop,spaceBetween:0,autoplay:"1"===e.dataset.autoplay&&{delay:3e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},pagination:{el:'[data-slider-uuid="'+t+'"] .swiper-pagination',type:"bullets",clickable:!0}}),o.init(e,null,null,[1,1,1,1,1],i)}))}},e.behaviors.yotelTestimonialsSlider={attach:function(e){t("block-lb--testimonials",".block-lb--testimonials .slider",e).forEach((function(e){var t=e.dataset.sliderUuid,i='[data-sli
1der-uuid="'+t+'"] .slider--nav--next',r='[data-slider-uuid="'+t+'"] .slider--nav--prev';o.init(e,i,r,[1,2,2,3,3])}))}},e.behaviors.yotelCardsCarouselSlider={attach:function(e){t("block-lb--cards-carousel",".block-lb--cards-carousel .slider",e).forEach((function(e){var t=e.dataset.sliderUuid,i=e.dataset.cardNumber,r='[data-slider-uuid="'+t+'"] .slider--nav--next',l='[data-slider-uuid="'+t+'"] .slider--nav--prev',n=[1,2,i,i,4];o.init(e,r,l,n,{})}))}},e.behaviors.yotelOffersList={attach:function(e){t("block-lb--offers-list",".block-lb--offers-list .slider",e).forEach((function(e){var t=e.dataset.sliderUuid,i='[data-slider-uuid="'+t+'"] .slider--nav--next',r='[data-slider-uuid="'+t+'"] .slider--nav--prev',l={loop:"1"===e.dataset.loop,simulateTouch:!1};o.init(e,i,r,[1,2,3,3,3],l)}))}}}(Drupal,once,o.Z)}},e=>{e.O(0,[1216],(()=>(2876,e(e.s=2876)))),e.O()}]);
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.