(window.webpackJsonp=window.webpackJsonp||[]).push([[39,218,269,382],{1449:function(e,t,n){var content=n(1731);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(94).default)("4f686c4d",content,!0,{sourceMap:!1})},1730:function(e,t,n){"use strict";n(1449)},1731:function(e,t,n){var o=n(93)(!1);o.push([e.i,".component-article-section-inline-newsletter {\n margin: 35px -20px;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter {\n margin: 45px auto;\n min-width: 100%;\n max-width: 100%;\n}\n}\n.component-article-section-inline-newsletter.mobile {\n display: none;\n}\n@media (max-width: 768px) {\n.component-article-section-inline-newsletter.mobile {\n display: block;\n}\n}\n.component-article-section-inline-newsletter.desktop {\n display: none;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter.desktop {\n display: block;\n}\n}\n.component-article-section-inline-newsletter .newsletter {\n z-index: 3;\n display: flex;\n flex-direction: column;\n gap: 30px;\n position: relative;\n padding: 50px;\n align-items: center;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter {\n z-index: 10003;\n flex-direction: row;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form {\n width: 275px;\n position: relative;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form {\n width: initial;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__radio-wrapper {\n display: flex;\n flex-direction: column;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__radio-wrapper {\n flex-direction: row;\n flex-wrap: wrap;\n}\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form .component-common-radio {\n width: 50%;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .component-common-radio-label {\n margin-top: unset;\n margin-bottom: 15px;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-field {\n display: flex;\n flex-direction: column;\n gap: 15px;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-field {\n width: 320px;\n flex-direction: row;\n gap: 0;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form input[type='text'] {\n border-radius: 0;\n box-shadow: none;\n appearance: none;\n -webkit-border-radius: 0;\n -webkit-box-shadow: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form input[type='text']:-webkit-autofill,\n.component-article-section-inline-newsletter .newsletter .newsletter__form input[type='text']:-webkit-autofill:hover,\n.component-article-section-inline-newsletter .newsletter .newsletter__form input[type='text']:-webkit-autofill:focus,\n.component-article-section-inline-newsletter .newsletter .newsletter__form input[type='text']:-webkit-autofill:active {\n -webkit-box-shadow: 0 0 0 1000px #fff inset;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-input {\n display: flex;\n align-items: center;\n height: 40px;\n width: 100%;\n border: none;\n appearance: none;\n background: #FFF;\n padding: 12px;\n font-family: \"ProximaNovaRegular\", Arial, sans-serif;\n font-size: 16px;\n box-shadow: inset 0 0 0 2px #FFF;\n transition: 0.2s;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-input::placeholder {\n color: #696969;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-input {\n width: 230px;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-submit {\n border: 0;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 20px;\n width: 100%;\n height: 40px;\n font-family: \"ProximaNovaRegular\", Arial, sans-serif;\n font-size: 16px;\n text-align: center;\n cursor: pointer;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-submit:focus-visible {\n outline: none;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-submit {\n max-width: 90px;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__policy {\n font-family: \"ProximaNovaRegular\", Arial, sans-serif;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: 0.1px;\n color: #FFF;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__policy a {\n color: #FFF;\n text-decoration: underline;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__message {\n font-family: \"ProximaNovaRegular\", Arial, sans-serif;\n font-size: 16px;\n line-height: 28px;\n color: #FFF;\n min-height: 18px;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__message.newsletter__message--error {\n font-size: 12px;\n line-height: 18px;\n letter-spacing: 0.1px;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__message.newsletter__message--error span {\n display: flex;\n align-items: center;\n margin: -5px 0 5px;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__message.newsletter__message--error .exclamation-point-white {\n height: 12px;\n width: 12px;\n margin-right: 5px;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__message.newsletter__message--success {\n position: absolute;\n}\n.component-article-section-inline-newsletter .newsletter.newsletter--without-image-version .newsletter__image {\n display: none;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter.newsletter--without-image-version .newsletter__image {\n display: flex;\n}\n}\n.component-article-section-inline-newsletter .newsletter--overlay {\n position: fixed;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(255, 255, 255, 0.5);\n z-index: 2;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter--overlay {\n z-index: 10002;\n}\n}\n.component-article-section-inline-newsletter .newsletter {\n background-color: #21874E;\n height: 560px;\n padding-top: 40px;\n}\n.component-article-section-inline-newsletter .newsletter.fitness {\n background-color: #CF4A27;\n}\n.component-article-section-inline-newsletter .newsletter.nutrition {\n background-color: #21874E;\n}\n.component-article-section-inline-newsletter .newsletter.weight-management {\n background-color: #4A4D8A;\n}\n.component-article-section-inline-newsletter .newsletter.editors-picks {\n background-color: #404B51;\n}\n.component-article-section-inline-newsletter .newsletter.challenges {\n background-color: #313A5B;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter {\n height: initial;\n padding: 45px 50px 25px 30px;\n}\n}\n.component-article-section-inline-newsletter .newsletter.has--gender-selection {\n height: 732px;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter.has--gender-selection {\n height: 326px;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__image {\n height: 180px;\n width: 180px;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__image {\n height: 200px;\n width: 200px;\n}\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form {\n align-self: flex-start;\n width: 418px;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__title {\n color: #2E2E30;\n font-size: 28px;\n font-family: \"ProximaNovaSemiBold\", Arial, sans-serif;\n font-style: normal;\n line-height: 36px;\n letter-spacing: 0;\n color: #FFF;\n margin-bottom: 5px;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__radio-wrapper {\n margin-top: 5px;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-input {\n color: #404B51;\n border-radius: 3px;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-input {\n border-radius: 3px 0 0 3px;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-input:focus {\n box-shadow: inset 0 0 0 2px #FF9F97;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-input::placeholder {\n color: #696969;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-submit {\n background: #F7E392;\n color: #404B51;\n border-radius: 3px;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__email-submit {\n border-radius: 0 3px 3px 0;\n}\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__policy {\n color: #FFF;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__policy a {\n color: #FFF;\n}\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__message--success {\n top: 130px;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter .newsletter__form .newsletter__message--success {\n top: 100px;\n}\n}\n.component-article-section-inline-newsletter .newsletter.newsletter--without-image-version {\n height: 350px;\n max-height: 350px;\n}\n@media (min-width: 768px) {\n.component-article-section-inline-newsletter .newsletter.newsletter--without-image-version {\n height: initial;\n max-height: initial;\n}\n}\n",""]),e.exports=o},2051:function(e,t,n){"use strict";n.r(t);n(20),n(30),n(21),n(5),n(48),n(13),n(49);var o=n(17),r=(n(185),n(32),n(44),n(19),n(0)),l=n(95),c=n(118);function m(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function d(e){for(var i=1;ie?this.showOverlay=!0:(this.showOverlay=!1,localStorage.setItem("hasSeenInlineNewsletter",!0),document.removeEventListener("scroll",this.throttled))},handleRadioChange:function(e){this.formData.customFields[this.dataConnectionField]=e,this.selectedRadio=e},dataLayerTrackingImpression:function(){this.$lgEmit("impression_popup",d(d({},{prompt:"popup"}),this.dataLayerPayload))},dataLayerTrackingError:function(e){e&&"invalid"===e.type&&(this.message=this.invalidMessage,this.subscribeStatus="error");this.$lgEmit("newsletter_popup",d(d({},{prompt:"popup",status:"error"}),this.dataLayerPayload))},dataLayerTrackingSuccess:function(){this.$lgEmit("newsletter_popup",d(d({},{prompt:"popup",status:"success"}),this.dataLayerPayload))},submit:function(){var e=this;this.formData.subscription_list_id=this.getNewsletterInfo("iterable.subscriptionListId"),this.$store.dispatch("inlineNewsletterForm/INLINE_NEWSLETTER_SUBMIT",{formData:this.formData}).then((function(){return e.dataLayerTrackingSuccess()})).catch((function(){return e.dataLayerTrackingError()}))}}},h=(n(1730),n(43)),component=Object(h.a)(w,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-article-section-inline-newsletter",class:e.device},[n("div",{staticClass:"newsletter",class:[e.dynamicClasses,{"has--gender-selection":e.dataConnectionEnabled}]},[n("div",{staticClass:"newsletter__image"},[n("div",{staticClass:"newsletter__image-wrapper"},[e.getNewsletterInfo("image.sources")?n("responsive-picture",{attrs:{"is-lazy":!0,image:e.getNewsletterInfo("image"),"aspect-ratio":!1,"default-profile":e.getNewsletterInfo("image.defaultProfile"),"smallest-profile":e.getNewsletterInfo("image.smallestProfile"),sources:e.getNewsletterInfo("image.sources"),"disable-position-absolute":!0,"disable-padding-trick":!0,"class-names":["inline-newsletter"]}}):e._e()],1)]),e._v(" "),n("form",{staticClass:"newsletter__form"},[n("header",[n("h2",{staticClass:"newsletter__title",domProps:{innerHTML:e._s(e.getNewsletterInfo("title"))}}),e._v(" "),e.getNewsletterInfo("description")?n("p",{staticClass:"newsletter__message",domProps:{innerHTML:e._s(e.getNewsletterInfo("description"))}}):e._e()]),e._v(" "),n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.getInlineNewsletterHasSignedUp,expression:"!getInlineNewsletterHasSignedUp"}]},[e.dataConnectionEnabled?n("div",{staticClass:"newsletter__radio-wrapper"},e._l(e.dataConnectionOptions,(function(option,t){return n("common-radio",{key:t,attrs:{index:t,"unique-id":"inline-"+e.articleIndex+"-newsletter-conn",label:option.label,value:option.value,"checked-value":e.selectedRadio===option.value,"data-connection-field":e.dataConnectionField},on:{radioChange:e.handleRadioChange}})})),1):e._e(),e._v(" "),n("div",{staticClass:"newsletter__email-wrapper"},[n("div",{staticClass:"newsletter__email-field"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.formData.email,expression:"formData.email"}],staticClass:"newsletter__email-input",attrs:{type:"email",placeholder:e.placeholderText,name:"email","aria-label":e.placeholderText},domProps:{value:e.formData.email},on:{invalid:e.dataLayerTrackingError,input:function(t){t.target.composing||e.$set(e.formData,"email",t.target.value)}}}),e._v(" "),n("button",{staticClass:"newsletter__email-submit",attrs:{type:"submit","aria-label":"Sumbit Button"},on:{click:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[e._v("\n Sign Up\n ")])])]),e._v(" "),n("div",{staticClass:"newsletter__message"},[n("p",{directives:[{name:"show",rawName:"v-show",value:e.getInlineNewsletterHasErrors,expression:"getInlineNewsletterHasErrors"}],staticClass:"newsletter__message newsletter__message--error"},e._l(e.getInlineNewsletterMessage,(function(t,o){return n("span",{key:o},[n("i",{staticClass:"svg exclamation-point-white"}),e._v("\n "+e._s(t)+"\n ")])})),0)]),e._v(" "),n("div",{staticClass:"newsletter__policy"},[n("span",[e._v("By subscribing you agree to the")]),e._v(" "),n("a",{attrs:{href:e.privacyPolicyLink}},[e._v(" Privacy Policy")]),e._v(".\n ")])])]),e._v(" "),n("transition",{attrs:{name:"fade"}},[n("p",{directives:[{name:"show",rawName:"v-show",value:e.getInlineNewsletterHasSignedUp,expression:"getInlineNewsletterHasSignedUp"}],staticClass:"newsletter__message newsletter__message--success"},[e._v("\n "+e._s(e.successText)+"\n ")])])],1)]),e._v(" "),n("transition",{attrs:{name:"fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showOverlay,expression:"showOverlay"}],staticClass:"newsletter--overlay",on:{click:function(t){e.showOverlay=!e.showOverlay}}})])],1)}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{ResponsivePicture:n(826).default,CommonRadio:n(982).default})},822:function(e,t,n){var content=n(828);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(94).default)("281e2c94",content,!0,{sourceMap:!1})},826:function(e,t,n){"use strict";n.r(t);n(20),n(30),n(21),n(48),n(49);var o=n(18),r=n(17),l=(n(185),n(16),n(50),n(186),n(5),n(13),n(19),n(129),n(40),n(27),n(0));function c(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}var m={name:"ResponsivePicture",props:{defaultProfile:{type:String,default:"630x"},image:{type:Object,default:function(){return{}},required:!0},imageMobile:{type:String,default:""},smallestProfile:{type:String,default:"375"},loadPriority:{type:String,default:"lazy"},classNames:{type:Array,default:function(){return[]}},sources:{type:Array,default:function(){return[]}},aspectRatio:{type:Boolean,default:!0},aspectRatioValue:{type:String,default:""},onImgLoaded:{type:Function,default:function(){}},fromLightbox:{type:Boolean,default:!1},fetchPriorityHigh:{type:Boolean,default:!1},disablePositionRelative:{type:Boolean,default:!1},disablePositionAbsolute:{type:Boolean,default:!1},disableLink:{type:Boolean,default:!1},disablePaddingTrick:{type:Boolean,default:!1},imgWidth:{type:Number,default:null},imgHeight:{type:Number,default:null},quality:{type:Number,default:0}},data:function(){return{defaultSources:[["768px","630x"],["500px","600x"],["320px","510x"]]}},computed:{affiliateLink:function(){return Object(l.a)(this,"image.affiliate_link","")},addStyles:function(){var e=function(e){for(var i=1;i