(window.webpackJsonp=window.webpackJsonp||[]).push([[75],{1241:function(e,t,n){var i=n(1851);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);(0,n(165).default)("958ae1da",i,!0,{})},1850:function(e,t,n){"use strict";var i=n(1241);n.n(i).a},1851:function(e,t,n){(e.exports=n(164)(!1)).push([e.i,".become-member[data-v-52c405a7]{padding:72px 0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}@media only screen and (min-width: 768px){.become-member[data-v-52c405a7]{max-width:676px;margin:0 auto;-ms-flex-align:center;align-items:center;padding:0 0 120px}}@media only screen and (min-width: 768px){.become-member__action-btn[data-v-52c405a7]{max-width:314px}}.become-member__message[data-v-52c405a7]{font-size:16px;line-height:24px;font-weight:400;margin-bottom:32px}@media only screen and (min-width: 768px){.become-member__message[data-v-52c405a7]{font-size:18px;line-height:32px;font-weight:400;margin-bottom:48px}}.become-member[data-v-52c405a7] a{font-size:16px;line-height:24px;font-weight:800;text-decoration:underline}@media only screen and (min-width: 768px){.become-member[data-v-52c405a7] a{font-size:18px;line-height:24px;font-weight:800}}\n",""])},2006:function(e,t,n){"use strict";n.r(t);var i=n(301),o=n(850),r=n.n(o),s=n(790),a=n(799),c=n.n(a),d=n(92);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p={mixins:[s.a],components:{ButtonWithIcon:i.a,VueMarkdown:r.a,"no-ssr":c.a},props:{text:{type:String,required:!0}},computed:m(m({},Object(d.c)({isLoggedIn:"user/isLoggedIn"})),{},{displayBecomeMember:function(){return!this.isDesktop||!this.isLoggedIn},lowerSectionBtnText:function(){return this.isLoggedIn?this.$t("Read the terms"):this.$t("Become Apollo Club member")},isDesktop:function(){return"xs"!==this.breakpoint}}),methods:{handleClick:function(){this.isLoggedIn?console.log("should navigate to rules page"):console.log("welcome to the club buddy")}}},h=(n(1850),n(39)),b=Object(h.a)(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("no-ssr",[e.displayBecomeMember?n("div",{staticClass:"container"},[n("section",{staticClass:"become-member"},[n("vue-markdown",{staticClass:"become-member__message",attrs:{source:e.text}}),e._v(" "),n("button-with-icon",{staticClass:"w-100 become-member__action-btn",attrs:{type:"primary","data-testid":"become-member"},nativeOn:{click:function(t){return e.handleClick(t)}}},[e._v("\n        "+e._s(e.lowerSectionBtnText)+"\n      ")])],1)]):e._e()])}),[],!1,null,"52c405a7",null);t.default=b.exports},790:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i={data:function(){return{breakpoint:null,innerWidth:0}},watch:{breakpoint:function(e){this.onBreakpointChanged()}},mounted:function(){this.onResize(),window.addEventListener("resize",this.onResize)},beforeDestroy:function(){window.removeEventListener("resize",this.onResize)},methods:{onResize:function(){var e=window,t=e.outerWidth,n=e.innerWidth;this.innerWidth=n,this.breakpoint=t>=1464?"lg":t>=1088?"md":t>=768?"sm":t>=478?"xsm":"xs"},onBreakpointChanged:function(){}}}},799:function(e,t,n){"use strict";
/*!
 * vue-no-ssr v0.2.2
 * (c) 2017-present egoist <0x142857@gmail.com>
 * Released under the MIT License.
 */e.exports={name:"no-ssr",props:["placeholder"],data:function(){return{canRender:!1}},mounted:function(){this.canRender=!0},render:function(e){return this.canRender?this.$slots.default&&this.$slots.default[0]:e("div",{class:["no-ssr-placeholder"]},this.$slots.placeholder||this.placeholder)}}}}]);
//# sourceMappingURL=75.30ea36b1b59372b5d587.js.map