!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ff8645f6-666f-4f70-8ea0-98d7f90d21fc",e._sentryDebugIdIdentifier="sentry-dbid-ff8645f6-666f-4f70-8ea0-98d7f90d21fc")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2679],{35324:function(e,l,a){var n,t,r,i,s;a.r(l);let o=(s={alias:null,args:null,kind:"ScalarField",name:"isHub",storageKey:null},{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ContentAdsContainer_contentResource",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"globalId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"chorusId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"resourceType",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalPublishedAt",storageKey:null},{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"dek",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"plaintext",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"seo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"headline",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"CampaignResourceType",kind:"LinkedField",name:"primaryCampaign",plural:!1,selections:[t,{alias:null,args:null,kind:"ScalarField",name:"advertiserName",storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"excludedFromHomepage",storageKey:null},{alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:[{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"parent",plural:!1,selections:i=[r={alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null}],storageKey:null},r,s],storageKey:null},{alias:null,args:null,concreteType:"InternalSuperCatResourceType",kind:"LinkedField",name:"internalSuperCats",plural:!0,selections:i,storageKey:null},{alias:null,args:null,concreteType:"SuperCatResourceType",kind:"LinkedField",name:"superCats",plural:!0,selections:i,storageKey:null},{alias:null,args:null,concreteType:"InternalCategoryResourceType",kind:"LinkedField",name:"internalCategories",plural:!0,selections:i,storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"categories",plural:!0,selections:[r,s],storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:100}],concreteType:"FeedContentResourceInterfacePackagesConnection",kind:"LinkedField",name:"packages",plural:!1,selections:[{alias:null,args:null,concreteType:"PackageResourceType",kind:"LinkedField",name:"nodes",plural:!0,selections:[n],storageKey:null}],storageKey:"packages(first:100)"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"template",storageKey:null}],type:"PostResourceType",abstractKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"});o.hash="5ccc0c99ea7e5b52a3abd211731f8f21",l.default=o},81800:function(e,l,a){var n,t,r,i,s,o,u,c;a.r(l);let d=(n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},s=[{alias:null,args:null,kind:"ScalarField",name:"headline",storageKey:null}],o=[t={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"chorusId",storageKey:null}],u=[{alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null}],c=[n],{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ContentResourceAnalyticsContainer_contentResource",selections:[n,t,{alias:null,args:null,kind:"ScalarField",name:"wpId",storageKey:null},r,{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"resourceType",storageKey:null},i,{alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalPublishedAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publishedAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasAffiliateLinks",storageKey:null},{alias:null,args:null,concreteType:"CampaignResourceType",kind:"LinkedField",name:"primaryCampaign",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"advertiserName",storageKey:null},i],storageKey:null},{alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"seo",plural:!1,selections:s,storageKey:null},{alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"social",plural:!1,selections:s,storageKey:null},{alias:null,args:null,concreteType:"PromoDataType",kind:"LinkedField",name:"promo",plural:!1,selections:s,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"wordCount",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"PackageResourceType",kind:"LinkedField",name:"package",plural:!1,selections:o,storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:100}],concreteType:"FeedContentStreamsConnection",kind:"LinkedField",name:"streams",plural:!1,selections:[{alias:null,args:null,concreteType:"StreamResourceType",kind:"LinkedField",name:"nodes",plural:!0,selections:o,storageKey:null}],storageKey:"streams(first:100)"},{alias:null,args:null,concreteType:"FeedContentResourceInterfaceVideoGamesConnection",kind:"LinkedField",name:"games",plural:!1,selections:[{alias:null,args:null,concreteType:"VideoGameResourceType",kind:"LinkedField",name:"nodes",plural:!0,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"InternalSuperCatResourceType",kind:"LinkedField",name:"internalSuperCats",plural:!0,selections:u,storageKey:null},{alias:null,args:null,concreteType:"SuperCatResourceType",kind:"LinkedField",name:"superCats",plural:!0,selections:u,storageKey:null},{alias:null,args:null,concreteType:"InternalCategoryResourceType",kind:"LinkedField",name:"internalCategories",plural:!0,selections:u,storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"categories",plural:!0,selections:u,storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:u,storageKey:null},{alias:null,args:null,concreteType:"LiveStatusType",kind:"LinkedField",name:"liveStatus",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"startAt",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"blocks",plural:!0,selections:[n,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ProductBlockProductType",kind:"LinkedField",name:"product",plural:!1,selections:c,storageKey:null}],type:"ProductBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"LegacyProductBlockProductType",kind:"LinkedField",name:"legacyProduct",plural:!1,selections:c,storageKey:null}],type:"LegacyProductBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ProductBlockProductType",kind:"LinkedField",name:"products",plural:!0,selections:c,storageKey:null}],type:"ProductsTableBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"LegacyProductBlockProductType",kind:"LinkedField",name:"legacyProducts",plural:!0,selections:c,storageKey:null}],type:"LegacyProductsTableBlockType",abstractKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"template",storageKey:null}],type:"PostResourceType",abstractKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"streamPublishedAt",storageKey:null}],type:"StreamResourceType",abstractKey:null}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"});d.hash="b66ab07867a94c375e3f05f71596aa11",l.default=d},64936:function(e,l,a){var n,t=a(68705),r=a(4274),i=a(74400),s=a(84795),o=a(40378),u=a(99525),c=a(35683);l.Z=e=>{let l;let d=(0,t.useFragment)((void 0!==n||(n=a(35324)).hash&&"5ccc0c99ea7e5b52a3abd211731f8f21"!==n.hash&&console.error("The definition of 'ContentAdsContainer_contentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),e.contentResource),g=(0,i.Z)(),p=g.page&&g.page>1,y=[];"PackageResourceType"===d.__typename&&y.push(d.globalId),"packages"in d&&d.packages&&y.push(...d.packages.nodes.map(e=>{let{globalId:l}=e;return l}));let m=[],{communityName:k}=(0,s.q)().communityConfig;if("PostResourceType"!==d.__typename&&"StreamResourceType"!==d.__typename&&"PackageResourceType"!==d.__typename&&"PageResourceType"!==d.__typename&&"VideoGameResourceType"!==d.__typename&&"VideoPostResourceType"!==d.__typename&&"QuickPostResourceType"!==d.__typename&&"VenueResourceType"!==d.__typename&&"MapResourceType"!==d.__typename&&"CustomStoryResourceType"!==d.__typename&&"EmbedStoryResourceType"!==d.__typename)return null;let h=Array.isArray(d.authors)?d.authors.map(e=>{let{name:l}=e;return l}).filter(Boolean):[],T=Array.isArray(d.categories)?d.categories.map(e=>e.slug).filter(Boolean):[];Array.isArray(d.internalCategories)&&T.push(...d.internalCategories.map(e=>e.slug)),Array.isArray(d.superCats)&&T.push(...d.superCats.map(e=>e.slug)),Array.isArray(d.internalSuperCats)&&T.push(...d.internalSuperCats.map(e=>e.slug));let f=Array.isArray(d.categories)?d.categories.filter(e=>e.isHub).map(e=>e.slug).filter(Boolean):[];return d.primaryCategory?.slug&&"uncategorized"!==d.primaryCategory.slug&&(d.primaryCategory.parent?.slug&&m.push(d.primaryCategory.parent.slug),m.push(d.primaryCategory.slug)),p&&m.push("archives"),(0,c.jsx)(u.Z,{adSlugParts:m,globalId:d.globalId,chorusId:d.chorusId,packageIds:y,permalink:d.permalink,title:d.title,seoHeadline:(0,o.F)([(l=d.seo.headline)&&p?`${l} - Page ${g.page}`:l],k),authors:h,categories:T,hubPages:f,dek:d.dek.plaintext,originalPublishedAt:d.originalPublishedAt,resourceType:d.resourceType,template:"template"in d?d.template:null,campaign:d.primaryCampaign,preview:d.status!==r.Dj.publish,pageType:p?"archive_page":"interior_page"})}},19748:function(e,l,a){var n,t=a(66123),r=a(68705),i=a(4274),s=a(3694),o=a(66783),u=a(14634),c=a(7209),d=a(84994),g=a(84795),p=a(150),y=a(14099),m=a(19936);let k=["ProductBlockType","LegacyProductBlockType","ProductsTableBlockType","LegacyProductsTableBlockType"];l.Z=(0,p.n)(e=>{let l=(0,r.useFragment)((void 0!==n||(n=a(81800)).hash&&"b66ab07867a94c375e3f05f71596aa11"!==n.hash&&console.error("The definition of 'ContentResourceAnalyticsContainer_contentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),e.contentResource),p=(0,c.z$)(),h=(0,d.aC)(),T=(0,t.useRef)(!1),{communityConfig:{communityName:f,isPrimaryCommunity:F,communityCanonicalDomain:b},networkConfig:{networkName:S}}=(0,g.q)();return(0,t.useEffect)(()=>{if(!p||h.userLoading||l.status!==i.Dj.publish||T.current)return;let{id:e,wpId:a,resourceType:n,promo:t,social:r,seo:c,streams:d,authors:g,title:C,liveStatus:K,chorusId:P,hasAffiliateLinks:_,primaryCampaign:R,wordCount:L,package:I,template:A,blocks:v}=l,w=l.primaryCategory?.slug,B=(l.categories||[]).concat(l.superCats||[]).map(e=>e.slug);"package"===l.resourceType&&B.push(`package-${l.chorusId||l.id}`),I&&B.push(`package-${I.chorusId||I.id}`);let x=(l.internalCategories||[]).concat(l.internalSuperCats||[]).map(e=>{let{slug:l}=e;return l}).join(","),D="stream"!==n&&d?.nodes.length?d.nodes.map(e=>{let{id:l,chorusId:a}=e;return a?`${a}`:l}):[],j=l.games?.nodes?l.games.nodes.map(e=>`game:${e.title}`):[],E=(0,u.W)(f,b,F),H=[E,S.toLowerCase().replace(/ /g,""),B.join(","),x,...D,...j],M=l.originalPublishedAt?new Date(l.originalPublishedAt).toISOString():null,O=l.streamPublishedAt||l.publishedAt,z=O?new Date(O).toISOString():null,$=h.user?.uid||h.viewer?.id||null,N=h.user?.isEntitled||!1,U={"All Categories":[...new Set(H.filter(Boolean))].join(","),Author:g?.map(e=>e.name).join(",")||"",Community:E,event:"dataLayer-initalized",Headline:C,"Inclusion of Commerce Disclosure":_,"Live Blog":!!K?.startAt,"Modified Date":z,Network:S.toLowerCase().replace(/ /g,""),"Original Publish Time":M,"Page ID":P?`${P}`:e,"Page Type Category":"storytelling","Page Type":(0,y.C2)(n,!!A),"Post ID":a,"Promo Headline":t.headline,"SEO Headline":c.headline,"Social Headline":r.headline,"Story Streams":D.length?D.join(","):null,"Unique Pageload ID":(0,s.m3)(),"User ID":$?String($):"Logged Out","Word Count":L,isEntitled:N,...o.HW},V=[...B,...j];V.length>0&&(U.Categories=V.join(",")),x.length>0&&(U["Internal Categories"]=x),w&&(U["Primary Category"]=w);let q=R?.advertiserName||R?.title;q&&(U["Sponsored Post Advertiser"]=q,U={...U,...o.Hm});let G=(0,m.ej)("sailthru_hid");G&&(U["Sailthru User ID"]=G),U["Scroll Subscription"]=!!(0,m.ej)("scroll0");let W=v?.filter(e=>k.includes(e.__typename));if(W&&W.length){let e=0;W.forEach(l=>{"ProductBlockType"===l.__typename&&(e+=1),"LegacyProductBlockType"===l.__typename&&(e+=1),"ProductsTableBlockType"===l.__typename&&(e+=l.products.length||0),"LegacyProductsTableBlockType"===l.__typename&&(e+=l.legacyProducts.length||0)}),U["Number of Product Cards"]=e}T.current=!0,p.emit(U)},[p,h,l,f,b,F,S]),null},{context:"ContentResourceAnalyticsContainerErrorBoundary"})},87324:function(e,l,a){a.d(l,{Dp:function(){return h},Rz:function(){return d},TY:function(){return p},Xn:function(){return y},_1:function(){return F},an:function(){return g},lA:function(){return k},lc:function(){return i},tf:function(){return m},yw:function(){return T}});var n=a(73629),t=a.n(n),r=a(39348);let i=(e,l)=>({"@type":"Organization",name:e,logo:{"@type":"ImageObject",url:l?.url||"",width:l?.width?.toString()||"250",height:l?.height?.toString()||"250"}}),s=(e,l)=>{let{height:a,width:n}=(0,r.P_)(e,l);return{"@type":"ImageObject",url:l.url,height:a.toString(),width:n.toString()}},o=(e,l)=>{let a={headline:e.title,description:e.seo.description,datePublished:e.originalPublishedAt||"",dateModified:e.streamPublishedAt||e.publishedAt||"",url:e.permalink,mainEntityOfPage:e.permalink,publisher:l,articleSection:e.primaryCategory.title,keywords:e.categories.map(e=>e.title),author:e.authors.map(e=>({"@type":"Person",name:e.name||"",url:e.permalink}))};return e.isPaywallEligible&&(a.isAccessibleForFree=!1),e.ledeMedia?.__typename==="LedeMediaImageType"&&(a.image=[s(e.ledeMedia.image,e.ledeMedia.image.thumbnails.social),s(e.ledeMedia.image,e.ledeMedia.image.thumbnails.horizontal),s(e.ledeMedia.image,e.ledeMedia.image.thumbnails.square)]),a},u=(e,l,a)=>({...o(e,l),speakable:{"@type":"SpeakableSpecification",xpath:["/html/head/title","/html/head/meta[@name='description']/@content"]},articleBody:e.seoArticleBody,about:a.map(e=>({"@type":"Thing",name:e.category,url:e.url||""}))}),c=(e,l)=>{let a={"@type":"BlogPosting",...o(e,l)};return e.excerpt&&(a.articleBody=e.excerpt.map(e=>e.contents.plaintext).join("\n")),a},d=(e,l,a)=>{let n={"@context":"https://schema.org","@type":"LiveBlogPosting",...u(e,l,a),coverageStartTime:e.liveStatus.startAt||""};if(e.liveStatus.endAt&&(n.coverageEndTime=e.liveStatus.endAt),e.streamPosts){let a=e.streamPosts.nodes;n.liveBlogUpdate=t()(a).map(e=>c(e,l))}return n},g=(e,l,a)=>({"@context":"https://schema.org","@type":"NewsArticle",...u(e,l,a)}),p=(e,l,a)=>({"@context":"https://schema.org","@type":"AdvertiserContentArticle",...u(e,l,a)}),y=e=>({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((e,l)=>({"@type":"ListItem",position:l+1,name:e.category,item:e.url}))}),m=e=>({"@context":"https://schema.org","@type":"Person",name:e.name,...e.title.length>0?{jobTitle:e.title}:{},image:e.profileImage?.thumbnails.square.url,url:e.permalink}),k=(e,l)=>({"@context":"https://schema.org","@type":"VideoObject",name:e.video?.title,description:e.caption.plaintext,thumbnailUrl:e.video?.poster?.thumbnails.horizontal.url,uploadDate:e.video?.publishedAt||"",contentUrl:l}),h=(e,l)=>{let a={"@context":"https://schema.org","@type":"Product",name:e.title};return e.image&&(a.image=e.image.thumbnails.horizontal.url),e.retailLinks&&e.retailLinks.length>0&&(a.offers=e.retailLinks.map(e=>({"@type":"Offer",priceCurrency:"USD",price:e.salePrice||e.price,url:e.url,seller:{"@type":"Organization",name:e.retailer}}))),e.brand&&(a.brand={"@type":"Brand",name:e.brand.title}),e.showScores&&(a.review={"@type":"Review",reviewRating:{"@type":"Rating",ratingValue:e.score,bestRating:10,worstRating:1},author:l.map(e=>m(e))}),a},T=(e,l)=>({"@context":"https://schema.org","@type":"ItemList",itemListElement:e.map((e,a)=>({"@type":"ListItem",position:a+1,item:h(e,l)}))}),f=e=>{switch(e){case"imageGif":return"image/gif";case"imageJpg":return"image/jpeg";case"imagePng":return"image/png";case"imageSvgXml":return"image/svg+xml";case"imageWebp":return"image/webp"}},F=e=>{let{image:l,imageThumbnail:a,placeholderImageUrl:n}=e;if(!l||!a)return{url:n};{let{width:e,height:n}=(0,r.P_)(l,a),{normalizedRatio:t}=a,i=e,s=n,o=a.url;if(e>r.Hx){i=r.Hx,s=Math.floor(r.Hx/t);let e=new URL(o),l=new URLSearchParams(e.search);l.has("w")||(l.set("w",`${r.Hx}`),e.search=l.toString(),o=e.toString())}return{url:o,height:s,width:i,alt:l.alt.length>0?l.alt:l.title,type:f(a.mimeType)}}}}}]);