1(self.tcthemejsonpFunction=self.tcthemejsonpFunction||[]).push([[3323,8599],{3870(e,t,a){(t=a(6314)(!1)).push([e.id,":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)){: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)){: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)}}.hotels-wrapper .map-cluster{height:var(--base-map-height);margin-top:20px}.hotels-wrapper .map-cluster .infoBox img[align=right]{display:none}.hotels-wrapper .map-cluster .infor-window-cus-close{width:10px;position:absolute;top:10px;right:12px;background-color:rgba(0,0,0,0);padding:0px;border:0}
1.hotels-wrapper .map-cluster .infor-window-cus-close img{max-width:100%}.hotels-wrapper .destination-header{border-bottom:3px solid var(--primary-text-color);display:flex;justify-content:space-between;align-items:flex-start}.hotels-wrapper .destination-header h2{margin-bottom:0}@media(max-width: 767px){.hotels-wrapper .destination-header h2{width:250px;align-self:flex-start}}.hotels-wrapper .destination-header .hotel-num{color:var(--link-color)}.hotels-wrapper .destination-header .layout-change-container{display:flex;margin-bottom:15px}.hotels-wrapper .destination-header .layout-change-container .ds-nav__action{width:46px;height:46px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0);fill:var(--primary-text-color);border:none}.hotels-wrapper .destination-header .layout-change-container .ds-nav__action .ds-icon{width:1.75em;height:50px}.hotels-wrapper .destination-header .layout-change-container .ds-nav__action.selected{background-color:var(--primary-text-color);fill:var(--primary-color)}@media(max-width: 767px){.hotels-wrapper .destination-header .layout-change-container{width:100%;justify-content:flex-end}}.hotels-wrapper .destination-header.container:before,.hotels-wrapper .destination-header.container:after{content:none}.hotels-wrapper .destination-header.container{padding:0}@media(max-width: 767px){.hotels-wrapper .destination-header{flex-direction:column}}.hotels-wrapper .destination-list--item{width:100%;box-shadow:0px 0px 10px 0px rgba(0,0,0,.15);margin-top:20px;background-color:var(--card-bg-color);outline:var(--custom-border-width) solid var(--custom-border-color);border-radius:var(--custom-border-radius)}@media(max-width: 1024px){.hotels-wrapper .destination-list--item{padding-bottom:20px}}.hotels-wrapper .destination-list--item .item-content{width:100%;display:flex}.hotels-wrapper .destination-list--item .item-content--left-side{position:relative;display:flex;flex:2}.hotels-wrapper .destination-list--item .item-content--left-side .text-content{display:flex;flex-direction:column;justify-content:center;margin-left:20px;padding-right:5px}.hotels-wrapper .destination-list--item .item-content--left-side .text-content h3{margin-bottom:0}.hotels-wrapper .destination-list--item .item-content--left-side .text-content .view-on-map button{background-color:rgba(0,0,0,0);border:none;color:var(--link-color);padding:0}.hotels-wrapper .destination-list--item .item-content--left-side .text-content .view-on-map button .ds-icon-xl{width:1.1em;height:1.1em;margin:6px 0 0 0;fill:var(--link-color)}.hotels-wrapper .destination-list--item .item-content--left-side .text-content .view-on-map button .ds-icon-xl svg{fill:var(--link-color)}.hotels-wrapper .destination-list--item .item-content--left-side .text-content .view-on-map button .view-map{margin-left:5px}.hotels-wrapper .destination-list--item .item-content--left-side .text-content .view-on-map button .view-map:hover{text-decoration:underline}[dir=rtl] .hotels-wrapper .destination-list--item .item-content--left-side .text-content{margin-right:20px;padding-left:5px}@media(max-width: 1024px){.hotels-wrapper .destination-list--item .item-content--left-side .text-content{margin-left:0;padding:0 10px;margin-top:10px}}@media(max-width: 1044px){.hotels-wrapper .destination-list--item .item-content--left-side{flex-direction:column}}.hotels-wrapper .destination-list--item .item-content .with-member-rate{padding:20px}.hotels-wrapper .destination-list--item .item-content--right-side{flex:0;padding:0 20px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-left:1px solid var(--custom-border-color)}[dir=rtl] .hotels-wrapper .destination-list--item .item-content--right-side{border-right:1px solid var(--custom-border-color)}@media(max-width: 1024px){.hotels-wrapper .destination-list--item .item-content--right-side{border:none;margin-top:10px}}.hotels-wrapper .destination-list--item .item-content--right-side .member-rate-zone-container{min-width:240px}.hotels-wrapper .destination-list--item .item-content--right-side .book-container{display:flex;flex-direction:column;justify-content:space-evenly;height:40%;text-align:center}
1.hotels-wrapper .destination-list--item .item-content--right-side .book-container span{font-weight:bold}.hotels-wrapper .destination-list--item .item-content .img-container{min-width:358px;height:100%}@media(max-width: 1024px){.hotels-wrapper .destination-list--item .item-content .img-container{max-width:100%;min-width:0}}.hotels-wrapper .destination-list--item .item-content .img-container img{border-radius:var(--base-content-border-radius)}.hotels-wrapper .destination-list--item .item-content--short-description{margin-top:25px}@media(max-width: 1024px){.hotels-wrapper .destination-list--item .item-content{flex-direction:column}}.hotels-wrapper .destination-list .load-more{width:100%;margin:30px 0 10px 0;display:flex;justify-content:center}.hotels-wrapper .lead-rates{font-weight:bold}",""]),e.exports=t},5072(e){"use strict";var t=[];function a(e){for(var a=-1,o=0;o<t.length;o++)if(t[o].identifier===e){a=o;break}return a}function o(e,o){for(var i={},r=[],s=0;s<e.length;s++){var l=e[s],c=o.base?l[0]+o.base:l[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var p=a(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(m);else{var g=n(m,o);o.byIndex=s,t.splice(s,0,{identifier:u,updater:g,references:1})}r.push(u)}return r}function n(e,t){var a=t.domAPI(t);return a.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;a.update(e=t)}else a.remove()}}e.exports=function(e,n){var i=o(e=e||[],n=n||{});return function(e){e=e||[];for(var r=0;r<i.length;r++){var s=a(i[r]);t[s].references--}for(var l=o(e,n),c=0;c<i.length;c++){var d=a(i[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=l}}},7659(e){"use strict";var t={};e.exports=function(e,a){var o=function(e){if(void 0===t[e]){var a=document.querySelector(e);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}t[e]=a}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(a)}},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,a){"use strict";e.exports=function(e){var t=a.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(a){!function(e,t,a){var o="";a.supports&&(o+="@supports (".concat(a.supports,") {")),a.media&&(o+="@media ".concat(a.media," {"));var n=void 0!==a.layer;n&&(o+="@layer".concat(a.layer.length>0?" ".concat(a.layer):""," {")),o+=a.css,n&&(o+="}"),a.media&&(o+="}"),a.supports&&(o+="}");var i=a.sourceMap;i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,a)},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))}}},4828(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>he});var o=a(1425);const n={class:"destination-container container"},i={class:"destination-header"},r={key:0},s={key:0,class:"hotel-num"},l={key:1,class:"layout-change-container"},c={class:"component-container"};var d=a(8434),u=a(4705),p=a(7275),m=a(5589),g=a(8972),f=a(7884),h=a(1016);const b=(0,a(1774).nY)("destinationHotels",{state:()=>({layout:null,selectedMarker:{}}),getters:{getLayout:e=>e.layout,getSelectedMarker:e=>e.selectedMarker},actions:{setLayout(e){this.layout=e},setSelectedMarker(e){this.selectedMarker=e}}});var v=a(4692);function w(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,o)}return a}const{fireEvent:y}=g.Wp,k={name:"DestinationHotelMap",props:{configs:{type:Object,required:!0,default:()=>({})},destinationInfo:{type:Array,required:!0,default:()=>({})}},setup(e){const t=b(),a=(0,o.KR)(!0),n=(0,o.KR)(!1),i=(0,o.KR)(null),r=(0,o.KR)(null),s=(0,o.KR)(null),l=(0,o.KR)(null),c=(0,o.KR)(null),d=(0,o.KR)(null),f=(0,o.KR)(null),k=((0,o.KR)(null),(0,o.KR)(null),(0,o.KR)(null),(0,o.KR)(null)),L=(0,o.EW)(()=>{let t=350;return e.configs.mapHeight&&(t=`${e.configs.mapHeight}`),{"--base-map-height":t+"px"}}),_=()=>0===e.configs.mapCustomZoom.length?16:"Fit map bounds to markers"!==e.configs.mapCustomZoom?parseInt(e.configs.mapCustomZoom):"Fit map bounds to markers"===e.configs.mapCustomZoom?5:void 0,C=(e,t)=>{const a=i.value;a.event.addListener(e,"click",a=>{null!=k.value&&k.value.close(),k.value=t,k.value.open(f.value,e),f.value.setCenter(e.getPosition()),f.value.setZoom(15)}),a.event.addListener(t,"domready",function(){let e=t.content_;v(document).trigger("openMapInfowindow",t.content_),v(e).on("click","a",function(){this.href=(0,g.D8)(this.href),y("event.clickToBE.bookOnMaps",v(this))});
1let o=v(".infor-window-cus-close").get();a.event.addDomListener(o[0],"click",function(){t.close()})})},R=()=>{e.destinationInfo.map(t=>{if(t.latitude=parseFloat(t.latitude),t.longitude=parseFloat(t.longitude),t.latitude&&t.longitude){let a=(t=>{let{defaultMarkerPin:a,markerPinWidth:o,markerPinHeight:n}=e.configs,r={map:f.value,optimized:!1,position:new i.value.LatLng(t.latitude,t.longitude),title:t.name,id:t.id};return a.length>0&&(r=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?w(Object(a),!0).forEach(function(t){(0,u.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):w(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({icon:{url:a,scaledSize:o&&n?new i.value.Size(o,n):null}},r)),new i.value.Marker(r)})(t),n=(t=>{let a=window.innerWidth<1200?300:450,n=new i.value.Size(-a/2,-60);return new m.A({content:x(t,e.configs,o.Ef,h.default),alignBottom:!0,gMap:i.value,pixelOffset:n,closeBoxURL:"/integration/tc-theme/public/img/close.svg",maxWidth:a,boxStyle:{overflow:"inherit",width:window.innerWidth<1200?"300px":"450px"}})})(t);C(a,n),l.value.push(a),s.value.extend(new i.value.LatLng(t.latitude,t.longitude))}}),l.value.length&&(c.value=!0),new p.A(f.value,l.value,{imagePath:e.configs.defaultClusterPin,zoomOnClick:!0,maxZoom:20}),f.value.fitBounds(s.value)},M=()=>{n.value&&e.destinationInfo.length&&((()=>{i.value=window.google.maps,r.value=document.querySelector(".destination-map"),s.value=new i.value.LatLngBounds,l.value=[],c.value=!1;let t=window.innerWidth<1200?google.maps.ControlPosition.RIGHT_BOTTOM:google.maps.ControlPosition.RIGHT_TOP;d.value={zoom:_(),minZoom:2,maxZoom:20,repeat:0,disableDefaultUI:!0,panControl:!1,zoomControl:!0,zoomControlOptions:{position:t},mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,overviewMapControl:!1,rotateControl:!1},r.value&&(f.value=new i.value.Map(r.value,d.value));let a=e.configs.defaultView,o=e.configs.mapCustomZoom;i.value.event.addListenerOnce(f.value,"bounds_changed",()=>{"List View"!==a&&"Fit map bounds to markers"===o||f.value.setZoom(_())})})(),f.value&&R())};return(0,o.wB)(()=>e.destinationInfo,()=>{M()}),(0,o.wB)(n,()=>{M()}),(0,o.wB)(()=>t.selectedMarker,async()=>{const{hotelId:e}=t.selectedMarker;await(0,o.dY)();const a=l.value.find(t=>parseInt(t.id)===parseInt(e));a&&f.value&&("function"==typeof f.value.getBounds&&f.value.getBounds()?i.value.event.trigger(a,"click"):i.value.event.addListenerOnce(f.value,"tilesloaded",()=>{i.value.event.trigger(a,"click")}))}),(0,o.wB)(()=>t.layout,async()=>{await(0,o.dY)(),"Map View"===t.layout&&f.value&&("Fit map bounds to markers"===e.configs.mapCustomZoom?s.value&&f.value.fitBounds(s.value):_()&&f.value.setZoom(_()))}),window&&!window.GoogleAPIs&&g.TY.init(),window&&window.GoogleAPIs&&window.GoogleAPIs.addMapsScriptToPage(()=>{n.value=!0}),{cssProps:L,isLoading:a,googleMapsReady:n,map:f,markers:l,buildMap:M}}},x=(e,t,a,o)=>{const n=document.createElement("div"),i=`map-poi-${e.id}-${Date.now()}`,r="1"==(0,f.o)("--member-rate-enabled"),s=Boolean(e.iHotelierConfig||e.lead_rate||e.rate),l=e.lead_rate||e.rate||"",c=(e.iHotelierConfig||"").replace(/"/g,"""),d=t.locales.memberRateLocales?.memberRateEmpty;return r&&!window.memberRateData&&(window.memberRateData=[]),r&&(window.memberRateData[i]={iHotelierConfig:e.iHotelierConfig||"",leadRate:l,targetForMRM:e.booking_engine_url||""},document.documentElement.classList.add("member-rate-enabled")),n.innerHTML=`\n <div class="js-map-infowindow map__infowindow">\n <div class="h3 map__infowindow__title">${e.name}</div>\n <div class="map__infowindow__content">\n ${1===e.has_photo?`\n <div class="map__infowindow__content__col map__infowindow__content__col--image">\n <div class="ratio-4-3">\n <div class="ratio-content">\n <picture>\n <img src="${e.first_photo.url_standard}" alt="${e.first_photo.alt}">\n </picture>\n </div>\n </div>\n </div>`:""}\n <div class="map__infowindow__content__col map__infowindow__content__col--text" ${1===e.has_photo?'style="width:44%;"':'style="width:100%;"'}>\n <div class="cms-html-var" data-max-height="130">${e.short_description}</div>\n </div>\n </div>\n <div class="info-price map__infowindow__price-line">
1\n ${!0===t.hotelCardRates?`\n ${r?`\n <div class="js-member-rate-zone" id="member-rate-zone-${i}"></div>\n `:`\n ${s?`\n <glx-tc-lead-rate class="m-content-object--footer-price lead-rates js-default-lead-rate" config="${c}">\n <div class="lead-rate-after-load">\n ${t.locales.ratesFrom||""}\n <glx-tc-lead-rate-strike-value class="strike-through"></glx-tc-lead-rate-strike-value>\n <glx-tc-lead-rate-value class="lead-rates-price">${l}</glx-tc-lead-rate-value>\n </div>\n </glx-tc-lead-rate>\n `:`\n <div class="m-content-object--footer-price lead-rates js-default-lead-rate">${d}</div>\n `}\n `}\n `:""}\n ${""==e.booking_engine_url||r?"":`\n <div>\n <a \n href="${e.booking_engine_url}"\n class="btn js-dynamic-book-url ${"Primary"===t.mapPopupBtnStyle?"btn-primary":"Secondary"===t.mapPopupBtnStyle?"btn-secondary":"Action Custom"===t.mapPopupBtnStyle?"btn-custom":"Action"===t.mapPopupBtnStyle?"btn-action":"btn-ghost"}"\n rel="noopener" \n aria-label="${t.locales.bookNow}"\n target=${0==e.is_be_open_in_same_tab?"_blank":"_self"}\n >\n ${t.hotelCardBtnTxt?t.hotelCardBtnTxt:t.locales.bookNow}\n </a>\n </div>`}\n </div>\n </div>
1\n <button class="infor-window-cus-close" aria-label="${t.locales.closeBtn}">\n <img src="/integration/tc-theme/public/img/close.svg" alt="${t.locales.closeBtn}">\n </button>\n </div>`,r&&a&&o&&setTimeout(()=>{const r=n.querySelector(`#member-rate-zone-${i}`);r&&a(o,{configs:{blockId:i,iHotelierConfig:e.iHotelierConfig||"",targetForMRM:e.booking_engine_url||"",localesObjProp:{rewardProgramName:t.locales.memberRateLocales?.rewardProgramName||"",ratesFrom:t.locales.memberRateLocales?.ratesFrom||t.locales.ratesFrom||"",memberRateEmpty:d,lowestPriceLabel:t.locales.memberRateLocales?.lowestPriceLabel||"",memberPriceLabel:t.locales.memberRateLocales?.memberPriceLabel||""}}}).mount(r)},0),n};var L=a(6262);const _=(0,L.A)(k,[["render",function(e,t,a,n,i,r){return(0,o.uX)(),(0,o.CE)("div",{class:(0,o.C4)("Full-width"!==a.configs.mapWidth?"container":null)},[(0,o.Lk)("div",{class:"map-cluster destination-map",style:(0,o.Tr)(n.cssProps)},null,4)],2)}]]),C={class:"destination-list container"},R={key:0,class:"load-more"},M={class:"item-content"},A={class:"item-content--left-side"},S={class:"img-container"},I={class:"text-content"},P={class:"view-map"},E=["innerHTML"],B=["href"],T={key:0,class:"lead_rate lead-rates is-loaded member-rate-zone-container"},O={key:1,class:"book-container"},j={key:0},H={class:"ratio-content"},F=["href","target","aria-label"],W=["srcset"],X=["srcset"],K=["srcset"],$=["srcset"],D=["data-lazy","alt"],z={key:1},V=["srcset"],q=["srcset"],N=["srcset"],Q=["srcset"],G=["data-lazy","alt"],Z={name:"ItemImage",components:{},props:{configs:{type:Object,required:!0,default:()=>({})},data:{type:Object,required:!0,default:()=>({})}},data:()=>({showWithLink:!1,readMoreTarget:"_self",readMoreAriaLabel:"",srcSet450:"",srcSet767:"",srcSet1199:"",srcSet1200:""}),methods:{analyzeSettings(){this.showWithLink=""!==this.data.url,this.readMoreTarget=this.configs.openReadMoreNewTab?"_blank":"_self";let e=this.data.first_photo.url_standard;""!==e&&(this.srcSet450=GalaxyHelpers.resizeImg(e,400),this.srcSet767=GalaxyHelpers.resizeImg(e,780),this.srcSet1199=GalaxyHelpers.resizeImg(e,1e3),this.srcSet1200=GalaxyHelpers.resizeImg(e,600))}},created(){this.analyzeSettings()},computed:{blockCssProps(){let e=0,t=this.configs.blockStyles.base;return t.imageRadius&&(e=t.imageRadius),{"--base-content-border-radius":e+"px"}}},mounted(){}}
1,U={name:"HotelsItem",components:{ItemImage:(0,L.A)(Z,[["render",function(e,t,a,n,i,r){return(0,o.uX)(),(0,o.CE)("div",{class:"m-content-object___img ratio-4-3",style:(0,o.Tr)(r.blockCssProps)},[(0,o.Lk)("div",H,[e.showWithLink?((0,o.uX)(),(0,o.CE)("a",{key:0,class:"link-block",href:a.data.url,target:e.readMoreTarget,"aria-label":e.readMoreAriaLabel},[(0,o.Lk)("picture",null,[(0,o.Lk)("source",{media:"(max-width: 450px)",srcset:e.srcSet450},null,8,W),(0,o.Lk)("source",{media:"(max-width: 767px)",srcset:e.srcSet767},null,8,X),(0,o.Lk)("source",{media:"(max-width: 1199px)",srcset:e.srcSet1199},null,8,K),(0,o.Lk)("source",{media:"(min-width: 1200px)",srcset:e.srcSet1200},null,8,$),(0,o.Lk)("img",{"data-lazy":a.data.first_photo.url_standard,src:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",alt:a.data.first_photo.alt},null,8,D)])],8,F)):((0,o.uX)(),(0,o.CE)("picture",z,[(0,o.Lk)("source",{media:"(max-width: 450px)",srcset:e.srcSet450},null,8,V),(0,o.Lk)("source",{media:"(max-width: 767px)",srcset:e.srcSet767},null,8,q),(0,o.Lk)("source",{media:"(max-width: 1199px)",srcset:e.srcSet1199},null,8,N),(0,o.Lk)("source",{media:"(min-width: 1200px)",srcset:e.srcSet1200},null,8,Q),(0,o.Lk)("img",{"data-lazy":a.data.first_photo.url_standard,src:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",alt:a.data.first_photo.alt},null,8,G)]))])],4)}]]),ButtonLink:a(3445).A,MemberRateZoneApp:h.default},props:{configs:{type:Object,required:!0,default:()=>({})},hotelInfo:{type:Object,required:!0,default:()=>({})}},setup(e){const t=b(),a="1"==(0,f.o)("--member-rate-enabled"),n=t=>window.destinationHotelBtn?.[e.configs.blockId]?.[t]||"",i=(0,o.EW)(()=>n("hotelCardBtnTxt")),r=(0,o.EW)(()=>n("hotelCardBtnStyle"));return{showMemberRateBoolean:a,goToMap:()=>{t.setLayout("Map View"),t.setSelectedMarker({hotelId:e.hotelInfo.id})},changeLayout:e=>{t.setLayout(e)},customCssProps:(0,o.EW)(()=>{let t=0,a="#ccc",o=0,n=e.configs.blockStyles.base;return n.borderStyles.enabled&&(t=n?.imageRadius,a=n?.borderStyles?.borderColor,o=n?.borderStyles?.borderWidth),{"--custom-border-width":o+"px","--custom-border-radius":t+"px","--custom-border-color":a}}),hrefTarget:(0,o.EW)(()=>0==e.hotelInfo.is_be_open_in_same_tab?"_blank":"_self"),HotelBtnText:i,HotelBtnStyle:r}}},Y={components:{HotelsItem:(0,L.A)(U,[["render",function(e,t,a,n,i,r){const s=(0,o.g2)("item-image"),l=(0,o.g2)("member-rate-zone-app"),c=(0,o.g2)("glx-tc-lead-rate-strike-value"),d=(0,o.g2)("glx-tc-lead-rate-value"),u=(0,o.g2)("glx-tc-lead-rate"),p=(0,o.g2)("button-link");return(0,o.uX)(),(0,o.CE)("div",{class:"destination-list--item",style:(0,o.Tr)(n.customCssProps)},[(0,o.Lk)("div",M,[(0,o.Lk)("div",A,[(0,o.Lk)("div",S,[(0,o.bF)(s,{data:a.hotelInfo,configs:a.configs},null,8,["data","configs"])]),(0,o.Lk)("div",I,[(0,o.Lk)("h3",null,(0,o.v_)(a.hotelInfo.name),1),"Both Combined"===a.configs.layout&&a.configs.hotelCard?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"view-on-map",onClick:t[1]||(t[1]=e=>n.changeLayout("Map View"))},[(0,o.Lk)("button",{class:"go-to-map",onClick:t[0]||(t[0]=(...e)=>n.goToMap&&n.goToMap(...e))},[t[2]||(t[2]=(0,o.Lk)("svg",{class:"ds-icon-xl"},[(0,o.Lk)("use",{href:"#icon-marker"})],-1)),(0,o.Lk)("span",P,(0,o.v_)(a.configs.locales.viewOnMap),1)])])):(0,o.Q3)("v-if",!0),a.hotelInfo.short_description?((0,o.uX)(),(0,o.CE)("div",{key:1,innerHTML:a.hotelInfo.short_description,class:"item-content--short-description"},null,8,E)):(0,o.Q3)("v-if",!0),a.hotelInfo.url?((0,o.uX)(),(0,o.CE)("a",{key:2,class:"link-block",href:a.hotelInfo.url},(0,o.v_)(a.configs.locales.goToWebsite)+" â",9,B)):(0,o.Q3)("v-if",!0)])]),(0,o.Lk)("div",{class:(0,o.C4)(["item-content--right-side",{"with-member-rate":n.showMemberRateBoolean}])},[n.showMemberRateBoolean?((0,o.uX)(),(0,o.CE)("div",T,[(0,o.bF)(l,{configs:{iHotelierConfig:a.hotelInfo.iHotelierConfig,localesObjProp:a.configs.locales.memberRateLocales,targetForMRM:a.hotelInfo.booking_engine_url}},null,8,["configs"])])):(0,o.Q3)("v-if",!0),n.showMemberRateBoolean?(0,o.Q3)("v-if",!0):((0,o.uX)(),(0,o.CE)("div",O,[a.configs.hotelCardRates&&a.hotelInfo.rate?((0,o.uX)(),(0,o.CE)("span",j,[(0,o.eW)((0,o.v_)(a.c
1onfigs.locales.ratesFrom)+" ",1),(0,o.bF)(u,{config:a.hotelInfo.iHotelierConfig,class:"lead-rates lead_rate"},{default:(0,o.k6)(()=>[(0,o.bF)(c,{class:"strike-through"}),(0,o.bF)(d,{class:"lead-rates-price"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(a.hotelInfo.lead_rate),1)],void 0,!0),_:1})],void 0,!0),_:1},8,["config"])])):(0,o.Q3)("v-if",!0),(0,o.bF)(p,{type:"link-only",linkData:{title:n.HotelBtnText,href:a.hotelInfo.booking_engine_url,target:n.hrefTarget,targetLabel:a.configs.hotelCardBtnTxt,style:n.HotelBtnStyle},rel:"noopener"},null,8,["linkData"])]))],2)])],4)}]])},name:"DestinationHotelList",props:{configs:{type:Object,required:!0,default:()=>({})},destinationInfo:{type:Array,required:!0,default:()=>({})}},data:()=>({currentPage:1}),computed:{pageCount(){return Math.ceil(this.resultsLength/this.configs.maxItems)},pageOffset(){return this.configs.maxItems*this.currentPage},paginatedList(){return this.destinationInfo.slice(0,this.currentPage*this.configs.maxItems)}},methods:{loadMore(){this.currentPage+=1}}},J=(0,L.A)(Y,[["render",function(e,t,a,n,i,r){const s=(0,o.g2)("hotels-item");return(0,o.uX)(),(0,o.CE)("div",C,[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(r.paginatedList,e=>((0,o.uX)(),(0,o.Wv)(s,{key:e.id,hotelInfo:e,configs:a.configs},null,8,["hotelInfo","configs"]))),128)),e.currentPage*a.configs.maxItems<a.destinationInfo.length?((0,o.uX)(),(0,o.CE)("div",R,[(0,o.Lk)("button",{onClick:t[0]||(t[0]=(...e)=>r.loadMore&&r.loadMore(...e)),class:"btn btn-ghost"},(0,o.v_)(a.configs.locales.loadMore),1)])):(0,o.Q3)("v-if",!0)])}]]),ee={components:{BlockWrapper:d.A,DestinationHotelMap:_,DestinationHotelList:J},name:"DestinationHotelsApp",props:{configs:{type:Object,required:!0,default:()=>({})}},setup(e){const t=b(),a=(0,o.KR)(!0),n=(0,o.KR)(0),i=(0,o.KR)(null),r=(0,o.KR)(null),s=(0,o.KR)([]),l=(0,o.KR)(null);return(0,o.wB)(()=>t.layout,e=>{l.value=e}),(0,o.sV)(async()=>{"Both Combined"==e.configs.layout?l.value="List View"==e.configs.defaultView?"List View":"Map View":"List View"==e.configs.layout?l.value="List View":l.value="Map View",(()=>{const e=window.destination;if(!e)return;const t=e.dataInline,o=e.id,n=t.filter(e=>e.id==o)[0];i.value=n,a.value=!1})(),await(async e=>{if(!e||0===e.length)return s.value=[],void(r.value=0);const t=e.hotels,a=window.hotels.dataInline.filter(e=>t.some(t=>e.id===t.id));s.value=a,r.value=s.value.length})(i.value)}),{isLoading:a,displayMobile:n,destinationInfo:i,resultsLength:r,filteredHotels:s,layout:l,changeLayout:e=>{t.setLayout(e)}}}};var te=a(5072),ae=a.n(te),oe=a(7825),ne=a.n(oe),ie=a(7659),re=a.n(ie),se=a(2675),le=a.n(se),ce=a(540),de=a.n(ce),ue=a(1113),pe=a.n(ue),me=a(9649),ge=a.n(me),fe={};fe.styleTagTransform=pe(),fe.setAttributes=le(),fe.insert=re().bind(null,"head"),fe.domAPI=ne(),fe.insertStyleElement=de(),ae()(ge(),fe),ge()&&ge().locals&&ge().locals;const he=(0,L.A)(ee,[["render",function(e,t,a,d,u,p){const m=(0,o.g2)("destination-hotel-map"),g=(0,o.g2)("destination-hotel-list"),f=(0,o.g2)("block-wrapper");return(0,o.uX)(),(0,o.Wv)(f,{id:"destination-hotels__container",classList:"hotels-wrapper",blockStyles:{backgroundSettings:a.configs.blockStyles.base.backgroundSettings,paddingSettings:a.configs.blockStyles.base.paddingSettings}},{default:(0,o.k6)(()=>[(0,o.Lk)("div",n,[(0,o.Lk)("div",i,[a.configs.locales?.explore&&a.configs.locales?.hotelsInCity?((0,o.uX)(),(0,o.CE)("h2",r,[(0,o.eW)((0,o.v_)(a.configs.locales.explore)+" ",1),a.configs.hideHotelPropertyCount&&d.resultsLength?((0,o.uX)(),(0,o.CE)("span",s,(0,o.v_)(d.resultsLength),1)):(0,o.Q3)("v-if",!0),(0,o.eW)(" "+(0,o.v_)(a.configs.locales.hotelsInCity),1)])):(0,o.Q3)("v-if",!0),"Both Combined"===a.configs.layout?((0,o.uX)(),(0,o.CE)("div",l,[(0,o.Lk)("button",{class:(0,o.C4)(["ds-nav__map-view ds-nav__action","Map View"===d.layout?"selected":null]),onClick:t[0]||(t[0]=e=>d.changeLayout("Map View"))},[...t[2]||(t[2]=[(0,o.Lk)("svg",{class:"ds-icon",focusable:"false"},[(0,o.Lk)("use",{href:"#asm-icon-mapView"})],-1)])],2),(0,o.Lk)("button",{class:(0,o.C4)(["ds-nav__list-view ds-nav__action","List View"===d.layout?"selected":null]),onClick:t[1]||(t[1]=e=>d.changeLayout("List View"))},[...t[3]||(t[3]=[(0,o.Lk)("svg",{class:"ds-icon",focusable:"false"},[(0,o.Lk)("use",{href:"#icon-listView"})],-1)])],2)])):(0,o.Q3)("v-if",!0)])]),(0,o.Lk)("div",c,[(0,o.bo)((0,o.bF)(m,{destinationInfo:d.filteredHotels,configs:a.configs,resultsLength:d.resultsLength},null,8,["destinationInfo","configs","resultsLength"]),[[o.aG,"Map View"===d.layout]]),(0,o.bo)((0,o.bF)(g,{configs:a.configs,destinationInfo:d.filteredHotels,resultsLength:d.resultsLength},null,8,["configs","destinationInfo","resultsLength"]),[[o.aG,"List View"===d.layout]])])],void 0,!0),_:1},8,["blockStyles"])}]])},792(e,t,a){"use strict";a.d(t,{A:()=>r});var o=a(1425);const n=["innerHTML"],i={name:"adaNewTab",props:{content:{type:String,required:!0,default:""}}},r=(0,a(6262).A)(i,[["render",function(e,t,a,i,r,s){return(0,o.uX)(),(0,o.CE)("span",{class:"sr-only",innerHTML:a.content},null,8,n)}]])},8434(e,t,a){"use strict";a.d(t,{A:()=>l});var o=a(1425);const n=["id"];var i=a(8972);const{fireEvent:r}=i.Wp,s={name:"BlockWrapper",props:{classList:{type:String},blockStyles:{type:Object}
1,anchorId:String},computed:{cssProps(){if(!this.blockStyles)return;const e=this.blockStyles;let t="",a="left",o="none",n="no-repeat",i="initial",r="initial",s=15,l=15,c=15,d=15,u=15,p=15;e.textColor&&(t=e.textColor),e.textAlign&&(a=e.textAlign);let m=e.backgroundSettings;m&&("color"===m.type?o=`${m.color}`:"picture"===m.type&&(o=`url('${m.image}')`,m.repeat?n="repeat":(n="no-repeat",i="center",r="cover")));let g=e.paddingSettings;return g&&(g.desktop?.enabled&&(g.desktop?.top&&(s=g.desktop.top),g.desktop?.bottom&&(l=g.desktop.bottom)),g.tablet?.enabled&&(g.tablet?.top&&(c=g.tablet.top),g.tablet?.bottom&&(d=g.tablet.bottom)),g.mobile?.enabled&&(g.mobile?.top&&(u=g.mobile.top),g.mobile?.bottom&&(p=g.mobile.bottom))),{"--base-content-color":t,"--base-content-alignment":a,"--wrapper-background":o,"--wrapper-background-repeat":n,"--wrapper-background-position":i,"--wrapper-background-size":r,"--wrapper-desktop-padding-top":s+"px","--wrapper-desktop-padding-bottom":l+"px","--wrapper-tablet-padding-top":c+"px","--wrapper-tablet-padding-bottom":d+"px","--wrapper-mobile-padding-top":u+"px","--wrapper-mobile-padding-bottom":p+"px"}},processedAnchorId(){if(this.anchorId)return this.removeSpecialCharactersAndSpaces(this.anchorId)}},methods:{removeSpecialCharactersAndSpaces:e=>e.replace(/[^a-zA-Z0-9]/g,"")},mounted(){document.body.classList.contains("header3")&&this.anchorId&&r("hc::block::mounted",{name:this.anchorId,anchorId:this.processedAnchorId})}},l=(0,a(6262).A)(s,[["render",function(e,t,a,i,r,s){return(0,o.uX)(),(0,o.CE)("div",{id:s.processedAnchorId,class:(0,o.C4)(["block-wrapper common-component",a.classList]),style:(0,o.Tr)(s.cssProps)},[(0,o.RG)(e.$slots,"default")],14,n)}]])},3445(e,t,a){"use strict";a.d(t,{A:()=>s});var o=a(1425);const n=["href","target","aria-label"];var i=a(792);const r=(0,o.pM)({name:"ButtonLink",components:{adaNewTab:i.A},props:{type:{type:String,required:!0},classList:{type:String},linkData:{type:Object,required:!0},clickEvent:{type:Function}},setup(e){const t=(0,o.KR)(""),a=(0,o.KR)(!1),n=(0,o.KR)(!1),i=(0,o.KR)(""),r=(0,o.KR)(!1),s=(0,o.KR)("_self"),l=(0,o.KR)(""),c=(0,o.KR)(!1),d=(0,o.KR)(""),u=(e,t)=>e?`${e} ${t}`:t,p=()=>{const o=e.linkData;if(o){if(o.href&&(i.value=o.href),o.target&&(r.value=o.target,s.value=r.value?"_blank":"_self"),o.targetLabel&&(c.value=!0,d.value=o.targetLabel),e.classList&&(t.value=e.classList),o.ariaLabel&&(l.value=o.ariaLabel),"style"in o){switch(o.style.toLowerCase()){case"primary":t.value=u(t.value,"btn btn-primary");break;case"secondary":t.value=u(t.value,"btn btn-secondary");break;case"ghost":t.value=u(t.value,"btn btn-ghost");break;case"action custom":t.value=u(t.value,"btn btn-custom");break;case"link":t.value=u(t.value,"btn-text-only");break;default:t.value=u(t.value,"btn btn-action")}if("state"in o)switch(o.state.toLowerCase()){case"loading":t.value=u(t.value,"loading");break;case"disabled":t.value=u(t.value,"disabled")}}else t.value=u(t.value,"more-link");"link-only"===e.type&&o.href&&o.title?a.value=!0:"text-only"===e.type&&o.title&&(n.value=!0)}};return(0,o.sV)(()=>{p()}),{classNames:t,isAnchor:a,isButton:n,href:i,openNewTab:r,target:s,ariaLabel:l,hasNewTabContent:c,newTabContent:d,analyzeSettings:p}}}),s=(0,a(6262).A)(r,[["render",function(e,t,a,i,r,s){const l=(0,o.g2)("ada-new-tab");return e.isAnchor?((0,o.uX)(),(0,o.CE)("a",{key:0,class:(0,o.C4)(e.classNames),href:e.href,target:e.target,"aria-label":e.ariaLabel},[(0,o.eW)((0,o.v_)(e.linkData.title.trim())+" ",1),e.openNewTab&&e.newTabContent?((0,o.uX)(),(0,o.Wv)(l,{key:0,content:e.newTabContent},null,8,["content"])):(0,o.Q3)("v-if",!0)],10,n)):e.isButton?((0,o.uX)(),(0,o.CE)("button",{key:1,type:"button",class:(0,o.C4)(e.classNames),onClick:t[0]||(t[0]=(...t)=>e.clickEvent&&e.clickEvent(...t))},(0,o.v_)(e.linkData.title.trim()),3)):(0,o.Q3)("v-if",!0)}]])},1016(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>C});var o=a(1425);const n=["data-empty"],i={class:"container-member-rate",ref:"memberRateRoot"},r={key:0,class:"rates-text"},s={key:1,class:"rates-text member-rate-empty","aria-live":"polite"},l={class:"regular-rate-container"},c={class:"member-rate-container"},d={class:"member-rate-badge"},u={key:0,class:"member-rate-icon",focusable:"false"},p={key:1,class:"member-rate-icon"},m=["src"],g={class:"strikethrough-label"},f=["href"],h={class:"container-lead-rate-info"},b={key:0,class:"strikethrough-pricing"},v={class:"lead-rate-price"},w={class:"arrow-icon"},y={name:"DefaultMemberRate",components:{TailedArrowRightIcon:a(8686).A},props:{localesObjProp:{type:Object,default:()=>({})},showMemberRateBoolProp:{type:Boolean,default:!1},targetForMRM:{type:String,default:"#"},leadRate:String}};var k=a(6262);const x=(0,k.A)(y,[["render",function(e,t,a,n,i,r){const s=(0,o.g2)("glx-tc-lead-rate-value"),l=(0,o.g2)("glx-tc-lead-rate-member-value"),c=(0,o.g2)("tailed-arrow-right-icon");return(0,o.uX)(),(0,o.CE)("div",{class:(0,o.C4)(["container-default-member-rate btn",a.showMemberRateBoolProp?"btn-member-rate":"btn-regular-rate"])},[(0,o.Lk)("a",{href:a.targetForMRM},[(0,o.Lk)("div",h,[a.showMemberRateBoolProp?((0,o.uX)(),(0,o.CE)("div",b,[a.showMemberRateBoolProp?((0,o.uX)(),(0,o.Wv)(s,{key:0,class:"lead-rates-price lead-rates--bigger"})):(0,o.Q3)("v-if",!0)])):(0,o.Q3)("v-if",!0),(0,o.Lk)("div",v,[a.showMemberRateBoolProp?((0,o.uX)(),(0,o.Wv)(l,{key:1,class:"lead-rates-price lead-rates--bigger"})):((0,o.uX)(),(0,o.Wv)(s,{key:0,class:"lead-rates-price lead-rates--bigger"},{default:(0,o.k6)(()=>[(0,o.eW)((0,o.v_)(a.leadRate),1)],void 0,!0),_:1}))])]),(0,o.Lk)("div",w,[(0,o.bF)(c,{class:"arrow-right"})])],8,f)],2)}]]);var L=a(7884);const _={name:"MemberRateZoneApp",components:{DefaultMemberRate:x},props:{configs:{type:Object,required:!0}},setup(e){const t=""!==(0,L.o)("--member-rate-custom-logo")?(0,L.o)("--member-rate-custom-logo"):null,a=(0,o.KR)(null),n=(0,o.KR)("loading"),i=(0,o.KR)(!0);let r=null,s=null;const l=(0,o.EW)(()=>e.configs.targetForMRM?e.configs.targetForMRM:window.memberRateData?.[e.configs.blockId]?.targetForMRM||""),c=(0,o.EW)(()=>e.configs.iHotelierConfig?e.configs.iHotelierConfig:window.memberRateData?.[e.configs.blockId]?.iHotelierConfig||""),d=(0,o.EW)(()=>{const t=e.configs.leadRate||window.memberRateData?.[e.configs.blockId]?.leadRate||"";return String(t).trim()}),u=(0,o.EW)(()=>Boolean(c.value||d.value)),p=()=>
1{if(!u.value)return i.value=!1,n.value="empty",void(s&&(window.clearTimeout(s),s=null));const e=(t=a.value,t?.querySelector("glx-tc-lead-rate-value")?.textContent?.trim()||"");var t;const o=a.value?.querySelector("glx-tc-lead-rate-value"),r="true"===o?.getAttribute("data-has-member-rate");return i.value=r,e||d.value?(n.value="ready",void(s&&(window.clearTimeout(s),s=null))):(e=>{const t=Array.from(e?.querySelectorAll("glx-tc-lead-rate")||[]);return!!t.length&&t.some(e=>e.hasAttribute("data-empty"))})(a.value)?(n.value="empty",void(s&&(window.clearTimeout(s),s=null))):(n.value="loading",void(s||(s=window.setTimeout(()=>{"loading"===n.value&&(i.value=!1,n.value="empty"),s=null},7e3))))};return(0,o.sV)(()=>{p(),a.value&&(r=new MutationObserver(p),r.observe(a.value,{subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["data-has-member-rate","data-empty"]}))}),(0,o.xo)(()=>{r?.disconnect(),s&&(window.clearTimeout(s),s=null)}),{showMemberRateBoolean:t,memberRateRoot:a,leadRateStatus:n,showMemberRateContainer:i,targetForMRM:l,iHotelierConfig:c,hasRateSource:u,fallbackLeadRateText:d}}},C=(0,k.A)(_,[["render",function(e,t,a,f,h,b){const v=(0,o.g2)("default-member-rate"),w=(0,o.g2)("glx-tc-lead-rate");return(0,o.uX)(),(0,o.CE)("div",{class:(0,o.C4)(["member-rate-shell",`is-${f.leadRateStatus}`]),"data-empty":"empty"===f.leadRateStatus?"true":null},[(0,o.Lk)("div",i,[f.hasRateSource&&"empty"!==f.leadRateStatus?((0,o.uX)(),(0,o.CE)("div",r,(0,o.v_)(a.configs.localesObjProp?.ratesFrom),1)):(0,o.Q3)("v-if",!0),"empty"===f.leadRateStatus?((0,o.uX)(),(0,o.CE)("div",s,(0,o.v_)(a.configs.localesObjProp?.memberRateEmpty),1)):(0,o.Q3)("v-if",!0),(0,o.bo)((0,o.Lk)("div",{class:(0,o.C4)(["container-lead-rate",{"single-rate":!f.showMemberRateContainer}])},[(0,o.Lk)("div",l,[(0,o.bF)(w,{class:"m-content-object--footer-price lead-rates",config:f.iHotelierConfig},{default:(0,o.k6)(()=>[(0,o.bF)(v,{targetForMRM:f.targetForMRM,localesObjProp:a.configs.localesObjProp,leadRate:f.fallbackLeadRateText},null,8,["targetForMRM","localesObjProp","leadRate"])],void 0,!0),_:1},8,["config"])]),(0,o.bo)((0,o.Lk)("div",c,[(0,o.Lk)("div",d,[f.showMemberRateBoolean?((0,o.uX)(),(0,o.CE)("div",p,[(0,o.Lk)("img",{src:f.showMemberRateBoolean,alt:"Custom Member Rate Logo"},null,8,m)])):((0,o.uX)(),(0,o.CE)("svg",u,[...t[0]||(t[0]=[(0,o.Lk)("use",{href:"#reward-member-icon"},null,-1)])])),(0,o.Lk)("div",g,(0,o.v_)(a.configs.localesObjProp?.rewardProgramName),1)]),(0,o.bF)(w,{class:"m-content-object--footer-price lead-rates",config:f.iHotelierConfig},{default:(0,o.k6)(()=>[(0,o.bF)(v,{targetForMRM:f.targetForMRM,localesObjProp:a.configs.localesObjProp,showMemberRateBoolProp:!0,leadRate:f.fallbackLeadRateText},null,8,["targetForMRM","localesObjProp","leadRate"])],void 0,!0),_:1},8,["config"])],512),[[o.aG,f.showMemberRateContainer]])],2),[[o.aG,f.hasRateSource&&"empty"!==f.leadRateStatus]])],512)],10,n)}]])},9649(e,t,a){var o=a(3870);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals),(0,a(534).A)("27bd670e",o,!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.