!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]="4b682ae9-5e3e-4fc3-930a-921b734e4719",e._sentryDebugIdIdentifier="sentry-dbid-4b682ae9-5e3e-4fc3-930a-921b734e4719")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4370],{2254:function(e,l,a){var n,t,i,r,s,u,o,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:"headline",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},c=[{alias:null,args:null,concreteType:"CoreImageBlockType",kind:"LinkedField",name:"images",plural:!0,selections:o=[u={alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:s=[t={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"alt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalHeight",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalWidth",storageKey:null},{alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mimeType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"normalizedRatio",storageKey:null},{alias:null,args:null,concreteType:"CoordinatesType",kind:"LinkedField",name:"cropCoordinates",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ArticleSEOContainer_feedContentResource",selections:[n,t,{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:"RobotsType",kind:"LinkedField",name:"robots",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"index",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"follow",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"canonicalUrlOverride",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalPublishedAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publishedAt",storageKey:null},{kind:"InlineFragment",selections:[{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}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{alias:null,args:null,concreteType:"CampaignResourceType",kind:"LinkedField",name:"primaryCampaign",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"seo",plural:!1,selections:[i,r],storageKey:null},{alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"social",plural:!1,selections:[i,r,u],storageKey:null},{alias:null,args:null,concreteType:"PromoDataType",kind:"LinkedField",name:"promo",plural:!1,selections:[i],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ledeMedia",plural:!1,selections:[{kind:"InlineFragment",selections:o,type:"LedeMediaImageType",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:"FeaturedImageType",kind:"LinkedField",name:"featuredImage",plural:!1,selections:o,storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"streamPublishedAt",storageKey:null}],type:"StreamResourceType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"seoArticleBody",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"quickAttachment",plural:!1,selections:[n,{kind:"InlineFragment",selections:o,type:"CoreImageBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"VolumeVideoResourceType",kind:"LinkedField",name:"video",plural:!1,selections:[{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"poster",plural:!1,selections:s,storageKey:null}],storageKey:null}],type:"VideoBlockType",abstractKey:null},{kind:"InlineFragment",selections:c,type:"ImageSliderBlockType",abstractKey:null},{kind:"InlineFragment",selections:c,type:"CoreGalleryBlockType",abstractKey:null}],storageKey:null}],type:"QuickPostResourceType",abstractKey:null}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"});d.hash="e22652dd572c03c983f7ca6c4b945fe9",l.default=d},40964:function(e,l,a){var n,t,i,r,s,u,o,c,d;a.r(l);let g=(n={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"chorusId",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},s=[r={alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null}],u=[t,i],o={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d=[c={alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"ParselyTagsContainer_feedContentResource",selections:[{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},n,{alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"resourceType",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalPublishedAt",storageKey:null},t,i,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:[n,r],storageKey:null},{alias:null,args:null,concreteType:"InternalSuperCatResourceType",kind:"LinkedField",name:"internalSuperCats",plural:!0,selections:s,storageKey:null},{alias:null,args:null,concreteType:"SuperCatResourceType",kind:"LinkedField",name:"superCats",plural:!0,selections:s,storageKey:null},{alias:null,args:null,concreteType:"InternalCategoryResourceType",kind:"LinkedField",name:"internalCategories",plural:!0,selections:s,storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"categories",plural:!0,selections:s,storageKey:null},{alias:null,args:null,concreteType:"PackageResourceType",kind:"LinkedField",name:"package",plural:!1,selections:u,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:u,storageKey:null}],storageKey:"streams(first:100)"},{alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[i,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{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:[n],storageKey:null}],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ledeMedia",plural:!1,selections:[{kind:"InlineFragment",selections:[o,c],type:"LedeMediaImageType",abstractKey:null},{kind:"InlineFragment",selections:[o],type:"LedeMediaVideoType",abstractKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"social",plural:!1,selections:d,storageKey:null},{alias:null,args:null,concreteType:"FeaturedImageType",kind:"LinkedField",name:"featuredImage",plural:!1,selections:d,storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"template",storageKey:null}],type:"PostResourceType",abstractKey:null}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"});g.hash="b3758f3e0faff7d7b919edab37beedd5",l.default=g},4762:function(e,l,a){var n,t,i,r,s,u,o,c,d,g,y,p,m,k,h,T,F,f,K,b,S,L,C,R;a.r(l);let I=(n={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},t={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},i={alias:null,args:null,concreteType:"ShareableDataType",kind:"LinkedField",name:"seo",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"headline",storageKey:null}],storageKey:null},s={alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"dek",plural:!1,selections:r=[{alias:null,args:null,kind:"ScalarField",name:"plaintext",storageKey:null}],storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"originalPublishedAt",storageKey:null},o={alias:null,args:null,kind:"ScalarField",name:"publishedAt",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"isPaywallEligible",storageKey:null},p={alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},t,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"profileImage",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"square",plural:!1,selections:y=[g={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},k={alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"categories",plural:!0,selections:m=[t,c,{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"parent",plural:!1,selections:[t,c,{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"parent",plural:!1,selections:[t,c],storageKey:null}],storageKey:null}],storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},T=[t],b=[t,h,{alias:null,args:null,kind:"ScalarField",name:"showScores",storageKey:null},{alias:null,args:null,concreteType:"ProductBrandResourceType",kind:"LinkedField",name:"brand",plural:!1,selections:T,storageKey:null},{alias:null,args:null,concreteType:"ProductRetailLinkType",kind:"LinkedField",name:"retailLinks",plural:!0,selections:F=[{alias:null,args:null,kind:"ScalarField",name:"price",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"retailer",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"salePrice",storageKey:null},g],storageKey:null},K={alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:f=[{alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"horizontal",plural:!1,selections:y,storageKey:null}],storageKey:null}],storageKey:null}],S=[t,h,{alias:null,args:null,kind:"ScalarField",name:"brand",storageKey:null},{alias:null,args:null,concreteType:"LegacyProductBlockRetailLinkType",kind:"LinkedField",name:"retailLinks",plural:!0,selections:F,storageKey:null},K],L=[{alias:null,args:null,kind:"ScalarField",name:"autoplay",storageKey:null},{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"caption",plural:!1,selections:r,storageKey:null},{alias:null,args:null,concreteType:"VolumeVideoResourceType",kind:"LinkedField",name:"video",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"volumeUuid",storageKey:null},t,{alias:null,args:null,kind:"ScalarField",name:"player",storageKey:null},o,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"poster",plural:!1,selections:f,storageKey:null}],storageKey:null}],R={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ledeMedia",plural:!1,selections:[n,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"originalWidth",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalHeight",storageKey:null},{alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:C=[g,{alias:null,args:null,concreteType:"CoordinatesType",kind:"LinkedField",name:"cropCoordinates",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"horizontal",plural:!1,selections:C,storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"square",plural:!1,selections:C,storageKey:null}],storageKey:null}],storageKey:null}],type:"LedeMediaImageType",abstractKey:null},{kind:"InlineFragment",selections:L,type:"LedeMediaVideoType",abstractKey:null}],storageKey:null},{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"SEOSchemasContainer_feedContentResource",selections:[n,t,i,s,u,o,c,d,{alias:null,args:null,concreteType:"LiveStatusType",kind:"LinkedField",name:"liveStatus",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"startAt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"endAt",storageKey:null}],storageKey:null},p,{alias:null,args:null,kind:"ScalarField",name:"seoArticleBody",storageKey:null},{alias:null,args:null,concreteType:"CampaignResourceType",kind:"LinkedField",name:"primaryCampaign",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:m,storageKey:null},k,{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:b,storageKey:null}],type:"ProductBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"LegacyProductBlockProductType",kind:"LinkedField",name:"legacyProduct",plural:!1,selections:S,storageKey:null}],type:"LegacyProductBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ProductBlockProductType",kind:"LinkedField",name:"products",plural:!0,selections:b,storageKey:null}],type:"ProductsTableBlockType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"LegacyProductBlockProductType",kind:"LinkedField",name:"legacyProducts",plural:!0,selections:S,storageKey:null}],type:"LegacyProductsTableBlockType",abstractKey:null},{kind:"InlineFragment",selections:L,type:"VideoBlockType",abstractKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"streamPublishedAt",storageKey:null},{alias:"streamPosts",args:[{kind:"Literal",name:"first",value:100}],concreteType:"ArchiveFeedContentConnection",kind:"LinkedField",name:"posts",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[t,i,s,u,o,c,d,p,{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:T,storageKey:null},k,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CoreParagraphBlockType",kind:"LinkedField",name:"excerpt",plural:!0,selections:[{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"contents",plural:!1,selections:r,storageKey:null}],storageKey:null}],type:"PostResourceType",abstractKey:null},R],storageKey:null}],storageKey:"posts(first:100)"}],type:"StreamResourceType",abstractKey:null},R],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"});I.hash="2ac1402995023f6f9dc248083bb3ddcd",l.default=I},39103:function(e,l,a){a.r(l);let n={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"SearchTagsContainer_feedContentResource",selections:[{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"chorusId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"chorusUuid",storageKey:null},{alias:null,args:null,concreteType:"CommentsType",kind:"LinkedField",name:"comments",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"enabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mode",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"globalId",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"};n.hash="3d2d50746cf941e2de3da60531c3887f",l.default=n},54506:function(e,l,a){a.d(l,{Z:function(){return K}});var n,t=a(93853),i=a.n(t),r=a(68705),s=a(4274),u=a(14634),o=a(66123),c=a(98416),d=a(84994),g=a(84795),y=a(19936),p=a(39688),m=e=>{let{enabled:l=!0}=e,{communityDomain:a}=(0,g.q)().communityConfig,n=(0,d.aC)();(0,o.useEffect)(()=>{if(!l||n.userLoading)return;let e=(0,p.oQ)(n.user?.uid||n.viewer?.id.toString()||null)||"",t=new URL(window.location.toString());t.host!==a&&(t.host=a,t.port="",t.protocol="https:"),(0,y.ej)(c.lV)||(0,p.p1)(a,e,t.toString())},[a,l,n,n.userLoading])},k=a(97650),h=a(150),T=a(14099),F=a(35683);let f=e=>"videoGame"===e||"quickPost"===e||"venue"===e?"index":"post";var K=(0,h.n)(e=>{let{pageTypeOverride:l,...t}=e,o=(0,r.useFragment)((void 0!==n||(n=a(40964)).hash&&"b3758f3e0faff7d7b919edab37beedd5"!==n.hash&&console.error("The definition of 'ParselyTagsContainer_feedContentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),t.feedContentResource),{siteSlug:c,placeholderImageUrl:d}=(0,k.Q)().siteSettings,{tagsToInverse:y,enableTraining:p}=(0,g.q)().parselyConfig,{communityCanonicalDomain:h,communityName:K,isPrimaryCommunity:b}=(0,g.q)().communityConfig,{internalSuperCats:S,internalCategories:L,superCats:C,primaryCategory:R,resourceType:I,categories:_,streams:v,title:P,permalink:x,social:w,originalPublishedAt:A,authors:B,status:M,ledeMedia:$,featuredImage:D,package:j,template:E}=o,V=l||(0,T.C2)(I,!!E),q=(0,u.W)(K,h,b),U=[c,q,`pagetype:${V}`,[...L||[],..._||[],...S||[],...C||[]].map(e=>e.slug)];"package"===o.resourceType&&U.push(`package-${o.chorusId||o.id}`),j&&U.push(`package-${j.chorusId?j.chorusId:j.id}`),v?.nodes.length&&v.nodes.map(e=>{U.push(`stream-${e.chorusId?e.chorusId:e.id}`)}),o.games?.nodes.map(e=>{U.push(`game:${e.title}`)}),"package"!==I&&"stream"!==I&&$?.__typename==="LedeMediaVideoType"&&U.push("contenttype:video"),o.categories?.some(e=>"podcasts"===e.slug)&&U.push("contenttype:podcast");let Z=U.flat();y.forEach(e=>{Z.some(l=>l.toLowerCase()===e)||Z.push(`not-${e}`)});let N=[...new Set(Z)].filter(e=>"string"==typeof e&&e.length>0);if("sbnation"===q){let e=N.indexOf("sbnation");-1!==e&&(N[e]="sbn")}return(m({enabled:p}),M!==s.Dj.publish)?null:(0,F.jsxs)(i(),{children:[(0,F.jsx)("meta",{name:"parsely-type",content:f(I)}),(0,F.jsx)("meta",{name:"parsely-title",content:P}),(0,F.jsx)("meta",{name:"parsely-link",content:x}),(0,F.jsx)("meta",{name:"parsely-image-url",content:w.image?.thumbnails.social.url||$?.__typename==="LedeMediaImageType"&&$.image.thumbnails.social.url||D?.image.thumbnails.social.url||d.social}),(0,F.jsx)("meta",{name:"parsely-pub-date",content:A||""}),R&&(0,F.jsx)("meta",{name:"parsely-section",content:R.slug}),(0,F.jsx)("meta",{name:"parsely-tags",content:N.join(",")}),B?.map(e=>F.jsx("meta",{name:"parsely-author",content:e.name},e.id))]})},{context:"ParselyTagsErrorBoundary"})},87396:function(e,l,a){var n,t=a(93853),i=a.n(t),r=a(68705),s=a(4274),u=a(22840),o=a(150),c=a(35683);l.Z=(0,o.n)(e=>{let{primaryCategory:l,authors:t,status:o,chorusId:d,chorusUuid:g,globalId:y,comments:p}=(0,r.useFragment)((void 0!==n||(n=a(39103)).hash&&"3d2d50746cf941e2de3da60531c3887f"!==n.hash&&console.error("The definition of 'SearchTagsContainer_feedContentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),e.feedContentResource),m=(0,u.w)({chorusId:d,chorusUuid:g,globalId:y});return o!==s.Dj.publish?null:(0,c.jsxs)(i(),{children:[l&&(0,c.jsx)("meta",{name:"cse-category",content:l.title}),p.enabled&&"standard"===p.mode&&m&&(0,c.jsx)("meta",{name:"cse-coral-id",content:m}),t&&t.length>0&&(0,c.jsx)("meta",{name:"cse-authors",content:t.map(e=>e.name).join(",")})]})},{context:"SearchTagsContainerErrorBoundary"})},77437:function(e,l,a){a.d(l,{Z:function(){return i}});var n=a(95242),t=a(74400);function i(e){let{totalPages:l,totalPagesLimit:a=Number.MAX_SAFE_INTEGER,firstPageAsIndex:i=!0,hasNextPage:r=!0}=e,s=(0,t.Z)(),u=s.page||1,o=i?s.base:`${(0,n.xs)(s.base)}${(0,n.FS)(1)}`,c=null!==s.page?1===u?o:`${(0,n.xs)(s.base)}${(0,n.FS)(u)}`:void 0,d=u>1?2===u?o:`${(0,n.xs)(s.base)}${(0,n.FS)(u-1)}`:void 0,g=r?`${(0,n.xs)(s.base)}${(0,n.FS)(u+1)}`:void 0;return{pageNumber:u,firstPage:o,updatedTotalPages:l?Math.min(a,l):void 0,currentPageHref:c,previousPageHref:d,nextPageHref:g,isPaginating:null!==s.page}}},80934:function(e,l,a){a.d(l,{Z:function(){return g}});var n,t=a(40307),i=a(68705),r=a(77437),s=a(87324),u=a(84795),o=a(97650),c=a(40378),d=a(35683),g=e=>{let{hasNextPage:l=!1,includeAuthors:g=!0,getModifiedTitle:y=e=>e,...p}=e,m=(0,i.useFragment)((void 0!==n||(n=a(2254)).hash&&"e22652dd572c03c983f7ca6c4b945fe9"!==n.hash&&console.error("The definition of 'ArticleSEOContainer_feedContentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),p.feedContentResource),{title:k,permalink:h,canonicalUrlOverride:T,dek:F,robots:f,authors:K,primaryCampaign:b,originalPublishedAt:S,publishedAt:L,seo:C,social:R,ledeMedia:I,featuredImage:_,streamPublishedAt:v}=m,{placeholderImageUrl:P}=(0,o.Q)().siteSettings,x=p.nofollow||!f.follow||!!b,w=T||h,A=g&&K&&K[0]?{name:"author",content:K[0].name}:null,B=C.headline,M="QuickPostResourceType"===m.__typename&&m.seoArticleBody||C.description||F.plaintext,$=R.headline,D=R.description||M||F.plaintext,j={type:"article",url:w,title:$||k,description:D,article:{publishedTime:S||void 0,modifiedTime:v||L||void 0}},E=R.image||I?.image||_?.image||null;if("QuickPostResourceType"===m.__typename)switch(m.quickAttachment?.__typename){case"CoreImageBlockType":E=m.quickAttachment.image??E;break;case"VideoBlockType":E=m.quickAttachment.video?.poster??E;break;case"CoreGalleryBlockType":case"ImageSliderBlockType":E=m.quickAttachment.images[0]?.image??E}let V=E?.thumbnails.social||null,q=(0,s._1)({image:E,imageThumbnail:V,placeholderImageUrl:P.social});j.images=[q];let U=[{name:"twitter:url",content:w},{name:"twitter:title",content:$||k},{name:"twitter:description",content:D},{name:"twitter:image",content:q.url},...q.alt?[{name:"twitter:image:alt",content:q.alt}]:[]],{pageNumber:Z,currentPageHref:N,previousPageHref:O,nextPageHref:Q,isPaginating:G}=(0,r.Z)({hasNextPage:l}),z=e=>e&&G?`${e} - Page ${Z}`:e,W=e=>z(y(e)),H=[],X=new URL(String(h)).origin;!T&&G&&(w=`${X}${N}`),Z>1&&H.push({rel:"prev",href:`${X}${O}`}),l&&H.push({rel:"next",href:`${X}${Q}`});let J=!f.index,{communityName:Y}=(0,u.q)().communityConfig;return(0,d.jsx)(t.PB,{title:(0,c.F)([W(B),W(k)],Y),description:M,canonical:w,openGraph:j,robotsProps:{maxImagePreview:"large"},additionalMetaTags:[...A?[A]:[],...U,{name:"amazonbot",content:"noarchive"}],nofollow:x,additionalLinkTags:H,noindex:J})}},88939:function(e,l,a){var n,t=a(68705),i=a(6501),r=a(87324),s=a(40506),u=a(84795),o=a(97650),c=a(80742),d=a(20865),g=a(75066),y=a(35683);l.Z=e=>{let l=(0,t.useFragment)((void 0!==n||(n=a(4762)).hash&&"2ac1402995023f6f9dc248083bb3ddcd"!==n.hash&&console.error("The definition of 'SEOSchemasContainer_feedContentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),n),e.feedContentResource),{communityConfig:p,featureConfig:m}=(0,u.q)(),{siteLogo:k}=(0,o.Q)().siteSettings;if(!i.F.includes(l.__typename))return;let h=(0,r.lc)(p.communityName,k?.social||null),{breadcrumbStrategy:T}=m,F=(0,s._N)(l.primaryCategory,3,[...l.categories],"StreamResourceType"===l.__typename?"hierarchy":T),f=[];l.liveStatus.startAt&&f.push((0,r.Rz)(l,h,F)),l.primaryCampaign?f.push((0,r.TY)(l,h,F)):f.push((0,r.an)(l,h,F)),"PackageResourceType"===l.__typename||"QuickPostResourceType"===l.__typename||l.liveStatus.status||l.primaryCampaign||f.push((0,r.Xn)(F));let K=(0,d.Z)(p.communityDomain);if(l.ledeMedia?.__typename==="LedeMediaVideoType"){let e=(0,c.Z)({volumeEmbedHost:K,uuid:l.ledeMedia.video.volumeUuid,autoplay:l.ledeMedia.autoplay,playerType:l.ledeMedia.video.player});f.push((0,r.lA)(l.ledeMedia,e))}return l.blocks.forEach(e=>{if("VideoBlockType"===e.__typename&&e.video?.volumeUuid){let l=(0,c.Z)({volumeEmbedHost:K,uuid:e.video.volumeUuid,autoplay:e.autoplay,playerType:e.video.player});f.push((0,r.lA)(e,l))}else if("ProductBlockType"===e.__typename)f.push((0,r.Dp)(e.product,l.authors));else if("LegacyProductBlockType"===e.__typename){let{brand:a,...n}=e.legacyProduct;f.push((0,r.Dp)({brand:a.length>0?{title:a}:null,showScores:!!e.legacyProduct.score,...n},l.authors))}else"ProductsTableBlockType"===e.__typename?f.push((0,r.yw)(e.products,l.authors)):"LegacyProductsTableBlockType"===e.__typename&&f.push((0,r.yw)(e.legacyProducts.map(e=>{let{brand:l,...a}=e;return{brand:l.length>0?{title:l}:null,showScores:!!a.score,...a}}),l.authors))}),(0,y.jsx)(g.Z,{schema:f})}},40506:function(e,l,a){a.d(l,{Vx:function(){return c},_N:function(){return o},xE:function(){return u}});let n=e=>e.map(e=>e.category.length).reduce((e,l)=>e+l,0),t=e=>{for(;n(e)>42;)e.shift();return e},i=e=>{let l=[];return e.forEach(e=>{let a=0;for(let l=e.parent;l;l=l.parent)a++;(l[a]??(l[a]=[])).push(e)}),l},r=(e,l,a)=>e.lengthe.category===l.title),s=e=>function(l){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hierarchy",u=[];return"flat"===s?function(l){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(let t of(u.push(e(l)),i(n)))if(Array.isArray(t))for(let l of t)r(u,l,a)&&u.push(e(l))}(l,n):function l(a,n){n>0&&(u.unshift(e(a)),a.parent&&l(a.parent,n-1))}(l,a),t(u)},u=s(e=>({category:e.title,path:e.path||""})),o=s(e=>({category:e.title,url:e.permalink||""})),c=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,a=e.filter(e=>!1!==e.displayAsChildCategory&&!1!==e.displayAsChildSuperCat),n=[...a];if(a.length>7){let e=new Date;e.setMonth(e.getMonth()-6),n=a.filter(l=>new Date(l.lastContentPublishedAt||"")>e)}return n.sort((e,l)=>new Date(l.lastContentPublishedAt||"").valueOf()-new Date(e.lastContentPublishedAt||"").valueOf()).map(e=>({text:e.title,url:e.permalink})).slice(0,l)}},39688:function(e,l,a){a.d(l,{oQ:function(){return r},p1:function(){return s},rA:function(){return i},xA:function(){return u}});var n=a(3092),t=a(19936);let i=e=>e.filter(e=>e.pub_date).map((e,l)=>({author:{fullName:e.author},image_url:e.image_url,publishDate:e.pub_date,tags:e.tags,title:e.title,url:e.url?new URL(e.url).pathname:void 0,uid:l.toString()})),r=e=>{let l=(0,t.ej)("OptanonConsent");if(e&&l.includes("C0002:1"))return e;let a=(0,t.ej)("_parsely_visitor");try{return JSON.parse(a).id}catch(e){return null}},s=(e,l,a)=>{var t,i,r,s;return t=void 0,i=void 0,r=void 0,s=function*(){let t=e.replace(/^www\./,"");try{let e=yield fetch(`https://api.parsely.com/v2/profile?apikey=${t}&uuid=${encodeURIComponent(l)}&url=${encodeURIComponent(a)}`);if(!e.ok)throw Error(`${e.status} response from parsely API`)}catch(e){(0,n.Tb)(e,{tags:{context:"parsely"},extra:{message:"failed to send training data to Parsely"}})}},new(r||(r=Promise))(function(e,l){function a(e){try{u(s.next(e))}catch(e){l(e)}}function n(e){try{u(s.throw(e))}catch(e){l(e)}}function u(l){var t;l.done?e(l.value):((t=l.value)instanceof r?t:new r(function(e){e(t)})).then(a,n)}u((s=s.apply(t,i||[])).next())})},u=e=>null==e?void 0:e.map(e=>({authors:[{name:e.author.fullName||""}],headline:e.title||"",timestamp:e.publishDate||"",thumbnails:{horizontal:e.image_url||"",square:e.image_url||""},id:e.url||"",globalId:"",permalink:e.url||"",contentType:"post",site:null}))}}]);