(window.webpackJsonp=window.webpackJsonp||[]).push([[124],{1438:function(t,e,n){var content=n(1703);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(94).default)("36f58cf5",content,!0,{sourceMap:!1})},1702:function(t,e,n){"use strict";n(1438)},1703:function(t,e,n){var r=n(93)(!1);r.push([t.i,".component-article-rcp .sponsored-impression-pixel {\n display: none;\n}\n.ui-body {\n font-family: 'ProximaNovaRegular', Arial, sans-serif;\n font-size: 17px;\n line-height: 28px;\n color: #2E2E30;\n}\n.ui-body a {\n color: #007CBE;\n transition: color 0.2s linear;\n text-decoration: underline;\n}\n.ui-body a:hover {\n color: #0D6493;\n text-decoration: underline;\n cursor: pointer;\n}\n.ui-body b,\n.ui-body strong {\n font-family: 'ProximaNovaBold', Arial, sans-serif;\n font-weight: normal;\n}\n.ui-body b em,\n.ui-body strong em,\n.ui-body b i,\n.ui-body strong i {\n font-family: 'ProximaNovaBoldItalic', Arial, sans-serif;\n font-weight: normal;\n}\n.ui-body em,\n.ui-body i {\n font-family: 'ProximaNovaRegularItalic', Arial, sans-serif;\n font-style: normal;\n}\n.ui-body em b,\n.ui-body i b,\n.ui-body em strong,\n.ui-body i strong {\n font-family: 'ProximaNovaBoldItalic', Arial, sans-serif;\n font-weight: normal;\n}\n.ui-body sup {\n vertical-align: super;\n font-size: smaller;\n}\n.ui-body sub {\n vertical-align: sub;\n font-size: smaller;\n}\n",""]),t.exports=r},1975:function(t,e,n){"use strict";n.r(e);n(185),n(5),n(13),n(27),n(16),n(50),n(19);var r=n(0),o=n(823),c=(n(20),n(21),n(161),{name:"ArticleRcp",props:{articles:{type:Array,default:function(){return[]}},articleIndex:{type:Number,default:0},dataGtmEvent:{type:String,default:""},dataGtmInfo:{type:String,default:""},dataGtmStartIndex:{type:Number,default:0},heading:{type:String,default:"Related Articles"},imageResizeProfile:{type:String,default:"60x60"},keysToShow:{type:Array,default:function(){return["image","title"]}}},computed:{placeholderImage:function(){return Object(r.a)(this,"$config.components.card.defaultImage","")}},watch:{articles:function(t){var e=this;t.forEach((function(article,t){e.isSponsorsed(article)&&window.dataLayer.push({event:"".concat(e.getArticleCampaign(article).ga_tracking,"_impression"),label:Object(r.a)(article,"slug",""),position:t+1})}))}},mounted:function(){var t=Object(r.a)(this,"$config.campaigns",[]);t.length>0&&!this.$store.getters.getIsMobile&&(this.articles=function(t){var e=t.articles,n=t.campaigns;if(!e.length)return[];if(!n.length)return e;var o=[];return n.forEach((function(t,e){var n=Object(r.a)(t,"rcSlot",0),c=Object(r.a)(t,"percentage",0);o[n]||(o[n]={});for(var l=Object.keys(o[n]).length,i=1;i<=c;i++)o[n][l++]=e})),o.forEach((function(t,o){var c=Math.ceil(100*Math.random()),l=Object(r.a)(t,"[".concat(c,"]"),!1);if(!1!==l){var d=Object(r.a)(n,"[".concat(l,"]"),{}),m=Object(r.a)(d,"articles",[]),f=Math.floor(Math.random()*m.length),h=Object(r.a)(m,"".concat(f),{}),_=Object(r.a)(d,"dfpTracking","").split(" ").filter((function(t){return t})).map((function(t){return t.replace("[timestamp]",(new Date).getTime())})),v=Object(r.a)(h,"url","").replace("[timestamp]",(new Date).getTime()),y={type:"rcp-promo",title:Object(r.a)(h,"title",""),slug:v,image:{url:Object(r.a)(h,"image",""),alttext:""},sponsorship:{author_byline:Object(r.a)(d,"bylineCopy",""),campaign:Object(r.a)(d,"name",""),sponsor_logo:Object(r.a)(d,"logo.url",""),sponsor_logo_link:Object(r.a)(d,"logo.link",""),advertiser:Object(r.a)(d,"advertiser",""),gaTracking:Object(r.a)(d,"gaTracking",""),dfpTracking:_,gtmEventClick:Object(r.a)(d,"gtmEventClick","")}},O=Object(r.a)(d,"rcSlot",2);e.splice(O-1,0,y),e.splice(6,1),window.dataLayer.push({event:Object(r.a)(d,"gtmEventImpression",""),label:Object(r.a)(y,"slug",""),position:Object(r.a)(d,"rcSlot",2)})}})),e}({articles:Object(r.a)(this,"articles",[]),campaigns:t}));var e=Object(r.a)(this,"articles",[]).map((function(article){return article.id||Object(r.a)(article,"slug","").replace("https://","")}));0===this.dataGtmStartIndex&&Array.isArray(window.dataLayer)&&window.dataLayer.push({event:"rc_right_rail_impression",urls:e})},methods:{getArticleCampaign:function(article){return Object(r.a)(article,"campaign",{})},getArticleCampaignByline:function(article){return Object(r.a)(article,"author_byline",{})},getArticleSponsorship:function(article){return Object(r.a)(article,"sponsorship",{})},getArticleSponsorshipCampaign:function(article){return Object(r.a)(article,"sponsorship.campaign","")},getArticleSponsorshipLink:function(article){return Object(r.a)(article,"sponsorship.sponsor_logo_link","")},getArticleSponsorshipLogo:function(article){return Object(r.a)(article,"sponsorship.sponsor_logo","")},getArticleSponsorshipByline:function(article){return"".concat(Object(r.a)(article,"sponsorship.author_byline","")||"In Partnership with"," ").concat(this.getArticleSponsorshipLogo(article)?"":this.sponsoredPartner(article))},getCategoryName:function(article){return Object(r.a)(article,"category.name","")},getCategorySlug:function(article){return Object(r.a)(article,"category.slug","")},getDataGtmInfo:function(t){return"index"===this.dataGtmInfo?this.dataGtmStartIndex+t+1:this.dataGtmInfo},getDataVariant:function(t){return Object(r.a)(t,"source","")},getEventNewTab:function(article){if(this.isSponsorsed(article))return Object(r.a)(article,"rcp_sponsored_click_tracking","").length>0?"_blank":"_self"},getEventPartner:function(article){return this.isSponsorsed(article)?this.getArticleSponsorship(article).campaign:""},getEventSlug:function(article){var t="".concat(Object(r.a)(this,"$config.site.domain","")).concat(Object(r.a)(article,"slug","")),e=Object(r.a)(article,"rcp_sponsored_click_tracking","");return e.length>0&&0===e.indexOf("http")?e.replace("[timestamp]",(new Date).getTime()):t},getResizedImage:function(image,t){return this.$imageResizer(image,t)},getImageUrl:function(article){return Object(r.a)(article,"image.url","")},getRelatedContentClass:function(article){return Object(r.a)(article,"category.slug","rcp-promo")},getSponsoredArticleImpressionPixel:function(article){return Object(r.a)(article,"rcp_sponsored_impression_tracking","")},getSponsoredLogoOrientation:function(article){var t=Object(r.a)(article,"sponsorship.sponsor_logo_width",1),e=Object(r.a)(article,"sponsorship.sponsor_logo_height",1);return Object(o.a)(t,e)},getSponsoredTrackingTag:function(article){return this.getArticleSponsorship(article).dfpTracking||[]},getSubcategorySlug:function(article){return Object(r.a)(article,"subcategory.slug","")},getSubcategoryName:function(article){return Object(r.a)(article,"subcategory.name","")},isSponsorsed:function(article){return Object(r.a)(article,"sponsorship",!1)},resizeImage:function(t,e){return this.$imageResizer(t,e)},sponsoredPartner:function(article){return Object(r.a)(article,"sponsorship.partner","")},sponsoredCampaign:function(article){return Object(r.a)(article,"sponsorship.campaign","")}}}),l=(n(1702),n(43)),component=Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.articles.length>0?n("div",{staticClass:"component-article-rcp"},[n("div",{staticClass:"related-content__heading"},[n("h4",{staticClass:"heading"},[n("span",[t._v(t._s(t.heading))])])]),t._v(" "),n("div",{staticClass:"related-content"},t._l(t.articles,(function(article,e){return n("div",{key:article.id,class:"related-content__item "+t.getRelatedContentClass(article),attrs:{id:"articleWrapper"+t.articleIndex+"rcpItem"+e}},t._l(t.keysToShow,(function(r){return n("div",{key:r,class:"item__section item__section--"+r+"-critical"},["number"===r?n("div",[t._v("\n "+t._s(e+1)+"\n ")]):t._e(),t._v(" "),"image"===r?n("a",{attrs:{href:t.getEventSlug(article),"data-event":t.dataGtmEvent,"data-variant":t.getDataVariant(article),"data-info":t.getDataGtmInfo(e),"data-label":article.slug,title:article.title,target:t.getEventNewTab(article)}},[t.getImageUrl(article)?n("img",{attrs:{src:t.resizeImage(t.getImageUrl(article),t.imageResizeProfile),alt:article.title}}):n("img",{staticClass:"default-image",attrs:{src:t.resizeImage(t.placeholderImage,t.imageResizeProfile),alt:article.title}})]):t._e(),t._v(" "),"title"===r&&t.isSponsorsed(article)?n("div",[n("div",{staticClass:"campaign-byline"},[t.getArticleSponsorshipByline(article)?n("div",{staticClass:"campaign-sponsoredby",class:"campaign-sponsoredby__"+t.getSponsoredLogoOrientation(article)+"-critical"},[t._v("\n "+t._s(t.getArticleSponsorshipByline(article))+"\n ")]):t._e(),t._v(" "),t.getArticleSponsorshipLogo(article)?n("div",{staticClass:"sponsored-logo"},[t.getArticleSponsorshipLink(article)?n("a",{staticClass:"logo-link__sponsored",attrs:{href:t.getArticleSponsorshipLink(article),target:"_blank","data-event":"partner_logo","data-partner":t.sponsoredPartner(article),"data-campaign":t.sponsoredCampaign(article)}},[n("img",{staticClass:"campaign-logo",class:"campaign-logo__"+t.getSponsoredLogoOrientation(article)+"-critical",attrs:{src:t.getResizedImage(t.getArticleSponsorshipLogo(article),"x30"),alt:t.getArticleSponsorshipCampaign(article)}})]):n("img",{staticClass:"campaign-logo",class:"campaign-logo__"+t.getSponsoredLogoOrientation(article)+"-critical",attrs:{src:t.getResizedImage(t.getArticleSponsorshipLogo(article),"x30"),alt:t.getArticleSponsorshipCampaign(article)}}),t._v(" "),t.getSponsoredArticleImpressionPixel(article)?n("img",{staticClass:"sponsored-impression-pixel",attrs:{src:t.getSponsoredArticleImpressionPixel(article)}}):t._e()]):t._e()])]):t._e(),t._v(" "),"title"===r?n("a",{staticClass:"ui-body",attrs:{href:t.getEventSlug(article),"data-event":t.dataGtmEvent,"data-variant":t.getDataVariant(article),"data-info":t.getDataGtmInfo(e),"data-label":article.slug,title:article.title,target:t.getEventNewTab(article)}},[n("h5",[t._v("\n "+t._s(article.title)+"\n ")])]):t._e(),t._v(" "),"category"===r?n("div",{class:"category category--"+t.getCategorySlug(article)},[t._v("\n "+t._s(t.getCategoryName(article))+"\n ")]):t._e(),t._v(" "),"subcategory"===r?n("div",{class:"subcategory subcategory--"+t.getSubcategorySlug(article)},[t._v("\n "+t._s(t.getSubcategoryName(article))+"\n ")]):t._e(),t._v(" "),"writer"===r?n("div",{staticClass:"writer"},[t._v("\n "+t._s(article.writer)+"\n ")]):t._e()])})),0)})),0)]):t._e()}),[],!1,null,null,null);e.default=component.exports},823:function(t,e,n){"use strict";e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1.25,r=t/e;return(r=Math.round(100*r)/100)