1"use strict";(self.tcthemejsonpFunction=self.tcthemejsonpFunction||[]).push([[7544],{2286(t,e,i){i.d(e,{A:()=>a});var o=i(1425);const s={key:0,class:"m-plain-text"},n=["data-align"],l=["innerHTML"],r=["innerHTML"],c={name:"TitleAndDescription",props:{blockContent:{type:Object},blockStyles:{type:Object}},data:()=>({hasTitle:!1,hasDescription:!1,columnClass:"",textAlign:"left"}),methods:{analyzeSettings(){const t=this.blockContent;t&&(""!==t.title&&(this.hasTitle=!0),""!==t.description&&(this.hasDescription=!0),t.column&&(this.columnClass+=" display-columns"));const e=this.blockStyles;e&&e.textAlign&&(this.textAlign=e.textAlign)}},async created(){this.analyzeSettings()},computed:{cssProps(){if(!this.blockStyles)return;const t=this.blockStyles;let e="",i="",o="left";return t.textColor&&(e=t.textColor),t.linkColor&&(i=t.linkColor),t.textAlign&&(o=t.textAlign),{"--intro-content-color":e,"--intro-content-link-color":i,"--intro-content-text-alignment":o}}}},a=(0,i(6262).A)(c,[["render",function(t,e,i,c,a,d){return t.hasTitle||t.hasDescription?((0,o.uX)(),(0,o.CE)("div",s,[(0,o.Lk)("div",{class:(0,o.C4)(["m-plain-text--stripe cms-content common-component",t.columnClass]),style:(0,o.Tr)(d.cssProps),"data-align":t.textAlign},[t.hasTitle?((0,o.uX)(),(0,o.CE)("h2",{key:0,class:"h2 m-plain-text--title cms-item",tabindex:"0",innerHTML:i.blockContent.title},null,8,l)):(0,o.Q3)("v-if",!0),t.hasDescription?((0,o.uX)(),(0,o.CE)("div",{key:1,class:"m-plain-text--content cms-item cms-html-var cms-style-item",tabindex:"0",innerHTML:i.blockContent.description},null,8,r)):(0,o.Q3)("v-if",!0)],14,n)])):(0,o.Q3)("v-if",!0)}]])},4807(t,e,i){i.r(e),i.d(e,{default:()=>M});var o=i(1425);const s={class:"container"};var n=i(5445),l=i(958),r=i(2637),c=i(8434),a=i(447),d=i(2286),h=i(5878);const g={key:0,class:"m-content-object js-module-item slider-highlight-module-item"},p={key:0,class:"m-content-object___img ratio-16-9"},u={class:"ratio-content"},m={key:1,class:"m-content-object___img ratio-4-3"},b={class:"ratio-content"},k={class:"m-content-object__text"},f={class:"m-content-object__bottom-text"},y=["innerHTML"],S=["innerHTML"],v={key:0,class:"m-content-object__btn"},A={class:"btn-container"};var x=i(303),C=i(8012),w=i(1246);const I=["srcset"],_=["srcset"],L=["srcset"],D=["srcset"],T=["data-lazy","alt"],B={name:"HighlightSliderImg",props:{img:{type:Object,required:!0},imgSizes:{type:Object,required:!0}}};var j=i(6262);const O=(0,j.A)(B,[["render",function(t,e,i,s,n,l){return(0,o.uX)(),(0,o.CE)("picture",null,[(0,o.Lk)("source",{media:"(max-width: 450px)",srcset:i.imgSizes.srcSet450},null,8,I),(0,o.Lk)("source",{media:"(max-width: 767px)",srcset:i.imgSizes.srcSet767},null,8,_),(0,o.Lk)("source",{media:"(max-width: 1199px)",srcset:i.imgSizes.srcSet1199},null,8,L),(0,o.Lk)("source",{media:"(min-width: 1200px)",srcset:i.imgSizes.srcSet1200},null,8,D),(0,o.Lk)("img",{"data-lazy":i.img.url_standard,src:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",alt:i.img.alt},null,8,T)])}]]),H={components:{ButtonLink:w.A,HighlightSliderImg:O},name:"SliderHighlightItem",props:{configs:{type:Object,required:!0},data:{type:Object,required:!0},locales:Object},data:()=>({srcSet450:"",srcSet767:"",srcSet1199:"",srcSet1200:"",gridClass:"",buttonLabel:null}),mixins:[C.A],methods:{analyzeSettings(){let t=this.data.first_photo.url_standard;""!==t&&(this.srcSet450=GalaxyHelpers.resizeImg(t,400),this.srcSet767=GalaxyHelpers.resizeImg(t,780),this.srcSet1199=GalaxyHelpers.resizeImg(t,1e3),this.srcSet1200=GalaxyHelpers.resizeImg(t,2e3)),this.configs?.sliderBlock?.buttonSettings?.enabled&&this.configs?.sliderBlock?.buttonSettings?.title?.length&&(this.gridClass=" grid-content-wrapper")},truncateShortDesc:(t,e)=>(0,x.A)(t,e,{html:!0,maxLines:2}),setDescription(){let t=window.innerWidth,e=this.deviceScreenWidth(t);return"xs"===e||"sm"===e||"md"===e?this.configs.sliderBlock.shortDescriptionFull?this.data.short_description:this.truncateShortDesc(this.data.short_description,100):this.configs.sliderBlock.shortDescriptionFull?this.data.long_description:this.truncateShortDesc(this.data.long_description,200)},mobileCheck(){let t=window.innerWidth;return"xs"===this.deviceScreenWidth(t)}},async created(){this.analyzeSettings()},computed:{showFeaturedOnly(){return!this.configs.sliderBlock.featuredOnly||this.data.is_featured},hasButton(){return this.configs.sliderBlock.buttonSettings.enabled&&this.configs.sliderBlock.buttonSettings.title.length}}}
1,z=(0,j.A)(H,[["render",function(t,e,i,s,n,l){const r=(0,o.g2)("highlight-slider-img"),c=(0,o.g2)("button-link");return l.showFeaturedOnly?((0,o.uX)(),(0,o.CE)("div",g,[i.data.first_photo?((0,o.uX)(),(0,o.CE)("div",p,[(0,o.Lk)("div",u,[(0,o.bF)(r,{img:i.data.first_photo,imgSizes:{srcSet450:t.srcSet450,srcSet767:t.srcSet767,srcSet1199:t.srcSet1199,srcSet1200:t.srcSet1200}},null,8,["img","imgSizes"])]),e[0]||(e[0]=(0,o.Lk)("div",{class:"overlay"},null,-1))])):(0,o.Q3)("v-if",!0),i.data.first_photo?((0,o.uX)(),(0,o.CE)("div",m,[(0,o.Lk)("div",b,[(0,o.bF)(r,{img:i.data.first_photo,imgSizes:{srcSet450:t.srcSet450,srcSet767:t.srcSet767,srcSet1199:t.srcSet1199,srcSet1200:t.srcSet1200}},null,8,["img","imgSizes"])]),e[1]||(e[1]=(0,o.Lk)("div",{class:"overlay"},null,-1))])):(0,o.Q3)("v-if",!0),(0,o.Lk)("div",k,[(0,o.Lk)("div",{class:(0,o.C4)("m-content-object__bottom"+t.gridClass)},[(0,o.Lk)("div",f,[(0,o.Lk)("h3",{class:"m-content-object__title",innerHTML:i.data.name},null,8,y),l.setDescription()?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"m-content-object__desc",innerHTML:l.setDescription()},null,8,S)):(0,o.Q3)("v-if",!0)]),l.hasButton?((0,o.uX)(),(0,o.CE)("div",v,[(0,o.Lk)("div",A,[(0,o.bF)(c,{type:"link-only",linkData:{title:i.configs.sliderBlock.buttonSettings.title||i.locales.buttonLabel,style:i.configs.sliderBlock.buttonSettings.style,href:i.data.external_link}},null,8,["linkData"])])])):(0,o.Q3)("v-if",!0)],2)])])):(0,o.Q3)("v-if",!0)}]]),{isNullOrUndefined:E}=n._0,W={components:{BlockWrapper:c.A,TitleAndDescription:d.A,IntroductionApp:a.default,SliderHighlightItem:z,SlickSliderWrapper:h.A},name:"OnePagerSliderHighlightApp",props:{configs:{type:Object,required:!0},locales:Object},mixins:[r.A],data:()=>({isLoading:!0,isLoadingHotel:!0,textAlign:"center",selectedData:null,hotelInfo:null,introDescription:"",sliderOptions:{variableWidth:!0,centerMode:!0,centerPadding:"200px",dots:!0,infinite:!0,mobileFirst:!0,arrows:!0,responsive:[{breakpoint:1937,settings:{centerMode:!1,slidesToShow:1,dots:!0,variableWidth:!0}},{breakpoint:768,settings:{centerMode:!0,centerPadding:"200px",variableWidth:!0,dots:!0,arrows:!0}},{breakpoint:300,settings:{centerMode:!1,slidesToShow:1,variableWidth:!1,dots:!0,arrow:!0}}]}}),methods:{dataFilter(t,e,i,o){let s=i;return"brand"!==e||s?("hotel"===e&&o&&(s=parseInt(o)),t.filter(t=>{if(t.hotel_id===s)return t})):t},async fetchDynamicFacilitiesData(){if(E(window.facilitiesModule)||E(window.facilitiesModule[this.configs.blockId]))return;const t=window.facilitiesModule[this.configs.blockId].url,e=await l.b.getStorage("facilities",t,!0),i=this.configs.websiteType;let o=parseInt(this.configs.selectedHotelId);this.selectedData=this.dataFilter(e,i,o,this.configs.hotelId),this.isLoading=!1},async fetchDynamicHighlightsData(){if(E(window.highlightsModule)||E(window.highlightsModule[this.configs.blockId]))return;const t=window.highlightsModule[this.configs.blockId].url,e=await l.b.getStorage("highlights",t,!0),i=this.configs.websiteType;let o=parseInt(this.configs.selectedHotelId);this.selectedData=this.dataFilter(e,i,o,this.configs.hotelId),this.isLoading=!1},analyzeSettings(){if(!this.configs)return;this.introDescription=window.introduction[this.configs.blockId];const t=this.configs.blockStyles;t&&t.textAlignment&&(this.textAlign=t.textAlignment)},fetchData(){const t=this.configs;"highlight"===t.sliderBlock.moduleType?this.fetchDynamicHighlightsData():"facilities"===t.sliderBlock.moduleType&&this.fetchDynamicFacilitiesData(),this.fetchDynamicHotelData()},setGeneralTitle(){return"facilities"===this.configs.sliderBlock.moduleType?this.hotelInfo.facility_short_description:"highlight"===this.configs.sliderBlock.moduleType?this.hotelInfo.highlight_short_description:void 0},setGeneralDesc(){return"facilities"===this.configs.sliderBlock.moduleType?this.hotelInfo.facility_long_description:"highlight"===this.configs.sliderBlock.moduleType?this.hotelInfo.highlight_long_description:void 0}},async created(){this.fetchData(),this.analyzeSettings()},computed:{cmsIntroBlock(){return window.introduction?.[this.configs.blockId].intro||{}},getIntroData(){return window.introduction?.[this.configs.blockId]||{}},cssProps(){let t=this.configs.blockStyles,e=this.configs.dataIntroBlock,i=this.cmsIntroBlock,o="initial",s="initial",n="initial",l="",r="inherit",c="100%",a="rgba(0,0,0, 0.5)",d="50%",h="left";return l=!0===i.enabled?i.textColor?i.textColor:"":e.textColor?e.textColor:"",!0===t.customControlsColor.enabled&&(""!=t.customControlsColor.iconColor&&(o=t.customControlsColor.iconColor),""!=t.customControlsColor.backgroundColor&&(s=t.customControlsColor.backgroundColor)),""!=t.contentTextColor&&(n=t.contentTextColor),""!=t.contentLinkColor&&(r=t.contentLinkColor),""!=t.contentTextColumnWidth&&(c=`${t.contentTextColumnWidth}%`),"custom overlay"===t.overlay.showOverlay&&(""!=t.overlay.overlayColor&&(a=t.overlay.overlayColor),""!=t.overlay.overlayHeight&&(d=`${t.overlay.overlayHeight}%`)),"right"===t.textAlignment?h="right":"center"===t.textAlignment&&(h="center"),{"--icon-color":o,"--icon-background-color":s,"--content-color":n,"--mobile-content-color":l,"--content-link-color":r,"--content-width":c,"--overlay-color":a,"--overlay-height":d,"--text-alignment":h}}}}
1,M=(0,j.A)(W,[["render",function(t,e,i,n,l,r){const c=(0,o.g2)("IntroductionApp"),a=(0,o.g2)("title-and-description"),d=(0,o.g2)("slider-highlight-item"),h=(0,o.g2)("slick-slider-wrapper"),g=(0,o.g2)("block-wrapper");return(0,o.uX)(),(0,o.Wv)(g,{classList:"stripe-default-padding m-introduction one-pager-header-item",anchorId:i.configs.anchorId,blockStyles:{textColor:i.configs.blockStyles.contentTextColor,textAlign:i.configs.blockStyles.textAlignment,backgroundSettings:i.configs.blockStyles.backgroundSettings,paddingSettings:i.configs.blockStyles.paddingSettings},"data-header-id":i.configs.anchorId},{default:(0,o.k6)(()=>[(0,o.Lk)("div",s,[r.getIntroData.intro.enabled?((0,o.uX)(),(0,o.Wv)(c,{key:0,blockId:i.configs.blockId,locales:{opensInNewTab:i.locales.adaLabel}},null,8,["blockId","locales"])):r.cmsIntroBlock.enabled||t.isLoadingHotel?(0,o.Q3)("v-if",!0):((0,o.uX)(),(0,o.Wv)(a,{key:1,blockContent:{title:r.setGeneralTitle(),description:r.setGeneralDesc(),column:i.configs.dataIntroBlock.columnEnabled},blockStyles:{textColor:i.configs.dataIntroBlock.textColor,linkColor:i.configs.dataIntroBlock.linkColor,textAlign:i.configs.dataIntroBlock.textAlign}},null,8,["blockContent","blockStyles"]))]),t.isLoading?(0,o.Q3)("v-if",!0):((0,o.uX)(),(0,o.CE)("div",{key:0,class:"js-slider__wrapper",style:(0,o.Tr)(r.cssProps)},[(0,o.bF)(h,{configs:i.configs,sliderEventName:"custom-slider::mounted",sliderOptions:t.sliderOptions},{default:(0,o.k6)(()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(t.selectedData,t=>((0,o.uX)(),(0,o.Wv)(d,{key:t.id,data:t,configs:i.configs,locales:i.locales},null,8,["data","configs","locales"]))),128))],void 0,!0),_:1},8,["configs","sliderOptions"])],4))],void 0,!0),_:1},8,["anchorId","blockStyles","data-header-id"])}]])},5878(t,e,i){i.d(e,{A:()=>c});var o=i(1425);const s=["data-dots"];var n=i(5445);const{fireEvent:l}=n.Wp,r={name:"SingleSliderWrapper",props:{configs:{type:Object},sliderEventName:{type:String,required:!0},sliderOptions:{type:Object}},computed:{showDots(){return!!this.sliderOptions.dots&&this.sliderOptions.dots}},mounted(){this.$nextTick(()=>{let t=this.$refs.jsSlider;this.sliderOptions&&(t={element:this.$refs.jsSlider,options:this.sliderOptions}),l(this.sliderEventName,t)})}},c=(0,i(6262).A)(r,[["render",function(t,e,i,n,l,r){return(0,o.uX)(),(0,o.CE)("div",{class:"js-slider",ref:"jsSlider","data-dots":r.showDots},[(0,o.RG)(t.$slots,"default")],8,s)}]])},8434(t,e,i){i.d(e,{A:()=>c});var o=i(1425);const s=["id"];var n=i(5445);const{fireEvent:l}=n.Wp,r={name:"BlockWrapper",props:{classList:{type:String},blockStyles:{type:Object},anchorId:String},computed:{cssProps(){if(!this.blockStyles)return;const t=this.blockStyles;let e="",i="left",o="none",s="no-repeat",n="initial",l="initial",r=15,c=15,a=15,d=15,h=15,g=15;t.textColor&&(e=t.textColor),t.textAlign&&(i=t.textAlign);let p=t.backgroundSettings;p&&("color"===p.type?o=`${p.color}`:"picture"===p.type&&(o=`url('${p.image}')`,p.repeat?s="repeat":(s="no-repeat",n="center",l="cover")));let u=t.paddingSettings;return u&&(u.desktop?.enabled&&(u.desktop?.top&&(r=u.desktop.top),u.desktop?.bottom&&(c=u.desktop.bottom)),u.tablet?.enabled&&(u.tablet?.top&&(a=u.tablet.top),u.tablet?.bottom&&(d=u.tablet.bottom)),u.mobile?.enabled&&(u.mobile?.top&&(h=u.mobile.top),u.mobile?.bottom&&(g=u.mobile.bottom))),{"--base-content-color":e,"--base-content-alignment":i,"--wrapper-background":o,"--wrapper-background-repeat":s,"--wrapper-background-position":n,"--wrapper-background-size":l,"--wrapper-desktop-padding-top":r+"px","--wrapper-desktop-padding-bottom":c+"px","--wrapper-tablet-padding-top":a+"px","--wrapper-tablet-padding-bottom":d+"px","--wrapper-mobile-padding-top":h+"px","--wrapper-mobile-padding-bottom":g+"px"}},processedAnchorId(){if(this.anchorId)return this.removeSpecialCharactersAndSpaces(this.anchorId)}},methods:{removeSpecialCharactersAndSpaces:t=>t.replace(/[^a-zA-Z0-9]/g,"")},mounted(){document.body.classList.contains("header3")&&this.anchorId&&l("hc::block::mounted",{name:this.anchorId,anchorId:this.processedAnchorId})}}
1,c=(0,i(6262).A)(r,[["render",function(t,e,i,n,l,r){return(0,o.uX)(),(0,o.CE)("div",{id:r.processedAnchorId,class:(0,o.C4)(["block-wrapper common-component",i.classList]),style:(0,o.Tr)(r.cssProps)},[(0,o.RG)(t.$slots,"default")],14,s)}]])}}]);
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.