1"use strict";(self.tcthemejsonpFunction=self.tcthemejsonpFunction||[]).push([[5216],{1980(e,t,o){o.r(t),o.d(t,{default:()=>G});var i=o(1425);const n={key:0,class:"m-hero--top__overlay"},s=["data-text-alignment"],l=["data-autoplay"],a={key:0,id:"bm-horizontal-below-hero"},r={class:"m-hero--slide"},c={class:"ratio-content unit-media","aria-hidden":"true"},d=["innerHTML"],h={key:1,class:"video-background"},g=["innerHTML"],u={name:"HeroVideo",props:{item:{type:Object}},data:()=>({classList:""}),methods:{setClasses(){if(""!==this.item.video&&""!==this.item.videoTablet&&""!==this.item.videoMobile)return"has-all-videos";{let e="";return""!==this.item.video&&(e+=" has-desktop"),""!==this.item.videoTablet&&(e+=" has-tablet"),""!==this.item.videoMobile&&(e+=" has-mobile"),e}}}};var m=o(6262);const p=(0,m.A)(u,[["render",function(e,t,o,n,s,l){return(0,i.uX)(),(0,i.CE)("div",{class:(0,i.C4)(["m-hero__media",l.setClasses()])},[(0,i.Lk)("div",c,["1"===o.item.is_tvs?((0,i.uX)(),(0,i.CE)("div",{key:0,innerHTML:o.item.video},null,8,d)):((0,i.uX)(),(0,i.CE)("div",h,[(0,i.Lk)("div",{class:"video-foreground not-tvs",innerHTML:o.item.video},null,8,g)]))])],2)}]]),f={class:"m-hero__media"},b=["srcset"],v=["srcset"],y=["srcset"],k=["data-lazy","alt"],C={name:"HeroImage",props:{item:{type:Object}}},S=(0,m.A)(C,[["render",function(e,t,o,n,s,l){return(0,i.uX)(),(0,i.CE)("div",f,[(0,i.Lk)("picture",null,[""!==o.item.photoMobile?((0,i.uX)(),(0,i.CE)("source",{key:0,media:"(max-width: 767px)",srcset:o.item.photoMobile},null,8,b)):(0,i.Q3)("v-if",!0),""!==o.item.photoTablet?((0,i.uX)(),(0,i.CE)("source",{key:1,media:"(max-width: 1199px)",srcset:o.item.photoTablet},null,8,v)):(0,i.Q3)("v-if",!0),""!==o.item.photo?((0,i.uX)(),(0,i.CE)("source",{key:2,media:"(max-width: 767px)",srcset:o.item.photo},null,8,y)):(0,i.Q3)("v-if",!0),""!==o.item.photo?((0,i.uX)(),(0,i.CE)("img",{key:3,"data-lazy":o.item.photo,alt:o.item.photoTitle,src:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},null,8,k)):(0,i.Q3)("v-if",!0)])])}]]),x={class:"container"},L=["src","alt"],T={name:"HeroContentBannerImage",props:{configs:{type:Object},image:{type:Object}},computed:{getClassPosition(){return this.image.imagePosition}}},M={components:{HeroContentBannerImage:(0,m.A)(T,[["render",function(e,t,o,n,s,l){return(0,i.uX)(),(0,i.CE)("div",{class:(0,i.C4)(["banner",l.getClassPosition])},[(0,i.Lk)("img",{src:o.image.url,alt:o.image.url},null,8,L)],2)}]])},name:"HeroContentBanner",props:{configs:{type:Object},content:{type:Object}},methods:{getWrapperClasses(){let e="";return this.content.banner.enabled&&(e+=" banner-wrapper"),(this.content.title||this.content.subtitle)&&(e+=" image-only"),e}},computed:{isImageLeft(){return this.content.banner.image.enabled&&"left"===this.content.banner.image.imagePosition},isImageRight(){return this.content.banner.image.enabled&&"right"===this.content.banner.image.imagePosition}}},H=(0,m.A)(M,[["render",function(e,t,o,n,s,l){const a=(0,i.g2)("hero-content-banner-image");return(0,i.uX)(),(0,i.CE)("div",{class:(0,i.C4)(["m-hero--content__wrapper",l.getWrapperClasses()])},[l.isImageLeft?((0,i.uX)(),(0,i.Wv)(a,{key:0,configs:o.configs,image:o.content.banner.image},null,8,["configs","image"])):(0,i.Q3)("v-if",!0),(0,i.RG)(e.$slots,"default"),l.isImageRight?((0,i.uX)(),(0,i.Wv)(a,{key:1,configs:o.configs,image:o.content.banner.image},null,8,["configs","image"])):(0,i.Q3)("v-if",!0)],2)}]]),A={class:"hero-title m-hero--content-title",role:"heading","aria-level":"1"},w={class:"m-hero--content-subtitle hero-subtitle",role:"heading","aria-level":"1"},_={class:"m-hero--content-text hero-text",role:"heading","aria-level":"1"},E={components:{ButtonLink:o(3445).A},name:"HeroContentSimple",props:{configs:{type:Object},content:{type:Object}}},I={components:{HeroContentBanner:H,HeroContentSimple:(0,m.A)(E,[["render",function(e,t,o,n,s,l){const a=(0,i.g2)("button-link");return(0,i.uX)(),(0,i.CE)("div",null,[(0,i.Lk)("div",A,(0,i.v_)(o.content.title),1),(0,i.Lk)("div",w,(0,i.v_)(o.content.subtitle),1),(0,i.Lk)("div",_,(0,i.v_)(o.content.text),1),o.content.enableButton?((0,i.uX)(),(0,i.Wv)(a,{key:0,class:"m-hero--content-btn",type:"link-only",linkData:{title:o.content.linkLabel,href:o.content.link,style:o.content.buttonStyle}},null,8,["linkData"])):(0,i.Q3)("v-if",!0)])}]])},name:"HeroContent",props:{configs:{type:Object},item:{type:Object},textValign:{type:String},topForHeroText:{type:String,default:""}},methods:{getWrapperClasses(){let e="";return this.item.content.banner.enabled&&(e+=" banner-wrapper"),(this.item.content.title||this.item.content.subtitle)&&(e+=" image-only"),e},heightFromLogo(){if("Top"==this.textValign){const e=document.querySelector(".js-
1header-logo-height");return e?.naturalHeight>200?"space-from-logo":""}},heroTextAlignment(){let e="";return e=""!==props.textValign?`text-valign-${props.textValign.toLocaleLowerCase()}`:"text-valign-bottom",e}},computed:{hasBanner(){return this.item.content.banner.enabled}}},X={components:{HeroVideo:p,HeroImage:S,HeroContent:(0,m.A)(I,[["render",function(e,t,o,n,s,l){const a=(0,i.g2)("hero-content-simple"),r=(0,i.g2)("hero-content-banner");return(0,i.uX)(),(0,i.CE)("div",{class:(0,i.C4)(["m-hero--content banner-content",l.heroTextAlignment(),l.heightFromLogo()]),style:(0,i.Tr)({top:o.topForHeroText})},[(0,i.Lk)("div",x,[l.hasBanner?((0,i.uX)(),(0,i.Wv)(r,{key:0,configs:o.configs,content:o.item.content},{default:(0,i.k6)(()=>[(0,i.bF)(a,{configs:o.configs,content:o.item.content},null,8,["configs","content"])],void 0,!0),_:1},8,["configs","content"])):((0,i.uX)(),(0,i.CE)("div",{key:1,class:(0,i.C4)(["m-hero--content__wrapper",l.getWrapperClasses()])},[(0,i.bF)(a,{configs:o.configs,content:o.item.content},null,8,["configs","content"])],2))])],6)}]])},name:"HeroSlide",props:{configs:{type:Object},item:{type:Object},topForHeroText:{type:String,default:""}},computed:{hasVideo(){return this.item.has_video},hasSlideContent(){return this.item.content.enabled},overlayStyles(){if(!this.configs.sliderOverlay?.custom&&this.configs.sliderOverlay?.customColor&&this.configs.sliderOverlay?.customHeight)return;const{customColor:e,customHeight:t}=this.configs.sliderOverlay;let o="",i="";return e&&(o=`linear-gradient(to bottom, rgba(0, 0, 0, 0), ${e})`),t&&(i=`${t}px`),{"background-image":o,height:i}}}},F=(0,m.A)(X,[["render",function(e,t,o,n,s,l){const a=(0,i.g2)("hero-video"),c=(0,i.g2)("hero-image"),d=(0,i.g2)("hero-content");return(0,i.uX)(),(0,i.CE)("div",r,[l.hasVideo?((0,i.uX)(),(0,i.Wv)(a,{key:0,item:o.item},null,8,["item"])):((0,i.uX)(),(0,i.Wv)(c,{key:1,item:o.item},null,8,["item"])),l.hasSlideContent?((0,i.uX)(),(0,i.Wv)(d,{key:2,configs:o.configs,item:o.item,textValign:o.configs.blockSettings.textVerticalAlignment,topForHeroText:o.topForHeroText},null,8,["configs","item","textValign","topForHeroText"])):(0,i.Q3)("v-if",!0),o.configs?.sliderOverlay?.enabled?((0,i.uX)(),(0,i.CE)("div",{key:3,class:"m-hero--slide__overlay",style:(0,i.Tr)(l.overlayStyles)},null,4)):(0,i.Q3)("v-if",!0)])}]]),P={class:"scroll-container"},W=["role","tabindex"],B=["role","tabindex"],Q=["role","tabindex"],V={name:"HeroScrollFunction",props:{configs:{type:Object}},data:()=>({classList:""}),computed:{showSingleArrow(){return"Arrow"===this.configs.animation},showMouse(){return"Mouse"===this.configs.animation},showMultipleArrows(){return"Arrows"===this.configs.animation},hasClickToScroll(){return this.configs.clickFunction?"click-to-scroll":""},hasScrollText(){return""!==this.configs.text},arrowStyle(){return""!==this.configs.color?`color: ${this.configs.color};`:""},arrowsStyle(){return""!==this.configs.color?`border-right: 2px solid ${this.configs.color}; border-bottom: 2px solid ${this.configs.color};`:""},textStyle(){return""!==this.configs.textColor?`color: ${this.configs.textColor};`:""},hasRole(){return this.configs.clickFunction?"button":"none"},hasTabIndex(){return this.configs.clickFunction?"0":"-1"}}},O=(0,m.A)(V,[["render",function(e,t,o,n,s,l){return(0,i.uX)(),(0,i.CE)("div",P,[l.showSingleArrow?((0,i.uX)(),(0,i.CE)("div",{key:0,class:(0,i.C4)(["scroll-arrow-type",l.hasClickToScroll]),role:l.hasRole,tabindex:l.hasTabIndex},[((0,i.uX)(),(0,i.CE)("svg",{class:"icon icon-arrow-bottom",style:(0,i.Tr)(l.arrowStyle)},[...t[0]||(t[0]=[(0,i.Lk)("use",{href:"#icon-arrow-bottom"},null,-1)])],4)),l.hasScrollText?((0,i.uX)(),(0,i.CE)("span",{key:0,class:"scroll-text",style:(0,i.Tr)(l.textStyle)},(0,i.v_)(o.configs.text),5)):(0,i.Q3)("v-if",!0)],10,W)):l.showMouse?((0,i.uX)(),(0,i.CE)("div",{key:1,class:(0,i.C4)(["scroll-mouse-type",l.hasClickToScroll]),role:l.hasRole,tabindex:l.hasTabIndex},[t[1]||(t[1]=(0,i.Lk)("span",{class:"scroll-oval"},null,-1)),l.hasScrollText?((0,i.uX)(),(0,i.CE)("span",{key:0,class:"scroll-text",style:(0,i.Tr)(l.textStyle)},(0,i.v_)(o.configs.text),5)):(0,i.Q3)("v-if",!0)],10,B)):l.showMultipleArrows?((0,i.uX)(),(0,i.CE)("div",{key:2,class:(0,i.C4)(["scroll-arrows-type",l.hasClickToScroll]),role:l.hasRole,tabindex:l.hasTabIndex},[l.hasScrollText?((0,i.uX)(),(0,i.CE)("span",{key:0,class:"scroll-text",style:(0,i.Tr)(l.textStyle)},(0,i.v_)(o.configs.text),5)):(0,i.Q3)("v-if",!0),(0,i.Lk)("div",null,[(0,i.Lk)("span",{class:"scroll-arrows one",style:(0,i.Tr)(l.arrowsStyle)},null,4),(0,i.Lk)("span",{class:"scroll-arrows two",style:(0,i.Tr)(l.arrowsStyle)},null,4),(0,i.Lk)("span",{class:"scroll-arrows three",style:(0,i.Tr)(l.arrowsStyle)},null,4)])],10,Q)):(0,i.Q3)("v-if",!0)])}]]);
1var $=o(8972),j=o(7945),z=o(8012);const{fireEvent:q}=$.Wp,R={components:{HeroSlide:F,HeroScrollFunction:O},name:"HeroSlider",props:{configs:{type:Object,required:!0},dataModel:{type:Array}},mixins:[z.A],data:()=>({heroClassList:"",dynamicTopHeight:null}),methods:{setClasses(){"Short hero"===this.configs.heroSize?this.heroClassList=this.heroClassList+" m-hero_short":"Fullsize"===this.configs.heroSize&&(this.heroClassList=this.heroClassList+" m-hero--fullscreen","no cropping"===this.configs.blockSettings.verticalAlignment&&(this.heroClassList=this.heroClassList+" valign-no-cropping")),"no cropping"===this.configs.blockSettings.verticalAlignmentMobile&&(this.heroClassList=this.heroClassList+" mobile-valign-no-cropping"),""!==this.configs.blockSettings.verticalAlignment&&"no cropping"!==this.configs.blockSettings.verticalAlignment&&(this.heroClassList=this.heroClassList+` valign-${this.configs.blockSettings.verticalAlignment}`),""!==this.configs.blockSettings.verticalAlignmentMobile&&"no cropping"!==this.configs.blockSettings.verticalAlignmentMobile&&(this.heroClassList=this.heroClassList+` mobile-valign-${this.configs.blockSettings.verticalAlignmentMobile}`)},getTopValueForCenter(e,t,o,i,n,s=0){let l=0;return l=0==e&&0==t?o+s:o+s-(0==t?(i+n)/2:0),`calc(50% - ${l}px)`}},computed:{hasHeaderOverlay(){return this.configs.blockSettings.headerOverlay.enabled},hasScrollFunction(){return"Fullsize"===this.configs.heroSize&&this.configs.scrollDownAnimation.enabled},getTextAlignment(){return this.configs.blockSettings.textAlignment},getAutoPlay(){return this.configs.sliderAutoplay},cssProps(){if(!this.configs.blockSettings)return;const{verticalAlignment:e,noCroppingBG:t,noCroppingBGImg:o,noCroppingBGColor:i,headerOverlay:n,marginBottom:s}=this.configs.blockSettings,{enabled:l,color:a}=this.configs.scrollDownAnimation,{enabled:r,overlayColor:c,gradientHeight:d}=n;let h=("Short hero"===this.configs.heroSize||"Fullsize"===this.configs.heroSize)&&"no cropping"===e,g="rgba(0, 0, 0, 0.5)",u="200px",m="",p="",f="",b="30px";return c&&r&&(g=c),d&&r&&(u=d+"px"),"picture"===t&&h&&(m=o),"picture"!==t&&h&&(p=i),""!==a&&l&&(f=a),s&&(b=`${s}px`),{"--hero-overlay-color":g,"--hero-overlay-height":u,"--hero-no-cropping-bg-img":m,"--hero-no-cropping-bg-color":p,"--hero-scroll-color":f,"--hero-margin-bottom":b}},hasNoHero(){return"No hero"==this.configs.heroType}},created(){this.setClasses()},mounted(){this.$nextTick(()=>{q("hero-component::mounted"),j.A.getBMBelow()}),this.$nextTick(()=>{const e=document.querySelector(".js-header-height")?.offsetHeight,t=document.querySelector(".secondary-navigation")?.offsetHeight,o=document.querySelector(".advance-secondary-navigation")?.offsetHeight,i=document.querySelector(".headerAdvanced"),n=document.querySelector(".cta-bottom-located"),s=document.querySelector(".bm--area-search"),l=document.querySelector(".hotel-plus-air"),a=document.querySelector(".bm-is-horizontal"),r=document.querySelector(".bm-is-long-layout-full-width"),c=document.querySelector(".bm-is-large-layout"),d=getComputedStyle(document.documentElement).getPropertyValue("--secondary-navigation-opacity"),h=getComputedStyle(document.documentElement).getPropertyValue("--header-opacity"),g=document.querySelector(".bm-box--vertical"),u=document.querySelector(".bm__button-only");if("Center"==this.configs.blockSettings.textVerticalAlignment&&(a&&(r||c)||g||u)&&!this.isMobile()&&0==d&&(this.dynamicTopHeight=`calc(50% + ${0==h?"":(e+(i?o:t))/2}px)`),"Center"==this.configs.blockSettings.textVerticalAlignment&&"tablet"==this.deviceByBreakPoints()&&s&&l&&0==d&&(this.dynamicTopHeight=`calc(50% + ${0==h?"":(e+t)/2}px)`),"Center"==this.configs.blockSettings.textVerticalAlignment&&(s||l)&&!this.isMobile()){const n=document.querySelector(".bm-as__full-inner"),a=document.querySelector(".bm-as__top-bar"),r=document.querySelector(".m-hero"),c=n?.getBoundingClientRect(),g=r?.getBoundingClientRect(),u=Math.max(c?.top,g?.top),m=Math.min(c?.bottom,g?.bottom)-u;if(i)this.dynamicTopHeight=this.getTopValueForCenter(h,d,m/2,e,o,a?.offsetHeight/2),s&&!l&&(this.dynamicTopHeight=this.getTopValueForCenter(h,d,m/2,e,o)),"tablet"!=this.deviceByBreakPoints()||s&&!l||(this.dynamicTopHeight=this.getTopValueForCenter(h,d,m/2,e,o,a?.offsetHeight/2),l&&s&&(this.dynamicTopHeight=this.getTopValueForCenter(h,d,m/2,e,o,a?.offsetHeight/4)));else if(m>0){const o=m/2+a?.offsetHeight/2;"Fullsize"==this.configs.heroSize?s&&l?(this.dynamicTopHeight=this.getTopValueForCenter(h,d,o,e,t),"tablet"==this.deviceByBreakPoints()&&(this.dynamicTopHeight=this.getTopValueForCenter(h,d,m/2,e,t,a?.offsetHeight/4))):(this.dynamicTopHeight=this.getTopValueForCenter(h,d,o-a?.offsetHeight/2,e,t),"tablet"==this.deviceByBreakPoints()&&(this.dynamicTopHeight=this.getTopValueForCenter(h,d,m,e,t,a?.offsetHeight/4))):(this.dynamicTopHeight=this.getTopValueForCenter(h,d,o,e,t),s&&!l&&(this.dynamicTopHeight=this.getTopValueForCenter(h,d,o-a?.offsetHeight/2,e,t),"tablet"==this.deviceByBreakPoints()&&(this.dynamicTopHeight=this.getTopValueForCenter(h,d,m,e,t,a?.offsetHeight/4))))}}
1const m=document.querySelector(".bm___collapsed-open"),p=document.querySelector(".bm-as__full-inner"),f=document.querySelector(".bm-collapsed-wrapper");if(i&&"Top"==this.configs.blockSettings.textVerticalAlignment&&this.isMobile())this.dynamicTopHeight=f&&!n?`calc(0% + ${f?.offsetHeight+e+40}px)`:`calc(0% + ${e+40}px)`;else if(i&&"Center"==this.configs.blockSettings.textVerticalAlignment&&this.isMobile())f&&!n?this.dynamicTopHeight=`calc(50% + ${s&&!l?"Fullsize"==configs.heroType?-(p?.offsetHeight/2-e/2):h>0?e/2:"":f?.offsetHeight/2+e/2}px)`:"Short hero"==this.configs.heroSize?this.dynamicTopHeight=`calc(50% + ${0==h?"":e/2}px)`:(this.dynamicTopHeight=`calc(50% + ${e/2+m?.offsetHeight/2}px)`,n&&(this.dynamicTopHeight=`calc(50% + ${0==h?"":e/2}px)`,s&&!l&&(this.dynamicTopHeight=`calc(50% - ${p?.offsetHeight/2-(0==h?0:e/2)}px)`)));else if("Center"==this.configs.blockSettings.textVerticalAlignment&&this.isMobile()&&s&&!l&&"Fullsize"==this.configs.heroSize){const e=document.querySelector(".bm-as__inner");this.dynamicTopHeight=`calc( 50% - ${null==e?p?.offsetHeight/2:e?.offsetHeight/2}px)`}})}},D=(0,m.A)(R,[["render",function(e,t,o,r,c,d){const h=(0,i.g2)("hero-scroll-function"),g=(0,i.g2)("hero-slide");return(0,i.uX)(),(0,i.CE)(i.FK,null,[(0,i.Lk)("div",{class:(0,i.C4)(["m-hero",e.heroClassList]),style:(0,i.Tr)(d.cssProps)},[d.hasHeaderOverlay?((0,i.uX)(),(0,i.CE)("div",n)):(0,i.Q3)("v-if",!0),t[1]||(t[1]=(0,i.Lk)("div",{class:"container"},[(0,i.Lk)("div",{id:"bm-hero-container"})],-1)),(0,i.Lk)("div",{class:"js-slider__wrapper","data-text-alignment":d.getTextAlignment},[d.hasScrollFunction?((0,i.uX)(),(0,i.Wv)(h,{key:0,configs:o.configs.scrollDownAnimation},null,8,["configs"])):(0,i.Q3)("v-if",!0),(0,i.Lk)("div",{class:"m-hero--slider js-slider-hero","data-pagination":"true","data-autoplay":d.getAutoPlay},[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(o.dataModel,(t,n)=>((0,i.uX)(),(0,i.Wv)(g,{configs:o.configs,key:t.id,item:t,index:n,topForHeroText:e.dynamicTopHeight},null,8,["configs","item","index","topForHeroText"]))),128))],8,l),t[0]||(t[0]=(0,i.Lk)("div",{class:"container"},[(0,i.Lk)("div",{class:"m-hero-play-wrapper"},[(0,i.Lk)("div",{class:"m-hero--play clearfix"},[(0,i.Lk)("div",{class:"js-slider__insert-grouped-actions"})])])],-1))],8,s),t[2]||(t[2]=(0,i.Lk)("div",{id:"bm-horizontal-hero",class:"hidden"},null,-1))],6),d.hasNoHero?(0,i.Q3)("v-if",!0):((0,i.uX)(),(0,i.CE)("div",a))],64)}]]);var N=o(2637);const K={components:{HeroSlider:D},name:"OnePagerHeroApp",props:{configs:{type:Object,required:!0}},mixins:[N.A],data:()=>({hotelInfo:null,calloutInfo:null,isLoadingHotel:!0,isLoadingCallout:!0,isLoadingSliderModel:!0,sliderModel:[],animationSettings:{type:"",start:"",pages:""}}),computed:{hasHero(){return"No hero"!==this.configs.heroSize},animationsClass(){if(!this.animationSettings.type)return;const e="1"===window.isHome;if("All Pages"===this.animationSettings.pages||"Homepage"===this.animationSettings.pages&&e)switch(this.animationSettings.start){case"Bounce":return"hero-bounce";case"Slow Zoom":return"hero-slowzoom"}}},mounted(){this.getAnimationSettings()},methods:{async buildSliderModel(){for(let e=0;e<=this.calloutInfo.length-1;e++){let t=this.calloutInfo[e],o="",i=!1;t.videos.length&&(o=t.videos[0].video,i=t.videos[0].is_tvs);let n={hotel_id:t.hotel_id,has_video:t.has_video,is_tvs:i,video:o,videoTablet:"",videoMobile:"",photo:t.url,photoTablet:t.url_tablet,photoMobile:t.url_mobile,photoTitle:t.title,content:{enabled:!0,title:t.title,subtitle:t.sub_title,text:t.text,enableButton:this.configs.enableButton,buttonStyle:this.configs.buttonStyle,linkLabel:t.link_label,link:t.link,banner:{enabled:!1,image:{enabled:!1,url:"",imagePosition:"left",alt:""}}}};this.sliderModel.push(n)}},async filterSliderModel(){this.hotelInfo&&this.sliderModel&&(this.sliderModel=this.sliderModel.filter(e=>e.hotel_id===this.hotelInfo.id)),this.setSliderModelAsLoaded()},setSliderModelAsLoaded(){this.sliderModel.length>0&&(this.isLoadingSliderModel=!1)},getAnimationSettings(){const e=getComputedStyle(document.body),t=t=>e.getPropertyValue(t).replace(/^"(.*)"$/,"$1");this.animationSettings={type:"1"===t("--hero-animation-type"),start:t("--hero-animation-start"),pages:t("--hero-animation-pages")}}},async created(){this.fetchDynamicHotelData(),this.fetchDynamicCallOutData()},watch:{isLoadingCallout(){!this.isLoadingCallout&&this.calloutInfo&&(this.buildSliderModel(),this.filterSliderModel())},isLoadingHotel(){!this.isLoadingHotel&&this.hotelInfo&&this.filterSliderModel()}}},G=(0,m.A)(K,[["render",function(e,t,o,n,s,l){const a=(0,i.g2)("hero-slider");return!e.isLoadingSliderModel&&l.hasHero?((0,i.uX)(),(0,i.Wv)(a,{key:0,class:(0,i.C4)(l.animationsClass),configs:o.configs,dataModel:e.sliderModel},null,8,["class","configs","dataModel"])):(0,i.Q3)("v-if",!0)}]])},7329(e,t,o){o.r(t),o.d(t,{default:()=>W});var i=o(1425);const n={class:"container"};var s=o(2637),l=o(8434),a=o(8181);const r={class:"text-block"},c=["innerHTML"],d=["innerHTML"],h={class:"stripe__text cms-html-var"},g=["innerHTML"],u={key:0,class:"stripe__actions text-right"},m=["href","target"],p=["innerHTML"],f={class:"contact-details-container"},b={key:0,class:"m-event--filterPart-wrap"},v=["innerHTML"],y={key:1,class:"m-event--filterPart-wrap"},k=["innerHTML"],C={key:1,class:"m-event--filterPart-wrapInfo small-text"},S={key:0},x=["href"],L={key:1},T={key:2,class:"m-event--filterPart-wrap"},M={class:"m-event--filterPart-wrapInfo small-text email-wrapper"},H=["href"],A=["href"],w={name:"TextBlock",props:{dataModel:Object,locales:Object}};var _=o(6262);const E=(0,_.A)(w,[["render",function(e,t,o,n,s,l){return(0,i.uX)(),(0,i.CE)("div",r,[o.dataModel.hasTitle?((0,i.uX)(),(0,i.CE)("h3",{key:0,class:"h3 box__title-before",innerHTML:o.dataModel.title},null,8,c)):(0,i.Q3)("v-if",!0),o.dataModel.hasSubtitle?((0,i.uX)(),(0,i.CE)("h4",{key:1,class:"h3 stripe__subtitle",innerHTML:o.dataModel.subtitle},null,8,d)):(0,i.Q3)("v-if",!0),(0,i.Lk)("div",h,[(0,i.Lk)("span",{innerHTML:o.dataModel.contentText},null,8,g),o.dataModel.hasContentLink?((0,i.uX)(),(0,i.CE)("div",u,[(0,i.Lk)("div",null,[(0,i.Lk)("a",{href:o.dataModel.contentLink,target:o.dataModel.contentLinkTarget,class:"more-link custom-link-color"},(0,i.v_)(o.dataModel.contentLinkTitle),9,m)])])):(0,i.Q3)("v-if",!0)]),o.dataModel.hasContactTitle?((0,i.uX)(),(0,i.CE)("div",{key:2,class:"h4",innerHTML:o.dataModel.contactTitle},null,8,p)):(0,i.Q3)("v-if",!0),(0,i.Lk)("div",f,[o.dataModel.hasAddress?((0,i.uX)(),(0,i.CE)("div",b,[t[0]||(t[0]=(0,i.Lk)("svg",{class:"icon icon-marker","aria-hidden":"true"},[(0,i.Lk)("use",{href:"#icon-marker"})],-1)),(0,i.Lk)("div",{class:"m-event--filterPart-wrapInfo small-text",innerHTML:o.dataModel.address},null,8,v)])):(0,i.Q3)("v-if",!0),o.dataModel.hasPhoneNumber?((0,i.uX)(),(0,i.CE)("div",y,[t[1]||(t[1]=(0,i.Lk)("svg",{class:"icon icon-phone",role:"presentation","aria-hidden":"true"},[(0,i.Lk)("use",{href:"#icon-phone"})],-1)),o.dataModel.isPhoneWYSIWIG?((0,i.uX)(),(0,i.CE)("div",{key:0,class:"m-event--filterPart-wrapInfo small-text",innerHTML:o.dataModel.phoneNumber},null,8,k)):((0,i.uX)(),(0,i.CE)("div",C,[o.dataModel.hasPhoneNumber?((0,i.uX)(),(0,i.CE)("span",S,[(0,i.eW)((0,i.v_)(o.locales.phoneNumber)+" ",1),(0,i.Lk)("a",{href:`tel:${o.dataModel.phoneNumber}`},(0,i.v_)(o.dataModel.phoneNumber),9,x)])):(0,i.Q3)("v-if",!0),o.dataModel.hasFaxNumber?((0,i.uX)(),(0,i.CE)("span",L,(0,i.v_)(o.locales.faxNumber)+" "+(0,i.v_)(o.dataModel.faxNumber),1)):(0,i.Q3)("v-if",!0)]))])):(0,i.Q3)("v-if",!0),o.dataModel.hasEmail?((0,i.uX)(),(0,i.CE)("div",T,[t[2]||(t[2]=(0,i.Lk)("svg",{class:"icon icon-mail","aria-hidden":"true"},[(0,i.Lk)("use",{href:"#icon-mail"})],-1)),(0,i.Lk)("div",M,[(0,i.Lk)("a",{href:`mailto:${o.dataModel.email}`,class:"custom-link-color"}
1,(0,i.v_)(o.dataModel.email),9,H),o.dataModel.hasSecondEmail?((0,i.uX)(),(0,i.CE)("a",{key:0,href:`mailto:${o.dataModel.secondEmail}`,class:"custom-link-color"},(0,i.v_)(o.dataModel.secondEmail),9,A)):(0,i.Q3)("v-if",!0)])])):(0,i.Q3)("v-if",!0)])])}]]);var I=o(4208),X=o(443),F=o(8012);const P={name:"TextMapApp",mixins:[s.A,F.A],components:{BlockWrapper:l.A,IntroductionApp:I.default,MapWithDirections:a.A,TextBlock:E,EmbedHTML:X.A},props:{configs:Object},setup(e){const t=(0,i.KR)(null),o=(0,i.KR)(null),n=(0,i.KR)(!0),s=(0,i.KR)(!0),l=(0,i.KR)(!0),a=(0,i.KR)({}),r=(0,i.KR)([]),c=(0,i.EW)(()=>window.locales?.[e.configs.blockId]||{}),d=(0,i.EW)(()=>window.textblock?.[e.configs.blockId]||{}),h=(0,i.EW)(()=>window.mapSettings[e.configs.blockId]||{}),g=(0,i.EW)(()=>e.configs.blockStyles.isFullWidth?"full-width":"container"),u=(0,i.EW)(()=>"left"===d.value.mapPosition?"map-left":"map-right"),m=(0,i.EW)(()=>{const e=d.value.style;let t="",o="",i="";return e.hasTextColor&&(t=e.textColor),e.hasTextLinkColor&&(o=e.textLinkColor),e.hasContactIconColor&&(i=e.contactIconColor),{"--text-map-color":t,"--text-map-link-color":o,"--text-map-icon-color":i}}),p=(0,i.EW)(()=>"right"===d.value.mapPosition),f=(0,i.EW)(()=>"left"===d.value.mapPosition),b=(0,i.EW)(()=>window.staticMapEmbedCode[e.configs.blockId]||"");return{hotelsInfo:t,poisInfo:o,isLoadingHotels:n,isLoadingPois:s,isLoadingMarkers:l,selectedHotel:a,markers:r,getLocales:c,textblock:d,mapSettings:h,contentWidth:g,textMapClass:u,cssProps:m,showMapRight:p,showMapLeft:f,getStaticMapEmbedCode:b,collectHotelMarker:()=>{t.value.map(t=>{if(t.latitude&&t.longitude){const o=parseFloat(t.latitude),i=parseFloat(t.longitude);o&&i&&(t.type="hotel",r.value.push({position:{lat:o,lng:i},optimized:!1,title:t.name,type:"hotel",categoryId:0,customIcon:t.map_direction_logo_url,infoWindowContent:t}),t.id===parseInt(e.configs.selectedHotelId)&&(a.value={lat:o,lng:i}))}})},collectPoiMarker:()=>{h.value?.showPoi&&o.value.map(e=>{if(e.latitude&&e.longitude){const t=parseFloat(e.latitude),o=parseFloat(e.longitude);t&&o&&(e.type="poi",r.value.push({position:{lat:t,lng:o},optimized:!1,title:e.name,type:"poi",categoryId:parseInt(e.category.id),customIcon:e.category.pin,infoWindowContent:e}))}})},getTextBlockDataModel:()=>{if(null!==t.value&&d.value.useModuleContent&&e.configs.selectedHotelId.length){const e=t.value[0];return{hasTitle:e.transportation_short_description.length,title:e.transportation_short_description,hasSubtitle:!1,contentText:e.transportation_long_description,hasContentLink:d.value.hasContentLink,contentLink:d.value.contentLink,contentLinkTarget:d.value.contentLinkTarget,contentLinkTitle:d.value.contentLinkTitle,hasContactTitle:!0,contactTitle:e.name,hasAddress:e.full_address.length,address:e.full_address,isPhoneWYSIWIG:!1,hasPhoneNumber:!(!e.telephone.length&&!e.telephone.toString().length),phoneNumber:e.telephone,hasFaxNumber:!(!e.fax_number.length&&!e.fax_number.toString().length),faxNumber:e.fax_number,hasEmail:e.email.length,email:e.email,hasSecondEmail:e.email_2.length,secondEmail:e.email_2}}return d.value}}},async created(){await this.fetchDynamicHotelsData(),await this.fetchDynamicPoisData(),await this.collectHotelMarker(),await this.collectPoiMarker(),this.isLoadingMarkers=!1}},W=(0,_.A)(P,[["render",function(e,t,o,s,l,a){const r=(0,i.g2)("IntroductionApp"),c=(0,i.g2)("map-with-directions"),d=(0,i.g2)("EmbedHTML"),h=(0,i.g2)("text-block"),g=(0,i.g2)("block-wrapper");return!s.isLoadingHotels&&s.getLocales?((0,i.uX)(),(0,i.Wv)(g,{key:0,classList:"stripe-default-padding",blockStyles:{textColor:o.configs.blockStyles.textColor,textAlign:o.configs.blockStyles.textAlignment,backgroundSettings:o.configs.blockStyles.backgroundSettings,paddingSettings:o.configs.blockStyles.paddingSettings},anchorId:o.configs.anchorId,"data-header-id":o.configs.anchorId},{default:(0,i.k6)(()=>[(0,i.Lk)("div",n,[o.configs.showIntro?((0,i.uX)(),(0,i.Wv)(r,{key:0,blockId:o.configs.blockId,locales:{opensInNewTab:s.getLocales.opensInNewTab},class:"container"},null,8,["blockId","locales"])):(0,i.Q3)("v-if",!0),(0,i.Lk)("div",{class:(0,i.C4)(s.contentWidth)},[(0,i.Lk)("div",{class:(0,i.C4)(["text-map",s.textMapClass])},[!s.isLoadingMarkers&&s.showMapLeft&&"Dynamic Map"==s.mapSettings.type?((0,i.uX)(),(0,i.Wv)(c,{key:0,mapSettings:s.mapSettings,markers:s.markers,locales:s.getLocales,selectedHotel:s.selectedHotel},null,8,["mapSettings","markers","locales","selectedHotel"])):s.showMapLeft?((0,i.uX)(),(0,i.Wv)(d,{key:1,class:"static-map",code:s.getStaticMapEmbedCode},null,8,["code"])):(0,i.Q3)("v-if",!0),(0,i.bF)(h,{dataModel:s.getTextBlockDataModel(),locales:s.getLocales,style:(0,i.Tr)(s.cssProps)},null,8,["dataModel","locales","style"]),!s.isLoadingMarkers&&s.showMapRight&&"Dynamic Map"==s.mapSettings.type?((0,i.uX)(),(0,i.Wv)(c,{key:2,mapSettings:s.mapSettings,markers:s.markers,locales:s.getLocales,selectedHotel:s.selectedHotel},null,8,["mapSettings","markers","locales","selectedHotel"])):s.showMapRight?((0,i.uX)(),(0,i.Wv)(d,{key:3,class:"static-map",code:s.getStaticMapEmbedCode}
1,null,8,["code"])):(0,i.Q3)("v-if",!0)],2)],2)])],void 0,!0),_:1},8,["blockStyles","anchorId","data-header-id"])):(0,i.Q3)("v-if",!0)}]])}}]);
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.