PageSourceSearch

https://ft-news.com/_next/static/chunks/app/page-1235981cd07d52f3.js?dpl=dpl_8Xzd478cvQbaEmbir78VX1WNcMG9

js ft-news.com collected 2026-10-02 21:30:53 UTC 13,563 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b12dcbb5-fbd2-42d3-93a3-28f6a81821b2",e._sentryDebugIdIdentifier="sentry-dbid-b12dcbb5-fbd2-42d3-93a3-28f6a81821b2")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{4902:function(e,t,r){Promise.resolve().then(r.bind(r,9871)),Promise.resolve().then(r.bind(r,5827)),Promise.resolve().then(r.bind(r,4775)),Promise.resolve().then(r.bind(r,6741)),Promise.resolve().then(r.bind(r,4002)),Promise.resolve().then(r.bind(r,906)),Promise.resolve().then(r.bind(r,3429)),Promise.resolve().then(r.t.bind(r,2972,23)),Promise.resolve().then(r.t.bind(r,8003,23))},2837:function(e,t,r){"use strict";r.d(t,{BJ:function(){return l},r:function(){return n},wW:function(){return o}}),r(3079);var a=r(2119),n=(0,a.$)("0030fdd8d1a516eec5ea3eab3e031a2db41a883f"),o=(0,a.$)("e2a3f96c424bb77b78aca8a5667e5eb4ee765abf");(0,a.$)("3acb8f59568f7e7edd2772e7a77223f107f7e20a");var l=(0,a.$)("7ac3ad72cbdb809dea71786fd98500b6257ca644")},9871:function(e,t,r){"use strict";r.d(t,{HeroCarousel:function(){return s}});var a=r(7437),n=r(7648),o=r(2265),l=r(5827),i=r(6709);function s(e){let{slides:t}=e,[r,n]=(0,o.useState)(0),[l,s]=(0,o.useState)(!1),[h,f]=(0,o.useState)(!1),v=(0,o.useRef)(null),p=t.length;(0,o.useEffect)(()=>{if(!window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)");f(e.matches);let t=e=>f(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let b=(0,o.useCallback)(e=>{0!==p&&n((e%p+p)%p)},[p]),m=(0,o.useCallback)(()=>b(r-1),[b,r]),_=(0,o.useCallback)(()=>b(r+1),[b,r]);(0,o.useEffect)(()=>{if(p<=1||l||h)return;let e=window.setTimeout(()=>{b(r+1)},i.xm);return()=>window.clearTimeout(e)},[p,l,h,r,b]);let x=t[r];return x?(0,a.jsxs)("section",{className:"hero-carousel","aria-roledescription":"carousel","aria-label":"Pinned hero stories",onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),onFocus:()=>s(!0),onBlur:()=>s(!1),onKeyDown:function(e){p<=1||("ArrowLeft"===e.key?(e.preventDefault(),m()):"ArrowRight"===e.key&&(e.preventDefault(),_()))},onTouchStart:function(e){var t,r;v.current=null!==(r=null===(t=e.touches[0])||void 0===t?void 0:t.clientX)&&void 0!==r?r:null},onTouchEnd:function(e){var t,r;let a=v.current;if(v.current=null,null===a)return;let n=(null!==(r=null===(t=e.changedTouches[0])||void 0===t?void 0:t.clientX)&&void 0!==r?r:a)-a;40>Math.abs(n)||(n<0?_():m())},children:[(0,a.jsx)(c,{slide:x,isLead:0===r}),p>1&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d,{onPrev:m,onNext:_,current:r+1,total:p}),(0,a.jsx)(u,{current:r,total:p,onSelect:e=>b(e)})]}),(0,a.jsx)("span",{"aria-live":"polite","aria-atomic":"true",style:{position:"absolute",left:-9999,width:1,height:1,overflow:"hidden"},children:"Slide ".concat(r+1," of ").concat(p,": ").concat(x.title)})]}):null}function c(e){let{slide:t,isLead:r}=e,i=(0,o.useMemo)(()=>r?{viewTransitionName:"card-1"}:void 0,[r]),s=(0,o.useMemo)(()=>r?{viewTransitionName:"card-1-image"}:void 0,[r]),c=(0,o.useMemo)(()=>r?{viewTransitionName:"card-1-title"}:void 0,[r]);return(0,a.jsxs)("div",{className:"hero-overlay","aria-label":"Lead: ".concat(t.title),children:[(0,a.jsxs)(n.default,{className:"hero-overlay__link",href:"/articles/".concat(t.slug),style:i,children:[(0,a.jsx)("img",{src:t.heroImageUrl,alt:t.title,className:"hero-overlay__img",style:s}),(0,a.jsx)("div",{className:"hero-overlay__scrim"}),(0,a.jsxs)("div",{className:"hero-overlay__content shell shell--bleed",children:[(0,a.jsxs)("div",{className:"hero-overlay__top",children:[(0,a.jsxs)("span",{className:"hero-overlay__eyebrow",children:[t.eyebrowLabel," \xb7 ",t.absoluteDate]}),(0,a.jsx)("span",{className:"hero-overlay__feature-tag",children:"View Transitions \xb7 Speculation Rules"})]}),(0,a.jsx)("h1",{className:"hero-overlay__title",style:c,children:t.title}),t.deck&&(0,a.jsx)("p",{className:"hero-overlay__deck",children:t.deck}),(0,a.jsxs)("div",{className:"hero-overlay__meta",children:[(0,a.jsx)("span",{children:(0,a.jsxs)("strong",{children:["By ",t.byline]})}),(0,a.jsx)("span",{children:"\xb7"}),(0,a.jsxs)("span",{children:[t.readingMinutes," min read"]}),(0,a.jsx)("span",{children:"\xb7"}),(0,a.jsx)("span",{children:t.absoluteDate})]})]})]}),(0,a.jsx)("div",{className:"hero-overlay__chat shell shell--bleed",children:(0,a.jsx)(l.HomeHeroChatTrigger,{slug:t.slug,title:t.title})})]})}function d(e){let{onPrev:t,onNext:r,current:n,total:o}=e;return(0,a.jsxs)("div",{className:"hero-carousel__controls","aria-hidden":"false",children:[(0,a.jsx)("button",{type:"button",onClick:t,"aria-label":"Previous hero story",className:"hero-carousel__chev",children:(0,a.jsx)("span",{"aria-hidden":"true",children:"‹"})}),(0,a.jsxs)("span",{className:"hero-carousel__counter","aria-live":"off",children:[String(n).padStart(2,"0")," / ",String(o).padStart(2,"0")]}),(0,a.jsx)("button",{type:"button",onClick:r,"aria-label":"Next hero story",className:"hero-carousel__chev",children:(0,a.jsx)("span",{"aria-hidden":"true",children:"›"})})]})}function u(e){let{current:t,total:r,onSelect:n}=e;return(0,a.jsx)("div",{className:"hero-carousel__dots",role:"tablist","aria-label":"Hero carousel slide indicators",children:Array.from({length:r}).map((e,r)=>{let o=r===t;return(0,a.jsx)("button",{type:"button",role:"tab","aria-selected":o,"aria-label":"Go to slide ".concat(r+1),tabIndex:o?0:-1,onClick:()=>n(r),className:o?"hero-carousel__dot hero-carousel__dot--active":"hero-carousel__dot"},r)})})}},5827:function(e,t,r){"use strict";r.d(t,{HomeHeroChatTrigger:function(){return o}});var a=r(7437),n=r(6835);function o(e){let{slug:t,title:r}=e;return(0,a.jsx)(n.k,{slug:t,title:r,renderTrigger:e=>{let{open:t,toggle:n}=e;return(0,a.jsxs)("button",{type:"button",className:"home-hero-chat-trigger","aria-label":"Ask AI about: ".concat(r),"aria-expanded":t,"aria-controls":"article-chat-panel",onClick:n,children:[(0,a.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"})}),(0,a.jsx)("span",{children:"Ask AI about this story"}),(0,a.jsx)("span",{"aria-hidden":"true",className:"home-hero-chat-trigger__arrow",children:"→"})]})}})}},4775:function(e,t,r){"use strict";r.d(t,{LatestRowActions:function(){return p}});var a=r(7437),n=r(2265),o=r(2837),l=r(3548),i=r(257);function s(e){let t=e.match(/^\/articles\/([a-z0-9-]+)\/?$/);return t?t[1]:null}let c="ftnews:saved";function d(){try{let e=localStorage.getItem(c);if(!e)return new Set;let t=JSON.parse(e);return new Set(Array.isArray(t)?t:[])}catch(e){return new Set}}function u(e){try{localStorage.setItem(c,JSON.stringify([...e]))}catch(e){}}let h=e=>{let{filled:t}=e;return(0,a.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:t?"currentColor":"none",stroke:"currentColor",strokeWidth:"2",children:(0,a.jsx)("path",{d:"M19 21l-7-5-7 5V5a2 2 0 012-2h10a2 2 0 012 2z"})})},f=()=>(0,a.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,a.jsx)("path",{d:"M3 18v-6a9 9 0 0118 0v6"}),(0,a.jsx)("path",{d:"M21 19a2 2 0 01-2 2h-1v-7h3zM3 19a2 2 0 002 2h1v-7H3z",fill:"
1currentColor"})]}),v=()=>(0,a.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,a.jsx)("circle",{cx:"18",cy:"5",r:"3"}),(0,a.jsx)("circle",{cx:"6",cy:"12",r:"3"}),(0,a.jsx)("circle",{cx:"18",cy:"19",r:"3"}),(0,a.jsx)("path",{d:"M8.59 13.51l6.83 3.98M15.41 6.51l-6.82 3.98"})]});function p(e){let{href:t,title:r}=e,[c,p]=(0,n.useState)(!1),[b,m]=(0,n.useState)(null),[_,x]=(0,n.useState)(!1);(0,n.useEffect)(()=>{p(d().has(t))},[t]);let g=async()=>{var e,a;let n;let o="https://ft-news.vercel.app",c=void 0!==i?(null!==(a=i.env.NEXT_PUBLIC_SITE_URL)&&void 0!==a?a:"").trim():"",d=(null===(e=window.location)||void 0===e?void 0:e.origin)&&"null"!==window.location.origin?window.location.origin:"";try{n=new URL(t,c||d||o).toString();let e=new URL(n);"http:"!==e.protocol&&"https:"!==e.protocol&&(n=new URL(t,o).toString())}catch(e){n="".concat(o).concat(t.startsWith("/")?"":"/").concat(t)}let u=s(t),h=async()=>{if("undefined"==typeof navigator||!navigator.clipboard)return!1;try{return await navigator.clipboard.writeText(n),m("copied"),(0,l.j)("article_shared",{articleSlug:u,properties:{share_method:"clipboard",source_surface:"home_card"}}),!0}catch(e){return!1}};if("undefined"!=typeof navigator&&navigator.share)try{await navigator.share({title:r,url:n}),m("shared"),(0,l.j)("article_shared",{articleSlug:u,properties:{share_method:"native_share",source_surface:"home_card"}})}catch(e){if(e instanceof DOMException&&"AbortError"===e.name||!await h())return}else if(!await h())return;window.setTimeout(()=>m(null),1500)};return(0,a.jsxs)("span",{className:"row-actions",role:"group","aria-label":"Article actions",children:[(0,a.jsx)("button",{type:"button",className:"icon-action",title:c?"Remove from saved":"Save","aria-label":c?"Remove from saved":"Save","aria-pressed":c,onClick:()=>{let e=s(t),r=!c;p(r),r&&(x(!0),window.setTimeout(()=>x(!1),1200)),(0,l.j)(r?"article_saved":"article_unsaved",{articleSlug:e,properties:{source_surface:"home_card"}});let a=d();r?a.add(t):a.delete(t),u(a),e&&(async()=>{try{let a=await (0,o.wW)(e);if(!a.ok){if("not_signed_in"===a.error)return;p(c);let e=d();c?e.add(t):e.delete(t),u(e);return}a.saved!==r&&p(a.saved)}catch(e){}})()},"data-flash":_?"saved":void 0,children:(0,a.jsx)(h,{filled:c})}),(0,a.jsx)("button",{type:"button",className:"icon-action icon-action--disabled",title:"Listen: coming soon","aria-label":"Listen: coming soon",disabled:!0,children:(0,a.jsx)(f,{})}),(0,a.jsx)("button",{type:"button",className:"icon-action",title:"copied"===b?"Link copied":"shared"===b?"Shared":"Share","aria-label":"Share",onClick:g,"data-flash":null!=b?b:void 0,children:(0,a.jsx)(v,{})})]})}},6741:function(e,t,r){"use strict";r.d(t,{LatestVideoThumb:function(){return o}});var a=r(7437),n=r(2265);function o(e){let{videoUrl:t,posterSrc:r,posterAlt:o}=e,l=(0,n.useRef)(null);return(0,a.jsxs)("span",{className:"latest-row__video-wrap",onMouseEnter:function(){let e=l.current;e&&e.play().catch(()=>{})},onMouseLeave:function(){let e=l.current;e&&(e.pause(),e.currentTime=0)},"aria-hidden":"true",children:[(0,a.jsx)("img",{src:r,alt:o,className:"latest-row__video-poster"}),(0,a.jsx)("video",{ref:l,src:t,poster:r,muted:!0,loop:!0,playsInline:!0,preload:"metadata","aria-hidden":"true",className:"latest-row__video"})]})}},4002:function(e,t,r){"use strict";r.d(t,{PollCard:function(){return c}});var a=r(7437),n=r(2265);r(3079);var o=r(2119);(0,o.$)("98dfd247449d2742e7042baf36ac311671d9b1ac");var l=(0,o.$)("11e90ccd06da58b68076cd3943d0b191fba80317"),i=r(3548);function s(e){return Object.values(e).reduce((e,t)=>e+t,0)}function c(e){let{pollKey:t,question:r,options:o,initialTallies:c,initialUserVote:d}=e,[u,h]=(0,n.useState)(null!=c?c:{}),[f,v]=(0,n.useState)(d),[p,b]=(0,n.useState)(null),[m,_]=(0,n.useTransition)(),x=!!f,g=(0,n.useMemo)(()=>s(u),[u]),j=e=>{if(m||f===e)return;v(e),b(null);let r=new FormData;r.set("pollKey",t),r.set("option",e),_(async()=>{var a,n;let o=await l(r);o.ok?(o.tallies&&h(o.tallies),o.userVote&&v(o.userVote),(0,i.j)("poll_voted",{properties:{poll_key:t,option:null!==(a=o.userVote)&&void 0!==a?a:e}})):(v(f),b(null!==(n=o.error)&&void 0!==n?n:"Couldn't record your vote."))})};return(0,a.jsxs)("div",{className:"rail-card rail-card--poll",id:"reader-poll","data-poll":t,children:[(0,a.jsxs)("div",{className:"rail-card__eyebrow",children:["Reader poll",g>
10?" \xb7 ".concat(g.toLocaleString()," votes"):""]}),(0,a.jsx)("h3",{className:"rail-card__title",children:r}),p&&(0,a.jsx)("p",{className:"subscribe-form__feedback subscribe-form__feedback--error",role:"alert",children:p}),(0,a.jsx)("div",{className:"poll-options".concat(x?" is-revealed":""),role:"radiogroup","aria-busy":m,children:o.map(e=>{let t=function(e,t){var r;let a=s(e);return 0===a?0:Math.round((null!==(r=e[t])&&void 0!==r?r:0)/a*100)}(u,e.id),r=f===e.id;return(0,a.jsxs)("button",{type:"button",className:"poll-option".concat(r?" is-voted":""),"data-value":e.id,"data-pct":t,role:"radio","aria-checked":r,disabled:m,onClick:()=>j(e.id),children:[(0,a.jsx)("span",{className:"poll-option__label",children:e.label}),(0,a.jsx)("span",{className:"poll-option__bar","aria-hidden":"true",children:(0,a.jsx)("span",{className:"poll-option__fill",style:x?{width:"".concat(t,"%")}:void 0})}),(0,a.jsxs)("span",{className:"poll-option__pct",children:[t,"%"]})]},e.id)})}),(0,a.jsx)("p",{className:"rail-card__foot",id:"poll-foot",children:x?"".concat(g.toLocaleString()," vote").concat(1===g?"":"s"," total \xb7 tap another option to change your vote"):"Tap an option \xb7 results unlock after you vote."})]})}},6709:function(e,t,r){"use strict";r.d(t,{ee:function(){return o},ff:function(){return a},xm:function(){return n}});let a=5,n=6e3;function o(e){return Number.isInteger(e)&&e>=1&&e<=a}},7648:function(e,t,r){"use strict";r.d(t,{default:function(){return n.a}});var a=r(2972),n=r.n(a)}},function(e){e.O(0,[2972,7119,8003,906,4551,2971,248,1744],function(){return e(e.s=4902)}),_N_E=e.O()}]);

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.