(window.webpackJsonp=window.webpackJsonp||[]).push([[77],{1139:function(e,t,r){"use strict";r.r(t);var n=r(7),l=(r(40),r(38),r(22),r(14),r(19),r(115),r(64)),o=r(238),c=r(60),m={name:"Leisure",components:{Banner:c.b,BannerGray:c.e,Cardmembers:c.i,CopyWithImage:c.j,FormDigits:c.n,FooterSlider:c.m,NewSliderHero:c.x,Terms:c.J},mixins:[l.a,o.a],head:function(){var e,t=this.$config.frontURL,r=this.$route.fullPath,n=r.match(/\/[a-z]{2}(\/.+)/)?r.match(/\/[a-z]{2}(\/.+)/)[1]:r,l=null===(e=this.countries)||void 0===e?void 0:e.map((function(e){return{rel:"alternate",hreflang:"".concat(e.language,"-").concat(e.slug),href:"".concat(t,"/").concat(e.slug).concat(n)}}));return null==l||l.unshift({rel:"canonical",href:"".concat(t).concat(r)}),{link:l,title:this.metaTitle,meta:this.h__generate_headers({title:this.metaTitle,current_url:this.metaUrl,main_image:this.metaImage,description:this.metaDescription,locale:this.metaLocale}),htmlAttrs:{lang:this.country.language}}},asyncData:function(e){return Object(n.a)(regeneratorRuntime.mark((function t(){var r,n,l,o,c,m,h,_,d,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.store,n=e.route,t.next=3,r.dispatch("page/getPage",{url_page:"leisure-pages",route:n});case 3:return l=t.sent,o=l.page,c=l.page_detail,m=l.sliders,h=l.items,_=l.terms,d=l.country,f=l.countries,t.next=13,r.commit("page/askBin",o.ask_bin);case 13:return t.abrupt("return",{page:o,page_detail:c,sliders:m,items:h,terms:_,country:d,countries:f});case 14:case"end":return t.stop()}}),t)})))()},mounted:function(){var e,t=this.$router.currentRoute.path.match(/\/[a-z]{2}(\/.+)/);e=t&&t[1]?t[1]:this.$router.currentRoute.path,window.dataLayer.push({event:"virtualPageview",virtualPageURL:this.$router.currentRoute.path,virtualPageTitle:this.title,url_benefit:e})},computed:{metaTitle:function(){return"".concat(this.page_detail.full_title," | American Express ").concat(this.country.name)},metaUrl:function(){return"".concat("https://experiences.global").concat(this.$nuxt.$route.fullPath)},metaImage:function(){return"".concat("https://experiences.global","/images/logo.svg")},metaDescription:function(){return this.page_detail.full_text},metaLocale:function(){var e;return"".concat(this.country.language,"_").concat(null===(e=this.country.slug)||void 0===e?void 0:e.toUpperCase())}}},h=r(2),component=Object(h.a)(m,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[e.page_detail.published?[r("h1",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[e._v(e._s(e.metaTitle||"Experiences Global"))]),e._v(" "),r("NewSliderHero",{attrs:{sliders:e.sliders}}),e._v(" "),r("BannerGray",{attrs:{destacated:e.page.full_banner_destacated,text:e.page.full_banner_text}}),e._v(" "),e.page.description_image?r("CopyWithImage",{attrs:{title:e.page.full_description_title,description:e.page.full_description_text,image:e.page.full_description_image}}):e._e(),e._v(" "),r("no-ssr",[r("FormDigits")],1),e._v(" "),r("Cardmembers",{attrs:{page:"LeisurePage"}}),e._v(" "),e.page_detail.show_sliders_footer?r("FooterSlider",{attrs:{page:"LeisurePage"}}):e._e(),e._v(" "),r("Terms",{attrs:{terms:e.terms}})]:[r("Banner",{attrs:{title:e.$t("general.benefit_not_available.title"),text:e.$t("general.benefit_not_available.subtitle"),cta:e.$t("general.benefit_not_available.button")}}),e._v(" "),r("FooterSlider",{attrs:{page:"LeisurePage"}})]],2)}),[],!1,null,null,null);t.default=component.exports}}]);