(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,251590,986044,e=>{"use strict";var t=e.i(247865),i=e.i(855128),l=e.i(271359),r=e.i(982538),a=e.i(902875),n=Object.defineProperty,s=(e,t)=>n(e,"name",{value:t,configurable:!0});function o(e){let n=e+"CollectionProvider",[o,d]=(0,i.createContextScope)(n),[c,u]=o(n,{collectionRef:{current:null},itemMap:new Map}),h=s(e=>{let{scope:i,children:l}=e,r=t.useRef(null),n=t.useRef(new Map).current;return(0,a.jsx)(c,{scope:i,itemMap:n,collectionRef:r,children:l})},"CollectionProvider");h.displayName=n;let m=e+"CollectionSlot",f=(0,r.createSlot)(m),p=t.forwardRef((e,t)=>{let{scope:i,children:r}=e,n=u(m,i),s=(0,l.useComposedRefs)(t,n.collectionRef);return(0,a.jsx)(f,{ref:s,children:r})});p.displayName=m;let g=e+"CollectionItemSlot",x="data-radix-collection-item",b=(0,r.createSlot)(g),v=t.forwardRef((e,i)=>{let{scope:r,children:n,...s}=e,o=t.useRef(null),d=(0,l.useComposedRefs)(i,o),c=u(g,r);return t.useEffect(()=>(c.itemMap.set(o,{ref:o,...s}),()=>void c.itemMap.delete(o))),(0,a.jsx)(b,{...{[x]:""},ref:d,children:n})});function y(i){let l=u(e+"CollectionConsumer",i);return t.useCallback(()=>{let e=l.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${x}]`));return Array.from(l.itemMap.values()).sort((e,i)=>t.indexOf(e.ref.current)-t.indexOf(i.ref.current))},[l.collectionRef,l.itemMap])}return v.displayName=g,s(y,"useCollection"),[{Provider:h,Slot:p,ItemSlot:v},y,d]}s(o,"createCollection");var d=new WeakMap,c=class e extends Map{static{s(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],d.set(this,!0)}set(e,t){return d.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,i){let l,r=this.has(t),a=this.#e.length,n=m(e),s=n>=0?n:a+n,o=s=a?-1:s;if(o===this.size||r&&o===this.size-1||-1===o)return this.set(t,i),this;let d=this.size+ +!r;n=this.size&&(l=this.size-1),this.at(l)}keyFrom(e,t){let i=this.indexOf(e);if(-1===i)return;let l=i+t;return l=this.size&&(l=this.size-1),this.keyAt(l)}find(e,t){let i=0;for(let l of this){if(Reflect.apply(e,t,[l,i,this]))return l;i++}}findIndex(e,t){let i=0;for(let l of this){if(Reflect.apply(e,t,[l,i,this]))return i;i++}return -1}filter(t,i){let l=[],r=0;for(let e of this)Reflect.apply(t,i,[e,r,this])&&l.push(e),r++;return new e(l)}map(t,i){let l=[],r=0;for(let e of this)l.push([e[0],Reflect.apply(t,i,[e,r,this])]),r++;return new e(l)}reduce(...e){let[t,i]=e,l=0,r=i??this.at(0);for(let i of this)r=0===l&&1===e.length?i:Reflect.apply(t,this,[r,i,l,this]),l++;return r}reduceRight(...e){let[t,i]=e,l=i??this.at(-1);for(let i=this.size-1;i>=0;i--){let r=this.at(i);l=i===this.size-1&&1===e.length?r:Reflect.apply(t,this,[l,r,i,this])}return l}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let i=this.keyAt(e),l=this.get(i);t.set(i,l)}return t}toSpliced(...t){let i=[...this.entries()];return i.splice(...t),new e(i)}slice(t,i){let l=new e,r=this.size-1;if(void 0===t)return l;t0&&(r=i-1);for(let e=t;e=0?l:i+l;return r=i?-1:r}function m(e){return e!=e||0===e?0:Math.trunc(e)}function f(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!1;for(let l of i)if(!Object.prototype.hasOwnProperty.call(t,l)||e[l]!==t[l])return!1;return!0}function p(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function g(e,t){return e[1].element&&t[1].element?p(e[1].element,t[1].element)?-1:1:0}function x(e){return new MutationObserver(t=>{for(let i of t)if("childList"===i.type)return void e()})}s(u,"at"),s(h,"toSafeIndex"),s(m,"toSafeInteger"),s(function(e){let n=e+"CollectionProvider",[o,d]=(0,i.createContextScope)(n),[u,h]=o(n,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new c,setItemMap:s(()=>void 0,"setItemMap")}),m=s(({state:e,...t})=>e?(0,a.jsx)(b,{...t,state:e}):(0,a.jsx)(p,{...t}),"CollectionProvider");m.displayName=n;let p=s(e=>{let t=N();return(0,a.jsx)(b,{...e,state:t})},"CollectionInit");p.displayName=n+"Init";let b=s(e=>{let{scope:i,children:r,state:n}=e,s=t.useRef(null),[o,d]=t.useState(null),c=(0,l.useComposedRefs)(s,d),[h,m]=n;return t.useEffect(()=>{if(!o)return;let e=x(()=>{});return e.observe(o,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[o]),(0,a.jsx)(u,{scope:i,itemMap:h,setItemMap:m,collectionRef:c,collectionRefObject:s,collectionElement:o,children:r})},"CollectionProviderImpl");b.displayName=n+"Impl";let v=e+"CollectionSlot",y=(0,r.createSlot)(v),w=t.forwardRef((e,t)=>{let{scope:i,children:r}=e,n=h(v,i),s=(0,l.useComposedRefs)(t,n.collectionRef);return(0,a.jsx)(y,{ref:s,children:r})});w.displayName=v;let j=e+"CollectionItemSlot",C=(0,r.createSlot)(j),k=t.forwardRef((e,i)=>{let{scope:r,children:n,...s}=e,o=t.useRef(null),[d,u]=t.useState(null),m=(0,l.useComposedRefs)(i,o,u),{setItemMap:p}=h(j,r),x=t.useRef(s);f(x.current,s)||(x.current=s);let b=x.current;return t.useEffect(()=>(p(e=>d?e.has(d)?e.set(d,{...b,element:d}).toSorted(g):(e.set(d,{...b,element:d}),e.toSorted(g)):e),()=>{p(e=>d&&e.has(d)?(e.delete(d),new c(e)):e)}),[d,b,p]),(0,a.jsx)(C,{"data-radix-collection-item":"",ref:m,children:n})});function N(){return t.useState(new c)}function S(t){let{itemMap:i}=h(e+"CollectionConsumer",t);return i}return k.displayName=j,s(N,"useInitCollection"),s(S,"useCollection"),[{Provider:m,Slot:w,ItemSlot:k},{createCollectionScope:d,useCollection:S,useInitCollection:N}]},"createCollection"),s(f,"shallowEqual"),s(p,"isElementPreceding"),s(g,"sortByDocumentPosition"),s(x,"getChildListObserver"),e.s(["createCollection",0,o],251590);var b=Object.defineProperty,v=t.createContext(void 0);function y(e){let i=t.useContext(v);return e||i||"ltr"}b(y,"name",{value:"useDirection",configurable:!0}),e.s(["useDirection",0,y],986044)},729496,e=>{"use strict";let t=(0,e.i(514514).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],729496)},973855,e=>{"use strict";let t=(0,e.i(514514).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],973855)},482317,e=>{"use strict";let t=(0,e.i(514514).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],482317)},997793,e=>{"use strict";var t=e.i(902875),i=e.i(247865),l=e.i(947118),r=e.i(737801),a=e.i(320209),n=e.i(551699);e.s(["AssetAnalytics",0,({contentId:e,assetMediaType:s,title:o,position:d,tagsKeyword:c,moduleId:u,variant:h="frontend",children:m,className:f,dataAttrProps:p})=>{let g,x,b,[v,y]=(0,i.useState)(null),w=(0,i.useMemo)(()=>v?[v]:[],[v]),j=(g="asset-viewed",x=(0,l.useIsInitialized)(),b=(0,r.useEventAttributes)(),(0,i.useCallback)(({moduleId:e,contentId:t,assetMediaType:i,title:l,pos:r,tagsKeyword:a})=>{if(!x)return void console.warn("MParticle is not initialized");let n={moduleId:e,contentId:t,assetMediaType:i,title:l,pos:String(r),tagsKeyword:a,...b};try{window.mParticle?.logEvent?.(g,window.mParticle?.EventType?.Other,n),console.debug(`MParticle: Event "${g}" tracked`,n)}catch(e){console.error(`MParticle: Event "${g}" failed`,e)}},[b,x])),C=(0,i.useCallback)(()=>{let t={moduleId:u??v?.closest("[data-module-id]")?.dataset.moduleId??"",contentId:e,assetMediaType:s,title:o,pos:d,tagsKeyword:c};j(t),(0,a.trackHightouchAssetViewed)(t)},[v,j,u,e,s,o,d,c]);return((0,n.useFullVisibilityOnce)(C,{targets:w,disabled:"admin"===h}),"admin"===h)?(0,t.jsx)(t.Fragment,{children:m}):(0,t.jsx)("div",{ref:y,className:f,...p,children:m})}],997793)},445359,e=>{"use strict";var t=e.i(902875),i=e.i(247865),l=e.i(747961);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:l,descId:r,...a},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":r,...a,children:[l?(0,t.jsx)("desc",{id:r,children:l}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Play"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M3.5 14a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .741-.438l10 5.5a.5.5 0 0 1 0 .876l-10 5.5A.5.5 0 0 1 3.5 14"})]})),a=i.default.forwardRef((e,i)=>(0,t.jsx)(l.BaseIcon,{ref:i,icon:r,...e}));a.displayName="PlayFilledAlt",e.s(["PlayFilledAlt",0,a])},146691,e=>{"use strict";var t=e.i(902875),i=e.i(247865),l=e.i(747961);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:l,descId:r,...a},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":r,...a,children:[l?(0,t.jsx)("desc",{id:r,children:l}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Share"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M11.5 10a2.5 2.5 0 0 0-1.944.945L5.9 8.66a2.23 2.23 0 0 0 0-1.32l3.655-2.285A2.5 2.5 0 1 0 9 3.5q.004.337.1.66L5.446 6.445a2.5 2.5 0 1 0 0 3.11L9.1 11.84a2.4 2.4 0 0 0-.1.66 2.5 2.5 0 1 0 2.5-2.5m0-8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m-8 7.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m8 4.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})]})),a=i.default.forwardRef((e,i)=>(0,t.jsx)(l.BaseIcon,{ref:i,icon:r,...e}));a.displayName="Share",e.s(["Share",0,a])},219246,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedTopAdHeightAtom",0,t])},495406,e=>{"use strict";var t=e.i(902875),i=e.i(247865),l=e.i(725287),r=e.i(16838),a=e.i(632137),n=e.i(380993),s=e.i(546446),o=e.i(5397),d=e.i(688070),c=e.i(647292),u=e.i(697380),h=e.i(219246);let m="min-h-[50px] my-2",f="min-h-[90px]",p="min-h-[250px]",g="min-h-[600px]",x={WX_Hidden:{type:"custom",containerClasses:"hidden"},WX_BottomLeader:{type:"standard",placeholderClass:f},WX_Bot300:{type:"standard",verticalAlign:"top",placeholderClass:p},WX_Bot300AdX1:{type:"standard",placeholderClass:p},WX_Bot300AdX2:{type:"standard",placeholderClass:p},WX_Bot300AdX3:{type:"standard",verticalAlign:"top",placeholderClass:p},WX_Bot300AdX4:{type:"standard",placeholderClass:p},WX_Bot300AdX5:{type:"standard",placeholderClass:p},WX_Bot300AdX6:{type:"standard",verticalAlign:"top",placeholderClass:p},WX_PromoDriver1:{type:"standard",placeholderClass:p},WX_FlexLeader:{type:"standard",placeholderClass:f},WX_MidLeader:{type:"standard",placeholderClass:f},WX_MidLeader2:{type:"standard",placeholderClass:f},WX_MidLeader3:{type:"standard",placeholderClass:f},WX_MidLeader4:{type:"standard",placeholderClass:f},WX_Top300Small:{type:"standard",placeholderClass:p},WX_Top300Variable:{type:"standard",verticalAlign:"top",placeholderClass:g,stickyClasses:"flex-none sticky top-[135px] z-sticky",stickyHeight:"h-[2000px]"},WX_Mid300:{type:"standard",placeholderClass:p},WX_Mid300Variable:{type:"standard",verticalAlign:"top",placeholderClass:g,stickyClasses:"flex-none sticky top-[135px] z-sticky",stickyHeight:"h-[2000px]"},MW_Position2:{type:"standard",placeholderClass:p},MW_Position3:{type:"standard",placeholderClass:p},MW_Position3_Hourly:{type:"standard",placeholderClass:p},MW_Position4:{type:"standard",placeholderClass:p},MW_Position5:{type:"standard",placeholderClass:p},WX_WindowShade:{type:"standard",placeholderClass:p,tabletPlaceholderClass:f,containerClasses:"pb-0 rounded-3xl",disableBorder:!0},WX_Leaderboard:{type:"standard",placeholderClass:f},MW_Position1:{type:"custom",placeholderClass:m,containerClasses:"bg-gray-100 block fixed w-full bottom-[56px] left-[0px] z-adOverlay",mobileAppContainerClasses:"bg-gray-100 block fixed w-full bottom-0 left-0 z-adOverlay",isBottomFixed:!0},MW_Position1_Samsung:{type:"custom",placeholderClass:m,containerClasses:"bg-gray-100 block fixed w-full bottom-[56px] left-[0px] z-adOverlay",isBottomFixed:!0},MW_Position1_Radar:{type:"custom",placeholderClass:m,containerClasses:"bg-gray-100 block fixed w-full top-0 left-[0px] z-adOverlay",isTopFixed:!0},MW_Position_ContentFeedAd1:{type:"nativeVideoPlaylist"},MW_Position_ContentFeedAd11:{type:"nativeVideoPlaylist"},WX_ContentFeed1:{type:"nativeVideoPlaylist"},WX_ContentFeedRadar:{type:"standardNative",persistElementOnEmpty:!0,containerClasses:"bg-gray-100 [&_[id$=ContentFeedRadar]]:w-full"}};var b=e.i(528600),v=e.i(849177);function y({eventName:e,enabled:t,filter:l}){let[r,a]=(0,i.useState)(!1),n=(0,i.useRef)(!1),s=(0,i.useRef)(l);return s.current=l,(0,i.useEffect)(()=>{if(!t){n.current=!1;return}if(n.current)return;let i=!0;return window.__HeliosQ=window.__HeliosQ||[],window.__HeliosQ.push(()=>{window.__Helios.waitForEvent(e,s.current?{filter:s.current}:void 0).then(()=>{i&&a(!0)}).catch(t=>{console.error(`Error waiting for ${e}:`,t)})}),n.current=!0,()=>{i=!1,n.current=!1}},[t,e]),{triggered:r}}var w=e.i(421956),j=e.i(456215),C=e.i(176540);let k={adSlots:!0,adFallbackPromo:!0,adScripts:!0,adVideo:!0,taboola:!0,adLayoutReservation:!0,adScaffolding:!0,promoMorningBrief:!0,contentRecirculation:!0,sdkConsent:!0,sdkPush:!0,sdkAnalytics:!0},N=[{name:"atmosphere",when:e=>(0,C.default)(e.article),disables:["adSlots","adFallbackPromo","adScripts","taboola","promoMorningBrief"]},{name:"snowcast",when:e=>(0,j.isSnowCastWebView)(e.webViewPlatform),disables:["adSlots","adFallbackPromo","adScripts","adVideo","taboola","adLayoutReservation","adScaffolding","promoMorningBrief","contentRecirculation","sdkConsent","sdkPush"]},{name:"premium",when:e=>!0===e.isUserPremium,disables:["adSlots","adScripts","adVideo","taboola"]},{name:"adsKillswitch",when:e=>!0===e.adsKillswitch,disables:["adSlots","adScripts","adVideo","taboola"]}],S=({globalPageProps:e,...i})=>{let{adSlots:l,adFallbackPromo:r}=function(e){let t={...k};for(let i of N)if(i.when(e))for(let e of i.disables)t[e]=!1;return t}({webViewPlatform:(0,s.useAtomValue)(c.webViewPlatformAtom),article:e?.article??null,isUserPremium:null,adsKillswitch:null});return l||r?(0,t.jsx)(_,{...i}):null},_=({adId:e,adSlot:c,stickyReplaceSlot:m,title:f="Advertisement",className:p,sticky:g=!1,disableRegisteredUsers:j=!1,placeholderContent:C,fallbackPromoDriver:k})=>{let N=e||("object"==typeof c?c.slotTarget:void 0)||"",S="object"==typeof m?m?.slotTarget:void 0,_=N?x[N]??x[N.replace(/_GLS$/,"")]:void 0,P=(0,l.useParams)()?.locale,E=(0,s.useAtomValue)(o.showAdminHeaderAtom),M=(0,s.useAtomValue)(d.isWebViewOnlyAtom)&&_?.mobileAppContainerClasses?_.mobileAppContainerClasses:_?.containerClasses,R=(0,s.useSetAtom)(u.fixedBottomAdHeightAtom),I=(0,s.useSetAtom)(h.fixedTopAdHeightAtom),{shouldRender:B,placeholderClass:T}=function({adId:e,adSlotConfig:t,disableRegisteredUsers:l=!1}){let{user:r}=(0,b.useUser)(),a=(0,s.useAtomValue)(v.adsDisabledAtom),n=r.isUserPremium||a||!e||!!l&&r.isUserLoggedIn;!function({adId:e,adSlotType:t,enabled:l}){let r=(0,i.useRef)(!1);(0,i.useEffect)(()=>{if(l&&("standardNative"===t||"nativeVideoPlaylist"===t)&&!r.current){try{let t=(e=>{if("MW_Position_ContentFeedAd11"===e)return{currContentFeedIndex:"21",baseNativeAdPosition:"MW_Position_ContentFeedAd1"};if("WX_ContentFeedRadar"===e)return{currContentFeedIndex:null,baseNativeAdPosition:"WX_ContentFeedRadar"};if("MW_Position_ContentFeedAd1"===e||"WX_ContentFeed1"===e){let t=e.match(/(\d+)$/);if(t)return{currContentFeedIndex:t[1],baseNativeAdPosition:e.substring(0,t.index)}}return console.error(`Could not parse index from ContentFeed adId: ${e}`),null})(e);if(t){let{currContentFeedIndex:i,baseNativeAdPosition:l}=t,r=window.__HeliosConfig.slotsConfig[l];if(r){let t=null!==i?`${r.adUnitPath}/contentfeed${i}`:r.adUnitPath;window.__HeliosQ=window.__HeliosQ||[],window.__HeliosQ.push(()=>{window.__Helios.waitForEvent("AD_SLOTS_CONNECTED").then(()=>{window.__Helios.emit("AD_RENDER_CONTENT_FEED",{elementId:e,adUnitPath:t,baseNativeAdPosition:l})})})}else console.error(`No config found for ${e} at Helios.slotConfig.${l}`)}}catch(e){console.error("Error rendering native ad",e)}r.current=!0}},[e,t,l])}({adId:e,adSlotType:t?.type,enabled:!n});let{adSlotRenderEvent:o}=function({adId:e,enabled:t=!0}){let[l,r]=(0,i.useState)(null);return(0,i.useEffect)(()=>{if(!t||!e)return;let i=t=>{t.slot.getSlotElementId()===e&&r(t)};return window.googletag?.cmd&&window.googletag.cmd.push(()=>{window.googletag?.pubads().addEventListener("slotRenderEnded",i)}),()=>{window.googletag?.cmd&&window.googletag.cmd.push(()=>{window.googletag?.pubads().removeEventListener("slotRenderEnded",i)})}},[e,t]),{adSlotRenderEvent:l}}({adId:e,enabled:!n}),{isAdHidden:d}=function(e,t=!0){let[l,r]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!e||!t)return;let i=document.getElementById(e);if(!i)return;let l=()=>{r("none"===window.getComputedStyle(i).display)};l();let a=new MutationObserver(l);return a.observe(i,{attributes:!0,attributeFilter:["style","class"]}),()=>a.disconnect()},[e,t]),{isAdHidden:l}}(e,!n),{isSlotConfigDeleted:c}=function({adId:e,enabled:t}){let{triggered:i}=y({eventName:"SLOT_CONFIG_DELETED",enabled:t&&!!e,filter:t=>t.args[0].slotId===e});return{isSlotConfigDeleted:i}}({adId:e,enabled:!n}),{isAdsExcluded:u}=function({enabled:e}){let{triggered:t}=y({eventName:"ERROR_EXCLUSION",enabled:e});return{isAdsExcluded:t}}({enabled:!n}),h=!!t?.persistElementOnEmpty,m=!n&&(h||!d)&&(h||!o?.isEmpty)&&!c&&!u,{placeholderClass:f}=function({adId:e,adSlotConfig:t,enabled:i}){let{isIMAdDetected:l}=function({adId:e,enabled:t}){let{triggered:i}=y({eventName:"IM_AD_DETECTED_FOR_MW",enabled:t&&e.includes("MW_Position1")});return{isIMAdDetected:i}}({adId:e,enabled:i}),{isTabletDetected:r}=function({enabled:e}){let{triggered:t}=y({eventName:"TABLET_DETECTED",enabled:e});return{isTabletDetected:t}}({adId:e,enabled:i}),a=r?t?.tabletPlaceholderClass??t?.placeholderClass:t?.placeholderClass;return{placeholderClass:l?"h-0 min-h-0 p-0":a}}({adId:e,adSlotConfig:t,enabled:!n});return{shouldRender:m,placeholderClass:f}}({adId:N,adSlotConfig:_,disableRegisteredUsers:j}),O=(0,i.useRef)(null),{isReplaceSlotVisible:D}=function({adId:e,stickyReplaceId:t,enabled:l=!0}){let[r,a]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let i=t&&t!==e?t:null;if(!l||!i)return;let r=e=>{e.slot.getSlotElementId()===i&&a(!0)};return window.googletag?.cmd&&window.googletag.cmd.push(()=>{window.googletag?.pubads().addEventListener("slotVisibilityChanged",r)}),()=>{window.googletag?.cmd&&window.googletag.cmd.push(()=>{window.googletag?.pubads().removeEventListener("slotVisibilityChanged",r)})}},[e,t,l]),{isReplaceSlotVisible:r}}({adId:N,stickyReplaceId:S,enabled:B});if((0,i.useEffect)(()=>{let e=O.current,t=_?.isTopFixed||_?.isBottomFixed;if(!(B&&e&&t))return;let i=_?.isTopFixed?I:R,l=()=>i(e.offsetHeight),r=new ResizeObserver(l);return r.observe(e),l(),()=>{r.disconnect(),i(0)}},[B,N,R,I,_?.isBottomFixed,_?.isTopFixed]),!B){let[e]=k||[];return e&&"en-US"===P?(0,t.jsx)(w.PromoDriverBlock,{...e}):null}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.DebugCollector,{componentName:"AdBlock",data:{props:{adId:N,adSlot:c,adSlotConfig:_,sticky:g},state:{shouldRender:B},performance:{renderTime:Date.now()}},enabled:E}),(0,t.jsx)(n.Card,{ref:O,variant:_?.type==="standard"?"bottom":"ghost",border:_?.disableBorder?"none":void 0,padding:_?.disableBorder?"none":void 0,style:D?{display:"none"}:void 0,className:(0,a.cn)("region-contentTop","adContainer disableHeliosStyles",!g&&"overflow-hidden",_?.type==="standard"&&"pb-6",_?.type==="nativeVideoPlaylist"&&"[&_iframe]:mt-[10px]",g&&_?.stickyHeight,M,p),"aria-label":"Advertisement",children:(0,t.jsxs)(n.CardContent,{className:(0,a.cn)(_?.type==="standard"&&"bg-gray-100 pb-6",g&&_?.stickyClasses),children:[_?.type==="standard"&&f&&(0,t.jsx)("div",{className:"text-xxs w-full px-4 py-1 text-center leading-4 text-gray-400",children:f}),(0,t.jsx)("div",{"data-testid":`${N}-container`,className:(0,a.cn)("flex w-full justify-center",_?.verticalAlign==="top"?"items-start":"items-center",T),children:C?(0,t.jsx)("div",{id:N,"data-testid":N,children:C}):(0,t.jsx)(A,{adId:N})})]})})]})},A=i.default.memo(({adId:e})=>(0,t.jsx)("div",{id:e,"data-testid":e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:""}}),()=>!0);A.displayName="StableAdDiv",e.s(["AdBlock",0,S,"default",0,S],495406)},421956,e=>{"use strict";var t=e.i(902875),i=e.i(37429),l=e.i(240058),r=e.i(155879);let a=({title:e,image:a,subtitle:n,bodyText:s,ctaButton:o})=>{let d=o?.url&&/^https?:\/\//i.test(o.url),c=(0,r.isImageObject)(a)?a:null;return e||c&&c?.url||n||s||o?(0,t.jsxs)("div",{"data-promo-driver":!0,className:"overflow-hidden rounded-lg bg-white",children:[e&&(0,t.jsx)("div",{className:"pb-4",children:(0,t.jsx)("h3",{className:"text-xl font-semibold text-gray-900",children:e})}),(0,t.jsxs)("div",{className:"flex flex-col",children:[c?.url?(0,t.jsx)("div",{className:"relative aspect-[42/13] w-full overflow-hidden bg-white",children:(0,t.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded-lg",children:(0,t.jsx)("a",{href:o&&o.url||"#",className:"block h-full w-full",children:(0,t.jsx)(i.default,{src:c.url,alt:e||"Promo image",fill:!0,objectFit:"cover",sizes:"(max-width: 767px) 100vw, 400px",rounded:!1})})})}):null,(n||s||o)&&(0,t.jsxs)("div",{className:"pt-4",children:[n&&(0,t.jsx)("a",{href:o&&o.url||"#",children:(0,t.jsx)("h4",{className:"mb-2 text-base font-bold",children:n})}),s&&(0,t.jsx)("a",{href:o&&o.url||"#",children:(0,t.jsx)("p",{className:"mb-4 text-base",children:s})}),o&&(0,t.jsx)("div",{className:"flex justify-end",children:d?(0,t.jsx)("a",{href:o.url||"#",target:o.openInNewTab?"_blank":"_self",rel:o.openInNewTab?"noopener noreferrer":"",className:"inline-block max-w-[200px] overflow-hidden rounded-lg bg-black px-4 py-2 text-base font-normal text-ellipsis whitespace-nowrap text-white",children:o.text}):(0,t.jsx)(l.default,{href:o.url||"#",target:o.openInNewTab?"_blank":"_self",className:"inline-block max-w-[200px] overflow-hidden rounded-lg bg-black px-4 py-2 text-base font-normal text-ellipsis whitespace-nowrap text-white",children:o.text})})]})]})]}):null};e.s(["PromoDriverBlock",0,a,"default",0,a])},186624,e=>{"use strict";var t=e.i(981030);let i=(0,t.atom)(void 0),l=(0,t.atom)(void 0),r=(0,t.atom)(void 0);(0,t.atom)(void 0),e.s(["jwPlayerPlaylistIdAtom",0,l,"selectedPlaylistIdAtom",0,i,"selectedVideoAtom",0,r])},265225,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["commentCountAtom",0,t])},190228,e=>{"use strict";var t=e.i(902875),i=e.i(247865),l=e.i(482317),r=e.i(809058),a=e.i(368847),n=e.i(144103);function s({children:e,fallback:t,delayMs:l=0}){let[r,a]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{if(l>0){let e=setTimeout(()=>{a(!0)},l);return()=>clearTimeout(e)}a(!0)},[l]),r)?e:t||null}var o=e.i(146691),d=e.i(632137);let c=({onClick:e=()=>void 0,asChild:i=!1,className:l,type:r})=>{let n={className:(0,d.cn)("flex cursor-pointer items-center text-sm text-gray-500","article"===r&&"px-3 py-2 rounded-lg border border-[#676767] bg-transparent",l),onClick:e,"data-testid":"share-button"},s=(0,t.jsxs)("div",{className:"align-center flex items-center","data-testid":"share-button-content",children:[(0,t.jsx)(o.Share,{size:"sm",className:"m-0 mr-[8px]","data-testid":"share-icon-image"}),(0,t.jsx)(a.default,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"share-button-text",children:"Share"})]});return i?(0,t.jsx)("div",{...n,children:s}):(0,t.jsx)("button",{...n,children:s})};var u=e.i(514514);let h=(0,u.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);var m=e.i(729496);let f=(0,u.default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);var p=e.i(947118),g=e.i(737801),x=e.i(630986),b=e.i(546446),v=e.i(540768),y=e.i(682142),w=e.i(782937),j=e.i(695881),C=e.i(333350),k=e.i(64412),N=e.i(950771),S=e.i(537989),_=e.i(695203),A=e.i(604323),P=e.i(158662),E=e.i(358273),M=e.i(777638),R=e.i(924776),I=e.i(409628),B=e.i(605781);let T=(0,j.createLogger)("useTrackContentShared");var O=e.i(393864),D=e.i(499167),z=e.i(747961);let L=(0,i.forwardRef)(({title:e,titleId:i,desc:l,descId:r,...a},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":r,...a,children:[l?(0,t.jsx)("desc",{id:r,children:l}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Reddit"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M9.627 3.772a1.334 1.334 0 1 0-.008-.576 2.153 2.153 0 0 0-1.92 2.138v.007c-1.173.049-2.243.383-3.093.91a1.868 1.868 0 1 0-1.934 3.17c.061 2.168 2.424 3.913 5.331 3.913s5.273-1.747 5.332-3.917a1.869 1.869 0 1 0-1.939-3.169c-.857-.53-1.94-.864-3.124-.909v-.005c0-.793.59-1.452 1.355-1.56zM4.531 8.914c.031-.677.481-1.197 1.004-1.197s.923.55.892 1.227-.422.923-.946.923c-.523 0-.982-.275-.95-.953m5.941-1.197c.524 0 .974.52 1.004 1.197.032.678-.427.953-.95.953s-.915-.245-.946-.923.368-1.227.892-1.227m-.623 2.765c.099.01.161.112.123.203a2.133 2.133 0 0 1-3.938 0 .148.148 0 0 1 .123-.203 19 19 0 0 1 1.846-.09c.65 0 1.27.032 1.846.09"})]})),W=i.default.forwardRef((e,i)=>(0,t.jsx)(z.BaseIcon,{ref:i,icon:L,...e}));W.displayName="Reddit";let F=(0,i.forwardRef)(({title:e,titleId:i,desc:l,descId:r,...a},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":r,...a,children:[l?(0,t.jsx)("desc",{id:r,children:l}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"LinkedIn"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("g",{clipPath:"url(#a)",children:(0,t.jsx)("path",{fill:"currentColor",d:"M14.816 0H1.18C.528 0 0 .516 0 1.153v13.69A1.17 1.17 0 0 0 1.181 16h13.635c.653 0 1.184-.519 1.184-1.153V1.153C16 .516 15.469 0 14.816 0M4.746 13.634H2.373V5.997h2.375zM3.56 4.956a1.376 1.376 0 1 1-.004-2.751 1.376 1.376 0 0 1 .004 2.751m10.075 8.678h-2.372V9.922c0-.885-.015-2.025-1.234-2.025-1.234 0-1.422.966-1.422 1.962v3.775H6.238V5.997h2.274V7.04h.032c.315-.6 1.09-1.235 2.243-1.235 2.404 0 2.847 1.582 2.847 3.638z"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})),V=i.default.forwardRef((e,i)=>(0,t.jsx)(z.BaseIcon,{ref:i,icon:F,...e}));V.displayName="LinkedIn";let H=(0,i.forwardRef)(({title:e,titleId:i,desc:l,descId:r,...a},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":r,...a,children:[l?(0,t.jsx)("desc",{id:r,children:l}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"BlueSky"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M4.6 3.677C5.976 4.71 7.456 6.805 8 7.93c.543-1.124 2.023-3.219 3.4-4.252.992-.745 2.6-1.322 2.6.513 0 .367-.21 3.08-.333 3.52-.428 1.53-1.99 1.921-3.378 1.685 2.428.413 3.045 1.782 1.711 3.15-2.532 2.599-3.64-.652-3.924-1.485-.052-.153-.076-.224-.077-.164 0-.06-.024.011-.076.164-.284.833-1.392 4.084-3.925 1.485-1.333-1.368-.716-2.737 1.712-3.15C4.32 9.63 2.76 9.24 2.33 7.71c-.123-.44-.333-3.153-.333-3.52 0-1.835 1.609-1.258 2.602-.513"})]})),$=i.default.forwardRef((e,i)=>(0,t.jsx)(z.BaseIcon,{ref:i,icon:H,...e}));$.displayName="BlueSky";let X=(0,i.forwardRef)(({title:e,titleId:i,desc:l,descId:r,...a},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":r,...a,children:[l?(0,t.jsx)("desc",{id:r,children:l}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"WhatsApp"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"m0 16 1.125-4.109A7.9 7.9 0 0 1 .067 7.927C.069 3.557 3.625 0 7.995 0c2.121 0 4.112.827 5.609 2.325a7.88 7.88 0 0 1 2.32 5.61c-.002 4.371-3.559 7.928-7.929 7.928a7.93 7.93 0 0 1-3.792-.966zm4.398-2.538c1.117.663 2.184 1.06 3.595 1.061a6.6 6.6 0 0 0 6.592-6.59A6.59 6.59 0 0 0 7.998 1.34a6.6 6.6 0 0 0-6.593 6.589c0 1.483.434 2.594 1.164 3.756l-.666 2.432zm7.591-3.643c-.049-.082-.181-.132-.38-.231-.198-.1-1.172-.579-1.354-.645-.181-.066-.313-.099-.446.1-.132.198-.512.644-.627.776s-.231.149-.43.05c-.197-.1-.836-.308-1.593-.984a6 6 0 0 1-1.102-1.372c-.115-.198-.012-.306.087-.404.09-.089.198-.232.297-.348.101-.114.134-.197.2-.33.066-.132.034-.248-.016-.347s-.446-1.074-.611-1.47c-.161-.387-.325-.335-.446-.34l-.38-.007a.73.73 0 0 0-.528.248c-.181.198-.693.677-.693 1.652 0 .976.71 1.918.808 2.05.1.132 1.397 2.133 3.384 2.991.473.204.842.326 1.13.417.474.151.906.13 1.248.079.38-.057 1.172-.48 1.337-.942.165-.463.165-.86.115-.943"})]})),U=i.default.forwardRef((e,i)=>(0,t.jsx)(z.BaseIcon,{ref:i,icon:X,...e}));U.displayName="WhatsApp";var G=e.i(37429);let q=({setIsOpen:e,setCopied:l,copied:r,title:n,imageUrl:s,subText:o})=>{let c,u,j,z,L,F=(c="content-shared",u=(0,p.useIsInitialized)(),j=(0,g.useEventAttributes)(),z=(0,x.useCMSAttributes)(),L=(0,i.useCallback)(({sharedMethod:e})=>{let t={createdDate:z?.createdDate,contentId:z?.contentId,publishDate:z?.publishDate,author:z?.author||"",collection:z?.collection,entitlements:z?.entitlements,sharedMethod:e,...j};if(!u)return void console.warn("MParticle is not initialized");try{window.mParticle?.logEvent?.(c,window.mParticle?.EventType?.Other,t),console.debug(`MParticle: Event "${c}" tracked`,t)}catch(e){console.error(`MParticle: Event "${c}" failed`,e)}return L},[z?.author,z?.contentId,z?.collection,z?.createdDate,z?.entitlements,z?.publishDate,j,u])),H=(()=>{let e=(0,b.useAtomValue)(S.pageIdAtom),t=(0,b.useAtomValue)(N.pageLocaleAtom),l=(0,b.useAtomValue)(_.deviceClassAtom),r=(0,b.useAtomValue)(A.metricsArticleDataAtom),a=(0,b.useAtomValue)(P.experimentJoinListAtom),{location:n}=(0,k.useLocation)(),s=(0,R.useIsHightouchReady)(),o=(0,i.useCallback)(()=>{let i=(0,y.getCICookie)(),s=i?.["TWC-GeoIP-Country"]??(0,v.getCookie)("twc-location-country"),o=i?.["TWC-GeoIP-Region"]??(0,v.getCookie)("twc-location-region"),d=i?.["TWC-Privacy"]??(0,v.getCookie)("twc-privacy"),c=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",h=window.navigator?.globalPrivacyControl??!1,m=c?.includes("functional-technology")??!1,f=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,p=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,g=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),x=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),b=navigator?.cookieEnabled??!1,j=(0,v.getCookie)("partner")||"",C=(0,w.getPartnerByPattern)(j)??j,k=(0,E.getMetricsSession)(),N=k?.sessionId||"",S=new Date(k?.sessionStartTime||0).toISOString(),_=new Date,A=_.getHours(),P=I.WEEK_DAYS[_.getDay()]??"";return{pageId:e??"",schemaVersion:"nextgen",author:r?.author||"",contentId:r?.contentId??null,createdDate:r?.createdDate??null,publishDate:r?.publishDate??null,collection:r?.collection??null,entitlements:r?.entitlements??null,nodeTypes:r?.nodeType??null,pageTemplate:r?.pageTemplate??null,premiumContent:r?.premiumContent!=null?String(r.premiumContent):null,provider:r?.provider??null,tagsGeo:r?.tagsGeo??null,tagsKeyword:r?.tagsKeyword??null,tagsStorm:r?.tagsStorm??null,title:r?.title??null,referrer:document.referrer,locale:t,deviceClass:l,partner:C,sessionId:N,sessionStartTime:S,siteMode:"normal",dayOfWeek:P,hourOfDay:A,regime:d??"",cookiesEnabled:b,gpcSignalOptOut:h,functionalTechnologies:m,geographicallyRelevantAds:f,interestBasedAds:p,priv:c,privProducts:u,saleOfData:g,saleOfDataAuthorization:g,sensitiveDataAuthorization:x,campaign:(0,M.getCampaign)(),linkReferral:(0,M.getLinkReferral)()??void 0,experimentJoinList:a,weatherMode:"normal",physicalCountry:s??"",physicalState:o??"",wlocCity:n?.city??null,wlocCountry:n?.countryCode??null,wlocState:n?.adminDistrictCode??null,wlocDMA:n?.dmaCd??null,samsungVersion:(0,M.getSamsungVersion)(),appVersion:"b1f2a8b9d69b0e3e05fe6d294ee6a35cce1a3921".slice(0,10)}},[e,t,l,r,a,n]);return(0,i.useCallback)(()=>{if(C.default){if(!s)return void T.warn('Hightouch: Event "content-shared" skipped - SDK not ready');try{(0,B.trackContentShared)(o()),T.info('Hightouch: Event "content-shared" tracked')}catch(e){T.error('Hightouch: Event "content-shared" failed',{error:e})}}},[s,o])})(),X=e=>{F({sharedMethod:e}),H()},q=t=>{let i=encodeURIComponent(window.location.href),l=encodeURIComponent(n),r="";switch(t){case"twitter":r=`https://twitter.com/intent/tweet?url=${i}&text=${l}`;break;case"facebook":r=`https://www.facebook.com/sharer.php?u=${i}`;break;case"linkedin":r=`https://www.linkedin.com/sharing/share-offsite/?url=${i}`;break;case"reddit":r=`https://www.reddit.com/submit?url=${i}&title=${l}`;break;case"bluesky":r=`https://bsky.app/intent/compose?text=${l}%20${i}`;break;case"whatsapp":r=`https://wa.me/?text=${l}%20${i}`}r&&(window.open(r,"_blank"),X(t),e(!1))},K=[{key:"facebook",name:"Facebook",icon:O.Facebook,action:()=>q("facebook")},{key:"twitter",name:"X",icon:D.Twitter,action:()=>q("twitter")},{key:"reddit",name:"Reddit",icon:W,action:()=>q("reddit")},{key:"linkedin",name:"LinkedIn",icon:V,action:()=>q("linkedin")},{key:"bluesky",name:"Bluesky",icon:$,action:()=>q("bluesky")},{key:"whatsapp",name:"WhatsApp",icon:U,action:()=>q("whatsapp")},{key:"email",name:"Email",icon:h,action:()=>{let t=`mailto:?subject=${encodeURIComponent(n)}&body=${encodeURIComponent(window.location.href)}`;document.body.setAttribute("data-mailto-url",t),window.location.href=t,X("email"),e(!1)}},{key:"copy",name:r?"Copied":"Copy link",icon:r?m.Check:f,action:()=>{"u">typeof navigator&&navigator.clipboard.writeText(window.location.href).then(()=>{l(!0),X("linkCopy"),setTimeout(()=>e(!1),3e3),setTimeout(()=>l(!1),3400)})}}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[s&&(0,t.jsx)(G.default,{src:s,alt:"",className:"h-18 w-auto rounded-lg md:h-16.75"}),(0,t.jsx)("p",{className:(0,d.cn)("line-clamp-3 overflow-hidden text-ellipsis","h-18 text-xl leading-6 font-semibold","md:h-16.75 md:text-base md:leading-[140%] md:font-bold"),children:n})]}),o&&(0,t.jsx)(a.default,{variant:"Body.S",className:"m-0 mt-2 leading-[115%] text-gray-600",children:o}),(0,t.jsx)("hr",{className:"my-4 border-[#e9e9e9]"}),(0,t.jsx)("div",{className:"space-y-4","data-testid":"share-options-container",children:K.map(e=>(0,t.jsxs)("button",{onClick:e.action,className:"flex h-6 w-full cursor-pointer items-center rounded-md hover:bg-gray-50","data-testid":`share-${e.key}-button`,children:[(0,t.jsx)("div",{className:"mr-[8px] flex h-6 w-6 items-center justify-center","data-testid":`share-${e.key}-icon`,children:(0,t.jsx)(e.icon,{className:"w-6"})}),(0,t.jsx)(a.default,{variant:"Body.M","data-testid":`share-${e.key}-text`,children:e.name})]},e.key))})]})};var K=e.i(498076);e.s(["Share",0,({type:e="link",title:o,imageUrl:d,authors:u})=>{let[h,m]=(0,i.useState)(!1),[f,p]=(0,i.useState)(!1),g=(0,K.useIsMobile)(),x=(u??[]).map(e=>"string"==typeof e?"":`${e.firstName||""} ${e.lastName||""}`.trim()).filter(Boolean).reduce((e,t,i,l)=>{let r=i===l.length-1,a=i===l.length-2;return e+t+(r?"":a?" and ":", ")},""),b=()=>(0,t.jsx)(q,{setCopied:m,setIsOpen:p,copied:h,title:o,imageUrl:d,subText:x?"By "+x:void 0});return(0,t.jsx)(s,{fallback:(0,t.jsx)("div",{className:"flex items-center justify-between","data-testid":"share-container","aria-hidden":"true",children:(0,t.jsx)(c,{type:e})}),children:(0,t.jsx)("div",{className:"flex items-center justify-between","data-testid":"share-container",children:g?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c,{onClick:()=>p(!0),type:e}),(0,t.jsx)(n.MobileDrawer,{title:`Share this ${e}`,isOpen:!!g&&f,setIsOpen:p,"data-testid":"share-mobile-drawer",children:b()})]}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(r.Popover,{open:!g&&f,onOpenChange:p,"data-testid":"share-popover",children:[(0,t.jsx)(r.PopoverTrigger,{children:(0,t.jsx)(c,{asChild:!0,type:e})}),(0,t.jsxs)(r.PopoverContent,{arrowPadding:2,align:"end",alignOffset:-2,className:"relative z-50 w-[312px] rounded-2xl border-0 bg-white p-[16px] drop-shadow-lg/25","data-testid":"share-popover-content",children:[(0,t.jsx)(r.PopoverArrow,{width:21,height:14,className:"fill-white"}),(0,t.jsxs)("div",{className:"mb-[8px] flex items-center justify-between",children:[(0,t.jsxs)(a.default,{variant:"Body.L",className:"font-bold","data-testid":"share-title",children:["Share this ",e]}),(0,t.jsx)("button",{onClick:()=>p(!1),className:"cursor-pointer text-black hover:text-gray-700","data-testid":"share-close-button",children:(0,t.jsx)(l.X,{className:"h-6 w-6"})})]}),b()]})]})})})})}],190228)},143911,e=>{"use strict";var t=e.i(902875),i=e.i(546446),l=e.i(247865),r=e.i(368847),a=e.i(747961);let n=(0,l.forwardRef)(({title:e,titleId:i,desc:l,descId:r,...a},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":i,"aria-describedby":r,...a,children:[l?(0,t.jsx)("desc",{id:r,children:l}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Description"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M8.87 15 8 14.5l2-3.5h3a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h4.5v1H3a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2.42z"}),(0,t.jsx)("path",{d:"M12 5H4v1h8zM9 8H4v1h5z"})]})]})),s=l.default.forwardRef((e,i)=>(0,t.jsx)(a.BaseIcon,{ref:i,icon:n,...e}));s.displayName="Description";var o=e.i(632137),d=e.i(265225);e.s(["ViewCommentsButton",0,({articleId:e,onClick:a,className:n,isMobile:c=!1})=>{let u=(0,i.useAtomValue)(d.commentCountAtom),[h,m]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(null!==u)m(!0);else{let e=setTimeout(()=>{m(!0)},3e3);return()=>clearTimeout(e)}},[u]),(0,l.useEffect)(()=>{null===u&&m(!1)},[u]);let f=!c&&0!==u;return h?(0,t.jsx)("button",{className:(0,o.cn)("flex cursor-pointer items-center px-3 py-2 text-sm text-gray-500","rounded-lg border border-[#676767] bg-transparent",null===u?"hidden":"flex",n),onClick:()=>{let e=document.getElementById("openweb-comments");if(!e){let t=document.querySelectorAll('[id^="openweb-video-comments-"]');t.length>0&&(e=t[0])}if(!e){let t=document.querySelectorAll('[id*="openweb"]');t.length>0&&(e=t[0])}e&&e.scrollIntoView({behavior:"smooth",block:"start"}),a?.()},"data-testid":"view-comments-button",children:(0,t.jsxs)("div",{className:"flex items-center gap-1","data-testid":"view-comments-button-content",children:[(0,t.jsx)(s,{size:"sm",className:"m-0","data-testid":"comments-icon"}),f&&(0,t.jsx)(r.default,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"view-text",children:null!==u&&u>=3?"View all":"View"}),0!==u&&(0,t.jsx)(r.default,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"comments-count",children:u}),(0,t.jsx)(r.default,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"comments-text",children:0===u?"Start the conversation":1===u?"comment":"comments"})]})}):null}],143911)},176540,e=>{"use strict";e.s(["default",0,function(e){return!!e?.category&&"atmosphere"===function(e){if(!e?.value)return;let{value:t}=e;if("string"==typeof t)return t.split("/")[0];let i=t.pathSegments?.[0]?.segment;return"string"==typeof i&&i.length>0?i:"string"==typeof t.id&&t.id.length>0?t.id.split("/")[0]:void 0}(e.category)}],176540)},550385,e=>{"use strict";var t=e.i(902875),i=e.i(581014),l=e.i(877957),r=e.i(240058),a=e.i(632137),n=e.i(683199);function s({variant:e="inline",className:o}){let d=(0,i.useTranslations)("PremiumGating"),c="cover"===e,u=(0,n.usePremiumSource)();return(0,t.jsxs)("div",{role:"region","aria-label":d("title"),"data-testid":"limited-access-overlay",className:(0,a.cn)("flex flex-col items-center gap-4 text-center",c?"absolute inset-0 z-10 justify-center bg-black/70 px-4 text-white backdrop-blur-sm":"relative -mt-24 bg-gradient-to-t from-white via-white to-transparent px-4 pt-24 pb-8",o),children:[(0,t.jsx)("p",{className:(0,a.cn)("text-xl font-bold",c?"text-white":"text-gray-900"),children:d("title")}),(0,t.jsx)("p",{className:(0,a.cn)("max-w-md text-sm",c?"text-gray-100":"text-gray-600"),children:d("description")}),(0,t.jsx)(l.Button,{asChild:!0,className:"h-10 px-5 font-bold",children:(0,t.jsx)(r.default,{href:"/subscribe?tpcc=mktg-premium-content-gate",onClick:()=>u({sourceModule:"content-gate",sourceElement:"subscribe"}),children:d("cta")})})]})}e.s(["LimitedAccessOverlay",0,s,"default",0,s])},155879,e=>{"use strict";e.s(["isImageObject",0,function(e){return"object"==typeof e&&null!==e&&"url"in e&&("mimeType"in e||"seo"in e&&null!==e.seo&&"object"==typeof e.seo&&"altText"in e.seo)}])},864943,77859,e=>{"use strict";var t=e.i(902875),i=e.i(37429),l=e.i(877957),r=e.i(956667),a=e.i(445359),n=e.i(957174),s=e.i(240058),o=e.i(632137),d=e.i(625711),c=e.i(368847);let u=e=>{let t=e.split(":");""===t[0]&&(t[0]="0");let i=parseInt(t[0]||"0",10).toString();if("0"===i&&3===t.length){let e=parseInt(t[1]||"0",10).toString();return`${e}:${t[2]}`}return[i,...t.slice(1)].join(":")};e.s(["truncateDuration",0,u],77859);var h=e.i(294237);let m=(0,h.cva)("group no-underline rounded flex gap-4 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600",{variants:{layout:{row:"flex-row items-center",column:"flex-col",overlay:"relative"},hoverEffect:{none:"",shadow:"",default:"hover:bg-gray-100 focus-visible:bg-gray-100",featured:"p-3 rounded hover:bg-gray-100 focus-visible:bg-gray-100",scaled:""},padding:{none:"",default:"p-3"}},defaultVariants:{layout:"column",hoverEffect:"scaled",padding:"none"}}),f=(0,h.cva)("rounded-2xl",{variants:{hoverEffect:{none:"",shadow:"transition-shadow duration-150 group-hover:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)] group-focus-visible:shadow-[0_4px_16px_0_rgba(9,86,124,0.4)]",default:"",featured:"transition-shadow duration-150 group-hover:shadow-lg group-focus-visible:shadow-lg",scaled:"transition-shadow duration-150 group-hover:shadow-lg group-focus-visible:shadow-lg"}},defaultVariants:{hoverEffect:"scaled"}}),p=(0,h.cva)("",{variants:{hoverEffect:{none:"",shadow:"",default:"",featured:"transition-transform duration-150 group-hover:scale-105 group-focus-visible:scale-105",scaled:"transition-transform duration-150 group-hover:scale-105 group-focus-visible:scale-105"}},defaultVariants:{hoverEffect:"scaled"}}),g={sm:"Title.XS",md:"Title.S",lg:"Title.M",xl:"Title.L"},x={sm:"Body.S",md:"Body.M",lg:"Body.L",xl:"Body.L"},b={sm:"Body.S",md:"Body.S",lg:"Body.M",xl:"Body.M"},v=(0,h.cva)("pb-0.5",{variants:{textSize:{sm:"mb-0.5",md:"mb-1",lg:"mb-1.5",xl:"mb-1.5"}},defaultVariants:{textSize:"md"}}),y=(0,h.cva)("absolute inset-0",{variants:{overlayGradient:{none:"",fullBleed:"bg-gradient-to-r from-black/100 via-black/61 via-33% to-transparent",heroOverlay:"bg-gradient-to-r from-black/76 via-black/61 via-33% to-transparent",bottom:"bg-[linear-gradient(to_bottom,rgba(17,30,55,0)_0%,rgba(17,30,55,0)_50%,rgba(17,30,55,0.4)_100%)]",horizontal:"bg-[linear-gradient(to_right,rgba(17,30,55,0.76)_0%,rgba(17,30,55,0.61)_33%,rgba(17,30,55,0)_100%)]",full:"bg-black/40"}},defaultVariants:{overlayGradient:"none"}});var w=e.i(308860);let j=({src:e,alt:l="",aspectRatio:r="square",overlayGradient:a,partnerLogo:n,className:s,overlayClassName:d,layout:c,hoverEffect:u,isFetchPriority:h,priority:m,loading:g,isLive:x,isAnimated:b,sizes:v="auto, (max-width: 768px) 640px, 1280px",dataAttrProps:j})=>(0,t.jsxs)("div",{className:(0,o.cn)("relative overflow-hidden",f({hoverEffect:u}),"overlay"===c&&"w-full","row"===c&&"w-[50%] max-w-[320px] min-w-30",s),children:[(0,t.jsx)(i.default,{src:e,alt:l,aspectRatio:r,className:(0,o.cn)("scale-[1.01]",p({hoverEffect:u})),sizes:v,isFetchPriority:h,priority:m,loading:g??(m?void 0:"lazy"),isAnimated:b,...j}),(n||a)&&(0,t.jsx)("div",{className:(0,o.cn)(y({overlayGradient:n?"bottom":a}),d)}),x&&(0,t.jsx)("div",{className:"absolute top-3 left-3 z-10 flex h-6 w-[41px] cursor-pointer items-center justify-center rounded bg-[#cb4a14] text-xs font-bold text-white no-underline shadow-md",children:"Live"}),n&&(0,t.jsx)(w.PartnerLogoImage,{partnerLogo:n})]});j.displayName="MediaObject.Image";let C=({tone:e,className:i})=>(0,t.jsx)("span",{className:(0,o.cn)("inline-flex w-fit items-center px-2 py-1 text-xs font-bold tracking-wide text-white uppercase",d.EYEBROWS[e].className,i),children:d.EYEBROWS[e].label});C.displayName="MediaObject.EventTag";let k=({children:e,className:i})=>(0,t.jsx)("div",{className:(0,o.cn)("flex w-full flex-col",i),children:e});k.displayName="MediaObject.Content";let N=({title:e,className:i,responsive:l,textSize:r="md",inverse:a=!1,lineClamp:n,dataAttrProps:s,titleHeadingLevel:d="h3"})=>(0,t.jsx)(c.Text,{elementType:d,variant:g[r],color:a?"inverse":void 0,responsive:l,className:(0,o.cn)(v({textSize:r}),i),lineClamp:n,...s,children:e});N.displayName="MediaObject.Title";let S=({description:e,className:i,responsive:l,textSize:r="md",inverse:a=!1,lineClamp:n,dataAttrProps:s})=>(0,t.jsx)(c.Text,{elementType:"p",variant:x[r],color:a?"inverse":"secondary",responsive:l,className:(0,o.cn)("mb-2",i),lineClamp:n,...s,children:e});S.displayName="MediaObject.Description";let _={sm:"md",md:"md",lg:"lg",xl:"lg"},A=({duration:e,meta:i,className:l,responsive:a,textSize:s="md",iconSize:d,inverse:h=!1})=>{let m=i?.label||(e?u(e):"");if(!m)return null;let f=i?.kind==="read"?n.Book:r.VideoPlayer;return(0,t.jsxs)("div",{className:(0,o.cn)("flex items-center gap-1 whitespace-nowrap",l),children:[(0,t.jsx)(f,{"aria-hidden":"true",size:d||_[s],className:(0,o.cn)("shrink-0",h&&"text-white")}),(0,t.jsx)(c.Text,{variant:b[s],color:h?"inverse":void 0,responsive:a,children:m})]})};A.displayName="MediaObject.Duration";let P=({text:e,variant:i,duration:r,className:n,inverse:s=!1,size:d="sm"})=>(0,t.jsxs)("div",{className:(0,o.cn)("@container/button flex items-center gap-3",n),children:[(0,t.jsx)(l.Button,{asChild:!0,variant:i,size:d,className:"h-12 p-4",children:(0,t.jsxs)(c.Text,{elementType:"span",variant:"Body.M.Bold",children:[r&&(0,t.jsx)(a.PlayFilledAlt,{className:"mr-2",size:"sm",color:s?void 0:"inverse"}),e]})}),r&&(0,t.jsx)(c.Text,{className:"ml-2 hidden @[180px]/button:inline",elementType:"span",variant:"Body.M",color:s?"inverse":void 0,children:u(r)})]});P.displayName="MediaObject.Button";let E=({children:e,url:i,target:l,onClick:r,className:a,imageClassName:n,titleClassName:d,titleHeadingLevel:c,thumbnail:u,altText:h,aspectRatio:f="square",partnerLogo:p,overlayGradient:g,title:x,description:b,duration:v,meta:y,button:w,responsive:C,isFetchPriority:_,priority:E,loading:M,lineClamp:R,titleLineClamp:I,descriptionLineClamp:B,isLive:T,sizes:O,isAnimated:D,linkDataProps:z,imageDataProps:L,titleDataProps:W,descriptionDataProps:F,sourceModule:V,sourceElement:H,textSize:$,layout:X="column",hoverEffect:U,padding:G})=>{let q,K=(0,o.cn)(m({layout:X,hoverEffect:U,padding:G}),a);if(e)q=e;else{let e=!!(x||b||v||y||w),i="overlay"===X;q=(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(j,{src:u,className:n,alt:h,aspectRatio:f,overlayGradient:i?"full":g,partnerLogo:p,layout:X,hoverEffect:U,isFetchPriority:_,priority:E,loading:M,isLive:T,sizes:O,isAnimated:D,dataAttrProps:L}),e&&(0,t.jsxs)(k,{className:(0,o.cn)(i&&"min-w[300px] absolute bottom-[6%] left-[4%] w-[50%]"),children:[x&&(0,t.jsx)(N,{title:x,textSize:$,responsive:C,inverse:i,className:d,lineClamp:I??R,dataAttrProps:W,titleHeadingLevel:c}),b&&(0,t.jsx)(S,{description:b,textSize:$,responsive:C,inverse:i,lineClamp:B??R,dataAttrProps:F}),w?(0,t.jsx)(P,{text:w.text,duration:v,inverse:i,variant:w.variant||(i?"secondary":void 0)}):(0,t.jsx)(A,{duration:v,meta:y,textSize:$,responsive:C,inverse:i})]})]})}return i?(0,t.jsx)(s.default,{className:K,href:i,target:l,sourceModule:V,sourceElement:H,...z,children:q}):(0,t.jsx)("button",{className:(0,o.cn)("cursor-pointer text-left",K),onClick:r,children:q})};E.displayName="MediaObject";let M=Object.assign(E,{Image:j,Content:k,Title:N,Description:S,Duration:A,Button:P,EventTag:C});e.s(["MediaObject",0,M],864943)},308860,e=>{"use strict";var t=e.i(902875),i=e.i(247865),l=e.i(632137);let r=({partnerLogo:e})=>{let[r,a]=(0,i.useState)(!1);return r?null:(0,t.jsx)("img",{src:e.src,alt:e.altText,width:160,height:20,className:(0,l.cn)("absolute bottom-3 left-3 h-auto max-h-5 w-40 max-w-[70%] rounded-none object-contain object-left",e.forceWhite&&"brightness-0 invert"),onError:()=>a(!0)})};r.displayName="MediaObject.PartnerLogoImage",e.s(["PartnerLogoImage",0,r])},144103,e=>{"use strict";var t=e.i(902875),i=e.i(62544),l=e.i(632137),r=e.i(368847),a=e.i(482317);e.s(["MobileDrawer",0,({isOpen:e,setIsOpen:n,children:s,title:o})=>(0,t.jsx)(i.Dialog,{open:e,children:(0,t.jsxs)(i.DialogPortal,{children:[(0,t.jsx)(i.DialogOverlay,{className:"bg-black/50"}),(0,t.jsxs)(i.DialogContent,{className:(0,l.cn)("p-0 [&>button]:hidden","fixed inset-x-0 top-auto bottom-0 flex h-auto flex-col bg-white","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:slide-out-to-bottom-[10%] data-[state=open]:slide-in-from-bottom-[10%]","left-0 w-full max-w-none translate-x-0 translate-y-0 shadow-lg duration-300 sm:max-w-none","border-x-0 border-b-0","rounded-t-3xl rounded-b-none"),children:[(0,t.jsx)(i.DialogTitle,{className:"pt-4",children:(0,t.jsxs)("div",{className:"relative flex items-center justify-center pb-2",children:[(0,t.jsx)(r.default,{variant:"Body.M",className:"font-bold",children:o}),(0,t.jsx)("button",{onClick:()=>n(!1),className:"absolute top-0 right-5 cursor-pointer text-black hover:text-gray-700",children:(0,t.jsx)(a.X,{className:"h-6 w-6"})}),(0,t.jsx)("div",{className:"absolute right-0 bottom-0 left-0 h-[1px] bg-[#e9e9e9]"})]})}),(0,t.jsx)("div",{className:"max-h-[70vh] overflow-y-auto p-4 pt-0",children:s})]})]})})])},235577,e=>{"use strict";var t=e.i(902875),i=e.i(523084),l=e.i(47524),r=e.i(632137),a=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:n,hidden:s,size:o="default",variant:d="light",className:c}){let u="sm"===o,h=(0,r.cn)("text-current",u?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(a.Button,{type:"button",onClick:n,"aria-hidden":"true",tabIndex:-1,className:(0,r.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===d?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===d?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===d?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",u?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",s&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",s&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",s&&"pointer-events-none opacity-0",c),children:"left"===e?(0,t.jsx)(i.ChevronLeft,{className:h}):(0,t.jsx)(l.ChevronRight,{className:h})})}])},457492,e=>{"use strict";var t=e.i(902875),i=e.i(247865),l=e.i(632137),r=e.i(546446),a=e.i(663333),n=e.i(235577),s=e.i(315730),o=e.i(240058);let d=(0,l.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),c=e=>{let{activeIndex:i,index:r,link:a}=e,n=i===r,s=(0,l.cn)(d,{"bg-gray-100 text-blue-500":n});if(e.onSelect){let{onSelect:i}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>i(r,a),className:(0,l.cn)("cursor-pointer",s),"aria-current":n?"page":void 0,children:a.label})}let{basePath:c,mpa:u}=e,h=a.href??("/"===a.slug?c||"/":`${c}/${a.slug}`);return(0,t.jsx)(o.default,{href:h,mpa:u,className:s,"aria-current":n?"page":void 0,sourceModule:"subnavigation",children:a.label})},u=(0,i.memo)(e=>{let{links:i,activeIndex:o,className:d,constrained:u=!0}=e,h=(0,r.useAtomValue)(a.deviceClassAtom),{ref:m,showLeft:f,showRight:p,scrollLeft:g,scrollRight:x}=(0,s.useHorizontalScroll)({enabled:"mobile"!==h&&"tablet"!==h,scrollAmount:200,contentKey:i});return(0,t.jsxs)("div",{className:(0,l.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",u&&"md:mr-auto md:max-w-[min(958px,100%)]",d),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,l.cn)("pointer-events-none absolute top-0 -left-25 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":f}),"aria-hidden":"true"}),(0,t.jsx)(n.ScrollButton,{hidden:!f,onClick:g,direction:"left"}),(0,t.jsx)("div",{ref:m,className:(0,l.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:i.map((i,l)=>e.onSelect?(0,t.jsx)(c,{link:i,index:l,activeIndex:o,onSelect:e.onSelect},`${i.label}_${i.slug}`):(0,t.jsx)(c,{link:i,index:l,activeIndex:o,basePath:e.basePath,mpa:e.mpa},`${i.label}_${i.slug}`))}),(0,t.jsx)("div",{className:(0,l.cn)("pointer-events-none absolute top-0 -right-25 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":p}),"aria-hidden":"true"}),(0,t.jsx)(n.ScrollButton,{hidden:!p,onClick:x,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,i)=>e.label===t.links[i]?.label&&e.slug===t.links[i]?.slug&&e.href===t.links[i]?.href));u.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,u],457492)},315730,e=>{"use strict";var t=e.i(147732),i=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:l=200,contentKey:r}={}){let a=(0,i.useRef)(null),n=(0,i.useRef)(null),s=(0,i.useRef)(!1),[o,d]=(0,i.useState)(!1),[c,u]=(0,i.useState)(!1),h=(0,i.useCallback)(()=>{let t=a.current;if(!t||!e){d(!1),u(!1);return}let{scrollLeft:i,scrollWidth:l,clientWidth:r}=t,n=Math.abs(i),o=n>2,c=n+r(0,t.debounce)(h,150),[h]),f=(0,i.useCallback)(()=>{null===n.current&&(n.current=requestAnimationFrame(()=>{h(),n.current=null}))},[h]);(0,i.useEffect)(()=>{let t=a.current;return t&&(s.current="rtl"===getComputedStyle(t).direction),h(),e&&(t?.addEventListener("scroll",f),window.addEventListener("resize",m)),()=>{null!==n.current&&cancelAnimationFrame(n.current),n.current=null,t?.removeEventListener("scroll",f),m.cancel(),window.removeEventListener("resize",m)}},[e,h,f,m,r]);let p=(0,i.useCallback)(()=>a.current?.scrollBy({left:-l,behavior:"smooth"}),[l]),g=(0,i.useCallback)(()=>a.current?.scrollBy({left:l,behavior:"smooth"}),[l]);return{ref:a,showLeft:o,showRight:c,scrollLeft:p,scrollRight:g}}])},625711,349882,e=>{"use strict";let t={breaking:{kind:"tag",label:"Breaking",className:"rounded bg-[var(--color-alert-severe)]"},severe:{kind:"tag",label:"Severe",className:"rounded bg-[var(--color-alert-severe)]"},live:{kind:"tag",label:"Live",className:"rounded bg-[#cb4a14]"},"editors-pick":{kind:"tag",label:"Editors' Pick",className:"rounded-full bg-brand-light"},local:{kind:"tag",label:"Local",className:"rounded bg-gray-100 text-gray-900"},featured:{kind:"label",label:"Featured"},"special-feature":{kind:"label",label:"Special Feature"}},i=Object.keys(t),l=e=>"tag"===t[e].kind,r=i.filter(l);e.s(["EVENT_BADGE_TONES",0,r,"EYEBROWS",0,t,"EYEBROW_NAMES",0,i,"isEventBadgeTone",0,l],625711),e.s(["calculateReadTime",0,function(e){return"number"!=typeof e||ee(t)).join(" ");if("object"==typeof t&&null!==t){if(t.body&&"object"==typeof t.body&&null!==t.body){let i=t.body;if(i.root)return e(i.root)}if("text"===t.type&&t.text||t.text)return String(t.text);if(t.children&&Array.isArray(t.children))return t.children.map(t=>e(t)).join(" ");if(t.content&&Array.isArray(t.content))return t.content.map(t=>e(t)).join(" ");let i=[];for(let[l,r]of Object.entries(t))if("string"==typeof r)i.push(r);else if(Array.isArray(r)){let t=e(r);t&&i.push(t)}else if("object"==typeof r&&null!==r){let t=e(r);t&&i.push(t)}return i.join(" ")}return""},"parseDurationToSeconds",0,function(e){if(!e||"string"!=typeof e)return 0;let t=e.split(":").map(Number);return t.some(isNaN)?0:3===t.length?3600*(t[0]||0)+60*(t[1]||0)+(t[2]||0):2===t.length?60*(t[0]||0)+(t[1]||0):1===t.length&&t[0]||0}],349882)}]);