(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{1102:function(e,t,r){"use strict";r.r(t);var n=r(7),c=(r(40),r(38),r(16),r(23),r(22),r(14),r(8),r(25),r(64)),d=r(60),o={name:"Home",components:{CardBenefits:d.f,FormDigitsHome:d.o,RecommendedBenefits:d.A,SliderHeroHome:d.H,Terms:d.J},mixins:[c.a],head:function(){var e,t=this.$config.frontURL,r=this.$route.fullPath,n=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)}}));return null==n||n.unshift({rel:"canonical",href:"".concat(t).concat(r)}),{link:n,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,c,d,o,l,m,f,h,v,_;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:"home",route:n});case 3:return c=t.sent,d=c.page,o=c.page_detail,l=c.sliders,m=c.terms,f=c.categories,h=c.pages,v=c.country,_=c.countries,t.abrupt("return",{page:d,page_detail:o,sliders:l,terms:m,categories:f,category_selected:f[0].id,pages:h,country:v,countries:_});case 13:case"end":return t.stop()}}),t)})))()},mounted:function(){window.dataLayer.push({event:"virtualPageview",virtualPageURL:this.$router.currentRoute.path,virtualPageTitle:this.title,url_benefit:this.$router.currentRoute.path})},computed:{filtered_pages:function(){var e=this;return this.pages&&this.pages.length?this.pages.filter((function(t){var r,n=t.category_id,c=t.page_detail;return n==e.category_selected&&(null===c.memberships||c.memberships.includes(""+(null===(r=e.membership.membership)||void 0===r?void 0:r.id))||"us"===e.country.slug&&(c.memberships.includes("3")||c.memberships.includes("7")))})).map((function(e){return e?e.page_detail:null})):[]},membership:function(){return this.$store.getters["user/membership"]},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())}}},l=(r(945),r(2)),component=Object(l.a)(o,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"home"},[r("h1",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[e._v(e._s(e.metaTitle||"Experiences Global"))]),e._v(" "),r("SliderHeroHome",{attrs:{title:e.page.full_hero_title,subtitle:e.page.full_hero_text,sliders:e.sliders,maxSlidersShow:e.page.sliders_show}}),e._v(" "),r("FormDigitsHome"),e._v(" "),r("RecommendedBenefits",{attrs:{page:"HomePage"}}),e._v(" "),r("section",{staticClass:"cards-c white-bk"},[r("div",{staticClass:"bg-navbar"},[r("div",{staticClass:"wrap wrap--narrow"},[r("ul",{staticClass:"cardsNav"},e._l(e.categories,(function(t){return r("li",{key:t.id,staticClass:"cardsNav__item",attrs:{"data-aos":"fade-up","data-aos-duration":"1200","data-aos-delay":"500","data-aos-offset":"0","data-aos-easing":"ease-out-cubic","data-aos-mirror":"true"}},[r("button",{staticClass:"cardsNav__link font-primary font-24 line-28 size-400",class:{"--active":e.category_selected==t.id},on:{click:function(r){e.category_selected=t.id}}},[e._v("\n "+e._s(e.$t("general.nav").find((function(e){return e.slug===t.slug})).name)+"\n ")])])})),0)])]),e._v(" "),r("div",{staticClass:"wrap wrap--narrow"},[r("div",{staticClass:"cards-list"},e._l(e.filtered_pages,(function(e){return r("CardBenefits",{key:e.id,attrs:{item:e}})})),1)])]),e._v(" "),""!=e.terms.full_text?r("Terms",{attrs:{terms:e.terms}}):e._e()],1)}),[],!1,null,"ed9c91fa",null);t.default=component.exports},845:function(e,t,r){var content=r(946);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(6).default)("1b993c71",content,!0,{sourceMap:!1})},945:function(e,t,r){"use strict";r(845)},946:function(e,t,r){var n=r(5)((function(i){return i[1]}));n.push([e.i,"[data-v-ed9c91fa]:root{--bk:#f2f3f5;--white:#fff;--gray1:#d9d9d6;--gray2:#a7a8aa;--gray3:#707070;--black:#000;--accentblue:#66a9e2;--deepblue:#00175a;--brightblue:#006fcf;--brightblue2:#1067b2;--transparent:transparent}html[data-v-ed9c91fa]{font-size:62.5%}@media screen and (max-width:1920px){html[data-v-ed9c91fa]{font-size:.52083vw}}@media screen and (min-width:1023.1px)and (max-width:1220px){html[data-v-ed9c91fa]{font-size:.60241vw}}@media screen and (max-width:1023px){html[data-v-ed9c91fa]{font-size:2.66667vw}}html body[data-v-ed9c91fa]{font-size:1.6rem}.cards-c[data-v-ed9c91fa],.home[data-v-ed9c91fa]{width:100%}.cards-c[data-v-ed9c91fa]{padding-bottom:4rem}.cards-c .bg-navbar[data-v-ed9c91fa]{background-color:#f7f8f9}@media screen and (max-width:1023px){.cards-c .bg-navbar .wrap[data-v-ed9c91fa]{padding:0}}.cards-c .cardsNav[data-v-ed9c91fa]{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.cards-c .cardsNav__link[data-v-ed9c91fa]{border-bottom:2px solid transparent;color:#75787b;padding:3.4rem 1rem;text-align:center;width:100%}@media screen and (max-width:1023px){.cards-c .cardsNav__link[data-v-ed9c91fa]{font-size:1.75rem!important;padding:2rem 1rem}}.cards-c .cardsNav__link[data-v-ed9c91fa]:hover{color:#006fcf}.cards-c .cardsNav__link.--active[data-v-ed9c91fa]{background-color:#fff;border-bottom:2px solid #006fcf;color:#006fcf}.cards-c .cards-list[data-v-ed9c91fa]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:1fr;min-height:20rem;width:100%;grid-column-gap:3rem;grid-row-gap:5rem;margin:4rem 0 0;padding:0 2rem}@media screen and (max-width:1023px){.cards-c .cards-list[data-v-ed9c91fa]{gap:2rem;grid-template-columns:repeat(2,1fr);grid-template-rows:auto;margin:2rem 0 0;padding:0}}",""]),n.locals={},e.exports=n}}]);