(globalThis.webpackChunkverso=globalThis.webpackChunkverso||[]).push([[7444],{4384:(e,t,n)=>{"use strict";var i,r,a,o,s,l,d,c,m,p,u,g,h,y;n.d(t,{X2:()=>p,C1:()=>i,_:()=>g,Rp:()=>a,H5:()=>c,$_:()=>o,uA:()=>r,NT:()=>f.N,zB:()=>l,p5:()=>s,H$:()=>f.H,T6:()=>d,BV:()=>y,yK:()=>m}),function(e){e.START="start",e.CENTER="center",e.END="end"}(i||(i={})),function(e){e.TEXT_CLICKABLE="text-clickable",e.LOGO_CLICKABLE="logo-clickable",e.JOURNEY_UNITS="journey-units",e.CURATION_BANNER="curation-banner",e.RIBBON_BANNER="ribbon-banner",e.IDENTITY_UNITS="identity-units",e.ACCORDION="accordion",e.STICKY_HERO_AD="sticky-hero-ad",e.NOTIFICATION_BANNER="notification-banner",e.SEARCH_CLICKABLE="search-clickable"}(r||(r={})),function(e){e.SM="sm",e.MD="md",e.LG="lg",e.XL="xl",e.XXL="xxl",e.XXXL="xxxl"}(a||(a={})),function(e){e.PRIMARY_FILLED="primary-filled",e.PRIMARY_TEXT="primary-text",e.SECONDARY_FILLED="secondary-filled",e.SECONDARY_TEXT="secondary-text",e.TERTIARY_TEXT="tertiary-text",e.LABEL_TEXT="label-text"}(o||(o={})),function(e){e.HORIZONTAL="horizontal",e.TRIGGERABLE_TOP="triggerable-top",e.TRIGGERABLE_LEFT="triggerable-left",e.TRIGGERABLE_RIGHT="triggerable-right"}(s||(s={})),function(e){e.DROPDOWN_TRIGGER="dropdown_trigger",e.DROPDOWN="dropdown",e.DRAWER_LINKS="drawer_links"}(l||(l={})),function(e){e.DEFAULT="default",e.HERO_AD="heroAd",e.NO_STYLE="no-style"}(d||(d={})),function(e){e.ACTIVE="active",e.DISABLED="disabled",e.DEFAULT="default"}(c||(c={})),function(e){e.BLANK="_blank",e.SELF="_self"}(m||(m={})),function(e){e.LINK="link",e.TRIGGER="trigger",e.ACCORDION="accordion",e.SEQ_LEVEL="seq-level",e.TRIGGER_AND_SEQ_LEVEL="trigger-and-seq-level"}(p||(p={})),function(e){e.TRANSFORM_NAVIGATION_LINKS="transformNavigationLinks",e.TRANSFORM_SEQUENTIAL_LEVELS="transformSeqLevels"}(u||(u={})),function(e){e.HEADER="header",e.CTA="cta",e.DEFAULT="default"}(g||(g={})),function(e){e.STANDARD="standard",e.INVERTED="inverted",e.SOFTLINEN="soft-linen"}(h||(h={})),function(e){e.DRAWER="drawer",e.TOP_NAVBAR="top_navbar"}(y||(y={}));var f=n(6463)},7350:(e,t,n)=>{var i=n(38221),r=n(23805);e.exports=function(e,t,n){var a=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(n)&&(a="leading"in n?!!n.leading:a,o="trailing"in n?!!n.trailing:o),i(e,t,{leading:a,maxWait:t,trailing:o})}},10927:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(96540),r=n(55364),a=n.n(r);const o=(e,t="browser")=>{const n=e.displayName||e.name;class r extends i.Component{constructor(){super(),this.render=()=>{const n={[t]:{incognitoMode:this.state.incognitoDetected}},r=a()({},this.props,n);return i.createElement(e,{...r})},this.state={incognitoDetected:!1}}componentDidMount(){this.updateIncognitoDetectedState()}componentWillUnmount(){this.unbindChannel&&this.unbindChannel()}listenForIncognitoDetectionEvents(){window.cnBus&&window.cnBus.on&&(this.unbindChannel=window.cnBus.on("ads.environment.incognito.detected.#",()=>{this.setState({incognitoDetected:!0})}))}updateIncognitoDetectedState(){window.cnBus&&window.cnBus.history&&Boolean(window.cnBus.history("ads.environment.incognito.detected.#").length)?this.setState({incognitoDetected:!0}):this.listenForIncognitoDetectionEvents()}}return r.displayName=`withIncognitoDetection(${n})`,r}},22914:(e,t,n)=>{"use strict";n.d(t,{Hw:()=>r,II:()=>m,LD:()=>o,Vl:()=>p,Z7:()=>i,aI:()=>a,bp:()=>l,fC:()=>c,fn:()=>s,nn:()=>d,yV:()=>u});const i="\n mutation AddReview($input: AddReviewInput!, $coralUserID: ID!) {\n addReview(input: $input, coralUserID: $coralUserID) {\n message\n }\n }\n",r="\n query Comments(\n $after: Cursor\n $commentLimit: Int = 10\n $commentsOrderBy: COMMENT_SORT\n $repliesOrderBy: COMMENT_SORT\n $replyLimit: Int = 1\n $storyId: ID!\n $showPrimaryComments: Boolean\n $tag: TAG\n $tags: [TAG!]\n $excludeTag: TAG\n $excludeTags: [TAG!]\n ) {\n coralcomments(\n first: $commentLimit\n after: $after\n storyID: $storyId\n orderBy: $commentsOrderBy\n showPrimaryComments: $showPrimaryComments\n tag: $tag\n tags: $tags\n excludeTag: $excludeTag\n excludeTags: $excludeTags\n ) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n nodes {\n id\n body\n isAnonymous\n meta\n createdAt\n rating\n images {\n id\n url\n status\n }\n story {\n url\n }\n author {\n orgRole\n }\n siteUsername {\n name\n location\n badges {\n badge\n startDate\n endDate\n isUserSpecific\n }\n createdAt\n }\n revision {\n id\n }\n reviewTags {\n code\n }\n tags {\n code\n }\n revisionHistory {\n id\n }\n viewerActionPresence {\n reaction\n }\n actionCounts {\n reaction {\n total\n }\n }\n replies(orderBy: $repliesOrderBy, flatten: true, first: $replyLimit) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n depth\n id\n body\n createdAt\n images {\n id\n url\n status\n }\n author {\n orgRole\n }\n siteUsername {\n name\n location\n badges {\n badge\n startDate\n endDate\n isUserSpecific\n }\n createdAt\n }\n revision {\n id\n }\n story {\n url\n }\n viewerActionPresence {\n reaction\n }\n actionCounts {\n reaction {\n total\n }\n }\n parent {\n siteUsername {\n name\n location\n }\n }\n }\n }\n }\n }\n }\n",a="\n query Story($id: ID!) {\n story(id: $id) {\n id\n url\n }\n }\n",o="\n mutation createStory($inp: CreateStoryInput!) {\n createStory(input: $inp) {\n story {\n id\n }\n }\n }\n",s="\n mutation updateStory($inp: UpdateStoryInput!) {\n updateStory(input: $inp) {\n story {\n id\n }\n }\n }\n",l="\n mutation CreateCommentReaction($input: CreateCommentReactionInput!) {\n createCommentReaction(input: $input) {\n clientMutationId\n comment {\n id\n }\n }\n }\n",d="\n mutation RemoveCommentReaction($input: RemoveCommentReactionInput!) {\n removeCommentReaction(input: $input) {\n clientMutationId\n comment {\n id\n }\n }\n }\n",c="\n mutation Mutation($input: CreateCommentReplyInput!) {\n createCommentReply(input: $input) {\n clientMutationId\n edge {\n cursor\n node {\n body\n id\n depth\n parentCount\n replyCount\n replies {\n nodes {\n depth\n id\n replyCount\n }\n }\n }\n }\n }\n }\n",m="\n query CommentById(\n $replyLimit: Int = 10\n $after: Cursor\n $orderBy: COMMENT_SORT\n $commentId: ID!\n ) {\n coralcomment(id: $commentId) {\n id\n replies(\n first: $replyLimit\n after: $after\n orderBy: $orderBy\n flatten: true\n ) {\n pageInfo {\n hasNextPage\n endCursor\n }\n nodes {\n id\n body\n createdAt\n images {\n id\n url\n status\n }\n author {\n orgRole\n }\n siteUsername {\n name\n location\n badges {\n badge\n startDate\n endDate\n isUserSpecific\n }\n createdAt\n }\n revision {\n id\n }\n viewerActionPresence {\n reaction\n }\n actionCounts {\n reaction {\n total\n }\n }\n parent {\n siteUsername {\n name\n location\n }\n }\n }\n }\n }\n }\n",p="\n query Story($id: ID!) {\n story(id: $id) {\n totalPrimaryCommentsCount\n commentTagLabel {\n FEATURED\n QA\n }\n }\n }\n",u="\n query GetUserRating($storyID: ID!) {\n userStoryRating(storyID: $storyID) {\n rating\n }\n }\n"},27669:(e,t,n)=>{"use strict";n.d(t,{w:()=>P});var i,r,a,o=n(96540),s=n(51054),l=n(38267),d=n(73275),c=n(26865),m=n(96472),p=n(87468),u=n(7228),g=n(15384),h=n(74423);!function(e){e.ASSET_TOP="AssetTop",e.ASSET_BOTTOM="AssetBottom",e.ASSET_LEFT="AssetLeft",e.ASSET_RIGHT="AssetRight",e.ASSET_OVERLAY="AssetOverlay",e.NO_ASSET="NoAsset"}(i||(i={})),function(e){e.LEFT="left",e.CENTER="center",e.RIGHT="right"}(r||(r={})),function(e){e.TOP="start",e.MIDDLE="center",e.BOTTOM="end"}(a||(a={}));const y=e=>{switch(e){case"right":return l.AH` text-align: right; ${x} { text-align: right; > * { text-align: right; } } ${h.f9} { text-align: right; } ${g.m} { text-align: right; } ${E}, ${S} { text-align: right; > * { text-align: right; } } `;case"left":return l.AH` text-align: left; ${x} { > * { text-align: left; } } ${h.f9} { text-align: left; } ${g.m} { text-align: left; } ${E}, ${S} { text-align: left; } `;case"center":return"text-align: center;";default:return""}},f=e=>"center"===e.textAlign?l.AH` ${(0,c.H4)(m.LO.md)} { ${$}, ${T}, ${g.m} { max-width: calc((100% / 12) * 6); margin-left: auto; margin-right: auto; } } `:"";const b={AssetTop:e=>l.AH` ${I} { padding: 3rem; } ${({fullBleed:e})=>e&&`\n ${I} {\n padding: 0;\n }\n `} ${y(e.alignment.textAlign)} ${f(e.alignment)} display: grid; grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: 'lede-wrapper' 'caption-wrapper' 'text-wrapper'; ${C} { padding: 2.5rem 3rem 0 3rem; &[class*=' theme-'] { padding-bottom: 2.5rem; } } ${I} { height: auto; } `,AssetBottom:e=>l.AH` ${I} { padding: 0 3rem 0 3rem; } ${({fullBleed:e})=>e&&`\n ${I} {\n padding: 0;\n }\n `} ${y(e.alignment.textAlign)} ${f(e.alignment)} grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: 'text-wrapper' 'lede-wrapper' 'caption-wrapper'; ${C} { padding: 2.5rem 3rem; } ${v} { padding-bottom: 1rem; } ${I} { height: auto; } `,AssetLeft:e=>l.AH` ${y(e.alignment.textAlign)} ${(0,c.H4)(m.LO.xl)} { ${({fullBleed:e})=>!e&&`\n ${I} {\n padding: 3rem 0 3rem 3rem;\n }\n `} grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr max-content; grid-template-areas: 'lede-wrapper text-wrapper' 'caption-wrapper caption-wrapper'; ${C} { justify-content: center; } } `,AssetRight:e=>l.AH` ${y(e.alignment.textAlign)} ${(0,c.H4)(m.LO.xl)} { ${({fullBleed:e})=>!e&&`\n ${I} {\n padding: 3rem 3rem 3rem 0;\n }\n `} grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr max-content; grid-template-areas: 'text-wrapper lede-wrapper' 'caption-wrapper caption-wrapper'; ${C} { justify-content: center; } } `,AssetOverlay:e=>l.AH` ${y(e.alignment.textAlign)} display: grid; grid-template-rows: auto auto auto; grid-template-columns: 1fr; ${I} { height: auto; grid-row: 1; grid-column: 1; text-align: center; } ${C} { background: linear-gradient( ${({alignment:e})=>function(e){switch(e){case a.BOTTOM:case a.MIDDLE:return"to top";case a.TOP:return"to bottom";default:return""}}(e.justifyContent)}, rgba(0, 0, 0, 0.85) 0px, transparent 100% ); justify-content: ${e.alignment.justifyContent??a.MIDDLE}; grid-row: 1; grid-column: 1; z-index: 1; } ${v} { grid-row: 2; grid-column: 1; } `,NoAsset:e=>l.AH` ${(0,c.H4)(m.LO.lg)} { height: auto; } ${y(e.alignment.textAlign)} grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: 'text-wrapper'; ${C} { padding: 2.5rem 3rem 2.5rem 3rem; } `};var A=n(75163);const w=l.Ay.div.withConfig({displayName:"OneCoverWrapper"})` a:not(.${A.pT.Component.BylineLink.split(" ").join(".")}) { color: var(${A.pT.Color.TextLink}); } a:not(.${A.pT.Component.BylineLink.split(" ").join(".")}):hover { color: var(${A.pT.Color.TextAccent}); } text-align: center; /* CLS fix: Prevent layout containment */ contain: layout; ${(0,c.H4)(m.LO.xl)} { display: grid; width: 100%; } ${(0,c.H4)(m.LO.lg)} { height: 100vh; } min-height: fit-content; max-height: fit-content; ${e=>b[e.variation]({alignment:e.alignment,fullBleed:e.fullBleed})}; `,C=l.Ay.div.withConfig({displayName:"OneCoverTextWrapper"})` display: flex; align-items: center; justify-content: center; flex-direction: column; padding: ${(0,c.Kq)(3)}; background: var(--color-surface); color: var(--color-text); grid-area: text-wrapper; /* CLS fix: Prevent layout shifts */ contain: layout; ${(0,c.H4)(m.LO.xl)} { padding: 3rem; } `,v=l.Ay.div.withConfig({displayName:"OneCoverCaptionWrapper"})` grid-area: caption-wrapper; text-align: left; padding: 1rem 1.5rem 0 1.5rem; border-top: 1px solid var(${A.pT.Color.BorderStory}); background: var(${A.pT.Color.Surface}); color: var(${A.pT.Color.Text}); ${(0,c.H4)(m.LO.lg)} { padding: 1rem 3rem 0 3rem; } `,E=l.Ay.time.withConfig({displayName:"OneCoverPublishDate"})` width: 100%; color: var(${A.pT.Color.TextPubdate}); ${(0,c.Gg)("typography.definitions.globalEditorial.context-tertiary")} `,$=l.Ay.h1.withConfig({displayName:"OneCoverHed"})` padding: 1rem 0; margin: 0; width: 100%; ${(0,c.Gg)("typography.definitions.consumptionEditorial.hed-standard")} color: var(${A.pT.Color.TextHeading}); `,T=l.Ay.p.withConfig({displayName:"OneCoverDek"})` padding-bottom: 1rem; margin: 0; width: 100%; ${(0,c.Gg)("typography.definitions.consumptionEditorial.description-core")} color: var(${A.pT.Color.TextDek}); `,S=l.Ay.span.withConfig({displayName:"OneCoverRubric"})` width: 100%; ${(0,c.Gg)("typography.definitions.globalEditorial.context-primary")} color: var(${A.pT.Color.TextRubric}); `,I=l.Ay.div.withConfig({displayName:"OneCoverLedeWrapper"})` grid-area: lede-wrapper; background: var(${A.pT.Color.Surface}); color: var(${A.pT.Color.Text}); `,L=(0,l.Ay)(d.A).withConfig({displayName:"OneCoverLede"})` img { width: 100%; } ${(0,c.H4)(m.LO.lg)} { height: 100%; ${u.BF} { height: 100%; object-fit: cover; } } `,R=l.Ay.div.withConfig({displayName:"OneCoverCaptionText"})` ${(0,c.Gg)("typography.definitions.globalEditorial.context-secondary")} `,N=l.Ay.div.withConfig({displayName:"OneCoverCaptionCredit"})` ${(0,c.Gg)("typography.definitions.globalEditorial.context-tertiary")} color: var(${A.pT.Color.TextImageCredit}); `,x=(0,l.Ay)(p.A).withConfig({displayName:"OneCoverBylines"})` padding-bottom: 0.5rem; width: 100%; `;var k=n(52009),H=n(55058);var D=n(4384),B=n(82049),O=n(32485),_=n.n(O);const M=({oneCoverContent:e,oneCoverConfig:t,featuredDeal:n})=>{const{dangerousHed:r,dangerousDek:a,lede:l={altText:"",caption:"",credit:"",sources:{}},rubric:d,publishDate:c,contributors:m,theme:p={}}=e,{controls:u,alignment:g=D.C1,variation:h=i.ASSET_BOTTOM,fullBleed:y}=t??{},f=l?h:i.NO_ASSET,{hideRubric:b=!1,hideHed:A=!1,hideDek:O=!1,hideBylines:M=!1,hidePublishDate:G=!1}=u??{},K=(0,o.useRef)(null);((e,t)=>{(0,o.useLayoutEffect)(()=>{if(!e.current)return()=>{};if(!(window.innerWidth>=H.Vh.xl))return()=>{};if(!["AssetLeft","AssetRight"].includes(t))return()=>{};const n=()=>{const t=document.querySelector("header");if(t&&e.current){const n=window.innerHeight-t.getBoundingClientRect().height;e.current.style.height=`${n}px`}};n();const i=()=>{window.innerWidth>=H.Vh.xl&&n()};return window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[t,e])})(K,f);const P=l?.sources?(0,k.I)(l.sources):null,V=Boolean(l&&(l.caption||l.credit)),q=Boolean(l&&f!==i.NO_ASSET),W=(0,o.useMemo)(()=>h===i.ASSET_OVERLAY?{art:"inverted",text:"inverted",caption:null}:null!=p.art||null!=p.text?{...p,caption:p.art}:{},[h,p]),U=(0,o.useMemo)(()=>n?.timestamp?(0,B.E)(n.timestamp):c,[n?.timestamp,c]);try{return o.createElement(s.A,null,o.createElement(w,{ref:K,variation:f,alignment:g,fullBleed:y,className:_()({[`theme-${W.text}`]:W.text===W.art&&W.art===W.caption&&null!=W.art})},o.createElement(C,{className:_()({[`theme-${W.text}`]:(W.text!==W.art||W.text!==W.caption)&&null!=W.text})},!b&&d&&o.createElement(S,{dangerouslySetInnerHTML:{__html:d.name||""}}),!A&&r&&o.createElement($,{dangerouslySetInnerHTML:{__html:r}}),!O&&a&&o.createElement(T,{dangerouslySetInnerHTML:{__html:a}}),!M&&o.createElement(x,{contributors:m}),!G&&U&&o.createElement(E,null,U)),q&&l&&o.createElement(o.Fragment,null,o.createElement(I,{className:_()({[`theme-${W.art}`]:(W.text!==W.art||W.art!==W.caption)&&null!=W.art})},o.createElement(L,{segmentedSources:P,...l})),V&&o.createElement(v,{className:_()({[`theme-${W.caption}`]:(W.text!==W.art||W.art!==W.caption)&&null!=W.caption})},l.caption&&o.createElement(R,{dangerouslySetInnerHTML:{__html:l.caption}}),l.credit&&o.createElement(N,{dangerouslySetInnerHTML:{__html:l.credit}})))))}catch(e){return o.createElement(o.Fragment,null)}};var G=n(69389);const K={GALLERY:"gallery",ARTICLE:"article"};function P(e,t){if("OneCover"===e)try{const{header:e,headerProps:n,oneCover:i,featuredDeal:r}=t,a=e||n;return a?.lede?.scriptEmbedUrl&&(a.lede.scriptUrl=a.lede.scriptEmbedUrl),o.createElement(M,{oneCoverContent:a,oneCoverConfig:i,featuredDeal:r})}catch(e){return P("ContentHeader",t)}const{type:n}=t;switch(n){case K.GALLERY:{const{header:e,itemsCount:n,hasNativeShareButton:i,shouldEnableNativeShareOnDesktop:r}=t;return function(e,t,n,i){return o.createElement(G.A,{...e,className:e.className,itemsCount:t,hasNativeShareButton:n,shouldEnableNativeShareOnDesktop:i})}(e,n,i,r)}case K.ARTICLE:return function(e){const{headerProps:t,additionalHeaderProps:n,enableEnhancedArticleHeader:i,hasNativeShareButton:r,shouldEnableNativeShareOnDesktop:a,isFullBleedVideo:s,hasLightbox:l,interactiveOverride:d,metadataVideo:c,showBreadcrumbTrail:m,featuredDeal:p}=e,u={...t,publishDate:p?.timestamp?(0,B.E)(p.timestamp):t.publishDate};return o.createElement(G.A,{...u,...n,showFullHeaderViewInMobile:i,hasNativeShareButton:r,shouldEnableNativeShareOnDesktop:a,isFullBleedVideo:s,className:"article__content-header",hasLightbox:l,interactiveOverride:d,metadataVideo:c,showBreadCrumb:m})}(t);default:return o.createElement("div",null,"Unknown header type")}}},31706:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var i=n(13465),r=n(96540),a=n(5556),o=n.n(a),s=n(6442),l=n(53499),d=n(38267),c=n(99906),m=n(26865),p=n(97504),u=n(76955),g=n(73730);const h=d.Ay.input.withConfig({displayName:"AgeGateCheckbox"})``;h.defaultProps={hidden:!0,type:"checkbox"};const y=d.Ay.div.withConfig({displayName:"AgeGateOverlay"})` display: flex; position: fixed; top: 0; left: 0; flex-direction: column; flex-wrap: wrap; align-items: center; justify-content: center; z-index: 10000; background: ${(0,m.HK)("colors.consumption.lead.inverted.background")}; padding: 0 1rem; width: 100%; height: 100%; text-align: center; ${h}:checked ~ & { display: none; } @media (min-width: ${c.Vh.lg}px) { padding: 0 10rem; } @media (min-width: ${c.Vh.xl}px) { padding: 0 20rem; } `,f=(0,d.Ay)(p.Ay.AgeGate).withConfig({displayName:"AgeGateDefaultLogo"})` margin: 0 0 ${(0,m.Kq)(3)}; fill: ${({theme:e})=>(0,m.HK)(e,"colors.consumption.lead.inverted.heading")}; width: 96px; height: 96px; path:first-of-type { fill: ${({theme:e})=>(0,m.HK)(e,"colors.consumption.lead.inverted.accent")}; } `,b=d.Ay.img.withConfig({displayName:"AgeGateLogo"})` margin: 0 0 ${(0,m.Kq)(3)}; width: 96px; height: 96px; `,A=(0,d.Ay)(u.vm).withConfig({displayName:"AgeGateTitle"})` margin: 0 0 ${(0,m.Kq)(2)}; & + label, & + button { margin-top: ${(0,m.Kq)(2)}; } `;A.defaultProps={colorToken:"colors.consumption.lead.inverted.heading",typeIdentity:"typography.definitions.consumptionEditorial.hed-bulletin"};const w=(0,d.Ay)(u.vm).withConfig({displayName:"AgeGateText"})` margin: 0 0 ${(0,m.Kq)(4)}; `;w.defaultProps={colorToken:"colors.consumption.lead.inverted.heading",typeIdentity:"typography.definitions.consumptionEditorial.description-core"};const C=(0,d.Ay)(g.A.Primary).withConfig({as:"a",displayName:"AgeGateButton"})` margin: 0 0 ${(0,m.Kq)(2)}; `,v="accept",E="ageGate";var $=n(56892);const T=(0,n(72267).defineMessages)({ageGateHedText:{id:"AgeGate.HedText",defaultMessage:"Are you 18 or over?",description:"Age Gate title"},ageGateDekText:{id:"AgeGate.DekText",defaultMessage:"This material is intended for people over the age of 18",description:"Age Gate description"},ageGateAcceptLabel:{id:"AgeGate.AcceptLabel",defaultMessage:"I am 18+",description:"Age Gate accept button label"},ageGateDeclineLabel:{id:"AgeGate.DeclineLabel",defaultMessage:"I'm under 18",description:"Age Gate decline button label"}}),S=(e,t)=>{e(!1),(e=>{document.cookie=(0,$.createCookie)(E,v,{expirationInMs:864e5*(e||28),path:"/"})})(t)},I=({hed:e,dek:t,acceptLabel:n,declineLabel:i,logo:a,content:o,cookieExpirationInDays:d,brandContentWarnings:c=["sexual_content","drug_content","death_content","alcohol_content"]})=>{r.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(l.G.RENDER,{name:"AgeGate"})},[]);const{useState:m,useEffect:p}=r,{formatMessage:u}=(0,s.A)(),[g,I]=m(!1);if(p(()=>{const e=!((0,$.getCookie)(E)===v)&&(({content:e,brandContentWarnings:t}={})=>{const{contentWarnings:n}=e||{},i=t?.some(e=>n?.some(t=>t.slug===e));return Boolean(i)})({content:o,brandContentWarnings:c});I(e)},[o,c]),!g)return null;const L=t??u(T.ageGateDekText);return r.createElement(r.Fragment,null,r.createElement(h,{id:"age-gate-check"}),r.createElement(y,{id:"age-gate-overlay",role:"dialog","aria-labelledby":"age-gate-title","aria-describedby":"age-gate-description"},a?r.createElement(b,{src:a,alt:e}):r.createElement(f,null),r.createElement(A,{as:"h2",id:"age-gate-title"},e??u(T.ageGateHedText)),L&&r.createElement(w,{id:"age-gate-description"},L),r.createElement("label",{htmlFor:"age-gate-check",key:"age-gate-label-accept"},r.createElement(C,{inputKind:"link",onClickHandler:()=>S(I,d),key:"age-gate-button-accept",dataAttrs:{"data-test-id":"age-gate-button-accept"},label:n||u(T.ageGateAcceptLabel)})),r.createElement(C,{href:"/",inputKind:"link",key:"age-gate-button-decline",dataAttrs:{"data-test-id":"age-gate-button-decline"},label:i||u(T.ageGateDeclineLabel)})))};I.displayName="AgeGate",I.propTypes={acceptLabel:o().string,brandContentWarnings:o().array,content:o().object.isRequired,cookieExpirationInDays:o().number,declineLabel:o().string,dek:o().string,hed:o().string,logo:o().string};const L=I,R=(0,i.y)(L,"AgeGate")},34549:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});var i=n(96540),r=n(63761),a=n(18106);const o=()=>(0,i.useContext)(r.z)||a.xN},36185:(e,t,n)=>{"use strict";n.d(t,{IO:()=>l,LP:()=>m,P4:()=>d,Vh:()=>c});var i=n(38267),r=n(96472),a=n(26865);const o={mobile:50,desktop:90},s=(e,t,n)=>e?.[t]?.[n]??o[n],l=i.Ay.div.withConfig({displayName:"StickyHeroAdWrapper"})` padding: ${(0,a.Kq)(1)} 0; width: 100%; .icon-close { padding: 8px; } `,d=i.Ay.div.withConfig({displayName:"StickyMidContentAdWrapper"})` ${({height:e})=>e&&`height: ${e}px;`} `,c=i.Ay.div.withConfig({displayName:"AdWrapper"})` &.ad { &.should-hold-space { display: flex; flex-direction: column; justify-content: center; min-height: ${({holdAdHeightsConfig:e,position:t})=>s(e,t,"mobile")}px; ${(0,a.H4)(r.LO.md)} { min-height: ${({holdAdHeightsConfig:e,position:t})=>s(e,t,"desktop")}px; } } ${({collapse:e})=>e&&"\n &, &.should-hold-space {\n display: none;\n }\n "} } `,m=i.Ay.div.withConfig({displayName:"AdsSpacer"})` padding-top: var(--header-height, ${(0,a.Kq)(7,"px")}); `},45516:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(96540),r=n(5556),a=n.n(r),o=n(55364),s=n.n(o);const l=(e,t)=>(n,r="mutation")=>{const o=n.displayName||n.name,l={window:t||window};class d extends i.Component{constructor(t){super(t),this.updateMutation=e=>{const t=e.querySelectorAll(":not(div)").length>0;this.setState({hasBeenInjected:t})},this.render=()=>{const e={[r]:{[this.element.name]:this.state.hasBeenInjected}},t=s()({},this.props,e);return i.createElement(n,{...t})},this.state={hasBeenInjected:!1},this.element=t.element||e}componentDidMount(){this.attachObserver()}componentDidUpdate(t){t.element!==this.props.element&&(this.element=this.props.element||e,this.detachObserver(),this.attachObserver())}componentWillUnmount(){this.detachObserver()}attachObserver(){const e=l.window.document.querySelectorAll(`.${this.element.className}, .${this.element.className} .consumer-marketing-unit__slot + div`);if(0===e.length)return void(this.retryTimer=setTimeout(this.attachObserver.bind(this),500));e.forEach(e=>{this.updateMutation(e),this.observer=new l.window.MutationObserver(()=>this.updateMutation(e)),this.observer.observe(e,{childList:!0,subtree:!0})})}detachObserver(){this.retryTimer&&clearTimeout(this.retryTimer),this.observer&&this.observer.disconnect()}}return d.displayName=`withMutationState(${o})`,d.propTypes={element:a().shape({name:a().string,className:a().string})},d}},49299:(e,t,n)=>{"use strict";n.d(t,{OZ:()=>a});var i=n(5556),r=n.n(i);const a=r().shape({variation:r().string,alignment:r().object,controls:r().shape({hideRubric:r().bool,hideHed:r().bool,hideDek:r().bool,hideBylines:r().bool,hidePublishDate:r().bool}),fullBleed:r().bool});r().object,r().shape({timestamp:r().string})},51257:(e,t,n)=>{"use strict";n.d(t,{A:()=>T,W:()=>E});var i=n(96540),r=n(5556),a=n.n(r),o=n(32485),s=n.n(o),l=n(31989),d=n(76399),c=n(73730),m=n(49741),p=n(38080),u=n(31581),g=n(36185),h=n(13465),y=n(34967),f=n(60824);const b=()=>window.Kendra?.ADS??null,A=new URLSearchParams(window.location.search);function w(e){const t=e.replace(/.*\.(.*)$/,"$1");return parseInt(t.split("x")[1],10)}let C=null;function v(){if(C)return C;const e=document.querySelector('[class*="StickyHeroAdWrapper"]');if(!e)return null;const t=e.querySelector(".ad.should-hold-space"),n=e.querySelector(".ad__slot.ad__slot--hero");if(!t||!n)return null;const i=parseInt(window.getComputedStyle(n).height,10)||66,r=parseInt(window.getComputedStyle(t).minHeight,10)||66;return C={adWrapper:t,wrapper:e,adSlot:n,minHeight:r,height:i},C}function E(e,t){const n=v();if(!n)return e;const{wrapper:i,minHeight:r,height:a,adWrapper:o}=n,s=i.classList.contains("ad-stickyhero-issticky");return s&&e&&t>r?(o.style.marginTop=(a-r)/2+"px",i.style.height=`${a}px`,!1):s&&!e&&t{this.kendraSubscriptions.forEach(e=>e?.off?.()),this.kendraSubscriptions=[],this.unbindSlotRendered?.(),this.unbindImpressionViewed?.(),this.unbindEmptyHero?.(),this.unbindStickyHero?.(),this.forceCloseTimeout&&clearTimeout(this.forceCloseTimeout)},this.handleSlotRenderEnded=e=>{let t,n;if(e?.size)t=e.size[1]??250,n=e.size[0]??0;else{const e=window.cnBus.history("ads.stickyBanner.hero.slotRenderEnded.#")[0][0];t=w(e);const i=e.replace(/.*\.(.*)$/,"$1");n=parseInt(i.split("x")[0],10)||0}let i=t+16;if(C?.adWrapper){if(1===t&&n>0){i=C.adWrapper.offsetWidth/n+16}C.height=Math.round(i)}this.setStickyState(t)},this.setStickyState=e=>{this.setState(()=>({isSticky:!0,creativeHeight:e}),()=>{this.props.setIsHeroAdVisible?.(!0),setTimeout(()=>this.setState(()=>({animating:!0,isVisible:!0}),this.bindImpressionViewable),1e3)})},this.bindImpressionViewable=()=>{const e=b();if(this.state.keepItSticky){if(e){const t=e.on(f.c.LIBRARY_SLOT_RENDER_ENDED_EMPTY,e=>{"hero_0"===e.slotElementId&&this.closeSticky()});this.kendraSubscriptions.push(t)}else window.cnBus&&(this.unbindEmptyHero=window.cnBus.on("#.hero_0.empty",()=>{this.closeSticky()}));window.cnBus&&(this.unbindStickyHero=window.cnBus.on("cnePlayer.stickyVideo.activated",()=>{this.closeSticky()}))}else{this.forceCloseTimeout=setTimeout(()=>this.closeSticky(),3e4);const t=()=>{setTimeout(()=>{this.isInteracting||this.closeSticky()},2e3)};if(e){const n=e.on(f.c.LIBRARY_STICKY_HERO_IMPRESSION_VIEWABLE,t);this.kendraSubscriptions.push(n)}else window.cnBus&&(this.unbindImpressionViewed=window.cnBus.on("ads.stickyBanner.hero.impressionViewable",t))}},this.closeSticky=()=>{if(this.clearListeners(),!this.state.isVisible)return;const e=v();if(e){const{wrapper:t,adWrapper:n}=e;n.style.marginTop="",t.style.height=""}if(window.pageYOffset(this.props.setIsHeroAdVisible?.(!1),{isVisible:!1}),()=>{setTimeout(()=>{this.setState(()=>({animating:!1,isSticky:!1})),this.props.setIsHeroAdVisible?.(!1)},1e3)})},this.triggerInteracting=()=>{this.isInteracting=!0};const{holdAdHeightsConfig:{shoulHoldStickyHeroAd:t=!1}={}}=e;this.state={isSticky:!1,isVisible:!1,animating:!1,creativeHeight:250,keepItSticky:"sticky-hero"===A?.get("test")||t},this.isInteracting=!1,this.kendraSubscriptions=[];{const e=b();if(e){const t=e.history().filter(e=>e.channel===f.c.LIBRARY_STICKY_HERO_RENDER_ENDED);if(0===t.length){const t=e.on(f.c.LIBRARY_STICKY_HERO_RENDER_ENDED,this.handleSlotRenderEnded);this.kendraSubscriptions.push(t)}else{const e=t[0].value;this.state.creativeHeight=e.size?.[1]??250,this.state.isSticky=!0,this.state.isVisible=!0,this.bindImpressionViewable(),this.props.setIsHeroAdVisible?.(!0)}}else if(window.cnBus?.history){const e=window.cnBus.history("ads.stickyBanner.hero.slotRenderEnded.#");0===e.length?this.unbindSlotRendered=window.cnBus.on("ads.stickyBanner.hero.slotRenderEnded.#",this.handleSlotRenderEnded):(this.state.creativeHeight=w(e[0][0]),this.state.isSticky=!0,this.state.isVisible=!0,this.bindImpressionViewable(),this.props.setIsHeroAdVisible?.(!0))}}}componentWillUnmount(){this.clearListeners()}render(){const{isSticky:e,isVisible:t,animating:n,creativeHeight:r}=this.state,{className:a,navVariation:o="",isNoAds:u,defaultCreativeHeightDesktop:h,defaultCreativeHeightMobile:y}=this.props,f=o.toLowerCase().includes("withsearchbar"),b=e&&{"ad-stickyhero-issticky":!0,"ad-stickyhero-sticky-animating":n,[`ad-stickyhero-sticky-${r}`]:!t,"ad-stickyhero-sticky-visible":t};return u?null:i.createElement(g.IO,{className:s()(a,"ad-stickyhero",this.props.isStickyDisabledMobile?"ad-stickyhero-disable-mobile":"ad-stickyhero-enable-mobile",{"with-link-banner":o.toLowerCase().includes("linkbanner"),"with-searchbar":f},b),"data-testid":"sticky-hero-ad",onMouseEnter:this.triggerInteracting,onTouchStart:this.triggerInteracting,defaultCreativeHeightDesktop:h,defaultCreativeHeightMobile:y},e&&t&&i.createElement(c.A.Utility,{isIconButton:!0,ButtonIcon:d.A,className:"ad-stickyhero-button",label:"Close",onClickHandler:this.closeSticky,role:"button","aria-expanded":d.A}),i.createElement(p.Z,{group:"ads"},i.createElement(l.A,{position:"hero",onFilled:this.props.onFilled,shouldHoldSpace:!0})),i.createElement(p.Z,{group:"consumer-marketing"},i.createElement(m.A,{position:"display-hero"})))}}$.propTypes={defaultCreativeHeightDesktop:a().number,defaultCreativeHeightMobile:a().number,className:a().string,isNoAds:a().bool,isStickyDisabledMobile:a().bool,navVariation:a().string,onFilled:a().func,setIsHeroAdVisible:a().func,holdAdHeightsConfig:a().shape({shoulHoldStickyHeroAd:a().bool})},$.displayName="StickyHeroAd";const T=(0,y.A)((0,u.N)((0,h.y)($,"StickyHeroAd")),{keysToPluck:["isNoAds","holdAdHeightsConfig"]})},54283:(e,t,n)=>{"use strict";n.d(t,{BD:()=>a,AA:()=>o});const i=(0,n(72267).defineMessages)({fewSecondsAgoLabel:{id:"LiveStory.feedFewSecondsAgoLabel",defaultMessage:"a few seconds ago",description:""},aMinAgoLabel:{id:"LiveStory.feedAMinAgoLabel",defaultMessage:"a minute ago",description:""},anHourAgoLabel:{id:"LiveStory.feedAnHourAgoLabel",defaultMessage:"an hour ago",description:""},aDayAgoLabel:{id:"LiveStory.feedADayAgoLabel",defaultMessage:"a day ago",description:""},aMonthAgoLabel:{id:"LiveStory.feedAMonthAgoLabel",defaultMessage:"a month ago",description:""},aYearAgoLabel:{id:"LiveStory.feedAYearAgoLabel",defaultMessage:"a year ago",description:""}}),r=({locale:e="en-US",date:t,formatMessage:n,includeHourAndMin:r=!1})=>{const a=new Intl.RelativeTimeFormat(e,{localeMatcher:"best fit",numeric:"always",style:"long"}),o=new Intl.DateTimeFormat(e,{hour:"2-digit",minute:"2-digit",hour12:!0,localeMatcher:"best fit"}),s=6e4,l=36e5,d=864e5,c=30*d,m=365*d,p=25*d,u=45*d,g=319*d,h=547*d;return(e=>{if(e){const t=(e=>{const t=(new Date).getTime()-new Date(e).getTime();return t<=44e3?n(i.fewSecondsAgoLabel):t<=89e3?n(i.aMinAgoLabel):t<=264e4?a.format(-Math.ceil(t/s),"minute"):t<=534e4?n(i.anHourAgoLabel):t<=756e5?a.format(-Math.ceil(t/l),"hour"):t<=126e6?n(i.aDayAgoLabel):t<=p?a.format(-Math.ceil(t/d),"day"):t<=u?n(i.aMonthAgoLabel):t<=g?a.format(-Math.ceil(t/c),"month"):t<=h?n(i.aYearAgoLabel):a.format(-Math.ceil(t/m),"year")})(e),y=o.format(new Date(e));return r?`${t}, ${y}`:t}return null})(t)},a=(e,t)=>{const n=new Date(e);return(i=n)instanceof Date&&!isNaN(i)?r({date:n,formatMessage:t,includeHourAndMin:!1}):e;var i},o=(e,t,n)=>e?e.map((e,i)=>{const{revisionId:r,viewerActionPresence:o,reactionCount:s,replyPageInfo:l,replies:d,role:c,storyURL:m,images:p,coralBadges:u,reviewerCreatedAt:g}=e,h={id:i,revisionId:r,commentId:e._id,viewerActionPresence:o,reactionCount:s,replyPageInfo:l,replies:d,role:c,storyURL:m,images:p,coralBadges:u,reviewerCreatedAt:g};e.reviewText&&(h.text=e.reviewText),e.location&&(h.location=e.location);const y=e.isAnonymous?"Anonymous":e.siteUsername||e.reviewerInfo;return y&&(h.username=y),e.rating&&(h.rating=e.rating),e.recipeId&&(h.recipeId=e.recipeId),e.updatedAt&&(h.date=a(e.updatedAt,t)),e.tags&&(h.tags=((e,t)=>e.reduce((e,n)=>{const i=t.find(e=>e.slug===n);return i&&e.push(i.label),e},[]))(e.tags,n)),e.images&&(h.images=e.images),e.coralBadges&&(h.badges=e.coralBadges),e.reviewerCreatedAt&&(h.reviewerCreatedAt=e.reviewerCreatedAt),e.reviewerLocation&&(h.location=e.reviewerLocation),h}):[]},55918:(e,t,n)=>{"use strict";n.d(t,{Ze:()=>r.Z});var i=n(57743),r=n(39836);i.u,r.Z},60363:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var i=n(5556),r=n.n(i),a=n(96540),o=n(6442),s=n(73730),l=n(52663);const d=(0,n(72267).defineMessages)({viewAllButton:{id:"SummaryCollectionSplitColumns.ViewAllButton",defaultMessage:"View All {location} {recommendedType}",description:"button label for view all button"},guideItemHed:{id:"SummaryCollectionSplitColumns.GuideItemHed",defaultMessage:"{location} Travel Guide",description:"dangerousHed for guideItem"},recommendedTitle:{id:"SummaryCollectionSplitColumns.RecommendedTitle",defaultMessage:"Recommended {recommendedType}",description:"recommended title for recircs"}});var c=n(90090),m=n(1184),p=n(13465),u=n(53499),g=n(38267),h=n(74423),y=n(40653),f=n(86659),b=n(26865),A=n(96472);const w=g.Ay.div.withConfig({displayName:"SummaryCollectionSplitColumnsWrapper"})` margin: ${(0,b.Kq)(4)} 0; background-color: ${({hasBackgroundColor:e})=>e?(0,b.HK)("colors.discovery.body.light.background"):"transparent"}; `,C=`\n &:last-child {\n padding-bottom: 0;\n \n ${(0,b.H4)(A.LO.md)}{\n padding-bottom: ${(0,b.Kq)(2)};\n }\n }\n`,v=(0,g.Ay)(({columnAmount:e,variation:t,shouldHideDangerousDek:n,hasExtraRubricSpace:i,hasLessBottomSpace:r,hasTighterBylineSpacing:o,...s})=>{const d=l.A[t];return a.createElement(d,{...s})}).withConfig({displayName:"SummaryCollectionSplitColumnsItem"})` ${w} & { padding-bottom: ${(0,b.Kq)(2)}; ${(0,b.H4)(A.LO.md)} { border-bottom: 0; } .summary-item__rubric { ${(0,b.Gg)("typography.definitions.globalEditorial.context-primary")} display: block; color: ${(0,b.HK)("colors.discovery.body.light.context-signature")}; ${(0,b.H4)(A.LO.md)} { margin-bottom: ${({hasExtraRubricSpace:e})=>e?(0,b.Kq)(1):(0,b.Kq)(.5)}; } } .summary-item__hed-link { color: ${(0,b.HK)("colors.discovery.body.light.heading")}; &::after { display: none; } } .summary-item__hed { ${(0,b.Gg)("typography.definitions.discovery.hed-bulletin-primary")} margin-bottom: 0; } .summary-item__dek { ${(0,b.Gg)("typography.definitions.discovery.description-page")} display: ${({shouldHideDangerousDek:e})=>e?"none":"block"}; margin: ${(0,b.Kq)(2)} 0 ${(0,b.Kq)(1)}; color: ${(0,b.HK)("colors.discovery.body.white.description")}; } .summary-item__content { padding-bottom: ${({hasLessBottomSpace:e})=>e?(0,b.Kq)(0):""}; } .summary-item__byline { margin-top: ${({hasTighterBylineSpacing:e})=>e?(0,b.Kq)(1):(0,b.Kq)(2)}; ${h.f9}, ${h.CR}, ${h.H1}, ${h.QW} { ${(0,b.Gg)("typography.definitions.globalEditorial.accreditation-core")} color: ${(0,b.HK)("colors.discovery.body.light.accreditation")}; } ${h.QW}:link { color: ${(0,b.HK)("colors.discovery.body.light.accreditation")}; } } .summary-item__metadata-secondary { margin: ${(0,b.Kq)(2)} 0 0 0; } ${(0,b.R9)("hasBorder",!1,C)}; } `,E=(0,g.Ay)(f.A.ThreeUp).withConfig({displayName:"SummaryCollectionSplitColumnsItems"})` ${y.E} { grid-column: 1 / -1; margin-top: ${(0,b.Kq)(2)}; } ${y.E}:first-of-type { margin: ${(0,b.Kq)(3)} 0; ${(0,b.H4)(A.LO.md)} { grid-column: span 7; } } ${y.E}:last-of-type { ${(0,b.H4)(A.LO.md)} { grid-column: span 5; margin: ${(0,b.Kq)(3)} 0; } } `,$=(0,g.Ay)("div").withConfig({displayName:"SummaryCollectionSplitColumnsRecsWrapper"})` display: grid; grid-column-gap: ${(0,b.Kq)(3)}; grid-template-columns: repeat(6, 1fr); grid-row-gap: ${(0,b.Kq)(2)}; height: 100%; ${(0,b.H4)(A.LO.md)} { display: grid; grid-template-rows: 5% 75% 20%; grid-row-gap: ${(0,b.Kq)(1)}; border-right: 1px solid; border-color: ${({theme:e})=>(0,b._o)(e,"border-color","colors.consumption.body.standard.divider")}; padding-right: ${(0,b.Kq)(3)}; } p { grid-column: span 6; grid-row: 1 / 1; align-self: center; margin: 0; ${({theme:e})=>(0,b.Gg)(e,"typography.definitions.foundation.link-primary")} } .summary-item { display: grid; grid-column-gap: 1rem; grid-column: span 6; grid-template-columns: 40% 60%; align-items: center; ${(0,b.H4)(A.LO.sm)} { grid-template-columns: 1fr 1fr; } ${(0,b.H4)(A.LO.md)} { display: unset; grid-column: span 3; grid-row: 2 / 2; } } .button { grid-column: span 6; max-height: ${(0,b.Kq)(6)}; ${(0,b.H4)(A.LO.md)} { grid-column: 2 / span 4; grid-row: 3; } ${(0,b.H4)(A.LO.lg)} { justify-self: center; padding: 0 ${(0,b.Kq)(6)}; } } `,T=({className:e,dangerousHed:t,guideItem:n,hasBackgroundColor:i=!0,hasBorderItem:r=!0,hasExtraRubricSpace:l=!1,hasLessBottomSpace:p=!1,hasTighterBylineSpacing:g=!1,itemHedTag:h,location:y,recommendedItems:f,recommendedItemCount:b=2,shouldHideDangerousDek:A=!1,shouldAppendReadMoreLinkForDek:C=!0,shouldHideBylines:T=!0,shouldEnableBundleComponentAnalytics:S,summaryItemRubricVariation:I,trackingNamespace:L})=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(u.G.RENDER,{name:"SummaryCollectionSplitColumns"})},[]);const{formatMessage:R}=(0,o.A)(),{items:N,recommendedType:x,recommendedClickout:k}=f,H=h||(t?"h3":"h2"),[D]=(0,m.qe)("trending-ad");return a.createElement(w,{className:e,"data-testid":"SummaryCollectionSplitColumnsWrapper",hasBackgroundColor:i},a.createElement(E,{"data-testid":"SummaryCollectionSplitColumnsItems",showTrendingAd:D},a.createElement($,null,a.createElement("p",null,R(d.recommendedTitle,{recommendedType:x})),N.slice(0,b).map((e,t)=>{const n=(0,c.NY)(S,L?.item,t);return a.createElement(a.Fragment,{key:t},a.createElement(v,{...e,analyticsDataAttribute:n,variation:"TextBelowImageLeftHasRuleWithDek",hasBorder:r,hedTag:H,key:t,rubricVariation:I,"data-testid":"SummaryCollectionSplitColumnsItem",shouldHideDangerousDek:A,shouldAppendReadMoreLinkForDek:C,shouldHideBylines:T,hasLessBottomSpace:p,hasExtraRubricSpace:l}))}),k&&a.createElement(s.A.Utility,{label:R(d.viewAllButton,{location:y,recommendedType:x}),inputKind:"link",href:k})),a.createElement(v,{...n[0],image:n[0].lede,dangerousHed:y?R(d.guideItemHed,{location:y}):t,variation:"TextBelowImageLeftHedAndDek",hasBorder:r,hedTag:H,rubricVariation:I,"data-testid":"SummaryCollectionSplitColumnsItem",shouldHideBylines:T,hasTighterBylineSpacing:g,hasLessBottomSpace:p,hasExtraRubricSpace:l})))};T.propTypes={className:r().string,dangerousHed:r().string,guideItem:r().arrayOf(r().shape(l.A.propTypes)).isRequired,hasBackgroundColor:r().bool,hasBorderItem:r().bool,hasExtraRubricSpace:r().bool,hasLessBottomSpace:r().bool,hasTighterBylineSpacing:r().bool,itemHedTag:r().string,location:r().string,recommendedItemCount:r().number,recommendedItems:r().shape({items:r().arrayOf(r().shape(l.A.propTypes)),recommendedType:r().string,recommendedClickout:r().string}).isRequired,shouldAppendReadMoreLinkForDek:r().bool,shouldEnableBundleComponentAnalytics:r().bool,shouldHideBylines:r().bool,shouldHideDangerousDek:r().bool,summaryItemRubricVariation:r().string,trackingNamespace:r().object},T.displayName="SummaryCollectionSplitColumns";const S=(0,p.y)(T,"SummaryCollectionSplitColumns")},62265:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var i=n(58156),r=n.n(i),a=n(86659);const o=(e,t)=>{let n=a.A.WithMargins;const{type:i,showAdRail:o,gridColumns:s}=t||{};"gallery"===i&&(n=((e,t,n)=>{if(e)return a.A.ContentWithAdRailNarrow;const{start:i,end:r}=t||{};return i&&r?a.A.DynamicGrid(t):n})(o,s,n)),"article"===i&&(n=((e,t)=>"WithAdRail"===e?a.A.NarrowContentWithWideAdRail:t)(r()(e,"ChunkedArticleContent.variation"),n));const l=r()(e,"ContentWrapper.variation");return n=l?a.A[l]:n,n}},63761:(e,t,n)=>{"use strict";n.d(t,{p:()=>l,z:()=>s});var i=n(96540),r=n(5556),a=n.n(r),o=n(18106);const s=i.createContext({}),l=({lang:e,children:t})=>i.createElement(s.Provider,{value:e||o.xN},t);l.propTypes={children:a().node,lang:a().string},l.displayName="ContentLangProvider"},66916:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(67098),r=n.n(i);const a=e=>r()(e).trim()},68073:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var i=n(58156),r=n.n(i),a=n(44383),o=n.n(a),s=n(18938),l=n.n(s),d=n(44377),c=n.n(d),m=n(15272),p=n(97906),u=n(25053),g=n(98183);const h={clip:e=>r()(e,"renditions.mp4",[]).find(e=>"master"===e.resolution)??{},photo:e=>r()(e,"aspectRatios.master",{})};function y(e,t,n,i){const a=m.A.get(n),s=(0,u.A)(e,i);if(!("clip"!==e.modelName||e.renditions&&e.renditions.mp4))return{};const d=l()(t).map(([t,n])=>{const i={...n},l=o()(n,["aspectRatio","height","width","sizes"]);let d;"clip"!==e.modelName||i.resolution||function(e,{mp4:t}){if(t.length){const n=t.find(({resolution:e})=>"master"===e),{height:i,width:r}=n,a=`${r}:${i}`,{width:o,height:s,aspectRatio:l}=e,d=l&&"master"!==l?l:a,[c,m]=d.split(":"),p=s||o/(c/m)||n.height,u=t.reduce((e,t)=>t.height>=p&&t.height1&&i.pop(),i.push(t),n.push(i.join(".")),e.pathname=n.join("/")}(d,"mp4"));const c={...l,url:d?.href||"",srcset:void 0},m=r()(c,"aspectRatio","master");if("master"===m){const t=h[e.modelName]??h.photo;!function(e,{height:t,width:n}){if(t>0&&n>0){const i=n/t;e.width?e.height=Math.round(e.width/i):e.height&&(e.width=Math.round(e.height*i))}}(c,t(e))}let u;if("clip"!==e.modelName&&c.width){const t=(0,p.A)(c.width);c.srcset=t.map(t=>{const i=new URL(a.buildUrl(e,{...n,width:t}));return s&&(u=(0,g.A)(t,c.height,m),i.searchParams.append("overlay",`${s}-${u}`)),`${i.href} ${t}w`}).join(", ")}else delete c.srcset;if(s){u=(0,g.A)(c.width,c.height,m);const e=new URL(c.url);e.searchParams.append("overlay",`${s}-${u}`),c.url=e.href}return[t,c]});return c()(d)}},68545:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var i=n(96540),r=n(5556),a=n.n(r),o=n(55364),s=n.n(o);const l=(e,t)=>{const{opacity:n,visibility:i}=e.getComputedStyle(t);return!!t.offsetHeight&&!!t.offsetWidth&&"0"!==n&&"hidden"!==i},d=(e,t)=>(n,r="visibility")=>{const o=n.displayName||n.name,d={window:t||window};class c extends i.Component{constructor(t){super(t),this.updateVisibility=e=>{const[{isIntersecting:t,target:n}]=e,i=t&&l(d.window,n);this.state.isVisible!==i&&this.setState({isVisible:i})},this.render=()=>{const e={[r]:{[this.element.name]:this.state.isVisible}},t=s()({},this.props,e);return i.createElement(n,{...t})},this.state={isVisible:!1},this.element=t.element||e}componentDidMount(){this.attachObserver()}componentDidUpdate(t){t.element!==this.props.element&&(this.element=this.props.element||e,this.detachObserver(),this.attachObserver())}componentWillUnmount(){this.detachObserver()}attachObserver(){const e=d.window.document.querySelector(`.${this.element.className}`);e&&l(d.window,e)?(this.observer=new d.window.IntersectionObserver(this.updateVisibility,{threshold:[.001,.999]}),this.observer.observe(e)):this.retryTimer=setTimeout(this.attachObserver.bind(this),500)}detachObserver(){this.retryTimer&&clearTimeout(this.retryTimer),this.observer&&this.observer.disconnect()}}return c.displayName=`withVisibilityState(${o})`,c.propTypes={element:a().shape({name:a().string,className:a().string})},c}},70697:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var i=n(96540),r=n(38267),a=n(62930),o=n(96472),s=n(26865);function l({showExperimentPlaceholder:e,renderHeader:t,isGBReady:n}){return e?n?t():i.createElement(c,null,i.createElement(a.jl,null)):t()}const d=r.Ay.div.withConfig({displayName:"PlaceholderWrapper"})` display: flex; align-items: center; justify-content: center; background-color: #f5f5f5; min-height: ${e=>e.minHeight}px; ${(0,s.H4)(o.LO.lg)} { min-height: 90vh; } `,c=({minHeight:e="700",children:t=null})=>i.createElement(d,{minHeight:e},t)},72987:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var i=n(96540),r=n(5556),a=n.n(r),o=n(31989),s=n(38080),l=n(13465),d=n(36185),c=n(34967);const m={"300x250":500,"320x100":500,"300x50":500,"320x50":500},p=e=>{const{isNoAds:t}=e,n=e.config.adsConfig.enableStickyMidContent||!1,[r,a]=(0,i.useState)(),l=n&&r&&2===r.length?`${r[0]}x${r[1]}`:"0x0";return t?null:i.createElement(d.P4,{height:m[l]||null,className:"ad-stickymidcontent"},i.createElement(s.Z,{group:"ads"},i.createElement(o.A,{position:"mid-content",handleAdSizeChange:e=>{a(e)},shouldDisplayLabel:!0,...e})))};p.propTypes={config:a().object,isNoAds:a().bool},p.displayName="StickyMidContent";const u=(0,c.A)((0,l.y)(p,"StickyMidContent"),{keysToPluck:["isNoAds"]})},79784:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var i=n(5556),r=n.n(i),a=n(96540),o=n(49741);const s=n(38267).Ay.aside.withConfig({displayName:"PaywallInlineBarrierWrapper"})` width: auto; height: auto; @media print { display: none; } `;var l=n(53499);const d=function(e){a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(l.G.RENDER,{name:"PaywallInlineBarrier"})},[]);const{position:t="paywall-inline-barrier",className:n}=e;return a.createElement(s,{className:n,"data-testid":"PaywallInlineBarrierWrapper"},a.createElement(o.A,{position:t,aria:{"aria-live":"polite"}}))};d.propTypes={className:r().string,position:r().string};const c=d},82049:(e,t,n)=>{"use strict";function i(e){try{if(!e||"string"!=typeof e)return"Recently updated";const t=new Date(e);if(isNaN(t.getTime()))return"Recently updated";const n={year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"};return t.toLocaleString("en-US",n)}catch(e){return"Recently updated"}}n.d(t,{E:()=>i})},87098:(e,t,n)=>{"use strict";n.d(t,{j:()=>i.A});var i=n(26022)},89738:(e,t,n)=>{"use strict";n.r(t),n.d(t,{deepPropsComparison:()=>s,getDisplayName:()=>a});var i=n(29132),r=n.n(i);function a(e){let t=e.displayName||e.name;return t||(t=""),t}function o(e,t){if("function"==typeof e&&"function"==typeof t)return!0}const s=(e={},t={})=>r()(e,t,o)},90713:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var i=n(5556),r=n.n(i),a=n(96540),o=n(7307),s=n(45102),l=n(53499);const d=e=>{a.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(l.G.RENDER,{name:"PaywallCollaborator"})},[]);const{component:t,name:n,paywall:i,...r}=e,d=o.A[i.strategy],c=i.strategy&&d,m=d&&d.names.includes(n);return c&&m?a.createElement(t,{...s.A.execute(d,e)}):a.createElement(t,{...r})};d.propTypes={component:r().func.isRequired,name:r().string.isRequired,payment:r().object.isRequired,paywall:r().object.isRequired};const c=d},99407:(e,t,n)=>{"use strict";n.d(t,{M:()=>l});var i=n(96540),r=n(5556),a=n.n(r),o=n(53499);const s=({accountId:e})=>(i.useEffect(()=>{window.Kendra.TRACK_COMPONENT.broadcast(o.G.RENDER,{name:"BeopScript"})},[]),i.createElement(i.Fragment,null,i.createElement("script",{id:"beop-script",className:"optanon-category-C0004",type:"text/plain","data-testid":"beop-script",dangerouslySetInnerHTML:{__html:`window.beOpAsyncInit = function () {\n window.BeOpSDK.init({\n account: '${e}'\n });\n window.BeOpSDK.watch();\n };`}}),i.createElement("script",{id:"beop-sdk",async:!0,src:"https://widget.beop.io/sdk.js"})));s.propTypes={accountId:a().string.isRequired};const l=s},99623:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});var i=n(14307);const r=(e,t,n="",r="click",a=void 0,o=void 0,s=void 0)=>{const l=(e=>{if(!e||void 0===document)return null;const t=document.getElementById(e),n=(t?t.offsetTop:0)/Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return n<=.33?"top":n<=.66?"middle":"bottom"})(a),d={items:[{content_title:t,content_url:e}],label:t,subject:n,type:r,index:o,placement:l||s};(0,i.kg)(d)}}}]);