1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6811],{2202:(e,t,o)=>{o.d(t,{B:()=>d});var n=o(99680),a=o(66059),r=o(54524);let i=(0,o(81763).J)({collections:{device_categories:!0,id:!0,list_type:!0,params:!0,placeholders:!0,request_type:!0,url:!0},content_color:!0,content_entitlements:!0,content_type:!0,duration:!0,episode_number:!0,formatted_duration:!0,id:!0,label:!0,long_description:!0,maturity_data:!0,media_resources:{rbtv_display_art_landscape:!0,rbtv_display_art_portrait:!0,rbtv_display_logo_widescreen:!0,rbtv_title_treatment:!0,short_preview_mp4_high:!0},season_number:!0,short_description:!0,show_name:!0,subheading:!0,title:!0,type:!0,uri_slug:!0,year:!0});var s=o(96320),l=o(66233),c=o(53047);let d=e=>{let t,o=(0,n.c)(2);o[0]!==e?(t=(({ageBand:e,countryCode:t,enabled:o=!0,environmentOverride:n,id:a,locale:d,namespace:u})=>(0,r.j)({enabled:o,gcTime:1/0,queryFn:async()=>{let o=(({ageBand:e,id:t,...o})=>{let n=new URLSearchParams;e&&n.set("age_band",e);let a=n.toString();return`${(({countryCode:e,environmentOverride:t,locale:o,namespace:n,url:a=(0,c.e9)(t)})=>{let r=e;return["at","de","ch","li","lu","it"].includes(e.toLowerCase())||(r="at"),`${a}/products/v5.3/${n}/${o}/${r}`})(o)}/${t}${a?`?${a}`:""}`})({ageBand:e,countryCode:t,environmentOverride:n,id:a,locale:d,namespace:u}),r=await (0,l.n)(o);if(!r.ok)throw new s.h(r);return i(await r.json())},queryKey:["PRODUCT",a,e],staleTime:0}))(e),o[0]=e,o[1]=t):t=o[1];let d=t;return(0,a.useQuery)(d)}},3174:(e,t,o)=>{o.d(t,{RS:()=>l,ae:()=>i,cD:()=>c});var n=o(18601),a=o(64527);let r={ad:[],content:[],quality:[],web:[]},i=e=>{let t=e=>"object"==typeof e&&null!==e,o=t(e)?"ad"in e||"content"in e||"quality"in e||"web"in e?e:t(e.entitlements)?e.entitlements:{}:{},n=e=>Array.isArray(e)?e:[];return{ad:n(o.ad),content:n(o.content),quality:n(o.quality),web:n(o.web)}},s=(e,t)=>{if(e===t)return!0;if(e.length!==t.length)return!1;let o=new Map(e.map(e=>[e.id,e]));for(let e of t){let t=o.get(e.id);if(!t||t.name!==e.name||t.token!==e.token)return!1}return!0},l=(0,n.vt)((e,t)=>({actions:{reset:()=>e({entitlements:r,hasSettled:!0,isLoading:!1}),setEntitlements:o=>{let n,a=i(o);n=t().entitlements,s(n.ad,a.ad)&&s(n.content,a.content)&&s(n.quality,a.quality)&&s(n.web,a.web)||e({entitlements:a})},setHasSettled:o=>{t().hasSettled!==o&&e({hasSettled:o})},setIsLoading:o=>{t().isLoading!==o&&e({isLoading:o})}},entitlements:r,hasSettled:!1,isLoading:!0})),c=()=>l((0,a.k)(e=>e.actions))},5541:(e,t,o)=>{o.d(t,{V:()=>r});var n=o(99680),a=o(3174);let r=e=>{let t,o,r=(0,n.c)(11),{contentEntitlements:l,enabled:c,entitlementType:d}=e,u=(0,a.RS)(i),m=(0,a.RS)(s);if(!l.length||!(void 0===c||c)){let e;return r[0]===Symbol.for("react.memo_cache_sentinel")?(e={hasData:!0,isBlocked:!1,isLoading:!1},r[0]=e):e=r[0],e}let p=u[d];if(r[1]!==l||r[2]!==p){let e;r[4]!==l?(e=e=>l.includes(e.id),r[4]=l,r[5]=e):e=r[5],t=p.find(e),r[1]=l,r[2]=p,r[3]=t}else t=r[3];let g=t,v=!m,y=!g;return r[6]!==g||r[7]!==m||r[8]!==v||r[9]!==y?(o={entitlement:g,hasData:v,isBlocked:y,isLoading:m},r[6]=g,r[7]=m,r[8]=v,r[9]=y,r[10]=o):o=r[10],o};function i(e){return e.entitlements}function s(e){return e.isLoading}},9188:(e,t,o)=>{o.d(t,{PC:()=>b,H7:()=>C});var n=o(18601),a=o(64527),r=o(58831);let i={analyticsDevicePlatform:"amazon",backButtonKeyCodes:[27],deviceTimezone:(0,r.A)().find(e=>
1e.currentTimeOffsetInMinutes===-new Date().getTimezoneOffset())?.name,hasMouse:!1,isLowTierDevice:!0,isReady:!0,lowTierReason:"blanket-hardware",mediaButtonFFCodes:[228],mediaButtonPauseCodes:[],mediaButtonPlayCodes:[],mediaButtonPlayPauseCodes:[179],mediaButtonRewindCodes:[227],mediaButtonStopCodes:[],platformId:"amazon"};var s=o(46844),l=o(64722);function c({attributes:e,innerHTML:t,scriptSrc:o,uniqueScriptId:n}){return new Promise((a,r)=>{if(document.getElementById(n))return void a("exists");let i=document.createElement("script");i.id=n,o&&(i.src=o),i.onload=a,i.onerror=r,t&&(i.innerHTML=t),e&&Object.values(e).forEach(e=>{"string"==typeof e&&i.setAttribute(`data-${e}`,e)}),document.head.appendChild(i)})}let d={analyticsDevicePlatform:"lgtv",backButtonKeyCodes:[461],extraCardDetailsCodes:[405],hasMouse:!0,inputType:"search",isReady:!0,mediaButtonFFCodes:[417],mediaButtonPauseCodes:[19],mediaButtonPlayCodes:[415],mediaButtonRewindCodes:[412],mediaButtonStopCodes:[413],platformId:"lg"},u={analyticsDevicePlatform:"philips",backButtonKeyCodes:[8],hasMouse:!1,isReady:!0,mediaButtonFFCodes:[417],mediaButtonPauseCodes:[19],mediaButtonPlayCodes:[415],mediaButtonRewindCodes:[412],mediaButtonStopCodes:[413],platformId:"philips"},m=e=>{let t="";if(e){switch(e.resolution){case"SD":t="480p";break;case"HD":t="720p";break;case"FullHD":case"FHD":case"2K":default:t="1080p";break;case"WQHD":case"QHD":t="2440p";break;case"4K":case"UHD":case"UltraHD":t="2160p";break;case"8K":t="4320p"}return Math.trunc(e.refreshRate)>=119?t+="120":Math.trunc(e.refreshRate)>=59?t+="60":t+="30",t}return"1080p30"},p={analyticsDevicePlatform:"playstation5",backButtonKeyCodes:[27],deviceTimezone:(0,r.A)().find(e=>
1e.currentTimeOffsetInMinutes===-new Date().getTimezoneOffset())?.name,hasMouse:!1,isLowTierDevice:!0,isReady:!0,lowTierReason:"blanket-hardware",mediaButtonFFCodes:[134],mediaButtonPauseCodes:[135],mediaButtonPlayCodes:[179],mediaButtonPlayPauseCodes:[217],mediaButtonRewindCodes:[133],platformId:"playstation5"};var g=o(92191);let v=e=>{if(g.a.getState().PLATFORM_CONTINUE_WATCHING_ENABLED)try{console.log("Removing from Samsung Continue Watching",e),window.parent.postMessage({payload:e,type:"remove-from-continue-watching"},"*")}catch(t){throw console.error(`Error removing ${e} from Samsung Continue Watching`,t),t}},y=()=>v("ALL"),f=(e,t)=>{let o=Math.floor(t/1e3),n=g.a.getState(),a=n.SAMSUNG_CONTINUE_WATCHING_APP_ICON,r=n.TENANT_NAME;if(!n.PLATFORM_CONTINUE_WATCHING_ENABLED)return;if(!a)return void console.error("No app icon set for Continue Watching");let i={app_icon:a,app_name:r,content_id:e.id,content_title:encodeURIComponent(e.title),description:e.shortDescription?encodeURIComponent(e.shortDescription):"",duration:e.duration,field:"0",image_url:e.imageUrl,payload:`deeplink=media-playback&contentId=${e.id}`,playback:e.currentPlaybackTime,rate:e.rate,release:e.release,sub_title:e.subheading?encodeURIComponent(e.subheading):"",timestamp:o};try{console.log("Adding to Samsung Continue Watching",o,e),window.parent.postMessage({payload:JSON.stringify(i),type:"add-to-continue-watching"},"*")}catch(t){throw console.error(`Error adding ${e.id} to Samsung Continue Watching`,t),t}},h=e=>{let t=Date.now();console.log("Adding multiple to Samsung Continue Watching",e),e.forEach((e,o)=>{f(e,t-864e5*o)}),console.log("Added multiple to Samsung Continue Watching",e)},w={adUnitPlatform:"samsungtv",analyticsDevicePlatform:"samsungtv",backButtonKeyCodes:[10009],hasMouse:!1,inputType:"search",isReady:!0,mediaButtonFFCodes:[417],mediaButtonPauseCodes:[19],mediaButtonPlayCodes:[415],mediaButtonPlayPauseCodes:[10252],mediaButtonRewindCodes:[412],mediaButtonStopCodes:[413],platformId:"samsung"};var _=o(11097);let E={analyticsDevicePlatform:"sky",backButtonKeyCodes:[27],deviceFormat:"1080p60",deviceTimezone:(0,r.A)().find(e=>
1e.currentTimeOffsetInMinutes===-new Date().getTimezoneOffset())?.name,hasMouse:!1,isLowTierDevice:!0,isReady:!0,lowTierReason:"legacy-engine",mediaButtonFFCodes:[],mediaButtonPauseCodes:[],mediaButtonPlayCodes:[],mediaButtonPlayPauseCodes:[179],mediaButtonRewindCodes:[],mediaButtonStopCodes:[],platformId:"sky"},P={adUnitPlatform:"vidaatv",analyticsDevicePlatform:"vidaatv",backButtonKeyCodes:[8],deviceTimezone:(0,r.A)().find(e=>e.currentTimeOffsetInMinutes===-new Date().getTimezoneOffset())?.name,hasMouse:!1,isReady:!0,mediaButtonFFCodes:[417],mediaButtonPauseCodes:[19],mediaButtonPlayCodes:[415],mediaButtonRewindCodes:[412],platformId:"vidaa"},I={analyticsDevicePlatform:"xbox",backButtonKeyCodes:[27,208],hasMouse:!1,isReady:!0,keyMapOverride:{down:[40,204,216],enter:[13,195,209,210],left:[37,205,218],right:[39,206,217],up:[38,203,215]},mediaButtonFFCodes:[],mediaButtonPauseCodes:[],mediaButtonPlayCodes:[],mediaButtonRewindCodes:[],platformId:"xbox"},S=!1,A=(0,l.j6)(),T={adUnitPlatform:"",analyticsDevicePlatform:"other",appState:"unknown",backButtonKey:"Escape",backButtonKeyCodes:[],deviceCodec:"",deviceFormat:"",deviceImageFormat:"f_auto",deviceQuality:"",deviceTimezone:Intl.DateTimeFormat().resolvedOptions().timeZone??"",extraCardDetailsCodes:[],firmware:"",hasMouse:!0,hasPlatformCaptionsEnabled:!1,inputType:"text",isLowTierDevice:A,isLowTierSpinner:!1,isReady:!1,keyMapOverride:{},lowTierReason:A?"forced-cookie":"",mediaButtonFFCodes:[],mediaButtonPauseCodes:[],mediaButtonPlayCodes:[],mediaButtonPlayPauseCodes:[],mediaButtonRewindCodes:[],mediaButtonStopCodes:[],modelName:"",platformDeeplinkData:new URLSearchParams,platformId:"other",throttleBackKeypressTime:150,throttleKeypressTime:150,throttleTvArrowScrollTime:1e3,triggerPauseEvent:!1,triggerPlayEvent:!1},C=(0,n.vt)((e,t)=>({actions:{addMultipleToContinueWatching:()=>{},addToContinueWatching:()=>{},clearContinueWatching:()=>{},exitApp:()=>{window.close()},onSignIn:()=>{},onSignOut:()=>{},removeFromContinueWatching:()=>{},setAppPlatform:o=>{if(!S)switch(S=!0,o){case"amazon":console.log("Amazon Vega OS");let n=t();try{console.log("amazonPlatformUtils amazon; amazonInit"),window.addEventListener("AMAZON-APP-STATE-CHANGED",t=>{e(()=>({appState:t.detail.appState}))});let t={...n.actions,exitApp:()=>{try{window.ReactNativeWebView?.postMessage("exitApp")}catch(e){console.error("Amazon exit error",e)}},onSignIn:()=>{try{console.log("amazonPlatformUtils onSignIn"),window.ReactNativeWebView?.postMessage("signIn")}catch(e){console.error("Amazon signIn error",e)}},onSignOut:()=>{try{console.log("amazonPlatformUtils onSignOut"),window.ReactNativeWebView?.postMessage("signOut")}catch(e){console.error("Amazon signOut error",e)}}};e({...i,actions:t})}catch(t){console.error("Error: amazon init",t),e({...i})}break;case"hbbtv":console.log("HbbTV"),((e,t)=>{let o=t(),n={analyticsDevicePlatform:"hbbtv",backButtonKeyCodes:[8,12,27,461],deviceTimezone:(0,r.A)().find(e=>
1e.currentTimeOffsetInMinutes===-new Date().getTimezoneOffset())?.name,hasMouse:!1,isLowTierDevice:!0,isReady:!0,lowTierReason:"legacy-engine",mediaButtonFFCodes:(0,l.Ed)("VK_FAST_FWD",227),mediaButtonPauseCodes:(0,l.Ed)("VK_PAUSE",72,19),mediaButtonPlayCodes:(0,l.Ed)("VK_PLAY",80,179,415),mediaButtonPlayPauseCodes:(0,l.Ed)("VK_PLAY_PAUSE",32),mediaButtonRewindCodes:(0,l.Ed)("VK_REWIND",228),mediaButtonStopCodes:(0,l.Ed)("VK_STOP"),platformId:"hbbtv"};try{console.log("hbbtvPlatformUtils hbbtv; hbbtvInit");let t=new URLSearchParams(window.location.search).get("cb");console.warn("hbbtvPlatformUtils hbbtv",window.cbUrl,t),window.onerror=(e,t,o,n,a)=>{console.log("got error."),console.error(e,t,o,n,a),console.error(a)};let a=document.implementation.createDocumentType("html","-//HbbTV//1.2.1//EN","http://www.hbbtv.org/dtd/HbbTV-1.2.1.dtd");document.doctype?.parentNode?.replaceChild(a,document.doctype);try{let e=document.getElementById("hbbtv-app-manager"),t=e?.getOwnerApplication(document);try{t?.show()}catch(e){}t.privateData.keyset.setValue(511),document.addEventListener("keydown",e=>{e.preventDefault(),console.log("HbbTV keydown",e.keyCode)},!1)}catch(e){console.error("hbbtvInit error appManager",e)}let r={...o.actions,exitApp:()=>{console.warn("HbbTV exit");try{let e=document.getElementById("hbbtv-app-manager")?.getOwnerApplication(document);e.destroyApplication(),console.warn("HbbTV exit 2",e);let t=new URLSearchParams(window.location.search).get("cb");console.warn("HbbTV exit 3",window.cbUrl,t),null!==window.cbUrl&&void 0!==window.cbUrl?window.location.href=window.cbUrl:null!=t&&(window.location.href=t)}catch{}window?.top?.close&&window?.top?.close()}};try{(0,s.Cq)({down:[window?.VK_DOWN,window.KeyEvent?.VK_DOWN,40],enter:[window?.VK_ENTER,window.KeyEvent?.VK_ENTER,13],left:[window?.VK_LEFT,window.KeyEvent?.VK_LEFT,37],right:[window?.VK_RIGHT,window.KeyEvent?.VK_RIGHT,39],up:[window?.VK_UP,window.KeyEvent?.VK_UP,38]})}catch(e){console.error("Error: hbbtv setKeyMap",e)}e({...n,actions:r})}catch(t){console.error("Error: hbbtv init",t),e({...n})}})(e,t);break;case"lg":console.log("LG");try{console.log("LGPlatformUtils lg; lgInit"),Promise.all([c({scriptSrc:"https://static-resources.redbull.tv/smart-tv/scripts/lg/webOSTVjs-1.2.11.js",uniqueScriptId:"lg-webOSTVjs"})]).then(t=>{console.log("LGPlatformUtils lg; lgInit script",t),Promise.allSettled([(console.log("PlatformUtils LG; Fetching getDeviceInfo"),new Promise((e,t)=>{try{webOS.deviceInfo(t=>{console.log("PlatformUtils LG; getDeviceInfo Result:",t);let o={};o.modelName=t.modelName,o.firmware=t.sdkVersion;let n=Number(o.firmware?.split(".")?.[0]),a=Number.isFinite(n),r=a&&n>=22,i=(0,l.E0)(t.ddrSize),{isLowTierDevice:s,lowTierReason:c}=(0,l.GR)([[!r,"engine-version"],[r&&null!==i&&i<2,"low-memory"]]);o.isLowTierDevice=s,o.lowTierReason=c,o.isLowTierSpinner=a&&n<=5,o.deviceImageFormat=r?"f_avif":"f_auto",t.uhd8K?(o.deviceCodec="hevc,av1",o.deviceFormat="4320p60"):t.uhd?(o.deviceCodec="av1,vp9,hevc,h.264",o.deviceFormat="2160p60"):(o.deviceCodec="hevc,h.264",o.deviceFormat="1080p60");let d=[];t.hdr10&&d.push("hdr10"),t.dolbyVision&&d.push("dolby_vision"),t.dolbyAtmos&&d.push("atmos"),o.deviceQuality=d.join(", "),e(o)})}catch(e){console.error("PlatformUtils LG; getDeviceInfo Error",e),t(e)}}))]).then(([t])=>{console.log("LGPlatformUtils lg; lgInit deviceInfo",t),e({...d,...(0,l.YC)(t)})}),document.addEventListener("webOSLocaleChange",()=>{window.location.reload()});try{webOS.service.request("luna://com.palm.connectionmanager",{method:"getStatus",onFailure(e){console.log("networkChangeHandler Failed to get network state"),console.log(`[${e.errorCode}]: ${e.errorText}`)},onSuccess(e){void 0===e.subscribed||e.subscribed?console.log(`networkChangeHandler Result: ${JSON.stringify(e)}`):console.log("Failed to subscribe network state")},parameters:{subscribe:!0}})}catch(e){console.error("Error: networkChangeHandler:",e)}}).catch(t=>{console.error("Error: lg init installScript",t),e({...d,...(0,l.jw)()})})}catch(t){console.error("Error: lg init",t),e({...d,...(0,l.jw)()})}break;case"philips":console.log("Philips");try{console.log("philipsPlatformUtils philips; philipsInit"),Promise.all([c({scriptSrc:"https://sdk.titanos.tv/sdk/sdk.js",uniqueScriptId:"philips-deviceInfoAPI"})]).then(t=>{console.log("philipsPlatformUtils philips; philipsInit script",t),Promise.allSettled([(console.log("PlatformUtils Philips; Fetching getDeviceInfo"),new Promise((e,t)=>
1{try{Promise.allSettled([new Promise((e,t)=>{window.onDeviceInfoReady(o=>{try{e(o)}catch(e){t(e)}})})]).then(([o])=>{if("fulfilled"===o.status){console.log("PlatformUtils Philips; DeviceInfo Result:",o);let t={};t.modelName=window.navigator.userAgent.split(" ").find(e=>e.includes("TV_"))?.split("/")[0],t.firmware=o.value.Product.firmwareVersion;let n=(0,l.Gw)(),a=(0,l.S0)(1),{isLowTierDevice:r,lowTierReason:i}=(0,l.GR)([[null===n,"legacy-engine"],[null!==n&&n<100,"engine-version"],[a,"low-memory"]]);t.isLowTierDevice=r,t.lowTierReason=i,t.isLowTierSpinner=r,t.deviceImageFormat=null!==n&&n>=85?"f_avif":"f_auto",!0===o.value.Capability.supportUHD?(t.deviceCodec="av1,vp9,hevc,h.264",t.deviceFormat="2160p60"):(t.deviceCodec="hevc,h.264",t.deviceFormat="1080p60");let s=[];!0===o.value.Capability.supportHDR_HDR10&&s.push("hdr10"),!0===o.value.Capability.supportHDR_DV&&s.push("dolby_vision"),t.deviceQuality=s.join(", "),e(t)}else t(o.reason)})}catch(e){console.error("PlatformUtils Philips; getDeviceInfo Error",e),t(e)}}))]).then(([t])=>{console.log("philipsPlatformUtils philips; philipsInit deviceInfo",t),e({...u,...(0,l.YC)(t)})})}).catch(t=>{console.error("Error: philips init installScript",t),e({...u,...(0,l.jw)()})})}catch(t){console.error("Error: philips init",t),e({...u,...(0,l.jw)()})}break;case"playstation5":console.log("PlayStation 5");try{console.log("playstation5PlatformUtils playstation5; playstation5Init"),Promise.allSettled([window.msdk.device.getDisplayInfoImmediate()]).then(([t])=>{console.log("playstation5PlatformUtils playstation5; playstation5Init deviceInfo",t),"fulfilled"===t.status?(p.deviceFormat=m(t.value),p.deviceQuality=t.value?.dynamicRange==="HDR"?"hdr10":""):(p.deviceFormat=m(),p.deviceQuality=""),p.modelName=navigator.userAgent.match(/PlayStation \d/)?.[0]??"",p.firmware=navigator.userAgent.match(/PlayStation \d\/(\d{1,2}\.\d{1,2})/)?.[1]??"",p.deviceCodec="vp9,avc1,hev1,hvc1",e({...p});try{window.msdk.device.disableScreenshots(),console.log("playstation5PlatformUtils: Screenshots have been disabled.")}catch(e){console.log("Error: playstation5 failed to disable screenshots:",e)}try{window.msdk.device.oskImmediate=!0}catch(e){console.error("Error: playstation5 window.msdk.device.oskImmediate",e)}})}catch(t){console.error("Error: playstation5 init",t),e({...p})}break;case"samsung":console.log("Samsung");let a=t();try{console.log("samsungPlatformUtils samsung; samsungInit"),Promise.all([c({scriptSrc:"$WEBAPIS/webapis/webapis.js",uniqueScriptId:"samsung-webapis"})]).then(t=>{console.log("samsungPlatformUtils samsung; samsungInit script",t),Promise.allSettled([(console.log("PlatformUtils Samsung; Fetching getDeviceInfo"),new Promise((e,t)=>{try{let t={};t.modelName=webapis.productinfo.getModel(),t.firmware=webapis.productinfo.getFirmware();let o=function(){try{let{userAgent:e}=navigator,t=e.match(/Tizen\s+(\d+\.\d+)/);return console.log("PlatformUtils Samsung; parseTizenVersion",t),t?t[1]:void 0}catch(e){console.error("PlatformUtils Samsung; parseTizenVersion Error",e);return}}(),n=o?parseFloat(o):void 0,a=null!==(0,l.Gw)(),r=!a,i=a&&void 0===n,s=a&&void 0!==n&&n<=6;t.isLowTierSpinner=!a||void 0===n||n<=5.5;let c=(0,l.S0)(1),{isLowTierDevice:d,lowTierReason:u}=(0,l.GR)([[r,"legacy-engine"],[s||i,"engine-version"],[c,"low-memory"]]);t.isLowTierDevice=d,t.lowTierReason=u,webapis.productinfo.is8KPanelSupported()?t.deviceFormat="4320p60":webapis.productinfo.isUdPanelSupported()?t.deviceFormat="2160p60":t.deviceFormat="1080p60",t.deviceCodec=["H264","H265","H263","AC3","AAC","WMA"].filter(e=>webapis?.systeminfo?.isSupportedVideoCodec(e)||webapis?.systeminfo?.isSupportedAudioCodec(e)).toString();let m=["HLG"];try{webapis.avinfo?.isHdrTvSupport?.()&&m.push("HDR10","HDR10+")}catch(e){console.error("PlatformUtils Samsung; getDeviceInfo isHdrTvSupport Error",e)}t.deviceQuality=m.join(", ");try{let e=1===webapis.tvinfo.getMenuValue(webapis.tvinfo.TvInfoMenuKey.CAPTION_ONOFF_KEY);t.hasPlatformCaptionsEnabled=e,console.log("samsungPlatformUtils samsung; samsungInit captionsEnabled",e)}catch(e){console.error("samsungPlatformUtils samsung; samsungInit getMenuValue Error",e)}e(t)}catch(e){console.error("samsungPlatformUtils Samsung; getDeviceInfo Error",e),t(e)}}))]).then(([t])=>{console.log("samsungPlatformUtils samsung; samsungInit deviceInfo",t);let o={...a.actions,addMultipleToContinueWatching:h,addToContinueWatching:f,clearContinueWatching:y,exitApp:()=>{window?.top?.close()},removeFromContinueWatching:v};e({...w,actions:o,...(0,l.YC)(t)})});try{webapis.appcommon.setScreenSaver(webapis.appcommon.AppCommonScreenSaverState.SCREEN_SAVER_OFF)}catch(e){console.error("samsungPlatformUtils samsung; samsungInit setScreenSaver Error",e)}window.addEventListener("message",t=>
1{t?.data?.source?.includes("react-devtools-bridge")||"string"==typeof t?.data&&t?.data?.includes("bitmovin")||t?.data?.type==="deeplink"&&(console.log("SamsungPlatformUtils samsung; samsungInit deeplink",t?.data?.deeplinkData),e({platformDeeplinkData:new URLSearchParams(t?.data?.deeplinkData)}))}),["MediaPlay","MediaPause","MediaFastForward","MediaRewind","MediaStop"].forEach(e=>{try{webapis.appcommon.registerKey(e),console.log(`registered ${e} with webapis.appcommon.registerKey`)}catch(t){console.log(`failed to register ${e}: ${t}`),console.log("failed to register err:",JSON.stringify(t))}})}).catch(t=>{console.error("samsungPlatformUtils samsung; samsungInit Error",t),e({...w,...(0,l.jw)()})})}catch(t){console.error("Error: samsung init",t),e({...w,...(0,l.jw)()})}break;case"sky":console.log("Sky");let g=t();try{Promise.allSettled([(console.log("PlatformUtils Sky; Fetching getDeviceInfo"),new Promise((e,t)=>{Promise.all([_.pF.hdr(),_.pF.version(),_.pF.model()]).then(([t,o,n])=>{console.log("skyPlatformUtils sky; skyInit negotiatedHdrFormats",t),console.log("skyPlatformUtils sky; skyInit versions",o),console.log("skyPlatformUtils sky; skyInit modelName",n);let a={},r=[];t.hdr10&&r.push("hdr10"),t.hdr10Plus&&r.push("hdr10Plus"),t.dolbyVision&&r.push("dolby_vision"),t.hlg&&r.push("hlg"),a.deviceQuality=r.join(", "),a.firmware=`${o?.firmware?.major}.${o?.firmware?.minor}.${o?.firmware?.patch}`,a.modelName=n,a.deviceCodec="hevc,h.264,h.265,vp9",e(a)}).catch(e=>{console.error("PlatformUtils Sky; getDeviceInfo Error",e),t(e)})}))]).then(([t])=>{console.log("skyPlatformUtils sky; skyInit deviceInfo",t);let o={...g.actions,exitApp:()=>{console.log("sky exitApp - Lifecycle.close(Lifecycle.CloseReason.USER_EXIT)"),_.v0.close(_.v0.CloseReason.USER_EXIT)}};try{_.v0.listen((e,t)=>{console.log("Sky lifecycle event",e,t)}),_.v0.listen("background",t=>{console.log("Sky lifecycle event: background",window.location.pathname.includes("/video"),t),window.location.pathname.includes("/video")&&e({triggerPauseEvent:!0})}),_.v0.listen("foreground",t=>{console.log("Sky lifecycle event: foreground",window.location.pathname.includes("/video"),t),window.location.pathname.includes("/video")&&e({triggerPlayEvent:!0})}),_.v0.ready()}catch(e){console.error("Error: sky init",e)}e({...E,actions:o,..."fulfilled"===t.status&&t.value})})}catch(e){console.error("Error: sky init",e)}break;case"tivo":console.log("TiVo");let A={adUnitPlatform:"tivo",analyticsDevicePlatform:"tivo",backButtonKeyCodes:(0,l.Ed)("VK_BACK",8),deviceTimezone:(0,r.A)().find(e=>
1e.currentTimeOffsetInMinutes===-new Date().getTimezoneOffset())?.name,hasMouse:!1,isLowTierDevice:!0,isLowTierSpinner:!0,isReady:!0,lowTierReason:"blanket-hardware",mediaButtonFFCodes:(0,l.Ed)("VK_FAST_FWD",417),mediaButtonPauseCodes:(0,l.Ed)("VK_PAUSE",19),mediaButtonPlayCodes:(0,l.Ed)("VK_PLAY",415),mediaButtonPlayPauseCodes:(0,l.Ed)("VK_PLAY_PAUSE",463),mediaButtonRewindCodes:(0,l.Ed)("VK_REWIND",412),mediaButtonStopCodes:(0,l.Ed)("VK_STOP",413),platformId:"tivo"};try{console.log("tivoPlatformUtils TiVo; tivoInit"),e({...A})}catch(t){console.error("Error: TiVo init",t),e({...A})}break;case"vidaa":console.log("VIDAA");try{console.log("vidaaPlatformUtils vidaa; vidaaInit"),Promise.all([c({scriptSrc:"https://tvmodules-vidaa.vidaahub.com/deviceapi/vidaatv.js",uniqueScriptId:"vidaa-deviceInfoAPI"})]).then(t=>{console.log("vidaaPlatformUtils vidaa; vidaaInit script",t),Promise.allSettled([(console.log("PlatformUtils Vidaa; Fetching getDeviceInfo"),new Promise((e,t)=>{try{console.log(vidaatv),console.log("PlatformUtils Vidaa; DeviceInfo Result:",vidaatv);let t={};t.modelName=vidaatv.getModelName(),t.firmware=vidaatv.getFirmWareVersion(),console.log("userAgent",navigator.userAgent),t.deviceImageFormat="f_auto";let o=!0===vidaatv.get4KState(),n=(0,l.Gw)(),a=(0,l.S0)(2),{isLowTierDevice:r,lowTierReason:i}=(0,l.GR)([[null===n,"legacy-engine"],[null!==n&&n<100,"engine-version"],[a,"low-memory"],[!o,"entry-panel"]]);t.isLowTierDevice=r,t.lowTierReason=i,t.isLowTierSpinner=r,o?(t.deviceCodec="av1,vp9,hevc,h.264",t.deviceFormat="2160p60"):(t.deviceCodec="hevc,h.264",t.deviceFormat="1080p60");let s=[];!0===vidaatv.getHDRStatus()&&s.push("hdr10"),t.deviceQuality=s.join(", "),console.log("vidaa newState",t),e(t)}catch(e){console.error("PlatformUtils Vidaa; getDeviceInfo Error",e),t(e)}}))]).then(([t])=>{console.log("vidaaPlatformUtils vidaa; vidaaInit deviceInfo"),e({...P,...(0,l.YC)(t)})})}).catch(t=>{console.error("Error: vidaa init installScript",t),e({...P,...(0,l.jw)()})})}catch(t){console.error("Error: vidaa init",t),e({...P,...(0,l.jw)()})}break;case"xbox":console.log("Xbox");try{console.log("xboxPlatformUtils xbox; xboxInit"),(0,s.Cq)(I.keyMapOverride)}catch(e){console.error("Error: xbox init",e)}finally{e({...I})}break;default:e({isReady:!0}),console.log("Other, platform:",o)}},setLowTierDevice:t=>{e({isLowTierDevice:t,lowTierReason:t?"manual-qa":""})},setPlatformDeeplinkData:t=>{e({platformDeeplinkData:t})},setThrottleBackKeypressTime:t=>{e({throttleBackKeypressTime:t})},setThrottleKeypressTime:t=>{e({throttleKeypressTime:t})},setThrottleTvArrowScrollTime:t=>{e({throttleTvArrowScrollTime:t})},setTriggerPauseEvent:t=>{e({triggerPauseEvent:t})},setTriggerPlayEvent:t=>{e({triggerPlayEvent:t})}},...T})),b=()=>C((0,a.k)(D));function D(e){return e.actions}},10510:(e,t,o)=>{o.d(t,{useSetWindowHistoryKey:()=>r});var n=o(99680),a=o(67782);let r=()=>{let e,t=(0,n.c)(1);t[0]===Symbol.for("react.memo_cache_sentinel")?(e={onNavigateStart:i},t[0]=e):e=t[0],(0,a.useAppRouterEvents)(e)};function i(e){let{nextHistoryKey:t}=e;window.historyKey=t}},13109:(e,t,o)=>{o.d(t,{f:()=>u,S:()=>m});var n=o(18601),a=o(64527),r=o(96442),i=o(24094),s=o(47472);let l=async(e,t,o,n,a,l,c)=>{let d=t();if(d.instanceStatus===s.tL.NotInitialized){e({instanceStatus:s.tL.Initializing});try{let u={...d};u.AnalyticsInstance=new r.j0({defaults:{context:{app:{version:a}},properties:{device_platform:n,locale:l,rb_language:c?.slice(0,2)||""}}}).setEventHook(o=>{let n=o.properties?.page_id??"";return o.properties={...o.properties,page_view_id:((e,t,o)=>{let{page:n}=t(),a=n?.viewId;return n?.prevPageId!==o&&e({page:{prevPageId:o,viewId:a=(0,i.A)()}}),a})(e,t,n)},o}),u.AnalyticsInstance.log.level(0),await u.AnalyticsInstance.load(o),console.log("Analytics - Analytics loaded...",u.AnalyticsInstance),u.
1instanceStatus=s.tL.Ready,e({...u})}catch(t){console.error("Error: Analytics - analyticsInit: ",t),e({instanceStatus:s.tL.Error})}}};var c=o(9188);let d=({pageId:e,platform:t,title:o})=>{let n=o??s.sS;return`${t}|${e}|${n}`},u=(0,n.vt)((e,t)=>({AnalyticsInstance:null,actions:{analyticsInit:(o,n,a,r,i)=>{l(e,t,o,n,a,r,i)},analyticsScreenView:e=>{let o=t(),n=c.H7.getState().analyticsDevicePlatform;if(o.instanceStatus===s.tL.Ready)try{let{options:t,pageId:a,title:r}=e,i={page_id:a,page_name:d({pageId:a,platform:n,title:r})};o.AnalyticsInstance?.screen(a,i,t)}catch(e){e instanceof Error&&console.error("Error: Analytics - analyticsScreenView: ",e?.message)}},analyticsTrack:e=>{let o=t(),n=c.H7.getState().analyticsDevicePlatform;if(o.instanceStatus===s.tL.Ready)try{let{pageId:t,properties:a,title:r,type:i}=e,s={page_id:t,page_name:d({pageId:t,platform:n,title:r})};o.AnalyticsInstance?.track(i,{...a,...s})}catch(e){e instanceof Error&&console.error("Error: Analytics - analyticsTrack: ",e?.message)}}},instanceStatus:s.tL.NotInitialized,page:{prevPageId:"",viewId:""}})),m=()=>u((0,a.k)(p));function p(e){return e.actions}},15166:(e,t,o)=>{o.d(t,{Ge:()=>d,w5:()=>s,zL:()=>c});var n=o(84739),a=o(93691);let r=({card:e,collectionId:t,collectionType:o,options:a})=>{let r=e.uri_slug?`/${e.uri_slug}`:"",i=a?.play??!0,s=a?.isTvApp??!1;if((0,n.K)(e)||"video"===e.type&&!e.playable&&e.detail_page_id)return`/page/${e.detail_page_id}${r}`;if("video"===e.type||e.playable){let o=new URLSearchParams;if(t&&o.set("cid",t),e.upnext_offset&&o.set("offset",String(e.upnext_offset)),s&&e.playable&&i){let t=o.toString();return`/video/${e.id}${t?`?${t}`:""}`}e.playable&&i&&o.set("play","true");let n=o.toString();return`/page/${e.id}${r}${n?`?${n}`:""}`}return"partner_channel"===e.content_type?`/partner-channel/${e.id}${r}${"promo"===o||"small_promo"===o?"?deeplink=promo_card":""}`:"system"===e.content_type&&e.id===a?.sportSystemPageId?"/sport":`/page/${e.id}${r}`},i=({card:e,collectionType:t,options:o})=>!!(o?.isTvApp&&"schedule"===t&&!e.playable),s=({card:e,collectionId:t,collectionType:o,isBlocked:n,options:s})=>{let l="promo"===o||"small_promo"===o;if(e.nav_url&&l)return n?null:(0,a.Hl)(e.nav_url);let c="schedule"===o;return i({card:e,collectionType:o,options:s})?null:c&&!e.playable&&e.detail_page_id||!n&&(e.playable||"video"!==e.type||e.detail_page_id||"schedule"===o)?r({card:e,collectionId:t,collectionType:o,options:s}):null},l=new Set(["authenticated-mature-content-access"]),c=(e,{isFavoritesAction:t=!1}={})=>e?.some(e=>l.has(e))?"authenticated-mature-content-access":t?"favorites":"default",d=(e,t,o)=>{let n=s(e);if(!i({card:e.card,collectionType:e.collectionType,options:e.options})){if(e.isBlocked&&!n)return void o?.(c(e.card.content_entitlements));if(n){if(e.card.nav_url&&"relative"!==e.card.nav_url_type&&(0,a.D2)(n))return void(e.card.open_new_tab?window.open(n,"_blank","noopener,noreferrer"):window.location.href=n);t(n)}}}},20308:(e,t,o)=>{o.d(t,{useNavigate:()=>i});var n=o(99680),a=o(80566),r=o(68201);let i=()=>{let e,t=(0,n.c)(2),o=(0,r.yI)(s);return t[0]!==o?(e=(e,t)=>{let{replace:n}=void 0===t?{}:t;"u">typeof navigator&&!1===navigator.onLine||o({event:e,nextId:(0,a.W)(),replace:n})},t[0]=o,t[1]=e):e=t[1],e};function s(e){return e.setNavigation}},22530:(e,t,o)=>{o.r(t),o.d(t,{RouterProvider:()=>l,RouterProviderContext:()=>s});var n=o(54568),a=o(99680),r=o(7620),i=o(68201);let s=(0,r.createContext)({back:()=>{throw Error("RouterProviderContext not provided")},navigate:()=>{throw Error("RouterProviderContext not provided")},params:{},prefetch:()=>{throw Error("RouterProviderContext not provided")},restartApp:()=>{throw Error("RouterProviderContext not provided")},searchParams:new URLSearchParams});function l(e){let t,o,l,g,v,y,f=(0,a.c)(23),{back:h,children:w,navigate:_,params:E,pathname:P,prefetch:I,restartApp:S,searchParams:A}=e,T=(0,i.yI)(p),C=(0,i.yI)(m),b=(0,i.yI)(u),D=(0,i.yI)(d),R=(0,i.yI)(c);f[0]!==h||f[1]!==_||f[2]!==E||f[3]!==I||f[4]!==S||f[5]!==A?(t={back:h,navigate:_,params:E,prefetch:I,restartApp:S,searchParams:A},f[0]=h,f[1]=_,f[2]=E,f[3]=I,f[4]=S,f[5]=A,f[6]=t):t=f[6];let L=t;return f[7]!==P||f[8]!==b?(o=()=>b(P),l=[P,b],f[7]=P,f[8]=b,f[9]=o,f[10]=l):(o=f[9],l=f[10]),(0,r.useEffect)(o,l),f[11]!==h||f[12]!==_||f[13]!==D||f[14]!==T||f[15]!==C||f[16]!==S||f[17]!==R?(g=()=>{D?.event==="back"?(T(),h()):D?.event==="restartApp"?S():D&&(D.replace||C(D.nextId),_(D.event,{replace:D.replace})),R(void 0)},v=[h,_,D,T,C,S,R],f[11]=h,f[12]=_,f[13]=D,f[14]=T,f[15]=C,f[16]=S,f[17]=R,f[18]=g,f[19]=v):(g=f[18],v=f[19]),(0,r.useEffect)(g,v),f[20]!==w||f[21]!==L?(y=(0,n.jsx)(s.Provider,{value:L,children:w}),f[20]=w,f[21]=L,f[22]=y):y=f[22],y}function c(e){return e.setNavigation}function d(e){return e.navigation}function u(e){return e.setPathname}function m(e){return e.push}function p(e){return e.pop}},28865:(e,t,o)=>{o.d(t,{useLocalizedHref:()=>i});var n=o(99680),a=o(36649),r=o(98637);function i(){let e,t=(0,n.c)(3),o=(0,r.g)();return t[0]!==o.locale||t[1]!==o.platformId?(e=e=>e&&e.startsWith("/")?(0,a.m)({href:e,locale:o.locale,platformId:o.platformId}):e,t[0]=o.locale,t[1]=o.platformId,t[2]=e):e=t[2],e}},28968:(e,t,o)=>{o.d(t,{pg:()=>a.RouterProvider,mS:()=>n.m,XA:()=>c.XA,ZL:()=>n.Z,kE:()=>d,tp:()=>v.useAppRouterEvents,uW:()=>y.useLocalizedHref,Zp:()=>f.useNavigate,g:()=>h.g,a8:()=>w,ok:()=>E,jI:()=>P.useSetWindowHistoryKey});var n=o(36649),a=o(22530),r=o(99680),i=o(7620),s=o(80566),l=o(60776),c=o(68201);let d=()=>{let e,t,o,n=(0,r.c)(11),d=(0,i.useContext)(a.RouterProviderContext),v=(0,c.yI)(u),y=(0,c.yI)(m),f=(0,c.yI)(p);n[0]!==f?(e=(e,t)=>{let{replace:o}=void 0===t?{}:t;"u">typeof navigator&&!1===navigator.onLine||f({event:e,nextId:(0,s.W)(),replace:o})}
1,n[0]=f,n[1]=e):e=n[1];let h=e,w=(0,l.useBack)();n[2]!==y||n[3]!==f?(t=()=>{y(),f({event:"restartApp",nextId:c.Ck})},n[2]=y,n[3]=f,n[4]=t):t=n[4];let _=t;return n[5]!==w||n[6]!==d.prefetch||n[7]!==h||n[8]!==v||n[9]!==_?(o={back:w,getHistoryKey:g,navigate:h,pathname:v,prefetch:d.prefetch,restartApp:_},n[5]=w,n[6]=d.prefetch,n[7]=h,n[8]=v,n[9]=_,n[10]=o):o=n[10],o};function u(e){return e.pathname}function m(e){return e.clear}function p(e){return e.setNavigation}function g(){return(0,c.XA)()}var v=o(67782),y=o(28865),f=o(20308),h=o(98637);let w=()=>(0,c.yI)(_);function _(e){return e.pathname}let E=()=>{let{searchParams:e}=(0,i.useContext)(a.RouterProviderContext);return e};var P=o(10510)},36649:(e,t,o)=>{function n(e,t,o){let n=`/${t}${o?`/${o}`:""}`;return e===n||e.startsWith(`${n}/`)?e.slice(n.length)||"/":e}function a({href:e,locale:t,platformId:o}){let r=e.indexOf("#"),i=-1===r?"":e.slice(r),s=-1===r?e:e.slice(0,r),[l=s,...c]=s.split("?"),d=n(l,t,o),u=`/${t}${o?`/${o}`:""}`,m=`${u}${d}`,p=c.join("?"),g=p?`${m}?${p}`:m;return`${g}${i}`}function r({href:e,locale:t,platformId:o}){let[a=e,...i]=e.split("?"),s=n(a,t,o);return 0===i.length?s:`${s}?${i.join("?")}`}o.d(t,{Z:()=>r,m:()=>a})},44143:(e,t,o)=>{o.d(t,{vb:()=>s});var n=o(54524),a=o(96320),r=o(66233),i=o(53047);let s=({ageBand:e,countryCode:t,enabled:o=!0,environmentOverride:s,id:l,locale:c,namespace:d})=>(0,n.j)({enabled:o,gcTime:0,queryFn:async()=>{let o=(({ageBand:e,countryCode:t,environmentOverride:o,id:n,locale:a,namespace:r})=>{let s=(0,i.e9)(o);return`${s}/products/dynamic/v5.2/${r}/${a}/${t}/${n}${e?`?age_band=${e}`:""}`})({ageBand:e,countryCode:t,environmentOverride:s,id:l,locale:c,namespace:d}),n=await (0,r.n)(o,{headers:{"Cache-Control":"no-cache",Expires:"0",Pragma:"no-cache"}});if(!n.ok)throw new a.h(n);return n.json()},queryKey:["DYNAMIC_PRODUCT",l,e],staleTime:0})},46844:(e,t,o)=>{o.d(t,{w8:()=>n.w8,N4:()=>i,dh:()=>n.dh,Wm:()=>r,Z6:()=>n.Z6,Cq:()=>n.Cq,iH:()=>c,ZU:()=>v,OY:()=>y,Wc:()=>p,LB:()=>w});var n=o(94974);let a=new Map([["app","APP"],["button","BUTTON"],["card","CARD"],["carousel","CAROUSEL"],["dialog","DIALOG"],["dialogButton","DIALOG_BUTTON"],["floatingMenuItem","FLOATING_MENU_ITEM"],["grid","GRID"],["guide","GUIDE"],["header","HEADER"],["headerButton","HEADER_BUTTON"],["input","INPUT"],["keyboard","KEYBOARD"],["layout","LAYOUT"],["listItem","LIST_ITEM"],["listPage","LIST_PAGE"],["menu","MENU"],["menuItem","MENU_ITEM"],["page","PAGE"],["playerButtonBar","PLAYER_BUTTON_BAR"],["playerGuideBlock","PLAYER_GUIDE_BLOCK"],["playerInfoBlock","PLAYER_INFO_BLOCK"],["playerInfoNav","PLAYER_INFO_NAV"],["playerOverlay","PLAYER_OVERLAY"],["playerSeekBar","PLAYER_SEEK_BAR"],["playerSelect","PLAYER_SELECT"],["playerSelectOption","PLAYER_SELECT_OPTION"],["playerSelectOptions","PLAYER_SELECT_OPTIONS"],["playerUpNext","PLAYER_UP_NEXT"],["rail","RAIL"],["suggestion","SUGGESTION"],["tab","TAB"],["unknown","UNKNOWN"]]),r=e=>a.has(e)?`${a.get(e)}`:`${a.get("unknown")}`,i=({historyKey:e,type:t,uniqueId:o})=>{let n=e?`${e}|`:"";return n=`${n}${r(t)}`,null!=o&&(n=`${n}|${o}`),n};var s=o(99680),l=o(7620);let c=e=>{let t,o,a,r,i=(0,s.c)(8);i[0]!==e?(t=void 0===e?{}:e,i[0]=e,i[1]=t):t=i[1];let{maxWait:c}=t,d=void 0===c?500:c,u=(0,l.useRef)(0);i[2]!==d?(o=e=>new Promise(t=>{let o=()=>(u.current=u.current+1,u.current>d)?(console.warn(`Await Focus: Could not find ${e} after ${d} tries`),t(!1)):(0,n.Zz)(e)?t(!0):setTimeout(o);o()}),i[2]=d,i[3]=o):o=i[3];let m=o;i[4]!==m?(a=async(e,t)=>{u.current=0;let o=await m(e);return o&&(void 0===t||t)&&(0,n.Z6)(e),o},i[4]=m,i[5]=a):a=i[5];let p=a;return i[6]!==p?(r={awaitFocus:p},i[6]=p,i[7]=r):r=i[7],r};var d=o(18601),u=o(61283);let m=(0,d.vt)()((0,u.Zr)(e=>({actions:{addLog:t=>e(e=>({logs:[...e.logs,{...t,timestamp:Date.now()}].slice(-20)})),clearLogs:()=>e({logs:[]}),setArrow:t=>e({arrow:t}),setEnter:t=>e({enter:t})},arrow:!1,enter:!1,logs:[]}),{name:"focus-store-debug",partialize:e=>({arrow:e.arrow,enter:e.enter,logs:e.logs})}));function p(e){let t,o,a,r,i,l=(0,s.c)(14);l[0]!==e?(t=(t,o)=>{let{actions:a,enter:r}=m.getState();return r&&a.addLog({isPressed:!0,key:(0,n.dh)(),type:"enter"}),e?.onEnterPress?.(t,o)??!0},l[0]=e,l[1]=t):t=l[1];let c=t;l[2]!==e?(o=t=>{let{actions:o,enter:a}=m.getState();return a&&o.addLog({isPressed:!1,key:(0,n.dh)(),type:"enter"}),e?.onEnterRelease?.(t)??!0},l[2]=e,l[3]=o):o=l[3];let d=o;l[4]!==e?(a=(t,o,a)=>{let{actions:r,arrow:i}=m.getState();return i&&r.addLog({arrowDirection:t,isPressed:!0,key:(0,n.dh)(),type:"arrow"}),e?.onArrowPress?.(t,o,a)??!0},l[4]=e,l[5]=a):a=l[5];let u=a;l[6]!==e?(r=(t,o)=>{let{actions:a,arrow:r}=m.getState();return r&&a.addLog({arrowDirection:t,isPressed:!1,key:(0,n.dh)(),type:"arrow"}),e?.onArrowRelease?.(t,o)??!0},l[6]=e,l[7]=r):r=l[7];let p=r;return l[8]!==u||l[9]!==p||l[10]!==c||l[11]!==d||l[12]!==e?(i={...e,onArrowPress:u,onArrowRelease:p,onEnterPress:c,onEnterRelease:d},l[8]=u,l[9]=p,l[10]=c,l[11]=d,l[12]=e,l[13]=i):i=l[13],(0,n.Wc)(i)}var g=o(64527);let v=(0,d.vt)((e,t)=>({actions:{addFocusEntry:(o,n)=>
1{e({entries:t().entries.set(o,n)})},getFocusEntry:e=>t().entries.get(e),setSmoothScrollDisabled:t=>e({isSmoothScrollDisabled:t})},entries:new Map,isSmoothScrollDisabled:!1})),y=()=>v((0,g.k)(f));function f(e){return e.actions}var h=o(28968);let w=()=>{let e,t,o,n,a=(0,s.c)(6);a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,h.XA)(),a[0]=e):e=a[0];let r=e,{getFocusEntry:l}=y();a[1]===Symbol.for("react.memo_cache_sentinel")?(t=i({historyKey:r,type:"page"}),a[1]=t):t=a[1];let c=t;a[2]!==l?(o=l(c)?.focusKey,a[2]=l,a[3]=o):o=a[3];let d=o;return a[4]!==d?(n={focusEntryKey:c,pageFocus:d},a[4]=d,a[5]=n):n=a[5],n}},47472:(e,t,o)=>{o.d(t,{sS:()=>s,tL:()=>r});var n,a,r=((n=r||{})[n.NotInitialized=0]="NotInitialized",n[n.Initializing=1]="Initializing",n[n.Ready=2]="Ready",n[n.Error=3]="Error",n),i=((a=i||{}).PageView="page_view",a);let s="unspecified"},52879:(e,t,o)=>{o.d(t,{H:()=>i,s:()=>r});var n=o(18601),a=o(64527);let r=(0,n.vt)(e=>({actions:{setType:t=>e({type:t})},type:void 0})),i=()=>r((0,a.k)(s));function s(e){return e.actions}},60776:(e,t,o)=>{o.r(t),o.d(t,{useBack:()=>i});var n=o(99680),a=o(80566),r=o(68201);let i=()=>{let e,t=(0,n.c)(2),o=(0,r.yI)(s);return t[0]!==o?(e=()=>{let{keys:e}=r.yI.getState(),t=e[e.length-2]||r.Ck;e.length>1?o({event:"back",nextId:t}):o({event:"/",nextId:(0,a.W)()})},t[0]=o,t[1]=e):e=t[1],e};function s(e){return e.setNavigation}},64722:(e,t,o)=>{o.d(t,{E0:()=>c,Ed:()=>r,GR:()=>p,Gw:()=>i,S0:()=>l,YC:()=>y,j6:()=>u,jw:()=>v,sb:()=>d});var n=o(1105),a=o(87334);let r=(e,...t)=>{let o=window;return[...new Set([..."number"==typeof o[e]?[o[e]]:[],..."number"==typeof o.KeyEvent?.[e]?[o.KeyEvent[e]]:[],...t])].filter(e=>"number"==typeof e)},i=(e="u">typeof navigator?navigator.userAgent:"")=>{let t=e.match(/Chrome\/(\d+)/);return t?.[1]?Number(t[1]):null},s=()=>"u">typeof navigator?navigator.deviceMemory:void 0,l=e=>{let t=s();return"number"==typeof t&&t<=e},c=e=>{if("string"!=typeof e)return null;let t=e.trim().match(/^([\d.]+)\s*G/i),o=t?.[1]?parseFloat(t[1]):NaN;return Number.isNaN(o)?null:o},d=()=>{let e;return{colorDepth:window.screen?.colorDepth,deviceMemory:s(),logicalCores:"u">typeof navigator?navigator.hardwareConcurrency:void 0,maxTouchPoints:"u">typeof navigator?navigator.maxTouchPoints:void 0,pixelRatio:window.devicePixelRatio,screenHeight:window.screen?.height,screenWidth:window.screen?.width,...(e="u">typeof navigator?navigator.connection:void 0,{connectionType:e?.effectiveType,saveData:e?.saveData})}},u=()=>"true"===(0,n.Ri)(n.V8.LOW_TIER_MODE),m=(e,t)=>e?{isLowTierDevice:!0,lowTierReason:t}:u()?{isLowTierDevice:!0,lowTierReason:"forced-cookie"}:{isLowTierDevice:!1,lowTierReason:""},p=e=>{let t=e.find(([e])=>e);return m(void 0!==t,t?.[1]??"")},g={isLowTierDevice:!0,isLowTierSpinner:!0,lowTierReason:"detection-failed"},v=()=>{if(!("u">typeof navigator&&/\b(Macintosh|Windows NT)\b/.test(navigator.userAgent)&&!/\bXbox\b/.test(navigator.userAgent)&&!(0,a.Z)(navigator.userAgent,navigator.maxTouchPoints)))return g;let e=m(!1,"");return{...e,isLowTierSpinner:e.isLowTierDevice,lowTierReason:e.isLowTierDevice?e.lowTierReason:"desktop-host"}},y=e=>"fulfilled"===e.status?e.value:v()},67782:(e,t,o)=>
1{o.r(t),o.d(t,{useAppRouterEvents:()=>s});var n=o(99680),a=o(7620),r=o(68201);function i(e){return e.keys}let s=e=>{let t,o,s,d,u,m,p,g,v,y,f=(0,n.c)(18),{onNavigateEnd:h,onNavigateStart:w}=e,_=(0,r.yI)(l),E=(()=>{let e,t,o=(0,n.c)(3),s=(0,r.yI)(i),[l,c]=(0,a.useState)(s[s.length-1]);if(o[0]!==s?(e=()=>{c(s[s.length-1])},t=[s],o[0]=s,o[1]=e,o[2]=t):(e=o[1],t=o[2]),(0,a.useEffect)(e,t),!l)throw Error("No history key found");return l})(),P=(0,r.yI)(c),I=(0,a.useRef)(E),S=(0,a.useRef)(_),A=(0,a.useRef)(P);f[0]!==E?(t=()=>{I.current=E},o=[E],f[0]=E,f[1]=t,f[2]=o):(t=f[1],o=f[2]),(0,a.useEffect)(t,o),f[3]!==P?(s=()=>{A.current=P},d=[P],f[3]=P,f[4]=s,f[5]=d):(s=f[4],d=f[5]),(0,a.useEffect)(s,d),f[6]!==_?(u=()=>{S.current=_},m=[_],f[6]=_,f[7]=u,f[8]=m):(u=f[7],m=f[8]),(0,a.useEffect)(u,m),f[9]!==P||f[10]!==w?(p=()=>{P&&!P.replace&&w&&w({historyKey:I.current,nextHistoryKey:P.nextId,pathname:S.current})},g=[P,w],f[9]=P,f[10]=w,f[11]=p,f[12]=g):(p=f[11],g=f[12]),(0,a.useEffect)(p,g);let T=(0,a.useRef)(void 0),C=(0,a.useRef)(!0);f[13]!==E||f[14]!==h||f[15]!==_?(y=()=>{let e=T.current;if(!e){T.current={historyKey:E,pathname:_},h?.({historyKey:E,pathname:_});return}if(E===e.historyKey){_!==e.pathname&&(T.current={historyKey:E,pathname:_},C.current&&h?.({historyKey:E,pathname:_}));return}_!==e.pathname&&(C.current=!1,T.current={historyKey:E,pathname:_},h?.({historyKey:E,pathname:_}))},v=[E,_,h],f[13]=E,f[14]=h,f[15]=_,f[16]=v,f[17]=y):(v=f[16],y=f[17]),(0,a.useEffect)(y,v)};function l(e){return e.pathname}function c(e){return e.navigation}},68201:(e,t,o)=>{o.d(t,{Ck:()=>a,XA:()=>i,yI:()=>r});var n=o(18601);let a="default",r=(0,n.vt)((e,t)=>({clear:()=>e({keys:[a]}),keys:[a],params:{},pathname:"/",pop:()=>{let o=t().keys;if(0===o.length)return;let n=o[o.length-1],r=o.slice(0,-1);return 0===r.length&&r.push(a),e(()=>({keys:r})),n},push:t=>e(e=>({keys:[...e.keys,t]})),searchParams:new URLSearchParams,setNavigation:t=>e(e=>({...e,navigation:t})),setPathname:t=>e(e=>({...e,pathname:t}))})),i=()=>{let{keys:e}=r.getState();return e[e.length-1]||a}},80566:(e,t,o)=>{o.d(t,{W:()=>n});let n=()=>Math.random().toString(36).slice(2,9)},81763:(e,t,o)=>{o.d(t,{J:()=>n}),new WeakMap;let n=e=>t=>a(t,e,""),a=(e,t,o)=>{if(null==e||!0===t)return e;if(Array.isArray(e)){let n=o.endsWith(".")?o.slice(0,-1):o;return e.map((e,o)=>a(e,t,`${n}[${o}].`))}if("object"!=typeof e)return e;let n={};for(let r of Object.keys(t))if(r in e){let i=e[r],s=t[r];!0===s?n[r]=i:"object"==typeof s&&null!==s&&(n[r]=a(i,s,`${o}${r}.`))}return n}},84739:(e,t,o)=>{o.d(t,{K:()=>n});let n=e=>!e.playable&&"live_program"===e.content_type&&!!e.detail_page_id},87334:(e,t,o)=>{o.d(t,{Z:()=>n});let n=(e,t)=>/Macintosh/.test(e)&&t>1},92191:(e,t,o)=>{o.d(t,{F:()=>i,a:()=>r});var n=o(18601),a=o(64527);let r=(0,n.vt)(e=>({ADBLOCK_DETECTION_CMP_DEADLINE_MS:8e3,ADBLOCK_DETECTION_ENABLED:!1,ADBLOCK_DETECTION_WALL_PATH:"",ADS_DISPLAY_ENABLED:!1,ADS_VIDEO_ENABLED:!1,ANALYTICS_CONFIG_URL:"",ANALYTICS_ENABLED:!1,APP:"",APP_VERSION:"",AUTOPLAY_ON_NAVIGATE_ENABLED:!0,actions:{setAppConfig:t=>e({...t})},BITMOVIN_LICENSE_KEY:"",DATAZOOM_BITMOVIN_KEY:"",DATAZOOM_BITMOVIN_NO_MARKETING_KEY:"",DD_ENV:"",DD_RUM_DISABLED_FILTERS:[],DD_RUM_SESSION_REPLAY_SAMPLE_RATE:0,DD_RUM_SESSION_SAMPLE_RATE:100,DD_SERVICE:"",DD_TAGS:"",DD_VERSION:"",DISPLAY_ADS_ADEX_ENABLED:!1,DISPLAY_ADS_GPT_NETWORK_ID:"",DISPLAY_ADS_HEADER_BIDDING_ENABLED:!1,DISPLAY_ADS_INVISIBLE_CAMPAIGN_IDS:[],DISPLAY_ADS_RD_CONFIG_ID:"",DISPLAY_ADS_RD_SCRIPT_URL:"",DISPLAY_ADS_SHOW_RY_LABEL:!1,DISPLAY_ADS_STICKY_AD_ENABLED:!1,ENTITLEMENTS_ENABLED:!0,EPG_AUTOPLAY_ENABLED:!0,EPG_DISABLE_NAVIGATION_COLLECTION_IDS:[],FORM_ALIAS:"",FORM_SOURCE:"",FORMATTED_APP_VERSION:"",GET_APP_ANDROID_URL:"",GET_APP_IOS_URL:"",GFK_ENABLED:!1,GTM_PROPERTY_NAME:"",HEADER_CAROUSEL_PEEK_ENABLED:!1,HEROKU_APP_NAME:"",HOVER_CARDS_ENABLED:!1,isReady:!1,MOMENTO_ENABLED:!0,NORIGIN_DEBUG_ENABLED:!1,NORIGIN_VISUAL_DEBUG_ENABLED:!1,PERF_ARM:"",PLATFORM_CONTINUE_WATCHING_ENABLED:!1,PREFERRED_DESCRIPTION_TYPE:"long_description",PROD:!0,PRODUCT_PLACEMENT_COUNTRIES:["AT"],QA_SETTINGS_ENABLED:!1,RAIL_VIRTUALIZATION_ENABLED:!1,RECURLY_SUBSCRIPTION_ENABLED:!1,SAMSUNG_CONTINUE_WATCHING_APP_ICON:"",TENANT:"",TENANT_NAME:"",TV_APP:!0})),i=()=>r((0,a.k)(s));function s(e){return e.actions}},93691:(e,t,o)=>{o.d(t,{A6:()=>a,D2:()=>i,Hl:()=>s,h6:()=>n,sd:()=>r});let n=(e,t)=>
1{let o=e.split("/").filter(Boolean),n=o.findIndex(e=>{if(e===t)return!0;try{return decodeURIComponent(e)===t}catch{return!1}});if(-1!==n)return{basePath:`/${o.slice(0,n+1).join("/")}`,currentSlug:o[n+1]}},a=(e,t)=>{let o=e.length>1?e.replace(/\/+$/,""):e,n=`/page/${t}`;if(o===n||o.startsWith(`${n}/`))return!0;try{let e=decodeURIComponent(o);return e===n||e.startsWith(`${n}/`)}catch{return!1}},r=(e,t)=>{if(!t)return e;let o=e.includes("?")?"&":"?";return`${e}${o}play=true`},i=e=>{if(e.startsWith("//"))return!1;if(!/^[a-z][a-z0-9+\-.]*:/i.test(e))return!0;try{let{protocol:t}=new URL(e);return"http:"===t||"https:"===t}catch{return!1}},s=e=>{for(let t of"www.servustv.com,qa.servustv.com".split(",").map(e=>e.trim()).filter(Boolean)){let o=`https://${t}/`;if(e.startsWith(o))return`/${e.slice(o.length)}`;let n=`http://${t}/`;if(e.startsWith(n))return`/${e.slice(n.length)}`}return e}},98637:(e,t,o)=>{o.d(t,{g:()=>r});var n=o(7620),a=o(22530);let r=()=>{let{params:e}=(0,n.useContext)(a.RouterProviderContext);return e}}}]);
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.