(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[406404,e=>{var t=e.i(843476),a=e.i(271645),i=e.i(343794),r=e.i(939761);let n=e=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",...e,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.18185 1.18185C4.35759 1.00611 4.64251 1.00611 4.81825 1.18185L9.31825 5.68185C9.49398 5.85759 9.49398 6.14251 9.31825 6.31825L4.81825 10.8182C4.64251 10.994 4.35759 10.994 4.18185 10.8182C4.00611 10.6425 4.00611 10.3576 4.18185 10.1819L8.36365 6.00005L4.18185 1.81825C4.00611 1.64251 4.00611 1.35759 4.18185 1.18185Z",fill:"#B3B3B3"})});var l=e.i(984243);e.s(["f",0,({breadcrumbs:e,className:s})=>e&&0!==e.length?(0,t.jsx)("nav",{className:(0,i.default)(l.default.breadcrumb,s),"aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{children:e.map((e,i)=>(0,t.jsxs)(a.Fragment,{children:[i>0&&(0,t.jsx)(n,{}),(0,t.jsx)("li",{children:e.href?(0,t.jsx)(r.NewsweekLink,{href:e.href,className:l.default.link,forceNotTransformUrl:e.forceNotTransformUrl,children:e.label}):(0,t.jsx)("span",{className:l.default.current,children:e.label})})]},e.id||`${e.label}-${i}`))})}):null],406404)},202467,763183,e=>{var t=e.i(843476),a=e.i(271645),i=e.i(343794),r=e.i(698532),n=e.i(950115),l=e.i(551290);let s=e=>(0,t.jsx)("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M5 1L1 5L5 9",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})});e.s(["f",0,s],763183);var o=e.i(32592);e.s(["f",0,({className:e,itemsProps:d,sliderSettings:u={},variant:c="default",showDesktopNav:f=!1,externalSliderRef:m,onCurrentSlideChange:h})=>{let[p,g]=(0,a.useState)(0),b=(0,a.useRef)(null),v=m??b,C=0===p,y=p>=d?.length-2,_={dots:!0,infinite:!1,speed:500,slidesToShow:2.3,slidesToScroll:1,arrows:!1,responsive:[{breakpoint:1279,settings:{slidesToShow:2.3,slidesToScroll:1}},{breakpoint:639,settings:{slidesToShow:1.3,slidesToScroll:1}}],customPaging:e=>{let a=Math.round(p);return(0,t.jsx)("div",{className:`${l.default.dot} ${e===a?l.default.active:""}`})},beforeChange:(e,t)=>{let a=Math.round(t);g(a),h?.(a)},afterChange:e=>{let t=Math.round(e);g(t),h?.(t)},onInit:()=>{g(0),h?.(0)},...u};return d&&d?.length!==0?d?.length===1?(0,t.jsx)("div",{className:`${l.default.carouselContainer} ${e||""}`,children:(0,t.jsx)(n.default,{...d[0]})}):(0,t.jsxs)("div",{className:(0,i.default)(l.default.carouselContainer,e,{[l.default.sports]:"sports"===c}),children:[f&&(0,t.jsxs)("div",{className:l.default.desktopNav,children:[(0,t.jsx)("button",{className:(0,i.default)(l.default.navButton,{[l.default.disabled]:C}),onClick:()=>v.current?.slickPrev(),disabled:C,"aria-label":"Previous",children:(0,t.jsx)(s,{height:12,width:12})}),(0,t.jsx)("button",{className:(0,i.default)(l.default.navButton,{[l.default.disabled]:y}),onClick:()=>v.current?.slickNext(),disabled:y,"aria-label":"Next",children:(0,t.jsx)(o.f,{height:12,width:12})})]}),(0,t.jsx)(r.default,{ref:v,..._,className:l.default.slider,children:d?.map(e=>{let{onClick:a,onClickCapture:i,isActive:r,...s}=e;return(0,t.jsx)("div",{className:l.default.slide,children:a?(0,t.jsx)("div",{className:`${l.default.clickableSlide} ${r?l.default.active:""}`,onClickCapture:i,onClick:a,role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),a())},"aria-label":`Switch to video: ${e.title}`,children:(0,t.jsx)(n.default,{...s})}):(0,t.jsx)(n.default,{...s})},e.title)})})]}):null}],202467)},482505,75543,762248,e=>{var t=e.i(843476),a=e.i(950115),i=e.i(82293);let r={slidesToShow:2.23,slidesToScroll:1,autoplay:!1,responsive:[{breakpoint:874,settings:{slidesToShow:2.23,slidesToScroll:1}},{breakpoint:639,settings:{slidesToShow:1.315,slidesToScroll:1}}]};e.s(["f",0,r],75543);var n=e.i(146162),l=e.i(500148),s=e.i(775074);function o(e){return"object"==typeof e&&null!==e&&("meta"in e||"content"in e||"media"in e||"taxonomy"in e)}function d(e){return o(e)?e.meta?.id||e.meta?.link||e.meta?.uri||(e.meta?.databaseId!=null?String(e.meta.databaseId):"")||"":e.id||e.uri||e.link||""}function u(e){if(!o(e))return e;let t=e.taxonomy?.orderedKeywords??null;return{id:d(e)||"unknown",title:e.content?.title??null,uri:e.meta?.uri??e.meta?.link??null,link:e.meta?.link??e.meta?.uri??null,excerpt:e.content?.excerpt??null,readingTime:e.seo?.readingTime??1,isPremium:(0,n.q)(e),orderedKeywords:t,keywords:t,primaryCategory:e.taxonomy?.primaryCategory??null,featuredImage:e.media?.featuredImage?{sourceUrl:e.media.featuredImage.sourceUrl??null,srcSet:e.media.featuredImage.srcSet??null,altText:e.media.featuredImage.altText??e.media.featuredImage.sourceAlt??null,sourceAlt:e.media.featuredImage.sourceAlt??null}:null,authors:e.authors?.map(e=>({name:e.name??null,slug:e.slug??null,uri:e.uri??null,bylineOverride:e.bylineOverride??null,isVisible:e.isVisible??null}))??null}}e.s(["p",0,d,"E",0,u],762248);var c=e.i(184796),f=e.i(202467);e.s(["f",0,function({posts:e,categorySlug:o}){var m;let h=e.map(u),p=h[0],g=h.slice(1,6);if(!p)return null;let b=p.orderedKeywords?.find(e=>e?.status==="approved");return(0,t.jsxs)("div",{className:c.default.featured,children:[(0,t.jsx)(a.default,{size:"large",mediaAspectRatio:"3/2",orientation:"vertical",title:p.title||"",postLink:p.uri||p.link||"",showEyebrow:!!b,eyebrow:{text:b?.name||"",variant:(0,l.f)(b?.name),size:"default",link:(0,s.f)(b)},authors:(m=p.authors,m?.length?m.map(e=>({isVisible:e.isVisible??!0,bylineOverride:e.bylineOverride??null,user:e.name?{name:e.name}:null})):[]),showExcerpt:!0,showAuthors:!0,excerpt:p.excerpt||"",mediaLeading:!0,mediaType:"image",imageSrc:p.featuredImage?.sourceUrl||"",imageAlt:p.title||"",imageSrcSet:p.featuredImage?.srcSet||"",showReadTime:!0,readTime:p.readingTime||1,className:c.default.featuredMain,"data-gtm-action":`Main_Stage_${o}_Title_Link_1`,"data-gtm-text":p.title||"",priority:!0,forMember:(0,n.q)(p),fetchPriority:"high",titleAs:"h2"}),(0,t.jsx)(i.f,{className:c.default.divider}),(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:c.default.featuredPostsContainer,children:[(0,t.jsx)("div",{className:c.default.featuredPosts,children:g.map((e,r)=>(0,t.jsxs)("div",{className:c.default.featuredPostItem,children:[(0,t.jsx)(i.f,{className:c.default[`article-${r+1}`]}),((e,i="default",r="vertical",l,d="Latest_Stories",u=0)=>{let f=e.orderedKeywords?.find(e=>e?.status==="approved");return(0,t.jsx)(a.default,{size:i,orientation:r,title:e.title||"",postLink:e.uri||e.link||"",contentContainerClassName:c.default.contentContainer,mediaContainerClassName:c.default.mediaContainer,showEyebrow:!!f,eyebrow:{text:f?.name||"",variant:"default",size:"default",link:(0,s.f)(f)},showExcerpt:!1,mediaLeading:!0,mediaType:"image",imageSrc:e.featuredImage?.sourceUrl||"",imageAlt:e.title||"",imageSrcSet:e.featuredImage?.srcSet||"",showReadTime:!0,readTime:e.readingTime||1,className:l,forMember:(0,n.q)(e),"data-gtm-action":`${d}_${o}_Title_Link_${u+1}`,"data-gtm-text":e.title||"",titleAs:"h3"},e.id)})(e,"small","horizontal",c.default.desktopArticleCard,"Main_Stage",r+1)]},d(e)||e.id))}),(0,t.jsx)("div",{className:c.default.featuredPostsCarousel,children:(0,t.jsx)(f.f,{variant:"sports",sliderSettings:r,itemsProps:g.map(e=>{let t=e.orderedKeywords?.find(e=>e?.status==="approved");return{title:e.title||"",postLink:e.uri||e.link||"",imageSrc:e.featuredImage?.sourceUrl||"",imageAlt:e.featuredImage?.altText||"",imageSrcSet:e.featuredImage?.srcSet||"",size:"small",orientation:"vertical",showEyebrow:!!t,showReadTime:!!e.readingTime,forMember:(0,n.q)(e),eyebrow:{text:t?.name||"",link:(0,s.f)(t)},readTime:e.readingTime||1,mediaContainerClassName:c.default.mediaContainer,titleAs:"h3"}})})})]})})]})}],482505)},409397,e=>{var t=e.i(843476),a=e.i(271645),i=e.i(406628),r=e.i(343794),n=e.i(794596),l=e.i(31499),s=e.i(914813),o=e.i(466827),d=e.i(72529),u=e.i(620519);let c=({config:e={desktop:{everyNPosts:9},tablet:{everyNPosts:6},mobile:{everyNPosts:3}},containerRef:t,postsCount:i,currentPage:c})=>{let[f,m]=(0,a.useState)(!1),{pageAdsConfig:h}=(0,n.useAdsConfig)(),{registerAdSlot:p,unregisterAdSlot:g,registeredSlots:b}=(0,n.useAdsRegistration)(),{screenSize:v}=(0,o.f)(),C=(0,a.useRef)(0),y=(0,a.useRef)([]),_=(0,a.useMemo)(()=>"desktop"===v?e.desktop.everyNPosts:"tablet"===v?e.tablet.everyNPosts:"mobile"===v?e.mobile.everyNPosts:void 0,[e,v]),{site_ads:w}=(0,l.useAuthContext)(),x=(0,a.useCallback)(e=>`dfp-ad-${e}`,[]),N=(0,a.useCallback)(e=>{let t=document.createElement("div");t.className=u.default.containerWrapper,t.dataset.inLatestAd="true";let a=document.createElement("div"),i=x(e);a.id=`${i}-wrapper`,a.className=(0,r.default)(u.default.adSlotWrapper,`${i}-wrapper`,s.I.WRAPPER_CLASSES);let n=document.createElement("div");return n.className=s.I.INNER_CLASSES,n.id=i,a.appendChild(n),t.appendChild(a),p(i),y.current.push(i),t},[x,p]);return(0,a.useEffect)(()=>{v&&m(!0)},[v]),(0,a.useEffect)(()=>{let e=t?.current;if(!w||!e||!f||!h||!_||!v)return;let a=h[`${v}AdSlots`];if(!a)return;let i=a.filter(e=>{if(1!==c&&"oop1"===e.slotName)return!1;let t=x(e.slotName);return!b.has(t)&&!y.current.includes(t)}),r=Array.from(e.children).filter(e=>!e.dataset.inLatestAd);(0,d.H)(d.d.DEBUG,"LatestStoriesAdsClient","Starting to insert ads",_,v,r.length);let n=C.current+_;for(;n()=>{y.current.forEach(e=>g(e)),y.current=[]},[]),null};var f=e.i(406404),m=e.i(539018),h=e.i(525803);let p=({category:e})=>(0,t.jsxs)("header",{className:m.default.container,children:[(0,t.jsx)(h.default,{className:m.default.featuredImage,src:e.hub?.featuredImage?.source_url??"",alt:e.hub?.featuredImage?.source_alt??"AI Politics",width:48,height:48}),(0,t.jsx)("h1",{className:(0,r.default)("text-display-semibold-md",m.default.title),children:e.name}),(0,t.jsxs)("div",{className:m.default.descriptionContainer,children:[(0,t.jsx)("p",{className:(0,r.default)("text-body-regular-md",m.default.description),children:e.description}),(0,t.jsx)(i.default,{slots:["oop1"],active:!0})]})]});var g=e.i(950115),b=e.i(82293),v=e.i(482505),C=e.i(939761),y=e.i(654202),_=e.i(163568);function w({items:e,className:i}){let[r,n]=(0,a.useState)(!1),l=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=e=>{l.current&&!l.current.contains(e.target)&&n(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,t.jsxs)("div",{className:`${_.default.moreDropdownMenu} ${i||""}`,ref:l,children:[(0,t.jsxs)("button",{className:`text-system-semibold-sm ${_.default.trigger}`,onClick:()=>{n(!r)},"aria-expanded":r,"aria-haspopup":"true","aria-label":"Toggle more menu",children:["More",(0,t.jsx)(y.f,{className:`${_.default.chevron} ${r?_.default.chevronActive:""}`,width:12,height:12})]}),r&&(0,t.jsx)("ul",{className:_.default.menu,children:e.map(e=>(0,t.jsx)("li",{className:_.default.menuItem,children:(0,t.jsx)(C.NewsweekLink,{href:e.uri||"",className:_.default.menuLink,children:e.label||""})},e.id))})]})}var x=e.i(162960);function N({items:e,defaultLimit:i=6,className:r,itemClassName:n}){let[l,s]=(0,a.useState)(i),o=(0,a.useRef)(null),d=(0,a.useCallback)(()=>{if(!o.current||0===e.length)return i;let t=o.current.offsetWidth,a=document.createElement("div");a.style.visibility="hidden",a.style.position="absolute",a.style.whiteSpace="nowrap",a.className="text-system-semibold-sm",document.body.appendChild(a);let r=0,n=0,l=Math.min(i,e.length);for(let i=0;it));i++)n++;return document.body.removeChild(a),Math.min(n,i)},[e,i]);(0,a.useEffect)(()=>{let e=()=>{s(d())},t=setTimeout(e,100),a=null,i=()=>{null!==a&&cancelAnimationFrame(a),a=requestAnimationFrame(e)};return window.addEventListener("resize",i),()=>{clearTimeout(t),window.removeEventListener("resize",i),null!==a&&cancelAnimationFrame(a)}},[d]);let u=e.slice(0,l),c=e.slice(l);return 0===e.length?null:(0,t.jsxs)("div",{ref:o,className:`${x.default.horizontalHeaderMenu} ${r||""}`,children:[u.map(e=>(0,t.jsx)(C.NewsweekLink,{href:e?.uri||"",className:`text-system-semibold-sm ${x.default.menuItem} ${n||""}`,children:e.label},e.id)),c.length>0&&(0,t.jsx)(w,{items:c})]})}var I=e.i(117595),j=e.i(86235),L=e.i(384644),k=e.i(200828);let S=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"99",height:"20",viewBox:"0 0 99 20",fill:"none",...e,children:[(0,t.jsx)("path",{d:"M6.24042 7.08389C5.74141 7.59279 5.38996 8.21449 5.20405 8.882C4.18507 8.6197 3.06666 8.74101 2.08347 9.30883C1.74758 9.50281 1.44891 9.73652 1.19 10.0006C0.436528 10.769 0.0195518 11.7945 0.000686062 12.8466L0.000667987 7.16241C-0.0256049 5.6963 0.724076 4.2605 2.08346 3.47543C3.06666 2.90762 4.18507 2.78631 5.20405 3.0486C6.24994 3.3178 7.19105 3.99114 7.77367 5.00055C7.95269 5.31071 8.08732 5.63433 8.17953 5.96402C7.82146 6.05628 7.46978 6.19815 7.13389 6.39213C6.798 6.58611 6.49933 6.81983 6.24042 7.08389Z",fill:"#EE2F2B"}),(0,t.jsx)("path",{d:"M5.20404 8.8821C4.18505 8.6198 3.06665 8.74112 2.08345 9.30893C1.74756 9.50291 1.44889 9.73663 1.18998 10.0007C0.43651 10.7691 0.0195331 11.7946 0.000667387 12.8467C-0.0124185 13.5777 0.166699 14.3215 0.558762 15.0008C0.958001 15.6925 1.52557 16.2263 2.17981 16.5805L7.06498 19.4018C6.48014 19.0499 5.97369 18.549 5.60828 17.9159C5.42957 17.6063 5.2951 17.2832 5.20292 16.9541C4.80181 15.5221 5.20113 13.975 6.23922 12.9161C6.00037 12.6717 5.7879 12.3937 5.60919 12.0841C5.43017 11.7739 5.29554 11.4503 5.20332 11.1206C4.99546 10.3773 5.00324 9.60297 5.20404 8.8821Z",fill:"#022561"}),(0,t.jsx)("path",{d:"M8.17884 14.0359C7.45379 13.8493 6.77906 13.4684 6.23926 12.916C5.20117 13.9749 4.80185 15.522 5.20296 16.954C5.29514 17.2831 5.42961 17.6062 5.60832 17.9158C5.97373 18.5489 6.48018 19.0498 7.06502 19.4017C8.3212 20.1575 9.93914 20.226 11.2985 19.4409L16.3489 16.5242C15.3657 17.092 14.2473 17.2133 13.2284 16.951C12.1825 16.6818 11.2414 16.0085 10.6587 14.9991C10.48 14.6895 10.3456 14.3664 10.2534 14.0373C9.5634 14.215 8.8496 14.2086 8.17884 14.0359Z",fill:"#EE2F2B"}),(0,t.jsx)("path",{d:"M18.4317 7.19482L18.4318 12.8373C18.458 14.3034 17.7084 15.7393 16.349 16.5243C15.3658 17.0921 14.2474 17.2134 13.2284 16.9512C12.1825 16.682 11.2414 16.0086 10.6588 14.9992C10.48 14.6896 10.3456 14.3665 10.2534 14.0374C10.6116 13.9452 10.9634 13.8032 11.2994 13.6092C11.6354 13.4152 11.9342 13.1813 12.1932 12.9171C12.692 12.4083 13.0434 11.7867 13.2293 11.1193C14.2483 11.3816 15.3667 11.2603 16.3499 10.6925C16.6859 10.4985 16.9846 10.2646 17.2436 10.0004C17.9873 9.24184 18.4032 8.23268 18.4317 7.19482Z","fill-rule":"evenodd","clip-rule":"evenodd",fill:"#022561"}),(0,t.jsx)("path",{d:"M13.23 3.04751C13.1378 2.71782 13.0032 2.3942 12.8241 2.08404C12.4587 1.45095 11.9523 0.950063 11.3674 0.598145L16.2887 3.44026C16.9281 3.79441 17.4825 4.32148 17.8746 5.00074C18.2738 5.69244 18.4522 6.45104 18.4318 7.19489C18.4032 8.23275 17.9873 9.24191 17.2436 10.0005C16.9846 10.2647 16.6859 10.4985 16.3499 10.6926C15.3667 11.2604 14.2483 11.3817 13.2293 11.1194C13.4303 10.398 13.4379 9.62307 13.2295 8.87922C13.1373 8.55011 13.0028 8.22706 12.8241 7.91744C12.6451 7.60728 12.4323 7.32885 12.1929 7.08411C13.2309 6.02559 13.6303 4.47914 13.23 3.04751Z","fill-rule":"evenodd","clip-rule":"evenodd",fill:"#EE2F2B"}),(0,t.jsx)("path",{d:"M5.20408 3.04879C4.1851 2.78649 3.06669 2.90781 2.0835 3.47562L7.13392 0.558923C8.49331 -0.226143 10.1112 -0.157667 11.3674 0.598145C11.9523 0.950064 12.4587 1.45095 12.8241 2.08404C13.0031 2.3942 13.1378 2.71782 13.23 3.04751C13.6303 4.47914 13.2308 6.02559 12.1929 7.08411C11.6533 6.53239 10.979 6.15198 10.2545 5.96549C9.58367 5.79281 8.86967 5.78638 8.17957 5.96421C8.08735 5.63451 7.95272 5.3109 7.7737 5.00074C7.19108 3.99132 6.24997 3.31798 5.20408 3.04879Z","fill-rule":"evenodd","clip-rule":"evenodd",fill:"#022561"}),(0,t.jsx)("path",{d:"M29.3689 5.67962L27.2859 11.6336H31.4887L29.3689 5.67962ZM27.7652 16.5H23.4149V15.8548C24.5947 15.7074 24.9633 15.3387 25.4242 14.0852L29.2952 3.59665H30.4012L34.4381 14.6198C34.7699 15.5415 35.2123 15.7995 36.3367 15.8548V16.5H30.9726V15.8364H31.6362C32.3367 15.8364 32.5763 15.5783 32.5763 15.2097C32.5763 14.8963 32.521 14.4908 32.3551 14.0484L31.7837 12.4631H27.0094L26.6592 13.4401C26.4749 13.9746 26.3274 14.6567 26.3274 15.0806C26.3274 15.5599 26.6223 15.8364 27.3412 15.8364H27.7652V16.5ZM42.5159 16.5H37.0781V15.8364H37.7601C38.608 15.8364 38.9398 15.6336 38.9398 14.7857V5.60589C38.9398 4.75795 38.608 4.55519 37.7601 4.55519H37.0781V3.89159H42.5159V4.55519H41.8339C41.0044 4.55519 40.6726 4.75795 40.6726 5.60589V14.7857C40.6726 15.6336 41.0044 15.8364 41.8339 15.8364H42.5159V16.5ZM52.155 16.5H46.4406V15.8364H47.0674C47.9337 15.8364 48.2655 15.6336 48.2655 14.7857V5.60589C48.2655 4.75795 47.9337 4.55519 47.0674 4.55519H46.4406V3.89159H51.9153C54.8278 3.89159 56.8739 5.03445 56.8739 7.32019C56.8739 9.73496 54.5144 10.97 51.6388 10.97H49.9983V14.7857C49.9983 15.6336 50.3485 15.8364 51.1964 15.8364H52.155V16.5ZM49.9983 5.60589V10.3064H51.6941C54.0352 10.3064 54.9015 9.18196 54.9015 7.39392C54.9015 5.55059 53.9983 4.55519 51.8232 4.55519H51.1964C50.3485 4.55519 49.9983 4.75795 49.9983 5.60589ZM64.3627 12.2788C64.3627 14.8041 62.5194 16.7949 60.3627 16.7949C58.206 16.7949 56.418 14.841 56.418 12.3156C56.418 9.79026 58.2982 7.79946 60.418 7.79946C62.5747 7.79946 64.3627 9.77183 64.3627 12.2788ZM58.2244 12.2788C58.2244 14.5092 58.9802 16.1682 60.418 16.1682C61.8742 16.1682 62.5563 14.5461 62.5563 12.3156C62.5563 10.0852 61.8005 8.42619 60.3627 8.42619C58.9065 8.42619 58.2244 10.0483 58.2244 12.2788ZM68.1446 16.5H64.292V15.8364H64.4395C65.269 15.8364 65.4533 15.6336 65.4533 14.8041V5.60589C65.4533 4.75795 65.269 4.55519 64.4395 4.55519H64.2183V3.89159L66.9464 3.59665V14.8041C66.9464 15.6336 67.1123 15.8364 67.9418 15.8364H68.1446V16.5ZM71.7738 4.88699C71.7738 5.51372 71.2392 6.04829 70.6309 6.04829C70.0042 6.04829 69.4881 5.51372 69.4881 4.88699C69.4881 4.26025 70.0042 3.72569 70.6309 3.72569C71.2392 3.72569 71.7738 4.26025 71.7738 4.88699ZM72.7508 16.5H68.8613V15.8364H69.0641C69.8936 15.8364 70.0595 15.6336 70.0595 14.7857V9.80869C70.0595 8.94232 69.8936 8.75799 69.0641 8.75799H68.7876V8.09439L71.571 7.91006V14.7857C71.571 15.6336 71.7554 15.8364 72.5849 15.8364H72.7508V16.5ZM78.2953 13.5507C78.2953 15.5968 77.3737 16.7581 75.9543 16.7581C74.5349 16.7581 73.6686 15.9654 73.6686 14.2327V8.81329H72.3045V8.29716C73.816 7.98379 74.4059 6.95152 74.6087 4.59205H75.1985V8.09439H77.7976V8.81329H75.1617V14.0852C75.1617 15.265 75.5672 15.7995 76.3045 15.7995C77.0603 15.7995 77.6133 15.1728 77.687 13.5507H78.2953ZM81.55 4.88699C81.55 5.51372 81.0154 6.04829 80.4071 6.04829C79.7804 6.04829 79.2642 5.51372 79.2642 4.88699C79.2642 4.26025 79.7804 3.72569 80.4071 3.72569C81.0154 3.72569 81.55 4.26025 81.55 4.88699ZM82.5269 16.5H78.6375V15.8364H78.8403C79.6698 15.8364 79.8357 15.6336 79.8357 14.7857V9.80869C79.8357 8.94232 79.6698 8.75799 78.8403 8.75799H78.5638V8.09439L81.3472 7.91006V14.7857C81.3472 15.6336 81.5315 15.8364 82.361 15.8364H82.5269V16.5ZM89.6752 14.8594C88.8641 16.0023 87.7213 16.7949 86.2097 16.7949C84.1268 16.7949 82.3756 15.0806 82.3756 12.3525C82.3756 9.56906 84.5507 7.79946 86.7074 7.79946C88.2743 7.79946 89.583 8.83172 89.583 10.1589C89.583 11.0806 89.0485 11.523 88.3849 11.523C87.7581 11.523 87.3157 11.0622 87.3157 10.3617C87.3157 9.79026 87.666 9.44003 88.1084 9.31099C88.348 9.25569 88.3664 9.10822 88.2743 9.01606C87.9978 8.64739 87.4448 8.44462 86.689 8.44462C85.1406 8.44462 84.1636 9.86399 84.1636 12.2603C84.1636 14.4908 85.2881 15.9101 86.7443 15.9101C87.6844 15.9101 88.5139 15.394 89.2512 14.5276L89.6752 14.8594ZM91.0175 16.7028H90.612V13.2373H90.9806C91.423 14.712 92.6212 16.076 94.3355 16.076C95.46 16.076 96.1788 15.523 96.1788 14.6751C96.1788 13.8825 95.6443 13.4954 93.6903 12.9792C91.9023 12.5 90.7226 11.9838 90.7226 10.2327C90.7226 8.79486 91.8101 7.87319 93.3217 7.87319C94.483 7.87319 95.0544 8.40776 95.5153 8.40776C95.7917 8.40776 95.9945 8.24186 96.1788 7.87319H96.5844V10.9516H96.2157C95.8839 9.88243 94.8332 8.51836 93.2479 8.51836C92.3447 8.51836 91.7364 8.97919 91.7364 9.77183C91.7364 10.6013 92.4184 10.8778 94.0221 11.3202C96.2342 11.9101 97.2111 12.5737 97.2111 14.1405C97.2111 15.7627 95.9945 16.7028 94.2433 16.7028C93.0083 16.7028 92.0498 16.0023 91.6811 16.0023C91.4046 16.0023 91.1834 16.2419 91.0175 16.7028Z",fill:"#1F1E19"})]}),T=({fill:e="currentColor",...a})=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...a,children:(0,t.jsx)("path",{d:"M12.2761 8.00016L4.80477 15.4715L3.86206 14.5288L10.3907 8.00016L3.86206 1.47152L4.80477 0.528809L12.2761 8.00016Z",fill:e})}),M=["ai-politics"],E="ce72d1fc-ec6f-40b6-b13e-1f9bf281902b",P="bhv_b64e7ccb-75fc-4152-9ff8-bfea350c1b81_subscribed",A=e=>`bhv-hub-floating-email-capture-prompt-closed-${e}`,q=e=>`beehiiv-form-${e}-snooze`,$=e=>(0,d.H)(d.d.INFO,"HubFloatingEmailCapture",e),R=e=>{document.getElementById("beehiiv-loader")?.remove();let t=document.createElement("script");t.id="beehiiv-loader",t.src="https://subscribe-forms.beehiiv.com/v3/loader.js?v=2",t.async=!0,t.dataset.beehiivForm=e,document.body.appendChild(t)},O=({data:e,beehiivFormId:i=E})=>{let n=e.slug??"",[l,s]=(0,a.useState)(!1),[o,d]=(0,a.useState)(!1),[u,c]=(0,a.useState)(!1),[f,m]=(0,a.useState)(!1),h=()=>{I.f.remove(q(i)),m(!0),R(i),document.body.classList.remove("is-email-capture-open"),document.documentElement.classList.remove("is-email-capture-open")};return!function(e,t={}){let{onAppear:i,once:r=!0,enabled:n=!0,onVisible:l,onHide:s,rootMargin:o,threshold:d=0,timeout:u,initTimeout:c=!1,onTimeout:f}=t,m=!!(l||s),h=(0,a.useRef)({onAppear:i,onVisible:l,onHide:s,onTimeout:f});(0,a.useEffect)(()=>{h.current={onAppear:i,onVisible:l,onHide:s,onTimeout:f}},[i,l,s,f]);let p=(0,a.useRef)(!1),g=(0,a.useRef)(void 0),b=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(!n||!e||!("MutationObserver"in window))return;let t=m&&"IntersectionObserver"in window,a=null,i=!1,l=null,s=null;p.current=!1;let u=e=>{for(let t of e){let e=t.target;e===a&&(t.isIntersecting&&!i?(i=!0,h.current.onVisible?.(e,t)):!t.isIntersecting&&i&&(i=!1,h.current.onHide?.(e,t)))}},c=()=>{let n=document.querySelector(e);n!==a&&(s?.disconnect(),s=null,i&&a&&(i=!1,h.current.onHide?.(a)),a=n,n)&&(t&&(s=new IntersectionObserver(u,{rootMargin:o,threshold:d})).observe(n),clearTimeout(g.current),r&&p.current||(p.current=!0,h.current.onAppear?.(n)),r&&!t&&l?.disconnect())};if(c(),!r||!p.current||t)return(l=new MutationObserver(c)).observe(document.documentElement,{childList:!0,subtree:!0}),b.current=()=>l?.disconnect(),()=>{b.current=null,l?.disconnect(),s?.disconnect()}},[e,r,n,m,o,d]),(0,a.useEffect)(()=>{if(n&&c&&void 0!==u&&!p.current)return g.current=setTimeout(()=>{p.current||(b.current?.(),h.current.onTimeout?.())},u),()=>clearTimeout(g.current)},[e,n,c,u])}('iframe[src*="subscribe-forms.beehiiv.com"]',{enabled:l,once:!1,onVisible:e=>{$("iframe visible"),e.setAttribute("data-email-capture-frame","");let t=(e=>{let t=null,a=e.parentElement;for(;a;)a.matches("div")&&(t=a),a=a.parentElement;return t})(e);t&&(t.setAttribute("data-email-capture-overlay",""),t.setAttribute("data-email-capture-loading",""),t.classList.add(j.default.beehiivOverlay),t.querySelector("div")?.setAttribute("data-email-capture-modal","")),c(!1),e.onload=()=>{$("iframe loaded"),d(!1),m(!1),t?.removeAttribute("data-email-capture-loading"),document.body.classList.add("is-email-capture-open"),document.documentElement.classList.add("is-email-capture-open")}},onHide:()=>{if($("iframe hidden"),I.f.get(P)){I.f.remove(q(i)),$("iframe hidden and subscribed"),document.documentElement.classList.remove("is-email-capture-open"),document.body.classList.remove("is-email-capture-open");return}h()},timeout:15e3,initTimeout:u,onTimeout:()=>{$("iframe timeout"),c(!1),d(!1),h()}}),(0,a.useEffect)(()=>{if(!M.includes(n)||I.f.get(A(n))||I.f.get(P)||I.f.get(q(i)))return;s(!0),R(i);let e=setTimeout(()=>m(!0),1500);return()=>clearTimeout(e)},[n,i]),(0,t.jsxs)("div",{className:(0,r.default)(j.default.container,{[j.default.open]:f}),children:[(0,t.jsxs)("div",{className:j.default.content,children:[(0,t.jsxs)("div",{className:j.default.header,children:[(0,t.jsx)(S,{}),(0,t.jsx)(L.default,{variant:"ghost",size:"xsmall",icon:(0,t.jsx)(k.f,{}),onClick:()=>{I.f.set(A(n),"1",{expires:7}),m(!1)}})]}),(0,t.jsx)("h1",{className:"text-headline-semibold-sm",children:"AI, Politics & Power"}),(0,t.jsx)("p",{className:(0,r.default)("text-system-regular-sm",j.default.body),children:"Stay connected to Newsweek's reporting, analysis and programs exploring how AI is reshaping politics and policy, including the AI Policy Scorecard."})]}),(0,t.jsx)(L.default,{className:"email-capture-trigger",size:"large",disabled:o,fullWidth:!0,onClick:()=>{$("button clicked"),d(!0),c(!0),I.f.set(q(i),"1",{expires:3})},"aria-busy":o||void 0,children:o?"Opening...":(0,t.jsxs)(t.Fragment,{children:["Stay Connected ",(0,t.jsx)(T,{})]})})]})};var H=e.i(465880),V=e.i(147101),z=e.i(146162),B=e.i(826676);let G="/api/category";async function D({slug:e,categoryId:t,page:a,maxPage:i=1e3}){let r=new URLSearchParams({slug:e,page:String(a)});t&&r.set("id",String(t));let n=await fetch(`${G}?${r.toString()}`);if(!n.ok)throw Error(`${G} request failed: ${n.status}`);let l=(await n.json()).category;if(!l)return{items:[],hasNextPage:!1,hasNewData:!1};let s=l.posts?.filter(e=>!!e)||[];return{items:s,hasNextPage:!!l.pagination?.nextPage&&a0}}var Y=e.i(775074),Z=e.i(762248),U=e.i(227502),F=e.i(926565),J=e.i(65877);e.s(["default",0,function({category:e,categorySlug:r,categoryPath:n,currentPage:l=1,variant:s="category"}){let o,u=(0,a.useRef)(null),m="hub"===s&&1===l?e?.hub?.posts||[]:e?.posts||[],h=!!e?.pagination?.nextPage&&l<1e3,C=e?.menu?.items?.filter(e=>!!e).map(e=>({id:e.id??"",label:e.label,uri:e.uri}))||[],y=Number(l);l=!Number.isFinite(y)||y<1?1:y,(0,V.f)([e?.databaseId,r]),(0,a.useEffect)(()=>{if(!e)return;let t=e.databaseId||0;if(window.dataLayer?.[0]?.entityId===t.toString()&&window.dataLayer?.[0]?.page_type==="categories")return;let a=(0,B.Y)({entityId:t,entityLabel:e.name||"",categorySlug:r,totalArticles:e?.posts?.length||0});(0,F.f)(a,`category-${r}`,"Category DataLayer")},[e,r]),(0,a.useEffect)(()=>{(0,U.Q)("categoryPage"),(0,d.H)(d.d.DEBUG,"useEffect","category",e)},[e,r]);let _=m[0],w=1===l?m.slice(6):m,x=(0,a.useCallback)(async t=>{let a=await D({slug:n,categoryId:e.databaseId,page:t+1,maxPage:1e3}),i=a.items.filter(e=>!w.some(t=>t.meta?.databaseId===e.meta?.databaseId));return{...a,items:i}},[n,e.databaseId,1e3,w]);return e?(0,t.jsxs)("div",{className:J.default.container,children:[("category"===s||"hub"===s&&1!==l)&&(0,t.jsxs)("header",{className:J.default.header,children:[(0,t.jsx)("div",{className:J.default.breadcrumb,children:(0,t.jsx)(f.f,{breadcrumbs:((o=[]).push({label:"Home",href:"/",id:"home"}),e?.parent&&o.push({label:e.parent.name||"",href:e.parent.uri||`/${e.parent.name?.toLowerCase().replace(/\s+/g,"-")}`,id:"parent"}),e?.name&&o.push({label:e.name,id:"current"}),o)})}),(0,t.jsx)("div",{className:J.default.pageInfo,children:(0,t.jsx)("h1",{className:J.default.title,children:e?.name??""})}),(0,t.jsx)(N,{items:C,defaultLimit:6,className:J.default.menu}),(0,t.jsx)(b.f,{})]}),"hub"===s&&1===l&&(0,t.jsx)(p,{category:e}),(0,t.jsxs)("main",{className:J.default.content,children:[1===l&&_&&(0,t.jsx)(v.f,{posts:m.filter(Boolean),categorySlug:r}),"hub"===s&&1===l&&(0,t.jsx)("div",{className:J.default.hubAdSlot,children:(0,t.jsx)(i.default,{slots:["hub1"],active:!0})}),1===l&&(0,t.jsxs)("div",{className:J.default.latest,children:[(0,t.jsx)(b.f,{highlightPosition:"start"}),(0,t.jsx)("h2",{className:"text-headline-semibold-sm",children:"Latest Stories"})]}),(0,t.jsx)(H.f,{posts:w.filter(e=>!!e),hasNextPage:h,fetchMore:x,baseUrl:`/${r}`,currentPage:l,children:e=>(0,t.jsxs)("div",{className:J.default.grid,ref:u,children:["hub"===s&&(0,t.jsx)(c,{containerRef:u,postsCount:e.length,currentPage:l}),e.map((e,a)=>{let i=(0,Z.p)(e)||`category-post-${a}`;return(0,t.jsxs)("div",{className:J.default.gridItem,children:[(0,t.jsx)(b.f,{className:J.default[`article-${a+1}`]}),((e,a="default",i="vertical",n,s="Latest_Stories",o=0,d="h2")=>{let u=e.taxonomy?.orderedKeywords?.find(e=>e?.status==="approved"),c=e.media?.featuredImage,f=(0,Z.p)(e)||`category-post-${o}`,m=l>1,h=m&&0===o,p=m&&o>0&&o<3;return(0,t.jsx)(g.default,{size:a,orientation:i,title:e.content?.title||"",postLink:e.meta?.uri||e.meta?.link||"",showEyebrow:!!u,forMember:(0,z.q)(e),eyebrow:{text:u?.name||"",variant:"default",size:"default",link:(0,Y.f)(u)},showExcerpt:!1,mediaLeading:!0,mediaType:"image",imageSrc:c?.sourceUrl||"",imageAlt:e.content?.title||"",imageSrcSet:c?.srcSet||"",sizes:"(min-width: 1200px) 400px, (min-width: 768px) 384px, calc(100vw - 80px)",priority:h||p,fetchPriority:h?"high":"auto",showReadTime:!0,readTime:e.seo?.readingTime||1,className:n,"data-gtm-action":`${s}_${r}_Title_Link_${o+1}`,"data-gtm-text":e.content?.title||"",titleAs:d},f)})(e,"default","vertical",J.default.articleCard,"Latest_Stories",a,1===l?"h3":"h2")]},i)})]})})]}),(0,t.jsx)(i.default,{slots:["oop2"],active:!0}),"hub"===s&&(0,t.jsx)(O,{data:e})]}):null}],409397)},770612,e=>{var t=e.i(843476),a=e.i(618566),i=e.i(669472),r=e.i(271645),n=e.i(939761),l=e.i(686511),s=e.i(322856);function o({items:e}){let i=(0,a.useRouter)(),d=(0,a.usePathname)(),[u,c]=(0,r.useState)(""),[f,m]=(0,r.useState)(!1),h=()=>{if(!e.length)return;let t=window.location.pathname,a=t+(window.location.hash||""),i=e.find(e=>e.url===a)??e.find(e=>e.url===t);c(i?.url??e[0]?.url??"")};(0,r.useEffect)(()=>{h()},[e,d]),(0,r.useEffect)(()=>{let e=()=>h();return window.addEventListener("hashchange",e),window.addEventListener("popstate",e),()=>{window.removeEventListener("hashchange",e),window.removeEventListener("popstate",e)}},[e]);let{ref:p}=(0,l.f)({onClickOutside:()=>{setTimeout(()=>{m(!1)},100)}}),g=(0,r.useMemo)(()=>{let t=e.find(e=>e.url===u);if(t)return t.label;{let t=e.find(e=>e.url===window.location.pathname+(window.location.hash||""));if(t)return t.label}return e[0]?.label??"Menu"},[e,u]),b=(e,t)=>{var a;e.preventDefault(),c(a=t.url),i.push(a),m(!1)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("aside",{className:`${s.default.mobileMenuContainer} ${s.default.mobileAndTabletOnly}`,ref:p,children:[(0,t.jsx)("button",{type:"button",className:s.default.dropdownTrigger,onClick:()=>m(e=>!e),"aria-expanded":f,"aria-haspopup":"listbox",children:g}),f&&(0,t.jsx)("ul",{role:"listbox",className:s.default.dropdownMenu,children:e.map((e,a)=>{let i=e.url===u;return(0,t.jsx)("li",{className:s.default.dropdownMenuItem,children:(0,t.jsx)(n.NewsweekLink,{href:e.url,className:`${s.default.mobileLink} ${i?s.default.active:""}`,onClick:t=>b(t,e),"data-gtm-action":`Corporate_Page_Menu_Link_${a+1}`,"data-gtm-text":e.label,children:e.label})},a)})})]}),(0,t.jsx)("div",{className:`${s.default.sidebar} ${s.default.desktopOnly}`,"aria-label":"Sidebar menu",children:(0,t.jsx)("ul",{className:s.default.menu,children:e.map((e,a)=>{let i=e.url===u;return(0,t.jsx)("li",{className:s.default.menuItem,children:(0,t.jsx)(n.NewsweekLink,{href:e.url,className:`${s.default.subMenuItem} ${i?s.default.active:""}`,onClick:t=>b(t,e),"data-gtm-action":`Corporate_Page_Menu_Link_${a+1}`,"data-gtm-text":e.label,children:e.label})},a)})})})]})}var d=e.i(624002),u=e.i(384644),c=e.i(645221);let f=({title:e,description:a,primaryButtonText:i,primaryButtonLink:r,secondaryButtonText:n,secondaryButtonLink:l})=>(0,t.jsxs)("div",{className:d.default.container,children:[(0,t.jsx)(c.f,{variant:"brand",size:32}),(0,t.jsxs)("div",{className:d.default.content,children:[(0,t.jsx)("span",{className:d.default.title,children:e}),(0,t.jsx)("span",{className:d.default.description,children:a})]}),(0,t.jsxs)("div",{className:d.default.buttonContainer,children:[i&&r&&(0,t.jsx)(u.default,{className:d.default.button,variant:"primary",size:"large",href:r,children:i}),n&&l&&(0,t.jsx)(u.default,{className:d.default.button,variant:"secondary",size:"large",href:l,children:n})]})]}),m=[{label:"About Us",url:"/about-newsweek"},{label:"Masthead",url:"/about-newsweek#masthead"},{label:"Diversity",url:"/diversity-report"},{label:"Announcements",url:"/announcements"},{label:"Leadership",url:"/leadership"},{label:"Archive",url:"/archive"},{label:"Careers",url:"/careers"},{label:"Corrections",url:"/corrections"},{label:"Contact Us",url:"/contact"},{label:"Policies and Standards",url:"/editorial-guidelines"},{label:"Mission Statement",url:"/mission-statement"},{label:"Martyn: Newsweek's AI Newsroom Assistant",url:"/newsweek-martyn-newsroom-assistant"},{label:"Advertise",url:"https://advertising.newsweek.com/"},{label:"Copyright",url:"/copyright"},{label:"Terms & Conditions",url:"/terms-service"},{label:"Privacy Policy",url:"/privacy-policy"},{label:"Privacy Policy - GDPR",url:"/privacy-policy-gdpr"},{label:"Cookie Policy",url:"/cookie-policy"},{label:"Terms of Sale",url:"/terms-sale"},{label:"Press Center",url:"/press-center-image-gallery"},{label:"Fairness Meter",url:"/fairness-meter"},{label:"Delete Account (Newsweek App)",url:"/delete-account"},{label:"History",url:"/history"}];var h=e.i(162039);let p=({children:e,page:a})=>(0,t.jsxs)("section",{className:h.default.container,children:[(0,t.jsx)(o,{items:m}),(0,t.jsxs)("div",{className:h.default.layout,children:[(0,t.jsx)("header",{className:h.default.header,children:(0,t.jsxs)("div",{className:h.default.content,children:[(0,t.jsx)("div",{className:h.default.title,children:(0,t.jsx)("h1",{children:a?.title})}),(0,t.jsx)(i.f,{className:h.default.separator})]})}),(0,t.jsx)("main",{className:h.default.main,children:(0,t.jsxs)("article",{className:h.default.content,children:[(0,t.jsxs)("div",{className:h.default.contentWrapper,children:[" ",e," "]}),(0,t.jsx)(f,{title:"Step In. Stand Up. Shape The Future.",description:"Join the Newsweek community today and champion journalism that truly matters.",primaryButtonText:"Subscribe Now",primaryButtonLink:"/subscribe"})]})})]})]});var g=e.i(910345),b=e.i(88586);let v={id:"",title:"",slug:"",headlineOverride:"",date:"",parent:null,children:null,showPublishDate:!1,rankingsSlider:[],authors:null,featuredImage:null,seo:null,link:"",uri:"",articleTableCsvId:"",articleTableConfigurationId:"",articleTable:null,breadcrumbs:[],blocks:null,categories:null,relatedRankings:null,bylineOverride:null,inheritContentFromParent:null,inheritFeaturedWinnersFromParent:null,featuredWinnersProfiles:null,featuredWinnersSectionTitle:null};e.s(["default",0,function({page:e,path:i}){let{blocks:r,layout:n,hasBlocks:l}=function({page:e}){let t=e?.layoutTemplate?e.layoutTemplate:"",a=(e?.contentBlocks?.blocks??[]).filter(e=>null!=e);return{blocks:a,layout:t,hasBlocks:a.length>0}}({page:e});return((0,b.o)({entityId:e.databaseId,entityLabel:e.title||i,path:i}),"corporate"===n)?(0,t.jsx)(p,{page:e,children:l&&(0,t.jsx)(g.f,{blocks:r,data:e,ranking:v,parentStyles:{}})}):(0,a.notFound)()}],770612)},465880,e=>{var t=e.i(843476),a=e.i(271645),i=e.i(522016),r=e.i(82293),n=e.i(525803),l=e.i(939761),s=e.i(847420),o=e.i(188343);function d({title:e,url:a,eyebrow:i,readTime:u,image:c,divider:f,className:m,layout:h="vertical"}){return(0,t.jsxs)("article",{className:`${o.default.card} ${m||""}`,children:[f?.show&&(0,t.jsx)(r.f,{className:o.default.divider,vertical:f?.vertical}),(0,t.jsxs)("div",{className:`${o.default.cardContent} ${"horizontal"===h?o.default.horizontal:""}`,children:[(0,t.jsx)("div",{className:o.default.imageContainer,children:c?.src?(0,t.jsx)(n.default,{src:c.src,alt:c.alt||e||"Featured image",width:384,height:256,srcset:c.srcSet||void 0,className:o.default.image}):(0,t.jsx)(s.f,{className:o.default.image})}),(0,t.jsxs)("div",{className:o.default.details,children:[i&&(0,t.jsx)("p",{className:o.default.eyebrow,children:i.uri?(0,t.jsx)(l.NewsweekLink,{href:i.uri,children:i.name}):i.name}),(0,t.jsx)("h2",{className:o.default.title,children:(0,t.jsx)(l.NewsweekLink,{href:a||"#",children:e})}),u&&(0,t.jsxs)("p",{className:o.default.readingTime,children:[u," min read"]})]})]})]})}var u=e.i(413130),c=e.i(485829);e.s(["f",0,function({posts:e,hasNextPage:r,fetchMore:n,className:l,baseUrl:s,children:o,paginateUrl:f=!0,currentPage:m=1}){let[h,p]=(0,a.useState)(!1),g=Number(m),b=Number.isFinite(g)&&g>=1?g:1,[v,C]=(0,a.useState)(b);(0,a.useEffect)(()=>{C(b)},[b]);let{items:y,loading:_,error:w,hasNextPage:x,loadMore:N}=(0,u.f)({initialItems:e,initialHasNextPage:r,initialPage:b,isClient:h,fetchMore:n});(0,a.useEffect)(()=>{p(!0)},[]);let I=(0,a.useCallback)(e=>{if(!s)return;let t=1===e?s:`${s}?page=${e}`;window.history.pushState({page:e},"",t)},[s]),j=(0,a.useCallback)(async()=>{if(!_&&x&&await N()){let e=v+1;C(e),f&&I(e)}},[_,x,N,v,I,f]);(0,a.useEffect)(()=>{if(!f)return;let e=e=>{C(parseInt(new URLSearchParams(window.location.search).get("page")||"1"))};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[f]);let L=s&&x?`${s}?page=${v+1}`:void 0;return(0,t.jsxs)("div",{className:`${c.default.container} ${l||""}`,children:[o?o(y):(0,t.jsx)("div",{className:c.default.grid,children:y.map((e,a)=>(0,t.jsx)(d,{id:e.id,title:e.title,url:e.uri,eyebrow:e.categories?.nodes?.[0]?{name:e.categories.nodes[0].name||"",uri:e.categories.nodes[0].uri||null}:null,readTime:e.seo?.readingTime||1,image:{src:e.featuredImage?.node?.sourceUrl||null,srcSet:e.featuredImage?.node?.srcSet||null,alt:e.title||null},showDivider:!0,className:`${c.default.articleCard} ${c.default[`article-${a+1}`]}`},e.id))}),_&&(0,t.jsx)("div",{className:c.default.loadingContainer,"data-loading":"loading",children:(0,t.jsx)("p",{children:"Loading..."})}),w&&(0,t.jsx)("div",{className:c.default.errorMessage,children:"Error loading more articles. Please try again."}),!x&&y.length>0&&(0,t.jsx)("div",{className:c.default.endMessage,children:"You've reached the end of all articles."}),x&&!_&&(L?(0,t.jsx)(i.default,{href:L,prefetch:!0,onClick:e=>{e.preventDefault(),j()},className:c.default.loadMoreButton,children:"Load More"}):(0,t.jsx)("button",{type:"button",onClick:()=>void j(),className:c.default.loadMoreButton,disabled:_,children:"Load More"}))]})}],465880)},654202,e=>{var t=e.i(843476);e.s(["f",0,e=>(0,t.jsx)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:e.width||"24",height:e.height||"14",viewBox:"0 0 24 14",fill:"none",children:(0,t.jsx)("path",{d:"M23.207 2.20703L12 13.4141L0.792969 2.20703L2.20703 0.792969L12 10.5859L21.793 0.792969L23.207 2.20703Z",fill:"currentColor"})})])},32592,e=>{var t=e.i(843476);e.s(["f",0,e=>(0,t.jsx)("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M1 1L5 5L1 9",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})])},21556,e=>{var t=e.i(271645);e.s(["f",0,function(){let[e,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{a(!0)},[]),e}])},147101,e=>{var t=e.i(271645),a=e.i(102311),i=e.i(348650),r=e.i(901076),n=e.i(135517),l=e.i(126466);e.s(["f",0,function(e=[]){(0,t.useEffect)(()=>{(0,a.K)();let e=window,t={trsource:(0,n.H)(),br_type:(0,i.f)(),brtype:(0,i.f)(),con_type:(0,r.f)(),...e.abt&&{abt:e.abt},...e.rpmabt&&{rpmabt:e.rpmabt}};window.dataLayer=window.dataLayer||[],window.dataLayer[0]={...window.dataLayer[0],...t},(0,l.K)();try{window.dispatchEvent(new Event("dataLayerClientReady"))}catch{}},e)}])},413130,e=>{var t=e.i(271645);e.s(["f",0,function({initialItems:e,initialHasNextPage:a,initialPage:i=1,isClient:r,fetchMore:n}){let[l,s]=(0,t.useState)(e),[o,d]=(0,t.useState)(a),[u,c]=(0,t.useState)(i),[f,m]=(0,t.useState)(!1),[h,p]=(0,t.useState)(null),g=(0,t.useRef)(null);(0,t.useEffect)(()=>{if(!r)return;let t=e.map(e=>e?.id?e.id:e?.meta?.id?e.meta.id:e?.meta?.databaseId!=null?String(e.meta.databaseId):"").join(",");(null===g.current||g.current!==t)&&(g.current=t,s(e),d(a),c(i),p(null))},[e,a,r,i]);let b=(0,t.useCallback)(async()=>{if(f||!o||!r)return!1;m(!0),p(null);try{let e=await n(u);return s(t=>[...t,...e.items]),d(e.hasNextPage),e.hasNewData&&c(e=>e+1),e.hasNewData}catch(e){return p(e instanceof Error?e:Error("Failed to load more items")),!1}finally{m(!1)}},[f,o,r,n,u]);return{items:l,loading:f,error:h,hasNextPage:o,loadMore:b}}])},88586,e=>{var t=e.i(271645),a=e.i(21556),i=e.i(147101),r=e.i(826676);function n(e,t){let a=window.dataLayer?.[0],i=a&&"page_name"in a?a.page_name:void 0;if(a?.page_type===e&&i===t.page_name)return;window.dataLayer=window.dataLayer||[];let r={...window.dataLayer[0]||{},...t};"total_ads"in t||delete r.total_ads,window.dataLayer[0]=r;try{window.dispatchEvent(new Event("dataLayerReady"))}catch{}}e.s(["o",0,function(e){let l=(0,a.f)(),{entityId:s,entityLabel:o,path:d}=e;(0,t.useEffect)(()=>{l&&n("corporate",(0,r.e)({entityId:s,entityLabel:o,path:d}))},[l,s,o,d]),(0,i.f)([l,d])},"l",0,function(e){let l=(0,a.f)();(0,t.useEffect)(()=>{l&&n("members",(0,r.M)(e))},[l,e]),(0,i.f)([l,e])},"N",0,function(e){let l=(0,a.f)(),{pageType:s,path:o,entityLabel:d,entityId:u}=e;(0,t.useEffect)(()=>{if(!l)return;let e="rankings"===s?(0,r.l)({entityId:u,entityLabel:d,path:o}):"rankings categories"===s?(0,r.o)({entityLabel:d,path:o}):(0,r.m)({entityId:u,entityLabel:d,path:o});n(s,e)},[l,s,o,d,u]),(0,i.f)([l,s,o])},"Y",0,function(e){let l=(0,a.f)(),{path:s,entityLabel:o,entityId:d}=e;(0,t.useEffect)(()=>{l&&n("sports",(0,r.T)({entityId:d,entityLabel:o,path:s}))},[l,s,o,d]),(0,i.f)([l,s])}])},102311,e=>{let t=null,a=null;function i(e,t){if(window.abt=e,window.rpmabt=t,window.dataLayer?.[0]){let a=window.dataLayer[0];a.abt=e,a.rpmabt=t}}function r(){if(null===t){t=new URLSearchParams(window.location.search).get("abt")??(10===Math.floor(10*Math.random())+1?"2":"1");let e=n();i(t,e)}return t}function n(){return null===a&&(a=Math.random()>=.5?"B":"A",i(r(),a)),a}e.s(["K",0,function(){r(),n()},"i",0,r,"j",0,n])},901076,e=>{e.s(["f",0,function(){if("u"{e.i(247167);var t=e.i(348650),a=e.i(901076);function i(e,r,n,l,s={brandsafe:"y",brsafe_pf:"y",brsafe_ap:"y"}){return{entityType:"taxonomy_term",entityId:e.toString(),entityLabel:r,content_channel:"n/a",content_channel_iab:"n/a",categories:n.join(",")||r,page_name:l,userUid:"0",platform:"web",layout:"web",siteenv:"prod",brandsafe:s.brandsafe,brsafe_pf:s.brsafe_pf,brsafe_ap:s.brsafe_ap,atpl_ver:"next",brtype:(0,t.f)(),con_type:(0,a.f)(),paywall_article:!1}}let r={subscribe:{path:"subscribe",entityLabel:"Subscribe"},myaccount:{path:"myaccount",entityLabel:"My Account"},"preference-center":{path:"preference-center",entityLabel:"Preference Center"}};function n(e){let t=e.replace(/^\/+/,"").replace(/\/+$/,"");return t?`newsweek.com/${t}`:"newsweek.com"}function l(){return{siteenv:"prod",brtype:(0,t.f)(),con_type:(0,a.f)()}}e.s(["U",0,function(e,i=0){let r=`newsweek.com/authors/${e.authorSlug}`,n=`authors/${e.authorSlug}`;return{entityType:"user",entityId:e.entityId,entityLabel:n,entityLanguage:e.entityLanguage??"en",entityCreated:e.entityCreated??"",entityStatus:e.entityStatus??"1",userUid:"0",page_type:"authors",total_ads:i.toString(),content_channel:"n/a",content_channel_iab:"n/a",fq_used:"N",page_name:r,platform:"web",layout:"web",siteenv:"prod",brandsafe:"y",brsafe_pf:"y",brsafe_ap:"y",atpl_ver:"next",brtype:(0,t.f)(),con_type:(0,a.f)(),paywall_article:!1,automl:{eventType:"author-page-view",userInfo:{visitorId:""}}}},"Y",0,function(e,t=0){let a=`newsweek.com/${e.categorySlug}`;return{...i(e.entityId,e.entityLabel,[e.categorySlug],a,{brandsafe:"y",brsafe_pf:"y",brsafe_ap:"y"}),entityBundle:"categories",page_type:"categories",total_ads:t.toString(),total_articles:e.totalArticles||0,fq_used:"Y",automl:{eventType:"category-page-view",userInfo:{visitorId:""}}}},"e",0,function(e){return{page_type:"corporate",page_name:n(e.path),entityId:String(e.entityId??0),entityLabel:e.entityLabel||e.path,...l()}},"F",0,function(e,t=0){return{...i(0,"Insights",["insights"],"newsweek.com/insights",{brandsafe:"y",brsafe_pf:"y",brsafe_ap:"y"}),entityBundle:"section",page_type:"section",total_ads:t.toString(),total_articles:e,fq_used:"Y",automl:{eventType:"insights-landing-page-view",userInfo:{visitorId:""}}}},"M",0,function(e){var t;return{page_type:"members",page_name:n((t=r[e]).path),entityLabel:t.entityLabel,...l()}},"l",0,function(e){return{page_type:"rankings",page_name:n(e.path),...e.entityId?{entityId:String(e.entityId)}:{},entityLabel:e.entityLabel||e.path,...l()}},"o",0,function(e){return{page_type:"rankings categories",page_name:n(e.path),entityLabel:e.entityLabel,...l()}},"m",0,function(e){return{page_type:"rankings profile",page_name:n(e.path),...e.entityId?{entityId:String(e.entityId)}:{},entityLabel:e.entityLabel||e.path,...l()}},"T",0,function(e){return{page_type:"sports",page_name:n(e.path),...e.entityId?{entityId:String(e.entityId)}:{},entityLabel:e.entityLabel||e.path,...l()}},"V",0,function(e,t=0){return{entityType:"taxonomy_term",entityBundle:"topic",entityId:e.entityId.toString(),entityLabel:e.entityLabel,userUid:"0",total_ads:t.toString(),page_type:"topic",fq_used:"N",paywall_article:!1}}])},500148,e=>{let t=["live blog","breaking news"];e.s(["f",0,function(e){return t.includes((e??"").trim().toLowerCase())?"important":"default"}])},775074,e=>{e.s(["f",0,function(e){let t=e?.link||e?.uri||"";return t?"number"==typeof e?.postCount?e.postCount>=6?t:"":t:""}])}],620519,e=>{e.v({containerWrapper:"_3Nsgnq_containerWrapper"})},188343,e=>{e.v({card:"li-78G_card",cardContent:"li-78G_cardContent",details:"li-78G_details",eyebrow:"li-78G_eyebrow",horizontal:"li-78G_horizontal",image:"li-78G_image",imageContainer:"li-78G_imageContainer",readingTime:"li-78G_readingTime",title:"li-78G_title"})},984243,e=>{e.v({breadcrumb:"m5byuq_breadcrumb",current:"m5byuq_current",link:"m5byuq_link"})},539018,e=>{e.v({container:"ocqZJG_container",description:"ocqZJG_description",descriptionContainer:"ocqZJG_descriptionContainer",featuredImage:"ocqZJG_featuredImage"})},551290,e=>{e.v({active:"OzVx3q_active",carouselContainer:"OzVx3q_carouselContainer",clickableSlide:"OzVx3q_clickableSlide",desktopNav:"OzVx3q_desktopNav",disabled:"OzVx3q_disabled",dot:"OzVx3q_dot",navButton:"OzVx3q_navButton",slide:"OzVx3q_slide",slider:"OzVx3q_slider",sports:"OzVx3q_sports"})},184796,e=>{e.v({"article-1":"_3Y8f1a_article-1","article-2":"_3Y8f1a_article-2",contentContainer:"_3Y8f1a_contentContainer",desktopArticleCard:"_3Y8f1a_desktopArticleCard",divider:"_3Y8f1a_divider",featured:"_3Y8f1a_featured",featuredMain:"_3Y8f1a_featuredMain",featuredPostItem:"_3Y8f1a_featuredPostItem",featuredPosts:"_3Y8f1a_featuredPosts",featuredPostsCarousel:"_3Y8f1a_featuredPostsCarousel",featuredPostsContainer:"_3Y8f1a_featuredPostsContainer",mediaContainer:"_3Y8f1a_mediaContainer"})},162960,e=>{e.v({horizontalHeaderMenu:"MAMBPq_horizontalHeaderMenu",menuItem:"MAMBPq_menuItem"})},86235,e=>{e.v({beehiivOverlay:"i6GI_q_beehiivOverlay",body:"i6GI_q_body",container:"i6GI_q_container",content:"i6GI_q_content",header:"i6GI_q_header",open:"i6GI_q_open"})},162039,e=>{e.v({container:"_8Rus-G_container",content:"_8Rus-G_content",contentWrapper:"_8Rus-G_contentWrapper",header:"_8Rus-G_header",layout:"_8Rus-G_layout",main:"_8Rus-G_main",separator:"_8Rus-G_separator",title:"_8Rus-G_title"})},163568,e=>{e.v({chevron:"hz5eMa_chevron",chevronActive:"hz5eMa_chevronActive",menu:"hz5eMa_menu",menuLink:"hz5eMa_menuLink",moreDropdownMenu:"hz5eMa_moreDropdownMenu",trigger:"hz5eMa_trigger"})},65877,e=>{e.v({active:"_6INaaq_active","article-1":"_6INaaq_article-1","article-2":"_6INaaq_article-2","article-3":"_6INaaq_article-3",carouselItem:"_6INaaq_carouselItem",carouselSlider:"_6INaaq_carouselSlider",container:"_6INaaq_container",content:"_6INaaq_content",desktopArticleCard:"_6INaaq_desktopArticleCard",divider:"_6INaaq_divider",dot:"_6INaaq_dot",featured:"_6INaaq_featured",featuredMain:"_6INaaq_featuredMain",featuredPostItem:"_6INaaq_featuredPostItem",featuredPosts:"_6INaaq_featuredPosts",featuredPostsCarousel:"_6INaaq_featuredPostsCarousel",featuredTitle:"_6INaaq_featuredTitle",grid:"_6INaaq_grid",gridItem:"_6INaaq_gridItem",header:"_6INaaq_header",hubAdSlot:"_6INaaq_hubAdSlot",latest:"_6INaaq_latest",mobileArticleCard:"_6INaaq_mobileArticleCard",pageInfo:"_6INaaq_pageInfo",pageInfoNoDescription:"_6INaaq_pageInfoNoDescription",title:"_6INaaq_title"})},485829,e=>{e.v({"article-1":"iLdDCa_article-1","article-2":"iLdDCa_article-2","article-3":"iLdDCa_article-3",container:"iLdDCa_container",endMessage:"iLdDCa_endMessage",errorMessage:"iLdDCa_errorMessage",grid:"iLdDCa_grid",loadMoreButton:"iLdDCa_loadMoreButton",loadingContainer:"iLdDCa_loadingContainer"})},322856,e=>{e.v({active:"_629RJq_active",desktopOnly:"_629RJq_desktopOnly",dropdownMenu:"_629RJq_dropdownMenu",dropdownMenuItem:"_629RJq_dropdownMenuItem",dropdownTrigger:"_629RJq_dropdownTrigger",menu:"_629RJq_menu",menuItem:"_629RJq_menuItem",mobileAndTabletOnly:"_629RJq_mobileAndTabletOnly",mobileLink:"_629RJq_mobileLink",mobileMenuContainer:"_629RJq_mobileMenuContainer",sidebar:"_629RJq_sidebar",subMenuItem:"_629RJq_subMenuItem"})},624002,e=>{e.v({button:"QIRylG_button",buttonContainer:"QIRylG_buttonContainer",container:"QIRylG_container",content:"QIRylG_content",description:"QIRylG_description",title:"QIRylG_title"})}]);