(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{1615:function(t,e,r){"use strict";var n=r(6),o=r(4),c=r(11),l=r(82),d=r(551),O=r(537),h=r(9),j=o.RangeError,f=o.String,m=Math.floor,v=c(O),y=c("".slice),w=c(1..toFixed),_=function(t,e,r){return 0===e?r:e%2==1?_(t,e-1,r*t):_(t*t,e/2,r)},k=function(data,t,e){for(var r=-1,n=e;++r<6;)n+=t*data[r],data[r]=n%1e7,n=m(n/1e7)},P=function(data,t){for(var e=6,r=0;--e>=0;)r+=data[e],data[e]=m(r/t),r=r%t*1e7},A=function(data){for(var t=6,s="";--t>=0;)if(""!==s||0===t||0!==data[t]){var e=f(data[t]);s=""===s?e:s+v("0",7-e.length)+e}return s};n({target:"Number",proto:!0,forced:h((function(){return"0.000"!==w(8e-5,3)||"1"!==w(.9,0)||"1.25"!==w(1.255,2)||"1000000000000000128"!==w(0xde0b6b3a7640080,0)}))||!h((function(){w({})}))},{toFixed:function(t){var e,r,n,o,c=d(this),O=l(t),data=[0,0,0,0,0,0],h="",m="0";if(O<0||O>20)throw j("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return f(c);if(c<0&&(h="-",c=-c),c>1e-21)if(r=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(c*_(2,69,1))-69)<0?c*_(2,-e,1):c/_(2,e,1),r*=4503599627370496,(e=52-e)>0){for(k(data,0,r),n=O;n>=7;)k(data,1e7,0),n-=7;for(k(data,_(10,n,1),0),n=e-1;n>=23;)P(data,1<<23),n-=23;P(data,1<0?h+((o=m.length)<=O?"0."+v("0",O-o)+m:y(m,0,o-O)+"."+y(m,o-O)):h+m}})},922:function(t,e,r){"use strict";r.r(e);r(20),r(48),r(49);var n=r(33),o=r(18),c=(r(19),r(5),r(64),r(186),r(27),r(21),r(13),r(57),r(30),r(80),r(32),r(44),r(159),r(16),r(50),r(0)),l=r(187),d=r(56),O=r(31);r(65),r(1615);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 j(t){for(var i=1;i=1&&(K=V.map((function(t){return t.title})).join(", "));var Q=this.filterContributorsForByline(this.contributors,m),G=this.getContributorSchema(Q),X="WebPage",Y=null!==(t=null==article||null===(e=article.expert_reviewer)||void 0===e?void 0:e.hasMedicalCredentials)&&void 0!==t&&t,Z="Veterinarian"===(null!==(r=null==article||null===(l=article.expert_reviewer)||void 0===l?void 0:l.medicalTitle)&&void 0!==r?r:"");Y&&Z&&(X="MedicalWebPage");var tt={"@type":"",headline:k,mainEntityOfPage:{"@type":X,"@id":"".concat(x).concat(Object(c.a)(article,"slug",""))},image:{"@type":"ImageObject",url:this.$imageResizer(B,"-"),height:Object(c.a)(article,"image.height",""),width:Object(c.a)(article,"image.width","")},publisher:{"@type":"Organization",name:C,url:x,publishingPrinciples:Object(c.a)(this,"$config.site.publishingPrinciple",""),sameAs:Object(c.a)(this,"$config.site.sameAs",""),logo:{"@type":"ImageObject",url:"".concat(x).concat(Object(c.a)(A,"path","")),height:"".concat(Object(c.a)(A,"height","")),width:"".concat(Object(c.a)(A,"width",""))},brand:{"@type":"Brand",name:C}},url:"".concat(x).concat(Object(c.a)(article,"slug","")),datePublished:Object(c.a)(article,"published_date",""),dateModified:Object(c.a)(article,v,"")},et={contributor:(d={"@type":"Person",name:W||y,image:F,identifier:D},Object(o.a)(d,m,U),Object(o.a)(d,"jobTitle",J),Object(o.a)(d,"title",title),Object(o.a)(d,"description",N),Object(o.a)(d,"url","".concat(x,"/user/").concat(R)),Object(o.a)(d,"worksFor",z),Object(o.a)(d,"alumniOf",H),Object(o.a)(d,"knowsAbout",K),d)},it=this.getSameAsLinks(T);it.length>0&&(et.contributor.sameAs=it),D&&(tt=j(j({},tt),G));var at={"@type":"NewsArticle",thumbnailUrl:Object(c.a)(article,"image.url",""),articleSection:f},nt=Object(c.a)(this,"article.sections",[]),ot=nt.filter((function(section){return"embed"===section.type&&"Apple Podcast"===section.content.provider_name})),ct=[],ut=nt.reduce((function(t,e){var r,n;("video"===(null==e?void 0:e.type)&&t.push(null==e?void 0:e.content),"exercise"===(null==e?void 0:e.type))&&("video/mp4"===(null==e||null===(r=e.content)||void 0===r||null===(r=r.visual_asset)||void 0===r?void 0:r.type)&&t.push(null==e||null===(n=e.content)||void 0===n?void 0:n.visual_asset));return t}),[]);Object(O.a)(ut)||ut.forEach((function(t){var e,r,n,o,c,l,d;ct.push({"@type":"VideoObject",name:null==t?void 0:t.title,description:null==article?void 0:article.summary,thumbnailUrl:[null==t?void 0:t.thumbnail],uploadDate:null==article?void 0:article.published_date,duration:(e=1e3*(null==t?void 0:t.duration),r=Math.floor(e%1e3),n=Math.floor(e/1e3%60),o=Math.floor(e/6e4%60),c=Math.floor(e/36e5%24),l=Math.floor(e/864e5),d="P"+(l>0?l+"D":""),(c>0||o>0||n>0||r>0)&&(d+="T",c>0&&(d+=c+"H"),o>0&&(d+=o+"M"),(n>0||r>0)&&(d+=n<10?"0"+n:n,r>0&&(d+="."+(r/1e3).toFixed(3).slice(2,4)),d+="S")),d),contentUrl:null==t?void 0:t.url})}));var st=[],lt=nt.filter((function(section){return"faq"===section.type}));Object(O.a)(lt)||lt.forEach((function(t){st.push({"@type":"FAQpage",mainEntity:null==t?void 0:t.content.reduce((function(t,e){return t.push({"@type":"Question",name:null==e?void 0:e.question,acceptedAnswer:{"@type":"Answer",text:null==e?void 0:e.answer}}),t}),[])})}));var bt={},pt=[];Object(O.a)(ot)||(bt={"@type":"PodcastSeries",name:$.name,actor:$.actor,webFeed:$.webFeed,url:$.srurlc,image:$.image,description:$.description},ot.forEach((function(t){pt.push({"@type":"PodcastEpisode",actor:M.actor,director:M.director,partOfSeries:M.partofSeries,productionCompany:M.productionCompany,url:t.content.src,image:M.image})})));var Ot=nt.reduce((function(t,e){var r,n;("image"===(null==e?void 0:e.type)&&t.push(e),"exercise"===(null==e?void 0:e.type))&&("image"===e.content.visual_asset.type&&t.push({content:{url:null==e||null===(r=e.content)||void 0===r||null===(r=r.visual_asset)||void 0===r?void 0:r.url,attributiontext:null==e||null===(n=e.content)||void 0===n||null===(n=n.visual_asset)||void 0===n?void 0:n.attributiontext}}));return t}),[]),ht=[];Object(O.a)(Ot)||Ot.forEach((function(t){var e,r,n,o,l=Object(c.a)(t,"content.url",L);l.startsWith("//")&&(l="https:".concat(l)),ht.push({"@type":"ImageObject",contentUrl:h.$imageResizer(l,"-"),license:null==t||null===(e=t.content)||void 0===e?void 0:e.attributionlink,acquireLicensePage:null==t||null===(r=t.content)||void 0===r?void 0:r.attributionlink,creditText:null==t||null===(n=t.content)||void 0===n?void 0:n.attributiontext,creator:{"@type":"Person",name:null==t||null===(o=t.content)||void 0===o||null===(o=o.attributiontext)||void 0===o?void 0:o.split(" for ")},copyrightNotice:C})}));var jt=["Instagram","Facebook","Twitter","TikTok"],ft=nt.filter((function(section){var t=section.type,e=void 0===t?"":t,r=section.content,content=void 0===r?{}:r;return"embed"===e&&jt.includes(content.provider_name)})),mt=[];Object(O.a)(ft)||ft.forEach((function(t){mt.push({"@type":"SocialMediaPosting","@id":Object(c.a)(t,"content.media_id",Object(c.a)(t,"content.embed_product_id",Object(c.a)(t,"content.embed_url",Object(c.a)(t,"content.PhotoId","")))),datePublished:Object(c.a)(article,"published_date",""),author:{"@type":"Organization",name:C,url:x},headline:k,sharedContent:{"@type":"WebPage",headline:Object(c.a)(t,"content.title",""),url:Object(c.a)(t,"content.embed_url",Object(c.a)(t,"content.PhotoId","")),author:{"@type":"Person",name:Object(c.a)(t,"content.author_name","")}}})}));var gt=Object(c.a)(article,"references",[]).map((function(t){return t.url})),vt=Object(c.a)(article,"resources",[]).map((function(t){return t.url})),yt=[].concat(Object(n.a)(gt),Object(n.a)(vt)),wt={keywords:P,genre:I,"@type":"Article",dateCreated:S,description:Object(c.a)(article,"summary",""),citation:yt};Object(O.a)(article)&&!D&&(wt["@type"]="WebPage"),D&&(wt["@type"]="ProfilePage",tt=j(j({},tt),et)),Q.length>0&&(wt=j(j({},wt),G),at=j(j({},at),G));var _t,kt,Pt,At,St={"@context":"http://schema.org","@graph":[j(j({},tt),_||w?at:wt)]};Object(O.a)(ut)||(_t=St["@graph"]).push.apply(_t,ct);Object(O.a)(lt)||(kt=St["@graph"]).push.apply(kt,st);(Object(O.a)(ot)||(St["@graph"].push(bt),St["@graph"].push(pt)),Object(O.a)(Ot))||(Pt=St["@graph"]).push.apply(Pt,ht);Object(O.a)(ft)||(At=St["@graph"]).push.apply(At,mt);return JSON.stringify(St)},filterContributorsForByline:function(t,e){var r=this;return t.map((function(t){var n,l=r.getSameAsLinks(t),d=Object(c.a)(t,"knows_about",Object(c.a)(t,"contributor.knows_about",[])),O="";d.length>=1&&(O=d.map((function(t){return t.title})).join(", "));var h=Object(c.a)(t,"role","");return n={"@type":"Person",name:Object(c.a)(t,"display_name","")||Object(c.a)(t,"contributor.display_name","")||Object(c.a)(t,"assignee_name",""),image:Object(c.a)(t,"avatar","")||Object(c.a)(t,"contributor.avatar",""),identifier:Object(c.a)(t,"user_id","")||Object(c.a)(t,"contributor.user_id","")},Object(o.a)(n,e,Object(c.a)(t,"credential","")||Object(c.a)(t,"contributor.credential","")),Object(o.a)(n,"jobTitle",Object(c.a)(t,"job_title","")||Object(c.a)(t,"contributor.job_title","")),Object(o.a)(n,"description",Object(c.a)(t,"bio","")||Object(c.a)(t,"contributor.bio","")),Object(o.a)(n,"url",r.getContributorSlug(Object(c.a)(t,"slug","")||Object(c.a)(t,"contributor.slug",""))),Object(o.a)(n,"sameAs",l),Object(o.a)(n,"worksFor",Object(c.a)(t,"works_for","")||Object(c.a)(t,"contributor.works_for","")),Object(o.a)(n,"alumniOf",Object(c.a)(t,"alumni_of","")||Object(c.a)(t,"contributor.alumni_of","")),Object(o.a)(n,"knowsAbout",O),Object(o.a)(n,"role",r.authorByline[h]),n}))},getContributorSchema:function(t){var e=t[0],r=t[1];t.length>2&&(t.shift(),r=t);var n={};if(n={author:e?Object(d.a)(e,["role"]):""},void 0!==r&&!Array.isArray(r)){var o=r.hasCredential?"reviewedBy":"contributor";n["".concat(o)]=Object(d.a)(r,["role"])}if(void 0!==r&&r.length>1){var c=r.filter((function(t){return"author"===t.role}));c.length&&(n.author=c.map((function(t){return Object(d.a)(t,["role"])})),n.author.unshift(e));var l=r.filter((function(t){return"reviewedBy"===t.role}));l.length&&(n.reviewedBy=l.map((function(t){return Object(d.a)(t,["role"])})));var O=r.filter((function(t){return"contributor"===t.role}));O.length&&(n.contributor=O.map((function(t){return Object(d.a)(t,["role"])})))}return n},getContributorSlug:function(t){var e=Object(c.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(c.a)(t,"offers",[]);if(r.length>0){var n={"@type":"ListItem",position:e,item:{"@type":"Product",name:Object(c.a)(t,"name",""),url:this.articleUrl,image:Object(c.a)(t,"image",""),description:Object(c.a)(t,"description",""),offers:[]}};return r.forEach((function(e){n.item.offers.push({"@type":"Offer",name:Object(c.a)(t,"name",""),price:Object(c.a)(e,"price",0),priceCurrency:"USD",url:Object(c.a)(e,"url",""),offeredBy:{"@type":"Organization",name:Object(c.a)(e,"shop","")}})})),n}return{"@type":"ListItem",position:e,item:{"@type":"Product",name:Object(c.a)(t,"name",""),url:this.articleUrl,image:Object(c.a)(t,"image",""),description:Object(c.a)(t,"description",""),offers:[{"@type":"Offer",name:Object(c.a)(t,"name",""),price:Object(c.a)(t,"price",0),priceCurrency:"USD",url:Object(c.a)(t,"url",""),offeredBy:{"@type":"Organization",name:Object(c.a)(t,"shop","")}}]}}},getItemListSchema:function(){var t=this,e=Object(c.a)(this,"article.sections",[]),r=Object(c.a)(this,"$config.site.domain",""),n="".concat(r).concat(Object(c.a)(this,"$config.components.card.defaultImage","")),o=e.reduce((function(t,section){var e=Object(c.a)(section,"type",""),content=Object(c.a)(section,"content",{});if("embed"===e&&content){var r=Object(c.a)(content,"provider_name","");if("Commerce Product"===r){var o=Object(c.a)(content,"media[0].url",n);o.startsWith("//")&&(o="https:".concat(o));var l=Object(c.a)(content,"price",0),d=Object(c.a)(content,"description",""),O=Object(c.a)(content,"product_name",Object(c.a)(content,"name",d)),h=Object(c.a)(content,"additionalPrices",[]);if(h.length>0){if(O&&l>0){var j={name:O,image:o,description:d===O?"":d,offers:[]};j.offers.push({price:l,url:Object(c.a)(content,"product_link",""),shop:Object(c.a)(content,"shop_name",Object(c.a)(content,"shop.name",""))}),h.forEach((function(t){Object(c.a)(t,"price",0)>0&&j.offers.push({price:Object(c.a)(t,"price",0),url:Object(c.a)(t,"link",""),shop:Object(c.a)(t,"shop.name","")})})),t.push(j)}}else O&&l>0&&t.push({name:O,image:o,description:d===O?"":d,price:l,url:Object(c.a)(content,"product_link",""),shop:Object(c.a)(content,"shop_name",Object(c.a)(content,"shop.name",""))})}if("Commerce Product Group"===r&&Array.isArray(content.products)&&content.products.forEach((function(e){var r=Object(c.a)(e,"media[0].url",n);r.startsWith("//")&&(r="https:".concat(r));var o=Object(c.a)(e,"price",0),l=Object(c.a)(e,"description",""),d=Object(c.a)(e,"name",l);d&&o>0&&t.push({name:d,image:r,description:l===d?"":l,price:o,url:Object(c.a)(e,"link",""),shop:Object(c.a)(e,"shop.name","")})})),"Image With Hotspots"===r&&Array.isArray(content.hotspots))for(var f=function(){var e=content.hotspots[m],r=Object(c.a)(e,"link","");if(!r)return"continue";if(!t.find((function(t){return t.url===r})))return"continue";var o=Object(c.a)(e,"media[0].url",n);o.startsWith("//")&&(o="https:".concat(o));var l=Object(c.a)(e,"price",0),d=Object(c.a)(e,"description",""),O=Object(c.a)(e,"name",d);O&&l>0&&t.push({url:r,name:O,image:o,description:d===O?"":d,price:l,shop:Object(c.a)(e,"shop.name","")})},m=0;m0&&void 0!==arguments[0]?arguments[0]:{},e=Object(l.a)(Object(c.a)(t,"socialmedialinks",Object(c.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"}],n=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 n}}},m=f,v=r(43),component=Object(v.a)(m,(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}}]);