1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f2aa5ef7-e66f-a79d-b415-cea478b2a022")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,635109,289394,t=>{"use strict";var e=t.i(639372),n=t.i(265172),r=function(t){return"sporfie.player-v3.".concat(t)},o=(0,n.atomWithStorage)(r("annotation-mode"),"clipping"),i=(0,n.atomWithStorage)(r("bookmarking-tag"),"red"),a=(0,n.atomWithStorage)(r("show-clipped-moments"),!0),l=(0,n.atomWithStorage)(r("show-bookmarks"),!0),u=(0,n.atomWithStorage)(r("show-score-changes"),!0),m=(0,e.atom)(null),c=(0,e.atom)([]),s=(0,e.atom)(null),d=(0,e.atom)({}),v=(0,e.atom)({}),f=(0,e.atom)(null);t.s(["activeOperationAtom",0,m,"annotationModeAtom",0,o,"bookmarkingTagAtom",0,i,"pendingBookmarkAtom",0,s,"pendingClipStateAtom",0,d,"pendingMomentsAtom",0,c,"retiredPendingIdsAtom",0,v,"selectedBookmarkCollectionKeyAtom",0,f,"showBookmarksAtom",0,l,"showMomentsAtom",0,a,"showScoreChangesAtom",0,u],635109);var A=t.i(651682),p=["live","replay","clip"],y=(0,e.atom)([]),g=(0,e.atom)([]),h=(0,e.atom)(!1),b=(0,e.atom)(null,function(t,e,n){var r,o,i,a=(r=n)&&!1!==r.active?{ads:Object.entries(null!=(o=r.ads)?o:{}).filter(function(t){var e=(0,A._)(t,2)[1];return!!e&&(e.thumbnailURL||e.videoURL)}).map(function(t){var e=(0,A._)(t,2),n=e[0],r=e[1];return{id:n,position:Number.isFinite(r.position)?Number(r.position):0,thumbnailURL:r.thumbnailURL||void 0,videoURL:r.videoURL||void 0,linkURL:r.linkURL||void 0,clickbait:r.clickbait||void 0}}).sort(function(t,e){return t.position-e.position}),preRolls:Object.entries(null!=(i=r.rolls)?i:{}).filter(function(t){var e=(0,A._)(t,2)[1];return(null==e?void 0:e.type)==="preroll"&&!!e.videoURL}).map(function(t){var e=(0,A._)(t,2),n=e[0],r=e[1];return{id:n,videoURL:r.videoURL,skipAfterSeconds:Number.isFinite(r.skip)&&Number(r.skip)>=0?Number(r.skip):5,appliesTo:p.filter(function(t){var e;return null==(e=r.on)?void 0:e.includes(t)})}}).filter(function(t){return t.appliesTo.length>0})}:{ads:[],preRolls:[]},l=a.ads,u=a.preRolls;e(y,l),e(g,u)});t.s(["adsAtom",0,y,"hasShownPreRollAtom",0,h,"preRollsAtom",0,g,"setBrandingAtom",0,b],289394)},803932,t=>{"use strict";var e,n,r,o=t.i(299749),i=t.i(120786),a=t.i(92808),l=t.i(651682),u=t.i(112344),m=t.i(540316),c=t.i(639372),s=t.i(235545),d=t.i(390389),v=t.i(516783),f=t.i(622649),A=t.i(763349),p=t.i(17236),y=t.i(346486),g=t.i(635109),h=t.i(289394),b=t.i(186678),S=t.i(136312),k=t.i(612020);function M(){n&&(clearTimeout(n),n=void 0)}function w(t,e){M(),r=void 0,null!=t(S.liveFailoverArmedAtMsAtom)&&e(S.liveFailoverArmedAtMsAtom,null)}function T(t,e,o){var i=t(S.liveFailoverArmedAtMsAtom),a=Date.now(),l=1e3*A.LIVE_FAILOVER_GRACE_SECONDS;return null==i?(e(S.liveFailoverArmedAtMsAtom,a),e(S.isBufferingAtom,!0),r=o,M(),n=setTimeout(function(){n=void 0;var t=r;t&&e(th,t)},l),!0):a-i<l?(e(S.isBufferingAtom,!0),r=o,!0):(w(t,e),!1)}function _(){e&&(clearTimeout(e),e=void 0)}function R(t,e){var n,r,o;return"bl"===(0,k.resolveSponsorCorner)({enabled:(null==(r=t(b.configAtom).features)?void 0:r.sponsorAssets)!==!1,sponsorCount:null!=(n=null==(o=t(S.eventAtom).sponsors)?void 0:o.length)?n:0,clipOverlayOpen:null!==t(S.overlayPlayerAtom),preRollOpen:null!==t(S.preRollAtom),viewMode:t(S.viewModeAtom),placements:e})?["bl"]:[]}var O=(0,c.atom)(null,function(t,n,r){var o;_(),n(S.actionOverlayAtom,r),e=setTimeout(function(){n(S.actionOverlayAtom,null),e=void 0},null!=(o=r.durationMs)?o:2e3)}),P=(0,c.atom)(null,function(t,e,n){if(Number.isFinite(n)){w(t,e),t(S.overlayPlayerAtom)&&e(S.overlayPlayerAtom,null);var r=t(S.isPlayingAtom),o=t(k.durationAtom),i=t(S.deviceOrderAtom),a=t(k.seekableRangeAtom),l=(0,f.clamp)(n,a.start,a.end),u=(0,d.resolvePlayableTarget)(t(k.devicePlayableRangesAtom),l,o,i),m=null!=(s=null==u?void 0:u.time)?s:(0,f.clamp)(l,0,o);"live"===t(S.eventAtom).status&&e(S.isTrackingLiveAtom,t(k.liveEdgeAtom)-m<A.LIVE_EDGE_TOLERANCE_SECONDS);var c=!!i[0]&&(0,d.rangesForDevice)(t(k.devicePlayableRangesAtom),i[0]).some(function(t){return(0,d.rangeContainsTime)(t,m)});if(u&&u.deviceId!==i[0]&&!c){var s,v,p,y,g,h=t(S.eventAtom).devices,b=null!=(v=null==(y=
2h.find(function(t){return t.id===i[0]}))?void 0:y.label)?v:i[0],M=null!=(p=null==(g=h.find(function(t){return t.id===u.deviceId}))?void 0:g.label)?p:u.deviceId;e(ts,u.deviceId);var T=t(S.lastCameraSwitchOverlayAtMsAtom),_=Date.now();(null==T||_-T>=4e3)&&(e(S.lastCameraSwitchOverlayAtMsAtom,_),e(O,{kind:"camera-switch",fromLabel:b,toLabel:M,durationMs:2200}))}e(S.currentTimeAtom,m),e(S.primaryClockAtom,{time:m,atMs:performance.now()}),e(S.seekRequestAtom,function(t){var e;return{time:m,seq:(null!=(e=null==t?void 0:t.seq)?e:0)+1}}),r&&e(S.isPlayingAtom,!0),E(t,e,m)}});function E(t,e,n){t(S.timebarZoomTargetAtom)&&(0,v.timeOutsideRange)(n,t(k.timebarVisibleRangeAtom),d.RANGE_EPSILON_SECONDS)&&e(S.timebarZoomTargetAtom,null);var r=t(k.loopRangeAtom);r&&(0,v.timeOutsideRange)(n,r,d.RANGE_EPSILON_SECONDS)&&e(S.loopTargetAtom,null)}function I(t,e,n){var r=t(k.loopRangeAtom);if(!r||!t(S.isPlayingAtom))return!1;var o=t(k.durationAtom),i=Math.min(r.end,Math.max(r.start,o-d.RANGE_EPSILON_SECONDS));return!(i-r.start<.1)&&!(n.time<i-.05)&&(e(P,r.start),e(S.isPlayingAtom,!0),e(O,{kind:"loop",value:Date.now(),durationMs:900}),!0)}var D=(0,c.atom)(null,function(t,e,n){if(null==n)return void e(S.timebarZoomTargetAtom,null);var r=(0,v.resolveTimebarItemRange)(n,t(k.allMomentsAtom),t(S.bookmarksAtom));if(r){var o=t(S.timebarZoomTargetAtom),i=null!=o&&!(0,v.itemTargetsEqual)(o,n);e(S.timebarZoomTargetAtom,n);var a=(0,v.visibleRangeForItem)(r,t(k.durationAtom)),l=t(S.currentTimeAtom);(i||(0,v.timeOutsideRange)(l,a,d.RANGE_EPSILON_SECONDS))&&e(P,r.start)}}),F=(0,c.atom)(null,function(t,e,n){if((0,v.itemTargetsEqual)(t(S.loopTargetAtom),n)){e(S.loopTargetAtom,null),e(O,{kind:"loop",value:0,durationMs:1200});return}var r=(0,v.resolveTimebarItemRange)(n,t(k.allMomentsAtom),t(S.bookmarksAtom));r&&(e(S.loopTargetAtom,n),e(P,r.start),e(S.isPlayingAtom,!0),e(O,{kind:"loop",value:1,durationMs:1600}))}),L=(0,c.atom)(null,function(t,e){t(S.reviewWindowFrozenAtom)||e(S.reviewWindowFrozenAtom,t(k.reviewWindowAtom))}),x=(0,c.atom)(null,function(t,e){e(S.reviewWindowFrozenAtom,null)}),C=(0,c.atom)(null,function(t,e,n){1>Math.abs(n)?e(L):e(S.reviewWindowFrozenAtom,null),e(P,t(S.currentTimeAtom)+n),1>Math.abs(n)||e(O,{kind:n>0?"seek-forward":"seek-backward",value:t(S.currentTimeAtom)})}),N=(0,c.atom)(null,function(t,e,n){var r=t(S.currentTimeAtom);e(P,n);var o=t(S.currentTimeAtom);e(O,{kind:o>=r?"seek-forward":"seek-backward",value:o})}),W=(0,c.atom)(null,function(t,e,n){t(S.overlayPlayerAtom)&&e(S.overlayPlayerAtom,null),e(P,n),e(S.isPlayingAtom,!0)}),U=(0,c.atom)(null,function(t,e){var n=t(S.isPlayingAtom);!n&&t(S.currentTimeAtom)>=t(k.durationAtom)-.25&&e(P,0),n?e(S.isTrackingLiveAtom,!1):e(S.reviewWindowFrozenAtom,null),e(S.isPlayingAtom,!n),n?e(O,{kind:"pause",durationMs:600}):(_(),e(S.actionOverlayAtom,null))}),V=(0,c.atom)(null,function(t,e,n){var r=t(k.durationAtom),o=t(S.currentTimeAtom)+n*t(y.effectivePlaybackRateAtom);I(t,e,{time:o,ended:o>=r})||(o>=r?(e(S.currentTimeAtom,r),e(S.primaryClockAtom,{time:r,atMs:performance.now()}),e(S.isPlayingAtom,!1),E(t,e,r)):(e(S.currentTimeAtom,o),e(S.primaryClockAtom,{time:o,atMs:performance.now()}),E(t,e,o)))}),B=(0,c.atom)(null,function(t,e,n){var r=(0,s.findAdjacentJumpTarget)(t(k.jumpTargetsAtom),t(S.currentTimeAtom),n);if(r){var o="bookmark"===r.kind?{kind:"bookmark",id:r.id}:"clip"===r.kind?{kind:"moment",id:r.id}:null;o&&t(S.timebarZoomTargetAtom)&&e(S.timebarZoomTargetAtom,o),o&&t(S.loopTargetAtom)&&e(S.loopTargetAtom,o),e(P,r.time),e(O,{kind:1===n?"jump-forward":"jump-backward",value:r.time,toLabel:r.title,jumpKind:r.kind,momentType:r.momentType})}}),j=(0,c.atom)(null,function(t,e,n){var r=(0,f.clamp)(n,0,1),o=t(y.effectiveMutedAtom);(0,y.clearPlaybackOverride)(e,"volume"),e(y.volumeAtom,r),r>0&&o&&((0,y.clearPlaybackOverride)(e,"muted"),e(y.mutedAtom,!1)),e(O,{kind:"volume",value:r})}),q=(0,c.atom)(null,function(t,e){var n=!t(y.effectiveMutedAtom);(0,y.clearPlaybackOverride)(e,"muted"),e(y.mutedAtom,n),e(O,{kind:n?"mute":"unmute"})}),z=(0,c.atom)(null,function(t,e){e(S.reviewWindowFrozenAtom,null),e(N,Math.max(0,t(k.liveEdgeAtom)-A.LIVE_EDGE_BUFFER_SECONDS)),e(S.isTrackingLiveAtom,!0),e(S.isPlayingAtom,!0)}),G=(0,c.atom)(null,function(t,e,n){t(y.effectivePlaybackRateAtom)!==n&&((0,y.clearPlaybackOverride)(e,"rate"),e(y.playbackRateAtom,n),e(O,{kind:"playback-rate",value:n}))}),K=(0,c.atom)(null,function(t,e,n){t(y.holdRateAtom)!==n&&(e(y.holdRateAtom,n),null!==n&&e(O,{kind:"playback-rate",value:n}))}),Z=(0,c.atom)(null,function(t,e,n){t(y.videoZoomAtom)!==n&&(e(y.videoZoomAtom,n),1===n&&e(S.videoPanAtom,[0,0]),e(O,{kind:"zoom",value:n,durationMs:3e3}))}),H=(0,c.atom)(null,function(t,e,n){t(y.videoRotationAtom)!==n&&(e(y.videoRotationAtom,n),e(O,{kind:"rotation",value:n}))}),J=(0,c.atom)(null,function(t,e,n){t(y.videoFlipAtom)!==n&&(e(y.videoFlipAtom,n),e(O,{kind:"flip",flip:n}))}),Y=(0,c.atom)(null,function(t,e){e(y.videoZoomAtom,1),e(y.videoRotationAtom,0),e(y.videoFlipAtom,"none"),e(S.videoPanAtom,[0,0]),e(O,{kind:"zoom",value:1,durationMs:2e3})}),Q=(0,c.atom)(null,function(t,e){e(O,{kind:"fullscreen",durationMs:3e3})});function X(t){return t.devices.map(function(t){var e,n=(null==(e=t.sources)?void 0:e.length)?t.sources:t.source?[t.source]:[];return"".concat(t.id,":").concat(n.map(function(t){return t.url}).join(","))}).join("|")}function $(t){return t.devices.some(function(t){var e;return((null==(e=t.sources)?void 0:e.length)?t.sources:t.source?[t.source]:[]).some(function(t){return t.isLive})})}var tt=(0,c.atom)(null,function(t,e,n){var r=t(S.presentationModeAtom);if(e(S.presentationModeAtom,n),"mini"===n&&"mini"!==r){var o=t(S.overlayPlayerAtom);o&&(e(S.overlayPlayerAtom,null),o.resumeOnClose&&e(S.isPlayingAtom,!0));var i=t(S.preRollAtom);i&&(e(S.preRollAtom,null),i.resumePlayback&&e(S.isPlayingAtom,!0)),e(S.shortcutsOverlayOpenAtom,!1)}}
2),te=(0,c.atom)(null,function(t,e,n){var r=t(S.accessAtom);(r.state!==n.state||"seat-limited"===n.state&&("seat-limited"!==r.state||r.ticket.paymentID!==n.ticket.paymentID))&&e(S.accessAtom,n)}),tn=(0,c.atom)(null,function(t,e){e(S.playerErrorAtom,null),e(S.isBufferingAtom,!1),e(S.isSeekingAtom,!1),e(S.reloadSeqAtom,function(t){return t+1}),e(S.isPlayingAtom,!0)}),tr=["bl","br","tl","tr"];function to(t,e){return{tl:t.tl.filter(function(t){return t!==e}),tr:t.tr.filter(function(t){return t!==e}),bl:t.bl.filter(function(t){return t!==e}),br:t.br.filter(function(t){return t!==e})}}function ti(t,e,n){var r=function(t){return t.map(function(t){return t===e?n:t})};return{tl:r(t.tl),tr:r(t.tr),bl:r(t.bl),br:r(t.br)}}function ta(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=tr.filter(function(t){return!n.includes(t)}),l=r.length>0?r:tr,u=l[0],c=!0,s=!1,d=void 0;try{for(var v,f=l[Symbol.iterator]();!(c=(v=f.next()).done);c=!0){var A=v.value;t[A].length<t[u].length&&(u=A)}}catch(t){s=!0,d=t}finally{try{c||null==f.return||f.return()}finally{if(s)throw d}}return(0,a._)((0,i._)({},t),(0,o._)({},u,(0,m._)(t[u]).concat([e])))}function tl(t,e,n){var r=new Set(n.slice(1)),o={tl:e.tl.filter(function(t){return r.has(t)}),tr:e.tr.filter(function(t){return r.has(t)}),bl:e.bl.filter(function(t){return r.has(t)}),br:e.br.filter(function(t){return r.has(t)})},i=new Set((0,m._)(o.tl).concat((0,m._)(o.tr),(0,m._)(o.bl),(0,m._)(o.br))),a=!0,l=!1,u=void 0;try{for(var c,s=n.slice(1)[Symbol.iterator]();!(a=(c=s.next()).done);a=!0){var d=c.value;i.has(d)||(o=ta(o,d,R(t,o)))}}catch(t){l=!0,u=t}finally{try{a||null==s.return||s.return()}finally{if(l)throw u}}return o}var tu=(0,c.atom)(null,function(t,e,n){if(t(S.viewModeAtom)!==n){e(S.viewModeAtom,n);var r=t(S.eventAtom).devices.map(function(t){return t.id}),o=t(S.deviceOrderAtom).filter(function(t){return r.includes(t)});if(0===o.length&&(o=r.slice(0,1)),"single"===n)o=o.slice(0,1);else if("grid"===n){var i=r.filter(function(t){return!o.includes(t)});o=(0,m._)(o).concat((0,m._)(i)),e(S.reviewFocusedDeviceIdAtom,null)}else if("split"===n&&(o=o.slice(0,2)),o.length<2){var a=r.find(function(t){return!o.includes(t)});a&&(o=(0,m._)(o).concat([a]))}e(S.deviceOrderAtom,o),e(S.pipPlacementsAtom,function(e){return"pip"===n?tl(t,e,o):S.EMPTY_PIP_PLACEMENTS})}}),tm=(0,c.atom)(null,function(t,e,n){var r=t(S.deviceOrderAtom),o=t(S.viewModeAtom);if(r.includes(n))return void e(tc,n);if("single"===o){e(S.deviceOrderAtom,[n]),e(S.pipPlacementsAtom,S.EMPTY_PIP_PLACEMENTS);return}if(r.length>=t(k.maxSelectedDevicesAtom)){var i=r[r.length-1];e(S.deviceOrderAtom,(0,m._)(r.slice(0,-1)).concat([n])),"pip"===o&&e(S.pipPlacementsAtom,function(t){return ti(t,i,n)});return}e(S.deviceOrderAtom,(0,m._)(r).concat([n])),"pip"===o&&e(S.pipPlacementsAtom,function(e){var r=to(e,n);return ta(r,n,R(t,r))})}),tc=(0,c.atom)(null,function(t,e,n){var r=t(S.deviceOrderAtom);if(r.includes(n)){var o=t(S.eventAtom).devices.map(function(t){return t.id});if(!(o.length<=1)){var i=r.filter(function(t){return t!==n});if(0===i.length){var a=o.find(function(t){return t!==n});if(!a)return;i=[a]}e(S.deviceOrderAtom,i),e(S.pipPlacementsAtom,function(t){return to(to(t,n),i[0])})}}}),ts=(0,c.atom)(null,function(t,e,n){if(t(S.eventAtom).devices.map(function(t){return t.id}).includes(n)){var r,o=t(S.deviceOrderAtom),i=o.indexOf(n);if(0!==i){var a=t(S.viewModeAtom);if("single"===a){e(S.deviceOrderAtom,[n]),e(S.pipPlacementsAtom,S.EMPTY_PIP_PLACEMENTS);return}var l=o[0];i>0?((r=(0,m._)(o))[0]=n,r[i]=l):r=[n].concat((0,m._)(o)).slice(0,"split"===a?2:t(k.maxSelectedDevicesAtom)),e(S.deviceOrderAtom,r),e(S.pipPlacementsAtom,function(e){return"pip"!==a?S.EMPTY_PIP_PLACEMENTS:tl(t,i>0?ti(e,n,l):to(e,n),r)})}}}),td=(0,c.atom)(null,function(t,e,n){e(ts,n)}),tv=(0,c.atom)(null,function(t,e,n){if("grid"===t(S.viewModeAtom)){if(t(S.reviewFocusedDeviceIdAtom)===n){e(S.reviewFocusedDeviceIdAtom,null),e(y.videoZoomAtom,1),e(S.videoPanAtom,[0,0]);return}e(S.reviewFocusedDeviceIdAtom,n),e(ts,n)}}),tf=(0,c.atom)(null,function(t,e,n){var r=t(S.eventAtom).devices.map(function(t){return t.id}),o=new Set(r),i=(0,m._)(new Set(n.filter(function(t){return o.has(t)}))),a=r.filter(function(t){return!i.includes(t)}),l=(0,m._)(i).concat((0,m._)(a)),u=t(S.deviceOrderAtom);l.length===u.length&&l.every(function(t,e){return t===u[e]})||e(S.deviceOrderAtom,l)}),tA=(0,c.atom)(null,function(t,e,n){var r=t(S.deviceOrderAtom)[0],o=t(y.effectiveMutedAtom);n!==r||o?(n!==r&&e(ts,n),t(y.effectiveMutedAtom)&&e(q)):e(q)}),tp=(0,c.atom)(null,function(t,e,n){var r,o=n.deviceId,l=t(S.eventAtom).devices,u=t(S.deviceOrderAtom),c=u[0],s=null!=(r=n.replaceId)?r:u[1];if("pip"===t(S.viewModeAtom)&&o!==c&&l.some(function(t){return t.id===o})){if(!s||s===c){if(u.includes(o))return;var d=(0,m._)(u).concat([o]);e(S.deviceOrderAtom,d),e(S.pipPlacementsAtom,function(e){return tl(t,e,d)}),!1!==n.persistSelection&&e(S.selectedUnitDevicesAtom,function(t){return(0,a._)((0,i._)({},t),{pip:o})});return}var v=u.indexOf(s);if(!(v<1)){if(s===o){!1!==n.persistSelection&&e(S.selectedUnitDevicesAtom,function(t){return(0,a._)((0,i._)({},t),{pip:o})});return}var f=u.indexOf(o),A=(0,m._)(u);f>1?(A[v]=o,A[f]=s):A[v]=o,e(S.deviceOrderAtom,A),e(S.pipPlacementsAtom,function(t){var e;return f>1?{tl:(e=function(t){return t.map(function(t){return t===s?o:t===o?s:t})})(t.tl),tr:e(t.tr),bl:e(t.bl),br:e(t.br)}:ti(t,s,o)}),!1!==n.persistSelection&&e(S.selectedUnitDevicesAtom,function(t){return(0,a._)((0,i._)({},t),{pip:o})})}}}),ty=(0,c.atom)(null,function(t,e,n){if(t(S.eventAtom).devices.some(function(t){return t.id===n})&&t(S.globalDeviceAtom)!==n){var r=t(S.deviceOrderAtom)[0];e(S.selectedUnitDevicesAtom,{}),n!==r&&"pip"===t(S.viewModeAtom)&&e(tp,{deviceId:n,persistSelection:!1}),e(S.globalDeviceAtom,n),e(S.globalDeviceSwapRevisionAtom,function(t){return t+1})}}),tg=(0,c.atom)(null,function(t,e,n){e(S.selectedUnitDevicesAtom,function(t){return(0,a._)((0,i._)({},t),(0,o._)({},n.unitId,n.deviceId))})}),th=(0,c.atom)(null,function(t,e,n){if(t(S.isPlayingAtom)&&!I(t,e,n)){E(t,e,n.time),"live"===t(S.eventAtom).status&&!t(S.isTrackingLiveAtom)&&t(k.liveEdgeAtom)-n.time<A.LIVE_EDGE_TOLERANCE_SECONDS&&e(S.isTrackingLiveAtom,!0);var r=t(S.deviceOrderAtom),o=r[0];if(!o){if(n.ended){e(S.isPlayingAtom,!1);var i,a=t(S.eventAtom),l=t(S.playbackTerminalEndedAtom);e(S.playbackTerminalEndedAtom,{seq:(null!=(i=null==l?void 0:l.seq)?i:0)+1,atMs:Date.now(),eventId:a.id,wasLive:"live"===a.status})}return}var u=t(k.devicePlayableRangesAtom),m=(0,d.rangesForDevice)(u,o),c=m.find(function(t){return(0,d.rangeContainsTime)(t,n.time)||.05>=Math.abs(t.end-n.time)});if(c&&!n.ended&&n.time<c.end-.05)return void w(t,e);var s=t(S.eventAtom),v=t(k.durationAtom);if(!n.ended&&"live"===s.status&&c&&c.end>=v-d.RANGE_EPSILON_SECONDS)return void w(t,e);var f=c?c.end+d.RANGE_EPSILON_SECONDS:n.time+d.RANGE_EPSILON_SECONDS,p="live"===t(S.eventAtom).status&&t(k.liveEdgeAtom)-f<A.LIVE_EDGE_TOLERANCE_SECONDS;if(m.some(function(t){return(0,d.rangeContainsTime)(t,f)})){var y=s.devices.find(function(t){return t.id===o});if(y&&(0,d.sourceAt)(y,f,v)!==(0,d.sourceAt)(y,n.time,v)){if(p&&T(t,e,n))return;e(P,f)}else w(t,e);return}var g=(0,d.resolvePlayableTarget)(u,f,v,r),h=g&&(g.deviceId!==o||g.time>n.time+d.RANGE_EPSILON_SECONDS);if(g&&h){if(p&&T(t,e,n))return;e(P,g.time);return}if(n.ended){if(p&&T(t,e,n))return;e(S.isPlayingAtom,!1);var b,M=t(S.playbackTerminalEndedAtom);e(S.playbackTerminalEndedAtom,{seq:(null!=(b=null==M?void 0:M.seq)?b:0)+1,atMs:Date.now(),eventId:s.id,wasLive:"live"===s.status})}}}),tb=(0,c.atom)(null,function(t,e,n){var r=to(t(S.pipPlacementsAtom),n.id),l=n.corner,u=R(t,r);u.includes(l)&&(l=tr.filter(function(t){return!u.includes(t)}).reduce(function(t,e){return r[e].length<r[t].length?e:t}));var c=(0,m._)(r[l]);c.splice((0,f.clamp)(n.index,0,c.length),0,n.id),e(S.pipPlacementsAtom,(0,a._)((0,i._)({},r),(0,o._)({},l,c)))}),tS=(0,c.atom)(null,function(t,e){var n=t(S.deviceOrderAtom);if(!(n.length<2)){var r=(0,u._)(n),o=r[0],i=r[1],a=r.slice(2);e(S.deviceOrderAtom,[i].concat((0,m._)(a),[o])),e(S.pipPlacementsAtom,function(t){return ti(t,i,o)})}}),tk=(0,c.atom)(null,function(t,e,n){if((null==(a=t(b.configAtom).features)?void 0:a.ads)===!1||t(h.hasShownPreRollAtom)||t(S.preRollAtom))return!1;var r,o,i,a,l=t(S.accessAtom).state;if("open"!==l&&"seat-limited"!==l)return!1;var u=t(h.preRollsAtom).filter(function(t){return t.appliesTo.includes(n.context)});if(0===u.length)return!1;var m=u[Math.floor(Math.random()*u.length)];return e(h.hasShownPreRollAtom,!0),e(S.isPlayingAtom,!1),e(S.preRollAtom,{preRollId:m.id,resumePlayback:null==(r=n.resumePlayback)||r,pendingOverlayTarget:null!=(o=n.pendingOverlayTarget)?o:null,pendingResumeOnClose:null!=(i=n.pendingResumeOnClose)&&i}),!0}),tM=(0,c.atom)(null,function(t,e){var n=t(S.preRollAtom);if(n){if(e(S.preRollAtom,null),n.pendingOverlayTarget)return void e(S.overlayPlayerAtom,(0,a._)((0,i._)({},n.pendingOverlayTarget),{resumeOnClose:n.pendingResumeOnClose}));n.resumePlayback&&e(S.isPlayingAtom,!0)}}),tw=(0,c.atom)(null,function(t,e,n){var r="kind"in n?n:(0,i._)({kind:"clip"},n),o=t(S.accessAtom).state;if("loading"!==o&&"pin-required"!==o&&"ppv-required"!==o&&"mini"!==t(S.presentationModeAtom)&&("clip"!==r.kind||!0!==t(S.eventAtom).clipsLocked)){var l=t
2(S.overlayPlayerAtom),u=l?l.resumeOnClose:t(S.isPlayingAtom);"clip"===r.kind&&!l&&e(tk,{context:"clip",pendingOverlayTarget:r,pendingResumeOnClose:u,resumePlayback:!1})||(e(S.isPlayingAtom,!1),e(S.overlayPlayerAtom,(0,a._)((0,i._)({},r),{resumeOnClose:u})))}}),tT=(0,c.atom)(null,function(t,e){var n=t(S.overlayPlayerAtom);n&&(e(S.overlayPlayerAtom,null),n.resumeOnClose&&e(S.isPlayingAtom,!0))}),t_=(0,c.atom)(null,function(t,e,n){var r=t(S.eventAtom);e(S.eventAtom,n);var o=n.devices.map(function(t){return t.id});if(r.id===n.id){var a=t(S.globalDeviceAtom);a&&!o.includes(a)&&(e(S.globalDeviceAtom,null!=(G=o[0])?G:""),e(S.globalDeviceSwapRevisionAtom,function(t){return t+1}));var u=new Set(n.moments.flatMap(function(t){var e;return(null!=(e=t.clips)?e:[]).flatMap(function(t){return t.deviceId?[t.deviceId]:[]})})),c=t(S.selectedUnitDevicesAtom),s=Object.fromEntries(Object.entries(c).filter(function(t){var e=(0,l._)(t,2)[1];return o.includes(e)||u.has(e)}));Object.keys(s).length!==Object.keys(c).length&&e(S.selectedUnitDevicesAtom,s);var v=t(S.reviewFocusedDeviceIdAtom);v&&!o.includes(v)&&e(S.reviewFocusedDeviceIdAtom,null);var f=t(S.deviceOrderAtom),A=f.filter(function(t){return o.includes(t)}),M="grid"===t(S.viewModeAtom)?A.length>0?(0,m._)(A).concat((0,m._)(o.filter(function(t){return!A.includes(t)}))):(0,m._)(o):A.length>0?A:o.slice(0,"single"===t(S.viewModeAtom)?1:2);(M.length!==f.length||M.some(function(t,e){return t!==f[e]}))&&(e(S.deviceOrderAtom,M),e(S.pipPlacementsAtom,function(e){return tl(t,e,M)}));var T=X(r)!==X(n),R=!$(r)&&$(n);T&&(e(S.playerErrorAtom,null),e(S.isBufferingAtom,!1),e(S.reloadSeqAtom,function(t){return t+1})),R&&(e(S.playerErrorAtom,null),e(S.isBufferingAtom,!1),e(S.isPlayingAtom,!0),e(S.isTrackingLiveAtom,!0),e(S.currentTimeAtom,n.initialTime),e(S.primaryClockAtom,{time:n.initialTime,atMs:performance.now()}),e(S.seekRequestAtom,function(t){var e;return{time:n.initialTime,seq:(null!=(e=null==t?void 0:t.seq)?e:0)+1}}),T||e(S.reloadSeqAtom,function(t){return t+1}));var O=t(S.deviceAspectRatiosAtom),E=Object.fromEntries(Object.entries(O).filter(function(t){var e=(0,l._)(t,1)[0];return o.includes(e)}));Object.keys(E).length!==Object.keys(O).length&&e(S.deviceAspectRatiosAtom,E);var I=t(k.durationAtom);t(S.currentTimeAtom)>I&&e(P,I),t(S.timebarZoomTargetAtom)&&!t(k.timebarFocusedRangeAtom)&&e(S.timebarZoomTargetAtom,null),t(S.loopTargetAtom)&&!t(k.loopRangeAtom)&&e(S.loopTargetAtom,null);var D=new Set(n.moments.filter(function(t){var e;return(null!=(e=t.clips)?e:[]).some(function(t){return!!t.videoURL})}).map(function(t){return t.id})),F=new Set(r.moments.filter(function(t){var e;return(null!=(e=t.clips)?e:[]).some(function(t){return!!t.videoURL})}).map(function(t){return t.id})),L=new Set(n.moments.map(function(t){return t.id})),x=(0,i._)({},t(g.retiredPendingIdsAtom)),C=!1,N=function(t){t&&!x[t]&&(x[t]=!0,C=!0)},W=!0,U=!1,V=void 0;try{for(var B,j,q,z,G,K,Z=F[Symbol.iterator]();!(W=(K=Z.next()).done);W=!0){var H=K.value;L.has(H)||N(H)}}catch(t){U=!0,V=t}finally{try{W||null==Z.return||Z.return()}finally{if(U)throw V}}var J=!0,Y=!1,Q=void 0;try{for(var tt,te=t(g.pendingMomentsAtom)[Symbol.iterator]();!(J=(tt=te.next()).done);J=!0){var tn=tt.value;(D.has(tn.id)||null!=tn.clientId&&D.has(tn.clientId))&&(N(tn.id),N(tn.clientId))}}catch(t){Y=!0,Q=t}finally{try{J||null==te.return||te.return()}finally{if(Y)throw Q}}C&&e(g.retiredPendingIdsAtom,x);return}_(),w(t,e),e(S.actionOverlayAtom,null),e(S.deviceAspectRatiosAtom,{}),e(S.currentTimeAtom,n.initialTime),e(S.primaryClockAtom,{time:n.initialTime,atMs:performance.now()}),e(S.mediaDurationAtom,null),e(S.liveSeekableEndAtom,null),e(S.lastCameraSwitchOverlayAtMsAtom,null),e(S.bufferedRangesAtom,[]),e(S.isBufferingAtom,!1),e(S.isSeekingAtom,!1),e(S.playerErrorAtom,null),e(S.playbackTerminalEndedAtom,null),e(S.isTrackingLiveAtom,"live"===n.status),e(S.detectedStartOffsetsAtom,{}),e(S.qualityLevelsAtom,null),e(S.activeQualityHeightAtom,null),e(S.seekRequestAtom,function(t){var e;return{time:n.initialTime,seq:(null!=(e=null==t?void 0:t.seq)?e:0)+1}}),e(S.isPlayingAtom,!1),e(S.activityModesAtom,["moments","scores","chat","bookmarks"]),e(S.activityMomentFilterAtom,"all"),e(g.activeOperationAtom,null),e(g.pendingBookmarkAtom,null),e(g.pendingMomentsAtom,[]),e(g.pendingClipStateAtom,{}),e(g.retiredPendingIdsAtom,{}),e(S.filmStripOpenAtom,n.moments.some(function(t){return"score"!==t.type})||!!n.highlights||(0,d.eventHasReplayRecordings)(n)),e(S.hoveredMomentIdAtom,null),e(S.timebarZoomTargetAtom,null),e(S.loopTargetAtom,null),e(S.scrubPreviewAtom,null),e(S.overlayPlayerAtom,null),e(S.preRollAtom,null),e(h.hasShownPreRollAtom,!1),e(h.adsAtom,[]),e(h.preRollsAtom,[]),e(S.globalDeviceAtom,null!=(B=null==(j=n.devices[0])?void 0:j.id)?B:""),e(S.globalDeviceSwapRevisionAtom,0),e(S.selectedUnitDevicesAtom,{}),e(S.openMenuIdAtom,null),e(S.shortcutsOverlayOpenAtom,!1);var tr=t(b.configAtom),to=(null==(q=tr.features)?void 0:q.multiDevice)!==!1,ti=(0,p.resolveEventLayout)((0,p.readEventLayout)(n.id),o,{multiDevice:to,initialView:null==(z=tr.ui)?void 0:z.initialView});e(S.deviceOrderAtom,ti.deviceOrder),e(S.viewModeAtom,ti.viewMode),e(S.pipPlacementsAtom,ti.pipPlacements),e(y.videoZoomAtom,ti.zoom),e(y.videoRotationAtom,ti.rotate),e(y.videoFlipAtom,ti.flip),e(S.videoPanAtom,[0,0]),e(S.reviewFocusedDeviceIdAtom,null),e(S.reviewWindowFrozenAtom,null)});t.s(["closeOverlayPlayerAtom",0,tT,"dismissPreRollAtom",0,tM,"freezeReviewWindowAtom",0,L,"goToLiveEdgeAtom",0,z,"jumpToMomentAtom",0,B,"loadEventAtom",0,t_,"maintainPlaybackContinuityAtom",0,th,"maybeShowPreRollAtom",0,tk,"movePipAtom",0,tb,"openOverlayPlayerAtom",0,tw,"playFromTimelineAtom",0,W,"promoteDeviceAtom",0,td,"removeDeviceAtom",0,tc,"reorderGridDevicesAtom",0,tf,"resetVideoAdjustmentsAtom",0,Y,"retryPlaybackAtom",0,tn,"rotateDevicesAtom",0,tS,"seekByAtom",0,C,"seekToAtom",0,P,"seekToWithFeedbackAtom",0,N,"selectPip
2DeviceAtom",0,tp,"selectPrimaryDeviceAtom",0,ts,"setAccessAtom",0,te,"setGlobalDeviceAtom",0,ty,"setHoldRateAtom",0,K,"setPlaybackRateAtom",0,G,"setPresentationModeAtom",0,tt,"setUnitDeviceAtom",0,tg,"setVideoFlipAtom",0,J,"setVideoRotationAtom",0,H,"setVideoZoomAtom",0,Z,"setViewModeAtom",0,tu,"setVolumeAtom",0,j,"showFullscreenOverlayAtom",0,Q,"tickAtom",0,V,"toggleDeviceAtom",0,tm,"toggleDeviceAudioAtom",0,tA,"toggleLoopItemAtom",0,F,"toggleMuteAtom",0,q,"togglePlayAtom",0,U,"toggleReviewFocusAtom",0,tv,"unfreezeReviewWindowAtom",0,x,"zoomToTimebarItemAtom",0,D])},186678,224578,t=>{"use strict";var e=t.i(639372),n=t.i(120786),r={};t.s(["DEFAULT_V3_CONFIG",0,r,"REVIEW_V3_CONFIG",0,{features:{activityLog:!1,filmStrip:!1,ads:!1,sponsorAssets:!1,filmRoom:!1,stats:!1,chat:!1,multiDevice:!0,annotations:!0,shortcuts:!0,settings:!1,scoreboard:!1},playback:{muted:!0},ui:{fullWidth:!0,initialView:"grid",persistLayout:!1}},"mergePlayerV3Config",0,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];var o={},i=!0,a=!1,l=void 0;try{for(var u,m=e[Symbol.iterator]();!(i=(u=m.next()).done);i=!0){var c=u.value;c&&(c.features&&(o.features=(0,n._)({},o.features,c.features)),c.playback&&(o.playback=(0,n._)({},o.playback,c.playback)),c.ui&&(o.ui=(0,n._)({},o.ui,c.ui)))}}catch(t){a=!0,l=t}finally{try{i||null==m.return||m.return()}finally{if(a)throw l}}return o}],224578);var o=(0,e.atom)(r),i=function(t){return!1!==t},a=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.activityLog)}),l=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.filmStrip)}),u=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.annotations)}),m=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.scoreboard)}),c=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.sponsorAssets)}),s=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.ads)}),d=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.multiDevice)}),v=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.shortcuts)}),f=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.chat)}),A=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.settings)}),p=(0,e.atom)(function(t){var e;return(null==(e=t(o).features)?void 0:e.debugPanel)===!0}),y=(0,e.atom)(function(t){var e;return i(null==(e=t(o).features)?void 0:e.stats)}),g=(0,e.atom)(function(t){var e;return(null==(e=t(o).features)?void 0:e.filmRoom)===!0}),h=(0,e.atom)(function(t){var e,n;return null!=(e=null==(n=t(o).ui)?void 0:n.autohideControlsMs)?e:2800}),b=(0,e.atom)(function(t){var e;return(null==(e=t(o).ui)?void 0:e.fullWidth)===!0}),S=(0,e.atom)(function(t){var e;return(null==(e=t(o).ui)?void 0:e.persistLayout)!==!1});t.s(["autohideControlsMsAtom",0,h,"configAtom",0,o,"featureActivityLogAtom",0,a,"featureAdsAtom",0,s,"featureAnnotationsAtom",0,u,"featureChatAtom",0,f,"featureDebugPanelAtom",0,p,"featureFilmRoomAtom",0,g,"featureFilmStripAtom",0,l,"featureMultiDeviceAtom",0,d,"featureScoreboardAtom",0,m,"featureSettingsAtom",0,A,"featureShortcutsAtom",0,v,"featureSponsorAssetsAtom",0,c,"featureStatsAtom",0,y,"persistLayoutAtom",0,S,"uiFullWidthAtom",0,b],186678)},17236,t=>{"use strict";var e=t.i(120786),n=t.i(92808),r=t.i(651682),o=t.i(540316),i=t.i(500075),a="sporfie.player-v3.layout.v1",l={tl:[],tr:[],bl:[],br:[]},u=new Set(["single","pip","split"]),m=new Set([1,1.25,1.5,2]),c=new Set([0,90,180,270]),s=new Set(["none","horizontal","vertical"]);function d(t){return Array.isArray(t)&&t.every(function(t){return"string"==typeof t})}function v(t){var e;return!(!t||(void 0===t?"undefined":(0,i._)(t))!=="object"||Array.isArray(t))&&d(t.deviceOrder)&&!(!(e=t.pipPlacements)||(void 0===e?"undefined":(0,i._)(e))!=="object"||Array.isArray(e))&&d(e.tl)&&d(e.tr)&&d(e.bl)&&d(e.br)&&"string"==typeof t.viewMode&&u.has(t.viewMode)&&"number"==typeof t.zoom&&m.has(t.zoom)&&"number"==typeof t.rotate&&c.has(t.rotate)&&"string"==typeof t.flip&&s.has(t.flip)&&"number"==typeof t.savedAtMs&&Number.isFinite(t.savedAtMs)&&t.savedAtMs>0}function f(t){if(!t)return{};try{var e=JSON.parse(t);if(!e||(void 0===e?"undefined":(0,i._)(e))!=="object"||Array.isArray(e))return{};var n={},o=!0,a=!1,l=void 0;try{for(var u,m=Object.entries(e)[Symbol.iterator]();!(o=(u=m.next()).done);o=!0){var c=(0,r._)(u.value,2),s=c[0],d=c[1];s&&v(d)&&(n[s]=d)}}catch(t){a=!0,l=t}finally{try{o||null==m.return||m.return()}finally{if(a)throw l}}return n}catch(t){return{}}}function A(){try{var t=globalThis.localStorage;return null!=t?t:null}catch(t){return null}}function p(t,r){var i="single"===r?t.slice(0,1):"grid"===r?(0,o._)(t):t.slice(0,2);return{deviceOrder:i,pipPlacements:"pip"===r&&i.length>1?(0,n._)((0,e._)({},l),{bl:[i[1]]}):(0,e._)({},l),viewMode:r,zoom:1,rotate:0,flip:"none"}}t.s(["readEventLayout",0,function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A();if(!t||!n)return null;try{return null!=(e=f(n.getItem(a))[t])?e:null}catch(t){return null}},"resolveEventLayout",0,function(t,r,i){var a=new Set(r);if("grid"===i.initialView){if(!i.multiDevice)return p(r,"single");var d=t?(0,o._)(new Set(t.deviceOrder.filter(function(t){return a.has(t)}))):[],v=r.filter(function(t){return!d.includes(t)});return{deviceOrder:d.length>0?(0,o._)(d).concat((0,o._)(v)):(0,o._)(r),pipPlacements:(0,e._)({},l),viewMode:"grid",zoom:1,rotate:0,flip:"none"}}var f=i.multiDevice&&r.length>
2=2?null!=(T=i.initialView)?T:"pip":"single";if(!t)return p(r,f);var A=u.has(t.viewMode)?t.viewMode:f;(!i.multiDevice||r.length<2)&&(A="single");var y=(0,o._)(new Set(t.deviceOrder.filter(function(t){return a.has(t)})));if(0===y.length)return(0,n._)((0,e._)({},p(r,A)),{zoom:m.has(t.zoom)?t.zoom:1,rotate:c.has(t.rotate)?t.rotate:0,flip:s.has(t.flip)?t.flip:"none"});if("single"===A)y=y.slice(0,1);else if("split"===A&&(y=y.slice(0,2)),y.length<2){var g=r.find(function(t){return!y.includes(t)});g&&(y=(0,o._)(y).concat([g]))}var h=new Set(y.slice(1)),b={tl:t.pipPlacements.tl.filter(function(t){return h.has(t)}),tr:t.pipPlacements.tr.filter(function(t){return h.has(t)}),bl:t.pipPlacements.bl.filter(function(t){return h.has(t)}),br:t.pipPlacements.br.filter(function(t){return h.has(t)})},S=new Set((0,o._)(b.tl).concat((0,o._)(b.tr),(0,o._)(b.bl),(0,o._)(b.br))),k=!0,M=!1,w=void 0;try{for(var T,_,R=h[Symbol.iterator]();!(k=(_=R.next()).done);k=!0){var O=_.value;S.has(O)||(b.bl=(0,o._)(b.bl).concat([O]))}}catch(t){M=!0,w=t}finally{try{k||null==R.return||R.return()}finally{if(M)throw w}}return{deviceOrder:y,pipPlacements:"pip"===A?b:(0,e._)({},l),viewMode:A,zoom:m.has(t.zoom)?t.zoom:1,rotate:c.has(t.rotate)?t.rotate:0,flip:s.has(t.flip)?t.flip:"none"}},"writeEventLayout",0,function(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:A();if(t&&l&&Number.isFinite(i)&&!(i<=0)&&v((0,n._)((0,e._)({},o),{savedAtMs:i})))try{var u=f(l.getItem(a));u[t]=(0,n._)((0,e._)({},o),{savedAtMs:i});var m=Object.fromEntries(Object.entries(u).sort(function(t,e){var n=(0,r._)(t,2)[1];return(0,r._)(e,2)[1].savedAtMs-n.savedAtMs}).slice(0,50));l.setItem(a,JSON.stringify(m))}catch(t){}}])},346486,t=>{"use strict";var e=t.i(120786),n=t.i(639372),r=t.i(265172),o=function(t){return"sporfie.player-v3.".concat(t)},i=(0,r.atomWithStorage)(o("volume"),.75),a=(0,r.atomWithStorage)(o("muted"),!1),l=(0,r.atomWithStorage)(o("rate"),1),u=(0,n.atom)(null),m=(0,r.atomWithStorage)(o("quality"),"auto"),c=(0,r.atomWithStorage)(o("moment-toasts"),!0),s=(0,r.atomWithStorage)(o("ambient-glow"),!0),d=(0,r.atomWithStorage)(o("scoreboard"),!0),v=(0,r.atomWithStorage)(o("autoplay-next"),!0),f=(0,r.atomWithStorage)(o("viewer-stats"),!1),A=(0,r.atomWithStorage)(o("debug-panel"),!1),p=(0,r.atomWithStorage)(o("time-display-v2"),"relative-to-event-start"),y=(0,n.atom)({});function g(t,n){t(y,function(t){if(!(n in t))return t;var r=(0,e._)({},t);return delete r[n],r})}var h=(0,n.atom)(function(t){var e=t(y).muted;return void 0!==e?e:t(a)}),b=(0,n.atom)(function(t){var e=t(y).volume;return void 0!==e?e:t(i)}),S=(0,n.atom)(function(t){var e=t(u);if(null!==e)return e;var n=t(y).rate;return void 0!==n?n:t(l)}),k=(0,n.atom)(function(t){var e=t(y).quality;return void 0!==e?e:t(m)}),M=(0,n.atom)(function(t){var e=t(y).autoplayNextClip;return void 0!==e?e:t(v)}),w=(0,n.atom)(function(t){var e=t(y).timeDisplay;return void 0!==e?e:t(p)}),T=(0,n.atom)(null,function(t,e,n){g(e,"quality"),e(m,n)}),_=(0,n.atom)(null,function(t,e,n){g(e,"timeDisplay"),e(p,n)}),R=(0,n.atom)(null,function(t,e,n){g(e,"autoplayNextClip"),e(v,n)}),O=(0,n.atom)(1),P=(0,n.atom)(0),E=(0,n.atom)("none");t.s(["ambientGlowAtom",0,s,"clearPlaybackOverride",0,g,"debugPanelOpenAtom",0,A,"effectiveAutoplayNextClipAtom",0,M,"effectiveMutedAtom",0,h,"effectivePlaybackRateAtom",0,S,"effectiveQualityAtom",0,k,"effectiveTimeDisplayFormatAtom",0,w,"effectiveVolumeAtom",0,b,"holdRateAtom",0,u,"momentToastsEnabledAtom",0,c,"mutedAtom",0,a,"playbackOverridesAtom",0,y,"playbackRateAtom",0,l,"qualityPreferenceHeight",0,function(t){var e=Number.parseInt(t,10);return Number.isFinite(e)&&e>0?e:null},"scoreboardVisibleAtom",0,d,"setAutoplayNextClipPreferenceAtom",0,R,"setQualityPreferenceAtom",0,T,"setTimeDisplayFormatPreferenceAtom",0,_,"showViewerStatsAtom",0,f,"videoFlipAtom",0,E,"videoRotationAtom",0,P,"videoZoomAtom",0,O,"volumeAtom",0,i])},136312,t=>{"use strict";var e=t.i(639372),n=(0,e.atom)({id:"",title:"",sport:"",status:"replay",teams:null,duration:0,initialTime:0,accent:"#4ade80",periods:[],moments:[],chatEnabled:!1,devices:[]}),r=(0,e.atom)({state:"open"}),o=(0,e.atom)(0),i=(0,e.atom)(!1),a=(0,e.atom)(null),l=(0,e.atom)(null),u=(0,e.atom)(null),m=(0,e.atom)([]),c=(0,e.atom)(!1),s=(0,e.atom)(!1),d=(0,e.atom)(null),v=(0,e.atom)(!1),f=(0,e.atom)(null),A=(0,e.atom)(null),p=(0,e.atom)(null),y=(0,e.atom)({}),g=(0,e.atom)(0),h=(0,e.atom)(null),b=(0,e.atom)(null),S=(0,e.atom)(null),k=(0,e.atom)("single"),M={tl:[],tr:[],bl:[],br:[]},w=(0,e.atom)(M),T=(0,e.atom)(""),_=(0,e.atom)({}),R=(0,e.atom)(0),O=(0,e.atom)([]),P=(0,e.atom)(null),E=(0,e.atom)({}),I=(0,e.atom)(null),D=(0,e.atom)(null),F=(0,e.atom)(null),L=(0,e.atom)(!1),x=(0,e.atom)(!1),C=(0,e.atom)(!0),N=(0,e.atom)(!1),W=(0,e.atom)(!1),U=(0,e.atom)(["moments","scores","chat","bookmarks"]),V=(0,e.atom)("all"),B=(0,e.atom)("all"),j=(0,e.atom)([]),q=(0,e.atom)(!1),z=(0,e.atom)(null),G=(0,e.atom)(null),K=(0,e.atom)(null),Z=(0,e.atom)(null),H=(0,e.atom)(null),J=(0,e.atom)(!1),Y=(0,e.atom)("page"),Q=(0,e.atom)(null),X=(0,e.atom)(null),$=(0,e.atom)(new Set),tt=(0,e.atom)(null),te=(0,e.atom)([0,0]),tn=(0,e.atom)(null);t.s(["EMPTY_PIP_PLACEMENTS",0,M,"accessAtom",0,r,"actionOverlayAtom",0,Q,"activeQualityHeightAtom",0,b,"activityBookmarkFilterAtom",0,B,"activityLogSidebarAtom",0,C,"activityModesAtom",0,U,"activityMomentFilterAtom",0,V,"audienceReportedClipKeysAtom",0,$,"bookmarksAtom",0,j,"bufferedRangesAtom",0,m,"controlsIdleAtom",0,q,"currentTimeAtom",0,o,"detectedStartOffsetsAtom",0,y,"deviceAspectRatiosAtom",0,E,"deviceOrderAtom",0,O,"eventAtom",0,n,"filmStripOpenAtom",0,N,"fullscreenAtom",0,L,"fullscreenLogOpenAtom",0,W,"globalDeviceAtom",0,T,"globalDeviceSwapRevisionAtom",0,R,"hoveredMomentIdAtom",0,K,"isBufferingAtom",0,c,"isPlayingAtom",0,i,"isSeekingAtom",0,s,"isTrackingLiveAtom",0,v,"lastCameraSwitchOverlayAtMsAtom",0,p,"liveFailoverArmedAtMsAtom",0,A,"liveSeekableEndAtom",0,f,"loopTargetAtom",0,H,"mediaDurationAtom",0,a,"openMenuIdAtom",0,z,"overlayPlayerAtom",0,X,"pipPlacementsAtom",0,w,"pipSpawnOriginAtom",0,I,"playbackTerminalEndedAtom",0,tn,"playerErrorAtom",0,d,"preRollAtom",0,tt,"presentationModeAtom",0,Y,"primaryClockAtom",0,u,"primaryVideoElementAtom",0,S,"pseudoFullscreenAtom",0,x,"qualityLevelsAtom",0,h,"reloadSeqAtom",0,g,"reviewFocusedDeviceIdAtom",0,D,"reviewWindowFrozenAtom",0,F,"scrubPreviewAtom",0,G,"seekRequestAtom",0,l,"selectedUnitDevicesAtom",0,_,"shortcutsOverlayOpenAtom",0,J,"stageSizeAtom",0,P,"timebarZoomTargetAtom",0,Z,"videoPanAtom",0,te,"viewModeAtom",0,k])},612020,t=>{"use strict";var e=t.i(120786),n=t.i(92808),r=t.i(540316),o=t.i(639372),i=t.i(265172),a=t.i(622649),l=t.i(390389),u=t.i(829551),m=t.i(429974),c=t.
2i(763349),s=t.i(235545),d=t.i(164338),v=t.i(516783),f=t.i(635109),A=t.i(289394),p=t.i(186678),y=t.i(346486),g=t.i(136312),h={id:"main",label:"Main cam",kind:"broadcast"},b=(0,o.atom)(function(t){var e=t(g.eventAtom),n=t(g.mediaDurationAtom);return null==n?e.duration:e.durationFromMedia?n:Math.max(e.duration,n)}),S=(0,o.atom)(function(t){return Math.floor(t(g.currentTimeAtom))}),k=(0,o.atom)(function(t){var e=t(g.eventAtom).devices,n=t(b),r=t(S);return e.filter(function(t){return(0,l.deviceCoversTime)(t,r,n)}).map(function(t){return t.id})}),M=(0,i.selectAtom)(k,function(t){return t},function(t,e){return t.length===e.length&&t.every(function(t,n){return t===e[n]})}),w=(0,o.atom)(function(t){var e;return t(to)&&null!=(e=t(g.liveSeekableEndAtom))?e:t(b)}),T=(0,o.atom)(function(t){return t(to)?Math.max(0,t(w)-t(g.currentTimeAtom)):0}),_=(0,o.atom)(function(t){return(0,l.buildDevicePlayableRanges)(t(g.eventAtom),t(b))}),R=(0,o.atom)(function(t){return(0,l.unionTimelineRanges)(t(_))}),O=(0,o.atom)(function(t){return(0,l.invertTimelineRanges)((0,l.mergeShortGapsForDisplay)(t(R)),t(b))}),P=(0,o.atom)(function(t){var e=t(g.accessAtom).state;return"loading"===e||"pin-required"===e||"ppv-required"===e}),E=(0,o.atom)(function(t){var e,n;return(null!=(e=null==(n=t(g.eventAtom).playbackHeatmapKeys)?void 0:n.length)?e:0)>0}),I=(0,o.atom)(function(t){var e;return!t(P)&&(!!(!t(g.isPlayingAtom)||null!==t(g.timebarZoomTargetAtom)||null!==t(g.loopTargetAtom)||null!==t(g.openMenuIdAtom)||null!==t(g.scrubPreviewAtom)||null!==t(g.hoveredMomentIdAtom)||(null==(e=t(f.activeOperationAtom))?void 0:e.type)==="clipping"||t(E))||!t(g.controlsIdleAtom))}),D=(0,o.atom)(function(t){var e=t(y.effectiveTimeDisplayFormatAtom),n=t(g.eventAtom).startTimeMs;return function(t){return(0,a.formatTimelineTime)(t,e,n)}}),F=(0,o.atom)(function(t){return"absolute-clock"===t(y.effectiveTimeDisplayFormatAtom)&&null!=t(g.eventAtom).startTimeMs}),L=(0,o.atom)(function(t){return t(D)(t(g.currentTimeAtom))}),x=(0,o.atom)(function(t){return t(F)?t(D)(t(b)):(0,a.formatTime)(t(b))}),C=(0,o.atom)(function(t){return(0,a.scoreAt)(t(g.eventAtom),t(g.currentTimeAtom),0)}),N=(0,o.atom)(function(t){return(0,a.scoreAt)(t(g.eventAtom),t(g.currentTimeAtom),1)}),W=(0,o.atom)(function(t){return(0,a.periodAt)(t(g.eventAtom),t(g.currentTimeAtom))}),U=(0,o.atom)(function(t){var e=t(W);if(!e)return null;var n=(0,a.clamp)(t(g.currentTimeAtom),e.start,e.end)-e.start;return"".concat(e.short," ").concat((0,a.formatTime)(n))});function V(t){var e;return(null!=(e=t.clips)?e:[]).some(function(t){return!!t.videoURL})}function B(t,e){return t.id===e||t.clientId===e}var j=(0,o.atom)(function(t){var o=t(f.pendingMomentsAtom),i=t(f.pendingClipStateAtom),a=t(f.activeOperationAtom),l=t(g.eventAtom),u=0===Object.keys(i).length?l.moments:l.moments.flatMap(function(t){var o=function(t,o){var i,a=t.clips;if(!a||0===a.length||a.every(function(t){return!o[t.id]}))return t;var l=a.flatMap(function(t){var n=o[t.id];return n?n.deleted?[]:[(0,e._)({},t,void 0!==n.isFavorite?{isFavorite:n.isFavorite}:{},void 0!==n.tags?{tags:n.tags}:{},void 0!==n.comment?{comment:n.comment||void 0}:{})]:[t]});return 0===l.length?null:(0,n._)((0,e._)({},t),{clips:l,isFavorite:l.some(function(t){return!0===t.isFavorite}),tags:Array.from(new Set((0,r._)(null!=(i=t.tags)?i:[]).concat((0,r._)(l.flatMap(function(t){var e;return null!=(e=t.tags)?e:[]})))))})}(t,i);return o?[o]:[]}),m=(null==a?void 0:a.type)==="clipping"?a:null,c=t(f.retiredPendingIdsAtom),s=new Set(u.filter(V).map(function(t){return t.id})),d=new Set(l.moments.filter(function(t){var e,n;return(n=null!=(e=t.clips)?e:[]).length>0&&n.every(function(t){var e;return(null==(e=i[t.id])?void 0:e.deleted)===!0})}).map(function(t){return t.id})),v=function(t){return!!t&&(s.has(t)||d.has(t)||!0===c[t])},A=o.filter(function(t){return!(v(t.id)||v(t.clientId)||(null==m?void 0:m.momentKey)&&B(t,m.clientId)&&v(m.momentKey))}),p=new Map,y=!0,h=!1,b=void 0;try{for(var S,k=o[Symbol.iterator]();!(y=(S=k.next()).done);y=!0){var M=S.value;M.clientId&&M.id!==M.clientId&&p.set(M.id,M.clientId)}}catch(t){h=!0,b=t}finally{try{y||null==k.return||k.return()}finally{if(h)throw b}}(null==m?void 0:m.momentKey)&&p.set(m.momentKey,m.clientId);var w=new Set,T=!0,_=!1,R=void 0;try{for(var O,P=A[Symbol.iterator]();
2!(T=(O=P.next()).done);T=!0){var E=O.value;w.add(E.id),E.clientId&&w.add(E.clientId)}}catch(t){_=!0,R=t}finally{try{T||null==P.return||P.return()}finally{if(_)throw R}}m&&(w.add(m.clientId),m.momentKey&&w.add(m.momentKey));var I=u.filter(function(t){return!!("highlight"!==t.type||V(t))||!w.has(t.id)}).map(function(t){var r=p.get(t.id);return r?(0,n._)((0,e._)({},t),{clientId:r}):t}),D=null!=m&&(A.some(function(t){return B(t,m.clientId)||null!=m.momentKey&&B(t,m.momentKey)})||v(m.clientId)||v(m.momentKey)),F=m&&!D?[{id:m.clientId,clientId:m.clientId,time:m.time,type:"highlight",team:null,title:"",isMine:!0,pending:!0}]:[],L=(0,r._)(A).concat((0,r._)(F)),x=0===L.length?I:(0,r._)(I).concat((0,r._)(L)).sort(function(t,e){return t.time-e.time});return t(f.showMomentsAtom)?x:x.filter(function(t){return"highlight"!==t.type})}),q=(0,o.atom)(function(t){return(0,d.filterBookmarksByCollection)(t(g.bookmarksAtom),t(g.activityBookmarkFilterAtom))}),z=(0,o.atom)(function(t){return(0,d.groupedBookmarkCollections)((0,d.bookmarkCollectionOptions)(t(g.bookmarksAtom)))}),G=(0,o.atom)(function(t){var e=t(f.annotationModeAtom);return"bookmark"===e?t(f.showBookmarksAtom)?(0,s.jumpTargetsFromBookmarks)(t(q)):[]:"score-change"===e?(0,s.jumpTargetsFromMoments)(t(j),"scores"):(0,s.jumpTargetsFromMoments)(t(j),"clips")}),K=(0,o.atom)(function(t){return t(G).length>0}),Z=(0,o.atom)(function(t){return(0,v.resolveTimebarItemRange)(t(g.timebarZoomTargetAtom),t(j),t(g.bookmarksAtom))}),H=(0,o.atom)(function(t){var e=t(b),n=t(Z);return n?(0,v.visibleRangeForItem)(n,e):{start:0,end:e}}),J=(0,o.atom)(function(t){return null!=t(Z)}),Y=(0,o.atom)(function(t){var e=t(g.timebarZoomTargetAtom),n=t(g.loopTargetAtom);return e?!n||(0,v.itemTargetsEqual)(e,n)?[e]:[e,n]:n?[n]:[]}),Q=(0,o.atom)(function(t){return(0,v.resolveTimebarItemRange)(t(g.loopTargetAtom),t(j),t(g.bookmarksAtom))}),X=(0,o.atom)(function(t){if(!t(y.momentToastsEnabledAtom))return null;for(var e=t(g.currentTimeAtom),n=t(j),r=n.length-1;r>=0;r--){var o=n[r];if(o.time<=e)return e-o.time<6?o:null}return null}),$=(0,o.atom)(function(t){var e=t(g.currentTimeAtom),n=t(j),r=null,o=!0,i=!1,a=void 0;try{for(var l,u=n[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var m=l.value;if(m.time>e)break;r=m}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return r}),tt=(0,o.atom)(function(t){var e,n,r=t(g.overlayPlayerAtom);return(null==r?void 0:r.kind)==="clip"?r.momentId:(null==r?void 0:r.kind)==="highlights"||(null==r?void 0:r.kind)==="ad"?null:null!=(e=null==(n=t($))?void 0:n.id)?e:null}),te=(0,o.atom)(function(t){var e,n=t(g.activityModesAtom),o=t(g.activityMomentFilterAtom),i=t(j).filter(function(t){if("score"===t.type)return n.includes("scores");if(!n.includes("moments"))return!1;if("mine"===o)return!0===t.isMine;if("favorites"===o)return!0===t.isFavorite;if(o.startsWith("tag-")){var e;return(null==(e=t.tags)?void 0:e.includes(o.slice(4)))===!0}return!0}),l=n.includes("chat")&&null!=(e=t(g.eventAtom).chatMessages)?e:[],u=n.includes("bookmarks")?t(q):[],m=(0,r._)(i.map(function(t){return{kind:"moment",time:t.time,moment:t}})).concat((0,r._)(l.map(function(t){return{kind:"chat",time:t.time,chat:t}})),(0,r._)(u.map(function(t){return{kind:"bookmark",time:t.start,bookmark:t}})));return m.sort(function(t,e){return t.time-e.time}),function(t,e){if(0===e.length)return t;var n=(0,r._)(t),o=!0,i=!1,l=void 0;try{for(var u,m=e[Symbol.iterator]();!(o=(u=m.next()).done);o=!0){var c,s,d=u.value,v=(0,a.clamp)(d.position+1,0,n.length),f=v>0?n[v-1].time:null!=(c=null==(s=n[0])?void 0:s.time)?c:0;n.splice(v,0,{kind:"ad",time:f+.001,ad:d})}}catch(t){i=!0,l=t}finally{try{o||null==m.return||m.return()}finally{if(i)throw l}}return n}(m,t(p.featureAdsAtom)?t(A.adsAtom):[])}),tn=(0,o.atom)(function(t){var n,r=t(g.overlayPlayerAtom);if(!r)return null;if("highlights"===r.kind){var o=t(g.eventAtom).highlights;return o?(0,e._)({kind:"highlights"},o):null}if("ad"===r.kind){var i=t(A.adsAtom).find(function(t){return t.id===r.adId});return(null==i?void 0:i.videoURL)?{kind:"ad",ad:i}:null}var a=t(j).find(function(t){return t.id===r.momentId}),l=null!=(n=null==a?void 0:a.clips)?n:[],u=l[r.clipIndex];return a&&u?{kind:"clip",moment:a,clip:u,clipIndex:r.clipIndex,clipCount:l.length}:null}),tr=(0,o.atom)(function(t){var e=t(g.overlayPlayerAtom);if(!e||"clip"!==e.kind)return null;var n=t(j),r=n.findIndex(function(t){return t.id===e.momentId});if(-1===r)return null;var o=null!=(a=n[r].clips)?a:[];if(e.clipIndex+1<o.length)return{kind:"clip",momentId:e.momentId,clipIndex:e.clipIndex+1};for(var i=r+1;i<n.length;i++){var a,l,u=n[i],m=(null!=(l=u.clips)?l:[]).findIndex(function(t){return!!t.videoURL});if(-1!==m)return{kind:"clip",momentId:u.id,clipIndex:m}}return null}),to=(0,o.atom)(function(t){return"live"===t(g.eventAtom).status}),ti=(0,o.atom)(function(t){return!0===t(g.eventAtom).clipsLocked}),ta=(0,o.atom)(function(t){return t(p.featureMultiDeviceAtom)&&t(g.eventAtom).devices.length>=2}),tl=(0,o.atom)(function(t){var e,n=t(g.viewModeAtom);if("single"===n)return 1;if("split"===n)return 2;if("grid"===n)return Math.max(1,t(g.eventAtom).devices.length);var r=null==(e=t(g.stageSizeAtom))?void 0:e.width;return null!=r&&r<640?2:6}),tu=(0,o.atom)(function(t){var e=t(tp),n=t(g.reviewWindowFrozenAtom);return n?(0,m.clampReviewWindow)(n,e):(0,m.reviewWindowAround)(t(g.currentTimeAtom),e)}),tm=(0,o.atom)(function(t){return t(b)>=m.REVIEW_FINE_TIMEBAR_MIN_DURATION}),tc=(0,o.atom)(function(t){var e=t(g.eventAtom).devices,n=t(g.deviceOrderAtom),o=function(t){var e=n.indexOf(t);return -1===e?n.length:e};return(0,r._)(e).sort(function(t,e){return o(t.id)-o(e.id)})}),ts=(0,o.atom)(function(t){var e;return null!=(e=t(tc)[0])?e:h}),td=(0,o.atom)(function(t){return(0,l.deviceSources)(t(ts)).length>0}),tv=(0,o.atom)(function(t){return(0,l.sourceAt)(t(ts),t(g.currentTimeAtom),t(b))}),tf=(0,o.atom)(function(t){var e,n;return null!=(e=null==(n=t(tv))?void 0:n.mediaFileKey)?e:null}),tA=(0,o.atom)(function(t){return t(to)&&t(T)<c.LIVE_EDGE_TOLERANCE_SECONDS}),tp=(0,o.atom)(function(t){if(!t(to))return{start:0,end:t(b)};var e=t(g.eventAtom).devices.some(function(t){return(0,l.deviceSources)(t).some(function(t){return!0===t.includeReplayInLive})});return(0,c.liveSeekableRange)(Math.max(t(w),t(b)),e)}),ty=(0,o.atom)(function(t){if(!t(p.featureFilmStripAtom))return!1;var e=t(g.eventAtom);return!!(e.highlights||(0,l.eventHasReplayRecordings)(e)||e.moments.some(function(t){return"score"!==t.type}))||t(p.featureAdsAtom)&&t(A.adsAtom).length>0}),tg=(0,o.atom)(function(t){return(0,l.downloadableRecordings)(t(g.eventAtom))}),th=(0,o.atom)(function(t){var e=t(g.eventAtom).sponsors;return e&&0!==e.length?(0,u.activeSponsorIndex)(e.length,t(g.currentTimeAtom)):null});function tb(t){if(!t.enabled||t.sponsorCount<=0||t.clipOverlayOpen||t.preRollOpen)return null;if("pip"===t.viewMode){var e=t.placements.br.length>0,n=t.placements.bl.length>0;if(e&&n)return null;if(e)return"bl"}return"br"}var tS=(0,o.atom)(function(t){var e,n;return null==t(th)?null:tb({enabled:t(p.featureSponsorAssetsAtom),sponsorCount:null!=(e=null==(n=t(g.eventAtom).sponsors)?void 0:n.length)?e:0,clipOverlayOpen:null!==t(g.overlayPlayerAtom),preRollOpen:null!==t(g.preRollAtom),viewMode:t(g.viewModeAtom),placements:t(g.pipPlacementsAtom)})}
2),tk=(0,o.atom)(function(t){return 1!==t(y.videoZoomAtom)||0!==t(y.videoRotationAtom)||"none"!==t(y.videoFlipAtom)});t.s(["activeActivityMomentIdAtom",0,tt,"activeMomentAtom",0,X,"activeSponsorIndexAtom",0,th,"activityItemsAtom",0,te,"activityMomentRowKey",0,function(t){var e;return null!=(e=t.clientId)?e:t.id},"allMomentsAtom",0,j,"awayScoreAtom",0,N,"bookmarkCollectionGroupsAtom",0,z,"clipsLockedAtom",0,ti,"controlsVisibleAtom",0,I,"coveredDeviceIdsAtom",0,M,"devicePlayableRangesAtom",0,_,"downloadableRecordingsAtom",0,tg,"durationAtom",0,b,"durationLabelAtom",0,x,"flooredCurrentTimeAtom",0,S,"gameClockAtom",0,U,"hasJumpTargetsAtom",0,K,"hasMediaAtom",0,td,"hasMultiDeviceAtom",0,ta,"hasPlaybackHeatmapAtom",0,E,"hasStripContentAtom",0,ty,"hasVideoAdjustmentsAtom",0,tk,"homeScoreAtom",0,C,"isAccessBlockedAtom",0,P,"isAtLiveEdgeAtom",0,tA,"isLiveAtom",0,to,"jumpTargetsAtom",0,G,"liveEdgeAtom",0,w,"loopRangeAtom",0,Q,"maxSelectedDevicesAtom",0,tl,"nextOverlayClipTargetAtom",0,tr,"orderedDevicesAtom",0,tc,"overlayPlayerContextAtom",0,tn,"primaryActiveSourceAtom",0,tv,"primaryDeviceAtom",0,ts,"primaryMediaFileKeyAtom",0,tf,"resolveSponsorCorner",0,tb,"reviewShowFineTimebarAtom",0,tm,"reviewWindowAtom",0,tu,"seekableRangeAtom",0,tp,"sponsorCornerAtom",0,tS,"timeFormatterAtom",0,D,"timeLabelAtom",0,L,"timebarActiveTargetsAtom",0,Y,"timebarFocusedRangeAtom",0,Z,"timebarIsZoomedAtom",0,J,"timebarVisibleRangeAtom",0,H,"unavailableRangesAtom",0,O,"visibleBookmarksAtom",0,q])},164338,t=>{"use strict";var e=t.i(540316);function n(t){if("all"===t||!t.startsWith("collection-"))return null;var e=t.slice(11);return e.length>0?e:null}t.s(["bookmarkCollectionOptions",0,function(t){var n=new Map,r=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u,m,c=a.value;!c.collectionKey||n.has(c.collectionKey)||n.set(c.collectionKey,{key:c.collectionKey,name:null!=(u=null==(m=c.collectionName)?void 0:m.trim())?u:"",ownedByUser:c.ownedByUser,isPublic:!0===c.collectionPublic})}}catch(t){o=!0,i=t}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return(0,e._)(n.values()).toSorted(function(t,e){return t.name.localeCompare(e.name)||t.key.localeCompare(e.key)})},"collectionFilterValue",0,function(t){return"collection-".concat(t)},"filterBookmarksByCollection",0,function(t,e){var r,o=(r=n(e))&&t.some(function(t){return t.collectionKey===r})?e:"all",i=n(o);return i?t.filter(function(t){return t.collectionKey===i}):t},"groupedBookmarkCollections",0,function(t){var e=[],n=[],r=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;u.ownedByUser?e.push(u):n.push(u)}}catch(t){o=!0,i=t}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return{mine:e,public:n}}])},235545,t=>{"use strict";t.s(["findAdjacentJumpTarget",0,function(t,e,n){if(1===n){var r=e+.5,o=!0,i=!1,a=void 0;try{for(var l,u,m=t[Symbol.iterator]();!(o=(u=m.next()).done);o=!0){var c=u.value;c.time<=r||(!l||c.time<l.time)&&(l=c)}}catch(t){i=!0,a=t}finally{try{o||null==m.return||m.return()}finally{if(i)throw a}}return l}var s=e-2,d=!0,v=!1,f=void 0;try{for(var A,p,y=t[Symbol.iterator]();!(d=(p=y.next()).done);d=!0){var g=p.value;g.time>=s||(!A||g.time>A.time)&&(A=g)}}catch(t){v=!0,f=t}finally{try{d||null==y.return||y.return()}finally{if(v)throw f}}return A},"jumpTargetsFromBookmarks",0,function(t){return t.map(function(t){var e,n;return{id:t.id,time:Math.min(t.start,t.end),kind:"bookmark",title:null!=(e=null==(n=t.comment)?void 0:n.trim())?e:""}})},"jumpTargetsFromMoments",0,function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value,m="score"===u.type;("scores"===e?m:"highlight"===u.type)&&n.push({id:u.id,time:u.time,kind:m?"score":"clip",title:u.title,momentType:u.type})}}catch(t){o=!0,i=t}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}])},763349,t=>{"use strict";t.s(["LIVE_EDGE_BUFFER_SECONDS",0,10,"LIVE_EDGE_TOLERANCE_SECONDS",0,14,"LIVE_FAILOVER_GRACE_SECONDS",0,20,"LIVE_STALL_TIMEOUT_SECONDS",0,600,"liveSeekableRange",0,function(t,e){var n=Math.max(0,t);return e?{start:0,end:n}:{start:Math.max(0,n-600),end:n}},"nextLiveSeekableEnd",0,function(t,e){return Number.isFinite(e)?null==t?e:e>=t?e-t>.25?e:t:t-e>8?e:t:t}])},390389,t=>{"use strict";var e=t.i(120786),n=t.i(500075),r=t.i(763349),o=t.i(622649);function i(t){return Number.isFinite(t.start)&&Number.isFinite(t.end)&&t.end-t.start>.001}function a(t,e){if(t.sections&&t.sections.length>0)return t.sections.map(function(t){return{start:t.timelineStart,end:t.timelineStart+t.duration}}).filter(i);var n=null!=t.duration&&Number.isFinite(t.duration)?t.duration:Math.max(0,e-t.offset),o=Math.max(0,t.offset+n);
2t.isLive&&e-o<r.LIVE_STALL_TIMEOUT_SECONDS&&(o=Math.max(o,e));var a={start:Math.max(0,t.offset),end:o};return i(a)?[a]:[]}function l(t){return t.sources&&t.sources.length>0?t.sources:t.source?[t.source]:[]}function u(t,e){var n=l(t);return 0===n.length?e>0?[{start:0,end:e}]:[]:n.flatMap(function(t){return a(t,e)})}function m(t){var n=t.filter(i).map(function(t){return{start:t.start,end:t.end}}).sort(function(t,e){return t.start-e.start||t.end-e.end});if(0===n.length)return[];for(var r=[(0,e._)({},n[0])],o=1;o<n.length;o++){var a=n[o],l=r[r.length-1];a.start<=l.end+.001?l.end=Math.max(l.end,a.end):r.push((0,e._)({},a))}return r}function c(t,e){return e>=t.start-.001&&e<t.end-.001}function s(t){var e=null,n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var l=i.value;(!e||l.end>e.end)&&(e=l)}}catch(t){r=!0,o=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return e}function d(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=t.filter(function(t){return c(t,e)}),i=!0,a=!1,l=void 0;try{for(var u,m,d,v=r[Symbol.iterator]();!(i=(d=v.next()).done);i=!0){var f=function(){var t=d.value;if(o.some(function(e){return e.deviceId===t}))return{v:t}}();if("object"===(0,n._)(f))return f.v}}catch(t){a=!0,l=t}finally{try{i||null==v.return||v.return()}finally{if(a)throw l}}return null!=(u=null==(m=s(o))?void 0:m.deviceId)?u:null}function v(t){return"mp4"===t.type||"hls"===t.type&&!t.isLive}function f(t){return l(t).filter(v)}t.s(["RANGE_EPSILON_SECONDS",0,.001,"buildDevicePlayableRanges",0,function(t,e){var n=Math.max(0,e);return t.devices.flatMap(function(t){return u(t,n).map(function(e){return{deviceId:t.id,start:(0,o.clamp)(e.start,0,n),end:(0,o.clamp)(e.end,0,n)}})}).filter(i).sort(function(t,e){return t.start-e.start||t.end-e.end})},"deviceCoversTime",0,function(t,e,n){return u(t,n).some(function(t){return c(t,e)})},"deviceSources",0,l,"downloadableRecordings",0,function(t){var e=[],n=!0,r=!1,o=void 0;try{for(var i,a=t.devices[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var l=i.value;if("highlights"!==l.id){var u=!0,m=!1,c=void 0;try{for(var s,d=f(l)[Symbol.iterator]();!(u=(s=d.next()).done);u=!0){var v=s.value;"mp4"===v.type&&v.url.endsWith(".mp4")&&e.push({key:v.mediaFileKey||"".concat(l.id,":").concat(v.url),deviceId:l.id,deviceLabel:l.label,url:v.downloadURL||v.url,thumbnailURL:v.thumbnailURL||l.thumbnailURL,duration:v.sections&&v.sections.length>0?v.sections.reduce(function(t,e){return t+e.duration},0):null!=v.duration&&Number.isFinite(v.duration)?v.duration:void 0,sizeBytes:v.sizeBytes,offset:v.offset})}}catch(t){m=!0,c=t}finally{try{u||null==d.return||d.return()}finally{if(m)throw c}}}}}catch(t){r=!0,o=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return e},"eventHasReplayRecordings",0,function(t){return t.devices.some(function(t){return"highlights"!==t.id&&f(t).length>0})},"invertTimelineRanges",0,function(t,e){var n=Math.max(0,e);if(0===n)return[];var r=m(t).map(function(t){return{start:(0,o.clamp)(t.start,0,n),end:(0,o.clamp)(t.end,0,n)}}),i=[],a=0,l=!0,u=!1,c=void 0;try{for(var s,d=r[Symbol.iterator]();!(l=(s=d.next()).done);l=!0){var v=s.value;v.start>a+.001&&i.push({start:a,end:v.start}),a=Math.max(a,v.end)}}catch(t){u=!0,c=t}finally{try{l||null==d.return||d.return()}finally{if(u)throw c}}return a<n-.001&&i.push({start:a,end:n}),i},"lastReplayCoverageEnd",0,function(t){var e=0,n=!0,r=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var l=i.value;if("highlights"!==l.id){var u=!0,m=!1,c=void 0;try{for(var s,d=f(l)[Symbol.iterator]();!(u=(s=d.next()).done);u=!0){var v=s.value;if(v.sections&&v.sections.length>0){var A=!0,p=!1,y=void 0;try{for(var g,h=v.sections[Symbol.iterator]();!(A=(g=h.next()).done);A=!0){var b=g.value;e=Math.max(e,b.timelineStart+b.duration)}}catch(t){p=!0,y=t}finally{try{A||null==h.return||h.return()}finally{if(p)throw y}}continue}null!=v.duration&&Number.isFinite(v.duration)&&(e=Math.max(e,v.offset+v.duration))}}catch(t){m=!0,c=t}finally{try{u||null==d.return||d.return()}finally{if(m)throw c}}}}}catch(t){r=!0,o=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return e},"mergeShortGapsForDisplay",0,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=m(t);if(r.length<2)return r;for(var o=[(0,e._)({},r[0])],i=1;i<r.length;i++){var a=r[i],l=o[o.length-1];a.start-l.end<n?l.end=Math.max(l.end,a.end):o.push((0,e._)({},a))}return o},"rangeContainsTime",0,c,"rangePairsEqual",0,function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.001;if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(Math.abs(t[r][0]-e[r][0])>n||Math.abs(t[r][1]-e[r][1])>n)return!1;return!0},"rangesForDevice",0,function(t,e){return t.filter(function(t){return t.deviceId===e})},"replaySources",0,f,"resolvePlayableTarget",0,function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(0===t.length||!Number.isFinite(e))return null;var i=(0,o.clamp)(e,0,Math.max(0,n)),a=d(t,i,r);if(a)return{time:i,deviceId:a};var l=t.find(function(t){return t.start>=i-.001});if(l){var u,m=null!=(u=d(t,l.start,r))?u:l.deviceId;return{time:l.start,deviceId:m}}var c=s(t),v=t.filter(function(t){return t.end>=c.end-.001}),f=r.find(function(t){return v.some(function(e){return e.deviceId===t})});return{time:c.end,deviceId:null!=f?f:c.deviceId}},"sourceAt",0,function(t,e,n){var r=l(t);if(0===r.length)return null;if(1===r.length)return r[0];var o=null,i=1/0,u=!0,m=!1,s=void 0;try{for(var d,v=r[Symbol.iterator]();!(u=(d=v.next()).done);u=!0){var f=d.value,A=!0,p=!1,y=void 0;try{for(var g,h=a(f,n)[Symbol.iterator]();!(A=(g=h.next()).done);A=!0){var b=g.value;if(c(b,e))return f;b.start>e&&b.start<i&&(i=b.start,o=f)}}catch(t){p=!0,y=t}finally{try{A||null==h.return||h.return()}finally{if(p)throw y}}}}catch(t){m=!0,s=t}finally{try{u||null==v.return||v.return()}finally{if(m)throw s}}return null!=o?o:r[r.length-1]},"unionTimelineRanges",0,m])},829551,429974,t=>{"use strict";t.s(["activeSponsorIndex",0,function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;return t<=0||n<=0||!Number.isFinite(e)||e<0?null:Math.floor(e/n)%t}],829551);var e=t.i(622649);t.s(["REVIEW_FINE_TIMEBAR_MIN_DURATION",0,60,"REVIEW_FRAME_SECONDS",0,.04,"clampReviewWindow",0,function(t,e){var n=Math.max(0,t.end-t.start),r=e.start,o=Math.max(e.end,r);if(n<=0||o<=r)return{start:r,end:r};var i=t.start,a=t.end;return a>o&&(i-=a-o,a=o),i<r&&(a=Math.min(o,a+(r-i)),i=r),a>o&&(a=o),a<i&&(a=i),{start:i,end:a}},"reviewWindowAround",0,function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,i=Number.isFinite(n.start)?n.start:0,a=Math.max(i,Number.isFinite(n.end)?n.end:i);if(a<=i)return{start:i,end:i};var l=Math.min(r+o,a-i),u=t-r,m=u+l;return m>a&&(u-=m-a,m=a),u<i&&(m=Math.min(a,m+(i-u)),u=i),m>a&&(m=a),m<u&&(m=u),{start:(0,e.clamp)(u,i,a),end:(0,e.clamp)(m,i,a)}}],429974)},622649,t=>{"use strict";function e(t){var e=Math.max(0,Math.floor(t)),n=Math.floor(e/3600),r=M
2ath.floor(e%3600/60),o=e%60,i=function(t){return t.toString().padStart(2,"0")};return n>0?"".concat(n,":").concat(i(r),":").concat(i(o)):"".concat(r,":").concat(i(o))}var n=new Map;t.s(["clamp",0,function(t,e,n){return Math.min(n,Math.max(e,t))},"formatTime",0,e,"formatTimelineTime",0,function(t,r,o,i){if("absolute-clock"===r&&null!=o)return(function(t){var e=null!=t?t:"",r=n.get(e);if(r)return r;var o=new Intl.DateTimeFormat(t||void 0,{hour:"numeric",minute:"2-digit",second:"2-digit"});return n.set(e,o),o})(i).format(new Date(o+1e3*t));return e(t)},"mediaToTimelineTime",0,function(t,e){var n=t.sections;if(!n||0===n.length)return e+t.offset;var r=!0,o=!1,i=void 0;try{for(var a,l=n[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;if(e<u.mediaStart)return u.timelineStart;if(e<u.mediaStart+u.duration)return u.timelineStart+(e-u.mediaStart)}}catch(t){o=!0,i=t}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}var m=n[n.length-1];return m.timelineStart+m.duration},"periodAt",0,function(t,e){var n=null,r=!0,o=!1,i=void 0;try{for(var a,l=t.periods[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;e>=u.start&&(n=u)}}catch(t){o=!0,i=t}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n},"scoreAt",0,function(t,e,n){var r=0,o=!0,i=!1,a=void 0;try{for(var l,u=t.moments[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var m=l.value;if(m.time>e)break;m.points&&m.team===n&&(r+=m.points)}}catch(t){i=!0,a=t}finally{try{o||null==u.return||u.return()}finally{if(i)throw a}}return r},"timelineToMediaTime",0,function(t,e){var n=t.sections;if(!n||0===n.length)return Math.max(0,e-t.offset);var r=!0,o=!1,i=void 0;try{for(var a,l=n[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;if(e<u.timelineStart)return u.mediaStart;if(e<u.timelineStart+u.duration)return u.mediaStart+(e-u.timelineStart)}}catch(t){o=!0,i=t}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}var m=n[n.length-1];return m.mediaStart+m.duration}])},516783,t=>{"use strict";var e=t.i(622649),n=[3600,900,300,60,30,10,5,1];function r(t){return Math.max(0,t.end-t.start)}function o(t,n){var o=r(n);return o<=0?0:(0,e.clamp)((t-n.start)/o,0,1)}function i(t,e){var n=Math.max(t.start,e.start),r=Math.min(t.end,e.end);return r<=n?null:{start:n,end:r}}t.s(["clampRangeToVisible",0,i,"itemTargetsEqual",0,function(t,e){return null!=t&&null!=e&&t.kind===e.kind&&t.id===e.id},"leftPercent",0,function(t,e){return 100*o(t,e)},"pointInRange",0,function(t,e){return t>=e.start&&t<=e.end},"rangesOverlap",0,function(t,e){return t.start<e.end&&e.start<t.end},"resolveTimebarItemRange",0,function(t,e,n){if(!t)return null;if("moment"===t.kind){var r,o,i=e.find(function(e){return e.id===t.id});return i?function(t){var e=0,n=!0,r=!1,o=void 0;try{for(var i,a,l=(null!=(i=t.clips)?i:[])[Symbol.iterator]();!(n=(a=l.next()).done);n=!0){var u=a.value;null!=u.duration&&Number.isFinite(u.duration)&&(e=Math.max(e,u.duration))}}catch(t){r=!0,o=t}finally{try{n||null==l.return||l.return()}finally{if(r)throw o}}return e<=0&&(e=15),{start:t.time,end:t.time+e}}(i):null}var a=n.find(function(e){return e.id===t.id});return a?(r=Math.min(a.start,a.end),(o=Math.max(a.start,a.end))-r>0?{start:r,end:o}:{start:r,end:r+15}):null},"rulerMarkersFor",0,function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,o=r(t);if(o<=0)return[];for(var i=n[n.length-1],a=n.length-1;a>=0;a--){var l=n[a];if(o/l<=e){i=l;break}}var u=Math.ceil(t.start/i)*i,m=Math.floor(t.end/i)*i,c=[];if(u>m)return c;for(var s=u;s<=m+i/2;s+=i){var d=Math.round(1e3*s)/1e3;d<t.start-1e-6||d>t.end+1e-6||c.push({time:d,level:function(t){for(var e=Math.round(t),r=0;r<n.length;r++)if(e%n[r]==0)return r;return n.length-1}(d),labeled:!1})}if(0===c.length)return c;var v=c[0].level,f=!0,A=!1,p=void 0;try{for(var y,g=c[Symbol.iterator]();!(f=(y=g.next()).done);f=!0){var h=y.value;h.level<v&&(v=h.level)}}catch(t){A=!0,p=t}finally{try{f||null==g.return||g.return()}finally{if(A)throw p}}var b=Math.max(v,n.indexOf(i)-1),S=!0,k=!1,M=void 0;try{for(var w,T=c[Symbol.iterator]();!(S=(w=T.next()).done);S=!0){var _=w.value;_.labeled=_.level<=b}}catch(t){k=!0,M=t}finally{try{S||null==T.return||T.return()}finally{if(k)throw M}}return c},"timeAtRatio",0,function(t,n){return n.start+(0,e.clamp)(t,0,1)*r(n)},"timeOutsideRange",0,function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t<e.start-n||t>e.end+n},"toRatio",0,o,"visibleRangeForItem",0,function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.2,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,i=Math.max(0,n);if(i<=0)return{start:0,end:0};var a=(0,e.clamp)(Math.min(t.start,t.end),0,i),l=(0,e.clamp)(Math.max(t.start,t.end),0,i),u=Math.max(0,l-a)*r,m=a-u,c=l+u,s=Math.max(o,c-m);if(c-m<s){var d=(s-(c-m))/2;m-=d,c+=d}return c>i&&(m-=c-i,c=i),m<0&&(c=Math.min(i,c-m),m=0),c>i&&(c=i),c<m&&(c=m),{start:m,end:c}},"visibleSpan",0,r,"widthPercent",0,function(t,e){var n=r(e);
2if(n<=0)return 0;var o=i(t,e);return o?r(o)/n*100:0}])}]); 3 4//# debugId=f2aa5ef7-e66f-a79d-b415-cea478b2a022
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.