PageSourceSearch

https://time.com/replatform/_next/static/chunks/2r044qkiusl13.js

js time.com collected 2026-09-24 07:34:41 UTC 27,341 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,495242,431343,e=>{"use strict";var t=e.i(475254);let i=(0,t.default)("pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);e.s(["Pause",0,i],495242);let a=(0,t.default)("play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);e.s(["Play",0,a],431343)},894529,e=>{"use strict";var t=e.i(271645),i=e.i(212044),a=e.i(220718);let n=["contentType","articleType","templateType","wordCount","sponsorshipTag","videoOnPage","section","Primary Tag"];function r(e){let t=e.section?(0,a.normalizeMarfeelSection)(e.section):null,i=e.primaryTag?(0,a.normalizeMarfeelSection)(e.primaryTag):null;return{contentType:e.contentType??"",articleType:e.articleType??"",templateType:e.templateType??"",wordCount:null==e.wordCount?"":String(e.wordCount),sponsorshipTag:e.sponsorshipTag??"",videoOnPage:null==e.videoOnPage?"":String(e.videoOnPage),section:t??"","Primary Tag":i??""}}e.s(["default",0,function(e){let{contentType:a,articleType:s,templateType:o,wordCount:l,sponsorshipTag:u,videoOnPage:c,section:d,primaryTag:p}=e;return(0,t.useLayoutEffect)(()=>((0,i.setCurrentPageVars)(r(e)),()=>{(0,i.setCurrentPageVars)({})}),[a,s,o,l,u,c,d,p]),(0,t.useEffect)(()=>{let t=r(e);return(0,i.pushMarfeelCompassCommand)(e=>{for(let[i,a]of Object.entries(t))e.setPageVar(i,a)}),()=>{(0,i.pushMarfeelCompassCommand)(e=>{for(let t of n)e.setPageVar(t,"")})}},[a,s,o,l,u,c,d,p]),null}])},636831,e=>{"use strict";var t=e.i(843476);e.s(["default",0,()=>(0,t.jsx)(t.Fragment,{})])},443450,e=>{"use strict";var t=e.i(843476),i=e.i(818622),a=e.i(846932),n=e.i(271645),r=e.i(618566),s=e.i(853802),o=e.i(658954),l=e.i(998834),u=e.i(663152),c=e.i(167297),d=e.i(715411),p=e.i(822315),m=e.i(387644),f=e.i(19477),g=e.i(895751),h=e.i(4824),y=e.i(871689),v=e.i(37727),w=e.i(373820),x=e.i(678331);let E=({setIsExpanded:e})=>{let i=(0,r.usePathname)(),{resetThread:a}=(0,s.useAgentexRootController)(),n=(0,s.useAgentexRootStore)(e=>e.messages.length>0),o=(0,s.useAgentexRootStore)(e=>e.isMessageStreaming);return(0,t.jsxs)("div",{className:"flex items-center justify-between rounded-t-lg border-b border-gray-200 bg-white p-4 py-2",children:[(0,t.jsxs)("div",{className:"relative flex items-center gap-4",children:[(0,t.jsx)(w.IconButton,{className:"rounded-md border border-gray-200 p-2",icon:(0,t.jsx)(y.ArrowLeft,{size:20}),onClick:()=>void a(),gtmData:{event:f.eventName.INTERNAL_CLICK,componentType:f.componentType.scaleAgentExperience,pagePath:i,clickText:"back button"},disabled:!n||o}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(x.TimeaiLogoBlack,{className:"h-[35px] w-[124px] translate-y-[-6px]"}),(0,t.jsx)("span",{className:"absolute bottom-[-4px] right-[-24px] rounded-full bg-red-100 px-1.5 py-0.5 text-[8px] font-semibold uppercase text-red-600",children:"beta"})]})]}),(0,t.jsx)(w.IconButton,{icon:(0,t.jsx)(v.X,{size:20}),onClick:()=>e(!1)})]})};var b=e.i(495277),T=e.i(26094),j=e.i(884864),A=e.i(917591),k=e.i(287022),L=e.i(737806),S=e.i(486427),P=e.i(947414);function C(e){let t=(0,P.useConstant)(()=>(0,S.motionValue)(e)),{isStatic:i}=(0,n.useContext)(L.MotionConfigContext);if(i){let[,i]=(0,n.useState)(e);(0,n.useEffect)(()=>t.on("change",i),[])}return t}var _=e.i(344230),I=e.i(674008);function R(e,t){let i=C(t()),a=()=>i.set(t());return a(),(0,I.useIsomorphicLayoutEffect)(()=>{let t=()=>k.frame.preRender(a,!1,!0),i=e.map(e=>e.on("change",t));return()=>{i.forEach(e=>e()),(0,k.cancelFrame)(a)}}),i}function N(e,t,i,a){if("function"==typeof e){let t;return S.collectMotionValues.current=[],e(),t=R(S.collectMotionValues.current,e),S.collectMotionValues.current=void 0,t}if(void 0!==i&&!Array.isArray(i)&&"function"!=typeof t){var n=e,r=t,s=i,o=a;let l=(0,P.useConstant)(()=>Object.keys(s)),u=(0,P.useConstant)(()=>({}));for(let e of l)u[e]=N(n,r,s[e],o);return u}let l="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),i=t?0:-1,a=e[0+i],n=e[1+i],r=e[2+i],s=e[3+i],o=(0,_.interpolate)(n,r,s);return t?o(a):o}(t,i,a),u=Array.isArray(e)?M(e,l):M([e],([e])=>l(e)),c=Array.isArray(e)?void 0:e.accelerate;return c&&!c.isTransformed&&"function"!=typeof t&&Array.isArray(i)&&a?.clamp!==!1&&(u.accelerate={...c,times:t,keyframes:i,isTransformed:!0,...a?.ease?{ease:a.ease}:{}}),u}function M(e,t){let i=(0,P.useConstant)(()=>[]);return R(e,()=>{i.length=0;let a=e.length;for(let t=0;t<a;t++)i[t]=e[t].get();return t(i)})}let $=({stopAfter:e,disableAnimation:i})=>
1{let r,[s,o]=(0,n.useState)(!0),l=N((r=C(0),!function(e){let t=(0,n.useRef)(0),{isStatic:i}=(0,n.useContext)(L.MotionConfigContext);(0,n.useEffect)(()=>{if(i)return;let a=({timestamp:i,delta:a})=>{t.current||(t.current=i),e(i-t.current,a)};return k.frame.update(a,!0),()=>(0,k.cancelFrame)(a)},[e])}(e=>r.set(e)),r),[0,5e3],[0,360],{clamp:!1}),u=N(l,e=>`conic-gradient(from ${e}deg, transparent 0%, transparent 10%, red 40%, black 60%, red 80%, transparent 100%)`);return(0,n.useEffect)(()=>{if(!e)return;let t=setTimeout(()=>{o(!1)},e);return()=>clearTimeout(t)},[e]),(0,n.useEffect)(()=>{i&&queueMicrotask(()=>{o(!1)})},[i]),(0,t.jsx)(a.motion.div,{className:"absolute -inset-px z-[-1] rounded-lg",style:{background:s?u:"transparent"},initial:{opacity:0},animate:{opacity:+!!s},transition:{duration:2}})};var D=e.i(88653),z=e.i(225526);let O=({isExpanded:e})=>{let[r,s]=(0,z.useLocalStorage)("info-banner-cleared",!1),o=(0,i.useIsMobile)();return(0,n.useEffect)(()=>{e&&s(!0)},[e,s]),(0,t.jsx)(D.AnimatePresence,{children:!r&&!e&&(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-full z-[10001] mb-2 flex justify-center",children:(0,t.jsxs)(a.motion.div,{className:`relative flex w-full flex-col gap-1 rounded-lg border border-warm-grey-2 bg-ivory-white p-4  ${o?"max-w-[95dvw]":"max-w-[600px]"}`,initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.2,ease:"easeOut"},children:[(0,t.jsx)(b.default,{variant:"withIcon",onClick:()=>s(!0),className:"absolute -top-3 right-[-6px] z-20 flex size-6 items-center justify-center rounded-full bg-ivory-white shadow-lg lg:-right-3 support:hover:bg-warm-grey-2","aria-label":"Close info banner",children:(0,t.jsx)(T.CloseIcon,{className:"size-4"})}),(0,t.jsx)("p",{className:"pr-6 font-graphik-compact",children:"Explore the full archive of TIME, a century of journalism, insight, and perspective, with AI that helps you research, connect ideas, and uncover stories across every era and topic."})]})})})};var U=e.i(657523);p.default.extend(g.default),p.default.extend(h.default);let V=({isExpanded:e,setIsExpanded:i,isVisible:g,setIsVisible:h,articleTitle:y,postId:v})=>{let w=(0,s.useAgentexRootStore)(e=>e.messages.length>0),x=(0,s.useAgentexRootStore)(e=>e.task),k=(0,s.useAgentexRootStore)(e=>e.isTaskPending),L=(0,r.usePathname)(),{sendMessage:S,createTask:P}=(0,s.useAgentexRootController)(),C=(0,n.useRef)(null),_=(0,U.isMobile)(),I=(0,n.useCallback)(async e=>
1{""!==e.trim()&&((0,m.sendGTMEvent)({event:f.eventName.FORM_SUBMIT,componentType:f.componentType.scaleAgentExperience,inputType:"userPrompt",promptText:e,pagePath:L}),await S(e).finally(()=>{C.current&&C.current.scrollTo({top:C.current.scrollHeight,behavior:"smooth"})}))},[S,L]),R=(0,n.useCallback)(async()=>{if(i(!0),"function"==typeof window.jwplayer){let e=window.jwplayer(),t=e.getState?.();e&&"function"==typeof e.pause&&"playing"===t&&e.pause()}null!==x||k||await P({user_language:navigator.language,user_timezone:p.default.tz.guess(),user_local_time:(0,p.default)().tz(p.default.tz.guess()).format("HH:mm:ss"),...void 0!==v&&""!==v&&{post_id:v}})},[i,x,k,P,v]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(a.motion.div,{className:"relative flex size-full flex-col items-center gap-4 overflow-y-auto bg-white [overscroll-behavior:contain] [touch-action:pan-y]",initial:{visibility:e?"visible":"hidden"},animate:{visibility:e?"visible":"hidden"},transition:{delay:.5*!e},ref:C,children:[(0,t.jsx)(a.motion.div,{className:"sticky top-0 z-10 w-full",initial:{opacity:0,display:"none"},animate:{opacity:1,display:"block"},exit:{opacity:0,display:"none"},transition:{ease:"easeOut"},children:(0,t.jsx)(E,{setIsExpanded:i})}),(0,t.jsxs)(o.ActiveAudioProvider,{children:[w?(0,t.jsx)(c.Thread,{}):(0,t.jsx)(d.Welcome,{onSelectPrompt:I,onMinimize:()=>i(!1),articleTitle:y}),(0,t.jsx)(l.StickyPodcastPlayer,{isExpanded:e})]})]}),(0,t.jsxs)(a.motion.div,{className:"relative flex w-full flex-row items-center justify-center bg-transparent align-middle",children:[(0,t.jsxs)(a.motion.div,{className:"w-full",initial:{opacity:+!!g},animate:{opacity:+!!g},transition:{duration:g?.8:_?.2:.3,delay:g||_?0:.4,ease:"backIn"},style:{pointerEvents:g?"auto":"none"},children:[(0,t.jsx)(O,{isExpanded:e}),(0,t.jsxs)(a.motion.div,{className:"relative shadow-lg",animate:{marginRight:e?"0rem":"4rem"},children:[(0,t.jsx)(u.PromptInput,{isExpanded:e,onClick:()=>void R(),onSubmit:I}),!e&&g&&(0,t.jsx)($,{})]})]}),!e&&(0,t.jsx)(b.default,{variant:"withIcon",className:"absolute right-1 z-20 rounded-full bg-white shadow-lg","aria-label":"Toggle AI Assistant",onClick:()=>{(0,m.sendGTMEvent)({event:f.eventName.INTERNAL_CLICK,componentType:f.componentType.scaleAgentExperience,clickText:g?"collapse":"expand",pagePath:L}),h(!g)},children:(0,t.jsx)(a.motion.div,{animate:{rotate:360*!!g},transition:{duration:.8,ease:"easeInOut"},className:"flex items-center justify-center p-4 ",children:g?(0,t.jsx)(T.CloseIcon,{color:A.colors.brand.red,className:"size-6"}):(0,t.jsx)(j.TimeAiSparkles,{asChild:!0})})})]})]})};var q=e.i(60533);e.i(291749);var W=e.i(883348),B=e.i(374774),J=e.i(623978),F=e.i(580554),K=e.i(815316);let Y=new W.default({baseURL:`${window.location.origin}/api/agentex`});e.s(["ScaleAgentOverlay",0,({bottomOffset:e=84,collapseOnOutsideInteraction:o=!0,articleTitle:l,postId:u})=>{let[c,d]=(0,n.useState)(!1),[p,g]=(0,n.useState)(!1),[h,y]=(0,n.useState)(!0),[v,w]=(0,n.useState)(!1),[x,E]=(0,n.useState)(!1),[b,T]=(0,n.useState)("z-[10001]");(0,F.useScrollLock)(p);let j=(0,n.useRef)(!1),k=(0,r.usePathname)(),L=(0,n.useRef)(null),S=(0,i.useIsMobile)(),P=(0,n.useRef)(p);(0,n.useEffect)(()=>{let e=sessionStorage.getItem("agentCollapsed");null===e?y(!0):y("true"!==e)},[]),(0,n.useEffect)(()=>{if(!j.current){j.current=!0;return}sessionStorage.setItem("agentCollapsed",String(!h))},[h]),(0,n.useEffect)(()=>{p?(0,B.pauseAllAdTimers)():(0,B.resumeAllAdTimers)()},[p]),(0,n.useEffect)(()=>{let e;return p?queueMicrotask(()=>{T("z-[2147483645]")}):e=setTimeout(()=>{T("z-[10001]")},q.DESKTOP_EXPAND_DELAY+200),()=>clearTimeout(e)},[p]),(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&p&&g(!1)};return P.current!==p&&((0,m.sendGTMEvent)({event:f.eventName.INTERNAL_CLICK,componentType:f.componentType.scaleAgentExperience,clickText:p?"open":"close",pagePath:k}),P.current=p),document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[p,g,k]);let C=(0,n.useCallback)(()=>{(0,m.sendGTMEvent)({event:f.eventName.SYSTEM_ERROR,componentType:f.componentType.scaleAgentExperience,errorType:"Agent Initialization",pagePath:k}),w(!0)},[w,k]);return((0,n.useEffect)(()=>{let e=()=>{window.scrollY/(document.body.scrollHeight-window.innerHeight)*100>=15&&d(!0)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[]),(0,n.useEffect)(()=>
1{if(!o||!p)return;let e=e=>{let t=L.current;if(!t)return;let i=e.target;i&&t.contains(i)||g(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e,{passive:!0}),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[o,p]),(0,J.useFocusTrap)(L,{isActive:p,onClose:()=>g(!1)}),v||!c)?null:(0,t.jsx)(a.motion.div,{id:"scale-agent-overlay-container","data-isexpanded":p,ref:L,role:"dialog","aria-modal":"true","aria-label":"chat with time ai",className:(0,K.cn)("fixed right-2 w-full rounded-lg lg:right-20",b,{"right-0 lg:right-0":p}),initial:{bottom:"-150px",width:h?S?"95dvw":"600px":"40px"},animate:{width:p?"calc(100dvw)":h?S?"95dvw":"600px":"64px",bottom:x?p?"0px":`${e}px`:"-150px"},transition:{bottom:{duration:.8,type:"spring",bounce:.05,delay:S?0:p?q.DESKTOP_EXPAND_DELAY:0},width:{duration:.5,type:"spring",damping:20,mass:1,delay:S||p?0:q.DESKTOP_EXPAND_DELAY+.15},borderRadius:{duration:.5,type:"spring",damping:20}},children:(0,t.jsx)(a.motion.div,{className:"relative flex h-full flex-col items-center rounded-lg",animate:{height:p?"calc(100dvh)":"64px",backgroundColor:p?A.colors.white:A.colors.transparent},transition:{backgroundColor:{delay:.7*!p,ease:"easeInOut"},duration:.8,type:"spring",bounce:.05,delay:S?0:p?q.DESKTOP_EXPAND_DELAY:0},children:(0,t.jsx)(s.AgentexRoot,{agentexClient:Y,onError:C,onAgentexLoaded:()=>E(!0),children:(0,t.jsx)(V,{isExpanded:p,setIsExpanded:g,isVisible:h,setIsVisible:y,articleTitle:l,postId:u})})})})}],443450)},480712,568120,e=>{"use strict";var t=e.i(311066),i=e.i(843476),a=e.i(271645);e.s(["SpinnerShell",0,({children:e,onChildReady:n})=>{let[r,s]=a.default.useState(!0),o=a.default.useCallback(()=>{s(!1),n?.()},[n]);return(0,i.jsxs)("div",{className:"relative",children:[r&&(0,i.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center bg-white",children:(0,i.jsx)(t.default,{})}),a.default.isValidElement(e)&&a.default.cloneElement(e,{onLoaded:o})]})}],568120),e.s([],480712)},311066,e=>{"use strict";var t=e.i(843476),i=e.i(815316);e.s(["default",0,({size:e=48,className:a,isVideo:n=!1,...r})=>n?(0,t.jsx)("svg",{width:e,height:e,...r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,i.cn)("animate-spin [animation-duration:1.5s]",a),children:(0,t.jsxs)("g",{id:"Size=24, Weight=01 Thin, State=Inactive, Style=Sharp",children:[(0,t.jsx)("path",{id:"Line 4",opacity:"0.9",d:"M12 6.5V2.5",stroke:"#E2E0E8",strokeLinecap:"square"}),(0,t.jsx)("path",{id:"Line 4 Copy",opacity:"0.5",d:"M12 21.5V17.5",stroke:"#E2E0E8",strokeLinecap:"square"}),(0,t.jsx)("path",{id:"Line 4_2",d:"M15.8894 8.11094L18.7178 5.28251",stroke:"#E2E0E8",strokeLinecap:"square"}),(0,t.jsx)("path",{id:"Line 4 Copy_2",opacity:"0.6",d:"M5.28294 18.7176L8.11137 15.8892",stroke:"#E2E0E8",strokeLinecap:"square"}),(0,t.jsx)("path",{id:"Line 4_3",opacity:"0.4",d:"M15.8893 15.8891L18.7177 18.7176",stroke:"#E2E0E8",strokeLinecap:"square"}),(0,t.jsx)("path",{id:"Line 4 Copy_3",opacity:"0.8",d:"M5.28286 5.28245L8.11129 8.11088",stroke:"#E2E0E8",strokeLinecap:"square"}),(0,t.jsx)("path",{id:"Line 3",opacity:"0.3",d:"M17.5 12H21.5",stroke:"#E2E0E8",strokeLinecap:"square"}),(0,t.jsx)("path",{id:"Line 3 Copy",opacity:"0.7",d:"M2.5 12H6.5",stroke:"#E2E0E8",strokeLinecap:"square"})]})}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,...r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:(0,i.cn)("animate-spin text-brand-red",a),children:(0,t.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})])},623978,e=>{"use strict";var t=e.i(271645);e.s(["useFocusTrap",0,function(e,{isActive:i,onClose:a,triggerRef:n}){(0,t.useEffect)(()=>{if(!i||!e.current)return;let t=t=>{if(!e.current)return;let i=document.activeElement,r=e.current.querySelectorAll('button:not(:disabled), [href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"]):not(:disabled)'),s=r[0],o=r[r?.length-1];if("Escape"===t.key||"Enter"===t.key&&i?.dataset.closeButton==="true")t.preventDefault(),a(),n?.current?.focus();else if("Tab"===t.key){if(!s||!o)return;t.shiftKey&&i===s?(t.preventDefault(),o.focus()):t.shiftKey||i!==o||(t.preventDefault(),s.focus())}};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[i,e,a,n])}])},580554,e=>{"use strict";var t=e.i(271645),i=e.i(818622);e.s(["useScrollLock",0,function(e){let a=(0,t.useRef)(0),n=(0,i.useIsMobile)(),r=(0,t.useRef)(""),s=(0,t.useRef)("");(0,t.useEffect)(()=>
1{if("u"<typeof document)return;let t=document.body,i=()=>{t.style.overflow=r.current||"",t.style.touchAction=s.current||"",t.style.position="",t.style.top="",t.style.left="",t.style.right="",t.style.width=""};if(e)return r.current=t.style.overflow,s.current=t.style.touchAction,n&&(a.current=window.scrollY,t.style.position="fixed",t.style.top=`-${a.current}px`,t.style.left="0",t.style.right="0",t.style.width="100%"),t.style.overflow="hidden",t.style.touchAction="none",i;{let e=a.current;return n&&window.scrollTo({top:e,behavior:"instant"}),t.style.overflow=r.current||"",t.style.touchAction=s.current||"",n&&(t.style.position="",t.style.top="",t.style.left="",t.style.right="",t.style.width=""),i}},[e,n])}])},752472,45407,e=>{"use strict";var t,i=e.i(247167),a=e.i(82490),n=e.i(374774),r=e.i(505489),s=e.i(25667),o=e.i(634727),l=e.i(964882),u=e.i(778497);let c="https://cdn.jwplayer.com/v2",d=new Set([404,410,451]),p=new Set([500,502,503,504,522,524]);class m extends Error{path;attempts;status;constructor(e,t,i,a){super(`[JW]: request to '${e}' failed after ${t} attempt(s)${void 0===i?"":` with status ${i}`}`,{cause:a}),this.path=e,this.attempts=t,this.status=i,this.name="JwFetchError"}}let f=(e,t)=>{let i=new Map;return{get(e){let t=i.get(e);if(t)return t.expiresAt<=Date.now()?void i.delete(e):t.value},set(a,n){if(i.delete(a),i.set(a,{value:n,expiresAt:Date.now()+e}),i.size>t){let e=i.keys().next().value;void 0!==e&&i.delete(e)}},clear(){i.clear()}}},g=f(3e5,500),h=f(6e4,500),y=(e,t,i)=>{h.get(e)||(h.set(e,!0),(0,u.logWarn)({message:t,context:i}))},v=e=>new Promise(t=>{setTimeout(t,e)}),w=e=>{let t=150*2**(e-1);return t+Math.random()*t},x=()=>{},E=e=>{e.body?.cancel().catch(x)},b=(e,t)=>{let i=new AbortController,a=!1,n=()=>i.abort(e?.reason);e?.addEventListener("abort",n,{once:!0}),e?.aborted&&n();let r=t>0?setTimeout(()=>{a=!0,i.abort()},t):void 0;return{signal:i.signal,didTimeOut:()=>a,dispose:()=>{void 0!==r&&clearTimeout(r),e?.removeEventListener("abort",n)}}},T=async(e,t={})=>{let i,a,n=t.method??"GET",r=t.timeoutMs??5e3,s=Math.max(0,t.maxRetries??1),o=`${n} ${e}`,l=g.get(o);if(void 0!==l)return{outcome:"missing",status:l};let u=0;for(let l=0;l<=s;l++){l>0&&await v(w(l));let s=b(t.signal,r);u+=1;try{let r=await fetch(`${c}/${e}`,{method:n,signal:s.signal,...void 0!==t.revalidate&&{next:{revalidate:t.revalidate}}});if(r.ok){let e="HEAD"===n?void 0:await r.json();return{outcome:"ok",data:e}}if(E(r),d.has(r.status))return g.set(o,r.status),y(`missing:${o}`,"[JW]: asset unavailable",{metric:"jw.asset.missing",path:e,method:n,status:r.status}),{outcome:"missing",status:r.status};if(i=r.status,a=void 0,!p.has(r.status))break}catch(e){if(i=void 0,a=e,t.signal?.aborted||s.didTimeOut())break}finally{s.dispose()}}throw y(`failed:${o}`,"[JW]: request failed",{metric:"jw.request.failed",path:e,method:n,attempts:u,...void 0!==i&&{status:i}}),new m(e,u,i,a)};e.s(["JW_V2_FEED_BASE",0,c,"JwFetchError",0,m,"jwFetch",0,T],45407);var j=e.i(894706);let A=0,k=i.default.env.NEXT_PUBLIC_JW_PLAYER_ID||"1BWlFwPe",L="https://cdn.jwplayer.com/manifests/",S="https://cdn.jwplayer.com/videos/";async function P(e){let t=e.trim();if(!t)return!1;let i=globalThis.location?.hostname,a=i?`?${new URLSearchParams({page_domain:i}).toString()}`:"";try{let e=await T(`playlists/${t}${a}`,{method:"HEAD",maxRetries:0});return"missing"===e.outcome&&404===e.status}catch{return!1}}async function C(e,t,i,a,n){try{var r;let t=await T(e,{maxRetries:0});if("ok"!==t.outcome)throw Error("JW v2 asset unavailable");let s=t.data,o=s.playlist?.[0];if(null==o||"object"!=typeof o)throw Error("JW v2 missing playlist");let l={...o};return i&&(l.image=i),n&&(l.title=n),a&&(l.tracks=[...(r=l.tracks,Array.isArray(r)?r.filter(e=>"object"==typeof e&&null!==e&&"captions"!==e.kind):[]),{file:a,kind:"captions",default:!0}]),[l]}catch{if(t.length>0)return[{mediaid:t,...i&&{image:i},...n&&{title:n},sources:[{file:`${L}${t}.m3u8`,type:"hls"},{file:`${L}${t}.mpd`,type:"dash"},{file:`${S}${t}.mp4`,type:"mp4"}],...a&&{tracks:[{file:a,kind:"captions",default:!0}]}}];return`${c}/${e}`}}let _="640x360";var I=((t=I||{}).VIDEO_ID="vid",t.TAGS="tags",t.POS="pos",t.VERTICAL="vertical",t.PLACEMENT="plcmt",t);function R(e,{customParams:t=new URLSearchParams,isLiveStream:i=!1}={}){var o,l;let{primarysection:u="",contentType:c=""}=(0,n.getPageLevelAdTargetingKeyVals)(),{testads:d=""}=(0,s.getQueryParams)();d&&t.set("testads",d);let p=`preroll${A+1}`,[m,f]=e.split("?",2),g=`${a.BASE_AD_UNIT_PATH}/${"homepage"===u?"home":u}/${p}`;({base:m,adUnit:g}=(o=m,l=g,i&&(o=o.replace("/gampad","/gampad/live"),l=`${a.BASE_AD_UNIT_PATH}/video/live`),{base:o,adUnit:l}));let h=new URLSearchParams(f);h.set("iu",g);let y=h.get("cust_params")??"";h.delete("cust_params");let v=new URLSearchParams(`${y}&${t.toString()}`),w=v.get("npa");w&&(h.set("npa",w),v.delete("npa"));let x=v.getAll("tags").join(",");v.delete("tags"),v.set("tags",x),v.set("vertical","false"),i||c===r.ContentType.VIDEO_COLLECTION||c===r.ContentType.ARTICLE_VIDEO?v.set("plcmt","1"):v.set("plcmt","2"),v.set("vid",h.get("vid")||""),v.set("pos",p);let E=(0,s.getEncodedParams)(v);for(let[e,t]of h)t.includes(",")&&h.set(e,encodeURIComponent(t)),("description_url"===e||"url"===e)&&h.set(e,encodeURIComponent(t));return`${m}?${decodeURIComponent(h.toString())}&cust_params=${E}`}async function N(e,{mediaId:t="",playlistId:i,autostart:a=!1,disableAds:r=!1,noRec:s=!1,disableRelated:d=!1,vertical:p=!1,dynamicAspect:m=!1,autoPauseAds:f=!0,floatingPlayer:g=!0,generateSEOMetadata:h=!1,controls:y=!0,stretching:v="uniform",muted:w=!0,loop:x=!1,aspect_ratio:E,displaytitle:b=!0,pageLevelTargetKeyVals:T,posterImage:j,captionFile:k,titleOverride:L},{onSetupError:S}={}){let P;if(void 0===window.jwplayer)return;let I=!!t&&(j||k||L),M=i&&!I?`playlists/${i}`:`media/${t}`,$=window.jwplayer(e),D={playlist:I?await C(M,t,j,k,L):`${c}/${M}`,displaytitle:b,mute:!0===a||"viewable"===a||w,repeat:x,controls:y,stretching:v,autostart:a,generateSEOMetadata:h,autoPause:{pauseAds:f},floating:{mode:g&&!p?"notVisible":"never"}};D.plugins={"//cdn-ext.spiny.ai/spec/jwp/pandora-jwp.js":{}},!m&&(p||E)&&(D.aspectratio=p?"9:16":E),s?(D.nextUpDisplay=!1,D.related={displayMode:"none"}):d&&(D.related={displayMode:"none"}),r&&(D.advertising=void 0);let z=!0;return S&&$.on("setupError",e=>{if(z){P=e;return}S(e,$)}),$.setup(D,{analytics:{dataLayer:!0}}),z=!1,r||function(e,t){let{advertising:{schedule:i=[]}={}}=window.jwplayer?.defaults??{};e.setPlaylistItemCallback(async e=>{let a=await new Promise(e=>{let t,i=!1,a=t=>{i||(i=!0,e(t))},n="tuser_interacted_with_banner",r=!1,s=()=>
1{if(void 0===t&&"function"==typeof window.__tcfapi)try{window.__tcfapi("ping",2,e=>{if(e?.cmpStatus==="loaded"&&!(t=!!e?.gdprApplies))return void a(!0)})}catch{}if(!0===t&&!r&&"function"==typeof window.__tcfapi){r=!0,window.__tcfapi("addEventListener",2,e=>{let t="true"===localStorage.getItem(n),i=e?.eventStatus==="useractioncomplete",r=e?.eventStatus==="tcloaded"&&!!e?.tcString&&t,s=e?.eventStatus==="tcloaded"&&!t;if(i||r){let e=window.customKetchConsent?.behavioral_advertising??!1;i&&localStorage.setItem(n,"true"),a(e)}else if(s){let e=()=>{"function"==typeof window.ketch?window.ketch("showConsent"):setTimeout(e,200)};e()}});return}r||setTimeout(s,200)};s()});e.link=globalThis.location.href;let r=[...i],s=r.shift();if(void 0===s)return e;let c=(0,n.getPageLevelAdTargetingKeyVals)(),d=c.sponsorshipTag||t?.sponsorshipTag;d&&!c.sponsorshipTag&&(d=(0,n.processSponsorshipTagSplit)(d));let{sponsorshipTag:p,...m}=t||{},f={...c,...m,...d&&{sponsorshipTag:d}},g=new URLSearchParams(f);a||g.set("npa","1");let h=R(s?.tag,{customParams:g}),y=new URL(h).searchParams.get("iu")??"";return new Promise(t=>{Promise.allSettled([new Promise(e=>{void 0===window.apstag?e(""):window.apstag.fetchBids({slots:[{slotID:"preroll",mediaType:"video",sizes:[[640,360]]}]},(t=[])=>{e(t.filter(e=>e.mediaType&&"video"===e.mediaType).map(e=>e.qsParams).join(""))})}).catch(e=>(0,u.logError)({message:"[JW]: APS bidding params request failed",error:e})),function(e){let t=new URL(e).searchParams.get("iu")??"",[i,a]=_.split("x").map(Number);return(0,l.defineDvtagSlot)(t,{id:t,sizes:[{width:i,height:a}],position:"video"}),new Promise(e=>{(0,l.onDvtagReady)(()=>{let i;try{i=(0,l.getDvtagTargeting)(t)}catch(e){(0,u.logError)({message:"[JW]: DV quality targeting request failed",error:e,context:{adUnitPath:t}})}e(i)})})}(h),function(e,t,i={},a=5e3){return new Promise((n,r)=>{let s;try{let o=window.mnjs||{};o.que=o.que||[],window.mnjs.que.push(function(){window.mnjs.requestVideoBids?.({adUnitPath:e,id:t,params:i,callback:function(e){clearTimeout(s),n(e)}})}),s=setTimeout(()=>r(Error("Media.net Timeout")),a)}catch(e){void 0!==s&&clearTimeout(s),r(e)}}).catch(i=>(0,u.logWarn)({message:"[JW]: Media.net video bidding failed; continuing without bid params",error:i,context:{adUnitPath:e,id:t}}))}(y,y,{iu:y,ad_type:"video",sz:_,vpos:"preroll",description_url:globalThis.location.href,cust_params:f}),new Promise(e=>{if(!(0,o.iasAvailable)())return void e("");let t=setTimeout(()=>e(""),300);(0,o.getIASVideoTargeting)(y,y).then(i=>{clearTimeout(t),e(i)}).catch(()=>{clearTimeout(t),e("")})})]).then(i=>{let[n="",o,l,u=""]=i.filter(e=>"fulfilled"===e.status).map(e=>e.value);h=l||h;let c=function(e){if(!e)return"";let t=new URLSearchParams;for(let[i,a]of Object.entries(e))Array.isArray(a)&&0!==a.length&&t.set(i.toLowerCase(),a.join(","));return t.toString()}(o),d=new URLSearchParams(`${n}&${c}&${u}`);a||d.set("npa","1");let p=R(h,{customParams:d,isLiveStream:!1}),m=[{...s,tag:p},...r];t({...e,adschedule:m})}).catch(()=>{t()}).finally(()=>{A+=1})})})}($,T),P&&S&&S(P,$),$}j.default.object({playlist:j.default.array(j.default.object({title:j.default.string(),description:j.default.string(),link:j.default.string(),image:j.default.string(),duration:j.default.number(),pubdate:j.default.number(),updated:j.default.preprocess(e=>{if("string"!=typeof e)return e;let t=Number(e);return e.trim()&&Number.isFinite(t)?t:void 0},j.default.number().optional()),primarytag:j.default.string().optional(),tags:j.default.string().optional(),short_title:j.default.string().optional(),sources:j.default.array(j.default.object({file:j.default.string(),type:j.default.string(),width:j.default.number().optional(),height:j.default.number().optional()})).min(1)})).min(1)});let M=j.default.object({mediaid:j.default.string(),title:j.default.string(),image:j.default.string().optional(),duration:j.default.number().optional(),pubdate:j.default.number().optional(),description:j.default.string().optional(),short_title:j.default.string().optional()});j.default.object({playlist:j.default.array(M)}),e.s(["JW_BRANDED_PLAYER_ID",0,"Bo1OjIIk","JW_MAIN_PLAYER_ID",0,k,"JW_PLAYER_MANIFEST_URL",0,L,"JW_PLAYER_VIDEO_URL",0,S,"isJwPlaylistMissing",0,P,"setUpPlayer",0,N],752472)},220718,e=>{"use strict";e.s(["normalizeMarfeelSection",0,function(e){let t=e.trim();if(!t)return"";let i=t.replaceAll(/[^a-z]/gi,"");return i.length>0&&i.length<=2?`${[...i.toUpperCase()].join(".")}.`:t.split(/[\s_-]+/).map(e=>{let t;return(t=e.replaceAll(/[^\da-z]/gi,""))?/^[a-z]{1,2}$/i.test(t)?`${[...t.toUpperCase()].join(".")}.`:t[0].toUpperCase()+t.slice(1).toLowerCase():""}
1).filter(Boolean).join(" ")}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.