PageSourceSearch

https://curiositystream.com/_next/static/chunks/9938-73fea715d4e11059.js

js curiositystream.com collected 2026-09-24 09:02:52 UTC 30,389 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9938],{69938:function(e,t,r){"use strict";r.d(t,{sO:function(){return el},ZP:function(){return ec}});var l=r(85893),n=r(67294),a=r(5068),i=r(54663),o=r(86957),s=r(52878),c=r(42781),d=r(25281),u=r(48974);let _=(e=>{let[t,r,l]=e,n=Math.max(t,r,l,1);if(n>=150)return[t,r,l];let a=150/n;return[t,r,l].map(e=>Math.min(255,Math.round(e*a)))})([30,52,74]);var g=r(907),m=r(14432),f=()=>{let e=(0,c.YB)();return(0,l.jsxs)("div",{className:"inline-flex items-center gap-[6px] text-[10px] font-semibold uppercase tracking-[0.18em] text-light",children:[(0,l.jsx)("span",{className:"h-[11px] w-[11px] rounded-full bg-primary"}),e.formatMessage({id:"web:title_landing:hero_original_badge"})]})},p=r(1196),h=r(96700),v=r(80153),x=r(68003);let b=e=>e.requestFullscreen||e.webkitRequestFullscreen||e.msRequestFullscreen,w=()=>"undefined"==typeof document?null:document.fullscreenElement||document.webkitFullscreenElement||null,y=async e=>{let t=e&&b(e);if(!t)return!1;try{return await t.call(e),!0}catch(e){return!1}},j=async()=>{if("undefined"==typeof document||!w())return;let e=document.exitFullscreen||document.webkitExitFullscreen;if(e)try{await e.call(document)}catch(e){}};var T=r(41872),k=r(6565),C=r(33237),L=r.n(C);let N={[v.v.playToggle]:!0,[v.v.volumePanel]:!0,[v.v.progressControl]:!0,[v.v.remainingTimeDisplay]:!0,[v.v.fullscreenToggle]:!1,[v.v.closedCaptions]:!1};var H=e=>{var t;let{open:r,onClose:a,media:i,loading:s=!1,title:u,pricing:_}=e,v=(0,c.YB)(),b=(0,o.z$)(),[w,C]=(0,n.useState)(!1),H=(0,n.useRef)(null),M=(0,n.useRef)(null),P=(0,n.useRef)(!1),R=(0,n.useRef)(!1),{maxWidth:E}=(0,g.k)(),W=!!E(m.ZP.laptop),S=(0,n.useRef)({currentTime:0,duration:null}),F=(0,n.useRef)(!1);F.current=w;let A=(0,n.useRef)(!1),I=(0,n.useCallback)(()=>{if(!A.current){A.current=!0;let e=(0,k.vi)(i);if(F.current)b.track("preview_end_card_dismissed",{category:"title_landing",action:"preview_end_card_dismissed",label:e,property:"end_card",value:100});else{let{currentTime:t,duration:r}=S.current,l=r?Math.min(100,Math.round(t/r*100)):0===t?0:null,n=null!=l&&l>=95?"preview_end_card_dismissed":"preview_abandoned";b.track(n,{category:"title_landing",action:n,label:e,property:null!=l?"".concat(l,"%"):"unknown",value:null!=l?l:void 0})}}a()},[b,i,a]),D=(0,n.useCallback)(()=>{if(P.current&&(P.current=!1,j()),R.current){var e;R.current=!1,(null===(e=M.current)||void 0===e?void 0:e.isFullscreen())&&M.current.exitFullscreen()}},[]);(0,n.useEffect)(()=>{if(!r||!W)return;let e=!1;return y(H.current).then(t=>{!e&&t&&(P.current=!0)}),()=>{e=!0,D()}},[r,W,D]);let B=(0,n.useCallback)((e,t,r)=>{M.current=r},[]),O=(0,n.useCallback)(()=>{let e=M.current;W&&!P.current&&!R.current&&e&&(R.current=!0,e.enterFullscreen())},[W]);if((0,n.useEffect)(()=>{r&&(C(!1),S.current={currentTime:0,duration:null},A.current=!1)},[r]),(0,n.useEffect)(()=>{if(!r)return;let e=e=>{"Escape"===e.key&&I()};document.addEventListener("keydown",e);let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=t}},[r,I]),!r||!i)return null;let z=(null==i?void 0:null===(t=i.encodings)||void 0===t?void 0:t[0])?(0,x.hk)(i):null,Z=u||(null==i?void 0:i.title)||v.formatMessage({id:"web:title_landing:title_fallback"}),q=!!(null==i?void 0:i.is_original),Y=(null==_?void 0:_.mode)==="promo",U=(null==_?void 0:_.mode)==="trial",G=v.formatMessage({id:"web:title_landing:cta_get_started"}),V=null==_?void 0:_.monthlyPrice,J=null;U&&V?J=v.formatMessage({id:"web:title_landing:trailer_end_sub_trial"},{days:(null==_?void 0:_.trialDays)||7,price:V}):V&&(J=v.formatMessage({id:"web:title_landing:trailer_end_sub"},{price:V}));let K=(0,l.jsx)("button",{type:"button","aria-label":v.formatMessage({id:"web:title_landing:trailer_close"}),onClick:I,className:L().closeBtn,children:(0,l.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,l.jsx)("line",{x1:"5",y1:"5",x2:"19",y2:"19"}),(0,l.jsx)("line",{x1:"19",y1:"5",x2:"5",y2:"19"})]})});return(0,l.jsxs)("div",{ref:H,className:L().overlay,role:"dialog","aria-modal":"true","aria-label":v.formatMessage({id:"web:title_landing:trailer_dialog_label"}),children:[!w&&K,(0,l.jsxs)("div",{className:w?L().frameEnded:L().frame,children:[w&&K,w?(0,l.jsxs)("div",{className:L().endCard,children:[q&&(0,l.jsx)("div",{className:L().endBadge,children:(0,l.jsx)(f,{})}),(0,l.jsx)("h2",{className:L().endHeading,children:Y&&(null==_?void 0:_.discountPercent)?v.formatMessage({id:"web:title_landing:trailer_end_heading_promo"},{title:Z,percent:_.discountPercent}):v.formatMessage({id:"web:title_landing:trailer_end_heading"},{title:Z})}),J&&(0,l.jsx)("p",{className:L().endSub,children:J}),(0,l.jsx)("div",{className:L().endActions,children:(0,l.jsx)(d.ZP,{size:"large",onClick:()=>{(0,k.Ie)(b,{section:k.DD.trailer,label:"trailer_end_card"}),a(),setTimeout(T.dP,0)},value:G})})]}):s?(0,l.jsx)("div",{className:L().loading,children:(0,l.jsx)(h.J6,{width:56})}):z?(0,l.jsx)(p.fH,{manifest:z,autoPlay:!0,focusOnReady:!0,controlBar:N,onTimeUpdate:e=>{let{currentTime:t,duration:r}=e;S.current={currentTime:t,duration:r}},onLoaded:B,onPlay:O,onEnded:()=>{b.track("preview_completed",{category:"title_landing",action:"preview_completed",label:(0,k.vi)(i),value:100}),D(),C(!0)}}):(0,l.jsx)("div",{className:L().unavailable,children:v.formatMessage({id:"web:title_landing:trailer_unavailable"})})]})]})},M=r(42244);let P=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")},R=e=>{let{children:t}=e;return(0,l.jsx)("span",{className:"inline-flex h-[21px] items-center rounded-[4px] border border-white/[0.22] px-[6px] text-[11px] font-semibold uppercase leading-none tracking-[0.07em] text-light-2",children:t})},E=e=>{let{size:t=15}=e;return(0,l.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,l.jsx)("path",{d:"M7 10v11"}),(0,l.jsx)("path",{d:"M7 10l4-7a2 2 0 0 1 2.6 1.9V9h4.6a2 2 0 0 1 2 2.4l-1.4 7A2 2 0 0 1 16.8 21H7"})]})};var W=e=>{let{episodeCount:t,rating:r,align:n="left"}=e,a=(0,c.YB)(),i=[];return r&&i.push((0,l.jsxs)("span",{className:"inline-flex items-center gap-[6px] whitespace-nowrap",children:[(0,l.jsx)(E,{})," ",a.formatMessage({id:"web:title_landing:hero_meta_loved"},{percent:r})]},"rating")),t&&i.push((0,l.jsx)("span",{className:"whitespace-nowrap",children:a.formatMessage({id:"web:title_landing:hero_meta_episodes"},{count:t})},"ep")),i.push((0,l.jsx)(R,{children:"4K"},"4k")),i.push((0,l.jsx)(R,{children:"CC"},"cc")),(0,l.jsx)("div",{className:P("mt-[18px] flex flex-wrap items-center gap-[14px] text-[14px] font-normal tracking-[0.01em] text-light-2","center"===n&&"justify-center"),children:i})};let S=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")};var F=e=>{let{copy:t,align:r="left"}=e;return t?(0,l.jsx)("div",{className:S("mt-[24px] inline-block text-[13px] tracking-[0.04em] text-light-2","center"===r?"self-center":"self-start"),children:(0,l.jsx)("span",{children:t})}):null};let A=e=>
1{if(e.complete&&e.naturalWidth>0)return Promise.resolve(e);let t=()=>new Promise((t,r)=>{let l=l=>{e.onload=null,e.onerror=null,l&&e.naturalWidth>0?t(e):r(Error("image failed to load"))};e.onload=()=>l(!0),e.onerror=()=>l(!1),e.complete&&l(e.naturalWidth>0)});return"function"==typeof e.decode?e.decode().then(()=>e).catch(t):t()},I=new Map,D=new Map,B=e=>({left:0,right:0,top:0,bottom:0,contentAspect:e});var O=r(46348),z=r.n(O);let Z=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")};var q=e=>{let{source:t,alt:r,fallback:a=null,align:i="left",maxWidth:o=480,heightClamp:s="clamp(96px, 12vw, 160px)"}=e,[c,d]=(0,n.useState)(!1),_=(0,n.useMemo)(()=>(0,u.n)(t,{width:800,format:"webp"}),[t]),g=(0,n.useMemo)(()=>(0,u.n)(t,{width:800,format:"png"}),[t]),m=function(e){let[t,r]=(0,n.useState)(()=>e&&I.has(e)?I.get(e):null);return(0,n.useEffect)(()=>{if(!e){r(null);return}if(I.has(e)){r(I.get(e));return}if((D.get(e)||0)>=3){r(null);return}let t=!1;return(async()=>{try{let l;let n=new Image;n.crossOrigin="anonymous",n.src=e,await A(n);let a=n.naturalWidth,i=n.naturalHeight;if(!a||!i)throw Error("image has no dimensions");let o=Math.min(1,400/Math.max(a,i)),s=Math.max(1,Math.round(a*o)),c=Math.max(1,Math.round(i*o)),d=document.createElement("canvas");d.width=s,d.height=c;let u=d.getContext("2d",{willReadFrequently:!0});if(!u)throw Error("2d context unavailable");u.drawImage(n,0,0,s,c);let{data:_}=u.getImageData(0,0,s,c),g=s,m=c,f=-1,p=-1;for(let e=0;e<c;e++)for(let t=0;t<s;t++)_[(e*s+t)*4+3]>14&&(t<g&&(g=t),t>f&&(f=t),e<m&&(m=e),e>p&&(p=e));if(f<g||p<m)l=B(a/i);else{let e=g/s,t=m/c,r=(s-1-f)/s,n=(c-1-p)/c,o=1-e-r,d=1-t-n;l={left:e,right:r,top:t,bottom:n,contentAspect:o*a/(d*i)}}if(t)return;I.set(e,l),D.delete(e),r(l)}catch(l){if(t)return;console.warn("[useAlphaTrim] failed:",l),D.set(e,(D.get(e)||0)+1),r(null)}})(),()=>{t=!0}},[e]),t}(_);if(c)return a;let f="center"===i,p=m?1-m.left-m.right:1,h=m?1-m.top-m.bottom:1,v=m&&p>0&&h>0&&(m.left||m.right||m.top||m.bottom);return(0,l.jsx)("span",{className:Z(z().viewport,!v&&z().viewportPlain,f&&z().center),style:v?{aspectRatio:m.contentAspect,width:"min(".concat(o,"px, calc(").concat(s," * ").concat(m.contentAspect,"))")}:void 0,children:(0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{type:"image/webp",srcSet:_}),(0,l.jsx)("img",{className:Z(v?z().cropped:z().plain,f&&z().centerObject),src:g,alt:r,loading:"eager",onError:()=>d(!0),style:v?{width:"".concat(100/p,"%"),left:"".concat(-(m.left/p*100),"%"),top:"".concat(-(m.top/h*100),"%")}:{height:s,maxWidth:o}})]})})};let Y=n.useLayoutEffect,U=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")},G={center:104,left:72};var V=e=>{let{text:t,align:r="left",as:l="h1"}=e,a=function(e,t){let{maxPx:r,minPx:l,maxLines:a=3}=t,i=(0,n.useRef)(null),o=(0,n.useCallback)(()=>{let e=i.current;if(!e)return;e.style.overflowWrap="normal";let t=r;e.style.fontSize="".concat(t,"px");let n=()=>{let r=parseFloat(getComputedStyle(e).lineHeight)||t;return e.scrollWidth<=e.clientWidth+1&&e.scrollHeight<=r*a+2},o=0;for(;!n()&&t>l&&o++<400;)t-=1,e.style.fontSize="".concat(t,"px");e.scrollWidth>e.clientWidth+1&&(e.style.overflowWrap="anywhere")},[r,l,a]);return Y(()=>{o()},[e,o]),(0,n.useEffect)(()=>{let e=i.current;if(!e||(document.fonts&&document.fonts.ready&&document.fonts.ready.then(()=>o()),"undefined"==typeof ResizeObserver))return;let t=new ResizeObserver(()=>o());return e.parentElement&&t.observe(e.parentElement),()=>t.disconnect()},[o]),i}(t,{maxPx:G[r]||G.left,minPx:30,maxLines:3});return(0,n.createElement)(l,{ref:a,className:U("block w-full m-0 font-light uppercase leading-[0.92] tracking-[0.06em] [overflow-wrap:normal] [text-shadow:0_4px_4px_rgba(0,0,0,0.25)]","center"===r&&"text-center")},t)},J=r(60543),K=r.n(J);let X=e=>{let[t,r,l]=e;return"radial-gradient(110% 70% at 50% 0%, rgba(".concat(t,", ").concat(r,", ").concat(l,", 0.75) 0%, rgba(").concat(t,", ").concat(r,", ").concat(l,", 0.32) 35%, rgba(2, 7, 19, 0) 70%)")},$=e=>{var t,r;return e&&((null===(t=e.keyframe_1_16_9)||void 0===t?void 0:t[0])||(null===(r=e.horizontal_image_16_9)||void 0===r?void 0:r[0]))||null};var Q=e=>{var t,r;let{sectionRef:a=null,media:i,onWatchTrailer:s,poster:u=null,ctaLabel:g="Get started",pillCopy:m=null,episodeCount:p=0,rating:h=null,isOriginal:v=!1}=e,x=(0,c.YB)(),b=(0,o.z$)(),w=(0,n.useMemo)(()=>$(null==i?void 0:i.image_assets),[null==i?void 0:i.image_assets]),y=X(_),j=(null==i?void 0:i.title)||"",C=(null==i?void 0:i.display_tag)||null,L=(null==i?void 0:null===(r=i.image_assets)||void 0===r?void 0:null===(t=r.title_art_one_color)||void 0===t?void 0:t[0])||null;return(0,l.jsxs)("section",{ref:a,className:K().section,children:[w&&(0,l.jsx)("div",{className:K().bg,"aria-hidden":"true",children:(0,l.jsx)(M.F,{source:w,formats:["webp","jpg"],alt:"",loading:"eager",className:"".concat(K().bgImg," ").concat(K().kenburns),"aria-hidden":"true"})}),(0,l.jsx)("div",{className:K().grain,"aria-hidden":"true"}),(0,l.jsx)("div",{className:K().scrim,"aria-hidden":"true"}),(0,l.jsx)("div",{className:K().glow,style:{background:y}}),(0,l.jsx)("div",{className:K().center,children:(0,l.jsxs)("div",{className:K().copy,children:[v&&(0,l.jsx)("div",{className:K().badgeSlot,children:(0,l.jsx)(f,{})}),L?(0,l.jsx)("h1",{className:K().titleHeading,children:(0,l.jsx)(q,{source:L,alt:j,align:"center",maxWidth:520,heightClamp:"clamp(96px, 26vw, 200px)",fallback:(0,l.jsx)(V,{text:j,align:"center",as:"span"})})}):(0,l.jsx)(V,{text:j,align:"center",as:"h1"}
1),C&&(0,l.jsx)("div",{className:K().tagline,children:C}),(0,l.jsx)(W,{episodeCount:p,rating:h,align:"center"}),s&&(0,l.jsxs)("button",{type:"button",className:K().trailerCard,onClick:s,"aria-label":x.formatMessage({id:"web:title_landing:hero_play_trailer_aria"}),children:[u&&(0,l.jsx)("span",{className:K().trailerCardImg,"aria-hidden":"true",children:(0,l.jsx)(M.F,{source:u,formats:["webp","jpg"],fill:"cover",alt:"",loading:"eager"})}),(0,l.jsx)("span",{className:K().trailerCardScrim,"aria-hidden":"true"}),(0,l.jsxs)("span",{className:K().trailerCardCta,children:[(0,l.jsx)("span",{className:K().trailerCardPlay,children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,l.jsx)("polygon",{points:"6,4 20,12 6,20"})})}),(0,l.jsx)("span",{className:K().trailerCardLabel,children:x.formatMessage({id:"web:title_landing:hero_watch_preview"})})]})]}),(0,l.jsx)("div",{className:K().ctaRow,children:(0,l.jsx)(d.ZP,{size:"large",variant:"default",onClick:()=>{(0,k.Ie)(b,{section:k.DD.hero,label:"hero_cta"}),(0,T.dP)()},value:g})}),(0,l.jsx)(F,{copy:m,align:"center"})]})})]})},ee=r(64865),et=r(83723),er=r.n(et);let el={280:{trailerMediaId:8321},443:{}},en=e=>{let[t,r,l]=e,n="rgba(".concat(t,", ").concat(r,", ").concat(l,", 0.42) 0%, rgba(").concat(t,", ").concat(r,", ").concat(l,", 0.18) 34%, rgba(2, 7, 19, 0) 66%"),a="rgba(".concat(t,", ").concat(r,", ").concat(l,", 0.4) 0%, rgba(").concat(t,", ").concat(r,", ").concat(l,", 0.16) 36%, rgba(2, 7, 19, 0) 64%");return["radial-gradient(60% 100% at 14% 30%, ".concat(n,")"),"radial-gradient(60% 100% at 86% 22%, ".concat(n,")"),"radial-gradient(120% 78% at 50% -10%, ".concat(a,")")].join(", ")},ea=e=>{var t,r;return e&&((null===(t=e.keyframe_1_16_9)||void 0===t?void 0:t[0])||(null===(r=e.horizontal_image_16_9)||void 0===r?void 0:r[0]))||null},ei=e=>{var t,r;return e&&((null===(t=e.horizontal_image_16_9)||void 0===t?void 0:t[0])||(null===(r=e.keyframe_1_16_9)||void 0===r?void 0:r[0]))||null},eo=e=>{var t;return(null==e?void 0:e.is_original)===!0||(null==e?void 0:null===(t=e.callout)||void 0===t?void 0:t.id)==="original"},es=e=>{let t=null==e?void 0:e.rating_percentage;return!t||t<=0?null:"".concat(Math.round(t),"%")};var ec=e=>{var t,r,p,h,v;let{media:x,pricing:b}=e,w=(0,c.YB)(),y=(0,o.z$)(),j=(0,ee.b1)(k.DD.hero),{minWidth:C}=(0,g.k)(),[L,N]=(0,n.useState)(!1);(0,n.useEffect)(()=>N(!0),[]);let M=L&&!!C(m.ZP.laptop),P=w.formatMessage({id:"web:title_landing:cta_get_started"}),R=(null==b?void 0:b.pillCopy)||null,E=(null==x?void 0:x.is_collection)&&(null==x?void 0:null===(t=x.media)||void 0===t?void 0:t.length)||0,{isSafari:S,isIOS:A}=(0,s.Z)(),I=S||A?"m3u8":"mpd",[D,B]=(0,n.useState)(!1),{data:O,isLoading:z}=(0,a.ZP)(D&&(null==x?void 0:x.id)?(null==x?void 0:x.is_collection)?"/v2/series/".concat(x.id,"?encodingsNew=true&encodingsFormat=").concat(I):"/v1/media/".concat(x.id,"?encodingsNew=true&encodingsFormat=").concat(I):null,i.ZP),Z=(null==O?void 0:O.data)||x,Y=(null==x?void 0:x.is_collection)?el[null==x?void 0:x.id]:void 0,U=(null==Z?void 0:Z.is_collection)?(null==Y?void 0:Y.trailerMediaId)&&(null==Z?void 0:null===(r=Z.media)||void 0===r?void 0:r.find(e=>e.id===Y.trailerMediaId))||(null==Z?void 0:null===(p=Z.media)||void 0===p?void 0:p[0]):Z,[G,J]=(0,n.useState)(!1),K=()=>{y.track("watch_preview",{category:"title_landing",action:"watch_preview",label:(0,k.vi)(x)}),B(!0),J(!0)},X=(0,n.useCallback)(()=>J(!1),[]),$=ea(null==x?void 0:x.image_assets),et=(0,n.useMemo)(()=>$?(0,u.n)($,{width:1280,format:"jpg"}):null,[$]),ec=en(_),ed=Y?x:U,eu=ei(null==ed?void 0:ed.image_assets),e_=(0,n.useMemo)(()=>eu?(0,u.n)(eu,{width:1280,format:"jpg"}):null,[eu])||et,eg=(null==x?void 0:null===(v=x.image_assets)||void 0===v?void 0:null===(h=v.title_art_one_color)||void 0===h?void 0:h[0])||null,em=eo(x),ef=es(x),ep=(null==x?void 0:x.title)||"",eh=(null==x?void 0:x.display_tag)||null;return M?(0,l.jsxs)("section",{ref:j,className:er().section,children:[(0,l.jsx)("div",{className:er().glow,style:{background:ec}}),(0,l.jsx)("div",{className:er().grain,"aria-hidden":"true"}),(0,l.jsxs)("div",{className:er().grid,children:[(0,l.jsxs)("div",{className:er().copy,children:[em&&(0,l.jsx)("div",{className:er().badgeSlot,children:(0,l.jsx)(f,{})}),eg?(0,l.jsx)("h1",{className:er().titleHeading,children:(0,l.jsx)(q,{source:eg,alt:ep,fallback:(0,l.jsx)(V,{text:ep,align:"left",as:"span"})})}):(0,l.jsx)(V,{text:ep,align:"left",as:"h1"}),eh&&(0,l.jsx)("div",{className:er().tagline,children:eh}),(0,l.jsx)(W,{episodeCount:E,rating:ef,align:"left"}),(0,l.jsx)("div",{className:er().ctaRow,children:(0,l.jsx)(d.ZP,{size:"large",variant:"default",onClick:()=>{(0,k.Ie)(y,{section:k.DD.hero,label:"hero_cta"}),(0,T.dP)()},value:P})}),(0,l.jsx)(F,{copy:R,align:"left"})]}),(0,l.jsxs)("button",{type:"button",className:er().frame,onClick:K,"aria-label":w.formatMessage({id:"web:title_landing:hero_play_trailer_aria"}),children:[e_&&(0,l.jsx)("img",{className:er().frameImg,src:e_,alt:ep,crossOrigin:"anonymous"}),(0,l.jsx)("div",{className:er().frameScrim}),(0,l.jsxs)("span",{className:er().previewCta,children:[(0,l.jsx)("span",{className:er().previewPlay,children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true",children:(0,l.jsx)("polygon",{points:"6,4 20,12 6,20"})})}),(0,l.jsx)("span",{className:er().previewLabel,children:w.formatMessage({id:"web:title_landing:hero_watch_preview"})})]})]})]}),(0,l.jsx)(H,{open:G,onClose:X,media:U,loading:z,title:ep,pricing:b})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(Q,{sectionRef:j,media:x,onWatchTrailer:K,poster:eu||$,ctaLabel:P,pillCopy:R,episodeCount:E,rating:ef,isOriginal:em}),(0,l.jsx)(H,{open:G,onClose:X,media:U,loading:z,title:ep,pricing:b})]})}},6565:function(e,t,r){"use strict";r.d(t,{DD:function(){return n},Ie:function(){return i},P0:function(){return l},d4:function(){return s},hX:function(){return o},vi:function(){return a}});let l="title_landing",n={header:"header",hero:"hero",synopsis:"synopsis",episodes:"episodes",trending:"trending_now",perks:"perks",trailer:"trailer_end_card",plans:"plans",faq:"faq",sticky:"sticky_cta"},a=e=>{if(!(null==e?void 0:e.id))return;let t=e.kind?"video"!==e.kind:!!e.is_collection;return"".concat(t?"series":"media","_").concat(e.id)},i=(e,t)=>{let{section:r,label:n}=t;return e.track("cta_click",{category:l,label:n,property:r})},o=(e,t)=>{let{event:r,label:n,property:a}=t;return e.track(r,{category:l,label:n,property:a})},s=(e,t)=>{let{family:r}=t;return e.track("toggle_plan_family",{category:l,label:r,property:n.plans})}},41872:function(e,t,r){"use strict";r.d(t,{dP:function(){return o}});let l=["wheel","touchstart","keydown"],n=()=>{let e=document.querySelector("[data-title-landing-header]")||document.querySelector("header");if(!e)return 0;let{bottom:t,height:r}=e.getBoundingClientRect();return"fixed"===getComputedStyle(e).position?t:r},a=e=>Math.max(0,e.getBoundingClientRect().top+window.pageYOffset-n()-12),i=e=>{e.classList.remove("plans-arrive"),e.offsetWidth,e.classList.add("plans-arrive"),setTimeout(()=>e.classList.remove("plans-arrive"),2400)},o=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if("undefined"==typeof document)return;let t=Date.now(),r=null,n=null,o=!1,s=()=>{null!==r&&clearInterval(r),r=null,l.forEach(e=>window.removeEventListener(e,s))},c=()=>{let r=document.getElementById("plans");if(r){let t=a(r);(null===n||Math.abs(t-n)>4)&&(n=t,window.scrollTo({top:t,behavior:"smooth"})),e&&!o&&(o=!0,i(r))}Date.now()-t>=1500&&s()};c(),null===r&&Date.now()-t<1500&&(r=setInterval(c,100),l.forEach(e=>window.addEventListener(e,s,{passive:!0})))}},64865:function(e,t,r){"use strict";r.d(t,{b1:function(){return s}});var l=r(67294),n=r(86957),a=r(6565);let i=Array.from({length:21},(e,t)=>t/20),o=e=>{var t;let r=(null===(t=e.rootBounds)||void 0===t?void 0:t.height)||window.innerHeight||0,l=e.boundingClientRect.height;return!!l&&!!r&&e.intersectionRect.height>=.5*Math.min(l,r)},s=function(e){let{event:t="section_view",label:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[s,c]=(0,l.useState)(null),d=(0,n.z$)(),u=(0,l.useRef)(new Set);return(0,l.useEffect)(()=>{if(!s||!e||u.current.has(e)||"undefined"==typeof IntersectionObserver)return;let l=null,n=()=>{l&&clearTimeout(l),l=null},c=new IntersectionObserver(i=>{let[s]=i;if(!u.current.has(e)){if(!s.isIntersecting||!o(s)){n();return}l||(l=setTimeout(()=>{l=null,u.current.add(e),c.disconnect(),(0,a.hX)(d,{event:t,label:null!=r?r:e,property:e})},500))}},{threshold:i});return c.observe(s),()=>{n(),c.disconnect()}},[d,t,e,r,s]),c}},80153:function(e,t,r){"use strict";r.d(t,{v:function(){return l}});let l={playToggle:"playToggle",volumePanel:"volumePanel",progressControl:"progressControl",remainingTimeDisplay:"remainingTimeDisplay",playbackRate:"playbackRate",closedCaptions:"closedCaptions",qualitySelector:"qualitySelector",audioTrack:"audioTrack",fullscreenToggle:"fullscreenToggle",seekBackward:"seekBackward",seekForward:"seekForward",slotA:"slotA",slotB:"slotB",slotC:"slotC"}},1196:function(e,t,r){"use strict";r.d(t,{fH:function(){return c},vv:function(){return d}});var l=r(85893),n=r(5152),a=r.n(n),i=r(67294),o=r(67759);let s=a()(()=>Promise.all([r.e(5982),r.e(5273),r.e(7596),r.e(1625)]).then(r.bind(r,21625)),{loadableGenerated:{webpack:()=>[21625]},ssr:!1}),c=(0,i.forwardRef)((e,t)=>
1(0,l.jsx)(s,{...e,forwardedRef:t,fit:"contain",containerClassName:"h-full w-full"})),d=e=>(0,l.jsx)(s,{...e,fit:"cover",containerClassName:"h-full w-full"});t.ZP=e=>{let{fullBleed:t,viewportScaling:r=!0,...n}=e,[a,c]=(0,i.useState)(!1),{className:d=""}=n,u={},_=(0,o.Z)();if(r){let e=_.height/_.width;u.paddingTop=t||!a?void 0:"".concat(Math.min(56.25,.9*e*100),"%")}let g=t?"w-screen":"w-full";return(0,l.jsx)(s,{...n,fit:t?"cover":"contain",onLoaded:(e,t,r)=>{c(!0),n.onLoaded&&n.onLoaded(e,t,r)},containerClassName:"".concat(g," h-full"),containerStyle:u,className:"h-full ".concat(g," ").concat(t?"pointer-events-none":""," ").concat(d)})}},32602:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},noSSR:function(){return i}});let l=r(38754);r(85893),r(67294);let n=l._(r(35491));function a(e){return{default:(null==e?void 0:e.default)||e}}function i(e,t){return delete t.webpack,delete t.modules,e(t)}function o(e,t){let r=n.default,l={loading:e=>{let{error:t,isLoading:r,pastDelay:l}=e;return null}};e instanceof Promise?l.loader=()=>e:"function"==typeof e?l.loader=e:"object"==typeof e&&(l={...l,...e});let o=(l={...l,...t}).loader;return(l.loadableGenerated&&(l={...l,...l.loadableGenerated},delete l.loadableGenerated),"boolean"!=typeof l.ssr||l.ssr)?r({...l,loader:()=>null!=o?o().then(a):Promise.resolve(a(()=>null))}):(delete l.webpack,delete l.modules,i(r,l))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1159:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return l}});let l=r(38754)._(r(67294)).default.createContext(null)},35491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});let l=r(38754)._(r(67294)),n=r(1159),a=[],i=[],o=!1;function s(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),a=null;function s(){if(!a){let t=new c(e,r);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!o){let e=r.webpack?r.webpack():r.modules;e&&i.push(t=>{for(let r of e)if(t.includes(r))return s()})}function d(e,t){!function(){s();let e=l.default.useContext(n.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let i=l.default.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return l.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),l.default.useMemo(()=>{var t;return i.loading||i.error?l.default.createElement(r.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:a.retry}):i.loaded?l.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return d.preload=()=>s(),d.displayName="LoadableComponent",l.default.forwardRef(d)}(s,e)}function u(e,t){let r=[];for(;e.length;){let l=e.pop();r.push(l(t))}return Promise.all(r).then(()=>
1{if(e.length)return u(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{u(a).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(o=!0,t());u(i,e).then(r,r)})),window.__NEXT_PRELOADREADY=d.preloadReady;let _=d},68003:function(e,t,r){"use strict";r.d(t,{Tf:function(){return a},ZP:function(){return n},hk:function(){return s}});var l=r(85401);function n(e,t){t={appendFileExtension:!0,...t};let{isAndroid:r}=(0,l.ZP)(),n={type:r?"application/dash+xml":"application/x-mpegURL",src:e};return t.appendFileExtension&&(n.src="".concat(e,".").concat(r?"mpd":"m3u8")),n}function a(e,t){let{isSafari:r,isIOS:n}=(0,l.ZP)();return{type:r||n?"application/x-mpegURL":"application/dash+xml",src:r||n?t:e}}let i=e=>({src:e.master_playlist_url,type:"application/x-mpegURL"}),o=e=>({src:e.master_playlist_url,type:"application/dash+xml"});function s(e){let t=null==e?void 0:e.encodings[0];if(!t)return null;let{isSafari:r,isIOS:n}=(0,l.ZP)();return r||n?i(t):o(t)}},46348:function(e){e.exports={plain:"HeroTitleArt_plain___5maG",viewport:"HeroTitleArt_viewport___MRjE",viewportPlain:"HeroTitleArt_viewportPlain__gDNLW",cropped:"HeroTitleArt_cropped__NaFT6",center:"HeroTitleArt_center__twlxE",centerObject:"HeroTitleArt_centerObject__EMur_"}},83723:function(e){e.exports={section:"TitleLandingHero_section__A7YHn",glow:"TitleLandingHero_glow__mRRLh",grain:"TitleLandingHero_grain__DILcR",grid:"TitleLandingHero_grid___CORu",fadeUp:"TitleLandingHero_fadeUp__PEAuL",copy:"TitleLandingHero_copy__M4iF0",badgeSlot:"TitleLandingHero_badgeSlot__khLiZ",titleHeading:"TitleLandingHero_titleHeading__KFVGf",tagline:"TitleLandingHero_tagline__2M46C",ctaRow:"TitleLandingHero_ctaRow__D0i0B",frame:"TitleLandingHero_frame__8Fdft",frameImg:"TitleLandingHero_frameImg__oqT87",frameScrim:"TitleLandingHero_frameScrim__9zTC_",previewCta:"TitleLandingHero_previewCta__qFqW8",previewLabel:"TitleLandingHero_previewLabel__Fzcu1",previewPlay:"TitleLandingHero_previewPlay__YzFM9"}},33237:function(e){e.exports={overlay:"TrailerLightbox_overlay__WU8Wm",overlayIn:"TrailerLightbox_overlayIn__d6bIP",frame:"TrailerLightbox_frame__kNZhJ",frameEnded:"TrailerLightbox_frameEnded___4Frq",closeBtn:"TrailerLightbox_closeBtn__mtADw",frameIn:"TrailerLightbox_frameIn__TdRJi",endCard:"TrailerLightbox_endCard__LjCsZ",endHeading:"TrailerLightbox_endHeading__Yznmw",endSub:"TrailerLightbox_endSub__FokJQ",endActions:"TrailerLightbox_endActions__ZjRPB",loading:"TrailerLightbox_loading__xlLDB",unavailable:"TrailerLightbox_unavailable__PFswS"}},60543:function(e){e.exports={section:"WatchTrailerHero_section__iNKo2",bg:"WatchTrailerHero_bg__ZdWun",glow:"WatchTrailerHero_glow__ABj2A",bgImg:"WatchTrailerHero_bgImg__WY_At",kenburns:"WatchTrailerHero_kenburns__MY_Rz",grain:"WatchTrailerHero_grain__oJZvk",scrim:"WatchTrailerHero_scrim__pAIhX",center:"WatchTrailerHero_center__e9DRM",fadeUp:"WatchTrailerHero_fadeUp__oD6HU",copy:"WatchTrailerHero_copy__G_AZd",badgeSlot:"WatchTrailerHero_badgeSlot__KbrgN",titleHeading:"WatchTrailerHero_titleHeading__cCRIV",tagline:"WatchTrailerHero_tagline__FMCKK",ctaRow:"WatchTrailerHero_ctaRow__uc6Ju",trailerCard:"WatchTrailerHero_trailerCard__o8b__",trailerCardImg:"WatchTrailerHero_trailerCardImg__ilutQ",trailerCardScrim:"WatchTrailerHero_trailerCardScrim__X_Qa5 TitleLandingHero_frameScrim__9zTC_",trailerCardCta:"WatchTrailerHero_trailerCardCta__5a6Dc TitleLandingHero_previewCta__qFqW8",trailerCardPlay:"WatchTrailerHero_trailerCardPlay__NT1B7 TitleLandingHero_previewPlay__YzFM9",trailerCardLabel:"WatchTrailerHero_trailerCardLabel__IYeHq TitleLandingHero_previewLabel__Fzcu1"}},5152:function(e,t,r){e.exports=r(32602)}}]);

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.