(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2156],{33701:function(e,t,n){"use strict";n.r(t);var r={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"EntryBodyBlockquoteTheVerge_component",selections:[{alias:null,args:null,concreteType:"EntryBodyParagraph",kind:"LinkedField",name:"paragraphs",plural:!0,selections:[{alias:null,args:null,concreteType:"EntryBodyComponentPlacement",kind:"LinkedField",name:"placement",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"RichText",kind:"LinkedField",name:"contents",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"html",storageKey:null}],storageKey:null}],storageKey:null}],type:"EntryBodyBlockquote",abstractKey:null};r.hash="8365ccc5b89044de4ce3e0698e5ae47c",t.default=r},57422:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(97458),a=n(61198),i=n(28934),o=n(70094),l=n(89);n(27545);var s={regular:"jzbdts2",sidebar:"jzbdts2",quickPost:"jzbdts3 jzbdts2",quickPostStream:"jzbdts3 jzbdts2",quickPostEntry:"jzbdts3 jzbdts2"},c={"regular-light":"jzbdtsa jzbdts0","regular-dark":"jzbdtsa jzbdts1","sidebar-light":"jzbdtse jzbdtsa jzbdts0","sidebar-dark":"jzbdtsf jzbdtsb jzbdtsa jzbdts1","quickPost-light":"jzbdtsg jzbdtsa","quickPost-dark":"jzbdtsh jzbdtsb jzbdtsa","quickPostStream-light":"jzbdtsi jzbdtsa jzbdts0","quickPostStream-dark":"jzbdtsj jzbdtsb jzbdtsa jzbdts1","quickPostEntry-light":"jzbdtsk jzbdtsa","quickPostEntry-dark":"jzbdtsl jzbdtsb jzbdtsa"},d=function(e){var t=e.paragraphs,n=e.containerStyle,a=void 0===n?"regular":n,d=e.theme,u=void 0===d?"light":d;return(0,r.jsx)("blockquote",{className:(0,i.Z)(l.I.Blockquote,s[a],"dark"===u&&"jzbdts9"),children:t.map(function(e){var t=e.key,n=e.html;return(0,r.jsx)(o.Z,{className:c["".concat(a,"-").concat(u)],html:n},t)})})},u=function(e){var t,i=e.component,o=e.containerStyle,l=e.theme,s=(0,a.useFragment)(n(33701),i).paragraphs.map(function(e,n){return{key:null!==(t=e.placement.id)&&void 0!==t?t:n,html:e.contents.html}});return(0,r.jsx)(d,{paragraphs:s,containerStyle:void 0===o?"regular":o,theme:void 0===l?"light":l})}},69271:function(e,t,n){"use strict";n.d(t,{p:function(){return d}});var r=n(53520),a=n(97458),i=n(28934),o=n(52983),l=n(41765),s=n(36935),c=n(37570),d=(0,o.createContext)({showModal:!1,isZoomed:!1,renderSharperImg:!1});t.Z=function(e){var t=e.children,n=e.analyticsUrl,u=(0,r._)((0,o.useState)(!1),2),f=u[0],h=u[1],m=(0,r._)((0,o.useState)(f),2),w=m[0],g=m[1],p=(0,r._)((0,o.useState)(f),2),b=p[0],v=p[1],y=(0,r._)((0,o.useState)({}),2),x=y[0],j=y[1],k=(0,o.useRef)(!0),z=(0,o.useRef)(null),_=(0,s.z$)(),Z=(0,o.useCallback)(function(){!(0,c.wh)()&&(h(!f),n)&&(null==_||_.emit({event:f?"close_image":"enlarge_image",enlarge_image:{file_name:n}}))},[f,_,n]),C=function(e){f||"Enter"!==e.key||h(!0),f&&("Escape"===e.key||"Enter"===e.key)&&h(!1)};return(0,o.useLayoutEffect)(function(){if(!(!z.current||(0,c.wh)())){if(k.current){k.current=!1;return}f?function(){if(z.current){var e=1,t={width:window.innerWidth,height:window.innerHeight,centerX:Math.floor(window.innerWidth/2),centerY:Math.floor(window.innerHeight/2),scrollY:window.scrollY,ratio:window.innerWidth/window.innerHeight},n=z.current.getBoundingClientRect(),r=n.width/n.height,a=n.top+Math.ceil(n.height/2),i=n.left+Math.ceil(n.width/2),o=(t.centerX-i)/e,l=(t.centerY-a)/e;e=t.ratio>=r?(t.height-50)/n.height:(t.width-50)/n.width,j({zIndex:60,position:"absolute",transform:"translate(".concat(o,"px, ").concat(l,"px) scale(").concat(e,")")}),window.addEventListener("scroll",Z)}}():z.current&&j({zIndex:30,position:"relative",transform:"initial"});var e=setTimeout(function(){g(function(e){return!e})},350),t=setTimeout(function(){v(function(e){return!e})},500);return function(){window.removeEventListener("scroll",Z),clearTimeout(e),clearTimeout(t)}}},[Z,f]),(0,a.jsx)(d.Provider,{value:{showModal:f,isZoomed:w,renderSharperImg:b},children:(0,a.jsxs)("div",{className:(0,i.Z)("transition-all duration-300 ease-in-out",f&&"relative mx-[-27px] md:mx-0"),children:[(0,a.jsx)("div",{className:(0,i.Z)("fixed inset-0 h-[110vh] w-full bg-white transition-all duration-300 ease-in-out",f?"opacity-1 z-40 table cursor-zoom-out":"z-[-1] cursor-default opacity-0"),onClick:Z,onKeyDown:C,role:"button","aria-label":"Close",tabIndex:0}),(0,a.jsx)("div",{ref:z,onClick:Z,onKeyDown:C,role:"button","aria-label":"Zoom",tabIndex:0,className:(0,i.Z)("visible z-30 w-full origin-center transition-all duration-300 ease-in-out",f?"cursor-zoom-out":"cursor-zoom-in"),style:x,children:t}),(0,a.jsx)("div",{className:(0,i.Z)("z-1 w-full",f?"relative":"hidden"),children:t}),f&&(0,a.jsxs)("button",{className:"fixed right-[15px] top-10 z-[100] bg-white p-10",onClick:Z,tabIndex:0,"aria-label":"Close",children:[(0,a.jsx)("span",{className:"sr-only",children:"Close popup"}),(0,a.jsx)(l.Z,{className:"h-18 w-18 fill-black"})]})]})})}},32242:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(97458),a=n(28934),i=n(70094),o=n(20672),l=function(e){var t=e.caption,n=e.credit,l=e.className,s=void 0===l?"":l;return t||n?(0,r.jsxs)("div",{className:(0,a.Z)(o.Z.Caption,"pt-6 font-polysans-mono text-12 font-light leading-130 tracking-1",s),children:[t&&(0,r.jsx)(i.Z,{component:"figcaption",className:(0,a.Z)("inline text-gray-13 dark:text-gray-e9 [&>a:hover]:text-black [&>a:hover]:shadow-underline-black dark:[&>a:hover]:text-gray-e9 dark:[&>a:hover]:shadow-underline-gray-63 [&>a]:shadow-underline-gray-13 dark:[&>a]:shadow-underline-gray-63"),html:t}),n&&(0,r.jsxs)(r.Fragment,{children:[" ",(0,r.jsx)(i.Z,{component:"cite",className:(0,a.Z)("inline not-italic text-gray-63 dark:text-gray-bd [&>a:hover]:text-gray-63 [&>a:hover]:shadow-underline-black dark:[&>a:hover]:text-gray-bd dark:[&>a:hover]:shadow-underline-gray [&>a]:shadow-underline-gray-63 dark:[&>a]:text-gray-bd dark:[&>a]:shadow-underline-gray"),html:n})]})]}):null}},31767:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(53520),a=n(97458),i=n(28934),o=n(52983),l=n(20672),s=function(e){var t=e.contentWarning,n=e.children,s=e.aspectRatio,c=e.posterUrl,d=(0,r._)((0,o.useState)(!!t),2),u=d[0],f=d[1];return u?(0,a.jsx)("div",{style:{paddingTop:"".concat(s,"%"),backgroundImage:c?"url(".concat(c,")"):"none"},className:"relative m-0 overflow-hidden bg-cover",children:(0,a.jsxs)("button",{className:(0,i.Z)(l.Z.ContentWarning,"absolute inset-0 flex h-full w-full flex-col items-center justify-center bg-gray-e9/90 font-polysans text-14 backdrop-blur-md"),onClick:function(){return f(!1)},children:[(0,a.jsx)("span",{className:"mb-10 font-light",children:t}),(0,a.jsx)("span",{className:"font-medium",children:"Tap to display"})]})}):(0,a.jsx)("div",{className:(0,i.Z)(l.Z.ContentWarning,"relative"),style:{paddingTop:"".concat(s,"%")},children:n})}},44763:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(53520),a=n(97458),i=n(28934),o=n(55717),l=n(52983),s=n(20672),c=(0,n(37782).n)(function(e){var t=e.html,n=e.type,c=e.className,d=void 0===c?null:c,u=e.suppressHydrationWarning,f=(0,r._)((0,l.useState)(!1),2),h=f[0],m=f[1],w=(0,r._)((0,l.useState)(t),2),g=w[0],p=w[1],b=(0,l.createRef)();(0,l.useEffect)(function(){if("YouTube"===n){var e=t.match(//i);if(e&&e[1]){var r=e[1],a=r+(r.indexOf("?")>0?"&":"?")+"enablejsapi=1";p(t.replace(r,a))}}},[p,t,n]),(0,l.useEffect)(function(){var e=b.current;if("undefined"==typeof IntersectionObserver){m(!0);return}if(e){var t=new IntersectionObserver(function(n){var a=(0,r._)(n,1)[0];a&&a.isIntersecting&&(m(!0),t.unobserve(e))},{rootMargin:"0px 0px 100% 0px"});return t.observe(e),function(){t.unobserve(e)}}},[b]),(0,l.useEffect)(function(){var e,t,r;"Instagram"===n&&h&&(null===(e=window.instgrm)||void 0===e||e.Embeds.process()),"Twitter"===n&&h&&(null===(r=window.twttr)||void 0===r||null===(t=r.widgets)||void 0===t||t.load())},[h,n]);var v={TikTok:"min-h-[700px] [&>div>blockquote]:!min-w-0",Spotify:"min-h-[152px]",Instagram:"min-h-[500px] [&>div>iframe]:!min-w-0",YouTube:"min-h-[220px]",Twitter:"min-h-[240px]",default:"min-h-[100px]"};return(0,a.jsx)("div",{ref:b,className:(0,i.Z)(s.Z.Embed,n&&v[n]?v[n]:v.default,d||["mb-20","Twitter"===n?"w-full md:max-w-[460px]":"w-full"]),suppressHydrationWarning:void 0!==u&&u,children:h&&(0,a.jsx)(o.Z,{html:g})})},{context:"EmbedErrorBoundary"})},62403:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(53520),a=n(97458),i=n(28934),o=n(52983),l=n(32242),s=n(31767),c=n(36935),d=n(9326),u=n(20672),f=n(37782),h=n(55148),m=(0,f.n)(function(e){var t=e.autoplay,n=e.caption,f=e.contentWarning,m=e.title,w=e.playerType,g=e.posterUrl,p=e.uuid,b=(0,d.q)().communityConfig.communityDomain,v=(0,c.z$)(),y=(0,c.ST)(),x=(0,h.Z)(b),j=t?"true":"false",k=w.toLowerCase(),z=(0,r._)((0,o.useState)(!1),2),_=z[0],Z=z[1],C=(0,o.createRef)();return(0,o.useEffect)(function(){if(v&&y)return y.install(x),function(){y.uninstall()}},[v,x,y]),(0,o.useEffect)(function(){if(!_){var e=C.current;if("undefined"==typeof IntersectionObserver||!t){Z(!0);return}var n=new IntersectionObserver(function(t){var a=(0,r._)(t,1)[0];(null==a?void 0:a.isIntersecting)&&(Z(!0),n.unobserve(e))},{rootMargin:"10px"});return n.observe(e),function(){n.unobserve(e)}}},[C,_,t]),(0,a.jsxs)("div",{className:(0,i.Z)(u.Z.VideoEmbed,"mb-20"),ref:C,children:[(0,a.jsx)("div",{className:"relative aspect-video",children:(0,a.jsx)(s.Z,{aspectRatio:9/16*100,contentWarning:f,posterUrl:g,children:(0,a.jsx)("div",{className:"absolute top-0 h-full w-full",children:_&&t||!t?(0,a.jsx)("iframe",{id:"video-".concat(p),allowFullScreen:!0,frameBorder:"0",className:"h-full w-full",title:m||"Verge video",allow:"autoplay",src:"".concat(x,"/embed/").concat(p,"?autoplay=").concat(j,"&loop=true&placement=article&player_type=").concat(k,"&tracking=article:middle"),"data-analytics-placement":"article:middle","data-volume-placement":"article","data-analytics-action":"volume:view:article:middle","data-volume-uuid":p,loading:"lazy"}):null})})}),n&&(0,a.jsx)(l.Z,{caption:n})]})},{context:"VideoEmbedErrorBoundary"})},27545:function(){},383:function(e,t,n){"use strict";var r=n(67914),a=n(52983),i=n(80821),o=n(37057),l=n(37782),s=n(97458),c=n(73656);let d=c.env.NEXT_PUBLIC_CONCERT_ADS_CONFIG||"https://concertads-configs.vox-cdn.com/duet/config.json";t.Z=(0,l.n)(e=>{let{...t}=e,{current:n}=(0,a.useRef)(t),l=(0,o.Z)();return(0,a.useEffect)(()=>{let e=()=>{if(window.concertAdsInstalled){console.log("We are not installing Concert Ads because it has already been installed.");return}if(window.concertAdsInstalled=!0,!window.ConcertAds){(0,r.Tb)("ConcertAds instance is not available on the window to install");return}let e=new URLSearchParams(window.location.search),t=e.get("concert_config_url"),a=t||d,{title:o,legacyId:s=null,pageType:c="interior_page",slug:u=null,authors:f=null,originalPublishDate:h=null,entryGroups:m=null,hubPages:w=null,affiliation:g=["general"],adSlugParts:p=[],layoutTemplate:b=null,entryType:v=null}=n,y=[...new Set([...o.replace(/[^a-z]/gi," ").replace(/\s+/g," ").trim().toLowerCase().split(" "),...m||[]])],x={page_type:[c],keywords:y,affiliation:g,network:["verge"],pageload_id:(0,i.m3)()};u&&(x.entry_slug=[u]),s&&(x.entry_id=[s]),f&&(x.entry_author=f),h&&(x.entry_published_date=[h]),m&&(x.entry_group=m),w&&(x.hub_page=w),v&&(m&&m.includes("reviews")?x.entry_type=["review"]:"STORY"===v?x.entry_type=["STANDARD"===b?"article":"feature"]:x.entry_type=[v.toLowerCase()]),o&&(x.entry_title=[o]);let j=Date.now()+2e4;(0,i.dG)(j);let k=null!==e.get("concert_preview")||0===window.location.pathname.indexOf("/preview/")||l.enabled,z=new window.ConcertAds({cmd:[],slug:`/172968584/verge/${p.join("/")}`,isPreview:k,dfpVariables:x});window.concertAds=z,z.loadRemoteConfig(a).then(()=>{z.install(),window.CONCERT_ADS_CONFIG=z.settings,window.dfpVariables=z.getAllVariables()}).catch(e=>(0,r.Tb)(e,{extra:{message:"There was an error loading the ConcertAds remote config"}}))};if(!window.ConcertAds)return window.addEventListener("concertAdsReady",e),()=>{window.removeEventListener("concertAdsReady",e)};e()},[n,l]),(0,s.jsx)(s.Fragment,{})},{context:"ConcertAdsErrorBoundary"})},24205:function(e,t,n){"use strict";var r=n(52983);let a=(0,r.createContext)(null);t.Z=a},37057:function(e,t,n){"use strict";var r=n(52983),a=n(24205);t.Z=function(){let e=(0,r.useContext)(a.Z);return e||{enabled:!1}}},37570:function(e,t,n){"use strict";n.d(t,{b1:function(){return r},bt:function(){return i},wh:function(){return a}});let r=()=>"ontouchstart"in window||window.navigator.maxTouchPoints>0,a=()=>{let e=!!window.screen.orientation&&window.screen.orientation.angle||window.orientation||0,t=90===e||270===e||window.screen.height/BlackBerry|webOS|iPhone|IEMobile|Android|Windows Phone|iPad|iPod/i.test(window.navigator.userAgent)},55148:function(e,t){"use strict";t.Z=e=>"https://volume.vox-cdn.com"}}]);