(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,880438,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(682108),l=e.i(495277),i=e.i(957786),s=e.i(387644),n=e.i(815316),c=e.i(19477),o=e.i(15170),d=e.i(778497);let m={success:!1,error:{message:""}},u=({pubId:e,variationSlug:u,instanceId:h,newsletterTitle:x,ctaLabel:g,hideTermsDisclaimer:b=!1})=>{let[y,v]=(0,a.useState)(!1),[w,j]=(0,a.useState)(""),[N,_]=(0,a.useState)(m),[T,k]=(0,a.useState)(!1),[S,E]=(0,a.useState)(""),[P,C]=(0,a.useState)(!1),A=(0,a.useRef)(null),{executeRecaptcha:M}=(0,r.useGoogleReCaptcha)();(0,a.useEffect)(()=>{let e=(0,o.getCountryFromKetch)();if(e)return void E(e);let t=0,a=setInterval(()=>{t++;let e=(0,o.getCountryFromKetch)();(e||t>=10)&&(clearInterval(a),E(e))},500);return()=>clearInterval(a)},[]);let R=(0,o.requiresExplicitOptIn)(S),$=!R||P,I=N.success,L=N.error?.message??"",O=!!L&&!y,B=`newsletter-breaker-error-${h}`,z={utm_source_pg:"web",utm_medium_pg:"article",utm_campaign_pg:"module",utm_content_pg:"newsletter-breaker",utm_term_pg:u},F=[{name:"utm_source_pg",value:z.utm_source_pg},{name:"utm_medium_pg",value:z.utm_medium_pg},{name:"utm_campaign_pg",value:z.utm_campaign_pg},{name:"utm_content_pg",value:z.utm_content_pg},{name:"utm_term_pg",value:z.utm_term_pg},{name:"marketing",value:$?"True":"False"},...S?[{name:"country_marketing",value:S}]:[]],H=(0,a.useCallback)(async()=>M?M("newsletter_subscribe"):"",[M]),q=async t=>{t.preventDefault(),v(!0),k(!1),_({success:!1,error:{message:""}});try{let t=await H();if(!t){_({success:!1,error:{message:"reCAPTCHA is not ready. Please try again."}}),v(!1);return}let a=await fetch("/api/newsletter-subscribe/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:w,pubIds:[e],recaptchaToken:t,custom_fields:F})}),r=await a.json();_(r),r.success?((0,s.sendGTMEvent)({event:c.eventName.NEWSLETTER_SIGNUP,...z}),(0,s.sendGTMEvent)({event:"newsletterBanner_signup",clickText:x})):k(!0)}catch(e){(0,d.logError)({message:"[NewsletterBreaker]: Subscribe request failed",error:e}),_({success:!1,error:{message:"Unexpected error occurred"}}),k(!0)}finally{v(!1)}};return(0,a.useEffect)(()=>{L&&T&&A.current?.focus()},[L,T]),(0,t.jsxs)("div",{className:"relative w-full max-w-[301px]",children:[!I&&(0,t.jsxs)("form",{onSubmit:e=>{q(e)},children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.Input,{ref:A,disabled:y,name:"email",type:"email",placeholder:"email@time.com","aria-invalid":O,"aria-describedby":L?B:void 0,className:(0,n.cn)("h-10 w-full max-w-[201px] border-warm-grey-2 bg-white text-grey-1",O&&"border-brand-red"),required:!0,value:w,onChange:e=>j(e.target.value)}),(0,t.jsx)(l.default,{size:"md",type:"submit",disabled:y,"aria-busy":y,className:"h-10 w-[92px] px-4 py-3",children:g})]}),R&&(0,t.jsxs)("label",{className:"mt-2 flex items-start gap-2 font-graphik-compact text-[0.75rem] font-normal leading-[140%] text-grey-1",children:[(0,t.jsx)("input",{type:"checkbox",checked:P,onChange:e=>C(e.target.checked),className:"mt-px size-3 shrink-0 appearance-none rounded-sm border border-grey-1 checked:bg-grey-1"}),"Yes, I agree to receive promotions and news from Time."]}),!b&&(0,t.jsxs)("p",{className:"mt-2 font-graphik-compact text-[0.625rem] font-normal leading-[140%] text-grey-1",children:["By signing up you are agreeing to our"," ",(0,t.jsx)("a",{href:"https://legal.time.com/terms-of-service/",className:"underline",target:"_blank",rel:"noreferrer",children:"Terms of Service"})," ","and"," ",(0,t.jsx)("a",{href:"https://legal.time.com/us-privacy-policy/",className:"underline",target:"_blank",rel:"noreferrer",children:"Privacy Policy"}),"."]}),L&&(0,t.jsx)(f,{errorId:B,errorMessage:L})]}),(0,t.jsx)(p,{isSuccess:I})]})},p=(0,a.memo)(({isSuccess:e})=>(0,t.jsx)("div",{"aria-live":"assertive",className:(0,n.cn)(!e&&"sr-only",e&&"block rounded-sm bg-ivory-white px-3 py-2 text-center font-graphik-compact text-t4 text-black-coffee"),children:e?"Thank you for signing up!":""}));p.displayName="SuccessMessage";let f=(0,a.memo)(({errorId:e,errorMessage:a})=>(0,t.jsx)("p",{id:e,role:"alert",className:"absolute -bottom-5 left-0 font-graphik-compact text-caption-small text-brand-red",tabIndex:-1,children:a}));f.displayName="ErrorMessage",e.s(["default",0,e=>(0,t.jsx)(r.GoogleReCaptchaProvider,{reCaptchaKey:"6LeRFYwsAAAAAKWh_7LgTKJe13srl-Zw0P0KsECT",useEnterprise:!0,children:(0,t.jsx)(u,{...e})})])},266292,e=>{"use strict";var t=e.i(843476),a=e.i(285385),r=e.i(770562),l=e.i(963219),i=e.i(815316),s=e.i(271645),n=e.i(824207),c=e.i(702082),o=e.i(797510),d=e.i(238785),m=e.i(155263);e.s(["default",0,({block:e,className:u})=>{let{gap:p,ghostRef:f,sectionRef:h}=(()=>{let[e,t]=(0,s.useState)(5),[a,r]=(0,s.useState)(0),l=(0,s.useRef)(null),i=(0,s.useRef)(null),c=(0,s.useCallback)(()=>{t(l?.current?.offsetLeft??80)},[l]),o=(0,s.useCallback)(()=>{let e=i?.current?.offsetWidth??0;e<=1024?r(0):e>=1025&&e<=1440&&r(Math.max(16,124-(1440-e)/200*108))},[]);return(0,n.default)(i,()=>{c(),o()}),(0,s.useEffect)(()=>{queueMicrotask(()=>{c(),o()})},[c,o]),{offsetFromSide:e,gap:a,ghostRef:l,sectionRef:i}})(),x=e?.custom_pull_quote??{},{quote:g,citation:b,image_alignment:y}=x||{},v=x?.imageConnection?.edges?.[0]?.node,w=y===l.ImageAlignment.LEFT;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{"aria-hidden":"true",className:"!py-0",children:(0,t.jsx)("div",{ref:f})}),(0,t.jsxs)("div",{ref:h,className:(0,i.cn)("flex flex-col items-center bg-black-coffee lg:flex-row lg:justify-between",u,{"lg:pr-20":w,"lg:pl-20":!w}),style:{gap:p},...e?.$?.pull_quote,children:[(0,t.jsxs)("div",{className:(0,i.cn)("relative m-6 flex lg:m-0 lg:w-[22.57%]"),children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute -left-1 top-0 -translate-x-full font-editorial text-mobile-h1 text-ivory-white",children:"“"}),(0,t.jsxs)("figure",{className:"flex flex-col gap-4",children:[g&&(0,t.jsx)("blockquote",{className:"font-editorial text-h4 text-ivory-white lg:text-mobile-h1",children:(0,t.jsx)("p",{...x?.$?.quote,children:(0,t.jsx)(o.SanitizedPlainText,{text:`${g}”`})})}),b&&(0,t.jsx)("figcaption",{className:"font-graphik text-caption-large text-warm-grey-2",children:(0,t.jsx)("p",{...x?.$?.citation,children:(0,t.jsx)(o.SanitizedPlainText,{text:b})})})]})]}),(0,t.jsx)("div",{className:(0,i.cn)("w-full lg:w-[68.16%]",{"lg:order-first":w}),"data-cslp":(0,c.removeTrailingConnection)(x?.$?.imageConnection["data-cslp"]),"data-cslp-field-type":"Asset",children:v?.url&&(0,t.jsx)(a.default,{...(0,d.applyAspectRatios)((0,d.mapToCustomImageProps)(v),m.ASPECT_RATIOS.FIVE_FOUR,m.ASPECT_RATIOS.FIVE_SEVEN),sizes:"(max-width: 1025px) 100vw, 62.5rem"})})]})]})}],266292)},609060,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(815316),l=e.i(586119),i=e.i(972383),s=e.i(636831),n=e.i(387644),c=e.i(19477),o=e.i(618566),d=e.i(963219),m=e.i(675792),u=e.i(797510),p=e.i(752472);e.s(["default",0,({block:e,className:f,pageLevelTargetKeyVals:h,isStandardArticle:x,isExclusiveArticle:g,isCollectionItemPage:b=!1,disableAds:y=!1})=>{let{media_id:v,player_id:w,autoplay:j,poster_imageConnection:N,muted:_,aspect_ratio:T,loop:k,video_text:S,disable_recommendations:E,caption_fileConnection:P}=e?.jw_video??{},C=j??!0,A=(0,o.usePathname)(),M=N?.edges?.[0]?.node?.url,R=P?.edges?.[0]?.node?.url,$=g?c.componentType.exclusive:c.componentType.standard,I=T===d.JWVideoAspectRatio.RATIO_9_16,L=e?.$?.jw_video,O=e?.__typename==="BrandedContentBlocksJwVideo",B=S??void 0,z=!!B;return(0,a.useEffect)(()=>{(x||g)&&(v||w)&&A&&$&&(0,n.sendGTMEvent)({event:c.eventName.INTERNAL_CLICK,componentType:$,clickText:"inline video | impression",pagePath:A})},[x,g,v,w,A,$]),(0,t.jsxs)("div",{className:(0,r.cn)("flex flex-col items-center justify-center gap-2 lg:gap-4",{"mb-8":!!I,"lg:flex-row":!!I&&z},f),"data-testid":"inline-video-wrapper","data-cslp":L?.["data-cslp"],children:[z&&(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)("p",{className:"rich-text font-editorial text-h4 text-black-coffee",children:(0,t.jsx)(u.SanitizedPlainText,{text:B})})}),(0,t.jsx)("div",{className:(0,r.cn)("w-full lg:order-first",{"mx-auto max-w-xs":!!I}),"data-testid":"inline-video-media",children:(0,t.jsx)(i.ErrorBoundary,{errorComponent:s.default,children:(0,t.jsx)(l.default,{mediaId:v??"",playlistId:w??void 0,autostart:b&&C?"viewable":C,muted:!!C||(_??!0),loop:k??!1,disableAds:y,posterImage:M??void 0,captionFile:R??void 0,noRec:E??!1,aspect_ratio:T??d.JWVideoAspectRatio.RATIO_16_9,className:(0,m.getAspectRatioClass)(T),pageLevelTargetKeyVals:h,playerLibraryId:O?p.JW_BRANDED_PLAYER_ID:p.JW_MAIN_PLAYER_ID})})})]})}])},804850,e=>{"use strict";var t=e.i(843476),a=e.i(3303),r=e.i(271645);let l="aed26d2c40e88659639fda4d69a1fea3573b51a4541588f3052dd8136f948267";e.s(["default",0,({publicUserId:e=l,size:i,textColorRgba:s,backgroundColorRgba:n})=>((0,r.useEffect)(()=>{let e=document.createElement("script");return e.src="https://elevenlabs.io/player/audioNativeHelper.js",e.async=!0,document.body.append(e),()=>{e.remove()}},[]),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{id:"elevenlabs-audionative-widget","data-height":"small"===i?"90":"120","data-width":"100%","data-frameborder":"no","data-scrolling":"no","data-publicuserid":e,"data-playerurl":"https://elevenlabs.io/player/index.html","data-small":"small"===i?"True":"False","data-textcolor":s??"rgba(27, 27, 27, 1.0)","data-backgroundcolor":n??"rgba(255, 252, 248, 1.0)"}),(0,t.jsx)(a.default,{src:"https://elevenlabs.io/player/audioNativeHelper.js",strategy:"lazyOnload"})]}))])},480650,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(815316),l=e.i(619245),i=e.i(212044),s=e.i(220718);let n="time-predictor-widget-standard-slot";function c(e){let t=globalThis.matchMedia(l.RR_NEWSLETTER_BREAKPOINT);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}let o={__html:'
'},d={__html:``},m={__html:``},u={__html:""};e.s(["default",0,e=>{let n=(0,a.useSyncExternalStore)(c,()=>globalThis.matchMedia(l.RR_NEWSLETTER_BREAKPOINT).matches,()=>!1);return((0,a.useLayoutEffect)(()=>{if(void 0===e.primaryTag)return;let t=(0,s.normalizeMarfeelSection)(e.primaryTag);return(0,i.pushMarfeelCompassCommand)(e=>{e.setPageVar("Primary Tag",t)}),()=>{(0,i.pushMarfeelCompassCommand)(e=>{e.setPageVar("Primary Tag","")})}},[e.primaryTag]),"card"===e.block?.id)?(0,t.jsx)("div",{className:(0,r.cn)("mb-6 w-full empty:hidden",e.className),dangerouslySetInnerHTML:o}):e.isDesktopHost?(0,t.jsx)("div",{id:"time-predictor-widget-standard-desktop-host",className:(0,r.cn)("w-full empty:hidden",e.className),dangerouslySetInnerHTML:n?d:u}):(0,t.jsx)("div",{id:"time-predictor-widget-standard-mobile-host",className:(0,r.cn)("my-6 w-full empty:hidden [@media(min-width:1243px)]:hidden",e.className),dangerouslySetInnerHTML:n?u:m})}])},591859,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(3303),l=e.i(988509),i=e.i(963219),s=e.i(10197),n=e.i(713588),c=e.i(815316);e.s(["default",0,({providerNameSlug:e="",url:o="",className:d=""})=>{let[m,u]=(0,a.useState)(""),[p,f]=(0,a.useState)(),h=(0,a.useRef)(null),x=(0,a.useRef)(null),[g,b]=(0,a.useState)(null),[y,v]=(0,a.useState)(null);(0,a.useEffect)(()=>{(async()=>{if(!(e in l.PLATFORMS))return;if(b(null),v(null),e===i.SocialMediaPlatforms.DATAWRAPPER){let e,t=(e=o.match(/\/([\dA-Za-z]+)\/?\d*\/*$/))?e[1]:null;t&&(b(o),v(t),u(""),f(void 0));return}if(e===i.SocialMediaPlatforms.INSTAGRAM){let{endpointURL:t}=l.PLATFORMS[e](""),a=function(e){let t=e.match(/\/(p|reel|reels|tv)\/([^#/?]+)/);if(t&&t[2]){let e="reels"===t[1]?"reel":t[1],a=t[2];return`https://www.instagram.com/${e}/${a}/embed/captioned`}return e}(o);u(``),f(t);return}if(e===i.SocialMediaPlatforms.FACEBOOK){let e=encodeURIComponent(o),t=`https://www.facebook.com/plugins/post.php?href=${e}&show_text=true&width=500`;u(``),f(void 0);return}if(e===i.SocialMediaPlatforms.VIMEO){let e=function(e){try{let t=new URL(e.replaceAll("&","&"));if(!t.hostname.endsWith("vimeo.com"))return"";{let e=t.pathname.split("/").at(-1);if(e)return`https://player.vimeo.com/video/${e}?h=0&title=0&byline=0&portrait=0`;return""}}catch{return""}}(o);u(`
`),f(void 0);return}if(e===i.SocialMediaPlatforms.YOUTUBE){let e=function(e){try{let t=new URL(e.replaceAll("&","&")),a=null;if(!(a="youtu.be"===t.hostname?t.pathname.slice(1):t.pathname.startsWith("/shorts/")||t.pathname.startsWith("/embed/")?t.pathname.split("/")[2]:t.searchParams.get("v")))return e;let r=t.searchParams.get("t")||t.searchParams.get("start"),l=new URL(`https://www.youtube.com/embed/${a}`);return r&&l.searchParams.set("start",r),l.toString()}catch{return e}}(o);u(`
`),f(void 0);return}if(e===i.SocialMediaPlatforms.OMNYSTUDIO)return u(``);let t=o.endsWith("/")?o.slice(0,-1):o,{endpointURL:a,extraClass:r=""}=l.PLATFORMS[e](t);try{let e=await fetch(a),t=await e.json(),{embedHTML:l,scriptSrc:i}=function({html:e=""}){let t=/<\/script>/gi,a=t.exec(e);return a?{embedHTML:e.replaceAll(t,""),scriptSrc:a[1]}:{embedHTML:e}}(t);u(`${l}
`),f(i)}catch{}})()},[e,e,o]),(0,a.useEffect)(()=>{if(e===i.SocialMediaPlatforms.DATAWRAPPER&&y){let e=new Set(["https://datawrapper.dwcdn.net"]),t="datawrapper-height",a=a=>{if(!e.has(a.origin)||!h.current)return;let r=a.data;if("object"!=typeof r||null===r||!(t in r))return;let l=r[t][y];if(l){let e=h.current;e instanceof HTMLIFrameElement&&l!==x.current&&(e.style.height=l+"px",x.current=l)}};return window.addEventListener("message",a),()=>window.removeEventListener("message",a)}},[e,y]);let w=e!==i.SocialMediaPlatforms.YOUTUBE&&e!==i.SocialMediaPlatforms.OMNYSTUDIO&&e!==i.SocialMediaPlatforms.VIMEO&&e!==i.SocialMediaPlatforms.DATAWRAPPER,j=(0,c.cn)("col-span-full",{"flex justify-center lg:col-span-3 lg:col-start-3":w,"-mx-6 lg:mx-0":e===i.SocialMediaPlatforms.YOUTUBE||e===i.SocialMediaPlatforms.VIMEO},d);if(e===i.SocialMediaPlatforms.TWITTER){let e=o.replace("x.com","twitter.com");return(0,t.jsx)(s.default,{className:"lg:grid-cols-7",children:(0,t.jsx)(n.default,{className:j,"data-testid":"embed-column",children:(0,t.jsxs)("div",{children:[" ",(0,t.jsx)("blockquote",{className:"twitter-tweet","data-theme":"light","data-lang":"en","data-dnt":"true",children:(0,t.jsx)("a",{href:e})}),(0,t.jsx)(r.default,{src:"https://platform.twitter.com/widgets.js",strategy:"lazyOnload",onLoad:()=>{window.twttr&&window.twttr.widgets&&window.twttr.widgets.load(h.current)}})]},e)})})}return e===i.SocialMediaPlatforms.REDDIT?(0,t.jsx)(s.default,{className:"lg:grid-cols-7",children:(0,t.jsxs)(n.default,{className:j,children:[(0,t.jsx)("blockquote",{className:"reddit-card","data-card-created":Date.now(),children:(0,t.jsx)("a",{href:o})}),(0,t.jsx)(r.default,{src:l.PLATFORMS[i.SocialMediaPlatforms.REDDIT]("").endpointURL,strategy:"lazyOnload"})]})}):e===i.SocialMediaPlatforms.PINTEREST?(0,t.jsx)(s.default,{className:"lg:grid-cols-7",children:(0,t.jsxs)(n.default,{className:j,children:[(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)("a",{"data-pin-do":"embedPin","data-pin-scale-height":"240","data-pin-scale-width":"300",href:o})}),(0,t.jsx)(r.default,{src:l.PLATFORMS[i.SocialMediaPlatforms.PINTEREST]("").endpointURL,strategy:"lazyOnload"})]})}):g?(0,t.jsx)(s.default,{className:"lg:grid-cols-7",children:(0,t.jsx)(n.default,{className:"col-span-full",children:(0,t.jsx)("iframe",{ref:h,src:g,width:"100%",frameBorder:"0",scrolling:"no",title:"Datawrapper chart"})})}):(0,t.jsxs)(t.Fragment,{children:[p&&(0,t.jsx)(r.default,{src:p,strategy:"lazyOnload"}),(0,t.jsx)(s.default,{className:"lg:grid-cols-7",children:(0,t.jsx)(n.default,{className:j,"data-testid":"embed-column",children:(0,t.jsx)("div",{ref:h,dangerouslySetInnerHTML:{__html:m}})})})]})}],591859)},907964,468865,106571,e=>{"use strict";var t=e.i(843476),a=e.i(97872),r=e.i(700064),l=e.i(815316),i=e.i(5e3),s=e.i(591859),n=e.i(988509),c=e.i(797510);let o=({block:e,className:a})=>{let r=e?.pull_quote,{quote:i,citation:s,role:n,text_alignment:o}=r||{},d="mx-auto inline-block h-0.5 w-16 bg-brand-red/50 border-none";return(0,t.jsxs)("figure",{className:(0,l.cn)("flex w-full flex-col gap-6 py-8 lg:py-16 ",a,{[`text-${o}`]:o}),...e?.$?.pull_quote,children:[(0,t.jsx)("hr",{className:d}),(0,t.jsx)("blockquote",{className:"font-editorial text-h4 text-black-coffee",children:(0,t.jsx)("p",{...r?.$?.quote,children:(0,t.jsx)(c.SanitizedPlainText,{text:`“${i}”`})})}),(0,t.jsxs)("figcaption",{className:"font-graphik text-caption-small text-grey-1",children:[s&&(0,t.jsx)("cite",{className:"not-italic",...r?.$?.citation,children:(0,t.jsx)(c.SanitizedPlainText,{text:s})}),n&&(0,t.jsx)("strong",{className:"block",...r?.$?.role,children:(0,t.jsx)(c.SanitizedPlainText,{text:n})})]}),(0,t.jsx)("hr",{className:d})]})};e.s(["default",0,o],468865);var d=e.i(963219);let m=new Set([d.ContentBlockNames.HTML,d.ContentBlockNames.COLLECTION_ITEM_HTML,d.ContentBlockNames.PARTNER_ARTICLE_HTML,d.ContentBlockNames.BRANDED_CONTENT_HTML,d.ContentBlockNames.PAGE_HTML,d.ContentBlockNames.ARCHIVE_HTML]);function u(e){return"string"==typeof e&&/^h[1-6]$/.test(e)}function p(e){return e.normalize("NFKD").replaceAll(/[\u0300-\u036F]/g,"").toLowerCase().replaceAll(/[^\da-z]+/g,"-").replaceAll(/^-+|-+$/g,"")}function f(e){let t=function(e){let t=e.attrs?.id;if("string"==typeof t&&t.trim())return t.trim();let a=e=>{if(!e)return null;if("string"==typeof e.id&&e.id.trim())return e.id.trim();if(!Array.isArray(e.children))return null;for(let t of e.children){let e=a(t);if(e)return e}return null};return a(e)}(e);if(t){let e;return((e=t.trim().replaceAll(/\s+/g,""))?/^[\w-]+$/.test(e)?e:p(t):"")||null}return p((function e(t){return t?"string"==typeof t.text?t.text:Array.isArray(t.children)?t.children.map(t=>e(t)).join(""):"":""})(e).trim().replaceAll(/^\s*\d+\.\s+/g,"").trim())||null}function h(e,t,a){let r=e.uid;if("string"==typeof r&&r.trim().length>0)return r.trim();let l=`__fb_${t}_${a.current}`;return a.current+=1,l}e.s(["assignHeadingDomKey",0,h,"buildHeadingIdMap",0,function(e){let t=new Map,a=new Map;for(let[r,l]of e.entries()){if(!l?.__typename||!m.has(l.__typename))continue;let e=function(e){let t=e?.html?.html?.json;if(!t||"object"!=typeof t)return;let a=t.children;return Array.isArray(a)?a:void 0}(l);if(!e)continue;let i={current:0};!function e(t,a){if(t)for(let r of t)r&&u(r.type)&&a(r),e(r.children,a)}(e,e=>{let l=f(e);if(!l)return;let s=h(e,r,i);t.set(s,function(e,t){let a=t.get(e)??0;return t.set(e,a+1),0===a?e:`${e}-${a+1}`}(l,a))})}return t},"isRichTextHeadingType",0,u,"resolveHeadingFragmentBase",0,f],106571);let x={h1:"scroll-mt-24 font-editorial text-black-coffee text-mobile-h1 lg:scroll-mt-28 lg:text-h1 mb-4",h2:"scroll-mt-24 font-editorial text-black-coffee text-mobile-h2 lg:scroll-mt-28 lg:text-h2 mb-4",h3:"scroll-mt-24 font-editorial text-black-coffee text-mobile-h3 lg:scroll-mt-28 lg:text-h3 mb-4",h4:"scroll-mt-24 font-editorial text-black-coffee text-mobile-h4 lg:scroll-mt-28 lg:text-h4 mb-4",h5:"scroll-mt-24 font-editorial text-black-coffee text-mobile-h5 lg:scroll-mt-28 lg:text-h5 mb-4",h6:"scroll-mt-24 font-editorial text-black-coffee text-mobile-h6 lg:scroll-mt-28 lg:text-h6 mb-4"};function g(e,t,a,r,l,i){let s=function(e,t,a,r){if(!u(e.type)||!f(e))return"";let l=h(e,a,r),i=t?.get(l);return i?` id="${i}"`:""}(t,r,l,i);return`<${e}${s} class="${x[e]}">${a(t.children)}${e}>`}function b(e){if("number"==typeof e&&Number.isFinite(e))return e;if("string"!=typeof e||"auto"===e)return;let t=Number.parseInt(e,10);return Number.isNaN(t)?void 0:t}e.s(["default",0,({block:e,index:d=-1,align:m="left",className:u="",enableDropCap:p=!1,headingIds:f})=>{let h=structuredClone(e?.html?.html?.json),x=Math.max(0,d),y={current:0};return h?.children?(0,t.jsx)("div",{className:(0,l.cn)("font-graphik",u),"data-testid":"paragraph-content",...e?.html?.$?.html,children:h.children.map((e,v)=>{let w=e.type,j=e.uid||`pos-${v}`;if("blockquote"===w){let a,r;return a=e.children?.map(e=>e.text||"").join(""),r=e.attrs?.style?.["text-align"]||"left",(0,t.jsx)(o,{block:{pull_quote:{quote:a,text_alignment:r}}},`blockquote-${j}`)}if("social-embeds"===w||"embed"===w){let a;return a=e.attrs?.src||e.attrs?.url||"",(0,t.jsx)("div",{className:"my-8 w-full",children:(0,t.jsx)(s.default,{providerNameSlug:(0,n.detectProvider)(a),url:a})},`embed-${j}`)}if("reference"===w&&e.attrs?.type==="asset"){let a,r,l,s;return r=b((a=e.attrs??{}).width),l=b(a.height),s=!r||!l,(0,t.jsx)("div",{className:"my-8",children:(0,t.jsx)(i.default,{src:a["asset-link"]||a.url||"",alt:a["asset-name"]||"",caption:a["asset-caption"]||a.caption||"",credit:a["asset-credit"]||a.credit||"",fill:s,width:s?void 0:r,height:s?void 0:l,imageParentClass:s?"aspect-video":void 0})},`asset-${j}`)}let N={uid:"",rich_text_field:{type:"doc",children:[e]}};try{(0,a.jsonToHTML)({entry:N,paths:["rich_text_field"],renderOption:{a:(e,t)=>e.attrs?.url&&e.attrs?.url!==""?`${t(e.children)}`:t(e.children),p:(e,t)=>{let a=h?.children?.[0]===e;return`${t(e.children)}
`},h1:(e,t)=>g("h1",e,t,f,x,y),h2:(e,t)=>g("h2",e,t,f,x,y),h3:(e,t)=>g("h3",e,t,f,x,y),h4:(e,t)=>g("h4",e,t,f,x,y),h5:(e,t)=>g("h5",e,t,f,x,y),h6:(e,t)=>g("h6",e,t,f,x,y),bold:e=>`${e}`,italic:e=>`${e}`,underline:e=>`${e}`,strikeThrough:e=>`${e}`,inlineCode:e=>`${e}`,ul:(e,t)=>``,ol:(e,t)=>`${t(e.children)}
`,li:(e,t)=>`${t(e.children)}`,break:()=>"
",hr:()=>'
'}});let e="string"==typeof N.rich_text_field?N.rich_text_field:"";return(0,t.jsx)("div",{children:(0,t.jsx)(c.SanitizedRichText,{html:e})},`text-${j}`)}catch{return null}})}):null}],907964)},46093,e=>{"use strict";var t=e.i(843476),a=e.i(271645);e.s(["default",0,()=>((0,a.useEffect)(()=>{let e=document.createElement("script");return e.src="https://assets.time.com/charter/charter-validate.js",e.type="text/javascript",document.body.append(e),()=>{e.remove()}},[]),(0,t.jsxs)("div",{className:"component charter-newsletter-inline my-8 -ml-4 w-[calc(100%+32px)] bg-[#f5f5f5] px-[25px] pb-[30px] pt-5 sm:ml-0 sm:w-full",children:[(0,t.jsx)("div",{className:"mb-[25px] max-w-[400px] font-graphik text-2xl font-bold leading-[1.33] tracking-[0.82px]",children:"Sign up for Charter's newsletter to get the handbook for the future of work delivered to your inbox."}),(0,t.jsx)("div",{id:"mc_embed_signup",children:(0,t.jsx)("form",{method:"post",id:"mc-embedded-subscribe-form",name:"mc-embedded-subscribe-form",className:"validate",target:"_blank",noValidate:!0,children:(0,t.jsxs)("div",{id:"mc_embed_signup_scroll",children:[(0,t.jsxs)("div",{className:"mc-field-group mb-5 flex w-full flex-wrap",children:[(0,t.jsx)("label",{htmlFor:"mce-EMAIL",className:"hidden",children:"Email Address"}),(0,t.jsx)("input",{type:"email",defaultValue:"",name:"EMAIL",className:"required email grow border-0 border-b border-[#888] bg-transparent p-0 text-[13px] leading-[35px] tracking-[1px] outline-none placeholder:text-[#aaa] placeholder:opacity-100",id:"mce-EMAIL",placeholder:"Your email"}),(0,t.jsx)("input",{type:"submit",value:"Subscribe",name:"subscribe",id:"mc-embedded-subscribe",className:"button w-[115px] cursor-pointer border-0 border-b border-[#fe6363] bg-transparent p-0 text-left text-[13px] leading-[35px] tracking-[1px] text-[#fe6363] outline-none sm:w-[150px]"})]}),(0,t.jsxs)("div",{id:"mce-responses",className:"clear mb-5 mt-[-5px] tracking-[0.44px]",children:[(0,t.jsx)("div",{className:"response leading-normal",id:"mce-error-response",style:{display:"none"}}),(0,t.jsx)("div",{className:"response leading-normal",id:"mce-success-response",style:{display:"none"}})]})]})})}),(0,t.jsxs)("div",{className:"text-[13px] leading-[1.85] tracking-[1px] text-[#777]",children:["You can unsubscribe at any time. By signing up you are agreeing to our"," ",(0,t.jsx)("a",{href:"https://www.charterworks.com/terms-of-service/",target:"_blank",rel:"noopener noreferrer",className:"text-[#fe6363] underline hover:text-[#fe6363]",children:"Terms of Service"})," ","and"," ",(0,t.jsx)("a",{href:"https://www.charterworks.com/privacy-policy/",target:"_blank",rel:"noopener noreferrer",className:"text-[#fe6363] underline hover:text-[#fe6363]",children:"Privacy Policy"}),"."]})]}))])},105178,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(495277),l=e.i(26094);let i=({size:e="1rem",className:a,color:r="currentColor",alt:l,...i})=>(0,t.jsxs)("svg",{className:a,width:e,height:e,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[(0,t.jsx)("title",{children:l}),(0,t.jsxs)("g",{id:"Information Icon",children:[(0,t.jsx)("circle",{id:"Ellipse 4161",opacity:"0.7",cx:"16",cy:"16",r:"16",fill:"#D1C5BE"}),(0,t.jsx)("path",{id:"i",d:"M17.3409 20.791C17.3409 21.2727 17.3788 21.6305 17.4545 21.8645C17.5455 22.0847 17.7045 22.243 17.9318 22.3394C18.1591 22.4357 18.5152 22.4839 19 22.4839V23H13V22.4839C13.4848 22.4839 13.8409 22.4357 14.0682 22.3394C14.2955 22.243 14.447 22.0847 14.5227 21.8645C14.6136 21.6305 14.6591 21.2727 14.6591 20.791V14.7006C14.6591 14.1363 14.6288 13.751 14.5682 13.5445C14.5227 13.3381 14.3864 13.2348 14.1591 13.2348C13.9924 13.2348 13.7045 13.3105 13.2955 13.4619L13.0909 12.9458L14.8864 12.3058L16.8636 11.5626L17.3409 11.9135V20.791ZM15.8182 9.80774C15.3333 9.80774 14.9394 9.67699 14.6364 9.41548C14.3333 9.15398 14.1818 8.81677 14.1818 8.40387C14.1818 7.99097 14.3333 7.65376 14.6364 7.39226C14.9394 7.13075 15.3333 7 15.8182 7C16.303 7 16.697 7.13075 17 7.39226C17.303 7.65376 17.4545 7.99097 17.4545 8.40387C17.4545 8.81677 17.303 9.15398 17 9.41548C16.697 9.67699 16.303 9.80774 15.8182 9.80774Z",fill:r})]})]});var s=e.i(815316),n=e.i(285385),c=e.i(155263),o=e.i(797510);e.s(["default",0,({caption:e="",credit:d="",className:m="",cropOptions:u,shouldShowCaption:p=!1,captionClass:f="",dataCslp:h="",...x})=>{let[g,b]=(0,a.useState)(!1),y=()=>{b(!g)};return(0,t.jsxs)("figure",{"data-cslp":h,children:[(0,t.jsxs)("div",{className:(0,s.cn)("relative w-full",u&&(0,c.getAspectRatioClassNames)(u?.aspectRatio)),children:[(0,t.jsx)(n.default,{className:m,cropOptions:u,...x}),e&&!p&&(0,t.jsx)(r.default,{variant:"icon",onClick:y,className:(0,s.cn)("absolute bottom-2 right-2 lg:hidden",g?"hidden":"block"),children:(0,t.jsx)(i,{size:"2rem"})}),e&&(0,t.jsx)("div",{className:"absolute bottom-0 w-full lg:hidden",children:(0,t.jsxs)("p",{className:(0,s.cn)("bg-warm-grey-3 px-6 pb-10 pt-4 font-graphik-compact text-caption-small text-black-coffee lg:block",g?"block":"hidden"),children:[(0,t.jsx)(o.SanitizedPlainText,{text:e}),(0,t.jsx)(r.default,{variant:"icon",onClick:y,className:"absolute bottom-2 right-2 bg-white p-2",children:(0,t.jsx)(l.CloseIcon,{size:"1rem"})})]})})]}),(0,t.jsxs)("figcaption",{className:(0,s.cn)("rich-text text-left font-graphik text-caption-small text-grey-1",f),children:[e&&(0,t.jsx)("span",{className:(0,s.cn)("mr-1",{hidden:!p}),children:(0,t.jsx)(o.SanitizedPlainText,{text:e})}),d&&(0,t.jsx)("span",{className:"italic",children:(0,t.jsx)(o.SanitizedPlainText,{text:d})})]})]})}],105178)}]);