vendor: 5,043 bytes, line 1
1(self.tcthemejsonpFunction=self.tcthemejsonpFunction||[]).push([[4508],{6654(e,t,o){(t=o(6314)(!1)).push([e.id,'[data-v-108a6db0]:root{--safe-area-inset-top: 0px;--safe-area-inset-right: 0px;--safe-area-inset-bottom: 0px;--safe-area-inset-left: 0px;--theme-rem-multiply: 1.6}@supports(top: constant(safe-area-inset-top)){[data-v-108a6db0]:root{--safe-area-inset-top: constant(safe-area-inset-top);--safe-area-inset-right: constant(safe-area-inset-right);--safe-area-inset-bottom: constant(safe-area-inset-bottom);--safe-area-inset-left: constant(safe-area-inset-left)}}@supports(top: env(safe-area-inset-top)){[data-v-108a6db0]:root{--safe-area-inset-top: env(safe-area-inset-top);--safe-area-inset-right: env(safe-area-inset-right);--safe-area-inset-bottom: env(safe-area-inset-bottom);--safe-area-inset-left: env(safe-area-inset-left)}}.scroll-container[data-v-108a6db0]{position:absolute;left:50%;right:50%;bottom:2rem;z-index:4;cursor:pointer}.scroll-arrow-type[data-v-108a6db0]{text-align:center}.scroll-arrow-type .icon[data-v-108a6db0]{width:30px;height:30px}.scroll-mouse-type[data-v-108a6db0]{text-align:center}.scroll-mouse-type .scroll-oval[data-v-108a6db0]{display:block;width:30px;height:50px;border:2px solid currentColor;border-radius:15px;position:relative}.scroll-mouse-type .scroll-oval[data-v-108a6db0]::before{content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);width:6px;height:6px;background-color:currentColor;border-radius:50%;animation:scrollMouse-108a6db0 2s infinite}.scroll-arrows-type[data-v-108a6db0]{text-align:center}.scroll-arrows-type .scroll-arrows[data-v-108a6db0]{display:block;width:20px;height:20px;transform:rotate(45deg);margin:0 auto;animation:scrollArrows-108a6db0 2s infinite}.scroll-arrows-type .scroll-arrows.two[data-v-108a6db0]{animation-delay:.2s}.scroll-arrows-type .scroll-arrows.three[data-v-108a6db0]{animation-delay:.4s}.scroll-text[data-v-108a6db0]{display:block;margin-top:10px;font-size:14px}@keyframes scrollMouse-108a6db0{0%{opacity:1;transform:translateX(-50%) translateY(0)}100%{opacity:0;transform:translateX(-50%) translateY(20px)}}@keyframes scrollArrows-108a6db0{0%{opacity:0;transform:rotate(45deg) translate(-20px, -20px)}50%{opacity:1}100%{opacity:0;transform:rotate(45deg) translate(20px, 20px)}}',""]),e.exports=t},5072(e){"use strict";var t=[];function o(e){for(var o=-1,l=0;l<t.length;l++)if(t[l].identifier===e){o=l;break}return o}function l(e,l){for(var r={},s=[],n=0;n<e.length;n++){var a=e[n],c=l.base?a[0]+l.base:a[0],u=r[c]||0,d="".concat(c," ").concat(u);r[c]=u+1;var f=o(d),p={css:a[1],media:a[2],sourceMap:a[3],supports:a[4],layer:a[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var m=i(p,l);l.byIndex=n,t.splice(n,0,{identifier:d,updater:m,references:1})}s.push(d)}return s}function i(e,t){var o=t.domAPI(t);return o.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;o.update(e=t)}else o.remove()}}e.exports=function(e,i){var r=l(e=e||[],i=i||{});return function(e){e=e||[];for(var s=0;s<r.length;s++){var n=o(r[s]);t[n].references--}for(var a=l(e,i),c=0;c<r.length;c++){var u=o(r[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}r=a}}},7659(e){"use strict";var t={};e.exports=function(e,o){var l=function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}(e);if(!l)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");l.appendChild(o)}},540(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},2675(e,t,o){"use strict";e.exports=function(e){var t=o.nc;t&&e.setAttribute("nonce",t)}},7825(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(o){!function(e,t,o){var l="";o.supports&&(l+="@supports (".concat(o.supports,") {")),o.media&&(l+="@media ".concat(o.media," {"));var i=void 0!==o.layer;i&&(l+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),l+=o.css,i&&(l+="}"),o.media&&(l+="}"),o.supports&&(l+="}");var r=o.sourceMap;r&&"undefined"!=typeof btoa&&(l+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(l,e,t.options)}(t,e,o)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},585(e,t,o){"use strict";o.r(t),o.d(t,{default:()=>ee});var l=o(1425);const i={key:0,class:"m-hero--top__overlay"},r=["data-text-alignment"],s=["data-autoplay"],n={key:1,id:"bm-horizontal-below-hero"};
1var a=o(8972),c=o(7945),u=o(1797),d=o(9096);const f={name:"HeroScrollFunction",props:{configs:{type:Object,required:!0}},setup:e=>({scrollStyleComputed:(0,l.EW)(()=>({color:e.configs.scrollConfig.scrollTextColor?e.configs.scrollConfig.scrollTextColor:""})),scrollSVGStyleComputed:(0,l.EW)(()=>({color:e.configs.scrollConfig.scrollColor?e.configs.scrollConfig.scrollColor:""})),scrollAttributesComputed:(0,l.EW)(()=>"1"===e.configs.scrollConfig.scrollClickFunction?{role:"button",tabindex:"0",ariaLabel:e.configs.locales.scrollDown}:{}),scrollArrowStyleComputed:(0,l.EW)(()=>({borderRight:e.configs.scrollConfig.scrollColor?`2px solid ${e.configs.scrollConfig.scrollColor}`:"",borderBottom:e.configs.scrollConfig.scrollColor?`2px solid ${e.configs.scrollConfig.scrollColor}`:""})),onClickScrollDown:()=>{if("1"===e.configs.scrollConfig.scrollClickFunction){const e=document.querySelector(".m-hero")?.offsetHeight||0;window.scrollTo({top:e,behavior:"smooth"})}}})};var p=o(5072),m=o.n(p),g=o(7825),h=o.n(g),v=o(7659),y=o.n(v),b=o(2675),C=o.n(b),x=o(540),S=o.n(x),w=o(1113),k=o.n(w),R=o(8843),H=o.n(R),F={};F.styleTagTransform=k(),F.setAttributes=C(),F.insert=y().bind(null,"head"),F.domAPI=h(),F.insertStyleElement=S(),m()(H(),F),H()&&H().locals&&H().locals;var T=o(6262);const A=(0,T.A)(f,[["render",function(e,t,o,i,r,s){return"Fullsize"==o.configs.heroType&&"1"==o.configs.scrollConfig.showScrollFunction?((0,l.uX)(),(0,l.CE)("div",{key:0,class:"scroll-container",onClick:t[0]||(t[0]=(...e)=>i.onClickScrollDown&&i.onClickScrollDown(...e))},["Arrow"===o.configs.scrollConfig.scrollAnimation?((0,l.uX)(),(0,l.CE)("div",(0,l.v6)({ke
1y:0},i.scrollAttributesComputed,{class:["scroll-arrow-type","1"===o.configs.scrollConfig.scrollClickFunction?"click-to-scroll":""]}),[((0,l.uX)(),(0,l.CE)("svg",{class:"icon icon-arrow-bottom",style:(0,l.Tr)(i.scrollSVGStyleComputed)},[...t[1]||(t[1]=[(0,l.Lk)("use",{href:"#icon-arrow-bottom"},null,-1)])],4)),""!=o.configs.scrollConfig.scrollText?((0,l.uX)(),(0,l.CE)("span",{key:0,class:"scroll-text",style:(0,l.Tr)(i.scrollStyleComputed)},(0,l.v_)(o.configs.scrollConfig.scrollText),5)):(0,l.Q3)("v-if",!0)],16)):"Mouse"===o.configs.scrollConfig.scrollAnimation?((0,l.uX)(),(0,l.CE)("div",(0,l.v6)({key:1},i.scrollAttributesComputed,{class:["scroll-mouse-type","1"===o.configs.scrollConfig.scrollClickFunction?"click-to-scroll":""]}),[t[2]||(t[2]=(0,l.Lk)("span",{class:"scroll-oval"},null,-1)),""!=o.configs.scrollConfig.scrollText?((0,l.uX)(),(0,l.CE)("span",{key:0,class:"scroll-text",style:(0,l.Tr)(i.scrollStyleComputed)},(0,l.v_)(o.configs.scrollConfig.scrollText),5)):(0,l.Q3)("v-if",!0)],16)):"Arrows"===o.configs.scrollConfig.scrollAnimation?((0,l.uX)(),(0,l.CE)("div",(0,l.v6)({ke
1y:2},i.scrollAttributesComputed,{class:["scroll-arrows-type","1"===o.configs.scrollConfig.scrollClickFunction?"click-to-scroll":""]}),[""!=o.configs.scrollConfig.scrollText?((0,l.uX)(),(0,l.CE)("span",{key:0,class:"scroll-text",style:(0,l.Tr)(i.scrollStyleComputed)},(0,l.v_)(o.configs.scrollConfig.scrollText),5)):(0,l.Q3)("v-if",!0),(0,l.Lk)("div",null,[(0,l.Lk)("span",{class:"scroll-arrows one",style:(0,l.Tr)(i.scrollArrowStyleComputed)},null,4),(0,l.Lk)("span",{class:"scroll-arrows two",style:(0,l.Tr)(i.scrollArrowStyleComputed)},null,4),(0,l.Lk)("span",{class:"scroll-arrows three",style:(0,l.Tr)(i.scrollArrowStyleComputed)},null,4)])],16)):(0,l.Q3)("v-if",!0)])):(0,l.Q3)("v-if",!0)}],["__scopeId","data-v-108a6db0"]]),M={class:"m-hero__media"},E={key:0,class:"ratio-content unit-media","aria-hidden":"true"},I=["innerHTML"],L={key:1,class:"video-background"},z={class:"video-foreground not-tvs"},V=["innerHTML"],X={key:1},_=["srcset"],j=["srcset"],B=["srcset"],O=["srcset"],P=["src","alt"],q=["srcset"],Q=["srcset"],$=["srcset"],K=["srcset"],W=["src","alt"],U={key:0,class:"m-hero--top__overlay"},N={class:"container"},D={key:0,class:"hero-title m-hero--content-title",role:"heading","aria-level":"1"},Y={name:"HeroSliderUnitmedia",props:{configs:{type:Object,required:!0},topForHeroText:{type:String,default:""}},setup(e){const t=(0,l.KR)(!1),o=(0,l.KR)(!1),i=(0,l.KR)(!1),r=(0,l.KR)(!0),s=(0,l.KR)(null),n=(0,l.KR)(""),a=(0,l.EW)(()=>{const e=s.value?.itemFirstVideo,t=s.value?.itemFirstPhoto;return(""===e||"false"===e)&&""!==t}),c=(0,l.EW)(()=>e.configs.styles.textVerticalAlignment),u=(0,l.EW)(()=>"hide overlay"!==e.configs.styles.headerOverlay&&""!==e.configs.styles.headerOverlay);return(0,l.KC)(()=>{t.value="1"==e.configs.unitMediaValue,window?.heroList&&window?.heroList[e.configs.blockId]&&(s.value=window.heroList[e.configs.blockId],o.value=""!==s.value.itemFirstVideo&&"false"!==s.value.itemFirstVideo,i.value=""!==s.value.itemFirstPhoto),r.value="Fullsize"===e.configs.heroType}),(0,l.sV)(()=>{if("Top"==e.configs.styles.textVerticalAlignment){const e=document.querySelector(".js-header-logo-height");e?.naturalHeight>200&&(n.value="space-from-logo")}}),{showUnitMediaRefBool:t,unitMediaHaveVideoSettedRefBool:o,unitMediaHavePhotoSettedRefBool:i,isHeroInFullSizeRefBool:r,unitMediaSettingsRefObj:s,showUnitMediaContentComputed:a,stylesOverlayTop:u,getResizeImg:(e,t)=>window.GalaxyHelpers.resizeImg(e,t),textValign:c,heightFromLogo:n,heroTextAlignment:()=>{let t="";return t=""!==e.configs.styles.textVerticalAlignment?`text-valign-${e.configs.styles.textVerticalAlignment.toLocaleLowerCase()}`:"text-valign-bottom",t}}}},G=(0,T.A)(Y,[["render",function(e,t,o,i,r,s){return i.showUnitMediaRefBool&&i.unitMediaSettingsRefObj?((0,l.uX)(),(0,l.CE)("div",{key:0,class:(0,l.C4)(["m-hero--slide",o.configs.blockId])},[(0,l.Lk)("div",M,[i.unitMediaHaveVideoSettedRefBool?((0,l.uX)(),(0,l.CE)("div",E,["1"==i.unitMediaSettingsRefObj.isVideoTvs?((0,l.uX)(),(0,l.CE)("div",{key:0,innerHTML:i.unitMediaSettingsRefObj.isVideoPlayer},null,8,I)):((0,l.uX)(),(0,l.CE)("div",L,[(0,l.Lk)("div",z,[(0,l.Lk)("div",{innerHTML:i.unitMediaSettingsRefObj.isVideoPlayer},null,8,V)])]))])):i.unitMediaHavePhotoSettedRefBool?((0,l.uX)(),(0,l.CE)("picture",X,[i.isHeroInFullSizeRefBool?((0,l.uX)(),(0,l.CE)("source",{key:0,media:"(max-width: 450px)",srcset:i.getResizeImg(i.unitMediaSettingsRefObj.itemFirsPhotoPortrait,400)},null,8,_)):(0,l.Q3)("v-if",!0),i.isHeroInFullSizeRefBool?((0,l.uX)(),(0,l.CE)("source",{key:1,media:"(max-width: 767px)",srcset:i.getResizeImg(i.unitMediaSettingsRefObj.itemFirsPhotoStandard,780)},null,8,j)):(0,l.Q3)("v-if",!0),i.isHeroInFullSizeRefBool?((0,l.uX)(),(0,l.CE)("source",{key:2,media:"(max-width: 1199px)",srcset:i.getResizeImg(i.unitMediaSettingsRefObj.itemFirsPhotoStandard,1199)},null,8,B)):(0,l.Q3)("v-if",!0),i.isHeroInFullSizeRefBool?((0,l.uX)(),(0,l.CE)("source",{key:3,media:"(min-width: 1200px)",srcset:i.getResizeImg(i.unitMediaSettingsRefObj.itemFirsPhotoWide,1920)},null,8,O)):(0,l.Q3)("v-if",!0),i.isHeroInFullSizeRefBool?((0,l.uX)(),(0,l.CE)("img",{key:4,src:i.unitMediaSettingsRefObj.itemFirsPhotoStandard,alt:i.unitMediaSettingsRefObj.itemFirsPhotoAlt},null,8,P)):(0,l.Q3)("v-if",!0),i.isHeroInFullSizeRefBool?(0,l.Q3)("v-if",!0):((0,l.uX)(),(0,l.CE)("source",{key:5,media:"(max-width: 450px)",srcset:i.getResizeImg(i.unitMediaSettingsRefObj.itemFirsPhotoWide,400)},null,8,q)),i.isHeroInFullSizeRefBool?(0,l.Q3)("v-if",!0):((0,l.uX)(),(0,l.CE)("source",{key:6,media:"(max-width: 767px)",srcset:i.getResizeImg(i.unitMediaSettingsRefObj.itemFirsPhotoWide,780)},null,8,Q)),i.isHeroInFullSizeRefBool?(0,l.Q3)("v-if",!0):((0,l.uX)(),(0,l.CE)("source",{key:7,media:"(max-width: 1199px)",srcset:i.getResizeImg(i.unitMediaSettingsRefObj.itemFirsPhotoWide,1199)},null,8,$)),i.isHeroInFullSizeRefBool?(0,l.Q3)("v-if",!0):((0,l.uX)(),(0,l.CE)("source",{key:8,media:"(min-width: 1200px)",srcset:i.getResizeImg(i.unitMediaSettingsRefObj.itemFirsPhotoWide,1920)}
1,null,8,K)),i.isHeroInFullSizeRefBool?(0,l.Q3)("v-if",!0):((0,l.uX)(),(0,l.CE)("img",{key:9,src:i.unitMediaSettingsRefObj.itemFirsPhotoStandard,alt:i.unitMediaSettingsRefObj.itemFirsPhotoAlt},null,8,W))])):(0,l.Q3)("v-if",!0)]),i.stylesOverlayTop?((0,l.uX)(),(0,l.CE)("div",U)):(0,l.Q3)("v-if",!0),i.showUnitMediaContentComputed?((0,l.uX)(),(0,l.CE)("div",{key:1,class:(0,l.C4)(["m-hero--content",i.heroTextAlignment(),i.heightFromLogo]),style:(0,l.Tr)({top:`${o.topForHeroText}`})},[(0,l.Lk)("div",N,[(0,l.Lk)("div",{class:(0,l.C4)(["m-hero--content__wrapper",""==i.unitMediaSettingsRefObj.itemFirsPhotoCaption?"image-only":""])},[""!=i.unitMediaSettingsRefObj.itemFirsPhotoCaption?((0,l.uX)(),(0,l.CE)("div",D,(0,l.v_)(i.unitMediaSettingsRefObj.itemFirsPhotoCaption),1)):(0,l.Q3)("v-if",!0)],2)])],6)):(0,l.Q3)("v-if",!0)],2)):(0,l.Q3)("v-if",!0)}]]),{fireEvent:J}=a.Wp,Z={name:"HeroListApp",components:{HeroSliderItem:d.default,HeroScrollFunction:A,HeroSliderUnitmedia:G},props:{configs:{type:Object,required:!0}},setup(e,{emit:t}){const o=e.configs,i=(0,l.KR)(!1),{isMobile:r,isTabletOrSmallDesktop:s,isSmallDesktop:n}=(0,u.t)(),a=(0,l.KR)(!1),d=(0,l.KR)(!1),f=(0,l.KR)(!1),p=(0,l.KR)(!0),m=(0,l.KR)(""),g=(0,l.KR)(null);let h=window.heroSliderItemList;const v=(0,l.KR)({type:"",start:"",pages:""}),y=(0,l.KR)(null),b=(0,l.KR)(null),C=(0,l.KR)(null),x=(0,l.KR)(null),S=(0,l.EW)(()=>{const e=[`${o.blockId}`],t=T("styles");"Short hero"===T("heroType")&&e.push("m-hero_short"),"Fullsize"===T("heroType")&&(e.push("m-hero--fullscreen"),"no cropping"===t.verticalAlignment&&e.push("valign-no-cropping")),"no cropping"===t.verticalAlignmentMobile&&e.push("mobile-valign-no-cropping");const l=t.verticalAlignment;l&&"no cropping"!==l&&e.push(`valign-${l}`);const i=t.verticalAlignmentMobile;return i&&"no cropping"!==i&&e.push(`mobile-valign-${i}`),e.join(" ")}),w=(0,l.EW)(()=>{const e=T("styles").marginBottom||30;return{marginBottom:"0"===T("showBreadcrumb")?`${e}px`:void 0}}),k=(0,l.EW)(()=>{const e=g.value?.itemFirstVideo,t=g.value?.itemFirstPhoto;return(""===e||"false"===e)&&""!==t}),R=(0,l.EW)(()=>"hide overlay"!==o.styles.headerOverlay&&""!==o.styles.headerOverlay),H=(0,l.EW)(()=>{if(!v.value.type)return;const e="1"===window.isHome;if("All Pages"===v.value.pages||"Homepage"===v.value.pages&&e){if("video"===h[0].mediaType)return;switch(v.value.start){case"Bounce":return"hero-bounce";case"Slow Zoom":return"hero-slowzoom"}}});(0,l.KC)(()=>{a.value="1"==o.unitMediaValue,window?.heroList&&window?.heroList[o.blockId]&&(g.value=window.heroList[o.blockId],d.value=""!==g.value.itemFirstVideo&&"false"!==g.value.itemFirstVideo,f.value=""!==g.value.itemFirstPhoto),p.value="Fullsize"===o.heroType}),(0,l.sV)(()=>{(a.value&&!g.value||!a.value&&!h?.length||"No hero"===e.configs.heroType)&&(i.value=!0),(0,l.dY)(()=>{document.getElementById("m-hero-skeleton").remove(),c.A.getBMBelow(),J("hero-component::mounted"),c.A.autoplayNonTVSVideos(),A(),y.value=document.getElementById("bm-box-wrapper"),b.value=document.querySelector("header"),y.value&&(C.value=`--bm-height: ${y.value.offsetHeight}px`),b.value&&(x.value=`--header-height: ${b.value.offsetHeight}px`),i.value||c.A.afterHeroAnimated()}),(0,l.dY)(()=>{const e=document.querySelector(".js-header-height")?.offsetHeight,t=document.querySelector(".secondary-navigation")?.offsetHeight,l=document.querySelector(".advance-secondary-navigation")?.offsetHeight,i=document.querySelector(".headerAdvanced"),a=document.querySelector(".cta-bottom-located"),c=document.querySelector(".bm--area-search"),u=document.querySelector(".hotel-plus-air"),d=document.querySelector(".bm-is-horizontal"),f=document.querySelector(".bm-is-long-layout-full-width"),p=document.querySelector(".bm-is-large-layout"),g=getComputedStyle(document.documentElement).getPropertyValue("--secondary-navigation-opacity"),h=getComputedStyle(document.documentElement).getPropertyValue("--header-opacity"),v=document.querySelector(".bm-box--vertical"),y=document.querySelector(".bm__button-only");if("Center"==o.styles.textVerticalAlignment&&(d&&(f||p)||v||y)&&!r.value&&0==g&&(m.value=`calc(50% + ${0==h?"":(e+(i?l:t))/2}px)`),"Center"==o.styles.textVerticalAlignment&&s.value&&c&&u&&0==g&&(m.value=`calc(50% + ${0==h?"":(e+t)/2}px)`),"Center"==o.styles.textVerticalAlignment&&(c||u)&&!r.value){const r=document.querySelector(".bm-as__full-inner"),a=document.querySelector(".bm-as__top-bar"),d=document.querySelector(".m-hero--slide"),f=r?.getBoundingClientRect(),p=d?.getBoundingClientRect(),v=Math.max(f?.top,p?.top),y=Math.min(f?.bottom,p?.bottom)-v;if(i)m.value=F(h,g,y/2,e,l,a?.offsetHeight/2),c&&!u&&(m.value=F(h,g,y/2,e,l)),!s.value||c&&!u||(m.value=F(h,g,y/2,e,l,a?.offsetHeight/2),u&&c&&(m.value=F(h,g,y/2,e,l,a?.offsetHeight/4)));else if(y>0){const l=y/2+a?.offsetHeight/2;"Fullsize"==o.heroType?c&&u?(m.value=F(h,g,l,e,t),s.value&&(m.value=F(h,g,y/2,e,t,a?.offsetHeight/4))):(m.value=F(h,g,l-a?.offsetHeight/2,e,t),n.value&&(m.value=F(h,g,y,e,t,a?.offsetHeight/4))):(m.value=F(h,g,l,e,t),c&&!u&&(m.value=F(h,g,l-a?.offsetHeight/2,e,t),n.value&&(m.value=F(h,g,y,e,t,a?.offsetHeight/4))))}}const b=document.querySelector(".bm___collapsed-open"),C=document.querySelector(".bm-as__full-inner"),x=document.querySelector(".bm-collapsed-wrapper");if(i&&"Top"==o.styles.textVerticalAlignment&&r.value)m.value=x&&!a?`calc(0% + ${x?.offsetHeight+e+40}px)`:`calc(0% + ${e+40}px)`;else if(i&&"Center"==o.styles.textVerticalAlignment&&r.value)x&&!a?m.value=`calc(50% + ${c&&!u?"Fullsize"==o.heroType?-(C?.offsetHeight/2-e/2):h>0?e/2:"":x?.offsetHeight/2+e/2}px)`:"Short hero"==o.heroType?m.value=`calc(50% + ${0==h?"":e/2}px)`:(m.value=`calc(50% + ${e/2+b?.offsetHeight/2}px)`,a&&(m.value=`calc(50% + ${0==h?"":e/2}px)`,c&&!u&&(m.value=`calc(50% - ${C?.offsetHeight/2-(0==h?0:e/2)}px)`)));else if("Center"==o.styles.textVerticalAlignment&&r.value&&c&&!u&&"Fullsize"==o.heroType){const e=document.querySelector(".bm-as__inner");m.value=`calc( 50% - ${null==e?C?.offsetHeight/2:e?.offsetHeight/2}px)`}}
1)});const F=(e,t,o,l,i,r=0)=>{let s=0;return s=0==e&&0==t?o+r:o+r-(0==t?(l+i)/2:0),`calc(50% - ${s}px)`};(0,l.wB)(()=>b.value?.offsetHeight,e=>{x.value=`--header-height: ${e}px`}),(0,l.wB)(()=>y.value?.offsetHeight,e=>{C.value=`--bm-height: ${e}px`});const T=e=>o[e]||"",A=()=>{const e=getComputedStyle(document.body),t=t=>e.getPropertyValue(t).replace(/^"(.*)"$/,"$1");v.value={type:"1"===t("--hero-animation-type"),start:t("--hero-animation-start"),pages:t("--hero-animation-pages")}};return{isHeroInFullSizeRefBool:p,showUnitMediaRefBool:a,unitMediaHaveVideoSettedRefBool:d,unitMediaHavePhotoSettedRefBool:f,unitMediaSettingsRefObj:g,heroSliderItemRefArray:h,heroClassesComputed:S,heroStyleComputed:w,showUnitMediaContentComputed:k,stylesOverlayTop:R,getResizeImg:(e,t)=>window.GalaxyHelpers.resizeImg(e,t),onClickScrollDown:()=>{const e=document.querySelector(".breadcrumb-container")||document.querySelector("#site-content");if(e){const t=(()=>{const e=document.querySelector(".header-2__navigation-wrapper");if(e)return e.offsetHeight;const t=document.querySelector(".js-header-height");return t?t.offsetHeight:0})(),o=e.getBoundingClientRect().top+window.scrollY-t;window.scrollTo({top:o,behavior:"smooth"})}},animationsClass:H,hasNoHero:i,dynamicTopHeight:m,bmHeight:C,headerActualHeight:x}}},ee=(0,T.A)(Z,[["render",function(e,t,o,a,c,u){const d=(0,l.g2)("hero-scroll-function"),f=(0,l.g2)("hero-slider-unitmedia"),p=(0,l.g2)("hero-slider-item");return(0,l.uX)(),(0,l.CE)(l.FK,null,[a.hasNoHero?(0,l.Q3)("v-if",!0):((0,l.uX)(),(0,l.CE)("div",{key:0,class:(0,l.C4)(["m-hero js-remove-if-empty",a.heroClassesComputed]),"data-booking-mask":"vertical",style:(0,l.Tr)(a.heroStyleComputed)},[a.stylesOverlayTop?((0,l.uX)(),(0,l.CE)("div",i)):(0,l.Q3)("v-if",!0),t[1]||(t[1]=(0,l.Lk)("div",{class:"container"},[(0,l.Lk)("div",{id:"bm-hero-container"})],-1)),(0,l.Lk)("div",{class:(0,l.C4)([a.animationsClass,"js-slider__wrapper"]),style:(0,l.Tr)([a.bmHeight,a.headerActualHeight]),"data-text-alignment":o.configs.styles.textAlignment},["Fullsize"==o.configs.heroType&&"1"==o.configs.scrollConfig.showScrollFunction?((0,l.uX)(),(0,l.Wv)(d,{key:0,configs:o.configs},null,8,["configs"])):(0,l.Q3)("v-if",!0),(0,l.Lk)("div",{class:"m-hero--slider js-slider-hero","data-pagination":"true","data-autoplay":1==o.configs.styles.sliderAutoplay},[(0,l.bF)(f,{configs:o.configs,topForHeroText:a.dynamicTopHeight},null,8,["configs","topForHeroText"]),""!=a.heroSliderItemRefArray?((0,l.uX)(!0),(0,l.CE)(l.FK,{key:0},(0,l.pI)(a.heroSliderItemRefArray,(e,t)=>((0,l.uX)(),(0,l.Wv)(p,{key:t,configs:e,blockId:e.blockId,textValign:o.configs.styles.textVerticalAlignment,topForHeroText:a.dynamicTopHeight},null,8,["configs","blockId","textValign","topForHeroText"]))),128)):(0,l.Q3)("v-if",!0)],8,s),t[0]||(t[0]=(0,l.Lk)("div",{class:"container"},[(0,l.Lk)("div",{class:"m-hero-play-wrapper"},[(0,l.Lk)("div",{class:"m-hero--play clearfix"},[(0,l.Lk)("div",{class:"js-slider__insert-grouped-actions"})])])],-1))],14,r),t[2]||(t[2]=(0,l.Lk)("div",{id:"bm-horizontal-hero",class:"hidden"},null,-1))],6)),a.hasNoHero?(0,l.Q3)("v-if",!0):((0,l.uX)(),(0,l.CE)("div",n))],64)}]])},8843(e,t,o){var l=o(6654);l.__esModule&&(l=l.default),"string"==typeof l&&(l=[[e.id,l,""]]),l.locals&&(e.exports=l.locals),(0,o(534).A)("3bc150c0",l,!1,{})}}]);
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.