1"use strict";(self["webpackChunkfind_v2_spafinder"]=self["webpackChunkfind_v2_spafinder"]||[]).push([[2045],{26454:function(e,t,i){i.d(t,{A:function(){return p}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.keepAlive?"keep-alive":"div",{tag:"component"},[t("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:!e.wasVisible&&(t=>e.wasVisible=e.wasVisible||t),expression:"wasVisible ? false : isVisible => (wasVisible = wasVisible || isVisible)"}]},[e._t("default",null,{wasVisible:e.wasVisible})],2)])},n=[],a=i(42473),o=i(31635),r=i(11406);let l=class extends r.lD{constructor(...e){super(...e),(0,a.A)(this,"keepAlive",void 0),(0,a.A)(this,"wasVisible",!1)}};(0,o.Cg)([(0,r.kv)({type:Boolean,default:!1})],l.prototype,"keepAlive",void 0),l=(0,o.Cg)([(0,r.uA)({})],l);var d=l,c=d,u=i(81656),g=(0,u.A)(c,s,n,!1,null,null,null),p=g.exports},32866:function(e,t,i){i.d(t,{A:function(){return C}});var s=i(76401),n=i(61605),a=i(994),o=i(49027),r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.customItems[e.slideIndex]&&e.customItems[e.slideIndex].link?"router-link":"div",{tag:"component",class:{"fade-custom-transition":e.isFadeTransition},staticStyle:{"text-decoration":"none"},attrs:{to:e.customItems[e.slideIndex]&&e.customItems[e.slideIndex].link}},[t("div",{class:{"fade-custom-transition":e.isFadeTransition}},[t("div",{staticClass:"static-content-wrap"},[t("div",{staticClass:"static-content",style:e.minHeight},[e._t("static")],2),t(s.A,{staticClass:"parallax-background-image elevation-0 height-100",attrs:{cycle:"","show-arrows":!1,"hide-delimiters":""},on:{change:function(t){return e.emitOnSlideChange(t)}},model:{value:e.slideIndex,callback:function(t){e.slideIndex=t},expression:"slideIndex"}},e._l(e.customItems,function(i,s){return t(n.A,{key:s,attrs:{src:e.vBreakpoint.mdAndUp?"":i.logo}},[t(a.A,{staticClass:"width-100",attrs:{options:{threshold:.5},transition:"fade-transition"}},[e.vBreakpoint.mdAndUp?t(o.A,{staticClass:"width-100 height-100",attrs:{loading:"lazy",src:i.logo,fetchpriority:"low",jumbotron:""}}):e._e()],1)],1)}),1)],1)])])},l=[],d=i(42473),c=(i(18111),i(61701),i(31635)),u=i(11406),g=i(48657),p=i(95353);let h=class extends u.lD{constructor(...e){super(...e),(0,d.A)(this,"backgroundImages",void 0),(0,d.A)(this,"isFadeTransition",void 0),(0,d.A)(this,"SET_BACKGROUND_IMAGES",void 0),(0,d.A)(this,"slideIndex",0)}emitOnSlideChange(e){return e}get customItems(){return this.backgroundImages.map(e=>{const t=this.$options?.filters?.imageNormalizer(e.logo)(this.searchImageSize)||e.logo;return new g.Dm({...e,logo:t})})}get vBreakpoint(){return this.$vuetify.breakpoint}get carouselHeight(){switch(this.$vuetify.breakpoint.name){case"xs":return 450;case"sm":return 500;case"md":return 550;case"lg":return 600;case"xl":return 700;default:return 300}}get minHeight(){return`height: ${this.carouselHeight}px`}get searchImageSize(){switch(this.$vuetify.breakpoint.name){case"xs":return"888x500";case"sm":return"1066x600";case"md":return"1333x750";case"lg":return"1333x750";case"xl":return"1333x750";default:return"360x260"}}beforeDestroy(){this.SET_BACKGROUND_IMAGES([])}};(0,c.Cg)([(0,u.kv)({type:Array,default:()=>[],required:!0})],h.prototype,"backgroundImages",void 0),(0,c.Cg)([(0,u.kv)({type:Boolean,default:!0,required:!1})],h.prototype,"isFadeTransition",void 0),(0,c.Cg)([(0,u.O5)("on-slide-change")],h.prototype,"emitOnSlideChange",null),h=(0,c.Cg)([(0,u.uA)({methods:{...(0,p.PY)("HomeModule",["SET_BACKGROUND_IMAGES"])}})],h);var v=h,f=v,m=i(81656),A=(0,m.A)(f,r,l,!1,null,"63a83886",null),C=A.exports},40462:function(e,t,i){i.r(t),i.d(t,{default:function(){return N}});var s=i(50487),n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[e.getPageContentLoadingState?t("div",{staticClass:"v-overlay v-overlay--active d-flex align-center"},[t(s.A,{attrs:{color:"grey lighten-2",width:15,size:150,indeterminate:""}})],1):t("BestOfLayout",{attrs:{"is-all":!e.destination,destination:e.destination,"offers-carousel-creative-description":e.dataLayerCreativeTypesEnum.bestOfOffers,"travel-listings-creative-description":e.dataLayerCreativeTypesEnum.bestOfTravelDestinations}})],1)},a=[],o=i(42473),r=(i(18111),i(61701),i(31635)),l=i(11406),d=i(95353),c=i(1090),u=i(25636),g=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("div",{staticClass:"p-relative"}
1,[t("ParallaxBackgroundImage",{key:e.destination,attrs:{"background-images":e.getBackgroundImages},on:{"on-slide-change":e.slideIndexEmit},scopedSlots:e._u([{key:"static",fn:function(){return[t("h1",{staticClass:"text-center align-self-center white--text font-weight-thin text-uppercase",domProps:{innerHTML:e._s(e.getDestinationHeader.section_heading)},on:{click:function(t){return e.trackPromotion(e.getDestinationHeader.section_heading)}}}),t("div",{staticClass:"alter-slide-wrapper"},[e.isSingleSlideAlterTextPresent&&e.getBackgroundImages[e.slideIndex]?t("h3",{staticClass:"white--text mb-3 text-right alter-slide-text pa-5",class:[e.vBreakpoint.smAndUp?"mr-5":"mr-4"],domProps:{innerHTML:e._s(e.getBackgroundImages[e.slideIndex].name)},on:{click:function(t){return e.trackPromotion(e.getBackgroundImages[e.slideIndex].name)}}}):e._e()])]},proxy:!0}])})],1),e.getPageContentLoadingState||e.getBrandsInfo.length?t("BrandsCarousel",{staticClass:"my-4 mx-auto",attrs:{loading:e.getPageContentLoadingState,"brands-info":e.getBrandsInfo}}):e._e(),t("OffersCarousel",{staticClass:"mb-5",class:{"pb-0":!e.isAll,"pt-4":e.vBreakpoint.xsOnly},attrs:{header:e.getOffersInfo.section_heading,location:e.destination,"creative-description":e.offersCarouselCreativeDescription}}),t("AsyncContainer",{scopedSlots:e._u([{key:"default",fn:function({wasVisible:i}){return[e.isAll?t(i&&e.isAll?"TravelListings":"div",{tag:"component",attrs:{"background-image":e.getTravelFeatureInfo.background_image,"creative-description":e.travelListingsCreativeDescription}},[t("h2",{staticClass:"text-center white--text text-uppercase home-featured-title",domProps:{innerHTML:e._s(e.getTravelFeatureInfo.section_heading)}})]):e._e(),t(i?"TmpListings":"div",{tag:"component",class:[e.isAll?"py-12":"py-0"],attrs:{destination:e.destination}})]}}])})],1)},p=[],h=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("OffersCarousel",{staticClass:"resorts-and-destination-spas-offers-carousel",attrs:{target:"push",postal:e.location,padding:!1,"cards-border":!0,"search-arguments":e.location?{}:{includedPrograms:e.businessTypesEnum.destinationSpa},"creative-name":e.creativeDescription,"show-search-field":!1,"creative-slot":"offer_impressions","elements-container-classes":"px-0"},scopedSlots:e._u([{key:"header",fn:function(){return[t("h2",{staticClass:"mb-4 offers-title text-center font-weight-thin grey--text text--darken-1",class:{"mb-12":e.vBreakpoint.mdAndUp},domProps:{innerHTML:e._s(e.header)}})]},proxy:!0}])})},v=[],f=i(23893);const m=()=>i.e(1977).then(i.bind(i,48351));let A=class extends l.lD{constructor(...e){super(...e),(0,o.A)(this,"header",void 0),(0,o.A)(this,"location",void 0),(0,o.A)(this,"creativeDescription",void 0),(0,o.A)(this,"getOffers",void 0),(0,o.A)(this,"destination",""),(0,o.A)(this,"businessTypesEnum",f.d)}checkPostal(e){this.destination=e}get vBreakpoint(){return this.$vuetify.breakpoint}};(0,r.Cg)([(0,l.kv)({type:String,default:"",required:!0})],A.prototype,"header",void 0),(0,r.Cg)([(0,l.kv)({type:String,default:"",required:!0})],A.prototype,"location",void 0),(0,r.Cg)([(0,l.kv)({type:String,default:"",required:!0})],A.prototype,"creativeDescription",void 0),(0,r.Cg)([(0,l.ox)("location")],A.prototype,"checkPostal",null),A=(0,r.Cg)([(0,l.uA)({components:{OffersCarousel:m},computed:{...(0,d.L8)("BestOfModule",["getOffers"])}})],A);var C=A,y=C,I=i(81656),_=(0,I.A)(y,h,v,!1,null,"17be1799",null),x=_.exports,k=i(26454),S=i(32866);const b=()=>i.e(765).then(i.bind(i,19270)),B=()=>Promise.all([i.e(5325),i.e(4265),i.e(7e3)]).then(i.bind(i,54242)),T=()=>i.e(6063).then(i.bind(i,73693));let P=class extends l.lD{constructor(...e){super(...e),(0,o.A)(this,"isAll",void 0),(0,o.A)(this,"destination",void 0),(0,o.A)(this,"offersCarouselCreativeDescription",void 0),(0,o.A)(this,"travelListingsCreativeDescription",void 0),(0,o.A)(this,"getOffersInfo",void 0),(0,o.A)(this,"getBrandsInfo",void 0),(0,o.A)(this,"getBrandItemImages",void 0),(0,o.A)(this,"getBackgroundImages",void 0),(0,o.A)(this,"getTravelFeatureInfo",void 0),(0,o.A)(this,"getDestinationHeader",void 0),(0,o.A)(this,"getPageContentLoadingState",void 0),(0,o.A)(this,"isSingleSlideAlterTextPresent",void 0),(0,o.A)(this,"logBestOfAction",void 0),(0,o.A)(this,"SET_PARALLAX_BACKGROUND_IMAGES",void 0),(0,o.A)(this,"slideIndex",0)}mounted(){this.SET_PARALLAX_BACKGROUND_IMAGES(this.getBrandItemImages)}get vBreakpoint(){return this.$vuetify.breakpoint}get getSource(){return this.$route.name||"best-of"}
1slideIndexEmit(e){const t=this.getBackgroundImages[e]?.name,i=this.getSource;this.slideIndex=e,this.logBestOfAction({label:t,category:i,value:"promotion"})}trackPromotion(e){const t=this.getSource;this.logBestOfAction({label:e,category:t,value:"hero"})}};(0,r.Cg)([(0,l.kv)({type:Boolean,default:!0,required:!0})],P.prototype,"isAll",void 0),(0,r.Cg)([(0,l.kv)({type:String,default:"",required:!0})],P.prototype,"destination",void 0),(0,r.Cg)([(0,l.kv)({type:String,default:"",required:!0})],P.prototype,"offersCarouselCreativeDescription",void 0),(0,r.Cg)([(0,l.kv)({type:String,default:"",required:!0})],P.prototype,"travelListingsCreativeDescription",void 0),P=(0,r.Cg)([(0,l.uA)({components:{TmpListings:B,BrandsCarousel:b,OffersCarousel:x,TravelListings:T,AsyncContainer:k.A,ParallaxBackgroundImage:S.A},computed:{...(0,d.L8)("HomeModule",["getBackgroundImages"]),...(0,d.L8)("BestOfModule",["getOffersInfo","getBrandsInfo","getBrandItemImages","getTravelFeatureInfo","getDestinationHeader","getPageContentLoadingState","isSingleSlideAlterTextPresent"])},methods:{...(0,d.i0)("AnalyticsModule",["logBestOfAction"]),...(0,d.PY)("BestOfModule",["SET_PARALLAX_BACKGROUND_IMAGES"])}})],P);var w=P,E=w,L=(0,I.A)(E,g,p,!1,null,"3cb40752",null),D=L.exports;let O=class extends l.lD{constructor(...e){super(...e),(0,o.A)(this,"getYoastInfo",void 0),(0,o.A)(this,"getPageContentLoadingState",void 0),(0,o.A)(this,"initPageContent",void 0),(0,o.A)(this,"pushEventMetaInfo",void 0),(0,o.A)(this,"initBackgroun
1dImages",void 0),(0,o.A)(this,"SET_FILTER_INIT",void 0),(0,o.A)(this,"SET_CURRENT_PAGE_NAME",void 0),(0,o.A)(this,"dataLayerCreativeTypesEnum",u.h),(0,o.A)(this,"destination","")}watchMeta(){this.getPageContentLoadingState||this.$emit("updateHead")}async watchRoute(e){await this.initPageContentDestination(e.params.destination),await this.pushEventMetaInfo(document.title)}created(){this.SET_FILTER_INIT(!1),this.SET_CURRENT_PAGE_NAME("Best-of")}get meta(){const e=this.getYoastInfo.description;let t=this.getYoastInfo.title||"404";return this.getPageContentLoadingState&&(t="Best Hotels & Destination Resorts"),{title:t,description:e}}async initPageContentDestination(e){await this.initPageContent(e),await this.changeDestination(e),await this.initBackgroundImages({breakpoint:this.$vuetify.breakpoint,destination:e})}changeDestination(e){this.destination="",e!==c.W.resortsAndHotelSpas&&(this.destination=e.split("-").map(e=>(e[0]&&e[0].toUpperCase()||"")+e.slice(1)).join(" "))}};(0,r.Cg)([(0,l.ox)("meta")],O.prototype,"watchMeta",null),(0,r.Cg)([(0,l.ox)("$route",{deep:!0,immediate:!0})],O.prototype,"watchRoute",null),O=(0,r.Cg)([(0,l.uA)({head:{title(){return{inner:this.meta.title}},meta(){return[{id:"description",name:"description",content:this.meta.description||"The Best Spas"}]}},components:{BestOfLayout:D},computed:{...(0,d.L8)("HomeModule",["getBackgroundImages"]),...(0,d.L8)("BestOfModule",["getPageContentLoadingState","getYoastInfo"])}
1,methods:{...(0,d.i0)("HomeModule",["initBackgroundImages"]),...(0,d.i0)("BestOfModule",["initPageContent"]),...(0,d.i0)("DataLayerModule",["pushEventMetaInfo"]),...(0,d.PY)("FilterModule",["SET_FILTER_INIT"]),...(0,d.PY)("WidgetsModule",["SET_CURRENT_PAGE_NAME"])}})],O);var M=O,R=M,H=(0,I.A)(R,n,a,!1,null,null,null),N=H.exports},23893:function(e,t,i){var s;i.d(t,{d:function(){return s}}),function(e){e["salon"]="Salon",e["daySpa"]="Day Spa",e["pilates"]="Pilates",e["fitness"]="Fitness",e["allSpas"]="All Spas",e["staySpa"]="Stay Spa",e["yogaStudio"]="Yoga Studio",e["medicalSpa"]="Medical Spa",e["independent"]="Independent",e["destinationSpa"]="Destination Spa",e["wellnessCenter"]="Wellness Center"}(s||(s={}))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.