1"use strict";(self.tcthemejsonpFunction=self.tcthemejsonpFunction||[]).push([[1460],{4962(t,e,n){n.r(e),n.d(e,{default:()=>q});var s=n(1425);const i={class:"container"};var l=n(8972),o=n(8434),r=n(3926),a=n(4208),c=n(5878);const d={key:0,class:"js-module-item"},u={class:"slider-item-wrapper"},h={class:"one-pager-single-slider-content"},m={key:0,class:"m-detail--name"},p=["innerHTML"],g={class:"m-detail"},k={key:1,class:"m-detail--schedule"},f=["data-text-alignment"],b=["innerHTML"],v={key:2,class:"m-detail--contact"},y=["data-text-alignment"],S=["href"],A={class:"m-detail--contact_phoneContent"},x=["href"],C=["data-text-alignment"],L=["href"],_={class:"m-detail--contact_addressContent"},I=["href"];var w=n(9554);const E={class:"m-link-list",style:{"margin-top":"0"}},B={class:"m-link-list--contain"},O=["href"],D={class:"sr-only"},X={name:"Documents",props:{documents:Array,locales:Object}};var j=n(6262);const T=(0,j.A)(X,[["render",function(t,e,n,i,l,o){return(0,s.uX)(),(0,s.CE)("div",E,[(0,s.Lk)("div",B,[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(n.documents,t=>((0,s.uX)(),(0,s.CE)("a",{href:t.url,target:"_blank",class:"m-link-list--link",key:t.id},[e[0]||(e[0]=(0,s.Lk)("svg",{class:"icon icon-download-arrow"},[(0,s.Lk)("use",{href:"#icon-download-arrow"})],-1)),(0,s.eW)(" "+(0,s.v_)(t.titre)+" ",1),(0,s.Lk)("span",D,(0,s.v_)(n.locales.opensInNewTab),1)],8,O))),128))])])}]]);var P=n(3445);const Q={class:"one-pager-single-slider-media ratio-4-3"},H={class:"ratio-content"},R=["srcset","data-lazy","alt"],z={name:"SingleSliderItemMedia",props:{photo:{type:Object}},data:()=>({srcSet381:"",srcSet928:"",srcSet1140:""}),computed:{getSrcSet(){return`${this.srcSet381} 381w,${this.srcSet928} 928w, ${this.srcSet1140} 1140w`}},mounted(){this.srcSet381=GalaxyHelpers.resizeImg(this.photo.url_standard,381),this.srcSet928=GalaxyHelpers.resizeImg(this.photo.url_standard,928),this.srcSet1140=GalaxyHelpers.resizeImg(this.photo.url_standard,1140)}},W=(0,j.A)(z,[["render",function(t,e,n,i,l,o){return(0,s.uX)(),(0,s.CE)("div",Q,[(0,s.Lk)("div",H,[(0,s.Lk)("picture",null,[(0,s.Lk)("img",{srcset:o.getSrcSet,sizes:"\n (max-width: 767px) 381px,\n (max-width: 1199px) 928px,\n (min-width: 1200px) 1140px\n ","data-lazy":n.photo.url_standard,src:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",alt:n.photo.alt},null,8,R)])])])}]]),N={name:"SingleSliderItemRestaurant",components:{Documents:T,ButtonLink:P.A,SingleSliderItemsMedia:W},props:{restaurant:{type:Object,required:!0},sliderBlock:{type:Object,required:!0},blockStyles:Object,locales:Object},computed:{showFeaturedOnly(){return!this.sliderBlock.featuredOnly||this.restaurant.is_featured},sanitizePhoneNumber(){return`tel:+${this.restaurant.telephone.replace(/[^\d]/g,"")}`},hasPhoto(){return this.restaurant.has_photo},hasButton(){return this.sliderBlock.buttonSettings.enabled&&this.restaurant.booking_engine_url.length&&this.sliderBlock.buttonSettings.title.length},buttonTitle(){return this.sliderBlock.buttonSettings.title},buttonStyle(){return this.sliderBlock.buttonSettings.style},hasDocuments(){return this.restaurant.restaurant_document.length},hasSchedule(){return this.restaurant.schedule.length},hasPhoneNumber(){return this.restaurant.telephone.length},hasEmail(){return this.restaurant.email.length},hasPhoneNumberOrEmail(){return this.restaurant.telephone.length||this.restaurant.email.length},classList(){let t=this.sliderBlock.buttonAlignment;return"left"===t?"textLeft":"right"===t?"textRight":"textCenter"},textAlignment(){let t=this.blockStyles;return t?.textAlignment?t?.textAlignment:"left"}},methods:{showShortDescFull(t){return this.sliderBlock.shortDescriptionFull?t:(0,w.A)(t,200,{html:!0,maxLines:5})}}},$=(0,j.A)(N,[["render",function(t,e,n,i,l,o){const r=(0,s.g2)("single-slider-items-media"),a=(0,s.g2)("button-link"),c=(0,s.g2)("documents");return o.showFeaturedOnly?((0,s.uX)(),(0,s.CE)("div",d,[(0,s.Lk)("div",u,[o.hasPhoto?((0,s.uX)(),(0,s.Wv)(r,{key:0,photo:this.restaurant.first_photo},null,8,["photo"])):(0,s.Q3)("v-if",!0),(0,s.Lk)("div",h,[""!==n.restaurant.name?((0,s.uX)(),(0,s.CE)("h4",m,(0,s.v_)(n.restaurant.name),1)):(0,s.Q3)("v-if",!0),""!==n.restaurant.short_description?((0,s.uX)(),(0,s.CE)("div",{key:1,class:"m-content-object--content",innerHTML:o.showShortDescFull(n.restaurant.short_description)},null,8,p)):(0,s.Q3)("v-if",!0),o.hasButton?((0,s.uX)(),(0,s.CE)("div",{key:2,class:(0,s.C4)(["m-detail--button",o.classList])},[(0,s.bF)(a,{type:"link-only",linkData:{title:o.buttonTitle,href:n.restaurant.booking_engine_url,style:o.buttonStyle}},null,8,["linkData"])],2)):(0,s.Q3)("v-if",!0),(0,s.Lk)("div",g,[o.hasDocuments?((0,s.uX)(),(0,s.Wv)(c,{key:0,documents:n.restaurant.restaurant_document,locales:n.locales},null,8,["documents","locales"])):(0,s.Q3)("v-if",!0),o.hasSchedule?((0,s.uX)(),(0,s.CE)("div",k,[(0,s.Lk)("div",{class:"m-detail--scheduleWrap","data-text-alignment":o.textAlignment},[e[0]||(e[0]=(0,s.Lk)("svg",{class:"icon icon-clock"},[(0,s.Lk)("use",{href:"#icon-clock"})],-1)),(0,s.Lk)("div",{class:"m-detail--scheduleContent",innerHTML:n.restaurant.schedule},null,8,b)],8,f)])):(0,s.Q3)("v-if",!0),o.hasPhoneNumberOrEmail?((0,s.uX)(),(0,s.CE)("div",v,[o.hasPhoneNumber?((0,s.uX)(),(0,s.CE)("div",{key:0,class:"m-detail--contact__item m-detail--contact_phone","data-text-alignment":o.textAlignment},[(0,s.Lk)("a",{href:o.sanitizePhoneNumber,class:"link-text"},[...e[1]||(e[1]=[(0,s.Lk)("svg",{class:"icon icon-phone",role:"presentation"},[(0,s.Lk)("use",{href:"#icon-phone",role:"presentation"})],-1)])],8,S),e[2]||(e[2]=(0,s.Lk)("div",{class:"m-detail--contact-divider"},null,-1)),(0,s.Lk)("div",A,[(0,s.Lk)("a",{href:o.sanitizePhoneNumber,class:"link-text"},(0,s.v_)(n.restaurant.telephone),9,x)])],8,y)):(0,s.Q3)("v-if",!0),o.hasEmail?((0,s.uX)(),(0,s.CE)("div",{key:1,class:"m-detail--contact__item m-detail--contact_address","data-text-alignment":o.textAlignment},[(0,s.Lk)("a",{href:"mailto:"+n.restaurant.email,class:"link-text"},[...e[3]||(e[3]=[(0,s.Lk)("svg",{class:"icon icon-mail"},[(0,s.Lk)("use",{href:"#icon-mail"})],-1)])],8,L),e[4]||(e[4]=(0,s.Lk)("div",{class:"m-detail--contact-divider"},null,-1)),(0,s.Lk)("div",_,[(0,s.Lk)("a",{href:"mailto:"+n.restaurant.email,class:"link-text"},(0,s.v_)(n.restaurant.email),9,I)])],8,C)):(0,s.Q3)("v-if",!0)])):(0,s.Q3)("v-if",!0)])])])])):(0,s.Q3)("v-if",!0)}]]);var F=n(2637);const{fireEvent:M}=l.Wp,G={components:{BlockWrapper:o.A,TitleAndDescription:r.A,IntroductionApp:a.default,SlickSliderWrapper:c.A,SingleSliderItemRestaurant:$},name:"onePagerSliderSingleItemApp",props:{configs:{type:Object,required:!0},locales:Object},mixins:[F.A],data:()=>({isLoadingBrand:!0,brandInfo:null,isLoadingHotel:!0,hotelInfo:null,restaurantsInfo:null,isLoadingRestaurants:!0,sliderOptions:{dots:!0},eventDispatchedBool:!1}),methods:{analyzeSettings(){this.configs&&(this.introDescription=window.introduction[this.configs.blockId])},handleRestaurantVisibility(t){t||this.eventDispatchedBool||(this.eventDispatchedBool=!0,M("hc::block::hide-no-data-to-show",this.configs.anchorId))}},computed:{cmsIntroBlock(){return window.introduction?.[this.configs.blockId].intro||{}},shouldShowRestaurants(){return this.restaurantsInfo?.length||this.cmsIntroBlock.enabled||1==this.hotelInfo?.restaurant_check&&(this.hotelInfo?.restaurant_short_description||this.hotelInfo?.restaurant_long_description)},imagePosition(){return"right"===this.configs.sliderBlock.imagePosition?"media-right":"media-left"},cssProps(){const t=this.configs.blockStyles;let e="",n="",s="",i="",l="no-repeat",o="initial",r="initial",a="2.7em",c="",d="",u="",h=t.contentBackgroun
1dSettings;h&&("color"===h.type?i=`${h.color}`:"picture"===h.type&&(i=`url('${h.image}')`,h.repeat?l="repeat":(l="no-repeat",o="center",r="cover"))),t.textColumnCustomPadding&&(a=`${t.textColumnCustomPadding}px`);let m=t.borderSettings;return m.enabled&&(c=m.width,d=m.color,u="solid"),t.textColor&&(e=t.textColor),t.iconColor&&(n=t.iconColor),t.linkColor&&(s=t.linkColor),{"--content-text-color":e,"--content-icon-color":n,"--content-link-color":s,"--content-background":i,"--content-background-repeat":l,"--content-background-position":o,"--content-background-size":r,"--content-padding":a,"--content-border-width":c,"--content-border-color":d,"--content-border-style":u}}},async created(){await this.fetchDynamicHotelData(),await this.fetchDynamicRestaurantsData(),this.$nextTick(()=>{null!==this.restaurantsInfo&&this.handleRestaurantVisibility(this.shouldShowRestaurants)})}},q=(0,j.A)(G,[["render",function(t,e,n,l,o,r){const a=(0,s.g2)("IntroductionApp"),c=(0,s.g2)("title-and-description"),d=(0,s.g2)("single-slider-item-restaurant"),u=(0,s.g2)("slick-slider-wrapper"),h=(0,s.g2)("block-wrapper");return r.shouldShowRestaurants?((0,s.uX)(),(0,s.Wv)(h,{key:0,classList:"stripe-default-padding one-pager-single-slider-item",blockStyles:{textColor:n.configs.blockStyles.textColor,textAlign:n.configs.blockStyles.textAlignment,backgroundSettings:n.configs.blockStyles.backgroundSettings,paddingSettings:n.configs.blockStyles.paddingSettings},anchorId:n.configs.anchorId,"data-header-id":n.configs.anchorId},{default:(0,s.k6)(()=>[(0,s.Lk)("div",i,[n.configs.showIntro?((0,s.uX)(),(0,s.Wv)(a,{key:0,blockId:n.configs.blockId,locales:{opensInNewTab:n.locales.adaLabel}},null,8,["blockId","locales"])):r.cmsIntroBlock.enabled||t.isLoadingHotel?(0,s.Q3)("v-if",!0):((0,s.uX)(),(0,s.Wv)(c,{key:1,blockContent:{title:t.hotelInfo.restaurant_short_description,description:t.hotelInfo.restaurant_long_description,column:n.configs.dataIntroBlock.columnEnabled},blockStyles:{textColor:n.configs.blockStyles.textColor,linkColor:n.configs.blockStyles.linkColor,textAlign:n.configs.dataIntroBlock.textAlign}},null,8,["blockContent","blockStyles"])),t.isLoadingRestaurants?(0,s.Q3)("v-if",!0):((0,s.uX)(),(0,s.CE)("div",{key:2,class:(0,s.C4)(["js-slider__wrapper m-slider-items",r.imagePosition]),style:(0,s.Tr)(r.cssProps)},[(0,s.bF)(u,{class:(0,s.C4)("slider--align-top"),sliderEventName:"custom-slider::mounted",sliderOptions:t.sliderOptions},{default:(0,s.k6)(()=>[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(t.restaurantsInfo,t=>((0,s.uX)(),(0,s.Wv)(d,{key:t.id,restaurant:t,sliderBlock:n.configs.sliderBlock,blockStyles:n.configs.blockStyles,locales:n.locales},null,8,["restaurant","sliderBlock","blockStyles","locales"]))),128))],void 0,!0),_:1},8,["sliderOptions"]),e[0]||(e[0]=(0,s.Lk)("div",{class:"js-slider__insert-grouped-actions full-width-controls"},null,-1))],6))])],void 0,!0),_:1},8,["blockStyles","anchorId","data-header-id"])):(0,s.Q3)("v-if",!0)}]])},3926(t,e,n){n.d(e,{A:()=>c});var s=n(1425);const i={key:0,class:"m-plain-text"},l=["data-align"],o=["innerHTML"],r=["innerHTML"],a={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="",n="",s="left";return t.textColor&&(e=t.textColor),t.linkColor&&(n=t.linkColor),t.textAlign&&(s=t.textAlign),{"--intro-content-color":e,"--intro-content-link-color":n,"--intro-content-text-alignment":s}}}},c=(0,n(6262).A)(a,[["render",function(t,e,n,a,c,d){return t.hasTitle||t.hasDescription?((0,s.uX)(),(0,s.CE)("div",i,[(0,s.Lk)("div",{class:(0,s.C4)(["m-plain-text--stripe cms-content common-component",t.columnClass]),style:(0,s.Tr)(d.cssProps),"data-align":t.textAlign},[t.hasTitle?((0,s.uX)(),(0,s.CE)("h2",{key:0,class:"h2 m-plain-text--title cms-item",tabindex:"0",innerHTML:n.blockContent.title},null,8,o)):(0,s.Q3)("v-if",!0),t.hasDescription?((0,s.uX)(),(0,s.CE)("div",{key:1,class:"m-plain-text--content cms-item cms-html-var cms-style-item",tabindex:"0",innerHTML:n.blockContent.description},null,8,r)):(0,s.Q3)("v-if",!0)],14,l)])):(0,s.Q3)("v-if",!0)}]])},5878(t,e,n){n.d(e,{A:()=>a});var s=n(1425);const i=["data-dots"];var l=n(8972);const{fireEvent:o}=l.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}),o(this.sliderEventName,t)})}},a=(0,n(6262).A)(r,[["render",function(t,e,n,l,o,r){return(0,s.uX)(),(0,s.CE)("div",{class:"js-slider",ref:"jsSlider","data-dots":r.showDots},[(0,s.RG)(t.$slots,"default")],8,i)}]])}}]);
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.