(window.webpackJsonp=window.webpackJsonp||[]).push([[5,300],{804:function(t,e,r){"use strict";r.r(e);r(25),r(46),r(47);var c=r(33),n=r(18),o=(r(22),r(6),r(60),r(243),r(29),r(19),r(59),r(27),r(78),r(17),r(15),r(118),r(28),r(48),r(148),r(43),r(0)),l=r(174),O=r(56),j=r(39);function h(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function d(t){for(var i=1;i=1&&(M=R.map((function(t){return t.title})).join(", "));var N=this.filterContributorsForByline(this.contributors,l),H=this.getContributorSchema(N),K={"@type":"",headline:y,mainEntityOfPage:{"@type":"WebPage","@id":"".concat(k).concat(Object(o.a)(article,"slug",""))},image:{"@type":"ImageObject",url:this.$imageResizer(L,"-"),height:Object(o.a)(article,"image.height",""),width:Object(o.a)(article,"image.width","")},publisher:{"@type":"Organization",name:P,url:k,publishingPrinciples:Object(o.a)(this,"$config.site.publishingPrinciple",""),sameAs:Object(o.a)(this,"$config.site.sameAs",""),logo:{"@type":"ImageObject",url:"".concat(k).concat(Object(o.a)(w,"path","")),height:"".concat(Object(o.a)(w,"height","")),width:"".concat(Object(o.a)(w,"width",""))},brand:{"@type":"Brand",name:P}},url:"".concat(k).concat(Object(o.a)(article,"slug","")),datePublished:Object(o.a)(article,"published_date",""),dateModified:Object(o.a)(article,O,"")},V={contributor:(t={"@type":"Person",name:$||h,image:T,identifier:W},Object(n.a)(t,l,x),Object(n.a)(t,"jobTitle",D),Object(n.a)(t,"title",title),Object(n.a)(t,"description",F),Object(n.a)(t,"url","".concat(k,"/user/").concat(U)),Object(n.a)(t,"worksFor",J),Object(n.a)(t,"alumniOf",z),Object(n.a)(t,"knowsAbout",M),t)},G=this.getSameAsLinks(E);G.length>0&&(V.contributor.sameAs=G),W&&(K=d(d({},K),H));var Q={"@type":"NewsArticle",thumbnailUrl:Object(o.a)(article,"image.url",""),articleSection:r},X=Object(o.a)(this,"article.sections",[]),Y=X.filter((function(section){return"embed"===section.type&&"Apple Podcast"===section.content.provider_name})),Z={},tt=[];Object(j.a)(Y)||(Z={"@type":"PodcastSeries",name:I.name,actor:I.actor,webFeed:I.webFeed,url:I.srurlc,image:I.image,description:I.description},Y.forEach((function(t){tt.push({"@type":"PodcastEpisode",actor:B.actor,director:B.director,partOfSeries:B.partofSeries,productionCompany:B.productionCompany,url:t.content.src,image:B.image})})));var et=X.filter((function(section){return"image"===section.type})),at=[];Object(j.a)(et)||et.forEach((function(t){var r=Object(o.a)(t,"content.url",C);r.startsWith("//")&&(r="https:".concat(r)),at.push({"@type":"ImageObject",contentUrl:e.$imageResizer(r,"-"),license:Object(o.a)(t,"content.attributionlink",""),acquireLicensePage:Object(o.a)(t,"content.attributionlink",""),creditText:Object(o.a)(t,"content.attributiontext",""),creator:{"@type":"Person",name:Object(o.a)(t,"content.attributiontext","").split(" for ")},copyrightNotice:P})}));var it=["Instagram","Facebook","Twitter","TikTok"],ct=X.filter((function(section){var t=section.type,e=void 0===t?"":t,r=section.content,content=void 0===r?{}:r;return"embed"===e&&it.includes(content.provider_name)})),nt=[];Object(j.a)(ct)||ct.forEach((function(t){nt.push({"@type":"SocialMediaPosting","@id":Object(o.a)(t,"content.media_id",Object(o.a)(t,"content.embed_product_id",Object(o.a)(t,"content.embed_url",Object(o.a)(t,"content.PhotoId","")))),datePublished:Object(o.a)(article,"published_date",""),author:{"@type":"Organization",name:P,url:k},headline:y,sharedContent:{"@type":"WebPage",headline:Object(o.a)(t,"content.title",""),url:Object(o.a)(t,"content.embed_url",Object(o.a)(t,"content.PhotoId","")),author:{"@type":"Person",name:Object(o.a)(t,"content.author_name","")}}})}));var ot=Object(o.a)(article,"references",[]).map((function(t){return t.url})),st=Object(o.a)(article,"resources",[]).map((function(t){return t.url})),ut=[].concat(Object(c.a)(ot),Object(c.a)(st)),bt={keywords:v,genre:S,"@type":"Article",dateCreated:_,description:Object(o.a)(article,"summary",""),citation:ut};Object(j.a)(article)&&!W&&(bt["@type"]="WebPage"),W&&(bt["@type"]="ProfilePage",K=d(d({},K),V)),N.length>0&&(bt=d(d({},bt),H),Q=d(d({},Q),H));var lt,pt,Ot={"@context":"http://schema.org","@graph":[d(d({},K),f||m?Q:bt)]};(Object(j.a)(Y)||(Ot["@graph"].push(Z),Ot["@graph"].push(tt)),Object(j.a)(et))||(lt=Ot["@graph"]).push.apply(lt,at);Object(j.a)(ct)||(pt=Ot["@graph"]).push.apply(pt,nt);return JSON.stringify(Ot)},filterContributorsForByline:function(t,e){var r=this;return t.map((function(t){var c,l=r.getSameAsLinks(t),O=Object(o.a)(t,"knows_about",Object(o.a)(t,"contributor.knows_about",[])),j="";O.length>=1&&(j=O.map((function(t){return t.title})).join(", "));var h=Object(o.a)(t,"role","");return c={"@type":"Person",name:Object(o.a)(t,"display_name","")||Object(o.a)(t,"contributor.display_name","")||Object(o.a)(t,"assignee_name",""),image:Object(o.a)(t,"avatar","")||Object(o.a)(t,"contributor.avatar",""),identifier:Object(o.a)(t,"user_id","")||Object(o.a)(t,"contributor.user_id","")},Object(n.a)(c,e,Object(o.a)(t,"credential","")||Object(o.a)(t,"contributor.credential","")),Object(n.a)(c,"jobTitle",Object(o.a)(t,"job_title","")||Object(o.a)(t,"contributor.job_title","")),Object(n.a)(c,"description",Object(o.a)(t,"bio","")||Object(o.a)(t,"contributor.bio","")),Object(n.a)(c,"url",r.getContributorSlug(Object(o.a)(t,"slug","")||Object(o.a)(t,"contributor.slug",""))),Object(n.a)(c,"sameAs",l),Object(n.a)(c,"worksFor",Object(o.a)(t,"works_for","")||Object(o.a)(t,"contributor.works_for","")),Object(n.a)(c,"alumniOf",Object(o.a)(t,"alumni_of","")||Object(o.a)(t,"contributor.alumni_of","")),Object(n.a)(c,"knowsAbout",j),Object(n.a)(c,"role",r.authorByline[h]),c}))},getContributorSchema:function(t){var e=t[0],r=t[1];t.length>2&&(t.shift(),r=t);var c={};if(c={author:e?Object(O.a)(e,["role"]):""},void 0!==r&&!Array.isArray(r)){var n=r.hasCredential?"reviewedBy":"contributor";c["".concat(n)]=Object(O.a)(r,["role"])}if(void 0!==r&&r.length>1){var o=r.filter((function(t){return"author"===t.role}));o.length&&(c.author=o.map((function(t){return Object(O.a)(t,["role"])})),c.author.unshift(e));var l=r.filter((function(t){return"reviewedBy"===t.role}));l.length&&(c.reviewedBy=l.map((function(t){return Object(O.a)(t,["role"])})));var j=r.filter((function(t){return"contributor"===t.role}));j.length&&(c.contributor=j.map((function(t){return Object(O.a)(t,["role"])})))}return c},getContributorSlug:function(t){var e=Object(o.a)(this,"$config.site.domain",""),r=e.includes("livestrong")?"/":"";return t?"".concat(e,"/user/").concat(t).concat(r):""},getListItem:function(t,e){var r=Object(o.a)(t,"offers",[]);if(r.length>0){var c={"@type":"ListItem",position:e,item:{"@type":"Product",name:Object(o.a)(t,"name",""),url:this.articleUrl,image:Object(o.a)(t,"image",""),description:Object(o.a)(t,"description",""),offers:[]}};return r.forEach((function(e){c.item.offers.push({"@type":"Offer",name:Object(o.a)(t,"name",""),price:Object(o.a)(e,"price",0),priceCurrency:"USD",url:Object(o.a)(e,"url",""),offeredBy:{"@type":"Organization",name:Object(o.a)(e,"shop","")}})})),c}return{"@type":"ListItem",position:e,item:{"@type":"Product",name:Object(o.a)(t,"name",""),url:this.articleUrl,image:Object(o.a)(t,"image",""),description:Object(o.a)(t,"description",""),offers:[{"@type":"Offer",name:Object(o.a)(t,"name",""),price:Object(o.a)(t,"price",0),priceCurrency:"USD",url:Object(o.a)(t,"url",""),offeredBy:{"@type":"Organization",name:Object(o.a)(t,"shop","")}}]}}},getItemListSchema:function(){var t=this,e=Object(o.a)(this,"article.sections",[]),r=Object(o.a)(this,"$config.site.domain",""),c="".concat(r).concat(Object(o.a)(this,"$config.components.card.defaultImage","")),n=e.reduce((function(t,section){var e=Object(o.a)(section,"type",""),content=Object(o.a)(section,"content",{});if("embed"===e&&content){var r=Object(o.a)(content,"provider_name","");if("Commerce Product"===r){var n=Object(o.a)(content,"media[0].url",c);n.startsWith("//")&&(n="https:".concat(n));var l=Object(o.a)(content,"price",0),O=Object(o.a)(content,"description",""),j=Object(o.a)(content,"product_name",Object(o.a)(content,"name",O)),h=Object(o.a)(content,"additionalPrices",[]);if(h.length>0){if(j&&l>0){var d={name:j,image:n,description:O===j?"":O,offers:[]};d.offers.push({price:l,url:Object(o.a)(content,"product_link",""),shop:Object(o.a)(content,"shop_name",Object(o.a)(content,"shop.name",""))}),h.forEach((function(t){Object(o.a)(t,"price",0)>0&&d.offers.push({price:Object(o.a)(t,"price",0),url:Object(o.a)(t,"link",""),shop:Object(o.a)(t,"shop.name","")})})),t.push(d)}}else j&&l>0&&t.push({name:j,image:n,description:O===j?"":O,price:l,url:Object(o.a)(content,"product_link",""),shop:Object(o.a)(content,"shop_name",Object(o.a)(content,"shop.name",""))})}if("Commerce Product Group"===r&&Array.isArray(content.products)&&content.products.forEach((function(e){var r=Object(o.a)(e,"media[0].url",c);r.startsWith("//")&&(r="https:".concat(r));var n=Object(o.a)(e,"price",0),l=Object(o.a)(e,"description",""),O=Object(o.a)(e,"name",l);O&&n>0&&t.push({name:O,image:r,description:l===O?"":l,price:n,url:Object(o.a)(e,"link",""),shop:Object(o.a)(e,"shop.name","")})})),"Image With Hotspots"===r&&Array.isArray(content.hotspots))for(var m=function(e){var r=content.hotspots[e],n=Object(o.a)(r,"link","");if(!n)return"continue";if(!t.find((function(t){return t.url===n})))return"continue";var l=Object(o.a)(r,"media[0].url",c);l.startsWith("//")&&(l="https:".concat(l));var O=Object(o.a)(r,"price",0),j=Object(o.a)(r,"description",""),h=Object(o.a)(r,"name",j);h&&O>0&&t.push({url:n,name:h,image:l,description:j===h?"":j,price:O,shop:Object(o.a)(r,"shop.name","")})},f=0;f0&&void 0!==arguments[0]?arguments[0]:{},e=Object(l.a)(Object(o.a)(t,"socialmedialinks",Object(o.a)(t,"contributor.socialmedialinks",{}))),r=[{key:"facebook",url:"https://www.facebook.com"},{key:"twitter",url:"https://twitter.com"},{key:"youtube",url:"https://www.youtube.com/channel"},{key:"instagram",url:"https://www.instagram.com"},{key:"pinterest",url:"https://www.pinterest.com"},{key:"linkedin",url:"https://www.linkedin.com/in"}],c=r.reduce((function(t,r){return e[r.key]&&(e[r.key]=e[r.key].replace("".concat(r.url,"/"),""),t.push("".concat(r.url,"/").concat(e[r.key]))),t}),[]);return c}}},f=m,y=r(31),component=Object(y.a)(f,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("script",{tag:"component",attrs:{type:"application/ld+json"},domProps:{innerHTML:t._s(t.getJsonLd())}}),t._v(" "),r("script",{tag:"component",attrs:{type:"application/ld+json"},domProps:{innerHTML:t._s(t.getItemListSchema())}})],1)}),[],!1,null,null,null);e.default=component.exports},972:function(t,e,r){"use strict";r(29),r(19),r(6),r(177),r(34),r(178),r(179),r(180),r(181),r(182),r(183),r(184),r(185),r(186),r(187),r(188),r(189),r(190),r(191),r(192),r(193),r(32);e.a={methods:{getAdvancedBylineContributors:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter((function(t){return t.contributor})).map((function(t){return t.contributor}))},filterForDupContributors:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=new Set;return t.filter((function(t){var r=e.has(t.display_name);return e.add(t.display_name),!r}))}}}}}]);